@mui/x-data-grid 8.11.2 → 8.12.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 +231 -0
- package/DataGrid/DataGrid.js +3 -1
- package/DataGrid/useDataGridComponent.js +2 -2
- package/colDef/gridActionsColDef.js +1 -0
- package/colDef/gridBooleanColDef.js +1 -0
- package/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/colDef/gridStringColDef.js +1 -0
- package/components/GridShadowScrollArea.js +2 -2
- package/components/GridSkeletonLoadingOverlay.js +2 -2
- package/components/cell/GridCell.js +7 -5
- package/components/panel/filterPanel/GridFilterInputBoolean.js +2 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +2 -2
- package/components/panel/filterPanel/GridFilterInputValue.js +2 -2
- package/components/quickFilter/QuickFilterControl.js +1 -1
- package/constants/localeTextConstants.js +29 -0
- package/esm/DataGrid/DataGrid.js +3 -1
- package/esm/DataGrid/useDataGridComponent.js +2 -2
- package/esm/colDef/gridActionsColDef.js +1 -0
- package/esm/colDef/gridBooleanColDef.js +1 -0
- package/esm/colDef/gridCheckboxSelectionColDef.js +1 -0
- package/esm/colDef/gridStringColDef.js +1 -0
- package/esm/components/GridShadowScrollArea.js +2 -2
- package/esm/components/GridSkeletonLoadingOverlay.js +2 -2
- package/esm/components/cell/GridCell.js +7 -5
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.js +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.js +2 -2
- package/esm/components/panel/filterPanel/GridFilterInputValue.js +2 -2
- package/esm/components/quickFilter/QuickFilterControl.js +1 -1
- package/esm/constants/localeTextConstants.js +29 -0
- package/esm/hooks/features/columnResize/useGridColumnResize.js +2 -2
- package/esm/hooks/features/columns/useGridColumns.js +21 -4
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +12 -4
- package/esm/hooks/features/filter/gridFilterSelector.js +21 -4
- package/esm/hooks/features/filter/gridFilterState.d.ts +3 -1
- package/esm/hooks/features/filter/gridFilterUtils.d.ts +3 -3
- package/esm/hooks/features/filter/gridFilterUtils.js +23 -13
- package/esm/hooks/features/filter/useGridFilter.d.ts +2 -1
- package/esm/hooks/features/filter/useGridFilter.js +7 -5
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +9 -0
- package/esm/hooks/features/rows/gridRowsSelector.js +12 -0
- package/esm/hooks/features/rows/index.d.ts +1 -1
- package/esm/hooks/features/rows/index.js +1 -1
- package/esm/hooks/features/rows/useGridParamsApi.js +16 -7
- package/esm/hooks/features/sorting/gridSortingUtils.d.ts +3 -1
- package/esm/hooks/features/sorting/gridSortingUtils.js +10 -4
- package/esm/hooks/features/sorting/useGridSorting.d.ts +2 -1
- package/esm/hooks/features/sorting/useGridSorting.js +4 -3
- package/esm/index.js +1 -1
- package/esm/internals/index.d.ts +1 -1
- package/esm/internals/index.js +1 -1
- package/esm/locales/arSD.js +31 -0
- package/esm/locales/beBY.js +31 -0
- package/esm/locales/bgBG.js +31 -0
- package/esm/locales/bnBD.js +31 -0
- package/esm/locales/csCZ.js +31 -0
- package/esm/locales/daDK.js +31 -0
- package/esm/locales/deDE.js +32 -0
- package/esm/locales/elGR.js +31 -0
- package/esm/locales/esES.js +31 -0
- package/esm/locales/faIR.js +31 -0
- package/esm/locales/fiFI.js +31 -0
- package/esm/locales/frFR.js +32 -2
- package/esm/locales/heIL.js +31 -0
- package/esm/locales/hrHR.js +31 -0
- package/esm/locales/huHU.js +31 -0
- package/esm/locales/hyAM.js +31 -0
- package/esm/locales/idID.d.ts +1 -1
- package/esm/locales/idID.js +32 -0
- package/esm/locales/isIS.js +31 -0
- package/esm/locales/itIT.js +31 -0
- package/esm/locales/jaJP.js +31 -0
- package/esm/locales/koKR.js +31 -0
- package/esm/locales/nbNO.js +31 -0
- package/esm/locales/nlNL.js +31 -0
- package/esm/locales/nnNO.js +32 -0
- package/esm/locales/plPL.js +31 -0
- package/esm/locales/ptBR.js +31 -0
- package/esm/locales/ptPT.js +31 -0
- package/esm/locales/roRO.js +31 -0
- package/esm/locales/ruRU.js +31 -0
- package/esm/locales/skSK.js +31 -0
- package/esm/locales/svSE.js +31 -0
- package/esm/locales/trTR.js +31 -0
- package/esm/locales/ukUA.js +31 -0
- package/esm/locales/urPK.js +31 -0
- package/esm/locales/viVN.js +31 -0
- package/esm/locales/zhCN.js +31 -0
- package/esm/locales/zhHK.js +31 -0
- package/esm/locales/zhTW.js +31 -0
- package/esm/material/augmentation.d.ts +8 -0
- package/esm/material/index.js +147 -49
- package/esm/material/variables.js +2 -1
- package/esm/models/api/gridLocaleTextApi.d.ts +27 -0
- package/esm/models/api/gridParamsApi.d.ts +5 -1
- package/esm/models/configuration/gridAggregationConfiguration.d.ts +25 -0
- package/esm/models/configuration/gridAggregationConfiguration.js +1 -0
- package/esm/models/configuration/gridConfiguration.d.ts +6 -9
- package/esm/models/gridBaseSlots.d.ts +15 -0
- package/esm/models/gridFilterItem.d.ts +4 -2
- package/esm/models/gridFilterOperator.d.ts +1 -1
- package/esm/models/gridSlotsComponent.d.ts +10 -0
- package/esm/models/gridSlotsComponentsProps.d.ts +5 -1
- package/hooks/features/columnResize/useGridColumnResize.js +2 -2
- package/hooks/features/columns/useGridColumns.js +23 -6
- package/hooks/features/filter/gridFilterSelector.d.ts +12 -4
- package/hooks/features/filter/gridFilterSelector.js +22 -5
- package/hooks/features/filter/gridFilterState.d.ts +3 -1
- package/hooks/features/filter/gridFilterUtils.d.ts +3 -3
- package/hooks/features/filter/gridFilterUtils.js +23 -13
- package/hooks/features/filter/useGridFilter.d.ts +2 -1
- package/hooks/features/filter/useGridFilter.js +7 -5
- package/hooks/features/rows/gridRowsSelector.d.ts +9 -0
- package/hooks/features/rows/gridRowsSelector.js +12 -0
- package/hooks/features/rows/index.d.ts +1 -1
- package/hooks/features/rows/index.js +7 -0
- package/hooks/features/rows/useGridParamsApi.js +16 -7
- package/hooks/features/sorting/gridSortingUtils.d.ts +3 -1
- package/hooks/features/sorting/gridSortingUtils.js +10 -4
- package/hooks/features/sorting/useGridSorting.d.ts +2 -1
- package/hooks/features/sorting/useGridSorting.js +4 -3
- package/index.js +1 -1
- package/internals/index.d.ts +1 -1
- package/internals/index.js +7 -0
- package/locales/arSD.js +31 -0
- package/locales/beBY.js +31 -0
- package/locales/bgBG.js +31 -0
- package/locales/bnBD.js +31 -0
- package/locales/csCZ.js +31 -0
- package/locales/daDK.js +31 -0
- package/locales/deDE.js +32 -0
- package/locales/elGR.js +31 -0
- package/locales/esES.js +31 -0
- package/locales/faIR.js +31 -0
- package/locales/fiFI.js +31 -0
- package/locales/frFR.js +32 -2
- package/locales/heIL.js +31 -0
- package/locales/hrHR.js +31 -0
- package/locales/huHU.js +31 -0
- package/locales/hyAM.js +31 -0
- package/locales/idID.d.ts +1 -1
- package/locales/idID.js +32 -0
- package/locales/isIS.js +31 -0
- package/locales/itIT.js +31 -0
- package/locales/jaJP.js +31 -0
- package/locales/koKR.js +31 -0
- package/locales/nbNO.js +31 -0
- package/locales/nlNL.js +31 -0
- package/locales/nnNO.js +32 -0
- package/locales/plPL.js +31 -0
- package/locales/ptBR.js +31 -0
- package/locales/ptPT.js +31 -0
- package/locales/roRO.js +31 -0
- package/locales/ruRU.js +31 -0
- package/locales/skSK.js +31 -0
- package/locales/svSE.js +31 -0
- package/locales/trTR.js +31 -0
- package/locales/ukUA.js +31 -0
- package/locales/urPK.js +31 -0
- package/locales/viVN.js +31 -0
- package/locales/zhCN.js +31 -0
- package/locales/zhHK.js +31 -0
- package/locales/zhTW.js +31 -0
- package/material/augmentation.d.ts +8 -0
- package/material/index.js +147 -49
- package/material/variables.js +2 -1
- package/models/api/gridLocaleTextApi.d.ts +27 -0
- package/models/api/gridParamsApi.d.ts +5 -1
- package/models/configuration/gridAggregationConfiguration.d.ts +25 -0
- package/models/configuration/gridAggregationConfiguration.js +5 -0
- package/models/configuration/gridConfiguration.d.ts +6 -9
- package/models/gridBaseSlots.d.ts +15 -0
- package/models/gridFilterItem.d.ts +4 -2
- package/models/gridFilterOperator.d.ts +1 -1
- package/models/gridSlotsComponent.d.ts +10 -0
- package/models/gridSlotsComponentsProps.d.ts +5 -1
- package/package.json +3 -3
package/esm/locales/ukUA.js
CHANGED
|
@@ -50,6 +50,9 @@ const ukUAGrid = {
|
|
|
50
50
|
// Toolbar pivot button
|
|
51
51
|
// toolbarPivot: 'Pivot',
|
|
52
52
|
|
|
53
|
+
// Toolbar charts button
|
|
54
|
+
// toolbarCharts: 'Charts',
|
|
55
|
+
|
|
53
56
|
// Toolbar AI Assistant button
|
|
54
57
|
// toolbarAssistant: 'AI Assistant',
|
|
55
58
|
|
|
@@ -130,6 +133,7 @@ const ukUAGrid = {
|
|
|
130
133
|
columnMenuSortAsc: 'Сортувати за зростанням',
|
|
131
134
|
columnMenuSortDesc: 'Сортувати за спаданням',
|
|
132
135
|
// columnMenuManagePivot: 'Manage pivot',
|
|
136
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
133
137
|
|
|
134
138
|
// Column header text
|
|
135
139
|
columnHeaderFiltersTooltipActive: count => getPluralForm(count, {
|
|
@@ -207,6 +211,7 @@ const ukUAGrid = {
|
|
|
207
211
|
rowReorderingHeaderName: 'Порядок рядків',
|
|
208
212
|
// Aggregation
|
|
209
213
|
aggregationMenuItemHeader: 'Агрегація',
|
|
214
|
+
// aggregationFunctionLabelNone: 'none',
|
|
210
215
|
aggregationFunctionLabelSum: 'сума',
|
|
211
216
|
aggregationFunctionLabelAvg: 'сер',
|
|
212
217
|
aggregationFunctionLabelMin: 'мін',
|
|
@@ -241,6 +246,32 @@ const ukUAGrid = {
|
|
|
241
246
|
// pivotYearColumnHeaderName: '(Year)',
|
|
242
247
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
243
248
|
|
|
249
|
+
// Charts configuration panel
|
|
250
|
+
// chartsNoCharts: 'There are no charts available',
|
|
251
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
252
|
+
// chartsTabChart: 'Chart',
|
|
253
|
+
// chartsTabFields: 'Fields',
|
|
254
|
+
// chartsTabCustomize: 'Customize',
|
|
255
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
256
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
257
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
258
|
+
// chartsSearchLabel: 'Search fields',
|
|
259
|
+
// chartsSearchClear: 'Clear search',
|
|
260
|
+
// chartsNoFields: 'No fields',
|
|
261
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
262
|
+
// chartsCategories: 'Categories',
|
|
263
|
+
// chartsSeries: 'Series',
|
|
264
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
265
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
266
|
+
// chartsMenuMoveUp: 'Move up',
|
|
267
|
+
// chartsMenuMoveDown: 'Move down',
|
|
268
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
269
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
270
|
+
// chartsMenuOptions: 'Field options',
|
|
271
|
+
// chartsMenuRemove: 'Remove',
|
|
272
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
273
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
274
|
+
|
|
244
275
|
// AI Assistant panel
|
|
245
276
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
246
277
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
package/esm/locales/urPK.js
CHANGED
|
@@ -35,6 +35,9 @@ const urPKGrid = {
|
|
|
35
35
|
// Toolbar pivot button
|
|
36
36
|
// toolbarPivot: 'Pivot',
|
|
37
37
|
|
|
38
|
+
// Toolbar charts button
|
|
39
|
+
// toolbarCharts: 'Charts',
|
|
40
|
+
|
|
38
41
|
// Toolbar AI Assistant button
|
|
39
42
|
// toolbarAssistant: 'AI Assistant',
|
|
40
43
|
|
|
@@ -116,6 +119,7 @@ const urPKGrid = {
|
|
|
116
119
|
columnMenuSortAsc: 'ترتیب صعودی',
|
|
117
120
|
columnMenuSortDesc: 'ترتیب نزولی',
|
|
118
121
|
// columnMenuManagePivot: 'Manage pivot',
|
|
122
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
119
123
|
|
|
120
124
|
// Column header text
|
|
121
125
|
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} فعال فلٹرز` : `${count} فلٹرز فعال`,
|
|
@@ -186,6 +190,7 @@ const urPKGrid = {
|
|
|
186
190
|
|
|
187
191
|
// Aggregation
|
|
188
192
|
aggregationMenuItemHeader: 'ایگریگیشن',
|
|
193
|
+
// aggregationFunctionLabelNone: 'none',
|
|
189
194
|
aggregationFunctionLabelSum: 'کل',
|
|
190
195
|
aggregationFunctionLabelAvg: 'اوسط',
|
|
191
196
|
aggregationFunctionLabelMin: 'کم از کم',
|
|
@@ -221,6 +226,32 @@ const urPKGrid = {
|
|
|
221
226
|
// pivotYearColumnHeaderName: '(Year)',
|
|
222
227
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
223
228
|
|
|
229
|
+
// Charts configuration panel
|
|
230
|
+
// chartsNoCharts: 'There are no charts available',
|
|
231
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
232
|
+
// chartsTabChart: 'Chart',
|
|
233
|
+
// chartsTabFields: 'Fields',
|
|
234
|
+
// chartsTabCustomize: 'Customize',
|
|
235
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
236
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
237
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
238
|
+
// chartsSearchLabel: 'Search fields',
|
|
239
|
+
// chartsSearchClear: 'Clear search',
|
|
240
|
+
// chartsNoFields: 'No fields',
|
|
241
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
242
|
+
// chartsCategories: 'Categories',
|
|
243
|
+
// chartsSeries: 'Series',
|
|
244
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
245
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
246
|
+
// chartsMenuMoveUp: 'Move up',
|
|
247
|
+
// chartsMenuMoveDown: 'Move down',
|
|
248
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
249
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
250
|
+
// chartsMenuOptions: 'Field options',
|
|
251
|
+
// chartsMenuRemove: 'Remove',
|
|
252
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
253
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
254
|
+
|
|
224
255
|
// AI Assistant panel
|
|
225
256
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
226
257
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
package/esm/locales/viVN.js
CHANGED
|
@@ -35,6 +35,9 @@ const viVNGrid = {
|
|
|
35
35
|
// Toolbar pivot button
|
|
36
36
|
// toolbarPivot: 'Pivot',
|
|
37
37
|
|
|
38
|
+
// Toolbar charts button
|
|
39
|
+
// toolbarCharts: 'Charts',
|
|
40
|
+
|
|
38
41
|
// Toolbar AI Assistant button
|
|
39
42
|
// toolbarAssistant: 'AI Assistant',
|
|
40
43
|
|
|
@@ -117,6 +120,7 @@ const viVNGrid = {
|
|
|
117
120
|
columnMenuSortAsc: 'Sắp xếp tăng dần',
|
|
118
121
|
columnMenuSortDesc: 'Sắp xếp giảm dần',
|
|
119
122
|
// columnMenuManagePivot: 'Manage pivot',
|
|
123
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
120
124
|
|
|
121
125
|
// Column header text
|
|
122
126
|
columnHeaderFiltersTooltipActive: count => count > 1 ? `${count} bộ lọc hoạt động` : `${count} bộ lọc hoạt động`,
|
|
@@ -186,6 +190,7 @@ const viVNGrid = {
|
|
|
186
190
|
rowReorderingHeaderName: 'Sắp xếp hàng',
|
|
187
191
|
// Aggregation
|
|
188
192
|
aggregationMenuItemHeader: 'Tổng hợp',
|
|
193
|
+
// aggregationFunctionLabelNone: 'none',
|
|
189
194
|
aggregationFunctionLabelSum: 'Tổng',
|
|
190
195
|
aggregationFunctionLabelAvg: 'Trung bình',
|
|
191
196
|
aggregationFunctionLabelMin: 'Tối thiểu',
|
|
@@ -221,6 +226,32 @@ const viVNGrid = {
|
|
|
221
226
|
// pivotYearColumnHeaderName: '(Year)',
|
|
222
227
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
223
228
|
|
|
229
|
+
// Charts configuration panel
|
|
230
|
+
// chartsNoCharts: 'There are no charts available',
|
|
231
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
232
|
+
// chartsTabChart: 'Chart',
|
|
233
|
+
// chartsTabFields: 'Fields',
|
|
234
|
+
// chartsTabCustomize: 'Customize',
|
|
235
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
236
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
237
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
238
|
+
// chartsSearchLabel: 'Search fields',
|
|
239
|
+
// chartsSearchClear: 'Clear search',
|
|
240
|
+
// chartsNoFields: 'No fields',
|
|
241
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
242
|
+
// chartsCategories: 'Categories',
|
|
243
|
+
// chartsSeries: 'Series',
|
|
244
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
245
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
246
|
+
// chartsMenuMoveUp: 'Move up',
|
|
247
|
+
// chartsMenuMoveDown: 'Move down',
|
|
248
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
249
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
250
|
+
// chartsMenuOptions: 'Field options',
|
|
251
|
+
// chartsMenuRemove: 'Remove',
|
|
252
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
253
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
254
|
+
|
|
224
255
|
// AI Assistant panel
|
|
225
256
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
226
257
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
package/esm/locales/zhCN.js
CHANGED
|
@@ -35,6 +35,9 @@ const zhCNGrid = {
|
|
|
35
35
|
// Toolbar pivot button
|
|
36
36
|
// toolbarPivot: 'Pivot',
|
|
37
37
|
|
|
38
|
+
// Toolbar charts button
|
|
39
|
+
// toolbarCharts: 'Charts',
|
|
40
|
+
|
|
38
41
|
// Toolbar AI Assistant button
|
|
39
42
|
// toolbarAssistant: 'AI Assistant',
|
|
40
43
|
|
|
@@ -115,6 +118,7 @@ const zhCNGrid = {
|
|
|
115
118
|
columnMenuSortAsc: '升序',
|
|
116
119
|
columnMenuSortDesc: '降序',
|
|
117
120
|
// columnMenuManagePivot: 'Manage pivot',
|
|
121
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
118
122
|
|
|
119
123
|
// Column header text
|
|
120
124
|
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} 个筛选器` : `${count} 个筛选器`,
|
|
@@ -183,6 +187,7 @@ const zhCNGrid = {
|
|
|
183
187
|
rowReorderingHeaderName: '重新排列行',
|
|
184
188
|
// Aggregation
|
|
185
189
|
aggregationMenuItemHeader: '集合',
|
|
190
|
+
// aggregationFunctionLabelNone: 'none',
|
|
186
191
|
aggregationFunctionLabelSum: '总数',
|
|
187
192
|
aggregationFunctionLabelAvg: '平均',
|
|
188
193
|
aggregationFunctionLabelMin: '最小',
|
|
@@ -217,6 +222,32 @@ const zhCNGrid = {
|
|
|
217
222
|
// pivotYearColumnHeaderName: '(Year)',
|
|
218
223
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
219
224
|
|
|
225
|
+
// Charts configuration panel
|
|
226
|
+
// chartsNoCharts: 'There are no charts available',
|
|
227
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
228
|
+
// chartsTabChart: 'Chart',
|
|
229
|
+
// chartsTabFields: 'Fields',
|
|
230
|
+
// chartsTabCustomize: 'Customize',
|
|
231
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
232
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
233
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
234
|
+
// chartsSearchLabel: 'Search fields',
|
|
235
|
+
// chartsSearchClear: 'Clear search',
|
|
236
|
+
// chartsNoFields: 'No fields',
|
|
237
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
238
|
+
// chartsCategories: 'Categories',
|
|
239
|
+
// chartsSeries: 'Series',
|
|
240
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
241
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
242
|
+
// chartsMenuMoveUp: 'Move up',
|
|
243
|
+
// chartsMenuMoveDown: 'Move down',
|
|
244
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
245
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
246
|
+
// chartsMenuOptions: 'Field options',
|
|
247
|
+
// chartsMenuRemove: 'Remove',
|
|
248
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
249
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
250
|
+
|
|
220
251
|
// AI Assistant panel
|
|
221
252
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
222
253
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
package/esm/locales/zhHK.js
CHANGED
|
@@ -35,6 +35,9 @@ const zhHKGrid = {
|
|
|
35
35
|
// Toolbar pivot button
|
|
36
36
|
// toolbarPivot: 'Pivot',
|
|
37
37
|
|
|
38
|
+
// Toolbar charts button
|
|
39
|
+
// toolbarCharts: 'Charts',
|
|
40
|
+
|
|
38
41
|
// Toolbar AI Assistant button
|
|
39
42
|
// toolbarAssistant: 'AI Assistant',
|
|
40
43
|
|
|
@@ -115,6 +118,7 @@ const zhHKGrid = {
|
|
|
115
118
|
columnMenuSortAsc: '按升序排序',
|
|
116
119
|
columnMenuSortDesc: '按降序排序',
|
|
117
120
|
// columnMenuManagePivot: 'Manage pivot',
|
|
121
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
118
122
|
|
|
119
123
|
// Column header text
|
|
120
124
|
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} 個有效過濾器` : `${count} 個活動過濾器`,
|
|
@@ -183,6 +187,7 @@ const zhHKGrid = {
|
|
|
183
187
|
rowReorderingHeaderName: '行重新排序',
|
|
184
188
|
// Aggregation
|
|
185
189
|
aggregationMenuItemHeader: '聚合',
|
|
190
|
+
// aggregationFunctionLabelNone: 'none',
|
|
186
191
|
aggregationFunctionLabelSum: '和',
|
|
187
192
|
aggregationFunctionLabelAvg: '平均',
|
|
188
193
|
aggregationFunctionLabelMin: '分分鐘',
|
|
@@ -217,6 +222,32 @@ const zhHKGrid = {
|
|
|
217
222
|
// pivotYearColumnHeaderName: '(Year)',
|
|
218
223
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
219
224
|
|
|
225
|
+
// Charts configuration panel
|
|
226
|
+
// chartsNoCharts: 'There are no charts available',
|
|
227
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
228
|
+
// chartsTabChart: 'Chart',
|
|
229
|
+
// chartsTabFields: 'Fields',
|
|
230
|
+
// chartsTabCustomize: 'Customize',
|
|
231
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
232
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
233
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
234
|
+
// chartsSearchLabel: 'Search fields',
|
|
235
|
+
// chartsSearchClear: 'Clear search',
|
|
236
|
+
// chartsNoFields: 'No fields',
|
|
237
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
238
|
+
// chartsCategories: 'Categories',
|
|
239
|
+
// chartsSeries: 'Series',
|
|
240
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
241
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
242
|
+
// chartsMenuMoveUp: 'Move up',
|
|
243
|
+
// chartsMenuMoveDown: 'Move down',
|
|
244
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
245
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
246
|
+
// chartsMenuOptions: 'Field options',
|
|
247
|
+
// chartsMenuRemove: 'Remove',
|
|
248
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
249
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
250
|
+
|
|
220
251
|
// AI Assistant panel
|
|
221
252
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
222
253
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
package/esm/locales/zhTW.js
CHANGED
|
@@ -35,6 +35,9 @@ const zhTWGrid = {
|
|
|
35
35
|
// Toolbar pivot button
|
|
36
36
|
// toolbarPivot: 'Pivot',
|
|
37
37
|
|
|
38
|
+
// Toolbar charts button
|
|
39
|
+
// toolbarCharts: 'Charts',
|
|
40
|
+
|
|
38
41
|
// Toolbar AI Assistant button
|
|
39
42
|
// toolbarAssistant: 'AI Assistant',
|
|
40
43
|
|
|
@@ -115,6 +118,7 @@ const zhTWGrid = {
|
|
|
115
118
|
columnMenuSortAsc: '升序',
|
|
116
119
|
columnMenuSortDesc: '降序',
|
|
117
120
|
// columnMenuManagePivot: 'Manage pivot',
|
|
121
|
+
// columnMenuManageCharts: 'Manage charts',
|
|
118
122
|
|
|
119
123
|
// Column header text
|
|
120
124
|
columnHeaderFiltersTooltipActive: count => `${count} 個篩選器`,
|
|
@@ -183,6 +187,7 @@ const zhTWGrid = {
|
|
|
183
187
|
rowReorderingHeaderName: '排序',
|
|
184
188
|
// Aggregation
|
|
185
189
|
aggregationMenuItemHeader: '集合',
|
|
190
|
+
// aggregationFunctionLabelNone: 'none',
|
|
186
191
|
aggregationFunctionLabelSum: '總數',
|
|
187
192
|
aggregationFunctionLabelAvg: '平均數',
|
|
188
193
|
aggregationFunctionLabelMin: '最小',
|
|
@@ -217,6 +222,32 @@ const zhTWGrid = {
|
|
|
217
222
|
// pivotYearColumnHeaderName: '(Year)',
|
|
218
223
|
// pivotQuarterColumnHeaderName: '(Quarter)',
|
|
219
224
|
|
|
225
|
+
// Charts configuration panel
|
|
226
|
+
// chartsNoCharts: 'There are no charts available',
|
|
227
|
+
// chartsChartNotSelected: 'Select a chart type to configure its options',
|
|
228
|
+
// chartsTabChart: 'Chart',
|
|
229
|
+
// chartsTabFields: 'Fields',
|
|
230
|
+
// chartsTabCustomize: 'Customize',
|
|
231
|
+
// chartsCloseButton: 'Close charts configuration',
|
|
232
|
+
// chartsSyncButtonLabel: 'Sync chart',
|
|
233
|
+
// chartsSearchPlaceholder: 'Search fields',
|
|
234
|
+
// chartsSearchLabel: 'Search fields',
|
|
235
|
+
// chartsSearchClear: 'Clear search',
|
|
236
|
+
// chartsNoFields: 'No fields',
|
|
237
|
+
// chartsFieldBlocked: 'This field cannot be added to any section',
|
|
238
|
+
// chartsCategories: 'Categories',
|
|
239
|
+
// chartsSeries: 'Series',
|
|
240
|
+
// chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
|
|
241
|
+
// chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
|
|
242
|
+
// chartsMenuMoveUp: 'Move up',
|
|
243
|
+
// chartsMenuMoveDown: 'Move down',
|
|
244
|
+
// chartsMenuMoveToTop: 'Move to top',
|
|
245
|
+
// chartsMenuMoveToBottom: 'Move to bottom',
|
|
246
|
+
// chartsMenuOptions: 'Field options',
|
|
247
|
+
// chartsMenuRemove: 'Remove',
|
|
248
|
+
// chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
|
|
249
|
+
// chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
|
|
250
|
+
|
|
220
251
|
// AI Assistant panel
|
|
221
252
|
// aiAssistantPanelTitle: 'AI Assistant',
|
|
222
253
|
// aiAssistantPanelClose: 'Close AI Assistant',
|
|
@@ -17,6 +17,8 @@ import type { TooltipProps } from '@mui/material/Tooltip';
|
|
|
17
17
|
import type { InputProps } from '@mui/material/Input';
|
|
18
18
|
import type { SelectProps } from '@mui/material/Select';
|
|
19
19
|
import type { SkeletonProps } from '@mui/material/Skeleton';
|
|
20
|
+
import type { ToggleButtonProps } from '@mui/material/ToggleButton';
|
|
21
|
+
import type { TabsProps } from '@mui/material/Tabs';
|
|
20
22
|
declare module '@mui/x-data-grid' {
|
|
21
23
|
interface BaseAutocompletePropsOverrides {
|
|
22
24
|
material?: Partial<AutocompleteProps<string, true, false, true>>;
|
|
@@ -54,6 +56,12 @@ declare module '@mui/x-data-grid' {
|
|
|
54
56
|
interface BaseButtonPropsOverrides {
|
|
55
57
|
material?: Partial<ButtonProps>;
|
|
56
58
|
}
|
|
59
|
+
interface BaseToggleButtonPropsOverrides {
|
|
60
|
+
material?: Partial<ToggleButtonProps>;
|
|
61
|
+
}
|
|
62
|
+
interface BaseTabsPropsOverrides {
|
|
63
|
+
material?: Partial<TabsProps>;
|
|
64
|
+
}
|
|
57
65
|
interface BaseIconButtonPropsOverrides {
|
|
58
66
|
material?: Partial<IconButtonProps>;
|
|
59
67
|
}
|