@economic/taco 2.19.0 → 2.20.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 +18 -0
- package/dist/components/Report/components/Body/Body.d.ts +8 -0
- package/dist/components/Report/components/Cell/Cell.d.ts +3 -0
- package/dist/components/Report/components/Cell/DisplayCell.d.ts +7 -0
- package/dist/components/Report/components/Cell/GroupedCell.d.ts +7 -0
- package/dist/components/Report/components/Cell/util.d.ts +18 -0
- package/dist/components/Report/components/Footer/Footer.d.ts +6 -0
- package/dist/components/Report/components/Footer/Summary.d.ts +7 -0
- package/dist/components/Report/components/Header/Header.d.ts +37 -0
- package/dist/components/Report/components/Header/components/Goto.d.ts +6 -0
- package/dist/components/Report/components/Header/components/Menu.d.ts +17 -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 +16 -0
- package/dist/components/Report/components/Row/Row.d.ts +8 -0
- package/dist/components/Report/components/Row/RowContext.d.ts +9 -0
- package/dist/components/Report/components/Row/SkeletonRow.d.ts +10 -0
- package/dist/components/Report/components/Toolbar/Toolbar.d.ts +15 -0
- package/dist/components/Report/components/Toolbar/components/Filters/Filters.d.ts +7 -0
- package/dist/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +7 -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 +9 -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/components/Placeholder.d.ts +12 -0
- package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +2 -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/Search/Search.d.ts +8 -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/features/useReportExport.d.ts +3 -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/useStylesheet.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 +14 -0
- package/dist/components/Report/util/rows.d.ts +7 -0
- package/dist/components/Report/util/useTableGlobalShortcuts.d.ts +4 -0
- package/dist/components/Report/util/useTableRenderer.d.ts +9 -0
- package/dist/components/Table3/components/rows/Row.d.ts +1 -1
- package/dist/components/Table3/hooks/features/usePrinting.d.ts +7 -0
- package/dist/components/Table3/hooks/useTable.d.ts +5 -5
- package/dist/components/Table3/types.d.ts +21 -3
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +1 -1
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Alert/Alert.js +1 -1
- package/dist/esm/packages/taco/src/components/Alert/Alert.js.map +1 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +1 -1
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js +2 -2
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Badge/Badge.js +1 -1
- package/dist/esm/packages/taco/src/components/Badge/Badge.js.map +1 -1
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js +1 -1
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Banner/Banner.js +2 -2
- package/dist/esm/packages/taco/src/components/Banner/Banner.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Button/Button.js +1 -1
- package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +1 -1
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js +2 -2
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +1 -1
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js +1 -1
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +1 -1
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +5 -5
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Drawer/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Field/Field.js +1 -1
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Form/Form.js +1 -1
- package/dist/esm/packages/taco/src/components/Form/Form.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Group/Group.js +1 -1
- package/dist/esm/packages/taco/src/components/Group/Group.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js +2 -2
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/Header.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js +2 -2
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js +2 -2
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Button.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Link.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js +1 -1
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Icon/Icon.js +1 -1
- package/dist/esm/packages/taco/src/components/Icon/Icon.js.map +1 -1
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js +1 -1
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Input/Input.js +1 -1
- package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Input/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/Layout.js +2 -2
- package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js +2 -2
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js +2 -2
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +2 -2
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js +1 -1
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +2 -2
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js +1 -1
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js +1 -1
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Popover/Popover.js +1 -1
- package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Progress/Progress.js +1 -1
- package/dist/esm/packages/taco/src/components/Progress/Progress.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +18 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js +1 -1
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +1 -1
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +3 -3
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select/Select.js +1 -1
- package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select/useSelect.js +1 -1
- package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +2 -2
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/utilities.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/utilities.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js +1 -1
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js +1 -1
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Switch/Switch.js +1 -1
- package/dist/esm/packages/taco/src/components/Switch/Switch.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js +2 -2
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +1 -6
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +4 -2
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +2 -2
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +2 -2
- package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +5 -2
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +2 -2
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +1 -1
- package/dist/esm/packages/taco/src/{primitives/Table/useTable/features/useTablePrinting.js → components/Table3/hooks/features/usePrinting.js} +3 -3
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +4 -3
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js +1 -1
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tag/Tag.js +2 -2
- package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +1 -1
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Toast/Toast.js +2 -2
- package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +2 -2
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js +1 -1
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/types.js +27 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js +11 -21
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js +42 -2
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js +10 -8
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +7 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +10 -1
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/primitives/Table/types.d.ts +187 -2
- package/dist/primitives/Table/useTable/features/useTableColumnFreezing.d.ts +6 -0
- package/dist/primitives/Table/useTable/features/useTableFooter.d.ts +3 -0
- package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +1 -0
- package/dist/primitives/Table/useTable/features/useTableRef.d.ts +4 -0
- package/dist/primitives/Table/useTable/features/useTableRowActions.d.ts +6 -0
- package/dist/primitives/Table/useTable/features/useTableRowActive.d.ts +0 -1
- package/dist/primitives/Table/useTable/features/useTableRowClick.d.ts +1 -1
- package/dist/primitives/Table/useTable/features/useTableRowExpansion.d.ts +5 -0
- package/dist/primitives/Table/useTable/features/useTableRowGoto.d.ts +1 -1
- package/dist/primitives/Table/useTable/features/useTableRowGroups.d.ts +5 -0
- package/dist/primitives/Table/useTable/features/useTableRowSelection.d.ts +1 -0
- package/dist/primitives/Table/useTable/features/useTableSearch.d.ts +11 -0
- package/dist/primitives/Table/useTable/features/useTableServerLoading.d.ts +5 -2
- package/dist/primitives/Table/useTable/features/useTableSettings.d.ts +3 -0
- package/dist/primitives/Table/useTable/listeners/useTableRowHeightListener.d.ts +2 -0
- package/dist/primitives/Table/useTable/listeners/useTableSearchListener.d.ts +2 -0
- package/dist/primitives/Table/useTable/listeners/useTableSettingsListener.d.ts +3 -0
- package/dist/primitives/Table/useTable/useTable.d.ts +57 -0
- package/dist/primitives/Table/useTable/util/columns.d.ts +7 -1
- package/dist/primitives/Table/useTable/util/columns.spec.d.ts +1 -0
- package/dist/primitives/Table/useTable/util/filtering.d.ts +7 -0
- package/dist/primitives/Table/useTable/util/presets.d.ts +2 -0
- package/dist/primitives/Table/useTable/util/search.d.ts +2 -0
- package/dist/primitives/Table/useTable/util/settings.d.ts +13 -0
- package/dist/primitives/Table/useTable/util/setup.d.ts +14 -0
- package/dist/primitives/Table/useTable/util/sorting.d.ts +2 -0
- package/dist/primitives/Table/useTableDataLoader.d.ts +23 -0
- package/dist/taco.cjs.development.js +149 -68
- 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 +1 -0
- package/package.json +4 -3
- package/types.json +20882 -7749
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
@@ -247,6 +247,7 @@ export declare const defaultLocalisationTexts: {
|
|
247
247
|
value: string;
|
248
248
|
};
|
249
249
|
hiddenColumn: string;
|
250
|
+
hiddenGroupedColumn: string;
|
250
251
|
tooltip: string;
|
251
252
|
total: string;
|
252
253
|
};
|
@@ -276,6 +277,23 @@ export declare const defaultLocalisationTexts: {
|
|
276
277
|
cancelButtonText: string;
|
277
278
|
printButtonText: string;
|
278
279
|
};
|
280
|
+
settingsDialog: {
|
281
|
+
title: string;
|
282
|
+
size: string;
|
283
|
+
sizeA5: string;
|
284
|
+
sizeA4: string;
|
285
|
+
sizeA3: string;
|
286
|
+
sizeLetter: string;
|
287
|
+
sizeLegal: string;
|
288
|
+
orientation: string;
|
289
|
+
orientationLandscape: string;
|
290
|
+
orientationPortrait: string;
|
291
|
+
rows: string;
|
292
|
+
rowsAll: string;
|
293
|
+
rowsSelected: string;
|
294
|
+
layout: string;
|
295
|
+
layoutSplitGroups: string;
|
296
|
+
};
|
279
297
|
};
|
280
298
|
rowHeight: {
|
281
299
|
tooltip: string;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
declare type BodyProps<TType = unknown> = React.HTMLAttributes<HTMLTableSectionElement> & {
|
4
|
+
length: number;
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function Body<TType = unknown>(props: BodyProps<TType>): JSX.Element;
|
8
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Cell as ReactTableCell } from '@tanstack/react-table';
|
3
|
+
export declare type DisplayCellProps<TType = unknown> = {
|
4
|
+
index: number;
|
5
|
+
cell: ReactTableCell<TType, unknown>;
|
6
|
+
};
|
7
|
+
export declare function DisplayCell<TType = unknown>(props: DisplayCellProps<TType>): JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Cell as ReactTableCell } from '@tanstack/react-table';
|
3
|
+
export declare type GroupedCellProps<TType = unknown> = {
|
4
|
+
index: number;
|
5
|
+
cell: ReactTableCell<TType, unknown>;
|
6
|
+
};
|
7
|
+
export declare function GroupedCell<TType = unknown>(props: GroupedCellProps<TType>): JSX.Element;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Cell as ReactTableCell } from '@tanstack/react-table';
|
3
|
+
export declare type DisplayCellProps<TType = unknown> = {
|
4
|
+
index: number;
|
5
|
+
cell: ReactTableCell<TType, unknown>;
|
6
|
+
};
|
7
|
+
export declare function getCellAttributes<TType = unknown>(cell: ReactTableCell<TType, unknown>, isHighlighted: true | 'current' | undefined): {
|
8
|
+
'data-cell-align': "left" | "center" | "right" | undefined;
|
9
|
+
'data-cell-highlighted': true | "current" | undefined;
|
10
|
+
'data-cell-id': string;
|
11
|
+
'data-cell-pinned': boolean | undefined;
|
12
|
+
'data-cell-truncate': boolean | undefined;
|
13
|
+
className: string | undefined;
|
14
|
+
style: {};
|
15
|
+
};
|
16
|
+
export declare function useSearchHighlighting<TType = unknown>(cell: ReactTableCell<TType, unknown>, index: number, ref: React.RefObject<HTMLTableCellElement>): true | "current" | undefined;
|
17
|
+
export declare function getCurrentRowCellElement(index: number, tableEl: HTMLElement): Element | null;
|
18
|
+
export declare function scrollColumnIntoView(columnIndex: number, frozenColumnIndex: number, column: HTMLElement, tableEl: HTMLElement): void;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Header as ReactTableHeader } from '@tanstack/react-table';
|
3
|
+
export declare function Footer<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element;
|
4
|
+
export declare type MemoedFooterProps<TType = unknown> = {
|
5
|
+
footer: ReactTableHeader<TType, unknown>;
|
6
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
export declare type FooterSummaryProps<TType = unknown> = {
|
4
|
+
length: number;
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function Summary<TType = unknown>(props: FooterSummaryProps<TType>): JSX.Element;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
|
3
|
+
import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableColumnWidth } from '../../../../primitives/Table/types';
|
4
|
+
export declare function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element | null;
|
5
|
+
export declare type MemoedHeaderProps = {
|
6
|
+
align?: TableColumnAlignment;
|
7
|
+
canHide: boolean;
|
8
|
+
canGoto: boolean;
|
9
|
+
canMeasureSize: boolean;
|
10
|
+
canPin: boolean;
|
11
|
+
canResize: boolean;
|
12
|
+
canSort: boolean;
|
13
|
+
children: JSX.Element | React.ReactNode;
|
14
|
+
className?: string;
|
15
|
+
colSpan: number;
|
16
|
+
customMenu?: TableColumnMenu;
|
17
|
+
defaultWidth?: TableColumnWidth;
|
18
|
+
hasMenu: boolean;
|
19
|
+
id: string;
|
20
|
+
index: number;
|
21
|
+
isGroup: boolean;
|
22
|
+
isPinned?: ReactTableColumnPinningPosition;
|
23
|
+
isPlaceholder: boolean;
|
24
|
+
isResizing?: boolean;
|
25
|
+
offset?: number;
|
26
|
+
onGoto?: (query: string) => Promise<number>;
|
27
|
+
onHide?: (event: unknown) => void;
|
28
|
+
onPin?: (index: number | undefined) => void;
|
29
|
+
onResize?: (event: unknown) => void;
|
30
|
+
onSort?: (event: unknown) => void;
|
31
|
+
onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
|
32
|
+
setRowActiveIndex: (index: number) => void;
|
33
|
+
setColumnSizing: any;
|
34
|
+
sortDirection?: TableColumnSortDirection | false;
|
35
|
+
tooltip?: string;
|
36
|
+
width?: TableColumnWidth;
|
37
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { TableColumnMenu, TableColumnSortDirection } from '../../../../../primitives/Table/types';
|
3
|
+
export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
4
|
+
canGoto: boolean;
|
5
|
+
canHide: boolean;
|
6
|
+
canPin: boolean;
|
7
|
+
canSort: boolean;
|
8
|
+
customMenu?: TableColumnMenu;
|
9
|
+
index: number;
|
10
|
+
onGoto?: (query: string) => Promise<number>;
|
11
|
+
onHide?: (event: unknown) => void;
|
12
|
+
onPin?: (index: number | undefined) => void;
|
13
|
+
onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
|
14
|
+
setRowActiveIndex: (index: number) => void;
|
15
|
+
sortDirection?: TableColumnSortDirection | false;
|
16
|
+
};
|
17
|
+
export declare function HeaderMenu(props: HeaderMenuProps): JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TableColumnWidth } from '../../../../../primitives/Table/types';
|
3
|
+
declare type ResizerProps = {
|
4
|
+
headerRef: HTMLTableCellElement | null;
|
5
|
+
id: string;
|
6
|
+
isResizing: boolean;
|
7
|
+
onResize: (event: unknown) => void;
|
8
|
+
setColumnSizing: any;
|
9
|
+
width?: TableColumnWidth;
|
10
|
+
};
|
11
|
+
export declare function Resizer(props: ResizerProps): JSX.Element;
|
12
|
+
export {};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { TableColumnSortDirection } from '../../../../../primitives/Table/types';
|
3
|
+
declare type SortIndicatorProps = {
|
4
|
+
direction: false | TableColumnSortDirection;
|
5
|
+
};
|
6
|
+
export declare function SortIndicator(props: SortIndicatorProps): any;
|
7
|
+
export declare const getAriaSort: (direction: any) => any;
|
8
|
+
export declare function getSortAttributes(canSort: boolean, toggleSorting?: (event: unknown) => void, sortDirection?: false | TableColumnSortDirection): {
|
9
|
+
'aria-sort'?: undefined;
|
10
|
+
onClick?: undefined;
|
11
|
+
} | {
|
12
|
+
'aria-sort': any;
|
13
|
+
onClick: (event: React.MouseEvent) => void;
|
14
|
+
};
|
15
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
|
2
|
+
import { TableColumnWidth } from '../../../../primitives/Table/types';
|
3
|
+
export declare function useSetInitialColumnSizing(id: string, defaultWidth: TableColumnWidth | undefined, width: TableColumnWidth | undefined, element: HTMLTableCellElement | null, canMeasureSize: boolean, setColumnSizing: any): void;
|
4
|
+
export declare function getIsPinned<TType = unknown>(header: ReactTableHeader<TType, unknown>): ReactTableColumnPinningPosition | undefined;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CellContext as ReactTableCellContext } from '@tanstack/react-table';
|
3
|
+
import { TableFontSize, TableRowActionRenderer } from '../../../../primitives/Table/types';
|
4
|
+
export declare function Header(): null;
|
5
|
+
export declare type ActionsProps<TType = unknown> = {
|
6
|
+
actions: TableRowActionRenderer<TType>[];
|
7
|
+
actionsLength: number;
|
8
|
+
data: any;
|
9
|
+
fontSize: TableFontSize;
|
10
|
+
isActiveRow: boolean;
|
11
|
+
};
|
12
|
+
export declare function Actions<TType = unknown>(props: ActionsProps<TType>): JSX.Element;
|
13
|
+
export declare const Cell: <TType = unknown>(context: ReactTableCellContext<TType, unknown>) => JSX.Element;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { HeaderContext as ReactTableHeaderContext, CellContext as ReactTableCellContext } from '@tanstack/react-table';
|
3
|
+
export declare function Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>): JSX.Element;
|
4
|
+
export declare function Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>): JSX.Element | null;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { HeaderContext as ReactTableHeaderContext, CellContext as ReactTableCellContext } from '@tanstack/react-table';
|
3
|
+
export declare function Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>): JSX.Element | null;
|
4
|
+
export declare function Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>): JSX.Element | null;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
|
3
|
+
import { TableRowExpansionRenderer } from '../../../../primitives/Table/types';
|
4
|
+
export declare type DisplayRowProps<TType = unknown> = {
|
5
|
+
index: number;
|
6
|
+
measureRow: (size: number, expansionHeight?: number) => void;
|
7
|
+
row: ReactTableRow<TType>;
|
8
|
+
table: ReactTable<TType>;
|
9
|
+
};
|
10
|
+
export declare function DisplayRow<TType = unknown>(props: DisplayRowProps<TType>): JSX.Element;
|
11
|
+
export declare type MemoedDisplayRowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & {
|
12
|
+
setRowHeightForVirtualisation: (size: number) => void;
|
13
|
+
measureRow: (size: number, expansionHeight?: number) => void;
|
14
|
+
row: ReactTableRow<TType>;
|
15
|
+
rowExpansionRenderer?: TableRowExpansionRenderer<TType>;
|
16
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
|
3
|
+
export declare type RowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & {
|
4
|
+
index: number;
|
5
|
+
row: ReactTableRow<TType>;
|
6
|
+
table: ReactTable<TType>;
|
7
|
+
};
|
8
|
+
export declare function Row<TType = unknown>(row: ReactTableRow<TType>, index: number, table: ReactTable<TType>, measureRow: (size: number, expansionHeight?: number) => void): JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type RowContextValue = {
|
3
|
+
isHovered: boolean;
|
4
|
+
setIsHovered: (value: boolean) => void;
|
5
|
+
rowIndex: number;
|
6
|
+
};
|
7
|
+
export declare const RowContext: React.Context<RowContextValue>;
|
8
|
+
export declare const useRowContext: () => RowContextValue;
|
9
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
|
3
|
+
export declare type RowProps<TType = unknown> = {
|
4
|
+
index: number;
|
5
|
+
row: ReactTableRow<TType>;
|
6
|
+
table: ReactTable<TType>;
|
7
|
+
};
|
8
|
+
export declare function SkeletonRow<TType = unknown>(props: RowProps<TType>): JSX.Element;
|
9
|
+
export declare function RowWithServerLoading<TType = unknown>(props: RowProps<TType>): JSX.Element;
|
10
|
+
export declare const Skeleton: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLTableRowElement>>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { TableRef } from '../../../../primitives/Table/types';
|
4
|
+
import { ReportCustomSettingsRenderer } from '../../types';
|
5
|
+
export declare type ToolbarProps<TType = unknown> = {
|
6
|
+
customSettings?: ReportCustomSettingsRenderer;
|
7
|
+
left?: JSX.Element;
|
8
|
+
length: number;
|
9
|
+
right?: JSX.Element;
|
10
|
+
scrollToIndex: (index: number) => void;
|
11
|
+
table: ReactTable<TType>;
|
12
|
+
tableId: string;
|
13
|
+
tableRef: React.RefObject<TableRef>;
|
14
|
+
};
|
15
|
+
export declare function Toolbar<TType = unknown>(props: ToolbarProps<TType>): JSX.Element | null;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
export declare type FiltersProps<TType = unknown> = {
|
4
|
+
length: number;
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function Filters<TType = unknown>(props: FiltersProps<TType>): JSX.Element;
|
package/dist/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
export declare type ManageFiltersPopoverProps<TType = unknown> = {
|
4
|
+
length: number;
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function ManageFiltersPopover<TType = unknown>(props: ManageFiltersPopoverProps<TType>): JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
3
|
+
import { TableFilter } from '../../../../../../../primitives/Table/types';
|
4
|
+
export declare type FilterProps<TType = unknown> = {
|
5
|
+
allColumns: ReactTableColumn<TType, unknown>[];
|
6
|
+
filter: TableFilter;
|
7
|
+
filters: TableFilter[];
|
8
|
+
position: number;
|
9
|
+
onChange: (id: string, value: TableFilter) => void;
|
10
|
+
onRemove: (columnId: string) => void;
|
11
|
+
};
|
12
|
+
export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
|
package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
3
|
+
import { Select2Props } from '../../../../../../Select2/Select2';
|
4
|
+
import { TableFilter } from '../../../../../../../primitives/Table/types';
|
5
|
+
export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'children'> & {
|
6
|
+
allColumns: ReactTableColumn<TType, unknown>[];
|
7
|
+
filters: TableFilter[];
|
8
|
+
};
|
9
|
+
export declare function FilterColumn<TType = unknown>(props: FilterColumnProps<TType>): JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
3
|
+
import { Select2Props } from '../../../../../../Select2/Select2';
|
4
|
+
export declare type FilterComparatorProps<TType = unknown> = Omit<Select2Props, 'children'> & {
|
5
|
+
column?: ReactTableColumn<TType, unknown>;
|
6
|
+
};
|
7
|
+
export declare function FilterComparator<TType = unknown>(props: FilterComparatorProps<TType>): JSX.Element;
|
package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Column as ReactTableColumn } from '@tanstack/react-table';
|
3
|
+
import { TableFilterComparator } from '../../../../../../../primitives/Table/types';
|
4
|
+
export declare type FilterValueProps<TType = unknown> = {
|
5
|
+
column?: ReactTableColumn<TType, unknown>;
|
6
|
+
comparator: TableFilterComparator;
|
7
|
+
onChange: (value: any) => void;
|
8
|
+
value: any;
|
9
|
+
};
|
10
|
+
export declare function FilterValue<TType = unknown>(props: FilterValueProps<TType>): JSX.Element | null;
|
package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Column as RTColumn } from '@tanstack/react-table';
|
3
|
+
import { Select2Value } from '../../../../../../Select2/Select2';
|
4
|
+
import { Table3Filter } from '../../../../../types';
|
5
|
+
export declare type PlaceholderFilterProps<TType = unknown> = {
|
6
|
+
allColumns: RTColumn<TType, unknown>[];
|
7
|
+
filters: Table3Filter[];
|
8
|
+
position: number;
|
9
|
+
onCreate?: (value: Select2Value) => void;
|
10
|
+
onRemove?: () => void;
|
11
|
+
};
|
12
|
+
export declare function Placeholder<TType = unknown>(props: PlaceholderFilterProps<TType>): JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { TableRef } from '../../../../../../primitives/Table/types';
|
4
|
+
export declare type PrintProps<TType = unknown> = {
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
tableId: string;
|
7
|
+
tableRef: React.RefObject<TableRef>;
|
8
|
+
};
|
9
|
+
export declare function Print<TType = unknown>(props: PrintProps<TType>): JSX.Element;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { Select2Value } from '../../../../../Select2/Select2';
|
4
|
+
import { RadioGroupItemValue } from '../../../../../RadioGroup/RadioGroup';
|
5
|
+
export declare type PrintDialogProps<TType = unknown> = {
|
6
|
+
table: ReactTable<TType>;
|
7
|
+
onAccept: () => void;
|
8
|
+
orientation: Select2Value;
|
9
|
+
setOrientation: (orientation: Select2Value) => void;
|
10
|
+
size: Select2Value;
|
11
|
+
setSize: (size: Select2Value) => void;
|
12
|
+
allRows: RadioGroupItemValue;
|
13
|
+
setAllRows: (allRows: RadioGroupItemValue) => void;
|
14
|
+
splitGroups: boolean;
|
15
|
+
setSplitGroups: (splitGroups: boolean) => void;
|
16
|
+
};
|
17
|
+
export declare function PrintDialog<TType = unknown>(props: PrintDialogProps<TType>): JSX.Element;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
declare type SearchProps<TType = unknown> = {
|
4
|
+
scrollToIndex: any;
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function Search<TType = unknown>(props: SearchProps<TType>): JSX.Element;
|
8
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { PopoverProps } from '../../../../../Popover/Popover';
|
4
|
+
export declare type HideOrOrderPopoverProps<TType = unknown> = PopoverProps & {
|
5
|
+
table: ReactTable<TType>;
|
6
|
+
};
|
7
|
+
export declare function HideOrOrderPopover<TType = unknown>(props: HideOrOrderPopoverProps<TType>): JSX.Element;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { ReportCustomSettingsRenderer } from '../../../../types';
|
4
|
+
export declare type SettingsProps<TType = unknown> = {
|
5
|
+
customSettings?: ReportCustomSettingsRenderer;
|
6
|
+
table: ReactTable<TType>;
|
7
|
+
};
|
8
|
+
export declare function Settings<TType = unknown>(props: SettingsProps<TType>): JSX.Element;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { TableFontSize, TableRowHeight } from '../../../primitives/Table/types';
|
2
|
+
export declare function getCellHeightPadding(height: TableRowHeight, fontSize: TableFontSize): "8px" | "12px" | "16px" | "6px" | "14px" | "22px" | "18px" | "20px" | "10px";
|
3
|
+
export declare function getCellWidthPadding(fontSize: TableFontSize): "8px" | "12px" | "16px";
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TableColumnProps, TableGroupProps, TableSettings, useTableProps } from '../../primitives/Table/types';
|
3
|
+
import { MenuItemProps } from '../Menu/components/Item';
|
4
|
+
declare type TODO = any;
|
5
|
+
export declare type ReportProps<TType = unknown> = useTableProps<TType> & {
|
6
|
+
enableExport?: TODO;
|
7
|
+
customSettings?: ReportCustomSettingsRenderer;
|
8
|
+
toolbarLeft?: JSX.Element;
|
9
|
+
toolbarRight?: JSX.Element;
|
10
|
+
toolbarPanel?: JSX.Element;
|
11
|
+
};
|
12
|
+
export declare type ReportColumnProps<TType = unknown> = TableColumnProps<TType> & {};
|
13
|
+
export declare type ReportGroupProps = TableGroupProps & {};
|
14
|
+
export declare type ReportCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];
|
15
|
+
export declare type ReportRowWithMetaData<TType = unknown> = TType & {
|
16
|
+
_meta?: {
|
17
|
+
layout?: 'heading' | 'summary' | 'item';
|
18
|
+
};
|
19
|
+
};
|
20
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { useReportExport } from './features/useReportExport';
|
2
|
+
import { ReportProps } from './types';
|
3
|
+
import { TableRef } from '../../primitives/Table/types';
|
4
|
+
import React from 'react';
|
5
|
+
declare type ReportMeta = {
|
6
|
+
exporting: ReturnType<typeof useReportExport>;
|
7
|
+
};
|
8
|
+
export declare function useReport<TType>(props: ReportProps<TType>, ref: React.RefObject<TableRef>): {
|
9
|
+
instance: import("@tanstack/table-core").Table<TType>;
|
10
|
+
length: number;
|
11
|
+
meta: import("@tanstack/table-core").TableMeta<TType> & ReportMeta;
|
12
|
+
state: import("@tanstack/table-core").TableState;
|
13
|
+
};
|
14
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { TableRef } from '../../../primitives/Table/types';
|
4
|
+
export declare function useTableGlobalShortcuts<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, scrollToIndex: (index: number) => void): void;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
+
import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
|
4
|
+
import { TableRef } from '../../../primitives/Table/types';
|
5
|
+
export declare function useTableRenderer<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, defaultRowActiveIndex?: number | undefined): {
|
6
|
+
rows: JSX.Element[] | null;
|
7
|
+
style: React.CSSProperties;
|
8
|
+
scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
|
9
|
+
};
|
@@ -21,6 +21,6 @@ export declare type MemoedRowProps<TType = unknown> = Omit<RowProps<TType>, 'onC
|
|
21
21
|
'data-selected': boolean;
|
22
22
|
draggable: boolean;
|
23
23
|
index: number;
|
24
|
-
onClick:
|
24
|
+
onClick: any;
|
25
25
|
};
|
26
26
|
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare function usePrinting(isEnabled: boolean | undefined, defaultIsWarningVisible: boolean | undefined, id: string): {
|
3
|
+
isEnabled: boolean;
|
4
|
+
isPrinting: boolean;
|
5
|
+
isWarningVisibleForLargeDatasets: boolean;
|
6
|
+
setIsWarningVisibleForLargeDatasets: React.Dispatch<React.SetStateAction<boolean>>;
|
7
|
+
};
|
@@ -12,7 +12,7 @@ import { useTableRowClick } from '../../../primitives/Table/useTable/features/us
|
|
12
12
|
import { useTableColumnOrdering } from '../../../primitives/Table/useTable/features/useTableColumnOrdering';
|
13
13
|
import { useRowDrop } from './features/useRowDrop';
|
14
14
|
import { useEditing } from './features/useEditing';
|
15
|
-
import {
|
15
|
+
import { usePrinting } from './features/usePrinting';
|
16
16
|
import { useTableRowGoto } from '../../../primitives/Table/useTable/features/useTableRowGoto';
|
17
17
|
import { useSearch } from './features/useSearch';
|
18
18
|
import { useRowActions } from './features/useRowActions';
|
@@ -28,7 +28,7 @@ declare module '@tanstack/table-core' {
|
|
28
28
|
getSettings: () => Table3Settings;
|
29
29
|
isPrinting: boolean;
|
30
30
|
isUsingServer: boolean;
|
31
|
-
printing: ReturnType<typeof
|
31
|
+
printing: ReturnType<typeof usePrinting>;
|
32
32
|
rowActions: ReturnType<typeof useRowActions>;
|
33
33
|
rowActive: ReturnType<typeof useTableRowActive>;
|
34
34
|
rowClick: ReturnType<typeof useTableRowClick>;
|
@@ -49,9 +49,9 @@ declare module '@tanstack/table-core' {
|
|
49
49
|
control?: Table3ColumnControlRenderer<TData>;
|
50
50
|
dataType?: Table3ColumnDataType;
|
51
51
|
defaultWidth?: number;
|
52
|
-
enableOrdering
|
52
|
+
enableOrdering?: boolean;
|
53
53
|
enableSearch: boolean;
|
54
|
-
enableTruncate
|
54
|
+
enableTruncate?: boolean;
|
55
55
|
filters?: Table3FilterComparator[];
|
56
56
|
footer?: Table3ColumnFooterRenderer;
|
57
57
|
header: string;
|
@@ -69,6 +69,6 @@ declare module '@tanstack/table-core' {
|
|
69
69
|
}
|
70
70
|
}
|
71
71
|
export declare function useTable<TType = unknown>(props: Table3Props<TType>, ref: React.RefObject<Table3Ref>): {
|
72
|
-
table:
|
72
|
+
table: import("@tanstack/react-table").Table<TType>;
|
73
73
|
length: number;
|
74
74
|
};
|