@mui/x-data-grid 5.17.2 → 5.17.4
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 +70 -2
- package/colDef/gridNumericOperators.d.ts +1 -1
- package/colDef/gridSingleSelectOperators.d.ts +1 -1
- package/colDef/gridStringOperators.d.ts +1 -1
- package/components/GridRow.js +5 -2
- package/components/cell/GridEditBooleanCell.js +1 -0
- package/components/cell/GridEditDateCell.js +1 -0
- package/components/cell/GridEditInputCell.js +21 -7
- package/components/cell/GridEditSingleSelectCell.js +1 -0
- package/hooks/features/editRows/useGridCellEditing.new.js +6 -3
- package/hooks/features/editRows/useGridEditing.new.js +9 -1
- package/hooks/features/editRows/useGridRowEditing.new.js +6 -3
- package/hooks/features/focus/useGridFocus.js +14 -15
- package/hooks/utils/useGridInitializeState.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/components/GridRow.js +6 -2
- package/legacy/components/cell/GridEditBooleanCell.js +1 -0
- package/legacy/components/cell/GridEditDateCell.js +1 -0
- package/legacy/components/cell/GridEditInputCell.js +23 -9
- package/legacy/components/cell/GridEditSingleSelectCell.js +1 -0
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +5 -4
- package/legacy/hooks/features/editRows/useGridEditing.new.js +9 -1
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +6 -3
- package/legacy/hooks/features/focus/useGridFocus.js +14 -15
- package/legacy/index.js +1 -1
- package/legacy/locales/faIR.js +14 -14
- package/legacy/locales/fiFI.js +32 -28
- package/legacy/locales/plPL.js +7 -7
- package/locales/faIR.js +14 -14
- package/locales/fiFI.js +28 -28
- package/locales/plPL.js +7 -7
- package/models/api/gridEditingApi.d.ts +10 -0
- package/models/gridEditRowModel.d.ts +2 -0
- package/models/gridRows.d.ts +1 -1
- package/models/params/gridEditCellParams.d.ts +7 -3
- package/modern/components/GridRow.js +5 -2
- package/modern/components/cell/GridEditBooleanCell.js +1 -0
- package/modern/components/cell/GridEditDateCell.js +1 -0
- package/modern/components/cell/GridEditInputCell.js +18 -6
- package/modern/components/cell/GridEditSingleSelectCell.js +1 -0
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +6 -3
- package/modern/hooks/features/editRows/useGridEditing.new.js +9 -1
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +6 -3
- package/modern/hooks/features/focus/useGridFocus.js +14 -15
- package/modern/index.js +1 -1
- package/modern/locales/faIR.js +14 -14
- package/modern/locales/fiFI.js +28 -28
- package/modern/locales/plPL.js +7 -7
- package/node/components/GridRow.js +4 -2
- package/node/components/cell/GridEditBooleanCell.js +1 -0
- package/node/components/cell/GridEditDateCell.js +1 -0
- package/node/components/cell/GridEditInputCell.js +21 -7
- package/node/components/cell/GridEditSingleSelectCell.js +1 -0
- package/node/hooks/features/editRows/useGridCellEditing.new.js +6 -3
- package/node/hooks/features/editRows/useGridEditing.new.js +10 -1
- package/node/hooks/features/editRows/useGridRowEditing.new.js +6 -3
- package/node/hooks/features/focus/useGridFocus.js +14 -15
- package/node/index.js +1 -1
- package/node/locales/faIR.js +14 -14
- package/node/locales/fiFI.js +28 -28
- package/node/locales/plPL.js +7 -7
- package/package.json +2 -2
package/node/locales/faIR.js
CHANGED
|
@@ -30,15 +30,15 @@ const faIRGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'نمایش فیلترها',
|
|
31
31
|
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${count} فیلتر فعال`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'جستجو...',
|
|
34
|
+
toolbarQuickFilterLabel: 'جستجو',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'حذف',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'خروجی',
|
|
38
38
|
toolbarExportLabel: 'خروجی',
|
|
39
39
|
toolbarExportCSV: 'دانلود به صورت CSV',
|
|
40
40
|
toolbarExportPrint: 'چاپ',
|
|
41
|
-
|
|
41
|
+
toolbarExportExcel: 'دانلود به صورت اکسل',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'پیداکردن ستون',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: 'عنوان ستون',
|
|
@@ -116,18 +116,18 @@ const faIRGrid = {
|
|
|
116
116
|
groupColumn: name => `گروهبندی براساس ${name}`,
|
|
117
117
|
unGroupColumn: name => `لغو گروهبندی براساس ${name}`,
|
|
118
118
|
// Master/detail
|
|
119
|
-
|
|
119
|
+
detailPanelToggle: 'پنل جزئیات',
|
|
120
120
|
expandDetailPanel: 'بازکردن پنل جزئیات',
|
|
121
|
-
collapseDetailPanel: 'بستن پنل جزئیات'
|
|
122
|
-
//
|
|
121
|
+
collapseDetailPanel: 'بستن پنل جزئیات',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'ترتیب مجدد سطر',
|
|
123
124
|
// Aggregation
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
aggregationMenuItemHeader: 'تجمیع',
|
|
126
|
+
aggregationFunctionLabelSum: 'جمع',
|
|
127
|
+
aggregationFunctionLabelAvg: 'میانگین',
|
|
128
|
+
aggregationFunctionLabelMin: 'حداقل',
|
|
129
|
+
aggregationFunctionLabelMax: 'حداکثر',
|
|
130
|
+
aggregationFunctionLabelSize: 'اندازه'
|
|
131
131
|
};
|
|
132
132
|
const faIR = (0, _getGridLocalization.getGridLocalization)(faIRGrid, _locale.faIR);
|
|
133
133
|
exports.faIR = faIR;
|
package/node/locales/fiFI.js
CHANGED
|
@@ -15,7 +15,7 @@ const fiFIGrid = {
|
|
|
15
15
|
noResultsOverlayLabel: 'Ei tuloksia.',
|
|
16
16
|
errorOverlayDefaultLabel: 'Tapahtui virhe.',
|
|
17
17
|
// Density selector toolbar button text
|
|
18
|
-
toolbarDensity: '
|
|
18
|
+
toolbarDensity: 'Tiiveys',
|
|
19
19
|
toolbarDensityLabel: 'Tiiveys',
|
|
20
20
|
toolbarDensityCompact: 'Kompakti',
|
|
21
21
|
toolbarDensityStandard: 'Vakio',
|
|
@@ -30,15 +30,15 @@ const fiFIGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'Näytä suodattimet',
|
|
31
31
|
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktiivista suodatinta` : `${count} aktiivinen suodatin`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Hae…',
|
|
34
|
+
toolbarQuickFilterLabel: 'Hae',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Tyhjennä',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
|
-
toolbarExport: '
|
|
38
|
-
toolbarExportLabel: '
|
|
37
|
+
toolbarExport: 'Vie',
|
|
38
|
+
toolbarExportLabel: 'Vie',
|
|
39
39
|
toolbarExportCSV: 'Lataa CSV-muodossa',
|
|
40
40
|
toolbarExportPrint: 'Tulosta',
|
|
41
|
-
|
|
41
|
+
toolbarExportExcel: 'Lataa Excel-muodossa',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'Etsi sarake',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: 'Sarakkeen otsikko',
|
|
@@ -48,7 +48,7 @@ const fiFIGrid = {
|
|
|
48
48
|
// Filter panel text
|
|
49
49
|
filterPanelAddFilter: 'Lisää suodatin',
|
|
50
50
|
filterPanelDeleteIconLabel: 'Poista',
|
|
51
|
-
|
|
51
|
+
filterPanelLinkOperator: 'Logiikkaoperaattori',
|
|
52
52
|
filterPanelOperators: 'Operaattorit',
|
|
53
53
|
// TODO v6: rename to filterPanelOperator
|
|
54
54
|
filterPanelOperatorAnd: 'Ja',
|
|
@@ -69,7 +69,7 @@ const fiFIGrid = {
|
|
|
69
69
|
filterOperatorOnOrBefore: 'on sama tai ennen',
|
|
70
70
|
filterOperatorIsEmpty: 'on tyhjä',
|
|
71
71
|
filterOperatorIsNotEmpty: 'ei ole tyhjä',
|
|
72
|
-
|
|
72
|
+
filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
|
|
73
73
|
// Filter values text
|
|
74
74
|
filterValueAny: 'mikä tahansa',
|
|
75
75
|
filterValueTrue: 'tosi',
|
|
@@ -94,10 +94,10 @@ const fiFIGrid = {
|
|
|
94
94
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
|
|
95
95
|
// Checkbox selection text
|
|
96
96
|
checkboxSelectionHeaderName: 'Valintaruutu',
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
checkboxSelectionSelectAllRows: 'Valitse kaikki rivit',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'Poista kaikkien rivien valinta',
|
|
99
|
+
checkboxSelectionSelectRow: 'Valitse rivi',
|
|
100
|
+
checkboxSelectionUnselectRow: 'Poista rivin valinta',
|
|
101
101
|
// Boolean cell text
|
|
102
102
|
booleanCellTrueLabel: 'tosi',
|
|
103
103
|
booleanCellFalseLabel: 'epätosi',
|
|
@@ -110,24 +110,24 @@ const fiFIGrid = {
|
|
|
110
110
|
// Tree Data
|
|
111
111
|
treeDataGroupingHeaderName: 'Ryhmä',
|
|
112
112
|
treeDataExpand: 'Laajenna',
|
|
113
|
-
treeDataCollapse: 'Supista'
|
|
114
|
-
//
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
treeDataCollapse: 'Supista',
|
|
114
|
+
// Grouping columns
|
|
115
|
+
groupingColumnHeaderName: 'Ryhmä',
|
|
116
|
+
groupColumn: name => `Ryhmittelyperuste ${name}`,
|
|
117
|
+
unGroupColumn: name => `Poista ryhmittelyperuste ${name}`,
|
|
117
118
|
// Master/detail
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
detailPanelToggle: 'Yksityiskohtapaneelin vaihto',
|
|
120
|
+
expandDetailPanel: 'Laajenna',
|
|
121
|
+
collapseDetailPanel: 'Tiivistä',
|
|
121
122
|
// Row reordering text
|
|
122
|
-
|
|
123
|
+
rowReorderingHeaderName: 'Rivien uudelleenjärjestely',
|
|
123
124
|
// Aggregation
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
aggregationMenuItemHeader: 'Koostaminen',
|
|
126
|
+
aggregationFunctionLabelSum: 'summa',
|
|
127
|
+
aggregationFunctionLabelAvg: 'ka.',
|
|
128
|
+
aggregationFunctionLabelMin: 'min.',
|
|
129
|
+
aggregationFunctionLabelMax: 'maks.',
|
|
130
|
+
aggregationFunctionLabelSize: 'koko'
|
|
131
131
|
};
|
|
132
132
|
const fiFI = (0, _getGridLocalization.getGridLocalization)(fiFIGrid, _locale.fiFI);
|
|
133
133
|
exports.fiFI = fiFI;
|
package/node/locales/plPL.js
CHANGED
|
@@ -30,15 +30,15 @@ const plPLGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'Pokaż filtry',
|
|
31
31
|
toolbarFiltersTooltipActive: count => `Liczba aktywnych filtrów: ${count}`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Wyszukaj…',
|
|
34
|
+
toolbarQuickFilterLabel: 'Szukaj',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Wyczyść',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'Eksportuj',
|
|
38
38
|
toolbarExportLabel: 'Eksportuj',
|
|
39
39
|
toolbarExportCSV: 'Pobierz jako plik CSV',
|
|
40
40
|
toolbarExportPrint: 'Drukuj',
|
|
41
|
-
|
|
41
|
+
toolbarExportExcel: 'Pobierz jako plik Excel',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'Znajdź kolumnę',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: 'Tytuł kolumny',
|
|
@@ -118,9 +118,9 @@ const plPLGrid = {
|
|
|
118
118
|
// Master/detail
|
|
119
119
|
// detailPanelToggle: 'Detail panel toggle',
|
|
120
120
|
expandDetailPanel: 'Rozwiń',
|
|
121
|
-
collapseDetailPanel: 'Zwiń'
|
|
122
|
-
//
|
|
123
|
-
// Aggregation
|
|
121
|
+
collapseDetailPanel: 'Zwiń',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'Porządkowanie wierszy' // Aggregation
|
|
124
124
|
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
125
|
// aggregationFunctionLabelSum: 'sum',
|
|
126
126
|
// aggregationFunctionLabelAvg: 'avg',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "5.17.
|
|
3
|
+
"version": "5.17.4",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.18.9",
|
|
39
|
-
"@mui/utils": "^5.
|
|
39
|
+
"@mui/utils": "^5.10.3",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^4.1.6"
|