@economic/taco 2.25.1 → 2.26.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm/index.css +216 -515
- package/dist/esm/packages/taco/src/components/Field/Field.js +1 -0
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +5 -6
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +48 -59
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +8 -51
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/useReport.js +8 -45
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +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/WindowedTable.js +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 +10 -10
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +30 -218
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +71 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +216 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +45 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +62 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +134 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +41 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +349 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +49 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js +36 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js +46 -38
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
- package/dist/esm/packages/taco/src/index.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +2 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +52 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/Body.js +21 -12
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/DisplayCell.js +6 -4
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/GroupedCell.js +8 -6
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/Cell.js +6 -5
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/util.js +5 -4
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Actions.js +28 -17
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Expansion.js +18 -6
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Selection.js +23 -10
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Summary.js +7 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/Header.js +12 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Goto.js +5 -5
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Menu.js +15 -16
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Resizer.js +3 -3
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/SortIndicator.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/util.js +4 -4
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/DisplayRow.js +30 -12
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/Row.js +13 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/RowContext.js +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +54 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/Filters.js +9 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.js +9 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.js +4 -4
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.js +7 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.js +17 -17
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.js +7 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Print/Print.js +11 -11
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Search/Search.js +26 -7
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.js +27 -13
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/Settings.js +17 -17
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/styles/util.js → primitives/Table/Core/features/useStylesheet.js} +18 -2
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/styles/useColumnPinningStylesheet.js → primitives/Table/Core/features/useStylesheetColumnFreezing.js} +12 -12
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/styles/useCssGridStylesheet.js → primitives/Table/Core/features/useStylesheetCssGrid.js} +9 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableGlobalShortcuts.js +3 -5
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableRenderer.js +5 -3
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
- package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/listeners/useTableRowActiveListener.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +50 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +5 -15
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +1 -3
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +13 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +58 -24
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +1 -2
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +5 -2
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/dom.js +19 -3
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/input.js +1 -14
- package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
- package/dist/index.css +216 -515
- package/dist/{components → packages/taco/src/components}/Provider/Localization.d.ts +47 -55
- package/dist/packages/taco/src/components/Report/Report.d.ts +10 -0
- package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +19 -0
- package/dist/packages/taco/src/components/Report/useReport.d.ts +23 -0
- package/dist/{components → packages/taco/src/components}/Select2/hooks/useChildren.d.ts +2 -1
- package/dist/{components → packages/taco/src/components}/Table/Table.d.ts +2 -2
- package/dist/packages/taco/src/components/Table3/Table3.d.ts +20 -0
- package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +35 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/util.d.ts +3 -0
- package/dist/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +10 -0
- package/dist/packages/taco/src/components/Table3/components/Editing/Alert.d.ts +12 -0
- package/dist/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
- package/dist/packages/taco/src/components/Table3/components/Row/Row.d.ts +3 -0
- package/dist/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
- package/dist/packages/taco/src/components/Table3/features/useTableEditing.d.ts +46 -0
- package/dist/packages/taco/src/components/Table3/listeners/useTableEditingListener.d.ts +2 -0
- package/dist/packages/taco/src/components/Table3/types.d.ts +56 -0
- package/dist/packages/taco/src/components/Table3/useTable3.d.ts +30 -0
- package/dist/packages/taco/src/components/Table3/util/editing.d.ts +2 -0
- package/dist/{index.d.ts → packages/taco/src/index.d.ts} +1 -0
- package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +19 -0
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/Body.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/EmptyStateBody.d.ts +2 -2
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
- package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Cell/Cell.d.ts +4 -2
- package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Cell/util.d.ts +2 -1
- package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Internal/Actions.d.ts +4 -4
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/Header.d.ts +7 -2
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Goto.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Menu.d.ts +2 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Resizer.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/SortIndicator.d.ts +1 -1
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/util.d.ts +4 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Row/Row.d.ts +6 -0
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Row/RowContext.d.ts +0 -1
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.d.ts +2 -2
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/util.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Print/Print.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Search/Search.d.ts +3 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +1 -1
- package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Settings/Settings.d.ts +2 -2
- package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +2 -0
- package/dist/{components/Report/styles/useCssGridStylesheet.d.ts → packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts} +2 -2
- package/dist/{components/Report/util → packages/taco/src/primitives/Table/Core/features}/useTableGlobalShortcuts.d.ts +1 -1
- package/dist/{components/Report/util → packages/taco/src/primitives/Table/Core/features}/useTableRenderer.d.ts +3 -2
- package/dist/packages/taco/src/primitives/Table/Core/types.d.ts +24 -0
- package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +25 -0
- package/dist/{primitives → packages/taco/src/primitives}/Table/types.d.ts +168 -3
- package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowActive.d.ts +4 -2
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
- package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/types.d.ts +1 -0
- package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/useTableManager.d.ts +9 -3
- package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/settings.d.ts +1 -1
- package/dist/{utils → packages/taco/src/utils}/dom.d.ts +2 -1
- package/dist/taco.cjs.development.js +7134 -11743
- 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/package.json +3 -2
- package/types.json +21186 -51499
- package/dist/components/Report/Report.d.ts +0 -23
- package/dist/components/Report/components/Cell/DisplayCell.d.ts +0 -8
- package/dist/components/Report/components/Cell/GroupedCell.d.ts +0 -8
- package/dist/components/Report/components/Header/util.d.ts +0 -4
- package/dist/components/Report/components/Internal/Expansion.d.ts +0 -4
- package/dist/components/Report/components/Internal/Selection.d.ts +0 -4
- package/dist/components/Report/components/Row/DisplayRow.d.ts +0 -9
- package/dist/components/Report/components/Row/Row.d.ts +0 -9
- package/dist/components/Report/components/Toolbar/Toolbar.d.ts +0 -15
- package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +0 -2
- package/dist/components/Report/styles/util.d.ts +0 -3
- package/dist/components/Report/types.d.ts +0 -20
- package/dist/components/Report/useReport.d.ts +0 -9
- package/dist/components/Table3/Table3.d.ts +0 -19
- package/dist/components/Table3/components/alert/ErrorAlert.d.ts +0 -10
- package/dist/components/Table3/components/columns/cell/Cell.d.ts +0 -6
- package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +0 -25
- package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +0 -14
- package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +0 -21
- package/dist/components/Table3/components/columns/cell/Highlight.d.ts +0 -2
- package/dist/components/Table3/components/columns/cell/Indicator.d.ts +0 -22
- package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +0 -2
- package/dist/components/Table3/components/columns/footer/Footer.d.ts +0 -14
- package/dist/components/Table3/components/columns/footer/Summary.d.ts +0 -8
- package/dist/components/Table3/components/columns/header/Goto.d.ts +0 -6
- package/dist/components/Table3/components/columns/header/Group.d.ts +0 -15
- package/dist/components/Table3/components/columns/header/Header.d.ts +0 -37
- package/dist/components/Table3/components/columns/header/Menu.d.ts +0 -20
- package/dist/components/Table3/components/columns/header/Resizer.d.ts +0 -7
- package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +0 -12
- package/dist/components/Table3/components/columns/internal/Actions.d.ts +0 -3
- package/dist/components/Table3/components/columns/internal/Drag.d.ts +0 -4
- package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +0 -8
- package/dist/components/Table3/components/columns/internal/Expansion.d.ts +0 -4
- package/dist/components/Table3/components/columns/internal/Selection.d.ts +0 -3
- package/dist/components/Table3/components/columns/styles.d.ts +0 -5
- package/dist/components/Table3/components/rows/ExpandedRow.d.ts +0 -8
- package/dist/components/Table3/components/rows/Row.d.ts +0 -26
- package/dist/components/Table3/components/rows/RowContext.d.ts +0 -10
- package/dist/components/Table3/components/rows/SkeletonRow.d.ts +0 -10
- package/dist/components/Table3/components/rows/styles.d.ts +0 -6
- package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/EditButton.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +0 -12
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +0 -12
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +0 -10
- package/dist/components/Table3/components/toolbar/FontSize.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +0 -8
- package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +0 -8
- package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +0 -9
- package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +0 -1
- package/dist/components/Table3/components/toolbar/RowHeight.d.ts +0 -7
- package/dist/components/Table3/components/toolbar/Search.d.ts +0 -8
- package/dist/components/Table3/components/toolbar/Settings.d.ts +0 -8
- package/dist/components/Table3/components/toolbar/Toolbar.d.ts +0 -13
- package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +0 -13
- package/dist/components/Table3/hooks/features/useEditing.d.ts +0 -31
- package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +0 -3
- package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +0 -5
- package/dist/components/Table3/hooks/features/usePrinting.d.ts +0 -7
- package/dist/components/Table3/hooks/features/useRowActions.d.ts +0 -5
- package/dist/components/Table3/hooks/features/useRowDrag.d.ts +0 -6
- package/dist/components/Table3/hooks/features/useRowDrop.d.ts +0 -5
- package/dist/components/Table3/hooks/features/useSearch.d.ts +0 -16
- package/dist/components/Table3/hooks/features/useSettings.d.ts +0 -3
- package/dist/components/Table3/hooks/features/useValidation.d.ts +0 -13
- package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +0 -2
- package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +0 -3
- package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +0 -9
- package/dist/components/Table3/hooks/useCssGrid.d.ts +0 -6
- package/dist/components/Table3/hooks/useCssVars.d.ts +0 -8
- package/dist/components/Table3/hooks/useTable.d.ts +0 -74
- package/dist/components/Table3/hooks/useTableDataLoader.d.ts +0 -22
- package/dist/components/Table3/hooks/useTablePreset.d.ts +0 -2
- package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +0 -4
- package/dist/components/Table3/strategies/index.d.ts +0 -4
- package/dist/components/Table3/strategies/virtualised.d.ts +0 -4
- package/dist/components/Table3/types.d.ts +0 -379
- package/dist/components/Table3/util/columns.d.ts +0 -8
- package/dist/components/Table3/util/editing.d.ts +0 -10
- package/dist/components/Table3/util/filtering.d.ts +0 -3
- package/dist/components/Table3/util/scrolling.d.ts +0 -2
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +0 -63
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +0 -88
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +0 -20
- package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +0 -154
- package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +0 -84
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +0 -84
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +0 -212
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +0 -194
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +0 -41
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +0 -88
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +0 -144
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +0 -50
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +0 -41
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js +0 -28
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +0 -74
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +0 -186
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +0 -206
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +0 -42
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +0 -38
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +0 -129
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +0 -86
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +0 -174
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +0 -104
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +0 -187
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +0 -19
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +0 -27
- package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +0 -327
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +0 -14
- package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +0 -43
- package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +0 -9
- package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +0 -109
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +0 -29
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +0 -164
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +0 -102
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +0 -50
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +0 -111
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +0 -118
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +0 -26
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +0 -211
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +0 -224
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +0 -60
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +0 -97
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +0 -33
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +0 -238
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +0 -65
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +0 -64
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +0 -95
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +0 -299
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +0 -24
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +0 -12
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +0 -14
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +0 -10
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +0 -13
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +0 -9
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +0 -29
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +0 -23
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +0 -178
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +0 -28
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +0 -24
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +0 -143
- package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +0 -66
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +0 -74
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +0 -234
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +0 -130
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +0 -122
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +0 -19
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +0 -8
- package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +0 -117
- package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/types.js +0 -20
- package/dist/esm/packages/taco/src/components/Table3/types.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/util/columns.js +0 -60
- package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +0 -120
- package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +0 -53
- package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +0 -1
- package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +0 -15
- package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +0 -1
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/EmptyStateBody.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/util.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Footer.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/util.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTableManager → Core}/features/useTableRef.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/util/rows.js +0 -0
- /package/dist/{components → packages/taco/src/components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Alert/Alert.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/AlertDialog/AlertDialog.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/AlertDialog/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Footer.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Trigger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Backdrop/Backdrop.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Badge/Badge.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/BadgeIcon/BadgeIcon.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Banner/Banner.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Banner/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Button/Button.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Button/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Calendar/Calendar.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Card/Card.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Combobox/Combobox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Combobox/useCombobox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Datepicker/Datepicker.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Datepicker/useDatepicker.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/components/DialogDrawer.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/components/Extra.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/components/Trigger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/types.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Dialog/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/Drawer.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/components/Trigger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/images.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/types.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Drawer/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Field/Field.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Form/Form.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Group/Group.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Hanger/Hanger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/Header.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Avatar.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Badge.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Display.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Item.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/types.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/AgreementSelector.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Button.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Link.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/Logo.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/MenuButton.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/PrimaryNavigation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Header/components/SecondaryNavigation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/HoverCard/HoverCard.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/HoverCard/Primitives.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/Icon.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AccountPreview.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Accounting.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYear.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYearCancel.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AiChatSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AiStars.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowBottom.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowDown.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowEnd.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowLeft.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowRight.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowStart.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowTop.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowUp.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Attach.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AttachAuto.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AttachCancel.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AttachWarning.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Autotext.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/AutotextInsert.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Basic.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/BasicTabs.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/BellSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Book.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Booking.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Budget.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Calendar.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CashAccount.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CashReports.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChartArea.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChartBar.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChartLine.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChartPie.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChartTable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Chat.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChatSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDown.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownDouble.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeft.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRight.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightDouble.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUp.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpDouble.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleClose.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleInformation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleMinus.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CirclePlus.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleQuestionmark.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleTick.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/CircleWarning.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Clamp.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ClampOpen.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Close.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnFreeze.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Columns.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionEnable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionRevoke.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Contacts.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Copy.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Courses.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Credit.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Delete.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DeletePermanently.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Depecriate.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Developer.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DistributionTemplate.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Document.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentApprove.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCut.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentError.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMerge.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMove.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentPreview.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentReceived.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentSplit.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentTime.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Download.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Drag.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ECopedia.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ESignature.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Edit.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EditSimple.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisVertical.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOnAccount.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOpen.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesWarning.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Envelope.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeApproved.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ExpandView.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Expenses.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Export.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToExcel.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToPdf.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOff.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOn.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Filter.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/FilterSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/FontSize.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/GraphSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Hash.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/HeightExtraTall.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/HeightMedium.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/HeightShort.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/HeightTall.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Home.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Images.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Import.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Inbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/InboxEinvoicing.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/InboxScanning.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/InboxSmart.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Info.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Inventory.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/InventoryMatrix.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/JournalPro.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Layout.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutBoth.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutFirst.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutLast.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutNone.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCard.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Lightbulb.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Line.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/List.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ListBulleted.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ListSearch.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Location.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Lock.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LockOpen.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Log.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/LogOut.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Market.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/MatchAmount.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/MatchEntries.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Menu.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Mileage.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ModalResize.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ModalShrink.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/More.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/MoreSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Move.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/NavigationList.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Note.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/NoteFollowUp.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/NoteRead.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Numbers.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PartnerApi.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentPaid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentUnpaid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Period.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PersonChange.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PersonMinus.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PersonPlus.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PersonTick.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PhoneSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Play.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/PlusMinus.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Print.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ProcessPayment.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ProductLedgerCard.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Profile.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ProjectCards.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Projects.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMark.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMarkBold.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Quicklinks.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/RatingBankruptcy.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Reconciled.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Refresh.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Report.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ReportSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Restore.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/RotateLeft.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/RotateRight.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Sales.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Search.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/SearchBold.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Secure.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/SecureTick.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Settings.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/SettingsSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Shortcuts.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ShowAll.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ShowLess.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ShowMore.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ShowTemplate.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Sliders.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Smartpay.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/SortBy.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Star.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/StarSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Subscriptions.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/SystemEntries.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Tag.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/TemplateOverride.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Templates.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbBoth.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDown.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDownSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUp.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUpSolid.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Tick.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/TickBold.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Time.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Transfer.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/TransferCancel.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/TransferLocked.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Undo.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Undock.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Unreconciled.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Warning.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Webshop.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Website.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Workflow.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/Zoom.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Icon/components/index.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/IconButton/IconButton.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Input/Input.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Input/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/Layout.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/components/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/components/Page.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/components/Sidebar.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Layout/components/Top.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/Listbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/ScrollableList.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/useListbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/useMultiListbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/useTypeahead.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Listbox/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/Menu.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Checkbox.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Header.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Item.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Link.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/RadioGroup.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Separator.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/SubMenu.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Menu/components/Trigger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/ModeSwitch/ModeSwitch.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation/Navigation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/Navigation2.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/components/Content.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/components/Group.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/components/Link.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/components/Section.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Navigation2/components/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/OverflowGroup/OverflowGroup.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Pagination/PageNumbers.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Pagination/usePagination.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Pagination/usePaginationShortcuts.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Popover/Popover.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Popover/Primitives.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Popover/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Progress/Progress.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Provider/Provider.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/RadioGroup/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/ScrollArea/ScrollArea.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/SearchInput2/SearchInput2.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select/Select.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select/useSelect.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/Select2.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/All.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Collection.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Context.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Create.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Edit.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Group.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Option.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Search.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Title.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/components/Trigger.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/types.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Select2/utilities.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Shortcut/Shortcut.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Spinner/Spinner.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Switch/Switch.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/Table.storyexample.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/components/BaseTable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/components/PaginatedTable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/components/Table.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/components/WindowedTable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/useRowCreation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/useTable.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/types.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/util/renderColumn.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/util/renderRow.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/util/rowIndexPath.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/util/sortTypes.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Table/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Tag/Tag.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Textarea/Textarea.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Toast/Toast.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Toast/Toaster.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Toast/util.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Tour/Tour.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Treeview/Treeview.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/Truncate/Truncate.d.ts +0 -0
- /package/dist/{components → packages/taco/src/components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useBoundaryOverflowDetection.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useBoundingClientRectListener.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useDebouncedEffect.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useGlobalKeyDown.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useId.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useIntersectionObserver.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useIsFormControl.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useIsHoverStatePaused.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useIsLargeScreen.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useLazyEffect.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useLocalStorage.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useMatchMedia.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useMergedRef.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/usePrevious.d.ts +0 -0
- /package/dist/{hooks → packages/taco/src/hooks}/useTacoSettings.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/BubbleSelect.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Button.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Collection/Collection.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Collection/components/Root.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/Listbox2.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Context.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Group.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Option.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Root.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Title.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/types.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Sortable/Sortable.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Container.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Item.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/List.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/util.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Footer.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Summary.d.ts +0 -0
- /package/dist/{components/Report/components/Row → packages/taco/src/primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
- /package/dist/{components/Report/styles → packages/taco/src/primitives/Table/Core/features}/useStylesheet.d.ts +0 -0
- /package/dist/{primitives/Table/useTableManager → packages/taco/src/primitives/Table/Core}/features/useTableRef.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/listeners/useTableRowActiveListener.d.ts +0 -0
- /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/util/rows.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableDataLoader.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/columns.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/presets.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/search.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/setup.d.ts +0 -0
- /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
- /package/dist/{types.d.ts → packages/taco/src/types.d.ts} +0 -0
- /package/dist/{utils → packages/taco/src/utils}/aria.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/date.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/debounce.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/device.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useDraggable.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useDropTarget.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useListScrollTo.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useOnClickOutside.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useRefState.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useTimer.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/hooks/useTruncated.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/input.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/keyboard.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/mergeRefs.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/storyutils.d.ts +0 -0
- /package/dist/{utils → packages/taco/src/utils}/tailwind.d.ts +0 -0
@@ -1,109 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { Icon } from '../../../Icon/Icon.js';
|
4
|
-
import { useLocalization } from '../../../Provider/Localization.js';
|
5
|
-
import { Checkbox } from '../../../Checkbox/Checkbox.js';
|
6
|
-
import { Input } from '../../../Input/Input.js';
|
7
|
-
import { Popover } from '../../../Popover/Popover.js';
|
8
|
-
import { ensureOrdering } from '../../../../primitives/Table/useTableManager/util/columns.js';
|
9
|
-
import { Container } from '../../../../primitives/Sortable/components/Container.js';
|
10
|
-
import { arrayMove } from '@dnd-kit/sortable';
|
11
|
-
import { Item } from '../../../../primitives/Sortable/components/Item.js';
|
12
|
-
import { List } from '../../../../primitives/Sortable/components/List.js';
|
13
|
-
import { COLUMN_ID } from '../columns/internal/Actions.js';
|
14
|
-
import { isInternalColumn } from '../../util/columns.js';
|
15
|
-
import { COLUMN_ID as COLUMN_ID$1 } from '../columns/internal/EditingActions.js';
|
16
|
-
|
17
|
-
const Column = /*#__PURE__*/React__default.forwardRef(function Column(props, ref) {
|
18
|
-
var _column$parent, _column$parent$column, _column$columnDef$met;
|
19
|
-
const {
|
20
|
-
column,
|
21
|
-
draggable = false,
|
22
|
-
...dragAttributes
|
23
|
-
} = props;
|
24
|
-
const canHide = column.getCanHide();
|
25
|
-
const className = cn('group/column flex items-center gap-x-2 rounded py-1 px-2', {
|
26
|
-
'hover:bg-grey-200': canHide || draggable,
|
27
|
-
'hover:cursor-pointer': canHide,
|
28
|
-
'active:cursor-move active:bg-grey-300': draggable
|
29
|
-
});
|
30
|
-
const attributes = draggable ? dragAttributes : undefined;
|
31
|
-
const isVisible = column.getIsVisible();
|
32
|
-
const parentText = column.parent ? (_column$parent = column.parent) === null || _column$parent === void 0 ? void 0 : (_column$parent$column = _column$parent.columnDef.meta) === null || _column$parent$column === void 0 ? void 0 : _column$parent$column.header : null;
|
33
|
-
return /*#__PURE__*/React__default.createElement("div", Object.assign({}, attributes, {
|
34
|
-
key: column.id,
|
35
|
-
className: className,
|
36
|
-
onClick: () => column.toggleVisibility(!isVisible),
|
37
|
-
ref: ref
|
38
|
-
}), draggable ? /*#__PURE__*/React__default.createElement(Icon, {
|
39
|
-
name: "drag",
|
40
|
-
className: "text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"
|
41
|
-
}) : null, /*#__PURE__*/React__default.createElement("span", {
|
42
|
-
className: "flex-grow truncate"
|
43
|
-
}, (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header, parentText ? /*#__PURE__*/React__default.createElement("span", {
|
44
|
-
className: "italic"
|
45
|
-
}, " (", parentText, ")") : null), canHide ? /*#__PURE__*/React__default.createElement(Checkbox, {
|
46
|
-
checked: isVisible,
|
47
|
-
onChange: () => column.toggleVisibility(!isVisible)
|
48
|
-
}) : null);
|
49
|
-
});
|
50
|
-
function ColumnSettingsPopover(props) {
|
51
|
-
const {
|
52
|
-
table,
|
53
|
-
trigger,
|
54
|
-
...popoverProps
|
55
|
-
} = props;
|
56
|
-
const {
|
57
|
-
texts
|
58
|
-
} = useLocalization();
|
59
|
-
const [query, setQuery] = React__default.useState('');
|
60
|
-
const allColumns = table.getAllLeafColumns();
|
61
|
-
const tableMeta = table.options.meta;
|
62
|
-
const columns = React__default.useMemo(() => allColumns.filter(column => !isInternalColumn(column.id)).filter(column => {
|
63
|
-
var _column$columnDef$met2, _column$parent2, _column$parent2$colum;
|
64
|
-
return query !== null && query !== void 0 && query.length ? ((_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.header.toLowerCase().includes(query.toLowerCase())) || ((_column$parent2 = column.parent) === null || _column$parent2 === void 0 ? void 0 : (_column$parent2$colum = _column$parent2.columnDef.meta) === null || _column$parent2$colum === void 0 ? void 0 : _column$parent2$colum.header.toLowerCase().includes(query.toLowerCase())) : true;
|
65
|
-
}), [allColumns, query]);
|
66
|
-
const listClassName = 'flex max-h-64 flex-col gap-y-px overflow-auto';
|
67
|
-
const handleReorder = (activeId, overId) => {
|
68
|
-
if (columns.find(column => {
|
69
|
-
var _column$columnDef$met3;
|
70
|
-
return column.id === overId && ((_column$columnDef$met3 = column.columnDef.meta) === null || _column$columnDef$met3 === void 0 ? void 0 : _column$columnDef$met3.enableOrdering) === false;
|
71
|
-
})) {
|
72
|
-
return;
|
73
|
-
}
|
74
|
-
table.setColumnOrder(currentOrder => ensureOrdering(allColumns, arrayMove(currentOrder, currentOrder.findIndex(c => c === activeId), currentOrder.findIndex(c => c === overId)), [COLUMN_ID, COLUMN_ID$1]));
|
75
|
-
};
|
76
|
-
return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
|
77
|
-
anchor: trigger
|
78
|
-
}), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement("div", {
|
79
|
-
className: "flex max-w-sm flex-col gap-2"
|
80
|
-
}, table.options.enableHiding ? ( /*#__PURE__*/React__default.createElement(Input, {
|
81
|
-
onChange: event => setQuery(event.target.value),
|
82
|
-
placeholder: texts.table3.columnSettings.search,
|
83
|
-
value: query
|
84
|
-
})) : null, tableMeta.columnOrdering.isEnabled && columns.length && !(query !== null && query !== void 0 && query.length) ? ( /*#__PURE__*/React__default.createElement(Container, {
|
85
|
-
reorder: handleReorder
|
86
|
-
}, /*#__PURE__*/React__default.createElement(List, {
|
87
|
-
id: "columns",
|
88
|
-
className: listClassName
|
89
|
-
}, columns.map(column => {
|
90
|
-
var _column$columnDef$met4, _column$columnDef$met5;
|
91
|
-
return /*#__PURE__*/React__default.createElement(Item, {
|
92
|
-
key: column.id,
|
93
|
-
id: column.id,
|
94
|
-
disabled: !((_column$columnDef$met4 = column.columnDef.meta) !== null && _column$columnDef$met4 !== void 0 && _column$columnDef$met4.enableOrdering),
|
95
|
-
asChild: true
|
96
|
-
}, /*#__PURE__*/React__default.createElement(Column, {
|
97
|
-
column: column,
|
98
|
-
draggable: (_column$columnDef$met5 = column.columnDef.meta) === null || _column$columnDef$met5 === void 0 ? void 0 : _column$columnDef$met5.enableOrdering
|
99
|
-
}));
|
100
|
-
})))) : ( /*#__PURE__*/React__default.createElement("div", {
|
101
|
-
className: listClassName
|
102
|
-
}, columns.length ? columns.map(column => /*#__PURE__*/React__default.createElement(Column, {
|
103
|
-
column: column,
|
104
|
-
key: column.id
|
105
|
-
})) : texts.table3.columnSettings.noResults)))));
|
106
|
-
}
|
107
|
-
|
108
|
-
export { ColumnSettingsPopover };
|
109
|
-
//# sourceMappingURL=ColumnSettings.js.map
|
package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ColumnSettings.js","sources":["../../../../../../../../../src/components/Table3/components/toolbar/ColumnSettings.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Table as RTable, Column as RTColumn, TableMeta } from '@tanstack/react-table';\nimport { isInternalColumn } from '../../util/columns';\nimport { useLocalization } from '../../../Provider/Localization';\nimport { Checkbox } from '../../../Checkbox/Checkbox';\nimport { Popover, PopoverProps } from '../../../Popover/Popover';\nimport { Input } from '../../../Input/Input';\nimport * as SortablePrimitive from '../../../../primitives/Sortable/Sortable';\nimport { Icon } from '../../../Icon/Icon';\nimport { ensureOrdering } from '../../../../primitives/Table/useTableManager/util/columns';\nimport { COLUMN_ID as ACTIONS_COLUMN_ID } from '../../components/columns/internal/Actions';\nimport { COLUMN_ID as EDITING_ACTIONS_COLUMN_ID } from '../../components/columns/internal/EditingActions';\n\ntype ColumnProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {\n column: RTColumn<TType, unknown>;\n draggable?: boolean;\n};\n\nconst Column = React.forwardRef(function Column<TType = unknown>(props: ColumnProps<TType>, ref: React.Ref<HTMLDivElement>) {\n const { column, draggable = false, ...dragAttributes } = props;\n const canHide = column.getCanHide();\n\n const className = cn('group/column flex items-center gap-x-2 rounded py-1 px-2', {\n 'hover:bg-grey-200': canHide || draggable,\n 'hover:cursor-pointer': canHide,\n 'active:cursor-move active:bg-grey-300': draggable,\n });\n\n const attributes = draggable ? dragAttributes : undefined;\n const isVisible = column.getIsVisible();\n\n const parentText = column.parent ? column.parent?.columnDef.meta?.header : null;\n\n return (\n <div {...attributes} key={column.id} className={className} onClick={() => column.toggleVisibility(!isVisible)} ref={ref}>\n {draggable ? <Icon name=\"drag\" className=\"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5\" /> : null}\n <span className=\"flex-grow truncate\">\n {column.columnDef.meta?.header}\n {parentText ? <span className=\"italic\"> ({parentText})</span> : null}\n </span>\n {canHide ? <Checkbox checked={isVisible} onChange={() => column.toggleVisibility(!isVisible)} /> : null}\n </div>\n );\n});\n\nexport type ColumnSettingsProps<TType = unknown> = PopoverProps & {\n table: RTable<TType>;\n};\n\nexport function ColumnSettingsPopover<TType = unknown>(props: ColumnSettingsProps<TType>) {\n const { table, trigger, ...popoverProps } = props;\n const { texts } = useLocalization();\n const [query, setQuery] = React.useState('');\n const allColumns = table.getAllLeafColumns();\n const tableMeta = table.options.meta as TableMeta<TType>;\n const columns = React.useMemo(\n () =>\n allColumns\n .filter(column => !isInternalColumn(column.id))\n .filter(column =>\n query?.length\n ? column.columnDef.meta?.header.toLowerCase().includes(query.toLowerCase()) ||\n column.parent?.columnDef.meta?.header.toLowerCase().includes(query.toLowerCase())\n : true\n ),\n [allColumns, query]\n );\n\n const listClassName = 'flex max-h-64 flex-col gap-y-px overflow-auto';\n\n const handleReorder = (activeId, overId) => {\n if (columns.find(column => column.id === overId && column.columnDef.meta?.enableOrdering === false)) {\n return;\n }\n\n table.setColumnOrder(currentOrder =>\n ensureOrdering(\n allColumns,\n SortablePrimitive.arrayMove(\n currentOrder,\n currentOrder.findIndex(c => c === activeId),\n currentOrder.findIndex(c => c === overId)\n ),\n [ACTIONS_COLUMN_ID, EDITING_ACTIONS_COLUMN_ID]\n )\n );\n };\n\n return (\n <Popover {...popoverProps} anchor={trigger}>\n <Popover.Content>\n <div className=\"flex max-w-sm flex-col gap-2\">\n {table.options.enableHiding ? (\n <Input\n onChange={event => setQuery(event.target.value)}\n placeholder={texts.table3.columnSettings.search}\n value={query}\n />\n ) : null}\n {tableMeta.columnOrdering.isEnabled && columns.length && !query?.length ? (\n <SortablePrimitive.Container reorder={handleReorder}>\n <SortablePrimitive.List id=\"columns\" className={listClassName}>\n {columns.map(column => (\n <SortablePrimitive.Item\n key={column.id}\n id={column.id}\n disabled={!column.columnDef.meta?.enableOrdering}\n asChild>\n <Column column={column as any} draggable={column.columnDef.meta?.enableOrdering} />\n </SortablePrimitive.Item>\n ))}\n </SortablePrimitive.List>\n </SortablePrimitive.Container>\n ) : (\n <div className={listClassName}>\n {columns.length\n ? columns.map(column => <Column column={column as any} key={column.id} />)\n : texts.table3.columnSettings.noResults}\n </div>\n )}\n </div>\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["Column","React","forwardRef","props","ref","column","draggable","dragAttributes","canHide","getCanHide","className","cn","attributes","undefined","isVisible","getIsVisible","parentText","parent","_column$parent","_column$parent$column","columnDef","meta","header","key","id","onClick","toggleVisibility","Icon","name","_column$columnDef$met","Checkbox","checked","onChange","ColumnSettingsPopover","table","trigger","popoverProps","texts","useLocalization","query","setQuery","useState","allColumns","getAllLeafColumns","tableMeta","options","columns","useMemo","filter","isInternalColumn","_column$columnDef$met2","_column$parent2","_column$parent2$colum","length","toLowerCase","includes","listClassName","handleReorder","activeId","overId","find","_column$columnDef$met3","enableOrdering","setColumnOrder","currentOrder","ensureOrdering","SortablePrimitive","findIndex","c","ACTIONS_COLUMN_ID","EDITING_ACTIONS_COLUMN_ID","Popover","anchor","Content","enableHiding","Input","event","target","value","placeholder","table3","columnSettings","search","columnOrdering","isEnabled","reorder","map","_column$columnDef$met4","_column$columnDef$met5","disabled","asChild","noResults"],"mappings":";;;;;;;;;;;;;;;;AAmBA,MAAMA,MAAM,gBAAGC,cAAK,CAACC,UAAU,CAAC,SAASF,MAAMA,CAAkBG,KA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,GAAG,CAACjF,MAAM;IAAA,IAAAkF,sBAAA,EAAAC,sBAAA;IAAA,oBACfvF,6BAACiE,IAAsB;MACnB3C,GAAG,EAAElB,MAAM,CAACmB,EAAE;MACdA,EAAE,EAAEnB,MAAM,CAACmB,EAAE;MACbiE,QAAQ,EAAE,GAAAF,sBAAA,GAAClF,MAAM,CAACe,SAAS,CAACC,IAAI,cAAAkE,sBAAA,eAArBA,sBAAA,CAAuBzB,cAAc;MAChD4B,OAAO;oBACPzF,6BAACD,MAAM;MAACK,MAAM,EAAEA,MAAa;MAAEC,SAAS,GAAAkF,sBAAA,GAAEnF,MAAM,CAACe,SAAS,CAACC,IAAI,cAAAmE,sBAAA,uBAArBA,sBAAA,CAAuB1B;MAAkB,CAC9D;GAC5B,CAAC,CACmB,CACC,mBAE9B7D;IAAKS,SAAS,EAAE8C;KACXV,OAAO,CAACO,MAAM,GACTP,OAAO,CAACwC,GAAG,CAACjF,MAAM,iBAAIJ,6BAACD,MAAM;IAACK,MAAM,EAAEA,MAAa;IAAEkB,GAAG,EAAElB,MAAM,CAACmB;IAAM,CAAC,GACxEa,KAAK,CAAC2C,MAAM,CAACC,cAAc,CAACU,SAAS,CACzC,CACT,CACC,CACQ,CACZ;AAElB;;;;"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import { Tooltip } from '../../../Tooltip/Tooltip.js';
|
3
|
-
import { useLocalization } from '../../../Provider/Localization.js';
|
4
|
-
import { Shortcut } from '../../../Shortcut/Shortcut.js';
|
5
|
-
import { ModeSwitch } from '../../../ModeSwitch/ModeSwitch.js';
|
6
|
-
|
7
|
-
function EditButton(props) {
|
8
|
-
const {
|
9
|
-
texts
|
10
|
-
} = useLocalization();
|
11
|
-
const tableMeta = props.table.options.meta;
|
12
|
-
return /*#__PURE__*/React__default.createElement(Tooltip, {
|
13
|
-
title: /*#__PURE__*/React__default.createElement(React__default.Fragment, null, texts.table3.editing.buttons.edit.tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
|
14
|
-
className: "ml-2",
|
15
|
-
keys: {
|
16
|
-
key: 'e',
|
17
|
-
meta: true,
|
18
|
-
shift: false
|
19
|
-
}
|
20
|
-
}))
|
21
|
-
}, /*#__PURE__*/React__default.createElement(ModeSwitch, {
|
22
|
-
"aria-pressed": tableMeta.editing.isEditing,
|
23
|
-
checked: tableMeta.editing.isEditing,
|
24
|
-
onChange: tableMeta.editing.toggleEditing
|
25
|
-
}));
|
26
|
-
}
|
27
|
-
|
28
|
-
export { EditButton };
|
29
|
-
//# sourceMappingURL=EditButton.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"EditButton.js","sources":["../../../../../../../../../src/components/Table3/components/toolbar/EditButton.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as RTable, TableMeta } from '@tanstack/react-table';\n\nimport { ModeSwitch } from '../../../ModeSwitch/ModeSwitch';\nimport { Shortcut } from '../../../Shortcut/Shortcut';\nimport { useLocalization } from '../../../Provider/Localization';\nimport { Tooltip } from '../../../Tooltip/Tooltip';\n\ntype EditButtonProps<TType = unknown> = React.HTMLAttributes<HTMLButtonElement> & {\n table: RTable<TType>;\n};\n\nexport function EditButton<TType = unknown>(props: EditButtonProps<TType>) {\n const { texts } = useLocalization();\n const tableMeta = props.table.options.meta as TableMeta<TType>;\n\n return (\n <Tooltip\n title={\n <>\n {texts.table3.editing.buttons.edit.tooltip}\n <Shortcut className=\"ml-2\" keys={{ key: 'e', meta: true, shift: false }} />\n </>\n }>\n <ModeSwitch\n aria-pressed={tableMeta.editing.isEditing}\n checked={tableMeta.editing.isEditing}\n onChange={tableMeta.editing.toggleEditing}\n />\n </Tooltip>\n );\n}\n"],"names":["EditButton","props","texts","useLocalization","tableMeta","table","options","meta","React","Tooltip","title","table3","editing","buttons","edit","tooltip","Shortcut","className","keys","key","shift","ModeSwitch","isEditing","checked","onChange","toggleEditing"],"mappings":";;;;;;SAYgBA,UAAUA,CAAkBC,KAA6B;EACrE,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,SAAS,GAAGH,KAAK,CAACI,KAAK,CAACC,OAAO,CAACC,IAAwB;EAE9D,oBACIC,6BAACC,OAAO;IACJC,KAAK,eACDF,4DACKN,KAAK,CAACS,MAAM,CAACC,OAAO,CAACC,OAAO,CAACC,IAAI,CAACC,OAAO,eAC1CP,6BAACQ,QAAQ;MAACC,SAAS,EAAC,MAAM;MAACC,IAAI,EAAE;QAAEC,GAAG,EAAE,GAAG;QAAEZ,IAAI,EAAE,IAAI;QAAEa,KAAK,EAAE;;MAAW;kBAGnFZ,6BAACa,UAAU;oBACOjB,SAAS,CAACQ,OAAO,CAACU,SAAS;IACzCC,OAAO,EAAEnB,SAAS,CAACQ,OAAO,CAACU,SAAS;IACpCE,QAAQ,EAAEpB,SAAS,CAACQ,OAAO,CAACa;IAC9B,CACI;AAElB;;;;"}
|
package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js
DELETED
@@ -1,164 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { Icon } from '../../../../../Icon/Icon.js';
|
4
|
-
import { IconButton } from '../../../../../IconButton/IconButton.js';
|
5
|
-
import { useLocalization } from '../../../../../Provider/Localization.js';
|
6
|
-
import { Button } from '../../../../../Button/Button.js';
|
7
|
-
import { Popover } from '../../../../../Popover/Popover.js';
|
8
|
-
import { Group } from '../../../../../Group/Group.js';
|
9
|
-
import { Shortcut } from '../../../../../Shortcut/Shortcut.js';
|
10
|
-
import { useIsLargeScreen } from '../../../../../../hooks/useIsLargeScreen.js';
|
11
|
-
import { isInternalColumn } from '../../../../util/columns.js';
|
12
|
-
import { Table3FilterComparator } from '../../../../types.js';
|
13
|
-
import { Filter } from './components/Filter.js';
|
14
|
-
|
15
|
-
function sortByHeader(a, b) {
|
16
|
-
var _a$columnDef$meta, _a$columnDef$meta$hea, _a$columnDef$meta$hea2, _b$columnDef$meta;
|
17
|
-
return (_a$columnDef$meta = a.columnDef.meta) === null || _a$columnDef$meta === void 0 ? void 0 : (_a$columnDef$meta$hea = _a$columnDef$meta.header) === null || _a$columnDef$meta$hea === void 0 ? void 0 : (_a$columnDef$meta$hea2 = _a$columnDef$meta$hea.localeCompare) === null || _a$columnDef$meta$hea2 === void 0 ? void 0 : _a$columnDef$meta$hea2.call(_a$columnDef$meta$hea, (_b$columnDef$meta = b.columnDef.meta) === null || _b$columnDef$meta === void 0 ? void 0 : _b$columnDef$meta.header);
|
18
|
-
}
|
19
|
-
const placeholderFilter = {
|
20
|
-
id: null,
|
21
|
-
value: {
|
22
|
-
comparator: Table3FilterComparator.Contains,
|
23
|
-
value: undefined
|
24
|
-
}
|
25
|
-
};
|
26
|
-
function FiltersButton(props) {
|
27
|
-
const {
|
28
|
-
total,
|
29
|
-
table
|
30
|
-
} = props;
|
31
|
-
const {
|
32
|
-
locale,
|
33
|
-
texts
|
34
|
-
} = useLocalization();
|
35
|
-
const ref = React__default.useRef(null);
|
36
|
-
const isLargeScreen = useIsLargeScreen();
|
37
|
-
const allColumns = table.getAllLeafColumns().filter(column => !isInternalColumn(column.id)).sort(sortByHeader);
|
38
|
-
const appliedFilters = table.getState().columnFilters;
|
39
|
-
const shortcut = {
|
40
|
-
key: 'f',
|
41
|
-
meta: true,
|
42
|
-
shift: true
|
43
|
-
};
|
44
|
-
// state, since we "apply" filters
|
45
|
-
const [filters, setFilters] = React__default.useState(appliedFilters.length ? appliedFilters : [placeholderFilter]);
|
46
|
-
// filters
|
47
|
-
const handleChangeFilter = (position, filter) => {
|
48
|
-
setFilters(currentFilters => {
|
49
|
-
return currentFilters.map((current, index) => {
|
50
|
-
if (index === position) {
|
51
|
-
return filter;
|
52
|
-
}
|
53
|
-
return current;
|
54
|
-
});
|
55
|
-
});
|
56
|
-
};
|
57
|
-
const handleRemoveFilter = position => {
|
58
|
-
if (filters.length === 1) {
|
59
|
-
setFilters([placeholderFilter]);
|
60
|
-
return;
|
61
|
-
}
|
62
|
-
setFilters(currentFilters => currentFilters.filter((_, index) => index !== position));
|
63
|
-
};
|
64
|
-
const handleCreateNew = () => {
|
65
|
-
setFilters(filters.concat(placeholderFilter));
|
66
|
-
};
|
67
|
-
const handleApply = () => {
|
68
|
-
table.setColumnFilters(() => {
|
69
|
-
const newFilters = filters.filter(f => {
|
70
|
-
var _allColumns$find, _allColumns$find$colu;
|
71
|
-
if (f.id === null) {
|
72
|
-
return false;
|
73
|
-
}
|
74
|
-
const controlRenderer = (_allColumns$find = allColumns.find(c => c.id === f.id)) === null || _allColumns$find === void 0 ? void 0 : (_allColumns$find$colu = _allColumns$find.columnDef.meta) === null || _allColumns$find$colu === void 0 ? void 0 : _allColumns$find$colu.control;
|
75
|
-
if (f.value.comparator === Table3FilterComparator.IsEmpty || f.value.comparator === Table3FilterComparator.IsNotEmpty || controlRenderer === 'switch') {
|
76
|
-
return true;
|
77
|
-
}
|
78
|
-
return !!f.value.value;
|
79
|
-
});
|
80
|
-
// Compiler didn't get that we stripped out filters with null ids, so we still need to cast a ColumnFilter type here
|
81
|
-
return newFilters;
|
82
|
-
});
|
83
|
-
};
|
84
|
-
const handleClear = () => {
|
85
|
-
table.resetColumnFilters();
|
86
|
-
setFilters([placeholderFilter]);
|
87
|
-
};
|
88
|
-
const handleClose = React__default.useCallback(open => {
|
89
|
-
if (!open) {
|
90
|
-
setFilters(appliedFilters.length === 0 ? [placeholderFilter] : appliedFilters);
|
91
|
-
}
|
92
|
-
}, [appliedFilters]);
|
93
|
-
// Because filters can be reset from outside
|
94
|
-
React__default.useEffect(() => {
|
95
|
-
if (appliedFilters.length === 0) {
|
96
|
-
setFilters([placeholderFilter]);
|
97
|
-
}
|
98
|
-
}, [appliedFilters]);
|
99
|
-
const buttonProps = {
|
100
|
-
'aria-label': texts.table3.filters.tooltip,
|
101
|
-
className: cn({
|
102
|
-
'!wcag-blue-100': appliedFilters.length
|
103
|
-
}),
|
104
|
-
shortcut,
|
105
|
-
popover: popoverProps => ( /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
|
106
|
-
onChange: handleClose
|
107
|
-
}), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement("div", {
|
108
|
-
className: "flex w-[40rem] flex-col gap-4"
|
109
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
110
|
-
className: "flex h-8"
|
111
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
112
|
-
className: "flex w-full items-center gap-2"
|
113
|
-
}, /*#__PURE__*/React__default.createElement("h4", {
|
114
|
-
className: "mb-0 inline-flex"
|
115
|
-
}, texts.table3.filters.button), /*#__PURE__*/React__default.createElement("p", {
|
116
|
-
className: "text-grey-700 mb-0 mr-auto mt-px inline-flex"
|
117
|
-
}, texts.table3.filters.total.replace('[CURRENT]', new Intl.NumberFormat(locale).format(table.getFilteredRowModel().rows.length)).replace('[TOTAL]', new Intl.NumberFormat(locale).format(total))))), /*#__PURE__*/React__default.createElement("div", {
|
118
|
-
className: "flex flex-col gap-2"
|
119
|
-
}, filters.map((filter, index) => ( /*#__PURE__*/React__default.createElement(Filter, {
|
120
|
-
key: `filter_${index}`,
|
121
|
-
allColumns: allColumns,
|
122
|
-
filter: filter,
|
123
|
-
filters: filters,
|
124
|
-
position: index,
|
125
|
-
onChange: handleChangeFilter,
|
126
|
-
onRemove: filters.length > 0 && filters.some(f => f.id) || filters.length > 1 ? handleRemoveFilter : undefined
|
127
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
128
|
-
className: "justify-start"
|
129
|
-
}, /*#__PURE__*/React__default.createElement(Button, {
|
130
|
-
appearance: "discrete",
|
131
|
-
onClick: handleCreateNew
|
132
|
-
}, "+ ", texts.table3.filters.buttons.addFilter))), /*#__PURE__*/React__default.createElement(Group, {
|
133
|
-
className: "ml-auto"
|
134
|
-
}, /*#__PURE__*/React__default.createElement(Popover.Close, null, /*#__PURE__*/React__default.createElement(Button, null, "Cancel")), /*#__PURE__*/React__default.createElement(Button, {
|
135
|
-
onClick: handleClear
|
136
|
-
}, "Clear"), /*#__PURE__*/React__default.createElement(Button, {
|
137
|
-
appearance: "primary",
|
138
|
-
onClick: handleApply
|
139
|
-
}, "Apply")))))),
|
140
|
-
ref,
|
141
|
-
tooltip: ( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, texts.table3.filters.tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
|
142
|
-
className: "ml-2",
|
143
|
-
keys: {
|
144
|
-
key: 'f',
|
145
|
-
meta: true,
|
146
|
-
shift: true
|
147
|
-
}
|
148
|
-
})))
|
149
|
-
};
|
150
|
-
if (!isLargeScreen && !appliedFilters.length) {
|
151
|
-
return /*#__PURE__*/React__default.createElement(IconButton, Object.assign({}, buttonProps, {
|
152
|
-
icon: "filter"
|
153
|
-
}));
|
154
|
-
}
|
155
|
-
return /*#__PURE__*/React__default.createElement(Button, Object.assign({}, buttonProps), /*#__PURE__*/React__default.createElement(Icon, {
|
156
|
-
className: cn({
|
157
|
-
'-mr-1.5': !isLargeScreen
|
158
|
-
}),
|
159
|
-
name: appliedFilters.length ? 'filter-solid' : 'filter'
|
160
|
-
}), isLargeScreen ? texts.table3.filters.button : '', appliedFilters.length ? `(${appliedFilters.length})` : '');
|
161
|
-
}
|
162
|
-
|
163
|
-
export { FiltersButton };
|
164
|
-
//# sourceMappingURL=Filters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Filters.js","sources":["../../../../../../../../../../../src/components/Table3/components/toolbar/Filter/filters/Filters.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Table as RTable, Column as RTColumn } from '@tanstack/react-table';\nimport { Button } from '../../../../../Button/Button';\nimport { Icon } from '../../../../../Icon/Icon';\nimport { Popover } from '../../../../../Popover/Popover';\nimport { Table3FilterValue, Table3FilterComparator, Table3Filter, ColumnFilter } from '../../../../types';\nimport { Shortcut } from '../../../../../Shortcut/Shortcut';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { isInternalColumn } from '../../../../util/columns';\nimport { Filter } from './components/Filter';\nimport { Group } from '../../../../../Group/Group';\nimport { useIsLargeScreen } from '../../../../../../hooks/useIsLargeScreen';\nimport { IconButton } from '../../../../../IconButton/IconButton';\n\nfunction sortByHeader<TType = unknown>(a: RTColumn<TType>, b: RTColumn<TType>) {\n return (a.columnDef.meta?.header as string)?.localeCompare?.(b.columnDef.meta?.header as string);\n}\n\nexport type FiltersProps<TType = unknown> = {\n total: number;\n table: RTable<TType>;\n};\n\nconst placeholderFilter: Table3Filter = { id: null, value: { comparator: Table3FilterComparator.Contains, value: undefined } };\n\nexport function FiltersButton<TType = unknown>(props: FiltersProps<TType>) {\n const { total, table } = props;\n const { locale, texts } = useLocalization();\n const ref = React.useRef<HTMLButtonElement>(null);\n const isLargeScreen = useIsLargeScreen();\n const allColumns = table\n .getAllLeafColumns()\n .filter(column => !isInternalColumn(column.id))\n .sort(sortByHeader);\n\n const appliedFilters = table.getState().columnFilters as Table3Filter[];\n const shortcut = { key: 'f', meta: true, shift: true };\n\n // state, since we \"apply\" filters\n const [filters, setFilters] = React.useState<Table3Filter[]>(appliedFilters.length ? appliedFilters : [placeholderFilter]);\n\n // filters\n const handleChangeFilter = (position: number, filter: { id: string | null; value: Table3FilterValue }) => {\n setFilters(currentFilters => {\n return currentFilters.map((current, index) => {\n if (index === position) {\n return filter;\n }\n return current;\n });\n });\n };\n\n const handleRemoveFilter = position => {\n if (filters.length === 1) {\n setFilters([placeholderFilter]);\n return;\n }\n\n setFilters(currentFilters => currentFilters.filter((_, index) => index !== position));\n };\n\n const handleCreateNew = () => {\n setFilters(filters.concat(placeholderFilter));\n };\n\n const handleApply = () => {\n table.setColumnFilters(() => {\n const newFilters = filters.filter(f => {\n if (f.id === null) {\n return false;\n }\n\n const controlRenderer = (allColumns.find(c => c.id === f.id) as RTColumn<TType, unknown>)?.columnDef.meta\n ?.control;\n if (\n f.value.comparator === Table3FilterComparator.IsEmpty ||\n f.value.comparator === Table3FilterComparator.IsNotEmpty ||\n controlRenderer === 'switch'\n ) {\n return true;\n }\n return !!f.value.value;\n });\n // Compiler didn't get that we stripped out filters with null ids, so we still need to cast a ColumnFilter type here\n return newFilters as ColumnFilter[];\n });\n };\n\n const handleClear = () => {\n table.resetColumnFilters();\n setFilters([placeholderFilter]);\n };\n\n const handleClose = React.useCallback(\n (open: boolean) => {\n if (!open) {\n setFilters(appliedFilters.length === 0 ? [placeholderFilter] : appliedFilters);\n }\n },\n [appliedFilters]\n );\n\n // Because filters can be reset from outside\n React.useEffect(() => {\n if (appliedFilters.length === 0) {\n setFilters([placeholderFilter]);\n }\n }, [appliedFilters]);\n\n const buttonProps = {\n 'aria-label': texts.table3.filters.tooltip,\n className: cn({ '!wcag-blue-100': appliedFilters.length }),\n shortcut,\n popover: popoverProps => (\n <Popover {...popoverProps} onChange={handleClose}>\n <Popover.Content>\n <div className=\"flex w-[40rem] flex-col gap-4\">\n <div className=\"flex h-8\">\n <div className=\"flex w-full items-center gap-2\">\n <h4 className=\"mb-0 inline-flex\">{texts.table3.filters.button}</h4>\n <p className=\"text-grey-700 mb-0 mr-auto mt-px inline-flex\">\n {texts.table3.filters.total\n .replace(\n '[CURRENT]',\n new Intl.NumberFormat(locale).format(table.getFilteredRowModel().rows.length)\n )\n .replace('[TOTAL]', new Intl.NumberFormat(locale).format(total))}\n </p>\n </div>\n </div>\n <div className=\"flex flex-col gap-2\">\n {filters.map((filter, index) => (\n <Filter\n key={`filter_${index}`}\n allColumns={allColumns}\n filter={filter}\n filters={filters}\n position={index}\n onChange={handleChangeFilter}\n onRemove={\n (filters.length > 0 && filters.some(f => f.id)) || filters.length > 1\n ? handleRemoveFilter\n : undefined\n }\n />\n ))}\n <div className=\"justify-start\">\n <Button appearance=\"discrete\" onClick={handleCreateNew}>\n + {texts.table3.filters.buttons.addFilter}\n </Button>\n </div>\n </div>\n <Group className=\"ml-auto\">\n <Popover.Close>\n <Button>Cancel</Button>\n </Popover.Close>\n <Button onClick={handleClear}>Clear</Button>\n <Button appearance=\"primary\" onClick={handleApply}>\n Apply\n </Button>\n </Group>\n </div>\n </Popover.Content>\n </Popover>\n ),\n ref,\n tooltip: (\n <>\n {texts.table3.filters.tooltip}\n <Shortcut className=\"ml-2\" keys={{ key: 'f', meta: true, shift: true }} />\n </>\n ),\n };\n\n if (!isLargeScreen && !appliedFilters.length) {\n return <IconButton {...buttonProps} icon=\"filter\" />;\n }\n return (\n <Button {...buttonProps}>\n <Icon className={cn({ '-mr-1.5': !isLargeScreen })} name={appliedFilters.length ? 'filter-solid' : 'filter'} />\n {isLargeScreen ? texts.table3.filters.button : ''}\n {appliedFilters.length ? `(${appliedFilters.length})` : ''}\n </Button>\n );\n}\n"],"names":["sortByHeader","a","b","_a$columnDef$meta","columnDef","meta","_a$columnDef$meta$hea","header","_a$columnDef$meta$hea2","localeCompare","call","_b$columnDef$meta","placeholderFilter","id","value","comparator","Table3FilterComparator","Contains","undefined","FiltersButton","props","total","table","locale","texts","useLocalization","ref","React","useRef","isLargeScreen","useIsLargeScreen","allColumns","getAllLeafColumns","filter","column","isInternalColumn","sort","appliedFilters","getState","columnFilters","shortcut","key","shift","filters","setFilters","useState","length","handleChangeFilter","position","currentFilters","map","current","index","handleRemoveFilter","_","handleCreateNew","concat","handleApply","setColumnFilters","newFilters","f","controlRenderer","_allColumns$find","find","c","_allColumns$find$colu","control","IsEmpty","IsNotEmpty","handleClear","resetColumnFilters","handleClose","useCallback","open","useEffect","buttonProps","table3","tooltip","className","cn","popover","popoverProps","Popover","onChange","Content","button","replace","Intl","NumberFormat","format","getFilteredRowModel","rows","Filter","onRemove","some","Button","appearance","onClick","buttons","addFilter","Group","Close","Shortcut","keys","IconButton","icon","Icon","name"],"mappings":";;;;;;;;;;;;;;AAeA,SAASA,YAAYA,CAAkBC,CAAkB,EAAEC,CAAkB;;EACzE,QAAAC,iBAAA,GAAQF,CAAC,CAACG,SAAS,CAACC,IAAI,cAAAF,iBAAA,wBAAAG,qBAAA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AC7BlD,6BAAC2E,QAAQ;MAACxB,SAAS,EAAC,MAAM;MAACyB,IAAI,EAAE;QAAE9D,GAAG,EAAE,GAAG;QAAEpC,IAAI,EAAE,IAAI;QAAEqC,KAAK,EAAE;;MAAU,CAC3E;GAEV;EAED,IAAI,CAACb,aAAa,IAAI,CAACQ,cAAc,CAACS,MAAM,EAAE;IAC1C,oBAAOnB,6BAAC6E,UAAU,oBAAK7B,WAAW;MAAE8B,IAAI,EAAC;OAAW;;EAExD,oBACI9E,6BAACoE,MAAM,oBAAKpB,WAAW,gBACnBhD,6BAAC+E,IAAI;IAAC5B,SAAS,EAAEC,EAAE,CAAC;MAAE,SAAS,EAAE,CAAClD;KAAe,CAAC;IAAE8E,IAAI,EAAEtE,cAAc,CAACS,MAAM,GAAG,cAAc,GAAG;IAAY,EAC9GjB,aAAa,GAAGL,KAAK,CAACoD,MAAM,CAACjC,OAAO,CAAC0C,MAAM,GAAG,EAAE,EAChDhD,cAAc,CAACS,MAAM,OAAOT,cAAc,CAACS,SAAS,GAAG,EAAE,CACrD;AAEjB;;;;"}
|
@@ -1,102 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import { IconButton } from '../../../../../../IconButton/IconButton.js';
|
3
|
-
import { useLocalization } from '../../../../../../Provider/Localization.js';
|
4
|
-
import { Table3FilterComparator } from '../../../../../types.js';
|
5
|
-
import { FilterColumn } from './FilterColumn.js';
|
6
|
-
import { FilterComparator } from './FilterComparator.js';
|
7
|
-
import { FilterValue } from './FilterValue.js';
|
8
|
-
|
9
|
-
function Filter(props) {
|
10
|
-
const {
|
11
|
-
allColumns,
|
12
|
-
filter,
|
13
|
-
filters,
|
14
|
-
onChange: handleChange,
|
15
|
-
onRemove,
|
16
|
-
position
|
17
|
-
} = props;
|
18
|
-
const {
|
19
|
-
texts
|
20
|
-
} = useLocalization();
|
21
|
-
const column = allColumns.find(c => c.id === filter.id);
|
22
|
-
const ref = React__default.useRef(null);
|
23
|
-
const {
|
24
|
-
id,
|
25
|
-
value: {
|
26
|
-
comparator,
|
27
|
-
value
|
28
|
-
}
|
29
|
-
} = filter;
|
30
|
-
const handleChangeColumn = columnId => {
|
31
|
-
var _columnPrev$columnDef, _columnNext$columnDef;
|
32
|
-
const columnPrev = allColumns.find(column => column.id === id);
|
33
|
-
const columnNext = allColumns.find(column => column.id === columnId);
|
34
|
-
// UX requirement: if old column data type is the same as next column data type,
|
35
|
-
// then we applying the same filter value for the next column,
|
36
|
-
// but when data types are different, we're reseting comparator ans value for the next column
|
37
|
-
const value = (columnPrev === null || columnPrev === void 0 ? void 0 : (_columnPrev$columnDef = columnPrev.columnDef.meta) === null || _columnPrev$columnDef === void 0 ? void 0 : _columnPrev$columnDef.dataType) === (columnNext === null || columnNext === void 0 ? void 0 : (_columnNext$columnDef = columnNext.columnDef.meta) === null || _columnNext$columnDef === void 0 ? void 0 : _columnNext$columnDef.dataType) ? filter.value : {
|
38
|
-
comparator: null,
|
39
|
-
value: null
|
40
|
-
};
|
41
|
-
handleChange(position, {
|
42
|
-
id: columnId,
|
43
|
-
value
|
44
|
-
});
|
45
|
-
};
|
46
|
-
const handleChangeComparator = comparator => {
|
47
|
-
let nextValue = filter.value.value;
|
48
|
-
if (comparator === Table3FilterComparator.IsEmpty || comparator === Table3FilterComparator.IsNotEmpty) {
|
49
|
-
nextValue = undefined;
|
50
|
-
}
|
51
|
-
handleChange(position, {
|
52
|
-
id,
|
53
|
-
value: {
|
54
|
-
comparator,
|
55
|
-
value: nextValue
|
56
|
-
}
|
57
|
-
});
|
58
|
-
};
|
59
|
-
const handleChangeValue = value => {
|
60
|
-
handleChange(position, {
|
61
|
-
id,
|
62
|
-
value: {
|
63
|
-
...filter.value,
|
64
|
-
value
|
65
|
-
}
|
66
|
-
});
|
67
|
-
};
|
68
|
-
const handleRemove = () => onRemove === null || onRemove === void 0 ? void 0 : onRemove(position);
|
69
|
-
React__default.useEffect(() => {
|
70
|
-
if (ref.current && !id) {
|
71
|
-
ref.current.focus(); // after adding a new filter placeholder, we want to focus it right way.
|
72
|
-
}
|
73
|
-
}, [id]);
|
74
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
75
|
-
className: "flex items-start gap-2"
|
76
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
77
|
-
className: "flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"
|
78
|
-
}, position > 0 ? texts.table3.filters.conditions.and : texts.table3.filters.conditions.where), /*#__PURE__*/React__default.createElement(FilterColumn, {
|
79
|
-
allColumns: allColumns,
|
80
|
-
filters: filters,
|
81
|
-
onChange: handleChangeColumn,
|
82
|
-
value: id,
|
83
|
-
ref: ref
|
84
|
-
}), /*#__PURE__*/React__default.createElement(FilterComparator, {
|
85
|
-
column: column,
|
86
|
-
onChange: handleChangeComparator,
|
87
|
-
value: comparator
|
88
|
-
}), /*#__PURE__*/React__default.createElement(FilterValue, {
|
89
|
-
column: column,
|
90
|
-
comparator: comparator,
|
91
|
-
onChange: handleChangeValue,
|
92
|
-
value: value
|
93
|
-
}), onRemove ? /*#__PURE__*/React__default.createElement(IconButton, {
|
94
|
-
appearance: "discrete",
|
95
|
-
className: "ml-auto",
|
96
|
-
icon: "close",
|
97
|
-
onClick: handleRemove
|
98
|
-
}) : null);
|
99
|
-
}
|
100
|
-
|
101
|
-
export { Filter };
|
102
|
-
//# sourceMappingURL=Filter.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Filter.js","sources":["../../../../../../../../../../../../src/components/Table3/components/toolbar/Filter/filters/components/Filter.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as RTColumn } from '@tanstack/react-table';\nimport { IconButton } from '../../../../../../IconButton/IconButton';\nimport { Table3Filter, Table3FilterComparator } from '../../../../../types';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { FilterColumn } from './FilterColumn';\nimport { FilterComparator } from './FilterComparator';\nimport { FilterValue } from './FilterValue';\n\nexport type FilterProps<TType = unknown> = {\n allColumns: RTColumn<TType, unknown>[];\n filter: Table3Filter;\n filters: Table3Filter[];\n position: number;\n onChange: (position: number, value: Table3Filter) => void;\n onRemove?: (position: number) => void;\n};\n\nexport function Filter<TType = unknown>(props: FilterProps<TType>) {\n const { allColumns, filter, filters, onChange: handleChange, onRemove, position } = props;\n const { texts } = useLocalization();\n const column = allColumns.find(c => c.id === filter.id) as RTColumn<TType, unknown>;\n const ref = React.useRef<HTMLButtonElement>(null);\n\n const {\n id,\n value: { comparator, value },\n } = filter;\n\n const handleChangeColumn = (columnId: string | null) => {\n const columnPrev = allColumns.find(column => column.id === id);\n const columnNext = allColumns.find(column => column.id === columnId);\n // UX requirement: if old column data type is the same as next column data type,\n // then we applying the same filter value for the next column,\n // but when data types are different, we're reseting comparator ans value for the next column\n const value =\n columnPrev?.columnDef.meta?.dataType === columnNext?.columnDef.meta?.dataType\n ? filter.value\n : { comparator: null, value: null };\n\n handleChange(position, { id: columnId, value });\n };\n\n const handleChangeComparator = (comparator: Table3FilterComparator) => {\n let nextValue = filter.value.value;\n\n if (comparator === Table3FilterComparator.IsEmpty || comparator === Table3FilterComparator.IsNotEmpty) {\n nextValue = undefined;\n }\n handleChange(position, { id, value: { comparator, value: nextValue } });\n };\n\n const handleChangeValue = (value: any) => {\n handleChange(position, { id, value: { ...filter.value, value } });\n };\n\n const handleRemove = () => onRemove?.(position);\n\n React.useEffect(() => {\n if (ref.current && !id) {\n ref.current.focus(); // after adding a new filter placeholder, we want to focus it right way.\n }\n }, [id]);\n\n return (\n <div className=\"flex items-start gap-2\">\n <div className=\"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right\">\n {position > 0 ? texts.table3.filters.conditions.and : texts.table3.filters.conditions.where}\n </div>\n <FilterColumn\n allColumns={allColumns as any}\n filters={filters}\n onChange={handleChangeColumn as any}\n value={id}\n ref={ref}\n />\n <FilterComparator column={column} onChange={handleChangeComparator as any} value={comparator} />\n <FilterValue column={column} comparator={comparator} onChange={handleChangeValue} value={value} />\n {onRemove ? <IconButton appearance=\"discrete\" className=\"ml-auto\" icon=\"close\" onClick={handleRemove} /> : null}\n </div>\n );\n}\n"],"names":["Filter","props","allColumns","filter","filters","onChange","handleChange","onRemove","position","texts","useLocalization","column","find","c","id","ref","React","useRef","value","comparator","handleChangeColumn","columnId","columnPrev","columnNext","_columnPrev$columnDef","columnDef","meta","dataType","_columnNext$columnDef","handleChangeComparator","nextValue","Table3FilterComparator","IsEmpty","IsNotEmpty","undefined","handleChangeValue","handleRemove","useEffect","current","focus","className","table3","conditions","and","where","FilterColumn","FilterComparator","FilterValue","IconButton","appearance","icon","onClick"],"mappings":";;;;;;;;SAkBgBA,MAAMA,CAAkBC,KAAyB;EAC7D,MAAM;IAAEC,UAAU;IAAEC,MAAM;IAAEC,OAAO;IAAEC,QAAQ,EAAEC,YAAY;IAAEC,QAAQ;IAAEC;GAAU,GAAGP,KAAK;EACzF,MAAM;IAAEQ;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,MAAM,GAAGT,UAAU,CAACU,IAAI,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,KAAKX,MAAM,CAACW,EAAE,CAA6B;EACnF,MAAMC,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EAEjD,MAAM;IACFH,EAAE;IACFI,KAAK,EAAE;MAAEC,UAAU;MAAED;;GACxB,GAAGf,MAAM;EAEV,MAAMiB,kBAAkB,GAAIC,QAAuB;;IAC/C,MAAMC,UAAU,GAAGpB,UAAU,CAACU,IAAI,CAACD,MAAM,IAAIA,MAAM,CAACG,EAAE,KAAKA,EAAE,CAAC;IAC9D,MAAMS,UAAU,GAAGrB,UAAU,CAACU,IAAI,CAACD,MAAM,IAAIA,MAAM,CAACG,EAAE,KAAKO,QAAQ,CAAC;;;;IAIpE,MAAMH,KAAK,GACP,CAAAI,UAAU,aAAVA,UAAU,wBAAAE,qBAAA,GAAVF,UAAU,CAAEG,SAAS,CAACC,IAAI,cAAA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O,CAACsC,UAAU,CAACC,GAAG,GAAGlC,KAAK,CAACgC,MAAM,CAACrC,OAAO,CAACsC,UAAU,CAACE,KAAK,CACzF,eACN5B,6BAAC6B,YAAY;IACT3C,UAAU,EAAEA,UAAiB;IAC7BE,OAAO,EAAEA,OAAO;IAChBC,QAAQ,EAAEe,kBAAyB;IACnCF,KAAK,EAAEJ,EAAE;IACTC,GAAG,EAAEA;IACP,eACFC,6BAAC8B,gBAAgB;IAACnC,MAAM,EAAEA,MAAM;IAAEN,QAAQ,EAAEwB,sBAA6B;IAAEX,KAAK,EAAEC;IAAc,eAChGH,6BAAC+B,WAAW;IAACpC,MAAM,EAAEA,MAAM;IAAEQ,UAAU,EAAEA,UAAU;IAAEd,QAAQ,EAAE8B,iBAAiB;IAAEjB,KAAK,EAAEA;IAAS,EACjGX,QAAQ,gBAAGS,6BAACgC,UAAU;IAACC,UAAU,EAAC,UAAU;IAACT,SAAS,EAAC,SAAS;IAACU,IAAI,EAAC,OAAO;IAACC,OAAO,EAAEf;IAAgB,GAAG,IAAI,CAC7G;AAEd;;;;"}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import { Icon } from '../../../../../../Icon/Icon.js';
|
3
|
-
import { Tooltip } from '../../../../../../Tooltip/Tooltip.js';
|
4
|
-
import { useLocalization } from '../../../../../../Provider/Localization.js';
|
5
|
-
import { Field } from '../../../../../../Field/Field.js';
|
6
|
-
import { Select2 } from '../../../../../../Select2/Select2.js';
|
7
|
-
|
8
|
-
const FilterColumn = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
9
|
-
const {
|
10
|
-
allColumns,
|
11
|
-
filters,
|
12
|
-
onChange: handleChange,
|
13
|
-
value = null,
|
14
|
-
...attributes
|
15
|
-
} = props;
|
16
|
-
const {
|
17
|
-
texts
|
18
|
-
} = useLocalization();
|
19
|
-
const selectedColumn = allColumns.find(column => column.id === value);
|
20
|
-
const warning = selectedColumn && !selectedColumn.getIsVisible();
|
21
|
-
return /*#__PURE__*/React__default.createElement("div", {
|
22
|
-
className: "flex flex-col"
|
23
|
-
}, /*#__PURE__*/React__default.createElement(Field, {
|
24
|
-
message: warning ? texts.table3.filters.hiddenColumn : undefined,
|
25
|
-
warning: warning,
|
26
|
-
className: "min-h-[theme(spacing.8)]"
|
27
|
-
}, /*#__PURE__*/React__default.createElement(Select2, Object.assign({}, attributes, {
|
28
|
-
ref: ref,
|
29
|
-
className: "focus:yt-focus !w-32 flex-shrink-0",
|
30
|
-
emptyValue: null,
|
31
|
-
onChange: handleChange,
|
32
|
-
value: value
|
33
|
-
}), allColumns.map(column => {
|
34
|
-
var _column$columnDef$met, _column$parent, _column$parent$column;
|
35
|
-
return /*#__PURE__*/React__default.createElement(Select2.Option, {
|
36
|
-
key: column.id,
|
37
|
-
value: column.id,
|
38
|
-
postfix: !column.getIsVisible() ? ( /*#__PURE__*/React__default.createElement(Tooltip, {
|
39
|
-
title: texts.table3.filters.hiddenColumn
|
40
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
41
|
-
name: "eye-off",
|
42
|
-
className: "text-grey-500 !h-5 !w-5"
|
43
|
-
}))) : undefined,
|
44
|
-
disabled: column.id !== value && (!column.getCanFilter() || !!filters.find(f => f.id === column.id))
|
45
|
-
}, ((_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header) + (column.parent ? ` (${(_column$parent = column.parent) === null || _column$parent === void 0 ? void 0 : (_column$parent$column = _column$parent.columnDef.meta) === null || _column$parent$column === void 0 ? void 0 : _column$parent$column.header})` : ''));
|
46
|
-
}))));
|
47
|
-
});
|
48
|
-
|
49
|
-
export { FilterColumn };
|
50
|
-
//# sourceMappingURL=FilterColumn.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"FilterColumn.js","sources":["../../../../../../../../../../../../src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as RTColumn } from '@tanstack/react-table';\nimport { Select2, Select2Props } from '../../../../../../Select2/Select2';\nimport { Icon } from '../../../../../../Icon/Icon';\nimport { Tooltip } from '../../../../../../Tooltip/Tooltip';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { Field } from '../../../../../../Field/Field';\nimport { Table3Filter } from '../../../../../types';\n\nexport type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'children'> & {\n allColumns: RTColumn<TType, unknown>[];\n filters: Table3Filter[];\n};\n\nexport const FilterColumn = React.forwardRef<HTMLButtonElement, FilterColumnProps>((props, ref) => {\n const { allColumns, filters, onChange: handleChange, value = null, ...attributes } = props;\n const { texts } = useLocalization();\n const selectedColumn = allColumns.find(column => column.id === value);\n const warning = selectedColumn && !selectedColumn.getIsVisible();\n\n return (\n <div className=\"flex flex-col\">\n <Field\n message={warning ? texts.table3.filters.hiddenColumn : undefined}\n warning={warning}\n className=\"min-h-[theme(spacing.8)]\">\n <Select2\n {...attributes}\n ref={ref}\n className=\"focus:yt-focus !w-32 flex-shrink-0\"\n emptyValue={null}\n onChange={handleChange}\n value={value}>\n {allColumns.map(column => (\n <Select2.Option\n key={column.id}\n value={column.id}\n postfix={\n !column.getIsVisible() ? (\n <Tooltip title={texts.table3.filters.hiddenColumn}>\n <Icon name=\"eye-off\" className=\"text-grey-500 !h-5 !w-5\" />\n </Tooltip>\n ) : undefined\n }\n disabled={column.id !== value && (!column.getCanFilter() || !!filters.find(f => f.id === column.id))}>\n {(column.columnDef.meta?.header as string) +\n (column.parent ? ` (${column.parent?.columnDef.meta?.header})` : '')}\n </Select2.Option>\n ))}\n </Select2>\n </Field>\n </div>\n );\n});\n"],"names":["FilterColumn","React","forwardRef","props","ref","allColumns","filters","onChange","handleChange","value","attributes","texts","useLocalization","selectedColumn","find","column","id","warning","getIsVisible","className","Field","message","table3","hiddenColumn","undefined","Select2","emptyValue","map","_column$columnDef$met","_column$parent","_column$parent$column","Option","key","postfix","Tooltip","title","Icon","name","disabled","getCanFilter","f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