diff --git a/datatables.json b/datatables.json index 874c325..efa8434 100644 --- a/datatables.json +++ b/datatables.json @@ -14,5 +14,5 @@ ], "src-repo": "http://github.com/DataTables/Select", "last-tag": "2.0.1", - "last-sync": "0278c079772272387c3d8a3363fc4951740f6763" + "last-sync": "4dc418cfa9a5ba0ca32f53590c229c14a27a7d39" } \ No newline at end of file diff --git a/js/select.bootstrap5.js b/js/select.bootstrap5.js index b8b14e0..b9bbf9b 100644 --- a/js/select.bootstrap5.js +++ b/js/select.bootstrap5.js @@ -53,6 +53,8 @@ var DataTable = $.fn.dataTable; +DataTable.select.classes.checkbox = 'form-check-input'; + return DataTable; })); diff --git a/js/select.bootstrap5.min.js b/js/select.bootstrap5.min.js index 7d9c69a..36e5289 100644 --- a/js/select.bootstrap5.min.js +++ b/js/select.bootstrap5.min.js @@ -1,4 +1,4 @@ /*! Bootstrap 5 styling wrapper for Select * © SpryMedia Ltd - datatables.net/license */ -!function(n){var d,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs5","datatables.net-select"],function(e){return n(e,window,document)}):"object"==typeof exports?(d=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net-bs5")(e,t),t.fn.dataTable.select||require("datatables.net-select")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||d(e),o(e,t),n(t,0,e.document)}:(o(window,d),module.exports=n(d,window,window.document))):n(jQuery,window,document)}(function(e,t,n){"use strict";return e.fn.dataTable}); \ No newline at end of file +!function(n){var o,d;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs5","datatables.net-select"],function(e){return n(e,window,document)}):"object"==typeof exports?(o=require("jquery"),d=function(e,t){t.fn.dataTable||require("datatables.net-bs5")(e,t),t.fn.dataTable.select||require("datatables.net-select")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),d(e,t),n(t,0,e.document)}:(d(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(e,t,n){"use strict";e=e.fn.dataTable;return e.select.classes.checkbox="form-check-input",e}); \ No newline at end of file diff --git a/js/select.bootstrap5.min.mjs b/js/select.bootstrap5.min.mjs index 896a051..2e4958a 100644 --- a/js/select.bootstrap5.min.mjs +++ b/js/select.bootstrap5.min.mjs @@ -1,4 +1,4 @@ /*! Bootstrap 5 styling wrapper for Select * © SpryMedia Ltd - datatables.net/license */ -import jQuery from"jquery";import DataTable from"datatables.net-bs5";import select from"datatables.net-select";let $=jQuery;export default DataTable; \ No newline at end of file +import jQuery from"jquery";import DataTable from"datatables.net-bs5";import select from"datatables.net-select";let $=jQuery;DataTable.select.classes.checkbox="form-check-input";export default DataTable; \ No newline at end of file diff --git a/js/select.bootstrap5.mjs b/js/select.bootstrap5.mjs index 39f220d..db7604a 100644 --- a/js/select.bootstrap5.mjs +++ b/js/select.bootstrap5.mjs @@ -10,5 +10,7 @@ import select from 'datatables.net-select'; let $ = jQuery; +DataTable.select.classes.checkbox = 'form-check-input'; + export default DataTable;