@mui/x-data-grid 8.16.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 +108 -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/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/pagination/useGridPaginationModel.js +5 -3
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.d.ts +1 -1
- 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/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/utils/css/context.d.ts +3 -3
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
- package/hooks/features/pagination/useGridPaginationModel.js +5 -3
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/locales/arSD.js +12 -12
- package/locales/caES.d.ts +2 -0
- package/locales/caES.js +297 -0
- 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/package.json +3 -3
- package/utils/css/context.d.ts +3 -3
package/locales/caES.js
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.caES = void 0;
|
|
7
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
8
|
+
const caESGrid = {
|
|
9
|
+
// Root
|
|
10
|
+
noRowsLabel: 'Sense files',
|
|
11
|
+
noResultsOverlayLabel: "No s'han trobat resultats",
|
|
12
|
+
noColumnsOverlayLabel: 'Cap columna',
|
|
13
|
+
noColumnsOverlayManageColumns: 'Gestiona les columnes',
|
|
14
|
+
emptyPivotOverlayLabel: 'Afegiu camps a files, columnes i valors per crear una taula dinàmica',
|
|
15
|
+
// Density selector toolbar button text
|
|
16
|
+
toolbarDensity: 'Densitat',
|
|
17
|
+
toolbarDensityLabel: 'Densitat',
|
|
18
|
+
toolbarDensityCompact: 'Compacta',
|
|
19
|
+
toolbarDensityStandard: 'Estàndard',
|
|
20
|
+
toolbarDensityComfortable: 'Còmoda',
|
|
21
|
+
// Columns selector toolbar button text
|
|
22
|
+
toolbarColumns: 'Columnes',
|
|
23
|
+
toolbarColumnsLabel: 'Selecciona columnes',
|
|
24
|
+
// Filters toolbar button text
|
|
25
|
+
toolbarFilters: 'Filtres',
|
|
26
|
+
toolbarFiltersLabel: 'Mostra filtres',
|
|
27
|
+
toolbarFiltersTooltipHide: 'Amaga filtres',
|
|
28
|
+
toolbarFiltersTooltipShow: 'Mostra filtres',
|
|
29
|
+
toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtres actius` : `${count} filtre actiu`,
|
|
30
|
+
// Quick filter toolbar field
|
|
31
|
+
toolbarQuickFilterPlaceholder: 'Cerca…',
|
|
32
|
+
toolbarQuickFilterLabel: 'Cerca',
|
|
33
|
+
toolbarQuickFilterDeleteIconLabel: 'Neteja',
|
|
34
|
+
// Export selector toolbar button text
|
|
35
|
+
toolbarExport: 'Exporta',
|
|
36
|
+
toolbarExportLabel: 'Exporta',
|
|
37
|
+
toolbarExportCSV: 'Baixa com a CSV',
|
|
38
|
+
toolbarExportPrint: 'Imprimeix',
|
|
39
|
+
toolbarExportExcel: 'Baixa com a Excel',
|
|
40
|
+
// Toolbar pivot button
|
|
41
|
+
toolbarPivot: 'Taula dinàmica',
|
|
42
|
+
// Toolbar charts button
|
|
43
|
+
toolbarCharts: 'Gràfics',
|
|
44
|
+
// Toolbar AI Assistant button
|
|
45
|
+
toolbarAssistant: "Assistent d'IA",
|
|
46
|
+
// Columns management text
|
|
47
|
+
columnsManagementSearchTitle: 'Cerca',
|
|
48
|
+
columnsManagementNoColumns: 'Sense columnes',
|
|
49
|
+
columnsManagementShowHideAllText: 'Mostra/Amaga-ho tot',
|
|
50
|
+
columnsManagementReset: 'Restableix',
|
|
51
|
+
columnsManagementDeleteIconLabel: 'Neteja',
|
|
52
|
+
// Filter panel text
|
|
53
|
+
filterPanelAddFilter: 'Afegeix filtre',
|
|
54
|
+
filterPanelRemoveAll: "Elimina'ls tots",
|
|
55
|
+
filterPanelDeleteIconLabel: 'Esborra',
|
|
56
|
+
filterPanelLogicOperator: 'Operador lògic',
|
|
57
|
+
filterPanelOperator: 'Operadors',
|
|
58
|
+
filterPanelOperatorAnd: 'I',
|
|
59
|
+
filterPanelOperatorOr: 'O',
|
|
60
|
+
filterPanelColumns: 'Columnes',
|
|
61
|
+
filterPanelInputLabel: 'Valor',
|
|
62
|
+
filterPanelInputPlaceholder: 'Valor del filtre',
|
|
63
|
+
// Filter operators text
|
|
64
|
+
filterOperatorContains: 'conté',
|
|
65
|
+
filterOperatorDoesNotContain: 'no conté',
|
|
66
|
+
filterOperatorEquals: 'és igual a',
|
|
67
|
+
filterOperatorDoesNotEqual: 'no és igual a',
|
|
68
|
+
filterOperatorStartsWith: 'comença per',
|
|
69
|
+
filterOperatorEndsWith: 'acaba en',
|
|
70
|
+
filterOperatorIs: 'és',
|
|
71
|
+
filterOperatorNot: 'no és',
|
|
72
|
+
filterOperatorAfter: 'és posterior',
|
|
73
|
+
filterOperatorOnOrAfter: 'és igual o posterior',
|
|
74
|
+
filterOperatorBefore: 'és anterior',
|
|
75
|
+
filterOperatorOnOrBefore: 'és igual o anterior',
|
|
76
|
+
filterOperatorIsEmpty: 'està buit',
|
|
77
|
+
filterOperatorIsNotEmpty: 'no està buit',
|
|
78
|
+
filterOperatorIsAnyOf: 'és qualsevol de',
|
|
79
|
+
'filterOperator=': '=',
|
|
80
|
+
'filterOperator!=': '!=',
|
|
81
|
+
'filterOperator>': '>',
|
|
82
|
+
'filterOperator>=': '>=',
|
|
83
|
+
'filterOperator<': '<',
|
|
84
|
+
'filterOperator<=': '<=',
|
|
85
|
+
// Header filter operators text
|
|
86
|
+
headerFilterOperatorContains: 'Conté',
|
|
87
|
+
headerFilterOperatorDoesNotContain: 'No conté',
|
|
88
|
+
headerFilterOperatorEquals: 'És igual a',
|
|
89
|
+
headerFilterOperatorDoesNotEqual: 'No és igual a',
|
|
90
|
+
headerFilterOperatorStartsWith: 'Comença per',
|
|
91
|
+
headerFilterOperatorEndsWith: 'Acaba en',
|
|
92
|
+
headerFilterOperatorIs: 'És',
|
|
93
|
+
headerFilterOperatorNot: 'No és',
|
|
94
|
+
headerFilterOperatorAfter: 'És posterior a',
|
|
95
|
+
headerFilterOperatorOnOrAfter: 'És igual o posterior a',
|
|
96
|
+
headerFilterOperatorBefore: 'És anterior a',
|
|
97
|
+
headerFilterOperatorOnOrBefore: 'És igual o anterior a',
|
|
98
|
+
headerFilterOperatorIsEmpty: 'Està buit',
|
|
99
|
+
headerFilterOperatorIsNotEmpty: 'No està buit',
|
|
100
|
+
headerFilterOperatorIsAnyOf: 'És qualsevol de',
|
|
101
|
+
'headerFilterOperator=': 'És igual a',
|
|
102
|
+
'headerFilterOperator!=': 'No és igual a',
|
|
103
|
+
'headerFilterOperator>': 'És més gran que',
|
|
104
|
+
'headerFilterOperator>=': 'És més gran o igual que',
|
|
105
|
+
'headerFilterOperator<': 'És més petit que',
|
|
106
|
+
'headerFilterOperator<=': 'És més petit o igual que',
|
|
107
|
+
headerFilterClear: 'Neteja filtres',
|
|
108
|
+
// Filter values text
|
|
109
|
+
filterValueAny: 'qualsevol',
|
|
110
|
+
filterValueTrue: 'veritable',
|
|
111
|
+
filterValueFalse: 'fals',
|
|
112
|
+
// Column menu text
|
|
113
|
+
columnMenuLabel: 'Menú',
|
|
114
|
+
columnMenuAriaLabel: columnName => `Menú de la columna ${columnName}`,
|
|
115
|
+
columnMenuShowColumns: 'Mostra columnes',
|
|
116
|
+
columnMenuManageColumns: 'Gestiona columnes',
|
|
117
|
+
columnMenuFilter: 'Filtre',
|
|
118
|
+
columnMenuHideColumn: 'Amaga',
|
|
119
|
+
columnMenuUnsort: 'Desordena',
|
|
120
|
+
columnMenuSortAsc: 'Ordena ASC',
|
|
121
|
+
columnMenuSortDesc: 'Ordena DESC',
|
|
122
|
+
columnMenuManagePivot: 'Gestiona la taula dinàmica',
|
|
123
|
+
columnMenuManageCharts: 'Gestiona els gràfics',
|
|
124
|
+
// Column header text
|
|
125
|
+
columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtres actius` : `${count} filtre actiu`,
|
|
126
|
+
columnHeaderFiltersLabel: 'Mostra filtres',
|
|
127
|
+
columnHeaderSortIconLabel: 'Ordena',
|
|
128
|
+
// Rows selected footer text
|
|
129
|
+
footerRowSelected: count => count > 1 ? `${count.toLocaleString()} files seleccionades` : `${count.toLocaleString()} fila seleccionada`,
|
|
130
|
+
// Total row amount footer text
|
|
131
|
+
footerTotalRows: 'Files totals:',
|
|
132
|
+
// Total visible row amount footer text
|
|
133
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} de ${totalCount.toLocaleString()}`,
|
|
134
|
+
// Checkbox selection text
|
|
135
|
+
checkboxSelectionHeaderName: 'Casella de selecció',
|
|
136
|
+
checkboxSelectionSelectAllRows: 'Selecciona totes les files',
|
|
137
|
+
checkboxSelectionUnselectAllRows: 'Desselecciona totes les files',
|
|
138
|
+
checkboxSelectionSelectRow: 'Selecciona fila',
|
|
139
|
+
checkboxSelectionUnselectRow: 'Desselecciona fila',
|
|
140
|
+
// Boolean cell text
|
|
141
|
+
booleanCellTrueLabel: 'sí',
|
|
142
|
+
booleanCellFalseLabel: 'no',
|
|
143
|
+
// Actions cell more text
|
|
144
|
+
actionsCellMore: 'més',
|
|
145
|
+
// Column pinning text
|
|
146
|
+
pinToLeft: "Fixa a l'esquerra",
|
|
147
|
+
pinToRight: 'Fixa a la dreta',
|
|
148
|
+
unpin: 'Desfixa',
|
|
149
|
+
// Tree Data
|
|
150
|
+
treeDataGroupingHeaderName: 'Grup',
|
|
151
|
+
treeDataExpand: 'mostra fills',
|
|
152
|
+
treeDataCollapse: 'amaga fills',
|
|
153
|
+
// Grouping columns
|
|
154
|
+
groupingColumnHeaderName: 'Grup',
|
|
155
|
+
groupColumn: name => `Agrupa per ${name}`,
|
|
156
|
+
unGroupColumn: name => `No agrupis per ${name}`,
|
|
157
|
+
// Master/detail
|
|
158
|
+
detailPanelToggle: 'Alterna detall',
|
|
159
|
+
expandDetailPanel: 'Expandeix',
|
|
160
|
+
collapseDetailPanel: 'Contrau',
|
|
161
|
+
// Pagination
|
|
162
|
+
paginationRowsPerPage: 'Files per pàgina:',
|
|
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 ? `al voltant de ${estimated}` : `més de ${to}`;
|
|
173
|
+
return `${from}–${to} de ${count !== -1 ? count : estimatedLabel}`;
|
|
174
|
+
},
|
|
175
|
+
paginationItemAriaLabel: type => {
|
|
176
|
+
if (type === 'first') {
|
|
177
|
+
return 'Vés a la primera pàgina';
|
|
178
|
+
}
|
|
179
|
+
if (type === 'last') {
|
|
180
|
+
return "Vés a l'última pàgina";
|
|
181
|
+
}
|
|
182
|
+
if (type === 'next') {
|
|
183
|
+
return 'Vés a la pàgina següent';
|
|
184
|
+
}
|
|
185
|
+
// if (type === 'previous') {
|
|
186
|
+
return 'Vés a la pàgina anterior';
|
|
187
|
+
},
|
|
188
|
+
// Row reordering text
|
|
189
|
+
rowReorderingHeaderName: 'Reordena files',
|
|
190
|
+
// Aggregation
|
|
191
|
+
aggregationMenuItemHeader: 'Agregació',
|
|
192
|
+
aggregationFunctionLabelNone: 'cap',
|
|
193
|
+
aggregationFunctionLabelSum: 'suma',
|
|
194
|
+
aggregationFunctionLabelAvg: 'mitjana',
|
|
195
|
+
aggregationFunctionLabelMin: 'mínim',
|
|
196
|
+
aggregationFunctionLabelMax: 'màxim',
|
|
197
|
+
aggregationFunctionLabelSize: 'recompte',
|
|
198
|
+
// Pivot panel
|
|
199
|
+
pivotToggleLabel: 'Taula dinàmica',
|
|
200
|
+
pivotRows: 'Files',
|
|
201
|
+
pivotColumns: 'Columnes',
|
|
202
|
+
pivotValues: 'Valors',
|
|
203
|
+
pivotCloseButton: 'Tanca la configuració de taula dinàmica',
|
|
204
|
+
pivotSearchButton: 'Camps de cerca',
|
|
205
|
+
pivotSearchControlPlaceholder: 'Camps de cerca',
|
|
206
|
+
pivotSearchControlLabel: 'Camps de cerca',
|
|
207
|
+
pivotSearchControlClear: 'Neteja la cerca',
|
|
208
|
+
pivotNoFields: 'Cap camp',
|
|
209
|
+
pivotMenuMoveUp: 'Mou amunt',
|
|
210
|
+
pivotMenuMoveDown: 'Mou avall',
|
|
211
|
+
pivotMenuMoveToTop: 'Mou al principi',
|
|
212
|
+
pivotMenuMoveToBottom: 'Mou al final',
|
|
213
|
+
pivotMenuRows: 'Files',
|
|
214
|
+
pivotMenuColumns: 'Columnes',
|
|
215
|
+
pivotMenuValues: 'Valors',
|
|
216
|
+
pivotMenuOptions: 'Opcions del camp',
|
|
217
|
+
pivotMenuAddToRows: 'Afegeix a files',
|
|
218
|
+
pivotMenuAddToColumns: 'Afegeix a columnes',
|
|
219
|
+
pivotMenuAddToValues: 'Afegeix a valors',
|
|
220
|
+
pivotMenuRemove: 'Elimina',
|
|
221
|
+
pivotDragToRows: 'Arrossega aquí per crear files',
|
|
222
|
+
pivotDragToColumns: 'Arrossega aquí per crear columnes',
|
|
223
|
+
pivotDragToValues: 'Arrossega aquí per crear valors',
|
|
224
|
+
pivotYearColumnHeaderName: '(Any)',
|
|
225
|
+
pivotQuarterColumnHeaderName: '(Trimestre)',
|
|
226
|
+
// Charts configuration panel
|
|
227
|
+
chartsNoCharts: 'No hi ha cap gràfic disponible',
|
|
228
|
+
chartsChartNotSelected: 'Selecciona un tipus de gràfic per configurar les seves opcions',
|
|
229
|
+
chartsTabChart: 'Gràfic',
|
|
230
|
+
chartsTabFields: 'Camps',
|
|
231
|
+
chartsTabCustomize: 'Personalitza',
|
|
232
|
+
chartsCloseButton: 'Tanca la configuració de gràfics',
|
|
233
|
+
chartsSyncButtonLabel: 'Sincronitza gràfic',
|
|
234
|
+
chartsSearchPlaceholder: 'Camps de cerca',
|
|
235
|
+
chartsSearchLabel: 'Camps de cerca',
|
|
236
|
+
chartsSearchClear: 'Neteja la cerca',
|
|
237
|
+
chartsNoFields: 'Cap camp',
|
|
238
|
+
chartsFieldBlocked: 'Aquest camp no es pot afegir a cap secció',
|
|
239
|
+
chartsCategories: 'Categories',
|
|
240
|
+
chartsSeries: 'Sèries',
|
|
241
|
+
chartsMenuAddToDimensions: dimensionLabel => `Afegeix a ${dimensionLabel}`,
|
|
242
|
+
chartsMenuAddToValues: valuesLabel => `Afegeix a ${valuesLabel}`,
|
|
243
|
+
chartsMenuMoveUp: 'Mou amunt',
|
|
244
|
+
chartsMenuMoveDown: 'Mou avall',
|
|
245
|
+
chartsMenuMoveToTop: 'Mou al principi',
|
|
246
|
+
chartsMenuMoveToBottom: 'Mou al final',
|
|
247
|
+
chartsMenuOptions: 'Opcions del camp',
|
|
248
|
+
chartsMenuRemove: 'Elimina',
|
|
249
|
+
chartsDragToDimensions: dimensionLabel => `Arrossega aquí per utilitzar la columna com a ${dimensionLabel}`,
|
|
250
|
+
chartsDragToValues: valuesLabel => `Arrossega aquí per utilitzar la columna com a ${valuesLabel}`,
|
|
251
|
+
// AI Assistant panel
|
|
252
|
+
aiAssistantPanelTitle: "Assistent d'IA",
|
|
253
|
+
aiAssistantPanelClose: "Tanca l'assistent d'IA",
|
|
254
|
+
aiAssistantPanelNewConversation: 'Nova conversa',
|
|
255
|
+
aiAssistantPanelConversationHistory: 'Historial de converses',
|
|
256
|
+
aiAssistantPanelEmptyConversation: "L'historial de converses és buit",
|
|
257
|
+
aiAssistantSuggestions: 'Suggeriments',
|
|
258
|
+
// Prompt field
|
|
259
|
+
promptFieldLabel: 'Petició',
|
|
260
|
+
promptFieldPlaceholder: 'Escriu una petició…',
|
|
261
|
+
promptFieldPlaceholderWithRecording: 'Escriu o enregistra una petició…',
|
|
262
|
+
promptFieldPlaceholderListening: 'Esperant una petició…',
|
|
263
|
+
promptFieldSpeechRecognitionNotSupported: 'El reconeixement de veu no és compatible amb aquest navegador',
|
|
264
|
+
promptFieldSend: 'Envia',
|
|
265
|
+
promptFieldRecord: 'Enregistra',
|
|
266
|
+
promptFieldStopRecording: "Atura l'enregistrament",
|
|
267
|
+
// Prompt
|
|
268
|
+
promptRerun: 'Torna a executar',
|
|
269
|
+
promptProcessing: 'Processant…',
|
|
270
|
+
promptAppliedChanges: "S'han aplicat els canvis",
|
|
271
|
+
// Prompt changes
|
|
272
|
+
promptChangeGroupDescription: column => `Agrupa per ${column}`,
|
|
273
|
+
promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
|
|
274
|
+
promptChangeAggregationDescription: (column, aggregation) => `Agrega ${column} (${aggregation})`,
|
|
275
|
+
promptChangeFilterLabel: (column, operator, value) => {
|
|
276
|
+
if (operator === 'is any of') {
|
|
277
|
+
return `${column} és un de: ${value}`;
|
|
278
|
+
}
|
|
279
|
+
return `${column} ${operator} ${value}`;
|
|
280
|
+
},
|
|
281
|
+
promptChangeFilterDescription: (column, operator, value) => {
|
|
282
|
+
if (operator === 'is any of') {
|
|
283
|
+
return `Filtra per ${column} quan sigui un de: ${value}`;
|
|
284
|
+
}
|
|
285
|
+
return `Filtra per ${column} ${operator} ${value}`;
|
|
286
|
+
},
|
|
287
|
+
promptChangeSortDescription: (column, direction) => `Ordena per ${column} (${direction})`,
|
|
288
|
+
promptChangePivotEnableLabel: 'Taula dinàmica',
|
|
289
|
+
promptChangePivotEnableDescription: 'Activa la taula dinàmica',
|
|
290
|
+
promptChangePivotColumnsLabel: count => `Columnes (${count})`,
|
|
291
|
+
promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
292
|
+
promptChangePivotRowsLabel: count => `Files (${count})`,
|
|
293
|
+
promptChangePivotValuesLabel: count => `Valors (${count})`,
|
|
294
|
+
promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`,
|
|
295
|
+
promptChangeChartsLabel: (dimensionsCount, valuesCount) => `Dimensions (${dimensionsCount}), Valors (${valuesCount})`
|
|
296
|
+
};
|
|
297
|
+
const caES = exports.caES = (0, _getGridLocalization.getGridLocalization)(caESGrid);
|
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", {
|
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;
|