@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,80 @@
1
+ import React__default from 'react';
2
+ import { isElementInsideOrTriggeredFromContainer } from '../../../../utils/dom.js';
3
+ import { useIsHoverStatePaused } from '../../../../hooks/useIsHoverStatePaused.js';
4
+
5
+ function useTableRowActive(isEnabled = false, initialRowActiveIndex) {
6
+ const [rowActiveIndex, setRowActiveIndex] = React__default.useState(initialRowActiveIndex);
7
+ const [rowHoverIndex, setRowHoverIndex] = React__default.useState(undefined);
8
+ const [isHoverStatePaused, setHoverStatePaused] = useIsHoverStatePaused();
9
+ const move = (direction, length, scrollToIndex) => setRowActiveIndex(currentIndex => {
10
+ const nextIndex = currentIndex !== undefined ? getNextIndex(direction, currentIndex, length) : 0;
11
+ setTimeout(() => scrollToIndex(nextIndex), 1);
12
+ return nextIndex;
13
+ });
14
+ const onKeyDown = React__default.useCallback((event, length, scrollToIndex) => {
15
+ if (!isEnabled || event.defaultPrevented) {
16
+ return;
17
+ }
18
+ if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
19
+ setHoverStatePaused(true);
20
+ }
21
+ if (event.key === 'ArrowUp') {
22
+ event.preventDefault();
23
+ if (event.ctrlKey || event.metaKey) {
24
+ const newIndex = 0;
25
+ setRowActiveIndex(newIndex);
26
+ scrollToIndex(newIndex);
27
+ } else {
28
+ move(-1, length, scrollToIndex);
29
+ }
30
+ return;
31
+ } else if (event.key === 'ArrowDown') {
32
+ event.preventDefault();
33
+ if (event.ctrlKey || event.metaKey) {
34
+ const newIndex = length - 1;
35
+ setRowActiveIndex(newIndex);
36
+ scrollToIndex(newIndex);
37
+ } else {
38
+ move(+1, length, scrollToIndex);
39
+ }
40
+ return;
41
+ }
42
+ }, [isEnabled]);
43
+ const onFocus = React__default.useCallback((event, length, scrollToIndex) => {
44
+ if (!isEnabled || event.isDefaultPrevented()) {
45
+ return;
46
+ }
47
+ if (event.target.closest('tbody') || event.target.closest('[data-taco="table2-body"]') || isElementInsideOrTriggeredFromContainer(event.target, event.currentTarget)) {
48
+ return;
49
+ }
50
+ if (rowActiveIndex === undefined && length > 0) {
51
+ setRowActiveIndex(index => {
52
+ if (index === undefined) {
53
+ scrollToIndex(0);
54
+ return 0;
55
+ }
56
+ return index;
57
+ });
58
+ }
59
+ }, [rowActiveIndex, length, isEnabled]);
60
+ return {
61
+ isEnabled,
62
+ rowActiveIndex,
63
+ setRowActiveIndex: isEnabled ? setRowActiveIndex : () => undefined,
64
+ rowHoverIndex,
65
+ setRowHoverIndex,
66
+ isHoverStatePaused,
67
+ setHoverStatePaused: isEnabled ? setHoverStatePaused : () => undefined,
68
+ handleFocus: isEnabled ? onFocus : () => undefined,
69
+ handleKeyDown: isEnabled ? onKeyDown : () => undefined
70
+ };
71
+ }
72
+ function getNextIndex(direction, currentIndex, length) {
73
+ if (direction === -1) {
74
+ return currentIndex - 1 > 0 ? currentIndex - 1 : 0;
75
+ }
76
+ return currentIndex + 1 < length ? currentIndex + 1 : currentIndex;
77
+ }
78
+
79
+ export { useTableRowActive };
80
+ //# sourceMappingURL=useTableRowActive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowActive.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowActive.ts"],"sourcesContent":["import React from 'react';\nimport { TableScrollToIndexHandler } from '../../types';\nimport { useIsHoverStatePaused } from '../../../../hooks/useIsHoverStatePaused';\nimport { isElementInsideOrTriggeredFromContainer } from '../../../../utils/dom';\n\nexport function useTableRowActive(isEnabled = false, initialRowActiveIndex?: number) {\n const [rowActiveIndex, setRowActiveIndex] = React.useState<number | undefined>(initialRowActiveIndex);\n const [rowHoverIndex, setRowHoverIndex] = React.useState<number | undefined>(undefined);\n const [isHoverStatePaused, setHoverStatePaused] = useIsHoverStatePaused();\n\n const move = (direction: -1 | 1, length: number, scrollToIndex: TableScrollToIndexHandler) =>\n setRowActiveIndex(currentIndex => {\n const nextIndex = currentIndex !== undefined ? getNextIndex(direction, currentIndex, length) : 0;\n setTimeout(() => scrollToIndex(nextIndex), 1);\n return nextIndex;\n });\n\n const onKeyDown = React.useCallback(\n (event: KeyboardEvent, length: number, scrollToIndex: TableScrollToIndexHandler) => {\n if (!isEnabled || event.defaultPrevented) {\n return;\n }\n\n if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {\n setHoverStatePaused(true);\n }\n\n if (event.key === 'ArrowUp') {\n event.preventDefault();\n\n if (event.ctrlKey || event.metaKey) {\n const newIndex = 0;\n setRowActiveIndex(newIndex);\n scrollToIndex(newIndex);\n } else {\n move(-1, length, scrollToIndex);\n }\n\n return;\n } else if (event.key === 'ArrowDown') {\n event.preventDefault();\n\n if (event.ctrlKey || event.metaKey) {\n const newIndex = length - 1;\n setRowActiveIndex(newIndex);\n scrollToIndex(newIndex);\n } else {\n move(+1, length, scrollToIndex);\n }\n return;\n }\n },\n [isEnabled]\n );\n\n const onFocus = React.useCallback(\n (event: React.FocusEvent, length: number, scrollToIndex: TableScrollToIndexHandler) => {\n if (!isEnabled || event.isDefaultPrevented()) {\n return;\n }\n\n if (\n event.target.closest('tbody') ||\n event.target.closest('[data-taco=\"table2-body\"]') ||\n isElementInsideOrTriggeredFromContainer(event.target, event.currentTarget)\n ) {\n return;\n }\n\n if (rowActiveIndex === undefined && length > 0) {\n setRowActiveIndex(index => {\n if (index === undefined) {\n scrollToIndex(0);\n return 0;\n }\n return index;\n });\n }\n },\n [rowActiveIndex, length, isEnabled]\n );\n\n return {\n isEnabled,\n rowActiveIndex,\n setRowActiveIndex: isEnabled ? setRowActiveIndex : () => undefined,\n rowHoverIndex,\n setRowHoverIndex,\n isHoverStatePaused,\n setHoverStatePaused: isEnabled ? setHoverStatePaused : () => undefined,\n handleFocus: isEnabled ? onFocus : () => undefined,\n handleKeyDown: isEnabled ? onKeyDown : () => undefined,\n };\n}\n\nfunction getNextIndex(direction: -1 | 1, currentIndex: number, length: number) {\n if (direction === -1) {\n return currentIndex - 1 > 0 ? currentIndex - 1 : 0;\n }\n\n return currentIndex + 1 < length ? currentIndex + 1 : currentIndex;\n}\n"],"names":["useTableRowActive","isEnabled","initialRowActiveIndex","rowActiveIndex","setRowActiveIndex","React","useState","rowHoverIndex","setRowHoverIndex","undefined","isHoverStatePaused","setHoverStatePaused","useIsHoverStatePaused","move","direction","length","scrollToIndex","currentIndex","nextIndex","getNextIndex","setTimeout","onKeyDown","useCallback","event","defaultPrevented","key","preventDefault","ctrlKey","metaKey","newIndex","onFocus","isDefaultPrevented","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ClEF,aAAa;IACbC,gBAAgB;IAChBE,kBAAkB;IAClBC,mBAAmB,EAAEV,SAAS,GAAGU,mBAAmB,GAAG,MAAMF,SAAS;IACtE4B,WAAW,EAAEpC,SAAS,GAAG6B,OAAO,GAAG,MAAMrB,SAAS;IAClD6B,aAAa,EAAErC,SAAS,GAAGoB,SAAS,GAAG,MAAMZ;GAChD;AACL;AAEA,SAASU,YAAYA,CAACL,SAAiB,EAAEG,YAAoB,EAAEF,MAAc;EACzE,IAAID,SAAS,KAAK,CAAC,CAAC,EAAE;IAClB,OAAOG,YAAY,GAAG,CAAC,GAAG,CAAC,GAAGA,YAAY,GAAG,CAAC,GAAG,CAAC;;EAGtD,OAAOA,YAAY,GAAG,CAAC,GAAGF,MAAM,GAAGE,YAAY,GAAG,CAAC,GAAGA,YAAY;AACtE;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowClick.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowClick.ts"],"sourcesContent":["import React from 'react';\nimport { TableRowClickHandler } from '../../types';\n\nexport function useTableRowClick<TType = unknown>(isEnabled = false, onRowClick?: TableRowClickHandler<TType>) {\n const handleKeyDown = React.useCallback(\n function (event: KeyboardEvent, data: TType) {\n if (!isEnabled || typeof onRowClick !== 'function' || event.defaultPrevented) {\n return;\n }\n\n if (data && event.key === 'Enter') {\n event.preventDefault();\n onRowClick(data);\n return;\n }\n },\n [isEnabled, onRowClick]\n ) as <TType = unknown>(event: KeyboardEvent, data: TType) => void;\n\n const handleClick = React.useCallback(\n function (event: React.MouseEvent<HTMLTableRowElement>, data: TType) {\n if (!isEnabled || typeof onRowClick !== 'function' || event.defaultPrevented) {\n return;\n }\n\n event.preventDefault();\n onRowClick(data);\n return;\n },\n [isEnabled, onRowClick]\n );\n\n return {\n isEnabled,\n handleClick,\n handleKeyDown,\n };\n}\n"],"names":["useTableRowClick","isEnabled","onRowClick","handleKeyDown","React","useCallback","event","data","defaultPrevented","key","preventDefault","handleClick"],"mappings":";;SAGgBA,gBAAgBA,CAAkBC,SAAS,GAAG,KAAK,EAAEC,UAAwC;EACzG,MAAMC,aAAa,GAAGC,cAAK,CAACC,WAAW,CACnC,UAAUC,KAAoB,EAAEC,IAAW;IACvC,IAAI,CAACN,SAAS,IAAI,OAAOC,UAAU,KAAK,UAAU,IAAII,KAAK,CAACE,gBAAgB,EAAE;MAC1E;;IAGJ,IAAID,IAAI,IAAID,KAAK,CAACG,GAAG,KAAK,OAAO,EAAE;MAC/BH,KAAK,CAACI,cAAc,EAAE;MACtBR,UAAU,CAACK,IAAI,CAAC;MAChB;;GAEP,EACD,CAACN,SAAS,EAAEC,UAAU,CAAC,CACsC;EAEjE,MAAMS,WAAW,GAAGP,cAAK,CAACC,WAAW,CACjC,UAAUC,KAA4C,EAAEC,IAAW;IAC/D,IAAI,CAACN,SAAS,IAAI,OAAOC,UAAU,KAAK,UAAU,IAAII,KAAK,CAACE,gBAAgB,EAAE;MAC1E;;IAGJF,KAAK,CAACI,cAAc,EAAE;IACtBR,UAAU,CAACK,IAAI,CAAC;IAChB;GACH,EACD,CAACN,SAAS,EAAEC,UAAU,CAAC,CAC1B;EAED,OAAO;IACHD,SAAS;IACTU,WAAW;IACXR;GACH;AACL;;;;"}
@@ -0,0 +1,14 @@
1
+ import React__default from 'react';
2
+
3
+ function useTableRowDrag(isEnabled = false, onRowDrag) {
4
+ const [dragging, setDragging] = React__default.useState({});
5
+ return {
6
+ isEnabled,
7
+ dragging,
8
+ setDragging: isEnabled ? setDragging : undefined,
9
+ handleRowDrag: isEnabled ? onRowDrag : undefined
10
+ };
11
+ }
12
+
13
+ export { useTableRowDrag };
14
+ //# sourceMappingURL=useTableRowDrag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowDrag.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowDrag.ts"],"sourcesContent":["import React from 'react';\nimport { TableRowDragHandler } from '../../types';\n\nexport function useTableRowDrag<TType = unknown>(isEnabled = false, onRowDrag?: TableRowDragHandler<TType>) {\n const [dragging, setDragging] = React.useState<Record<string, boolean>>({});\n\n return {\n isEnabled,\n dragging,\n setDragging: isEnabled ? setDragging : undefined,\n handleRowDrag: isEnabled ? onRowDrag : undefined,\n };\n}\n"],"names":["useTableRowDrag","isEnabled","onRowDrag","dragging","setDragging","React","useState","undefined","handleRowDrag"],"mappings":";;SAGgBA,eAAeA,CAAkBC,SAAS,GAAG,KAAK,EAAEC,SAAsC;EACtG,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAA0B,EAAE,CAAC;EAE3E,OAAO;IACHL,SAAS;IACTE,QAAQ;IACRC,WAAW,EAAEH,SAAS,GAAGG,WAAW,GAAGG,SAAS;IAChDC,aAAa,EAAEP,SAAS,GAAGC,SAAS,GAAGK;GAC1C;AACL;;;;"}
@@ -0,0 +1,9 @@
1
+ function useTableRowDrop(isEnabled = false, onRowDrop) {
2
+ return {
3
+ isEnabled,
4
+ handleDrop: isEnabled ? onRowDrop : undefined
5
+ };
6
+ }
7
+
8
+ export { useTableRowDrop };
9
+ //# sourceMappingURL=useTableRowDrop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowDrop.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowDrop.ts"],"sourcesContent":["import { TableRowDropHandler } from '../../types';\n\nexport function useTableRowDrop<TType = unknown>(isEnabled = false, onRowDrop: TableRowDropHandler<TType> | undefined) {\n return {\n isEnabled,\n handleDrop: isEnabled ? onRowDrop : undefined,\n };\n}\n"],"names":["useTableRowDrop","isEnabled","onRowDrop","handleDrop","undefined"],"mappings":"SAEgBA,eAAeA,CAAkBC,SAAS,GAAG,KAAK,EAAEC,SAAiD;EACjH,OAAO;IACHD,SAAS;IACTE,UAAU,EAAEF,SAAS,GAAGC,SAAS,GAAGE;GACvC;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowExpansion.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowExpansion.ts"],"sourcesContent":["import { TableRowExpansionRenderer } from '../../types';\n\nexport function useTableRowExpansion<TType = unknown>(\n isEnabled = false,\n rowExpansionRenderer?: TableRowExpansionRenderer<TType>\n) {\n return {\n isEnabled,\n rowExpansionRenderer: isEnabled ? rowExpansionRenderer : undefined,\n };\n}\n"],"names":["useTableRowExpansion","isEnabled","rowExpansionRenderer","undefined"],"mappings":"SAEgBA,oBAAoBA,CAChCC,SAAS,GAAG,KAAK,EACjBC,oBAAuD;EAEvD,OAAO;IACHD,SAAS;IACTC,oBAAoB,EAAED,SAAS,GAAGC,oBAAoB,GAAGC;GAC5D;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowGoto.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowGoto.ts"],"sourcesContent":["import { TableRowGotoHandler } from '../../types';\n\nexport function useTableRowGoto(isEnabled = false, handler?: TableRowGotoHandler) {\n return {\n isEnabled,\n handleGoto: isEnabled ? handler : undefined,\n };\n}\n"],"names":["useTableRowGoto","isEnabled","handler","handleGoto","undefined"],"mappings":"SAEgBA,eAAeA,CAACC,SAAS,GAAG,KAAK,EAAEC,OAA6B;EAC5E,OAAO;IACHD,SAAS;IACTE,UAAU,EAAEF,SAAS,GAAGC,OAAO,GAAGE;GACrC;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowGroups.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowGroups.ts"],"sourcesContent":["import { TableRowActionGroupRenderer } from '../../types';\n\nexport function useTableRowGroups<TType = unknown>(rowActionsForGroup?: TableRowActionGroupRenderer<TType>[]) {\n return {\n isEnabled: true,\n rowActionsForGroup,\n };\n}\n"],"names":["useTableRowGroups","rowActionsForGroup","isEnabled"],"mappings":"SAEgBA,iBAAiBA,CAAkBC,kBAAyD;EACxG,OAAO;IACHC,SAAS,EAAE,IAAI;IACfD;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowHeight.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowHeight.ts"],"sourcesContent":["import React from 'react';\nimport { TableRowHeight } from '../../types';\n\nexport function useTableRowHeight(isEnabled = false, defaultRowHeight: TableRowHeight = 'medium') {\n const [height, setHeight] = React.useState<TableRowHeight>(defaultRowHeight);\n\n return {\n isEnabled,\n height,\n setHeight: isEnabled ? setHeight : () => undefined,\n };\n}\n"],"names":["useTableRowHeight","isEnabled","defaultRowHeight","height","setHeight","React","useState","undefined"],"mappings":";;SAGgBA,iBAAiBA,CAACC,SAAS,GAAG,KAAK,EAAEC,mBAAmC,QAAQ;EAC5F,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAiBJ,gBAAgB,CAAC;EAE5E,OAAO;IACHD,SAAS;IACTE,MAAM;IACNC,SAAS,EAAEH,SAAS,GAAGG,SAAS,GAAG,MAAMG;GAC5C;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowSelection.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableRowSelection.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\n\nexport function useTableRowSelection(isEnabled = false) {\n const lastSelectedRowIndex = React.useRef<number>();\n\n const onKeyDown = React.useCallback(\n <TType = unknown>(event: KeyboardEvent, table: ReactTable<TType>) => {\n if (!isEnabled || !table.options.enableRowSelection || event.defaultPrevented) {\n return;\n }\n\n const rows = table.getRowModel().rows;\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n if (event.key === ' ') {\n event.preventDefault();\n const rowActiveIndex = tableMeta.rowActive.rowActiveIndex;\n\n if (rowActiveIndex !== undefined) {\n rows[rowActiveIndex]?.toggleSelected();\n }\n\n return;\n } else if ((event.ctrlKey || event.metaKey) && event.key === 'a') {\n event.preventDefault();\n table.toggleAllRowsSelected();\n return;\n }\n },\n [isEnabled]\n ) as <TType = unknown>(event: KeyboardEvent, table: ReactTable<TType>) => void;\n\n return {\n isEnabled,\n handleKeyDown: isEnabled ? onKeyDown : () => undefined,\n lastSelectedRowIndex,\n };\n}\n"],"names":["useTableRowSelection","isEnabled","lastSelectedRowIndex","React","useRef","onKeyDown","useCallback","event","table","options","enableRowSelection","defaultPrevented","rows","getRowModel","tableMeta","meta","key","preventDefault","rowActiveIndex","rowActive","undefined","_rows$rowActiveIndex","toggleSelected","ctrlKey","metaKey","toggleAllRowsSelected","handleKeyDown"],"mappings":";;SAGgBA,oBAAoBA,CAACC,SAAS,GAAG,KAAK;EAClD,MAAMC,oBAAoB,GAAGC,cAAK,CAACC,MAAM,EAAU;EAEnD,MAAMC,SAAS,GAAGF,cAAK,CAACG,WAAW,CAC/B,CAAkBC,KAAoB,EAAEC,KAAwB;IAC5D,IAAI,CAACP,SAAS,IAAI,CAACO,KAAK,CAACC,OAAO,CAACC,kBAAkB,IAAIH,KAAK,CAACI,gBAAgB,EAAE;MAC3E;;IAGJ,MAAMC,IAAI,GAAGJ,KAAK,CAACK,WAAW,EAAE,CAACD,IAAI;IACrC,MAAME,SAAS,GAAGN,KAAK,CAACC,OAAO,CAACM,IAA6B;IAE7D,IAAIR,KAAK,CAACS,GAAG,KAAK,GAAG,EAAE;MACnBT,KAAK,CAACU,cAAc,EAAE;MACtB,MAAMC,cAAc,GAAGJ,SAAS,CAACK,SAAS,CAACD,cAAc;MAEzD,IAAIA,cAAc,KAAKE,SAAS,EAAE;QAAA,IAAAC,oBAAA;QAC9B,CAAAA,oBAAA,GAAAT,IAAI,CAACM,cAAc,CAAC,cAAAG,oBAAA,uBAApBA,oBAAA,CAAsBC,cAAc,EAAE;;MAG1C;KACH,MAAM,IAAI,CAACf,KAAK,CAACgB,OAAO,IAAIhB,KAAK,CAACiB,OAAO,KAAKjB,KAAK,CAACS,GAAG,KAAK,GAAG,EAAE;MAC9DT,KAAK,CAACU,cAAc,EAAE;MACtBT,KAAK,CAACiB,qBAAqB,EAAE;MAC7B;;GAEP,EACD,CAACxB,SAAS,CAAC,CAC+D;EAE9E,OAAO;IACHA,SAAS;IACTyB,aAAa,EAAEzB,SAAS,GAAGI,SAAS,GAAG,MAAMe,SAAS;IACtDlB;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableSearch.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableSearch.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\n\n/*\n Search has two behaviours:\n - Highlighting search results, this is custom and only uses the state part of globalFilter (to store the search query)\n - Filtering of results, this is essentially the built in filtering, and relies on enableGlobalFilter being on or off\n*/\nexport function useTableSearch(isEnabled = false, defaultEnableGlobalFilter = false) {\n const [enableGlobalFilter, _setEnableGlobalFilter] = React.useState<boolean>(defaultEnableGlobalFilter);\n\n function setEnableGlobalFilter<TType = unknown>(enabled: boolean, instance: ReactTable<TType>) {\n _setEnableGlobalFilter(enabled);\n\n // react-table doesn't re-render when options.enableGlobalFilter changes, so for now we force it\n const currentFilter = instance.getState().globalFilter;\n\n if (currentFilter) {\n setTimeout(() => {\n instance.setGlobalFilter('');\n instance.setGlobalFilter(currentFilter);\n }, 1);\n }\n }\n\n // highlighting\n const [highlightedColumnIndexes, setHighlightedColumnIndexes] = React.useState<number[][]>([]);\n const [currentHighlightColumnIndex, setCurrentHighlightColumnIndex] = React.useState<number | undefined>(undefined);\n\n return {\n isEnabled,\n // filtering - built-in\n enableGlobalFilter,\n setEnableGlobalFilter,\n // highlighting - custom\n highlightedColumnIndexes,\n setHighlightedColumnIndexes,\n currentHighlightColumnIndex,\n setCurrentHighlightColumnIndex,\n };\n}\n"],"names":["useTableSearch","isEnabled","defaultEnableGlobalFilter","enableGlobalFilter","_setEnableGlobalFilter","React","useState","setEnableGlobalFilter","enabled","instance","currentFilter","getState","globalFilter","setTimeout","setGlobalFilter","highlightedColumnIndexes","setHighlightedColumnIndexes","currentHighlightColumnIndex","setCurrentHighlightColumnIndex","undefined"],"mappings":";;AAGA;;;;;SAKgBA,cAAcA,CAACC,SAAS,GAAG,KAAK,EAAEC,yBAAyB,GAAG,KAAK;EAC/E,MAAM,CAACC,kBAAkB,EAAEC,sBAAsB,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAUJ,yBAAyB,CAAC;EAEvG,SAASK,qBAAqBA,CAAkBC,OAAgB,EAAEC,QAA2B;IACzFL,sBAAsB,CAACI,OAAO,CAAC;;IAG/B,MAAME,aAAa,GAAGD,QAAQ,CAACE,QAAQ,EAAE,CAACC,YAAY;IAEtD,IAAIF,aAAa,EAAE;MACfG,UAAU,CAAC;QACPJ,QAAQ,CAACK,eAAe,CAAC,EAAE,CAAC;QAC5BL,QAAQ,CAACK,eAAe,CAACJ,aAAa,CAAC;OAC1C,EAAE,CAAC,CAAC;;;;EAKb,MAAM,CAACK,wBAAwB,EAAEC,2BAA2B,CAAC,GAAGX,cAAK,CAACC,QAAQ,CAAa,EAAE,CAAC;EAC9F,MAAM,CAACW,2BAA2B,EAAEC,8BAA8B,CAAC,GAAGb,cAAK,CAACC,QAAQ,CAAqBa,SAAS,CAAC;EAEnH,OAAO;IACHlB,SAAS;;IAETE,kBAAkB;IAClBI,qBAAqB;;IAErBQ,wBAAwB;IACxBC,2BAA2B;IAC3BC,2BAA2B;IAC3BC;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableServerLoading.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableServerLoading.ts"],"sourcesContent":["import React from 'react';\nimport { TableServerLoadAllHandler, TableServerLoadAllState, TableServerLoadPageHandler } from '../../types';\nimport { DEFAULT_PAGE_SIZE } from '../../useTableDataLoader';\n\nexport function useTableServerLoading(\n loadPage?: TableServerLoadPageHandler,\n loadAll?: TableServerLoadAllHandler,\n pageSize = DEFAULT_PAGE_SIZE\n) {\n const isEnabled = !!loadPage && !!loadAll;\n const [loadAllStatus, setLoadedStatus] = React.useState<TableServerLoadAllState>(TableServerLoadAllState.Incomplete);\n\n let _loadAll: TableServerLoadAllHandler | undefined;\n let _loadAllIfNeeded: TableServerLoadAllHandler | undefined;\n\n if (typeof loadAll === 'function') {\n _loadAll = async (...args) => {\n if (typeof loadAll === 'function') {\n setLoadedStatus(TableServerLoadAllState.Loading);\n await loadAll(...args);\n setLoadedStatus(TableServerLoadAllState.Completed);\n }\n };\n\n _loadAllIfNeeded = async (...args) => {\n if (loadAllStatus === TableServerLoadAllState.Incomplete) {\n await _loadAll?.(...args);\n }\n };\n }\n\n return {\n isEnabled,\n loadPage,\n loadAll: _loadAll,\n loadAllIfNeeded: _loadAllIfNeeded,\n loadAllStatus,\n pageSize,\n };\n}\n"],"names":["useTableServerLoading","loadPage","loadAll","pageSize","DEFAULT_PAGE_SIZE","isEnabled","loadAllStatus","setLoadedStatus","React","useState","TableServerLoadAllState","Incomplete","_loadAll","_loadAllIfNeeded","args","Loading","Promise","resolve","then","Completed","_temp","e","reject","_loadAll2","_temp2","loadAllIfNeeded"],"mappings":";;;;SAIgBA,qBAAqBA,CACjCC,QAAqC,EACrCC,OAAmC,EACnCC,QAAQ,GAAGC,iBAAiB;EAE5B,MAAMC,SAAS,GAAG,CAAC,CAACJ,QAAQ,IAAI,CAAC,CAACC,OAAO;EACzC,MAAM,CAACI,aAAa,EAAEC,eAAe,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAA0BC,uBAAuB,CAACC,UAAU,CAAC;EAEpH,IAAIC,QAA+C;EACnD,IAAIC,gBAAuD;EAE3D,IAAI,OAAOX,OAAO,KAAK,UAAU,EAAE;IAC/BU,QAAQ,aAAU,GAAGE,IAAI;MAAA;;cACjB,OAAOZ,OAAO,KAAK,UAAU;YAC7BK,eAAe,CAACG,uBAAuB,CAACK,OAAO,CAAC;YAAC,OAAAC,OAAA,CAAAC,OAAA,CAC3Cf,OAAO,CAAC,GAAGY,IAAI,CAAC,EAAAI,IAAA;cACtBX,eAAe,CAACG,uBAAuB,CAACS,SAAS,CAAC;;;;QAAC,OAAAH,OAAA,CAAAC,OAAA,CAAAG,KAAA,IAAAA,KAAA,CAAAF,IAAA,GAAAE,KAAA,CAAAF,IAAA;OAE1D,QAAAG,CAAA;QAAA,OAAAL,OAAA,CAAAM,MAAA,CAAAD,CAAA;;;IAEDR,gBAAgB,aAAU,GAAGC,IAAI;MAAA;;cACzBR,aAAa,KAAKI,uBAAuB,CAACC,UAAU;YAAA,IAAAY,SAAA;YAAA,OAAAP,OAAA,CAAAC,OAAA,EAAAM,SAAA,GAC9CX,QAAQ,cAAAW,SAAA,uBAARA,SAAA,CAAW,GAAGT,IAAI,CAAC,EAAAI,IAAA;;;QAAA,OAAAF,OAAA,CAAAC,OAAA,CAAAO,MAAA,IAAAA,MAAA,CAAAN,IAAA,GAAAM,MAAA,CAAAN,IAAA;OAEhC,QAAAG,CAAA;QAAA,OAAAL,OAAA,CAAAM,MAAA,CAAAD,CAAA;;;;EAGL,OAAO;IACHhB,SAAS;IACTJ,QAAQ;IACRC,OAAO,EAAEU,QAAQ;IACjBa,eAAe,EAAEZ,gBAAgB;IACjCP,aAAa;IACbH;GACH;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableSettings.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/features/useTableSettings.ts"],"sourcesContent":["import React from 'react';\nimport { useLocalStorage } from '../../../../hooks/useLocalStorage';\nimport { useTacoSettings } from '../../../../hooks/useTacoSettings';\nimport { EnableSettingsOptions, TableSettings, TableSettingsHandler } from '../../types';\n\nconst DEFAULT_ENABLED_OPTIONS = {\n columnOrder: true,\n columnPinning: true,\n columnSizing: true,\n columnVisibility: true,\n excludeUnmatchedRecordsInSearch: true,\n fontSize: true,\n grouping: true,\n rowHeight: true,\n sorting: true,\n};\n\nexport function useUniqueTableId(tableId: string) {\n const tacoSettings = useTacoSettings();\n return `taco.${tacoSettings.uniqueUserIdentifier}.table.${tableId}.settings`;\n}\n\nfunction useEnabledSettings(isEnabled: boolean | Partial<EnableSettingsOptions>): [EnableSettingsOptions, boolean] {\n return React.useMemo(() => {\n if (isEnabled === false) {\n return [\n Object.keys(DEFAULT_ENABLED_OPTIONS).reduce((o, key) => ({ ...o, [key]: false }), {}) as EnableSettingsOptions,\n false,\n ];\n } else if (isEnabled === true) {\n return [DEFAULT_ENABLED_OPTIONS, true];\n }\n\n const options = { ...DEFAULT_ENABLED_OPTIONS, ...isEnabled };\n return [options, Object.values(options).some(o => o === true)];\n }, [isEnabled]);\n}\n\nexport function useTableSettings(\n isEnabled: boolean | Partial<EnableSettingsOptions> = false,\n id: string,\n defaultSettings: TableSettings | undefined = {},\n onChangeSettings: TableSettingsHandler | undefined\n): [TableSettings, TableSettingsHandler] {\n const uniqueId = useUniqueTableId(id);\n const [enabledSettings, hasSomeEnabledSettings] = useEnabledSettings(isEnabled);\n\n const [persistedSettings, _setPersistedSettings] = useLocalStorage<TableSettings>(\n hasSomeEnabledSettings ? uniqueId : undefined,\n removeDisabledSettings(defaultSettings, enabledSettings)\n );\n\n const setPersistedSettings = React.useCallback(\n (value: TableSettings) => {\n if (!hasSomeEnabledSettings) {\n return;\n }\n\n const sanitizedSettings = removeDisabledSettings(value, enabledSettings);\n _setPersistedSettings(sanitizedSettings);\n\n if (typeof onChangeSettings === 'function') {\n onChangeSettings(sanitizedSettings);\n }\n },\n [hasSomeEnabledSettings, onChangeSettings, JSON.stringify(enabledSettings)]\n );\n\n if (!hasSomeEnabledSettings) {\n return [defaultSettings, () => undefined];\n }\n\n return [persistedSettings, setPersistedSettings];\n}\n\nfunction removeDisabledSettings(settings: TableSettings, enabledSettings: EnableSettingsOptions) {\n const sanitizedSettings: TableSettings = { ...settings };\n\n Object.keys(enabledSettings).forEach(setting => {\n if (!enabledSettings[setting]) {\n delete sanitizedSettings[setting];\n }\n });\n\n return sanitizedSettings;\n}\n"],"names":["DEFAULT_ENABLED_OPTIONS","columnOrder","columnPinning","columnSizing","columnVisibility","excludeUnmatchedRecordsInSearch","fontSize","grouping","rowHeight","sorting","useUniqueTableId","tableId","tacoSettings","useTacoSettings","uniqueUserIdentifier","useEnabledSettings","isEnabled","React","useMemo","Object","keys","reduce","o","key","options","values","some","useTableSettings","id","defaultSettings","onChangeSettings","uniqueId","enabledSettings","hasSomeEnabledSettings","persistedSettings","_setPersistedSettings","useLocalStorage","undefined","removeDisabledSettings","setPersistedSettings","useCallback","value","sanitizedSettings","JSON","stringify","settings","forEach","setting"],"mappings":";;;;AAKA,MAAMA,uBAAuB,GAAG;EAC5BC,WAAW,EAAE,IAAI;EACjBC,aAAa,EAAE,IAAI;EACnBC,YAAY,EAAE,IAAI;EAClBC,gBAAgB,EAAE,IAAI;EACtBC,+BAA+B,EAAE,IAAI;EACrCC,QAAQ,EAAE,IAAI;EACdC,QAAQ,EAAE,IAAI;EACdC,SAAS,EAAE,IAAI;EACfC,OAAO,EAAE;CACZ;SAEeC,gBAAgBA,CAACC,OAAe;EAC5C,MAAMC,YAAY,GAAGC,eAAe,EAAE;EACtC,eAAeD,YAAY,CAACE,8BAA8BH,kBAAkB;AAChF;AAEA,SAASI,kBAAkBA,CAACC,SAAmD;EAC3E,OAAOC,cAAK,CAACC,OAAO,CAAC;IACjB,IAAIF,SAAS,KAAK,KAAK,EAAE;MACrB,OAAO,CACHG,MAAM,CAACC,IAAI,CAACpB,uBAAuB,CAAC,CAACqB,MAAM,CAAC,CAACC,CAAC,EAAEC,GAAG,MAAM;QAAE,GAAGD,CAAC;QAAE,CAACC,GAAG,GAAG;OAAO,CAAC,EAAE,EAAE,CAA0B,EAC9G,KAAK,CACR;KACJ,MAAM,IAAIP,SAAS,KAAK,IAAI,EAAE;MAC3B,OAAO,CAAChB,uBAAuB,EAAE,IAAI,CAAC;;IAG1C,MAAMwB,OAAO,GAAG;MAAE,GAAGxB,uBAAuB;MAAE,GAAGgB;KAAW;IAC5D,OAAO,CAACQ,OAAO,EAAEL,MAAM,CAACM,MA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ACf,eAAe,CAACe,OAAO,CAAC,EAAE;MAC3B,OAAOL,iBAAiB,CAACK,OAAO,CAAC;;GAExC,CAAC;EAEF,OAAOL,iBAAiB;AAC5B;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableDataListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableDataListener.ts"],"sourcesContent":["import { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\n\nexport function useTableDataListener<TType = unknown>(table: ReactTable<TType>) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n const rows = table.getRowModel().rows;\n\n useLazyEffect(() => {\n const rowActiveIndex = meta.rowActive.rowActiveIndex;\n\n if (rowActiveIndex !== undefined && rowActiveIndex > rows.length) {\n meta.rowActive.setRowActiveIndex(0);\n }\n }, [rows.length]);\n}\n"],"names":["useTableDataListener","table","meta","options","rows","getRowModel","useLazyEffect","rowActiveIndex","rowActive","undefined","length","setRowActiveIndex"],"mappings":";;SAGgBA,oBAAoBA,CAAkBC,KAAwB;EAC1E,MAAMC,IAAI,GAAGD,KAAK,CAACE,OAAO,CAACD,IAA6B;EACxD,MAAME,IAAI,GAAGH,KAAK,CAACI,WAAW,EAAE,CAACD,IAAI;EAErCE,aAAa,CAAC;IACV,MAAMC,cAAc,GAAGL,IAAI,CAACM,SAAS,CAACD,cAAc;IAEpD,IAAIA,cAAc,KAAKE,SAAS,IAAIF,cAAc,GAAGH,IAAI,CAACM,MAAM,EAAE;MAC9DR,IAAI,CAACM,SAAS,CAACG,iBAAiB,CAAC,CAAC,CAAC;;GAE1C,EAAE,CAACP,IAAI,CAACM,MAAM,CAAC,CAAC;AACrB;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableFilterListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableFilterListener.ts"],"sourcesContent":["import { Table as ReactTable } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\nimport { TableFilterHandler } from '../../types';\n\n// we use a listener, and not the internal \"controlled\" change handlers because we don't actually want consumers\n// to control the state outside the table. this listener is really here to let the consumer make a server request\n// and provide the server with the filtering state, so that it can filter server side\nexport function useTableFilterListener<TType = unknown>(table: ReactTable<TType>, onFilter?: TableFilterHandler) {\n const columnFilters = table.getState().columnFilters;\n\n useLazyEffect(() => {\n if (table.options.enableColumnFilters && typeof onFilter === 'function') {\n onFilter(columnFilters);\n\n if (table.options.enableRowSelection) {\n table.resetRowSelection();\n }\n }\n }, [table.options.enableColumnFilters, columnFilters]);\n}\n"],"names":["useTableFilterListener","table","onFilter","columnFilters","getState","useLazyEffect","options","enableColumnFilters","enableRowSelection","resetRowSelection"],"mappings":";;AAIA;AACA;AACA;SACgBA,sBAAsBA,CAAkBC,KAAwB,EAAEC,QAA6B;EAC3G,MAAMC,aAAa,GAAGF,KAAK,CAACG,QAAQ,EAAE,CAACD,aAAa;EAEpDE,aAAa,CAAC;IACV,IAAIJ,KAAK,CAACK,OAAO,CAACC,mBAAmB,IAAI,OAAOL,QAAQ,KAAK,UAAU,EAAE;MACrEA,QAAQ,CAACC,aAAa,CAAC;MAEvB,IAAIF,KAAK,CAACK,OAAO,CAACE,kBAAkB,EAAE;QAClCP,KAAK,CAACQ,iBAAiB,EAAE;;;GAGpC,EAAE,CAACR,KAAK,CAACK,OAAO,CAACC,mBAAmB,EAAEJ,aAAa,CAAC,CAAC;AAC1D;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableFontSizeListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\nimport { FontSizes } from '../../../../types';\nimport { getCellMinWidth } from '../util/columns';\n\nexport function useTableFontSizeListener<TType = unknown>(table: ReactTable<TType>) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n const previousFontSizeRef = React.useRef(meta.fontSize.size);\n\n useLazyEffect(() => {\n const cellWidthDifference = getCellWidthDifference(`${previousFontSizeRef.current}-${meta.fontSize.size}`);\n\n table.setColumnSizing(sizes => {\n const minColumnSize = getCellMinWidth(meta.fontSize.size);\n\n return Object.fromEntries(\n Object.entries(sizes).map(([columnName, prevColumnSize]) => {\n // Prevents width value in the setting to go below the minColumnSize\n const newSize = Math.max(minColumnSize, prevColumnSize + cellWidthDifference);\n return [columnName, newSize];\n })\n );\n });\n previousFontSizeRef.current = meta.fontSize.size;\n }, [meta.fontSize.size]);\n}\n\nfunction getCellWidthDifference(fontSizeKey: string) {\n switch (fontSizeKey) {\n case `${FontSizes.small}-${FontSizes.medium}`:\n case `${FontSizes.medium}-${FontSizes.large}`:\n return 8;\n\n case `${FontSizes.medium}-${FontSizes.small}`:\n case `${FontSizes.large}-${FontSizes.medium}`:\n return -8;\n\n case `${FontSizes.small}-${FontSizes.large}`:\n return 16;\n\n case `${FontSizes.large}-${FontSizes.small}`:\n return -16;\n\n default:\n return 0;\n }\n}\n"],"names":["useTableFontSizeListener","table","meta","options","previousFontSizeRef","React","useRef","fontSize","size","useLazyEffect","cellWidthDifference","getCellWidthDifference","current","setColumnSizing","sizes","minColumnSize","getCellMinWidth","Object","fromEntries","entries","map","columnName","prevColumnSize","newSize","Math","max","fontSizeKey","FontSizes","small","medium","large"],"mappings":";;;;;SAMgBA,wBAAwBA,CAAkBC,KAAwB;EAC9E,MAAMC,IAAI,GAAGD,KAAK,CAACE,OAAO,CAACD,IAA6B;EACxD,MAAME,mBAAmB,GAAGC,cAAK,CAACC,MAAM,CAACJ,IAAI,CAACK,QAAQ,CAACC,IAAI,CAAC;EAE5DC,aAAa,CAAC;IACV,MAAMC,mBAAmB,GAAGC,sBAAsB,IAAIP,mBAAmB,CAACQ,WAAWV,IAAI,CAACK,QAAQ,CAACC,MAAM,CAAC;IAE1GP,KAAK,CAACY,eAAe,CAACC,KAAK;MACvB,MAAMC,aAAa,GAAGC,eAAe,CAACd,IAAI,CAACK,QAAQ,CAACC,IAAI,CAAC;MAEzD,OAAOS,MAAM,CAACC,WAAW,CACrBD,MAAM,CAACE,OAAO,CAACL,KAAK,CAAC,CAACM,GAAG,CAAC,CAAC,CAACC,UAAU,EAAEC,cAAc,CAAC;;QAEnD,MAAMC,OAAO,GAAGC,IAAI,CAACC,GAAG,CAACV,aAAa,EAAEO,cAAc,GAAGZ,mBAAmB,CAAC;QAC7E,OAAO,CAACW,UAAU,EAAEE,OAAO,CAAC;OAC/B,CAAC,CACL;KACJ,CAAC;IACFnB,mBAAmB,CAACQ,OAAO,GAAGV,IAAI,CAACK,QAAQ,CAACC,IAAI;GACnD,EAAE,CAACN,IAAI,CAACK,QAAQ,CAACC,IAAI,CAAC,CAAC;AAC5B;AAEA,SAASG,sBAAsBA,CAACe,WAAmB;EAC/C,QAAQA,WAAW;IACf,QAAQC,SAAS,CAACC,SAASD,SAAS,CAACE,QAAQ;IAC7C,QAAQF,SAAS,CAACE,UAAUF,SAAS,CAACG,OAAO;MACzC,OAAO,CAAC;IAEZ,QAAQH,SAAS,CAACE,UAAUF,SAAS,CAACC,OAAO;IAC7C,QAAQD,SAAS,CAACG,SAASH,SAAS,CAACE,QAAQ;MACzC,OAAO,CAAC,CAAC;IAEb,QAAQF,SAAS,CAACC,SAASD,SAAS,CAACG,OAAO;MACxC,OAAO,EAAE;IAEb,QAAQH,SAAS,CAACG,SAASH,SAAS,CAACC,OAAO;MACxC,OAAO,CAAC,EAAE;IAEd;MACI,OAAO,CAAC;;AAEpB;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowHeightListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.ts"],"sourcesContent":["import { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\nimport { FontSizes } from '../../../../types';\n\nexport function useTableRowHeightListener<TType = unknown>(table: ReactTable<TType>) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n\n useLazyEffect(() => {\n if (meta.rowHeight.height === 'short' && meta.fontSize.size === FontSizes.large) {\n meta.fontSize.setSize(FontSizes.medium);\n }\n }, [meta.rowHeight.height]);\n}\n"],"names":["useTableRowHeightListener","table","meta","options","useLazyEffect","rowHeight","height","fontSize","size","FontSizes","large","setSize","medium"],"mappings":";;;SAIgBA,yBAAyBA,CAAkBC,KAAwB;EAC/E,MAAMC,IAAI,GAAGD,KAAK,CAACE,OAAO,CAACD,IAA6B;EAExDE,aAAa,CAAC;IACV,IAAIF,IAAI,CAACG,SAAS,CAACC,MAAM,KAAK,OAAO,IAAIJ,IAAI,CAACK,QAAQ,CAACC,IAAI,KAAKC,SAAS,CAACC,KAAK,EAAE;MAC7ER,IAAI,CAACK,QAAQ,CAACI,OAAO,CAACF,SAAS,CAACG,MAAM,CAAC;;GAE9C,EAAE,CAACV,IAAI,CAACG,SAAS,CAACC,MAAM,CAAC,CAAC;AAC/B;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableRowSelectionListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.ts"],"sourcesContent":["import { Table as ReactTable } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\nimport { TableRowSelectHandler } from '../../types';\n\nexport function useTableRowSelectionListener<TType = unknown>(\n table: ReactTable<TType>,\n onRowSelect?: TableRowSelectHandler<TType>\n) {\n const rowSelection = table.getState().rowSelection;\n\n useLazyEffect(() => {\n const selectedRows = table.getSelectedRowModel().rows;\n\n if (table.options.enableRowSelection && typeof onRowSelect === 'function') {\n if (table.options.enableMultiRowSelection) {\n onRowSelect(selectedRows.map(row => row.original));\n } else {\n onRowSelect([selectedRows[0]?.original] ?? []);\n }\n }\n // It is important to stringify either rowSelection state or selectedRows, because we don't\n // know if the array or object that is returned by react-table has the same reference or not.\n // rowSelection state is used here because it will be more expensive to strigify selectedRows\n // than rowSelection state.\n }, [table.options.enableRowSelection, table.options.enableMultiRowSelection, JSON.stringify(rowSelection)]);\n}\n"],"names":["useTableRowSelectionListener","table","onRowSelect","rowSelection","getState","useLazyEffect","selectedRows","getSelectedRowModel","rows","options","enableRowSelection","enableMultiRowSelection","map","row","original","_ref","_selectedRows$","JSON","stringify"],"mappings":";;SAIgBA,4BAA4BA,CACxCC,KAAwB,EACxBC,WAA0C;EAE1C,MAAMC,YAAY,GAAGF,KAAK,CAACG,QAAQ,EAAE,CAACD,YAAY;EAElDE,aAAa,CAAC;IACV,MAAMC,YAAY,GAAGL,KAAK,CAACM,mBAAmB,EAAE,CAACC,IAAI;IAErD,IAAIP,KAAK,CAACQ,OAAO,CAACC,kBAAkB,IAAI,OAAOR,WAAW,KAAK,UAAU,EAAE;MACvE,IAAID,KAAK,CAACQ,OAAO,CAACE,uBAAuB,EAAE;QACvCT,WAAW,CAACI,YAAY,CAACM,GAAG,CAACC,GAAG,IAAIA,GAAG,CAACC,QAAQ,CAAC,CAAC;OACrD,MAAM;QAAA,IAAAC,IAAA,EAAAC,cAAA;QACHd,WAAW,EAAAa,IAAA,GAAC,EAAAC,cAAA,GAACV,YAAY,CAAC,CAAC,CAAC,cAAAU,cAAA,uBAAfA,cAAA,CAAiBF,QAAQ,CAAC,cAAAC,IAAA,cAAAA,IAAA,GAAI,EAAE,CAAC;;;;;;;GAOzD,EAAE,CAACd,KAAK,CAACQ,OAAO,CAACC,kBAAkB,EAAET,KAAK,CAACQ,OAAO,CAACE,uBAAuB,EAAEM,IAAI,CAACC,SAAS,CAACf,YAAY,CAAC,CAAC,CAAC;AAC/G;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableSearchListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableSearchListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { resetHighlightedColumnIndexes } from '../util/search';\n\nexport function useTableSearchListener<TType = unknown>(table: ReactTable<TType>) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n\n // recalculates highlighted indexes whenever something important changes\n React.useEffect(() => {\n if (meta.search.isEnabled) {\n resetHighlightedColumnIndexes(table.getState().globalFilter, table);\n }\n }, [\n meta.server.loadAllStatus,\n meta.search.isEnabled,\n meta.search.enableGlobalFilter,\n table.getRowModel().rows.length,\n table.getState().globalFilter,\n JSON.stringify(table.getState().sorting),\n JSON.stringify(table.getState().columnVisibility),\n ]);\n}\n"],"names":["useTableSearchListener","table","meta","options","React","useEffect","search","isEnabled","resetHighlightedColumnIndexes","getState","globalFilter","server","loadAllStatus","enableGlobalFilter","getRowModel","rows","length","JSON","stringify","sorting","columnVisibility"],"mappings":";;;SAIgBA,sBAAsBA,CAAkBC,KAAwB;EAC5E,MAAMC,IAAI,GAAGD,KAAK,CAACE,OAAO,CAACD,IAA6B;;EAGxDE,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIH,IAAI,CAACI,MAAM,CAACC,SAAS,EAAE;MACvBC,6BAA6B,CAACP,KAAK,CAACQ,QAAQ,EAAE,CAACC,YAAY,EAAET,KAAK,CAAC;;GAE1E,EAAE,CACCC,IAAI,CAACS,MAAM,CAACC,aAAa,EACzBV,IAAI,CAACI,MAAM,CAACC,SAAS,EACrBL,IAAI,CAACI,MAAM,CAACO,kBAAkB,EAC9BZ,KAAK,CAACa,WAAW,EAAE,CAACC,IAAI,CAACC,MAAM,EAC/Bf,KAAK,CAACQ,QAAQ,EAAE,CAACC,YAAY,EAC7BO,IAAI,CAACC,SAAS,CAACjB,KAAK,CAACQ,QAAQ,EAAE,CAACU,OAAO,CAAC,EACxCF,IAAI,CAACC,SAAS,CAACjB,KAAK,CAACQ,QAAQ,EAAE,CAACW,gBAAgB,CAAC,CACpD,CAAC;AACN;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableServerLoadingListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { TableServerLoadPageHandler } from '../../types';\n\nexport function useTableServerLoadingListener<TType = unknown>(table: ReactTable<TType>, loadPage?: TableServerLoadPageHandler) {\n const sorting = table.getState().sorting;\n const columnFilters = table.getState().columnFilters;\n const search = table.getState().globalFilter;\n\n // trigger load of the first page on mount\n React.useEffect(() => {\n if (loadPage) {\n loadPage(0, sorting, columnFilters, search);\n }\n }, []);\n}\n"],"names":["useTableServerLoadingListener","table","loadPage","sorting","getState","columnFilters","search","globalFilter","React","useEffect"],"mappings":";;SAIgBA,6BAA6BA,CAAkBC,KAAwB,EAAEC,QAAqC;EAC1H,MAAMC,OAAO,GAAGF,KAAK,CAACG,QAAQ,EAAE,CAACD,OAAO;EACxC,MAAME,aAAa,GAAGJ,KAAK,CAACG,QAAQ,EAAE,CAACC,aAAa;EACpD,MAAMC,MAAM,GAAGL,KAAK,CAACG,QAAQ,EAAE,CAACG,YAAY;;EAG5CC,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIP,QAAQ,EAAE;MACVA,QAAQ,CAAC,CAAC,EAAEC,OAAO,EAAEE,aAAa,EAAEC,MAAM,CAAC;;GAElD,EAAE,EAAE,CAAC;AACV;;;;"}
@@ -0,0 +1,24 @@
1
+ import React__default from 'react';
2
+ import { getSettings } from '../util/settings.js';
3
+
4
+ function useTableSettingsListener(table, onChangeSettings) {
5
+ const meta = table.options.meta;
6
+ const state = table.getState();
7
+ React__default.useEffect(() => {
8
+ let handler;
9
+ if (typeof onChangeSettings === 'function') {
10
+ handler = setTimeout(() => {
11
+ // some settings shouldn't be persisted, but we comment them out here to highlight the intention
12
+ onChangeSettings(getSettings(table));
13
+ }, 250);
14
+ }
15
+ return () => clearTimeout(handler);
16
+ }, [
17
+ //state.columnFilters,
18
+ state.columnOrder, state.columnPinning, state.columnSizing, state.columnVisibility, table.options.enableGlobalFilter, meta.fontSize.size, state.grouping, meta.rowHeight.height,
19
+ //state.globalFilter,
20
+ state.sorting]);
21
+ }
22
+
23
+ export { useTableSettingsListener };
24
+ //# sourceMappingURL=useTableSettingsListener.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableSettingsListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableSettingsListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { TableSettingsHandler } from '../../types';\nimport { getSettings } from '../util/settings';\n\nexport function useTableSettingsListener<TType = unknown>(\n table: ReactTable<TType>,\n onChangeSettings: TableSettingsHandler | undefined\n) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n const state = table.getState();\n\n React.useEffect(() => {\n let handler;\n\n if (typeof onChangeSettings === 'function') {\n handler = setTimeout(() => {\n // some settings shouldn't be persisted, but we comment them out here to highlight the intention\n onChangeSettings(getSettings(table));\n }, 250);\n }\n\n return () => clearTimeout(handler);\n }, [\n //state.columnFilters,\n state.columnOrder,\n state.columnPinning,\n state.columnSizing,\n state.columnVisibility,\n table.options.enableGlobalFilter,\n meta.fontSize.size,\n state.grouping,\n meta.rowHeight.height,\n //state.globalFilter,\n state.sorting,\n ]);\n}\n"],"names":["useTableSettingsListener","table","onChangeSettings","meta","options","state","getState","React","useEffect","handler","setTimeout","getSettings","clearTimeout","columnOrder","columnPinning","columnSizing","columnVisibility","enableGlobalFilter","fontSize","size","grouping","rowHeight","height","sorting"],"mappings":";;;SAKgBA,wBAAwBA,CACpCC,KAAwB,EACxBC,gBAAkD;EAElD,MAAMC,IAAI,GAAGF,KAAK,CAACG,OAAO,CAACD,IAA6B;EACxD,MAAME,KAAK,GAAGJ,KAAK,CAACK,QAAQ,EAAE;EAE9BC,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIC,OAAO;IAEX,IAAI,OAAOP,gBAAgB,KAAK,UAAU,EAAE;MACxCO,OAAO,GAAGC,UAAU,CAAC;;QAEjBR,gBAAgB,CAACS,WAAW,CAACV,KAAK,CAAC,CAAC;OACvC,EAAE,GAAG,CAAC;;IAGX,OAAO,MAAMW,YAAY,CAACH,OAAO,CAAC;GACrC,EAAE;;EAECJ,KAAK,CAACQ,WAAW,EACjBR,KAAK,CAACS,aAAa,EACnBT,KAAK,CAACU,YAAY,EAClBV,KAAK,CAACW,gBAAgB,EACtBf,KAAK,CAACG,OAAO,CAACa,kBAAkB,EAChCd,IAAI,CAACe,QAAQ,CAACC,IAAI,EAClBd,KAAK,CAACe,QAAQ,EACdjB,IAAI,CAACkB,SAAS,CAACC,MAAM;;EAErBjB,KAAK,CAACkB,OAAO,CAChB,CAAC;AACN;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableShortcutsListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { KeyDownHandlerOptions, createShortcutKeyDownHandler } from '../../../../utils/keyboard';\nimport { TableShortcutHandlerObject, TableShortcuts } from '../../types';\n\nexport function useTableShortcutsListener<TType = unknown>(\n table: ReactTable<TType>,\n shortcuts: TableShortcuts<TType> | undefined\n) {\n const meta = table.options.meta as ReactTableMeta<TType>;\n const rows = table.getRowModel().rows;\n\n React.useEffect(() => {\n const shortcutKeys = Object.keys(shortcuts ?? {});\n const globalHandlers: Array<(event: KeyboardEvent) => void> = [];\n\n // convert the shortcut into the correct format to register it\n if (shortcuts && shortcutKeys.length && meta.rowActive.rowActiveIndex !== undefined) {\n const rowActive = rows[meta.rowActive.rowActiveIndex];\n\n shortcutKeys.forEach(key => {\n const handler = shortcuts[key];\n\n let keyDownHandler;\n let keyDownHandlerOptions: KeyDownHandlerOptions;\n\n if (typeof handler === 'function') {\n keyDownHandler = handler;\n keyDownHandlerOptions = {\n key,\n };\n } else {\n const handlerObject = handler as TableShortcutHandlerObject<TType>;\n keyDownHandler = handlerObject.handler;\n keyDownHandlerOptions = {\n key,\n meta: handlerObject.meta,\n shift: handlerObject.shift,\n };\n }\n\n globalHandlers.push(\n createShortcutKeyDownHandler(keyDownHandlerOptions, event => {\n event.preventDefault();\n keyDownHandler(rowActive?.original);\n })\n );\n });\n }\n\n globalHandlers.forEach(handler => {\n document.addEventListener('keydown', handler);\n });\n\n return () => {\n globalHandlers.forEach(handler => {\n document.removeEventListener('keydown', handler);\n });\n };\n }, [shortcuts, meta.rowActive.rowActiveIndex, rows.length]);\n}\n"],"names":["useTableShortcutsListener","table","shortcuts","meta","options","rows","getRowModel","React","useEffect","shortcutKeys","Object","keys","globalHandlers","length","rowActive","rowActiveIndex","undefined","forEach","key","handler","keyDownHandler","keyDownHandlerOptions","handlerObject","shift","push","createShortcutKeyDownHandler","event","preventDefault","original","document","addEventListener","removeEventListener"],"mappings":";;;SAKgBA,yBAAyBA,CACrCC,KAAwB,EACxBC,SAA4C;EAE5C,MAAMC,IAAI,GAAGF,KAAK,CAACG,OAAO,CAACD,IAA6B;EACxD,MAAME,IAAI,GAAGJ,KAAK,CAACK,WAAW,EAAE,CAACD,IAAI;EAErCE,cAAK,CAACC,SAAS,CAAC;IACZ,MAAMC,YAAY,GAAGC,MAAM,CAACC,IAAI,CAACT,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI,EAAE,CAAC;IACjD,MAAMU,cAAc,GAA0C,EAAE;;IAGhE,IAAIV,SAAS,IAAIO,YAAY,CAACI,MAAM,IAAIV,IAAI,CAACW,SAAS,CAACC,cAAc,KAAKC,SAAS,EAAE;MACjF,MAAMF,SAAS,GAAGT,IAAI,CAACF,IAAI,CAACW,SAAS,CAACC,cAAc,CAAC;MAErDN,YAAY,CAACQ,OAAO,CAACC,GAAG;QACpB,MAAMC,OAAO,GAAGjB,SAAS,CAACgB,GAAG,CAAC;QAE9B,IAAIE,cAAc;QAClB,IAAIC,qBAA4C;QAEhD,IAAI,OAAOF,OAAO,KAAK,UAAU,EAAE;UAC/BC,cAAc,GAAGD,OAAO;UACxBE,qBAAqB,GAAG;YACpBH;WACH;SACJ,MAAM;UACH,MAAMI,aAAa,GAAGH,OAA4C;UAClEC,cAAc,GAAGE,aAAa,CAACH,OAAO;UACtCE,qBAAqB,GAAG;YACpBH,GAAG;YACHf,IAAI,EAAEmB,aAAa,CAACnB,IAAI;YACxBoB,KAAK,EAAED,aAAa,CAACC;WACxB;;QAGLX,cAAc,CAACY,IAAI,CACfC,4BAA4B,CAACJ,qBAAqB,EAAEK,KAAK;UACrDA,KAAK,CAACC,cAAc,EAAE;UACtBP,cAAc,CAACN,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEc,QAAQ,CAAC;SACtC,CAAC,CACL;OACJ,CAAC;;IAGNhB,cAAc,CAACK,OAAO,CAACE,OAAO;MAC1BU,QAAQ,CAACC,gBAAgB,CAAC,SAAS,EAAEX,OAAO,CAAC;KAChD,CAAC;IAEF,OAAO;MACHP,cAAc,CAACK,OAAO,CAACE,OAAO;QAC1BU,QAAQ,CAACE,mBAAmB,CAAC,SAAS,EAAEZ,OAAO,CAAC;OACnD,CAAC;KACL;GACJ,EAAE,CAACjB,SAAS,EAAEC,IAAI,CAACW,SAAS,CAACC,cAAc,EAAEV,IAAI,CAACQ,MAAM,CAAC,CAAC;AAC/D;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableSortingListener.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/listeners/useTableSortingListener.ts"],"sourcesContent":["import { Table as ReactTable } from '@tanstack/react-table';\nimport { useLazyEffect } from '../../../../hooks/useLazyEffect';\nimport { TableSortHandler } from '../../types';\n\n// we use a listener, and not the internal \"controlled\" change handlers because we don't actually want consumers\n// to control the state outside the table. this listener is really here to let the consumer make a server request\n// and provide the server with the sorting state, so that it can sort server side\nexport function useTableSortingListener<TType = unknown>(table: ReactTable<TType>, onSort?: TableSortHandler) {\n const sorting = table.getState().sorting;\n\n useLazyEffect(() => {\n if (table.options.enableSorting && typeof onSort === 'function') {\n onSort(sorting);\n\n if (table.options.enableRowSelection) {\n table.resetRowSelection();\n }\n }\n }, [table.options.enableSorting, sorting]);\n}\n"],"names":["useTableSortingListener","table","onSort","sorting","getState","useLazyEffect","options","enableSorting","enableRowSelection","resetRowSelection"],"mappings":";;AAIA;AACA;AACA;SACgBA,uBAAuBA,CAAkBC,KAAwB,EAAEC,MAAyB;EACxG,MAAMC,OAAO,GAAGF,KAAK,CAACG,QAAQ,EAAE,CAACD,OAAO;EAExCE,aAAa,CAAC;IACV,IAAIJ,KAAK,CAACK,OAAO,CAACC,aAAa,IAAI,OAAOL,MAAM,KAAK,UAAU,EAAE;MAC7DA,MAAM,CAACC,OAAO,CAAC;MAEf,IAAIF,KAAK,CAACK,OAAO,CAACE,kBAAkB,EAAE;QAClCP,KAAK,CAACQ,iBAAiB,EAAE;;;GAGpC,EAAE,CAACR,KAAK,CAACK,OAAO,CAACC,aAAa,EAAEJ,OAAO,CAAC,CAAC;AAC9C;;;;"}
@@ -0,0 +1,126 @@
1
+ import { useReactTable, getCoreRowModel } from '@tanstack/react-table';
2
+ import { mapTableChildrenToColumns, useReactTableInitialState, configureReactTableOptions } from './util/setup.js';
3
+ import { useTableFeaturePreset } from './util/presets.js';
4
+ import { useTableColumnFreezing } from './features/useTableColumnFreezing.js';
5
+ import { useTableColumnOrdering } from './features/useTableColumnOrdering.js';
6
+ import { useTableFooter } from './features/useTableFooter.js';
7
+ import { useTableFontSize } from './features/useTableFontSize.js';
8
+ import { useTablePrinting } from './features/useTablePrinting.js';
9
+ import { useTableRowActions } from './features/useTableRowActions.js';
10
+ import { useTableRowActive } from './features/useTableRowActive.js';
11
+ import { useTableRowClick } from './features/useTableRowClick.js';
12
+ import { useTableRowExpansion } from './features/useTableRowExpansion.js';
13
+ import { useTableRowGoto } from './features/useTableRowGoto.js';
14
+ import { useTableRowGroups } from './features/useTableRowGroups.js';
15
+ import { useTableRowHeight } from './features/useTableRowHeight.js';
16
+ import { useTableRowSelection } from './features/useTableRowSelection.js';
17
+ import { useTableSearch } from './features/useTableSearch.js';
18
+ import { useTableServerLoading } from './features/useTableServerLoading.js';
19
+ import { useTableSettings } from './features/useTableSettings.js';
20
+ import { useTableDataListener } from './listeners/useTableDataListener.js';
21
+ import { useTableFilterListener } from './listeners/useTableFilterListener.js';
22
+ import { useTableFontSizeListener } from './listeners/useTableFontSizeListener.js';
23
+ import { useTableRowHeightListener } from './listeners/useTableRowHeightListener.js';
24
+ import { useTableRowSelectionListener } from './listeners/useTableRowSelectionListener.js';
25
+ import { useTableSearchListener } from './listeners/useTableSearchListener.js';
26
+ import { useTableSettingsListener } from './listeners/useTableSettingsListener.js';
27
+ import { useTableShortcutsListener } from './listeners/useTableShortcutsListener.js';
28
+ import { useTableSortingListener } from './listeners/useTableSortingListener.js';
29
+ import { useTableServerLoadingListener } from './listeners/useTableServerLoadingListener.js';
30
+ import { useTableRowDrag } from './features/useTableRowDrag.js';
31
+ import { useTableRowDrop } from './features/useTableRowDrop.js';
32
+
33
+ function useTableManager(props, meta, internalColumns) {
34
+ var _props$data, _props$length, _instance$options$met;
35
+ // CSS.escape would be best here, but it doesn't seem to work very well
36
+ const safeId = props.id.replace('.', '_');
37
+ // configure table options, merging props with presets
38
+ const options = useTableFeaturePreset(props);
39
+ // load any persisted table settings and merge them with any defaults
40
+ const [settings, setSettings] = useTableSettings(options.enableSaveSettings, safeId, props.defaultSettings, props.onChangeSettings);
41
+ // configure common custom features
42
+ const columnFreezing = useTableColumnFreezing(options.enableColumnFreezing);
43
+ const columnOrdering = useTableColumnOrdering(options.enableColumnOrdering);
44
+ const fontSize = useTableFontSize(options.enableFontSize, settings.fontSize);
45
+ const footer = useTableFooter(options.enableFooter);
46
+ const printing = useTablePrinting(options.enablePrinting, safeId);
47
+ const rowActive = useTableRowActive(options.enableRowActive, props.defaultRowActiveIndex);
48
+ const rowActions = useTableRowActions(options.enableRowActions, props.rowActions, props.rowActionsLength);
49
+ const rowClick = useTableRowClick(options.enableRowClick, props.onRowClick);
50
+ const rowDrag = useTableRowDrag(options.enableRowDrag, props.onRowDrag);
51
+ const rowDrop = useTableRowDrop(options.enableRowDrop, props.onRowDrop);
52
+ const rowExpansion = useTableRowExpansion(options.enableRowExpansion, props.rowExpansionRenderer);
53
+ const rowGoto = useTableRowGoto(options.enableRowGoto, props.onRowGoto);
54
+ const rowGroups = useTableRowGroups(props.rowActionsForGroup);
55
+ const rowHeight = useTableRowHeight(options.enableRowHeight, settings.rowHeight);
56
+ const rowSelection = useTableRowSelection(options.enableRowSelection);
57
+ const search = useTableSearch(options.enableSearch, settings.excludeUnmatchedRecordsInSearch);
58
+ const server = useTableServerLoading(props.loadPage, props.loadAll, props.pageSize);
59
+ // TODO: memoise
60
+ // convert jsx column components into valid table columns
61
+ const {
62
+ columns,
63
+ ...defaultState
64
+ } = mapTableChildrenToColumns(props, settings, options, internalColumns);
65
+ // configure initial table state
66
+ const initialState = useReactTableInitialState(props, columns, settings, defaultState);
67
+ // ensure data is always valid
68
+ const data = (_props$data = props.data) !== null && _props$data !== void 0 ? _props$data : [];
69
+ const length = (_props$length = props.length) !== null && _props$length !== void 0 ? _props$length : data.length;
70
+ // create a react-table instance
71
+ const instance = useReactTable({
72
+ data,
73
+ columns,
74
+ // configure initial table state
75
+ initialState,
76
+ getCoreRowModel: getCoreRowModel(),
77
+ // configure react-table built-in features
78
+ ...configureReactTableOptions(options, props),
79
+ // settings that can be toggled by the user, and therefore require our own state
80
+ enableGlobalFilter: search.enableGlobalFilter,
81
+ // custom context
82
+ meta: {
83
+ // spread features from specific implementations
84
+ ...meta,
85
+ columnFreezing,
86
+ columnOrdering,
87
+ fontSize,
88
+ footer,
89
+ length,
90
+ printing,
91
+ rowActions: rowActions,
92
+ rowActive,
93
+ rowClick: rowClick,
94
+ rowDrag,
95
+ rowDrop: rowDrop,
96
+ rowExpansion: rowExpansion,
97
+ rowIdentityColumnId: props.rowIdentityColumnId,
98
+ rowGoto,
99
+ rowGroups: rowGroups,
100
+ rowHeight,
101
+ rowSelection,
102
+ search,
103
+ server
104
+ }
105
+ });
106
+ // state listeners - we have these so that we don't have to control state outside the table
107
+ useTableDataListener(instance);
108
+ useTableFilterListener(instance, props.onChangeFilter);
109
+ useTableFontSizeListener(instance);
110
+ useTableRowHeightListener(instance);
111
+ useTableRowSelectionListener(instance, props.onRowSelect);
112
+ useTableSearchListener(instance);
113
+ useTableServerLoadingListener(instance, server.loadPage);
114
+ useTableSettingsListener(instance, setSettings);
115
+ useTableShortcutsListener(instance, props.shortcuts);
116
+ useTableSortingListener(instance, props.onChangeSort);
117
+ return {
118
+ id: safeId,
119
+ instance,
120
+ meta: (_instance$options$met = instance.options.meta) !== null && _instance$options$met !== void 0 ? _instance$options$met : {},
121
+ state: instance.getState()
122
+ };
123
+ }
124
+
125
+ export { useTableManager };
126
+ //# sourceMappingURL=useTableManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTableManager.js","sources":["../../../../../../../../src/primitives/Table/useTableManager/useTableManager.ts"],"sourcesContent":["import { useReactTable, TableMeta as ReactTableMeta, RowData, getCoreRowModel } from '@tanstack/react-table';\nimport {\n TableColumnAlignment,\n TableColumnClassNameHandler,\n TableColumnDataType,\n TableColumnMenu,\n TableColumnRendererControl,\n TableFilterComparator,\n TableProps,\n} from '../types';\nimport { useReactTableInitialState, configureReactTableOptions, mapTableChildrenToColumns } from './util/setup';\nimport { useTableFeaturePreset } from './util/presets';\nimport { useTableColumnFreezing } from './features/useTableColumnFreezing';\nimport { useTableColumnOrdering } from './features/useTableColumnOrdering';\nimport { useTableFooter } from './features/useTableFooter';\nimport { useTableFontSize } from './features/useTableFontSize';\nimport { useTablePrinting } from './features/useTablePrinting';\nimport { useTableRowActions } from './features/useTableRowActions';\nimport { useTableRowActive } from './features/useTableRowActive';\nimport { useTableRowClick } from './features/useTableRowClick';\nimport { useTableRowExpansion } from './features/useTableRowExpansion';\nimport { useTableRowGoto } from './features/useTableRowGoto';\nimport { useTableRowGroups } from './features/useTableRowGroups';\nimport { useTableRowHeight } from './features/useTableRowHeight';\nimport { useTableRowSelection } from './features/useTableRowSelection';\nimport { useTableSearch } from './features/useTableSearch';\nimport { useTableServerLoading } from './features/useTableServerLoading';\nimport { useTableSettings } from './features/useTableSettings';\nimport { useTableDataListener } from './listeners/useTableDataListener';\nimport { useTableFilterListener } from './listeners/useTableFilterListener';\nimport { useTableFontSizeListener } from './listeners/useTableFontSizeListener';\nimport { useTableRowHeightListener } from './listeners/useTableRowHeightListener';\nimport { useTableRowSelectionListener } from './listeners/useTableRowSelectionListener';\nimport { useTableSearchListener } from './listeners/useTableSearchListener';\nimport { useTableSettingsListener } from './listeners/useTableSettingsListener';\nimport { useTableShortcutsListener } from './listeners/useTableShortcutsListener';\nimport { useTableSortingListener } from './listeners/useTableSortingListener';\nimport { useTableServerLoadingListener } from './listeners/useTableServerLoadingListener';\nimport { useTableManagerInternalColumns } from './types';\nimport { useTableRowDrag } from './features/useTableRowDrag';\nimport { useTableRowDrop } from './features/useTableRowDrop';\n\n/*\n EDITING THIS FILE? READ ME FIRST!\n\n This is a shared, common hook for multiple tables. It's feature set is specifically chosen to support features\n common across those tables. If you are adding a new feature or changing an existing one, before writing any code\n in this file ask yourself the question - is this specific to a given table, or is it common to all of them.\n If you are unsure, ask your team first.\n*/\n\ndeclare module '@tanstack/table-core' {\n interface TableMeta<TData extends RowData> {\n columnFreezing: ReturnType<typeof useTableColumnFreezing>;\n columnOrdering: ReturnType<typeof useTableColumnOrdering>;\n fontSize: ReturnType<typeof useTableFontSize>;\n footer: ReturnType<typeof useTableFooter>;\n length: number;\n printing: ReturnType<typeof useTablePrinting>;\n rowActions: ReturnType<typeof useTableRowActions>;\n rowActive: ReturnType<typeof useTableRowActive>;\n rowClick: ReturnType<typeof useTableRowClick>;\n rowDrag: ReturnType<typeof useTableRowDrag>;\n rowDrop: ReturnType<typeof useTableRowDrop>;\n rowExpansion: ReturnType<typeof useTableRowExpansion>;\n rowGoto: ReturnType<typeof useTableRowGoto>;\n rowGroups: ReturnType<typeof useTableRowGroups>;\n rowHeight: ReturnType<typeof useTableRowHeight>;\n rowIdentityColumnId?: string;\n rowSelection: ReturnType<typeof useTableRowSelection>;\n search: ReturnType<typeof useTableSearch>;\n server: ReturnType<typeof useTableServerLoading>;\n }\n\n interface ColumnMeta<TData extends RowData, TValue> {\n align?: TableColumnAlignment;\n className?: TableColumnClassNameHandler<TData>;\n control?: TableColumnRendererControl<TData>;\n dataType?: TableColumnDataType;\n defaultWidth?: number;\n enableOrdering?: boolean;\n enablePrinting?: boolean;\n enableSearch?: boolean;\n enableTruncate?: boolean;\n filters?: TableFilterComparator[];\n header: string;\n headerClassName?: string;\n menu?: TableColumnMenu;\n tooltip?: string;\n }\n}\n\nexport function useTableManager<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta,\n internalColumns?: useTableManagerInternalColumns<TType>\n) {\n // CSS.escape would be best here, but it doesn't seem to work very well\n const safeId = props.id.replace('.', '_');\n // configure table options, merging props with presets\n const options = useTableFeaturePreset(props);\n\n // load any persisted table settings and merge them with any defaults\n const [settings, setSettings] = useTableSettings(\n options.enableSaveSettings,\n safeId,\n props.defaultSettings,\n props.onChangeSettings\n );\n\n // configure common custom features\n const columnFreezing = useTableColumnFreezing(options.enableColumnFreezing);\n const columnOrdering = useTableColumnOrdering(options.enableColumnOrdering);\n const fontSize = useTableFontSize(options.enableFontSize, settings.fontSize);\n const footer = useTableFooter(options.enableFooter);\n const printing = useTablePrinting(options.enablePrinting, safeId);\n const rowActive = useTableRowActive(options.enableRowActive, props.defaultRowActiveIndex);\n const rowActions = useTableRowActions<TType>(options.enableRowActions, props.rowActions, props.rowActionsLength);\n const rowClick = useTableRowClick<TType>(options.enableRowClick, props.onRowClick);\n const rowDrag = useTableRowDrag<TType>(options.enableRowDrag, props.onRowDrag);\n const rowDrop = useTableRowDrop<TType>(options.enableRowDrop, props.onRowDrop);\n const rowExpansion = useTableRowExpansion<TType>(options.enableRowExpansion, props.rowExpansionRenderer);\n const rowGoto = useTableRowGoto(options.enableRowGoto, props.onRowGoto);\n const rowGroups = useTableRowGroups(props.rowActionsForGroup);\n const rowHeight = useTableRowHeight(options.enableRowHeight, settings.rowHeight);\n const rowSelection = useTableRowSelection(options.enableRowSelection);\n const search = useTableSearch(options.enableSearch, settings.excludeUnmatchedRecordsInSearch);\n const server = useTableServerLoading(props.loadPage, props.loadAll, props.pageSize);\n\n // TODO: memoise\n // convert jsx column components into valid table columns\n const { columns, ...defaultState } = mapTableChildrenToColumns<TType>(props, settings, options, internalColumns);\n\n // configure initial table state\n const initialState = useReactTableInitialState<TType>(props, columns, settings, defaultState);\n\n // ensure data is always valid\n const data = props.data ?? [];\n const length = props.length ?? data.length;\n\n // create a react-table instance\n const instance = useReactTable<TType>({\n data,\n columns,\n // configure initial table state\n initialState,\n getCoreRowModel: getCoreRowModel<TType>(),\n // configure react-table built-in features\n ...configureReactTableOptions<TType>(options, props),\n // settings that can be toggled by the user, and therefore require our own state\n enableGlobalFilter: search.enableGlobalFilter,\n // custom context\n meta: {\n // spread features from specific implementations\n ...meta,\n columnFreezing,\n columnOrdering,\n fontSize,\n footer,\n length,\n printing,\n rowActions: rowActions as any, // no other way around ReturnType<typeof X> not supporting generics\n rowActive,\n rowClick: rowClick as any, // no other way around ReturnType<typeof X> not supporting generics\n rowDrag,\n rowDrop: rowDrop as any, // no other way around ReturnType<typeof X> not supporting generics\n rowExpansion: rowExpansion as any, // no other way around ReturnType<typeof X> not supporting generics\n rowIdentityColumnId: props.rowIdentityColumnId,\n rowGoto,\n rowGroups: rowGroups as any, // no other way around ReturnType<typeof X> not supporting generics\n rowHeight,\n rowSelection,\n search,\n server,\n } as ReactTableMeta<TType> & TMeta,\n });\n\n // state listeners - we have these so that we don't have to control state outside the table\n useTableDataListener(instance);\n useTableFilterListener(instance, props.onChangeFilter);\n useTableFontSizeListener(instance);\n useTableRowHeightListener(instance);\n useTableRowSelectionListener(instance, props.onRowSelect);\n useTableSearchListener(instance);\n useTableServerLoadingListener(instance, server.loadPage);\n useTableSettingsListener(instance, setSettings);\n useTableShortcutsListener(instance, props.shortcuts);\n useTableSortingListener(instance, props.onChangeSort);\n\n return {\n id: safeId,\n instance,\n meta: (instance.options.meta ?? {}) as ReactTableMeta<TType> & TMeta,\n state: instance.getState(),\n };\n}\n"],"names":["useTableManager","props","meta","internalColumns","safeId","id","replace","options","useTableFeaturePreset","settings","setSettings","useTableSettings","enableSaveSettings","defaultSettings","onChangeSettings","columnFreezing","useTableColumnFreezing","enableColumnFreezing","columnOrdering","useTableColumnOrdering","enableColumnOrdering","fontSize","useTableFontSize","enableFontSize","footer","useTableFooter","enableFooter","printing","useTablePrinting","enablePrinting","rowActive","useTableRowActive","enableRowActive","defaultRowActiveIndex","rowActions","useTableRowActions","enableRowActions","rowActionsLength","rowClick","useTableRowClick","enableRowClick","onRowClick","rowDrag","useTableRowDrag","enableRowDrag","onRowDrag","rowDrop","useTableRowDrop","enableRowDrop","onRowDrop","rowExpansion","useTableRowExpansion","enableRowExpansion","rowExpansionRenderer","rowGoto","useTableRowGoto","enableRowGoto","onRowGoto","rowGroups","useTableRowGroups","rowActionsForGroup","rowHeight","useTableRowHeight","enableRowHeight","rowSelection","useTableRowSelection","enableRowSelection","search","useTableSearch","enableSearch","excludeUnmatchedRecordsInSearch","server","useTableServerLoading","loadPage","loadAll","pageSize","columns","defaultState","mapTableChildrenToColumns","initialState","useReactTableInitialState","data","_props$data","length","_props$length","instance","useReactTable","getCoreRowModel","configureReactTableOptions","enableGlobalFilter","rowIdentityColumnId","useTableDataListener","useTableFilterListener","onChangeFilter","useTableFontSizeListener","useTableRowHeightListener","useTableRowSelectionListener","onRowSelect","useTableSearchListener","useTableServerLoadingListener","useTableSettingsListener","useTableShortcutsListener","shortcuts","useTableSortingListener","onChangeSort","_instance$options$met","state","getState"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA4FgBA,e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B,QAAQ,CAACsB,QAAQ;GAC3B;AACL;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columns.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/util/columns.ts"],"sourcesContent":["import { ColumnDef as ReactTableColumnDef, GroupColumnDef as ReactTableGroupColumnDef } from '@tanstack/react-table';\nimport { isDate } from 'date-fns';\nimport { FontSize, FontSizes } from '../../../../types';\nimport { format, parseFromISOString } from '../../../../utils/date';\nimport { TableColumnDataType } from '../../types';\n\nexport function isInternalColumn(id: string | undefined) {\n return id?.startsWith('__');\n}\n\n// column widths\nexport const getCellMinWidth = (fontSize: FontSize = 'medium') => {\n switch (fontSize) {\n case FontSizes.small:\n return 57;\n\n case FontSizes.large:\n return 83;\n\n default:\n case FontSizes.medium:\n return 72;\n }\n};\n\n// highlighting\nexport function isCellHighlighted(query: string, value: unknown, dataType?: TableColumnDataType) {\n if (value === undefined || value === null) {\n return false;\n }\n\n return String(getCellValueAsString(value, dataType)).toLocaleLowerCase().includes(query.toLocaleLowerCase());\n}\n\nexport function getCellValueAsString(value: unknown, dataType?: TableColumnDataType): string {\n if (value === undefined || value === null) {\n return '';\n } else if (isDate(value)) {\n return format(value as Date) ?? '';\n } else if (dataType === 'datetime' && typeof value === 'string') {\n return format(parseFromISOString(value as string)) ?? '';\n }\n\n return String(value);\n}\n\nfunction orderColumn<TType = unknown>(\n column: ReactTableColumnDef<TType>,\n { orderingDisabled, orderingEnabled }: { orderingDisabled: string[]; orderingEnabled: string[] }\n) {\n const groupedColumn = column as ReactTableGroupColumnDef<TType>;\n\n if (Array.isArray(groupedColumn.columns) && groupedColumn.columns.length > 0) {\n groupedColumn.columns.forEach((subcolumn: ReactTableColumnDef<TType>) =>\n orderColumn(subcolumn, { orderingDisabled, orderingEnabled })\n );\n } else {\n if (column.meta?.enableOrdering) {\n orderingEnabled.push(column.id as string);\n } else {\n orderingDisabled.push(column.id as string);\n }\n }\n}\n\n// ordering\nexport function ensureOrdering<TType = unknown>(\n columns: ReactTableColumnDef<TType>[],\n settingsOrder: string[] | undefined,\n internalColumnsPinnedToTheRight: string[] = ['__actions']\n): string[] {\n // internal columns come with a defined order\n const internalColumns = columns\n .filter(column => isInternalColumn(column.id) && !internalColumnsPinnedToTheRight.includes(String(column.id)))\n .map(column => column.id) as string[];\n\n // columns with ordering disabled should be moved to the front\n const orderingDisabled: string[] = [];\n let orderingEnabled: string[] = [];\n\n let orderedColumns = columns;\n\n // if settings is defined, make sure the columns that are actual children are sorted by it\n if (Array.isArray(settingsOrder)) {\n orderedColumns = columns.slice().sort(\n // the magic >>> 0 here ensures that columns that aren't found in settings, but are children, are pushed to the end\n (a, b) => (settingsOrder.indexOf(a.id as string) >>> 0) - (settingsOrder.indexOf(b.id as string) >>> 0)\n );\n }\n\n orderedColumns.forEach(column => {\n if (isInternalColumn(column.id)) {\n return;\n }\n\n orderColumn(column, { orderingDisabled, orderingEnabled });\n });\n\n if (settingsOrder && settingsOrder.length > 0) {\n orderingEnabled = orderingEnabled\n .reduce((acc, column) => {\n const index = settingsOrder.indexOf(column);\n if (index > -1) {\n acc[index] = column;\n }\n\n return acc;\n }, [] as string[])\n .filter(column => !!column);\n }\n\n const order = [...internalColumns, ...orderingDisabled, ...orderingEnabled];\n\n // actions should always be last, enforce that\n internalColumnsPinnedToTheRight.forEach(id => {\n if (columns.findIndex(column => column.id === id) > -1) {\n order.push(id);\n }\n });\n\n return order;\n}\n\n// freezing - we use the react-table pinning state, but that requires some mapping between them\nexport function unfreezeAllExternalColumns(leftPinnedState?: string[]): string[] {\n return leftPinnedState?.filter(id => isInternalColumn(id) && id !== '__actions') ?? [];\n}\n\nexport function freezeUptoExternalColumn(index: number, columns: string[]): string[] {\n return columns.slice(0, index + 1);\n}\n"],"names":["isInternalColumn","id","startsWith","getCellMinWidth","fontSize","FontSizes","small","large","medium","isCellHighlighted","query","value","dataType","undefined","String","getCellValueAsString","toLocaleLowerCase","includes","isDate","_format","format","_format2","parseFromISOString","orderColumn","column","orderingDisabled","orderingEnabled","groupedColumn","Array","isArray","columns","length","forEach","subcolumn","_column$meta","meta","enableOrdering","push","ensureOrdering","settingsOrder","internalColumnsPinnedToTheRight","internalColumns","filter","map","orderedColumns","slice","sort","a","b","indexOf","reduce","acc","index","order","findIndex","unfreezeAllExternalColumns","leftPinnedState","_leftPinnedState$filt","freezeUptoExternalColumn"],"mappings":";;;;SAMgBA,gBAAgBA,CAACC,EAAsB;EACnD,OAAOA,EAAE,aAAFA,EAAE,uBAAFA,EAAE,CAAEC,UAAU,CAAC,IAAI,CAAC;AAC/B;AAEA;MACaC,eAAe,GAAGA,CAACC,WAAqB,QAAQ;EACzD,QAAQA,QAAQ;IACZ,KAAKC,SAAS,CAACC,KAAK;MAChB,OAAO,EAAE;IAEb,KAAKD,SAAS,CAACE,KAAK;MAChB,OAAO,EAAE;IAEb;IACA,KAAKF,SAAS,CAACG,MAAM;MACjB,OAAO,EAAE;;AAErB;AAEA;SACgBC,iBAAiBA,CAACC,KAAa,EAAEC,KAAc,EAAEC,QAA8B;EAC3F,IAAID,KAAK,KAAKE,SAAS,IAAIF,KAAK,KAAK,IAAI,EAAE;IACvC,OAAO,KAAK;;EAGhB,OAAOG,MAAM,CAACC,oBAAoB,CAACJ,KAAK,EAAEC,QAAQ,CAAC,CAAC,CAACI,iBAAiB,EAAE,CAACC,QAAQ,CAACP,KAAK,CAACM,iBAAiB,EAAE,CAAC;AAChH;SAEgBD,oBAAoBA,CAACJ,KAAc,EAAEC,QAA8B;EAC/E,IAAID,KAAK,KAAKE,SAAS,IAAIF,KAAK,KAAK,IAAI,EAAE;IACvC,OAAO,EAAE;GACZ,MAAM,IAAIO,MAAM,CAACP,KAAK,CAAC,EAAE;IAAA,IAAAQ,OAAA;IACtB,QAAAA,OAAA,GAAOC,MAAM,CAACT,KAAa,CAAC,cAAAQ,OAAA,cAAAA,OAAA,GAAI,EAAE;GACrC,MAAM,IAAIP,QAAQ,KAAK,UAAU,IAAI,OAAOD,KAAK,KAAK,Q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C;EAEF,OAAOoD,KAAK;AAChB;AAEA;SACgBE,0BAA0BA,CAACC,eAA0B;;EACjE,QAAAC,qBAAA,GAAOD,eAAe,aAAfA,eAAe,uBAAfA,eAAe,CAAEd,MAAM,CAACzC,EAAE,IAAID,gBAAgB,CAACC,EAAE,CAAC,IAAIA,EAAE,KAAK,WAAW,CAAC,cAAAwD,qBAAA,cAAAA,qBAAA,GAAI,EAAE;AAC1F;SAEgBC,wBAAwBA,CAACN,KAAa,EAAEtB,OAAiB;EACrE,OAAOA,OAAO,CAACe,KAAK,CAAC,CAAC,EAAEO,KAAK,GAAG,CAAC,CAAC;AACtC;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filtering.js","sources":["../../../../../../../../../src/primitives/Table/useTableManager/util/filtering.ts"],"sourcesContent":["import { Row as ReactTableRow } from '@tanstack/react-table';\nimport { isDate, isAfter as isAfterDate, isBefore as isBeforeDate, isEqual as isEqualDate } from 'date-fns';\nimport { isWeakEqual as isWeakEqualDate } from '../../../../utils/date';\nimport { TableFilterValue, TableFilterComparator } from '../../types';\nimport { getCellValueAsString } from './columns';\n\nexport const toLowerCase = (value: string | number) => String(value ?? '').toLocaleLowerCase();\nexport const isWeakContains = (left: string | number, right: string | number) => toLowerCase(left).includes(toLowerCase(right));\nexport const isWeakEqual = (left: string | number, right: string | number) => toLowerCase(left) === toLowerCase(right);\n\n// the filter type is only settable on the column definition, which would re-render all columns.\n// so instead we store it in the filter value, but that means we also have to destructure that\n// before we filter - that's why this custom filter function exists\nexport function columnFilterFn(value: any, filter: TableFilterValue) {\n try {\n if (filter.comparator === TableFilterComparator.IsEmpty || filter.comparator === TableFilterComparator.IsNotEmpty) {\n const isEmpty = value === undefined || value === null || value === '';\n return filter.comparator === TableFilterComparator.IsEmpty ? isEmpty : !isEmpty;\n }\n\n if (filter.value === undefined || filter.value === null || filter.value === '') {\n return true;\n }\n\n switch (filter.comparator) {\n case TableFilterComparator.Contains:\n return isWeakContains(value, filter.value);\n\n case TableFilterComparator.DoesNotContain:\n return !isWeakContains(value, filter.value);\n\n case TableFilterComparator.IsEqualTo: {\n if (isDate(value)) {\n return isDate(filter.value) && isWeakEqualDate(value, filter.value);\n } else if (typeof filter.value === 'boolean') {\n return value === filter.value;\n }\n\n return isWeakEqual(value, filter.value);\n }\n\n case TableFilterComparator.IsNotEqualTo: {\n if (isDate(value)) {\n return isDate(filter.value) && isWeakEqualDate(value, filter.value) === false;\n } else if (typeof filter.value === 'boolean') {\n return value !== filter.value;\n }\n\n return !isWeakEqual(value, filter.value);\n }\n\n case TableFilterComparator.IsGreaterThan: {\n if (isDate(value)) {\n return isDate(filter.value) && isAfterDate(value, filter.value);\n } else {\n const valueAsNumber = parseInt(value);\n return !isNaN(valueAsNumber) && filter.value !== undefined && valueAsNumber > filter.value;\n }\n }\n\n case TableFilterComparator.IsLessThan: {\n if (isDate(value)) {\n return isDate(filter.value) && isBeforeDate(value, filter.value);\n } else {\n const valueAsNumber = parseInt(value);\n return !isNaN(valueAsNumber) && filter.value !== undefined && valueAsNumber < filter.value;\n }\n }\n\n case TableFilterComparator.IsLessThanOrEqualTo: {\n if (isDate(value)) {\n return isDate(filter.value) && (isBeforeDate(value, filter.value) || isEqualDate(value, filter.value));\n } else {\n const valueAsNumber = parseInt(value);\n return !isNaN(valueAsNumber) && filter.value !== undefined && valueAsNumber <= filter.value;\n }\n }\n\n case TableFilterComparator.IsGreaterThanOrEqualTo: {\n if (isDate(value)) {\n return isDate(filter.value) && (isAfterDate(value, filter.value) || isEqualDate(value, filter.value));\n } else {\n const valueAsNumber = parseInt(value);\n return !isNaN(valueAsNumber) && filter.value !== undefined && valueAsNumber >= filter.value;\n }\n }\n\n case TableFilterComparator.IsBetween: {\n const [fromValue, toValue] = filter.value;\n\n if (isDate(value)) {\n if (isDate(fromValue) && isBeforeDate(value, fromValue)) {\n return false;\n } else if (isDate(toValue) && isAfterDate(value, toValue)) {\n return false;\n }\n\n return true;\n } else {\n const valueAsNumber = parseInt(value);\n\n if (isNaN(valueAsNumber)) {\n return false;\n }\n\n if (fromValue !== undefined && valueAsNumber < fromValue) {\n return false;\n } else if (toValue !== undefined && valueAsNumber > toValue) {\n return false;\n }\n\n return true;\n }\n }\n\n case TableFilterComparator.HasAnyOf:\n return Array.isArray(filter.value) && Array.isArray(value)\n ? filter.value.some(item => value.includes(item))\n : false;\n\n case TableFilterComparator.HasNoneOf:\n return Array.isArray(filter.value) && Array.isArray(value)\n ? filter.value.every(item => value.includes(item) === false)\n : false;\n\n case TableFilterComparator.HasAllOf:\n return Array.isArray(filter.value) && Array.isArray(value)\n ? filter.value.filter(v => value.includes(v)).length === filter.value.length\n : false;\n }\n\n return false;\n } catch (e) {\n console.error(e);\n return true;\n }\n}\n\nexport function globalFilterFn<TType = unknown>(row: ReactTableRow<TType>, columnId: string, searchQuery: string) {\n try {\n if (row.original) {\n const dataType = row._getAllCellsByColumnId()[columnId]?.column.columnDef.meta?.dataType;\n const cellValue = getCellValueAsString(row.original[columnId], dataType);\n return isWeakContains(cellValue, searchQuery);\n }\n } catch {\n // we don't care, just fail silently and return no results\n }\n\n return false;\n}\n"],"names":["toLowerCase","value","String","toLocaleLowerCase","isWeakContains","left","right","includes","isWeakEqual","columnFilterFn","filter","comparator","TableFilterComparator","IsEmpty","IsNotEmpty","isEmpty","undefined","Contains","DoesNotContain","IsEqualTo","isDate","isWeakEqualDate","IsNotEqualTo","IsGreaterThan","isAfterDate","valueAsNumber","parseInt","isNaN","IsLessThan","isBeforeDate","IsLessThanOrEqualTo","isEqualDate","IsGreaterThanOrEqualTo","IsBetween","fromValue","toValue","HasAnyOf","Array","isArray","some","item","HasNoneOf","every","HasAllOf","v","length","e","console","error","globalFilterFn","row","columnId","searchQuery","original","_row$_getAllCellsByCo","_row$_getAllCellsByCo2","dataType","_getAllCellsByColumnId","column","columnDef","meta","cellValue","getCellValueAsString"],"mappings":";;;;;MAMaA,WAAW,GAAIC,KAAsB,IAAKC,MAAM,CAACD,KAAK,aAALA,KAAK,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