@mui/x-data-grid 5.12.0 → 5.12.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 +160 -7
- package/colDef/gridCheckboxSelectionColDef.d.ts +1 -0
- package/colDef/gridCheckboxSelectionColDef.js +2 -1
- package/colDef/gridDateOperators.d.ts +1 -1
- package/colDef/gridNumericColDef.js +1 -1
- package/components/cell/GridBooleanCell.js +4 -3
- package/components/cell/GridEditBooleanCell.js +4 -3
- package/components/cell/GridEditDateCell.js +4 -3
- package/components/cell/GridEditInputCell.js +4 -3
- package/components/cell/GridEditSingleSelectCell.js +9 -7
- package/components/columnHeaders/GridColumnHeaderItem.js +5 -3
- package/components/columnSelection/GridCellCheckboxRenderer.js +0 -1
- package/components/columnSelection/GridHeaderCheckbox.js +0 -1
- package/components/containers/GridRootStyles.js +4 -1
- package/components/panel/GridColumnsPanel.js +3 -6
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +3 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +12 -5
- package/components/panel/filterPanel/GridFilterPanel.js +2 -5
- package/components/toolbar/GridToolbarColumnsButton.js +0 -1
- package/components/toolbar/GridToolbarDensitySelector.js +0 -1
- package/components/toolbar/GridToolbarExportContainer.js +0 -1
- package/components/toolbar/GridToolbarFilterButton.js +0 -1
- package/components/toolbar/GridToolbarQuickFilter.d.ts +7 -0
- package/components/toolbar/GridToolbarQuickFilter.js +57 -4
- package/constants/defaultGridSlotsComponents.js +2 -1
- package/constants/localeTextConstants.js +1 -0
- package/hooks/core/useGridStateInitialization.js +19 -6
- package/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/hooks/features/columns/useGridColumnSpanning.d.ts +1 -1
- package/hooks/features/columns/useGridColumnSpanning.js +1 -1
- package/hooks/features/columns/useGridColumns.d.ts +1 -1
- package/hooks/features/columns/useGridColumns.js +1 -1
- package/hooks/features/dimensions/gridDimensionsApi.d.ts +5 -0
- package/hooks/features/dimensions/useGridDimensions.js +9 -8
- package/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/hooks/features/filter/gridFilterSelector.d.ts +5 -0
- package/hooks/features/filter/gridFilterSelector.js +6 -0
- package/hooks/features/filter/gridFilterState.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.js +10 -9
- package/hooks/features/filter/useGridFilter.d.ts +1 -1
- package/hooks/features/filter/useGridFilter.js +24 -7
- package/hooks/features/pagination/useGridPage.js +1 -1
- package/hooks/features/pagination/useGridPageSize.js +1 -1
- package/hooks/features/rows/useGridRows.js +15 -2
- package/hooks/features/rows/useGridRowsMeta.js +79 -77
- package/hooks/features/selection/useGridSelection.js +1 -1
- package/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/hooks/features/sorting/useGridSorting.d.ts +1 -1
- package/hooks/features/sorting/useGridSorting.js +1 -1
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/index.js +1 -1
- package/legacy/colDef/gridCheckboxSelectionColDef.js +2 -1
- package/legacy/colDef/gridNumericColDef.js +1 -1
- package/legacy/components/cell/GridBooleanCell.js +3 -1
- package/legacy/components/cell/GridEditBooleanCell.js +4 -2
- package/legacy/components/cell/GridEditDateCell.js +4 -2
- package/legacy/components/cell/GridEditInputCell.js +4 -2
- package/legacy/components/cell/GridEditSingleSelectCell.js +9 -7
- package/legacy/components/columnHeaders/GridColumnHeaderItem.js +5 -3
- package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +0 -1
- package/legacy/components/columnSelection/GridHeaderCheckbox.js +0 -1
- package/legacy/components/containers/GridRootStyles.js +7 -5
- package/legacy/components/panel/GridColumnsPanel.js +5 -6
- package/legacy/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +12 -5
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +3 -6
- package/legacy/components/toolbar/GridToolbarColumnsButton.js +0 -1
- package/legacy/components/toolbar/GridToolbarDensitySelector.js +0 -1
- package/legacy/components/toolbar/GridToolbarExportContainer.js +0 -1
- package/legacy/components/toolbar/GridToolbarFilterButton.js +0 -1
- package/legacy/components/toolbar/GridToolbarQuickFilter.js +67 -6
- package/legacy/constants/defaultGridSlotsComponents.js +2 -1
- package/legacy/constants/localeTextConstants.js +1 -0
- package/legacy/hooks/core/useGridStateInitialization.js +18 -6
- package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/legacy/hooks/features/columns/useGridColumnSpanning.js +1 -1
- package/legacy/hooks/features/columns/useGridColumns.js +1 -1
- package/legacy/hooks/features/dimensions/useGridDimensions.js +9 -8
- package/legacy/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/legacy/hooks/features/filter/gridFilterSelector.js +8 -0
- package/legacy/hooks/features/filter/gridFilterUtils.js +11 -10
- package/legacy/hooks/features/filter/useGridFilter.js +28 -7
- package/legacy/hooks/features/pagination/useGridPage.js +1 -1
- package/legacy/hooks/features/pagination/useGridPageSize.js +1 -1
- package/legacy/hooks/features/rows/useGridRows.js +17 -2
- package/legacy/hooks/features/rows/useGridRowsMeta.js +81 -77
- package/legacy/hooks/features/selection/useGridSelection.js +1 -1
- package/legacy/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/legacy/hooks/features/sorting/useGridSorting.js +1 -1
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/legacy/index.js +1 -1
- package/legacy/locales/arSD.js +1 -0
- package/legacy/locales/bgBG.js +1 -0
- package/legacy/locales/csCZ.js +1 -0
- package/legacy/locales/daDK.js +1 -0
- package/legacy/locales/deDE.js +1 -0
- package/legacy/locales/elGR.js +1 -0
- package/legacy/locales/esES.js +1 -0
- package/legacy/locales/faIR.js +1 -0
- package/legacy/locales/fiFI.js +1 -0
- package/legacy/locales/frFR.js +1 -0
- package/legacy/locales/heIL.js +1 -0
- package/legacy/locales/huHU.js +1 -0
- package/legacy/locales/index.js +1 -0
- package/legacy/locales/itIT.js +1 -0
- package/legacy/locales/jaJP.js +29 -24
- package/legacy/locales/koKR.js +1 -0
- package/legacy/locales/nbNO.js +1 -0
- package/legacy/locales/nlNL.js +1 -0
- package/legacy/locales/plPL.js +1 -0
- package/legacy/locales/ptBR.js +1 -0
- package/legacy/locales/ruRU.js +7 -6
- package/legacy/locales/skSK.js +1 -0
- package/legacy/locales/svSE.js +128 -0
- package/legacy/locales/trTR.js +1 -0
- package/legacy/locales/ukUA.js +1 -0
- package/legacy/locales/viVN.js +1 -0
- package/legacy/locales/zhCN.js +1 -0
- package/locales/arSD.js +1 -0
- package/locales/bgBG.js +1 -0
- package/locales/csCZ.js +1 -0
- package/locales/daDK.js +1 -0
- package/locales/deDE.js +1 -0
- package/locales/elGR.js +1 -0
- package/locales/esES.js +1 -0
- package/locales/faIR.js +1 -0
- package/locales/fiFI.js +1 -0
- package/locales/frFR.js +1 -0
- package/locales/heIL.js +1 -0
- package/locales/huHU.js +1 -0
- package/locales/index.d.ts +1 -0
- package/locales/index.js +1 -0
- package/locales/itIT.js +1 -0
- package/locales/jaJP.js +25 -24
- package/locales/koKR.js +1 -0
- package/locales/nbNO.js +1 -0
- package/locales/nlNL.js +1 -0
- package/locales/plPL.js +1 -0
- package/locales/ptBR.js +1 -0
- package/locales/ruRU.js +7 -6
- package/locales/skSK.js +1 -0
- package/locales/svSE.d.ts +2 -0
- package/locales/svSE.js +116 -0
- package/locales/trTR.js +1 -0
- package/locales/ukUA.js +1 -0
- package/locales/viVN.js +1 -0
- package/locales/zhCN.js +1 -0
- package/models/api/gridCallbackDetails.d.ts +6 -1
- package/models/api/gridFilterApi.d.ts +8 -1
- package/models/api/gridLocaleTextApi.d.ts +1 -0
- package/models/api/gridStateApi.d.ts +14 -3
- package/models/colDef/gridColDef.d.ts +1 -1
- package/models/events/gridEventLookup.d.ts +3 -0
- package/models/gridIconSlotsComponent.d.ts +5 -0
- package/models/props/DataGridProps.d.ts +1 -1
- package/modern/colDef/gridCheckboxSelectionColDef.js +2 -1
- package/modern/colDef/gridNumericColDef.js +1 -1
- package/modern/components/cell/GridBooleanCell.js +4 -3
- package/modern/components/cell/GridEditBooleanCell.js +4 -3
- package/modern/components/cell/GridEditDateCell.js +4 -3
- package/modern/components/cell/GridEditInputCell.js +4 -3
- package/modern/components/cell/GridEditSingleSelectCell.js +9 -7
- package/modern/components/columnHeaders/GridColumnHeaderItem.js +5 -3
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +0 -1
- package/modern/components/columnSelection/GridHeaderCheckbox.js +0 -1
- package/modern/components/containers/GridRootStyles.js +4 -1
- package/modern/components/panel/GridColumnsPanel.js +3 -6
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +12 -5
- package/modern/components/panel/filterPanel/GridFilterPanel.js +2 -5
- package/modern/components/toolbar/GridToolbarColumnsButton.js +0 -1
- package/modern/components/toolbar/GridToolbarDensitySelector.js +0 -1
- package/modern/components/toolbar/GridToolbarExportContainer.js +0 -1
- package/modern/components/toolbar/GridToolbarFilterButton.js +0 -1
- package/modern/components/toolbar/GridToolbarQuickFilter.js +57 -4
- package/modern/constants/defaultGridSlotsComponents.js +2 -1
- package/modern/constants/localeTextConstants.js +1 -0
- package/modern/hooks/core/useGridStateInitialization.js +19 -6
- package/modern/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/modern/hooks/features/columns/useGridColumnSpanning.js +1 -1
- package/modern/hooks/features/columns/useGridColumns.js +1 -1
- package/modern/hooks/features/dimensions/useGridDimensions.js +9 -8
- package/modern/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/modern/hooks/features/filter/gridFilterSelector.js +6 -0
- package/modern/hooks/features/filter/gridFilterUtils.js +10 -9
- package/modern/hooks/features/filter/useGridFilter.js +24 -7
- package/modern/hooks/features/pagination/useGridPage.js +1 -1
- package/modern/hooks/features/pagination/useGridPageSize.js +1 -1
- package/modern/hooks/features/rows/useGridRows.js +15 -2
- package/modern/hooks/features/rows/useGridRowsMeta.js +77 -75
- package/modern/hooks/features/selection/useGridSelection.js +1 -1
- package/modern/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/modern/hooks/features/sorting/useGridSorting.js +1 -1
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/modern/index.js +1 -1
- package/modern/locales/arSD.js +1 -0
- package/modern/locales/bgBG.js +1 -0
- package/modern/locales/csCZ.js +1 -0
- package/modern/locales/daDK.js +1 -0
- package/modern/locales/deDE.js +1 -0
- package/modern/locales/elGR.js +1 -0
- package/modern/locales/esES.js +1 -0
- package/modern/locales/faIR.js +1 -0
- package/modern/locales/fiFI.js +1 -0
- package/modern/locales/frFR.js +1 -0
- package/modern/locales/heIL.js +1 -0
- package/modern/locales/huHU.js +1 -0
- package/modern/locales/index.js +1 -0
- package/modern/locales/itIT.js +1 -0
- package/modern/locales/jaJP.js +25 -24
- package/modern/locales/koKR.js +1 -0
- package/modern/locales/nbNO.js +1 -0
- package/modern/locales/nlNL.js +1 -0
- package/modern/locales/plPL.js +1 -0
- package/modern/locales/ptBR.js +1 -0
- package/modern/locales/ruRU.js +7 -6
- package/modern/locales/skSK.js +1 -0
- package/modern/locales/svSE.js +116 -0
- package/modern/locales/trTR.js +1 -0
- package/modern/locales/ukUA.js +1 -0
- package/modern/locales/viVN.js +1 -0
- package/modern/locales/zhCN.js +1 -0
- package/node/colDef/gridCheckboxSelectionColDef.js +4 -2
- package/node/colDef/gridNumericColDef.js +1 -1
- package/node/components/cell/GridBooleanCell.js +5 -3
- package/node/components/cell/GridEditBooleanCell.js +5 -3
- package/node/components/cell/GridEditDateCell.js +5 -3
- package/node/components/cell/GridEditInputCell.js +5 -3
- package/node/components/cell/GridEditSingleSelectCell.js +10 -7
- package/node/components/columnHeaders/GridColumnHeaderItem.js +5 -3
- package/node/components/columnSelection/GridCellCheckboxRenderer.js +0 -1
- package/node/components/columnSelection/GridHeaderCheckbox.js +0 -1
- package/node/components/containers/GridRootStyles.js +4 -1
- package/node/components/panel/GridColumnsPanel.js +3 -6
- package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +12 -5
- package/node/components/panel/filterPanel/GridFilterPanel.js +2 -5
- package/node/components/toolbar/GridToolbarColumnsButton.js +0 -1
- package/node/components/toolbar/GridToolbarDensitySelector.js +0 -1
- package/node/components/toolbar/GridToolbarExportContainer.js +0 -1
- package/node/components/toolbar/GridToolbarFilterButton.js +0 -1
- package/node/components/toolbar/GridToolbarQuickFilter.js +61 -4
- package/node/constants/defaultGridSlotsComponents.js +2 -1
- package/node/constants/localeTextConstants.js +1 -0
- package/node/hooks/core/useGridStateInitialization.js +19 -6
- package/node/hooks/features/columnMenu/useGridColumnMenu.js +23 -0
- package/node/hooks/features/columns/useGridColumnSpanning.js +11 -16
- package/node/hooks/features/columns/useGridColumns.js +1 -1
- package/node/hooks/features/dimensions/useGridDimensions.js +9 -8
- package/node/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/node/hooks/features/filter/gridFilterSelector.js +9 -2
- package/node/hooks/features/filter/gridFilterUtils.js +9 -8
- package/node/hooks/features/filter/useGridFilter.js +24 -7
- package/node/hooks/features/pagination/useGridPage.js +1 -1
- package/node/hooks/features/pagination/useGridPageSize.js +1 -1
- package/node/hooks/features/rows/useGridRows.js +15 -2
- package/node/hooks/features/rows/useGridRowsMeta.js +80 -77
- package/node/hooks/features/selection/useGridSelection.js +1 -1
- package/node/hooks/features/selection/useGridSelectionPreProcessors.js +7 -5
- package/node/hooks/features/sorting/useGridSorting.js +1 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +42 -9
- package/node/index.js +1 -1
- package/node/locales/arSD.js +1 -0
- package/node/locales/bgBG.js +1 -0
- package/node/locales/csCZ.js +1 -0
- package/node/locales/daDK.js +1 -0
- package/node/locales/deDE.js +1 -0
- package/node/locales/elGR.js +1 -0
- package/node/locales/esES.js +1 -0
- package/node/locales/faIR.js +1 -0
- package/node/locales/fiFI.js +1 -0
- package/node/locales/frFR.js +1 -0
- package/node/locales/heIL.js +1 -0
- package/node/locales/huHU.js +1 -0
- package/node/locales/index.js +13 -0
- package/node/locales/itIT.js +1 -0
- package/node/locales/jaJP.js +25 -24
- package/node/locales/koKR.js +1 -0
- package/node/locales/nbNO.js +1 -0
- package/node/locales/nlNL.js +1 -0
- package/node/locales/plPL.js +1 -0
- package/node/locales/ptBR.js +1 -0
- package/node/locales/ruRU.js +7 -6
- package/node/locales/skSK.js +1 -0
- package/node/locales/svSE.js +126 -0
- package/node/locales/trTR.js +1 -0
- package/node/locales/ukUA.js +1 -0
- package/node/locales/viVN.js +1 -0
- package/node/locales/zhCN.js +1 -0
- package/package.json +4 -3
package/node/locales/ruRU.js
CHANGED
|
@@ -49,7 +49,7 @@ const ruRUGrid = {
|
|
|
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,11 @@ const ruRUGrid = {
|
|
|
147
147
|
// Grouping columns
|
|
148
148
|
groupingColumnHeaderName: 'Группа',
|
|
149
149
|
groupColumn: name => `Сгруппировать по ${name}`,
|
|
150
|
-
unGroupColumn: name => `Разгруппировать по ${name}
|
|
151
|
-
//
|
|
152
|
-
//
|
|
153
|
-
|
|
150
|
+
unGroupColumn: name => `Разгруппировать по ${name}`,
|
|
151
|
+
// Master/detail
|
|
152
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
153
|
+
expandDetailPanel: 'Развернуть',
|
|
154
|
+
collapseDetailPanel: 'Свернуть' // Row reordering text
|
|
154
155
|
// rowReorderingHeaderName: 'Row reordering',
|
|
155
156
|
|
|
156
157
|
};
|
package/node/locales/skSK.js
CHANGED
|
@@ -150,6 +150,7 @@ const skSKGrid = {
|
|
|
150
150
|
groupingColumnHeaderName: 'Skupina',
|
|
151
151
|
groupColumn: name => `Zoskupiť podľa ${name}`,
|
|
152
152
|
unGroupColumn: name => `Prestať zoskupovať podľa ${name}` // Master/detail
|
|
153
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
153
154
|
// expandDetailPanel: 'Expand',
|
|
154
155
|
// collapseDetailPanel: 'Collapse',
|
|
155
156
|
// Row reordering text
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.svSE = void 0;
|
|
7
|
+
|
|
8
|
+
var _locale = require("@mui/material/locale");
|
|
9
|
+
|
|
10
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
11
|
+
|
|
12
|
+
const svSEGrid = {
|
|
13
|
+
// Root
|
|
14
|
+
noRowsLabel: 'Inga rader',
|
|
15
|
+
noResultsOverlayLabel: 'Inga resultat funna.',
|
|
16
|
+
errorOverlayDefaultLabel: 'Ett fel uppstod.',
|
|
17
|
+
// Density selector toolbar button text
|
|
18
|
+
toolbarDensity: 'Densitet',
|
|
19
|
+
toolbarDensityLabel: 'Densitet',
|
|
20
|
+
toolbarDensityCompact: 'Kompakt',
|
|
21
|
+
toolbarDensityStandard: 'Standard',
|
|
22
|
+
toolbarDensityComfortable: 'Bekväm',
|
|
23
|
+
// Columns selector toolbar button text
|
|
24
|
+
toolbarColumns: 'Kolumner',
|
|
25
|
+
toolbarColumnsLabel: 'Välj kolumner',
|
|
26
|
+
// Filters toolbar button text
|
|
27
|
+
toolbarFilters: 'Filter',
|
|
28
|
+
toolbarFiltersLabel: 'Visa filter',
|
|
29
|
+
toolbarFiltersTooltipHide: 'Dölj filter',
|
|
30
|
+
toolbarFiltersTooltipShow: 'Visa filter',
|
|
31
|
+
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} aktiva filter` : `${count} aktivt filter`,
|
|
32
|
+
// Quick filter toolbar field
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Sök...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Sök',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Rensa',
|
|
36
|
+
// Export selector toolbar button text
|
|
37
|
+
toolbarExport: 'Exportera',
|
|
38
|
+
toolbarExportLabel: 'Exportera',
|
|
39
|
+
toolbarExportCSV: 'Ladda ner som CSV',
|
|
40
|
+
toolbarExportPrint: 'Skriv ut',
|
|
41
|
+
toolbarExportExcel: 'Ladda ner som Excel',
|
|
42
|
+
// Columns panel text
|
|
43
|
+
columnsPanelTextFieldLabel: 'Hitta kolumn',
|
|
44
|
+
columnsPanelTextFieldPlaceholder: 'Kolumntitel',
|
|
45
|
+
columnsPanelDragIconLabel: 'Ordna om kolumnen',
|
|
46
|
+
columnsPanelShowAllButton: 'Visa alla',
|
|
47
|
+
columnsPanelHideAllButton: 'Dölj alla',
|
|
48
|
+
// Filter panel text
|
|
49
|
+
filterPanelAddFilter: 'Lägg till filter',
|
|
50
|
+
filterPanelDeleteIconLabel: 'Ta bort',
|
|
51
|
+
filterPanelLinkOperator: 'Logisk operatör',
|
|
52
|
+
filterPanelOperators: 'Operatör',
|
|
53
|
+
// TODO v6: rename to filterPanelOperator
|
|
54
|
+
filterPanelOperatorAnd: 'Och',
|
|
55
|
+
filterPanelOperatorOr: 'Eller',
|
|
56
|
+
filterPanelColumns: 'Kolumner',
|
|
57
|
+
filterPanelInputLabel: 'Värde',
|
|
58
|
+
filterPanelInputPlaceholder: 'Filtervärde',
|
|
59
|
+
// Filter operators text
|
|
60
|
+
filterOperatorContains: 'innehåller',
|
|
61
|
+
filterOperatorEquals: 'är lika med',
|
|
62
|
+
filterOperatorStartsWith: 'börjar med',
|
|
63
|
+
filterOperatorEndsWith: 'slutar med',
|
|
64
|
+
filterOperatorIs: 'är',
|
|
65
|
+
filterOperatorNot: 'är inte',
|
|
66
|
+
filterOperatorAfter: 'är efter',
|
|
67
|
+
filterOperatorOnOrAfter: 'är på eller efter',
|
|
68
|
+
filterOperatorBefore: 'är innan',
|
|
69
|
+
filterOperatorOnOrBefore: 'är på eller innan',
|
|
70
|
+
filterOperatorIsEmpty: 'är tom',
|
|
71
|
+
filterOperatorIsNotEmpty: 'är inte tom',
|
|
72
|
+
filterOperatorIsAnyOf: 'är någon av',
|
|
73
|
+
// Filter values text
|
|
74
|
+
filterValueAny: 'något',
|
|
75
|
+
filterValueTrue: 'sant',
|
|
76
|
+
filterValueFalse: 'falskt',
|
|
77
|
+
// Column menu text
|
|
78
|
+
columnMenuLabel: 'Meny',
|
|
79
|
+
columnMenuShowColumns: 'Visa kolumner',
|
|
80
|
+
columnMenuFilter: 'Filtrera',
|
|
81
|
+
columnMenuHideColumn: 'Dölj',
|
|
82
|
+
columnMenuUnsort: 'Osortera',
|
|
83
|
+
columnMenuSortAsc: 'Sortera stigande',
|
|
84
|
+
columnMenuSortDesc: 'Sortera fallande',
|
|
85
|
+
// Column header text
|
|
86
|
+
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktiva filter` : `${count} aktivt filter`,
|
|
87
|
+
columnHeaderFiltersLabel: 'Visa filter',
|
|
88
|
+
columnHeaderSortIconLabel: 'Sortera',
|
|
89
|
+
// Rows selected footer text
|
|
90
|
+
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} rader markerade` : `${count.toLocaleString()} rad markerad`,
|
|
91
|
+
// Total row amount footer text
|
|
92
|
+
footerTotalRows: 'Totalt antal rader:',
|
|
93
|
+
// Total visible row amount footer text
|
|
94
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} av ${totalCount.toLocaleString()}`,
|
|
95
|
+
// Checkbox selection text
|
|
96
|
+
checkboxSelectionHeaderName: 'Markering med kryssruta',
|
|
97
|
+
checkboxSelectionSelectAllRows: 'Markera alla rader',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'Avmarkera alla rader',
|
|
99
|
+
checkboxSelectionSelectRow: 'Markera rad',
|
|
100
|
+
checkboxSelectionUnselectRow: 'Avmarkera rad',
|
|
101
|
+
// Boolean cell text
|
|
102
|
+
booleanCellTrueLabel: 'ja',
|
|
103
|
+
booleanCellFalseLabel: 'nej',
|
|
104
|
+
// Actions cell more text
|
|
105
|
+
actionsCellMore: 'mer',
|
|
106
|
+
// Column pinning text
|
|
107
|
+
pinToLeft: 'Fäst till vänster',
|
|
108
|
+
pinToRight: 'Fäst till höger',
|
|
109
|
+
unpin: 'Ta bort fäste',
|
|
110
|
+
// Tree Data
|
|
111
|
+
treeDataGroupingHeaderName: 'Grupp',
|
|
112
|
+
treeDataExpand: 'visa underordnade',
|
|
113
|
+
treeDataCollapse: 'dölj underordnade',
|
|
114
|
+
// Grouping columns
|
|
115
|
+
groupingColumnHeaderName: 'Grupp',
|
|
116
|
+
groupColumn: name => `Gruppera efter ${name}`,
|
|
117
|
+
unGroupColumn: name => `Sluta gruppera efter ${name}`,
|
|
118
|
+
// Master/detail
|
|
119
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
120
|
+
expandDetailPanel: 'Expandera',
|
|
121
|
+
collapseDetailPanel: 'Kollapsa',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'Ordna om rader'
|
|
124
|
+
};
|
|
125
|
+
const svSE = (0, _getGridLocalization.getGridLocalization)(svSEGrid, _locale.svSE);
|
|
126
|
+
exports.svSE = svSE;
|
package/node/locales/trTR.js
CHANGED
|
@@ -116,6 +116,7 @@ const trTRGrid = {
|
|
|
116
116
|
groupColumn: name => `${name} için grupla`,
|
|
117
117
|
unGroupColumn: name => `${name} için gruplamayı kaldır`,
|
|
118
118
|
// Master/detail
|
|
119
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
119
120
|
expandDetailPanel: 'Genişlet',
|
|
120
121
|
collapseDetailPanel: 'Gizle' // Row reordering text
|
|
121
122
|
// rowReorderingHeaderName: 'Row reordering',
|
package/node/locales/ukUA.js
CHANGED
|
@@ -140,6 +140,7 @@ const ukUAGrid = {
|
|
|
140
140
|
// groupColumn: name => `Group by ${name}`,
|
|
141
141
|
// unGroupColumn: name => `Stop grouping by ${name}`,
|
|
142
142
|
// Master/detail
|
|
143
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
143
144
|
// expandDetailPanel: 'Expand',
|
|
144
145
|
// collapseDetailPanel: 'Collapse',
|
|
145
146
|
// Row reordering text
|
package/node/locales/viVN.js
CHANGED
|
@@ -115,6 +115,7 @@ const viVNGrid = {
|
|
|
115
115
|
// groupColumn: name => `Group by ${name}`,
|
|
116
116
|
// unGroupColumn: name => `Stop grouping by ${name}`,
|
|
117
117
|
// Master/detail
|
|
118
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
118
119
|
// expandDetailPanel: 'Expand',
|
|
119
120
|
// collapseDetailPanel: 'Collapse',
|
|
120
121
|
// Row reordering text
|
package/node/locales/zhCN.js
CHANGED
|
@@ -115,6 +115,7 @@ const zhCNGrid = {
|
|
|
115
115
|
// groupColumn: name => `Group by ${name}`,
|
|
116
116
|
// unGroupColumn: name => `Stop grouping by ${name}`,
|
|
117
117
|
// Master/detail
|
|
118
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
118
119
|
// expandDetailPanel: 'Expand',
|
|
119
120
|
// collapseDetailPanel: 'Collapse',
|
|
120
121
|
// Row reordering text
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.3",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -39,12 +39,13 @@
|
|
|
39
39
|
"@mui/utils": "^5.4.1",
|
|
40
40
|
"clsx": "^1.1.1",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
|
-
"reselect": "^4.1.
|
|
42
|
+
"reselect": "^4.1.6"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@mui/material": "^5.4.1",
|
|
46
46
|
"@mui/system": "^5.4.1",
|
|
47
|
-
"react": "^17.0.2 || ^18.0.0"
|
|
47
|
+
"react": "^17.0.2 || ^18.0.0",
|
|
48
|
+
"react-dom": "^17.0.2 || ^18.0.0"
|
|
48
49
|
},
|
|
49
50
|
"setupFiles": [
|
|
50
51
|
"<rootDir>/src/setupTests.js"
|