searchPanes.bootstrap4.mjs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*! Bootstrap integration for DataTables' SearchPanes
  2. * © SpryMedia Ltd - datatables.net/license
  3. */
  4. import $ from 'jquery';
  5. import DataTable from 'datatables.net-bs4';
  6. import SearchPanes from 'datatables.net-searchpanes';
  7. $.extend(true, DataTable.SearchPane.classes, {
  8. buttonGroup: 'btn-group',
  9. disabledButton: 'disabled',
  10. narrow: 'col',
  11. pane: {
  12. container: 'table'
  13. },
  14. paneButton: 'btn btn-light',
  15. pill: 'pill badge badge-pill badge-secondary',
  16. search: 'form-control search',
  17. searchCont: 'input-group',
  18. searchLabelCont: 'input-group-append',
  19. subRow1: 'dtsp-subRow1',
  20. subRow2: 'dtsp-subRow2',
  21. table: 'table table-sm table-borderless',
  22. topRow: 'dtsp-topRow'
  23. });
  24. $.extend(true, DataTable.SearchPanes.classes, {
  25. clearAll: 'dtsp-clearAll btn btn-light',
  26. collapseAll: 'dtsp-collapseAll btn btn-light',
  27. container: 'dtsp-searchPanes',
  28. disabledButton: 'disabled',
  29. panes: 'dtsp-panes dtsp-panesContainer',
  30. showAll: 'dtsp-showAll btn btn-light',
  31. title: 'dtsp-title',
  32. titleRow: 'dtsp-titleRow'
  33. });
  34. export default DataTable;