@mui/x-data-grid 8.14.0 → 8.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 (120) hide show
  1. package/CHANGELOG.md +202 -0
  2. package/components/GridScrollShadows.js +23 -3
  3. package/components/cell/GridCell.js +1 -0
  4. package/constants/gridClasses.d.ts +12 -0
  5. package/constants/gridClasses.js +1 -1
  6. package/constants/localeTextConstants.js +2 -1
  7. package/esm/components/GridScrollShadows.js +22 -3
  8. package/esm/components/cell/GridCell.js +1 -0
  9. package/esm/constants/gridClasses.d.ts +12 -0
  10. package/esm/constants/gridClasses.js +1 -1
  11. package/esm/constants/localeTextConstants.js +2 -1
  12. package/esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +6 -4
  13. package/esm/hooks/core/useGridProps.d.ts +3 -5
  14. package/esm/hooks/core/useGridProps.js +5 -3
  15. package/esm/hooks/core/useGridVirtualizer.js +11 -9
  16. package/esm/hooks/features/dataSource/models.d.ts +28 -28
  17. package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
  18. package/esm/hooks/features/dataSource/useGridDataSourceBase.js +28 -15
  19. package/esm/hooks/features/dataSource/utils.d.ts +2 -1
  20. package/esm/hooks/features/dataSource/utils.js +2 -1
  21. package/esm/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  22. package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
  23. package/esm/index.js +1 -1
  24. package/esm/internals/index.d.ts +2 -2
  25. package/esm/locales/arSD.js +1 -0
  26. package/esm/locales/beBY.js +1 -0
  27. package/esm/locales/bgBG.js +1 -0
  28. package/esm/locales/bnBD.js +1 -0
  29. package/esm/locales/csCZ.js +1 -0
  30. package/esm/locales/daDK.js +1 -0
  31. package/esm/locales/deDE.js +1 -0
  32. package/esm/locales/elGR.js +1 -0
  33. package/esm/locales/esES.js +1 -0
  34. package/esm/locales/faIR.js +1 -0
  35. package/esm/locales/fiFI.js +1 -0
  36. package/esm/locales/frFR.js +1 -0
  37. package/esm/locales/heIL.js +1 -0
  38. package/esm/locales/hrHR.js +1 -0
  39. package/esm/locales/huHU.js +1 -0
  40. package/esm/locales/hyAM.js +1 -0
  41. package/esm/locales/idID.js +1 -0
  42. package/esm/locales/isIS.js +1 -0
  43. package/esm/locales/itIT.js +104 -115
  44. package/esm/locales/jaJP.js +1 -0
  45. package/esm/locales/koKR.js +1 -0
  46. package/esm/locales/nbNO.js +1 -0
  47. package/esm/locales/nlNL.js +1 -0
  48. package/esm/locales/nnNO.js +1 -0
  49. package/esm/locales/plPL.js +1 -0
  50. package/esm/locales/ptBR.js +1 -0
  51. package/esm/locales/ptPT.js +1 -0
  52. package/esm/locales/roRO.js +1 -0
  53. package/esm/locales/ruRU.js +1 -0
  54. package/esm/locales/skSK.js +1 -0
  55. package/esm/locales/svSE.js +1 -0
  56. package/esm/locales/trTR.js +1 -0
  57. package/esm/locales/ukUA.js +1 -0
  58. package/esm/locales/urPK.js +1 -0
  59. package/esm/locales/viVN.js +1 -0
  60. package/esm/locales/zhCN.js +1 -0
  61. package/esm/locales/zhHK.js +1 -0
  62. package/esm/locales/zhTW.js +1 -0
  63. package/esm/models/api/gridLocaleTextApi.d.ts +1 -0
  64. package/esm/models/gridDataSource.d.ts +13 -0
  65. package/esm/models/gridStateCommunity.d.ts +2 -3
  66. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +6 -4
  67. package/hooks/core/useGridProps.d.ts +3 -5
  68. package/hooks/core/useGridProps.js +5 -3
  69. package/hooks/core/useGridVirtualizer.js +11 -9
  70. package/hooks/features/dataSource/models.d.ts +28 -28
  71. package/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
  72. package/hooks/features/dataSource/useGridDataSourceBase.js +28 -15
  73. package/hooks/features/dataSource/utils.d.ts +2 -1
  74. package/hooks/features/dataSource/utils.js +2 -1
  75. package/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  76. package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
  77. package/index.js +1 -1
  78. package/internals/index.d.ts +2 -2
  79. package/locales/arSD.js +1 -0
  80. package/locales/beBY.js +1 -0
  81. package/locales/bgBG.js +1 -0
  82. package/locales/bnBD.js +1 -0
  83. package/locales/csCZ.js +1 -0
  84. package/locales/daDK.js +1 -0
  85. package/locales/deDE.js +1 -0
  86. package/locales/elGR.js +1 -0
  87. package/locales/esES.js +1 -0
  88. package/locales/faIR.js +1 -0
  89. package/locales/fiFI.js +1 -0
  90. package/locales/frFR.js +1 -0
  91. package/locales/heIL.js +1 -0
  92. package/locales/hrHR.js +1 -0
  93. package/locales/huHU.js +1 -0
  94. package/locales/hyAM.js +1 -0
  95. package/locales/idID.js +1 -0
  96. package/locales/isIS.js +1 -0
  97. package/locales/itIT.js +104 -115
  98. package/locales/jaJP.js +1 -0
  99. package/locales/koKR.js +1 -0
  100. package/locales/nbNO.js +1 -0
  101. package/locales/nlNL.js +1 -0
  102. package/locales/nnNO.js +1 -0
  103. package/locales/plPL.js +1 -0
  104. package/locales/ptBR.js +1 -0
  105. package/locales/ptPT.js +1 -0
  106. package/locales/roRO.js +1 -0
  107. package/locales/ruRU.js +1 -0
  108. package/locales/skSK.js +1 -0
  109. package/locales/svSE.js +1 -0
  110. package/locales/trTR.js +1 -0
  111. package/locales/ukUA.js +1 -0
  112. package/locales/urPK.js +1 -0
  113. package/locales/viVN.js +1 -0
  114. package/locales/zhCN.js +1 -0
  115. package/locales/zhHK.js +1 -0
  116. package/locales/zhTW.js +1 -0
  117. package/models/api/gridLocaleTextApi.d.ts +1 -0
  118. package/models/gridDataSource.d.ts +13 -0
  119. package/models/gridStateCommunity.d.ts +2 -3
  120. package/package.json +2 -2
package/locales/itIT.js CHANGED
@@ -9,10 +9,9 @@ const itITGrid = {
9
9
  // Root
10
10
  noRowsLabel: 'Nessun record',
11
11
  noResultsOverlayLabel: 'Nessun record trovato.',
12
- // noColumnsOverlayLabel: 'No columns',
13
- // noColumnsOverlayManageColumns: 'Manage columns',
14
- // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
15
-
12
+ noColumnsOverlayLabel: 'Nessuna colonna',
13
+ noColumnsOverlayManageColumns: 'Gestisci colonne',
14
+ emptyPivotOverlayLabel: 'Aggiungi campi a righe, colonne e valori per creare una tabella pivot',
16
15
  // Density selector toolbar button text
17
16
  toolbarDensity: 'Densità',
18
17
  toolbarDensityLabel: 'Densità',
@@ -39,14 +38,11 @@ const itITGrid = {
39
38
  toolbarExportPrint: 'Stampa',
40
39
  toolbarExportExcel: 'Scarica come Excel',
41
40
  // Toolbar pivot button
42
- // toolbarPivot: 'Pivot',
43
-
41
+ toolbarPivot: 'Pivota',
44
42
  // Toolbar charts button
45
- // toolbarCharts: 'Charts',
46
-
43
+ toolbarCharts: 'Grafici',
47
44
  // Toolbar AI Assistant button
48
- // toolbarAssistant: 'AI Assistant',
49
-
45
+ toolbarAssistant: 'Assistente AI',
50
46
  // Columns management text
51
47
  columnsManagementSearchTitle: 'Cerca',
52
48
  columnsManagementNoColumns: 'Nessuna colonna',
@@ -109,15 +105,14 @@ const itITGrid = {
109
105
  'headerFilterOperator>=': 'Maggiore o uguale a',
110
106
  'headerFilterOperator<': 'Minore di',
111
107
  'headerFilterOperator<=': 'Minore o uguale a',
112
- // headerFilterClear: 'Clear filter',
113
-
108
+ headerFilterClear: 'Rimuovi filtri',
114
109
  // Filter values text
115
110
  filterValueAny: 'qualunque',
116
111
  filterValueTrue: 'vero',
117
112
  filterValueFalse: 'falso',
118
113
  // Column menu text
119
114
  columnMenuLabel: 'Menu',
120
- // columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
115
+ columnMenuAriaLabel: columnName => `Menù della colonna ${columnName}`,
121
116
  columnMenuShowColumns: 'Mostra le colonne',
122
117
  columnMenuManageColumns: 'Gestisci colonne',
123
118
  columnMenuFilter: 'Filtra',
@@ -125,9 +120,8 @@ const itITGrid = {
125
120
  columnMenuUnsort: "Annulla l'ordinamento",
126
121
  columnMenuSortAsc: 'Ordinamento crescente',
127
122
  columnMenuSortDesc: 'Ordinamento decrescente',
128
- // columnMenuManagePivot: 'Manage pivot',
129
- // columnMenuManageCharts: 'Manage charts',
130
-
123
+ columnMenuManagePivot: 'Gestisci pivoting',
124
+ columnMenuManageCharts: 'Gestisci grafici',
131
125
  // Column header text
132
126
  columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtri attivi` : `${count} filtro attivo`,
133
127
  columnHeaderFiltersLabel: 'Mostra i filtri',
@@ -167,18 +161,18 @@ const itITGrid = {
167
161
  collapseDetailPanel: 'Comprimi',
168
162
  // Pagination
169
163
  paginationRowsPerPage: 'Righe per pagina:',
170
- // paginationDisplayedRows: ({
171
- // from,
172
- // to,
173
- // count,
174
- // estimated
175
- // }) => {
176
- // if (!estimated) {
177
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
178
- // }
179
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
180
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
181
- // },
164
+ paginationDisplayedRows: ({
165
+ from,
166
+ to,
167
+ count,
168
+ estimated
169
+ }) => {
170
+ if (!estimated) {
171
+ return `${from}–${to} di ${count !== -1 ? count : `più di ${to}`}`;
172
+ }
173
+ const estimatedLabel = estimated && estimated > to ? `circa ${estimated}` : `più di ${to}`;
174
+ return `${from}–${to} di ${count !== -1 ? count : estimatedLabel}`;
175
+ },
182
176
  paginationItemAriaLabel: type => {
183
177
  if (type === 'first') {
184
178
  return 'Vai alla prima pagina';
@@ -196,95 +190,89 @@ const itITGrid = {
196
190
  rowReorderingHeaderName: 'Riordinamento righe',
197
191
  // Aggregation
198
192
  aggregationMenuItemHeader: 'aggregazione',
199
- // aggregationFunctionLabelNone: 'none',
193
+ aggregationFunctionLabelNone: 'nessuna',
200
194
  aggregationFunctionLabelSum: 'somma',
201
195
  aggregationFunctionLabelAvg: 'media',
202
196
  aggregationFunctionLabelMin: 'minimo',
203
197
  aggregationFunctionLabelMax: 'massimo',
204
- aggregationFunctionLabelSize: 'numero di elementi'
205
-
198
+ aggregationFunctionLabelSize: 'numero di elementi',
206
199
  // Pivot panel
207
- // pivotToggleLabel: 'Pivot',
208
- // pivotRows: 'Rows',
209
- // pivotColumns: 'Columns',
210
- // pivotValues: 'Values',
211
- // pivotCloseButton: 'Close pivot settings',
212
- // pivotSearchButton: 'Search fields',
213
- // pivotSearchControlPlaceholder: 'Search fields',
214
- // pivotSearchControlLabel: 'Search fields',
215
- // pivotSearchControlClear: 'Clear search',
216
- // pivotNoFields: 'No fields',
217
- // pivotMenuMoveUp: 'Move up',
218
- // pivotMenuMoveDown: 'Move down',
219
- // pivotMenuMoveToTop: 'Move to top',
220
- // pivotMenuMoveToBottom: 'Move to bottom',
221
- // pivotMenuRows: 'Rows',
222
- // pivotMenuColumns: 'Columns',
223
- // pivotMenuValues: 'Values',
224
- // pivotMenuOptions: 'Field options',
225
- // pivotMenuAddToRows: 'Add to Rows',
226
- // pivotMenuAddToColumns: 'Add to Columns',
227
- // pivotMenuAddToValues: 'Add to Values',
228
- // pivotMenuRemove: 'Remove',
229
- // pivotDragToRows: 'Drag here to create rows',
230
- // pivotDragToColumns: 'Drag here to create columns',
231
- // pivotDragToValues: 'Drag here to create values',
232
- // pivotYearColumnHeaderName: '(Year)',
233
- // pivotQuarterColumnHeaderName: '(Quarter)',
234
-
200
+ pivotToggleLabel: 'Pivota la tabella',
201
+ pivotRows: 'Righe',
202
+ pivotColumns: 'Colonne',
203
+ pivotValues: 'Valori',
204
+ pivotCloseButton: 'Chiudi impostazioni di trasposizione',
205
+ pivotSearchButton: 'Cerca attrubuti',
206
+ pivotSearchControlPlaceholder: 'Cerca attrubuti',
207
+ pivotSearchControlLabel: 'Cerca attrubuti',
208
+ pivotSearchControlClear: 'Annulla ricerca',
209
+ pivotNoFields: 'Nessun attributo',
210
+ pivotMenuMoveUp: 'Sposta in alto',
211
+ pivotMenuMoveDown: 'Sposta in basso',
212
+ pivotMenuMoveToTop: 'Sposta in cima',
213
+ pivotMenuMoveToBottom: 'Sposta in fondo',
214
+ pivotMenuRows: 'Righe',
215
+ pivotMenuColumns: 'Colonne',
216
+ pivotMenuValues: 'Valori',
217
+ pivotMenuOptions: 'Opzioni',
218
+ pivotMenuAddToRows: 'Aggiungi alle Righe',
219
+ pivotMenuAddToColumns: 'Aggiungi alle Colonne',
220
+ pivotMenuAddToValues: 'Aggiungi ai Valori',
221
+ pivotMenuRemove: 'Rimuovi',
222
+ pivotDragToRows: 'Trascina qui per creare le righe',
223
+ pivotDragToColumns: 'Trascina qui per creare le colonne',
224
+ pivotDragToValues: 'Trascina qui per creare valori',
225
+ pivotYearColumnHeaderName: '(Anno)',
226
+ pivotQuarterColumnHeaderName: '(Quarto)',
235
227
  // Charts configuration panel
236
- // chartsNoCharts: 'There are no charts available',
237
- // chartsChartNotSelected: 'Select a chart type to configure its options',
238
- // chartsTabChart: 'Chart',
239
- // chartsTabFields: 'Fields',
240
- // chartsTabCustomize: 'Customize',
241
- // chartsCloseButton: 'Close charts configuration',
242
- // chartsSyncButtonLabel: 'Sync chart',
243
- // chartsSearchPlaceholder: 'Search fields',
244
- // chartsSearchLabel: 'Search fields',
245
- // chartsSearchClear: 'Clear search',
246
- // chartsNoFields: 'No fields',
247
- // chartsFieldBlocked: 'This field cannot be added to any section',
248
- // chartsCategories: 'Categories',
249
- // chartsSeries: 'Series',
250
- // chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
251
- // chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
252
- // chartsMenuMoveUp: 'Move up',
253
- // chartsMenuMoveDown: 'Move down',
254
- // chartsMenuMoveToTop: 'Move to top',
255
- // chartsMenuMoveToBottom: 'Move to bottom',
256
- // chartsMenuOptions: 'Field options',
257
- // chartsMenuRemove: 'Remove',
258
- // chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
259
- // chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
260
-
228
+ chartsNoCharts: 'Non ci sono grafici disponibili',
229
+ chartsChartNotSelected: 'Seleziona un tipo di grafico per configurarne le opzioni',
230
+ chartsTabChart: 'Grafico',
231
+ chartsTabFields: 'Attributi',
232
+ chartsTabCustomize: 'Personalizza',
233
+ chartsCloseButton: 'Chiudi la configurazione dei grafici',
234
+ chartsSyncButtonLabel: 'Sincronizza grafico',
235
+ chartsSearchPlaceholder: 'Cerca attributi',
236
+ chartsSearchLabel: 'Cerca attributi',
237
+ chartsSearchClear: 'Annulla ricerca',
238
+ chartsNoFields: 'Nessun attributo',
239
+ chartsFieldBlocked: 'Questo attributo non può essere aggiunto ad alcuna sezione',
240
+ chartsCategories: 'Categorie',
241
+ chartsSeries: 'Serie',
242
+ chartsMenuAddToDimensions: dimensionLabel => `Aggiungi a ${dimensionLabel}`,
243
+ chartsMenuAddToValues: valuesLabel => `Aggiungi a ${valuesLabel}`,
244
+ chartsMenuMoveUp: 'Sposta in alto',
245
+ chartsMenuMoveDown: 'Sposta in basso',
246
+ chartsMenuMoveToTop: 'Sposta in cima',
247
+ chartsMenuMoveToBottom: 'Sposta in fondo',
248
+ chartsMenuOptions: "Opzioni per l'attributo",
249
+ chartsMenuRemove: 'Rimuovi',
250
+ chartsDragToDimensions: dimensionLabel => `Trascina qui per usare la colonna come ${dimensionLabel}`,
251
+ chartsDragToValues: valuesLabel => `Trascina qui per usare la colonna come ${valuesLabel}`,
261
252
  // AI Assistant panel
262
- // aiAssistantPanelTitle: 'AI Assistant',
263
- // aiAssistantPanelClose: 'Close AI Assistant',
264
- // aiAssistantPanelNewConversation: 'New conversation',
265
- // aiAssistantPanelConversationHistory: 'Conversation history',
266
- // aiAssistantPanelEmptyConversation: 'No prompt history',
267
- // aiAssistantSuggestions: 'Suggestions',
268
-
253
+ aiAssistantPanelTitle: 'Assistente AI',
254
+ aiAssistantPanelClose: 'Chiudi Assistente AI',
255
+ aiAssistantPanelNewConversation: 'Nuova Conversazione',
256
+ aiAssistantPanelConversationHistory: 'Conversazioni precedenti',
257
+ aiAssistantPanelEmptyConversation: 'Nessuna conversazione precedente',
258
+ aiAssistantSuggestions: 'Suggerimenti:',
269
259
  // Prompt field
270
- // promptFieldLabel: 'Prompt',
271
- // promptFieldPlaceholder: 'Type a prompt…',
272
- // promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
273
- // promptFieldPlaceholderListening: 'Listening for prompt…',
274
- // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
275
- // promptFieldSend: 'Send',
276
- // promptFieldRecord: 'Record',
277
- // promptFieldStopRecording: 'Stop recording',
278
-
260
+ promptFieldLabel: 'Prompt',
261
+ promptFieldPlaceholder: 'Scrivi un prompt…',
262
+ promptFieldPlaceholderWithRecording: 'Scrivi o registra un prompt…',
263
+ promptFieldPlaceholderListening: 'In attesa di un prompt…',
264
+ promptFieldSpeechRecognitionNotSupported: 'Il riconoscimento vocale non è supportato dal tuo browser.',
265
+ promptFieldSend: 'Invia',
266
+ promptFieldRecord: 'Registra',
267
+ promptFieldStopRecording: 'Interrompi registrazione',
279
268
  // Prompt
280
- // promptRerun: 'Run again',
281
- // promptProcessing: 'Processing…',
282
- // promptAppliedChanges: 'Applied changes',
283
-
269
+ promptRerun: 'Esegui nuovamente',
270
+ promptProcessing: 'In elaborazione…',
271
+ promptAppliedChanges: 'Cambiamenti applicati',
284
272
  // Prompt changes
285
- // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
286
- // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
287
- // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
273
+ promptChangeGroupDescription: column => `Raggruppa per ${column}`,
274
+ promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
275
+ promptChangeAggregationDescription: (column, aggregation) => `Aggrega ${column} (${aggregation})`,
288
276
  // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
289
277
  // if (operator === 'is any of') {
290
278
  // return `${column} is any of: ${value}`;
@@ -297,13 +285,14 @@ const itITGrid = {
297
285
  // }
298
286
  // return `Filter where ${column} ${operator} ${value}`;
299
287
  // },
300
- // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
301
- // promptChangePivotEnableLabel: 'Pivot',
302
- // promptChangePivotEnableDescription: 'Enable pivot',
303
- // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
304
- // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
305
- // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
306
- // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
307
- // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
288
+ promptChangeSortDescription: (column, direction) => `Ordina per ${column} (${direction})`,
289
+ promptChangePivotEnableLabel: 'Pivota',
290
+ promptChangePivotEnableDescription: 'Abilita pivoting',
291
+ promptChangePivotColumnsLabel: count => `Colonne (${count})`,
292
+ promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
293
+ promptChangePivotRowsLabel: count => `Righe (${count})`,
294
+ promptChangePivotValuesLabel: count => `Valori (${count})`,
295
+ promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
296
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
308
297
  };
309
298
  const itIT = exports.itIT = (0, _getGridLocalization.getGridLocalization)(itITGrid);
package/locales/jaJP.js CHANGED
@@ -305,5 +305,6 @@ const jaJPGrid = {
305
305
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
306
306
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
307
307
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
308
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
308
309
  };
309
310
  const jaJP = exports.jaJP = (0, _getGridLocalization.getGridLocalization)(jaJPGrid);
package/locales/koKR.js CHANGED
@@ -295,5 +295,6 @@ const koKRGrid = {
295
295
  promptChangePivotRowsLabel: count => `(${count}) 개의 행`,
296
296
  promptChangePivotValuesLabel: count => `(${count}) 개의 값`,
297
297
  promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
298
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
298
299
  };
299
300
  const koKR = exports.koKR = (0, _getGridLocalization.getGridLocalization)(koKRGrid);
package/locales/nbNO.js CHANGED
@@ -303,5 +303,6 @@ const nbNOGrid = {
303
303
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
304
304
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
305
305
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
306
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
306
307
  };
307
308
  const nbNO = exports.nbNO = (0, _getGridLocalization.getGridLocalization)(nbNOGrid);
package/locales/nlNL.js CHANGED
@@ -304,5 +304,6 @@ const nlNLGrid = {
304
304
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
305
305
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
306
306
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
307
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
307
308
  };
308
309
  const nlNL = exports.nlNL = (0, _getGridLocalization.getGridLocalization)(nlNLGrid);
package/locales/nnNO.js CHANGED
@@ -295,5 +295,6 @@ const nnNOGrid = {
295
295
  promptChangePivotRowsLabel: count => `Rader (${count})`,
296
296
  promptChangePivotValuesLabel: count => `Verdiar (${count})`,
297
297
  promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
298
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
298
299
  };
299
300
  const nnNO = exports.nnNO = (0, _getGridLocalization.getGridLocalization)(nnNOGrid);
package/locales/plPL.js CHANGED
@@ -300,5 +300,6 @@ const plPLGrid = {
300
300
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
301
301
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
302
302
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
303
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
303
304
  };
304
305
  const plPL = exports.plPL = (0, _getGridLocalization.getGridLocalization)(plPLGrid);
package/locales/ptBR.js CHANGED
@@ -292,5 +292,6 @@ const ptBRGrid = {
292
292
  promptChangePivotRowsLabel: count => `Linhas (${count})`,
293
293
  promptChangePivotValuesLabel: count => `Valores (${count})`,
294
294
  promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
295
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
295
296
  };
296
297
  const ptBR = exports.ptBR = (0, _getGridLocalization.getGridLocalization)(ptBRGrid);
package/locales/ptPT.js CHANGED
@@ -303,5 +303,6 @@ const ptPTGrid = {
303
303
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
304
304
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
305
305
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
306
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
306
307
  };
307
308
  const ptPT = exports.ptPT = (0, _getGridLocalization.getGridLocalization)(ptPTGrid);
package/locales/roRO.js CHANGED
@@ -303,5 +303,6 @@ const roROGrid = {
303
303
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
304
304
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
305
305
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
306
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
306
307
  };
307
308
  const roRO = exports.roRO = (0, _getGridLocalization.getGridLocalization)(roROGrid);
package/locales/ruRU.js CHANGED
@@ -325,5 +325,6 @@ const ruRUGrid = {
325
325
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
326
326
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
327
327
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
328
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
328
329
  };
329
330
  const ruRU = exports.ruRU = (0, _getGridLocalization.getGridLocalization)(ruRUGrid);
package/locales/skSK.js CHANGED
@@ -331,5 +331,6 @@ const skSKGrid = {
331
331
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
332
332
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
333
333
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
334
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
334
335
  };
335
336
  const skSK = exports.skSK = (0, _getGridLocalization.getGridLocalization)(skSKGrid);
package/locales/svSE.js CHANGED
@@ -305,5 +305,6 @@ const svSEGrid = {
305
305
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
306
306
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
307
307
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
308
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
308
309
  };
309
310
  const svSE = exports.svSE = (0, _getGridLocalization.getGridLocalization)(svSEGrid);
package/locales/trTR.js CHANGED
@@ -303,5 +303,6 @@ const trTRGrid = {
303
303
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
304
304
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
305
305
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
306
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
306
307
  };
307
308
  const trTR = exports.trTR = (0, _getGridLocalization.getGridLocalization)(trTRGrid);
package/locales/ukUA.js CHANGED
@@ -325,5 +325,6 @@ const ukUAGrid = {
325
325
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
326
326
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
327
327
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
328
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
328
329
  };
329
330
  const ukUA = exports.ukUA = (0, _getGridLocalization.getGridLocalization)(ukUAGrid);
package/locales/urPK.js CHANGED
@@ -305,5 +305,6 @@ const urPKGrid = {
305
305
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
306
306
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
307
307
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
308
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
308
309
  };
309
310
  const urPK = exports.urPK = (0, _getGridLocalization.getGridLocalization)(urPKGrid);
package/locales/viVN.js CHANGED
@@ -305,5 +305,6 @@ const viVNGrid = {
305
305
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
306
306
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
307
307
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
308
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
308
309
  };
309
310
  const viVN = exports.viVN = (0, _getGridLocalization.getGridLocalization)(viVNGrid);
package/locales/zhCN.js CHANGED
@@ -301,5 +301,6 @@ const zhCNGrid = {
301
301
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
302
302
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
303
303
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
304
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
304
305
  };
305
306
  const zhCN = exports.zhCN = (0, _getGridLocalization.getGridLocalization)(zhCNGrid);
package/locales/zhHK.js CHANGED
@@ -301,5 +301,6 @@ const zhHKGrid = {
301
301
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
302
302
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
303
303
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
304
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
304
305
  };
305
306
  const zhHK = exports.zhHK = (0, _getGridLocalization.getGridLocalization)(zhHKGrid);
package/locales/zhTW.js CHANGED
@@ -301,5 +301,6 @@ const zhTWGrid = {
301
301
  // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
302
302
  // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
303
303
  // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
304
+ // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
304
305
  };
305
306
  const zhTW = exports.zhTW = (0, _getGridLocalization.getGridLocalization)(zhTWGrid);
@@ -219,6 +219,7 @@ export interface GridLocaleText {
219
219
  promptChangePivotRowsLabel: (count: number) => string;
220
220
  promptChangePivotValuesLabel: (count: number) => string;
221
221
  promptChangePivotValuesDescription: (column: string, aggregation: string) => string;
222
+ promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => string;
222
223
  promptFieldLabel: string;
223
224
  promptFieldPlaceholder: string;
224
225
  promptFieldPlaceholderWithRecording: string;
@@ -15,6 +15,19 @@ export interface GridGetRowsParams {
15
15
  */
16
16
  end: number;
17
17
  }
18
+ export interface GridGetRowsOptions {
19
+ /**
20
+ * If `true`, bypasses the cache and forces a refetch of the rows from the server.
21
+ * The response will be used to refresh the cache.
22
+ */
23
+ skipCache?: boolean;
24
+ /**
25
+ * By default, the grid tries to keep the children expanded and attached to the parent with the same ID after the data is re-fetched.
26
+ * If `keepChildrenExpanded` is `false`, the children of the parent with the `parentId` (all children for the root level data fetch) will be collapsed and removed from the tree.
27
+ * @default true
28
+ */
29
+ keepChildrenExpanded?: boolean;
30
+ }
18
31
  export interface GridUpdateRowParams {
19
32
  rowId: GridRowId;
20
33
  updatedRow: GridRowModel;
@@ -13,7 +13,7 @@ import type { GridRowReorderState } from "../hooks/features/rowReorder/gridRowRe
13
13
  * Some props are passed on the state to enable grid selectors to select
14
14
  * and react to them.
15
15
  */
16
- type GridStateProps = Pick<DataGridProcessedProps, 'getRowId' | 'listView'>;
16
+ export type GridStateProps = Pick<DataGridProcessedProps, 'getRowId' | 'listView' | 'isCellEditable'>;
17
17
  /**
18
18
  * The state of Data Grid.
19
19
  */
@@ -58,5 +58,4 @@ export interface GridInitialStateCommunity {
58
58
  top: number;
59
59
  left: number;
60
60
  };
61
- }
62
- export {};
61
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "8.14.0",
3
+ "version": "8.15.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Community plan edition of the MUI X Data Grid components.",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "prop-types": "^15.8.1",
44
44
  "use-sync-external-store": "^1.6.0",
45
45
  "@mui/x-internals": "8.14.0",
46
- "@mui/x-virtualizer": "0.2.3"
46
+ "@mui/x-virtualizer": "0.2.5"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",