@mui/x-data-grid 5.14.0 → 5.15.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 (239) hide show
  1. package/CHANGELOG.md +62 -5
  2. package/DataGrid/DataGrid.js +6 -0
  3. package/DataGrid/useDataGridProps.js +1 -0
  4. package/colDef/gridStringColDef.js +1 -1
  5. package/components/GridRow.js +5 -1
  6. package/components/base/GridOverlays.js +2 -2
  7. package/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  8. package/components/containers/GridRoot.js +4 -2
  9. package/constants/gridClasses.d.ts +16 -0
  10. package/constants/gridClasses.js +1 -1
  11. package/constants/localeTextConstants.js +1 -1
  12. package/hooks/features/dimensions/useGridDimensions.js +6 -1
  13. package/hooks/features/editRows/useGridCellEditing.new.d.ts +1 -1
  14. package/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  15. package/hooks/features/editRows/useGridEditing.new.d.ts +1 -1
  16. package/hooks/features/editRows/useGridEditing.new.js +4 -0
  17. package/hooks/features/editRows/useGridEditing.old.js +1 -1
  18. package/hooks/features/editRows/useGridRowEditing.new.d.ts +1 -1
  19. package/hooks/features/editRows/useGridRowEditing.new.js +2 -2
  20. package/hooks/features/export/utils.js +8 -1
  21. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +1 -1
  22. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +42 -34
  23. package/hooks/features/pagination/useGridPageSize.js +3 -1
  24. package/hooks/features/rows/gridRowsSelector.d.ts +14 -0
  25. package/hooks/features/rows/gridRowsSelector.js +20 -1
  26. package/hooks/features/rows/gridRowsState.d.ts +8 -1
  27. package/hooks/features/rows/gridRowsUtils.d.ts +4 -0
  28. package/hooks/features/rows/gridRowsUtils.js +21 -3
  29. package/hooks/features/rows/index.d.ts +1 -1
  30. package/hooks/features/rows/index.js +1 -1
  31. package/hooks/features/rows/useGridRowsMeta.js +19 -4
  32. package/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  33. package/hooks/features/scroll/useGridScroll.js +7 -2
  34. package/hooks/features/selection/useGridSelection.js +7 -3
  35. package/hooks/features/sorting/useGridSorting.js +8 -0
  36. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +3 -1
  37. package/hooks/features/virtualization/useGridVirtualScroller.js +31 -16
  38. package/index.js +1 -1
  39. package/internals/index.d.ts +4 -1
  40. package/internals/index.js +3 -0
  41. package/legacy/DataGrid/DataGrid.js +6 -0
  42. package/legacy/DataGrid/useDataGridProps.js +1 -0
  43. package/legacy/colDef/gridStringColDef.js +1 -1
  44. package/legacy/components/GridRow.js +5 -1
  45. package/legacy/components/base/GridOverlays.js +2 -2
  46. package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  47. package/legacy/components/containers/GridRoot.js +4 -2
  48. package/legacy/constants/gridClasses.js +1 -1
  49. package/legacy/constants/localeTextConstants.js +1 -1
  50. package/legacy/hooks/features/dimensions/useGridDimensions.js +6 -1
  51. package/legacy/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  52. package/legacy/hooks/features/editRows/useGridEditing.new.js +4 -0
  53. package/legacy/hooks/features/editRows/useGridEditing.old.js +1 -1
  54. package/legacy/hooks/features/editRows/useGridRowEditing.new.js +2 -2
  55. package/legacy/hooks/features/export/utils.js +13 -1
  56. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +47 -34
  57. package/legacy/hooks/features/pagination/useGridPageSize.js +3 -1
  58. package/legacy/hooks/features/rows/gridRowsSelector.js +23 -0
  59. package/legacy/hooks/features/rows/gridRowsUtils.js +21 -3
  60. package/legacy/hooks/features/rows/index.js +1 -1
  61. package/legacy/hooks/features/rows/useGridRowsMeta.js +19 -4
  62. package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  63. package/legacy/hooks/features/scroll/useGridScroll.js +7 -2
  64. package/legacy/hooks/features/selection/useGridSelection.js +7 -3
  65. package/legacy/hooks/features/sorting/useGridSorting.js +8 -0
  66. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +32 -16
  67. package/legacy/index.js +1 -1
  68. package/legacy/internals/index.js +3 -0
  69. package/legacy/locales/arSD.js +1 -1
  70. package/legacy/locales/bgBG.js +1 -1
  71. package/legacy/locales/csCZ.js +1 -1
  72. package/legacy/locales/daDK.js +1 -1
  73. package/legacy/locales/deDE.js +1 -1
  74. package/legacy/locales/elGR.js +1 -1
  75. package/legacy/locales/esES.js +1 -1
  76. package/legacy/locales/faIR.js +1 -1
  77. package/legacy/locales/fiFI.js +1 -1
  78. package/legacy/locales/frFR.js +1 -1
  79. package/legacy/locales/heIL.js +1 -1
  80. package/legacy/locales/huHU.js +1 -1
  81. package/legacy/locales/itIT.js +1 -1
  82. package/legacy/locales/jaJP.js +3 -3
  83. package/legacy/locales/koKR.js +1 -1
  84. package/legacy/locales/nbNO.js +1 -1
  85. package/legacy/locales/nlNL.js +1 -1
  86. package/legacy/locales/plPL.js +1 -1
  87. package/legacy/locales/ptBR.js +1 -1
  88. package/legacy/locales/roRO.js +1 -1
  89. package/legacy/locales/ruRU.js +1 -1
  90. package/legacy/locales/skSK.js +1 -1
  91. package/legacy/locales/svSE.js +1 -1
  92. package/legacy/locales/trTR.js +1 -1
  93. package/legacy/locales/ukUA.js +1 -1
  94. package/legacy/locales/viVN.js +1 -1
  95. package/legacy/locales/zhCN.js +37 -33
  96. package/legacy/locales/zhTW.js +1 -1
  97. package/locales/arSD.js +1 -1
  98. package/locales/bgBG.js +1 -1
  99. package/locales/csCZ.js +1 -1
  100. package/locales/daDK.js +1 -1
  101. package/locales/deDE.js +1 -1
  102. package/locales/elGR.js +1 -1
  103. package/locales/esES.js +1 -1
  104. package/locales/faIR.js +1 -1
  105. package/locales/fiFI.js +1 -1
  106. package/locales/frFR.js +1 -1
  107. package/locales/heIL.js +1 -1
  108. package/locales/huHU.js +1 -1
  109. package/locales/itIT.js +1 -1
  110. package/locales/jaJP.js +3 -3
  111. package/locales/koKR.js +1 -1
  112. package/locales/nbNO.js +1 -1
  113. package/locales/nlNL.js +1 -1
  114. package/locales/plPL.js +1 -1
  115. package/locales/ptBR.js +1 -1
  116. package/locales/roRO.js +1 -1
  117. package/locales/ruRU.js +1 -1
  118. package/locales/skSK.js +1 -1
  119. package/locales/svSE.js +1 -1
  120. package/locales/trTR.js +1 -1
  121. package/locales/ukUA.js +1 -1
  122. package/locales/viVN.js +1 -1
  123. package/locales/zhCN.js +33 -33
  124. package/locales/zhTW.js +1 -1
  125. package/models/gridRows.d.ts +5 -0
  126. package/models/props/DataGridProps.d.ts +5 -0
  127. package/modern/DataGrid/DataGrid.js +6 -0
  128. package/modern/DataGrid/useDataGridProps.js +1 -0
  129. package/modern/colDef/gridStringColDef.js +1 -1
  130. package/modern/components/GridRow.js +5 -1
  131. package/modern/components/base/GridOverlays.js +2 -2
  132. package/modern/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  133. package/modern/components/containers/GridRoot.js +4 -2
  134. package/modern/constants/gridClasses.js +1 -1
  135. package/modern/constants/localeTextConstants.js +1 -1
  136. package/modern/hooks/features/dimensions/useGridDimensions.js +6 -1
  137. package/modern/hooks/features/editRows/useGridCellEditing.new.js +4 -3
  138. package/modern/hooks/features/editRows/useGridEditing.new.js +4 -0
  139. package/modern/hooks/features/editRows/useGridEditing.old.js +1 -1
  140. package/modern/hooks/features/editRows/useGridRowEditing.new.js +2 -2
  141. package/modern/hooks/features/export/utils.js +6 -1
  142. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +42 -30
  143. package/modern/hooks/features/pagination/useGridPageSize.js +3 -1
  144. package/modern/hooks/features/rows/gridRowsSelector.js +18 -1
  145. package/modern/hooks/features/rows/gridRowsUtils.js +19 -3
  146. package/modern/hooks/features/rows/index.js +1 -1
  147. package/modern/hooks/features/rows/useGridRowsMeta.js +17 -4
  148. package/modern/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  149. package/modern/hooks/features/scroll/useGridScroll.js +5 -2
  150. package/modern/hooks/features/selection/useGridSelection.js +7 -1
  151. package/modern/hooks/features/sorting/useGridSorting.js +8 -0
  152. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +30 -15
  153. package/modern/index.js +1 -1
  154. package/modern/internals/index.js +3 -0
  155. package/modern/locales/arSD.js +1 -1
  156. package/modern/locales/bgBG.js +1 -1
  157. package/modern/locales/csCZ.js +1 -1
  158. package/modern/locales/daDK.js +1 -1
  159. package/modern/locales/deDE.js +1 -1
  160. package/modern/locales/elGR.js +1 -1
  161. package/modern/locales/esES.js +1 -1
  162. package/modern/locales/faIR.js +1 -1
  163. package/modern/locales/fiFI.js +1 -1
  164. package/modern/locales/frFR.js +1 -1
  165. package/modern/locales/heIL.js +1 -1
  166. package/modern/locales/huHU.js +1 -1
  167. package/modern/locales/itIT.js +1 -1
  168. package/modern/locales/jaJP.js +3 -3
  169. package/modern/locales/koKR.js +1 -1
  170. package/modern/locales/nbNO.js +1 -1
  171. package/modern/locales/nlNL.js +1 -1
  172. package/modern/locales/plPL.js +1 -1
  173. package/modern/locales/ptBR.js +1 -1
  174. package/modern/locales/roRO.js +1 -1
  175. package/modern/locales/ruRU.js +1 -1
  176. package/modern/locales/skSK.js +1 -1
  177. package/modern/locales/svSE.js +1 -1
  178. package/modern/locales/trTR.js +1 -1
  179. package/modern/locales/ukUA.js +1 -1
  180. package/modern/locales/viVN.js +1 -1
  181. package/modern/locales/zhCN.js +33 -33
  182. package/modern/locales/zhTW.js +1 -1
  183. package/node/DataGrid/DataGrid.js +6 -0
  184. package/node/DataGrid/useDataGridProps.js +1 -0
  185. package/node/colDef/gridStringColDef.js +1 -1
  186. package/node/components/GridRow.js +5 -1
  187. package/node/components/base/GridOverlays.js +2 -2
  188. package/node/components/columnSelection/GridCellCheckboxRenderer.js +5 -0
  189. package/node/components/containers/GridRoot.js +3 -1
  190. package/node/constants/gridClasses.js +1 -1
  191. package/node/constants/localeTextConstants.js +1 -1
  192. package/node/hooks/features/dimensions/useGridDimensions.js +7 -1
  193. package/node/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  194. package/node/hooks/features/editRows/useGridEditing.new.js +4 -0
  195. package/node/hooks/features/editRows/useGridEditing.old.js +1 -1
  196. package/node/hooks/features/editRows/useGridRowEditing.new.js +2 -2
  197. package/node/hooks/features/export/utils.js +7 -0
  198. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +43 -34
  199. package/node/hooks/features/pagination/useGridPageSize.js +4 -1
  200. package/node/hooks/features/rows/gridRowsSelector.js +24 -2
  201. package/node/hooks/features/rows/gridRowsUtils.js +23 -2
  202. package/node/hooks/features/rows/index.js +70 -12
  203. package/node/hooks/features/rows/useGridRowsMeta.js +20 -4
  204. package/node/hooks/features/rows/useGridRowsPreProcessors.js +2 -1
  205. package/node/hooks/features/scroll/useGridScroll.js +7 -1
  206. package/node/hooks/features/selection/useGridSelection.js +7 -3
  207. package/node/hooks/features/sorting/useGridSorting.js +8 -0
  208. package/node/hooks/features/virtualization/useGridVirtualScroller.js +31 -16
  209. package/node/index.js +1 -1
  210. package/node/internals/index.js +28 -0
  211. package/node/locales/arSD.js +1 -1
  212. package/node/locales/bgBG.js +1 -1
  213. package/node/locales/csCZ.js +1 -1
  214. package/node/locales/daDK.js +1 -1
  215. package/node/locales/deDE.js +1 -1
  216. package/node/locales/elGR.js +1 -1
  217. package/node/locales/esES.js +1 -1
  218. package/node/locales/faIR.js +1 -1
  219. package/node/locales/fiFI.js +1 -1
  220. package/node/locales/frFR.js +1 -1
  221. package/node/locales/heIL.js +1 -1
  222. package/node/locales/huHU.js +1 -1
  223. package/node/locales/itIT.js +1 -1
  224. package/node/locales/jaJP.js +3 -3
  225. package/node/locales/koKR.js +1 -1
  226. package/node/locales/nbNO.js +1 -1
  227. package/node/locales/nlNL.js +1 -1
  228. package/node/locales/plPL.js +1 -1
  229. package/node/locales/ptBR.js +1 -1
  230. package/node/locales/roRO.js +1 -1
  231. package/node/locales/ruRU.js +1 -1
  232. package/node/locales/skSK.js +1 -1
  233. package/node/locales/svSE.js +1 -1
  234. package/node/locales/trTR.js +1 -1
  235. package/node/locales/ukUA.js +1 -1
  236. package/node/locales/viVN.js +1 -1
  237. package/node/locales/zhCN.js +33 -33
  238. package/node/locales/zhTW.js +1 -1
  239. package/package.json +1 -1
@@ -23,6 +23,8 @@ var _useGridApiMethod = require("../../utils/useGridApiMethod");
23
23
 
24
24
  var _gridFilterSelector = require("../filter/gridFilterSelector");
25
25
 
26
+ var _gridClasses = require("../../../constants/gridClasses");
27
+
26
28
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
27
29
 
28
30
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -108,13 +110,17 @@ const useGridScroll = (apiRef, props) => {
108
110
  }
109
111
 
110
112
  if (params.rowIndex != null) {
113
+ var _querySelector, _querySelector2;
114
+
111
115
  const rowsMeta = (0, _gridRowsMetaSelector.gridRowsMetaSelector)(apiRef.current.state);
112
116
  const page = (0, _gridPaginationSelector.gridPageSelector)(apiRef);
113
117
  const pageSize = (0, _gridPaginationSelector.gridPageSizeSelector)(apiRef);
114
118
  const elementIndex = !props.pagination ? params.rowIndex : params.rowIndex - page * pageSize;
115
119
  const targetOffsetHeight = rowsMeta.positions[elementIndex + 1] ? rowsMeta.positions[elementIndex + 1] - rowsMeta.positions[elementIndex] : rowsMeta.currentPageTotalHeight - rowsMeta.positions[elementIndex];
120
+ const topPinnedRowsHeight = ((_querySelector = windowRef.current.querySelector(`.${_gridClasses.gridClasses['pinnedRows--top']}`)) == null ? void 0 : _querySelector.clientHeight) || 0;
121
+ const bottomPinnedRowsHeight = ((_querySelector2 = windowRef.current.querySelector(`.${_gridClasses.gridClasses['pinnedRows--bottom']}`)) == null ? void 0 : _querySelector2.clientHeight) || 0;
116
122
  scrollCoordinates.top = scrollIntoView({
117
- clientHeight: windowRef.current.clientHeight,
123
+ clientHeight: windowRef.current.clientHeight - topPinnedRowsHeight - bottomPinnedRowsHeight,
118
124
  scrollTop: windowRef.current.scrollTop,
119
125
  offsetHeight: targetOffsetHeight,
120
126
  offsetTop: rowsMeta.positions[elementIndex]
@@ -143,13 +143,13 @@ const useGridSelection = (apiRef, props) => {
143
143
  }, [apiRef, logger]);
144
144
  const isRowSelected = React.useCallback(id => (0, _gridSelectionSelector.gridSelectionStateSelector)(apiRef.current.state).includes(id), [apiRef]);
145
145
  const isRowSelectable = React.useCallback(id => {
146
- var _apiRef$current$getRo;
147
-
148
146
  if (propIsRowSelectable && !propIsRowSelectable(apiRef.current.getRowParams(id))) {
149
147
  return false;
150
148
  }
151
149
 
152
- if (((_apiRef$current$getRo = apiRef.current.getRowNode(id)) == null ? void 0 : _apiRef$current$getRo.position) === 'footer') {
150
+ const rowNode = apiRef.current.getRowNode(id);
151
+
152
+ if ((rowNode == null ? void 0 : rowNode.position) === 'footer' || rowNode != null && rowNode.isPinned) {
153
153
  return false;
154
154
  }
155
155
 
@@ -299,6 +299,10 @@ const useGridSelection = (apiRef, props) => {
299
299
  }
300
300
  }
301
301
 
302
+ if (params.rowNode.isPinned) {
303
+ return;
304
+ }
305
+
302
306
  if (event.shiftKey && (canHaveMultipleSelection || checkboxSelection)) {
303
307
  expandMouseRowRangeSelection(params.id);
304
308
  } else {
@@ -225,6 +225,10 @@ const useGridSorting = (apiRef, props) => {
225
225
  const bodyRowIds = [];
226
226
  const footerRowIds = [];
227
227
  (0, _rows.gridRowIdsSelector)(apiRef).forEach(rowId => {
228
+ if (rowTree[rowId].isPinned) {
229
+ return;
230
+ }
231
+
228
232
  if (rowTree[rowId].position === 'footer') {
229
233
  footerRowIds.push(rowId);
230
234
  } else {
@@ -237,6 +241,10 @@ const useGridSorting = (apiRef, props) => {
237
241
  const bodyRows = [];
238
242
  const footerRowIds = [];
239
243
  Object.values(rowTree).forEach(rowNode => {
244
+ if (rowNode.isPinned) {
245
+ return;
246
+ }
247
+
240
248
  if (rowNode.position === 'footer') {
241
249
  footerRowIds.push(rowNode.id);
242
250
  } else {
@@ -207,10 +207,8 @@ const useGridVirtualScroller = props => {
207
207
  React.useEffect(() => {
208
208
  setContainerWidth(rootRef.current.clientWidth);
209
209
  }, [rowsMeta.currentPageTotalHeight]);
210
- const handleResize = React.useCallback(() => {
211
- if (rootRef.current) {
212
- setContainerWidth(rootRef.current.clientWidth);
213
- }
210
+ const handleResize = React.useCallback(params => {
211
+ setContainerWidth(params.width);
214
212
  }, []);
215
213
  (0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'resize', handleResize);
216
214
  const updateRenderZonePosition = React.useCallback(nextRenderContext => {
@@ -326,10 +324,11 @@ const useGridVirtualScroller = props => {
326
324
  minFirstColumn = renderZoneMinColumnIndex,
327
325
  maxLastColumn = renderZoneMaxColumnIndex,
328
326
  availableSpace = containerWidth,
329
- ignoreAutoHeight
327
+ ignoreAutoHeight,
328
+ rowIndexOffset = 0
330
329
  } = params;
331
330
 
332
- if (!currentPage.range || !nextRenderContext || availableSpace == null) {
331
+ if (!nextRenderContext || availableSpace == null) {
333
332
  return null;
334
333
  }
335
334
 
@@ -344,15 +343,31 @@ const useGridVirtualScroller = props => {
344
343
  });
345
344
  const renderedRows = [];
346
345
 
347
- for (let i = firstRowToRender; i < lastRowToRender; i += 1) {
348
- const row = currentPage.rows[i];
349
- renderedRows.push(row);
350
- apiRef.current.unstable_calculateColSpan({
351
- rowId: row.id,
352
- minFirstColumn,
353
- maxLastColumn,
354
- columns: visibleColumns
346
+ if (params.rows) {
347
+ params.rows.forEach(row => {
348
+ renderedRows.push(row);
349
+ apiRef.current.unstable_calculateColSpan({
350
+ rowId: row.id,
351
+ minFirstColumn,
352
+ maxLastColumn,
353
+ columns: visibleColumns
354
+ });
355
355
  });
356
+ } else {
357
+ if (!currentPage.range) {
358
+ return null;
359
+ }
360
+
361
+ for (let i = firstRowToRender; i < lastRowToRender; i += 1) {
362
+ const row = currentPage.rows[i];
363
+ renderedRows.push(row);
364
+ apiRef.current.unstable_calculateColSpan({
365
+ rowId: row.id,
366
+ minFirstColumn,
367
+ maxLastColumn,
368
+ columns: visibleColumns
369
+ });
370
+ }
356
371
  }
357
372
 
358
373
  const [initialFirstColumnToRender, lastColumnToRender] = getRenderableIndexes({
@@ -373,7 +388,7 @@ const useGridVirtualScroller = props => {
373
388
  const rows = [];
374
389
 
375
390
  for (let i = 0; i < renderedRows.length; i += 1) {
376
- var _rootProps$components;
391
+ var _currentPage$range5, _rootProps$components;
377
392
 
378
393
  const {
379
394
  id,
@@ -404,7 +419,7 @@ const useGridVirtualScroller = props => {
404
419
  firstColumnToRender: firstColumnToRender,
405
420
  lastColumnToRender: lastColumnToRender,
406
421
  selected: isSelected,
407
- index: currentPage.range.firstRowIndex + firstRowToRender + i,
422
+ index: rowIndexOffset + ((currentPage == null ? void 0 : (_currentPage$range5 = currentPage.range) == null ? void 0 : _currentPage$range5.firstRowIndex) || 0) + firstRowToRender + i,
408
423
  containerWidth: availableSpace,
409
424
  isLastVisible: lastVisibleRowIndex
410
425
  }, typeof getRowProps === 'function' ? getRowProps(id, model) : {}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.row), id));
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.14.0
1
+ /** @license MUI v5.15.0
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.
@@ -45,6 +45,12 @@ Object.defineProperty(exports, "buildWarning", {
45
45
  return _warning.buildWarning;
46
46
  }
47
47
  });
48
+ Object.defineProperty(exports, "calculatePinnedRowsHeight", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _gridRowsUtils.calculatePinnedRowsHeight;
52
+ }
53
+ });
48
54
  Object.defineProperty(exports, "clamp", {
49
55
  enumerable: true,
50
56
  get: function () {
@@ -123,6 +129,24 @@ Object.defineProperty(exports, "getColumnsToExport", {
123
129
  return _utils.getColumnsToExport;
124
130
  }
125
131
  });
132
+ Object.defineProperty(exports, "getRowIdFromRowModel", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _gridRowsUtils.getRowIdFromRowModel;
136
+ }
137
+ });
138
+ Object.defineProperty(exports, "gridAdditionalRowGroupsSelector", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _gridRowsSelector.gridAdditionalRowGroupsSelector;
142
+ }
143
+ });
144
+ Object.defineProperty(exports, "gridPinnedRowsSelector", {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _gridRowsSelector.gridPinnedRowsSelector;
148
+ }
149
+ });
126
150
  Object.defineProperty(exports, "isDeepEqual", {
127
151
  enumerable: true,
128
152
  get: function () {
@@ -436,6 +460,10 @@ var _useGridRowsMeta = require("../hooks/features/rows/useGridRowsMeta");
436
460
 
437
461
  var _useGridParamsApi = require("../hooks/features/rows/useGridParamsApi");
438
462
 
463
+ var _gridRowsUtils = require("../hooks/features/rows/gridRowsUtils");
464
+
465
+ var _gridRowsSelector = require("../hooks/features/rows/gridRowsSelector");
466
+
439
467
  var _useGridSelection = require("../hooks/features/selection/useGridSelection");
440
468
 
441
469
  var _useGridSelectionPreProcessors = require("../hooks/features/selection/useGridSelectionPreProcessors");
@@ -30,7 +30,7 @@ const arSDGrid = {
30
30
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const bgBGGrid = {
30
30
  toolbarFiltersTooltipShow: 'Покажи Филтрите',
31
31
  toolbarFiltersTooltipActive: count => `${count} активни филтри`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -40,7 +40,7 @@ const csCZGrid = {
40
40
  return `${count} ${pluralForm}`;
41
41
  },
42
42
  // Quick filter toolbar field
43
- // toolbarQuickFilterPlaceholder: 'Search...',
43
+ // toolbarQuickFilterPlaceholder: 'Search',
44
44
  // toolbarQuickFilterLabel: 'Search',
45
45
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
46
46
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const daDKGrid = {
30
30
  toolbarFiltersTooltipShow: 'Vis filtre',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filtre` : `${count} aktivt filter`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const deDEGrid = {
30
30
  toolbarFiltersTooltipShow: 'Zeige Filter',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive Filter` : `${count} aktiver Filter`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Suchen...',
33
+ toolbarQuickFilterPlaceholder: 'Suchen',
34
34
  toolbarQuickFilterLabel: 'Suchen',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Löschen',
36
36
  // Export selector toolbar button text
@@ -28,7 +28,7 @@ const elGRGrid = {
28
28
  toolbarFiltersTooltipShow: 'Εμφάνιση φίλτρων',
29
29
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} ενεργά φίλτρα` : `${count} ενεργό φίλτρο`,
30
30
  // Quick filter toolbar field
31
- // toolbarQuickFilterPlaceholder: 'Search...',
31
+ // toolbarQuickFilterPlaceholder: 'Search',
32
32
  // toolbarQuickFilterLabel: 'Search',
33
33
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
34
34
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const esESGrid = {
30
30
  toolbarFiltersTooltipShow: 'Mostrar filtros',
31
31
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const faIRGrid = {
30
30
  toolbarFiltersTooltipShow: 'نمایش فیلترها',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${count} فیلتر فعال`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const fiFIGrid = {
30
30
  toolbarFiltersTooltipShow: 'Näytä suodattimet',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const frFRGrid = {
30
30
  toolbarFiltersTooltipShow: 'Afficher les filtres',
31
31
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtres actifs` : `${count} filtre actif`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Recherche...',
33
+ toolbarQuickFilterPlaceholder: 'Recherche',
34
34
  toolbarQuickFilterLabel: 'Recherche',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Supprimer',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const heILGrid = {
30
30
  toolbarFiltersTooltipShow: 'הצג מסננים',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} מסננים פעילים` : `מסנן אחד פעיל`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'חיפוש...',
33
+ toolbarQuickFilterPlaceholder: 'חיפוש…',
34
34
  toolbarQuickFilterLabel: 'חיפוש',
35
35
  toolbarQuickFilterDeleteIconLabel: 'ניקוי',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const huHUGrid = {
30
30
  toolbarFiltersTooltipShow: 'Szűrők megjelenítése',
31
31
  toolbarFiltersTooltipActive: count => `${count} aktív szűrő`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const itITGrid = {
30
30
  toolbarFiltersTooltipShow: 'Mostra i filtri',
31
31
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtri attivi` : `${count} filtro attivo`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const jaJPGrid = {
30
30
  toolbarFiltersTooltipShow: 'フィルター表示',
31
31
  toolbarFiltersTooltipActive: count => `${count}件のフィルターを適用中`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: '検索...',
33
+ toolbarQuickFilterPlaceholder: '検索…',
34
34
  toolbarQuickFilterLabel: '検索',
35
35
  toolbarQuickFilterDeleteIconLabel: 'クリア',
36
36
  // Export selector toolbar button text
@@ -41,7 +41,7 @@ const jaJPGrid = {
41
41
  toolbarExportExcel: 'Excelダウンロード',
42
42
  // Columns panel text
43
43
  columnsPanelTextFieldLabel: '列検索',
44
- columnsPanelTextFieldPlaceholder: '検索クエリを入力...',
44
+ columnsPanelTextFieldPlaceholder: '検索クエリを入力…',
45
45
  columnsPanelDragIconLabel: '列並べ替え',
46
46
  columnsPanelShowAllButton: 'すべて表示',
47
47
  columnsPanelHideAllButton: 'すべて非表示',
@@ -55,7 +55,7 @@ const jaJPGrid = {
55
55
  filterPanelOperatorOr: 'Or',
56
56
  filterPanelColumns: '列',
57
57
  filterPanelInputLabel: '値',
58
- filterPanelInputPlaceholder: '値を入力...',
58
+ filterPanelInputPlaceholder: '値を入力…',
59
59
  // Filter operators text
60
60
  filterOperatorContains: '...を含む',
61
61
  filterOperatorEquals: '...に等しい',
@@ -30,7 +30,7 @@ const koKRGrid = {
30
30
  toolbarFiltersTooltipShow: '필터 표시',
31
31
  toolbarFiltersTooltipActive: count => `${count}건의 필터를 적용중`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const nbNOGrid = {
30
30
  toolbarFiltersTooltipShow: 'Vis filter',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Søk...',
33
+ toolbarQuickFilterPlaceholder: 'Søk',
34
34
  toolbarQuickFilterLabel: 'Søk',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Slett',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const nlNLGrid = {
30
30
  toolbarFiltersTooltipShow: 'Toon filters',
31
31
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} actieve filters` : `${count} filter actief`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Zoeken...',
33
+ toolbarQuickFilterPlaceholder: 'Zoeken',
34
34
  toolbarQuickFilterLabel: 'Zoeken',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Wissen',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const plPLGrid = {
30
30
  toolbarFiltersTooltipShow: 'Pokaż filtry',
31
31
  toolbarFiltersTooltipActive: count => `Liczba aktywnych filtrów: ${count}`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const ptBRGrid = {
30
30
  toolbarFiltersTooltipShow: 'Exibir filtros',
31
31
  toolbarFiltersTooltipActive: count => `${count} ${count !== 1 ? 'filtros' : 'filtro'} ${count !== 1 ? 'ativos' : 'ativo'}`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Procurar...',
33
+ toolbarQuickFilterPlaceholder: 'Procurar',
34
34
  toolbarQuickFilterLabel: 'Procurar',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Limpar',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const roROGrid = {
30
30
  toolbarFiltersTooltipShow: 'Afișează filtru',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} filtru activ` : `${count} filtru activ`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Căutare...',
33
+ toolbarQuickFilterPlaceholder: 'Căutare',
34
34
  toolbarQuickFilterLabel: 'Căutare',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Ștergere',
36
36
  // Export selector toolbar button text
@@ -41,7 +41,7 @@ const ruRUGrid = {
41
41
  return `${count} ${pluralForm}`;
42
42
  },
43
43
  // Quick filter toolbar field
44
- toolbarQuickFilterPlaceholder: 'Поиск...',
44
+ toolbarQuickFilterPlaceholder: 'Поиск…',
45
45
  toolbarQuickFilterLabel: 'Поиск',
46
46
  toolbarQuickFilterDeleteIconLabel: 'Очистить',
47
47
  // Export selector toolbar button text
@@ -40,7 +40,7 @@ const skSKGrid = {
40
40
  return `${count} ${pluralForm}`;
41
41
  },
42
42
  // Quick filter toolbar field
43
- toolbarQuickFilterPlaceholder: 'Vyhľadať...',
43
+ toolbarQuickFilterPlaceholder: 'Vyhľadať…',
44
44
  toolbarQuickFilterLabel: 'Vyhľadať',
45
45
  toolbarQuickFilterDeleteIconLabel: 'Vymazať',
46
46
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const svSEGrid = {
30
30
  toolbarFiltersTooltipShow: 'Visa filter',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktiva filter` : `${count} aktivt filter`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Sök...',
33
+ toolbarQuickFilterPlaceholder: 'Sök',
34
34
  toolbarQuickFilterLabel: 'Sök',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Rensa',
36
36
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const trTRGrid = {
30
30
  toolbarFiltersTooltipShow: 'Filtreleri göster',
31
31
  toolbarFiltersTooltipActive: count => `${count} aktif filtre`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: 'Ara...',
33
+ toolbarQuickFilterPlaceholder: 'Ara',
34
34
  toolbarQuickFilterLabel: 'Ara',
35
35
  toolbarQuickFilterDeleteIconLabel: 'Temizle',
36
36
  // Export selector toolbar button text
@@ -47,7 +47,7 @@ const ukUAGrid = {
47
47
  many: 'активних фільтрів'
48
48
  }),
49
49
  // Quick filter toolbar field
50
- // toolbarQuickFilterPlaceholder: 'Search...',
50
+ // toolbarQuickFilterPlaceholder: 'Search',
51
51
  // toolbarQuickFilterLabel: 'Search',
52
52
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
53
53
  // Export selector toolbar button text
@@ -30,7 +30,7 @@ const viVNGrid = {
30
30
  toolbarFiltersTooltipShow: 'Hiện',
31
31
  toolbarFiltersTooltipActive: count => count > 1 ? `${count} bộ lọc hoạt động` : `${count} bộ lọc hoạt động`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
33
+ // toolbarQuickFilterPlaceholder: 'Search',
34
34
  // toolbarQuickFilterLabel: 'Search',
35
35
  // toolbarQuickFilterDeleteIconLabel: 'Clear',
36
36
  // Export selector toolbar button text
@@ -30,15 +30,15 @@ const zhCNGrid = {
30
30
  toolbarFiltersTooltipShow: '显示筛选器',
31
31
  toolbarFiltersTooltipActive: count => `${count} 个筛选器`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search...',
34
- // toolbarQuickFilterLabel: 'Search',
35
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
33
+ toolbarQuickFilterPlaceholder: '搜索…',
34
+ toolbarQuickFilterLabel: '搜索',
35
+ toolbarQuickFilterDeleteIconLabel: '清除',
36
36
  // Export selector toolbar button text
37
37
  toolbarExport: '导出',
38
38
  toolbarExportLabel: '导出',
39
39
  toolbarExportCSV: '导出至CSV',
40
- // toolbarExportPrint: 'Print',
41
- // toolbarExportExcel: 'Download as Excel',
40
+ toolbarExportPrint: '打印',
41
+ toolbarExportExcel: '导出至Excel',
42
42
  // Columns panel text
43
43
  columnsPanelTextFieldLabel: '搜索列',
44
44
  columnsPanelTextFieldPlaceholder: '列名',
@@ -48,7 +48,7 @@ const zhCNGrid = {
48
48
  // Filter panel text
49
49
  filterPanelAddFilter: '添加筛选器',
50
50
  filterPanelDeleteIconLabel: '删除',
51
- // filterPanelLinkOperator: 'Logic operator',
51
+ filterPanelLinkOperator: '逻辑操作器',
52
52
  filterPanelOperators: '操作器',
53
53
  // TODO v6: rename to filterPanelOperator
54
54
  filterPanelOperatorAnd: '与',
@@ -69,7 +69,7 @@ const zhCNGrid = {
69
69
  filterOperatorOnOrBefore: '正在前面',
70
70
  filterOperatorIsEmpty: '为空',
71
71
  filterOperatorIsNotEmpty: '不为空',
72
- // filterOperatorIsAnyOf: 'is any of',
72
+ filterOperatorIsAnyOf: '属于',
73
73
  // Filter values text
74
74
  filterValueAny: '任何',
75
75
  filterValueTrue: '真',
@@ -94,40 +94,40 @@ const zhCNGrid = {
94
94
  footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
95
95
  // Checkbox selection text
96
96
  checkboxSelectionHeaderName: '多选框',
97
- // checkboxSelectionSelectAllRows: 'Select all rows',
98
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
99
- // checkboxSelectionSelectRow: 'Select row',
100
- // checkboxSelectionUnselectRow: 'Unselect row',
97
+ checkboxSelectionSelectAllRows: '全选行',
98
+ checkboxSelectionUnselectAllRows: '反选所有行',
99
+ checkboxSelectionSelectRow: '选择行',
100
+ checkboxSelectionUnselectRow: '反选行',
101
101
  // Boolean cell text
102
102
  booleanCellTrueLabel: '真',
103
- booleanCellFalseLabel: '假' // Actions cell more text
104
- // actionsCellMore: 'more',
103
+ booleanCellFalseLabel: '假',
104
+ // Actions cell more text
105
+ actionsCellMore: '更多',
105
106
  // Column pinning text
106
- // pinToLeft: 'Pin to left',
107
- // pinToRight: 'Pin to right',
108
- // unpin: 'Unpin',
107
+ pinToLeft: '固定到左侧',
108
+ pinToRight: '固定到右侧',
109
+ unpin: '取消固定',
109
110
  // Tree Data
110
- // treeDataGroupingHeaderName: 'Group',
111
- // treeDataExpand: 'see children',
112
- // treeDataCollapse: 'hide children',
111
+ treeDataGroupingHeaderName: '',
112
+ treeDataExpand: '查看子项目',
113
+ treeDataCollapse: '隐藏子项目',
113
114
  // Grouping columns
114
- // groupingColumnHeaderName: 'Group',
115
- // groupColumn: name => `Group by ${name}`,
116
- // unGroupColumn: name => `Stop grouping by ${name}`,
115
+ groupingColumnHeaderName: '',
116
+ groupColumn: name => `用${name}分组`,
117
+ unGroupColumn: name => `不再用${name}分组`,
117
118
  // Master/detail
118
- // detailPanelToggle: 'Detail panel toggle',
119
- // expandDetailPanel: 'Expand',
120
- // collapseDetailPanel: 'Collapse',
119
+ detailPanelToggle: '详细信息',
120
+ expandDetailPanel: '显示',
121
+ collapseDetailPanel: '折叠',
121
122
  // Row reordering text
122
- // rowReorderingHeaderName: 'Row reordering',
123
+ rowReorderingHeaderName: '重新排列行',
123
124
  // Aggregation
124
- // aggregationMenuItemHeader: 'Aggregation',
125
- // aggregationFunctionLabelSum: 'sum',
126
- // aggregationFunctionLabelAvg: 'avg',
127
- // aggregationFunctionLabelMin: 'min',
128
- // aggregationFunctionLabelMax: 'max',
129
- // aggregationFunctionLabelSize: 'size',
130
-
125
+ aggregationMenuItemHeader: '集合',
126
+ aggregationFunctionLabelSum: '总数',
127
+ aggregationFunctionLabelAvg: '平均',
128
+ aggregationFunctionLabelMin: '最小',
129
+ aggregationFunctionLabelMax: '最大',
130
+ aggregationFunctionLabelSize: '大小'
131
131
  };
132
132
  const zhCN = (0, _getGridLocalization.getGridLocalization)(zhCNGrid, _locale.zhCN);
133
133
  exports.zhCN = zhCN;
@@ -30,7 +30,7 @@ const zhTWGrid = {
30
30
  toolbarFiltersTooltipShow: '顯示篩選器',
31
31
  toolbarFiltersTooltipActive: count => `${count} 個篩選器`,
32
32
  // Quick filter toolbar field
33
- toolbarQuickFilterPlaceholder: '搜尋...',
33
+ toolbarQuickFilterPlaceholder: '搜尋…',
34
34
  toolbarQuickFilterLabel: '搜尋',
35
35
  toolbarQuickFilterDeleteIconLabel: '清除',
36
36
  // Export selector toolbar button text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "5.14.0",
3
+ "version": "5.15.0",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",