@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 +0,0 @@
1
- {"version":3,"file":"Selection.js","sources":["../../../../../../../../../../src/components/Table3/components/columns/internal/Selection.tsx"],"sourcesContent":["import React from 'react';\nimport { HeaderContext, CellContext, DisplayColumnDef, TableMeta, RowSelectionState } from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { Checkbox } from '../../../../Checkbox/Checkbox';\nimport { Header as ColumnHeader } from '../header/Header';\nimport { DisplayCell } from '../cell/DisplayCell';\nimport { Tooltip } from '../../../../Tooltip/Tooltip';\nimport { useLocalization } from '../../../../Provider/Localization';\nimport { RowContext } from '../../rows/RowContext';\nimport { Footer } from '../footer/Footer';\nimport { getRadioClassnames } from '../../../../RadioGroup/util';\nimport { Shortcut } from '../../../../Shortcut/Shortcut';\nimport { TableServerLoadAllState } from '../../../../../primitives/Table/types';\n\nexport const COLUMN_ID = '__select';\n\nfunction Header<TType = unknown>(context: HeaderContext<TType, unknown>) {\n const { texts } = useLocalization();\n\n if (context.table.options.enableMultiRowSelection) {\n const isAllRowsSelected = context.table.getIsAllRowsSelected();\n const isSomeRowsSelected = context.table.getIsSomeRowsSelected();\n const title = isAllRowsSelected ? texts.table3.columns.select.deselectAll : texts.table3.columns.select.selectAll;\n const tableMeta = context.table.options.meta as TableMeta<TType>;\n const isServerloading = tableMeta.server.loadAllStatus === TableServerLoadAllState.Loading;\n const isLoadingAll = isAllRowsSelected && isServerloading;\n const isLoadingPreviousRows = tableMeta.rowSelection.lastSelectedRowIndex !== undefined && isServerloading;\n\n const toggleSelectAll = async () => {\n if (!isServerloading) {\n await tableMeta.server?.loadAllIfNeeded?.(\n context.table.getState().sorting,\n context.table.getState().columnFilters,\n undefined\n );\n context.table.toggleAllRowsSelected(!isAllRowsSelected);\n }\n };\n\n return (\n <ColumnHeader {...context}>\n <Tooltip title={title}>\n <Checkbox\n aria-label={title}\n className=\"hover:border-blue !mt-0\"\n key={String(`${isAllRowsSelected}_${isSomeRowsSelected}`)}\n checked={isAllRowsSelected}\n indeterminate={isSomeRowsSelected}\n onChange={toggleSelectAll}\n tabIndex={-1}\n loading={isLoadingAll || isLoadingPreviousRows}\n />\n </Tooltip>\n </ColumnHeader>\n );\n } else {\n return <ColumnHeader {...context}></ColumnHeader>;\n }\n}\n\nconst toggleBetween = (fromRowIndex: number, toRowIndex: number): [number, number] => {\n const fromIndex = toRowIndex < fromRowIndex ? toRowIndex : fromRowIndex;\n const toIndex = toRowIndex > fromRowIndex ? toRowIndex : fromRowIndex;\n\n return [fromIndex, toIndex];\n};\n\nconst Cell = React.memo(\n function MemoedCell<TType = unknown>(context: CellContext<TType, unknown>) {\n const { texts } = useLocalization();\n const { rowIndex } = React.useContext(RowContext);\n const tableMeta = context.table.options.meta as TableMeta<TType>;\n\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === rowIndex;\n const isSelected = context.row.getIsSelected();\n const title = isSelected ? texts.table3.columns.select.deselect : texts.table3.columns.select.select;\n\n const handleCheckboxClick = async (event: React.MouseEvent) => {\n event.stopPropagation();\n\n if (event.shiftKey) {\n const [fromIndex, toIndex] = toggleBetween(tableMeta.rowSelection.lastSelectedRowIndex.current ?? 0, rowIndex);\n\n const selectionRangeRows = context.table.getRowModel().rows.slice(fromIndex, toIndex + 1);\n\n // Table data loader filling-in all the rest of unloaded items with the undefined values,\n // so we can easily check if at least one of the rows in the selection range is undefined,\n // then it means that we need to call load all.\n const hasUndefinedRows = selectionRangeRows.some(row => row.original === undefined);\n\n if (hasUndefinedRows) {\n // We don't need to await and freeze UI\n await tableMeta.server?.loadAllIfNeeded?.(\n context.table.getState().sorting,\n context.table.getState().columnFilters,\n undefined\n );\n }\n\n const currentlySelected = context.table.getSelectedRowModel().rows;\n // concat currently selected with selection range and get rid of duplicates using \"Set\".\n const allSelected = [...new Set(currentlySelected.concat(selectionRangeRows))];\n // converting allSelected array into updater object: {[row.id]: true}\n const updater: RowSelectionState = allSelected.reduce((obj, row) => Object.assign(obj, { [row.id]: true }), {});\n\n context.table.setRowSelection(updater);\n } else {\n context.row.toggleSelected();\n }\n\n tableMeta.rowSelection.lastSelectedRowIndex.current = rowIndex;\n };\n\n if (context.table.options.enableMultiRowSelection) {\n return (\n <DisplayCell {...context}>\n <Tooltip\n title={\n <>\n {title}\n <Shortcut className=\"ml-2\" keys=\"Space\" />\n </>\n }>\n <Checkbox\n aria-label={title}\n className=\"!mt-0\"\n checked={isSelected}\n onClick={handleCheckboxClick}\n // this is necessary to remove console spam from eslint\n onChange={() => false}\n tabIndex={isActiveRow ? 0 : -1}\n />\n </Tooltip>\n </DisplayCell>\n );\n } else {\n const className = cn('!mt-0', getRadioClassnames());\n\n const handleClick = (event: React.MouseEvent): void => {\n event.stopPropagation();\n context.row.toggleSelected();\n tableMeta.rowSelection.lastSelectedRowIndex.current = rowIndex;\n };\n\n return (\n <DisplayCell {...context}>\n <button\n className={className}\n aria-checked={isSelected}\n onClick={handleClick}\n role=\"radio\"\n tabIndex={-1}\n type=\"button\">\n {isSelected ? <span className=\"h-2 w-2 rounded-full bg-white\" /> : null}\n </button>\n </DisplayCell>\n );\n }\n },\n function arePropsEqual(oldProps: CellContext<unknown, unknown>, newProps: CellContext<unknown, unknown>) {\n const oldTableMeta = oldProps.table.options.meta as TableMeta<unknown>;\n const newTableMeta = newProps.table.options.meta as TableMeta<unknown>;\n\n // we memo because we don't want the row re-rendering and removing focus from the checkbox\n // we can't default to the standard comparison because we need currentRow off the table meta\n // and we don't really care about re-rendering in any other scenario\n return (\n newTableMeta.rowActive.rowActiveIndex === oldTableMeta.rowActive.rowActiveIndex &&\n newProps.row.getIsSelected() !== oldProps.row.getIsSelected()\n );\n }\n) as <TType = unknown>(context: CellContext<TType, unknown>) => JSX.Element;\n\nexport function createRowSelectionColumn<TType = unknown>(\n hasDrag: boolean,\n hasExpansion: boolean\n): DisplayColumnDef<TType, unknown> {\n const size = hasDrag && hasExpansion ? 22 : 40;\n\n return {\n id: COLUMN_ID,\n header: Header,\n cell: Cell,\n footer: Footer,\n meta: {\n align: 'center',\n className: cn('!pt-[var(--table3-cell-padding-y)] !justify-end !p-0', {\n '!pr-0.5': hasExpansion,\n '!pr-3': !hasExpansion,\n }),\n enableOrdering: false,\n enableSearch: false,\n enableTruncate: false,\n header: '',\n headerClassName: cn('items-center !justify-end !p-0', { '!pr-0.5': hasExpansion, '!pr-3': !hasExpansion }),\n },\n // options\n enableResizing: false,\n size,\n minSize: size,\n };\n}\n"],"names":["COLUMN_ID","Header","context","texts","useLocalization","table","options","enableMultiRowSelection","isAllRowsSelected","getIsAllRowsSelected","isSomeRowsSelected","getIsSomeRowsSelected","title","table3","columns","select","deselectAll","selectAll","tableMeta","meta","isServerloading","server","loadAllStatus","TableServerLoadAllState","Loading","isLoadingAll","isLoadingPreviousRows","rowSelection","lastSelectedRowIndex","undefined","toggleSelectAll","_tableMeta$server","_tableMeta$server$loa","Promise","resolve","loadAllIfNeeded","call","getState","sorting","columnFilters","then","toggleAllRowsSelected","_temp","e","reject","React","ColumnHeader","Tooltip","Checkbox","className","key","String","checked","indeterminate","onChange","tabIndex","loading","toggleBetween","fromRowIndex","toRowIndex","fromIndex","toIndex","Cell","memo","MemoedCell","rowIndex","useContext","RowContext","isActiveRow","rowActive","rowActiveIndex","isSelected","row","getIsSelected","deselect","handleCheckboxClick","event","current","stopPropagation","_temp4","shiftKey","_tableMeta$rowSelecti","_temp3","currentlySelected","getSelectedRowModel","rows","allSelected","Set","concat","selectionRangeRows","updater","reduce","obj","Object","assign","id","setRowSelection","getRowModel","slice","hasUndefinedRows","some","original","_temp2","_tableMeta$server2","_tableMeta$server2$lo","toggleSelected","_temp5","DisplayCell","Shortcut","keys","onClick","cn","getRadioClassnames","handleClick","role","type","arePropsEqual","oldProps","newProps","oldTableMeta","newTableMeta","createRowSelectionColumn","hasDrag","hasExpansion","size","header","cell","footer","Footer","align","enableOrdering","enableSearch","enableTruncate","headerClassName","enableResizing","minSize"],"mappings":";;;;;;;;;;;;;MAcaA,SAAS,GAAG;AAEzB,SAASC,MAAMA,CAAkBC,OAAsC;EACnE,MAAM;IAAEC;GAAO,GAAGC,eAAe,EAAE;EAEnC,IAAIF,OAAO,CAACG,KAAK,CA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d6H,IAAI,EAAEhE,IAAI;IACViE,MAAM,EAAEC,MAAM;IACd7G,IAAI,EAAE;MACF8G,KAAK,EAAE,QAAQ;MACfhF,SAAS,EAAE8D,EAAE,CAAC,sDAAsD,EAAE;QAClE,SAAS,EAAEY,YAAY;QACvB,OAAO,EAAE,CAACA;OACb,CAAC;MACFO,cAAc,EAAE,KAAK;MACrBC,YAAY,EAAE,KAAK;MACnBC,cAAc,EAAE,KAAK;MACrBP,MAAM,EAAE,EAAE;MACVQ,eAAe,EAAEtB,EAAE,CAAC,gCAAgC,EAAE;QAAE,SAAS,EAAEY,YAAY;QAAE,OAAO,EAAE,CAACA;OAAc;KAC5G;;IAEDW,cAAc,EAAE,KAAK;IACrBV,IAAI;IACJW,OAAO,EAAEX;GACZ;AACL;;;;"}
@@ -1,19 +0,0 @@
1
- import cn from 'clsx';
2
- import { getCellMinWidth } from '../../../../primitives/Table/useTableManager/util/columns.js';
3
-
4
- const PRINT_MIN_COLUMN_SIZE = 20; // while printing, it accounts for minimum width each column can take
5
- const getCellAlignmentClasses = (alignment = 'left') => {
6
- return cn({
7
- 'justify-start text-left': alignment === 'left',
8
- 'justify-end text-right': alignment === 'right',
9
- 'justify-center text-center': alignment === 'center'
10
- });
11
- };
12
- const getFontBasedMinColumnSize = getCellMinWidth;
13
- // Hiding input number spin buttons
14
- const getInputAppearanceClassnames = () => {
15
- return cn('[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none');
16
- };
17
-
18
- export { PRINT_MIN_COLUMN_SIZE, getCellAlignmentClasses, getFontBasedMinColumnSize, getInputAppearanceClassnames };
19
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sources":["../../../../../../../../../src/components/Table3/components/columns/styles.ts"],"sourcesContent":["import cn from 'clsx';\nimport { Table3ColumnAlignment } from '../../types';\nimport { getCellMinWidth } from '../../../../primitives/Table/useTableManager/util/columns';\n\nexport const PRINT_MIN_COLUMN_SIZE = 20; // while printing, it accounts for minimum width each column can take\n\nexport const getCellAlignmentClasses = (alignment: Table3ColumnAlignment = 'left') => {\n return cn({\n 'justify-start text-left': alignment === 'left',\n 'justify-end text-right': alignment === 'right',\n 'justify-center text-center': alignment === 'center',\n });\n};\n\nexport const getFontBasedMinColumnSize = getCellMinWidth;\n\n// Hiding input number spin buttons\nexport const getInputAppearanceClassnames = () => {\n return cn(\n '[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none'\n );\n};\n"],"names":["PRINT_MIN_COLUMN_SIZE","getCellAlignmentClasses","alignment","cn","getFontBasedMinColumnSize","getCellMinWidth","getInputAppearanceClassnames"],"mappings":";;;MAIaA,qBAAqB,GAAG,GAAG;MAE3BC,uBAAuB,GAAGA,CAACC,YAAmC,MAAM;EAC7E,OAAOC,EAAE,CAAC;IACN,yBAAyB,EAAED,SAAS,KAAK,MAAM;IAC/C,wBAAwB,EAAEA,SAAS,KAAK,OAAO;IAC/C,4BAA4B,EAAEA,SAAS,KAAK;GAC/C,CAAC;AACN;MAEaE,yBAAyB,GAAGC;AAEzC;MACaC,4BAA4B,GAAGA;EACxC,OAAOH,EAAE,CACL,sHAAsH,CACzH;AACL;;;;"}
@@ -1,27 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const ExpandedRow = /*#__PURE__*/React__default.memo(function ExpandedRow(props) {
4
- var _renderer;
5
- const {
6
- data,
7
- renderer,
8
- registerSize
9
- } = props;
10
- const ref = React__default.useRef(null);
11
- React__default.useEffect(() => {
12
- if (ref.current && registerSize) {
13
- registerSize(ref.current.getBoundingClientRect().height);
14
- }
15
- }, []);
16
- const content = (_renderer = renderer(data)) === null || _renderer === void 0 ? void 0 : _renderer();
17
- if (!content) {
18
- return null;
19
- }
20
- return /*#__PURE__*/React__default.createElement("div", {
21
- className: "border-grey-300 bg-grey-50 col-span-full border-b p-4",
22
- ref: ref
23
- }, content);
24
- });
25
-
26
- export { ExpandedRow };
27
- //# sourceMappingURL=ExpandedRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExpandedRow.js","sources":["../../../../../../../../../src/components/Table3/components/rows/ExpandedRow.tsx"],"sourcesContent":["import React from 'react';\nimport { Table3RowExpansionRenderer } from '../../types';\n\nexport type ExpandedRowProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {\n data: TType;\n renderer: Table3RowExpansionRenderer<TType>;\n registerSize?: (size: number) => void;\n};\n\nexport const ExpandedRow = React.memo(function ExpandedRow<TType = unknown>(props: ExpandedRowProps<TType>) {\n const { data, renderer, registerSize } = props;\n const ref = React.useRef<HTMLDivElement>(null);\n\n React.useEffect(() => {\n if (ref.current && registerSize) {\n registerSize(ref.current.getBoundingClientRect().height);\n }\n }, []);\n\n const content = renderer(data)?.();\n\n if (!content) {\n return null;\n }\n\n return (\n <div className=\"border-grey-300 bg-grey-50 col-span-full border-b p-4\" ref={ref}>\n {content}\n </div>\n );\n});\n"],"names":["ExpandedRow","React","memo","props","data","renderer","registerSize","ref","useRef","useEffect","current","getBoundingClientRect","height","content","_renderer","className"],"mappings":";;MASaA,WAAW,gBAAGC,cAAK,CAACC,IAAI,CAAC,SAASF,WAAWA,CAAkBG,KAA8B;;EACtG,MAAM;IAAEC,IAAI;IAAEC,QAAQ;IAAEC;GAAc,GAAGH,KAAK;EAC9C,MAAMI,GAAG,GAAGN,cAAK,CAACO,MAAM,CAAiB,IAAI,CAAC;EAE9CP,cAAK,CAACQ,SAAS,CAAC;IACZ,IAAIF,GAAG,CAACG,OAAO,IAAIJ,YAAY,EAAE;MAC7BA,YAAY,CAACC,GAAG,CAACG,OAAO,CAACC,qBAAqB,EAAE,CAACC,MAAM,CAAC;;GAE/D,EAAE,EAAE,CAAC;EAEN,MAAMC,OAAO,IAAAC,SAAA,GAAGT,QAAQ,CAACD,IAAI,CAAC,cAAAU,SAAA,uBAAdA,SAAA,EAAkB;EAElC,IAAI,CAACD,OAAO,EAAE;IACV,OAAO,IAAI;;EAGf,oBACIZ;IAAKc,SAAS,EAAC,uDAAuD;IAACR,GAAG,EAAEA;KACvEM,OAAO,CACN;AAEd,CAAC;;;;"}
@@ -1,327 +0,0 @@
1
- import React__default from 'react';
2
- import cn from 'clsx';
3
- import { useFocusManager } from '@react-aria/focus';
4
- import { useDropTarget } from '../../../../utils/hooks/useDropTarget.js';
5
- import { RowContext, useRowContext } from './RowContext.js';
6
- import { focusableSelector, getColumnIndex, LastCellIndex } from '../../util/editing.js';
7
-
8
- const FOCUS_MANAGER_OPTIONS = {
9
- tabbable: true,
10
- // Filter out all focusable elelemnts which are not in current row
11
- accept: element => !!element.closest('[role="row"][data-current="true"]')
12
- };
13
- function Row(props) {
14
- var _tableMeta$validation, _tableMeta$validation2;
15
- const focusManager = useFocusManager();
16
- const tableMeta = props.table.options.meta;
17
- const isActiveRow = tableMeta.rowActive.rowActiveIndex === props.index;
18
- const isDraggingRow = tableMeta.rowDrag.dragging[props.row.id];
19
- const isFirstRow = props.index === 0;
20
- // we use non-css hovered state to determine whether to render actions or not, for performance
21
- const [isHovered, setIsHovered] = React__default.useState(false);
22
- // tab behaviour is consistent across normal mode and edit mode, handle it here
23
- const handleKeyDown = event => {
24
- if (event.isDefaultPrevented() || event.isPropagationStopped()) {
25
- return;
26
- }
27
- if (event.key === 'Tab') {
28
- tableMeta.rowActive.setHoverStatePaused(true);
29
- let focusedElement;
30
- if (event.shiftKey) {
31
- // looping backwards
32
- focusedElement = focusManager.focusPrevious(FOCUS_MANAGER_OPTIONS);
33
- if (focusedElement) {
34
- // override default behaviour, since we're handling focus internally now
35
- event.preventDefault();
36
- } else {
37
- // there are no previous elements to focus, go up a row or go outside the table
38
- if (!isFirstRow) {
39
- event.preventDefault();
40
- tableMeta.rowActive.setRowActiveIndex(props.index - 1);
41
- setTimeout(() => focusManager.focusLast(FOCUS_MANAGER_OPTIONS), 1);
42
- }
43
- }
44
- } else {
45
- // looping forwards
46
- focusedElement = focusManager.focusNext(FOCUS_MANAGER_OPTIONS);
47
- if (focusedElement) {
48
- // override default behaviour, since we're handling focus internally now
49
- event.preventDefault();
50
- } else {
51
- // there are no next elements to focus, go down a row or go outside the table
52
- if (!props.isLastRow) {
53
- event.preventDefault();
54
- tableMeta.rowActive.setRowActiveIndex(props.index + 1);
55
- setTimeout(() => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS), 1);
56
- }
57
- }
58
- }
59
- }
60
- };
61
- const hasError = !!Object.keys((_tableMeta$validation = (_tableMeta$validation2 = tableMeta.validation.errors) === null || _tableMeta$validation2 === void 0 ? void 0 : _tableMeta$validation2[props.row.id]) !== null && _tableMeta$validation !== void 0 ? _tableMeta$validation : {}).length;
62
- // rows are heavily memoized because performance in our table is critical
63
- // be careful and selective about props that you pass to the row
64
- const memoedProps = {
65
- data: props.row.original,
66
- // aria-grabbed is being deprecated but there is no current alternative api, we use it until there is
67
- 'aria-grabbed': isDraggingRow ? true : tableMeta.rowDrag.isEnabled ? false : undefined,
68
- 'data-current': isActiveRow,
69
- 'data-selected': props.row.getIsSelected(),
70
- 'data-invalid': hasError,
71
- draggable: tableMeta.rowDrag.isEnabled,
72
- index: props.index,
73
- onClick: tableMeta.rowClick.handleClick,
74
- onDrop: tableMeta.rowDrop.isEnabled ? tableMeta.rowDrop.handleDrop : undefined
75
- };
76
- let output = /*#__PURE__*/React__default.createElement(MemoedRow, Object.assign({}, props, memoedProps, {
77
- onKeyDown: handleKeyDown
78
- }));
79
- if (tableMeta.editing.isEditing && (isActiveRow || isHovered && !tableMeta.rowActive.isHoverStatePaused)) {
80
- output = /*#__PURE__*/React__default.createElement(EditingRow, Object.assign({}, props, memoedProps, {
81
- isFirstRow: isFirstRow,
82
- setActiveRowIndex: tableMeta.rowActive.setRowActiveIndex
83
- }));
84
- }
85
- // we store the row index in context because in a virtualised table the row index and the
86
- // react table row index do not match when, for example, sorting is applied
87
- const contextValue = React__default.useMemo(() => ({
88
- isHovered,
89
- setIsHovered,
90
- rowIndex: props.index,
91
- hasError
92
- }), [isHovered, hasError, props.index]);
93
- return /*#__PURE__*/React__default.createElement(RowContext.Provider, {
94
- value: contextValue
95
- }, output);
96
- }
97
- // turns out we might need some kind of "state" for the focused column, but it doesn't need to be react state that re-renders
98
- const lastCellIndex = /*#__PURE__*/new LastCellIndex();
99
- // This code is needed to avoid multiple rows being hovered at the same time (it happens since we use non-css hovering)
100
- let previouslyHoveredIndex;
101
- const unhoverPreviousRow = tableRef => {
102
- if (previouslyHoveredIndex !== undefined) {
103
- var _tableRef$current;
104
- const mouseoutEvent = new MouseEvent('mouseout', {
105
- view: window,
106
- bubbles: true,
107
- cancelable: true
108
- });
109
- const previouslyHovered = tableRef === null || tableRef === void 0 ? void 0 : (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.querySelector(`[data-row-index="${previouslyHoveredIndex}"]`);
110
- previouslyHovered === null || previouslyHovered === void 0 ? void 0 : previouslyHovered.dispatchEvent(mouseoutEvent);
111
- }
112
- };
113
- function EditingRow(props) {
114
- const {
115
- isFirstRow,
116
- isLastRow,
117
- onKeyDown,
118
- setActiveRowIndex,
119
- virtualiser,
120
- ...attributes
121
- } = props;
122
- const focusManager = useFocusManager();
123
- const tableMeta = props.table.options.meta;
124
- const handleClickCapture = event => {
125
- lastCellIndex.value = getColumnIndex(event.target);
126
- };
127
- const handleNavigationBackwards = event => {
128
- let focusedElement;
129
- if (event.key === 'ArrowLeft' || event.key === 'Tab' && event.shiftKey) {
130
- // We need to perform special behaviour when focus reaches the end of the row,
131
- // so we don't need default browser behaviour.
132
- event.stopPropagation();
133
- event.preventDefault();
134
- tableMeta.rowActive.setHoverStatePaused(true);
135
- // "CTRL + ArrowLeft" or "META + ArrowLeft" should focus first focusable element of the row
136
- if (event.ctrlKey || event.metaKey) {
137
- event.target.blur();
138
- focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);
139
- lastCellIndex.value = getColumnIndex(focusedElement);
140
- } else {
141
- // looping backwards
142
- focusedElement = focusManager.focusPrevious(FOCUS_MANAGER_OPTIONS);
143
- if (focusedElement) {
144
- lastCellIndex.value = getColumnIndex(focusedElement);
145
- } else {
146
- // there are no previous elements to focus, go up a row (if there are rows above)
147
- if (!isFirstRow || !event.currentTarget.contains(focusedElement)) {
148
- event.preventDefault();
149
- tableMeta.rowActive.setHoverStatePaused(true);
150
- tableMeta.rowActive.setRowActiveIndex(props.index - 1);
151
- setTimeout(() => {
152
- focusedElement = focusManager.focusLast(FOCUS_MANAGER_OPTIONS);
153
- // Need to update lastIndex when row got changed and last element got selected.
154
- lastCellIndex.value = getColumnIndex(focusedElement);
155
- }, 1);
156
- }
157
- }
158
- }
159
- }
160
- };
161
- const handleNavigationForward = event => {
162
- let focusedElement;
163
- if (event.key === 'ArrowRight' || event.key === 'Tab' && !event.shiftKey) {
164
- // We need to perform special behaviour when focus reaches the end of the row,
165
- // so we don't need default browser behaviour.
166
- event.stopPropagation();
167
- event.preventDefault();
168
- tableMeta.rowActive.setHoverStatePaused(true);
169
- // "CTRL + ArrowRight" or "META + ArrowRight" should focus last focusable element of the row
170
- if (event.ctrlKey || event.metaKey) {
171
- event.target.blur();
172
- focusedElement = focusManager.focusLast(FOCUS_MANAGER_OPTIONS);
173
- lastCellIndex.value = getColumnIndex(focusedElement);
174
- } else {
175
- // looping forwards
176
- focusedElement = focusManager.focusNext(FOCUS_MANAGER_OPTIONS);
177
- if (focusedElement) {
178
- lastCellIndex.value = getColumnIndex(focusedElement);
179
- } else {
180
- // there are no next elements to focus, go down a row or go outside the table
181
- if (!props.isLastRow && !event.currentTarget.contains(focusedElement)) {
182
- event.preventDefault();
183
- tableMeta.rowActive.setHoverStatePaused(true);
184
- tableMeta.rowActive.setRowActiveIndex(props.index + 1);
185
- setTimeout(() => {
186
- focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);
187
- // Need to update lastIndex when row got changed and last element got selected.
188
- lastCellIndex.value = getColumnIndex(focusedElement);
189
- }, 1);
190
- }
191
- }
192
- }
193
- }
194
- };
195
- React__default.useEffect(() => {
196
- // if some row stuck in hovered state, we heed to unhover it when hover state is paused
197
- if (tableMeta.rowActive.isHoverStatePaused) {
198
- unhoverPreviousRow(props.tableRef);
199
- }
200
- }, [tableMeta.rowActive.isHoverStatePaused]);
201
- const handleKeyDown = event => {
202
- if (event.isDefaultPrevented() || event.isPropagationStopped() || tableMeta.editing.detailModeEditing || tableMeta.shortcutsState.isPaused) {
203
- return;
204
- }
205
- handleNavigationBackwards(event);
206
- handleNavigationForward(event);
207
- };
208
- // this ensures we focus either on a field or on the same column when keyboard navigating up/down
209
- React__default.useEffect(() => {
210
- // When table in searching state, whe should prevent editing control to be focused, because it will cause search field to loose focus.
211
- // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel
212
- if (tableMeta.rowActive.rowActiveIndex === props.index && !tableMeta.search.isSearching) {
213
- if (lastCellIndex.value !== null) {
214
- var _props$tableRef$curre;
215
- const lastCellElement = (_props$tableRef$curre = props.tableRef.current) === null || _props$tableRef$curre === void 0 ? void 0 : _props$tableRef$curre.querySelector(`[role="row"][data-current="true"] [data-column-index="${lastCellIndex.value}"]`);
216
- const focusableElement = lastCellElement === null || lastCellElement === void 0 ? void 0 : lastCellElement.querySelector(focusableSelector);
217
- if (focusableElement) {
218
- focusableElement.focus();
219
- // if we found a cell but it doesn't contain focusable element, then we'll focus the first one in a row.
220
- } else if (lastCellElement) {
221
- const focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);
222
- lastCellIndex.value = getColumnIndex(focusedElement);
223
- }
224
- } else {
225
- const focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);
226
- lastCellIndex.value = getColumnIndex(focusedElement);
227
- }
228
- }
229
- // Need to subscribe to current row index and check is it a current row,
230
- // for a situation where hovered row is the next row after current row...
231
- // In this case row will not be re-rendered if user switch to next row, because hovered row also renders EditingRow.
232
- // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel
233
- }, [tableMeta.rowActive.rowActiveIndex, tableMeta.search.isSearching]);
234
- return /*#__PURE__*/React__default.createElement(MemoedRow, Object.assign({}, attributes, {
235
- onClickCapture: handleClickCapture,
236
- onKeyDown: handleKeyDown
237
- }));
238
- }
239
- const clickableElements = ['input', 'button', 'a', 'select', 'option', 'label', 'textarea'];
240
- const MemoedRow = /*#__PURE__*/React__default.memo(function MemoedRow(props) {
241
- const {
242
- data,
243
- index,
244
- isLastRow: _1,
245
- measureRef,
246
- onClick,
247
- onClickCapture,
248
- onDrop,
249
- row,
250
- table,
251
- tableRef,
252
- ...attributes
253
- } = props;
254
- const ref = React__default.useRef(null);
255
- const tableMeta = table.options.meta;
256
- const {
257
- setIsHovered
258
- } = useRowContext();
259
- // we measure the first cell (since the row has display: contents) so that the virtualiser height is correct
260
- React__default.useEffect(() => {
261
- var _ref$current;
262
- const firstCell = (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.querySelector('[role=cell]:first-child');
263
- if (firstCell) {
264
- measureRef(firstCell);
265
- }
266
- }, [ref.current]);
267
- // we use capture because it also picks up clicks on e.g. select checkboxes
268
- const handleClickCapture = event => {
269
- if (typeof onClickCapture === 'function') {
270
- onClickCapture(event);
271
- }
272
- // do this in the next frame, otherwise it remounts the row and prevents row actions on hover from being clickable
273
- requestAnimationFrame(() => tableMeta.rowActive.setRowActiveIndex(index));
274
- };
275
- const handleClick = event => {
276
- if (typeof onClick === 'function') {
277
- var _ref$current2;
278
- const clickedElement = event.target;
279
- if (!((_ref$current2 = ref.current) !== null && _ref$current2 !== void 0 && _ref$current2.contains(event.target)) || clickableElements.includes(clickedElement.tagName.toLowerCase()) || clickedElement.closest(clickableElements.map(tag => `[role=row] ${tag}`).join(','))) {
280
- return;
281
- }
282
- onClick(event, data);
283
- }
284
- };
285
- const handleMouseEnter = () => {
286
- // When user moving mouse to fast, then some of the rows are getting stuck in hover state,
287
- // because mouseleave event never got triggered, to avoid this to happen we're saving the index of last hovered row,
288
- // so that we can unhover it when new row got hovered, and saving it in a variable outside of react to save in performance,
289
- // since it would be very performance heavy to use state which is bound to mouse events.
290
- if (previouslyHoveredIndex !== undefined) {
291
- if (previouslyHoveredIndex !== index) {
292
- unhoverPreviousRow(tableRef);
293
- previouslyHoveredIndex = index;
294
- }
295
- } else {
296
- previouslyHoveredIndex = index;
297
- }
298
- setIsHovered(true);
299
- };
300
- const handleMouseLeave = () => {
301
- if (previouslyHoveredIndex === index) {
302
- previouslyHoveredIndex = undefined;
303
- }
304
- setIsHovered(false);
305
- };
306
- const [isDraggedOver, dropTargetProps] = useDropTarget(event => onDrop === null || onDrop === void 0 ? void 0 : onDrop(event, row.original));
307
- const className = cn('group/row contents',
308
- // resizing column requires dragging, which means the mouse might (on rare occasions) move over rows and trigger hover state
309
- // that in turn triggers rendering of e.g. row actions, which could cause janky ui - so don't allow mouse interaction when resizing
310
- '[[role="table"][data-resizing="true"]_&]:pointer-events-none', {
311
- 'hover:cursor-pointer': typeof onClick === 'function'
312
- });
313
- return /*#__PURE__*/React__default.createElement("div", Object.assign({}, attributes, onDrop ? dropTargetProps : undefined, {
314
- className: className,
315
- "data-row-index": index,
316
- "data-dragged-over": isDraggedOver,
317
- onClick: handleClick,
318
- onClickCapture: handleClickCapture,
319
- onMouseEnter: handleMouseEnter,
320
- onMouseLeave: handleMouseLeave,
321
- role: "row",
322
- ref: ref
323
- }));
324
- });
325
-
326
- export { Row, lastCellIndex };
327
- //# sourceMappingURL=Row.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Row.js","sources":["../../../../../../../../../src/components/Table3/components/rows/Row.tsx"],"sourcesContent":["import React from 'react';\nimport { Row as RTRow, Table as RTable, TableMeta } from '@tanstack/react-table';\nimport cn from 'clsx';\nimport { RowContext, useRowContext } from './RowContext';\nimport { useDropTarget } from '../../../../utils/hooks/useDropTarget';\nimport { Table3RowClickHandler, Table3RowDropHandler } from '../../types';\nimport { useFocusManager } from '@react-aria/focus';\nimport { LastCellIndex, focusableSelector, getColumnIndex } from '../../util/editing';\n\nconst FOCUS_MANAGER_OPTIONS = {\n tabbable: true,\n // Filter out all focusable elelemnts which are not in current row\n accept: (element: Element) => !!element.closest('[role=\"row\"][data-current=\"true\"]'),\n};\n\ntype RowProps<TType = unknown> = Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onDrop'> & {\n index: number;\n isLastRow: boolean;\n measureRef: (el: HTMLElement | null) => void;\n onClick?: Table3RowClickHandler<TType>;\n onDrop?: Table3RowDropHandler<TType>;\n row: RTRow<TType>;\n table: RTable<TType>;\n tableRef: React.RefObject<HTMLDivElement>;\n};\n\nexport function Row<TType = unknown>(props: RowProps<TType>) {\n const focusManager = useFocusManager();\n const tableMeta = props.table.options.meta as TableMeta<TType>;\n const isActiveRow = tableMeta.rowActive.rowActiveIndex === props.index;\n const isDraggingRow = tableMeta.rowDrag.dragging[props.row.id];\n const isFirstRow = props.index === 0;\n // we use non-css hovered state to determine whether to render actions or not, for performance\n const [isHovered, setIsHovered] = React.useState(false);\n\n // tab behaviour is consistent across normal mode and edit mode, handle it here\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (event.isDefaultPrevented() || event.isPropagationStopped()) {\n return;\n }\n\n if (event.key === 'Tab') {\n tableMeta.rowActive.setHoverStatePaused(true);\n let focusedElement: Element;\n\n if (event.shiftKey) {\n // looping backwards\n focusedElement = focusManager.focusPrevious(FOCUS_MANAGER_OPTIONS);\n\n if (focusedElement) {\n // override default behaviour, since we're handling focus internally now\n event.preventDefault();\n } else {\n // there are no previous elements to focus, go up a row or go outside the table\n if (!isFirstRow) {\n event.preventDefault();\n tableMeta.rowActive.setRowActiveIndex(props.index - 1);\n setTimeout(() => focusManager.focusLast(FOCUS_MANAGER_OPTIONS), 1);\n }\n }\n } else {\n // looping forwards\n focusedElement = focusManager.focusNext(FOCUS_MANAGER_OPTIONS);\n\n if (focusedElement) {\n // override default behaviour, since we're handling focus internally now\n event.preventDefault();\n } else {\n // there are no next elements to focus, go down a row or go outside the table\n if (!props.isLastRow) {\n event.preventDefault();\n tableMeta.rowActive.setRowActiveIndex(props.index + 1);\n setTimeout(() => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS), 1);\n }\n }\n }\n }\n };\n const hasError = !!Object.keys(tableMeta.validation.errors?.[props.row.id] ?? {}).length;\n\n // rows are heavily memoized because performance in our table is critical\n // be careful and selective about props that you pass to the row\n const memoedProps = {\n data: props.row.original,\n // aria-grabbed is being deprecated but there is no current alternative api, we use it until there is\n 'aria-grabbed': isDraggingRow ? true : tableMeta.rowDrag.isEnabled ? false : undefined,\n 'data-current': isActiveRow,\n 'data-selected': props.row.getIsSelected(),\n 'data-invalid': hasError,\n draggable: tableMeta.rowDrag.isEnabled,\n index: props.index,\n onClick: tableMeta.rowClick.handleClick,\n onDrop: tableMeta.rowDrop.isEnabled ? tableMeta.rowDrop.handleDrop : undefined,\n };\n\n let output = <MemoedRow<TType> {...props} {...memoedProps} onKeyDown={handleKeyDown} />;\n\n if (tableMeta.editing.isEditing && (isActiveRow || (isHovered && !tableMeta.rowActive.isHoverStatePaused))) {\n output = (\n <EditingRow\n {...props}\n {...memoedProps}\n isFirstRow={isFirstRow}\n setActiveRowIndex={tableMeta.rowActive.setRowActiveIndex}\n />\n );\n }\n\n // we store the row index in context because in a virtualised table the row index and the\n // react table row index do not match when, for example, sorting is applied\n const contextValue = React.useMemo(\n () => ({ isHovered, setIsHovered, rowIndex: props.index, hasError }),\n [isHovered, hasError, props.index]\n );\n\n return <RowContext.Provider value={contextValue}>{output}</RowContext.Provider>;\n}\n\n// turns out we might need some kind of \"state\" for the focused column, but it doesn't need to be react state that re-renders\nexport const lastCellIndex = new LastCellIndex();\n\n// This code is needed to avoid multiple rows being hovered at the same time (it happens since we use non-css hovering)\nlet previouslyHoveredIndex: number | undefined;\nconst unhoverPreviousRow = (tableRef: React.RefObject<HTMLDivElement>) => {\n if (previouslyHoveredIndex !== undefined) {\n const mouseoutEvent = new MouseEvent('mouseout', { view: window, bubbles: true, cancelable: true });\n const previouslyHovered = tableRef?.current?.querySelector(`[data-row-index=\"${previouslyHoveredIndex}\"]`);\n previouslyHovered?.dispatchEvent(mouseoutEvent);\n }\n};\n\nfunction EditingRow(props) {\n const { isFirstRow, isLastRow, onKeyDown, setActiveRowIndex, virtualiser, ...attributes } = props;\n const focusManager = useFocusManager();\n const tableMeta = props.table.options.meta as TableMeta<unknown>;\n\n const handleClickCapture = (event: React.FocusEvent) => {\n lastCellIndex.value = getColumnIndex(event.target);\n };\n\n const handleNavigationBackwards = event => {\n let focusedElement: Element;\n\n if (event.key === 'ArrowLeft' || (event.key === 'Tab' && event.shiftKey)) {\n // We need to perform special behaviour when focus reaches the end of the row,\n // so we don't need default browser behaviour.\n event.stopPropagation();\n event.preventDefault();\n tableMeta.rowActive.setHoverStatePaused(true);\n\n // \"CTRL + ArrowLeft\" or \"META + ArrowLeft\" should focus first focusable element of the row\n if (event.ctrlKey || event.metaKey) {\n event.target.blur();\n focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);\n lastCellIndex.value = getColumnIndex(focusedElement);\n } else {\n // looping backwards\n focusedElement = focusManager.focusPrevious(FOCUS_MANAGER_OPTIONS);\n\n if (focusedElement) {\n lastCellIndex.value = getColumnIndex(focusedElement);\n } else {\n // there are no previous elements to focus, go up a row (if there are rows above)\n if (!isFirstRow || !event.currentTarget.contains(focusedElement)) {\n event.preventDefault();\n tableMeta.rowActive.setHoverStatePaused(true);\n tableMeta.rowActive.setRowActiveIndex(props.index - 1);\n setTimeout(() => {\n focusedElement = focusManager.focusLast(FOCUS_MANAGER_OPTIONS);\n // Need to update lastIndex when row got changed and last element got selected.\n lastCellIndex.value = getColumnIndex(focusedElement);\n }, 1);\n }\n }\n }\n }\n };\n\n const handleNavigationForward = event => {\n let focusedElement: Element;\n\n if (event.key === 'ArrowRight' || (event.key === 'Tab' && !event.shiftKey)) {\n // We need to perform special behaviour when focus reaches the end of the row,\n // so we don't need default browser behaviour.\n event.stopPropagation();\n event.preventDefault();\n tableMeta.rowActive.setHoverStatePaused(true);\n\n // \"CTRL + ArrowRight\" or \"META + ArrowRight\" should focus last focusable element of the row\n if (event.ctrlKey || event.metaKey) {\n event.target.blur();\n focusedElement = focusManager.focusLast(FOCUS_MANAGER_OPTIONS);\n lastCellIndex.value = getColumnIndex(focusedElement);\n } else {\n // looping forwards\n focusedElement = focusManager.focusNext(FOCUS_MANAGER_OPTIONS);\n\n if (focusedElement) {\n lastCellIndex.value = getColumnIndex(focusedElement);\n } else {\n // there are no next elements to focus, go down a row or go outside the table\n if (!props.isLastRow && !event.currentTarget.contains(focusedElement)) {\n event.preventDefault();\n tableMeta.rowActive.setHoverStatePaused(true);\n tableMeta.rowActive.setRowActiveIndex(props.index + 1);\n setTimeout(() => {\n focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);\n // Need to update lastIndex when row got changed and last element got selected.\n lastCellIndex.value = getColumnIndex(focusedElement);\n }, 1);\n }\n }\n }\n }\n };\n\n React.useEffect(() => {\n // if some row stuck in hovered state, we heed to unhover it when hover state is paused\n if (tableMeta.rowActive.isHoverStatePaused) {\n unhoverPreviousRow(props.tableRef);\n }\n }, [tableMeta.rowActive.isHoverStatePaused]);\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (\n event.isDefaultPrevented() ||\n event.isPropagationStopped() ||\n tableMeta.editing.detailModeEditing ||\n tableMeta.shortcutsState.isPaused\n ) {\n return;\n }\n\n handleNavigationBackwards(event);\n handleNavigationForward(event);\n };\n\n // this ensures we focus either on a field or on the same column when keyboard navigating up/down\n React.useEffect(() => {\n // When table in searching state, whe should prevent editing control to be focused, because it will cause search field to loose focus.\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n if (tableMeta.rowActive.rowActiveIndex === props.index && !tableMeta.search.isSearching) {\n if (lastCellIndex.value !== null) {\n const lastCellElement = props.tableRef.current?.querySelector(\n `[role=\"row\"][data-current=\"true\"] [data-column-index=\"${lastCellIndex.value}\"]`\n );\n const focusableElement = lastCellElement?.querySelector(focusableSelector);\n if (focusableElement) {\n focusableElement.focus();\n // if we found a cell but it doesn't contain focusable element, then we'll focus the first one in a row.\n } else if (lastCellElement) {\n const focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);\n lastCellIndex.value = getColumnIndex(focusedElement);\n }\n } else {\n const focusedElement = focusManager.focusFirst(FOCUS_MANAGER_OPTIONS);\n lastCellIndex.value = getColumnIndex(focusedElement);\n }\n }\n // Need to subscribe to current row index and check is it a current row,\n // for a situation where hovered row is the next row after current row...\n // In this case row will not be re-rendered if user switch to next row, because hovered row also renders EditingRow.\n // @ts-expect-error: fixing type issue while report and table3 TableMeta definitions live in parallel\n }, [tableMeta.rowActive.rowActiveIndex, tableMeta.search.isSearching]);\n\n return <MemoedRow {...attributes} onClickCapture={handleClickCapture} onKeyDown={handleKeyDown} />;\n}\n\n// Memoization\n\nexport type MemoedRowProps<TType = unknown> = Omit<RowProps<TType>, 'onClick'> & {\n data: TType;\n 'aria-grabbed'?: boolean;\n 'data-current': boolean;\n 'data-selected': boolean;\n draggable: boolean;\n index: number;\n onClick: any; //(event: React.MouseEvent<HTMLElement,MouseEvent>, data: unknown) => void;\n};\n\nconst clickableElements = ['input', 'button', 'a', 'select', 'option', 'label', 'textarea'];\n\nconst MemoedRow = React.memo(function MemoedRow<TType = unknown>(props: MemoedRowProps<TType>) {\n const {\n data,\n index,\n isLastRow: _1,\n measureRef,\n onClick,\n onClickCapture,\n onDrop,\n row,\n table,\n tableRef,\n ...attributes\n } = props;\n const ref = React.useRef<HTMLDivElement | null>(null);\n const tableMeta = table.options.meta as TableMeta<TType>;\n const { setIsHovered } = useRowContext();\n\n // we measure the first cell (since the row has display: contents) so that the virtualiser height is correct\n React.useEffect(() => {\n const firstCell = ref.current?.querySelector('[role=cell]:first-child');\n\n if (firstCell) {\n measureRef(firstCell as HTMLElement);\n }\n }, [ref.current]);\n\n // we use capture because it also picks up clicks on e.g. select checkboxes\n const handleClickCapture = (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => {\n if (typeof onClickCapture === 'function') {\n onClickCapture(event);\n }\n\n // do this in the next frame, otherwise it remounts the row and prevents row actions on hover from being clickable\n requestAnimationFrame(() => tableMeta.rowActive.setRowActiveIndex(index));\n };\n\n const handleClick = (event: React.MouseEvent<HTMLDivElement>) => {\n if (typeof onClick === 'function') {\n const clickedElement = event.target as HTMLElement;\n\n if (\n !ref.current?.contains(event.target as HTMLElement) ||\n clickableElements.includes(clickedElement.tagName.toLowerCase()) ||\n clickedElement.closest(clickableElements.map(tag => `[role=row] ${tag}`).join(','))\n ) {\n return;\n }\n\n onClick(event, data);\n }\n };\n\n const handleMouseEnter = () => {\n // When user moving mouse to fast, then some of the rows are getting stuck in hover state,\n // because mouseleave event never got triggered, to avoid this to happen we're saving the index of last hovered row,\n // so that we can unhover it when new row got hovered, and saving it in a variable outside of react to save in performance,\n // since it would be very performance heavy to use state which is bound to mouse events.\n if (previouslyHoveredIndex !== undefined) {\n if (previouslyHoveredIndex !== index) {\n unhoverPreviousRow(tableRef);\n previouslyHoveredIndex = index;\n }\n } else {\n previouslyHoveredIndex = index;\n }\n setIsHovered(true);\n };\n const handleMouseLeave = () => {\n if (previouslyHoveredIndex === index) {\n previouslyHoveredIndex = undefined;\n }\n setIsHovered(false);\n };\n\n const [isDraggedOver, dropTargetProps] = useDropTarget(event => onDrop?.(event, row.original));\n\n const className = cn(\n 'group/row contents',\n // resizing column requires dragging, which means the mouse might (on rare occasions) move over rows and trigger hover state\n // that in turn triggers rendering of e.g. row actions, which could cause janky ui - so don't allow mouse interaction when resizing\n '[[role=\"table\"][data-resizing=\"true\"]_&]:pointer-events-none',\n {\n 'hover:cursor-pointer': typeof onClick === 'function',\n }\n );\n\n return (\n <div\n {...attributes}\n {...(onDrop ? dropTargetProps : undefined)}\n className={className}\n data-row-index={index}\n data-dragged-over={isDraggedOver}\n onClick={handleClick}\n onClickCapture={handleClickCapture}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n role=\"row\"\n ref={ref}\n />\n );\n}) as <TType = unknown>(props: MemoedRowProps<TType>) => JSX.Element;\n"],"names":["FOCUS_MANAGER_OPTIONS","tabbable","accept","element","closest","Row","props","focusManager","useFocusManager","tableMeta","table","options","meta","isActiveRow","rowActive","rowActiveIndex","index","isDraggingRow","rowDrag","dragging","row","id","isFirstRow","isHovered","setIsHovered","React","useState","handleKeyDown","event","isDefaultPrevented","isPropagationStopped","key","setHoverStatePaused","focusedElement","shiftKey","focusPrevious","preventDefault","setRowActiveIndex","setTimeout","focusLast","focusNext","isLastRow","focusFirst","hasError","Object","keys","_tableMeta$validation","_tableMeta$validation2","validation","errors","length","memoedProps","data","original","isEnabled","undefined","getIsSelected","draggable","onClick","rowClick","handleClick","onDrop","rowDrop","handleDrop","output","MemoedRow","onKeyDown","editing","isEditing","isHoverStatePaused","EditingRow","setActiveRowIndex","contextValue","useMemo","rowIndex","RowContext","Provider","value","lastCellIndex","LastCellIndex","previouslyHoveredIndex","unhoverPreviousRow","tableRef","_tableRef$current","mouseoutEvent","MouseEvent","view","window","bubbles","cancelable","previouslyHovered","current","querySelector","dispatchEvent","virtualiser","attributes","handleClickCapture","getColumnIndex","target","handleNavigationBackwards","stopPropagation","ctrlKey","metaKey","blur","currentTarget","contains","handleNavigationForward","useEffect","detailModeEditing","shortcutsState","isPaused","search","isSearching","_props$tableRef$curre","lastCellElement","focusableElement","focusableSelector","focus","onClickCapture","clickableElements","memo","_1","measureRef","ref","useRef","useRowContext","firstCell","_ref$current","requestAnimationFrame","_ref$current2","clickedElement","includes","tagName","toLowerCase","map","tag","join","handleMouseEnter","handleMouseLeave","isDraggedOver","dropTargetProps","useDropTarget","className","cn","onMouseEnter","onMouseLeave","role"],"mappings":";;;;;;;AASA,MAAMA,qBAAqB,GAAG;EAC1BC,QAAQ,EAAE,IAAI;;EAEdC,MAAM,EAAGC,OAAgB,IAAK,CAAC,CAACA,OAAO,CAACC,OAAO,CAAC,mCAAmC;CACt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D,MAAMkH,gBAAgB,GAAGA;IACrB,IAAI1D,sBAAsB,KAAKhE,KAAK,EAAE;MAClCgE,sBAAsB,GAAGzB,SAAS;;IAEtC/B,YAAY,CAAC,KAAK,CAAC;GACtB;EAED,MAAM,CAACmH,aAAa,EAAEC,eAAe,CAAC,GAAGC,aAAa,CAACjH,KAAK,IAAIiC,MAAM,aAANA,MAAM,uBAANA,MAAM,CAAGjC,KAAK,EAAER,GAAG,CAACiC,QAAQ,CAAC,CAAC;EAE9F,MAAMyF,SAAS,GAAGC,EAAE,CAChB,oBAAoB;;;EAGpB,8DAA8D,EAC9D;IACI,sBAAsB,EAAE,OAAOrF,OAAO,KAAK;GAC9C,CACJ;EAED,oBACIjC,sDACQsE,UAAU,EACTlC,MAAM,GAAG+E,eAAe,GAAGrF,SAAS;IACzCuF,SAAS,EAAEA,SAAS;sBACJ9H,KAAK;yBACF2H,aAAa;IAChCjF,OAAO,EAAEE,WAAW;IACpB0D,cAAc,EAAEtB,kBAAkB;IAClCgD,YAAY,EAAEP,gBAAgB;IAC9BQ,YAAY,EAAEP,gBAAgB;IAC9BQ,IAAI,EAAC,KAAK;IACVvB,GAAG,EAAEA;KACP;AAEV,CAAC,CAAmE;;;;"}
@@ -1,14 +0,0 @@
1
- import React__default from 'react';
2
-
3
- const RowContext = /*#__PURE__*/React__default.createContext({
4
- isHovered: false,
5
- setIsHovered: () => {
6
- /* empty */
7
- },
8
- rowIndex: 0,
9
- hasError: false
10
- });
11
- const useRowContext = () => React__default.useContext(RowContext);
12
-
13
- export { RowContext, useRowContext };
14
- //# sourceMappingURL=RowContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RowContext.js","sources":["../../../../../../../../../src/components/Table3/components/rows/RowContext.tsx"],"sourcesContent":["import React from 'react';\n\ntype RowContextValue = {\n isHovered: boolean;\n setIsHovered: (value: boolean) => void;\n rowIndex: number;\n hasError: boolean;\n};\n\nexport const RowContext = React.createContext<RowContextValue>({\n isHovered: false,\n setIsHovered: () => {\n /* empty */\n },\n rowIndex: 0,\n hasError: false,\n});\n\nexport const useRowContext = () => React.useContext(RowContext);\n"],"names":["RowContext","React","createContext","isHovered","setIsHovered","rowIndex","hasError","useRowContext","useContext"],"mappings":";;MASaA,UAAU,gBAAGC,cAAK,CAACC,aAAa,CAAkB;EAC3DC,SAAS,EAAE,KAAK;EAChBC,YAAY,EAAEA;;GAEb;EACDC,QAAQ,EAAE,CAAC;EACXC,QAAQ,EAAE;CACb;MAEYC,aAAa,GAAGA,MAAMN,cAAK,CAACO,UAAU,CAACR,UAAU;;;;"}
@@ -1,43 +0,0 @@
1
- import React__default from 'react';
2
- import { useInView } from 'react-intersection-observer';
3
-
4
- function SkeletonCell(props) {
5
- const {
6
- loadPage,
7
- pageIndex,
8
- table
9
- } = props;
10
- const {
11
- ref,
12
- inView
13
- } = useInView({
14
- threshold: 0,
15
- triggerOnce: true,
16
- initialInView: pageIndex === 0
17
- });
18
- React__default.useEffect(() => {
19
- if (inView) {
20
- loadPage(pageIndex, table.getState().sorting, table.getState().columnFilters, table.getState().globalFilter);
21
- }
22
- }, [inView]);
23
- return /*#__PURE__*/React__default.createElement("div", {
24
- className: "border-grey-300 flex h-10 items-center border-b px-2",
25
- ref: ref
26
- }, /*#__PURE__*/React__default.createElement("span", {
27
- className: "bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"
28
- }));
29
- }
30
- function SkeletonRow(props) {
31
- const {
32
- columns,
33
- ...otherProps
34
- } = props;
35
- return /*#__PURE__*/React__default.createElement("div", {
36
- className: "contents"
37
- }, columns.map(column => ( /*#__PURE__*/React__default.createElement(SkeletonCell, Object.assign({
38
- key: column.id
39
- }, otherProps)))));
40
- }
41
-
42
- export { SkeletonRow };
43
- //# sourceMappingURL=SkeletonRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SkeletonRow.js","sources":["../../../../../../../../../src/components/Table3/components/rows/SkeletonRow.tsx"],"sourcesContent":["import React from 'react';\nimport { useInView } from 'react-intersection-observer';\nimport { Table3LoadPageHandler } from '../../types';\nimport { Column as RTColumn, Table as RTable } from '@tanstack/react-table';\n\ntype SkeletonCellProps<TType = unknown> = {\n loadPage: Table3LoadPageHandler;\n pageIndex: number;\n table: RTable<TType>;\n};\nfunction SkeletonCell<TType = unknown>(props: SkeletonCellProps<TType>) {\n const { loadPage, pageIndex, table } = props;\n const { ref, inView } = useInView({\n threshold: 0,\n triggerOnce: true,\n initialInView: pageIndex === 0,\n });\n\n React.useEffect(() => {\n if (inView) {\n loadPage(pageIndex, table.getState().sorting, table.getState().columnFilters, table.getState().globalFilter);\n }\n }, [inView]);\n\n return (\n <div className=\"border-grey-300 flex h-10 items-center border-b px-2\" ref={ref}>\n <span className=\"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs\" />\n </div>\n );\n}\n\nexport type SkeletonRowProps<TType = unknown> = {\n columns: RTColumn<TType, unknown>[];\n loadPage: Table3LoadPageHandler;\n pageIndex: number;\n table: RTable<TType>;\n};\n\nexport function SkeletonRow<TType = unknown>(props: SkeletonRowProps<TType>) {\n const { columns, ...otherProps } = props;\n\n return (\n <div className=\"contents\">\n {columns.map(column => (\n <SkeletonCell key={column.id} {...otherProps} />\n ))}\n </div>\n );\n}\n"],"names":["SkeletonCell","props","loadPage","pageIndex","table","ref","inView","useInView","threshold","triggerOnce","initialInView","React","useEffect","getState","sorting","columnFilters","globalFilter","className","SkeletonRow","columns","otherProps","map","column","key","id"],"mappings":";;;AAUA,SAASA,YAAYA,CAAkBC,KAA+B;EAClE,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC;GAAO,GAAGH,KAAK;EAC5C,MAAM;IAAEI,GAAG;IAAEC;GAAQ,GAAGC,SAAS,CAAC;IAC9BC,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE,IAAI;IACjBC,aAAa,EAAEP,SAAS,KAAK;GAChC,CAAC;EAEFQ,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIN,MAAM,EAAE;MACRJ,QAAQ,CAACC,SAAS,EAAEC,KAAK,CAACS,QAAQ,EAAE,CAACC,OAAO,EAAEV,KAAK,CAACS,QAAQ,EAAE,CAACE,aAAa,EAAEX,KAAK,CAACS,QAAQ,EAAE,CAACG,YAAY,CAAC;;GAEnH,EAAE,CAACV,MAAM,CAAC,CAAC;EAEZ,oBACIK;IAAKM,SAAS,EAAC,sDAAsD;IAACZ,GAAG,EAAEA;kBACvEM;IAAMM,SAAS,EAAC;IAA6D,CAC3E;AAEd;SASgBC,WAAWA,CAAkBjB,KAA8B;EACvE,MAAM;IAAEkB,OAAO;IAAE,GAAGC;GAAY,GAAGnB,KAAK;EAExC,oBACIU;IAAKM,SAAS,EAAC;KACVE,OAAO,CAACE,GAAG,CAACC,MAAM,mBACfX,6BAACX,YAAY;IAACuB,GAAG,EAAED,MAAM,CAACE;KAAQJ,UAAU,EAAI,CACnD,CAAC,CACA;AAEd;;;;"}
@@ -1,9 +0,0 @@
1
- const rowHeightSizeEstimates = {
2
- short: 33,
3
- medium: 41,
4
- tall: 49,
5
- 'extra-tall': 57
6
- };
7
-
8
- export { rowHeightSizeEstimates };
9
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sources":["../../../../../../../../../src/components/Table3/components/rows/styles.ts"],"sourcesContent":["export const rowHeightSizeEstimates = {\n short: 33,\n medium: 41,\n tall: 49,\n 'extra-tall': 57,\n};\n"],"names":["rowHeightSizeEstimates","short","medium","tall"],"mappings":"MAAaA,sBAAsB,GAAG;EAClCC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE,EAAE;EACVC,IAAI,EAAE,EAAE;EACR,YAAY,EAAE;;;;;"}