simple-table-core 4.0.0 → 4.0.2

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 (654) 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 +172 -172
  9. package/dist/{src/core → core}/rendering/SectionRenderer.d.ts +119 -119
  10. package/dist/{cjs/src/core → core}/rendering/TableRenderer.d.ts +120 -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 +129 -124
  96. package/dist/{cjs/src/types → types}/SimpleTableProps.d.ts +173 -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 +18 -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 +31 -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/{cjs/src/utils → utils}/headerUtils.d.ts +41 -41
  166. package/dist/{src/utils → utils}/headerWidthUtils.d.ts +121 -121
  167. package/dist/{src/utils → utils}/horizontalScrollbarRenderer.d.ts +27 -27
  168. package/dist/{cjs/src/utils → utils}/infiniteScrollUtils.d.ts +145 -145
  169. package/dist/utils/loadingPlaceholderUtils.d.ts +11 -0
  170. package/dist/{src/utils → utils}/nestedGridRowRenderer.d.ts +50 -50
  171. package/dist/utils/normalizeConfig.d.ts +62 -0
  172. package/dist/{cjs/src/utils → utils}/pinnedColumnUtils.d.ts +29 -29
  173. package/dist/{cjs/src/utils → utils}/pivot/pivotRows.d.ts +16 -16
  174. package/dist/{src/utils → utils}/propSyncEqual.d.ts +60 -60
  175. package/dist/{cjs/src/utils → utils}/quickFilterUtils.d.ts +14 -14
  176. package/dist/{src/utils → utils}/resizeUtils/autoExpandResize.d.ts +32 -32
  177. package/dist/{cjs/src/utils → utils}/resizeUtils/compensation.d.ts +17 -17
  178. package/dist/{src/utils → utils}/resizeUtils/domUpdates.d.ts +15 -15
  179. package/dist/{cjs/src/utils → utils}/resizeUtils/index.d.ts +26 -26
  180. package/dist/{src/utils → utils}/resizeUtils/maxWidth.d.ts +9 -9
  181. package/dist/{cjs/src/utils → utils}/resizeUtils/parentHeaderResize.d.ts +11 -11
  182. package/dist/{cjs/src/utils → utils}/resizeUtils/sectionWidths.d.ts +36 -36
  183. package/dist/{src/utils → utils}/rowFlattening.d.ts +30 -30
  184. package/dist/{cjs/src/utils → utils}/rowProcessing.d.ts +65 -65
  185. package/dist/{cjs/src/utils → utils}/rowSelectionUtils.d.ts +62 -62
  186. package/dist/{src/utils → utils}/rowSeparatorRenderer.d.ts +16 -16
  187. package/dist/{cjs/src/utils → utils}/rowUtils.d.ts +187 -187
  188. package/dist/{cjs/src/utils → utils}/sortUtils.d.ts +8 -8
  189. package/dist/{cjs/src/utils → utils}/stateRowRenderer.d.ts +15 -15
  190. package/dist/{src/utils → utils}/stickyParentsRenderer.d.ts +53 -53
  191. package/package.json +12 -6
  192. package/styles.css.d.ts +1 -0
  193. package/dist/cjs/src/core/api/TableAPIImpl.d.ts +0 -78
  194. package/dist/cjs/src/core/rendering/SectionRenderer.d.ts +0 -119
  195. package/dist/cjs/src/hooks/ariaAnnouncements.d.ts +0 -37
  196. package/dist/cjs/src/hooks/contentHeight.d.ts +0 -29
  197. package/dist/cjs/src/hooks/scrollbarVisibility.d.ts +0 -65
  198. package/dist/cjs/src/hooks/scrollbarWidth.d.ts +0 -52
  199. package/dist/cjs/src/hooks/useAggregatedRows.d.ts +0 -14
  200. package/dist/cjs/src/hooks/useQuickFilter.d.ts +0 -14
  201. package/dist/cjs/src/hooks/windowResize.d.ts +0 -31
  202. package/dist/cjs/src/icons/index.d.ts +0 -14
  203. package/dist/cjs/src/managers/ColumnManager.d.ts +0 -42
  204. package/dist/cjs/src/managers/DragHandlerManager.d.ts +0 -44
  205. package/dist/cjs/src/managers/FilterManager.d.ts +0 -36
  206. package/dist/cjs/src/managers/PivotManager.d.ts +0 -35
  207. package/dist/cjs/src/managers/RowSelectionManager.d.ts +0 -72
  208. package/dist/cjs/src/managers/SectionScrollController.d.ts +0 -74
  209. package/dist/cjs/src/managers/SelectionManager/SelectionManager.d.ts +0 -251
  210. package/dist/cjs/src/managers/SelectionManager/index.d.ts +0 -2
  211. package/dist/cjs/src/managers/SelectionManager/keyboardUtils.d.ts +0 -7
  212. package/dist/cjs/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -7
  213. package/dist/cjs/src/managers/SelectionManager/types.d.ts +0 -28
  214. package/dist/cjs/src/managers/SortManager.d.ts +0 -42
  215. package/dist/cjs/src/types/AggregationTypes.d.ts +0 -8
  216. package/dist/cjs/src/types/BoundingBox.d.ts +0 -11
  217. package/dist/cjs/src/types/CellRendererProps.d.ts +0 -32
  218. package/dist/cjs/src/types/ColumnEditorConfig.d.ts +0 -42
  219. package/dist/cjs/src/types/ColumnEditorCustomRendererProps.d.ts +0 -14
  220. package/dist/cjs/src/types/ColumnEditorRowRendererProps.d.ts +0 -39
  221. package/dist/cjs/src/types/ColumnVisibilityTypes.d.ts +0 -4
  222. package/dist/cjs/src/types/CustomTheme.d.ts +0 -28
  223. package/dist/cjs/src/types/DragHandlerProps.d.ts +0 -14
  224. package/dist/cjs/src/types/EnumOption.d.ts +0 -5
  225. package/dist/cjs/src/types/FlattenedHeader.d.ts +0 -10
  226. package/dist/cjs/src/types/FooterRendererProps.d.ts +0 -17
  227. package/dist/cjs/src/types/HeaderObject.d.ts +0 -133
  228. package/dist/cjs/src/types/IconsConfig.d.ts +0 -19
  229. package/dist/cjs/src/types/PinnedSectionsState.d.ts +0 -6
  230. package/dist/cjs/src/types/RowSelectionMode.d.ts +0 -8
  231. package/dist/cjs/src/types/SelectionType.d.ts +0 -7
  232. package/dist/cjs/src/types/SharedTableProps.d.ts +0 -24
  233. package/dist/cjs/src/types/TableRow.d.ts +0 -39
  234. package/dist/cjs/src/types/TableRowProps.d.ts +0 -29
  235. package/dist/cjs/src/types/UpdateCellProps.d.ts +0 -8
  236. package/dist/cjs/src/utils/aggregationUtils.d.ts +0 -7
  237. package/dist/cjs/src/utils/ariaRowOwnership.d.ts +0 -37
  238. package/dist/cjs/src/utils/asRows.d.ts +0 -7
  239. package/dist/cjs/src/utils/bodyCell/cellLiveRef.d.ts +0 -9
  240. package/dist/cjs/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -2
  241. package/dist/cjs/src/utils/bodyCell/editors/datePicker.d.ts +0 -2
  242. package/dist/cjs/src/utils/bodyCell/editors/dropdown.d.ts +0 -18
  243. package/dist/cjs/src/utils/bodyCell/selection.d.ts +0 -7
  244. package/dist/cjs/src/utils/bodyCell/types.d.ts +0 -170
  245. package/dist/cjs/src/utils/bodyCellRenderer.d.ts +0 -6
  246. package/dist/cjs/src/utils/cellClipboardUtils.d.ts +0 -25
  247. package/dist/cjs/src/utils/collapseUtils.d.ts +0 -31
  248. package/dist/cjs/src/utils/columnEditor/columnEditorUtils.d.ts +0 -27
  249. package/dist/cjs/src/utils/columnEditor/createCheckbox.d.ts +0 -21
  250. package/dist/cjs/src/utils/columnEditor/createColumnEditor.d.ts +0 -26
  251. package/dist/cjs/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -41
  252. package/dist/cjs/src/utils/columnVirtualizationUtils.d.ts +0 -128
  253. package/dist/cjs/src/utils/externalScroll.d.ts +0 -58
  254. package/dist/cjs/src/utils/filters/createFilterDropdown.d.ts +0 -15
  255. package/dist/cjs/src/utils/filters/createNumberFilter.d.ts +0 -15
  256. package/dist/cjs/src/utils/headerCell/collapsing.d.ts +0 -6
  257. package/dist/cjs/src/utils/headerCell/editing.d.ts +0 -4
  258. package/dist/cjs/src/utils/headerCell/eventTracking.d.ts +0 -28
  259. package/dist/cjs/src/utils/headerCell/filtering.d.ts +0 -3
  260. package/dist/cjs/src/utils/headerCell/resizing.d.ts +0 -3
  261. package/dist/cjs/src/utils/headerCell/selection.d.ts +0 -10
  262. package/dist/cjs/src/utils/headerCell/sorting.d.ts +0 -3
  263. package/dist/cjs/src/utils/headerCell/types.d.ts +0 -110
  264. package/dist/cjs/src/utils/headerWidthUtils.d.ts +0 -121
  265. package/dist/cjs/src/utils/horizontalScrollbarRenderer.d.ts +0 -27
  266. package/dist/cjs/src/utils/nestedGridRowRenderer.d.ts +0 -50
  267. package/dist/cjs/src/utils/propSyncEqual.d.ts +0 -60
  268. package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +0 -32
  269. package/dist/cjs/src/utils/resizeUtils/domUpdates.d.ts +0 -15
  270. package/dist/cjs/src/utils/resizeUtils/maxWidth.d.ts +0 -9
  271. package/dist/cjs/src/utils/rowFlattening.d.ts +0 -30
  272. package/dist/cjs/src/utils/rowSeparatorRenderer.d.ts +0 -16
  273. package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +0 -53
  274. package/dist/cjs/stories/data/aggregate-data.d.ts +0 -5
  275. package/dist/cjs/stories/data/athlete-data.d.ts +0 -3
  276. package/dist/cjs/stories/data/retail-data.d.ts +0 -3
  277. package/dist/cjs/stories/data/saas-data.d.ts +0 -6
  278. package/dist/cjs/stories/data/space-data.d.ts +0 -3
  279. package/dist/cjs/stories/docs/Examples.stories.d.ts +0 -18
  280. package/dist/cjs/stories/docs/Features.stories.d.ts +0 -54
  281. package/dist/cjs/stories/docs/GettingStarted.stories.d.ts +0 -7
  282. package/dist/cjs/stories/docs/storyArgs.d.ts +0 -155
  283. package/dist/cjs/stories/examples/AdvancedSortingExample.d.ts +0 -6
  284. package/dist/cjs/stories/examples/AggregateExample.d.ts +0 -7
  285. package/dist/cjs/stories/examples/AlignmentExample.d.ts +0 -10
  286. package/dist/cjs/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  287. package/dist/cjs/stories/examples/BasicExample.d.ts +0 -12
  288. package/dist/cjs/stories/examples/BasicRowGrouping.d.ts +0 -11
  289. package/dist/cjs/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  290. package/dist/cjs/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  291. package/dist/cjs/stories/examples/CellHighlighting.d.ts +0 -7
  292. package/dist/cjs/stories/examples/CellRenderer.d.ts +0 -7
  293. package/dist/cjs/stories/examples/ChartsExample.d.ts +0 -13
  294. package/dist/cjs/stories/examples/ClayExample.d.ts +0 -14
  295. package/dist/cjs/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  296. package/dist/cjs/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  297. package/dist/cjs/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  298. package/dist/cjs/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  299. package/dist/cjs/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  300. package/dist/cjs/stories/examples/DynamicHeadersExample.d.ts +0 -5
  301. package/dist/cjs/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  302. package/dist/cjs/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  303. package/dist/cjs/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  304. package/dist/cjs/stories/examples/EditableCells.d.ts +0 -8
  305. package/dist/cjs/stories/examples/ExpansionControlExample.d.ts +0 -6
  306. package/dist/cjs/stories/examples/ExternalFilterExample.d.ts +0 -5
  307. package/dist/cjs/stories/examples/ExternalSortExample.d.ts +0 -6
  308. package/dist/cjs/stories/examples/HeaderInclusionExample.d.ts +0 -5
  309. package/dist/cjs/stories/examples/HiddenColumnsExample.d.ts +0 -9
  310. package/dist/cjs/stories/examples/InfiniteScroll.d.ts +0 -5
  311. package/dist/cjs/stories/examples/LiveUpdates.d.ts +0 -5
  312. package/dist/cjs/stories/examples/LoadingStateExample.d.ts +0 -2
  313. package/dist/cjs/stories/examples/NestedAccessorExample.d.ts +0 -8
  314. package/dist/cjs/stories/examples/NestedGridExample.d.ts +0 -5
  315. package/dist/cjs/stories/examples/Pagination.d.ts +0 -12
  316. package/dist/cjs/stories/examples/PaginationAPIExample.d.ts +0 -8
  317. package/dist/cjs/stories/examples/PivotExample.d.ts +0 -16
  318. package/dist/cjs/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  319. package/dist/cjs/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  320. package/dist/cjs/stories/examples/QuickFilterExample.d.ts +0 -5
  321. package/dist/cjs/stories/examples/RadioStationsExample.d.ts +0 -3
  322. package/dist/cjs/stories/examples/RowButtonsExample.d.ts +0 -14
  323. package/dist/cjs/stories/examples/RowHeightExample.d.ts +0 -8
  324. package/dist/cjs/stories/examples/RowSelectionExample.d.ts +0 -11
  325. package/dist/cjs/stories/examples/SelectableCells.d.ts +0 -14
  326. package/dist/cjs/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  327. package/dist/cjs/stories/examples/Theming.d.ts +0 -12
  328. package/dist/cjs/stories/examples/TooltipExample.d.ts +0 -8
  329. package/dist/cjs/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  330. package/dist/cjs/stories/examples/billing-example/BillingExample.d.ts +0 -13
  331. package/dist/cjs/stories/examples/billing-example/billing-headers.d.ts +0 -5
  332. package/dist/cjs/stories/examples/crypto/CryptoExample.d.ts +0 -14
  333. package/dist/cjs/stories/examples/crypto/crypto-data.d.ts +0 -30
  334. package/dist/cjs/stories/examples/crypto/crypto-headers.d.ts +0 -5
  335. package/dist/cjs/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  336. package/dist/cjs/stories/examples/filter-example/FilterExample.d.ts +0 -9
  337. package/dist/cjs/stories/examples/filter-example/filter-headers.d.ts +0 -5
  338. package/dist/cjs/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  339. package/dist/cjs/stories/examples/finance-example/finance-headers.d.ts +0 -5
  340. package/dist/cjs/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  341. package/dist/cjs/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  342. package/dist/cjs/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  343. package/dist/cjs/stories/examples/leads/LeadsExample.d.ts +0 -8
  344. package/dist/cjs/stories/examples/leads/leads-data.d.ts +0 -5
  345. package/dist/cjs/stories/examples/leads/leads-headers.d.ts +0 -6
  346. package/dist/cjs/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  347. package/dist/cjs/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  348. package/dist/cjs/stories/examples/music/MusicExample.d.ts +0 -13
  349. package/dist/cjs/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  350. package/dist/cjs/stories/examples/music/music-headers.d.ts +0 -5
  351. package/dist/cjs/stories/examples/music/music-window.data.d.ts +0 -47
  352. package/dist/cjs/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  353. package/dist/cjs/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  354. package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +0 -14
  355. package/dist/cjs/stories/examples/sales-example/sales-headers.d.ts +0 -6
  356. package/dist/cjs/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  357. package/dist/cjs/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  358. package/dist/cjs/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  359. package/dist/cjs/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  360. package/dist/cjs/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  361. package/dist/cjs/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  362. package/dist/cjs/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  363. package/dist/cjs/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  364. package/dist/cjs/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  365. package/dist/cjs/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  366. package/dist/cjs/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  367. package/dist/cjs/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  368. package/dist/cjs/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  369. package/dist/cjs/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  370. package/dist/cjs/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  371. package/dist/cjs/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  372. package/dist/cjs/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  373. package/dist/cjs/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  374. package/dist/cjs/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  375. package/dist/cjs/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  376. package/dist/cjs/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  377. package/dist/cjs/stories/tests/22-LoadingStateTests.stories.d.ts +0 -87
  378. package/dist/cjs/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  379. package/dist/cjs/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  380. package/dist/cjs/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  381. package/dist/cjs/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  382. package/dist/cjs/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  383. package/dist/cjs/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  384. package/dist/cjs/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  385. package/dist/cjs/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  386. package/dist/cjs/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  387. package/dist/cjs/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  388. package/dist/cjs/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  389. package/dist/cjs/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  390. package/dist/cjs/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  391. package/dist/cjs/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  392. package/dist/cjs/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  393. package/dist/cjs/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  394. package/dist/cjs/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  395. package/dist/cjs/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  396. package/dist/cjs/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  397. package/dist/cjs/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  398. package/dist/cjs/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  399. package/dist/cjs/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  400. package/dist/cjs/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  401. package/dist/cjs/stories/tests/45-PivotTests.stories.d.ts +0 -8
  402. package/dist/cjs/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  403. package/dist/cjs/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  404. package/dist/cjs/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  405. package/dist/cjs/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  406. package/dist/cjs/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  407. package/dist/cjs/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  408. package/dist/cjs/stories/tests/testUtils.d.ts +0 -38
  409. package/dist/cjs/stories/utils.d.ts +0 -42
  410. package/dist/cjs/stories/vanillaStoryConfig.d.ts +0 -156
  411. package/dist/src/consts/column-constraints.d.ts +0 -58
  412. package/dist/src/consts/general-consts.d.ts +0 -32
  413. package/dist/src/core/SimpleTableVanilla.d.ts +0 -369
  414. package/dist/src/core/dom/DOMManager.d.ts +0 -52
  415. package/dist/src/core/initialization/TableInitializer.d.ts +0 -34
  416. package/dist/src/core/rendering/RenderOrchestrator.d.ts +0 -172
  417. package/dist/src/core/rendering/TableRenderer.d.ts +0 -120
  418. package/dist/src/hooks/expandedDepths.d.ts +0 -69
  419. package/dist/src/hooks/handleOutsideClick.d.ts +0 -50
  420. package/dist/src/hooks/previousValue.d.ts +0 -30
  421. package/dist/src/icons/AngleDownIcon.d.ts +0 -1
  422. package/dist/src/icons/AngleLeftIcon.d.ts +0 -1
  423. package/dist/src/icons/AngleRightIcon.d.ts +0 -1
  424. package/dist/src/icons/AngleUpIcon.d.ts +0 -1
  425. package/dist/src/icons/AscIcon.d.ts +0 -1
  426. package/dist/src/icons/CheckIcon.d.ts +0 -1
  427. package/dist/src/icons/DescIcon.d.ts +0 -1
  428. package/dist/src/icons/DragIcon.d.ts +0 -1
  429. package/dist/src/icons/FilterIcon.d.ts +0 -1
  430. package/dist/src/icons/SelectIcon.d.ts +0 -1
  431. package/dist/src/index.d.ts +0 -58
  432. package/dist/src/managers/AnimationCoordinator.d.ts +0 -356
  433. package/dist/src/managers/AutoScaleManager.d.ts +0 -33
  434. package/dist/src/managers/DimensionManager.d.ts +0 -84
  435. package/dist/src/managers/RowManager.d.ts +0 -56
  436. package/dist/src/managers/ScrollManager.d.ts +0 -38
  437. package/dist/src/managers/SelectionManager/mouseUtils.d.ts +0 -16
  438. package/dist/src/managers/TableManager.d.ts +0 -72
  439. package/dist/src/types/AnimationsConfig.d.ts +0 -16
  440. package/dist/src/types/Cell.d.ts +0 -7
  441. package/dist/src/types/CellChangeProps.d.ts +0 -9
  442. package/dist/src/types/CellClickProps.d.ts +0 -11
  443. package/dist/src/types/CellValue.d.ts +0 -2
  444. package/dist/src/types/FilterTypes.d.ts +0 -31
  445. package/dist/src/types/FooterPosition.d.ts +0 -3
  446. package/dist/src/types/GenerateRowIdParams.d.ts +0 -11
  447. package/dist/src/types/GetRowId.d.ts +0 -16
  448. package/dist/src/types/HandleResizeStartProps.d.ts +0 -25
  449. package/dist/src/types/HeaderDropdownProps.d.ts +0 -14
  450. package/dist/src/types/HeaderRendererProps.d.ts +0 -17
  451. package/dist/src/types/OnNextPage.d.ts +0 -2
  452. package/dist/src/types/OnRowGroupExpandProps.d.ts +0 -16
  453. package/dist/src/types/OnSortProps.d.ts +0 -3
  454. package/dist/src/types/PanelSection.d.ts +0 -1
  455. package/dist/src/types/Pinned.d.ts +0 -1
  456. package/dist/src/types/PivotTypes.d.ts +0 -37
  457. package/dist/src/types/QuickFilterTypes.d.ts +0 -21
  458. package/dist/src/types/Row.d.ts +0 -3
  459. package/dist/src/types/RowButton.d.ts +0 -6
  460. package/dist/src/types/RowId.d.ts +0 -1
  461. package/dist/src/types/RowSelectionChangeProps.d.ts +0 -7
  462. package/dist/src/types/RowState.d.ts +0 -12
  463. package/dist/src/types/RowStateRendererProps.d.ts +0 -18
  464. package/dist/src/types/SelectionType.d.ts +0 -7
  465. package/dist/src/types/SimpleTableConfig.d.ts +0 -124
  466. package/dist/src/types/SimpleTableProps.d.ts +0 -125
  467. package/dist/src/types/SortColumn.d.ts +0 -8
  468. package/dist/src/types/TableAPI.d.ts +0 -82
  469. package/dist/src/types/TableBodyProps.d.ts +0 -20
  470. package/dist/src/types/TableHeaderProps.d.ts +0 -17
  471. package/dist/src/types/TableHeaderSectionProps.d.ts +0 -19
  472. package/dist/src/types/Theme.d.ts +0 -2
  473. package/dist/src/utils/accordionAnimation.d.ts +0 -25
  474. package/dist/src/utils/bodyCell/content.d.ts +0 -5
  475. package/dist/src/utils/bodyCell/editing.d.ts +0 -4
  476. package/dist/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -2
  477. package/dist/src/utils/bodyCell/eventTracking.d.ts +0 -3
  478. package/dist/src/utils/bodyCell/expansion.d.ts +0 -12
  479. package/dist/src/utils/bodyCell/styling.d.ts +0 -11
  480. package/dist/src/utils/cellScrollUtils.d.ts +0 -10
  481. package/dist/src/utils/cellUtils.d.ts +0 -18
  482. package/dist/src/utils/charts/createBarChart.d.ts +0 -20
  483. package/dist/src/utils/charts/createLineAreaChart.d.ts +0 -25
  484. package/dist/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -23
  485. package/dist/src/utils/columnIndicesUtils.d.ts +0 -15
  486. package/dist/src/utils/csvExportUtils.d.ts +0 -14
  487. package/dist/src/utils/dateUtils.d.ts +0 -18
  488. package/dist/src/utils/filterUtils.d.ts +0 -5
  489. package/dist/src/utils/filters/createBooleanFilter.d.ts +0 -15
  490. package/dist/src/utils/filters/createCustomSelect.d.ts +0 -20
  491. package/dist/src/utils/filters/createDateFilter.d.ts +0 -15
  492. package/dist/src/utils/filters/createDatePicker.d.ts +0 -10
  493. package/dist/src/utils/filters/createDropdown.d.ts +0 -33
  494. package/dist/src/utils/filters/createEnumFilter.d.ts +0 -15
  495. package/dist/src/utils/filters/createFilterActions.d.ts +0 -12
  496. package/dist/src/utils/filters/createFilterInput.d.ts +0 -16
  497. package/dist/src/utils/filters/createStringFilter.d.ts +0 -15
  498. package/dist/src/utils/footer/createTableFooter.d.ts +0 -21
  499. package/dist/src/utils/formatters.d.ts +0 -3
  500. package/dist/src/utils/generalUtils.d.ts +0 -4
  501. package/dist/src/utils/headerCell/dragging.d.ts +0 -5
  502. package/dist/src/utils/headerCell/styling.d.ts +0 -7
  503. package/dist/src/utils/headerCellRenderer.d.ts +0 -4
  504. package/dist/src/utils/headerUtils.d.ts +0 -41
  505. package/dist/src/utils/infiniteScrollUtils.d.ts +0 -145
  506. package/dist/src/utils/pinnedColumnUtils.d.ts +0 -29
  507. package/dist/src/utils/pivot/pivotRows.d.ts +0 -16
  508. package/dist/src/utils/quickFilterUtils.d.ts +0 -14
  509. package/dist/src/utils/resizeUtils/compensation.d.ts +0 -17
  510. package/dist/src/utils/resizeUtils/index.d.ts +0 -26
  511. package/dist/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -11
  512. package/dist/src/utils/resizeUtils/sectionWidths.d.ts +0 -36
  513. package/dist/src/utils/rowProcessing.d.ts +0 -65
  514. package/dist/src/utils/rowSelectionUtils.d.ts +0 -62
  515. package/dist/src/utils/rowUtils.d.ts +0 -187
  516. package/dist/src/utils/sortUtils.d.ts +0 -8
  517. package/dist/src/utils/stateRowRenderer.d.ts +0 -15
  518. package/dist/stories/data/aggregate-data.d.ts +0 -5
  519. package/dist/stories/data/athlete-data.d.ts +0 -3
  520. package/dist/stories/data/retail-data.d.ts +0 -3
  521. package/dist/stories/data/saas-data.d.ts +0 -6
  522. package/dist/stories/data/space-data.d.ts +0 -3
  523. package/dist/stories/docs/Examples.stories.d.ts +0 -18
  524. package/dist/stories/docs/Features.stories.d.ts +0 -54
  525. package/dist/stories/docs/GettingStarted.stories.d.ts +0 -7
  526. package/dist/stories/docs/storyArgs.d.ts +0 -155
  527. package/dist/stories/examples/AdvancedSortingExample.d.ts +0 -6
  528. package/dist/stories/examples/AggregateExample.d.ts +0 -7
  529. package/dist/stories/examples/AlignmentExample.d.ts +0 -10
  530. package/dist/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  531. package/dist/stories/examples/BasicExample.d.ts +0 -12
  532. package/dist/stories/examples/BasicRowGrouping.d.ts +0 -11
  533. package/dist/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  534. package/dist/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  535. package/dist/stories/examples/CellHighlighting.d.ts +0 -7
  536. package/dist/stories/examples/CellRenderer.d.ts +0 -7
  537. package/dist/stories/examples/ChartsExample.d.ts +0 -13
  538. package/dist/stories/examples/ClayExample.d.ts +0 -14
  539. package/dist/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  540. package/dist/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  541. package/dist/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  542. package/dist/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  543. package/dist/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  544. package/dist/stories/examples/DynamicHeadersExample.d.ts +0 -5
  545. package/dist/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  546. package/dist/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  547. package/dist/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  548. package/dist/stories/examples/EditableCells.d.ts +0 -8
  549. package/dist/stories/examples/ExpansionControlExample.d.ts +0 -6
  550. package/dist/stories/examples/ExternalFilterExample.d.ts +0 -5
  551. package/dist/stories/examples/ExternalSortExample.d.ts +0 -6
  552. package/dist/stories/examples/HeaderInclusionExample.d.ts +0 -5
  553. package/dist/stories/examples/HiddenColumnsExample.d.ts +0 -9
  554. package/dist/stories/examples/InfiniteScroll.d.ts +0 -5
  555. package/dist/stories/examples/LiveUpdates.d.ts +0 -5
  556. package/dist/stories/examples/LoadingStateExample.d.ts +0 -2
  557. package/dist/stories/examples/NestedAccessorExample.d.ts +0 -8
  558. package/dist/stories/examples/NestedGridExample.d.ts +0 -5
  559. package/dist/stories/examples/Pagination.d.ts +0 -12
  560. package/dist/stories/examples/PaginationAPIExample.d.ts +0 -8
  561. package/dist/stories/examples/PivotExample.d.ts +0 -16
  562. package/dist/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  563. package/dist/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  564. package/dist/stories/examples/QuickFilterExample.d.ts +0 -5
  565. package/dist/stories/examples/RadioStationsExample.d.ts +0 -3
  566. package/dist/stories/examples/RowButtonsExample.d.ts +0 -14
  567. package/dist/stories/examples/RowHeightExample.d.ts +0 -8
  568. package/dist/stories/examples/RowSelectionExample.d.ts +0 -11
  569. package/dist/stories/examples/SelectableCells.d.ts +0 -14
  570. package/dist/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  571. package/dist/stories/examples/Theming.d.ts +0 -12
  572. package/dist/stories/examples/TooltipExample.d.ts +0 -8
  573. package/dist/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  574. package/dist/stories/examples/billing-example/BillingExample.d.ts +0 -13
  575. package/dist/stories/examples/billing-example/billing-headers.d.ts +0 -5
  576. package/dist/stories/examples/crypto/CryptoExample.d.ts +0 -14
  577. package/dist/stories/examples/crypto/crypto-data.d.ts +0 -30
  578. package/dist/stories/examples/crypto/crypto-headers.d.ts +0 -5
  579. package/dist/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  580. package/dist/stories/examples/filter-example/FilterExample.d.ts +0 -9
  581. package/dist/stories/examples/filter-example/filter-headers.d.ts +0 -5
  582. package/dist/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  583. package/dist/stories/examples/finance-example/finance-headers.d.ts +0 -5
  584. package/dist/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  585. package/dist/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  586. package/dist/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  587. package/dist/stories/examples/leads/LeadsExample.d.ts +0 -8
  588. package/dist/stories/examples/leads/leads-data.d.ts +0 -5
  589. package/dist/stories/examples/leads/leads-headers.d.ts +0 -6
  590. package/dist/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  591. package/dist/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  592. package/dist/stories/examples/music/MusicExample.d.ts +0 -13
  593. package/dist/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  594. package/dist/stories/examples/music/music-headers.d.ts +0 -5
  595. package/dist/stories/examples/music/music-window.data.d.ts +0 -47
  596. package/dist/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  597. package/dist/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  598. package/dist/stories/examples/sales-example/SalesExample.d.ts +0 -14
  599. package/dist/stories/examples/sales-example/sales-headers.d.ts +0 -6
  600. package/dist/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  601. package/dist/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  602. package/dist/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  603. package/dist/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  604. package/dist/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  605. package/dist/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  606. package/dist/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  607. package/dist/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  608. package/dist/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  609. package/dist/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  610. package/dist/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  611. package/dist/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  612. package/dist/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  613. package/dist/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  614. package/dist/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  615. package/dist/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  616. package/dist/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  617. package/dist/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  618. package/dist/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  619. package/dist/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  620. package/dist/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  621. package/dist/stories/tests/22-LoadingStateTests.stories.d.ts +0 -87
  622. package/dist/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  623. package/dist/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  624. package/dist/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  625. package/dist/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  626. package/dist/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  627. package/dist/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  628. package/dist/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  629. package/dist/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  630. package/dist/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  631. package/dist/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  632. package/dist/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  633. package/dist/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  634. package/dist/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  635. package/dist/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  636. package/dist/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  637. package/dist/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  638. package/dist/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  639. package/dist/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  640. package/dist/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  641. package/dist/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  642. package/dist/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  643. package/dist/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  644. package/dist/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  645. package/dist/stories/tests/45-PivotTests.stories.d.ts +0 -8
  646. package/dist/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  647. package/dist/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  648. package/dist/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  649. package/dist/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  650. package/dist/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  651. package/dist/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  652. package/dist/stories/tests/testUtils.d.ts +0 -38
  653. package/dist/stories/utils.d.ts +0 -42
  654. package/dist/stories/vanillaStoryConfig.d.ts +0 -156
@@ -1,356 +0,0 @@
1
- export interface AnimationCoordinatorOptions {
2
- duration?: number;
3
- easing?: string;
4
- }
5
- export interface CellPosition {
6
- left: number;
7
- top: number;
8
- width: number;
9
- height: number;
10
- }
11
- /**
12
- * FLIP-style animation coordinator for body cells with virtualization awareness.
13
- *
14
- * Triggered explicitly via {@link captureSnapshot} (before a layout-affecting
15
- * change) and {@link play} (after the renderer has placed cells at their new
16
- * positions).
17
- *
18
- * Three classes of cells participate in an animation:
19
- * - Persistent cells (visible before AND after): the same DOM node moves to
20
- * a new `top`/`left`; FLIP slides it from the old visual spot.
21
- * - Incoming cells (off-screen before, in DOM after): the renderer creates
22
- * them at their new position; if the snapshot has their pre-change
23
- * position (computed for ALL rows, not just the band), FLIP slides them
24
- * in from there. The portion that's outside the body's overflow clip is
25
- * never painted, so cells appear to slide in from the viewport edge.
26
- * - Outgoing cells (in DOM before, off-screen after): the renderer hands
27
- * them to {@link retainCell} along with their post-change off-screen
28
- * position; FLIP slides them out to that position, then removes them.
29
- */
30
- export declare class AnimationCoordinator {
31
- private enabled;
32
- private duration;
33
- private easing;
34
- /** Pre-change positions for any cell we want to consider for animation. */
35
- private snapshot;
36
- /**
37
- * One-shot synthetic origins for incoming cells that have no entry in the
38
- * captured snapshot (e.g. rows/columns that did not exist in the pre-render
39
- * state because they were inside a collapsed group). Used by accordion
40
- * animations so a newly-visible cell unfolds from its parent's position
41
- * rather than appearing in place. Cleared at the end of {@link play}.
42
- */
43
- private incomingOrigins;
44
- /**
45
- * Accessors that were already renderable (visible leaf/group columns) in the
46
- * pre-change layout for an in-flight accordion-horizontal toggle. Set once
47
- * per collapse/expand render and consumed by the renderers' grow-from-zero
48
- * gate so a column that merely re-enters the virtualization band (because the
49
- * collapsed group shrank the content width and clamped scrollLeft) is NOT
50
- * mistaken for a freshly-expanded column and animated from width 0.
51
- *
52
- * Header cells have no full pre-change conceptual layout the way body cells do
53
- * (see SectionRenderer.getCurrentBodyLayouts), so `hasSnapshotEntry` alone
54
- * can't tell "newly visible" apart from "scrolled back into view". This set
55
- * supplies the missing pre-change visibility signal. Cleared at the end of
56
- * {@link play}.
57
- */
58
- private accordionPreVisibleAccessors;
59
- private inFlight;
60
- /** Outgoing cells the renderer handed off; keyed per container so play() finds them. */
61
- private retainedCells;
62
- private prefersReducedMotion;
63
- /**
64
- * Per-render cache of scroller layout metrics. Reading
65
- * `scrollHeight`/`clientHeight`/etc. after a style mutation forces a sync
66
- * layout flush; without this cache, scaleFlipDistance() forces a fresh
67
- * flush for every cell in the retain/play loops, turning a single sort
68
- * into hundreds of layout passes (observed: 513ms in `msRemove` for ~287
69
- * cells, growing across consecutive sorts as DOM size grows). The cache
70
- * is cleared at the boundaries of a render cycle (captureSnapshot start
71
- * and play end / cancel) since column count and section heights are
72
- * stable within a single sort.
73
- */
74
- private scrollerMetricsCache;
75
- /**
76
- * Vertical scroller metrics override for external/page-scroll mode. When the
77
- * table has no internal vertical overflow (it grows to its natural height and
78
- * a parent element / the window scrolls), the body container's own
79
- * clientHeight/scrollHeight no longer describe the visible viewport, so
80
- * {@link scaleFlipDistance} can't bound the FLIP journey and sort cells slide
81
- * the full conceptual distance. The vanilla table pushes the real visible
82
- * viewport here (from the same `getExternalScrollMetrics` the virtualizer
83
- * uses) so the y-axis FLIP scaling matches the on-screen viewport. `null`
84
- * when external scroll is inactive — internal scroller metrics are used as-is.
85
- */
86
- private externalVerticalScroll;
87
- /**
88
- * The currently-scheduled (not-yet-started) FLIP frame. play() defers the
89
- * transition start by two animation frames so the inverted "First" frame
90
- * gets painted before the transition fires. Spam-clicking sort triggers a
91
- * full re-render + play() inside that two-frame window: without coalescing,
92
- * the stale chain's startTransition zeroes the transforms the newer cycle
93
- * just inverted (a frame early), so the final transition animates
94
- * identity→identity and nothing visibly moves — and many captured nodes are
95
- * detached by the intervening render before they ever transition. Tracking
96
- * the pending frame lets a new play() cancel the prior cycle and reset the
97
- * transforms it left behind, so only the latest sort animates.
98
- */
99
- private scheduledFlip;
100
- /**
101
- * Invoked immediately BEFORE a retained/ghost element is permanently removed
102
- * from the DOM (FLIP/shrink/cancel/destroy teardown). Lets framework adapters
103
- * tear down renderer subtrees (React portals, etc.) mounted into the element
104
- * before it's discarded. NOT called on reuse/reparent paths
105
- * ({@link claimRetainedForReuse} success), so a reclaimed ghost keeps its
106
- * content.
107
- */
108
- private onHostDiscard?;
109
- constructor(opts?: AnimationCoordinatorOptions);
110
- /**
111
- * Register the callback fired before a ghost/retained element is permanently
112
- * removed (see {@link onHostDiscard}). Additive: passing `undefined` disables it.
113
- */
114
- setOnHostDiscard(cb: ((host: HTMLElement) => void) | undefined): void;
115
- setEnabled(enabled: boolean): void;
116
- setDuration(duration: number): void;
117
- setEasing(easing: string): void;
118
- isEnabled(): boolean;
119
- isInFlight(cellId: string): boolean;
120
- /** True while any FLIP / retained-cell transition is still running. */
121
- hasInFlight(): boolean;
122
- getDuration(): number;
123
- getEasing(): string;
124
- /**
125
- * Register synthetic pre-change origins for incoming cells that did not
126
- * exist in the captured snapshot. {@link play} consults this map before
127
- * giving up on a cell that has no `before` snapshot entry; matching cells
128
- * FLIP from the override origin to their final position.
129
- *
130
- * The map is consumed by the next `play()` call and cleared, so callers
131
- * must set it after `captureSnapshot` and before the render that creates
132
- * the corresponding cells.
133
- */
134
- setIncomingOrigins(origins: Map<string, CellPosition> | null): void;
135
- /**
136
- * Register the set of accessors that were renderable in the pre-change layout
137
- * of an accordion-horizontal toggle. Must be set after `captureSnapshot` and
138
- * before the render that creates cells. Consumed and cleared by the next
139
- * {@link play}. Pass `null` (e.g. for vertical/row accordions) to disable the
140
- * re-entry guard so behavior is unchanged.
141
- */
142
- setAccordionPreVisibleAccessors(accessors: Set<string> | null): void;
143
- /**
144
- * True when `accessor` was already a renderable column before the current
145
- * accordion-horizontal toggle. Renderers use this to skip the grow-from-zero
146
- * animation for columns that only re-entered the virtualization band rather
147
- * than genuinely becoming visible from an expand.
148
- */
149
- wasRenderableBeforeAccordion(accessor: string): boolean;
150
- /**
151
- * Read scroller layout metrics for `container`, caching the result for the
152
- * remainder of the current render cycle. Subsequent calls in the same
153
- * cycle (e.g. for every cell in a retain or play loop) skip the DOM read,
154
- * which would otherwise force a synchronous layout flush after each style
155
- * mutation in the loop.
156
- */
157
- private getScrollerMetrics;
158
- /**
159
- * Supply (or clear) the vertical scroller metrics override used by
160
- * {@link scaleFlipDistance} in external/page-scroll mode. Must be set before
161
- * `captureSnapshot`/`retainCell`/`play` so the whole FLIP cycle scales
162
- * against the real visible viewport. Pass `null` to fall back to the body
163
- * container's own metrics (internal scroll).
164
- */
165
- setExternalVerticalScroll(metrics: {
166
- clientHeight: number;
167
- scrollHeight: number;
168
- scrollTop: number;
169
- } | null): void;
170
- private clearScrollerMetricsCache;
171
- /**
172
- * Capture pre-change positions for cells we may want to animate.
173
- *
174
- * @param args.containers Body containers; rendered cells are read from the DOM.
175
- * @param args.preLayouts Optional per-container conceptual layout. Should
176
- * include positions for ALL rows in the dataset (not just the visible
177
- * band) so cells that newly enter the band can FLIP in from their actual
178
- * pre-change location and cells that leave the band can FLIP out to it.
179
- */
180
- captureSnapshot(args: {
181
- containers: Array<HTMLElement | null | undefined>;
182
- preLayouts?: Map<HTMLElement, Map<string, CellPosition>>;
183
- }): void;
184
- /**
185
- * The renderer asks before removing a cell whether the coordinator wants to
186
- * keep it for an out-animation.
187
- */
188
- shouldRetain(cellId: string): boolean;
189
- /**
190
- * Whether the captured snapshot has an entry for the given cellId. The
191
- * accordion expand path uses this to detect "newly visible" cells (no
192
- * pre-change layout) so it can initialize them at zero size and let the
193
- * CSS transition grow them to full size.
194
- */
195
- hasSnapshotEntry(cellId: string): boolean;
196
- /**
197
- * True when the snapshot has an entry for `cellId` AND the cell was
198
- * rendered in `currentContainer` at snapshot time. Returns false when the
199
- * cell came from a different container (cross-section pin/unpin) — its
200
- * snapshot position is in another container's coordinate frame, so a
201
- * FLIP applied locally would slide from a wrong visual origin and the
202
- * destination renderer should treat the cell as fresh (accordion grow
203
- * from 0 instead).
204
- *
205
- * Snapshot entries with `sourceContainer === null` (preLayouts /
206
- * conceptual positions) are treated as same-container so the existing
207
- * sort/reorder FLIP-from-off-screen behavior is preserved.
208
- */
209
- hasSnapshotEntryInContainer(cellId: string, currentContainer: HTMLElement): boolean;
210
- /**
211
- * Whether a vertical position transition should be animated. Rows that live
212
- * only in the virtualization padding band (above/below the visible viewport)
213
- * should teleport rather than FLIP — otherwise a mid-scroll sort animates
214
- * hundreds of off-screen rows through the viewport at once.
215
- */
216
- shouldAnimateVerticalTransition(args: {
217
- beforeTop: number;
218
- afterTop: number;
219
- cellHeight: number;
220
- container: HTMLElement;
221
- }): boolean;
222
- /**
223
- * Whether a horizontal position transition should be animated. Same viewport
224
- * gate as {@link shouldAnimateVerticalTransition} but for column slides.
225
- */
226
- shouldAnimateHorizontalTransition(args: {
227
- beforeLeft: number;
228
- afterLeft: number;
229
- cellWidth: number;
230
- container: HTMLElement;
231
- }): boolean;
232
- /**
233
- * Whether a cell's position change should participate in FLIP animation.
234
- * Only axes that actually moved are checked against the viewport gate —
235
- * a vertical sort must not inherit "visible" from an unchanged horizontal
236
- * position (which would retain/mount every column in every padding-band row).
237
- */
238
- shouldAnimateTransition(args: {
239
- beforeTop: number;
240
- afterTop: number;
241
- beforeLeft: number;
242
- afterLeft: number;
243
- cellHeight: number;
244
- cellWidth: number;
245
- container: HTMLElement;
246
- }): boolean;
247
- /**
248
- * Whether an incoming cell (in the snapshot but not previously in the DOM)
249
- * should be mounted for this sort/reorder render. Padding-band rows that
250
- * never intersect the visible viewport are deferred to the next scroll
251
- * render so they do not pop into existence at animation start.
252
- */
253
- shouldMountIncomingCell(args: {
254
- cellId: string;
255
- afterTop: number;
256
- afterLeft: number;
257
- cellHeight: number;
258
- cellWidth: number;
259
- container: HTMLElement;
260
- }): boolean;
261
- /**
262
- * Whether the cell currently paints inside the body scrollers' clip rects.
263
- * Outgoing retain decisions use this as a fallback when {@link shouldAnimateTransition}
264
- * rejects a cell based on `style.top`/`style.left` alone: virtualization padding
265
- * rows can sit with their leading edge outside the scroll band while still being
266
- * partially visible on screen (common at the bottom when scrolled to the end).
267
- */
268
- isCellRenderedInScrollerViewport(element: HTMLElement, container: HTMLElement): boolean;
269
- /**
270
- * Whether an outgoing DOM cell at a vertical scroll extreme (top or bottom of
271
- * the dataset) should be retained even when {@link shouldAnimateTransition}
272
- * rejects it on leading-edge grounds. Virtualization keeps a few overscan
273
- * rows mounted above/below the strict viewport at max scroll; those rows
274
- * must still slide out as ghosts when a sort evicts them.
275
- */
276
- shouldRetainDomCellAtScrollExtrema(cellId: string, container: HTMLElement): boolean;
277
- /**
278
- * Hand a cell that the renderer would otherwise remove to the coordinator.
279
- * The coordinator updates its absolute positioning to the post-change layout
280
- * and will animate it from the snapshotted pre-change visual position to
281
- * that new position during {@link play}, then remove it from the DOM.
282
- *
283
- * The new position can be off-screen (e.g. the row sorted to a position
284
- * outside the visible band) — the body container's `overflow: hidden`
285
- * naturally clips the cell as it slides past the viewport edge.
286
- */
287
- retainCell(args: {
288
- cellId: string;
289
- element: HTMLElement;
290
- container: HTMLElement;
291
- newPosition: CellPosition;
292
- }): void;
293
- /**
294
- * Take ownership of a retained (outgoing) ghost element so the renderer can
295
- * promote it back to a live cell — rather than tearing it down and creating
296
- * a fresh node — when its row becomes visible again. Returns the element
297
- * with its retained-only attributes/state stripped, or `null` if no ghost
298
- * is currently retained for this id in the container.
299
- *
300
- * Reusing the ghost preserves DOM continuity: the next play() step reads
301
- * the cell's mid-flight visual position from the snapshot (captured before
302
- * the render) and FLIPs it from there to its new live destination, so the
303
- * row glides instead of disappearing and a freshly created replacement
304
- * doesn't pop into existence at a clipped FLIP entry point.
305
- */
306
- claimRetainedForReuse(cellId: string, container: HTMLElement): HTMLElement | null;
307
- /**
308
- * Hand off a cell that the renderer would otherwise remove for an accordion
309
- * shrink-out (column hide / pin-out from this section): the cell stays in
310
- * place and its size in the named axis is animated to zero by the
311
- * `.st-accordion-animating` CSS transition (width/height). Removed from the
312
- * DOM after the transition completes.
313
- *
314
- * Used when there is no destination position for the cell in the current
315
- * section's post-render layout — either because the column was hidden or
316
- * because it moved to a different pinned section. In the moved-section
317
- * case, the destination section creates a fresh cell that grows from zero
318
- * width via the existing accordion incoming-cell path, so the visual
319
- * effect is a synchronized shrink-here / grow-there pair rather than a
320
- * cross-container slide (which would require translating coordinates
321
- * between two different container coordinate frames).
322
- */
323
- shrinkOutCell(args: {
324
- cellId: string;
325
- element: HTMLElement;
326
- container: HTMLElement;
327
- axis: "horizontal" | "vertical";
328
- }): void;
329
- /**
330
- * Discard any retained cell with this id in the given container. Called by
331
- * the renderer when it's about to create a fresh cell with the same id, so
332
- * we don't have two DOM nodes claiming the same logical slot.
333
- */
334
- discardRetainedIfPresent(cellId: string, container: HTMLElement): void;
335
- /**
336
- * Apply the FLIP invert + play step to every cell present in the snapshot
337
- * that is now in the DOM (either as an actively rendered cell or as a
338
- * retained cell). Clears the snapshot.
339
- */
340
- play(args: {
341
- containers: Array<HTMLElement | null | undefined>;
342
- }): void;
343
- /**
344
- * Cancel every in-flight transition and clear any armed snapshot. Active
345
- * cells snap to their final positions; retained cells are removed from the
346
- * DOM so we don't leak nodes.
347
- */
348
- cancel(): void;
349
- destroy(): void;
350
- private readPosition;
351
- private startTransition;
352
- private cancelInFlight;
353
- private finalizeCell;
354
- private finishElement;
355
- private isCellRetained;
356
- }
@@ -1,33 +0,0 @@
1
- import HeaderObject, { Accessor } from "../types/HeaderObject";
2
- interface AutoScaleConfig {
3
- autoExpandColumns: boolean;
4
- containerWidth: number;
5
- pinnedLeftWidth: number;
6
- pinnedRightWidth: number;
7
- mainBodyRef: {
8
- current: HTMLDivElement | null;
9
- };
10
- isResizing?: boolean;
11
- /**
12
- * Currently collapsed header accessors. Auto-scale must only account for the
13
- * leaf columns that are actually visible for the current collapsed state —
14
- * otherwise it sums the widths of hidden child columns and under-expands,
15
- * leaving empty space on the right.
16
- */
17
- collapsedHeaders?: Set<Accessor>;
18
- }
19
- type HeaderUpdateCallback = (headers: HeaderObject[]) => void;
20
- export declare const applyAutoScaleToHeaders: (headers: HeaderObject[], options: AutoScaleConfig) => HeaderObject[];
21
- export declare class AutoScaleManager {
22
- private config;
23
- private onHeadersUpdate;
24
- private isResizingTracker;
25
- private containerWidthTracker;
26
- constructor(config: AutoScaleConfig, onHeadersUpdate: HeaderUpdateCallback);
27
- updateConfig(config: Partial<AutoScaleConfig>): void;
28
- private triggerAutoScale;
29
- applyAutoScale(headers: HeaderObject[]): HeaderObject[];
30
- setHeaders(headersOrUpdater: HeaderObject[] | ((prev: HeaderObject[]) => HeaderObject[]), currentHeaders: HeaderObject[]): HeaderObject[];
31
- destroy(): void;
32
- }
33
- export {};
@@ -1,84 +0,0 @@
1
- import HeaderObject from "../types/HeaderObject";
2
- export interface DimensionManagerConfig {
3
- effectiveHeaders: HeaderObject[];
4
- headerHeight?: number;
5
- rowHeight: number;
6
- height?: string | number;
7
- maxHeight?: string | number;
8
- totalRowCount: number;
9
- footerHeight?: number;
10
- containerElement?: HTMLElement;
11
- /**
12
- * Visible portion of the table inside an external scroll parent (in pixels).
13
- * Drives virtualization when neither `height` nor `maxHeight` is set.
14
- */
15
- externalViewportHeight?: number;
16
- }
17
- export interface DimensionManagerState {
18
- containerWidth: number;
19
- calculatedHeaderHeight: number;
20
- maxHeaderDepth: number;
21
- contentHeight: number | undefined;
22
- }
23
- type StateChangeCallback = (state: DimensionManagerState) => void;
24
- /**
25
- * Wait this long after the last container-width ResizeObserver tick before
26
- * notifying subscribers. Coalesces CSS-transition / animated layout shifts
27
- * (e.g. a collapsible nav) into a single trailing update instead of one full
28
- * table render per animation frame.
29
- *
30
- * Kept above typical frame-budget jank (~50–80ms) so a hitch mid-transition
31
- * does not look like "animation ended" and fire an extra full relayout.
32
- */
33
- export declare const CONTAINER_RESIZE_NOTIFY_DEBOUNCE_MS = 100;
34
- /**
35
- * After a trailing notify, keep the burst open this long. A jank-sized quiet
36
- * gap mid-animation must not start a fresh burst (which would allow another
37
- * pair of notifies and thrash subscribers).
38
- */
39
- export declare const CONTAINER_RESIZE_BURST_END_MS = 150;
40
- export declare class DimensionManager {
41
- private config;
42
- private state;
43
- private subscribers;
44
- private resizeObserver;
45
- private rafId;
46
- private resizeNotifyDebounceId;
47
- private resizeBurstEndId;
48
- /** Notifies emitted in the current continuous resize burst (capped at 2). */
49
- private resizeBurstNotifyCount;
50
- /** True when a 3rd+ trailing tick was suppressed; flush latest width on burst end. */
51
- private resizeBurstNeedsFinalFlush;
52
- /** Set when applyContainerWidthSync updates state before any subscriber exists. */
53
- private initialNotifyPending;
54
- constructor(config: DimensionManagerConfig);
55
- private getHeaderDepth;
56
- private calculateMaxHeaderDepth;
57
- private calculateHeaderHeight;
58
- private convertHeightToPixels;
59
- private calculateContentHeight;
60
- private cancelPendingResizeNotify;
61
- private cancelResizeBurstEnd;
62
- private scheduleResizeBurstEnd;
63
- /**
64
- * Trailing debounce for animated / continuous container resizes.
65
- *
66
- * Per burst (continuous RO ticks separated by less than {@link CONTAINER_RESIZE_BURST_END_MS}):
67
- * - 1st quiet gap → notify immediately (sole update, or mid-animation pass)
68
- * - later quiet gaps → defer to burst-end so subscribers always see the final
69
- * width without a 3rd+ notify when frame timing is janky
70
- */
71
- private scheduleResizeNotify;
72
- private observeContainer;
73
- private applyContainerWidthSync;
74
- updateConfig(config: Partial<DimensionManagerConfig>): void;
75
- subscribe(callback: StateChangeCallback): () => void;
76
- private notifySubscribers;
77
- getState(): DimensionManagerState;
78
- getContainerWidth(): number;
79
- getCalculatedHeaderHeight(): number;
80
- getMaxHeaderDepth(): number;
81
- getContentHeight(): number | undefined;
82
- destroy(): void;
83
- }
84
- export {};
@@ -1,56 +0,0 @@
1
- import HeaderObject, { Accessor } from "../types/HeaderObject";
2
- import Row from "../types/Row";
3
- import RowState from "../types/RowState";
4
- import TableRow from "../types/TableRow";
5
- import { HeightOffsets } from "../utils/infiniteScrollUtils";
6
- import { CustomTheme } from "../types/CustomTheme";
7
- import { GetRowId } from "../types/GetRowId";
8
- export interface RowManagerConfig {
9
- rows: Row[];
10
- headers: HeaderObject[];
11
- rowGrouping?: Accessor[];
12
- getRowId?: GetRowId;
13
- rowHeight: number;
14
- headerHeight: number;
15
- customTheme: CustomTheme;
16
- hasLoadingRenderer: boolean;
17
- hasErrorRenderer: boolean;
18
- hasEmptyRenderer: boolean;
19
- }
20
- export interface RowManagerState {
21
- expandedRows: Map<string, number>;
22
- collapsedRows: Map<string, number>;
23
- expandedDepths: Set<number>;
24
- rowStateMap: Map<string | number, RowState>;
25
- aggregatedRows: Row[];
26
- flattenedRows: TableRow[];
27
- heightOffsets: HeightOffsets;
28
- paginatableRows: TableRow[];
29
- parentEndPositions: number[];
30
- }
31
- type StateChangeCallback = (state: RowManagerState) => void;
32
- export declare class RowManager {
33
- private config;
34
- private state;
35
- private subscribers;
36
- constructor(config: RowManagerConfig);
37
- private getAllAggregationHeaders;
38
- private calculateAggregation;
39
- private computeAggregatedRows;
40
- private computeFlattenedRows;
41
- updateConfig(config: Partial<RowManagerConfig>): void;
42
- subscribe(callback: StateChangeCallback): () => void;
43
- private notifySubscribers;
44
- setExpandedRows(expandedRows: Map<string, number>): void;
45
- setCollapsedRows(collapsedRows: Map<string, number>): void;
46
- setExpandedDepths(expandedDepths: Set<number>): void;
47
- setRowStateMap(rowStateMap: Map<string | number, RowState>): void;
48
- getState(): RowManagerState;
49
- getAggregatedRows(): Row[];
50
- getFlattenedRows(): TableRow[];
51
- getHeightOffsets(): HeightOffsets;
52
- getPaginatableRows(): TableRow[];
53
- getParentEndPositions(): number[];
54
- destroy(): void;
55
- }
56
- export {};
@@ -1,38 +0,0 @@
1
- export interface ScrollManagerConfig {
2
- onLoadMore?: () => void;
3
- infiniteScrollThreshold?: number;
4
- }
5
- export interface ScrollManagerState {
6
- scrollTop: number;
7
- scrollLeft: number;
8
- scrollDirection: "up" | "down" | "none";
9
- isScrolling: boolean;
10
- }
11
- type StateChangeCallback = (state: ScrollManagerState) => void;
12
- /**
13
- * Manages vertical scroll state (scrollTop, direction, isScrolling) and infinite scroll.
14
- * Horizontal header/body/scrollbar sync is handled by SectionScrollController.
15
- */
16
- export declare class ScrollManager {
17
- private config;
18
- private state;
19
- private subscribers;
20
- private lastScrollTop;
21
- private scrollTimeoutId;
22
- /** Coalesce scroll-driven subscriber notifications to one rAF (avoids sync storms + reflow). */
23
- private notifySubscribersRafId;
24
- constructor(config: ScrollManagerConfig);
25
- updateConfig(config: Partial<ScrollManagerConfig>): void;
26
- subscribe(callback: StateChangeCallback): () => void;
27
- private notifySubscribers;
28
- private scheduleNotifySubscribersFromScroll;
29
- handleScroll(scrollTop: number, scrollLeft: number, containerHeight: number, contentHeight: number): void;
30
- setScrolling(isScrolling: boolean): void;
31
- getState(): ScrollManagerState;
32
- getScrollTop(): number;
33
- getScrollLeft(): number;
34
- getScrollDirection(): "up" | "down" | "none";
35
- isScrolling(): boolean;
36
- destroy(): void;
37
- }
38
- export {};
@@ -1,16 +0,0 @@
1
- import type Cell from "../../types/Cell";
2
- /**
3
- * Calculate the nearest cell to a given mouse position.
4
- * Uses row buckets: one getBoundingClientRect per row to find the row, then only
5
- * measures cells in that row (O(rows + cols) instead of O(rows * cols)).
6
- */
7
- export declare function calculateNearestCell(clientX: number, clientY: number, root?: Document | HTMLElement): Cell | null;
8
- /**
9
- * Get cell from mouse position (element under point, or nearest cell).
10
- */
11
- export declare function getCellFromMousePosition(clientX: number, clientY: number, root?: Document | HTMLElement): Cell | null;
12
- /**
13
- * Handle auto-scrolling when dragging near table edges.
14
- * @param root - Table root (e.g. `.simple-table-root`); limits queries to this instance.
15
- */
16
- export declare function handleAutoScroll(clientX: number, clientY: number, root?: Document | HTMLElement): void;
@@ -1,72 +0,0 @@
1
- import HeaderObject, { Accessor } from "../types/HeaderObject";
2
- import Row from "../types/Row";
3
- import SortColumn, { SortDirection } from "../types/SortColumn";
4
- import { TableFilterState } from "../types/FilterTypes";
5
- import { ColumnVisibilityState } from "../types/ColumnVisibilityTypes";
6
- import { CustomTheme } from "../types/CustomTheme";
7
- import { GetRowId } from "../types/GetRowId";
8
- import { SortManager } from "./SortManager";
9
- import { FilterManager } from "./FilterManager";
10
- import { RowManager } from "./RowManager";
11
- import { ColumnManager } from "./ColumnManager";
12
- import { DimensionManager } from "./DimensionManager";
13
- import { ScrollManager } from "./ScrollManager";
14
- import { SelectionManager } from "./SelectionManager";
15
- export interface TableManagerConfig {
16
- headers: HeaderObject[];
17
- rows: Row[];
18
- rowHeight: number;
19
- headerHeight?: number;
20
- customTheme: CustomTheme;
21
- externalSortHandling?: boolean;
22
- externalFilterHandling?: boolean;
23
- rowGrouping?: Accessor[];
24
- getRowId?: GetRowId;
25
- selectableCells?: boolean;
26
- selectableColumns?: boolean;
27
- enableRowSelection?: boolean;
28
- copyHeadersToClipboard?: boolean;
29
- height?: string | number;
30
- maxHeight?: string | number;
31
- initialSortColumn?: string;
32
- initialSortDirection?: SortDirection;
33
- onSortChange?: (sort: SortColumn | null) => void;
34
- onFilterChange?: (filters: TableFilterState) => void;
35
- onColumnOrderChange?: (newHeaders: HeaderObject[]) => void;
36
- onColumnVisibilityChange?: (visibilityState: ColumnVisibilityState) => void;
37
- onColumnWidthChange?: (headers: HeaderObject[]) => void;
38
- onLoadMore?: () => void;
39
- onCellEdit?: (props: any) => void;
40
- announce?: (message: string) => void;
41
- containerElement?: HTMLElement;
42
- cellRegistry?: Map<string, any>;
43
- collapsedHeaders?: Set<Accessor>;
44
- }
45
- export interface TableManagerState {
46
- isReady: boolean;
47
- }
48
- type StateChangeCallback = () => void;
49
- export declare class TableManager {
50
- private config;
51
- private state;
52
- private subscribers;
53
- sortManager: SortManager;
54
- filterManager: FilterManager;
55
- rowManager: RowManager;
56
- columnManager: ColumnManager;
57
- dimensionManager: DimensionManager;
58
- scrollManager: ScrollManager;
59
- selectionManager: SelectionManager;
60
- constructor(config: TableManagerConfig);
61
- private setupManagerSubscriptions;
62
- private applyFiltersAndSort;
63
- private handleSortChange;
64
- private handleFilterChange;
65
- updateConfig(config: Partial<TableManagerConfig>): void;
66
- subscribe(callback: StateChangeCallback): () => void;
67
- private notifySubscribers;
68
- getState(): TableManagerState;
69
- isReady(): boolean;
70
- destroy(): void;
71
- }
72
- export {};
@@ -1,16 +0,0 @@
1
- /**
2
- * Configuration for cell animations on sort and programmatic column reorder.
3
- *
4
- * The animation coordinator runs FLIP-style transitions when cells move between
5
- * positions. All fields are optional; omit the prop entirely to use defaults.
6
- *
7
- * Row group expand/collapse never animates when `rowGrouping` is configured.
8
- */
9
- export interface AnimationsConfig {
10
- /** Master toggle. Defaults to `true`. When `false`, no other field has effect. */
11
- enabled?: boolean;
12
- /** Animation duration in milliseconds. Defaults to `240`. */
13
- duration?: number;
14
- /** CSS easing function. Defaults to `cubic-bezier(0.2, 0.8, 0.2, 1)`. */
15
- easing?: string;
16
- }