@economic/taco 2.23.0 → 2.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Card/Card.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/components/Provider/Localization.d.ts +6 -0
- package/dist/components/Report/Report.d.ts +2 -2
- package/dist/components/Report/components/Body/Body.d.ts +0 -1
- package/dist/components/Report/components/Footer/Summary.d.ts +0 -1
- package/dist/components/Report/components/Header/Header.d.ts +3 -0
- package/dist/components/Report/components/Header/components/Menu.d.ts +3 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +5 -2
- package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +2 -0
- package/dist/components/Report/types.d.ts +2 -2
- package/dist/components/Report/useReport.d.ts +0 -1
- package/dist/components/Select2/Select2.d.ts +22 -0
- package/dist/components/Select2/hooks/useChildren.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/components/BaseTable.d.ts +1 -1
- package/dist/components/Table/hooks/useRowCreation.d.ts +2 -2
- package/dist/components/Table/hooks/useTable.d.ts +5 -5
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +2 -2
- package/dist/components/Table/types.d.ts +37 -37
- package/dist/components/Table/util/sortTypes.d.ts +2 -2
- package/dist/components/Table/util.d.ts +4 -4
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +2 -2
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +5 -2
- package/dist/components/Table3/hooks/useTable.d.ts +8 -8
- package/dist/components/Table3/types.d.ts +2 -0
- package/dist/esm/index.css +55 -46
- package/dist/esm/packages/taco/src/components/Button/util.js +8 -8
- package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js +2 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +11 -2
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +12 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +7 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +3 -8
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +4 -3
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js +14 -2
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +3 -3
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +18 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +10 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +47 -11
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +13 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +44 -51
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +14 -7
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +4 -3
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +11 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js +4 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +10 -8
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +2 -2
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +8 -5
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/useReport.js +3 -3
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +3 -10
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +2 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +43 -4
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +4 -6
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +66 -14
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +27 -44
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +14 -7
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +4 -3
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +2 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +3 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +26 -19
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +1 -1
- package/dist/esm/packages/taco/src/index.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Button.js +1 -0
- package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSettings.js +1 -2
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable/useTable.js → useTableManager/useTableManager.js} +10 -8
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/columns.js +33 -7
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/settings.js +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +12 -3
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/keyboard.js +2 -2
- package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -1
- package/dist/hooks/useLocalStorage.d.ts +2 -1
- package/dist/index.css +55 -46
- package/dist/primitives/Table/types.d.ts +5 -18
- package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/types.d.ts +13 -0
- package/dist/primitives/Table/{useTable/useTable.d.ts → useTableManager/useTableManager.d.ts} +4 -3
- package/dist/primitives/Table/useTableManager/util/presets.d.ts +2 -0
- package/dist/primitives/Table/{useTable → useTableManager}/util/settings.d.ts +0 -1
- package/dist/primitives/Table/{useTable → useTableManager}/util/setup.d.ts +5 -4
- package/dist/taco.cjs.development.js +603 -408
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/dom.d.ts +3 -1
- package/package.json +2 -2
- package/types.json +10314 -9345
- package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts +0 -12
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Placeholder.d.ts +0 -12
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js +0 -41
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js +0 -41
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js +0 -16
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowHeight.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableDataListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFilterListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowSelectionListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableServerLoadingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableShortcutsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSortingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +0 -1
- package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +0 -8
- package/dist/primitives/Table/useTable/util/presets.d.ts +0 -2
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFooter.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRef.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSearch.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/filtering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/presets.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/search.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/setup.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/sorting.js +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFooter.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRef.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSearch.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSettings.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.spec.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/filtering.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/search.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/sorting.d.ts +0 -0
@@ -8,6 +8,8 @@ declare type CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonEleme
|
|
8
8
|
invalid?: boolean;
|
9
9
|
/** Label for the checkbox */
|
10
10
|
label?: React.ReactNode;
|
11
|
+
/** Displays loading state in checkbox */
|
12
|
+
loading?: boolean;
|
11
13
|
required?: boolean;
|
12
14
|
};
|
13
15
|
interface UncontrolledCheckboxProps extends CheckboxBaseProps {
|
@@ -150,6 +150,8 @@ export declare const defaultLocalisationTexts: {
|
|
150
150
|
expandAll: string;
|
151
151
|
};
|
152
152
|
menu: {
|
153
|
+
editFilter: string;
|
154
|
+
filter: string;
|
153
155
|
freezeFirstColumn: string;
|
154
156
|
freezeUptoColumn: string;
|
155
157
|
freezeColumns: (count?: number) => string;
|
@@ -360,6 +362,10 @@ export declare const defaultLocalisationTexts: {
|
|
360
362
|
save: string;
|
361
363
|
search: string;
|
362
364
|
searchOrCreate: string;
|
365
|
+
selectAll: string;
|
366
|
+
selectAllResults: string;
|
367
|
+
deselectAll: string;
|
368
|
+
deselectAllResults: string;
|
363
369
|
};
|
364
370
|
toasts: {
|
365
371
|
dismiss: string;
|
@@ -4,13 +4,13 @@ import { TableRef } from '../../primitives/Table/types';
|
|
4
4
|
import './style.css';
|
5
5
|
declare function Column<TType = unknown>(_: ReportColumnProps<TType>): null;
|
6
6
|
declare function Group(_: ReportGroupProps): null;
|
7
|
-
export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").
|
7
|
+
export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").TableClientProps<TType> & {
|
8
8
|
customSettings?: import("./types").ReportCustomSettingsRenderer | undefined;
|
9
9
|
emptyState?: import("./types").ReportEmptyStateRenderer | undefined;
|
10
10
|
toolbarLeft?: JSX.Element | undefined;
|
11
11
|
toolbarRight?: JSX.Element | undefined;
|
12
12
|
toolbarPanel?: JSX.Element | undefined;
|
13
|
-
} & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").
|
13
|
+
} & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").TableServerProps<TType> & {
|
14
14
|
customSettings?: import("./types").ReportCustomSettingsRenderer | undefined;
|
15
15
|
emptyState?: import("./types").ReportEmptyStateRenderer | undefined;
|
16
16
|
toolbarLeft?: JSX.Element | undefined;
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
2
2
|
import { Table as ReactTable } from '@tanstack/react-table';
|
3
3
|
declare type BodyProps<TType = unknown> = React.HTMLAttributes<HTMLTableSectionElement> & {
|
4
4
|
enableArrowKeyFocusing?: boolean;
|
5
|
-
length: number;
|
6
5
|
table: ReactTable<TType>;
|
7
6
|
};
|
8
7
|
export declare function Body<TType = unknown>(props: BodyProps<TType>): JSX.Element;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { Table as ReactTable } from '@tanstack/react-table';
|
3
3
|
export declare type FooterSummaryProps<TType = unknown> = {
|
4
|
-
length: number;
|
5
4
|
table: ReactTable<TType>;
|
6
5
|
};
|
7
6
|
export declare function Summary<TType = unknown>(props: FooterSummaryProps<TType>): JSX.Element;
|
@@ -4,6 +4,7 @@ import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableC
|
|
4
4
|
export declare function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element | null;
|
5
5
|
export declare type MemoedHeaderProps = {
|
6
6
|
align?: TableColumnAlignment;
|
7
|
+
canFilter: boolean;
|
7
8
|
canHide: boolean;
|
8
9
|
canGoto: boolean;
|
9
10
|
canMeasureSize: boolean;
|
@@ -18,11 +19,13 @@ export declare type MemoedHeaderProps = {
|
|
18
19
|
hasMenu: boolean;
|
19
20
|
id: string;
|
20
21
|
index: number;
|
22
|
+
isFiltered: boolean;
|
21
23
|
isGroup: boolean;
|
22
24
|
isPinned?: ReactTableColumnPinningPosition;
|
23
25
|
isPlaceholder: boolean;
|
24
26
|
isResizing?: boolean;
|
25
27
|
offset?: number;
|
28
|
+
onFilter?: () => void;
|
26
29
|
onGoto?: (query: string) => Promise<number>;
|
27
30
|
onHide?: (event: unknown) => void;
|
28
31
|
onPin?: (index: number | undefined) => void;
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TableColumnMenu, TableColumnSortDirection } from '../../../../../primitives/Table/types';
|
3
3
|
export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
4
|
+
canFilter: boolean;
|
4
5
|
canGoto: boolean;
|
5
6
|
canHide: boolean;
|
6
7
|
canPin: boolean;
|
7
8
|
canSort: boolean;
|
8
9
|
customMenu?: TableColumnMenu;
|
9
10
|
index: number;
|
11
|
+
isFiltered: boolean;
|
12
|
+
onFilter?: () => void;
|
10
13
|
onGoto?: (query: string) => Promise<number>;
|
11
14
|
onHide?: (event: unknown) => void;
|
12
15
|
onPin?: (index: number | undefined) => void;
|
@@ -6,7 +6,7 @@ export declare type FilterProps<TType = unknown> = {
|
|
6
6
|
filter: TableFilter;
|
7
7
|
filters: TableFilter[];
|
8
8
|
position: number;
|
9
|
-
onChange: (
|
10
|
-
onRemove
|
9
|
+
onChange: (position: number, value: TableFilter) => void;
|
10
|
+
onRemove?: (position: number) => void;
|
11
11
|
};
|
12
12
|
export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
|
package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
3
3
|
import { Select2Props } from '../../../../../../Select2/Select2';
|
4
4
|
import { TableFilter } from '../../../../../../../primitives/Table/types';
|
@@ -6,4 +6,7 @@ export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'chi
|
|
6
6
|
allColumns: ReactTableColumn<TType, unknown>[];
|
7
7
|
filters: TableFilter[];
|
8
8
|
};
|
9
|
-
export declare
|
9
|
+
export declare const FilterColumn: React.ForwardRefExoticComponent<Pick<Select2Props, "defaultValue" | "onChange" | "value" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "emptyValue" | "disabled" | "highlighted" | "invalid" | "multiple" | "name" | "onCreate" | "onDelete" | "onEdit" | "readOnly" | "required" | "tags" | "fontSize"> & {
|
10
|
+
allColumns: ReactTableColumn<unknown, unknown>[];
|
11
|
+
filters: TableFilter[];
|
12
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,2 +1,4 @@
|
|
1
1
|
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
2
|
+
import { TableFilter } from '../../../../../../primitives/Table/types';
|
2
3
|
export declare function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>): number;
|
4
|
+
export declare function isEmptyFilter(filter: TableFilter): boolean;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { TableColumnProps, TableGroupProps, TableSettings,
|
2
|
+
import { TableColumnProps, TableGroupProps, TableSettings, TableProps } from '../../primitives/Table/types';
|
3
3
|
import { MenuItemProps } from '../Menu/components/Item';
|
4
4
|
export type { TableFilterComparator, TableFilterValue, TableFilter, TableColumnAlignment, TableColumnClassNameHandler, TableColumnDataType, TableColumnFilter, TableColumnMenu, TableColumnRenderer, TableColumnRendererAggregate, TableColumnRendererControl, TableColumnRendererControlProps, TableColumnRendererHeader, TableColumnRendererFooter, TableColumnSort, TableColumnSortDirection, TableColumnSortFn, TableColumnWidth, TableRowActionRenderer, TableRowActionGroupRenderer, TableRowClickHandler, TableRowGotoHandler, TableRowHeight, TableRowSelectHandler, TableShortcutHandlerFn, TableShortcutHandlerObject, TableFilterHandler, TableFontSize, TablePreset, TableRowExpansionRenderer, TableScrollToIndexHandler, TableServerLoadPageHandler, TableServerLoadAllHandler, TableServerLoadAllState, TableSettingsHandler, TableShortcuts, TableSortHandler, TableSettings, TableFeatureProps, } from '../../primitives/Table/types';
|
5
5
|
export declare type ReportEmptyStateRenderer = () => JSX.Element | null;
|
6
|
-
export declare type ReportProps<TType = unknown> =
|
6
|
+
export declare type ReportProps<TType = unknown> = TableProps<TType> & {
|
7
7
|
customSettings?: ReportCustomSettingsRenderer;
|
8
8
|
emptyState?: ReportEmptyStateRenderer;
|
9
9
|
toolbarLeft?: JSX.Element;
|
@@ -4,7 +4,6 @@ import { TableRef } from '../../primitives/Table/types';
|
|
4
4
|
export declare function useReport<TType>(props: ReportProps<TType>, ref: React.RefObject<TableRef>): {
|
5
5
|
id: string;
|
6
6
|
instance: import("@tanstack/table-core").Table<TType>;
|
7
|
-
length: number;
|
8
7
|
meta: import("@tanstack/table-core").TableMeta<TType>;
|
9
8
|
state: import("@tanstack/table-core").TableState;
|
10
9
|
};
|
@@ -14,26 +14,48 @@ declare type Select2Texts = {
|
|
14
14
|
save: string;
|
15
15
|
search: string;
|
16
16
|
searchOrCreate: string;
|
17
|
+
selectAll: string;
|
18
|
+
selectAllResults: string;
|
19
|
+
deselectAll: string;
|
20
|
+
deselectAllResults: string;
|
17
21
|
};
|
18
22
|
declare type Select2Props = Omit<React.HTMLAttributes<HTMLButtonElement>, 'children' | 'defaultValue' | 'onChange' | 'value'> & {
|
23
|
+
/** Autofocus Select2 when loaded **/
|
19
24
|
autoFocus?: boolean;
|
25
|
+
/** Array of options in Select2 */
|
20
26
|
children: Select2Children;
|
27
|
+
/** Initial value of the input in Select2 */
|
21
28
|
defaultValue?: Select2Value;
|
29
|
+
/** Set what value should have an empty option in Select2 */
|
22
30
|
emptyValue?: Select2OptionValue;
|
31
|
+
/** Whether the Select2 is in a disabled state **/
|
23
32
|
disabled?: boolean;
|
33
|
+
/** Draws attention to the Select2 by changing its style and making it visually prominent */
|
24
34
|
highlighted?: boolean;
|
35
|
+
/** Whether the Select2 is in an invalid state **/
|
25
36
|
invalid?: boolean;
|
37
|
+
/** Whether the Select2 allows selecting multiple values **/
|
26
38
|
multiple?: boolean;
|
39
|
+
/** Whether the Select2 is in an invalid state **/
|
27
40
|
name?: string;
|
41
|
+
/** Handler called when user chooses an option from the provided options **/
|
28
42
|
onChange?: (value: Select2Value) => void;
|
43
|
+
/** Handler called when user creates a new option **/
|
29
44
|
onCreate?: Select2CreateHandler;
|
45
|
+
/** Handler called when user deletes an option **/
|
30
46
|
onDelete?: Select2DeleteHandler;
|
47
|
+
/** Handler called when user edits an option **/
|
31
48
|
onEdit?: Select2EditHandler;
|
49
|
+
/** Whether the Select2 is in a readonly state **/
|
32
50
|
readOnly?: boolean;
|
33
51
|
required?: boolean;
|
52
|
+
/** Renders select options as tags **/
|
34
53
|
tags?: boolean;
|
54
|
+
/** Value of the input in select2 */
|
35
55
|
value?: Select2Value;
|
56
|
+
/** Font size of text in Select2 **/
|
36
57
|
fontSize?: FontSize;
|
58
|
+
/** Placeholder showed when nothing is selected **/
|
37
59
|
placeholder?: string;
|
38
60
|
};
|
39
61
|
declare type Select2PropsWithStatics = React.ForwardRefExoticComponent<Select2Props & React.RefAttributes<HTMLButtonElement>> & {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { Select2OptionProps } from '../components/Option';
|
3
3
|
import { Select2Children, Select2OptionValue, Select2Value } from '../types';
|
4
|
+
export declare const isGroup: (child: React.ReactElement) => boolean;
|
4
5
|
export declare type useChildrenArgs = {
|
5
6
|
children: Select2Children;
|
6
7
|
emptyValue?: Select2OptionValue;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export * from './components/Table';
|
2
2
|
export * from './components/PaginatedTable';
|
3
3
|
export * from './components/WindowedTable';
|
4
|
-
export type { PaginationHandler, Row, RowIndexPath, RowClickHandler, RowDragHandler, RowCreateHandler, RowCopyHandler, RowDeleteHandler, RowActionHandler, SelectedRowsHandler, SelectedRowsState, SortDirection, SortHandler, SortRule, SortTypes, TableCell, TableColumnProps, TableGroupProps, TableProps, TableRow, TableRef, } from './types';
|
4
|
+
export type { PaginationHandler, Row, RowIndexPath, RowClickHandler, RowDragHandler, RowCreateHandler, RowCopyHandler, RowDeleteHandler, RowActionHandler, SelectedRowsHandler, SelectedRowsState, SortDirection, SortHandler, SortRule, SortTypes, LegacyTableCell as TableCell, LegacyTableColumnProps as TableColumnProps, LegacyTableGroupProps as TableGroupProps, LegacyTableProps as TableProps, LegacyTableRow as TableRow, LegacyTableRef as TableRef, } from './types';
|
5
5
|
export * from './util/rowIndexPath';
|
6
6
|
export * from './hooks/useRowCreation';
|
7
7
|
export declare type TableTexts = {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import './Table.css';
|
3
3
|
export declare const DefaultEmptyState: () => React.ReactNode;
|
4
|
-
export declare const BaseTable: React.ForwardRefExoticComponent<Partial<import("../types").
|
4
|
+
export declare const BaseTable: React.ForwardRefExoticComponent<Partial<import("../types").LegacyTableProps<any>> & Partial<import("react-table").TableInstance<{}>> & {
|
5
5
|
children: JSX.Element;
|
6
6
|
headerRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
|
7
7
|
bodyRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { Row, RowIndexPath,
|
2
|
+
import { Row, RowIndexPath, LegacyTableRef } from '../types';
|
3
3
|
export declare const insertChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath?: RowIndexPath, values?: any) => [Row<TRow>[], RowIndexPath];
|
4
4
|
export declare const removeChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath: RowIndexPath) => Row<TRow>[];
|
5
5
|
export declare type useTableRowCreation<TRow> = {
|
@@ -8,4 +8,4 @@ export declare type useTableRowCreation<TRow> = {
|
|
8
8
|
remove: (rowIndexPath: RowIndexPath) => void;
|
9
9
|
isCreating: boolean;
|
10
10
|
};
|
11
|
-
export declare const useTableRowCreation: <TRow>(data: Row<TRow>[], tableRef: React.RefObject<
|
11
|
+
export declare const useTableRowCreation: <TRow>(data: Row<TRow>[], tableRef: React.RefObject<LegacyTableRef>) => useTableRowCreation<TRow>;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { InternalTable, PaginationHandler, RowActiveHandler, SortHandler,
|
2
|
+
import { InternalTable, PaginationHandler, RowActiveHandler, SortHandler, LegacyTableProps, LegacyTableRef } from '../types';
|
3
3
|
export declare const useTable: <T extends {}>(props: React.HTMLAttributes<HTMLDivElement> & {
|
4
4
|
autoFocus?: boolean | undefined;
|
5
|
-
children: import("../types").
|
5
|
+
children: import("../types").LegacyTableChildren<T>;
|
6
6
|
data: import("../types").Row<T>[];
|
7
7
|
dangerouslyHijackGlobalKeyboardNavigation?: boolean | undefined;
|
8
8
|
emptyStateRenderer?: (() => React.ReactNode) | undefined;
|
9
9
|
onRowClick?: import("../types").RowClickHandler<T> | undefined;
|
10
10
|
onRowDrag?: import("../types").RowDragHandler<T> | undefined;
|
11
11
|
onSelectedRows?: React.Dispatch<React.SetStateAction<Record<number, boolean>>> | undefined;
|
12
|
-
rowClassName?: string | ((row: import("../types").
|
13
|
-
rowExpansionRenderer?: ((row: import("../types").
|
12
|
+
rowClassName?: string | ((row: import("../types").LegacyTableRow<T>) => string | undefined) | undefined;
|
13
|
+
rowExpansionRenderer?: ((row: import("../types").LegacyTableRow<T>) => React.ReactNode) | undefined;
|
14
14
|
rowHeight?: number | undefined;
|
15
15
|
selectedRows?: Record<number, boolean> | undefined;
|
16
16
|
activeIndex?: number | undefined;
|
@@ -35,4 +35,4 @@ export declare const useTable: <T extends {}>(props: React.HTMLAttributes<HTMLDi
|
|
35
35
|
onRowActive?: RowActiveHandler<T> | undefined;
|
36
36
|
} & {
|
37
37
|
windowed?: boolean | undefined;
|
38
|
-
}, ref: React.RefObject<
|
38
|
+
}, ref: React.RefObject<LegacyTableRef>) => InternalTable;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import {
|
3
|
-
export declare const useTableKeyboardNavigation: <T extends {}>(props:
|
2
|
+
import { LegacyTableProps } from '../types';
|
3
|
+
export declare const useTableKeyboardNavigation: <T extends {}>(props: LegacyTableProps<T>, rows: any[], rowProps: any, ref: React.RefObject<HTMLDivElement>) => [number | undefined, (index: number) => void, (event: React.KeyboardEvent<HTMLElement>) => void, (event: React.FocusEvent<HTMLElement>) => void];
|
@@ -7,7 +7,7 @@ export declare type RowIndexPath = string | undefined;
|
|
7
7
|
export declare type Row<TRow extends {}> = TRow & {
|
8
8
|
subRows?: Row<TRow>[];
|
9
9
|
};
|
10
|
-
export declare type
|
10
|
+
export declare type LegacyTableRow<TRow> = {
|
11
11
|
/**
|
12
12
|
* Index of the row.
|
13
13
|
* Note: This index is relative to the root or parent row if it is a sub row
|
@@ -36,14 +36,14 @@ export declare type TableRow<TRow> = {
|
|
36
36
|
isEditing?: boolean;
|
37
37
|
toggleRowEditing?: () => void;
|
38
38
|
};
|
39
|
-
export declare type
|
39
|
+
export declare type LegacyTableCell<TRow> = {
|
40
40
|
accessor: string;
|
41
41
|
/** Represents the row which renders the specific cell, exposing its properties */
|
42
|
-
row:
|
42
|
+
row: LegacyTableRow<TRow>;
|
43
43
|
/** Access the rendered value in the cell */
|
44
44
|
value: any;
|
45
45
|
};
|
46
|
-
export declare type
|
46
|
+
export declare type LegacyTableColumnProps<TRow> = {
|
47
47
|
/**
|
48
48
|
* This string is used to build the data model for your column.
|
49
49
|
* It should match one of the properties defined in your `data` object on `Table`,
|
@@ -64,10 +64,10 @@ export declare type TableColumnProps<TRow> = {
|
|
64
64
|
* It needs to be a render function that can return a transformed version of the existing value,
|
65
65
|
* or any valid react node, for e.g. a `div`
|
66
66
|
*/
|
67
|
-
cellRenderer?: (cellProps:
|
67
|
+
cellRenderer?: (cellProps: LegacyTableCell<TRow>) => React.ReactNode;
|
68
68
|
/** Disable sorting on column */
|
69
69
|
disableSorting?: boolean;
|
70
|
-
editRenderer?: (cellProps:
|
70
|
+
editRenderer?: (cellProps: LegacyTableCell<TRow>) => React.ReactNode;
|
71
71
|
/**
|
72
72
|
* Specify the width and growth characteristics of a column.
|
73
73
|
* This follows the standard flex-box `flex` css property
|
@@ -96,16 +96,16 @@ export declare type TableColumnProps<TRow> = {
|
|
96
96
|
*/
|
97
97
|
style?: object;
|
98
98
|
};
|
99
|
-
export declare type
|
99
|
+
export declare type LegacyTableGroupProps<TRow> = {
|
100
100
|
/** Content of a group should be another `Table.Group` or a `Table.Column` */
|
101
|
-
children: React.ReactElement<
|
101
|
+
children: React.ReactElement<LegacyTableColumnProps<TRow>> | React.ReactElement<LegacyTableColumnProps<TRow>>[];
|
102
102
|
/** Hide the entire group (and columns defined within group) */
|
103
103
|
hidden?: boolean;
|
104
104
|
/** Text displayed in the group's header */
|
105
105
|
title: string;
|
106
106
|
};
|
107
|
-
export declare type RowClickHandler<TRow> = (row:
|
108
|
-
export declare type RowDragHandler<TRow> = (rows: Array<
|
107
|
+
export declare type RowClickHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent) => void;
|
108
|
+
export declare type RowDragHandler<TRow> = (rows: Array<LegacyTableRow<TRow>>, showPlaceholder: (placeholder: string) => void, event: React.DragEvent) => void;
|
109
109
|
export declare type SortRule<T> = {
|
110
110
|
/** Name of the accessor you want to sort */
|
111
111
|
accessor: IdType<T>;
|
@@ -116,22 +116,22 @@ export declare type SelectedRowsState = Record<number, boolean>;
|
|
116
116
|
export declare type SelectedRowsHandler = React.Dispatch<React.SetStateAction<SelectedRowsState>>;
|
117
117
|
export declare type SortHandler<T> = (sortRules: SortRule<T>[] | undefined, sortedData?: T[]) => void;
|
118
118
|
export declare type PaginationHandler = (pageNumber: number, pageSize: number) => void;
|
119
|
-
export declare type RowCreateHandler<TRow> = (parentRow:
|
120
|
-
export declare type RowEditHandler<TRow> = (row:
|
121
|
-
export declare type RowCopyHandler<TRow> = (row:
|
122
|
-
export declare type RowDeleteHandler<TRow> = (row:
|
123
|
-
export declare type RowActiveHandler<TRow> = (row:
|
119
|
+
export declare type RowCreateHandler<TRow> = (parentRow: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
120
|
+
export declare type RowEditHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
121
|
+
export declare type RowCopyHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
122
|
+
export declare type RowDeleteHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
123
|
+
export declare type RowActiveHandler<TRow> = (row: LegacyTableRow<TRow>) => void;
|
124
124
|
export declare type RowAction<TRow> = {
|
125
|
-
disabled?: ((row:
|
126
|
-
icon: ((row:
|
127
|
-
onClick: (row:
|
128
|
-
text: ((row:
|
129
|
-
tooltip?: ((row:
|
125
|
+
disabled?: ((row: LegacyTableRow<TRow>) => boolean) | boolean;
|
126
|
+
icon: ((row: LegacyTableRow<TRow>) => IconName) | IconName;
|
127
|
+
onClick: (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLElement>) => void;
|
128
|
+
text: ((row: LegacyTableRow<TRow>) => React.ReactNode) | React.ReactNode;
|
129
|
+
tooltip?: ((row: LegacyTableRow<TRow>) => string) | string;
|
130
130
|
showOnRow?: boolean;
|
131
|
-
visible?: ((row:
|
131
|
+
visible?: ((row: LegacyTableRow<TRow>) => boolean) | boolean;
|
132
132
|
};
|
133
133
|
export declare type RowActionHandler<TRow> = RowAction<TRow> | undefined | null | boolean;
|
134
|
-
export declare type
|
134
|
+
export declare type LegacyTableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
135
135
|
/** Autofocus the table when loaded */
|
136
136
|
autoFocus?: boolean;
|
137
137
|
/**
|
@@ -139,7 +139,7 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
|
139
139
|
* Read about `ForwardedGenericTableWithStatics` for more details.
|
140
140
|
* *Note* that there can also be children that are rendered conditionally
|
141
141
|
*/
|
142
|
-
children:
|
142
|
+
children: LegacyTableChildren<TRow>;
|
143
143
|
/** Provide data to be displayed in your table */
|
144
144
|
data: Row<TRow>[];
|
145
145
|
/**
|
@@ -166,9 +166,9 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
|
166
166
|
* Provide a className for rows.
|
167
167
|
* It can be a `string` or a render function that is given the properties of the row and returns a `string`
|
168
168
|
*/
|
169
|
-
rowClassName?: string | ((row:
|
169
|
+
rowClassName?: string | ((row: LegacyTableRow<TRow>) => string | undefined);
|
170
170
|
/** Show extra content below each row */
|
171
|
-
rowExpansionRenderer?: (row:
|
171
|
+
rowExpansionRenderer?: (row: LegacyTableRow<TRow>) => React.ReactNode;
|
172
172
|
/** Give the row a specific height */
|
173
173
|
rowHeight?: number;
|
174
174
|
/**
|
@@ -220,7 +220,7 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
|
220
220
|
/** Handler called when a row is made active */
|
221
221
|
onRowActive?: RowActiveHandler<TRow>;
|
222
222
|
};
|
223
|
-
export declare type
|
223
|
+
export declare type LegacyTableRef = HTMLDivElement & {
|
224
224
|
instance: {
|
225
225
|
toggleAllRowsExpanded: any;
|
226
226
|
toggleHideAllColumns: any;
|
@@ -232,39 +232,39 @@ export declare type TableRef = HTMLDivElement & {
|
|
232
232
|
toggleSortBy: any;
|
233
233
|
};
|
234
234
|
};
|
235
|
-
export declare type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<
|
235
|
+
export declare type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<LegacyTableProps<any> & React.RefAttributes<HTMLDivElement>> & {
|
236
236
|
/** Represents a column in your table */
|
237
|
-
Column: <TRow>(props:
|
237
|
+
Column: <TRow>(props: LegacyTableColumnProps<TRow>) => JSX.Element | null;
|
238
238
|
/**
|
239
239
|
* Container for columns.
|
240
240
|
* Visually this adds a column above and spans all group children.
|
241
241
|
* *Note* that groups can only be nested two levels deep
|
242
242
|
*/
|
243
|
-
Group: <TRow>(props:
|
244
|
-
} & (<TRow>(props:
|
243
|
+
Group: <TRow>(props: LegacyTableGroupProps<TRow>) => JSX.Element | null;
|
244
|
+
} & (<TRow>(props: LegacyTableProps<TRow> & {
|
245
245
|
ref?: React.Ref<HTMLDivElement>;
|
246
246
|
}) => JSX.Element);
|
247
|
-
export declare type
|
248
|
-
export declare type
|
247
|
+
export declare type LegacyTableChild<TRow> = React.ReactElement<LegacyTableColumnProps<TRow>> | React.ReactElement<LegacyTableGroupProps<TRow>> | boolean | null;
|
248
|
+
export declare type LegacyTableChildren<TRow> = LegacyTableChild<TRow> | LegacyTableChild<TRow>[];
|
249
249
|
/** @internal */
|
250
|
-
export declare type InternalTableColumn =
|
250
|
+
export declare type InternalTableColumn = LegacyTableColumnProps<any> & ColumnInstance & UseSortByColumnProps<{}> & {
|
251
251
|
className?: string;
|
252
252
|
};
|
253
253
|
/** @internal */
|
254
|
-
export declare type InternalTableCell =
|
254
|
+
export declare type InternalTableCell = LegacyTableCell<any> & Cell & {
|
255
255
|
column: InternalTableColumn;
|
256
256
|
};
|
257
257
|
/** @internal */
|
258
|
-
export declare type InternalTableRow =
|
258
|
+
export declare type InternalTableRow = LegacyTableRow<any> & BaseRow & UseExpandedRowProps<{}> & UseRowSelectRowProps<{}> & UseRowStateRowProps<{}>;
|
259
259
|
/** @internal */
|
260
|
-
export declare type InternalBaseTable = Partial<
|
260
|
+
export declare type InternalBaseTable = Partial<LegacyTableProps<any>> & Partial<TableInstance> & {
|
261
261
|
children: JSX.Element;
|
262
262
|
headerRef?: React.MutableRefObject<HTMLDivElement | null>;
|
263
263
|
bodyRef?: React.MutableRefObject<HTMLDivElement | null>;
|
264
264
|
};
|
265
265
|
/** @internal */
|
266
266
|
export declare type InternalTable = {
|
267
|
-
rowProps: Pick<
|
267
|
+
rowProps: Pick<LegacyTableProps<any>, 'inlineEditingUniqueId' | 'onRowClick' | 'rowClassName' | 'rowExpansionRenderer'> & {
|
268
268
|
activeIndex?: number;
|
269
269
|
setActiveIndex?: any;
|
270
270
|
rowHeight: number | undefined;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SortTypes,
|
2
|
-
declare type SortHandler<T> = (rowA:
|
1
|
+
import { SortTypes, LegacyTableRow } from '../types';
|
2
|
+
declare type SortHandler<T> = (rowA: LegacyTableRow<T>, rowB: LegacyTableRow<T>, columnId: string) => 0 | 1 | -1;
|
3
3
|
export declare const sortTypes: (locale: string) => Record<SortTypes, SortHandler<any>>;
|
4
4
|
export {};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { LegacyTableRow, LegacyTableChildren, InternalTableRow, SortRule } from './types';
|
2
2
|
import { SortingRule } from 'react-table';
|
3
|
-
export declare const sanitizeRowProps: (row: InternalTableRow, rowExpansionRenderer: any) =>
|
4
|
-
export declare const getColumnsFromChildren: (children:
|
5
|
-
columns: (import("./types").
|
3
|
+
export declare const sanitizeRowProps: (row: InternalTableRow, rowExpansionRenderer: any) => LegacyTableRow<any>;
|
4
|
+
export declare const getColumnsFromChildren: (children: LegacyTableChildren<any>, rowExpansionRenderer: any) => {
|
5
|
+
columns: (import("./types").LegacyTableColumnProps<any> & import("react-table").ColumnInstance<{}> & import("react-table").UseSortByColumnProps<{}> & {
|
6
6
|
className?: string | undefined;
|
7
7
|
} & {
|
8
8
|
disableSortBy: boolean | undefined;
|
@@ -6,7 +6,7 @@ export declare type FilterProps<TType = unknown> = {
|
|
6
6
|
filter: Table3Filter;
|
7
7
|
filters: Table3Filter[];
|
8
8
|
position: number;
|
9
|
-
onChange: (
|
10
|
-
onRemove
|
9
|
+
onChange: (position: number, value: Table3Filter) => void;
|
10
|
+
onRemove?: (position: number) => void;
|
11
11
|
};
|
12
12
|
export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
|
package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Column as RTColumn } from '@tanstack/react-table';
|
3
3
|
import { Select2Props } from '../../../../../../Select2/Select2';
|
4
4
|
import { Table3Filter } from '../../../../../types';
|
@@ -6,4 +6,7 @@ export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'chi
|
|
6
6
|
allColumns: RTColumn<TType, unknown>[];
|
7
7
|
filters: Table3Filter[];
|
8
8
|
};
|
9
|
-
export declare
|
9
|
+
export declare const FilterColumn: React.ForwardRefExoticComponent<Pick<Select2Props, "defaultValue" | "onChange" | "value" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "emptyValue" | "disabled" | "highlighted" | "invalid" | "multiple" | "name" | "onCreate" | "onDelete" | "onEdit" | "readOnly" | "required" | "tags" | "fontSize"> & {
|
10
|
+
allColumns: RTColumn<unknown, unknown>[];
|
11
|
+
filters: Table3Filter[];
|
12
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { RowData } from '@tanstack/react-table';
|
3
3
|
import { Table3ColumnAlignment, Table3ColumnRenderer, Table3Props, Table3ColumnHeaderMenu, Table3ColumnControlRenderer, Table3ColumnDataType, Table3ColumnClassNameHandler, Table3ColumnFooterRenderer, TableStrategy, Table3FilterComparator, Table3Settings, Table3Ref } from '../types';
|
4
|
-
import { useTableRowActive } from '../../../primitives/Table/
|
5
|
-
import { useTableRowHeight } from '../../../primitives/Table/
|
6
|
-
import { useTableFontSize } from '../../../primitives/Table/
|
4
|
+
import { useTableRowActive } from '../../../primitives/Table/useTableManager/features/useTableRowActive';
|
5
|
+
import { useTableRowHeight } from '../../../primitives/Table/useTableManager/features/useTableRowHeight';
|
6
|
+
import { useTableFontSize } from '../../../primitives/Table/useTableManager/features/useTableFontSize';
|
7
7
|
import { useRowDrag } from './features/useRowDrag';
|
8
8
|
import { useColumnFreezing } from './features/useColumnFreezing';
|
9
|
-
import { useTableRowSelection } from '../../../primitives/Table/
|
10
|
-
import { useTableServerLoading } from '../../../primitives/Table/
|
11
|
-
import { useTableRowClick } from '../../../primitives/Table/
|
12
|
-
import { useTableColumnOrdering } from '../../../primitives/Table/
|
9
|
+
import { useTableRowSelection } from '../../../primitives/Table/useTableManager/features/useTableRowSelection';
|
10
|
+
import { useTableServerLoading } from '../../../primitives/Table/useTableManager/features/useTableServerLoading';
|
11
|
+
import { useTableRowClick } from '../../../primitives/Table/useTableManager/features/useTableRowClick';
|
12
|
+
import { useTableColumnOrdering } from '../../../primitives/Table/useTableManager/features/useTableColumnOrdering';
|
13
13
|
import { useRowDrop } from './features/useRowDrop';
|
14
14
|
import { useEditing } from './features/useEditing';
|
15
15
|
import { usePrinting } from './features/usePrinting';
|
16
|
-
import { useTableRowGoto } from '../../../primitives/Table/
|
16
|
+
import { useTableRowGoto } from '../../../primitives/Table/useTableManager/features/useTableRowGoto';
|
17
17
|
import { useSearch } from './features/useSearch';
|
18
18
|
import { useRowActions } from './features/useRowActions';
|
19
19
|
import { Table3Validation } from './features/useValidation';
|