@economic/taco 2.25.1 → 2.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1000) hide show
  1. package/dist/esm/index.css +216 -515
  2. package/dist/esm/packages/taco/src/components/Field/Field.js +1 -0
  3. package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
  4. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +5 -6
  5. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
  6. package/dist/esm/packages/taco/src/components/Provider/Localization.js +48 -59
  7. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  8. package/dist/esm/packages/taco/src/components/Report/Report.js +8 -51
  9. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  10. package/dist/esm/packages/taco/src/components/Report/useReport.js +8 -45
  11. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  12. package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -1
  13. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  14. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
  15. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
  16. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  17. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +10 -10
  18. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  19. package/dist/esm/packages/taco/src/components/Table3/Table3.js +30 -218
  20. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  21. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
  22. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
  23. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
  24. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
  25. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +71 -0
  26. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
  27. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +216 -0
  28. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
  29. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
  30. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
  31. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +45 -0
  32. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
  33. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +62 -0
  34. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
  35. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +134 -0
  36. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
  37. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
  38. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
  39. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +41 -0
  40. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
  41. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
  42. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
  43. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +349 -0
  44. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
  45. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +49 -0
  46. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
  47. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +36 -0
  48. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
  49. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +46 -38
  50. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  51. package/dist/esm/packages/taco/src/index.js +1 -1
  52. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +2 -0
  53. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  54. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +52 -0
  55. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
  56. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/Body.js +21 -12
  57. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
  58. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
  59. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
  60. package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/DisplayCell.js +6 -4
  61. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
  62. package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/GroupedCell.js +8 -6
  63. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
  64. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/Cell.js +6 -5
  65. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
  66. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/util.js +5 -4
  67. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
  68. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Actions.js +28 -17
  69. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
  70. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
  71. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
  72. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Expansion.js +18 -6
  73. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
  74. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Selection.js +23 -10
  75. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
  76. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
  77. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Summary.js +7 -7
  78. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
  79. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/Header.js +12 -7
  80. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
  81. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Goto.js +5 -5
  82. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
  83. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Menu.js +15 -16
  84. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
  85. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Resizer.js +3 -3
  86. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
  87. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/SortIndicator.js +1 -1
  88. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
  89. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/util.js +4 -4
  90. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
  91. package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/DisplayRow.js +30 -12
  92. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
  93. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
  94. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/Row.js +13 -7
  95. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
  96. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/RowContext.js +0 -1
  97. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
  98. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +54 -0
  99. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
  100. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/Filters.js +9 -9
  101. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
  102. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.js +9 -9
  103. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
  104. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.js +4 -4
  105. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
  106. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.js +7 -7
  107. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
  108. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.js +17 -17
  109. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
  110. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.js +7 -7
  111. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
  112. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
  113. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Print/Print.js +11 -11
  114. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
  115. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
  116. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
  117. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Search/Search.js +26 -7
  118. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
  119. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.js +27 -13
  120. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
  121. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/Settings.js +17 -17
  122. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
  123. package/dist/esm/packages/taco/src/{components/Report/styles/util.js → primitives/Table/Core/features/useStylesheet.js} +18 -2
  124. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +1 -0
  125. package/dist/esm/packages/taco/src/{components/Report/styles/useColumnPinningStylesheet.js → primitives/Table/Core/features/useStylesheetColumnFreezing.js} +12 -12
  126. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +1 -0
  127. package/dist/esm/packages/taco/src/{components/Report/styles/useCssGridStylesheet.js → primitives/Table/Core/features/useStylesheetCssGrid.js} +9 -9
  128. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +1 -0
  129. package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableGlobalShortcuts.js +3 -5
  130. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
  131. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
  132. package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableRenderer.js +5 -3
  133. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
  134. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/listeners/useTableRowActiveListener.js +1 -1
  135. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
  136. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +50 -0
  137. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
  138. package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
  139. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  140. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +5 -15
  141. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -1
  142. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
  143. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
  144. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
  145. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
  146. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +1 -3
  147. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  148. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +13 -9
  149. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  150. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +58 -24
  151. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
  152. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +1 -2
  153. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  154. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +5 -2
  155. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  156. package/dist/esm/packages/taco/src/utils/dom.js +19 -3
  157. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  158. package/dist/esm/packages/taco/src/utils/input.js +1 -14
  159. package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
  160. package/dist/index.css +216 -515
  161. package/dist/{components → packages/taco/src/components}/Provider/Localization.d.ts +47 -55
  162. package/dist/packages/taco/src/components/Report/Report.d.ts +10 -0
  163. package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +19 -0
  164. package/dist/packages/taco/src/components/Report/useReport.d.ts +23 -0
  165. package/dist/{components → packages/taco/src/components}/Select2/hooks/useChildren.d.ts +2 -1
  166. package/dist/{components → packages/taco/src/components}/Table/Table.d.ts +2 -2
  167. package/dist/packages/taco/src/components/Table3/Table3.d.ts +20 -0
  168. package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +35 -0
  169. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
  170. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
  171. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
  172. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
  173. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
  174. package/dist/packages/taco/src/components/Table3/components/Columns/Cell/util.d.ts +3 -0
  175. package/dist/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +10 -0
  176. package/dist/packages/taco/src/components/Table3/components/Editing/Alert.d.ts +12 -0
  177. package/dist/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
  178. package/dist/packages/taco/src/components/Table3/components/Row/Row.d.ts +3 -0
  179. package/dist/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
  180. package/dist/packages/taco/src/components/Table3/features/useTableEditing.d.ts +46 -0
  181. package/dist/packages/taco/src/components/Table3/listeners/useTableEditingListener.d.ts +2 -0
  182. package/dist/packages/taco/src/components/Table3/types.d.ts +56 -0
  183. package/dist/packages/taco/src/components/Table3/useTable3.d.ts +30 -0
  184. package/dist/packages/taco/src/components/Table3/util/editing.d.ts +2 -0
  185. package/dist/{index.d.ts → packages/taco/src/index.d.ts} +1 -0
  186. package/dist/packages/taco/src/primitives/Table/Core/Table.d.ts +19 -0
  187. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/Body.d.ts +1 -1
  188. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/EmptyStateBody.d.ts +2 -2
  189. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
  190. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
  191. package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Cell/Cell.d.ts +4 -2
  192. package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Cell/util.d.ts +2 -1
  193. package/dist/{components/Report/components → packages/taco/src/primitives/Table/Core/components/Columns}/Internal/Actions.d.ts +4 -4
  194. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
  195. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
  196. package/dist/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
  197. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/Header.d.ts +7 -2
  198. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Goto.d.ts +1 -1
  199. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Menu.d.ts +2 -1
  200. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/Resizer.d.ts +1 -1
  201. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Header/components/SortIndicator.d.ts +1 -1
  202. package/dist/packages/taco/src/primitives/Table/Core/components/Header/util.d.ts +4 -0
  203. package/dist/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
  204. package/dist/packages/taco/src/primitives/Table/Core/components/Row/Row.d.ts +6 -0
  205. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Row/RowContext.d.ts +0 -1
  206. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
  207. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.d.ts +1 -1
  208. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.d.ts +2 -2
  209. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.d.ts +1 -1
  210. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.d.ts +1 -1
  211. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/util.d.ts +1 -1
  212. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Print/Print.d.ts +1 -1
  213. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
  214. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Search/Search.d.ts +3 -1
  215. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +1 -1
  216. package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Settings/Settings.d.ts +2 -2
  217. package/dist/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +2 -0
  218. package/dist/{components/Report/styles/useCssGridStylesheet.d.ts → packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.d.ts} +2 -2
  219. package/dist/{components/Report/util → packages/taco/src/primitives/Table/Core/features}/useTableGlobalShortcuts.d.ts +1 -1
  220. package/dist/{components/Report/util → packages/taco/src/primitives/Table/Core/features}/useTableRenderer.d.ts +3 -2
  221. package/dist/packages/taco/src/primitives/Table/Core/types.d.ts +24 -0
  222. package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +25 -0
  223. package/dist/{primitives → packages/taco/src/primitives}/Table/types.d.ts +168 -3
  224. package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowActive.d.ts +4 -2
  225. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
  226. package/dist/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
  227. package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/types.d.ts +1 -0
  228. package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/useTableManager.d.ts +9 -3
  229. package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/settings.d.ts +1 -1
  230. package/dist/{utils → packages/taco/src/utils}/dom.d.ts +2 -1
  231. package/dist/taco.cjs.development.js +7134 -11743
  232. package/dist/taco.cjs.development.js.map +1 -1
  233. package/dist/taco.cjs.production.min.js +1 -1
  234. package/dist/taco.cjs.production.min.js.map +1 -1
  235. package/package.json +3 -2
  236. package/types.json +21186 -51499
  237. package/dist/components/Report/Report.d.ts +0 -23
  238. package/dist/components/Report/components/Cell/DisplayCell.d.ts +0 -8
  239. package/dist/components/Report/components/Cell/GroupedCell.d.ts +0 -8
  240. package/dist/components/Report/components/Header/util.d.ts +0 -4
  241. package/dist/components/Report/components/Internal/Expansion.d.ts +0 -4
  242. package/dist/components/Report/components/Internal/Selection.d.ts +0 -4
  243. package/dist/components/Report/components/Row/DisplayRow.d.ts +0 -9
  244. package/dist/components/Report/components/Row/Row.d.ts +0 -9
  245. package/dist/components/Report/components/Toolbar/Toolbar.d.ts +0 -15
  246. package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +0 -2
  247. package/dist/components/Report/styles/util.d.ts +0 -3
  248. package/dist/components/Report/types.d.ts +0 -20
  249. package/dist/components/Report/useReport.d.ts +0 -9
  250. package/dist/components/Table3/Table3.d.ts +0 -19
  251. package/dist/components/Table3/components/alert/ErrorAlert.d.ts +0 -10
  252. package/dist/components/Table3/components/columns/cell/Cell.d.ts +0 -6
  253. package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +0 -25
  254. package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +0 -14
  255. package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +0 -21
  256. package/dist/components/Table3/components/columns/cell/Highlight.d.ts +0 -2
  257. package/dist/components/Table3/components/columns/cell/Indicator.d.ts +0 -22
  258. package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +0 -2
  259. package/dist/components/Table3/components/columns/footer/Footer.d.ts +0 -14
  260. package/dist/components/Table3/components/columns/footer/Summary.d.ts +0 -8
  261. package/dist/components/Table3/components/columns/header/Goto.d.ts +0 -6
  262. package/dist/components/Table3/components/columns/header/Group.d.ts +0 -15
  263. package/dist/components/Table3/components/columns/header/Header.d.ts +0 -37
  264. package/dist/components/Table3/components/columns/header/Menu.d.ts +0 -20
  265. package/dist/components/Table3/components/columns/header/Resizer.d.ts +0 -7
  266. package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +0 -12
  267. package/dist/components/Table3/components/columns/internal/Actions.d.ts +0 -3
  268. package/dist/components/Table3/components/columns/internal/Drag.d.ts +0 -4
  269. package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +0 -8
  270. package/dist/components/Table3/components/columns/internal/Expansion.d.ts +0 -4
  271. package/dist/components/Table3/components/columns/internal/Selection.d.ts +0 -3
  272. package/dist/components/Table3/components/columns/styles.d.ts +0 -5
  273. package/dist/components/Table3/components/rows/ExpandedRow.d.ts +0 -8
  274. package/dist/components/Table3/components/rows/Row.d.ts +0 -26
  275. package/dist/components/Table3/components/rows/RowContext.d.ts +0 -10
  276. package/dist/components/Table3/components/rows/SkeletonRow.d.ts +0 -10
  277. package/dist/components/Table3/components/rows/styles.d.ts +0 -6
  278. package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +0 -7
  279. package/dist/components/Table3/components/toolbar/EditButton.d.ts +0 -7
  280. package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +0 -7
  281. package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +0 -12
  282. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +0 -12
  283. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +0 -7
  284. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +0 -10
  285. package/dist/components/Table3/components/toolbar/FontSize.d.ts +0 -7
  286. package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +0 -8
  287. package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +0 -8
  288. package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +0 -9
  289. package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +0 -1
  290. package/dist/components/Table3/components/toolbar/RowHeight.d.ts +0 -7
  291. package/dist/components/Table3/components/toolbar/Search.d.ts +0 -8
  292. package/dist/components/Table3/components/toolbar/Settings.d.ts +0 -8
  293. package/dist/components/Table3/components/toolbar/Toolbar.d.ts +0 -13
  294. package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +0 -13
  295. package/dist/components/Table3/hooks/features/useEditing.d.ts +0 -31
  296. package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +0 -3
  297. package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +0 -5
  298. package/dist/components/Table3/hooks/features/usePrinting.d.ts +0 -7
  299. package/dist/components/Table3/hooks/features/useRowActions.d.ts +0 -5
  300. package/dist/components/Table3/hooks/features/useRowDrag.d.ts +0 -6
  301. package/dist/components/Table3/hooks/features/useRowDrop.d.ts +0 -5
  302. package/dist/components/Table3/hooks/features/useSearch.d.ts +0 -16
  303. package/dist/components/Table3/hooks/features/useSettings.d.ts +0 -3
  304. package/dist/components/Table3/hooks/features/useValidation.d.ts +0 -13
  305. package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +0 -2
  306. package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +0 -3
  307. package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +0 -9
  308. package/dist/components/Table3/hooks/useCssGrid.d.ts +0 -6
  309. package/dist/components/Table3/hooks/useCssVars.d.ts +0 -8
  310. package/dist/components/Table3/hooks/useTable.d.ts +0 -74
  311. package/dist/components/Table3/hooks/useTableDataLoader.d.ts +0 -22
  312. package/dist/components/Table3/hooks/useTablePreset.d.ts +0 -2
  313. package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +0 -4
  314. package/dist/components/Table3/strategies/index.d.ts +0 -4
  315. package/dist/components/Table3/strategies/virtualised.d.ts +0 -4
  316. package/dist/components/Table3/types.d.ts +0 -379
  317. package/dist/components/Table3/util/columns.d.ts +0 -8
  318. package/dist/components/Table3/util/editing.d.ts +0 -10
  319. package/dist/components/Table3/util/filtering.d.ts +0 -3
  320. package/dist/components/Table3/util/scrolling.d.ts +0 -2
  321. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +0 -1
  322. package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +0 -1
  323. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +0 -1
  324. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +0 -1
  325. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +0 -1
  326. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +0 -1
  327. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +0 -1
  328. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +0 -1
  329. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +0 -1
  330. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +0 -1
  331. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +0 -1
  332. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +0 -1
  333. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +0 -1
  334. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +0 -1
  335. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +0 -1
  336. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +0 -1
  337. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +0 -1
  338. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +0 -1
  339. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +0 -1
  340. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +0 -1
  341. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +0 -1
  342. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +0 -1
  343. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +0 -63
  344. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +0 -1
  345. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +0 -1
  346. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
  347. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
  348. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
  349. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
  350. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
  351. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +0 -1
  352. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +0 -1
  353. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +0 -88
  354. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
  355. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +0 -1
  356. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
  357. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +0 -1
  358. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +0 -1
  359. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +0 -1
  360. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +0 -1
  361. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +0 -20
  362. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +0 -1
  363. package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +0 -1
  364. package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +0 -1
  365. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +0 -1
  366. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +0 -1
  367. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +0 -154
  368. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +0 -1
  369. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +0 -84
  370. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +0 -1
  371. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +0 -84
  372. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +0 -1
  373. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +0 -212
  374. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +0 -1
  375. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +0 -194
  376. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +0 -1
  377. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +0 -41
  378. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +0 -1
  379. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +0 -88
  380. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +0 -1
  381. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +0 -144
  382. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +0 -1
  383. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +0 -50
  384. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +0 -1
  385. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +0 -41
  386. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +0 -1
  387. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js +0 -28
  388. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +0 -1
  389. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +0 -74
  390. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +0 -1
  391. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +0 -186
  392. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +0 -1
  393. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +0 -206
  394. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +0 -1
  395. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +0 -42
  396. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +0 -1
  397. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +0 -38
  398. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +0 -1
  399. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +0 -129
  400. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +0 -1
  401. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +0 -86
  402. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +0 -1
  403. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +0 -174
  404. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +0 -1
  405. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +0 -104
  406. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +0 -1
  407. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +0 -187
  408. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +0 -1
  409. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +0 -19
  410. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +0 -1
  411. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +0 -27
  412. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +0 -1
  413. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +0 -327
  414. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +0 -1
  415. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +0 -14
  416. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +0 -1
  417. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +0 -43
  418. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +0 -1
  419. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +0 -9
  420. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +0 -1
  421. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +0 -109
  422. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +0 -1
  423. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +0 -29
  424. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +0 -1
  425. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +0 -164
  426. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +0 -1
  427. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +0 -102
  428. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +0 -1
  429. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +0 -50
  430. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +0 -1
  431. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +0 -111
  432. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +0 -1
  433. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +0 -118
  434. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +0 -1
  435. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +0 -26
  436. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +0 -1
  437. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +0 -211
  438. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +0 -1
  439. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +0 -224
  440. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +0 -1
  441. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +0 -60
  442. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +0 -1
  443. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +0 -97
  444. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +0 -1
  445. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +0 -33
  446. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +0 -1
  447. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +0 -238
  448. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +0 -1
  449. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +0 -65
  450. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +0 -1
  451. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +0 -64
  452. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +0 -1
  453. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +0 -95
  454. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +0 -1
  455. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +0 -299
  456. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +0 -1
  457. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +0 -24
  458. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +0 -1
  459. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +0 -12
  460. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +0 -1
  461. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +0 -14
  462. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +0 -1
  463. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +0 -10
  464. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +0 -1
  465. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +0 -13
  466. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +0 -1
  467. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +0 -9
  468. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +0 -1
  469. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +0 -29
  470. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +0 -1
  471. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +0 -23
  472. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +0 -1
  473. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +0 -178
  474. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +0 -1
  475. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +0 -28
  476. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +0 -1
  477. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +0 -24
  478. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +0 -1
  479. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +0 -143
  480. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +0 -1
  481. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +0 -66
  482. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +0 -1
  483. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +0 -74
  484. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +0 -1
  485. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +0 -234
  486. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +0 -1
  487. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +0 -130
  488. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +0 -1
  489. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +0 -122
  490. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +0 -1
  491. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +0 -19
  492. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +0 -1
  493. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +0 -8
  494. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +0 -1
  495. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +0 -117
  496. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +0 -1
  497. package/dist/esm/packages/taco/src/components/Table3/types.js +0 -20
  498. package/dist/esm/packages/taco/src/components/Table3/types.js.map +0 -1
  499. package/dist/esm/packages/taco/src/components/Table3/util/columns.js +0 -60
  500. package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +0 -1
  501. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +0 -120
  502. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +0 -1
  503. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +0 -53
  504. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +0 -1
  505. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +0 -15
  506. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +0 -1
  507. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +0 -1
  508. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/EmptyStateBody.js +0 -0
  509. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/util.js +0 -0
  510. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Footer.js +0 -0
  511. /package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.js +0 -0
  512. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/util.js +0 -0
  513. /package/dist/esm/packages/taco/src/primitives/Table/{useTableManager → Core}/features/useTableRef.js +0 -0
  514. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/util/rows.js +0 -0
  515. /package/dist/{components → packages/taco/src/components}/Accordion/Accordion.d.ts +0 -0
  516. /package/dist/{components → packages/taco/src/components}/Alert/Alert.d.ts +0 -0
  517. /package/dist/{components → packages/taco/src/components}/AlertDialog/AlertDialog.d.ts +0 -0
  518. /package/dist/{components → packages/taco/src/components}/AlertDialog/Context.d.ts +0 -0
  519. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Content.d.ts +0 -0
  520. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Footer.d.ts +0 -0
  521. /package/dist/{components → packages/taco/src/components}/AlertDialog/components/Trigger.d.ts +0 -0
  522. /package/dist/{components → packages/taco/src/components}/Backdrop/Backdrop.d.ts +0 -0
  523. /package/dist/{components → packages/taco/src/components}/Badge/Badge.d.ts +0 -0
  524. /package/dist/{components → packages/taco/src/components}/BadgeIcon/BadgeIcon.d.ts +0 -0
  525. /package/dist/{components → packages/taco/src/components}/Banner/Banner.d.ts +0 -0
  526. /package/dist/{components → packages/taco/src/components}/Banner/util.d.ts +0 -0
  527. /package/dist/{components → packages/taco/src/components}/Button/Button.d.ts +0 -0
  528. /package/dist/{components → packages/taco/src/components}/Button/util.d.ts +0 -0
  529. /package/dist/{components → packages/taco/src/components}/Calendar/Calendar.d.ts +0 -0
  530. /package/dist/{components → packages/taco/src/components}/Card/Card.d.ts +0 -0
  531. /package/dist/{components → packages/taco/src/components}/Checkbox/Checkbox.d.ts +0 -0
  532. /package/dist/{components → packages/taco/src/components}/Combobox/Combobox.d.ts +0 -0
  533. /package/dist/{components → packages/taco/src/components}/Combobox/useCombobox.d.ts +0 -0
  534. /package/dist/{components → packages/taco/src/components}/Datepicker/Datepicker.d.ts +0 -0
  535. /package/dist/{components → packages/taco/src/components}/Datepicker/useDatepicker.d.ts +0 -0
  536. /package/dist/{components → packages/taco/src/components}/Dialog/Context.d.ts +0 -0
  537. /package/dist/{components → packages/taco/src/components}/Dialog/Dialog.d.ts +0 -0
  538. /package/dist/{components → packages/taco/src/components}/Dialog/components/Content.d.ts +0 -0
  539. /package/dist/{components → packages/taco/src/components}/Dialog/components/DialogDrawer.d.ts +0 -0
  540. /package/dist/{components → packages/taco/src/components}/Dialog/components/Extra.d.ts +0 -0
  541. /package/dist/{components → packages/taco/src/components}/Dialog/components/Trigger.d.ts +0 -0
  542. /package/dist/{components → packages/taco/src/components}/Dialog/types.d.ts +0 -0
  543. /package/dist/{components → packages/taco/src/components}/Dialog/util.d.ts +0 -0
  544. /package/dist/{components → packages/taco/src/components}/Drawer/Context.d.ts +0 -0
  545. /package/dist/{components → packages/taco/src/components}/Drawer/Drawer.d.ts +0 -0
  546. /package/dist/{components → packages/taco/src/components}/Drawer/components/Content.d.ts +0 -0
  547. /package/dist/{components → packages/taco/src/components}/Drawer/components/Trigger.d.ts +0 -0
  548. /package/dist/{components → packages/taco/src/components}/Drawer/images.d.ts +0 -0
  549. /package/dist/{components → packages/taco/src/components}/Drawer/types.d.ts +0 -0
  550. /package/dist/{components → packages/taco/src/components}/Drawer/util.d.ts +0 -0
  551. /package/dist/{components → packages/taco/src/components}/Field/Field.d.ts +0 -0
  552. /package/dist/{components → packages/taco/src/components}/Form/Form.d.ts +0 -0
  553. /package/dist/{components → packages/taco/src/components}/Group/Group.d.ts +0 -0
  554. /package/dist/{components → packages/taco/src/components}/Hanger/Hanger.d.ts +0 -0
  555. /package/dist/{components → packages/taco/src/components}/Header/Header.d.ts +0 -0
  556. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Avatar.d.ts +0 -0
  557. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Badge.d.ts +0 -0
  558. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Display.d.ts +0 -0
  559. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/Item.d.ts +0 -0
  560. /package/dist/{components → packages/taco/src/components}/Header/components/Agreement/types.d.ts +0 -0
  561. /package/dist/{components → packages/taco/src/components}/Header/components/AgreementSelector.d.ts +0 -0
  562. /package/dist/{components → packages/taco/src/components}/Header/components/Button.d.ts +0 -0
  563. /package/dist/{components → packages/taco/src/components}/Header/components/Link.d.ts +0 -0
  564. /package/dist/{components → packages/taco/src/components}/Header/components/Logo.d.ts +0 -0
  565. /package/dist/{components → packages/taco/src/components}/Header/components/MenuButton.d.ts +0 -0
  566. /package/dist/{components → packages/taco/src/components}/Header/components/PrimaryNavigation.d.ts +0 -0
  567. /package/dist/{components → packages/taco/src/components}/Header/components/SecondaryNavigation.d.ts +0 -0
  568. /package/dist/{components → packages/taco/src/components}/HoverCard/HoverCard.d.ts +0 -0
  569. /package/dist/{components → packages/taco/src/components}/HoverCard/Primitives.d.ts +0 -0
  570. /package/dist/{components → packages/taco/src/components}/Icon/Icon.d.ts +0 -0
  571. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountPreview.d.ts +0 -0
  572. /package/dist/{components → packages/taco/src/components}/Icon/components/Accounting.d.ts +0 -0
  573. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYear.d.ts +0 -0
  574. /package/dist/{components → packages/taco/src/components}/Icon/components/AccountingYearCancel.d.ts +0 -0
  575. /package/dist/{components → packages/taco/src/components}/Icon/components/AiChatSolid.d.ts +0 -0
  576. /package/dist/{components → packages/taco/src/components}/Icon/components/AiStars.d.ts +0 -0
  577. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowBottom.d.ts +0 -0
  578. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowDown.d.ts +0 -0
  579. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowEnd.d.ts +0 -0
  580. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowLeft.d.ts +0 -0
  581. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowRight.d.ts +0 -0
  582. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowStart.d.ts +0 -0
  583. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowTop.d.ts +0 -0
  584. /package/dist/{components → packages/taco/src/components}/Icon/components/ArrowUp.d.ts +0 -0
  585. /package/dist/{components → packages/taco/src/components}/Icon/components/Attach.d.ts +0 -0
  586. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachAuto.d.ts +0 -0
  587. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachCancel.d.ts +0 -0
  588. /package/dist/{components → packages/taco/src/components}/Icon/components/AttachWarning.d.ts +0 -0
  589. /package/dist/{components → packages/taco/src/components}/Icon/components/Autotext.d.ts +0 -0
  590. /package/dist/{components → packages/taco/src/components}/Icon/components/AutotextInsert.d.ts +0 -0
  591. /package/dist/{components → packages/taco/src/components}/Icon/components/Basic.d.ts +0 -0
  592. /package/dist/{components → packages/taco/src/components}/Icon/components/BasicTabs.d.ts +0 -0
  593. /package/dist/{components → packages/taco/src/components}/Icon/components/BellSolid.d.ts +0 -0
  594. /package/dist/{components → packages/taco/src/components}/Icon/components/Book.d.ts +0 -0
  595. /package/dist/{components → packages/taco/src/components}/Icon/components/Booking.d.ts +0 -0
  596. /package/dist/{components → packages/taco/src/components}/Icon/components/Budget.d.ts +0 -0
  597. /package/dist/{components → packages/taco/src/components}/Icon/components/Calendar.d.ts +0 -0
  598. /package/dist/{components → packages/taco/src/components}/Icon/components/CashAccount.d.ts +0 -0
  599. /package/dist/{components → packages/taco/src/components}/Icon/components/CashReports.d.ts +0 -0
  600. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartArea.d.ts +0 -0
  601. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartBar.d.ts +0 -0
  602. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartLine.d.ts +0 -0
  603. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartPie.d.ts +0 -0
  604. /package/dist/{components → packages/taco/src/components}/Icon/components/ChartTable.d.ts +0 -0
  605. /package/dist/{components → packages/taco/src/components}/Icon/components/Chat.d.ts +0 -0
  606. /package/dist/{components → packages/taco/src/components}/Icon/components/ChatSolid.d.ts +0 -0
  607. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDown.d.ts +0 -0
  608. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownDouble.d.ts +0 -0
  609. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronDownSolid.d.ts +0 -0
  610. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeft.d.ts +0 -0
  611. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
  612. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
  613. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRight.d.ts +0 -0
  614. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightDouble.d.ts +0 -0
  615. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronRightSolid.d.ts +0 -0
  616. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUp.d.ts +0 -0
  617. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpDouble.d.ts +0 -0
  618. /package/dist/{components → packages/taco/src/components}/Icon/components/ChevronUpSolid.d.ts +0 -0
  619. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleClose.d.ts +0 -0
  620. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleInformation.d.ts +0 -0
  621. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleMinus.d.ts +0 -0
  622. /package/dist/{components → packages/taco/src/components}/Icon/components/CirclePlus.d.ts +0 -0
  623. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleQuestionmark.d.ts +0 -0
  624. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleTick.d.ts +0 -0
  625. /package/dist/{components → packages/taco/src/components}/Icon/components/CircleWarning.d.ts +0 -0
  626. /package/dist/{components → packages/taco/src/components}/Icon/components/Clamp.d.ts +0 -0
  627. /package/dist/{components → packages/taco/src/components}/Icon/components/ClampOpen.d.ts +0 -0
  628. /package/dist/{components → packages/taco/src/components}/Icon/components/Close.d.ts +0 -0
  629. /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnFreeze.d.ts +0 -0
  630. /package/dist/{components → packages/taco/src/components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
  631. /package/dist/{components → packages/taco/src/components}/Icon/components/Columns.d.ts +0 -0
  632. /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionEnable.d.ts +0 -0
  633. /package/dist/{components → packages/taco/src/components}/Icon/components/ConnectionRevoke.d.ts +0 -0
  634. /package/dist/{components → packages/taco/src/components}/Icon/components/Contacts.d.ts +0 -0
  635. /package/dist/{components → packages/taco/src/components}/Icon/components/Copy.d.ts +0 -0
  636. /package/dist/{components → packages/taco/src/components}/Icon/components/Courses.d.ts +0 -0
  637. /package/dist/{components → packages/taco/src/components}/Icon/components/Credit.d.ts +0 -0
  638. /package/dist/{components → packages/taco/src/components}/Icon/components/Delete.d.ts +0 -0
  639. /package/dist/{components → packages/taco/src/components}/Icon/components/DeletePermanently.d.ts +0 -0
  640. /package/dist/{components → packages/taco/src/components}/Icon/components/Depecriate.d.ts +0 -0
  641. /package/dist/{components → packages/taco/src/components}/Icon/components/Developer.d.ts +0 -0
  642. /package/dist/{components → packages/taco/src/components}/Icon/components/DistributionTemplate.d.ts +0 -0
  643. /package/dist/{components → packages/taco/src/components}/Icon/components/Document.d.ts +0 -0
  644. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentApprove.d.ts +0 -0
  645. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
  646. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentCut.d.ts +0 -0
  647. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentError.d.ts +0 -0
  648. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
  649. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMerge.d.ts +0 -0
  650. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentMove.d.ts +0 -0
  651. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentPreview.d.ts +0 -0
  652. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentReceived.d.ts +0 -0
  653. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
  654. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentSplit.d.ts +0 -0
  655. /package/dist/{components → packages/taco/src/components}/Icon/components/DocumentTime.d.ts +0 -0
  656. /package/dist/{components → packages/taco/src/components}/Icon/components/Download.d.ts +0 -0
  657. /package/dist/{components → packages/taco/src/components}/Icon/components/Drag.d.ts +0 -0
  658. /package/dist/{components → packages/taco/src/components}/Icon/components/ECopedia.d.ts +0 -0
  659. /package/dist/{components → packages/taco/src/components}/Icon/components/ESignature.d.ts +0 -0
  660. /package/dist/{components → packages/taco/src/components}/Icon/components/Edit.d.ts +0 -0
  661. /package/dist/{components → packages/taco/src/components}/Icon/components/EditSimple.d.ts +0 -0
  662. /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
  663. /package/dist/{components → packages/taco/src/components}/Icon/components/EllipsisVertical.d.ts +0 -0
  664. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOnAccount.d.ts +0 -0
  665. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesOpen.d.ts +0 -0
  666. /package/dist/{components → packages/taco/src/components}/Icon/components/EntriesWarning.d.ts +0 -0
  667. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
  668. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
  669. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
  670. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
  671. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
  672. /package/dist/{components → packages/taco/src/components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
  673. /package/dist/{components → packages/taco/src/components}/Icon/components/Envelope.d.ts +0 -0
  674. /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeApproved.d.ts +0 -0
  675. /package/dist/{components → packages/taco/src/components}/Icon/components/EnvelopeSolid.d.ts +0 -0
  676. /package/dist/{components → packages/taco/src/components}/Icon/components/ExpandView.d.ts +0 -0
  677. /package/dist/{components → packages/taco/src/components}/Icon/components/Expenses.d.ts +0 -0
  678. /package/dist/{components → packages/taco/src/components}/Icon/components/Export.d.ts +0 -0
  679. /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToExcel.d.ts +0 -0
  680. /package/dist/{components → packages/taco/src/components}/Icon/components/ExportToPdf.d.ts +0 -0
  681. /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOff.d.ts +0 -0
  682. /package/dist/{components → packages/taco/src/components}/Icon/components/EyeOn.d.ts +0 -0
  683. /package/dist/{components → packages/taco/src/components}/Icon/components/Filter.d.ts +0 -0
  684. /package/dist/{components → packages/taco/src/components}/Icon/components/FilterSolid.d.ts +0 -0
  685. /package/dist/{components → packages/taco/src/components}/Icon/components/FontSize.d.ts +0 -0
  686. /package/dist/{components → packages/taco/src/components}/Icon/components/GraphSolid.d.ts +0 -0
  687. /package/dist/{components → packages/taco/src/components}/Icon/components/Hash.d.ts +0 -0
  688. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightExtraTall.d.ts +0 -0
  689. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightMedium.d.ts +0 -0
  690. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightShort.d.ts +0 -0
  691. /package/dist/{components → packages/taco/src/components}/Icon/components/HeightTall.d.ts +0 -0
  692. /package/dist/{components → packages/taco/src/components}/Icon/components/Home.d.ts +0 -0
  693. /package/dist/{components → packages/taco/src/components}/Icon/components/Images.d.ts +0 -0
  694. /package/dist/{components → packages/taco/src/components}/Icon/components/Import.d.ts +0 -0
  695. /package/dist/{components → packages/taco/src/components}/Icon/components/Inbox.d.ts +0 -0
  696. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxEinvoicing.d.ts +0 -0
  697. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxScanning.d.ts +0 -0
  698. /package/dist/{components → packages/taco/src/components}/Icon/components/InboxSmart.d.ts +0 -0
  699. /package/dist/{components → packages/taco/src/components}/Icon/components/Info.d.ts +0 -0
  700. /package/dist/{components → packages/taco/src/components}/Icon/components/Inventory.d.ts +0 -0
  701. /package/dist/{components → packages/taco/src/components}/Icon/components/InventoryMatrix.d.ts +0 -0
  702. /package/dist/{components → packages/taco/src/components}/Icon/components/JournalPro.d.ts +0 -0
  703. /package/dist/{components → packages/taco/src/components}/Icon/components/Layout.d.ts +0 -0
  704. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutBoth.d.ts +0 -0
  705. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutFirst.d.ts +0 -0
  706. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutLast.d.ts +0 -0
  707. /package/dist/{components → packages/taco/src/components}/Icon/components/LayoutNone.d.ts +0 -0
  708. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCard.d.ts +0 -0
  709. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
  710. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
  711. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
  712. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
  713. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
  714. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
  715. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
  716. /package/dist/{components → packages/taco/src/components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
  717. /package/dist/{components → packages/taco/src/components}/Icon/components/Lightbulb.d.ts +0 -0
  718. /package/dist/{components → packages/taco/src/components}/Icon/components/Line.d.ts +0 -0
  719. /package/dist/{components → packages/taco/src/components}/Icon/components/List.d.ts +0 -0
  720. /package/dist/{components → packages/taco/src/components}/Icon/components/ListBulleted.d.ts +0 -0
  721. /package/dist/{components → packages/taco/src/components}/Icon/components/ListSearch.d.ts +0 -0
  722. /package/dist/{components → packages/taco/src/components}/Icon/components/Location.d.ts +0 -0
  723. /package/dist/{components → packages/taco/src/components}/Icon/components/Lock.d.ts +0 -0
  724. /package/dist/{components → packages/taco/src/components}/Icon/components/LockOpen.d.ts +0 -0
  725. /package/dist/{components → packages/taco/src/components}/Icon/components/Log.d.ts +0 -0
  726. /package/dist/{components → packages/taco/src/components}/Icon/components/LogOut.d.ts +0 -0
  727. /package/dist/{components → packages/taco/src/components}/Icon/components/Market.d.ts +0 -0
  728. /package/dist/{components → packages/taco/src/components}/Icon/components/MatchAmount.d.ts +0 -0
  729. /package/dist/{components → packages/taco/src/components}/Icon/components/MatchEntries.d.ts +0 -0
  730. /package/dist/{components → packages/taco/src/components}/Icon/components/Menu.d.ts +0 -0
  731. /package/dist/{components → packages/taco/src/components}/Icon/components/Mileage.d.ts +0 -0
  732. /package/dist/{components → packages/taco/src/components}/Icon/components/ModalResize.d.ts +0 -0
  733. /package/dist/{components → packages/taco/src/components}/Icon/components/ModalShrink.d.ts +0 -0
  734. /package/dist/{components → packages/taco/src/components}/Icon/components/More.d.ts +0 -0
  735. /package/dist/{components → packages/taco/src/components}/Icon/components/MoreSolid.d.ts +0 -0
  736. /package/dist/{components → packages/taco/src/components}/Icon/components/Move.d.ts +0 -0
  737. /package/dist/{components → packages/taco/src/components}/Icon/components/NavigationList.d.ts +0 -0
  738. /package/dist/{components → packages/taco/src/components}/Icon/components/Note.d.ts +0 -0
  739. /package/dist/{components → packages/taco/src/components}/Icon/components/NoteFollowUp.d.ts +0 -0
  740. /package/dist/{components → packages/taco/src/components}/Icon/components/NoteRead.d.ts +0 -0
  741. /package/dist/{components → packages/taco/src/components}/Icon/components/Numbers.d.ts +0 -0
  742. /package/dist/{components → packages/taco/src/components}/Icon/components/PartnerApi.d.ts +0 -0
  743. /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentPaid.d.ts +0 -0
  744. /package/dist/{components → packages/taco/src/components}/Icon/components/PaymentUnpaid.d.ts +0 -0
  745. /package/dist/{components → packages/taco/src/components}/Icon/components/Period.d.ts +0 -0
  746. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonChange.d.ts +0 -0
  747. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonMinus.d.ts +0 -0
  748. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonPlus.d.ts +0 -0
  749. /package/dist/{components → packages/taco/src/components}/Icon/components/PersonTick.d.ts +0 -0
  750. /package/dist/{components → packages/taco/src/components}/Icon/components/PhoneSolid.d.ts +0 -0
  751. /package/dist/{components → packages/taco/src/components}/Icon/components/Play.d.ts +0 -0
  752. /package/dist/{components → packages/taco/src/components}/Icon/components/PlusMinus.d.ts +0 -0
  753. /package/dist/{components → packages/taco/src/components}/Icon/components/Print.d.ts +0 -0
  754. /package/dist/{components → packages/taco/src/components}/Icon/components/ProcessPayment.d.ts +0 -0
  755. /package/dist/{components → packages/taco/src/components}/Icon/components/ProductLedgerCard.d.ts +0 -0
  756. /package/dist/{components → packages/taco/src/components}/Icon/components/Profile.d.ts +0 -0
  757. /package/dist/{components → packages/taco/src/components}/Icon/components/ProjectCards.d.ts +0 -0
  758. /package/dist/{components → packages/taco/src/components}/Icon/components/Projects.d.ts +0 -0
  759. /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMark.d.ts +0 -0
  760. /package/dist/{components → packages/taco/src/components}/Icon/components/QuestionMarkBold.d.ts +0 -0
  761. /package/dist/{components → packages/taco/src/components}/Icon/components/Quicklinks.d.ts +0 -0
  762. /package/dist/{components → packages/taco/src/components}/Icon/components/RatingBankruptcy.d.ts +0 -0
  763. /package/dist/{components → packages/taco/src/components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
  764. /package/dist/{components → packages/taco/src/components}/Icon/components/Reconciled.d.ts +0 -0
  765. /package/dist/{components → packages/taco/src/components}/Icon/components/Refresh.d.ts +0 -0
  766. /package/dist/{components → packages/taco/src/components}/Icon/components/Report.d.ts +0 -0
  767. /package/dist/{components → packages/taco/src/components}/Icon/components/ReportSolid.d.ts +0 -0
  768. /package/dist/{components → packages/taco/src/components}/Icon/components/Restore.d.ts +0 -0
  769. /package/dist/{components → packages/taco/src/components}/Icon/components/RotateLeft.d.ts +0 -0
  770. /package/dist/{components → packages/taco/src/components}/Icon/components/RotateRight.d.ts +0 -0
  771. /package/dist/{components → packages/taco/src/components}/Icon/components/Sales.d.ts +0 -0
  772. /package/dist/{components → packages/taco/src/components}/Icon/components/Search.d.ts +0 -0
  773. /package/dist/{components → packages/taco/src/components}/Icon/components/SearchBold.d.ts +0 -0
  774. /package/dist/{components → packages/taco/src/components}/Icon/components/Secure.d.ts +0 -0
  775. /package/dist/{components → packages/taco/src/components}/Icon/components/SecureTick.d.ts +0 -0
  776. /package/dist/{components → packages/taco/src/components}/Icon/components/Settings.d.ts +0 -0
  777. /package/dist/{components → packages/taco/src/components}/Icon/components/SettingsSolid.d.ts +0 -0
  778. /package/dist/{components → packages/taco/src/components}/Icon/components/Shortcuts.d.ts +0 -0
  779. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowAll.d.ts +0 -0
  780. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowLess.d.ts +0 -0
  781. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowMore.d.ts +0 -0
  782. /package/dist/{components → packages/taco/src/components}/Icon/components/ShowTemplate.d.ts +0 -0
  783. /package/dist/{components → packages/taco/src/components}/Icon/components/Sliders.d.ts +0 -0
  784. /package/dist/{components → packages/taco/src/components}/Icon/components/Smartpay.d.ts +0 -0
  785. /package/dist/{components → packages/taco/src/components}/Icon/components/SortBy.d.ts +0 -0
  786. /package/dist/{components → packages/taco/src/components}/Icon/components/Star.d.ts +0 -0
  787. /package/dist/{components → packages/taco/src/components}/Icon/components/StarSolid.d.ts +0 -0
  788. /package/dist/{components → packages/taco/src/components}/Icon/components/Subscriptions.d.ts +0 -0
  789. /package/dist/{components → packages/taco/src/components}/Icon/components/SystemEntries.d.ts +0 -0
  790. /package/dist/{components → packages/taco/src/components}/Icon/components/Tag.d.ts +0 -0
  791. /package/dist/{components → packages/taco/src/components}/Icon/components/TemplateOverride.d.ts +0 -0
  792. /package/dist/{components → packages/taco/src/components}/Icon/components/Templates.d.ts +0 -0
  793. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbBoth.d.ts +0 -0
  794. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDown.d.ts +0 -0
  795. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbDownSolid.d.ts +0 -0
  796. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUp.d.ts +0 -0
  797. /package/dist/{components → packages/taco/src/components}/Icon/components/ThumbUpSolid.d.ts +0 -0
  798. /package/dist/{components → packages/taco/src/components}/Icon/components/Tick.d.ts +0 -0
  799. /package/dist/{components → packages/taco/src/components}/Icon/components/TickBold.d.ts +0 -0
  800. /package/dist/{components → packages/taco/src/components}/Icon/components/Time.d.ts +0 -0
  801. /package/dist/{components → packages/taco/src/components}/Icon/components/Transfer.d.ts +0 -0
  802. /package/dist/{components → packages/taco/src/components}/Icon/components/TransferCancel.d.ts +0 -0
  803. /package/dist/{components → packages/taco/src/components}/Icon/components/TransferLocked.d.ts +0 -0
  804. /package/dist/{components → packages/taco/src/components}/Icon/components/Undo.d.ts +0 -0
  805. /package/dist/{components → packages/taco/src/components}/Icon/components/Undock.d.ts +0 -0
  806. /package/dist/{components → packages/taco/src/components}/Icon/components/Unreconciled.d.ts +0 -0
  807. /package/dist/{components → packages/taco/src/components}/Icon/components/Warning.d.ts +0 -0
  808. /package/dist/{components → packages/taco/src/components}/Icon/components/Webshop.d.ts +0 -0
  809. /package/dist/{components → packages/taco/src/components}/Icon/components/Website.d.ts +0 -0
  810. /package/dist/{components → packages/taco/src/components}/Icon/components/Workflow.d.ts +0 -0
  811. /package/dist/{components → packages/taco/src/components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
  812. /package/dist/{components → packages/taco/src/components}/Icon/components/Zoom.d.ts +0 -0
  813. /package/dist/{components → packages/taco/src/components}/Icon/components/index.d.ts +0 -0
  814. /package/dist/{components → packages/taco/src/components}/IconButton/IconButton.d.ts +0 -0
  815. /package/dist/{components → packages/taco/src/components}/Input/Input.d.ts +0 -0
  816. /package/dist/{components → packages/taco/src/components}/Input/util.d.ts +0 -0
  817. /package/dist/{components → packages/taco/src/components}/Layout/Layout.d.ts +0 -0
  818. /package/dist/{components → packages/taco/src/components}/Layout/components/Content.d.ts +0 -0
  819. /package/dist/{components → packages/taco/src/components}/Layout/components/Context.d.ts +0 -0
  820. /package/dist/{components → packages/taco/src/components}/Layout/components/Page.d.ts +0 -0
  821. /package/dist/{components → packages/taco/src/components}/Layout/components/Sidebar.d.ts +0 -0
  822. /package/dist/{components → packages/taco/src/components}/Layout/components/Top.d.ts +0 -0
  823. /package/dist/{components → packages/taco/src/components}/Listbox/Listbox.d.ts +0 -0
  824. /package/dist/{components → packages/taco/src/components}/Listbox/ScrollableList.d.ts +0 -0
  825. /package/dist/{components → packages/taco/src/components}/Listbox/useListbox.d.ts +0 -0
  826. /package/dist/{components → packages/taco/src/components}/Listbox/useMultiListbox.d.ts +0 -0
  827. /package/dist/{components → packages/taco/src/components}/Listbox/useTypeahead.d.ts +0 -0
  828. /package/dist/{components → packages/taco/src/components}/Listbox/util.d.ts +0 -0
  829. /package/dist/{components → packages/taco/src/components}/Menu/Context.d.ts +0 -0
  830. /package/dist/{components → packages/taco/src/components}/Menu/Menu.d.ts +0 -0
  831. /package/dist/{components → packages/taco/src/components}/Menu/components/Checkbox.d.ts +0 -0
  832. /package/dist/{components → packages/taco/src/components}/Menu/components/Content.d.ts +0 -0
  833. /package/dist/{components → packages/taco/src/components}/Menu/components/Header.d.ts +0 -0
  834. /package/dist/{components → packages/taco/src/components}/Menu/components/Item.d.ts +0 -0
  835. /package/dist/{components → packages/taco/src/components}/Menu/components/Link.d.ts +0 -0
  836. /package/dist/{components → packages/taco/src/components}/Menu/components/RadioGroup.d.ts +0 -0
  837. /package/dist/{components → packages/taco/src/components}/Menu/components/Separator.d.ts +0 -0
  838. /package/dist/{components → packages/taco/src/components}/Menu/components/SubMenu.d.ts +0 -0
  839. /package/dist/{components → packages/taco/src/components}/Menu/components/Trigger.d.ts +0 -0
  840. /package/dist/{components → packages/taco/src/components}/ModeSwitch/ModeSwitch.d.ts +0 -0
  841. /package/dist/{components → packages/taco/src/components}/Navigation/Navigation.d.ts +0 -0
  842. /package/dist/{components → packages/taco/src/components}/Navigation2/Navigation2.d.ts +0 -0
  843. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Content.d.ts +0 -0
  844. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Group.d.ts +0 -0
  845. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Link.d.ts +0 -0
  846. /package/dist/{components → packages/taco/src/components}/Navigation2/components/Section.d.ts +0 -0
  847. /package/dist/{components → packages/taco/src/components}/Navigation2/components/util.d.ts +0 -0
  848. /package/dist/{components → packages/taco/src/components}/OverflowGroup/OverflowGroup.d.ts +0 -0
  849. /package/dist/{components → packages/taco/src/components}/Pagination/PageNumbers.d.ts +0 -0
  850. /package/dist/{components → packages/taco/src/components}/Pagination/Pagination.d.ts +0 -0
  851. /package/dist/{components → packages/taco/src/components}/Pagination/usePagination.d.ts +0 -0
  852. /package/dist/{components → packages/taco/src/components}/Pagination/usePaginationShortcuts.d.ts +0 -0
  853. /package/dist/{components → packages/taco/src/components}/Popover/Popover.d.ts +0 -0
  854. /package/dist/{components → packages/taco/src/components}/Popover/Primitives.d.ts +0 -0
  855. /package/dist/{components → packages/taco/src/components}/Popover/util.d.ts +0 -0
  856. /package/dist/{components → packages/taco/src/components}/Progress/Progress.d.ts +0 -0
  857. /package/dist/{components → packages/taco/src/components}/Provider/Provider.d.ts +0 -0
  858. /package/dist/{components → packages/taco/src/components}/RadioGroup/RadioGroup.d.ts +0 -0
  859. /package/dist/{components → packages/taco/src/components}/RadioGroup/util.d.ts +0 -0
  860. /package/dist/{components → packages/taco/src/components}/ScrollArea/ScrollArea.d.ts +0 -0
  861. /package/dist/{components → packages/taco/src/components}/SearchInput/SearchInput.d.ts +0 -0
  862. /package/dist/{components → packages/taco/src/components}/SearchInput2/SearchInput2.d.ts +0 -0
  863. /package/dist/{components → packages/taco/src/components}/Select/Select.d.ts +0 -0
  864. /package/dist/{components → packages/taco/src/components}/Select/useSelect.d.ts +0 -0
  865. /package/dist/{components → packages/taco/src/components}/Select2/Select2.d.ts +0 -0
  866. /package/dist/{components → packages/taco/src/components}/Select2/components/All.d.ts +0 -0
  867. /package/dist/{components → packages/taco/src/components}/Select2/components/Collection.d.ts +0 -0
  868. /package/dist/{components → packages/taco/src/components}/Select2/components/Context.d.ts +0 -0
  869. /package/dist/{components → packages/taco/src/components}/Select2/components/Create.d.ts +0 -0
  870. /package/dist/{components → packages/taco/src/components}/Select2/components/Edit.d.ts +0 -0
  871. /package/dist/{components → packages/taco/src/components}/Select2/components/Group.d.ts +0 -0
  872. /package/dist/{components → packages/taco/src/components}/Select2/components/Option.d.ts +0 -0
  873. /package/dist/{components → packages/taco/src/components}/Select2/components/Search.d.ts +0 -0
  874. /package/dist/{components → packages/taco/src/components}/Select2/components/Title.d.ts +0 -0
  875. /package/dist/{components → packages/taco/src/components}/Select2/components/Trigger.d.ts +0 -0
  876. /package/dist/{components → packages/taco/src/components}/Select2/types.d.ts +0 -0
  877. /package/dist/{components → packages/taco/src/components}/Select2/utilities.d.ts +0 -0
  878. /package/dist/{components → packages/taco/src/components}/Shortcut/Shortcut.d.ts +0 -0
  879. /package/dist/{components → packages/taco/src/components}/Spinner/Spinner.d.ts +0 -0
  880. /package/dist/{components → packages/taco/src/components}/Switch/Switch.d.ts +0 -0
  881. /package/dist/{components → packages/taco/src/components}/Table/Table.storyexample.d.ts +0 -0
  882. /package/dist/{components → packages/taco/src/components}/Table/components/BaseTable.d.ts +0 -0
  883. /package/dist/{components → packages/taco/src/components}/Table/components/PaginatedTable.d.ts +0 -0
  884. /package/dist/{components → packages/taco/src/components}/Table/components/Table.d.ts +0 -0
  885. /package/dist/{components → packages/taco/src/components}/Table/components/WindowedTable.d.ts +0 -0
  886. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
  887. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
  888. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
  889. /package/dist/{components → packages/taco/src/components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
  890. /package/dist/{components → packages/taco/src/components}/Table/hooks/useRowCreation.d.ts +0 -0
  891. /package/dist/{components → packages/taco/src/components}/Table/hooks/useTable.d.ts +0 -0
  892. /package/dist/{components → packages/taco/src/components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
  893. /package/dist/{components → packages/taco/src/components}/Table/types.d.ts +0 -0
  894. /package/dist/{components → packages/taco/src/components}/Table/util/renderColumn.d.ts +0 -0
  895. /package/dist/{components → packages/taco/src/components}/Table/util/renderRow.d.ts +0 -0
  896. /package/dist/{components → packages/taco/src/components}/Table/util/rowIndexPath.d.ts +0 -0
  897. /package/dist/{components → packages/taco/src/components}/Table/util/sortTypes.d.ts +0 -0
  898. /package/dist/{components → packages/taco/src/components}/Table/util.d.ts +0 -0
  899. /package/dist/{components → packages/taco/src/components}/Tabs/Tabs.d.ts +0 -0
  900. /package/dist/{components → packages/taco/src/components}/Tag/Tag.d.ts +0 -0
  901. /package/dist/{components → packages/taco/src/components}/Textarea/Textarea.d.ts +0 -0
  902. /package/dist/{components → packages/taco/src/components}/Toast/Toast.d.ts +0 -0
  903. /package/dist/{components → packages/taco/src/components}/Toast/Toaster.d.ts +0 -0
  904. /package/dist/{components → packages/taco/src/components}/Toast/util.d.ts +0 -0
  905. /package/dist/{components → packages/taco/src/components}/Tooltip/Tooltip.d.ts +0 -0
  906. /package/dist/{components → packages/taco/src/components}/Tour/Tour.d.ts +0 -0
  907. /package/dist/{components → packages/taco/src/components}/Treeview/Treeview.d.ts +0 -0
  908. /package/dist/{components → packages/taco/src/components}/Truncate/Truncate.d.ts +0 -0
  909. /package/dist/{components → packages/taco/src/components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
  910. /package/dist/{hooks → packages/taco/src/hooks}/useBoundaryOverflowDetection.d.ts +0 -0
  911. /package/dist/{hooks → packages/taco/src/hooks}/useBoundingClientRectListener.d.ts +0 -0
  912. /package/dist/{hooks → packages/taco/src/hooks}/useDebouncedEffect.d.ts +0 -0
  913. /package/dist/{hooks → packages/taco/src/hooks}/useGlobalKeyDown.d.ts +0 -0
  914. /package/dist/{hooks → packages/taco/src/hooks}/useId.d.ts +0 -0
  915. /package/dist/{hooks → packages/taco/src/hooks}/useIntersectionObserver.d.ts +0 -0
  916. /package/dist/{hooks → packages/taco/src/hooks}/useIsFormControl.d.ts +0 -0
  917. /package/dist/{hooks → packages/taco/src/hooks}/useIsHoverStatePaused.d.ts +0 -0
  918. /package/dist/{hooks → packages/taco/src/hooks}/useIsLargeScreen.d.ts +0 -0
  919. /package/dist/{hooks → packages/taco/src/hooks}/useLazyEffect.d.ts +0 -0
  920. /package/dist/{hooks → packages/taco/src/hooks}/useLocalStorage.d.ts +0 -0
  921. /package/dist/{hooks → packages/taco/src/hooks}/useMatchMedia.d.ts +0 -0
  922. /package/dist/{hooks → packages/taco/src/hooks}/useMergedRef.d.ts +0 -0
  923. /package/dist/{hooks → packages/taco/src/hooks}/usePrevious.d.ts +0 -0
  924. /package/dist/{hooks → packages/taco/src/hooks}/useTacoSettings.d.ts +0 -0
  925. /package/dist/{primitives → packages/taco/src/primitives}/BubbleSelect.d.ts +0 -0
  926. /package/dist/{primitives → packages/taco/src/primitives}/Button.d.ts +0 -0
  927. /package/dist/{primitives → packages/taco/src/primitives}/Collection/Collection.d.ts +0 -0
  928. /package/dist/{primitives → packages/taco/src/primitives}/Collection/components/Root.d.ts +0 -0
  929. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/Listbox2.d.ts +0 -0
  930. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Context.d.ts +0 -0
  931. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Group.d.ts +0 -0
  932. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Option.d.ts +0 -0
  933. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Root.d.ts +0 -0
  934. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/components/Title.d.ts +0 -0
  935. /package/dist/{primitives → packages/taco/src/primitives}/Listbox2/types.d.ts +0 -0
  936. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/Sortable.d.ts +0 -0
  937. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Container.d.ts +0 -0
  938. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/Item.d.ts +0 -0
  939. /package/dist/{primitives → packages/taco/src/primitives}/Sortable/components/List.d.ts +0 -0
  940. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Body/util.d.ts +0 -0
  941. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Footer.d.ts +0 -0
  942. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Footer/Summary.d.ts +0 -0
  943. /package/dist/{components/Report/components/Row → packages/taco/src/primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.d.ts +0 -0
  944. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
  945. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
  946. /package/dist/{components/Report/styles → packages/taco/src/primitives/Table/Core/features}/useStylesheet.d.ts +0 -0
  947. /package/dist/{primitives/Table/useTableManager → packages/taco/src/primitives/Table/Core}/features/useTableRef.d.ts +0 -0
  948. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/listeners/useTableRowActiveListener.d.ts +0 -0
  949. /package/dist/{components/Report → packages/taco/src/primitives/Table/Core}/util/rows.d.ts +0 -0
  950. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableDataLoader.d.ts +0 -0
  951. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
  952. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
  953. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
  954. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
  955. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
  956. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
  957. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
  958. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
  959. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
  960. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
  961. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
  962. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
  963. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
  964. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
  965. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
  966. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
  967. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
  968. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
  969. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
  970. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
  971. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
  972. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
  973. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
  974. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
  975. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
  976. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/columns.d.ts +0 -0
  977. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
  978. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
  979. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/presets.d.ts +0 -0
  980. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/search.d.ts +0 -0
  981. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/setup.d.ts +0 -0
  982. /package/dist/{primitives → packages/taco/src/primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
  983. /package/dist/{types.d.ts → packages/taco/src/types.d.ts} +0 -0
  984. /package/dist/{utils → packages/taco/src/utils}/aria.d.ts +0 -0
  985. /package/dist/{utils → packages/taco/src/utils}/date.d.ts +0 -0
  986. /package/dist/{utils → packages/taco/src/utils}/debounce.d.ts +0 -0
  987. /package/dist/{utils → packages/taco/src/utils}/device.d.ts +0 -0
  988. /package/dist/{utils → packages/taco/src/utils}/hooks/useDraggable.d.ts +0 -0
  989. /package/dist/{utils → packages/taco/src/utils}/hooks/useDropTarget.d.ts +0 -0
  990. /package/dist/{utils → packages/taco/src/utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
  991. /package/dist/{utils → packages/taco/src/utils}/hooks/useListScrollTo.d.ts +0 -0
  992. /package/dist/{utils → packages/taco/src/utils}/hooks/useOnClickOutside.d.ts +0 -0
  993. /package/dist/{utils → packages/taco/src/utils}/hooks/useRefState.d.ts +0 -0
  994. /package/dist/{utils → packages/taco/src/utils}/hooks/useTimer.d.ts +0 -0
  995. /package/dist/{utils → packages/taco/src/utils}/hooks/useTruncated.d.ts +0 -0
  996. /package/dist/{utils → packages/taco/src/utils}/input.d.ts +0 -0
  997. /package/dist/{utils → packages/taco/src/utils}/keyboard.d.ts +0 -0
  998. /package/dist/{utils → packages/taco/src/utils}/mergeRefs.d.ts +0 -0
  999. /package/dist/{utils → packages/taco/src/utils}/storyutils.d.ts +0 -0
  1000. /package/dist/{utils → packages/taco/src/utils}/tailwind.d.ts +0 -0
@@ -1,86 +0,0 @@
1
- import React__default from 'react';
2
- import { Icon } from '../../../../Icon/Icon.js';
3
- import { useLocalization } from '../../../../Provider/Localization.js';
4
- import { Header } from '../header/Header.js';
5
- import { DisplayCell } from '../cell/DisplayCell.js';
6
- import { Footer } from '../footer/Footer.js';
7
-
8
- const COLUMN_ID = '__drag';
9
- const GHOST_ELEMENT_ID = 'taco_table_dragging';
10
- const Cell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
11
- const {
12
- isSelected,
13
- onRowDrag: handleRowDrag,
14
- row,
15
- table
16
- } = props;
17
- const {
18
- texts
19
- } = useLocalization();
20
- const tableMeta = table.options.meta;
21
- const onDragStart = event => {
22
- let rows = [row];
23
- if (table.options.enableRowSelection) {
24
- rows = isSelected ? table.getSelectedRowModel().rows : [row, ...table.getSelectedRowModel().rows];
25
- }
26
- const data = rows.map(row => row.original);
27
- tableMeta.rowDrag.setDragging(rows.reduce((dragging, rowBeingDragged) => ({
28
- ...dragging,
29
- [rowBeingDragged.id]: true
30
- }), {}));
31
- // set a default data value so that the consumer doesn't have to
32
- event.dataTransfer.setData('text', JSON.stringify(data));
33
- const showPlaceholder = text => {
34
- const ghost = document.createElement('div');
35
- ghost.id = GHOST_ELEMENT_ID;
36
- ghost.className = 'wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]';
37
- ghost.innerText = text;
38
- document.body.appendChild(ghost);
39
- event.dataTransfer.setDragImage(ghost, 0, 0);
40
- };
41
- const setDataTransfer = text => event.dataTransfer.setData('text', text);
42
- handleRowDrag(data, showPlaceholder, setDataTransfer);
43
- };
44
- const handleDragEnd = () => {
45
- var _document$getElementB;
46
- (_document$getElementB = document.getElementById(GHOST_ELEMENT_ID)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.remove();
47
- tableMeta.rowDrag.setDragging({});
48
- };
49
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props), /*#__PURE__*/React__default.createElement("div", {
50
- draggable: true,
51
- onDragStart: onDragStart,
52
- onDragOver: event => event.preventDefault(),
53
- onDragEnd: handleDragEnd
54
- }, /*#__PURE__*/React__default.createElement(Icon, {
55
- "aria-label": texts.table3.columns.drag.tooltip,
56
- name: "drag",
57
- className: "text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"
58
- })));
59
- });
60
- function createRowDragColumn(onRowDrag) {
61
- return {
62
- id: COLUMN_ID,
63
- header: Header,
64
- cell: context => ( /*#__PURE__*/React__default.createElement(Cell, Object.assign({}, context, {
65
- isSelected: context.row.getIsSelected(),
66
- onRowDrag: onRowDrag
67
- }))),
68
- footer: Footer,
69
- meta: {
70
- align: 'center',
71
- className: '!p-0 !pt-[var(--table3-cell-padding-y)]',
72
- enableOrdering: false,
73
- enableSearch: false,
74
- enableTruncate: false,
75
- header: '',
76
- headerClassName: 'items-center !p-0'
77
- },
78
- // options
79
- enableResizing: false,
80
- size: 20,
81
- minSize: 20
82
- };
83
- }
84
-
85
- export { COLUMN_ID, createRowDragColumn };
86
- //# sourceMappingURL=Drag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drag.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/Drag.tsx"],"sourcesContent":["import React from 'react';\nimport { CellContext, DisplayColumnDef, TableMeta } from '@tanstack/react-table';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Table3RowDragHandler } from '../../../types';\nimport { Icon } from '../../../../Icon/Icon';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Footer } from '../footer/Footer';\n\nexport const COLUMN_ID = '__drag';\nconst GHOST_ELEMENT_ID = 'taco_table_dragging';\n\ntype CellProps<TType = unknown> = CellContext<TType, unknown> & {\n isSelected: boolean;\n onRowDrag: Table3RowDragHandler<TType>;\n};\n\nconst Cell = React.memo(function MemoedCell<TType = unknown>(props: CellProps<TType>) {\n const { isSelected, onRowDrag: handleRowDrag, row, table } = props;\n const { texts } = useLocalization();\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n const onDragStart = (event: React.DragEvent): void => {\n let rows = [row];\n\n if (table.options.enableRowSelection) {\n rows = isSelected ? table.getSelectedRowModel().rows : [row, ...table.getSelectedRowModel().rows];\n }\n\n const data = rows.map(row => row.original);\n\n tableMeta.rowDrag.setDragging(\n rows.reduce((dragging, rowBeingDragged) => ({ ...dragging, [rowBeingDragged.id]: true }), {})\n );\n\n // set a default data value so that the consumer doesn't have to\n event.dataTransfer.setData('text', JSON.stringify(data));\n\n const showPlaceholder = (text: string) => {\n const ghost = document.createElement('div');\n ghost.id = GHOST_ELEMENT_ID;\n ghost.className = 'wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]';\n ghost.innerText = text;\n document.body.appendChild(ghost);\n event.dataTransfer.setDragImage(ghost, 0, 0);\n };\n\n const setDataTransfer = (text: string) => event.dataTransfer.setData('text', text);\n\n handleRowDrag(data, showPlaceholder, setDataTransfer);\n };\n\n const handleDragEnd = (): void => {\n document.getElementById(GHOST_ELEMENT_ID)?.remove();\n tableMeta.rowDrag.setDragging({});\n };\n\n return (\n <DisplayCell {...props}>\n <div draggable onDragStart={onDragStart} onDragOver={event => event.preventDefault()} onDragEnd={handleDragEnd}>\n <Icon\n aria-label={texts.table3.columns.drag.tooltip}\n name=\"drag\"\n className=\"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white\"\n />\n </div>\n </DisplayCell>\n );\n}) as <TType = unknown>(props: CellProps<TType>) => JSX.Element;\n\nexport function createRowDragColumn<TType = unknown>(onRowDrag: Table3RowDragHandler<TType>): DisplayColumnDef<TType, unknown> {\n return {\n id: COLUMN_ID,\n header: ColumnHeader,\n cell: (context: CellContext<TType, unknown>) => (\n <Cell {...context} isSelected={context.row.getIsSelected()} onRowDrag={onRowDrag} />\n ),\n footer: Footer,\n meta: {\n align: 'center',\n className: '!p-0 !pt-[var(--table3-cell-padding-y)]',\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: 'items-center !p-0',\n },\n // options\n enableResizing: false,\n size: 20,\n minSize: 20,\n };\n}\n"],"names":["COLUMN_ID","GHOST_ELEMENT_ID","Cell","React","memo","MemoedCell","props","isSelected","onRowDrag","handleRowDrag","row","table","texts","useLocalization","tableMeta","options","meta","onDragStart","event","rows","enableRowSelection","getSelectedRowModel","data","map","original","rowDrag","setDragging","reduce","dragging","rowBeingDragged","id","dataTransfer","setData","JSON","stringify","showPlaceholder","text","ghost","document","createElement","className","innerText","body","appendChild","setDragImage","setDataTransfer","handleDragEnd","_document$getElementB","getElementById","remove","DisplayCell","draggable","onDragOver","preventDefault","onDragEnd","Icon","table3","columns","drag","tooltip","name","createRowDragColumn","header","ColumnHeader","cell","context","getIsSelected","footer","Footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing","size","minSize"],"mappings":"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"}
@@ -1,174 +0,0 @@
1
- import React__default from 'react';
2
- import cn from 'clsx';
3
- import { Icon } from '../../../../Icon/Icon.js';
4
- import { Tooltip } from '../../../../Tooltip/Tooltip.js';
5
- import { IconButton } from '../../../../IconButton/IconButton.js';
6
- import { useLocalization } from '../../../../Provider/Localization.js';
7
- import { Button } from '../../../../Button/Button.js';
8
- import { Spinner } from '../../../../Spinner/Spinner.js';
9
- import { Dialog } from '../../../../Dialog/Dialog.js';
10
- import { Group } from '../../../../Group/Group.js';
11
- import useTimer from '../../../../../utils/hooks/useTimer.js';
12
- import { Menu } from '../../../../Menu/Menu.js';
13
- import { Header } from '../header/Header.js';
14
- import { RowContext } from '../../rows/RowContext.js';
15
- import { DisplayCell } from '../cell/DisplayCell.js';
16
- import { Footer } from '../footer/Footer.js';
17
- import { isIndicatorVisible, getIndicatorCellClassName } from '../cell/Indicator.js';
18
- import { getColumnIndex } from '../../../util/editing.js';
19
- import { lastCellIndex } from '../../rows/Row.js';
20
- import { SavingStatusValue } from '../../../hooks/features/useEditing.js';
21
-
22
- const savingIndicatorHideDelay = 3000;
23
- const COLUMN_ID = '__editing_actions';
24
- const MemoedCell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
25
- var _column$columnDef$met;
26
- const {
27
- className,
28
- editing,
29
- hasChanges,
30
- isActiveRow,
31
- row,
32
- rowIdentifier,
33
- table
34
- } = props;
35
- const savingStatus = editing.getSavingStatus(row.id);
36
- const [isSavedIndicatorVisible, setIsSavingIndicatorVisible] = React__default.useState(false);
37
- const {
38
- texts
39
- } = useLocalization();
40
- const [clearConfirmationOpen, setClearConfirmationOpen] = React__default.useState(false);
41
- const columns = table.getAllFlatColumns();
42
- const column = columns.find(column => column.id === rowIdentifier);
43
- const rowIdentifierHeader = column === null || column === void 0 ? void 0 : (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.header;
44
- const edititngActionsRef = React__default.useRef(null);
45
- const tableMeta = table.options.meta;
46
- const handleSaved = () => {
47
- setIsSavingIndicatorVisible(false);
48
- editing.resetSavingStatus(row.id);
49
- };
50
- const timer = useTimer(savingIndicatorHideDelay, handleSaved);
51
- React__default.useEffect(() => {
52
- if (savingStatus && savingStatus === SavingStatusValue.Saved && !isSavedIndicatorVisible) {
53
- setIsSavingIndicatorVisible(true);
54
- timer.start();
55
- }
56
- }, [savingStatus]);
57
- React__default.useEffect(() => {
58
- tableMeta.shortcutsState.pause(clearConfirmationOpen);
59
- }, [clearConfirmationOpen]);
60
- let content;
61
- if (savingStatus) {
62
- if (savingStatus === SavingStatusValue.Saving) {
63
- content = /*#__PURE__*/React__default.createElement(Tooltip, {
64
- title: texts.table3.editing.saving.progress
65
- }, /*#__PURE__*/React__default.createElement(Spinner, {
66
- delay: 0,
67
- className: "!text-grey-700 mr-1 !h-5 !w-5"
68
- }));
69
- } else if (isSavedIndicatorVisible) {
70
- content = /*#__PURE__*/React__default.createElement(Tooltip, {
71
- title: texts.table3.editing.saving.complete
72
- }, /*#__PURE__*/React__default.createElement(Icon, {
73
- name: "tick",
74
- className: "!text-grey-700 mr-1 !h-5 !w-5"
75
- }));
76
- }
77
- }
78
- if (editing.isEditing && isActiveRow) {
79
- content = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, content, /*#__PURE__*/React__default.createElement(IconButton, {
80
- ref: edititngActionsRef,
81
- appearance: "transparent",
82
- "aria-label": texts.table3.editing.actions.tooltip,
83
- icon: "more",
84
- menu: menuProps => ( /*#__PURE__*/React__default.createElement(Menu, Object.assign({}, menuProps), /*#__PURE__*/React__default.createElement(Menu.Content, null, /*#__PURE__*/React__default.createElement(Menu.Item, {
85
- icon: "tick",
86
- disabled: !hasChanges,
87
- onClick: () => editing.saveChangesIfNeeded()
88
- }, texts.table3.editing.actions.save), /*#__PURE__*/React__default.createElement(Menu.Item, {
89
- icon: "close",
90
- disabled: !hasChanges,
91
- onClick: () => setClearConfirmationOpen(true)
92
- }, texts.table3.editing.actions.clear), /*#__PURE__*/React__default.createElement(Menu.Item, {
93
- icon: "undo",
94
- onClick: () => editing.toggleEditing(false)
95
- }, texts.table3.editing.actions.exit)))),
96
- tabIndex: isActiveRow ? 0 : -1
97
- }), /*#__PURE__*/React__default.createElement(Dialog, {
98
- size: "xs",
99
- open: clearConfirmationOpen,
100
- onClose: () => {
101
- setClearConfirmationOpen(false);
102
- requestAnimationFrame(() => {
103
- if (edititngActionsRef.current) {
104
- edititngActionsRef.current.focus();
105
- // When table looses focus, we need to re-set the last column index
106
- lastCellIndex.value = getColumnIndex(edititngActionsRef.current);
107
- }
108
- });
109
- }
110
- }, /*#__PURE__*/React__default.createElement(Dialog.Content, {
111
- "aria-label": texts.table3.editing.clearChangesConfirmationDialog.title
112
- }, /*#__PURE__*/React__default.createElement(Dialog.Title, null, texts.table3.editing.clearChangesConfirmationDialog.title), /*#__PURE__*/React__default.createElement("p", null, texts.table3.editing.clearChangesConfirmationDialog.description.replace('[ROW_IDENTIFIER]', rowIdentifier && rowIdentifierHeader ? rowIdentifierHeader : texts.table3.validation.index).replace('[ROW_IDENTIFIER_VALUE]', rowIdentifier && rowIdentifierHeader ? row.original[rowIdentifier] : row.index)), /*#__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, {
113
- tabIndex: 0
114
- }, texts.table3.editing.clearChangesConfirmationDialog.cancel)), /*#__PURE__*/React__default.createElement(Dialog.Close, null, /*#__PURE__*/React__default.createElement(Button, {
115
- tabIndex: 0,
116
- appearance: "primary",
117
- autoFocus: true,
118
- onClick: () => editing.resetChange(row.id)
119
- }, texts.table3.editing.clearChangesConfirmationDialog.confirm)))))));
120
- }
121
- const contentClassName = cn('flex items-center justify-end text-right', {
122
- '-mb-2 -mt-2': isActiveRow
123
- });
124
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props, {
125
- className: cn(className, {
126
- '!sticky': !!content
127
- })
128
- }), content ? /*#__PURE__*/React__default.createElement("span", {
129
- className: contentClassName
130
- }, content) : undefined);
131
- });
132
- function Cell(props) {
133
- const {
134
- rowIndex
135
- } = React__default.useContext(RowContext);
136
- const tableMeta = props.table.options.meta;
137
- const changeset = tableMeta.editing.changes ? Object.keys(tableMeta.editing.changes) : [];
138
- const allVisibleColumns = props.table.getVisibleLeafColumns();
139
- const lastColumnIndex = allVisibleColumns.length > 0 ? allVisibleColumns.length - 1 : 0;
140
- const className = isIndicatorVisible(rowIndex, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.rowMoveReason) ? getIndicatorCellClassName(props.index, lastColumnIndex) : undefined;
141
- return /*#__PURE__*/React__default.createElement(MemoedCell, Object.assign({}, props, {
142
- className: className,
143
- editing: tableMeta.editing,
144
- hasChanges: changeset.indexOf(props.row.id) >= 0,
145
- isActiveRow: tableMeta.rowActive.rowActiveIndex === rowIndex
146
- }));
147
- }
148
- const EDITING_ACTIONS_WIDTH = 60;
149
- function createRowEditingActionsColumn(rowIdentifier) {
150
- return {
151
- id: COLUMN_ID,
152
- header: Header,
153
- cell: context => /*#__PURE__*/React__default.createElement(Cell, Object.assign({}, context, {
154
- rowIdentifier: rowIdentifier
155
- })),
156
- footer: Footer,
157
- meta: {
158
- align: 'right',
159
- className: cn('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1', '[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]', 'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200', 'group-[[data-selected="true"]]/row:text-blue-100', 'group-[[data-selected="false"]:hover]/row:text-grey-100'),
160
- enableOrdering: false,
161
- enableSearch: false,
162
- enableTruncate: false,
163
- header: '',
164
- headerClassName: 'items-center !p-0'
165
- },
166
- // options
167
- enableResizing: false,
168
- size: EDITING_ACTIONS_WIDTH,
169
- minSize: EDITING_ACTIONS_WIDTH
170
- };
171
- }
172
-
173
- export { COLUMN_ID, EDITING_ACTIONS_WIDTH, createRowEditingActionsColumn };
174
- //# sourceMappingURL=EditingActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditingActions.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/EditingActions.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'clsx';\nimport { CellContext, TableMeta, DisplayColumnDef } from '@tanstack/react-table';\nimport { Spinner } from '../../../../Spinner/Spinner';\nimport { SavingStatusValue, useEditing } from '../../../hooks/features/useEditing';\nimport { IconButton } from '../../../../IconButton/IconButton';\nimport { Menu } from '../../../../Menu/Menu';\nimport { RowContext } from '../../rows/RowContext';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { Footer } from '../footer/Footer';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport useTimer from '../../../../../utils/hooks/useTimer';\nimport { Icon } from '../../../../Icon/Icon';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\nimport { Dialog } from '../../../../Dialog/Dialog';\nimport { Group } from '../../../../Group/Group';\nimport { Button } from '../../../../Button/Button';\nimport { lastCellIndex } from '../../rows/Row';\nimport { getColumnIndex } from '../../../util/editing';\nimport { getIndicatorCellClassName, isIndicatorVisible } from '../cell/Indicator';\n\nexport type EditingActionsProps<TType = unknown> = CellContext<TType, unknown> & {\n className?: string;\n isHovered: boolean;\n};\n\nconst savingIndicatorHideDelay = 3000;\n\nexport const COLUMN_ID = '__editing_actions';\n\ntype MemoedCellProps<TType = unknown> = CellContext<TType, unknown> & {\n className?: string;\n editing: ReturnType<typeof useEditing>;\n hasChanges: boolean;\n isActiveRow: boolean;\n rowIdentifier?: string;\n};\n\nconst MemoedCell = React.memo(function MemoedCell<TType = unknown>(props: MemoedCellProps<TType>) {\n const { className, editing, hasChanges, isActiveRow, row, rowIdentifier, table } = props;\n\n const savingStatus = editing.getSavingStatus(row.id);\n const [isSavedIndicatorVisible, setIsSavingIndicatorVisible] = React.useState(false);\n const { texts } = useLocalization();\n const [clearConfirmationOpen, setClearConfirmationOpen] = React.useState(false);\n const columns = table.getAllFlatColumns();\n const column = columns.find(column => column.id === rowIdentifier);\n const rowIdentifierHeader = column?.columnDef.meta?.header;\n const edititngActionsRef = React.useRef<HTMLButtonElement | HTMLAnchorElement>(null);\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n const handleSaved = () => {\n setIsSavingIndicatorVisible(false);\n editing.resetSavingStatus(row.id);\n };\n const timer = useTimer(savingIndicatorHideDelay, handleSaved);\n\n React.useEffect(() => {\n if (savingStatus && savingStatus === SavingStatusValue.Saved && !isSavedIndicatorVisible) {\n setIsSavingIndicatorVisible(true);\n timer.start();\n }\n }, [savingStatus]);\n\n React.useEffect(() => {\n tableMeta.shortcutsState.pause(clearConfirmationOpen);\n }, [clearConfirmationOpen]);\n\n let content;\n\n if (savingStatus) {\n if (savingStatus === SavingStatusValue.Saving) {\n content = (\n <Tooltip title={texts.table3.editing.saving.progress}>\n <Spinner delay={0} className=\"!text-grey-700 mr-1 !h-5 !w-5\" />\n </Tooltip>\n );\n } else if (isSavedIndicatorVisible) {\n content = (\n <Tooltip title={texts.table3.editing.saving.complete}>\n <Icon name=\"tick\" className=\"!text-grey-700 mr-1 !h-5 !w-5\" />\n </Tooltip>\n );\n }\n }\n\n if (editing.isEditing && isActiveRow) {\n content = (\n <>\n {content}\n <IconButton\n ref={edititngActionsRef}\n appearance=\"transparent\"\n aria-label={texts.table3.editing.actions.tooltip}\n icon=\"more\"\n menu={menuProps => (\n <Menu {...menuProps}>\n <Menu.Content>\n <Menu.Item icon=\"tick\" disabled={!hasChanges} onClick={() => editing.saveChangesIfNeeded()}>\n {texts.table3.editing.actions.save}\n </Menu.Item>\n <Menu.Item icon=\"close\" disabled={!hasChanges} onClick={() => setClearConfirmationOpen(true)}>\n {texts.table3.editing.actions.clear}\n </Menu.Item>\n <Menu.Item icon=\"undo\" onClick={() => editing.toggleEditing(false)}>\n {texts.table3.editing.actions.exit}\n </Menu.Item>\n </Menu.Content>\n </Menu>\n )}\n tabIndex={isActiveRow ? 0 : -1}\n />\n <Dialog\n size=\"xs\"\n open={clearConfirmationOpen}\n onClose={() => {\n setClearConfirmationOpen(false);\n requestAnimationFrame(() => {\n if (edititngActionsRef.current) {\n edititngActionsRef.current.focus();\n // When table looses focus, we need to re-set the last column index\n lastCellIndex.value = getColumnIndex(edititngActionsRef.current);\n }\n });\n }}>\n <Dialog.Content aria-label={texts.table3.editing.clearChangesConfirmationDialog.title}>\n <Dialog.Title>{texts.table3.editing.clearChangesConfirmationDialog.title}</Dialog.Title>\n\n <p>\n {texts.table3.editing.clearChangesConfirmationDialog.description\n .replace(\n '[ROW_IDENTIFIER]',\n rowIdentifier && rowIdentifierHeader ? rowIdentifierHeader : texts.table3.validation.index\n )\n .replace(\n '[ROW_IDENTIFIER_VALUE]',\n rowIdentifier && rowIdentifierHeader ? row.original[rowIdentifier] : row.index\n )}\n </p>\n\n <Dialog.Footer>\n <Group>\n <Dialog.Close>\n <Button tabIndex={0}>{texts.table3.editing.clearChangesConfirmationDialog.cancel}</Button>\n </Dialog.Close>\n <Dialog.Close>\n <Button\n tabIndex={0}\n appearance=\"primary\"\n autoFocus\n onClick={() => editing.resetChange(row.id)}>\n {texts.table3.editing.clearChangesConfirmationDialog.confirm}\n </Button>\n </Dialog.Close>\n </Group>\n </Dialog.Footer>\n </Dialog.Content>\n </Dialog>\n </>\n );\n }\n\n const contentClassName = cn('flex items-center justify-end text-right', { '-mb-2 -mt-2': isActiveRow });\n return (\n <DisplayCell {...props} className={cn(className, { '!sticky': !!content })}>\n {content ? <span className={contentClassName}>{content}</span> : undefined}\n </DisplayCell>\n );\n}) as <TType = unknown>(props: MemoedCellProps<TType>) => JSX.Element;\n\ntype CellProps<TType = unknown> = CellContext<TType, unknown> & {\n rowIdentifier?: string;\n};\n\nfunction Cell<TType = unknown>(props: CellProps<TType>) {\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = props.table.options.meta as TableMeta<TType>;\n const changeset = tableMeta.editing.changes ? Object.keys(tableMeta.editing.changes) : [];\n const allVisibleColumns = props.table.getVisibleLeafColumns();\n const lastColumnIndex = allVisibleColumns.length > 0 ? allVisibleColumns.length - 1 : 0;\n const className = isIndicatorVisible(rowIndex, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.rowMoveReason)\n ? getIndicatorCellClassName(props.index, lastColumnIndex)\n : undefined;\n\n return (\n <MemoedCell\n {...props}\n className={className}\n editing={tableMeta.editing}\n hasChanges={changeset.indexOf(props.row.id) >= 0}\n isActiveRow={tableMeta.rowActive.rowActiveIndex === rowIndex}\n />\n );\n}\n\nexport const EDITING_ACTIONS_WIDTH = 60;\n\nexport function createRowEditingActionsColumn<TType = unknown>(rowIdentifier?: string): DisplayColumnDef<TType, unknown> {\n return {\n id: COLUMN_ID,\n header: ColumnHeader,\n cell: (context: CellContext<TType, unknown>) => <Cell {...context} rowIdentifier={rowIdentifier} />,\n footer: Footer,\n meta: {\n align: 'right',\n className: cn(\n 'items-center print:opacity-0 [[role=\"table\"][data-editing=\"true\"]_&]:group-[[data-current=\"true\"]]/row:sticky right-0 !pl-0 !pr-1',\n '[[role=\"table\"][data-editing=\"true\"]_&]:group-[[data-current=\"true\"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]',\n 'group-[[data-current=\"true\"][data-selected=\"false\"]]/row:text-grey-200',\n 'group-[[data-selected=\"true\"]]/row:text-blue-100',\n 'group-[[data-selected=\"false\"]:hover]/row:text-grey-100'\n ),\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: 'items-center !p-0',\n },\n // options\n enableResizing: false,\n size: EDITING_ACTIONS_WIDTH,\n minSize: EDITING_ACTIONS_WIDTH,\n };\n}\n"],"names":["savingIndicatorHideDelay","COLUMN_ID","MemoedCell","React","memo","props","className","editing","hasChanges","isActiveRow","row","rowIdentifier","table","savingStatus","getSavingStatus","id","isSavedIndicatorVisible","setIsSavingIndicatorVisible","useState","texts","useLocalization","clearConfirmationOpen","setClearConfirmationOpen","columns","getAllFlatColumns","column","find","rowIdentifierHeader","_column$columnDef$met","columnDef","meta","header","edititngActionsRef","useRef","tableMeta","options","handleSaved","resetSavingStatus","timer","useTimer","useEffect","SavingStatusValue","Saved","start","shortcutsState","pause","content","Saving","Tooltip","title","table3","saving","progress","Spinner","delay","complete","Icon","name","isEditing","IconButton","ref","appearance","actions","tooltip","icon","menu","menuProps","Menu","Content","Item","disabled","onClick","saveChangesIfNeeded","save","clear","toggleEditing","exit","tabIndex","Dialog","size","open","onClose","requestAnimationFrame","current","focus","lastCellIndex","value","getColumnIndex","clearChangesConfirmationDialog","Title","description","replace","validation","index","original","Footer","Group","Close","Button","cancel","autoFocus","resetChange","confirm","contentClassName","cn","DisplayCell","undefined","Cell","rowIndex","useContext","RowContext","changeset","changes","Object","keys","allVisibleColumns","getVisibleLeafColumns","lastColumnIndex","length","isIndicatorVisible","rowActive","rowActiveIndex","rowMoveReason","getIndicatorCellClassName","indexOf","EDITING_ACTIONS_WIDTH","createRowEditingActionsColumn","ColumnHeader","cell","context","footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing","minSize"],"mappings":"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"}
@@ -1,104 +0,0 @@
1
- import React__default from 'react';
2
- import { Tooltip } from '../../../../Tooltip/Tooltip.js';
3
- import { IconButton } from '../../../../IconButton/IconButton.js';
4
- import { useLocalization } from '../../../../Provider/Localization.js';
5
- import { Header as Header$1 } from '../header/Header.js';
6
- import { RowContext } from '../../rows/RowContext.js';
7
- import { DisplayCell } from '../cell/DisplayCell.js';
8
- import { Footer } from '../footer/Footer.js';
9
-
10
- const COLUMN_ID = '__expansion';
11
- function Header(context) {
12
- const {
13
- texts
14
- } = useLocalization();
15
- const isSomeRowsExpanded = context.table.getIsSomeRowsExpanded();
16
- const handleClick = event => {
17
- event.stopPropagation();
18
- context.table.toggleAllRowsExpanded(!isSomeRowsExpanded);
19
- };
20
- const title = isSomeRowsExpanded ? texts.table3.columns.expansion.collapseAll : texts.table3.columns.expansion.expandAll;
21
- return /*#__PURE__*/React__default.createElement(Header$1, Object.assign({}, context), /*#__PURE__*/React__default.createElement(Tooltip, {
22
- title: title
23
- }, /*#__PURE__*/React__default.createElement(IconButton, {
24
- appearance: "transparent",
25
- icon: isSomeRowsExpanded ? 'chevron-down-double' : 'chevron-right-double',
26
- onClick: handleClick,
27
- tabIndex: -1,
28
- title: title
29
- })));
30
- }
31
- const MemoedCell = /*#__PURE__*/React__default.memo(function MemoedCell(props) {
32
- const {
33
- expandedRowRenderer,
34
- isActiveRow,
35
- isExpanded,
36
- row,
37
- table
38
- } = props;
39
- const {
40
- texts
41
- } = useLocalization();
42
- const tableMeta = table.options.meta;
43
- const hasExpandedRow = expandedRowRenderer(row.original);
44
- let content;
45
- if (hasExpandedRow) {
46
- const handleClick = event => {
47
- event.stopPropagation();
48
- row.toggleExpanded();
49
- };
50
- const title = isExpanded ? texts.table3.columns.expansion.collapse : texts.table3.columns.expansion.expand;
51
- const tabIndex = isActiveRow && !tableMeta.editing.isEditing ? 0 : -1;
52
- content = /*#__PURE__*/React__default.createElement(Tooltip, {
53
- title: title
54
- }, /*#__PURE__*/React__default.createElement(IconButton, {
55
- appearance: "discrete",
56
- className: "-mt-1.5",
57
- icon: isExpanded ? 'chevron-down' : 'chevron-right',
58
- onClick: handleClick,
59
- tabIndex: tabIndex,
60
- title: title
61
- }));
62
- }
63
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, props), content);
64
- });
65
- function Cell(props) {
66
- const {
67
- expandedRowRenderer,
68
- ...context
69
- } = props;
70
- const {
71
- rowIndex
72
- } = React__default.useContext(RowContext);
73
- const tableMeta = context.table.options.meta;
74
- return /*#__PURE__*/React__default.createElement(MemoedCell, Object.assign({}, context, {
75
- expandedRowRenderer: expandedRowRenderer,
76
- isActiveRow: tableMeta.rowActive.rowActiveIndex === rowIndex,
77
- isExpanded: context.row.getIsExpanded()
78
- }));
79
- }
80
- function createRowExpansionColumn(expandedRowRenderer) {
81
- return {
82
- id: COLUMN_ID,
83
- header: Header,
84
- cell: context => /*#__PURE__*/React__default.createElement(Cell, Object.assign({}, context, {
85
- expandedRowRenderer: expandedRowRenderer
86
- })),
87
- footer: Footer,
88
- meta: {
89
- align: 'center',
90
- className: '!p-0 !pt-[var(--table3-cell-padding-y)]',
91
- enableOrdering: false,
92
- enableSearch: false,
93
- enableTruncate: false,
94
- header: '',
95
- headerClassName: 'items-center !p-0'
96
- },
97
- // options
98
- enableResizing: false,
99
- size: 40
100
- };
101
- }
102
-
103
- export { COLUMN_ID, createRowExpansionColumn };
104
- //# sourceMappingURL=Expansion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Expansion.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/Expansion.tsx"],"sourcesContent":["import React from 'react';\nimport { HeaderContext, CellContext, DisplayColumnDef, TableMeta } from '@tanstack/react-table';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\nimport { IconButton } from '../../../../IconButton/IconButton';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { Table3RowExpansionRenderer } from '../../../types';\nimport { RowContext } from '../../rows/RowContext';\nimport { Footer } from '../footer/Footer';\n\nexport const COLUMN_ID = '__expansion';\n\nfunction Header<TType = unknown>(context: HeaderContext<TType, unknown>) {\n const { texts } = useLocalization();\n\n const isSomeRowsExpanded = context.table.getIsSomeRowsExpanded();\n const handleClick = event => {\n event.stopPropagation();\n context.table.toggleAllRowsExpanded(!isSomeRowsExpanded);\n };\n\n const title = isSomeRowsExpanded ? texts.table3.columns.expansion.collapseAll : texts.table3.columns.expansion.expandAll;\n\n return (\n <ColumnHeader {...context}>\n <Tooltip title={title}>\n <IconButton\n appearance=\"transparent\"\n icon={isSomeRowsExpanded ? 'chevron-down-double' : 'chevron-right-double'}\n onClick={handleClick}\n tabIndex={-1}\n title={title}\n />\n </Tooltip>\n </ColumnHeader>\n );\n}\n\ntype MemoedCellProps<TType = unknown> = CellContext<TType, unknown> & {\n expandedRowRenderer: Table3RowExpansionRenderer<TType>;\n isActiveRow: boolean;\n isExpanded: boolean;\n};\n\nconst MemoedCell = React.memo(function MemoedCell<TType = unknown>(props: MemoedCellProps<TType>) {\n const { expandedRowRenderer, isActiveRow, isExpanded, row, table } = props;\n const { texts } = useLocalization();\n const tableMeta = table.options.meta as TableMeta<TType>;\n\n const hasExpandedRow = expandedRowRenderer(row.original);\n\n let content;\n\n if (hasExpandedRow) {\n const handleClick = event => {\n event.stopPropagation();\n row.toggleExpanded();\n };\n const title = isExpanded ? texts.table3.columns.expansion.collapse : texts.table3.columns.expansion.expand;\n\n const tabIndex = isActiveRow && !tableMeta.editing.isEditing ? 0 : -1;\n\n content = (\n <Tooltip title={title}>\n <IconButton\n appearance=\"discrete\"\n className=\"-mt-1.5\"\n icon={isExpanded ? 'chevron-down' : 'chevron-right'}\n onClick={handleClick}\n tabIndex={tabIndex}\n title={title}\n />\n </Tooltip>\n );\n }\n\n return <DisplayCell {...props}>{content}</DisplayCell>;\n}) as <TType = unknown>(props: MemoedCellProps<TType>) => JSX.Element;\n\ntype CellProps<TType = unknown> = CellContext<TType, unknown> & {\n expandedRowRenderer: Table3RowExpansionRenderer<TType>;\n};\n\nfunction Cell<TType = unknown>(props: CellProps<TType>) {\n const { expandedRowRenderer, ...context } = props;\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = context.table.options.meta as TableMeta<TType>;\n\n return (\n <MemoedCell\n {...context}\n expandedRowRenderer={expandedRowRenderer}\n isActiveRow={tableMeta.rowActive.rowActiveIndex === rowIndex}\n isExpanded={context.row.getIsExpanded()}\n />\n );\n}\n\nexport function createRowExpansionColumn<TType = unknown>(\n expandedRowRenderer: Table3RowExpansionRenderer<TType>\n): DisplayColumnDef<TType, unknown> {\n return {\n id: COLUMN_ID,\n header: Header,\n cell: (context: CellContext<TType, unknown>) => <Cell {...context} expandedRowRenderer={expandedRowRenderer} />,\n footer: Footer,\n meta: {\n align: 'center',\n className: '!p-0 !pt-[var(--table3-cell-padding-y)]',\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: 'items-center !p-0',\n },\n // options\n enableResizing: false,\n size: 40,\n };\n}\n"],"names":["COLUMN_ID","Header","context","texts","useLocalization","isSomeRowsExpanded","table","getIsSomeRowsExpanded","handleClick","event","stopPropagation","toggleAllRowsExpanded","title","table3","columns","expansion","collapseAll","expandAll","React","ColumnHeader","Tooltip","IconButton","appearance","icon","onClick","tabIndex","MemoedCell","memo","props","expandedRowRenderer","isActiveRow","isExpanded","row","tableMeta","options","meta","hasExpandedRow","original","content","toggleExpanded","collapse","expand","editing","isEditing","className","DisplayCell","Cell","rowIndex","useContext","RowContext","rowActive","rowActiveIndex","getIsExpanded","createRowExpansionColumn","id","header","cell","footer","Footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing","size"],"mappings":";;;;;;;;;MAWaA,SAAS,GAAG;AAEzB,SAASC,MAAMA,CAAkBC,OAAsC;EACnE,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAEnC,MAAMC,kBAAkB,GAAGH,OAAO,CAACI,KAAK,CAACC,qBAAqB,EAAE;EAChE,MAAMC,WAAW,GAAGC,KAAK;IACrBA,KAAK,CAACC,eAAe,EAAE;IACvBR,OAAO,CAACI,KAAK,CAACK,qBAAqB,CAAC,CAACN,kBAAkB,CAAC;GAC3D;EAED,MAAMO,KAAK,GAAGP,kBAAkB,GAAGF,KAAK,CAACU,MAAM,CAACC,OAAO,CAACC,SAAS,CAACC,WAAW,GAAGb,KAAK,CAACU,MAAM,CAACC,OAAO,CAACC,SAAS,CAACE,SAAS;EAExH,oBACIC,6BAACC,QAAY,oBAAKjB,OAAO,gBACrBgB,6BAACE,OAAO;IAACR,KAAK,EAAEA;kBACZM,6BAACG,UAAU;IACPC,UAAU,EAAC,aAAa;IACxBC,IAAI,EAAElB,kBAAkB,GAAG,qBAAqB,GAAG,sBAAsB;IACzEmB,OAAO,EAAEhB,WAAW;IACpBiB,QAAQ,EAAE,CAAC,CAAC;IACZb,KAAK,EAAEA;IACT,CACI,CACC;AAEvB;AAQA,MAAMc,UAAU,gBAAGR,cAAK,CAACS,IAAI,CAAC,SAASD,UAAUA,CAAkBE,KAA6B;EAC5F,MAAM;IAAEC,mBAAmB;IAAEC,WAAW;IAAEC,UAAU;IAAEC,GAAG;IAAE1B;GAAO,GAAGsB,KAAK;EAC1E,MAAM;IAAEzB;GAAO,GAAGC,eAAe,EAAE;EACnC,MAAM6B,SAAS,GAAG3B,KAAK,CAAC4B,OAAO,CAACC,IAAwB;EAExD,MAAMC,cAAc,GAAGP,mBAAmB,CAACG,GAAG,CAACK,QAAQ,CAAC;EAExD,IAAIC,OAAO;EAEX,IAAIF,cAAc,EAAE;IAChB,MAAM5B,WAAW,GAAGC,KAAK;MACrBA,KAAK,CAACC,eAAe,EAAE;MACvBsB,GAAG,CAACO,cAAc,EAAE;KACvB;IACD,MAAM3B,KAAK,GAAGmB,UAAU,GAAG5B,KAAK,CAACU,MAAM,CAACC,OAAO,CAACC,SAAS,CAACyB,QAAQ,GAAGrC,KAAK,CAACU,MAAM,CAACC,OAAO,CAACC,SAAS,CAAC0B,MAAM;IAE1G,MAAMhB,QAAQ,GAAGK,WAAW,IAAI,CAACG,SAAS,CAACS,OAAO,CAACC,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;IAErEL,OAAO,gBACHpB,6BAACE,OAAO;MAACR,KAAK,EAAEA;oBACZM,6BAACG,UAAU;MACPC,UAAU,EAAC,UAAU;MACrBsB,SAAS,EAAC,SAAS;MACnBrB,IAAI,EAAEQ,UAAU,GAAG,cAAc,GAAG,eAAe;MACnDP,OAAO,EAAEhB,WAAW;MACpBiB,QAAQ,EAAEA,QAAQ;MAClBb,KAAK,EAAEA;MACT,CAET;;EAGL,oBAAOM,6BAAC2B,WAAW,oBAAKjB,KAAK,GAAGU,OAAO,CAAe;AAC1D,CAAC,CAAoE;AAMrE,SAASQ,IAAIA,CAAkBlB,KAAuB;EAClD,MAAM;IAAEC,mBAAmB;IAAE,GAAG3B;GAAS,GAAG0B,KAAK;EACjD,MAAM;IAAEmB;GAAU,GAAG7B,cAAK,CAAC8B,UAAU,CAACC,UAAU,CAAC;EACjD,MAAMhB,SAAS,GAAG/B,OAAO,CAACI,KAAK,CAAC4B,OAAO,CAACC,IAAwB;EAEhE,oBACIjB,6BAACQ,UAAU,oBACHxB,OAAO;IACX2B,mBAAmB,EAAEA,mBAAmB;IACxCC,WAAW,EAAEG,SAAS,CAACiB,SAAS,CAACC,cAAc,KAAKJ,QAAQ;IAC5DhB,UAAU,EAAE7B,OAAO,CAAC8B,GAAG,CAACoB,aAAa;KACvC;AAEV;SAEgBC,wBAAwBA,CACpCxB,mBAAsD;EAEtD,OAAO;IACHyB,EAAE,EAAEtD,SAAS;IACbuD,MAAM,EAAEtD,MAAM;IACduD,IAAI,EAAGtD,OAAoC,iBAAKgB,6BAAC4B,IAAI,oBAAK5C,OAAO;MAAE2B,mBAAmB,EAAEA;OAAuB;IAC/G4B,MAAM,EAAEC,MAAM;IACdvB,IAAI,EAAE;MACFwB,KAAK,EAAE,QAAQ;MACff,SAAS,EAAE,yCAAyC;MACpDgB,cAAc,EAAE,KAAK;MACrBC,YAAY,EAAE,KAAK;MACnBC,cAAc,EAAE,KAAK;MACrBP,MAAM,EAAE,EAAE;MACVQ,eAAe,EAAE;KACpB;;IAEDC,cAAc,EAAE,KAAK;IACrBC,IAAI,EAAE;GACT;AACL;;;;"}
@@ -1,187 +0,0 @@
1
- import React__default from 'react';
2
- import cn from 'clsx';
3
- import { Tooltip } from '../../../../Tooltip/Tooltip.js';
4
- import { useLocalization } from '../../../../Provider/Localization.js';
5
- import { Checkbox } from '../../../../Checkbox/Checkbox.js';
6
- import { Shortcut } from '../../../../Shortcut/Shortcut.js';
7
- import { getRadioClassnames } from '../../../../RadioGroup/util.js';
8
- import { TableServerLoadAllState } from '../../../../../primitives/Table/types.js';
9
- import { Header as Header$1 } from '../header/Header.js';
10
- import { RowContext } from '../../rows/RowContext.js';
11
- import { DisplayCell } from '../cell/DisplayCell.js';
12
- import { Footer } from '../footer/Footer.js';
13
-
14
- const COLUMN_ID = '__select';
15
- function Header(context) {
16
- const {
17
- texts
18
- } = useLocalization();
19
- if (context.table.options.enableMultiRowSelection) {
20
- const isAllRowsSelected = context.table.getIsAllRowsSelected();
21
- const isSomeRowsSelected = context.table.getIsSomeRowsSelected();
22
- const title = isAllRowsSelected ? texts.table3.columns.select.deselectAll : texts.table3.columns.select.selectAll;
23
- const tableMeta = context.table.options.meta;
24
- const isServerloading = tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading;
25
- const isLoadingAll = isAllRowsSelected && isServerloading;
26
- const isLoadingPreviousRows = tableMeta.rowSelection.lastSelectedRowIndex !== undefined && isServerloading;
27
- const toggleSelectAll = function () {
28
- try {
29
- const _temp = function () {
30
- if (!isServerloading) {
31
- var _tableMeta$server, _tableMeta$server$loa;
32
- return Promise.resolve((_tableMeta$server = tableMeta.server) === null || _tableMeta$server === void 0 ? void 0 : (_tableMeta$server$loa = _tableMeta$server.loadAllIfNeeded) === null || _tableMeta$server$loa === void 0 ? void 0 : _tableMeta$server$loa.call(_tableMeta$server, context.table.getState().sorting, context.table.getState().columnFilters, undefined)).then(function () {
33
- context.table.toggleAllRowsSelected(!isAllRowsSelected);
34
- });
35
- }
36
- }();
37
- return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
38
- } catch (e) {
39
- return Promise.reject(e);
40
- }
41
- };
42
- return /*#__PURE__*/React__default.createElement(Header$1, Object.assign({}, context), /*#__PURE__*/React__default.createElement(Tooltip, {
43
- title: title
44
- }, /*#__PURE__*/React__default.createElement(Checkbox, {
45
- "aria-label": title,
46
- className: "hover:border-blue !mt-0",
47
- key: String(`${isAllRowsSelected}_${isSomeRowsSelected}`),
48
- checked: isAllRowsSelected,
49
- indeterminate: isSomeRowsSelected,
50
- onChange: toggleSelectAll,
51
- tabIndex: -1,
52
- loading: isLoadingAll || isLoadingPreviousRows
53
- })));
54
- } else {
55
- return /*#__PURE__*/React__default.createElement(Header$1, Object.assign({}, context));
56
- }
57
- }
58
- const toggleBetween = (fromRowIndex, toRowIndex) => {
59
- const fromIndex = toRowIndex < fromRowIndex ? toRowIndex : fromRowIndex;
60
- const toIndex = toRowIndex > fromRowIndex ? toRowIndex : fromRowIndex;
61
- return [fromIndex, toIndex];
62
- };
63
- const Cell = /*#__PURE__*/React__default.memo(function MemoedCell(context) {
64
- const {
65
- texts
66
- } = useLocalization();
67
- const {
68
- rowIndex
69
- } = React__default.useContext(RowContext);
70
- const tableMeta = context.table.options.meta;
71
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;
72
- const isSelected = context.row.getIsSelected();
73
- const title = isSelected ? texts.table3.columns.select.deselect : texts.table3.columns.select.select;
74
- const handleCheckboxClick = function (event) {
75
- try {
76
- function _temp5() {
77
- tableMeta.rowSelection.lastSelectedRowIndex.current = rowIndex;
78
- }
79
- event.stopPropagation();
80
- const _temp4 = function () {
81
- if (event.shiftKey) {
82
- var _tableMeta$rowSelecti;
83
- function _temp3() {
84
- const currentlySelected = context.table.getSelectedRowModel().rows;
85
- // concat currently selected with selection range and get rid of duplicates using "Set".
86
- // converting allSelected array into updater object: {[row.id]: true}
87
- const allSelected = [...new Set(currentlySelected.concat(selectionRangeRows))];
88
- const updater = allSelected.reduce((obj, row) => Object.assign(obj, {
89
- [row.id]: true
90
- }), {});
91
- context.table.setRowSelection(updater);
92
- }
93
- const [fromIndex, toIndex] = toggleBetween((_tableMeta$rowSelecti = tableMeta.rowSelection.lastSelectedRowIndex.current) !== null && _tableMeta$rowSelecti !== void 0 ? _tableMeta$rowSelecti : 0, rowIndex);
94
- const selectionRangeRows = context.table.getRowModel().rows.slice(fromIndex, toIndex + 1);
95
- // Table data loader filling-in all the rest of unloaded items with the undefined values,
96
- // so we can easily check if at least one of the rows in the selection range is undefined,
97
- // then it means that we need to call load all.
98
- const hasUndefinedRows = selectionRangeRows.some(row => row.original === undefined);
99
- const _temp2 = function () {
100
- if (hasUndefinedRows) {
101
- var _tableMeta$server2, _tableMeta$server2$lo;
102
- // We don't need to await and freeze UI
103
- return Promise.resolve((_tableMeta$server2 = tableMeta.server) === null || _tableMeta$server2 === void 0 ? void 0 : (_tableMeta$server2$lo = _tableMeta$server2.loadAllIfNeeded) === null || _tableMeta$server2$lo === void 0 ? void 0 : _tableMeta$server2$lo.call(_tableMeta$server2, context.table.getState().sorting, context.table.getState().columnFilters, undefined)).then(function () {});
104
- }
105
- }();
106
- return _temp2 && _temp2.then ? _temp2.then(_temp3) : _temp3(_temp2);
107
- } else {
108
- context.row.toggleSelected();
109
- }
110
- }();
111
- return Promise.resolve(_temp4 && _temp4.then ? _temp4.then(_temp5) : _temp5(_temp4));
112
- } catch (e) {
113
- return Promise.reject(e);
114
- }
115
- };
116
- if (context.table.options.enableMultiRowSelection) {
117
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, context), /*#__PURE__*/React__default.createElement(Tooltip, {
118
- title: /*#__PURE__*/React__default.createElement(React__default.Fragment, null, title, /*#__PURE__*/React__default.createElement(Shortcut, {
119
- className: "ml-2",
120
- keys: "Space"
121
- }))
122
- }, /*#__PURE__*/React__default.createElement(Checkbox, {
123
- "aria-label": title,
124
- className: "!mt-0",
125
- checked: isSelected,
126
- onClick: handleCheckboxClick,
127
- // this is necessary to remove console spam from eslint
128
- onChange: () => false,
129
- tabIndex: isActiveRow ? 0 : -1
130
- })));
131
- } else {
132
- const className = cn('!mt-0', getRadioClassnames());
133
- const handleClick = event => {
134
- event.stopPropagation();
135
- context.row.toggleSelected();
136
- tableMeta.rowSelection.lastSelectedRowIndex.current = rowIndex;
137
- };
138
- return /*#__PURE__*/React__default.createElement(DisplayCell, Object.assign({}, context), /*#__PURE__*/React__default.createElement("button", {
139
- className: className,
140
- "aria-checked": isSelected,
141
- onClick: handleClick,
142
- role: "radio",
143
- tabIndex: -1,
144
- type: "button"
145
- }, isSelected ? /*#__PURE__*/React__default.createElement("span", {
146
- className: "h-2 w-2 rounded-full bg-white"
147
- }) : null));
148
- }
149
- }, function arePropsEqual(oldProps, newProps) {
150
- const oldTableMeta = oldProps.table.options.meta;
151
- const newTableMeta = newProps.table.options.meta;
152
- // we memo because we don't want the row re-rendering and removing focus from the checkbox
153
- // we can't default to the standard comparison because we need currentRow off the table meta
154
- // and we don't really care about re-rendering in any other scenario
155
- return newTableMeta.rowActive.rowActiveIndex === oldTableMeta.rowActive.rowActiveIndex && newProps.row.getIsSelected() !== oldProps.row.getIsSelected();
156
- });
157
- function createRowSelectionColumn(hasDrag, hasExpansion) {
158
- const size = hasDrag && hasExpansion ? 22 : 40;
159
- return {
160
- id: COLUMN_ID,
161
- header: Header,
162
- cell: Cell,
163
- footer: Footer,
164
- meta: {
165
- align: 'center',
166
- className: cn('!pt-[var(--table3-cell-padding-y)] !justify-end !p-0', {
167
- '!pr-0.5': hasExpansion,
168
- '!pr-3': !hasExpansion
169
- }),
170
- enableOrdering: false,
171
- enableSearch: false,
172
- enableTruncate: false,
173
- header: '',
174
- headerClassName: cn('items-center !justify-end !p-0', {
175
- '!pr-0.5': hasExpansion,
176
- '!pr-3': !hasExpansion
177
- })
178
- },
179
- // options
180
- enableResizing: false,
181
- size,
182
- minSize: size
183
- };
184
- }
185
-
186
- export { COLUMN_ID, createRowSelectionColumn };
187
- //# sourceMappingURL=Selection.js.map