@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,58 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { flexRender } from '@tanstack/react-table';
|
3
|
+
import { isInternalColumn } from '../../../../primitives/Table/useTableManager/util/columns.js';
|
4
|
+
import { RowContext } from '../Row/RowContext.js';
|
5
|
+
import { Actions } from '../Internal/Actions.js';
|
6
|
+
import { getCellAttributes } from './util.js';
|
7
|
+
|
8
|
+
function GroupedCell(props) {
|
9
|
+
const {
|
10
|
+
cell,
|
11
|
+
cellRef,
|
12
|
+
isHighlighted
|
13
|
+
} = props;
|
14
|
+
const tableMeta = cell.getContext().table.options.meta;
|
15
|
+
const attributes = getCellAttributes(cell, isHighlighted);
|
16
|
+
const {
|
17
|
+
isHovered,
|
18
|
+
rowIndex
|
19
|
+
} = React__default.useContext(RowContext);
|
20
|
+
const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;
|
21
|
+
const canShowActions = isActiveRow || isHovered && !tableMeta.rowActive.isHoverStatePaused;
|
22
|
+
return /*#__PURE__*/React__default.createElement(MemoedGroupedCell, Object.assign({}, attributes, {
|
23
|
+
cell: cell,
|
24
|
+
cellRef: cellRef,
|
25
|
+
canShowActions: canShowActions,
|
26
|
+
fontSize: tableMeta.fontSize.size,
|
27
|
+
rowActions: tableMeta.rowGroups.rowActionsForGroup
|
28
|
+
}));
|
29
|
+
}
|
30
|
+
const MemoedGroupedCell = /*#__PURE__*/React__default.memo(function MemoedGroupedCell(props) {
|
31
|
+
const {
|
32
|
+
canShowActions,
|
33
|
+
cell,
|
34
|
+
cellRef,
|
35
|
+
fontSize,
|
36
|
+
rowActions,
|
37
|
+
...attributes
|
38
|
+
} = props;
|
39
|
+
const colSpan = cell.row.getVisibleCells().filter(c => !isInternalColumn(c.column.id)).length - 1;
|
40
|
+
const subRows = cell.getContext().row.subRows.map(row => row.original);
|
41
|
+
return /*#__PURE__*/React__default.createElement("td", Object.assign({}, attributes, {
|
42
|
+
ref: cellRef,
|
43
|
+
style: {
|
44
|
+
gridColumn: `span ${colSpan} / span ${colSpan}`
|
45
|
+
}
|
46
|
+
}), /*#__PURE__*/React__default.createElement("span", {
|
47
|
+
className: "grow"
|
48
|
+
}, flexRender(cell.column.columnDef.cell, cell.getContext())), rowActions !== null && rowActions !== void 0 && rowActions.length && canShowActions ? ( /*#__PURE__*/React__default.createElement(Actions, {
|
49
|
+
actions: rowActions,
|
50
|
+
actionsLength: 4,
|
51
|
+
data: subRows,
|
52
|
+
fontSize: fontSize,
|
53
|
+
isActiveRow: true
|
54
|
+
})) : null);
|
55
|
+
});
|
56
|
+
|
57
|
+
export { GroupedCell };
|
58
|
+
//# sourceMappingURL=GroupedCell.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"GroupedCell.js","sources":["../../../../../../../../../src/components/Report/components/Cell/GroupedCell.tsx"],"sourcesContent":["import React from 'react';\nimport { Cell as ReactTableCell, TableMeta as ReactTableMeta, flexRender } from '@tanstack/react-table';\nimport { RowContext } from '../Row/RowContext';\nimport { getCellAttributes } from './util';\nimport { TableFontSize, TableRowActionGroupRenderer } from '../../../../primitives/Table/types';\nimport { Actions as RowGroupActions } from '../Internal/Actions';\nimport { isInternalColumn } from '../../../../primitives/Table/useTableManager/util/columns';\n\nexport type GroupedCellProps<TType = unknown> = {\n cell: ReactTableCell<TType, unknown>;\n cellRef: React.RefObject<HTMLTableCellElement>;\n isHighlighted?: true | 'current';\n};\n\nexport function GroupedCell<TType = unknown>(props: GroupedCellProps<TType>) {\n const { cell, cellRef, isHighlighted } = props;\n const tableMeta = cell.getContext().table.options.meta as ReactTableMeta<TType>;\n const attributes = getCellAttributes(cell, isHighlighted);\n\n const { isHovered, rowIndex } = React.useContext(RowContext);\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;\n const canShowActions = isActiveRow || (isHovered && !tableMeta.rowActive.isHoverStatePaused);\n\n return (\n <MemoedGroupedCell<TType>\n {...attributes}\n cell={cell}\n cellRef={cellRef}\n canShowActions={canShowActions}\n fontSize={tableMeta.fontSize.size}\n rowActions={tableMeta.rowGroups.rowActionsForGroup}\n />\n );\n}\n\ntype MemoedGroupedCellProps<TType = unknown> = React.TdHTMLAttributes<HTMLTableCellElement> & {\n cell: ReactTableCell<TType, unknown>;\n cellRef: React.RefObject<HTMLTableCellElement>;\n canShowActions: boolean;\n fontSize: TableFontSize;\n rowActions?: TableRowActionGroupRenderer<TType>[];\n};\n\nconst MemoedGroupedCell = React.memo(function MemoedGroupedCell<TType = unknown>(props: MemoedGroupedCellProps<TType>) {\n const { canShowActions, cell, cellRef, fontSize, rowActions, ...attributes } = props;\n\n const colSpan = cell.row.getVisibleCells().filter(c => !isInternalColumn(c.column.id)).length - 1;\n const subRows = cell.getContext().row.subRows.map(row => row.original);\n\n return (\n <td {...attributes} ref={cellRef} style={{ gridColumn: `span ${colSpan} / span ${colSpan}` }}>\n <span className=\"grow\">{flexRender(cell.column.columnDef.cell, cell.getContext())}</span>\n {rowActions?.length && canShowActions ? (\n <RowGroupActions actions={rowActions} actionsLength={4} data={subRows} fontSize={fontSize} isActiveRow />\n ) : null}\n </td>\n );\n}) as <TType = unknown>(props: MemoedGroupedCellProps<TType>) => JSX.Element;\n"],"names":["GroupedCell","props","cell","cellRef","isHighlighted","tableMeta","getContext","table","options","meta","attributes","getCellAttributes","isHovered","rowIndex","React","useContext","RowContext","isActiveRow","rowActive","rowActiveIndex","canShowActions","isHoverStatePaused","MemoedGroupedCell","fontSize","size","rowActions","rowGroups","rowActionsForGroup","memo","colSpan","row","getVisibleCells","filter","c","isInternalColumn","column","id","length","subRows","map","original","ref","style","gridColumn","className","flexRender","columnDef","RowGroupActions","actions","actionsLength","data"],"mappings":";;;;;;;SAcgBA,WAAWA,CAAkBC,KAA8B;EACvE,MAAM;IAAEC,IAAI;IAAEC,OAAO;IAAEC;GAAe,GAAGH,KAAK;EAC9C,MAAMI,SAAS,GAAGH,IAAI,CAACI,UAAU,EAAE,CAACC,KAAK,CAACC,OAAO,CAACC,IAA6B;EAC/E,MAAMC,UAAU,GAAGC,iBAAiB,CAACT,IAAI,EAAEE,aAAa,CAAC;EAEzD,MAAM;IAAEQ,SAAS;IAAEC;GAAU,GAAGC,cAAK,CAACC,UAAU,CAACC,UAAU,CAAC;EAC5D,MAAMC,WAAW,GAAGZ,SAAS,CAACa,SAAS,CAACC,cAAc,KAAKN,QAAQ;EACnE,MAAMO,cAAc,GAAGH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AI,EAAEZ,OAAO;IAAEf,QAAQ,EAAEA,QAAQ;IAAEN,WAAW;IAAG,IACzG,IAAI,CACP;AAEb,CAAC,CAA2E;;;;"}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { isInternalColumn, isCellHighlighted } from '../../../../primitives/Table/useTableManager/util/columns.js';
|
3
|
+
import { RowContext } from '../Row/RowContext.js';
|
4
|
+
|
5
|
+
function getCellAttributes(cell, isHighlighted) {
|
6
|
+
const columnMeta = cell.column.columnDef.meta;
|
7
|
+
const isPinned = cell.column.getIsPinned();
|
8
|
+
const attributes = {
|
9
|
+
'data-cell-align': columnMeta === null || columnMeta === void 0 ? void 0 : columnMeta.align,
|
10
|
+
'data-cell-highlighted': isHighlighted,
|
11
|
+
'data-cell-id': cell.column.id,
|
12
|
+
'data-cell-pinned': isPinned ? true : undefined,
|
13
|
+
'data-cell-truncate': columnMeta.enableTruncate ? true : undefined,
|
14
|
+
className: typeof columnMeta.className === 'function' ? columnMeta.className(cell.row.original) : columnMeta.className,
|
15
|
+
style: {}
|
16
|
+
};
|
17
|
+
if (isPinned) {
|
18
|
+
attributes.style[isPinned] = `${cell.column.getStart(isPinned)}px`;
|
19
|
+
}
|
20
|
+
return attributes;
|
21
|
+
}
|
22
|
+
function useSearchHighlighting(cell, cellIndex, ref) {
|
23
|
+
const {
|
24
|
+
rowIndex
|
25
|
+
} = React__default.useContext(RowContext);
|
26
|
+
const context = cell.getContext();
|
27
|
+
const tableMeta = context.table.options.meta;
|
28
|
+
const columnMeta = cell.column.columnDef.meta;
|
29
|
+
const isHighlighted = React__default.useMemo(() => {
|
30
|
+
if (!cell.column.columnDef.enableGlobalFilter || isInternalColumn(cell.column.id) || cell.getIsAggregated() || cell.getIsPlaceholder()) {
|
31
|
+
return undefined;
|
32
|
+
}
|
33
|
+
let isHighlighted = false;
|
34
|
+
if (context.table.getState().globalFilter) {
|
35
|
+
isHighlighted = isCellHighlighted(context.table.getState().globalFilter, cell.getValue(), columnMeta.dataType);
|
36
|
+
}
|
37
|
+
if (!isHighlighted || tableMeta.search.currentHighlightColumnIndex === undefined) {
|
38
|
+
return undefined;
|
39
|
+
}
|
40
|
+
const [rowActiveIndex, currentColumnIndex] = tableMeta.search.highlightedColumnIndexes[tableMeta.search.currentHighlightColumnIndex];
|
41
|
+
if (rowActiveIndex === rowIndex && currentColumnIndex === cellIndex) {
|
42
|
+
return 'current';
|
43
|
+
}
|
44
|
+
return true;
|
45
|
+
}, [cell.getValue(), context.table.getState().globalFilter, tableMeta.search.highlightedColumnIndexes.length, tableMeta.search.currentHighlightColumnIndex]);
|
46
|
+
React__default.useEffect(() => {
|
47
|
+
if (ref.current && isHighlighted === 'current') {
|
48
|
+
ref.current.scrollIntoView({
|
49
|
+
block: 'nearest',
|
50
|
+
inline: 'nearest'
|
51
|
+
});
|
52
|
+
setTimeout(() => {
|
53
|
+
if (ref.current) {
|
54
|
+
const tableEl = ref.current.closest('table[data-taco="report"]');
|
55
|
+
setTimeout(() => {
|
56
|
+
const pinnedColumns = tableEl === null || tableEl === void 0 ? void 0 : tableEl.querySelectorAll('thead tr:last-child th[data-cell-pinned="left"]');
|
57
|
+
if (pinnedColumns !== null && pinnedColumns !== void 0 && pinnedColumns.length) {
|
58
|
+
var _pinnedColumns$item;
|
59
|
+
const lastFrozenRect = (_pinnedColumns$item = pinnedColumns.item(pinnedColumns.length - 1)) === null || _pinnedColumns$item === void 0 ? void 0 : _pinnedColumns$item.getBoundingClientRect();
|
60
|
+
if (lastFrozenRect && cell.column.getStart() < lastFrozenRect.right) {
|
61
|
+
tableEl === null || tableEl === void 0 ? void 0 : tableEl.scrollTo(cell.column.getStart() - lastFrozenRect.right, tableEl.scrollTop);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}, 1);
|
65
|
+
}
|
66
|
+
}, 1);
|
67
|
+
}
|
68
|
+
}, [isHighlighted]);
|
69
|
+
return isHighlighted;
|
70
|
+
}
|
71
|
+
|
72
|
+
export { getCellAttributes, useSearchHighlighting };
|
73
|
+
//# sourceMappingURL=util.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../../../../../../../../src/components/Report/components/Cell/util.ts"],"sourcesContent":["import React from 'react';\nimport { Cell as ReactTableCell, ColumnMeta as ReactTableColumnMeta, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { isCellHighlighted, isInternalColumn } from '../../../../primitives/Table/useTableManager/util/columns';\nimport { RowContext } from '../Row/RowContext';\n\nexport type DisplayCellProps<TType = unknown> = {\n index: number;\n cell: ReactTableCell<TType, unknown>;\n};\n\nexport function getCellAttributes<TType = unknown>(\n cell: ReactTableCell<TType, unknown>,\n isHighlighted: true | 'current' | undefined\n) {\n const columnMeta = cell.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n\n const isPinned = cell.column.getIsPinned();\n const attributes = {\n 'data-cell-align': columnMeta?.align,\n 'data-cell-highlighted': isHighlighted,\n 'data-cell-id': cell.column.id,\n 'data-cell-pinned': isPinned ? true : undefined,\n 'data-cell-truncate': columnMeta.enableTruncate ? true : undefined,\n className: typeof columnMeta.className === 'function' ? columnMeta.className(cell.row.original) : columnMeta.className,\n style: {},\n };\n\n if (isPinned) {\n attributes.style[isPinned] = `${cell.column.getStart(isPinned)}px`;\n }\n\n return attributes;\n}\n\nexport function useSearchHighlighting<TType = unknown>(\n cell: ReactTableCell<TType, unknown>,\n cellIndex: number,\n ref: React.RefObject<HTMLTableCellElement>\n) {\n const { rowIndex } = React.useContext(RowContext);\n const context = cell.getContext();\n const tableMeta = context.table.options.meta as ReactTableMeta<TType>;\n const columnMeta = cell.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n\n const isHighlighted: 'current' | boolean | undefined = React.useMemo(() => {\n if (\n !cell.column.columnDef.enableGlobalFilter ||\n isInternalColumn(cell.column.id) ||\n cell.getIsAggregated() ||\n cell.getIsPlaceholder()\n ) {\n return undefined;\n }\n\n let isHighlighted = false;\n\n if (context.table.getState().globalFilter) {\n isHighlighted = isCellHighlighted(context.table.getState().globalFilter, cell.getValue(), columnMeta.dataType);\n }\n\n if (!isHighlighted || tableMeta.search.currentHighlightColumnIndex === undefined) {\n return undefined;\n }\n\n const [rowActiveIndex, currentColumnIndex] =\n tableMeta.search.highlightedColumnIndexes[tableMeta.search.currentHighlightColumnIndex];\n\n if (rowActiveIndex === rowIndex && currentColumnIndex === cellIndex) {\n return 'current';\n }\n\n return true;\n }, [\n cell.getValue(),\n context.table.getState().globalFilter,\n tableMeta.search.highlightedColumnIndexes.length,\n tableMeta.search.currentHighlightColumnIndex,\n ]);\n\n React.useEffect(() => {\n if (ref.current && isHighlighted === 'current') {\n ref.current.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n\n setTimeout(() => {\n if (ref.current) {\n const tableEl = ref.current.closest('table[data-taco=\"report\"]');\n\n setTimeout(() => {\n const pinnedColumns = tableEl?.querySelectorAll('thead tr:last-child th[data-cell-pinned=\"left\"]');\n\n if (pinnedColumns?.length) {\n const lastFrozenRect = pinnedColumns.item(pinnedColumns.length - 1)?.getBoundingClientRect();\n\n if (lastFrozenRect && cell.column.getStart() < lastFrozenRect.right) {\n tableEl?.scrollTo(cell.column.getStart() - lastFrozenRect.right, tableEl.scrollTop);\n }\n }\n }, 1);\n }\n }, 1);\n }\n }, [isHighlighted]);\n\n return isHighlighted;\n}\n\nexport function getCurrentRowCellElement(index: number, tableEl: HTMLElement) {\n const cellSelector = `[data-current=\"true\"] [data-column-index=\"${index}\"`;\n return tableEl.querySelector(cellSelector);\n}\n\nexport function scrollColumnIntoView(columnIndex: number, frozenColumnIndex: number, column: HTMLElement, tableEl: HTMLElement) {\n if (frozenColumnIndex !== undefined && columnIndex > frozenColumnIndex) {\n const lastFrozenColumnElement = getCurrentRowCellElement(frozenColumnIndex, tableEl);\n const highlightRef = column?.getBoundingClientRect();\n const lastFrozenRect = lastFrozenColumnElement?.getBoundingClientRect();\n\n // offset the width of frozen columns so that the column being scrolled to is not hidden behind them\n if (highlightRef && lastFrozenRect && highlightRef.left < lastFrozenRect.left + lastFrozenRect.width) {\n const pinnedColumnsWidth = lastFrozenRect.left + lastFrozenRect.width;\n tableEl?.scrollTo(highlightRef.left - pinnedColumnsWidth, tableEl.scrollTop);\n }\n } else {\n column.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }\n}\n"],"names":["getCellAttributes","cell","isHighlighted","columnMeta","column","columnDef","meta","isPinned","getIsPinned","attributes","align","id","undefined","enableTruncate","className","row","original","style","getStart","useSearchHighlighting","cellIndex","ref","rowIndex","React","useContext","RowContext","context","getContext","tableMeta","table","options","useMemo","enableGlobalFilter","isInternalColumn","getIsAggregated","getIsPlaceholder","getState","globalFilter","isCellHighlighted","getValue","dataType","search","currentHighlightColumnIndex","rowActiveIndex","currentColumnIndex","highlightedColumnIndexes","length","useEffect","current","scrollIntoView","block","inline","setTimeout","tableEl","closest","pinnedColumns","querySelectorAll","_pinnedColumns$item","lastFrozenRect","item","getBoundingClientRect","right","scrollTo","scrollTop"],"mappings":";;;;SAUgBA,iBAAiBA,CAC7BC,IAAoC,EACpCC,aAA2C;EAE3C,MAAMC,UAAU,GAAGF,IAAI,CAACG,MAAM,CAACC,SAAS,CAACC,IAA4C;EAErF,MAAMC,QAAQ,GAAGN,IAAI,CAACG,MAAM,CAACI,WAAW,EAAE;EAC1C,MAAMC,UAAU,GAAG;IACf,iBAAiB,EAAEN,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEO,KAAK;IACpC,uBAAuB,EAAER,aAAa;IACtC,cAAc,EAAED,IAAI,CAACG,MAAM,CAACO,EAAE;IAC9B,kBAAkB,EAAEJ,QAAQ,GAAG,IAAI,GAAGK,SAAS;IAC/C,oBAAoB,EAAET,UAAU,CAACU,cAAc,GAAG,IAAI,GAAGD,SAAS;IAClEE,SAAS,EAAE,OAAOX,UAAU,CAACW,SAAS,KAAK,UAAU,GAAGX,UAAU,CAACW,SAAS,CAACb,IAAI,CAACc,GAAG,CAAC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A,OAAO,uBAAPA,OAAO,CAAES,QAAQ,CAAC7D,IAAI,CAACG,MAAM,CAACc,QAAQ,EAAE,GAAGwC,cAAc,CAACG,KAAK,EAAER,OAAO,CAACU,SAAS,CAAC;;;WAG9F,EAAE,CAAC,CAAC;;OAEZ,EAAE,CAAC,CAAC;;GAEZ,EAAE,CAAC7D,aAAa,CAAC,CAAC;EAEnB,OAAOA,aAAa;AACxB;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../../../../../../src/components/Report/components/Footer/Footer.tsx"],"sourcesContent":["import React from 'react';\nimport { Header as ReactTableHeader, ColumnMeta as ReactTableColumnMeta, flexRender } from '@tanstack/react-table';\nimport { Summary } from './Summary';\n\nexport function Footer<TType = unknown>(header: ReactTableHeader<TType, unknown>) {\n return <MemoedFooter key={header.id} footer={header} />;\n}\n\nexport type MemoedFooterProps<TType = unknown> = {\n footer: ReactTableHeader<TType, unknown>;\n};\n\nconst MemoedFooter = React.memo(function MemoedFooter<TType = unknown>(props: MemoedFooterProps<TType>) {\n const { footer } = props;\n const columnMeta = footer.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n\n // getIsPinned returns true for split header groups, even if the split group has no pinned sub headers\n const isHeaderGroup = !!footer.subHeaders?.length;\n const isPinned = isHeaderGroup\n ? footer.subHeaders.find(x => x.column.getIsPinned())?.column.getIsPinned()\n : footer.column.getIsPinned();\n\n const style: React.CSSProperties = {};\n\n if (isPinned) {\n // pinned columns should be offset from either the left or right\n style[isPinned] = `${footer.column.getStart(isPinned) - 1}px`;\n }\n\n let content;\n let align;\n\n if (footer.index === 0) {\n align = 'left';\n content = <Summary table={footer.getContext().table} />;\n } else {\n align = columnMeta.align;\n content = footer.isPlaceholder ? null : flexRender(footer.column.columnDef.footer, footer.getContext());\n }\n\n return (\n <td\n key={footer.id}\n data-cell-align={align}\n data-cell-id={footer.id}\n data-cell-pinned={isPinned ? isPinned : undefined}\n style={style}>\n {content}\n </td>\n );\n}) as <TType = unknown>(props: MemoedFooterProps<TType>) => JSX.Element;\n"],"names":["Footer","header","React","MemoedFooter","key","id","footer","memo","props","columnMeta","column","columnDef","meta","isHeaderGroup","_footer$subHeaders","subHeaders","length","isPinned","_footer$subHeaders$fi","find","x","getIsPinned","style","getStart","content","align","index","Summary","table","getContext","isPlaceholder","flexRender","undefined"],"mappings":";;;;SAIgBA,MAAMA,CAAkBC,MAAwC;EAC5E,oBAAOC,6BAACC,YAAY;IAACC,GAAG,EAAEH,MAAM,CAACI,EAAE;IAAEC,MAAM,EAAEL;IAAU;AAC3D;AAMA,MAAME,YAAY,gBAAGD,cAAK,CAACK,IAAI,CAAC,SAASJ,YAAYA,CAAkBK,KAA+B;;EAClG,MAAM;IAAEF;GAAQ,GAAGE,KAAK;EACxB,MAAMC,UAAU,GAAGH,MAAM,CAACI,MAAM,CAACC,SAAS,CAACC,IAA4C;;EAGvF,MAAMC,aAAa,GAAG,CAAC,GAAAC,kBAAA,GAACR,MAAM,CAACS,UAAU,cAAAD,kBAAA,eAAjBA,kBAAA,CAAmBE,MAAM;EACjD,MAAMC,QAAQ,GAAGJ,aAAa,IAAAK,qBAAA,GACxBZ,MAAM,CAACS,UAAU,CAACI,IAAI,CAACC,CAAC,IAAIA,CAAC,CAACV,MAAM,CAACW,WAAW,EAAE,CAAC,cAAAH,qBAAA,uBAAnDA,qBAAA,CAAqDR,MAAM,CAACW,WAAW,EAAE,GACzEf,MAAM,CAACI,MAAM,CAACW,WAAW,EAAE;EAEjC,MAAMC,KAAK,GAAwB,EAAE;EAErC,IAAIL,QAAQ,EAAE;;IAEVK,KAAK,CAACL,QAAQ,CAAC,MAAMX,MAAM,CAACI,MAAM,CAACa,QAAQ,CAACN,QAAQ,CAAC,GAAG,KAAK;;EAGjE,IAAIO,OAAO;EACX,IAAIC,KAAK;EAET,IAAInB,MAAM,CAACoB,KAAK,KAAK,CAAC,EAAE;IACpBD,KAAK,GAAG,MAAM;IACdD,OAAO,gBAAGtB,6BAACyB,OAAO;MAACC,KAAK,EAAEtB,MAAM,CAACuB,UAAU,EAAE,CAACD;MAAS;GAC1D,MAAM;IACHH,KAAK,GAAGhB,UAAU,CAACgB,KAAK;IACxBD,OAAO,GAAGlB,MAAM,CAACwB,aAAa,GAAG,IAAI,GAAGC,UAAU,CAACzB,MAAM,CAACI,MAAM,CAACC,SAAS,CAACL,MAAM,EAAEA,MAAM,CAACuB,UAAU,EAAE,CAAC;;EAG3G,oBACI3B;IACIE,GAAG,EAAEE,MAAM,CAACD,EAAE;uBACGoB,KAAK;oBACRnB,MAAM,CAACD,EAAE;wBACLY,QAAQ,GAAGA,QAAQ,GAAGe,SAAS;IACjDV,KAAK,EAAEA;KACNE,OAAO,CACP;AAEb,CAAC,CAAsE;;;;"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { useLocalization } from '../../../Provider/Localization.js';
|
3
|
+
|
4
|
+
function Summary(props) {
|
5
|
+
var _table$getState$colum;
|
6
|
+
const {
|
7
|
+
table
|
8
|
+
} = props;
|
9
|
+
const {
|
10
|
+
locale,
|
11
|
+
texts
|
12
|
+
} = useLocalization();
|
13
|
+
const length = table.options.meta.length;
|
14
|
+
const currentLength = table.getRowModel().rows.length;
|
15
|
+
let label;
|
16
|
+
let count;
|
17
|
+
// row selection
|
18
|
+
const rowsSelectedLength = table.getSelectedRowModel().rows.length;
|
19
|
+
if (rowsSelectedLength > 0) {
|
20
|
+
label = texts.table3.footer.summary.selected;
|
21
|
+
count = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(rowsSelectedLength)), "\u00A0", texts.table3.footer.summary.count, "\u00A0", /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length)));
|
22
|
+
} else if ((_table$getState$colum = table.getState().columnFilters) !== null && _table$getState$colum !== void 0 && _table$getState$colum.length ||
|
23
|
+
// filtered data
|
24
|
+
!!table.getState().globalFilter && table.options.enableGlobalFilter // search with hide enabled
|
25
|
+
) {
|
26
|
+
label = texts.table3.footer.summary.records;
|
27
|
+
count = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("strong", null, currentLength), "\u00A0", texts.table3.footer.summary.count, "\u00A0", /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length)));
|
28
|
+
} else {
|
29
|
+
label = texts.table3.footer.summary.records;
|
30
|
+
count = /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length));
|
31
|
+
}
|
32
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
33
|
+
className: "sticky left-0 z-20 flex h-full w-fit items-center whitespace-nowrap bg-white pr-1 shadow-[12px_0px_6px_white]",
|
34
|
+
"data-taco": "table2-footer-summary"
|
35
|
+
}, label, "\u00A0", count);
|
36
|
+
}
|
37
|
+
|
38
|
+
export { Summary };
|
39
|
+
//# sourceMappingURL=Summary.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Summary.js","sources":["../../../../../../../../../src/components/Report/components/Footer/Summary.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLocalization } from '../../../Provider/Localization';\n\nexport type FooterSummaryProps<TType = unknown> = {\n table: ReactTable<TType>;\n};\n\nexport function Summary<TType = unknown>(props: FooterSummaryProps<TType>) {\n const { table } = props;\n const { locale, texts } = useLocalization();\n const length = (table.options.meta as ReactTableMeta<TType>).length;\n const currentLength = table.getRowModel().rows.length;\n\n let label;\n let count;\n\n // row selection\n const rowsSelectedLength = table.getSelectedRowModel().rows.length;\n\n if (rowsSelectedLength > 0) {\n label = texts.table3.footer.summary.selected;\n count = (\n <>\n <strong>{new Intl.NumberFormat(locale).format(rowsSelectedLength)}</strong> \n {texts.table3.footer.summary.count} \n <strong>{new Intl.NumberFormat(locale).format(length)}</strong>\n </>\n );\n } else if (\n table.getState().columnFilters?.length || // filtered data\n (!!table.getState().globalFilter && table.options.enableGlobalFilter) // search with hide enabled\n ) {\n label = texts.table3.footer.summary.records;\n count = (\n <>\n <strong>{currentLength}</strong> \n {texts.table3.footer.summary.count} \n <strong>{new Intl.NumberFormat(locale).format(length)}</strong>\n </>\n );\n } else {\n label = texts.table3.footer.summary.records;\n count = <strong>{new Intl.NumberFormat(locale).format(length)}</strong>;\n }\n\n return (\n <div\n className=\"sticky left-0 z-20 flex h-full w-fit items-center whitespace-nowrap bg-white pr-1 shadow-[12px_0px_6px_white]\"\n data-taco=\"table2-footer-summary\">\n {label} {count}\n </div>\n );\n}\n"],"names":["Summary","props","table","locale","texts","useLocalization","length","options","meta","currentLength","getRowModel","rows","label","count","rowsSelectedLength","getSelectedRowModel","table3","footer","summary","selected","React","Intl","NumberFormat","format","_table$getState$colum","getState","columnFilters","globalFilter","enableGlobalFilter","records","className"],"mappings":";;;SAQgBA,OAAOA,CAAkBC,KAAgC;;EACrE,MAAM;IAAEC;GAAO,GAAGD,KAAK;EACvB,MAAM;IAAEE,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAC3C,MAAMC,MAAM,GAAIJ,KAAK,CAACK,OAAO,CAACC,IAA8B,CAACF,MAAM;EACnE,MAAMG,aAAa,GAAGP,KAAK,CAACQ,WAAW,EAAE,CAACC,IAAI,CAACL,MAAM;EAErD,IAAIM,KAAK;EACT,IAAIC,KAAK;;EAGT,MAAMC,kBAAkB,GAAGZ,KAAK,CAACa,mBAAmB,EAAE,CAACJ,IAAI,CAACL,MAAM;EAElE,IAAIQ,kBAAkB,GAAG,CAAC,EAAE;IACxBF,KAAK,GAAGR,KAAK,CAACY,MAAM,CAACC,MAAM,CAACC,OAAO,CAACC,QAAQ;IAC5CN,KAAK,gBACDO,yEACIA,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACnB,MAAM,CAAC,CAACoB,MAAM,CAACT,kBAAkB,CAAC,CAAU,YAC1EV,KAAK,CAACY,MAAM,CAACC,MAAM,CAACC,OAAO,CAACL,KAAK,yBAClCO,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACnB,MAAM,CAAC,CAACoB,MAAM,CAACjB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM,IACH,CAAAkB,qBAAA,GAAAtB,KAAK,CAACuB,QAAQ,EAAE,CAACC,aAAa,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgClB,MAAM;;EACrC,CAAC,CAACJ,KAAK,CAACuB,QAAQ,EAAE,CAACE,YAAY,IAAIzB,KAAK,CAACK,OAAO,CAACqB,kBAAmB;IACvE;IACEhB,KAAK,GAAGR,KAAK,CAACY,MAAM,CAACC,MAAM,CAACC,OAAO,CAACW,OAAO;IAC3ChB,KAAK,gBACDO,yEACIA,6CAASX,aAAa,CAAU,YAC/BL,KAAK,CAACY,MAAM,CAACC,MAAM,CAACC,OAAO,CAACL,KAAK,yBAClCO,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACnB,MAAM,CAAC,CAACoB,MAAM,CAACjB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM;IACHM,KAAK,GAAGR,KAAK,CAACY,MAAM,CAACC,MAAM,CAACC,OAAO,CAACW,OAAO;IAC3ChB,KAAK,gBAAGO,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACnB,MAAM,CAAC,CAACoB,MAAM,CAACjB,MAAM,CAAC,CAAU;;EAG3E,oBACIc;IACIU,SAAS,EAAC,+GAA+G;iBAC/G;KACTlB,KAAK,YAAQC,KAAK,CACjB;AAEd;;;;"}
|
@@ -0,0 +1,211 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Tooltip } from '../../../Tooltip/Tooltip.js';
|
4
|
+
import { flexRender } from '@tanstack/react-table';
|
5
|
+
import { isInternalColumn, unfreezeAllExternalColumns, freezeUptoExternalColumn } from '../../../../primitives/Table/useTableManager/util/columns.js';
|
6
|
+
import { TableFilterComparator } from '../../../../primitives/Table/types.js';
|
7
|
+
import { getSortAttributes, SortIndicator } from './components/SortIndicator.js';
|
8
|
+
import { Resizer } from './components/Resizer.js';
|
9
|
+
import { HeaderMenu } from './components/Menu.js';
|
10
|
+
import { getIsPinned, useSetInitialColumnSizing } from './util.js';
|
11
|
+
|
12
|
+
function Header(header) {
|
13
|
+
var _header$column$column;
|
14
|
+
if (header.column.getIsGrouped()) {
|
15
|
+
return null;
|
16
|
+
}
|
17
|
+
const {
|
18
|
+
table
|
19
|
+
} = header.getContext();
|
20
|
+
const tableMeta = table.options.meta;
|
21
|
+
const columnMeta = (_header$column$column = header.column.columnDef.meta) !== null && _header$column$column !== void 0 ? _header$column$column : {};
|
22
|
+
const isGroup = !!header.subHeaders.length;
|
23
|
+
const isPinned = getIsPinned(header);
|
24
|
+
const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;
|
25
|
+
const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();
|
26
|
+
const canMeasureSize = !!table.getRowModel().rows.length;
|
27
|
+
const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();
|
28
|
+
const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();
|
29
|
+
const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();
|
30
|
+
const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();
|
31
|
+
const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);
|
32
|
+
const sorting = table.getState().sorting;
|
33
|
+
const filters = table.getState().columnFilters;
|
34
|
+
const search = table.getState().globalFilter;
|
35
|
+
// passing header or column results in re-renders on scroll, so anything from those objects as memoed props
|
36
|
+
const memoedProps = {
|
37
|
+
align: columnMeta.align,
|
38
|
+
canFilter,
|
39
|
+
canHide,
|
40
|
+
canGoto,
|
41
|
+
canMeasureSize,
|
42
|
+
canPin,
|
43
|
+
canResize,
|
44
|
+
canSort,
|
45
|
+
className: cn('group/header', columnMeta.headerClassName),
|
46
|
+
children: flexRender(header.column.columnDef.header, header.getContext()),
|
47
|
+
colSpan: header.colSpan,
|
48
|
+
customMenu: columnMeta.menu,
|
49
|
+
defaultWidth: columnMeta.defaultWidth,
|
50
|
+
hasMenu,
|
51
|
+
id: header.id,
|
52
|
+
isFiltered: header.column.getIsFiltered(),
|
53
|
+
index: header.index,
|
54
|
+
isGroup,
|
55
|
+
isPinned,
|
56
|
+
isPlaceholder: header.isPlaceholder,
|
57
|
+
offset: header.column.getStart(isPinned),
|
58
|
+
setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
|
59
|
+
setColumnSizing: table.setColumnSizing,
|
60
|
+
tooltip: columnMeta.tooltip,
|
61
|
+
width: table.getState().columnSizing[header.id]
|
62
|
+
};
|
63
|
+
if (header.isPlaceholder) {
|
64
|
+
const nextHeader = header.headerGroup.headers[header.index + 1];
|
65
|
+
memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {
|
66
|
+
'after:!content-none': nextHeader === null || nextHeader === void 0 ? void 0 : nextHeader.isPlaceholder
|
67
|
+
});
|
68
|
+
}
|
69
|
+
if (canFilter) {
|
70
|
+
memoedProps.onFilter = () => {
|
71
|
+
header.column.setFilterValue({
|
72
|
+
comparator: TableFilterComparator.Contains
|
73
|
+
});
|
74
|
+
};
|
75
|
+
}
|
76
|
+
if (canGoto) {
|
77
|
+
memoedProps.onGoto = query => {
|
78
|
+
var _tableMeta$rowGoto$ha, _tableMeta$rowGoto;
|
79
|
+
return (_tableMeta$rowGoto$ha = (_tableMeta$rowGoto = tableMeta.rowGoto).handleGoto) === null || _tableMeta$rowGoto$ha === void 0 ? void 0 : _tableMeta$rowGoto$ha.call(_tableMeta$rowGoto, header.id, query, sorting, filters, search);
|
80
|
+
};
|
81
|
+
}
|
82
|
+
if (canHide) {
|
83
|
+
memoedProps.onHide = header.column.getToggleVisibilityHandler();
|
84
|
+
}
|
85
|
+
if (canPin) {
|
86
|
+
memoedProps.onPin = index => {
|
87
|
+
// TODO: this can probably be moved to a feature hook
|
88
|
+
table.setColumnPinning(pinningState => {
|
89
|
+
return {
|
90
|
+
...pinningState,
|
91
|
+
left: index === undefined ? unfreezeAllExternalColumns(pinningState.left) : freezeUptoExternalColumn(index, table.getAllLeafColumns().map(column => column.id))
|
92
|
+
};
|
93
|
+
});
|
94
|
+
};
|
95
|
+
}
|
96
|
+
if (canResize) {
|
97
|
+
memoedProps.isResizing = header.column.getIsResizing();
|
98
|
+
memoedProps.onResize = header.getResizeHandler();
|
99
|
+
}
|
100
|
+
if (canSort) {
|
101
|
+
const handleSortToggle = sortDirection => {
|
102
|
+
if (sortDirection === false) {
|
103
|
+
header.column.clearSorting();
|
104
|
+
} else {
|
105
|
+
header.column.toggleSorting(sortDirection === 'desc');
|
106
|
+
}
|
107
|
+
};
|
108
|
+
memoedProps.onSort = header.column.getToggleSortingHandler();
|
109
|
+
memoedProps.onSortToggle = handleSortToggle;
|
110
|
+
memoedProps.sortDirection = header.column.getIsSorted();
|
111
|
+
}
|
112
|
+
return /*#__PURE__*/React__default.createElement(MemoedHeader, Object.assign({
|
113
|
+
key: header.id
|
114
|
+
}, memoedProps));
|
115
|
+
}
|
116
|
+
const MemoedHeader = /*#__PURE__*/React__default.memo(function MemoedHeader(props) {
|
117
|
+
const {
|
118
|
+
align,
|
119
|
+
canFilter,
|
120
|
+
canGoto,
|
121
|
+
canHide,
|
122
|
+
canMeasureSize,
|
123
|
+
canPin,
|
124
|
+
canResize,
|
125
|
+
canSort,
|
126
|
+
children,
|
127
|
+
className,
|
128
|
+
colSpan,
|
129
|
+
customMenu,
|
130
|
+
defaultWidth,
|
131
|
+
hasMenu,
|
132
|
+
id,
|
133
|
+
index,
|
134
|
+
isFiltered,
|
135
|
+
isGroup,
|
136
|
+
isPinned,
|
137
|
+
isPlaceholder,
|
138
|
+
isResizing,
|
139
|
+
offset,
|
140
|
+
onFilter: handleFilter,
|
141
|
+
onGoto: handleGoto,
|
142
|
+
onHide: handleHide,
|
143
|
+
onPin: handlePin,
|
144
|
+
onResize: handleResize,
|
145
|
+
onSort: handleSort,
|
146
|
+
onSortToggle: handleSortToggle,
|
147
|
+
setRowActiveIndex,
|
148
|
+
setColumnSizing,
|
149
|
+
sortDirection,
|
150
|
+
tooltip,
|
151
|
+
width
|
152
|
+
} = props;
|
153
|
+
const [ref, setRef] = React__default.useState(null);
|
154
|
+
// save column width if none is set
|
155
|
+
useSetInitialColumnSizing(id, defaultWidth, width, ref, canMeasureSize, setColumnSizing);
|
156
|
+
// feature specific styles
|
157
|
+
const style = {};
|
158
|
+
// column groups often span multiple columns
|
159
|
+
if (colSpan > 1) {
|
160
|
+
style.gridColumn = `span ${colSpan}`;
|
161
|
+
}
|
162
|
+
// pinned columns should be offset from either the left or right
|
163
|
+
if (isPinned) {
|
164
|
+
style[isPinned] = `${offset}px`;
|
165
|
+
}
|
166
|
+
return /*#__PURE__*/React__default.createElement("th", Object.assign({}, getSortAttributes(canSort, handleSort, sortDirection), {
|
167
|
+
className: className,
|
168
|
+
"data-cell-align": isGroup ? 'center' : align,
|
169
|
+
"data-cell-id": id,
|
170
|
+
"data-cell-pinned": isPinned ? isPinned : undefined,
|
171
|
+
style: style,
|
172
|
+
ref: setRef
|
173
|
+
}), isPlaceholder ? null : isInternalColumn(id) ? children : ( /*#__PURE__*/React__default.createElement(Tooltip, {
|
174
|
+
title: String(tooltip !== null && tooltip !== void 0 ? tooltip : children),
|
175
|
+
placement: "top"
|
176
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
177
|
+
className: "truncate"
|
178
|
+
}, children))), sortDirection ? /*#__PURE__*/React__default.createElement(SortIndicator, {
|
179
|
+
direction: sortDirection
|
180
|
+
}) : null, hasMenu ? ( /*#__PURE__*/React__default.createElement(HeaderMenu, {
|
181
|
+
canFilter: canFilter,
|
182
|
+
canGoto: canGoto,
|
183
|
+
canHide: canHide,
|
184
|
+
canPin: canPin,
|
185
|
+
canSort: canSort,
|
186
|
+
className: cn({
|
187
|
+
'ml-auto': align !== 'right',
|
188
|
+
'ml-0': align === 'right'
|
189
|
+
}),
|
190
|
+
customMenu: customMenu,
|
191
|
+
index: index,
|
192
|
+
isFiltered: isFiltered,
|
193
|
+
onFilter: handleFilter,
|
194
|
+
onGoto: handleGoto,
|
195
|
+
onHide: handleHide,
|
196
|
+
onPin: handlePin,
|
197
|
+
onSortToggle: handleSortToggle,
|
198
|
+
setRowActiveIndex: setRowActiveIndex,
|
199
|
+
sortDirection: sortDirection
|
200
|
+
})) : null, canResize ? ( /*#__PURE__*/React__default.createElement(Resizer, {
|
201
|
+
headerRef: ref,
|
202
|
+
id: id,
|
203
|
+
isResizing: isResizing,
|
204
|
+
onResize: handleResize,
|
205
|
+
setColumnSizing: setColumnSizing,
|
206
|
+
width: width
|
207
|
+
})) : null);
|
208
|
+
});
|
209
|
+
|
210
|
+
export { Header };
|
211
|
+
//# sourceMappingURL=Header.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Header.js","sources":["../../../../../../../../../src/components/Report/components/Header/Header.tsx"],"sourcesContent":["import React from 'react';\nimport {\n TableMeta as ReactTableMeta,\n ColumnMeta as ReactTableColumnMeta,\n Header as ReactTableHeader,\n ColumnPinningPosition as ReactTableColumnPinningPosition,\n flexRender,\n} from '@tanstack/react-table';\nimport cn from 'clsx';\nimport {\n freezeUptoExternalColumn,\n isInternalColumn,\n unfreezeAllExternalColumns,\n} from '../../../../primitives/Table/useTableManager/util/columns';\nimport { Tooltip } from '../../../Tooltip/Tooltip';\nimport { SortIndicator, getSortAttributes } from './components/SortIndicator';\nimport {\n TableColumnAlignment,\n TableColumnMenu,\n TableColumnSortDirection,\n TableColumnWidth,\n TableFilterComparator,\n} from '../../../../primitives/Table/types';\nimport { Resizer } from './components/Resizer';\nimport { HeaderMenu } from './components/Menu';\nimport { getIsPinned, useSetInitialColumnSizing } from './util';\n\nexport function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>) {\n if (header.column.getIsGrouped()) {\n return null;\n }\n\n const { table } = header.getContext();\n\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const columnMeta = (header.column.columnDef.meta ?? {}) as ReactTableColumnMeta<TType, unknown>;\n\n const isGroup = !!header.subHeaders.length;\n const isPinned = getIsPinned(header);\n\n const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;\n const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();\n const canMeasureSize = !!table.getRowModel().rows.length;\n const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();\n const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();\n const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();\n const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();\n\n const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);\n\n const sorting = table.getState().sorting;\n const filters = table.getState().columnFilters;\n const search = table.getState().globalFilter;\n\n // passing header or column results in re-renders on scroll, so anything from those objects as memoed props\n const memoedProps: MemoedHeaderProps = {\n align: columnMeta.align,\n canFilter,\n canHide,\n canGoto,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n className: cn('group/header', columnMeta.headerClassName),\n children: flexRender(header.column.columnDef.header, header.getContext()),\n colSpan: header.colSpan,\n customMenu: columnMeta.menu,\n defaultWidth: columnMeta.defaultWidth,\n hasMenu,\n id: header.id,\n isFiltered: header.column.getIsFiltered(),\n index: header.index,\n isGroup,\n isPinned,\n isPlaceholder: header.isPlaceholder,\n offset: header.column.getStart(isPinned),\n setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,\n setColumnSizing: table.setColumnSizing,\n tooltip: columnMeta.tooltip,\n width: table.getState().columnSizing[header.id],\n };\n\n if (header.isPlaceholder) {\n const nextHeader = header.headerGroup.headers[header.index + 1];\n memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {\n 'after:!content-none': nextHeader?.isPlaceholder,\n });\n }\n\n if (canFilter) {\n memoedProps.onFilter = () => {\n header.column.setFilterValue({ comparator: TableFilterComparator.Contains });\n };\n }\n\n if (canGoto) {\n memoedProps.onGoto = ((query: string) => tableMeta.rowGoto.handleGoto?.(header.id, query, sorting, filters, search)) as (\n query: string\n ) => Promise<number>;\n }\n\n if (canHide) {\n memoedProps.onHide = header.column.getToggleVisibilityHandler();\n }\n\n if (canPin) {\n memoedProps.onPin = (index: number | undefined) => {\n // TODO: this can probably be moved to a feature hook\n table.setColumnPinning(pinningState => {\n return {\n ...pinningState,\n left:\n index === undefined\n ? unfreezeAllExternalColumns(pinningState.left)\n : freezeUptoExternalColumn(\n index,\n table.getAllLeafColumns().map(column => column.id)\n ),\n };\n });\n };\n }\n\n if (canResize) {\n memoedProps.isResizing = header.column.getIsResizing();\n memoedProps.onResize = header.getResizeHandler();\n }\n\n if (canSort) {\n const handleSortToggle = (sortDirection: TableColumnSortDirection | false) => {\n if (sortDirection === false) {\n header.column.clearSorting();\n } else {\n header.column.toggleSorting(sortDirection === 'desc');\n }\n };\n\n memoedProps.onSort = header.column.getToggleSortingHandler();\n memoedProps.onSortToggle = handleSortToggle;\n memoedProps.sortDirection = header.column.getIsSorted();\n }\n\n return <MemoedHeader key={header.id} {...memoedProps} />;\n}\n\nexport type MemoedHeaderProps = {\n align?: TableColumnAlignment;\n canFilter: boolean;\n canHide: boolean;\n canGoto: boolean;\n canMeasureSize: boolean;\n canPin: boolean;\n canResize: boolean;\n canSort: boolean;\n children: JSX.Element | React.ReactNode;\n className?: string;\n colSpan: number;\n customMenu?: TableColumnMenu;\n defaultWidth?: TableColumnWidth;\n hasMenu: boolean;\n id: string;\n index: number;\n isFiltered: boolean;\n isGroup: boolean;\n isPinned?: ReactTableColumnPinningPosition;\n isPlaceholder: boolean;\n isResizing?: boolean;\n offset?: number;\n onFilter?: () => void;\n onGoto?: (query: string) => Promise<number>;\n onHide?: (event: unknown) => void;\n onPin?: (index: number | undefined) => void;\n onResize?: (event: unknown) => void;\n onSort?: (event: unknown) => void;\n onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;\n setRowActiveIndex: (index: number) => void;\n setColumnSizing: any;\n sortDirection?: TableColumnSortDirection | false;\n tooltip?: string;\n width?: TableColumnWidth;\n};\n\nconst MemoedHeader = React.memo(function MemoedHeader(props: MemoedHeaderProps) {\n const {\n align,\n canFilter,\n canGoto,\n canHide,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n children,\n className,\n colSpan,\n customMenu,\n defaultWidth,\n hasMenu,\n id,\n index,\n isFiltered,\n isGroup,\n isPinned,\n isPlaceholder,\n isResizing,\n offset,\n onFilter: handleFilter,\n onGoto: handleGoto,\n onHide: handleHide,\n onPin: handlePin,\n onResize: handleResize,\n onSort: handleSort,\n onSortToggle: handleSortToggle,\n setRowActiveIndex,\n setColumnSizing,\n sortDirection,\n tooltip,\n width,\n } = props;\n const [ref, setRef] = React.useState<HTMLTableCellElement | null>(null);\n\n // save column width if none is set\n useSetInitialColumnSizing(id, defaultWidth, width, ref, canMeasureSize, setColumnSizing);\n\n // feature specific styles\n const style: React.CSSProperties = {};\n\n // column groups often span multiple columns\n if (colSpan > 1) {\n style.gridColumn = `span ${colSpan}`;\n }\n\n // pinned columns should be offset from either the left or right\n if (isPinned) {\n style[isPinned] = `${offset}px`;\n }\n\n return (\n <th\n {...getSortAttributes(canSort, handleSort, sortDirection)}\n className={className}\n data-cell-align={isGroup ? 'center' : align}\n data-cell-id={id}\n data-cell-pinned={isPinned ? isPinned : undefined}\n style={style}\n ref={setRef}>\n {isPlaceholder ? null : isInternalColumn(id) ? (\n children\n ) : (\n <Tooltip title={String(tooltip ?? children)} placement=\"top\">\n <span className=\"truncate\">{children}</span>\n </Tooltip>\n )}\n {sortDirection ? <SortIndicator direction={sortDirection} /> : null}\n {hasMenu ? (\n <HeaderMenu\n canFilter={canFilter}\n canGoto={canGoto}\n canHide={canHide}\n canPin={canPin}\n canSort={canSort}\n className={cn({\n 'ml-auto': align !== 'right',\n 'ml-0': align === 'right',\n })}\n customMenu={customMenu}\n index={index}\n isFiltered={isFiltered}\n onFilter={handleFilter}\n onGoto={handleGoto}\n onHide={handleHide}\n onPin={handlePin}\n onSortToggle={handleSortToggle}\n setRowActiveIndex={setRowActiveIndex}\n sortDirection={sortDirection}\n />\n ) : null}\n {canResize ? (\n <Resizer\n headerRef={ref}\n id={id}\n isResizing={isResizing as boolean}\n onResize={handleResize as (event: unknown) => void}\n setColumnSizing={setColumnSizing}\n width={width}\n />\n ) : null}\n </th>\n );\n});\n"],"names":["Header","header","column","getIsGrouped","table","getContext","tableMeta","options","meta","columnMeta","_header$column$column","columnDef","isGroup","subHeaders","length","isPinned","getIsPinned","canFilter","isPlaceholder","getCanFilter","enableColumnFilters","canHide","getCanHide","canMeasureSize","getRowModel","rows","canPin","getCanPin","canResize","getCanResize","canSort","getCanSort","canGoto","rowGoto","isEnabled","getIsSorted","hasMenu","isInternalColumn","id","menu","sorting","getState","filters","columnFilters","search","globalFilter","memoedProps","align","className","cn","headerClassName","children","flexRender","colSpan","customMenu","defaultWidth","isFiltered","getIsFiltered","index","offset","getStart","setRowActiveIndex","rowActive","setColumnSizing","tooltip","width","columnSizing","nextHeader","headerGroup","headers","onFilter","setFilterValue","comparator","TableFilterComparator","Contains","onGoto","query","_tableMeta$rowGoto$ha","_tableMeta$rowGoto","handleGoto","call","onHide","getToggleVisibilityHandler","onPin","setColumnPinning","pinningState","left","undefined","unfreezeAllExternalColumns","freezeUptoExternalColumn","getAllLeafColumns","map","isResizing","getIsResizing","onResize","getResizeHandler","handleSortToggle","sortDirection","clearSorting","toggleSorting","onSort","getToggleSortingHandler","onSortToggle","React","MemoedHeader","key","memo","props","handleFilter","handleHide","handlePin","handleResize","handleSort","ref","setRef","useState","useSetInitialColumnSizing","style","gridColumn","getSortAttributes","Tooltip","title","String","placement","SortIndicator","direction","HeaderMenu","Resizer","headerRef"],"mappings":";;;;;;;;;;;SA2BgBA,MA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APA,OAAO,GAAIb,QAAQ,CAAC;IAAEwE,SAAS,EAAC;kBACnDpB;IAAMvD,SAAS,EAAC;KAAYG,QAAQ,CAAQ,CACtC,CACb,EACA8C,aAAa,gBAAGM,6BAACqB,aAAa;IAACC,SAAS,EAAE5B;IAAiB,GAAG,IAAI,EAClE7D,OAAO,kBACJmE,6BAACuB,UAAU;IACP7G,SAAS,EAAEA,SAAS;IACpBe,OAAO,EAAEA,OAAO;IAChBX,OAAO,EAAEA,OAAO;IAChBK,MAAM,EAAEA,MAAM;IACdI,OAAO,EAAEA,OAAO;IAChBkB,SAAS,EAAEC,EAAE,CAAC;MACV,SAAS,EAAEF,KAAK,KAAK,OAAO;MAC5B,MAAM,EAAEA,KAAK,KAAK;KACrB,CAAC;IACFO,UAAU,EAAEA,UAAU;IACtBI,KAAK,EAAEA,KAAK;IACZF,UAAU,EAAEA,UAAU;IACtBc,QAAQ,EAAEsC,YAAY;IACtBjC,MAAM,EAAEI,UAAU;IAClBE,MAAM,EAAE4B,UAAU;IAClB1B,KAAK,EAAE2B,SAAS;IAChBR,YAAY,EAAEN,gBAAgB;IAC9BnC,iBAAiB,EAAEA,iBAAiB;IACpCoC,aAAa,EAAEA;IACjB,IACF,IAAI,EACPrE,SAAS,kBACN2E,6BAACwB,OAAO;IACJC,SAAS,EAAEf,GAAG;IACd3E,EAAE,EAAEA,EAAE;IACNsD,UAAU,EAAEA,UAAqB;IACjCE,QAAQ,EAAEiB,YAAwC;IAClDhD,eAAe,EAAEA,eAAe;IAChCE,KAAK,EAAEA;IACT,IACF,IAAI,CACP;AAEb,CAAC,CAAC;;;;"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { useLocalization } from '../../../../Provider/Localization.js';
|
3
|
+
import { Popover } from '../../../../Popover/Popover.js';
|
4
|
+
import { SearchInput } from '../../../../SearchInput/SearchInput.js';
|
5
|
+
|
6
|
+
function GotoPopover(props) {
|
7
|
+
const {
|
8
|
+
onGoto: handleGoto,
|
9
|
+
trigger,
|
10
|
+
...popoverProps
|
11
|
+
} = props;
|
12
|
+
const {
|
13
|
+
texts
|
14
|
+
} = useLocalization();
|
15
|
+
const handleSearch = value => handleGoto(value);
|
16
|
+
return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
|
17
|
+
anchor: trigger
|
18
|
+
}), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement(SearchInput, {
|
19
|
+
"aria-label": texts.table3.columns.menu.gotoRow,
|
20
|
+
name: "query",
|
21
|
+
onSearch: handleSearch,
|
22
|
+
onKeyDown: event => event.stopPropagation(),
|
23
|
+
placeholder: `${texts.table3.columns.menu.gotoRow}...`
|
24
|
+
})));
|
25
|
+
}
|
26
|
+
|
27
|
+
export { GotoPopover };
|
28
|
+
//# sourceMappingURL=Goto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Goto.js","sources":["../../../../../../../../../../src/components/Report/components/Header/components/Goto.tsx"],"sourcesContent":["import React from 'react';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Popover, PopoverProps } from '../../../../Popover/Popover';\nimport { SearchInput } from '../../../../SearchInput/SearchInput';\n\nexport type GotoProps = PopoverProps & {\n onGoto: (query: string) => Promise<void>;\n};\n\nexport function GotoPopover(props: GotoProps) {\n const { onGoto: handleGoto, trigger, ...popoverProps } = props;\n const { texts } = useLocalization();\n\n const handleSearch = value => handleGoto(value);\n\n return (\n <Popover {...popoverProps} anchor={trigger}>\n <Popover.Content>\n <SearchInput\n aria-label={texts.table3.columns.menu.gotoRow}\n name=\"query\"\n onSearch={handleSearch}\n onKeyDown={event => event.stopPropagation()}\n placeholder={`${texts.table3.columns.menu.gotoRow}...`}\n />\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["GotoPopover","props","onGoto","handleGoto","trigger","popoverProps","texts","useLocalization","handleSearch","value","React","Popover","anchor","Content","SearchInput","table3","columns","menu","gotoRow","name","onSearch","onKeyDown","event","stopPropagation","placeholder"],"mappings":";;;;;SASgBA,WAAWA,CAACC,KAAgB;EACxC,MAAM;IAAEC,MAAM,EAAEC,UAAU;IAAEC,OAAO;IAAE,GAAGC;GAAc,GAAGJ,KAAK;EAC9D,MAAM;IAAEK;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,YAAY,GAAGC,KAAK,IAAIN,UAAU,CAACM,KAAK,CAAC;EAE/C,oBACIC,6BAACC,OAAO,oBAAKN,YAAY;IAAEO,MAAM,EAAER;mBAC/BM,6BAACC,OAAO,CAACE,OAAO,qBACZH,6BAACI,WAAW;kBACIR,KAAK,CAACS,MAAM,CAACC,OAAO,CAACC,IAAI,CAACC,OAAO;IAC7CC,IAAI,EAAC,OAAO;IACZC,QAAQ,EAAEZ,YAAY;IACtBa,SAAS,EAAEC,KAAK,IAAIA,KAAK,CAACC,eAAe,EAAE;IAC3CC,WAAW,KAAKlB,KAAK,CAACS,MAAM,CAACC,OAAO,CAACC,IAAI,CAACC;IAC5C,CACY,CACZ;AAElB;;;;"}
|