@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.
Files changed (204) hide show
  1. package/CHANGELOG.md +207 -0
  2. package/DataGrid/DataGrid.js +2 -0
  3. package/DataGrid/useDataGridComponent.js +1 -1
  4. package/colDef/gridCheckboxSelectionColDef.js +0 -2
  5. package/components/GridColumnSortButton.d.ts +1 -1
  6. package/components/GridFooter.d.ts +2 -3
  7. package/components/GridFooter.js +0 -2
  8. package/components/GridHeader.d.ts +1 -2
  9. package/components/GridHeaders.d.ts +1 -2
  10. package/components/GridHeaders.js +0 -2
  11. package/components/GridNoColumnsOverlay.d.ts +2 -3
  12. package/components/GridNoColumnsOverlay.js +0 -2
  13. package/components/GridNoResultsOverlay.d.ts +2 -3
  14. package/components/GridNoResultsOverlay.js +0 -2
  15. package/components/GridNoRowsOverlay.d.ts +2 -3
  16. package/components/GridNoRowsOverlay.js +0 -2
  17. package/components/GridPagination.d.ts +1 -2
  18. package/components/GridScrollArea.d.ts +1 -2
  19. package/components/GridScrollShadows.d.ts +1 -2
  20. package/components/GridScrollbarFillerCell.d.ts +1 -2
  21. package/components/GridScrollbarFillerCell.js +0 -2
  22. package/components/base/GridFooterPlaceholder.d.ts +1 -2
  23. package/components/base/GridFooterPlaceholder.js +0 -2
  24. package/components/base/GridOverlays.d.ts +1 -1
  25. package/components/cell/GridActionsCell.d.ts +2 -3
  26. package/components/cell/GridActionsCell.js +2 -0
  27. package/components/cell/GridActionsCellItem.js +5 -18
  28. package/components/cell/GridBooleanCell.d.ts +1 -1
  29. package/components/cell/GridCell.js +8 -1
  30. package/components/cell/GridEditBooleanCell.d.ts +2 -2
  31. package/components/cell/GridEditDateCell.d.ts +2 -2
  32. package/components/cell/GridEditInputCell.d.ts +1 -1
  33. package/components/cell/GridEditInputCell.js +0 -68
  34. package/components/cell/GridEditSingleSelectCell.d.ts +2 -3
  35. package/components/cell/GridSkeletonCell.d.ts +1 -1
  36. package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  37. package/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
  38. package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
  39. package/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
  40. package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
  41. package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  42. package/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
  43. package/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
  44. package/components/menu/GridMenu.d.ts +1 -1
  45. package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  46. package/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
  47. package/components/menu/columnMenu/GridColumnMenu.js +0 -2
  48. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
  49. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
  50. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
  51. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
  52. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
  53. package/components/panel/GridColumnsPanel.d.ts +1 -2
  54. package/components/panel/GridColumnsPanel.js +0 -2
  55. package/components/panel/GridPanelContent.d.ts +1 -1
  56. package/components/panel/GridPanelContext.d.ts +1 -1
  57. package/components/panel/GridPanelFooter.d.ts +1 -1
  58. package/components/panel/GridPanelHeader.d.ts +1 -1
  59. package/components/panel/GridPreferencesPanel.d.ts +1 -2
  60. package/components/panel/GridPreferencesPanel.js +0 -2
  61. package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
  62. package/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
  63. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
  64. package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
  65. package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
  66. package/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
  67. package/components/quickFilter/QuickFilter.d.ts +1 -1
  68. package/components/toolbar/GridToolbar.d.ts +1 -2
  69. package/components/toolbar/GridToolbar.js +0 -2
  70. package/components/toolbar/GridToolbarExport.d.ts +2 -2
  71. package/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
  72. package/components/toolbar/GridToolbarQuickFilter.js +0 -2
  73. package/components/toolbarV8/GridToolbar.d.ts +3 -3
  74. package/components/virtualization/GridBottomContainer.d.ts +1 -1
  75. package/components/virtualization/GridTopContainer.d.ts +1 -1
  76. package/components/virtualization/GridVirtualScroller.d.ts +1 -1
  77. package/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
  78. package/context/GridContextProvider.d.ts +1 -1
  79. package/esm/DataGrid/DataGrid.js +2 -0
  80. package/esm/DataGrid/useDataGridComponent.js +1 -1
  81. package/esm/colDef/gridCheckboxSelectionColDef.js +0 -1
  82. package/esm/components/GridColumnSortButton.d.ts +1 -1
  83. package/esm/components/GridFooter.d.ts +2 -3
  84. package/esm/components/GridFooter.js +0 -1
  85. package/esm/components/GridHeader.d.ts +1 -2
  86. package/esm/components/GridHeaders.d.ts +1 -2
  87. package/esm/components/GridHeaders.js +0 -1
  88. package/esm/components/GridNoColumnsOverlay.d.ts +2 -3
  89. package/esm/components/GridNoColumnsOverlay.js +0 -1
  90. package/esm/components/GridNoResultsOverlay.d.ts +2 -3
  91. package/esm/components/GridNoResultsOverlay.js +0 -1
  92. package/esm/components/GridNoRowsOverlay.d.ts +2 -3
  93. package/esm/components/GridNoRowsOverlay.js +0 -1
  94. package/esm/components/GridPagination.d.ts +1 -2
  95. package/esm/components/GridScrollArea.d.ts +1 -2
  96. package/esm/components/GridScrollShadows.d.ts +1 -2
  97. package/esm/components/GridScrollbarFillerCell.d.ts +1 -2
  98. package/esm/components/GridScrollbarFillerCell.js +0 -1
  99. package/esm/components/base/GridFooterPlaceholder.d.ts +1 -2
  100. package/esm/components/base/GridFooterPlaceholder.js +0 -1
  101. package/esm/components/base/GridOverlays.d.ts +1 -1
  102. package/esm/components/cell/GridActionsCell.d.ts +2 -3
  103. package/esm/components/cell/GridActionsCell.js +2 -0
  104. package/esm/components/cell/GridActionsCellItem.js +4 -17
  105. package/esm/components/cell/GridBooleanCell.d.ts +1 -1
  106. package/esm/components/cell/GridCell.js +8 -1
  107. package/esm/components/cell/GridEditBooleanCell.d.ts +2 -2
  108. package/esm/components/cell/GridEditDateCell.d.ts +2 -2
  109. package/esm/components/cell/GridEditInputCell.d.ts +1 -1
  110. package/esm/components/cell/GridEditInputCell.js +0 -68
  111. package/esm/components/cell/GridEditSingleSelectCell.d.ts +2 -3
  112. package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
  113. package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  114. package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
  115. package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
  116. package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
  117. package/esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
  118. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  119. package/esm/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
  120. package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
  121. package/esm/components/menu/GridMenu.d.ts +1 -1
  122. package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  123. package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
  124. package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -1
  125. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
  126. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
  127. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
  128. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
  129. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
  130. package/esm/components/panel/GridColumnsPanel.d.ts +1 -2
  131. package/esm/components/panel/GridColumnsPanel.js +0 -1
  132. package/esm/components/panel/GridPanelContent.d.ts +1 -1
  133. package/esm/components/panel/GridPanelContext.d.ts +1 -1
  134. package/esm/components/panel/GridPanelFooter.d.ts +1 -1
  135. package/esm/components/panel/GridPanelHeader.d.ts +1 -1
  136. package/esm/components/panel/GridPreferencesPanel.d.ts +1 -2
  137. package/esm/components/panel/GridPreferencesPanel.js +0 -1
  138. package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
  139. package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
  140. package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
  141. package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
  142. package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
  143. package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
  144. package/esm/components/quickFilter/QuickFilter.d.ts +1 -1
  145. package/esm/components/toolbar/GridToolbar.d.ts +1 -2
  146. package/esm/components/toolbar/GridToolbar.js +0 -1
  147. package/esm/components/toolbar/GridToolbarExport.d.ts +2 -2
  148. package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
  149. package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -1
  150. package/esm/components/toolbarV8/GridToolbar.d.ts +3 -3
  151. package/esm/components/virtualization/GridBottomContainer.d.ts +1 -1
  152. package/esm/components/virtualization/GridTopContainer.d.ts +1 -1
  153. package/esm/components/virtualization/GridVirtualScroller.d.ts +1 -1
  154. package/esm/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
  155. package/esm/context/GridContextProvider.d.ts +1 -1
  156. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
  157. package/esm/hooks/features/editing/useGridCellEditable.d.ts +5 -0
  158. package/esm/hooks/features/editing/useGridCellEditable.js +9 -0
  159. package/esm/hooks/features/editing/useGridEditing.d.ts +2 -1
  160. package/esm/hooks/features/editing/useGridEditing.js +4 -4
  161. package/esm/hooks/features/focus/useGridFocus.js +4 -2
  162. package/esm/hooks/features/pagination/useGridPaginationModel.js +5 -3
  163. package/esm/hooks/features/rowSelection/useGridRowSelection.js +3 -1
  164. package/esm/index.js +1 -1
  165. package/esm/internals/demo/TailwindDemoContainer.d.ts +1 -1
  166. package/esm/internals/index.d.ts +2 -0
  167. package/esm/internals/index.js +1 -0
  168. package/esm/locales/arSD.js +12 -12
  169. package/esm/locales/caES.d.ts +2 -0
  170. package/esm/locales/caES.js +291 -0
  171. package/esm/locales/esES.js +109 -120
  172. package/esm/locales/index.d.ts +1 -0
  173. package/esm/locales/index.js +1 -0
  174. package/esm/material/icons/index.d.ts +0 -1
  175. package/esm/material/icons/index.js +0 -1
  176. package/esm/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
  177. package/esm/models/configuration/gridCellEditableConfiguration.js +1 -0
  178. package/esm/models/configuration/gridConfiguration.d.ts +2 -1
  179. package/esm/utils/css/context.d.ts +3 -3
  180. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
  181. package/hooks/features/editing/useGridCellEditable.d.ts +5 -0
  182. package/hooks/features/editing/useGridCellEditable.js +15 -0
  183. package/hooks/features/editing/useGridEditing.d.ts +2 -1
  184. package/hooks/features/editing/useGridEditing.js +4 -4
  185. package/hooks/features/focus/useGridFocus.js +4 -2
  186. package/hooks/features/pagination/useGridPaginationModel.js +5 -3
  187. package/hooks/features/rowSelection/useGridRowSelection.js +3 -1
  188. package/index.js +1 -1
  189. package/internals/demo/TailwindDemoContainer.d.ts +1 -1
  190. package/internals/index.d.ts +2 -0
  191. package/internals/index.js +8 -0
  192. package/locales/arSD.js +12 -12
  193. package/locales/caES.d.ts +2 -0
  194. package/locales/caES.js +297 -0
  195. package/locales/esES.js +109 -120
  196. package/locales/index.d.ts +1 -0
  197. package/locales/index.js +11 -0
  198. package/material/icons/index.d.ts +0 -1
  199. package/material/icons/index.js +0 -2
  200. package/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
  201. package/models/configuration/gridCellEditableConfiguration.js +5 -0
  202. package/models/configuration/gridConfiguration.d.ts +2 -1
  203. package/package.json +3 -3
  204. package/utils/css/context.d.ts +3 -3
@@ -0,0 +1,291 @@
1
+ import { getGridLocalization } from "../utils/getGridLocalization.js";
2
+ const caESGrid = {
3
+ // Root
4
+ noRowsLabel: 'Sense files',
5
+ noResultsOverlayLabel: "No s'han trobat resultats",
6
+ noColumnsOverlayLabel: 'Cap columna',
7
+ noColumnsOverlayManageColumns: 'Gestiona les columnes',
8
+ emptyPivotOverlayLabel: 'Afegiu camps a files, columnes i valors per crear una taula dinàmica',
9
+ // Density selector toolbar button text
10
+ toolbarDensity: 'Densitat',
11
+ toolbarDensityLabel: 'Densitat',
12
+ toolbarDensityCompact: 'Compacta',
13
+ toolbarDensityStandard: 'Estàndard',
14
+ toolbarDensityComfortable: 'Còmoda',
15
+ // Columns selector toolbar button text
16
+ toolbarColumns: 'Columnes',
17
+ toolbarColumnsLabel: 'Selecciona columnes',
18
+ // Filters toolbar button text
19
+ toolbarFilters: 'Filtres',
20
+ toolbarFiltersLabel: 'Mostra filtres',
21
+ toolbarFiltersTooltipHide: 'Amaga filtres',
22
+ toolbarFiltersTooltipShow: 'Mostra filtres',
23
+ toolbarFiltersTooltipActive: count => count > 1 ? `${count} filtres actius` : `${count} filtre actiu`,
24
+ // Quick filter toolbar field
25
+ toolbarQuickFilterPlaceholder: 'Cerca…',
26
+ toolbarQuickFilterLabel: 'Cerca',
27
+ toolbarQuickFilterDeleteIconLabel: 'Neteja',
28
+ // Export selector toolbar button text
29
+ toolbarExport: 'Exporta',
30
+ toolbarExportLabel: 'Exporta',
31
+ toolbarExportCSV: 'Baixa com a CSV',
32
+ toolbarExportPrint: 'Imprimeix',
33
+ toolbarExportExcel: 'Baixa com a Excel',
34
+ // Toolbar pivot button
35
+ toolbarPivot: 'Taula dinàmica',
36
+ // Toolbar charts button
37
+ toolbarCharts: 'Gràfics',
38
+ // Toolbar AI Assistant button
39
+ toolbarAssistant: "Assistent d'IA",
40
+ // Columns management text
41
+ columnsManagementSearchTitle: 'Cerca',
42
+ columnsManagementNoColumns: 'Sense columnes',
43
+ columnsManagementShowHideAllText: 'Mostra/Amaga-ho tot',
44
+ columnsManagementReset: 'Restableix',
45
+ columnsManagementDeleteIconLabel: 'Neteja',
46
+ // Filter panel text
47
+ filterPanelAddFilter: 'Afegeix filtre',
48
+ filterPanelRemoveAll: "Elimina'ls tots",
49
+ filterPanelDeleteIconLabel: 'Esborra',
50
+ filterPanelLogicOperator: 'Operador lògic',
51
+ filterPanelOperator: 'Operadors',
52
+ filterPanelOperatorAnd: 'I',
53
+ filterPanelOperatorOr: 'O',
54
+ filterPanelColumns: 'Columnes',
55
+ filterPanelInputLabel: 'Valor',
56
+ filterPanelInputPlaceholder: 'Valor del filtre',
57
+ // Filter operators text
58
+ filterOperatorContains: 'conté',
59
+ filterOperatorDoesNotContain: 'no conté',
60
+ filterOperatorEquals: 'és igual a',
61
+ filterOperatorDoesNotEqual: 'no és igual a',
62
+ filterOperatorStartsWith: 'comença per',
63
+ filterOperatorEndsWith: 'acaba en',
64
+ filterOperatorIs: 'és',
65
+ filterOperatorNot: 'no és',
66
+ filterOperatorAfter: 'és posterior',
67
+ filterOperatorOnOrAfter: 'és igual o posterior',
68
+ filterOperatorBefore: 'és anterior',
69
+ filterOperatorOnOrBefore: 'és igual o anterior',
70
+ filterOperatorIsEmpty: 'està buit',
71
+ filterOperatorIsNotEmpty: 'no està buit',
72
+ filterOperatorIsAnyOf: 'és qualsevol de',
73
+ 'filterOperator=': '=',
74
+ 'filterOperator!=': '!=',
75
+ 'filterOperator>': '>',
76
+ 'filterOperator>=': '>=',
77
+ 'filterOperator<': '<',
78
+ 'filterOperator<=': '<=',
79
+ // Header filter operators text
80
+ headerFilterOperatorContains: 'Conté',
81
+ headerFilterOperatorDoesNotContain: 'No conté',
82
+ headerFilterOperatorEquals: 'És igual a',
83
+ headerFilterOperatorDoesNotEqual: 'No és igual a',
84
+ headerFilterOperatorStartsWith: 'Comença per',
85
+ headerFilterOperatorEndsWith: 'Acaba en',
86
+ headerFilterOperatorIs: 'És',
87
+ headerFilterOperatorNot: 'No és',
88
+ headerFilterOperatorAfter: 'És posterior a',
89
+ headerFilterOperatorOnOrAfter: 'És igual o posterior a',
90
+ headerFilterOperatorBefore: 'És anterior a',
91
+ headerFilterOperatorOnOrBefore: 'És igual o anterior a',
92
+ headerFilterOperatorIsEmpty: 'Està buit',
93
+ headerFilterOperatorIsNotEmpty: 'No està buit',
94
+ headerFilterOperatorIsAnyOf: 'És qualsevol de',
95
+ 'headerFilterOperator=': 'És igual a',
96
+ 'headerFilterOperator!=': 'No és igual a',
97
+ 'headerFilterOperator>': 'És més gran que',
98
+ 'headerFilterOperator>=': 'És més gran o igual que',
99
+ 'headerFilterOperator<': 'És més petit que',
100
+ 'headerFilterOperator<=': 'És més petit o igual que',
101
+ headerFilterClear: 'Neteja filtres',
102
+ // Filter values text
103
+ filterValueAny: 'qualsevol',
104
+ filterValueTrue: 'veritable',
105
+ filterValueFalse: 'fals',
106
+ // Column menu text
107
+ columnMenuLabel: 'Menú',
108
+ columnMenuAriaLabel: columnName => `Menú de la columna ${columnName}`,
109
+ columnMenuShowColumns: 'Mostra columnes',
110
+ columnMenuManageColumns: 'Gestiona columnes',
111
+ columnMenuFilter: 'Filtre',
112
+ columnMenuHideColumn: 'Amaga',
113
+ columnMenuUnsort: 'Desordena',
114
+ columnMenuSortAsc: 'Ordena ASC',
115
+ columnMenuSortDesc: 'Ordena DESC',
116
+ columnMenuManagePivot: 'Gestiona la taula dinàmica',
117
+ columnMenuManageCharts: 'Gestiona els gràfics',
118
+ // Column header text
119
+ columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtres actius` : `${count} filtre actiu`,
120
+ columnHeaderFiltersLabel: 'Mostra filtres',
121
+ columnHeaderSortIconLabel: 'Ordena',
122
+ // Rows selected footer text
123
+ footerRowSelected: count => count > 1 ? `${count.toLocaleString()} files seleccionades` : `${count.toLocaleString()} fila seleccionada`,
124
+ // Total row amount footer text
125
+ footerTotalRows: 'Files totals:',
126
+ // Total visible row amount footer text
127
+ footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} de ${totalCount.toLocaleString()}`,
128
+ // Checkbox selection text
129
+ checkboxSelectionHeaderName: 'Casella de selecció',
130
+ checkboxSelectionSelectAllRows: 'Selecciona totes les files',
131
+ checkboxSelectionUnselectAllRows: 'Desselecciona totes les files',
132
+ checkboxSelectionSelectRow: 'Selecciona fila',
133
+ checkboxSelectionUnselectRow: 'Desselecciona fila',
134
+ // Boolean cell text
135
+ booleanCellTrueLabel: 'sí',
136
+ booleanCellFalseLabel: 'no',
137
+ // Actions cell more text
138
+ actionsCellMore: 'més',
139
+ // Column pinning text
140
+ pinToLeft: "Fixa a l'esquerra",
141
+ pinToRight: 'Fixa a la dreta',
142
+ unpin: 'Desfixa',
143
+ // Tree Data
144
+ treeDataGroupingHeaderName: 'Grup',
145
+ treeDataExpand: 'mostra fills',
146
+ treeDataCollapse: 'amaga fills',
147
+ // Grouping columns
148
+ groupingColumnHeaderName: 'Grup',
149
+ groupColumn: name => `Agrupa per ${name}`,
150
+ unGroupColumn: name => `No agrupis per ${name}`,
151
+ // Master/detail
152
+ detailPanelToggle: 'Alterna detall',
153
+ expandDetailPanel: 'Expandeix',
154
+ collapseDetailPanel: 'Contrau',
155
+ // Pagination
156
+ paginationRowsPerPage: 'Files per pàgina:',
157
+ paginationDisplayedRows: ({
158
+ from,
159
+ to,
160
+ count,
161
+ estimated
162
+ }) => {
163
+ if (!estimated) {
164
+ return `${from}–${to} de ${count !== -1 ? count : `més de ${to}`}`;
165
+ }
166
+ const estimatedLabel = estimated && estimated > to ? `al voltant de ${estimated}` : `més de ${to}`;
167
+ return `${from}–${to} de ${count !== -1 ? count : estimatedLabel}`;
168
+ },
169
+ paginationItemAriaLabel: type => {
170
+ if (type === 'first') {
171
+ return 'Vés a la primera pàgina';
172
+ }
173
+ if (type === 'last') {
174
+ return "Vés a l'última pàgina";
175
+ }
176
+ if (type === 'next') {
177
+ return 'Vés a la pàgina següent';
178
+ }
179
+ // if (type === 'previous') {
180
+ return 'Vés a la pàgina anterior';
181
+ },
182
+ // Row reordering text
183
+ rowReorderingHeaderName: 'Reordena files',
184
+ // Aggregation
185
+ aggregationMenuItemHeader: 'Agregació',
186
+ aggregationFunctionLabelNone: 'cap',
187
+ aggregationFunctionLabelSum: 'suma',
188
+ aggregationFunctionLabelAvg: 'mitjana',
189
+ aggregationFunctionLabelMin: 'mínim',
190
+ aggregationFunctionLabelMax: 'màxim',
191
+ aggregationFunctionLabelSize: 'recompte',
192
+ // Pivot panel
193
+ pivotToggleLabel: 'Taula dinàmica',
194
+ pivotRows: 'Files',
195
+ pivotColumns: 'Columnes',
196
+ pivotValues: 'Valors',
197
+ pivotCloseButton: 'Tanca la configuració de taula dinàmica',
198
+ pivotSearchButton: 'Camps de cerca',
199
+ pivotSearchControlPlaceholder: 'Camps de cerca',
200
+ pivotSearchControlLabel: 'Camps de cerca',
201
+ pivotSearchControlClear: 'Neteja la cerca',
202
+ pivotNoFields: 'Cap camp',
203
+ pivotMenuMoveUp: 'Mou amunt',
204
+ pivotMenuMoveDown: 'Mou avall',
205
+ pivotMenuMoveToTop: 'Mou al principi',
206
+ pivotMenuMoveToBottom: 'Mou al final',
207
+ pivotMenuRows: 'Files',
208
+ pivotMenuColumns: 'Columnes',
209
+ pivotMenuValues: 'Valors',
210
+ pivotMenuOptions: 'Opcions del camp',
211
+ pivotMenuAddToRows: 'Afegeix a files',
212
+ pivotMenuAddToColumns: 'Afegeix a columnes',
213
+ pivotMenuAddToValues: 'Afegeix a valors',
214
+ pivotMenuRemove: 'Elimina',
215
+ pivotDragToRows: 'Arrossega aquí per crear files',
216
+ pivotDragToColumns: 'Arrossega aquí per crear columnes',
217
+ pivotDragToValues: 'Arrossega aquí per crear valors',
218
+ pivotYearColumnHeaderName: '(Any)',
219
+ pivotQuarterColumnHeaderName: '(Trimestre)',
220
+ // Charts configuration panel
221
+ chartsNoCharts: 'No hi ha cap gràfic disponible',
222
+ chartsChartNotSelected: 'Selecciona un tipus de gràfic per configurar les seves opcions',
223
+ chartsTabChart: 'Gràfic',
224
+ chartsTabFields: 'Camps',
225
+ chartsTabCustomize: 'Personalitza',
226
+ chartsCloseButton: 'Tanca la configuració de gràfics',
227
+ chartsSyncButtonLabel: 'Sincronitza gràfic',
228
+ chartsSearchPlaceholder: 'Camps de cerca',
229
+ chartsSearchLabel: 'Camps de cerca',
230
+ chartsSearchClear: 'Neteja la cerca',
231
+ chartsNoFields: 'Cap camp',
232
+ chartsFieldBlocked: 'Aquest camp no es pot afegir a cap secció',
233
+ chartsCategories: 'Categories',
234
+ chartsSeries: 'Sèries',
235
+ chartsMenuAddToDimensions: dimensionLabel => `Afegeix a ${dimensionLabel}`,
236
+ chartsMenuAddToValues: valuesLabel => `Afegeix a ${valuesLabel}`,
237
+ chartsMenuMoveUp: 'Mou amunt',
238
+ chartsMenuMoveDown: 'Mou avall',
239
+ chartsMenuMoveToTop: 'Mou al principi',
240
+ chartsMenuMoveToBottom: 'Mou al final',
241
+ chartsMenuOptions: 'Opcions del camp',
242
+ chartsMenuRemove: 'Elimina',
243
+ chartsDragToDimensions: dimensionLabel => `Arrossega aquí per utilitzar la columna com a ${dimensionLabel}`,
244
+ chartsDragToValues: valuesLabel => `Arrossega aquí per utilitzar la columna com a ${valuesLabel}`,
245
+ // AI Assistant panel
246
+ aiAssistantPanelTitle: "Assistent d'IA",
247
+ aiAssistantPanelClose: "Tanca l'assistent d'IA",
248
+ aiAssistantPanelNewConversation: 'Nova conversa',
249
+ aiAssistantPanelConversationHistory: 'Historial de converses',
250
+ aiAssistantPanelEmptyConversation: "L'historial de converses és buit",
251
+ aiAssistantSuggestions: 'Suggeriments',
252
+ // Prompt field
253
+ promptFieldLabel: 'Petició',
254
+ promptFieldPlaceholder: 'Escriu una petició…',
255
+ promptFieldPlaceholderWithRecording: 'Escriu o enregistra una petició…',
256
+ promptFieldPlaceholderListening: 'Esperant una petició…',
257
+ promptFieldSpeechRecognitionNotSupported: 'El reconeixement de veu no és compatible amb aquest navegador',
258
+ promptFieldSend: 'Envia',
259
+ promptFieldRecord: 'Enregistra',
260
+ promptFieldStopRecording: "Atura l'enregistrament",
261
+ // Prompt
262
+ promptRerun: 'Torna a executar',
263
+ promptProcessing: 'Processant…',
264
+ promptAppliedChanges: "S'han aplicat els canvis",
265
+ // Prompt changes
266
+ promptChangeGroupDescription: column => `Agrupa per ${column}`,
267
+ promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
268
+ promptChangeAggregationDescription: (column, aggregation) => `Agrega ${column} (${aggregation})`,
269
+ promptChangeFilterLabel: (column, operator, value) => {
270
+ if (operator === 'is any of') {
271
+ return `${column} és un de: ${value}`;
272
+ }
273
+ return `${column} ${operator} ${value}`;
274
+ },
275
+ promptChangeFilterDescription: (column, operator, value) => {
276
+ if (operator === 'is any of') {
277
+ return `Filtra per ${column} quan sigui un de: ${value}`;
278
+ }
279
+ return `Filtra per ${column} ${operator} ${value}`;
280
+ },
281
+ promptChangeSortDescription: (column, direction) => `Ordena per ${column} (${direction})`,
282
+ promptChangePivotEnableLabel: 'Taula dinàmica',
283
+ promptChangePivotEnableDescription: 'Activa la taula dinàmica',
284
+ promptChangePivotColumnsLabel: count => `Columnes (${count})`,
285
+ promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
286
+ promptChangePivotRowsLabel: count => `Files (${count})`,
287
+ promptChangePivotValuesLabel: count => `Valors (${count})`,
288
+ promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`,
289
+ promptChangeChartsLabel: (dimensionsCount, valuesCount) => `Dimensions (${dimensionsCount}), Valors (${valuesCount})`
290
+ };
291
+ export const caES = getGridLocalization(caESGrid);
@@ -3,10 +3,9 @@ const esESGrid = {
3
3
  // Root
4
4
  noRowsLabel: 'Sin filas',
5
5
  noResultsOverlayLabel: 'Resultados no encontrados',
6
- // noColumnsOverlayLabel: 'No columns',
7
- // noColumnsOverlayManageColumns: 'Manage columns',
8
- // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
9
-
6
+ noColumnsOverlayLabel: 'Ninguna columna',
7
+ noColumnsOverlayManageColumns: 'Gestionar columnas',
8
+ emptyPivotOverlayLabel: 'Añada campos a filas, columnas y valores para crear una tabla dinámica',
10
9
  // Density selector toolbar button text
11
10
  toolbarDensity: 'Densidad',
12
11
  toolbarDensityLabel: 'Densidad',
@@ -33,14 +32,11 @@ const esESGrid = {
33
32
  toolbarExportPrint: 'Imprimir',
34
33
  toolbarExportExcel: 'Descargar como Excel',
35
34
  // Toolbar pivot button
36
- // toolbarPivot: 'Pivot',
37
-
35
+ toolbarPivot: 'Tabla dinámica',
38
36
  // Toolbar charts button
39
- // toolbarCharts: 'Charts',
40
-
37
+ toolbarCharts: 'Gráficos',
41
38
  // Toolbar AI Assistant button
42
- // toolbarAssistant: 'AI Assistant',
43
-
39
+ toolbarAssistant: 'Asistente de IA',
44
40
  // Columns management text
45
41
  columnsManagementSearchTitle: 'Buscar',
46
42
  columnsManagementNoColumns: 'Sin columnas',
@@ -102,15 +98,14 @@ const esESGrid = {
102
98
  'headerFilterOperator>=': 'Es mayor o igual que',
103
99
  'headerFilterOperator<': 'Es menor que',
104
100
  'headerFilterOperator<=': 'Es menor o igual que',
105
- // headerFilterClear: 'Clear filter',
106
-
101
+ headerFilterClear: 'Limpiar filtros',
107
102
  // Filter values text
108
103
  filterValueAny: 'cualquiera',
109
104
  filterValueTrue: 'verdadero',
110
105
  filterValueFalse: 'falso',
111
106
  // Column menu text
112
107
  columnMenuLabel: 'Menú',
113
- // columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
108
+ columnMenuAriaLabel: columnName => `Menú de la columna ${columnName}`,
114
109
  columnMenuShowColumns: 'Mostrar columnas',
115
110
  columnMenuManageColumns: 'Administrar columnas',
116
111
  columnMenuFilter: 'Filtro',
@@ -118,9 +113,8 @@ const esESGrid = {
118
113
  columnMenuUnsort: 'Desordenar',
119
114
  columnMenuSortAsc: 'Ordenar ASC',
120
115
  columnMenuSortDesc: 'Ordenar DESC',
121
- // columnMenuManagePivot: 'Manage pivot',
122
- // columnMenuManageCharts: 'Manage charts',
123
-
116
+ columnMenuManagePivot: 'Gestionar tabla dinámica',
117
+ columnMenuManageCharts: 'Gestionar gráficos',
124
118
  // Column header text
125
119
  columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} filtros activos` : `${count} filtro activo`,
126
120
  columnHeaderFiltersLabel: 'Mostrar filtros',
@@ -160,18 +154,18 @@ const esESGrid = {
160
154
  collapseDetailPanel: 'Contraer',
161
155
  // Pagination
162
156
  paginationRowsPerPage: 'Filas por página:',
163
- // paginationDisplayedRows: ({
164
- // from,
165
- // to,
166
- // count,
167
- // estimated
168
- // }) => {
169
- // if (!estimated) {
170
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
171
- // }
172
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
173
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
174
- // },
157
+ paginationDisplayedRows: ({
158
+ from,
159
+ to,
160
+ count,
161
+ estimated
162
+ }) => {
163
+ if (!estimated) {
164
+ return `${from}–${to} de ${count !== -1 ? count : `más de ${to}`}`;
165
+ }
166
+ const estimatedLabel = estimated && estimated > to ? `alrededor de ${estimated}` : `más de ${to}`;
167
+ return `${from}–${to} de ${count !== -1 ? count : estimatedLabel}`;
168
+ },
175
169
  paginationItemAriaLabel: type => {
176
170
  if (type === 'first') {
177
171
  return 'Ir a la primera página';
@@ -189,114 +183,109 @@ const esESGrid = {
189
183
  rowReorderingHeaderName: 'Reordenar filas',
190
184
  // Aggregation
191
185
  aggregationMenuItemHeader: 'Agregación',
192
- // aggregationFunctionLabelNone: 'none',
186
+ aggregationFunctionLabelNone: 'ninguna',
193
187
  aggregationFunctionLabelSum: 'suma',
194
188
  aggregationFunctionLabelAvg: 'promedio',
195
189
  aggregationFunctionLabelMin: 'mínimo',
196
190
  aggregationFunctionLabelMax: 'máximo',
197
191
  aggregationFunctionLabelSize: 'tamaño',
198
192
  // Pivot panel
199
- // pivotToggleLabel: 'Pivot',
200
- // pivotRows: 'Rows',
201
- // pivotColumns: 'Columns',
202
- // pivotValues: 'Values',
203
- // pivotCloseButton: 'Close pivot settings',
204
- // pivotSearchButton: 'Search fields',
205
- // pivotSearchControlPlaceholder: 'Search fields',
206
- // pivotSearchControlLabel: 'Search fields',
207
- // pivotSearchControlClear: 'Clear search',
208
- // pivotNoFields: 'No fields',
209
- // pivotMenuMoveUp: 'Move up',
210
- // pivotMenuMoveDown: 'Move down',
211
- // pivotMenuMoveToTop: 'Move to top',
212
- // pivotMenuMoveToBottom: 'Move to bottom',
213
- // pivotMenuRows: 'Rows',
214
- // pivotMenuColumns: 'Columns',
215
- // pivotMenuValues: 'Values',
216
- // pivotMenuOptions: 'Field options',
217
- // pivotMenuAddToRows: 'Add to Rows',
218
- // pivotMenuAddToColumns: 'Add to Columns',
219
- // pivotMenuAddToValues: 'Add to Values',
220
- // pivotMenuRemove: 'Remove',
221
- // pivotDragToRows: 'Drag here to create rows',
222
- // pivotDragToColumns: 'Drag here to create columns',
223
- // pivotDragToValues: 'Drag here to create values',
224
- // pivotYearColumnHeaderName: '(Year)',
225
- // pivotQuarterColumnHeaderName: '(Quarter)',
226
-
193
+ pivotToggleLabel: 'Tabla dinámica',
194
+ pivotRows: 'Filas',
195
+ pivotColumns: 'Columnas',
196
+ pivotValues: 'Valores',
197
+ pivotCloseButton: 'Cerrar la configuración de tabla dinámica',
198
+ pivotSearchButton: 'Campos de búsqueda',
199
+ pivotSearchControlPlaceholder: 'Campos de búsqueda',
200
+ pivotSearchControlLabel: 'Campos de búsqueda',
201
+ pivotSearchControlClear: 'Limpiar la búsqueda',
202
+ pivotNoFields: 'Ningún campo',
203
+ pivotMenuMoveUp: 'Mover arriba',
204
+ pivotMenuMoveDown: 'Mover abajo',
205
+ pivotMenuMoveToTop: 'Mover al inicio',
206
+ pivotMenuMoveToBottom: 'Mover al final',
207
+ pivotMenuRows: 'Filas',
208
+ pivotMenuColumns: 'Columnas',
209
+ pivotMenuValues: 'Valores',
210
+ pivotMenuOptions: 'Opciones de campo',
211
+ pivotMenuAddToRows: 'Añadir a filas',
212
+ pivotMenuAddToColumns: 'Añadir a columnas',
213
+ pivotMenuAddToValues: 'Añadir a valores',
214
+ pivotMenuRemove: 'Eliminar',
215
+ pivotDragToRows: 'Arrastrar aquí para crear filas',
216
+ pivotDragToColumns: 'Arrastrar aquí para crear columnas',
217
+ pivotDragToValues: 'Arrastrar aquí para crear valores',
218
+ pivotYearColumnHeaderName: '(Año)',
219
+ pivotQuarterColumnHeaderName: '(Trimestre)',
227
220
  // Charts configuration panel
228
- // chartsNoCharts: 'There are no charts available',
229
- // chartsChartNotSelected: 'Select a chart type to configure its options',
230
- // chartsTabChart: 'Chart',
231
- // chartsTabFields: 'Fields',
232
- // chartsTabCustomize: 'Customize',
233
- // chartsCloseButton: 'Close charts configuration',
234
- // chartsSyncButtonLabel: 'Sync chart',
235
- // chartsSearchPlaceholder: 'Search fields',
236
- // chartsSearchLabel: 'Search fields',
237
- // chartsSearchClear: 'Clear search',
238
- // chartsNoFields: 'No fields',
239
- // chartsFieldBlocked: 'This field cannot be added to any section',
240
- // chartsCategories: 'Categories',
241
- // chartsSeries: 'Series',
242
- // chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
243
- // chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
244
- // chartsMenuMoveUp: 'Move up',
245
- // chartsMenuMoveDown: 'Move down',
246
- // chartsMenuMoveToTop: 'Move to top',
247
- // chartsMenuMoveToBottom: 'Move to bottom',
248
- // chartsMenuOptions: 'Field options',
249
- // chartsMenuRemove: 'Remove',
250
- // chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
251
- // chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
252
-
221
+ chartsNoCharts: 'No hay ningún gráfico disponible',
222
+ chartsChartNotSelected: 'Seleccionar un tipo de gráfico para configurar sus opciones',
223
+ chartsTabChart: 'Gráfico',
224
+ chartsTabFields: 'Campos',
225
+ chartsTabCustomize: 'Personalizar',
226
+ chartsCloseButton: 'Cerrar la configuración de gráficos',
227
+ chartsSyncButtonLabel: 'Sincronizar gráfico',
228
+ chartsSearchPlaceholder: 'Campos de búsqueda',
229
+ chartsSearchLabel: 'Campos de búsqueda',
230
+ chartsSearchClear: 'Limpiar búsqueda',
231
+ chartsNoFields: 'Ningún campo',
232
+ chartsFieldBlocked: 'Este campo no se puede añadir a ninguna sección',
233
+ chartsCategories: 'Categorías',
234
+ chartsSeries: 'Series',
235
+ chartsMenuAddToDimensions: dimensionLabel => `Añadir a ${dimensionLabel}`,
236
+ chartsMenuAddToValues: valuesLabel => `Añadir a ${valuesLabel}`,
237
+ chartsMenuMoveUp: 'Mover arriba',
238
+ chartsMenuMoveDown: 'Mover abajo',
239
+ chartsMenuMoveToTop: 'Mover al inicio',
240
+ chartsMenuMoveToBottom: 'Mover al final',
241
+ chartsMenuOptions: 'Opciones de campo',
242
+ chartsMenuRemove: 'Eliminar',
243
+ chartsDragToDimensions: dimensionLabel => `Arrastrar aquí para utilizar la columna como ${dimensionLabel}`,
244
+ chartsDragToValues: valuesLabel => `Arrastrar aquí para utilizar la columna como ${valuesLabel}`,
253
245
  // AI Assistant panel
254
- // aiAssistantPanelTitle: 'AI Assistant',
255
- // aiAssistantPanelClose: 'Close AI Assistant',
256
- // aiAssistantPanelNewConversation: 'New conversation',
257
- // aiAssistantPanelConversationHistory: 'Conversation history',
258
- // aiAssistantPanelEmptyConversation: 'No prompt history',
259
- // aiAssistantSuggestions: 'Suggestions',
260
-
246
+ aiAssistantPanelTitle: 'Asistente de IA',
247
+ aiAssistantPanelClose: 'Cerrar el asistente de IA',
248
+ aiAssistantPanelNewConversation: 'Nueva conversación',
249
+ aiAssistantPanelConversationHistory: 'Historial de conversaciones',
250
+ aiAssistantPanelEmptyConversation: 'El historial de conversaciones está vacío',
251
+ aiAssistantSuggestions: 'Sugerencias',
261
252
  // Prompt field
262
253
  promptFieldLabel: 'Prompt',
263
254
  promptFieldPlaceholder: 'Escribe un prompt…',
264
255
  promptFieldPlaceholderWithRecording: 'Escriba o grabe un prompt…',
265
256
  promptFieldPlaceholderListening: 'Esperando por un prompt…',
266
- // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
257
+ promptFieldSpeechRecognitionNotSupported: 'El reconocimiento de voz no está soportado en este navegador',
267
258
  promptFieldSend: 'Enviar',
268
259
  promptFieldRecord: 'Grabar',
269
- promptFieldStopRecording: 'Parar de grabar'
270
-
260
+ promptFieldStopRecording: 'Parar de grabar',
271
261
  // Prompt
272
- // promptRerun: 'Run again',
273
- // promptProcessing: 'Processing…',
274
- // promptAppliedChanges: 'Applied changes',
275
-
262
+ promptRerun: 'Ejecutar de nuevo',
263
+ promptProcessing: 'Procesando…',
264
+ promptAppliedChanges: 'Se han aplicado los cambios',
276
265
  // Prompt changes
277
- // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
278
- // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
279
- // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
280
- // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
281
- // if (operator === 'is any of') {
282
- // return `${column} is any of: ${value}`;
283
- // }
284
- // return `${column} ${operator} ${value}`;
285
- // },
286
- // promptChangeFilterDescription: (column: string, operator: string, value: string) => {
287
- // if (operator === 'is any of') {
288
- // return `Filter where ${column} is any of: ${value}`;
289
- // }
290
- // return `Filter where ${column} ${operator} ${value}`;
291
- // },
292
- // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
293
- // promptChangePivotEnableLabel: 'Pivot',
294
- // promptChangePivotEnableDescription: 'Enable pivot',
295
- // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
296
- // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
297
- // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
298
- // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
299
- // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
300
- // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
266
+ promptChangeGroupDescription: column => `Agrupar por ${column}`,
267
+ promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
268
+ promptChangeAggregationDescription: (column, aggregation) => `Agregar ${column} (${aggregation})`,
269
+ promptChangeFilterLabel: (column, operator, value) => {
270
+ if (operator === 'is any of') {
271
+ return `${column} es uno de: ${value}`;
272
+ }
273
+ return `${column} ${operator} ${value}`;
274
+ },
275
+ promptChangeFilterDescription: (column, operator, value) => {
276
+ if (operator === 'is any of') {
277
+ return `Filtrar por ${column} cuando sea uno de: ${value}`;
278
+ }
279
+ return `Filtrar por ${column} ${operator} ${value}`;
280
+ },
281
+ promptChangeSortDescription: (column, direction) => `Ordenar por ${column} (${direction})`,
282
+ promptChangePivotEnableLabel: 'Tabla dinámica',
283
+ promptChangePivotEnableDescription: 'Activar tabla dinámica',
284
+ promptChangePivotColumnsLabel: count => `Columnas (${count})`,
285
+ promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
286
+ promptChangePivotRowsLabel: count => `Filas (${count})`,
287
+ promptChangePivotValuesLabel: count => `Valores (${count})`,
288
+ promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`,
289
+ promptChangeChartsLabel: (dimensionsCount, valuesCount) => `Dimensiones (${dimensionsCount}), Valores (${valuesCount})`
301
290
  };
302
291
  export const esES = getGridLocalization(esESGrid);
@@ -3,6 +3,7 @@ export * from "./beBY.js";
3
3
  export * from "./bgBG.js";
4
4
  export * from "./bnBD.js";
5
5
  export * from "./csCZ.js";
6
+ export * from "./caES.js";
6
7
  export * from "./daDK.js";
7
8
  export * from "./deDE.js";
8
9
  export * from "./elGR.js";
@@ -4,6 +4,7 @@ export * from "./beBY.js";
4
4
  export * from "./bgBG.js";
5
5
  export * from "./bnBD.js";
6
6
  export * from "./csCZ.js";
7
+ export * from "./caES.js";
7
8
  export * from "./daDK.js";
8
9
  export * from "./deDE.js";
9
10
  export * from "./elGR.js";
@@ -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;
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { createSvgIcon } from "./createSvgIcon.js";
3
2
  import { jsx as _jsx } from "react/jsx-runtime";
4
3
  export const GridArrowUpwardIcon = createSvgIcon(/*#__PURE__*/_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
+ }