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