@mui/x-data-grid 7.0.0-alpha.3 → 7.0.0-alpha.5
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 +245 -0
- package/colDef/gridCheckboxSelectionColDef.js +1 -1
- package/colDef/gridDefaultColumnTypes.d.ts +2 -2
- package/colDef/gridDefaultColumnTypes.js +2 -2
- package/components/GridRow.js +7 -2
- package/components/base/GridOverlays.js +0 -2
- package/components/cell/GridActionsCell.js +0 -1
- package/components/cell/GridCell.js +0 -2
- package/components/virtualization/GridVirtualScroller.js +0 -1
- package/hooks/features/editing/useGridCellEditing.js +0 -2
- package/hooks/features/editing/useGridRowEditing.js +0 -1
- package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
- package/hooks/features/focus/gridFocusStateSelector.js +2 -6
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +3 -3
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +3 -4
- package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +7 -5
- package/hooks/features/rows/useGridRowsMeta.js +0 -1
- package/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
- package/index.js +1 -1
- package/internals/index.d.ts +1 -1
- package/internals/index.js +1 -1
- package/legacy/colDef/gridCheckboxSelectionColDef.js +1 -1
- package/legacy/colDef/gridDefaultColumnTypes.js +2 -2
- package/legacy/components/GridRow.js +7 -2
- package/legacy/components/base/GridOverlays.js +0 -2
- package/legacy/components/cell/GridActionsCell.js +0 -1
- package/legacy/components/cell/GridCell.js +0 -2
- package/legacy/components/virtualization/GridVirtualScroller.js +0 -1
- package/legacy/hooks/features/editing/useGridCellEditing.js +0 -2
- package/legacy/hooks/features/editing/useGridRowEditing.js +0 -1
- package/legacy/hooks/features/focus/gridFocusStateSelector.js +2 -6
- package/legacy/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +3 -4
- package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +7 -5
- package/legacy/hooks/features/rows/useGridRowsMeta.js +0 -1
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +1 -1
- package/legacy/locales/coreLocales.js +1 -0
- package/legacy/locales/daDK.js +37 -39
- package/legacy/locales/plPL.js +0 -1
- package/legacy/locales/svSE.js +31 -33
- package/legacy/locales/urPK.js +26 -28
- package/legacy/utils/utils.js +0 -1
- package/locales/coreLocales.js +1 -0
- package/locales/daDK.js +37 -39
- package/locales/plPL.js +0 -1
- package/locales/svSE.js +31 -33
- package/locales/urPK.js +26 -28
- package/models/colDef/gridColType.d.ts +2 -4
- package/models/controlStateItem.d.ts +1 -4
- package/modern/colDef/gridCheckboxSelectionColDef.js +1 -1
- package/modern/colDef/gridDefaultColumnTypes.js +2 -2
- package/modern/components/GridRow.js +7 -2
- package/modern/components/base/GridOverlays.js +0 -2
- package/modern/components/cell/GridActionsCell.js +0 -1
- package/modern/components/cell/GridCell.js +0 -2
- package/modern/components/virtualization/GridVirtualScroller.js +0 -1
- package/modern/hooks/features/editing/useGridCellEditing.js +0 -2
- package/modern/hooks/features/editing/useGridRowEditing.js +0 -1
- package/modern/hooks/features/focus/gridFocusStateSelector.js +2 -6
- package/modern/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +3 -4
- package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +7 -5
- package/modern/hooks/features/rows/useGridRowsMeta.js +0 -1
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -1
- package/modern/locales/coreLocales.js +1 -0
- package/modern/locales/daDK.js +37 -39
- package/modern/locales/plPL.js +0 -1
- package/modern/locales/svSE.js +31 -33
- package/modern/locales/urPK.js +26 -28
- package/modern/utils/utils.js +0 -1
- package/node/colDef/gridCheckboxSelectionColDef.js +1 -1
- package/node/colDef/gridDefaultColumnTypes.js +2 -2
- package/node/components/GridRow.js +7 -2
- package/node/components/base/GridOverlays.js +0 -2
- package/node/components/cell/GridActionsCell.js +0 -1
- package/node/components/cell/GridCell.js +0 -2
- package/node/components/virtualization/GridVirtualScroller.js +0 -1
- package/node/hooks/features/editing/useGridCellEditing.js +0 -2
- package/node/hooks/features/editing/useGridRowEditing.js +0 -1
- package/node/hooks/features/focus/gridFocusStateSelector.js +3 -7
- package/node/hooks/features/headerFiltering/gridHeaderFilteringSelectors.js +5 -7
- package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +6 -4
- package/node/hooks/features/rows/useGridRowsMeta.js +0 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +0 -1
- package/node/index.js +1 -1
- package/node/internals/index.js +14 -14
- package/node/locales/daDK.js +37 -39
- package/node/locales/plPL.js +0 -1
- package/node/locales/svSE.js +31 -33
- package/node/locales/urPK.js +26 -28
- package/node/utils/utils.js +0 -1
- package/package.json +4 -4
- package/utils/createSelector.d.ts +1 -1
- package/utils/utils.js +0 -1
package/node/locales/svSE.js
CHANGED
|
@@ -15,7 +15,7 @@ const svSEGrid = {
|
|
|
15
15
|
toolbarDensityLabel: 'Densitet',
|
|
16
16
|
toolbarDensityCompact: 'Kompakt',
|
|
17
17
|
toolbarDensityStandard: 'Standard',
|
|
18
|
-
toolbarDensityComfortable: '
|
|
18
|
+
toolbarDensityComfortable: 'Luftig',
|
|
19
19
|
// Columns selector toolbar button text
|
|
20
20
|
toolbarColumns: 'Kolumner',
|
|
21
21
|
toolbarColumnsLabel: 'Välj kolumner',
|
|
@@ -45,8 +45,8 @@ const svSEGrid = {
|
|
|
45
45
|
filterPanelAddFilter: 'Lägg till filter',
|
|
46
46
|
filterPanelRemoveAll: 'Ta bort alla',
|
|
47
47
|
filterPanelDeleteIconLabel: 'Ta bort',
|
|
48
|
-
filterPanelLogicOperator: 'Logisk
|
|
49
|
-
filterPanelOperator: '
|
|
48
|
+
filterPanelLogicOperator: 'Logisk operator',
|
|
49
|
+
filterPanelOperator: 'Operator',
|
|
50
50
|
filterPanelOperatorAnd: 'Och',
|
|
51
51
|
filterPanelOperatorOr: 'Eller',
|
|
52
52
|
filterPanelColumns: 'Kolumner',
|
|
@@ -54,7 +54,7 @@ const svSEGrid = {
|
|
|
54
54
|
filterPanelInputPlaceholder: 'Filtervärde',
|
|
55
55
|
// Filter operators text
|
|
56
56
|
filterOperatorContains: 'innehåller',
|
|
57
|
-
filterOperatorEquals: '
|
|
57
|
+
filterOperatorEquals: 'lika med',
|
|
58
58
|
filterOperatorStartsWith: 'börjar med',
|
|
59
59
|
filterOperatorEndsWith: 'slutar med',
|
|
60
60
|
filterOperatorIs: 'är',
|
|
@@ -66,34 +66,32 @@ const svSEGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'är tom',
|
|
67
67
|
filterOperatorIsNotEmpty: 'är inte tom',
|
|
68
68
|
filterOperatorIsAnyOf: 'är någon av',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
headerFilterOperatorContains: 'Innehåller',
|
|
77
|
+
headerFilterOperatorEquals: 'Lika med',
|
|
78
|
+
headerFilterOperatorStartsWith: 'Börjar med',
|
|
79
|
+
headerFilterOperatorEndsWith: 'Slutar med',
|
|
80
|
+
headerFilterOperatorIs: 'Är',
|
|
81
|
+
headerFilterOperatorNot: 'Är inte',
|
|
82
|
+
headerFilterOperatorAfter: 'Är efter',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'Är på eller efter',
|
|
84
|
+
headerFilterOperatorBefore: 'Är innan',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'Är på eller innan',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'Är tom',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'Är inte tom',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'Innehåller någon av',
|
|
89
|
+
'headerFilterOperator=': 'Lika med',
|
|
90
|
+
'headerFilterOperator!=': 'Inte lika med',
|
|
91
|
+
'headerFilterOperator>': 'Större än',
|
|
92
|
+
'headerFilterOperator>=': 'Större eller lika med',
|
|
93
|
+
'headerFilterOperator<': 'Mindre än',
|
|
94
|
+
'headerFilterOperator<=': 'Mindre eller lika med',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'något',
|
|
99
97
|
filterValueTrue: 'sant',
|
|
@@ -104,7 +102,7 @@ const svSEGrid = {
|
|
|
104
102
|
columnMenuManageColumns: 'Hantera kolumner',
|
|
105
103
|
columnMenuFilter: 'Filtrera',
|
|
106
104
|
columnMenuHideColumn: 'Dölj',
|
|
107
|
-
columnMenuUnsort: '
|
|
105
|
+
columnMenuUnsort: 'Ta bort sortering',
|
|
108
106
|
columnMenuSortAsc: 'Sortera stigande',
|
|
109
107
|
columnMenuSortDesc: 'Sortera fallande',
|
|
110
108
|
// Column header text
|
|
@@ -148,7 +146,7 @@ const svSEGrid = {
|
|
|
148
146
|
rowReorderingHeaderName: 'Ordna om rader',
|
|
149
147
|
// Aggregation
|
|
150
148
|
aggregationMenuItemHeader: 'Aggregering',
|
|
151
|
-
aggregationFunctionLabelSum: '
|
|
149
|
+
aggregationFunctionLabelSum: 'summa',
|
|
152
150
|
aggregationFunctionLabelAvg: 'medel',
|
|
153
151
|
aggregationFunctionLabelMin: 'min',
|
|
154
152
|
aggregationFunctionLabelMax: 'max',
|
package/node/locales/urPK.js
CHANGED
|
@@ -43,7 +43,7 @@ const urPKGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'سارے چھپائیں',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'نیا فلٹر',
|
|
46
|
-
|
|
46
|
+
filterPanelRemoveAll: 'سارے ختم کریں',
|
|
47
47
|
filterPanelDeleteIconLabel: 'ختم کریں',
|
|
48
48
|
filterPanelLogicOperator: 'لاجک آپریٹر',
|
|
49
49
|
filterPanelOperator: 'آپریٹر',
|
|
@@ -66,34 +66,32 @@ const urPKGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'خالی ہے',
|
|
67
67
|
filterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
68
68
|
filterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
headerFilterOperatorContains: 'شامل ہے',
|
|
77
|
+
headerFilterOperatorEquals: 'برابر ہے',
|
|
78
|
+
headerFilterOperatorStartsWith: 'شروع ہوتا ہے',
|
|
79
|
+
headerFilterOperatorEndsWith: 'ختم ہوتا ہے',
|
|
80
|
+
headerFilterOperatorIs: 'ہے',
|
|
81
|
+
headerFilterOperatorNot: 'نہیں ہے',
|
|
82
|
+
headerFilterOperatorAfter: 'بعد میں ہے',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'پر یا بعد میں ہے',
|
|
84
|
+
headerFilterOperatorBefore: 'پہلے ہے',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'پر یا پہلے ہے',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'خالی ہے',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
89
|
+
'headerFilterOperator=': 'برابر ہے',
|
|
90
|
+
'headerFilterOperator!=': 'برابر نہیں ہے',
|
|
91
|
+
'headerFilterOperator>': 'ذیادہ ہے',
|
|
92
|
+
'headerFilterOperator>=': 'ذیادہ یا برابر ہے',
|
|
93
|
+
'headerFilterOperator<': 'کم ہے',
|
|
94
|
+
'headerFilterOperator<=': 'کم یا برابر ہے',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'کوئی بھی',
|
|
99
97
|
filterValueTrue: 'صحیح',
|
package/node/utils/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.5",
|
|
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,9 +36,9 @@
|
|
|
36
36
|
"directory": "packages/grid/x-data-grid"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@babel/runtime": "^7.23.
|
|
40
|
-
"@mui/system": "^5.14.
|
|
41
|
-
"@mui/utils": "^5.14.
|
|
39
|
+
"@babel/runtime": "^7.23.5",
|
|
40
|
+
"@mui/system": "^5.14.20",
|
|
41
|
+
"@mui/utils": "^5.14.20",
|
|
42
42
|
"clsx": "^2.0.0",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"reselect": "^4.1.8"
|
|
@@ -6,7 +6,7 @@ export interface OutputSelector<State, Result> {
|
|
|
6
6
|
state: State;
|
|
7
7
|
instanceId: GridCoreApi['instanceId'];
|
|
8
8
|
}>): Result;
|
|
9
|
-
(state: State, instanceId
|
|
9
|
+
(state: State, instanceId: GridCoreApi['instanceId']): Result;
|
|
10
10
|
acceptsApiRef: boolean;
|
|
11
11
|
}
|
|
12
12
|
type StateFromSelector<T> = T extends (first: infer F, ...args: any[]) => any ? F extends {
|