@mui/x-data-grid 7.3.1 → 7.3.2

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 (130) hide show
  1. package/CHANGELOG.md +76 -5
  2. package/DataGrid/DataGrid.js +1 -1
  3. package/components/cell/GridCell.js +5 -4
  4. package/components/columnsManagement/GridColumnsManagement.js +1 -1
  5. package/constants/localeTextConstants.js +1 -0
  6. package/hooks/features/export/useGridPrintExport.js +22 -5
  7. package/hooks/features/filter/gridFilterSelector.d.ts +3 -12
  8. package/hooks/features/pagination/gridPaginationSelector.d.ts +1 -4
  9. package/hooks/features/rows/useGridRows.js +9 -1
  10. package/hooks/features/sorting/gridSortingSelector.d.ts +4 -6
  11. package/hooks/features/sorting/gridSortingSelector.js +21 -8
  12. package/index.js +1 -1
  13. package/locales/arSD.js +1 -0
  14. package/locales/beBY.js +1 -0
  15. package/locales/bgBG.js +1 -0
  16. package/locales/csCZ.js +1 -0
  17. package/locales/daDK.js +3 -1
  18. package/locales/deDE.js +2 -0
  19. package/locales/elGR.js +1 -0
  20. package/locales/esES.js +2 -0
  21. package/locales/faIR.js +2 -0
  22. package/locales/fiFI.js +1 -0
  23. package/locales/frFR.js +2 -0
  24. package/locales/heIL.js +1 -0
  25. package/locales/hrHR.js +1 -0
  26. package/locales/huHU.js +1 -0
  27. package/locales/itIT.js +1 -0
  28. package/locales/jaJP.js +2 -0
  29. package/locales/koKR.js +1 -0
  30. package/locales/nbNO.js +1 -0
  31. package/locales/nlNL.js +1 -0
  32. package/locales/plPL.js +1 -0
  33. package/locales/ptBR.js +2 -0
  34. package/locales/ptPT.js +1 -0
  35. package/locales/roRO.js +1 -0
  36. package/locales/ruRU.js +1 -0
  37. package/locales/skSK.js +4 -3
  38. package/locales/svSE.js +2 -0
  39. package/locales/trTR.js +1 -0
  40. package/locales/ukUA.js +1 -0
  41. package/locales/urPK.js +1 -0
  42. package/locales/viVN.js +1 -0
  43. package/locales/zhCN.js +1 -0
  44. package/locales/zhHK.js +1 -0
  45. package/locales/zhTW.js +1 -0
  46. package/models/api/gridLocaleTextApi.d.ts +1 -0
  47. package/models/props/DataGridProps.d.ts +1 -1
  48. package/modern/DataGrid/DataGrid.js +1 -1
  49. package/modern/components/cell/GridCell.js +5 -4
  50. package/modern/components/columnsManagement/GridColumnsManagement.js +1 -1
  51. package/modern/constants/localeTextConstants.js +1 -0
  52. package/modern/hooks/features/export/useGridPrintExport.js +22 -5
  53. package/modern/hooks/features/rows/useGridRows.js +9 -1
  54. package/modern/hooks/features/sorting/gridSortingSelector.js +21 -8
  55. package/modern/index.js +1 -1
  56. package/modern/locales/arSD.js +1 -0
  57. package/modern/locales/beBY.js +1 -0
  58. package/modern/locales/bgBG.js +1 -0
  59. package/modern/locales/csCZ.js +1 -0
  60. package/modern/locales/daDK.js +3 -1
  61. package/modern/locales/deDE.js +2 -0
  62. package/modern/locales/elGR.js +1 -0
  63. package/modern/locales/esES.js +2 -0
  64. package/modern/locales/faIR.js +2 -0
  65. package/modern/locales/fiFI.js +1 -0
  66. package/modern/locales/frFR.js +2 -0
  67. package/modern/locales/heIL.js +1 -0
  68. package/modern/locales/hrHR.js +1 -0
  69. package/modern/locales/huHU.js +1 -0
  70. package/modern/locales/itIT.js +1 -0
  71. package/modern/locales/jaJP.js +2 -0
  72. package/modern/locales/koKR.js +1 -0
  73. package/modern/locales/nbNO.js +1 -0
  74. package/modern/locales/nlNL.js +1 -0
  75. package/modern/locales/plPL.js +1 -0
  76. package/modern/locales/ptBR.js +2 -0
  77. package/modern/locales/ptPT.js +1 -0
  78. package/modern/locales/roRO.js +1 -0
  79. package/modern/locales/ruRU.js +1 -0
  80. package/modern/locales/skSK.js +4 -3
  81. package/modern/locales/svSE.js +2 -0
  82. package/modern/locales/trTR.js +1 -0
  83. package/modern/locales/ukUA.js +1 -0
  84. package/modern/locales/urPK.js +1 -0
  85. package/modern/locales/viVN.js +1 -0
  86. package/modern/locales/zhCN.js +1 -0
  87. package/modern/locales/zhHK.js +1 -0
  88. package/modern/locales/zhTW.js +1 -0
  89. package/node/DataGrid/DataGrid.js +1 -1
  90. package/node/components/cell/GridCell.js +5 -4
  91. package/node/components/columnsManagement/GridColumnsManagement.js +1 -1
  92. package/node/constants/localeTextConstants.js +1 -0
  93. package/node/hooks/features/export/useGridPrintExport.js +22 -5
  94. package/node/hooks/features/rows/useGridRows.js +9 -1
  95. package/node/hooks/features/sorting/gridSortingSelector.js +20 -6
  96. package/node/index.js +1 -1
  97. package/node/locales/arSD.js +1 -0
  98. package/node/locales/beBY.js +1 -0
  99. package/node/locales/bgBG.js +1 -0
  100. package/node/locales/csCZ.js +1 -0
  101. package/node/locales/daDK.js +3 -1
  102. package/node/locales/deDE.js +2 -0
  103. package/node/locales/elGR.js +1 -0
  104. package/node/locales/esES.js +2 -0
  105. package/node/locales/faIR.js +2 -0
  106. package/node/locales/fiFI.js +1 -0
  107. package/node/locales/frFR.js +2 -0
  108. package/node/locales/heIL.js +1 -0
  109. package/node/locales/hrHR.js +1 -0
  110. package/node/locales/huHU.js +1 -0
  111. package/node/locales/itIT.js +1 -0
  112. package/node/locales/jaJP.js +2 -0
  113. package/node/locales/koKR.js +1 -0
  114. package/node/locales/nbNO.js +1 -0
  115. package/node/locales/nlNL.js +1 -0
  116. package/node/locales/plPL.js +1 -0
  117. package/node/locales/ptBR.js +2 -0
  118. package/node/locales/ptPT.js +1 -0
  119. package/node/locales/roRO.js +1 -0
  120. package/node/locales/ruRU.js +1 -0
  121. package/node/locales/skSK.js +4 -3
  122. package/node/locales/svSE.js +2 -0
  123. package/node/locales/trTR.js +1 -0
  124. package/node/locales/ukUA.js +1 -0
  125. package/node/locales/urPK.js +1 -0
  126. package/node/locales/viVN.js +1 -0
  127. package/node/locales/zhCN.js +1 -0
  128. package/node/locales/zhHK.js +1 -0
  129. package/node/locales/zhTW.js +1 -0
  130. package/package.json +1 -1
@@ -33,6 +33,7 @@ const zhHKGrid = {
33
33
  // columnsManagementSearchTitle: 'Search',
34
34
  // columnsManagementNoColumns: 'No columns',
35
35
  // columnsManagementShowHideAllText: 'Show/Hide All',
36
+ // columnsManagementReset: 'Reset',
36
37
 
37
38
  // Filter panel text
38
39
  filterPanelAddFilter: '新增過濾器',
@@ -33,6 +33,7 @@ const zhTWGrid = {
33
33
  // columnsManagementSearchTitle: 'Search',
34
34
  // columnsManagementNoColumns: 'No columns',
35
35
  // columnsManagementShowHideAllText: 'Show/Hide All',
36
+ // columnsManagementReset: 'Reset',
36
37
 
37
38
  // Filter panel text
38
39
  filterPanelAddFilter: '增加篩選器',
@@ -335,7 +335,7 @@ DataGridRaw.propTypes = {
335
335
  */
336
336
  keepNonExistentRowsSelected: _propTypes.default.bool,
337
337
  /**
338
- * If `true`, a loading overlay is displayed.
338
+ * If `true`, a loading overlay is displayed.
339
339
  */
340
340
  loading: _propTypes.default.bool,
341
341
  /**
@@ -140,8 +140,7 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
140
140
  cellMode,
141
141
  hasFocus,
142
142
  isEditable = false,
143
- value,
144
- formattedValue
143
+ value
145
144
  } = cellParamsWithAPI;
146
145
  const canManageOwnFocus = column.type === 'actions' && column.getActions?.(apiRef.current.getRowParams(rowId)).some(action => !action.props.disabled);
147
146
  const tabIndex = (cellMode === 'view' || !isEditable) && !canManageOwnFocus ? cellParamsWithAPI.tabIndex : -1;
@@ -165,7 +164,7 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
165
164
  if (getCellClassName) {
166
165
  classNames.push(getCellClassName(cellParamsWithAPI));
167
166
  }
168
- const valueToRender = formattedValue == null ? value : formattedValue;
167
+ const valueToRender = cellParamsWithAPI.formattedValue ?? value;
169
168
  const cellRef = React.useRef(null);
170
169
  const handleRef = (0, _utils.unstable_useForkRef)(ref, cellRef);
171
170
  const focusElementRef = React.useRef(null);
@@ -277,8 +276,10 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
277
276
 
278
277
  // eslint-disable-next-line @typescript-eslint/naming-convention
279
278
  const editCellStateRest = (0, _objectWithoutPropertiesLoose2.default)(editCellState, _excluded2);
279
+ const formattedValue = column.valueFormatter ? column.valueFormatter(editCellState.value, updatedRow, column, apiRef) : cellParamsWithAPI.formattedValue;
280
280
  const params = (0, _extends2.default)({}, cellParamsWithAPI, {
281
- row: updatedRow
281
+ row: updatedRow,
282
+ formattedValue
282
283
  }, editCellStateRest);
283
284
  children = column.renderEditCell(params);
284
285
  classNames.push(_gridClasses.gridClasses['cell--editing']);
@@ -180,7 +180,7 @@ function GridColumnsManagement(props) {
180
180
  onClick: () => apiRef.current.setColumnVisibilityModel(initialColumnVisibilityModel),
181
181
  disabled: isResetDisabled
182
182
  }, rootProps.slotProps?.baseButton, {
183
- children: "Reset"
183
+ children: apiRef.current.getLocaleText('columnsManagementReset')
184
184
  })) : null]
185
185
  }) : null]
186
186
  });
@@ -37,6 +37,7 @@ const GRID_DEFAULT_LOCALE_TEXT = exports.GRID_DEFAULT_LOCALE_TEXT = {
37
37
  columnsManagementSearchTitle: 'Search',
38
38
  columnsManagementNoColumns: 'No columns',
39
39
  columnsManagementShowHideAllText: 'Show/Hide All',
40
+ columnsManagementReset: 'Reset',
40
41
  // Filter panel text
41
42
  filterPanelAddFilter: 'Add filter',
42
43
  filterPanelRemoveAll: 'Remove all',
@@ -14,6 +14,7 @@ var _gridColumnsSelector = require("../columns/gridColumnsSelector");
14
14
  var _gridClasses = require("../../../constants/gridClasses");
15
15
  var _useGridApiMethod = require("../../utils/useGridApiMethod");
16
16
  var _gridRowsMetaSelector = require("../rows/gridRowsMetaSelector");
17
+ var _gridRowsUtils = require("../rows/gridRowsUtils");
17
18
  var _utils2 = require("./utils");
18
19
  var _useGridPaginationModel = require("../pagination/useGridPaginationModel");
19
20
  var _pipeProcessing = require("../../core/pipeProcessing");
@@ -51,6 +52,7 @@ const useGridPrintExport = (apiRef, props) => {
51
52
  const previousGridState = React.useRef(null);
52
53
  const previousColumnVisibility = React.useRef({});
53
54
  const previousRows = React.useRef([]);
55
+ const previousVirtualizationState = React.useRef();
54
56
  React.useEffect(() => {
55
57
  doc.current = (0, _utils.unstable_ownerDocument)(apiRef.current.rootElementRef.current);
56
58
  }, [apiRef]);
@@ -80,7 +82,13 @@ const useGridPrintExport = (apiRef, props) => {
80
82
  const rowsToExportIds = getRowsToExport({
81
83
  apiRef
82
84
  });
83
- const newRows = rowsToExportIds.map(id => apiRef.current.getRow(id));
85
+ const newRows = rowsToExportIds.reduce((acc, id) => {
86
+ const row = apiRef.current.getRow(id);
87
+ if (!row[_gridRowsUtils.GRID_ID_AUTOGENERATED]) {
88
+ acc.push(row);
89
+ }
90
+ return acc;
91
+ }, []);
84
92
  apiRef.current.setRows(newRows);
85
93
  }, [apiRef]);
86
94
  const handlePrintWindowLoad = React.useCallback((printWindow, options) => {
@@ -133,6 +141,8 @@ const useGridPrintExport = (apiRef, props) => {
133
141
  // prevents us to do it
134
142
  const container = document.createElement('div');
135
143
  container.appendChild(gridClone);
144
+ // To avoid an empty page in start on Chromium based browsers
145
+ printDoc.body.style.marginTop = '0px';
136
146
  printDoc.body.innerHTML = container.innerHTML;
137
147
  const defaultPageStyle = typeof normalizeOptions.pageStyle === 'function' ? normalizeOptions.pageStyle() : normalizeOptions.pageStyle;
138
148
  if (typeof defaultPageStyle === 'string') {
@@ -201,7 +211,9 @@ const useGridPrintExport = (apiRef, props) => {
201
211
  // if the apiRef.current.exportState(); did not exported the column visibility, we update it
202
212
  apiRef.current.setColumnVisibilityModel(previousColumnVisibility.current);
203
213
  }
204
- apiRef.current.unstable_setVirtualization(true);
214
+ apiRef.current.setState(state => (0, _extends2.default)({}, state, {
215
+ virtualization: previousVirtualizationState.current
216
+ }));
205
217
  apiRef.current.setRows(previousRows.current);
206
218
 
207
219
  // Clear local state
@@ -217,7 +229,7 @@ const useGridPrintExport = (apiRef, props) => {
217
229
  previousGridState.current = apiRef.current.exportState();
218
230
  // It appends that the visibility model is not exported, especially if columnVisibility is not controlled
219
231
  previousColumnVisibility.current = (0, _gridColumnsSelector.gridColumnVisibilityModelSelector)(apiRef);
220
- previousRows.current = apiRef.current.getSortedRows();
232
+ previousRows.current = apiRef.current.getSortedRows().filter(row => !row[_gridRowsUtils.GRID_ID_AUTOGENERATED]);
221
233
  if (props.pagination) {
222
234
  const visibleRowCount = (0, _gridFilterSelector.gridExpandedRowCountSelector)(apiRef);
223
235
  const paginationModel = {
@@ -231,11 +243,16 @@ const useGridPrintExport = (apiRef, props) => {
231
243
  'DataGridPro', paginationModel)
232
244
  })
233
245
  }));
234
- apiRef.current.forceUpdate();
235
246
  }
247
+ previousVirtualizationState.current = apiRef.current.state.virtualization;
248
+ apiRef.current.setState(state => (0, _extends2.default)({}, state, {
249
+ virtualization: (0, _extends2.default)({}, state.virtualization, {
250
+ enabled: false,
251
+ enabledForColumns: false
252
+ })
253
+ }));
236
254
  await updateGridColumnsForPrint(options?.fields, options?.allColumns, options?.includeCheckboxes);
237
255
  updateGridRowsForPrint(options?.getRowsToExport ?? _utils2.defaultGetRowsToExport);
238
- apiRef.current.unstable_setVirtualization(false);
239
256
  await raf(); // wait for the state changes to take action
240
257
  const printWindow = buildPrintWindow(options?.fileName);
241
258
  if (process.env.NODE_ENV === 'test') {
@@ -49,6 +49,7 @@ const useGridRows = (apiRef, props) => {
49
49
  const logger = (0, _useGridLogger.useGridLogger)(apiRef, 'useGridRows');
50
50
  const currentPage = (0, _useGridVisibleRows.useGridVisibleRows)(apiRef, props);
51
51
  const lastUpdateMs = React.useRef(Date.now());
52
+ const lastRowCount = React.useRef(props.rowCount);
52
53
  const timeout = (0, _useTimeout.useTimeout)();
53
54
  const getRow = React.useCallback(id => {
54
55
  const model = (0, _gridRowsSelector.gridRowsLookupSelector)(apiRef)[id];
@@ -410,6 +411,11 @@ const useGridRows = (apiRef, props) => {
410
411
  isFirstRender.current = false;
411
412
  return;
412
413
  }
414
+ let isRowCountPropUpdated = false;
415
+ if (props.rowCount !== lastRowCount.current) {
416
+ isRowCountPropUpdated = true;
417
+ lastRowCount.current = props.rowCount;
418
+ }
413
419
  const areNewRowsAlreadyInState = apiRef.current.caches.rows.rowsBeforePartialUpdates === props.rows;
414
420
  const isNewLoadingAlreadyInState = apiRef.current.caches.rows.loadingPropBeforePartialUpdates === props.loading;
415
421
  const isNewRowCountAlreadyInState = apiRef.current.caches.rows.rowCountPropBeforePartialUpdates === props.rowCount;
@@ -436,7 +442,9 @@ const useGridRows = (apiRef, props) => {
436
442
  apiRef.current.caches.rows.rowCountPropBeforePartialUpdates = props.rowCount;
437
443
  apiRef.current.forceUpdate();
438
444
  }
439
- return;
445
+ if (!isRowCountPropUpdated) {
446
+ return;
447
+ }
440
448
  }
441
449
  logger.debug(`Updating all rows, new length ${props.rows.length}`);
442
450
  throttledRowsChange({
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.gridSortedRowIdsSelector = exports.gridSortedRowEntriesSelector = exports.gridSortModelSelector = exports.gridSortColumnLookupSelector = void 0;
7
7
  var _createSelector = require("../../../utils/createSelector");
8
8
  var _gridRowsSelector = require("../rows/gridRowsSelector");
9
+ var _gridRowsUtils = require("../rows/gridRowsUtils");
9
10
  /**
10
11
  * @category Sorting
11
12
  * @ignore - do not document.
@@ -22,12 +23,25 @@ const gridSortedRowIdsSelector = exports.gridSortedRowIdsSelector = (0, _createS
22
23
  * Get the id and the model of the rows after the sorting process.
23
24
  * @category Sorting
24
25
  */
25
- const gridSortedRowEntriesSelector = exports.gridSortedRowEntriesSelector = (0, _createSelector.createSelectorMemoized)(gridSortedRowIdsSelector, _gridRowsSelector.gridRowsLookupSelector,
26
- // TODO rows v6: Is this the best approach ?
27
- (sortedIds, idRowsLookup) => sortedIds.map(id => ({
28
- id,
29
- model: idRowsLookup[id] ?? {}
30
- })));
26
+ const gridSortedRowEntriesSelector = exports.gridSortedRowEntriesSelector = (0, _createSelector.createSelectorMemoized)(gridSortedRowIdsSelector, _gridRowsSelector.gridRowsLookupSelector, _gridRowsSelector.gridRowTreeSelector, (sortedIds, idRowsLookup, rowTree) => sortedIds.reduce((acc, id) => {
27
+ const model = idRowsLookup[id];
28
+ if (model) {
29
+ acc.push({
30
+ id,
31
+ model
32
+ });
33
+ }
34
+ const rowNode = rowTree[id];
35
+ if (rowNode && (0, _gridRowsUtils.isAutoGeneratedRow)(rowNode)) {
36
+ acc.push({
37
+ id,
38
+ model: {
39
+ [_gridRowsUtils.GRID_ID_AUTOGENERATED]: id
40
+ }
41
+ });
42
+ }
43
+ return acc;
44
+ }, []));
31
45
 
32
46
  /**
33
47
  * Get the current sorting model.
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v7.3.1
2
+ * @mui/x-data-grid v7.3.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -39,6 +39,7 @@ const arSDGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'إضافة مرشِح',
@@ -53,6 +53,7 @@ const beBYGrid = {
53
53
  // columnsManagementSearchTitle: 'Search',
54
54
  // columnsManagementNoColumns: 'No columns',
55
55
  // columnsManagementShowHideAllText: 'Show/Hide All',
56
+ // columnsManagementReset: 'Reset',
56
57
 
57
58
  // Filter panel text
58
59
  filterPanelAddFilter: 'Дадаць фільтр',
@@ -39,6 +39,7 @@ const bgBGGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Добави Филтър',
@@ -47,6 +47,7 @@ const csCZGrid = {
47
47
  // columnsManagementSearchTitle: 'Search',
48
48
  // columnsManagementNoColumns: 'No columns',
49
49
  // columnsManagementShowHideAllText: 'Show/Hide All',
50
+ // columnsManagementReset: 'Reset',
50
51
 
51
52
  // Filter panel text
52
53
  filterPanelAddFilter: 'Přidat filtr',
@@ -38,7 +38,9 @@ const daDKGrid = {
38
38
  // Columns management text
39
39
  columnsManagementSearchTitle: 'Søg',
40
40
  columnsManagementNoColumns: 'Ingen søjler',
41
- columnsManagementShowHideAllText: 'Vis/Shjul Alle',
41
+ columnsManagementShowHideAllText: 'Vis/Skjul Alle',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Tilføj filter',
44
46
  filterPanelRemoveAll: 'Fjern alle',
@@ -39,6 +39,8 @@ const deDEGrid = {
39
39
  columnsManagementSearchTitle: 'Suche',
40
40
  columnsManagementNoColumns: 'Keine Spalten',
41
41
  columnsManagementShowHideAllText: 'Alle anzeigen/verbergen',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Filter hinzufügen',
44
46
  filterPanelRemoveAll: 'Alle entfernen',
@@ -39,6 +39,7 @@ const elGRGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Προσθήκη φίλτρου',
@@ -39,6 +39,8 @@ const esESGrid = {
39
39
  columnsManagementSearchTitle: 'Buscar',
40
40
  columnsManagementNoColumns: 'Sin columnas',
41
41
  columnsManagementShowHideAllText: 'Mostrar/Ocultar todas',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Agregar filtro',
44
46
  filterPanelRemoveAll: 'Remover todos',
@@ -39,6 +39,8 @@ const faIRGrid = {
39
39
  columnsManagementSearchTitle: 'جستجو',
40
40
  columnsManagementNoColumns: 'بدون سطر',
41
41
  columnsManagementShowHideAllText: 'نمایش/مخفی کردن همه',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'افزودن فیلتر',
44
46
  filterPanelRemoveAll: 'حذف همه',
@@ -39,6 +39,7 @@ const fiFIGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Lisää suodatin',
@@ -39,6 +39,8 @@ const frFRGrid = {
39
39
  columnsManagementSearchTitle: 'Rechercher',
40
40
  columnsManagementNoColumns: 'Pas de colonnes',
41
41
  columnsManagementShowHideAllText: 'Afficher/masquer toutes',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Ajouter un filtre',
44
46
  filterPanelRemoveAll: 'Tout supprimer',
@@ -39,6 +39,7 @@ const heILGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'הוסף מסנן',
@@ -39,6 +39,7 @@ const hrHRGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Dodajte filter',
@@ -39,6 +39,7 @@ const huHUGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Szűrő hozzáadása',
@@ -39,6 +39,7 @@ const itITGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Aggiungi un filtro',
@@ -39,6 +39,8 @@ const jaJPGrid = {
39
39
  columnsManagementSearchTitle: '検索',
40
40
  columnsManagementNoColumns: 'カラムなし',
41
41
  columnsManagementShowHideAllText: 'すべて表示/非表示',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'フィルター追加',
44
46
  filterPanelRemoveAll: 'すべて削除',
@@ -39,6 +39,7 @@ const koKRGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: '필터 추가',
@@ -39,6 +39,7 @@ const nbNOGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Legg til filter',
@@ -39,6 +39,7 @@ const nlNLGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Filter toevoegen',
@@ -39,6 +39,7 @@ const plPLGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Dodaj filtr',
@@ -39,6 +39,8 @@ const ptBRGrid = {
39
39
  columnsManagementSearchTitle: 'Buscar',
40
40
  columnsManagementNoColumns: 'Nenhuma coluna',
41
41
  columnsManagementShowHideAllText: 'Mostrar/Ocultar Todas',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Adicionar filtro',
44
46
  filterPanelRemoveAll: 'Remover todos',
@@ -39,6 +39,7 @@ const ptPTGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Adicionar filtro',
@@ -39,6 +39,7 @@ const roROGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Adăugare filtru',
@@ -48,6 +48,7 @@ const ruRUGrid = {
48
48
  // columnsManagementSearchTitle: 'Search',
49
49
  // columnsManagementNoColumns: 'No columns',
50
50
  // columnsManagementShowHideAllText: 'Show/Hide All',
51
+ // columnsManagementReset: 'Reset',
51
52
 
52
53
  // Filter panel text
53
54
  filterPanelAddFilter: 'Добавить фильтр',
@@ -44,9 +44,10 @@ const skSKGrid = {
44
44
  toolbarExportPrint: 'Vytlačiť',
45
45
  toolbarExportExcel: 'Stiahnuť ako Excel',
46
46
  // Columns management text
47
- // columnsManagementSearchTitle: 'Search',
48
- // columnsManagementNoColumns: 'No columns',
49
- // columnsManagementShowHideAllText: 'Show/Hide All',
47
+ columnsManagementSearchTitle: 'Vyhľadať',
48
+ columnsManagementNoColumns: 'Žiadne stĺpce',
49
+ columnsManagementShowHideAllText: 'Zobraziť/Skryť všetko',
50
+ // columnsManagementReset: 'Reset',
50
51
 
51
52
  // Filter panel text
52
53
  filterPanelAddFilter: 'Pridať filter',
@@ -39,6 +39,8 @@ const svSEGrid = {
39
39
  columnsManagementSearchTitle: 'Sök',
40
40
  columnsManagementNoColumns: 'Inga kolumner',
41
41
  columnsManagementShowHideAllText: 'Visa/Dölj alla',
42
+ // columnsManagementReset: 'Reset',
43
+
42
44
  // Filter panel text
43
45
  filterPanelAddFilter: 'Lägg till filter',
44
46
  filterPanelRemoveAll: 'Ta bort alla',
@@ -39,6 +39,7 @@ const trTRGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Filtre Ekle',
@@ -53,6 +53,7 @@ const ukUAGrid = {
53
53
  // columnsManagementSearchTitle: 'Search',
54
54
  // columnsManagementNoColumns: 'No columns',
55
55
  // columnsManagementShowHideAllText: 'Show/Hide All',
56
+ // columnsManagementReset: 'Reset',
56
57
 
57
58
  // Filter panel text
58
59
  filterPanelAddFilter: 'Додати фільтр',
@@ -39,6 +39,7 @@ const urPKGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'نیا فلٹر',
@@ -39,6 +39,7 @@ const viVNGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: 'Thêm bộ lọc',
@@ -39,6 +39,7 @@ const zhCNGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: '添加筛选器',
@@ -39,6 +39,7 @@ const zhHKGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: '新增過濾器',
@@ -39,6 +39,7 @@ const zhTWGrid = {
39
39
  // columnsManagementSearchTitle: 'Search',
40
40
  // columnsManagementNoColumns: 'No columns',
41
41
  // columnsManagementShowHideAllText: 'Show/Hide All',
42
+ // columnsManagementReset: 'Reset',
42
43
 
43
44
  // Filter panel text
44
45
  filterPanelAddFilter: '增加篩選器',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "7.3.1",
3
+ "version": "7.3.2",
4
4
  "description": "The Community plan edition of the Data Grid components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",