@economic/taco 2.23.0 → 2.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (300) hide show
  1. package/dist/components/Card/Card.d.ts +1 -0
  2. package/dist/components/Checkbox/Checkbox.d.ts +2 -0
  3. package/dist/components/Provider/Localization.d.ts +6 -0
  4. package/dist/components/Report/Report.d.ts +2 -2
  5. package/dist/components/Report/components/Body/Body.d.ts +0 -1
  6. package/dist/components/Report/components/Footer/Summary.d.ts +0 -1
  7. package/dist/components/Report/components/Header/Header.d.ts +3 -0
  8. package/dist/components/Report/components/Header/components/Menu.d.ts +3 -0
  9. package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
  10. package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +5 -2
  11. package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +2 -0
  12. package/dist/components/Report/types.d.ts +2 -2
  13. package/dist/components/Report/useReport.d.ts +0 -1
  14. package/dist/components/Select2/Select2.d.ts +22 -0
  15. package/dist/components/Select2/hooks/useChildren.d.ts +1 -0
  16. package/dist/components/Table/Table.d.ts +1 -1
  17. package/dist/components/Table/components/BaseTable.d.ts +1 -1
  18. package/dist/components/Table/hooks/useRowCreation.d.ts +2 -2
  19. package/dist/components/Table/hooks/useTable.d.ts +5 -5
  20. package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +2 -2
  21. package/dist/components/Table/types.d.ts +37 -37
  22. package/dist/components/Table/util/sortTypes.d.ts +2 -2
  23. package/dist/components/Table/util.d.ts +4 -4
  24. package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +2 -2
  25. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +5 -2
  26. package/dist/components/Table3/hooks/useTable.d.ts +8 -8
  27. package/dist/components/Table3/types.d.ts +2 -0
  28. package/dist/esm/index.css +55 -46
  29. package/dist/esm/packages/taco/src/components/Button/util.js +8 -8
  30. package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -1
  31. package/dist/esm/packages/taco/src/components/Card/Card.js +2 -1
  32. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  33. package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +11 -2
  34. package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -1
  35. package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +1 -1
  36. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +12 -1
  37. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
  38. package/dist/esm/packages/taco/src/components/Provider/Localization.js +7 -1
  39. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  40. package/dist/esm/packages/taco/src/components/Report/Report.js +3 -8
  41. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  42. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +4 -3
  43. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -1
  44. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +1 -1
  45. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -1
  46. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +1 -1
  47. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -1
  48. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +1 -1
  49. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -1
  50. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js +14 -2
  51. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -1
  52. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +3 -3
  53. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -1
  54. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +18 -1
  55. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -1
  56. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +10 -1
  57. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -1
  58. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +1 -1
  59. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -1
  60. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +47 -11
  61. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -1
  62. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +13 -1
  63. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -1
  64. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +44 -51
  65. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
  66. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +14 -7
  67. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -1
  68. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +4 -3
  69. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -1
  70. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +11 -1
  71. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
  72. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js +4 -1
  73. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -1
  74. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +10 -8
  75. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -1
  76. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +1 -1
  77. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
  78. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +1 -1
  79. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -1
  80. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +2 -2
  81. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -1
  82. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +8 -5
  83. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -1
  84. package/dist/esm/packages/taco/src/components/Report/useReport.js +3 -3
  85. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  86. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +3 -10
  87. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -1
  88. package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +2 -1
  89. package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -1
  90. package/dist/esm/packages/taco/src/components/Select2/Select2.js +43 -4
  91. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  92. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +1 -1
  93. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
  94. package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -1
  95. package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -1
  96. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  97. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  98. package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -1
  99. package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -1
  100. package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
  101. package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
  102. package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -1
  103. package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -1
  104. package/dist/esm/packages/taco/src/components/Table3/Table3.js +4 -6
  105. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  106. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +1 -1
  107. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -1
  108. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +66 -14
  109. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -1
  110. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +1 -1
  111. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -1
  112. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +1 -1
  113. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -1
  114. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +27 -44
  115. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
  116. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +14 -7
  117. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +1 -1
  118. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +4 -3
  119. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +1 -1
  120. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +1 -1
  121. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -1
  122. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +2 -0
  123. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -1
  124. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +1 -1
  125. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +1 -1
  126. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +3 -1
  127. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -1
  128. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +26 -19
  129. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
  130. package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
  131. package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +1 -1
  132. package/dist/esm/packages/taco/src/index.js +1 -1
  133. package/dist/esm/packages/taco/src/primitives/Button.js +1 -0
  134. package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -1
  135. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  136. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
  137. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
  138. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
  139. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
  140. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +36 -0
  141. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
  142. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +1 -0
  143. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
  144. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
  145. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
  146. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
  147. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
  148. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
  149. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
  150. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
  151. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
  152. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
  153. package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSettings.js +1 -2
  154. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
  155. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
  156. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
  157. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
  158. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
  159. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
  160. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
  161. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
  162. package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.js +1 -1
  163. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
  164. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
  165. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
  166. package/dist/esm/packages/taco/src/primitives/Table/{useTable/useTable.js → useTableManager/useTableManager.js} +10 -8
  167. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
  168. package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/columns.js +33 -7
  169. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
  170. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
  171. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
  172. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
  173. package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/settings.js +0 -1
  174. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
  175. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
  176. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
  177. package/dist/esm/packages/taco/src/utils/dom.js +12 -3
  178. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  179. package/dist/esm/packages/taco/src/utils/keyboard.js +2 -2
  180. package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -1
  181. package/dist/hooks/useLocalStorage.d.ts +2 -1
  182. package/dist/index.css +55 -46
  183. package/dist/primitives/Table/types.d.ts +5 -18
  184. package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +15 -0
  185. package/dist/primitives/Table/useTableManager/types.d.ts +13 -0
  186. package/dist/primitives/Table/{useTable/useTable.d.ts → useTableManager/useTableManager.d.ts} +4 -3
  187. package/dist/primitives/Table/useTableManager/util/presets.d.ts +2 -0
  188. package/dist/primitives/Table/{useTable → useTableManager}/util/settings.d.ts +0 -1
  189. package/dist/primitives/Table/{useTable → useTableManager}/util/setup.d.ts +5 -4
  190. package/dist/taco.cjs.development.js +603 -408
  191. package/dist/taco.cjs.development.js.map +1 -1
  192. package/dist/taco.cjs.production.min.js +1 -1
  193. package/dist/taco.cjs.production.min.js.map +1 -1
  194. package/dist/utils/dom.d.ts +3 -1
  195. package/package.json +2 -2
  196. package/types.json +10314 -9345
  197. package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts +0 -12
  198. package/dist/components/Table3/components/toolbar/Filter/filters/components/Placeholder.d.ts +0 -12
  199. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js +0 -41
  200. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js.map +0 -1
  201. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js +0 -41
  202. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js.map +0 -1
  203. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js.map +0 -1
  204. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +0 -1
  205. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +0 -1
  206. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +0 -1
  207. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js +0 -16
  208. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
  209. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +0 -1
  210. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +0 -1
  211. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +0 -1
  212. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +0 -1
  213. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +0 -1
  214. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +0 -1
  215. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +0 -1
  216. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowHeight.js.map +0 -1
  217. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +0 -1
  218. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +0 -1
  219. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +0 -1
  220. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +0 -1
  221. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableDataListener.js.map +0 -1
  222. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFilterListener.js.map +0 -1
  223. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +0 -1
  224. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +0 -1
  225. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowSelectionListener.js.map +0 -1
  226. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +0 -1
  227. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableServerLoadingListener.js.map +0 -1
  228. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +0 -1
  229. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableShortcutsListener.js.map +0 -1
  230. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSortingListener.js.map +0 -1
  231. package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +0 -1
  232. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +0 -1
  233. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +0 -1
  234. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +0 -1
  235. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +0 -1
  236. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +0 -1
  237. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +0 -1
  238. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +0 -1
  239. package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +0 -8
  240. package/dist/primitives/Table/useTable/util/presets.d.ts +0 -2
  241. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.js +0 -0
  242. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.js +0 -0
  243. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.js +0 -0
  244. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFooter.js +0 -0
  245. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRef.js +0 -0
  246. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.js +0 -0
  247. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.js +0 -0
  248. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.js +0 -0
  249. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.js +0 -0
  250. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.js +0 -0
  251. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.js +0 -0
  252. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.js +0 -0
  253. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.js +0 -0
  254. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSearch.js +0 -0
  255. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.js +0 -0
  256. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.js +0 -0
  257. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.js +0 -0
  258. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.js +0 -0
  259. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.js +0 -0
  260. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.js +0 -0
  261. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.js +0 -0
  262. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.js +0 -0
  263. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.js +0 -0
  264. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.js +0 -0
  265. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/filtering.js +0 -0
  266. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/presets.js +0 -0
  267. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/search.js +0 -0
  268. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/setup.js +0 -0
  269. /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/sorting.js +0 -0
  270. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.d.ts +0 -0
  271. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.d.ts +0 -0
  272. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.d.ts +0 -0
  273. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFooter.d.ts +0 -0
  274. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRef.d.ts +0 -0
  275. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.d.ts +0 -0
  276. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.d.ts +0 -0
  277. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.d.ts +0 -0
  278. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.d.ts +0 -0
  279. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.d.ts +0 -0
  280. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.d.ts +0 -0
  281. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.d.ts +0 -0
  282. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.d.ts +0 -0
  283. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSearch.d.ts +0 -0
  284. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.d.ts +0 -0
  285. /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSettings.d.ts +0 -0
  286. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.d.ts +0 -0
  287. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.d.ts +0 -0
  288. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.d.ts +0 -0
  289. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.d.ts +0 -0
  290. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.d.ts +0 -0
  291. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.d.ts +0 -0
  292. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.d.ts +0 -0
  293. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.d.ts +0 -0
  294. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.d.ts +0 -0
  295. /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.d.ts +0 -0
  296. /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.d.ts +0 -0
  297. /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.spec.d.ts +0 -0
  298. /package/dist/primitives/Table/{useTable → useTableManager}/util/filtering.d.ts +0 -0
  299. /package/dist/primitives/Table/{useTable → useTableManager}/util/search.d.ts +0 -0
  300. /package/dist/primitives/Table/{useTable → useTableManager}/util/sorting.d.ts +0 -0
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { MenuProps } from '../Menu/Menu';
3
+ import './style.css';
3
4
  export declare type CardContentProps = React.HTMLAttributes<HTMLDivElement> & {
4
5
  noPadding?: boolean;
5
6
  };
@@ -8,6 +8,8 @@ declare type CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonEleme
8
8
  invalid?: boolean;
9
9
  /** Label for the checkbox */
10
10
  label?: React.ReactNode;
11
+ /** Displays loading state in checkbox */
12
+ loading?: boolean;
11
13
  required?: boolean;
12
14
  };
13
15
  interface UncontrolledCheckboxProps extends CheckboxBaseProps {
@@ -150,6 +150,8 @@ export declare const defaultLocalisationTexts: {
150
150
  expandAll: string;
151
151
  };
152
152
  menu: {
153
+ editFilter: string;
154
+ filter: string;
153
155
  freezeFirstColumn: string;
154
156
  freezeUptoColumn: string;
155
157
  freezeColumns: (count?: number) => string;
@@ -360,6 +362,10 @@ export declare const defaultLocalisationTexts: {
360
362
  save: string;
361
363
  search: string;
362
364
  searchOrCreate: string;
365
+ selectAll: string;
366
+ selectAllResults: string;
367
+ deselectAll: string;
368
+ deselectAllResults: string;
363
369
  };
364
370
  toasts: {
365
371
  dismiss: string;
@@ -4,13 +4,13 @@ import { TableRef } from '../../primitives/Table/types';
4
4
  import './style.css';
5
5
  declare function Column<TType = unknown>(_: ReportColumnProps<TType>): null;
6
6
  declare function Group(_: ReportGroupProps): null;
7
- export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").useTableClientProps<TType> & {
7
+ export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").TableClientProps<TType> & {
8
8
  customSettings?: import("./types").ReportCustomSettingsRenderer | undefined;
9
9
  emptyState?: import("./types").ReportEmptyStateRenderer | undefined;
10
10
  toolbarLeft?: JSX.Element | undefined;
11
11
  toolbarRight?: JSX.Element | undefined;
12
12
  toolbarPanel?: JSX.Element | undefined;
13
- } & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").useTableServerProps<TType> & {
13
+ } & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").TableServerProps<TType> & {
14
14
  customSettings?: import("./types").ReportCustomSettingsRenderer | undefined;
15
15
  emptyState?: import("./types").ReportEmptyStateRenderer | undefined;
16
16
  toolbarLeft?: JSX.Element | undefined;
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
3
  declare type BodyProps<TType = unknown> = React.HTMLAttributes<HTMLTableSectionElement> & {
4
4
  enableArrowKeyFocusing?: boolean;
5
- length: number;
6
5
  table: ReactTable<TType>;
7
6
  };
8
7
  export declare function Body<TType = unknown>(props: BodyProps<TType>): JSX.Element;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
3
  export declare type FooterSummaryProps<TType = unknown> = {
4
- length: number;
5
4
  table: ReactTable<TType>;
6
5
  };
7
6
  export declare function Summary<TType = unknown>(props: FooterSummaryProps<TType>): JSX.Element;
@@ -4,6 +4,7 @@ import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableC
4
4
  export declare function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element | null;
5
5
  export declare type MemoedHeaderProps = {
6
6
  align?: TableColumnAlignment;
7
+ canFilter: boolean;
7
8
  canHide: boolean;
8
9
  canGoto: boolean;
9
10
  canMeasureSize: boolean;
@@ -18,11 +19,13 @@ export declare type MemoedHeaderProps = {
18
19
  hasMenu: boolean;
19
20
  id: string;
20
21
  index: number;
22
+ isFiltered: boolean;
21
23
  isGroup: boolean;
22
24
  isPinned?: ReactTableColumnPinningPosition;
23
25
  isPlaceholder: boolean;
24
26
  isResizing?: boolean;
25
27
  offset?: number;
28
+ onFilter?: () => void;
26
29
  onGoto?: (query: string) => Promise<number>;
27
30
  onHide?: (event: unknown) => void;
28
31
  onPin?: (index: number | undefined) => void;
@@ -1,12 +1,15 @@
1
1
  import React from 'react';
2
2
  import { TableColumnMenu, TableColumnSortDirection } from '../../../../../primitives/Table/types';
3
3
  export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
4
+ canFilter: boolean;
4
5
  canGoto: boolean;
5
6
  canHide: boolean;
6
7
  canPin: boolean;
7
8
  canSort: boolean;
8
9
  customMenu?: TableColumnMenu;
9
10
  index: number;
11
+ isFiltered: boolean;
12
+ onFilter?: () => void;
10
13
  onGoto?: (query: string) => Promise<number>;
11
14
  onHide?: (event: unknown) => void;
12
15
  onPin?: (index: number | undefined) => void;
@@ -6,7 +6,7 @@ export declare type FilterProps<TType = unknown> = {
6
6
  filter: TableFilter;
7
7
  filters: TableFilter[];
8
8
  position: number;
9
- onChange: (id: string, value: TableFilter) => void;
10
- onRemove: (columnId: string) => void;
9
+ onChange: (position: number, value: TableFilter) => void;
10
+ onRemove?: (position: number) => void;
11
11
  };
12
12
  export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Column as ReactTableColumn } from '@tanstack/react-table';
3
3
  import { Select2Props } from '../../../../../../Select2/Select2';
4
4
  import { TableFilter } from '../../../../../../../primitives/Table/types';
@@ -6,4 +6,7 @@ export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'chi
6
6
  allColumns: ReactTableColumn<TType, unknown>[];
7
7
  filters: TableFilter[];
8
8
  };
9
- export declare function FilterColumn<TType = unknown>(props: FilterColumnProps<TType>): JSX.Element;
9
+ export declare const FilterColumn: React.ForwardRefExoticComponent<Pick<Select2Props, "defaultValue" | "onChange" | "value" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "emptyValue" | "disabled" | "highlighted" | "invalid" | "multiple" | "name" | "onCreate" | "onDelete" | "onEdit" | "readOnly" | "required" | "tags" | "fontSize"> & {
10
+ allColumns: ReactTableColumn<unknown, unknown>[];
11
+ filters: TableFilter[];
12
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -1,2 +1,4 @@
1
1
  import { Column as ReactTableColumn } from '@tanstack/react-table';
2
+ import { TableFilter } from '../../../../../../primitives/Table/types';
2
3
  export declare function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>): number;
4
+ export declare function isEmptyFilter(filter: TableFilter): boolean;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { TableColumnProps, TableGroupProps, TableSettings, useTableProps } from '../../primitives/Table/types';
2
+ import { TableColumnProps, TableGroupProps, TableSettings, TableProps } from '../../primitives/Table/types';
3
3
  import { MenuItemProps } from '../Menu/components/Item';
4
4
  export type { TableFilterComparator, TableFilterValue, TableFilter, TableColumnAlignment, TableColumnClassNameHandler, TableColumnDataType, TableColumnFilter, TableColumnMenu, TableColumnRenderer, TableColumnRendererAggregate, TableColumnRendererControl, TableColumnRendererControlProps, TableColumnRendererHeader, TableColumnRendererFooter, TableColumnSort, TableColumnSortDirection, TableColumnSortFn, TableColumnWidth, TableRowActionRenderer, TableRowActionGroupRenderer, TableRowClickHandler, TableRowGotoHandler, TableRowHeight, TableRowSelectHandler, TableShortcutHandlerFn, TableShortcutHandlerObject, TableFilterHandler, TableFontSize, TablePreset, TableRowExpansionRenderer, TableScrollToIndexHandler, TableServerLoadPageHandler, TableServerLoadAllHandler, TableServerLoadAllState, TableSettingsHandler, TableShortcuts, TableSortHandler, TableSettings, TableFeatureProps, } from '../../primitives/Table/types';
5
5
  export declare type ReportEmptyStateRenderer = () => JSX.Element | null;
6
- export declare type ReportProps<TType = unknown> = useTableProps<TType> & {
6
+ export declare type ReportProps<TType = unknown> = TableProps<TType> & {
7
7
  customSettings?: ReportCustomSettingsRenderer;
8
8
  emptyState?: ReportEmptyStateRenderer;
9
9
  toolbarLeft?: JSX.Element;
@@ -4,7 +4,6 @@ import { TableRef } from '../../primitives/Table/types';
4
4
  export declare function useReport<TType>(props: ReportProps<TType>, ref: React.RefObject<TableRef>): {
5
5
  id: string;
6
6
  instance: import("@tanstack/table-core").Table<TType>;
7
- length: number;
8
7
  meta: import("@tanstack/table-core").TableMeta<TType>;
9
8
  state: import("@tanstack/table-core").TableState;
10
9
  };
@@ -14,26 +14,48 @@ declare type Select2Texts = {
14
14
  save: string;
15
15
  search: string;
16
16
  searchOrCreate: string;
17
+ selectAll: string;
18
+ selectAllResults: string;
19
+ deselectAll: string;
20
+ deselectAllResults: string;
17
21
  };
18
22
  declare type Select2Props = Omit<React.HTMLAttributes<HTMLButtonElement>, 'children' | 'defaultValue' | 'onChange' | 'value'> & {
23
+ /** Autofocus Select2 when loaded **/
19
24
  autoFocus?: boolean;
25
+ /** Array of options in Select2 */
20
26
  children: Select2Children;
27
+ /** Initial value of the input in Select2 */
21
28
  defaultValue?: Select2Value;
29
+ /** Set what value should have an empty option in Select2 */
22
30
  emptyValue?: Select2OptionValue;
31
+ /** Whether the Select2 is in a disabled state **/
23
32
  disabled?: boolean;
33
+ /** Draws attention to the Select2 by changing its style and making it visually prominent */
24
34
  highlighted?: boolean;
35
+ /** Whether the Select2 is in an invalid state **/
25
36
  invalid?: boolean;
37
+ /** Whether the Select2 allows selecting multiple values **/
26
38
  multiple?: boolean;
39
+ /** Whether the Select2 is in an invalid state **/
27
40
  name?: string;
41
+ /** Handler called when user chooses an option from the provided options **/
28
42
  onChange?: (value: Select2Value) => void;
43
+ /** Handler called when user creates a new option **/
29
44
  onCreate?: Select2CreateHandler;
45
+ /** Handler called when user deletes an option **/
30
46
  onDelete?: Select2DeleteHandler;
47
+ /** Handler called when user edits an option **/
31
48
  onEdit?: Select2EditHandler;
49
+ /** Whether the Select2 is in a readonly state **/
32
50
  readOnly?: boolean;
33
51
  required?: boolean;
52
+ /** Renders select options as tags **/
34
53
  tags?: boolean;
54
+ /** Value of the input in select2 */
35
55
  value?: Select2Value;
56
+ /** Font size of text in Select2 **/
36
57
  fontSize?: FontSize;
58
+ /** Placeholder showed when nothing is selected **/
37
59
  placeholder?: string;
38
60
  };
39
61
  declare type Select2PropsWithStatics = React.ForwardRefExoticComponent<Select2Props & React.RefAttributes<HTMLButtonElement>> & {
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Select2OptionProps } from '../components/Option';
3
3
  import { Select2Children, Select2OptionValue, Select2Value } from '../types';
4
+ export declare const isGroup: (child: React.ReactElement) => boolean;
4
5
  export declare type useChildrenArgs = {
5
6
  children: Select2Children;
6
7
  emptyValue?: Select2OptionValue;
@@ -1,7 +1,7 @@
1
1
  export * from './components/Table';
2
2
  export * from './components/PaginatedTable';
3
3
  export * from './components/WindowedTable';
4
- export type { PaginationHandler, Row, RowIndexPath, RowClickHandler, RowDragHandler, RowCreateHandler, RowCopyHandler, RowDeleteHandler, RowActionHandler, SelectedRowsHandler, SelectedRowsState, SortDirection, SortHandler, SortRule, SortTypes, TableCell, TableColumnProps, TableGroupProps, TableProps, TableRow, TableRef, } from './types';
4
+ export type { PaginationHandler, Row, RowIndexPath, RowClickHandler, RowDragHandler, RowCreateHandler, RowCopyHandler, RowDeleteHandler, RowActionHandler, SelectedRowsHandler, SelectedRowsState, SortDirection, SortHandler, SortRule, SortTypes, LegacyTableCell as TableCell, LegacyTableColumnProps as TableColumnProps, LegacyTableGroupProps as TableGroupProps, LegacyTableProps as TableProps, LegacyTableRow as TableRow, LegacyTableRef as TableRef, } from './types';
5
5
  export * from './util/rowIndexPath';
6
6
  export * from './hooks/useRowCreation';
7
7
  export declare type TableTexts = {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './Table.css';
3
3
  export declare const DefaultEmptyState: () => React.ReactNode;
4
- export declare const BaseTable: React.ForwardRefExoticComponent<Partial<import("../types").TableProps<any>> & Partial<import("react-table").TableInstance<{}>> & {
4
+ export declare const BaseTable: React.ForwardRefExoticComponent<Partial<import("../types").LegacyTableProps<any>> & Partial<import("react-table").TableInstance<{}>> & {
5
5
  children: JSX.Element;
6
6
  headerRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
7
7
  bodyRef?: React.MutableRefObject<HTMLDivElement | null> | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Row, RowIndexPath, TableRef } from '../types';
2
+ import { Row, RowIndexPath, LegacyTableRef } from '../types';
3
3
  export declare const insertChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath?: RowIndexPath, values?: any) => [Row<TRow>[], RowIndexPath];
4
4
  export declare const removeChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath: RowIndexPath) => Row<TRow>[];
5
5
  export declare type useTableRowCreation<TRow> = {
@@ -8,4 +8,4 @@ export declare type useTableRowCreation<TRow> = {
8
8
  remove: (rowIndexPath: RowIndexPath) => void;
9
9
  isCreating: boolean;
10
10
  };
11
- export declare const useTableRowCreation: <TRow>(data: Row<TRow>[], tableRef: React.RefObject<TableRef>) => useTableRowCreation<TRow>;
11
+ export declare const useTableRowCreation: <TRow>(data: Row<TRow>[], tableRef: React.RefObject<LegacyTableRef>) => useTableRowCreation<TRow>;
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
- import { InternalTable, PaginationHandler, RowActiveHandler, SortHandler, TableProps, TableRef } from '../types';
2
+ import { InternalTable, PaginationHandler, RowActiveHandler, SortHandler, LegacyTableProps, LegacyTableRef } from '../types';
3
3
  export declare const useTable: <T extends {}>(props: React.HTMLAttributes<HTMLDivElement> & {
4
4
  autoFocus?: boolean | undefined;
5
- children: import("../types").TableChildren<T>;
5
+ children: import("../types").LegacyTableChildren<T>;
6
6
  data: import("../types").Row<T>[];
7
7
  dangerouslyHijackGlobalKeyboardNavigation?: boolean | undefined;
8
8
  emptyStateRenderer?: (() => React.ReactNode) | undefined;
9
9
  onRowClick?: import("../types").RowClickHandler<T> | undefined;
10
10
  onRowDrag?: import("../types").RowDragHandler<T> | undefined;
11
11
  onSelectedRows?: React.Dispatch<React.SetStateAction<Record<number, boolean>>> | undefined;
12
- rowClassName?: string | ((row: import("../types").TableRow<T>) => string | undefined) | undefined;
13
- rowExpansionRenderer?: ((row: import("../types").TableRow<T>) => React.ReactNode) | undefined;
12
+ rowClassName?: string | ((row: import("../types").LegacyTableRow<T>) => string | undefined) | undefined;
13
+ rowExpansionRenderer?: ((row: import("../types").LegacyTableRow<T>) => React.ReactNode) | undefined;
14
14
  rowHeight?: number | undefined;
15
15
  selectedRows?: Record<number, boolean> | undefined;
16
16
  activeIndex?: number | undefined;
@@ -35,4 +35,4 @@ export declare const useTable: <T extends {}>(props: React.HTMLAttributes<HTMLDi
35
35
  onRowActive?: RowActiveHandler<T> | undefined;
36
36
  } & {
37
37
  windowed?: boolean | undefined;
38
- }, ref: React.RefObject<TableRef>) => InternalTable;
38
+ }, ref: React.RefObject<LegacyTableRef>) => InternalTable;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { TableProps } from '../types';
3
- export declare const useTableKeyboardNavigation: <T extends {}>(props: TableProps<T>, rows: any[], rowProps: any, ref: React.RefObject<HTMLDivElement>) => [number | undefined, (index: number) => void, (event: React.KeyboardEvent<HTMLElement>) => void, (event: React.FocusEvent<HTMLElement>) => void];
2
+ import { LegacyTableProps } from '../types';
3
+ export declare const useTableKeyboardNavigation: <T extends {}>(props: LegacyTableProps<T>, rows: any[], rowProps: any, ref: React.RefObject<HTMLDivElement>) => [number | undefined, (index: number) => void, (event: React.KeyboardEvent<HTMLElement>) => void, (event: React.FocusEvent<HTMLElement>) => void];
@@ -7,7 +7,7 @@ export declare type RowIndexPath = string | undefined;
7
7
  export declare type Row<TRow extends {}> = TRow & {
8
8
  subRows?: Row<TRow>[];
9
9
  };
10
- export declare type TableRow<TRow> = {
10
+ export declare type LegacyTableRow<TRow> = {
11
11
  /**
12
12
  * Index of the row.
13
13
  * Note: This index is relative to the root or parent row if it is a sub row
@@ -36,14 +36,14 @@ export declare type TableRow<TRow> = {
36
36
  isEditing?: boolean;
37
37
  toggleRowEditing?: () => void;
38
38
  };
39
- export declare type TableCell<TRow> = {
39
+ export declare type LegacyTableCell<TRow> = {
40
40
  accessor: string;
41
41
  /** Represents the row which renders the specific cell, exposing its properties */
42
- row: TableRow<TRow>;
42
+ row: LegacyTableRow<TRow>;
43
43
  /** Access the rendered value in the cell */
44
44
  value: any;
45
45
  };
46
- export declare type TableColumnProps<TRow> = {
46
+ export declare type LegacyTableColumnProps<TRow> = {
47
47
  /**
48
48
  * This string is used to build the data model for your column.
49
49
  * It should match one of the properties defined in your `data` object on `Table`,
@@ -64,10 +64,10 @@ export declare type TableColumnProps<TRow> = {
64
64
  * It needs to be a render function that can return a transformed version of the existing value,
65
65
  * or any valid react node, for e.g. a `div`
66
66
  */
67
- cellRenderer?: (cellProps: TableCell<TRow>) => React.ReactNode;
67
+ cellRenderer?: (cellProps: LegacyTableCell<TRow>) => React.ReactNode;
68
68
  /** Disable sorting on column */
69
69
  disableSorting?: boolean;
70
- editRenderer?: (cellProps: TableCell<TRow>) => React.ReactNode;
70
+ editRenderer?: (cellProps: LegacyTableCell<TRow>) => React.ReactNode;
71
71
  /**
72
72
  * Specify the width and growth characteristics of a column.
73
73
  * This follows the standard flex-box `flex` css property
@@ -96,16 +96,16 @@ export declare type TableColumnProps<TRow> = {
96
96
  */
97
97
  style?: object;
98
98
  };
99
- export declare type TableGroupProps<TRow> = {
99
+ export declare type LegacyTableGroupProps<TRow> = {
100
100
  /** Content of a group should be another `Table.Group` or a `Table.Column` */
101
- children: React.ReactElement<TableColumnProps<TRow>> | React.ReactElement<TableColumnProps<TRow>>[];
101
+ children: React.ReactElement<LegacyTableColumnProps<TRow>> | React.ReactElement<LegacyTableColumnProps<TRow>>[];
102
102
  /** Hide the entire group (and columns defined within group) */
103
103
  hidden?: boolean;
104
104
  /** Text displayed in the group's header */
105
105
  title: string;
106
106
  };
107
- export declare type RowClickHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent) => void;
108
- export declare type RowDragHandler<TRow> = (rows: Array<TableRow<TRow>>, showPlaceholder: (placeholder: string) => void, event: React.DragEvent) => void;
107
+ export declare type RowClickHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent) => void;
108
+ export declare type RowDragHandler<TRow> = (rows: Array<LegacyTableRow<TRow>>, showPlaceholder: (placeholder: string) => void, event: React.DragEvent) => void;
109
109
  export declare type SortRule<T> = {
110
110
  /** Name of the accessor you want to sort */
111
111
  accessor: IdType<T>;
@@ -116,22 +116,22 @@ export declare type SelectedRowsState = Record<number, boolean>;
116
116
  export declare type SelectedRowsHandler = React.Dispatch<React.SetStateAction<SelectedRowsState>>;
117
117
  export declare type SortHandler<T> = (sortRules: SortRule<T>[] | undefined, sortedData?: T[]) => void;
118
118
  export declare type PaginationHandler = (pageNumber: number, pageSize: number) => void;
119
- export declare type RowCreateHandler<TRow> = (parentRow: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
120
- export declare type RowEditHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
121
- export declare type RowCopyHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
122
- export declare type RowDeleteHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
123
- export declare type RowActiveHandler<TRow> = (row: TableRow<TRow>) => void;
119
+ export declare type RowCreateHandler<TRow> = (parentRow: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
120
+ export declare type RowEditHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
121
+ export declare type RowCopyHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
122
+ export declare type RowDeleteHandler<TRow> = (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
123
+ export declare type RowActiveHandler<TRow> = (row: LegacyTableRow<TRow>) => void;
124
124
  export declare type RowAction<TRow> = {
125
- disabled?: ((row: TableRow<TRow>) => boolean) | boolean;
126
- icon: ((row: TableRow<TRow>) => IconName) | IconName;
127
- onClick: (row: TableRow<TRow>, event: React.MouseEvent<HTMLElement>) => void;
128
- text: ((row: TableRow<TRow>) => React.ReactNode) | React.ReactNode;
129
- tooltip?: ((row: TableRow<TRow>) => string) | string;
125
+ disabled?: ((row: LegacyTableRow<TRow>) => boolean) | boolean;
126
+ icon: ((row: LegacyTableRow<TRow>) => IconName) | IconName;
127
+ onClick: (row: LegacyTableRow<TRow>, event: React.MouseEvent<HTMLElement>) => void;
128
+ text: ((row: LegacyTableRow<TRow>) => React.ReactNode) | React.ReactNode;
129
+ tooltip?: ((row: LegacyTableRow<TRow>) => string) | string;
130
130
  showOnRow?: boolean;
131
- visible?: ((row: TableRow<TRow>) => boolean) | boolean;
131
+ visible?: ((row: LegacyTableRow<TRow>) => boolean) | boolean;
132
132
  };
133
133
  export declare type RowActionHandler<TRow> = RowAction<TRow> | undefined | null | boolean;
134
- export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
134
+ export declare type LegacyTableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
135
135
  /** Autofocus the table when loaded */
136
136
  autoFocus?: boolean;
137
137
  /**
@@ -139,7 +139,7 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
139
139
  * Read about `ForwardedGenericTableWithStatics` for more details.
140
140
  * *Note* that there can also be children that are rendered conditionally
141
141
  */
142
- children: TableChildren<TRow>;
142
+ children: LegacyTableChildren<TRow>;
143
143
  /** Provide data to be displayed in your table */
144
144
  data: Row<TRow>[];
145
145
  /**
@@ -166,9 +166,9 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
166
166
  * Provide a className for rows.
167
167
  * It can be a `string` or a render function that is given the properties of the row and returns a `string`
168
168
  */
169
- rowClassName?: string | ((row: TableRow<TRow>) => string | undefined);
169
+ rowClassName?: string | ((row: LegacyTableRow<TRow>) => string | undefined);
170
170
  /** Show extra content below each row */
171
- rowExpansionRenderer?: (row: TableRow<TRow>) => React.ReactNode;
171
+ rowExpansionRenderer?: (row: LegacyTableRow<TRow>) => React.ReactNode;
172
172
  /** Give the row a specific height */
173
173
  rowHeight?: number;
174
174
  /**
@@ -220,7 +220,7 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
220
220
  /** Handler called when a row is made active */
221
221
  onRowActive?: RowActiveHandler<TRow>;
222
222
  };
223
- export declare type TableRef = HTMLDivElement & {
223
+ export declare type LegacyTableRef = HTMLDivElement & {
224
224
  instance: {
225
225
  toggleAllRowsExpanded: any;
226
226
  toggleHideAllColumns: any;
@@ -232,39 +232,39 @@ export declare type TableRef = HTMLDivElement & {
232
232
  toggleSortBy: any;
233
233
  };
234
234
  };
235
- export declare type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<TableProps<any> & React.RefAttributes<HTMLDivElement>> & {
235
+ export declare type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<LegacyTableProps<any> & React.RefAttributes<HTMLDivElement>> & {
236
236
  /** Represents a column in your table */
237
- Column: <TRow>(props: TableColumnProps<TRow>) => JSX.Element | null;
237
+ Column: <TRow>(props: LegacyTableColumnProps<TRow>) => JSX.Element | null;
238
238
  /**
239
239
  * Container for columns.
240
240
  * Visually this adds a column above and spans all group children.
241
241
  * *Note* that groups can only be nested two levels deep
242
242
  */
243
- Group: <TRow>(props: TableGroupProps<TRow>) => JSX.Element | null;
244
- } & (<TRow>(props: TableProps<TRow> & {
243
+ Group: <TRow>(props: LegacyTableGroupProps<TRow>) => JSX.Element | null;
244
+ } & (<TRow>(props: LegacyTableProps<TRow> & {
245
245
  ref?: React.Ref<HTMLDivElement>;
246
246
  }) => JSX.Element);
247
- export declare type TableChild<TRow> = React.ReactElement<TableColumnProps<TRow>> | React.ReactElement<TableGroupProps<TRow>> | boolean | null;
248
- export declare type TableChildren<TRow> = TableChild<TRow> | TableChild<TRow>[];
247
+ export declare type LegacyTableChild<TRow> = React.ReactElement<LegacyTableColumnProps<TRow>> | React.ReactElement<LegacyTableGroupProps<TRow>> | boolean | null;
248
+ export declare type LegacyTableChildren<TRow> = LegacyTableChild<TRow> | LegacyTableChild<TRow>[];
249
249
  /** @internal */
250
- export declare type InternalTableColumn = TableColumnProps<any> & ColumnInstance & UseSortByColumnProps<{}> & {
250
+ export declare type InternalTableColumn = LegacyTableColumnProps<any> & ColumnInstance & UseSortByColumnProps<{}> & {
251
251
  className?: string;
252
252
  };
253
253
  /** @internal */
254
- export declare type InternalTableCell = TableCell<any> & Cell & {
254
+ export declare type InternalTableCell = LegacyTableCell<any> & Cell & {
255
255
  column: InternalTableColumn;
256
256
  };
257
257
  /** @internal */
258
- export declare type InternalTableRow = TableRow<any> & BaseRow & UseExpandedRowProps<{}> & UseRowSelectRowProps<{}> & UseRowStateRowProps<{}>;
258
+ export declare type InternalTableRow = LegacyTableRow<any> & BaseRow & UseExpandedRowProps<{}> & UseRowSelectRowProps<{}> & UseRowStateRowProps<{}>;
259
259
  /** @internal */
260
- export declare type InternalBaseTable = Partial<TableProps<any>> & Partial<TableInstance> & {
260
+ export declare type InternalBaseTable = Partial<LegacyTableProps<any>> & Partial<TableInstance> & {
261
261
  children: JSX.Element;
262
262
  headerRef?: React.MutableRefObject<HTMLDivElement | null>;
263
263
  bodyRef?: React.MutableRefObject<HTMLDivElement | null>;
264
264
  };
265
265
  /** @internal */
266
266
  export declare type InternalTable = {
267
- rowProps: Pick<TableProps<any>, 'inlineEditingUniqueId' | 'onRowClick' | 'rowClassName' | 'rowExpansionRenderer'> & {
267
+ rowProps: Pick<LegacyTableProps<any>, 'inlineEditingUniqueId' | 'onRowClick' | 'rowClassName' | 'rowExpansionRenderer'> & {
268
268
  activeIndex?: number;
269
269
  setActiveIndex?: any;
270
270
  rowHeight: number | undefined;
@@ -1,4 +1,4 @@
1
- import { SortTypes, TableRow } from '../types';
2
- declare type SortHandler<T> = (rowA: TableRow<T>, rowB: TableRow<T>, columnId: string) => 0 | 1 | -1;
1
+ import { SortTypes, LegacyTableRow } from '../types';
2
+ declare type SortHandler<T> = (rowA: LegacyTableRow<T>, rowB: LegacyTableRow<T>, columnId: string) => 0 | 1 | -1;
3
3
  export declare const sortTypes: (locale: string) => Record<SortTypes, SortHandler<any>>;
4
4
  export {};
@@ -1,8 +1,8 @@
1
- import { TableRow, TableChildren, InternalTableRow, SortRule } from './types';
1
+ import { LegacyTableRow, LegacyTableChildren, InternalTableRow, SortRule } from './types';
2
2
  import { SortingRule } from 'react-table';
3
- export declare const sanitizeRowProps: (row: InternalTableRow, rowExpansionRenderer: any) => TableRow<any>;
4
- export declare const getColumnsFromChildren: (children: TableChildren<any>, rowExpansionRenderer: any) => {
5
- columns: (import("./types").TableColumnProps<any> & import("react-table").ColumnInstance<{}> & import("react-table").UseSortByColumnProps<{}> & {
3
+ export declare const sanitizeRowProps: (row: InternalTableRow, rowExpansionRenderer: any) => LegacyTableRow<any>;
4
+ export declare const getColumnsFromChildren: (children: LegacyTableChildren<any>, rowExpansionRenderer: any) => {
5
+ columns: (import("./types").LegacyTableColumnProps<any> & import("react-table").ColumnInstance<{}> & import("react-table").UseSortByColumnProps<{}> & {
6
6
  className?: string | undefined;
7
7
  } & {
8
8
  disableSortBy: boolean | undefined;
@@ -6,7 +6,7 @@ export declare type FilterProps<TType = unknown> = {
6
6
  filter: Table3Filter;
7
7
  filters: Table3Filter[];
8
8
  position: number;
9
- onChange: (id: string | null, value: Table3Filter) => void;
10
- onRemove: (columnId: string | null) => void;
9
+ onChange: (position: number, value: Table3Filter) => void;
10
+ onRemove?: (position: number) => void;
11
11
  };
12
12
  export declare function Filter<TType = unknown>(props: FilterProps<TType>): JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Column as RTColumn } from '@tanstack/react-table';
3
3
  import { Select2Props } from '../../../../../../Select2/Select2';
4
4
  import { Table3Filter } from '../../../../../types';
@@ -6,4 +6,7 @@ export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'chi
6
6
  allColumns: RTColumn<TType, unknown>[];
7
7
  filters: Table3Filter[];
8
8
  };
9
- export declare function FilterColumn<TType = unknown>(props: FilterColumnProps<TType>): JSX.Element;
9
+ export declare const FilterColumn: React.ForwardRefExoticComponent<Pick<Select2Props, "defaultValue" | "onChange" | "value" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "emptyValue" | "disabled" | "highlighted" | "invalid" | "multiple" | "name" | "onCreate" | "onDelete" | "onEdit" | "readOnly" | "required" | "tags" | "fontSize"> & {
10
+ allColumns: RTColumn<unknown, unknown>[];
11
+ filters: Table3Filter[];
12
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -1,19 +1,19 @@
1
1
  import React from 'react';
2
2
  import { RowData } from '@tanstack/react-table';
3
3
  import { Table3ColumnAlignment, Table3ColumnRenderer, Table3Props, Table3ColumnHeaderMenu, Table3ColumnControlRenderer, Table3ColumnDataType, Table3ColumnClassNameHandler, Table3ColumnFooterRenderer, TableStrategy, Table3FilterComparator, Table3Settings, Table3Ref } from '../types';
4
- import { useTableRowActive } from '../../../primitives/Table/useTable/features/useTableRowActive';
5
- import { useTableRowHeight } from '../../../primitives/Table/useTable/features/useTableRowHeight';
6
- import { useTableFontSize } from '../../../primitives/Table/useTable/features/useTableFontSize';
4
+ import { useTableRowActive } from '../../../primitives/Table/useTableManager/features/useTableRowActive';
5
+ import { useTableRowHeight } from '../../../primitives/Table/useTableManager/features/useTableRowHeight';
6
+ import { useTableFontSize } from '../../../primitives/Table/useTableManager/features/useTableFontSize';
7
7
  import { useRowDrag } from './features/useRowDrag';
8
8
  import { useColumnFreezing } from './features/useColumnFreezing';
9
- import { useTableRowSelection } from '../../../primitives/Table/useTable/features/useTableRowSelection';
10
- import { useTableServerLoading } from '../../../primitives/Table/useTable/features/useTableServerLoading';
11
- import { useTableRowClick } from '../../../primitives/Table/useTable/features/useTableRowClick';
12
- import { useTableColumnOrdering } from '../../../primitives/Table/useTable/features/useTableColumnOrdering';
9
+ import { useTableRowSelection } from '../../../primitives/Table/useTableManager/features/useTableRowSelection';
10
+ import { useTableServerLoading } from '../../../primitives/Table/useTableManager/features/useTableServerLoading';
11
+ import { useTableRowClick } from '../../../primitives/Table/useTableManager/features/useTableRowClick';
12
+ import { useTableColumnOrdering } from '../../../primitives/Table/useTableManager/features/useTableColumnOrdering';
13
13
  import { useRowDrop } from './features/useRowDrop';
14
14
  import { useEditing } from './features/useEditing';
15
15
  import { usePrinting } from './features/usePrinting';
16
- import { useTableRowGoto } from '../../../primitives/Table/useTable/features/useTableRowGoto';
16
+ import { useTableRowGoto } from '../../../primitives/Table/useTableManager/features/useTableRowGoto';
17
17
  import { useSearch } from './features/useSearch';
18
18
  import { useRowActions } from './features/useRowActions';
19
19
  import { Table3Validation } from './features/useValidation';
@@ -203,6 +203,8 @@ export declare type Table3Texts = {
203
203
  expandAll: string;
204
204
  };
205
205
  menu: {
206
+ editFilter: string;
207
+ filter: string;
206
208
  freezeFirstColumn: string;
207
209
  freezeUptoColumn: string;
208
210
  gotoRow: string;