@mui/x-data-grid 5.10.0 → 5.12.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 (573) hide show
  1. package/CHANGELOG.md +325 -10
  2. package/DataGrid/DataGrid.js +61 -2
  3. package/DataGrid/useDataGridProps.js +2 -1
  4. package/README.md +4 -5
  5. package/colDef/gridActionsColDef.js +2 -1
  6. package/colDef/gridBooleanColDef.js +2 -1
  7. package/colDef/gridCheckboxSelectionColDef.js +1 -0
  8. package/colDef/gridDateColDef.js +4 -2
  9. package/colDef/gridNumericColDef.js +3 -2
  10. package/colDef/gridNumericOperators.d.ts +2 -0
  11. package/colDef/gridNumericOperators.js +11 -0
  12. package/colDef/gridSingleSelectColDef.js +3 -2
  13. package/colDef/gridSingleSelectOperators.d.ts +3 -0
  14. package/colDef/gridSingleSelectOperators.js +52 -0
  15. package/colDef/gridStringColDef.js +3 -2
  16. package/colDef/gridStringOperators.d.ts +2 -0
  17. package/colDef/gridStringOperators.js +12 -0
  18. package/components/GridFooter.d.ts +4 -2
  19. package/components/GridFooter.js +11 -2
  20. package/components/GridRow.d.ts +1 -1
  21. package/components/GridRow.js +55 -17
  22. package/components/GridRowCount.d.ts +4 -1
  23. package/components/GridRowCount.js +1 -0
  24. package/components/GridScrollArea.js +3 -4
  25. package/components/GridSelectedRowCount.d.ts +4 -1
  26. package/components/GridSelectedRowCount.js +2 -1
  27. package/components/base/GridBody.js +1 -2
  28. package/components/base/GridOverlays.js +2 -3
  29. package/components/cell/GridActionsCell.js +13 -4
  30. package/components/cell/GridActionsCellItem.d.ts +1 -1
  31. package/components/cell/GridCell.d.ts +2 -1
  32. package/components/cell/GridCell.js +17 -12
  33. package/components/cell/GridEditBooleanCell.d.ts +15 -3
  34. package/components/cell/GridEditBooleanCell.js +101 -6
  35. package/components/cell/GridEditDateCell.d.ts +16 -4
  36. package/components/cell/GridEditDateCell.js +99 -5
  37. package/components/cell/GridEditInputCell.d.ts +11 -5
  38. package/components/cell/GridEditInputCell.js +29 -5
  39. package/components/cell/GridEditSingleSelectCell.d.ts +12 -4
  40. package/components/cell/GridEditSingleSelectCell.js +28 -5
  41. package/components/cell/index.d.ts +2 -0
  42. package/components/cell/index.js +2 -0
  43. package/components/columnHeaders/GridColumnHeaderItem.js +19 -19
  44. package/components/columnHeaders/GridColumnHeaders.d.ts +2 -0
  45. package/components/columnHeaders/GridColumnHeadersInner.d.ts +2 -0
  46. package/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  47. package/components/columnSelection/GridHeaderCheckbox.js +4 -5
  48. package/components/containers/GridFooterContainer.d.ts +8 -2
  49. package/components/containers/GridFooterContainer.js +11 -2
  50. package/components/containers/GridRoot.js +25 -5
  51. package/components/containers/GridRootStyles.js +4 -2
  52. package/components/containers/GridToolbarContainer.d.ts +8 -2
  53. package/components/containers/GridToolbarContainer.js +12 -2
  54. package/components/menu/GridMenu.js +9 -2
  55. package/components/panel/GridColumnsPanel.js +10 -2
  56. package/components/panel/GridPanelContent.d.ts +8 -1
  57. package/components/panel/GridPanelContent.js +13 -2
  58. package/components/panel/GridPanelFooter.d.ts +8 -1
  59. package/components/panel/GridPanelFooter.js +13 -2
  60. package/components/panel/GridPanelHeader.d.ts +8 -1
  61. package/components/panel/GridPanelHeader.js +13 -2
  62. package/components/panel/GridPanelWrapper.d.ts +1 -1
  63. package/components/panel/GridPanelWrapper.js +3 -3
  64. package/components/panel/filterPanel/GridFilterForm.d.ts +61 -4
  65. package/components/panel/filterPanel/GridFilterForm.js +88 -8
  66. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
  67. package/components/panel/filterPanel/GridFilterPanel.d.ts +8 -5
  68. package/components/panel/filterPanel/GridFilterPanel.js +24 -6
  69. package/components/toolbar/GridToolbar.d.ts +12 -2
  70. package/components/toolbar/GridToolbar.js +30 -7
  71. package/components/toolbar/GridToolbarExport.d.ts +5 -4
  72. package/components/toolbar/GridToolbarExport.js +15 -20
  73. package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
  74. package/components/toolbar/GridToolbarQuickFilter.d.ts +20 -0
  75. package/components/toolbar/GridToolbarQuickFilter.js +87 -0
  76. package/components/toolbar/index.d.ts +3 -1
  77. package/components/toolbar/index.js +3 -2
  78. package/components/virtualization/GridVirtualScroller.d.ts +4 -1
  79. package/components/virtualization/GridVirtualScrollerContent.d.ts +4 -1
  80. package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +4 -1
  81. package/constants/defaultGridSlotsComponents.js +3 -2
  82. package/constants/gridClasses.d.ts +16 -0
  83. package/constants/gridClasses.js +1 -1
  84. package/constants/localeTextConstants.js +5 -0
  85. package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +11 -0
  86. package/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
  87. package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +4 -4
  88. package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  89. package/hooks/core/useGridApiInitialization.js +3 -3
  90. package/hooks/core/useGridErrorHandler.js +1 -2
  91. package/hooks/core/useGridStateInitialization.js +1 -2
  92. package/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  93. package/hooks/features/columnMenu/useGridColumnMenu.js +3 -4
  94. package/hooks/features/columns/gridColumnsInterfaces.d.ts +3 -0
  95. package/hooks/features/columns/useGridColumnSpanning.js +1 -2
  96. package/hooks/features/columns/useGridColumns.js +20 -23
  97. package/hooks/features/dimensions/useGridDimensions.d.ts +1 -1
  98. package/hooks/features/dimensions/useGridDimensions.js +8 -9
  99. package/hooks/features/editRows/useGridCellEditing.new.d.ts +1 -1
  100. package/hooks/features/editRows/useGridCellEditing.new.js +140 -32
  101. package/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  102. package/hooks/features/editRows/useGridEditing.old.js +4 -5
  103. package/hooks/features/editRows/useGridRowEditing.new.d.ts +1 -1
  104. package/hooks/features/editRows/useGridRowEditing.new.js +128 -42
  105. package/hooks/features/editRows/useGridRowEditing.old.js +21 -22
  106. package/hooks/features/events/useGridEvents.d.ts +1 -1
  107. package/hooks/features/events/useGridEvents.js +19 -18
  108. package/hooks/features/export/serializers/csvSerializer.js +5 -5
  109. package/hooks/features/export/useGridCsvExport.js +23 -16
  110. package/hooks/features/export/useGridPrintExport.js +22 -0
  111. package/hooks/features/export/utils.d.ts +3 -1
  112. package/hooks/features/export/utils.js +13 -0
  113. package/hooks/features/filter/gridFilterState.d.ts +1 -2
  114. package/hooks/features/filter/gridFilterState.js +3 -1
  115. package/hooks/features/filter/gridFilterUtils.d.ts +17 -1
  116. package/hooks/features/filter/gridFilterUtils.js +85 -4
  117. package/hooks/features/filter/useGridFilter.js +25 -13
  118. package/hooks/features/focus/useGridFocus.d.ts +1 -1
  119. package/hooks/features/focus/useGridFocus.js +29 -33
  120. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  121. package/hooks/features/pagination/useGridPage.js +3 -4
  122. package/hooks/features/pagination/useGridPageSize.js +2 -3
  123. package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  124. package/hooks/features/rows/gridRowsSelector.d.ts +1 -0
  125. package/hooks/features/rows/gridRowsSelector.js +1 -0
  126. package/hooks/features/rows/gridRowsState.d.ts +16 -11
  127. package/hooks/features/rows/gridRowsUtils.d.ts +14 -1
  128. package/hooks/features/rows/gridRowsUtils.js +79 -1
  129. package/hooks/features/rows/useGridRows.js +130 -129
  130. package/hooks/features/rows/useGridRowsMeta.d.ts +1 -1
  131. package/hooks/features/rows/useGridRowsMeta.js +107 -43
  132. package/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  133. package/hooks/features/scroll/useGridScroll.js +6 -1
  134. package/hooks/features/selection/useGridSelection.d.ts +1 -1
  135. package/hooks/features/selection/useGridSelection.js +13 -10
  136. package/hooks/features/sorting/useGridSorting.js +8 -9
  137. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +1 -0
  138. package/hooks/features/virtualization/useGridVirtualScroller.js +33 -14
  139. package/hooks/utils/useGridApiEventHandler.d.ts +4 -1
  140. package/hooks/utils/useGridApiEventHandler.js +22 -9
  141. package/hooks/utils/useGridNativeEventListener.js +1 -2
  142. package/hooks/utils/useGridSelector.js +1 -1
  143. package/index.d.ts +2 -0
  144. package/index.js +1 -1
  145. package/internals/index.d.ts +5 -1
  146. package/internals/index.js +5 -2
  147. package/legacy/DataGrid/DataGrid.js +61 -2
  148. package/legacy/DataGrid/useDataGridProps.js +2 -1
  149. package/legacy/colDef/gridActionsColDef.js +2 -1
  150. package/legacy/colDef/gridBooleanColDef.js +2 -1
  151. package/legacy/colDef/gridCheckboxSelectionColDef.js +1 -0
  152. package/legacy/colDef/gridDateColDef.js +4 -2
  153. package/legacy/colDef/gridNumericColDef.js +3 -2
  154. package/legacy/colDef/gridNumericOperators.js +28 -18
  155. package/legacy/colDef/gridSingleSelectColDef.js +3 -2
  156. package/legacy/colDef/gridSingleSelectOperators.js +55 -6
  157. package/legacy/colDef/gridStringColDef.js +3 -2
  158. package/legacy/colDef/gridStringOperators.js +25 -14
  159. package/legacy/components/GridFooter.js +11 -2
  160. package/legacy/components/GridRow.js +60 -17
  161. package/legacy/components/GridRowCount.js +1 -0
  162. package/legacy/components/GridScrollArea.js +3 -4
  163. package/legacy/components/GridSelectedRowCount.js +2 -1
  164. package/legacy/components/base/GridBody.js +1 -2
  165. package/legacy/components/base/GridOverlays.js +2 -3
  166. package/legacy/components/cell/GridActionsCell.js +13 -4
  167. package/legacy/components/cell/GridCell.js +17 -12
  168. package/legacy/components/cell/GridEditBooleanCell.js +132 -11
  169. package/legacy/components/cell/GridEditDateCell.js +148 -42
  170. package/legacy/components/cell/GridEditInputCell.js +61 -12
  171. package/legacy/components/cell/GridEditSingleSelectCell.js +41 -13
  172. package/legacy/components/cell/index.js +2 -0
  173. package/legacy/components/columnHeaders/GridColumnHeaderItem.js +21 -19
  174. package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  175. package/legacy/components/columnSelection/GridHeaderCheckbox.js +4 -5
  176. package/legacy/components/containers/GridFooterContainer.js +11 -2
  177. package/legacy/components/containers/GridRoot.js +23 -5
  178. package/legacy/components/containers/GridRootStyles.js +3 -2
  179. package/legacy/components/containers/GridToolbarContainer.js +12 -2
  180. package/legacy/components/menu/GridMenu.js +9 -2
  181. package/legacy/components/panel/GridColumnsPanel.js +12 -2
  182. package/legacy/components/panel/GridPanelContent.js +13 -2
  183. package/legacy/components/panel/GridPanelFooter.js +13 -2
  184. package/legacy/components/panel/GridPanelHeader.js +13 -2
  185. package/legacy/components/panel/GridPanelWrapper.js +3 -3
  186. package/legacy/components/panel/filterPanel/GridFilterForm.js +89 -8
  187. package/legacy/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
  188. package/legacy/components/panel/filterPanel/GridFilterPanel.js +25 -6
  189. package/legacy/components/toolbar/GridToolbar.js +31 -6
  190. package/legacy/components/toolbar/GridToolbarExport.js +18 -19
  191. package/legacy/components/toolbar/GridToolbarQuickFilter.js +102 -0
  192. package/legacy/components/toolbar/index.js +3 -2
  193. package/legacy/constants/defaultGridSlotsComponents.js +3 -2
  194. package/legacy/constants/gridClasses.js +1 -1
  195. package/legacy/constants/localeTextConstants.js +5 -0
  196. package/legacy/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -10
  197. package/legacy/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  198. package/legacy/hooks/core/useGridApiInitialization.js +3 -3
  199. package/legacy/hooks/core/useGridErrorHandler.js +1 -2
  200. package/legacy/hooks/core/useGridStateInitialization.js +1 -2
  201. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  202. package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +3 -4
  203. package/legacy/hooks/features/columns/useGridColumnSpanning.js +1 -2
  204. package/legacy/hooks/features/columns/useGridColumns.js +20 -23
  205. package/legacy/hooks/features/dimensions/useGridDimensions.js +8 -9
  206. package/legacy/hooks/features/editRows/useGridCellEditing.new.js +220 -83
  207. package/legacy/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  208. package/legacy/hooks/features/editRows/useGridEditing.old.js +4 -5
  209. package/legacy/hooks/features/editRows/useGridRowEditing.new.js +132 -42
  210. package/legacy/hooks/features/editRows/useGridRowEditing.old.js +20 -21
  211. package/legacy/hooks/features/events/useGridEvents.js +19 -18
  212. package/legacy/hooks/features/export/serializers/csvSerializer.js +5 -5
  213. package/legacy/hooks/features/export/useGridCsvExport.js +24 -17
  214. package/legacy/hooks/features/export/useGridPrintExport.js +22 -0
  215. package/legacy/hooks/features/export/utils.js +14 -0
  216. package/legacy/hooks/features/filter/gridFilterState.js +3 -1
  217. package/legacy/hooks/features/filter/gridFilterUtils.js +97 -4
  218. package/legacy/hooks/features/filter/useGridFilter.js +25 -13
  219. package/legacy/hooks/features/focus/useGridFocus.js +31 -35
  220. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  221. package/legacy/hooks/features/pagination/useGridPage.js +3 -4
  222. package/legacy/hooks/features/pagination/useGridPageSize.js +2 -3
  223. package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  224. package/legacy/hooks/features/rows/gridRowsSelector.js +3 -0
  225. package/legacy/hooks/features/rows/gridRowsUtils.js +82 -1
  226. package/legacy/hooks/features/rows/useGridRows.js +140 -132
  227. package/legacy/hooks/features/rows/useGridRowsMeta.js +104 -41
  228. package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  229. package/legacy/hooks/features/scroll/useGridScroll.js +6 -1
  230. package/legacy/hooks/features/selection/useGridSelection.js +13 -10
  231. package/legacy/hooks/features/sorting/useGridSorting.js +8 -9
  232. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +52 -29
  233. package/legacy/hooks/utils/useGridApiEventHandler.js +20 -9
  234. package/legacy/hooks/utils/useGridNativeEventListener.js +1 -2
  235. package/legacy/hooks/utils/useGridSelector.js +1 -1
  236. package/legacy/index.js +1 -1
  237. package/legacy/internals/index.js +5 -2
  238. package/legacy/locales/arSD.js +5 -0
  239. package/legacy/locales/bgBG.js +5 -0
  240. package/legacy/locales/csCZ.js +5 -0
  241. package/legacy/locales/daDK.js +5 -0
  242. package/legacy/locales/deDE.js +10 -5
  243. package/legacy/locales/elGR.js +5 -0
  244. package/legacy/locales/esES.js +5 -0
  245. package/legacy/locales/faIR.js +5 -0
  246. package/legacy/locales/fiFI.js +5 -0
  247. package/legacy/locales/frFR.js +5 -0
  248. package/legacy/locales/heIL.js +10 -5
  249. package/legacy/locales/huHU.js +5 -0
  250. package/legacy/locales/itIT.js +5 -0
  251. package/legacy/locales/jaJP.js +5 -0
  252. package/legacy/locales/koKR.js +5 -0
  253. package/legacy/locales/nbNO.js +127 -0
  254. package/legacy/locales/nlNL.js +5 -0
  255. package/legacy/locales/plPL.js +5 -0
  256. package/legacy/locales/ptBR.js +5 -0
  257. package/legacy/locales/ruRU.js +5 -0
  258. package/legacy/locales/skSK.js +5 -0
  259. package/legacy/locales/trTR.js +8 -3
  260. package/legacy/locales/ukUA.js +5 -0
  261. package/legacy/locales/viVN.js +5 -0
  262. package/legacy/locales/zhCN.js +5 -0
  263. package/legacy/models/events/gridEvents.js +4 -0
  264. package/legacy/models/gridApiCaches.js +1 -0
  265. package/legacy/models/index.js +4 -3
  266. package/legacy/models/params/gridMenuParams.js +1 -0
  267. package/legacy/models/params/index.js +2 -1
  268. package/legacy/utils/createSelector.js +18 -2
  269. package/legacy/utils/exportAs.js +1 -1
  270. package/locales/arSD.js +5 -0
  271. package/locales/bgBG.js +5 -0
  272. package/locales/csCZ.js +5 -0
  273. package/locales/daDK.js +5 -0
  274. package/locales/deDE.js +10 -5
  275. package/locales/elGR.js +5 -0
  276. package/locales/esES.js +5 -0
  277. package/locales/faIR.js +5 -0
  278. package/locales/fiFI.js +5 -0
  279. package/locales/frFR.js +5 -0
  280. package/locales/heIL.js +10 -5
  281. package/locales/huHU.js +5 -0
  282. package/locales/itIT.js +5 -0
  283. package/locales/jaJP.js +5 -0
  284. package/locales/koKR.js +5 -0
  285. package/locales/nbNO.d.ts +2 -0
  286. package/locales/nbNO.js +115 -0
  287. package/locales/nlNL.js +5 -0
  288. package/locales/plPL.js +5 -0
  289. package/locales/ptBR.js +5 -0
  290. package/locales/ruRU.js +5 -0
  291. package/locales/skSK.js +5 -0
  292. package/locales/trTR.js +8 -3
  293. package/locales/ukUA.js +5 -0
  294. package/locales/viVN.js +5 -0
  295. package/locales/zhCN.js +5 -0
  296. package/models/api/gridCoreApi.d.ts +6 -0
  297. package/models/api/gridEditingApi.d.ts +23 -4
  298. package/models/api/gridFilterApi.d.ts +5 -0
  299. package/models/api/gridFocusApi.d.ts +1 -0
  300. package/models/api/gridLocaleTextApi.d.ts +4 -0
  301. package/models/api/gridRowApi.d.ts +28 -0
  302. package/models/api/gridRowsMetaApi.d.ts +24 -0
  303. package/models/api/index.d.ts +1 -1
  304. package/models/colDef/gridColDef.d.ts +16 -3
  305. package/models/events/gridEventLookup.d.ts +286 -4
  306. package/models/events/gridEvents.d.ts +5 -278
  307. package/models/events/gridEvents.js +4 -0
  308. package/models/gridApiCaches.d.ts +6 -0
  309. package/models/gridApiCaches.js +1 -0
  310. package/models/gridExport.d.ts +29 -2
  311. package/models/gridFilterModel.d.ts +11 -0
  312. package/models/gridFilterOperator.d.ts +1 -1
  313. package/models/gridIconSlotsComponent.d.ts +5 -0
  314. package/models/gridStateCommunity.d.ts +0 -2
  315. package/models/index.d.ts +1 -1
  316. package/models/index.js +4 -3
  317. package/models/params/gridMenuParams.d.ts +7 -0
  318. package/models/params/gridMenuParams.js +1 -0
  319. package/models/params/gridRowParams.d.ts +1 -1
  320. package/models/params/index.d.ts +1 -0
  321. package/models/params/index.js +2 -1
  322. package/models/props/DataGridProps.d.ts +79 -29
  323. package/modern/DataGrid/DataGrid.js +61 -2
  324. package/modern/DataGrid/useDataGridProps.js +2 -1
  325. package/modern/colDef/gridActionsColDef.js +2 -1
  326. package/modern/colDef/gridBooleanColDef.js +2 -1
  327. package/modern/colDef/gridCheckboxSelectionColDef.js +1 -0
  328. package/modern/colDef/gridDateColDef.js +4 -2
  329. package/modern/colDef/gridNumericColDef.js +3 -2
  330. package/modern/colDef/gridNumericOperators.js +11 -0
  331. package/modern/colDef/gridSingleSelectColDef.js +3 -2
  332. package/modern/colDef/gridSingleSelectOperators.js +52 -0
  333. package/modern/colDef/gridStringColDef.js +3 -2
  334. package/modern/colDef/gridStringOperators.js +12 -0
  335. package/modern/components/GridFooter.js +11 -2
  336. package/modern/components/GridRow.js +55 -17
  337. package/modern/components/GridRowCount.js +1 -0
  338. package/modern/components/GridScrollArea.js +3 -4
  339. package/modern/components/GridSelectedRowCount.js +2 -1
  340. package/modern/components/base/GridBody.js +1 -2
  341. package/modern/components/base/GridOverlays.js +2 -3
  342. package/modern/components/cell/GridActionsCell.js +14 -3
  343. package/modern/components/cell/GridCell.js +17 -12
  344. package/modern/components/cell/GridEditBooleanCell.js +101 -6
  345. package/modern/components/cell/GridEditDateCell.js +99 -5
  346. package/modern/components/cell/GridEditInputCell.js +29 -5
  347. package/modern/components/cell/GridEditSingleSelectCell.js +28 -5
  348. package/modern/components/cell/index.js +2 -0
  349. package/modern/components/columnHeaders/GridColumnHeaderItem.js +19 -19
  350. package/modern/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  351. package/modern/components/columnSelection/GridHeaderCheckbox.js +4 -5
  352. package/modern/components/containers/GridFooterContainer.js +11 -2
  353. package/modern/components/containers/GridRoot.js +25 -3
  354. package/modern/components/containers/GridRootStyles.js +4 -2
  355. package/modern/components/containers/GridToolbarContainer.js +12 -2
  356. package/modern/components/menu/GridMenu.js +9 -2
  357. package/modern/components/panel/GridColumnsPanel.js +10 -2
  358. package/modern/components/panel/GridPanelContent.js +13 -2
  359. package/modern/components/panel/GridPanelFooter.js +13 -2
  360. package/modern/components/panel/GridPanelHeader.js +13 -2
  361. package/modern/components/panel/GridPanelWrapper.js +3 -3
  362. package/modern/components/panel/filterPanel/GridFilterForm.js +88 -8
  363. package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
  364. package/modern/components/panel/filterPanel/GridFilterPanel.js +24 -6
  365. package/modern/components/toolbar/GridToolbar.js +30 -7
  366. package/modern/components/toolbar/GridToolbarExport.js +15 -20
  367. package/modern/components/toolbar/GridToolbarQuickFilter.js +85 -0
  368. package/modern/components/toolbar/index.js +3 -2
  369. package/modern/constants/defaultGridSlotsComponents.js +3 -2
  370. package/modern/constants/gridClasses.js +1 -1
  371. package/modern/constants/localeTextConstants.js +5 -0
  372. package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
  373. package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  374. package/modern/hooks/core/useGridApiInitialization.js +3 -3
  375. package/modern/hooks/core/useGridErrorHandler.js +1 -2
  376. package/modern/hooks/core/useGridStateInitialization.js +1 -2
  377. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  378. package/modern/hooks/features/columnMenu/useGridColumnMenu.js +3 -4
  379. package/modern/hooks/features/columns/useGridColumnSpanning.js +1 -2
  380. package/modern/hooks/features/columns/useGridColumns.js +19 -22
  381. package/modern/hooks/features/dimensions/useGridDimensions.js +8 -9
  382. package/modern/hooks/features/editRows/useGridCellEditing.new.js +138 -32
  383. package/modern/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  384. package/modern/hooks/features/editRows/useGridEditing.old.js +4 -5
  385. package/modern/hooks/features/editRows/useGridRowEditing.new.js +126 -42
  386. package/modern/hooks/features/editRows/useGridRowEditing.old.js +21 -22
  387. package/modern/hooks/features/events/useGridEvents.js +19 -18
  388. package/modern/hooks/features/export/serializers/csvSerializer.js +5 -5
  389. package/modern/hooks/features/export/useGridCsvExport.js +21 -16
  390. package/modern/hooks/features/export/useGridPrintExport.js +20 -0
  391. package/modern/hooks/features/export/utils.js +13 -0
  392. package/modern/hooks/features/filter/gridFilterState.js +3 -1
  393. package/modern/hooks/features/filter/gridFilterUtils.js +81 -4
  394. package/modern/hooks/features/filter/useGridFilter.js +25 -13
  395. package/modern/hooks/features/focus/useGridFocus.js +29 -33
  396. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  397. package/modern/hooks/features/pagination/useGridPage.js +3 -4
  398. package/modern/hooks/features/pagination/useGridPageSize.js +2 -3
  399. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  400. package/modern/hooks/features/rows/gridRowsSelector.js +1 -0
  401. package/modern/hooks/features/rows/gridRowsUtils.js +77 -1
  402. package/modern/hooks/features/rows/useGridRows.js +130 -129
  403. package/modern/hooks/features/rows/useGridRowsMeta.js +105 -37
  404. package/modern/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  405. package/modern/hooks/features/scroll/useGridScroll.js +6 -1
  406. package/modern/hooks/features/selection/useGridSelection.js +13 -10
  407. package/modern/hooks/features/sorting/useGridSorting.js +8 -9
  408. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +33 -14
  409. package/modern/hooks/utils/useGridApiEventHandler.js +20 -9
  410. package/modern/hooks/utils/useGridNativeEventListener.js +1 -2
  411. package/modern/hooks/utils/useGridSelector.js +1 -1
  412. package/modern/index.js +1 -1
  413. package/modern/internals/index.js +5 -2
  414. package/modern/locales/arSD.js +5 -0
  415. package/modern/locales/bgBG.js +5 -0
  416. package/modern/locales/csCZ.js +5 -0
  417. package/modern/locales/daDK.js +5 -0
  418. package/modern/locales/deDE.js +10 -5
  419. package/modern/locales/elGR.js +5 -0
  420. package/modern/locales/esES.js +5 -0
  421. package/modern/locales/faIR.js +5 -0
  422. package/modern/locales/fiFI.js +5 -0
  423. package/modern/locales/frFR.js +5 -0
  424. package/modern/locales/heIL.js +10 -5
  425. package/modern/locales/huHU.js +5 -0
  426. package/modern/locales/itIT.js +5 -0
  427. package/modern/locales/jaJP.js +5 -0
  428. package/modern/locales/koKR.js +5 -0
  429. package/modern/locales/nbNO.js +115 -0
  430. package/modern/locales/nlNL.js +5 -0
  431. package/modern/locales/plPL.js +5 -0
  432. package/modern/locales/ptBR.js +5 -0
  433. package/modern/locales/ruRU.js +5 -0
  434. package/modern/locales/skSK.js +5 -0
  435. package/modern/locales/trTR.js +8 -3
  436. package/modern/locales/ukUA.js +5 -0
  437. package/modern/locales/viVN.js +5 -0
  438. package/modern/locales/zhCN.js +5 -0
  439. package/modern/models/events/gridEvents.js +4 -0
  440. package/modern/models/gridApiCaches.js +1 -0
  441. package/modern/models/index.js +4 -3
  442. package/modern/models/params/gridMenuParams.js +1 -0
  443. package/modern/models/params/index.js +2 -1
  444. package/modern/utils/createSelector.js +20 -2
  445. package/modern/utils/exportAs.js +1 -1
  446. package/node/DataGrid/DataGrid.js +61 -2
  447. package/node/DataGrid/useDataGridProps.js +2 -1
  448. package/node/colDef/gridActionsColDef.js +2 -1
  449. package/node/colDef/gridBooleanColDef.js +2 -1
  450. package/node/colDef/gridCheckboxSelectionColDef.js +1 -0
  451. package/node/colDef/gridDateColDef.js +4 -2
  452. package/node/colDef/gridNumericColDef.js +2 -1
  453. package/node/colDef/gridNumericOperators.js +15 -1
  454. package/node/colDef/gridSingleSelectColDef.js +2 -1
  455. package/node/colDef/gridSingleSelectOperators.js +56 -1
  456. package/node/colDef/gridStringColDef.js +2 -1
  457. package/node/colDef/gridStringOperators.js +16 -1
  458. package/node/components/GridFooter.js +10 -1
  459. package/node/components/GridRow.js +57 -18
  460. package/node/components/GridRowCount.js +1 -0
  461. package/node/components/GridScrollArea.js +3 -5
  462. package/node/components/GridSelectedRowCount.js +2 -1
  463. package/node/components/base/GridBody.js +1 -3
  464. package/node/components/base/GridOverlays.js +2 -4
  465. package/node/components/cell/GridActionsCell.js +13 -4
  466. package/node/components/cell/GridCell.js +16 -11
  467. package/node/components/cell/GridEditBooleanCell.js +100 -5
  468. package/node/components/cell/GridEditDateCell.js +98 -4
  469. package/node/components/cell/GridEditInputCell.js +29 -5
  470. package/node/components/cell/GridEditSingleSelectCell.js +28 -6
  471. package/node/components/cell/index.js +26 -0
  472. package/node/components/columnHeaders/GridColumnHeaderItem.js +19 -20
  473. package/node/components/columnSelection/GridCellCheckboxRenderer.js +2 -4
  474. package/node/components/columnSelection/GridHeaderCheckbox.js +4 -6
  475. package/node/components/containers/GridFooterContainer.js +10 -1
  476. package/node/components/containers/GridRoot.js +24 -3
  477. package/node/components/containers/GridRootStyles.js +4 -2
  478. package/node/components/containers/GridToolbarContainer.js +11 -1
  479. package/node/components/menu/GridMenu.js +10 -2
  480. package/node/components/panel/GridColumnsPanel.js +10 -2
  481. package/node/components/panel/GridPanelContent.js +11 -1
  482. package/node/components/panel/GridPanelFooter.js +11 -1
  483. package/node/components/panel/GridPanelHeader.js +11 -1
  484. package/node/components/panel/GridPanelWrapper.js +5 -3
  485. package/node/components/panel/filterPanel/GridFilterForm.js +91 -9
  486. package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
  487. package/node/components/panel/filterPanel/GridFilterPanel.js +26 -6
  488. package/node/components/toolbar/GridToolbar.js +32 -7
  489. package/node/components/toolbar/GridToolbarExport.js +14 -19
  490. package/node/components/toolbar/GridToolbarQuickFilter.js +109 -0
  491. package/node/components/toolbar/index.js +42 -11
  492. package/node/constants/defaultGridSlotsComponents.js +2 -1
  493. package/node/constants/gridClasses.js +1 -1
  494. package/node/constants/localeTextConstants.js +5 -0
  495. package/node/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -8
  496. package/node/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -8
  497. package/node/hooks/core/useGridApiInitialization.js +3 -4
  498. package/node/hooks/core/useGridErrorHandler.js +1 -3
  499. package/node/hooks/core/useGridStateInitialization.js +1 -3
  500. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -7
  501. package/node/hooks/features/columnMenu/useGridColumnMenu.js +3 -5
  502. package/node/hooks/features/columns/useGridColumnSpanning.js +1 -3
  503. package/node/hooks/features/columns/useGridColumns.js +20 -24
  504. package/node/hooks/features/dimensions/useGridDimensions.js +8 -10
  505. package/node/hooks/features/editRows/useGridCellEditing.new.js +140 -32
  506. package/node/hooks/features/editRows/useGridCellEditing.old.js +20 -22
  507. package/node/hooks/features/editRows/useGridEditing.old.js +4 -6
  508. package/node/hooks/features/editRows/useGridRowEditing.new.js +128 -43
  509. package/node/hooks/features/editRows/useGridRowEditing.old.js +21 -23
  510. package/node/hooks/features/events/useGridEvents.js +19 -19
  511. package/node/hooks/features/export/serializers/csvSerializer.js +5 -5
  512. package/node/hooks/features/export/useGridCsvExport.js +26 -17
  513. package/node/hooks/features/export/useGridPrintExport.js +25 -0
  514. package/node/hooks/features/export/utils.js +19 -2
  515. package/node/hooks/features/filter/gridFilterState.js +3 -1
  516. package/node/hooks/features/filter/gridFilterUtils.js +93 -3
  517. package/node/hooks/features/filter/useGridFilter.js +25 -13
  518. package/node/hooks/features/focus/useGridFocus.js +29 -34
  519. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -6
  520. package/node/hooks/features/pagination/useGridPage.js +3 -5
  521. package/node/hooks/features/pagination/useGridPageSize.js +2 -4
  522. package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -8
  523. package/node/hooks/features/rows/gridRowsSelector.js +3 -1
  524. package/node/hooks/features/rows/gridRowsUtils.js +95 -1
  525. package/node/hooks/features/rows/useGridRows.js +132 -127
  526. package/node/hooks/features/rows/useGridRowsMeta.js +107 -43
  527. package/node/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  528. package/node/hooks/features/scroll/useGridScroll.js +6 -1
  529. package/node/hooks/features/selection/useGridSelection.js +13 -11
  530. package/node/hooks/features/sorting/useGridSorting.js +8 -10
  531. package/node/hooks/features/virtualization/useGridVirtualScroller.js +33 -15
  532. package/node/hooks/utils/useGridApiEventHandler.js +22 -10
  533. package/node/hooks/utils/useGridNativeEventListener.js +1 -3
  534. package/node/hooks/utils/useGridSelector.js +1 -1
  535. package/node/index.js +1 -1
  536. package/node/internals/index.js +39 -3
  537. package/node/locales/arSD.js +5 -0
  538. package/node/locales/bgBG.js +5 -0
  539. package/node/locales/csCZ.js +5 -0
  540. package/node/locales/daDK.js +5 -0
  541. package/node/locales/deDE.js +10 -5
  542. package/node/locales/elGR.js +5 -0
  543. package/node/locales/esES.js +5 -0
  544. package/node/locales/faIR.js +5 -0
  545. package/node/locales/fiFI.js +5 -0
  546. package/node/locales/frFR.js +5 -0
  547. package/node/locales/heIL.js +10 -5
  548. package/node/locales/huHU.js +5 -0
  549. package/node/locales/itIT.js +5 -0
  550. package/node/locales/jaJP.js +5 -0
  551. package/node/locales/koKR.js +5 -0
  552. package/node/locales/nbNO.js +125 -0
  553. package/node/locales/nlNL.js +5 -0
  554. package/node/locales/plPL.js +5 -0
  555. package/node/locales/ptBR.js +5 -0
  556. package/node/locales/ruRU.js +5 -0
  557. package/node/locales/skSK.js +5 -0
  558. package/node/locales/trTR.js +8 -3
  559. package/node/locales/ukUA.js +5 -0
  560. package/node/locales/viVN.js +5 -0
  561. package/node/locales/zhCN.js +5 -0
  562. package/node/models/events/gridEvents.js +4 -0
  563. package/node/models/gridApiCaches.js +5 -0
  564. package/node/models/index.js +0 -13
  565. package/node/models/params/gridMenuParams.js +5 -0
  566. package/node/models/params/index.js +13 -0
  567. package/node/utils/createSelector.js +25 -4
  568. package/node/utils/exportAs.js +1 -1
  569. package/package.json +5 -4
  570. package/utils/createSelector.d.ts +2 -1
  571. package/utils/createSelector.js +20 -2
  572. package/utils/exportAs.d.ts +2 -2
  573. package/utils/exportAs.js +1 -1
package/locales/deDE.js CHANGED
@@ -20,11 +20,16 @@ const deDEGrid = {
20
20
  toolbarFiltersTooltipHide: 'Verberge Filter',
21
21
  toolbarFiltersTooltipShow: 'Zeige Filter',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive Filter` : `${count} aktiver Filter`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exportieren',
25
29
  toolbarExportLabel: 'Exportieren',
26
30
  toolbarExportCSV: 'Download als CSV',
27
31
  toolbarExportPrint: 'Drucken',
32
+ toolbarExportExcel: 'Download als Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Finde Spalte',
30
35
  columnsPanelTextFieldPlaceholder: 'Spaltenüberschrift',
@@ -34,7 +39,7 @@ const deDEGrid = {
34
39
  // Filter panel text
35
40
  filterPanelAddFilter: 'Filter hinzufügen',
36
41
  filterPanelDeleteIconLabel: 'Löschen',
37
- // filterPanelLinkOperator: 'Logic operator',
42
+ filterPanelLinkOperator: 'Logische Operatoren',
38
43
  filterPanelOperators: 'Operatoren',
39
44
  // TODO v6: rename to filterPanelOperator
40
45
  filterPanelOperatorAnd: 'Und',
@@ -55,7 +60,7 @@ const deDEGrid = {
55
60
  filterOperatorOnOrBefore: 'ist am oder vor',
56
61
  filterOperatorIsEmpty: 'ist leer',
57
62
  filterOperatorIsNotEmpty: 'ist nicht leer',
58
- // filterOperatorIsAnyOf: 'is any of',
63
+ filterOperatorIsAnyOf: 'ist einer der Werte',
59
64
  // Filter values text
60
65
  filterValueAny: 'Beliebig',
61
66
  filterValueTrue: 'Ja',
@@ -103,8 +108,8 @@ const deDEGrid = {
103
108
  unGroupColumn: name => `Gruppierung nach ${name} aufheben`,
104
109
  // Master/detail
105
110
  expandDetailPanel: 'Aufklappen',
106
- collapseDetailPanel: 'Zuklappen' // Row reordering text
107
- // rowReorderingHeaderName: 'Row reordering',
108
-
111
+ collapseDetailPanel: 'Zuklappen',
112
+ // Row reordering text
113
+ rowReorderingHeaderName: 'Reihen neu ordnen'
109
114
  };
110
115
  export const deDE = getGridLocalization(deDEGrid, deDECore);
package/locales/elGR.js CHANGED
@@ -19,11 +19,16 @@ const elGRGrid = {
19
19
  toolbarFiltersTooltipHide: 'Απόκρυψη φίλτρων',
20
20
  toolbarFiltersTooltipShow: 'Εμφάνιση φίλτρων',
21
21
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} ενεργά φίλτρα` : `${count} ενεργό φίλτρο`,
22
+ // Quick filter toolbar field
23
+ // toolbarQuickFilterPlaceholder: 'Search...',
24
+ // toolbarQuickFilterLabel: 'Search',
25
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
22
26
  // Export selector toolbar button text
23
27
  toolbarExport: 'Εξαγωγή',
24
28
  toolbarExportLabel: 'Εξαγωγή',
25
29
  toolbarExportCSV: 'Λήψη ως CSV',
26
30
  // toolbarExportPrint: 'Print',
31
+ // toolbarExportExcel: 'Download as Excel',
27
32
  // Columns panel text
28
33
  columnsPanelTextFieldLabel: 'Εύρεση στήλης',
29
34
  columnsPanelTextFieldPlaceholder: 'Επικεφαλίδα στήλης',
package/locales/esES.js CHANGED
@@ -20,11 +20,16 @@ const esESGrid = {
20
20
  toolbarFiltersTooltipHide: 'Ocultar filtros',
21
21
  toolbarFiltersTooltipShow: 'Mostrar filtros',
22
22
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exportar',
25
29
  toolbarExportLabel: 'Exportar',
26
30
  toolbarExportCSV: 'Descargar como CSV',
27
31
  // toolbarExportPrint: 'Print',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
30
35
  columnsPanelTextFieldPlaceholder: 'Título de columna',
package/locales/faIR.js CHANGED
@@ -20,11 +20,16 @@ const faIRGrid = {
20
20
  toolbarFiltersTooltipHide: 'مخفی کردن فیلترها',
21
21
  toolbarFiltersTooltipShow: 'نمایش فیلترها',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${count} فیلتر فعال`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'خروجی',
25
29
  toolbarExportLabel: 'خروجی',
26
30
  toolbarExportCSV: 'دانلود به صورت CSV',
27
31
  toolbarExportPrint: 'چاپ',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'پیداکردن ستون',
30
35
  columnsPanelTextFieldPlaceholder: 'عنوان ستون',
package/locales/fiFI.js CHANGED
@@ -20,11 +20,16 @@ const fiFIGrid = {
20
20
  toolbarFiltersTooltipHide: 'Piilota suodattimet',
21
21
  toolbarFiltersTooltipShow: 'Näytä suodattimet',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Export',
25
29
  toolbarExportLabel: 'Export',
26
30
  toolbarExportCSV: 'Lataa CSV-muodossa',
27
31
  toolbarExportPrint: 'Tulosta',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Etsi sarake',
30
35
  columnsPanelTextFieldPlaceholder: 'Sarakkeen otsikko',
package/locales/frFR.js CHANGED
@@ -20,11 +20,16 @@ const frFRGrid = {
20
20
  toolbarFiltersTooltipHide: 'Cacher les filtres',
21
21
  toolbarFiltersTooltipShow: 'Afficher les filtres',
22
22
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtres actifs` : `${count} filtre actif`,
23
+ // Quick filter toolbar field
24
+ toolbarQuickFilterPlaceholder: 'Recherche...',
25
+ toolbarQuickFilterLabel: 'Recherche',
26
+ toolbarQuickFilterDeleteIconLabel: 'Supprimer',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exporter',
25
29
  toolbarExportLabel: 'Exporter',
26
30
  toolbarExportCSV: 'Télécharger en CSV',
27
31
  toolbarExportPrint: 'Imprimer',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Chercher colonne',
30
35
  columnsPanelTextFieldPlaceholder: 'Titre de la colonne',
package/locales/heIL.js CHANGED
@@ -20,11 +20,16 @@ const heILGrid = {
20
20
  toolbarFiltersTooltipHide: 'הסתר מסננים',
21
21
  toolbarFiltersTooltipShow: 'הצג מסננים',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} מסננים פעילים` : `מסנן אחד פעיל`,
23
+ // Quick filter toolbar field
24
+ toolbarQuickFilterPlaceholder: 'חיפוש...',
25
+ toolbarQuickFilterLabel: 'חיפוש',
26
+ toolbarQuickFilterDeleteIconLabel: 'ניקוי',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'ייצוא',
25
29
  toolbarExportLabel: 'ייצוא',
26
- toolbarExportCSV: 'הורדה כ- CSV',
30
+ toolbarExportCSV: 'ייצוא ל- CSV',
27
31
  toolbarExportPrint: 'הדפסה',
32
+ toolbarExportExcel: 'ייצוא ל- Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'חפש עמודה',
30
35
  columnsPanelTextFieldPlaceholder: 'כותרת עמודה',
@@ -34,7 +39,7 @@ const heILGrid = {
34
39
  // Filter panel text
35
40
  filterPanelAddFilter: 'הוסף מסנן',
36
41
  filterPanelDeleteIconLabel: 'מחק',
37
- // filterPanelLinkOperator: 'Logic operator',
42
+ filterPanelLinkOperator: 'אופרטור לוגי',
38
43
  filterPanelOperators: 'אופרטור',
39
44
  // TODO v6: rename to filterPanelOperator
40
45
  filterPanelOperatorAnd: 'וגם',
@@ -103,8 +108,8 @@ const heILGrid = {
103
108
  unGroupColumn: name => `הפסק לקבץ לפי ${name}`,
104
109
  // Master/detail
105
110
  expandDetailPanel: 'הרחב',
106
- collapseDetailPanel: 'כווץ' // Row reordering text
107
- // rowReorderingHeaderName: 'Row reordering',
108
-
111
+ collapseDetailPanel: 'כווץ',
112
+ // Row reordering text
113
+ rowReorderingHeaderName: 'סידור שורות'
109
114
  };
110
115
  export const heIL = getGridLocalization(heILGrid, heILCore);
package/locales/huHU.js CHANGED
@@ -20,11 +20,16 @@ const huHUGrid = {
20
20
  toolbarFiltersTooltipHide: 'Szűrők elrejtése',
21
21
  toolbarFiltersTooltipShow: 'Szűrők megjelenítése',
22
22
  toolbarFiltersTooltipActive: count => `${count} aktív szűrő`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exportálás',
25
29
  toolbarExportLabel: 'Exportálás',
26
30
  toolbarExportCSV: 'Mentés CSV fájlként',
27
31
  toolbarExportPrint: 'Nyomtatás',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Oszlop keresése',
30
35
  columnsPanelTextFieldPlaceholder: 'Oszlop neve',
package/locales/itIT.js CHANGED
@@ -20,11 +20,16 @@ const itITGrid = {
20
20
  toolbarFiltersTooltipHide: 'Nascondi i filtri',
21
21
  toolbarFiltersTooltipShow: 'Mostra i filtri',
22
22
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtri attivi` : `${count} filtro attivo`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Esporta',
25
29
  toolbarExportLabel: 'Esporta',
26
30
  toolbarExportCSV: 'Esporta in CSV',
27
31
  toolbarExportPrint: 'Stampa',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Cerca colonna',
30
35
  columnsPanelTextFieldPlaceholder: 'Titolo della colonna',
package/locales/jaJP.js CHANGED
@@ -20,11 +20,16 @@ const jaJPGrid = {
20
20
  toolbarFiltersTooltipHide: 'フィルター非表示',
21
21
  toolbarFiltersTooltipShow: 'フィルター表示',
22
22
  toolbarFiltersTooltipActive: count => `${count}件のフィルターを適用中`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'エクスポート',
25
29
  toolbarExportLabel: 'エクスポート',
26
30
  toolbarExportCSV: 'CSVダウンロード',
27
31
  // toolbarExportPrint: 'Print',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: '列検索',
30
35
  columnsPanelTextFieldPlaceholder: '検索クエリを入力...',
package/locales/koKR.js CHANGED
@@ -20,11 +20,16 @@ const koKRGrid = {
20
20
  toolbarFiltersTooltipHide: '필터 숨기기',
21
21
  toolbarFiltersTooltipShow: '필터 표시',
22
22
  toolbarFiltersTooltipActive: count => `${count}건의 필터를 적용중`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: '내보내기',
25
29
  toolbarExportLabel: '내보내기',
26
30
  toolbarExportCSV: 'CSV다운로드',
27
31
  toolbarExportPrint: '프린트',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: '열 검색',
30
35
  columnsPanelTextFieldPlaceholder: '열 이름',
@@ -0,0 +1,2 @@
1
+ import { Localization } from '../utils/getGridLocalization';
2
+ export declare const nbNO: Localization;
@@ -0,0 +1,115 @@
1
+ import { nbNO as nbNOCore } from '@mui/material/locale';
2
+ import { getGridLocalization } from '../utils/getGridLocalization';
3
+ const nbNOGrid = {
4
+ // Root
5
+ noRowsLabel: 'Ingen rader',
6
+ noResultsOverlayLabel: 'Fant ingen resultat.',
7
+ errorOverlayDefaultLabel: 'Det skjedde en feil.',
8
+ // Density selector toolbar button text
9
+ toolbarDensity: 'Tetthet',
10
+ toolbarDensityLabel: 'Tetthet',
11
+ toolbarDensityCompact: 'Kompakt',
12
+ toolbarDensityStandard: 'Standard',
13
+ toolbarDensityComfortable: 'Komfortabelt',
14
+ // Columns selector toolbar button text
15
+ toolbarColumns: 'Kolonner',
16
+ toolbarColumnsLabel: 'Velg kolonner',
17
+ // Filters toolbar button text
18
+ toolbarFilters: 'Filter',
19
+ toolbarFiltersLabel: 'Vis filter',
20
+ toolbarFiltersTooltipHide: 'Skjul fitler',
21
+ toolbarFiltersTooltipShow: 'Vis filter',
22
+ toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
23
+ // Quick filter toolbar field
24
+ toolbarQuickFilterPlaceholder: 'Søk...',
25
+ toolbarQuickFilterLabel: 'Søk',
26
+ toolbarQuickFilterDeleteIconLabel: 'Slett',
27
+ // Export selector toolbar button text
28
+ toolbarExport: 'Eksporter',
29
+ toolbarExportLabel: 'Eksporter',
30
+ toolbarExportCSV: 'Last ned som CSV',
31
+ toolbarExportPrint: 'Skriv ut',
32
+ toolbarExportExcel: 'Last ned som Excel',
33
+ // Columns panel text
34
+ columnsPanelTextFieldLabel: 'Finn kolonne',
35
+ columnsPanelTextFieldPlaceholder: 'Kolonne tittel',
36
+ columnsPanelDragIconLabel: 'Reorganiser kolonne',
37
+ columnsPanelShowAllButton: 'Vis alle',
38
+ columnsPanelHideAllButton: 'Skjul alle',
39
+ // Filter panel text
40
+ filterPanelAddFilter: 'Legg til filter',
41
+ filterPanelDeleteIconLabel: 'Slett',
42
+ filterPanelLinkOperator: 'Logisk operator',
43
+ filterPanelOperators: 'Operatører',
44
+ // TODO v6: rename to filterPanelOperator
45
+ filterPanelOperatorAnd: 'Og',
46
+ filterPanelOperatorOr: 'Eller',
47
+ filterPanelColumns: 'Kolonner',
48
+ filterPanelInputLabel: 'Verdi',
49
+ filterPanelInputPlaceholder: 'Filter verdi',
50
+ // Filter operators text
51
+ filterOperatorContains: 'inneholder',
52
+ filterOperatorEquals: 'er lik',
53
+ filterOperatorStartsWith: 'starter med',
54
+ filterOperatorEndsWith: 'slutter med',
55
+ filterOperatorIs: 'er',
56
+ filterOperatorNot: 'er ikke',
57
+ filterOperatorAfter: 'er etter',
58
+ filterOperatorOnOrAfter: 'er på eller etter',
59
+ filterOperatorBefore: 'er før',
60
+ filterOperatorOnOrBefore: 'er på eller før',
61
+ filterOperatorIsEmpty: 'er tom',
62
+ filterOperatorIsNotEmpty: 'er ikke tom',
63
+ filterOperatorIsAnyOf: 'er en av',
64
+ // Filter values text
65
+ filterValueAny: 'noen',
66
+ filterValueTrue: 'sant',
67
+ filterValueFalse: 'usant',
68
+ // Column menu text
69
+ columnMenuLabel: 'Meny',
70
+ columnMenuShowColumns: 'Vis kolonner',
71
+ columnMenuFilter: 'Filter',
72
+ columnMenuHideColumn: 'Skjul',
73
+ columnMenuUnsort: 'Usorter',
74
+ columnMenuSortAsc: 'Sorter ØKENDE',
75
+ columnMenuSortDesc: 'Sorter SYNKENDE',
76
+ // Column header text
77
+ columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
78
+ columnHeaderFiltersLabel: 'Vis filter',
79
+ columnHeaderSortIconLabel: 'Sorter',
80
+ // Rows selected footer text
81
+ footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} rader valgt` : `${count.toLocaleString()} rad valgt`,
82
+ // Total row amount footer text
83
+ footerTotalRows: 'Totalt antall rader:',
84
+ // Total visible row amount footer text
85
+ footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} av ${totalCount.toLocaleString()}`,
86
+ // Checkbox selection text
87
+ checkboxSelectionHeaderName: 'Avmerkingsboks valgt',
88
+ checkboxSelectionSelectAllRows: 'Velg alle rader',
89
+ checkboxSelectionUnselectAllRows: 'Velg bort alle rader',
90
+ checkboxSelectionSelectRow: 'Velg rad',
91
+ checkboxSelectionUnselectRow: 'Velg bort rad',
92
+ // Boolean cell text
93
+ booleanCellTrueLabel: 'sant',
94
+ booleanCellFalseLabel: 'usant',
95
+ // Actions cell more text
96
+ actionsCellMore: 'mer',
97
+ // Column pinning text
98
+ pinToLeft: 'Fest til venstre',
99
+ pinToRight: 'Fest til høyre',
100
+ unpin: 'Løsne',
101
+ // Tree Data
102
+ treeDataGroupingHeaderName: 'Grupper',
103
+ treeDataExpand: 'se barn',
104
+ treeDataCollapse: 'skjul barn',
105
+ // Grouping columns
106
+ groupingColumnHeaderName: 'Grupper',
107
+ groupColumn: name => `Grupper på ${name}`,
108
+ unGroupColumn: name => `Stopp å grupper på ${name}`,
109
+ // Master/detail
110
+ expandDetailPanel: 'Utvid',
111
+ collapseDetailPanel: 'Kollaps',
112
+ // Row reordering text
113
+ rowReorderingHeaderName: 'Rad reorganisering'
114
+ };
115
+ export const nbNO = getGridLocalization(nbNOGrid, nbNOCore);
package/locales/nlNL.js CHANGED
@@ -20,11 +20,16 @@ const nlNLGrid = {
20
20
  toolbarFiltersTooltipHide: 'Verberg filters',
21
21
  toolbarFiltersTooltipShow: 'Toon filters',
22
22
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} actieve filters` : `${count} filter actief`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exporteren',
25
29
  toolbarExportLabel: 'Exporteren',
26
30
  toolbarExportCSV: 'Exporteer naar CSV',
27
31
  toolbarExportPrint: 'Print',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Zoek kolom',
30
35
  columnsPanelTextFieldPlaceholder: 'Kolomtitel',
package/locales/plPL.js CHANGED
@@ -20,11 +20,16 @@ const plPLGrid = {
20
20
  toolbarFiltersTooltipHide: 'Ukryj filtry',
21
21
  toolbarFiltersTooltipShow: 'Pokaż filtry',
22
22
  toolbarFiltersTooltipActive: count => `Liczba aktywnych filtrów: ${count}`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Eksportuj',
25
29
  toolbarExportLabel: 'Eksportuj',
26
30
  toolbarExportCSV: 'Pobierz jako plik CSV',
27
31
  toolbarExportPrint: 'Drukuj',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Znajdź kolumnę',
30
35
  columnsPanelTextFieldPlaceholder: 'Tytuł kolumny',
package/locales/ptBR.js CHANGED
@@ -20,11 +20,16 @@ const ptBRGrid = {
20
20
  toolbarFiltersTooltipHide: 'Ocultar filtros',
21
21
  toolbarFiltersTooltipShow: 'Exibir filtros',
22
22
  toolbarFiltersTooltipActive: count => `${count} ${count !== 1 ? 'filtros' : 'filtro'} ${count !== 1 ? 'ativos' : 'ativo'}`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Exportar',
25
29
  toolbarExportLabel: 'Exportar',
26
30
  toolbarExportCSV: 'Baixar como CSV',
27
31
  toolbarExportPrint: 'Print',
32
+ toolbarExportExcel: 'Baixar como Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Localizar coluna',
30
35
  columnsPanelTextFieldPlaceholder: 'Título da coluna',
package/locales/ruRU.js CHANGED
@@ -31,11 +31,16 @@ const ruRUGrid = {
31
31
 
32
32
  return `${count} ${pluralForm}`;
33
33
  },
34
+ // Quick filter toolbar field
35
+ toolbarQuickFilterPlaceholder: 'Поиск...',
36
+ toolbarQuickFilterLabel: 'Поиск',
37
+ toolbarQuickFilterDeleteIconLabel: 'Очистить',
34
38
  // Export selector toolbar button text
35
39
  toolbarExport: 'Экспорт',
36
40
  toolbarExportLabel: 'Экспорт',
37
41
  toolbarExportCSV: 'Скачать в формате CSV',
38
42
  toolbarExportPrint: 'Печать',
43
+ // toolbarExportExcel: 'Download as Excel',
39
44
  // Columns panel text
40
45
  columnsPanelTextFieldLabel: 'Найти столбец',
41
46
  columnsPanelTextFieldPlaceholder: 'Заголовок столбца',
package/locales/skSK.js CHANGED
@@ -30,11 +30,16 @@ const skSKGrid = {
30
30
 
31
31
  return `${count} ${pluralForm}`;
32
32
  },
33
+ // Quick filter toolbar field
34
+ // toolbarQuickFilterPlaceholder: 'Search...',
35
+ // toolbarQuickFilterLabel: 'Search',
36
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
33
37
  // Export selector toolbar button text
34
38
  toolbarExport: 'Export',
35
39
  toolbarExportLabel: 'Export',
36
40
  toolbarExportCSV: 'Stiahnuť ako CSV',
37
41
  toolbarExportPrint: 'Vytlačiť',
42
+ // toolbarExportExcel: 'Download as Excel',
38
43
  // Columns panel text
39
44
  columnsPanelTextFieldLabel: 'Nájsť stĺpec',
40
45
  columnsPanelTextFieldPlaceholder: 'Názov stĺpca',
package/locales/trTR.js CHANGED
@@ -20,11 +20,16 @@ const trTRGrid = {
20
20
  toolbarFiltersTooltipHide: 'Filtreleri gizle',
21
21
  toolbarFiltersTooltipShow: 'Filtreleri göster',
22
22
  toolbarFiltersTooltipActive: count => `${count} aktif filtre`,
23
+ // Quick filter toolbar field
24
+ toolbarQuickFilterPlaceholder: 'Ara...',
25
+ toolbarQuickFilterLabel: 'Ara',
26
+ toolbarQuickFilterDeleteIconLabel: 'Temizle',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Dışa aktar',
25
29
  toolbarExportLabel: 'Dışa aktar',
26
30
  toolbarExportCSV: 'CSV olarak aktar',
27
31
  toolbarExportPrint: 'Yazdır',
32
+ toolbarExportExcel: 'Excel olarak aktar',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Sütun ara',
30
35
  columnsPanelTextFieldPlaceholder: 'Sütun adı',
@@ -57,9 +62,9 @@ const trTRGrid = {
57
62
  filterOperatorIsNotEmpty: 'dolu',
58
63
  filterOperatorIsAnyOf: 'herhangi biri',
59
64
  // Filter values text
60
- // filterValueAny: 'any',
61
- // filterValueTrue: 'true',
62
- // filterValueFalse: 'false',
65
+ filterValueAny: 'herhangi',
66
+ filterValueTrue: 'doğru',
67
+ filterValueFalse: 'yanlış',
63
68
  // Column menu text
64
69
  columnMenuLabel: 'Menü',
65
70
  columnMenuShowColumns: 'Sütunları göster',
package/locales/ukUA.js CHANGED
@@ -38,11 +38,16 @@ const ukUAGrid = {
38
38
  few: 'активні фільтри',
39
39
  many: 'активних фільтрів'
40
40
  }),
41
+ // Quick filter toolbar field
42
+ // toolbarQuickFilterPlaceholder: 'Search...',
43
+ // toolbarQuickFilterLabel: 'Search',
44
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
41
45
  // Export selector toolbar button text
42
46
  toolbarExport: 'Експорт',
43
47
  toolbarExportLabel: 'Експорт',
44
48
  toolbarExportCSV: 'Завантажити у форматі CSV',
45
49
  toolbarExportPrint: 'Друк',
50
+ // toolbarExportExcel: 'Download as Excel',
46
51
  // Columns panel text
47
52
  columnsPanelTextFieldLabel: 'Знайти стовпець',
48
53
  columnsPanelTextFieldPlaceholder: 'Заголовок стовпця',
package/locales/viVN.js CHANGED
@@ -20,11 +20,16 @@ const viVNGrid = {
20
20
  toolbarFiltersTooltipHide: 'Ẩn',
21
21
  toolbarFiltersTooltipShow: 'Hiện',
22
22
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} bộ lọc hoạt động` : `${count} bộ lọc hoạt động`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: 'Xuất',
25
29
  toolbarExportLabel: 'Xuất',
26
30
  toolbarExportCSV: 'Xuất CSV',
27
31
  toolbarExportPrint: 'In',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: 'Tìm kiếm',
30
35
  columnsPanelTextFieldPlaceholder: 'Tiêu đề cột',
package/locales/zhCN.js CHANGED
@@ -20,11 +20,16 @@ const zhCNGrid = {
20
20
  toolbarFiltersTooltipHide: '隐藏筛选器',
21
21
  toolbarFiltersTooltipShow: '显示筛选器',
22
22
  toolbarFiltersTooltipActive: count => `${count} 个筛选器`,
23
+ // Quick filter toolbar field
24
+ // toolbarQuickFilterPlaceholder: 'Search...',
25
+ // toolbarQuickFilterLabel: 'Search',
26
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
23
27
  // Export selector toolbar button text
24
28
  toolbarExport: '导出',
25
29
  toolbarExportLabel: '导出',
26
30
  toolbarExportCSV: '导出至CSV',
27
31
  // toolbarExportPrint: 'Print',
32
+ // toolbarExportExcel: 'Download as Excel',
28
33
  // Columns panel text
29
34
  columnsPanelTextFieldLabel: '搜索列',
30
35
  columnsPanelTextFieldPlaceholder: '列名',
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { GridEventPublisher, GridEventListener, GridEventsStr } from '../events';
3
3
  import { EventManager, EventListenerOptions } from '../../utils/EventManager';
4
+ import { GridApiCaches } from '../gridApiCaches';
4
5
  /**
5
6
  * The core API interface that is available in the grid `apiRef`.
6
7
  */
@@ -45,6 +46,11 @@ export interface GridCoreApi {
45
46
  * @ignore - do not document
46
47
  */
47
48
  unstable_eventManager: EventManager;
49
+ /**
50
+ * The caches used by hooks and state initializers.
51
+ * @ignore - do not document.
52
+ */
53
+ unstable_caches: GridApiCaches;
48
54
  /**
49
55
  * Registers a handler for an event.
50
56
  * @param {string} event The name of the event.
@@ -1,9 +1,21 @@
1
1
  import { GridCellMode, GridRowMode } from '../gridCell';
2
- import { GridEditRowsModel, GridEditCellProps } from '../gridEditRowModel';
2
+ import { GridEditRowsModel, GridEditCellProps, GridCellModes, GridRowModes } from '../gridEditRowModel';
3
3
  import { GridRowId, GridRowModel } from '../gridRows';
4
4
  import { GridCellParams } from '../params/gridCellParams';
5
5
  import { GridCommitCellChangeParams, GridEditCellValueParams, GridEditCellPropsParams } from '../params/gridEditCellParams';
6
6
  import { MuiBaseEvent } from '../muiEvent';
7
+ export declare type GridCellModesModelProps = ({
8
+ mode: GridCellModes.View;
9
+ } & Omit<GridStopCellEditModeParams, 'id' | 'field'>) | ({
10
+ mode: GridCellModes.Edit;
11
+ } & Omit<GridStartCellEditModeParams, 'id' | 'field'>);
12
+ export declare type GridCellModesModel = Record<GridRowId, Record<string, GridCellModesModelProps>>;
13
+ export declare type GridRowModesModelProps = ({
14
+ mode: GridRowModes.View;
15
+ } & Omit<GridStopRowEditModeParams, 'id' | 'field'>) | ({
16
+ mode: GridRowModes.Edit;
17
+ } & Omit<GridStartRowEditModeParams, 'id' | 'field'>);
18
+ export declare type GridRowModesModel = Record<GridRowId, GridRowModesModelProps>;
7
19
  export interface GridNewEditingSharedApi {
8
20
  /**
9
21
  * Controls if a cell is editable.
@@ -148,7 +160,7 @@ export interface GridCellEditingApi extends GridEditingSharedApi {
148
160
  /**
149
161
  * Params passed to `apiRef.current.startCellEditMode`.
150
162
  */
151
- interface GridStartCellEditModeParams {
163
+ export interface GridStartCellEditModeParams {
152
164
  /**
153
165
  * The row id.
154
166
  */
@@ -157,6 +169,10 @@ interface GridStartCellEditModeParams {
157
169
  * The field.
158
170
  */
159
171
  field: string;
172
+ /**
173
+ * If `true`, the value will be deleted before entering the edit mode.
174
+ */
175
+ deleteValue?: boolean;
160
176
  }
161
177
  /**
162
178
  * Params passed to `apiRef.current.stopCellEditMode`.
@@ -184,7 +200,7 @@ export interface GridStopCellEditModeParams {
184
200
  /**
185
201
  * Params passed to `apiRef.current.startRowEditMode`.
186
202
  */
187
- interface GridStartRowEditModeParams {
203
+ export interface GridStartRowEditModeParams {
188
204
  /**
189
205
  * The row id.
190
206
  */
@@ -193,6 +209,10 @@ interface GridStartRowEditModeParams {
193
209
  * The field to put focus.
194
210
  */
195
211
  fieldToFocus?: string;
212
+ /**
213
+ * If `true`, the value in `fieldToFocus` will be deleted before entering the edit mode.
214
+ */
215
+ deleteValue?: boolean;
196
216
  }
197
217
  /**
198
218
  * Params passed to `apiRef.current.stopRowEditMode`.
@@ -283,4 +303,3 @@ export interface GridOldEditingApi extends GridCellEditingApi, GridRowEditingApi
283
303
  }
284
304
  export interface GridNewEditingApi extends GridNewCellEditingApi, GridNewRowEditingApi {
285
305
  }
286
- export {};
@@ -44,4 +44,9 @@ export interface GridFilterApi {
44
44
  * @returns {Map<GridRowId, GridRowModel>} The sorted `Map`.
45
45
  */
46
46
  getVisibleRowModels: () => Map<GridRowId, GridRowModel>;
47
+ /**
48
+ * Set the quick filter values ot the one given by `values`
49
+ * @param {any[]} values The list of element to quick filter
50
+ */
51
+ setQuickFilterValues: (values: any[]) => void;
47
52
  }
@@ -20,6 +20,7 @@ export interface GridFocusApi {
20
20
  * @param {GridRowId} id The base row id.
21
21
  * @param {string} field The base column field.
22
22
  * @param {'below' | 'right' | 'left'} direction Which direction is the next cell to focus.
23
+ * @ignore - do not document.
23
24
  */
24
25
  unstable_moveFocusToRelativeCell: (id: GridRowId, field: string, direction: 'below' | 'right' | 'left') => void;
25
26
  }