@economic/taco 2.24.0 → 2.25.1-alpha.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1179) hide show
  1. package/dist/esm/index.css +208 -515
  2. package/dist/esm/packages/taco/src/components/Field/Field.js +1 -0
  3. package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
  4. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +11 -1
  5. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
  6. package/dist/esm/packages/taco/src/components/Provider/Localization.js +48 -43
  7. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  8. package/dist/esm/packages/taco/src/components/Report/Report.js +8 -51
  9. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  10. package/dist/esm/packages/taco/src/components/Report/useReport.js +8 -45
  11. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  12. package/dist/esm/packages/taco/src/components/Select2/Select2.js +3 -3
  13. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  14. package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -1
  15. package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -1
  16. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
  17. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  18. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +10 -10
  19. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  20. package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -1
  21. package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -1
  22. package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
  23. package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
  24. package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -1
  25. package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -1
  26. package/dist/esm/packages/taco/src/components/Table3/Table3.js +30 -218
  27. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  28. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
  29. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
  30. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
  31. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
  32. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +71 -0
  33. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
  34. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +216 -0
  35. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
  36. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
  37. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
  38. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +45 -0
  39. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
  40. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +62 -0
  41. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
  42. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +134 -0
  43. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
  44. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
  45. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
  46. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +41 -0
  47. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
  48. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
  49. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
  50. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +349 -0
  51. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
  52. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +49 -0
  53. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
  54. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +36 -0
  55. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
  56. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +46 -38
  57. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  58. package/dist/esm/packages/taco/src/index.js +1 -1
  59. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +2 -0
  60. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  61. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +52 -0
  62. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
  63. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +72 -0
  64. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
  65. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
  66. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
  67. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +25 -0
  68. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
  69. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +60 -0
  70. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
  71. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +33 -0
  72. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
  73. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +74 -0
  74. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
  75. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +101 -0
  76. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
  77. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
  78. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
  79. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +71 -0
  80. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
  81. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +167 -0
  82. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
  83. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
  84. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +39 -0
  85. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
  86. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +216 -0
  87. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
  88. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +28 -0
  89. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
  90. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +158 -0
  91. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
  92. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +60 -0
  93. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
  94. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +41 -0
  95. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
  96. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +24 -0
  97. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
  98. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +120 -0
  99. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
  100. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
  101. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +30 -0
  102. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
  103. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +9 -0
  104. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
  105. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +53 -0
  106. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
  107. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +62 -0
  108. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
  109. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +129 -0
  110. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
  111. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +102 -0
  112. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
  113. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
  114. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
  115. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +110 -0
  116. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
  117. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +128 -0
  118. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
  119. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js +10 -0
  120. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
  121. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +125 -0
  122. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
  123. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
  124. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
  125. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +96 -0
  126. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
  127. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +119 -0
  128. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
  129. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +103 -0
  130. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
  131. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js +77 -0
  132. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +1 -0
  133. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js +44 -0
  134. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +1 -0
  135. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js +58 -0
  136. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +1 -0
  137. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +30 -0
  138. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
  139. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
  140. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +164 -0
  141. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
  142. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +24 -0
  143. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
  144. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +50 -0
  145. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
  146. package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
  147. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  148. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
  149. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
  150. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
  151. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
  152. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
  153. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
  154. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +80 -0
  155. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
  156. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
  157. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
  158. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
  159. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
  160. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
  161. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
  162. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
  163. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
  164. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
  165. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
  166. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
  167. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
  168. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
  169. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
  170. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
  171. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
  172. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
  173. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
  174. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
  175. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
  176. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +24 -0
  177. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
  178. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
  179. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
  180. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +126 -0
  181. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
  182. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
  183. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
  184. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +137 -0
  185. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
  186. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
  187. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +20 -0
  188. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
  189. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +273 -0
  190. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
  191. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
  192. package/dist/esm/packages/taco/src/utils/dom.js +19 -3
  193. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  194. package/dist/esm/packages/taco/src/utils/input.js +1 -14
  195. package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
  196. package/dist/index.css +208 -515
  197. package/dist/packages/taco/src/components/Provider/Localization.d.ts +398 -0
  198. package/dist/packages/taco/src/components/Report/Report.d.ts +10 -0
  199. package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +19 -0
  200. package/dist/packages/taco/src/components/Report/useReport.d.ts +23 -0
  201. package/dist/packages/taco/src/components/Select2/Select2.d.ts +68 -0
  202. package/dist/packages/taco/src/components/Table/Table.d.ts +14 -0
  203. package/dist/packages/taco/src/components/Table/components/BaseTable.d.ts +8 -0
  204. package/dist/packages/taco/src/components/Table/hooks/useRowCreation.d.ts +11 -0
  205. package/dist/packages/taco/src/components/Table/hooks/useTable.d.ts +38 -0
  206. package/dist/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.d.ts +3 -0
  207. package/dist/packages/taco/src/components/Table/types.d.ts +284 -0
  208. package/dist/packages/taco/src/components/Table/util/sortTypes.d.ts +4 -0
  209. package/dist/packages/taco/src/components/Table/util.d.ts +12 -0
  210. package/dist/packages/taco/src/components/Table3/Table3.d.ts +20 -0
  211. package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +23 -0
  212. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
  213. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
  214. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
  215. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
  216. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
  217. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/util.d.ts +3 -0
  218. package/dist/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +10 -0
  219. package/dist/packages/taco/src/components/Table3/components/Editing/Alert.d.ts +12 -0
  220. package/dist/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
  221. package/dist/packages/taco/src/components/Table3/components/Row/Row.d.ts +3 -0
  222. package/dist/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
  223. package/dist/packages/taco/src/components/Table3/features/useTableEditing.d.ts +46 -0
  224. package/dist/packages/taco/src/components/Table3/listeners/useTableEditingListener.d.ts +2 -0
  225. package/dist/packages/taco/src/components/Table3/types.d.ts +54 -0
  226. package/dist/packages/taco/src/components/Table3/useTable3.d.ts +30 -0
  227. package/dist/packages/taco/src/components/Table3/util/editing.d.ts +2 -0
  228. package/dist/packages/taco/src/index.d.ts +74 -0
  229. package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +19 -0
  230. package/dist/packages/taco/src/primitives/Table/Core/components/Body/Body.d.ts +8 -0
  231. package/dist/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +7 -0
  232. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
  233. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
  234. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +10 -0
  235. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.d.ts +19 -0
  236. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +13 -0
  237. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
  238. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
  239. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
  240. package/dist/packages/taco/src/primitives/Table/Core/components/Header/Header.d.ts +45 -0
  241. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.d.ts +6 -0
  242. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.d.ts +21 -0
  243. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.d.ts +12 -0
  244. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +15 -0
  245. package/dist/packages/taco/src/primitives/Table/Core/components/Header/util.d.ts +4 -0
  246. package/dist/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
  247. package/dist/packages/taco/src/primitives/Table/Core/components/Row/Row.d.ts +6 -0
  248. package/dist/packages/taco/src/primitives/Table/Core/components/Row/RowContext.d.ts +7 -0
  249. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
  250. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
  251. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
  252. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
  253. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
  254. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +4 -0
  255. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +9 -0
  256. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
  257. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
  258. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +8 -0
  259. package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +2 -0
  260. package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts +3 -0
  261. package/dist/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +4 -0
  262. package/dist/packages/taco/src/primitives/Table/Core/features/useTableRenderer.d.ts +10 -0
  263. package/dist/packages/taco/src/primitives/Table/Core/types.d.ts +24 -0
  264. package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +25 -0
  265. package/dist/packages/taco/src/primitives/Table/types.d.ts +379 -0
  266. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.d.ts +13 -0
  267. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
  268. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
  269. package/dist/packages/taco/src/primitives/Table/useTableManager/types.d.ts +14 -0
  270. package/dist/packages/taco/src/primitives/Table/useTableManager/useTableManager.d.ts +65 -0
  271. package/dist/packages/taco/src/primitives/Table/useTableManager/util/presets.d.ts +2 -0
  272. package/dist/packages/taco/src/primitives/Table/useTableManager/util/settings.d.ts +12 -0
  273. package/dist/packages/taco/src/primitives/Table/useTableManager/util/setup.d.ts +15 -0
  274. package/dist/packages/taco/src/utils/dom.d.ts +8 -0
  275. package/dist/taco.cjs.development.js +7011 -11581
  276. package/dist/taco.cjs.development.js.map +1 -1
  277. package/dist/taco.cjs.production.min.js +1 -1
  278. package/dist/taco.cjs.production.min.js.map +1 -1
  279. package/package.json +3 -2
  280. package/types.json +22467 -51449
  281. package/dist/components/Provider/Localization.d.ts +0 -390
  282. package/dist/components/Report/Report.d.ts +0 -23
  283. package/dist/components/Report/components/Body/Body.d.ts +0 -8
  284. package/dist/components/Report/components/Body/EmptyStateBody.d.ts +0 -7
  285. package/dist/components/Report/components/Cell/Cell.d.ts +0 -8
  286. package/dist/components/Report/components/Cell/DisplayCell.d.ts +0 -8
  287. package/dist/components/Report/components/Cell/GroupedCell.d.ts +0 -8
  288. package/dist/components/Report/components/Cell/util.d.ts +0 -18
  289. package/dist/components/Report/components/Header/Header.d.ts +0 -37
  290. package/dist/components/Report/components/Header/components/Goto.d.ts +0 -6
  291. package/dist/components/Report/components/Header/components/Menu.d.ts +0 -17
  292. package/dist/components/Report/components/Header/components/Resizer.d.ts +0 -12
  293. package/dist/components/Report/components/Header/components/SortIndicator.d.ts +0 -15
  294. package/dist/components/Report/components/Header/util.d.ts +0 -4
  295. package/dist/components/Report/components/Internal/Actions.d.ts +0 -13
  296. package/dist/components/Report/components/Internal/Expansion.d.ts +0 -4
  297. package/dist/components/Report/components/Internal/Selection.d.ts +0 -4
  298. package/dist/components/Report/components/Row/DisplayRow.d.ts +0 -9
  299. package/dist/components/Report/components/Row/Row.d.ts +0 -9
  300. package/dist/components/Report/components/Row/RowContext.d.ts +0 -8
  301. package/dist/components/Report/components/Toolbar/Toolbar.d.ts +0 -15
  302. package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +0 -12
  303. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -12
  304. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -7
  305. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -10
  306. package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +0 -2
  307. package/dist/components/Report/components/Toolbar/components/Print/Print.d.ts +0 -9
  308. package/dist/components/Report/components/Toolbar/components/Print/PrintDialog.d.ts +0 -17
  309. package/dist/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -7
  310. package/dist/components/Report/components/Toolbar/components/Settings/Settings.d.ts +0 -8
  311. package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +0 -2
  312. package/dist/components/Report/styles/useCssGridStylesheet.d.ts +0 -3
  313. package/dist/components/Report/styles/util.d.ts +0 -3
  314. package/dist/components/Report/types.d.ts +0 -20
  315. package/dist/components/Report/useReport.d.ts +0 -9
  316. package/dist/components/Report/util/useTableGlobalShortcuts.d.ts +0 -4
  317. package/dist/components/Report/util/useTableRenderer.d.ts +0 -9
  318. package/dist/components/Select2/Select2.d.ts +0 -50
  319. package/dist/components/Table/Table.d.ts +0 -14
  320. package/dist/components/Table/components/BaseTable.d.ts +0 -8
  321. package/dist/components/Table/hooks/useRowCreation.d.ts +0 -11
  322. package/dist/components/Table/hooks/useTable.d.ts +0 -38
  323. package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +0 -3
  324. package/dist/components/Table/types.d.ts +0 -284
  325. package/dist/components/Table/util/sortTypes.d.ts +0 -4
  326. package/dist/components/Table/util.d.ts +0 -12
  327. package/dist/components/Table3/Table3.d.ts +0 -19
  328. package/dist/components/Table3/components/alert/ErrorAlert.d.ts +0 -10
  329. package/dist/components/Table3/components/columns/cell/Cell.d.ts +0 -6
  330. package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +0 -25
  331. package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +0 -14
  332. package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +0 -21
  333. package/dist/components/Table3/components/columns/cell/Highlight.d.ts +0 -2
  334. package/dist/components/Table3/components/columns/cell/Indicator.d.ts +0 -22
  335. package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +0 -2
  336. package/dist/components/Table3/components/columns/footer/Footer.d.ts +0 -14
  337. package/dist/components/Table3/components/columns/footer/Summary.d.ts +0 -8
  338. package/dist/components/Table3/components/columns/header/Goto.d.ts +0 -6
  339. package/dist/components/Table3/components/columns/header/Group.d.ts +0 -15
  340. package/dist/components/Table3/components/columns/header/Header.d.ts +0 -37
  341. package/dist/components/Table3/components/columns/header/Menu.d.ts +0 -20
  342. package/dist/components/Table3/components/columns/header/Resizer.d.ts +0 -7
  343. package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +0 -12
  344. package/dist/components/Table3/components/columns/internal/Actions.d.ts +0 -3
  345. package/dist/components/Table3/components/columns/internal/Drag.d.ts +0 -4
  346. package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +0 -8
  347. package/dist/components/Table3/components/columns/internal/Expansion.d.ts +0 -4
  348. package/dist/components/Table3/components/columns/internal/Selection.d.ts +0 -3
  349. package/dist/components/Table3/components/columns/styles.d.ts +0 -5
  350. package/dist/components/Table3/components/rows/ExpandedRow.d.ts +0 -8
  351. package/dist/components/Table3/components/rows/Row.d.ts +0 -26
  352. package/dist/components/Table3/components/rows/RowContext.d.ts +0 -10
  353. package/dist/components/Table3/components/rows/SkeletonRow.d.ts +0 -10
  354. package/dist/components/Table3/components/rows/styles.d.ts +0 -6
  355. package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +0 -7
  356. package/dist/components/Table3/components/toolbar/EditButton.d.ts +0 -7
  357. package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +0 -7
  358. package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +0 -12
  359. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +0 -12
  360. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +0 -7
  361. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +0 -10
  362. package/dist/components/Table3/components/toolbar/FontSize.d.ts +0 -7
  363. package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +0 -8
  364. package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +0 -8
  365. package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +0 -9
  366. package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +0 -1
  367. package/dist/components/Table3/components/toolbar/RowHeight.d.ts +0 -7
  368. package/dist/components/Table3/components/toolbar/Search.d.ts +0 -8
  369. package/dist/components/Table3/components/toolbar/Settings.d.ts +0 -8
  370. package/dist/components/Table3/components/toolbar/Toolbar.d.ts +0 -13
  371. package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +0 -13
  372. package/dist/components/Table3/hooks/features/useEditing.d.ts +0 -31
  373. package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +0 -3
  374. package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +0 -5
  375. package/dist/components/Table3/hooks/features/usePrinting.d.ts +0 -7
  376. package/dist/components/Table3/hooks/features/useRowActions.d.ts +0 -5
  377. package/dist/components/Table3/hooks/features/useRowDrag.d.ts +0 -6
  378. package/dist/components/Table3/hooks/features/useRowDrop.d.ts +0 -5
  379. package/dist/components/Table3/hooks/features/useSearch.d.ts +0 -16
  380. package/dist/components/Table3/hooks/features/useSettings.d.ts +0 -3
  381. package/dist/components/Table3/hooks/features/useValidation.d.ts +0 -13
  382. package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +0 -2
  383. package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +0 -3
  384. package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +0 -9
  385. package/dist/components/Table3/hooks/useCssGrid.d.ts +0 -6
  386. package/dist/components/Table3/hooks/useCssVars.d.ts +0 -8
  387. package/dist/components/Table3/hooks/useTable.d.ts +0 -74
  388. package/dist/components/Table3/hooks/useTableDataLoader.d.ts +0 -22
  389. package/dist/components/Table3/hooks/useTablePreset.d.ts +0 -2
  390. package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +0 -4
  391. package/dist/components/Table3/strategies/index.d.ts +0 -4
  392. package/dist/components/Table3/strategies/virtualised.d.ts +0 -4
  393. package/dist/components/Table3/types.d.ts +0 -377
  394. package/dist/components/Table3/util/columns.d.ts +0 -8
  395. package/dist/components/Table3/util/editing.d.ts +0 -10
  396. package/dist/components/Table3/util/filtering.d.ts +0 -3
  397. package/dist/components/Table3/util/scrolling.d.ts +0 -2
  398. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +0 -60
  399. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +0 -1
  400. package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +0 -1
  401. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +0 -1
  402. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +0 -32
  403. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +0 -1
  404. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js +0 -23
  405. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +0 -1
  406. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +0 -58
  407. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +0 -1
  408. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +0 -73
  409. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +0 -1
  410. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +0 -1
  411. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +0 -39
  412. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +0 -1
  413. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +0 -194
  414. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +0 -1
  415. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js +0 -28
  416. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +0 -1
  417. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +0 -150
  418. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +0 -1
  419. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js +0 -60
  420. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +0 -1
  421. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js +0 -41
  422. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +0 -1
  423. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +0 -24
  424. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +0 -1
  425. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js +0 -90
  426. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +0 -1
  427. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js +0 -59
  428. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +0 -1
  429. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +0 -154
  430. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +0 -1
  431. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js +0 -102
  432. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +0 -1
  433. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js +0 -24
  434. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +0 -1
  435. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js +0 -10
  436. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +0 -1
  437. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +0 -1
  438. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +0 -63
  439. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +0 -1
  440. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +0 -50
  441. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +0 -1
  442. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +0 -121
  443. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
  444. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +0 -102
  445. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
  446. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +0 -50
  447. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
  448. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js +0 -110
  449. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
  450. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +0 -118
  451. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
  452. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js +0 -7
  453. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +0 -1
  454. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +0 -125
  455. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +0 -1
  456. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +0 -88
  457. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
  458. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js +0 -95
  459. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +0 -1
  460. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +0 -105
  461. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
  462. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +0 -103
  463. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +0 -1
  464. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +0 -24
  465. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +0 -1
  466. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js +0 -44
  467. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +0 -1
  468. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +0 -58
  469. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +0 -1
  470. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +0 -20
  471. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +0 -1
  472. package/dist/esm/packages/taco/src/components/Report/styles/util.js +0 -61
  473. package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +0 -1
  474. package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +0 -1
  475. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +0 -32
  476. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +0 -1
  477. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js +0 -162
  478. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +0 -1
  479. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +0 -154
  480. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +0 -1
  481. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +0 -84
  482. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +0 -1
  483. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +0 -84
  484. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +0 -1
  485. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +0 -212
  486. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +0 -1
  487. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +0 -194
  488. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +0 -1
  489. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +0 -41
  490. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +0 -1
  491. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +0 -88
  492. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +0 -1
  493. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +0 -144
  494. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +0 -1
  495. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +0 -50
  496. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +0 -1
  497. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +0 -41
  498. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +0 -1
  499. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js +0 -28
  500. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +0 -1
  501. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +0 -74
  502. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +0 -1
  503. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +0 -186
  504. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +0 -1
  505. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +0 -206
  506. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +0 -1
  507. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +0 -42
  508. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +0 -1
  509. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +0 -38
  510. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +0 -1
  511. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +0 -129
  512. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +0 -1
  513. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +0 -86
  514. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +0 -1
  515. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +0 -174
  516. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +0 -1
  517. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +0 -104
  518. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +0 -1
  519. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +0 -187
  520. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +0 -1
  521. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +0 -19
  522. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +0 -1
  523. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +0 -27
  524. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +0 -1
  525. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +0 -327
  526. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +0 -1
  527. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +0 -14
  528. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +0 -1
  529. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +0 -43
  530. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +0 -1
  531. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +0 -9
  532. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +0 -1
  533. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +0 -109
  534. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +0 -1
  535. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +0 -29
  536. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +0 -1
  537. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +0 -164
  538. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +0 -1
  539. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +0 -102
  540. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +0 -1
  541. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +0 -50
  542. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +0 -1
  543. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +0 -111
  544. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +0 -1
  545. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +0 -118
  546. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +0 -1
  547. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +0 -26
  548. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +0 -1
  549. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +0 -211
  550. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +0 -1
  551. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +0 -224
  552. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +0 -1
  553. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +0 -60
  554. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +0 -1
  555. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +0 -97
  556. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +0 -1
  557. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +0 -33
  558. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +0 -1
  559. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +0 -238
  560. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +0 -1
  561. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +0 -65
  562. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +0 -1
  563. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +0 -64
  564. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +0 -1
  565. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +0 -95
  566. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +0 -1
  567. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +0 -299
  568. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +0 -1
  569. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +0 -24
  570. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +0 -1
  571. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +0 -12
  572. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +0 -1
  573. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +0 -14
  574. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +0 -1
  575. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +0 -10
  576. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +0 -1
  577. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +0 -13
  578. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +0 -1
  579. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +0 -9
  580. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +0 -1
  581. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +0 -29
  582. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +0 -1
  583. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +0 -23
  584. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +0 -1
  585. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +0 -178
  586. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +0 -1
  587. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +0 -28
  588. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +0 -1
  589. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +0 -24
  590. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +0 -1
  591. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +0 -143
  592. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +0 -1
  593. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +0 -66
  594. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +0 -1
  595. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +0 -74
  596. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +0 -1
  597. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +0 -234
  598. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +0 -1
  599. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +0 -130
  600. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +0 -1
  601. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +0 -122
  602. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +0 -1
  603. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +0 -19
  604. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +0 -1
  605. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +0 -8
  606. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +0 -1
  607. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +0 -117
  608. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +0 -1
  609. package/dist/esm/packages/taco/src/components/Table3/types.js +0 -20
  610. package/dist/esm/packages/taco/src/components/Table3/types.js.map +0 -1
  611. package/dist/esm/packages/taco/src/components/Table3/util/columns.js +0 -60
  612. package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +0 -1
  613. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +0 -120
  614. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +0 -1
  615. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +0 -53
  616. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +0 -1
  617. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +0 -15
  618. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +0 -1
  619. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js.map +0 -1
  620. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +0 -1
  621. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +0 -1
  622. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +0 -1
  623. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
  624. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +0 -1
  625. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +0 -1
  626. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js +0 -90
  627. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +0 -1
  628. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +0 -1
  629. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +0 -1
  630. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +0 -1
  631. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +0 -1
  632. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowHeight.js.map +0 -1
  633. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +0 -1
  634. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +0 -1
  635. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +0 -1
  636. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +0 -1
  637. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableDataListener.js.map +0 -1
  638. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFilterListener.js.map +0 -1
  639. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +0 -1
  640. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +0 -1
  641. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowSelectionListener.js.map +0 -1
  642. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +0 -1
  643. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableServerLoadingListener.js.map +0 -1
  644. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js +0 -26
  645. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +0 -1
  646. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableShortcutsListener.js.map +0 -1
  647. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSortingListener.js.map +0 -1
  648. package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js +0 -122
  649. package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +0 -1
  650. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +0 -1
  651. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +0 -1
  652. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js +0 -131
  653. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +0 -1
  654. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +0 -1
  655. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js +0 -21
  656. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +0 -1
  657. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js +0 -270
  658. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +0 -1
  659. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +0 -1
  660. package/dist/index.d.ts +0 -73
  661. package/dist/primitives/Table/types.d.ts +0 -225
  662. package/dist/primitives/Table/useTable/features/useTableRowActive.d.ts +0 -11
  663. package/dist/primitives/Table/useTable/useTable.d.ts +0 -58
  664. package/dist/primitives/Table/useTable/util/presets.d.ts +0 -2
  665. package/dist/primitives/Table/useTable/util/settings.d.ts +0 -12
  666. package/dist/primitives/Table/useTable/util/setup.d.ts +0 -14
  667. package/dist/utils/dom.d.ts +0 -7
  668. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/EmptyStateBody.js +0 -0
  669. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/util.js +0 -0
  670. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Footer.js +0 -0
  671. /package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.js +0 -0
  672. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → Core}/features/useTableRef.js +0 -0
  673. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/util/rows.js +0 -0
  674. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.js +0 -0
  675. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.js +0 -0
  676. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.js +0 -0
  677. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFooter.js +0 -0
  678. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTablePrinting.js +0 -0
  679. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.js +0 -0
  680. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.js +0 -0
  681. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.js +0 -0
  682. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.js +0 -0
  683. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.js +0 -0
  684. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.js +0 -0
  685. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.js +0 -0
  686. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSearch.js +0 -0
  687. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.js +0 -0
  688. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSettings.js +0 -0
  689. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.js +0 -0
  690. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.js +0 -0
  691. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.js +0 -0
  692. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.js +0 -0
  693. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.js +0 -0
  694. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.js +0 -0
  695. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.js +0 -0
  696. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.js +0 -0
  697. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.js +0 -0
  698. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/columns.js +0 -0
  699. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/filtering.js +0 -0
  700. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/search.js +0 -0
  701. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/sorting.js +0 -0
  702. /package/dist/{components → packages/taco/src/components}/Accordion/Accordion.d.ts +0 -0
  703. /package/dist/{components → packages/taco/src/components}/Alert/Alert.d.ts +0 -0
  704. /package/dist/{components → packages/taco/src/components}/AlertDialog/AlertDialog.d.ts +0 -0
  705. /package/dist/{components → packages/taco/src/components}/AlertDialog/Context.d.ts +0 -0
  706. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Content.d.ts +0 -0
  707. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Footer.d.ts +0 -0
  708. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Trigger.d.ts +0 -0
  709. /package/dist/{components → packages/taco/src/components}/Backdrop/Backdrop.d.ts +0 -0
  710. /package/dist/{components → packages/taco/src/components}/Badge/Badge.d.ts +0 -0
  711. /package/dist/{components → packages/taco/src/components}/BadgeIcon/BadgeIcon.d.ts +0 -0
  712. /package/dist/{components → packages/taco/src/components}/Banner/Banner.d.ts +0 -0
  713. /package/dist/{components → packages/taco/src/components}/Banner/util.d.ts +0 -0
  714. /package/dist/{components → packages/taco/src/components}/Button/Button.d.ts +0 -0
  715. /package/dist/{components → packages/taco/src/components}/Button/util.d.ts +0 -0
  716. /package/dist/{components → packages/taco/src/components}/Calendar/Calendar.d.ts +0 -0
  717. /package/dist/{components → packages/taco/src/components}/Card/Card.d.ts +0 -0
  718. /package/dist/{components → packages/taco/src/components}/Checkbox/Checkbox.d.ts +0 -0
  719. /package/dist/{components → packages/taco/src/components}/Combobox/Combobox.d.ts +0 -0
  720. /package/dist/{components → packages/taco/src/components}/Combobox/useCombobox.d.ts +0 -0
  721. /package/dist/{components → packages/taco/src/components}/Datepicker/Datepicker.d.ts +0 -0
  722. /package/dist/{components → packages/taco/src/components}/Datepicker/useDatepicker.d.ts +0 -0
  723. /package/dist/{components → packages/taco/src/components}/Dialog/Context.d.ts +0 -0
  724. /package/dist/{components → packages/taco/src/components}/Dialog/Dialog.d.ts +0 -0
  725. /package/dist/{components → packages/taco/src/components}/Dialog/components/Content.d.ts +0 -0
  726. /package/dist/{components → packages/taco/src/components}/Dialog/components/DialogDrawer.d.ts +0 -0
  727. /package/dist/{components → packages/taco/src/components}/Dialog/components/Extra.d.ts +0 -0
  728. /package/dist/{components → packages/taco/src/components}/Dialog/components/Trigger.d.ts +0 -0
  729. /package/dist/{components → packages/taco/src/components}/Dialog/types.d.ts +0 -0
  730. /package/dist/{components → packages/taco/src/components}/Dialog/util.d.ts +0 -0
  731. /package/dist/{components → packages/taco/src/components}/Drawer/Context.d.ts +0 -0
  732. /package/dist/{components → packages/taco/src/components}/Drawer/Drawer.d.ts +0 -0
  733. /package/dist/{components → packages/taco/src/components}/Drawer/components/Content.d.ts +0 -0
  734. /package/dist/{components → packages/taco/src/components}/Drawer/components/Trigger.d.ts +0 -0
  735. /package/dist/{components → packages/taco/src/components}/Drawer/images.d.ts +0 -0
  736. /package/dist/{components → packages/taco/src/components}/Drawer/types.d.ts +0 -0
  737. /package/dist/{components → packages/taco/src/components}/Drawer/util.d.ts +0 -0
  738. /package/dist/{components → packages/taco/src/components}/Field/Field.d.ts +0 -0
  739. /package/dist/{components → packages/taco/src/components}/Form/Form.d.ts +0 -0
  740. /package/dist/{components → packages/taco/src/components}/Group/Group.d.ts +0 -0
  741. /package/dist/{components → packages/taco/src/components}/Hanger/Hanger.d.ts +0 -0
  742. /package/dist/{components → packages/taco/src/components}/Header/Header.d.ts +0 -0
  743. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Avatar.d.ts +0 -0
  744. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Badge.d.ts +0 -0
  745. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Display.d.ts +0 -0
  746. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Item.d.ts +0 -0
  747. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/types.d.ts +0 -0
  748. /package/dist/{components → packages/taco/src/components}/Header/components/AgreementSelector.d.ts +0 -0
  749. /package/dist/{components → packages/taco/src/components}/Header/components/Button.d.ts +0 -0
  750. /package/dist/{components → packages/taco/src/components}/Header/components/Link.d.ts +0 -0
  751. /package/dist/{components → packages/taco/src/components}/Header/components/Logo.d.ts +0 -0
  752. /package/dist/{components → packages/taco/src/components}/Header/components/MenuButton.d.ts +0 -0
  753. /package/dist/{components → packages/taco/src/components}/Header/components/PrimaryNavigation.d.ts +0 -0
  754. /package/dist/{components → packages/taco/src/components}/Header/components/SecondaryNavigation.d.ts +0 -0
  755. /package/dist/{components → packages/taco/src/components}/HoverCard/HoverCard.d.ts +0 -0
  756. /package/dist/{components → packages/taco/src/components}/HoverCard/Primitives.d.ts +0 -0
  757. /package/dist/{components → packages/taco/src/components}/Icon/Icon.d.ts +0 -0
  758. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountPreview.d.ts +0 -0
  759. /package/dist/{components → packages/taco/src/components}/Icon/components/Accounting.d.ts +0 -0
  760. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYear.d.ts +0 -0
  761. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYearCancel.d.ts +0 -0
  762. /package/dist/{components → packages/taco/src/components}/Icon/components/AiChatSolid.d.ts +0 -0
  763. /package/dist/{components → packages/taco/src/components}/Icon/components/AiStars.d.ts +0 -0
  764. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowBottom.d.ts +0 -0
  765. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowDown.d.ts +0 -0
  766. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowEnd.d.ts +0 -0
  767. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowLeft.d.ts +0 -0
  768. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowRight.d.ts +0 -0
  769. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowStart.d.ts +0 -0
  770. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowTop.d.ts +0 -0
  771. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowUp.d.ts +0 -0
  772. /package/dist/{components → packages/taco/src/components}/Icon/components/Attach.d.ts +0 -0
  773. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachAuto.d.ts +0 -0
  774. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachCancel.d.ts +0 -0
  775. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachWarning.d.ts +0 -0
  776. /package/dist/{components → packages/taco/src/components}/Icon/components/Autotext.d.ts +0 -0
  777. /package/dist/{components → packages/taco/src/components}/Icon/components/AutotextInsert.d.ts +0 -0
  778. /package/dist/{components → packages/taco/src/components}/Icon/components/Basic.d.ts +0 -0
  779. /package/dist/{components → packages/taco/src/components}/Icon/components/BasicTabs.d.ts +0 -0
  780. /package/dist/{components → packages/taco/src/components}/Icon/components/BellSolid.d.ts +0 -0
  781. /package/dist/{components → packages/taco/src/components}/Icon/components/Book.d.ts +0 -0
  782. /package/dist/{components → packages/taco/src/components}/Icon/components/Booking.d.ts +0 -0
  783. /package/dist/{components → packages/taco/src/components}/Icon/components/Budget.d.ts +0 -0
  784. /package/dist/{components → packages/taco/src/components}/Icon/components/Calendar.d.ts +0 -0
  785. /package/dist/{components → packages/taco/src/components}/Icon/components/CashAccount.d.ts +0 -0
  786. /package/dist/{components → packages/taco/src/components}/Icon/components/CashReports.d.ts +0 -0
  787. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartArea.d.ts +0 -0
  788. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartBar.d.ts +0 -0
  789. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartLine.d.ts +0 -0
  790. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartPie.d.ts +0 -0
  791. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartTable.d.ts +0 -0
  792. /package/dist/{components → packages/taco/src/components}/Icon/components/Chat.d.ts +0 -0
  793. /package/dist/{components → packages/taco/src/components}/Icon/components/ChatSolid.d.ts +0 -0
  794. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDown.d.ts +0 -0
  795. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownDouble.d.ts +0 -0
  796. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownSolid.d.ts +0 -0
  797. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeft.d.ts +0 -0
  798. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
  799. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
  800. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRight.d.ts +0 -0
  801. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightDouble.d.ts +0 -0
  802. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightSolid.d.ts +0 -0
  803. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUp.d.ts +0 -0
  804. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpDouble.d.ts +0 -0
  805. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpSolid.d.ts +0 -0
  806. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleClose.d.ts +0 -0
  807. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleInformation.d.ts +0 -0
  808. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleMinus.d.ts +0 -0
  809. /package/dist/{components → packages/taco/src/components}/Icon/components/CirclePlus.d.ts +0 -0
  810. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleQuestionmark.d.ts +0 -0
  811. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleTick.d.ts +0 -0
  812. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleWarning.d.ts +0 -0
  813. /package/dist/{components → packages/taco/src/components}/Icon/components/Clamp.d.ts +0 -0
  814. /package/dist/{components → packages/taco/src/components}/Icon/components/ClampOpen.d.ts +0 -0
  815. /package/dist/{components → packages/taco/src/components}/Icon/components/Close.d.ts +0 -0
  816. /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnFreeze.d.ts +0 -0
  817. /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
  818. /package/dist/{components → packages/taco/src/components}/Icon/components/Columns.d.ts +0 -0
  819. /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionEnable.d.ts +0 -0
  820. /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionRevoke.d.ts +0 -0
  821. /package/dist/{components → packages/taco/src/components}/Icon/components/Contacts.d.ts +0 -0
  822. /package/dist/{components → packages/taco/src/components}/Icon/components/Copy.d.ts +0 -0
  823. /package/dist/{components → packages/taco/src/components}/Icon/components/Courses.d.ts +0 -0
  824. /package/dist/{components → packages/taco/src/components}/Icon/components/Credit.d.ts +0 -0
  825. /package/dist/{components → packages/taco/src/components}/Icon/components/Delete.d.ts +0 -0
  826. /package/dist/{components → packages/taco/src/components}/Icon/components/DeletePermanently.d.ts +0 -0
  827. /package/dist/{components → packages/taco/src/components}/Icon/components/Depecriate.d.ts +0 -0
  828. /package/dist/{components → packages/taco/src/components}/Icon/components/Developer.d.ts +0 -0
  829. /package/dist/{components → packages/taco/src/components}/Icon/components/DistributionTemplate.d.ts +0 -0
  830. /package/dist/{components → packages/taco/src/components}/Icon/components/Document.d.ts +0 -0
  831. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentApprove.d.ts +0 -0
  832. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
  833. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCut.d.ts +0 -0
  834. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentError.d.ts +0 -0
  835. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
  836. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMerge.d.ts +0 -0
  837. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMove.d.ts +0 -0
  838. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentPreview.d.ts +0 -0
  839. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentReceived.d.ts +0 -0
  840. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
  841. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentSplit.d.ts +0 -0
  842. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentTime.d.ts +0 -0
  843. /package/dist/{components → packages/taco/src/components}/Icon/components/Download.d.ts +0 -0
  844. /package/dist/{components → packages/taco/src/components}/Icon/components/Drag.d.ts +0 -0
  845. /package/dist/{components → packages/taco/src/components}/Icon/components/ECopedia.d.ts +0 -0
  846. /package/dist/{components → packages/taco/src/components}/Icon/components/ESignature.d.ts +0 -0
  847. /package/dist/{components → packages/taco/src/components}/Icon/components/Edit.d.ts +0 -0
  848. /package/dist/{components → packages/taco/src/components}/Icon/components/EditSimple.d.ts +0 -0
  849. /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
  850. /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisVertical.d.ts +0 -0
  851. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOnAccount.d.ts +0 -0
  852. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOpen.d.ts +0 -0
  853. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesWarning.d.ts +0 -0
  854. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
  855. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
  856. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
  857. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
  858. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
  859. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
  860. /package/dist/{components → packages/taco/src/components}/Icon/components/Envelope.d.ts +0 -0
  861. /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeApproved.d.ts +0 -0
  862. /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeSolid.d.ts +0 -0
  863. /package/dist/{components → packages/taco/src/components}/Icon/components/ExpandView.d.ts +0 -0
  864. /package/dist/{components → packages/taco/src/components}/Icon/components/Expenses.d.ts +0 -0
  865. /package/dist/{components → packages/taco/src/components}/Icon/components/Export.d.ts +0 -0
  866. /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToExcel.d.ts +0 -0
  867. /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToPdf.d.ts +0 -0
  868. /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOff.d.ts +0 -0
  869. /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOn.d.ts +0 -0
  870. /package/dist/{components → packages/taco/src/components}/Icon/components/Filter.d.ts +0 -0
  871. /package/dist/{components → packages/taco/src/components}/Icon/components/FilterSolid.d.ts +0 -0
  872. /package/dist/{components → packages/taco/src/components}/Icon/components/FontSize.d.ts +0 -0
  873. /package/dist/{components → packages/taco/src/components}/Icon/components/GraphSolid.d.ts +0 -0
  874. /package/dist/{components → packages/taco/src/components}/Icon/components/Hash.d.ts +0 -0
  875. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightExtraTall.d.ts +0 -0
  876. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightMedium.d.ts +0 -0
  877. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightShort.d.ts +0 -0
  878. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightTall.d.ts +0 -0
  879. /package/dist/{components → packages/taco/src/components}/Icon/components/Home.d.ts +0 -0
  880. /package/dist/{components → packages/taco/src/components}/Icon/components/Images.d.ts +0 -0
  881. /package/dist/{components → packages/taco/src/components}/Icon/components/Import.d.ts +0 -0
  882. /package/dist/{components → packages/taco/src/components}/Icon/components/Inbox.d.ts +0 -0
  883. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxEinvoicing.d.ts +0 -0
  884. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxScanning.d.ts +0 -0
  885. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxSmart.d.ts +0 -0
  886. /package/dist/{components → packages/taco/src/components}/Icon/components/Info.d.ts +0 -0
  887. /package/dist/{components → packages/taco/src/components}/Icon/components/Inventory.d.ts +0 -0
  888. /package/dist/{components → packages/taco/src/components}/Icon/components/InventoryMatrix.d.ts +0 -0
  889. /package/dist/{components → packages/taco/src/components}/Icon/components/JournalPro.d.ts +0 -0
  890. /package/dist/{components → packages/taco/src/components}/Icon/components/Layout.d.ts +0 -0
  891. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutBoth.d.ts +0 -0
  892. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutFirst.d.ts +0 -0
  893. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutLast.d.ts +0 -0
  894. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutNone.d.ts +0 -0
  895. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCard.d.ts +0 -0
  896. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
  897. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
  898. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
  899. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
  900. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
  901. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
  902. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
  903. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
  904. /package/dist/{components → packages/taco/src/components}/Icon/components/Lightbulb.d.ts +0 -0
  905. /package/dist/{components → packages/taco/src/components}/Icon/components/Line.d.ts +0 -0
  906. /package/dist/{components → packages/taco/src/components}/Icon/components/List.d.ts +0 -0
  907. /package/dist/{components → packages/taco/src/components}/Icon/components/ListBulleted.d.ts +0 -0
  908. /package/dist/{components → packages/taco/src/components}/Icon/components/ListSearch.d.ts +0 -0
  909. /package/dist/{components → packages/taco/src/components}/Icon/components/Location.d.ts +0 -0
  910. /package/dist/{components → packages/taco/src/components}/Icon/components/Lock.d.ts +0 -0
  911. /package/dist/{components → packages/taco/src/components}/Icon/components/LockOpen.d.ts +0 -0
  912. /package/dist/{components → packages/taco/src/components}/Icon/components/Log.d.ts +0 -0
  913. /package/dist/{components → packages/taco/src/components}/Icon/components/LogOut.d.ts +0 -0
  914. /package/dist/{components → packages/taco/src/components}/Icon/components/Market.d.ts +0 -0
  915. /package/dist/{components → packages/taco/src/components}/Icon/components/MatchAmount.d.ts +0 -0
  916. /package/dist/{components → packages/taco/src/components}/Icon/components/MatchEntries.d.ts +0 -0
  917. /package/dist/{components → packages/taco/src/components}/Icon/components/Menu.d.ts +0 -0
  918. /package/dist/{components → packages/taco/src/components}/Icon/components/Mileage.d.ts +0 -0
  919. /package/dist/{components → packages/taco/src/components}/Icon/components/ModalResize.d.ts +0 -0
  920. /package/dist/{components → packages/taco/src/components}/Icon/components/ModalShrink.d.ts +0 -0
  921. /package/dist/{components → packages/taco/src/components}/Icon/components/More.d.ts +0 -0
  922. /package/dist/{components → packages/taco/src/components}/Icon/components/MoreSolid.d.ts +0 -0
  923. /package/dist/{components → packages/taco/src/components}/Icon/components/Move.d.ts +0 -0
  924. /package/dist/{components → packages/taco/src/components}/Icon/components/NavigationList.d.ts +0 -0
  925. /package/dist/{components → packages/taco/src/components}/Icon/components/Note.d.ts +0 -0
  926. /package/dist/{components → packages/taco/src/components}/Icon/components/NoteFollowUp.d.ts +0 -0
  927. /package/dist/{components → packages/taco/src/components}/Icon/components/NoteRead.d.ts +0 -0
  928. /package/dist/{components → packages/taco/src/components}/Icon/components/Numbers.d.ts +0 -0
  929. /package/dist/{components → packages/taco/src/components}/Icon/components/PartnerApi.d.ts +0 -0
  930. /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentPaid.d.ts +0 -0
  931. /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentUnpaid.d.ts +0 -0
  932. /package/dist/{components → packages/taco/src/components}/Icon/components/Period.d.ts +0 -0
  933. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonChange.d.ts +0 -0
  934. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonMinus.d.ts +0 -0
  935. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonPlus.d.ts +0 -0
  936. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonTick.d.ts +0 -0
  937. /package/dist/{components → packages/taco/src/components}/Icon/components/PhoneSolid.d.ts +0 -0
  938. /package/dist/{components → packages/taco/src/components}/Icon/components/Play.d.ts +0 -0
  939. /package/dist/{components → packages/taco/src/components}/Icon/components/PlusMinus.d.ts +0 -0
  940. /package/dist/{components → packages/taco/src/components}/Icon/components/Print.d.ts +0 -0
  941. /package/dist/{components → packages/taco/src/components}/Icon/components/ProcessPayment.d.ts +0 -0
  942. /package/dist/{components → packages/taco/src/components}/Icon/components/ProductLedgerCard.d.ts +0 -0
  943. /package/dist/{components → packages/taco/src/components}/Icon/components/Profile.d.ts +0 -0
  944. /package/dist/{components → packages/taco/src/components}/Icon/components/ProjectCards.d.ts +0 -0
  945. /package/dist/{components → packages/taco/src/components}/Icon/components/Projects.d.ts +0 -0
  946. /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMark.d.ts +0 -0
  947. /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMarkBold.d.ts +0 -0
  948. /package/dist/{components → packages/taco/src/components}/Icon/components/Quicklinks.d.ts +0 -0
  949. /package/dist/{components → packages/taco/src/components}/Icon/components/RatingBankruptcy.d.ts +0 -0
  950. /package/dist/{components → packages/taco/src/components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
  951. /package/dist/{components → packages/taco/src/components}/Icon/components/Reconciled.d.ts +0 -0
  952. /package/dist/{components → packages/taco/src/components}/Icon/components/Refresh.d.ts +0 -0
  953. /package/dist/{components → packages/taco/src/components}/Icon/components/Report.d.ts +0 -0
  954. /package/dist/{components → packages/taco/src/components}/Icon/components/ReportSolid.d.ts +0 -0
  955. /package/dist/{components → packages/taco/src/components}/Icon/components/Restore.d.ts +0 -0
  956. /package/dist/{components → packages/taco/src/components}/Icon/components/RotateLeft.d.ts +0 -0
  957. /package/dist/{components → packages/taco/src/components}/Icon/components/RotateRight.d.ts +0 -0
  958. /package/dist/{components → packages/taco/src/components}/Icon/components/Sales.d.ts +0 -0
  959. /package/dist/{components → packages/taco/src/components}/Icon/components/Search.d.ts +0 -0
  960. /package/dist/{components → packages/taco/src/components}/Icon/components/SearchBold.d.ts +0 -0
  961. /package/dist/{components → packages/taco/src/components}/Icon/components/Secure.d.ts +0 -0
  962. /package/dist/{components → packages/taco/src/components}/Icon/components/SecureTick.d.ts +0 -0
  963. /package/dist/{components → packages/taco/src/components}/Icon/components/Settings.d.ts +0 -0
  964. /package/dist/{components → packages/taco/src/components}/Icon/components/SettingsSolid.d.ts +0 -0
  965. /package/dist/{components → packages/taco/src/components}/Icon/components/Shortcuts.d.ts +0 -0
  966. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowAll.d.ts +0 -0
  967. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowLess.d.ts +0 -0
  968. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowMore.d.ts +0 -0
  969. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowTemplate.d.ts +0 -0
  970. /package/dist/{components → packages/taco/src/components}/Icon/components/Sliders.d.ts +0 -0
  971. /package/dist/{components → packages/taco/src/components}/Icon/components/Smartpay.d.ts +0 -0
  972. /package/dist/{components → packages/taco/src/components}/Icon/components/SortBy.d.ts +0 -0
  973. /package/dist/{components → packages/taco/src/components}/Icon/components/Star.d.ts +0 -0
  974. /package/dist/{components → packages/taco/src/components}/Icon/components/StarSolid.d.ts +0 -0
  975. /package/dist/{components → packages/taco/src/components}/Icon/components/Subscriptions.d.ts +0 -0
  976. /package/dist/{components → packages/taco/src/components}/Icon/components/SystemEntries.d.ts +0 -0
  977. /package/dist/{components → packages/taco/src/components}/Icon/components/Tag.d.ts +0 -0
  978. /package/dist/{components → packages/taco/src/components}/Icon/components/TemplateOverride.d.ts +0 -0
  979. /package/dist/{components → packages/taco/src/components}/Icon/components/Templates.d.ts +0 -0
  980. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbBoth.d.ts +0 -0
  981. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDown.d.ts +0 -0
  982. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDownSolid.d.ts +0 -0
  983. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUp.d.ts +0 -0
  984. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUpSolid.d.ts +0 -0
  985. /package/dist/{components → packages/taco/src/components}/Icon/components/Tick.d.ts +0 -0
  986. /package/dist/{components → packages/taco/src/components}/Icon/components/TickBold.d.ts +0 -0
  987. /package/dist/{components → packages/taco/src/components}/Icon/components/Time.d.ts +0 -0
  988. /package/dist/{components → packages/taco/src/components}/Icon/components/Transfer.d.ts +0 -0
  989. /package/dist/{components → packages/taco/src/components}/Icon/components/TransferCancel.d.ts +0 -0
  990. /package/dist/{components → packages/taco/src/components}/Icon/components/TransferLocked.d.ts +0 -0
  991. /package/dist/{components → packages/taco/src/components}/Icon/components/Undo.d.ts +0 -0
  992. /package/dist/{components → packages/taco/src/components}/Icon/components/Undock.d.ts +0 -0
  993. /package/dist/{components → packages/taco/src/components}/Icon/components/Unreconciled.d.ts +0 -0
  994. /package/dist/{components → packages/taco/src/components}/Icon/components/Warning.d.ts +0 -0
  995. /package/dist/{components → packages/taco/src/components}/Icon/components/Webshop.d.ts +0 -0
  996. /package/dist/{components → packages/taco/src/components}/Icon/components/Website.d.ts +0 -0
  997. /package/dist/{components → packages/taco/src/components}/Icon/components/Workflow.d.ts +0 -0
  998. /package/dist/{components → packages/taco/src/components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
  999. /package/dist/{components → packages/taco/src/components}/Icon/components/Zoom.d.ts +0 -0
  1000. /package/dist/{components → packages/taco/src/components}/Icon/components/index.d.ts +0 -0
  1001. /package/dist/{components → packages/taco/src/components}/IconButton/IconButton.d.ts +0 -0
  1002. /package/dist/{components → packages/taco/src/components}/Input/Input.d.ts +0 -0
  1003. /package/dist/{components → packages/taco/src/components}/Input/util.d.ts +0 -0
  1004. /package/dist/{components → packages/taco/src/components}/Layout/Layout.d.ts +0 -0
  1005. /package/dist/{components → packages/taco/src/components}/Layout/components/Content.d.ts +0 -0
  1006. /package/dist/{components → packages/taco/src/components}/Layout/components/Context.d.ts +0 -0
  1007. /package/dist/{components → packages/taco/src/components}/Layout/components/Page.d.ts +0 -0
  1008. /package/dist/{components → packages/taco/src/components}/Layout/components/Sidebar.d.ts +0 -0
  1009. /package/dist/{components → packages/taco/src/components}/Layout/components/Top.d.ts +0 -0
  1010. /package/dist/{components → packages/taco/src/components}/Listbox/Listbox.d.ts +0 -0
  1011. /package/dist/{components → packages/taco/src/components}/Listbox/ScrollableList.d.ts +0 -0
  1012. /package/dist/{components → packages/taco/src/components}/Listbox/useListbox.d.ts +0 -0
  1013. /package/dist/{components → packages/taco/src/components}/Listbox/useMultiListbox.d.ts +0 -0
  1014. /package/dist/{components → packages/taco/src/components}/Listbox/useTypeahead.d.ts +0 -0
  1015. /package/dist/{components → packages/taco/src/components}/Listbox/util.d.ts +0 -0
  1016. /package/dist/{components → packages/taco/src/components}/Menu/Context.d.ts +0 -0
  1017. /package/dist/{components → packages/taco/src/components}/Menu/Menu.d.ts +0 -0
  1018. /package/dist/{components → packages/taco/src/components}/Menu/components/Checkbox.d.ts +0 -0
  1019. /package/dist/{components → packages/taco/src/components}/Menu/components/Content.d.ts +0 -0
  1020. /package/dist/{components → packages/taco/src/components}/Menu/components/Header.d.ts +0 -0
  1021. /package/dist/{components → packages/taco/src/components}/Menu/components/Item.d.ts +0 -0
  1022. /package/dist/{components → packages/taco/src/components}/Menu/components/Link.d.ts +0 -0
  1023. /package/dist/{components → packages/taco/src/components}/Menu/components/RadioGroup.d.ts +0 -0
  1024. /package/dist/{components → packages/taco/src/components}/Menu/components/Separator.d.ts +0 -0
  1025. /package/dist/{components → packages/taco/src/components}/Menu/components/SubMenu.d.ts +0 -0
  1026. /package/dist/{components → packages/taco/src/components}/Menu/components/Trigger.d.ts +0 -0
  1027. /package/dist/{components → packages/taco/src/components}/ModeSwitch/ModeSwitch.d.ts +0 -0
  1028. /package/dist/{components → packages/taco/src/components}/Navigation/Navigation.d.ts +0 -0
  1029. /package/dist/{components → packages/taco/src/components}/Navigation2/Navigation2.d.ts +0 -0
  1030. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Content.d.ts +0 -0
  1031. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Group.d.ts +0 -0
  1032. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Link.d.ts +0 -0
  1033. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Section.d.ts +0 -0
  1034. /package/dist/{components → packages/taco/src/components}/Navigation2/components/util.d.ts +0 -0
  1035. /package/dist/{components → packages/taco/src/components}/OverflowGroup/OverflowGroup.d.ts +0 -0
  1036. /package/dist/{components → packages/taco/src/components}/Pagination/PageNumbers.d.ts +0 -0
  1037. /package/dist/{components → packages/taco/src/components}/Pagination/Pagination.d.ts +0 -0
  1038. /package/dist/{components → packages/taco/src/components}/Pagination/usePagination.d.ts +0 -0
  1039. /package/dist/{components → packages/taco/src/components}/Pagination/usePaginationShortcuts.d.ts +0 -0
  1040. /package/dist/{components → packages/taco/src/components}/Popover/Popover.d.ts +0 -0
  1041. /package/dist/{components → packages/taco/src/components}/Popover/Primitives.d.ts +0 -0
  1042. /package/dist/{components → packages/taco/src/components}/Popover/util.d.ts +0 -0
  1043. /package/dist/{components → packages/taco/src/components}/Progress/Progress.d.ts +0 -0
  1044. /package/dist/{components → packages/taco/src/components}/Provider/Provider.d.ts +0 -0
  1045. /package/dist/{components → packages/taco/src/components}/RadioGroup/RadioGroup.d.ts +0 -0
  1046. /package/dist/{components → packages/taco/src/components}/RadioGroup/util.d.ts +0 -0
  1047. /package/dist/{components → packages/taco/src/components}/ScrollArea/ScrollArea.d.ts +0 -0
  1048. /package/dist/{components → packages/taco/src/components}/SearchInput/SearchInput.d.ts +0 -0
  1049. /package/dist/{components → packages/taco/src/components}/SearchInput2/SearchInput2.d.ts +0 -0
  1050. /package/dist/{components → packages/taco/src/components}/Select/Select.d.ts +0 -0
  1051. /package/dist/{components → packages/taco/src/components}/Select/useSelect.d.ts +0 -0
  1052. /package/dist/{components → packages/taco/src/components}/Select2/components/All.d.ts +0 -0
  1053. /package/dist/{components → packages/taco/src/components}/Select2/components/Collection.d.ts +0 -0
  1054. /package/dist/{components → packages/taco/src/components}/Select2/components/Context.d.ts +0 -0
  1055. /package/dist/{components → packages/taco/src/components}/Select2/components/Create.d.ts +0 -0
  1056. /package/dist/{components → packages/taco/src/components}/Select2/components/Edit.d.ts +0 -0
  1057. /package/dist/{components → packages/taco/src/components}/Select2/components/Group.d.ts +0 -0
  1058. /package/dist/{components → packages/taco/src/components}/Select2/components/Option.d.ts +0 -0
  1059. /package/dist/{components → packages/taco/src/components}/Select2/components/Search.d.ts +0 -0
  1060. /package/dist/{components → packages/taco/src/components}/Select2/components/Title.d.ts +0 -0
  1061. /package/dist/{components → packages/taco/src/components}/Select2/components/Trigger.d.ts +0 -0
  1062. /package/dist/{components → packages/taco/src/components}/Select2/hooks/useChildren.d.ts +0 -0
  1063. /package/dist/{components → packages/taco/src/components}/Select2/types.d.ts +0 -0
  1064. /package/dist/{components → packages/taco/src/components}/Select2/utilities.d.ts +0 -0
  1065. /package/dist/{components → packages/taco/src/components}/Shortcut/Shortcut.d.ts +0 -0
  1066. /package/dist/{components → packages/taco/src/components}/Spinner/Spinner.d.ts +0 -0
  1067. /package/dist/{components → packages/taco/src/components}/Switch/Switch.d.ts +0 -0
  1068. /package/dist/{components → packages/taco/src/components}/Table/Table.storyexample.d.ts +0 -0
  1069. /package/dist/{components → packages/taco/src/components}/Table/components/PaginatedTable.d.ts +0 -0
  1070. /package/dist/{components → packages/taco/src/components}/Table/components/Table.d.ts +0 -0
  1071. /package/dist/{components → packages/taco/src/components}/Table/components/WindowedTable.d.ts +0 -0
  1072. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
  1073. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
  1074. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
  1075. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
  1076. /package/dist/{components → packages/taco/src/components}/Table/util/renderColumn.d.ts +0 -0
  1077. /package/dist/{components → packages/taco/src/components}/Table/util/renderRow.d.ts +0 -0
  1078. /package/dist/{components → packages/taco/src/components}/Table/util/rowIndexPath.d.ts +0 -0
  1079. /package/dist/{components → packages/taco/src/components}/Tabs/Tabs.d.ts +0 -0
  1080. /package/dist/{components → packages/taco/src/components}/Tag/Tag.d.ts +0 -0
  1081. /package/dist/{components → packages/taco/src/components}/Textarea/Textarea.d.ts +0 -0
  1082. /package/dist/{components → packages/taco/src/components}/Toast/Toast.d.ts +0 -0
  1083. /package/dist/{components → packages/taco/src/components}/Toast/Toaster.d.ts +0 -0
  1084. /package/dist/{components → packages/taco/src/components}/Toast/util.d.ts +0 -0
  1085. /package/dist/{components → packages/taco/src/components}/Tooltip/Tooltip.d.ts +0 -0
  1086. /package/dist/{components → packages/taco/src/components}/Tour/Tour.d.ts +0 -0
  1087. /package/dist/{components → packages/taco/src/components}/Treeview/Treeview.d.ts +0 -0
  1088. /package/dist/{components → packages/taco/src/components}/Truncate/Truncate.d.ts +0 -0
  1089. /package/dist/{components → packages/taco/src/components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
  1090. /package/dist/{hooks → packages/taco/src/hooks}/useBoundaryOverflowDetection.d.ts +0 -0
  1091. /package/dist/{hooks → packages/taco/src/hooks}/useBoundingClientRectListener.d.ts +0 -0
  1092. /package/dist/{hooks → packages/taco/src/hooks}/useDebouncedEffect.d.ts +0 -0
  1093. /package/dist/{hooks → packages/taco/src/hooks}/useGlobalKeyDown.d.ts +0 -0
  1094. /package/dist/{hooks → packages/taco/src/hooks}/useId.d.ts +0 -0
  1095. /package/dist/{hooks → packages/taco/src/hooks}/useIntersectionObserver.d.ts +0 -0
  1096. /package/dist/{hooks → packages/taco/src/hooks}/useIsFormControl.d.ts +0 -0
  1097. /package/dist/{hooks → packages/taco/src/hooks}/useIsHoverStatePaused.d.ts +0 -0
  1098. /package/dist/{hooks → packages/taco/src/hooks}/useIsLargeScreen.d.ts +0 -0
  1099. /package/dist/{hooks → packages/taco/src/hooks}/useLazyEffect.d.ts +0 -0
  1100. /package/dist/{hooks → packages/taco/src/hooks}/useLocalStorage.d.ts +0 -0
  1101. /package/dist/{hooks → packages/taco/src/hooks}/useMatchMedia.d.ts +0 -0
  1102. /package/dist/{hooks → packages/taco/src/hooks}/useMergedRef.d.ts +0 -0
  1103. /package/dist/{hooks → packages/taco/src/hooks}/usePrevious.d.ts +0 -0
  1104. /package/dist/{hooks → packages/taco/src/hooks}/useTacoSettings.d.ts +0 -0
  1105. /package/dist/{primitives → packages/taco/src/primitives}/BubbleSelect.d.ts +0 -0
  1106. /package/dist/{primitives → packages/taco/src/primitives}/Button.d.ts +0 -0
  1107. /package/dist/{primitives → packages/taco/src/primitives}/Collection/Collection.d.ts +0 -0
  1108. /package/dist/{primitives → packages/taco/src/primitives}/Collection/components/Root.d.ts +0 -0
  1109. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/Listbox2.d.ts +0 -0
  1110. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Context.d.ts +0 -0
  1111. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Group.d.ts +0 -0
  1112. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Option.d.ts +0 -0
  1113. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Root.d.ts +0 -0
  1114. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Title.d.ts +0 -0
  1115. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/types.d.ts +0 -0
  1116. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/Sortable.d.ts +0 -0
  1117. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Container.d.ts +0 -0
  1118. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Item.d.ts +0 -0
  1119. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/List.d.ts +0 -0
  1120. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/util.d.ts +0 -0
  1121. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Footer.d.ts +0 -0
  1122. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Summary.d.ts +0 -0
  1123. /package/dist/{components/Report/components/Row → packages/taco/src/primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.d.ts +0 -0
  1124. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
  1125. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
  1126. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Search/Search.d.ts +0 -0
  1127. /package/dist/{components/Report/styles → packages/taco/src/primitives/Table/Core/features}/useStylesheet.d.ts +0 -0
  1128. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/Core}/features/useTableRef.d.ts +0 -0
  1129. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/listeners/useTableRowActiveListener.d.ts +0 -0
  1130. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/util/rows.d.ts +0 -0
  1131. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableDataLoader.d.ts +0 -0
  1132. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableColumnFreezing.d.ts +0 -0
  1133. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableColumnOrdering.d.ts +0 -0
  1134. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableFontSize.d.ts +0 -0
  1135. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableFooter.d.ts +0 -0
  1136. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTablePrinting.d.ts +0 -0
  1137. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowActions.d.ts +0 -0
  1138. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowClick.d.ts +0 -0
  1139. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowExpansion.d.ts +0 -0
  1140. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowGoto.d.ts +0 -0
  1141. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowGroups.d.ts +0 -0
  1142. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowHeight.d.ts +0 -0
  1143. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableRowSelection.d.ts +0 -0
  1144. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableSearch.d.ts +0 -0
  1145. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableServerLoading.d.ts +0 -0
  1146. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/features/useTableSettings.d.ts +0 -0
  1147. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableDataListener.d.ts +0 -0
  1148. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableFilterListener.d.ts +0 -0
  1149. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableFontSizeListener.d.ts +0 -0
  1150. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableRowHeightListener.d.ts +0 -0
  1151. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableRowSelectionListener.d.ts +0 -0
  1152. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSearchListener.d.ts +0 -0
  1153. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableServerLoadingListener.d.ts +0 -0
  1154. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSettingsListener.d.ts +0 -0
  1155. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableShortcutsListener.d.ts +0 -0
  1156. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/listeners/useTableSortingListener.d.ts +0 -0
  1157. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/columns.d.ts +0 -0
  1158. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/columns.spec.d.ts +0 -0
  1159. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/filtering.d.ts +0 -0
  1160. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/search.d.ts +0 -0
  1161. /package/dist/{primitives/Table/useTable → packages/taco/src/primitives/Table/useTableManager}/util/sorting.d.ts +0 -0
  1162. /package/dist/{types.d.ts → packages/taco/src/types.d.ts} +0 -0
  1163. /package/dist/{utils → packages/taco/src/utils}/aria.d.ts +0 -0
  1164. /package/dist/{utils → packages/taco/src/utils}/date.d.ts +0 -0
  1165. /package/dist/{utils → packages/taco/src/utils}/debounce.d.ts +0 -0
  1166. /package/dist/{utils → packages/taco/src/utils}/device.d.ts +0 -0
  1167. /package/dist/{utils → packages/taco/src/utils}/hooks/useDraggable.d.ts +0 -0
  1168. /package/dist/{utils → packages/taco/src/utils}/hooks/useDropTarget.d.ts +0 -0
  1169. /package/dist/{utils → packages/taco/src/utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
  1170. /package/dist/{utils → packages/taco/src/utils}/hooks/useListScrollTo.d.ts +0 -0
  1171. /package/dist/{utils → packages/taco/src/utils}/hooks/useOnClickOutside.d.ts +0 -0
  1172. /package/dist/{utils → packages/taco/src/utils}/hooks/useRefState.d.ts +0 -0
  1173. /package/dist/{utils → packages/taco/src/utils}/hooks/useTimer.d.ts +0 -0
  1174. /package/dist/{utils → packages/taco/src/utils}/hooks/useTruncated.d.ts +0 -0
  1175. /package/dist/{utils → packages/taco/src/utils}/input.d.ts +0 -0
  1176. /package/dist/{utils → packages/taco/src/utils}/keyboard.d.ts +0 -0
  1177. /package/dist/{utils → packages/taco/src/utils}/mergeRefs.d.ts +0 -0
  1178. /package/dist/{utils → packages/taco/src/utils}/storyutils.d.ts +0 -0
  1179. /package/dist/{utils → packages/taco/src/utils}/tailwind.d.ts +0 -0
@@ -0,0 +1,44 @@
1
+ import React__default from 'react';
2
+
3
+ function useStylesheetColumnFreezing(tableId, table) {
4
+ const {
5
+ columnPinning
6
+ } = table.getState();
7
+ const stylesheet = React__default.useMemo(() => {
8
+ const styles = [];
9
+ // might be a better way to get this information, but it wasn't obvious
10
+ const all = table.getFlatHeaders().filter(column => !column.subHeaders.length).map(x => x.id);
11
+ const left = table.getLeftFlatHeaders().filter(column => !column.subHeaders.length).map(x => x.id);
12
+ const right = table.getRightFlatHeaders().filter(column => !column.subHeaders.length).map(x => x.id);
13
+ if (left.length) {
14
+ const index = all.indexOf(left[left.length - 1]);
15
+ // add right border, hide the header seperator and add shadow when scrolled
16
+ // we have to be specific so that nested tables don't inherit the same css
17
+ styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}),
18
+ table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}) {
19
+ border-right-width: 1px;
20
+ }\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1})[data-cell-id^="__"],
21
+ table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1})[data-cell-id^="__"] {
22
+ border-right-color: transparent;
23
+ }\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):after {
24
+ content: none;
25
+ }\ntable[data-taco^='table'][data-table-horizontally-scrolled="true"]#${tableId} > thead > tr > th:nth-child(${index + 1}),
26
+ table[data-taco^='table'][data-table-horizontally-scrolled="true"]#${tableId} > tbody > tr > td:nth-child(${index + 1}) {
27
+ border-right-color: rgb(221, 221, 221);
28
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);
29
+ }`);
30
+ }
31
+ if (right.length) {
32
+ const index = all.indexOf(right[right.length - 1]);
33
+ styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):not([data-cell-id^="__"]),
34
+ table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}):not([data-cell-id^="__"]) {
35
+ border-left-width: 1px;
36
+ }`);
37
+ }
38
+ return styles.join('\n');
39
+ }, [columnPinning]);
40
+ return stylesheet;
41
+ }
42
+
43
+ export { useStylesheetColumnFreezing };
44
+ //# sourceMappingURL=useStylesheetColumnFreezing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStylesheetColumnFreezing.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useStylesheetColumnFreezing.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\n\nexport function useStylesheetColumnFreezing<TType = unknown>(tableId: string, table: ReactTable<TType>) {\n const { columnPinning } = table.getState();\n\n const stylesheet = React.useMemo(() => {\n const styles: string[] = [];\n\n // might be a better way to get this information, but it wasn't obvious\n const all = table\n .getFlatHeaders()\n .filter(column => !column.subHeaders.length)\n .map(x => x.id);\n const left = table\n .getLeftFlatHeaders()\n .filter(column => !column.subHeaders.length)\n .map(x => x.id);\n const right = table\n .getRightFlatHeaders()\n .filter(column => !column.subHeaders.length)\n .map(x => x.id);\n\n if (left.length) {\n const index = all.indexOf(left[left.length - 1]);\n\n // add right border, hide the header seperator and add shadow when scrolled\n // we have to be specific so that nested tables don't inherit the same css\n styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}),\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}) {\n border-right-width: 1px;\n }\\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1})[data-cell-id^=\"__\"],\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1})[data-cell-id^=\"__\"] {\n border-right-color: transparent;\n }\\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):after {\n content: none;\n }\\ntable[data-taco^='table'][data-table-horizontally-scrolled=\"true\"]#${tableId} > thead > tr > th:nth-child(${\n index + 1\n }),\n table[data-taco^='table'][data-table-horizontally-scrolled=\"true\"]#${tableId} > tbody > tr > td:nth-child(${\n index + 1\n }) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`);\n }\n\n if (right.length) {\n const index = all.indexOf(right[right.length - 1]);\n\n styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):not([data-cell-id^=\"__\"]),\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}):not([data-cell-id^=\"__\"]) {\n border-left-width: 1px;\n }`);\n }\n\n return styles.join('\\n');\n }, [columnPinning]);\n\n return stylesheet;\n}\n"],"names":["useStylesheetColumnFreezing","tableId","table","columnPinning","getState","stylesheet","React","useMemo","styles","all","getFlatHeaders","filter","column","subHeaders","length","map","x","id","left","getLeftFlatHeaders","right","getRightFlatHeaders","index","indexOf","push","join"],"mappings":";;SAGgBA,2BAA2BA,CAAkBC,OAAe,EAAEC,KAAwB;EAClG,MAAM;IAAEC;GAAe,GAAGD,KAAK,CAACE,QAAQ,EAAE;EAE1C,MAAMC,UAAU,GAAGC,cAAK,CAACC,OAAO,CAAC;IAC7B,MAAMC,MAAM,GAAa,EAAE;;IAG3B,MAAMC,GAAG,GAAGP,KAAK,CACZQ,cAAc,EAAE,CAChBC,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC,CAC3CC,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;IACnB,MAAMC,IAAI,GAAGhB,KAAK,CACbiB,kBAAkB,EAAE,CACpBR,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC,CAC3CC,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;IACnB,MAAMG,KAAK,GAAGlB,KAAK,CACdmB,mBAAmB,EAAE,CACrBV,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC,CAC3CC,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;IAEnB,IAAIC,IAAI,CAACJ,MAAM,EAAE;MACb,MAAMQ,KAAK,GAAGb,GAAG,CAACc,OAAO,CAACL,IAAI,CAACA,IAAI,CAACJ,MAAM,GAAG,CAAC,CAAC,CAAC;;;MAIhDN,MAAM,CAACgB,IAAI,8BAA8BvB,uCAAuCqB,KAAK,GAAG;4CACxDrB,wCAAwCqB,KAAK,GAAG;;+CAE7CrB,wCAAwCqB,KAAK,GAAG;4CACnDrB,wCAAwCqB,KAAK,GAAG;;+CAE7CrB,wCAAwCqB,KAAK,GAAG;;wFAEPrB,wCACxEqB,KAAK,GAAG;qFAE6DrB,wCACrEqB,KAAK,GAAG;;;kBAIN,CAAC;;IAGX,IAAIF,KAAK,CAACN,MAAM,EAAE;MACd,MAAMQ,KAAK,GAAGb,GAAG,CAACc,OAAO,CAACH,KAAK,CAACA,KAAK,CAACN,MAAM,GAAG,CAAC,CAAC,CAAC;MAElDN,MAAM,CAACgB,IAAI,8BAA8BvB,uCAAuCqB,KAAK,GAAG;4CACxDrB,uCAAuCqB,KAAK,GAAG;;kBAEzE,CAAC;;IAGX,OAAOd,MAAM,CAACiB,IAAI,CAAC,IAAI,CAAC;GAC3B,EAAE,CAACtB,aAAa,CAAC,CAAC;EAEnB,OAAOE,UAAU;AACrB;;;;"}
@@ -0,0 +1,58 @@
1
+ import React__default from 'react';
2
+ import { getCellMinWidth } from '../../useTableManager/util/columns.js';
3
+
4
+ function useStylesheetCssGrid(tableId, table, fontSize) {
5
+ const tableMeta = table.options.meta;
6
+ const allVisibleColumns = table.getVisibleLeafColumns();
7
+ const columnSizing = table.getState().columnSizing;
8
+ const globalMinSize = getCellMinWidth(fontSize);
9
+ // header body ?footer
10
+ const gridTemplateRows = table.getRowModel().rows.length ? 'min-content 1fr min-content' : 'min-content 1fr';
11
+ return React__default.useMemo(() => {
12
+ let printGridTemplateColumns = '';
13
+ const printHiddenColumns = [];
14
+ const gridTemplateColumns = allVisibleColumns.reduce((accum, column, index) => {
15
+ var _column$columnDef$min, _column$columnDef$met;
16
+ if (table.options.enableGrouping && column.getIsGrouped()) {
17
+ return accum;
18
+ }
19
+ const minSize = (_column$columnDef$min = column.columnDef.minSize) !== null && _column$columnDef$min !== void 0 ? _column$columnDef$min : globalMinSize;
20
+ const width = columnSizing[column.id];
21
+ let size;
22
+ let printSize;
23
+ if (column.id === '__actions') {
24
+ const minWidth = tableMeta.rowActions.rowActionsLength * 32 + 8; /* button margins l+r */
25
+ size = `minmax(${minWidth}px, auto)`;
26
+ } else if (width !== undefined) {
27
+ const isLastColumn = index === allVisibleColumns.length - 1;
28
+ if (width === 'grow' || Number.isNaN(width) && !isLastColumn) {
29
+ size = `minmax(max-content, 1fr)`;
30
+ } else {
31
+ const minWidth = width < minSize ? minSize : width;
32
+ if (isLastColumn) {
33
+ size = `minmax(${minWidth}px, auto)`;
34
+ } else {
35
+ size = `${minWidth}px`;
36
+ }
37
+ }
38
+ } else {
39
+ size = `minmax(max-content, auto)`;
40
+ }
41
+ if (((_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.enablePrinting) === false) {
42
+ printSize = '';
43
+ printHiddenColumns.push(column.id);
44
+ } else {
45
+ printSize = 'auto';
46
+ }
47
+ printGridTemplateColumns = `${printGridTemplateColumns} ${printSize}`.trim();
48
+ return `${accum} ${size}`.trim();
49
+ }, '');
50
+ // we have to be specific so that nested tables don't inherit the same css
51
+ const hiddenColumns = printHiddenColumns.map(id => `table[data-taco^='table']#${tableId} > thead > tr > th[data-cell-id='${id}']\n,table[data-taco^='table']#${tableId} > tbody > tr > td[data-cell-id='${id}']\n`).join(',');
52
+ return `table[data-taco^='table']#${tableId} { grid-template-columns: ${gridTemplateColumns}; grid-template-rows: ${gridTemplateRows}; }
53
+ @media print { table[data-taco^='table']#${tableId} { grid-template-columns: ${printGridTemplateColumns}; } ${hiddenColumns ? `${hiddenColumns} { display: none; }` : ''} }`;
54
+ }, [allVisibleColumns, columnSizing, globalMinSize, tableMeta.rowActions.rowActionsLength]);
55
+ }
56
+
57
+ export { useStylesheetCssGrid };
58
+ //# sourceMappingURL=useStylesheetCssGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStylesheetCssGrid.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useStylesheetCssGrid.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { TableFontSize } from '../../types';\nimport { getCellMinWidth } from '../../useTableManager/util/columns';\n\nexport function useStylesheetCssGrid<TType = unknown>(\n tableId: string,\n table: ReactTable<TType>,\n fontSize: TableFontSize\n): string {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const allVisibleColumns = table.getVisibleLeafColumns();\n const columnSizing = table.getState().columnSizing;\n const globalMinSize = getCellMinWidth(fontSize);\n\n // header body ?footer\n const gridTemplateRows = table.getRowModel().rows.length ? 'min-content 1fr min-content' : 'min-content 1fr';\n\n return React.useMemo(() => {\n let printGridTemplateColumns = '';\n const printHiddenColumns: string[] = [];\n\n const gridTemplateColumns = allVisibleColumns.reduce((accum, column, index) => {\n if (table.options.enableGrouping && column.getIsGrouped()) {\n return accum;\n }\n\n const minSize = column.columnDef.minSize ?? globalMinSize;\n const width = columnSizing[column.id] as number | 'grow';\n\n let size;\n let printSize;\n\n if (column.id === '__actions') {\n const minWidth = tableMeta.rowActions.rowActionsLength * 32 + 8; /* button margins l+r */\n size = `minmax(${minWidth}px, auto)`;\n } else if (width !== undefined) {\n const isLastColumn = index === allVisibleColumns.length - 1;\n\n if (width === 'grow' || (Number.isNaN(width) && !isLastColumn)) {\n size = `minmax(max-content, 1fr)`;\n } else {\n const minWidth = width < minSize ? minSize : width;\n\n if (isLastColumn) {\n size = `minmax(${minWidth}px, auto)`;\n } else {\n size = `${minWidth}px`;\n }\n }\n } else {\n size = `minmax(max-content, auto)`;\n }\n\n if (column.columnDef.meta?.enablePrinting === false) {\n printSize = '';\n printHiddenColumns.push(column.id);\n } else {\n printSize = 'auto';\n }\n\n printGridTemplateColumns = `${printGridTemplateColumns} ${printSize}`.trim();\n\n return `${accum} ${size}`.trim();\n }, '');\n\n // we have to be specific so that nested tables don't inherit the same css\n const hiddenColumns = printHiddenColumns\n .map(\n id =>\n `table[data-taco^='table']#${tableId} > thead > tr > th[data-cell-id='${id}']\\n,table[data-taco^='table']#${tableId} > tbody > tr > td[data-cell-id='${id}']\\n`\n )\n .join(',');\n\n return `table[data-taco^='table']#${tableId} { grid-template-columns: ${gridTemplateColumns}; grid-template-rows: ${gridTemplateRows}; }\n@media print { table[data-taco^='table']#${tableId} { grid-template-columns: ${printGridTemplateColumns}; } ${\n hiddenColumns ? `${hiddenColumns} { display: none; }` : ''\n } }`;\n }, [allVisibleColumns, columnSizing, globalMinSize, tableMeta.rowActions.rowActionsLength]);\n}\n"],"names":["useStylesheetCssGrid","tableId","table","fontSize","tableMeta","options","meta","allVisibleColumns","getVisibleLeafColumns","columnSizing","getState","globalMinSize","getCellMinWidth","gridTemplateRows","getRowModel","rows","length","React","useMemo","printGridTemplateColumns","printHiddenColumns","gridTemplateColumns","reduce","accum","column","index","enableGrouping","getIsGrouped","minSize","_column$columnDef$min","columnDef","width","id","size","printSize","minWidth","rowActions","rowActionsLength","undefined","isLastColumn","Number","isNaN","_column$columnDef$met","enablePrinting","push","trim","hiddenColumns","map","join"],"mappings":";;;SAKgBA,oBAAoBA,CAChCC,OAAe,EACfC,KAAwB,EACxBC,QAAuB;EAEvB,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;EAC7D,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,qBAAqB,EAAE;EACvD,MAAMC,YAAY,GAAGP,KAAK,CAACQ,QAAQ,EAAE,CAACD,YAAY;EAClD,MAAME,aAAa,GAAGC,eAAe,CAACT,QAAQ,CAAC;;EAG/C,MAAMU,gBAAgB,GAAGX,KAAK,CAACY,WAAW,EAAE,CAACC,IAAI,CAACC,MAAM,GAAG,6BAA6B,GAAG,iBAAiB;EAE5G,OAAOC,cAAK,CAACC,OAAO,CAAC;IACjB,IAAIC,wBAAwB,GAAG,EAAE;IACjC,MAAMC,kBAAkB,GAAa,EAAE;IAEvC,MAAMC,mBAAmB,GAAGd,iBAAiB,CAACe,MAAM,CAAC,CAACC,KAAK,EAAEC,MAAM,EAAEC,KAAK;;MACtE,IAAIvB,KAAK,CAACG,OAAO,CAACqB,cAAc,IAAIF,MAAM,CAACG,YAAY,EAAE,EAAE;QACvD,OAAOJ,KAAK;;MAGhB,MAAMK,OAAO,IAAAC,qBAAA,GAAGL,MAAM,CAACM,SAAS,CAACF,OAAO,cAAAC,qBAAA,cAAAA,qBAAA,GAAIlB,aAAa;MACzD,MAAMoB,KAAK,GAAGtB,YAAY,CAACe,MAAM,CAACQ,EAAE,CAAoB;MAExD,IAAIC,IAAI;MACR,IAAIC,SAAS;MAEb,IAAIV,MAAM,CAACQ,EAAE,KAAK,WAAW,EAAE;QAC3B,MAAMG,QAAQ,GAAG/B,SAAS,CAACgC,UAAU,CAACC,gBAAgB,GAAG,EAAE,GAAG,CAAC,CAAC;QAChEJ,IAAI,aAAaE,mBAAmB;OACvC,MAAM,IAAIJ,KAAK,KAAKO,SAAS,EAAE;QAC5B,MAAMC,YAAY,GAAGd,KAAK,KAAKlB,iBAAiB,CAACS,MAAM,GAAG,CAAC;QAE3D,IAAIe,KAAK,KAAK,MAAM,IAAKS,MAAM,CAACC,KAAK,CAACV,KAAK,CAAC,IAAI,CAACQ,YAAa,EAAE;UAC5DN,IAAI,6BAA6B;SACpC,MAAM;UACH,MAAME,QAAQ,GAAGJ,KAAK,GAAGH,OAAO,GAAGA,OAAO,GAAGG,KAAK;UAElD,IAAIQ,YAAY,EAAE;YACdN,IAAI,aAAaE,mBAAmB;WACvC,MAAM;YACHF,IAAI,MAAME,YAAY;;;OAGjC,MAAM;QACHF,IAAI,8BAA8B;;MAGtC,IAAI,EAAAS,qBAAA,GAAAlB,MAAM,CAACM,SAAS,CAACxB,IAAI,cAAAoC,qBAAA,uBAArBA,qBAAA,CAAuBC,cAAc,MAAK,KAAK,EAAE;QACjDT,SAAS,GAAG,EAAE;QACdd,kBAAkB,CAACwB,IAAI,CAACpB,MAAM,CAACQ,EAAE,CAAC;OACrC,MAAM;QACHE,SAAS,GAAG,MAAM;;MAGtBf,wBAAwB,MAAMA,4BAA4Be,WAAW,CAACW,IAAI,EAAE;MAE5E,UAAUtB,SAASU,MAAM,CAACY,IAAI,EAAE;KACnC,EAAE,EAAE,CAAC;;IAGN,MAAMC,aAAa,GAAG1B,kBAAkB,CACnC2B,GAAG,CACAf,EAAE,iCAC+B/B,2CAA2C+B,oCAAoC/B,2CAA2C+B,QAAQ,CACtK,CACAgB,IAAI,CAAC,GAAG,CAAC;IAEd,oCAAoC/C,oCAAoCoB,4CAA4CR;2CACjFZ,oCAAoCkB,+BACnE2B,aAAa,MAAMA,kCAAkC,GAAG,MACxD;GACP,EAAE,CAACvC,iBAAiB,EAAEE,YAAY,EAAEE,aAAa,EAAEP,SAAS,CAACgC,UAAU,CAACC,gBAAgB,CAAC,CAAC;AAC/F;;;;"}
@@ -0,0 +1,30 @@
1
+ import React__default from 'react';
2
+ import { isElementInsideOverlay, isSiblingElementInsideSameParentOverlay, isElementInteractive, isElementInsideOrTriggeredFromContainer } from '../../../../utils/dom.js';
3
+
4
+ function useTableGlobalShortcuts(table, tableRef, scrollToIndex) {
5
+ const tableMeta = table.options.meta;
6
+ const rows = table.getRowModel().rows;
7
+ React__default.useEffect(() => {
8
+ const handleKeyDown = event => {
9
+ const trigger = event.target;
10
+ if (isElementInsideOverlay(trigger) && !isSiblingElementInsideSameParentOverlay(trigger, tableRef.current) || isElementInteractive(trigger) && !isElementInsideOrTriggeredFromContainer(trigger, tableRef.current)) {
11
+ return;
12
+ }
13
+ tableMeta.rowActive.handleKeyDown(event, rows.length, scrollToIndex);
14
+ tableMeta.rowSelection.handleKeyDown(event, table);
15
+ if (tableMeta.rowActive.rowActiveIndex !== undefined) {
16
+ var _rows$tableMeta$rowAc;
17
+ tableMeta.rowClick.handleKeyDown(event, (_rows$tableMeta$rowAc = rows[tableMeta.rowActive.rowActiveIndex]) === null || _rows$tableMeta$rowAc === void 0 ? void 0 : _rows$tableMeta$rowAc.original);
18
+ }
19
+ };
20
+ document.addEventListener('keydown', handleKeyDown);
21
+ return () => {
22
+ document.removeEventListener('keydown', handleKeyDown);
23
+ };
24
+ },
25
+ // scrollToIndex function changes when row count changes, so it is important to update handlers
26
+ [tableRef.current, tableMeta.rowActive.rowActiveIndex, scrollToIndex]);
27
+ }
28
+
29
+ export { useTableGlobalShortcuts };
30
+ //# sourceMappingURL=useTableGlobalShortcuts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableGlobalShortcuts.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableGlobalShortcuts.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { TableRef } from '../../types';\nimport {\n isElementInsideOrTriggeredFromContainer,\n isElementInsideOverlay,\n isElementInteractive,\n isSiblingElementInsideSameParentOverlay,\n} from '../../../../utils/dom';\n\nexport function useTableGlobalShortcuts<TType = unknown>(\n table: ReactTable<TType>,\n tableRef: React.RefObject<TableRef>,\n scrollToIndex: (index: number) => void\n) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const rows = table.getRowModel().rows;\n\n React.useEffect(\n () => {\n const handleKeyDown = (event: KeyboardEvent) => {\n const trigger = event.target as HTMLElement;\n\n if (\n (isElementInsideOverlay(trigger) && !isSiblingElementInsideSameParentOverlay(trigger, tableRef.current)) ||\n (isElementInteractive(trigger) && !isElementInsideOrTriggeredFromContainer(trigger, tableRef.current))\n ) {\n return;\n }\n\n tableMeta.rowActive.handleKeyDown(event, rows.length, scrollToIndex);\n tableMeta.rowSelection.handleKeyDown(event, table);\n\n if (tableMeta.rowActive.rowActiveIndex !== undefined) {\n tableMeta.rowClick.handleKeyDown(event, rows[tableMeta.rowActive.rowActiveIndex]?.original);\n }\n };\n\n document.addEventListener('keydown', handleKeyDown);\n\n return () => {\n document.removeEventListener('keydown', handleKeyDown);\n };\n },\n\n // scrollToIndex function changes when row count changes, so it is important to update handlers\n [tableRef.current, tableMeta.rowActive.rowActiveIndex, scrollToIndex]\n );\n}\n"],"names":["useTableGlobalShortcuts","table","tableRef","scrollToIndex","tableMeta","options","meta","rows","getRowModel","React","useEffect","handleKeyDown","event","trigger","target","isElementInsideOverlay","isSiblingElementInsideSameParentOverlay","current","isElementInteractive","isElementInsideOrTriggeredFromContainer","rowActive","length","rowSelection","rowActiveIndex","undefined","_rows$tableMeta$rowAc","rowClick","original","document","addEventListener","removeEventListener"],"mappings":";;;SAUgBA,uBAAuBA,CACnCC,KAAwB,EACxBC,QAAmC,EACnCC,aAAsC;EAEtC,MAAMC,SAAS,GAAGH,KAAK,CAACI,OAAO,CAACC,IAA6B;EAC7D,MAAMC,IAAI,GAAGN,KAAK,CAACO,WAAW,EAAE,CAACD,IAAI;EAErCE,cAAK,CAACC,SAAS,CACX;IACI,MAAMC,aAAa,GAAIC,KAAoB;MACvC,MAAMC,OAAO,GAAGD,KAAK,CAACE,MAAqB;MAE3C,IACKC,sBAAsB,CAACF,OAAO,CAAC,IAAI,CAACG,uCAAuC,CAACH,OAAO,EAAEX,QAAQ,CAACe,OAAO,CAAC,IACtGC,oBAAoB,CAACL,OAAO,CAAC,IAAI,CAACM,uCAAuC,CAACN,OAAO,EAAEX,QAAQ,CAACe,OAAO,CAAE,EACxG;QACE;;MAGJb,SAAS,CAACgB,SAAS,CAACT,aAAa,CAACC,KAAK,EAAEL,IAAI,CAACc,MAAM,EAAElB,aAAa,CAAC;MACpEC,SAAS,CAACkB,YAAY,CAACX,aAAa,CAACC,KAAK,EAAEX,KAAK,CAAC;MAElD,IAAIG,SAAS,CAACgB,SAAS,CAACG,cAAc,KAAKC,SAAS,EAAE;QAAA,IAAAC,qBAAA;QAClDrB,SAAS,CAACsB,QAAQ,CAACf,aAAa,CAACC,KAAK,GAAAa,qBAAA,GAAElB,IAAI,CAACH,SAAS,CAACgB,SAAS,CAACG,cAAc,CAAC,cAAAE,qBAAA,uBAAxCA,qBAAA,CAA0CE,QAAQ,CAAC;;KAElG;IAEDC,QAAQ,CAACC,gBAAgB,CAAC,SAAS,EAAElB,aAAa,CAAC;IAEnD,OAAO;MACHiB,QAAQ,CAACE,mBAAmB,CAAC,SAAS,EAAEnB,aAAa,CAAC;KACzD;GACJ;;EAGD,CAACT,QAAQ,CAACe,OAAO,EAAEb,SAAS,CAACgB,SAAS,CAACG,cAAc,EAAEpB,aAAa,CAAC,CACxE;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRef.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableRef.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { TableRef } from '../../types';\n\nexport function useTableRef<TType = unknown>(table: ReactTable<TType>, ref: React.RefObject<TableRef>) {\n React.useEffect(() => {\n if (ref.current) {\n ref.current.instance = {\n resetFiltering: () => table.resetColumnFilters(),\n resetRowExpansion: () => table.resetExpanded(),\n resetRowSelection: () => table.resetRowSelection(),\n resetSorting: () => table.resetSorting(),\n };\n }\n }, [table, ref.current]);\n}\n"],"names":["useTableRef","table","ref","React","useEffect","current","instance","resetFiltering","resetColumnFilters","resetRowExpansion","resetExpanded","resetRowSelection","resetSorting"],"mappings":";;SAIgBA,WAAWA,CAAkBC,KAAwB,EAAEC,GAA8B;EACjGC,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIF,GAAG,CAACG,OAAO,EAAE;MACbH,GAAG,CAACG,OAAO,CAACC,QAAQ,GAAG;QACnBC,cAAc,EAAEA,MAAMN,KAAK,CAACO,kBAAkB,EAAE;QAChDC,iBAAiB,EAAEA,MAAMR,KAAK,CAACS,aAAa,EAAE;QAC9CC,iBAAiB,EAAEA,MAAMV,KAAK,CAACU,iBAAiB,EAAE;QAClDC,YAAY,EAAEA,MAAMX,KAAK,CAACW,YAAY;OACzC;;GAER,EAAE,CAACX,KAAK,EAAEC,GAAG,CAACG,OAAO,CAAC,CAAC;AAC5B;;;;"}
@@ -0,0 +1,164 @@
1
+ import React__default from 'react';
2
+ import { useVirtualizer, defaultRangeExtractor } from '@tanstack/react-virtual';
3
+ import { HEADER_ROW_HEIGHT_ESTIMATE, ROW_HEIGHT_ESTIMATES } from '../util/rows.js';
4
+ import { Row } from '../components/Row/Row.js';
5
+
6
+ const TABLE_SCROLL_PADDING_BOTTOM = 36;
7
+ const TABLE_PADDING_BOTTOM = 120;
8
+ function useTableRenderer(renderers, table, tableRef, defaultRowActiveIndex) {
9
+ var _table$getState$group, _virtualItems$;
10
+ const tableMeta = table.options.meta;
11
+ const rows = table.getRowModel().rows;
12
+ const HEADER_OFFSET_TOTAL = HEADER_ROW_HEIGHT_ESTIMATE * table.getHeaderGroups().length;
13
+ // expanded rows
14
+ const {
15
+ createRowMeasurer,
16
+ estimateSize
17
+ } = useRowHeightVirtualisation(table);
18
+ // row groups
19
+ const rangeExtractor = useRowGroupVirtualisation(table);
20
+ const virtualiser = useVirtualizer({
21
+ count: rows.length,
22
+ estimateSize,
23
+ getScrollElement: () => tableRef.current,
24
+ overscan: tableMeta.printing.isPrinting ? rows.length : undefined,
25
+ rangeExtractor,
26
+ scrollPaddingStart: (_table$getState$group = table.getState().grouping) !== null && _table$getState$group !== void 0 && _table$getState$group.length ? HEADER_ROW_HEIGHT_ESTIMATE : undefined,
27
+ scrollPaddingEnd: HEADER_OFFSET_TOTAL + TABLE_SCROLL_PADDING_BOTTOM,
28
+ paddingEnd: TABLE_PADDING_BOTTOM
29
+ });
30
+ const virtualItems = virtualiser.getVirtualItems();
31
+ const scrollToIndex = React__default.useCallback((index, options = {
32
+ align: 'auto',
33
+ behavior: 'smooth'
34
+ }) => {
35
+ const notSmooth = {
36
+ ...options,
37
+ behavior: 'auto'
38
+ };
39
+ if (tableRef.current) {
40
+ if (index === 0) {
41
+ virtualiser.scrollToOffset(0, notSmooth);
42
+ } else if (index >= virtualItems.length - 1) {
43
+ // scrolling to the last row isn't easy when rows have dynamic height
44
+ // because you don't know all the heights until they render...
45
+ // so when you skip to the last you don't know if "the end" is actually the end
46
+ virtualiser.scrollToIndex(index, notSmooth);
47
+ // https://github.com/TanStack/virtual/issues/216
48
+ setTimeout(() => {
49
+ virtualiser.scrollToIndex(index, notSmooth);
50
+ setTimeout(() => {
51
+ virtualiser.scrollToIndex(index, notSmooth);
52
+ }, 150);
53
+ }, 150);
54
+ } else {
55
+ virtualiser.scrollToIndex(index, options);
56
+ }
57
+ }
58
+ }, [virtualItems.length, tableRef.current]);
59
+ // styling for offsetting rows - this "is" the virtualisation
60
+ const [paddingTop, paddingBottom] = virtualItems.length > 0 ? [
61
+ // use row 1 not 0, because 0 might be sticky in grouped tables and it's start value will always be 0
62
+ Math.max(0, ((_virtualItems$ = virtualItems[1]) !== null && _virtualItems$ !== void 0 ? _virtualItems$ : virtualItems[0]).start - virtualiser.options.scrollMargin - virtualItems[0].size), Math.max(0, virtualiser.getTotalSize() - virtualItems[virtualItems.length - 1].end)] : [0, 0];
63
+ // ensure default active rows are scrolled to
64
+ React__default.useEffect(() => {
65
+ if (defaultRowActiveIndex) {
66
+ scrollToIndex(defaultRowActiveIndex, {
67
+ align: 'center',
68
+ behavior: 'auto'
69
+ });
70
+ }
71
+ }, []);
72
+ // rendered output
73
+ let style = {};
74
+ let content = null;
75
+ if (rows.length) {
76
+ style = {
77
+ height: `${virtualiser.getTotalSize()}px`,
78
+ paddingBottom,
79
+ paddingTop
80
+ };
81
+ content = virtualItems.map(virtualRow => {
82
+ const row = rows[virtualRow.index];
83
+ const measureRow = createRowMeasurer(virtualiser.resizeItem, virtualRow);
84
+ return /*#__PURE__*/React__default.createElement(Row, {
85
+ key: row.id,
86
+ row: row,
87
+ index: virtualRow.index,
88
+ table: table,
89
+ measureRow: measureRow,
90
+ renderer: renderers.row,
91
+ cellRenderer: renderers.cell
92
+ });
93
+ });
94
+ }
95
+ return {
96
+ rows: content,
97
+ style,
98
+ scrollToIndex
99
+ };
100
+ }
101
+ // support varying row heights - variable row heights, row expansion
102
+ function useRowHeightVirtualisation(table) {
103
+ const tableMeta = table.options.meta;
104
+ const rows = table.getRowModel().rows;
105
+ const expandedState = table.getState().expanded;
106
+ const [expandedRowHeightsCache, setExpandedRowHeightsCache] = React__default.useState({});
107
+ // look at all registered expanded row heights and use them to form a more accurate average size
108
+ // it might be worth considering if taking the max, or an upper bound, would be better
109
+ const averageExpandedRowHeight = React__default.useMemo(() => {
110
+ const values = Object.values(expandedRowHeightsCache);
111
+ return values.length ? values.reduce((a, b) => a + b, 0) / values.length : 0;
112
+ }, [expandedRowHeightsCache]);
113
+ // row heights
114
+ const estimateSize = React__default.useCallback(index => {
115
+ var _rows$index, _rows$index$getIsExpa;
116
+ const rowHeight = tableMeta.rowHeight.height ? ROW_HEIGHT_ESTIMATES[tableMeta.rowHeight.height] : ROW_HEIGHT_ESTIMATES.medium;
117
+ if (expandedState === true || (_rows$index = rows[index]) !== null && _rows$index !== void 0 && (_rows$index$getIsExpa = _rows$index.getIsExpanded) !== null && _rows$index$getIsExpa !== void 0 && _rows$index$getIsExpa.call(_rows$index)) {
118
+ return rowHeight + averageExpandedRowHeight;
119
+ }
120
+ return rowHeight;
121
+ }, [tableMeta.rowHeight.height, averageExpandedRowHeight, expandedState]);
122
+ const createRowMeasurer = React__default.useCallback((resizeItem, virtualRow) => (rowHeight, expansionHeight) => {
123
+ // register the expansion height so that it can be used to determine an average
124
+ if (expansionHeight) {
125
+ setExpandedRowHeightsCache(cache => ({
126
+ ...cache,
127
+ [virtualRow.index]: expansionHeight
128
+ }));
129
+ }
130
+ // update the whole row's size to include the expanded height
131
+ resizeItem(virtualRow, rowHeight + (expansionHeight !== null && expansionHeight !== void 0 ? expansionHeight : 0));
132
+ }, []);
133
+ return {
134
+ estimateSize,
135
+ createRowMeasurer
136
+ };
137
+ }
138
+ // support virtualised row groups (where the row group headers are sticky)
139
+ function useRowGroupVirtualisation(table) {
140
+ const rows = table.getRowModel().rows;
141
+ const isTableGrouped = !!table.getState().grouping.length;
142
+ const rowGroupIndexes = React__default.useMemo(() => {
143
+ const indexes = [];
144
+ if (isTableGrouped) {
145
+ rows.forEach((row, index) => {
146
+ if (row.getIsGrouped()) {
147
+ indexes.push(index);
148
+ }
149
+ });
150
+ }
151
+ return indexes;
152
+ }, []);
153
+ // this is taken from the react-virtual docs/examples
154
+ const rangeExtractor = React__default.useCallback(range => {
155
+ var _reverse$find;
156
+ const activeRowGroupIndex = (_reverse$find = [...rowGroupIndexes].reverse().find(index => range.startIndex >= index)) !== null && _reverse$find !== void 0 ? _reverse$find : rowGroupIndexes[0];
157
+ const next = new Set([activeRowGroupIndex, ...defaultRangeExtractor(range)]);
158
+ return [...next].sort((a, b) => a - b);
159
+ }, [rowGroupIndexes]);
160
+ return isTableGrouped ? rangeExtractor : undefined;
161
+ }
162
+
163
+ export { useTableRenderer };
164
+ //# sourceMappingURL=useTableRenderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRenderer.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableRenderer.tsx"],"sourcesContent":["import React, { CSSProperties } from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport {\n useVirtualizer,\n defaultRangeExtractor,\n ScrollToOptions as ReactVirtualScrollToOptions,\n VirtualItem,\n} from '@tanstack/react-virtual';\nimport { HEADER_ROW_HEIGHT_ESTIMATE, ROW_HEIGHT_ESTIMATES } from '../util/rows';\nimport { Row } from '../components/Row/Row';\nimport { useTableRenderers } from '../types';\nimport { TableRef } from '../../types';\n\nconst TABLE_SCROLL_PADDING_BOTTOM = 36;\nconst TABLE_PADDING_BOTTOM = 120;\n\nexport function useTableRenderer<TType = unknown>(\n renderers: useTableRenderers<TType>,\n table: ReactTable<TType>,\n tableRef: React.RefObject<TableRef>,\n defaultRowActiveIndex?: number | undefined\n) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const rows = table.getRowModel().rows;\n const HEADER_OFFSET_TOTAL = HEADER_ROW_HEIGHT_ESTIMATE * table.getHeaderGroups().length;\n\n // expanded rows\n const { createRowMeasurer, estimateSize } = useRowHeightVirtualisation<TType>(table);\n\n // row groups\n const rangeExtractor = useRowGroupVirtualisation<TType>(table);\n\n const virtualiser = useVirtualizer({\n count: rows.length,\n estimateSize,\n getScrollElement: () => tableRef.current,\n overscan: tableMeta.printing.isPrinting ? rows.length : undefined,\n rangeExtractor,\n scrollPaddingStart: table.getState().grouping?.length ? HEADER_ROW_HEIGHT_ESTIMATE : undefined,\n scrollPaddingEnd: HEADER_OFFSET_TOTAL + TABLE_SCROLL_PADDING_BOTTOM,\n paddingEnd: TABLE_PADDING_BOTTOM,\n });\n\n const virtualItems = virtualiser.getVirtualItems();\n\n const scrollToIndex = React.useCallback(\n (index: number, options: ReactVirtualScrollToOptions = { align: 'auto', behavior: 'smooth' }) => {\n const notSmooth: ReactVirtualScrollToOptions = { ...options, behavior: 'auto' };\n\n if (tableRef.current) {\n if (index === 0) {\n virtualiser.scrollToOffset(0, notSmooth);\n } else if (index >= virtualItems.length - 1) {\n // scrolling to the last row isn't easy when rows have dynamic height\n // because you don't know all the heights until they render...\n // so when you skip to the last you don't know if \"the end\" is actually the end\n virtualiser.scrollToIndex(index, notSmooth);\n\n // https://github.com/TanStack/virtual/issues/216\n setTimeout(() => {\n virtualiser.scrollToIndex(index, notSmooth);\n\n setTimeout(() => {\n virtualiser.scrollToIndex(index, notSmooth);\n }, 150);\n }, 150);\n } else {\n virtualiser.scrollToIndex(index, options);\n }\n }\n },\n [virtualItems.length, tableRef.current]\n );\n\n // styling for offsetting rows - this \"is\" the virtualisation\n const [paddingTop, paddingBottom] =\n virtualItems.length > 0\n ? [\n // use row 1 not 0, because 0 might be sticky in grouped tables and it's start value will always be 0\n Math.max(\n 0,\n (virtualItems[1] ?? virtualItems[0]).start - virtualiser.options.scrollMargin - virtualItems[0].size\n ),\n Math.max(0, virtualiser.getTotalSize() - virtualItems[virtualItems.length - 1].end),\n ]\n : [0, 0];\n\n // ensure default active rows are scrolled to\n React.useEffect(() => {\n if (defaultRowActiveIndex) {\n scrollToIndex(defaultRowActiveIndex, { align: 'center', behavior: 'auto' });\n }\n }, []);\n\n // rendered output\n let style: CSSProperties = {};\n let content: JSX.Element[] | null = null;\n\n if (rows.length) {\n style = {\n height: `${virtualiser.getTotalSize()}px`,\n paddingBottom,\n paddingTop,\n };\n content = virtualItems.map(virtualRow => {\n const row = rows[virtualRow.index];\n const measureRow = createRowMeasurer(virtualiser.resizeItem, virtualRow);\n return (\n <Row\n key={row.id}\n row={row}\n index={virtualRow.index}\n table={table}\n measureRow={measureRow}\n renderer={renderers.row}\n cellRenderer={renderers.cell}\n />\n );\n });\n }\n\n return {\n rows: content,\n style,\n scrollToIndex,\n };\n}\n\n// support varying row heights - variable row heights, row expansion\nfunction useRowHeightVirtualisation<TType = unknown>(table: ReactTable<TType>) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const rows = table.getRowModel().rows;\n const expandedState = table.getState().expanded;\n\n const [expandedRowHeightsCache, setExpandedRowHeightsCache] = React.useState<Record<number, number>>({});\n\n // look at all registered expanded row heights and use them to form a more accurate average size\n // it might be worth considering if taking the max, or an upper bound, would be better\n const averageExpandedRowHeight = React.useMemo(() => {\n const values: number[] = Object.values(expandedRowHeightsCache);\n return values.length ? values.reduce((a, b) => a + b, 0) / values.length : 0;\n }, [expandedRowHeightsCache]);\n\n // row heights\n const estimateSize = React.useCallback(\n (index: number) => {\n const rowHeight = tableMeta.rowHeight.height\n ? ROW_HEIGHT_ESTIMATES[tableMeta.rowHeight.height]\n : ROW_HEIGHT_ESTIMATES.medium;\n\n if (expandedState === true || rows[index]?.getIsExpanded?.()) {\n return rowHeight + averageExpandedRowHeight;\n }\n\n return rowHeight;\n },\n [tableMeta.rowHeight.height, averageExpandedRowHeight, expandedState]\n );\n\n const createRowMeasurer = React.useCallback(\n (resizeItem: (item: VirtualItem, size: number) => void, virtualRow: VirtualItem) =>\n (rowHeight: number, expansionHeight?: number) => {\n // register the expansion height so that it can be used to determine an average\n if (expansionHeight) {\n setExpandedRowHeightsCache(cache => ({ ...cache, [virtualRow.index]: expansionHeight }));\n }\n\n // update the whole row's size to include the expanded height\n resizeItem(virtualRow, rowHeight + (expansionHeight ?? 0));\n },\n []\n );\n\n return { estimateSize, createRowMeasurer };\n}\n\n// support virtualised row groups (where the row group headers are sticky)\nfunction useRowGroupVirtualisation<TType = unknown>(table: ReactTable<TType>) {\n const rows = table.getRowModel().rows;\n const isTableGrouped = !!table.getState().grouping.length;\n\n const rowGroupIndexes = React.useMemo(() => {\n const indexes: number[] = [];\n\n if (isTableGrouped) {\n rows.forEach((row, index) => {\n if (row.getIsGrouped()) {\n indexes.push(index);\n }\n });\n }\n\n return indexes;\n }, []);\n\n // this is taken from the react-virtual docs/examples\n const rangeExtractor = React.useCallback(\n range => {\n const activeRowGroupIndex =\n [...rowGroupIndexes].reverse().find(index => range.startIndex >= index) ?? rowGroupIndexes[0];\n\n const next = new Set([activeRowGroupIndex, ...defaultRangeExtractor(range)]);\n return [...next].sort((a, b) => a - b);\n },\n [rowGroupIndexes]\n );\n\n return isTableGrouped ? rangeExtractor : undefined;\n}\n"],"names":["TABLE_SCROLL_PADDING_BOTTOM","TABLE_PADDING_BOTTOM","useTableRenderer","renderers","table","tableRef","defaultRowActiveIndex","tableMeta","options","meta","rows","getRowModel","HEADER_OFFSET_TOTAL","HEADER_ROW_HEIGHT_ESTIMATE","getHeaderGroups","length","createRowMeasurer","estimateSize","useRowHeightVirtualisation","rangeExtractor","useRowGroupVirtualisation","virtualiser","useVirtualizer","count","getScrollElement","current","overscan","printing","isPrinting","undefined","scrollPaddingStart","_table$getState$group","getState","grouping","scrollPaddingEnd","paddingEnd","virtualItems","getVirtualItems","scrollToIndex","React","useCallback","index","align","behavior","notSmooth","scrollToOffset","setTimeout","paddingTop","paddingBottom","Math","max","_virtualItems$","start","scrollMargin","size","getTotalSize","end","useEffect","style","content","height","map","virtualRow","row","measureRow","resizeItem","Row","key","id","renderer","cellRenderer","cell","expandedState","expanded","expandedRowHeightsCache","setExpandedRowHeightsCache","useState","averageExpandedRowHeight","useMemo","values","Object","reduce","a","b","rowHeight","ROW_HEIGHT_ESTIMATES","medium","_rows$index","_rows$index$getIsExpa","getIsExpanded","call","expansionHeight","cache","isTableGrouped","rowGroupIndexes","indexes","forEach","getIsGrouped","push","range","activeRowGroupIndex","_reverse$find","reverse","find","startIndex","next","Set","defaultRangeExtractor","sort"],"mappings":";;;;;AAaA,MAAMA,2BAA2B,GAAG,EAAE;AACtC,MAAMC,oBAAoB,GAAG,GAAG;SAEhBC,gBAAgBA,CAC5BC,SAAmC,EACnCC,KAAwB,EACxBC,QAAmC,EACnCC,qBAA0C;;EAE1C,MAAMC,SAAS,GAAGH,KAAK,CAACI,OAAO,CAACC,IAA6B;EAC7D,MAAMC,IAAI,GAAGN,KAAK,CAACO,WAAW,EAAE,CAACD,IAAI;EACrC,MAAME,mBAAmB,GAAGC,0BAA0B,GAAGT,KAAK,CAACU,eAAe,EAAE,CAACC,MAAM;;EAGvF,MAAM;IAAEC,iBAAiB;IAAEC;GAAc,GAAGC,0BAA0B,CAAQd,KAAK,CAAC;;EAGpF,MAAMe,cAAc,GAAGC,yBAAyB,CAAQhB,KAAK,CAAC;EAE9D,MAAMiB,WAAW,GAAGC,cAAc,CAAC;IAC/BC,KAAK,EAAEb,IAAI,CAACK,MAAM;IAClBE,YAAY;IACZO,gBAAgB,EAAEA,MAAMnB,QAAQ,CAACoB,OAAO;IACxCC,QAAQ,EAAEnB,SAAS,CAACoB,QAAQ,CAACC,UAAU,GAAGlB,IAAI,CAACK,MAAM,GAAGc,SAAS;IACjEV,cAAc;IACdW,kBAAkB,EAAE,CAAAC,qBAAA,GAAA3B,KAAK,CAAC4B,QAAQ,EAAE,CAACC,QAAQ,cAAAF,qBAAA,eAAzBA,qBAAA,CAA2BhB,MAAM,GAAGF,0BAA0B,GAAGgB,SAAS;IAC9FK,gBAAgB,EAAEtB,mBAAmB,GAAGZ,2BAA2B;IACnEmC,UAAU,EAAElC;GACf,CAAC;EAEF,MAAMmC,YAAY,GAAGf,WAAW,CAACgB,eAAe,EAAE;EAElD,MAAMC,aAAa,GAAGC,cAAK,CAACC,WAAW,CACnC,CAACC,KAAa,EAAEjC,UAAuC;IAAEkC,KAAK,EAAE,MAAM;IAAEC,QAAQ,EAAE;GAAU;IACxF,MAAMC,SAAS,GAAgC;MAAE,GAAGpC,OAAO;MAAEmC,QAAQ,EAAE;KAAQ;IAE/E,IAAItC,QAAQ,CAACoB,OAAO,EAAE;MAClB,IAAIgB,KAAK,KAAK,CAAC,EAAE;QACbpB,WAAW,CAACwB,cAAc,CAAC,CAAC,EAAED,SAAS,CAAC;OAC3C,MAAM,IAAIH,KAAK,IAAIL,YAAY,CAACrB,MAAM,GAAG,CAAC,EAAE;;;;QAIzCM,WAAW,CAACiB,aAAa,CAACG,KAAK,EAAEG,SAAS,CAAC;;QAG3CE,UAAU,CAAC;UACPzB,WAAW,CAACiB,aAAa,CAACG,KAAK,EAAEG,SAAS,CAAC;UAE3CE,UAAU,CAAC;YACPzB,WAAW,CAACiB,aAAa,CAACG,KAAK,EAAEG,SAAS,CAAC;WAC9C,EAAE,GAAG,CAAC;SACV,EAAE,GAAG,CAAC;OACV,MAAM;QACHvB,WAAW,CAACiB,aAAa,CAACG,KAAK,EAAEjC,OAAO,CAAC;;;GAGpD,EACD,CAAC4B,YAAY,CAACrB,MAAM,EAAEV,QAAQ,CAACoB,OAAO,CAAC,CAC1C;;EAGD,MAAM,CAACsB,UAAU,EAAEC,aAAa,CAAC,GAC7BZ,YAAY,CAACrB,MAAM,GAAG,CAAC,GACjB;;EAEIkC,IAAI,CAACC,GAAG,CACJ,CAAC,EACD,EAAAC,cAAA,GAACf,YAAY,CAAC,CAAC,CAAC,cAAAe,cAAA,cAAAA,cAAA,GAAIf,YAAY,CAAC,CAAC,CAAC,EAAEgB,KAAK,GAAG/B,WAAW,CAACb,OAAO,CAAC6C,YAAY,GAAGjB,YAAY,CAAC,CAAC,CAAC,CAACkB,IAAI,CACvG,EACDL,IAAI,CAACC,GAAG,CAAC,CAAC,EAAE7B,WAAW,CAACkC,YAAY,EAAE,GAAGnB,YAAY,CAACA,YAAY,CAACrB,MAAM,GAAG,CAAC,CAAC,CAACyC,GAAG,CAAC,CACtF,GACD,CAAC,CAAC,EAAE,CAAC,CAAC;;EAGhBjB,cAAK,CAACkB,SAAS,CAAC;IACZ,IAAInD,qBAAqB,EAAE;MACvBgC,aAAa,CAAChC,qBAAqB,EAAE;QAAEoC,KAAK,EAAE,QAAQ;QAAEC,QAAQ,EAAE;OAAQ,CAAC;;GAElF,EAAE,EAAE,CAAC;;EAGN,IAAIe,KAAK,GAAkB,EAAE;EAC7B,IAAIC,OAAO,GAAyB,IAAI;EAExC,IAAIjD,IAAI,CAACK,MAAM,EAAE;IACb2C,KAAK,GAAG;MACJE,MAAM,KAAKvC,WAAW,CAACkC,YAAY,MAAM;MACzCP,aAAa;MACbD;KACH;IACDY,OAAO,GAAGvB,YAAY,CAACyB,GAAG,CAACC,UAAU;MACjC,MAAMC,GAAG,GAAGrD,IAAI,CAACoD,UAAU,CAACrB,KAAK,CAAC;MAClC,MAAMuB,UAAU,GAAGhD,iBAAiB,CAACK,WAAW,CAAC4C,UAAU,EAAEH,UAAU,CAAC;MACxE,oBACIvB,6BAAC2B,GAAG;QACAC,GAAG,EAAEJ,GAAG,CAACK,EAAE;QACXL,GAAG,EAAEA,GAAG;QACRtB,KAAK,EAAEqB,UAAU,CAACrB,KAAK;QACvBrC,KAAK,EAAEA,KAAK;QACZ4D,UAAU,EAAEA,UAAU;QACtBK,QAAQ,EAAElE,SAAS,CAAC4D,GAAG;QACvBO,YAAY,EAAEnE,SAAS,CAACoE;QAC1B;KAET,CAAC;;EAGN,OAAO;IACH7D,IAAI,EAAEiD,OAAO;IACbD,KAAK;IACLpB;GACH;AACL;AAEA;AACA,SAASpB,0BAA0BA,CAAkBd,KAAwB;EACzE,MAAMG,SAAS,GAAGH,KAAK,CAACI,OAAO,CAACC,IAA6B;EAC7D,MAAMC,IAAI,GAAGN,KAAK,CAACO,WAAW,EAAE,CAACD,IAAI;EACrC,MAAM8D,aAAa,GAAGpE,KAAK,CAAC4B,QAAQ,EAAE,CAACyC,QAAQ;EAE/C,MAAM,CAACC,uBAAuB,EAAEC,0BAA0B,CAAC,GAAGpC,cAAK,CAACqC,QAAQ,CAAyB,EAAE,CAAC;;;EAIxG,MAAMC,wBAAwB,GAAGtC,cAAK,CAACuC,OAAO,CAAC;IAC3C,MAAMC,MAAM,GAAaC,MAAM,CAACD,MAAM,CAACL,uBAAuB,CAAC;IAC/D,OAAOK,MAAM,CAAChE,MAAM,GAAGgE,MAAM,CAACE,MAAM,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,EAAE,CAAC,CAAC,GAAGJ,MAAM,CAAChE,MAAM,GAAG,CAAC;GAC/E,EAAE,CAAC2D,uBAAuB,CAAC,CAAC;;EAG7B,MAAMzD,YAAY,GAAGsB,cAAK,CAACC,WAAW,CACjCC,KAAa;;IACV,MAAM2C,SAAS,GAAG7E,SAAS,CAAC6E,SAAS,CAACxB,MAAM,GACtCyB,oBAAoB,CAAC9E,SAAS,CAAC6E,SAAS,CAACxB,MAAM,CAAC,GAChDyB,oBAAoB,CAACC,MAAM;IAEjC,IAAId,aAAa,KAAK,IAAI,KAAAe,WAAA,GAAI7E,IAAI,CAAC+B,KAAK,CAAC,cAAA8C,WAAA,gBAAAC,qBAAA,GAAXD,WAAA,CAAaE,aAAa,cAAAD,qBAAA,eAA1BA,qBAAA,CAAAE,IAAA,CAAAH,YAA8B,EAAE;MAC1D,OAAOH,SAAS,GAAGP,wBAAwB;;IAG/C,OAAOO,SAAS;GACnB,EACD,CAAC7E,SAAS,CAAC6E,SAAS,CAACxB,MAAM,EAAEiB,wBAAwB,EAAEL,aAAa,CAAC,CACxE;EAED,MAAMxD,iBAAiB,GAAGuB,cAAK,CAACC,WAAW,CACvC,CAACyB,UAAqD,EAAEH,UAAuB,KAC3E,CAACsB,SAAiB,EAAEO,eAAwB;;IAExC,IAAIA,eAAe,EAAE;MACjBhB,0BAA0B,CAACiB,KAAK,KAAK;QAAE,GAAGA,KAAK;QAAE,CAAC9B,UAAU,CAACrB,KAAK,GAAGkD;OAAiB,CAAC,CAAC;;;IAI5F1B,UAAU,CAACH,UAAU,EAAEsB,SAAS,IAAIO,eAAe,aAAfA,eAAe,cAAfA,eAAe,GAAI,CAAC,CAAC,CAAC;GAC7D,EACL,EAAE,CACL;EAED,OAAO;IAAE1E,YAAY;IAAED;GAAmB;AAC9C;AAEA;AACA,SAASI,yBAAyBA,CAAkBhB,KAAwB;EACxE,MAAMM,IAAI,GAAGN,KAAK,CAACO,WAAW,EAAE,CAACD,IAAI;EACrC,MAAMmF,cAAc,GAAG,CAAC,CAACzF,KAAK,CAAC4B,QAAQ,EAAE,CAACC,QAAQ,CAAClB,MAAM;EAEzD,MAAM+E,eAAe,GAAGvD,cAAK,CAACuC,OAAO,CAAC;IAClC,MAAMiB,OAAO,GAAa,EAAE;IAE5B,IAAIF,cAAc,EAAE;MAChBnF,IAAI,CAACsF,OAAO,CAAC,CAACjC,GAAG,EAAEtB,KAAK;QACpB,IAAIsB,GAAG,CAACkC,YAAY,EAAE,EAAE;UACpBF,OAAO,CAACG,IAAI,CAACzD,KAAK,CAAC;;OAE1B,CAAC;;IAGN,OAAOsD,OAAO;GACjB,EAAE,EAAE,CAAC;;EAGN,MAAM5E,cAAc,GAAGoB,cAAK,CAACC,WAAW,CACpC2D,KAAK;;IACD,MAAMC,mBAAmB,IAAAC,aAAA,GACrB,CAAC,GAAGP,eAAe,CAAC,CAACQ,OAAO,EAAE,CAACC,IAAI,CAAC9D,KAAK,IAAI0D,KAAK,CAACK,UAAU,IAAI/D,KAAK,CAAC,cAAA4D,aAAA,cAAAA,aAAA,GAAIP,eAAe,CAAC,CAAC,CAAC;IAEjG,MAAMW,IAAI,GAAG,IAAIC,GAAG,CAAC,CAACN,mBAAmB,EAAE,GAAGO,qBAAqB,CAACR,KAAK,CAAC,CAAC,CAAC;IAC5E,OAAO,CAAC,GAAGM,IAAI,CAAC,CAACG,IAAI,CAAC,CAAC1B,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAAC;GACzC,EACD,CAACW,eAAe,CAAC,CACpB;EAED,OAAOD,cAAc,GAAG1E,cAAc,GAAGU,SAAS;AACtD;;;;"}
@@ -0,0 +1,24 @@
1
+ import React__default from 'react';
2
+ import { isElementInsideOrTriggeredFromContainer, isElementInteractive } from '../../../../utils/dom.js';
3
+
4
+ function useTableRowActiveListener(table, tableRef) {
5
+ const tableMeta = table.options.meta;
6
+ // move focus to the row when active row changes, this makes sure we start within the row when tabbing
7
+ React__default.useEffect(() => {
8
+ if (tableMeta.rowActive.rowActiveIndex !== undefined) {
9
+ var _tableRef$current$que, _tableRef$current;
10
+ const activeRow = (_tableRef$current$que = (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.querySelector('tbody tr[data-row-active="true"]')) !== null && _tableRef$current$que !== void 0 ? _tableRef$current$que : null;
11
+ // if the focused element, or it's parent if it's portalled, aren't in the row, then focus the row
12
+ // this ensures the next tab press starts at the row
13
+ if (!isElementInsideOrTriggeredFromContainer(document.activeElement, activeRow) && !isElementInteractive(document.activeElement)) {
14
+ var _activeRow$focus;
15
+ activeRow === null || activeRow === void 0 ? void 0 : (_activeRow$focus = activeRow.focus) === null || _activeRow$focus === void 0 ? void 0 : _activeRow$focus.call(activeRow, {
16
+ preventScroll: true
17
+ });
18
+ }
19
+ }
20
+ }, [tableMeta.rowActive.rowActiveIndex]);
21
+ }
22
+
23
+ export { useTableRowActiveListener };
24
+ //# sourceMappingURL=useTableRowActiveListener.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowActiveListener.js","sources":["../../../../../../../../../src/primitives/Table/Core/listeners/useTableRowActiveListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { isElementInsideOrTriggeredFromContainer, isElementInteractive } from '../../../../utils/dom';\n\nexport function useTableRowActiveListener<TType = unknown>(\n table: ReactTable<TType>,\n tableRef: React.RefObject<HTMLTableElement>\n) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n // move focus to the row when active row changes, this makes sure we start within the row when tabbing\n React.useEffect(() => {\n if (tableMeta.rowActive.rowActiveIndex !== undefined) {\n const activeRow = tableRef.current?.querySelector('tbody tr[data-row-active=\"true\"]') ?? null;\n\n // if the focused element, or it's parent if it's portalled, aren't in the row, then focus the row\n // this ensures the next tab press starts at the row\n if (\n !isElementInsideOrTriggeredFromContainer(document.activeElement, activeRow) &&\n !isElementInteractive(document.activeElement)\n ) {\n (activeRow as HTMLElement)?.focus?.({ preventScroll: true });\n }\n }\n }, [tableMeta.rowActive.rowActiveIndex]);\n}\n"],"names":["useTableRowActiveListener","table","tableRef","tableMeta","options","meta","React","useEffect","rowActive","rowActiveIndex","undefined","_tableRef$current$que","_tableRef$current","activeRow","current","querySelector","isElementInsideOrTriggeredFromContainer","document","activeElement","isElementInteractive","_activeRow$focus","focus","call","preventScroll"],"mappings":";;;SAIgBA,yBAAyBA,CACrCC,KAAwB,EACxBC,QAA2C;EAE3C,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;;EAG7DC,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIJ,SAAS,CAACK,SAAS,CAACC,cAAc,KAAKC,SAAS,EAAE;MAAA,IAAAC,qBAAA,EAAAC,iBAAA;MAClD,MAAMC,SAAS,IAAAF,qBAAA,IAAAC,iBAAA,GAAGV,QAAQ,CAACY,OAAO,cAAAF,iBAAA,uBAAhBA,iBAAA,CAAkBG,aAAa,CAAC,kCAAkC,CAAC,cAAAJ,qBAAA,cAAAA,qBAAA,GAAI,IAAI;;;MAI7F,IACI,CAACK,uCAAuC,CAACC,QAAQ,CAACC,aAAa,EAAEL,SAAS,CAAC,IAC3E,CAACM,oBAAoB,CAACF,QAAQ,CAACC,aAAa,CAAC,EAC/C;QAAA,IAAAE,gBAAA;QACGP,SAAyB,aAAzBA,SAAyB,wBAAAO,gBAAA,GAAzBP,SAAyB,CAAEQ,KAAK,cAAAD,gBAAA,uBAAhCA,gBAAA,CAAAE,IAAA,CAAAT,SAAyB,EAAU;UAAEU,aAAa,EAAE;SAAM,CAAC;;;GAGvE,EAAE,CAACpB,SAAS,CAACK,SAAS,CAACC,cAAc,CAAC,CAAC;AAC5C;;;;"}
@@ -0,0 +1,50 @@
1
+ import { useMergedRef } from '../../../hooks/useMergedRef.js';
2
+ import { useTableManager } from '../useTableManager/useTableManager.js';
3
+ import { useStylesheet } from './features/useStylesheet.js';
4
+ import { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts.js';
5
+ import { useTableRef } from './features/useTableRef.js';
6
+ import { useTableRenderer } from './features/useTableRenderer.js';
7
+ import { useTableRowActiveListener } from './listeners/useTableRowActiveListener.js';
8
+ import { renderer } from './components/Columns/Internal/Actions.js';
9
+ import { renderer as renderer$1 } from './components/Columns/Internal/Drag.js';
10
+ import { renderer as renderer$2 } from './components/Columns/Internal/Expansion.js';
11
+ import { renderer as renderer$3 } from './components/Columns/Internal/Selection.js';
12
+
13
+ const INTERNAL_RENDERERS = {
14
+ rowActions: renderer,
15
+ rowDrag: renderer$1,
16
+ rowExpansion: renderer$2,
17
+ rowSelection: renderer$3
18
+ };
19
+ function useTable(props, externalRef, renderers, meta) {
20
+ // create a ref and merge with the consumer's ref
21
+ const ref = useMergedRef(externalRef);
22
+ // configure the table
23
+ const manager = useTableManager(props, meta, INTERNAL_RENDERERS);
24
+ // configure the virtualised renderer
25
+ const renderer = useTableRenderer(renderers, manager.instance, ref, props.defaultRowActiveIndex);
26
+ // configure dynamic styling
27
+ const stylesheet = useStylesheet(manager.id, manager.instance);
28
+ // configure global keyboard shortcuts
29
+ useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);
30
+ // augment the ref with some helper functions
31
+ useTableRef(manager.instance, ref);
32
+ // listeners - they are here and not in useTableManager because they rely on the dom and the table ref
33
+ useTableRowActiveListener(manager.instance, ref);
34
+ return {
35
+ ...manager,
36
+ props: {
37
+ customSettings: props.customSettings,
38
+ emptyState: props.emptyState,
39
+ toolbarLeft: props.toolbarLeft,
40
+ toolbarPanel: props.toolbarPanel,
41
+ toolbarRight: props.toolbarRight
42
+ },
43
+ renderer,
44
+ stylesheet,
45
+ ref
46
+ };
47
+ }
48
+
49
+ export { useTable };
50
+ //# sourceMappingURL=useTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTable.js","sources":["../../../../../../../../src/primitives/Table/Core/useTable.ts"],"sourcesContent":["import { TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useMergedRef } from '../../../hooks/useMergedRef';\nimport { TableProps } from '../types';\nimport { useTableManager } from '../useTableManager/useTableManager';\nimport { useStylesheet } from './features/useStylesheet';\nimport { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts';\nimport { useTableRef } from './features/useTableRef';\nimport { useTableRenderer } from './features/useTableRenderer';\nimport { useTableRowActiveListener } from './listeners/useTableRowActiveListener';\nimport { TableRef } from '../types';\nimport { useTableRenderers } from './types';\nimport { renderer as rowActions } from './components/Columns/Internal/Actions';\nimport { renderer as rowDrag } from './components/Columns/Internal/Drag';\nimport { renderer as rowExpansion } from './components/Columns/Internal/Expansion';\nimport { renderer as rowSelection } from './components/Columns/Internal/Selection';\nimport { useTableManagerInternalColumns } from '../useTableManager/types';\n\nconst INTERNAL_RENDERERS = {\n rowActions,\n rowDrag,\n rowExpansion,\n rowSelection,\n};\n\nexport function useTable<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n externalRef: React.Ref<TableRef>,\n renderers: useTableRenderers<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta\n) {\n // create a ref and merge with the consumer's ref\n const ref = useMergedRef<TableRef>(externalRef);\n // configure the table\n const manager = useTableManager<TType>(props, meta, INTERNAL_RENDERERS as useTableManagerInternalColumns<TType>);\n // configure the virtualised renderer\n const renderer = useTableRenderer<TType>(renderers, manager.instance, ref, props.defaultRowActiveIndex);\n // configure dynamic styling\n const stylesheet = useStylesheet(manager.id, manager.instance);\n // configure global keyboard shortcuts\n useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);\n // augment the ref with some helper functions\n useTableRef(manager.instance, ref);\n\n // listeners - they are here and not in useTableManager because they rely on the dom and the table ref\n useTableRowActiveListener(manager.instance, ref);\n\n return {\n ...manager,\n props: {\n customSettings: props.customSettings,\n emptyState: props.emptyState,\n toolbarLeft: props.toolbarLeft,\n toolbarPanel: props.toolbarPanel,\n toolbarRight: props.toolbarRight,\n },\n renderer,\n stylesheet,\n ref,\n };\n}\n"],"names":["INTERNAL_RENDERERS","rowActions","rowDrag","rowExpansion","rowSelection","useTable","props","externalRef","renderers","meta","ref","useMergedRef","manager","useTableManager","renderer","useTableRenderer","instance","defaultRowActiveIndex","stylesheet","useStylesheet","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;AAiBA,MAAMA,kBAAkB,GAAG;cACvBC,QAAU;WACVC,UAAO;gBACPC,UAAY;gBACZC;CACH;SAEeC,QAAQA,CACpBC,KAAwB,EACxBC,WAAgC,EAChCC,SAAmC,EACnCC,IAA6C;;EAG7C,MAAMC,GAAG,GAAGC,YAAY,CAAWJ,WAAW,CAAC;;EAE/C,MAAMK,OAAO,GAAGC,eAAe,CAAQP,KAAK,EAAEG,IAAI,EAAET,kBAA2D,CAAC;;EAEhH,MAAMc,QAAQ,GAAGC,gBAAgB,CAAQP,SAAS,EAAEI,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEJ,KAAK,CAACW,qBAAqB,CAAC;;EAEvG,MAAMC,UAAU,GAAGC,aAAa,CAACP,OAAO,CAACQ,EAAE,EAAER,OAAO,CAACI,QAAQ,CAAC;;EAE9DK,uBAAuB,CAACT,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEI,QAAQ,CAACQ,aAAa,CAAC;;EAEtEC,WAAW,CAACX,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;;EAGlCc,yBAAyB,CAACZ,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;EAEhD,OAAO;IACH,GAAGE,OAAO;IACVN,KAAK,EAAE;MACHmB,cAAc,EAAEnB,KAAK,CAACmB,cAAc;MACpCC,UAAU,EAAEpB,KAAK,CAACoB,UAAU;MAC5BC,WAAW,EAAErB,KAAK,CAACqB,WAAW;MAC9BC,YAAY,EAAEtB,KAAK,CAACsB,YAAY;MAChCC,YAAY,EAAEvB,KAAK,CAACuB;KACvB;IACDf,QAAQ;IACRI,UAAU;IACVR;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rows.js","sources":["../../../../../../../../../src/primitives/Table/Core/util/rows.ts"],"sourcesContent":["export const ROW_HEIGHT_ESTIMATES = {\n short: 33,\n medium: 41,\n tall: 49,\n 'extra-tall': 57,\n};\n\nexport const HEADER_ROW_HEIGHT_ESTIMATE = ROW_HEIGHT_ESTIMATES.medium + 2; // header includes 2px border\n"],"names":["ROW_HEIGHT_ESTIMATES","short","medium","tall","HEADER_ROW_HEIGHT_ESTIMATE"],"mappings":"MAAaA,oBAAoB,GAAG;EAChCC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE,EAAE;EACVC,IAAI,EAAE,EAAE;EACR,YAAY,EAAE;;MAGLC,0BAA0B,GAAGJ,oBAAoB,CAACE,MAAM,GAAG,EAAE;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../../../../../src/primitives/Table/types.ts"],"sourcesContent":["import {\n ColumnFilter as ReactTableColumnFilter,\n ColumnFiltersState as ReactTableColumnFilterState,\n ColumnOrderState as ReactTableColumnOrderState,\n ColumnPinningState as ReactTableColumnPinningState,\n ColumnSort as ReactTableColumnSort,\n ColumnSizingState as ReactTableColumnSizingState,\n GroupingState as ReactTableGroupingState,\n VisibilityState as ReactTableColumnVisibilityState,\n SortingState as ReactTableSortingState,\n BuiltInAggregationFn as ReactTableBuiltInAggregationFn,\n BuiltInSortingFn as ReactTableBuiltInSortingFn,\n HeaderContext as ReactTableHeaderContext,\n CellContext as ReactTableCellContext,\n ColumnMeta as ReactTableColumnMeta,\n} from '@tanstack/react-table';\nimport { FontSize, FontSizes, ValueOf } from '../../types';\nimport { MenuProps } from '../../components/Menu/Menu';\n\ntype TODO = any;\n\nexport type TableRef = HTMLTableElement & {\n instance: {\n resetFiltering: () => void;\n resetRowExpansion: () => void;\n resetRowSelection: () => void;\n resetSorting: () => void;\n };\n};\n\n// filtering\nexport enum TableFilterComparator {\n Contains,\n DoesNotContain,\n IsEqualTo,\n IsNotEqualTo,\n IsGreaterThan,\n IsLessThan,\n IsBetween,\n IsEmpty,\n IsNotEmpty,\n IsLessThanOrEqualTo,\n IsGreaterThanOrEqualTo,\n HasAnyOf,\n HasAllOf,\n HasNoneOf,\n}\nexport type TableFilterValue = {\n comparator: TableFilterComparator;\n value: any;\n};\nexport type TableFilter = {\n id: string;\n value: TableFilterValue;\n};\n\n// columns\nexport type TableColumnAlignment = 'left' | 'center' | 'right';\nexport type TableColumnClassNameHandler<TType = unknown> = string | ((row: TType) => string | undefined);\nexport type TableColumnDataType = 'auto' | 'number' | 'alphanumeric' | 'alphanumericCaseSensitive' | 'datetime' | 'boolean';\nexport type TableColumnFilter = ReactTableColumnFilter;\nexport type TableColumnMenu = (props: Partial<MenuProps>) => JSX.Element;\nexport type TableColumnRenderer<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererAggregate<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererControl<TType = unknown> =\n | ((props: TableColumnRendererControlProps, row?: TType) => JSX.Element)\n | 'datepicker'\n | 'input'\n | 'switch'\n | 'textarea';\nexport type TableColumnRendererControlProps = {\n className?: string;\n disabled?: boolean;\n fontSize?: FontSize;\n invalid?: boolean;\n onBlur?: (value: any) => void;\n onFocus?: React.FocusEventHandler;\n readOnly?: boolean;\n ref: React.RefObject<HTMLElement> | ((instance: HTMLElement | null | undefined) => void);\n setValue: (value: any) => void;\n value: any;\n};\nexport type TableColumnRendererHeader = string;\nexport type TableColumnRendererFooter<TValue> = (values: TValue[]) => JSX.Element | string | number | null;\nexport type TableColumnSort = ReactTableColumnSort;\nexport type TableColumnSortDirection = 'asc' | 'desc';\nexport type TableColumnSortFn<TType = unknown> =\n | ((rowA: TType, rowB: TType, columnId: string) => -1 | 0 | 1)\n | ReactTableBuiltInSortingFn\n | 'auto';\nexport type TableColumnWidth = number | 'grow';\n\n// rows\nexport type TableRowActionRenderer<TType = unknown> = (row: TType) => JSX.Element | null;\nexport type TableRowActionGroupRenderer<TType = unknown> = (rows: TType[]) => JSX.Element | null;\nexport type TableRowClickHandler<TType = unknown> = (row: TType) => void;\nexport type TableRowGotoHandler = (\n column: string,\n query: string,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<number>;\nexport type TableRowHeight = 'short' | 'medium' | 'tall' | 'extra-tall';\nexport type TableRowSelectHandler<TType = unknown> = (rows: TType[]) => void;\n\n// shortcuts\nexport type TableShortcutHandlerFn<TType = unknown> = (row: TType) => void;\nexport type TableShortcutHandlerObject<TType = unknown> = {\n handler: TableShortcutHandlerFn<TType>;\n meta?: boolean;\n shift?: boolean;\n};\n\n// table\nexport type TableFilterHandler = (filters: TableColumnFilter[]) => void;\nexport type TableFontSize = keyof typeof FontSizes;\nexport type TablePreset = 'lite' | 'complex';\nexport type TableRowExpansionRenderer<TType = unknown> = (row: TType) => (() => JSX.Element) | null;\nexport type TableScrollToIndexHandler = (index: number, options?: { align: 'start' | 'center' | 'end' | 'auto' }) => void;\nexport type TableServerLoadPageHandler = (\n pageIndex: number,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport type TableServerLoadAllHandler = (\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport enum TableServerLoadAllState {\n Incomplete,\n Loading,\n Completed,\n}\nexport type TableSettingsHandler = (settings: TableSettings) => void | Promise<void>;\nexport type TableShortcuts<TType = unknown> = Record<string, TableShortcutHandlerFn<TType> | TableShortcutHandlerObject<TType>>;\nexport type TableSortHandler = (sorting: TableColumnSort[]) => void;\n\n// settings\nexport type TableSettings = {\n columnFilters?: ReactTableColumnFilterState;\n columnOrder?: ReactTableColumnOrderState;\n columnPinning?: ReactTableColumnPinningState;\n columnSizing?: ReactTableColumnSizingState;\n columnVisibility?: ReactTableColumnVisibilityState;\n excludeUnmatchedRecordsInSearch?: boolean;\n fontSize?: TableFontSize;\n grouping?: ReactTableGroupingState;\n rowHeight?: TableRowHeight;\n searchQuery?: string;\n sorting?: ReactTableSortingState;\n};\nexport type EnableSettingsOptions = {\n columnOrder: boolean;\n columnPinning: boolean;\n columnSizing: boolean;\n columnVisibility: boolean;\n excludeUnmatchedRecordsInSearch: boolean;\n fontSize: boolean;\n grouping: boolean;\n rowHeight: boolean;\n sorting: boolean;\n};\n\n// props\nexport type TableFeatureProps = {\n // react-table built-in\n enableFiltering?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableColumnFreezing?: boolean;\n enableColumnHiding?: boolean;\n enableColumnResizing?: boolean;\n enableRowExpansion?: boolean;\n enableRowSelection?: boolean;\n enableRowSelectionSingle?: boolean;\n\n // custom -- common between all table types\n enableColumnOrdering?: boolean;\n enableFontSize?: boolean;\n enableFooter?: boolean;\n enablePrinting?: boolean;\n enableRowActions?: boolean;\n enableRowActive?: boolean;\n enableRowClick?: boolean;\n enableRowGoto?: boolean;\n enableRowHeight?: boolean;\n enableSaveSettings?: boolean | Partial<EnableSettingsOptions>;\n};\n\nexport type useTableInternalColumn<TType = unknown> = {\n header?: (info: ReactTableHeaderContext<TType, unknown>) => JSX.Element | string | null;\n renderer: (info: ReactTableCellContext<TType, unknown>) => JSX.Element | string | null;\n meta?: ReactTableColumnMeta<TType, unknown>;\n size?: number;\n};\n\nexport type useTableInternalColumns<TType = unknown> = {\n rowActions?: useTableInternalColumn<TType>;\n rowExpansion?: useTableInternalColumn<TType>;\n rowSelection?: useTableInternalColumn<TType>;\n};\n\ntype useTableCommonProps<TType = unknown> = TableFeatureProps & {\n children: (JSX.Element | boolean | null | undefined)[];\n data: TType[];\n id: string;\n\n // misc\n defaultColumnFreezingIndex?: number;\n defaultRowActiveIndex?: number;\n defaultRowGroupColumnId?: keyof TType;\n defaultSettings?: TableSettings;\n preset?: TablePreset;\n rowActions?: TableRowActionRenderer<TType>[];\n rowActionsForGroup?: TableRowActionGroupRenderer<TType>[];\n rowActionsLength?: number;\n rowExpansionRenderer?: TableRowExpansionRenderer<TType>;\n shortcuts?: TableShortcuts<TType>;\n\n // handlers\n onRowClick?: TableRowClickHandler<TType>;\n onRowGoto?: TableRowGotoHandler;\n onRowSelect?: TableRowSelectHandler<TType>;\n\n // state change handlers\n onChangeFilter?: TableFilterHandler;\n onChangeSearch?: TODO; // not currently supported\n onChangeSettings?: TableSettingsHandler;\n onChangeSort?: TableSortHandler;\n};\n\nexport interface useTableClientProps<TType = unknown> extends useTableCommonProps<TType> {\n length?: never;\n loadAll?: never;\n loadPage?: never;\n pageSize?: never;\n}\n\nexport interface useTableServerProps<TType = unknown> extends useTableCommonProps<TType> {\n length: number | undefined;\n loadAll: TableServerLoadAllHandler;\n loadPage: TableServerLoadPageHandler;\n pageSize?: number;\n}\n\nexport type useTableProps<TType = unknown> = useTableClientProps<TType> | useTableServerProps<TType>;\n\nexport type TableColumnProps<TType = unknown> = ValueOf<{\n [Key in keyof TType]: {\n accessor?: Key;\n id: string;\n } & {\n // renderers\n renderer?: TableColumnRenderer<TType, TType[Key]>;\n /** Renderer to use if the cell is an aggregate cell and part of a grouped row */\n aggregate?: TableColumnRendererAggregate<TType, TType[Key]>;\n control?: TableColumnRendererControl<TType>;\n footer?: TableColumnRendererFooter<TType[Key]>;\n header: TableColumnRendererHeader;\n // options\n /** Aggregation function to be used when the column is part of a grouped row */\n aggregationFn?: 'auto' | ReactTableBuiltInAggregationFn;\n align?: TableColumnAlignment;\n className?: TableColumnClassNameHandler<TType>;\n dataType?: TableColumnDataType;\n defaultHidden?: boolean;\n defaultWidth?: TableColumnWidth;\n enableFiltering?: boolean;\n enableGrouping?: boolean;\n enableHiding?: boolean;\n enableOrdering?: boolean;\n enablePrinting?: boolean;\n enableResizing?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableTruncate?: boolean;\n filters?: TableFilterComparator[];\n headerClassName?: string;\n menu?: TableColumnMenu;\n minWidth?: number;\n sort?: TableColumnSortDirection;\n sortFn?: TableColumnSortFn<TType>;\n tooltip?: string;\n };\n}>;\n\nexport type TableGroupProps = {\n children: (JSX.Element | boolean | null | undefined)[];\n header: string;\n id: string;\n};\n"],"names":["TableFilterComparator","TableServerLoadAllState"],"mappings":"AA8BA;IACYA;AAAZ,WAAYA,qBAAqB;EAC7BA,yEAAQ;EACRA,qFAAc;EACdA,2EAAS;EACTA,iFAAY;EACZA,mFAAa;EACbA,6EAAU;EACVA,2EAAS;EACTA,uEAAO;EACPA,6EAAU;EACVA,+FAAmB;EACnBA,sGAAsB;EACtBA,0EAAQ;EACRA,0EAAQ;EACRA,4EAAS;AACb,CAAC,EAfWA,qBAAqB,KAArBA,qBAAqB;IAoGrBC;AAAZ,WAAYA,uBAAuB;EAC/BA,iFAAU;EACVA,2EAAO;EACPA,+EAAS;AACb,CAAC,EAJWA,uBAAuB,KAAvBA,uBAAuB;;;;"}
1
+ {"version":3,"file":"types.js","sources":["../../../../../../../src/primitives/Table/types.ts"],"sourcesContent":["import {\n ColumnFilter as ReactTableColumnFilter,\n ColumnFiltersState as ReactTableColumnFilterState,\n ColumnOrderState as ReactTableColumnOrderState,\n ColumnPinningState as ReactTableColumnPinningState,\n ColumnSort as ReactTableColumnSort,\n ColumnSizingState as ReactTableColumnSizingState,\n GroupingState as ReactTableGroupingState,\n VisibilityState as ReactTableColumnVisibilityState,\n SortingState as ReactTableSortingState,\n BuiltInAggregationFn as ReactTableBuiltInAggregationFn,\n BuiltInSortingFn as ReactTableBuiltInSortingFn,\n} from '@tanstack/react-table';\nimport { FontSize, FontSizes, ValueOf } from '../../types';\nimport { MenuProps } from '../../components/Menu/Menu';\nimport { MenuItemProps } from '../../components/Menu/components/Item';\n\ntype TODO = any;\n\nexport type TableRef = HTMLTableElement & {\n instance: {\n resetFiltering: () => void;\n resetRowExpansion: () => void;\n resetRowSelection: () => void;\n resetSorting: () => void;\n };\n};\n\n// filtering\nexport enum TableFilterComparator {\n Contains,\n DoesNotContain,\n IsEqualTo,\n IsNotEqualTo,\n IsGreaterThan,\n IsLessThan,\n IsBetween,\n IsEmpty,\n IsNotEmpty,\n IsLessThanOrEqualTo,\n IsGreaterThanOrEqualTo,\n HasAnyOf,\n HasAllOf,\n HasNoneOf,\n}\nexport type TableFilterValue = {\n comparator: TableFilterComparator;\n value: any;\n};\nexport type TableFilter = {\n id: string;\n value: TableFilterValue;\n};\n\n// columns\nexport type TableColumnAlignment = 'left' | 'center' | 'right';\nexport type TableColumnClassNameHandler<TType = unknown> = string | ((row: TType) => string | undefined);\nexport type TableColumnDataType = 'auto' | 'number' | 'alphanumeric' | 'alphanumericCaseSensitive' | 'datetime' | 'boolean';\nexport type TableColumnFilter = ReactTableColumnFilter;\nexport type TableColumnMenu = (props: Partial<MenuProps>) => JSX.Element;\nexport type TableColumnRenderer<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererAggregate<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererControl<TType = unknown> =\n | ((props: TableColumnRendererControlProps, row?: TType) => JSX.Element)\n | 'datepicker'\n | 'input'\n | 'switch'\n | 'textarea';\nexport type TableColumnRendererControlProps = {\n className?: string;\n disabled?: boolean;\n fontSize?: FontSize;\n invalid?: boolean;\n onBlur?: (value: any) => void;\n onFocus?: React.FocusEventHandler;\n readOnly?: boolean;\n ref: React.RefObject<HTMLElement> | ((instance: HTMLElement | null | undefined) => void);\n setValue: (value: any) => void;\n value: any;\n};\nexport type TableColumnRendererHeader = string;\nexport type TableColumnRendererFooter<TValue> = (values: TValue[]) => JSX.Element | string | number | null;\nexport type TableColumnSort = ReactTableColumnSort;\nexport type TableColumnSortDirection = 'asc' | 'desc';\nexport type TableColumnSortFn<TType = unknown> =\n | ((rowA: TType, rowB: TType, columnId: string) => -1 | 0 | 1)\n | ReactTableBuiltInSortingFn\n | 'auto';\nexport type TableColumnWidth = number | 'grow';\n\n// rows\nexport type TableRowActionRenderer<TType = unknown> = (row: TType, internalRowId: string) => JSX.Element | null;\nexport type TableRowActionGroupRenderer<TType = unknown> = (rows: TType[]) => JSX.Element | null;\nexport type TableRowClickHandler<TType = unknown> = (row: TType) => void;\nexport type TableRowDragHandler<TType = unknown> = (\n rows: TType[],\n showPlaceholder: (string) => void,\n setDataTransfer: (data: string) => void\n) => void;\nexport type TableRowDropHandler<TType = unknown> = (event: React.DragEvent, row: TType) => void;\nexport type TableRowGotoHandler = (\n column: string,\n query: string,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<number>;\nexport type TableRowHeight = 'short' | 'medium' | 'tall' | 'extra-tall';\nexport type TableRowSelectHandler<TType = unknown> = (rows: TType[]) => void;\nexport type TableRowWithMetaData<TType = unknown> = TType & {\n _meta?: {\n layout?: 'heading' | 'summary' | 'item';\n };\n};\n\n// shortcuts\nexport type TableShortcutHandlerFn<TType = unknown> = (row: TType) => void;\nexport type TableShortcutHandlerObject<TType = unknown> = {\n handler: TableShortcutHandlerFn<TType>;\n meta?: boolean;\n shift?: boolean;\n};\n\n// table\nexport type TableFilterHandler = (filters: TableColumnFilter[]) => void;\nexport type TableFontSize = keyof typeof FontSizes;\nexport type TablePreset = 'lite' | 'complex';\nexport type TableRowExpansionRenderer<TType = unknown> = (row: TType) => (() => JSX.Element) | null;\nexport type TableScrollToIndexHandler = (index: number, options?: { align: 'start' | 'center' | 'end' | 'auto' }) => void;\nexport type TableServerLoadPageHandler = (\n pageIndex: number,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport type TableServerLoadAllHandler = (\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<void>;\nexport enum TableServerLoadAllState {\n Incomplete,\n Loading,\n Completed,\n}\nexport type TableSettingsHandler = (settings: TableSettings) => void | Promise<void>;\nexport type TableShortcuts<TType = unknown> = Record<string, TableShortcutHandlerFn<TType> | TableShortcutHandlerObject<TType>>;\nexport type TableSortHandler = (sorting: TableColumnSort[]) => void;\nexport type TableCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];\nexport type TableEmptyStateRenderer = () => JSX.Element | null;\n\n// settings\nexport type TableSettings = {\n columnFilters?: ReactTableColumnFilterState;\n columnOrder?: ReactTableColumnOrderState;\n columnPinning?: ReactTableColumnPinningState;\n columnSizing?: ReactTableColumnSizingState;\n columnVisibility?: ReactTableColumnVisibilityState;\n excludeUnmatchedRecordsInSearch?: boolean;\n fontSize?: TableFontSize;\n grouping?: ReactTableGroupingState;\n rowHeight?: TableRowHeight;\n searchQuery?: string;\n sorting?: ReactTableSortingState;\n};\nexport type EnableSettingsOptions = {\n columnOrder: boolean;\n columnPinning: boolean;\n columnSizing: boolean;\n columnVisibility: boolean;\n excludeUnmatchedRecordsInSearch: boolean;\n fontSize: boolean;\n grouping: boolean;\n rowHeight: boolean;\n sorting: boolean;\n};\n\n// props\nexport type TableFeatureProps = {\n // react-table built-in\n enableFiltering?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableColumnFreezing?: boolean;\n enableColumnHiding?: boolean;\n enableColumnResizing?: boolean;\n enableRowExpansion?: boolean;\n enableRowSelection?: boolean;\n enableRowSelectionSingle?: boolean;\n\n // custom -- common between all table types\n enableColumnOrdering?: boolean;\n enableFontSize?: boolean;\n enableFooter?: boolean;\n enablePrinting?: boolean;\n enableRowActions?: boolean;\n enableRowActive?: boolean;\n enableRowClick?: boolean;\n enableRowDrag?: boolean;\n enableRowDrop?: boolean;\n enableRowGoto?: boolean;\n enableRowHeight?: boolean;\n enableSaveSettings?: boolean | Partial<EnableSettingsOptions>;\n};\n\ntype TableCommonProps<TType = unknown> = TableFeatureProps & {\n children: (JSX.Element | boolean | null | undefined)[];\n data: TType[];\n id: string;\n\n // misc\n customSettings?: TableCustomSettingsRenderer;\n defaultColumnFreezingIndex?: number;\n defaultRowActiveIndex?: number;\n defaultRowGroupColumnId?: keyof TType;\n defaultSettings?: TableSettings;\n emptyState?: TableEmptyStateRenderer;\n preset?: TablePreset;\n rowActions?: TableRowActionRenderer<TType>[];\n rowActionsForGroup?: TableRowActionGroupRenderer<TType>[];\n rowActionsLength?: number;\n rowExpansionRenderer?: TableRowExpansionRenderer<TType>;\n rowIdentityColumnId?: string;\n shortcuts?: TableShortcuts<TType>;\n toolbarLeft?: JSX.Element;\n toolbarRight?: JSX.Element;\n toolbarPanel?: JSX.Element;\n\n // handlers\n onRowClick?: TableRowClickHandler<TType>;\n onRowDrag?: TableRowDragHandler<TType>;\n onRowDrop?: TableRowDropHandler<TType>;\n onRowGoto?: TableRowGotoHandler;\n onRowSelect?: TableRowSelectHandler<TType>;\n\n // state change handlers\n onChangeFilter?: TableFilterHandler;\n onChangeSearch?: TODO; // not currently supported\n onChangeSettings?: TableSettingsHandler;\n onChangeSort?: TableSortHandler;\n};\n\nexport interface TableClientProps<TType = unknown> extends TableCommonProps<TType> {\n length?: never;\n loadAll?: never;\n loadPage?: never;\n pageSize?: never;\n}\n\nexport interface TableServerProps<TType = unknown> extends TableCommonProps<TType> {\n length: number | undefined;\n loadAll: TableServerLoadAllHandler;\n loadPage: TableServerLoadPageHandler;\n pageSize?: number;\n}\n\nexport type TableProps<TType = unknown> = TableClientProps<TType> | TableServerProps<TType>;\n\nexport type TableColumnProps<TType = unknown> = ValueOf<{\n [Key in keyof TType]: {\n accessor?: Key;\n id: string;\n } & {\n // renderers\n renderer?: TableColumnRenderer<TType, TType[Key]>;\n /** Renderer to use if the cell is an aggregate cell and part of a grouped row */\n aggregate?: TableColumnRendererAggregate<TType, TType[Key]>;\n control?: TableColumnRendererControl<TType>;\n footer?: TableColumnRendererFooter<TType[Key]>;\n header: TableColumnRendererHeader;\n // options\n /** Aggregation function to be used when the column is part of a grouped row */\n aggregationFn?: 'auto' | ReactTableBuiltInAggregationFn;\n align?: TableColumnAlignment;\n className?: TableColumnClassNameHandler<TType>;\n dataType?: TableColumnDataType;\n defaultHidden?: boolean;\n defaultWidth?: TableColumnWidth;\n enableFiltering?: boolean;\n enableGrouping?: boolean;\n enableHiding?: boolean;\n enableOrdering?: boolean;\n enablePrinting?: boolean;\n enableResizing?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableTruncate?: boolean;\n filters?: TableFilterComparator[];\n headerClassName?: string;\n menu?: TableColumnMenu;\n minWidth?: number;\n sort?: TableColumnSortDirection;\n sortFn?: TableColumnSortFn<TType>;\n tooltip?: string;\n };\n}>;\n\nexport type TableGroupProps = {\n children: (JSX.Element | boolean | null | undefined)[];\n header: string;\n id: string;\n};\n\nexport type TableTexts = {\n columns: {\n actions: {\n tooltip: string;\n };\n drag: {\n tooltip: string;\n };\n expansion: {\n collapse: string;\n collapseAll: string;\n expand: string;\n expandAll: string;\n };\n menu: {\n editFilter: string;\n filter: string;\n freezeFirstColumn: string;\n freezeUptoColumn: string;\n gotoRow: string;\n hideColumn: string;\n unfreezeColumns: string;\n sorting: string;\n sortingOrder: {\n ascending: string;\n descending: string;\n unsorted: string;\n };\n };\n resize: {\n tooltip: string;\n };\n select: {\n deselect: string;\n deselectAll: string;\n select: string;\n selectAll: string;\n };\n };\n columnSettings: {\n button: string;\n noResults: string;\n search: string;\n tooltip: string;\n };\n filters: {\n button: string;\n buttons: {\n addFilter: string;\n clearFilters: string;\n };\n comparators: {\n contains: string;\n doesNotContain: string;\n isEqualTo: string;\n isNotEqualTo: string;\n isGreaterThan: string;\n isLessThan: string;\n isBetween: string;\n isEmpty: string;\n isNotEmpty: string;\n isBefore: string;\n isAfter: string;\n isLessThanOrEqualTo: string;\n isGreaterThanOrEqualTo: string;\n isOnOrBefore: string;\n isOnOrAfter: string;\n hasAnyOf: string;\n hasAllOf: string;\n hasNoneOf: string;\n };\n conditions: {\n and: string;\n where: string;\n };\n emptyFilter: {\n condition: string;\n value: string;\n };\n hiddenColumn: string;\n hiddenGroupedColumn: string;\n tooltip: string;\n total: string;\n };\n fontSize: {\n tooltip: string;\n sizes: {\n small: string;\n medium: string;\n large: string;\n };\n };\n footer: {\n summary: {\n count: string;\n records: string;\n selected: string;\n };\n };\n print: {\n error: string;\n loading: string;\n tooltip: string;\n warningDialog: {\n title: string;\n description: string;\n checkboxVisibilityLabel: string;\n cancelButtonText: string;\n printButtonText: string;\n };\n settingsDialog: {\n title: string;\n size: string;\n sizeA5: string;\n sizeA4: string;\n sizeA3: string;\n sizeLetter: string;\n sizeLegal: string;\n orientation: string;\n orientationLandscape: string;\n orientationPortrait: string;\n rows: string;\n rowsAll: string;\n rowsSelected: string;\n layout: string;\n layoutSplitGroups: string;\n };\n };\n rowHeight: {\n tooltip: string;\n sizes: {\n short: string;\n medium: string;\n tall: string;\n extraTall: string;\n };\n };\n search: {\n excludeUnmatchedResults: string;\n placeholder: string;\n };\n otherOptions: {\n tooltip: string;\n };\n};\n"],"names":["TableFilterComparator","TableServerLoadAllState"],"mappings":"AA4BA;IACYA;AAAZ,WAAYA,qBAAqB;EAC7BA,yEAAQ;EACRA,qFAAc;EACdA,2EAAS;EACTA,iFAAY;EACZA,mFAAa;EACbA,6EAAU;EACVA,2EAAS;EACTA,uEAAO;EACPA,6EAAU;EACVA,+FAAmB;EACnBA,sGAAsB;EACtBA,0EAAQ;EACRA,0EAAQ;EACRA,4EAAS;AACb,CAAC,EAfWA,qBAAqB,KAArBA,qBAAqB;IA+GrBC;AAAZ,WAAYA,uBAAuB;EAC/BA,iFAAU;EACVA,2EAAO;EACPA,+EAAS;AACb,CAAC,EAJWA,uBAAuB,KAAvBA,uBAAuB;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableColumnFreezing.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableColumnFreezing.ts"],"sourcesContent":["import React from 'react';\n\n/* column freezing uses the native column pinning feature, this hook is really just a container for scrolled state */\nexport function useTableColumnFreezing(isEnabled = false) {\n const [isHorizontallyScrolled, setHorizontallyScrolled] = React.useState(false);\n\n const handleScroll = (event: React.MouseEvent<HTMLTableElement>) => {\n if (event.currentTarget.scrollLeft > 0 && !isHorizontallyScrolled) {\n setHorizontallyScrolled(true);\n } else if (event.currentTarget.scrollLeft === 0 && isHorizontallyScrolled) {\n setHorizontallyScrolled(false);\n }\n };\n\n return {\n isEnabled,\n isHorizontallyScrolled,\n handleScroll,\n };\n}\n"],"names":["useTableColumnFreezing","isEnabled","isHorizontallyScrolled","setHorizontallyScrolled","React","useState","handleScroll","event","currentTarget","scrollLeft"],"mappings":";;AAEA;SACgBA,sBAAsBA,CAACC,SAAS,GAAG,KAAK;EACpD,MAAM,CAACC,sBAAsB,EAAEC,uBAAuB,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAC,KAAK,CAAC;EAE/E,MAAMC,YAAY,GAAIC,KAAyC;IAC3D,IAAIA,KAAK,CAACC,aAAa,CAACC,UAAU,GAAG,CAAC,IAAI,CAACP,sBAAsB,EAAE;MAC/DC,uBAAuB,CAAC,IAAI,CAAC;KAChC,MAAM,IAAII,KAAK,CAACC,aAAa,CAACC,UAAU,KAAK,CAAC,IAAIP,sBAAsB,EAAE;MACvEC,uBAAuB,CAAC,KAAK,CAAC;;GAErC;EAED,OAAO;IACHF,SAAS;IACTC,sBAAsB;IACtBI;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableColumnOrdering.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableColumnOrdering.ts"],"sourcesContent":["export function useTableColumnOrdering(isEnabled = false) {\n return {\n isEnabled,\n };\n}\n"],"names":["useTableColumnOrdering","isEnabled"],"mappings":"SAAgBA,sBAAsBA,CAACC,SAAS,GAAG,KAAK;EACpD,OAAO;IACHA;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableFontSize.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableFontSize.ts"],"sourcesContent":["import React from 'react';\nimport { FontSize } from '../../../../types';\n\nexport function useTableFontSize(isEnabled = false, defaultFontSize: FontSize = 'medium') {\n const [size, setSize] = React.useState<FontSize>(defaultFontSize);\n\n return {\n isEnabled,\n size,\n setSize: isEnabled ? setSize : () => undefined,\n };\n}\n"],"names":["useTableFontSize","isEnabled","defaultFontSize","size","setSize","React","useState","undefined"],"mappings":";;SAGgBA,gBAAgBA,CAACC,SAAS,GAAG,KAAK,EAAEC,kBAA4B,QAAQ;EACpF,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAWJ,eAAe,CAAC;EAEjE,OAAO;IACHD,SAAS;IACTE,IAAI;IACJC,OAAO,EAAEH,SAAS,GAAGG,OAAO,GAAG,MAAMG;GACxC;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableFooter.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableFooter.ts"],"sourcesContent":["export function useTableFooter(isEnabled = false) {\n return {\n isEnabled,\n };\n}\n"],"names":["useTableFooter","isEnabled"],"mappings":"SAAgBA,cAAcA,CAACC,SAAS,GAAG,KAAK;EAC5C,OAAO;IACHA;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTablePrinting.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTablePrinting.ts"],"sourcesContent":["import React from 'react';\nimport { useTacoSettings } from '../../../../hooks/useTacoSettings';\nimport { useLocalStorage } from '../../../../hooks/useLocalStorage';\n\ntype TablePrintSettings = {\n allRows: boolean;\n orientation: 'portrait' | 'landscape';\n size: 'A3' | 'A4' | 'A5' | 'letter' | 'legal';\n splitGroups: boolean;\n};\n\nexport function useTablePrinting(isEnabled = false, tableId: string) {\n const [isPrinting, setIsPrinting] = React.useState(false);\n const [settings, setSetting] = useTablePrintingSettings(tableId);\n\n return {\n isEnabled,\n isPrinting,\n setIsPrinting,\n settings,\n setSetting,\n };\n}\n\nconst DEFAULT_PRINT_SETTINGS: TablePrintSettings = {\n size: 'A4',\n orientation: 'portrait',\n allRows: true,\n splitGroups: true,\n};\n\nfunction useTablePrintingSettings(tableId: string): [TablePrintSettings, (key: keyof TablePrintSettings, value: any) => void] {\n const tacoSettings = useTacoSettings();\n const uniqueId = `taco.${tacoSettings.uniqueUserIdentifier}.table.${tableId}.print.settings`;\n\n const [persistedSettings, setPersistedSettings] = useLocalStorage<TablePrintSettings>(uniqueId, DEFAULT_PRINT_SETTINGS);\n\n function setSetting(key: keyof TablePrintSettings, value: any) {\n setPersistedSettings(currentSettings => ({\n ...currentSettings,\n [key]: value,\n }));\n }\n\n return [persistedSettings, setSetting];\n}\n"],"names":["useTablePrinting","isEnabled","tableId","isPrinting","setIsPrinting","React","useState","settings","setSetting","useTablePrintingSettings","DEFAULT_PRINT_SETTINGS","size","orientation","allRows","splitGroups","tacoSettings","useTacoSettings","uniqueId","uniqueUserIdentifier","persistedSettings","setPersistedSettings","useLocalStorage","key","value","currentSettings"],"mappings":";;;;SAWgBA,gBAAgBA,CAACC,SAAS,GAAG,KAAK,EAAEC,OAAe;EAC/D,MAAM,CAACC,UAAU,EAAEC,aAAa,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAC,KAAK,CAAC;EACzD,MAAM,CAACC,QAAQ,EAAEC,UAAU,CAAC,GAAGC,wBAAwB,CAACP,OAAO,CAAC;EAEhE,OAAO;IACHD,SAAS;IACTE,UAAU;IACVC,aAAa;IACbG,QAAQ;IACRC;GACH;AACL;AAEA,MAAME,sBAAsB,GAAuB;EAC/CC,IAAI,EAAE,IAAI;EACVC,WAAW,EAAE,UAAU;EACvBC,OAAO,EAAE,IAAI;EACbC,WAAW,EAAE;CAChB;AAED,SAASL,wBAAwBA,CAACP,OAAe;EAC7C,MAAMa,YAAY,GAAGC,eAAe,EAAE;EACtC,MAAMC,QAAQ,WAAWF,YAAY,CAACG,8BAA8BhB,wBAAwB;EAE5F,MAAM,CAACiB,iBAAiB,EAAEC,oBAAoB,CAAC,GAAGC,eAAe,CAAqBJ,QAAQ,EAAEP,sBAAsB,CAAC;EAEvH,SAASF,UAAUA,CAACc,GAA6B,EAAEC,KAAU;IACzDH,oBAAoB,CAACI,eAAe,KAAK;MACrC,GAAGA,eAAe;MAClB,CAACF,GAAG,GAAGC;KACV,CAAC,CAAC;;EAGP,OAAO,CAACJ,iBAAiB,EAAEX,UAAU,CAAC;AAC1C;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowActions.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowActions.ts"],"sourcesContent":["import { TableRowActionRenderer } from '../../types';\n\nconst DEFAULT_ROW_ACTIONS_LENGTH = 4;\n\nexport function useTableRowActions<TType = unknown>(\n isEnabled = false,\n rowActions?: TableRowActionRenderer<TType>[],\n rowActionsLength = DEFAULT_ROW_ACTIONS_LENGTH\n) {\n return {\n isEnabled,\n rowActions: isEnabled ? rowActions : undefined,\n rowActionsLength: rowActions ? Math.min(rowActions.length, rowActionsLength) : 0,\n };\n}\n"],"names":["DEFAULT_ROW_ACTIONS_LENGTH","useTableRowActions","isEnabled","rowActions","rowActionsLength","undefined","Math","min","length"],"mappings":"AAEA,MAAMA,0BAA0B,GAAG,CAAC;SAEpBC,kBAAkBA,CAC9BC,SAAS,GAAG,KAAK,EACjBC,UAA4C,EAC5CC,gBAAgB,GAAGJ,0BAA0B;EAE7C,OAAO;IACHE,SAAS;IACTC,UAAU,EAAED,SAAS,GAAGC,UAAU,GAAGE,SAAS;IAC9CD,gBAAgB,EAAED,UAAU,GAAGG,IAAI,CAACC,GAAG,CAACJ,UAAU,CAACK,MAAM,EAAEJ,gBAAgB,CAAC,GAAG;GAClF;AACL;;;;"}