@mui/x-data-grid 6.18.4 → 6.18.6
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 +91 -0
- package/DataGrid/DataGrid.js +19 -19
- package/index.js +1 -1
- package/legacy/DataGrid/DataGrid.js +19 -19
- package/legacy/index.js +1 -1
- package/legacy/locales/svSE.js +31 -33
- package/legacy/locales/urPK.js +26 -28
- package/locales/svSE.js +31 -33
- package/locales/urPK.js +26 -28
- package/models/props/DataGridProps.d.ts +22 -22
- package/modern/DataGrid/DataGrid.js +19 -19
- package/modern/index.js +1 -1
- package/modern/locales/svSE.js +31 -33
- package/modern/locales/urPK.js +26 -28
- package/node/DataGrid/DataGrid.js +19 -19
- package/node/index.js +1 -1
- package/node/locales/svSE.js +31 -33
- package/node/locales/urPK.js +26 -28
- package/package.json +1 -1
package/modern/locales/urPK.js
CHANGED
|
@@ -37,7 +37,7 @@ const urPKGrid = {
|
|
|
37
37
|
columnsPanelHideAllButton: 'سارے چھپائیں',
|
|
38
38
|
// Filter panel text
|
|
39
39
|
filterPanelAddFilter: 'نیا فلٹر',
|
|
40
|
-
|
|
40
|
+
filterPanelRemoveAll: 'سارے ختم کریں',
|
|
41
41
|
filterPanelDeleteIconLabel: 'ختم کریں',
|
|
42
42
|
filterPanelLogicOperator: 'لاجک آپریٹر',
|
|
43
43
|
filterPanelOperator: 'آپریٹر',
|
|
@@ -60,34 +60,32 @@ const urPKGrid = {
|
|
|
60
60
|
filterOperatorIsEmpty: 'خالی ہے',
|
|
61
61
|
filterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
62
62
|
filterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
'filterOperator=': '=',
|
|
64
|
+
'filterOperator!=': '!=',
|
|
65
|
+
'filterOperator>': '>',
|
|
66
|
+
'filterOperator>=': '>=',
|
|
67
|
+
'filterOperator<': '<',
|
|
68
|
+
'filterOperator<=': '<=',
|
|
70
69
|
// Header filter operators text
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
70
|
+
headerFilterOperatorContains: 'شامل ہے',
|
|
71
|
+
headerFilterOperatorEquals: 'برابر ہے',
|
|
72
|
+
headerFilterOperatorStartsWith: 'شروع ہوتا ہے',
|
|
73
|
+
headerFilterOperatorEndsWith: 'ختم ہوتا ہے',
|
|
74
|
+
headerFilterOperatorIs: 'ہے',
|
|
75
|
+
headerFilterOperatorNot: 'نہیں ہے',
|
|
76
|
+
headerFilterOperatorAfter: 'بعد میں ہے',
|
|
77
|
+
headerFilterOperatorOnOrAfter: 'پر یا بعد میں ہے',
|
|
78
|
+
headerFilterOperatorBefore: 'پہلے ہے',
|
|
79
|
+
headerFilterOperatorOnOrBefore: 'پر یا پہلے ہے',
|
|
80
|
+
headerFilterOperatorIsEmpty: 'خالی ہے',
|
|
81
|
+
headerFilterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
82
|
+
headerFilterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
83
|
+
'headerFilterOperator=': 'برابر ہے',
|
|
84
|
+
'headerFilterOperator!=': 'برابر نہیں ہے',
|
|
85
|
+
'headerFilterOperator>': 'ذیادہ ہے',
|
|
86
|
+
'headerFilterOperator>=': 'ذیادہ یا برابر ہے',
|
|
87
|
+
'headerFilterOperator<': 'کم ہے',
|
|
88
|
+
'headerFilterOperator<=': 'کم یا برابر ہے',
|
|
91
89
|
// Filter values text
|
|
92
90
|
filterValueAny: 'کوئی بھی',
|
|
93
91
|
filterValueTrue: 'صحیح',
|
|
@@ -61,21 +61,21 @@ DataGridRaw.propTypes = {
|
|
|
61
61
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
62
62
|
// ----------------------------------------------------------------------
|
|
63
63
|
/**
|
|
64
|
-
* The ref object that allows
|
|
64
|
+
* The ref object that allows Data Grid manipulation. Can be instantiated with `useGridApiRef()`.
|
|
65
65
|
*/
|
|
66
66
|
apiRef: _propTypes.default.shape({
|
|
67
67
|
current: _propTypes.default.object.isRequired
|
|
68
68
|
}),
|
|
69
69
|
/**
|
|
70
|
-
* The label of the
|
|
70
|
+
* The label of the Data Grid.
|
|
71
71
|
*/
|
|
72
72
|
'aria-label': _propTypes.default.string,
|
|
73
73
|
/**
|
|
74
|
-
* The id of the element containing a label for the
|
|
74
|
+
* The id of the element containing a label for the Data Grid.
|
|
75
75
|
*/
|
|
76
76
|
'aria-labelledby': _propTypes.default.string,
|
|
77
77
|
/**
|
|
78
|
-
* If `true`, the
|
|
78
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
autoHeight: _propTypes.default.bool,
|
|
@@ -89,7 +89,7 @@ DataGridRaw.propTypes = {
|
|
|
89
89
|
*/
|
|
90
90
|
cellModesModel: _propTypes.default.object,
|
|
91
91
|
/**
|
|
92
|
-
* If `true`, the
|
|
92
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
93
93
|
* @default false
|
|
94
94
|
*/
|
|
95
95
|
checkboxSelection: _propTypes.default.bool,
|
|
@@ -109,7 +109,7 @@ DataGridRaw.propTypes = {
|
|
|
109
109
|
columnBuffer: _propTypes.default.number,
|
|
110
110
|
columnGroupingModel: _propTypes.default.arrayOf(_propTypes.default.object),
|
|
111
111
|
/**
|
|
112
|
-
* Sets the height in pixel of the column headers in the
|
|
112
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
113
113
|
* @default 56
|
|
114
114
|
*/
|
|
115
115
|
columnHeaderHeight: _propTypes.default.number,
|
|
@@ -129,8 +129,8 @@ DataGridRaw.propTypes = {
|
|
|
129
129
|
*/
|
|
130
130
|
columnThreshold: _propTypes.default.number,
|
|
131
131
|
/**
|
|
132
|
-
* Set the column visibility model of the
|
|
133
|
-
* If defined, the
|
|
132
|
+
* Set the column visibility model of the Data Grid.
|
|
133
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
134
134
|
*/
|
|
135
135
|
columnVisibilityModel: _propTypes.default.object,
|
|
136
136
|
/**
|
|
@@ -144,7 +144,7 @@ DataGridRaw.propTypes = {
|
|
|
144
144
|
*/
|
|
145
145
|
componentsProps: _propTypes.default.object,
|
|
146
146
|
/**
|
|
147
|
-
* Set the density of the
|
|
147
|
+
* Set the density of the Data Grid.
|
|
148
148
|
* @default "standard"
|
|
149
149
|
*/
|
|
150
150
|
density: _propTypes.default.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -210,7 +210,7 @@ DataGridRaw.propTypes = {
|
|
|
210
210
|
*/
|
|
211
211
|
filterMode: _propTypes.default.oneOf(['client', 'server']),
|
|
212
212
|
/**
|
|
213
|
-
* Set the filter model of the
|
|
213
|
+
* Set the filter model of the Data Grid.
|
|
214
214
|
*/
|
|
215
215
|
filterModel: _propTypes.default.shape({
|
|
216
216
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
@@ -225,7 +225,7 @@ DataGridRaw.propTypes = {
|
|
|
225
225
|
quickFilterValues: _propTypes.default.array
|
|
226
226
|
}),
|
|
227
227
|
/**
|
|
228
|
-
* Forwarded props for the
|
|
228
|
+
* Forwarded props for the Data Grid root element.
|
|
229
229
|
* @ignore - do not document.
|
|
230
230
|
*/
|
|
231
231
|
forwardedProps: _propTypes.default.object,
|
|
@@ -322,7 +322,7 @@ DataGridRaw.propTypes = {
|
|
|
322
322
|
*/
|
|
323
323
|
loading: _propTypes.default.bool,
|
|
324
324
|
/**
|
|
325
|
-
* Set the locale text of the
|
|
325
|
+
* Set the locale text of the Data Grid.
|
|
326
326
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
327
327
|
*/
|
|
328
328
|
localeText: _propTypes.default.object,
|
|
@@ -490,7 +490,7 @@ DataGridRaw.propTypes = {
|
|
|
490
490
|
*/
|
|
491
491
|
onProcessRowUpdateError: _propTypes.default.func,
|
|
492
492
|
/**
|
|
493
|
-
* Callback fired when the
|
|
493
|
+
* Callback fired when the Data Grid is resized.
|
|
494
494
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
495
495
|
* @param {MuiEvent<{}>} event The event object.
|
|
496
496
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -548,7 +548,7 @@ DataGridRaw.propTypes = {
|
|
|
548
548
|
*/
|
|
549
549
|
onSortModelChange: _propTypes.default.func,
|
|
550
550
|
/**
|
|
551
|
-
* Callback fired when the state of the
|
|
551
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
552
552
|
* @param {GridState} state The new state.
|
|
553
553
|
* @param {MuiEvent<{}>} event The event object.
|
|
554
554
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -602,7 +602,7 @@ DataGridRaw.propTypes = {
|
|
|
602
602
|
*/
|
|
603
603
|
rowCount: _propTypes.default.number,
|
|
604
604
|
/**
|
|
605
|
-
* Sets the height in pixel of a row in the
|
|
605
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
606
606
|
* @default 52
|
|
607
607
|
*/
|
|
608
608
|
rowHeight: _propTypes.default.number,
|
|
@@ -627,7 +627,7 @@ DataGridRaw.propTypes = {
|
|
|
627
627
|
*/
|
|
628
628
|
rowSelection: _propTypes.default.bool,
|
|
629
629
|
/**
|
|
630
|
-
* Sets the row selection model of the
|
|
630
|
+
* Sets the row selection model of the Data Grid.
|
|
631
631
|
*/
|
|
632
632
|
rowSelectionModel: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]).isRequired), _propTypes.default.number, _propTypes.default.string]),
|
|
633
633
|
/**
|
|
@@ -641,7 +641,7 @@ DataGridRaw.propTypes = {
|
|
|
641
641
|
*/
|
|
642
642
|
rowThreshold: _propTypes.default.number,
|
|
643
643
|
/**
|
|
644
|
-
* Override the height/width of the
|
|
644
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
645
645
|
*/
|
|
646
646
|
scrollbarSize: _propTypes.default.number,
|
|
647
647
|
/**
|
|
@@ -675,7 +675,7 @@ DataGridRaw.propTypes = {
|
|
|
675
675
|
*/
|
|
676
676
|
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
677
677
|
/**
|
|
678
|
-
* Set the sort model of the
|
|
678
|
+
* Set the sort model of the Data Grid.
|
|
679
679
|
*/
|
|
680
680
|
sortModel: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
681
681
|
field: _propTypes.default.string.isRequired,
|
|
@@ -686,7 +686,7 @@ DataGridRaw.propTypes = {
|
|
|
686
686
|
*/
|
|
687
687
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
688
688
|
/**
|
|
689
|
-
* If `true`, the
|
|
689
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
690
690
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
691
691
|
* @default false
|
|
692
692
|
*/
|
package/node/index.js
CHANGED
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: 'صحیح',
|