@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,71 +0,0 @@
1
- import React__default from 'react';
2
- import { Tooltip } from '../../../../../../components/Tooltip/Tooltip.js';
3
- import { IconButton } from '../../../../../../components/IconButton/IconButton.js';
4
- import { useLocalization } from '../../../../../../components/Provider/Localization.js';
5
-
6
- function Header(context) {
7
- const {
8
- texts
9
- } = useLocalization();
10
- const {
11
- table
12
- } = context;
13
- const isSomeRowsExpanded = table.getIsSomeRowsExpanded();
14
- const handleClick = event => {
15
- event.stopPropagation();
16
- table.toggleAllRowsExpanded(!isSomeRowsExpanded);
17
- };
18
- const title = isSomeRowsExpanded ? texts.table.columns.expansion.collapseAll : texts.table.columns.expansion.expandAll;
19
- return /*#__PURE__*/React__default.createElement(Tooltip, {
20
- title: title
21
- }, /*#__PURE__*/React__default.createElement(IconButton, {
22
- appearance: "transparent",
23
- icon: isSomeRowsExpanded ? 'chevron-down-double' : 'chevron-right-double',
24
- onClick: handleClick,
25
- tabIndex: -1,
26
- title: title
27
- }));
28
- }
29
- function Cell(context) {
30
- var _tableMeta$rowExpansi, _tableMeta$rowExpansi2;
31
- const {
32
- texts
33
- } = useLocalization();
34
- const tableMeta = context.table.options.meta;
35
- const hasExpandedRow = (_tableMeta$rowExpansi = (_tableMeta$rowExpansi2 = tableMeta.rowExpansion).rowExpansionRenderer) === null || _tableMeta$rowExpansi === void 0 ? void 0 : _tableMeta$rowExpansi.call(_tableMeta$rowExpansi2, context.row.original);
36
- if (hasExpandedRow) {
37
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === context.row.index;
38
- const isExpanded = context.row.getIsExpanded();
39
- const handleClick = event => {
40
- event.stopPropagation();
41
- context.row.toggleExpanded();
42
- };
43
- const title = isExpanded ? texts.table.columns.expansion.collapse : texts.table.columns.expansion.expand;
44
- const tabIndex = isActiveRow ? 0 : -1;
45
- return /*#__PURE__*/React__default.createElement(Tooltip, {
46
- title: title
47
- }, /*#__PURE__*/React__default.createElement(IconButton, {
48
- appearance: "discrete",
49
- icon: isExpanded ? 'chevron-down' : 'chevron-right',
50
- onClick: handleClick,
51
- tabIndex: tabIndex,
52
- title: title
53
- }));
54
- }
55
- return null;
56
- }
57
- const renderer = {
58
- header: Header,
59
- renderer: Cell,
60
- size: 40,
61
- meta: {
62
- align: 'center',
63
- // TODO: remove when table3 is migrated, this satisfies the legacy table3 type
64
- enableSearch: false,
65
- header: '',
66
- headerClassName: '!p-0'
67
- }
68
- };
69
-
70
- export { renderer };
71
- //# sourceMappingURL=Expansion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Expansion.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Columns/Internal/Expansion.tsx"],"sourcesContent":["import React from 'react';\nimport {\n HeaderContext as ReactTableHeaderContext,\n CellContext as ReactTableCellContext,\n TableMeta as ReactTableMeta,\n} from '@tanstack/react-table';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { Tooltip } from '../../../../../../components/Tooltip/Tooltip';\nimport { IconButton } from '../../../../../../components/IconButton/IconButton';\nimport { useTableManagerInternalColumn } from '../../../../useTableManager/types';\n\nfunction Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>) {\n const { texts } = useLocalization();\n const { table } = context;\n\n const isSomeRowsExpanded = table.getIsSomeRowsExpanded();\n\n const handleClick = event => {\n event.stopPropagation();\n table.toggleAllRowsExpanded(!isSomeRowsExpanded);\n };\n\n const title = isSomeRowsExpanded ? texts.table.columns.expansion.collapseAll : texts.table.columns.expansion.expandAll;\n\n return (\n <Tooltip title={title}>\n <IconButton\n appearance=\"transparent\"\n icon={isSomeRowsExpanded ? 'chevron-down-double' : 'chevron-right-double'}\n onClick={handleClick}\n tabIndex={-1}\n title={title}\n />\n </Tooltip>\n );\n}\n\nfunction Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>) {\n const { texts } = useLocalization();\n const tableMeta = context.table.options.meta as ReactTableMeta<TType>;\n\n const hasExpandedRow = tableMeta.rowExpansion.rowExpansionRenderer?.(context.row.original);\n\n if (hasExpandedRow) {\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === context.row.index;\n const isExpanded = context.row.getIsExpanded();\n\n const handleClick = event => {\n event.stopPropagation();\n context.row.toggleExpanded();\n };\n\n const title = isExpanded ? texts.table.columns.expansion.collapse : texts.table.columns.expansion.expand;\n const tabIndex = isActiveRow ? 0 : -1;\n\n return (\n <Tooltip title={title}>\n <IconButton\n appearance=\"discrete\"\n icon={isExpanded ? 'chevron-down' : 'chevron-right'}\n onClick={handleClick}\n tabIndex={tabIndex}\n title={title}\n />\n </Tooltip>\n );\n }\n\n return null;\n}\n\nexport const renderer: useTableManagerInternalColumn = {\n header: Header,\n renderer: Cell,\n size: 40,\n meta: {\n align: 'center',\n // TODO: remove when table3 is migrated, this satisfies the legacy table3 type\n enableSearch: false,\n header: '',\n headerClassName: '!p-0',\n },\n};\n"],"names":["Header","context","texts","useLocalization","table","isSomeRowsExpanded","getIsSomeRowsExpanded","handleClick","event","stopPropagation","toggleAllRowsExpanded","title","columns","expansion","collapseAll","expandAll","React","Tooltip","IconButton","appearance","icon","onClick","tabIndex","Cell","tableMeta","options","meta","hasExpandedRow","_tableMeta$rowExpansi","_tableMeta$rowExpansi2","rowExpansion","rowExpansionRenderer","call","row","original","isActiveRow","rowActive","rowActiveIndex","index","isExpanded","getIsExpanded","toggleExpanded","collapse","expand","renderer","header","size","align","enableSearch","headerClassName"],"mappings":";;;;;AAWA,SAASA,MAAMA,CAAkBC,OAAgD;EAC7E,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAM;IAAEC;GAAO,GAAGH,OAAO;EAEzB,MAAMI,kBAAkB,GAAGD,KAAK,CAACE,qBAAqB,EAAE;EAExD,MAAMC,WAAW,GAAGC,KAAK;IACrBA,KAAK,CAACC,eAAe,EAAE;IACvBL,KAAK,CAACM,qBAAqB,CAAC,CAACL,kBAAkB,CAAC;GACnD;EAED,MAAMM,KAAK,GAAGN,kBAAkB,GAAGH,KAAK,CAACE,KAAK,CAACQ,OAAO,CAACC,SAAS,CAACC,WAAW,GAAGZ,KAAK,CAACE,KAAK,CAACQ,OAAO,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MACPC,UAAU,EAAC,UAAU;MACrBC,IAAI,EAAEmB,UAAU,GAAG,cAAc,GAAG,eAAe;MACnDlB,OAAO,EAAEd,WAAW;MACpBe,QAAQ,EAAEA,QAAQ;MAClBX,KAAK,EAAEA;MACT,CACI;;EAIlB,OAAO,IAAI;AACf;MAEaiC,QAAQ,GAAkC;EACnDC,MAAM,EAAE7C,MAAM;EACd4C,QAAQ,EAAErB,IAAI;EACduB,IAAI,EAAE,EAAE;EACRpB,IAAI,EAAE;IACFqB,KAAK,EAAE,QAAQ;;IAEfC,YAAY,EAAE,KAAK;IACnBH,MAAM,EAAE,EAAE;IACVI,eAAe,EAAE;;;;;;"}
@@ -1,167 +0,0 @@
1
- import React__default from 'react';
2
- import cn from 'clsx';
3
- import { Tooltip } from '../../../../../../components/Tooltip/Tooltip.js';
4
- import { useLocalization } from '../../../../../../components/Provider/Localization.js';
5
- import { Checkbox } from '../../../../../../components/Checkbox/Checkbox.js';
6
- import { Shortcut } from '../../../../../../components/Shortcut/Shortcut.js';
7
- import { getRadioClassnames } from '../../../../../../components/RadioGroup/util.js';
8
- import { TableServerLoadAllState } from '../../../../types.js';
9
- import { RowContext } from '../../Row/RowContext.js';
10
-
11
- function Header(context) {
12
- const {
13
- texts
14
- } = useLocalization();
15
- const {
16
- table
17
- } = context;
18
- const tableMeta = table.options.meta;
19
- if (table.options.enableMultiRowSelection) {
20
- const isAllRowsSelected = table.getIsAllRowsSelected();
21
- const isSomeRowsSelected = table.getIsSomeRowsSelected();
22
- const title = isAllRowsSelected ? texts.table.columns.select.deselectAll : texts.table.columns.select.selectAll;
23
- const handleChange = function (checked) {
24
- try {
25
- function _temp2() {
26
- table.toggleAllRowsSelected(checked);
27
- }
28
- const _temp = function () {
29
- if (tableMeta.server.loadAllIfNeeded) {
30
- // don't pass the search query because we need all data - not filtered data
31
- return Promise.resolve(tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined)).then(function () {});
32
- }
33
- }();
34
- // load all data if that is possible
35
- return Promise.resolve(_temp && _temp.then ? _temp.then(_temp2) : _temp2(_temp));
36
- } catch (e) {
37
- return Promise.reject(e);
38
- }
39
- };
40
- return /*#__PURE__*/React__default.createElement(Tooltip, {
41
- title: title
42
- }, /*#__PURE__*/React__default.createElement(Checkbox, {
43
- "aria-label": title,
44
- className: "hover:border-blue !-mt-px",
45
- key: String(`${isAllRowsSelected}_${isSomeRowsSelected}`),
46
- checked: isAllRowsSelected,
47
- indeterminate: isSomeRowsSelected,
48
- loading: tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading,
49
- onChange: handleChange
50
- }));
51
- }
52
- return null;
53
- }
54
- const toggleBetween = (fromRowIndex, toRowIndex) => {
55
- const fromIndex = toRowIndex < fromRowIndex ? toRowIndex : fromRowIndex;
56
- const toIndex = toRowIndex > fromRowIndex ? toRowIndex : fromRowIndex;
57
- return [fromIndex, toIndex];
58
- };
59
- function Cell(context) {
60
- var _table$getState$group;
61
- const {
62
- texts
63
- } = useLocalization();
64
- const {
65
- row,
66
- table
67
- } = context;
68
- const {
69
- rowIndex
70
- } = React__default.useContext(RowContext);
71
- const tableMeta = table.options.meta;
72
- if (table.options.enableGrouping && (_table$getState$group = table.getState().grouping) !== null && _table$getState$group !== void 0 && _table$getState$group.length && !row.getIsGrouped()) {
73
- return null;
74
- }
75
- const isSelected = row.getIsGrouped() ? row.getIsAllSubRowsSelected() : row.getIsSelected();
76
- const title = isSelected ? texts.table.columns.select.deselect : texts.table.columns.select.select;
77
- if (table.options.enableMultiRowSelection) {
78
- const handleClick = function (event) {
79
- try {
80
- function _temp7() {
81
- tableMeta.rowSelection.lastSelectedRowIndex.current = row.index;
82
- }
83
- event.stopPropagation();
84
- const _temp6 = function () {
85
- if (row.getIsGrouped()) {
86
- row.subRows.forEach(row => row.toggleSelected());
87
- } else {
88
- const _temp5 = function () {
89
- if (event.shiftKey) {
90
- var _tableMeta$rowSelecti;
91
- function _temp4() {
92
- table.setRowSelection(currentRowSelection => ({
93
- ...currentRowSelection,
94
- ...selectedRows.reduce((state, row) => ({
95
- ...state,
96
- [row.id]: true
97
- }), {})
98
- }));
99
- }
100
- const [fromIndex, toIndex] = toggleBetween((_tableMeta$rowSelecti = tableMeta.rowSelection.lastSelectedRowIndex.current) !== null && _tableMeta$rowSelecti !== void 0 ? _tableMeta$rowSelecti : 0, rowIndex);
101
- const selectedRows = table.getRowModel().rows.slice(fromIndex, toIndex + 1);
102
- const _temp3 = function () {
103
- if (tableMeta.server.loadAllIfNeeded && selectedRows.some(row => row.original === undefined)) {
104
- // don't pass the search query because we need all data - not filtered data
105
- return Promise.resolve(tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined)).then(function () {});
106
- }
107
- }();
108
- return _temp3 && _temp3.then ? _temp3.then(_temp4) : _temp4(_temp3);
109
- } else {
110
- row.toggleSelected();
111
- }
112
- }();
113
- if (_temp5 && _temp5.then) return _temp5.then(function () {});
114
- }
115
- }();
116
- return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(_temp7) : _temp7(_temp6));
117
- } catch (e) {
118
- return Promise.reject(e);
119
- }
120
- };
121
- return /*#__PURE__*/React__default.createElement(Tooltip, {
122
- title: /*#__PURE__*/React__default.createElement(React__default.Fragment, null, title, /*#__PURE__*/React__default.createElement(Shortcut, {
123
- className: "ml-2",
124
- keys: "Space"
125
- }))
126
- }, /*#__PURE__*/React__default.createElement(Checkbox, {
127
- "aria-label": title,
128
- className: "!mt-0",
129
- checked: isSelected,
130
- onClick: handleClick,
131
- // this is necessary to remove console spam from eslint
132
- onChange: () => false
133
- }));
134
- } else {
135
- const className = cn('!mt-0', getRadioClassnames());
136
- const handleClick = event => {
137
- event.stopPropagation();
138
- row.toggleSelected();
139
- tableMeta.rowSelection.lastSelectedRowIndex.current = row.index;
140
- };
141
- return /*#__PURE__*/React__default.createElement("button", {
142
- className: className,
143
- "aria-checked": isSelected,
144
- onClick: handleClick,
145
- role: "radio",
146
- type: "button"
147
- }, isSelected ? /*#__PURE__*/React__default.createElement("span", {
148
- className: "h-2 w-2 rounded-full bg-white"
149
- }) : null);
150
- }
151
- }
152
- const renderer = {
153
- header: Header,
154
- renderer: Cell,
155
- size: 40,
156
- meta: {
157
- align: 'center',
158
- className: '!px-1',
159
- // TODO: remove when table3 is migrated, this satisfies the legacy table3 type
160
- enableSearch: false,
161
- header: '',
162
- headerClassName: '!px-1'
163
- }
164
- };
165
-
166
- export { renderer };
167
- //# sourceMappingURL=Selection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Selection.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Columns/Internal/Selection.tsx"],"sourcesContent":["import React from 'react';\nimport {\n HeaderContext as ReactTableHeaderContext,\n CellContext as ReactTableCellContext,\n TableMeta as ReactTableMeta,\n RowSelectionState,\n} from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { Tooltip } from '../../../../../../components/Tooltip/Tooltip';\nimport { Checkbox } from '../../../../../../components/Checkbox/Checkbox';\nimport { Shortcut } from '../../../../../../components/Shortcut/Shortcut';\nimport { getRadioClassnames } from '../../../../../../components/RadioGroup/util';\nimport { TableServerLoadAllState } from '../../../../types';\nimport { RowContext } from '../../Row/RowContext';\nimport { useTableManagerInternalColumn } from '../../../../useTableManager/types';\n\nfunction Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>) {\n const { texts } = useLocalization();\n const { table } = context;\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n if (table.options.enableMultiRowSelection) {\n const isAllRowsSelected = table.getIsAllRowsSelected();\n const isSomeRowsSelected = table.getIsSomeRowsSelected();\n const title = isAllRowsSelected ? texts.table.columns.select.deselectAll : texts.table.columns.select.selectAll;\n\n const handleChange = async (checked: boolean) => {\n // load all data if that is possible\n if (tableMeta.server.loadAllIfNeeded) {\n // don't pass the search query because we need all data - not filtered data\n await tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined);\n }\n\n table.toggleAllRowsSelected(checked);\n };\n\n return (\n <Tooltip title={title}>\n <Checkbox\n aria-label={title}\n className=\"hover:border-blue !-mt-px\"\n key={String(`${isAllRowsSelected}_${isSomeRowsSelected}`)}\n checked={isAllRowsSelected}\n indeterminate={isSomeRowsSelected}\n loading={tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading}\n onChange={handleChange}\n />\n </Tooltip>\n );\n }\n\n return null;\n}\n\nconst toggleBetween = (fromRowIndex: number, toRowIndex: number): [number, number] => {\n const fromIndex = toRowIndex < fromRowIndex ? toRowIndex : fromRowIndex;\n const toIndex = toRowIndex > fromRowIndex ? toRowIndex : fromRowIndex;\n\n return [fromIndex, toIndex];\n};\n\nfunction Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>) {\n const { texts } = useLocalization();\n const { row, table } = context;\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n if (table.options.enableGrouping && table.getState().grouping?.length && !row.getIsGrouped()) {\n return null;\n }\n\n const isSelected = row.getIsGrouped() ? row.getIsAllSubRowsSelected() : row.getIsSelected();\n const title = isSelected ? texts.table.columns.select.deselect : texts.table.columns.select.select;\n\n if (table.options.enableMultiRowSelection) {\n const handleClick = async (event: React.MouseEvent) => {\n event.stopPropagation();\n\n if (row.getIsGrouped()) {\n row.subRows.forEach(row => row.toggleSelected());\n } else if (event.shiftKey) {\n const [fromIndex, toIndex] = toggleBetween(tableMeta.rowSelection.lastSelectedRowIndex.current ?? 0, rowIndex);\n const selectedRows = table.getRowModel().rows.slice(fromIndex, toIndex + 1);\n\n if (tableMeta.server.loadAllIfNeeded && selectedRows.some(row => row.original === undefined)) {\n // don't pass the search query because we need all data - not filtered data\n await tableMeta.server.loadAllIfNeeded(table.getState().sorting, table.getState().columnFilters, undefined);\n }\n\n table.setRowSelection((currentRowSelection: RowSelectionState) => ({\n ...currentRowSelection,\n ...selectedRows.reduce((state, row) => ({ ...state, [row.id]: true }), {}),\n }));\n } else {\n row.toggleSelected();\n }\n\n tableMeta.rowSelection.lastSelectedRowIndex.current = row.index;\n };\n\n return (\n <Tooltip\n title={\n <>\n {title}\n <Shortcut className=\"ml-2\" keys=\"Space\" />\n </>\n }>\n <Checkbox\n aria-label={title}\n className=\"!mt-0\"\n checked={isSelected}\n onClick={handleClick}\n // this is necessary to remove console spam from eslint\n onChange={() => false}\n />\n </Tooltip>\n );\n } else {\n const className = cn('!mt-0', getRadioClassnames());\n\n const handleClick = (event: React.MouseEvent): void => {\n event.stopPropagation();\n row.toggleSelected();\n tableMeta.rowSelection.lastSelectedRowIndex.current = row.index;\n };\n\n return (\n <button className={className} aria-checked={isSelected} onClick={handleClick} role=\"radio\" type=\"button\">\n {isSelected ? <span className=\"h-2 w-2 rounded-full bg-white\" /> : null}\n </button>\n );\n }\n}\n\nexport const renderer: useTableManagerInternalColumn = {\n header: Header,\n renderer: Cell,\n size: 40,\n meta: {\n align: 'center',\n className: '!px-1',\n // TODO: remove when table3 is migrated, this satisfies the legacy table3 type\n enableSearch: false,\n header: '',\n headerClassName: '!px-1',\n },\n};\n"],"names":["Header","context","texts","useLocalization","table","tableMeta","options","meta","enableMultiRowSelection","isAllRowsSelected","getIsAllRowsSelected","isSomeRowsSelected","getIsSomeRowsSelected","title","columns","select","deselectAll","selectAll","handleChange","checked","toggleAllRowsSelected","_temp","server","loadAllIfNeeded","Promise","resolve","getState","sorting","columnFilters","undefined","then","_temp2","e","reject","React","Tooltip","Checkbox","className","key","String","indeterminate","loading","loadAllStatus","TableServerLoadAllState","Loading","onChange","toggleBetween","fromRowIndex","toRowIndex","fromIndex","toIndex","Cell","row","rowIndex","useContext","RowContext","enableGrouping","_table$getState$group","grouping","length","getIsGrouped","isSelected","getIsAllSubRowsSelected","getIsSelected","deselect","handleClick","event","rowSelection","lastSelectedRowIndex","current","index","stopPropagation","_temp6","subRows","forEach","toggleSelected","_temp5","shiftKey","_tableMeta$rowSelecti","_temp4","setRowSelection","currentRowSelection","selectedRows","reduce","state","id","getRowModel","rows","slice","_temp3","some","original","_temp7","Shortcut","keys","onClick","cn","getRadioClassnames","role","type","renderer","header","size","align","enableSearch","headerClassName"],"mappings":";;;;;;;;;;AAiBA,SAASA,MAAMA,CAAkBC,OAAgD;EAC7E,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAM;IAAEC;GAAO,GAAGH,OAAO;EACzB,MAAMI,SAAS,GAAGD,KAAK,CAACE,OAAO,CAACC,IAA6B;EAE7D,IAAIH,KAAK,CAACE,OAAO,CAACE,uBAAuB,EAAE;IACvC,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,oBAAoB,EAAE;IACtD,MAAMC,kBAAkB,GAAGP,KAAK,CAACQ,qBAAqB,EAAE;IACxD,MAAMC,KAAK,GAAGJ,iBAAiB,GAAGP,KAAK,CAACE,KAAK,CAACU,OAAO,CAACC,MAAM,CAACC,WAAW,GAAGd,KAAK,CAACE,KAAK,CAACU,OAAO,CAACC,MAAM,CAACE,SAAS;IAE/G,MAAMC,YAAY,aAAUC,OAAgB;MAAA;;UAOxCf,KAAK,CAACgB,qBAAqB,CAACD,OAAO,CAAC;;QAAC,MAAAE,KAAA;UAAA,IALjChB,SAAS,CAACiB,MAAM,CAACC,eAAe;;YAChC,OAAAC,OAAA,CAAAC,OAAA,CACMpB,SAAS,CAACiB,MAAM,CAACC,eAAe,CAACnB,KAAK,CAACsB,QAAQ,EAAE,CAACC,OAAO,EAAEvB,KAAK,CAACsB,QAAQ,EAAE,CAACE,aAAa,EAAEC,SAAS,CAAC,EAAAC,IAAA;;;;QAH/G,OAAAN,OAAA,CAAAC,OAAA,CAAAJ,KAAA,IAAAA,KAAA,CAAAS,IAAA,GAAAT,KAAA,CAAAS,IAAA,CAAAC,MAAA,IAAAA,MAAA,CAAAV,KAAA;OAOH,QAAAW,CAAA;QAAA,OAAAR,OAAA,CAAAS,MAAA,CAAAD,CAAA;;;IAED,oBACIE,6BAACC,OAAO;MAACtB,KAAK,EAA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,CAAC8D,YAAY,CAACC,oBAAoB,CAACC,OAAO,GAAGjB,GAAG,CAACkB,KAAK;KAClE;IAED,oBACIpC;MAAQG,SAAS,EAAEA,SAAS;sBAAgBwB,UAAU;MAAEkC,OAAO,EAAE9B,WAAW;MAAEiC,IAAI,EAAC,OAAO;MAACC,IAAI,EAAC;OAC3FtC,UAAU,gBAAG3B;MAAMG,SAAS,EAAC;MAAkC,GAAG,IAAI,CAClE;;AAGrB;MAEa+D,QAAQ,GAAkC;EACnDC,MAAM,EAAErG,MAAM;EACdoG,QAAQ,EAAEjD,IAAI;EACdmD,IAAI,EAAE,EAAE;EACR/F,IAAI,EAAE;IACFgG,KAAK,EAAE,QAAQ;IACflE,SAAS,EAAE,OAAO;;IAElBmE,YAAY,EAAE,KAAK;IACnBH,MAAM,EAAE,EAAE;IACVI,eAAe,EAAE;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Footer.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Footer/Footer.tsx"],"sourcesContent":["import React from 'react';\nimport { Header as ReactTableHeader, ColumnMeta as ReactTableColumnMeta, flexRender } from '@tanstack/react-table';\nimport { Summary } from './Summary';\n\nexport function Footer<TType = unknown>(header: ReactTableHeader<TType, unknown>) {\n return <MemoedFooter key={header.id} footer={header} />;\n}\n\nexport type MemoedFooterProps<TType = unknown> = {\n footer: ReactTableHeader<TType, unknown>;\n};\n\nconst MemoedFooter = React.memo(function MemoedFooter<TType = unknown>(props: MemoedFooterProps<TType>) {\n const { footer } = props;\n const columnMeta = footer.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n\n // getIsPinned returns true for split header groups, even if the split group has no pinned sub headers\n const isHeaderGroup = !!footer.subHeaders?.length;\n const isPinned = isHeaderGroup\n ? footer.subHeaders.find(x => x.column.getIsPinned())?.column.getIsPinned()\n : footer.column.getIsPinned();\n\n const style: React.CSSProperties = {};\n\n if (isPinned) {\n // pinned columns should be offset from either the left or right\n style[isPinned] = `${footer.column.getStart(isPinned) - 1}px`;\n }\n\n let content;\n let align;\n\n if (footer.index === 0) {\n align = 'left';\n content = <Summary table={footer.getContext().table} />;\n } else {\n align = columnMeta.align;\n content = footer.isPlaceholder ? null : flexRender(footer.column.columnDef.footer, footer.getContext());\n }\n\n return (\n <td\n key={footer.id}\n data-cell-align={align}\n data-cell-id={footer.id}\n data-cell-pinned={isPinned ? isPinned : undefined}\n style={style}>\n {content}\n </td>\n );\n}) as <TType = unknown>(props: MemoedFooterProps<TType>) => JSX.Element;\n"],"names":["Footer","header","React","MemoedFooter","key","id","footer","memo","props","columnMeta","column","columnDef","meta","isHeaderGroup","_footer$subHeaders","subHeaders","length","isPinned","_footer$subHeaders$fi","find","x","getIsPinned","style","getStart","content","align","index","Summary","table","getContext","isPlaceholder","flexRender","undefined"],"mappings":";;;;SAIgBA,MAAMA,CAAkBC,MAAwC;EAC5E,oBAAOC,6BAACC,YAAY;IAACC,GAAG,EAAEH,MAAM,CAACI,EAAE;IAAEC,MAAM,EAAEL;IAAU;AAC3D;AAMA,MAAME,YAAY,gBAAGD,cAAK,CAACK,IAAI,CAAC,SAASJ,YAAYA,CAAkBK,KAA+B;;EAClG,MAAM;IAAEF;GAAQ,GAAGE,KAAK;EACxB,MAAMC,UAAU,GAAGH,MAAM,CAACI,MAAM,CAACC,SAAS,CAACC,IAA4C;;EAGvF,MAAMC,aAAa,GAAG,CAAC,GAAAC,kBAAA,GAACR,MAAM,CAACS,UAAU,cAAAD,kBAAA,eAAjBA,kBAAA,CAAmBE,MAAM;EACjD,MAAMC,QAAQ,GAAGJ,aAAa,IAAAK,qBAAA,GACxBZ,MAAM,CAACS,UAAU,CAACI,IAAI,CAACC,CAAC,IAAIA,CAAC,CAACV,MAAM,CAACW,WAAW,EAAE,CAAC,cAAAH,qBAAA,uBAAnDA,qBAAA,CAAqDR,MAAM,CAACW,WAAW,EAAE,GACzEf,MAAM,CAACI,MAAM,CAACW,WAAW,EAAE;EAEjC,MAAMC,KAAK,GAAwB,EAAE;EAErC,IAAIL,QAAQ,EAAE;;IAEVK,KAAK,CAACL,QAAQ,CAAC,MAAMX,MAAM,CAACI,MAAM,CAACa,QAAQ,CAACN,QAAQ,CAAC,GAAG,KAAK;;EAGjE,IAAIO,OAAO;EACX,IAAIC,KAAK;EAET,IAAInB,MAAM,CAACoB,KAAK,KAAK,CAAC,EAAE;IACpBD,KAAK,GAAG,MAAM;IACdD,OAAO,gBAAGtB,6BAACyB,OAAO;MAACC,KAAK,EAAEtB,MAAM,CAACuB,UAAU,EAAE,CAACD;MAAS;GAC1D,MAAM;IACHH,KAAK,GAAGhB,UAAU,CAACgB,KAAK;IACxBD,OAAO,GAAGlB,MAAM,CAACwB,aAAa,GAAG,IAAI,GAAGC,UAAU,CAACzB,MAAM,CAACI,MAAM,CAACC,SAAS,CAACL,MAAM,EAAEA,MAAM,CAACuB,UAAU,EAAE,CAAC;;EAG3G,oBACI3B;IACIE,GAAG,EAAEE,MAAM,CAACD,EAAE;uBACGoB,KAAK;oBACRnB,MAAM,CAACD,EAAE;wBACLY,QAAQ,GAAGA,QAAQ,GAAGe,SAAS;IACjDV,KAAK,EAAEA;KACNE,OAAO,CACP;AAEb,CAAC,CAAsE;;;;"}
@@ -1,39 +0,0 @@
1
- import React__default from 'react';
2
- import { useLocalization } from '../../../../../components/Provider/Localization.js';
3
-
4
- function Summary(props) {
5
- var _table$getState$colum;
6
- const {
7
- table
8
- } = props;
9
- const {
10
- locale,
11
- texts
12
- } = useLocalization();
13
- const length = table.options.meta.length;
14
- const currentLength = table.getRowModel().rows.length;
15
- let label;
16
- let count;
17
- // row selection
18
- const rowsSelectedLength = table.getSelectedRowModel().rows.length;
19
- if (rowsSelectedLength > 0) {
20
- label = texts.table.footer.summary.selected;
21
- count = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(rowsSelectedLength)), "\u00A0", texts.table.footer.summary.count, "\u00A0", /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length)));
22
- } else if ((_table$getState$colum = table.getState().columnFilters) !== null && _table$getState$colum !== void 0 && _table$getState$colum.length ||
23
- // filtered data
24
- !!table.getState().globalFilter && table.options.enableGlobalFilter // search with hide enabled
25
- ) {
26
- label = texts.table.footer.summary.records;
27
- count = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("strong", null, currentLength), "\u00A0", texts.table.footer.summary.count, "\u00A0", /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length)));
28
- } else {
29
- label = texts.table.footer.summary.records;
30
- count = /*#__PURE__*/React__default.createElement("strong", null, new Intl.NumberFormat(locale).format(length));
31
- }
32
- return /*#__PURE__*/React__default.createElement("div", {
33
- className: "sticky left-0 z-20 flex h-full w-fit items-center whitespace-nowrap bg-white pr-1 shadow-[12px_0px_6px_white]",
34
- "data-taco": "table2-footer-summary"
35
- }, label, "\u00A0", count);
36
- }
37
-
38
- export { Summary };
39
- //# sourceMappingURL=Summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Summary.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Footer/Summary.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useLocalization } from '../../../../../components/Provider/Localization';\n\nexport type FooterSummaryProps<TType = unknown> = {\n table: ReactTable<TType>;\n};\n\nexport function Summary<TType = unknown>(props: FooterSummaryProps<TType>) {\n const { table } = props;\n const { locale, texts } = useLocalization();\n const length = (table.options.meta as ReactTableMeta<TType>).length;\n const currentLength = table.getRowModel().rows.length;\n\n let label;\n let count;\n\n // row selection\n const rowsSelectedLength = table.getSelectedRowModel().rows.length;\n\n if (rowsSelectedLength > 0) {\n label = texts.table.footer.summary.selected;\n count = (\n <>\n <strong>{new Intl.NumberFormat(locale).format(rowsSelectedLength)}</strong>&nbsp;\n {texts.table.footer.summary.count}&nbsp;\n <strong>{new Intl.NumberFormat(locale).format(length)}</strong>\n </>\n );\n } else if (\n table.getState().columnFilters?.length || // filtered data\n (!!table.getState().globalFilter && table.options.enableGlobalFilter) // search with hide enabled\n ) {\n label = texts.table.footer.summary.records;\n count = (\n <>\n <strong>{currentLength}</strong>&nbsp;\n {texts.table.footer.summary.count}&nbsp;\n <strong>{new Intl.NumberFormat(locale).format(length)}</strong>\n </>\n );\n } else {\n label = texts.table.footer.summary.records;\n count = <strong>{new Intl.NumberFormat(locale).format(length)}</strong>;\n }\n\n return (\n <div\n className=\"sticky left-0 z-20 flex h-full w-fit items-center whitespace-nowrap bg-white pr-1 shadow-[12px_0px_6px_white]\"\n data-taco=\"table2-footer-summary\">\n {label}&nbsp;{count}\n </div>\n );\n}\n"],"names":["Summary","props","table","locale","texts","useLocalization","length","options","meta","currentLength","getRowModel","rows","label","count","rowsSelectedLength","getSelectedRowModel","footer","summary","selected","React","Intl","NumberFormat","format","_table$getState$colum","getState","columnFilters","globalFilter","enableGlobalFilter","records","className"],"mappings":";;;SAQgBA,OAAOA,CAAkBC,KAAgC;;EACrE,MAAM;IAAEC;GAAO,GAAGD,KAAK;EACvB,MAAM;IAAEE,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAC3C,MAAMC,MAAM,GAAIJ,KAAK,CAACK,OAAO,CAACC,IAA8B,CAACF,MAAM;EACnE,MAAMG,aAAa,GAAGP,KAAK,CAACQ,WAAW,EAAE,CAACC,IAAI,CAACL,MAAM;EAErD,IAAIM,KAAK;EACT,IAAIC,KAAK;;EAGT,MAAMC,kBAAkB,GAAGZ,KAAK,CAACa,mBAAmB,EAAE,CAACJ,IAAI,CAACL,MAAM;EAElE,IAAIQ,kBAAkB,GAAG,CAAC,EAAE;IACxBF,KAAK,GAAGR,KAAK,CAACF,KAAK,CAACc,MAAM,CAACC,OAAO,CAACC,QAAQ;IAC3CL,KAAK,gBACDM,yEACIA,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAAClB,MAAM,CAAC,CAACmB,MAAM,CAACR,kBAAkB,CAAC,CAAU,YAC1EV,KAAK,CAACF,KAAK,CAACc,MAAM,CAACC,OAAO,CAACJ,KAAK,yBACjCM,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAAClB,MAAM,CAAC,CAACmB,MAAM,CAAChB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM,IACH,CAAAiB,qBAAA,GAAArB,KAAK,CAACsB,QAAQ,EAAE,CAACC,aAAa,cAAAF,qBAAA,eAA9BA,qBAAA,CAAgCjB,MAAM;;EACrC,CAAC,CAACJ,KAAK,CAACsB,QAAQ,EAAE,CAACE,YAAY,IAAIxB,KAAK,CAACK,OAAO,CAACoB,kBAAmB;IACvE;IACEf,KAAK,GAAGR,KAAK,CAACF,KAAK,CAACc,MAAM,CAACC,OAAO,CAACW,OAAO;IAC1Cf,KAAK,gBACDM,yEACIA,6CAASV,aAAa,CAAU,YAC/BL,KAAK,CAACF,KAAK,CAACc,MAAM,CAACC,OAAO,CAACJ,KAAK,yBACjCM,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAAClB,MAAM,CAAC,CAACmB,MAAM,CAAChB,MAAM,CAAC,CAAU,CAEtE;GACJ,MAAM;IACHM,KAAK,GAAGR,KAAK,CAACF,KAAK,CAACc,MAAM,CAACC,OAAO,CAACW,OAAO;IAC1Cf,KAAK,gBAAGM,6CAAS,IAAIC,IAAI,CAACC,YAAY,CAAClB,MAAM,CAAC,CAACmB,MAAM,CAAChB,MAAM,CAAC,CAAU;;EAG3E,oBACIa;IACIU,SAAS,EAAC,+GAA+G;iBAC/G;KACTjB,KAAK,YAAQC,KAAK,CACjB;AAEd;;;;"}
@@ -1,216 +0,0 @@
1
- import React__default from 'react';
2
- import cn from 'clsx';
3
- import { Tooltip } from '../../../../../components/Tooltip/Tooltip.js';
4
- import { flexRender } from '@tanstack/react-table';
5
- import { isInternalColumn, unfreezeAllExternalColumns, freezeUptoExternalColumn } from '../../../useTableManager/util/columns.js';
6
- import { TableFilterComparator } from '../../../types.js';
7
- import { getSortAttributes, SortIndicator } from './components/SortIndicator.js';
8
- import { Resizer } from './components/Resizer.js';
9
- import { HeaderMenu } from './components/Menu.js';
10
- import { getIsPinned, useSetInitialColumnSizing } from './util.js';
11
-
12
- function Header(props) {
13
- var _header$column$column;
14
- const {
15
- header,
16
- scrollToIndex
17
- } = props;
18
- if (header.column.getIsGrouped()) {
19
- return null;
20
- }
21
- const {
22
- table
23
- } = header.getContext();
24
- const tableMeta = table.options.meta;
25
- const columnMeta = (_header$column$column = header.column.columnDef.meta) !== null && _header$column$column !== void 0 ? _header$column$column : {};
26
- const isGroup = !!header.subHeaders.length;
27
- const isPinned = getIsPinned(header);
28
- const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;
29
- const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();
30
- const canMeasureSize = !!table.getRowModel().rows.length;
31
- const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();
32
- const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();
33
- const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();
34
- const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();
35
- const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);
36
- const sorting = table.getState().sorting;
37
- const filters = table.getState().columnFilters;
38
- const search = table.getState().globalFilter;
39
- // passing header or column results in re-renders on scroll, so anything from those objects as memoed props
40
- const memoedProps = {
41
- align: columnMeta.align,
42
- canFilter,
43
- canHide,
44
- canGoto,
45
- canMeasureSize,
46
- canPin,
47
- canResize,
48
- canSort,
49
- className: cn('group/header', columnMeta.headerClassName),
50
- children: flexRender(header.column.columnDef.header, header.getContext()),
51
- colSpan: header.colSpan,
52
- customMenu: columnMeta.menu,
53
- hasMenu,
54
- id: header.id,
55
- isFiltered: header.column.getIsFiltered(),
56
- index: header.index,
57
- isGroup,
58
- isPinned,
59
- isPlaceholder: header.isPlaceholder,
60
- offset: header.column.getStart(isPinned),
61
- scrollToIndex,
62
- setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
63
- setColumnSizing: table.setColumnSizing,
64
- tooltip: columnMeta.tooltip,
65
- width: table.getState().columnSizing[header.id]
66
- };
67
- if (header.isPlaceholder) {
68
- const nextHeader = header.headerGroup.headers[header.index + 1];
69
- memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {
70
- 'after:!content-none': nextHeader === null || nextHeader === void 0 ? void 0 : nextHeader.isPlaceholder
71
- });
72
- }
73
- if (canFilter) {
74
- memoedProps.onFilter = () => {
75
- header.column.setFilterValue({
76
- comparator: TableFilterComparator.Contains
77
- });
78
- };
79
- }
80
- if (canGoto) {
81
- memoedProps.onGoto = query => {
82
- var _tableMeta$rowGoto$ha, _tableMeta$rowGoto;
83
- return (_tableMeta$rowGoto$ha = (_tableMeta$rowGoto = tableMeta.rowGoto).handleGoto) === null || _tableMeta$rowGoto$ha === void 0 ? void 0 : _tableMeta$rowGoto$ha.call(_tableMeta$rowGoto, header.id, query, sorting, filters, search);
84
- };
85
- }
86
- if (canHide) {
87
- memoedProps.onHide = header.column.getToggleVisibilityHandler();
88
- }
89
- if (canPin) {
90
- memoedProps.onPin = index => {
91
- // TODO: this can probably be moved to a feature hook
92
- table.setColumnPinning(pinningState => {
93
- return {
94
- ...pinningState,
95
- left: index === undefined ? unfreezeAllExternalColumns(pinningState.left) : freezeUptoExternalColumn(index, table.getAllLeafColumns().map(column => column.id))
96
- };
97
- });
98
- };
99
- }
100
- if (canResize) {
101
- memoedProps.isResizing = header.column.getIsResizing();
102
- memoedProps.onResize = header.getResizeHandler();
103
- }
104
- if (canSort) {
105
- const handleSortToggle = sortDirection => {
106
- if (sortDirection === false) {
107
- header.column.clearSorting();
108
- } else {
109
- header.column.toggleSorting(sortDirection === 'desc');
110
- }
111
- };
112
- memoedProps.onSort = header.column.getToggleSortingHandler();
113
- memoedProps.onSortToggle = handleSortToggle;
114
- memoedProps.sortDirection = header.column.getIsSorted();
115
- }
116
- return /*#__PURE__*/React__default.createElement(MemoedHeader, Object.assign({
117
- key: header.id
118
- }, memoedProps));
119
- }
120
- const MemoedHeader = /*#__PURE__*/React__default.memo(function MemoedHeader(props) {
121
- const {
122
- align,
123
- canFilter,
124
- canGoto,
125
- canHide,
126
- canMeasureSize,
127
- canPin,
128
- canResize,
129
- canSort,
130
- children,
131
- className,
132
- colSpan,
133
- customMenu,
134
- hasMenu,
135
- id,
136
- index,
137
- isFiltered,
138
- isGroup,
139
- isPinned,
140
- isPlaceholder,
141
- isResizing,
142
- offset,
143
- onFilter: handleFilter,
144
- onGoto: handleGoto,
145
- onHide: handleHide,
146
- onPin: handlePin,
147
- onResize: handleResize,
148
- onSort: handleSort,
149
- onSortToggle: handleSortToggle,
150
- scrollToIndex,
151
- setRowActiveIndex,
152
- setColumnSizing,
153
- sortDirection,
154
- tooltip,
155
- width
156
- } = props;
157
- const [ref, setRef] = React__default.useState(null);
158
- // save column width if none is set
159
- useSetInitialColumnSizing(id, width, ref, canMeasureSize, setColumnSizing);
160
- // feature specific styles
161
- const style = {};
162
- // column groups often span multiple columns
163
- if (colSpan > 1) {
164
- style.gridColumn = `span ${colSpan}`;
165
- }
166
- // pinned columns should be offset from either the left or right
167
- if (isPinned) {
168
- style[isPinned] = `${offset}px`;
169
- }
170
- return /*#__PURE__*/React__default.createElement("th", Object.assign({}, getSortAttributes(canSort, handleSort, sortDirection), {
171
- className: className,
172
- "data-cell-align": isGroup ? 'center' : align,
173
- "data-cell-id": id,
174
- "data-cell-pinned": isPinned ? isPinned : undefined,
175
- style: style,
176
- ref: setRef
177
- }), isPlaceholder ? null : isInternalColumn(id) ? children : ( /*#__PURE__*/React__default.createElement(Tooltip, {
178
- title: String(tooltip !== null && tooltip !== void 0 ? tooltip : children),
179
- placement: "top"
180
- }, /*#__PURE__*/React__default.createElement("span", {
181
- className: "truncate"
182
- }, children))), sortDirection ? /*#__PURE__*/React__default.createElement(SortIndicator, {
183
- direction: sortDirection
184
- }) : null, hasMenu ? ( /*#__PURE__*/React__default.createElement(HeaderMenu, {
185
- canFilter: canFilter,
186
- canGoto: canGoto,
187
- canHide: canHide,
188
- canPin: canPin,
189
- canSort: canSort,
190
- className: cn({
191
- 'ml-auto': align !== 'right',
192
- 'ml-0': align === 'right'
193
- }),
194
- customMenu: customMenu,
195
- index: index,
196
- isFiltered: isFiltered,
197
- onFilter: handleFilter,
198
- onGoto: handleGoto,
199
- onHide: handleHide,
200
- onPin: handlePin,
201
- onSortToggle: handleSortToggle,
202
- scrollToIndex: scrollToIndex,
203
- setRowActiveIndex: setRowActiveIndex,
204
- sortDirection: sortDirection
205
- })) : null, canResize ? ( /*#__PURE__*/React__default.createElement(Resizer, {
206
- headerRef: ref,
207
- id: id,
208
- isResizing: isResizing,
209
- onResize: handleResize,
210
- setColumnSizing: setColumnSizing,
211
- width: width
212
- })) : null);
213
- });
214
-
215
- export { Header };
216
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Header/Header.tsx"],"sourcesContent":["import React from 'react';\nimport {\n TableMeta as ReactTableMeta,\n ColumnMeta as ReactTableColumnMeta,\n Header as ReactTableHeader,\n ColumnPinningPosition as ReactTableColumnPinningPosition,\n flexRender,\n} from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { freezeUptoExternalColumn, isInternalColumn, unfreezeAllExternalColumns } from '../../../useTableManager/util/columns';\nimport { Tooltip } from '../../../../../components/Tooltip/Tooltip';\nimport { SortIndicator, getSortAttributes } from './components/SortIndicator';\nimport {\n TableColumnAlignment,\n TableColumnMenu,\n TableColumnSortDirection,\n TableColumnWidth,\n TableFilterComparator,\n} from '../../../types';\nimport { Resizer } from './components/Resizer';\nimport { HeaderMenu } from './components/Menu';\nimport { getIsPinned, useSetInitialColumnSizing } from './util';\n\nexport type HeaderProps<TType = unknown> = {\n header: ReactTableHeader<TType, unknown>;\n scrollToIndex: (index: number) => void;\n};\n\nexport function Header<TType = unknown>(props: HeaderProps<TType>) {\n const { header, scrollToIndex } = props;\n\n if (header.column.getIsGrouped()) {\n return null;\n }\n\n const { table } = header.getContext();\n\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const columnMeta = (header.column.columnDef.meta ?? {}) as ReactTableColumnMeta<TType, unknown>;\n\n const isGroup = !!header.subHeaders.length;\n const isPinned = getIsPinned(header);\n\n const canFilter = !header.isPlaceholder && header.column.getCanFilter() && !!table.options.enableColumnFilters;\n const canHide = !header.isPlaceholder && !isGroup && header.column.getCanHide();\n const canMeasureSize = !!table.getRowModel().rows.length;\n const canPin = !header.isPlaceholder && !isGroup && header.column.getCanPin();\n const canResize = !header.isPlaceholder && !isGroup && header.column.getCanResize();\n const canSort = !header.isPlaceholder && !isGroup && header.column.getCanSort();\n const canGoto = canSort && !header.isPlaceholder && !isGroup && tableMeta.rowGoto.isEnabled && !!header.column.getIsSorted();\n\n const hasMenu = !isInternalColumn(header.id) && (canHide || canGoto || canPin || canSort || !!columnMeta.menu);\n\n const sorting = table.getState().sorting;\n const filters = table.getState().columnFilters;\n const search = table.getState().globalFilter;\n\n // passing header or column results in re-renders on scroll, so anything from those objects as memoed props\n const memoedProps: MemoedHeaderProps = {\n align: columnMeta.align,\n canFilter,\n canHide,\n canGoto,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n className: cn('group/header', columnMeta.headerClassName),\n children: flexRender(header.column.columnDef.header, header.getContext()),\n colSpan: header.colSpan,\n customMenu: columnMeta.menu,\n hasMenu,\n id: header.id,\n isFiltered: header.column.getIsFiltered(),\n index: header.index,\n isGroup,\n isPinned,\n isPlaceholder: header.isPlaceholder,\n offset: header.column.getStart(isPinned),\n scrollToIndex,\n setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,\n setColumnSizing: table.setColumnSizing,\n tooltip: columnMeta.tooltip,\n width: table.getState().columnSizing[header.id],\n };\n\n if (header.isPlaceholder) {\n const nextHeader = header.headerGroup.headers[header.index + 1];\n memoedProps.className = cn('!bg-white before:!content-none', memoedProps.className, {\n 'after:!content-none': nextHeader?.isPlaceholder,\n });\n }\n\n if (canFilter) {\n memoedProps.onFilter = () => {\n header.column.setFilterValue({ comparator: TableFilterComparator.Contains });\n };\n }\n\n if (canGoto) {\n memoedProps.onGoto = ((query: string) => tableMeta.rowGoto.handleGoto?.(header.id, query, sorting, filters, search)) as (\n query: string\n ) => Promise<number>;\n }\n\n if (canHide) {\n memoedProps.onHide = header.column.getToggleVisibilityHandler();\n }\n\n if (canPin) {\n memoedProps.onPin = (index: number | undefined) => {\n // TODO: this can probably be moved to a feature hook\n table.setColumnPinning(pinningState => {\n return {\n ...pinningState,\n left:\n index === undefined\n ? unfreezeAllExternalColumns(pinningState.left)\n : freezeUptoExternalColumn(\n index,\n table.getAllLeafColumns().map(column => column.id)\n ),\n };\n });\n };\n }\n\n if (canResize) {\n memoedProps.isResizing = header.column.getIsResizing();\n memoedProps.onResize = header.getResizeHandler();\n }\n\n if (canSort) {\n const handleSortToggle = (sortDirection: TableColumnSortDirection | false) => {\n if (sortDirection === false) {\n header.column.clearSorting();\n } else {\n header.column.toggleSorting(sortDirection === 'desc');\n }\n };\n\n memoedProps.onSort = header.column.getToggleSortingHandler();\n memoedProps.onSortToggle = handleSortToggle;\n memoedProps.sortDirection = header.column.getIsSorted();\n }\n\n return <MemoedHeader key={header.id} {...memoedProps} />;\n}\n\nexport type MemoedHeaderProps = {\n align?: TableColumnAlignment;\n canFilter: boolean;\n canHide: boolean;\n canGoto: boolean;\n canMeasureSize: boolean;\n canPin: boolean;\n canResize: boolean;\n canSort: boolean;\n children: JSX.Element | React.ReactNode;\n className?: string;\n colSpan: number;\n customMenu?: TableColumnMenu;\n defaultWidth?: TableColumnWidth;\n hasMenu: boolean;\n id: string;\n index: number;\n isFiltered: boolean;\n isGroup: boolean;\n isPinned?: ReactTableColumnPinningPosition;\n isPlaceholder: boolean;\n isResizing?: boolean;\n offset?: number;\n onFilter?: () => void;\n onGoto?: (query: string) => Promise<number>;\n onHide?: (event: unknown) => void;\n onPin?: (index: number | undefined) => void;\n onResize?: (event: unknown) => void;\n onSort?: (event: unknown) => void;\n onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;\n scrollToIndex: (index: number) => void;\n setRowActiveIndex: (index: number) => void;\n setColumnSizing: any;\n sortDirection?: TableColumnSortDirection | false;\n tooltip?: string;\n width?: TableColumnWidth;\n};\n\nconst MemoedHeader = React.memo(function MemoedHeader(props: MemoedHeaderProps) {\n const {\n align,\n canFilter,\n canGoto,\n canHide,\n canMeasureSize,\n canPin,\n canResize,\n canSort,\n children,\n className,\n colSpan,\n customMenu,\n hasMenu,\n id,\n index,\n isFiltered,\n isGroup,\n isPinned,\n isPlaceholder,\n isResizing,\n offset,\n onFilter: handleFilter,\n onGoto: handleGoto,\n onHide: handleHide,\n onPin: handlePin,\n onResize: handleResize,\n onSort: handleSort,\n onSortToggle: handleSortToggle,\n scrollToIndex,\n setRowActiveIndex,\n setColumnSizing,\n sortDirection,\n tooltip,\n width,\n } = props;\n const [ref, setRef] = React.useState<HTMLTableCellElement | null>(null);\n\n // save column width if none is set\n useSetInitialColumnSizing(id, width, ref, canMeasureSize, setColumnSizing);\n\n // feature specific styles\n const style: React.CSSProperties = {};\n\n // column groups often span multiple columns\n if (colSpan > 1) {\n style.gridColumn = `span ${colSpan}`;\n }\n\n // pinned columns should be offset from either the left or right\n if (isPinned) {\n style[isPinned] = `${offset}px`;\n }\n\n return (\n <th\n {...getSortAttributes(canSort, handleSort, sortDirection)}\n className={className}\n data-cell-align={isGroup ? 'center' : align}\n data-cell-id={id}\n data-cell-pinned={isPinned ? isPinned : undefined}\n style={style}\n ref={setRef}>\n {isPlaceholder ? null : isInternalColumn(id) ? (\n children\n ) : (\n <Tooltip title={String(tooltip ?? children)} placement=\"top\">\n <span className=\"truncate\">{children}</span>\n </Tooltip>\n )}\n {sortDirection ? <SortIndicator direction={sortDirection} /> : null}\n {hasMenu ? (\n <HeaderMenu\n canFilter={canFilter}\n canGoto={canGoto}\n canHide={canHide}\n canPin={canPin}\n canSort={canSort}\n className={cn({\n 'ml-auto': align !== 'right',\n 'ml-0': align === 'right',\n })}\n customMenu={customMenu}\n index={index}\n isFiltered={isFiltered}\n onFilter={handleFilter}\n onGoto={handleGoto}\n onHide={handleHide}\n onPin={handlePin}\n onSortToggle={handleSortToggle}\n scrollToIndex={scrollToIndex}\n setRowActiveIndex={setRowActiveIndex}\n sortDirection={sortDirection}\n />\n ) : null}\n {canResize ? (\n <Resizer\n headerRef={ref}\n id={id}\n isResizing={isResizing as boolean}\n onResize={handleResize as (event: unknown) => void}\n setColumnSizing={setColumnSizing}\n width={width}\n />\n ) : null}\n </th>\n );\n});\n"],"names":["Header","props","header","scrollToIndex","column","getIsGrouped","table","getContext","tableMeta","options","meta","columnMeta","_header$column$column","columnDef","isGroup","subHeaders","length","isPinned","getIsPinned","canFilter","isPlaceholder","getCanFilter","enableColumnFilters","canHide","getCanHide","canMeasureSize","getRowModel","rows","canPin","getCanPin","canResize","getCanResize","canSort","getCanSort","canGoto","rowGoto","isEnabled","getIsSorted","hasMenu","isInternalColumn","id","menu","sorting","getState","filters","columnFilters","search","globalFilter","memoedProps","align","className","cn","headerClassName","children","flexRender","colSpan","customMenu","isFiltered","getIsFiltered","index","offset","getStart","setRowActiveIndex","rowActive","setColumnSizing","tooltip","width","columnSizing","nextHeader","headerGroup","headers","onFilter","setFilterValue","comparator","TableFilterComparator","Contains","onGoto","query","_tableMeta$rowGoto$ha","_tableMeta$rowGoto","handleGoto","call","onHide","getToggleVisibilityHandler","onPin","setColumnPinning","pinningState","left","undefined","unfreezeAllExternalColumns","freezeUptoExternalColumn","getAllLeafColumns","map","isResizing","getIsResizing","onResize","getResizeHandler","handleSortToggle","sortDirection","clearSorting","toggleSorting","onSort","getToggleSortingHandler","onSortToggle","React","MemoedHeader","key","memo","handleFilter","handleHide","handlePin","handleResize","handleSort","ref","setRef","useState","useSetInitialColumnSizing","style","gridColumn","getSortAttributes","Tooltip","title","String","placement","SortIndicator","direction","HeaderMenu","Resizer","headerRef"],"mappings":";;;;;;;;;;;SA4BgBA,MAAMA,CAAkBC,KAAyB;;EAC7D,MAAM;IAAEC,MAAM;IAAEC;GAAe,GAAGF,KAAK;EAEvC,IAAIC,MAAM,CAACE,MAAM,CAACC,YAAY,EAAE,EAAE;IAC9B,OAAO,IAAI;;EAGf,MAAM;IAAEC;GAAO,GAAGJ,MAAM,CAACK,UAAU,EAAE;EAErC,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;EAC7D,MAAMC,UAAU,IAAAC,qBAAA,GAAIV,MAAM,CAACE,MAAM,CAACS,SAAS,CAACH,IAAI,cAAAE,qBAAA,cAAAA,qBAAA,GAAI,EAA2C;EAE/F,MAAME,OAAO,GAAG,CAAC,CAACZ,MAAM,CAACa,UAAU,CAACC,MAAM;EAC1C,MAAMC,QAAQ,GAAGC,WAAW,CAAChB,MAAM,CAAC;EAEpC,MAAMiB,SAAS,GAAG,CAACjB,MAAM,CAACkB,aAAa,IAAIlB,MAAM,CAACE,MAAM,CAACiB,YAAY,EAAE,IAAI,CAAC,CAACf,KAAK,CAACG,OAAO,CAACa,mBAAmB;EAC9G,MAAMC,OAAO,GAAG,CAACrB,MAAM,CAACkB,aAAa,IAAI,CAACN,OAAO,IAAIZ,MAAM,CAACE,MAAM,CAACoB,UAAU,EAAE;EAC/E,MAAMC,cAAc,GAAG,CAAC,CAACnB,KAAK,CAACoB,WAAW,EAAE,CAACC,IAAI,CAACX,MAAM;EACxD,MAAMY,MAAM,GAAG,CAAC1B,MAAM,CAACkB,aAAa,IAAI,CAACN,OAAO,IAAIZ,MAAM,CAACE,MAAM,CAACyB,SAAS,EAAE;EAC7E,MAAMC,SAAS,GAAG,CAAC5B,MAAM,CAACkB,aAAa,IAAI,CAACN,OAAO,IAAIZ,MAAM,CAACE,MAAM,CAAC2B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alization } from '../../../../../../components/Provider/Localization.js';
3
- import { Popover } from '../../../../../../components/Popover/Popover.js';
4
- import { SearchInput } from '../../../../../../components/SearchInput/SearchInput.js';
5
-
6
- function GotoPopover(props) {
7
- const {
8
- onGoto: handleGoto,
9
- trigger,
10
- ...popoverProps
11
- } = props;
12
- const {
13
- texts
14
- } = useLocalization();
15
- const handleSearch = value => handleGoto(value);
16
- return /*#__PURE__*/React__default.createElement(Popover, Object.assign({}, popoverProps, {
17
- anchor: trigger
18
- }), /*#__PURE__*/React__default.createElement(Popover.Content, null, /*#__PURE__*/React__default.createElement(SearchInput, {
19
- "aria-label": texts.table.columns.menu.gotoRow,
20
- name: "query",
21
- onSearch: handleSearch,
22
- onKeyDown: event => event.stopPropagation(),
23
- placeholder: `${texts.table.columns.menu.gotoRow}...`
24
- })));
25
- }
26
-
27
- export { GotoPopover };
28
- //# sourceMappingURL=Goto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Goto.js","sources":["../../../../../../../../../../../src/primitives/Table/Core/components/Header/components/Goto.tsx"],"sourcesContent":["import React from 'react';\nimport { useLocalization } from '../../../../../../components/Provider/Localization';\nimport { Popover, PopoverProps } from '../../../../../../components/Popover/Popover';\nimport { SearchInput } from '../../../../../../components/SearchInput/SearchInput';\n\nexport type GotoProps = PopoverProps & {\n onGoto: (query: string) => Promise<void>;\n};\n\nexport function GotoPopover(props: GotoProps) {\n const { onGoto: handleGoto, trigger, ...popoverProps } = props;\n const { texts } = useLocalization();\n\n const handleSearch = value => handleGoto(value);\n\n return (\n <Popover {...popoverProps} anchor={trigger}>\n <Popover.Content>\n <SearchInput\n aria-label={texts.table.columns.menu.gotoRow}\n name=\"query\"\n onSearch={handleSearch}\n onKeyDown={event => event.stopPropagation()}\n placeholder={`${texts.table.columns.menu.gotoRow}...`}\n />\n </Popover.Content>\n </Popover>\n );\n}\n"],"names":["GotoPopover","props","onGoto","handleGoto","trigger","popoverProps","texts","useLocalization","handleSearch","value","React","Popover","anchor","Content","SearchInput","table","columns","menu","gotoRow","name","onSearch","onKeyDown","event","stopPropagation","placeholder"],"mappings":";;;;;SASgBA,WAAWA,CAACC,KAAgB;EACxC,MAAM;IAAEC,MAAM,EAAEC,UAAU;IAAEC,OAAO;IAAE,GAAGC;GAAc,GAAGJ,KAAK;EAC9D,MAAM;IAAEK;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,YAAY,GAAGC,KAAK,IAAIN,UAAU,CAACM,KAAK,CAAC;EAE/C,oBACIC,6BAACC,OAAO,oBAAKN,YAAY;IAAEO,MAAM,EAAER;mBAC/BM,6BAACC,OAAO,CAACE,OAAO,qBACZH,6BAACI,WAAW;kBACIR,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,IAAI,CAACC,OAAO;IAC5CC,IAAI,EAAC,OAAO;IACZC,QAAQ,EAAEZ,YAAY;IACtBa,SAAS,EAAEC,KAAK,IAAIA,KAAK,CAACC,eAAe,EAAE;IAC3CC,WAAW,KAAKlB,KAAK,CAACS,KAAK,CAACC,OAAO,CAACC,IAAI,CAACC;IAC3C,CACY,CACZ;AAElB;;;;"}