@simple-table/solid 3.0.0-beta.12 → 3.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.css +1 -0
- package/dist/{cjs → types}/core/src/utils/headerWidthUtils.d.ts +2 -2
- package/package.json +10 -6
- package/dist/core/src/consts/column-constraints.d.ts +0 -58
- package/dist/core/src/consts/general-consts.d.ts +0 -13
- package/dist/core/src/core/SimpleTableVanilla.d.ts +0 -71
- package/dist/core/src/core/api/TableAPIImpl.d.ts +0 -44
- package/dist/core/src/core/dom/DOMManager.d.ts +0 -50
- package/dist/core/src/core/initialization/TableInitializer.d.ts +0 -30
- package/dist/core/src/core/rendering/RenderOrchestrator.d.ts +0 -123
- package/dist/core/src/core/rendering/SectionRenderer.d.ts +0 -61
- package/dist/core/src/core/rendering/TableRenderer.d.ts +0 -89
- package/dist/core/src/hooks/ariaAnnouncements.d.ts +0 -37
- package/dist/core/src/hooks/contentHeight.d.ts +0 -23
- package/dist/core/src/hooks/expandedDepths.d.ts +0 -65
- package/dist/core/src/hooks/handleOutsideClick.d.ts +0 -50
- package/dist/core/src/hooks/previousValue.d.ts +0 -30
- package/dist/core/src/hooks/scrollbarVisibility.d.ts +0 -65
- package/dist/core/src/hooks/scrollbarWidth.d.ts +0 -52
- package/dist/core/src/hooks/useAggregatedRows.d.ts +0 -14
- package/dist/core/src/hooks/useQuickFilter.d.ts +0 -14
- package/dist/core/src/hooks/windowResize.d.ts +0 -31
- package/dist/core/src/icons/AngleDownIcon.d.ts +0 -1
- package/dist/core/src/icons/AngleLeftIcon.d.ts +0 -1
- package/dist/core/src/icons/AngleRightIcon.d.ts +0 -1
- package/dist/core/src/icons/AngleUpIcon.d.ts +0 -1
- package/dist/core/src/icons/AscIcon.d.ts +0 -1
- package/dist/core/src/icons/CheckIcon.d.ts +0 -1
- package/dist/core/src/icons/DescIcon.d.ts +0 -1
- package/dist/core/src/icons/DragIcon.d.ts +0 -1
- package/dist/core/src/icons/FilterIcon.d.ts +0 -1
- package/dist/core/src/icons/SelectIcon.d.ts +0 -1
- package/dist/core/src/icons/index.d.ts +0 -14
- package/dist/core/src/index.d.ts +0 -48
- package/dist/core/src/managers/AutoScaleManager.d.ts +0 -26
- package/dist/core/src/managers/DimensionManager.d.ts +0 -42
- package/dist/core/src/managers/DragHandlerManager.d.ts +0 -44
- package/dist/core/src/managers/FilterManager.d.ts +0 -36
- package/dist/core/src/managers/RowManager.d.ts +0 -56
- package/dist/core/src/managers/RowSelectionManager.d.ts +0 -36
- package/dist/core/src/managers/ScrollManager.d.ts +0 -35
- package/dist/core/src/managers/SectionScrollController.d.ts +0 -50
- package/dist/core/src/managers/SelectionManager/SelectionManager.d.ts +0 -246
- package/dist/core/src/managers/SelectionManager/index.d.ts +0 -2
- package/dist/core/src/managers/SelectionManager/keyboardUtils.d.ts +0 -7
- package/dist/core/src/managers/SelectionManager/mouseUtils.d.ts +0 -15
- package/dist/core/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -7
- package/dist/core/src/managers/SelectionManager/types.d.ts +0 -22
- package/dist/core/src/managers/SortManager.d.ts +0 -42
- package/dist/core/src/types/AggregationTypes.d.ts +0 -8
- package/dist/core/src/types/BoundingBox.d.ts +0 -11
- package/dist/core/src/types/Cell.d.ts +0 -7
- package/dist/core/src/types/CellChangeProps.d.ts +0 -9
- package/dist/core/src/types/CellClickProps.d.ts +0 -11
- package/dist/core/src/types/CellRendererProps.d.ts +0 -32
- package/dist/core/src/types/CellValue.d.ts +0 -2
- package/dist/core/src/types/ColumnEditorConfig.d.ts +0 -32
- package/dist/core/src/types/ColumnEditorRowRendererProps.d.ts +0 -39
- package/dist/core/src/types/ColumnVisibilityTypes.d.ts +0 -4
- package/dist/core/src/types/CustomTheme.d.ts +0 -26
- package/dist/core/src/types/DragHandlerProps.d.ts +0 -14
- package/dist/core/src/types/EnumOption.d.ts +0 -5
- package/dist/core/src/types/FilterTypes.d.ts +0 -22
- package/dist/core/src/types/FlattenedHeader.d.ts +0 -10
- package/dist/core/src/types/FooterRendererProps.d.ts +0 -17
- package/dist/core/src/types/GenerateRowIdParams.d.ts +0 -11
- package/dist/core/src/types/GetRowId.d.ts +0 -10
- package/dist/core/src/types/HandleResizeStartProps.d.ts +0 -21
- package/dist/core/src/types/HeaderDropdownProps.d.ts +0 -14
- package/dist/core/src/types/HeaderObject.d.ts +0 -98
- package/dist/core/src/types/HeaderRendererProps.d.ts +0 -17
- package/dist/core/src/types/IconsConfig.d.ts +0 -19
- package/dist/core/src/types/OnNextPage.d.ts +0 -2
- package/dist/core/src/types/OnRowGroupExpandProps.d.ts +0 -16
- package/dist/core/src/types/OnSortProps.d.ts +0 -3
- package/dist/core/src/types/PanelSection.d.ts +0 -1
- package/dist/core/src/types/Pinned.d.ts +0 -1
- package/dist/core/src/types/PinnedSectionsState.d.ts +0 -6
- package/dist/core/src/types/QuickFilterTypes.d.ts +0 -21
- package/dist/core/src/types/Row.d.ts +0 -3
- package/dist/core/src/types/RowButton.d.ts +0 -6
- package/dist/core/src/types/RowId.d.ts +0 -1
- package/dist/core/src/types/RowSelectionChangeProps.d.ts +0 -7
- package/dist/core/src/types/RowState.d.ts +0 -12
- package/dist/core/src/types/RowStateRendererProps.d.ts +0 -18
- package/dist/core/src/types/SharedTableProps.d.ts +0 -24
- package/dist/core/src/types/SimpleTableConfig.d.ts +0 -88
- package/dist/core/src/types/SimpleTableProps.d.ts +0 -99
- package/dist/core/src/types/SortColumn.d.ts +0 -8
- package/dist/core/src/types/TableAPI.d.ts +0 -57
- package/dist/core/src/types/TableHeaderProps.d.ts +0 -17
- package/dist/core/src/types/TableRefType.d.ts +0 -78
- package/dist/core/src/types/TableRow.d.ts +0 -29
- package/dist/core/src/types/TableRowProps.d.ts +0 -29
- package/dist/core/src/types/Theme.d.ts +0 -2
- package/dist/core/src/types/UpdateCellProps.d.ts +0 -8
- package/dist/core/src/utils/bodyCell/content.d.ts +0 -5
- package/dist/core/src/utils/bodyCell/editing.d.ts +0 -4
- package/dist/core/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -2
- package/dist/core/src/utils/bodyCell/editors/datePicker.d.ts +0 -2
- package/dist/core/src/utils/bodyCell/editors/dropdown.d.ts +0 -18
- package/dist/core/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -2
- package/dist/core/src/utils/bodyCell/eventTracking.d.ts +0 -3
- package/dist/core/src/utils/bodyCell/expansion.d.ts +0 -4
- package/dist/core/src/utils/bodyCell/selection.d.ts +0 -7
- package/dist/core/src/utils/bodyCell/styling.d.ts +0 -5
- package/dist/core/src/utils/bodyCell/types.d.ts +0 -103
- package/dist/core/src/utils/bodyCellRenderer.d.ts +0 -5
- package/dist/core/src/utils/cellClipboardUtils.d.ts +0 -25
- package/dist/core/src/utils/cellScrollUtils.d.ts +0 -10
- package/dist/core/src/utils/cellUtils.d.ts +0 -18
- package/dist/core/src/utils/charts/createBarChart.d.ts +0 -15
- package/dist/core/src/utils/charts/createLineAreaChart.d.ts +0 -17
- package/dist/core/src/utils/collapseUtils.d.ts +0 -24
- package/dist/core/src/utils/columnEditor/columnEditorUtils.d.ts +0 -14
- package/dist/core/src/utils/columnEditor/createCheckbox.d.ts +0 -21
- package/dist/core/src/utils/columnEditor/createColumnEditor.d.ts +0 -25
- package/dist/core/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -22
- package/dist/core/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -31
- package/dist/core/src/utils/csvExportUtils.d.ts +0 -14
- package/dist/core/src/utils/dateUtils.d.ts +0 -18
- package/dist/core/src/utils/deprecatedPropsWarnings.d.ts +0 -10
- package/dist/core/src/utils/filterUtils.d.ts +0 -5
- package/dist/core/src/utils/filters/createBooleanFilter.d.ts +0 -15
- package/dist/core/src/utils/filters/createCustomSelect.d.ts +0 -20
- package/dist/core/src/utils/filters/createDateFilter.d.ts +0 -15
- package/dist/core/src/utils/filters/createDatePicker.d.ts +0 -10
- package/dist/core/src/utils/filters/createDropdown.d.ts +0 -16
- package/dist/core/src/utils/filters/createEnumFilter.d.ts +0 -15
- package/dist/core/src/utils/filters/createFilterActions.d.ts +0 -11
- package/dist/core/src/utils/filters/createFilterDropdown.d.ts +0 -15
- package/dist/core/src/utils/filters/createFilterInput.d.ts +0 -16
- package/dist/core/src/utils/filters/createNumberFilter.d.ts +0 -15
- package/dist/core/src/utils/filters/createStringFilter.d.ts +0 -15
- package/dist/core/src/utils/footer/createTableFooter.d.ts +0 -21
- package/dist/core/src/utils/formatters.d.ts +0 -3
- package/dist/core/src/utils/generalUtils.d.ts +0 -4
- package/dist/core/src/utils/headerCell/collapsing.d.ts +0 -6
- package/dist/core/src/utils/headerCell/dragging.d.ts +0 -5
- package/dist/core/src/utils/headerCell/editing.d.ts +0 -4
- package/dist/core/src/utils/headerCell/eventTracking.d.ts +0 -25
- package/dist/core/src/utils/headerCell/filtering.d.ts +0 -3
- package/dist/core/src/utils/headerCell/resizing.d.ts +0 -3
- package/dist/core/src/utils/headerCell/selection.d.ts +0 -10
- package/dist/core/src/utils/headerCell/sorting.d.ts +0 -3
- package/dist/core/src/utils/headerCell/styling.d.ts +0 -5
- package/dist/core/src/utils/headerCell/types.d.ts +0 -75
- package/dist/core/src/utils/headerCellRenderer.d.ts +0 -4
- package/dist/core/src/utils/headerUtils.d.ts +0 -41
- package/dist/core/src/utils/headerWidthUtils.d.ts +0 -56
- package/dist/core/src/utils/horizontalScrollbarRenderer.d.ts +0 -14
- package/dist/core/src/utils/infiniteScrollUtils.d.ts +0 -145
- package/dist/core/src/utils/nestedGridRowRenderer.d.ts +0 -34
- package/dist/core/src/utils/pinnedColumnUtils.d.ts +0 -25
- package/dist/core/src/utils/quickFilterUtils.d.ts +0 -14
- package/dist/core/src/utils/resizeUtils/autoExpandResize.d.ts +0 -21
- package/dist/core/src/utils/resizeUtils/compensation.d.ts +0 -11
- package/dist/core/src/utils/resizeUtils/domUpdates.d.ts +0 -15
- package/dist/core/src/utils/resizeUtils/index.d.ts +0 -5
- package/dist/core/src/utils/resizeUtils/maxWidth.d.ts +0 -9
- package/dist/core/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -11
- package/dist/core/src/utils/resizeUtils/sectionWidths.d.ts +0 -16
- package/dist/core/src/utils/rowFlattening.d.ts +0 -30
- package/dist/core/src/utils/rowProcessing.d.ts +0 -36
- package/dist/core/src/utils/rowSelectionUtils.d.ts +0 -39
- package/dist/core/src/utils/rowSeparatorRenderer.d.ts +0 -12
- package/dist/core/src/utils/rowUtils.d.ts +0 -136
- package/dist/core/src/utils/sortUtils.d.ts +0 -8
- package/dist/core/src/utils/stateRowRenderer.d.ts +0 -15
- package/dist/core/src/utils/stickyParentsRenderer.d.ts +0 -30
- package/dist/solid/src/SimpleTable.d.ts +0 -19
- package/dist/solid/src/buildVanillaConfig.d.ts +0 -3
- package/dist/solid/src/index.d.ts +0 -3
- package/dist/solid/src/types.d.ts +0 -53
- package/dist/solid/src/utils/wrapSolidRenderer.d.ts +0 -20
- /package/dist/{cjs → types}/core/src/consts/column-constraints.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/consts/general-consts.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/SimpleTableVanilla.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/api/TableAPIImpl.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/dom/DOMManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/initialization/TableInitializer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/rendering/RenderOrchestrator.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/rendering/SectionRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/core/rendering/TableRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/ariaAnnouncements.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/contentHeight.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/expandedDepths.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/handleOutsideClick.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/previousValue.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/scrollbarVisibility.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/scrollbarWidth.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/useAggregatedRows.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/useQuickFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/hooks/windowResize.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/AngleDownIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/AngleLeftIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/AngleRightIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/AngleUpIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/AscIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/CheckIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/DescIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/DragIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/FilterIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/SelectIcon.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/icons/index.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/index.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/AutoScaleManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/DimensionManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/DragHandlerManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/FilterManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/RowManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/RowSelectionManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/ScrollManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SectionScrollController.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/SelectionManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/index.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/keyboardUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/mouseUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SelectionManager/types.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/managers/SortManager.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/AggregationTypes.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/BoundingBox.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/Cell.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/CellChangeProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/CellClickProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/CellRendererProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/CellValue.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/ColumnEditorConfig.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/ColumnEditorRowRendererProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/ColumnVisibilityTypes.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/CustomTheme.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/DragHandlerProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/EnumOption.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/FilterTypes.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/FlattenedHeader.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/FooterRendererProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/GenerateRowIdParams.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/GetRowId.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/HandleResizeStartProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/HeaderDropdownProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/HeaderObject.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/HeaderRendererProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/IconsConfig.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/OnNextPage.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/OnRowGroupExpandProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/OnSortProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/PanelSection.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/Pinned.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/PinnedSectionsState.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/QuickFilterTypes.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/Row.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/RowButton.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/RowId.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/RowSelectionChangeProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/RowState.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/RowStateRendererProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/SharedTableProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/SimpleTableConfig.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/SimpleTableProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/SortColumn.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/TableAPI.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/TableHeaderProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/TableRefType.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/TableRow.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/TableRowProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/Theme.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/types/UpdateCellProps.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/content.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/editing.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/editors/datePicker.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/editors/dropdown.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/eventTracking.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/expansion.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/selection.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/styling.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCell/types.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/bodyCellRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/cellClipboardUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/cellScrollUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/cellUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/charts/createBarChart.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/charts/createLineAreaChart.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/collapseUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/columnEditor/columnEditorUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/columnEditor/createCheckbox.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/columnEditor/createColumnEditor.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/csvExportUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/dateUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/deprecatedPropsWarnings.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filterUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createBooleanFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createCustomSelect.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createDateFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createDatePicker.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createDropdown.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createEnumFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createFilterActions.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createFilterDropdown.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createFilterInput.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createNumberFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/filters/createStringFilter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/footer/createTableFooter.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/formatters.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/generalUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/collapsing.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/dragging.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/editing.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/eventTracking.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/filtering.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/resizing.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/selection.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/sorting.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/styling.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCell/types.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerCellRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/headerUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/horizontalScrollbarRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/infiniteScrollUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/nestedGridRowRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/pinnedColumnUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/quickFilterUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/autoExpandResize.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/compensation.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/domUpdates.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/index.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/maxWidth.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/resizeUtils/sectionWidths.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/rowFlattening.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/rowProcessing.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/rowSelectionUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/rowSeparatorRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/rowUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/sortUtils.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/stateRowRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/core/src/utils/stickyParentsRenderer.d.ts +0 -0
- /package/dist/{cjs → types}/solid/src/SimpleTable.d.ts +0 -0
- /package/dist/{cjs → types}/solid/src/buildVanillaConfig.d.ts +0 -0
- /package/dist/{cjs → types}/solid/src/index.d.ts +0 -0
- /package/dist/{cjs → types}/solid/src/types.d.ts +0 -0
- /package/dist/{cjs → types}/solid/src/utils/wrapSolidRenderer.d.ts +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
2
|
-
import Row from "./Row";
|
|
3
|
-
import { VanillaEmptyStateRenderer, VanillaErrorStateRenderer, VanillaLoadingStateRenderer } from "./RowStateRendererProps";
|
|
4
|
-
import FooterRendererProps from "./FooterRendererProps";
|
|
5
|
-
import { VanillaHeaderDropdown } from "./HeaderDropdownProps";
|
|
6
|
-
import SortColumn, { SortDirection } from "./SortColumn";
|
|
7
|
-
import CellClickProps from "./CellClickProps";
|
|
8
|
-
import CellChangeProps from "./CellChangeProps";
|
|
9
|
-
import { ColumnVisibilityState } from "./ColumnVisibilityTypes";
|
|
10
|
-
import { TableFilterState } from "./FilterTypes";
|
|
11
|
-
import OnNextPage from "./OnNextPage";
|
|
12
|
-
import OnRowGroupExpandProps from "./OnRowGroupExpandProps";
|
|
13
|
-
import RowSelectionChangeProps from "./RowSelectionChangeProps";
|
|
14
|
-
import { RowButton } from "./RowButton";
|
|
15
|
-
import Theme from "./Theme";
|
|
16
|
-
import { CustomThemeProps } from "./CustomTheme";
|
|
17
|
-
import { GetRowId } from "./GetRowId";
|
|
18
|
-
import { ColumnEditorConfig } from "./ColumnEditorConfig";
|
|
19
|
-
import { VanillaIconsConfig } from "./IconsConfig";
|
|
20
|
-
import { QuickFilterConfig } from "./QuickFilterTypes";
|
|
21
|
-
export interface SimpleTableConfig {
|
|
22
|
-
allowAnimations?: boolean;
|
|
23
|
-
autoExpandColumns?: boolean;
|
|
24
|
-
canExpandRowGroup?: (row: Row) => boolean;
|
|
25
|
-
cellUpdateFlash?: boolean;
|
|
26
|
-
className?: string;
|
|
27
|
-
columnBorders?: boolean;
|
|
28
|
-
columnEditorConfig?: ColumnEditorConfig;
|
|
29
|
-
columnEditorText?: string;
|
|
30
|
-
columnReordering?: boolean;
|
|
31
|
-
columnResizing?: boolean;
|
|
32
|
-
copyHeadersToClipboard?: boolean;
|
|
33
|
-
customTheme?: CustomThemeProps;
|
|
34
|
-
defaultHeaders: HeaderObject[];
|
|
35
|
-
editColumns?: boolean;
|
|
36
|
-
editColumnsInitOpen?: boolean;
|
|
37
|
-
emptyStateRenderer?: VanillaEmptyStateRenderer;
|
|
38
|
-
enableHeaderEditing?: boolean;
|
|
39
|
-
enableRowSelection?: boolean;
|
|
40
|
-
enableStickyParents?: boolean;
|
|
41
|
-
errorStateRenderer?: VanillaErrorStateRenderer;
|
|
42
|
-
expandAll?: boolean;
|
|
43
|
-
externalFilterHandling?: boolean;
|
|
44
|
-
externalSortHandling?: boolean;
|
|
45
|
-
footerRenderer?: (props: FooterRendererProps) => HTMLElement | string | null;
|
|
46
|
-
headerDropdown?: VanillaHeaderDropdown;
|
|
47
|
-
height?: string | number;
|
|
48
|
-
hideFooter?: boolean;
|
|
49
|
-
hideHeader?: boolean;
|
|
50
|
-
icons?: VanillaIconsConfig;
|
|
51
|
-
includeHeadersInCSVExport?: boolean;
|
|
52
|
-
initialSortColumn?: string;
|
|
53
|
-
initialSortDirection?: SortDirection;
|
|
54
|
-
isLoading?: boolean;
|
|
55
|
-
loadingStateRenderer?: VanillaLoadingStateRenderer;
|
|
56
|
-
maxHeight?: string | number;
|
|
57
|
-
onCellClick?: (props: CellClickProps) => void;
|
|
58
|
-
onCellEdit?: (props: CellChangeProps) => void;
|
|
59
|
-
onColumnOrderChange?: (newHeaders: HeaderObject[]) => void;
|
|
60
|
-
onColumnSelect?: (header: HeaderObject) => void;
|
|
61
|
-
onColumnVisibilityChange?: (visibilityState: ColumnVisibilityState) => void;
|
|
62
|
-
onColumnWidthChange?: (headers: HeaderObject[]) => void;
|
|
63
|
-
onFilterChange?: (filters: TableFilterState) => void;
|
|
64
|
-
onGridReady?: () => void;
|
|
65
|
-
onHeaderEdit?: (header: HeaderObject, newLabel: string) => void;
|
|
66
|
-
onLoadMore?: () => void;
|
|
67
|
-
onNextPage?: OnNextPage;
|
|
68
|
-
onPageChange?: (page: number) => void | Promise<void>;
|
|
69
|
-
onRowGroupExpand?: (props: OnRowGroupExpandProps) => void | Promise<void>;
|
|
70
|
-
onRowSelectionChange?: (props: RowSelectionChangeProps) => void;
|
|
71
|
-
onSortChange?: (sort: SortColumn | null) => void;
|
|
72
|
-
quickFilter?: QuickFilterConfig;
|
|
73
|
-
rowButtons?: RowButton[];
|
|
74
|
-
rowGrouping?: Accessor[];
|
|
75
|
-
getRowId?: GetRowId;
|
|
76
|
-
rows: Row[];
|
|
77
|
-
rowsPerPage?: number;
|
|
78
|
-
selectableCells?: boolean;
|
|
79
|
-
selectableColumns?: boolean;
|
|
80
|
-
serverSidePagination?: boolean;
|
|
81
|
-
shouldPaginate?: boolean;
|
|
82
|
-
tableEmptyStateRenderer?: HTMLElement | string | null;
|
|
83
|
-
theme?: Theme;
|
|
84
|
-
totalRowCount?: number;
|
|
85
|
-
useHoverRowBackground?: boolean;
|
|
86
|
-
useOddColumnBackground?: boolean;
|
|
87
|
-
useOddEvenRowBackground?: boolean;
|
|
88
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
2
|
-
import Row from "./Row";
|
|
3
|
-
import { EmptyStateRenderer, ErrorStateRenderer, LoadingStateRenderer } from "./RowStateRendererProps";
|
|
4
|
-
import FooterRendererProps from "./FooterRendererProps";
|
|
5
|
-
import { HeaderDropdown } from "./HeaderDropdownProps";
|
|
6
|
-
import SortColumn, { SortDirection } from "./SortColumn";
|
|
7
|
-
import CellClickProps from "./CellClickProps";
|
|
8
|
-
import CellChangeProps from "./CellChangeProps";
|
|
9
|
-
import { ColumnVisibilityState } from "./ColumnVisibilityTypes";
|
|
10
|
-
import { TableFilterState } from "./FilterTypes";
|
|
11
|
-
import OnNextPage from "./OnNextPage";
|
|
12
|
-
import OnRowGroupExpandProps from "./OnRowGroupExpandProps";
|
|
13
|
-
import RowSelectionChangeProps from "./RowSelectionChangeProps";
|
|
14
|
-
import { RowButton } from "./RowButton";
|
|
15
|
-
import TableRefType from "./TableRefType";
|
|
16
|
-
import Theme from "./Theme";
|
|
17
|
-
import { CustomThemeProps } from "./CustomTheme";
|
|
18
|
-
import { GetRowId } from "./GetRowId";
|
|
19
|
-
import { ColumnEditorConfig } from "./ColumnEditorConfig";
|
|
20
|
-
import { IconsConfig } from "./IconsConfig";
|
|
21
|
-
import { QuickFilterConfig } from "./QuickFilterTypes";
|
|
22
|
-
export interface SimpleTableProps {
|
|
23
|
-
autoExpandColumns?: boolean;
|
|
24
|
-
canExpandRowGroup?: (row: Row) => boolean;
|
|
25
|
-
cellUpdateFlash?: boolean;
|
|
26
|
-
className?: string;
|
|
27
|
-
columnBorders?: boolean;
|
|
28
|
-
columnEditorConfig?: ColumnEditorConfig;
|
|
29
|
-
columnEditorText?: string;
|
|
30
|
-
columnReordering?: boolean;
|
|
31
|
-
columnResizing?: boolean;
|
|
32
|
-
copyHeadersToClipboard?: boolean;
|
|
33
|
-
customTheme?: CustomThemeProps;
|
|
34
|
-
defaultHeaders: HeaderObject[];
|
|
35
|
-
editColumns?: boolean;
|
|
36
|
-
editColumnsInitOpen?: boolean;
|
|
37
|
-
emptyStateRenderer?: EmptyStateRenderer;
|
|
38
|
-
enableHeaderEditing?: boolean;
|
|
39
|
-
enableRowSelection?: boolean;
|
|
40
|
-
enableStickyParents?: boolean;
|
|
41
|
-
errorStateRenderer?: ErrorStateRenderer;
|
|
42
|
-
expandAll?: boolean;
|
|
43
|
-
expandIcon?: IconsConfig["expand"];
|
|
44
|
-
externalFilterHandling?: boolean;
|
|
45
|
-
externalSortHandling?: boolean;
|
|
46
|
-
filterIcon?: IconsConfig["filter"];
|
|
47
|
-
footerRenderer?: (props: FooterRendererProps) => HTMLElement | string | null;
|
|
48
|
-
headerCollapseIcon?: IconsConfig["headerCollapse"];
|
|
49
|
-
headerDropdown?: HeaderDropdown;
|
|
50
|
-
headerExpandIcon?: IconsConfig["headerExpand"];
|
|
51
|
-
height?: string | number;
|
|
52
|
-
hideFooter?: boolean;
|
|
53
|
-
hideHeader?: boolean;
|
|
54
|
-
icons?: IconsConfig;
|
|
55
|
-
includeHeadersInCSVExport?: boolean;
|
|
56
|
-
initialSortColumn?: string;
|
|
57
|
-
initialSortDirection?: SortDirection;
|
|
58
|
-
isLoading?: boolean;
|
|
59
|
-
loadingStateRenderer?: LoadingStateRenderer;
|
|
60
|
-
maxHeight?: string | number;
|
|
61
|
-
nextIcon?: IconsConfig["next"];
|
|
62
|
-
onCellClick?: (props: CellClickProps) => void;
|
|
63
|
-
onCellEdit?: (props: CellChangeProps) => void;
|
|
64
|
-
onColumnOrderChange?: (newHeaders: HeaderObject[]) => void;
|
|
65
|
-
onColumnSelect?: (header: HeaderObject) => void;
|
|
66
|
-
onColumnVisibilityChange?: (visibilityState: ColumnVisibilityState) => void;
|
|
67
|
-
onColumnWidthChange?: (headers: HeaderObject[]) => void;
|
|
68
|
-
onFilterChange?: (filters: TableFilterState) => void;
|
|
69
|
-
onGridReady?: () => void;
|
|
70
|
-
onHeaderEdit?: (header: HeaderObject, newLabel: string) => void;
|
|
71
|
-
onLoadMore?: () => void;
|
|
72
|
-
onNextPage?: OnNextPage;
|
|
73
|
-
onPageChange?: (page: number) => void | Promise<void>;
|
|
74
|
-
onRowGroupExpand?: (props: OnRowGroupExpandProps) => void | Promise<void>;
|
|
75
|
-
onRowSelectionChange?: (props: RowSelectionChangeProps) => void;
|
|
76
|
-
onSortChange?: (sort: SortColumn | null) => void;
|
|
77
|
-
prevIcon?: IconsConfig["prev"];
|
|
78
|
-
quickFilter?: QuickFilterConfig;
|
|
79
|
-
rowButtons?: RowButton[];
|
|
80
|
-
rowGrouping?: Accessor[];
|
|
81
|
-
getRowId?: GetRowId;
|
|
82
|
-
rows: Row[];
|
|
83
|
-
rowsPerPage?: number;
|
|
84
|
-
selectableCells?: boolean;
|
|
85
|
-
selectableColumns?: boolean;
|
|
86
|
-
serverSidePagination?: boolean;
|
|
87
|
-
shouldPaginate?: boolean;
|
|
88
|
-
sortDownIcon?: IconsConfig["sortDown"];
|
|
89
|
-
sortUpIcon?: IconsConfig["sortUp"];
|
|
90
|
-
tableEmptyStateRenderer?: HTMLElement | string | null;
|
|
91
|
-
tableRef?: {
|
|
92
|
-
current: TableRefType | null;
|
|
93
|
-
};
|
|
94
|
-
theme?: Theme;
|
|
95
|
-
totalRowCount?: number;
|
|
96
|
-
useHoverRowBackground?: boolean;
|
|
97
|
-
useOddColumnBackground?: boolean;
|
|
98
|
-
useOddEvenRowBackground?: boolean;
|
|
99
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import UpdateDataProps from "./UpdateCellProps";
|
|
2
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
3
|
-
import TableRow from "./TableRow";
|
|
4
|
-
import SortColumn, { SortDirection } from "./SortColumn";
|
|
5
|
-
import { TableFilterState, FilterCondition } from "./FilterTypes";
|
|
6
|
-
import Cell from "./Cell";
|
|
7
|
-
import type { PinnedSectionsState } from "./PinnedSectionsState";
|
|
8
|
-
export interface SetHeaderRenameProps {
|
|
9
|
-
accessor: Accessor;
|
|
10
|
-
}
|
|
11
|
-
export interface ExportToCSVProps {
|
|
12
|
-
filename?: string;
|
|
13
|
-
}
|
|
14
|
-
export type TableAPI = {
|
|
15
|
-
updateData: (props: UpdateDataProps) => void;
|
|
16
|
-
setHeaderRename: (props: SetHeaderRenameProps) => void;
|
|
17
|
-
getVisibleRows: () => TableRow[];
|
|
18
|
-
getAllRows: () => TableRow[];
|
|
19
|
-
getHeaders: () => HeaderObject[];
|
|
20
|
-
exportToCSV: (props?: ExportToCSVProps) => void;
|
|
21
|
-
getSortState: () => SortColumn | null;
|
|
22
|
-
applySortState: (props?: {
|
|
23
|
-
accessor: Accessor;
|
|
24
|
-
direction?: SortDirection;
|
|
25
|
-
}) => Promise<void>;
|
|
26
|
-
/** Ordered root accessors per pin section (left, main/unpinned, right) */
|
|
27
|
-
getPinnedState: () => PinnedSectionsState;
|
|
28
|
-
/** Reorder root columns and set pinned flags; lists must include every root accessor exactly once. Essential order is clamped per section. */
|
|
29
|
-
applyPinnedState: (state: PinnedSectionsState) => Promise<void>;
|
|
30
|
-
getFilterState: () => TableFilterState;
|
|
31
|
-
applyFilter: (filter: FilterCondition) => Promise<void>;
|
|
32
|
-
clearFilter: (accessor: Accessor) => Promise<void>;
|
|
33
|
-
clearAllFilters: () => Promise<void>;
|
|
34
|
-
getCurrentPage: () => number;
|
|
35
|
-
getTotalPages: () => number;
|
|
36
|
-
setPage: (page: number) => Promise<void>;
|
|
37
|
-
expandAll: () => void;
|
|
38
|
-
collapseAll: () => void;
|
|
39
|
-
expandDepth: (depth: number) => void;
|
|
40
|
-
collapseDepth: (depth: number) => void;
|
|
41
|
-
toggleDepth: (depth: number) => void;
|
|
42
|
-
setExpandedDepths: (depths: Set<number>) => void;
|
|
43
|
-
getExpandedDepths: () => Set<number>;
|
|
44
|
-
getGroupingProperty: (depth: number) => Accessor | undefined;
|
|
45
|
-
getGroupingDepth: (property: Accessor) => number;
|
|
46
|
-
toggleColumnEditor: (open?: boolean) => void;
|
|
47
|
-
applyColumnVisibility: (visibility: {
|
|
48
|
-
[accessor: string]: boolean;
|
|
49
|
-
}) => Promise<void>;
|
|
50
|
-
/** Reset columns to default order and visibility (restores defaultHeaders state). */
|
|
51
|
-
resetColumns: () => void;
|
|
52
|
-
setQuickFilter: (text: string) => void;
|
|
53
|
-
getSelectedCells: () => Set<string>;
|
|
54
|
-
clearSelection: () => void;
|
|
55
|
-
selectCell: (cell: Cell) => void;
|
|
56
|
-
selectCellRange: (startCell: Cell, endCell: Cell) => void;
|
|
57
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import SortColumn from "./SortColumn";
|
|
2
|
-
import HeaderObject from "./HeaderObject";
|
|
3
|
-
export interface RefObject<T> {
|
|
4
|
-
current: T | null;
|
|
5
|
-
}
|
|
6
|
-
type TableHeaderProps = {
|
|
7
|
-
calculatedHeaderHeight: number;
|
|
8
|
-
centerHeaderRef: RefObject<HTMLDivElement | null>;
|
|
9
|
-
headers: HeaderObject[];
|
|
10
|
-
mainBodyWidth: number;
|
|
11
|
-
pinnedLeftColumns: HeaderObject[];
|
|
12
|
-
pinnedLeftWidth: number;
|
|
13
|
-
pinnedRightColumns: HeaderObject[];
|
|
14
|
-
pinnedRightWidth: number;
|
|
15
|
-
sort: SortColumn | null;
|
|
16
|
-
};
|
|
17
|
-
export default TableHeaderProps;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import UpdateDataProps from "./UpdateCellProps";
|
|
2
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
3
|
-
import TableRow from "./TableRow";
|
|
4
|
-
import SortColumn, { SortDirection } from "./SortColumn";
|
|
5
|
-
import { TableFilterState, FilterCondition } from "./FilterTypes";
|
|
6
|
-
import type { PinnedSectionsState } from "./PinnedSectionsState";
|
|
7
|
-
interface SetHeaderRenameProps {
|
|
8
|
-
accessor: Accessor;
|
|
9
|
-
}
|
|
10
|
-
interface ExportToCSVProps {
|
|
11
|
-
filename?: string;
|
|
12
|
-
}
|
|
13
|
-
type TableRefType = {
|
|
14
|
-
updateData: (props: UpdateDataProps) => void;
|
|
15
|
-
setHeaderRename: (props: SetHeaderRenameProps) => void;
|
|
16
|
-
/** Returns the currently visible rows (e.g., current page when paginated) */
|
|
17
|
-
getVisibleRows: () => TableRow[];
|
|
18
|
-
/** Returns all rows (flattened, including nested/grouped rows) */
|
|
19
|
-
getAllRows: () => TableRow[];
|
|
20
|
-
/** Returns the table's header/column definitions */
|
|
21
|
-
getHeaders: () => HeaderObject[];
|
|
22
|
-
exportToCSV: (props?: ExportToCSVProps) => void;
|
|
23
|
-
/** Returns the current sort state */
|
|
24
|
-
getSortState: () => SortColumn | null;
|
|
25
|
-
/** Applies a new sort state to the table. Pass null to clear sort. Direction defaults to cycling through asc -> desc -> null */
|
|
26
|
-
applySortState: (props?: {
|
|
27
|
-
accessor: Accessor;
|
|
28
|
-
direction?: SortDirection;
|
|
29
|
-
}) => Promise<void>;
|
|
30
|
-
/** Ordered root accessors per pin section (left, main/unpinned, right) */
|
|
31
|
-
getPinnedState: () => PinnedSectionsState;
|
|
32
|
-
/** Reorder root columns and set pinned flags; lists must include every root accessor exactly once. Essential order is clamped per section. */
|
|
33
|
-
applyPinnedState: (state: PinnedSectionsState) => Promise<void>;
|
|
34
|
-
/** Returns the current filter state */
|
|
35
|
-
getFilterState: () => TableFilterState;
|
|
36
|
-
/** Applies a filter to a specific column */
|
|
37
|
-
applyFilter: (filter: FilterCondition) => Promise<void>;
|
|
38
|
-
/** Clears a filter for a specific column */
|
|
39
|
-
clearFilter: (accessor: Accessor) => Promise<void>;
|
|
40
|
-
/** Clears all filters */
|
|
41
|
-
clearAllFilters: () => Promise<void>;
|
|
42
|
-
/** Returns the current page number (1-indexed) */
|
|
43
|
-
getCurrentPage: () => number;
|
|
44
|
-
/** Returns the total number of pages */
|
|
45
|
-
getTotalPages: () => number;
|
|
46
|
-
/** Sets the current page (1-indexed) and triggers onPageChange callback */
|
|
47
|
-
setPage: (page: number) => Promise<void>;
|
|
48
|
-
/** Expand all rows at all depths */
|
|
49
|
-
expandAll: () => void;
|
|
50
|
-
/** Collapse all rows at all depths */
|
|
51
|
-
collapseAll: () => void;
|
|
52
|
-
/** Expand all rows at a specific depth (0-indexed) */
|
|
53
|
-
expandDepth: (depth: number) => void;
|
|
54
|
-
/** Collapse all rows at a specific depth (0-indexed) */
|
|
55
|
-
collapseDepth: (depth: number) => void;
|
|
56
|
-
/** Toggle expansion for a specific depth */
|
|
57
|
-
toggleDepth: (depth: number) => void;
|
|
58
|
-
/** Set which depths are expanded (replaces current state) */
|
|
59
|
-
setExpandedDepths: (depths: Set<number>) => void;
|
|
60
|
-
/** Get currently expanded depths */
|
|
61
|
-
getExpandedDepths: () => Set<number>;
|
|
62
|
-
/** Get the grouping property name for a depth index */
|
|
63
|
-
getGroupingProperty: (depth: number) => Accessor | undefined;
|
|
64
|
-
/** Get the depth index for a grouping property name */
|
|
65
|
-
getGroupingDepth: (property: Accessor) => number;
|
|
66
|
-
/** Toggle the column editor menu. Pass true to open, false to close, or no argument to toggle. Only works if editColumns prop is enabled. */
|
|
67
|
-
toggleColumnEditor: (open?: boolean) => void;
|
|
68
|
-
/** Apply column visibility changes. Pass an object with column accessors as keys and boolean visibility as values. */
|
|
69
|
-
applyColumnVisibility: (visibility: {
|
|
70
|
-
[accessor: string]: boolean;
|
|
71
|
-
}) => Promise<void>;
|
|
72
|
-
/** Reset columns to default order and visibility (restores defaultHeaders state). */
|
|
73
|
-
resetColumns: () => void;
|
|
74
|
-
/** Set the quick filter text programmatically. Triggers the onChange callback if provided in quickFilter config. */
|
|
75
|
-
setQuickFilter: (text: string) => void;
|
|
76
|
-
};
|
|
77
|
-
export default TableRefType;
|
|
78
|
-
export type { SetHeaderRenameProps, ExportToCSVProps };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import Row from "./Row";
|
|
2
|
-
import RowState from "./RowState";
|
|
3
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
4
|
-
type TableRow = {
|
|
5
|
-
depth: number;
|
|
6
|
-
displayPosition: number;
|
|
7
|
-
groupingKey?: string;
|
|
8
|
-
isLastGroupRow: boolean;
|
|
9
|
-
position: number;
|
|
10
|
-
row: Row;
|
|
11
|
-
rowId: (string | number)[];
|
|
12
|
-
rowPath?: (string | number)[];
|
|
13
|
-
rowIndexPath?: number[];
|
|
14
|
-
stateIndicator?: {
|
|
15
|
-
parentRowId: string | number;
|
|
16
|
-
parentRow: Row;
|
|
17
|
-
state: RowState;
|
|
18
|
-
};
|
|
19
|
-
isLoadingSkeleton?: boolean;
|
|
20
|
-
nestedTable?: {
|
|
21
|
-
parentRow: Row;
|
|
22
|
-
expandableHeader: HeaderObject;
|
|
23
|
-
childAccessor: Accessor;
|
|
24
|
-
calculatedHeight: number;
|
|
25
|
-
};
|
|
26
|
-
absoluteRowIndex: number;
|
|
27
|
-
parentIndices?: number[];
|
|
28
|
-
};
|
|
29
|
-
export default TableRow;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import CellChangeProps from "./CellChangeProps";
|
|
2
|
-
import HeaderObject from "./HeaderObject";
|
|
3
|
-
import Row from "./Row";
|
|
4
|
-
import Cell from "./Cell";
|
|
5
|
-
type TableRowProps = {
|
|
6
|
-
currentRows: Row[];
|
|
7
|
-
draggedHeaderRef: {
|
|
8
|
-
current: HeaderObject | null;
|
|
9
|
-
};
|
|
10
|
-
getBorderClass: (rowIndex: number, columnIndex: number) => string;
|
|
11
|
-
handleMouseDown: (props: Cell) => void;
|
|
12
|
-
handleMouseOver: (rowIndex: number, columnIndex: number) => void;
|
|
13
|
-
headers: HeaderObject[];
|
|
14
|
-
hoveredHeaderRef: {
|
|
15
|
-
current: HeaderObject | null;
|
|
16
|
-
};
|
|
17
|
-
isSelected: (rowIndex: number, columnIndex: number) => boolean;
|
|
18
|
-
isInitialFocusedCell: (rowIndex: number, columnIndex: number) => boolean;
|
|
19
|
-
onCellEdit?: (props: CellChangeProps) => void;
|
|
20
|
-
onTableHeaderDragEnd: (newHeaders: HeaderObject[]) => void;
|
|
21
|
-
onToggleGroup: (rowId: number) => void;
|
|
22
|
-
row: Row;
|
|
23
|
-
rowIndex: number;
|
|
24
|
-
shouldPaginate: boolean;
|
|
25
|
-
tableRef: {
|
|
26
|
-
current: HTMLDivElement | null;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default TableRowProps;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import CellValue from "../../types/CellValue";
|
|
3
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
4
|
-
export declare const formatCellContent: (content: CellValue, header: HeaderObject, colIndex: number, row: any, rowIndex: number) => string | null;
|
|
5
|
-
export declare const createCellContent: (cell: AbsoluteBodyCell, context: CellRenderContext, contentSpan: HTMLElement) => void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import CellValue from "../../types/CellValue";
|
|
2
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
3
|
-
export declare const createEditableInput: (cell: AbsoluteBodyCell, context: CellRenderContext, currentValue: CellValue, onComplete: () => void) => HTMLElement;
|
|
4
|
-
export declare const createEditor: (cell: AbsoluteBodyCell, context: CellRenderContext, onComplete: () => void) => HTMLElement | null;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface DropdownOptions {
|
|
2
|
-
width?: number;
|
|
3
|
-
maxHeight?: number;
|
|
4
|
-
overflow?: "auto" | "hidden" | "visible";
|
|
5
|
-
positioning?: "fixed" | "absolute";
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
}
|
|
8
|
-
export interface DropdownPosition {
|
|
9
|
-
top?: number;
|
|
10
|
-
bottom?: number;
|
|
11
|
-
left?: number;
|
|
12
|
-
right?: number;
|
|
13
|
-
}
|
|
14
|
-
export declare const calculateDropdownPosition: (triggerElement: HTMLElement, dropdownElement: HTMLElement, options: DropdownOptions) => {
|
|
15
|
-
position: DropdownPosition;
|
|
16
|
-
placement: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const createDropdown: (triggerElement: HTMLElement, content: HTMLElement | DocumentFragment, options: DropdownOptions) => HTMLElement;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const addTrackedEventListener: (element: HTMLElement, event: string, handler: EventListener, options?: AddEventListenerOptions) => void;
|
|
2
|
-
export declare const getRenderedCells: (container: HTMLElement) => Map<string, HTMLElement>;
|
|
3
|
-
export declare const cleanupBodyCellRendering: (container?: HTMLElement) => void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
2
|
-
export declare const createExpandIcon: (cell: AbsoluteBodyCell, context: CellRenderContext, isExpanded: boolean) => HTMLElement;
|
|
3
|
-
/** Update expand/collapse icon direction on an existing cell (e.g. after expand state changes for nested grids). */
|
|
4
|
-
export declare const updateExpandIconState: (cellElement: HTMLElement, isExpanded: boolean) => void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Creates the row selection checkbox using the shared createCheckbox (same as popout and header).
|
|
4
|
-
*/
|
|
5
|
-
export declare const createSelectionCheckbox: (cell: AbsoluteBodyCell, context: CellRenderContext, isChecked: boolean) => HTMLElement;
|
|
6
|
-
export declare const createRowNumber: (displayRowNumber: number) => HTMLElement;
|
|
7
|
-
export declare const createRowButtons: (cell: AbsoluteBodyCell, context: CellRenderContext) => HTMLElement | null;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
2
|
-
export declare const untrackCellByRow: (rowIndex: number, cellElement: HTMLElement) => void;
|
|
3
|
-
export declare const createBodyCellElement: (cell: AbsoluteBodyCell, context: CellRenderContext) => HTMLElement;
|
|
4
|
-
export declare const updateBodyCellPosition: (cellElement: HTMLElement, cell: AbsoluteBodyCell) => void;
|
|
5
|
-
export declare const updateBodyCellElement: (cellElement: HTMLElement, cell: AbsoluteBodyCell, context: CellRenderContext) => void;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import HeaderObject, { Accessor } from "../../types/HeaderObject";
|
|
2
|
-
import CellValue from "../../types/CellValue";
|
|
3
|
-
import { IconsConfig } from "../../types/IconsConfig";
|
|
4
|
-
import OnRowGroupExpandProps from "../../types/OnRowGroupExpandProps";
|
|
5
|
-
import type Row from "../../types/Row";
|
|
6
|
-
import type TableRow from "../../types/TableRow";
|
|
7
|
-
import type RowState from "../../types/RowState";
|
|
8
|
-
import type { RowButton } from "../../types/RowButton";
|
|
9
|
-
import type { CustomTheme } from "../../types/CustomTheme";
|
|
10
|
-
import type { HeightOffsets } from "../infiniteScrollUtils";
|
|
11
|
-
import type { VanillaEmptyStateRenderer, VanillaErrorStateRenderer, VanillaLoadingStateRenderer } from "../../types/RowStateRendererProps";
|
|
12
|
-
type SetStateAction<T> = T | ((prevState: T) => T);
|
|
13
|
-
type Dispatch<A> = (value: A) => void;
|
|
14
|
-
export interface AbsoluteBodyCell {
|
|
15
|
-
header: HeaderObject;
|
|
16
|
-
row: Row;
|
|
17
|
-
rowIndex: number;
|
|
18
|
-
colIndex: number;
|
|
19
|
-
rowId: string;
|
|
20
|
-
displayRowNumber: number;
|
|
21
|
-
depth: number;
|
|
22
|
-
isOdd: boolean;
|
|
23
|
-
tableRow: TableRow;
|
|
24
|
-
left: number;
|
|
25
|
-
top: number;
|
|
26
|
-
width: number;
|
|
27
|
-
height: number;
|
|
28
|
-
}
|
|
29
|
-
export interface CellData {
|
|
30
|
-
rowIndex: number;
|
|
31
|
-
colIndex: number;
|
|
32
|
-
rowId: string;
|
|
33
|
-
}
|
|
34
|
-
export interface CellEditParams {
|
|
35
|
-
accessor: Accessor;
|
|
36
|
-
newValue: CellValue;
|
|
37
|
-
row: Row;
|
|
38
|
-
rowIndex: number;
|
|
39
|
-
}
|
|
40
|
-
export interface CellClickParams {
|
|
41
|
-
accessor: Accessor;
|
|
42
|
-
colIndex: number;
|
|
43
|
-
row: Row;
|
|
44
|
-
rowIndex: number;
|
|
45
|
-
value: CellValue;
|
|
46
|
-
}
|
|
47
|
-
export interface CellRegistryEntry {
|
|
48
|
-
updateContent: (newValue: CellValue) => void;
|
|
49
|
-
}
|
|
50
|
-
export interface CellRenderContext {
|
|
51
|
-
collapsedHeaders: Set<Accessor>;
|
|
52
|
-
collapsedRows: Map<string, number>;
|
|
53
|
-
expandedRows: Map<string, number>;
|
|
54
|
-
expandedDepths: number[];
|
|
55
|
-
selectedColumns: Set<number>;
|
|
56
|
-
rowsWithSelectedCells: Set<string>;
|
|
57
|
-
columnBorders: boolean;
|
|
58
|
-
enableRowSelection?: boolean;
|
|
59
|
-
/** Used for context cache invalidation when row selection changes */
|
|
60
|
-
selectedRowCount?: number;
|
|
61
|
-
cellUpdateFlash?: boolean;
|
|
62
|
-
useOddColumnBackground?: boolean;
|
|
63
|
-
useHoverRowBackground?: boolean;
|
|
64
|
-
useOddEvenRowBackground?: boolean;
|
|
65
|
-
rowGrouping?: string[];
|
|
66
|
-
headers: HeaderObject[];
|
|
67
|
-
rowHeight: number;
|
|
68
|
-
/** Number of header rows (for aria-rowindex: position + maxHeaderDepth + 1) */
|
|
69
|
-
maxHeaderDepth?: number;
|
|
70
|
-
heightOffsets?: HeightOffsets;
|
|
71
|
-
customTheme?: CustomTheme;
|
|
72
|
-
containerWidth?: number;
|
|
73
|
-
/** Main section viewport width (avoids clientWidth read when set); use for getVisibleBodyCells when !pinned */
|
|
74
|
-
mainSectionContainerWidth?: number;
|
|
75
|
-
onCellEdit?: (params: CellEditParams) => void;
|
|
76
|
-
onCellClick?: (params: CellClickParams) => void;
|
|
77
|
-
onRowGroupExpand?: (props: OnRowGroupExpandProps) => void | Promise<void>;
|
|
78
|
-
handleRowSelect?: (rowId: string, checked: boolean) => void;
|
|
79
|
-
handleMouseDown: (cell: CellData) => void;
|
|
80
|
-
handleMouseOver: (cell: CellData) => void;
|
|
81
|
-
cellRegistry?: Map<string, CellRegistryEntry>;
|
|
82
|
-
setCollapsedRows: Dispatch<SetStateAction<Map<string, number>>>;
|
|
83
|
-
setExpandedRows: Dispatch<SetStateAction<Map<string, number>>>;
|
|
84
|
-
setRowStateMap: Dispatch<SetStateAction<Map<string | number, RowState>>>;
|
|
85
|
-
getCollapsedRows?: () => Map<string, number>;
|
|
86
|
-
getExpandedRows?: () => Map<string, number>;
|
|
87
|
-
icons: IconsConfig;
|
|
88
|
-
theme: string;
|
|
89
|
-
rowButtons?: RowButton[];
|
|
90
|
-
loadingStateRenderer?: VanillaLoadingStateRenderer;
|
|
91
|
-
errorStateRenderer?: VanillaErrorStateRenderer;
|
|
92
|
-
emptyStateRenderer?: VanillaEmptyStateRenderer;
|
|
93
|
-
getBorderClass: (cell: CellData) => string;
|
|
94
|
-
isSelected: (cell: CellData) => boolean;
|
|
95
|
-
isInitialFocusedCell: (cell: CellData) => boolean;
|
|
96
|
-
isCopyFlashing: (cell: CellData) => boolean;
|
|
97
|
-
isWarningFlashing: (cell: CellData) => boolean;
|
|
98
|
-
isRowSelected?: (rowId: string) => boolean;
|
|
99
|
-
canExpandRowGroup?: (row: Row) => boolean;
|
|
100
|
-
isLoading?: boolean;
|
|
101
|
-
pinned?: "left" | "right";
|
|
102
|
-
}
|
|
103
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./bodyCell/types";
|
|
2
|
-
import type TableRow from "../types/TableRow";
|
|
3
|
-
export type { AbsoluteBodyCell, CellData, CellEditParams, CellClickParams, CellRegistryEntry, CellRenderContext, } from "./bodyCell/types";
|
|
4
|
-
export { cleanupBodyCellRendering } from "./bodyCell/eventTracking";
|
|
5
|
-
export declare const renderBodyCells: (container: HTMLElement, cells: AbsoluteBodyCell[], context: CellRenderContext, scrollLeft?: number, allRows?: TableRow[], positionOnly?: boolean) => void;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import Cell from "../types/Cell";
|
|
2
|
-
import HeaderObject from "../types/HeaderObject";
|
|
3
|
-
import type TableRowType from "../types/TableRow";
|
|
4
|
-
interface CellRegistryEntry {
|
|
5
|
-
updateContent: (newValue: any) => void;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Copies selected cells to clipboard in tab-separated format
|
|
9
|
-
*/
|
|
10
|
-
export declare const copySelectedCellsToClipboard: (selectedCells: Set<string>, leafHeaders: HeaderObject[], tableRows: TableRowType[], copyHeadersToClipboard?: boolean) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Pastes clipboard data into cells starting from the initial focused cell
|
|
13
|
-
*/
|
|
14
|
-
export declare const pasteClipboardDataToCells: (clipboardText: string, initialFocusedCell: Cell, leafHeaders: HeaderObject[], tableRows: TableRowType[], onCellEdit?: ((props: any) => void) | undefined, cellRegistry?: Map<string, CellRegistryEntry>) => {
|
|
15
|
-
updatedCells: Set<string>;
|
|
16
|
-
warningCells: Set<string>;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Deletes content from selected cells (sets them to appropriate empty values)
|
|
20
|
-
*/
|
|
21
|
-
export declare const deleteSelectedCellsContent: (selectedCells: Set<string>, leafHeaders: HeaderObject[], tableRows: TableRowType[], onCellEdit?: ((props: any) => void) | undefined, cellRegistry?: Map<string, CellRegistryEntry>) => {
|
|
22
|
-
deletedCells: Set<string>;
|
|
23
|
-
warningCells: Set<string>;
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Cell from "../types/Cell";
|
|
2
|
-
import TableRow from "../types/TableRow";
|
|
3
|
-
import { CustomTheme } from "../types/CustomTheme";
|
|
4
|
-
/**
|
|
5
|
-
* Scrolls a cell into view, handling virtualization by calculating
|
|
6
|
-
* approximate positions when cells are not yet rendered.
|
|
7
|
-
* Uses viewport calculations to check if the cell is already fully visible
|
|
8
|
-
* before performing any scroll operations.
|
|
9
|
-
*/
|
|
10
|
-
export declare const scrollCellIntoView: (cell: Cell, rowHeight: number, customTheme: CustomTheme, tableRows?: TableRow[]) => void;
|