@economic/taco 2.19.0 → 2.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. package/dist/components/Provider/Localization.d.ts +18 -0
  2. package/dist/components/Report/components/Body/Body.d.ts +8 -0
  3. package/dist/components/Report/components/Cell/Cell.d.ts +3 -0
  4. package/dist/components/Report/components/Cell/DisplayCell.d.ts +7 -0
  5. package/dist/components/Report/components/Cell/GroupedCell.d.ts +7 -0
  6. package/dist/components/Report/components/Cell/util.d.ts +18 -0
  7. package/dist/components/Report/components/Footer/Footer.d.ts +6 -0
  8. package/dist/components/Report/components/Footer/Summary.d.ts +7 -0
  9. package/dist/components/Report/components/Header/Header.d.ts +37 -0
  10. package/dist/components/Report/components/Header/components/Goto.d.ts +6 -0
  11. package/dist/components/Report/components/Header/components/Menu.d.ts +17 -0
  12. package/dist/components/Report/components/Header/components/Resizer.d.ts +12 -0
  13. package/dist/components/Report/components/Header/components/SortIndicator.d.ts +15 -0
  14. package/dist/components/Report/components/Header/util.d.ts +4 -0
  15. package/dist/components/Report/components/Internal/Actions.d.ts +13 -0
  16. package/dist/components/Report/components/Internal/Expansion.d.ts +4 -0
  17. package/dist/components/Report/components/Internal/Selection.d.ts +4 -0
  18. package/dist/components/Report/components/Row/DisplayRow.d.ts +16 -0
  19. package/dist/components/Report/components/Row/Row.d.ts +8 -0
  20. package/dist/components/Report/components/Row/RowContext.d.ts +9 -0
  21. package/dist/components/Report/components/Row/SkeletonRow.d.ts +10 -0
  22. package/dist/components/Report/components/Toolbar/Toolbar.d.ts +15 -0
  23. package/dist/components/Report/components/Toolbar/components/Filters/Filters.d.ts +7 -0
  24. package/dist/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +7 -0
  25. package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
  26. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +9 -0
  27. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
  28. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
  29. package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts +12 -0
  30. package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +2 -0
  31. package/dist/components/Report/components/Toolbar/components/Print/Print.d.ts +9 -0
  32. package/dist/components/Report/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
  33. package/dist/components/Report/components/Toolbar/components/Search/Search.d.ts +8 -0
  34. package/dist/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
  35. package/dist/components/Report/components/Toolbar/components/Settings/Settings.d.ts +8 -0
  36. package/dist/components/Report/features/useReportExport.d.ts +3 -0
  37. package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +2 -0
  38. package/dist/components/Report/styles/useCssGridStylesheet.d.ts +3 -0
  39. package/dist/components/Report/styles/useStylesheet.d.ts +3 -0
  40. package/dist/components/Report/styles/util.d.ts +3 -0
  41. package/dist/components/Report/types.d.ts +20 -0
  42. package/dist/components/Report/useReport.d.ts +14 -0
  43. package/dist/components/Report/util/rows.d.ts +7 -0
  44. package/dist/components/Report/util/useTableGlobalShortcuts.d.ts +4 -0
  45. package/dist/components/Report/util/useTableRenderer.d.ts +9 -0
  46. package/dist/components/Table3/components/rows/Row.d.ts +1 -1
  47. package/dist/components/Table3/hooks/features/usePrinting.d.ts +7 -0
  48. package/dist/components/Table3/hooks/useTable.d.ts +5 -5
  49. package/dist/components/Table3/types.d.ts +21 -3
  50. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +1 -1
  51. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -1
  52. package/dist/esm/packages/taco/src/components/Alert/Alert.js +1 -1
  53. package/dist/esm/packages/taco/src/components/Alert/Alert.js.map +1 -1
  54. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +1 -1
  55. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -1
  56. package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js +2 -2
  57. package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js.map +1 -1
  58. package/dist/esm/packages/taco/src/components/Badge/Badge.js +1 -1
  59. package/dist/esm/packages/taco/src/components/Badge/Badge.js.map +1 -1
  60. package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js +1 -1
  61. package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js.map +1 -1
  62. package/dist/esm/packages/taco/src/components/Banner/Banner.js +2 -2
  63. package/dist/esm/packages/taco/src/components/Banner/Banner.js.map +1 -1
  64. package/dist/esm/packages/taco/src/components/Button/Button.js +1 -1
  65. package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -1
  66. package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +1 -1
  67. package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +1 -1
  68. package/dist/esm/packages/taco/src/components/Card/Card.js +2 -2
  69. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  70. package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +1 -1
  71. package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -1
  72. package/dist/esm/packages/taco/src/components/Combobox/Combobox.js +1 -1
  73. package/dist/esm/packages/taco/src/components/Combobox/Combobox.js.map +1 -1
  74. package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +1 -1
  75. package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -1
  76. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +5 -5
  77. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  78. package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js +1 -1
  79. package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -1
  80. package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js +1 -1
  81. package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js.map +1 -1
  82. package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +1 -1
  83. package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +1 -1
  84. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +1 -1
  85. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -1
  86. package/dist/esm/packages/taco/src/components/Drawer/util.js +1 -1
  87. package/dist/esm/packages/taco/src/components/Drawer/util.js.map +1 -1
  88. package/dist/esm/packages/taco/src/components/Field/Field.js +1 -1
  89. package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
  90. package/dist/esm/packages/taco/src/components/Form/Form.js +1 -1
  91. package/dist/esm/packages/taco/src/components/Form/Form.js.map +1 -1
  92. package/dist/esm/packages/taco/src/components/Group/Group.js +1 -1
  93. package/dist/esm/packages/taco/src/components/Group/Group.js.map +1 -1
  94. package/dist/esm/packages/taco/src/components/Hanger/Hanger.js +2 -2
  95. package/dist/esm/packages/taco/src/components/Hanger/Hanger.js.map +1 -1
  96. package/dist/esm/packages/taco/src/components/Header/Header.js +1 -1
  97. package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -1
  98. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js +1 -1
  99. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -1
  100. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js +2 -2
  101. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js.map +1 -1
  102. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js +2 -2
  103. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js.map +1 -1
  104. package/dist/esm/packages/taco/src/components/Header/components/Button.js +1 -1
  105. package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -1
  106. package/dist/esm/packages/taco/src/components/Header/components/Link.js +1 -1
  107. package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -1
  108. package/dist/esm/packages/taco/src/components/Header/components/Logo.js +1 -1
  109. package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -1
  110. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +1 -1
  111. package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -1
  112. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +1 -1
  113. package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -1
  114. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +1 -1
  115. package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -1
  116. package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js +1 -1
  117. package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js.map +1 -1
  118. package/dist/esm/packages/taco/src/components/Icon/Icon.js +1 -1
  119. package/dist/esm/packages/taco/src/components/Icon/Icon.js.map +1 -1
  120. package/dist/esm/packages/taco/src/components/IconButton/IconButton.js +1 -1
  121. package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +1 -1
  122. package/dist/esm/packages/taco/src/components/Input/Input.js +1 -1
  123. package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -1
  124. package/dist/esm/packages/taco/src/components/Input/util.js +1 -1
  125. package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
  126. package/dist/esm/packages/taco/src/components/Layout/Layout.js +2 -2
  127. package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -1
  128. package/dist/esm/packages/taco/src/components/Layout/components/Content.js +2 -2
  129. package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -1
  130. package/dist/esm/packages/taco/src/components/Layout/components/Page.js +2 -2
  131. package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -1
  132. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +2 -2
  133. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
  134. package/dist/esm/packages/taco/src/components/Listbox/Listbox.js +1 -1
  135. package/dist/esm/packages/taco/src/components/Listbox/Listbox.js.map +1 -1
  136. package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +1 -1
  137. package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js.map +1 -1
  138. package/dist/esm/packages/taco/src/components/Menu/components/Content.js +1 -1
  139. package/dist/esm/packages/taco/src/components/Menu/components/Content.js.map +1 -1
  140. package/dist/esm/packages/taco/src/components/Menu/components/Header.js +1 -1
  141. package/dist/esm/packages/taco/src/components/Menu/components/Header.js.map +1 -1
  142. package/dist/esm/packages/taco/src/components/Menu/components/Item.js +1 -1
  143. package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
  144. package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js +1 -1
  145. package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js.map +1 -1
  146. package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js +1 -1
  147. package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js.map +1 -1
  148. package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js +1 -1
  149. package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js.map +1 -1
  150. package/dist/esm/packages/taco/src/components/Navigation/Navigation.js +1 -1
  151. package/dist/esm/packages/taco/src/components/Navigation/Navigation.js.map +1 -1
  152. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +1 -1
  153. package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -1
  154. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +1 -1
  155. package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -1
  156. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +1 -1
  157. package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -1
  158. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +2 -2
  159. package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -1
  160. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +1 -1
  161. package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -1
  162. package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +1 -1
  163. package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +1 -1
  164. package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js +1 -1
  165. package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
  166. package/dist/esm/packages/taco/src/components/Pagination/Pagination.js +1 -1
  167. package/dist/esm/packages/taco/src/components/Pagination/Pagination.js.map +1 -1
  168. package/dist/esm/packages/taco/src/components/Popover/Popover.js +1 -1
  169. package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
  170. package/dist/esm/packages/taco/src/components/Progress/Progress.js +1 -1
  171. package/dist/esm/packages/taco/src/components/Progress/Progress.js.map +1 -1
  172. package/dist/esm/packages/taco/src/components/Provider/Localization.js +18 -0
  173. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  174. package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +1 -1
  175. package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -1
  176. package/dist/esm/packages/taco/src/components/RadioGroup/util.js +1 -1
  177. package/dist/esm/packages/taco/src/components/RadioGroup/util.js.map +1 -1
  178. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +1 -1
  179. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
  180. package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +3 -3
  181. package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -1
  182. package/dist/esm/packages/taco/src/components/Select/Select.js +1 -1
  183. package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
  184. package/dist/esm/packages/taco/src/components/Select/useSelect.js +1 -1
  185. package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -1
  186. package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -1
  187. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  188. package/dist/esm/packages/taco/src/components/Select2/components/Create.js +1 -1
  189. package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
  190. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +1 -1
  191. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
  192. package/dist/esm/packages/taco/src/components/Select2/components/Group.js +1 -1
  193. package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +1 -1
  194. package/dist/esm/packages/taco/src/components/Select2/components/Option.js +1 -1
  195. package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
  196. package/dist/esm/packages/taco/src/components/Select2/components/Search.js +1 -1
  197. package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
  198. package/dist/esm/packages/taco/src/components/Select2/components/Title.js +1 -1
  199. package/dist/esm/packages/taco/src/components/Select2/components/Title.js.map +1 -1
  200. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +2 -2
  201. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
  202. package/dist/esm/packages/taco/src/components/Select2/utilities.js +1 -1
  203. package/dist/esm/packages/taco/src/components/Select2/utilities.js.map +1 -1
  204. package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js +1 -1
  205. package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js.map +1 -1
  206. package/dist/esm/packages/taco/src/components/Spinner/Spinner.js +1 -1
  207. package/dist/esm/packages/taco/src/components/Spinner/Spinner.js.map +1 -1
  208. package/dist/esm/packages/taco/src/components/Switch/Switch.js +1 -1
  209. package/dist/esm/packages/taco/src/components/Switch/Switch.js.map +1 -1
  210. package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js +2 -2
  211. package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js.map +1 -1
  212. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
  213. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  214. package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js +1 -1
  215. package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js.map +1 -1
  216. package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +1 -1
  217. package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
  218. package/dist/esm/packages/taco/src/components/Table3/Table3.js +1 -6
  219. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  220. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +1 -1
  221. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +1 -1
  222. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +4 -2
  223. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -1
  224. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +1 -1
  225. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -1
  226. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +2 -2
  227. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +1 -1
  228. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +1 -1
  229. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +1 -1
  230. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +2 -2
  231. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -1
  232. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +1 -1
  233. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +1 -1
  234. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +1 -1
  235. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +1 -1
  236. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +5 -2
  237. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +1 -1
  238. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +1 -1
  239. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +1 -1
  240. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +1 -1
  241. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +1 -1
  242. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +1 -1
  243. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -1
  244. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +1 -1
  245. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +1 -1
  246. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +1 -1
  247. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -1
  248. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +1 -1
  249. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -1
  250. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +1 -1
  251. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +1 -1
  252. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +2 -2
  253. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -1
  254. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +1 -1
  255. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
  256. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +1 -1
  257. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +1 -1
  258. package/dist/esm/packages/taco/src/{primitives/Table/useTable/features/useTablePrinting.js → components/Table3/hooks/features/usePrinting.js} +3 -3
  259. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +1 -0
  260. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +4 -3
  261. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
  262. package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
  263. package/dist/esm/packages/taco/src/components/Tabs/Tabs.js +1 -1
  264. package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +1 -1
  265. package/dist/esm/packages/taco/src/components/Tag/Tag.js +2 -2
  266. package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +1 -1
  267. package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +1 -1
  268. package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +1 -1
  269. package/dist/esm/packages/taco/src/components/Toast/Toast.js +2 -2
  270. package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
  271. package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +2 -2
  272. package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -1
  273. package/dist/esm/packages/taco/src/components/Treeview/Treeview.js +1 -1
  274. package/dist/esm/packages/taco/src/components/Treeview/Treeview.js.map +1 -1
  275. package/dist/esm/packages/taco/src/primitives/Table/types.js +27 -0
  276. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -0
  277. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js +1 -1
  278. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +1 -1
  279. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js +11 -21
  280. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +1 -1
  281. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +1 -1
  282. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js +1 -1
  283. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +1 -1
  284. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js +1 -0
  285. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +1 -1
  286. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js +42 -2
  287. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +1 -1
  288. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js +10 -8
  289. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +1 -1
  290. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +7 -0
  291. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -0
  292. package/dist/esm/packages/taco/src/utils/dom.js +10 -1
  293. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  294. package/dist/primitives/Table/types.d.ts +187 -2
  295. package/dist/primitives/Table/useTable/features/useTableColumnFreezing.d.ts +6 -0
  296. package/dist/primitives/Table/useTable/features/useTableFooter.d.ts +3 -0
  297. package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +1 -0
  298. package/dist/primitives/Table/useTable/features/useTableRef.d.ts +4 -0
  299. package/dist/primitives/Table/useTable/features/useTableRowActions.d.ts +6 -0
  300. package/dist/primitives/Table/useTable/features/useTableRowActive.d.ts +0 -1
  301. package/dist/primitives/Table/useTable/features/useTableRowClick.d.ts +1 -1
  302. package/dist/primitives/Table/useTable/features/useTableRowExpansion.d.ts +5 -0
  303. package/dist/primitives/Table/useTable/features/useTableRowGoto.d.ts +1 -1
  304. package/dist/primitives/Table/useTable/features/useTableRowGroups.d.ts +5 -0
  305. package/dist/primitives/Table/useTable/features/useTableRowSelection.d.ts +1 -0
  306. package/dist/primitives/Table/useTable/features/useTableSearch.d.ts +11 -0
  307. package/dist/primitives/Table/useTable/features/useTableServerLoading.d.ts +5 -2
  308. package/dist/primitives/Table/useTable/features/useTableSettings.d.ts +3 -0
  309. package/dist/primitives/Table/useTable/listeners/useTableRowHeightListener.d.ts +2 -0
  310. package/dist/primitives/Table/useTable/listeners/useTableSearchListener.d.ts +2 -0
  311. package/dist/primitives/Table/useTable/listeners/useTableSettingsListener.d.ts +3 -0
  312. package/dist/primitives/Table/useTable/useTable.d.ts +57 -0
  313. package/dist/primitives/Table/useTable/util/columns.d.ts +7 -1
  314. package/dist/primitives/Table/useTable/util/columns.spec.d.ts +1 -0
  315. package/dist/primitives/Table/useTable/util/filtering.d.ts +7 -0
  316. package/dist/primitives/Table/useTable/util/presets.d.ts +2 -0
  317. package/dist/primitives/Table/useTable/util/search.d.ts +2 -0
  318. package/dist/primitives/Table/useTable/util/settings.d.ts +13 -0
  319. package/dist/primitives/Table/useTable/util/setup.d.ts +14 -0
  320. package/dist/primitives/Table/useTable/util/sorting.d.ts +2 -0
  321. package/dist/primitives/Table/useTableDataLoader.d.ts +23 -0
  322. package/dist/taco.cjs.development.js +149 -68
  323. package/dist/taco.cjs.development.js.map +1 -1
  324. package/dist/taco.cjs.production.min.js +1 -1
  325. package/dist/taco.cjs.production.min.js.map +1 -1
  326. package/dist/utils/dom.d.ts +1 -0
  327. package/package.json +4 -3
  328. package/types.json +20882 -7749
  329. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
@@ -247,6 +247,7 @@ export declare const defaultLocalisationTexts: {
247
247
  value: string;
248
248
  };
249
249
  hiddenColumn: string;
250
+ hiddenGroupedColumn: string;
250
251
  tooltip: string;
251
252
  total: string;
252
253
  };
@@ -276,6 +277,23 @@ export declare const defaultLocalisationTexts: {
276
277
  cancelButtonText: string;
277
278
  printButtonText: string;
278
279
  };
280
+ settingsDialog: {
281
+ title: string;
282
+ size: string;
283
+ sizeA5: string;
284
+ sizeA4: string;
285
+ sizeA3: string;
286
+ sizeLetter: string;
287
+ sizeLegal: string;
288
+ orientation: string;
289
+ orientationLandscape: string;
290
+ orientationPortrait: string;
291
+ rows: string;
292
+ rowsAll: string;
293
+ rowsSelected: string;
294
+ layout: string;
295
+ layoutSplitGroups: string;
296
+ };
279
297
  };
280
298
  rowHeight: {
281
299
  tooltip: string;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ declare type BodyProps<TType = unknown> = React.HTMLAttributes<HTMLTableSectionElement> & {
4
+ length: number;
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function Body<TType = unknown>(props: BodyProps<TType>): JSX.Element;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { Cell as ReactTableCell } from '@tanstack/react-table';
3
+ export declare function Cell<TType = unknown>(cell: ReactTableCell<TType, unknown>, index: number): JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Cell as ReactTableCell } from '@tanstack/react-table';
3
+ export declare type DisplayCellProps<TType = unknown> = {
4
+ index: number;
5
+ cell: ReactTableCell<TType, unknown>;
6
+ };
7
+ export declare function DisplayCell<TType = unknown>(props: DisplayCellProps<TType>): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Cell as ReactTableCell } from '@tanstack/react-table';
3
+ export declare type GroupedCellProps<TType = unknown> = {
4
+ index: number;
5
+ cell: ReactTableCell<TType, unknown>;
6
+ };
7
+ export declare function GroupedCell<TType = unknown>(props: GroupedCellProps<TType>): JSX.Element;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { Cell as ReactTableCell } from '@tanstack/react-table';
3
+ export declare type DisplayCellProps<TType = unknown> = {
4
+ index: number;
5
+ cell: ReactTableCell<TType, unknown>;
6
+ };
7
+ export declare function getCellAttributes<TType = unknown>(cell: ReactTableCell<TType, unknown>, isHighlighted: true | 'current' | undefined): {
8
+ 'data-cell-align': "left" | "center" | "right" | undefined;
9
+ 'data-cell-highlighted': true | "current" | undefined;
10
+ 'data-cell-id': string;
11
+ 'data-cell-pinned': boolean | undefined;
12
+ 'data-cell-truncate': boolean | undefined;
13
+ className: string | undefined;
14
+ style: {};
15
+ };
16
+ export declare function useSearchHighlighting<TType = unknown>(cell: ReactTableCell<TType, unknown>, index: number, ref: React.RefObject<HTMLTableCellElement>): true | "current" | undefined;
17
+ export declare function getCurrentRowCellElement(index: number, tableEl: HTMLElement): Element | null;
18
+ export declare function scrollColumnIntoView(columnIndex: number, frozenColumnIndex: number, column: HTMLElement, tableEl: HTMLElement): void;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { Header as ReactTableHeader } from '@tanstack/react-table';
3
+ export declare function Footer<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element;
4
+ export declare type MemoedFooterProps<TType = unknown> = {
5
+ footer: ReactTableHeader<TType, unknown>;
6
+ };
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ export declare type FooterSummaryProps<TType = unknown> = {
4
+ length: number;
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function Summary<TType = unknown>(props: FooterSummaryProps<TType>): JSX.Element;
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
3
+ import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableColumnWidth } from '../../../../primitives/Table/types';
4
+ export declare function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element | null;
5
+ export declare type MemoedHeaderProps = {
6
+ align?: TableColumnAlignment;
7
+ canHide: boolean;
8
+ canGoto: boolean;
9
+ canMeasureSize: boolean;
10
+ canPin: boolean;
11
+ canResize: boolean;
12
+ canSort: boolean;
13
+ children: JSX.Element | React.ReactNode;
14
+ className?: string;
15
+ colSpan: number;
16
+ customMenu?: TableColumnMenu;
17
+ defaultWidth?: TableColumnWidth;
18
+ hasMenu: boolean;
19
+ id: string;
20
+ index: number;
21
+ isGroup: boolean;
22
+ isPinned?: ReactTableColumnPinningPosition;
23
+ isPlaceholder: boolean;
24
+ isResizing?: boolean;
25
+ offset?: number;
26
+ onGoto?: (query: string) => Promise<number>;
27
+ onHide?: (event: unknown) => void;
28
+ onPin?: (index: number | undefined) => void;
29
+ onResize?: (event: unknown) => void;
30
+ onSort?: (event: unknown) => void;
31
+ onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
32
+ setRowActiveIndex: (index: number) => void;
33
+ setColumnSizing: any;
34
+ sortDirection?: TableColumnSortDirection | false;
35
+ tooltip?: string;
36
+ width?: TableColumnWidth;
37
+ };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { PopoverProps } from '../../../../Popover/Popover';
3
+ export declare type GotoProps = PopoverProps & {
4
+ onGoto: (query: string) => Promise<void>;
5
+ };
6
+ export declare function GotoPopover(props: GotoProps): JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { TableColumnMenu, TableColumnSortDirection } from '../../../../../primitives/Table/types';
3
+ export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ canGoto: boolean;
5
+ canHide: boolean;
6
+ canPin: boolean;
7
+ canSort: boolean;
8
+ customMenu?: TableColumnMenu;
9
+ index: number;
10
+ onGoto?: (query: string) => Promise<number>;
11
+ onHide?: (event: unknown) => void;
12
+ onPin?: (index: number | undefined) => void;
13
+ onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
14
+ setRowActiveIndex: (index: number) => void;
15
+ sortDirection?: TableColumnSortDirection | false;
16
+ };
17
+ export declare function HeaderMenu(props: HeaderMenuProps): JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { TableColumnWidth } from '../../../../../primitives/Table/types';
3
+ declare type ResizerProps = {
4
+ headerRef: HTMLTableCellElement | null;
5
+ id: string;
6
+ isResizing: boolean;
7
+ onResize: (event: unknown) => void;
8
+ setColumnSizing: any;
9
+ width?: TableColumnWidth;
10
+ };
11
+ export declare function Resizer(props: ResizerProps): JSX.Element;
12
+ export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { TableColumnSortDirection } from '../../../../../primitives/Table/types';
3
+ declare type SortIndicatorProps = {
4
+ direction: false | TableColumnSortDirection;
5
+ };
6
+ export declare function SortIndicator(props: SortIndicatorProps): any;
7
+ export declare const getAriaSort: (direction: any) => any;
8
+ export declare function getSortAttributes(canSort: boolean, toggleSorting?: (event: unknown) => void, sortDirection?: false | TableColumnSortDirection): {
9
+ 'aria-sort'?: undefined;
10
+ onClick?: undefined;
11
+ } | {
12
+ 'aria-sort': any;
13
+ onClick: (event: React.MouseEvent) => void;
14
+ };
15
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
2
+ import { TableColumnWidth } from '../../../../primitives/Table/types';
3
+ export declare function useSetInitialColumnSizing(id: string, defaultWidth: TableColumnWidth | undefined, width: TableColumnWidth | undefined, element: HTMLTableCellElement | null, canMeasureSize: boolean, setColumnSizing: any): void;
4
+ export declare function getIsPinned<TType = unknown>(header: ReactTableHeader<TType, unknown>): ReactTableColumnPinningPosition | undefined;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { CellContext as ReactTableCellContext } from '@tanstack/react-table';
3
+ import { TableFontSize, TableRowActionRenderer } from '../../../../primitives/Table/types';
4
+ export declare function Header(): null;
5
+ export declare type ActionsProps<TType = unknown> = {
6
+ actions: TableRowActionRenderer<TType>[];
7
+ actionsLength: number;
8
+ data: any;
9
+ fontSize: TableFontSize;
10
+ isActiveRow: boolean;
11
+ };
12
+ export declare function Actions<TType = unknown>(props: ActionsProps<TType>): JSX.Element;
13
+ export declare const Cell: <TType = unknown>(context: ReactTableCellContext<TType, unknown>) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { HeaderContext as ReactTableHeaderContext, CellContext as ReactTableCellContext } from '@tanstack/react-table';
3
+ export declare function Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>): JSX.Element;
4
+ export declare function Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>): JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { HeaderContext as ReactTableHeaderContext, CellContext as ReactTableCellContext } from '@tanstack/react-table';
3
+ export declare function Header<TType = unknown>(context: ReactTableHeaderContext<TType, unknown>): JSX.Element | null;
4
+ export declare function Cell<TType = unknown>(context: ReactTableCellContext<TType, unknown>): JSX.Element | null;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
3
+ import { TableRowExpansionRenderer } from '../../../../primitives/Table/types';
4
+ export declare type DisplayRowProps<TType = unknown> = {
5
+ index: number;
6
+ measureRow: (size: number, expansionHeight?: number) => void;
7
+ row: ReactTableRow<TType>;
8
+ table: ReactTable<TType>;
9
+ };
10
+ export declare function DisplayRow<TType = unknown>(props: DisplayRowProps<TType>): JSX.Element;
11
+ export declare type MemoedDisplayRowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & {
12
+ setRowHeightForVirtualisation: (size: number) => void;
13
+ measureRow: (size: number, expansionHeight?: number) => void;
14
+ row: ReactTableRow<TType>;
15
+ rowExpansionRenderer?: TableRowExpansionRenderer<TType>;
16
+ };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
3
+ export declare type RowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & {
4
+ index: number;
5
+ row: ReactTableRow<TType>;
6
+ table: ReactTable<TType>;
7
+ };
8
+ export declare function Row<TType = unknown>(row: ReactTableRow<TType>, index: number, table: ReactTable<TType>, measureRow: (size: number, expansionHeight?: number) => void): JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ declare type RowContextValue = {
3
+ isHovered: boolean;
4
+ setIsHovered: (value: boolean) => void;
5
+ rowIndex: number;
6
+ };
7
+ export declare const RowContext: React.Context<RowContextValue>;
8
+ export declare const useRowContext: () => RowContextValue;
9
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable, Row as ReactTableRow } from '@tanstack/react-table';
3
+ export declare type RowProps<TType = unknown> = {
4
+ index: number;
5
+ row: ReactTableRow<TType>;
6
+ table: ReactTable<TType>;
7
+ };
8
+ export declare function SkeletonRow<TType = unknown>(props: RowProps<TType>): JSX.Element;
9
+ export declare function RowWithServerLoading<TType = unknown>(props: RowProps<TType>): JSX.Element;
10
+ export declare const Skeleton: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLTableRowElement>>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { TableRef } from '../../../../primitives/Table/types';
4
+ import { ReportCustomSettingsRenderer } from '../../types';
5
+ export declare type ToolbarProps<TType = unknown> = {
6
+ customSettings?: ReportCustomSettingsRenderer;
7
+ left?: JSX.Element;
8
+ length: number;
9
+ right?: JSX.Element;
10
+ scrollToIndex: (index: number) => void;
11
+ table: ReactTable<TType>;
12
+ tableId: string;
13
+ tableRef: React.RefObject<TableRef>;
14
+ };
15
+ export declare function Toolbar<TType = unknown>(props: ToolbarProps<TType>): JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ export declare type FiltersProps<TType = unknown> = {
4
+ length: number;
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function Filters<TType = unknown>(props: FiltersProps<TType>): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ export declare type ManageFiltersPopoverProps<TType = unknown> = {
4
+ length: number;
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function ManageFiltersPopover<TType = unknown>(props: ManageFiltersPopoverProps<TType>): JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Column as ReactTableColumn } from '@tanstack/react-table';
3
+ import { TableFilter } from '../../../../../../../primitives/Table/types';
4
+ export declare type FilterProps<TType = unknown> = {
5
+ allColumns: ReactTableColumn<TType, unknown>[];
6
+ filter: TableFilter;
7
+ filters: TableFilter[];
8
+ position: number;
9
+ onChange: (id: string, value: TableFilter) => void;
10
+ onRemove: (columnId: string) => void;
11
+ };
12
+ export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Column as ReactTableColumn } from '@tanstack/react-table';
3
+ import { Select2Props } from '../../../../../../Select2/Select2';
4
+ import { TableFilter } from '../../../../../../../primitives/Table/types';
5
+ export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'children'> & {
6
+ allColumns: ReactTableColumn<TType, unknown>[];
7
+ filters: TableFilter[];
8
+ };
9
+ export declare function FilterColumn<TType = unknown>(props: FilterColumnProps<TType>): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Column as ReactTableColumn } from '@tanstack/react-table';
3
+ import { Select2Props } from '../../../../../../Select2/Select2';
4
+ export declare type FilterComparatorProps<TType = unknown> = Omit<Select2Props, 'children'> & {
5
+ column?: ReactTableColumn<TType, unknown>;
6
+ };
7
+ export declare function FilterComparator<TType = unknown>(props: FilterComparatorProps<TType>): JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { Column as ReactTableColumn } from '@tanstack/react-table';
3
+ import { TableFilterComparator } from '../../../../../../../primitives/Table/types';
4
+ export declare type FilterValueProps<TType = unknown> = {
5
+ column?: ReactTableColumn<TType, unknown>;
6
+ comparator: TableFilterComparator;
7
+ onChange: (value: any) => void;
8
+ value: any;
9
+ };
10
+ export declare function FilterValue<TType = unknown>(props: FilterValueProps<TType>): JSX.Element | null;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Column as RTColumn } from '@tanstack/react-table';
3
+ import { Select2Value } from '../../../../../../Select2/Select2';
4
+ import { Table3Filter } from '../../../../../types';
5
+ export declare type PlaceholderFilterProps<TType = unknown> = {
6
+ allColumns: RTColumn<TType, unknown>[];
7
+ filters: Table3Filter[];
8
+ position: number;
9
+ onCreate?: (value: Select2Value) => void;
10
+ onRemove?: () => void;
11
+ };
12
+ export declare function Placeholder<TType = unknown>(props: PlaceholderFilterProps<TType>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Column as ReactTableColumn } from '@tanstack/react-table';
2
+ export declare function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>): number;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { TableRef } from '../../../../../../primitives/Table/types';
4
+ export declare type PrintProps<TType = unknown> = {
5
+ table: ReactTable<TType>;
6
+ tableId: string;
7
+ tableRef: React.RefObject<TableRef>;
8
+ };
9
+ export declare function Print<TType = unknown>(props: PrintProps<TType>): JSX.Element;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { Select2Value } from '../../../../../Select2/Select2';
4
+ import { RadioGroupItemValue } from '../../../../../RadioGroup/RadioGroup';
5
+ export declare type PrintDialogProps<TType = unknown> = {
6
+ table: ReactTable<TType>;
7
+ onAccept: () => void;
8
+ orientation: Select2Value;
9
+ setOrientation: (orientation: Select2Value) => void;
10
+ size: Select2Value;
11
+ setSize: (size: Select2Value) => void;
12
+ allRows: RadioGroupItemValue;
13
+ setAllRows: (allRows: RadioGroupItemValue) => void;
14
+ splitGroups: boolean;
15
+ setSplitGroups: (splitGroups: boolean) => void;
16
+ };
17
+ export declare function PrintDialog<TType = unknown>(props: PrintDialogProps<TType>): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ declare type SearchProps<TType = unknown> = {
4
+ scrollToIndex: any;
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function Search<TType = unknown>(props: SearchProps<TType>): JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { PopoverProps } from '../../../../../Popover/Popover';
4
+ export declare type HideOrOrderPopoverProps<TType = unknown> = PopoverProps & {
5
+ table: ReactTable<TType>;
6
+ };
7
+ export declare function HideOrOrderPopover<TType = unknown>(props: HideOrOrderPopoverProps<TType>): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { ReportCustomSettingsRenderer } from '../../../../types';
4
+ export declare type SettingsProps<TType = unknown> = {
5
+ customSettings?: ReportCustomSettingsRenderer;
6
+ table: ReactTable<TType>;
7
+ };
8
+ export declare function Settings<TType = unknown>(props: SettingsProps<TType>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare function useReportExport(isEnabled?: boolean): {
2
+ isEnabled: boolean;
3
+ };
@@ -0,0 +1,2 @@
1
+ import { Table as ReactTable } from '@tanstack/react-table';
2
+ export declare function useColumnPinningStylesheet<TType = unknown>(tableId: string, table: ReactTable<TType>): string;
@@ -0,0 +1,3 @@
1
+ import { Table as ReactTable } from '@tanstack/react-table';
2
+ import { TableFontSize } from '../../../primitives/Table/types';
3
+ export declare function useCssGridStylesheet<TType = unknown>(tableId: string, table: ReactTable<TType>, fontSize: TableFontSize): string;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ export declare function useStylesheet<TType = unknown>(tableId: string, table: ReactTable<TType>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TableFontSize, TableRowHeight } from '../../../primitives/Table/types';
2
+ export declare function getCellHeightPadding(height: TableRowHeight, fontSize: TableFontSize): "8px" | "12px" | "16px" | "6px" | "14px" | "22px" | "18px" | "20px" | "10px";
3
+ export declare function getCellWidthPadding(fontSize: TableFontSize): "8px" | "12px" | "16px";
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { TableColumnProps, TableGroupProps, TableSettings, useTableProps } from '../../primitives/Table/types';
3
+ import { MenuItemProps } from '../Menu/components/Item';
4
+ declare type TODO = any;
5
+ export declare type ReportProps<TType = unknown> = useTableProps<TType> & {
6
+ enableExport?: TODO;
7
+ customSettings?: ReportCustomSettingsRenderer;
8
+ toolbarLeft?: JSX.Element;
9
+ toolbarRight?: JSX.Element;
10
+ toolbarPanel?: JSX.Element;
11
+ };
12
+ export declare type ReportColumnProps<TType = unknown> = TableColumnProps<TType> & {};
13
+ export declare type ReportGroupProps = TableGroupProps & {};
14
+ export declare type ReportCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];
15
+ export declare type ReportRowWithMetaData<TType = unknown> = TType & {
16
+ _meta?: {
17
+ layout?: 'heading' | 'summary' | 'item';
18
+ };
19
+ };
20
+ export {};
@@ -0,0 +1,14 @@
1
+ import { useReportExport } from './features/useReportExport';
2
+ import { ReportProps } from './types';
3
+ import { TableRef } from '../../primitives/Table/types';
4
+ import React from 'react';
5
+ declare type ReportMeta = {
6
+ exporting: ReturnType<typeof useReportExport>;
7
+ };
8
+ export declare function useReport<TType>(props: ReportProps<TType>, ref: React.RefObject<TableRef>): {
9
+ instance: import("@tanstack/table-core").Table<TType>;
10
+ length: number;
11
+ meta: import("@tanstack/table-core").TableMeta<TType> & ReportMeta;
12
+ state: import("@tanstack/table-core").TableState;
13
+ };
14
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const ROW_HEIGHT_ESTIMATES: {
2
+ short: number;
3
+ medium: number;
4
+ tall: number;
5
+ 'extra-tall': number;
6
+ };
7
+ export declare const HEADER_ROW_HEIGHT_ESTIMATE: number;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { TableRef } from '../../../primitives/Table/types';
4
+ export declare function useTableGlobalShortcuts<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, scrollToIndex: (index: number) => void): void;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
4
+ import { TableRef } from '../../../primitives/Table/types';
5
+ export declare function useTableRenderer<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, defaultRowActiveIndex?: number | undefined): {
6
+ rows: JSX.Element[] | null;
7
+ style: React.CSSProperties;
8
+ scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
9
+ };
@@ -21,6 +21,6 @@ export declare type MemoedRowProps<TType = unknown> = Omit<RowProps<TType>, 'onC
21
21
  'data-selected': boolean;
22
22
  draggable: boolean;
23
23
  index: number;
24
- onClick: (event: React.MouseEvent<HTMLDivElement>, data: unknown) => void;
24
+ onClick: any;
25
25
  };
26
26
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export declare function usePrinting(isEnabled: boolean | undefined, defaultIsWarningVisible: boolean | undefined, id: string): {
3
+ isEnabled: boolean;
4
+ isPrinting: boolean;
5
+ isWarningVisibleForLargeDatasets: boolean;
6
+ setIsWarningVisibleForLargeDatasets: React.Dispatch<React.SetStateAction<boolean>>;
7
+ };
@@ -12,7 +12,7 @@ import { useTableRowClick } from '../../../primitives/Table/useTable/features/us
12
12
  import { useTableColumnOrdering } from '../../../primitives/Table/useTable/features/useTableColumnOrdering';
13
13
  import { useRowDrop } from './features/useRowDrop';
14
14
  import { useEditing } from './features/useEditing';
15
- import { useTablePrinting } from '../../../primitives/Table/useTable/features/useTablePrinting';
15
+ import { usePrinting } from './features/usePrinting';
16
16
  import { useTableRowGoto } from '../../../primitives/Table/useTable/features/useTableRowGoto';
17
17
  import { useSearch } from './features/useSearch';
18
18
  import { useRowActions } from './features/useRowActions';
@@ -28,7 +28,7 @@ declare module '@tanstack/table-core' {
28
28
  getSettings: () => Table3Settings;
29
29
  isPrinting: boolean;
30
30
  isUsingServer: boolean;
31
- printing: ReturnType<typeof useTablePrinting>;
31
+ printing: ReturnType<typeof usePrinting>;
32
32
  rowActions: ReturnType<typeof useRowActions>;
33
33
  rowActive: ReturnType<typeof useTableRowActive>;
34
34
  rowClick: ReturnType<typeof useTableRowClick>;
@@ -49,9 +49,9 @@ declare module '@tanstack/table-core' {
49
49
  control?: Table3ColumnControlRenderer<TData>;
50
50
  dataType?: Table3ColumnDataType;
51
51
  defaultWidth?: number;
52
- enableOrdering: boolean;
52
+ enableOrdering?: boolean;
53
53
  enableSearch: boolean;
54
- enableTruncate: boolean;
54
+ enableTruncate?: boolean;
55
55
  filters?: Table3FilterComparator[];
56
56
  footer?: Table3ColumnFooterRenderer;
57
57
  header: string;
@@ -69,6 +69,6 @@ declare module '@tanstack/table-core' {
69
69
  }
70
70
  }
71
71
  export declare function useTable<TType = unknown>(props: Table3Props<TType>, ref: React.RefObject<Table3Ref>): {
72
- table: any;
72
+ table: import("@tanstack/react-table").Table<TType>;
73
73
  length: number;
74
74
  };