@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.
Files changed (62) hide show
  1. package/CHANGELOG.md +70 -2
  2. package/colDef/gridNumericOperators.d.ts +1 -1
  3. package/colDef/gridSingleSelectOperators.d.ts +1 -1
  4. package/colDef/gridStringOperators.d.ts +1 -1
  5. package/components/GridRow.js +5 -2
  6. package/components/cell/GridEditBooleanCell.js +1 -0
  7. package/components/cell/GridEditDateCell.js +1 -0
  8. package/components/cell/GridEditInputCell.js +21 -7
  9. package/components/cell/GridEditSingleSelectCell.js +1 -0
  10. package/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  11. package/hooks/features/editRows/useGridEditing.new.js +9 -1
  12. package/hooks/features/editRows/useGridRowEditing.new.js +6 -3
  13. package/hooks/features/focus/useGridFocus.js +14 -15
  14. package/hooks/utils/useGridInitializeState.d.ts +1 -1
  15. package/index.js +1 -1
  16. package/legacy/components/GridRow.js +6 -2
  17. package/legacy/components/cell/GridEditBooleanCell.js +1 -0
  18. package/legacy/components/cell/GridEditDateCell.js +1 -0
  19. package/legacy/components/cell/GridEditInputCell.js +23 -9
  20. package/legacy/components/cell/GridEditSingleSelectCell.js +1 -0
  21. package/legacy/hooks/features/editRows/useGridCellEditing.new.js +5 -4
  22. package/legacy/hooks/features/editRows/useGridEditing.new.js +9 -1
  23. package/legacy/hooks/features/editRows/useGridRowEditing.new.js +6 -3
  24. package/legacy/hooks/features/focus/useGridFocus.js +14 -15
  25. package/legacy/index.js +1 -1
  26. package/legacy/locales/faIR.js +14 -14
  27. package/legacy/locales/fiFI.js +32 -28
  28. package/legacy/locales/plPL.js +7 -7
  29. package/locales/faIR.js +14 -14
  30. package/locales/fiFI.js +28 -28
  31. package/locales/plPL.js +7 -7
  32. package/models/api/gridEditingApi.d.ts +10 -0
  33. package/models/gridEditRowModel.d.ts +2 -0
  34. package/models/gridRows.d.ts +1 -1
  35. package/models/params/gridEditCellParams.d.ts +7 -3
  36. package/modern/components/GridRow.js +5 -2
  37. package/modern/components/cell/GridEditBooleanCell.js +1 -0
  38. package/modern/components/cell/GridEditDateCell.js +1 -0
  39. package/modern/components/cell/GridEditInputCell.js +18 -6
  40. package/modern/components/cell/GridEditSingleSelectCell.js +1 -0
  41. package/modern/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  42. package/modern/hooks/features/editRows/useGridEditing.new.js +9 -1
  43. package/modern/hooks/features/editRows/useGridRowEditing.new.js +6 -3
  44. package/modern/hooks/features/focus/useGridFocus.js +14 -15
  45. package/modern/index.js +1 -1
  46. package/modern/locales/faIR.js +14 -14
  47. package/modern/locales/fiFI.js +28 -28
  48. package/modern/locales/plPL.js +7 -7
  49. package/node/components/GridRow.js +4 -2
  50. package/node/components/cell/GridEditBooleanCell.js +1 -0
  51. package/node/components/cell/GridEditDateCell.js +1 -0
  52. package/node/components/cell/GridEditInputCell.js +21 -7
  53. package/node/components/cell/GridEditSingleSelectCell.js +1 -0
  54. package/node/hooks/features/editRows/useGridCellEditing.new.js +6 -3
  55. package/node/hooks/features/editRows/useGridEditing.new.js +10 -1
  56. package/node/hooks/features/editRows/useGridRowEditing.new.js +6 -3
  57. package/node/hooks/features/focus/useGridFocus.js +14 -15
  58. package/node/index.js +1 -1
  59. package/node/locales/faIR.js +14 -14
  60. package/node/locales/fiFI.js +28 -28
  61. package/node/locales/plPL.js +7 -7
  62. package/package.json +2 -2
@@ -30,15 +30,15 @@ const faIRGrid = {
30
30
  toolbarFiltersTooltipShow: 'نمایش فیلترها',
31
31
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${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
40
  toolbarExportPrint: 'چاپ',
41
- // toolbarExportExcel: 'Download as Excel',
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
- // 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 faIR = (0, _getGridLocalization.getGridLocalization)(faIRGrid, _locale.faIR);
133
133
  exports.faIR = faIR;
@@ -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: 'Density',
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
- // toolbarQuickFilterPlaceholder: 'Search…',
34
- // toolbarQuickFilterLabel: 'Search',
35
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
33
+ toolbarQuickFilterPlaceholder: 'Hae…',
34
+ toolbarQuickFilterLabel: 'Hae',
35
+ toolbarQuickFilterDeleteIconLabel: 'Tyhjennä',
36
36
  // Export selector toolbar button text
37
- toolbarExport: 'Export',
38
- toolbarExportLabel: 'Export',
37
+ toolbarExport: 'Vie',
38
+ toolbarExportLabel: 'Vie',
39
39
  toolbarExportCSV: 'Lataa CSV-muodossa',
40
40
  toolbarExportPrint: 'Tulosta',
41
- // toolbarExportExcel: 'Download as Excel',
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
- // filterPanelLinkOperator: 'Logic operator',
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
- // filterOperatorIsAnyOf: 'is any of',
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
- // checkboxSelectionSelectAllRows: 'Select all rows',
98
- // checkboxSelectionUnselectAllRows: 'Unselect all rows',
99
- // checkboxSelectionSelectRow: 'Select row',
100
- // checkboxSelectionUnselectRow: 'Unselect row',
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' // Grouping columns
114
- // groupingColumnHeaderName: 'Group',
115
- // groupColumn: name => `Group by ${name}`,
116
- // unGroupColumn: name => `Stop grouping by ${name}`,
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
- // detailPanelToggle: 'Detail panel toggle',
119
- // expandDetailPanel: 'Expand',
120
- // collapseDetailPanel: 'Collapse',
119
+ detailPanelToggle: 'Yksityiskohtapaneelin vaihto',
120
+ expandDetailPanel: 'Laajenna',
121
+ collapseDetailPanel: 'Tiivistä',
121
122
  // Row reordering text
122
- // rowReorderingHeaderName: 'Row reordering',
123
+ rowReorderingHeaderName: 'Rivien uudelleenjärjestely',
123
124
  // Aggregation
124
- // aggregationMenuItemHeader: 'Aggregation',
125
- // aggregationFunctionLabelSum: 'sum',
126
- // aggregationFunctionLabelAvg: 'avg',
127
- // aggregationFunctionLabelMin: 'min',
128
- // aggregationFunctionLabelMax: 'max',
129
- // aggregationFunctionLabelSize: 'size',
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;
@@ -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
- // toolbarQuickFilterPlaceholder: 'Search…',
34
- // toolbarQuickFilterLabel: 'Search',
35
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
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
- // toolbarExportExcel: 'Download as Excel',
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ń' // Row reordering text
122
- // rowReorderingHeaderName: 'Row reordering',
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.2",
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.9.3",
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"