@mui/x-data-grid 5.9.0 → 5.11.1

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 (519) hide show
  1. package/CHANGELOG.md +284 -10
  2. package/DataGrid/DataGrid.js +35 -1
  3. package/DataGrid/useDataGridProps.js +2 -1
  4. package/README.md +5 -4
  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.js +9 -5
  21. package/components/GridRowCount.d.ts +4 -1
  22. package/components/GridRowCount.js +1 -0
  23. package/components/GridScrollArea.js +3 -4
  24. package/components/GridSelectedRowCount.d.ts +4 -1
  25. package/components/GridSelectedRowCount.js +2 -1
  26. package/components/base/GridBody.js +1 -2
  27. package/components/base/GridOverlays.js +2 -3
  28. package/components/cell/GridActionsCell.js +13 -4
  29. package/components/cell/GridCell.js +8 -8
  30. package/components/cell/GridEditBooleanCell.d.ts +15 -3
  31. package/components/cell/GridEditBooleanCell.js +101 -6
  32. package/components/cell/GridEditDateCell.d.ts +16 -4
  33. package/components/cell/GridEditDateCell.js +99 -5
  34. package/components/cell/GridEditInputCell.d.ts +11 -5
  35. package/components/cell/GridEditInputCell.js +29 -5
  36. package/components/cell/GridEditSingleSelectCell.d.ts +12 -4
  37. package/components/cell/GridEditSingleSelectCell.js +28 -5
  38. package/components/cell/index.d.ts +2 -0
  39. package/components/cell/index.js +2 -0
  40. package/components/columnHeaders/GridColumnHeaderItem.js +15 -16
  41. package/components/columnHeaders/GridColumnHeaders.d.ts +2 -0
  42. package/components/columnHeaders/GridColumnHeadersInner.d.ts +2 -0
  43. package/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  44. package/components/columnSelection/GridHeaderCheckbox.js +4 -5
  45. package/components/containers/GridFooterContainer.d.ts +8 -2
  46. package/components/containers/GridFooterContainer.js +11 -2
  47. package/components/containers/GridRoot.js +25 -5
  48. package/components/containers/GridRootStyles.js +36 -1
  49. package/components/containers/GridToolbarContainer.d.ts +8 -2
  50. package/components/containers/GridToolbarContainer.js +12 -2
  51. package/components/menu/GridMenu.js +1 -0
  52. package/components/panel/GridPanelContent.d.ts +8 -1
  53. package/components/panel/GridPanelContent.js +13 -2
  54. package/components/panel/GridPanelFooter.d.ts +8 -1
  55. package/components/panel/GridPanelFooter.js +13 -2
  56. package/components/panel/GridPanelHeader.d.ts +8 -1
  57. package/components/panel/GridPanelHeader.js +13 -2
  58. package/components/toolbar/GridToolbar.d.ts +12 -2
  59. package/components/toolbar/GridToolbar.js +30 -7
  60. package/components/toolbar/GridToolbarExport.d.ts +5 -4
  61. package/components/toolbar/GridToolbarExport.js +15 -20
  62. package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
  63. package/components/toolbar/GridToolbarQuickFilter.d.ts +20 -0
  64. package/components/toolbar/GridToolbarQuickFilter.js +87 -0
  65. package/components/toolbar/index.d.ts +3 -1
  66. package/components/toolbar/index.js +3 -2
  67. package/components/virtualization/GridVirtualScroller.d.ts +4 -1
  68. package/components/virtualization/GridVirtualScrollerContent.d.ts +4 -1
  69. package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +4 -1
  70. package/constants/defaultGridSlotsComponents.js +4 -2
  71. package/constants/gridClasses.d.ts +32 -0
  72. package/constants/gridClasses.js +1 -1
  73. package/constants/localeTextConstants.js +8 -1
  74. package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +11 -0
  75. package/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
  76. package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +4 -4
  77. package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  78. package/hooks/core/useGridApiInitialization.js +3 -3
  79. package/hooks/core/useGridErrorHandler.js +1 -2
  80. package/hooks/core/useGridStateInitialization.js +1 -2
  81. package/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  82. package/hooks/features/columnMenu/useGridColumnMenu.js +3 -3
  83. package/hooks/features/columns/useGridColumnSpanning.js +1 -2
  84. package/hooks/features/columns/useGridColumns.d.ts +1 -1
  85. package/hooks/features/columns/useGridColumns.js +8 -9
  86. package/hooks/features/dimensions/useGridDimensions.d.ts +1 -1
  87. package/hooks/features/dimensions/useGridDimensions.js +8 -9
  88. package/hooks/features/editRows/useGridCellEditing.new.d.ts +1 -1
  89. package/hooks/features/editRows/useGridCellEditing.new.js +133 -32
  90. package/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  91. package/hooks/features/editRows/useGridEditing.old.js +4 -5
  92. package/hooks/features/editRows/useGridRowEditing.new.d.ts +1 -1
  93. package/hooks/features/editRows/useGridRowEditing.new.js +122 -42
  94. package/hooks/features/editRows/useGridRowEditing.old.js +21 -22
  95. package/hooks/features/events/useGridEvents.js +17 -18
  96. package/hooks/features/export/serializers/csvSerializer.js +5 -5
  97. package/hooks/features/export/useGridCsvExport.js +23 -16
  98. package/hooks/features/export/useGridPrintExport.js +22 -0
  99. package/hooks/features/export/utils.d.ts +3 -1
  100. package/hooks/features/export/utils.js +13 -0
  101. package/hooks/features/filter/gridFilterState.d.ts +1 -2
  102. package/hooks/features/filter/gridFilterState.js +3 -1
  103. package/hooks/features/filter/gridFilterUtils.d.ts +8 -0
  104. package/hooks/features/filter/gridFilterUtils.js +84 -2
  105. package/hooks/features/filter/useGridFilter.js +20 -8
  106. package/hooks/features/focus/useGridFocus.d.ts +1 -1
  107. package/hooks/features/focus/useGridFocus.js +29 -33
  108. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  109. package/hooks/features/pagination/useGridPage.js +3 -4
  110. package/hooks/features/pagination/useGridPageSize.js +2 -3
  111. package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  112. package/hooks/features/rows/gridRowsSelector.d.ts +1 -0
  113. package/hooks/features/rows/gridRowsSelector.js +1 -0
  114. package/hooks/features/rows/gridRowsState.d.ts +16 -11
  115. package/hooks/features/rows/gridRowsUtils.d.ts +14 -1
  116. package/hooks/features/rows/gridRowsUtils.js +79 -1
  117. package/hooks/features/rows/useGridRows.js +148 -128
  118. package/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  119. package/hooks/features/scroll/useGridScroll.js +6 -1
  120. package/hooks/features/selection/useGridSelection.d.ts +1 -1
  121. package/hooks/features/selection/useGridSelection.js +13 -10
  122. package/hooks/features/sorting/useGridSorting.js +8 -9
  123. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +2 -0
  124. package/hooks/features/virtualization/useGridVirtualScroller.js +14 -5
  125. package/hooks/utils/useGridApiEventHandler.d.ts +4 -1
  126. package/hooks/utils/useGridApiEventHandler.js +22 -9
  127. package/hooks/utils/useGridNativeEventListener.js +1 -2
  128. package/hooks/utils/useGridSelector.js +1 -1
  129. package/index.d.ts +2 -0
  130. package/index.js +1 -1
  131. package/internals/index.d.ts +4 -1
  132. package/internals/index.js +5 -2
  133. package/legacy/DataGrid/DataGrid.js +35 -1
  134. package/legacy/DataGrid/useDataGridProps.js +2 -1
  135. package/legacy/colDef/gridActionsColDef.js +2 -1
  136. package/legacy/colDef/gridBooleanColDef.js +2 -1
  137. package/legacy/colDef/gridCheckboxSelectionColDef.js +1 -0
  138. package/legacy/colDef/gridDateColDef.js +4 -2
  139. package/legacy/colDef/gridNumericColDef.js +3 -2
  140. package/legacy/colDef/gridNumericOperators.js +28 -18
  141. package/legacy/colDef/gridSingleSelectColDef.js +3 -2
  142. package/legacy/colDef/gridSingleSelectOperators.js +55 -6
  143. package/legacy/colDef/gridStringColDef.js +3 -2
  144. package/legacy/colDef/gridStringOperators.js +25 -14
  145. package/legacy/components/GridFooter.js +11 -2
  146. package/legacy/components/GridRow.js +9 -5
  147. package/legacy/components/GridRowCount.js +1 -0
  148. package/legacy/components/GridScrollArea.js +3 -4
  149. package/legacy/components/GridSelectedRowCount.js +2 -1
  150. package/legacy/components/base/GridBody.js +1 -2
  151. package/legacy/components/base/GridOverlays.js +2 -3
  152. package/legacy/components/cell/GridActionsCell.js +13 -4
  153. package/legacy/components/cell/GridCell.js +8 -8
  154. package/legacy/components/cell/GridEditBooleanCell.js +132 -11
  155. package/legacy/components/cell/GridEditDateCell.js +148 -42
  156. package/legacy/components/cell/GridEditInputCell.js +61 -12
  157. package/legacy/components/cell/GridEditSingleSelectCell.js +41 -13
  158. package/legacy/components/cell/index.js +2 -0
  159. package/legacy/components/columnHeaders/GridColumnHeaderItem.js +15 -16
  160. package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  161. package/legacy/components/columnSelection/GridHeaderCheckbox.js +4 -5
  162. package/legacy/components/containers/GridFooterContainer.js +11 -2
  163. package/legacy/components/containers/GridRoot.js +23 -5
  164. package/legacy/components/containers/GridRootStyles.js +26 -5
  165. package/legacy/components/containers/GridToolbarContainer.js +12 -2
  166. package/legacy/components/menu/GridMenu.js +1 -0
  167. package/legacy/components/panel/GridPanelContent.js +13 -2
  168. package/legacy/components/panel/GridPanelFooter.js +13 -2
  169. package/legacy/components/panel/GridPanelHeader.js +13 -2
  170. package/legacy/components/toolbar/GridToolbar.js +31 -6
  171. package/legacy/components/toolbar/GridToolbarExport.js +18 -19
  172. package/legacy/components/toolbar/GridToolbarQuickFilter.js +102 -0
  173. package/legacy/components/toolbar/index.js +3 -2
  174. package/legacy/constants/defaultGridSlotsComponents.js +4 -2
  175. package/legacy/constants/gridClasses.js +1 -1
  176. package/legacy/constants/localeTextConstants.js +8 -1
  177. package/legacy/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -10
  178. package/legacy/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  179. package/legacy/hooks/core/useGridApiInitialization.js +3 -3
  180. package/legacy/hooks/core/useGridErrorHandler.js +1 -2
  181. package/legacy/hooks/core/useGridStateInitialization.js +1 -2
  182. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  183. package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +3 -3
  184. package/legacy/hooks/features/columns/useGridColumnSpanning.js +1 -2
  185. package/legacy/hooks/features/columns/useGridColumns.js +8 -9
  186. package/legacy/hooks/features/dimensions/useGridDimensions.js +8 -9
  187. package/legacy/hooks/features/editRows/useGridCellEditing.new.js +213 -83
  188. package/legacy/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  189. package/legacy/hooks/features/editRows/useGridEditing.old.js +4 -5
  190. package/legacy/hooks/features/editRows/useGridRowEditing.new.js +126 -42
  191. package/legacy/hooks/features/editRows/useGridRowEditing.old.js +20 -21
  192. package/legacy/hooks/features/events/useGridEvents.js +17 -18
  193. package/legacy/hooks/features/export/serializers/csvSerializer.js +5 -5
  194. package/legacy/hooks/features/export/useGridCsvExport.js +24 -17
  195. package/legacy/hooks/features/export/useGridPrintExport.js +22 -0
  196. package/legacy/hooks/features/export/utils.js +14 -0
  197. package/legacy/hooks/features/filter/gridFilterState.js +3 -1
  198. package/legacy/hooks/features/filter/gridFilterUtils.js +96 -2
  199. package/legacy/hooks/features/filter/useGridFilter.js +20 -8
  200. package/legacy/hooks/features/focus/useGridFocus.js +31 -35
  201. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  202. package/legacy/hooks/features/pagination/useGridPage.js +3 -4
  203. package/legacy/hooks/features/pagination/useGridPageSize.js +2 -3
  204. package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  205. package/legacy/hooks/features/rows/gridRowsSelector.js +3 -0
  206. package/legacy/hooks/features/rows/gridRowsUtils.js +82 -1
  207. package/legacy/hooks/features/rows/useGridRows.js +164 -131
  208. package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  209. package/legacy/hooks/features/scroll/useGridScroll.js +6 -1
  210. package/legacy/hooks/features/selection/useGridSelection.js +13 -10
  211. package/legacy/hooks/features/sorting/useGridSorting.js +8 -9
  212. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +14 -5
  213. package/legacy/hooks/utils/useGridApiEventHandler.js +20 -9
  214. package/legacy/hooks/utils/useGridNativeEventListener.js +1 -2
  215. package/legacy/hooks/utils/useGridSelector.js +1 -1
  216. package/legacy/index.js +1 -1
  217. package/legacy/internals/index.js +5 -2
  218. package/legacy/locales/arSD.js +8 -1
  219. package/legacy/locales/bgBG.js +8 -1
  220. package/legacy/locales/csCZ.js +7 -0
  221. package/legacy/locales/daDK.js +8 -1
  222. package/legacy/locales/deDE.js +10 -3
  223. package/legacy/locales/elGR.js +7 -0
  224. package/legacy/locales/esES.js +7 -0
  225. package/legacy/locales/faIR.js +8 -1
  226. package/legacy/locales/fiFI.js +7 -0
  227. package/legacy/locales/frFR.js +7 -0
  228. package/legacy/locales/heIL.js +8 -1
  229. package/legacy/locales/huHU.js +8 -1
  230. package/legacy/locales/itIT.js +7 -0
  231. package/legacy/locales/jaJP.js +7 -0
  232. package/legacy/locales/koKR.js +7 -0
  233. package/legacy/locales/nlNL.js +7 -0
  234. package/legacy/locales/plPL.js +8 -1
  235. package/legacy/locales/ptBR.js +8 -1
  236. package/legacy/locales/ruRU.js +7 -0
  237. package/legacy/locales/skSK.js +7 -0
  238. package/legacy/locales/trTR.js +8 -1
  239. package/legacy/locales/ukUA.js +7 -0
  240. package/legacy/locales/viVN.js +7 -0
  241. package/legacy/locales/zhCN.js +7 -0
  242. package/legacy/models/events/gridEvents.js +8 -0
  243. package/legacy/models/index.js +4 -3
  244. package/legacy/utils/createSelector.js +18 -2
  245. package/legacy/utils/exportAs.js +1 -1
  246. package/locales/arSD.js +8 -1
  247. package/locales/bgBG.js +8 -1
  248. package/locales/csCZ.js +7 -0
  249. package/locales/daDK.js +8 -1
  250. package/locales/deDE.js +10 -3
  251. package/locales/elGR.js +7 -0
  252. package/locales/esES.js +7 -0
  253. package/locales/faIR.js +8 -1
  254. package/locales/fiFI.js +7 -0
  255. package/locales/frFR.js +7 -0
  256. package/locales/heIL.js +8 -1
  257. package/locales/huHU.js +8 -1
  258. package/locales/itIT.js +7 -0
  259. package/locales/jaJP.js +7 -0
  260. package/locales/koKR.js +7 -0
  261. package/locales/nlNL.js +7 -0
  262. package/locales/plPL.js +8 -1
  263. package/locales/ptBR.js +8 -1
  264. package/locales/ruRU.js +7 -0
  265. package/locales/skSK.js +7 -0
  266. package/locales/trTR.js +8 -1
  267. package/locales/ukUA.js +7 -0
  268. package/locales/viVN.js +7 -0
  269. package/locales/zhCN.js +7 -0
  270. package/models/api/gridCoreApi.d.ts +10 -0
  271. package/models/api/gridEditingApi.d.ts +23 -4
  272. package/models/api/gridFilterApi.d.ts +5 -0
  273. package/models/api/gridFocusApi.d.ts +1 -0
  274. package/models/api/gridLocaleTextApi.d.ts +5 -0
  275. package/models/api/gridRowApi.d.ts +34 -0
  276. package/models/api/index.d.ts +1 -1
  277. package/models/colDef/gridColDef.d.ts +13 -0
  278. package/models/events/gridEventLookup.d.ts +293 -3
  279. package/models/events/gridEvents.d.ts +8 -251
  280. package/models/events/gridEvents.js +8 -0
  281. package/models/gridExport.d.ts +29 -2
  282. package/models/gridFilterModel.d.ts +11 -0
  283. package/models/gridFilterOperator.d.ts +1 -1
  284. package/models/gridIconSlotsComponent.d.ts +10 -0
  285. package/models/gridStateCommunity.d.ts +0 -2
  286. package/models/index.d.ts +1 -1
  287. package/models/index.js +4 -3
  288. package/models/props/DataGridProps.d.ts +56 -28
  289. package/modern/DataGrid/DataGrid.js +35 -1
  290. package/modern/DataGrid/useDataGridProps.js +2 -1
  291. package/modern/colDef/gridActionsColDef.js +2 -1
  292. package/modern/colDef/gridBooleanColDef.js +2 -1
  293. package/modern/colDef/gridCheckboxSelectionColDef.js +1 -0
  294. package/modern/colDef/gridDateColDef.js +4 -2
  295. package/modern/colDef/gridNumericColDef.js +3 -2
  296. package/modern/colDef/gridNumericOperators.js +11 -0
  297. package/modern/colDef/gridSingleSelectColDef.js +3 -2
  298. package/modern/colDef/gridSingleSelectOperators.js +52 -0
  299. package/modern/colDef/gridStringColDef.js +3 -2
  300. package/modern/colDef/gridStringOperators.js +12 -0
  301. package/modern/components/GridFooter.js +11 -2
  302. package/modern/components/GridRow.js +9 -5
  303. package/modern/components/GridRowCount.js +1 -0
  304. package/modern/components/GridScrollArea.js +3 -4
  305. package/modern/components/GridSelectedRowCount.js +2 -1
  306. package/modern/components/base/GridBody.js +1 -2
  307. package/modern/components/base/GridOverlays.js +2 -3
  308. package/modern/components/cell/GridActionsCell.js +14 -3
  309. package/modern/components/cell/GridCell.js +8 -8
  310. package/modern/components/cell/GridEditBooleanCell.js +101 -6
  311. package/modern/components/cell/GridEditDateCell.js +99 -5
  312. package/modern/components/cell/GridEditInputCell.js +29 -5
  313. package/modern/components/cell/GridEditSingleSelectCell.js +28 -5
  314. package/modern/components/cell/index.js +2 -0
  315. package/modern/components/columnHeaders/GridColumnHeaderItem.js +15 -16
  316. package/modern/components/columnSelection/GridCellCheckboxRenderer.js +2 -3
  317. package/modern/components/columnSelection/GridHeaderCheckbox.js +4 -5
  318. package/modern/components/containers/GridFooterContainer.js +11 -2
  319. package/modern/components/containers/GridRoot.js +25 -3
  320. package/modern/components/containers/GridRootStyles.js +36 -1
  321. package/modern/components/containers/GridToolbarContainer.js +12 -2
  322. package/modern/components/menu/GridMenu.js +1 -0
  323. package/modern/components/panel/GridPanelContent.js +13 -2
  324. package/modern/components/panel/GridPanelFooter.js +13 -2
  325. package/modern/components/panel/GridPanelHeader.js +13 -2
  326. package/modern/components/toolbar/GridToolbar.js +30 -7
  327. package/modern/components/toolbar/GridToolbarExport.js +15 -20
  328. package/modern/components/toolbar/GridToolbarQuickFilter.js +85 -0
  329. package/modern/components/toolbar/index.js +3 -2
  330. package/modern/constants/defaultGridSlotsComponents.js +4 -2
  331. package/modern/constants/gridClasses.js +1 -1
  332. package/modern/constants/localeTextConstants.js +8 -1
  333. package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
  334. package/modern/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -7
  335. package/modern/hooks/core/useGridApiInitialization.js +3 -3
  336. package/modern/hooks/core/useGridErrorHandler.js +1 -2
  337. package/modern/hooks/core/useGridStateInitialization.js +1 -2
  338. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -6
  339. package/modern/hooks/features/columnMenu/useGridColumnMenu.js +3 -3
  340. package/modern/hooks/features/columns/useGridColumnSpanning.js +1 -2
  341. package/modern/hooks/features/columns/useGridColumns.js +8 -9
  342. package/modern/hooks/features/dimensions/useGridDimensions.js +8 -9
  343. package/modern/hooks/features/editRows/useGridCellEditing.new.js +131 -32
  344. package/modern/hooks/features/editRows/useGridCellEditing.old.js +20 -21
  345. package/modern/hooks/features/editRows/useGridEditing.old.js +4 -5
  346. package/modern/hooks/features/editRows/useGridRowEditing.new.js +120 -42
  347. package/modern/hooks/features/editRows/useGridRowEditing.old.js +21 -22
  348. package/modern/hooks/features/events/useGridEvents.js +17 -18
  349. package/modern/hooks/features/export/serializers/csvSerializer.js +5 -5
  350. package/modern/hooks/features/export/useGridCsvExport.js +21 -16
  351. package/modern/hooks/features/export/useGridPrintExport.js +20 -0
  352. package/modern/hooks/features/export/utils.js +13 -0
  353. package/modern/hooks/features/filter/gridFilterState.js +3 -1
  354. package/modern/hooks/features/filter/gridFilterUtils.js +80 -2
  355. package/modern/hooks/features/filter/useGridFilter.js +20 -8
  356. package/modern/hooks/features/focus/useGridFocus.js +29 -33
  357. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -5
  358. package/modern/hooks/features/pagination/useGridPage.js +3 -4
  359. package/modern/hooks/features/pagination/useGridPageSize.js +2 -3
  360. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -6
  361. package/modern/hooks/features/rows/gridRowsSelector.js +1 -0
  362. package/modern/hooks/features/rows/gridRowsUtils.js +77 -1
  363. package/modern/hooks/features/rows/useGridRows.js +148 -128
  364. package/modern/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  365. package/modern/hooks/features/scroll/useGridScroll.js +6 -1
  366. package/modern/hooks/features/selection/useGridSelection.js +13 -10
  367. package/modern/hooks/features/sorting/useGridSorting.js +8 -9
  368. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +14 -5
  369. package/modern/hooks/utils/useGridApiEventHandler.js +20 -9
  370. package/modern/hooks/utils/useGridNativeEventListener.js +1 -2
  371. package/modern/hooks/utils/useGridSelector.js +1 -1
  372. package/modern/index.js +1 -1
  373. package/modern/internals/index.js +5 -2
  374. package/modern/locales/arSD.js +8 -1
  375. package/modern/locales/bgBG.js +8 -1
  376. package/modern/locales/csCZ.js +7 -0
  377. package/modern/locales/daDK.js +8 -1
  378. package/modern/locales/deDE.js +10 -3
  379. package/modern/locales/elGR.js +7 -0
  380. package/modern/locales/esES.js +7 -0
  381. package/modern/locales/faIR.js +8 -1
  382. package/modern/locales/fiFI.js +7 -0
  383. package/modern/locales/frFR.js +7 -0
  384. package/modern/locales/heIL.js +8 -1
  385. package/modern/locales/huHU.js +8 -1
  386. package/modern/locales/itIT.js +7 -0
  387. package/modern/locales/jaJP.js +7 -0
  388. package/modern/locales/koKR.js +7 -0
  389. package/modern/locales/nlNL.js +7 -0
  390. package/modern/locales/plPL.js +8 -1
  391. package/modern/locales/ptBR.js +8 -1
  392. package/modern/locales/ruRU.js +7 -0
  393. package/modern/locales/skSK.js +7 -0
  394. package/modern/locales/trTR.js +8 -1
  395. package/modern/locales/ukUA.js +7 -0
  396. package/modern/locales/viVN.js +7 -0
  397. package/modern/locales/zhCN.js +7 -0
  398. package/modern/models/events/gridEvents.js +8 -0
  399. package/modern/models/index.js +4 -3
  400. package/modern/utils/createSelector.js +20 -2
  401. package/modern/utils/exportAs.js +1 -1
  402. package/node/DataGrid/DataGrid.js +35 -1
  403. package/node/DataGrid/useDataGridProps.js +2 -1
  404. package/node/colDef/gridActionsColDef.js +2 -1
  405. package/node/colDef/gridBooleanColDef.js +2 -1
  406. package/node/colDef/gridCheckboxSelectionColDef.js +1 -0
  407. package/node/colDef/gridDateColDef.js +4 -2
  408. package/node/colDef/gridNumericColDef.js +2 -1
  409. package/node/colDef/gridNumericOperators.js +15 -1
  410. package/node/colDef/gridSingleSelectColDef.js +2 -1
  411. package/node/colDef/gridSingleSelectOperators.js +56 -1
  412. package/node/colDef/gridStringColDef.js +2 -1
  413. package/node/colDef/gridStringOperators.js +16 -1
  414. package/node/components/GridFooter.js +10 -1
  415. package/node/components/GridRow.js +9 -6
  416. package/node/components/GridRowCount.js +1 -0
  417. package/node/components/GridScrollArea.js +3 -5
  418. package/node/components/GridSelectedRowCount.js +2 -1
  419. package/node/components/base/GridBody.js +1 -3
  420. package/node/components/base/GridOverlays.js +2 -4
  421. package/node/components/cell/GridActionsCell.js +13 -4
  422. package/node/components/cell/GridCell.js +7 -7
  423. package/node/components/cell/GridEditBooleanCell.js +100 -5
  424. package/node/components/cell/GridEditDateCell.js +98 -4
  425. package/node/components/cell/GridEditInputCell.js +29 -5
  426. package/node/components/cell/GridEditSingleSelectCell.js +28 -6
  427. package/node/components/cell/index.js +26 -0
  428. package/node/components/columnHeaders/GridColumnHeaderItem.js +15 -17
  429. package/node/components/columnSelection/GridCellCheckboxRenderer.js +2 -4
  430. package/node/components/columnSelection/GridHeaderCheckbox.js +4 -6
  431. package/node/components/containers/GridFooterContainer.js +10 -1
  432. package/node/components/containers/GridRoot.js +24 -3
  433. package/node/components/containers/GridRootStyles.js +36 -1
  434. package/node/components/containers/GridToolbarContainer.js +11 -1
  435. package/node/components/menu/GridMenu.js +1 -0
  436. package/node/components/panel/GridPanelContent.js +11 -1
  437. package/node/components/panel/GridPanelFooter.js +11 -1
  438. package/node/components/panel/GridPanelHeader.js +11 -1
  439. package/node/components/toolbar/GridToolbar.js +32 -7
  440. package/node/components/toolbar/GridToolbarExport.js +14 -19
  441. package/node/components/toolbar/GridToolbarQuickFilter.js +109 -0
  442. package/node/components/toolbar/index.js +42 -11
  443. package/node/constants/defaultGridSlotsComponents.js +3 -1
  444. package/node/constants/gridClasses.js +1 -1
  445. package/node/constants/localeTextConstants.js +8 -1
  446. package/node/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -8
  447. package/node/hooks/core/strategyProcessing/useGridStrategyProcessing.js +6 -8
  448. package/node/hooks/core/useGridApiInitialization.js +3 -4
  449. package/node/hooks/core/useGridErrorHandler.js +1 -3
  450. package/node/hooks/core/useGridStateInitialization.js +1 -3
  451. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +5 -7
  452. package/node/hooks/features/columnMenu/useGridColumnMenu.js +3 -4
  453. package/node/hooks/features/columns/useGridColumnSpanning.js +1 -3
  454. package/node/hooks/features/columns/useGridColumns.js +8 -10
  455. package/node/hooks/features/dimensions/useGridDimensions.js +8 -10
  456. package/node/hooks/features/editRows/useGridCellEditing.new.js +133 -32
  457. package/node/hooks/features/editRows/useGridCellEditing.old.js +20 -22
  458. package/node/hooks/features/editRows/useGridEditing.old.js +4 -6
  459. package/node/hooks/features/editRows/useGridRowEditing.new.js +122 -43
  460. package/node/hooks/features/editRows/useGridRowEditing.old.js +21 -23
  461. package/node/hooks/features/events/useGridEvents.js +17 -19
  462. package/node/hooks/features/export/serializers/csvSerializer.js +5 -5
  463. package/node/hooks/features/export/useGridCsvExport.js +26 -17
  464. package/node/hooks/features/export/useGridPrintExport.js +25 -0
  465. package/node/hooks/features/export/utils.js +19 -2
  466. package/node/hooks/features/filter/gridFilterState.js +3 -1
  467. package/node/hooks/features/filter/gridFilterUtils.js +92 -3
  468. package/node/hooks/features/filter/useGridFilter.js +21 -9
  469. package/node/hooks/features/focus/useGridFocus.js +29 -34
  470. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +4 -6
  471. package/node/hooks/features/pagination/useGridPage.js +3 -5
  472. package/node/hooks/features/pagination/useGridPageSize.js +2 -4
  473. package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +4 -8
  474. package/node/hooks/features/rows/gridRowsSelector.js +3 -1
  475. package/node/hooks/features/rows/gridRowsUtils.js +95 -1
  476. package/node/hooks/features/rows/useGridRows.js +150 -126
  477. package/node/hooks/features/rows/useGridRowsPreProcessors.js +2 -0
  478. package/node/hooks/features/scroll/useGridScroll.js +6 -1
  479. package/node/hooks/features/selection/useGridSelection.js +13 -11
  480. package/node/hooks/features/sorting/useGridSorting.js +8 -10
  481. package/node/hooks/features/virtualization/useGridVirtualScroller.js +14 -6
  482. package/node/hooks/utils/useGridApiEventHandler.js +22 -10
  483. package/node/hooks/utils/useGridNativeEventListener.js +1 -3
  484. package/node/hooks/utils/useGridSelector.js +1 -1
  485. package/node/index.js +1 -1
  486. package/node/internals/index.js +39 -3
  487. package/node/locales/arSD.js +8 -1
  488. package/node/locales/bgBG.js +8 -1
  489. package/node/locales/csCZ.js +7 -0
  490. package/node/locales/daDK.js +8 -1
  491. package/node/locales/deDE.js +10 -3
  492. package/node/locales/elGR.js +7 -0
  493. package/node/locales/esES.js +7 -0
  494. package/node/locales/faIR.js +8 -1
  495. package/node/locales/fiFI.js +7 -0
  496. package/node/locales/frFR.js +7 -0
  497. package/node/locales/heIL.js +8 -1
  498. package/node/locales/huHU.js +8 -1
  499. package/node/locales/itIT.js +7 -0
  500. package/node/locales/jaJP.js +7 -0
  501. package/node/locales/koKR.js +7 -0
  502. package/node/locales/nlNL.js +7 -0
  503. package/node/locales/plPL.js +8 -1
  504. package/node/locales/ptBR.js +8 -1
  505. package/node/locales/ruRU.js +7 -0
  506. package/node/locales/skSK.js +7 -0
  507. package/node/locales/trTR.js +8 -1
  508. package/node/locales/ukUA.js +7 -0
  509. package/node/locales/viVN.js +7 -0
  510. package/node/locales/zhCN.js +7 -0
  511. package/node/models/events/gridEvents.js +8 -0
  512. package/node/models/index.js +0 -13
  513. package/node/utils/createSelector.js +25 -4
  514. package/node/utils/exportAs.js +1 -1
  515. package/package.json +3 -2
  516. package/utils/createSelector.d.ts +2 -1
  517. package/utils/createSelector.js +20 -2
  518. package/utils/exportAs.d.ts +2 -2
  519. package/utils/exportAs.js +1 -1
@@ -9,22 +9,27 @@ import { FinalizationRegistryBasedCleanupTracking } from '../../utils/cleanupTra
9
9
  * Signal to the underlying logic what version of the public component API
10
10
  * of the data grid is exposed.
11
11
  */
12
- var GridSignature; // We use class to make it easier to detect in heap snapshots by name
12
+ var GridSignature;
13
13
 
14
14
  (function (GridSignature) {
15
15
  GridSignature["DataGrid"] = "DataGrid";
16
16
  GridSignature["DataGridPro"] = "DataGridPro";
17
17
  })(GridSignature || (GridSignature = {}));
18
18
 
19
+ // We use class to make it easier to detect in heap snapshots by name
19
20
  var ObjectToBeRetainedByReact = /*#__PURE__*/_createClass(function ObjectToBeRetainedByReact() {
20
21
  _classCallCheck(this, ObjectToBeRetainedByReact);
21
22
  }); // Based on https://github.com/Bnaya/use-dispose-uncommitted/blob/main/src/finalization-registry-based-impl.ts
22
23
  // Check https://github.com/facebook/react/issues/15317 to get more information
23
24
 
24
25
 
25
- export function createUseGridApiEventHandler(registry) {
26
+ export function createUseGridApiEventHandler(registryContainer) {
26
27
  var cleanupTokensCounter = 0;
27
28
  return function useGridApiEventHandler(apiRef, eventName, handler, options) {
29
+ if (registryContainer.registry === null) {
30
+ registryContainer.registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistryBasedCleanupTracking() : new TimerBasedCleanupTracking();
31
+ }
32
+
28
33
  var _React$useState = React.useState(new ObjectToBeRetainedByReact()),
29
34
  _React$useState2 = _slicedToArray(_React$useState, 1),
30
35
  objectRetainedByReact = _React$useState2[0];
@@ -48,7 +53,7 @@ export function createUseGridApiEventHandler(registry) {
48
53
  cleanupTokenRef.current = {
49
54
  cleanupToken: cleanupTokensCounter
50
55
  };
51
- registry.register(objectRetainedByReact, // The callback below will be called once this reference stops being retained
56
+ registryContainer.registry.register(objectRetainedByReact, // The callback below will be called once this reference stops being retained
52
57
  function () {
53
58
  var _subscription$current;
54
59
 
@@ -61,7 +66,7 @@ export function createUseGridApiEventHandler(registry) {
61
66
  subscription.current = null;
62
67
 
63
68
  if (cleanupTokenRef.current) {
64
- registry.unregister(cleanupTokenRef.current);
69
+ registryContainer.registry.unregister(cleanupTokenRef.current);
65
70
  cleanupTokenRef.current = null;
66
71
  }
67
72
  }
@@ -79,10 +84,10 @@ export function createUseGridApiEventHandler(registry) {
79
84
  subscription.current = apiRef.current.subscribeEvent(eventName, _enhancedHandler, options);
80
85
  }
81
86
 
82
- if (cleanupTokenRef.current && registry) {
87
+ if (cleanupTokenRef.current && registryContainer.registry) {
83
88
  // If the effect was called, it means that this render was committed
84
89
  // so we can trust the cleanup function to remove the listener.
85
- registry.unregister(cleanupTokenRef.current);
90
+ registryContainer.registry.unregister(cleanupTokenRef.current);
86
91
  cleanupTokenRef.current = null;
87
92
  }
88
93
 
@@ -95,12 +100,18 @@ export function createUseGridApiEventHandler(registry) {
95
100
  }, [apiRef, eventName, options]);
96
101
  };
97
102
  }
98
- var registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistryBasedCleanupTracking() : new TimerBasedCleanupTracking(); // eslint-disable-next-line @typescript-eslint/naming-convention
103
+ var registryContainer = {
104
+ registry: null
105
+ }; // TODO: move to @mui/x-data-grid/internals
106
+ // eslint-disable-next-line @typescript-eslint/naming-convention
99
107
 
100
108
  export var unstable_resetCleanupTracking = function unstable_resetCleanupTracking() {
101
- return registry.reset();
109
+ var _registryContainer$re;
110
+
111
+ (_registryContainer$re = registryContainer.registry) == null ? void 0 : _registryContainer$re.reset();
112
+ registryContainer.registry = null;
102
113
  };
103
- export var useGridApiEventHandler = createUseGridApiEventHandler(registry);
114
+ export var useGridApiEventHandler = createUseGridApiEventHandler(registryContainer);
104
115
  var optionsSubscriberOptions = {
105
116
  isFirst: true
106
117
  };
@@ -1,6 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import * as React from 'react';
3
- import { GridEvents } from '../../models/events';
4
3
  import { isFunction } from '../../utils/utils';
5
4
  import { useGridLogger } from './useGridLogger';
6
5
  export var useGridNativeEventListener = function useGridNativeEventListener(apiRef, ref, eventName, handler, options) {
@@ -38,7 +37,7 @@ export var useGridNativeEventListener = function useGridNativeEventListener(apiR
38
37
  boundElem.removeEventListener(eventName, wrapHandler, options);
39
38
  };
40
39
 
41
- apiRef.current.subscribeEvent(GridEvents.unmount, unsubscribe);
40
+ apiRef.current.subscribeEvent('unmount', unsubscribe);
42
41
  }
43
42
  }, [ref, wrapHandler, eventName, added, logger, options, apiRef]);
44
43
  };
@@ -1,7 +1,7 @@
1
1
  import { buildWarning } from '../../utils/warning';
2
2
 
3
3
  function isOutputSelector(selector) {
4
- return selector.cache;
4
+ return selector.acceptsApiRef;
5
5
  }
6
6
 
7
7
  var stateNotInitializedWarning = buildWarning(['MUI: `useGridSelector` has been called before the initialization of the state.', 'This hook can only be used inside the context of the grid.']);
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.9.0
1
+ /** @license MUI v5.11.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -35,7 +35,10 @@ export { useGridStatePersistence } from '../hooks/features/statePersistence/useG
35
35
  export { useGridVirtualScroller } from '../hooks/features/virtualization/useGridVirtualScroller';
36
36
  export { useGridVisibleRows } from '../hooks/utils/useGridVisibleRows';
37
37
  export { useGridInitializeState } from '../hooks/utils/useGridInitializeState';
38
- export { createSelector } from '../utils/createSelector';
38
+ export { getColumnsToExport, defaultGetRowsToExport } from '../hooks/features/export/utils';
39
+ export { createSelector, unstable_resetCreateSelectorCache } from '../utils/createSelector';
39
40
  export { findParentElementFromClassName } from '../utils/domUtils';
40
41
  export { isNavigationKey } from '../utils/keyboardUtils';
41
- export { clamp, isDeepEqual } from '../utils/utils';
42
+ export { clamp, isDeepEqual } from '../utils/utils';
43
+ export { buildWarning } from '../utils/warning';
44
+ export { exportAs } from '../utils/exportAs';
@@ -22,11 +22,16 @@ var arSDGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " \u0645\u0646 \u0627\u0644\u0645\u0631\u0634\u0650\u062D\u0627\u062A \u0627\u0644\u0646\u0634\u0637\u0629") : "\u0645\u0631\u0634\u0650\u062D \u0646\u0634\u0637";
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'تصدير',
27
31
  toolbarExportLabel: 'تصدير',
28
32
  toolbarExportCSV: 'تنزيل كملف CSV',
29
33
  // toolbarExportPrint: 'Print',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'البحث عن العمود',
32
37
  columnsPanelTextFieldPlaceholder: 'عنوان العمود',
@@ -115,6 +120,8 @@ var arSDGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'توسيع',
118
- collapseDetailPanel: 'طوي'
123
+ collapseDetailPanel: 'طوي' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var arSD = getGridLocalization(arSDGrid, arSDCore);
@@ -22,11 +22,16 @@ var bgBGGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "".concat(count, " \u0430\u043A\u0442\u0438\u0432\u043D\u0438 \u0444\u0438\u043B\u0442\u0440\u0438");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Изтегли',
27
31
  toolbarExportLabel: 'Изтегли',
28
32
  toolbarExportCSV: 'Изтегли като CSV',
29
33
  toolbarExportPrint: 'Принтиране',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Намери колона',
32
37
  columnsPanelTextFieldPlaceholder: 'Заглавие на колона',
@@ -115,6 +120,8 @@ var bgBGGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Разгъване',
118
- collapseDetailPanel: 'Свиване'
123
+ collapseDetailPanel: 'Свиване' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var bgBG = getGridLocalization(bgBGGrid, bgBGCore);
@@ -30,11 +30,16 @@ var csCZGrid = {
30
30
 
31
31
  return "".concat(count, " ").concat(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: 'Stáhnout jako CSV',
37
41
  toolbarExportPrint: 'Vytisknout',
42
+ // toolbarExportExcel: 'Download as Excel',
38
43
  // Columns panel text
39
44
  columnsPanelTextFieldLabel: 'Najít sloupec',
40
45
  columnsPanelTextFieldPlaceholder: 'Název sloupce',
@@ -142,6 +147,8 @@ var csCZGrid = {
142
147
  } // Master/detail
143
148
  // expandDetailPanel: 'Expand',
144
149
  // collapseDetailPanel: 'Collapse',
150
+ // Row reordering text
151
+ // rowReorderingHeaderName: 'Row reordering',
145
152
 
146
153
  };
147
154
  export var csCZ = getGridLocalization(csCZGrid, csCZCore);
@@ -22,11 +22,16 @@ var daDKGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " aktive filtre") : "".concat(count, " aktivt filter");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  // toolbarExport: 'Export',
27
31
  toolbarExportLabel: 'Eksporter',
28
32
  toolbarExportCSV: 'Download som CSV',
29
33
  toolbarExportPrint: 'Print',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Find kolonne',
32
37
  columnsPanelTextFieldPlaceholder: 'Kolonne titel',
@@ -115,6 +120,8 @@ var daDKGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Udvid',
118
- collapseDetailPanel: 'Kollaps'
123
+ collapseDetailPanel: 'Kollaps' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var daDK = getGridLocalization(daDKGrid, daDKCore);
@@ -22,11 +22,16 @@ var deDEGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " aktive Filter") : "".concat(count, " aktiver Filter");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exportieren',
27
31
  toolbarExportLabel: 'Exportieren',
28
32
  toolbarExportCSV: 'Download als CSV',
29
33
  toolbarExportPrint: 'Drucken',
34
+ toolbarExportExcel: 'Download als Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Finde Spalte',
32
37
  columnsPanelTextFieldPlaceholder: 'Spaltenüberschrift',
@@ -36,7 +41,7 @@ var deDEGrid = {
36
41
  // Filter panel text
37
42
  filterPanelAddFilter: 'Filter hinzufügen',
38
43
  filterPanelDeleteIconLabel: 'Löschen',
39
- // filterPanelLinkOperator: 'Logic operator',
44
+ filterPanelLinkOperator: 'Logische Operatoren',
40
45
  filterPanelOperators: 'Operatoren',
41
46
  // TODO v6: rename to filterPanelOperator
42
47
  filterPanelOperatorAnd: 'Und',
@@ -57,7 +62,7 @@ var deDEGrid = {
57
62
  filterOperatorOnOrBefore: 'ist am oder vor',
58
63
  filterOperatorIsEmpty: 'ist leer',
59
64
  filterOperatorIsNotEmpty: 'ist nicht leer',
60
- // filterOperatorIsAnyOf: 'is any of',
65
+ filterOperatorIsAnyOf: 'ist einer der Werte',
61
66
  // Filter values text
62
67
  filterValueAny: 'Beliebig',
63
68
  filterValueTrue: 'Ja',
@@ -115,6 +120,8 @@ var deDEGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Aufklappen',
118
- collapseDetailPanel: 'Zuklappen'
123
+ collapseDetailPanel: 'Zuklappen',
124
+ // Row reordering text
125
+ rowReorderingHeaderName: 'Reihen neu ordnen'
119
126
  };
120
127
  export var deDE = getGridLocalization(deDEGrid, deDECore);
@@ -21,11 +21,16 @@ var elGRGrid = {
21
21
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
22
22
  return count !== 1 ? "".concat(count, " \u03B5\u03BD\u03B5\u03C1\u03B3\u03AC \u03C6\u03AF\u03BB\u03C4\u03C1\u03B1") : "".concat(count, " \u03B5\u03BD\u03B5\u03C1\u03B3\u03CC \u03C6\u03AF\u03BB\u03C4\u03C1\u03BF");
23
23
  },
24
+ // Quick filter toolbar field
25
+ // toolbarQuickFilterPlaceholder: 'Search...',
26
+ // toolbarQuickFilterLabel: 'Search',
27
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
24
28
  // Export selector toolbar button text
25
29
  toolbarExport: 'Εξαγωγή',
26
30
  toolbarExportLabel: 'Εξαγωγή',
27
31
  toolbarExportCSV: 'Λήψη ως CSV',
28
32
  // toolbarExportPrint: 'Print',
33
+ // toolbarExportExcel: 'Download as Excel',
29
34
  // Columns panel text
30
35
  columnsPanelTextFieldLabel: 'Εύρεση στήλης',
31
36
  columnsPanelTextFieldPlaceholder: 'Επικεφαλίδα στήλης',
@@ -110,6 +115,8 @@ var elGRGrid = {
110
115
  // Master/detail
111
116
  // expandDetailPanel: 'Expand',
112
117
  // collapseDetailPanel: 'Collapse',
118
+ // Row reordering text
119
+ // rowReorderingHeaderName: 'Row reordering',
113
120
 
114
121
  };
115
122
  export var elGR = getGridLocalization(elGRGrid);
@@ -22,11 +22,16 @@ var esESGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count > 1 ? "".concat(count, " filtros activos") : "".concat(count, " filtro activo");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exportar',
27
31
  toolbarExportLabel: 'Exportar',
28
32
  toolbarExportCSV: 'Descargar como CSV',
29
33
  // toolbarExportPrint: 'Print',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
32
37
  columnsPanelTextFieldPlaceholder: 'Título de columna',
@@ -111,6 +116,8 @@ var esESGrid = {
111
116
  // Master/detail
112
117
  // expandDetailPanel: 'Expand',
113
118
  // collapseDetailPanel: 'Collapse',
119
+ // Row reordering text
120
+ // rowReorderingHeaderName: 'Row reordering',
114
121
 
115
122
  };
116
123
  export var esES = getGridLocalization(esESGrid, esESCore);
@@ -22,11 +22,16 @@ var faIRGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " \u0641\u06CC\u0644\u062A\u0631\u0647\u0627\u06CC \u0641\u0639\u0627\u0644") : "".concat(count, " \u0641\u06CC\u0644\u062A\u0631 \u0641\u0639\u0627\u0644");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'خروجی',
27
31
  toolbarExportLabel: 'خروجی',
28
32
  toolbarExportCSV: 'دانلود به صورت CSV',
29
33
  toolbarExportPrint: 'چاپ',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'پیداکردن ستون',
32
37
  columnsPanelTextFieldPlaceholder: 'عنوان ستون',
@@ -115,6 +120,8 @@ var faIRGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'بازکردن پنل جزئیات',
118
- collapseDetailPanel: 'بستن پنل جزئیات'
123
+ collapseDetailPanel: 'بستن پنل جزئیات' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var faIR = getGridLocalization(faIRGrid, faIRCore);
@@ -22,11 +22,16 @@ var fiFIGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " aktiivista suodatinta") : "".concat(count, " aktiivinen suodatin");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Export',
27
31
  toolbarExportLabel: 'Export',
28
32
  toolbarExportCSV: 'Lataa CSV-muodossa',
29
33
  toolbarExportPrint: 'Tulosta',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Etsi sarake',
32
37
  columnsPanelTextFieldPlaceholder: 'Sarakkeen otsikko',
@@ -111,6 +116,8 @@ var fiFIGrid = {
111
116
  // Master/detail
112
117
  // expandDetailPanel: 'Expand',
113
118
  // collapseDetailPanel: 'Collapse',
119
+ // Row reordering text
120
+ // rowReorderingHeaderName: 'Row reordering',
114
121
 
115
122
  };
116
123
  export var fiFI = getGridLocalization(fiFIGrid, fiFICore);
@@ -22,11 +22,16 @@ var frFRGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count > 1 ? "".concat(count, " filtres actifs") : "".concat(count, " filtre actif");
24
24
  },
25
+ // Quick filter toolbar field
26
+ toolbarQuickFilterPlaceholder: 'Recherche...',
27
+ toolbarQuickFilterLabel: 'Recherche',
28
+ toolbarQuickFilterDeleteIconLabel: 'Supprimer',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exporter',
27
31
  toolbarExportLabel: 'Exporter',
28
32
  toolbarExportCSV: 'Télécharger en CSV',
29
33
  toolbarExportPrint: 'Imprimer',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Chercher colonne',
32
37
  columnsPanelTextFieldPlaceholder: 'Titre de la colonne',
@@ -115,6 +120,8 @@ var frFRGrid = {
115
120
  } // Master/detail
116
121
  // expandDetailPanel: 'Expand',
117
122
  // collapseDetailPanel: 'Collapse',
123
+ // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
118
125
 
119
126
  };
120
127
  export var frFR = getGridLocalization(frFRGrid, frFRCore);
@@ -22,11 +22,16 @@ var heILGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count !== 1 ? "".concat(count, " \u05DE\u05E1\u05E0\u05E0\u05D9\u05DD \u05E4\u05E2\u05D9\u05DC\u05D9\u05DD") : "\u05DE\u05E1\u05E0\u05DF \u05D0\u05D7\u05D3 \u05E4\u05E2\u05D9\u05DC";
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'ייצוא',
27
31
  toolbarExportLabel: 'ייצוא',
28
32
  toolbarExportCSV: 'הורדה כ- CSV',
29
33
  toolbarExportPrint: 'הדפסה',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'חפש עמודה',
32
37
  columnsPanelTextFieldPlaceholder: 'כותרת עמודה',
@@ -115,6 +120,8 @@ var heILGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'הרחב',
118
- collapseDetailPanel: 'כווץ'
123
+ collapseDetailPanel: 'כווץ' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var heIL = getGridLocalization(heILGrid, heILCore);
@@ -22,11 +22,16 @@ var huHUGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "".concat(count, " akt\xEDv sz\u0171r\u0151");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exportálás',
27
31
  toolbarExportLabel: 'Exportálás',
28
32
  toolbarExportCSV: 'Mentés CSV fájlként',
29
33
  toolbarExportPrint: 'Nyomtatás',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Oszlop keresése',
32
37
  columnsPanelTextFieldPlaceholder: 'Oszlop neve',
@@ -115,6 +120,8 @@ var huHUGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Kibontás',
118
- collapseDetailPanel: 'Összecsukás'
123
+ collapseDetailPanel: 'Összecsukás' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var huHU = getGridLocalization(huHUGrid, huHUCore);
@@ -22,11 +22,16 @@ var itITGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count > 1 ? "".concat(count, " filtri attivi") : "".concat(count, " filtro attivo");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Esporta',
27
31
  toolbarExportLabel: 'Esporta',
28
32
  toolbarExportCSV: 'Esporta in CSV',
29
33
  toolbarExportPrint: 'Stampa',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Cerca colonna',
32
37
  columnsPanelTextFieldPlaceholder: 'Titolo della colonna',
@@ -115,6 +120,8 @@ var itITGrid = {
115
120
  } // Master/detail
116
121
  // expandDetailPanel: 'Expand',
117
122
  // collapseDetailPanel: 'Collapse',
123
+ // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
118
125
 
119
126
  };
120
127
  export var itIT = getGridLocalization(itITGrid, itITCore);
@@ -22,11 +22,16 @@ var jaJPGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "".concat(count, "\u4EF6\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u9069\u7528\u4E2D");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'エクスポート',
27
31
  toolbarExportLabel: 'エクスポート',
28
32
  toolbarExportCSV: 'CSVダウンロード',
29
33
  // toolbarExportPrint: 'Print',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: '列検索',
32
37
  columnsPanelTextFieldPlaceholder: '検索クエリを入力...',
@@ -111,6 +116,8 @@ var jaJPGrid = {
111
116
  // Master/detail
112
117
  // expandDetailPanel: 'Expand',
113
118
  // collapseDetailPanel: 'Collapse',
119
+ // Row reordering text
120
+ // rowReorderingHeaderName: 'Row reordering',
114
121
 
115
122
  };
116
123
  export var jaJP = getGridLocalization(jaJPGrid, jaJPCore);
@@ -22,11 +22,16 @@ var koKRGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "".concat(count, "\uAC74\uC758 \uD544\uD130\uB97C \uC801\uC6A9\uC911");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: '내보내기',
27
31
  toolbarExportLabel: '내보내기',
28
32
  toolbarExportCSV: 'CSV다운로드',
29
33
  toolbarExportPrint: '프린트',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: '열 검색',
32
37
  columnsPanelTextFieldPlaceholder: '열 이름',
@@ -111,6 +116,8 @@ var koKRGrid = {
111
116
  // Master/detail
112
117
  // expandDetailPanel: 'Expand',
113
118
  // collapseDetailPanel: 'Collapse',
119
+ // Row reordering text
120
+ // rowReorderingHeaderName: 'Row reordering',
114
121
 
115
122
  };
116
123
  export var koKR = getGridLocalization(koKRGrid, koKRCore);
@@ -22,11 +22,16 @@ var nlNLGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return count > 1 ? "".concat(count, " actieve filters") : "".concat(count, " filter actief");
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exporteren',
27
31
  toolbarExportLabel: 'Exporteren',
28
32
  toolbarExportCSV: 'Exporteer naar CSV',
29
33
  toolbarExportPrint: 'Print',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Zoek kolom',
32
37
  columnsPanelTextFieldPlaceholder: 'Kolomtitel',
@@ -115,6 +120,8 @@ var nlNLGrid = {
115
120
  } // Master/detail
116
121
  // expandDetailPanel: 'Expand',
117
122
  // collapseDetailPanel: 'Collapse',
123
+ // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
118
125
 
119
126
  };
120
127
  export var nlNL = getGridLocalization(nlNLGrid, nlNLCore);
@@ -22,11 +22,16 @@ var plPLGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "Liczba aktywnych filtr\xF3w: ".concat(count);
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Eksportuj',
27
31
  toolbarExportLabel: 'Eksportuj',
28
32
  toolbarExportCSV: 'Pobierz jako plik CSV',
29
33
  toolbarExportPrint: 'Drukuj',
34
+ // toolbarExportExcel: 'Download as Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Znajdź kolumnę',
32
37
  columnsPanelTextFieldPlaceholder: 'Tytuł kolumny',
@@ -115,6 +120,8 @@ var plPLGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Rozwiń',
118
- collapseDetailPanel: 'Zwiń'
123
+ collapseDetailPanel: 'Zwiń' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var plPL = getGridLocalization(plPLGrid, plPLCore);
@@ -22,11 +22,16 @@ var ptBRGrid = {
22
22
  toolbarFiltersTooltipActive: function toolbarFiltersTooltipActive(count) {
23
23
  return "".concat(count, " ").concat(count !== 1 ? 'filtros' : 'filtro', " ").concat(count !== 1 ? 'ativos' : 'ativo');
24
24
  },
25
+ // Quick filter toolbar field
26
+ // toolbarQuickFilterPlaceholder: 'Search...',
27
+ // toolbarQuickFilterLabel: 'Search',
28
+ // toolbarQuickFilterDeleteIconLabel: 'Clear',
25
29
  // Export selector toolbar button text
26
30
  toolbarExport: 'Exportar',
27
31
  toolbarExportLabel: 'Exportar',
28
32
  toolbarExportCSV: 'Baixar como CSV',
29
33
  toolbarExportPrint: 'Print',
34
+ toolbarExportExcel: 'Baixar como Excel',
30
35
  // Columns panel text
31
36
  columnsPanelTextFieldLabel: 'Localizar coluna',
32
37
  columnsPanelTextFieldPlaceholder: 'Título da coluna',
@@ -115,6 +120,8 @@ var ptBRGrid = {
115
120
  },
116
121
  // Master/detail
117
122
  expandDetailPanel: 'Expandir',
118
- collapseDetailPanel: 'Esconder'
123
+ collapseDetailPanel: 'Esconder' // Row reordering text
124
+ // rowReorderingHeaderName: 'Row reordering',
125
+
119
126
  };
120
127
  export var ptBR = getGridLocalization(ptBRGrid, ptBRCore);