@mui/x-data-grid 5.17.25 → 5.17.26

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 CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 5.17.26
7
+
8
+ _Mar 3, 2023_
9
+
10
+ We're happy to announce the [v6 stable](https://github.com/mui/mui-x/releases/tag/v6.0.0) is finally available! 🎉
11
+ Support, new features, and non-critical bug fixes will only be shipped in v6.
12
+ v5 is now officially in **long-term support**. This means it's the last v5 weekly release, and new versions will only be released for critical fixes; to provide security updates and support for regressions.
13
+
14
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
15
+
16
+ - 🌍 Improve Czech, Arabic, and Spanish locales
17
+ - 🐞 Bugfixes
18
+
19
+ ### `@mui/x-data-grid@v5.17.26` / `@mui/x-data-grid-pro@v5.17.26` / `@mui/x-data-grid-premium@v5.17.26`
20
+
21
+ #### Changes
22
+
23
+ - [DataGrid] Register `getLocaleText` synchronously (#8073) @m4theushw
24
+ - [l10n] Import Czech (cs-CZ) locale (#8114) @BlastyCZ
25
+ - [l10n] Improve Arabic (ar-SD) locale for `DataGrid` (#8094) @atf98
26
+ - [l10n] Improve Spanish (es-ES) locale (#8030) @RadamesRamirez0
27
+
6
28
  ## 5.17.25
7
29
 
8
30
  _Feb 23, 2023_
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { useGridApiMethod } from '../utils/useGridApiMethod';
3
2
  export const useGridLocaleText = (apiRef, props) => {
4
3
  const getLocaleText = React.useCallback(key => {
5
4
  if (props.localeText[key] == null) {
@@ -8,8 +7,5 @@ export const useGridLocaleText = (apiRef, props) => {
8
7
 
9
8
  return props.localeText[key];
10
9
  }, [props.localeText]);
11
- const localeTextApi = {
12
- getLocaleText
13
- };
14
- useGridApiMethod(apiRef, localeTextApi, 'LocaleTextApi');
10
+ apiRef.current.getLocaleText = getLocaleText;
15
11
  };
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.25
1
+ /** @license MUI X v5.17.26
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { useGridApiMethod } from '../utils/useGridApiMethod';
3
2
  export var useGridLocaleText = function useGridLocaleText(apiRef, props) {
4
3
  var getLocaleText = React.useCallback(function (key) {
5
4
  if (props.localeText[key] == null) {
@@ -8,8 +7,5 @@ export var useGridLocaleText = function useGridLocaleText(apiRef, props) {
8
7
 
9
8
  return props.localeText[key];
10
9
  }, [props.localeText]);
11
- var localeTextApi = {
12
- getLocaleText: getLocaleText
13
- };
14
- useGridApiMethod(apiRef, localeTextApi, 'LocaleTextApi');
10
+ apiRef.current.getLocaleText = getLocaleText;
15
11
  };
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.25
1
+ /** @license MUI X v5.17.26
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -23,15 +23,15 @@ var arSDGrid = {
23
23
  return count !== 1 ? "".concat(count, " \u0645\u0646 \u0627\u0644\u0645\u0631\u0634\u0650\u062D\u0627\u062A \u0627\u0644\u0646\u0634\u0637\u0629") : "\u0645\u0631\u0634\u0650\u062D \u0646\u0634\u0637";
24
24
  },
25
25
  // Quick filter toolbar field
26
- // toolbarQuickFilterPlaceholder: 'Search…',
27
- // toolbarQuickFilterLabel: 'Search',
28
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
+ toolbarQuickFilterPlaceholder: 'بحث...',
27
+ toolbarQuickFilterLabel: 'بحث',
28
+ toolbarQuickFilterDeleteIconLabel: 'أزال',
29
29
  // Export selector toolbar button text
30
30
  toolbarExport: 'تصدير',
31
31
  toolbarExportLabel: 'تصدير',
32
32
  toolbarExportCSV: 'تنزيل كملف CSV',
33
- // toolbarExportPrint: 'Print',
34
- // toolbarExportExcel: 'Download as Excel',
33
+ toolbarExportPrint: 'طباعة',
34
+ toolbarExportExcel: 'تحميل كملف الإكسل',
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: 'البحث عن العمود',
37
37
  columnsPanelTextFieldPlaceholder: 'عنوان العمود',
@@ -119,17 +119,17 @@ var arSDGrid = {
119
119
  return "\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u062A\u062C\u0645\u064A\u0639 \u062D\u0633\u0628 ".concat(name);
120
120
  },
121
121
  // Master/detail
122
- // detailPanelToggle: 'Detail panel toggle',
122
+ detailPanelToggle: 'اظهار/اخفاء لوحة التفاصيل',
123
123
  expandDetailPanel: 'توسيع',
124
- collapseDetailPanel: 'طوي' // Row reordering text
125
- // rowReorderingHeaderName: 'Row reordering',
124
+ collapseDetailPanel: 'طوي',
125
+ // Row reordering text
126
+ rowReorderingHeaderName: 'أعادة ترتيب الصفوف',
126
127
  // Aggregation
127
- // aggregationMenuItemHeader: 'Aggregation',
128
- // aggregationFunctionLabelSum: 'sum',
129
- // aggregationFunctionLabelAvg: 'avg',
130
- // aggregationFunctionLabelMin: 'min',
131
- // aggregationFunctionLabelMax: 'max',
132
- // aggregationFunctionLabelSize: 'size',
133
-
128
+ aggregationMenuItemHeader: 'الدلالات الحسابية',
129
+ aggregationFunctionLabelSum: 'مجموع',
130
+ aggregationFunctionLabelAvg: 'معدل',
131
+ aggregationFunctionLabelMin: 'الحد الادنى',
132
+ aggregationFunctionLabelMax: 'الحد الاقصى',
133
+ aggregationFunctionLabelSize: 'الحجم'
134
134
  };
135
135
  export var arSD = getGridLocalization(arSDGrid, arSDCore);
@@ -31,15 +31,15 @@ var csCZGrid = {
31
31
  return "".concat(count, " ").concat(pluralForm);
32
32
  },
33
33
  // Quick filter toolbar field
34
- // toolbarQuickFilterPlaceholder: 'Search…',
35
- // toolbarQuickFilterLabel: 'Search',
36
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
34
+ toolbarQuickFilterPlaceholder: 'Vyhledávat…',
35
+ toolbarQuickFilterLabel: 'Vyhledat',
36
+ toolbarQuickFilterDeleteIconLabel: 'Vymazat',
37
37
  // Export selector toolbar button text
38
38
  toolbarExport: 'Export',
39
39
  toolbarExportLabel: 'Export',
40
40
  toolbarExportCSV: 'Stáhnout jako CSV',
41
41
  toolbarExportPrint: 'Vytisknout',
42
- // toolbarExportExcel: 'Download as Excel',
42
+ toolbarExportExcel: 'Stáhnout jako Excel',
43
43
  // Columns panel text
44
44
  columnsPanelTextFieldLabel: 'Najít sloupec',
45
45
  columnsPanelTextFieldPlaceholder: 'Název sloupce',
@@ -49,7 +49,7 @@ var csCZGrid = {
49
49
  // Filter panel text
50
50
  filterPanelAddFilter: 'Přidat filtr',
51
51
  filterPanelDeleteIconLabel: 'Odstranit',
52
- // filterPanelLinkOperator: 'Logic operator',
52
+ filterPanelLinkOperator: 'Logický operátor',
53
53
  filterPanelOperators: 'Operátory',
54
54
  // TODO v6: rename to filterPanelOperator
55
55
  filterPanelOperatorAnd: 'A',
@@ -70,7 +70,7 @@ var csCZGrid = {
70
70
  filterOperatorOnOrBefore: 'je na nebo dříve',
71
71
  filterOperatorIsEmpty: 'je prázdný',
72
72
  filterOperatorIsNotEmpty: 'není prázdný',
73
- // filterOperatorIsAnyOf: 'is any of',
73
+ filterOperatorIsAnyOf: 'je jeden z',
74
74
  // Filter values text
75
75
  filterValueAny: 'jakýkoliv',
76
76
  filterValueTrue: 'ano',
@@ -120,10 +120,10 @@ var csCZGrid = {
120
120
  },
121
121
  // Checkbox selection text
122
122
  checkboxSelectionHeaderName: 'Výběr řádku',
123
- // checkboxSelectionSelectAllRows: 'Select all rows',
124
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
125
- // checkboxSelectionSelectRow: 'Select row',
126
- // checkboxSelectionUnselectRow: 'Unselect row',
123
+ checkboxSelectionSelectAllRows: 'Označit všechny řádky',
124
+ checkboxSelectionUnselectAllRows: 'Odznačit všechny řádky',
125
+ checkboxSelectionSelectRow: 'Označit řádek',
126
+ checkboxSelectionUnselectRow: 'Odznačit řádek',
127
127
  // Boolean cell text
128
128
  booleanCellTrueLabel: 'ano',
129
129
  booleanCellFalseLabel: 'ne',
@@ -140,23 +140,23 @@ var csCZGrid = {
140
140
  // Grouping columns
141
141
  groupingColumnHeaderName: 'Skupina',
142
142
  groupColumn: function groupColumn(name) {
143
- return "Zoskupit podle ".concat(name);
143
+ return "Zeskupit podle ".concat(name);
144
144
  },
145
145
  unGroupColumn: function unGroupColumn(name) {
146
- return "P\u0159estat zoskupovat podle ".concat(name);
147
- } // Master/detail
148
- // detailPanelToggle: 'Detail panel toggle',
149
- // expandDetailPanel: 'Expand',
150
- // collapseDetailPanel: 'Collapse',
146
+ return "P\u0159estat zeskupovat podle ".concat(name);
147
+ },
148
+ // Master/detail
149
+ detailPanelToggle: 'Přepnout detail panelu',
150
+ expandDetailPanel: 'Rozbalit',
151
+ collapseDetailPanel: 'Sbalit',
151
152
  // Row reordering text
152
- // rowReorderingHeaderName: 'Row reordering',
153
+ rowReorderingHeaderName: 'Přeuspořádávání řádků',
153
154
  // Aggregation
154
- // aggregationMenuItemHeader: 'Aggregation',
155
- // aggregationFunctionLabelSum: 'sum',
156
- // aggregationFunctionLabelAvg: 'avg',
157
- // aggregationFunctionLabelMin: 'min',
158
- // aggregationFunctionLabelMax: 'max',
159
- // aggregationFunctionLabelSize: 'size',
160
-
155
+ aggregationMenuItemHeader: 'Seskupování',
156
+ aggregationFunctionLabelSum: 'součet',
157
+ aggregationFunctionLabelAvg: 'průměr',
158
+ aggregationFunctionLabelMin: 'min',
159
+ aggregationFunctionLabelMax: 'max',
160
+ aggregationFunctionLabelSize: 'počet'
161
161
  };
162
162
  export var csCZ = getGridLocalization(csCZGrid, csCZCore);
@@ -35,7 +35,7 @@ var esESGrid = {
35
35
  // Columns panel text
36
36
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
37
37
  columnsPanelTextFieldPlaceholder: 'Título de columna',
38
- columnsPanelDragIconLabel: 'Reorder columna',
38
+ columnsPanelDragIconLabel: 'Reordenar columna',
39
39
  columnsPanelShowAllButton: 'Mostrar todo',
40
40
  columnsPanelHideAllButton: 'Ocultar todo',
41
41
  // Filter panel text
package/locales/arSD.js CHANGED
@@ -21,15 +21,15 @@ const arSDGrid = {
21
21
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
23
23
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search…',
25
- // toolbarQuickFilterLabel: 'Search',
26
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
24
+ toolbarQuickFilterPlaceholder: 'بحث...',
25
+ toolbarQuickFilterLabel: 'بحث',
26
+ toolbarQuickFilterDeleteIconLabel: 'أزال',
27
27
  // Export selector toolbar button text
28
28
  toolbarExport: 'تصدير',
29
29
  toolbarExportLabel: 'تصدير',
30
30
  toolbarExportCSV: 'تنزيل كملف CSV',
31
- // toolbarExportPrint: 'Print',
32
- // toolbarExportExcel: 'Download as Excel',
31
+ toolbarExportPrint: 'طباعة',
32
+ toolbarExportExcel: 'تحميل كملف الإكسل',
33
33
  // Columns panel text
34
34
  columnsPanelTextFieldLabel: 'البحث عن العمود',
35
35
  columnsPanelTextFieldPlaceholder: 'عنوان العمود',
@@ -107,17 +107,17 @@ const arSDGrid = {
107
107
  groupColumn: name => `تجميع حسب ${name}`,
108
108
  unGroupColumn: name => `إيقاف التجميع حسب ${name}`,
109
109
  // Master/detail
110
- // detailPanelToggle: 'Detail panel toggle',
110
+ detailPanelToggle: 'اظهار/اخفاء لوحة التفاصيل',
111
111
  expandDetailPanel: 'توسيع',
112
- collapseDetailPanel: 'طوي' // Row reordering text
113
- // rowReorderingHeaderName: 'Row reordering',
112
+ collapseDetailPanel: 'طوي',
113
+ // Row reordering text
114
+ rowReorderingHeaderName: 'أعادة ترتيب الصفوف',
114
115
  // Aggregation
115
- // aggregationMenuItemHeader: 'Aggregation',
116
- // aggregationFunctionLabelSum: 'sum',
117
- // aggregationFunctionLabelAvg: 'avg',
118
- // aggregationFunctionLabelMin: 'min',
119
- // aggregationFunctionLabelMax: 'max',
120
- // aggregationFunctionLabelSize: 'size',
121
-
116
+ aggregationMenuItemHeader: 'الدلالات الحسابية',
117
+ aggregationFunctionLabelSum: 'مجموع',
118
+ aggregationFunctionLabelAvg: 'معدل',
119
+ aggregationFunctionLabelMin: 'الحد الادنى',
120
+ aggregationFunctionLabelMax: 'الحد الاقصى',
121
+ aggregationFunctionLabelSize: 'الحجم'
122
122
  };
123
123
  export const arSD = getGridLocalization(arSDGrid, arSDCore);
package/locales/csCZ.js CHANGED
@@ -31,15 +31,15 @@ const csCZGrid = {
31
31
  return `${count} ${pluralForm}`;
32
32
  },
33
33
  // Quick filter toolbar field
34
- // toolbarQuickFilterPlaceholder: 'Search…',
35
- // toolbarQuickFilterLabel: 'Search',
36
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
34
+ toolbarQuickFilterPlaceholder: 'Vyhledávat…',
35
+ toolbarQuickFilterLabel: 'Vyhledat',
36
+ toolbarQuickFilterDeleteIconLabel: 'Vymazat',
37
37
  // Export selector toolbar button text
38
38
  toolbarExport: 'Export',
39
39
  toolbarExportLabel: 'Export',
40
40
  toolbarExportCSV: 'Stáhnout jako CSV',
41
41
  toolbarExportPrint: 'Vytisknout',
42
- // toolbarExportExcel: 'Download as Excel',
42
+ toolbarExportExcel: 'Stáhnout jako Excel',
43
43
  // Columns panel text
44
44
  columnsPanelTextFieldLabel: 'Najít sloupec',
45
45
  columnsPanelTextFieldPlaceholder: 'Název sloupce',
@@ -49,7 +49,7 @@ const csCZGrid = {
49
49
  // Filter panel text
50
50
  filterPanelAddFilter: 'Přidat filtr',
51
51
  filterPanelDeleteIconLabel: 'Odstranit',
52
- // filterPanelLinkOperator: 'Logic operator',
52
+ filterPanelLinkOperator: 'Logický operátor',
53
53
  filterPanelOperators: 'Operátory',
54
54
  // TODO v6: rename to filterPanelOperator
55
55
  filterPanelOperatorAnd: 'A',
@@ -70,7 +70,7 @@ const csCZGrid = {
70
70
  filterOperatorOnOrBefore: 'je na nebo dříve',
71
71
  filterOperatorIsEmpty: 'je prázdný',
72
72
  filterOperatorIsNotEmpty: 'není prázdný',
73
- // filterOperatorIsAnyOf: 'is any of',
73
+ filterOperatorIsAnyOf: 'je jeden z',
74
74
  // Filter values text
75
75
  filterValueAny: 'jakýkoliv',
76
76
  filterValueTrue: 'ano',
@@ -120,10 +120,10 @@ const csCZGrid = {
120
120
  },
121
121
  // Checkbox selection text
122
122
  checkboxSelectionHeaderName: 'Výběr řádku',
123
- // checkboxSelectionSelectAllRows: 'Select all rows',
124
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
125
- // checkboxSelectionSelectRow: 'Select row',
126
- // checkboxSelectionUnselectRow: 'Unselect row',
123
+ checkboxSelectionSelectAllRows: 'Označit všechny řádky',
124
+ checkboxSelectionUnselectAllRows: 'Odznačit všechny řádky',
125
+ checkboxSelectionSelectRow: 'Označit řádek',
126
+ checkboxSelectionUnselectRow: 'Odznačit řádek',
127
127
  // Boolean cell text
128
128
  booleanCellTrueLabel: 'ano',
129
129
  booleanCellFalseLabel: 'ne',
@@ -139,20 +139,20 @@ const csCZGrid = {
139
139
  treeDataCollapse: 'skrýt potomky',
140
140
  // Grouping columns
141
141
  groupingColumnHeaderName: 'Skupina',
142
- groupColumn: name => `Zoskupit podle ${name}`,
143
- unGroupColumn: name => `Přestat zoskupovat podle ${name}` // Master/detail
144
- // detailPanelToggle: 'Detail panel toggle',
145
- // expandDetailPanel: 'Expand',
146
- // collapseDetailPanel: 'Collapse',
142
+ groupColumn: name => `Zeskupit podle ${name}`,
143
+ unGroupColumn: name => `Přestat zeskupovat podle ${name}`,
144
+ // Master/detail
145
+ detailPanelToggle: 'Přepnout detail panelu',
146
+ expandDetailPanel: 'Rozbalit',
147
+ collapseDetailPanel: 'Sbalit',
147
148
  // Row reordering text
148
- // rowReorderingHeaderName: 'Row reordering',
149
+ rowReorderingHeaderName: 'Přeuspořádávání řádků',
149
150
  // Aggregation
150
- // aggregationMenuItemHeader: 'Aggregation',
151
- // aggregationFunctionLabelSum: 'sum',
152
- // aggregationFunctionLabelAvg: 'avg',
153
- // aggregationFunctionLabelMin: 'min',
154
- // aggregationFunctionLabelMax: 'max',
155
- // aggregationFunctionLabelSize: 'size',
156
-
151
+ aggregationMenuItemHeader: 'Seskupování',
152
+ aggregationFunctionLabelSum: 'součet',
153
+ aggregationFunctionLabelAvg: 'průměr',
154
+ aggregationFunctionLabelMin: 'min',
155
+ aggregationFunctionLabelMax: 'max',
156
+ aggregationFunctionLabelSize: 'počet'
157
157
  };
158
158
  export const csCZ = getGridLocalization(csCZGrid, csCZCore);
package/locales/esES.js CHANGED
@@ -33,7 +33,7 @@ const esESGrid = {
33
33
  // Columns panel text
34
34
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
35
35
  columnsPanelTextFieldPlaceholder: 'Título de columna',
36
- columnsPanelDragIconLabel: 'Reorder columna',
36
+ columnsPanelDragIconLabel: 'Reordenar columna',
37
37
  columnsPanelShowAllButton: 'Mostrar todo',
38
38
  columnsPanelHideAllButton: 'Ocultar todo',
39
39
  // Filter panel text
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import { useGridApiMethod } from '../utils/useGridApiMethod';
3
2
  export const useGridLocaleText = (apiRef, props) => {
4
3
  const getLocaleText = React.useCallback(key => {
5
4
  if (props.localeText[key] == null) {
@@ -8,8 +7,5 @@ export const useGridLocaleText = (apiRef, props) => {
8
7
 
9
8
  return props.localeText[key];
10
9
  }, [props.localeText]);
11
- const localeTextApi = {
12
- getLocaleText
13
- };
14
- useGridApiMethod(apiRef, localeTextApi, 'LocaleTextApi');
10
+ apiRef.current.getLocaleText = getLocaleText;
15
11
  };
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.25
1
+ /** @license MUI X v5.17.26
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -21,15 +21,15 @@ const arSDGrid = {
21
21
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
22
22
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
23
23
  // Quick filter toolbar field
24
- // toolbarQuickFilterPlaceholder: 'Search…',
25
- // toolbarQuickFilterLabel: 'Search',
26
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
24
+ toolbarQuickFilterPlaceholder: 'بحث...',
25
+ toolbarQuickFilterLabel: 'بحث',
26
+ toolbarQuickFilterDeleteIconLabel: 'أزال',
27
27
  // Export selector toolbar button text
28
28
  toolbarExport: 'تصدير',
29
29
  toolbarExportLabel: 'تصدير',
30
30
  toolbarExportCSV: 'تنزيل كملف CSV',
31
- // toolbarExportPrint: 'Print',
32
- // toolbarExportExcel: 'Download as Excel',
31
+ toolbarExportPrint: 'طباعة',
32
+ toolbarExportExcel: 'تحميل كملف الإكسل',
33
33
  // Columns panel text
34
34
  columnsPanelTextFieldLabel: 'البحث عن العمود',
35
35
  columnsPanelTextFieldPlaceholder: 'عنوان العمود',
@@ -107,17 +107,17 @@ const arSDGrid = {
107
107
  groupColumn: name => `تجميع حسب ${name}`,
108
108
  unGroupColumn: name => `إيقاف التجميع حسب ${name}`,
109
109
  // Master/detail
110
- // detailPanelToggle: 'Detail panel toggle',
110
+ detailPanelToggle: 'اظهار/اخفاء لوحة التفاصيل',
111
111
  expandDetailPanel: 'توسيع',
112
- collapseDetailPanel: 'طوي' // Row reordering text
113
- // rowReorderingHeaderName: 'Row reordering',
112
+ collapseDetailPanel: 'طوي',
113
+ // Row reordering text
114
+ rowReorderingHeaderName: 'أعادة ترتيب الصفوف',
114
115
  // Aggregation
115
- // aggregationMenuItemHeader: 'Aggregation',
116
- // aggregationFunctionLabelSum: 'sum',
117
- // aggregationFunctionLabelAvg: 'avg',
118
- // aggregationFunctionLabelMin: 'min',
119
- // aggregationFunctionLabelMax: 'max',
120
- // aggregationFunctionLabelSize: 'size',
121
-
116
+ aggregationMenuItemHeader: 'الدلالات الحسابية',
117
+ aggregationFunctionLabelSum: 'مجموع',
118
+ aggregationFunctionLabelAvg: 'معدل',
119
+ aggregationFunctionLabelMin: 'الحد الادنى',
120
+ aggregationFunctionLabelMax: 'الحد الاقصى',
121
+ aggregationFunctionLabelSize: 'الحجم'
122
122
  };
123
123
  export const arSD = getGridLocalization(arSDGrid, arSDCore);
@@ -31,15 +31,15 @@ const csCZGrid = {
31
31
  return `${count} ${pluralForm}`;
32
32
  },
33
33
  // Quick filter toolbar field
34
- // toolbarQuickFilterPlaceholder: 'Search…',
35
- // toolbarQuickFilterLabel: 'Search',
36
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
34
+ toolbarQuickFilterPlaceholder: 'Vyhledávat…',
35
+ toolbarQuickFilterLabel: 'Vyhledat',
36
+ toolbarQuickFilterDeleteIconLabel: 'Vymazat',
37
37
  // Export selector toolbar button text
38
38
  toolbarExport: 'Export',
39
39
  toolbarExportLabel: 'Export',
40
40
  toolbarExportCSV: 'Stáhnout jako CSV',
41
41
  toolbarExportPrint: 'Vytisknout',
42
- // toolbarExportExcel: 'Download as Excel',
42
+ toolbarExportExcel: 'Stáhnout jako Excel',
43
43
  // Columns panel text
44
44
  columnsPanelTextFieldLabel: 'Najít sloupec',
45
45
  columnsPanelTextFieldPlaceholder: 'Název sloupce',
@@ -49,7 +49,7 @@ const csCZGrid = {
49
49
  // Filter panel text
50
50
  filterPanelAddFilter: 'Přidat filtr',
51
51
  filterPanelDeleteIconLabel: 'Odstranit',
52
- // filterPanelLinkOperator: 'Logic operator',
52
+ filterPanelLinkOperator: 'Logický operátor',
53
53
  filterPanelOperators: 'Operátory',
54
54
  // TODO v6: rename to filterPanelOperator
55
55
  filterPanelOperatorAnd: 'A',
@@ -70,7 +70,7 @@ const csCZGrid = {
70
70
  filterOperatorOnOrBefore: 'je na nebo dříve',
71
71
  filterOperatorIsEmpty: 'je prázdný',
72
72
  filterOperatorIsNotEmpty: 'není prázdný',
73
- // filterOperatorIsAnyOf: 'is any of',
73
+ filterOperatorIsAnyOf: 'je jeden z',
74
74
  // Filter values text
75
75
  filterValueAny: 'jakýkoliv',
76
76
  filterValueTrue: 'ano',
@@ -120,10 +120,10 @@ const csCZGrid = {
120
120
  },
121
121
  // Checkbox selection text
122
122
  checkboxSelectionHeaderName: 'Výběr řádku',
123
- // checkboxSelectionSelectAllRows: 'Select all rows',
124
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
125
- // checkboxSelectionSelectRow: 'Select row',
126
- // checkboxSelectionUnselectRow: 'Unselect row',
123
+ checkboxSelectionSelectAllRows: 'Označit všechny řádky',
124
+ checkboxSelectionUnselectAllRows: 'Odznačit všechny řádky',
125
+ checkboxSelectionSelectRow: 'Označit řádek',
126
+ checkboxSelectionUnselectRow: 'Odznačit řádek',
127
127
  // Boolean cell text
128
128
  booleanCellTrueLabel: 'ano',
129
129
  booleanCellFalseLabel: 'ne',
@@ -139,20 +139,20 @@ const csCZGrid = {
139
139
  treeDataCollapse: 'skrýt potomky',
140
140
  // Grouping columns
141
141
  groupingColumnHeaderName: 'Skupina',
142
- groupColumn: name => `Zoskupit podle ${name}`,
143
- unGroupColumn: name => `Přestat zoskupovat podle ${name}` // Master/detail
144
- // detailPanelToggle: 'Detail panel toggle',
145
- // expandDetailPanel: 'Expand',
146
- // collapseDetailPanel: 'Collapse',
142
+ groupColumn: name => `Zeskupit podle ${name}`,
143
+ unGroupColumn: name => `Přestat zeskupovat podle ${name}`,
144
+ // Master/detail
145
+ detailPanelToggle: 'Přepnout detail panelu',
146
+ expandDetailPanel: 'Rozbalit',
147
+ collapseDetailPanel: 'Sbalit',
147
148
  // Row reordering text
148
- // rowReorderingHeaderName: 'Row reordering',
149
+ rowReorderingHeaderName: 'Přeuspořádávání řádků',
149
150
  // Aggregation
150
- // aggregationMenuItemHeader: 'Aggregation',
151
- // aggregationFunctionLabelSum: 'sum',
152
- // aggregationFunctionLabelAvg: 'avg',
153
- // aggregationFunctionLabelMin: 'min',
154
- // aggregationFunctionLabelMax: 'max',
155
- // aggregationFunctionLabelSize: 'size',
156
-
151
+ aggregationMenuItemHeader: 'Seskupování',
152
+ aggregationFunctionLabelSum: 'součet',
153
+ aggregationFunctionLabelAvg: 'průměr',
154
+ aggregationFunctionLabelMin: 'min',
155
+ aggregationFunctionLabelMax: 'max',
156
+ aggregationFunctionLabelSize: 'počet'
157
157
  };
158
158
  export const csCZ = getGridLocalization(csCZGrid, csCZCore);
@@ -33,7 +33,7 @@ const esESGrid = {
33
33
  // Columns panel text
34
34
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
35
35
  columnsPanelTextFieldPlaceholder: 'Título de columna',
36
- columnsPanelDragIconLabel: 'Reorder columna',
36
+ columnsPanelDragIconLabel: 'Reordenar columna',
37
37
  columnsPanelShowAllButton: 'Mostrar todo',
38
38
  columnsPanelHideAllButton: 'Ocultar todo',
39
39
  // Filter panel text
@@ -7,8 +7,6 @@ exports.useGridLocaleText = void 0;
7
7
 
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
 
10
- var _useGridApiMethod = require("../utils/useGridApiMethod");
11
-
12
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
11
 
14
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -21,10 +19,7 @@ const useGridLocaleText = (apiRef, props) => {
21
19
 
22
20
  return props.localeText[key];
23
21
  }, [props.localeText]);
24
- const localeTextApi = {
25
- getLocaleText
26
- };
27
- (0, _useGridApiMethod.useGridApiMethod)(apiRef, localeTextApi, 'LocaleTextApi');
22
+ apiRef.current.getLocaleText = getLocaleText;
28
23
  };
29
24
 
30
25
  exports.useGridLocaleText = useGridLocaleText;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI X v5.17.25
1
+ /** @license MUI X v5.17.26
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -30,15 +30,15 @@ const arSDGrid = {
30
30
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
32
32
  // Quick filter toolbar field
33
- // toolbarQuickFilterPlaceholder: 'Search…',
34
- // toolbarQuickFilterLabel: 'Search',
35
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
33
+ toolbarQuickFilterPlaceholder: 'بحث...',
34
+ toolbarQuickFilterLabel: 'بحث',
35
+ toolbarQuickFilterDeleteIconLabel: 'أزال',
36
36
  // Export selector toolbar button text
37
37
  toolbarExport: 'تصدير',
38
38
  toolbarExportLabel: 'تصدير',
39
39
  toolbarExportCSV: 'تنزيل كملف CSV',
40
- // toolbarExportPrint: 'Print',
41
- // toolbarExportExcel: 'Download as Excel',
40
+ toolbarExportPrint: 'طباعة',
41
+ toolbarExportExcel: 'تحميل كملف الإكسل',
42
42
  // Columns panel text
43
43
  columnsPanelTextFieldLabel: 'البحث عن العمود',
44
44
  columnsPanelTextFieldPlaceholder: 'عنوان العمود',
@@ -116,18 +116,18 @@ const arSDGrid = {
116
116
  groupColumn: name => `تجميع حسب ${name}`,
117
117
  unGroupColumn: name => `إيقاف التجميع حسب ${name}`,
118
118
  // Master/detail
119
- // detailPanelToggle: 'Detail panel toggle',
119
+ detailPanelToggle: 'اظهار/اخفاء لوحة التفاصيل',
120
120
  expandDetailPanel: 'توسيع',
121
- collapseDetailPanel: 'طوي' // Row reordering text
122
- // rowReorderingHeaderName: 'Row reordering',
121
+ collapseDetailPanel: 'طوي',
122
+ // Row reordering text
123
+ rowReorderingHeaderName: 'أعادة ترتيب الصفوف',
123
124
  // Aggregation
124
- // aggregationMenuItemHeader: 'Aggregation',
125
- // aggregationFunctionLabelSum: 'sum',
126
- // aggregationFunctionLabelAvg: 'avg',
127
- // aggregationFunctionLabelMin: 'min',
128
- // aggregationFunctionLabelMax: 'max',
129
- // aggregationFunctionLabelSize: 'size',
130
-
125
+ aggregationMenuItemHeader: 'الدلالات الحسابية',
126
+ aggregationFunctionLabelSum: 'مجموع',
127
+ aggregationFunctionLabelAvg: 'معدل',
128
+ aggregationFunctionLabelMin: 'الحد الادنى',
129
+ aggregationFunctionLabelMax: 'الحد الاقصى',
130
+ aggregationFunctionLabelSize: 'الحجم'
131
131
  };
132
132
  const arSD = (0, _getGridLocalization.getGridLocalization)(arSDGrid, _locale.arSD);
133
133
  exports.arSD = arSD;
@@ -40,15 +40,15 @@ const csCZGrid = {
40
40
  return `${count} ${pluralForm}`;
41
41
  },
42
42
  // Quick filter toolbar field
43
- // toolbarQuickFilterPlaceholder: 'Search…',
44
- // toolbarQuickFilterLabel: 'Search',
45
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
43
+ toolbarQuickFilterPlaceholder: 'Vyhledávat…',
44
+ toolbarQuickFilterLabel: 'Vyhledat',
45
+ toolbarQuickFilterDeleteIconLabel: 'Vymazat',
46
46
  // Export selector toolbar button text
47
47
  toolbarExport: 'Export',
48
48
  toolbarExportLabel: 'Export',
49
49
  toolbarExportCSV: 'Stáhnout jako CSV',
50
50
  toolbarExportPrint: 'Vytisknout',
51
- // toolbarExportExcel: 'Download as Excel',
51
+ toolbarExportExcel: 'Stáhnout jako Excel',
52
52
  // Columns panel text
53
53
  columnsPanelTextFieldLabel: 'Najít sloupec',
54
54
  columnsPanelTextFieldPlaceholder: 'Název sloupce',
@@ -58,7 +58,7 @@ const csCZGrid = {
58
58
  // Filter panel text
59
59
  filterPanelAddFilter: 'Přidat filtr',
60
60
  filterPanelDeleteIconLabel: 'Odstranit',
61
- // filterPanelLinkOperator: 'Logic operator',
61
+ filterPanelLinkOperator: 'Logický operátor',
62
62
  filterPanelOperators: 'Operátory',
63
63
  // TODO v6: rename to filterPanelOperator
64
64
  filterPanelOperatorAnd: 'A',
@@ -79,7 +79,7 @@ const csCZGrid = {
79
79
  filterOperatorOnOrBefore: 'je na nebo dříve',
80
80
  filterOperatorIsEmpty: 'je prázdný',
81
81
  filterOperatorIsNotEmpty: 'není prázdný',
82
- // filterOperatorIsAnyOf: 'is any of',
82
+ filterOperatorIsAnyOf: 'je jeden z',
83
83
  // Filter values text
84
84
  filterValueAny: 'jakýkoliv',
85
85
  filterValueTrue: 'ano',
@@ -129,10 +129,10 @@ const csCZGrid = {
129
129
  },
130
130
  // Checkbox selection text
131
131
  checkboxSelectionHeaderName: 'Výběr řádku',
132
- // checkboxSelectionSelectAllRows: 'Select all rows',
133
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
134
- // checkboxSelectionSelectRow: 'Select row',
135
- // checkboxSelectionUnselectRow: 'Unselect row',
132
+ checkboxSelectionSelectAllRows: 'Označit všechny řádky',
133
+ checkboxSelectionUnselectAllRows: 'Odznačit všechny řádky',
134
+ checkboxSelectionSelectRow: 'Označit řádek',
135
+ checkboxSelectionUnselectRow: 'Odznačit řádek',
136
136
  // Boolean cell text
137
137
  booleanCellTrueLabel: 'ano',
138
138
  booleanCellFalseLabel: 'ne',
@@ -148,21 +148,21 @@ const csCZGrid = {
148
148
  treeDataCollapse: 'skrýt potomky',
149
149
  // Grouping columns
150
150
  groupingColumnHeaderName: 'Skupina',
151
- groupColumn: name => `Zoskupit podle ${name}`,
152
- unGroupColumn: name => `Přestat zoskupovat podle ${name}` // Master/detail
153
- // detailPanelToggle: 'Detail panel toggle',
154
- // expandDetailPanel: 'Expand',
155
- // collapseDetailPanel: 'Collapse',
151
+ groupColumn: name => `Zeskupit podle ${name}`,
152
+ unGroupColumn: name => `Přestat zeskupovat podle ${name}`,
153
+ // Master/detail
154
+ detailPanelToggle: 'Přepnout detail panelu',
155
+ expandDetailPanel: 'Rozbalit',
156
+ collapseDetailPanel: 'Sbalit',
156
157
  // Row reordering text
157
- // rowReorderingHeaderName: 'Row reordering',
158
+ rowReorderingHeaderName: 'Přeuspořádávání řádků',
158
159
  // Aggregation
159
- // aggregationMenuItemHeader: 'Aggregation',
160
- // aggregationFunctionLabelSum: 'sum',
161
- // aggregationFunctionLabelAvg: 'avg',
162
- // aggregationFunctionLabelMin: 'min',
163
- // aggregationFunctionLabelMax: 'max',
164
- // aggregationFunctionLabelSize: 'size',
165
-
160
+ aggregationMenuItemHeader: 'Seskupování',
161
+ aggregationFunctionLabelSum: 'součet',
162
+ aggregationFunctionLabelAvg: 'průměr',
163
+ aggregationFunctionLabelMin: 'min',
164
+ aggregationFunctionLabelMax: 'max',
165
+ aggregationFunctionLabelSize: 'počet'
166
166
  };
167
167
  const csCZ = (0, _getGridLocalization.getGridLocalization)(csCZGrid, _locale.csCZ);
168
168
  exports.csCZ = csCZ;
@@ -42,7 +42,7 @@ const esESGrid = {
42
42
  // Columns panel text
43
43
  columnsPanelTextFieldLabel: 'Columna de búsqueda',
44
44
  columnsPanelTextFieldPlaceholder: 'Título de columna',
45
- columnsPanelDragIconLabel: 'Reorder columna',
45
+ columnsPanelDragIconLabel: 'Reordenar columna',
46
46
  columnsPanelShowAllButton: 'Mostrar todo',
47
47
  columnsPanelHideAllButton: 'Ocultar todo',
48
48
  // Filter panel text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "5.17.25",
3
+ "version": "5.17.26",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",