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.
Files changed (656) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/{cjs/src/consts → consts}/column-constraints.d.ts +58 -58
  3. package/dist/{cjs/src/consts → consts}/general-consts.d.ts +32 -32
  4. package/dist/{cjs/src/core → core}/SimpleTableVanilla.d.ts +370 -369
  5. package/dist/{src/core → core}/api/TableAPIImpl.d.ts +78 -78
  6. package/dist/{cjs/src/core → core}/dom/DOMManager.d.ts +52 -52
  7. package/dist/{cjs/src/core → core}/initialization/TableInitializer.d.ts +34 -34
  8. package/dist/{cjs/src/core → core}/rendering/RenderOrchestrator.d.ts +174 -172
  9. package/dist/{src/core → core}/rendering/SectionRenderer.d.ts +119 -119
  10. package/dist/{cjs/src/core → core}/rendering/TableRenderer.d.ts +126 -120
  11. package/dist/{src/hooks → hooks}/ariaAnnouncements.d.ts +37 -37
  12. package/dist/{src/hooks → hooks}/contentHeight.d.ts +29 -29
  13. package/dist/{cjs/src/hooks → hooks}/expandedDepths.d.ts +69 -69
  14. package/dist/{cjs/src/hooks → hooks}/handleOutsideClick.d.ts +50 -50
  15. package/dist/{cjs/src/hooks → hooks}/previousValue.d.ts +30 -30
  16. package/dist/{src/hooks → hooks}/scrollbarVisibility.d.ts +65 -65
  17. package/dist/{src/hooks → hooks}/scrollbarWidth.d.ts +52 -52
  18. package/dist/{src/hooks → hooks}/useAggregatedRows.d.ts +14 -14
  19. package/dist/{src/hooks → hooks}/useQuickFilter.d.ts +14 -14
  20. package/dist/{src/hooks → hooks}/windowResize.d.ts +31 -31
  21. package/dist/{cjs/src/icons → icons}/AngleDownIcon.d.ts +1 -1
  22. package/dist/{cjs/src/icons → icons}/AngleLeftIcon.d.ts +1 -1
  23. package/dist/{cjs/src/icons → icons}/AngleRightIcon.d.ts +1 -1
  24. package/dist/{cjs/src/icons → icons}/AngleUpIcon.d.ts +1 -1
  25. package/dist/{cjs/src/icons → icons}/AscIcon.d.ts +1 -1
  26. package/dist/{cjs/src/icons → icons}/CheckIcon.d.ts +1 -1
  27. package/dist/{cjs/src/icons → icons}/DescIcon.d.ts +1 -1
  28. package/dist/{cjs/src/icons → icons}/DragIcon.d.ts +1 -1
  29. package/dist/{cjs/src/icons → icons}/FilterIcon.d.ts +1 -1
  30. package/dist/{cjs/src/icons → icons}/SelectIcon.d.ts +1 -1
  31. package/dist/{src/icons → icons}/index.d.ts +14 -14
  32. package/dist/{cjs/src/index.d.ts → index.d.ts} +56 -58
  33. package/dist/index.es.js +1 -1
  34. package/dist/{cjs/src/managers → managers}/AnimationCoordinator.d.ts +356 -356
  35. package/dist/{cjs/src/managers → managers}/AutoScaleManager.d.ts +33 -33
  36. package/dist/{src/managers → managers}/ColumnManager.d.ts +42 -42
  37. package/dist/{cjs/src/managers → managers}/DimensionManager.d.ts +84 -84
  38. package/dist/{src/managers → managers}/DragHandlerManager.d.ts +44 -44
  39. package/dist/{src/managers → managers}/FilterManager.d.ts +36 -36
  40. package/dist/{src/managers → managers}/PivotManager.d.ts +35 -35
  41. package/dist/{cjs/src/managers → managers}/RowManager.d.ts +56 -56
  42. package/dist/{src/managers → managers}/RowSelectionManager.d.ts +72 -72
  43. package/dist/{cjs/src/managers → managers}/ScrollManager.d.ts +38 -38
  44. package/dist/{src/managers → managers}/SectionScrollController.d.ts +74 -74
  45. package/dist/{src/managers → managers}/SelectionManager/SelectionManager.d.ts +251 -251
  46. package/dist/{src/managers → managers}/SelectionManager/index.d.ts +2 -2
  47. package/dist/{src/managers → managers}/SelectionManager/keyboardUtils.d.ts +7 -7
  48. package/dist/{cjs/src/managers → managers}/SelectionManager/mouseUtils.d.ts +16 -16
  49. package/dist/{src/managers → managers}/SelectionManager/selectionRangeUtils.d.ts +7 -7
  50. package/dist/{src/managers → managers}/SelectionManager/types.d.ts +28 -28
  51. package/dist/{src/managers → managers}/SortManager.d.ts +42 -42
  52. package/dist/{cjs/src/managers → managers}/TableManager.d.ts +72 -72
  53. package/dist/{src/types → types}/AggregationTypes.d.ts +8 -8
  54. package/dist/{cjs/src/types → types}/AnimationsConfig.d.ts +16 -16
  55. package/dist/{src/types → types}/BoundingBox.d.ts +11 -11
  56. package/dist/{cjs/src/types → types}/Cell.d.ts +7 -7
  57. package/dist/{cjs/src/types → types}/CellChangeProps.d.ts +9 -9
  58. package/dist/{cjs/src/types → types}/CellClickProps.d.ts +11 -11
  59. package/dist/{src/types → types}/CellRendererProps.d.ts +32 -32
  60. package/dist/{cjs/src/types → types}/CellValue.d.ts +2 -2
  61. package/dist/{src/types → types}/ColumnEditorConfig.d.ts +42 -42
  62. package/dist/{src/types → types}/ColumnEditorCustomRendererProps.d.ts +14 -14
  63. package/dist/{src/types → types}/ColumnEditorRowRendererProps.d.ts +39 -39
  64. package/dist/{src/types → types}/ColumnVisibilityTypes.d.ts +4 -4
  65. package/dist/{src/types → types}/CustomTheme.d.ts +28 -28
  66. package/dist/{src/types → types}/DragHandlerProps.d.ts +14 -14
  67. package/dist/{src/types → types}/EnumOption.d.ts +5 -5
  68. package/dist/{cjs/src/types → types}/FilterTypes.d.ts +31 -31
  69. package/dist/{src/types → types}/FlattenedHeader.d.ts +10 -10
  70. package/dist/{cjs/src/types → types}/FooterPosition.d.ts +3 -3
  71. package/dist/{src/types → types}/FooterRendererProps.d.ts +17 -17
  72. package/dist/{cjs/src/types → types}/GenerateRowIdParams.d.ts +11 -11
  73. package/dist/{cjs/src/types → types}/GetRowId.d.ts +16 -16
  74. package/dist/{cjs/src/types → types}/HandleResizeStartProps.d.ts +25 -25
  75. package/dist/{cjs/src/types → types}/HeaderDropdownProps.d.ts +14 -14
  76. package/dist/{src/types → types}/HeaderObject.d.ts +152 -133
  77. package/dist/{cjs/src/types → types}/HeaderRendererProps.d.ts +17 -17
  78. package/dist/{src/types → types}/IconsConfig.d.ts +19 -19
  79. package/dist/{cjs/src/types → types}/OnNextPage.d.ts +2 -2
  80. package/dist/{cjs/src/types → types}/OnRowGroupExpandProps.d.ts +16 -16
  81. package/dist/{cjs/src/types → types}/OnSortProps.d.ts +3 -3
  82. package/dist/{cjs/src/types → types}/PanelSection.d.ts +1 -1
  83. package/dist/{cjs/src/types → types}/Pinned.d.ts +1 -1
  84. package/dist/{src/types → types}/PinnedSectionsState.d.ts +6 -6
  85. package/dist/{cjs/src/types → types}/PivotTypes.d.ts +37 -37
  86. package/dist/{cjs/src/types → types}/QuickFilterTypes.d.ts +21 -21
  87. package/dist/{cjs/src/types → types}/Row.d.ts +3 -3
  88. package/dist/{cjs/src/types → types}/RowButton.d.ts +6 -6
  89. package/dist/{cjs/src/types → types}/RowId.d.ts +1 -1
  90. package/dist/{cjs/src/types → types}/RowSelectionChangeProps.d.ts +7 -7
  91. package/dist/{src/types → types}/RowSelectionMode.d.ts +8 -8
  92. package/dist/{cjs/src/types → types}/RowState.d.ts +12 -12
  93. package/dist/{cjs/src/types → types}/RowStateRendererProps.d.ts +18 -18
  94. package/dist/{src/types → types}/SharedTableProps.d.ts +24 -24
  95. package/dist/{cjs/src/types → types}/SimpleTableConfig.d.ts +135 -124
  96. package/dist/{cjs/src/types → types}/SimpleTableProps.d.ts +182 -125
  97. package/dist/{cjs/src/types → types}/SortColumn.d.ts +8 -8
  98. package/dist/{cjs/src/types → types}/TableAPI.d.ts +85 -82
  99. package/dist/{cjs/src/types → types}/TableBodyProps.d.ts +20 -20
  100. package/dist/{cjs/src/types → types}/TableHeaderProps.d.ts +17 -17
  101. package/dist/{cjs/src/types → types}/TableHeaderSectionProps.d.ts +19 -19
  102. package/dist/{src/types → types}/TableRow.d.ts +39 -39
  103. package/dist/{src/types → types}/TableRowProps.d.ts +29 -29
  104. package/dist/{cjs/src/types → types}/Theme.d.ts +2 -2
  105. package/dist/{src/types → types}/UpdateCellProps.d.ts +8 -8
  106. package/dist/{cjs/src/utils → utils}/accordionAnimation.d.ts +25 -25
  107. package/dist/{src/utils → utils}/aggregationUtils.d.ts +7 -7
  108. package/dist/{src/utils → utils}/ariaRowOwnership.d.ts +37 -37
  109. package/dist/{src/utils → utils}/asRows.d.ts +7 -7
  110. package/dist/{src/utils → utils}/bodyCell/cellLiveRef.d.ts +9 -9
  111. package/dist/{cjs/src/utils → utils}/bodyCell/content.d.ts +5 -5
  112. package/dist/{cjs/src/utils → utils}/bodyCell/editing.d.ts +4 -4
  113. package/dist/{src/utils → utils}/bodyCell/editors/booleanDropdown.d.ts +2 -2
  114. package/dist/{src/utils → utils}/bodyCell/editors/datePicker.d.ts +2 -2
  115. package/dist/{src/utils → utils}/bodyCell/editors/dropdown.d.ts +18 -18
  116. package/dist/{cjs/src/utils → utils}/bodyCell/editors/enumDropdown.d.ts +2 -2
  117. package/dist/{cjs/src/utils → utils}/bodyCell/eventTracking.d.ts +3 -3
  118. package/dist/{cjs/src/utils → utils}/bodyCell/expansion.d.ts +12 -12
  119. package/dist/{src/utils → utils}/bodyCell/selection.d.ts +7 -7
  120. package/dist/{cjs/src/utils → utils}/bodyCell/styling.d.ts +11 -11
  121. package/dist/{src/utils → utils}/bodyCell/types.d.ts +170 -170
  122. package/dist/{src/utils → utils}/bodyCellRenderer.d.ts +6 -6
  123. package/dist/{src/utils → utils}/cellClipboardUtils.d.ts +25 -25
  124. package/dist/{cjs/src/utils → utils}/cellScrollUtils.d.ts +10 -10
  125. package/dist/{cjs/src/utils → utils}/cellUtils.d.ts +19 -18
  126. package/dist/{cjs/src/utils → utils}/charts/createBarChart.d.ts +20 -20
  127. package/dist/{cjs/src/utils → utils}/charts/createLineAreaChart.d.ts +25 -25
  128. package/dist/{src/utils → utils}/collapseUtils.d.ts +32 -31
  129. package/dist/{src/utils → utils}/columnEditor/columnEditorUtils.d.ts +27 -27
  130. package/dist/{src/utils → utils}/columnEditor/createCheckbox.d.ts +21 -21
  131. package/dist/{src/utils → utils}/columnEditor/createColumnEditor.d.ts +26 -26
  132. package/dist/{cjs/src/utils → utils}/columnEditor/createColumnEditorPopout.d.ts +23 -23
  133. package/dist/{src/utils → utils}/columnEditor/createColumnEditorRow.d.ts +41 -41
  134. package/dist/{cjs/src/utils → utils}/columnIndicesUtils.d.ts +15 -15
  135. package/dist/{src/utils → utils}/columnVirtualizationUtils.d.ts +128 -128
  136. package/dist/{cjs/src/utils → utils}/csvExportUtils.d.ts +14 -14
  137. package/dist/{cjs/src/utils → utils}/dateUtils.d.ts +18 -18
  138. package/dist/{src/utils → utils}/externalScroll.d.ts +58 -58
  139. package/dist/{cjs/src/utils → utils}/filterUtils.d.ts +5 -5
  140. package/dist/{cjs/src/utils → utils}/filters/createBooleanFilter.d.ts +15 -15
  141. package/dist/{cjs/src/utils → utils}/filters/createCustomSelect.d.ts +20 -20
  142. package/dist/{cjs/src/utils → utils}/filters/createDateFilter.d.ts +15 -15
  143. package/dist/{cjs/src/utils → utils}/filters/createDatePicker.d.ts +10 -10
  144. package/dist/{cjs/src/utils → utils}/filters/createDropdown.d.ts +33 -33
  145. package/dist/{cjs/src/utils → utils}/filters/createEnumFilter.d.ts +15 -15
  146. package/dist/{cjs/src/utils → utils}/filters/createFilterActions.d.ts +12 -12
  147. package/dist/{src/utils → utils}/filters/createFilterDropdown.d.ts +15 -15
  148. package/dist/{cjs/src/utils → utils}/filters/createFilterInput.d.ts +16 -16
  149. package/dist/{src/utils → utils}/filters/createNumberFilter.d.ts +15 -15
  150. package/dist/{cjs/src/utils → utils}/filters/createStringFilter.d.ts +15 -15
  151. package/dist/{cjs/src/utils → utils}/footer/createTableFooter.d.ts +21 -21
  152. package/dist/{cjs/src/utils → utils}/formatters.d.ts +3 -3
  153. package/dist/{cjs/src/utils → utils}/generalUtils.d.ts +4 -4
  154. package/dist/{src/utils → utils}/headerCell/collapsing.d.ts +6 -6
  155. package/dist/{cjs/src/utils → utils}/headerCell/dragging.d.ts +5 -5
  156. package/dist/{src/utils → utils}/headerCell/editing.d.ts +4 -4
  157. package/dist/{src/utils → utils}/headerCell/eventTracking.d.ts +28 -28
  158. package/dist/{src/utils → utils}/headerCell/filtering.d.ts +3 -3
  159. package/dist/{src/utils → utils}/headerCell/resizing.d.ts +3 -3
  160. package/dist/{src/utils → utils}/headerCell/selection.d.ts +10 -10
  161. package/dist/{src/utils → utils}/headerCell/sorting.d.ts +3 -3
  162. package/dist/{cjs/src/utils → utils}/headerCell/styling.d.ts +7 -7
  163. package/dist/{src/utils → utils}/headerCell/types.d.ts +110 -110
  164. package/dist/{cjs/src/utils → utils}/headerCellRenderer.d.ts +4 -4
  165. package/dist/utils/headerLayoutUtils.d.ts +9 -0
  166. package/dist/{cjs/src/utils → utils}/headerUtils.d.ts +41 -41
  167. package/dist/{src/utils → utils}/headerWidthUtils.d.ts +121 -121
  168. package/dist/{src/utils → utils}/horizontalScrollbarRenderer.d.ts +27 -27
  169. package/dist/{cjs/src/utils → utils}/infiniteScrollUtils.d.ts +145 -145
  170. package/dist/{cjs/src/utils → utils}/loadingPlaceholderUtils.d.ts +11 -11
  171. package/dist/{src/utils → utils}/nestedGridRowRenderer.d.ts +50 -50
  172. package/dist/utils/normalizeConfig.d.ts +62 -0
  173. package/dist/{cjs/src/utils → utils}/pinnedColumnUtils.d.ts +29 -29
  174. package/dist/{cjs/src/utils → utils}/pivot/pivotRows.d.ts +16 -16
  175. package/dist/{src/utils → utils}/propSyncEqual.d.ts +60 -60
  176. package/dist/{cjs/src/utils → utils}/quickFilterUtils.d.ts +14 -14
  177. package/dist/{src/utils → utils}/resizeUtils/autoExpandResize.d.ts +32 -32
  178. package/dist/{cjs/src/utils → utils}/resizeUtils/compensation.d.ts +17 -17
  179. package/dist/{src/utils → utils}/resizeUtils/domUpdates.d.ts +15 -15
  180. package/dist/{cjs/src/utils → utils}/resizeUtils/index.d.ts +26 -26
  181. package/dist/{src/utils → utils}/resizeUtils/maxWidth.d.ts +9 -9
  182. package/dist/{cjs/src/utils → utils}/resizeUtils/parentHeaderResize.d.ts +11 -11
  183. package/dist/{cjs/src/utils → utils}/resizeUtils/sectionWidths.d.ts +36 -36
  184. package/dist/{src/utils → utils}/rowFlattening.d.ts +30 -30
  185. package/dist/{cjs/src/utils → utils}/rowProcessing.d.ts +65 -65
  186. package/dist/{cjs/src/utils → utils}/rowSelectionUtils.d.ts +62 -62
  187. package/dist/{src/utils → utils}/rowSeparatorRenderer.d.ts +16 -16
  188. package/dist/{cjs/src/utils → utils}/rowUtils.d.ts +187 -187
  189. package/dist/{cjs/src/utils → utils}/sortUtils.d.ts +8 -8
  190. package/dist/{cjs/src/utils → utils}/stateRowRenderer.d.ts +15 -15
  191. package/dist/{src/utils → utils}/stickyParentsRenderer.d.ts +53 -53
  192. package/package.json +12 -6
  193. package/styles.css.d.ts +1 -0
  194. package/dist/cjs/src/core/api/TableAPIImpl.d.ts +0 -78
  195. package/dist/cjs/src/core/rendering/SectionRenderer.d.ts +0 -119
  196. package/dist/cjs/src/hooks/ariaAnnouncements.d.ts +0 -37
  197. package/dist/cjs/src/hooks/contentHeight.d.ts +0 -29
  198. package/dist/cjs/src/hooks/scrollbarVisibility.d.ts +0 -65
  199. package/dist/cjs/src/hooks/scrollbarWidth.d.ts +0 -52
  200. package/dist/cjs/src/hooks/useAggregatedRows.d.ts +0 -14
  201. package/dist/cjs/src/hooks/useQuickFilter.d.ts +0 -14
  202. package/dist/cjs/src/hooks/windowResize.d.ts +0 -31
  203. package/dist/cjs/src/icons/index.d.ts +0 -14
  204. package/dist/cjs/src/managers/ColumnManager.d.ts +0 -42
  205. package/dist/cjs/src/managers/DragHandlerManager.d.ts +0 -44
  206. package/dist/cjs/src/managers/FilterManager.d.ts +0 -36
  207. package/dist/cjs/src/managers/PivotManager.d.ts +0 -35
  208. package/dist/cjs/src/managers/RowSelectionManager.d.ts +0 -72
  209. package/dist/cjs/src/managers/SectionScrollController.d.ts +0 -74
  210. package/dist/cjs/src/managers/SelectionManager/SelectionManager.d.ts +0 -251
  211. package/dist/cjs/src/managers/SelectionManager/index.d.ts +0 -2
  212. package/dist/cjs/src/managers/SelectionManager/keyboardUtils.d.ts +0 -7
  213. package/dist/cjs/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -7
  214. package/dist/cjs/src/managers/SelectionManager/types.d.ts +0 -28
  215. package/dist/cjs/src/managers/SortManager.d.ts +0 -42
  216. package/dist/cjs/src/types/AggregationTypes.d.ts +0 -8
  217. package/dist/cjs/src/types/BoundingBox.d.ts +0 -11
  218. package/dist/cjs/src/types/CellRendererProps.d.ts +0 -32
  219. package/dist/cjs/src/types/ColumnEditorConfig.d.ts +0 -42
  220. package/dist/cjs/src/types/ColumnEditorCustomRendererProps.d.ts +0 -14
  221. package/dist/cjs/src/types/ColumnEditorRowRendererProps.d.ts +0 -39
  222. package/dist/cjs/src/types/ColumnVisibilityTypes.d.ts +0 -4
  223. package/dist/cjs/src/types/CustomTheme.d.ts +0 -28
  224. package/dist/cjs/src/types/DragHandlerProps.d.ts +0 -14
  225. package/dist/cjs/src/types/EnumOption.d.ts +0 -5
  226. package/dist/cjs/src/types/FlattenedHeader.d.ts +0 -10
  227. package/dist/cjs/src/types/FooterRendererProps.d.ts +0 -17
  228. package/dist/cjs/src/types/HeaderObject.d.ts +0 -133
  229. package/dist/cjs/src/types/IconsConfig.d.ts +0 -19
  230. package/dist/cjs/src/types/PinnedSectionsState.d.ts +0 -6
  231. package/dist/cjs/src/types/RowSelectionMode.d.ts +0 -8
  232. package/dist/cjs/src/types/SelectionType.d.ts +0 -7
  233. package/dist/cjs/src/types/SharedTableProps.d.ts +0 -24
  234. package/dist/cjs/src/types/TableRow.d.ts +0 -39
  235. package/dist/cjs/src/types/TableRowProps.d.ts +0 -29
  236. package/dist/cjs/src/types/UpdateCellProps.d.ts +0 -8
  237. package/dist/cjs/src/utils/aggregationUtils.d.ts +0 -7
  238. package/dist/cjs/src/utils/ariaRowOwnership.d.ts +0 -37
  239. package/dist/cjs/src/utils/asRows.d.ts +0 -7
  240. package/dist/cjs/src/utils/bodyCell/cellLiveRef.d.ts +0 -9
  241. package/dist/cjs/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -2
  242. package/dist/cjs/src/utils/bodyCell/editors/datePicker.d.ts +0 -2
  243. package/dist/cjs/src/utils/bodyCell/editors/dropdown.d.ts +0 -18
  244. package/dist/cjs/src/utils/bodyCell/selection.d.ts +0 -7
  245. package/dist/cjs/src/utils/bodyCell/types.d.ts +0 -170
  246. package/dist/cjs/src/utils/bodyCellRenderer.d.ts +0 -6
  247. package/dist/cjs/src/utils/cellClipboardUtils.d.ts +0 -25
  248. package/dist/cjs/src/utils/collapseUtils.d.ts +0 -31
  249. package/dist/cjs/src/utils/columnEditor/columnEditorUtils.d.ts +0 -27
  250. package/dist/cjs/src/utils/columnEditor/createCheckbox.d.ts +0 -21
  251. package/dist/cjs/src/utils/columnEditor/createColumnEditor.d.ts +0 -26
  252. package/dist/cjs/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -41
  253. package/dist/cjs/src/utils/columnVirtualizationUtils.d.ts +0 -128
  254. package/dist/cjs/src/utils/externalScroll.d.ts +0 -58
  255. package/dist/cjs/src/utils/filters/createFilterDropdown.d.ts +0 -15
  256. package/dist/cjs/src/utils/filters/createNumberFilter.d.ts +0 -15
  257. package/dist/cjs/src/utils/headerCell/collapsing.d.ts +0 -6
  258. package/dist/cjs/src/utils/headerCell/editing.d.ts +0 -4
  259. package/dist/cjs/src/utils/headerCell/eventTracking.d.ts +0 -28
  260. package/dist/cjs/src/utils/headerCell/filtering.d.ts +0 -3
  261. package/dist/cjs/src/utils/headerCell/resizing.d.ts +0 -3
  262. package/dist/cjs/src/utils/headerCell/selection.d.ts +0 -10
  263. package/dist/cjs/src/utils/headerCell/sorting.d.ts +0 -3
  264. package/dist/cjs/src/utils/headerCell/types.d.ts +0 -110
  265. package/dist/cjs/src/utils/headerWidthUtils.d.ts +0 -121
  266. package/dist/cjs/src/utils/horizontalScrollbarRenderer.d.ts +0 -27
  267. package/dist/cjs/src/utils/nestedGridRowRenderer.d.ts +0 -50
  268. package/dist/cjs/src/utils/propSyncEqual.d.ts +0 -60
  269. package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +0 -32
  270. package/dist/cjs/src/utils/resizeUtils/domUpdates.d.ts +0 -15
  271. package/dist/cjs/src/utils/resizeUtils/maxWidth.d.ts +0 -9
  272. package/dist/cjs/src/utils/rowFlattening.d.ts +0 -30
  273. package/dist/cjs/src/utils/rowSeparatorRenderer.d.ts +0 -16
  274. package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +0 -53
  275. package/dist/cjs/stories/data/aggregate-data.d.ts +0 -5
  276. package/dist/cjs/stories/data/athlete-data.d.ts +0 -3
  277. package/dist/cjs/stories/data/retail-data.d.ts +0 -3
  278. package/dist/cjs/stories/data/saas-data.d.ts +0 -6
  279. package/dist/cjs/stories/data/space-data.d.ts +0 -3
  280. package/dist/cjs/stories/docs/Examples.stories.d.ts +0 -18
  281. package/dist/cjs/stories/docs/Features.stories.d.ts +0 -54
  282. package/dist/cjs/stories/docs/GettingStarted.stories.d.ts +0 -7
  283. package/dist/cjs/stories/docs/storyArgs.d.ts +0 -155
  284. package/dist/cjs/stories/examples/AdvancedSortingExample.d.ts +0 -6
  285. package/dist/cjs/stories/examples/AggregateExample.d.ts +0 -7
  286. package/dist/cjs/stories/examples/AlignmentExample.d.ts +0 -10
  287. package/dist/cjs/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  288. package/dist/cjs/stories/examples/BasicExample.d.ts +0 -12
  289. package/dist/cjs/stories/examples/BasicRowGrouping.d.ts +0 -11
  290. package/dist/cjs/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  291. package/dist/cjs/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  292. package/dist/cjs/stories/examples/CellHighlighting.d.ts +0 -7
  293. package/dist/cjs/stories/examples/CellRenderer.d.ts +0 -7
  294. package/dist/cjs/stories/examples/ChartsExample.d.ts +0 -13
  295. package/dist/cjs/stories/examples/ClayExample.d.ts +0 -14
  296. package/dist/cjs/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  297. package/dist/cjs/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  298. package/dist/cjs/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  299. package/dist/cjs/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  300. package/dist/cjs/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  301. package/dist/cjs/stories/examples/DynamicHeadersExample.d.ts +0 -5
  302. package/dist/cjs/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  303. package/dist/cjs/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  304. package/dist/cjs/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  305. package/dist/cjs/stories/examples/EditableCells.d.ts +0 -8
  306. package/dist/cjs/stories/examples/ExpansionControlExample.d.ts +0 -6
  307. package/dist/cjs/stories/examples/ExternalFilterExample.d.ts +0 -5
  308. package/dist/cjs/stories/examples/ExternalSortExample.d.ts +0 -6
  309. package/dist/cjs/stories/examples/HeaderInclusionExample.d.ts +0 -5
  310. package/dist/cjs/stories/examples/HiddenColumnsExample.d.ts +0 -9
  311. package/dist/cjs/stories/examples/InfiniteScroll.d.ts +0 -5
  312. package/dist/cjs/stories/examples/LiveUpdates.d.ts +0 -5
  313. package/dist/cjs/stories/examples/LoadingStateExample.d.ts +0 -2
  314. package/dist/cjs/stories/examples/NestedAccessorExample.d.ts +0 -8
  315. package/dist/cjs/stories/examples/NestedGridExample.d.ts +0 -5
  316. package/dist/cjs/stories/examples/Pagination.d.ts +0 -12
  317. package/dist/cjs/stories/examples/PaginationAPIExample.d.ts +0 -8
  318. package/dist/cjs/stories/examples/PivotExample.d.ts +0 -16
  319. package/dist/cjs/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  320. package/dist/cjs/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  321. package/dist/cjs/stories/examples/QuickFilterExample.d.ts +0 -5
  322. package/dist/cjs/stories/examples/RadioStationsExample.d.ts +0 -3
  323. package/dist/cjs/stories/examples/RowButtonsExample.d.ts +0 -14
  324. package/dist/cjs/stories/examples/RowHeightExample.d.ts +0 -8
  325. package/dist/cjs/stories/examples/RowSelectionExample.d.ts +0 -11
  326. package/dist/cjs/stories/examples/SelectableCells.d.ts +0 -14
  327. package/dist/cjs/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  328. package/dist/cjs/stories/examples/Theming.d.ts +0 -12
  329. package/dist/cjs/stories/examples/TooltipExample.d.ts +0 -8
  330. package/dist/cjs/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  331. package/dist/cjs/stories/examples/billing-example/BillingExample.d.ts +0 -13
  332. package/dist/cjs/stories/examples/billing-example/billing-headers.d.ts +0 -5
  333. package/dist/cjs/stories/examples/crypto/CryptoExample.d.ts +0 -14
  334. package/dist/cjs/stories/examples/crypto/crypto-data.d.ts +0 -30
  335. package/dist/cjs/stories/examples/crypto/crypto-headers.d.ts +0 -5
  336. package/dist/cjs/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  337. package/dist/cjs/stories/examples/filter-example/FilterExample.d.ts +0 -9
  338. package/dist/cjs/stories/examples/filter-example/filter-headers.d.ts +0 -5
  339. package/dist/cjs/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  340. package/dist/cjs/stories/examples/finance-example/finance-headers.d.ts +0 -5
  341. package/dist/cjs/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  342. package/dist/cjs/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  343. package/dist/cjs/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  344. package/dist/cjs/stories/examples/leads/LeadsExample.d.ts +0 -8
  345. package/dist/cjs/stories/examples/leads/leads-data.d.ts +0 -5
  346. package/dist/cjs/stories/examples/leads/leads-headers.d.ts +0 -6
  347. package/dist/cjs/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  348. package/dist/cjs/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  349. package/dist/cjs/stories/examples/music/MusicExample.d.ts +0 -13
  350. package/dist/cjs/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  351. package/dist/cjs/stories/examples/music/music-headers.d.ts +0 -5
  352. package/dist/cjs/stories/examples/music/music-window.data.d.ts +0 -47
  353. package/dist/cjs/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  354. package/dist/cjs/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  355. package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +0 -14
  356. package/dist/cjs/stories/examples/sales-example/sales-headers.d.ts +0 -6
  357. package/dist/cjs/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  358. package/dist/cjs/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  359. package/dist/cjs/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  360. package/dist/cjs/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  361. package/dist/cjs/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  362. package/dist/cjs/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  363. package/dist/cjs/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  364. package/dist/cjs/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  365. package/dist/cjs/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  366. package/dist/cjs/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  367. package/dist/cjs/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  368. package/dist/cjs/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  369. package/dist/cjs/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  370. package/dist/cjs/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  371. package/dist/cjs/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  372. package/dist/cjs/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  373. package/dist/cjs/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  374. package/dist/cjs/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  375. package/dist/cjs/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  376. package/dist/cjs/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  377. package/dist/cjs/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  378. package/dist/cjs/stories/tests/22-LoadingStateTests.stories.d.ts +0 -94
  379. package/dist/cjs/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  380. package/dist/cjs/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  381. package/dist/cjs/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  382. package/dist/cjs/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  383. package/dist/cjs/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  384. package/dist/cjs/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  385. package/dist/cjs/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  386. package/dist/cjs/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  387. package/dist/cjs/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  388. package/dist/cjs/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  389. package/dist/cjs/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  390. package/dist/cjs/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  391. package/dist/cjs/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  392. package/dist/cjs/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  393. package/dist/cjs/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  394. package/dist/cjs/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  395. package/dist/cjs/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  396. package/dist/cjs/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  397. package/dist/cjs/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  398. package/dist/cjs/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  399. package/dist/cjs/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  400. package/dist/cjs/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  401. package/dist/cjs/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  402. package/dist/cjs/stories/tests/45-PivotTests.stories.d.ts +0 -8
  403. package/dist/cjs/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  404. package/dist/cjs/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  405. package/dist/cjs/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  406. package/dist/cjs/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  407. package/dist/cjs/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  408. package/dist/cjs/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  409. package/dist/cjs/stories/tests/testUtils.d.ts +0 -38
  410. package/dist/cjs/stories/utils.d.ts +0 -42
  411. package/dist/cjs/stories/vanillaStoryConfig.d.ts +0 -156
  412. package/dist/src/consts/column-constraints.d.ts +0 -58
  413. package/dist/src/consts/general-consts.d.ts +0 -32
  414. package/dist/src/core/SimpleTableVanilla.d.ts +0 -369
  415. package/dist/src/core/dom/DOMManager.d.ts +0 -52
  416. package/dist/src/core/initialization/TableInitializer.d.ts +0 -34
  417. package/dist/src/core/rendering/RenderOrchestrator.d.ts +0 -172
  418. package/dist/src/core/rendering/TableRenderer.d.ts +0 -120
  419. package/dist/src/hooks/expandedDepths.d.ts +0 -69
  420. package/dist/src/hooks/handleOutsideClick.d.ts +0 -50
  421. package/dist/src/hooks/previousValue.d.ts +0 -30
  422. package/dist/src/icons/AngleDownIcon.d.ts +0 -1
  423. package/dist/src/icons/AngleLeftIcon.d.ts +0 -1
  424. package/dist/src/icons/AngleRightIcon.d.ts +0 -1
  425. package/dist/src/icons/AngleUpIcon.d.ts +0 -1
  426. package/dist/src/icons/AscIcon.d.ts +0 -1
  427. package/dist/src/icons/CheckIcon.d.ts +0 -1
  428. package/dist/src/icons/DescIcon.d.ts +0 -1
  429. package/dist/src/icons/DragIcon.d.ts +0 -1
  430. package/dist/src/icons/FilterIcon.d.ts +0 -1
  431. package/dist/src/icons/SelectIcon.d.ts +0 -1
  432. package/dist/src/index.d.ts +0 -58
  433. package/dist/src/managers/AnimationCoordinator.d.ts +0 -356
  434. package/dist/src/managers/AutoScaleManager.d.ts +0 -33
  435. package/dist/src/managers/DimensionManager.d.ts +0 -84
  436. package/dist/src/managers/RowManager.d.ts +0 -56
  437. package/dist/src/managers/ScrollManager.d.ts +0 -38
  438. package/dist/src/managers/SelectionManager/mouseUtils.d.ts +0 -16
  439. package/dist/src/managers/TableManager.d.ts +0 -72
  440. package/dist/src/types/AnimationsConfig.d.ts +0 -16
  441. package/dist/src/types/Cell.d.ts +0 -7
  442. package/dist/src/types/CellChangeProps.d.ts +0 -9
  443. package/dist/src/types/CellClickProps.d.ts +0 -11
  444. package/dist/src/types/CellValue.d.ts +0 -2
  445. package/dist/src/types/FilterTypes.d.ts +0 -31
  446. package/dist/src/types/FooterPosition.d.ts +0 -3
  447. package/dist/src/types/GenerateRowIdParams.d.ts +0 -11
  448. package/dist/src/types/GetRowId.d.ts +0 -16
  449. package/dist/src/types/HandleResizeStartProps.d.ts +0 -25
  450. package/dist/src/types/HeaderDropdownProps.d.ts +0 -14
  451. package/dist/src/types/HeaderRendererProps.d.ts +0 -17
  452. package/dist/src/types/OnNextPage.d.ts +0 -2
  453. package/dist/src/types/OnRowGroupExpandProps.d.ts +0 -16
  454. package/dist/src/types/OnSortProps.d.ts +0 -3
  455. package/dist/src/types/PanelSection.d.ts +0 -1
  456. package/dist/src/types/Pinned.d.ts +0 -1
  457. package/dist/src/types/PivotTypes.d.ts +0 -37
  458. package/dist/src/types/QuickFilterTypes.d.ts +0 -21
  459. package/dist/src/types/Row.d.ts +0 -3
  460. package/dist/src/types/RowButton.d.ts +0 -6
  461. package/dist/src/types/RowId.d.ts +0 -1
  462. package/dist/src/types/RowSelectionChangeProps.d.ts +0 -7
  463. package/dist/src/types/RowState.d.ts +0 -12
  464. package/dist/src/types/RowStateRendererProps.d.ts +0 -18
  465. package/dist/src/types/SelectionType.d.ts +0 -7
  466. package/dist/src/types/SimpleTableConfig.d.ts +0 -124
  467. package/dist/src/types/SimpleTableProps.d.ts +0 -125
  468. package/dist/src/types/SortColumn.d.ts +0 -8
  469. package/dist/src/types/TableAPI.d.ts +0 -82
  470. package/dist/src/types/TableBodyProps.d.ts +0 -20
  471. package/dist/src/types/TableHeaderProps.d.ts +0 -17
  472. package/dist/src/types/TableHeaderSectionProps.d.ts +0 -19
  473. package/dist/src/types/Theme.d.ts +0 -2
  474. package/dist/src/utils/accordionAnimation.d.ts +0 -25
  475. package/dist/src/utils/bodyCell/content.d.ts +0 -5
  476. package/dist/src/utils/bodyCell/editing.d.ts +0 -4
  477. package/dist/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -2
  478. package/dist/src/utils/bodyCell/eventTracking.d.ts +0 -3
  479. package/dist/src/utils/bodyCell/expansion.d.ts +0 -12
  480. package/dist/src/utils/bodyCell/styling.d.ts +0 -11
  481. package/dist/src/utils/cellScrollUtils.d.ts +0 -10
  482. package/dist/src/utils/cellUtils.d.ts +0 -18
  483. package/dist/src/utils/charts/createBarChart.d.ts +0 -20
  484. package/dist/src/utils/charts/createLineAreaChart.d.ts +0 -25
  485. package/dist/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -23
  486. package/dist/src/utils/columnIndicesUtils.d.ts +0 -15
  487. package/dist/src/utils/csvExportUtils.d.ts +0 -14
  488. package/dist/src/utils/dateUtils.d.ts +0 -18
  489. package/dist/src/utils/filterUtils.d.ts +0 -5
  490. package/dist/src/utils/filters/createBooleanFilter.d.ts +0 -15
  491. package/dist/src/utils/filters/createCustomSelect.d.ts +0 -20
  492. package/dist/src/utils/filters/createDateFilter.d.ts +0 -15
  493. package/dist/src/utils/filters/createDatePicker.d.ts +0 -10
  494. package/dist/src/utils/filters/createDropdown.d.ts +0 -33
  495. package/dist/src/utils/filters/createEnumFilter.d.ts +0 -15
  496. package/dist/src/utils/filters/createFilterActions.d.ts +0 -12
  497. package/dist/src/utils/filters/createFilterInput.d.ts +0 -16
  498. package/dist/src/utils/filters/createStringFilter.d.ts +0 -15
  499. package/dist/src/utils/footer/createTableFooter.d.ts +0 -21
  500. package/dist/src/utils/formatters.d.ts +0 -3
  501. package/dist/src/utils/generalUtils.d.ts +0 -4
  502. package/dist/src/utils/headerCell/dragging.d.ts +0 -5
  503. package/dist/src/utils/headerCell/styling.d.ts +0 -7
  504. package/dist/src/utils/headerCellRenderer.d.ts +0 -4
  505. package/dist/src/utils/headerUtils.d.ts +0 -41
  506. package/dist/src/utils/infiniteScrollUtils.d.ts +0 -145
  507. package/dist/src/utils/loadingPlaceholderUtils.d.ts +0 -11
  508. package/dist/src/utils/pinnedColumnUtils.d.ts +0 -29
  509. package/dist/src/utils/pivot/pivotRows.d.ts +0 -16
  510. package/dist/src/utils/quickFilterUtils.d.ts +0 -14
  511. package/dist/src/utils/resizeUtils/compensation.d.ts +0 -17
  512. package/dist/src/utils/resizeUtils/index.d.ts +0 -26
  513. package/dist/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -11
  514. package/dist/src/utils/resizeUtils/sectionWidths.d.ts +0 -36
  515. package/dist/src/utils/rowProcessing.d.ts +0 -65
  516. package/dist/src/utils/rowSelectionUtils.d.ts +0 -62
  517. package/dist/src/utils/rowUtils.d.ts +0 -187
  518. package/dist/src/utils/sortUtils.d.ts +0 -8
  519. package/dist/src/utils/stateRowRenderer.d.ts +0 -15
  520. package/dist/stories/data/aggregate-data.d.ts +0 -5
  521. package/dist/stories/data/athlete-data.d.ts +0 -3
  522. package/dist/stories/data/retail-data.d.ts +0 -3
  523. package/dist/stories/data/saas-data.d.ts +0 -6
  524. package/dist/stories/data/space-data.d.ts +0 -3
  525. package/dist/stories/docs/Examples.stories.d.ts +0 -18
  526. package/dist/stories/docs/Features.stories.d.ts +0 -54
  527. package/dist/stories/docs/GettingStarted.stories.d.ts +0 -7
  528. package/dist/stories/docs/storyArgs.d.ts +0 -155
  529. package/dist/stories/examples/AdvancedSortingExample.d.ts +0 -6
  530. package/dist/stories/examples/AggregateExample.d.ts +0 -7
  531. package/dist/stories/examples/AlignmentExample.d.ts +0 -10
  532. package/dist/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  533. package/dist/stories/examples/BasicExample.d.ts +0 -12
  534. package/dist/stories/examples/BasicRowGrouping.d.ts +0 -11
  535. package/dist/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  536. package/dist/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  537. package/dist/stories/examples/CellHighlighting.d.ts +0 -7
  538. package/dist/stories/examples/CellRenderer.d.ts +0 -7
  539. package/dist/stories/examples/ChartsExample.d.ts +0 -13
  540. package/dist/stories/examples/ClayExample.d.ts +0 -14
  541. package/dist/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  542. package/dist/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  543. package/dist/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  544. package/dist/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  545. package/dist/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  546. package/dist/stories/examples/DynamicHeadersExample.d.ts +0 -5
  547. package/dist/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  548. package/dist/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  549. package/dist/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  550. package/dist/stories/examples/EditableCells.d.ts +0 -8
  551. package/dist/stories/examples/ExpansionControlExample.d.ts +0 -6
  552. package/dist/stories/examples/ExternalFilterExample.d.ts +0 -5
  553. package/dist/stories/examples/ExternalSortExample.d.ts +0 -6
  554. package/dist/stories/examples/HeaderInclusionExample.d.ts +0 -5
  555. package/dist/stories/examples/HiddenColumnsExample.d.ts +0 -9
  556. package/dist/stories/examples/InfiniteScroll.d.ts +0 -5
  557. package/dist/stories/examples/LiveUpdates.d.ts +0 -5
  558. package/dist/stories/examples/LoadingStateExample.d.ts +0 -2
  559. package/dist/stories/examples/NestedAccessorExample.d.ts +0 -8
  560. package/dist/stories/examples/NestedGridExample.d.ts +0 -5
  561. package/dist/stories/examples/Pagination.d.ts +0 -12
  562. package/dist/stories/examples/PaginationAPIExample.d.ts +0 -8
  563. package/dist/stories/examples/PivotExample.d.ts +0 -16
  564. package/dist/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  565. package/dist/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  566. package/dist/stories/examples/QuickFilterExample.d.ts +0 -5
  567. package/dist/stories/examples/RadioStationsExample.d.ts +0 -3
  568. package/dist/stories/examples/RowButtonsExample.d.ts +0 -14
  569. package/dist/stories/examples/RowHeightExample.d.ts +0 -8
  570. package/dist/stories/examples/RowSelectionExample.d.ts +0 -11
  571. package/dist/stories/examples/SelectableCells.d.ts +0 -14
  572. package/dist/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  573. package/dist/stories/examples/Theming.d.ts +0 -12
  574. package/dist/stories/examples/TooltipExample.d.ts +0 -8
  575. package/dist/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  576. package/dist/stories/examples/billing-example/BillingExample.d.ts +0 -13
  577. package/dist/stories/examples/billing-example/billing-headers.d.ts +0 -5
  578. package/dist/stories/examples/crypto/CryptoExample.d.ts +0 -14
  579. package/dist/stories/examples/crypto/crypto-data.d.ts +0 -30
  580. package/dist/stories/examples/crypto/crypto-headers.d.ts +0 -5
  581. package/dist/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  582. package/dist/stories/examples/filter-example/FilterExample.d.ts +0 -9
  583. package/dist/stories/examples/filter-example/filter-headers.d.ts +0 -5
  584. package/dist/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  585. package/dist/stories/examples/finance-example/finance-headers.d.ts +0 -5
  586. package/dist/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  587. package/dist/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  588. package/dist/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  589. package/dist/stories/examples/leads/LeadsExample.d.ts +0 -8
  590. package/dist/stories/examples/leads/leads-data.d.ts +0 -5
  591. package/dist/stories/examples/leads/leads-headers.d.ts +0 -6
  592. package/dist/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  593. package/dist/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  594. package/dist/stories/examples/music/MusicExample.d.ts +0 -13
  595. package/dist/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  596. package/dist/stories/examples/music/music-headers.d.ts +0 -5
  597. package/dist/stories/examples/music/music-window.data.d.ts +0 -47
  598. package/dist/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  599. package/dist/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  600. package/dist/stories/examples/sales-example/SalesExample.d.ts +0 -14
  601. package/dist/stories/examples/sales-example/sales-headers.d.ts +0 -6
  602. package/dist/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  603. package/dist/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  604. package/dist/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  605. package/dist/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  606. package/dist/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  607. package/dist/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  608. package/dist/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  609. package/dist/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  610. package/dist/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  611. package/dist/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  612. package/dist/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  613. package/dist/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  614. package/dist/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  615. package/dist/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  616. package/dist/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  617. package/dist/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  618. package/dist/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  619. package/dist/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  620. package/dist/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  621. package/dist/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  622. package/dist/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  623. package/dist/stories/tests/22-LoadingStateTests.stories.d.ts +0 -94
  624. package/dist/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  625. package/dist/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  626. package/dist/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  627. package/dist/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  628. package/dist/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  629. package/dist/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  630. package/dist/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  631. package/dist/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  632. package/dist/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  633. package/dist/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  634. package/dist/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  635. package/dist/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  636. package/dist/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  637. package/dist/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  638. package/dist/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  639. package/dist/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  640. package/dist/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  641. package/dist/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  642. package/dist/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  643. package/dist/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  644. package/dist/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  645. package/dist/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  646. package/dist/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  647. package/dist/stories/tests/45-PivotTests.stories.d.ts +0 -8
  648. package/dist/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  649. package/dist/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  650. package/dist/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  651. package/dist/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  652. package/dist/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  653. package/dist/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  654. package/dist/stories/tests/testUtils.d.ts +0 -38
  655. package/dist/stories/utils.d.ts +0 -42
  656. package/dist/stories/vanillaStoryConfig.d.ts +0 -156
@@ -1,121 +1,121 @@
1
- import HeaderObject, { Accessor } from "../types/HeaderObject";
2
- /**
3
- * Build the set of row indices to sample for auto-size measurement.
4
- * Hybrid strategy: the first `headSize` rows (always include the top / initial
5
- * viewport) plus `stridedSize` rows spread at an even stride across the rest of
6
- * the dataset, so wide values deeper in the data are caught without scanning
7
- * every row. Strided (not random) keeps the result deterministic across renders.
8
- */
9
- export declare const buildHybridSampleIndices: (rowCount: number, headSize: number, stridedSize: number) => number[];
10
- /** Linear-interpolated percentile (0-100) of a numeric array. */
11
- export declare const percentileOf: (values: number[], percentile: number) => number;
12
- /**
13
- * Choose a representative "content width" from sampled cell widths, clipping
14
- * outliers only when they clearly stand apart from the bulk of the data.
15
- *
16
- * - Uses the true max when the column is uniform (max close to the percentile),
17
- * so nothing legitimate gets truncated.
18
- * - Falls back to the percentile width only when `max > p * (1 + threshold)` and
19
- * there are enough samples to trust the percentile, so a single rogue 2000px
20
- * row can't define the whole column.
21
- */
22
- export declare const selectContentWidthWithOutlierClip: (widths: number[], options?: {
23
- percentile?: number;
24
- threshold?: number;
25
- minSampleForClip?: number;
26
- }) => number;
27
- /**
28
- * Find all leaf headers (headers without children) in a header tree
29
- * Takes collapsed state into account - when a header is collapsed, only returns
30
- * children that are visible when parent is collapsed (showWhen is 'parentCollapsed' or 'always')
31
- */
32
- export declare const findLeafHeaders: (header: HeaderObject, collapsedHeaders?: Set<Accessor>) => HeaderObject[];
33
- /** Default pixel width for 1fr when converting before container width is known */
34
- export declare const DEFAULT_FR_PX = 150;
35
- /** Default total table width used when normalizing fr/% if container width unknown */
36
- export declare const DEFAULT_TABLE_WIDTH = 800;
37
- /** True when a header's width requests content-based auto-sizing (`width: "auto"`). */
38
- export declare const isAutoWidth: (header: HeaderObject) => boolean;
39
- /**
40
- * Normalize header widths so that fr and % are converted to pixels.
41
- * Call this as soon as headers are received so the rest of the code can assume numeric widths.
42
- * If totalWidth is not provided, a reasonable total is computed from fixed widths + default for fr columns.
43
- * If options.containerWidth is provided, all fr/% columns are resolved against the full container width,
44
- * so pinned and non-pinned fr columns share the same proportional pool.
45
- */
46
- export declare function normalizeHeaderWidths(headers: HeaderObject[], totalWidthOrOptions?: number | {
47
- containerWidth: number;
48
- }): HeaderObject[];
49
- /**
50
- * Get actual width of a header in pixels
51
- */
52
- export declare const getHeaderWidthInPixels: (header: HeaderObject) => number;
53
- /**
54
- * Convert fractional widths to pixel values
55
- */
56
- export declare const removeAllFractionalWidths: (header: HeaderObject) => void;
57
- /**
58
- * Calculate the minimum width for a header
59
- */
60
- export declare const getHeaderMinWidth: (header: HeaderObject) => number;
61
- /**
62
- * Get all visible leaf headers from an array of headers
63
- */
64
- export declare const getAllVisibleLeafHeaders: (headers: HeaderObject[], collapsedHeaders?: Set<Accessor>) => HeaderObject[];
65
- /**
66
- * Calculate the optimal width for a column by measuring both header and cell content
67
- * This is used for auto-sizing columns to fit their content (like Excel/Google Sheets)
68
- *
69
- * @param accessor - The accessor of the header to measure
70
- * @param options - Configuration options
71
- * @returns Measured width plus whether the result is final (`settled`). When a
72
- * custom `cellRenderer` / `headerRenderer` exists but its real DOM is not
73
- * measurable yet (async portal / loading skeleton), `settled` is false and
74
- * the width is provisional (header / minWidth only — never `valueFormatter`
75
- * or plain `label` as a stand-in for renderer output). Callers should apply
76
- * that provisional width once and re-measure later via an explicit refit
77
- * (rows / isLoading / `refitAutoSizeColumns`) — not by leaving the column
78
- * pending across every render.
79
- */
80
- export declare const calculateHeaderContentWidth: (accessor: Accessor, options?: {
81
- rows?: any[] | undefined;
82
- header?: HeaderObject | undefined;
83
- maxWidth?: number | undefined;
84
- /** Leading rows always measured (default AUTO_SIZE_HEAD_SAMPLE_SIZE) */
85
- headSampleSize?: number | undefined;
86
- /** Rows sampled at an even stride across the rest (default AUTO_SIZE_STRIDED_SAMPLE_SIZE) */
87
- stridedSampleSize?: number | undefined;
88
- /** Back-compat: when set, used as the head sample size (strided defaults to 0) */
89
- sampleSize?: number | undefined;
90
- /** Outlier clip percentile (default AUTO_SIZE_OUTLIER_PERCENTILE) */
91
- outlierPercentile?: number | undefined;
92
- /** Outlier clip threshold fraction (default AUTO_SIZE_OUTLIER_THRESHOLD) */
93
- outlierThreshold?: number | undefined;
94
- /** When "header", ignore cell content and fit the header label only */
95
- autoSizeMode?: "content" | "header" | undefined;
96
- /** Theme passed to a custom cellRenderer during measurement */
97
- theme?: any;
98
- /** Scope `.st-cell-content` font/padding sampling to this table instance */
99
- styleRoot?: ParentNode | null | undefined;
100
- /**
101
- * The table's resolved sort icon. Used to reserve space on sortable columns
102
- * that are not currently sorted (the icon only exists on the active sort
103
- * column), so sorting later does not push the label into ellipsis.
104
- */
105
- sortIcon?: string | HTMLElement | SVGSVGElement | undefined;
106
- /**
107
- * The table's resolved expand/collapse icon. Used to reserve space on
108
- * collapsible headers when the header cell is virtualized out of the
109
- * horizontal band (so the icon is not in the DOM to measure directly).
110
- */
111
- expandIcon?: string | HTMLElement | SVGSVGElement | undefined;
112
- /**
113
- * Called before a temporary measure host from `cellRenderer` is discarded.
114
- * Framework adapters (React portals, Vue/Solid mounts) register on render;
115
- * without this, autofit sampling leaks those registrations.
116
- */
117
- onRendererHostDiscard?: ((host: HTMLElement) => void) | undefined;
118
- } | undefined) => {
119
- width: number;
120
- settled: boolean;
121
- };
1
+ import HeaderObject, { Accessor } from "../types/HeaderObject";
2
+ /**
3
+ * Build the set of row indices to sample for auto-size measurement.
4
+ * Hybrid strategy: the first `headSize` rows (always include the top / initial
5
+ * viewport) plus `stridedSize` rows spread at an even stride across the rest of
6
+ * the dataset, so wide values deeper in the data are caught without scanning
7
+ * every row. Strided (not random) keeps the result deterministic across renders.
8
+ */
9
+ export declare const buildHybridSampleIndices: (rowCount: number, headSize: number, stridedSize: number) => number[];
10
+ /** Linear-interpolated percentile (0-100) of a numeric array. */
11
+ export declare const percentileOf: (values: number[], percentile: number) => number;
12
+ /**
13
+ * Choose a representative "content width" from sampled cell widths, clipping
14
+ * outliers only when they clearly stand apart from the bulk of the data.
15
+ *
16
+ * - Uses the true max when the column is uniform (max close to the percentile),
17
+ * so nothing legitimate gets truncated.
18
+ * - Falls back to the percentile width only when `max > p * (1 + threshold)` and
19
+ * there are enough samples to trust the percentile, so a single rogue 2000px
20
+ * row can't define the whole column.
21
+ */
22
+ export declare const selectContentWidthWithOutlierClip: (widths: number[], options?: {
23
+ percentile?: number;
24
+ threshold?: number;
25
+ minSampleForClip?: number;
26
+ }) => number;
27
+ /**
28
+ * Find all leaf headers (headers without children) in a header tree
29
+ * Takes collapsed state into account - when a header is collapsed, only returns
30
+ * children that are visible when parent is collapsed (showWhen is 'parentCollapsed' or 'always')
31
+ */
32
+ export declare const findLeafHeaders: (header: HeaderObject, collapsedHeaders?: Set<Accessor>) => HeaderObject[];
33
+ /** Default pixel width for 1fr when converting before container width is known */
34
+ export declare const DEFAULT_FR_PX = 150;
35
+ /** Default total table width used when normalizing fr/% if container width unknown */
36
+ export declare const DEFAULT_TABLE_WIDTH = 800;
37
+ /** True when a header's width requests content-based auto-sizing (`width: "auto"`). */
38
+ export declare const isAutoWidth: (header: HeaderObject) => boolean;
39
+ /**
40
+ * Normalize header widths so that fr and % are converted to pixels.
41
+ * Call this as soon as headers are received so the rest of the code can assume numeric widths.
42
+ * If totalWidth is not provided, a reasonable total is computed from fixed widths + default for fr columns.
43
+ * If options.containerWidth is provided, all fr/% columns are resolved against the full container width,
44
+ * so pinned and non-pinned fr columns share the same proportional pool.
45
+ */
46
+ export declare function normalizeHeaderWidths(headers: HeaderObject[], totalWidthOrOptions?: number | {
47
+ containerWidth: number;
48
+ }): HeaderObject[];
49
+ /**
50
+ * Get actual width of a header in pixels
51
+ */
52
+ export declare const getHeaderWidthInPixels: (header: HeaderObject) => number;
53
+ /**
54
+ * Convert fractional widths to pixel values
55
+ */
56
+ export declare const removeAllFractionalWidths: (header: HeaderObject) => void;
57
+ /**
58
+ * Calculate the minimum width for a header
59
+ */
60
+ export declare const getHeaderMinWidth: (header: HeaderObject) => number;
61
+ /**
62
+ * Get all visible leaf headers from an array of headers
63
+ */
64
+ export declare const getAllVisibleLeafHeaders: (headers: HeaderObject[], collapsedHeaders?: Set<Accessor>) => HeaderObject[];
65
+ /**
66
+ * Calculate the optimal width for a column by measuring both header and cell content
67
+ * This is used for auto-sizing columns to fit their content (like Excel/Google Sheets)
68
+ *
69
+ * @param accessor - The accessor of the header to measure
70
+ * @param options - Configuration options
71
+ * @returns Measured width plus whether the result is final (`settled`). When a
72
+ * custom `cellRenderer` / `headerRenderer` exists but its real DOM is not
73
+ * measurable yet (async portal / loading skeleton), `settled` is false and
74
+ * the width is provisional (header / minWidth only — never `valueFormatter`
75
+ * or plain `label` as a stand-in for renderer output). Callers should apply
76
+ * that provisional width once and re-measure later via an explicit refit
77
+ * (rows / isLoading / `refitAutoSizeColumns`) — not by leaving the column
78
+ * pending across every render.
79
+ */
80
+ export declare const calculateHeaderContentWidth: (accessor: Accessor, options?: {
81
+ rows?: any[];
82
+ header?: HeaderObject;
83
+ maxWidth?: number;
84
+ /** Leading rows always measured (default AUTO_SIZE_HEAD_SAMPLE_SIZE) */
85
+ headSampleSize?: number;
86
+ /** Rows sampled at an even stride across the rest (default AUTO_SIZE_STRIDED_SAMPLE_SIZE) */
87
+ stridedSampleSize?: number;
88
+ /** Back-compat: when set, used as the head sample size (strided defaults to 0) */
89
+ sampleSize?: number;
90
+ /** Outlier clip percentile (default AUTO_SIZE_OUTLIER_PERCENTILE) */
91
+ outlierPercentile?: number;
92
+ /** Outlier clip threshold fraction (default AUTO_SIZE_OUTLIER_THRESHOLD) */
93
+ outlierThreshold?: number;
94
+ /** When "header", ignore cell content and fit the header label only */
95
+ autoSizeMode?: "content" | "header";
96
+ /** Theme passed to a custom cellRenderer during measurement */
97
+ theme?: any;
98
+ /** Scope `.st-cell-content` font/padding sampling to this table instance */
99
+ styleRoot?: ParentNode | null;
100
+ /**
101
+ * The table's resolved sort icon. Used to reserve space on sortable columns
102
+ * that are not currently sorted (the icon only exists on the active sort
103
+ * column), so sorting later does not push the label into ellipsis.
104
+ */
105
+ sortIcon?: string | HTMLElement | SVGSVGElement;
106
+ /**
107
+ * The table's resolved expand/collapse icon. Used to reserve space on
108
+ * collapsible headers when the header cell is virtualized out of the
109
+ * horizontal band (so the icon is not in the DOM to measure directly).
110
+ */
111
+ expandIcon?: string | HTMLElement | SVGSVGElement;
112
+ /**
113
+ * Called before a temporary measure host from `cellRenderer` is discarded.
114
+ * Framework adapters (React portals, Vue/Solid mounts) register on render;
115
+ * without this, autofit sampling leaks those registrations.
116
+ */
117
+ onRendererHostDiscard?: (host: HTMLElement) => void;
118
+ }) => {
119
+ width: number;
120
+ settled: boolean;
121
+ };
@@ -1,27 +1,27 @@
1
- import type { SectionScrollController } from "../managers/SectionScrollController";
2
- export interface HorizontalScrollbarProps {
3
- mainBodyRef: HTMLDivElement;
4
- mainBodyWidth: number;
5
- pinnedLeftWidth: number;
6
- pinnedRightWidth: number;
7
- pinnedLeftContentWidth: number;
8
- pinnedRightContentWidth: number;
9
- tableBodyContainerRef: HTMLDivElement;
10
- /** True when the column-editor toggle strip is visible and reserves horizontal space. */
11
- editColumns: boolean;
12
- sectionScrollController?: SectionScrollController | null;
13
- /**
14
- * When true, skip the DOM scrollWidth check and always build the scrollbar.
15
- * Used after the caller has already verified content overflow (e.g. empty
16
- * tables where the header scrollport is sized to content and reports no
17
- * DOM overflow even though columns exceed the viewport).
18
- */
19
- forceScrollable?: boolean;
20
- }
21
- export declare const createHorizontalScrollbar: (props: HorizontalScrollbarProps) => HTMLElement | null;
22
- /**
23
- * Apply width props to an existing scrollbar from {@link createHorizontalScrollbar}.
24
- * Used when layout is recreated without tearing down the DOM node (e.g. pinned resize).
25
- */
26
- export declare const syncHorizontalScrollbarLayout: (container: HTMLElement, props: HorizontalScrollbarProps) => void;
27
- export declare const cleanupHorizontalScrollbar: (container: HTMLElement, sectionScrollController?: SectionScrollController | null) => void;
1
+ import type { SectionScrollController } from "../managers/SectionScrollController";
2
+ export interface HorizontalScrollbarProps {
3
+ mainBodyRef: HTMLDivElement;
4
+ mainBodyWidth: number;
5
+ pinnedLeftWidth: number;
6
+ pinnedRightWidth: number;
7
+ pinnedLeftContentWidth: number;
8
+ pinnedRightContentWidth: number;
9
+ tableBodyContainerRef: HTMLDivElement;
10
+ /** True when the column-editor toggle strip is visible and reserves horizontal space. */
11
+ editColumns: boolean;
12
+ sectionScrollController?: SectionScrollController | null;
13
+ /**
14
+ * When true, skip the DOM scrollWidth check and always build the scrollbar.
15
+ * Used after the caller has already verified content overflow (e.g. empty
16
+ * tables where the header scrollport is sized to content and reports no
17
+ * DOM overflow even though columns exceed the viewport).
18
+ */
19
+ forceScrollable?: boolean;
20
+ }
21
+ export declare const createHorizontalScrollbar: (props: HorizontalScrollbarProps) => HTMLElement | null;
22
+ /**
23
+ * Apply width props to an existing scrollbar from {@link createHorizontalScrollbar}.
24
+ * Used when layout is recreated without tearing down the DOM node (e.g. pinned resize).
25
+ */
26
+ export declare const syncHorizontalScrollbarLayout: (container: HTMLElement, props: HorizontalScrollbarProps) => void;
27
+ export declare const cleanupHorizontalScrollbar: (container: HTMLElement, sectionScrollController?: SectionScrollController | null) => void;
@@ -1,145 +1,145 @@
1
- import TableRow from "../types/TableRow";
2
- import { CustomTheme } from "../types/CustomTheme";
3
- import { Accessor } from "../types/HeaderObject";
4
- /**
5
- * Sorted array of [position, extraHeight] tuples for nested grids
6
- * Position: the row index in flattened array
7
- * ExtraHeight: additional height beyond standard rowHeight (in pixels)
8
- * Array is kept sorted by position for efficient binary search
9
- */
10
- export type HeightOffsets = Array<[number, number]>;
11
- /**
12
- * Precomputed cumulative height data structure for O(1) row position lookups
13
- * and O(log n) viewport calculations
14
- */
15
- export interface CumulativeHeightMap {
16
- /** Array where index i contains the top pixel position of row i */
17
- rowTopPositions: number[];
18
- /** Total height of all rows combined */
19
- totalHeight: number;
20
- }
21
- /**
22
- * Build a cumulative height map for efficient viewport calculations
23
- * This precomputes the top position of every row, enabling:
24
- * - O(1) lookup of row top position
25
- * - O(log n) binary search to find rows in viewport
26
- *
27
- * @param rowCount - Total number of rows
28
- * @param rowHeight - Standard height of each row
29
- * @param heightOffsets - Array of [position, extraHeight] for variable-height rows
30
- * @param customTheme - Theme configuration for separator width
31
- * @returns Cumulative height map with row positions
32
- */
33
- export declare const buildCumulativeHeightMap: (rowCount: number, rowHeight: number, heightOffsets: HeightOffsets | undefined, customTheme: CustomTheme) => CumulativeHeightMap;
34
- /**
35
- * Find the row index at a given scroll position using binary search
36
- * Returns the index of the row that contains or is closest to the scroll position
37
- *
38
- * @param scrollTop - The scroll position in pixels
39
- * @param heightMap - Precomputed cumulative height map
40
- * @returns Row index at the scroll position
41
- */
42
- export declare const findRowAtScrollPosition: (scrollTop: number, heightMap: CumulativeHeightMap) => number;
43
- /**
44
- * Calculate cumulative extra height from nested grids above a given position
45
- * Uses binary search for O(log n) performance
46
- * @param position - The row position to calculate height for
47
- * @param heightOffsets - Sorted array of [position, extraHeight] tuples
48
- * @returns Total extra height from all nested grids above this position
49
- */
50
- export declare const getCumulativeExtraHeight: (position: number, heightOffsets?: HeightOffsets) => number;
51
- export declare const getTotalRowCount: (tableRows: TableRow[]) => number;
52
- /**
53
- * Calculate the total height of all rows including nested grids with extra heights
54
- * @param totalRowCount - Total number of rows
55
- * @param rowHeight - Standard height of each row
56
- * @param heightOffsets - Array of [position, extraHeight] tuples for rows with non-standard heights
57
- * @param customTheme - Custom theme configuration for separator width
58
- * @returns Total height in pixels
59
- */
60
- export declare const calculateTotalHeight: (totalRowCount: number, rowHeight: number, heightOffsets: HeightOffsets | undefined, customTheme: CustomTheme) => number;
61
- /**
62
- * Viewport range calculation result containing start/end indices and the actual rows
63
- */
64
- export interface ViewportRange {
65
- startIndex: number;
66
- endIndex: number;
67
- rows: TableRow[];
68
- }
69
- /**
70
- * Complete viewport calculations with multiple strategies
71
- * Provides three different ways to calculate visible rows for different use cases
72
- */
73
- export interface ViewportCalculations {
74
- /** Rows to render in the DOM (includes overscan buffer for smooth scrolling) */
75
- rendered: ViewportRange;
76
- /** Rows that are completely visible within the viewport boundaries */
77
- fullyVisible: ViewportRange;
78
- /** Rows that are at least partially visible in the viewport */
79
- partiallyVisible: ViewportRange;
80
- }
81
- /**
82
- * Calculate all viewport ranges for virtual scrolling with variable-height row support
83
- * Returns three different viewport calculations:
84
- * - rendered: What should be in the DOM (includes overscan buffer)
85
- * - fullyVisible: Rows completely visible (useful for scroll-to-view logic)
86
- * - partiallyVisible: Rows at least partially visible (useful for scroll boundaries)
87
- *
88
- * This function now supports variable-height rows by using a cumulative height map
89
- * for O(log n) viewport calculations instead of assuming fixed row heights.
90
- */
91
- export declare const getViewportCalculations: ({ bufferRowCount, contentHeight, rowHeight, scrollTop, tableRows, scrollDirection, heightMap, }: {
92
- bufferRowCount: number;
93
- contentHeight: number;
94
- rowHeight: number;
95
- scrollTop: number;
96
- tableRows: TableRow[];
97
- scrollDirection?: "up" | "down" | "none" | undefined;
98
- heightMap?: CumulativeHeightMap | undefined;
99
- }) => {
100
- rendered: {
101
- startIndex: number;
102
- endIndex: number;
103
- rows: TableRow[];
104
- };
105
- fullyVisible: {
106
- startIndex: number;
107
- endIndex: number;
108
- rows: TableRow[];
109
- };
110
- partiallyVisible: {
111
- startIndex: number;
112
- endIndex: number;
113
- rows: TableRow[];
114
- };
115
- };
116
- /**
117
- * Get visible rows with pixel-based overscan
118
- * Uses the viewport calculations internally and returns the rendered rows
119
- * Maintains backward compatibility with existing code
120
- */
121
- export declare const getVisibleRows: ({ bufferRowCount, contentHeight, rowHeight, scrollTop, tableRows, scrollDirection, heightMap, }: {
122
- bufferRowCount: number;
123
- contentHeight: number;
124
- rowHeight: number;
125
- scrollTop: number;
126
- tableRows: TableRow[];
127
- scrollDirection?: "up" | "down" | "none" | undefined;
128
- heightMap?: CumulativeHeightMap | undefined;
129
- }) => TableRow[];
130
- export declare const calculateSeparatorTopPosition: ({ position, rowHeight, heightOffsets, customTheme, }: {
131
- position: number;
132
- rowHeight: number;
133
- heightOffsets?: HeightOffsets | undefined;
134
- customTheme: CustomTheme;
135
- }) => number;
136
- export declare const calculateRowTopPosition: ({ position, rowHeight, heightOffsets, customTheme, }: {
137
- position: number;
138
- rowHeight: number;
139
- heightOffsets?: HeightOffsets | undefined;
140
- customTheme: CustomTheme;
141
- }) => number;
142
- export declare const getStickyParents: (allTableRows: TableRow[], renderedRows: TableRow[], fullyVisibleRows: TableRow[], partiallyVisibleRows: TableRow[], rowGrouping: Accessor[]) => {
143
- stickyParents: TableRow[];
144
- regularRows: TableRow[];
145
- };
1
+ import TableRow from "../types/TableRow";
2
+ import { CustomTheme } from "../types/CustomTheme";
3
+ import { Accessor } from "../types/HeaderObject";
4
+ /**
5
+ * Sorted array of [position, extraHeight] tuples for nested grids
6
+ * Position: the row index in flattened array
7
+ * ExtraHeight: additional height beyond standard rowHeight (in pixels)
8
+ * Array is kept sorted by position for efficient binary search
9
+ */
10
+ export type HeightOffsets = Array<[number, number]>;
11
+ /**
12
+ * Precomputed cumulative height data structure for O(1) row position lookups
13
+ * and O(log n) viewport calculations
14
+ */
15
+ export interface CumulativeHeightMap {
16
+ /** Array where index i contains the top pixel position of row i */
17
+ rowTopPositions: number[];
18
+ /** Total height of all rows combined */
19
+ totalHeight: number;
20
+ }
21
+ /**
22
+ * Build a cumulative height map for efficient viewport calculations
23
+ * This precomputes the top position of every row, enabling:
24
+ * - O(1) lookup of row top position
25
+ * - O(log n) binary search to find rows in viewport
26
+ *
27
+ * @param rowCount - Total number of rows
28
+ * @param rowHeight - Standard height of each row
29
+ * @param heightOffsets - Array of [position, extraHeight] for variable-height rows
30
+ * @param customTheme - Theme configuration for separator width
31
+ * @returns Cumulative height map with row positions
32
+ */
33
+ export declare const buildCumulativeHeightMap: (rowCount: number, rowHeight: number, heightOffsets: HeightOffsets | undefined, customTheme: CustomTheme) => CumulativeHeightMap;
34
+ /**
35
+ * Find the row index at a given scroll position using binary search
36
+ * Returns the index of the row that contains or is closest to the scroll position
37
+ *
38
+ * @param scrollTop - The scroll position in pixels
39
+ * @param heightMap - Precomputed cumulative height map
40
+ * @returns Row index at the scroll position
41
+ */
42
+ export declare const findRowAtScrollPosition: (scrollTop: number, heightMap: CumulativeHeightMap) => number;
43
+ /**
44
+ * Calculate cumulative extra height from nested grids above a given position
45
+ * Uses binary search for O(log n) performance
46
+ * @param position - The row position to calculate height for
47
+ * @param heightOffsets - Sorted array of [position, extraHeight] tuples
48
+ * @returns Total extra height from all nested grids above this position
49
+ */
50
+ export declare const getCumulativeExtraHeight: (position: number, heightOffsets?: HeightOffsets) => number;
51
+ export declare const getTotalRowCount: (tableRows: TableRow[]) => number;
52
+ /**
53
+ * Calculate the total height of all rows including nested grids with extra heights
54
+ * @param totalRowCount - Total number of rows
55
+ * @param rowHeight - Standard height of each row
56
+ * @param heightOffsets - Array of [position, extraHeight] tuples for rows with non-standard heights
57
+ * @param customTheme - Custom theme configuration for separator width
58
+ * @returns Total height in pixels
59
+ */
60
+ export declare const calculateTotalHeight: (totalRowCount: number, rowHeight: number, heightOffsets: HeightOffsets | undefined, customTheme: CustomTheme) => number;
61
+ /**
62
+ * Viewport range calculation result containing start/end indices and the actual rows
63
+ */
64
+ export interface ViewportRange {
65
+ startIndex: number;
66
+ endIndex: number;
67
+ rows: TableRow[];
68
+ }
69
+ /**
70
+ * Complete viewport calculations with multiple strategies
71
+ * Provides three different ways to calculate visible rows for different use cases
72
+ */
73
+ export interface ViewportCalculations {
74
+ /** Rows to render in the DOM (includes overscan buffer for smooth scrolling) */
75
+ rendered: ViewportRange;
76
+ /** Rows that are completely visible within the viewport boundaries */
77
+ fullyVisible: ViewportRange;
78
+ /** Rows that are at least partially visible in the viewport */
79
+ partiallyVisible: ViewportRange;
80
+ }
81
+ /**
82
+ * Calculate all viewport ranges for virtual scrolling with variable-height row support
83
+ * Returns three different viewport calculations:
84
+ * - rendered: What should be in the DOM (includes overscan buffer)
85
+ * - fullyVisible: Rows completely visible (useful for scroll-to-view logic)
86
+ * - partiallyVisible: Rows at least partially visible (useful for scroll boundaries)
87
+ *
88
+ * This function now supports variable-height rows by using a cumulative height map
89
+ * for O(log n) viewport calculations instead of assuming fixed row heights.
90
+ */
91
+ export declare const getViewportCalculations: ({ bufferRowCount, contentHeight, rowHeight, scrollTop, tableRows, scrollDirection, heightMap, }: {
92
+ bufferRowCount: number;
93
+ contentHeight: number;
94
+ rowHeight: number;
95
+ scrollTop: number;
96
+ tableRows: TableRow[];
97
+ scrollDirection?: "up" | "down" | "none";
98
+ heightMap?: CumulativeHeightMap;
99
+ }) => {
100
+ rendered: {
101
+ startIndex: number;
102
+ endIndex: number;
103
+ rows: TableRow[];
104
+ };
105
+ fullyVisible: {
106
+ startIndex: number;
107
+ endIndex: number;
108
+ rows: TableRow[];
109
+ };
110
+ partiallyVisible: {
111
+ startIndex: number;
112
+ endIndex: number;
113
+ rows: TableRow[];
114
+ };
115
+ };
116
+ /**
117
+ * Get visible rows with pixel-based overscan
118
+ * Uses the viewport calculations internally and returns the rendered rows
119
+ * Maintains backward compatibility with existing code
120
+ */
121
+ export declare const getVisibleRows: ({ bufferRowCount, contentHeight, rowHeight, scrollTop, tableRows, scrollDirection, heightMap, }: {
122
+ bufferRowCount: number;
123
+ contentHeight: number;
124
+ rowHeight: number;
125
+ scrollTop: number;
126
+ tableRows: TableRow[];
127
+ scrollDirection?: "up" | "down" | "none";
128
+ heightMap?: CumulativeHeightMap;
129
+ }) => TableRow[];
130
+ export declare const calculateSeparatorTopPosition: ({ position, rowHeight, heightOffsets, customTheme, }: {
131
+ position: number;
132
+ rowHeight: number;
133
+ heightOffsets?: HeightOffsets;
134
+ customTheme: CustomTheme;
135
+ }) => number;
136
+ export declare const calculateRowTopPosition: ({ position, rowHeight, heightOffsets, customTheme, }: {
137
+ position: number;
138
+ rowHeight: number;
139
+ heightOffsets?: HeightOffsets;
140
+ customTheme: CustomTheme;
141
+ }) => number;
142
+ export declare const getStickyParents: (allTableRows: TableRow[], renderedRows: TableRow[], fullyVisibleRows: TableRow[], partiallyVisibleRows: TableRow[], rowGrouping: Accessor[]) => {
143
+ stickyParents: TableRow[];
144
+ regularRows: TableRow[];
145
+ };
@@ -1,11 +1,11 @@
1
- import type Row from "../types/Row";
2
- import type { GetRowId } from "../types/GetRowId";
3
- /** Mark and return a fresh empty row used as an `isLoading` skeleton placeholder. */
4
- export declare const createLoadingPlaceholderRow: () => Row;
5
- export declare const isLoadingPlaceholderRow: (row: Row) => boolean;
6
- /**
7
- * Consumer `getRowId` often collapses empty placeholders to the same key.
8
- * Skip it for placeholders so WeakMap identity / positional ids stay unique.
9
- */
10
- export declare const wrapGetRowIdForLoadingPlaceholders: (getRowId: GetRowId | undefined) => GetRowId | undefined;
11
- export declare const createLoadingPlaceholderRows: (count: number) => Row[];
1
+ import type Row from "../types/Row";
2
+ import type { GetRowId } from "../types/GetRowId";
3
+ /** Mark and return a fresh empty row used as an `isLoading` skeleton placeholder. */
4
+ export declare const createLoadingPlaceholderRow: () => Row;
5
+ export declare const isLoadingPlaceholderRow: (row: Row) => boolean;
6
+ /**
7
+ * Consumer `getRowId` often collapses empty placeholders to the same key.
8
+ * Skip it for placeholders so WeakMap identity / positional ids stay unique.
9
+ */
10
+ export declare const wrapGetRowIdForLoadingPlaceholders: (getRowId: GetRowId | undefined) => GetRowId | undefined;
11
+ export declare const createLoadingPlaceholderRows: (count: number) => Row[];