@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,39 +0,0 @@
1
- import React__default from 'react';
2
- import { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext.js';
3
- import { DisplayCell } from '../../../../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js';
4
- import { EditingControlCell } from './EditingControlCell.js';
5
- import { EditingDisplayCell } from './EditingDisplayCell.js';
6
-
7
- function Cell(props) {
8
- const {
9
- cell
10
- } = props;
11
- const {
12
- isHovered,
13
- rowIndex
14
- } = React__default.useContext(RowContext);
15
- const tableMeta = cell.getContext().table.options.meta;
16
- const columnMeta = cell.column.columnDef.meta;
17
- if (tableMeta.editing.isEditing) {
18
- if (columnMeta.control) {
19
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;
20
- const cellError = tableMeta.editing.getCellError(cell);
21
- const hasErrorAndIsEditing = cellError ? tableMeta.editing.isEditing : true;
22
- // saves may be pending when not currently editing, but we want to show the "changed" data
23
- // otherwise the unsaved value flashes in while the request completes, which looks a bit shit
24
- const changedValue = tableMeta.editing.getCellValue(cell);
25
- if (changedValue !== undefined && changedValue !== cell.getValue() && hasErrorAndIsEditing) {
26
- // a little hacky, but it seems to work without side effects
27
- cell.getValue = () => changedValue;
28
- }
29
- if (isActiveRow || !!cellError || isHovered && !isActiveRow && !tableMeta.rowActive.isHoverStatePaused) {
30
- return /*#__PURE__*/React__default.createElement(EditingControlCell, Object.assign({}, props));
31
- }
32
- }
33
- return /*#__PURE__*/React__default.createElement(EditingDisplayCell, Object.assign({}, props));
34
- }
35
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props));
36
- }
37
-
38
- export { Cell };
39
- //# sourceMappingURL=Cell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cell.js","sources":["../../../../../../../../../../src/components/Table3/components/Columns/Cell/Cell.tsx"],"sourcesContent":["import React from 'react';\nimport { TableMeta as ReactTableMeta, ColumnMeta as ReactTableColumnMeta } from '@tanstack/react-table';\nimport { DisplayCell } from '../../../../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext';\nimport { TableCellRendererProps } from '../../../../../primitives/Table/Core/types';\nimport { EditingControlCell } from './EditingControlCell';\nimport { EditingDisplayCell } from './EditingDisplayCell';\n\nexport function Cell<TType = unknown>(props: TableCellRendererProps<TType>) {\n const { cell } = props;\n const { isHovered, rowIndex } = React.useContext(RowContext);\n const tableMeta = cell.getContext().table.options.meta as ReactTableMeta<TType>;\n const columnMeta = cell.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n\n if (tableMeta.editing.isEditing) {\n if (columnMeta.control) {\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;\n const cellError = tableMeta.editing.getCellError(cell);\n const hasErrorAndIsEditing = cellError ? tableMeta.editing.isEditing : true;\n\n // saves may be pending when not currently editing, but we want to show the \"changed\" data\n // otherwise the unsaved value flashes in while the request completes, which looks a bit shit\n const changedValue = tableMeta.editing.getCellValue(cell);\n\n if (changedValue !== undefined && changedValue !== cell.getValue() && hasErrorAndIsEditing) {\n // a little hacky, but it seems to work without side effects\n cell.getValue = () => changedValue as any;\n }\n\n if (isActiveRow || !!cellError || (isHovered && !isActiveRow && !tableMeta.rowActive.isHoverStatePaused)) {\n return <EditingControlCell<TType> {...props} />;\n }\n }\n\n return <EditingDisplayCell<TType> {...props} />;\n }\n\n return <DisplayCell<TType> {...props} />;\n}\n"],"names":["Cell","props","cell","isHovered","rowIndex","React","useContext","RowContext","tableMeta","getContext","table","options","meta","columnMeta","column","columnDef","editing","isEditing","control","isActiveRow","rowActive","rowActiveIndex","cellError","getCellError","hasErrorAndIsEditing","changedValue","getCellValue","undefined","getValue","isHoverStatePaused","EditingControlCell","EditingDisplayCell","DisplayCell"],"mappings":";;;;;;SAQgBA,IAAIA,CAAkBC,KAAoC;EACtE,MAAM;IAAEC;GAAM,GAAGD,KAAK;EACtB,MAAM;IAAEE,SAAS;IAAEC;GAAU,GAAGC,cAAK,CAACC,UAAU,CAACC,UAAU,CAAC;EAC5D,MAAMC,SAAS,GAAGN,IAAI,CAACO,UAAU,EAAE,CAACC,KAAK,CAACC,OAAO,CAACC,IAA6B;EAC/E,MAAMC,UAAU,GAAGX,IAAI,CAACY,MAAM,CAACC,SAAS,CAACH,IAA4C;EAErF,IAAIJ,SAAS,CAACQ,OAAO,CAACC,SAAS,EAAE;IAC7B,IAAIJ,UAAU,CAACK,OAAO,EAAE;MACpB,MAAMC,WAAW,GAAGX,SAAS,CAACY,SAAS,CAACC,cAAc,KAAKjB,QAAQ;MACnE,MAAMkB,SAAS,GAAGd,SAAS,CAACQ,OAAO,CAACO,YAAY,CAACrB,IAAI,CAAC;MACtD,MAAMsB,oBAAoB,GAAGF,SAAS,GAAGd,SAAS,CAACQ,OAAO,CAACC,SAAS,GAAG,IAAI;;;MAI3E,MAAMQ,YAAY,GAAGjB,SAAS,CAACQ,OAAO,CAACU,YAAY,CAACxB,IAAI,CAAC;MAEzD,IAAIuB,YAAY,KAAKE,SAAS,IAAIF,YAAY,KAAKvB,IAAI,CAAC0B,QAAQ,EAAE,IAAIJ,oBAAoB,EAAE;;QAExFtB,IAAI,CAAC0B,QAAQ,GAAG,MAAMH,YAAmB;;MAG7C,IAAIN,WAAW,IAAI,CAAC,CAACG,SAAS,IAAKnB,SAAS,IAAI,CAACgB,WAAW,IAAI,CAACX,SAAS,CAACY,SAAS,CAACS,kBAAmB,EAAE;QACtG,oBAAOxB,6BAACyB,kBAAkB,oBAAY7B,KAAK,EAAI;;;IAIvD,oBAAOI,6BAAC0B,kBAAkB,oBAAY9B,KAAK,EAAI;;EAGnD,oBAAOI,6BAAC2B,WAAW,oBAAY/B,KAAK,EAAI;AAC5C;;;;"}
@@ -1,85 +0,0 @@
1
- import React__default from 'react';
2
- import { Icon } from '../../../../../Icon/Icon.js';
3
- import { Tooltip } from '../../../../../Tooltip/Tooltip.js';
4
- import { useLocalization } from '../../../../../Provider/Localization.js';
5
-
6
- function RowMoveIndicator(props) {
7
- var _cell$column$columnDe;
8
- const {
9
- cell,
10
- cellRef,
11
- isActiveRow
12
- } = props;
13
- const {
14
- texts
15
- } = useLocalization();
16
- const [show, setShow] = React__default.useState(false);
17
- const tableMeta = cell.getContext().table.options.meta;
18
- const columnMeta = (_cell$column$columnDe = cell.column.columnDef.meta) !== null && _cell$column$columnDe !== void 0 ? _cell$column$columnDe : {};
19
- const moveReason = tableMeta.editing.getRowMoveReason(cell.row.id);
20
- React__default.useEffect(() => {
21
- if (cellRef.current) {
22
- if (isActiveRow && !!moveReason) {
23
- var _cellRef$current$pare;
24
- const firstChild = (_cellRef$current$pare = cellRef.current.parentElement) === null || _cellRef$current$pare === void 0 ? void 0 : _cellRef$current$pare.querySelector('td');
25
- if (cellRef.current === firstChild) {
26
- var _cellRef$current$pare2;
27
- setShow(true);
28
- (_cellRef$current$pare2 = cellRef.current.parentElement) === null || _cellRef$current$pare2 === void 0 ? void 0 : _cellRef$current$pare2.setAttribute('data-row-editing-move', 'true');
29
- }
30
- } else {
31
- var _cellRef$current$pare3;
32
- setShow(false);
33
- (_cellRef$current$pare3 = cellRef.current.parentElement) === null || _cellRef$current$pare3 === void 0 ? void 0 : _cellRef$current$pare3.removeAttribute('data-row-editing-move');
34
- }
35
- }
36
- return () => {
37
- if (cellRef.current) {
38
- var _cellRef$current$pare4;
39
- (_cellRef$current$pare4 = cellRef.current.parentElement) === null || _cellRef$current$pare4 === void 0 ? void 0 : _cellRef$current$pare4.removeAttribute('data-row-editing-move');
40
- }
41
- };
42
- }, [cellRef, isActiveRow, moveReason]);
43
- if (!show) {
44
- return null;
45
- }
46
- const className = 'wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap rounded-b-md px-1 py-1 text-xs font-bold z-10';
47
- const {
48
- title,
49
- description
50
- } = getMessageFromReason(texts, moveReason);
51
- return /*#__PURE__*/React__default.createElement(Tooltip, {
52
- placement: "bottom",
53
- title: description.replace('[COLUMN]', columnMeta.header)
54
- }, /*#__PURE__*/React__default.createElement("span", {
55
- className: className
56
- }, /*#__PURE__*/React__default.createElement(Icon, {
57
- name: "info",
58
- className: "-mt-0.5 mr-1 !h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"
59
- }), title));
60
- }
61
- function getMessageFromReason(texts, reason) {
62
- let title = '';
63
- let description = '';
64
- switch (reason) {
65
- case 'filter':
66
- title = texts.table3.editing.rowIndicator.rowWillBeHidden;
67
- description = texts.table3.editing.rowIndicator.rowWillMoveReasonFilter;
68
- break;
69
- case 'search':
70
- title = texts.table3.editing.rowIndicator.rowWillBeHidden;
71
- description = texts.table3.editing.rowIndicator.rowWillMoveReasonSearch;
72
- break;
73
- case 'sorting':
74
- title = texts.table3.editing.rowIndicator.rowWillMove;
75
- description = texts.table3.editing.rowIndicator.rowWillMoveReasonSorting;
76
- break;
77
- }
78
- return {
79
- title,
80
- description
81
- };
82
- }
83
-
84
- export { RowMoveIndicator };
85
- //# sourceMappingURL=RowMoveIndicator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RowMoveIndicator.js","sources":["../../../../../../../../../../../src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.tsx"],"sourcesContent":["import React from 'react';\nimport { Cell as ReactTableCell, TableMeta as ReactTableMeta, ColumnMeta as ReactTableColumnMeta } from '@tanstack/react-table';\nimport { Tooltip } from '../../../../../Tooltip/Tooltip';\nimport { useLocalization } from '../../../../../Provider/Localization';\nimport { Icon } from '../../../../../Icon/Icon';\n\ntype TableRowMoveIndicatorProps<TType = unknown> = {\n cell: ReactTableCell<TType, unknown>;\n cellRef: React.RefObject<HTMLTableCellElement>;\n isActiveRow: boolean;\n};\n\nexport function RowMoveIndicator<TType = unknown>(props: TableRowMoveIndicatorProps<TType>) {\n const { cell, cellRef, isActiveRow } = props;\n const { texts } = useLocalization();\n const [show, setShow] = React.useState(false);\n const tableMeta = cell.getContext().table.options.meta as ReactTableMeta<TType>;\n const columnMeta = (cell.column.columnDef.meta ?? {}) as ReactTableColumnMeta<TType, unknown>;\n const moveReason = tableMeta.editing.getRowMoveReason(cell.row.id);\n\n React.useEffect(() => {\n if (cellRef.current) {\n if (isActiveRow && !!moveReason) {\n const firstChild = cellRef.current.parentElement?.querySelector('td');\n\n if (cellRef.current === firstChild) {\n setShow(true);\n cellRef.current.parentElement?.setAttribute('data-row-editing-move', 'true');\n }\n } else {\n setShow(false);\n cellRef.current.parentElement?.removeAttribute('data-row-editing-move');\n }\n }\n\n return () => {\n if (cellRef.current) {\n cellRef.current.parentElement?.removeAttribute('data-row-editing-move');\n }\n };\n }, [cellRef, isActiveRow, moveReason]);\n\n if (!show) {\n return null;\n }\n\n const className =\n 'wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap rounded-b-md px-1 py-1 text-xs font-bold z-10';\n\n const { title, description } = getMessageFromReason(texts, moveReason);\n\n return (\n <Tooltip placement=\"bottom\" title={description.replace('[COLUMN]', columnMeta.header)}>\n <span className={className}>\n <Icon name=\"info\" className=\"-mt-0.5 mr-1 !h-4 !w-4 rounded-full bg-white !p-0 text-blue-500\" />\n {title}\n </span>\n </Tooltip>\n );\n}\n\nfunction getMessageFromReason(texts, reason) {\n let title = '';\n let description = '';\n\n switch (reason) {\n case 'filter':\n title = texts.table3.editing.rowIndicator.rowWillBeHidden;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonFilter;\n break;\n\n case 'search':\n title = texts.table3.editing.rowIndicator.rowWillBeHidden;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonSearch;\n break;\n\n case 'sorting':\n title = texts.table3.editing.rowIndicator.rowWillMove;\n description = texts.table3.editing.rowIndicator.rowWillMoveReasonSorting;\n break;\n }\n\n return { title, description };\n}\n"],"names":["RowMoveIndicator","props","cell","cellRef","isActiveRow","texts","useLocalization","show","setShow","React","useState","tableMeta","getContext","table","options","meta","columnMeta","_cell$column$columnDe","column","columnDef","moveReason","editing","getRowMoveReason","row","id","useEffect","current","_cellRef$current$pare","firstChild","parentElement","querySelector","_cellRef$current$pare2","setAttribute","_cellRef$current$pare3","removeAttribute","_cellRef$current$pare4","className","title","description","getMessageFromReason","Tooltip","placement","replace","header","Icon","name","reason","table3","rowIndicator","rowWillBeHidden","rowWillMoveReasonFilter","rowWillMoveReasonSearch","rowWillMove","rowWillMoveReasonSorting"],"mappings":"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"}
@@ -1,71 +0,0 @@
1
- import React__default from 'react';
2
- import { useMergedRef } from '../../../../../../hooks/useMergedRef.js';
3
- import { Textarea } from '../../../../../Textarea/Textarea.js';
4
-
5
- const TextareaWithAutosizing = /*#__PURE__*/React__default.forwardRef(function TextareaWithAutosizing(props, ref) {
6
- const {
7
- fontSize,
8
- isTruncated,
9
- ...attributes
10
- } = props;
11
- const internalRef = useMergedRef(ref);
12
- const initialHeightRef = React__default.useRef(0);
13
- React__default.useLayoutEffect(() => {
14
- if (internalRef.current) {
15
- initialHeightRef.current = internalRef.current.getBoundingClientRect().height;
16
- if (!isTruncated) {
17
- toggleHeight();
18
- }
19
- }
20
- }, [fontSize]);
21
- const toggleHeight = (reset = false) => {
22
- if (internalRef.current) {
23
- if (reset) {
24
- if (isTruncated) {
25
- internalRef.current.style.height = `${initialHeightRef.current}px`;
26
- }
27
- } else {
28
- internalRef.current.style.height = 'inherit';
29
- if (isTruncated) {
30
- internalRef.current.style.height = `${Math.min(internalRef.current.scrollHeight, initialHeightRef.current * 3)}px`;
31
- } else {
32
- internalRef.current.style.height = `${internalRef.current.scrollHeight}px`;
33
- }
34
- }
35
- }
36
- };
37
- const handleFocus = event => {
38
- var _props$onFocus;
39
- (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 ? void 0 : _props$onFocus.call(props, event);
40
- };
41
- const handleBlur = event => {
42
- var _props$onBlur;
43
- if (isTruncated) {
44
- toggleHeight(true);
45
- }
46
- event.target.scrollTop = 0;
47
- (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 ? void 0 : _props$onBlur.call(props, event);
48
- };
49
- const handleChange = event => {
50
- var _props$onChange;
51
- toggleHeight();
52
- (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, event);
53
- };
54
- const textarea = /*#__PURE__*/React__default.createElement(Textarea, Object.assign({}, attributes, {
55
- rows: 1,
56
- onBlur: handleBlur,
57
- onChange: handleChange,
58
- onFocus: handleFocus,
59
- ref: internalRef
60
- }));
61
- if (isTruncated) {
62
- return /*#__PURE__*/React__default.createElement("div", {
63
- className: "relative inline-flex w-full focus-within:z-30",
64
- "data-taco": "input-container"
65
- }, textarea);
66
- }
67
- return textarea;
68
- });
69
-
70
- export { TextareaWithAutosizing };
71
- //# sourceMappingURL=TextareaWithAutosizing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextareaWithAutosizing.js","sources":["../../../../../../../../../../../src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.tsx"],"sourcesContent":["import React from 'react';\nimport { Textarea, TextareaProps } from '../../../../../Textarea/Textarea';\nimport { TableFontSize } from '../../../../../../primitives/Table/types';\nimport { useMergedRef } from '../../../../../../hooks/useMergedRef';\n\ntype TextareaWithAutosizingProps = TextareaProps & {\n fontSize: TableFontSize;\n isTruncated: boolean;\n};\n\nexport const TextareaWithAutosizing = React.forwardRef<HTMLTextAreaElement, TextareaWithAutosizingProps>(\n function TextareaWithAutosizing(props, ref) {\n const { fontSize, isTruncated, ...attributes } = props;\n const internalRef = useMergedRef<HTMLTextAreaElement>(ref);\n const initialHeightRef = React.useRef<number>(0);\n\n React.useLayoutEffect(() => {\n if (internalRef.current) {\n initialHeightRef.current = internalRef.current.getBoundingClientRect().height;\n\n if (!isTruncated) {\n toggleHeight();\n }\n }\n }, [fontSize]);\n\n const toggleHeight = (reset = false) => {\n if (internalRef.current) {\n if (reset) {\n if (isTruncated) {\n internalRef.current.style.height = `${initialHeightRef.current}px`;\n }\n } else {\n internalRef.current.style.height = 'inherit';\n\n if (isTruncated) {\n internalRef.current.style.height = `${Math.min(\n internalRef.current.scrollHeight,\n initialHeightRef.current * 3\n )}px`;\n } else {\n internalRef.current.style.height = `${internalRef.current.scrollHeight}px`;\n }\n }\n }\n };\n\n const handleFocus = (event: React.FocusEvent<HTMLTextAreaElement>) => {\n props.onFocus?.(event);\n };\n\n const handleBlur = (event: React.FocusEvent<HTMLTextAreaElement>) => {\n if (isTruncated) {\n toggleHeight(true);\n }\n event.target.scrollTop = 0;\n props.onBlur?.(event);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLTextAreaElement>) => {\n toggleHeight();\n props.onChange?.(event);\n };\n\n const textarea = (\n <Textarea\n {...attributes}\n rows={1}\n onBlur={handleBlur}\n onChange={handleChange}\n onFocus={handleFocus}\n ref={internalRef}\n />\n );\n\n if (isTruncated) {\n return (\n <div className=\"relative inline-flex w-full focus-within:z-30\" data-taco=\"input-container\">\n {textarea}\n </div>\n );\n }\n\n return textarea;\n }\n);\n"],"names":["TextareaWithAutosizing","React","forwardRef","props","ref","fontSize","isTruncated","attributes","internalRef","useMergedRef","initialHeightRef","useRef","useLayoutEffect","current","getBoundingClientRect","height","toggleHeight","reset","style","Math","min","scrollHeight","handleFocus","event","_props$onFocus","onFocus","call","handleBlur","target","scrollTop","_props$onBlur","onBlur","handleChange","_props$onChange","onChange","textarea","Textarea","rows","className"],"mappings":";;;;MAUaA,sBAAsB,gBAAGC,cAAK,CAACC,UAAU,CAClD,SAASF,sBAAsBA,CAACG,KAAK,EAAEC,GAAG;EACtC,MAAM;IAAEC,QAAQ;IAAEC,WAAW;IAAE,GAAGC;GAAY,GAAGJ,KAAK;EACtD,MAAMK,WAAW,GAAGC,YAAY,CAAsBL,GAAG,CAAC;EAC1D,MAAMM,gBAAgB,GAAGT,cAAK,CAACU,MAAM,CAAS,CAAC,CAAC;EAEhDV,cAAK,CAACW,eAAe,CAAC;IAClB,IAAIJ,WAAW,CAACK,OAAO,EAAE;MACrBH,gBAAgB,CAACG,OAAO,GAAGL,WAAW,CAACK,OAAO,CAACC,qBAAqB,EAAE,CAACC,MAAM;MAE7E,IAAI,CAACT,WAAW,EAAE;QACdU,YAAY,EAAE;;;GAGzB,EAAE,CAACX,QAAQ,CAAC,CAAC;EAEd,MAAMW,YAAY,GAAGA,CAACC,KAAK,GAAG,KAAK;IAC/B,IAAIT,WAAW,CAACK,OAAO,EAAE;MACrB,IAAII,KAAK,EAAE;QACP,IAAIX,WAAW,EAAE;UACbE,WAAW,CAACK,OAAO,CAACK,KAAK,CAACH,MAAM,MAAML,gBAAgB,CAACG,WAAW;;OAEzE,MAAM;QACHL,WAAW,CAACK,OAAO,CAACK,KAAK,CAACH,MAAM,GAAG,SAAS;QAE5C,IAAIT,WAAW,EAAE;UACbE,WAAW,CAACK,OAAO,CAACK,KAAK,CAACH,MAAM,MAAMI,IAAI,CAACC,GAAG,CAC1CZ,WAAW,CAACK,OAAO,CAACQ,YAAY,EAChCX,gBAAgB,CAACG,OAAO,GAAG,CAAC,KAC3B;SACR,MAAM;UACHL,WAAW,CAACK,OAAO,CAACK,KAAK,CAACH,MAAM,MAAMP,WAAW,CAACK,OAAO,CAACQ,gBAAgB;;;;GAIzF;EAED,MAAMC,WAAW,GAAIC,KAA4C;;IAC7D,CAAAC,cAAA,GAAArB,KAAK,CAACsB,OAAO,cAAAD,cAAA,uBAAbA,cAAA,CAAAE,IAAA,CAAAvB,KAAK,EAAWoB,KAAK,CAAC;GACzB;EAED,MAAMI,UAAU,GAAIJ,KAA4C;;IAC5D,IAAIjB,WAAW,EAAE;MACbU,YAAY,CAAC,IAAI,CAAC;;IAEtBO,KAAK,CAACK,MAAM,CAACC,SAAS,GAAG,CAAC;IAC1B,CAAAC,aAAA,GAAA3B,KAAK,CAAC4B,MAAM,cAAAD,aAAA,uBAAZA,aAAA,CAAAJ,IAAA,CAAAvB,KAAK,EAAUoB,KAAK,CAAC;GACxB;EAED,MAAMS,YAAY,GAAIT,KAA6C;;IAC/DP,YAAY,EAAE;IACd,CAAAiB,eAAA,GAAA9B,KAAK,CAAC+B,QAAQ,cAAAD,eAAA,uBAAdA,eAAA,CAAAP,IAAA,CAAAvB,KAAK,EAAYoB,KAAK,CAAC;GAC1B;EAED,MAAMY,QAAQ,gBACVlC,6BAACmC,QAAQ,oBACD7B,UAAU;IACd8B,IAAI,EAAE,CAAC;IACPN,MAAM,EAAEJ,UAAU;IAClBO,QAAQ,EAAEF,YAAY;IACtBP,OAAO,EAAEH,WAAW;IACpBlB,GAAG,EAAEI;KAEZ;EAED,IAAIF,WAAW,EAAE;IACb,oBACIL;MAAKqC,SAAS,EAAC,+CAA+C;mBAAW;OACpEH,QAAQ,CACP;;EAId,OAAOA,QAAQ;AACnB,CAAC;;;;"}
@@ -1,216 +0,0 @@
1
- import React__default from 'react';
2
- import { isElementInsideOrTriggeredFromContainer } from '../../../../../utils/dom.js';
3
- import { Input } from '../../../../Input/Input.js';
4
- import { isDate } from 'date-fns';
5
- import { isWeakEqual } from '../../../../../utils/date.js';
6
- import { Datepicker } from '../../../../Datepicker/Datepicker.js';
7
- import { Field } from '../../../../Field/Field.js';
8
- import { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext.js';
9
- import { getCellAttributes } from '../../../../../primitives/Table/Core/components/Columns/Cell/util.js';
10
- import { Switch } from '../../../../Switch/Switch.js';
11
- import { RowMoveIndicator } from './Editing/RowMoveIndicator.js';
12
- import { TextareaWithAutosizing } from './Editing/TextareaWithAutosizing.js';
13
- import { useEditingCellAutofocus } from './util.js';
14
-
15
- function EditingControlCell(props) {
16
- var _columnMeta$control;
17
- const {
18
- cell,
19
- cellRef,
20
- isHighlighted,
21
- index
22
- } = props;
23
- const {
24
- rowIndex
25
- } = React__default.useContext(RowContext);
26
- const tableMeta = cell.getContext().table.options.meta;
27
- const columnMeta = cell.column.columnDef.meta;
28
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;
29
- const handleFocus = useEditingCellAutofocus(props);
30
- const handleBlur = () => {
31
- tableMeta.editing.toggleDetailedMode(false);
32
- tableMeta.editing.validateCell(cell);
33
- };
34
- // ensure that blur runs when the cell gets unmounted (when vertically arrow key navigating)
35
- React__default.useEffect(() => {
36
- const ref = cellRef.current;
37
- return () => {
38
- if (document.activeElement === ref || isElementInsideOrTriggeredFromContainer(document.activeElement, ref)) {
39
- handleBlur();
40
- }
41
- };
42
- }, []);
43
- const error = tableMeta.editing.getCellError(cell);
44
- const controlProps = {
45
- dataType: columnMeta.dataType,
46
- fontSize: tableMeta.fontSize.size,
47
- id: cell.column.id,
48
- invalid: !!error,
49
- isDetailedMode: tableMeta.editing.isDetailedMode,
50
- isTruncated: !!columnMeta.enableTruncate,
51
- onBlur: handleBlur,
52
- onChange: value => tableMeta.editing.setCellValue(cell, value, rowIndex),
53
- row: cell.row.original,
54
- tabIndex: isActiveRow ? 0 : -1,
55
- toggleEditing: tableMeta.editing.toggleEditing,
56
- toggleDetailedMode: tableMeta.editing.toggleDetailedMode,
57
- type: (_columnMeta$control = columnMeta.control) !== null && _columnMeta$control !== void 0 ? _columnMeta$control : 'input',
58
- value: cell.getValue()
59
- };
60
- const cellAttributes = {
61
- ...getCellAttributes(cell, index, isHighlighted),
62
- 'data-cell-editing-invalid': error ? true : undefined,
63
- onFocus: handleFocus,
64
- ref: cellRef,
65
- tabIndex: -1
66
- };
67
- return /*#__PURE__*/React__default.createElement("td", Object.assign({}, cellAttributes), /*#__PURE__*/React__default.createElement(Field, {
68
- invalid: !!error,
69
- message: error
70
- }, /*#__PURE__*/React__default.createElement(MemoedEditingCell, Object.assign({}, controlProps))), /*#__PURE__*/React__default.createElement(RowMoveIndicator, {
71
- cell: cell,
72
- cellRef: cellRef,
73
- isActiveRow: isActiveRow
74
- }));
75
- }
76
- const MemoedEditingCell = /*#__PURE__*/React__default.memo(function MemoedEditingCell(props) {
77
- const {
78
- dataType,
79
- fontSize,
80
- id,
81
- invalid,
82
- isDetailedMode,
83
- isTruncated,
84
- onBlur,
85
- onChange,
86
- row,
87
- tabIndex = -1,
88
- toggleEditing,
89
- toggleDetailedMode,
90
- type = 'input',
91
- value
92
- } = props;
93
- const controlRef = React__default.useRef(null);
94
- const currentValue = row[id];
95
- const commonProps = {
96
- onBlur,
97
- ref: controlRef,
98
- tabIndex
99
- };
100
- if (typeof type === 'function') {
101
- const controlFnProps = {
102
- ...commonProps,
103
- invalid,
104
- setValue: onChange,
105
- value
106
- };
107
- return type(controlFnProps, row);
108
- }
109
- if (type === 'switch') {
110
- return /*#__PURE__*/React__default.createElement(Switch, Object.assign({}, commonProps, {
111
- checked: Boolean(value),
112
- onChange: onChange,
113
- ref: controlRef
114
- }));
115
- }
116
- const handleInputKeyDown = event => {
117
- const target = event.target;
118
- if (target.readOnly) {
119
- return;
120
- }
121
- // prevent active row navigation while in detailed mode
122
- if (isDetailedMode && (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'ArrowLeft' || event.key === 'ArrowRight')) {
123
- event.stopPropagation();
124
- }
125
- // enter or exit detail mode when pressing enter
126
- if (event.key === 'Enter') {
127
- // textareas support shift and enter, don't prevent default in that case
128
- if (event.shiftKey && isDetailedMode) {
129
- return;
130
- }
131
- event.preventDefault();
132
- if (isDetailedMode) {
133
- var _target$select;
134
- (_target$select = target.select) === null || _target$select === void 0 ? void 0 : _target$select.call(target);
135
- } else {
136
- var _target$setSelectionR, _target$value, _target$value2;
137
- (_target$setSelectionR = target.setSelectionRange) === null || _target$setSelectionR === void 0 ? void 0 : _target$setSelectionR.call(target, (_target$value = target.value) === null || _target$value === void 0 ? void 0 : _target$value.length, (_target$value2 = target.value) === null || _target$value2 === void 0 ? void 0 : _target$value2.length);
138
- }
139
- toggleDetailedMode(editing => !editing);
140
- return;
141
- }
142
- // reset the value, or exit edit mode when pressing escape
143
- if (event.key === 'Escape') {
144
- event.preventDefault();
145
- if (isDetailedMode) {
146
- toggleDetailedMode(false);
147
- if (value !== currentValue) {
148
- props.onChange(currentValue);
149
- }
150
- // have to let onChange run before selecting, otherwise the value changes
151
- requestAnimationFrame(() => {
152
- var _target$select2;
153
- return (_target$select2 = target.select) === null || _target$select2 === void 0 ? void 0 : _target$select2.call(target);
154
- });
155
- } else {
156
- toggleEditing(false);
157
- }
158
- return;
159
- }
160
- // toggle into detailed mode when actually inputting something
161
- if (/^[a-z0-9]$/i.test(event.key) || event.key === 'Backspace') {
162
- toggleDetailedMode(true);
163
- }
164
- };
165
- const handleFocus = event => {
166
- if (!isDetailedMode) {
167
- event.target.select();
168
- }
169
- };
170
- if (type === 'datepicker') {
171
- const handleChange = event => {
172
- const newDate = event.detail;
173
- if (isDate(value) && isDate(newDate) && !isWeakEqual(value, newDate)) {
174
- props.onChange(event.detail);
175
- }
176
- };
177
- return /*#__PURE__*/React__default.createElement(Datepicker, Object.assign({}, commonProps, {
178
- invalid: invalid,
179
- onChange: handleChange,
180
- onFocus: handleFocus,
181
- onKeyDown: handleInputKeyDown,
182
- ref: controlRef,
183
- value: value
184
- }));
185
- }
186
- if (type === 'textarea') {
187
- const handleChange = event => {
188
- onChange(event.target.value);
189
- };
190
- return /*#__PURE__*/React__default.createElement(TextareaWithAutosizing, Object.assign({}, commonProps, {
191
- fontSize: fontSize,
192
- invalid: invalid,
193
- isTruncated: isTruncated,
194
- onChange: handleChange,
195
- onFocus: handleFocus,
196
- onKeyDown: handleInputKeyDown,
197
- ref: controlRef,
198
- value: String(value !== null && value !== void 0 ? value : '')
199
- }));
200
- }
201
- const handleChange = event => {
202
- onChange(dataType === 'number' && event.target.value ? Number.parseInt(event.target.value) : event.target.value);
203
- };
204
- return /*#__PURE__*/React__default.createElement(Input, Object.assign({}, commonProps, {
205
- invalid: invalid,
206
- onChange: handleChange,
207
- onFocus: handleFocus,
208
- onKeyDown: handleInputKeyDown,
209
- ref: controlRef,
210
- type: dataType === 'number' ? 'number' : undefined,
211
- value: dataType === 'number' ? value : String(value !== null && value !== void 0 ? value : '')
212
- }));
213
- });
214
-
215
- export { EditingControlCell };
216
- //# sourceMappingURL=EditingControlCell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditingControlCell.js","sources":["../../../../../../../../../../src/components/Table3/components/Columns/Cell/EditingControlCell.tsx"],"sourcesContent":["import React from 'react';\nimport { TableMeta as ReactTableMeta, ColumnMeta as ReactTableColumnMeta } from '@tanstack/react-table';\nimport { isDate } from 'date-fns';\nimport { Datepicker } from '../../../../Datepicker/Datepicker';\nimport { Switch } from '../../../../Switch/Switch';\nimport { Input } from '../../../../Input/Input';\nimport { TableColumnDataType, TableColumnRendererControl, TableFontSize } from '../../../../../primitives/Table/types';\nimport { isWeakEqual as isWeakEqualDate } from '../../../../../utils/date';\nimport { RowMoveIndicator } from './Editing/RowMoveIndicator';\nimport { TextareaWithAutosizing } from './Editing/TextareaWithAutosizing';\nimport { Field } from '../../../../Field/Field';\nimport { isElementInsideOrTriggeredFromContainer } from '../../../../../utils/dom';\nimport { TableCellRendererProps } from '../../../../../primitives/Table/Core/types';\nimport { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext';\nimport { getCellAttributes } from '../../../../../primitives/Table/Core/components/Columns/Cell/util';\nimport { useEditingCellAutofocus } from './util';\n\nexport function EditingControlCell<TType = unknown>(props: TableCellRendererProps<TType>) {\n const { cell, cellRef, isHighlighted, index } = props;\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = cell.getContext().table.options.meta as ReactTableMeta<TType>;\n const columnMeta = cell.column.columnDef.meta as ReactTableColumnMeta<TType, unknown>;\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;\n\n const handleFocus = useEditingCellAutofocus<TType>(props);\n\n const handleBlur = () => {\n tableMeta.editing.toggleDetailedMode(false);\n tableMeta.editing.validateCell(cell);\n };\n\n // ensure that blur runs when the cell gets unmounted (when vertically arrow key navigating)\n React.useEffect(() => {\n const ref = cellRef.current;\n\n return () => {\n if (document.activeElement === ref || isElementInsideOrTriggeredFromContainer(document.activeElement, ref)) {\n handleBlur();\n }\n };\n }, []);\n\n const error = tableMeta.editing.getCellError<TType>(cell);\n\n const controlProps = {\n dataType: columnMeta.dataType,\n fontSize: tableMeta.fontSize.size,\n id: cell.column.id,\n invalid: !!error,\n isDetailedMode: tableMeta.editing.isDetailedMode,\n isTruncated: !!columnMeta.enableTruncate,\n onBlur: handleBlur,\n onChange: (value: unknown) => tableMeta.editing.setCellValue(cell, value, rowIndex),\n row: cell.row.original,\n tabIndex: isActiveRow ? 0 : -1,\n toggleEditing: tableMeta.editing.toggleEditing,\n toggleDetailedMode: tableMeta.editing.toggleDetailedMode,\n type: columnMeta.control ?? 'input',\n value: cell.getValue(),\n };\n\n const cellAttributes = {\n ...getCellAttributes(cell, index, isHighlighted),\n 'data-cell-editing-invalid': error ? true : undefined,\n onFocus: handleFocus,\n ref: cellRef,\n tabIndex: -1,\n };\n\n return (\n <td {...cellAttributes}>\n <Field invalid={!!error} message={error}>\n <MemoedEditingCell<TType> {...controlProps} />\n </Field>\n {\n // we show row move indicator here within the cell rather than the row because it is\n // an editing only feature, and we don't want to leak editing into the shared row component\n }\n <RowMoveIndicator cell={cell} cellRef={cellRef} isActiveRow={isActiveRow} />\n </td>\n );\n}\n\ntype MemoedEditingCellProps<TType = unknown, TValue = unknown> = {\n dataType?: TableColumnDataType;\n fontSize: TableFontSize;\n id: string;\n invalid: boolean;\n isDetailedMode: boolean;\n isTruncated: boolean;\n onBlur: () => void;\n onChange: (value: TValue) => void;\n row: TType;\n tabIndex?: number;\n toggleEditing: (editing: React.SetStateAction<boolean>) => void;\n toggleDetailedMode: (detailed: React.SetStateAction<boolean>) => void;\n type: TableColumnRendererControl<TType>;\n value: TValue;\n};\n\nconst MemoedEditingCell = React.memo(function MemoedEditingCell<TType = unknown>(props: MemoedEditingCellProps<TType>) {\n const {\n dataType,\n fontSize,\n id,\n invalid,\n isDetailedMode,\n isTruncated,\n onBlur,\n onChange,\n row,\n tabIndex = -1,\n toggleEditing,\n toggleDetailedMode,\n type = 'input',\n value,\n } = props;\n const controlRef = React.useRef<HTMLElement>(null);\n const currentValue = row[id];\n const commonProps = {\n onBlur,\n ref: controlRef,\n tabIndex,\n };\n\n if (typeof type === 'function') {\n const controlFnProps = {\n ...commonProps,\n invalid,\n setValue: onChange,\n value,\n };\n return type(controlFnProps, row);\n }\n\n if (type === 'switch') {\n return (\n <Switch\n {...commonProps}\n checked={Boolean(value)}\n onChange={onChange}\n ref={controlRef as React.RefObject<HTMLButtonElement>}\n />\n );\n }\n\n const handleInputKeyDown = (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n const target = event.target as HTMLInputElement | HTMLTextAreaElement;\n\n if (target.readOnly) {\n return;\n }\n\n // prevent active row navigation while in detailed mode\n if (\n isDetailedMode &&\n (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'ArrowLeft' || event.key === 'ArrowRight')\n ) {\n event.stopPropagation();\n }\n\n // enter or exit detail mode when pressing enter\n if (event.key === 'Enter') {\n // textareas support shift and enter, don't prevent default in that case\n if (event.shiftKey && isDetailedMode) {\n return;\n }\n\n event.preventDefault();\n\n if (isDetailedMode) {\n target.select?.();\n } else {\n target.setSelectionRange?.(target.value?.length, target.value?.length);\n }\n\n toggleDetailedMode(editing => !editing);\n return;\n }\n\n // reset the value, or exit edit mode when pressing escape\n if (event.key === 'Escape') {\n event.preventDefault();\n\n if (isDetailedMode) {\n toggleDetailedMode(false);\n\n if (value !== currentValue) {\n props.onChange(currentValue);\n }\n\n // have to let onChange run before selecting, otherwise the value changes\n requestAnimationFrame(() => target.select?.());\n } else {\n toggleEditing(false);\n }\n\n return;\n }\n\n // toggle into detailed mode when actually inputting something\n if (/^[a-z0-9]$/i.test(event.key) || event.key === 'Backspace') {\n toggleDetailedMode(true);\n }\n };\n\n const handleFocus = (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => {\n if (!isDetailedMode) {\n event.target.select();\n }\n };\n\n if (type === 'datepicker') {\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const newDate = (event as any).detail;\n\n if (isDate(value) && isDate(newDate) && !isWeakEqualDate(value as Date, newDate as Date)) {\n props.onChange((event as any).detail);\n }\n };\n\n return (\n <Datepicker\n {...commonProps}\n invalid={invalid}\n onChange={handleChange}\n onFocus={handleFocus}\n onKeyDown={handleInputKeyDown}\n ref={controlRef as React.RefObject<HTMLInputElement>}\n value={value as Date}\n />\n );\n }\n\n if (type === 'textarea') {\n const handleChange = (event: React.ChangeEvent<HTMLTextAreaElement>) => {\n onChange(event.target.value);\n };\n\n return (\n <TextareaWithAutosizing\n {...commonProps}\n fontSize={fontSize}\n invalid={invalid}\n isTruncated={isTruncated}\n onChange={handleChange}\n onFocus={handleFocus}\n onKeyDown={handleInputKeyDown}\n ref={controlRef as React.RefObject<HTMLTextAreaElement>}\n value={String(value ?? '')}\n />\n );\n }\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n onChange(dataType === 'number' && event.target.value ? Number.parseInt(event.target.value) : event.target.value);\n };\n\n return (\n <Input\n {...commonProps}\n invalid={invalid}\n onChange={handleChange}\n onFocus={handleFocus}\n onKeyDown={handleInputKeyDown}\n ref={controlRef as React.RefObject<HTMLInputElement>}\n type={dataType === 'number' ? 'number' : undefined}\n value={dataType === 'number' ? (value as number) : String(value ?? '')}\n />\n );\n}) as <TType = unknown>(props: MemoedEditingCellProps<TType>) => JSX.Element;\n"],"names":["EditingControlCell","props","cell","cellRef","isHighlighted","index","rowIndex","React","useContext","RowContext","tableMeta","getContext","table","options","meta","columnMeta","column","columnDef","isActiveRow","rowActive","rowActiveIndex","handleFocus","useEditingCellAutofocus","handleBlur","editing","toggleDetailedMode","validateCell","useEffect","ref","current","document","activeElement","isElementInsideOrTriggeredFromContainer","error","getCellError","controlProps","dataType","fontSize","size","id","invalid","isDetailedMode","isTruncated","enableTruncate","onBlur","onChange","value","setCellValue","row","original","tabIndex","toggleEditing","type","_columnMeta$control","control","getValue","cellAttributes","getCellAttributes","undefined","onFocus","Field","message","MemoedEditingCell","RowMoveIndicator","memo","controlRef","useRef","currentValue","commonProps","controlFnProps","setValue","Switch","checked","Boolean","handleInputKeyDown","event","target","readOnly","key","stopPropagation","shiftKey","preventDefault","_target$select","select","call","_target$setSelectionR","_target$value","_target$value2","setSelectionRange","length","requestAnimationFrame","_target$select2","test","handleChange","newDate","detail","isDate","isWeakEqualDate","Datepicker","onKeyDown","TextareaWithAutosizing","String","Number","parseInt","Input"],"mappings":"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"}
@@ -1,14 +0,0 @@
1
- import React__default from 'react';
2
- import { DisplayCell } from '../../../../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js';
3
- import { useEditingCellAutofocus } from './util.js';
4
-
5
- const EditingDisplayCell = /*#__PURE__*/React__default.memo(function EditingDisplayCell(props) {
6
- const handleFocus = useEditingCellAutofocus(props);
7
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props, {
8
- onFocus: handleFocus,
9
- tabIndex: -1
10
- }));
11
- });
12
-
13
- export { EditingDisplayCell };
14
- //# sourceMappingURL=EditingDisplayCell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditingDisplayCell.js","sources":["../../../../../../../../../../src/components/Table3/components/Columns/Cell/EditingDisplayCell.tsx"],"sourcesContent":["import React from 'react';\nimport { DisplayCell } from '../../../../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { TableCellRendererProps } from '../../../../../primitives/Table/Core/types';\nimport { useEditingCellAutofocus } from './util';\n\nexport const EditingDisplayCell = React.memo(function EditingDisplayCell<TType = unknown>(props: TableCellRendererProps<TType>) {\n const handleFocus = useEditingCellAutofocus<TType>(props);\n return <DisplayCell<TType> {...props} onFocus={handleFocus} tabIndex={-1} />;\n}) as <TType = unknown>(props: TableCellRendererProps<TType>) => JSX.Element;\n"],"names":["EditingDisplayCell","React","memo","props","handleFocus","useEditingCellAutofocus","DisplayCell","onFocus","tabIndex"],"mappings":";;;;MAKaA,kBAAkB,gBAAGC,cAAK,CAACC,IAAI,CAAC,SAASF,kBAAkBA,CAAkBG,KAAoC;EAC1H,MAAMC,WAAW,GAAGC,uBAAuB,CAAQF,KAAK,CAAC;EACzD,oBAAOF,6BAACK,WAAW,oBAAYH,KAAK;IAAEI,OAAO,EAAEH,WAAW;IAAEI,QAAQ,EAAE,CAAC;KAAK;AAChF,CAAC;;;;"}
@@ -1,45 +0,0 @@
1
- import React__default from 'react';
2
- import { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext.js';
3
- import { useAugmentedFocusManager } from '../../../../../primitives/Table/Core/components/Body/util.js';
4
-
5
- function useEditingCellAutofocus(props) {
6
- const focusManager = useAugmentedFocusManager();
7
- const {
8
- rowIndex
9
- } = React__default.useContext(RowContext);
10
- const table = props.cell.getContext().table;
11
- const tableMeta = table.options.meta;
12
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;
13
- const autoFocus = props.index === tableMeta.editing.lastFocusedCellIndex && isActiveRow;
14
- // focus the cell so that we trigger it's handle focus
15
- React__default.useEffect(() => {
16
- if (props.cellRef.current) {
17
- var _props$cellRef$curren, _document$activeEleme;
18
- const isFocusedElementInCurrentRow = (_props$cellRef$curren = props.cellRef.current.closest('tr')) === null || _props$cellRef$curren === void 0 ? void 0 : _props$cellRef$curren.contains(document.activeElement);
19
- const isFocusedElementSearch = ((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.getAttribute('name')) === 'table-search';
20
- if (autoFocus && !isFocusedElementInCurrentRow && !isFocusedElementSearch) {
21
- var _props$cellRef$curren2;
22
- (_props$cellRef$curren2 = props.cellRef.current) === null || _props$cellRef$curren2 === void 0 ? void 0 : _props$cellRef$curren2.focus();
23
- }
24
- }
25
- }, [autoFocus]);
26
- // when the cell receives focus we actually want to focus the control inside it...
27
- const handleFocus = event => {
28
- var _props$cellRef$curren3;
29
- const tableElement = (_props$cellRef$curren3 = props.cellRef.current) === null || _props$cellRef$curren3 === void 0 ? void 0 : _props$cellRef$curren3.closest('table');
30
- if (tableElement && table.getIsSomeColumnsPinned() && !props.cell.column.getIsPinned()) {
31
- const columnFreezingOffset = table.getLeftTotalSize();
32
- const leftOffsetFromScrollContainer = event.currentTarget.getBoundingClientRect().left - tableElement.getBoundingClientRect().left;
33
- if (leftOffsetFromScrollContainer < columnFreezingOffset) {
34
- tableElement.scrollTo(props.cell.column.getStart() - columnFreezingOffset, tableElement.scrollTop);
35
- }
36
- }
37
- if (event.target === event.currentTarget) {
38
- focusManager.focusNext();
39
- }
40
- };
41
- return handleFocus;
42
- }
43
-
44
- export { useEditingCellAutofocus };
45
- //# sourceMappingURL=util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.js","sources":["../../../../../../../../../../src/components/Table3/components/Columns/Cell/util.ts"],"sourcesContent":["import React from 'react';\nimport { TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useAugmentedFocusManager } from '../../../../../primitives/Table/Core/components/Body/util';\nimport { TableCellRendererProps } from '../../../../../primitives/Table/Core/types';\nimport { RowContext } from '../../../../../primitives/Table/Core/components/Row/RowContext';\n\nexport function useEditingCellAutofocus<TType = unknown>(props: TableCellRendererProps<TType>) {\n const focusManager = useAugmentedFocusManager();\n const { rowIndex } = React.useContext(RowContext);\n const table = props.cell.getContext().table;\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;\n\n const autoFocus = props.index === tableMeta.editing.lastFocusedCellIndex && isActiveRow;\n\n // focus the cell so that we trigger it's handle focus\n React.useEffect(() => {\n if (props.cellRef.current) {\n const isFocusedElementInCurrentRow = props.cellRef.current.closest('tr')?.contains(document.activeElement);\n const isFocusedElementSearch = document.activeElement?.getAttribute('name') === 'table-search';\n\n if (autoFocus && !isFocusedElementInCurrentRow && !isFocusedElementSearch) {\n props.cellRef.current?.focus();\n }\n }\n }, [autoFocus]);\n\n // when the cell receives focus we actually want to focus the control inside it...\n const handleFocus = (event: React.FocusEvent<HTMLTableCellElement>) => {\n const tableElement = props.cellRef.current?.closest('table');\n\n if (tableElement && table.getIsSomeColumnsPinned() && !props.cell.column.getIsPinned()) {\n const columnFreezingOffset = table.getLeftTotalSize();\n const leftOffsetFromScrollContainer =\n event.currentTarget.getBoundingClientRect().left - tableElement.getBoundingClientRect().left;\n\n if (leftOffsetFromScrollContainer < columnFreezingOffset) {\n tableElement.scrollTo(props.cell.column.getStart() - columnFreezingOffset, tableElement.scrollTop);\n }\n }\n\n if (event.target === event.currentTarget) {\n focusManager.focusNext();\n }\n };\n\n return handleFocus;\n}\n"],"names":["useEditingCellAutofocus","props","focusManager","useAugmentedFocusManager","rowIndex","React","useContext","RowContext","table","cell","getContext","tableMeta","options","meta","isActiveRow","rowActive","rowActiveIndex","autoFocus","index","editing","lastFocusedCellIndex","useEffect","cellRef","current","_props$cellRef$curren","_document$activeEleme","isFocusedElementInCurrentRow","closest","contains","document","activeElement","isFocusedElementSearch","getAttribute","_props$cellRef$curren2","focus","handleFocus","event","tableElement","_props$cellRef$curren3","getIsSomeColumnsPinned","column","getIsPinned","columnFreezingOffset","getLeftTotalSize","leftOffsetFromScrollContainer","currentTarget","getBoundingClientRect","left","scrollTo","getStart","scrollTop","target","focusNext"],"mappings":";;;;SAMgBA,uBAAuBA,CAAkBC,KAAoC;EACzF,MAAMC,YAAY,GAAGC,wBAAwB,EAAE;EAC/C,MAAM;IAAEC;GAAU,GAAGC,cAAK,CAACC,UAAU,CAACC,UAAU,CAAC;EACjD,MAAMC,KAAK,GAAGP,KAAK,CAACQ,IAAI,CAACC,UAAU,EAAE,CAACF,KAAK;EAC3C,MAAMG,SAAS,GAAGH,KAAK,CAACI,OAAO,CAACC,IAA6B;EAC7D,MAAMC,WAAW,GAAGH,SAAS,CAACI,SAAS,CAACC,cAAc,KAAKZ,QAAQ;EAEnE,MAAMa,SAAS,GAAGhB,KAAK,CAACiB,KAAK,KAAKP,SAAS,CAACQ,OAAO,CAACC,oBAAoB,IAAIN,WAAW;;EAGvFT,cAAK,CAACgB,SAAS,CAAC;IACZ,IAAIpB,KAAK,CAACqB,OAAO,CAACC,OAAO,EAAE;MAAA,IAAAC,qBAAA,EAAAC,qBAAA;MACvB,MAAMC,4BAA4B,IAAAF,qBAAA,GAAGvB,KAAK,CAACqB,OAAO,CAACC,OAAO,CAACI,OAAO,CAAC,IAAI,CAAC,cAAAH,qBAAA,uBAAnCA,qBAAA,CAAqCI,QAAQ,CAACC,QAAQ,CAACC,aAAa,CAAC;MAC1G,MAAMC,sBAAsB,GAAG,EAAAN,qBAAA,GAAAI,QAAQ,CAACC,aAAa,cAAAL,qBAAA,uBAAtBA,qBAAA,CAAwBO,YAAY,CAAC,MAAM,CAAC,MAAK,cAAc;MAE9F,IAAIf,SAAS,IAAI,CAACS,4BAA4B,IAAI,CAACK,sBAAsB,EAAE;QAAA,IAAAE,sBAAA;QACvE,CAAAA,sBAAA,GAAAhC,KAAK,CAACqB,OAAO,CAACC,OAAO,cAAAU,sBAAA,uBAArBA,sBAAA,CAAuBC,KAAK,EAAE;;;GAGzC,EAAE,CAACjB,SAAS,CAAC,CAAC;;EAGf,MAAMkB,WAAW,GAAIC,KAA6C;;IAC9D,MAAMC,YAAY,IAAAC,sBAAA,GAAGrC,KAAK,CAACqB,OAAO,CAACC,OAAO,cAAAe,sBAAA,uBAArBA,sBAAA,CAAuBX,OAAO,CAAC,OAAO,CAAC;IAE5D,IAAIU,YAAY,IAAI7B,KAAK,CAAC+B,sBAAsB,EAAE,IAAI,CAACtC,KAAK,CAACQ,IAAI,CAAC+B,MAAM,CAACC,WAAW,EAAE,EAAE;MACpF,MAAMC,oBAAoB,GAAGlC,KAAK,CAACmC,gBAAgB,EAAE;MACrD,MAAMC,6BAA6B,GAC/BR,KAAK,CAACS,aAAa,CAACC,qBAAqB,EAAE,CAACC,IAAI,GAAGV,YAAY,CAACS,qBAAqB,EAAE,CAACC,IAAI;MAEhG,IAAIH,6BAA6B,GAAGF,oBAAoB,EAAE;QACtDL,YAAY,CAACW,QAAQ,CAAC/C,KAAK,CAACQ,IAAI,CAAC+B,MAAM,CAACS,QAAQ,EAAE,GAAGP,oBAAoB,EAAEL,YAAY,CAACa,SAAS,CAAC;;;IAI1G,IAAId,KAAK,CAACe,MAAM,KAAKf,KAAK,CAACS,aAAa,EAAE;MACtC3C,YAAY,CAACkD,SAAS,EAAE;;GAE/B;EAED,OAAOjB,WAAW;AACtB;;;;"}
@@ -1,62 +0,0 @@
1
- import React__default from 'react';
2
- import { IconButton } from '../../../../IconButton/IconButton.js';
3
- import { useLocalization } from '../../../../Provider/Localization.js';
4
- import { Button } from '../../../../Button/Button.js';
5
- import { Dialog } from '../../../../Dialog/Dialog.js';
6
- import { Group } from '../../../../Group/Group.js';
7
- import { Menu } from '../../../../Menu/Menu.js';
8
-
9
- function EditingActionMenu(props) {
10
- const {
11
- hasChanges,
12
- hasErrors,
13
- onClear: handleClear,
14
- onExit: handleExit,
15
- onSave: handleSave
16
- } = props;
17
- const {
18
- texts
19
- } = useLocalization();
20
- return /*#__PURE__*/React__default.createElement(IconButton, {
21
- appearance: "transparent",
22
- "aria-label": texts.table3.editing.actions.tooltip,
23
- className: "group-[[data-row-editing-status]]/row:hidden",
24
- icon: "more",
25
- menu: menuProps => ( /*#__PURE__*/React__default.createElement(Menu, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu.Content, null, /*#__PURE__*/React__default.createElement(Menu.Item, {
26
- icon: "tick",
27
- disabled: !hasChanges || hasErrors,
28
- onClick: handleSave
29
- }, texts.table3.editing.actions.save), /*#__PURE__*/React__default.createElement(Menu.Item, {
30
- icon: "close",
31
- disabled: !hasChanges,
32
- dialog: props => /*#__PURE__*/React__default.createElement(ConfirmClearChangesDialog, Object.assign({}, props, {
33
- onClear: handleClear
34
- }))
35
- }, texts.table3.editing.actions.clear), /*#__PURE__*/React__default.createElement(Menu.Item, {
36
- icon: "undo",
37
- onClick: handleExit
38
- }, texts.table3.editing.actions.exit))))
39
- });
40
- }
41
- function ConfirmClearChangesDialog(props) {
42
- const {
43
- onClear: handleClear,
44
- ...dialogProps
45
- } = props;
46
- const {
47
- texts
48
- } = useLocalization();
49
- return /*#__PURE__*/React__default.createElement(Dialog, Object.assign({}, dialogProps), /*#__PURE__*/React__default.createElement(Dialog.Content, {
50
- "aria-label": texts.table3.editing.clearChangesConfirmationDialog.title
51
- }, /*#__PURE__*/React__default.createElement(Dialog.Title, null, texts.table3.editing.clearChangesConfirmationDialog.title), /*#__PURE__*/React__default.createElement("p", null, texts.table3.editing.clearChangesConfirmationDialog.description), /*#__PURE__*/React__default.createElement(Dialog.Footer, null, /*#__PURE__*/React__default.createElement(Group, null, /*#__PURE__*/React__default.createElement(Dialog.Close, null, /*#__PURE__*/React__default.createElement(Button, {
52
- tabIndex: 0
53
- }, texts.table3.editing.clearChangesConfirmationDialog.cancel)), /*#__PURE__*/React__default.createElement(Dialog.Close, null, /*#__PURE__*/React__default.createElement(Button, {
54
- tabIndex: 0,
55
- appearance: "primary",
56
- autoFocus: true,
57
- onClick: handleClear
58
- }, texts.table3.editing.clearChangesConfirmationDialog.confirm))))));
59
- }
60
-
61
- export { EditingActionMenu };
62
- //# sourceMappingURL=EditingActionsMenu.js.map