@economic/taco 2.25.1-alpha.13 → 2.25.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1063) hide show
  1. package/dist/components/Provider/Localization.d.ts +392 -0
  2. package/dist/components/Report/Report.d.ts +23 -0
  3. package/dist/components/Report/components/Body/Body.d.ts +8 -0
  4. package/dist/components/Report/components/Body/EmptyStateBody.d.ts +7 -0
  5. package/dist/components/Report/components/Cell/Cell.d.ts +8 -0
  6. package/dist/components/Report/components/Cell/DisplayCell.d.ts +8 -0
  7. package/dist/components/Report/components/Cell/GroupedCell.d.ts +8 -0
  8. package/dist/components/Report/components/Cell/util.d.ts +18 -0
  9. package/dist/components/Report/components/Header/Header.d.ts +40 -0
  10. package/dist/components/Report/components/Header/components/Goto.d.ts +6 -0
  11. package/dist/components/Report/components/Header/components/Menu.d.ts +20 -0
  12. package/dist/components/Report/components/Header/components/Resizer.d.ts +12 -0
  13. package/dist/components/Report/components/Header/components/SortIndicator.d.ts +15 -0
  14. package/dist/components/Report/components/Header/util.d.ts +4 -0
  15. package/dist/components/Report/components/Internal/Actions.d.ts +13 -0
  16. package/dist/components/Report/components/Internal/Expansion.d.ts +4 -0
  17. package/dist/components/Report/components/Internal/Selection.d.ts +4 -0
  18. package/dist/components/Report/components/Row/DisplayRow.d.ts +9 -0
  19. package/dist/components/Report/components/Row/Row.d.ts +9 -0
  20. package/dist/components/Report/components/Row/RowContext.d.ts +8 -0
  21. package/dist/components/Report/components/Toolbar/Toolbar.d.ts +15 -0
  22. package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
  23. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
  24. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
  25. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
  26. package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +4 -0
  27. package/dist/components/Report/components/Toolbar/components/Print/Print.d.ts +9 -0
  28. package/dist/components/Report/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
  29. package/dist/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
  30. package/dist/components/Report/components/Toolbar/components/Settings/Settings.d.ts +8 -0
  31. package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +2 -0
  32. package/dist/components/Report/styles/useCssGridStylesheet.d.ts +3 -0
  33. package/dist/components/Report/styles/util.d.ts +3 -0
  34. package/dist/components/Report/types.d.ts +20 -0
  35. package/dist/components/Report/useReport.d.ts +9 -0
  36. package/dist/components/Report/util/useTableGlobalShortcuts.d.ts +4 -0
  37. package/dist/components/Report/util/useTableRenderer.d.ts +9 -0
  38. package/dist/components/Table/Table.d.ts +14 -0
  39. package/dist/components/Table3/Table3.d.ts +19 -0
  40. package/dist/components/Table3/components/alert/ErrorAlert.d.ts +10 -0
  41. package/dist/components/Table3/components/columns/cell/Cell.d.ts +6 -0
  42. package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +25 -0
  43. package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +14 -0
  44. package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +21 -0
  45. package/dist/components/Table3/components/columns/cell/Highlight.d.ts +2 -0
  46. package/dist/components/Table3/components/columns/cell/Indicator.d.ts +22 -0
  47. package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +2 -0
  48. package/dist/components/Table3/components/columns/footer/Footer.d.ts +14 -0
  49. package/dist/components/Table3/components/columns/footer/Summary.d.ts +8 -0
  50. package/dist/components/Table3/components/columns/header/Goto.d.ts +6 -0
  51. package/dist/components/Table3/components/columns/header/Group.d.ts +15 -0
  52. package/dist/components/Table3/components/columns/header/Header.d.ts +37 -0
  53. package/dist/components/Table3/components/columns/header/Menu.d.ts +20 -0
  54. package/dist/components/Table3/components/columns/header/Resizer.d.ts +7 -0
  55. package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +12 -0
  56. package/dist/components/Table3/components/columns/internal/Actions.d.ts +3 -0
  57. package/dist/components/Table3/components/columns/internal/Drag.d.ts +4 -0
  58. package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +8 -0
  59. package/dist/components/Table3/components/columns/internal/Expansion.d.ts +4 -0
  60. package/dist/components/Table3/components/columns/internal/Selection.d.ts +3 -0
  61. package/dist/components/Table3/components/columns/styles.d.ts +5 -0
  62. package/dist/components/Table3/components/rows/ExpandedRow.d.ts +8 -0
  63. package/dist/components/Table3/components/rows/Row.d.ts +26 -0
  64. package/dist/components/Table3/components/rows/RowContext.d.ts +10 -0
  65. package/dist/components/Table3/components/rows/SkeletonRow.d.ts +10 -0
  66. package/dist/components/Table3/components/rows/styles.d.ts +6 -0
  67. package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +7 -0
  68. package/dist/components/Table3/components/toolbar/EditButton.d.ts +7 -0
  69. package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +7 -0
  70. package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +12 -0
  71. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +12 -0
  72. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +7 -0
  73. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +10 -0
  74. package/dist/components/Table3/components/toolbar/FontSize.d.ts +7 -0
  75. package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +8 -0
  76. package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +8 -0
  77. package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +9 -0
  78. package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +1 -0
  79. package/dist/components/Table3/components/toolbar/RowHeight.d.ts +7 -0
  80. package/dist/components/Table3/components/toolbar/Search.d.ts +8 -0
  81. package/dist/components/Table3/components/toolbar/Settings.d.ts +8 -0
  82. package/dist/components/Table3/components/toolbar/Toolbar.d.ts +13 -0
  83. package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +13 -0
  84. package/dist/components/Table3/hooks/features/useEditing.d.ts +31 -0
  85. package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +3 -0
  86. package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +5 -0
  87. package/dist/components/Table3/hooks/features/usePrinting.d.ts +7 -0
  88. package/dist/components/Table3/hooks/features/useRowActions.d.ts +5 -0
  89. package/dist/components/Table3/hooks/features/useRowDrag.d.ts +6 -0
  90. package/dist/components/Table3/hooks/features/useRowDrop.d.ts +5 -0
  91. package/dist/components/Table3/hooks/features/useSearch.d.ts +16 -0
  92. package/dist/components/Table3/hooks/features/useSettings.d.ts +3 -0
  93. package/dist/components/Table3/hooks/features/useValidation.d.ts +13 -0
  94. package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +2 -0
  95. package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +3 -0
  96. package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +9 -0
  97. package/dist/components/Table3/hooks/useCssGrid.d.ts +6 -0
  98. package/dist/components/Table3/hooks/useCssVars.d.ts +8 -0
  99. package/dist/components/Table3/hooks/useTable.d.ts +74 -0
  100. package/dist/components/Table3/hooks/useTableDataLoader.d.ts +22 -0
  101. package/dist/components/Table3/hooks/useTablePreset.d.ts +2 -0
  102. package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +4 -0
  103. package/dist/components/Table3/strategies/index.d.ts +4 -0
  104. package/dist/components/Table3/strategies/virtualised.d.ts +4 -0
  105. package/dist/components/Table3/types.d.ts +379 -0
  106. package/dist/components/Table3/util/columns.d.ts +8 -0
  107. package/dist/components/Table3/util/editing.d.ts +10 -0
  108. package/dist/components/Table3/util/filtering.d.ts +3 -0
  109. package/dist/components/Table3/util/scrolling.d.ts +2 -0
  110. package/dist/esm/index.css +515 -208
  111. package/dist/esm/packages/taco/src/components/Field/Field.js +0 -1
  112. package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
  113. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +6 -5
  114. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
  115. package/dist/esm/packages/taco/src/components/Provider/Localization.js +43 -46
  116. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  117. package/dist/esm/packages/taco/src/components/Report/Report.js +51 -8
  118. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  119. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +62 -0
  120. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -0
  121. package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +1 -0
  122. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +1 -0
  123. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +32 -0
  124. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -0
  125. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js +23 -0
  126. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +1 -0
  127. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +58 -0
  128. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -0
  129. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +73 -0
  130. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -0
  131. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -0
  132. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +39 -0
  133. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -0
  134. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +211 -0
  135. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -0
  136. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js +28 -0
  137. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +1 -0
  138. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +159 -0
  139. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -0
  140. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js +60 -0
  141. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +1 -0
  142. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js +41 -0
  143. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +1 -0
  144. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +24 -0
  145. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -0
  146. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js +90 -0
  147. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +1 -0
  148. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js +59 -0
  149. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +1 -0
  150. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +154 -0
  151. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -0
  152. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js +102 -0
  153. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +1 -0
  154. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js +24 -0
  155. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +1 -0
  156. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js +10 -0
  157. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +1 -0
  158. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +1 -0
  159. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +63 -0
  160. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +1 -0
  161. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +62 -0
  162. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -0
  163. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +129 -0
  164. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
  165. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +102 -0
  166. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
  167. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
  168. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
  169. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js +110 -0
  170. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
  171. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +128 -0
  172. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
  173. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -0
  174. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +125 -0
  175. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -0
  176. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +88 -0
  177. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
  178. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js +95 -0
  179. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +1 -0
  180. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +105 -0
  181. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
  182. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +103 -0
  183. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -0
  184. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +24 -0
  185. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -0
  186. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js +44 -0
  187. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +1 -0
  188. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +58 -0
  189. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -0
  190. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +20 -0
  191. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +1 -0
  192. package/dist/esm/packages/taco/src/components/Report/styles/util.js +61 -0
  193. package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +1 -0
  194. package/dist/esm/packages/taco/src/components/Report/useReport.js +45 -8
  195. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  196. package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +1 -0
  197. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +32 -0
  198. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -0
  199. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js +162 -0
  200. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +1 -0
  201. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
  202. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  203. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +10 -10
  204. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  205. package/dist/esm/packages/taco/src/components/Table3/Table3.js +218 -30
  206. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  207. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +154 -0
  208. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +1 -0
  209. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +84 -0
  210. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +1 -0
  211. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +84 -0
  212. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +1 -0
  213. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +212 -0
  214. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -0
  215. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +194 -0
  216. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -0
  217. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +41 -0
  218. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +1 -0
  219. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +88 -0
  220. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +1 -0
  221. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +144 -0
  222. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -0
  223. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +50 -0
  224. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +1 -0
  225. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +41 -0
  226. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -0
  227. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js +28 -0
  228. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +1 -0
  229. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +74 -0
  230. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +1 -0
  231. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +186 -0
  232. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +1 -0
  233. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +206 -0
  234. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +1 -0
  235. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +42 -0
  236. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +1 -0
  237. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +38 -0
  238. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +1 -0
  239. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +129 -0
  240. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -0
  241. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +86 -0
  242. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +1 -0
  243. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +174 -0
  244. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +1 -0
  245. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +104 -0
  246. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +1 -0
  247. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +187 -0
  248. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -0
  249. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +19 -0
  250. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -0
  251. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +27 -0
  252. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +1 -0
  253. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +327 -0
  254. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +1 -0
  255. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +14 -0
  256. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +1 -0
  257. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +43 -0
  258. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +1 -0
  259. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +9 -0
  260. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +1 -0
  261. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +109 -0
  262. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -0
  263. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +29 -0
  264. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +1 -0
  265. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +164 -0
  266. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -0
  267. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +102 -0
  268. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +1 -0
  269. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +50 -0
  270. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +1 -0
  271. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +111 -0
  272. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -0
  273. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +118 -0
  274. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +1 -0
  275. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +26 -0
  276. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +1 -0
  277. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +211 -0
  278. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -0
  279. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +224 -0
  280. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +1 -0
  281. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +60 -0
  282. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +1 -0
  283. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +97 -0
  284. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +1 -0
  285. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +33 -0
  286. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +1 -0
  287. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +238 -0
  288. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +1 -0
  289. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +65 -0
  290. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +1 -0
  291. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +64 -0
  292. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +1 -0
  293. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +95 -0
  294. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +1 -0
  295. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +299 -0
  296. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +1 -0
  297. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +24 -0
  298. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +1 -0
  299. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +12 -0
  300. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +1 -0
  301. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +14 -0
  302. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +1 -0
  303. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +10 -0
  304. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +1 -0
  305. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +13 -0
  306. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +1 -0
  307. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +9 -0
  308. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +1 -0
  309. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +29 -0
  310. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +1 -0
  311. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +23 -0
  312. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +1 -0
  313. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +178 -0
  314. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +1 -0
  315. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +28 -0
  316. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +1 -0
  317. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +24 -0
  318. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -0
  319. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +143 -0
  320. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +1 -0
  321. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +66 -0
  322. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +1 -0
  323. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +74 -0
  324. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +1 -0
  325. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +234 -0
  326. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -0
  327. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +130 -0
  328. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +1 -0
  329. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +122 -0
  330. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +1 -0
  331. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +19 -0
  332. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +1 -0
  333. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +8 -0
  334. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +1 -0
  335. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +117 -0
  336. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +1 -0
  337. package/dist/esm/packages/taco/src/components/Table3/types.js +20 -0
  338. package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -0
  339. package/dist/esm/packages/taco/src/components/Table3/util/columns.js +60 -0
  340. package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +1 -0
  341. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +38 -46
  342. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  343. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +120 -0
  344. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +1 -0
  345. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +53 -0
  346. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +1 -0
  347. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +15 -0
  348. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +1 -0
  349. package/dist/esm/packages/taco/src/index.js +1 -1
  350. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +0 -2
  351. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  352. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  353. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +1 -0
  354. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +14 -4
  355. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -1
  356. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +3 -1
  357. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  358. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +9 -13
  359. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  360. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +7 -13
  361. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
  362. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +2 -1
  363. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  364. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +2 -5
  365. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  366. package/dist/esm/packages/taco/src/utils/dom.js +3 -19
  367. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  368. package/dist/esm/packages/taco/src/utils/input.js +14 -1
  369. package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
  370. package/dist/index.css +515 -208
  371. package/dist/index.d.ts +73 -0
  372. package/dist/primitives/Table/types.d.ts +214 -0
  373. package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +11 -0
  374. package/dist/primitives/Table/useTableManager/types.d.ts +13 -0
  375. package/dist/primitives/Table/useTableManager/useTableManager.d.ts +59 -0
  376. package/dist/primitives/Table/useTableManager/util/settings.d.ts +12 -0
  377. package/dist/taco.cjs.development.js +8978 -4337
  378. package/dist/taco.cjs.development.js.map +1 -1
  379. package/dist/taco.cjs.production.min.js +1 -1
  380. package/dist/taco.cjs.production.min.js.map +1 -1
  381. package/dist/utils/dom.d.ts +7 -0
  382. package/package.json +2 -3
  383. package/types.json +51755 -21592
  384. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +0 -39
  385. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +0 -1
  386. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +0 -85
  387. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +0 -1
  388. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +0 -71
  389. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +0 -1
  390. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +0 -216
  391. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +0 -1
  392. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +0 -14
  393. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +0 -1
  394. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +0 -45
  395. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +0 -1
  396. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +0 -62
  397. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +0 -1
  398. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +0 -134
  399. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +0 -1
  400. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +0 -54
  401. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +0 -1
  402. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +0 -41
  403. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +0 -1
  404. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +0 -49
  405. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +0 -1
  406. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +0 -349
  407. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +0 -1
  408. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +0 -49
  409. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +0 -1
  410. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +0 -36
  411. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +0 -1
  412. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +0 -52
  413. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +0 -1
  414. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +0 -72
  415. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +0 -1
  416. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +0 -1
  417. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +0 -1
  418. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +0 -25
  419. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +0 -1
  420. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +0 -60
  421. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +0 -1
  422. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +0 -33
  423. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +0 -1
  424. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +0 -74
  425. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +0 -1
  426. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +0 -101
  427. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +0 -1
  428. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +0 -73
  429. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +0 -1
  430. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +0 -71
  431. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +0 -1
  432. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +0 -167
  433. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +0 -1
  434. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +0 -1
  435. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +0 -39
  436. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +0 -1
  437. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +0 -216
  438. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +0 -1
  439. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +0 -28
  440. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +0 -1
  441. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +0 -158
  442. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +0 -1
  443. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +0 -60
  444. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +0 -1
  445. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +0 -41
  446. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +0 -1
  447. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +0 -24
  448. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +0 -1
  449. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +0 -120
  450. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +0 -1
  451. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +0 -1
  452. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +0 -30
  453. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +0 -1
  454. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +0 -9
  455. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +0 -1
  456. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +0 -53
  457. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +0 -1
  458. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +0 -62
  459. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +0 -1
  460. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +0 -129
  461. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
  462. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +0 -102
  463. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
  464. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +0 -50
  465. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
  466. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +0 -110
  467. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
  468. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +0 -128
  469. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
  470. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +0 -1
  471. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +0 -125
  472. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +0 -1
  473. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +0 -88
  474. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
  475. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +0 -96
  476. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +0 -1
  477. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +0 -119
  478. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
  479. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +0 -103
  480. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +0 -1
  481. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js +0 -77
  482. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +0 -1
  483. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js +0 -44
  484. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +0 -1
  485. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js +0 -58
  486. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +0 -1
  487. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +0 -30
  488. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +0 -1
  489. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +0 -1
  490. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +0 -164
  491. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +0 -1
  492. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +0 -24
  493. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +0 -1
  494. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +0 -50
  495. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +0 -1
  496. package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +0 -1
  497. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +0 -14
  498. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +0 -1
  499. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +0 -9
  500. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +0 -1
  501. package/dist/packages/taco/src/components/Provider/Localization.d.ts +0 -398
  502. package/dist/packages/taco/src/components/Report/Report.d.ts +0 -10
  503. package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +0 -19
  504. package/dist/packages/taco/src/components/Report/useReport.d.ts +0 -23
  505. package/dist/packages/taco/src/components/Table/Table.d.ts +0 -14
  506. package/dist/packages/taco/src/components/Table3/Table3.d.ts +0 -20
  507. package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +0 -23
  508. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Cell.d.ts +0 -3
  509. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +0 -9
  510. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +0 -10
  511. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +0 -3
  512. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +0 -3
  513. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/util.d.ts +0 -3
  514. package/dist/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +0 -10
  515. package/dist/packages/taco/src/components/Table3/components/Editing/Alert.d.ts +0 -12
  516. package/dist/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.d.ts +0 -8
  517. package/dist/packages/taco/src/components/Table3/components/Row/Row.d.ts +0 -3
  518. package/dist/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.d.ts +0 -8
  519. package/dist/packages/taco/src/components/Table3/features/useTableEditing.d.ts +0 -46
  520. package/dist/packages/taco/src/components/Table3/listeners/useTableEditingListener.d.ts +0 -2
  521. package/dist/packages/taco/src/components/Table3/types.d.ts +0 -54
  522. package/dist/packages/taco/src/components/Table3/useTable3.d.ts +0 -30
  523. package/dist/packages/taco/src/components/Table3/util/editing.d.ts +0 -2
  524. package/dist/packages/taco/src/index.d.ts +0 -74
  525. package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +0 -19
  526. package/dist/packages/taco/src/primitives/Table/Core/components/Body/Body.d.ts +0 -8
  527. package/dist/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +0 -7
  528. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +0 -3
  529. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +0 -3
  530. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +0 -10
  531. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.d.ts +0 -19
  532. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +0 -13
  533. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +0 -2
  534. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +0 -2
  535. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +0 -2
  536. package/dist/packages/taco/src/primitives/Table/Core/components/Header/Header.d.ts +0 -45
  537. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.d.ts +0 -6
  538. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.d.ts +0 -21
  539. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.d.ts +0 -12
  540. package/dist/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +0 -15
  541. package/dist/packages/taco/src/primitives/Table/Core/components/Header/util.d.ts +0 -4
  542. package/dist/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +0 -4
  543. package/dist/packages/taco/src/primitives/Table/Core/components/Row/Row.d.ts +0 -6
  544. package/dist/packages/taco/src/primitives/Table/Core/components/Row/RowContext.d.ts +0 -7
  545. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +0 -7
  546. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +0 -12
  547. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -12
  548. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -7
  549. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -10
  550. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +0 -4
  551. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +0 -9
  552. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +0 -17
  553. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -7
  554. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +0 -8
  555. package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +0 -2
  556. package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts +0 -3
  557. package/dist/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +0 -4
  558. package/dist/packages/taco/src/primitives/Table/Core/features/useTableRenderer.d.ts +0 -10
  559. package/dist/packages/taco/src/primitives/Table/Core/types.d.ts +0 -24
  560. package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +0 -25
  561. package/dist/packages/taco/src/primitives/Table/types.d.ts +0 -379
  562. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.d.ts +0 -13
  563. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +0 -8
  564. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +0 -5
  565. package/dist/packages/taco/src/primitives/Table/useTableManager/types.d.ts +0 -14
  566. package/dist/packages/taco/src/primitives/Table/useTableManager/useTableManager.d.ts +0 -65
  567. package/dist/packages/taco/src/primitives/Table/useTableManager/util/settings.d.ts +0 -12
  568. package/dist/packages/taco/src/utils/dom.d.ts +0 -8
  569. /package/dist/{packages/taco/src/components → components}/Accordion/Accordion.d.ts +0 -0
  570. /package/dist/{packages/taco/src/components → components}/Alert/Alert.d.ts +0 -0
  571. /package/dist/{packages/taco/src/components → components}/AlertDialog/AlertDialog.d.ts +0 -0
  572. /package/dist/{packages/taco/src/components → components}/AlertDialog/Context.d.ts +0 -0
  573. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Content.d.ts +0 -0
  574. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Footer.d.ts +0 -0
  575. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Trigger.d.ts +0 -0
  576. /package/dist/{packages/taco/src/components → components}/Backdrop/Backdrop.d.ts +0 -0
  577. /package/dist/{packages/taco/src/components → components}/Badge/Badge.d.ts +0 -0
  578. /package/dist/{packages/taco/src/components → components}/BadgeIcon/BadgeIcon.d.ts +0 -0
  579. /package/dist/{packages/taco/src/components → components}/Banner/Banner.d.ts +0 -0
  580. /package/dist/{packages/taco/src/components → components}/Banner/util.d.ts +0 -0
  581. /package/dist/{packages/taco/src/components → components}/Button/Button.d.ts +0 -0
  582. /package/dist/{packages/taco/src/components → components}/Button/util.d.ts +0 -0
  583. /package/dist/{packages/taco/src/components → components}/Calendar/Calendar.d.ts +0 -0
  584. /package/dist/{packages/taco/src/components → components}/Card/Card.d.ts +0 -0
  585. /package/dist/{packages/taco/src/components → components}/Checkbox/Checkbox.d.ts +0 -0
  586. /package/dist/{packages/taco/src/components → components}/Combobox/Combobox.d.ts +0 -0
  587. /package/dist/{packages/taco/src/components → components}/Combobox/useCombobox.d.ts +0 -0
  588. /package/dist/{packages/taco/src/components → components}/Datepicker/Datepicker.d.ts +0 -0
  589. /package/dist/{packages/taco/src/components → components}/Datepicker/useDatepicker.d.ts +0 -0
  590. /package/dist/{packages/taco/src/components → components}/Dialog/Context.d.ts +0 -0
  591. /package/dist/{packages/taco/src/components → components}/Dialog/Dialog.d.ts +0 -0
  592. /package/dist/{packages/taco/src/components → components}/Dialog/components/Content.d.ts +0 -0
  593. /package/dist/{packages/taco/src/components → components}/Dialog/components/DialogDrawer.d.ts +0 -0
  594. /package/dist/{packages/taco/src/components → components}/Dialog/components/Extra.d.ts +0 -0
  595. /package/dist/{packages/taco/src/components → components}/Dialog/components/Trigger.d.ts +0 -0
  596. /package/dist/{packages/taco/src/components → components}/Dialog/types.d.ts +0 -0
  597. /package/dist/{packages/taco/src/components → components}/Dialog/util.d.ts +0 -0
  598. /package/dist/{packages/taco/src/components → components}/Drawer/Context.d.ts +0 -0
  599. /package/dist/{packages/taco/src/components → components}/Drawer/Drawer.d.ts +0 -0
  600. /package/dist/{packages/taco/src/components → components}/Drawer/components/Content.d.ts +0 -0
  601. /package/dist/{packages/taco/src/components → components}/Drawer/components/Trigger.d.ts +0 -0
  602. /package/dist/{packages/taco/src/components → components}/Drawer/images.d.ts +0 -0
  603. /package/dist/{packages/taco/src/components → components}/Drawer/types.d.ts +0 -0
  604. /package/dist/{packages/taco/src/components → components}/Drawer/util.d.ts +0 -0
  605. /package/dist/{packages/taco/src/components → components}/Field/Field.d.ts +0 -0
  606. /package/dist/{packages/taco/src/components → components}/Form/Form.d.ts +0 -0
  607. /package/dist/{packages/taco/src/components → components}/Group/Group.d.ts +0 -0
  608. /package/dist/{packages/taco/src/components → components}/Hanger/Hanger.d.ts +0 -0
  609. /package/dist/{packages/taco/src/components → components}/Header/Header.d.ts +0 -0
  610. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Avatar.d.ts +0 -0
  611. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Badge.d.ts +0 -0
  612. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Display.d.ts +0 -0
  613. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Item.d.ts +0 -0
  614. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/types.d.ts +0 -0
  615. /package/dist/{packages/taco/src/components → components}/Header/components/AgreementSelector.d.ts +0 -0
  616. /package/dist/{packages/taco/src/components → components}/Header/components/Button.d.ts +0 -0
  617. /package/dist/{packages/taco/src/components → components}/Header/components/Link.d.ts +0 -0
  618. /package/dist/{packages/taco/src/components → components}/Header/components/Logo.d.ts +0 -0
  619. /package/dist/{packages/taco/src/components → components}/Header/components/MenuButton.d.ts +0 -0
  620. /package/dist/{packages/taco/src/components → components}/Header/components/PrimaryNavigation.d.ts +0 -0
  621. /package/dist/{packages/taco/src/components → components}/Header/components/SecondaryNavigation.d.ts +0 -0
  622. /package/dist/{packages/taco/src/components → components}/HoverCard/HoverCard.d.ts +0 -0
  623. /package/dist/{packages/taco/src/components → components}/HoverCard/Primitives.d.ts +0 -0
  624. /package/dist/{packages/taco/src/components → components}/Icon/Icon.d.ts +0 -0
  625. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountPreview.d.ts +0 -0
  626. /package/dist/{packages/taco/src/components → components}/Icon/components/Accounting.d.ts +0 -0
  627. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYear.d.ts +0 -0
  628. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYearCancel.d.ts +0 -0
  629. /package/dist/{packages/taco/src/components → components}/Icon/components/AiChatSolid.d.ts +0 -0
  630. /package/dist/{packages/taco/src/components → components}/Icon/components/AiStars.d.ts +0 -0
  631. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowBottom.d.ts +0 -0
  632. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowDown.d.ts +0 -0
  633. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowEnd.d.ts +0 -0
  634. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowLeft.d.ts +0 -0
  635. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowRight.d.ts +0 -0
  636. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowStart.d.ts +0 -0
  637. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowTop.d.ts +0 -0
  638. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowUp.d.ts +0 -0
  639. /package/dist/{packages/taco/src/components → components}/Icon/components/Attach.d.ts +0 -0
  640. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachAuto.d.ts +0 -0
  641. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachCancel.d.ts +0 -0
  642. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachWarning.d.ts +0 -0
  643. /package/dist/{packages/taco/src/components → components}/Icon/components/Autotext.d.ts +0 -0
  644. /package/dist/{packages/taco/src/components → components}/Icon/components/AutotextInsert.d.ts +0 -0
  645. /package/dist/{packages/taco/src/components → components}/Icon/components/Basic.d.ts +0 -0
  646. /package/dist/{packages/taco/src/components → components}/Icon/components/BasicTabs.d.ts +0 -0
  647. /package/dist/{packages/taco/src/components → components}/Icon/components/BellSolid.d.ts +0 -0
  648. /package/dist/{packages/taco/src/components → components}/Icon/components/Book.d.ts +0 -0
  649. /package/dist/{packages/taco/src/components → components}/Icon/components/Booking.d.ts +0 -0
  650. /package/dist/{packages/taco/src/components → components}/Icon/components/Budget.d.ts +0 -0
  651. /package/dist/{packages/taco/src/components → components}/Icon/components/Calendar.d.ts +0 -0
  652. /package/dist/{packages/taco/src/components → components}/Icon/components/CashAccount.d.ts +0 -0
  653. /package/dist/{packages/taco/src/components → components}/Icon/components/CashReports.d.ts +0 -0
  654. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartArea.d.ts +0 -0
  655. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartBar.d.ts +0 -0
  656. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartLine.d.ts +0 -0
  657. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartPie.d.ts +0 -0
  658. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartTable.d.ts +0 -0
  659. /package/dist/{packages/taco/src/components → components}/Icon/components/Chat.d.ts +0 -0
  660. /package/dist/{packages/taco/src/components → components}/Icon/components/ChatSolid.d.ts +0 -0
  661. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDown.d.ts +0 -0
  662. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownDouble.d.ts +0 -0
  663. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownSolid.d.ts +0 -0
  664. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeft.d.ts +0 -0
  665. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
  666. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
  667. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRight.d.ts +0 -0
  668. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightDouble.d.ts +0 -0
  669. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightSolid.d.ts +0 -0
  670. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUp.d.ts +0 -0
  671. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpDouble.d.ts +0 -0
  672. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpSolid.d.ts +0 -0
  673. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleClose.d.ts +0 -0
  674. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleInformation.d.ts +0 -0
  675. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleMinus.d.ts +0 -0
  676. /package/dist/{packages/taco/src/components → components}/Icon/components/CirclePlus.d.ts +0 -0
  677. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleQuestionmark.d.ts +0 -0
  678. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleTick.d.ts +0 -0
  679. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleWarning.d.ts +0 -0
  680. /package/dist/{packages/taco/src/components → components}/Icon/components/Clamp.d.ts +0 -0
  681. /package/dist/{packages/taco/src/components → components}/Icon/components/ClampOpen.d.ts +0 -0
  682. /package/dist/{packages/taco/src/components → components}/Icon/components/Close.d.ts +0 -0
  683. /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnFreeze.d.ts +0 -0
  684. /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
  685. /package/dist/{packages/taco/src/components → components}/Icon/components/Columns.d.ts +0 -0
  686. /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionEnable.d.ts +0 -0
  687. /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionRevoke.d.ts +0 -0
  688. /package/dist/{packages/taco/src/components → components}/Icon/components/Contacts.d.ts +0 -0
  689. /package/dist/{packages/taco/src/components → components}/Icon/components/Copy.d.ts +0 -0
  690. /package/dist/{packages/taco/src/components → components}/Icon/components/Courses.d.ts +0 -0
  691. /package/dist/{packages/taco/src/components → components}/Icon/components/Credit.d.ts +0 -0
  692. /package/dist/{packages/taco/src/components → components}/Icon/components/Delete.d.ts +0 -0
  693. /package/dist/{packages/taco/src/components → components}/Icon/components/DeletePermanently.d.ts +0 -0
  694. /package/dist/{packages/taco/src/components → components}/Icon/components/Depecriate.d.ts +0 -0
  695. /package/dist/{packages/taco/src/components → components}/Icon/components/Developer.d.ts +0 -0
  696. /package/dist/{packages/taco/src/components → components}/Icon/components/DistributionTemplate.d.ts +0 -0
  697. /package/dist/{packages/taco/src/components → components}/Icon/components/Document.d.ts +0 -0
  698. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentApprove.d.ts +0 -0
  699. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
  700. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCut.d.ts +0 -0
  701. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentError.d.ts +0 -0
  702. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
  703. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMerge.d.ts +0 -0
  704. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMove.d.ts +0 -0
  705. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentPreview.d.ts +0 -0
  706. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentReceived.d.ts +0 -0
  707. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
  708. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentSplit.d.ts +0 -0
  709. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentTime.d.ts +0 -0
  710. /package/dist/{packages/taco/src/components → components}/Icon/components/Download.d.ts +0 -0
  711. /package/dist/{packages/taco/src/components → components}/Icon/components/Drag.d.ts +0 -0
  712. /package/dist/{packages/taco/src/components → components}/Icon/components/ECopedia.d.ts +0 -0
  713. /package/dist/{packages/taco/src/components → components}/Icon/components/ESignature.d.ts +0 -0
  714. /package/dist/{packages/taco/src/components → components}/Icon/components/Edit.d.ts +0 -0
  715. /package/dist/{packages/taco/src/components → components}/Icon/components/EditSimple.d.ts +0 -0
  716. /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
  717. /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisVertical.d.ts +0 -0
  718. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOnAccount.d.ts +0 -0
  719. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOpen.d.ts +0 -0
  720. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesWarning.d.ts +0 -0
  721. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
  722. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
  723. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
  724. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
  725. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
  726. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
  727. /package/dist/{packages/taco/src/components → components}/Icon/components/Envelope.d.ts +0 -0
  728. /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeApproved.d.ts +0 -0
  729. /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeSolid.d.ts +0 -0
  730. /package/dist/{packages/taco/src/components → components}/Icon/components/ExpandView.d.ts +0 -0
  731. /package/dist/{packages/taco/src/components → components}/Icon/components/Expenses.d.ts +0 -0
  732. /package/dist/{packages/taco/src/components → components}/Icon/components/Export.d.ts +0 -0
  733. /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToExcel.d.ts +0 -0
  734. /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToPdf.d.ts +0 -0
  735. /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOff.d.ts +0 -0
  736. /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOn.d.ts +0 -0
  737. /package/dist/{packages/taco/src/components → components}/Icon/components/Filter.d.ts +0 -0
  738. /package/dist/{packages/taco/src/components → components}/Icon/components/FilterSolid.d.ts +0 -0
  739. /package/dist/{packages/taco/src/components → components}/Icon/components/FontSize.d.ts +0 -0
  740. /package/dist/{packages/taco/src/components → components}/Icon/components/GraphSolid.d.ts +0 -0
  741. /package/dist/{packages/taco/src/components → components}/Icon/components/Hash.d.ts +0 -0
  742. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightExtraTall.d.ts +0 -0
  743. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightMedium.d.ts +0 -0
  744. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightShort.d.ts +0 -0
  745. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightTall.d.ts +0 -0
  746. /package/dist/{packages/taco/src/components → components}/Icon/components/Home.d.ts +0 -0
  747. /package/dist/{packages/taco/src/components → components}/Icon/components/Images.d.ts +0 -0
  748. /package/dist/{packages/taco/src/components → components}/Icon/components/Import.d.ts +0 -0
  749. /package/dist/{packages/taco/src/components → components}/Icon/components/Inbox.d.ts +0 -0
  750. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxEinvoicing.d.ts +0 -0
  751. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxScanning.d.ts +0 -0
  752. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxSmart.d.ts +0 -0
  753. /package/dist/{packages/taco/src/components → components}/Icon/components/Info.d.ts +0 -0
  754. /package/dist/{packages/taco/src/components → components}/Icon/components/Inventory.d.ts +0 -0
  755. /package/dist/{packages/taco/src/components → components}/Icon/components/InventoryMatrix.d.ts +0 -0
  756. /package/dist/{packages/taco/src/components → components}/Icon/components/JournalPro.d.ts +0 -0
  757. /package/dist/{packages/taco/src/components → components}/Icon/components/Layout.d.ts +0 -0
  758. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutBoth.d.ts +0 -0
  759. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutFirst.d.ts +0 -0
  760. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutLast.d.ts +0 -0
  761. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutNone.d.ts +0 -0
  762. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCard.d.ts +0 -0
  763. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
  764. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
  765. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
  766. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
  767. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
  768. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
  769. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
  770. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
  771. /package/dist/{packages/taco/src/components → components}/Icon/components/Lightbulb.d.ts +0 -0
  772. /package/dist/{packages/taco/src/components → components}/Icon/components/Line.d.ts +0 -0
  773. /package/dist/{packages/taco/src/components → components}/Icon/components/List.d.ts +0 -0
  774. /package/dist/{packages/taco/src/components → components}/Icon/components/ListBulleted.d.ts +0 -0
  775. /package/dist/{packages/taco/src/components → components}/Icon/components/ListSearch.d.ts +0 -0
  776. /package/dist/{packages/taco/src/components → components}/Icon/components/Location.d.ts +0 -0
  777. /package/dist/{packages/taco/src/components → components}/Icon/components/Lock.d.ts +0 -0
  778. /package/dist/{packages/taco/src/components → components}/Icon/components/LockOpen.d.ts +0 -0
  779. /package/dist/{packages/taco/src/components → components}/Icon/components/Log.d.ts +0 -0
  780. /package/dist/{packages/taco/src/components → components}/Icon/components/LogOut.d.ts +0 -0
  781. /package/dist/{packages/taco/src/components → components}/Icon/components/Market.d.ts +0 -0
  782. /package/dist/{packages/taco/src/components → components}/Icon/components/MatchAmount.d.ts +0 -0
  783. /package/dist/{packages/taco/src/components → components}/Icon/components/MatchEntries.d.ts +0 -0
  784. /package/dist/{packages/taco/src/components → components}/Icon/components/Menu.d.ts +0 -0
  785. /package/dist/{packages/taco/src/components → components}/Icon/components/Mileage.d.ts +0 -0
  786. /package/dist/{packages/taco/src/components → components}/Icon/components/ModalResize.d.ts +0 -0
  787. /package/dist/{packages/taco/src/components → components}/Icon/components/ModalShrink.d.ts +0 -0
  788. /package/dist/{packages/taco/src/components → components}/Icon/components/More.d.ts +0 -0
  789. /package/dist/{packages/taco/src/components → components}/Icon/components/MoreSolid.d.ts +0 -0
  790. /package/dist/{packages/taco/src/components → components}/Icon/components/Move.d.ts +0 -0
  791. /package/dist/{packages/taco/src/components → components}/Icon/components/NavigationList.d.ts +0 -0
  792. /package/dist/{packages/taco/src/components → components}/Icon/components/Note.d.ts +0 -0
  793. /package/dist/{packages/taco/src/components → components}/Icon/components/NoteFollowUp.d.ts +0 -0
  794. /package/dist/{packages/taco/src/components → components}/Icon/components/NoteRead.d.ts +0 -0
  795. /package/dist/{packages/taco/src/components → components}/Icon/components/Numbers.d.ts +0 -0
  796. /package/dist/{packages/taco/src/components → components}/Icon/components/PartnerApi.d.ts +0 -0
  797. /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentPaid.d.ts +0 -0
  798. /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentUnpaid.d.ts +0 -0
  799. /package/dist/{packages/taco/src/components → components}/Icon/components/Period.d.ts +0 -0
  800. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonChange.d.ts +0 -0
  801. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonMinus.d.ts +0 -0
  802. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonPlus.d.ts +0 -0
  803. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonTick.d.ts +0 -0
  804. /package/dist/{packages/taco/src/components → components}/Icon/components/PhoneSolid.d.ts +0 -0
  805. /package/dist/{packages/taco/src/components → components}/Icon/components/Play.d.ts +0 -0
  806. /package/dist/{packages/taco/src/components → components}/Icon/components/PlusMinus.d.ts +0 -0
  807. /package/dist/{packages/taco/src/components → components}/Icon/components/Print.d.ts +0 -0
  808. /package/dist/{packages/taco/src/components → components}/Icon/components/ProcessPayment.d.ts +0 -0
  809. /package/dist/{packages/taco/src/components → components}/Icon/components/ProductLedgerCard.d.ts +0 -0
  810. /package/dist/{packages/taco/src/components → components}/Icon/components/Profile.d.ts +0 -0
  811. /package/dist/{packages/taco/src/components → components}/Icon/components/ProjectCards.d.ts +0 -0
  812. /package/dist/{packages/taco/src/components → components}/Icon/components/Projects.d.ts +0 -0
  813. /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMark.d.ts +0 -0
  814. /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMarkBold.d.ts +0 -0
  815. /package/dist/{packages/taco/src/components → components}/Icon/components/Quicklinks.d.ts +0 -0
  816. /package/dist/{packages/taco/src/components → components}/Icon/components/RatingBankruptcy.d.ts +0 -0
  817. /package/dist/{packages/taco/src/components → components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
  818. /package/dist/{packages/taco/src/components → components}/Icon/components/Reconciled.d.ts +0 -0
  819. /package/dist/{packages/taco/src/components → components}/Icon/components/Refresh.d.ts +0 -0
  820. /package/dist/{packages/taco/src/components → components}/Icon/components/Report.d.ts +0 -0
  821. /package/dist/{packages/taco/src/components → components}/Icon/components/ReportSolid.d.ts +0 -0
  822. /package/dist/{packages/taco/src/components → components}/Icon/components/Restore.d.ts +0 -0
  823. /package/dist/{packages/taco/src/components → components}/Icon/components/RotateLeft.d.ts +0 -0
  824. /package/dist/{packages/taco/src/components → components}/Icon/components/RotateRight.d.ts +0 -0
  825. /package/dist/{packages/taco/src/components → components}/Icon/components/Sales.d.ts +0 -0
  826. /package/dist/{packages/taco/src/components → components}/Icon/components/Search.d.ts +0 -0
  827. /package/dist/{packages/taco/src/components → components}/Icon/components/SearchBold.d.ts +0 -0
  828. /package/dist/{packages/taco/src/components → components}/Icon/components/Secure.d.ts +0 -0
  829. /package/dist/{packages/taco/src/components → components}/Icon/components/SecureTick.d.ts +0 -0
  830. /package/dist/{packages/taco/src/components → components}/Icon/components/Settings.d.ts +0 -0
  831. /package/dist/{packages/taco/src/components → components}/Icon/components/SettingsSolid.d.ts +0 -0
  832. /package/dist/{packages/taco/src/components → components}/Icon/components/Shortcuts.d.ts +0 -0
  833. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowAll.d.ts +0 -0
  834. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowLess.d.ts +0 -0
  835. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowMore.d.ts +0 -0
  836. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowTemplate.d.ts +0 -0
  837. /package/dist/{packages/taco/src/components → components}/Icon/components/Sliders.d.ts +0 -0
  838. /package/dist/{packages/taco/src/components → components}/Icon/components/Smartpay.d.ts +0 -0
  839. /package/dist/{packages/taco/src/components → components}/Icon/components/SortBy.d.ts +0 -0
  840. /package/dist/{packages/taco/src/components → components}/Icon/components/Star.d.ts +0 -0
  841. /package/dist/{packages/taco/src/components → components}/Icon/components/StarSolid.d.ts +0 -0
  842. /package/dist/{packages/taco/src/components → components}/Icon/components/Subscriptions.d.ts +0 -0
  843. /package/dist/{packages/taco/src/components → components}/Icon/components/SystemEntries.d.ts +0 -0
  844. /package/dist/{packages/taco/src/components → components}/Icon/components/Tag.d.ts +0 -0
  845. /package/dist/{packages/taco/src/components → components}/Icon/components/TemplateOverride.d.ts +0 -0
  846. /package/dist/{packages/taco/src/components → components}/Icon/components/Templates.d.ts +0 -0
  847. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbBoth.d.ts +0 -0
  848. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDown.d.ts +0 -0
  849. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDownSolid.d.ts +0 -0
  850. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUp.d.ts +0 -0
  851. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUpSolid.d.ts +0 -0
  852. /package/dist/{packages/taco/src/components → components}/Icon/components/Tick.d.ts +0 -0
  853. /package/dist/{packages/taco/src/components → components}/Icon/components/TickBold.d.ts +0 -0
  854. /package/dist/{packages/taco/src/components → components}/Icon/components/Time.d.ts +0 -0
  855. /package/dist/{packages/taco/src/components → components}/Icon/components/Transfer.d.ts +0 -0
  856. /package/dist/{packages/taco/src/components → components}/Icon/components/TransferCancel.d.ts +0 -0
  857. /package/dist/{packages/taco/src/components → components}/Icon/components/TransferLocked.d.ts +0 -0
  858. /package/dist/{packages/taco/src/components → components}/Icon/components/Undo.d.ts +0 -0
  859. /package/dist/{packages/taco/src/components → components}/Icon/components/Undock.d.ts +0 -0
  860. /package/dist/{packages/taco/src/components → components}/Icon/components/Unreconciled.d.ts +0 -0
  861. /package/dist/{packages/taco/src/components → components}/Icon/components/Warning.d.ts +0 -0
  862. /package/dist/{packages/taco/src/components → components}/Icon/components/Webshop.d.ts +0 -0
  863. /package/dist/{packages/taco/src/components → components}/Icon/components/Website.d.ts +0 -0
  864. /package/dist/{packages/taco/src/components → components}/Icon/components/Workflow.d.ts +0 -0
  865. /package/dist/{packages/taco/src/components → components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
  866. /package/dist/{packages/taco/src/components → components}/Icon/components/Zoom.d.ts +0 -0
  867. /package/dist/{packages/taco/src/components → components}/Icon/components/index.d.ts +0 -0
  868. /package/dist/{packages/taco/src/components → components}/IconButton/IconButton.d.ts +0 -0
  869. /package/dist/{packages/taco/src/components → components}/Input/Input.d.ts +0 -0
  870. /package/dist/{packages/taco/src/components → components}/Input/util.d.ts +0 -0
  871. /package/dist/{packages/taco/src/components → components}/Layout/Layout.d.ts +0 -0
  872. /package/dist/{packages/taco/src/components → components}/Layout/components/Content.d.ts +0 -0
  873. /package/dist/{packages/taco/src/components → components}/Layout/components/Context.d.ts +0 -0
  874. /package/dist/{packages/taco/src/components → components}/Layout/components/Page.d.ts +0 -0
  875. /package/dist/{packages/taco/src/components → components}/Layout/components/Sidebar.d.ts +0 -0
  876. /package/dist/{packages/taco/src/components → components}/Layout/components/Top.d.ts +0 -0
  877. /package/dist/{packages/taco/src/components → components}/Listbox/Listbox.d.ts +0 -0
  878. /package/dist/{packages/taco/src/components → components}/Listbox/ScrollableList.d.ts +0 -0
  879. /package/dist/{packages/taco/src/components → components}/Listbox/useListbox.d.ts +0 -0
  880. /package/dist/{packages/taco/src/components → components}/Listbox/useMultiListbox.d.ts +0 -0
  881. /package/dist/{packages/taco/src/components → components}/Listbox/useTypeahead.d.ts +0 -0
  882. /package/dist/{packages/taco/src/components → components}/Listbox/util.d.ts +0 -0
  883. /package/dist/{packages/taco/src/components → components}/Menu/Context.d.ts +0 -0
  884. /package/dist/{packages/taco/src/components → components}/Menu/Menu.d.ts +0 -0
  885. /package/dist/{packages/taco/src/components → components}/Menu/components/Checkbox.d.ts +0 -0
  886. /package/dist/{packages/taco/src/components → components}/Menu/components/Content.d.ts +0 -0
  887. /package/dist/{packages/taco/src/components → components}/Menu/components/Header.d.ts +0 -0
  888. /package/dist/{packages/taco/src/components → components}/Menu/components/Item.d.ts +0 -0
  889. /package/dist/{packages/taco/src/components → components}/Menu/components/Link.d.ts +0 -0
  890. /package/dist/{packages/taco/src/components → components}/Menu/components/RadioGroup.d.ts +0 -0
  891. /package/dist/{packages/taco/src/components → components}/Menu/components/Separator.d.ts +0 -0
  892. /package/dist/{packages/taco/src/components → components}/Menu/components/SubMenu.d.ts +0 -0
  893. /package/dist/{packages/taco/src/components → components}/Menu/components/Trigger.d.ts +0 -0
  894. /package/dist/{packages/taco/src/components → components}/ModeSwitch/ModeSwitch.d.ts +0 -0
  895. /package/dist/{packages/taco/src/components → components}/Navigation/Navigation.d.ts +0 -0
  896. /package/dist/{packages/taco/src/components → components}/Navigation2/Navigation2.d.ts +0 -0
  897. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Content.d.ts +0 -0
  898. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Group.d.ts +0 -0
  899. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Link.d.ts +0 -0
  900. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Section.d.ts +0 -0
  901. /package/dist/{packages/taco/src/components → components}/Navigation2/components/util.d.ts +0 -0
  902. /package/dist/{packages/taco/src/components → components}/OverflowGroup/OverflowGroup.d.ts +0 -0
  903. /package/dist/{packages/taco/src/components → components}/Pagination/PageNumbers.d.ts +0 -0
  904. /package/dist/{packages/taco/src/components → components}/Pagination/Pagination.d.ts +0 -0
  905. /package/dist/{packages/taco/src/components → components}/Pagination/usePagination.d.ts +0 -0
  906. /package/dist/{packages/taco/src/components → components}/Pagination/usePaginationShortcuts.d.ts +0 -0
  907. /package/dist/{packages/taco/src/components → components}/Popover/Popover.d.ts +0 -0
  908. /package/dist/{packages/taco/src/components → components}/Popover/Primitives.d.ts +0 -0
  909. /package/dist/{packages/taco/src/components → components}/Popover/util.d.ts +0 -0
  910. /package/dist/{packages/taco/src/components → components}/Progress/Progress.d.ts +0 -0
  911. /package/dist/{packages/taco/src/components → components}/Provider/Provider.d.ts +0 -0
  912. /package/dist/{packages/taco/src/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
  913. /package/dist/{packages/taco/src/components → components}/RadioGroup/util.d.ts +0 -0
  914. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Body/util.d.ts +0 -0
  915. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Footer/Footer.d.ts +0 -0
  916. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Footer/Summary.d.ts +0 -0
  917. /package/dist/{packages/taco/src/primitives/Table/Core/components/Row/BuiltIns → components/Report/components/Row}/SkeletonRow.d.ts +0 -0
  918. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
  919. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
  920. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/components/Toolbar/components/Search/Search.d.ts +0 -0
  921. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/listeners/useTableRowActiveListener.d.ts +0 -0
  922. /package/dist/{packages/taco/src/primitives/Table/Core/features → components/Report/styles}/useStylesheet.d.ts +0 -0
  923. /package/dist/{packages/taco/src/primitives/Table/Core → components/Report}/util/rows.d.ts +0 -0
  924. /package/dist/{packages/taco/src/components → components}/ScrollArea/ScrollArea.d.ts +0 -0
  925. /package/dist/{packages/taco/src/components → components}/SearchInput/SearchInput.d.ts +0 -0
  926. /package/dist/{packages/taco/src/components → components}/SearchInput2/SearchInput2.d.ts +0 -0
  927. /package/dist/{packages/taco/src/components → components}/Select/Select.d.ts +0 -0
  928. /package/dist/{packages/taco/src/components → components}/Select/useSelect.d.ts +0 -0
  929. /package/dist/{packages/taco/src/components → components}/Select2/Select2.d.ts +0 -0
  930. /package/dist/{packages/taco/src/components → components}/Select2/components/All.d.ts +0 -0
  931. /package/dist/{packages/taco/src/components → components}/Select2/components/Collection.d.ts +0 -0
  932. /package/dist/{packages/taco/src/components → components}/Select2/components/Context.d.ts +0 -0
  933. /package/dist/{packages/taco/src/components → components}/Select2/components/Create.d.ts +0 -0
  934. /package/dist/{packages/taco/src/components → components}/Select2/components/Edit.d.ts +0 -0
  935. /package/dist/{packages/taco/src/components → components}/Select2/components/Group.d.ts +0 -0
  936. /package/dist/{packages/taco/src/components → components}/Select2/components/Option.d.ts +0 -0
  937. /package/dist/{packages/taco/src/components → components}/Select2/components/Search.d.ts +0 -0
  938. /package/dist/{packages/taco/src/components → components}/Select2/components/Title.d.ts +0 -0
  939. /package/dist/{packages/taco/src/components → components}/Select2/components/Trigger.d.ts +0 -0
  940. /package/dist/{packages/taco/src/components → components}/Select2/hooks/useChildren.d.ts +0 -0
  941. /package/dist/{packages/taco/src/components → components}/Select2/types.d.ts +0 -0
  942. /package/dist/{packages/taco/src/components → components}/Select2/utilities.d.ts +0 -0
  943. /package/dist/{packages/taco/src/components → components}/Shortcut/Shortcut.d.ts +0 -0
  944. /package/dist/{packages/taco/src/components → components}/Spinner/Spinner.d.ts +0 -0
  945. /package/dist/{packages/taco/src/components → components}/Switch/Switch.d.ts +0 -0
  946. /package/dist/{packages/taco/src/components → components}/Table/Table.storyexample.d.ts +0 -0
  947. /package/dist/{packages/taco/src/components → components}/Table/components/BaseTable.d.ts +0 -0
  948. /package/dist/{packages/taco/src/components → components}/Table/components/PaginatedTable.d.ts +0 -0
  949. /package/dist/{packages/taco/src/components → components}/Table/components/Table.d.ts +0 -0
  950. /package/dist/{packages/taco/src/components → components}/Table/components/WindowedTable.d.ts +0 -0
  951. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
  952. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
  953. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
  954. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
  955. /package/dist/{packages/taco/src/components → components}/Table/hooks/useRowCreation.d.ts +0 -0
  956. /package/dist/{packages/taco/src/components → components}/Table/hooks/useTable.d.ts +0 -0
  957. /package/dist/{packages/taco/src/components → components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
  958. /package/dist/{packages/taco/src/components → components}/Table/types.d.ts +0 -0
  959. /package/dist/{packages/taco/src/components → components}/Table/util/renderColumn.d.ts +0 -0
  960. /package/dist/{packages/taco/src/components → components}/Table/util/renderRow.d.ts +0 -0
  961. /package/dist/{packages/taco/src/components → components}/Table/util/rowIndexPath.d.ts +0 -0
  962. /package/dist/{packages/taco/src/components → components}/Table/util/sortTypes.d.ts +0 -0
  963. /package/dist/{packages/taco/src/components → components}/Table/util.d.ts +0 -0
  964. /package/dist/{packages/taco/src/components → components}/Tabs/Tabs.d.ts +0 -0
  965. /package/dist/{packages/taco/src/components → components}/Tag/Tag.d.ts +0 -0
  966. /package/dist/{packages/taco/src/components → components}/Textarea/Textarea.d.ts +0 -0
  967. /package/dist/{packages/taco/src/components → components}/Toast/Toast.d.ts +0 -0
  968. /package/dist/{packages/taco/src/components → components}/Toast/Toaster.d.ts +0 -0
  969. /package/dist/{packages/taco/src/components → components}/Toast/util.d.ts +0 -0
  970. /package/dist/{packages/taco/src/components → components}/Tooltip/Tooltip.d.ts +0 -0
  971. /package/dist/{packages/taco/src/components → components}/Tour/Tour.d.ts +0 -0
  972. /package/dist/{packages/taco/src/components → components}/Treeview/Treeview.d.ts +0 -0
  973. /package/dist/{packages/taco/src/components → components}/Truncate/Truncate.d.ts +0 -0
  974. /package/dist/{packages/taco/src/components → components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
  975. /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Body/EmptyStateBody.js +0 -0
  976. /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Body/util.js +0 -0
  977. /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Footer/Footer.js +0 -0
  978. /package/dist/esm/packages/taco/src/{primitives/Table/Core/components/Row/BuiltIns → components/Report/components/Row}/SkeletonRow.js +0 -0
  979. /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/components/Toolbar/components/Filters/util.js +0 -0
  980. /package/dist/esm/packages/taco/src/{primitives/Table/Core → components/Report}/util/rows.js +0 -0
  981. /package/dist/esm/packages/taco/src/primitives/Table/{Core → useTableManager}/features/useTableRef.js +0 -0
  982. /package/dist/{packages/taco/src/hooks → hooks}/useBoundaryOverflowDetection.d.ts +0 -0
  983. /package/dist/{packages/taco/src/hooks → hooks}/useBoundingClientRectListener.d.ts +0 -0
  984. /package/dist/{packages/taco/src/hooks → hooks}/useDebouncedEffect.d.ts +0 -0
  985. /package/dist/{packages/taco/src/hooks → hooks}/useGlobalKeyDown.d.ts +0 -0
  986. /package/dist/{packages/taco/src/hooks → hooks}/useId.d.ts +0 -0
  987. /package/dist/{packages/taco/src/hooks → hooks}/useIntersectionObserver.d.ts +0 -0
  988. /package/dist/{packages/taco/src/hooks → hooks}/useIsFormControl.d.ts +0 -0
  989. /package/dist/{packages/taco/src/hooks → hooks}/useIsHoverStatePaused.d.ts +0 -0
  990. /package/dist/{packages/taco/src/hooks → hooks}/useIsLargeScreen.d.ts +0 -0
  991. /package/dist/{packages/taco/src/hooks → hooks}/useLazyEffect.d.ts +0 -0
  992. /package/dist/{packages/taco/src/hooks → hooks}/useLocalStorage.d.ts +0 -0
  993. /package/dist/{packages/taco/src/hooks → hooks}/useMatchMedia.d.ts +0 -0
  994. /package/dist/{packages/taco/src/hooks → hooks}/useMergedRef.d.ts +0 -0
  995. /package/dist/{packages/taco/src/hooks → hooks}/usePrevious.d.ts +0 -0
  996. /package/dist/{packages/taco/src/hooks → hooks}/useTacoSettings.d.ts +0 -0
  997. /package/dist/{packages/taco/src/primitives → primitives}/BubbleSelect.d.ts +0 -0
  998. /package/dist/{packages/taco/src/primitives → primitives}/Button.d.ts +0 -0
  999. /package/dist/{packages/taco/src/primitives → primitives}/Collection/Collection.d.ts +0 -0
  1000. /package/dist/{packages/taco/src/primitives → primitives}/Collection/components/Root.d.ts +0 -0
  1001. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/Listbox2.d.ts +0 -0
  1002. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Context.d.ts +0 -0
  1003. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Group.d.ts +0 -0
  1004. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Option.d.ts +0 -0
  1005. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Root.d.ts +0 -0
  1006. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Title.d.ts +0 -0
  1007. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/types.d.ts +0 -0
  1008. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/Sortable.d.ts +0 -0
  1009. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Container.d.ts +0 -0
  1010. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Item.d.ts +0 -0
  1011. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/List.d.ts +0 -0
  1012. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableDataLoader.d.ts +0 -0
  1013. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
  1014. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
  1015. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
  1016. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
  1017. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
  1018. /package/dist/{packages/taco/src/primitives/Table/Core → primitives/Table/useTableManager}/features/useTableRef.d.ts +0 -0
  1019. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
  1020. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
  1021. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
  1022. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
  1023. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
  1024. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
  1025. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
  1026. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
  1027. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
  1028. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
  1029. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
  1030. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
  1031. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
  1032. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
  1033. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
  1034. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
  1035. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
  1036. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
  1037. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
  1038. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
  1039. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.d.ts +0 -0
  1040. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
  1041. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
  1042. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/presets.d.ts +0 -0
  1043. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/search.d.ts +0 -0
  1044. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/setup.d.ts +0 -0
  1045. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
  1046. /package/dist/{packages/taco/src/types.d.ts → types.d.ts} +0 -0
  1047. /package/dist/{packages/taco/src/utils → utils}/aria.d.ts +0 -0
  1048. /package/dist/{packages/taco/src/utils → utils}/date.d.ts +0 -0
  1049. /package/dist/{packages/taco/src/utils → utils}/debounce.d.ts +0 -0
  1050. /package/dist/{packages/taco/src/utils → utils}/device.d.ts +0 -0
  1051. /package/dist/{packages/taco/src/utils → utils}/hooks/useDraggable.d.ts +0 -0
  1052. /package/dist/{packages/taco/src/utils → utils}/hooks/useDropTarget.d.ts +0 -0
  1053. /package/dist/{packages/taco/src/utils → utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
  1054. /package/dist/{packages/taco/src/utils → utils}/hooks/useListScrollTo.d.ts +0 -0
  1055. /package/dist/{packages/taco/src/utils → utils}/hooks/useOnClickOutside.d.ts +0 -0
  1056. /package/dist/{packages/taco/src/utils → utils}/hooks/useRefState.d.ts +0 -0
  1057. /package/dist/{packages/taco/src/utils → utils}/hooks/useTimer.d.ts +0 -0
  1058. /package/dist/{packages/taco/src/utils → utils}/hooks/useTruncated.d.ts +0 -0
  1059. /package/dist/{packages/taco/src/utils → utils}/input.d.ts +0 -0
  1060. /package/dist/{packages/taco/src/utils → utils}/keyboard.d.ts +0 -0
  1061. /package/dist/{packages/taco/src/utils → utils}/mergeRefs.d.ts +0 -0
  1062. /package/dist/{packages/taco/src/utils → utils}/storyutils.d.ts +0 -0
  1063. /package/dist/{packages/taco/src/utils → utils}/tailwind.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"Toolbar.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Group } from '../../../../../components/Group/Group';\nimport { Search } from './components/Search/Search';\nimport { Settings } from './components/Settings/Settings';\nimport { Print } from './components/Print/Print';\nimport { Filters } from './components/Filters/Filters';\nimport { TableCustomSettingsRenderer } from '../../../types';\nimport { useTable } from '../../useTable';\n\nexport type TableToolbarProps = React.TableHTMLAttributes<HTMLDivElement> & {\n children?: JSX.Element | null;\n table: ReturnType<typeof useTable>;\n};\n\nexport function TableToolbar(props: TableToolbarProps) {\n const { children: customTools, table, ...attributes } = props;\n\n if (!isToolbarVisible(table, !!customTools)) {\n return null;\n }\n\n const canFilter = table.instance.options.enableColumnFilters;\n const canPrint = table.meta.printing.isEnabled;\n const canSettings = canChangeSettings(table.instance, table.props.customSettings);\n const canSearch = table.meta.search.isEnabled;\n\n return (\n <>\n <div\n {...attributes}\n className=\"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden\"\n data-taco=\"table-toolbar\">\n {table.props.toolbarLeft}\n <Group className=\"ml-auto flex-shrink-0 print:hidden\">\n {customTools}\n {canFilter ? <Filters length={table.meta.length} table={table.instance} /> : null}\n {table.props.toolbarRight}\n {canPrint ? <Print table={table.instance} tableId={table.id} tableRef={table.ref} /> : null}\n {canSettings ? <Settings customSettings={table.props.customSettings} table={table.instance} /> : null}\n {canSearch ? <Search scrollToIndex={table.renderer.scrollToIndex} table={table.instance} /> : null}\n </Group>\n </div>\n {table.props.toolbarPanel ? <div className=\"mb-4\">{table.props.toolbarPanel}</div> : undefined}\n </>\n );\n}\n\nfunction canChangeSettings<TType = unknown>(table: ReactTable<TType>, customSettings?: TableCustomSettingsRenderer) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n return (\n table.options.enableHiding ||\n tableMeta.columnOrdering.isEnabled ||\n tableMeta.fontSize.isEnabled ||\n tableMeta.rowHeight.isEnabled ||\n typeof customSettings === 'function'\n );\n}\n\nfunction isToolbarVisible(table: ReturnType<typeof useTable>, customTools: boolean) {\n const hasInternalToolbar =\n customTools ||\n table.instance.options.enableColumnFilters ||\n table.meta.printing.isEnabled ||\n canChangeSettings(table.instance, table.props.customSettings) ||\n table.meta.search.isEnabled;\n\n return hasInternalToolbar || !!table.props.toolbarLeft || !!table.props.toolbarRight;\n}\n"],"names":["TableToolbar","props","children","customTools","table","attributes","isToolbarVisible","canFilter","instance","options","enableColumnFilters","canPrint","meta","printing","isEnabled","canSettings","canChangeSettings","customSettings","canSearch","search","React","className","toolbarLeft","Group","Filters","length","toolbarRight","Print","tableId","id","tableRef","ref","Settings","Search","scrollToIndex","renderer","toolbarPanel","undefined","tableMeta","enableHiding","columnOrdering","fontSize","rowHeight","hasInternalToolbar"],"mappings":";;;;;;;SAegBA,YAAYA,CAACC,KAAwB;EACjD,MAAM;IAAEC,QAAQ,EAAEC,WAAW;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGJ,KAAK;EAE7D,IAAI,CAACK,gBAAgB,CAACF,KAAK,EAAE,CAAC,CAACD,WAAW,CAAC,EAAE;IACzC,OAAO,IAAI;;EAGf,MAAMI,SAAS,GAAGH,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB;EAC5D,MAAMC,QAAQ,GAAGP,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS;EAC9C,MAAMC,WAAW,GAAGC,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC;EACjF,MAAMC,SAAS,GAAGd,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE7C,oBACIM,yEACIA,sDACQf,UAAU;IACdgB,SAAS,EAAC,gEAAgE;iBAChE;MACTjB,KAAK,CAACH,KAAK,CAACqB,WAAW,eACxBF,6BAACG,KAAK;IAACF,SAAS,EAAC;KACZlB,WAAW,EACXI,S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mB,IAC1CN,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS,IAC7BE,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC,IAC7Db,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE/B,OAAO6B,kBAAkB,IAAI,CAAC,CAACvC,KAAK,CAACH,KAAK,CAACqB,WAAW,IAAI,CAAC,CAAClB,KAAK,CAACH,KAAK,CAACyB,YAAY;AACxF;;;;"}
@@ -1,62 +0,0 @@
1
- import React__default from 'react';
2
- import { Icon } from '../../../../../../../components/Icon/Icon.js';
3
- import { IconButton } from '../../../../../../../components/IconButton/IconButton.js';
4
- import { useLocalization } from '../../../../../../../components/Provider/Localization.js';
5
- import { Button } from '../../../../../../../components/Button/Button.js';
6
- import { Shortcut } from '../../../../../../../components/Shortcut/Shortcut.js';
7
- import { useIsLargeScreen } from '../../../../../../../hooks/useIsLargeScreen.js';
8
- import { isEmptyFilter } from './util.js';
9
- import { ManageFiltersPopover } from './ManageFiltersPopover.js';
10
-
11
- function Filters(props) {
12
- const {
13
- length,
14
- table
15
- } = props;
16
- const {
17
- texts
18
- } = useLocalization();
19
- const isLargeScreen = useIsLargeScreen();
20
- const columnFilters = table.getState().columnFilters;
21
- const appliedFilters = columnFilters.filter(f => !isEmptyFilter(f));
22
- const ref = React__default.useRef(null);
23
- const shortcut = {
24
- key: 'f',
25
- meta: true,
26
- shift: true
27
- };
28
- const buttonProps = {
29
- 'aria-label': texts.table.filters.tooltip,
30
- className: appliedFilters.length ? '!wcag-blue-100' : undefined,
31
- popover: popoverProps => /*#__PURE__*/React__default.createElement(ManageFiltersPopover, Object.assign({}, popoverProps, {
32
- length: length,
33
- table: table
34
- })),
35
- shortcut,
36
- ref,
37
- tooltip: ( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, texts.table.filters.tooltip, /*#__PURE__*/React__default.createElement(Shortcut, {
38
- className: "ml-2",
39
- keys: shortcut
40
- })))
41
- };
42
- React__default.useEffect(() => {
43
- const emptyFilter = columnFilters.find(isEmptyFilter);
44
- // we set an empty filter when adding a filter through a column header.
45
- if (emptyFilter) {
46
- var _ref$current;
47
- (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.click();
48
- }
49
- }, [columnFilters]);
50
- if (!isLargeScreen && !appliedFilters.length) {
51
- return /*#__PURE__*/React__default.createElement(IconButton, Object.assign({}, buttonProps, {
52
- icon: "filter"
53
- }));
54
- }
55
- return /*#__PURE__*/React__default.createElement(Button, Object.assign({}, buttonProps), /*#__PURE__*/React__default.createElement(Icon, {
56
- className: !isLargeScreen ? '-mr-1.5' : undefined,
57
- name: appliedFilters.length ? 'filter-solid' : 'filter'
58
- }), isLargeScreen ? texts.table.filters.button : '', appliedFilters.length ? `(${appliedFilters.length})` : '');
59
- }
60
-
61
- export { Filters };
62
- //# sourceMappingURL=Filters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Filters.js","sources":["../../../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { useIsLargeScreen } from '../../../../../../../hooks/useIsLargeScreen';\nimport { useLocalization } from '../../../../../../../components/Provider/Localization';\nimport { IconButton } from '../../../../../../../components/IconButton/IconButton';\nimport { Button } from '../../../../../../../components/Button/Button';\nimport { Icon } from '../../../../../../../components/Icon/Icon';\nimport { Shortcut } from '../../../../../../../components/Shortcut/Shortcut';\nimport { ManageFiltersPopover } from './ManageFiltersPopover';\nimport { TableFilter } from '../../../../../types';\nimport { isEmptyFilter } from './util';\n\nexport type FiltersProps<TType = unknown> = {\n length: number;\n table: ReactTable<TType>;\n};\n\nexport function Filters<TType = unknown>(props: FiltersProps<TType>) {\n const { length, table } = props;\n const { texts } = useLocalization();\n const isLargeScreen = useIsLargeScreen();\n const columnFilters = table.getState().columnFilters as TableFilter[];\n const appliedFilters = columnFilters.filter(f => !isEmptyFilter(f));\n const ref = React.useRef<HTMLButtonElement>(null);\n\n const shortcut = { key: 'f', meta: true, shift: true };\n\n const buttonProps = {\n 'aria-label': texts.table.filters.tooltip,\n className: appliedFilters.length ? '!wcag-blue-100' : undefined,\n popover: popoverProps => <ManageFiltersPopover {...popoverProps} length={length} table={table} />,\n shortcut,\n ref,\n tooltip: (\n <>\n {texts.table.filters.tooltip}\n <Shortcut className=\"ml-2\" keys={shortcut} />\n </>\n ),\n };\n\n React.useEffect(() => {\n const emptyFilter = columnFilters.find(isEmptyFilter);\n\n // we set an empty filter when adding a filter through a column header.\n if (emptyFilter) {\n ref.current?.click();\n }\n }, [columnFilters]);\n\n if (!isLargeScreen && !appliedFilters.length) {\n return <IconButton {...buttonProps} icon=\"filter\" />;\n }\n\n return (\n <Button {...buttonProps}>\n <Icon className={!isLargeScreen ? '-mr-1.5' : undefined} name={appliedFilters.length ? 'filter-solid' : 'filter'} />\n {isLargeScreen ? texts.table.filters.button : ''}\n {appliedFilters.length ? `(${appliedFilters.length})` : ''}\n </Button>\n );\n}\n"],"names":["Filters","props","length","table","texts","useLocalization","isLargeScreen","useIsLargeScreen","columnFilters","getState","appliedFilters","filter","f","isEmptyFilter","ref","React","useRef","shortcut","key","meta","shift","buttonProps","filters","tooltip","className","undefined","popover","popoverProps","ManageFiltersPopover","Shortcut","keys","useEffect","emptyFilter","find","_ref$current","current","click","IconButton","icon","Button","Icon","name","button"],"mappings":";;;;;;;;;;SAiBgBA,OAAOA,CAAkBC,KAA0B;EAC/D,MAAM;IAAEC,MAAM;IAAEC;GAAO,GAAGF,KAAK;EAC/B,MAAM;IAAEG;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAMC,aAAa,GAAGC,gBAAgB,EAAE;EACxC,MAAMC,aAAa,GAAGL,KAAK,CAACM,QAAQ,EAAE,CAACD,aAA8B;EACrE,MAAME,cAAc,GAAGF,aAAa,CAACG,MAAM,CAACC,CAAC,IAAI,CAACC,aAA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M,GAAG,cAAc,GAAG;IAAY,EACnHI,aAAa,GAAGF,KAAK,CAACD,KAAK,CAACmB,OAAO,CAACoB,MAAM,GAAG,EAAE,EAC/ChC,cAAc,CAACR,MAAM,OAAOQ,cAAc,CAACR,SAAS,GAAG,EAAE,CACrD;AAEjB;;;;"}
@@ -1,129 +0,0 @@
1
- import React__default from 'react';
2
- import { useLocalization } from '../../../../../../../components/Provider/Localization.js';
3
- import { Button } from '../../../../../../../components/Button/Button.js';
4
- import { Popover } from '../../../../../../../components/Popover/Popover.js';
5
- import { Group } from '../../../../../../../components/Group/Group.js';
6
- import { isInternalColumn } from '../../../../../useTableManager/util/columns.js';
7
- import { TableFilterComparator } from '../../../../../types.js';
8
- import { sortByHeader, isEmptyFilter } from './util.js';
9
- import { Filter } from './components/Filter.js';
10
-
11
- const placeholderFilter = {
12
- id: '',
13
- value: {
14
- comparator: TableFilterComparator.Contains,
15
- value: undefined
16
- }
17
- };
18
- function ManageFiltersPopover(props) {
19
- const {
20
- length,
21
- table,
22
- ...popoverProps
23
- } = props;
24
- const {
25
- locale,
26
- texts
27
- } = useLocalization();
28
- const allColumns = table.getAllLeafColumns().filter(column => !isInternalColumn(column.id)).sort(sortByHeader);
29
- const columnFilters = table.getState().columnFilters;
30
- // state, since we "apply" filters - our filter values have a special shape, so we force to our type
31
- const [filters, setFilters] = React__default.useState(columnFilters.length ? columnFilters : [placeholderFilter]);
32
- // this runs if filters are set outside (e.g. through column header)
33
- React__default.useEffect(() => {
34
- setFilters(columnFilters.length === 0 ? [placeholderFilter] : columnFilters);
35
- // focus the filter value, as we preset the column/comparator.
36
- requestAnimationFrame(() => {
37
- const filterValues = document.querySelectorAll('[data-query-selector="filter-value"]');
38
- const lastFilter = filterValues.length ? filterValues[filterValues.length - 1] : undefined;
39
- lastFilter === null || lastFilter === void 0 ? void 0 : lastFilter.focus();
40
- });
41
- }, [columnFilters]);
42
- // filters
43
- const handleChangeFilter = (position, filter) => {
44
- setFilters(currentFilters => {
45
- return currentFilters.map((current, index) => {
46
- if (index === position) {
47
- return filter;
48
- }
49
- return current;
50
- });
51
- });
52
- };
53
- const handleRemoveFilter = position => {
54
- if (filters.length === 1) {
55
- setFilters([placeholderFilter]);
56
- return;
57
- }
58
- setFilters(currentFilters => currentFilters.filter((_, index) => index !== position));
59
- };
60
- const handleCreate = () => {
61
- setFilters(filters.concat(placeholderFilter));
62
- };
63
- //
64
- const handleApply = () => {
65
- table.setColumnFilters(() => {
66
- const newFilters = filters.filter(f => {
67
- var _allColumns$find, _allColumns$find$colu;
68
- if (f.id === null || f.id === '') {
69
- return false;
70
- }
71
- const controlRenderer = (_allColumns$find = allColumns.find(c => c.id === f.id)) === null || _allColumns$find === void 0 ? void 0 : (_allColumns$find$colu = _allColumns$find.columnDef.meta) === null || _allColumns$find$colu === void 0 ? void 0 : _allColumns$find$colu.control;
72
- if (f.value.comparator === TableFilterComparator.IsEmpty || f.value.comparator === TableFilterComparator.IsNotEmpty || controlRenderer === 'switch') {
73
- return true;
74
- }
75
- return !!f.value.value;
76
- });
77
- return newFilters;
78
- });
79
- };
80
- const handleClear = () => {
81
- table.resetColumnFilters();
82
- setFilters([placeholderFilter]);
83
- };
84
- const handleClose = open => {
85
- if (!open) {
86
- const nonEmptyFilters = columnFilters.filter(f => !isEmptyFilter(f));
87
- table.setColumnFilters(nonEmptyFilters);
88
- setFilters(nonEmptyFilters.length === 0 ? [placeholderFilter] : nonEmptyFilters);
89
- }
90
- };
91
- return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
92
- onChange: handleClose
93
- }), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement("div", {
94
- className: "flex w-[40rem] flex-col gap-4"
95
- }, /*#__PURE__*/React__default.createElement("div", {
96
- className: "flex h-8"
97
- }, /*#__PURE__*/React__default.createElement("div", {
98
- className: "flex w-full items-center gap-2"
99
- }, /*#__PURE__*/React__default.createElement("h4", {
100
- className: "mb-0 inline-flex"
101
- }, texts.table.filters.button), /*#__PURE__*/React__default.createElement("p", {
102
- className: "text-grey-700 mb-0 mr-auto mt-px inline-flex"
103
- }, texts.table.filters.total.replace('[CURRENT]', new Intl.NumberFormat(locale).format(table.getFilteredRowModel().rows.length)).replace('[TOTAL]', new Intl.NumberFormat(locale).format(length))))), /*#__PURE__*/React__default.createElement("div", {
104
- className: "flex flex-col gap-2"
105
- }, filters.map((filter, index) => ( /*#__PURE__*/React__default.createElement(Filter, {
106
- key: `filter_${index}`,
107
- allColumns: allColumns,
108
- filter: filter,
109
- filters: filters,
110
- position: index,
111
- onChange: handleChangeFilter,
112
- onRemove: filters.length > 0 && filters.some(f => f.id) || filters.length > 1 ? handleRemoveFilter : undefined
113
- }))), /*#__PURE__*/React__default.createElement("div", {
114
- className: "justify-start"
115
- }, /*#__PURE__*/React__default.createElement(Button, {
116
- appearance: "discrete",
117
- onClick: handleCreate
118
- }, "+ ", texts.table.filters.buttons.addFilter))), /*#__PURE__*/React__default.createElement(Group, {
119
- className: "ml-auto"
120
- }, /*#__PURE__*/React__default.createElement(Popover.Close, null, /*#__PURE__*/React__default.createElement(Button, null, "Cancel")), /*#__PURE__*/React__default.createElement(Button, {
121
- onClick: handleClear
122
- }, "Clear"), /*#__PURE__*/React__default.createElement(Button, {
123
- appearance: "primary",
124
- onClick: handleApply
125
- }, "Apply")))));
126
- }
127
-
128
- export { ManageFiltersPopover };
129
- //# sourceMappingURL=ManageFiltersPopover.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManageFiltersPopover.js","sources":["../../../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\nimport { Popover } from '../../../../../../../components/Popover/Popover';\nimport { useLocalization } from '../../../../../../../components/Provider/Localization';\nimport { Button } from '../../../../../../../components/Button/Button';\nimport { Group } from '../../../../../../../components/Group/Group';\nimport { isEmptyFilter, sortByHeader } from './util';\nimport { isInternalColumn } from '../../../../../useTableManager/util/columns';\nimport { TableFilter, TableFilterComparator, TableFilterValue } from '../../../../../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 columnFilters = 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[]>(columnFilters.length ? columnFilters : [placeholderFilter]);\n\n // this runs if filters are set outside (e.g. through column header)\n React.useEffect(() => {\n setFilters(columnFilters.length === 0 ? [placeholderFilter] : columnFilters);\n\n // focus the filter value, as we preset the column/comparator.\n requestAnimationFrame(() => {\n const filterValues = document.querySelectorAll('[data-query-selector=\"filter-value\"]');\n const lastFilter = filterValues.length ? filterValues[filterValues.length - 1] : undefined;\n\n (lastFilter as HTMLElement)?.focus();\n });\n }, [columnFilters]);\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 = (open: boolean) => {\n if (!open) {\n const nonEmptyFilters = columnFilters.filter(f => !isEmptyFilter(f));\n table.setColumnFilters(nonEmptyFilters);\n setFilters(nonEmptyFilters.length === 0 ? [placeholderFilter] : nonEmptyFilters);\n }\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.table.filters.button}</h4>\n <p className=\"text-grey-700 mb-0 mr-auto mt-px inline-flex\">\n {texts.table.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.table.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","columnFilters","getState","filters","setFilters","React","useState","useEffect","requestAnimationFrame","filterValues","document","querySelectorAll","lastFilter","focus","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","open","nonEmptyFilters","isEmptyFilter","Popover","onChange","Content","className","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,aAAa,GAAGZ,KAAK,CAACa,QAAQ,EAAE,CAACD,aAA8B;;EAGrE,MAAM,CAACE,OAAO,EAAEC,UAAU,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAgBL,aAAa,CAACb,MAAM,GAAGa,aAAa,GAAG,CAACtB,iBAAiB,CAAC,CAAC;;EAGvH0B,cAAK,CAACE,SAAS,CAAC;IACZH,UAAU,CAACH,aAAa,CAACb,MAAM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D,6BAACuD,MAAM;IAACE,OAAO,EAAExB;aAA2B,eAC5CjC,6BAACuD,MAAM;IAACC,UAAU,EAAC,SAAS;IAACC,OAAO,EAAEtC;aAE7B,CACL,CACN,CACQ,CACZ;AAElB;;;;"}
@@ -1,102 +0,0 @@
1
- import React__default from 'react';
2
- import { IconButton } from '../../../../../../../../components/IconButton/IconButton.js';
3
- import { useLocalization } from '../../../../../../../../components/Provider/Localization.js';
4
- import { TableFilterComparator } from '../../../../../../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.table.filters.conditions.and : texts.table.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/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { IconButton } from '../../../../../../../../components/IconButton/IconButton';\nimport { useLocalization } from '../../../../../../../../components/Provider/Localization';\nimport { FilterColumn } from './FilterColumn';\nimport { FilterComparator } from './FilterComparator';\nimport { FilterValue } from './FilterValue';\nimport { TableFilter, TableFilterComparator } from '../../../../../../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.table.filters.conditions.and : texts.table.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","table","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,GAAGC,eAAe,EAAE;EACnC,MAAMC,MAAM,GAAGT,UAAU,CAACU,IAAI,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,KAAKX,MAAM,CAACW,EAAE,CAAC;EACvD,MAAMC,GAAG,GAAGC,cAAK,CAACC,MAAM,CAAoB,IAAI,CAAC;EAEjD,MAAM;IACFH,EAAE;IACFI,KAAK,EAAE;MAAEC,UAAU;MAAED;;GACxB,GAAGf,MAAM;EAEV,MAAMiB,kBAAkB,GAAIC,QAAgB;;IACxC,MAAMC,cAAc,GAAGpB,UAAU,CAACU,IAAI,CAACD,MAAM,IAAIA,MAAM,CAACG,EAAE,KAAKA,EAAE,CAAC;IAClE,MAAMS,UAAU,GAAGrB,UAAU,CAACU,IAAI,CAACD,MAAM,IAAIA,MAAM,CAACG,EAAE,KAAKO,Q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AC1B,EAAE,CAAC,CAAC;EAER,oBACIE;IAAKyB,SAAS,EAAC;kBACXzB;IAAKyB,SAAS,EAAC;KACVjC,QAAQ,GAAG,CAAC,GAAGC,KAAK,CAACiC,KAAK,CAACtC,OAAO,CAACuC,UAAU,CAACC,GAAG,GAAGnC,KAAK,CAACiC,KAAK,CAACtC,OAAO,CAACuC,UAAU,CAACE,KAAK,CACvF,eACN7B,6BAAC8B,YAAY;IACT5C,UAAU,EAAEA,UAAiB;IAC7BE,OAAO,EAAEA,OAAO;IAChBC,QAAQ,EAAEe,kBAAyB;IACnCF,KAAK,EAAEJ,EAAE;IACTC,GAAG,EAAEA;IACP,eACFC,6BAAC+B,gBAAgB;IAACpC,MAAM,EAAEA,MAAM;IAAEN,QAAQ,EAAE2B,sBAA6B;IAAEd,KAAK,EAAEC;IAAc,eAChGH,6BAACgC,WAAW;IAACrC,MAAM,EAAEA,MAAM;IAAEQ,UAAU,EAAEA,UAAU;IAAEd,QAAQ,EAAE+B,iBAAiB;IAAElB,KAAK,EAAEA;IAAS,EACjGX,QAAQ,gBAAGS,6BAACiC,UAAU;IAACC,UAAU,EAAC,UAAU;IAACT,SAAS,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 '../../../../../../../../components/Icon/Icon.js';
3
- import { Tooltip } from '../../../../../../../../components/Tooltip/Tooltip.js';
4
- import { useLocalization } from '../../../../../../../../components/Provider/Localization.js';
5
- import { Field } from '../../../../../../../../components/Field/Field.js';
6
- import { Select2 } from '../../../../../../../../components/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.table.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.table.filters.hiddenGroupedColumn : texts.table.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/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.tsx"],"sourcesContent":["import React from 'react';\nimport { Column as ReactTableColumn } from '@tanstack/react-table';\nimport { Select2, Select2Props } from '../../../../../../../../components/Select2/Select2';\nimport { Icon } from '../../../../../../../../components/Icon/Icon';\nimport { Tooltip } from '../../../../../../../../components/Tooltip/Tooltip';\nimport { useLocalization } from '../../../../../../../../components/Provider/Localization';\nimport { Field } from '../../../../../../../../components/Field/Field';\nimport { TableFilter } from '../../../../../../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.table.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.table.filters.hiddenGroupedColumn\n : texts.table.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","table","hiddenColumn","undefined","Select2","emptyValue","map","_column$columnDef$met","_column$parent","_column$parent$column","Option","key","postfix","getIsGrouped","Tooltip","title","hidden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OAAO,CAAC+B,mBAAmB,GACvC1B,KAAK,CAACW,KAAK,CAAChB,OAAO,CAACiB;sBAE9BtB,6BAACqC,IAAI;QAACC,IAAI,EAAC,SAAS;QAACpB,SAAS,EAAC;QAA4B,CACrD,IACVK,SAAS;MAEjBgB,QAAQ,EAAEzB,MAAM,CAACC,EAAE,KAAKP,KAAK,KAAK,CAACM,MAAM,CAAC0B,YAAY,EAAE,IAAI,CAAC,CAACnC,OAAO,CAACQ,IAAI,CAAC4B,CAAC,IAAIA,CAAC,CAAC1B,EAAE,KAAKD,MAAM,CAACC,EAAE,CAAC;OACjG,EAAAY,qBAAA,GAAAb,MAAM,CAAC4B,SAAS,CAACC,IAAI,cAAAhB,qBAAA,uBAArBA,qBAAA,CAAuBiB,MAAiB,KACrC9B,MAAM,CAAC+B,MAAM,0BAAQ/B,MAAM,CAAC+B,MAAM,cAAAjB,cAAA,wBAAAC,qBAAA,GAAbD,cAAA,CAAec,SAAS,CAACC,IAAI,cAAAd,qBAAA,uBAA7BA,qBAAA,CAA+Be,SAAS,GAAG,EAAE,CAAC,CAC3D;GACpB,CAAC,CACI,CACN,CACN;AAEd,CAAC;;;;"}
@@ -1,110 +0,0 @@
1
- import React__default from 'react';
2
- import { useLocalization } from '../../../../../../../../components/Provider/Localization.js';
3
- import { TableFilterComparator } from '../../../../../../types.js';
4
- import { Select2 } from '../../../../../../../../components/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.table.filters.comparators.contains;
78
- case TableFilterComparator.DoesNotContain:
79
- return texts.table.filters.comparators.doesNotContain;
80
- case TableFilterComparator.IsEqualTo:
81
- return texts.table.filters.comparators.isEqualTo;
82
- case TableFilterComparator.IsNotEqualTo:
83
- return texts.table.filters.comparators.isNotEqualTo;
84
- case TableFilterComparator.IsGreaterThan:
85
- return isDate ? texts.table.filters.comparators.isAfter : texts.table.filters.comparators.isGreaterThan;
86
- case TableFilterComparator.IsLessThan:
87
- return isDate ? texts.table.filters.comparators.isBefore : texts.table.filters.comparators.isLessThan;
88
- case TableFilterComparator.IsBetween:
89
- return texts.table.filters.comparators.isBetween;
90
- case TableFilterComparator.IsEmpty:
91
- return texts.table.filters.comparators.isEmpty;
92
- case TableFilterComparator.IsNotEmpty:
93
- return texts.table.filters.comparators.isNotEmpty;
94
- case TableFilterComparator.IsLessThanOrEqualTo:
95
- return isDate ? texts.table.filters.comparators.isOnOrBefore : texts.table.filters.comparators.isLessThanOrEqualTo;
96
- case TableFilterComparator.IsGreaterThanOrEqualTo:
97
- return isDate ? texts.table.filters.comparators.isOnOrAfter : texts.table.filters.comparators.isGreaterThanOrEqualTo;
98
- case TableFilterComparator.HasAnyOf:
99
- return texts.table.filters.comparators.hasAnyOf;
100
- case TableFilterComparator.HasAllOf:
101
- return texts.table.filters.comparators.hasAllOf;
102
- case TableFilterComparator.HasNoneOf:
103
- return texts.table.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/primitives/Table/Core/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 '../../../../../../../../components/Select2/Select2';\nimport { LocalizationTexts, useLocalization } from '../../../../../../../../components/Provider/Localization';\nimport { TableFilterComparator } from '../../../../../../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.table.filters.comparators.contains;\n\n case TableFilterComparator.DoesNotContain:\n return texts.table.filters.comparators.doesNotContain;\n\n case TableFilterComparator.IsEqualTo:\n return texts.table.filters.comparators.isEqualTo;\n\n case TableFilterComparator.IsNotEqualTo:\n return texts.table.filters.comparators.isNotEqualTo;\n\n case TableFilterComparator.IsGreaterThan:\n return isDate ? texts.table.filters.comparators.isAfter : texts.table.filters.comparators.isGreaterThan;\n\n case TableFilterComparator.IsLessThan:\n return isDate ? texts.table.filters.comparators.isBefore : texts.table.filters.comparators.isLessThan;\n\n case TableFilterComparator.IsBetween:\n return texts.table.filters.comparators.isBetween;\n\n case TableFilterComparator.IsEmpty:\n return texts.table.filters.comparators.isEmpty;\n\n case TableFilterComparator.IsNotEmpty:\n return texts.table.filters.comparators.isNotEmpty;\n\n case TableFilterComparator.IsLessThanOrEqualTo:\n return isDate ? texts.table.filters.comparators.isOnOrBefore : texts.table.filters.comparators.isLessThanOrEqualTo;\n\n case TableFilterComparator.IsGreaterThanOrEqualTo:\n return isDate ? texts.table.filters.comparators.isOnOrAfter : texts.table.filters.comparators.isGreaterThanOrEqualTo;\n\n case TableFilterComparator.HasAnyOf:\n return texts.table.filters.comparators.hasAnyOf;\n\n case TableFilterComparator.HasAllOf:\n return texts.table.filters.comparators.hasAllOf;\n\n case TableFilterComparator.HasNoneOf:\n return texts.table.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","table","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,CAAC,CAAC,CAAC;;GAE1C,EAAE,CAACA,gBAAgB,CAAC,CAAC;EAEtB,oBACIE,6BAACI,OAAO,oBAAKT,UAAU;IAAEU,SAAS,EAAC,qBAAqB;IAACC,QAAQ,EAAE,CAACf,MAAM;IAAEC,QAAQ,EAAEC,YAAY;IAAEC,KAAK,EAAEA;MACtGI,gBAAgB,CAACS,GAAG,CAACC,UAAU,mBAC5BR,6BAACI,OAAO,CAACK,MAAM;IAACC,GAAG,EAAEF,UAAU;IAAEd,KAAK,EAAEc;KACnCG,iBAAiB,CAACH,UAAU,EAAEZ,KAAK,EAAEL,MAAM,CAAC,CAChC,CACpB,CAAC,CACI;AAElB;AAEA,SAASQ,8BAA8BA,CAAkBR,MAAgC;;EACrF,MAAMqB,UAAU,IAAAC,qBAAA,GAAItB,MAAM,aAANA,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