@mui/x-data-grid 5.12.3 → 5.14.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 +147 -1
- package/DataGrid/DataGrid.js +4 -4
- package/DataGrid/useDataGridComponent.js +1 -1
- package/colDef/gridActionsColDef.js +2 -0
- package/colDef/gridBooleanColDef.js +3 -1
- package/colDef/gridCheckboxSelectionColDef.js +2 -0
- package/colDef/gridDateOperators.d.ts +1 -1
- package/colDef/gridDateOperators.js +4 -2
- package/colDef/gridNumericOperators.js +4 -2
- package/colDef/gridStringColDef.d.ts +3 -0
- package/colDef/gridStringColDef.js +6 -0
- package/colDef/gridStringOperators.d.ts +1 -1
- package/colDef/gridStringOperators.js +15 -8
- package/components/GridRow.js +1 -1
- package/components/base/GridOverlays.js +4 -1
- package/components/cell/GridActionsCellItem.d.ts +2 -2
- package/components/cell/GridBooleanCell.d.ts +5 -2
- package/components/cell/GridBooleanCell.js +93 -2
- package/components/cell/GridEditDateCell.js +5 -1
- package/components/cell/index.d.ts +1 -0
- package/components/cell/index.js +1 -0
- package/components/columnSelection/GridCellCheckboxRenderer.js +7 -1
- package/components/containers/GridRootStyles.js +10 -0
- 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 +3 -8
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +30 -14
- 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/filterPanelUtils.d.ts +1 -1
- package/components/toolbar/GridToolbarColumnsButton.d.ts +1 -1
- package/components/toolbar/GridToolbarDensitySelector.d.ts +1 -1
- package/components/toolbar/GridToolbarExport.js +20 -10
- package/components/toolbar/GridToolbarExportContainer.d.ts +1 -1
- package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
- package/constants/gridClasses.d.ts +25 -1
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +8 -1
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +2 -1
- package/hooks/features/columns/useGridColumnSpanning.js +9 -7
- package/hooks/features/columns/useGridColumns.d.ts +1 -1
- package/hooks/features/columns/useGridColumns.js +13 -6
- package/hooks/features/dimensions/useGridDimensions.js +28 -15
- package/hooks/features/editRows/useGridCellEditing.new.js +7 -1
- package/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/hooks/features/editRows/useGridRowEditing.new.js +7 -1
- package/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/hooks/features/export/utils.d.ts +1 -1
- package/hooks/features/export/utils.js +9 -2
- package/hooks/features/filter/gridFilterUtils.js +6 -0
- package/hooks/features/filter/useGridFilter.d.ts +1 -1
- package/hooks/features/filter/useGridFilter.js +30 -5
- package/hooks/features/pagination/useGridPage.js +4 -3
- package/hooks/features/pagination/useGridPageSize.js +4 -3
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +1 -1
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +12 -4
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
- package/hooks/features/rows/useGridRows.js +1 -1
- package/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/hooks/features/selection/useGridSelection.js +24 -10
- package/hooks/features/sorting/gridSortingUtils.d.ts +1 -0
- package/hooks/features/sorting/gridSortingUtils.js +10 -11
- package/hooks/features/sorting/useGridSorting.d.ts +1 -1
- package/hooks/features/sorting/useGridSorting.js +34 -6
- package/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +12 -1
- package/hooks/features/statePersistence/index.d.ts +1 -1
- package/hooks/features/statePersistence/useGridStatePersistence.js +2 -2
- package/hooks/features/virtualization/useGridVirtualScroller.js +17 -7
- package/hooks/utils/useGridApiContext.js +1 -1
- package/hooks/utils/useGridApiEventHandler.d.ts +2 -2
- package/hooks/utils/useGridNativeEventListener.d.ts +1 -1
- package/hooks/utils/useGridNativeEventListener.js +1 -1
- package/hooks/utils/useGridRootProps.js +1 -1
- package/index.js +1 -1
- package/internals/index.d.ts +2 -2
- package/internals/index.js +2 -2
- package/legacy/DataGrid/DataGrid.js +4 -4
- package/legacy/DataGrid/useDataGridComponent.js +1 -1
- package/legacy/colDef/gridActionsColDef.js +2 -0
- package/legacy/colDef/gridBooleanColDef.js +3 -1
- package/legacy/colDef/gridCheckboxSelectionColDef.js +2 -0
- package/legacy/colDef/gridDateOperators.js +4 -2
- package/legacy/colDef/gridNumericOperators.js +4 -2
- package/legacy/colDef/gridStringColDef.js +6 -0
- package/legacy/colDef/gridStringOperators.js +17 -7
- package/legacy/components/GridRow.js +1 -1
- package/legacy/components/base/GridOverlays.js +4 -1
- package/legacy/components/cell/GridBooleanCell.js +93 -2
- package/legacy/components/cell/GridEditDateCell.js +5 -1
- package/legacy/components/cell/index.js +1 -0
- package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +6 -1
- package/legacy/components/containers/GridRootStyles.js +3 -3
- 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 +22 -7
- 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/toolbar/GridToolbarExport.js +20 -10
- package/legacy/constants/gridClasses.js +1 -1
- package/legacy/constants/localeTextConstants.js +8 -1
- package/legacy/hooks/features/columns/useGridColumnSpanning.js +9 -7
- package/legacy/hooks/features/columns/useGridColumns.js +13 -8
- package/legacy/hooks/features/dimensions/useGridDimensions.js +27 -15
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +7 -1
- package/legacy/hooks/features/editRows/useGridCellEditing.old.js +16 -8
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +7 -1
- package/legacy/hooks/features/editRows/useGridRowEditing.old.js +22 -14
- package/legacy/hooks/features/export/utils.js +9 -2
- package/legacy/hooks/features/filter/gridFilterUtils.js +6 -0
- package/legacy/hooks/features/filter/useGridFilter.js +30 -5
- package/legacy/hooks/features/pagination/useGridPage.js +4 -3
- package/legacy/hooks/features/pagination/useGridPageSize.js +4 -3
- package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +12 -4
- package/legacy/hooks/features/rows/useGridRows.js +1 -1
- package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/legacy/hooks/features/selection/useGridSelection.js +26 -12
- package/legacy/hooks/features/sorting/gridSortingUtils.js +11 -12
- package/legacy/hooks/features/sorting/useGridSorting.js +34 -6
- package/legacy/hooks/features/statePersistence/useGridStatePersistence.js +2 -1
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +22 -12
- package/legacy/hooks/utils/useGridApiContext.js +1 -1
- package/legacy/hooks/utils/useGridNativeEventListener.js +1 -1
- package/legacy/hooks/utils/useGridRootProps.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +2 -2
- package/legacy/locales/arSD.js +7 -0
- package/legacy/locales/bgBG.js +7 -0
- package/legacy/locales/csCZ.js +7 -0
- package/legacy/locales/daDK.js +7 -0
- package/legacy/locales/deDE.js +12 -5
- package/legacy/locales/elGR.js +7 -0
- package/legacy/locales/esES.js +7 -0
- package/legacy/locales/faIR.js +7 -0
- package/legacy/locales/fiFI.js +7 -0
- package/legacy/locales/frFR.js +17 -10
- package/legacy/locales/heIL.js +8 -1
- package/legacy/locales/huHU.js +7 -0
- package/legacy/locales/index.js +4 -1
- package/legacy/locales/itIT.js +7 -0
- package/legacy/locales/jaJP.js +8 -1
- package/legacy/locales/koKR.js +7 -0
- package/legacy/locales/nbNO.js +8 -1
- package/legacy/locales/nlNL.js +21 -14
- package/legacy/locales/plPL.js +7 -0
- package/legacy/locales/ptBR.js +17 -10
- package/legacy/locales/roRO.js +135 -0
- package/legacy/locales/ruRU.js +7 -0
- package/legacy/locales/skSK.js +22 -15
- package/legacy/locales/svSE.js +8 -1
- package/legacy/locales/trTR.js +7 -0
- package/legacy/locales/ukUA.js +7 -0
- package/legacy/locales/viVN.js +7 -0
- package/legacy/locales/zhCN.js +7 -0
- package/legacy/locales/zhTW.js +135 -0
- package/legacy/models/events/gridEvents.js +1 -0
- package/legacy/utils/keyboardUtils.js +4 -3
- package/locales/arSD.js +7 -0
- package/locales/bgBG.js +7 -0
- package/locales/csCZ.js +7 -0
- package/locales/daDK.js +7 -0
- package/locales/deDE.js +12 -5
- package/locales/elGR.js +7 -0
- package/locales/esES.js +7 -0
- package/locales/faIR.js +7 -0
- package/locales/fiFI.js +7 -0
- package/locales/frFR.js +17 -10
- package/locales/heIL.js +8 -1
- package/locales/huHU.js +7 -0
- package/locales/index.d.ts +3 -0
- package/locales/index.js +4 -1
- package/locales/itIT.js +7 -0
- package/locales/jaJP.js +8 -1
- package/locales/koKR.js +7 -0
- package/locales/nbNO.js +8 -1
- package/locales/nlNL.js +21 -14
- package/locales/plPL.js +7 -0
- package/locales/ptBR.js +17 -10
- package/locales/roRO.d.ts +2 -0
- package/locales/roRO.js +123 -0
- package/locales/ruRU.js +7 -0
- package/locales/skSK.js +22 -15
- package/locales/svSE.js +8 -1
- package/locales/trTR.js +7 -0
- package/locales/ukUA.js +7 -0
- package/locales/viVN.js +7 -0
- package/locales/zhCN.js +7 -0
- package/locales/zhTW.d.ts +2 -0
- package/locales/zhTW.js +123 -0
- package/models/api/gridColumnSpanning.d.ts +2 -0
- package/models/api/gridLocaleTextApi.d.ts +8 -2
- package/models/api/gridSelectionApi.d.ts +6 -0
- package/models/events/gridEvents.d.ts +1 -0
- package/models/events/gridEvents.js +1 -0
- package/models/gridFilterOperator.d.ts +6 -0
- package/models/gridRows.d.ts +10 -1
- package/models/params/gridCellParams.d.ts +4 -4
- package/modern/DataGrid/DataGrid.js +4 -4
- package/modern/DataGrid/useDataGridComponent.js +1 -1
- package/modern/colDef/gridActionsColDef.js +2 -0
- package/modern/colDef/gridBooleanColDef.js +3 -1
- package/modern/colDef/gridCheckboxSelectionColDef.js +2 -0
- package/modern/colDef/gridDateOperators.js +4 -2
- package/modern/colDef/gridNumericOperators.js +4 -2
- package/modern/colDef/gridStringColDef.js +6 -0
- package/modern/colDef/gridStringOperators.js +15 -8
- package/modern/components/GridRow.js +1 -1
- package/modern/components/base/GridOverlays.js +4 -1
- package/modern/components/cell/GridBooleanCell.js +93 -2
- package/modern/components/cell/GridEditDateCell.js +5 -1
- package/modern/components/cell/index.js +1 -0
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +7 -1
- package/modern/components/containers/GridRootStyles.js +10 -0
- 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 +20 -8
- 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/toolbar/GridToolbarExport.js +20 -10
- package/modern/constants/gridClasses.js +1 -1
- package/modern/constants/localeTextConstants.js +8 -1
- package/modern/hooks/features/columns/useGridColumnSpanning.js +9 -7
- package/modern/hooks/features/columns/useGridColumns.js +10 -5
- package/modern/hooks/features/dimensions/useGridDimensions.js +28 -15
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +7 -1
- package/modern/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +7 -1
- package/modern/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/modern/hooks/features/export/utils.js +5 -2
- package/modern/hooks/features/filter/gridFilterUtils.js +6 -0
- package/modern/hooks/features/filter/useGridFilter.js +25 -4
- package/modern/hooks/features/pagination/useGridPage.js +4 -3
- package/modern/hooks/features/pagination/useGridPageSize.js +4 -3
- package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +8 -4
- package/modern/hooks/features/rows/useGridRows.js +1 -1
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/modern/hooks/features/selection/useGridSelection.js +22 -10
- package/modern/hooks/features/sorting/gridSortingUtils.js +10 -11
- package/modern/hooks/features/sorting/useGridSorting.js +30 -6
- package/modern/hooks/features/statePersistence/useGridStatePersistence.js +2 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +13 -7
- package/modern/hooks/utils/useGridApiContext.js +1 -1
- package/modern/hooks/utils/useGridNativeEventListener.js +1 -1
- package/modern/hooks/utils/useGridRootProps.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internals/index.js +2 -2
- package/modern/locales/arSD.js +7 -0
- package/modern/locales/bgBG.js +7 -0
- package/modern/locales/csCZ.js +7 -0
- package/modern/locales/daDK.js +7 -0
- package/modern/locales/deDE.js +12 -5
- package/modern/locales/elGR.js +7 -0
- package/modern/locales/esES.js +7 -0
- package/modern/locales/faIR.js +7 -0
- package/modern/locales/fiFI.js +7 -0
- package/modern/locales/frFR.js +17 -10
- package/modern/locales/heIL.js +8 -1
- package/modern/locales/huHU.js +7 -0
- package/modern/locales/index.js +4 -1
- package/modern/locales/itIT.js +7 -0
- package/modern/locales/jaJP.js +8 -1
- package/modern/locales/koKR.js +7 -0
- package/modern/locales/nbNO.js +8 -1
- package/modern/locales/nlNL.js +21 -14
- package/modern/locales/plPL.js +7 -0
- package/modern/locales/ptBR.js +17 -10
- package/modern/locales/roRO.js +123 -0
- package/modern/locales/ruRU.js +7 -0
- package/modern/locales/skSK.js +22 -15
- package/modern/locales/svSE.js +8 -1
- package/modern/locales/trTR.js +7 -0
- package/modern/locales/ukUA.js +7 -0
- package/modern/locales/viVN.js +7 -0
- package/modern/locales/zhCN.js +7 -0
- package/modern/locales/zhTW.js +123 -0
- package/modern/models/events/gridEvents.js +1 -0
- package/modern/utils/keyboardUtils.js +4 -3
- package/node/DataGrid/DataGrid.js +4 -4
- package/node/DataGrid/useDataGridComponent.js +1 -1
- package/node/colDef/gridActionsColDef.js +2 -0
- package/node/colDef/gridBooleanColDef.js +3 -1
- package/node/colDef/gridCheckboxSelectionColDef.js +2 -0
- package/node/colDef/gridDateOperators.js +4 -2
- package/node/colDef/gridNumericOperators.js +4 -2
- package/node/colDef/gridStringColDef.js +5 -0
- package/node/colDef/gridStringOperators.js +15 -8
- package/node/components/GridRow.js +1 -1
- package/node/components/base/GridOverlays.js +4 -1
- package/node/components/cell/GridBooleanCell.js +93 -2
- package/node/components/cell/GridEditDateCell.js +7 -1
- package/node/components/cell/index.js +13 -0
- package/node/components/columnSelection/GridCellCheckboxRenderer.js +7 -1
- package/node/components/containers/GridRootStyles.js +10 -0
- 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 +31 -15
- 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/toolbar/GridToolbarExport.js +16 -10
- package/node/constants/gridClasses.js +1 -1
- package/node/constants/localeTextConstants.js +8 -1
- package/node/hooks/features/columns/useGridColumnSpanning.js +9 -7
- package/node/hooks/features/columns/useGridColumns.js +13 -6
- package/node/hooks/features/dimensions/useGridDimensions.js +28 -15
- package/node/hooks/features/editRows/useGridCellEditing.new.js +7 -1
- package/node/hooks/features/editRows/useGridCellEditing.old.js +6 -0
- package/node/hooks/features/editRows/useGridRowEditing.new.js +7 -1
- package/node/hooks/features/editRows/useGridRowEditing.old.js +6 -0
- package/node/hooks/features/export/utils.js +10 -2
- package/node/hooks/features/filter/gridFilterUtils.js +7 -0
- package/node/hooks/features/filter/useGridFilter.js +30 -5
- package/node/hooks/features/pagination/useGridPage.js +4 -3
- package/node/hooks/features/pagination/useGridPageSize.js +4 -3
- package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +12 -4
- package/node/hooks/features/rows/useGridRows.js +1 -1
- package/node/hooks/features/rows/useGridRowsPreProcessors.js +1 -1
- package/node/hooks/features/selection/useGridSelection.js +24 -10
- package/node/hooks/features/sorting/gridSortingUtils.js +10 -11
- package/node/hooks/features/sorting/useGridSorting.js +34 -6
- package/node/hooks/features/statePersistence/useGridStatePersistence.js +2 -2
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +17 -7
- package/node/hooks/utils/useGridApiContext.js +1 -1
- package/node/hooks/utils/useGridNativeEventListener.js +1 -1
- package/node/hooks/utils/useGridRootProps.js +1 -1
- package/node/index.js +1 -1
- package/node/internals/index.js +18 -0
- package/node/locales/arSD.js +7 -0
- package/node/locales/bgBG.js +7 -0
- package/node/locales/csCZ.js +7 -0
- package/node/locales/daDK.js +7 -0
- package/node/locales/deDE.js +12 -5
- package/node/locales/elGR.js +7 -0
- package/node/locales/esES.js +7 -0
- package/node/locales/faIR.js +7 -0
- package/node/locales/fiFI.js +7 -0
- package/node/locales/frFR.js +17 -10
- package/node/locales/heIL.js +8 -1
- package/node/locales/huHU.js +7 -0
- package/node/locales/index.js +39 -0
- package/node/locales/itIT.js +7 -0
- package/node/locales/jaJP.js +8 -1
- package/node/locales/koKR.js +7 -0
- package/node/locales/nbNO.js +8 -1
- package/node/locales/nlNL.js +21 -14
- package/node/locales/plPL.js +7 -0
- package/node/locales/ptBR.js +17 -10
- package/node/locales/roRO.js +133 -0
- package/node/locales/ruRU.js +7 -0
- package/node/locales/skSK.js +22 -15
- package/node/locales/svSE.js +8 -1
- package/node/locales/trTR.js +7 -0
- package/node/locales/ukUA.js +7 -0
- package/node/locales/viVN.js +7 -0
- package/node/locales/zhCN.js +7 -0
- package/node/locales/zhTW.js +133 -0
- package/node/models/events/gridEvents.js +1 -0
- package/node/utils/keyboardUtils.js +4 -3
- package/package.json +3 -3
- package/utils/getGridLocalization.d.ts +1 -1
- package/utils/keyboardUtils.js +4 -3
package/node/locales/nlNL.js
CHANGED
|
@@ -30,15 +30,15 @@ const nlNLGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'Toon filters',
|
|
31
31
|
toolbarFiltersTooltipActive: count => count > 1 ? `${count} actieve filters` : `${count} filter actief`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Zoeken...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Zoeken',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Wissen',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'Exporteren',
|
|
38
38
|
toolbarExportLabel: 'Exporteren',
|
|
39
39
|
toolbarExportCSV: 'Exporteer naar CSV',
|
|
40
40
|
toolbarExportPrint: 'Print',
|
|
41
|
-
|
|
41
|
+
toolbarExportExcel: 'Downloaden als Excel-bestand',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'Zoek kolom',
|
|
44
44
|
columnsPanelTextFieldPlaceholder: 'Kolomtitel',
|
|
@@ -48,7 +48,7 @@ const nlNLGrid = {
|
|
|
48
48
|
// Filter panel text
|
|
49
49
|
filterPanelAddFilter: 'Filter toevoegen',
|
|
50
50
|
filterPanelDeleteIconLabel: 'Verwijderen',
|
|
51
|
-
|
|
51
|
+
filterPanelLinkOperator: 'Logische operator',
|
|
52
52
|
filterPanelOperators: 'Operatoren',
|
|
53
53
|
// TODO v6: rename to filterPanelOperator
|
|
54
54
|
filterPanelOperatorAnd: 'En',
|
|
@@ -69,7 +69,7 @@ const nlNLGrid = {
|
|
|
69
69
|
filterOperatorOnOrBefore: 'is gelijk of er voor',
|
|
70
70
|
filterOperatorIsEmpty: 'is leeg',
|
|
71
71
|
filterOperatorIsNotEmpty: 'is niet leeg',
|
|
72
|
-
|
|
72
|
+
filterOperatorIsAnyOf: 'is een van',
|
|
73
73
|
// Filter values text
|
|
74
74
|
filterValueAny: 'alles',
|
|
75
75
|
filterValueTrue: 'waar',
|
|
@@ -94,10 +94,10 @@ const nlNLGrid = {
|
|
|
94
94
|
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} van ${totalCount.toLocaleString()}`,
|
|
95
95
|
// Checkbox selection text
|
|
96
96
|
checkboxSelectionHeaderName: 'Checkbox selectie',
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
checkboxSelectionSelectAllRows: 'Alle rijen selecteren',
|
|
98
|
+
checkboxSelectionUnselectAllRows: 'Alle rijen de-selecteren',
|
|
99
|
+
checkboxSelectionSelectRow: 'Rij selecteren',
|
|
100
|
+
checkboxSelectionUnselectRow: 'Rij de-selecteren',
|
|
101
101
|
// Boolean cell text
|
|
102
102
|
booleanCellTrueLabel: 'waar',
|
|
103
103
|
booleanCellFalseLabel: 'onwaar',
|
|
@@ -114,12 +114,19 @@ const nlNLGrid = {
|
|
|
114
114
|
// Grouping columns
|
|
115
115
|
groupingColumnHeaderName: 'Groep',
|
|
116
116
|
groupColumn: name => `Groepeer op ${name}`,
|
|
117
|
-
unGroupColumn: name => `Stop groeperen op ${name}
|
|
117
|
+
unGroupColumn: name => `Stop groeperen op ${name}`,
|
|
118
|
+
// Master/detail
|
|
118
119
|
// detailPanelToggle: 'Detail panel toggle',
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
expandDetailPanel: 'Uitklappen',
|
|
121
|
+
collapseDetailPanel: 'Inklappen',
|
|
121
122
|
// Row reordering text
|
|
122
|
-
|
|
123
|
+
rowReorderingHeaderName: 'Rijen hersorteren' // Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const nlNL = (0, _getGridLocalization.getGridLocalization)(nlNLGrid, _locale.nlNL);
|
package/node/locales/plPL.js
CHANGED
|
@@ -120,6 +120,13 @@ const plPLGrid = {
|
|
|
120
120
|
expandDetailPanel: 'Rozwiń',
|
|
121
121
|
collapseDetailPanel: 'Zwiń' // Row reordering text
|
|
122
122
|
// rowReorderingHeaderName: 'Row reordering',
|
|
123
|
+
// Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const plPL = (0, _getGridLocalization.getGridLocalization)(plPLGrid, _locale.plPL);
|
package/node/locales/ptBR.js
CHANGED
|
@@ -30,14 +30,14 @@ const ptBRGrid = {
|
|
|
30
30
|
toolbarFiltersTooltipShow: 'Exibir filtros',
|
|
31
31
|
toolbarFiltersTooltipActive: count => `${count} ${count !== 1 ? 'filtros' : 'filtro'} ${count !== 1 ? 'ativos' : 'ativo'}`,
|
|
32
32
|
// Quick filter toolbar field
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
toolbarQuickFilterPlaceholder: 'Procurar...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Procurar',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Limpar',
|
|
36
36
|
// Export selector toolbar button text
|
|
37
37
|
toolbarExport: 'Exportar',
|
|
38
38
|
toolbarExportLabel: 'Exportar',
|
|
39
39
|
toolbarExportCSV: 'Baixar como CSV',
|
|
40
|
-
toolbarExportPrint: '
|
|
40
|
+
toolbarExportPrint: 'Imprimir',
|
|
41
41
|
toolbarExportExcel: 'Baixar como Excel',
|
|
42
42
|
// Columns panel text
|
|
43
43
|
columnsPanelTextFieldLabel: 'Localizar coluna',
|
|
@@ -69,7 +69,7 @@ const ptBRGrid = {
|
|
|
69
69
|
filterOperatorOnOrBefore: 'em ou antes de',
|
|
70
70
|
filterOperatorIsEmpty: 'está vazio',
|
|
71
71
|
filterOperatorIsNotEmpty: 'não está vazio',
|
|
72
|
-
|
|
72
|
+
filterOperatorIsAnyOf: 'é qualquer um dos',
|
|
73
73
|
// Filter values text
|
|
74
74
|
filterValueAny: 'qualquer',
|
|
75
75
|
filterValueTrue: 'verdadeiro',
|
|
@@ -108,9 +108,9 @@ const ptBRGrid = {
|
|
|
108
108
|
pinToRight: 'Fixar à direita',
|
|
109
109
|
unpin: 'Desafixar',
|
|
110
110
|
// Tree Data
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
treeDataGroupingHeaderName: 'Grupo',
|
|
112
|
+
treeDataExpand: 'mostrar filhos',
|
|
113
|
+
treeDataCollapse: 'esconder filhos',
|
|
114
114
|
// Grouping columns
|
|
115
115
|
groupingColumnHeaderName: 'Grupo',
|
|
116
116
|
groupColumn: name => `Agrupar por ${name}`,
|
|
@@ -118,8 +118,15 @@ const ptBRGrid = {
|
|
|
118
118
|
// Master/detail
|
|
119
119
|
detailPanelToggle: 'Painel de detalhes',
|
|
120
120
|
expandDetailPanel: 'Expandir',
|
|
121
|
-
collapseDetailPanel: 'Esconder'
|
|
122
|
-
//
|
|
121
|
+
collapseDetailPanel: 'Esconder',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'Reorganizar linhas' // Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const ptBR = (0, _getGridLocalization.getGridLocalization)(ptBRGrid, _locale.ptBR);
|
|
@@ -0,0 +1,133 @@
|
|
|
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: 'Căutare...',
|
|
34
|
+
toolbarQuickFilterLabel: 'Căutare',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: 'Ștergere',
|
|
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: 'Comutare panou detalii',
|
|
120
|
+
expandDetailPanel: 'Extindere',
|
|
121
|
+
collapseDetailPanel: 'Restrângere',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: 'Reordonare rânduri' // Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
130
|
+
|
|
131
|
+
};
|
|
132
|
+
const roRO = (0, _getGridLocalization.getGridLocalization)(roROGrid, _locale.roRO);
|
|
133
|
+
exports.roRO = roRO;
|
package/node/locales/ruRU.js
CHANGED
|
@@ -153,6 +153,13 @@ const ruRUGrid = {
|
|
|
153
153
|
expandDetailPanel: 'Развернуть',
|
|
154
154
|
collapseDetailPanel: 'Свернуть' // Row reordering text
|
|
155
155
|
// rowReorderingHeaderName: 'Row reordering',
|
|
156
|
+
// Aggregation
|
|
157
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
158
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
159
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
160
|
+
// aggregationFunctionLabelMin: 'min',
|
|
161
|
+
// aggregationFunctionLabelMax: 'max',
|
|
162
|
+
// aggregationFunctionLabelSize: 'size',
|
|
156
163
|
|
|
157
164
|
};
|
|
158
165
|
const ruRU = (0, _getGridLocalization.getGridLocalization)(ruRUGrid, _locale.ruRU);
|
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,19 @@ 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
|
-
|
|
155
|
-
|
|
152
|
+
unGroupColumn: name => `Prestať zoskupovať podľa ${name}`,
|
|
153
|
+
// Master/detail
|
|
154
|
+
detailPanelToggle: 'Prepnúť detail panelu',
|
|
155
|
+
expandDetailPanel: 'Rozbaliť',
|
|
156
|
+
collapseDetailPanel: 'Zbaliť',
|
|
156
157
|
// Row reordering text
|
|
157
|
-
|
|
158
|
+
rowReorderingHeaderName: 'Preusporiadávanie riadkov' // Aggregation
|
|
159
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
160
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
161
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
162
|
+
// aggregationFunctionLabelMin: 'min',
|
|
163
|
+
// aggregationFunctionLabelMax: 'max',
|
|
164
|
+
// aggregationFunctionLabelSize: 'size',
|
|
158
165
|
|
|
159
166
|
};
|
|
160
167
|
const skSK = (0, _getGridLocalization.getGridLocalization)(skSKGrid, _locale.skSK);
|
package/node/locales/svSE.js
CHANGED
|
@@ -120,7 +120,14 @@ const svSEGrid = {
|
|
|
120
120
|
expandDetailPanel: 'Expandera',
|
|
121
121
|
collapseDetailPanel: 'Kollapsa',
|
|
122
122
|
// Row reordering text
|
|
123
|
-
rowReorderingHeaderName: 'Ordna om rader'
|
|
123
|
+
rowReorderingHeaderName: 'Ordna om rader' // Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
130
|
+
|
|
124
131
|
};
|
|
125
132
|
const svSE = (0, _getGridLocalization.getGridLocalization)(svSEGrid, _locale.svSE);
|
|
126
133
|
exports.svSE = svSE;
|
package/node/locales/trTR.js
CHANGED
|
@@ -120,6 +120,13 @@ const trTRGrid = {
|
|
|
120
120
|
expandDetailPanel: 'Genişlet',
|
|
121
121
|
collapseDetailPanel: 'Gizle' // Row reordering text
|
|
122
122
|
// rowReorderingHeaderName: 'Row reordering',
|
|
123
|
+
// Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const trTR = (0, _getGridLocalization.getGridLocalization)(trTRGrid, _locale.trTR);
|
package/node/locales/ukUA.js
CHANGED
|
@@ -145,6 +145,13 @@ const ukUAGrid = {
|
|
|
145
145
|
// collapseDetailPanel: 'Collapse',
|
|
146
146
|
// Row reordering text
|
|
147
147
|
// rowReorderingHeaderName: 'Row reordering',
|
|
148
|
+
// Aggregation
|
|
149
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
150
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
151
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
152
|
+
// aggregationFunctionLabelMin: 'min',
|
|
153
|
+
// aggregationFunctionLabelMax: 'max',
|
|
154
|
+
// aggregationFunctionLabelSize: 'size',
|
|
148
155
|
|
|
149
156
|
};
|
|
150
157
|
const ukUA = (0, _getGridLocalization.getGridLocalization)(ukUAGrid, _locale.ukUA);
|
package/node/locales/viVN.js
CHANGED
|
@@ -120,6 +120,13 @@ const viVNGrid = {
|
|
|
120
120
|
// collapseDetailPanel: 'Collapse',
|
|
121
121
|
// Row reordering text
|
|
122
122
|
// rowReorderingHeaderName: 'Row reordering',
|
|
123
|
+
// Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const viVN = (0, _getGridLocalization.getGridLocalization)(viVNGrid, _locale.viVN);
|
package/node/locales/zhCN.js
CHANGED
|
@@ -120,6 +120,13 @@ const zhCNGrid = {
|
|
|
120
120
|
// collapseDetailPanel: 'Collapse',
|
|
121
121
|
// Row reordering text
|
|
122
122
|
// rowReorderingHeaderName: 'Row reordering',
|
|
123
|
+
// Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
123
130
|
|
|
124
131
|
};
|
|
125
132
|
const zhCN = (0, _getGridLocalization.getGridLocalization)(zhCNGrid, _locale.zhCN);
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.zhTW = void 0;
|
|
7
|
+
|
|
8
|
+
var _locale = require("@mui/material/locale");
|
|
9
|
+
|
|
10
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
11
|
+
|
|
12
|
+
const zhTWGrid = {
|
|
13
|
+
// Root
|
|
14
|
+
noRowsLabel: '沒有資料',
|
|
15
|
+
noResultsOverlayLabel: '沒有結果',
|
|
16
|
+
errorOverlayDefaultLabel: '發生錯誤',
|
|
17
|
+
// Density selector toolbar button text
|
|
18
|
+
toolbarDensity: '表格密度',
|
|
19
|
+
toolbarDensityLabel: '表格密度',
|
|
20
|
+
toolbarDensityCompact: '緊湊',
|
|
21
|
+
toolbarDensityStandard: '標準',
|
|
22
|
+
toolbarDensityComfortable: '舒適',
|
|
23
|
+
// Columns selector toolbar button text
|
|
24
|
+
toolbarColumns: '欄位',
|
|
25
|
+
toolbarColumnsLabel: '選擇欄位',
|
|
26
|
+
// Filters toolbar button text
|
|
27
|
+
toolbarFilters: '篩選器',
|
|
28
|
+
toolbarFiltersLabel: '顯示篩選器',
|
|
29
|
+
toolbarFiltersTooltipHide: '隱藏篩選器',
|
|
30
|
+
toolbarFiltersTooltipShow: '顯示篩選器',
|
|
31
|
+
toolbarFiltersTooltipActive: count => `${count} 個篩選器`,
|
|
32
|
+
// Quick filter toolbar field
|
|
33
|
+
toolbarQuickFilterPlaceholder: '搜尋...',
|
|
34
|
+
toolbarQuickFilterLabel: '搜尋',
|
|
35
|
+
toolbarQuickFilterDeleteIconLabel: '清除',
|
|
36
|
+
// Export selector toolbar button text
|
|
37
|
+
toolbarExport: '匯出',
|
|
38
|
+
toolbarExportLabel: '匯出',
|
|
39
|
+
toolbarExportCSV: '匯出 CSV',
|
|
40
|
+
toolbarExportPrint: '列印',
|
|
41
|
+
toolbarExportExcel: '匯出 Excel',
|
|
42
|
+
// Columns panel text
|
|
43
|
+
columnsPanelTextFieldLabel: '欄位搜尋',
|
|
44
|
+
columnsPanelTextFieldPlaceholder: '欄位名稱',
|
|
45
|
+
columnsPanelDragIconLabel: '排序欄位',
|
|
46
|
+
columnsPanelShowAllButton: '顯示所有',
|
|
47
|
+
columnsPanelHideAllButton: '隱藏所有',
|
|
48
|
+
// Filter panel text
|
|
49
|
+
filterPanelAddFilter: '增加篩選器',
|
|
50
|
+
filterPanelDeleteIconLabel: '刪除',
|
|
51
|
+
filterPanelLinkOperator: '邏輯運算子',
|
|
52
|
+
filterPanelOperators: '運算子',
|
|
53
|
+
// TODO v6: rename to filterPanelOperator
|
|
54
|
+
filterPanelOperatorAnd: '且',
|
|
55
|
+
filterPanelOperatorOr: '或',
|
|
56
|
+
filterPanelColumns: '欄位',
|
|
57
|
+
filterPanelInputLabel: '值',
|
|
58
|
+
filterPanelInputPlaceholder: '篩選值',
|
|
59
|
+
// Filter operators text
|
|
60
|
+
filterOperatorContains: '包含',
|
|
61
|
+
filterOperatorEquals: '等於',
|
|
62
|
+
filterOperatorStartsWith: '以...開頭',
|
|
63
|
+
filterOperatorEndsWith: '以...結束',
|
|
64
|
+
filterOperatorIs: '為',
|
|
65
|
+
filterOperatorNot: '不為',
|
|
66
|
+
filterOperatorAfter: '...之後',
|
|
67
|
+
filterOperatorOnOrAfter: '...(含)之後',
|
|
68
|
+
filterOperatorBefore: '...之前',
|
|
69
|
+
filterOperatorOnOrBefore: '...(含)之前',
|
|
70
|
+
filterOperatorIsEmpty: '為空',
|
|
71
|
+
filterOperatorIsNotEmpty: '不為空',
|
|
72
|
+
filterOperatorIsAnyOf: '是其中之一',
|
|
73
|
+
// Filter values text
|
|
74
|
+
filterValueAny: '任何值',
|
|
75
|
+
filterValueTrue: '真',
|
|
76
|
+
filterValueFalse: '假',
|
|
77
|
+
// Column menu text
|
|
78
|
+
columnMenuLabel: '選單',
|
|
79
|
+
columnMenuShowColumns: '顯示欄位',
|
|
80
|
+
columnMenuFilter: '篩選器',
|
|
81
|
+
columnMenuHideColumn: '隱藏',
|
|
82
|
+
columnMenuUnsort: '預設排序',
|
|
83
|
+
columnMenuSortAsc: '升序',
|
|
84
|
+
columnMenuSortDesc: '降序',
|
|
85
|
+
// Column header text
|
|
86
|
+
columnHeaderFiltersTooltipActive: count => `${count} 個篩選器`,
|
|
87
|
+
columnHeaderFiltersLabel: '顯示篩選器',
|
|
88
|
+
columnHeaderSortIconLabel: '排序',
|
|
89
|
+
// Rows selected footer text
|
|
90
|
+
footerRowSelected: count => `已選取 ${count.toLocaleString()} 個`,
|
|
91
|
+
// Total row amount footer text
|
|
92
|
+
footerTotalRows: '總數:',
|
|
93
|
+
// Total visible row amount footer text
|
|
94
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
|
|
95
|
+
// Checkbox selection text
|
|
96
|
+
checkboxSelectionHeaderName: '核取方塊',
|
|
97
|
+
checkboxSelectionSelectAllRows: '全選',
|
|
98
|
+
checkboxSelectionUnselectAllRows: '取消全選',
|
|
99
|
+
checkboxSelectionSelectRow: '選取',
|
|
100
|
+
checkboxSelectionUnselectRow: '取消選取',
|
|
101
|
+
// Boolean cell text
|
|
102
|
+
booleanCellTrueLabel: '真',
|
|
103
|
+
booleanCellFalseLabel: '假',
|
|
104
|
+
// Actions cell more text
|
|
105
|
+
actionsCellMore: '查看更多',
|
|
106
|
+
// Column pinning text
|
|
107
|
+
pinToLeft: '釘選在左側',
|
|
108
|
+
pinToRight: '釘選在右側',
|
|
109
|
+
unpin: '取消釘選',
|
|
110
|
+
// Tree Data
|
|
111
|
+
treeDataGroupingHeaderName: '群組',
|
|
112
|
+
treeDataExpand: '查看子項目',
|
|
113
|
+
treeDataCollapse: '隱藏子項目',
|
|
114
|
+
// Grouping columns
|
|
115
|
+
groupingColumnHeaderName: '群組',
|
|
116
|
+
groupColumn: name => `以 ${name} 分組`,
|
|
117
|
+
unGroupColumn: name => `取消以 ${name} 分組`,
|
|
118
|
+
// Master/detail
|
|
119
|
+
detailPanelToggle: '切換顯示詳細資訊',
|
|
120
|
+
expandDetailPanel: '展開',
|
|
121
|
+
collapseDetailPanel: '摺疊',
|
|
122
|
+
// Row reordering text
|
|
123
|
+
rowReorderingHeaderName: '排序' // Aggregation
|
|
124
|
+
// aggregationMenuItemHeader: 'Aggregation',
|
|
125
|
+
// aggregationFunctionLabelSum: 'sum',
|
|
126
|
+
// aggregationFunctionLabelAvg: 'avg',
|
|
127
|
+
// aggregationFunctionLabelMin: 'min',
|
|
128
|
+
// aggregationFunctionLabelMax: 'max',
|
|
129
|
+
// aggregationFunctionLabelSize: 'size',
|
|
130
|
+
|
|
131
|
+
};
|
|
132
|
+
const zhTW = (0, _getGridLocalization.getGridLocalization)(zhTWGrid, _locale.zhTW);
|
|
133
|
+
exports.zhTW = zhTW;
|
|
@@ -61,6 +61,7 @@ exports.GridEvents = GridEvents;
|
|
|
61
61
|
GridEvents["pageChange"] = "pageChange";
|
|
62
62
|
GridEvents["pageSizeChange"] = "pageSizeChange";
|
|
63
63
|
GridEvents["rowGroupingModelChange"] = "rowGroupingModelChange";
|
|
64
|
+
GridEvents["aggregationModelChange"] = "aggregationModelChange";
|
|
64
65
|
GridEvents["rowsScroll"] = "rowsScroll";
|
|
65
66
|
GridEvents["rowsScrollEnd"] = "rowsScrollEnd";
|
|
66
67
|
GridEvents["columnSeparatorMouseDown"] = "columnSeparatorMouseDown";
|
|
@@ -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.14.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",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"directory": "packages/grid/x-data-grid"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@babel/runtime": "^7.
|
|
38
|
+
"@babel/runtime": "^7.18.6",
|
|
39
39
|
"@mui/utils": "^5.4.1",
|
|
40
|
-
"clsx": "^1.
|
|
40
|
+
"clsx": "^1.2.1",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^4.1.6"
|
|
43
43
|
},
|
|
@@ -9,4 +9,4 @@ export interface Localization {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export declare const getGridLocalization: (gridTranslations: Partial<GridLocaleText>, coreTranslations?: CoreLocalization
|
|
12
|
+
export declare const getGridLocalization: (gridTranslations: Partial<GridLocaleText>, coreTranslations?: CoreLocalization) => Localization;
|
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'];
|