@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.
- package/CHANGELOG.md +202 -0
- package/components/GridScrollShadows.js +23 -3
- package/components/cell/GridCell.js +1 -0
- package/constants/gridClasses.d.ts +12 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +2 -1
- package/esm/components/GridScrollShadows.js +22 -3
- package/esm/components/cell/GridCell.js +1 -0
- package/esm/constants/gridClasses.d.ts +12 -0
- package/esm/constants/gridClasses.js +1 -1
- package/esm/constants/localeTextConstants.js +2 -1
- package/esm/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +6 -4
- package/esm/hooks/core/useGridProps.d.ts +3 -5
- package/esm/hooks/core/useGridProps.js +5 -3
- package/esm/hooks/core/useGridVirtualizer.js +11 -9
- package/esm/hooks/features/dataSource/models.d.ts +28 -28
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +28 -15
- package/esm/hooks/features/dataSource/utils.d.ts +2 -1
- package/esm/hooks/features/dataSource/utils.js +2 -1
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +1 -1
- package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +2 -2
- package/esm/locales/arSD.js +1 -0
- package/esm/locales/beBY.js +1 -0
- package/esm/locales/bgBG.js +1 -0
- package/esm/locales/bnBD.js +1 -0
- package/esm/locales/csCZ.js +1 -0
- package/esm/locales/daDK.js +1 -0
- package/esm/locales/deDE.js +1 -0
- package/esm/locales/elGR.js +1 -0
- package/esm/locales/esES.js +1 -0
- package/esm/locales/faIR.js +1 -0
- package/esm/locales/fiFI.js +1 -0
- package/esm/locales/frFR.js +1 -0
- package/esm/locales/heIL.js +1 -0
- package/esm/locales/hrHR.js +1 -0
- package/esm/locales/huHU.js +1 -0
- package/esm/locales/hyAM.js +1 -0
- package/esm/locales/idID.js +1 -0
- package/esm/locales/isIS.js +1 -0
- package/esm/locales/itIT.js +104 -115
- package/esm/locales/jaJP.js +1 -0
- package/esm/locales/koKR.js +1 -0
- package/esm/locales/nbNO.js +1 -0
- package/esm/locales/nlNL.js +1 -0
- package/esm/locales/nnNO.js +1 -0
- package/esm/locales/plPL.js +1 -0
- package/esm/locales/ptBR.js +1 -0
- package/esm/locales/ptPT.js +1 -0
- package/esm/locales/roRO.js +1 -0
- package/esm/locales/ruRU.js +1 -0
- package/esm/locales/skSK.js +1 -0
- package/esm/locales/svSE.js +1 -0
- package/esm/locales/trTR.js +1 -0
- package/esm/locales/ukUA.js +1 -0
- package/esm/locales/urPK.js +1 -0
- package/esm/locales/viVN.js +1 -0
- package/esm/locales/zhCN.js +1 -0
- package/esm/locales/zhHK.js +1 -0
- package/esm/locales/zhTW.js +1 -0
- package/esm/models/api/gridLocaleTextApi.d.ts +1 -0
- package/esm/models/gridDataSource.d.ts +13 -0
- package/esm/models/gridStateCommunity.d.ts +2 -3
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +6 -4
- package/hooks/core/useGridProps.d.ts +3 -5
- package/hooks/core/useGridProps.js +5 -3
- package/hooks/core/useGridVirtualizer.js +11 -9
- package/hooks/features/dataSource/models.d.ts +28 -28
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.js +28 -15
- package/hooks/features/dataSource/utils.d.ts +2 -1
- package/hooks/features/dataSource/utils.js +2 -1
- package/hooks/features/rowSelection/useGridRowSelection.js +1 -1
- package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -11
- package/index.js +1 -1
- package/internals/index.d.ts +2 -2
- package/locales/arSD.js +1 -0
- package/locales/beBY.js +1 -0
- package/locales/bgBG.js +1 -0
- package/locales/bnBD.js +1 -0
- package/locales/csCZ.js +1 -0
- package/locales/daDK.js +1 -0
- package/locales/deDE.js +1 -0
- package/locales/elGR.js +1 -0
- package/locales/esES.js +1 -0
- package/locales/faIR.js +1 -0
- package/locales/fiFI.js +1 -0
- package/locales/frFR.js +1 -0
- package/locales/heIL.js +1 -0
- package/locales/hrHR.js +1 -0
- package/locales/huHU.js +1 -0
- package/locales/hyAM.js +1 -0
- package/locales/idID.js +1 -0
- package/locales/isIS.js +1 -0
- package/locales/itIT.js +104 -115
- package/locales/jaJP.js +1 -0
- package/locales/koKR.js +1 -0
- package/locales/nbNO.js +1 -0
- package/locales/nlNL.js +1 -0
- package/locales/nnNO.js +1 -0
- package/locales/plPL.js +1 -0
- package/locales/ptBR.js +1 -0
- package/locales/ptPT.js +1 -0
- package/locales/roRO.js +1 -0
- package/locales/ruRU.js +1 -0
- package/locales/skSK.js +1 -0
- package/locales/svSE.js +1 -0
- package/locales/trTR.js +1 -0
- package/locales/ukUA.js +1 -0
- package/locales/urPK.js +1 -0
- package/locales/viVN.js +1 -0
- package/locales/zhCN.js +1 -0
- package/locales/zhHK.js +1 -0
- package/locales/zhTW.js +1 -0
- package/models/api/gridLocaleTextApi.d.ts +1 -0
- package/models/gridDataSource.d.ts +13 -0
- package/models/gridStateCommunity.d.ts +2 -3
- 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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
43
|
-
|
|
41
|
+
toolbarPivot: 'Pivota',
|
|
44
42
|
// Toolbar charts button
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
toolbarCharts: 'Grafici',
|
|
47
44
|
// Toolbar AI Assistant button
|
|
48
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
129
|
-
|
|
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
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
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
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
269
|
+
promptRerun: 'Esegui nuovamente',
|
|
270
|
+
promptProcessing: 'In elaborazione…',
|
|
271
|
+
promptAppliedChanges: 'Cambiamenti applicati',
|
|
284
272
|
// Prompt changes
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
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.
|
|
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.
|
|
46
|
+
"@mui/x-virtualizer": "0.2.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|