@mui/x-data-grid 6.4.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/CHANGELOG.md +134 -2
  2. package/DataGrid/DataGrid.js +10 -3
  3. package/DataGrid/useDataGridProps.js +5 -12
  4. package/README.md +2 -2
  5. package/colDef/gridNumericOperators.js +0 -6
  6. package/components/GridColumnHeaders.js +4 -9
  7. package/components/GridHeader.d.ts +2 -2
  8. package/components/base/GridBody.d.ts +1 -1
  9. package/components/base/GridFooterPlaceholder.d.ts +2 -2
  10. package/components/base/GridOverlays.d.ts +2 -2
  11. package/components/cell/GridActionsCell.d.ts +3 -3
  12. package/components/cell/GridActionsCell.js +3 -3
  13. package/components/cell/GridBooleanCell.d.ts +1 -1
  14. package/components/cell/GridEditBooleanCell.d.ts +2 -2
  15. package/components/cell/GridEditDateCell.d.ts +2 -2
  16. package/components/cell/GridEditInputCell.d.ts +1 -1
  17. package/components/cell/GridEditInputCell.js +4 -1
  18. package/components/cell/GridEditSingleSelectCell.d.ts +3 -3
  19. package/components/cell/GridEditSingleSelectCell.js +5 -5
  20. package/components/cell/GridSkeletonCell.d.ts +1 -1
  21. package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  22. package/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  23. package/components/columnHeaders/GridColumnGroupHeader.d.ts +2 -2
  24. package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
  25. package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
  26. package/components/columnHeaders/GridColumnHeaderItem.d.ts +2 -2
  27. package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
  28. package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  29. package/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
  30. package/components/containers/GridRoot.js +1 -3
  31. package/components/index.d.ts +0 -1
  32. package/components/index.js +1 -2
  33. package/components/menu/GridMenu.d.ts +1 -1
  34. package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  35. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +2 -2
  36. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +2 -2
  37. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +2 -2
  38. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +2 -2
  39. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +2 -2
  40. package/components/panel/GridColumnsPanel.d.ts +2 -2
  41. package/components/panel/GridPanelContent.d.ts +1 -1
  42. package/components/panel/GridPanelFooter.d.ts +1 -1
  43. package/components/panel/GridPanelHeader.d.ts +1 -1
  44. package/components/panel/GridPreferencesPanel.js +3 -1
  45. package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +15 -2
  46. package/components/panel/filterPanel/GridFilterInputBoolean.js +80 -36
  47. package/components/panel/filterPanel/GridFilterInputDate.d.ts +9 -2
  48. package/components/panel/filterPanel/GridFilterInputDate.js +27 -6
  49. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
  50. package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
  51. package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +9 -2
  52. package/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
  53. package/components/panel/filterPanel/GridFilterInputValue.d.ts +11 -4
  54. package/components/panel/filterPanel/GridFilterInputValue.js +29 -6
  55. package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -1
  56. package/components/panel/filterPanel/GridFilterPanel.js +1 -1
  57. package/components/panel/filterPanel/index.d.ts +3 -1
  58. package/components/panel/filterPanel/index.js +2 -1
  59. package/components/toolbar/GridToolbarColumnsButton.js +11 -6
  60. package/components/toolbar/GridToolbarDensitySelector.js +2 -2
  61. package/components/toolbar/GridToolbarExport.d.ts +2 -2
  62. package/components/toolbar/GridToolbarExportContainer.js +7 -7
  63. package/components/toolbar/GridToolbarFilterButton.js +11 -4
  64. package/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
  65. package/constants/localeTextConstants.js +26 -0
  66. package/context/GridContextProvider.d.ts +1 -1
  67. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +10 -2
  68. package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
  69. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +10 -3
  70. package/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
  71. package/hooks/features/dimensions/useGridDimensions.js +2 -2
  72. package/hooks/features/editing/useGridEditing.js +0 -3
  73. package/hooks/features/filter/gridFilterSelector.d.ts +2 -2
  74. package/hooks/features/filter/gridFilterSelector.js +2 -2
  75. package/hooks/features/filter/gridFilterState.d.ts +6 -6
  76. package/hooks/features/filter/gridFilterState.js +6 -0
  77. package/hooks/features/filter/useGridFilter.js +29 -9
  78. package/hooks/features/focus/gridFocusState.d.ts +2 -0
  79. package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -0
  80. package/hooks/features/focus/gridFocusStateSelector.js +6 -0
  81. package/hooks/features/focus/useGridFocus.js +55 -9
  82. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +4 -0
  83. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +5 -0
  84. package/hooks/features/headerFiltering/index.d.ts +1 -0
  85. package/hooks/features/headerFiltering/index.js +1 -0
  86. package/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +6 -0
  87. package/hooks/features/headerFiltering/useGridHeaderFiltering.js +91 -0
  88. package/hooks/features/index.d.ts +1 -0
  89. package/hooks/features/index.js +2 -1
  90. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  91. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
  92. package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +2 -0
  93. package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
  94. package/hooks/features/rows/useGridRows.js +16 -1
  95. package/hooks/features/rows/useGridRowsMeta.js +11 -12
  96. package/index.js +1 -1
  97. package/internals/index.d.ts +6 -1
  98. package/internals/index.js +4 -0
  99. package/internals/utils/index.d.ts +1 -0
  100. package/internals/utils/index.js +2 -1
  101. package/internals/utils/useProps.d.ts +8 -0
  102. package/internals/utils/useProps.js +33 -0
  103. package/legacy/DataGrid/DataGrid.js +10 -3
  104. package/legacy/DataGrid/useDataGridProps.js +8 -8
  105. package/legacy/colDef/gridNumericOperators.js +0 -6
  106. package/legacy/components/GridColumnHeaders.js +4 -9
  107. package/legacy/components/cell/GridActionsCell.js +3 -3
  108. package/legacy/components/cell/GridEditInputCell.js +4 -1
  109. package/legacy/components/cell/GridEditSingleSelectCell.js +5 -5
  110. package/legacy/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  111. package/legacy/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
  112. package/legacy/components/containers/GridRoot.js +1 -3
  113. package/legacy/components/index.js +1 -2
  114. package/legacy/components/panel/GridPreferencesPanel.js +3 -1
  115. package/legacy/components/panel/filterPanel/GridFilterInputBoolean.js +79 -35
  116. package/legacy/components/panel/filterPanel/GridFilterInputDate.js +26 -5
  117. package/legacy/components/panel/filterPanel/GridFilterInputSingleSelect.js +55 -31
  118. package/legacy/components/panel/filterPanel/GridFilterInputValue.js +28 -5
  119. package/legacy/components/panel/filterPanel/GridFilterPanel.js +1 -1
  120. package/legacy/components/panel/filterPanel/index.js +2 -1
  121. package/legacy/components/toolbar/GridToolbarColumnsButton.js +11 -5
  122. package/legacy/components/toolbar/GridToolbarDensitySelector.js +2 -2
  123. package/legacy/components/toolbar/GridToolbarExportContainer.js +7 -7
  124. package/legacy/components/toolbar/GridToolbarFilterButton.js +11 -4
  125. package/legacy/constants/localeTextConstants.js +26 -0
  126. package/legacy/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
  127. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -5
  128. package/legacy/hooks/features/dimensions/useGridDimensions.js +2 -2
  129. package/legacy/hooks/features/editing/useGridEditing.js +0 -3
  130. package/legacy/hooks/features/filter/gridFilterSelector.js +4 -4
  131. package/legacy/hooks/features/filter/gridFilterState.js +6 -0
  132. package/legacy/hooks/features/filter/useGridFilter.js +29 -9
  133. package/legacy/hooks/features/focus/gridFocusStateSelector.js +10 -0
  134. package/legacy/hooks/features/focus/useGridFocus.js +58 -9
  135. package/legacy/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +11 -0
  136. package/legacy/hooks/features/headerFiltering/index.js +1 -0
  137. package/legacy/hooks/features/headerFiltering/useGridHeaderFiltering.js +93 -0
  138. package/legacy/hooks/features/index.js +2 -1
  139. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
  140. package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
  141. package/legacy/hooks/features/rows/useGridRows.js +16 -1
  142. package/legacy/hooks/features/rows/useGridRowsMeta.js +12 -20
  143. package/legacy/index.js +1 -1
  144. package/legacy/internals/index.js +4 -0
  145. package/legacy/internals/utils/index.js +2 -1
  146. package/legacy/internals/utils/useProps.js +33 -0
  147. package/legacy/locales/arSD.js +28 -0
  148. package/legacy/locales/beBY.js +28 -0
  149. package/legacy/locales/bgBG.js +28 -0
  150. package/legacy/locales/csCZ.js +36 -8
  151. package/legacy/locales/daDK.js +28 -0
  152. package/legacy/locales/deDE.js +28 -0
  153. package/legacy/locales/elGR.js +27 -0
  154. package/legacy/locales/esES.js +28 -0
  155. package/legacy/locales/faIR.js +28 -0
  156. package/legacy/locales/fiFI.js +28 -0
  157. package/legacy/locales/frFR.js +26 -0
  158. package/legacy/locales/heIL.js +30 -2
  159. package/legacy/locales/huHU.js +28 -0
  160. package/legacy/locales/itIT.js +28 -0
  161. package/legacy/locales/jaJP.js +28 -0
  162. package/legacy/locales/koKR.js +28 -0
  163. package/legacy/locales/nbNO.js +28 -0
  164. package/legacy/locales/nlNL.js +26 -0
  165. package/legacy/locales/plPL.js +28 -0
  166. package/legacy/locales/ptBR.js +28 -0
  167. package/legacy/locales/roRO.js +28 -0
  168. package/legacy/locales/ruRU.js +28 -0
  169. package/legacy/locales/skSK.js +28 -0
  170. package/legacy/locales/svSE.js +28 -0
  171. package/legacy/locales/trTR.js +28 -0
  172. package/legacy/locales/ukUA.js +28 -0
  173. package/legacy/locales/urPK.js +28 -0
  174. package/legacy/locales/viVN.js +27 -0
  175. package/legacy/locales/zhCN.js +28 -0
  176. package/legacy/locales/zhTW.js +28 -0
  177. package/legacy/material/index.js +2 -0
  178. package/legacy/models/api/gridHeaderFilteringApi.js +1 -0
  179. package/legacy/models/gridFilterItem.js +1 -1
  180. package/legacy/models/gridHeaderFilteringModel.js +1 -0
  181. package/legacy/models/index.js +0 -1
  182. package/locales/arSD.js +28 -0
  183. package/locales/beBY.js +28 -0
  184. package/locales/bgBG.js +28 -0
  185. package/locales/csCZ.js +36 -8
  186. package/locales/daDK.js +28 -0
  187. package/locales/deDE.js +28 -0
  188. package/locales/elGR.js +27 -0
  189. package/locales/esES.js +28 -0
  190. package/locales/faIR.js +28 -0
  191. package/locales/fiFI.js +28 -0
  192. package/locales/frFR.js +26 -0
  193. package/locales/heIL.js +30 -2
  194. package/locales/huHU.js +28 -0
  195. package/locales/itIT.js +28 -0
  196. package/locales/jaJP.js +28 -0
  197. package/locales/koKR.js +28 -0
  198. package/locales/nbNO.js +28 -0
  199. package/locales/nlNL.js +26 -0
  200. package/locales/plPL.js +28 -0
  201. package/locales/ptBR.js +28 -0
  202. package/locales/roRO.js +28 -0
  203. package/locales/ruRU.js +28 -0
  204. package/locales/skSK.js +28 -0
  205. package/locales/svSE.js +28 -0
  206. package/locales/trTR.js +28 -0
  207. package/locales/ukUA.js +28 -0
  208. package/locales/urPK.js +28 -0
  209. package/locales/viVN.js +27 -0
  210. package/locales/zhCN.js +28 -0
  211. package/locales/zhTW.js +28 -0
  212. package/material/components/MUISelectOption.d.ts +2 -2
  213. package/material/index.d.ts +3 -66
  214. package/material/index.js +2 -0
  215. package/models/api/gridApiCommon.d.ts +3 -2
  216. package/models/api/gridCoreApi.d.ts +4 -0
  217. package/models/api/gridFilterApi.d.ts +3 -1
  218. package/models/api/gridFocusApi.d.ts +6 -0
  219. package/models/api/gridHeaderFilteringApi.d.ts +30 -0
  220. package/models/api/gridHeaderFilteringApi.js +1 -0
  221. package/models/api/gridLocaleTextApi.d.ts +25 -0
  222. package/models/api/gridPreferencesPanelApi.d.ts +3 -1
  223. package/models/events/gridEventLookup.d.ts +27 -1
  224. package/models/gridFilterItem.d.ts +1 -1
  225. package/models/gridFilterItem.js +1 -1
  226. package/models/gridFilterOperator.d.ts +5 -1
  227. package/models/gridHeaderFilteringModel.d.ts +5 -0
  228. package/models/gridHeaderFilteringModel.js +1 -0
  229. package/models/gridSlotsComponent.d.ts +16 -4
  230. package/models/gridStateCommunity.d.ts +4 -0
  231. package/models/index.d.ts +1 -1
  232. package/models/index.js +0 -1
  233. package/models/props/DataGridProps.d.ts +5 -0
  234. package/modern/DataGrid/DataGrid.js +10 -3
  235. package/modern/DataGrid/useDataGridProps.js +5 -12
  236. package/modern/colDef/gridNumericOperators.js +0 -6
  237. package/modern/components/GridColumnHeaders.js +4 -9
  238. package/modern/components/cell/GridActionsCell.js +3 -3
  239. package/modern/components/cell/GridEditInputCell.js +4 -1
  240. package/modern/components/cell/GridEditSingleSelectCell.js +5 -5
  241. package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  242. package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +13 -4
  243. package/modern/components/containers/GridRoot.js +1 -3
  244. package/modern/components/index.js +1 -2
  245. package/modern/components/panel/GridPreferencesPanel.js +3 -1
  246. package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +80 -36
  247. package/modern/components/panel/filterPanel/GridFilterInputDate.js +27 -6
  248. package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
  249. package/modern/components/panel/filterPanel/GridFilterInputValue.js +29 -6
  250. package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -1
  251. package/modern/components/panel/filterPanel/index.js +2 -1
  252. package/modern/components/toolbar/GridToolbarColumnsButton.js +11 -6
  253. package/modern/components/toolbar/GridToolbarDensitySelector.js +2 -2
  254. package/modern/components/toolbar/GridToolbarExportContainer.js +7 -7
  255. package/modern/components/toolbar/GridToolbarFilterButton.js +11 -4
  256. package/modern/constants/localeTextConstants.js +26 -0
  257. package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
  258. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
  259. package/modern/hooks/features/dimensions/useGridDimensions.js +2 -2
  260. package/modern/hooks/features/editing/useGridEditing.js +0 -3
  261. package/modern/hooks/features/filter/gridFilterSelector.js +2 -2
  262. package/modern/hooks/features/filter/gridFilterState.js +6 -0
  263. package/modern/hooks/features/filter/useGridFilter.js +29 -9
  264. package/modern/hooks/features/focus/gridFocusStateSelector.js +6 -0
  265. package/modern/hooks/features/focus/useGridFocus.js +55 -9
  266. package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +5 -0
  267. package/modern/hooks/features/headerFiltering/index.js +1 -0
  268. package/modern/hooks/features/headerFiltering/useGridHeaderFiltering.js +90 -0
  269. package/modern/hooks/features/index.js +2 -1
  270. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
  271. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
  272. package/modern/hooks/features/rows/useGridRows.js +16 -1
  273. package/modern/hooks/features/rows/useGridRowsMeta.js +11 -12
  274. package/modern/index.js +1 -1
  275. package/modern/internals/index.js +4 -0
  276. package/modern/internals/utils/index.js +2 -1
  277. package/modern/internals/utils/useProps.js +32 -0
  278. package/modern/locales/arSD.js +28 -0
  279. package/modern/locales/beBY.js +28 -0
  280. package/modern/locales/bgBG.js +28 -0
  281. package/modern/locales/csCZ.js +36 -8
  282. package/modern/locales/daDK.js +28 -0
  283. package/modern/locales/deDE.js +28 -0
  284. package/modern/locales/elGR.js +27 -0
  285. package/modern/locales/esES.js +28 -0
  286. package/modern/locales/faIR.js +28 -0
  287. package/modern/locales/fiFI.js +28 -0
  288. package/modern/locales/frFR.js +26 -0
  289. package/modern/locales/heIL.js +30 -2
  290. package/modern/locales/huHU.js +28 -0
  291. package/modern/locales/itIT.js +28 -0
  292. package/modern/locales/jaJP.js +28 -0
  293. package/modern/locales/koKR.js +28 -0
  294. package/modern/locales/nbNO.js +28 -0
  295. package/modern/locales/nlNL.js +26 -0
  296. package/modern/locales/plPL.js +28 -0
  297. package/modern/locales/ptBR.js +28 -0
  298. package/modern/locales/roRO.js +28 -0
  299. package/modern/locales/ruRU.js +28 -0
  300. package/modern/locales/skSK.js +28 -0
  301. package/modern/locales/svSE.js +28 -0
  302. package/modern/locales/trTR.js +28 -0
  303. package/modern/locales/ukUA.js +28 -0
  304. package/modern/locales/urPK.js +28 -0
  305. package/modern/locales/viVN.js +27 -0
  306. package/modern/locales/zhCN.js +28 -0
  307. package/modern/locales/zhTW.js +28 -0
  308. package/modern/material/index.js +2 -0
  309. package/modern/models/api/gridHeaderFilteringApi.js +1 -0
  310. package/modern/models/gridFilterItem.js +1 -1
  311. package/modern/models/gridHeaderFilteringModel.js +1 -0
  312. package/modern/models/index.js +0 -1
  313. package/node/DataGrid/DataGrid.js +10 -3
  314. package/node/DataGrid/useDataGridProps.js +4 -11
  315. package/node/colDef/gridNumericOperators.js +0 -6
  316. package/node/components/GridColumnHeaders.js +3 -8
  317. package/node/components/cell/GridActionsCell.js +3 -3
  318. package/node/components/cell/GridEditInputCell.js +4 -1
  319. package/node/components/cell/GridEditSingleSelectCell.js +5 -5
  320. package/node/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  321. package/node/components/columnHeaders/GridColumnHeaderFilterIconButton.js +12 -3
  322. package/node/components/containers/GridRoot.js +1 -3
  323. package/node/components/index.js +0 -11
  324. package/node/components/panel/GridPreferencesPanel.js +3 -1
  325. package/node/components/panel/filterPanel/GridFilterInputBoolean.js +78 -35
  326. package/node/components/panel/filterPanel/GridFilterInputDate.js +27 -6
  327. package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +56 -32
  328. package/node/components/panel/filterPanel/GridFilterInputValue.js +29 -6
  329. package/node/components/panel/filterPanel/GridFilterPanel.js +2 -1
  330. package/node/components/panel/filterPanel/index.js +26 -8
  331. package/node/components/toolbar/GridToolbarColumnsButton.js +11 -6
  332. package/node/components/toolbar/GridToolbarDensitySelector.js +2 -2
  333. package/node/components/toolbar/GridToolbarExportContainer.js +7 -7
  334. package/node/components/toolbar/GridToolbarFilterButton.js +10 -3
  335. package/node/constants/localeTextConstants.js +26 -0
  336. package/node/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -1
  337. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -2
  338. package/node/hooks/features/dimensions/useGridDimensions.js +2 -2
  339. package/node/hooks/features/editing/useGridEditing.js +0 -3
  340. package/node/hooks/features/filter/gridFilterSelector.js +2 -2
  341. package/node/hooks/features/filter/gridFilterState.js +6 -0
  342. package/node/hooks/features/filter/useGridFilter.js +30 -10
  343. package/node/hooks/features/focus/gridFocusStateSelector.js +9 -1
  344. package/node/hooks/features/focus/useGridFocus.js +55 -9
  345. package/node/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +15 -0
  346. package/node/hooks/features/headerFiltering/index.js +16 -0
  347. package/node/hooks/features/headerFiltering/useGridHeaderFiltering.js +101 -0
  348. package/node/hooks/features/index.js +11 -0
  349. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +113 -4
  350. package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -2
  351. package/node/hooks/features/rows/useGridRows.js +16 -1
  352. package/node/hooks/features/rows/useGridRowsMeta.js +11 -12
  353. package/node/index.js +1 -1
  354. package/node/internals/index.js +46 -0
  355. package/node/internals/utils/index.js +11 -0
  356. package/node/internals/utils/useProps.js +41 -0
  357. package/node/locales/arSD.js +28 -0
  358. package/node/locales/beBY.js +28 -0
  359. package/node/locales/bgBG.js +28 -0
  360. package/node/locales/csCZ.js +36 -8
  361. package/node/locales/daDK.js +28 -0
  362. package/node/locales/deDE.js +28 -0
  363. package/node/locales/elGR.js +27 -0
  364. package/node/locales/esES.js +28 -0
  365. package/node/locales/faIR.js +28 -0
  366. package/node/locales/fiFI.js +28 -0
  367. package/node/locales/frFR.js +26 -0
  368. package/node/locales/heIL.js +30 -2
  369. package/node/locales/huHU.js +28 -0
  370. package/node/locales/itIT.js +28 -0
  371. package/node/locales/jaJP.js +28 -0
  372. package/node/locales/koKR.js +28 -0
  373. package/node/locales/nbNO.js +28 -0
  374. package/node/locales/nlNL.js +26 -0
  375. package/node/locales/plPL.js +28 -0
  376. package/node/locales/ptBR.js +28 -0
  377. package/node/locales/roRO.js +28 -0
  378. package/node/locales/ruRU.js +28 -0
  379. package/node/locales/skSK.js +28 -0
  380. package/node/locales/svSE.js +28 -0
  381. package/node/locales/trTR.js +28 -0
  382. package/node/locales/ukUA.js +28 -0
  383. package/node/locales/urPK.js +28 -0
  384. package/node/locales/viVN.js +27 -0
  385. package/node/locales/zhCN.js +28 -0
  386. package/node/locales/zhTW.js +28 -0
  387. package/node/material/index.js +2 -0
  388. package/node/models/api/gridHeaderFilteringApi.js +5 -0
  389. package/node/models/gridFilterItem.js +1 -1
  390. package/node/models/gridHeaderFilteringModel.js +5 -0
  391. package/node/models/index.js +0 -11
  392. package/package.json +4 -4
  393. package/components/GridScrollArea.d.ts +0 -10
  394. package/components/GridScrollArea.js +0 -117
  395. package/legacy/components/GridScrollArea.js +0 -119
  396. package/legacy/lib/createDetectElementResize/index.js +0 -145
  397. package/lib/createDetectElementResize/index.d.ts +0 -18
  398. package/lib/createDetectElementResize/index.js +0 -145
  399. package/lib/createDetectElementResize/types.d.ts +0 -9
  400. package/modern/components/GridScrollArea.js +0 -117
  401. package/modern/lib/createDetectElementResize/index.js +0 -145
  402. package/node/components/GridScrollArea.js +0 -126
  403. package/node/lib/createDetectElementResize/index.js +0 -151
package/locales/ptBR.js CHANGED
@@ -60,6 +60,34 @@ const ptBRGrid = {
60
60
  filterOperatorIsEmpty: 'está vazio',
61
61
  filterOperatorIsNotEmpty: 'não está vazio',
62
62
  filterOperatorIsAnyOf: 'é qualquer um dos',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: 'qualquer',
65
93
  filterValueTrue: 'verdadeiro',
package/locales/roRO.js CHANGED
@@ -60,6 +60,34 @@ const roROGrid = {
60
60
  filterOperatorIsEmpty: 'este gol',
61
61
  filterOperatorIsNotEmpty: 'nu este gol',
62
62
  filterOperatorIsAnyOf: 'este una din valori',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: 'Aleatoriu',
65
93
  filterValueTrue: 'Da',
package/locales/ruRU.js CHANGED
@@ -69,6 +69,34 @@ const ruRUGrid = {
69
69
  filterOperatorIsEmpty: 'пустой',
70
70
  filterOperatorIsNotEmpty: 'не пустой',
71
71
  filterOperatorIsAnyOf: 'любой из',
72
+ // 'filterOperator=': '=',
73
+ // 'filterOperator!=': '!=',
74
+ // 'filterOperator>': '>',
75
+ // 'filterOperator>=': '>=',
76
+ // 'filterOperator<': '<',
77
+ // 'filterOperator<=': '<=',
78
+
79
+ // Header filter operators text
80
+ // headerFilterOperatorContains: 'Contains',
81
+ // headerFilterOperatorEquals: 'Equals',
82
+ // headerFilterOperatorStartsWith: 'Starts with',
83
+ // headerFilterOperatorEndsWith: 'Ends with',
84
+ // headerFilterOperatorIs: 'Is',
85
+ // headerFilterOperatorNot: 'Is not',
86
+ // headerFilterOperatorAfter: 'Is after',
87
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
88
+ // headerFilterOperatorBefore: 'Is before',
89
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
90
+ // headerFilterOperatorIsEmpty: 'Is empty',
91
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
92
+ // headerFilterOperatorIsAnyOf: 'Is any of',
93
+ // 'headerFilterOperator=': 'Equals',
94
+ // 'headerFilterOperator!=': 'Not equals',
95
+ // 'headerFilterOperator>': 'Is greater than',
96
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
97
+ // 'headerFilterOperator<': 'Is less than',
98
+ // 'headerFilterOperator<=': 'Is less than or equal to',
99
+
72
100
  // Filter values text
73
101
  filterValueAny: 'любой',
74
102
  filterValueTrue: 'истина',
package/locales/skSK.js CHANGED
@@ -68,6 +68,34 @@ const skSKGrid = {
68
68
  filterOperatorIsEmpty: 'je prázdny',
69
69
  filterOperatorIsNotEmpty: 'nie je prázdny',
70
70
  filterOperatorIsAnyOf: 'je jeden z',
71
+ // 'filterOperator=': '=',
72
+ // 'filterOperator!=': '!=',
73
+ // 'filterOperator>': '>',
74
+ // 'filterOperator>=': '>=',
75
+ // 'filterOperator<': '<',
76
+ // 'filterOperator<=': '<=',
77
+
78
+ // Header filter operators text
79
+ // headerFilterOperatorContains: 'Contains',
80
+ // headerFilterOperatorEquals: 'Equals',
81
+ // headerFilterOperatorStartsWith: 'Starts with',
82
+ // headerFilterOperatorEndsWith: 'Ends with',
83
+ // headerFilterOperatorIs: 'Is',
84
+ // headerFilterOperatorNot: 'Is not',
85
+ // headerFilterOperatorAfter: 'Is after',
86
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
87
+ // headerFilterOperatorBefore: 'Is before',
88
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
89
+ // headerFilterOperatorIsEmpty: 'Is empty',
90
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
91
+ // headerFilterOperatorIsAnyOf: 'Is any of',
92
+ // 'headerFilterOperator=': 'Equals',
93
+ // 'headerFilterOperator!=': 'Not equals',
94
+ // 'headerFilterOperator>': 'Is greater than',
95
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
96
+ // 'headerFilterOperator<': 'Is less than',
97
+ // 'headerFilterOperator<=': 'Is less than or equal to',
98
+
71
99
  // Filter values text
72
100
  filterValueAny: 'akýkoľvek',
73
101
  filterValueTrue: 'áno',
package/locales/svSE.js CHANGED
@@ -60,6 +60,34 @@ const svSEGrid = {
60
60
  filterOperatorIsEmpty: 'är tom',
61
61
  filterOperatorIsNotEmpty: 'är inte tom',
62
62
  filterOperatorIsAnyOf: 'är någon av',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: 'något',
65
93
  filterValueTrue: 'sant',
package/locales/trTR.js CHANGED
@@ -60,6 +60,34 @@ const trTRGrid = {
60
60
  filterOperatorIsEmpty: 'boş',
61
61
  filterOperatorIsNotEmpty: 'dolu',
62
62
  filterOperatorIsAnyOf: 'herhangi biri',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: 'herhangi',
65
93
  filterValueTrue: 'doğru',
package/locales/ukUA.js CHANGED
@@ -74,6 +74,34 @@ const ukUAGrid = {
74
74
  filterOperatorIsEmpty: 'порожній',
75
75
  filterOperatorIsNotEmpty: 'не порожній',
76
76
  filterOperatorIsAnyOf: 'будь-що із',
77
+ // 'filterOperator=': '=',
78
+ // 'filterOperator!=': '!=',
79
+ // 'filterOperator>': '>',
80
+ // 'filterOperator>=': '>=',
81
+ // 'filterOperator<': '<',
82
+ // 'filterOperator<=': '<=',
83
+
84
+ // Header filter operators text
85
+ // headerFilterOperatorContains: 'Contains',
86
+ // headerFilterOperatorEquals: 'Equals',
87
+ // headerFilterOperatorStartsWith: 'Starts with',
88
+ // headerFilterOperatorEndsWith: 'Ends with',
89
+ // headerFilterOperatorIs: 'Is',
90
+ // headerFilterOperatorNot: 'Is not',
91
+ // headerFilterOperatorAfter: 'Is after',
92
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
93
+ // headerFilterOperatorBefore: 'Is before',
94
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
95
+ // headerFilterOperatorIsEmpty: 'Is empty',
96
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
97
+ // headerFilterOperatorIsAnyOf: 'Is any of',
98
+ // 'headerFilterOperator=': 'Equals',
99
+ // 'headerFilterOperator!=': 'Not equals',
100
+ // 'headerFilterOperator>': 'Is greater than',
101
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
102
+ // 'headerFilterOperator<': 'Is less than',
103
+ // 'headerFilterOperator<=': 'Is less than or equal to',
104
+
77
105
  // Filter values text
78
106
  filterValueAny: 'будь-який',
79
107
  filterValueTrue: 'так',
package/locales/urPK.js CHANGED
@@ -60,6 +60,34 @@ const urPKGrid = {
60
60
  filterOperatorIsEmpty: 'خالی ہے',
61
61
  filterOperatorIsNotEmpty: 'خالی نہیں ہے',
62
62
  filterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: 'کوئی بھی',
65
93
  filterValueTrue: 'صحیح',
package/locales/viVN.js CHANGED
@@ -60,6 +60,33 @@ const viVNGrid = {
60
60
  filterOperatorIsEmpty: 'Rỗng',
61
61
  filterOperatorIsNotEmpty: 'Khác rỗng',
62
62
  // filterOperatorIsAnyOf: 'is any of',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
63
90
 
64
91
  // Filter values text
65
92
  filterValueAny: 'bất kỳ giá trị nào',
package/locales/zhCN.js CHANGED
@@ -60,6 +60,34 @@ const zhCNGrid = {
60
60
  filterOperatorIsEmpty: '为空',
61
61
  filterOperatorIsNotEmpty: '不为空',
62
62
  filterOperatorIsAnyOf: '属于',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: '任何',
65
93
  filterValueTrue: '真',
package/locales/zhTW.js CHANGED
@@ -60,6 +60,34 @@ const zhTWGrid = {
60
60
  filterOperatorIsEmpty: '為空',
61
61
  filterOperatorIsNotEmpty: '不為空',
62
62
  filterOperatorIsAnyOf: '是其中之一',
63
+ // 'filterOperator=': '=',
64
+ // 'filterOperator!=': '!=',
65
+ // 'filterOperator>': '>',
66
+ // 'filterOperator>=': '>=',
67
+ // 'filterOperator<': '<',
68
+ // 'filterOperator<=': '<=',
69
+
70
+ // Header filter operators text
71
+ // headerFilterOperatorContains: 'Contains',
72
+ // headerFilterOperatorEquals: 'Equals',
73
+ // headerFilterOperatorStartsWith: 'Starts with',
74
+ // headerFilterOperatorEndsWith: 'Ends with',
75
+ // headerFilterOperatorIs: 'Is',
76
+ // headerFilterOperatorNot: 'Is not',
77
+ // headerFilterOperatorAfter: 'Is after',
78
+ // headerFilterOperatorOnOrAfter: 'Is on or after',
79
+ // headerFilterOperatorBefore: 'Is before',
80
+ // headerFilterOperatorOnOrBefore: 'Is on or before',
81
+ // headerFilterOperatorIsEmpty: 'Is empty',
82
+ // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
+ // headerFilterOperatorIsAnyOf: 'Is any of',
84
+ // 'headerFilterOperator=': 'Equals',
85
+ // 'headerFilterOperator!=': 'Not equals',
86
+ // 'headerFilterOperator>': 'Is greater than',
87
+ // 'headerFilterOperator>=': 'Is greater than or equal to',
88
+ // 'headerFilterOperator<': 'Is less than',
89
+ // 'headerFilterOperator<=': 'Is less than or equal to',
90
+
63
91
  // Filter values text
64
92
  filterValueAny: '任何值',
65
93
  filterValueTrue: '真',
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import type { GridSlotsComponentsProps } from '../../models/gridSlotsComponentsProps';
3
- export default function MUISelectOption({ native, ...props }: NonNullable<GridSlotsComponentsProps['baseSelectOption']>): JSX.Element;
3
+ export default function MUISelectOption({ native, ...props }: NonNullable<GridSlotsComponentsProps['baseSelectOption']>): React.JSX.Element;
@@ -1,67 +1,4 @@
1
- /// <reference types="react" />
2
- import MUICheckbox from '@mui/material/Checkbox';
3
- import MUITextField from '@mui/material/TextField';
4
- import MUISwitch from '@mui/material/Switch';
5
- import MUITooltip from '@mui/material/Tooltip';
6
- import MUISelectOption from './components/MUISelectOption';
7
- declare const materialSlots: {
8
- BaseCheckbox: typeof MUICheckbox;
9
- BaseTextField: typeof MUITextField;
10
- BaseFormControl: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/FormControl").FormControlTypeMap<{}, "div">>;
11
- BaseSelect: (<T>(props: import("@mui/material/Select").SelectProps<T>) => JSX.Element) & {
12
- muiName: string;
13
- };
14
- BaseSwitch: typeof MUISwitch;
15
- BaseButton: import("@mui/material").ExtendButtonBase<import("@mui/material/Button").ButtonTypeMap<{}, "button">>;
16
- BaseIconButton: import("@mui/material").ExtendButtonBase<import("@mui/material/IconButton").IconButtonTypeMap<{}, "button">>;
17
- BaseTooltip: typeof MUITooltip;
18
- BasePopper: import("react").ForwardRefExoticComponent<Omit<import("@mui/base").PopperProps<"div">, "direction"> & {
19
- component?: import("react").ElementType<any> | undefined;
20
- components?: {
21
- Root?: import("react").ElementType<any> | undefined;
22
- } | undefined;
23
- componentsProps?: {
24
- root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps> | undefined;
25
- } | undefined;
26
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
27
- } & import("react").RefAttributes<HTMLDivElement>>;
28
- BaseInputLabel: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/InputLabel").InputLabelTypeMap<{}, "label">>;
29
- BaseSelectOption: typeof MUISelectOption;
30
- BaseChip: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Chip").ChipTypeMap<{}, "div">>;
31
- BooleanCellTrueIcon: import("react").JSXElementConstructor<any>;
32
- BooleanCellFalseIcon: import("react").JSXElementConstructor<any>;
33
- ColumnMenuIcon: import("react").JSXElementConstructor<any>;
34
- OpenFilterButtonIcon: import("react").JSXElementConstructor<any>;
35
- ColumnFilteredIcon: import("react").JSXElementConstructor<any>;
36
- ColumnSelectorIcon: import("react").JSXElementConstructor<any>;
37
- ColumnUnsortedIcon: import("react").JSXElementConstructor<any> | null;
38
- ColumnSortedAscendingIcon: import("react").JSXElementConstructor<any> | null;
39
- ColumnSortedDescendingIcon: import("react").JSXElementConstructor<any> | null;
40
- ColumnResizeIcon: import("react").JSXElementConstructor<any>;
41
- DensityCompactIcon: import("react").JSXElementConstructor<any>;
42
- DensityStandardIcon: import("react").JSXElementConstructor<any>;
43
- DensityComfortableIcon: import("react").JSXElementConstructor<any>;
44
- ExportIcon: import("react").JSXElementConstructor<any>;
45
- MoreActionsIcon: import("react").JSXElementConstructor<any>;
46
- TreeDataExpandIcon: import("react").JSXElementConstructor<any>;
47
- TreeDataCollapseIcon: import("react").JSXElementConstructor<any>;
48
- GroupingCriteriaExpandIcon: import("react").JSXElementConstructor<any>;
49
- GroupingCriteriaCollapseIcon: import("react").JSXElementConstructor<any>;
50
- DetailPanelExpandIcon: import("react").JSXElementConstructor<any>;
51
- DetailPanelCollapseIcon: import("react").JSXElementConstructor<any>;
52
- FilterPanelAddIcon: import("react").JSXElementConstructor<any>;
53
- FilterPanelDeleteIcon: import("react").JSXElementConstructor<any>;
54
- FilterPanelRemoveAllIcon: import("react").JSXElementConstructor<any>;
55
- RowReorderIcon: import("react").JSXElementConstructor<any>;
56
- QuickFilterIcon: import("react").JSXElementConstructor<any>;
57
- QuickFilterClearIcon: import("react").JSXElementConstructor<any>;
58
- ColumnMenuHideIcon: import("react").JSXElementConstructor<any>;
59
- ColumnMenuSortAscendingIcon: import("react").JSXElementConstructor<any>;
60
- ColumnMenuSortDescendingIcon: import("react").JSXElementConstructor<any>;
61
- ColumnMenuFilterIcon: import("react").JSXElementConstructor<any>;
62
- ColumnMenuManageColumnsIcon: import("react").JSXElementConstructor<any>;
63
- ColumnMenuClearIcon: import("react").JSXElementConstructor<any>;
64
- LoadIcon: import("react").JSXElementConstructor<any>;
65
- ColumnReorderIcon: import("react").JSXElementConstructor<any>;
66
- };
1
+ import type { GridIconSlotsComponent } from '../models';
2
+ import type { GridBaseSlots } from '../models/gridSlotsComponent';
3
+ declare const materialSlots: GridBaseSlots & GridIconSlotsComponent;
67
4
  export default materialSlots;
package/material/index.js CHANGED
@@ -6,6 +6,7 @@ import MUISelect from '@mui/material/Select';
6
6
  import MUISwitch from '@mui/material/Switch';
7
7
  import MUIButton from '@mui/material/Button';
8
8
  import MUIIconButton from '@mui/material/IconButton';
9
+ import MUIInputAdornment from '@mui/material/InputAdornment';
9
10
  import MUITooltip from '@mui/material/Tooltip';
10
11
  import MUIPopper from '@mui/material/Popper';
11
12
  import MUIInputLabel from '@mui/material/InputLabel';
@@ -58,6 +59,7 @@ const materialSlots = _extends({}, iconSlots, {
58
59
  BaseSwitch: MUISwitch,
59
60
  BaseButton: MUIButton,
60
61
  BaseIconButton: MUIIconButton,
62
+ BaseInputAdornment: MUIInputAdornment,
61
63
  BaseTooltip: MUITooltip,
62
64
  BasePopper: MUIPopper,
63
65
  BaseInputLabel: MUIInputLabel,
@@ -27,9 +27,10 @@ import type { GridPaginationApi } from '../../hooks/features/pagination';
27
27
  import type { GridStatePersistenceApi } from '../../hooks/features/statePersistence';
28
28
  import { GridColumnGroupingApi } from './gridColumnGroupingApi';
29
29
  import type { GridInitialStateCommunity, GridStateCommunity } from '../gridStateCommunity';
30
- export interface GridApiCommon<GridState extends GridStateCommunity = any, GridInitialState extends GridInitialStateCommunity = any> extends GridCoreApi, GridPipeProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridRowSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridScrollApi, GridColumnSpanningApi, GridStateApi<GridState>, GridStatePersistenceApi<GridInitialState>, GridColumnGroupingApi {
30
+ import { GridHeaderFilteringApi, GridHeaderFilteringPrivateApi } from './gridHeaderFilteringApi';
31
+ export interface GridApiCommon<GridState extends GridStateCommunity = any, GridInitialState extends GridInitialStateCommunity = any> extends GridCoreApi, GridPipeProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridRowSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridScrollApi, GridColumnSpanningApi, GridStateApi<GridState>, GridStatePersistenceApi<GridInitialState>, GridColumnGroupingApi, GridHeaderFilteringApi {
31
32
  }
32
- export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon> extends GridCorePrivateApi<Api, PrivateApi>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridVirtualScrollerApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi {
33
+ export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon> extends GridCorePrivateApi<Api, PrivateApi>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridVirtualScrollerApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi, GridHeaderFilteringPrivateApi {
33
34
  }
34
35
  export interface GridPrivateApiCommon extends GridApiCommon, GridPrivateOnlyApiCommon<GridApiCommon, GridPrivateApiCommon> {
35
36
  }
@@ -69,6 +69,10 @@ export interface GridCorePrivateApi<GridPublicApi extends GridApiCommon, GridPri
69
69
  * The React ref of the grid column container virtualized div element.
70
70
  */
71
71
  columnHeadersContainerElementRef?: React.RefObject<HTMLDivElement>;
72
+ /**
73
+ * The React ref of the grid header filter row element.
74
+ */
75
+ headerFiltersElementRef?: React.RefObject<HTMLDivElement>;
72
76
  /**
73
77
  * The React ref of the grid column headers container element.
74
78
  */
@@ -8,8 +8,10 @@ export interface GridFilterApi {
8
8
  /**
9
9
  * Shows the filter panel. If `targetColumnField` is given, a filter for this field is also added.
10
10
  * @param {string} targetColumnField The column field to add a filter.
11
+ * @param {string} panelId The unique panel id
12
+ * @param {string} labelId The unique button id
11
13
  */
12
- showFilterPanel: (targetColumnField?: string) => void;
14
+ showFilterPanel: (targetColumnField?: string, panelId?: string, labelId?: string) => void;
13
15
  /**
14
16
  * Hides the filter panel.
15
17
  */
@@ -14,6 +14,12 @@ export interface GridFocusApi {
14
14
  * @param {string} event The event that triggers the action.
15
15
  */
16
16
  setColumnHeaderFocus: (field: string, event?: MuiBaseEvent) => void;
17
+ /**
18
+ * Sets the focus to the column header filter at the given `field`.
19
+ * @param {string} field The column field.
20
+ * @param {string} event The event that triggers the action.
21
+ */
22
+ setColumnHeaderFilterFocus: (field: string, event?: MuiBaseEvent) => void;
17
23
  }
18
24
  export interface GridFocusPrivateApi {
19
25
  /**
@@ -0,0 +1,30 @@
1
+ import { GridColDef } from '../colDef';
2
+ import { GridHeaderFilteringState } from '../gridHeaderFilteringModel';
3
+ export interface GridHeaderFilteringPrivateApi {
4
+ /**
5
+ * Internal function to set the header filter state.
6
+ * @param {Partial<GridHeaderFilteringState>} headerFilterState The field to be edited.
7
+ * @ignore - do not document.
8
+ */
9
+ setHeaderFilterState: (headerFilterState: Partial<GridHeaderFilteringState>) => void;
10
+ }
11
+ export interface GridHeaderFilteringApi {
12
+ /**
13
+ * Puts the cell corresponding to the given row id and field into edit mode.
14
+ * @param {GridColDef['field']} field The field of the header filter to put in edit mode.
15
+ */
16
+ startHeaderFilterEditMode: (field: GridColDef['field']) => void;
17
+ /**
18
+ * Stops the edit mode for the current field.
19
+ */
20
+ stopHeaderFilterEditMode: () => void;
21
+ /**
22
+ * Opens the header filter menu for the given field.
23
+ * @param {GridColDef['field']} field The field of the header filter to open menu for.
24
+ */
25
+ showHeaderFilterMenu: (field: GridColDef['field']) => void;
26
+ /**
27
+ * Hides the header filter menu.
28
+ */
29
+ hideHeaderFilterMenu: () => void;
30
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -54,6 +54,31 @@ export interface GridLocaleText {
54
54
  filterOperatorIsEmpty: string;
55
55
  filterOperatorIsNotEmpty: string;
56
56
  filterOperatorIsAnyOf: string;
57
+ 'filterOperator=': string;
58
+ 'filterOperator!=': string;
59
+ 'filterOperator>': string;
60
+ 'filterOperator>=': string;
61
+ 'filterOperator<': string;
62
+ 'filterOperator<=': string;
63
+ headerFilterOperatorContains: string;
64
+ headerFilterOperatorEquals: string;
65
+ headerFilterOperatorStartsWith: string;
66
+ headerFilterOperatorEndsWith: string;
67
+ headerFilterOperatorIs: string;
68
+ headerFilterOperatorNot: string;
69
+ headerFilterOperatorAfter: string;
70
+ headerFilterOperatorOnOrAfter: string;
71
+ headerFilterOperatorBefore: string;
72
+ headerFilterOperatorOnOrBefore: string;
73
+ headerFilterOperatorIsEmpty: string;
74
+ headerFilterOperatorIsNotEmpty: string;
75
+ headerFilterOperatorIsAnyOf: string;
76
+ 'headerFilterOperator=': string;
77
+ 'headerFilterOperator!=': string;
78
+ 'headerFilterOperator>': string;
79
+ 'headerFilterOperator>=': string;
80
+ 'headerFilterOperator<': string;
81
+ 'headerFilterOperator<=': string;
57
82
  filterValueAny: string;
58
83
  filterValueTrue: string;
59
84
  filterValueFalse: string;
@@ -6,8 +6,10 @@ export interface GridPreferencesPanelApi {
6
6
  /**
7
7
  * Displays the preferences panel. The `newValue` argument controls the content of the panel.
8
8
  * @param {GridPreferencePanelsValue} newValue The panel to open. Use `"filters"` or `"columns"`.
9
+ * @param {string} panelId The unique panel id
10
+ * @param {string} labelId The unique button id
9
11
  */
10
- showPreferences: (newValue: GridPreferencePanelsValue) => void;
12
+ showPreferences: (newValue: GridPreferencePanelsValue, panelId?: string, labelId?: string) => void;
11
13
  /**
12
14
  * Hides the preferences panel.
13
15
  */