@mui/x-data-grid-premium 9.6.0 → 9.8.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 +241 -2
- package/DataGridPremium/DataGridPremium.d.mts +1 -1
- package/DataGridPremium/DataGridPremium.d.ts +1 -1
- package/DataGridPremium/DataGridPremium.js +2 -2
- package/DataGridPremium/DataGridPremium.mjs +2 -2
- package/DataGridPremium/useDataGridPremiumComponent.d.mts +1 -1
- package/DataGridPremium/useDataGridPremiumComponent.d.ts +1 -1
- package/components/GridAggregationHeader.d.mts +2 -2
- package/components/GridAggregationHeader.d.ts +2 -2
- package/components/GridDataSourceGroupingCriteriaCell.d.mts +1 -1
- package/components/GridDataSourceGroupingCriteriaCell.d.ts +1 -1
- package/components/GridEmptyPivotOverlay.d.mts +1 -1
- package/components/GridEmptyPivotOverlay.d.ts +1 -1
- package/components/GridGroupingCriteriaCell.d.mts +1 -1
- package/components/GridGroupingCriteriaCell.d.ts +1 -1
- package/components/GridPremiumColumnMenu.d.mts +1 -1
- package/components/GridPremiumColumnMenu.d.ts +1 -1
- package/components/GridPremiumToolbar.d.mts +1 -1
- package/components/GridPremiumToolbar.d.ts +1 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.mts +2 -2
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +2 -2
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +2 -2
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.mjs +2 -2
- package/components/chartsPanel/ChartsPanelTrigger.d.mts +1 -1
- package/components/chartsPanel/ChartsPanelTrigger.d.ts +1 -1
- package/components/chartsPanel/data/GridChartsPanelDataSearch.d.mts +1 -1
- package/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.mts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.mts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.mts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.mts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.mts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts +1 -1
- package/components/pivotPanel/GridPivotPanelSearch.d.mts +1 -1
- package/components/pivotPanel/GridPivotPanelSearch.d.ts +1 -1
- package/components/pivotPanel/PivotPanelTrigger.d.mts +2 -2
- package/components/pivotPanel/PivotPanelTrigger.d.ts +2 -2
- package/components/promptField/GridPromptField.d.mts +1 -1
- package/components/promptField/GridPromptField.d.ts +1 -1
- package/components/promptField/PromptField.d.mts +1 -1
- package/components/promptField/PromptField.d.ts +1 -1
- package/components/promptField/PromptFieldControl.d.mts +1 -1
- package/components/promptField/PromptFieldControl.d.ts +1 -1
- package/components/promptField/PromptFieldRecord.d.mts +1 -1
- package/components/promptField/PromptFieldRecord.d.ts +1 -1
- package/components/promptField/PromptFieldSend.d.mts +1 -1
- package/components/promptField/PromptFieldSend.d.ts +1 -1
- package/hooks/features/aggregation/createAggregationLookup.js +2 -0
- package/hooks/features/aggregation/createAggregationLookup.mjs +2 -0
- package/hooks/features/aggregation/gridAggregationSelectors.d.mts +3 -3
- package/hooks/features/aggregation/gridAggregationSelectors.d.ts +3 -3
- package/hooks/features/aggregation/gridAggregationSelectors.js +1 -1
- package/hooks/features/aggregation/gridAggregationSelectors.mjs +1 -1
- package/hooks/features/aggregation/gridAggregationUtils.d.mts +2 -2
- package/hooks/features/aggregation/gridAggregationUtils.d.ts +2 -2
- package/hooks/features/aggregation/useGridAggregation.d.mts +1 -1
- package/hooks/features/aggregation/useGridAggregation.d.ts +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.mts +2 -2
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +2 -2
- package/hooks/features/aiAssistant/useGridAiAssistant.d.mts +1 -1
- package/hooks/features/aiAssistant/useGridAiAssistant.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.d.mts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +2 -2
- package/hooks/features/cellSelection/useGridCellSelection.mjs +2 -2
- package/hooks/features/chartsIntegration/useGridChartsIntegration.d.mts +1 -1
- package/hooks/features/chartsIntegration/useGridChartsIntegration.d.ts +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.d.mts +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.d.ts +1 -1
- package/hooks/features/dataSource/utils.d.mts +1 -1
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditable.d.mts +1 -1
- package/hooks/features/editing/useGridCellEditable.d.ts +1 -1
- package/hooks/features/export/serializer/excelSerializer.d.mts +3 -3
- package/hooks/features/export/serializer/excelSerializer.d.ts +3 -3
- package/hooks/features/export/serializer/excelSerializer.js +2 -2
- package/hooks/features/export/serializer/excelSerializer.mjs +2 -2
- package/hooks/features/history/useGridHistory.d.mts +1 -1
- package/hooks/features/history/useGridHistory.d.ts +1 -1
- package/hooks/features/pivoting/useGridPivoting.d.mts +2 -2
- package/hooks/features/pivoting/useGridPivoting.d.ts +2 -2
- package/hooks/features/pivoting/utils.d.mts +1 -1
- package/hooks/features/pivoting/utils.d.ts +1 -1
- package/hooks/features/rowGrouping/createGroupingColDef.d.mts +3 -2
- package/hooks/features/rowGrouping/createGroupingColDef.d.ts +3 -2
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.mts +2 -1
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +2 -1
- package/hooks/features/rowGrouping/useGridRowGrouping.d.mts +1 -1
- package/hooks/features/rowGrouping/useGridRowGrouping.d.ts +1 -1
- package/hooks/features/rowReorder/operations.d.mts +2 -1
- package/hooks/features/rowReorder/operations.d.ts +2 -1
- package/hooks/features/rows/useGridParamsOverridableMethods.js +2 -2
- package/hooks/features/rows/useGridParamsOverridableMethods.mjs +2 -2
- package/hooks/features/sidebar/useGridSidebar.d.mts +1 -1
- package/hooks/features/sidebar/useGridSidebar.d.ts +1 -1
- package/hooks/utils/useGridApiContext.d.mts +1 -1
- package/hooks/utils/useGridApiContext.d.ts +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.d.mts +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.d.ts +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.js +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +7 -6
|
@@ -34,7 +34,7 @@ const useKeepGroupedColumnsHidden = props => {
|
|
|
34
34
|
const initialProps = React.useRef(props);
|
|
35
35
|
const rowGroupingModel = React.useRef(props.rowGroupingModel ?? props.initialState?.rowGrouping?.model);
|
|
36
36
|
React.useEffect(() => {
|
|
37
|
-
props.apiRef.current?.subscribeEvent('rowGroupingModelChange', newModel => {
|
|
37
|
+
return props.apiRef.current?.subscribeEvent('rowGroupingModelChange', newModel => {
|
|
38
38
|
const columnVisibilityModel = updateColumnVisibilityModel((0, _xDataGridPro.gridColumnVisibilityModelSelector)(props.apiRef), newModel, rowGroupingModel.current);
|
|
39
39
|
props.apiRef.current?.setColumnVisibilityModel(columnVisibilityModel);
|
|
40
40
|
rowGroupingModel.current = newModel;
|
|
@@ -27,7 +27,7 @@ export const useKeepGroupedColumnsHidden = props => {
|
|
|
27
27
|
const initialProps = React.useRef(props);
|
|
28
28
|
const rowGroupingModel = React.useRef(props.rowGroupingModel ?? props.initialState?.rowGrouping?.model);
|
|
29
29
|
React.useEffect(() => {
|
|
30
|
-
props.apiRef.current?.subscribeEvent('rowGroupingModelChange', newModel => {
|
|
30
|
+
return props.apiRef.current?.subscribeEvent('rowGroupingModelChange', newModel => {
|
|
31
31
|
const columnVisibilityModel = updateColumnVisibilityModel(gridColumnVisibilityModelSelector(props.apiRef), newModel, rowGroupingModel.current);
|
|
32
32
|
props.apiRef.current?.setColumnVisibilityModel(columnVisibilityModel);
|
|
33
33
|
rowGroupingModel.current = newModel;
|
package/index.js
CHANGED
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.8.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Data Grid Components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -34,14 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/runtime": "^7.29.7",
|
|
37
|
-
"@
|
|
37
|
+
"@base-ui/utils": "^0.3.0",
|
|
38
|
+
"@mui/utils": "^9.1.1",
|
|
38
39
|
"@mui/x-internal-exceljs-fork": "5.0.0",
|
|
39
40
|
"clsx": "^2.1.1",
|
|
40
41
|
"prop-types": "^15.8.1",
|
|
41
|
-
"@mui/x-data-grid": "^9.
|
|
42
|
-
"@mui/x-
|
|
43
|
-
"@mui/x-
|
|
44
|
-
"@mui/x-
|
|
42
|
+
"@mui/x-data-grid-pro": "^9.8.0",
|
|
43
|
+
"@mui/x-license": "^9.8.0",
|
|
44
|
+
"@mui/x-data-grid": "^9.8.0",
|
|
45
|
+
"@mui/x-internals": "^9.8.0"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"@emotion/react": "^11.9.0",
|