@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
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManageFiltersPopover.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { Popover } from '../../../../../Popover/Popover';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { Button } from '../../../../../Button/Button';\nimport { Group } from '../../../../../Group/Group';\nimport { sortByHeader } from './util';\nimport { isInternalColumn } from '../../../../../../primitives/Table/useTable/util/columns';\nimport { TableFilter, TableFilterComparator, TableFilterValue } from '../../../../../../primitives/Table/types';\nimport { Filter } from './components/Filter';\n\nexport type ManageFiltersPopoverProps<TType = unknown> = {\n length: number;\n table: ReactTable<TType>;\n};\n\nconst placeholderFilter: TableFilter = { id: '', value: { comparator: TableFilterComparator.Contains, value: undefined } };\n\nexport function ManageFiltersPopover<TType = unknown>(props: ManageFiltersPopoverProps<TType>) {\n const { length, table, ...popoverProps } = props;\n const { locale, texts } = useLocalization();\n\n const allColumns = table\n .getAllLeafColumns()\n .filter(column => !isInternalColumn(column.id))\n .sort(sortByHeader);\n\n const appliedFilters = table.getState().columnFilters as TableFilter[];\n\n // state, since we \"apply\" filters - our filter values have a special shape, so we force to our type\n const [filters, setFilters] = React.useState<TableFilter[]>(appliedFilters.length ? appliedFilters : [placeholderFilter]);\n\n // filters might reset from the outside\n React.useEffect(() => {\n if (appliedFilters.length === 0) {\n setFilters([placeholderFilter]);\n }\n }, [appliedFilters]);\n\n // filters\n const handleChangeFilter = (position: number, filter: { id: string; value: TableFilterValue }) => {\n setFilters(currentFilters => {\n return currentFilters.map((current, index) => {\n if (index === position) {\n return filter;\n }\n return current;\n });\n });\n };\n\n const handleRemoveFilter = position => {\n if (filters.length === 1) {\n setFilters([placeholderFilter]);\n return;\n }\n\n setFilters(currentFilters => currentFilters.filter((_, index) => index !== position));\n };\n\n const handleCreate = () => {\n setFilters(filters.concat(placeholderFilter));\n };\n\n //\n const handleApply = () => {\n table.setColumnFilters(() => {\n const newFilters = filters.filter(f => {\n if (f.id === null || f.id === '') {\n return false;\n }\n\n const controlRenderer = allColumns.find(c => c.id === f.id)?.columnDef.meta?.control;\n\n if (\n f.value.comparator === TableFilterComparator.IsEmpty ||\n f.value.comparator === TableFilterComparator.IsNotEmpty ||\n controlRenderer === 'switch'\n ) {\n return true;\n }\n\n return !!f.value.value;\n });\n\n return newFilters;\n });\n };\n\n const handleClear = () => {\n table.resetColumnFilters();\n setFilters([placeholderFilter]);\n };\n\n const handleClose = () => {\n setFilters(appliedFilters.length === 0 ? [placeholderFilter] : appliedFilters);\n };\n\n return (\n <Popover {...popoverProps} onChange={handleClose}>\n <Popover.Content>\n <div className=\"flex w-[40rem] flex-col gap-4\">\n <div className=\"flex h-8\">\n <div className=\"flex w-full items-center gap-2\">\n <h4 className=\"mb-0 inline-flex\">{texts.table3.filters.button}</h4>\n <p className=\"text-grey-700 mb-0 mr-auto mt-px inline-flex\">\n {texts.table3.filters.total\n .replace(\n '[CURRENT]',\n new Intl.NumberFormat(locale).format(table.getFilteredRowModel().rows.length)\n )\n .replace('[TOTAL]', new Intl.NumberFormat(locale).format(length))}\n </p>\n </div>\n </div>\n <div className=\"flex flex-col gap-2\">\n {filters.map((filter, index) => (\n <Filter\n key={`filter_${index}`}\n allColumns={allColumns}\n filter={filter}\n filters={filters}\n position={index}\n onChange={handleChangeFilter}\n onRemove={\n (filters.length > 0 && filters.some(f => f.id)) || filters.length > 1\n ? handleRemoveFilter\n : undefined\n }\n />\n ))}\n <div className=\"justify-start\">\n <Button appearance=\"discrete\" onClick={handleCreate}>\n + {texts.table3.filters.buttons.addFilter}\n </Button>\n </div>\n </div>\n <Group className=\"ml-auto\">\n <Popover.Close>\n <Button>Cancel</Button>\n </Popover.Close>\n <Button onClick={handleClear}>Clear</Button>\n <Button appearance=\"primary\" onClick={handleApply}>\n Apply\n </Button>\n </Group>\n </div>\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["placeholderFilter","id","value","comparator","TableFilterComparator","Contains","undefined","ManageFiltersPopover","props","length","table","popoverProps","locale","texts","useLocalization","allColumns","getAllLeafColumns","filter","column","isInternalColumn","sort","sortByHeader","appliedFilters","getState","columnFilters","filters","setFilters","React","useState","useEffect","handleChangeFilter","position","currentFilters","map","current","index","handleRemoveFilter","_","handleCreate","concat","handleApply","setColumnFilters","newFilters","f","controlRenderer","_allColumns$find","find","c","_allColumns$find$colu","columnDef","meta","control","IsEmpty","IsNotEmpty","handleClear","resetColumnFilters","handleClose","Popover","onChange","Content","className","table3","button","total","replace","Intl","NumberFormat","format","getFilteredRowModel","rows","Filter","key","onRemove","some","Button","appearance","onClick","buttons","addFilter","Group","Close"],"mappings":";;;;;;;;;;AAgBA,MAAMA,iBAAiB,GAAgB;EAAEC,EAAE,EAAE,EAAE;EAAEC,KAAK,EAAE;IAAEC,UAAU,EAAEC,qBAAqB,CAACC,QAAQ;IAAEH,KAAK,EAAEI;;CAAa;SAE1GC,oBAAoBA,CAAkBC,KAAuC;EACzF,MAAM;IAAEC,MAAM;IAAEC,KAAK;IAAE,GAAGC;GAAc,GAAGH,KAAK;EAChD,MAAM;IAAEI,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAE3C,MAAMC,UAAU,GAAGL,KAAK,CACnBM,iBAAiB,EAAE,CACnBC,MAAM,CAACC,MAAM,IAAI,CAACC,gBAAgB,CAACD,MAAM,CAACjB,EAAE,CAAC,CAAC,CAC9CmB,IAAI,CAACC,YAAY,CAAC;EAEvB,MAAMC,cAAc,GAAGZ,KAAK,CAACa,QAAQ,EAAE,CAACC,aAA8B;;EAGtE,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAgBN,cAAc,CAACb,MAAM,GAAGa,cAAc,GAAG,CAACtB,iBAAiB,CAAC,CAAC;;EAGzH2B,cAAK,CAACE,SAAS,CAAC;IACZ,IAAIP,cAAc,CAACb,MAAM,KAAK,CAAC,EAAE;MAC7BiB,UAAU,CAAC,CAAC1B,iBAAiB,CAAC,CAAC;;GAEtC,EAAE,CAACsB,cAAc,CAAC,CAAC;;EAGpB,MAAMQ,kBAAkB,GAAGA,CAACC,QAAgB,EAAEd,MAA+C;IACzFS,UAAU,CAACM,cAAc;MACrB,OAAOA,cAAc,CAACC,GAAG,CAAC,CAACC,OAAO,EAAEC,KAAK;QACrC,IAAIA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QAAQ,EACH/C,OAAO,CAAChB,MAAM,GAAG,CAAC,IAAIgB,OAAO,CAACgD,IAAI,CAAC9B,CAAC,IAAIA,CAAC,CAAC1C,EAAE,CAAC,IAAKwB,OAAO,CAAChB,MAAM,GAAG,CAAC,GAC/D2B,kBAAkB,GAClB9B;IAEZ,CACL,CAAC,eACFqB;IAAKiC,SAAS,EAAC;kBACXjC,6BAAC+C,MAAM;IAACC,UAAU,EAAC,UAAU;IAACC,OAAO,EAAEtC;WAChCzB,KAAK,CAACgD,MAAM,CAACpC,OAAO,CAACoD,OAAO,CAACC,SAAS,CACpC,CACP,CACJ,eACNnD,6BAACoD,KAAK;IAACnB,SAAS,EAAC;kBACbjC,6BAAC8B,OAAO,CAACuB,KAAK,qBACVrD,6BAAC+C,MAAM,iBAAgB,CACX,eAChB/C,6BAAC+C,MAAM;IAACE,OAAO,EAAEtB;aAA2B,eAC5C3B,6BAAC+C,MAAM;IAACC,UAAU,EAAC,SAAS;IAACC,OAAO,EAAEpC;aAE7B,CACL,CACN,CACQ,CACZ;AAElB;;;;"}
@@ -1,102 +0,0 @@
1
- import React__default from 'react';
2
- import { IconButton } from '../../../../../../IconButton/IconButton.js';
3
- import { useLocalization } from '../../../../../../Provider/Localization.js';
4
- import { TableFilterComparator } from '../../../../../../../primitives/Table/types.js';
5
- import { FilterColumn } from './FilterColumn.js';
6
- import { FilterComparator } from './FilterComparator.js';
7
- import { FilterValue } from './FilterValue.js';
8
-
9
- function Filter(props) {
10
- const {
11
- allColumns,
12
- filter,
13
- filters,
14
- onChange: handleChange,
15
- onRemove,
16
- position
17
- } = props;
18
- const {
19
- texts
20
- } = useLocalization();
21
- const column = allColumns.find(c => c.id === filter.id);
22
- const ref = React__default.useRef(null);
23
- const {
24
- id,
25
- value: {
26
- comparator,
27
- value
28
- }
29
- } = filter;
30
- const handleChangeColumn = columnId => {
31
- var _previousColumn$colum, _nextColumn$columnDef;
32
- const previousColumn = allColumns.find(column => column.id === id);
33
- const nextColumn = allColumns.find(column => column.id === columnId);
34
- // UX requirement: if old column data type is the same as next column data type,
35
- // then we applying the same filter value for the next column,
36
- // but when data types are different, we're reseting comparator ans value for the next column
37
- const value = (previousColumn === null || previousColumn === void 0 ? void 0 : (_previousColumn$colum = previousColumn.columnDef.meta) === null || _previousColumn$colum === void 0 ? void 0 : _previousColumn$colum.dataType) === (nextColumn === null || nextColumn === void 0 ? void 0 : (_nextColumn$columnDef = nextColumn.columnDef.meta) === null || _nextColumn$columnDef === void 0 ? void 0 : _nextColumn$columnDef.dataType) ? filter.value : {
38
- comparator: TableFilterComparator.Contains,
39
- value: undefined
40
- };
41
- handleChange(position, {
42
- id: columnId,
43
- value
44
- });
45
- };
46
- const handleChangeComparator = comparator => {
47
- let nextValue = filter.value.value;
48
- if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {
49
- nextValue = undefined;
50
- }
51
- handleChange(position, {
52
- id,
53
- value: {
54
- comparator,
55
- value: nextValue
56
- }
57
- });
58
- };
59
- const handleChangeValue = value => {
60
- handleChange(position, {
61
- id,
62
- value: {
63
- ...filter.value,
64
- value
65
- }
66
- });
67
- };
68
- const handleRemove = () => onRemove === null || onRemove === void 0 ? void 0 : onRemove(position);
69
- React__default.useEffect(() => {
70
- if (ref.current && !id) {
71
- ref.current.focus(); // after adding a new filter placeholder, we want to focus it right way.
72
- }
73
- }, [id]);
74
- return /*#__PURE__*/React__default.createElement("div", {
75
- className: "flex items-start gap-2"
76
- }, /*#__PURE__*/React__default.createElement("div", {
77
- className: "flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"
78
- }, position > 0 ? texts.table3.filters.conditions.and : texts.table3.filters.conditions.where), /*#__PURE__*/React__default.createElement(FilterColumn, {
79
- allColumns: allColumns,
80
- filters: filters,
81
- onChange: handleChangeColumn,
82
- value: id,
83
- ref: ref
84
- }), /*#__PURE__*/React__default.createElement(FilterComparator, {
85
- column: column,
86
- onChange: handleChangeComparator,
87
- value: comparator
88
- }), /*#__PURE__*/React__default.createElement(FilterValue, {
89
- column: column,
90
- comparator: comparator,
91
- onChange: handleChangeValue,
92
- value: value
93
- }), onRemove ? /*#__PURE__*/React__default.createElement(IconButton, {
94
- appearance: "discrete",
95
- className: "ml-auto",
96
- icon: "close",
97
- onClick: handleRemove
98
- }) : null);
99
- }
100
-
101
- export { Filter };
102
- //# sourceMappingURL=Filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Filter.js","sources":["../../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/components/Filter.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { IconButton } from '../../../../../../IconButton/IconButton';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { FilterColumn } from './FilterColumn';\nimport { FilterComparator } from './FilterComparator';\nimport { FilterValue } from './FilterValue';\nimport { TableFilter, TableFilterComparator } from '../../../../../../../primitives/Table/types';\n\nexport type FilterProps<TType = unknown> = {\n allColumns: ReactTableColumn<TType, unknown>[];\n filter: TableFilter;\n filters: TableFilter[];\n position: number;\n onChange: (position: number, value: TableFilter) => void;\n onRemove?: (position: number) => void;\n};\n\nexport function Filter<TType = unknown>(props: FilterProps<TType>) {\n const { allColumns, filter, filters, onChange: handleChange, onRemove, position } = props;\n const { texts } = useLocalization();\n const column = allColumns.find(c => c.id === filter.id);\n const ref = React.useRef<HTMLButtonElement>(null);\n\n const {\n id,\n value: { comparator, value },\n } = filter;\n\n const handleChangeColumn = (columnId: string) => {\n const previousColumn = allColumns.find(column => column.id === id);\n const nextColumn = allColumns.find(column => column.id === columnId);\n // UX requirement: if old column data type is the same as next column data type,\n // then we applying the same filter value for the next column,\n // but when data types are different, we're reseting comparator ans value for the next column\n const value =\n previousColumn?.columnDef.meta?.dataType === nextColumn?.columnDef.meta?.dataType\n ? filter.value\n : {\n comparator: TableFilterComparator.Contains,\n value: undefined,\n };\n\n handleChange(position, { id: columnId, value });\n };\n\n const handleChangeComparator = (comparator: TableFilterComparator) => {\n let nextValue = filter.value.value;\n\n if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {\n nextValue = undefined;\n }\n handleChange(position, { id, value: { comparator, value: nextValue } });\n };\n\n const handleChangeValue = (value: any) => {\n handleChange(position, { id, value: { ...filter.value, value } });\n };\n\n const handleRemove = () => onRemove?.(position);\n\n React.useEffect(() => {\n if (ref.current && !id) {\n ref.current.focus(); // after adding a new filter placeholder, we want to focus it right way.\n }\n }, [id]);\n\n return (\n <div className=\"flex items-start gap-2\">\n <div className=\"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right\">\n {position > 0 ? texts.table3.filters.conditions.and : texts.table3.filters.conditions.where}\n </div>\n <FilterColumn\n allColumns={allColumns as any}\n filters={filters}\n onChange={handleChangeColumn as any}\n value={id}\n ref={ref}\n />\n <FilterComparator column={column} onChange={handleChangeComparator as any} value={comparator} />\n <FilterValue column={column} comparator={comparator} onChange={handleChangeValue} value={value} />\n {onRemove ? <IconButton appearance=\"discrete\" className=\"ml-auto\" icon=\"close\" onClick={handleRemove} /> : null}\n </div>\n );\n}\n"],"names":["Filter","props","allColumns","filter","filters","onChange","handleChange","onRemove","position","texts","useLocalization","column","find","c","id","ref","React","useRef","value","comparator","handleChangeColumn","columnId","previousColumn","nextColumn","_previousColumn$colum","columnDef","meta","dataType","_nextColumn$columnDef","TableFilterComparator","Contains","undefined","handleChangeComparator","nextValue","IsEmpty","IsNotEmpty","handleChangeValue","handleRemove","useEffect","current","focus","className","table3","conditions","and","where","FilterColumn","FilterComparator","FilterValue","IconButton","appearance","icon","onClick"],"mappings":";;;;;;;;SAkBgBA,MAAMA,CAAkBC,KAAyB;EAC7D,MAAM;IAAEC,UAAU;IAAEC,MAAM;IAAEC,OAAO;IAAEC,QAAQ,EAAEC,YAAY;IAAEC,QAAQ;IAAEC;GAAU,GAAGP,KAAK;EACzF,MAAM;IAAEQ;GAAO,GA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,EAAC,SAAS;IAACU,IAAI,EAAC,OAAO;IAACC,OAAO,EAAEf;IAAgB,GAAG,IAAI,CAC7G;AAEd;;;;"}
@@ -1,50 +0,0 @@
1
- import React__default from 'react';
2
- import { Icon } from '../../../../../../Icon/Icon.js';
3
- import { Tooltip } from '../../../../../../Tooltip/Tooltip.js';
4
- import { useLocalization } from '../../../../../../Provider/Localization.js';
5
- import { Field } from '../../../../../../Field/Field.js';
6
- import { Select2 } from '../../../../../../Select2/Select2.js';
7
-
8
- const FilterColumn = /*#__PURE__*/React__default.forwardRef((props, ref) => {
9
- const {
10
- allColumns,
11
- filters,
12
- onChange: handleChange,
13
- value = null,
14
- ...attributes
15
- } = props;
16
- const {
17
- texts
18
- } = useLocalization();
19
- const selectedColumn = allColumns.find(column => column.id === value);
20
- const warning = selectedColumn && !selectedColumn.getIsVisible();
21
- return /*#__PURE__*/React__default.createElement("div", {
22
- className: "flex flex-col"
23
- }, /*#__PURE__*/React__default.createElement(Field, {
24
- message: warning ? texts.table3.filters.hiddenColumn : undefined,
25
- warning: warning,
26
- className: "min-h-[theme(spacing.8)]"
27
- }, /*#__PURE__*/React__default.createElement(Select2, Object.assign({}, attributes, {
28
- ref: ref,
29
- className: "focus:yt-focus !w-32 flex-shrink-0 ",
30
- emptyValue: null,
31
- onChange: handleChange,
32
- value: value
33
- }), allColumns.map(column => {
34
- var _column$columnDef$met, _column$parent, _column$parent$column;
35
- return /*#__PURE__*/React__default.createElement(Select2.Option, {
36
- key: column.id,
37
- value: column.id,
38
- postfix: !column.getIsVisible() || column.getIsGrouped() ? ( /*#__PURE__*/React__default.createElement(Tooltip, {
39
- title: column.getIsGrouped() ? texts.table3.filters.hiddenGroupedColumn : texts.table3.filters.hiddenColumn
40
- }, /*#__PURE__*/React__default.createElement(Icon, {
41
- name: "eye-off",
42
- className: "text-grey-500 !h-5 !w-5"
43
- }))) : undefined,
44
- disabled: column.id !== value && (!column.getCanFilter() || !!filters.find(f => f.id === column.id))
45
- }, ((_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header) + (column.parent ? ` (${(_column$parent = column.parent) === null || _column$parent === void 0 ? void 0 : (_column$parent$column = _column$parent.columnDef.meta) === null || _column$parent$column === void 0 ? void 0 : _column$parent$column.header})` : ''));
46
- }))));
47
- });
48
-
49
- export { FilterColumn };
50
- //# sourceMappingURL=FilterColumn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterColumn.js","sources":["../../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { Select2, Select2Props } from '../../../../../../Select2/Select2';\nimport { Icon } from '../../../../../../Icon/Icon';\nimport { Tooltip } from '../../../../../../Tooltip/Tooltip';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { Field } from '../../../../../../Field/Field';\nimport { TableFilter } from '../../../../../../../primitives/Table/types';\n\nexport type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'children'> & {\n allColumns: ReactTableColumn<TType, unknown>[];\n filters: TableFilter[];\n};\n\nexport const FilterColumn = React.forwardRef<HTMLButtonElement, FilterColumnProps>((props, ref) => {\n const { allColumns, filters, onChange: handleChange, value = null, ...attributes } = props;\n const { texts } = useLocalization();\n const selectedColumn = allColumns.find(column => column.id === value);\n const warning = selectedColumn && !selectedColumn.getIsVisible();\n\n return (\n <div className=\"flex flex-col\">\n <Field\n message={warning ? texts.table3.filters.hiddenColumn : undefined}\n warning={warning}\n className=\"min-h-[theme(spacing.8)]\">\n <Select2\n {...attributes}\n ref={ref}\n className=\"focus:yt-focus !w-32 flex-shrink-0 \"\n emptyValue={null}\n onChange={handleChange}\n value={value}>\n {allColumns.map(column => (\n <Select2.Option\n key={column.id}\n value={column.id}\n postfix={\n !column.getIsVisible() || column.getIsGrouped() ? (\n <Tooltip\n title={\n column.getIsGrouped()\n ? texts.table3.filters.hiddenGroupedColumn\n : texts.table3.filters.hiddenColumn\n }>\n <Icon name=\"eye-off\" className=\"text-grey-500 !h-5 !w-5\" />\n </Tooltip>\n ) : undefined\n }\n disabled={column.id !== value && (!column.getCanFilter() || !!filters.find(f => f.id === column.id))}>\n {(column.columnDef.meta?.header as string) +\n (column.parent ? ` (${column.parent?.columnDef.meta?.header})` : '')}\n </Select2.Option>\n ))}\n </Select2>\n </Field>\n </div>\n );\n});\n"],"names":["FilterColumn","React","forwardRef","props","ref","allColumns","filters","onChange","handleChange","value","attributes","texts","useLocalization","selectedColumn","find","column","id","warning","getIsVisible","className","Field","message","table3","hiddenColumn","undefined","Select2","emptyValue","map","_column$columnDef$met","_column$parent","_column$parent$column","Option","key","postfix","getIsGrouped","Tooltip","title","hiddenGroupedColumn","Icon","name","disabled","getCanFilter","f","columnDef","meta","header","parent"],"mappings":";;;;;;;MAcaA,YAAY,gBAAGC,cAAK,CAACC,UAAU,CAAuC,CAACC,KAAK,EAAEC,GAAG;EAC1F,MAAM;IAAEC,UAAU;IAAEC,OAAO;IAAEC,QAAQ,EAAEC,YAAY;IAAEC,KAAK,GAAG,IAAI;IAAE,GAAGC;GAAY,GAAGP,KAAK;EAC1F,MAAM;IAAEQ;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,cAAc,GAAGR,UAAU,CAACS,IAAI,CAACC,MAAM,IAAIA,MAAM,CAACC,EAAE,KAAKP,KAAK,CAAC;EACrE,MAAMQ,OAAO,GAAGJ,cAAc,IAAI,CAACA,cAAc,CAACK,YAAY,EAAE;EAEhE,oBACIjB;IAAKkB,SAAS,EAAC;kBACXlB,6BAACmB,KAAK;IACFC,OAAO,EAAEJ,OAAO,GAAGN,KAAK,CAACW,MAAM,CAAChB,OAAO,CAACiB,YAAY,GAAGC,SAAS;IAChEP,OAAO,EAAEA,OAAO;IAChBE,SAAS,EAAC;kBACVlB,6BAACwB,OAAO,oBACAf,UAAU;IACdN,GAAG,EAAEA,GAAG;IACRe,SAAS,EAAC,qCAA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import { useLocalization } from '../../../../../../Provider/Localization.js';
3
- import { TableFilterComparator } from '../../../../../../../primitives/Table/types.js';
4
- import { Select2 } from '../../../../../../Select2/Select2.js';
5
-
6
- function FilterComparator(props) {
7
- const {
8
- column,
9
- onChange: handleChange,
10
- value,
11
- ...attributes
12
- } = props;
13
- const {
14
- texts
15
- } = useLocalization();
16
- const validComparators = guessComparatorsBasedOnControl(column);
17
- React__default.useEffect(() => {
18
- if (value === undefined || !validComparators.includes(value)) {
19
- handleChange === null || handleChange === void 0 ? void 0 : handleChange(validComparators[0]);
20
- }
21
- }, [validComparators]);
22
- return /*#__PURE__*/React__default.createElement(Select2, Object.assign({}, attributes, {
23
- className: "!w-32 flex-shrink-0",
24
- disabled: !column,
25
- onChange: handleChange,
26
- value: value
27
- }), validComparators.map(comparator => ( /*#__PURE__*/React__default.createElement(Select2.Option, {
28
- key: comparator,
29
- value: comparator
30
- }, getComparatorText(comparator, texts, column)))));
31
- }
32
- function guessComparatorsBasedOnControl(column) {
33
- var _column$columnDef$met;
34
- const columnMeta = (_column$columnDef$met = column === null || column === void 0 ? void 0 : column.columnDef.meta) !== null && _column$columnDef$met !== void 0 ? _column$columnDef$met : {};
35
- if (Array.isArray(columnMeta.filters)) {
36
- return columnMeta.filters;
37
- }
38
- if (typeof columnMeta.control === 'function') {
39
- const renderedControl = columnMeta.control({
40
- onBlur: () => undefined,
41
- onFocus: () => undefined,
42
- setValue: () => undefined,
43
- value: undefined,
44
- disabled: false,
45
- readOnly: false,
46
- ref: undefined
47
- });
48
- if ( /*#__PURE__*/React__default.isValidElement(renderedControl)) {
49
- const {
50
- props,
51
- type
52
- } = renderedControl;
53
- if (type.displayName === 'Select2') {
54
- if (props.multiple) {
55
- return [TableFilterComparator.HasAnyOf, TableFilterComparator.HasAllOf, TableFilterComparator.IsEqualTo, TableFilterComparator.HasNoneOf, TableFilterComparator.IsEmpty, TableFilterComparator.IsNotEmpty];
56
- }
57
- return [TableFilterComparator.IsEqualTo, TableFilterComparator.IsNotEqualTo, TableFilterComparator.IsEmpty, TableFilterComparator.IsNotEmpty];
58
- }
59
- }
60
- }
61
- if (columnMeta.dataType === 'number') {
62
- return [TableFilterComparator.IsEqualTo, TableFilterComparator.IsNotEqualTo, TableFilterComparator.IsGreaterThan, TableFilterComparator.IsLessThan, TableFilterComparator.IsBetween, TableFilterComparator.IsEmpty, TableFilterComparator.IsNotEmpty];
63
- }
64
- if (columnMeta.control === 'datepicker' || columnMeta.dataType === 'datetime') {
65
- return [TableFilterComparator.IsEqualTo, TableFilterComparator.IsNotEqualTo, TableFilterComparator.IsBetween, TableFilterComparator.IsLessThan, TableFilterComparator.IsGreaterThan, TableFilterComparator.IsEmpty, TableFilterComparator.IsNotEmpty, TableFilterComparator.IsLessThanOrEqualTo, TableFilterComparator.IsGreaterThanOrEqualTo];
66
- }
67
- if (columnMeta.control === 'switch') {
68
- return [TableFilterComparator.IsEqualTo];
69
- }
70
- return [TableFilterComparator.Contains, TableFilterComparator.DoesNotContain, TableFilterComparator.IsEqualTo, TableFilterComparator.IsNotEqualTo, TableFilterComparator.IsEmpty, TableFilterComparator.IsNotEmpty];
71
- }
72
- function getComparatorText(comparator, texts, column) {
73
- var _column$columnDef, _column$columnDef$met2;
74
- const isDate = (column === null || column === void 0 ? void 0 : (_column$columnDef = column.columnDef) === null || _column$columnDef === void 0 ? void 0 : (_column$columnDef$met2 = _column$columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.control) === 'datepicker';
75
- switch (comparator) {
76
- case TableFilterComparator.Contains:
77
- return texts.table3.filters.comparators.contains;
78
- case TableFilterComparator.DoesNotContain:
79
- return texts.table3.filters.comparators.doesNotContain;
80
- case TableFilterComparator.IsEqualTo:
81
- return texts.table3.filters.comparators.isEqualTo;
82
- case TableFilterComparator.IsNotEqualTo:
83
- return texts.table3.filters.comparators.isNotEqualTo;
84
- case TableFilterComparator.IsGreaterThan:
85
- return isDate ? texts.table3.filters.comparators.isAfter : texts.table3.filters.comparators.isGreaterThan;
86
- case TableFilterComparator.IsLessThan:
87
- return isDate ? texts.table3.filters.comparators.isBefore : texts.table3.filters.comparators.isLessThan;
88
- case TableFilterComparator.IsBetween:
89
- return texts.table3.filters.comparators.isBetween;
90
- case TableFilterComparator.IsEmpty:
91
- return texts.table3.filters.comparators.isEmpty;
92
- case TableFilterComparator.IsNotEmpty:
93
- return texts.table3.filters.comparators.isNotEmpty;
94
- case TableFilterComparator.IsLessThanOrEqualTo:
95
- return isDate ? texts.table3.filters.comparators.isOnOrBefore : texts.table3.filters.comparators.isLessThanOrEqualTo;
96
- case TableFilterComparator.IsGreaterThanOrEqualTo:
97
- return isDate ? texts.table3.filters.comparators.isOnOrAfter : texts.table3.filters.comparators.isGreaterThanOrEqualTo;
98
- case TableFilterComparator.HasAnyOf:
99
- return texts.table3.filters.comparators.hasAnyOf;
100
- case TableFilterComparator.HasAllOf:
101
- return texts.table3.filters.comparators.hasAllOf;
102
- case TableFilterComparator.HasNoneOf:
103
- return texts.table3.filters.comparators.hasNoneOf;
104
- default:
105
- return '';
106
- }
107
- }
108
-
109
- export { FilterComparator };
110
- //# sourceMappingURL=FilterComparator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterComparator.js","sources":["../../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as ReactTableColumn, ColumnMeta as ReactTableColumnMeta } from '@tanstack/react-table';\nimport { Select2, Select2Props } from '../../../../../../Select2/Select2';\nimport { LocalizationTexts, useLocalization } from '../../../../../../Provider/Localization';\nimport { TableFilterComparator } from '../../../../../../../primitives/Table/types';\n\nexport type FilterComparatorProps<TType = unknown> = Omit<Select2Props, 'children'> & {\n column?: ReactTableColumn<TType, unknown>;\n};\n\nexport function FilterComparator<TType = unknown>(props: FilterComparatorProps<TType>) {\n const { column, onChange: handleChange, value, ...attributes } = props;\n const { texts } = useLocalization();\n\n const validComparators = guessComparatorsBasedOnControl(column);\n\n React.useEffect(() => {\n if (value === undefined || !validComparators.includes(value as number)) {\n handleChange?.(validComparators[0]);\n }\n }, [validComparators]);\n\n return (\n <Select2 {...attributes} className=\"!w-32 flex-shrink-0\" disabled={!column} onChange={handleChange} value={value}>\n {validComparators.map(comparator => (\n <Select2.Option key={comparator} value={comparator}>\n {getComparatorText(comparator, texts, column)}\n </Select2.Option>\n ))}\n </Select2>\n );\n}\n\nfunction guessComparatorsBasedOnControl<TType = unknown>(column?: ReactTableColumn<TType>): TableFilterComparator[] {\n const columnMeta = (column?.columnDef.meta ?? {}) as ReactTableColumnMeta<TType, unknown>;\n\n if (Array.isArray(columnMeta.filters)) {\n return (columnMeta as any).filters;\n }\n\n if (typeof columnMeta.control === 'function') {\n const renderedControl = columnMeta.control({\n onBlur: () => undefined,\n onFocus: () => undefined,\n setValue: () => undefined,\n value: undefined,\n disabled: false,\n readOnly: false,\n ref: undefined as any,\n });\n\n if (React.isValidElement(renderedControl)) {\n const { props, type } = renderedControl as any;\n\n if (type.displayName === 'Select2') {\n if (props.multiple) {\n return [\n TableFilterComparator.HasAnyOf,\n TableFilterComparator.HasAllOf,\n TableFilterComparator.IsEqualTo,\n TableFilterComparator.HasNoneOf,\n TableFilterComparator.IsEmpty,\n TableFilterComparator.IsNotEmpty,\n ];\n }\n\n return [\n TableFilterComparator.IsEqualTo,\n TableFilterComparator.IsNotEqualTo,\n TableFilterComparator.IsEmpty,\n TableFilterComparator.IsNotEmpty,\n ];\n }\n }\n }\n\n if (columnMeta.dataType === 'number') {\n return [\n TableFilterComparator.IsEqualTo,\n TableFilterComparator.IsNotEqualTo,\n TableFilterComparator.IsGreaterThan,\n TableFilterComparator.IsLessThan,\n TableFilterComparator.IsBetween,\n TableFilterComparator.IsEmpty,\n TableFilterComparator.IsNotEmpty,\n ];\n }\n\n if (columnMeta.control === 'datepicker' || columnMeta.dataType === 'datetime') {\n return [\n TableFilterComparator.IsEqualTo,\n TableFilterComparator.IsNotEqualTo,\n TableFilterComparator.IsBetween,\n TableFilterComparator.IsLessThan,\n TableFilterComparator.IsGreaterThan,\n TableFilterComparator.IsEmpty,\n TableFilterComparator.IsNotEmpty,\n TableFilterComparator.IsLessThanOrEqualTo,\n TableFilterComparator.IsGreaterThanOrEqualTo,\n ];\n }\n\n if (columnMeta.control === 'switch') {\n return [TableFilterComparator.IsEqualTo];\n }\n\n return [\n TableFilterComparator.Contains,\n TableFilterComparator.DoesNotContain,\n TableFilterComparator.IsEqualTo,\n TableFilterComparator.IsNotEqualTo,\n TableFilterComparator.IsEmpty,\n TableFilterComparator.IsNotEmpty,\n ];\n}\n\nfunction getComparatorText<TType = unknown>(\n comparator: TableFilterComparator,\n texts: LocalizationTexts,\n column?: ReactTableColumn<TType, unknown>\n) {\n const isDate = column?.columnDef?.meta?.control === 'datepicker';\n\n switch (comparator) {\n case TableFilterComparator.Contains:\n return texts.table3.filters.comparators.contains;\n\n case TableFilterComparator.DoesNotContain:\n return texts.table3.filters.comparators.doesNotContain;\n\n case TableFilterComparator.IsEqualTo:\n return texts.table3.filters.comparators.isEqualTo;\n\n case TableFilterComparator.IsNotEqualTo:\n return texts.table3.filters.comparators.isNotEqualTo;\n\n case TableFilterComparator.IsGreaterThan:\n return isDate ? texts.table3.filters.comparators.isAfter : texts.table3.filters.comparators.isGreaterThan;\n\n case TableFilterComparator.IsLessThan:\n return isDate ? texts.table3.filters.comparators.isBefore : texts.table3.filters.comparators.isLessThan;\n\n case TableFilterComparator.IsBetween:\n return texts.table3.filters.comparators.isBetween;\n\n case TableFilterComparator.IsEmpty:\n return texts.table3.filters.comparators.isEmpty;\n\n case TableFilterComparator.IsNotEmpty:\n return texts.table3.filters.comparators.isNotEmpty;\n\n case TableFilterComparator.IsLessThanOrEqualTo:\n return isDate ? texts.table3.filters.comparators.isOnOrBefore : texts.table3.filters.comparators.isLessThanOrEqualTo;\n\n case TableFilterComparator.IsGreaterThanOrEqualTo:\n return isDate\n ? texts.table3.filters.comparators.isOnOrAfter\n : texts.table3.filters.comparators.isGreaterThanOrEqualTo;\n\n case TableFilterComparator.HasAnyOf:\n return texts.table3.filters.comparators.hasAnyOf;\n\n case TableFilterComparator.HasAllOf:\n return texts.table3.filters.comparators.hasAllOf;\n\n case TableFilterComparator.HasNoneOf:\n return texts.table3.filters.comparators.hasNoneOf;\n\n default:\n return '';\n }\n}\n"],"names":["FilterComparator","props","column","onChange","handleChange","value","attributes","texts","useLocalization","validComparators","guessComparatorsBasedOnControl","React","useEffect","undefined","includes","Select2","className","disabled","map","comparator","Option","key","getComparatorText","columnMeta","_column$columnDef$met","columnDef","meta","Array","isArray","filters","control","renderedControl","onBlur","onFocus","setValue","readOnly","ref","isValidElement","type","displayName","multiple","TableFilterComparator","HasAnyOf","HasAllOf","IsEqualTo","HasNoneOf","IsEmpty","IsNotEmpty","IsNotEqualTo","dataType","IsGreaterThan","IsLessThan","IsBetween","IsLessThanOrEqualTo","IsGreaterThanOrEqualTo","Contains","DoesNotContain","isDate","_column$columnDef","_column$columnDef$met2","table3","comparators","contains","doesNotContain","isEqualTo","isNotEqualTo","isAfter","isGreaterThan","isBefore","isLessThan","isBetween","isEmpty","isNotEmpty","isOnOrBefore","isLessThanOrEqualTo","isOnOrAfter","isGreaterThanOrEqualTo","hasAnyOf","hasAllOf","hasNoneOf"],"mappings":";;;;;SAUgBA,gBAAgBA,CAAkBC,KAAmC;EACjF,MAAM;IAAEC,MAAM;IAAEC,QAAQ,EAAEC,YAAY;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGL,KAAK;EACtE,MAAM;IAAEM;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,gBAAgB,GAAGC,8BAA8B,CAACR,MAAM,CAAC;EAE/DS,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIP,KAAK,KAAKQ,SAAS,IAAI,CAACJ,gBAAgB,CAACK,QAAQ,CAACT,KAAe,CAAC,EAAE;MACpED,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAGK,gBAAgB,CAAC,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AAC/B,OAAO,CAACgC,WAAW,CAACS,SAAS;IAErD,KAAK7B,qBAAqB,CAACK,OAAO;MAC9B,OAAOvC,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACU,OAAO;IAEnD,KAAK9B,qBAAqB,CAACM,UAAU;MACjC,OAAOxC,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACW,UAAU;IAEtD,KAAK/B,qBAAqB,CAACY,mBAAmB;MAC1C,OAAOI,MAAM,GAAGlD,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACY,YAAY,GAAGlE,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACa,mBAAmB;IAExH,KAAKjC,qBAAqB,CAACa,sBAAsB;MAC7C,OAAOG,MAAM,GACPlD,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACc,WAAW,GAC5CpE,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACe,sBAAsB;IAEjE,KAAKnC,qBAAqB,CAACC,QAAQ;MAC/B,OAAOnC,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACgB,QAAQ;IAEpD,KAAKpC,qBAAqB,CAACE,QAAQ;MAC/B,OAAOpC,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACiB,QAAQ;IAEpD,KAAKrC,qBAAqB,CAACI,SAAS;MAChC,OAAOtC,KAAK,CAACqD,MAAM,CAAC/B,OAAO,CAACgC,WAAW,CAACkB,SAAS;IAErD;MACI,OAAO,EAAE;;AAErB;;;;"}
@@ -1,118 +0,0 @@
1
- import React__default, { useEffect } from 'react';
2
- import { useLocalization } from '../../../../../../Provider/Localization.js';
3
- import { Input } from '../../../../../../Input/Input.js';
4
- import { Datepicker } from '../../../../../../Datepicker/Datepicker.js';
5
- import { TableFilterComparator } from '../../../../../../../primitives/Table/types.js';
6
- import { Switch } from '../../../../../../Switch/Switch.js';
7
-
8
- function FilterValue(props) {
9
- const {
10
- column,
11
- comparator,
12
- onChange: handleChange,
13
- value
14
- } = props;
15
- const {
16
- texts
17
- } = useLocalization();
18
- if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {
19
- return null;
20
- }
21
- if (comparator === TableFilterComparator.IsBetween) {
22
- var _column$columnDef$met;
23
- const fromValue = Array.isArray(value) ? value[0] : undefined;
24
- const toValue = Array.isArray(value) ? value[1] : undefined;
25
- if (column === undefined) {
26
- return /*#__PURE__*/React__default.createElement(Input, {
27
- "aria-label": texts.table3.filters.emptyFilter.value,
28
- className: "flex-grow",
29
- disabled: true,
30
- value: texts.table3.filters.emptyFilter.value
31
- });
32
- }
33
- if (((_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.dataType) === 'datetime') {
34
- return /*#__PURE__*/React__default.createElement("div", {
35
- className: "flex flex-grow items-center gap-2"
36
- }, /*#__PURE__*/React__default.createElement(Control, {
37
- column: column,
38
- onChange: value => handleChange([value, toValue]),
39
- value: fromValue
40
- }), /*#__PURE__*/React__default.createElement(Control, {
41
- column: column,
42
- onChange: value => handleChange([fromValue, value]),
43
- value: toValue
44
- }));
45
- }
46
- return /*#__PURE__*/React__default.createElement("div", {
47
- className: "flex flex-grow items-center gap-2"
48
- }, /*#__PURE__*/React__default.createElement(Control, {
49
- column: column,
50
- onChange: value => handleChange([isNaN(value) ? undefined : value, toValue]),
51
- placeholder: "from",
52
- value: fromValue !== null && fromValue !== void 0 ? fromValue : ''
53
- }), /*#__PURE__*/React__default.createElement(Control, {
54
- column: column,
55
- onChange: value => handleChange([fromValue, isNaN(value) ? undefined : value]),
56
- placeholder: "to",
57
- value: toValue !== null && toValue !== void 0 ? toValue : ''
58
- }));
59
- }
60
- return /*#__PURE__*/React__default.createElement(Control, {
61
- comparator: comparator,
62
- column: column,
63
- onChange: handleChange,
64
- value: value
65
- });
66
- }
67
- function Control(props) {
68
- var _column$columnDef$met2, _column$columnDef$met3;
69
- const {
70
- column,
71
- comparator,
72
- onChange,
73
- value,
74
- ...attributes
75
- } = props;
76
- const controlRenderer = column === null || column === void 0 ? void 0 : (_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.control;
77
- const dataType = column === null || column === void 0 ? void 0 : (_column$columnDef$met3 = column.columnDef.meta) === null || _column$columnDef$met3 === void 0 ? void 0 : _column$columnDef$met3.dataType;
78
- useEffect(() => {
79
- if (controlRenderer === 'switch') {
80
- onChange(false);
81
- }
82
- }, []);
83
- if (typeof controlRenderer === 'function') {
84
- return controlRenderer({
85
- ...attributes,
86
- setValue: value => onChange(value),
87
- value
88
- });
89
- } else if (controlRenderer === 'datepicker' || dataType === 'datetime') {
90
- return /*#__PURE__*/React__default.createElement(Datepicker, Object.assign({}, attributes, {
91
- onChange: event => onChange(event.detail),
92
- value: value
93
- }));
94
- } else if (controlRenderer === 'switch') {
95
- return /*#__PURE__*/React__default.createElement(Switch, Object.assign({}, attributes, {
96
- className: "m-1.5",
97
- checked: Boolean(value),
98
- onChange: onChange
99
- }));
100
- } else if ((controlRenderer === 'input' || controlRenderer === undefined) && dataType === 'number') {
101
- return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, attributes, {
102
- className: "flex-grow",
103
- type: "number",
104
- onChange: event => onChange(event.target.valueAsNumber),
105
- value: String(value !== null && value !== void 0 ? value : '')
106
- }));
107
- }
108
- return /*#__PURE__*/React__default.createElement(Input, Object.assign({
109
- disabled: !column
110
- }, attributes, {
111
- className: "flex-grow",
112
- onChange: event => onChange(event.target.value),
113
- value: String(value !== null && value !== void 0 ? value : '')
114
- }));
115
- }
116
-
117
- export { FilterValue };
118
- //# sourceMappingURL=FilterValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterValue.js","sources":["../../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/components/FilterValue.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { Input } from '../../../../../../Input/Input';\nimport { Datepicker } from '../../../../../../Datepicker/Datepicker';\nimport { Switch } from '../../../../../../Switch/Switch';\nimport { useLocalization } from '../../../../../../Provider/Localization';\nimport { TableFilterComparator } from '../../../../../../../primitives/Table/types';\n\nexport type FilterValueProps<TType = unknown> = {\n column?: ReactTableColumn<TType, unknown>;\n comparator: TableFilterComparator;\n onChange: (value: any) => void;\n value: any;\n};\n\nexport function FilterValue<TType = unknown>(props: FilterValueProps<TType>) {\n const { column, comparator, onChange: handleChange, value } = props;\n const { texts } = useLocalization();\n\n if (comparator === TableFilterComparator.IsEmpty || comparator === TableFilterComparator.IsNotEmpty) {\n return null;\n }\n\n if (comparator === TableFilterComparator.IsBetween) {\n const fromValue = Array.isArray(value) ? value[0] : undefined;\n const toValue = Array.isArray(value) ? value[1] : undefined;\n\n if (column === undefined) {\n return (\n <Input\n aria-label={texts.table3.filters.emptyFilter.value}\n className=\"flex-grow\"\n disabled\n value={texts.table3.filters.emptyFilter.value}\n />\n );\n }\n\n if (column.columnDef.meta?.dataType === 'datetime') {\n return (\n <div className=\"flex flex-grow items-center gap-2\">\n <Control column={column} onChange={value => handleChange([value, toValue])} value={fromValue} />\n <Control column={column} onChange={value => handleChange([fromValue, value])} value={toValue} />\n </div>\n );\n }\n\n return (\n <div className=\"flex flex-grow items-center gap-2\">\n <Control\n column={column}\n onChange={value => handleChange([isNaN(value) ? undefined : value, toValue])}\n placeholder=\"from\"\n value={fromValue ?? ''}\n />\n <Control\n column={column}\n onChange={value => handleChange([fromValue, isNaN(value) ? undefined : value])}\n placeholder=\"to\"\n value={toValue ?? ''}\n />\n </div>\n );\n }\n return <Control comparator={comparator} column={column} onChange={handleChange} value={value} />;\n}\n\nfunction Control(props) {\n const { column, comparator, onChange, value, ...attributes } = props;\n const controlRenderer = column?.columnDef.meta?.control;\n const dataType = column?.columnDef.meta?.dataType;\n\n useEffect(() => {\n if (controlRenderer === 'switch') {\n onChange(false);\n }\n }, []);\n\n if (typeof controlRenderer === 'function') {\n return controlRenderer({\n ...attributes,\n setValue: value => onChange(value),\n value,\n });\n } else if (controlRenderer === 'datepicker' || dataType === 'datetime') {\n return <Datepicker {...attributes} onChange={event => onChange((event as any).detail)} value={value as Date} />;\n } else if (controlRenderer === 'switch') {\n return <Switch {...attributes} className=\"m-1.5\" checked={Boolean(value)} onChange={onChange} />;\n } else if ((controlRenderer === 'input' || controlRenderer === undefined) && dataType === 'number') {\n return (\n <Input\n {...attributes}\n className=\"flex-grow\"\n type=\"number\"\n onChange={event => onChange(event.target.valueAsNumber)}\n value={String(value ?? '')}\n />\n );\n }\n\n return (\n <Input\n disabled={!column}\n {...attributes}\n className=\"flex-grow\"\n onChange={event => onChange(event.target.value)}\n value={String(value ?? '')}\n />\n );\n}\n"],"names":["FilterValue","props","column","comparator","onChange","handleChange","value","texts","useLocalization","TableFilterComparator","IsEmpty","IsNotEmpty","IsBetween","_column$columnDef$met","fromValue","Array","isArray","undefined","toValue","React","Input","table3","filters","emptyFilter","className","disabled","columnDef","meta","dataType","Control","isNaN","placeholder","attributes","controlRenderer","_column$columnDef$met2","control","_column$columnDef$met3","useEffect","setValue","Datepicker","event","detail","Switch","checked","Boolean","type","target","valueAsNumber","String"],"mappings":";;;;;;;SAegBA,WAAWA,CAAkBC,KAA8B;EACvE,MAAM;IAAEC,MAAM;IAAEC,UAAU;IAAEC,QAAQ,EAAEC,YAAY;IAAEC;GAAO,GAAGL,KAAK;EACnE,MAAM;IAAEM;GAAO,GAAGC,eAAe,EAAE;EAEnC,IAAIL,UAAU,KAAKM,qBAAqB,CAACC,OAAO,IAAIP,UAAU,KAAKM,qBAAqB,CAACE,UAAU,EAAE;IACjG,OAAO,IAAI;;EAGf,IAAIR,UAAU,KAAKM,qBAAqB,CAACG,SAAS,EAAE;IAAA,IAAAC,qBAAA;IAChD,MAAMC,SAAS,GAAGC,KAAK,CAACC,OA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AAE5B,QAAQ,EAAEoC,KAAK,IAAIpC,QAAQ,CAAEoC,KAAa,CAACC,MAAM,CAAC;MAAEnC,KAAK,EAAEA;OAAiB;GAClH,MAAM,IAAI2B,eAAe,KAAK,QAAQ,EAAE;IACrC,oBAAOd,6BAACuB,MAAM,oBAAKV,UAAU;MAAER,SAAS,EAAC,OAAO;MAACmB,OAAO,EAAEC,OAAO,CAACtC,KAAK,CAAC;MAAEF,QAAQ,EAAEA;OAAY;GACnG,MAAM,IAAI,CAAC6B,eAAe,KAAK,OAAO,IAAIA,eAAe,KAAKhB,SAAS,KAAKW,QAAQ,KAAK,QAAQ,EAAE;IAChG,oBACIT,6BAACC,KAAK,oBACEY,UAAU;MACdR,SAAS,EAAC,WAAW;MACrBqB,IAAI,EAAC,QAAQ;MACbzC,QAAQ,EAAEoC,KAAK,IAAIpC,QAAQ,CAACoC,KAAK,CAACM,MAAM,CAACC,aAAa,CAAC;MACvDzC,KAAK,EAAE0C,MAAM,CAAC1C,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,EAAE;OAC3B;;EAIV,oBACIa,6BAACC,KAAK;IACFK,QAAQ,EAAE,CAACvB;KACP8B,UAAU;IACdR,SAAS,EAAC,WAAW;IACrBpB,QAAQ,EAAEoC,KAAK,IAAIpC,QAAQ,CAACoC,KAAK,CAACM,MAAM,CAACxC,KAAK,CAAC;IAC/CA,KAAK,EAAE0C,MAAM,CAAC1C,KAAK,aAALA,KAAK,cAALA,KAAK,GAAI,EAAE;KAC3B;AAEV;;;;"}
@@ -1,7 +0,0 @@
1
- function sortByHeader(a, b) {
2
- var _a$columnDef$meta, _a$columnDef$meta$hea, _a$columnDef$meta$hea2, _b$columnDef$meta;
3
- return (_a$columnDef$meta = a.columnDef.meta) === null || _a$columnDef$meta === void 0 ? void 0 : (_a$columnDef$meta$hea = _a$columnDef$meta.header) === null || _a$columnDef$meta$hea === void 0 ? void 0 : (_a$columnDef$meta$hea2 = _a$columnDef$meta$hea.localeCompare) === null || _a$columnDef$meta$hea2 === void 0 ? void 0 : _a$columnDef$meta$hea2.call(_a$columnDef$meta$hea, (_b$columnDef$meta = b.columnDef.meta) === null || _b$columnDef$meta === void 0 ? void 0 : _b$columnDef$meta.header);
4
- }
5
-
6
- export { sortByHeader };
7
- //# sourceMappingURL=util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.js","sources":["../../../../../../../../../../../src/components/Report/components/Toolbar/components/Filters/util.ts"],"sourcesContent":["import { Column as ReactTableColumn } from '@tanstack/react-table';\n\nexport function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>) {\n return (a.columnDef.meta?.header as string)?.localeCompare?.(b.columnDef.meta?.header as string);\n}\n"],"names":["sortByHeader","a","b","_a$columnDef$meta","columnDef","meta","_a$columnDef$meta$hea","header","_a$columnDef$meta$hea2","localeCompare","call","_b$columnDef$meta"],"mappings":"SAEgBA,YAAYA,CAAkBC,CAA0B,EAAEC,CAA0B;;EAChG,QAAAC,iBAAA,GAAQF,CAAC,CAACG,SAAS,CAACC,IAAI,cAAAF,iBAAA,wBAAAG,qBAAA,GAAhBH,iBAAA,CAAkBI,MAAiB,cAAAD,qBAAA,wBAAAE,sBAAA,GAAnCF,qBAAA,CAAqCG,aAAa,cAAAD,sBAAA,uBAAlDA,sBAAA,CAAAE,IAAA,CAAAJ,qBAAA,GAAAK,iBAAA,GAAqDT,CAAC,CAACE,SAAS,CAACC,IAAI,cAAAM,iBAAA,uBAAhBA,iBAAA,CAAkBJ,MAAgB,CAAC;AACpG;;;;"}
@@ -1,125 +0,0 @@
1
- import React__default from 'react';
2
- import { IconButton } from '../../../../../IconButton/IconButton.js';
3
- import { useLocalization } from '../../../../../Provider/Localization.js';
4
- import { Shortcut } from '../../../../../Shortcut/Shortcut.js';
5
- import { useToast } from '../../../../../Toast/Toaster.js';
6
- import { _catch } from '../../../../../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
7
- import { PrintDialog } from './PrintDialog.js';
8
-
9
- function Print(props) {
10
- const {
11
- table,
12
- tableId,
13
- tableRef
14
- } = props;
15
- const {
16
- texts
17
- } = useLocalization();
18
- const ref = React__default.useRef(null);
19
- const lastScrollTopRef = React__default.useRef();
20
- const toast = useToast();
21
- const tableMeta = table.options.meta;
22
- const {
23
- allRows,
24
- orientation,
25
- size,
26
- splitGroups
27
- } = tableMeta.printing.settings;
28
- const togglePrinting = React__default.useCallback(enabled => {
29
- tableMeta.printing.setIsPrinting(enabled);
30
- if (tableRef.current) {
31
- if (enabled) {
32
- lastScrollTopRef.current = tableRef.current.scrollTop;
33
- } else if (lastScrollTopRef.current !== undefined) {
34
- tableRef.current.scrollTop = lastScrollTopRef.current;
35
- lastScrollTopRef.current = undefined;
36
- }
37
- }
38
- }, [tableRef.current]);
39
- React__default.useEffect(() => {
40
- const afterPrint = () => {
41
- togglePrinting(false);
42
- };
43
- window.addEventListener('afterprint', afterPrint);
44
- return () => {
45
- window.removeEventListener('afterprint', afterPrint);
46
- };
47
- }, []);
48
- const print = function () {
49
- try {
50
- function _temp3() {
51
- // this might close immediately if the dataset is small - this is okay
52
- toastRef.close();
53
- // use a timeout to let the toast close, otherwise it freezes mid animation when the print dialog opens
54
- setTimeout(() => {
55
- // do this here because Safari doesn't support the beforeprint event
56
- togglePrinting(true);
57
- requestAnimationFrame(() => {
58
- try {
59
- // window.print doesn't always work in Safari :man_shrugging:
60
- document.execCommand('print', false, undefined);
61
- } catch {
62
- window.print();
63
- }
64
- });
65
- }, 150);
66
- }
67
- const toastRef = toast.loading(texts.table3.print.loading);
68
- const _temp2 = function () {
69
- if (tableMeta.server.isEnabled && tableMeta.server.loadAllIfNeeded) {
70
- const _temp = _catch(function () {
71
- return Promise.resolve(tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined)).then(function () {});
72
- }, function (error) {
73
- const errorMessage = `${texts.table3.print.error}: ${error}`;
74
- console.error(errorMessage);
75
- toastRef.error(errorMessage);
76
- });
77
- if (_temp && _temp.then) return _temp.then(function () {});
78
- }
79
- }();
80
- return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(_temp3) : _temp3(_temp2));
81
- } catch (e) {
82
- return Promise.reject(e);
83
- }
84
- };
85
- const printStyle = [`@page { size: ${size} ${orientation}; }`];
86
- if (!allRows) {
87
- printStyle.push(`table[data-taco='report']#${tableId} tr:not([data-row-selected="true"]) { display: none; }`);
88
- }
89
- if (splitGroups) {
90
- printStyle.push(`table[data-taco='report']#${tableId} tr[data-row-group]:not(:first-child) { break-before: page; }`);
91
- }
92
- const shortcut = {
93
- key: 'p',
94
- meta: true,
95
- shift: false
96
- };
97
- const tooltip = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, texts.table3.print.tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
98
- className: "ml-2",
99
- keys: shortcut
100
- }));
101
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("style", {
102
- media: "print"
103
- }, printStyle.join('\n')), /*#__PURE__*/React__default.createElement(IconButton, {
104
- icon: "print",
105
- "aria-label": texts.table3.print.tooltip,
106
- dialog: dialogProps => ( /*#__PURE__*/React__default.createElement(PrintDialog, Object.assign({}, dialogProps, {
107
- table: table,
108
- onAccept: print,
109
- orientation: orientation,
110
- setOrientation: value => tableMeta.printing.setSetting('orientation', value),
111
- size: size,
112
- setSize: value => tableMeta.printing.setSetting('size', value),
113
- allRows: allRows,
114
- setAllRows: value => tableMeta.printing.setSetting('allRows', value),
115
- splitGroups: splitGroups,
116
- setSplitGroups: value => tableMeta.printing.setSetting('splitGroups', value)
117
- }))),
118
- ref: ref,
119
- shortcut: shortcut,
120
- tooltip: tooltip
121
- }));
122
- }
123
-
124
- export { Print };
125
- //# sourceMappingURL=Print.js.map