generated from smedev/Template-for-SMEServer-Contribs-Package
Update to latest js components
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/*! Bootstrap integration for DataTables' StateRestore
|
||||
* © SpryMedia Ltd - datatables.net/license
|
||||
*/
|
||||
|
||||
import jQuery from 'jquery';
|
||||
import DataTable from 'datatables.net-bs4';
|
||||
import StateRestore from 'datatables.net-staterestore';
|
||||
|
||||
// Allow reassignment of the $ variable
|
||||
let $ = jQuery;
|
||||
|
||||
$.extend(true, DataTable.StateRestoreCollection.classes, {
|
||||
checkBox: 'dtsr-check-box',
|
||||
creationButton: 'dtsr-creation-button btn btn-secondary',
|
||||
creationForm: 'dtsr-creation-form modal-body',
|
||||
creationText: 'dtsr-creation-text modal-header',
|
||||
creationTitle: 'dtsr-creation-title modal-title',
|
||||
nameInput: 'dtsr-name-input form-control'
|
||||
});
|
||||
$.extend(true, DataTable.StateRestore.classes, {
|
||||
confirmationButton: 'dtsr-confirmation-button btn btn-secondary',
|
||||
input: 'dtsr-input form-control'
|
||||
});
|
||||
|
||||
|
||||
export default DataTable;
|
||||
Reference in New Issue
Block a user