@mui/x-data-grid 6.0.2 → 6.0.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 (118) hide show
  1. package/CHANGELOG.md +119 -5
  2. package/components/GridPagination.d.ts +2 -2
  3. package/components/GridRow.js +1 -1
  4. package/components/columnHeaders/GridColumnHeaderSeparator.js +3 -3
  5. package/components/columnHeaders/GridColumnHeaderTitle.js +5 -5
  6. package/components/menu/columnMenu/GridColumnHeaderMenu.js +4 -2
  7. package/components/menu/columnMenu/GridColumnMenu.d.ts +5 -5
  8. package/components/menu/columnMenu/GridColumnMenu.js +30 -30
  9. package/components/menu/columnMenu/GridColumnMenuProps.d.ts +1 -1
  10. package/components/panel/GridPanel.d.ts +1 -1
  11. package/components/panel/filterPanel/GridFilterPanel.js +1 -1
  12. package/components/reexportable.d.ts +1 -1
  13. package/components/reexportable.js +1 -1
  14. package/hooks/features/columnHeaders/useGridColumnHeaders.js +7 -1
  15. package/hooks/features/columnMenu/columnMenuInterfaces.d.ts +11 -11
  16. package/hooks/features/columnMenu/{useGridColumnMenuComponents.d.ts → useGridColumnMenuSlots.d.ts} +4 -4
  17. package/hooks/features/columnMenu/{useGridColumnMenuComponents.js → useGridColumnMenuSlots.js} +21 -26
  18. package/hooks/features/columns/useGridColumns.js +1 -1
  19. package/hooks/features/filter/useGridFilter.js +1 -1
  20. package/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +3 -3
  21. package/hooks/features/sorting/useGridSorting.js +1 -1
  22. package/hooks/features/virtualization/useGridVirtualScroller.js +1 -1
  23. package/hooks/utils/useGridApiEventHandler.js +3 -3
  24. package/index.d.ts +1 -1
  25. package/index.js +2 -2
  26. package/legacy/components/GridRow.js +1 -1
  27. package/legacy/components/columnHeaders/GridColumnHeaderSeparator.js +3 -3
  28. package/legacy/components/columnHeaders/GridColumnHeaderTitle.js +5 -5
  29. package/legacy/components/menu/columnMenu/GridColumnHeaderMenu.js +4 -2
  30. package/legacy/components/menu/columnMenu/GridColumnMenu.js +32 -32
  31. package/legacy/components/panel/filterPanel/GridFilterPanel.js +1 -1
  32. package/legacy/components/reexportable.js +1 -1
  33. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +7 -1
  34. package/legacy/hooks/features/columnMenu/{useGridColumnMenuComponents.js → useGridColumnMenuSlots.js} +25 -30
  35. package/legacy/hooks/features/columns/useGridColumns.js +1 -1
  36. package/legacy/hooks/features/filter/useGridFilter.js +1 -1
  37. package/legacy/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +3 -3
  38. package/legacy/hooks/features/sorting/useGridSorting.js +1 -1
  39. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +1 -1
  40. package/legacy/hooks/utils/useGridApiEventHandler.js +3 -3
  41. package/legacy/index.js +2 -2
  42. package/legacy/locales/bgBG.js +9 -12
  43. package/legacy/locales/daDK.js +16 -21
  44. package/legacy/locales/esES.js +1 -1
  45. package/legacy/locales/faIR.js +2 -2
  46. package/legacy/locales/nbNO.js +10 -12
  47. package/legacy/locales/nlNL.js +7 -9
  48. package/legacy/locales/svSE.js +2 -2
  49. package/legacy/models/gridEditRowModel.js +9 -9
  50. package/legacy/models/gridFilterItem.js +3 -3
  51. package/legacy/models/params/gridEditCellParams.js +10 -10
  52. package/legacy/models/params/gridRowParams.js +9 -9
  53. package/locales/bgBG.js +9 -12
  54. package/locales/daDK.js +16 -21
  55. package/locales/esES.js +1 -1
  56. package/locales/faIR.js +2 -2
  57. package/locales/nbNO.js +10 -12
  58. package/locales/nlNL.js +7 -9
  59. package/locales/svSE.js +2 -2
  60. package/models/gridEditRowModel.js +9 -9
  61. package/models/gridFilterItem.js +3 -3
  62. package/models/params/gridEditCellParams.js +10 -10
  63. package/models/params/gridRowParams.js +9 -9
  64. package/modern/components/GridRow.js +1 -1
  65. package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +3 -3
  66. package/modern/components/columnHeaders/GridColumnHeaderTitle.js +5 -5
  67. package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +4 -2
  68. package/modern/components/menu/columnMenu/GridColumnMenu.js +30 -30
  69. package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -1
  70. package/modern/components/reexportable.js +1 -1
  71. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +6 -1
  72. package/modern/hooks/features/columnMenu/{useGridColumnMenuComponents.js → useGridColumnMenuSlots.js} +21 -26
  73. package/modern/hooks/features/columns/useGridColumns.js +1 -1
  74. package/modern/hooks/features/filter/useGridFilter.js +1 -1
  75. package/modern/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +3 -3
  76. package/modern/hooks/features/sorting/useGridSorting.js +1 -1
  77. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +1 -1
  78. package/modern/hooks/utils/useGridApiEventHandler.js +3 -3
  79. package/modern/index.js +2 -2
  80. package/modern/locales/bgBG.js +9 -12
  81. package/modern/locales/daDK.js +16 -21
  82. package/modern/locales/esES.js +1 -1
  83. package/modern/locales/faIR.js +2 -2
  84. package/modern/locales/nbNO.js +10 -12
  85. package/modern/locales/nlNL.js +7 -9
  86. package/modern/locales/svSE.js +2 -2
  87. package/modern/models/gridEditRowModel.js +9 -9
  88. package/modern/models/gridFilterItem.js +3 -3
  89. package/modern/models/params/gridEditCellParams.js +10 -10
  90. package/modern/models/params/gridRowParams.js +9 -9
  91. package/node/components/GridRow.js +1 -1
  92. package/node/components/columnHeaders/GridColumnHeaderSeparator.js +4 -4
  93. package/node/components/columnHeaders/GridColumnHeaderTitle.js +5 -5
  94. package/node/components/menu/columnMenu/GridColumnHeaderMenu.js +4 -2
  95. package/node/components/menu/columnMenu/GridColumnMenu.js +33 -33
  96. package/node/components/panel/filterPanel/GridFilterPanel.js +1 -1
  97. package/node/components/reexportable.js +4 -4
  98. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +6 -1
  99. package/node/hooks/features/columnMenu/{useGridColumnMenuComponents.js → useGridColumnMenuSlots.js} +22 -27
  100. package/node/hooks/features/columns/useGridColumns.js +1 -1
  101. package/node/hooks/features/filter/useGridFilter.js +1 -1
  102. package/node/hooks/features/preferencesPanel/gridPreferencePanelsValue.js +4 -4
  103. package/node/hooks/features/sorting/useGridSorting.js +1 -1
  104. package/node/hooks/features/virtualization/useGridVirtualScroller.js +1 -1
  105. package/node/hooks/utils/useGridApiEventHandler.js +4 -4
  106. package/node/index.js +7 -7
  107. package/node/locales/bgBG.js +9 -12
  108. package/node/locales/daDK.js +16 -21
  109. package/node/locales/esES.js +1 -1
  110. package/node/locales/faIR.js +2 -2
  111. package/node/locales/nbNO.js +10 -12
  112. package/node/locales/nlNL.js +7 -9
  113. package/node/locales/svSE.js +2 -2
  114. package/node/models/gridEditRowModel.js +12 -12
  115. package/node/models/gridFilterItem.js +4 -4
  116. package/node/models/params/gridEditCellParams.js +12 -12
  117. package/node/models/params/gridRowParams.js +11 -11
  118. package/package.json +2 -2
@@ -22,17 +22,15 @@ var daDKGrid = {
22
22
  return count !== 1 ? "".concat(count, " aktive filtre") : "".concat(count, " aktivt filter");
23
23
  },
24
24
  // Quick filter toolbar field
25
- // toolbarQuickFilterPlaceholder: 'Search…',
26
- // toolbarQuickFilterLabel: 'Search',
27
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
28
-
25
+ toolbarQuickFilterPlaceholder: 'Søg…',
26
+ toolbarQuickFilterLabel: 'Søg',
27
+ toolbarQuickFilterDeleteIconLabel: 'Ryd',
29
28
  // Export selector toolbar button text
30
- // toolbarExport: 'Export',
29
+ toolbarExport: 'Eksport',
31
30
  toolbarExportLabel: 'Eksporter',
32
31
  toolbarExportCSV: 'Download som CSV',
33
32
  toolbarExportPrint: 'Print',
34
- // toolbarExportExcel: 'Download as Excel',
35
-
33
+ toolbarExportExcel: 'Download som Excel',
36
34
  // Columns panel text
37
35
  columnsPanelTextFieldLabel: 'Find kolonne',
38
36
  columnsPanelTextFieldPlaceholder: 'Kolonne titel',
@@ -41,7 +39,7 @@ var daDKGrid = {
41
39
  columnsPanelHideAllButton: 'Skjul alle',
42
40
  // Filter panel text
43
41
  filterPanelAddFilter: 'Tilføj filter',
44
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Fjern alle',
45
43
  filterPanelDeleteIconLabel: 'Slet',
46
44
  filterPanelLogicOperator: 'Logisk operator',
47
45
  filterPanelOperator: 'Operatorer',
@@ -71,7 +69,7 @@ var daDKGrid = {
71
69
  // Column menu text
72
70
  columnMenuLabel: 'Menu',
73
71
  columnMenuShowColumns: 'Vis Kolonner',
74
- // columnMenuManageColumns: 'Manage columns',
72
+ columnMenuManageColumns: 'Administrer kolonner',
75
73
  columnMenuFilter: 'Filtre',
76
74
  columnMenuHideColumn: 'Skjul',
77
75
  columnMenuUnsort: 'Fjern sortering',
@@ -121,20 +119,17 @@ var daDKGrid = {
121
119
  return "Fjern grupp\xE9ring efter ".concat(name);
122
120
  },
123
121
  // Master/detail
124
- // detailPanelToggle: 'Detail panel toggle',
122
+ detailPanelToggle: 'Udvid/kollaps detaljepanel',
125
123
  expandDetailPanel: 'Udvid',
126
- collapseDetailPanel: 'Kollaps'
127
-
124
+ collapseDetailPanel: 'Kollaps',
128
125
  // Row reordering text
129
- // rowReorderingHeaderName: 'Row reordering',
130
-
126
+ rowReorderingHeaderName: 'Omarrangering af rækker',
131
127
  // Aggregation
132
- // aggregationMenuItemHeader: 'Aggregation',
133
- // aggregationFunctionLabelSum: 'sum',
134
- // aggregationFunctionLabelAvg: 'avg',
135
- // aggregationFunctionLabelMin: 'min',
136
- // aggregationFunctionLabelMax: 'max',
137
- // aggregationFunctionLabelSize: 'size',
128
+ aggregationMenuItemHeader: 'Aggregation',
129
+ aggregationFunctionLabelSum: 'sum',
130
+ aggregationFunctionLabelAvg: 'gns',
131
+ aggregationFunctionLabelMin: 'min',
132
+ aggregationFunctionLabelMax: 'max',
133
+ aggregationFunctionLabelSize: 'størrelse'
138
134
  };
139
-
140
135
  export var daDK = getGridLocalization(daDKGrid, daDKCore);
@@ -69,7 +69,7 @@ var esESGrid = {
69
69
  // Column menu text
70
70
  columnMenuLabel: 'Menú',
71
71
  columnMenuShowColumns: 'Mostrar columnas',
72
- // columnMenuManageColumns: 'Manage columns',
72
+ columnMenuManageColumns: 'Administrar columnas',
73
73
  columnMenuFilter: 'Filtro',
74
74
  columnMenuHideColumn: 'Ocultar',
75
75
  columnMenuUnsort: 'Desordenar',
@@ -39,7 +39,7 @@ var faIRGrid = {
39
39
  columnsPanelHideAllButton: 'مخفی همه',
40
40
  // Filter panel text
41
41
  filterPanelAddFilter: 'افزودن فیلتر',
42
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'حذف همه',
43
43
  filterPanelDeleteIconLabel: 'حذف',
44
44
  filterPanelLogicOperator: 'عملگر منطقی',
45
45
  filterPanelOperator: 'عملگرها',
@@ -69,7 +69,7 @@ var faIRGrid = {
69
69
  // Column menu text
70
70
  columnMenuLabel: 'فهرست',
71
71
  columnMenuShowColumns: 'نمایش ستون‌ها',
72
- // columnMenuManageColumns: 'Manage columns',
72
+ columnMenuManageColumns: 'مدیریت ستون‌ها',
73
73
  columnMenuFilter: 'فیلتر',
74
74
  columnMenuHideColumn: 'مخفی',
75
75
  columnMenuUnsort: 'نامرتب‌کردن',
@@ -39,7 +39,7 @@ var nbNOGrid = {
39
39
  columnsPanelHideAllButton: 'Skjul alle',
40
40
  // Filter panel text
41
41
  filterPanelAddFilter: 'Legg til filter',
42
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Fjern alle',
43
43
  filterPanelDeleteIconLabel: 'Slett',
44
44
  filterPanelLogicOperator: 'Logisk operator',
45
45
  filterPanelOperator: 'Operatører',
@@ -69,7 +69,7 @@ var nbNOGrid = {
69
69
  // Column menu text
70
70
  columnMenuLabel: 'Meny',
71
71
  columnMenuShowColumns: 'Vis kolonner',
72
- // columnMenuManageColumns: 'Manage columns',
72
+ columnMenuManageColumns: 'Administrer kolonner',
73
73
  columnMenuFilter: 'Filter',
74
74
  columnMenuHideColumn: 'Skjul',
75
75
  columnMenuUnsort: 'Usorter',
@@ -119,19 +119,17 @@ var nbNOGrid = {
119
119
  return "Stopp \xE5 grupper p\xE5 ".concat(name);
120
120
  },
121
121
  // Master/detail
122
- // detailPanelToggle: 'Detail panel toggle',
122
+ detailPanelToggle: 'Utvid/kollaps detalj panel',
123
123
  expandDetailPanel: 'Utvid',
124
124
  collapseDetailPanel: 'Kollaps',
125
125
  // Row reordering text
126
- rowReorderingHeaderName: 'Rad reorganisering'
127
-
126
+ rowReorderingHeaderName: 'Rad reorganisering',
128
127
  // Aggregation
129
- // aggregationMenuItemHeader: 'Aggregation',
130
- // aggregationFunctionLabelSum: 'sum',
131
- // aggregationFunctionLabelAvg: 'avg',
132
- // aggregationFunctionLabelMin: 'min',
133
- // aggregationFunctionLabelMax: 'max',
134
- // aggregationFunctionLabelSize: 'size',
128
+ aggregationMenuItemHeader: 'Aggregering',
129
+ aggregationFunctionLabelSum: 'sum',
130
+ aggregationFunctionLabelAvg: 'snitt',
131
+ aggregationFunctionLabelMin: 'min',
132
+ aggregationFunctionLabelMax: 'maks',
133
+ aggregationFunctionLabelSize: 'størrelse'
135
134
  };
136
-
137
135
  export var nbNO = getGridLocalization(nbNOGrid, nbNOCore);
@@ -123,15 +123,13 @@ var nlNLGrid = {
123
123
  expandDetailPanel: 'Uitklappen',
124
124
  collapseDetailPanel: 'Inklappen',
125
125
  // Row reordering text
126
- rowReorderingHeaderName: 'Rijen hersorteren'
127
-
126
+ rowReorderingHeaderName: 'Rijen hersorteren',
128
127
  // Aggregation
129
- // aggregationMenuItemHeader: 'Aggregation',
130
- // aggregationFunctionLabelSum: 'sum',
131
- // aggregationFunctionLabelAvg: 'avg',
132
- // aggregationFunctionLabelMin: 'min',
133
- // aggregationFunctionLabelMax: 'max',
134
- // aggregationFunctionLabelSize: 'size',
128
+ aggregationMenuItemHeader: 'Aggregatie',
129
+ aggregationFunctionLabelSum: 'som',
130
+ aggregationFunctionLabelAvg: 'gem',
131
+ aggregationFunctionLabelMin: 'min',
132
+ aggregationFunctionLabelMax: 'max',
133
+ aggregationFunctionLabelSize: 'grootte'
135
134
  };
136
-
137
135
  export var nlNL = getGridLocalization(nlNLGrid, nlNLCore);
@@ -39,7 +39,7 @@ var svSEGrid = {
39
39
  columnsPanelHideAllButton: 'Dölj alla',
40
40
  // Filter panel text
41
41
  filterPanelAddFilter: 'Lägg till filter',
42
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Ta bort alla',
43
43
  filterPanelDeleteIconLabel: 'Ta bort',
44
44
  filterPanelLogicOperator: 'Logisk operatör',
45
45
  filterPanelOperator: 'Operatör',
@@ -69,7 +69,7 @@ var svSEGrid = {
69
69
  // Column menu text
70
70
  columnMenuLabel: 'Meny',
71
71
  columnMenuShowColumns: 'Visa kolumner',
72
- // columnMenuManageColumns: 'Manage columns',
72
+ columnMenuManageColumns: 'Hantera kolumner',
73
73
  columnMenuFilter: 'Filtrera',
74
74
  columnMenuHideColumn: 'Dölj',
75
75
  columnMenuUnsort: 'Osortera',
@@ -1,16 +1,16 @@
1
- var GridEditModes;
2
- (function (GridEditModes) {
1
+ var GridEditModes = /*#__PURE__*/function (GridEditModes) {
3
2
  GridEditModes["Cell"] = "cell";
4
3
  GridEditModes["Row"] = "row";
5
- })(GridEditModes || (GridEditModes = {}));
6
- var GridCellModes;
7
- (function (GridCellModes) {
4
+ return GridEditModes;
5
+ }(GridEditModes || {});
6
+ var GridCellModes = /*#__PURE__*/function (GridCellModes) {
8
7
  GridCellModes["Edit"] = "edit";
9
8
  GridCellModes["View"] = "view";
10
- })(GridCellModes || (GridCellModes = {}));
11
- var GridRowModes;
12
- (function (GridRowModes) {
9
+ return GridCellModes;
10
+ }(GridCellModes || {});
11
+ var GridRowModes = /*#__PURE__*/function (GridRowModes) {
13
12
  GridRowModes["Edit"] = "edit";
14
13
  GridRowModes["View"] = "view";
15
- })(GridRowModes || (GridRowModes = {}));
14
+ return GridRowModes;
15
+ }(GridRowModes || {});
16
16
  export { GridEditModes, GridCellModes, GridRowModes };
@@ -3,9 +3,9 @@
3
3
  * @demos
4
4
  * - [Custom filter operator](/x/react-data-grid/filtering/#create-a-custom-operator)
5
5
  */
6
- var GridLogicOperator;
7
- (function (GridLogicOperator) {
6
+ var GridLogicOperator = /*#__PURE__*/function (GridLogicOperator) {
8
7
  GridLogicOperator["And"] = "and";
9
8
  GridLogicOperator["Or"] = "or";
10
- })(GridLogicOperator || (GridLogicOperator = {}));
9
+ return GridLogicOperator;
10
+ }(GridLogicOperator || {});
11
11
  export { GridLogicOperator };
@@ -1,26 +1,26 @@
1
1
  /**
2
2
  * Params passed to `apiRef.current.setEditCellValue`.
3
3
  */
4
- var GridCellEditStartReasons;
5
- /**
6
- * Params passed to the `cellEditStart` event.
7
- */
8
- (function (GridCellEditStartReasons) {
4
+ var GridCellEditStartReasons = /*#__PURE__*/function (GridCellEditStartReasons) {
9
5
  GridCellEditStartReasons["enterKeyDown"] = "enterKeyDown";
10
6
  GridCellEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
11
7
  GridCellEditStartReasons["printableKeyDown"] = "printableKeyDown";
12
8
  GridCellEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
13
- })(GridCellEditStartReasons || (GridCellEditStartReasons = {}));
14
- var GridCellEditStopReasons;
9
+ return GridCellEditStartReasons;
10
+ }(GridCellEditStartReasons || {});
15
11
  /**
16
- * Params passed to the `cellEditStop event.
12
+ * Params passed to the `cellEditStart` event.
17
13
  */
18
- (function (GridCellEditStopReasons) {
14
+ var GridCellEditStopReasons = /*#__PURE__*/function (GridCellEditStopReasons) {
19
15
  GridCellEditStopReasons["cellFocusOut"] = "cellFocusOut";
20
16
  GridCellEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
21
17
  GridCellEditStopReasons["enterKeyDown"] = "enterKeyDown";
22
18
  GridCellEditStopReasons["tabKeyDown"] = "tabKeyDown";
23
19
  GridCellEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
24
- })(GridCellEditStopReasons || (GridCellEditStopReasons = {}));
20
+ return GridCellEditStopReasons;
21
+ }(GridCellEditStopReasons || {});
22
+ /**
23
+ * Params passed to the `cellEditStop event.
24
+ */
25
25
  // https://github.com/mui/mui-x/pull/3738#discussion_r798504277
26
26
  export { GridCellEditStartReasons, GridCellEditStopReasons };
@@ -14,23 +14,23 @@
14
14
  /**
15
15
  * The getRowHeight return value.
16
16
  */
17
- var GridRowEditStartReasons;
18
- /**
19
- * Params passed to the `rowEditStart` event.
20
- */
21
- (function (GridRowEditStartReasons) {
17
+ var GridRowEditStartReasons = /*#__PURE__*/function (GridRowEditStartReasons) {
22
18
  GridRowEditStartReasons["enterKeyDown"] = "enterKeyDown";
23
19
  GridRowEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
24
20
  GridRowEditStartReasons["printableKeyDown"] = "printableKeyDown";
25
21
  GridRowEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
26
- })(GridRowEditStartReasons || (GridRowEditStartReasons = {}));
27
- var GridRowEditStopReasons;
28
- (function (GridRowEditStopReasons) {
22
+ return GridRowEditStartReasons;
23
+ }(GridRowEditStartReasons || {});
24
+ /**
25
+ * Params passed to the `rowEditStart` event.
26
+ */
27
+ var GridRowEditStopReasons = /*#__PURE__*/function (GridRowEditStopReasons) {
29
28
  GridRowEditStopReasons["rowFocusOut"] = "rowFocusOut";
30
29
  GridRowEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
31
30
  GridRowEditStopReasons["enterKeyDown"] = "enterKeyDown";
32
31
  GridRowEditStopReasons["tabKeyDown"] = "tabKeyDown";
33
32
  GridRowEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
34
- })(GridRowEditStopReasons || (GridRowEditStopReasons = {}));
33
+ return GridRowEditStopReasons;
34
+ }(GridRowEditStopReasons || {});
35
35
  // https://github.com/mui/mui-x/pull/3738#discussion_r798504277
36
36
  export { GridRowEditStartReasons, GridRowEditStopReasons };
package/locales/bgBG.js CHANGED
@@ -20,17 +20,15 @@ const bgBGGrid = {
20
20
  toolbarFiltersTooltipShow: 'Покажи Филтрите',
21
21
  toolbarFiltersTooltipActive: count => `${count} активни филтри`,
22
22
  // Quick filter toolbar field
23
- // toolbarQuickFilterPlaceholder: 'Search…',
24
- // toolbarQuickFilterLabel: 'Search',
25
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
-
23
+ toolbarQuickFilterPlaceholder: 'Търси…',
24
+ toolbarQuickFilterLabel: 'Търсене',
25
+ toolbarQuickFilterDeleteIconLabel: 'Изчисти',
27
26
  // Export selector toolbar button text
28
27
  toolbarExport: 'Изтегли',
29
28
  toolbarExportLabel: 'Изтегли',
30
29
  toolbarExportCSV: 'Изтегли като CSV',
31
30
  toolbarExportPrint: 'Принтиране',
32
- // toolbarExportExcel: 'Download as Excel',
33
-
31
+ toolbarExportExcel: 'Изтегли като Excel',
34
32
  // Columns panel text
35
33
  columnsPanelTextFieldLabel: 'Намери колона',
36
34
  columnsPanelTextFieldPlaceholder: 'Заглавие на колона',
@@ -39,9 +37,9 @@ const bgBGGrid = {
39
37
  columnsPanelHideAllButton: 'Скрий Всички',
40
38
  // Filter panel text
41
39
  filterPanelAddFilter: 'Добави Филтър',
42
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Премахни всички',
43
41
  filterPanelDeleteIconLabel: 'Изтрий',
44
- // filterPanelLogicOperator: 'Logic operator',
42
+ filterPanelLogicOperator: 'Логически оператор',
45
43
  filterPanelOperator: 'Оператори',
46
44
  filterPanelOperatorAnd: 'И',
47
45
  filterPanelOperatorOr: 'Или',
@@ -69,7 +67,7 @@ const bgBGGrid = {
69
67
  // Column menu text
70
68
  columnMenuLabel: 'Меню',
71
69
  columnMenuShowColumns: 'Покажи колоните',
72
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'Управление на колони',
73
71
  columnMenuFilter: 'Филтри',
74
72
  columnMenuHideColumn: 'Скрий',
75
73
  columnMenuUnsort: 'Отмени сортирането',
@@ -111,10 +109,9 @@ const bgBGGrid = {
111
109
  // Master/detail
112
110
  // detailPanelToggle: 'Detail panel toggle',
113
111
  expandDetailPanel: 'Разгъване',
114
- collapseDetailPanel: 'Свиване'
115
-
112
+ collapseDetailPanel: 'Свиване',
116
113
  // Row reordering text
117
- // rowReorderingHeaderName: 'Row reordering',
114
+ rowReorderingHeaderName: 'Подредба на редове'
118
115
 
119
116
  // Aggregation
120
117
  // aggregationMenuItemHeader: 'Aggregation',
package/locales/daDK.js CHANGED
@@ -20,17 +20,15 @@ const daDKGrid = {
20
20
  toolbarFiltersTooltipShow: 'Vis filtre',
21
21
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filtre` : `${count} aktivt filter`,
22
22
  // Quick filter toolbar field
23
- // toolbarQuickFilterPlaceholder: 'Search…',
24
- // toolbarQuickFilterLabel: 'Search',
25
- // toolbarQuickFilterDeleteIconLabel: 'Clear',
26
-
23
+ toolbarQuickFilterPlaceholder: 'Søg…',
24
+ toolbarQuickFilterLabel: 'Søg',
25
+ toolbarQuickFilterDeleteIconLabel: 'Ryd',
27
26
  // Export selector toolbar button text
28
- // toolbarExport: 'Export',
27
+ toolbarExport: 'Eksport',
29
28
  toolbarExportLabel: 'Eksporter',
30
29
  toolbarExportCSV: 'Download som CSV',
31
30
  toolbarExportPrint: 'Print',
32
- // toolbarExportExcel: 'Download as Excel',
33
-
31
+ toolbarExportExcel: 'Download som Excel',
34
32
  // Columns panel text
35
33
  columnsPanelTextFieldLabel: 'Find kolonne',
36
34
  columnsPanelTextFieldPlaceholder: 'Kolonne titel',
@@ -39,7 +37,7 @@ const daDKGrid = {
39
37
  columnsPanelHideAllButton: 'Skjul alle',
40
38
  // Filter panel text
41
39
  filterPanelAddFilter: 'Tilføj filter',
42
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Fjern alle',
43
41
  filterPanelDeleteIconLabel: 'Slet',
44
42
  filterPanelLogicOperator: 'Logisk operator',
45
43
  filterPanelOperator: 'Operatorer',
@@ -69,7 +67,7 @@ const daDKGrid = {
69
67
  // Column menu text
70
68
  columnMenuLabel: 'Menu',
71
69
  columnMenuShowColumns: 'Vis Kolonner',
72
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'Administrer kolonner',
73
71
  columnMenuFilter: 'Filtre',
74
72
  columnMenuHideColumn: 'Skjul',
75
73
  columnMenuUnsort: 'Fjern sortering',
@@ -109,20 +107,17 @@ const daDKGrid = {
109
107
  groupColumn: name => `Gruppér efter ${name}`,
110
108
  unGroupColumn: name => `Fjern gruppéring efter ${name}`,
111
109
  // Master/detail
112
- // detailPanelToggle: 'Detail panel toggle',
110
+ detailPanelToggle: 'Udvid/kollaps detaljepanel',
113
111
  expandDetailPanel: 'Udvid',
114
- collapseDetailPanel: 'Kollaps'
115
-
112
+ collapseDetailPanel: 'Kollaps',
116
113
  // Row reordering text
117
- // rowReorderingHeaderName: 'Row reordering',
118
-
114
+ rowReorderingHeaderName: 'Omarrangering af rækker',
119
115
  // Aggregation
120
- // aggregationMenuItemHeader: 'Aggregation',
121
- // aggregationFunctionLabelSum: 'sum',
122
- // aggregationFunctionLabelAvg: 'avg',
123
- // aggregationFunctionLabelMin: 'min',
124
- // aggregationFunctionLabelMax: 'max',
125
- // aggregationFunctionLabelSize: 'size',
116
+ aggregationMenuItemHeader: 'Aggregation',
117
+ aggregationFunctionLabelSum: 'sum',
118
+ aggregationFunctionLabelAvg: 'gns',
119
+ aggregationFunctionLabelMin: 'min',
120
+ aggregationFunctionLabelMax: 'max',
121
+ aggregationFunctionLabelSize: 'størrelse'
126
122
  };
127
-
128
123
  export const daDK = getGridLocalization(daDKGrid, daDKCore);
package/locales/esES.js CHANGED
@@ -67,7 +67,7 @@ const esESGrid = {
67
67
  // Column menu text
68
68
  columnMenuLabel: 'Menú',
69
69
  columnMenuShowColumns: 'Mostrar columnas',
70
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'Administrar columnas',
71
71
  columnMenuFilter: 'Filtro',
72
72
  columnMenuHideColumn: 'Ocultar',
73
73
  columnMenuUnsort: 'Desordenar',
package/locales/faIR.js CHANGED
@@ -37,7 +37,7 @@ const faIRGrid = {
37
37
  columnsPanelHideAllButton: 'مخفی همه',
38
38
  // Filter panel text
39
39
  filterPanelAddFilter: 'افزودن فیلتر',
40
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'حذف همه',
41
41
  filterPanelDeleteIconLabel: 'حذف',
42
42
  filterPanelLogicOperator: 'عملگر منطقی',
43
43
  filterPanelOperator: 'عملگرها',
@@ -67,7 +67,7 @@ const faIRGrid = {
67
67
  // Column menu text
68
68
  columnMenuLabel: 'فهرست',
69
69
  columnMenuShowColumns: 'نمایش ستون‌ها',
70
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'مدیریت ستون‌ها',
71
71
  columnMenuFilter: 'فیلتر',
72
72
  columnMenuHideColumn: 'مخفی',
73
73
  columnMenuUnsort: 'نامرتب‌کردن',
package/locales/nbNO.js CHANGED
@@ -37,7 +37,7 @@ const nbNOGrid = {
37
37
  columnsPanelHideAllButton: 'Skjul alle',
38
38
  // Filter panel text
39
39
  filterPanelAddFilter: 'Legg til filter',
40
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Fjern alle',
41
41
  filterPanelDeleteIconLabel: 'Slett',
42
42
  filterPanelLogicOperator: 'Logisk operator',
43
43
  filterPanelOperator: 'Operatører',
@@ -67,7 +67,7 @@ const nbNOGrid = {
67
67
  // Column menu text
68
68
  columnMenuLabel: 'Meny',
69
69
  columnMenuShowColumns: 'Vis kolonner',
70
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'Administrer kolonner',
71
71
  columnMenuFilter: 'Filter',
72
72
  columnMenuHideColumn: 'Skjul',
73
73
  columnMenuUnsort: 'Usorter',
@@ -107,19 +107,17 @@ const nbNOGrid = {
107
107
  groupColumn: name => `Grupper på ${name}`,
108
108
  unGroupColumn: name => `Stopp å grupper på ${name}`,
109
109
  // Master/detail
110
- // detailPanelToggle: 'Detail panel toggle',
110
+ detailPanelToggle: 'Utvid/kollaps detalj panel',
111
111
  expandDetailPanel: 'Utvid',
112
112
  collapseDetailPanel: 'Kollaps',
113
113
  // Row reordering text
114
- rowReorderingHeaderName: 'Rad reorganisering'
115
-
114
+ rowReorderingHeaderName: 'Rad reorganisering',
116
115
  // Aggregation
117
- // aggregationMenuItemHeader: 'Aggregation',
118
- // aggregationFunctionLabelSum: 'sum',
119
- // aggregationFunctionLabelAvg: 'avg',
120
- // aggregationFunctionLabelMin: 'min',
121
- // aggregationFunctionLabelMax: 'max',
122
- // aggregationFunctionLabelSize: 'size',
116
+ aggregationMenuItemHeader: 'Aggregering',
117
+ aggregationFunctionLabelSum: 'sum',
118
+ aggregationFunctionLabelAvg: 'snitt',
119
+ aggregationFunctionLabelMin: 'min',
120
+ aggregationFunctionLabelMax: 'maks',
121
+ aggregationFunctionLabelSize: 'størrelse'
123
122
  };
124
-
125
123
  export const nbNO = getGridLocalization(nbNOGrid, nbNOCore);
package/locales/nlNL.js CHANGED
@@ -111,15 +111,13 @@ const nlNLGrid = {
111
111
  expandDetailPanel: 'Uitklappen',
112
112
  collapseDetailPanel: 'Inklappen',
113
113
  // Row reordering text
114
- rowReorderingHeaderName: 'Rijen hersorteren'
115
-
114
+ rowReorderingHeaderName: 'Rijen hersorteren',
116
115
  // Aggregation
117
- // aggregationMenuItemHeader: 'Aggregation',
118
- // aggregationFunctionLabelSum: 'sum',
119
- // aggregationFunctionLabelAvg: 'avg',
120
- // aggregationFunctionLabelMin: 'min',
121
- // aggregationFunctionLabelMax: 'max',
122
- // aggregationFunctionLabelSize: 'size',
116
+ aggregationMenuItemHeader: 'Aggregatie',
117
+ aggregationFunctionLabelSum: 'som',
118
+ aggregationFunctionLabelAvg: 'gem',
119
+ aggregationFunctionLabelMin: 'min',
120
+ aggregationFunctionLabelMax: 'max',
121
+ aggregationFunctionLabelSize: 'grootte'
123
122
  };
124
-
125
123
  export const nlNL = getGridLocalization(nlNLGrid, nlNLCore);
package/locales/svSE.js CHANGED
@@ -37,7 +37,7 @@ const svSEGrid = {
37
37
  columnsPanelHideAllButton: 'Dölj alla',
38
38
  // Filter panel text
39
39
  filterPanelAddFilter: 'Lägg till filter',
40
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Ta bort alla',
41
41
  filterPanelDeleteIconLabel: 'Ta bort',
42
42
  filterPanelLogicOperator: 'Logisk operatör',
43
43
  filterPanelOperator: 'Operatör',
@@ -67,7 +67,7 @@ const svSEGrid = {
67
67
  // Column menu text
68
68
  columnMenuLabel: 'Meny',
69
69
  columnMenuShowColumns: 'Visa kolumner',
70
- // columnMenuManageColumns: 'Manage columns',
70
+ columnMenuManageColumns: 'Hantera kolumner',
71
71
  columnMenuFilter: 'Filtrera',
72
72
  columnMenuHideColumn: 'Dölj',
73
73
  columnMenuUnsort: 'Osortera',
@@ -1,16 +1,16 @@
1
- var GridEditModes;
2
- (function (GridEditModes) {
1
+ var GridEditModes = /*#__PURE__*/function (GridEditModes) {
3
2
  GridEditModes["Cell"] = "cell";
4
3
  GridEditModes["Row"] = "row";
5
- })(GridEditModes || (GridEditModes = {}));
6
- var GridCellModes;
7
- (function (GridCellModes) {
4
+ return GridEditModes;
5
+ }(GridEditModes || {});
6
+ var GridCellModes = /*#__PURE__*/function (GridCellModes) {
8
7
  GridCellModes["Edit"] = "edit";
9
8
  GridCellModes["View"] = "view";
10
- })(GridCellModes || (GridCellModes = {}));
11
- var GridRowModes;
12
- (function (GridRowModes) {
9
+ return GridCellModes;
10
+ }(GridCellModes || {});
11
+ var GridRowModes = /*#__PURE__*/function (GridRowModes) {
13
12
  GridRowModes["Edit"] = "edit";
14
13
  GridRowModes["View"] = "view";
15
- })(GridRowModes || (GridRowModes = {}));
14
+ return GridRowModes;
15
+ }(GridRowModes || {});
16
16
  export { GridEditModes, GridCellModes, GridRowModes };
@@ -3,9 +3,9 @@
3
3
  * @demos
4
4
  * - [Custom filter operator](/x/react-data-grid/filtering/#create-a-custom-operator)
5
5
  */
6
- var GridLogicOperator;
7
- (function (GridLogicOperator) {
6
+ var GridLogicOperator = /*#__PURE__*/function (GridLogicOperator) {
8
7
  GridLogicOperator["And"] = "and";
9
8
  GridLogicOperator["Or"] = "or";
10
- })(GridLogicOperator || (GridLogicOperator = {}));
9
+ return GridLogicOperator;
10
+ }(GridLogicOperator || {});
11
11
  export { GridLogicOperator };
@@ -1,26 +1,26 @@
1
1
  /**
2
2
  * Params passed to `apiRef.current.setEditCellValue`.
3
3
  */
4
- var GridCellEditStartReasons;
5
- /**
6
- * Params passed to the `cellEditStart` event.
7
- */
8
- (function (GridCellEditStartReasons) {
4
+ var GridCellEditStartReasons = /*#__PURE__*/function (GridCellEditStartReasons) {
9
5
  GridCellEditStartReasons["enterKeyDown"] = "enterKeyDown";
10
6
  GridCellEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
11
7
  GridCellEditStartReasons["printableKeyDown"] = "printableKeyDown";
12
8
  GridCellEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
13
- })(GridCellEditStartReasons || (GridCellEditStartReasons = {}));
14
- var GridCellEditStopReasons;
9
+ return GridCellEditStartReasons;
10
+ }(GridCellEditStartReasons || {});
15
11
  /**
16
- * Params passed to the `cellEditStop event.
12
+ * Params passed to the `cellEditStart` event.
17
13
  */
18
- (function (GridCellEditStopReasons) {
14
+ var GridCellEditStopReasons = /*#__PURE__*/function (GridCellEditStopReasons) {
19
15
  GridCellEditStopReasons["cellFocusOut"] = "cellFocusOut";
20
16
  GridCellEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
21
17
  GridCellEditStopReasons["enterKeyDown"] = "enterKeyDown";
22
18
  GridCellEditStopReasons["tabKeyDown"] = "tabKeyDown";
23
19
  GridCellEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
24
- })(GridCellEditStopReasons || (GridCellEditStopReasons = {}));
20
+ return GridCellEditStopReasons;
21
+ }(GridCellEditStopReasons || {});
22
+ /**
23
+ * Params passed to the `cellEditStop event.
24
+ */
25
25
  // https://github.com/mui/mui-x/pull/3738#discussion_r798504277
26
26
  export { GridCellEditStartReasons, GridCellEditStopReasons };