@economic/taco 2.25.1-alpha.13 → 2.25.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Provider/Localization.d.ts +392 -0
- package/dist/components/Report/Report.d.ts +23 -0
- package/dist/components/Report/components/Body/Body.d.ts +8 -0
- package/dist/components/Report/components/Body/EmptyStateBody.d.ts +7 -0
- package/dist/components/Report/components/Cell/Cell.d.ts +8 -0
- package/dist/components/Report/components/Cell/DisplayCell.d.ts +8 -0
- package/dist/components/Report/components/Cell/GroupedCell.d.ts +8 -0
- package/dist/components/Report/components/Cell/util.d.ts +18 -0
- package/dist/components/Report/components/Header/Header.d.ts +40 -0
- package/dist/components/Report/components/Header/components/Goto.d.ts +6 -0
- package/dist/components/Report/components/Header/components/Menu.d.ts +20 -0
- package/dist/components/Report/components/Header/components/Resizer.d.ts +12 -0
- package/dist/components/Report/components/Header/components/SortIndicator.d.ts +15 -0
- package/dist/components/Report/components/Header/util.d.ts +4 -0
- package/dist/components/Report/components/Internal/Actions.d.ts +13 -0
- package/dist/components/Report/components/Internal/Expansion.d.ts +4 -0
- package/dist/components/Report/components/Internal/Selection.d.ts +4 -0
- package/dist/components/Report/components/Row/DisplayRow.d.ts +9 -0
- package/dist/components/Report/components/Row/Row.d.ts +9 -0
- package/dist/components/Report/components/Row/RowContext.d.ts +8 -0
- package/dist/components/Report/components/Toolbar/Toolbar.d.ts +15 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
- package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +4 -0
- package/dist/components/Report/components/Toolbar/components/Print/Print.d.ts +9 -0
- package/dist/components/Report/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
- package/dist/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
- package/dist/components/Report/components/Toolbar/components/Settings/Settings.d.ts +8 -0
- package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +2 -0
- package/dist/components/Report/styles/useCssGridStylesheet.d.ts +3 -0
- package/dist/components/Report/styles/util.d.ts +3 -0
- package/dist/components/Report/types.d.ts +20 -0
- package/dist/components/Report/useReport.d.ts +9 -0
- package/dist/components/Report/util/useTableGlobalShortcuts.d.ts +4 -0
- package/dist/components/Report/util/useTableRenderer.d.ts +9 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table3/Table3.d.ts +19 -0
- package/dist/components/Table3/components/alert/ErrorAlert.d.ts +10 -0
- package/dist/components/Table3/components/columns/cell/Cell.d.ts +6 -0
- package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +25 -0
- package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +14 -0
- package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +21 -0
- package/dist/components/Table3/components/columns/cell/Highlight.d.ts +2 -0
- package/dist/components/Table3/components/columns/cell/Indicator.d.ts +22 -0
- package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +2 -0
- package/dist/components/Table3/components/columns/footer/Footer.d.ts +14 -0
- package/dist/components/Table3/components/columns/footer/Summary.d.ts +8 -0
- package/dist/components/Table3/components/columns/header/Goto.d.ts +6 -0
- package/dist/components/Table3/components/columns/header/Group.d.ts +15 -0
- package/dist/components/Table3/components/columns/header/Header.d.ts +37 -0
- package/dist/components/Table3/components/columns/header/Menu.d.ts +20 -0
- package/dist/components/Table3/components/columns/header/Resizer.d.ts +7 -0
- package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +12 -0
- package/dist/components/Table3/components/columns/internal/Actions.d.ts +3 -0
- package/dist/components/Table3/components/columns/internal/Drag.d.ts +4 -0
- package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +8 -0
- package/dist/components/Table3/components/columns/internal/Expansion.d.ts +4 -0
- package/dist/components/Table3/components/columns/internal/Selection.d.ts +3 -0
- package/dist/components/Table3/components/columns/styles.d.ts +5 -0
- package/dist/components/Table3/components/rows/ExpandedRow.d.ts +8 -0
- package/dist/components/Table3/components/rows/Row.d.ts +26 -0
- package/dist/components/Table3/components/rows/RowContext.d.ts +10 -0
- package/dist/components/Table3/components/rows/SkeletonRow.d.ts +10 -0
- package/dist/components/Table3/components/rows/styles.d.ts +6 -0
- package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/EditButton.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +12 -0
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +12 -0
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +10 -0
- package/dist/components/Table3/components/toolbar/FontSize.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +8 -0
- package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +8 -0
- package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +9 -0
- package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +1 -0
- package/dist/components/Table3/components/toolbar/RowHeight.d.ts +7 -0
- package/dist/components/Table3/components/toolbar/Search.d.ts +8 -0
- package/dist/components/Table3/components/toolbar/Settings.d.ts +8 -0
- package/dist/components/Table3/components/toolbar/Toolbar.d.ts +13 -0
- package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +13 -0
- package/dist/components/Table3/hooks/features/useEditing.d.ts +31 -0
- package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +3 -0
- package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +5 -0
- package/dist/components/Table3/hooks/features/usePrinting.d.ts +7 -0
- package/dist/components/Table3/hooks/features/useRowActions.d.ts +5 -0
- package/dist/components/Table3/hooks/features/useRowDrag.d.ts +6 -0
- package/dist/components/Table3/hooks/features/useRowDrop.d.ts +5 -0
- package/dist/components/Table3/hooks/features/useSearch.d.ts +16 -0
- package/dist/components/Table3/hooks/features/useSettings.d.ts +3 -0
- package/dist/components/Table3/hooks/features/useValidation.d.ts +13 -0
- package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +2 -0
- package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +3 -0
- package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +9 -0
- package/dist/components/Table3/hooks/useCssGrid.d.ts +6 -0
- package/dist/components/Table3/hooks/useCssVars.d.ts +8 -0
- package/dist/components/Table3/hooks/useTable.d.ts +74 -0
- package/dist/components/Table3/hooks/useTableDataLoader.d.ts +22 -0
- package/dist/components/Table3/hooks/useTablePreset.d.ts +2 -0
- package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +4 -0
- package/dist/components/Table3/strategies/index.d.ts +4 -0
- package/dist/components/Table3/strategies/virtualised.d.ts +4 -0
- package/dist/components/Table3/types.d.ts +379 -0
- package/dist/components/Table3/util/columns.d.ts +8 -0
- package/dist/components/Table3/util/editing.d.ts +10 -0
- package/dist/components/Table3/util/filtering.d.ts +3 -0
- package/dist/components/Table3/util/scrolling.d.ts +2 -0
- package/dist/esm/index.css +515 -208
- package/dist/esm/packages/taco/src/components/Field/Field.js +0 -1
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +6 -5
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +43 -46
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +51 -8
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +62 -0
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +32 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js +23 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +58 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +73 -0
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +39 -0
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +211 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js +28 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +159 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js +60 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js +41 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +24 -0
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js +90 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js +59 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +154 -0
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js +102 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js +24 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js +10 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +63 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +62 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +129 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +102 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js +110 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +128 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +125 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +88 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js +95 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +105 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +103 -0
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +24 -0
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js +44 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +58 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +20 -0
- package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/styles/util.js +61 -0
- package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/useReport.js +45 -8
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +32 -0
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js +162 -0
- package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +10 -10
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +218 -30
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +154 -0
- package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +84 -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/DisplayCell.js +84 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +212 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +194 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +41 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +88 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +144 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +50 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +41 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js +28 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +74 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +186 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +206 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +42 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +38 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +129 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +86 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +174 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +104 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +187 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +19 -0
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +27 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +327 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +14 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +43 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +9 -0
- package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +109 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +29 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +164 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +102 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +50 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +111 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +118 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +26 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +211 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +224 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +60 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +97 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +33 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +238 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +65 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +64 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +95 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +299 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +24 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +12 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +14 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +10 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +13 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +9 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +29 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +23 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +178 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +28 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +24 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +143 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +66 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +74 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +234 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +130 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +122 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +19 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +8 -0
- package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +117 -0
- package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/types.js +20 -0
- package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/columns.js +60 -0
- package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js +38 -46
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +120 -0
- package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +53 -0
- package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +15 -0
- package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +1 -0
- package/dist/esm/packages/taco/src/index.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +0 -2
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +14 -4
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +3 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +9 -13
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +7 -13
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +2 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +2 -5
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/dom.js +3 -19
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/input.js +14 -1
- package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
- package/dist/index.css +515 -208
- package/dist/index.d.ts +73 -0
- package/dist/primitives/Table/types.d.ts +214 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +11 -0
- package/dist/primitives/Table/useTableManager/types.d.ts +13 -0
- package/dist/primitives/Table/useTableManager/useTableManager.d.ts +59 -0
- package/dist/primitives/Table/useTableManager/util/settings.d.ts +12 -0
- package/dist/taco.cjs.development.js +8978 -4337
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/dom.d.ts +7 -0
- package/package.json +2 -3
- package/types.json +51755 -21592
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +0 -39
- 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/Editing/RowMoveIndicator.js +0 -85
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +0 -71
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +0 -216
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +0 -14
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +0 -45
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +0 -62
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +0 -134
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +0 -54
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +0 -41
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +0 -49
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +0 -349
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +0 -49
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js +0 -36
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +0 -52
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +0 -72
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +0 -25
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +0 -60
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +0 -33
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +0 -74
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +0 -101
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +0 -73
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +0 -71
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +0 -167
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +0 -39
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +0 -216
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +0 -28
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +0 -158
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +0 -60
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +0 -41
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +0 -24
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +0 -120
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +0 -30
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +0 -53
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +0 -62
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +0 -129
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +0 -102
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +0 -50
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +0 -110
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +0 -128
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +0 -125
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +0 -88
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +0 -96
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +0 -119
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +0 -103
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js +0 -77
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js +0 -44
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js +0 -58
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +0 -30
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +0 -164
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +0 -24
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +0 -50
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +0 -14
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +0 -9
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +0 -1
- package/dist/packages/taco/src/components/Provider/Localization.d.ts +0 -398
- package/dist/packages/taco/src/components/Report/Report.d.ts +0 -10
- package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +0 -19
- package/dist/packages/taco/src/components/Report/useReport.d.ts +0 -23
- package/dist/packages/taco/src/components/Table/Table.d.ts +0 -14
- package/dist/packages/taco/src/components/Table3/Table3.d.ts +0 -20
- package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +0 -23
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Cell.d.ts +0 -3
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +0 -9
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +0 -10
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +0 -3
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +0 -3
- package/dist/packages/taco/src/components/Table3/components/Columns/Cell/util.d.ts +0 -3
- package/dist/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +0 -10
- package/dist/packages/taco/src/components/Table3/components/Editing/Alert.d.ts +0 -12
- package/dist/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.d.ts +0 -8
- package/dist/packages/taco/src/components/Table3/components/Row/Row.d.ts +0 -3
- package/dist/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.d.ts +0 -8
- package/dist/packages/taco/src/components/Table3/features/useTableEditing.d.ts +0 -46
- package/dist/packages/taco/src/components/Table3/listeners/useTableEditingListener.d.ts +0 -2
- package/dist/packages/taco/src/components/Table3/types.d.ts +0 -54
- package/dist/packages/taco/src/components/Table3/useTable3.d.ts +0 -30
- package/dist/packages/taco/src/components/Table3/util/editing.d.ts +0 -2
- package/dist/packages/taco/src/index.d.ts +0 -74
- package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +0 -19
- package/dist/packages/taco/src/primitives/Table/Core/components/Body/Body.d.ts +0 -8
- package/dist/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +0 -3
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +0 -3
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +0 -10
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.d.ts +0 -19
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +0 -13
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +0 -2
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +0 -2
- package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +0 -2
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/Header.d.ts +0 -45
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.d.ts +0 -6
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.d.ts +0 -21
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.d.ts +0 -12
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +0 -15
- package/dist/packages/taco/src/primitives/Table/Core/components/Header/util.d.ts +0 -4
- package/dist/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +0 -4
- package/dist/packages/taco/src/primitives/Table/Core/components/Row/Row.d.ts +0 -6
- package/dist/packages/taco/src/primitives/Table/Core/components/Row/RowContext.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +0 -12
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -12
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -10
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +0 -4
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +0 -9
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +0 -17
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +0 -8
- package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +0 -2
- package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts +0 -3
- package/dist/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +0 -4
- package/dist/packages/taco/src/primitives/Table/Core/features/useTableRenderer.d.ts +0 -10
- package/dist/packages/taco/src/primitives/Table/Core/types.d.ts +0 -24
- package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +0 -25
- package/dist/packages/taco/src/primitives/Table/types.d.ts +0 -379
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.d.ts +0 -13
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +0 -8
- package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +0 -5
- package/dist/packages/taco/src/primitives/Table/useTableManager/types.d.ts +0 -14
- package/dist/packages/taco/src/primitives/Table/useTableManager/useTableManager.d.ts +0 -65
- package/dist/packages/taco/src/primitives/Table/useTableManager/util/settings.d.ts +0 -12
- package/dist/packages/taco/src/utils/dom.d.ts +0 -8
- /package/dist/{packages/taco/src/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Alert/Alert.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/AlertDialog.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Footer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Backdrop/Backdrop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Badge/Badge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/BadgeIcon/BadgeIcon.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Banner/Banner.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Banner/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Button/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Button/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Calendar/Calendar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Card/Card.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Combobox/Combobox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Combobox/useCombobox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Datepicker/Datepicker.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Datepicker/useDatepicker.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/DialogDrawer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Extra.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/Drawer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/images.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Field/Field.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Form/Form.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Group/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Hanger/Hanger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/Header.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Avatar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Badge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Display.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/AgreementSelector.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Logo.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/MenuButton.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/PrimaryNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/SecondaryNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/HoverCard/HoverCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/HoverCard/Primitives.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/Icon.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountPreview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Accounting.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYear.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYearCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AiChatSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AiStars.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowBottom.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowEnd.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowStart.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowTop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Attach.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachAuto.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Autotext.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AutotextInsert.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Basic.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/BasicTabs.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/BellSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Book.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Booking.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Budget.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Calendar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CashAccount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CashReports.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartArea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartBar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartLine.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartPie.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Chat.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChatSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleClose.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleInformation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CirclePlus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleQuestionmark.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Clamp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ClampOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Close.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnFreeze.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Columns.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionEnable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionRevoke.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Contacts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Copy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Courses.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Credit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Delete.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DeletePermanently.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Depecriate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Developer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DistributionTemplate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Document.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentApprove.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentError.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMerge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMove.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentPreview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentReceived.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentSplit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentTime.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Download.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Drag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ECopedia.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ESignature.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Edit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EditSimple.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisVertical.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOnAccount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Envelope.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeApproved.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExpandView.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Expenses.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Export.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToExcel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToPdf.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOff.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOn.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Filter.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/FilterSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/FontSize.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/GraphSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Hash.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightExtraTall.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightMedium.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightShort.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightTall.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Home.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Images.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Import.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Inbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxEinvoicing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxScanning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxSmart.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Info.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Inventory.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InventoryMatrix.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/JournalPro.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Layout.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutBoth.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutFirst.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutLast.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutNone.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Lightbulb.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Line.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/List.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ListBulleted.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ListSearch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Location.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Lock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LockOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Log.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LogOut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Market.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MatchAmount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MatchEntries.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Menu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Mileage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ModalResize.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ModalShrink.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/More.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MoreSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Move.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NavigationList.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Note.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NoteFollowUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NoteRead.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Numbers.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PartnerApi.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentPaid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentUnpaid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Period.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonChange.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonPlus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PhoneSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Play.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PlusMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Print.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProcessPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProductLedgerCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Profile.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProjectCards.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Projects.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMark.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMarkBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Quicklinks.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RatingBankruptcy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Reconciled.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Refresh.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Report.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ReportSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Restore.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RotateLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RotateRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Sales.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SearchBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Secure.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SecureTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Settings.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SettingsSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Shortcuts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowAll.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowLess.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowMore.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowTemplate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Sliders.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Smartpay.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SortBy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Star.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/StarSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Subscriptions.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SystemEntries.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Tag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TemplateOverride.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Templates.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbBoth.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDownSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUpSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Tick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TickBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Time.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Transfer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TransferCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TransferLocked.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Undo.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Undock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Unreconciled.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Warning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Webshop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Website.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Workflow.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Zoom.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/index.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/IconButton/IconButton.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Input/Input.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Input/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/Layout.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Page.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Sidebar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Top.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/Listbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/ScrollableList.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useListbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useMultiListbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useTypeahead.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/Menu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Checkbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Header.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/RadioGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Separator.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/SubMenu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/ModeSwitch/ModeSwitch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation/Navigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/Navigation2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Section.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/OverflowGroup/OverflowGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/PageNumbers.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/usePagination.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/usePaginationShortcuts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/Popover.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/Primitives.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Progress/Progress.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Provider/Provider.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/RadioGroup/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Body/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Footer/Footer.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Footer/Summary.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core/components/Row/BuiltIns → components/Report/components/Row}/SkeletonRow.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Search/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/listeners/useTableRowActiveListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core/features → components/Report/styles}/useStylesheet.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/util/rows.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/ScrollArea/ScrollArea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/SearchInput2/SearchInput2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select/Select.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select/useSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/Select2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/All.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Collection.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Create.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Edit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Option.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Title.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/hooks/useChildren.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/utilities.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Shortcut/Shortcut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Spinner/Spinner.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Switch/Switch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/Table.storyexample.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/BaseTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/PaginatedTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/Table.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/WindowedTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useRowCreation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/renderColumn.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/renderRow.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/rowIndexPath.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/sortTypes.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tag/Tag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Textarea/Textarea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/Toast.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/Toaster.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tour/Tour.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Treeview/Treeview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Truncate/Truncate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Body/EmptyStateBody.js +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Body/util.js +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Footer/Footer.js +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core/components/Row/BuiltIns → components/Report/components/Row}/SkeletonRow.js +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/util.js +0 -0
- /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/util/rows.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{Core → useTableManager}/features/useTableRef.js +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useBoundaryOverflowDetection.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useBoundingClientRectListener.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useDebouncedEffect.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useGlobalKeyDown.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useId.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIntersectionObserver.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsFormControl.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsHoverStatePaused.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsLargeScreen.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useLazyEffect.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useLocalStorage.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useMatchMedia.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useMergedRef.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/usePrevious.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useTacoSettings.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/BubbleSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Collection/Collection.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Collection/components/Root.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/Listbox2.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Option.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Root.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Title.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/types.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/Sortable.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Container.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/List.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableDataLoader.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives/Table/Core → primitives/Table/useTableManager}/features/useTableRef.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/presets.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/search.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/setup.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
- /package/dist/{packages/taco/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{packages/taco/src/utils → utils}/aria.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/date.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/debounce.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/device.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useDraggable.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useDropTarget.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useListScrollTo.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useOnClickOutside.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useRefState.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useTimer.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useTruncated.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/input.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/keyboard.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/mergeRefs.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/storyutils.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/tailwind.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"FilterValue.js","sources":["../../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/components/FilterValue.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { Input } from '../../../../../../Input/Input';\nimport { Datepicker } from '../../../../../../Datepicker/Datepicker';\nimport { Switch } from '../../../../../../Switch/Switch';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { TableFilterComparator } from '../../../../../../../primitives/Table/types';\n\nexport type FilterValueProps<TType = unknown> = {\n column?: ReactTableColumn<TType, unknown>;\n comparator: TableFilterComparator;\n onChange: (value: any) => void;\n value: any;\n};\n\nconst querySelector = 'filter-value';\n\nexport function FilterValue<TType = unknown>(props: FilterValueProps<TType>) {\n const { column, comparator, onChange: handleChange, value } = props;\n const { texts } = useLocalization();\n\n if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {\n return null;\n }\n\n if (comparator === TableFilterComparator.IsBetween) {\n const fromValue = Array.isArray(value) ? value[0] : undefined;\n const toValue = Array.isArray(value) ? value[1] : undefined;\n\n if (column === undefined) {\n return (\n <Input\n aria-label={texts.table3.filters.emptyFilter.value}\n className=\"flex-grow\"\n data-query-selector={querySelector}\n disabled\n value={texts.table3.filters.emptyFilter.value}\n />\n );\n }\n\n if (column.columnDef.meta?.dataType === 'datetime') {\n return (\n <div className=\"flex flex-grow items-center gap-2\">\n <Control\n column={column}\n data-query-selector={querySelector}\n onChange={value => handleChange([value, toValue])}\n value={fromValue}\n />\n <Control\n column={column}\n data-query-selector={querySelector}\n onChange={value => handleChange([fromValue, value])}\n value={toValue}\n />\n </div>\n );\n }\n\n return (\n <div className=\"flex flex-grow items-center gap-2\">\n <Control\n column={column}\n data-query-selector={querySelector}\n onChange={value => handleChange([isNaN(value) ? undefined : value, toValue])}\n placeholder=\"from\"\n value={fromValue ?? ''}\n />\n <Control\n column={column}\n data-query-selector={querySelector}\n onChange={value => handleChange([fromValue, isNaN(value) ? undefined : value])}\n placeholder=\"to\"\n value={toValue ?? ''}\n />\n </div>\n );\n }\n return (\n <Control\n comparator={comparator}\n column={column}\n data-query-selector={querySelector}\n onChange={handleChange}\n value={value}\n />\n );\n}\n\nfunction Control(props) {\n const { column, comparator, onChange, value, ...attributes } = props;\n const controlRenderer = column?.columnDef.meta?.control;\n const dataType = column?.columnDef.meta?.dataType;\n\n useEffect(() => {\n if (controlRenderer === 'switch') {\n onChange(false);\n }\n }, []);\n\n if (typeof controlRenderer === 'function') {\n return React.cloneElement(\n controlRenderer({\n ...attributes,\n setValue: value => onChange(value),\n value,\n }),\n { ['data-query-selector']: querySelector, className: 'focus:yt-focus' }\n );\n } else if (controlRenderer === 'datepicker' || dataType === 'datetime') {\n return <Datepicker {...attributes} onChange={event => onChange((event as any).detail)} value={value as Date} />;\n } else if (controlRenderer === 'switch') {\n return <Switch {...attributes} className=\"m-1.5\" checked={Boolean(value)} onChange={onChange} />;\n } else if ((controlRenderer === 'input' || controlRenderer === undefined) && dataType === 'number') {\n return (\n <Input\n {...attributes}\n className=\"flex-grow\"\n type=\"number\"\n onChange={event => onChange(event.target.valueAsNumber)}\n value={String(value ?? '')}\n />\n );\n }\n\n return (\n <Input\n disabled={!column}\n {...attributes}\n className=\"flex-grow\"\n onChange={event => onChange(event.target.value)}\n value={String(value ?? '')}\n />\n );\n}\n"],"names":["querySelector","FilterValue","props","column","comparator","onChange","handleChange","value","texts","useLocalization","TableFilterComparator","IsEmpty","IsNotEmpty","IsBetween","_column$columnDef$met","fromValue","Array","isArray","undefined","toValue","React","Input","table3","filters","emptyFilter","className","disabled","columnDef","meta","dataType","Control","isNaN","placeholder","attributes","controlRenderer","_column$columnDef$met2","control","_column$columnDef$met3","useEffect","cloneElement","setValue","Datepicker","event","detail","Switch","checked","Boolean","type","target","valueAsNumber","String"],"mappings":";;;;;;;AAeA,MAAMA,aAAa,GAAG,cAAc;SAEpBC,WAAWA,CAAkBC,KAA8B;EACvE,MAAM;IAAEC,MAAM;IAAEC,UAAU;IAAEC,QAAQ,EAAEC,YAAY;IAAEC;GAAO,GAAGL,KAAK;EACnE,MAAM;IAAEM;GAAO,GAAGC,eAAe,EAAE;EAEnC,IAAIL,UAAU,KAAKM,qBAAqB,CAACC,OAAO,IAAIP,UAAU,KAAKM,qBAAqB,CAACE,UAAU,EAAE;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AAE;KAC3B;AAEV;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/util.ts"],"sourcesContent":["import { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { TableFilter } from '../../../../../../primitives/Table/types';\n\nexport function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>) {\n return (a.columnDef.meta?.header as string)?.localeCompare?.(b.columnDef.meta?.header as string);\n}\n\nexport function isEmptyFilter(filter: TableFilter) {\n return !filter.value.hasOwnProperty('value'); // eslint-disable-line no-prototype-builtins\n}\n"],"names":["sortByHeader","a","b","_a$columnDef$meta","columnDef","meta","_a$columnDef$meta$hea","header","_a$columnDef$meta$hea2","localeCompare","call","_b$columnDef$meta","isEmptyFilter","filter","value","hasOwnProperty"],"mappings":"SAGgBA,YAAYA,CAAkBC,CAA0B,EAAEC,CAA0B;;EAChG,QAAAC,iBAAA,GAAQF,CAAC,CAACG,SAAS,CAACC,IAAI,cAAAF,iBAAA,wBAAAG,qBAAA,GAAhBH,iBAAA,CAAkBI,MAAiB,cAAAD,qBAAA,wBAAAE,sBAAA,GAAnCF,qBAAA,CAAqCG,aAAa,cAAAD,sBAAA,uBAAlDA,sBAAA,CAAAE,IAAA,CAAAJ,qBAAA,GAAAK,iBAAA,GAAqDT,CAAC,CAACE,SAAS,CAACC,IAAI,cAAAM,iBAAA,uBAAhBA,iBAAA,CAAkBJ,MAAgB,CAAC;AACpG;SAEgBK,aAAaA,CAACC,MAAmB;EAC7C,OAAO,CAACA,MAAM,CAACC,KAAK,CAACC,cAAc,CAAC,OAAO,CAAC,CAAC;AACjD;;;;"}
|
package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { IconButton } from '../../../../../IconButton/IconButton.js';
|
3
|
+
import { useLocalization } from '../../../../../Provider/Localization.js';
|
4
|
+
import { Shortcut } from '../../../../../Shortcut/Shortcut.js';
|
5
|
+
import { useToast } from '../../../../../Toast/Toaster.js';
|
6
|
+
import { _catch } from '../../../../../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
|
7
|
+
import { PrintDialog } from './PrintDialog.js';
|
8
|
+
|
9
|
+
function Print(props) {
|
10
|
+
const {
|
11
|
+
table,
|
12
|
+
tableId,
|
13
|
+
tableRef
|
14
|
+
} = props;
|
15
|
+
const {
|
16
|
+
texts
|
17
|
+
} = useLocalization();
|
18
|
+
const ref = React__default.useRef(null);
|
19
|
+
const lastScrollTopRef = React__default.useRef();
|
20
|
+
const toast = useToast();
|
21
|
+
const tableMeta = table.options.meta;
|
22
|
+
const {
|
23
|
+
allRows,
|
24
|
+
orientation,
|
25
|
+
size,
|
26
|
+
splitGroups
|
27
|
+
} = tableMeta.printing.settings;
|
28
|
+
const togglePrinting = React__default.useCallback(enabled => {
|
29
|
+
tableMeta.printing.setIsPrinting(enabled);
|
30
|
+
if (tableRef.current) {
|
31
|
+
if (enabled) {
|
32
|
+
lastScrollTopRef.current = tableRef.current.scrollTop;
|
33
|
+
} else if (lastScrollTopRef.current !== undefined) {
|
34
|
+
tableRef.current.scrollTop = lastScrollTopRef.current;
|
35
|
+
lastScrollTopRef.current = undefined;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}, [tableRef.current]);
|
39
|
+
React__default.useEffect(() => {
|
40
|
+
const afterPrint = () => {
|
41
|
+
togglePrinting(false);
|
42
|
+
};
|
43
|
+
window.addEventListener('afterprint', afterPrint);
|
44
|
+
return () => {
|
45
|
+
window.removeEventListener('afterprint', afterPrint);
|
46
|
+
};
|
47
|
+
}, []);
|
48
|
+
const print = function () {
|
49
|
+
try {
|
50
|
+
function _temp3() {
|
51
|
+
// this might close immediately if the dataset is small - this is okay
|
52
|
+
toastRef.close();
|
53
|
+
// use a timeout to let the toast close, otherwise it freezes mid animation when the print dialog opens
|
54
|
+
setTimeout(() => {
|
55
|
+
// do this here because Safari doesn't support the beforeprint event
|
56
|
+
togglePrinting(true);
|
57
|
+
requestAnimationFrame(() => {
|
58
|
+
try {
|
59
|
+
// window.print doesn't always work in Safari :man_shrugging:
|
60
|
+
document.execCommand('print', false, undefined);
|
61
|
+
} catch {
|
62
|
+
window.print();
|
63
|
+
}
|
64
|
+
});
|
65
|
+
}, 150);
|
66
|
+
}
|
67
|
+
const toastRef = toast.loading(texts.table3.print.loading);
|
68
|
+
const _temp2 = function () {
|
69
|
+
if (tableMeta.server.isEnabled && tableMeta.server.loadAllIfNeeded) {
|
70
|
+
const _temp = _catch(function () {
|
71
|
+
return Promise.resolve(tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined)).then(function () {});
|
72
|
+
}, function (error) {
|
73
|
+
const errorMessage = `${texts.table3.print.error}: ${error}`;
|
74
|
+
console.error(errorMessage);
|
75
|
+
toastRef.error(errorMessage);
|
76
|
+
});
|
77
|
+
if (_temp && _temp.then) return _temp.then(function () {});
|
78
|
+
}
|
79
|
+
}();
|
80
|
+
return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(_temp3) : _temp3(_temp2));
|
81
|
+
} catch (e) {
|
82
|
+
return Promise.reject(e);
|
83
|
+
}
|
84
|
+
};
|
85
|
+
const printStyle = [`@page { size: ${size} ${orientation}; }`];
|
86
|
+
if (!allRows) {
|
87
|
+
printStyle.push(`table[data-taco='report']#${tableId} tr:not([data-row-selected="true"]) { display: none; }`);
|
88
|
+
}
|
89
|
+
if (splitGroups) {
|
90
|
+
printStyle.push(`table[data-taco='report']#${tableId} tr[data-row-group]:not(:first-child) { break-before: page; }`);
|
91
|
+
}
|
92
|
+
const shortcut = {
|
93
|
+
key: 'p',
|
94
|
+
meta: true,
|
95
|
+
shift: false
|
96
|
+
};
|
97
|
+
const tooltip = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, texts.table3.print.tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
|
98
|
+
className: "ml-2",
|
99
|
+
keys: shortcut
|
100
|
+
}));
|
101
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("style", {
|
102
|
+
media: "print"
|
103
|
+
}, printStyle.join('\n')), /*#__PURE__*/React__default.createElement(IconButton, {
|
104
|
+
icon: "print",
|
105
|
+
"aria-label": texts.table3.print.tooltip,
|
106
|
+
dialog: dialogProps => ( /*#__PURE__*/React__default.createElement(PrintDialog, Object.assign({}, dialogProps, {
|
107
|
+
table: table,
|
108
|
+
onAccept: print,
|
109
|
+
orientation: orientation,
|
110
|
+
setOrientation: value => tableMeta.printing.setSetting('orientation', value),
|
111
|
+
size: size,
|
112
|
+
setSize: value => tableMeta.printing.setSetting('size', value),
|
113
|
+
allRows: allRows,
|
114
|
+
setAllRows: value => tableMeta.printing.setSetting('allRows', value),
|
115
|
+
splitGroups: splitGroups,
|
116
|
+
setSplitGroups: value => tableMeta.printing.setSetting('splitGroups', value)
|
117
|
+
}))),
|
118
|
+
ref: ref,
|
119
|
+
shortcut: shortcut,
|
120
|
+
tooltip: tooltip
|
121
|
+
}));
|
122
|
+
}
|
123
|
+
|
124
|
+
export { Print };
|
125
|
+
//# sourceMappingURL=Print.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Print.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Print/Print.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { IconButton } from '../../../../../IconButton/IconButton';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { useToast } from '../../../../../Toast/Toaster';\nimport { TableRef } from '../../../../../../primitives/Table/types';\nimport { PrintDialog } from './PrintDialog';\nimport { Shortcut } from '../../../../../Shortcut/Shortcut';\n\nexport type PrintProps<TType = unknown> = {\n table: ReactTable<TType>;\n tableId: string;\n tableRef: React.RefObject<TableRef>;\n};\n\nexport function Print<TType = unknown>(props: PrintProps<TType>) {\n const { table, tableId, tableRef } = props;\n const { texts } = useLocalization();\n const ref = React.useRef<HTMLButtonElement>(null);\n const lastScrollTopRef = React.useRef<number>();\n const toast = useToast();\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const { allRows, orientation, size, splitGroups } = tableMeta.printing.settings;\n\n const togglePrinting = React.useCallback(\n enabled => {\n tableMeta.printing.setIsPrinting(enabled);\n\n if (tableRef.current) {\n if (enabled) {\n lastScrollTopRef.current = tableRef.current.scrollTop;\n } else if (lastScrollTopRef.current !== undefined) {\n tableRef.current.scrollTop = lastScrollTopRef.current;\n lastScrollTopRef.current = undefined;\n }\n }\n },\n [tableRef.current]\n );\n\n React.useEffect(() => {\n const afterPrint = () => {\n togglePrinting(false);\n };\n\n window.addEventListener('afterprint', afterPrint);\n\n return () => {\n window.removeEventListener('afterprint', afterPrint);\n };\n }, []);\n\n const print = async () => {\n const toastRef = toast.loading(texts.table3.print.loading);\n\n if (tableMeta.server.isEnabled && tableMeta.server.loadAllIfNeeded) {\n try {\n await tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined);\n } catch (error) {\n const errorMessage = `${texts.table3.print.error}: ${error}`;\n console.error(errorMessage);\n toastRef.error(errorMessage);\n }\n }\n\n // this might close immediately if the dataset is small - this is okay\n toastRef.close();\n\n // use a timeout to let the toast close, otherwise it freezes mid animation when the print dialog opens\n setTimeout(() => {\n // do this here because Safari doesn't support the beforeprint event\n togglePrinting(true);\n\n requestAnimationFrame(() => {\n try {\n // window.print doesn't always work in Safari :man_shrugging:\n document.execCommand('print', false, undefined);\n } catch {\n window.print();\n }\n });\n }, 150);\n };\n\n const printStyle = [`@page { size: ${size} ${orientation}; }`];\n\n if (!allRows) {\n printStyle.push(`table[data-taco='report']#${tableId} tr:not([data-row-selected=\"true\"]) { display: none; }`);\n }\n\n if (splitGroups) {\n printStyle.push(`table[data-taco='report']#${tableId} tr[data-row-group]:not(:first-child) { break-before: page; }`);\n }\n\n const shortcut = { key: 'p', meta: true, shift: false };\n const tooltip = (\n <>\n {texts.table3.print.tooltip}\n <Shortcut className=\"ml-2\" keys={shortcut} />\n </>\n );\n\n return (\n <>\n <style media=\"print\">{printStyle.join('\\n')}</style>\n <IconButton\n icon=\"print\"\n aria-label={texts.table3.print.tooltip}\n dialog={dialogProps => (\n <PrintDialog\n {...dialogProps}\n table={table}\n onAccept={print}\n orientation={orientation}\n setOrientation={value => tableMeta.printing.setSetting('orientation', value)}\n size={size}\n setSize={value => tableMeta.printing.setSetting('size', value)}\n allRows={allRows}\n setAllRows={value => tableMeta.printing.setSetting('allRows', value)}\n splitGroups={splitGroups}\n setSplitGroups={value => tableMeta.printing.setSetting('splitGroups', value)}\n />\n )}\n ref={ref}\n shortcut={shortcut}\n tooltip={tooltip}\n />\n </>\n );\n}\n"],"names":["Print","props","table","tableId","tableRef","texts","useLocalization","ref","React","useRef","lastScrollTopRef","toast","useToast","tableMeta","options","meta","allRows","orientation","size","splitGroups","printing","settings","togglePrinting","useCallback","enabled","setIsPrinting","current","scrollTop","undefined","useEffect","afterPrint","window","addEventListener","removeEventListener","print","toastRef","close","setTimeout","requestAnimationFrame","document","execCommand","loading","table3","_temp2","server","isEnabled","loadAllIfNeeded","_temp","_catch","Promise","resolve","getState","sorting","columnFilters","then","error","errorMessage","console","_temp3","e","reject","printStyle","push","shortcut","key","shift","tooltip","Shortcut","className","keys","media","join","IconButton","icon","dialog","dialogProps","PrintDialog","onAccept","setOrientation","value","setSetting","setSize","setAllRows","setSplitGroups"],"mappings":";;;;;;;;SAegBA,KAAKA,CAAkBC,KAAwB;EAC3D,MAAM;IAAEC,KAAK;IAAEC,OAAO;IAAEC;GAAU,GAAGH,KAAK;EAC1C,MAAM;IAAEI;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EACjD,MAAMC,gBAAgB,GAAGF,cAAK,CAACC,MAAM,EAAU;EAC/C,M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IAAI,EAAE,IAAI;IAAEkD,KAAK,EAAE;GAAO;EACvD,MAAMC,OAAO,gBACT1D,4DACKH,KAAK,CAACqC,MAAM,CAACR,KAAK,CAACgC,OAAO,eAC3B1D,6BAAC2D,QAAQ;IAACC,SAAS,EAAC,MAAM;IAACC,IAAI,EAAEN;IAAY,CAEpD;EAED,oBACIvD,yEACIA;IAAO8D,KAAK,EAAC;KAAST,UAAU,CAACU,IAAI,CAAC,IAAI,CAAC,CAAS,eACpD/D,6BAACgE,UAAU;IACPC,IAAI,EAAC,OAAO;kBACApE,KAAK,CAACqC,MAAM,CAACR,KAAK,CAACgC,OAAO;IACtCQ,MAAM,EAAEC,WAAW,mBACfnE,6BAACoE,WAAW,oBACJD,WAAW;MACfzE,KAAK,EAAEA,KAAK;MACZ2E,QAAQ,EAAE3C,KAAK;MACfjB,WAAW,EAAEA,WAAW;MACxB6D,cAAc,EAAEC,KAAK,IAAIlE,SAAS,CAACO,QAAQ,CAAC4D,UAAU,CAAC,aAAa,EAAED,KAAK,CAAC;MAC5E7D,IAAI,EAAEA,IAAI;MACV+D,OAAO,EAAEF,KAAK,IAAIlE,SAAS,CAACO,QAAQ,CAAC4D,UAAU,CAAC,MAAM,EAAED,KAAK,CAAC;MAC9D/D,OAAO,EAAEA,OAAO;MAChBkE,UAAU,EAAEH,KAAK,IAAIlE,SAAS,CAACO,QAAQ,CAAC4D,UAAU,CAAC,SAAS,EAAED,KAAK,CAAC;MACpE5D,WAAW,EAAEA,WAAW;MACxBgE,cAAc,EAAEJ,KAAK,IAAIlE,SAAS,CAACO,QAAQ,CAAC4D,UAAU,CAAC,aAAa,EAAED,KAAK;OAC7E,CACL;IACDxE,GAAG,EAAEA,GAAG;IACRwD,QAAQ,EAAEA,QAAQ;IAClBG,OAAO,EAAEA;IACX,CACH;AAEX;;;;"}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { Alert } from '../../../../../Alert/Alert.js';
|
3
|
+
import { useLocalization } from '../../../../../Provider/Localization.js';
|
4
|
+
import { Button } from '../../../../../Button/Button.js';
|
5
|
+
import { Checkbox } from '../../../../../Checkbox/Checkbox.js';
|
6
|
+
import { Dialog } from '../../../../../Dialog/Dialog.js';
|
7
|
+
import { Group } from '../../../../../Group/Group.js';
|
8
|
+
import { Field } from '../../../../../Field/Field.js';
|
9
|
+
import { RadioGroup } from '../../../../../RadioGroup/RadioGroup.js';
|
10
|
+
import { Select2 } from '../../../../../Select2/Select2.js';
|
11
|
+
|
12
|
+
const SAFE_PRINT_CELL_COUNT = 10000;
|
13
|
+
function PrintDialog(props) {
|
14
|
+
var _columns$find, _columns$find$columnD;
|
15
|
+
const {
|
16
|
+
onAccept,
|
17
|
+
table,
|
18
|
+
orientation,
|
19
|
+
setOrientation,
|
20
|
+
size,
|
21
|
+
setSize,
|
22
|
+
allRows,
|
23
|
+
setAllRows,
|
24
|
+
splitGroups,
|
25
|
+
setSplitGroups,
|
26
|
+
...dialogProps
|
27
|
+
} = props;
|
28
|
+
const {
|
29
|
+
texts
|
30
|
+
} = useLocalization();
|
31
|
+
const columns = table.getVisibleFlatColumns();
|
32
|
+
const cellCount = table.getRowModel().rows.length * columns.length;
|
33
|
+
const rowGroupingColumnName = table.getState().grouping.length ? (_columns$find = columns.find(column => column.id === table.getState().grouping[0])) === null || _columns$find === void 0 ? void 0 : (_columns$find$columnD = _columns$find.columnDef.meta) === null || _columns$find$columnD === void 0 ? void 0 : _columns$find$columnD.header : undefined;
|
34
|
+
return /*#__PURE__*/React__default.createElement(Dialog, Object.assign({}, dialogProps, {
|
35
|
+
size: "xs"
|
36
|
+
}), /*#__PURE__*/React__default.createElement(Dialog.Content, {
|
37
|
+
"aria-label": texts.table3.print.warningDialog.title
|
38
|
+
}, ({
|
39
|
+
close
|
40
|
+
}) => ( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Dialog.Title, null, texts.table3.print.settingsDialog.title), /*#__PURE__*/React__default.createElement("div", {
|
41
|
+
className: "mt-4 flex flex-col gap-2"
|
42
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
43
|
+
className: "grid grid-cols-2 gap-4"
|
44
|
+
}, /*#__PURE__*/React__default.createElement(Field, null, texts.table3.print.settingsDialog.size, /*#__PURE__*/React__default.createElement(Select2, {
|
45
|
+
onChange: setSize,
|
46
|
+
value: size
|
47
|
+
}, /*#__PURE__*/React__default.createElement(Select2.Option, {
|
48
|
+
value: "A5"
|
49
|
+
}, texts.table3.print.settingsDialog.sizeA5), /*#__PURE__*/React__default.createElement(Select2.Option, {
|
50
|
+
value: "A4"
|
51
|
+
}, texts.table3.print.settingsDialog.sizeA4), /*#__PURE__*/React__default.createElement(Select2.Option, {
|
52
|
+
value: "A3"
|
53
|
+
}, texts.table3.print.settingsDialog.sizeA3), /*#__PURE__*/React__default.createElement(Select2.Option, {
|
54
|
+
value: "letter"
|
55
|
+
}, texts.table3.print.settingsDialog.sizeLetter), /*#__PURE__*/React__default.createElement(Select2.Option, {
|
56
|
+
value: "legal"
|
57
|
+
}, texts.table3.print.settingsDialog.sizeLegal))), /*#__PURE__*/React__default.createElement(Field, null, texts.table3.print.settingsDialog.orientation, /*#__PURE__*/React__default.createElement(Select2, {
|
58
|
+
onChange: setOrientation,
|
59
|
+
value: orientation
|
60
|
+
}, /*#__PURE__*/React__default.createElement(Select2.Option, {
|
61
|
+
value: "landscape"
|
62
|
+
}, texts.table3.print.settingsDialog.orientationLandscape), /*#__PURE__*/React__default.createElement(Select2.Option, {
|
63
|
+
value: "portrait"
|
64
|
+
}, texts.table3.print.settingsDialog.orientationPortrait)))), table.options.enableRowSelection && table.getIsSomeRowsSelected() ? ( /*#__PURE__*/React__default.createElement(Field, null, texts.table3.print.settingsDialog.rows, /*#__PURE__*/React__default.createElement(RadioGroup, {
|
65
|
+
onChange: setAllRows,
|
66
|
+
value: allRows
|
67
|
+
}, /*#__PURE__*/React__default.createElement(RadioGroup.Item, {
|
68
|
+
value: true
|
69
|
+
}, texts.table3.print.settingsDialog.rowsAll), /*#__PURE__*/React__default.createElement(RadioGroup.Item, {
|
70
|
+
value: false
|
71
|
+
}, texts.table3.print.settingsDialog.rowsSelected)))) : undefined, rowGroupingColumnName ? ( /*#__PURE__*/React__default.createElement(Field, null, texts.table3.print.settingsDialog.layout, /*#__PURE__*/React__default.createElement(Checkbox, {
|
72
|
+
label: texts.table3.print.settingsDialog.layoutSplitGroups.replace('[COLUMN]', rowGroupingColumnName),
|
73
|
+
checked: splitGroups,
|
74
|
+
onChange: setSplitGroups
|
75
|
+
}))) : null, cellCount > SAFE_PRINT_CELL_COUNT ? ( /*#__PURE__*/React__default.createElement(Alert, {
|
76
|
+
state: "warning"
|
77
|
+
}, texts.table3.print.warningDialog.description)) : null), /*#__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, null, texts.table3.print.warningDialog.cancelButtonText)), /*#__PURE__*/React__default.createElement(Button, {
|
78
|
+
appearance: "primary",
|
79
|
+
autoFocus: true,
|
80
|
+
onClick: () => {
|
81
|
+
close();
|
82
|
+
setTimeout(() => onAccept(), 1);
|
83
|
+
}
|
84
|
+
}, texts.table3.print.warningDialog.printButtonText)))))));
|
85
|
+
}
|
86
|
+
|
87
|
+
export { PrintDialog };
|
88
|
+
//# sourceMappingURL=PrintDialog.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PrintDialog.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Print/PrintDialog.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { Dialog } from '../../../../../Dialog/Dialog';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { Checkbox } from '../../../../../Checkbox/Checkbox';\nimport { Group } from '../../../../../Group/Group';\nimport { Button } from '../../../../../Button/Button';\nimport { Field } from '../../../../../Field/Field';\nimport { Select2, Select2Value } from '../../../../../Select2/Select2';\nimport { RadioGroup, RadioGroupItemValue } from '../../../../../RadioGroup/RadioGroup';\nimport { Alert } from '../../../../../Alert/Alert';\n\nconst SAFE_PRINT_CELL_COUNT = 10000;\n\nexport type PrintDialogProps<TType = unknown> = {\n table: ReactTable<TType>;\n onAccept: () => void;\n orientation: Select2Value;\n setOrientation: (orientation: Select2Value) => void;\n size: Select2Value;\n setSize: (size: Select2Value) => void;\n allRows: RadioGroupItemValue;\n setAllRows: (allRows: RadioGroupItemValue) => void;\n splitGroups: boolean;\n setSplitGroups: (splitGroups: boolean) => void;\n};\n\nexport function PrintDialog<TType = unknown>(props: PrintDialogProps<TType>) {\n const {\n onAccept,\n table,\n orientation,\n setOrientation,\n size,\n setSize,\n allRows,\n setAllRows,\n splitGroups,\n setSplitGroups,\n ...dialogProps\n } = props;\n const { texts } = useLocalization();\n\n const columns = table.getVisibleFlatColumns();\n const cellCount = table.getRowModel().rows.length * columns.length;\n const rowGroupingColumnName = table.getState().grouping.length\n ? columns.find(column => column.id === table.getState().grouping[0])?.columnDef.meta?.header\n : undefined;\n\n return (\n <Dialog {...dialogProps} size=\"xs\">\n <Dialog.Content aria-label={texts.table3.print.warningDialog.title}>\n {({ close }) => (\n <>\n <Dialog.Title>{texts.table3.print.settingsDialog.title}</Dialog.Title>\n <div className=\"mt-4 flex flex-col gap-2\">\n <div className=\"grid grid-cols-2 gap-4\">\n <Field>\n {texts.table3.print.settingsDialog.size}\n <Select2 onChange={setSize} value={size}>\n <Select2.Option value=\"A5\">{texts.table3.print.settingsDialog.sizeA5}</Select2.Option>\n <Select2.Option value=\"A4\">{texts.table3.print.settingsDialog.sizeA4}</Select2.Option>\n <Select2.Option value=\"A3\">{texts.table3.print.settingsDialog.sizeA3}</Select2.Option>\n <Select2.Option value=\"letter\">\n {texts.table3.print.settingsDialog.sizeLetter}\n </Select2.Option>\n <Select2.Option value=\"legal\">\n {texts.table3.print.settingsDialog.sizeLegal}\n </Select2.Option>\n </Select2>\n </Field>\n <Field>\n {texts.table3.print.settingsDialog.orientation}\n <Select2 onChange={setOrientation} value={orientation}>\n <Select2.Option value=\"landscape\">\n {texts.table3.print.settingsDialog.orientationLandscape}\n </Select2.Option>\n <Select2.Option value=\"portrait\">\n {texts.table3.print.settingsDialog.orientationPortrait}\n </Select2.Option>\n </Select2>\n </Field>\n </div>\n {table.options.enableRowSelection && table.getIsSomeRowsSelected() ? (\n <Field>\n {texts.table3.print.settingsDialog.rows}\n <RadioGroup onChange={setAllRows} value={allRows}>\n <RadioGroup.Item value={true}>\n {texts.table3.print.settingsDialog.rowsAll}\n </RadioGroup.Item>\n <RadioGroup.Item value={false}>\n {texts.table3.print.settingsDialog.rowsSelected}\n </RadioGroup.Item>\n </RadioGroup>\n </Field>\n ) : undefined}\n {rowGroupingColumnName ? (\n <Field>\n {texts.table3.print.settingsDialog.layout}\n <Checkbox\n label={texts.table3.print.settingsDialog.layoutSplitGroups.replace(\n '[COLUMN]',\n rowGroupingColumnName\n )}\n checked={splitGroups}\n onChange={setSplitGroups}\n />\n </Field>\n ) : null}\n\n {cellCount > SAFE_PRINT_CELL_COUNT ? (\n <Alert state=\"warning\">{texts.table3.print.warningDialog.description}</Alert>\n ) : null}\n </div>\n <Dialog.Footer>\n <Group>\n <Dialog.Close>\n <Button>{texts.table3.print.warningDialog.cancelButtonText}</Button>\n </Dialog.Close>\n <Button\n appearance=\"primary\"\n autoFocus\n onClick={() => {\n close();\n setTimeout(() => onAccept(), 1);\n }}>\n {texts.table3.print.warningDialog.printButtonText}\n </Button>\n </Group>\n </Dialog.Footer>\n </>\n )}\n </Dialog.Content>\n </Dialog>\n );\n}\n"],"names":["SAFE_PRINT_CELL_COUNT","PrintDialog","props","onAccept","table","orientation","setOrientation","size","setSize","allRows","setAllRows","splitGroups","setSplitGroups","dialogProps","texts","useLocalization","columns","getVisibleFlatColumns","cellCount","getRowModel","rows","length","rowGroupingColumnName","getState","grouping","_columns$find","find","column","id","_columns$find$columnD","columnDef","meta","header","undefined","React","Dialog","Content","table3","print","warningDialog","title","close","Title","settingsDialog","className","Field","Select2","onChange","value","Option","sizeA5","sizeA4","sizeA3","sizeLetter","sizeLegal","orientationLandscape","orientationPortrait","options","enableRowSelection","getIsSomeRowsSelected","RadioGroup","Item","rowsAll","rowsSelected","layout","Checkbox","label","layoutSplitGroups","replace","checked","Alert","state","description","Footer","Group","Close","Button","cancelButtonText","appearance","autoFocus","onClick","setTimeout","printButtonText"],"mappings":";;;;;;;;;;;AAYA,MAAMA,qBAAqB,GAAG,KAAK;SAenBC,WAAWA,CAAkBC,KAA8B;;EACvE,MAAM;IACFC,QAAQ;IACRC,KAAK;IACLC,WAAW;IACXC,cAAc;IACdC,IAAI;IACJC,OAAO;IACPC,OAAO;IACPC,UAAU;IACVC,WAAW;IACXC,cAAc;IACd,GAAGC;GACN,GAAGX,KAAK;EACT,MAAM;IAAEY;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,OAAO,GAAGZ,KAAK,CAACa,qBAAqB,EAAE;EAC7C,MAAMC,SAAS,GAAGd,KAAK,CAACe,WAAW,EAAE,CAACC,IAAI,CAACC,MAAM,GAAGL,OAAO,CAACK,MAAM;EAClE,MAAMC,qBAAqB,GAAGlB,KAAK,CAACmB,QAAQ,EAAE,CAACC,QAAQ,CAACH,MAAM,IAAAI,aAAA,GACxDT,OAAO,CAACU,IAAI,CAACC,MAAM,IAAIA,MAAM,CAACC,EAAE,KAAKxB,KAAK,CAACmB,QAAQ,EAAE,CAACC,QAAQ,CAAC,CAAC,CAAC,CAAC,cAAAC,aAAA,wBAAAI,qBAAA,GAAlEJ,aAAA,CAAoEK,SAAS,CAACC,IAAI,cAAAF,qBAAA,uBAAlFA,qBAAA,CAAoFG,MAAM,GAC1FC,SAAS;EAEf,oBACIC,6BAACC,MAAM,oBAAKtB,WAAW;IAAEN,IAAI,EAAC;mBAC1B2B,6BAACC,MAAM,CAACC,OAAO;kBAAatB,KAAK,CAACuB,MAAM,CAAC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ACwC,KAAK,qBACFxC,6BAACC,MAAM,CAACwC,KAAK,qBACTzC,6BAAC0C,MAAM,QAAE9D,KAAK,CAACuB,MAAM,CAACC,KAAK,CAACC,aAAa,CAACsC,gBAAgB,CAAU,CACzD,eACf3C,6BAAC0C,MAAM;IACHE,UAAU,EAAC,SAAS;IACpBC,SAAS;IACTC,OAAO,EAAEA;MACLvC,KAAK,EAAE;MACPwC,UAAU,CAAC,MAAM9E,QAAQ,EAAE,EAAE,CAAC,CAAC;;KAElCW,KAAK,CAACuB,MAAM,CAACC,KAAK,CAACC,aAAa,CAAC2C,eAAe,CAC5C,CACL,CACI,CACjB,CACN,CACY,CACZ;AAEjB;;;;"}
|
package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { useLocalization } from '../../../../../Provider/Localization.js';
|
3
|
+
import { TableServerLoadAllState } from '../../../../../../primitives/Table/types.js';
|
4
|
+
import { SearchInput2 } from '../../../../../SearchInput2/SearchInput2.js';
|
5
|
+
import { Switch } from '../../../../../Switch/Switch.js';
|
6
|
+
|
7
|
+
function Search(props) {
|
8
|
+
var _tableMeta$search$hig, _tableMeta$search$hig2;
|
9
|
+
const {
|
10
|
+
scrollToIndex,
|
11
|
+
table
|
12
|
+
} = props;
|
13
|
+
const {
|
14
|
+
texts
|
15
|
+
} = useLocalization();
|
16
|
+
const ref = React__default.useRef(null);
|
17
|
+
const tableMeta = table.options.meta;
|
18
|
+
const query = table.getState().globalFilter;
|
19
|
+
const scrollTo = rowIndex => scrollToIndex(rowIndex, {
|
20
|
+
align: 'center'
|
21
|
+
});
|
22
|
+
React__default.useEffect(() => {
|
23
|
+
if (tableMeta.search.highlightedColumnIndexes.length) {
|
24
|
+
scrollTo(tableMeta.search.highlightedColumnIndexes[0][0]);
|
25
|
+
}
|
26
|
+
}, [tableMeta.search.highlightedColumnIndexes.length]);
|
27
|
+
const handleFocus = function () {
|
28
|
+
try {
|
29
|
+
const _temp = function () {
|
30
|
+
if (tableMeta.server.loadAllIfNeeded) {
|
31
|
+
// don't pass the search query because we need all data - not filtered data
|
32
|
+
return Promise.resolve(tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined)).then(function () {});
|
33
|
+
}
|
34
|
+
}();
|
35
|
+
// load all data if that is possible
|
36
|
+
return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
|
37
|
+
} catch (e) {
|
38
|
+
return Promise.reject(e);
|
39
|
+
}
|
40
|
+
};
|
41
|
+
const handleChange = query => {
|
42
|
+
table.setGlobalFilter(String(query !== null && query !== void 0 ? query : ''));
|
43
|
+
};
|
44
|
+
const handleToggleExcludeUnmatchedResults = enabled => {
|
45
|
+
tableMeta.search.setEnableGlobalFilter(enabled, table);
|
46
|
+
requestAnimationFrame(() => {
|
47
|
+
var _ref$current;
|
48
|
+
return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus();
|
49
|
+
});
|
50
|
+
};
|
51
|
+
const handleNextResult = () => {
|
52
|
+
if (!tableMeta.search.highlightedColumnIndexes.length) {
|
53
|
+
return;
|
54
|
+
}
|
55
|
+
const nextIndex = tableMeta.search.currentHighlightColumnIndex === undefined || tableMeta.search.currentHighlightColumnIndex === tableMeta.search.highlightedColumnIndexes.length - 1 ? 0 : tableMeta.search.currentHighlightColumnIndex + 1;
|
56
|
+
tableMeta.search.setCurrentHighlightColumnIndex(nextIndex);
|
57
|
+
// we scroll to the row here, the cell scrolls itself into view
|
58
|
+
scrollTo(tableMeta.search.highlightedColumnIndexes[nextIndex][0]);
|
59
|
+
};
|
60
|
+
const handlePreviousResult = () => {
|
61
|
+
if (!tableMeta.search.highlightedColumnIndexes.length) {
|
62
|
+
return;
|
63
|
+
}
|
64
|
+
const nextIndex = tableMeta.search.currentHighlightColumnIndex === undefined ? 0 : tableMeta.search.currentHighlightColumnIndex === 0 ? tableMeta.search.highlightedColumnIndexes.length - 1 : tableMeta.search.currentHighlightColumnIndex - 1;
|
65
|
+
tableMeta.search.setCurrentHighlightColumnIndex(nextIndex);
|
66
|
+
// we scroll to the row here, the cell scrolls itself into view
|
67
|
+
scrollTo(tableMeta.search.highlightedColumnIndexes[nextIndex][0]);
|
68
|
+
};
|
69
|
+
const settings = /*#__PURE__*/React__default.createElement(Switch, {
|
70
|
+
label: texts.table3.search.excludeUnmatchedResults,
|
71
|
+
checked: !!table.options.enableGlobalFilter,
|
72
|
+
onChange: handleToggleExcludeUnmatchedResults
|
73
|
+
});
|
74
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SearchInput2, {
|
75
|
+
findCurrent: tableMeta.search.currentHighlightColumnIndex !== undefined ? tableMeta.search.currentHighlightColumnIndex + 1 : null,
|
76
|
+
findTotal: (_tableMeta$search$hig = (_tableMeta$search$hig2 = tableMeta.search.highlightedColumnIndexes) === null || _tableMeta$search$hig2 === void 0 ? void 0 : _tableMeta$search$hig2.length) !== null && _tableMeta$search$hig !== void 0 ? _tableMeta$search$hig : null,
|
77
|
+
loading: tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading,
|
78
|
+
onClickFindPrevious: handlePreviousResult,
|
79
|
+
onClickFindNext: handleNextResult,
|
80
|
+
onChange: handleChange,
|
81
|
+
onFocus: handleFocus,
|
82
|
+
placeholder: texts.table3.search.placeholder,
|
83
|
+
settingsContent: settings,
|
84
|
+
ref: ref,
|
85
|
+
shortcut: {
|
86
|
+
key: 'f',
|
87
|
+
meta: true,
|
88
|
+
shift: false
|
89
|
+
},
|
90
|
+
value: query
|
91
|
+
}));
|
92
|
+
}
|
93
|
+
|
94
|
+
export { Search };
|
95
|
+
//# sourceMappingURL=Search.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Search.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Search/Search.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { SearchInput2 } from '../../../../../SearchInput2/SearchInput2';\nimport { Switch } from '../../../../../Switch/Switch';\nimport { TableServerLoadAllState } from '../../../../../../primitives/Table/types';\n\ntype SearchProps<TType = unknown> = {\n scrollToIndex: any;\n table: ReactTable<TType>;\n};\n\nexport function Search<TType = unknown>(props: SearchProps<TType>) {\n const { scrollToIndex, table } = props;\n const { texts } = useLocalization();\n const ref = React.useRef<HTMLInputElement>(null);\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const query = table.getState().globalFilter;\n const scrollTo = (rowIndex: number) => scrollToIndex(rowIndex, { align: 'center' });\n\n React.useEffect(() => {\n if (tableMeta.search.highlightedColumnIndexes.length) {\n scrollTo(tableMeta.search.highlightedColumnIndexes[0][0]);\n }\n }, [tableMeta.search.highlightedColumnIndexes.length]);\n\n const handleFocus = async () => {\n // load all data if that is possible\n if (tableMeta.server.loadAllIfNeeded) {\n // don't pass the search query because we need all data - not filtered data\n await tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined);\n }\n };\n\n const handleChange = (query: any) => {\n table.setGlobalFilter(String(query ?? ''));\n };\n\n const handleToggleExcludeUnmatchedResults = (enabled: boolean) => {\n tableMeta.search.setEnableGlobalFilter(enabled, table);\n requestAnimationFrame(() => ref.current?.focus());\n };\n\n const handleNextResult = () => {\n if (!tableMeta.search.highlightedColumnIndexes.length) {\n return;\n }\n\n const nextIndex =\n tableMeta.search.currentHighlightColumnIndex === undefined ||\n tableMeta.search.currentHighlightColumnIndex === tableMeta.search.highlightedColumnIndexes.length - 1\n ? 0\n : tableMeta.search.currentHighlightColumnIndex + 1;\n\n tableMeta.search.setCurrentHighlightColumnIndex(nextIndex);\n // we scroll to the row here, the cell scrolls itself into view\n scrollTo(tableMeta.search.highlightedColumnIndexes[nextIndex][0]);\n };\n\n const handlePreviousResult = () => {\n if (!tableMeta.search.highlightedColumnIndexes.length) {\n return;\n }\n\n const nextIndex =\n tableMeta.search.currentHighlightColumnIndex === undefined\n ? 0\n : tableMeta.search.currentHighlightColumnIndex === 0\n ? tableMeta.search.highlightedColumnIndexes.length - 1\n : tableMeta.search.currentHighlightColumnIndex - 1;\n\n tableMeta.search.setCurrentHighlightColumnIndex(nextIndex);\n // we scroll to the row here, the cell scrolls itself into view\n scrollTo(tableMeta.search.highlightedColumnIndexes[nextIndex][0]);\n };\n\n const settings = (\n <Switch\n label={texts.table3.search.excludeUnmatchedResults}\n checked={!!table.options.enableGlobalFilter}\n onChange={handleToggleExcludeUnmatchedResults}\n />\n );\n\n return (\n <>\n <SearchInput2\n findCurrent={\n tableMeta.search.currentHighlightColumnIndex !== undefined\n ? tableMeta.search.currentHighlightColumnIndex + 1\n : null\n }\n findTotal={tableMeta.search.highlightedColumnIndexes?.length ?? null}\n loading={tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading}\n onClickFindPrevious={handlePreviousResult}\n onClickFindNext={handleNextResult}\n onChange={handleChange}\n onFocus={handleFocus}\n placeholder={texts.table3.search.placeholder}\n settingsContent={settings}\n ref={ref}\n shortcut={{ key: 'f', meta: true, shift: false }}\n value={query}\n />\n </>\n );\n}\n"],"names":["Search","props","scrollToIndex","table","texts","useLocalization","ref","React","useRef","tableMeta","options","meta","query","getState","globalFilter","scrollTo","rowIndex","align","useEffect","search","highlightedColumnIndexes","length","handleFocus","server","loadAllIfNeeded","Promise","resolve","sorting","columnFilters","undefined","then","_temp","e","reject","handleChange","setGlobalFilter","String","handleToggleExcludeUnmatchedResults","enabled","setEnableGlobalFilter","requestAnimationFrame","_ref$current","current","focus","handleNextResult","nextIndex","currentHighlightColumnIndex","setCurrentHighlightColumnIndex","handlePreviousResult","settings","Switch","label","table3","excludeUnmatchedResults","checked","enableGlobalFilter","onChange","SearchInput2","findCurrent","findTotal","_tableMeta$search$hig","_tableMeta$search$hig2","loading","loadAllStatus","TableServerLoadAllState","Loading","onClickFindPrevious","onCl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react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Icon } from '../../../../../Icon/Icon.js';
|
4
|
+
import { useLocalization } from '../../../../../Provider/Localization.js';
|
5
|
+
import { Checkbox } from '../../../../../Checkbox/Checkbox.js';
|
6
|
+
import { Input } from '../../../../../Input/Input.js';
|
7
|
+
import { Popover } from '../../../../../Popover/Popover.js';
|
8
|
+
import { isInternalColumn, ensureOrdering } from '../../../../../../primitives/Table/useTableManager/util/columns.js';
|
9
|
+
import { Container } from '../../../../../../primitives/Sortable/components/Container.js';
|
10
|
+
import { arrayMove } from '@dnd-kit/sortable';
|
11
|
+
import { Item } from '../../../../../../primitives/Sortable/components/Item.js';
|
12
|
+
import { List } from '../../../../../../primitives/Sortable/components/List.js';
|
13
|
+
|
14
|
+
const Column = /*#__PURE__*/React__default.forwardRef(function Column(props, ref) {
|
15
|
+
var _column$parent, _column$parent$column, _column$columnDef$met;
|
16
|
+
const {
|
17
|
+
column,
|
18
|
+
draggable = false,
|
19
|
+
...dragAttributes
|
20
|
+
} = props;
|
21
|
+
const canHide = column.getCanHide();
|
22
|
+
const className = cn('group/column flex items-center gap-x-2 rounded py-1 px-2', {
|
23
|
+
'hover:bg-grey-200': canHide || draggable,
|
24
|
+
'hover:cursor-pointer': canHide,
|
25
|
+
'active:cursor-move active:bg-grey-300': draggable
|
26
|
+
});
|
27
|
+
const attributes = draggable ? dragAttributes : undefined;
|
28
|
+
const isVisible = column.getIsVisible();
|
29
|
+
const parentHeader = (_column$parent = column.parent) === null || _column$parent === void 0 ? void 0 : (_column$parent$column = _column$parent.columnDef) === null || _column$parent$column === void 0 ? void 0 : _column$parent$column.header;
|
30
|
+
return /*#__PURE__*/React__default.createElement("div", Object.assign({}, attributes, {
|
31
|
+
className: className,
|
32
|
+
onClick: () => column.toggleVisibility(!isVisible),
|
33
|
+
ref: ref
|
34
|
+
}), draggable ? /*#__PURE__*/React__default.createElement(Icon, {
|
35
|
+
name: "drag",
|
36
|
+
className: "text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"
|
37
|
+
}) : null, /*#__PURE__*/React__default.createElement("span", {
|
38
|
+
className: "flex-grow truncate"
|
39
|
+
}, (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header, parentHeader ? /*#__PURE__*/React__default.createElement("span", {
|
40
|
+
className: "italic"
|
41
|
+
}, "(", parentHeader, ")") : null), canHide ? /*#__PURE__*/React__default.createElement(Checkbox, {
|
42
|
+
checked: isVisible,
|
43
|
+
onChange: () => column.toggleVisibility(!isVisible)
|
44
|
+
}) : null);
|
45
|
+
});
|
46
|
+
function HideOrOrderPopover(props) {
|
47
|
+
const {
|
48
|
+
table,
|
49
|
+
trigger,
|
50
|
+
...popoverProps
|
51
|
+
} = props;
|
52
|
+
const {
|
53
|
+
texts
|
54
|
+
} = useLocalization();
|
55
|
+
const [query, setQuery] = React__default.useState('');
|
56
|
+
const allColumns = table.getAllLeafColumns();
|
57
|
+
const tableMeta = table.options.meta;
|
58
|
+
const columns = React__default.useMemo(() => allColumns.filter(column => !isInternalColumn(column.id)).filter(column => {
|
59
|
+
var _column$columnDef$met2, _column$parent2, _column$parent2$colum;
|
60
|
+
return query !== null && query !== void 0 && query.length ? ((_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.header.toLowerCase().includes(query.toLowerCase())) || ((_column$parent2 = column.parent) === null || _column$parent2 === void 0 ? void 0 : (_column$parent2$colum = _column$parent2.columnDef.meta) === null || _column$parent2$colum === void 0 ? void 0 : _column$parent2$colum.header.toLowerCase().includes(query.toLowerCase())) : true;
|
61
|
+
}), [allColumns, query]);
|
62
|
+
const listClassName = 'flex max-h-64 flex-col gap-y-px overflow-auto';
|
63
|
+
const handleReorder = (activeId, overId) => {
|
64
|
+
if (columns.find(column => {
|
65
|
+
var _column$columnDef$met3;
|
66
|
+
return column.id === overId && ((_column$columnDef$met3 = column.columnDef.meta) === null || _column$columnDef$met3 === void 0 ? void 0 : _column$columnDef$met3.enableOrdering) === false;
|
67
|
+
})) {
|
68
|
+
return;
|
69
|
+
}
|
70
|
+
table.setColumnOrder((currentOrder = []) => ensureOrdering(allColumns, arrayMove(currentOrder, currentOrder.findIndex(c => c === activeId), currentOrder.findIndex(c => c === overId))));
|
71
|
+
};
|
72
|
+
return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
|
73
|
+
anchor: trigger
|
74
|
+
}), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement("div", {
|
75
|
+
className: "flex max-w-sm flex-col gap-2"
|
76
|
+
}, table.options.enableHiding ? ( /*#__PURE__*/React__default.createElement(Input, {
|
77
|
+
onChange: event => setQuery(event.target.value),
|
78
|
+
placeholder: texts.table3.columnSettings.search,
|
79
|
+
value: query
|
80
|
+
})) : null, tableMeta.columnOrdering.isEnabled && columns.length && !(query !== null && query !== void 0 && query.length) ? ( /*#__PURE__*/React__default.createElement(Container, {
|
81
|
+
reorder: handleReorder
|
82
|
+
}, /*#__PURE__*/React__default.createElement(List, {
|
83
|
+
id: "columns",
|
84
|
+
className: listClassName
|
85
|
+
}, columns.filter(column => !column.getIsGrouped()).map(column => {
|
86
|
+
var _column$columnDef$met4, _column$columnDef$met5;
|
87
|
+
return /*#__PURE__*/React__default.createElement(Item, {
|
88
|
+
key: column.id,
|
89
|
+
id: column.id,
|
90
|
+
disabled: !((_column$columnDef$met4 = column.columnDef.meta) !== null && _column$columnDef$met4 !== void 0 && _column$columnDef$met4.enableOrdering),
|
91
|
+
asChild: true
|
92
|
+
}, /*#__PURE__*/React__default.createElement(Column, {
|
93
|
+
column: column,
|
94
|
+
draggable: (_column$columnDef$met5 = column.columnDef.meta) === null || _column$columnDef$met5 === void 0 ? void 0 : _column$columnDef$met5.enableOrdering
|
95
|
+
}));
|
96
|
+
})))) : ( /*#__PURE__*/React__default.createElement("div", {
|
97
|
+
className: listClassName
|
98
|
+
}, columns.length ? columns.map(column => /*#__PURE__*/React__default.createElement(Column, {
|
99
|
+
column: column,
|
100
|
+
key: column.id
|
101
|
+
})) : texts.table3.columnSettings.noResults)))));
|
102
|
+
}
|
103
|
+
|
104
|
+
export { HideOrOrderPopover };
|
105
|
+
//# sourceMappingURL=HideOrOrderPopover.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HideOrOrderPopover.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Table as ReactTable, Column as ReactTableColumn, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Popover, PopoverProps } from '../../../../../Popover/Popover';\nimport { Input } from '../../../../../Input/Input';\nimport * as SortablePrimitive from '../../../../../../primitives/Sortable/Sortable';\nimport { Icon } from '../../../../../Icon/Icon';\nimport { Checkbox } from '../../../../../Checkbox/Checkbox';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { ensureOrdering, isInternalColumn } from '../../../../../../primitives/Table/useTableManager/util/columns';\n\ntype ColumnProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {\n column: ReactTableColumn<TType, unknown>;\n draggable?: boolean;\n};\n\nconst Column = React.forwardRef(function Column<TType = unknown>(props: ColumnProps<TType>, ref: React.Ref<HTMLDivElement>) {\n const { column, draggable = false, ...dragAttributes } = props;\n const canHide = column.getCanHide();\n\n const className = cn('group/column flex items-center gap-x-2 rounded py-1 px-2', {\n 'hover:bg-grey-200': canHide || draggable,\n 'hover:cursor-pointer': canHide,\n 'active:cursor-move active:bg-grey-300': draggable,\n });\n\n const attributes = draggable ? dragAttributes : undefined;\n const isVisible = column.getIsVisible();\n const parentHeader = column.parent?.columnDef?.header;\n\n return (\n <div {...attributes} className={className} onClick={() => column.toggleVisibility(!isVisible)} ref={ref}>\n {draggable ? <Icon name=\"drag\" className=\"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5\" /> : null}\n <span className=\"flex-grow truncate\">\n {column.columnDef.meta?.header}\n {parentHeader ? <span className=\"italic\">({parentHeader})</span> : null}\n </span>\n {canHide ? <Checkbox checked={isVisible} onChange={() => column.toggleVisibility(!isVisible)} /> : null}\n </div>\n );\n});\n\nexport type HideOrOrderPopoverProps<TType = unknown> = PopoverProps & {\n table: ReactTable<TType>;\n};\n\nexport function HideOrOrderPopover<TType = unknown>(props: HideOrOrderPopoverProps<TType>) {\n const { table, trigger, ...popoverProps } = props;\n const { texts } = useLocalization();\n const [query, setQuery] = React.useState('');\n const allColumns = table.getAllLeafColumns();\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const columns = React.useMemo(\n () =>\n allColumns\n .filter(column => !isInternalColumn(column.id))\n .filter(column =>\n query?.length\n ? column.columnDef.meta?.header.toLowerCase().includes(query.toLowerCase()) ||\n column.parent?.columnDef.meta?.header.toLowerCase().includes(query.toLowerCase())\n : true\n ),\n [allColumns, query]\n );\n\n const listClassName = 'flex max-h-64 flex-col gap-y-px overflow-auto';\n\n const handleReorder = (activeId, overId) => {\n if (columns.find(column => column.id === overId && column.columnDef.meta?.enableOrdering === false)) {\n return;\n }\n\n table.setColumnOrder((currentOrder = []) =>\n ensureOrdering(\n allColumns,\n SortablePrimitive.arrayMove(\n currentOrder,\n currentOrder.findIndex(c => c === activeId),\n currentOrder.findIndex(c => c === overId)\n )\n )\n );\n };\n\n return (\n <Popover {...popoverProps} anchor={trigger}>\n <Popover.Content>\n <div className=\"flex max-w-sm flex-col gap-2\">\n {table.options.enableHiding ? (\n <Input\n onChange={event => setQuery(event.target.value)}\n placeholder={texts.table3.columnSettings.search}\n value={query}\n />\n ) : null}\n {tableMeta.columnOrdering.isEnabled && columns.length && !query?.length ? (\n <SortablePrimitive.Container reorder={handleReorder}>\n <SortablePrimitive.List id=\"columns\" className={listClassName}>\n {columns\n .filter(column => !column.getIsGrouped())\n .map(column => (\n <SortablePrimitive.Item\n key={column.id}\n id={column.id}\n disabled={!column.columnDef.meta?.enableOrdering}\n asChild>\n <Column column={column as any} draggable={column.columnDef.meta?.enableOrdering} />\n </SortablePrimitive.Item>\n ))}\n </SortablePrimitive.List>\n </SortablePrimitive.Container>\n ) : (\n <div className={listClassName}>\n {columns.length\n ? columns.map(column => <Column column={column as any} key={column.id} />)\n : texts.table3.columnSettings.noResults}\n </div>\n )}\n </div>\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["Column","React","forwardRef","props","ref","column","draggable","dragAttributes","canHide","getCanHide","className","cn","attributes","undefined","isVisible","getIsVisible","parentHeader","_column$parent","parent","_column$parent$column","columnDef","header","onClick","toggleVisibility","Icon","name","meta","_column$columnDef$met","Checkbox","checked","onChange","HideOrOrderPopover","table","trigger","popoverProps","texts","useLocalization","query","setQuery","useState","allColumns","getAllLeafColumns","tableMeta","options","columns","useMemo","filter","isInternalColumn","id","_column$columnDef$met2","_column$parent2","_column$parent2$colum","length","toLowerCase","includes","listClassName","handleReorder","activeId","overId","find","_column$columnDef$met3","enableOrdering","setColumnOrder","currentOrder","ensureOrdering","SortablePrimitive","findIndex","c","Popover","anchor","Content","enableHiding","Input","event","target","value","placeholder","table3","columnSettings","search","columnOrdering","isEnabled","reorder","getIsGrouped","map","_column$columnDef$met4","_column$columnDef$met5","key","disabled","asChild","noResults"],"mappings":";;;;;;;;;;;;;AAgBA,MAAMA,MAAM,gBAAGC,cAAK,CAACC,UAAU,CAAC,SAASF,MAAMA,CAAkBG,KAAyB,EAAEC,GAA8B;;EACtH,MAAM;IAAEC,MAAM;IAAEC,SAAS,GAAG,KAAK;IAAE,GAAGC;GAAgB,GAAGJ,KAAK;EAC9D,MAAMK,OAAO,GAAGH,MAAM,CAACI,UAAU,EAAE;EAEnC,MAAMC,SAAS,GAAGC,EAAE,CAAC,0DAA0D,EAAE;IAC7E,mBAAmB,EAAEH,OAAO,IAAIF,SAAS;IACzC,sBAAsB,EAAEE,OAAO;IAC/B,uCAAuC,EAAEF;GAC5C,CAAC;EAEF,MAAMM,UAAU,G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