@mui/x-data-grid 5.12.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/components/containers/GridRootStyles.js +3 -0
- package/components/panel/filterPanel/GridFilterPanel.js +1 -3
- package/components/toolbar/GridToolbarQuickFilter.d.ts +7 -0
- package/components/toolbar/GridToolbarQuickFilter.js +57 -4
- package/constants/defaultGridSlotsComponents.js +2 -1
- package/hooks/core/useGridStateInitialization.js +19 -6
- package/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/hooks/features/columns/useGridColumns.js +1 -1
- package/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/hooks/features/filter/gridFilterSelector.d.ts +5 -0
- package/hooks/features/filter/gridFilterSelector.js +6 -0
- package/hooks/features/filter/gridFilterUtils.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.js +2 -4
- package/hooks/features/filter/useGridFilter.js +24 -7
- package/hooks/features/pagination/useGridPage.js +1 -1
- package/hooks/features/pagination/useGridPageSize.js +1 -1
- package/hooks/features/selection/useGridSelection.js +1 -1
- package/hooks/features/sorting/useGridSorting.js +1 -1
- package/index.js +1 -1
- package/legacy/components/containers/GridRootStyles.js +6 -4
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +2 -4
- package/legacy/components/toolbar/GridToolbarQuickFilter.js +67 -6
- package/legacy/constants/defaultGridSlotsComponents.js +2 -1
- package/legacy/hooks/core/useGridStateInitialization.js +18 -6
- package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/legacy/hooks/features/columns/useGridColumns.js +1 -1
- package/legacy/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/legacy/hooks/features/filter/gridFilterSelector.js +8 -0
- package/legacy/hooks/features/filter/gridFilterUtils.js +3 -5
- package/legacy/hooks/features/filter/useGridFilter.js +28 -7
- package/legacy/hooks/features/pagination/useGridPage.js +1 -1
- package/legacy/hooks/features/pagination/useGridPageSize.js +1 -1
- package/legacy/hooks/features/selection/useGridSelection.js +1 -1
- package/legacy/hooks/features/sorting/useGridSorting.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locales/jaJP.js +28 -24
- package/legacy/locales/ruRU.js +6 -6
- package/locales/jaJP.js +24 -24
- package/locales/ruRU.js +6 -6
- package/models/api/gridCallbackDetails.d.ts +6 -1
- package/models/api/gridFilterApi.d.ts +8 -1
- package/models/api/gridStateApi.d.ts +14 -3
- package/models/events/gridEventLookup.d.ts +3 -0
- package/models/gridIconSlotsComponent.d.ts +5 -0
- package/models/props/DataGridProps.d.ts +1 -1
- package/modern/components/containers/GridRootStyles.js +3 -0
- package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -3
- package/modern/components/toolbar/GridToolbarQuickFilter.js +57 -4
- package/modern/constants/defaultGridSlotsComponents.js +2 -1
- package/modern/hooks/core/useGridStateInitialization.js +19 -6
- package/modern/hooks/features/columnMenu/useGridColumnMenu.js +22 -0
- package/modern/hooks/features/columns/useGridColumns.js +1 -1
- package/modern/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/modern/hooks/features/filter/gridFilterSelector.js +6 -0
- package/modern/hooks/features/filter/gridFilterUtils.js +2 -4
- package/modern/hooks/features/filter/useGridFilter.js +24 -7
- package/modern/hooks/features/pagination/useGridPage.js +1 -1
- package/modern/hooks/features/pagination/useGridPageSize.js +1 -1
- package/modern/hooks/features/selection/useGridSelection.js +1 -1
- package/modern/hooks/features/sorting/useGridSorting.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locales/jaJP.js +24 -24
- package/modern/locales/ruRU.js +6 -6
- package/node/components/containers/GridRootStyles.js +3 -0
- package/node/components/panel/filterPanel/GridFilterPanel.js +1 -3
- package/node/components/toolbar/GridToolbarQuickFilter.js +61 -4
- package/node/constants/defaultGridSlotsComponents.js +2 -1
- package/node/hooks/core/useGridStateInitialization.js +19 -6
- package/node/hooks/features/columnMenu/useGridColumnMenu.js +23 -0
- package/node/hooks/features/columns/useGridColumns.js +1 -1
- package/node/hooks/features/editRows/useGridEditing.old.js +1 -1
- package/node/hooks/features/filter/gridFilterSelector.js +9 -2
- package/node/hooks/features/filter/gridFilterUtils.js +2 -4
- package/node/hooks/features/filter/useGridFilter.js +24 -7
- package/node/hooks/features/pagination/useGridPage.js +1 -1
- package/node/hooks/features/pagination/useGridPageSize.js +1 -1
- package/node/hooks/features/selection/useGridSelection.js +1 -1
- package/node/hooks/features/sorting/useGridSorting.js +1 -1
- package/node/index.js +1 -1
- package/node/locales/jaJP.js +24 -24
- package/node/locales/ruRU.js +6 -6
- package/package.json +3 -2
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,10 @@ const ruRUGrid = {
|
|
|
147
147
|
// Grouping columns
|
|
148
148
|
groupingColumnHeaderName: 'Группа',
|
|
149
149
|
groupColumn: name => `Сгруппировать по ${name}`,
|
|
150
|
-
unGroupColumn: name => `Разгруппировать по ${name}
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
// Row reordering text
|
|
150
|
+
unGroupColumn: name => `Разгруппировать по ${name}`,
|
|
151
|
+
// Master/detail
|
|
152
|
+
expandDetailPanel: 'Развернуть',
|
|
153
|
+
collapseDetailPanel: 'Свернуть' // Row reordering text
|
|
154
154
|
// rowReorderingHeaderName: 'Row reordering',
|
|
155
155
|
|
|
156
156
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.1",
|
|
4
4
|
"description": "The community edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@mui/material": "^5.4.1",
|
|
46
46
|
"@mui/system": "^5.4.1",
|
|
47
|
-
"react": "^17.0.2 || ^18.0.0"
|
|
47
|
+
"react": "^17.0.2 || ^18.0.0",
|
|
48
|
+
"react-dom": "^17.0.2 || ^18.0.0"
|
|
48
49
|
},
|
|
49
50
|
"setupFiles": [
|
|
50
51
|
"<rootDir>/src/setupTests.js"
|