@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,216 @@
1
+ import React__default from 'react';
2
+ import cn from 'clsx';
3
+ import { Tooltip } from '../../../../../components/Tooltip/Tooltip.js';
4
+ import { flexRender } from '@tanstack/react-table';
5
+ import { isInternalColumn, unfreezeAllExternalColumns, freezeUptoExternalColumn } from '../../../useTableManager/util/columns.js';
6
+ import { TableFilterComparator } from '../../../types.js';
7
+ import { getSortAttributes, SortIndicator } from './components/SortIndicator.js';
8
+ import { Resizer } from './components/Resizer.js';
9
+ import { HeaderMenu } from './components/Menu.js';
10
+ import { getIsPinned, useSetInitialColumnSizing } from './util.js';
11
+
12
+ function Header(props) {
13
+ var _header$column$column;
14
+ const {
15
+ header,
16
+ scrollToIndex
17
+ } = props;
18
+ if (header.column.getIsGrouped()) {
19
+ return null;
20
+ }
21
+ const {
22
+ table
23
+ } = header.getContext();
24
+ const tableMeta = table.options.meta;
25
+ const columnMeta = (_header$column$column = header.column.columnDef.meta) !== null && _header$column$column !== void 0 ? _header$column$column : {};
26
+ const isGroup = !!header.subHeaders.length;
27
+ const isPinned = getIsPinned(header);
28
+ const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;
29
+ const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();
30
+ const canMeasureSize = !!table.getRowModel().rows.length;
31
+ const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();
32
+ const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();
33
+ const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();
34
+ const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();
35
+ const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);
36
+ const sorting = table.getState().sorting;
37
+ const filters = table.getState().columnFilters;
38
+ const search = table.getState().globalFilter;
39
+ // passing header or column results in re-renders on scroll, so anything from those objects as memoed props
40
+ const memoedProps = {
41
+ align: columnMeta.align,
42
+ canFilter,
43
+ canHide,
44
+ canGoto,
45
+ canMeasureSize,
46
+ canPin,
47
+ canResize,
48
+ canSort,
49
+ className: cn('group/header', columnMeta.headerClassName),
50
+ children: flexRender(header.column.columnDef.header, header.getContext()),
51
+ colSpan: header.colSpan,
52
+ customMenu: columnMeta.menu,
53
+ hasMenu,
54
+ id: header.id,
55
+ isFiltered: header.column.getIsFiltered(),
56
+ index: header.index,
57
+ isGroup,
58
+ isPinned,
59
+ isPlaceholder: header.isPlaceholder,
60
+ offset: header.column.getStart(isPinned),
61
+ scrollToIndex,
62
+ setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
63
+ setColumnSizing: table.setColumnSizing,
64
+ tooltip: columnMeta.tooltip,
65
+ width: table.getState().columnSizing[header.id]
66
+ };
67
+ if (header.isPlaceholder) {
68
+ const nextHeader = header.headerGroup.headers[header.index + 1];
69
+ memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {
70
+ 'after:!content-none': nextHeader === null || nextHeader === void 0 ? void 0 : nextHeader.isPlaceholder
71
+ });
72
+ }
73
+ if (canFilter) {
74
+ memoedProps.onFilter = () => {
75
+ header.column.setFilterValue({
76
+ comparator: TableFilterComparator.Contains
77
+ });
78
+ };
79
+ }
80
+ if (canGoto) {
81
+ memoedProps.onGoto = query => {
82
+ var _tableMeta$rowGoto$ha, _tableMeta$rowGoto;
83
+ return (_tableMeta$rowGoto$ha = (_tableMeta$rowGoto = tableMeta.rowGoto).handleGoto) === null || _tableMeta$rowGoto$ha === void 0 ? void 0 : _tableMeta$rowGoto$ha.call(_tableMeta$rowGoto, header.id, query, sorting, filters, search);
84
+ };
85
+ }
86
+ if (canHide) {
87
+ memoedProps.onHide = header.column.getToggleVisibilityHandler();
88
+ }
89
+ if (canPin) {
90
+ memoedProps.onPin = index => {
91
+ // TODO: this can probably be moved to a feature hook
92
+ table.setColumnPinning(pinningState => {
93
+ return {
94
+ ...pinningState,
95
+ left: index === undefined ? unfreezeAllExternalColumns(pinningState.left) : freezeUptoExternalColumn(index, table.getAllLeafColumns().map(column => column.id))
96
+ };
97
+ });
98
+ };
99
+ }
100
+ if (canResize) {
101
+ memoedProps.isResizing = header.column.getIsResizing();
102
+ memoedProps.onResize = header.getResizeHandler();
103
+ }
104
+ if (canSort) {
105
+ const handleSortToggle = sortDirection => {
106
+ if (sortDirection === false) {
107
+ header.column.clearSorting();
108
+ } else {
109
+ header.column.toggleSorting(sortDirection === 'desc');
110
+ }
111
+ };
112
+ memoedProps.onSort = header.column.getToggleSortingHandler();
113
+ memoedProps.onSortToggle = handleSortToggle;
114
+ memoedProps.sortDirection = header.column.getIsSorted();
115
+ }
116
+ return /*#__PURE__*/React__default.createElement(MemoedHeader, Object.assign({
117
+ key: header.id
118
+ }, memoedProps));
119
+ }
120
+ const MemoedHeader = /*#__PURE__*/React__default.memo(function MemoedHeader(props) {
121
+ const {
122
+ align,
123
+ canFilter,
124
+ canGoto,
125
+ canHide,
126
+ canMeasureSize,
127
+ canPin,
128
+ canResize,
129
+ canSort,
130
+ children,
131
+ className,
132
+ colSpan,
133
+ customMenu,
134
+ hasMenu,
135
+ id,
136
+ index,
137
+ isFiltered,
138
+ isGroup,
139
+ isPinned,
140
+ isPlaceholder,
141
+ isResizing,
142
+ offset,
143
+ onFilter: handleFilter,
144
+ onGoto: handleGoto,
145
+ onHide: handleHide,
146
+ onPin: handlePin,
147
+ onResize: handleResize,
148
+ onSort: handleSort,
149
+ onSortToggle: handleSortToggle,
150
+ scrollToIndex,
151
+ setRowActiveIndex,
152
+ setColumnSizing,
153
+ sortDirection,
154
+ tooltip,
155
+ width
156
+ } = props;
157
+ const [ref, setRef] = React__default.useState(null);
158
+ // save column width if none is set
159
+ useSetInitialColumnSizing(id, width, ref, canMeasureSize, setColumnSizing);
160
+ // feature specific styles
161
+ const style = {};
162
+ // column groups often span multiple columns
163
+ if (colSpan > 1) {
164
+ style.gridColumn = `span ${colSpan}`;
165
+ }
166
+ // pinned columns should be offset from either the left or right
167
+ if (isPinned) {
168
+ style[isPinned] = `${offset}px`;
169
+ }
170
+ return /*#__PURE__*/React__default.createElement("th", Object.assign({}, getSortAttributes(canSort, handleSort, sortDirection), {
171
+ className: className,
172
+ "data-cell-align": isGroup ? 'center' : align,
173
+ "data-cell-id": id,
174
+ "data-cell-pinned": isPinned ? isPinned : undefined,
175
+ style: style,
176
+ ref: setRef
177
+ }), isPlaceholder ? null : isInternalColumn(id) ? children : ( /*#__PURE__*/React__default.createElement(Tooltip, {
178
+ title: String(tooltip !== null && tooltip !== void 0 ? tooltip : children),
179
+ placement: "top"
180
+ }, /*#__PURE__*/React__default.createElement("span", {
181
+ className: "truncate"
182
+ }, children))), sortDirection ? /*#__PURE__*/React__default.createElement(SortIndicator, {
183
+ direction: sortDirection
184
+ }) : null, hasMenu ? ( /*#__PURE__*/React__default.createElement(HeaderMenu, {
185
+ canFilter: canFilter,
186
+ canGoto: canGoto,
187
+ canHide: canHide,
188
+ canPin: canPin,
189
+ canSort: canSort,
190
+ className: cn({
191
+ 'ml-auto': align !== 'right',
192
+ 'ml-0': align === 'right'
193
+ }),
194
+ customMenu: customMenu,
195
+ index: index,
196
+ isFiltered: isFiltered,
197
+ onFilter: handleFilter,
198
+ onGoto: handleGoto,
199
+ onHide: handleHide,
200
+ onPin: handlePin,
201
+ onSortToggle: handleSortToggle,
202
+ scrollToIndex: scrollToIndex,
203
+ setRowActiveIndex: setRowActiveIndex,
204
+ sortDirection: sortDirection
205
+ })) : null, canResize ? ( /*#__PURE__*/React__default.createElement(Resizer, {
206
+ headerRef: ref,
207
+ id: id,
208
+ isResizing: isResizing,
209
+ onResize: handleResize,
210
+ setColumnSizing: setColumnSizing,
211
+ width: width
212
+ })) : null);
213
+ });
214
+
215
+ export { Header };
216
+ //# sourceMappingURL=Header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Header/Header.tsx"],"sourcesContent":["import React from 'react';\nimport {\n TableMeta as ReactTableMeta,\n ColumnMeta as ReactTableColumnMeta,\n Header as ReactTableHeader,\n ColumnPinningPosition as ReactTableColumnPinningPosition,\n flexRender,\n} from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { freezeUptoExternalColumn, isInternalColumn, unfreezeAllExternalColumns } from '../../../useTableManager/util/columns';\nimport { Tooltip } from '../../../../../components/Tooltip/Tooltip';\nimport { SortIndicator, getSortAttributes } from './components/SortIndicator';\nimport {\n TableColumnAlignment,\n TableColumnMenu,\n TableColumnSortDirection,\n TableColumnWidth,\n TableFilterComparator,\n} from '../../../types';\nimport { Resizer } from './components/Resizer';\nimport { HeaderMenu } from './components/Menu';\nimport { getIsPinned, useSetInitialColumnSizing } from './util';\n\nexport type HeaderProps<TType = unknown> = {\n header: ReactTableHeader<TType, unknown>;\n scrollToIndex: (index: number) => void;\n};\n\nexport function Header<TType = unknown>(props: HeaderProps<TType>) {\n const { header, scrollToIndex } = props;\n\n if (header.column.getIsGrouped()) {\n return null;\n }\n\n const { table } = header.getContext();\n\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const columnMeta = (header.column.columnDef.meta ?? {}) as ReactTableColumnMeta<TType, unknown>;\n\n const isGroup = !!header.subHeaders.length;\n const isPinned = getIsPinned(header);\n\n const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;\n const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();\n const canMeasureSize = !!table.getRowModel().rows.length;\n const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();\n const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();\n const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();\n const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();\n\n const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);\n\n const sorting = table.getState().sorting;\n const filters = table.getState().columnFilters;\n const search = table.getState().globalFilter;\n\n // passing header or column results in re-renders on scroll, so anything from those objects as memoed props\n const memoedProps: MemoedHeaderProps = {\n align: columnMeta.align,\n canFilter,\n canHide,\n canGoto,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n className: cn('group/header', columnMeta.headerClassName),\n children: flexRender(header.column.columnDef.header, header.getContext()),\n colSpan: header.colSpan,\n customMenu: columnMeta.menu,\n hasMenu,\n id: header.id,\n isFiltered: header.column.getIsFiltered(),\n index: header.index,\n isGroup,\n isPinned,\n isPlaceholder: header.isPlaceholder,\n offset: header.column.getStart(isPinned),\n scrollToIndex,\n setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,\n setColumnSizing: table.setColumnSizing,\n tooltip: columnMeta.tooltip,\n width: table.getState().columnSizing[header.id],\n };\n\n if (header.isPlaceholder) {\n const nextHeader = header.headerGroup.headers[header.index + 1];\n memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {\n 'after:!content-none': nextHeader?.isPlaceholder,\n });\n }\n\n if (canFilter) {\n memoedProps.onFilter = () => {\n header.column.setFilterValue({ comparator: TableFilterComparator.Contains });\n };\n }\n\n if (canGoto) {\n memoedProps.onGoto = ((query: string) => tableMeta.rowGoto.handleGoto?.(header.id, query, sorting, filters, search)) as (\n query: string\n ) => Promise<number>;\n }\n\n if (canHide) {\n memoedProps.onHide = header.column.getToggleVisibilityHandler();\n }\n\n if (canPin) {\n memoedProps.onPin = (index: number | undefined) => {\n // TODO: this can probably be moved to a feature hook\n table.setColumnPinning(pinningState => {\n return {\n ...pinningState,\n left:\n index === undefined\n ? unfreezeAllExternalColumns(pinningState.left)\n : freezeUptoExternalColumn(\n index,\n table.getAllLeafColumns().map(column => column.id)\n ),\n };\n });\n };\n }\n\n if (canResize) {\n memoedProps.isResizing = header.column.getIsResizing();\n memoedProps.onResize = header.getResizeHandler();\n }\n\n if (canSort) {\n const handleSortToggle = (sortDirection: TableColumnSortDirection | false) => {\n if (sortDirection === false) {\n header.column.clearSorting();\n } else {\n header.column.toggleSorting(sortDirection === 'desc');\n }\n };\n\n memoedProps.onSort = header.column.getToggleSortingHandler();\n memoedProps.onSortToggle = handleSortToggle;\n memoedProps.sortDirection = header.column.getIsSorted();\n }\n\n return <MemoedHeader key={header.id} {...memoedProps} />;\n}\n\nexport type MemoedHeaderProps = {\n align?: TableColumnAlignment;\n canFilter: boolean;\n canHide: boolean;\n canGoto: boolean;\n canMeasureSize: boolean;\n canPin: boolean;\n canResize: boolean;\n canSort: boolean;\n children: JSX.Element | React.ReactNode;\n className?: string;\n colSpan: number;\n customMenu?: TableColumnMenu;\n defaultWidth?: TableColumnWidth;\n hasMenu: boolean;\n id: string;\n index: number;\n isFiltered: boolean;\n isGroup: boolean;\n isPinned?: ReactTableColumnPinningPosition;\n isPlaceholder: boolean;\n isResizing?: boolean;\n offset?: number;\n onFilter?: () => void;\n onGoto?: (query: string) => Promise<number>;\n onHide?: (event: unknown) => void;\n onPin?: (index: number | undefined) => void;\n onResize?: (event: unknown) => void;\n onSort?: (event: unknown) => void;\n onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;\n scrollToIndex: (index: number) => void;\n setRowActiveIndex: (index: number) => void;\n setColumnSizing: any;\n sortDirection?: TableColumnSortDirection | false;\n tooltip?: string;\n width?: TableColumnWidth;\n};\n\nconst MemoedHeader = React.memo(function MemoedHeader(props: MemoedHeaderProps) {\n const {\n align,\n canFilter,\n canGoto,\n canHide,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n children,\n className,\n colSpan,\n customMenu,\n hasMenu,\n id,\n index,\n isFiltered,\n isGroup,\n isPinned,\n isPlaceholder,\n isResizing,\n offset,\n onFilter: handleFilter,\n onGoto: handleGoto,\n onHide: handleHide,\n onPin: handlePin,\n onResize: handleResize,\n onSort: handleSort,\n onSortToggle: handleSortToggle,\n scrollToIndex,\n setRowActiveIndex,\n setColumnSizing,\n sortDirection,\n tooltip,\n width,\n } = props;\n const [ref, setRef] = React.useState<HTMLTableCellElement | null>(null);\n\n // save column width if none is set\n useSetInitialColumnSizing(id, width, ref, canMeasureSize, setColumnSizing);\n\n // feature specific styles\n const style: React.CSSProperties = {};\n\n // column groups often span multiple columns\n if (colSpan > 1) {\n style.gridColumn = `span ${colSpan}`;\n }\n\n // pinned columns should be offset from either the left or right\n if (isPinned) {\n style[isPinned] = `${offset}px`;\n }\n\n return (\n <th\n {...getSortAttributes(canSort, handleSort, sortDirection)}\n className={className}\n data-cell-align={isGroup ? 'center' : align}\n data-cell-id={id}\n data-cell-pinned={isPinned ? isPinned : undefined}\n style={style}\n ref={setRef}>\n {isPlaceholder ? null : isInternalColumn(id) ? (\n children\n ) : (\n <Tooltip title={String(tooltip ?? children)} placement=\"top\">\n <span className=\"truncate\">{children}</span>\n </Tooltip>\n )}\n {sortDirection ? <SortIndicator direction={sortDirection} /> : null}\n {hasMenu ? (\n <HeaderMenu\n canFilter={canFilter}\n canGoto={canGoto}\n canHide={canHide}\n canPin={canPin}\n canSort={canSort}\n className={cn({\n 'ml-auto': align !== 'right',\n 'ml-0': align === 'right',\n })}\n customMenu={customMenu}\n index={index}\n isFiltered={isFiltered}\n onFilter={handleFilter}\n onGoto={handleGoto}\n onHide={handleHide}\n onPin={handlePin}\n onSortToggle={handleSortToggle}\n scrollToIndex={scrollToIndex}\n setRowActiveIndex={setRowActiveIndex}\n sortDirection={sortDirection}\n />\n ) : null}\n {canResize ? (\n <Resizer\n headerRef={ref}\n id={id}\n isResizing={isResizing as boolean}\n onResize={handleResize as (event: unknown) => void}\n setColumnSizing={setColumnSizing}\n width={width}\n />\n ) : null}\n </th>\n );\n});\n"],"names":["Header","props","header","scrollToIndex","column","getIsGrouped","table","getContext","tableMeta","options","meta","columnMeta","_header$column$column","columnDef","isGroup","subHeaders","length","isPinned","getIsPinned","canFilter","isPlaceholder","getCanFilter","enableColumnFilters","canHide","getCanHide","canMeasureSize","getRowModel","rows","canPin","getCanPin","canResize","getCanResize","canSort","getCanSort","canGoto","rowGoto","isEnabled","getIsSorted","hasMenu","isInternalColumn","id","menu","sorting","getState","filters","columnFilters","search","globalFilter","memoedProps","align","className","cn","headerClassName","children","flexRender","colSpan","customMenu","isFiltered","getIsFiltered","index","offset","getStart","setRowActiveIndex","rowActive","setColumnSizing","tooltip","width","columnSizing","nextHeader","headerGroup","headers","onFilter","setFilterValue","comparator","TableFilterComparator","Contains","onGoto","query","_tableMeta$rowGoto$ha","_tableMeta$rowGoto","handleGoto","call","onHide","getToggleVisibilityHandler","onPin","setColumnPinning","pinningState","left","undefined","unfreezeAllExternalColumns","freezeUptoExternalColumn","getAllLeafColumns","map","isResizing","getIsResizing","onResize","getResizeHandler","handleSortToggle","sortDirection","clearSorting","toggleSorting","onSort","getToggleSortingHandler","onSortToggle","React","MemoedHeader","key","memo","handleFilter","handleHide","handlePin","handleResize","handleSort","ref","setRef","useState","useSetInitialColumnSizing","style","gridColumn","getSortAttributes","Tooltip","title","String","placement","SortIndicator","direction","HeaderMenu","Resizer","headerRef"],"mappings":";;;;;;;;;;;SA4BgBA,MAAMA,CAAkBC,KAAyB;;EAC7D,MAAM;IAAEC,MAAM;IAAEC;GAAe,GAAGF,KAAK;EAEvC,IAAIC,MAAM,CAACE,MAAM,CAACC,YAAY,EAAE,EAAE;IAC9B,OAAO,IAAI;;EAGf,MAAM;IAAEC;GAAO,GAAGJ,MAAM,CAACK,UAAU,EAAE;EAErC,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;EAC7D,MAAMC,UAAU,IAAAC,qBAAA,GAAIV,MAAM,CAACE,MAAM,CAACS,SAAS,CAACH,IAAI,cAAAE,qBAAA,cAAAA,qBAAA,GAAI,EAA2C;EAE/F,MAAME,OAAO,GAAG,CAAC,CAACZ,MAAM,CAACa,UAAU,CAACC,MAAM;EAC1C,MAAMC,QAAQ,GAAGC,WAAW,CAAChB,MAAM,CAAC;EAEpC,MAAMiB,SAAS,GAAG,CAACjB,MAAM,CAACkB,aAAa,IAAIlB,MAAM,CAACE,MAAM,CAACiB,YAAY,EAAE,IAAI,CAAC,CAACf,KAAK,CAACG,OAAO,CAACa,mBAAmB;EAC9G,MAAMC,OAAO,GAAG,CAACrB,MAAM,CAACkB,aAAa,IAAI,CAACN,OAAO,IAAIZ,MAAM,CAACE,MAAM,CAACoB,UAAU,EAAE;EAC/E,MAAMC,cAAc,GAAG,CAAC,CAACnB,KAAK,CAACoB,WAAW,EAAE,CAACC,IAAI,CAACX,MAAM;EACxD,MAAMY,MAAM,GA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AAE;IACNqD,UAAU,EAAEA,UAAqB;IACjCE,QAAQ,EAAEgB,YAAwC;IAClD/C,eAAe,EAAEA,eAAe;IAChCE,KAAK,EAAEA;IACT,IACF,IAAI,CACP;AAEb,CAAC,CAAC;;;;"}
@@ -0,0 +1,28 @@
1
+ import React__default from 'react';
2
+ import { useLocalization } from '../../../../../../components/Provider/Localization.js';
3
+ import { Popover } from '../../../../../../components/Popover/Popover.js';
4
+ import { SearchInput } from '../../../../../../components/SearchInput/SearchInput.js';
5
+
6
+ function GotoPopover(props) {
7
+ const {
8
+ onGoto: handleGoto,
9
+ trigger,
10
+ ...popoverProps
11
+ } = props;
12
+ const {
13
+ texts
14
+ } = useLocalization();
15
+ const handleSearch = value => handleGoto(value);
16
+ return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
17
+ anchor: trigger
18
+ }), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement(SearchInput, {
19
+ "aria-label": texts.table.columns.menu.gotoRow,
20
+ name: "query",
21
+ onSearch: handleSearch,
22
+ onKeyDown: event => event.stopPropagation(),
23
+ placeholder: `${texts.table.columns.menu.gotoRow}...`
24
+ })));
25
+ }
26
+
27
+ export { GotoPopover };
28
+ //# sourceMappingURL=Goto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Goto.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Header/components/Goto.tsx"],"sourcesContent":["import React from 'react';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { Popover, PopoverProps } from '../../../../../../components/Popover/Popover';\nimport { SearchInput } from '../../../../../../components/SearchInput/SearchInput';\n\nexport type GotoProps = PopoverProps & {\n onGoto: (query: string) => Promise<void>;\n};\n\nexport function GotoPopover(props: GotoProps) {\n const { onGoto: handleGoto, trigger, ...popoverProps } = props;\n const { texts } = useLocalization();\n\n const handleSearch = value => handleGoto(value);\n\n return (\n <Popover {...popoverProps} anchor={trigger}>\n <Popover.Content>\n <SearchInput\n aria-label={texts.table.columns.menu.gotoRow}\n name=\"query\"\n onSearch={handleSearch}\n onKeyDown={event => event.stopPropagation()}\n placeholder={`${texts.table.columns.menu.gotoRow}...`}\n />\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["GotoPopover","props","onGoto","handleGoto","trigger","popoverProps","texts","useLocalization","handleSearch","value","React","Popover","anchor","Content","SearchInput","table","columns","menu","gotoRow","name","onSearch","onKeyDown","event","stopPropagation","placeholder"],"mappings":";;;;;SASgBA,WAAWA,CAACC,KAAgB;EACxC,MAAM;IAAEC,MAAM,EAAEC,UAAU;IAAEC,OAAO;IAAE,GAAGC;GAAc,GAAGJ,KAAK;EAC9D,MAAM;IAAEK;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,YAAY,GAAGC,KAAK,IAAIN,UAAU,CAACM,KAAK,CAAC;EAE/C,oBACIC,6BAACC,OAAO,oBAAKN,YAAY;IAAEO,MAAM,EAAER;mBAC/BM,6BAACC,OAAO,CAACE,OAAO,qBACZH,6BAACI,WAAW;kBACIR,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,IAAI,CAACC,OAAO;IAC5CC,IAAI,EAAC,OAAO;IACZC,QAAQ,EAAEZ,YAAY;IACtBa,SAAS,EAAEC,KAAK,IAAIA,KAAK,CAACC,eAAe,EAAE;IAC3CC,WAAW,KAAKlB,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,IAAI,CAACC;IAC3C,CACY,CACZ;AAElB;;;;"}
@@ -0,0 +1,158 @@
1
+ import React__default from 'react';
2
+ import cn from 'clsx';
3
+ import { IconButton } from '../../../../../../components/IconButton/IconButton.js';
4
+ import { useLocalization } from '../../../../../../components/Provider/Localization.js';
5
+ import { Menu } from '../../../../../../components/Menu/Menu.js';
6
+ import { _finallyRethrows, _catch } from '../../../../../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
7
+ import { GotoPopover } from './Goto.js';
8
+
9
+ function HeaderMenu(props) {
10
+ const {
11
+ canFilter,
12
+ canGoto,
13
+ canHide,
14
+ canPin,
15
+ canSort,
16
+ customMenu,
17
+ index,
18
+ isFiltered,
19
+ onFilter: handleFilter,
20
+ onGoto: handleGoto,
21
+ onHide: handleHide,
22
+ onPin: handlePin,
23
+ onSortToggle: handleSortToggle,
24
+ scrollToIndex,
25
+ setRowActiveIndex,
26
+ sortDirection
27
+ } = props;
28
+ const {
29
+ texts
30
+ } = useLocalization();
31
+ const [popover, setPopover] = React__default.useState(undefined);
32
+ let popoverElement;
33
+ if (popover) {
34
+ const handleClosePopover = () => setPopover(undefined);
35
+ switch (popover) {
36
+ case 'goto':
37
+ {
38
+ if (handleGoto) {
39
+ const goto = function (query) {
40
+ try {
41
+ const _temp = _finallyRethrows(function () {
42
+ return _catch(function () {
43
+ return Promise.resolve(handleGoto(query)).then(function (index) {
44
+ setRowActiveIndex(index);
45
+ scrollToIndex(index);
46
+ });
47
+ }, function (e) {
48
+ console.error(e);
49
+ //
50
+ });
51
+ }, function (_wasThrown, _result) {
52
+ handleClosePopover();
53
+ if (_wasThrown) throw _result;
54
+ return _result;
55
+ });
56
+ return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
57
+ } catch (e) {
58
+ return Promise.reject(e);
59
+ }
60
+ };
61
+ popoverElement = props => /*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
62
+ open: true,
63
+ onChange: handleClosePopover,
64
+ onGoto: goto
65
+ }));
66
+ }
67
+ }
68
+ }
69
+ }
70
+ const memoedMenuItems = React__default.useMemo(() => {
71
+ const menuItems = [];
72
+ if (canHide && handleHide) {
73
+ // we do this in the next tick, otherwise the menu closes and react throws a "state update on unmounted component" error
74
+ const handleClick = event => setTimeout(() => handleHide(event), 1);
75
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
76
+ icon: "eye-off",
77
+ onClick: handleClick
78
+ }, texts.table.columns.menu.hideColumn));
79
+ }
80
+ if (canSort) {
81
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
82
+ icon: "sort-by",
83
+ subMenu: () => ( /*#__PURE__*/React__default.createElement(Menu.SubMenu, null, /*#__PURE__*/React__default.createElement(Menu.RadioGroup, {
84
+ onChange: handleSortToggle,
85
+ value: sortDirection
86
+ }, /*#__PURE__*/React__default.createElement(Menu.RadioGroup.Item, {
87
+ value: "asc"
88
+ }, texts.table.columns.menu.sortingOrder.ascending), /*#__PURE__*/React__default.createElement(Menu.RadioGroup.Item, {
89
+ value: "desc"
90
+ }, texts.table.columns.menu.sortingOrder.descending), /*#__PURE__*/React__default.createElement(Menu.RadioGroup.Item, {
91
+ value: false
92
+ }, texts.table.columns.menu.sortingOrder.unsorted))))
93
+ }, texts.table.columns.menu.sorting));
94
+ }
95
+ if (canGoto) {
96
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
97
+ icon: "move",
98
+ onClick: () => setPopover('goto'),
99
+ shortcut: "g"
100
+ }, texts.table.columns.menu.gotoRow, "..."));
101
+ }
102
+ if (canPin && handlePin) {
103
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
104
+ icon: "column-freeze",
105
+ onClick: () => handlePin(index)
106
+ }, index === 0 ? texts.table.columns.menu.freezeFirstColumn : texts.table.columns.menu.freezeUptoColumn.replace('[TOTAL]', String(index + 1))));
107
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
108
+ icon: "column-unfreeze",
109
+ onClick: () => handlePin(undefined)
110
+ }, texts.table.columns.menu.unfreezeColumns));
111
+ }
112
+ if (canFilter && handleFilter) {
113
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Item, {
114
+ icon: isFiltered ? 'filter-solid' : 'filter',
115
+ onClick: () => handleFilter()
116
+ }, isFiltered ? texts.table.columns.menu.editFilter : texts.table.columns.menu.filter));
117
+ }
118
+ if (customMenu) {
119
+ const menu = customMenu({
120
+ trigger: undefined
121
+ });
122
+ const customItems = React__default.Children.toArray(menu.props.children.props.children);
123
+ if (customItems.length) {
124
+ if (menuItems.length) {
125
+ menuItems.push( /*#__PURE__*/React__default.createElement(Menu.Separator, null));
126
+ }
127
+ menuItems.push(...customItems);
128
+ }
129
+ }
130
+ return menuItems.map((item, key) => /*#__PURE__*/React__default.cloneElement(item, {
131
+ key
132
+ }));
133
+ }, [canFilter, canGoto, canHide, canPin, canSort, customMenu, handleGoto, handleSortToggle, index, isFiltered, sortDirection]);
134
+ // can't use display: none because the button needs to be focusable
135
+ const className = cn(
136
+ // positioning
137
+ 'justify-end -mr-1 overflow-hidden',
138
+ // sizing
139
+ '!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0',
140
+ // visible - hover
141
+ 'group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]',
142
+ // visible - expanded
143
+ 'aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]',
144
+ // visible - focus
145
+ 'focus:!w-6 focus:!min-w-[theme(spacing.6)]', {
146
+ '!w-6 !min-w-[theme(spacing.6)]': !!popoverElement
147
+ }, props.className);
148
+ return /*#__PURE__*/React__default.createElement(IconButton, {
149
+ className: className,
150
+ icon: "more",
151
+ menu: popoverElement ? undefined : menuProps => ( /*#__PURE__*/React__default.createElement(Menu, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu.Content, null, memoedMenuItems))),
152
+ popover: popoverElement,
153
+ onClickCapture: event => event.preventDefault()
154
+ });
155
+ }
156
+
157
+ export { HeaderMenu };
158
+ //# sourceMappingURL=Menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Menu.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Header/components/Menu.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { IconButton } from '../../../../../../components/IconButton/IconButton';\nimport { Menu as MenuPrimitive } from '../../../../../../components/Menu/Menu';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { GotoPopover } from './Goto';\nimport { TableColumnMenu, TableColumnSortDirection } from '../../../../types';\n\nexport type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {\n canFilter: boolean;\n canGoto: boolean;\n canHide: boolean;\n canPin: boolean;\n canSort: boolean;\n customMenu?: TableColumnMenu;\n index: number;\n isFiltered: boolean;\n onFilter?: () => void;\n onGoto?: (query: string) => Promise<number>;\n onHide?: (event: unknown) => void;\n onPin?: (index: number | undefined) => void;\n onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;\n scrollToIndex: (index: number) => void;\n setRowActiveIndex: (index: number) => void;\n sortDirection?: TableColumnSortDirection | false;\n};\n\nexport function HeaderMenu(props: HeaderMenuProps) {\n const {\n canFilter,\n canGoto,\n canHide,\n canPin,\n canSort,\n customMenu,\n index,\n isFiltered,\n onFilter: handleFilter,\n onGoto: handleGoto,\n onHide: handleHide,\n onPin: handlePin,\n onSortToggle: handleSortToggle,\n scrollToIndex,\n setRowActiveIndex,\n sortDirection,\n } = props;\n const { texts } = useLocalization();\n const [popover, setPopover] = React.useState<string | undefined>(undefined);\n\n let popoverElement;\n\n if (popover) {\n const handleClosePopover = () => setPopover(undefined);\n\n switch (popover) {\n case 'goto': {\n if (handleGoto) {\n const goto = async (query: string) => {\n try {\n const index = await handleGoto(query);\n setRowActiveIndex(index);\n scrollToIndex(index);\n } catch (e) {\n console.error(e);\n //\n } finally {\n handleClosePopover();\n }\n };\n popoverElement = props => <GotoPopover {...props} open onChange={handleClosePopover} onGoto={goto} />;\n }\n }\n }\n }\n\n const memoedMenuItems = React.useMemo(() => {\n const menuItems: JSX.Element[] = [];\n\n if (canHide && handleHide) {\n // we do this in the next tick, otherwise the menu closes and react throws a \"state update on unmounted component\" error\n const handleClick = event => setTimeout(() => handleHide(event), 1);\n\n menuItems.push(\n <MenuPrimitive.Item icon=\"eye-off\" onClick={handleClick}>\n {texts.table.columns.menu.hideColumn}\n </MenuPrimitive.Item>\n );\n }\n\n if (canSort) {\n menuItems.push(\n <MenuPrimitive.Item\n icon=\"sort-by\"\n subMenu={() => (\n <MenuPrimitive.SubMenu>\n <MenuPrimitive.RadioGroup onChange={handleSortToggle as any} value={sortDirection}>\n <MenuPrimitive.RadioGroup.Item value=\"asc\">\n {texts.table.columns.menu.sortingOrder.ascending}\n </MenuPrimitive.RadioGroup.Item>\n <MenuPrimitive.RadioGroup.Item value=\"desc\">\n {texts.table.columns.menu.sortingOrder.descending}\n </MenuPrimitive.RadioGroup.Item>\n <MenuPrimitive.RadioGroup.Item value={false}>\n {texts.table.columns.menu.sortingOrder.unsorted}\n </MenuPrimitive.RadioGroup.Item>\n </MenuPrimitive.RadioGroup>\n </MenuPrimitive.SubMenu>\n )}>\n {texts.table.columns.menu.sorting}\n </MenuPrimitive.Item>\n );\n }\n\n if (canGoto) {\n menuItems.push(\n <MenuPrimitive.Item icon=\"move\" onClick={() => setPopover('goto')} shortcut=\"g\">\n {texts.table.columns.menu.gotoRow}...\n </MenuPrimitive.Item>\n );\n }\n\n if (canPin && handlePin) {\n menuItems.push(\n <MenuPrimitive.Item icon=\"column-freeze\" onClick={() => handlePin(index)}>\n {index === 0\n ? texts.table.columns.menu.freezeFirstColumn\n : texts.table.columns.menu.freezeUptoColumn.replace('[TOTAL]', String(index + 1))}\n </MenuPrimitive.Item>\n );\n\n menuItems.push(\n <MenuPrimitive.Item icon=\"column-unfreeze\" onClick={() => handlePin(undefined)}>\n {texts.table.columns.menu.unfreezeColumns}\n </MenuPrimitive.Item>\n );\n }\n if (canFilter && handleFilter) {\n menuItems.push(\n <MenuPrimitive.Item icon={isFiltered ? 'filter-solid' : 'filter'} onClick={() => handleFilter()}>\n {isFiltered ? texts.table.columns.menu.editFilter : texts.table.columns.menu.filter}\n </MenuPrimitive.Item>\n );\n }\n\n if (customMenu) {\n const menu = customMenu({ trigger: undefined });\n const customItems = React.Children.toArray(menu.props.children.props.children) as JSX.Element[];\n\n if (customItems.length) {\n if (menuItems.length) {\n menuItems.push(<MenuPrimitive.Separator />);\n }\n\n menuItems.push(...customItems);\n }\n }\n\n return menuItems.map((item, key) => React.cloneElement(item, { key }));\n }, [\n canFilter,\n canGoto,\n canHide,\n canPin,\n canSort,\n customMenu,\n handleGoto,\n handleSortToggle,\n index,\n isFiltered,\n sortDirection,\n ]);\n\n // can't use display: none because the button needs to be focusable\n const className = cn(\n // positioning\n 'justify-end -mr-1 overflow-hidden',\n // sizing\n '!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0',\n // visible - hover\n 'group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]',\n // visible - expanded\n 'aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]',\n // visible - focus\n 'focus:!w-6 focus:!min-w-[theme(spacing.6)]',\n {\n '!w-6 !min-w-[theme(spacing.6)]': !!popoverElement,\n },\n props.className\n );\n\n return (\n <IconButton\n className={className}\n icon=\"more\"\n menu={\n popoverElement\n ? undefined\n : menuProps => (\n <MenuPrimitive {...menuProps}>\n <MenuPrimitive.Content>{memoedMenuItems}</MenuPrimitive.Content>\n </MenuPrimitive>\n )\n }\n popover={popoverElement}\n onClickCapture={event => event.preventDefault()}\n />\n );\n}\n"],"names":["HeaderMenu","props","canFilter","canGoto","canHide","canPin","canSort","customMenu","index","isFiltered","onFilter","handleFilter","onGoto","handleGoto","onHide","handleHide","onPin","handlePin","onSortToggle","handleSortToggle","scrollToIndex","setRowActiveIndex","sortDirection","texts","useLocalization","popover","setPopover","React","useState","undefined","popoverElement","handleClosePopover","goto","query","Promise","resolve","then","e","console","error","_wasThrown","_result","_temp","reject","GotoPopover","open","onChange","memoedMenuItems","useMemo","menuItems","handleClick","event","setTimeout","push","MenuPrimitive","Item","icon","onClick","table","columns","menu","hideColumn","subMenu","SubMenu","RadioGroup","value","sortingOrder","ascending","descending","unsorted","sorting","shortcut","gotoRow","freezeFirstColumn","freezeUptoColumn","replace","String","unfreezeColumns","editFilter","filter","trigger","customItems","Children","toArray","children","length","Separator","map","item","key","cloneElement","className","cn","IconButton","menuProps","Content","onClickCapture","preventDefault"],"mappings":";;;;;;;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,IAAa,CAACyC,OAAO,QAAEhD,eAAe,CAAyB,CACpD,CACnB;IAEXtB,OAAO,EAAEK,cAAc;IACvBkE,cAAc,EAAE7C,KAAK,IAAIA,KAAK,CAAC8C,cAAc;IAC/C;AAEV;;;;"}
@@ -0,0 +1,60 @@
1
+ import React__default from 'react';
2
+ import cn from 'clsx';
3
+ import { Tooltip } from '../../../../../../components/Tooltip/Tooltip.js';
4
+ import { useLocalization } from '../../../../../../components/Provider/Localization.js';
5
+
6
+ function Resizer(props) {
7
+ const {
8
+ headerRef,
9
+ id,
10
+ isResizing,
11
+ onResize,
12
+ setColumnSizing,
13
+ width
14
+ } = props;
15
+ const {
16
+ texts
17
+ } = useLocalization();
18
+ // this prevents sort handlers being activated
19
+ const handleClick = event => {
20
+ event.stopPropagation();
21
+ event.preventDefault();
22
+ };
23
+ // columns set to "grow" don't set a width, so if resize is being triggered on a grow column make sure to set a size first
24
+ const handleResize = event => {
25
+ if (!Number.isInteger(width) && headerRef) {
26
+ setColumnSizing(sizes => ({
27
+ ...sizes,
28
+ [id]: headerRef.getBoundingClientRect().width
29
+ }));
30
+ setTimeout(() => {
31
+ onResize === null || onResize === void 0 ? void 0 : onResize(event);
32
+ }, 1);
33
+ } else {
34
+ onResize === null || onResize === void 0 ? void 0 : onResize(event);
35
+ }
36
+ };
37
+ const handle = /*#__PURE__*/React__default.createElement("div", {
38
+ className: cn('invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5', 'group-hover/header:visible', '[th:last-child>&]:!mr-0 [th:last-child>&]:w-2', {
39
+ '!visible': isResizing
40
+ }),
41
+ onClick: handleClick,
42
+ onMouseDown: handleResize,
43
+ onTouchStart: handleResize
44
+ }, /*#__PURE__*/React__default.createElement("div", {
45
+ className: cn('h-full w-1 rounded', {
46
+ '!bg-blue-500': isResizing,
47
+ 'bg-grey-500 hover:bg-grey-700': !isResizing
48
+ })
49
+ }));
50
+ if (isResizing) {
51
+ return handle;
52
+ }
53
+ return /*#__PURE__*/React__default.createElement(Tooltip, {
54
+ placement: "top",
55
+ title: texts.table.columns.resize.tooltip
56
+ }, handle);
57
+ }
58
+
59
+ export { Resizer };
60
+ //# sourceMappingURL=Resizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Resizer.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Header/components/Resizer.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { Tooltip } from '../../../../../../components/Tooltip/Tooltip';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { TableColumnWidth } from '../../../../types';\n\ntype ResizerProps = {\n headerRef: HTMLTableCellElement | null;\n id: string;\n isResizing: boolean;\n onResize: (event: unknown) => void;\n setColumnSizing: any;\n width?: TableColumnWidth;\n};\n\nexport function Resizer(props: ResizerProps) {\n const { headerRef, id, isResizing, onResize, setColumnSizing, width } = props;\n const { texts } = useLocalization();\n\n // this prevents sort handlers being activated\n const handleClick = event => {\n event.stopPropagation();\n event.preventDefault();\n };\n\n // columns set to \"grow\" don't set a width, so if resize is being triggered on a grow column make sure to set a size first\n const handleResize = event => {\n if (!Number.isInteger(width) && headerRef) {\n setColumnSizing(sizes => ({\n ...sizes,\n [id]: headerRef.getBoundingClientRect().width,\n }));\n setTimeout(() => {\n onResize?.(event);\n }, 1);\n } else {\n onResize?.(event);\n }\n };\n\n const handle = (\n <div\n className={cn(\n 'invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5',\n 'group-hover/header:visible',\n '[th:last-child>&]:!mr-0 [th:last-child>&]:w-2',\n {\n '!visible': isResizing,\n }\n )}\n onClick={handleClick}\n onMouseDown={handleResize}\n onTouchStart={handleResize}>\n <div\n className={cn('h-full w-1 rounded', {\n '!bg-blue-500': isResizing,\n 'bg-grey-500 hover:bg-grey-700': !isResizing,\n })}\n />\n </div>\n );\n\n if (isResizing) {\n return handle;\n }\n\n return (\n <Tooltip placement=\"top\" title={texts.table.columns.resize.tooltip}>\n {handle}\n </Tooltip>\n );\n}\n"],"names":["Resizer","props","headerRef","id","isResizing","onResize","setColumnSizing","width","texts","useLocalization","handleClick","event","stopPropagation","preventDefault","handleResize","Number","isInteger","sizes","getBoundingClientRect","setTimeout","handle","React","className","cn","onClick","onMouseDown","onTouchStart","Tooltip","placement","title","table","columns","resize","tooltip"],"mappings":";;;;;SAegBA,OAAOA,CAACC,KAAmB;EACvC,MAAM;IAAEC,SAAS;IAAEC,EAAE;IAAEC,UAAU;IAAEC,QAAQ;IAAEC,eAAe;IAAEC;GAAO,GAAGN,KAAK;EAC7E,MAAM;IAAEO;GAAO,GAAGC,eAAe,EAAE;;EAGnC,MAAMC,WAAW,GAAGC,KAAK;IACrBA,KAAK,CAACC,eAAe,EAAE;IACvBD,KAAK,CAACE,cAAc,EAAE;GACzB;;EAGD,MAAMC,YAAY,GAAGH,KAAK;IACtB,IAAI,CAACI,MAAM,CAACC,SAAS,CAACT,KAAK,CAAC,IAAIL,SAAS,EAAE;MACvCI,eAAe,CAACW,KAAK,KAAK;QACtB,GAAGA,KAAK;QACR,CAACd,EAAE,GAAGD,SAAS,CAACgB,qBAAqB,EAAE,CAACX;OAC3C,CAAC,CAAC;MACHY,UAAU,CAAC;QACPd,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAGM,KAAK,CAAC;OACpB,EAAE,CAAC,CAAC;KACR,MAAM;MACHN,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAGM,KAAK,CAAC;;GAExB;EAED,MAAMS,MAAM,gBACRC;IACIC,SAAS,EAAEC,EAAE,CACT,oIAAoI,EACpI,4BAA4B,EAC5B,+CAA+C,EAC/C;MACI,UAAU,EAAEnB;KACf,CACJ;IACDoB,OAAO,EAAEd,WAAW;IACpBe,WAAW,EAAEX,YAAY;IACzBY,YAAY,EAAEZ;kBACdO;IACIC,SAAS,EAAEC,EAAE,CAAC,oBAAoB,EAAE;MAChC,cAAc,EAAEnB,UAAU;MAC1B,+BAA+B,EAAE,CAACA;KACrC;IACH,CAET;EAED,IAAIA,UAAU,EAAE;IACZ,OAAOgB,MAAM;;EAGjB,oBACIC,6BAACM,OAAO;IAACC,SAAS,EAAC,KAAK;IAACC,KAAK,EAAErB,KAAK,CAACsB,KAAK,CAACC,OAAO,CAACC,MAAM,CAACC;KACtDb,MAAM,CACD;AAElB;;;;"}
@@ -0,0 +1,41 @@
1
+ import React__default from 'react';
2
+ import { Icon } from '../../../../../../components/Icon/Icon.js';
3
+
4
+ const indicators = {
5
+ asc: /*#__PURE__*/React__default.createElement(Icon, {
6
+ name: "chevron-up-solid",
7
+ className: "pointer-events-none -my-0.5"
8
+ }),
9
+ desc: /*#__PURE__*/React__default.createElement(Icon, {
10
+ name: "chevron-down-solid",
11
+ className: "pointer-events-none -my-0.5"
12
+ })
13
+ };
14
+ function SortIndicator(props) {
15
+ var _indicators$props$dir;
16
+ return (_indicators$props$dir = indicators[props.direction]) !== null && _indicators$props$dir !== void 0 ? _indicators$props$dir : null;
17
+ }
18
+ const ariaSort = {
19
+ asc: 'ascending',
20
+ desc: 'descending'
21
+ };
22
+ function getSortAttributes(canSort, toggleSorting, sortDirection) {
23
+ var _ariaSort$sortDirecti;
24
+ if (!canSort) {
25
+ return {};
26
+ }
27
+ const handleClick = event => {
28
+ if (event.isDefaultPrevented() || !event.currentTarget.contains(event.target)) {
29
+ return;
30
+ }
31
+ event.preventDefault();
32
+ toggleSorting === null || toggleSorting === void 0 ? void 0 : toggleSorting(event);
33
+ };
34
+ return {
35
+ 'aria-sort': (_ariaSort$sortDirecti = ariaSort[sortDirection]) !== null && _ariaSort$sortDirecti !== void 0 ? _ariaSort$sortDirecti : 'none',
36
+ onClick: handleClick
37
+ };
38
+ }
39
+
40
+ export { SortIndicator, getSortAttributes };
41
+ //# sourceMappingURL=SortIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortIndicator.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Header/components/SortIndicator.tsx"],"sourcesContent":["import React from 'react';\nimport { TableColumnSortDirection } from '../../../../types';\nimport { Icon } from '../../../../../../components/Icon/Icon';\n\ntype SortIndicatorProps = {\n direction: false | TableColumnSortDirection;\n};\n\nconst indicators = {\n asc: <Icon name=\"chevron-up-solid\" className=\"pointer-events-none -my-0.5\" />,\n desc: <Icon name=\"chevron-down-solid\" className=\"pointer-events-none -my-0.5\" />,\n};\n\nexport function SortIndicator(props: SortIndicatorProps) {\n return indicators[props.direction as string] ?? null;\n}\n\nconst ariaSort = {\n asc: 'ascending',\n desc: 'descending',\n};\n\nexport const getAriaSort = direction => ariaSort[direction] ?? 'none';\n\nexport function getSortAttributes(\n canSort: boolean,\n toggleSorting?: (event: unknown) => void,\n sortDirection?: false | TableColumnSortDirection\n) {\n if (!canSort) {\n return {};\n }\n\n const handleClick = (event: React.MouseEvent) => {\n if (event.isDefaultPrevented() || !event.currentTarget.contains(event.target as any)) {\n return;\n }\n\n event.preventDefault();\n toggleSorting?.(event);\n };\n\n return {\n 'aria-sort': ariaSort[sortDirection as any] ?? 'none',\n onClick: handleClick,\n };\n}\n"],"names":["indicators","asc","React","Icon","name","className","desc","SortIndicator","props","_indicators$props$dir","direction","ariaSort","getSortAttributes","canSort","toggleSorting","sortDirection","handleClick","event","isDefaultPrevented","currentTarget","contains","target","preventDefault","_ariaSort$sortDirecti","onClick"],"mappings":";;;AAQA,MAAMA,UAAU,GAAG;EACfC,GAAG,eAAEC,6BAACC,IAAI;IAACC,IAAI,EAAC,kBAAkB;IAACC,SAAS,EAAC;IAAgC;EAC7EC,IAAI,eAAEJ,6BAACC,IAAI;IAACC,IAAI,EAAC,oBAAoB;IAACC,SAAS,EAAC;;CACnD;SAEeE,aAAaA,CAACC,KAAyB;;EACnD,QAAAC,qBAAA,GAAOT,UAAU,CAACQ,KAAK,CAACE,SAAmB,CAAC,cAAAD,qBAAA,cAAAA,qBAAA,GAAI,IAAI;AACxD;AAEA,MAAME,QAAQ,GAAG;EACbV,GAAG,EAAE,WAAW;EAChBK,IAAI,EAAE;CACT;SAIeM,iBAAiBA,CAC7BC,OAAgB,EAChBC,aAAwC,EACxCC,aAAgD;;EAEhD,IAAI,CAACF,OAAO,EAAE;IACV,OAAO,EAAE;;EAGb,MAAMG,WAAW,GAAIC,KAAuB;IACxC,IAAIA,KAAK,CAACC,kBAAkB,EAAE,IAAI,CAACD,KAAK,CAACE,aAAa,CAACC,QAAQ,CAACH,KAAK,CAACI,MAAa,CAAC,EAAE;MAClF;;IAGJJ,KAAK,CAACK,cAAc,EAAE;IACtBR,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAGG,KAAK,CAAC;GACzB;EAED,OAAO;IACH,WAAW,GAAAM,qBAAA,GAAEZ,QAAQ,CAACI,aAAoB,CAAC,cAAAQ,qBAAA,cAAAA,qBAAA,GAAI,MAAM;IACrDC,OAAO,EAAER;GACZ;AACL;;;;"}
@@ -0,0 +1,24 @@
1
+ import React__default from 'react';
2
+ import { isInternalColumn } from '../../../useTableManager/util/columns.js';
3
+
4
+ function useSetInitialColumnSizing(id, width, element, canMeasureSize, setColumnSizing) {
5
+ React__default.useEffect(() => {
6
+ // columns must set a pixel width...
7
+ // otherwise when scrolling through the table, the column widths adjust based on the content
8
+ // of the column, this is because to the virtualisation mounting new rows and unmounting old ones
9
+ if (canMeasureSize && element && !Number.isInteger(width) && !isInternalColumn(id)) {
10
+ setColumnSizing(sizes => ({
11
+ ...sizes,
12
+ [id]: element.getBoundingClientRect().width
13
+ }));
14
+ }
15
+ }, [element, canMeasureSize, width]);
16
+ }
17
+ function getIsPinned(header) {
18
+ var _header$subHeaders, _header$subHeaders$fi;
19
+ // TODO: Is there a native function that does this check for groups?
20
+ return (_header$subHeaders = header.subHeaders) !== null && _header$subHeaders !== void 0 && _header$subHeaders.length ? (_header$subHeaders$fi = header.subHeaders.find(x => x.column.getIsPinned())) === null || _header$subHeaders$fi === void 0 ? void 0 : _header$subHeaders$fi.column.getIsPinned() : header.column.getIsPinned();
21
+ }
22
+
23
+ export { getIsPinned, useSetInitialColumnSizing };
24
+ //# sourceMappingURL=util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Header/util.ts"],"sourcesContent":["import React from 'react';\nimport { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';\nimport { TableColumnWidth } from '../../../types';\nimport { isInternalColumn } from '../../../useTableManager/util/columns';\n\nexport function useSetInitialColumnSizing(\n id: string,\n width: TableColumnWidth | undefined,\n element: HTMLTableCellElement | null,\n canMeasureSize: boolean,\n setColumnSizing: any\n) {\n React.useEffect(() => {\n // columns must set a pixel width...\n // otherwise when scrolling through the table, the column widths adjust based on the content\n // of the column, this is because to the virtualisation mounting new rows and unmounting old ones\n if (canMeasureSize && element && !Number.isInteger(width) && !isInternalColumn(id)) {\n setColumnSizing(sizes => ({\n ...sizes,\n [id]: element.getBoundingClientRect().width,\n }));\n }\n }, [element, canMeasureSize, width]);\n}\n\nexport function getIsPinned<TType = unknown>(\n header: ReactTableHeader<TType, unknown>\n): ReactTableColumnPinningPosition | undefined {\n // TODO: Is there a native function that does this check for groups?\n return header.subHeaders?.length\n ? header.subHeaders.find(x => x.column.getIsPinned())?.column.getIsPinned()\n : header.column.getIsPinned();\n}\n"],"names":["useSetInitialColumnSizing","id","width","element","canMeasureSize","setColumnSizing","React","useEffect","Number","isInteger","isInternalColumn","sizes","getBoundingClientRect","getIsPinned","header","_header$subHeaders","subHeaders","length","_header$subHeaders$fi","find","x","column"],"mappings":";;;SAKgBA,yBAAyBA,CACrCC,EAAU,EACVC,KAAmC,EACnCC,OAAoC,EACpCC,cAAuB,EACvBC,eAAoB;EAEpBC,cAAK,CAACC,SAAS,CAAC;;;;IAIZ,IAAIH,cAAc,IAAID,OAAO,IAAI,CAACK,MAAM,CAACC,SAAS,CAACP,KAAK,CAAC,IAAI,CAACQ,gBAAgB,CAACT,EAAE,CAAC,EAAE;MAChFI,eAAe,CAACM,KAAK,KAAK;QACtB,GAAGA,KAAK;QACR,CAACV,EAAE,GAAGE,OAAO,CAACS,qBAAqB,EAAE,CAACV;OACzC,CAAC,CAAC;;GAEV,EAAE,CAACC,OAAO,EAAEC,cAAc,EAAEF,KAAK,CAAC,CAAC;AACxC;SAEgBW,WAAWA,CACvBC,MAAwC;;;EAGxC,OAAO,CAAAC,kBAAA,GAAAD,MAAM,CAACE,UAAU,cAAAD,kBAAA,eAAjBA,kBAAA,CAAmBE,MAAM,IAAAC,qBAAA,GAC1BJ,MAAM,CAACE,UAAU,CAACG,IAAI,CAACC,CAAC,IAAIA,CAAC,CAACC,MAAM,CAACR,WAAW,EAAE,CAAC,cAAAK,qBAAA,uBAAnDA,qBAAA,CAAqDG,MAAM,CAACR,WAAW,EAAE,GACzEC,MAAM,CAACO,MAAM,CAACR,WAAW,EAAE;AACrC;;;;"}