@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,41 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { useRowContext } from '../../rows/RowContext.js';
|
4
|
+
import { scrollColumnIntoView } from '../../../util/columns.js';
|
5
|
+
|
6
|
+
const Highlight = props => {
|
7
|
+
const {
|
8
|
+
current,
|
9
|
+
frozenColumnIndex,
|
10
|
+
index,
|
11
|
+
tableRef,
|
12
|
+
...attributes
|
13
|
+
} = props;
|
14
|
+
const {
|
15
|
+
hasError: rowHasError
|
16
|
+
} = useRowContext();
|
17
|
+
const ref = React__default.useRef(null);
|
18
|
+
const className = cn('h-full flex [justify-content:inherit] [text-align:inherit]', props.className, {
|
19
|
+
// normal row
|
20
|
+
'bg-blue-200/25': !current && !rowHasError,
|
21
|
+
// current row
|
22
|
+
'bg-blue-200/75': current && !rowHasError,
|
23
|
+
// normal row with error
|
24
|
+
'bg-[#eaeaf5]': !current && rowHasError,
|
25
|
+
// current with error
|
26
|
+
'bg-[#dadaf5]': current && rowHasError
|
27
|
+
});
|
28
|
+
React__default.useEffect(() => {
|
29
|
+
if (ref.current && current) {
|
30
|
+
scrollColumnIntoView(index, frozenColumnIndex, ref.current, tableRef.current);
|
31
|
+
}
|
32
|
+
}, [current]);
|
33
|
+
return /*#__PURE__*/React__default.createElement("div", Object.assign({}, attributes, {
|
34
|
+
"data-taco": "highlight",
|
35
|
+
className: className,
|
36
|
+
ref: ref
|
37
|
+
}));
|
38
|
+
};
|
39
|
+
|
40
|
+
export { Highlight };
|
41
|
+
//# sourceMappingURL=Highlight.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Highlight.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/cell/Highlight.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { scrollColumnIntoView } from '../../../util/columns';\nimport { useRowContext } from '../../rows/RowContext';\n\nexport const Highlight = props => {\n const { current, frozenColumnIndex, index, tableRef, ...attributes } = props;\n const { hasError: rowHasError } = useRowContext();\n\n const ref = React.useRef<HTMLDivElement | null>(null);\n const className = cn('h-full flex [justify-content:inherit] [text-align:inherit]', props.className, {\n // normal row\n 'bg-blue-200/25': !current && !rowHasError,\n // current row\n 'bg-blue-200/75': current && !rowHasError,\n // normal row with error\n 'bg-[#eaeaf5]': !current && rowHasError,\n // current with error\n 'bg-[#dadaf5]': current && rowHasError,\n });\n\n React.useEffect(() => {\n if (ref.current && current) {\n scrollColumnIntoView(index, frozenColumnIndex, ref.current, tableRef.current);\n }\n }, [current]);\n\n return <div {...attributes} data-taco=\"highlight\" className={className} ref={ref} />;\n};\n"],"names":["Highlight","props","current","frozenColumnIndex","index","tableRef","attributes","hasError","rowHasError","useRowContext","ref","React","useRef","className","cn","useEffect","scrollColumnIntoView"],"mappings":";;;;;MAKaA,SAAS,GAAGC,KAAK;EAC1B,MAAM;IAAEC,OAAO;IAAEC,iBAAiB;IAAEC,KAAK;IAAEC,QAAQ;IAAE,GAAGC;GAAY,GAAGL,KAAK;EAC5E,MAAM;IAAEM,QAAQ,EAAEC;GAAa,GAAGC,aAAa,EAAE;EAEjD,MAAMC,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAwB,IAAI,CAAC;EACrD,MAAMC,SAAS,GAAGC,EAAE,CAAC,4DAA4D,EAAEb,KAAK,CAACY,SAAS,EAAE;;IAEhG,gBAAgB,EAAE,CAACX,OAAO,IAAI,CAACM,WAAW;;IAE1C,gBAAgB,EAAEN,OAAO,IAAI,CAACM,WAAW;;IAEzC,cAAc,EAAE,CAACN,OAAO,IAAIM,WAAW;;IAEvC,cAAc,EAAEN,OAAO,IAAIM;GAC9B,CAAC;EAEFG,cAAK,CAACI,SAAS,CAAC;IACZ,IAAIL,GAAG,CAACR,OAAO,IAAIA,OAAO,EAAE;MACxBc,oBAAoB,CAACZ,KAAK,EAAED,iBAAiB,EAAEO,GAAG,CAACR,OAAO,EAAEG,QAAQ,CAACH,OAAO,CAAC;;GAEpF,EAAE,CAACA,OAAO,CAAC,CAAC;EAEb,oBAAOS,sDAASL,UAAU;iBAAY,WAAW;IAACO,SAAS,EAAEA,SAAS;IAAEH,GAAG,EAAEA;KAAO;AACxF;;;;"}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Icon } from '../../../../Icon/Icon.js';
|
4
|
+
import { Tooltip } from '../../../../Tooltip/Tooltip.js';
|
5
|
+
import { useLocalization } from '../../../../Provider/Localization.js';
|
6
|
+
import ReactDOM from 'react-dom';
|
7
|
+
|
8
|
+
var IndicatorReason;
|
9
|
+
(function (IndicatorReason) {
|
10
|
+
IndicatorReason["SEARCH"] = "SEARCH";
|
11
|
+
IndicatorReason["SORTING"] = "SORTING";
|
12
|
+
IndicatorReason["FILTER"] = "FILTER";
|
13
|
+
})(IndicatorReason || (IndicatorReason = {}));
|
14
|
+
const useIndicatorText = reason => {
|
15
|
+
let title = '';
|
16
|
+
let description = '';
|
17
|
+
const {
|
18
|
+
texts
|
19
|
+
} = useLocalization();
|
20
|
+
switch (reason) {
|
21
|
+
case IndicatorReason.FILTER:
|
22
|
+
title = texts.table3.editing.rowIndicator.rowWillBeHidden;
|
23
|
+
description = texts.table3.editing.rowIndicator.rowWillMoveReasonFilter;
|
24
|
+
break;
|
25
|
+
case IndicatorReason.SEARCH:
|
26
|
+
title = texts.table3.editing.rowIndicator.rowWillBeHidden;
|
27
|
+
description = texts.table3.editing.rowIndicator.rowWillMoveReasonSearch;
|
28
|
+
break;
|
29
|
+
case IndicatorReason.SORTING:
|
30
|
+
title = texts.table3.editing.rowIndicator.rowWillMove;
|
31
|
+
description = texts.table3.editing.rowIndicator.rowWillMoveReasonSorting;
|
32
|
+
break;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
title,
|
36
|
+
description
|
37
|
+
};
|
38
|
+
};
|
39
|
+
const Indicator = ({
|
40
|
+
reason,
|
41
|
+
columnName,
|
42
|
+
mountNode,
|
43
|
+
validationErrors
|
44
|
+
}) => {
|
45
|
+
const container = React__default.useMemo(() => {
|
46
|
+
const element = document.createElement('div');
|
47
|
+
element.className += 'rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm';
|
48
|
+
return element;
|
49
|
+
}, []);
|
50
|
+
const indicatorText = useIndicatorText(reason);
|
51
|
+
const hasValidationErrorsInRow = !!validationErrors;
|
52
|
+
React__default.useEffect(() => {
|
53
|
+
// mountNode could be null when rows are filtered
|
54
|
+
// Pinned columns has z-20 class assigned, which overlaps indicator element, need to add z-21 to overlap pinned columns.
|
55
|
+
mountNode === null || mountNode === void 0 ? void 0 : mountNode.classList.add('!z-[21]', 'relative');
|
56
|
+
mountNode === null || mountNode === void 0 ? void 0 : mountNode.appendChild(container);
|
57
|
+
return () => {
|
58
|
+
mountNode === null || mountNode === void 0 ? void 0 : mountNode.classList.remove('!z-[21]', 'relative');
|
59
|
+
mountNode === null || mountNode === void 0 ? void 0 : mountNode.removeChild(container);
|
60
|
+
};
|
61
|
+
}, [hasValidationErrorsInRow, mountNode]);
|
62
|
+
// Using react portal inside a react tree component is an unorthodox way, but in order to avoid much code refactoring
|
63
|
+
// and being able to use Taco Tooltip component in side the visual indicator, portal is used.
|
64
|
+
return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React__default.createElement(Tooltip, {
|
65
|
+
title: indicatorText.description.replace('[COLUMN]', columnName)
|
66
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
67
|
+
className: "flex gap-1 hover:cursor-pointer"
|
68
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
69
|
+
name: "info",
|
70
|
+
className: "!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"
|
71
|
+
}), indicatorText.title)), container);
|
72
|
+
};
|
73
|
+
/**
|
74
|
+
* Generates class names needed to highlight row cells, used when row has a move indicator
|
75
|
+
*/
|
76
|
+
function getIndicatorCellClassName(columnIndex, lastColumnIndex) {
|
77
|
+
return cn('!border-blue !border-y-2 border-x-0', {
|
78
|
+
'border-l-2 rounded-l': columnIndex === 0,
|
79
|
+
'border-r-2 rounded-r': columnIndex === lastColumnIndex
|
80
|
+
});
|
81
|
+
}
|
82
|
+
function isIndicatorVisible(rowIndex, rowActiveIndex, rowMoveReason) {
|
83
|
+
const isActiveRow = rowActiveIndex === rowIndex;
|
84
|
+
return isActiveRow && rowMoveReason;
|
85
|
+
}
|
86
|
+
|
87
|
+
export { Indicator, IndicatorReason, getIndicatorCellClassName, isIndicatorVisible, useIndicatorText };
|
88
|
+
//# sourceMappingURL=Indicator.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Indicator.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/cell/Indicator.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport ReactDOM from 'react-dom';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\nimport { Icon } from '../../../../Icon/Icon';\n\nexport enum IndicatorReason {\n SEARCH = 'SEARCH',\n SORTING = 'SORTING',\n FILTER = 'FILTER',\n}\n\nexport const useIndicatorText = reason => {\n let title = '';\n let description = '';\n\n const { texts } = useLocalization();\n\n switch (reason) {\n case IndicatorReason.FILTER:\n title = texts.table3.editing.rowIndicator.rowWillBeHidden;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonFilter;\n break;\n case IndicatorReason.SEARCH:\n title = texts.table3.editing.rowIndicator.rowWillBeHidden;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonSearch;\n break;\n case IndicatorReason.SORTING:\n title = texts.table3.editing.rowIndicator.rowWillMove;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonSorting;\n break;\n }\n\n return { title, description };\n};\n\nexport type IndicatorProps = {\n reason: IndicatorReason;\n columnName: string;\n mountNode: Element | null;\n validationErrors: any;\n};\nexport const Indicator = ({ reason, columnName, mountNode, validationErrors }: IndicatorProps) => {\n const container = React.useMemo(() => {\n const element = document.createElement('div');\n element.className +=\n 'rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm';\n\n return element;\n }, []);\n\n const indicatorText = useIndicatorText(reason);\n\n const hasValidationErrorsInRow = !!validationErrors;\n\n React.useEffect(() => {\n // mountNode could be null when rows are filtered\n // Pinned columns has z-20 class assigned, which overlaps indicator element, need to add z-21 to overlap pinned columns.\n mountNode?.classList.add('!z-[21]', 'relative');\n mountNode?.appendChild(container);\n\n return () => {\n mountNode?.classList.remove('!z-[21]', 'relative');\n mountNode?.removeChild(container);\n };\n }, [hasValidationErrorsInRow, mountNode]);\n\n // Using react portal inside a react tree component is an unorthodox way, but in order to avoid much code refactoring\n // and being able to use Taco Tooltip component in side the visual indicator, portal is used.\n return ReactDOM.createPortal(\n <Tooltip title={indicatorText.description.replace('[COLUMN]', columnName)}>\n <span className=\"flex gap-1 hover:cursor-pointer\">\n <Icon name=\"info\" className=\"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500\" />\n {indicatorText.title}\n </span>\n </Tooltip>,\n container\n );\n};\n\n/**\n * Generates class names needed to highlight row cells, used when row has a move indicator\n */\nexport function getIndicatorCellClassName(columnIndex: number, lastColumnIndex: number) {\n return cn('!border-blue !border-y-2 border-x-0', {\n 'border-l-2 rounded-l': columnIndex === 0,\n 'border-r-2 rounded-r': columnIndex === lastColumnIndex,\n });\n}\n\nexport function isIndicatorVisible(rowIndex, rowActiveIndex, rowMoveReason) {\n const isActiveRow = rowActiveIndex === rowIndex;\n return isActiveRow && rowMoveReason;\n}\n"],"names":["IndicatorReason","useIndicatorText","reason","title","description","texts","useLocalization","FILTER","table3","editing","rowIndicator","rowWillBeHidden","rowWillMoveReasonFilter","SEARCH","rowWillMoveReasonSearch","SORTING","rowWillMove","rowWillMoveReasonSorting","Indicator","columnName","mountNode","validationErrors","container","React","useMemo","element","document","createElement","className","indicatorText","hasValidationErrorsInRow","useEffect","classList","add","appendChild","remove","removeChild","ReactDOM","createPortal","Tooltip","replace","Icon","name","getIndicatorCellClassName","columnIndex","lastColumnIndex","cn","isIndicatorVisible","rowIndex","rowActiveIndex","rowMoveReason","isActiveRow"],"mappings":";;;;;;;IAOYA;AAAZ,WAAYA,eAAe;EACvBA,oCAAiB;EACjBA,sCAAmB;EACnBA,oCAAiB;AACrB,CAAC,EAJWA,eAAe,KAAfA,eAAe;MAMdC,gBAAgB,GAAGC,MAAM;EAClC,IAAIC,KAAK,GAAG,EAAE;EACd,IAAIC,WAAW,GAAG,EAAE;EAEpB,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAEnC,QAAQJ,MAAM;IACV,KAAKF,eAAe,CAACO,MAAM;MACvBJ,KAAK,GAAGE,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACC,eAAe;MACzDP,WAAW,GAAGC,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACE,uBAAuB;MACvE;IACJ,KAAKZ,eAAe,CAACa,MAAM;MACvBV,KAAK,GAAGE,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACC,eAAe;MACzDP,WAAW,GAAGC,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACI,uBAAuB;MACvE;IACJ,KAAKd,eAAe,CAACe,OAAO;MACxBZ,KAAK,GAAGE,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACM,WAAW;MACrDZ,WAAW,GAAGC,KAAK,CAACG,MAAM,CAACC,OAAO,CAACC,YAAY,CAACO,wBAAwB;MACxE;;EAGR,OAAO;IAAEd,KAAK;IAAEC;GAAa;AACjC;MAQac,SAAS,GAAGA,CAAC;EAAEhB,MAAM;EAAEiB,UAAU;EAAEC,SAAS;EAAEC;CAAkC;EACzF,MAAMC,SAAS,GAAGC,cAAK,CAACC,OAAO,CAAC;IAC5B,MAAMC,OAAO,GAAGC,QAAQ,CAACC,aAAa,CAAC,KAAK,CAAC;IAC7CF,OAAO,CAACG,SAAS,IACb,iIAAiI;IAErI,OAAOH,OAAO;GACjB,EAAE,EAAE,CAAC;EAEN,MAAMI,aAAa,GAAG5B,gBAAgB,CAACC,MAAM,CAAC;EAE9C,MAAM4B,wBAAwB,GAAG,CAAC,CAACT,gBAAgB;EAEnDE,cAAK,CAACQ,SAAS,CAAC;;;IAGZX,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEY,SAAS,CAACC,GAAG,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/Cb,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEc,WAAW,CAACZ,SAAS,CAAC;IAEjC,OAAO;MACHF,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEY,SAAS,CAACG,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC;MAClDf,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEgB,WAAW,CAACd,SAAS,CAAC;KACpC;GACJ,EAAE,CAACQ,wBAAwB,EAAEV,SAAS,CAAC,CAAC;;;EAIzC,oBAAOiB,QAAQ,CAACC,YAAY,eACxBf,6BAACgB,OAAO;IAACpC,KAAK,EAAE0B,aAAa,CAACzB,WAAW,CAACoC,OAAO,CAAC,UAAU,EAAErB,UAAU;kBACpEI;IAAMK,SAAS,EAAC;kBACZL,6BAACkB,IAAI;IAACC,IAAI,EAAC,MAAM;IAACd,SAAS,EAAC;IAAuD,EAClFC,aAAa,CAAC1B,KAAK,CACjB,CACD,EACVmB,SAAS,CACZ;AACL;AAEA;;;SAGgBqB,yBAAyBA,CAACC,WAAmB,EAAEC,eAAuB;EAClF,OAAOC,EAAE,CAAC,qCAAqC,EAAE;IAC7C,sBAAsB,EAAEF,WAAW,KAAK,CAAC;IACzC,sBAAsB,EAAEA,WAAW,KAAKC;GAC3C,CAAC;AACN;SAEgBE,kBAAkBA,CAACC,QAAQ,EAAEC,cAAc,EAAEC,aAAa;EACtE,MAAMC,WAAW,GAAGF,cAAc,KAAKD,QAAQ;EAC/C,OAAOG,WAAW,IAAID,aAAa;AACvC;;;;"}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { useMergedRef } from '../../../../../../hooks/useMergedRef.js';
|
4
|
+
import { getCellAlignmentClasses } from '../../styles.js';
|
5
|
+
import { Textarea } from '../../../../../Textarea/Textarea.js';
|
6
|
+
|
7
|
+
// By UX design, textarea should fold to min size when blured and extend to max 5 lines height when edited in enableTruncate mode,
|
8
|
+
// for this reason we need to set min/max height limits for each font size value.
|
9
|
+
const heights = {
|
10
|
+
small: {
|
11
|
+
min: 24,
|
12
|
+
max: 86
|
13
|
+
},
|
14
|
+
medium: {
|
15
|
+
min: 32,
|
16
|
+
max: 100
|
17
|
+
},
|
18
|
+
large: {
|
19
|
+
min: 40,
|
20
|
+
max: 140
|
21
|
+
}
|
22
|
+
};
|
23
|
+
const TextareaControl = /*#__PURE__*/React__default.forwardRef(function TextareaControl(props, externalRef) {
|
24
|
+
const {
|
25
|
+
onKeyDown: handleKeyDown,
|
26
|
+
onChange: handleChange,
|
27
|
+
onBlur,
|
28
|
+
onFocus,
|
29
|
+
column,
|
30
|
+
isCellInDetailMode,
|
31
|
+
align,
|
32
|
+
isActiveRow,
|
33
|
+
value,
|
34
|
+
fontSize,
|
35
|
+
tableRef: _1,
|
36
|
+
initialValue: _2,
|
37
|
+
...attributes
|
38
|
+
} = props;
|
39
|
+
const minMaxHeight = heights[fontSize];
|
40
|
+
const columnMeta = column.columnDef.meta;
|
41
|
+
const ref = useMergedRef(externalRef);
|
42
|
+
React__default.useEffect(() => {
|
43
|
+
if (ref !== null && ref !== void 0 && ref.current) {
|
44
|
+
// Need to reset textarea to min height when font size got changed and if column in enable truncate mode.
|
45
|
+
if (columnMeta !== null && columnMeta !== void 0 && columnMeta.enableTruncate) {
|
46
|
+
const textareaElement = ref === null || ref === void 0 ? void 0 : ref.current;
|
47
|
+
textareaElement.style.height = `${minMaxHeight.min}px`;
|
48
|
+
// If truncation is not enabled, then textarea should re-calculate it's height to fit with it's own content, when initialized or fonsSize got changed.
|
49
|
+
} else {
|
50
|
+
const textareaElement = ref === null || ref === void 0 ? void 0 : ref.current;
|
51
|
+
resizeTextArea(textareaElement);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}, [fontSize]);
|
55
|
+
React__default.useEffect(() => {
|
56
|
+
// If truncation is enabled, then textarea should only adjust to it's own content, when in detail mode.
|
57
|
+
// Otherwise it should collapse to minimal height.
|
58
|
+
if (ref !== null && ref !== void 0 && ref.current && columnMeta !== null && columnMeta !== void 0 && columnMeta.enableTruncate) {
|
59
|
+
const textareaElement = ref === null || ref === void 0 ? void 0 : ref.current;
|
60
|
+
if (isCellInDetailMode) {
|
61
|
+
resizeTextArea(textareaElement);
|
62
|
+
} else {
|
63
|
+
textareaElement.style.height = `${minMaxHeight.min}px`;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}, [isCellInDetailMode]);
|
67
|
+
const resizeTextArea = textareaElement => {
|
68
|
+
// Need to set inherit before calculating height, so that browser sets the scrollHeight properly,
|
69
|
+
// depending on text inside.
|
70
|
+
const textareaRect = textareaElement.getBoundingClientRect();
|
71
|
+
const prevHeight = textareaRect.height;
|
72
|
+
if (columnMeta !== null && columnMeta !== void 0 && columnMeta.enableTruncate) {
|
73
|
+
if (prevHeight < minMaxHeight.max) {
|
74
|
+
textareaElement.style.height = 'inherit';
|
75
|
+
textareaElement.style.height = `${Math.min(textareaElement.scrollHeight, minMaxHeight.max)}px`;
|
76
|
+
}
|
77
|
+
} else {
|
78
|
+
textareaElement.style.height = 'inherit';
|
79
|
+
textareaElement.style.height = `${textareaElement.scrollHeight}px`;
|
80
|
+
}
|
81
|
+
};
|
82
|
+
const handleTextareaChange = e => {
|
83
|
+
resizeTextArea(e.target);
|
84
|
+
};
|
85
|
+
const textareaContainerClassName = cn('w-full', {
|
86
|
+
'focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]': columnMeta === null || columnMeta === void 0 ? void 0 : columnMeta.enableTruncate
|
87
|
+
});
|
88
|
+
const handleTextareaKeyDown = event => {
|
89
|
+
// By default Shift + Enter in textarea makes a new line, we want to keep this behaviour
|
90
|
+
if (event.shiftKey && event.key === 'Enter') {
|
91
|
+
return;
|
92
|
+
} else {
|
93
|
+
handleKeyDown(event);
|
94
|
+
}
|
95
|
+
};
|
96
|
+
const handleBlur = event => {
|
97
|
+
// If truncation is enabled, then textarea should shring back to min height, when loosing focus.
|
98
|
+
if (columnMeta !== null && columnMeta !== void 0 && columnMeta.enableTruncate) {
|
99
|
+
const textareaElement = event.currentTarget;
|
100
|
+
textareaElement.style.height = `${minMaxHeight.min}px`;
|
101
|
+
}
|
102
|
+
onBlur(event);
|
103
|
+
};
|
104
|
+
const handleFocus = event => {
|
105
|
+
const textareaElement = ref === null || ref === void 0 ? void 0 : ref.current;
|
106
|
+
if (textareaElement) {
|
107
|
+
resizeTextArea(textareaElement);
|
108
|
+
}
|
109
|
+
onFocus(event);
|
110
|
+
};
|
111
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
112
|
+
"data-taco": "input-container"
|
113
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
114
|
+
style: {
|
115
|
+
minHeight: `${minMaxHeight.min}px`
|
116
|
+
},
|
117
|
+
className: "relative"
|
118
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
119
|
+
className: textareaContainerClassName
|
120
|
+
}, /*#__PURE__*/React__default.createElement(Textarea, Object.assign({}, attributes, {
|
121
|
+
onChange: event => {
|
122
|
+
handleChange(event.target.value);
|
123
|
+
handleTextareaChange(event);
|
124
|
+
},
|
125
|
+
rows: 1,
|
126
|
+
onKeyDown: e => {
|
127
|
+
handleTextareaKeyDown(e);
|
128
|
+
},
|
129
|
+
onBlur: handleBlur,
|
130
|
+
onFocus: handleFocus,
|
131
|
+
className: cn(getCellAlignmentClasses(align), `h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap`, {
|
132
|
+
[`!min-h-[${minMaxHeight.min}px]`]: columnMeta === null || columnMeta === void 0 ? void 0 : columnMeta.enableTruncate,
|
133
|
+
'!yt-focus-dark': isCellInDetailMode,
|
134
|
+
[`h-[${minMaxHeight.min}px]`]: !isCellInDetailMode && (columnMeta === null || columnMeta === void 0 ? void 0 : columnMeta.enableTruncate),
|
135
|
+
// Only allow resizing when focused and truncation enabled
|
136
|
+
'focus:resize-y': isActiveRow && (columnMeta === null || columnMeta === void 0 ? void 0 : columnMeta.enableTruncate)
|
137
|
+
}),
|
138
|
+
ref: ref,
|
139
|
+
value: String(value !== null && value !== void 0 ? value : '')
|
140
|
+
})))));
|
141
|
+
});
|
142
|
+
|
143
|
+
export { TextareaControl };
|
144
|
+
//# sourceMappingURL=TextareaControl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextareaControl.js","sources":["../../../../../../../../../../../src/components/Table3/components/columns/cell/controls/TextareaControl.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Textarea } from '../../../../../Textarea/Textarea';\nimport { EditingControlProps } from '../EditingControl';\nimport { getCellAlignmentClasses } from '../../styles';\nimport { useMergedRef } from '../../../../../../hooks/useMergedRef';\nimport { FontSize } from '../../../../../../types';\n\ntype TextareaHeight = {\n min: number;\n max: number;\n};\n// By UX design, textarea should fold to min size when blured and extend to max 5 lines height when edited in enableTruncate mode,\n// for this reason we need to set min/max height limits for each font size value.\nconst heights: Record<FontSize, TextareaHeight> = {\n small: {\n min: 24,\n max: 86,\n },\n medium: {\n min: 32,\n max: 100,\n },\n large: {\n min: 40,\n max: 140,\n },\n};\n\ntype TextareaControlProps<TType = unknown> = EditingControlProps<TType> & {\n onKeyDown: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;\n fontSize: FontSize;\n invalid: boolean;\n isCellInDetailMode?: boolean;\n};\n\nexport const TextareaControl = React.forwardRef<HTMLElement, any>(function TextareaControl<TType = unknown>(\n props: TextareaControlProps<TType>,\n externalRef: React.Ref<HTMLElement>\n) {\n const {\n onKeyDown: handleKeyDown,\n onChange: handleChange,\n onBlur,\n onFocus,\n column,\n isCellInDetailMode,\n align,\n isActiveRow,\n value,\n fontSize,\n tableRef: _1,\n initialValue: _2,\n ...attributes\n } = props;\n\n const minMaxHeight = heights[fontSize];\n\n const columnMeta = column.columnDef.meta;\n\n const ref = useMergedRef<HTMLTextAreaElement>(externalRef);\n\n React.useEffect(() => {\n if (ref?.current) {\n // Need to reset textarea to min height when font size got changed and if column in enable truncate mode.\n if (columnMeta?.enableTruncate) {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n textareaElement.style.height = `${minMaxHeight.min}px`;\n\n // If truncation is not enabled, then textarea should re-calculate it's height to fit with it's own content, when initialized or fonsSize got changed.\n } else {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n resizeTextArea(textareaElement);\n }\n }\n }, [fontSize]);\n\n React.useEffect(() => {\n // If truncation is enabled, then textarea should only adjust to it's own content, when in detail mode.\n // Otherwise it should collapse to minimal height.\n if (ref?.current && columnMeta?.enableTruncate) {\n const textareaElement = ref?.current as HTMLTextAreaElement;\n\n if (isCellInDetailMode) {\n resizeTextArea(textareaElement);\n } else {\n textareaElement.style.height = `${minMaxHeight.min}px`;\n }\n }\n }, [isCellInDetailMode]);\n\n const resizeTextArea = (textareaElement: HTMLTextAreaElement) => {\n // Need to set inherit before calculating height, so that browser sets the scrollHeight properly,\n // depending on text inside.\n const textareaRect = textareaElement.getBoundingClientRect();\n const prevHeight = textareaRect.height;\n if (columnMeta?.enableTruncate) {\n if (prevHeight < minMaxHeight.max) {\n textareaElement.style.height = 'inherit';\n textareaElement.style.height = `${Math.min(textareaElement.scrollHeight, minMaxHeight.max)}px`;\n }\n } else {\n textareaElement.style.height = 'inherit';\n textareaElement.style.height = `${textareaElement.scrollHeight}px`;\n }\n };\n\n const handleTextareaChange = e => {\n resizeTextArea(e.target);\n };\n\n const textareaContainerClassName = cn('w-full', {\n 'focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]': columnMeta?.enableTruncate,\n });\n const handleTextareaKeyDown = (event: React.KeyboardEvent<HTMLTextAreaElement>) => {\n // By default Shift + Enter in textarea makes a new line, we want to keep this behaviour\n if (event.shiftKey && event.key === 'Enter') {\n return;\n } else {\n handleKeyDown(event);\n }\n };\n\n const handleBlur = event => {\n // If truncation is enabled, then textarea should shring back to min height, when loosing focus.\n if (columnMeta?.enableTruncate) {\n const textareaElement = event.currentTarget;\n textareaElement.style.height = `${minMaxHeight.min}px`;\n }\n onBlur(event);\n };\n\n const handleFocus = (event: React.FocusEvent) => {\n const textareaElement = ref?.current;\n\n if (textareaElement) {\n resizeTextArea(textareaElement);\n }\n\n onFocus(event);\n };\n\n return (\n <div data-taco=\"input-container\">\n {/**\n * Textarea should have min height placeholder, because it becomes absolute positioned when focused,\n * which leads to overlapping of validation message rendered bellow.\n * Somehow tailwind cannot dynamically assign min height when arbitary value has been used(in this particular case),\n * so assigning it through style prop here\n **/}\n <div style={{ minHeight: `${minMaxHeight.min}px` }} className=\"relative\">\n <div className={textareaContainerClassName}>\n <Textarea\n {...attributes}\n onChange={event => {\n handleChange(event.target.value);\n handleTextareaChange(event);\n }}\n rows={1}\n onKeyDown={e => {\n handleTextareaKeyDown(e);\n }}\n onBlur={handleBlur}\n onFocus={handleFocus}\n className={cn(\n getCellAlignmentClasses(align),\n `h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap`,\n {\n [`!min-h-[${minMaxHeight.min}px]`]: columnMeta?.enableTruncate,\n '!yt-focus-dark': isCellInDetailMode,\n [`h-[${minMaxHeight.min}px]`]: !isCellInDetailMode && columnMeta?.enableTruncate,\n // Only allow resizing when focused and truncation enabled\n 'focus:resize-y': isActiveRow && columnMeta?.enableTruncate,\n }\n )}\n ref={ref}\n value={String(value ?? '')}\n />\n </div>\n </div>\n </div>\n );\n});\n"],"names":["heights","small","min","max","medium","large","TextareaControl","React","forwardRef","props","externalRef","onKeyDown","handleKeyDown","onChange","handleChange","onBlur","onFocus","column","isCellInDetailMode","align","isActiveRow","value","fontSize","tableRef","_1","initialValue","_2","attributes","minMaxHeight","columnMeta","columnDef","meta","ref","useMergedRef","useEffect","current","enableTruncate","textareaElement","style","height","resizeTextArea","textareaRect","getBoundingClientRect","prevHeight","Math","scrollHeight","handleTextareaChange","e","target","textareaContainerClassName","cn","handleTextareaKeyDown","event","shiftKey","key","handleBlur","currentTarget","handleFocus","minHeight","className","Textarea","rows","getCellAlignmentClasses","String"],"mappings":";;;;;;AAYA;AACA;AACA,MAAMA,OAAO,GAAqC;EAC9CC,KAAK,EAAE;IACHC,GAAG,EAAE,EAAE;IACPC,GAAG,EAAE;GACR;EACDC,MAAM,EAAE;IACJF,GAAG,EAAE,EAAE;IACPC,GAAG,EAAE;GACR;EACDE,KAAK,EAAE;IACHH,GAAG,EAAE,EAAE;IACPC,GAAG,EAAE;;CAEZ;MASYG,eAAe,gBAAGC,cAAK,CAACC,UAAU,CAAmB,SAASF,eAAeA,CACtFG,KAAkC,EAClCC,WAAmC;EAEnC,MAAM;IACFC,SAAS,EAAEC,aAAa;IACxBC,QAAQ,EAAEC,YAAY;IACtBC,MAAM;IACNC,OAAO;IACPC,MAAM;IACNC,kBAAkB;IAClBC,KAAK;IACLC,WAAW;IACXC,KAAK;IACLC,QAAQ;IACRC,QAAQ,EAAEC,EAAE;IACZC,YAAY,EAAEC,EAAE;IAChB,GAAGC;GACN,GAAGlB,KAAK;EAET,MAAMmB,YAAY,GAAG5B,OAAO,CAACsB,QAAQ,CAAC;EAEtC,MAAMO,UAAU,GAAGZ,MAAM,CAACa,SAAS,CAACC,IAAI;EAExC,MAAMC,GAAG,GAAGC,YAAY,CAAsBvB,WAAW,CAAC;EAE1DH,cAAK,CAAC2B,SAAS,CAAC;IACZ,IAAIF,GAAG,aAAHA,GAAG,eAAHA,GAAG,CAAEG,OAAO,EAAE;;MAEd,IAAIN,UAAU,aAAVA,UAAU,eAAVA,UAAU,CAAEO,cAAc,EAAE;QAC5B,MAAMC,eAAe,GAAGL,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEG,OAA8B;QAC3DE,eAAe,CAACC,KAAK,CAACC,MAAM,MAAMX,YAAY,CAAC1B,OAAO;;OAGzD,MAAM;QACH,MAAMmC,eAAe,GAAGL,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEG,OAA8B;QAC3DK,cAAc,CAACH,eAAe,CAAC;;;GAG1C,EAAE,CAACf,QAAQ,CAAC,CAAC;EAEdf,cAAK,CAAC2B,SAAS,CAAC;;;IAGZ,IAAIF,GAAG,aAAHA,GAAG,eAAHA,GAAG,CAAEG,OAAO,IAAIN,UAAU,aAAVA,UAAU,eAAVA,UAAU,CAAEO,cAAc,EAAE;MAC5C,MAAMC,eAAe,GAAGL,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEG,OAA8B;MAE3D,IAAIjB,kBAAkB,EAAE;QACpBsB,cAAc,CAACH,eAAe,CAAC;OAClC,MAAM;QACHA,eAAe,CAACC,KAAK,CAACC,MAAM,MAAMX,YAAY,CAAC1B,OAAO;;;GAGjE,EAAE,CAACgB,kBAAkB,CAAC,CAAC;EAExB,MAAMsB,cAAc,GAAIH,eAAoC;;;IAGxD,MAAMI,YAAY,GAAGJ,eAAe,CAACK,qBAAqB,EAAE;IAC5D,MAAMC,UAAU,GAAGF,YAAY,CAACF,MAAM;IACtC,IAAIV,UAAU,aAAVA,UAAU,eAAVA,UAAU,CAAEO,cAAc,EAAE;MAC5B,IAAIO,UAAU,GAAGf,YAAY,CAACzB,GAAG,EAAE;QAC/BkC,eAAe,CAACC,KAAK,CAACC,MAAM,GAAG,SAAS;QACxCF,eAAe,CAACC,KAAK,CAACC,MAAM,MAAMK,IAAI,CAAC1C,GAAG,CAACmC,eAAe,CAACQ,YAAY,EAAEjB,YAAY,CAACzB,GAAG,KAAK;;KAErG,MAAM;MACHkC,eAAe,CAACC,KAAK,CAACC,MAAM,GAAG,SAAS;MACxCF,eAAe,CAACC,KAAK,CAACC,MAAM,MAAMF,eAAe,CAACQ,gBAAgB;;GAEzE;EAED,MAAMC,oBAAoB,GAAGC,CAAC;IAC1BP,cAAc,CAACO,CAAC,CAACC,MAAM,CAAC;GAC3B;EAED,MAAMC,0BAA0B,GAAGC,EAAE,CAAC,QAAQ,EAAE;IAC5C,iFAAiF,EAAErB,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEO;GAClG,CAAC;EACF,MAAMe,qBAAqB,GAAIC,KAA+C;;IAE1E,IAAIA,KAAK,CAACC,QAAQ,IAAID,KAAK,CAACE,GAAG,KAAK,OAAO,EAAE;MACzC;KACH,MAAM;MACH1C,aAAa,CAACwC,KAAK,CAAC;;GAE3B;EAED,MAAMG,UAAU,GAAGH,KAAK;;IAEpB,IAAIvB,UAAU,aAAVA,UAAU,eAAVA,UAAU,CAAEO,cAAc,EAAE;MAC5B,MAAMC,eAAe,GAAGe,KAAK,CAACI,aAAa;MAC3CnB,eAAe,CAACC,KAAK,CAACC,MAAM,MAAMX,YAAY,CAAC1B,OAAO;;IAE1Da,MAAM,CAACqC,KAAK,CAAC;GAChB;EAED,MAAMK,WAAW,GAAIL,KAAuB;IACxC,MAAMf,eAAe,GAAGL,GAAG,aAAHA,GAAG,uBAAHA,GAAG,CAAEG,OAAO;IAEpC,IAAIE,eAAe,EAAE;MACjBG,cAAc,CAACH,eAAe,CAAC;;IAGnCrB,OAAO,CAACoC,KAAK,CAAC;GACjB;EAED,oBACI7C;iBAAe;kBAOXA;IAAK+B,KAAK,EAAE;MAAEoB,SAAS,KAAK9B,YAAY,CAAC1B;KAAS;IAAEyD,SAAS,EAAC;kBAC1DpD;IAAKoD,SAAS,EAAEV;kBACZ1C,6BAACqD,QAAQ,oBACDjC,UAAU;IACdd,QAAQ,EAAEuC,KAAK;MACXtC,YAAY,CAACsC,KAAK,CAACJ,MAAM,CAAC3B,KAAK,CAAC;MAChCyB,oBAAoB,CAACM,KAAK,CAAC;KAC9B;IACDS,IAAI,EAAE,CAAC;IACPlD,SAAS,EAAEoC,CAAC;MACRI,qBAAqB,CAACJ,CAAC,CAAC;KAC3B;IACDhC,MAAM,EAAEwC,UAAU;IAClBvC,OAAO,EAAEyC,WAAW;IACpBE,SAAS,EAAET,EAAE,CACTY,uBAAuB,CAAC3C,KAAK,CAAC,2FAC2D,EACzF;MACI,YAAYS,YAAY,CAAC1B,QAAQ,GAAG2B,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEO,cAAc;MAC9D,gBAAgB,EAAElB,kBAAkB;MACpC,OAAOU,YAAY,CAAC1B,QAAQ,GAAG,CAACgB,kBAAkB,KAAIW,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEO,cAAc;;MAEhF,gBAAgB,EAAEhB,WAAW,KAAIS,UAAU,aAAVA,UAAU,uBAAVA,UAAU,CAAEO,cAAc;KAC9D,CACJ;IACDJ,GAAG,EAAEA,GAAG;IACRX,KAAK,EAAE0C,MAAM,CAAC1C,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,EAAE;KAC3B,CACA,CACJ,CACJ;AAEd,CAAC;;;;"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { isFrozenColumn } from '../../../util/columns.js';
|
4
|
+
|
5
|
+
function Footer(props) {
|
6
|
+
const {
|
7
|
+
column,
|
8
|
+
header,
|
9
|
+
table
|
10
|
+
} = props;
|
11
|
+
const meta = React__default.useMemo(() => column.columnDef.meta, []);
|
12
|
+
// Footers are heavily memoized because performance in our table is critical
|
13
|
+
// be careful and selective about props that you pass to the Footer
|
14
|
+
const memoedProps = {
|
15
|
+
align: meta.align,
|
16
|
+
id: header.id,
|
17
|
+
index: header.index,
|
18
|
+
isFrozen: isFrozenColumn(header, table),
|
19
|
+
meta,
|
20
|
+
table
|
21
|
+
};
|
22
|
+
return /*#__PURE__*/React__default.createElement(MemoedFooter, Object.assign({}, memoedProps));
|
23
|
+
}
|
24
|
+
const MemoedFooter = /*#__PURE__*/React__default.memo(function MemoedFooter(props) {
|
25
|
+
const {
|
26
|
+
align,
|
27
|
+
id,
|
28
|
+
index,
|
29
|
+
isFrozen,
|
30
|
+
meta,
|
31
|
+
table
|
32
|
+
} = props;
|
33
|
+
const className = cn('sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10', {
|
34
|
+
'z-30': isFrozen
|
35
|
+
});
|
36
|
+
if (table.options.debugAll) {
|
37
|
+
console.log('footer render', id);
|
38
|
+
}
|
39
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
40
|
+
className: className,
|
41
|
+
"data-align": align,
|
42
|
+
"data-column-index": index,
|
43
|
+
role: "columnheader"
|
44
|
+
}, typeof meta.footer === 'function' ? ( /*#__PURE__*/React__default.createElement("span", {
|
45
|
+
className: "flex-grow truncate"
|
46
|
+
}, meta.footer(table.getRowModel().rows.map(row => row.original[id])))) : null);
|
47
|
+
});
|
48
|
+
|
49
|
+
export { Footer };
|
50
|
+
//# sourceMappingURL=Footer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/footer/Footer.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { ColumnMeta, HeaderContext } from '@tanstack/react-table';\nimport { isFrozenColumn } from '../../../util/columns';\nimport { Table3ColumnAlignment, Table3ColumnFooterRenderer } from '../../../types';\n\nexport type FooterProps<TType = unknown> = HeaderContext<TType, unknown> & {\n renderer?: Table3ColumnFooterRenderer<TType>;\n};\n\nexport function Footer<TType = unknown>(props: FooterProps<TType>) {\n const { column, header, table } = props;\n const meta = React.useMemo(() => column.columnDef.meta, []) as ColumnMeta<TType, unknown>;\n\n // Footers are heavily memoized because performance in our table is critical\n // be careful and selective about props that you pass to the Footer\n const memoedProps = {\n align: meta.align,\n id: header.id,\n index: header.index,\n isFrozen: isFrozenColumn(header, table),\n meta,\n table,\n };\n\n return <MemoedFooter<TType> {...memoedProps} />;\n}\n\n// Memoization\nexport type MemoedFooterProps<TType = unknown> = Omit<FooterProps<TType>, 'header' | 'column' | 'scrollToIndex'> & {\n align?: Table3ColumnAlignment;\n id: string;\n index: number;\n isFrozen: boolean;\n meta: ColumnMeta<TType, unknown>;\n};\n\nconst MemoedFooter = React.memo(function MemoedFooter<TType = unknown>(props: MemoedFooterProps<TType>) {\n const { align, id, index, isFrozen, meta, table } = props;\n\n const className = cn('sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10', {\n 'z-30': isFrozen,\n });\n\n if (table.options.debugAll) {\n console.log('footer render', id);\n }\n\n return (\n <div className={className} data-align={align} data-column-index={index} role=\"columnheader\">\n {typeof meta.footer === 'function' ? (\n <span className=\"flex-grow truncate\">{meta.footer(table.getRowModel().rows.map(row => row.original[id]))}</span>\n ) : null}\n </div>\n );\n}) as <TType = unknown>(props: MemoedFooterProps<TType>) => JSX.Element;\n"],"names":["Footer","props","column","header","table","meta","React","useMemo","columnDef","memoedProps","align","id","index","isFrozen","isFrozenColumn","MemoedFooter","memo","className","cn","options","debugAll","console","log","role","footer","getRowModel","rows","map","row","original"],"mappings":";;;;SAUgBA,MAAMA,CAAkBC,KAAyB;EAC7D,MAAM;IAAEC,MAAM;IAAEC,MAAM;IAAEC;GAAO,GAAGH,KAAK;EACvC,MAAMI,IAAI,GAAGC,cAAK,CAACC,OAAO,CAAC,MAAML,MAAM,CAACM,SAAS,CAACH,IAAI,EAAE,EAAE,CAA+B;;;EAIzF,MAAMI,WAAW,GAAG;IAChBC,KAAK,EAAEL,IAAI,CAACK,KAAK;IACjBC,EAAE,EAAER,MAAM,CAACQ,EAAE;IACbC,KAAK,EAAET,MAAM,CAACS,KAAK;IACnBC,QAAQ,EAAEC,cAAc,CAACX,MAAM,EAAEC,KAAK,CAAC;IACvCC,IAAI;IACJD;GACH;EAED,oBAAOE,6BAACS,YAAY,oBAAYN,WAAW,EAAI;AACnD;AAWA,MAAMM,YAAY,gBAAGT,cAAK,CAACU,IAAI,CAAC,SAASD,YAAYA,CAAkBd,KAA+B;EAClG,MAAM;IAAES,KAAK;IAAEC,EAAE;IAAEC,KAAK;IAAEC,QAAQ;IAAER,IAAI;IAAED;GAAO,GAAGH,KAAK;EAEzD,MAAMgB,SAAS,GAAGC,EAAE,CAAC,+FAA+F,EAAE;IAClH,MAAM,EAAEL;GACX,CAAC;EAEF,IAAIT,KAAK,CAACe,OAAO,CAACC,QAAQ,EAAE;IACxBC,OAAO,CAACC,GAAG,CAAC,eAAe,EAAEX,EAAE,CAAC;;EAGpC,oBACIL;IAAKW,SAAS,EAAEA,SAAS;kBAAcP,KAAK;yBAAqBE,KAAK;IAAEW,IAAI,EAAC;KACxE,OAAOlB,IAAI,CAACmB,MAAM,KAAK,UAAU,kBAC9BlB;IAAMW,SAAS,EAAC;KAAsBZ,IAAI,CAACmB,MAAM,CAACpB,KAAK,CAACqB,WAAW,EAAE,CAACC,IAAI,CAACC,GAAG,CAACC,GAAG,IAAIA,GAAG,CAACC,QAAQ,CAAClB,EAAE,CAAC,CAAC,CAAC,CAAQ,IAChH,IAAI,CACN;AAEd,CAAC,CAAsE;;;;"}
|
@@ -0,0 +1,41 @@
|
|
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
|
+
currentLength,
|
8
|
+
length,
|
9
|
+
table
|
10
|
+
} = props;
|
11
|
+
const tableMeta = table.options.meta;
|
12
|
+
const {
|
13
|
+
locale,
|
14
|
+
texts
|
15
|
+
} = useLocalization();
|
16
|
+
let label;
|
17
|
+
let count;
|
18
|
+
// row selection
|
19
|
+
const rowsSelectedLength = table.getSelectedRowModel().rows.length;
|
20
|
+
if (rowsSelectedLength > 0) {
|
21
|
+
label = texts.table3.footer.summary.selected;
|
22
|
+
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)));
|
23
|
+
} else if ((_table$getState$colum = table.getState().columnFilters) !== null && _table$getState$colum !== void 0 && _table$getState$colum.length ||
|
24
|
+
// filtered data
|
25
|
+
// @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel
|
26
|
+
!!table.getState().globalFilter && tableMeta.search.excludeUnmatchedResults // search with hide enabled
|
27
|
+
) {
|
28
|
+
label = texts.table3.footer.summary.records;
|
29
|
+
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)));
|
30
|
+
} else {
|
31
|
+
label = texts.table3.footer.summary.records;
|
32
|
+
count = /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length));
|
33
|
+
}
|
34
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
35
|
+
className: "sticky bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]",
|
36
|
+
"data-taco": "table2-footer-summary"
|
37
|
+
}, label, "\u00A0", count);
|
38
|
+
}
|
39
|
+
|
40
|
+
export { Summary };
|
41
|
+
//# sourceMappingURL=Summary.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Summary.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/footer/Summary.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as RTable, TableMeta } from '@tanstack/react-table';\nimport { useLocalization } from '../../../../Provider/Localization';\n\nexport type FooterSummaryProps<TType = unknown> = {\n currentLength: number;\n length: number;\n table: RTable<TType>;\n};\n\nexport function Summary<TType = unknown>(props: FooterSummaryProps<TType>) {\n const { currentLength, length, table } = props;\n const tableMeta = table.options.meta as TableMeta<TType>;\n const { locale, texts } = useLocalization();\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 // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n (!!table.getState().globalFilter && tableMeta.search.excludeUnmatchedResults) // 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 bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]\"\n data-taco=\"table2-footer-summary\">\n {label} {count}\n </div>\n );\n}\n"],"names":["Summary","props","currentLength","length","table","tableMeta","options","meta","locale","texts","useLocalization","label","count","rowsSelectedLength","getSelectedRowModel","rows","table3","footer","summary","selected","React","Intl","NumberFormat","format","_table$getState$colum","getState","columnFilters","globalFilter","search","excludeUnmatchedResults","records","className"],"mappings":";;;SAUgBA,OAAOA,CAAkBC,KAAgC;;EACrE,MAAM;IAAEC,aAAa;IAAEC,MAAM;IAAEC;GAAO,GAAGH,KAAK;EAC9C,MAAMI,SAAS,GAAGD,KAAK,CAACE,OAAO,CAACC,IAAwB;EACxD,MAAM;IAAEC,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAE3C,IAAIC,KAAK;EACT,IAAIC,KAAK;;EAGT,MAAMC,kBAAkB,GAAGT,KAAK,CAACU,mBAAmB,EAAE,CAACC,IAAI,CAACZ,MAAM;EAElE,IAAIU,kBAAkB,GAAG,CAAC,EAAE;IACxBF,KAAK,GAAGF,KAAK,CAACO,MAAM,CAACC,MAAM,CAACC,OAAO,CAACC,QAAQ;IAC5CP,KAAK,gBACDQ,yEACIA,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACd,MAAM,CAAC,CAACe,MAAM,CAACV,kBAAkB,CAAC,CAAU,YAC1EJ,KAAK,CAACO,MAAM,CAACC,MAAM,CAACC,OAAO,CAACN,KAAK,yBAClCQ,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACd,MAAM,CAAC,CAACe,MAAM,CAACpB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM,IACH,CAAAqB,qBAAA,GAAApB,KAAK,CAACqB,QAAQ,EAAE,CAACC,aAAa,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCrB,MAAM;;;EAErC,CAAC,CAACC,KAAK,CAACqB,QAAQ,EAAE,CAACE,YAAY,IAAItB,SAAS,CAACuB,MAAM,CAACC,uBAAwB;IAC/E;IACElB,KAAK,GAAGF,KAAK,CAACO,MAAM,CAACC,MAAM,CAACC,OAAO,CAACY,OAAO;IAC3ClB,KAAK,gBACDQ,yEACIA,6CAASlB,aAAa,CAAU,YAC/BO,KAAK,CAACO,MAAM,CAACC,MAAM,CAACC,OAAO,CAACN,KAAK,yBAClCQ,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACd,MAAM,CAAC,CAACe,MAAM,CAACpB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM;IACHQ,KAAK,GAAGF,KAAK,CAACO,MAAM,CAACC,MAAM,CAACC,OAAO,CAACY,OAAO;IAC3ClB,KAAK,gBAAGQ,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAACd,MAAM,CAAC,CAACe,MAAM,CAACpB,MAAM,CAAC,CAAU;;EAG3E,oBACIiB;IACIW,SAAS,EAAC,gJAAgJ;iBAChJ;KACTpB,KAAK,YAAQC,KAAK,CACjB;AAEd;;;;"}
|
@@ -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/Table3/components/columns/header/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};\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":";;;;;SAQgBA,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;;;;"}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import cn from 'clsx';
|
3
|
+
import { Tooltip } from '../../../../Tooltip/Tooltip.js';
|
4
|
+
import { HeaderSeparator } from './Header.js';
|
5
|
+
|
6
|
+
function Group(props) {
|
7
|
+
const {
|
8
|
+
children,
|
9
|
+
column,
|
10
|
+
header,
|
11
|
+
table,
|
12
|
+
hasSeparator
|
13
|
+
} = props;
|
14
|
+
const columnMeta = React__default.useMemo(() => column.columnDef.meta, []);
|
15
|
+
const tableMeta = table.options.meta;
|
16
|
+
const memoedProps = {
|
17
|
+
align: 'center',
|
18
|
+
children: children !== null && children !== void 0 ? children : columnMeta.header,
|
19
|
+
colSpan: header.colSpan,
|
20
|
+
hasSeparator,
|
21
|
+
id: header.id,
|
22
|
+
index: header.index,
|
23
|
+
isPrinting: tableMeta.printing.isPrinting,
|
24
|
+
length: table.getRowModel().rows.length,
|
25
|
+
meta: columnMeta,
|
26
|
+
table
|
27
|
+
};
|
28
|
+
return /*#__PURE__*/React__default.createElement(MemoedGroup, Object.assign({}, memoedProps));
|
29
|
+
}
|
30
|
+
const MemoedGroup = /*#__PURE__*/React__default.memo(function MemoedGroup(props) {
|
31
|
+
var _meta$tooltip;
|
32
|
+
const {
|
33
|
+
align,
|
34
|
+
children,
|
35
|
+
colSpan,
|
36
|
+
hasSeparator,
|
37
|
+
id,
|
38
|
+
isPrinting,
|
39
|
+
meta,
|
40
|
+
table
|
41
|
+
} = props;
|
42
|
+
const containerClassName = cn('px-2 z-10 hover:z-20', {
|
43
|
+
sticky: !isPrinting
|
44
|
+
});
|
45
|
+
const innerClassName = cn('font-bold box-content group/column relative', 'px-[var(--table3-cell-padding-x)]', {
|
46
|
+
'h-10 items-center': !isPrinting,
|
47
|
+
'pb-2': isPrinting,
|
48
|
+
'border-b-2': !!children
|
49
|
+
}, meta.headerClassName);
|
50
|
+
if (table.options.debugAll) {
|
51
|
+
console.log('header group render', id);
|
52
|
+
}
|
53
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
54
|
+
className: containerClassName,
|
55
|
+
style: colSpan > 1 ? {
|
56
|
+
gridColumn: `span ${colSpan} / span ${colSpan}`
|
57
|
+
} : undefined,
|
58
|
+
"data-taco": "table3-column-group",
|
59
|
+
"data-align": align,
|
60
|
+
role: "columnheader"
|
61
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
62
|
+
className: innerClassName
|
63
|
+
}, /*#__PURE__*/React__default.createElement(Tooltip, {
|
64
|
+
title: String((_meta$tooltip = meta === null || meta === void 0 ? void 0 : meta.tooltip) !== null && _meta$tooltip !== void 0 ? _meta$tooltip : children),
|
65
|
+
placement: "top"
|
66
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
67
|
+
className: cn({
|
68
|
+
truncate: !isPrinting
|
69
|
+
})
|
70
|
+
}, children)), hasSeparator ? /*#__PURE__*/React__default.createElement(HeaderSeparator, null) : null));
|
71
|
+
});
|
72
|
+
|
73
|
+
export { Group };
|
74
|
+
//# sourceMappingURL=Group.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Group.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/header/Group.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\n\nimport { HeaderProps, HeaderSeparator } from './Header';\nimport { ColumnMeta, TableMeta } from '@tanstack/react-table';\nimport { Table3ColumnAlignment } from '../../../types';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\n\nexport function Group<TType = unknown>(props: HeaderProps<TType>) {\n const { children, column, header, table, hasSeparator } = props;\n const columnMeta = React.useMemo(() => column.columnDef.meta, []) as ColumnMeta<TType, unknown>;\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n const memoedProps = {\n align: 'center' as Table3ColumnAlignment,\n children: children ?? columnMeta.header,\n colSpan: header.colSpan,\n hasSeparator,\n id: header.id,\n index: header.index,\n isPrinting: tableMeta.printing.isPrinting,\n length: table.getRowModel().rows.length,\n meta: columnMeta,\n table,\n };\n\n return <MemoedGroup<TType> {...memoedProps} />;\n}\n\n// Memoization\nexport type MemoedGroupProps<TType = unknown> = Omit<HeaderProps<TType>, 'column' | 'header' | 'scrollToIndex'> & {\n align?: Table3ColumnAlignment;\n colSpan: number;\n hasSeparator?: boolean;\n id: string;\n index: number;\n isPrinting: boolean;\n length: number;\n meta: ColumnMeta<TType, unknown>;\n};\n\nconst MemoedGroup = React.memo(function MemoedGroup<TType = unknown>(props: MemoedGroupProps<TType>) {\n const { align, children, colSpan, hasSeparator, id, isPrinting, meta, table } = props;\n\n const containerClassName = cn('px-2 z-10 hover:z-20', { sticky: !isPrinting });\n\n const innerClassName = cn(\n 'font-bold box-content group/column relative',\n 'px-[var(--table3-cell-padding-x)]',\n {\n 'h-10 items-center': !isPrinting,\n 'pb-2': isPrinting,\n 'border-b-2': !!children,\n },\n meta.headerClassName\n );\n\n if (table.options.debugAll) {\n console.log('header group render', id);\n }\n\n return (\n <div\n className={containerClassName}\n style={colSpan > 1 ? { gridColumn: `span ${colSpan} / span ${colSpan}` } : undefined}\n data-taco=\"table3-column-group\"\n data-align={align}\n role=\"columnheader\">\n <div className={innerClassName}>\n <Tooltip title={String(meta?.tooltip ?? children)} placement=\"top\">\n <span className={cn({ truncate: !isPrinting })}>{children}</span>\n </Tooltip>\n {hasSeparator ? <HeaderSeparator /> : null}\n </div>\n </div>\n );\n}) as <TType = unknown>(props: MemoedGroupProps<TType>) => JSX.Element;\n"],"names":["Group","props","children","column","header","table","hasSeparator","columnMeta","React","useMemo","columnDef","meta","tableMeta","options","memoedProps","align","colSpan","id","index","isPrinting","printing","length","getRowModel","rows","MemoedGroup","memo","containerClassName","cn","sticky","innerClassName","headerClassName","debugAll","console","log","className","style","gridColumn","undefined","role","Tooltip","title","String","_meta$tooltip","tooltip","placement","truncate","HeaderSeparator"],"mappings":";;;;;SAQgBA,KAAKA,CAAkBC,KAAyB;EAC5D,MAAM;IAAEC,QAAQ;IAAEC,MAAM;IAAEC,MAAM;IAAEC,KAAK;IAAEC;GAAc,GAAGL,KAAK;EAC/D,MAAMM,UAAU,GAAGC,cAAK,CAACC,OAAO,CAAC,MAAMN,MAAM,CAACO,SAAS,CAACC,IAAI,EAAE,EAAE,CAA+B;EAC/F,MAAMC,SAAS,GAAGP,KAAK,CAACQ,OAAO,CAACF,IAAwB;EAExD,MAAMG,WAAW,GAAG;IAChBC,KAAK,EAAE,QAAiC;IACxCb,QAAQ,EAAEA,QAAQ,aAARA,QAAQ,cAARA,QAAQ,GAAIK,UAAU,CAACH,MAAM;IACvCY,OAAO,EAAEZ,MAAM,CAACY,OAAO;IACvBV,YAAY;IACZW,EAAE,EAAEb,MAAM,CAACa,EAAE;IACbC,KAAK,EAAEd,MAAM,CAACc,KAAK;IACnBC,UAAU,EAAEP,SAAS,CAACQ,QAAQ,CAACD,UAAU;IACzCE,MAAM,EAAEhB,KAAK,CAACiB,WAAW,EAAE,CAACC,IAAI,CAACF,MAAM;IACvCV,IAAI,EAAEJ,UAAU;IAChBF;GACH;EAED,oBAAOG,6BAACgB,WAAW,oBAAYV,WAAW,EAAI;AAClD;AAcA,MAAMU,WAAW,gBAAGhB,cAAK,CAACiB,IAAI,CAAC,SAASD,WAAWA,CAAkBvB,KAA8B;;EAC/F,MAAM;IAAEc,KAAK;IAAEb,QAAQ;IAAEc,OAAO;IAAEV,YAAY;IAAEW,EAAE;IAAEE,UAAU;IAAER,IAAI;IAAEN;GAAO,GAAGJ,KAAK;EAErF,MAAMyB,kBAAkB,GAAGC,EAAE,CAAC,sBAAsB,EAAE;IAAEC,MAAM,EAAE,CAACT;GAAY,CAAC;EAE9E,MAAMU,cAAc,GAAGF,EAAE,CACrB,6CAA6C,EAC7C,mCAAmC,EACnC;IACI,mBAAmB,EAAE,CAACR,UAAU;IAChC,MAAM,EAAEA,UAAU;IAClB,YAAY,EAAE,CAAC,CAACjB;GACnB,EACDS,IAAI,CAACmB,eAAe,CACvB;EAED,IAAIzB,KAAK,CAACQ,OAAO,CAACkB,QAAQ,EAAE;IACxBC,OAAO,CAACC,GAAG,CAAC,qBAAqB,EAAEhB,EAAE,CAAC;;EAG1C,oBACIT;IACI0B,SAAS,EAAER,kBAAkB;IAC7BS,KAAK,EAAEnB,OAAO,GAAG,CAAC,GAAG;MAAEoB,UAAU,UAAUpB,kBAAkBA;KAAW,GAAGqB,SAAS;iBAC1E,qBAAqB;kBACnBtB,KAAK;IACjBuB,IAAI,EAAC;kBACL9B;IAAK0B,SAAS,EAAEL;kBACZrB,6BAAC+B,OAAO;IAACC,KAAK,EAAEC,MAAM,EAAAC,aAAA,GAAC/B,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEgC,OAAO,cAAAD,aAAA,cAAAA,aAAA,GAAIxC,QAAQ,CAAC;IAAE0C,SAAS,EAAC;kBACzDpC;IAAM0B,SAAS,EAAEP,EAAE,CAAC;MAAEkB,QAAQ,EAAE,CAAC1B;KAAY;KAAIjB,QAAQ,CAAQ,CAC3D,EACTI,YAAY,gBAAGE,6BAACsC,eAAe,OAAG,GAAG,IAAI,CACxC,CACJ;AAEd,CAAC,CAAqE;;;;"}
|