Update to latest js components

This commit is contained in:
2024-12-17 16:18:29 +00:00
parent 6274bad976
commit 0ae4d44b70
204 changed files with 48323 additions and 42969 deletions

View File

@@ -0,0 +1,32 @@
/*! Bootstrap integration for DataTables' StateRestore
* © SpryMedia Ltd - datatables.net/license
*/
import jQuery from 'jquery';
import DataTable from 'datatables.net-se';
import StateRestore from 'datatables.net-staterestore';
// Allow reassignment of the $ variable
let $ = jQuery;
$.extend(true, DataTable.StateRestoreCollection.classes, {
checkBox: 'dtsr-check-box form-check-input',
checkLabel: 'dtsr-check-label form-check-label',
checkRow: 'dtsr-check-row form',
creationButton: 'dtsr-creation-button ui button primary',
creationForm: 'dtsr-creation-form modal-body',
creationText: 'dtsr-creation-text modal-header',
creationTitle: 'dtsr-creation-title modal-title',
nameInput: 'dtsr-name-input form-control',
nameLabel: 'dtsr-name-label form-label',
nameRow: 'dtsr-name-row ui input'
});
$.extend(true, DataTable.StateRestore.classes, {
confirmation: 'dtsr-confirmation modal',
confirmationButton: 'dtsr-confirmation-button ui button primary',
confirmationText: 'dtsr-confirmation-text modal-body',
renameModal: 'dtsr-rename-modal ui input'
});
export default DataTable;