@mui/x-data-grid 8.0.0 → 8.1.0

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 (46) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/components/GridRowCount.js +1 -2
  3. package/components/GridSelectedRowCount.js +1 -2
  4. package/components/GridSkeletonLoadingOverlay.js +1 -2
  5. package/components/base/GridOverlays.js +2 -4
  6. package/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
  7. package/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
  8. package/components/columnHeaders/GridIconButtonContainer.js +1 -2
  9. package/components/containers/GridFooterContainer.js +1 -2
  10. package/components/containers/GridRootStyles.js +14 -12
  11. package/components/panel/GridPanelFooter.js +1 -2
  12. package/components/panel/GridPanelHeader.js +1 -2
  13. package/components/panel/filterPanel/GridFilterForm.js +6 -12
  14. package/components/toolbar/GridToolbarFilterButton.js +1 -2
  15. package/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
  16. package/esm/components/GridRowCount.js +1 -2
  17. package/esm/components/GridSelectedRowCount.js +1 -2
  18. package/esm/components/GridSkeletonLoadingOverlay.js +1 -2
  19. package/esm/components/base/GridOverlays.js +2 -4
  20. package/esm/components/columnHeaders/GridBaseColumnHeaders.js +1 -2
  21. package/esm/components/columnHeaders/GridColumnHeaderTitle.js +1 -2
  22. package/esm/components/columnHeaders/GridIconButtonContainer.js +1 -2
  23. package/esm/components/containers/GridFooterContainer.js +1 -2
  24. package/esm/components/containers/GridRootStyles.js +14 -12
  25. package/esm/components/panel/GridPanelFooter.js +1 -2
  26. package/esm/components/panel/GridPanelHeader.js +1 -2
  27. package/esm/components/panel/filterPanel/GridFilterForm.js +6 -12
  28. package/esm/components/toolbar/GridToolbarFilterButton.js +1 -2
  29. package/esm/components/virtualization/GridVirtualScrollerRenderZone.js +1 -2
  30. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
  31. package/esm/hooks/features/rowSelection/useGridRowSelection.js +7 -6
  32. package/esm/hooks/features/rows/useGridParamsApi.js +1 -1
  33. package/esm/index.js +1 -1
  34. package/esm/locales/hyAM.d.ts +2 -0
  35. package/esm/locales/hyAM.js +296 -0
  36. package/esm/locales/index.d.ts +1 -0
  37. package/esm/locales/index.js +1 -0
  38. package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -2
  39. package/hooks/features/rowSelection/useGridRowSelection.js +7 -6
  40. package/hooks/features/rows/useGridParamsApi.js +1 -1
  41. package/index.js +1 -1
  42. package/locales/hyAM.d.ts +2 -0
  43. package/locales/hyAM.js +302 -0
  44. package/locales/index.d.ts +1 -0
  45. package/locales/index.js +11 -0
  46. package/package.json +1 -1
@@ -0,0 +1,302 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.hyAM = void 0;
7
+ var _getGridLocalization = require("../utils/getGridLocalization");
8
+ const hyAMGrid = {
9
+ // Root
10
+ noRowsLabel: 'Տվյալներ չկան',
11
+ noResultsOverlayLabel: 'Արդյունքներ չեն գտնվել։',
12
+ // noColumnsOverlayLabel: 'No columns',
13
+ // noColumnsOverlayManageColumns: 'Manage columns',
14
+ // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
15
+
16
+ // Density selector toolbar button text
17
+ toolbarDensity: 'Խտություն',
18
+ toolbarDensityLabel: 'Խտություն',
19
+ toolbarDensityCompact: 'Կոմպակտ',
20
+ toolbarDensityStandard: 'Ստանդարտ',
21
+ toolbarDensityComfortable: 'Հարմարավետ',
22
+ // Columns selector toolbar button text
23
+ toolbarColumns: 'Սյունակներ',
24
+ toolbarColumnsLabel: 'Ընտրել սյունակներ',
25
+ // Filters toolbar button text
26
+ toolbarFilters: 'Զտիչներ',
27
+ toolbarFiltersLabel: 'Ցուցադրել զտիչները',
28
+ toolbarFiltersTooltipHide: 'Թաքցնել զտիչները',
29
+ toolbarFiltersTooltipShow: 'Ցուցադրել զտիչները',
30
+ toolbarFiltersTooltipActive: count => {
31
+ let pluralForm = 'ակտիվ զտիչ';
32
+ if (count === 1) {
33
+ pluralForm = 'ակտիվ զտիչ';
34
+ } else {
35
+ pluralForm = 'ակտիվ զտիչներ';
36
+ }
37
+ return `${count} ${pluralForm}`;
38
+ },
39
+ // Quick filter toolbar field
40
+ toolbarQuickFilterPlaceholder: 'Որոնել…',
41
+ toolbarQuickFilterLabel: 'Որոնել',
42
+ toolbarQuickFilterDeleteIconLabel: 'Մաքրել',
43
+ // Export selector toolbar button text
44
+ toolbarExport: 'Արտահանում',
45
+ toolbarExportLabel: 'Արտահանում',
46
+ toolbarExportCSV: 'Ներբեռնել CSV-ով',
47
+ toolbarExportPrint: 'Տպել',
48
+ toolbarExportExcel: 'Ներբեռնել Excel-ով',
49
+ // Toolbar pivot button
50
+ // toolbarPivot: 'Pivot',
51
+
52
+ // Toolbar AI Assistant button
53
+ // toolbarAssistant: 'AI Assistant',
54
+
55
+ // Columns management text
56
+ columnsManagementSearchTitle: 'Որոնել',
57
+ columnsManagementNoColumns: 'Սյունակներ չկան',
58
+ columnsManagementShowHideAllText: 'Ցուցադրել/Թաքցնել բոլորը',
59
+ columnsManagementReset: 'Վերակայել',
60
+ columnsManagementDeleteIconLabel: 'Հեռացնել',
61
+ // Filter panel text
62
+ filterPanelAddFilter: 'Ավելացնել զտիչ',
63
+ filterPanelRemoveAll: 'Հեռացնել բոլորը',
64
+ filterPanelDeleteIconLabel: 'Հեռացնել',
65
+ filterPanelLogicOperator: 'Տրամաբանական օպերատոր',
66
+ filterPanelOperator: 'Օպերատոր',
67
+ filterPanelOperatorAnd: 'Եվ',
68
+ filterPanelOperatorOr: 'Կամ',
69
+ filterPanelColumns: 'Սյունակներ',
70
+ filterPanelInputLabel: 'Արժեք',
71
+ filterPanelInputPlaceholder: 'Զտիչի արժեք',
72
+ // Filter operators text
73
+ filterOperatorContains: 'պարունակում է',
74
+ filterOperatorDoesNotContain: 'չի պարունակում',
75
+ filterOperatorEquals: 'հավասար է',
76
+ filterOperatorDoesNotEqual: 'հավասար չէ',
77
+ filterOperatorStartsWith: 'սկսվում է',
78
+ filterOperatorEndsWith: 'վերջանում է',
79
+ filterOperatorIs: 'է',
80
+ filterOperatorNot: 'չէ',
81
+ filterOperatorAfter: 'հետո է',
82
+ filterOperatorOnOrAfter: 'այդ օրը կամ հետո է',
83
+ filterOperatorBefore: 'մինչ է',
84
+ filterOperatorOnOrBefore: 'այդ օրը կամ առաջ է',
85
+ filterOperatorIsEmpty: 'դատարկ է',
86
+ filterOperatorIsNotEmpty: 'դատարկ չէ',
87
+ filterOperatorIsAnyOf: 'որևէ մեկը',
88
+ 'filterOperator=': '=',
89
+ 'filterOperator!=': '!=',
90
+ 'filterOperator>': '>',
91
+ 'filterOperator>=': '>=',
92
+ 'filterOperator<': '<',
93
+ 'filterOperator<=': '<=',
94
+ // Header filter operators text
95
+ headerFilterOperatorContains: 'Պարունակում է',
96
+ headerFilterOperatorDoesNotContain: 'Չի պարունակում',
97
+ headerFilterOperatorEquals: 'Հավասար է',
98
+ headerFilterOperatorDoesNotEqual: 'Հավասար չէ',
99
+ headerFilterOperatorStartsWith: 'Սկսվում է',
100
+ headerFilterOperatorEndsWith: 'Վերջանում է',
101
+ headerFilterOperatorIs: 'Է',
102
+ headerFilterOperatorNot: 'Չէ',
103
+ headerFilterOperatorAfter: 'Հետո է',
104
+ headerFilterOperatorOnOrAfter: 'Այդ օրը կամ հետո է',
105
+ headerFilterOperatorBefore: 'Մինչ է',
106
+ headerFilterOperatorOnOrBefore: 'Այդ օրը կամ առաջ է',
107
+ headerFilterOperatorIsEmpty: 'Դատարկ է',
108
+ headerFilterOperatorIsNotEmpty: 'Դատարկ չէ',
109
+ headerFilterOperatorIsAnyOf: 'Որևէ մեկը',
110
+ 'headerFilterOperator=': 'Հավասար է',
111
+ 'headerFilterOperator!=': 'Հավասար չէ',
112
+ 'headerFilterOperator>': 'Ավելի մեծ է',
113
+ 'headerFilterOperator>=': 'Ավելի մեծ կամ հավասար է',
114
+ 'headerFilterOperator<': 'Ավելի փոքր է',
115
+ 'headerFilterOperator<=': 'Ավելի փոքր կամ հավասար է',
116
+ // headerFilterClear: 'Clear filter',
117
+
118
+ // Filter values text
119
+ filterValueAny: 'ցանկացած',
120
+ filterValueTrue: 'այո',
121
+ filterValueFalse: 'ոչ',
122
+ // Column menu text
123
+ columnMenuLabel: 'Մենյու',
124
+ columnMenuAriaLabel: columnName => `${columnName} սյունակի մենյու`,
125
+ columnMenuShowColumns: 'Ցուցադրել սյունակները',
126
+ columnMenuManageColumns: 'Կառավարել սյունակները',
127
+ columnMenuFilter: 'Զտիչ',
128
+ columnMenuHideColumn: 'Թաքցնել',
129
+ columnMenuUnsort: 'Մաքրել դասավորումը',
130
+ columnMenuSortAsc: 'Աճման կարգով դասավորել',
131
+ columnMenuSortDesc: 'Նվազման կարգով դասավորել',
132
+ // columnMenuManagePivot: 'Manage pivot',
133
+
134
+ // Column header text
135
+ columnHeaderFiltersTooltipActive: count => {
136
+ let pluralForm = 'ակտիվ զտիչներ';
137
+ if (count === 1) {
138
+ pluralForm = 'ակտիվ զտիչ';
139
+ }
140
+ return `${count} ${pluralForm}`;
141
+ },
142
+ columnHeaderFiltersLabel: 'Ցուցադրել զտիչները',
143
+ columnHeaderSortIconLabel: 'Դասավորել',
144
+ // Rows selected footer text
145
+ footerRowSelected: count => {
146
+ let pluralForm = 'ընտրված տող';
147
+ if (count === 1) {
148
+ pluralForm = 'ընտրված տող';
149
+ } else {
150
+ pluralForm = 'ընտրված տողեր';
151
+ }
152
+ return `${count} ${pluralForm}`;
153
+ },
154
+ // Total row amount footer text
155
+ footerTotalRows: 'Ընդամենը տողեր:',
156
+ // Total visible row amount footer text
157
+ footerTotalVisibleRows: (visibleCount, totalCount) => {
158
+ return `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`;
159
+ },
160
+ // Checkbox selection text
161
+ checkboxSelectionHeaderName: 'Տողի ընտրություն',
162
+ checkboxSelectionSelectAllRows: 'Ընտրել բոլոր տողերը',
163
+ checkboxSelectionUnselectAllRows: 'Չընտրել բոլոր տողերը',
164
+ checkboxSelectionSelectRow: 'Ընտրել տողը',
165
+ checkboxSelectionUnselectRow: 'Չընտրել տողը',
166
+ // Boolean cell text
167
+ booleanCellTrueLabel: 'այո',
168
+ booleanCellFalseLabel: 'ոչ',
169
+ // Actions cell more text
170
+ actionsCellMore: 'ավելին',
171
+ // Column pinning text
172
+ pinToLeft: 'Կցել ձախ',
173
+ pinToRight: 'Կցել աջ',
174
+ unpin: 'Անջատել',
175
+ // Tree Data
176
+ treeDataGroupingHeaderName: 'Խումբ',
177
+ treeDataExpand: 'Բացել ենթատողերը',
178
+ treeDataCollapse: 'Փակել ենթատողերը',
179
+ // Grouping columns
180
+ groupingColumnHeaderName: 'Խմբավորում',
181
+ groupColumn: name => `Խմբավորել ըստ ${name}`,
182
+ unGroupColumn: name => `Չխմբավորել ըստ ${name}`,
183
+ // Master/detail
184
+ detailPanelToggle: 'Փոխարկել մանրամասն տեսքը',
185
+ expandDetailPanel: 'Բացել',
186
+ collapseDetailPanel: 'Փակել',
187
+ // Pagination
188
+ // paginationRowsPerPage: 'Rows per page:',
189
+ // paginationDisplayedRows: ({
190
+ // from,
191
+ // to,
192
+ // count,
193
+ // estimated
194
+ // }) => {
195
+ // if (!estimated) {
196
+ // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
197
+ // }
198
+ // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
199
+ // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
200
+ // },
201
+ // paginationItemAriaLabel: type => {
202
+ // if (type === 'first') {
203
+ // return 'Go to first page';
204
+ // }
205
+ // if (type === 'last') {
206
+ // return 'Go to last page';
207
+ // }
208
+ // if (type === 'next') {
209
+ // return 'Go to next page';
210
+ // }
211
+ // // if (type === 'previous') {
212
+ // return 'Go to previous page';
213
+ // },
214
+
215
+ // Row reordering text
216
+ rowReorderingHeaderName: 'Տողերի վերադասավորում',
217
+ // Aggregation
218
+ aggregationMenuItemHeader: 'Ագրեգացում',
219
+ aggregationFunctionLabelSum: 'գումար',
220
+ aggregationFunctionLabelAvg: 'միջին',
221
+ aggregationFunctionLabelMin: 'մինիմում',
222
+ aggregationFunctionLabelMax: 'մաքսիմում',
223
+ aggregationFunctionLabelSize: 'քանակ'
224
+
225
+ // Pivot panel
226
+ // pivotToggleLabel: 'Pivot',
227
+ // pivotRows: 'Rows',
228
+ // pivotColumns: 'Columns',
229
+ // pivotValues: 'Values',
230
+ // pivotCloseButton: 'Close pivot settings',
231
+ // pivotSearchButton: 'Search fields',
232
+ // pivotSearchControlPlaceholder: 'Search fields',
233
+ // pivotSearchControlLabel: 'Search fields',
234
+ // pivotSearchControlClear: 'Clear search',
235
+ // pivotNoFields: 'No fields',
236
+ // pivotMenuMoveUp: 'Move up',
237
+ // pivotMenuMoveDown: 'Move down',
238
+ // pivotMenuMoveToTop: 'Move to top',
239
+ // pivotMenuMoveToBottom: 'Move to bottom',
240
+ // pivotMenuRows: 'Rows',
241
+ // pivotMenuColumns: 'Columns',
242
+ // pivotMenuValues: 'Values',
243
+ // pivotMenuOptions: 'Field options',
244
+ // pivotMenuAddToRows: 'Add to Rows',
245
+ // pivotMenuAddToColumns: 'Add to Columns',
246
+ // pivotMenuAddToValues: 'Add to Values',
247
+ // pivotMenuRemove: 'Remove',
248
+ // pivotDragToRows: 'Drag here to create rows',
249
+ // pivotDragToColumns: 'Drag here to create columns',
250
+ // pivotDragToValues: 'Drag here to create values',
251
+ // pivotYearColumnHeaderName: '(Year)',
252
+ // pivotQuarterColumnHeaderName: '(Quarter)',
253
+
254
+ // AI Assistant panel
255
+ // aiAssistantPanelTitle: 'AI Assistant',
256
+ // aiAssistantPanelClose: 'Close AI Assistant',
257
+ // aiAssistantPanelNewConversation: 'New conversation',
258
+ // aiAssistantPanelConversationHistory: 'Conversation history',
259
+ // aiAssistantPanelEmptyConversation: 'No prompt history',
260
+ // aiAssistantSuggestions: 'Suggestions',
261
+
262
+ // Prompt field
263
+ // promptFieldLabel: 'Prompt',
264
+ // promptFieldPlaceholder: 'Type a prompt…',
265
+ // promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
266
+ // promptFieldPlaceholderListening: 'Listening for prompt…',
267
+ // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
268
+ // promptFieldSend: 'Send',
269
+ // promptFieldRecord: 'Record',
270
+ // promptFieldStopRecording: 'Stop recording',
271
+
272
+ // Prompt
273
+ // promptRerun: 'Run again',
274
+ // promptProcessing: 'Processing…',
275
+ // promptAppliedChanges: 'Applied changes',
276
+
277
+ // Prompt changes
278
+ // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
279
+ // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
280
+ // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
281
+ // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
282
+ // if (operator === 'is any of') {
283
+ // return `${column} is any of: ${value}`;
284
+ // }
285
+ // return `${column} ${operator} ${value}`;
286
+ // },
287
+ // promptChangeFilterDescription: (column: string, operator: string, value: string) => {
288
+ // if (operator === 'is any of') {
289
+ // return `Filter where ${column} is any of: ${value}`;
290
+ // }
291
+ // return `Filter where ${column} ${operator} ${value}`;
292
+ // },
293
+ // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
294
+ // promptChangePivotEnableLabel: 'Pivot',
295
+ // promptChangePivotEnableDescription: 'Enable pivot',
296
+ // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
297
+ // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
298
+ // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
299
+ // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
300
+ // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
301
+ };
302
+ const hyAM = exports.hyAM = (0, _getGridLocalization.getGridLocalization)(hyAMGrid);
@@ -13,6 +13,7 @@ export * from "./fiFI.js";
13
13
  export * from "./frFR.js";
14
14
  export * from "./heIL.js";
15
15
  export * from "./huHU.js";
16
+ export * from "./hyAM.js";
16
17
  export * from "./itIT.js";
17
18
  export * from "./jaJP.js";
18
19
  export * from "./koKR.js";
package/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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "8.0.0",
3
+ "version": "8.1.0",
4
4
  "description": "The Community plan edition of the Data Grid components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./index.js",