@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,136 +0,0 @@
|
|
|
1
|
-
import TableRow from "../types/TableRow";
|
|
2
|
-
import Row from "../types/Row";
|
|
3
|
-
import HeaderObject, { Accessor } from "../types/HeaderObject";
|
|
4
|
-
import CellValue from "../types/CellValue";
|
|
5
|
-
import RowState from "../types/RowState";
|
|
6
|
-
import { CustomTheme } from "../types/CustomTheme";
|
|
7
|
-
import { GetRowId } from "../types/GetRowId";
|
|
8
|
-
import { GenerateRowIdParams } from "../types/GenerateRowIdParams";
|
|
9
|
-
/**
|
|
10
|
-
* Calculate the height of a nested grid based on the number of child rows
|
|
11
|
-
* @param childRowCount - Number of rows in the nested grid
|
|
12
|
-
* @param rowHeight - Height of each row
|
|
13
|
-
* @param headerHeight - Height of the header
|
|
14
|
-
* @param customTheme - Custom theme configuration
|
|
15
|
-
* @returns Calculated height in pixels (includes padding, borders, row separators, and header border)
|
|
16
|
-
*/
|
|
17
|
-
export declare const calculateNestedGridHeight: ({ childRowCount, rowHeight, headerHeight, customTheme, }: {
|
|
18
|
-
childRowCount: number;
|
|
19
|
-
rowHeight: number;
|
|
20
|
-
headerHeight: number;
|
|
21
|
-
customTheme: CustomTheme;
|
|
22
|
-
}) => number;
|
|
23
|
-
/**
|
|
24
|
-
* Calculate the final wrapper height for a nested grid, accounting for custom heights
|
|
25
|
-
*
|
|
26
|
-
* @param calculatedHeight - The default calculated height based on child rows
|
|
27
|
-
* @param customHeight - Optional custom height from nestedTable config (e.g., "200px" or 200)
|
|
28
|
-
* @param customTheme - Custom theme configuration for padding
|
|
29
|
-
* @returns Final height in pixels for the wrapper (includes padding)
|
|
30
|
-
*/
|
|
31
|
-
export declare const calculateFinalNestedGridHeight: ({ calculatedHeight, customHeight, customTheme, }: {
|
|
32
|
-
calculatedHeight: number;
|
|
33
|
-
customHeight?: string | number | undefined;
|
|
34
|
-
customTheme: CustomTheme;
|
|
35
|
-
}) => number;
|
|
36
|
-
/**
|
|
37
|
-
* Calculate the inner height for a nested SimpleTable component
|
|
38
|
-
* This accounts for the padding that's applied to the wrapper
|
|
39
|
-
*
|
|
40
|
-
* @param calculatedHeight - The total height of the nested grid row (from calculateNestedGridHeight)
|
|
41
|
-
* @param customHeight - Optional custom height from nestedTable config (e.g., "200px")
|
|
42
|
-
* @param customTheme - Custom theme configuration for padding
|
|
43
|
-
* @returns Height value to pass to the nested SimpleTable (string with units)
|
|
44
|
-
*/
|
|
45
|
-
export declare const calculateNestedTableHeight: ({ calculatedHeight, customHeight, customTheme, }: {
|
|
46
|
-
calculatedHeight: number;
|
|
47
|
-
customHeight?: string | number | undefined;
|
|
48
|
-
customTheme: CustomTheme;
|
|
49
|
-
}) => string;
|
|
50
|
-
/**
|
|
51
|
-
* Get a nested property value from an object using dot notation and array bracket notation
|
|
52
|
-
* Examples:
|
|
53
|
-
* getNestedValue(row, "latest.rank") returns row.latest.rank
|
|
54
|
-
* getNestedValue(row, "albums[0].title") returns row.albums[0].title
|
|
55
|
-
* getNestedValue(row, "releaseDate[0]") returns row.releaseDate[0]
|
|
56
|
-
*/
|
|
57
|
-
export declare const getNestedValue: (obj: Row, path: Accessor) => CellValue;
|
|
58
|
-
/**
|
|
59
|
-
* Set a nested property value in an object using dot notation and array bracket notation
|
|
60
|
-
* Examples:
|
|
61
|
-
* setNestedValue(row, "latest.rank", 5) sets row.latest.rank = 5
|
|
62
|
-
* setNestedValue(row, "albums[0].title", "New Album") sets row.albums[0].title = "New Album"
|
|
63
|
-
* setNestedValue(row, "releaseDate[0]", "2024") sets row.releaseDate[0] = "2024"
|
|
64
|
-
*/
|
|
65
|
-
export declare const setNestedValue: (obj: Row, path: Accessor, value: CellValue) => void;
|
|
66
|
-
/**
|
|
67
|
-
* Check if an array contains Row objects (vs primitive arrays like string[] or number[])
|
|
68
|
-
*/
|
|
69
|
-
export declare const isRowArray: (data: any) => data is Row[];
|
|
70
|
-
/**
|
|
71
|
-
* Generate the row ID array from index path and optional custom identifier.
|
|
72
|
-
*
|
|
73
|
-
* The row ID is always an array that includes:
|
|
74
|
-
* - The index at each level of nesting
|
|
75
|
-
* - The grouping key between levels (for readability)
|
|
76
|
-
* - An optional custom identifier from getRowId (appended at the end)
|
|
77
|
-
*
|
|
78
|
-
* Examples:
|
|
79
|
-
* - Root row (index 1): [1]
|
|
80
|
-
* - Nested store (parent index 1, store index 5): [1, "stores", 5]
|
|
81
|
-
* - With custom ID: [1, "stores", 5, "STORE-101"]
|
|
82
|
-
* - Deep nesting: [1, "stores", 5, "products", 2, "PROD-24"]
|
|
83
|
-
*
|
|
84
|
-
* @param params - Object containing row data, getRowId function, and metadata
|
|
85
|
-
* @returns An array representing the unique row ID path
|
|
86
|
-
*/
|
|
87
|
-
export declare const generateRowId: (params: GenerateRowIdParams) => (string | number)[];
|
|
88
|
-
/**
|
|
89
|
-
* Convert a row ID array to a string for use as Map keys, Set members, etc.
|
|
90
|
-
*
|
|
91
|
-
* @param rowId - Array of strings/numbers representing the row ID path
|
|
92
|
-
* @returns A string representation of the row ID
|
|
93
|
-
*/
|
|
94
|
-
export declare const rowIdToString: (rowId: (string | number)[]) => string;
|
|
95
|
-
/**
|
|
96
|
-
* Get nested rows from a row based on the grouping path
|
|
97
|
-
*/
|
|
98
|
-
export declare const getNestedRows: (row: Row, groupingKey: string) => Row[];
|
|
99
|
-
/**
|
|
100
|
-
* Check if a row has nested rows for a given grouping key
|
|
101
|
-
*/
|
|
102
|
-
export declare const hasNestedRows: (row: Row, groupingKey?: string) => boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Determine if a row is expanded based on expandedDepths and manual row overrides
|
|
105
|
-
* @param rowId - The ID of the row to check
|
|
106
|
-
* @param depth - The depth level of the row (0-indexed)
|
|
107
|
-
* @param expandedDepths - Set of depth levels that are expanded
|
|
108
|
-
* @param expandedRows - Map of row IDs to their depths for rows that user wants expanded
|
|
109
|
-
* @param collapsedRows - Map of row IDs to their depths for rows that user wants collapsed
|
|
110
|
-
* @returns true if the row is expanded, false otherwise
|
|
111
|
-
*/
|
|
112
|
-
export declare const isRowExpanded: (rowId: string | number, depth: number, expandedDepths: Set<number>, expandedRows: Map<string, number>, collapsedRows: Map<string, number>) => boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Flatten rows recursively based on row grouping configuration
|
|
115
|
-
* Now calculates ALL properties including position and isLastGroupRow
|
|
116
|
-
* Also injects special state rows for loading/error/empty states (only if renderers are available)
|
|
117
|
-
* Also injects nested grid rows when a header has nestedTable configuration
|
|
118
|
-
*/
|
|
119
|
-
export declare const flattenRowsWithGrouping: ({ depth, expandedDepths, expandedRows, collapsedRows, rowGrouping, getRowId, rows, displayPositionOffset, rowStateMap, hasLoadingRenderer, hasErrorRenderer, hasEmptyRenderer, headers, rowHeight, headerHeight, customTheme, }: {
|
|
120
|
-
depth?: number | undefined;
|
|
121
|
-
expandedDepths: Set<number>;
|
|
122
|
-
expandedRows: Map<string, number>;
|
|
123
|
-
collapsedRows: Map<string, number>;
|
|
124
|
-
rowGrouping?: string[] | undefined;
|
|
125
|
-
getRowId?: GetRowId | undefined;
|
|
126
|
-
rows: Row[];
|
|
127
|
-
displayPositionOffset?: number | undefined;
|
|
128
|
-
rowStateMap?: Map<string | number, RowState> | undefined;
|
|
129
|
-
hasLoadingRenderer?: boolean | undefined;
|
|
130
|
-
hasErrorRenderer?: boolean | undefined;
|
|
131
|
-
hasEmptyRenderer?: boolean | undefined;
|
|
132
|
-
headers?: HeaderObject[] | undefined;
|
|
133
|
-
rowHeight: number;
|
|
134
|
-
headerHeight: number;
|
|
135
|
-
customTheme: CustomTheme;
|
|
136
|
-
}) => TableRow[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import HeaderObject from "../types/HeaderObject";
|
|
2
|
-
import Row from "../types/Row";
|
|
3
|
-
import SortColumn from "../types/SortColumn";
|
|
4
|
-
export declare const handleSort: ({ headers, rows, sortColumn, }: {
|
|
5
|
-
headers: HeaderObject[];
|
|
6
|
-
rows: Row[];
|
|
7
|
-
sortColumn: SortColumn;
|
|
8
|
-
}) => Row[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type TableRowType from "../types/TableRow";
|
|
2
|
-
import { HeightOffsets } from "./infiniteScrollUtils";
|
|
3
|
-
import { CustomTheme } from "../types/CustomTheme";
|
|
4
|
-
import { LoadingStateRenderer, ErrorStateRenderer, EmptyStateRenderer } from "../types/RowStateRendererProps";
|
|
5
|
-
export interface StateRowRenderContext {
|
|
6
|
-
index: number;
|
|
7
|
-
rowHeight: number;
|
|
8
|
-
heightOffsets: HeightOffsets | undefined;
|
|
9
|
-
customTheme: CustomTheme;
|
|
10
|
-
loadingStateRenderer?: LoadingStateRenderer;
|
|
11
|
-
errorStateRenderer?: ErrorStateRenderer;
|
|
12
|
-
emptyStateRenderer?: EmptyStateRenderer;
|
|
13
|
-
}
|
|
14
|
-
export declare const createStateRow: (tableRow: TableRowType, context: StateRowRenderContext) => HTMLElement;
|
|
15
|
-
export declare const cleanupStateRow: (rowElement: HTMLElement) => void;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import TableRow from "../types/TableRow";
|
|
2
|
-
import HeaderObject from "../types/HeaderObject";
|
|
3
|
-
import { CumulativeHeightMap, HeightOffsets } from "./infiniteScrollUtils";
|
|
4
|
-
import type { SectionScrollController } from "../managers/SectionScrollController";
|
|
5
|
-
import { CustomTheme } from "../types/CustomTheme";
|
|
6
|
-
import { CellRenderContext } from "./bodyCell/types";
|
|
7
|
-
export interface StickyParentsContainerProps {
|
|
8
|
-
calculatedHeaderHeight: number;
|
|
9
|
-
heightMap?: CumulativeHeightMap;
|
|
10
|
-
partiallyVisibleRows: TableRow[];
|
|
11
|
-
pinnedLeftColumns: HeaderObject[];
|
|
12
|
-
pinnedLeftWidth: number;
|
|
13
|
-
pinnedRightColumns: HeaderObject[];
|
|
14
|
-
pinnedRightWidth: number;
|
|
15
|
-
scrollTop: number;
|
|
16
|
-
scrollbarWidth: number;
|
|
17
|
-
stickyParents: TableRow[];
|
|
18
|
-
}
|
|
19
|
-
export interface StickyParentsRenderContext {
|
|
20
|
-
collapsedHeaders: Set<string>;
|
|
21
|
-
customTheme: CustomTheme;
|
|
22
|
-
editColumns: boolean;
|
|
23
|
-
headers: HeaderObject[];
|
|
24
|
-
rowHeight: number;
|
|
25
|
-
heightOffsets: HeightOffsets | undefined;
|
|
26
|
-
cellRenderContext: CellRenderContext;
|
|
27
|
-
sectionScrollController?: SectionScrollController | null;
|
|
28
|
-
}
|
|
29
|
-
export declare const createStickyParentsContainer: (props: StickyParentsContainerProps, context: StickyParentsRenderContext) => HTMLElement | null;
|
|
30
|
-
export declare const cleanupStickyParentsContainer: (container: HTMLElement, sectionScrollController?: SectionScrollController | null) => void;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { SimpleTableSolidProps } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* SimpleTable — Solid.js adapter for simple-table-core.
|
|
4
|
-
*
|
|
5
|
-
* Accepts the same props as SimpleTableProps (the vanilla user-facing API) but
|
|
6
|
-
* with Solid component types for all renderer props.
|
|
7
|
-
*
|
|
8
|
-
* Pass a callback `ref` prop to receive the full TableAPI imperative interface:
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* let tableApi: TableAPI | undefined;
|
|
12
|
-
*
|
|
13
|
-
* <SimpleTable
|
|
14
|
-
* ref={(api) => (tableApi = api)}
|
|
15
|
-
* rows={rows()}
|
|
16
|
-
* defaultHeaders={headers}
|
|
17
|
-
* />
|
|
18
|
-
*/
|
|
19
|
-
export declare function SimpleTable(props: SimpleTableSolidProps): import("solid-js").JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { SimpleTable } from "./SimpleTable";
|
|
2
|
-
export type { SimpleTableSolidProps, TableInstance, SolidHeaderObject, SolidColumnEditorConfig, SolidIconsConfig, SolidIconElement, SolidCellRenderer, SolidHeaderRenderer, SolidFooterRenderer, SolidHeaderDropdown, SolidColumnEditorRowRenderer, SolidLoadingStateRenderer, SolidErrorStateRenderer, SolidEmptyStateRenderer, } from "./types";
|
|
3
|
-
export type { Accessor, AggregationConfig, AggregationType, BoundingBox, Cell, CellChangeProps, CellClickProps, CellRendererProps, CellValue, ChartOptions, ColumnEditorConfig, ColumnEditorRowRenderer, ColumnEditorRowRendererComponents, ColumnEditorRowRendererProps, ColumnEditorSearchFunction, ColumnType, ColumnVisibilityState, Comparator, ComparatorProps, CustomTheme, CustomThemeProps, DragHandlerProps, EmptyStateRenderer, EmptyStateRendererProps, EnumOption, ErrorStateRenderer, ErrorStateRendererProps, ExportToCSVProps, ExportValueGetter, ExportValueProps, FilterCondition, FooterRendererProps, GetRowId, GetRowIdParams, HeaderDropdown, HeaderDropdownProps, HeaderObject, HeaderRenderer, HeaderRendererComponents, HeaderRendererProps, IconsConfig, LoadingStateRenderer, LoadingStateRendererProps, OnRowGroupExpandProps, OnSortProps, QuickFilterConfig, QuickFilterGetter, QuickFilterGetterProps, QuickFilterMode, Row, RowButtonProps, RowId, RowSelectionChangeProps, RowState, SetHeaderRenameProps, SharedTableProps, ShowWhen, SimpleTableConfig, SimpleTableProps, SortColumn, TableAPI, TableFilterState, TableHeaderProps, TableRowProps, Theme, UpdateDataProps, ValueFormatter, ValueFormatterProps, ValueGetter, ValueGetterProps, } from "simple-table-core";
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { Component, JSX } from "solid-js";
|
|
2
|
-
import type { SimpleTableProps, SimpleTableConfig, HeaderObject, TableAPI, CellRendererProps, HeaderRendererProps, FooterRendererProps, LoadingStateRendererProps, ErrorStateRendererProps, EmptyStateRendererProps, HeaderDropdownProps, ColumnEditorRowRendererProps, ColumnEditorConfig } from "simple-table-core";
|
|
3
|
-
export interface TableInstance {
|
|
4
|
-
mount(): void;
|
|
5
|
-
update(config: Partial<SimpleTableConfig>): void;
|
|
6
|
-
destroy(): void;
|
|
7
|
-
getAPI(): TableAPI;
|
|
8
|
-
}
|
|
9
|
-
export type SolidIconElement = JSX.Element;
|
|
10
|
-
export interface SolidIconsConfig {
|
|
11
|
-
drag?: SolidIconElement;
|
|
12
|
-
expand?: SolidIconElement;
|
|
13
|
-
filter?: SolidIconElement;
|
|
14
|
-
headerCollapse?: SolidIconElement;
|
|
15
|
-
headerExpand?: SolidIconElement;
|
|
16
|
-
next?: SolidIconElement;
|
|
17
|
-
prev?: SolidIconElement;
|
|
18
|
-
sortDown?: SolidIconElement;
|
|
19
|
-
sortUp?: SolidIconElement;
|
|
20
|
-
pinnedLeftIcon?: SolidIconElement;
|
|
21
|
-
pinnedRightIcon?: SolidIconElement;
|
|
22
|
-
}
|
|
23
|
-
export type SolidCellRenderer = Component<CellRendererProps>;
|
|
24
|
-
export type SolidHeaderRenderer = Component<HeaderRendererProps>;
|
|
25
|
-
export type SolidFooterRenderer = Component<FooterRendererProps>;
|
|
26
|
-
export type SolidHeaderDropdown = Component<HeaderDropdownProps>;
|
|
27
|
-
export type SolidColumnEditorRowRenderer = Component<ColumnEditorRowRendererProps>;
|
|
28
|
-
export type SolidLoadingStateRenderer = Component<LoadingStateRendererProps> | JSX.Element;
|
|
29
|
-
export type SolidErrorStateRenderer = Component<ErrorStateRendererProps> | JSX.Element;
|
|
30
|
-
export type SolidEmptyStateRenderer = Component<EmptyStateRendererProps> | JSX.Element;
|
|
31
|
-
export interface SolidColumnEditorConfig extends Omit<ColumnEditorConfig, "rowRenderer"> {
|
|
32
|
-
rowRenderer?: SolidColumnEditorRowRenderer;
|
|
33
|
-
}
|
|
34
|
-
export interface SolidHeaderObject extends Omit<HeaderObject, "cellRenderer" | "headerRenderer" | "children" | "nestedTable"> {
|
|
35
|
-
cellRenderer?: SolidCellRenderer;
|
|
36
|
-
headerRenderer?: SolidHeaderRenderer;
|
|
37
|
-
children?: SolidHeaderObject[];
|
|
38
|
-
nestedTable?: Omit<SimpleTableSolidProps, "rows">;
|
|
39
|
-
}
|
|
40
|
-
export interface SimpleTableSolidProps extends Omit<SimpleTableProps, "tableRef" | "allowAnimations" | "expandIcon" | "filterIcon" | "headerCollapseIcon" | "headerExpandIcon" | "nextIcon" | "prevIcon" | "sortDownIcon" | "sortUpIcon" | "columnEditorText" | "defaultHeaders" | "footerRenderer" | "emptyStateRenderer" | "errorStateRenderer" | "loadingStateRenderer" | "tableEmptyStateRenderer" | "headerDropdown" | "columnEditorConfig" | "icons"> {
|
|
41
|
-
defaultHeaders: SolidHeaderObject[];
|
|
42
|
-
footerRenderer?: SolidFooterRenderer;
|
|
43
|
-
loadingStateRenderer?: SolidLoadingStateRenderer;
|
|
44
|
-
errorStateRenderer?: SolidErrorStateRenderer;
|
|
45
|
-
emptyStateRenderer?: SolidEmptyStateRenderer;
|
|
46
|
-
tableEmptyStateRenderer?: JSX.Element;
|
|
47
|
-
headerDropdown?: SolidHeaderDropdown;
|
|
48
|
-
columnEditorConfig?: SolidColumnEditorConfig;
|
|
49
|
-
icons?: SolidIconsConfig;
|
|
50
|
-
/** Callback ref — receives the TableAPI once the table is mounted. */
|
|
51
|
-
ref?: (api: TableAPI) => void;
|
|
52
|
-
}
|
|
53
|
-
export type { CellRendererProps, HeaderRendererProps, FooterRendererProps, LoadingStateRendererProps, ErrorStateRendererProps, EmptyStateRendererProps, HeaderDropdownProps, ColumnEditorRowRendererProps, };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Component } from "solid-js";
|
|
2
|
-
/**
|
|
3
|
-
* Wraps a Solid component into a function that returns an HTMLElement, matching
|
|
4
|
-
* the vanilla renderer contract expected by simple-table-core.
|
|
5
|
-
*
|
|
6
|
-
* Solid's render() is synchronous, so no flushSync equivalent is needed.
|
|
7
|
-
*/
|
|
8
|
-
export declare function wrapSolidRenderer<P extends object>(component: Component<P>): (props: P) => HTMLElement;
|
|
9
|
-
/**
|
|
10
|
-
* Renders a static Solid JSX node (already evaluated) into an HTMLElement.
|
|
11
|
-
* Used for props like tableEmptyStateRenderer that are not called with arguments.
|
|
12
|
-
*/
|
|
13
|
-
export declare function wrapSolidNode(node: any): HTMLElement;
|
|
14
|
-
/**
|
|
15
|
-
* Converts a Solid node to an HTML string.
|
|
16
|
-
* Used for icon props where vanilla expects string | HTMLElement | SVGSVGElement.
|
|
17
|
-
*/
|
|
18
|
-
export declare function solidNodeToHtmlString(node: any): string;
|
|
19
|
-
/** Returns true if the value is a Solid component (a function). */
|
|
20
|
-
export declare function isSolidComponent(value: unknown): value is Component<any>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|