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