@mui/x-data-grid 8.15.0 → 8.17.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 +207 -0
- package/DataGrid/DataGrid.js +2 -0
- package/DataGrid/useDataGridComponent.js +1 -1
- package/colDef/gridCheckboxSelectionColDef.js +0 -2
- package/components/GridColumnSortButton.d.ts +1 -1
- package/components/GridFooter.d.ts +2 -3
- package/components/GridFooter.js +0 -2
- package/components/GridHeader.d.ts +1 -2
- package/components/GridHeaders.d.ts +1 -2
- package/components/GridHeaders.js +0 -2
- package/components/GridNoColumnsOverlay.d.ts +2 -3
- package/components/GridNoColumnsOverlay.js +0 -2
- package/components/GridNoResultsOverlay.d.ts +2 -3
- package/components/GridNoResultsOverlay.js +0 -2
- package/components/GridNoRowsOverlay.d.ts +2 -3
- package/components/GridNoRowsOverlay.js +0 -2
- package/components/GridPagination.d.ts +1 -2
- package/components/GridScrollArea.d.ts +1 -2
- package/components/GridScrollShadows.d.ts +1 -2
- package/components/GridScrollbarFillerCell.d.ts +1 -2
- package/components/GridScrollbarFillerCell.js +0 -2
- package/components/base/GridFooterPlaceholder.d.ts +1 -2
- package/components/base/GridFooterPlaceholder.js +0 -2
- package/components/base/GridOverlays.d.ts +1 -1
- package/components/cell/GridActionsCell.d.ts +2 -3
- package/components/cell/GridActionsCell.js +2 -0
- package/components/cell/GridActionsCellItem.js +5 -18
- package/components/cell/GridBooleanCell.d.ts +1 -1
- package/components/cell/GridCell.js +8 -1
- package/components/cell/GridEditBooleanCell.d.ts +2 -2
- package/components/cell/GridEditDateCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.d.ts +1 -1
- package/components/cell/GridEditInputCell.js +0 -68
- package/components/cell/GridEditSingleSelectCell.d.ts +2 -3
- package/components/cell/GridSkeletonCell.d.ts +1 -1
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
- package/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
- package/components/menu/GridMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
- package/components/menu/columnMenu/GridColumnMenu.js +0 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
- package/components/panel/GridColumnsPanel.d.ts +1 -2
- package/components/panel/GridColumnsPanel.js +0 -2
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelContext.d.ts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.d.ts +1 -2
- package/components/panel/GridPreferencesPanel.js +0 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
- package/components/quickFilter/QuickFilter.d.ts +1 -1
- package/components/toolbar/GridToolbar.d.ts +1 -2
- package/components/toolbar/GridToolbar.js +0 -2
- package/components/toolbar/GridToolbarExport.d.ts +2 -2
- package/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
- package/components/toolbar/GridToolbarQuickFilter.js +0 -2
- package/components/toolbarV8/GridToolbar.d.ts +3 -3
- package/components/virtualization/GridBottomContainer.d.ts +1 -1
- package/components/virtualization/GridTopContainer.d.ts +1 -1
- package/components/virtualization/GridVirtualScroller.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
- package/context/GridContextProvider.d.ts +1 -1
- package/esm/DataGrid/DataGrid.js +2 -0
- package/esm/DataGrid/useDataGridComponent.js +1 -1
- package/esm/colDef/gridCheckboxSelectionColDef.js +0 -1
- package/esm/components/GridColumnSortButton.d.ts +1 -1
- package/esm/components/GridFooter.d.ts +2 -3
- package/esm/components/GridFooter.js +0 -1
- package/esm/components/GridHeader.d.ts +1 -2
- package/esm/components/GridHeaders.d.ts +1 -2
- package/esm/components/GridHeaders.js +0 -1
- package/esm/components/GridNoColumnsOverlay.d.ts +2 -3
- package/esm/components/GridNoColumnsOverlay.js +0 -1
- package/esm/components/GridNoResultsOverlay.d.ts +2 -3
- package/esm/components/GridNoResultsOverlay.js +0 -1
- package/esm/components/GridNoRowsOverlay.d.ts +2 -3
- package/esm/components/GridNoRowsOverlay.js +0 -1
- package/esm/components/GridPagination.d.ts +1 -2
- package/esm/components/GridScrollArea.d.ts +1 -2
- package/esm/components/GridScrollShadows.d.ts +1 -2
- package/esm/components/GridScrollbarFillerCell.d.ts +1 -2
- package/esm/components/GridScrollbarFillerCell.js +0 -1
- package/esm/components/base/GridFooterPlaceholder.d.ts +1 -2
- package/esm/components/base/GridFooterPlaceholder.js +0 -1
- package/esm/components/base/GridOverlays.d.ts +1 -1
- package/esm/components/cell/GridActionsCell.d.ts +2 -3
- package/esm/components/cell/GridActionsCell.js +2 -0
- package/esm/components/cell/GridActionsCellItem.js +4 -17
- package/esm/components/cell/GridBooleanCell.d.ts +1 -1
- package/esm/components/cell/GridCell.js +8 -1
- package/esm/components/cell/GridEditBooleanCell.d.ts +2 -2
- package/esm/components/cell/GridEditDateCell.d.ts +2 -2
- package/esm/components/cell/GridEditInputCell.d.ts +1 -1
- package/esm/components/cell/GridEditInputCell.js +0 -68
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +2 -3
- package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
- package/esm/components/menu/GridMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
- package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
- package/esm/components/panel/GridColumnsPanel.d.ts +1 -2
- package/esm/components/panel/GridColumnsPanel.js +0 -1
- package/esm/components/panel/GridPanelContent.d.ts +1 -1
- package/esm/components/panel/GridPanelContext.d.ts +1 -1
- package/esm/components/panel/GridPanelFooter.d.ts +1 -1
- package/esm/components/panel/GridPanelHeader.d.ts +1 -1
- package/esm/components/panel/GridPreferencesPanel.d.ts +1 -2
- package/esm/components/panel/GridPreferencesPanel.js +0 -1
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
- package/esm/components/quickFilter/QuickFilter.d.ts +1 -1
- package/esm/components/toolbar/GridToolbar.d.ts +1 -2
- package/esm/components/toolbar/GridToolbar.js +0 -1
- package/esm/components/toolbar/GridToolbarExport.d.ts +2 -2
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
- package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -1
- package/esm/components/toolbarV8/GridToolbar.d.ts +3 -3
- package/esm/components/virtualization/GridBottomContainer.d.ts +1 -1
- package/esm/components/virtualization/GridTopContainer.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScroller.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
- package/esm/context/GridContextProvider.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +5 -0
- package/esm/hooks/features/editing/useGridCellEditable.js +9 -0
- package/esm/hooks/features/editing/useGridEditing.d.ts +2 -1
- package/esm/hooks/features/editing/useGridEditing.js +4 -4
- package/esm/hooks/features/focus/useGridFocus.js +4 -2
- package/esm/hooks/features/pagination/useGridPaginationModel.js +5 -3
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/esm/internals/index.d.ts +2 -0
- package/esm/internals/index.js +1 -0
- package/esm/locales/arSD.js +12 -12
- package/esm/locales/caES.d.ts +2 -0
- package/esm/locales/caES.js +291 -0
- package/esm/locales/esES.js +109 -120
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/material/icons/index.d.ts +0 -1
- package/esm/material/icons/index.js +0 -1
- package/esm/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
- package/esm/models/configuration/gridCellEditableConfiguration.js +1 -0
- package/esm/models/configuration/gridConfiguration.d.ts +2 -1
- package/esm/utils/css/context.d.ts +3 -3
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
- package/hooks/features/editing/useGridCellEditable.d.ts +5 -0
- package/hooks/features/editing/useGridCellEditable.js +15 -0
- package/hooks/features/editing/useGridEditing.d.ts +2 -1
- package/hooks/features/editing/useGridEditing.js +4 -4
- package/hooks/features/focus/useGridFocus.js +4 -2
- package/hooks/features/pagination/useGridPaginationModel.js +5 -3
- package/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/internals/index.d.ts +2 -0
- package/internals/index.js +8 -0
- package/locales/arSD.js +12 -12
- package/locales/caES.d.ts +2 -0
- package/locales/caES.js +297 -0
- package/locales/esES.js +109 -120
- package/locales/index.d.ts +1 -0
- package/locales/index.js +11 -0
- package/material/icons/index.d.ts +0 -1
- package/material/icons/index.js +0 -2
- package/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
- package/models/configuration/gridCellEditableConfiguration.js +5 -0
- package/models/configuration/gridConfiguration.d.ts +2 -1
- package/package.json +3 -3
- package/utils/css/context.d.ts +3 -3
package/locales/esES.js
CHANGED
|
@@ -9,10 +9,9 @@ const esESGrid = {
|
|
|
9
9
|
// Root
|
|
10
10
|
noRowsLabel: 'Sin filas',
|
|
11
11
|
noResultsOverlayLabel: 'Resultados no encontrados',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
noColumnsOverlayLabel: 'Ninguna columna',
|
|
13
|
+
noColumnsOverlayManageColumns: 'Gestionar columnas',
|
|
14
|
+
emptyPivotOverlayLabel: 'Añada campos a filas, columnas y valores para crear una tabla dinámica',
|
|
16
15
|
// Density selector toolbar button text
|
|
17
16
|
toolbarDensity: 'Densidad',
|
|
18
17
|
toolbarDensityLabel: 'Densidad',
|
|
@@ -39,14 +38,11 @@ const esESGrid = {
|
|
|
39
38
|
toolbarExportPrint: 'Imprimir',
|
|
40
39
|
toolbarExportExcel: 'Descargar como Excel',
|
|
41
40
|
// Toolbar pivot button
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
toolbarPivot: 'Tabla dinámica',
|
|
44
42
|
// Toolbar charts button
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
toolbarCharts: 'Gráficos',
|
|
47
44
|
// Toolbar AI Assistant button
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
toolbarAssistant: 'Asistente de IA',
|
|
50
46
|
// Columns management text
|
|
51
47
|
columnsManagementSearchTitle: 'Buscar',
|
|
52
48
|
columnsManagementNoColumns: 'Sin columnas',
|
|
@@ -108,15 +104,14 @@ const esESGrid = {
|
|
|
108
104
|
'headerFilterOperator>=': 'Es mayor o igual que',
|
|
109
105
|
'headerFilterOperator<': 'Es menor que',
|
|
110
106
|
'headerFilterOperator<=': 'Es menor o igual que',
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
headerFilterClear: 'Limpiar filtros',
|
|
113
108
|
// Filter values text
|
|
114
109
|
filterValueAny: 'cualquiera',
|
|
115
110
|
filterValueTrue: 'verdadero',
|
|
116
111
|
filterValueFalse: 'falso',
|
|
117
112
|
// Column menu text
|
|
118
113
|
columnMenuLabel: 'Menú',
|
|
119
|
-
|
|
114
|
+
columnMenuAriaLabel: columnName => `Menú de la columna ${columnName}`,
|
|
120
115
|
columnMenuShowColumns: 'Mostrar columnas',
|
|
121
116
|
columnMenuManageColumns: 'Administrar columnas',
|
|
122
117
|
columnMenuFilter: 'Filtro',
|
|
@@ -124,9 +119,8 @@ const esESGrid = {
|
|
|
124
119
|
columnMenuUnsort: 'Desordenar',
|
|
125
120
|
columnMenuSortAsc: 'Ordenar ASC',
|
|
126
121
|
columnMenuSortDesc: 'Ordenar DESC',
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
columnMenuManagePivot: 'Gestionar tabla dinámica',
|
|
123
|
+
columnMenuManageCharts: 'Gestionar gráficos',
|
|
130
124
|
// Column header text
|
|
131
125
|
columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`,
|
|
132
126
|
columnHeaderFiltersLabel: 'Mostrar filtros',
|
|
@@ -166,18 +160,18 @@ const esESGrid = {
|
|
|
166
160
|
collapseDetailPanel: 'Contraer',
|
|
167
161
|
// Pagination
|
|
168
162
|
paginationRowsPerPage: 'Filas por página:',
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
163
|
+
paginationDisplayedRows: ({
|
|
164
|
+
from,
|
|
165
|
+
to,
|
|
166
|
+
count,
|
|
167
|
+
estimated
|
|
168
|
+
}) => {
|
|
169
|
+
if (!estimated) {
|
|
170
|
+
return `${from}–${to} de ${count !== -1 ? count : `más de ${to}`}`;
|
|
171
|
+
}
|
|
172
|
+
const estimatedLabel = estimated && estimated > to ? `alrededor de ${estimated}` : `más de ${to}`;
|
|
173
|
+
return `${from}–${to} de ${count !== -1 ? count : estimatedLabel}`;
|
|
174
|
+
},
|
|
181
175
|
paginationItemAriaLabel: type => {
|
|
182
176
|
if (type === 'first') {
|
|
183
177
|
return 'Ir a la primera página';
|
|
@@ -195,114 +189,109 @@ const esESGrid = {
|
|
|
195
189
|
rowReorderingHeaderName: 'Reordenar filas',
|
|
196
190
|
// Aggregation
|
|
197
191
|
aggregationMenuItemHeader: 'Agregación',
|
|
198
|
-
|
|
192
|
+
aggregationFunctionLabelNone: 'ninguna',
|
|
199
193
|
aggregationFunctionLabelSum: 'suma',
|
|
200
194
|
aggregationFunctionLabelAvg: 'promedio',
|
|
201
195
|
aggregationFunctionLabelMin: 'mínimo',
|
|
202
196
|
aggregationFunctionLabelMax: 'máximo',
|
|
203
197
|
aggregationFunctionLabelSize: 'tamaño',
|
|
204
198
|
// Pivot panel
|
|
205
|
-
|
|
206
|
-
|
|
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
|
-
|
|
199
|
+
pivotToggleLabel: 'Tabla dinámica',
|
|
200
|
+
pivotRows: 'Filas',
|
|
201
|
+
pivotColumns: 'Columnas',
|
|
202
|
+
pivotValues: 'Valores',
|
|
203
|
+
pivotCloseButton: 'Cerrar la configuración de tabla dinámica',
|
|
204
|
+
pivotSearchButton: 'Campos de búsqueda',
|
|
205
|
+
pivotSearchControlPlaceholder: 'Campos de búsqueda',
|
|
206
|
+
pivotSearchControlLabel: 'Campos de búsqueda',
|
|
207
|
+
pivotSearchControlClear: 'Limpiar la búsqueda',
|
|
208
|
+
pivotNoFields: 'Ningún campo',
|
|
209
|
+
pivotMenuMoveUp: 'Mover arriba',
|
|
210
|
+
pivotMenuMoveDown: 'Mover abajo',
|
|
211
|
+
pivotMenuMoveToTop: 'Mover al inicio',
|
|
212
|
+
pivotMenuMoveToBottom: 'Mover al final',
|
|
213
|
+
pivotMenuRows: 'Filas',
|
|
214
|
+
pivotMenuColumns: 'Columnas',
|
|
215
|
+
pivotMenuValues: 'Valores',
|
|
216
|
+
pivotMenuOptions: 'Opciones de campo',
|
|
217
|
+
pivotMenuAddToRows: 'Añadir a filas',
|
|
218
|
+
pivotMenuAddToColumns: 'Añadir a columnas',
|
|
219
|
+
pivotMenuAddToValues: 'Añadir a valores',
|
|
220
|
+
pivotMenuRemove: 'Eliminar',
|
|
221
|
+
pivotDragToRows: 'Arrastrar aquí para crear filas',
|
|
222
|
+
pivotDragToColumns: 'Arrastrar aquí para crear columnas',
|
|
223
|
+
pivotDragToValues: 'Arrastrar aquí para crear valores',
|
|
224
|
+
pivotYearColumnHeaderName: '(Año)',
|
|
225
|
+
pivotQuarterColumnHeaderName: '(Trimestre)',
|
|
233
226
|
// Charts configuration panel
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
227
|
+
chartsNoCharts: 'No hay ningún gráfico disponible',
|
|
228
|
+
chartsChartNotSelected: 'Seleccionar un tipo de gráfico para configurar sus opciones',
|
|
229
|
+
chartsTabChart: 'Gráfico',
|
|
230
|
+
chartsTabFields: 'Campos',
|
|
231
|
+
chartsTabCustomize: 'Personalizar',
|
|
232
|
+
chartsCloseButton: 'Cerrar la configuración de gráficos',
|
|
233
|
+
chartsSyncButtonLabel: 'Sincronizar gráfico',
|
|
234
|
+
chartsSearchPlaceholder: 'Campos de búsqueda',
|
|
235
|
+
chartsSearchLabel: 'Campos de búsqueda',
|
|
236
|
+
chartsSearchClear: 'Limpiar búsqueda',
|
|
237
|
+
chartsNoFields: 'Ningún campo',
|
|
238
|
+
chartsFieldBlocked: 'Este campo no se puede añadir a ninguna sección',
|
|
239
|
+
chartsCategories: 'Categorías',
|
|
240
|
+
chartsSeries: 'Series',
|
|
241
|
+
chartsMenuAddToDimensions: dimensionLabel => `Añadir a ${dimensionLabel}`,
|
|
242
|
+
chartsMenuAddToValues: valuesLabel => `Añadir a ${valuesLabel}`,
|
|
243
|
+
chartsMenuMoveUp: 'Mover arriba',
|
|
244
|
+
chartsMenuMoveDown: 'Mover abajo',
|
|
245
|
+
chartsMenuMoveToTop: 'Mover al inicio',
|
|
246
|
+
chartsMenuMoveToBottom: 'Mover al final',
|
|
247
|
+
chartsMenuOptions: 'Opciones de campo',
|
|
248
|
+
chartsMenuRemove: 'Eliminar',
|
|
249
|
+
chartsDragToDimensions: dimensionLabel => `Arrastrar aquí para utilizar la columna como ${dimensionLabel}`,
|
|
250
|
+
chartsDragToValues: valuesLabel => `Arrastrar aquí para utilizar la columna como ${valuesLabel}`,
|
|
259
251
|
// AI Assistant panel
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
252
|
+
aiAssistantPanelTitle: 'Asistente de IA',
|
|
253
|
+
aiAssistantPanelClose: 'Cerrar el asistente de IA',
|
|
254
|
+
aiAssistantPanelNewConversation: 'Nueva conversación',
|
|
255
|
+
aiAssistantPanelConversationHistory: 'Historial de conversaciones',
|
|
256
|
+
aiAssistantPanelEmptyConversation: 'El historial de conversaciones está vacío',
|
|
257
|
+
aiAssistantSuggestions: 'Sugerencias',
|
|
267
258
|
// Prompt field
|
|
268
259
|
promptFieldLabel: 'Prompt',
|
|
269
260
|
promptFieldPlaceholder: 'Escribe un prompt…',
|
|
270
261
|
promptFieldPlaceholderWithRecording: 'Escriba o grabe un prompt…',
|
|
271
262
|
promptFieldPlaceholderListening: 'Esperando por un prompt…',
|
|
272
|
-
|
|
263
|
+
promptFieldSpeechRecognitionNotSupported: 'El reconocimiento de voz no está soportado en este navegador',
|
|
273
264
|
promptFieldSend: 'Enviar',
|
|
274
265
|
promptFieldRecord: 'Grabar',
|
|
275
|
-
promptFieldStopRecording: 'Parar de grabar'
|
|
276
|
-
|
|
266
|
+
promptFieldStopRecording: 'Parar de grabar',
|
|
277
267
|
// Prompt
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
268
|
+
promptRerun: 'Ejecutar de nuevo',
|
|
269
|
+
promptProcessing: 'Procesando…',
|
|
270
|
+
promptAppliedChanges: 'Se han aplicado los cambios',
|
|
282
271
|
// Prompt changes
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
272
|
+
promptChangeGroupDescription: column => `Agrupar por ${column}`,
|
|
273
|
+
promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
|
|
274
|
+
promptChangeAggregationDescription: (column, aggregation) => `Agregar ${column} (${aggregation})`,
|
|
275
|
+
promptChangeFilterLabel: (column, operator, value) => {
|
|
276
|
+
if (operator === 'is any of') {
|
|
277
|
+
return `${column} es uno de: ${value}`;
|
|
278
|
+
}
|
|
279
|
+
return `${column} ${operator} ${value}`;
|
|
280
|
+
},
|
|
281
|
+
promptChangeFilterDescription: (column, operator, value) => {
|
|
282
|
+
if (operator === 'is any of') {
|
|
283
|
+
return `Filtrar por ${column} cuando sea uno de: ${value}`;
|
|
284
|
+
}
|
|
285
|
+
return `Filtrar por ${column} ${operator} ${value}`;
|
|
286
|
+
},
|
|
287
|
+
promptChangeSortDescription: (column, direction) => `Ordenar por ${column} (${direction})`,
|
|
288
|
+
promptChangePivotEnableLabel: 'Tabla dinámica',
|
|
289
|
+
promptChangePivotEnableDescription: 'Activar tabla dinámica',
|
|
290
|
+
promptChangePivotColumnsLabel: count => `Columnas (${count})`,
|
|
291
|
+
promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
292
|
+
promptChangePivotRowsLabel: count => `Filas (${count})`,
|
|
293
|
+
promptChangePivotValuesLabel: count => `Valores (${count})`,
|
|
294
|
+
promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`,
|
|
295
|
+
promptChangeChartsLabel: (dimensionsCount, valuesCount) => `Dimensiones (${dimensionsCount}), Valores (${valuesCount})`
|
|
307
296
|
};
|
|
308
297
|
const esES = exports.esES = (0, _getGridLocalization.getGridLocalization)(esESGrid);
|
package/locales/index.d.ts
CHANGED
package/locales/index.js
CHANGED
|
@@ -58,6 +58,17 @@ Object.keys(_csCZ).forEach(function (key) {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
+
var _caES = require("./caES");
|
|
62
|
+
Object.keys(_caES).forEach(function (key) {
|
|
63
|
+
if (key === "default" || key === "__esModule") return;
|
|
64
|
+
if (key in exports && exports[key] === _caES[key]) return;
|
|
65
|
+
Object.defineProperty(exports, key, {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return _caES[key];
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
});
|
|
61
72
|
var _daDK = require("./daDK");
|
|
62
73
|
Object.keys(_daDK).forEach(function (key) {
|
|
63
74
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
export declare const GridArrowUpwardIcon: (props: import("@mui/x-data-grid").GridBaseIconProps) => React.ReactNode;
|
|
3
2
|
export declare const GridArrowDownwardIcon: (props: import("@mui/x-data-grid").GridBaseIconProps) => React.ReactNode;
|
|
4
3
|
export declare const GridKeyboardArrowRight: (props: import("@mui/x-data-grid").GridBaseIconProps) => React.ReactNode;
|
package/material/icons/index.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.GridVisibilityOffIcon = exports.GridViewStreamIcon = exports.GridViewHeadlineIcon = exports.GridViewColumnIcon = exports.GridTripleDotsVerticalIcon = exports.GridTableRowsIcon = exports.GridSeparatorIcon = exports.GridSearchIcon = exports.GridRemoveIcon = exports.GridMoreVertIcon = exports.GridMenuIcon = exports.GridLoadIcon = exports.GridKeyboardArrowRight = exports.GridFilterListIcon = exports.GridFilterAltIcon = exports.GridExpandMoreIcon = exports.GridDragIcon = exports.GridDownloadIcon = exports.GridDeleteIcon = exports.GridDeleteForeverIcon = exports.GridColumnIcon = exports.GridCloseIcon = exports.GridClearIcon = exports.GridCheckIcon = exports.GridCheckCircleIcon = exports.GridArrowUpwardIcon = exports.GridArrowDownwardIcon = exports.GridAddIcon = void 0;
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
7
|
var _createSvgIcon = require("./createSvgIcon");
|
|
10
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
9
|
const GridArrowUpwardIcon = exports.GridArrowUpwardIcon = (0, _createSvgIcon.createSvgIcon)(/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import { GridPrivateApiCommunity } from "../api/gridApiCommunity.js";
|
|
3
|
+
import { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
4
|
+
import { GridEditingApi } from "../api/gridEditingApi.js";
|
|
5
|
+
/**
|
|
6
|
+
* Get the cell editable condition function
|
|
7
|
+
* @param {Object} params The cell parameters
|
|
8
|
+
* @param {Object} params.rowNode The row node
|
|
9
|
+
* @param {Object} params.colDef The column definition
|
|
10
|
+
* @param {any} params.value The cell value
|
|
11
|
+
* @returns {boolean} Whether the cell is editable
|
|
12
|
+
*/
|
|
13
|
+
export type CellEditableConditionFn = (params: Parameters<GridEditingApi['isCellEditable']>[0]) => boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Cell editable configuration interface for internal hooks
|
|
16
|
+
*/
|
|
17
|
+
export interface GridCellEditableInternalHook<Api = GridPrivateApiCommunity, Props = DataGridProcessedProps> {
|
|
18
|
+
useIsCellEditable: (apiRef: RefObject<Api>, props: Props) => CellEditableConditionFn;
|
|
19
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridRowAriaAttributesInternalHook, GridRowsOverridableMethodsInternalHook } from "./gridRowConfiguration.js";
|
|
3
3
|
import type { GridAggregationInternalHooks } from "./gridAggregationConfiguration.js";
|
|
4
|
+
import type { GridCellEditableInternalHook } from "./gridCellEditableConfiguration.js";
|
|
4
5
|
import type { GridCSSVariablesInterface } from "../../constants/cssVariables.js";
|
|
5
6
|
import { DataGridProcessedProps } from "../props/DataGridProps.js";
|
|
6
7
|
import type { GridPrivateApiCommon } from "../api/gridApiCommon.js";
|
|
@@ -9,7 +10,7 @@ import type { GridParamsOverridableMethodsInternalHook } from "./gridParamsConfi
|
|
|
9
10
|
export interface GridAriaAttributesInternalHook {
|
|
10
11
|
useGridAriaAttributes: () => React.HTMLAttributes<HTMLElement>;
|
|
11
12
|
}
|
|
12
|
-
export interface GridInternalHook<Api, Props> extends GridAriaAttributesInternalHook, GridRowAriaAttributesInternalHook, GridAggregationInternalHooks<Api, Props>, GridRowsOverridableMethodsInternalHook<Api>, GridParamsOverridableMethodsInternalHook<Api> {
|
|
13
|
+
export interface GridInternalHook<Api, Props> extends GridAriaAttributesInternalHook, GridRowAriaAttributesInternalHook, GridCellEditableInternalHook<Api, Props>, GridAggregationInternalHooks<Api, Props>, GridRowsOverridableMethodsInternalHook<Api>, GridParamsOverridableMethodsInternalHook<Api> {
|
|
13
14
|
useCSSVariables: () => {
|
|
14
15
|
id: string;
|
|
15
16
|
variables: GridCSSVariablesInterface;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.17.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Community plan edition of the MUI X Data Grid components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"use-sync-external-store": "^1.6.0",
|
|
45
|
-
"@mui/x-internals": "8.
|
|
46
|
-
"@mui/x-virtualizer": "0.2.
|
|
45
|
+
"@mui/x-internals": "8.17.0",
|
|
46
|
+
"@mui/x-virtualizer": "0.2.7"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/css/context.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
export declare function useCSSVariablesClass(): string;
|
|
3
3
|
export declare function useCSSVariablesContext(): {
|
|
4
4
|
className: string;
|
|
5
|
-
tag:
|
|
5
|
+
tag: import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export declare function GridPortalWrapper({
|
|
8
8
|
children
|
|
9
9
|
}: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
|
-
}):
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare function GridCSSVariablesContext(props: {
|
|
13
13
|
children: any;
|
|
14
|
-
}):
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|