@economic/taco 2.24.0 → 2.25.1-alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm/index.css +208 -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 +11 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +48 -43
- 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 +3 -3
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +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/Table/hooks/useRowCreation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +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/primitives/Table/Core/components/Body/Body.js +72 -0
- 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/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +25 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +60 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +74 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +101 -0
- 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/primitives/Table/Core/components/Columns/Internal/Expansion.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +167 -0
- 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/primitives/Table/Core/components/Footer/Summary.js +39 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +216 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +28 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +158 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +60 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +41 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +24 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +120 -0
- 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/primitives/Table/Core/components/Row/Row.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +9 -0
- 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 +53 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +62 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +129 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +102 -0
- 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/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
- 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/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +110 -0
- 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/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +128 -0
- 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 +10 -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/primitives/Table/Core/components/Toolbar/components/Print/Print.js +125 -0
- 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/primitives/Table/Core/components/Toolbar/components/Search/Search.js +96 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +119 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +103 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js +77 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js +44 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js +58 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +30 -0
- 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/primitives/Table/Core/features/useTableRenderer.js +164 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +24 -0
- 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/useTableColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +80 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/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/features/useTableRowExpansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +24 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +126 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +137 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +20 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +273 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +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 +208 -515
- package/dist/packages/taco/src/components/Provider/Localization.d.ts +398 -0
- 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/packages/taco/src/components/Select2/Select2.d.ts +68 -0
- package/dist/packages/taco/src/components/Table/Table.d.ts +14 -0
- package/dist/packages/taco/src/components/Table/components/BaseTable.d.ts +8 -0
- package/dist/packages/taco/src/components/Table/hooks/useRowCreation.d.ts +11 -0
- package/dist/packages/taco/src/components/Table/hooks/useTable.d.ts +38 -0
- package/dist/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.d.ts +3 -0
- package/dist/packages/taco/src/components/Table/types.d.ts +284 -0
- package/dist/packages/taco/src/components/Table/util/sortTypes.d.ts +4 -0
- package/dist/packages/taco/src/components/Table/util.d.ts +12 -0
- package/dist/packages/taco/src/components/Table3/Table3.d.ts +20 -0
- package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +23 -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 +54 -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/packages/taco/src/index.d.ts +74 -0
- package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +19 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Body/Body.d.ts +8 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +7 -0
- 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/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +10 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.d.ts +19 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +13 -0
- 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/packages/taco/src/primitives/Table/Core/components/Header/Header.d.ts +45 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.d.ts +6 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.d.ts +21 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.d.ts +12 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +15 -0
- 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/packages/taco/src/primitives/Table/Core/components/Row/RowContext.d.ts +7 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +4 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +9 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +8 -0
- package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +2 -0
- package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts +3 -0
- package/dist/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +4 -0
- package/dist/packages/taco/src/primitives/Table/Core/features/useTableRenderer.d.ts +10 -0
- 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/packages/taco/src/primitives/Table/types.d.ts +379 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.d.ts +13 -0
- 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/packages/taco/src/primitives/Table/useTableManager/types.d.ts +14 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/useTableManager.d.ts +65 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/util/presets.d.ts +2 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/util/settings.d.ts +12 -0
- package/dist/packages/taco/src/primitives/Table/useTableManager/util/setup.d.ts +15 -0
- package/dist/packages/taco/src/utils/dom.d.ts +8 -0
- package/dist/taco.cjs.development.js +7011 -11581
- 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 +22467 -51449
- package/dist/components/Provider/Localization.d.ts +0 -390
- package/dist/components/Report/Report.d.ts +0 -23
- package/dist/components/Report/components/Body/Body.d.ts +0 -8
- package/dist/components/Report/components/Body/EmptyStateBody.d.ts +0 -7
- package/dist/components/Report/components/Cell/Cell.d.ts +0 -8
- 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/Cell/util.d.ts +0 -18
- package/dist/components/Report/components/Header/Header.d.ts +0 -37
- package/dist/components/Report/components/Header/components/Goto.d.ts +0 -6
- package/dist/components/Report/components/Header/components/Menu.d.ts +0 -17
- package/dist/components/Report/components/Header/components/Resizer.d.ts +0 -12
- package/dist/components/Report/components/Header/components/SortIndicator.d.ts +0 -15
- package/dist/components/Report/components/Header/util.d.ts +0 -4
- package/dist/components/Report/components/Internal/Actions.d.ts +0 -13
- 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/Row/RowContext.d.ts +0 -8
- package/dist/components/Report/components/Toolbar/Toolbar.d.ts +0 -15
- package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +0 -12
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -12
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -7
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -10
- package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +0 -2
- package/dist/components/Report/components/Toolbar/components/Print/Print.d.ts +0 -9
- package/dist/components/Report/components/Toolbar/components/Print/PrintDialog.d.ts +0 -17
- package/dist/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -7
- package/dist/components/Report/components/Toolbar/components/Settings/Settings.d.ts +0 -8
- package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +0 -2
- package/dist/components/Report/styles/useCssGridStylesheet.d.ts +0 -3
- 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/Report/util/useTableGlobalShortcuts.d.ts +0 -4
- package/dist/components/Report/util/useTableRenderer.d.ts +0 -9
- package/dist/components/Select2/Select2.d.ts +0 -50
- package/dist/components/Table/Table.d.ts +0 -14
- package/dist/components/Table/components/BaseTable.d.ts +0 -8
- package/dist/components/Table/hooks/useRowCreation.d.ts +0 -11
- package/dist/components/Table/hooks/useTable.d.ts +0 -38
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +0 -3
- package/dist/components/Table/types.d.ts +0 -284
- package/dist/components/Table/util/sortTypes.d.ts +0 -4
- package/dist/components/Table/util.d.ts +0 -12
- 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 -377
- 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 +0 -60
- 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 +0 -32
- 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 +0 -23
- 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 +0 -58
- 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 +0 -73
- 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 +0 -39
- 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 +0 -194
- 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 +0 -28
- 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 +0 -150
- 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 +0 -60
- 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 +0 -41
- 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 +0 -24
- 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 +0 -90
- 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 +0 -59
- 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 +0 -154
- 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 +0 -102
- 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 +0 -24
- 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 +0 -10
- 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 +0 -50
- 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 +0 -121
- 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 +0 -102
- 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 +0 -50
- 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 +0 -110
- 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 +0 -118
- 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 +0 -7
- 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 +0 -125
- 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 +0 -95
- 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 +0 -105
- 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 +0 -103
- 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 +0 -24
- 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 +0 -44
- 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 +0 -58
- 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 +0 -61
- 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 +0 -32
- 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 +0 -162
- 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/useTable/features/useTableColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js +0 -90
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowHeight.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableDataListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFilterListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowSelectionListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableServerLoadingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js +0 -26
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableShortcutsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSortingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js +0 -122
- package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js +0 -131
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js +0 -21
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js +0 -270
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +0 -1
- package/dist/index.d.ts +0 -73
- package/dist/primitives/Table/types.d.ts +0 -225
- package/dist/primitives/Table/useTable/features/useTableRowActive.d.ts +0 -11
- package/dist/primitives/Table/useTable/useTable.d.ts +0 -58
- package/dist/primitives/Table/useTable/util/presets.d.ts +0 -2
- package/dist/primitives/Table/useTable/util/settings.d.ts +0 -12
- package/dist/primitives/Table/useTable/util/setup.d.ts +0 -14
- package/dist/utils/dom.d.ts +0 -7
- /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/primitives/Table/{useTable → Core}/features/useTableRef.js +0 -0
- /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/util/rows.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFooter.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTablePrinting.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSearch.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSettings.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/columns.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/filtering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/search.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/sorting.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/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/hooks/useChildren.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/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/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}/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 → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Search/Search.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/useTable → 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/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableFontSize.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableFooter.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTablePrinting.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowActions.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowClick.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowGoto.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowGroups.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowHeight.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowSelection.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableSearch.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableServerLoading.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableSettings.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/columns.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/columns.spec.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/filtering.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/search.d.ts +0 -0
- /package/dist/{primitives/Table/useTable → 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 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Menu.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/header/Menu.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Header as RTHeader, Table as RTable, TableMeta } from '@tanstack/react-table';\nimport { IconButton } from '../../../../IconButton/IconButton';\nimport { Menu as MenuPrimitive } from '../../../../Menu/Menu';\nimport { isInternalColumn } from '../../../util/columns';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Table3ColumnHeaderMenu, TableStrategy } from '../../../types';\nimport { GotoPopover } from './Goto';\nimport { HeaderSortDirection, SORT_DIRECTION, SortToggleHandler } from './Header';\nimport { RadioGroupItemValue } from '../../../../RadioGroup/RadioGroup';\nimport { createShortcutKeyDownHandler } from '../../../../../utils/keyboard';\nimport { getTableLeftScrollDistance } from '../../../util/scrolling';\n\nexport function isGotoAvailable<TType = unknown>(table: RTable<TType>, header: RTHeader<TType, unknown>) {\n if (isInternalColumn(header.id)) {\n return false;\n }\n\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n return !!(tableMeta.rowGoto.isEnabled && header.column.getCanSort() && header.column.getIsSorted());\n}\n\nexport function isMenuAvailable<TType = unknown>(table: RTable<TType>, header: RTHeader<TType, unknown>): boolean {\n if (isInternalColumn(header.id)) {\n return false;\n }\n\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n return (\n !!header.column.columnDef.meta?.menu ||\n !!tableMeta.columnFreezing.isEnabled ||\n (!!table.options.enableHiding && !!header.column.getCanHide()) ||\n isGotoAvailable(table, header)\n );\n}\n\nexport type MenuProps<TType = unknown> = React.ButtonHTMLAttributes<HTMLButtonElement> & {\n canFreeze: boolean;\n canHide: boolean;\n canSort: boolean;\n index: number;\n menu?: Table3ColumnHeaderMenu;\n onGoto?: (query: string) => Promise<number>;\n onHide: (event: unknown) => void;\n onSortToggle: SortToggleHandler;\n scrollToIndex: TableStrategy['scrollToIndex'];\n sortDirection: HeaderSortDirection;\n table: RTable<TType>;\n};\n\nexport function Menu<TType = unknown>(props: MenuProps<TType>) {\n const {\n canFreeze,\n canHide,\n canSort,\n index,\n menu,\n onGoto: handleGoto,\n onHide: handleHide,\n onSortToggle: handleSortToggle,\n scrollToIndex,\n sortDirection,\n table,\n } = props;\n const tableMeta = table.options.meta as TableMeta<TType>;\n const { texts } = useLocalization();\n const [popover, setPopover] = React.useState<string | undefined>(undefined);\n const [sortDirectionState, setSortDirectionState] = React.useState<HeaderSortDirection>(sortDirection);\n const ref = React.useRef<HTMLButtonElement>(null);\n\n const gotoShortcut = 'g';\n\n React.useEffect(() => {\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n const { frozenColumnIndex: externalFrozenColumnIndex = -1, frozenInternalColumnCount = 0 } = tableMeta.columnFreezing;\n\n const handler = createShortcutKeyDownHandler(\n gotoShortcut,\n () => {\n // Only execute the below code if the header menu has goto menu item\n if (handleGoto) {\n const tableElement = tableMeta.tableRef.current;\n const frozenColumnIndex =\n externalFrozenColumnIndex > -1\n ? externalFrozenColumnIndex + frozenInternalColumnCount\n : frozenInternalColumnCount - 1;\n const parentHeader = ref.current?.closest('[role=\"columnheader\"]');\n\n if (!tableElement || !parentHeader) {\n return;\n }\n\n const leftScrollDistance = getTableLeftScrollDistance(tableElement, parentHeader, frozenColumnIndex);\n\n if (leftScrollDistance !== null) {\n tableElement.scrollLeft = leftScrollDistance;\n }\n }\n },\n // Prevents the stopping of event propagation\n false\n );\n\n document.addEventListener('keydown', handler);\n\n return () => document.removeEventListener('keydown', handler);\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n }, [tableMeta.columnFreezing.frozenColumnIndex, handleGoto]);\n\n const handleSortMenuRadioGroupChange = (newSortDirection: RadioGroupItemValue) => {\n setSortDirectionState(newSortDirection as HeaderSortDirection);\n handleSortToggle(newSortDirection as HeaderSortDirection);\n };\n\n let popoverElement;\n\n if (popover) {\n const handleClosePopover = () => setPopover(undefined);\n\n switch (popover) {\n case 'goto': {\n if (handleGoto) {\n const goto = async (query: string) => {\n try {\n const index = await handleGoto(query);\n tableMeta.rowActive.setRowActiveIndex(index);\n scrollToIndex(index + 2, { align: 'center' });\n } catch {\n //\n } finally {\n handleClosePopover();\n }\n };\n popoverElement = props => <GotoPopover {...props} open onChange={handleClosePopover} onGoto={goto} />;\n }\n }\n }\n }\n\n const className = cn(\n '-my-0.5 -mr-1 -ml-0.5 !h-6 !min-h-[theme(spacing.6)] flex-shrink-0 justify-end !w-0 !min-w-0 !overflow-hidden',\n 'aria-expanded:!min-w-[theme(spacing.6)] aria-expanded:!w-6 aria-expanded:!overflow-auto',\n 'focus:!min-w-[theme(spacing.6)] focus:!w-6 focus:!overflow-auto',\n 'group-hover/column:!min-w-[theme(spacing.6)] group-hover/column:!w-6 group-hover/column:!overflow-auto',\n {\n '!w-6 !min-w-[theme(spacing.6)] !overflow-auto': !!popoverElement,\n },\n props.className\n );\n\n const memoedMenuItems = React.useMemo(() => {\n const menuItems: JSX.Element[] = [];\n\n if (canHide) {\n // we do this in the next tick, otherwise the menu closes and react throws a \"state update on unmounted component\" error\n const handleClick = event => setTimeout(() => handleHide(event), 1);\n\n menuItems.push(\n <MenuPrimitive.Item icon=\"eye-off\" onClick={handleClick}>\n {texts.table3.columns.menu.hideColumn}\n </MenuPrimitive.Item>\n );\n }\n\n // We rely on canSort value instead of onSort function's value because some columns might have sorting disabled,\n // so even though onSort is truthy, we don't want to show sorting menu.\n if (canSort) {\n menuItems.push(\n <MenuPrimitive.Item\n icon=\"sort-by\"\n subMenu={() => (\n <MenuPrimitive.SubMenu>\n <MenuPrimitive.RadioGroup onChange={handleSortMenuRadioGroupChange} value={sortDirectionState}>\n <MenuPrimitive.RadioGroup.Item value={SORT_DIRECTION.ASC}>\n {texts.table3.columns.menu.sortingOrder.ascending}\n </MenuPrimitive.RadioGroup.Item>\n <MenuPrimitive.RadioGroup.Item value={SORT_DIRECTION.DESC}>\n {texts.table3.columns.menu.sortingOrder.descending}\n </MenuPrimitive.RadioGroup.Item>\n <MenuPrimitive.RadioGroup.Item value={false}>\n {texts.table3.columns.menu.sortingOrder.unsorted}\n </MenuPrimitive.RadioGroup.Item>\n </MenuPrimitive.RadioGroup>\n </MenuPrimitive.SubMenu>\n )}>\n {texts.table3.columns.menu.sorting}\n </MenuPrimitive.Item>\n );\n }\n\n if (handleGoto) {\n menuItems.push(\n <MenuPrimitive.Item icon=\"move\" onClick={() => setPopover('goto')} shortcut={gotoShortcut}>\n {texts.table3.columns.menu.gotoRow}...\n </MenuPrimitive.Item>\n );\n }\n\n if (canFreeze) {\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n const frozenIndex = index - tableMeta.columnFreezing.frozenInternalColumnCount;\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n const handleClick = () => tableMeta.columnFreezing.setFrozenColumnIndex(frozenIndex);\n\n menuItems.push(\n <MenuPrimitive.Item icon=\"column-freeze\" onClick={handleClick}>\n {frozenIndex === 0\n ? texts.table3.columns.menu.freezeFirstColumn\n : texts.table3.columns.menu.freezeUptoColumn.replace('[TOTAL]', String(frozenIndex + 1))}\n </MenuPrimitive.Item>\n );\n\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n if (tableMeta.columnFreezing.frozenColumnIndex !== undefined) {\n const handleClick = () => {\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n tableMeta.columnFreezing.setFrozenColumnIndex(undefined);\n };\n\n menuItems.push(\n <MenuPrimitive.Item icon=\"column-unfreeze\" onClick={handleClick}>\n {texts.table3.columns.menu.unfreezeColumns}\n </MenuPrimitive.Item>\n );\n }\n }\n\n if (menu) {\n const customMenu = menu({ trigger: undefined });\n const customItems = React.Children.toArray(customMenu.props.children.props.children) as JSX.Element[];\n\n if (customItems.length) {\n if (menuItems.length) {\n menuItems.push(<MenuPrimitive.Separator />);\n }\n\n menuItems.push(...customItems);\n }\n }\n\n return menuItems.map((item, key) => React.cloneElement(item, { key }));\n }, [\n menu,\n index,\n canFreeze,\n canHide,\n canSort,\n handleGoto,\n handleSortToggle,\n sortDirection,\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n tableMeta.columnFreezing.frozenColumnIndex,\n ]);\n\n return (\n <IconButton\n className={className}\n icon=\"more\"\n menu={\n popoverElement\n ? undefined\n : menuProps => (\n <MenuPrimitive {...menuProps}>\n <MenuPrimitive.Content>{memoedMenuItems}</MenuPrimitive.Content>\n </MenuPrimitive>\n )\n }\n popover={popoverElement}\n onClickCapture={event => event.preventDefault()}\n ref={ref}\n />\n );\n}\n"],"names":["isGotoAvailable","table","header","isInternalColumn","id","tableMeta","options","meta","rowGoto","isEnabled","column","getCanSort","getIsSorted","isMenuAvailable","_header$column$column","columnDef","menu","columnFreezing","enableHiding","getCanHide","Menu","props","canFreeze","canHide","canSort","index","onGoto","handleGoto","onHide","handleHide","onSortToggle","handleSortToggle","scrollToIndex","sortDirection","texts","useLocalization","popover","setPopover","React","useState","undefined","sortDirectionState","setSortDirectionState","ref","useRef","gotoShortcut","useEffect","frozenColumnIndex","externalFrozenColumnIndex","frozenInternalColumnCount","handler","createShortcutKeyDownHandler","_ref$current","tableElement","tableRef","current","parentHeader","closest","leftScrollDistance","getTableLeftScrollDistance","scrollLeft","document","addEventListener","removeEventListener","handleSortMenuRadioGroupChange","newSortDirection","popoverElement","handleClosePopover","goto","query","Promise","resolve","then","rowActive","setRowActiveIndex","align","_wasThrown","_result","_temp","e","reject","GotoPopover","open","onChange","className","cn","memoedMenuItems","useMemo","menuItems","handleClick","event","setTimeout","push","MenuPrimitive","Item","icon","onClick","table3","columns","hideColumn","subMenu","SubMenu","RadioGroup","value","SORT_DIRECTION","ASC","sortingOrder","ascending","DESC","descending","unsorted","sorting","shortcut","gotoRow","frozenIndex","setFrozenColumnIndex","freezeFirstColumn","freezeUptoColumn","replace","String","unfreezeColumns","customMenu","trigger","customItems","Children","toArray","children","length","Separator","map","item","key","cloneElement","IconButton","menuProps","Content","onClickCapture","preventDefault"],"mappings":";;;;;;;;;;;;SAcgBA,eAAeA,CAAkBC,KAAoB,EAAEC,MAAgC;EACnG,IAAIC,gBAAgB,CAACD,MAAM,CAACE,EAAE,CAAC,EAAE;IAC7B,OAAO,KAAK;;EAGhB,MAAMC,SAAS,GAAGJ,KAAK,CAACK,OAAO,CAACC,IAAwB;EAExD,OAAO,CAAC,EAAEF,SAAS,CAACG,OAAO,CAACC,SAAS,IAAIP,MAAM,CAACQ,MAAM,CAACC,UAAU,EAAE,IAAIT,MAAM,CAACQ,MAAM,CAACE,WAAW,EAAE,CAAC;AACvG;SAEgBC,eAAeA,CAAkBZ,KAAoB,EAAEC,MAAgC;;EACnG,IAAIC,gBAAgB,CAACD,MAAM,CAACE,EAAE,CAAC,EAAE;IAC7B,OAAO,KAAK;;EAGhB,MAAMC,SAAS,GAAGJ,KAAK,CAACK,OAAO,CAACC,IAAwB;EAExD,OACI,CAAC,GAAAO,qBAAA,GAACZ,MAAM,CAACQ,MAAM,CAACK,SAAS,CAACR,IAAI,cAAAO,qBAAA,eAA5BA,qBAAA,CAA8BE,IAAI,KACpC,CAAC,CAACX,SAAS,CAACY,cAAc,CAACR,SAAS,IACnC,CAAC,CAACR,KAAK,CAACK,OAAO,CAACY,YAAY,IAAI,CAAC,CAAChB,MAAM,CAACQ,MAAM,CAACS,UAAU,EAAG,IAC9D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ACR1B,SAAS,GACT8F,SAAS,mBACLhG,6BAACuD,MAAa,oBAAKyC,SAAS,gBACxBhG,6BAACuD,MAAa,CAAC0C,OAAO,QAAEjD,eAAe,CAAyB,CACpD,CACnB;IAEXlD,OAAO,EAAE8B,cAAc;IACvBsE,cAAc,EAAE9C,KAAK,IAAIA,KAAK,CAAC+C,cAAc,EAAE;IAC/C9F,GAAG,EAAEA;IACP;AAEV;;;;"}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { Tooltip } from '../../../../Tooltip/Tooltip.js';
|
4
|
-
import { useLocalization } from '../../../../Provider/Localization.js';
|
5
|
-
|
6
|
-
function Resizer(props) {
|
7
|
-
const {
|
8
|
-
isResizing,
|
9
|
-
onResize: handleResize
|
10
|
-
} = props;
|
11
|
-
const {
|
12
|
-
texts
|
13
|
-
} = useLocalization();
|
14
|
-
// this prevents sort handlers being activated
|
15
|
-
const handleClick = event => {
|
16
|
-
event.stopPropagation();
|
17
|
-
event.preventDefault();
|
18
|
-
};
|
19
|
-
const handle = /*#__PURE__*/React__default.createElement("div", {
|
20
|
-
className: cn('invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible', '[[role="columnheader"]:last-child>&]:!mr-0 [[role="columnheader"]:last-child>&]:w-2', {
|
21
|
-
'!visible': isResizing
|
22
|
-
}),
|
23
|
-
onClick: handleClick,
|
24
|
-
onMouseDown: handleResize,
|
25
|
-
onTouchStart: handleResize
|
26
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
27
|
-
className: cn('h-full w-1 rounded', {
|
28
|
-
'!bg-blue-500': isResizing,
|
29
|
-
'bg-grey-500 hover:bg-grey-700': !isResizing
|
30
|
-
})
|
31
|
-
}));
|
32
|
-
if (isResizing) {
|
33
|
-
return handle;
|
34
|
-
}
|
35
|
-
return /*#__PURE__*/React__default.createElement(Tooltip, {
|
36
|
-
placement: "top",
|
37
|
-
title: texts.table3.columns.resize.tooltip
|
38
|
-
}, handle);
|
39
|
-
}
|
40
|
-
|
41
|
-
export { Resizer };
|
42
|
-
//# sourceMappingURL=Resizer.js.map
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Resizer.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/header/Resizer.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\nimport { useLocalization } from '../../../../Provider/Localization';\n\ntype ResizerProps = {\n isResizing: boolean;\n onResize: (event: unknown) => void;\n};\n\nexport function Resizer(props: ResizerProps) {\n const { isResizing, onResize: handleResize } = props;\n const { texts } = useLocalization();\n\n // this prevents sort handlers being activated\n const handleClick = event => {\n event.stopPropagation();\n event.preventDefault();\n };\n\n const handle = (\n <div\n className={cn(\n 'invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible',\n '[[role=\"columnheader\"]:last-child>&]:!mr-0 [[role=\"columnheader\"]:last-child>&]:w-2',\n {\n '!visible': isResizing,\n }\n )}\n onClick={handleClick}\n onMouseDown={handleResize}\n onTouchStart={handleResize}>\n <div\n className={cn('h-full w-1 rounded', {\n '!bg-blue-500': isResizing,\n 'bg-grey-500 hover:bg-grey-700': !isResizing,\n })}\n />\n </div>\n );\n\n if (isResizing) {\n return handle;\n }\n\n return (\n <Tooltip placement=\"top\" title={texts.table3.columns.resize.tooltip}>\n {handle}\n </Tooltip>\n );\n}\n"],"names":["Resizer","props","isResizing","onResize","handleResize","texts","useLocalization","handleClick","event","stopPropagation","preventDefault","handle","React","className","cn","onClick","onMouseDown","onTouchStart","Tooltip","placement","title","table3","columns","resize","tooltip"],"mappings":";;;;;SAUgBA,OAAOA,CAACC,KAAmB;EACvC,MAAM;IAAEC,UAAU;IAAEC,QAAQ,EAAEC;GAAc,GAAGH,KAAK;EACpD,MAAM;IAAEI;GAAO,GAAGC,eAAe,EAAE;;EAGnC,MAAMC,WAAW,GAAGC,KAAK;IACrBA,KAAK,CAACC,eAAe,EAAE;IACvBD,KAAK,CAACE,cAAc,EAAE;GACzB;EAED,MAAMC,MAAM,gBACRC;IACIC,SAAS,EAAEC,EAAE,CACT,0JAA0J,EAC1J,qFAAqF,EACrF;MACI,UAAU,EAAEZ;KACf,CACJ;IACDa,OAAO,EAAER,WAAW;IACpBS,WAAW,EAAEZ,YAAY;IACzBa,YAAY,EAAEb;kBACdQ;IACIC,SAAS,EAAEC,EAAE,CAAC,oBAAoB,EAAE;MAChC,cAAc,EAAEZ,UAAU;MAC1B,+BAA+B,EAAE,CAACA;KACrC;IACH,CAET;EAED,IAAIA,UAAU,EAAE;IACZ,OAAOS,MAAM;;EAGjB,oBACIC,6BAACM,OAAO;IAACC,SAAS,EAAC,KAAK;IAACC,KAAK,EAAEf,KAAK,CAACgB,MAAM,CAACC,OAAO,CAACC,MAAM,CAACC;KACvDb,MAAM,CACD;AAElB;;;;"}
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import { Icon } from '../../../../Icon/Icon.js';
|
3
|
-
|
4
|
-
const indicators = {
|
5
|
-
asc: /*#__PURE__*/React__default.createElement(Icon, {
|
6
|
-
name: "chevron-up-solid",
|
7
|
-
className: "pointer-events-none -my-0.5"
|
8
|
-
}),
|
9
|
-
desc: /*#__PURE__*/React__default.createElement(Icon, {
|
10
|
-
name: "chevron-down-solid",
|
11
|
-
className: "pointer-events-none -my-0.5"
|
12
|
-
})
|
13
|
-
};
|
14
|
-
function SortIndicator(props) {
|
15
|
-
var _indicators$props$dir;
|
16
|
-
return (_indicators$props$dir = indicators[props.direction]) !== null && _indicators$props$dir !== void 0 ? _indicators$props$dir : null;
|
17
|
-
}
|
18
|
-
const ariaSort = {
|
19
|
-
asc: 'ascending',
|
20
|
-
desc: 'descending'
|
21
|
-
};
|
22
|
-
function getSortAttributes(toggleSorting, sortDirection) {
|
23
|
-
var _ariaSort$sortDirecti;
|
24
|
-
const handleClick = event => {
|
25
|
-
if (event.isDefaultPrevented() || !event.currentTarget.contains(event.target)) {
|
26
|
-
return;
|
27
|
-
}
|
28
|
-
event.preventDefault();
|
29
|
-
toggleSorting(event);
|
30
|
-
};
|
31
|
-
return {
|
32
|
-
'aria-sort': (_ariaSort$sortDirecti = ariaSort[sortDirection]) !== null && _ariaSort$sortDirecti !== void 0 ? _ariaSort$sortDirecti : 'none',
|
33
|
-
onClick: handleClick
|
34
|
-
};
|
35
|
-
}
|
36
|
-
|
37
|
-
export { SortIndicator, getSortAttributes };
|
38
|
-
//# sourceMappingURL=SortIndicator.js.map
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SortIndicator.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/header/SortIndicator.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon } from '../../../../Icon/Icon';\nimport { Table3SortDirection } from '../../../types';\n\ntype SortIndicatorProps = {\n direction: false | Table3SortDirection;\n};\n\nconst indicators = {\n asc: <Icon name=\"chevron-up-solid\" className=\"pointer-events-none -my-0.5\" />,\n desc: <Icon name=\"chevron-down-solid\" className=\"pointer-events-none -my-0.5\" />,\n};\n\nexport function SortIndicator(props: SortIndicatorProps) {\n return indicators[props.direction as string] ?? null;\n}\n\nconst ariaSort = {\n asc: 'ascending',\n desc: 'descending',\n};\n\nexport const getAriaSort = direction => ariaSort[direction] ?? 'none';\n\nexport function getSortAttributes(toggleSorting: (event: unknown) => void, sortDirection: false | Table3SortDirection) {\n const handleClick = (event: React.MouseEvent) => {\n if (event.isDefaultPrevented() || !event.currentTarget.contains(event.target as any)) {\n return;\n }\n\n event.preventDefault();\n toggleSorting(event);\n };\n\n return {\n 'aria-sort': ariaSort[sortDirection as any] ?? 'none',\n onClick: handleClick,\n };\n}\n"],"names":["indicators","asc","React","Icon","name","className","desc","SortIndicator","props","_indicators$props$dir","direction","ariaSort","getSortAttributes","toggleSorting","sortDirection","handleClick","event","isDefaultPrevented","currentTarget","contains","target","preventDefault","_ariaSort$sortDirecti","onClick"],"mappings":";;;AAQA,MAAMA,UAAU,GAAG;EACfC,GAAG,eAAEC,6BAACC,IAAI;IAACC,IAAI,EAAC,kBAAkB;IAACC,SAAS,EAAC;IAAgC;EAC7EC,IAAI,eAAEJ,6BAACC,IAAI;IAACC,IAAI,EAAC,oBAAoB;IAACC,SAAS,EAAC;;CACnD;SAEeE,aAAaA,CAACC,KAAyB;;EACnD,QAAAC,qBAAA,GAAOT,UAAU,CAACQ,KAAK,CAACE,SAAmB,CAAC,cAAAD,qBAAA,cAAAA,qBAAA,GAAI,IAAI;AACxD;AAEA,MAAME,QAAQ,GAAG;EACbV,GAAG,EAAE,WAAW;EAChBK,IAAI,EAAE;CACT;SAIeM,iBAAiBA,CAACC,aAAuC,EAAEC,aAA0C;;EACjH,MAAMC,WAAW,GAAIC,KAAuB;IACxC,IAAIA,KAAK,CAACC,kBAAkB,EAAE,IAAI,CAACD,KAAK,CAACE,aAAa,CAACC,QAAQ,CAACH,KAAK,CAACI,MAAa,CAAC,EAAE;MAClF;;IAGJJ,KAAK,CAACK,cAAc,EAAE;IACtBR,aAAa,CAACG,KAAK,CAAC;GACvB;EAED,OAAO;IACH,WAAW,GAAAM,qBAAA,GAAEX,QAAQ,CAACG,aAAoB,CAAC,cAAAQ,qBAAA,cAAAA,qBAAA,GAAI,MAAM;IACrDC,OAAO,EAAER;GACZ;AACL;;;;"}
|
@@ -1,129 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { IconButton } from '../../../../IconButton/IconButton.js';
|
4
|
-
import { useLocalization } from '../../../../Provider/Localization.js';
|
5
|
-
import { Shortcut } from '../../../../Shortcut/Shortcut.js';
|
6
|
-
import { Menu } from '../../../../Menu/Menu.js';
|
7
|
-
import { FontSizes } from '../../../../../types.js';
|
8
|
-
import { Header } from '../header/Header.js';
|
9
|
-
import { RowContext } from '../../rows/RowContext.js';
|
10
|
-
import { DisplayCell } from '../cell/DisplayCell.js';
|
11
|
-
import { Footer } from '../footer/Footer.js';
|
12
|
-
import { isIndicatorVisible, getIndicatorCellClassName } from '../cell/Indicator.js';
|
13
|
-
|
14
|
-
const COLUMN_ID = '__actions';
|
15
|
-
const MemoedCell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
|
16
|
-
const {
|
17
|
-
actions,
|
18
|
-
actionsLength,
|
19
|
-
fontSize,
|
20
|
-
isActiveRow,
|
21
|
-
isEditing,
|
22
|
-
isResizingColumn,
|
23
|
-
isHoverStatePaused,
|
24
|
-
row
|
25
|
-
} = props;
|
26
|
-
const {
|
27
|
-
isHovered
|
28
|
-
} = React__default.useContext(RowContext);
|
29
|
-
const {
|
30
|
-
texts
|
31
|
-
} = useLocalization();
|
32
|
-
const ref = React__default.useRef(null);
|
33
|
-
/*
|
34
|
-
const size = table.getState().columnSizing[COLUMN_ID];
|
35
|
-
// the actions column needs to set its size based on its content, not the actual column
|
36
|
-
// so we do this here instead of in the header
|
37
|
-
React.useLayoutEffect(() => {
|
38
|
-
if (ref.current && !size) {
|
39
|
-
const width = ref.current.getBoundingClientRect().width;
|
40
|
-
table.setColumnSizing(sizes => ({
|
41
|
-
...sizes,
|
42
|
-
[COLUMN_ID]: width,
|
43
|
-
}));
|
44
|
-
}
|
45
|
-
}, [ref.current]);
|
46
|
-
*/
|
47
|
-
let content;
|
48
|
-
// We don't want to show actions in edit mode, since we have editing actions,
|
49
|
-
// which is shown in edit mode instead.
|
50
|
-
if (actions !== null && actions !== void 0 && actions.length && !isEditing && (isActiveRow || isHovered && !isHoverStatePaused && !isResizingColumn)) {
|
51
|
-
const visibleActions = actions.map(action => action(row.original)).filter(action => !!action);
|
52
|
-
const actionsOnRow = visibleActions.length === actionsLength ? visibleActions : visibleActions.slice(0, actionsLength - 1);
|
53
|
-
const actionsInMenu = visibleActions.slice(visibleActions.length === actionsLength ? actionsLength : actionsLength - 1);
|
54
|
-
const className = cn('-mb-2 flex justify-end pl-2 text-right', {
|
55
|
-
// Adjust negative margin on row actions cell to ensure that the cell aligns vertically.
|
56
|
-
'-mt-2': fontSize === FontSizes.small,
|
57
|
-
'-mt-1.5': fontSize !== FontSizes.small
|
58
|
-
}, props.className);
|
59
|
-
content = /*#__PURE__*/React__default.createElement("span", {
|
60
|
-
className: className,
|
61
|
-
ref: ref
|
62
|
-
}, actionsOnRow.map((button, index) => {
|
63
|
-
var _ref, _button$props$tooltip;
|
64
|
-
const tooltip = String((_ref = (_button$props$tooltip = button.props.tooltip) !== null && _button$props$tooltip !== void 0 ? _button$props$tooltip : button.props['aria-label']) !== null && _ref !== void 0 ? _ref : '');
|
65
|
-
return /*#__PURE__*/React__default.cloneElement(button, {
|
66
|
-
appearance: 'transparent',
|
67
|
-
key: index,
|
68
|
-
tabIndex: isActiveRow ? 0 : -1,
|
69
|
-
tooltip: button.props.shortcut ? ( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
|
70
|
-
className: "ml-2",
|
71
|
-
keys: button.props.shortcut
|
72
|
-
}))) : tooltip
|
73
|
-
});
|
74
|
-
}), actionsInMenu.length ? ( /*#__PURE__*/React__default.createElement(IconButton, {
|
75
|
-
appearance: "transparent",
|
76
|
-
"aria-label": texts.table3.columns.actions.tooltip,
|
77
|
-
icon: "more",
|
78
|
-
tabIndex: isActiveRow ? 0 : -1,
|
79
|
-
menu: menuProps => ( /*#__PURE__*/React__default.createElement(Menu, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu.Content, null, actionsInMenu.map((action, i) => ( /*#__PURE__*/React__default.createElement(Menu.Item, Object.assign({
|
80
|
-
key: i
|
81
|
-
}, action.props, {
|
82
|
-
shortcut: action.props.shortcut
|
83
|
-
}), action.props['aria-label']))))))
|
84
|
-
})) : null);
|
85
|
-
}
|
86
|
-
return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props), content);
|
87
|
-
});
|
88
|
-
function Cell(context) {
|
89
|
-
const {
|
90
|
-
rowIndex
|
91
|
-
} = React__default.useContext(RowContext);
|
92
|
-
const tableMeta = context.table.options.meta;
|
93
|
-
const allVisibleColumns = context.table.getVisibleLeafColumns();
|
94
|
-
const lastColumnIndex = allVisibleColumns.length > 0 ? allVisibleColumns.length - 1 : 0;
|
95
|
-
const className = isIndicatorVisible(rowIndex, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.rowMoveReason) ? getIndicatorCellClassName(context.index, lastColumnIndex) : undefined;
|
96
|
-
return /*#__PURE__*/React__default.createElement(MemoedCell, Object.assign({}, context, {
|
97
|
-
actions: tableMeta.rowActions.actionsForRow,
|
98
|
-
// @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel
|
99
|
-
actionsLength: tableMeta.rowActions.actionsForRowLength,
|
100
|
-
className: className,
|
101
|
-
fontSize: tableMeta.fontSize.size,
|
102
|
-
isActiveRow: tableMeta.rowActive.rowActiveIndex === rowIndex,
|
103
|
-
isEditing: tableMeta.editing.isEditing,
|
104
|
-
isResizingColumn: !!context.table.getState().columnSizingInfo.isResizingColumn,
|
105
|
-
isHoverStatePaused: !!tableMeta.rowActive.isHoverStatePaused
|
106
|
-
}));
|
107
|
-
}
|
108
|
-
function createRowActionsColumn() {
|
109
|
-
return {
|
110
|
-
id: COLUMN_ID,
|
111
|
-
header: Header,
|
112
|
-
cell: Cell,
|
113
|
-
footer: Footer,
|
114
|
-
meta: {
|
115
|
-
align: 'right',
|
116
|
-
className: cn('!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role="table"][data-editing="false"]_&]:group-[[data-current="true"]]/row:sticky [[role="table"][data-pause-hover="false"][data-editing="false"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1', 'shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]', 'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200', 'group-[[data-selected="true"]]/row:text-blue-100', 'group-[[data-selected="false"]:hover]/row:text-grey-100'),
|
117
|
-
enableOrdering: false,
|
118
|
-
enableSearch: false,
|
119
|
-
enableTruncate: false,
|
120
|
-
header: '',
|
121
|
-
headerClassName: 'items-center !p-0'
|
122
|
-
},
|
123
|
-
// options
|
124
|
-
enableResizing: false
|
125
|
-
};
|
126
|
-
}
|
127
|
-
|
128
|
-
export { COLUMN_ID, createRowActionsColumn };
|
129
|
-
//# sourceMappingURL=Actions.js.map
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Actions.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/Actions.tsx"],"sourcesContent":["import React from 'react';\nimport { CellContext, DisplayColumnDef, TableMeta } from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Table3RowActionRenderer } from '../../../types';\nimport { FontSize, FontSizes } from '../../../../../types';\nimport { RowContext } from '../../rows/RowContext';\nimport { IconButton } from '../../../../IconButton/IconButton';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Menu } from '../../../../Menu/Menu';\nimport { Shortcut } from '../../../../Shortcut/Shortcut';\nimport { Footer } from '../footer/Footer';\nimport { getIndicatorCellClassName, isIndicatorVisible } from '../cell/Indicator';\n\nexport const COLUMN_ID = '__actions';\n\ntype MemoedCellProps<TType = unknown> = CellContext<TType, unknown> & {\n actions?: Table3RowActionRenderer<TType>[];\n actionsLength: number;\n className?: string;\n fontSize: FontSize;\n isActiveRow: boolean;\n isEditing: boolean;\n isResizingColumn: boolean;\n isHoverStatePaused: boolean;\n};\n\nconst MemoedCell = React.memo(function MemoedCell<TType = unknown>(props: MemoedCellProps<TType>) {\n const { actions, actionsLength, fontSize, isActiveRow, isEditing, isResizingColumn, isHoverStatePaused, row } = props;\n const { isHovered } = React.useContext(RowContext);\n const { texts } = useLocalization();\n const ref = React.useRef<HTMLSpanElement | null>(null);\n /*\n const size = table.getState().columnSizing[COLUMN_ID];\n\n // the actions column needs to set its size based on its content, not the actual column\n // so we do this here instead of in the header\n React.useLayoutEffect(() => {\n if (ref.current && !size) {\n const width = ref.current.getBoundingClientRect().width;\n\n table.setColumnSizing(sizes => ({\n ...sizes,\n [COLUMN_ID]: width,\n }));\n }\n }, [ref.current]);\n */\n\n let content;\n\n // We don't want to show actions in edit mode, since we have editing actions,\n // which is shown in edit mode instead.\n if (actions?.length && !isEditing && (isActiveRow || (isHovered && !isHoverStatePaused && !isResizingColumn))) {\n const visibleActions = actions.map(action => action(row.original)).filter(action => !!action) as JSX.Element[];\n\n const actionsOnRow =\n visibleActions.length === actionsLength ? visibleActions : visibleActions.slice(0, actionsLength - 1);\n const actionsInMenu = visibleActions.slice(visibleActions.length === actionsLength ? actionsLength : actionsLength - 1);\n\n const className = cn(\n '-mb-2 flex justify-end pl-2 text-right',\n {\n // Adjust negative margin on row actions cell to ensure that the cell aligns vertically.\n '-mt-2': fontSize === FontSizes.small,\n '-mt-1.5': fontSize !== FontSizes.small,\n },\n props.className\n );\n\n content = (\n <span className={className} ref={ref}>\n {actionsOnRow.map((button, index) => {\n const tooltip = String(button.props.tooltip ?? button.props['aria-label'] ?? '');\n\n return React.cloneElement(button, {\n appearance: 'transparent',\n key: index,\n tabIndex: isActiveRow ? 0 : -1,\n tooltip: button.props.shortcut ? (\n <>\n {tooltip}\n <Shortcut className=\"ml-2\" keys={button.props.shortcut} />\n </>\n ) : (\n tooltip\n ),\n });\n })}\n {actionsInMenu.length ? (\n <IconButton\n appearance=\"transparent\"\n aria-label={texts.table3.columns.actions.tooltip}\n icon=\"more\"\n tabIndex={isActiveRow ? 0 : -1}\n menu={menuProps => (\n <Menu {...menuProps}>\n <Menu.Content>\n {actionsInMenu.map((action, i) => (\n <Menu.Item key={i} {...action.props} shortcut={action.props.shortcut}>\n {action.props['aria-label']}\n </Menu.Item>\n ))}\n </Menu.Content>\n </Menu>\n )}\n />\n ) : null}\n </span>\n );\n }\n\n return <DisplayCell {...props}>{content}</DisplayCell>;\n}) as <TType = unknown>(props: MemoedCellProps<TType>) => JSX.Element;\n\ntype CellProps<TType = unknown> = CellContext<TType, unknown>;\n\nfunction Cell<TType = unknown>(context: CellProps<TType>) {\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = context.table.options.meta as TableMeta<TType>;\n const allVisibleColumns = context.table.getVisibleLeafColumns();\n const lastColumnIndex = allVisibleColumns.length > 0 ? allVisibleColumns.length - 1 : 0;\n const className = isIndicatorVisible(rowIndex, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.rowMoveReason)\n ? getIndicatorCellClassName(context.index, lastColumnIndex)\n : undefined;\n\n return (\n <MemoedCell<TType>\n {...context} // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n actions={tableMeta.rowActions.actionsForRow}\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n actionsLength={tableMeta.rowActions.actionsForRowLength}\n className={className}\n fontSize={tableMeta.fontSize.size}\n isActiveRow={tableMeta.rowActive.rowActiveIndex === rowIndex}\n isEditing={tableMeta.editing.isEditing}\n isResizingColumn={!!context.table.getState().columnSizingInfo.isResizingColumn}\n isHoverStatePaused={!!tableMeta.rowActive.isHoverStatePaused}\n />\n );\n}\n\nexport function createRowActionsColumn<TType = unknown>(): DisplayColumnDef<TType, unknown> {\n return {\n id: COLUMN_ID,\n header: ColumnHeader,\n cell: Cell,\n footer: Footer,\n meta: {\n align: 'right',\n className: cn(\n '!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role=\"table\"][data-editing=\"false\"]_&]:group-[[data-current=\"true\"]]/row:sticky [[role=\"table\"][data-pause-hover=\"false\"][data-editing=\"false\"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1',\n 'shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]',\n 'group-[[data-current=\"true\"][data-selected=\"false\"]]/row:text-grey-200',\n 'group-[[data-selected=\"true\"]]/row:text-blue-100',\n 'group-[[data-selected=\"false\"]:hover]/row:text-grey-100'\n ),\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: 'items-center !p-0',\n },\n // options\n enableResizing: false,\n };\n}\n"],"names":["COLUMN_ID","MemoedCell","React","memo","props","actions","actionsLength","fontSize","isActiveRow","isEditing","isResizingColumn","isHoverStatePaused","row","isHovered","useContext","RowContext","texts","useLocalization","ref","useRef","content","length","visibleActions","map","action","original","filter","actionsOnRow","slice","actionsInMenu","className","cn","FontSizes","small","button","index","tooltip","String","_ref","_button$props$tooltip","cloneElement","appearance","key","tabIndex","shortcut","Shortcut","keys","IconButton","table3","columns","icon","menu","menuProps","Menu","Content","i","Item","DisplayCell","Cell","context","rowIndex","tableMeta","table","options","meta","allVisibleColumns","getVisibleLeafColumns","lastColumnIndex","isIndicatorVisible","rowActive","rowActiveIndex","editing","rowMoveReason","getIndicatorCellClassName","undefined","rowActions","actionsForRow","actionsForRowLength","size","getState","columnSizingInfo","createRowActionsColumn","id","header","ColumnHeader","cell","footer","Footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing"],"mappings":";;;;;;;;;;;;;MAeaA,SAAS,GAAG;AAazB,MAAMC,UAAU,gBAAGC,cAAK,CAACC,IAAI,CAAC,SAASF,UAAUA,CAAkBG,KAA6B;EAC5F,MAAM;IAAEC,OAAO;IAAEC,aAAa;IAAEC,QAAQ;IAAEC,WAAW;IAAEC,SAAS;IAAEC,gBAAgB;IAAEC,kBAAkB;IAAEC;GAAK,GAAGR,KAAK;EACrH,MAAM;IAAES;GAAW,GAAGX,cAAK,CAACY,UAAU,CAACC,UAAU,CAAC;EAClD,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,GA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AAkD,EAClD,yDAAyD,CAC5D;MACD0D,cAAc,EAAE,KAAK;MACrBC,YAAY,EAAE,KAAK;MACnBC,cAAc,EAAE,KAAK;MACrBR,MAAM,EAAE,EAAE;MACVS,eAAe,EAAE;KACpB;;IAEDC,cAAc,EAAE;GACnB;AACL;;;;"}
|
@@ -1,86 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import { Icon } from '../../../../Icon/Icon.js';
|
3
|
-
import { useLocalization } from '../../../../Provider/Localization.js';
|
4
|
-
import { Header } from '../header/Header.js';
|
5
|
-
import { DisplayCell } from '../cell/DisplayCell.js';
|
6
|
-
import { Footer } from '../footer/Footer.js';
|
7
|
-
|
8
|
-
const COLUMN_ID = '__drag';
|
9
|
-
const GHOST_ELEMENT_ID = 'taco_table_dragging';
|
10
|
-
const Cell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
|
11
|
-
const {
|
12
|
-
isSelected,
|
13
|
-
onRowDrag: handleRowDrag,
|
14
|
-
row,
|
15
|
-
table
|
16
|
-
} = props;
|
17
|
-
const {
|
18
|
-
texts
|
19
|
-
} = useLocalization();
|
20
|
-
const tableMeta = table.options.meta;
|
21
|
-
const onDragStart = event => {
|
22
|
-
let rows = [row];
|
23
|
-
if (table.options.enableRowSelection) {
|
24
|
-
rows = isSelected ? table.getSelectedRowModel().rows : [row, ...table.getSelectedRowModel().rows];
|
25
|
-
}
|
26
|
-
const data = rows.map(row => row.original);
|
27
|
-
tableMeta.rowDrag.setDragging(rows.reduce((dragging, rowBeingDragged) => ({
|
28
|
-
...dragging,
|
29
|
-
[rowBeingDragged.id]: true
|
30
|
-
}), {}));
|
31
|
-
// set a default data value so that the consumer doesn't have to
|
32
|
-
event.dataTransfer.setData('text', JSON.stringify(data));
|
33
|
-
const showPlaceholder = text => {
|
34
|
-
const ghost = document.createElement('div');
|
35
|
-
ghost.id = GHOST_ELEMENT_ID;
|
36
|
-
ghost.className = 'wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]';
|
37
|
-
ghost.innerText = text;
|
38
|
-
document.body.appendChild(ghost);
|
39
|
-
event.dataTransfer.setDragImage(ghost, 0, 0);
|
40
|
-
};
|
41
|
-
const setDataTransfer = text => event.dataTransfer.setData('text', text);
|
42
|
-
handleRowDrag(data, showPlaceholder, setDataTransfer);
|
43
|
-
};
|
44
|
-
const handleDragEnd = () => {
|
45
|
-
var _document$getElementB;
|
46
|
-
(_document$getElementB = document.getElementById(GHOST_ELEMENT_ID)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.remove();
|
47
|
-
tableMeta.rowDrag.setDragging({});
|
48
|
-
};
|
49
|
-
return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props), /*#__PURE__*/React__default.createElement("div", {
|
50
|
-
draggable: true,
|
51
|
-
onDragStart: onDragStart,
|
52
|
-
onDragOver: event => event.preventDefault(),
|
53
|
-
onDragEnd: handleDragEnd
|
54
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
55
|
-
"aria-label": texts.table3.columns.drag.tooltip,
|
56
|
-
name: "drag",
|
57
|
-
className: "text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"
|
58
|
-
})));
|
59
|
-
});
|
60
|
-
function createRowDragColumn(onRowDrag) {
|
61
|
-
return {
|
62
|
-
id: COLUMN_ID,
|
63
|
-
header: Header,
|
64
|
-
cell: context => ( /*#__PURE__*/React__default.createElement(Cell, Object.assign({}, context, {
|
65
|
-
isSelected: context.row.getIsSelected(),
|
66
|
-
onRowDrag: onRowDrag
|
67
|
-
}))),
|
68
|
-
footer: Footer,
|
69
|
-
meta: {
|
70
|
-
align: 'center',
|
71
|
-
className: '!p-0 !pt-[var(--table3-cell-padding-y)]',
|
72
|
-
enableOrdering: false,
|
73
|
-
enableSearch: false,
|
74
|
-
enableTruncate: false,
|
75
|
-
header: '',
|
76
|
-
headerClassName: 'items-center !p-0'
|
77
|
-
},
|
78
|
-
// options
|
79
|
-
enableResizing: false,
|
80
|
-
size: 20,
|
81
|
-
minSize: 20
|
82
|
-
};
|
83
|
-
}
|
84
|
-
|
85
|
-
export { COLUMN_ID, createRowDragColumn };
|
86
|
-
//# sourceMappingURL=Drag.js.map
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Drag.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/Drag.tsx"],"sourcesContent":["import React from 'react';\nimport { CellContext, DisplayColumnDef, TableMeta } from '@tanstack/react-table';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Table3RowDragHandler } from '../../../types';\nimport { Icon } from '../../../../Icon/Icon';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Footer } from '../footer/Footer';\n\nexport const COLUMN_ID = '__drag';\nconst GHOST_ELEMENT_ID = 'taco_table_dragging';\n\ntype CellProps<TType = unknown> = CellContext<TType, unknown> & {\n isSelected: boolean;\n onRowDrag: Table3RowDragHandler<TType>;\n};\n\nconst Cell = React.memo(function MemoedCell<TType = unknown>(props: CellProps<TType>) {\n const { isSelected, onRowDrag: handleRowDrag, row, table } = props;\n const { texts } = useLocalization();\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n const onDragStart = (event: React.DragEvent): void => {\n let rows = [row];\n\n if (table.options.enableRowSelection) {\n rows = isSelected ? table.getSelectedRowModel().rows : [row, ...table.getSelectedRowModel().rows];\n }\n\n const data = rows.map(row => row.original);\n\n tableMeta.rowDrag.setDragging(\n rows.reduce((dragging, rowBeingDragged) => ({ ...dragging, [rowBeingDragged.id]: true }), {})\n );\n\n // set a default data value so that the consumer doesn't have to\n event.dataTransfer.setData('text', JSON.stringify(data));\n\n const showPlaceholder = (text: string) => {\n const ghost = document.createElement('div');\n ghost.id = GHOST_ELEMENT_ID;\n ghost.className = 'wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]';\n ghost.innerText = text;\n document.body.appendChild(ghost);\n event.dataTransfer.setDragImage(ghost, 0, 0);\n };\n\n const setDataTransfer = (text: string) => event.dataTransfer.setData('text', text);\n\n handleRowDrag(data, showPlaceholder, setDataTransfer);\n };\n\n const handleDragEnd = (): void => {\n document.getElementById(GHOST_ELEMENT_ID)?.remove();\n tableMeta.rowDrag.setDragging({});\n };\n\n return (\n <DisplayCell {...props}>\n <div draggable onDragStart={onDragStart} onDragOver={event => event.preventDefault()} onDragEnd={handleDragEnd}>\n <Icon\n aria-label={texts.table3.columns.drag.tooltip}\n name=\"drag\"\n className=\"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white\"\n />\n </div>\n </DisplayCell>\n );\n}) as <TType = unknown>(props: CellProps<TType>) => JSX.Element;\n\nexport function createRowDragColumn<TType = unknown>(onRowDrag: Table3RowDragHandler<TType>): DisplayColumnDef<TType, unknown> {\n return {\n id: COLUMN_ID,\n header: ColumnHeader,\n cell: (context: CellContext<TType, unknown>) => (\n <Cell {...context} isSelected={context.row.getIsSelected()} onRowDrag={onRowDrag} />\n ),\n footer: Footer,\n meta: {\n align: 'center',\n className: '!p-0 !pt-[var(--table3-cell-padding-y)]',\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: 'items-center !p-0',\n },\n // options\n enableResizing: false,\n size: 20,\n minSize: 20,\n };\n}\n"],"names":["COLUMN_ID","GHOST_ELEMENT_ID","Cell","React","memo","MemoedCell","props","isSelected","onRowDrag","handleRowDrag","row","table","texts","useLocalization","tableMeta","options","meta","onDragStart","event","rows","enableRowSelection","getSelectedRowModel","data","map","original","rowDrag","setDragging","reduce","dragging","rowBeingDragged","id","dataTransfer","setData","JSON","stringify","showPlaceholder","text","ghost","document","createElement","className","innerText","body","appendChild","setDragImage","setDataTransfer","handleDragEnd","_document$getElementB","getElementById","remove","DisplayCell","draggable","onDragOver","preventDefault","onDragEnd","Icon","table3","columns","drag","tooltip","name","createRowDragColumn","header","ColumnHeader","cell","context","getIsSelected","footer","Footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing","size","minSize"],"mappings":";;;;;;;MASaA,SAAS,GAAG;AACzB,MAAMC,gBAAgB,GAAG,qBAAqB;AAO9C,MAAMC,IAAI,gBAAGC,cAAK,CAACC,IAAI,CAAC,SAASC,UAAUA,CAAkBC,KAAuB;EAChF,MAAM;IAAEC,UAAU;IAAEC,SAAS,EAAEC,aAAa;IAAEC,GAAG;IAAEC;GAAO,GAAGL,KAAK;EAClE,MAAM;IAAEM;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,SAAS,GAAGH,KAAK,CAACI,OAAO,CAACC,IAAwB;EAExD,MAAMC,WAAW,GAAIC,KAAsB;IACvC,IAAIC,IAAI,GAAG,CAACT,GAAG,CAAC;IAEhB,IAAIC,KAAK,CAACI,OAAO,CAACK,kBAAkB,EAAE;MAClCD,IAAI,GAAGZ,UAAU,GAAGI,KAAK,CAACU,mBAAmB,EAAE,CAACF,IAAI,GAAG,CAACT,GAAG,EAAE,GAAGC,KAAK,CAACU,mBAAmB,EAAE,CAACF,IAAI,CAAC;;IAGrG,MAAMG,IAAI,GAAGH,IAAI,CAACI,GAAG,CAACb,GAAG,IAAIA,GAAG,CAACc,QAAQ,CAAC;IAE1CV,SAAS,CAACW,OAAO,CAACC,WAAW,CACzBP,IAAI,CAACQ,MAAM,CAAC,CAACC,QAAQ,EAAEC,eAAe,MAAM;MAAE,GAAGD,QAAQ;MAAE,CAACC,eAAe,CAACC,EAAE,GAAG;KAAM,CAAC,EAAE,EAAE,CAAC,CAChG;;IAGDZ,KAAK,CAACa,YAAY,CAACC,OAAO,CAAC,MAAM,EAAEC,IAAI,CAACC,SAAS,CAACZ,IAAI,CAAC,CAAC;IAExD,MAAMa,eAAe,GAAIC,IAAY;MACjC,MAAMC,KAAK,GAAGC,QAAQ,CAACC,aAAa,CAAC,KAAK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AE1D,SAAS,EAAEA;OAAa,CACvF;IACD2D,MAAM,EAAEC,MAAM;IACdpD,IAAI,EAAE;MACFqD,KAAK,EAAE,QAAQ;MACf7B,SAAS,EAAE,yCAAyC;MACpD8B,cAAc,EAAE,KAAK;MACrBC,YAAY,EAAE,KAAK;MACnBC,cAAc,EAAE,KAAK;MACrBV,MAAM,EAAE,EAAE;MACVW,eAAe,EAAE;KACpB;;IAEDC,cAAc,EAAE,KAAK;IACrBC,IAAI,EAAE,EAAE;IACRC,OAAO,EAAE;GACZ;AACL;;;;"}
|
package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
import React__default from 'react';
|
2
|
-
import cn from 'clsx';
|
3
|
-
import { Icon } from '../../../../Icon/Icon.js';
|
4
|
-
import { Tooltip } from '../../../../Tooltip/Tooltip.js';
|
5
|
-
import { IconButton } from '../../../../IconButton/IconButton.js';
|
6
|
-
import { useLocalization } from '../../../../Provider/Localization.js';
|
7
|
-
import { Button } from '../../../../Button/Button.js';
|
8
|
-
import { Spinner } from '../../../../Spinner/Spinner.js';
|
9
|
-
import { Dialog } from '../../../../Dialog/Dialog.js';
|
10
|
-
import { Group } from '../../../../Group/Group.js';
|
11
|
-
import useTimer from '../../../../../utils/hooks/useTimer.js';
|
12
|
-
import { Menu } from '../../../../Menu/Menu.js';
|
13
|
-
import { Header } from '../header/Header.js';
|
14
|
-
import { RowContext } from '../../rows/RowContext.js';
|
15
|
-
import { DisplayCell } from '../cell/DisplayCell.js';
|
16
|
-
import { Footer } from '../footer/Footer.js';
|
17
|
-
import { isIndicatorVisible, getIndicatorCellClassName } from '../cell/Indicator.js';
|
18
|
-
import { getColumnIndex } from '../../../util/editing.js';
|
19
|
-
import { lastCellIndex } from '../../rows/Row.js';
|
20
|
-
import { SavingStatusValue } from '../../../hooks/features/useEditing.js';
|
21
|
-
|
22
|
-
const savingIndicatorHideDelay = 3000;
|
23
|
-
const COLUMN_ID = '__editing_actions';
|
24
|
-
const MemoedCell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
|
25
|
-
var _column$columnDef$met;
|
26
|
-
const {
|
27
|
-
className,
|
28
|
-
editing,
|
29
|
-
hasChanges,
|
30
|
-
isActiveRow,
|
31
|
-
row,
|
32
|
-
rowIdentifier,
|
33
|
-
table
|
34
|
-
} = props;
|
35
|
-
const savingStatus = editing.getSavingStatus(row.id);
|
36
|
-
const [isSavedIndicatorVisible, setIsSavingIndicatorVisible] = React__default.useState(false);
|
37
|
-
const {
|
38
|
-
texts
|
39
|
-
} = useLocalization();
|
40
|
-
const [clearConfirmationOpen, setClearConfirmationOpen] = React__default.useState(false);
|
41
|
-
const columns = table.getAllFlatColumns();
|
42
|
-
const column = columns.find(column => column.id === rowIdentifier);
|
43
|
-
const rowIdentifierHeader = column === null || column === void 0 ? void 0 : (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header;
|
44
|
-
const edititngActionsRef = React__default.useRef(null);
|
45
|
-
const tableMeta = table.options.meta;
|
46
|
-
const handleSaved = () => {
|
47
|
-
setIsSavingIndicatorVisible(false);
|
48
|
-
editing.resetSavingStatus(row.id);
|
49
|
-
};
|
50
|
-
const timer = useTimer(savingIndicatorHideDelay, handleSaved);
|
51
|
-
React__default.useEffect(() => {
|
52
|
-
if (savingStatus && savingStatus === SavingStatusValue.Saved && !isSavedIndicatorVisible) {
|
53
|
-
setIsSavingIndicatorVisible(true);
|
54
|
-
timer.start();
|
55
|
-
}
|
56
|
-
}, [savingStatus]);
|
57
|
-
React__default.useEffect(() => {
|
58
|
-
tableMeta.shortcutsState.pause(clearConfirmationOpen);
|
59
|
-
}, [clearConfirmationOpen]);
|
60
|
-
let content;
|
61
|
-
if (savingStatus) {
|
62
|
-
if (savingStatus === SavingStatusValue.Saving) {
|
63
|
-
content = /*#__PURE__*/React__default.createElement(Tooltip, {
|
64
|
-
title: texts.table3.editing.saving.progress
|
65
|
-
}, /*#__PURE__*/React__default.createElement(Spinner, {
|
66
|
-
delay: 0,
|
67
|
-
className: "!text-grey-700 mr-1 !h-5 !w-5"
|
68
|
-
}));
|
69
|
-
} else if (isSavedIndicatorVisible) {
|
70
|
-
content = /*#__PURE__*/React__default.createElement(Tooltip, {
|
71
|
-
title: texts.table3.editing.saving.complete
|
72
|
-
}, /*#__PURE__*/React__default.createElement(Icon, {
|
73
|
-
name: "tick",
|
74
|
-
className: "!text-grey-700 mr-1 !h-5 !w-5"
|
75
|
-
}));
|
76
|
-
}
|
77
|
-
}
|
78
|
-
if (editing.isEditing && isActiveRow) {
|
79
|
-
content = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, content, /*#__PURE__*/React__default.createElement(IconButton, {
|
80
|
-
ref: edititngActionsRef,
|
81
|
-
appearance: "transparent",
|
82
|
-
"aria-label": texts.table3.editing.actions.tooltip,
|
83
|
-
icon: "more",
|
84
|
-
menu: menuProps => ( /*#__PURE__*/React__default.createElement(Menu, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu.Content, null, /*#__PURE__*/React__default.createElement(Menu.Item, {
|
85
|
-
icon: "tick",
|
86
|
-
disabled: !hasChanges,
|
87
|
-
onClick: () => editing.saveChangesIfNeeded()
|
88
|
-
}, texts.table3.editing.actions.save), /*#__PURE__*/React__default.createElement(Menu.Item, {
|
89
|
-
icon: "close",
|
90
|
-
disabled: !hasChanges,
|
91
|
-
onClick: () => setClearConfirmationOpen(true)
|
92
|
-
}, texts.table3.editing.actions.clear), /*#__PURE__*/React__default.createElement(Menu.Item, {
|
93
|
-
icon: "undo",
|
94
|
-
onClick: () => editing.toggleEditing(false)
|
95
|
-
}, texts.table3.editing.actions.exit)))),
|
96
|
-
tabIndex: isActiveRow ? 0 : -1
|
97
|
-
}), /*#__PURE__*/React__default.createElement(Dialog, {
|
98
|
-
size: "xs",
|
99
|
-
open: clearConfirmationOpen,
|
100
|
-
onClose: () => {
|
101
|
-
setClearConfirmationOpen(false);
|
102
|
-
requestAnimationFrame(() => {
|
103
|
-
if (edititngActionsRef.current) {
|
104
|
-
edititngActionsRef.current.focus();
|
105
|
-
// When table looses focus, we need to re-set the last column index
|
106
|
-
lastCellIndex.value = getColumnIndex(edititngActionsRef.current);
|
107
|
-
}
|
108
|
-
});
|
109
|
-
}
|
110
|
-
}, /*#__PURE__*/React__default.createElement(Dialog.Content, {
|
111
|
-
"aria-label": texts.table3.editing.clearChangesConfirmationDialog.title
|
112
|
-
}, /*#__PURE__*/React__default.createElement(Dialog.Title, null, texts.table3.editing.clearChangesConfirmationDialog.title), /*#__PURE__*/React__default.createElement("p", null, texts.table3.editing.clearChangesConfirmationDialog.description.replace('[ROW_IDENTIFIER]', rowIdentifier && rowIdentifierHeader ? rowIdentifierHeader : texts.table3.validation.index).replace('[ROW_IDENTIFIER_VALUE]', rowIdentifier && rowIdentifierHeader ? row.original[rowIdentifier] : row.index)), /*#__PURE__*/React__default.createElement(Dialog.Footer, null, /*#__PURE__*/React__default.createElement(Group, null, /*#__PURE__*/React__default.createElement(Dialog.Close, null, /*#__PURE__*/React__default.createElement(Button, {
|
113
|
-
tabIndex: 0
|
114
|
-
}, texts.table3.editing.clearChangesConfirmationDialog.cancel)), /*#__PURE__*/React__default.createElement(Dialog.Close, null, /*#__PURE__*/React__default.createElement(Button, {
|
115
|
-
tabIndex: 0,
|
116
|
-
appearance: "primary",
|
117
|
-
autoFocus: true,
|
118
|
-
onClick: () => editing.resetChange(row.id)
|
119
|
-
}, texts.table3.editing.clearChangesConfirmationDialog.confirm)))))));
|
120
|
-
}
|
121
|
-
const contentClassName = cn('flex items-center justify-end text-right', {
|
122
|
-
'-mb-2 -mt-2': isActiveRow
|
123
|
-
});
|
124
|
-
return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props, {
|
125
|
-
className: cn(className, {
|
126
|
-
'!sticky': !!content
|
127
|
-
})
|
128
|
-
}), content ? /*#__PURE__*/React__default.createElement("span", {
|
129
|
-
className: contentClassName
|
130
|
-
}, content) : undefined);
|
131
|
-
});
|
132
|
-
function Cell(props) {
|
133
|
-
const {
|
134
|
-
rowIndex
|
135
|
-
} = React__default.useContext(RowContext);
|
136
|
-
const tableMeta = props.table.options.meta;
|
137
|
-
const changeset = tableMeta.editing.changes ? Object.keys(tableMeta.editing.changes) : [];
|
138
|
-
const allVisibleColumns = props.table.getVisibleLeafColumns();
|
139
|
-
const lastColumnIndex = allVisibleColumns.length > 0 ? allVisibleColumns.length - 1 : 0;
|
140
|
-
const className = isIndicatorVisible(rowIndex, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.rowMoveReason) ? getIndicatorCellClassName(props.index, lastColumnIndex) : undefined;
|
141
|
-
return /*#__PURE__*/React__default.createElement(MemoedCell, Object.assign({}, props, {
|
142
|
-
className: className,
|
143
|
-
editing: tableMeta.editing,
|
144
|
-
hasChanges: changeset.indexOf(props.row.id) >= 0,
|
145
|
-
isActiveRow: tableMeta.rowActive.rowActiveIndex === rowIndex
|
146
|
-
}));
|
147
|
-
}
|
148
|
-
const EDITING_ACTIONS_WIDTH = 60;
|
149
|
-
function createRowEditingActionsColumn(rowIdentifier) {
|
150
|
-
return {
|
151
|
-
id: COLUMN_ID,
|
152
|
-
header: Header,
|
153
|
-
cell: context => /*#__PURE__*/React__default.createElement(Cell, Object.assign({}, context, {
|
154
|
-
rowIdentifier: rowIdentifier
|
155
|
-
})),
|
156
|
-
footer: Footer,
|
157
|
-
meta: {
|
158
|
-
align: 'right',
|
159
|
-
className: cn('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1', '[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]', 'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200', 'group-[[data-selected="true"]]/row:text-blue-100', 'group-[[data-selected="false"]:hover]/row:text-grey-100'),
|
160
|
-
enableOrdering: false,
|
161
|
-
enableSearch: false,
|
162
|
-
enableTruncate: false,
|
163
|
-
header: '',
|
164
|
-
headerClassName: 'items-center !p-0'
|
165
|
-
},
|
166
|
-
// options
|
167
|
-
enableResizing: false,
|
168
|
-
size: EDITING_ACTIONS_WIDTH,
|
169
|
-
minSize: EDITING_ACTIONS_WIDTH
|
170
|
-
};
|
171
|
-
}
|
172
|
-
|
173
|
-
export { COLUMN_ID, EDITING_ACTIONS_WIDTH, createRowEditingActionsColumn };
|
174
|
-
//# sourceMappingURL=EditingActions.js.map
|