@mui/x-data-grid 7.29.1 → 7.29.3
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 +92 -0
- package/DataGrid/useDataGridProps.js +6 -5
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +8 -3
- package/components/containers/GridRootStyles.js +16 -14
- package/constants/gridClasses.d.ts +4 -0
- package/constants/gridClasses.js +1 -1
- package/hooks/features/editing/useGridRowEditing.js +7 -6
- package/hooks/features/rowSelection/utils.js +1 -1
- package/index.js +1 -1
- package/locales/hyAM.d.ts +2 -0
- package/locales/hyAM.js +178 -0
- package/locales/index.d.ts +1 -0
- package/locales/index.js +1 -0
- package/modern/DataGrid/useDataGridProps.js +6 -5
- package/modern/components/columnHeaders/GridColumnHeaderSortIcon.js +8 -3
- package/modern/components/containers/GridRootStyles.js +16 -14
- package/modern/constants/gridClasses.js +1 -1
- package/modern/hooks/features/editing/useGridRowEditing.js +7 -6
- package/modern/hooks/features/rowSelection/utils.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locales/hyAM.js +178 -0
- package/modern/locales/index.js +1 -0
- package/node/DataGrid/useDataGridProps.js +5 -4
- package/node/components/columnHeaders/GridColumnHeaderSortIcon.js +8 -3
- package/node/components/containers/GridRootStyles.js +16 -14
- package/node/constants/gridClasses.js +1 -1
- package/node/hooks/features/editing/useGridRowEditing.js +6 -5
- package/node/hooks/features/rowSelection/utils.js +1 -1
- package/node/index.js +1 -1
- package/node/locales/hyAM.js +184 -0
- package/node/locales/index.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.hyAM = void 0;
|
|
7
|
+
var _locale = require("@mui/material/locale");
|
|
8
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
9
|
+
const hyAMGrid = {
|
|
10
|
+
// Root
|
|
11
|
+
noRowsLabel: 'Տվյալներ չկան',
|
|
12
|
+
noResultsOverlayLabel: 'Արդյունքներ չեն գտնվել։',
|
|
13
|
+
// Density selector toolbar button text
|
|
14
|
+
toolbarDensity: 'Խտություն',
|
|
15
|
+
toolbarDensityLabel: 'Խտություն',
|
|
16
|
+
toolbarDensityCompact: 'Կոմպակտ',
|
|
17
|
+
toolbarDensityStandard: 'Ստանդարտ',
|
|
18
|
+
toolbarDensityComfortable: 'Հարմարավետ',
|
|
19
|
+
// Columns selector toolbar button text
|
|
20
|
+
toolbarColumns: 'Սյունակներ',
|
|
21
|
+
toolbarColumnsLabel: 'Ընտրել սյունակներ',
|
|
22
|
+
// Filters toolbar button text
|
|
23
|
+
toolbarFilters: 'Զտիչներ',
|
|
24
|
+
toolbarFiltersLabel: 'Ցուցադրել զտիչները',
|
|
25
|
+
toolbarFiltersTooltipHide: 'Թաքցնել զտիչները',
|
|
26
|
+
toolbarFiltersTooltipShow: 'Ցուցադրել զտիչները',
|
|
27
|
+
toolbarFiltersTooltipActive: count => {
|
|
28
|
+
let pluralForm = 'ակտիվ զտիչ';
|
|
29
|
+
if (count === 1) {
|
|
30
|
+
pluralForm = 'ակտիվ զտիչ';
|
|
31
|
+
} else {
|
|
32
|
+
pluralForm = 'ակտիվ զտիչներ';
|
|
33
|
+
}
|
|
34
|
+
return `${count} ${pluralForm}`;
|
|
35
|
+
},
|
|
36
|
+
// Quick filter toolbar field
|
|
37
|
+
toolbarQuickFilterPlaceholder: 'Որոնել…',
|
|
38
|
+
toolbarQuickFilterLabel: 'Որոնել',
|
|
39
|
+
toolbarQuickFilterDeleteIconLabel: 'Մաքրել',
|
|
40
|
+
// Export selector toolbar button text
|
|
41
|
+
toolbarExport: 'Արտահանում',
|
|
42
|
+
toolbarExportLabel: 'Արտահանում',
|
|
43
|
+
toolbarExportCSV: 'Ներբեռնել CSV-ով',
|
|
44
|
+
toolbarExportPrint: 'Տպել',
|
|
45
|
+
toolbarExportExcel: 'Ներբեռնել Excel-ով',
|
|
46
|
+
// Columns management text
|
|
47
|
+
columnsManagementSearchTitle: 'Որոնել',
|
|
48
|
+
columnsManagementNoColumns: 'Սյունակներ չկան',
|
|
49
|
+
columnsManagementShowHideAllText: 'Ցուցադրել/Թաքցնել բոլորը',
|
|
50
|
+
columnsManagementReset: 'Վերակայել',
|
|
51
|
+
columnsManagementDeleteIconLabel: 'Հեռացնել',
|
|
52
|
+
// Filter panel text
|
|
53
|
+
filterPanelAddFilter: 'Ավելացնել զտիչ',
|
|
54
|
+
filterPanelRemoveAll: 'Հեռացնել բոլորը',
|
|
55
|
+
filterPanelDeleteIconLabel: 'Հեռացնել',
|
|
56
|
+
filterPanelLogicOperator: 'Տրամաբանական օպերատոր',
|
|
57
|
+
filterPanelOperator: 'Օպերատոր',
|
|
58
|
+
filterPanelOperatorAnd: 'Եվ',
|
|
59
|
+
filterPanelOperatorOr: 'Կամ',
|
|
60
|
+
filterPanelColumns: 'Սյունակներ',
|
|
61
|
+
filterPanelInputLabel: 'Արժեք',
|
|
62
|
+
filterPanelInputPlaceholder: 'Զտիչի արժեք',
|
|
63
|
+
// Filter operators text
|
|
64
|
+
filterOperatorContains: 'պարունակում է',
|
|
65
|
+
filterOperatorDoesNotContain: 'չի պարունակում',
|
|
66
|
+
filterOperatorEquals: 'հավասար է',
|
|
67
|
+
filterOperatorDoesNotEqual: 'հավասար չէ',
|
|
68
|
+
filterOperatorStartsWith: 'սկսվում է',
|
|
69
|
+
filterOperatorEndsWith: 'վերջանում է',
|
|
70
|
+
filterOperatorIs: 'է',
|
|
71
|
+
filterOperatorNot: 'չէ',
|
|
72
|
+
filterOperatorAfter: 'հետո է',
|
|
73
|
+
filterOperatorOnOrAfter: 'այդ օրը կամ հետո է',
|
|
74
|
+
filterOperatorBefore: 'մինչ է',
|
|
75
|
+
filterOperatorOnOrBefore: 'այդ օրը կամ առաջ է',
|
|
76
|
+
filterOperatorIsEmpty: 'դատարկ է',
|
|
77
|
+
filterOperatorIsNotEmpty: 'դատարկ չէ',
|
|
78
|
+
filterOperatorIsAnyOf: 'որևէ մեկը',
|
|
79
|
+
'filterOperator=': '=',
|
|
80
|
+
'filterOperator!=': '!=',
|
|
81
|
+
'filterOperator>': '>',
|
|
82
|
+
'filterOperator>=': '>=',
|
|
83
|
+
'filterOperator<': '<',
|
|
84
|
+
'filterOperator<=': '<=',
|
|
85
|
+
// Header filter operators text
|
|
86
|
+
headerFilterOperatorContains: 'Պարունակում է',
|
|
87
|
+
headerFilterOperatorDoesNotContain: 'Չի պարունակում',
|
|
88
|
+
headerFilterOperatorEquals: 'Հավասար է',
|
|
89
|
+
headerFilterOperatorDoesNotEqual: 'Հավասար չէ',
|
|
90
|
+
headerFilterOperatorStartsWith: 'Սկսվում է',
|
|
91
|
+
headerFilterOperatorEndsWith: 'Վերջանում է',
|
|
92
|
+
headerFilterOperatorIs: 'Է',
|
|
93
|
+
headerFilterOperatorNot: 'Չէ',
|
|
94
|
+
headerFilterOperatorAfter: 'Հետո է',
|
|
95
|
+
headerFilterOperatorOnOrAfter: 'Այդ օրը կամ հետո է',
|
|
96
|
+
headerFilterOperatorBefore: 'Մինչ է',
|
|
97
|
+
headerFilterOperatorOnOrBefore: 'Այդ օրը կամ առաջ է',
|
|
98
|
+
headerFilterOperatorIsEmpty: 'Դատարկ է',
|
|
99
|
+
headerFilterOperatorIsNotEmpty: 'Դատարկ չէ',
|
|
100
|
+
headerFilterOperatorIsAnyOf: 'Որևէ մեկը',
|
|
101
|
+
'headerFilterOperator=': 'Հավասար է',
|
|
102
|
+
'headerFilterOperator!=': 'Հավասար չէ',
|
|
103
|
+
'headerFilterOperator>': 'Ավելի մեծ է',
|
|
104
|
+
'headerFilterOperator>=': 'Ավելի մեծ կամ հավասար է',
|
|
105
|
+
'headerFilterOperator<': 'Ավելի փոքր է',
|
|
106
|
+
'headerFilterOperator<=': 'Ավելի փոքր կամ հավասար է',
|
|
107
|
+
// Filter values text
|
|
108
|
+
filterValueAny: 'ցանկացած',
|
|
109
|
+
filterValueTrue: 'այո',
|
|
110
|
+
filterValueFalse: 'ոչ',
|
|
111
|
+
// Column menu text
|
|
112
|
+
columnMenuLabel: 'Մենյու',
|
|
113
|
+
columnMenuAriaLabel: columnName => `${columnName} սյունակի մենյու`,
|
|
114
|
+
columnMenuShowColumns: 'Ցուցադրել սյունակները',
|
|
115
|
+
columnMenuManageColumns: 'Կառավարել սյունակները',
|
|
116
|
+
columnMenuFilter: 'Զտիչ',
|
|
117
|
+
columnMenuHideColumn: 'Թաքցնել',
|
|
118
|
+
columnMenuUnsort: 'Մաքրել դասավորումը',
|
|
119
|
+
columnMenuSortAsc: 'Աճման կարգով դասավորել',
|
|
120
|
+
columnMenuSortDesc: 'Նվազման կարգով դասավորել',
|
|
121
|
+
// Column header text
|
|
122
|
+
columnHeaderFiltersTooltipActive: count => {
|
|
123
|
+
let pluralForm = 'ակտիվ զտիչներ';
|
|
124
|
+
if (count === 1) {
|
|
125
|
+
pluralForm = 'ակտիվ զտիչ';
|
|
126
|
+
}
|
|
127
|
+
return `${count} ${pluralForm}`;
|
|
128
|
+
},
|
|
129
|
+
columnHeaderFiltersLabel: 'Ցուցադրել զտիչները',
|
|
130
|
+
columnHeaderSortIconLabel: 'Դասավորել',
|
|
131
|
+
// Rows selected footer text
|
|
132
|
+
footerRowSelected: count => {
|
|
133
|
+
let pluralForm = 'ընտրված տող';
|
|
134
|
+
if (count === 1) {
|
|
135
|
+
pluralForm = 'ընտրված տող';
|
|
136
|
+
} else {
|
|
137
|
+
pluralForm = 'ընտրված տողեր';
|
|
138
|
+
}
|
|
139
|
+
return `${count} ${pluralForm}`;
|
|
140
|
+
},
|
|
141
|
+
// Total row amount footer text
|
|
142
|
+
footerTotalRows: 'Ընդամենը տողեր:',
|
|
143
|
+
// Total visible row amount footer text
|
|
144
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => {
|
|
145
|
+
return `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`;
|
|
146
|
+
},
|
|
147
|
+
// Checkbox selection text
|
|
148
|
+
checkboxSelectionHeaderName: 'Տողի ընտրություն',
|
|
149
|
+
checkboxSelectionSelectAllRows: 'Ընտրել բոլոր տողերը',
|
|
150
|
+
checkboxSelectionUnselectAllRows: 'Չընտրել բոլոր տողերը',
|
|
151
|
+
checkboxSelectionSelectRow: 'Ընտրել տողը',
|
|
152
|
+
checkboxSelectionUnselectRow: 'Չընտրել տողը',
|
|
153
|
+
// Boolean cell text
|
|
154
|
+
booleanCellTrueLabel: 'այո',
|
|
155
|
+
booleanCellFalseLabel: 'ոչ',
|
|
156
|
+
// Actions cell more text
|
|
157
|
+
actionsCellMore: 'ավելին',
|
|
158
|
+
// Column pinning text
|
|
159
|
+
pinToLeft: 'Կցել ձախ',
|
|
160
|
+
pinToRight: 'Կցել աջ',
|
|
161
|
+
unpin: 'Անջատել',
|
|
162
|
+
// Tree Data
|
|
163
|
+
treeDataGroupingHeaderName: 'Խումբ',
|
|
164
|
+
treeDataExpand: 'Բացել ենթատողերը',
|
|
165
|
+
treeDataCollapse: 'Փակել ենթատողերը',
|
|
166
|
+
// Grouping columns
|
|
167
|
+
groupingColumnHeaderName: 'Խմբավորում',
|
|
168
|
+
groupColumn: name => `Խմբավորել ըստ ${name}`,
|
|
169
|
+
unGroupColumn: name => `Չխմբավորել ըստ ${name}`,
|
|
170
|
+
// Master/detail
|
|
171
|
+
detailPanelToggle: 'Փոխարկել մանրամասն տեսքը',
|
|
172
|
+
expandDetailPanel: 'Բացել',
|
|
173
|
+
collapseDetailPanel: 'Փակել',
|
|
174
|
+
// Row reordering text
|
|
175
|
+
rowReorderingHeaderName: 'Տողերի վերադասավորում',
|
|
176
|
+
// Aggregation
|
|
177
|
+
aggregationMenuItemHeader: 'Ագրեգացում',
|
|
178
|
+
aggregationFunctionLabelSum: 'գումար',
|
|
179
|
+
aggregationFunctionLabelAvg: 'միջին',
|
|
180
|
+
aggregationFunctionLabelMin: 'մինիմում',
|
|
181
|
+
aggregationFunctionLabelMax: 'մաքսիմում',
|
|
182
|
+
aggregationFunctionLabelSize: 'քանակ'
|
|
183
|
+
};
|
|
184
|
+
const hyAM = exports.hyAM = (0, _getGridLocalization.getGridLocalization)(hyAMGrid, _locale.hyAM);
|
package/node/locales/index.js
CHANGED
|
@@ -168,6 +168,17 @@ Object.keys(_huHU).forEach(function (key) {
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
});
|
|
171
|
+
var _hyAM = require("./hyAM");
|
|
172
|
+
Object.keys(_hyAM).forEach(function (key) {
|
|
173
|
+
if (key === "default" || key === "__esModule") return;
|
|
174
|
+
if (key in exports && exports[key] === _hyAM[key]) return;
|
|
175
|
+
Object.defineProperty(exports, key, {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () {
|
|
178
|
+
return _hyAM[key];
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
});
|
|
171
182
|
var _itIT = require("./itIT");
|
|
172
183
|
Object.keys(_itIT).forEach(function (key) {
|
|
173
184
|
if (key === "default" || key === "__esModule") return;
|