@mui/x-data-grid 5.12.1 → 5.13.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.
- package/CHANGELOG.md +155 -8
- package/DataGrid/DataGrid.js +4 -4
- 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/colDef/gridStringOperators.d.ts +1 -1
- package/colDef/gridStringOperators.js +11 -6
- package/components/GridRow.js +1 -1
- package/components/cell/GridActionsCellItem.d.ts +2 -2
- 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 +1 -1
- package/components/panel/GridColumnsPanel.js +3 -6
- package/components/panel/GridPanel.d.ts +1 -1
- package/components/panel/filterPanel/GridFilterForm.js +11 -4
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +4 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +5 -9
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +42 -19
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +3 -7
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +32 -14
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +8 -2
- package/components/panel/filterPanel/GridFilterInputValue.js +4 -2
- package/components/panel/filterPanel/GridFilterInputValueProps.d.ts +6 -3
- package/components/panel/filterPanel/GridFilterPanel.js +1 -2
- package/components/panel/filterPanel/filterPanelUtils.d.ts +1 -1
- package/components/toolbar/GridToolbarColumnsButton.d.ts +1 -1
- package/components/toolbar/GridToolbarColumnsButton.js +0 -1
- package/components/toolbar/GridToolbarDensitySelector.d.ts +1 -1
- package/components/toolbar/GridToolbarDensitySelector.js +0 -1
- package/components/toolbar/GridToolbarExportContainer.d.ts +1 -1
- package/components/toolbar/GridToolbarExportContainer.js +0 -1
- package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +0 -1
- package/constants/localeTextConstants.js +1 -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/dimensions/gridDimensionsApi.d.ts +5 -0
- package/hooks/features/dimensions/useGridDimensions.js +37 -23
- package/hooks/features/editRows/useGridCellEditing.new.js +6 -0
- package/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/hooks/features/editRows/useGridRowEditing.new.js +6 -0
- package/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/hooks/features/filter/gridFilterState.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.js +8 -5
- package/hooks/features/filter/useGridFilter.d.ts +1 -1
- package/hooks/features/rows/useGridRows.js +16 -3
- package/hooks/features/rows/useGridRowsMeta.js +79 -77
- package/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/hooks/features/sorting/useGridSorting.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/hooks/utils/useGridApiContext.js +1 -1
- package/hooks/utils/useGridRootProps.js +1 -1
- package/index.js +1 -1
- package/legacy/DataGrid/DataGrid.js +4 -4
- package/legacy/colDef/gridCheckboxSelectionColDef.js +2 -1
- package/legacy/colDef/gridNumericColDef.js +1 -1
- package/legacy/colDef/gridStringOperators.js +13 -5
- package/legacy/components/GridRow.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 +1 -1
- package/legacy/components/panel/GridColumnsPanel.js +5 -6
- package/legacy/components/panel/filterPanel/GridFilterForm.js +9 -4
- package/legacy/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/legacy/components/panel/filterPanel/GridFilterInputDate.js +4 -2
- package/legacy/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +34 -12
- package/legacy/components/panel/filterPanel/GridFilterInputMultipleValue.js +24 -7
- package/legacy/components/panel/filterPanel/GridFilterInputSingleSelect.js +8 -2
- package/legacy/components/panel/filterPanel/GridFilterInputValue.js +4 -2
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +1 -2
- 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/constants/localeTextConstants.js +1 -0
- package/legacy/hooks/features/columns/useGridColumnSpanning.js +1 -1
- package/legacy/hooks/features/dimensions/useGridDimensions.js +36 -23
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +6 -0
- package/legacy/hooks/features/editRows/useGridCellEditing.old.js +16 -8
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +6 -0
- package/legacy/hooks/features/editRows/useGridRowEditing.old.js +22 -14
- package/legacy/hooks/features/filter/gridFilterUtils.js +8 -5
- package/legacy/hooks/features/rows/useGridRows.js +18 -3
- package/legacy/hooks/features/rows/useGridRowsMeta.js +81 -77
- package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/legacy/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/legacy/hooks/utils/useGridApiContext.js +1 -1
- package/legacy/hooks/utils/useGridRootProps.js +1 -1
- 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 +3 -0
- package/legacy/locales/itIT.js +1 -0
- package/legacy/locales/jaJP.js +1 -0
- 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/roRO.js +128 -0
- package/legacy/locales/ruRU.js +1 -0
- package/legacy/locales/skSK.js +16 -15
- 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/legacy/utils/keyboardUtils.js +4 -3
- 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 +3 -0
- package/locales/index.js +3 -0
- package/locales/itIT.js +1 -0
- package/locales/jaJP.js +1 -0
- 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/roRO.d.ts +2 -0
- package/locales/roRO.js +116 -0
- package/locales/ruRU.js +1 -0
- package/locales/skSK.js +16 -15
- 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/gridLocaleTextApi.d.ts +1 -0
- package/models/colDef/gridColDef.d.ts +1 -1
- package/modern/DataGrid/DataGrid.js +4 -4
- package/modern/colDef/gridCheckboxSelectionColDef.js +2 -1
- package/modern/colDef/gridNumericColDef.js +1 -1
- package/modern/colDef/gridStringOperators.js +11 -6
- package/modern/components/GridRow.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 +1 -1
- package/modern/components/panel/GridColumnsPanel.js +3 -6
- package/modern/components/panel/filterPanel/GridFilterForm.js +11 -4
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +4 -2
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +32 -13
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +22 -8
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +8 -2
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +4 -2
- package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -2
- 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/constants/localeTextConstants.js +1 -0
- package/modern/hooks/features/columns/useGridColumnSpanning.js +1 -1
- package/modern/hooks/features/dimensions/useGridDimensions.js +37 -23
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +6 -0
- package/modern/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +6 -0
- package/modern/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/modern/hooks/features/filter/gridFilterUtils.js +8 -5
- package/modern/hooks/features/rows/useGridRows.js +16 -3
- package/modern/hooks/features/rows/useGridRowsMeta.js +77 -75
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/modern/hooks/features/selection/useGridSelectionPreProcessors.js +8 -6
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +42 -8
- package/modern/hooks/utils/useGridApiContext.js +1 -1
- package/modern/hooks/utils/useGridRootProps.js +1 -1
- 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 +3 -0
- package/modern/locales/itIT.js +1 -0
- package/modern/locales/jaJP.js +1 -0
- 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/roRO.js +116 -0
- package/modern/locales/ruRU.js +1 -0
- package/modern/locales/skSK.js +16 -15
- 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/modern/utils/keyboardUtils.js +4 -3
- package/node/DataGrid/DataGrid.js +4 -4
- package/node/colDef/gridCheckboxSelectionColDef.js +4 -2
- package/node/colDef/gridNumericColDef.js +1 -1
- package/node/colDef/gridStringOperators.js +11 -6
- package/node/components/GridRow.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 +1 -1
- package/node/components/panel/GridColumnsPanel.js +3 -6
- package/node/components/panel/filterPanel/GridFilterForm.js +9 -4
- package/node/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputDate.js +4 -2
- package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +43 -20
- package/node/components/panel/filterPanel/GridFilterInputMultipleValue.js +33 -15
- package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +8 -2
- package/node/components/panel/filterPanel/GridFilterInputValue.js +4 -2
- package/node/components/panel/filterPanel/GridFilterPanel.js +1 -2
- 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/constants/localeTextConstants.js +1 -0
- package/node/hooks/features/columns/useGridColumnSpanning.js +11 -16
- package/node/hooks/features/dimensions/useGridDimensions.js +37 -23
- package/node/hooks/features/editRows/useGridCellEditing.new.js +6 -0
- package/node/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/node/hooks/features/editRows/useGridRowEditing.new.js +6 -0
- package/node/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/node/hooks/features/filter/gridFilterUtils.js +7 -4
- package/node/hooks/features/rows/useGridRows.js +16 -3
- package/node/hooks/features/rows/useGridRowsMeta.js +80 -77
- package/node/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/node/hooks/features/selection/useGridSelectionPreProcessors.js +7 -5
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +42 -9
- package/node/hooks/utils/useGridApiContext.js +1 -1
- package/node/hooks/utils/useGridRootProps.js +1 -1
- 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 +39 -0
- package/node/locales/itIT.js +1 -0
- package/node/locales/jaJP.js +1 -0
- 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/roRO.js +126 -0
- package/node/locales/ruRU.js +1 -0
- package/node/locales/skSK.js +16 -15
- 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/node/utils/keyboardUtils.js +4 -3
- package/package.json +3 -3
- package/utils/keyboardUtils.js +4 -3
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.roRO = void 0;
|
|
7
|
+
|
|
8
|
+
var _locale = require("@mui/material/locale");
|
|
9
|
+
|
|
10
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
11
|
+
|
|
12
|
+
const roROGrid = {
|
|
13
|
+
// Root
|
|
14
|
+
noRowsLabel: 'Lipsă date',
|
|
15
|
+
noResultsOverlayLabel: 'Nu au fost găsite rezultate.',
|
|
16
|
+
errorOverlayDefaultLabel: 'A apărut o eroare neașteptată.',
|
|
17
|
+
// Density selector toolbar button text
|
|
18
|
+
toolbarDensity: 'Înălțime rând',
|
|
19
|
+
toolbarDensityLabel: 'Înălțime rând',
|
|
20
|
+
toolbarDensityCompact: 'Compact',
|
|
21
|
+
toolbarDensityStandard: 'Standard',
|
|
22
|
+
toolbarDensityComfortable: 'Lat',
|
|
23
|
+
// Columns selector toolbar button text
|
|
24
|
+
toolbarColumns: 'Coloane',
|
|
25
|
+
toolbarColumnsLabel: 'Afișează selecție coloane',
|
|
26
|
+
// Filters toolbar button text
|
|
27
|
+
toolbarFilters: 'Filtru',
|
|
28
|
+
toolbarFiltersLabel: 'Afișează filtru',
|
|
29
|
+
toolbarFiltersTooltipHide: 'Ascunde filtru',
|
|
30
|
+
toolbarFiltersTooltipShow: 'Afișează filtru',
|
|
31
|
+
toolbarFiltersTooltipActive: count => count !== 1 ? `${count} filtru activ` : `${count} filtru activ`,
|
|
32
|
+
// Quick filter toolbar field
|
|
33
|
+
// toolbarQuickFilterPlaceholder: 'Search...',
|
|
34
|
+
// toolbarQuickFilterLabel: 'Search',
|
|
35
|
+
// toolbarQuickFilterDeleteIconLabel: 'Clear',
|
|
36
|
+
// Export selector toolbar button text
|
|
37
|
+
toolbarExport: 'Export',
|
|
38
|
+
toolbarExportLabel: 'Export',
|
|
39
|
+
toolbarExportCSV: 'Download în format CSV',
|
|
40
|
+
toolbarExportPrint: 'Printare',
|
|
41
|
+
toolbarExportExcel: 'Download în format Excel',
|
|
42
|
+
// Columns panel text
|
|
43
|
+
columnsPanelTextFieldLabel: 'Găsește coloana',
|
|
44
|
+
columnsPanelTextFieldPlaceholder: 'Titlu coloană',
|
|
45
|
+
columnsPanelDragIconLabel: 'Resortare coloană',
|
|
46
|
+
columnsPanelShowAllButton: 'Afișează tot',
|
|
47
|
+
columnsPanelHideAllButton: 'Ascunde tot',
|
|
48
|
+
// Filter panel text
|
|
49
|
+
filterPanelAddFilter: 'Adăugare filtru',
|
|
50
|
+
filterPanelDeleteIconLabel: 'Ștergere',
|
|
51
|
+
filterPanelLinkOperator: 'Operatori logici',
|
|
52
|
+
filterPanelOperators: 'Operatori',
|
|
53
|
+
// TODO v6: rename to filterPanelOperator
|
|
54
|
+
filterPanelOperatorAnd: 'Și',
|
|
55
|
+
filterPanelOperatorOr: 'Sau',
|
|
56
|
+
filterPanelColumns: 'Coloane',
|
|
57
|
+
filterPanelInputLabel: 'Valoare',
|
|
58
|
+
filterPanelInputPlaceholder: 'Filtrare valoare',
|
|
59
|
+
// Filter operators text
|
|
60
|
+
filterOperatorContains: 'conține',
|
|
61
|
+
filterOperatorEquals: 'este egal cu',
|
|
62
|
+
filterOperatorStartsWith: 'începe cu',
|
|
63
|
+
filterOperatorEndsWith: 'se termină cu',
|
|
64
|
+
filterOperatorIs: 'este',
|
|
65
|
+
filterOperatorNot: 'nu este',
|
|
66
|
+
filterOperatorAfter: 'este după',
|
|
67
|
+
filterOperatorOnOrAfter: 'este la sau după',
|
|
68
|
+
filterOperatorBefore: 'este înainte de',
|
|
69
|
+
filterOperatorOnOrBefore: 'este la sau înainte de',
|
|
70
|
+
filterOperatorIsEmpty: 'este gol',
|
|
71
|
+
filterOperatorIsNotEmpty: 'nu este gol',
|
|
72
|
+
filterOperatorIsAnyOf: 'este una din valori',
|
|
73
|
+
// Filter values text
|
|
74
|
+
filterValueAny: 'Aleatoriu',
|
|
75
|
+
filterValueTrue: 'Da',
|
|
76
|
+
filterValueFalse: 'Nu',
|
|
77
|
+
// Column menu text
|
|
78
|
+
columnMenuLabel: 'Meniu',
|
|
79
|
+
columnMenuShowColumns: 'Afișează toate coloanele',
|
|
80
|
+
columnMenuFilter: 'Filtru',
|
|
81
|
+
columnMenuHideColumn: 'Ascunde',
|
|
82
|
+
columnMenuUnsort: 'Dezactivare sortare',
|
|
83
|
+
columnMenuSortAsc: 'Sortează crescător',
|
|
84
|
+
columnMenuSortDesc: 'Sortează descrescător',
|
|
85
|
+
// Column header text
|
|
86
|
+
columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} filtru activ` : `${count} filtru activ`,
|
|
87
|
+
columnHeaderFiltersLabel: 'Afișează filtru',
|
|
88
|
+
columnHeaderSortIconLabel: 'Sortare',
|
|
89
|
+
// Rows selected footer text
|
|
90
|
+
footerRowSelected: count => count !== 1 ? `${count.toLocaleString()} Înregistrări selectate` : `${count.toLocaleString()} Înregistrare selectată`,
|
|
91
|
+
// Total row amount footer text
|
|
92
|
+
footerTotalRows: 'Total:',
|
|
93
|
+
// Total visible row amount footer text
|
|
94
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} din ${totalCount.toLocaleString()}`,
|
|
95
|
+
// Checkbox selection text
|
|
96
|
+
checkboxSelectionHeaderName: 'Checkbox Selecție',
|
|
97
|
+
checkboxSelectionSelectAllRows: 'Selectare toate rândurile',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'Deselectare toate rândurile',
|
|
99
|
+
checkboxSelectionSelectRow: 'Selectare rând',
|
|
100
|
+
checkboxSelectionUnselectRow: 'Deselectare rând',
|
|
101
|
+
// Boolean cell text
|
|
102
|
+
booleanCellTrueLabel: 'Da',
|
|
103
|
+
booleanCellFalseLabel: 'Nu',
|
|
104
|
+
// Actions cell more text
|
|
105
|
+
actionsCellMore: 'Mai multe',
|
|
106
|
+
// Column pinning text
|
|
107
|
+
pinToLeft: 'Fixare în stânga',
|
|
108
|
+
pinToRight: 'Fixare în dreapta',
|
|
109
|
+
unpin: 'Anulare fixare',
|
|
110
|
+
// Tree Data
|
|
111
|
+
treeDataGroupingHeaderName: 'Grup',
|
|
112
|
+
treeDataExpand: 'Afișare copii',
|
|
113
|
+
treeDataCollapse: 'Ascundere copii',
|
|
114
|
+
// Grouping columns
|
|
115
|
+
groupingColumnHeaderName: 'Grupare',
|
|
116
|
+
groupColumn: name => `Grupare după ${name}`,
|
|
117
|
+
unGroupColumn: name => `Anulare Grupare după ${name}`,
|
|
118
|
+
// Master/detail
|
|
119
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
120
|
+
expandDetailPanel: 'Extindere',
|
|
121
|
+
collapseDetailPanel: 'Restrângere',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'Reordonare rânduri'
|
|
124
|
+
};
|
|
125
|
+
const roRO = (0, _getGridLocalization.getGridLocalization)(roROGrid, _locale.roRO);
|
|
126
|
+
exports.roRO = roRO;
|
package/node/locales/ruRU.js
CHANGED
|
@@ -149,6 +149,7 @@ const ruRUGrid = {
|
|
|
149
149
|
groupColumn: name => `Сгруппировать по ${name}`,
|
|
150
150
|
unGroupColumn: name => `Разгруппировать по ${name}`,
|
|
151
151
|
// Master/detail
|
|
152
|
+
// detailPanelToggle: 'Detail panel toggle',
|
|
152
153
|
expandDetailPanel: 'Развернуть',
|
|
153
154
|
collapseDetailPanel: 'Свернуть' // Row reordering text
|
|
154
155
|
// rowReorderingHeaderName: 'Row reordering',
|
package/node/locales/skSK.js
CHANGED
|
@@ -40,15 +40,15 @@ const skSKGrid = {
|
|
|
40
40
|
return `${count} ${pluralForm}`;
|
|
41
41
|
},
|
|
42
42
|
// Quick filter toolbar field
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
toolbarQuickFilterPlaceholder: 'Vyhľadať...',
|
|
44
|
+
toolbarQuickFilterLabel: 'Vyhľadať',
|
|
45
|
+
toolbarQuickFilterDeleteIconLabel: 'Vymazať',
|
|
46
46
|
// Export selector toolbar button text
|
|
47
47
|
toolbarExport: 'Export',
|
|
48
48
|
toolbarExportLabel: 'Export',
|
|
49
49
|
toolbarExportCSV: 'Stiahnuť ako CSV',
|
|
50
50
|
toolbarExportPrint: 'Vytlačiť',
|
|
51
|
-
|
|
51
|
+
toolbarExportExcel: 'Stiahnuť ako Excel',
|
|
52
52
|
// Columns panel text
|
|
53
53
|
columnsPanelTextFieldLabel: 'Nájsť stĺpec',
|
|
54
54
|
columnsPanelTextFieldPlaceholder: 'Názov stĺpca',
|
|
@@ -58,7 +58,7 @@ const skSKGrid = {
|
|
|
58
58
|
// Filter panel text
|
|
59
59
|
filterPanelAddFilter: 'Pridať filter',
|
|
60
60
|
filterPanelDeleteIconLabel: 'Odstrániť',
|
|
61
|
-
|
|
61
|
+
filterPanelLinkOperator: 'Logický operátor',
|
|
62
62
|
filterPanelOperators: 'Operátory',
|
|
63
63
|
// TODO v6: rename to filterPanelOperator
|
|
64
64
|
filterPanelOperatorAnd: 'A',
|
|
@@ -79,7 +79,7 @@ const skSKGrid = {
|
|
|
79
79
|
filterOperatorOnOrBefore: 'je na alebo skôr',
|
|
80
80
|
filterOperatorIsEmpty: 'je prázdny',
|
|
81
81
|
filterOperatorIsNotEmpty: 'nie je prázdny',
|
|
82
|
-
|
|
82
|
+
filterOperatorIsAnyOf: 'je jeden z',
|
|
83
83
|
// Filter values text
|
|
84
84
|
filterValueAny: 'akýkoľvek',
|
|
85
85
|
filterValueTrue: 'áno',
|
|
@@ -129,10 +129,10 @@ const skSKGrid = {
|
|
|
129
129
|
},
|
|
130
130
|
// Checkbox selection text
|
|
131
131
|
checkboxSelectionHeaderName: 'Výber riadku',
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
checkboxSelectionSelectAllRows: 'Vybrať všetky riadky',
|
|
133
|
+
checkboxSelectionUnselectAllRows: 'Zrušiť výber všetkých riadkov',
|
|
134
|
+
checkboxSelectionSelectRow: 'Vyber riadok',
|
|
135
|
+
checkboxSelectionUnselectRow: 'Zruš výber riadku',
|
|
136
136
|
// Boolean cell text
|
|
137
137
|
booleanCellTrueLabel: 'áno',
|
|
138
138
|
booleanCellFalseLabel: 'nie',
|
|
@@ -149,12 +149,13 @@ const skSKGrid = {
|
|
|
149
149
|
// Grouping columns
|
|
150
150
|
groupingColumnHeaderName: 'Skupina',
|
|
151
151
|
groupColumn: name => `Zoskupiť podľa ${name}`,
|
|
152
|
-
unGroupColumn: name => `Prestať zoskupovať podľa ${name}
|
|
153
|
-
//
|
|
154
|
-
|
|
152
|
+
unGroupColumn: name => `Prestať zoskupovať podľa ${name}`,
|
|
153
|
+
// Master/detail
|
|
154
|
+
detailPanelToggle: 'Prepnúť detail panelu',
|
|
155
|
+
expandDetailPanel: 'Rozbaliť',
|
|
156
|
+
collapseDetailPanel: 'Zbaliť',
|
|
155
157
|
// Row reordering text
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
rowReorderingHeaderName: 'Preusporiadávanie riadkov'
|
|
158
159
|
};
|
|
159
160
|
const skSK = (0, _getGridLocalization.getGridLocalization)(skSKGrid, _locale.skSK);
|
|
160
161
|
exports.skSK = skSK;
|
|
@@ -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
|
|
@@ -36,12 +36,13 @@ const isPageKeys = key => key.indexOf('Page') === 0;
|
|
|
36
36
|
|
|
37
37
|
exports.isPageKeys = isPageKeys;
|
|
38
38
|
|
|
39
|
-
const isDeleteKeys = key => key === 'Delete' || key === 'Backspace';
|
|
39
|
+
const isDeleteKeys = key => key === 'Delete' || key === 'Backspace'; // Non printable keys have a name, e.g. "ArrowRight", see the whole list:
|
|
40
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
|
|
41
|
+
|
|
40
42
|
|
|
41
43
|
exports.isDeleteKeys = isDeleteKeys;
|
|
42
|
-
const printableCharRegex = /^(\p{L}|\p{M}\p{L}|\p{M}|\p{N}|\p{Z}|\p{S}|\p{P})$/iu;
|
|
43
44
|
|
|
44
|
-
const isPrintableKey = key =>
|
|
45
|
+
const isPrintableKey = key => key.length === 1;
|
|
45
46
|
|
|
46
47
|
exports.isPrintableKey = isPrintableKey;
|
|
47
48
|
const GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.0",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.17.2",
|
|
39
39
|
"@mui/utils": "^5.4.1",
|
|
40
|
-
"clsx": "^1.
|
|
40
|
+
"clsx": "^1.2.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",
|
package/utils/keyboardUtils.js
CHANGED
|
@@ -8,9 +8,10 @@ export const isSpaceKey = key => key === ' ';
|
|
|
8
8
|
export const isArrowKeys = key => key.indexOf('Arrow') === 0;
|
|
9
9
|
export const isHomeOrEndKeys = key => key === 'Home' || key === 'End';
|
|
10
10
|
export const isPageKeys = key => key.indexOf('Page') === 0;
|
|
11
|
-
export const isDeleteKeys = key => key === 'Delete' || key === 'Backspace';
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
export const isDeleteKeys = key => key === 'Delete' || key === 'Backspace'; // Non printable keys have a name, e.g. "ArrowRight", see the whole list:
|
|
12
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
|
|
13
|
+
|
|
14
|
+
export const isPrintableKey = key => key.length === 1;
|
|
14
15
|
export const GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
|
|
15
16
|
export const GRID_CELL_EXIT_EDIT_MODE_KEYS = ['Enter', 'Escape', 'Tab'];
|
|
16
17
|
export const GRID_CELL_EDIT_COMMIT_KEYS = ['Enter', 'Tab'];
|