simple-table-core 4.0.1 → 4.0.3
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/cjs/index.js +1 -1
- package/dist/{cjs/src/consts → consts}/column-constraints.d.ts +58 -58
- package/dist/{cjs/src/consts → consts}/general-consts.d.ts +32 -32
- package/dist/{cjs/src/core → core}/SimpleTableVanilla.d.ts +370 -369
- package/dist/{src/core → core}/api/TableAPIImpl.d.ts +78 -78
- package/dist/{cjs/src/core → core}/dom/DOMManager.d.ts +52 -52
- package/dist/{cjs/src/core → core}/initialization/TableInitializer.d.ts +34 -34
- package/dist/{cjs/src/core → core}/rendering/RenderOrchestrator.d.ts +174 -172
- package/dist/{src/core → core}/rendering/SectionRenderer.d.ts +119 -119
- package/dist/{cjs/src/core → core}/rendering/TableRenderer.d.ts +126 -120
- package/dist/{src/hooks → hooks}/ariaAnnouncements.d.ts +37 -37
- package/dist/{src/hooks → hooks}/contentHeight.d.ts +29 -29
- package/dist/{cjs/src/hooks → hooks}/expandedDepths.d.ts +69 -69
- package/dist/{cjs/src/hooks → hooks}/handleOutsideClick.d.ts +50 -50
- package/dist/{cjs/src/hooks → hooks}/previousValue.d.ts +30 -30
- package/dist/{src/hooks → hooks}/scrollbarVisibility.d.ts +65 -65
- package/dist/{src/hooks → hooks}/scrollbarWidth.d.ts +52 -52
- package/dist/{src/hooks → hooks}/useAggregatedRows.d.ts +14 -14
- package/dist/{src/hooks → hooks}/useQuickFilter.d.ts +14 -14
- package/dist/{src/hooks → hooks}/windowResize.d.ts +31 -31
- package/dist/{cjs/src/icons → icons}/AngleDownIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/AngleLeftIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/AngleRightIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/AngleUpIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/AscIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/CheckIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/DescIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/DragIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/FilterIcon.d.ts +1 -1
- package/dist/{cjs/src/icons → icons}/SelectIcon.d.ts +1 -1
- package/dist/{src/icons → icons}/index.d.ts +14 -14
- package/dist/{cjs/src/index.d.ts → index.d.ts} +56 -58
- package/dist/index.es.js +1 -1
- package/dist/{cjs/src/managers → managers}/AnimationCoordinator.d.ts +356 -356
- package/dist/{cjs/src/managers → managers}/AutoScaleManager.d.ts +33 -33
- package/dist/{src/managers → managers}/ColumnManager.d.ts +42 -42
- package/dist/{cjs/src/managers → managers}/DimensionManager.d.ts +84 -84
- package/dist/{src/managers → managers}/DragHandlerManager.d.ts +44 -44
- package/dist/{src/managers → managers}/FilterManager.d.ts +36 -36
- package/dist/{src/managers → managers}/PivotManager.d.ts +35 -35
- package/dist/{cjs/src/managers → managers}/RowManager.d.ts +56 -56
- package/dist/{src/managers → managers}/RowSelectionManager.d.ts +72 -72
- package/dist/{cjs/src/managers → managers}/ScrollManager.d.ts +38 -38
- package/dist/{src/managers → managers}/SectionScrollController.d.ts +74 -74
- package/dist/{src/managers → managers}/SelectionManager/SelectionManager.d.ts +251 -251
- package/dist/{src/managers → managers}/SelectionManager/index.d.ts +2 -2
- package/dist/{src/managers → managers}/SelectionManager/keyboardUtils.d.ts +7 -7
- package/dist/{cjs/src/managers → managers}/SelectionManager/mouseUtils.d.ts +16 -16
- package/dist/{src/managers → managers}/SelectionManager/selectionRangeUtils.d.ts +7 -7
- package/dist/{src/managers → managers}/SelectionManager/types.d.ts +28 -28
- package/dist/{src/managers → managers}/SortManager.d.ts +42 -42
- package/dist/{cjs/src/managers → managers}/TableManager.d.ts +72 -72
- package/dist/{src/types → types}/AggregationTypes.d.ts +8 -8
- package/dist/{cjs/src/types → types}/AnimationsConfig.d.ts +16 -16
- package/dist/{src/types → types}/BoundingBox.d.ts +11 -11
- package/dist/{cjs/src/types → types}/Cell.d.ts +7 -7
- package/dist/{cjs/src/types → types}/CellChangeProps.d.ts +9 -9
- package/dist/{cjs/src/types → types}/CellClickProps.d.ts +11 -11
- package/dist/{src/types → types}/CellRendererProps.d.ts +32 -32
- package/dist/{cjs/src/types → types}/CellValue.d.ts +2 -2
- package/dist/{src/types → types}/ColumnEditorConfig.d.ts +42 -42
- package/dist/{src/types → types}/ColumnEditorCustomRendererProps.d.ts +14 -14
- package/dist/{src/types → types}/ColumnEditorRowRendererProps.d.ts +39 -39
- package/dist/{src/types → types}/ColumnVisibilityTypes.d.ts +4 -4
- package/dist/{src/types → types}/CustomTheme.d.ts +28 -28
- package/dist/{src/types → types}/DragHandlerProps.d.ts +14 -14
- package/dist/{src/types → types}/EnumOption.d.ts +5 -5
- package/dist/{cjs/src/types → types}/FilterTypes.d.ts +31 -31
- package/dist/{src/types → types}/FlattenedHeader.d.ts +10 -10
- package/dist/{cjs/src/types → types}/FooterPosition.d.ts +3 -3
- package/dist/{src/types → types}/FooterRendererProps.d.ts +17 -17
- package/dist/{cjs/src/types → types}/GenerateRowIdParams.d.ts +11 -11
- package/dist/{cjs/src/types → types}/GetRowId.d.ts +16 -16
- package/dist/{cjs/src/types → types}/HandleResizeStartProps.d.ts +25 -25
- package/dist/{cjs/src/types → types}/HeaderDropdownProps.d.ts +14 -14
- package/dist/{src/types → types}/HeaderObject.d.ts +152 -133
- package/dist/{cjs/src/types → types}/HeaderRendererProps.d.ts +17 -17
- package/dist/{src/types → types}/IconsConfig.d.ts +19 -19
- package/dist/{cjs/src/types → types}/OnNextPage.d.ts +2 -2
- package/dist/{cjs/src/types → types}/OnRowGroupExpandProps.d.ts +16 -16
- package/dist/{cjs/src/types → types}/OnSortProps.d.ts +3 -3
- package/dist/{cjs/src/types → types}/PanelSection.d.ts +1 -1
- package/dist/{cjs/src/types → types}/Pinned.d.ts +1 -1
- package/dist/{src/types → types}/PinnedSectionsState.d.ts +6 -6
- package/dist/{cjs/src/types → types}/PivotTypes.d.ts +37 -37
- package/dist/{cjs/src/types → types}/QuickFilterTypes.d.ts +21 -21
- package/dist/{cjs/src/types → types}/Row.d.ts +3 -3
- package/dist/{cjs/src/types → types}/RowButton.d.ts +6 -6
- package/dist/{cjs/src/types → types}/RowId.d.ts +1 -1
- package/dist/{cjs/src/types → types}/RowSelectionChangeProps.d.ts +7 -7
- package/dist/{src/types → types}/RowSelectionMode.d.ts +8 -8
- package/dist/{cjs/src/types → types}/RowState.d.ts +12 -12
- package/dist/{cjs/src/types → types}/RowStateRendererProps.d.ts +18 -18
- package/dist/{src/types → types}/SharedTableProps.d.ts +24 -24
- package/dist/{cjs/src/types → types}/SimpleTableConfig.d.ts +135 -124
- package/dist/{cjs/src/types → types}/SimpleTableProps.d.ts +182 -125
- package/dist/{cjs/src/types → types}/SortColumn.d.ts +8 -8
- package/dist/{cjs/src/types → types}/TableAPI.d.ts +85 -82
- package/dist/{cjs/src/types → types}/TableBodyProps.d.ts +20 -20
- package/dist/{cjs/src/types → types}/TableHeaderProps.d.ts +17 -17
- package/dist/{cjs/src/types → types}/TableHeaderSectionProps.d.ts +19 -19
- package/dist/{src/types → types}/TableRow.d.ts +39 -39
- package/dist/{src/types → types}/TableRowProps.d.ts +29 -29
- package/dist/{cjs/src/types → types}/Theme.d.ts +2 -2
- package/dist/{src/types → types}/UpdateCellProps.d.ts +8 -8
- package/dist/{cjs/src/utils → utils}/accordionAnimation.d.ts +25 -25
- package/dist/{src/utils → utils}/aggregationUtils.d.ts +7 -7
- package/dist/{src/utils → utils}/ariaRowOwnership.d.ts +37 -37
- package/dist/{src/utils → utils}/asRows.d.ts +7 -7
- package/dist/{src/utils → utils}/bodyCell/cellLiveRef.d.ts +9 -9
- package/dist/{cjs/src/utils → utils}/bodyCell/content.d.ts +5 -5
- package/dist/{cjs/src/utils → utils}/bodyCell/editing.d.ts +4 -4
- package/dist/{src/utils → utils}/bodyCell/editors/booleanDropdown.d.ts +2 -2
- package/dist/{src/utils → utils}/bodyCell/editors/datePicker.d.ts +2 -2
- package/dist/{src/utils → utils}/bodyCell/editors/dropdown.d.ts +18 -18
- package/dist/{cjs/src/utils → utils}/bodyCell/editors/enumDropdown.d.ts +2 -2
- package/dist/{cjs/src/utils → utils}/bodyCell/eventTracking.d.ts +3 -3
- package/dist/{cjs/src/utils → utils}/bodyCell/expansion.d.ts +12 -12
- package/dist/{src/utils → utils}/bodyCell/selection.d.ts +7 -7
- package/dist/{cjs/src/utils → utils}/bodyCell/styling.d.ts +11 -11
- package/dist/{src/utils → utils}/bodyCell/types.d.ts +170 -170
- package/dist/{src/utils → utils}/bodyCellRenderer.d.ts +6 -6
- package/dist/{src/utils → utils}/cellClipboardUtils.d.ts +25 -25
- package/dist/{cjs/src/utils → utils}/cellScrollUtils.d.ts +10 -10
- package/dist/{cjs/src/utils → utils}/cellUtils.d.ts +19 -18
- package/dist/{cjs/src/utils → utils}/charts/createBarChart.d.ts +20 -20
- package/dist/{cjs/src/utils → utils}/charts/createLineAreaChart.d.ts +25 -25
- package/dist/{src/utils → utils}/collapseUtils.d.ts +32 -31
- package/dist/{src/utils → utils}/columnEditor/columnEditorUtils.d.ts +27 -27
- package/dist/{src/utils → utils}/columnEditor/createCheckbox.d.ts +21 -21
- package/dist/{src/utils → utils}/columnEditor/createColumnEditor.d.ts +26 -26
- package/dist/{cjs/src/utils → utils}/columnEditor/createColumnEditorPopout.d.ts +23 -23
- package/dist/{src/utils → utils}/columnEditor/createColumnEditorRow.d.ts +41 -41
- package/dist/{cjs/src/utils → utils}/columnIndicesUtils.d.ts +15 -15
- package/dist/{src/utils → utils}/columnVirtualizationUtils.d.ts +128 -128
- package/dist/{cjs/src/utils → utils}/csvExportUtils.d.ts +14 -14
- package/dist/{cjs/src/utils → utils}/dateUtils.d.ts +18 -18
- package/dist/{src/utils → utils}/externalScroll.d.ts +58 -58
- package/dist/{cjs/src/utils → utils}/filterUtils.d.ts +5 -5
- package/dist/{cjs/src/utils → utils}/filters/createBooleanFilter.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/filters/createCustomSelect.d.ts +20 -20
- package/dist/{cjs/src/utils → utils}/filters/createDateFilter.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/filters/createDatePicker.d.ts +10 -10
- package/dist/{cjs/src/utils → utils}/filters/createDropdown.d.ts +33 -33
- package/dist/{cjs/src/utils → utils}/filters/createEnumFilter.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/filters/createFilterActions.d.ts +12 -12
- package/dist/{src/utils → utils}/filters/createFilterDropdown.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/filters/createFilterInput.d.ts +16 -16
- package/dist/{src/utils → utils}/filters/createNumberFilter.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/filters/createStringFilter.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/footer/createTableFooter.d.ts +21 -21
- package/dist/{cjs/src/utils → utils}/formatters.d.ts +3 -3
- package/dist/{cjs/src/utils → utils}/generalUtils.d.ts +4 -4
- package/dist/{src/utils → utils}/headerCell/collapsing.d.ts +6 -6
- package/dist/{cjs/src/utils → utils}/headerCell/dragging.d.ts +5 -5
- package/dist/{src/utils → utils}/headerCell/editing.d.ts +4 -4
- package/dist/{src/utils → utils}/headerCell/eventTracking.d.ts +28 -28
- package/dist/{src/utils → utils}/headerCell/filtering.d.ts +3 -3
- package/dist/{src/utils → utils}/headerCell/resizing.d.ts +3 -3
- package/dist/{src/utils → utils}/headerCell/selection.d.ts +10 -10
- package/dist/{src/utils → utils}/headerCell/sorting.d.ts +3 -3
- package/dist/{cjs/src/utils → utils}/headerCell/styling.d.ts +7 -7
- package/dist/{src/utils → utils}/headerCell/types.d.ts +110 -110
- package/dist/{cjs/src/utils → utils}/headerCellRenderer.d.ts +4 -4
- package/dist/utils/headerLayoutUtils.d.ts +9 -0
- package/dist/{cjs/src/utils → utils}/headerUtils.d.ts +41 -41
- package/dist/{src/utils → utils}/headerWidthUtils.d.ts +121 -121
- package/dist/{src/utils → utils}/horizontalScrollbarRenderer.d.ts +27 -27
- package/dist/{cjs/src/utils → utils}/infiniteScrollUtils.d.ts +145 -145
- package/dist/{cjs/src/utils → utils}/loadingPlaceholderUtils.d.ts +11 -11
- package/dist/{src/utils → utils}/nestedGridRowRenderer.d.ts +50 -50
- package/dist/utils/normalizeConfig.d.ts +62 -0
- package/dist/{cjs/src/utils → utils}/pinnedColumnUtils.d.ts +29 -29
- package/dist/{cjs/src/utils → utils}/pivot/pivotRows.d.ts +16 -16
- package/dist/{src/utils → utils}/propSyncEqual.d.ts +60 -60
- package/dist/{cjs/src/utils → utils}/quickFilterUtils.d.ts +14 -14
- package/dist/{src/utils → utils}/resizeUtils/autoExpandResize.d.ts +32 -32
- package/dist/{cjs/src/utils → utils}/resizeUtils/compensation.d.ts +17 -17
- package/dist/{src/utils → utils}/resizeUtils/domUpdates.d.ts +15 -15
- package/dist/{cjs/src/utils → utils}/resizeUtils/index.d.ts +26 -26
- package/dist/{src/utils → utils}/resizeUtils/maxWidth.d.ts +9 -9
- package/dist/{cjs/src/utils → utils}/resizeUtils/parentHeaderResize.d.ts +11 -11
- package/dist/{cjs/src/utils → utils}/resizeUtils/sectionWidths.d.ts +36 -36
- package/dist/{src/utils → utils}/rowFlattening.d.ts +30 -30
- package/dist/{cjs/src/utils → utils}/rowProcessing.d.ts +65 -65
- package/dist/{cjs/src/utils → utils}/rowSelectionUtils.d.ts +62 -62
- package/dist/{src/utils → utils}/rowSeparatorRenderer.d.ts +16 -16
- package/dist/{cjs/src/utils → utils}/rowUtils.d.ts +187 -187
- package/dist/{cjs/src/utils → utils}/sortUtils.d.ts +8 -8
- package/dist/{cjs/src/utils → utils}/stateRowRenderer.d.ts +15 -15
- package/dist/{src/utils → utils}/stickyParentsRenderer.d.ts +53 -53
- package/package.json +12 -6
- package/styles.css.d.ts +1 -0
- package/dist/cjs/src/core/api/TableAPIImpl.d.ts +0 -78
- package/dist/cjs/src/core/rendering/SectionRenderer.d.ts +0 -119
- package/dist/cjs/src/hooks/ariaAnnouncements.d.ts +0 -37
- package/dist/cjs/src/hooks/contentHeight.d.ts +0 -29
- package/dist/cjs/src/hooks/scrollbarVisibility.d.ts +0 -65
- package/dist/cjs/src/hooks/scrollbarWidth.d.ts +0 -52
- package/dist/cjs/src/hooks/useAggregatedRows.d.ts +0 -14
- package/dist/cjs/src/hooks/useQuickFilter.d.ts +0 -14
- package/dist/cjs/src/hooks/windowResize.d.ts +0 -31
- package/dist/cjs/src/icons/index.d.ts +0 -14
- package/dist/cjs/src/managers/ColumnManager.d.ts +0 -42
- package/dist/cjs/src/managers/DragHandlerManager.d.ts +0 -44
- package/dist/cjs/src/managers/FilterManager.d.ts +0 -36
- package/dist/cjs/src/managers/PivotManager.d.ts +0 -35
- package/dist/cjs/src/managers/RowSelectionManager.d.ts +0 -72
- package/dist/cjs/src/managers/SectionScrollController.d.ts +0 -74
- package/dist/cjs/src/managers/SelectionManager/SelectionManager.d.ts +0 -251
- package/dist/cjs/src/managers/SelectionManager/index.d.ts +0 -2
- package/dist/cjs/src/managers/SelectionManager/keyboardUtils.d.ts +0 -7
- package/dist/cjs/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -7
- package/dist/cjs/src/managers/SelectionManager/types.d.ts +0 -28
- package/dist/cjs/src/managers/SortManager.d.ts +0 -42
- package/dist/cjs/src/types/AggregationTypes.d.ts +0 -8
- package/dist/cjs/src/types/BoundingBox.d.ts +0 -11
- package/dist/cjs/src/types/CellRendererProps.d.ts +0 -32
- package/dist/cjs/src/types/ColumnEditorConfig.d.ts +0 -42
- package/dist/cjs/src/types/ColumnEditorCustomRendererProps.d.ts +0 -14
- package/dist/cjs/src/types/ColumnEditorRowRendererProps.d.ts +0 -39
- package/dist/cjs/src/types/ColumnVisibilityTypes.d.ts +0 -4
- package/dist/cjs/src/types/CustomTheme.d.ts +0 -28
- package/dist/cjs/src/types/DragHandlerProps.d.ts +0 -14
- package/dist/cjs/src/types/EnumOption.d.ts +0 -5
- package/dist/cjs/src/types/FlattenedHeader.d.ts +0 -10
- package/dist/cjs/src/types/FooterRendererProps.d.ts +0 -17
- package/dist/cjs/src/types/HeaderObject.d.ts +0 -133
- package/dist/cjs/src/types/IconsConfig.d.ts +0 -19
- package/dist/cjs/src/types/PinnedSectionsState.d.ts +0 -6
- package/dist/cjs/src/types/RowSelectionMode.d.ts +0 -8
- package/dist/cjs/src/types/SelectionType.d.ts +0 -7
- package/dist/cjs/src/types/SharedTableProps.d.ts +0 -24
- package/dist/cjs/src/types/TableRow.d.ts +0 -39
- package/dist/cjs/src/types/TableRowProps.d.ts +0 -29
- package/dist/cjs/src/types/UpdateCellProps.d.ts +0 -8
- package/dist/cjs/src/utils/aggregationUtils.d.ts +0 -7
- package/dist/cjs/src/utils/ariaRowOwnership.d.ts +0 -37
- package/dist/cjs/src/utils/asRows.d.ts +0 -7
- package/dist/cjs/src/utils/bodyCell/cellLiveRef.d.ts +0 -9
- package/dist/cjs/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -2
- package/dist/cjs/src/utils/bodyCell/editors/datePicker.d.ts +0 -2
- package/dist/cjs/src/utils/bodyCell/editors/dropdown.d.ts +0 -18
- package/dist/cjs/src/utils/bodyCell/selection.d.ts +0 -7
- package/dist/cjs/src/utils/bodyCell/types.d.ts +0 -170
- package/dist/cjs/src/utils/bodyCellRenderer.d.ts +0 -6
- package/dist/cjs/src/utils/cellClipboardUtils.d.ts +0 -25
- package/dist/cjs/src/utils/collapseUtils.d.ts +0 -31
- package/dist/cjs/src/utils/columnEditor/columnEditorUtils.d.ts +0 -27
- package/dist/cjs/src/utils/columnEditor/createCheckbox.d.ts +0 -21
- package/dist/cjs/src/utils/columnEditor/createColumnEditor.d.ts +0 -26
- package/dist/cjs/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -41
- package/dist/cjs/src/utils/columnVirtualizationUtils.d.ts +0 -128
- package/dist/cjs/src/utils/externalScroll.d.ts +0 -58
- package/dist/cjs/src/utils/filters/createFilterDropdown.d.ts +0 -15
- package/dist/cjs/src/utils/filters/createNumberFilter.d.ts +0 -15
- package/dist/cjs/src/utils/headerCell/collapsing.d.ts +0 -6
- package/dist/cjs/src/utils/headerCell/editing.d.ts +0 -4
- package/dist/cjs/src/utils/headerCell/eventTracking.d.ts +0 -28
- package/dist/cjs/src/utils/headerCell/filtering.d.ts +0 -3
- package/dist/cjs/src/utils/headerCell/resizing.d.ts +0 -3
- package/dist/cjs/src/utils/headerCell/selection.d.ts +0 -10
- package/dist/cjs/src/utils/headerCell/sorting.d.ts +0 -3
- package/dist/cjs/src/utils/headerCell/types.d.ts +0 -110
- package/dist/cjs/src/utils/headerWidthUtils.d.ts +0 -121
- package/dist/cjs/src/utils/horizontalScrollbarRenderer.d.ts +0 -27
- package/dist/cjs/src/utils/nestedGridRowRenderer.d.ts +0 -50
- package/dist/cjs/src/utils/propSyncEqual.d.ts +0 -60
- package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +0 -32
- package/dist/cjs/src/utils/resizeUtils/domUpdates.d.ts +0 -15
- package/dist/cjs/src/utils/resizeUtils/maxWidth.d.ts +0 -9
- package/dist/cjs/src/utils/rowFlattening.d.ts +0 -30
- package/dist/cjs/src/utils/rowSeparatorRenderer.d.ts +0 -16
- package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +0 -53
- package/dist/cjs/stories/data/aggregate-data.d.ts +0 -5
- package/dist/cjs/stories/data/athlete-data.d.ts +0 -3
- package/dist/cjs/stories/data/retail-data.d.ts +0 -3
- package/dist/cjs/stories/data/saas-data.d.ts +0 -6
- package/dist/cjs/stories/data/space-data.d.ts +0 -3
- package/dist/cjs/stories/docs/Examples.stories.d.ts +0 -18
- package/dist/cjs/stories/docs/Features.stories.d.ts +0 -54
- package/dist/cjs/stories/docs/GettingStarted.stories.d.ts +0 -7
- package/dist/cjs/stories/docs/storyArgs.d.ts +0 -155
- package/dist/cjs/stories/examples/AdvancedSortingExample.d.ts +0 -6
- package/dist/cjs/stories/examples/AggregateExample.d.ts +0 -7
- package/dist/cjs/stories/examples/AlignmentExample.d.ts +0 -10
- package/dist/cjs/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
- package/dist/cjs/stories/examples/BasicExample.d.ts +0 -12
- package/dist/cjs/stories/examples/BasicRowGrouping.d.ts +0 -11
- package/dist/cjs/stories/examples/CSVExportFormattingExample.d.ts +0 -12
- package/dist/cjs/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
- package/dist/cjs/stories/examples/CellHighlighting.d.ts +0 -7
- package/dist/cjs/stories/examples/CellRenderer.d.ts +0 -7
- package/dist/cjs/stories/examples/ChartsExample.d.ts +0 -13
- package/dist/cjs/stories/examples/ClayExample.d.ts +0 -14
- package/dist/cjs/stories/examples/ClipboardFormattingExample.d.ts +0 -12
- package/dist/cjs/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
- package/dist/cjs/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
- package/dist/cjs/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
- package/dist/cjs/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
- package/dist/cjs/stories/examples/DynamicHeadersExample.d.ts +0 -5
- package/dist/cjs/stories/examples/DynamicNestedTableExample.d.ts +0 -7
- package/dist/cjs/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
- package/dist/cjs/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
- package/dist/cjs/stories/examples/EditableCells.d.ts +0 -8
- package/dist/cjs/stories/examples/ExpansionControlExample.d.ts +0 -6
- package/dist/cjs/stories/examples/ExternalFilterExample.d.ts +0 -5
- package/dist/cjs/stories/examples/ExternalSortExample.d.ts +0 -6
- package/dist/cjs/stories/examples/HeaderInclusionExample.d.ts +0 -5
- package/dist/cjs/stories/examples/HiddenColumnsExample.d.ts +0 -9
- package/dist/cjs/stories/examples/InfiniteScroll.d.ts +0 -5
- package/dist/cjs/stories/examples/LiveUpdates.d.ts +0 -5
- package/dist/cjs/stories/examples/LoadingStateExample.d.ts +0 -2
- package/dist/cjs/stories/examples/NestedAccessorExample.d.ts +0 -8
- package/dist/cjs/stories/examples/NestedGridExample.d.ts +0 -5
- package/dist/cjs/stories/examples/Pagination.d.ts +0 -12
- package/dist/cjs/stories/examples/PaginationAPIExample.d.ts +0 -8
- package/dist/cjs/stories/examples/PivotExample.d.ts +0 -16
- package/dist/cjs/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
- package/dist/cjs/stories/examples/ProgrammaticSortExample.d.ts +0 -5
- package/dist/cjs/stories/examples/QuickFilterExample.d.ts +0 -5
- package/dist/cjs/stories/examples/RadioStationsExample.d.ts +0 -3
- package/dist/cjs/stories/examples/RowButtonsExample.d.ts +0 -14
- package/dist/cjs/stories/examples/RowHeightExample.d.ts +0 -8
- package/dist/cjs/stories/examples/RowSelectionExample.d.ts +0 -11
- package/dist/cjs/stories/examples/SelectableCells.d.ts +0 -14
- package/dist/cjs/stories/examples/ServerSidePaginationExample.d.ts +0 -2
- package/dist/cjs/stories/examples/Theming.d.ts +0 -12
- package/dist/cjs/stories/examples/TooltipExample.d.ts +0 -8
- package/dist/cjs/stories/examples/WindowInfiniteScroll.d.ts +0 -3
- package/dist/cjs/stories/examples/billing-example/BillingExample.d.ts +0 -13
- package/dist/cjs/stories/examples/billing-example/billing-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/crypto/CryptoExample.d.ts +0 -14
- package/dist/cjs/stories/examples/crypto/crypto-data.d.ts +0 -30
- package/dist/cjs/stories/examples/crypto/crypto-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
- package/dist/cjs/stories/examples/filter-example/FilterExample.d.ts +0 -9
- package/dist/cjs/stories/examples/filter-example/filter-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/finance-example/FinancialExample.d.ts +0 -8
- package/dist/cjs/stories/examples/finance-example/finance-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
- package/dist/cjs/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
- package/dist/cjs/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/leads/LeadsExample.d.ts +0 -8
- package/dist/cjs/stories/examples/leads/leads-data.d.ts +0 -5
- package/dist/cjs/stories/examples/leads/leads-headers.d.ts +0 -6
- package/dist/cjs/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
- package/dist/cjs/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/music/MusicExample.d.ts +0 -13
- package/dist/cjs/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
- package/dist/cjs/stories/examples/music/music-headers.d.ts +0 -5
- package/dist/cjs/stories/examples/music/music-window.data.d.ts +0 -47
- package/dist/cjs/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
- package/dist/cjs/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
- package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +0 -14
- package/dist/cjs/stories/examples/sales-example/sales-headers.d.ts +0 -6
- package/dist/cjs/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
- package/dist/cjs/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
- package/dist/cjs/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
- package/dist/cjs/stories/tests/04-PaginationTests.stories.d.ts +0 -94
- package/dist/cjs/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
- package/dist/cjs/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
- package/dist/cjs/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
- package/dist/cjs/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
- package/dist/cjs/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
- package/dist/cjs/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
- package/dist/cjs/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
- package/dist/cjs/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
- package/dist/cjs/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
- package/dist/cjs/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
- package/dist/cjs/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
- package/dist/cjs/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
- package/dist/cjs/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
- package/dist/cjs/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
- package/dist/cjs/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
- package/dist/cjs/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
- package/dist/cjs/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
- package/dist/cjs/stories/tests/22-LoadingStateTests.stories.d.ts +0 -94
- package/dist/cjs/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
- package/dist/cjs/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
- package/dist/cjs/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
- package/dist/cjs/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
- package/dist/cjs/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
- package/dist/cjs/stories/tests/28-CellClickTests.stories.d.ts +0 -23
- package/dist/cjs/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
- package/dist/cjs/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
- package/dist/cjs/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
- package/dist/cjs/stories/tests/32-ThemesTests.stories.d.ts +0 -104
- package/dist/cjs/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
- package/dist/cjs/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
- package/dist/cjs/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
- package/dist/cjs/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
- package/dist/cjs/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
- package/dist/cjs/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
- package/dist/cjs/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
- package/dist/cjs/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
- package/dist/cjs/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
- package/dist/cjs/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
- package/dist/cjs/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
- package/dist/cjs/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
- package/dist/cjs/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
- package/dist/cjs/stories/tests/45-PivotTests.stories.d.ts +0 -8
- package/dist/cjs/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
- package/dist/cjs/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
- package/dist/cjs/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
- package/dist/cjs/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
- package/dist/cjs/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
- package/dist/cjs/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
- package/dist/cjs/stories/tests/testUtils.d.ts +0 -38
- package/dist/cjs/stories/utils.d.ts +0 -42
- package/dist/cjs/stories/vanillaStoryConfig.d.ts +0 -156
- package/dist/src/consts/column-constraints.d.ts +0 -58
- package/dist/src/consts/general-consts.d.ts +0 -32
- package/dist/src/core/SimpleTableVanilla.d.ts +0 -369
- package/dist/src/core/dom/DOMManager.d.ts +0 -52
- package/dist/src/core/initialization/TableInitializer.d.ts +0 -34
- package/dist/src/core/rendering/RenderOrchestrator.d.ts +0 -172
- package/dist/src/core/rendering/TableRenderer.d.ts +0 -120
- package/dist/src/hooks/expandedDepths.d.ts +0 -69
- package/dist/src/hooks/handleOutsideClick.d.ts +0 -50
- package/dist/src/hooks/previousValue.d.ts +0 -30
- package/dist/src/icons/AngleDownIcon.d.ts +0 -1
- package/dist/src/icons/AngleLeftIcon.d.ts +0 -1
- package/dist/src/icons/AngleRightIcon.d.ts +0 -1
- package/dist/src/icons/AngleUpIcon.d.ts +0 -1
- package/dist/src/icons/AscIcon.d.ts +0 -1
- package/dist/src/icons/CheckIcon.d.ts +0 -1
- package/dist/src/icons/DescIcon.d.ts +0 -1
- package/dist/src/icons/DragIcon.d.ts +0 -1
- package/dist/src/icons/FilterIcon.d.ts +0 -1
- package/dist/src/icons/SelectIcon.d.ts +0 -1
- package/dist/src/index.d.ts +0 -58
- package/dist/src/managers/AnimationCoordinator.d.ts +0 -356
- package/dist/src/managers/AutoScaleManager.d.ts +0 -33
- package/dist/src/managers/DimensionManager.d.ts +0 -84
- package/dist/src/managers/RowManager.d.ts +0 -56
- package/dist/src/managers/ScrollManager.d.ts +0 -38
- package/dist/src/managers/SelectionManager/mouseUtils.d.ts +0 -16
- package/dist/src/managers/TableManager.d.ts +0 -72
- package/dist/src/types/AnimationsConfig.d.ts +0 -16
- package/dist/src/types/Cell.d.ts +0 -7
- package/dist/src/types/CellChangeProps.d.ts +0 -9
- package/dist/src/types/CellClickProps.d.ts +0 -11
- package/dist/src/types/CellValue.d.ts +0 -2
- package/dist/src/types/FilterTypes.d.ts +0 -31
- package/dist/src/types/FooterPosition.d.ts +0 -3
- package/dist/src/types/GenerateRowIdParams.d.ts +0 -11
- package/dist/src/types/GetRowId.d.ts +0 -16
- package/dist/src/types/HandleResizeStartProps.d.ts +0 -25
- package/dist/src/types/HeaderDropdownProps.d.ts +0 -14
- package/dist/src/types/HeaderRendererProps.d.ts +0 -17
- package/dist/src/types/OnNextPage.d.ts +0 -2
- package/dist/src/types/OnRowGroupExpandProps.d.ts +0 -16
- package/dist/src/types/OnSortProps.d.ts +0 -3
- package/dist/src/types/PanelSection.d.ts +0 -1
- package/dist/src/types/Pinned.d.ts +0 -1
- package/dist/src/types/PivotTypes.d.ts +0 -37
- package/dist/src/types/QuickFilterTypes.d.ts +0 -21
- package/dist/src/types/Row.d.ts +0 -3
- package/dist/src/types/RowButton.d.ts +0 -6
- package/dist/src/types/RowId.d.ts +0 -1
- package/dist/src/types/RowSelectionChangeProps.d.ts +0 -7
- package/dist/src/types/RowState.d.ts +0 -12
- package/dist/src/types/RowStateRendererProps.d.ts +0 -18
- package/dist/src/types/SelectionType.d.ts +0 -7
- package/dist/src/types/SimpleTableConfig.d.ts +0 -124
- package/dist/src/types/SimpleTableProps.d.ts +0 -125
- package/dist/src/types/SortColumn.d.ts +0 -8
- package/dist/src/types/TableAPI.d.ts +0 -82
- package/dist/src/types/TableBodyProps.d.ts +0 -20
- package/dist/src/types/TableHeaderProps.d.ts +0 -17
- package/dist/src/types/TableHeaderSectionProps.d.ts +0 -19
- package/dist/src/types/Theme.d.ts +0 -2
- package/dist/src/utils/accordionAnimation.d.ts +0 -25
- package/dist/src/utils/bodyCell/content.d.ts +0 -5
- package/dist/src/utils/bodyCell/editing.d.ts +0 -4
- package/dist/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -2
- package/dist/src/utils/bodyCell/eventTracking.d.ts +0 -3
- package/dist/src/utils/bodyCell/expansion.d.ts +0 -12
- package/dist/src/utils/bodyCell/styling.d.ts +0 -11
- package/dist/src/utils/cellScrollUtils.d.ts +0 -10
- package/dist/src/utils/cellUtils.d.ts +0 -18
- package/dist/src/utils/charts/createBarChart.d.ts +0 -20
- package/dist/src/utils/charts/createLineAreaChart.d.ts +0 -25
- package/dist/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -23
- package/dist/src/utils/columnIndicesUtils.d.ts +0 -15
- package/dist/src/utils/csvExportUtils.d.ts +0 -14
- package/dist/src/utils/dateUtils.d.ts +0 -18
- package/dist/src/utils/filterUtils.d.ts +0 -5
- package/dist/src/utils/filters/createBooleanFilter.d.ts +0 -15
- package/dist/src/utils/filters/createCustomSelect.d.ts +0 -20
- package/dist/src/utils/filters/createDateFilter.d.ts +0 -15
- package/dist/src/utils/filters/createDatePicker.d.ts +0 -10
- package/dist/src/utils/filters/createDropdown.d.ts +0 -33
- package/dist/src/utils/filters/createEnumFilter.d.ts +0 -15
- package/dist/src/utils/filters/createFilterActions.d.ts +0 -12
- package/dist/src/utils/filters/createFilterInput.d.ts +0 -16
- package/dist/src/utils/filters/createStringFilter.d.ts +0 -15
- package/dist/src/utils/footer/createTableFooter.d.ts +0 -21
- package/dist/src/utils/formatters.d.ts +0 -3
- package/dist/src/utils/generalUtils.d.ts +0 -4
- package/dist/src/utils/headerCell/dragging.d.ts +0 -5
- package/dist/src/utils/headerCell/styling.d.ts +0 -7
- package/dist/src/utils/headerCellRenderer.d.ts +0 -4
- package/dist/src/utils/headerUtils.d.ts +0 -41
- package/dist/src/utils/infiniteScrollUtils.d.ts +0 -145
- package/dist/src/utils/loadingPlaceholderUtils.d.ts +0 -11
- package/dist/src/utils/pinnedColumnUtils.d.ts +0 -29
- package/dist/src/utils/pivot/pivotRows.d.ts +0 -16
- package/dist/src/utils/quickFilterUtils.d.ts +0 -14
- package/dist/src/utils/resizeUtils/compensation.d.ts +0 -17
- package/dist/src/utils/resizeUtils/index.d.ts +0 -26
- package/dist/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -11
- package/dist/src/utils/resizeUtils/sectionWidths.d.ts +0 -36
- package/dist/src/utils/rowProcessing.d.ts +0 -65
- package/dist/src/utils/rowSelectionUtils.d.ts +0 -62
- package/dist/src/utils/rowUtils.d.ts +0 -187
- package/dist/src/utils/sortUtils.d.ts +0 -8
- package/dist/src/utils/stateRowRenderer.d.ts +0 -15
- package/dist/stories/data/aggregate-data.d.ts +0 -5
- package/dist/stories/data/athlete-data.d.ts +0 -3
- package/dist/stories/data/retail-data.d.ts +0 -3
- package/dist/stories/data/saas-data.d.ts +0 -6
- package/dist/stories/data/space-data.d.ts +0 -3
- package/dist/stories/docs/Examples.stories.d.ts +0 -18
- package/dist/stories/docs/Features.stories.d.ts +0 -54
- package/dist/stories/docs/GettingStarted.stories.d.ts +0 -7
- package/dist/stories/docs/storyArgs.d.ts +0 -155
- package/dist/stories/examples/AdvancedSortingExample.d.ts +0 -6
- package/dist/stories/examples/AggregateExample.d.ts +0 -7
- package/dist/stories/examples/AlignmentExample.d.ts +0 -10
- package/dist/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
- package/dist/stories/examples/BasicExample.d.ts +0 -12
- package/dist/stories/examples/BasicRowGrouping.d.ts +0 -11
- package/dist/stories/examples/CSVExportFormattingExample.d.ts +0 -12
- package/dist/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
- package/dist/stories/examples/CellHighlighting.d.ts +0 -7
- package/dist/stories/examples/CellRenderer.d.ts +0 -7
- package/dist/stories/examples/ChartsExample.d.ts +0 -13
- package/dist/stories/examples/ClayExample.d.ts +0 -14
- package/dist/stories/examples/ClipboardFormattingExample.d.ts +0 -12
- package/dist/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
- package/dist/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
- package/dist/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
- package/dist/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
- package/dist/stories/examples/DynamicHeadersExample.d.ts +0 -5
- package/dist/stories/examples/DynamicNestedTableExample.d.ts +0 -7
- package/dist/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
- package/dist/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
- package/dist/stories/examples/EditableCells.d.ts +0 -8
- package/dist/stories/examples/ExpansionControlExample.d.ts +0 -6
- package/dist/stories/examples/ExternalFilterExample.d.ts +0 -5
- package/dist/stories/examples/ExternalSortExample.d.ts +0 -6
- package/dist/stories/examples/HeaderInclusionExample.d.ts +0 -5
- package/dist/stories/examples/HiddenColumnsExample.d.ts +0 -9
- package/dist/stories/examples/InfiniteScroll.d.ts +0 -5
- package/dist/stories/examples/LiveUpdates.d.ts +0 -5
- package/dist/stories/examples/LoadingStateExample.d.ts +0 -2
- package/dist/stories/examples/NestedAccessorExample.d.ts +0 -8
- package/dist/stories/examples/NestedGridExample.d.ts +0 -5
- package/dist/stories/examples/Pagination.d.ts +0 -12
- package/dist/stories/examples/PaginationAPIExample.d.ts +0 -8
- package/dist/stories/examples/PivotExample.d.ts +0 -16
- package/dist/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
- package/dist/stories/examples/ProgrammaticSortExample.d.ts +0 -5
- package/dist/stories/examples/QuickFilterExample.d.ts +0 -5
- package/dist/stories/examples/RadioStationsExample.d.ts +0 -3
- package/dist/stories/examples/RowButtonsExample.d.ts +0 -14
- package/dist/stories/examples/RowHeightExample.d.ts +0 -8
- package/dist/stories/examples/RowSelectionExample.d.ts +0 -11
- package/dist/stories/examples/SelectableCells.d.ts +0 -14
- package/dist/stories/examples/ServerSidePaginationExample.d.ts +0 -2
- package/dist/stories/examples/Theming.d.ts +0 -12
- package/dist/stories/examples/TooltipExample.d.ts +0 -8
- package/dist/stories/examples/WindowInfiniteScroll.d.ts +0 -3
- package/dist/stories/examples/billing-example/BillingExample.d.ts +0 -13
- package/dist/stories/examples/billing-example/billing-headers.d.ts +0 -5
- package/dist/stories/examples/crypto/CryptoExample.d.ts +0 -14
- package/dist/stories/examples/crypto/crypto-data.d.ts +0 -30
- package/dist/stories/examples/crypto/crypto-headers.d.ts +0 -5
- package/dist/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
- package/dist/stories/examples/filter-example/FilterExample.d.ts +0 -9
- package/dist/stories/examples/filter-example/filter-headers.d.ts +0 -5
- package/dist/stories/examples/finance-example/FinancialExample.d.ts +0 -8
- package/dist/stories/examples/finance-example/finance-headers.d.ts +0 -5
- package/dist/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
- package/dist/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
- package/dist/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
- package/dist/stories/examples/leads/LeadsExample.d.ts +0 -8
- package/dist/stories/examples/leads/leads-data.d.ts +0 -5
- package/dist/stories/examples/leads/leads-headers.d.ts +0 -6
- package/dist/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
- package/dist/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
- package/dist/stories/examples/music/MusicExample.d.ts +0 -13
- package/dist/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
- package/dist/stories/examples/music/music-headers.d.ts +0 -5
- package/dist/stories/examples/music/music-window.data.d.ts +0 -47
- package/dist/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
- package/dist/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
- package/dist/stories/examples/sales-example/SalesExample.d.ts +0 -14
- package/dist/stories/examples/sales-example/sales-headers.d.ts +0 -6
- package/dist/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
- package/dist/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
- package/dist/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
- package/dist/stories/tests/04-PaginationTests.stories.d.ts +0 -94
- package/dist/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
- package/dist/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
- package/dist/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
- package/dist/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
- package/dist/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
- package/dist/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
- package/dist/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
- package/dist/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
- package/dist/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
- package/dist/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
- package/dist/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
- package/dist/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
- package/dist/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
- package/dist/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
- package/dist/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
- package/dist/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
- package/dist/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
- package/dist/stories/tests/22-LoadingStateTests.stories.d.ts +0 -94
- package/dist/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
- package/dist/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
- package/dist/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
- package/dist/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
- package/dist/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
- package/dist/stories/tests/28-CellClickTests.stories.d.ts +0 -23
- package/dist/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
- package/dist/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
- package/dist/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
- package/dist/stories/tests/32-ThemesTests.stories.d.ts +0 -104
- package/dist/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
- package/dist/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
- package/dist/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
- package/dist/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
- package/dist/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
- package/dist/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
- package/dist/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
- package/dist/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
- package/dist/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
- package/dist/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
- package/dist/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
- package/dist/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
- package/dist/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
- package/dist/stories/tests/45-PivotTests.stories.d.ts +0 -8
- package/dist/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
- package/dist/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
- package/dist/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
- package/dist/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
- package/dist/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
- package/dist/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
- package/dist/stories/tests/testUtils.d.ts +0 -38
- package/dist/stories/utils.d.ts +0 -42
- package/dist/stories/vanillaStoryConfig.d.ts +0 -156
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import UpdateDataProps from "./UpdateCellProps";
|
|
2
|
-
import HeaderObject, { Accessor } from "./HeaderObject";
|
|
3
|
-
import TableRow from "./TableRow";
|
|
4
|
-
import Row from "./Row";
|
|
5
|
-
import SortColumn, { SortDirection } from "./SortColumn";
|
|
6
|
-
import { TableFilterState, FilterCondition } from "./FilterTypes";
|
|
7
|
-
import Cell from "./Cell";
|
|
8
|
-
import type { PinnedSectionsState } from "./PinnedSectionsState";
|
|
9
|
-
import type { PivotConfig } from "./PivotTypes";
|
|
10
|
-
export interface SetHeaderRenameProps {
|
|
11
|
-
accessor: Accessor;
|
|
12
|
-
}
|
|
13
|
-
export interface ExportToCSVProps {
|
|
14
|
-
filename?: string;
|
|
15
|
-
}
|
|
16
|
-
export type TableAPI = {
|
|
17
|
-
updateData: (props: UpdateDataProps) => void;
|
|
18
|
-
setHeaderRename: (props: SetHeaderRenameProps) => void;
|
|
19
|
-
getVisibleRows: () => TableRow[];
|
|
20
|
-
getAllRows: () => TableRow[];
|
|
21
|
-
getHeaders: () => HeaderObject[];
|
|
22
|
-
exportToCSV: (props?: ExportToCSVProps) => void;
|
|
23
|
-
getSortState: () => SortColumn | null;
|
|
24
|
-
applySortState: (props?: {
|
|
25
|
-
accessor: Accessor;
|
|
26
|
-
direction?: SortDirection;
|
|
27
|
-
}) => Promise<void>;
|
|
28
|
-
/** Ordered root accessors per pin section (left, main/unpinned, right) */
|
|
29
|
-
getPinnedState: () => PinnedSectionsState;
|
|
30
|
-
/** Reorder root columns and set pinned flags; lists must include every root accessor exactly once. Essential order is clamped per section. */
|
|
31
|
-
applyPinnedState: (state: PinnedSectionsState) => Promise<void>;
|
|
32
|
-
getFilterState: () => TableFilterState;
|
|
33
|
-
applyFilter: (filter: FilterCondition) => Promise<void>;
|
|
34
|
-
clearFilter: (accessor: Accessor) => Promise<void>;
|
|
35
|
-
clearAllFilters: () => Promise<void>;
|
|
36
|
-
getCurrentPage: () => number;
|
|
37
|
-
getTotalPages: () => number;
|
|
38
|
-
setPage: (page: number) => Promise<void>;
|
|
39
|
-
expandAll: () => void;
|
|
40
|
-
collapseAll: () => void;
|
|
41
|
-
expandDepth: (depth: number) => void;
|
|
42
|
-
collapseDepth: (depth: number) => void;
|
|
43
|
-
toggleDepth: (depth: number) => void;
|
|
44
|
-
setExpandedDepths: (depths: Set<number>) => void;
|
|
45
|
-
getExpandedDepths: () => Set<number>;
|
|
46
|
-
getGroupingProperty: (depth: number) => Accessor | undefined;
|
|
47
|
-
getGroupingDepth: (property: Accessor) => number;
|
|
48
|
-
toggleColumnEditor: (open?: boolean) => void;
|
|
49
|
-
applyColumnVisibility: (visibility: {
|
|
50
|
-
[accessor: string]: boolean;
|
|
51
|
-
}) => Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Reset columns to the configured definitions: default order, widths, and
|
|
54
|
-
* visibility. All columns become visible again except those explicitly
|
|
55
|
-
* defined with `hide: true` in `defaultHeaders`, regardless of any runtime
|
|
56
|
-
* visibility changes made since mount.
|
|
57
|
-
*/
|
|
58
|
-
resetColumns: () => void;
|
|
59
|
-
setQuickFilter: (text: string) => void;
|
|
60
|
-
getSelectedCells: () => Set<string>;
|
|
61
|
-
clearSelection: () => void;
|
|
62
|
-
selectCell: (cell: Cell) => void;
|
|
63
|
-
selectCellRange: (startCell: Cell, endCell: Cell) => void;
|
|
64
|
-
/** Selected row IDs when row selection is enabled. */
|
|
65
|
-
getSelectedRows: () => Set<string>;
|
|
66
|
-
/** Row data objects for currently selected rows (resolved from visible/current table rows). */
|
|
67
|
-
getSelectedRowsData: () => Row[];
|
|
68
|
-
/** Look up a row by its string row id in the current table rows. */
|
|
69
|
-
getRow: (rowId: string) => Row | undefined;
|
|
70
|
-
selectRow: (rowId: string) => void;
|
|
71
|
-
deselectRow: (rowId: string) => void;
|
|
72
|
-
toggleRowSelection: (rowId: string) => void;
|
|
73
|
-
/** Clears row selection only (does not clear cell selection). */
|
|
74
|
-
clearRowSelection: () => void;
|
|
75
|
-
/** Enable, update, or clear matrix pivot (`null` disables). */
|
|
76
|
-
setPivot: (config: PivotConfig | null) => void;
|
|
77
|
-
getPivot: () => PivotConfig | null;
|
|
78
|
-
/** Generated headers while pivot is active; otherwise current headers. */
|
|
79
|
-
getPivotHeaders: () => HeaderObject[];
|
|
80
|
-
/** Post-pivot rows (pre-flatten) while pivot is active; otherwise source rows. */
|
|
81
|
-
getPivotedRows: () => Row[];
|
|
82
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HeaderObject } from "..";
|
|
2
|
-
import TableRow from "./TableRow";
|
|
3
|
-
import { CumulativeHeightMap } from "../utils/infiniteScrollUtils";
|
|
4
|
-
interface TableBodyProps {
|
|
5
|
-
calculatedHeaderHeight: number;
|
|
6
|
-
heightMap?: CumulativeHeightMap;
|
|
7
|
-
partiallyVisibleRows: TableRow[];
|
|
8
|
-
pinnedLeftColumns: HeaderObject[];
|
|
9
|
-
pinnedLeftWidth: number;
|
|
10
|
-
pinnedRightColumns: HeaderObject[];
|
|
11
|
-
pinnedRightWidth: number;
|
|
12
|
-
regularRows: TableRow[];
|
|
13
|
-
rowsToRender: TableRow[];
|
|
14
|
-
setScrollDirection: (direction: "up" | "down" | "none") => void;
|
|
15
|
-
setScrollTop: (scrollTop: number) => void;
|
|
16
|
-
shouldShowEmptyState: boolean;
|
|
17
|
-
stickyParents: TableRow[];
|
|
18
|
-
tableRows: TableRow[];
|
|
19
|
-
}
|
|
20
|
-
export default TableBodyProps;
|
|
@@ -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,19 +0,0 @@
|
|
|
1
|
-
import { Pinned } from "./Pinned";
|
|
2
|
-
import SortColumn from "./SortColumn";
|
|
3
|
-
import { HeaderObject } from "..";
|
|
4
|
-
import { ColumnIndices } from "../utils/columnIndicesUtils";
|
|
5
|
-
interface TableHeaderSectionProps {
|
|
6
|
-
calculatedHeaderHeight: number;
|
|
7
|
-
columnIndices: ColumnIndices;
|
|
8
|
-
handleScroll?: (event: UIEvent) => void;
|
|
9
|
-
headers: HeaderObject[];
|
|
10
|
-
leftOffset?: number;
|
|
11
|
-
maxDepth: number;
|
|
12
|
-
pinned?: Pinned;
|
|
13
|
-
sectionRef: {
|
|
14
|
-
current: HTMLDivElement | null;
|
|
15
|
-
};
|
|
16
|
-
sort: SortColumn | null;
|
|
17
|
-
width?: number;
|
|
18
|
-
}
|
|
19
|
-
export default TableHeaderSectionProps;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Active axis for the in-flight accordion animation. Set on the render
|
|
3
|
-
* context for one render after a collapse/expand toggle so cell renderers
|
|
4
|
-
* know which dimension to fold/unfold.
|
|
5
|
-
*
|
|
6
|
-
* - `"vertical"` — row group expand/collapse: incoming cells start at
|
|
7
|
-
* `height: 0` and CSS-transition to `rowHeight`.
|
|
8
|
-
* - `"horizontal"` — nested column expand/collapse: incoming cells start at
|
|
9
|
-
* `width: 0` and CSS-transition to their final width.
|
|
10
|
-
* - `null` — no accordion animation in progress (sort, reorder,
|
|
11
|
-
* scroll, etc.).
|
|
12
|
-
*/
|
|
13
|
-
export type AccordionAxis = "vertical" | "horizontal" | null;
|
|
14
|
-
/** CSS class applied to the table root during the animation window. */
|
|
15
|
-
export declare const ACCORDION_ANIMATION_CLASS = "st-accordion-animating";
|
|
16
|
-
/** Custom property names consumed by the accordion CSS transitions. */
|
|
17
|
-
export declare const ACCORDION_DURATION_VAR = "--st-accordion-duration";
|
|
18
|
-
export declare const ACCORDION_EASING_VAR = "--st-accordion-easing";
|
|
19
|
-
/** Window after which the accordion CSS class is removed (ms past duration). */
|
|
20
|
-
export declare const ACCORDION_CLEANUP_BUFFER_MS = 80;
|
|
21
|
-
/**
|
|
22
|
-
* Detect `prefers-reduced-motion: reduce`. Returns `false` outside the
|
|
23
|
-
* browser (SSR) so the call site doesn't have to guard.
|
|
24
|
-
*/
|
|
25
|
-
export declare const accordionPrefersReducedMotion: () => boolean;
|
|
@@ -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,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, onHostDiscard?: ((host: HTMLElement) => void) | undefined) => void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRenderContext } from "./types";
|
|
2
|
-
export declare const createExpandIcon: (cell: AbsoluteBodyCell, context: CellRenderContext, isExpanded: boolean) => HTMLElement;
|
|
3
|
-
export type UpdateExpandIconStateOptions = {
|
|
4
|
-
/** aria-label when the group is expanded (chevron shows collapse action). */
|
|
5
|
-
ariaLabelWhenExpanded?: string;
|
|
6
|
-
/** aria-label when the group is collapsed (chevron shows expand action). */
|
|
7
|
-
ariaLabelWhenCollapsed?: string;
|
|
8
|
-
/** When true, sets aria-expanded to match isExpanded after the toggle. */
|
|
9
|
-
syncAriaExpanded?: boolean;
|
|
10
|
-
};
|
|
11
|
-
/** Update expand/collapse icon direction on an existing cell (e.g. after expand state changes for nested grids). */
|
|
12
|
-
export declare const updateExpandIconState: (cellElement: HTMLElement, isExpanded: boolean, options?: UpdateExpandIconStateOptions) => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AbsoluteBodyCell, CellRegistryEntry, CellRenderContext } from "./types";
|
|
2
|
-
import { CellLiveRef, cellLiveRefMap } from "./cellLiveRef";
|
|
3
|
-
export { cellLiveRefMap };
|
|
4
|
-
export type { CellLiveRef };
|
|
5
|
-
/** Drop the content memo so the next `updateBodyCellElement` rebuilds. */
|
|
6
|
-
export declare const invalidateBodyCellContentMemo: (cellElement: HTMLElement) => void;
|
|
7
|
-
export declare const untrackCellByRow: (rowId: string, cellElement: HTMLElement) => void;
|
|
8
|
-
export declare const unregisterCellFromRegistry: (cellElement: HTMLElement, cellRegistry?: Map<string, CellRegistryEntry>) => void;
|
|
9
|
-
export declare const createBodyCellElement: (cell: AbsoluteBodyCell, context: CellRenderContext) => HTMLElement;
|
|
10
|
-
export declare const updateBodyCellPosition: (cellElement: HTMLElement, cell: AbsoluteBodyCell) => void;
|
|
11
|
-
export declare const updateBodyCellElement: (cellElement: HTMLElement, cell: AbsoluteBodyCell, context: CellRenderContext) => void;
|
|
@@ -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;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import HeaderObject, { Accessor } from "../types/HeaderObject";
|
|
2
|
-
import { Pinned } from "../types/Pinned";
|
|
3
|
-
import { RowId } from "../types/RowId";
|
|
4
|
-
export declare const getCellId: ({ accessor, rowId }: {
|
|
5
|
-
accessor: Accessor;
|
|
6
|
-
rowId: RowId;
|
|
7
|
-
}) => string;
|
|
8
|
-
export declare const displayCell: ({ header, pinned, headers, collapsedHeaders, rootPinned, }: {
|
|
9
|
-
header: HeaderObject;
|
|
10
|
-
pinned?: Pinned | undefined;
|
|
11
|
-
headers?: HeaderObject[] | undefined;
|
|
12
|
-
collapsedHeaders?: Set<string> | undefined;
|
|
13
|
-
rootPinned?: Pinned | undefined;
|
|
14
|
-
}) => true | null;
|
|
15
|
-
export declare const getCellKey: ({ rowId, accessor }: {
|
|
16
|
-
rowId: RowId;
|
|
17
|
-
accessor: Accessor;
|
|
18
|
-
}) => string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface BarChartProps {
|
|
2
|
-
data: number[];
|
|
3
|
-
width?: number | string;
|
|
4
|
-
height?: number;
|
|
5
|
-
color?: string;
|
|
6
|
-
gap?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Renders a sparkline bar chart in pixel space: the viewBox always matches the
|
|
13
|
-
* actual rendered size (tracked via ResizeObserver), and bar edges are snapped
|
|
14
|
-
* to whole pixels so bars and gaps stay uniform and crisp at any column width.
|
|
15
|
-
*/
|
|
16
|
-
export declare const createBarChart: (options: BarChartProps) => {
|
|
17
|
-
element: SVGSVGElement;
|
|
18
|
-
update: (newOptions: Partial<BarChartProps>) => void;
|
|
19
|
-
destroy: () => void;
|
|
20
|
-
} | null;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface LineAreaChartProps {
|
|
2
|
-
data: number[];
|
|
3
|
-
width?: number | string;
|
|
4
|
-
height?: number;
|
|
5
|
-
color?: string;
|
|
6
|
-
fillColor?: string;
|
|
7
|
-
fillOpacity?: number;
|
|
8
|
-
strokeWidth?: number;
|
|
9
|
-
className?: string;
|
|
10
|
-
min?: number;
|
|
11
|
-
max?: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Renders a sparkline line/area chart in pixel space: the viewBox always
|
|
15
|
-
* matches the actual rendered size (tracked via ResizeObserver), so the stroke
|
|
16
|
-
* keeps a uniform width instead of being smeared by non-uniform scaling. The
|
|
17
|
-
* line is inset by half the stroke width so peaks and valleys aren't clipped,
|
|
18
|
-
* and the area is filled with a vertical gradient that fades toward the
|
|
19
|
-
* baseline.
|
|
20
|
-
*/
|
|
21
|
-
export declare const createLineAreaChart: (options: LineAreaChartProps) => {
|
|
22
|
-
element: SVGSVGElement;
|
|
23
|
-
update: (newOptions: Partial<LineAreaChartProps>) => void;
|
|
24
|
-
destroy: () => void;
|
|
25
|
-
} | null;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { ColumnEditorSearchFunction, ColumnEditorConfig } from "../../types/ColumnEditorConfig";
|
|
3
|
-
import { ColumnVisibilityState } from "../../types/ColumnVisibilityTypes";
|
|
4
|
-
import { IconsConfig } from "../../types/IconsConfig";
|
|
5
|
-
export interface CreateColumnEditorPopoutOptions {
|
|
6
|
-
headers: HeaderObject[];
|
|
7
|
-
open: boolean;
|
|
8
|
-
searchEnabled: boolean;
|
|
9
|
-
searchPlaceholder: string;
|
|
10
|
-
searchFunction?: ColumnEditorSearchFunction;
|
|
11
|
-
columnEditorConfig: ColumnEditorConfig;
|
|
12
|
-
icons?: IconsConfig;
|
|
13
|
-
essentialAccessors?: ReadonlySet<string>;
|
|
14
|
-
setHeaders: (headers: HeaderObject[]) => void;
|
|
15
|
-
onColumnVisibilityChange?: (state: ColumnVisibilityState) => void;
|
|
16
|
-
onColumnOrderChange?: (headers: HeaderObject[]) => void;
|
|
17
|
-
resetColumns?: () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare const createColumnEditorPopout: (initialOptions: CreateColumnEditorPopoutOptions) => {
|
|
20
|
-
element: HTMLDivElement;
|
|
21
|
-
update: (newOptions: Partial<CreateColumnEditorPopoutOptions>) => void;
|
|
22
|
-
destroy: () => void;
|
|
23
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HeaderObject, { Accessor } from "../types/HeaderObject";
|
|
2
|
-
export type ColumnIndices = Record<string, number>;
|
|
3
|
-
/**
|
|
4
|
-
* Calculates column indices for all headers to ensure consistent colIndex values
|
|
5
|
-
* This function is used in both TableBody and TableHeader components
|
|
6
|
-
*
|
|
7
|
-
* Note: In hierarchical headers, a parent header and its first child can share
|
|
8
|
-
* the same column index, which is needed for proper alignment in the grid.
|
|
9
|
-
*/
|
|
10
|
-
export declare function calculateColumnIndices({ headers, pinnedLeftColumns, pinnedRightColumns, collapsedHeaders, }: {
|
|
11
|
-
headers: HeaderObject[];
|
|
12
|
-
pinnedLeftColumns: HeaderObject[];
|
|
13
|
-
pinnedRightColumns: HeaderObject[];
|
|
14
|
-
collapsedHeaders?: Set<Accessor>;
|
|
15
|
-
}): ColumnIndices;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../types/HeaderObject";
|
|
2
|
-
import TableRow from "../types/TableRow";
|
|
3
|
-
/**
|
|
4
|
-
* Converts table data to CSV format
|
|
5
|
-
*/
|
|
6
|
-
export declare const convertToCSV: (visibleRows: TableRow[], headers: HeaderObject[], includeHeadersInCSVExport?: boolean) => string;
|
|
7
|
-
/**
|
|
8
|
-
* Triggers a download of the CSV file
|
|
9
|
-
*/
|
|
10
|
-
export declare const downloadCSV: (csvContent: string, filename?: string) => void;
|
|
11
|
-
/**
|
|
12
|
-
* Main export function that combines CSV conversion and download
|
|
13
|
-
*/
|
|
14
|
-
export declare const exportTableToCSV: (visibleRows: TableRow[], headers: HeaderObject[], filename?: string, includeHeadersInCSVExport?: boolean) => void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility functions for safe date handling to avoid timezone issues
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Safely parses a date string in YYYY-MM-DD format to a Date object at noon local time
|
|
6
|
-
* This prevents timezone edge cases where midnight UTC becomes the previous day in local time
|
|
7
|
-
*/
|
|
8
|
-
export declare const parseDateString: (dateString: string) => Date;
|
|
9
|
-
/**
|
|
10
|
-
* Normalizes a date to remove time component for accurate date-only comparison
|
|
11
|
-
* Creates the date at noon to avoid timezone edge cases
|
|
12
|
-
*/
|
|
13
|
-
export declare const normalizeDate: (date: Date) => Date;
|
|
14
|
-
/**
|
|
15
|
-
* Safely creates a Date object from various input types
|
|
16
|
-
* Always creates dates at noon local time to avoid timezone issues
|
|
17
|
-
*/
|
|
18
|
-
export declare const createSafeDate: (input: string | number | Date | null | undefined) => Date;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { FilterCondition } from "../../types/FilterTypes";
|
|
3
|
-
export interface CreateBooleanFilterOptions {
|
|
4
|
-
header: HeaderObject;
|
|
5
|
-
currentFilter?: FilterCondition;
|
|
6
|
-
onApplyFilter: (filter: FilterCondition) => void;
|
|
7
|
-
onClearFilter: () => void;
|
|
8
|
-
containerRef?: HTMLElement;
|
|
9
|
-
mainBodyRef?: HTMLElement;
|
|
10
|
-
}
|
|
11
|
-
export declare const createBooleanFilter: (options: CreateBooleanFilterOptions) => {
|
|
12
|
-
element: HTMLDivElement;
|
|
13
|
-
update: (newOptions: Partial<CreateBooleanFilterOptions>) => void;
|
|
14
|
-
destroy: () => void;
|
|
15
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface CustomSelectOption {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
}
|
|
5
|
-
export interface CreateCustomSelectOptions {
|
|
6
|
-
value: string;
|
|
7
|
-
onChange: (value: string) => void;
|
|
8
|
-
options: CustomSelectOption[];
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
containerRef?: HTMLElement;
|
|
13
|
-
mainBodyRef?: HTMLElement;
|
|
14
|
-
}
|
|
15
|
-
export declare const createCustomSelect: (options: CreateCustomSelectOptions) => {
|
|
16
|
-
element: HTMLDivElement;
|
|
17
|
-
update: (newOptions: Partial<CreateCustomSelectOptions>) => void;
|
|
18
|
-
destroy: () => void;
|
|
19
|
-
setOpen: (newOpen: boolean) => void;
|
|
20
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { FilterCondition } from "../../types/FilterTypes";
|
|
3
|
-
export interface CreateDateFilterOptions {
|
|
4
|
-
header: HeaderObject;
|
|
5
|
-
currentFilter?: FilterCondition;
|
|
6
|
-
onApplyFilter: (filter: FilterCondition) => void;
|
|
7
|
-
onClearFilter: () => void;
|
|
8
|
-
containerRef?: HTMLElement;
|
|
9
|
-
mainBodyRef?: HTMLElement;
|
|
10
|
-
}
|
|
11
|
-
export declare const createDateFilter: (options: CreateDateFilterOptions) => {
|
|
12
|
-
element: HTMLDivElement;
|
|
13
|
-
update: (newOptions: Partial<CreateDateFilterOptions>) => void;
|
|
14
|
-
destroy: () => void;
|
|
15
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface CreateDatePickerOptions {
|
|
2
|
-
onChange: (date: Date) => void;
|
|
3
|
-
onClose?: () => void;
|
|
4
|
-
value: Date;
|
|
5
|
-
}
|
|
6
|
-
export declare const createDatePicker: (options: CreateDatePickerOptions) => {
|
|
7
|
-
element: HTMLDivElement;
|
|
8
|
-
update: (newOptions: Partial<CreateDatePickerOptions>) => void;
|
|
9
|
-
destroy: () => void;
|
|
10
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Filter / filter-UI dropdown positioning (React-era parity):
|
|
3
|
-
* - Fixed: portaled under `.simple-table-root`, anchored to `anchorElement` (e.g. filter icon) so
|
|
4
|
-
* `overflow: hidden` on `.st-header-cell` does not clip the panel. Same top/left +4px and
|
|
5
|
-
* container-based flip as legacy React Dropdown.tsx.
|
|
6
|
-
* - Absolute: stays under caller’s parent (e.g. `.st-custom-select`); use `anchorElement` for the
|
|
7
|
-
* trigger rect vs `position: relative` parent (React CustomSelect pattern).
|
|
8
|
-
*/
|
|
9
|
-
export interface CreateDropdownOptions {
|
|
10
|
-
children: HTMLElement;
|
|
11
|
-
containerRef?: HTMLElement;
|
|
12
|
-
mainBodyRef?: HTMLElement;
|
|
13
|
-
/** Rect used for placement. Required for fixed portaling (e.g. filter icon); for absolute, pass the real trigger (button/input) when it differs from the dropdown parent. */
|
|
14
|
-
anchorElement?: HTMLElement;
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
open: boolean;
|
|
17
|
-
overflow?: "auto" | "visible" | "hidden";
|
|
18
|
-
width?: number;
|
|
19
|
-
maxWidth?: number;
|
|
20
|
-
positioning?: "fixed" | "absolute";
|
|
21
|
-
/**
|
|
22
|
-
* When true, this panel does not clip overflowing descendants (e.g. nested operator menus inside
|
|
23
|
-
* the filter popover). Uses overflow: visible and drops max-height on the shell — see
|
|
24
|
-
* `.st-dropdown-content--allow-descendant-overflow` in base.css.
|
|
25
|
-
*/
|
|
26
|
-
allowDescendantOverflow?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare const createDropdown: (options: CreateDropdownOptions) => {
|
|
29
|
-
element: HTMLDivElement;
|
|
30
|
-
update: (newOptions: Partial<CreateDropdownOptions>) => void;
|
|
31
|
-
destroy: () => void;
|
|
32
|
-
setOpen: (newOpen: boolean) => void;
|
|
33
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { FilterCondition } from "../../types/FilterTypes";
|
|
3
|
-
export interface CreateEnumFilterOptions {
|
|
4
|
-
header: HeaderObject;
|
|
5
|
-
currentFilter?: FilterCondition;
|
|
6
|
-
onApplyFilter: (filter: FilterCondition) => void;
|
|
7
|
-
onClearFilter: () => void;
|
|
8
|
-
containerRef?: HTMLElement;
|
|
9
|
-
mainBodyRef?: HTMLElement;
|
|
10
|
-
}
|
|
11
|
-
export declare const createEnumFilter: (options: CreateEnumFilterOptions) => {
|
|
12
|
-
element: HTMLDivElement;
|
|
13
|
-
update: (newOptions: Partial<CreateEnumFilterOptions>) => void;
|
|
14
|
-
destroy: () => void;
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface CreateFilterActionsOptions {
|
|
2
|
-
onApply: () => void;
|
|
3
|
-
onClear?: () => void;
|
|
4
|
-
canApply: boolean;
|
|
5
|
-
showClear: boolean;
|
|
6
|
-
}
|
|
7
|
-
/** Matches React FilterActions: `st-filter-button-apply`, `st-filter-button-clear`, `st-filter-button-disabled`. */
|
|
8
|
-
export declare const createFilterActions: (options: CreateFilterActionsOptions) => {
|
|
9
|
-
element: HTMLDivElement;
|
|
10
|
-
update: (newOptions: Partial<CreateFilterActionsOptions>) => void;
|
|
11
|
-
destroy: () => void;
|
|
12
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface CreateFilterInputOptions {
|
|
2
|
-
type?: "text" | "number" | "date";
|
|
3
|
-
value: string;
|
|
4
|
-
onChange: (value: string) => void;
|
|
5
|
-
onEnter?: () => void;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
autoFocus?: boolean;
|
|
8
|
-
min?: string;
|
|
9
|
-
max?: string;
|
|
10
|
-
step?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const createFilterInput: (options: CreateFilterInputOptions) => {
|
|
13
|
-
element: HTMLInputElement;
|
|
14
|
-
update: (newOptions: Partial<CreateFilterInputOptions>) => void;
|
|
15
|
-
destroy: () => void;
|
|
16
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { FilterCondition } from "../../types/FilterTypes";
|
|
3
|
-
export interface CreateStringFilterOptions {
|
|
4
|
-
header: HeaderObject;
|
|
5
|
-
currentFilter?: FilterCondition;
|
|
6
|
-
onApplyFilter: (filter: FilterCondition) => void;
|
|
7
|
-
onClearFilter: () => void;
|
|
8
|
-
containerRef?: HTMLElement;
|
|
9
|
-
mainBodyRef?: HTMLElement;
|
|
10
|
-
}
|
|
11
|
-
export declare const createStringFilter: (options: CreateStringFilterOptions) => {
|
|
12
|
-
element: HTMLDivElement;
|
|
13
|
-
update: (newOptions: Partial<CreateStringFilterOptions>) => void;
|
|
14
|
-
destroy: () => void;
|
|
15
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import OnNextPage from "../../types/OnNextPage";
|
|
2
|
-
export interface CreateTableFooterOptions {
|
|
3
|
-
currentPage: number;
|
|
4
|
-
hideFooter?: boolean;
|
|
5
|
-
onPageChange: (page: number) => void;
|
|
6
|
-
onNextPage?: OnNextPage;
|
|
7
|
-
onUserPageChange?: (page: number) => void | Promise<void>;
|
|
8
|
-
rowsPerPage: number;
|
|
9
|
-
shouldPaginate?: boolean;
|
|
10
|
-
totalPages: number;
|
|
11
|
-
totalRows: number;
|
|
12
|
-
/** Custom icon for previous page button (string = HTML, HTMLElement = node to clone/append). */
|
|
13
|
-
prevIcon?: string | HTMLElement | SVGSVGElement;
|
|
14
|
-
/** Custom icon for next page button. */
|
|
15
|
-
nextIcon?: string | HTMLElement | SVGSVGElement;
|
|
16
|
-
}
|
|
17
|
-
export declare const createTableFooter: (options: CreateTableFooterOptions) => {
|
|
18
|
-
element: HTMLDivElement;
|
|
19
|
-
update: (newOptions: Partial<CreateTableFooterOptions>) => void;
|
|
20
|
-
destroy: () => void;
|
|
21
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../../types/HeaderObject";
|
|
2
|
-
import { HeaderRenderContext } from "./types";
|
|
3
|
-
export declare const handleColumnHeaderClick: (event: MouseEvent, header: HeaderObject, colIndex: number, context: HeaderRenderContext) => void;
|
|
4
|
-
export declare const handleColumnHeaderDoubleClick: (event: MouseEvent, header: HeaderObject, context: HeaderRenderContext) => void;
|
|
5
|
-
export declare const attachDragHandlers: (labelElement: HTMLElement, cellElement: HTMLElement, header: HeaderObject, context: HeaderRenderContext) => void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AbsoluteCell, HeaderRenderContext } from "./types";
|
|
2
|
-
export declare const calculateHeaderCellClasses: (cell: AbsoluteCell, context: HeaderRenderContext) => string;
|
|
3
|
-
export declare const createHeaderCellElement: (cell: AbsoluteCell, context: HeaderRenderContext) => HTMLElement;
|
|
4
|
-
export declare const getLastHeaderIndex: (absoluteCells: AbsoluteCell[]) => number;
|
|
5
|
-
/** Replace sort/filter/collapse icons on an existing header cell, preserving label/drag handlers. */
|
|
6
|
-
export declare const refreshHeaderCellIcons: (cellElement: HTMLElement, header: AbsoluteCell["header"], context: HeaderRenderContext, colIndex: number) => void;
|
|
7
|
-
export declare const updateHeaderCellElement: (cellElement: HTMLElement, cell: AbsoluteCell, context: HeaderRenderContext) => void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AbsoluteCell, HeaderRenderContext } from "./headerCell/types";
|
|
2
|
-
export type { AbsoluteCell, HeaderRenderContext } from "./headerCell/types";
|
|
3
|
-
export { cleanupHeaderCellRendering } from "./headerCell/eventTracking";
|
|
4
|
-
export declare const renderHeaderCells: (container: HTMLElement, absoluteCells: AbsoluteCell[], context: HeaderRenderContext, scrollLeft?: number) => void;
|