@mui/x-data-grid 5.11.0 → 5.12.1
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 +237 -16
- package/DataGrid/DataGrid.js +26 -1
- package/README.md +3 -4
- package/components/GridRow.d.ts +1 -1
- package/components/GridRow.js +51 -12
- package/components/base/GridOverlays.js +1 -1
- package/components/cell/GridActionsCellItem.d.ts +1 -1
- package/components/cell/GridCell.d.ts +2 -1
- package/components/cell/GridCell.js +12 -7
- package/components/columnHeaders/GridColumnHeaderItem.js +4 -3
- package/components/containers/GridRoot.js +25 -5
- package/components/containers/GridRootStyles.js +7 -2
- package/components/menu/GridMenu.js +9 -2
- package/components/panel/GridColumnsPanel.js +10 -2
- package/components/panel/GridPanelWrapper.d.ts +1 -1
- package/components/panel/GridPanelWrapper.js +3 -3
- package/components/panel/filterPanel/GridFilterForm.d.ts +61 -4
- package/components/panel/filterPanel/GridFilterForm.js +88 -8
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
- package/components/panel/filterPanel/GridFilterPanel.d.ts +8 -5
- package/components/panel/filterPanel/GridFilterPanel.js +25 -9
- package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
- package/components/toolbar/GridToolbarQuickFilter.d.ts +7 -0
- package/components/toolbar/GridToolbarQuickFilter.js +58 -6
- package/constants/defaultGridSlotsComponents.js +4 -2
- package/constants/gridClasses.d.ts +16 -0
- package/constants/gridClasses.js +1 -1
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +4 -0
- package/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
- package/hooks/core/useGridStateInitialization.js +19 -6
- package/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/hooks/features/columns/gridColumnsInterfaces.d.ts +3 -0
- package/hooks/features/columns/useGridColumns.js +13 -15
- package/hooks/features/editRows/useGridCellEditing.new.js +11 -4
- package/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/hooks/features/editRows/useGridRowEditing.new.js +10 -4
- package/hooks/features/events/useGridEvents.d.ts +1 -1
- package/hooks/features/events/useGridEvents.js +2 -0
- package/hooks/features/filter/gridFilterSelector.d.ts +5 -0
- package/hooks/features/filter/gridFilterSelector.js +6 -0
- package/hooks/features/filter/gridFilterUtils.d.ts +10 -2
- package/hooks/features/filter/gridFilterUtils.js +3 -6
- package/hooks/features/filter/useGridFilter.js +29 -12
- package/hooks/features/pagination/useGridPage.js +1 -1
- package/hooks/features/pagination/useGridPageSize.js +1 -1
- package/hooks/features/rows/gridRowsState.d.ts +14 -5
- package/hooks/features/rows/gridRowsUtils.d.ts +13 -1
- package/hooks/features/rows/gridRowsUtils.js +54 -0
- package/hooks/features/rows/useGridRows.js +63 -102
- package/hooks/features/rows/useGridRowsMeta.d.ts +1 -1
- package/hooks/features/rows/useGridRowsMeta.js +107 -43
- package/hooks/features/selection/useGridSelection.js +1 -1
- package/hooks/features/sorting/useGridSorting.js +1 -1
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +1 -0
- package/hooks/features/virtualization/useGridVirtualScroller.js +27 -7
- package/index.js +1 -1
- package/internals/index.d.ts +1 -0
- package/legacy/DataGrid/DataGrid.js +26 -1
- package/legacy/components/GridRow.js +56 -12
- package/legacy/components/base/GridOverlays.js +1 -1
- package/legacy/components/cell/GridCell.js +12 -7
- package/legacy/components/columnHeaders/GridColumnHeaderItem.js +6 -3
- package/legacy/components/containers/GridRoot.js +23 -5
- package/legacy/components/containers/GridRootStyles.js +9 -6
- package/legacy/components/menu/GridMenu.js +9 -2
- package/legacy/components/panel/GridColumnsPanel.js +12 -2
- package/legacy/components/panel/GridPanelWrapper.js +3 -3
- package/legacy/components/panel/filterPanel/GridFilterForm.js +89 -8
- package/legacy/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +27 -10
- package/legacy/components/toolbar/GridToolbarQuickFilter.js +68 -8
- package/legacy/constants/defaultGridSlotsComponents.js +4 -2
- package/legacy/constants/gridClasses.js +1 -1
- package/legacy/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -10
- package/legacy/hooks/core/useGridStateInitialization.js +18 -6
- package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/legacy/hooks/features/columns/useGridColumns.js +13 -15
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +14 -7
- package/legacy/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +10 -4
- package/legacy/hooks/features/events/useGridEvents.js +2 -0
- package/legacy/hooks/features/filter/gridFilterSelector.js +8 -0
- package/legacy/hooks/features/filter/gridFilterUtils.js +4 -7
- package/legacy/hooks/features/filter/useGridFilter.js +33 -12
- package/legacy/hooks/features/pagination/useGridPage.js +1 -1
- package/legacy/hooks/features/pagination/useGridPageSize.js +1 -1
- package/legacy/hooks/features/rows/gridRowsUtils.js +55 -0
- package/legacy/hooks/features/rows/useGridRows.js +75 -111
- package/legacy/hooks/features/rows/useGridRowsMeta.js +104 -41
- package/legacy/hooks/features/selection/useGridSelection.js +1 -1
- package/legacy/hooks/features/sorting/useGridSorting.js +1 -1
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +46 -22
- package/legacy/index.js +1 -1
- package/legacy/locales/heIL.js +9 -9
- package/legacy/locales/jaJP.js +28 -24
- package/legacy/locales/nbNO.js +127 -0
- package/legacy/locales/ruRU.js +9 -9
- package/legacy/locales/trTR.js +7 -7
- package/legacy/models/events/gridEvents.js +2 -0
- package/legacy/models/gridApiCaches.js +1 -0
- package/legacy/models/params/gridMenuParams.js +1 -0
- package/legacy/models/params/index.js +2 -1
- package/locales/heIL.js +9 -9
- package/locales/jaJP.js +24 -24
- package/locales/nbNO.d.ts +2 -0
- package/locales/nbNO.js +115 -0
- package/locales/ruRU.js +9 -9
- package/locales/trTR.js +7 -7
- package/models/api/gridCallbackDetails.d.ts +6 -1
- package/models/api/gridCoreApi.d.ts +2 -6
- package/models/api/gridFilterApi.d.ts +8 -1
- package/models/api/gridRowsMetaApi.d.ts +24 -0
- package/models/api/gridStateApi.d.ts +14 -3
- package/models/colDef/gridColDef.d.ts +3 -3
- package/models/events/gridEventLookup.d.ts +16 -1
- package/models/events/gridEvents.d.ts +3 -1
- package/models/events/gridEvents.js +2 -0
- package/models/gridApiCaches.d.ts +6 -0
- package/models/gridApiCaches.js +1 -0
- package/models/gridIconSlotsComponent.d.ts +10 -0
- package/models/params/gridMenuParams.d.ts +7 -0
- package/models/params/gridMenuParams.js +1 -0
- package/models/params/gridRowParams.d.ts +1 -1
- package/models/params/index.d.ts +1 -0
- package/models/params/index.js +2 -1
- package/models/props/DataGridProps.d.ts +24 -2
- package/modern/DataGrid/DataGrid.js +26 -1
- package/modern/components/GridRow.js +51 -12
- package/modern/components/base/GridOverlays.js +1 -1
- package/modern/components/cell/GridCell.js +12 -7
- package/modern/components/columnHeaders/GridColumnHeaderItem.js +4 -3
- package/modern/components/containers/GridRoot.js +25 -3
- package/modern/components/containers/GridRootStyles.js +7 -2
- package/modern/components/menu/GridMenu.js +9 -2
- package/modern/components/panel/GridColumnsPanel.js +10 -2
- package/modern/components/panel/GridPanelWrapper.js +3 -3
- package/modern/components/panel/filterPanel/GridFilterForm.js +88 -8
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
- package/modern/components/panel/filterPanel/GridFilterPanel.js +25 -9
- package/modern/components/toolbar/GridToolbarQuickFilter.js +58 -6
- package/modern/constants/defaultGridSlotsComponents.js +4 -2
- package/modern/constants/gridClasses.js +1 -1
- package/modern/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -9
- package/modern/hooks/core/useGridStateInitialization.js +19 -6
- package/modern/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/modern/hooks/features/columns/useGridColumns.js +12 -14
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +10 -3
- package/modern/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +9 -3
- package/modern/hooks/features/events/useGridEvents.js +2 -0
- package/modern/hooks/features/filter/gridFilterSelector.js +6 -0
- package/modern/hooks/features/filter/gridFilterUtils.js +3 -6
- package/modern/hooks/features/filter/useGridFilter.js +29 -12
- package/modern/hooks/features/pagination/useGridPage.js +1 -1
- package/modern/hooks/features/pagination/useGridPageSize.js +1 -1
- package/modern/hooks/features/rows/gridRowsUtils.js +54 -0
- package/modern/hooks/features/rows/useGridRows.js +63 -102
- package/modern/hooks/features/rows/useGridRowsMeta.js +105 -37
- package/modern/hooks/features/selection/useGridSelection.js +1 -1
- package/modern/hooks/features/sorting/useGridSorting.js +1 -1
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +27 -7
- package/modern/index.js +1 -1
- package/modern/locales/heIL.js +9 -9
- package/modern/locales/jaJP.js +24 -24
- package/modern/locales/nbNO.js +115 -0
- package/modern/locales/ruRU.js +9 -9
- package/modern/locales/trTR.js +7 -7
- package/modern/models/events/gridEvents.js +2 -0
- package/modern/models/gridApiCaches.js +1 -0
- package/modern/models/params/gridMenuParams.js +1 -0
- package/modern/models/params/index.js +2 -1
- package/node/DataGrid/DataGrid.js +26 -1
- package/node/components/GridRow.js +53 -12
- package/node/components/base/GridOverlays.js +1 -1
- package/node/components/cell/GridCell.js +12 -7
- package/node/components/columnHeaders/GridColumnHeaderItem.js +4 -3
- package/node/components/containers/GridRoot.js +24 -3
- package/node/components/containers/GridRootStyles.js +7 -2
- package/node/components/menu/GridMenu.js +10 -2
- package/node/components/panel/GridColumnsPanel.js +10 -2
- package/node/components/panel/GridPanelWrapper.js +5 -3
- package/node/components/panel/filterPanel/GridFilterForm.js +91 -9
- package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +0 -1
- package/node/components/panel/filterPanel/GridFilterPanel.js +27 -9
- package/node/components/toolbar/GridToolbarQuickFilter.js +61 -6
- package/node/constants/defaultGridSlotsComponents.js +3 -1
- package/node/constants/gridClasses.js +1 -1
- package/node/hooks/core/pipeProcessing/useGridPipeProcessing.js +10 -8
- package/node/hooks/core/useGridStateInitialization.js +19 -6
- package/node/hooks/features/columnMenu/useGridColumnMenu.js +23 -0
- package/node/hooks/features/columns/useGridColumns.js +13 -15
- package/node/hooks/features/editRows/useGridCellEditing.new.js +11 -4
- package/node/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/node/hooks/features/editRows/useGridRowEditing.new.js +10 -4
- package/node/hooks/features/events/useGridEvents.js +2 -0
- package/node/hooks/features/filter/gridFilterSelector.js +9 -2
- package/node/hooks/features/filter/gridFilterUtils.js +4 -5
- package/node/hooks/features/filter/useGridFilter.js +28 -11
- package/node/hooks/features/pagination/useGridPage.js +1 -1
- package/node/hooks/features/pagination/useGridPageSize.js +1 -1
- package/node/hooks/features/rows/gridRowsUtils.js +67 -1
- package/node/hooks/features/rows/useGridRows.js +63 -99
- package/node/hooks/features/rows/useGridRowsMeta.js +107 -43
- package/node/hooks/features/selection/useGridSelection.js +1 -1
- package/node/hooks/features/sorting/useGridSorting.js +1 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +27 -7
- package/node/index.js +1 -1
- package/node/locales/heIL.js +9 -9
- package/node/locales/jaJP.js +24 -24
- package/node/locales/nbNO.js +125 -0
- package/node/locales/ruRU.js +9 -9
- package/node/locales/trTR.js +7 -7
- package/node/models/events/gridEvents.js +2 -0
- package/node/models/gridApiCaches.js +5 -0
- package/node/models/params/gridMenuParams.js +5 -0
- package/node/models/params/index.js +13 -0
- package/package.json +7 -5
package/node/locales/jaJP.js
CHANGED
|
@@ -30,15 +30,15 @@ const jaJPGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'フィルター表示',
|
|
31
31
|
toolbarFiltersTooltipActive: count => `${count}件のフィルターを適用中`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: '検索...',
|
|
34
|
+
toolbarQuickFilterLabel: '検索',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'クリア',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'エクスポート',
|
|
38
38
|
toolbarExportLabel: 'エクスポート',
|
|
39
39
|
toolbarExportCSV: 'CSVダウンロード',
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
toolbarExportPrint: '印刷',
|
|
41
|
+
toolbarExportExcel: 'Excelダウンロード',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: '列検索',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: '検索クエリを入力...',
|
|
@@ -69,7 +69,7 @@ const jaJPGrid = {
|
|
|
69
69
|
filterOperatorOnOrBefore: '...以前',
|
|
70
70
|
filterOperatorIsEmpty: '...空である',
|
|
71
71
|
filterOperatorIsNotEmpty: '...空でない',
|
|
72
|
-
|
|
72
|
+
filterOperatorIsAnyOf: '...のいずれか',
|
|
73
73
|
// Filter values text
|
|
74
74
|
// filterValueAny: 'any',
|
|
75
75
|
// filterValueTrue: 'true',
|
|
@@ -94,32 +94,32 @@ const jaJPGrid = {
|
|
|
94
94
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
|
|
95
95
|
// Checkbox selection text
|
|
96
96
|
checkboxSelectionHeaderName: 'チェックボックス',
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
checkboxSelectionSelectAllRows: 'すべての行を選択',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'すべての行選択を解除',
|
|
99
|
+
checkboxSelectionSelectRow: '行を選択',
|
|
100
|
+
checkboxSelectionUnselectRow: '行選択を解除',
|
|
101
101
|
// Boolean cell text
|
|
102
102
|
booleanCellTrueLabel: '真',
|
|
103
|
-
booleanCellFalseLabel: '偽'
|
|
103
|
+
booleanCellFalseLabel: '偽',
|
|
104
|
+
// Actions cell more text
|
|
104
105
|
// actionsCellMore: 'more',
|
|
105
106
|
// Column pinning text
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
pinToLeft: '左側に固定',
|
|
108
|
+
pinToRight: '右側に固定',
|
|
109
|
+
unpin: '固定解除',
|
|
109
110
|
// Tree Data
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
treeDataGroupingHeaderName: 'グループ',
|
|
112
|
+
treeDataExpand: '展開',
|
|
113
|
+
treeDataCollapse: '折りたたみ',
|
|
113
114
|
// Grouping columns
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
groupingColumnHeaderName: 'グループ',
|
|
116
|
+
groupColumn: name => `${name}でグループ化`,
|
|
117
|
+
unGroupColumn: name => `${name}のグループを解除`,
|
|
117
118
|
// Master/detail
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
expandDetailPanel: '展開',
|
|
120
|
+
collapseDetailPanel: '折りたたみ',
|
|
120
121
|
// Row reordering text
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
rowReorderingHeaderName: '行並び替え'
|
|
123
123
|
};
|
|
124
124
|
const jaJP = (0, _getGridLocalization.getGridLocalization)(jaJPGrid, _locale.jaJP);
|
|
125
125
|
exports.jaJP = jaJP;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.nbNO = void 0;
|
|
7
|
+
|
|
8
|
+
var _locale = require("@mui/material/locale");
|
|
9
|
+
|
|
10
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
11
|
+
|
|
12
|
+
const nbNOGrid = {
|
|
13
|
+
// Root
|
|
14
|
+
noRowsLabel: 'Ingen rader',
|
|
15
|
+
noResultsOverlayLabel: 'Fant ingen resultat.',
|
|
16
|
+
errorOverlayDefaultLabel: 'Det skjedde en feil.',
|
|
17
|
+
// Density selector toolbar button text
|
|
18
|
+
toolbarDensity: 'Tetthet',
|
|
19
|
+
toolbarDensityLabel: 'Tetthet',
|
|
20
|
+
toolbarDensityCompact: 'Kompakt',
|
|
21
|
+
toolbarDensityStandard: 'Standard',
|
|
22
|
+
toolbarDensityComfortable: 'Komfortabelt',
|
|
23
|
+
// Columns selector toolbar button text
|
|
24
|
+
toolbarColumns: 'Kolonner',
|
|
25
|
+
toolbarColumnsLabel: 'Velg kolonner',
|
|
26
|
+
// Filters toolbar button text
|
|
27
|
+
toolbarFilters: 'Filter',
|
|
28
|
+
toolbarFiltersLabel: 'Vis filter',
|
|
29
|
+
toolbarFiltersTooltipHide: 'Skjul fitler',
|
|
30
|
+
toolbarFiltersTooltipShow: 'Vis filter',
|
|
31
|
+
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
|
|
32
|
+
// Quick filter toolbar field
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Søk...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Søk',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Slett',
|
|
36
|
+
// Export selector toolbar button text
|
|
37
|
+
toolbarExport: 'Eksporter',
|
|
38
|
+
toolbarExportLabel: 'Eksporter',
|
|
39
|
+
toolbarExportCSV: 'Last ned som CSV',
|
|
40
|
+
toolbarExportPrint: 'Skriv ut',
|
|
41
|
+
toolbarExportExcel: 'Last ned som Excel',
|
|
42
|
+
// Columns panel text
|
|
43
|
+
columnsPanelTextFieldLabel: 'Finn kolonne',
|
|
44
|
+
columnsPanelTextFieldPlaceholder: 'Kolonne tittel',
|
|
45
|
+
columnsPanelDragIconLabel: 'Reorganiser kolonne',
|
|
46
|
+
columnsPanelShowAllButton: 'Vis alle',
|
|
47
|
+
columnsPanelHideAllButton: 'Skjul alle',
|
|
48
|
+
// Filter panel text
|
|
49
|
+
filterPanelAddFilter: 'Legg til filter',
|
|
50
|
+
filterPanelDeleteIconLabel: 'Slett',
|
|
51
|
+
filterPanelLinkOperator: 'Logisk operator',
|
|
52
|
+
filterPanelOperators: 'Operatører',
|
|
53
|
+
// TODO v6: rename to filterPanelOperator
|
|
54
|
+
filterPanelOperatorAnd: 'Og',
|
|
55
|
+
filterPanelOperatorOr: 'Eller',
|
|
56
|
+
filterPanelColumns: 'Kolonner',
|
|
57
|
+
filterPanelInputLabel: 'Verdi',
|
|
58
|
+
filterPanelInputPlaceholder: 'Filter verdi',
|
|
59
|
+
// Filter operators text
|
|
60
|
+
filterOperatorContains: 'inneholder',
|
|
61
|
+
filterOperatorEquals: 'er lik',
|
|
62
|
+
filterOperatorStartsWith: 'starter med',
|
|
63
|
+
filterOperatorEndsWith: 'slutter med',
|
|
64
|
+
filterOperatorIs: 'er',
|
|
65
|
+
filterOperatorNot: 'er ikke',
|
|
66
|
+
filterOperatorAfter: 'er etter',
|
|
67
|
+
filterOperatorOnOrAfter: 'er på eller etter',
|
|
68
|
+
filterOperatorBefore: 'er før',
|
|
69
|
+
filterOperatorOnOrBefore: 'er på eller før',
|
|
70
|
+
filterOperatorIsEmpty: 'er tom',
|
|
71
|
+
filterOperatorIsNotEmpty: 'er ikke tom',
|
|
72
|
+
filterOperatorIsAnyOf: 'er en av',
|
|
73
|
+
// Filter values text
|
|
74
|
+
filterValueAny: 'noen',
|
|
75
|
+
filterValueTrue: 'sant',
|
|
76
|
+
filterValueFalse: 'usant',
|
|
77
|
+
// Column menu text
|
|
78
|
+
columnMenuLabel: 'Meny',
|
|
79
|
+
columnMenuShowColumns: 'Vis kolonner',
|
|
80
|
+
columnMenuFilter: 'Filter',
|
|
81
|
+
columnMenuHideColumn: 'Skjul',
|
|
82
|
+
columnMenuUnsort: 'Usorter',
|
|
83
|
+
columnMenuSortAsc: 'Sorter ØKENDE',
|
|
84
|
+
columnMenuSortDesc: 'Sorter SYNKENDE',
|
|
85
|
+
// Column header text
|
|
86
|
+
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
|
|
87
|
+
columnHeaderFiltersLabel: 'Vis filter',
|
|
88
|
+
columnHeaderSortIconLabel: 'Sorter',
|
|
89
|
+
// Rows selected footer text
|
|
90
|
+
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} rader valgt` : `${count.toLocaleString()} rad valgt`,
|
|
91
|
+
// Total row amount footer text
|
|
92
|
+
footerTotalRows: 'Totalt antall rader:',
|
|
93
|
+
// Total visible row amount footer text
|
|
94
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} av ${totalCount.toLocaleString()}`,
|
|
95
|
+
// Checkbox selection text
|
|
96
|
+
checkboxSelectionHeaderName: 'Avmerkingsboks valgt',
|
|
97
|
+
checkboxSelectionSelectAllRows: 'Velg alle rader',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'Velg bort alle rader',
|
|
99
|
+
checkboxSelectionSelectRow: 'Velg rad',
|
|
100
|
+
checkboxSelectionUnselectRow: 'Velg bort rad',
|
|
101
|
+
// Boolean cell text
|
|
102
|
+
booleanCellTrueLabel: 'sant',
|
|
103
|
+
booleanCellFalseLabel: 'usant',
|
|
104
|
+
// Actions cell more text
|
|
105
|
+
actionsCellMore: 'mer',
|
|
106
|
+
// Column pinning text
|
|
107
|
+
pinToLeft: 'Fest til venstre',
|
|
108
|
+
pinToRight: 'Fest til høyre',
|
|
109
|
+
unpin: 'Løsne',
|
|
110
|
+
// Tree Data
|
|
111
|
+
treeDataGroupingHeaderName: 'Grupper',
|
|
112
|
+
treeDataExpand: 'se barn',
|
|
113
|
+
treeDataCollapse: 'skjul barn',
|
|
114
|
+
// Grouping columns
|
|
115
|
+
groupingColumnHeaderName: 'Grupper',
|
|
116
|
+
groupColumn: name => `Grupper på ${name}`,
|
|
117
|
+
unGroupColumn: name => `Stopp å grupper på ${name}`,
|
|
118
|
+
// Master/detail
|
|
119
|
+
expandDetailPanel: 'Utvid',
|
|
120
|
+
collapseDetailPanel: 'Kollaps',
|
|
121
|
+
// Row reordering text
|
|
122
|
+
rowReorderingHeaderName: 'Rad reorganisering'
|
|
123
|
+
};
|
|
124
|
+
const nbNO = (0, _getGridLocalization.getGridLocalization)(nbNOGrid, _locale.nbNO);
|
|
125
|
+
exports.nbNO = nbNO;
|
package/node/locales/ruRU.js
CHANGED
|
@@ -41,15 +41,15 @@ const ruRUGrid = {
|
|
|
41
41
|
return `${count} ${pluralForm}`;
|
|
42
42
|
},
|
|
43
43
|
// Quick filter toolbar field
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
toolbarQuickFilterPlaceholder: 'Поиск...',
|
|
45
|
+
toolbarQuickFilterLabel: 'Поиск',
|
|
46
|
+
toolbarQuickFilterDeleteIconLabel: 'Очистить',
|
|
47
47
|
// Export selector toolbar button text
|
|
48
48
|
toolbarExport: 'Экспорт',
|
|
49
49
|
toolbarExportLabel: 'Экспорт',
|
|
50
50
|
toolbarExportCSV: 'Скачать в формате CSV',
|
|
51
51
|
toolbarExportPrint: 'Печать',
|
|
52
|
-
|
|
52
|
+
toolbarExportExcel: 'Скачать в формате Excel',
|
|
53
53
|
// Columns panel text
|
|
54
54
|
columnsPanelTextFieldLabel: 'Найти столбец',
|
|
55
55
|
columnsPanelTextFieldPlaceholder: 'Заголовок столбца',
|
|
@@ -80,7 +80,7 @@ const ruRUGrid = {
|
|
|
80
80
|
filterOperatorOnOrBefore: 'меньше или равно',
|
|
81
81
|
filterOperatorIsEmpty: 'пустой',
|
|
82
82
|
filterOperatorIsNotEmpty: 'не пустой',
|
|
83
|
-
|
|
83
|
+
filterOperatorIsAnyOf: 'любой из',
|
|
84
84
|
// Filter values text
|
|
85
85
|
filterValueAny: 'любой',
|
|
86
86
|
filterValueTrue: 'истина',
|
|
@@ -147,10 +147,10 @@ const ruRUGrid = {
|
|
|
147
147
|
// Grouping columns
|
|
148
148
|
groupingColumnHeaderName: 'Группа',
|
|
149
149
|
groupColumn: name => `Сгруппировать по ${name}`,
|
|
150
|
-
unGroupColumn: name => `Разгруппировать по ${name}
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
// Row reordering text
|
|
150
|
+
unGroupColumn: name => `Разгруппировать по ${name}`,
|
|
151
|
+
// Master/detail
|
|
152
|
+
expandDetailPanel: 'Развернуть',
|
|
153
|
+
collapseDetailPanel: 'Свернуть' // Row reordering text
|
|
154
154
|
// rowReorderingHeaderName: 'Row reordering',
|
|
155
155
|
|
|
156
156
|
};
|
package/node/locales/trTR.js
CHANGED
|
@@ -30,15 +30,15 @@ const trTRGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'Filtreleri göster',
|
|
31
31
|
toolbarFiltersTooltipActive: count => `${count} aktif filtre`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Ara...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Ara',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Temizle',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'Dışa aktar',
|
|
38
38
|
toolbarExportLabel: 'Dışa aktar',
|
|
39
39
|
toolbarExportCSV: 'CSV olarak aktar',
|
|
40
40
|
toolbarExportPrint: 'Yazdır',
|
|
41
|
-
|
|
41
|
+
toolbarExportExcel: 'Excel olarak aktar',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'Sütun ara',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: 'Sütun adı',
|
|
@@ -71,9 +71,9 @@ const trTRGrid = {
|
|
|
71
71
|
filterOperatorIsNotEmpty: 'dolu',
|
|
72
72
|
filterOperatorIsAnyOf: 'herhangi biri',
|
|
73
73
|
// Filter values text
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
filterValueAny: 'herhangi',
|
|
75
|
+
filterValueTrue: 'doğru',
|
|
76
|
+
filterValueFalse: 'yanlış',
|
|
77
77
|
// Column menu text
|
|
78
78
|
columnMenuLabel: 'Menü',
|
|
79
79
|
columnMenuShowColumns: 'Sütunları göster',
|
|
@@ -89,4 +89,6 @@ exports.GridEvents = GridEvents;
|
|
|
89
89
|
GridEvents["virtualScrollerTouchMove"] = "virtualScrollerTouchMove";
|
|
90
90
|
GridEvents["preferencePanelClose"] = "preferencePanelClose";
|
|
91
91
|
GridEvents["preferencePanelOpen"] = "preferencePanelOpen";
|
|
92
|
+
GridEvents["menuOpen"] = "menuOpen";
|
|
93
|
+
GridEvents["menuClose"] = "menuClose";
|
|
92
94
|
})(GridEvents || (exports.GridEvents = GridEvents = {}));
|
|
@@ -171,4 +171,17 @@ Object.keys(_gridPreferencePanelParams).forEach(function (key) {
|
|
|
171
171
|
return _gridPreferencePanelParams[key];
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
var _gridMenuParams = require("./gridMenuParams");
|
|
177
|
+
|
|
178
|
+
Object.keys(_gridMenuParams).forEach(function (key) {
|
|
179
|
+
if (key === "default" || key === "__esModule") return;
|
|
180
|
+
if (key in exports && exports[key] === _gridMenuParams[key]) return;
|
|
181
|
+
Object.defineProperty(exports, key, {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () {
|
|
184
|
+
return _gridMenuParams[key];
|
|
185
|
+
}
|
|
186
|
+
});
|
|
174
187
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.1",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -35,15 +35,17 @@
|
|
|
35
35
|
"directory": "packages/grid/x-data-grid"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@
|
|
38
|
+
"@babel/runtime": "^7.17.2",
|
|
39
|
+
"@mui/utils": "^5.4.1",
|
|
39
40
|
"clsx": "^1.1.1",
|
|
40
41
|
"prop-types": "^15.8.1",
|
|
41
42
|
"reselect": "^4.1.5"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
|
-
"@mui/material": "^5.
|
|
45
|
-
"@mui/system": "^5.
|
|
46
|
-
"react": "^17.0.2 || ^18.0.0"
|
|
45
|
+
"@mui/material": "^5.4.1",
|
|
46
|
+
"@mui/system": "^5.4.1",
|
|
47
|
+
"react": "^17.0.2 || ^18.0.0",
|
|
48
|
+
"react-dom": "^17.0.2 || ^18.0.0"
|
|
47
49
|
},
|
|
48
50
|
"setupFiles": [
|
|
49
51
|
"<rootDir>/src/setupTests.js"
|