@mui/x-data-grid-premium 9.7.0 → 9.9.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +249 -1
  2. package/DataGridPremium/DataGridPremium.js +9 -2
  3. package/DataGridPremium/DataGridPremium.mjs +9 -2
  4. package/components/GridAggregationHeader.d.mts +1 -1
  5. package/components/GridAggregationHeader.d.ts +1 -1
  6. package/components/GridBottomContainer.d.mts +1 -1
  7. package/components/GridBottomContainer.d.ts +1 -1
  8. package/components/GridDataSourceGroupingCriteriaCell.d.mts +2 -1
  9. package/components/GridDataSourceGroupingCriteriaCell.d.ts +2 -1
  10. package/components/GridExcelExportMenuItem.d.mts +1 -1
  11. package/components/GridExcelExportMenuItem.d.ts +1 -1
  12. package/components/GridGroupingColumnFooterCell.d.mts +1 -1
  13. package/components/GridGroupingColumnFooterCell.d.ts +1 -1
  14. package/components/GridGroupingColumnLeafCell.d.mts +1 -1
  15. package/components/GridGroupingColumnLeafCell.d.ts +1 -1
  16. package/components/GridGroupingCriteriaCell.d.mts +2 -1
  17. package/components/GridGroupingCriteriaCell.d.ts +2 -1
  18. package/components/GridPremiumColumnMenu.d.mts +1 -1
  19. package/components/GridPremiumColumnMenu.d.ts +1 -1
  20. package/components/GridPremiumToolbar.d.mts +2 -1
  21. package/components/GridPremiumToolbar.d.ts +2 -1
  22. package/components/aiAssistantPanel/GridAiAssistantPanel.d.mts +2 -1
  23. package/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +2 -1
  24. package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.mts +2 -1
  25. package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +2 -1
  26. package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.mts +2 -1
  27. package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +2 -1
  28. package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.mts +1 -1
  29. package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +1 -1
  30. package/components/chartsPanel/GridChartsPanel.d.mts +2 -1
  31. package/components/chartsPanel/GridChartsPanel.d.ts +2 -1
  32. package/components/chartsPanel/chart/GridChartsPanelChart.d.mts +1 -1
  33. package/components/chartsPanel/chart/GridChartsPanelChart.d.ts +1 -1
  34. package/components/chartsPanel/customize/GridChartsPanelCustomize.d.mts +2 -1
  35. package/components/chartsPanel/customize/GridChartsPanelCustomize.d.ts +2 -1
  36. package/components/chartsPanel/data/GridChartsPanelData.d.mts +2 -1
  37. package/components/chartsPanel/data/GridChartsPanelData.d.ts +2 -1
  38. package/components/chartsPanel/data/GridChartsPanelDataBody.d.mts +2 -1
  39. package/components/chartsPanel/data/GridChartsPanelDataBody.d.ts +2 -1
  40. package/components/chartsPanel/data/GridChartsPanelDataField.d.mts +2 -2
  41. package/components/chartsPanel/data/GridChartsPanelDataField.d.ts +2 -2
  42. package/components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.mts +2 -1
  43. package/components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.ts +2 -1
  44. package/components/chartsPanel/data/GridChartsPanelDataHeader.d.mts +2 -1
  45. package/components/chartsPanel/data/GridChartsPanelDataHeader.d.ts +2 -1
  46. package/components/chartsPanel/data/GridChartsPanelDataSearch.d.mts +2 -1
  47. package/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts +2 -1
  48. package/components/collapsible/Collapsible.d.mts +1 -1
  49. package/components/collapsible/Collapsible.d.ts +1 -1
  50. package/components/collapsible/CollapsiblePanel.d.mts +1 -1
  51. package/components/collapsible/CollapsiblePanel.d.ts +1 -1
  52. package/components/collapsible/CollapsibleTrigger.d.mts +1 -1
  53. package/components/collapsible/CollapsibleTrigger.d.ts +1 -1
  54. package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.mts +2 -1
  55. package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts +2 -1
  56. package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.mts +2 -1
  57. package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts +2 -1
  58. package/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.mts +2 -1
  59. package/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.ts +2 -1
  60. package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.mts +2 -1
  61. package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts +2 -1
  62. package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.mts +2 -1
  63. package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts +2 -1
  64. package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.mts +2 -1
  65. package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts +2 -1
  66. package/components/pivotPanel/GridPivotPanel.d.mts +2 -1
  67. package/components/pivotPanel/GridPivotPanel.d.ts +2 -1
  68. package/components/pivotPanel/GridPivotPanelBody.d.mts +2 -1
  69. package/components/pivotPanel/GridPivotPanelBody.d.ts +2 -1
  70. package/components/pivotPanel/GridPivotPanelField.d.mts +1 -1
  71. package/components/pivotPanel/GridPivotPanelField.d.ts +1 -1
  72. package/components/pivotPanel/GridPivotPanelFieldMenu.d.mts +2 -1
  73. package/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +2 -1
  74. package/components/pivotPanel/GridPivotPanelHeader.d.mts +2 -1
  75. package/components/pivotPanel/GridPivotPanelHeader.d.ts +2 -1
  76. package/components/pivotPanel/GridPivotPanelSearch.d.mts +2 -1
  77. package/components/pivotPanel/GridPivotPanelSearch.d.ts +2 -1
  78. package/components/prompt/GridPrompt.d.mts +2 -1
  79. package/components/prompt/GridPrompt.d.ts +2 -1
  80. package/components/promptField/GridPromptField.d.mts +1 -1
  81. package/components/promptField/GridPromptField.d.ts +1 -1
  82. package/components/resizablePanel/ResizablePanel.d.mts +1 -1
  83. package/components/resizablePanel/ResizablePanel.d.ts +1 -1
  84. package/components/resizablePanel/ResizablePanelHandle.d.mts +1 -1
  85. package/components/resizablePanel/ResizablePanelHandle.d.ts +1 -1
  86. package/components/sidebar/Sidebar.d.mts +1 -1
  87. package/components/sidebar/Sidebar.d.ts +1 -1
  88. package/components/sidebar/SidebarHeader.d.mts +1 -1
  89. package/components/sidebar/SidebarHeader.d.ts +1 -1
  90. package/context/GridChartsIntegrationContextProvider.d.mts +1 -1
  91. package/context/GridChartsIntegrationContextProvider.d.ts +1 -1
  92. package/context/GridChartsRendererProxy.d.mts +1 -1
  93. package/context/GridChartsRendererProxy.d.ts +1 -1
  94. package/hooks/features/dataSource/useGridDataSourcePremium.js +4 -1
  95. package/hooks/features/dataSource/useGridDataSourcePremium.mjs +4 -1
  96. package/hooks/features/export/serializer/excelSerializer.js +2 -2
  97. package/hooks/features/export/serializer/excelSerializer.mjs +2 -2
  98. package/index.js +1 -1
  99. package/index.mjs +1 -1
  100. package/package.json +6 -6
@@ -20,6 +20,6 @@ export declare function AggregationSelect({
20
20
  }: {
21
21
  aggFunc: string;
22
22
  field: FieldTransferObject['field'];
23
- }): import("react/jsx-runtime").JSX.Element | null;
24
- declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps): import("react/jsx-runtime").JSX.Element;
23
+ }): React.JSX.Element | null;
24
+ declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps): React.JSX.Element;
25
25
  export { GridChartsPanelDataField };
@@ -20,6 +20,6 @@ export declare function AggregationSelect({
20
20
  }: {
21
21
  aggFunc: string;
22
22
  field: FieldTransferObject['field'];
23
- }): import("react/jsx-runtime").JSX.Element | null;
24
- declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps): import("react/jsx-runtime").JSX.Element;
23
+ }): React.JSX.Element | null;
24
+ declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps): React.JSX.Element;
25
25
  export { GridChartsPanelDataField };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { FieldTransferObject } from "./GridChartsPanelDataBody.mjs";
2
3
  interface GridChartsPanelDataFieldMenuProps {
3
4
  field: string;
@@ -6,5 +7,5 @@ interface GridChartsPanelDataFieldMenuProps {
6
7
  dimensionsLabel: string;
7
8
  valuesLabel: string;
8
9
  }
9
- declare function GridChartsPanelDataFieldMenu(props: GridChartsPanelDataFieldMenuProps): import("react/jsx-runtime").JSX.Element | null;
10
+ declare function GridChartsPanelDataFieldMenu(props: GridChartsPanelDataFieldMenuProps): React.JSX.Element | null;
10
11
  export { GridChartsPanelDataFieldMenu };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { FieldTransferObject } from "./GridChartsPanelDataBody.js";
2
3
  interface GridChartsPanelDataFieldMenuProps {
3
4
  field: string;
@@ -6,5 +7,5 @@ interface GridChartsPanelDataFieldMenuProps {
6
7
  dimensionsLabel: string;
7
8
  valuesLabel: string;
8
9
  }
9
- declare function GridChartsPanelDataFieldMenu(props: GridChartsPanelDataFieldMenuProps): import("react/jsx-runtime").JSX.Element | null;
10
+ declare function GridChartsPanelDataFieldMenu(props: GridChartsPanelDataFieldMenuProps): React.JSX.Element | null;
10
11
  export { GridChartsPanelDataFieldMenu };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  export interface GridChartsPanelDataHeaderProps {
2
3
  searchValue: string;
3
4
  onSearchValueChange: (value: string) => void;
4
5
  }
5
- declare function GridChartsPanelDataHeader(props: GridChartsPanelDataHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridChartsPanelDataHeader(props: GridChartsPanelDataHeaderProps): React.JSX.Element;
6
7
  export { GridChartsPanelDataHeader };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  export interface GridChartsPanelDataHeaderProps {
2
3
  searchValue: string;
3
4
  onSearchValueChange: (value: string) => void;
4
5
  }
5
- declare function GridChartsPanelDataHeader(props: GridChartsPanelDataHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridChartsPanelDataHeader(props: GridChartsPanelDataHeaderProps): React.JSX.Element;
6
7
  export { GridChartsPanelDataHeader };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { GridSlotProps } from '@mui/x-data-grid-pro';
2
3
  export type GridChartsPanelDataSearchProps = Pick<GridSlotProps['baseTextField'], 'value' | 'onChange'> & {
3
4
  onClear: () => void;
4
5
  };
5
- declare function GridChartsPanelDataSearch(props: GridChartsPanelDataSearchProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridChartsPanelDataSearch(props: GridChartsPanelDataSearchProps): React.JSX.Element;
6
7
  export { GridChartsPanelDataSearch };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { GridSlotProps } from '@mui/x-data-grid-pro';
2
3
  export type GridChartsPanelDataSearchProps = Pick<GridSlotProps['baseTextField'], 'value' | 'onChange'> & {
3
4
  onClear: () => void;
4
5
  };
5
- declare function GridChartsPanelDataSearch(props: GridChartsPanelDataSearchProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridChartsPanelDataSearch(props: GridChartsPanelDataSearchProps): React.JSX.Element;
6
7
  export { GridChartsPanelDataSearch };
@@ -2,5 +2,5 @@ import * as React from 'react';
2
2
  type CollapsibleProps = React.HTMLAttributes<HTMLDivElement> & {
3
3
  initiallyOpen?: boolean;
4
4
  };
5
- declare function Collapsible(props: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function Collapsible(props: CollapsibleProps): React.JSX.Element;
6
6
  export { Collapsible };
@@ -2,5 +2,5 @@ import * as React from 'react';
2
2
  type CollapsibleProps = React.HTMLAttributes<HTMLDivElement> & {
3
3
  initiallyOpen?: boolean;
4
4
  };
5
- declare function Collapsible(props: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function Collapsible(props: CollapsibleProps): React.JSX.Element;
6
6
  export { Collapsible };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type CollapsiblePanelProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function CollapsiblePanel(props: CollapsiblePanelProps): import("react/jsx-runtime").JSX.Element | null;
3
+ declare function CollapsiblePanel(props: CollapsiblePanelProps): React.JSX.Element | null;
4
4
  export { CollapsiblePanel };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type CollapsiblePanelProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function CollapsiblePanel(props: CollapsiblePanelProps): import("react/jsx-runtime").JSX.Element | null;
3
+ declare function CollapsiblePanel(props: CollapsiblePanelProps): React.JSX.Element | null;
4
4
  export { CollapsiblePanel };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type CollapsibleTriggerProps = React.HTMLAttributes<HTMLButtonElement>;
3
- declare function CollapsibleTrigger(props: CollapsibleTriggerProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger(props: CollapsibleTriggerProps): React.JSX.Element;
4
4
  export { CollapsibleTrigger };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type CollapsibleTriggerProps = React.HTMLAttributes<HTMLButtonElement>;
3
- declare function CollapsibleTrigger(props: CollapsibleTriggerProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger(props: CollapsibleTriggerProps): React.JSX.Element;
4
4
  export { CollapsibleTrigger };
@@ -1,5 +1,6 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): React.JSX.Element;
3
4
  declare namespace GridColumnMenuAggregationItem {
4
5
  var propTypes: any;
5
6
  }
@@ -1,5 +1,6 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): React.JSX.Element;
3
4
  declare namespace GridColumnMenuAggregationItem {
4
5
  var propTypes: any;
5
6
  }
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- declare function GridColumnMenuManagePanelItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function GridColumnMenuManagePanelItem(props: GridColumnMenuItemProps): React.JSX.Element;
3
4
  export { GridColumnMenuManagePanelItem };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- declare function GridColumnMenuManagePanelItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function GridColumnMenuManagePanelItem(props: GridColumnMenuItemProps): React.JSX.Element;
3
4
  export { GridColumnMenuManagePanelItem };
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ import * as React from 'react';
1
2
  import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
2
- export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
3
+ export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
- declare function GridPivotPanel(): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from 'react';
2
+ declare function GridPivotPanel(): React.JSX.Element;
2
3
  export { GridPivotPanel };
@@ -1,2 +1,3 @@
1
- declare function GridPivotPanel(): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from 'react';
2
+ declare function GridPivotPanel(): React.JSX.Element;
2
3
  export { GridPivotPanel };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  export interface FieldTransferObject {
2
3
  field: string;
3
4
  modelKey: 'columns' | 'rows' | 'values' | null;
@@ -6,5 +7,5 @@ declare function GridPivotPanelBody({
6
7
  searchValue
7
8
  }: {
8
9
  searchValue: string;
9
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): React.JSX.Element;
10
11
  export { GridPivotPanelBody };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  export interface FieldTransferObject {
2
3
  field: string;
3
4
  modelKey: 'columns' | 'rows' | 'values' | null;
@@ -6,5 +7,5 @@ declare function GridPivotPanelBody({
6
7
  searchValue
7
8
  }: {
8
9
  searchValue: string;
9
- }): import("react/jsx-runtime").JSX.Element;
10
+ }): React.JSX.Element;
10
11
  export { GridPivotPanelBody };
@@ -18,5 +18,5 @@ type GridPivotPanelFieldProps = {
18
18
  } | {
19
19
  modelKey: null;
20
20
  });
21
- declare function GridPivotPanelField(props: GridPivotPanelFieldProps): import("react/jsx-runtime").JSX.Element;
21
+ declare function GridPivotPanelField(props: GridPivotPanelFieldProps): React.JSX.Element;
22
22
  export { GridPivotPanelField };
@@ -18,5 +18,5 @@ type GridPivotPanelFieldProps = {
18
18
  } | {
19
19
  modelKey: null;
20
20
  });
21
- declare function GridPivotPanelField(props: GridPivotPanelFieldProps): import("react/jsx-runtime").JSX.Element;
21
+ declare function GridPivotPanelField(props: GridPivotPanelFieldProps): React.JSX.Element;
22
22
  export { GridPivotPanelField };
@@ -1,7 +1,8 @@
1
+ import * as React from 'react';
1
2
  import type { FieldTransferObject } from "./GridPivotPanelBody.mjs";
2
3
  interface GridPivotPanelFieldMenuProps {
3
4
  field: string;
4
5
  modelKey: FieldTransferObject['modelKey'];
5
6
  }
6
- declare function GridPivotPanelFieldMenu(props: GridPivotPanelFieldMenuProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function GridPivotPanelFieldMenu(props: GridPivotPanelFieldMenuProps): React.JSX.Element;
7
8
  export { GridPivotPanelFieldMenu };
@@ -1,7 +1,8 @@
1
+ import * as React from 'react';
1
2
  import type { FieldTransferObject } from "./GridPivotPanelBody.js";
2
3
  interface GridPivotPanelFieldMenuProps {
3
4
  field: string;
4
5
  modelKey: FieldTransferObject['modelKey'];
5
6
  }
6
- declare function GridPivotPanelFieldMenu(props: GridPivotPanelFieldMenuProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function GridPivotPanelFieldMenu(props: GridPivotPanelFieldMenuProps): React.JSX.Element;
7
8
  export { GridPivotPanelFieldMenu };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  export interface GridPivotPanelHeaderProps {
2
3
  searchValue: string;
3
4
  onSearchValueChange: (value: string) => void;
4
5
  }
5
- declare function GridPivotPanelHeader(props: GridPivotPanelHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPivotPanelHeader(props: GridPivotPanelHeaderProps): React.JSX.Element;
6
7
  export { GridPivotPanelHeader };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  export interface GridPivotPanelHeaderProps {
2
3
  searchValue: string;
3
4
  onSearchValueChange: (value: string) => void;
4
5
  }
5
- declare function GridPivotPanelHeader(props: GridPivotPanelHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPivotPanelHeader(props: GridPivotPanelHeaderProps): React.JSX.Element;
6
7
  export { GridPivotPanelHeader };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { GridSlotProps } from '@mui/x-data-grid-pro';
2
3
  export type GridPivotPanelSearchProps = Pick<GridSlotProps['baseTextField'], 'value' | 'onChange'> & {
3
4
  onClear: () => void;
4
5
  };
5
- declare function GridPivotPanelSearch(props: GridPivotPanelSearchProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPivotPanelSearch(props: GridPivotPanelSearchProps): React.JSX.Element;
6
7
  export { GridPivotPanelSearch };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { GridSlotProps } from '@mui/x-data-grid-pro';
2
3
  export type GridPivotPanelSearchProps = Pick<GridSlotProps['baseTextField'], 'value' | 'onChange'> & {
3
4
  onClear: () => void;
4
5
  };
5
- declare function GridPivotPanelSearch(props: GridPivotPanelSearchProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPivotPanelSearch(props: GridPivotPanelSearchProps): React.JSX.Element;
6
7
  export { GridPivotPanelSearch };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { Prompt } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.mjs";
2
3
  type GridPromptProps = Prompt & {
3
4
  onRerun: () => void;
4
5
  };
5
- declare function GridPrompt(props: GridPromptProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPrompt(props: GridPromptProps): React.JSX.Element;
6
7
  export { GridPrompt };
@@ -1,6 +1,7 @@
1
+ import * as React from 'react';
1
2
  import type { Prompt } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
2
3
  type GridPromptProps = Prompt & {
3
4
  onRerun: () => void;
4
5
  };
5
- declare function GridPrompt(props: GridPromptProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function GridPrompt(props: GridPromptProps): React.JSX.Element;
6
7
  export { GridPrompt };
@@ -1,3 +1,3 @@
1
1
  import type { PromptFieldProps } from "./PromptField.mjs";
2
- declare function GridPromptField(props: PromptFieldProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function GridPromptField(props: PromptFieldProps): import("react").JSX.Element;
3
3
  export { GridPromptField };
@@ -1,3 +1,3 @@
1
1
  import type { PromptFieldProps } from "./PromptField.js";
2
- declare function GridPromptField(props: PromptFieldProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function GridPromptField(props: PromptFieldProps): import("react").JSX.Element;
3
3
  export { GridPromptField };
@@ -6,5 +6,5 @@ export type ResizablePanelProps = React.HTMLAttributes<HTMLDivElement> & {
6
6
  */
7
7
  direction?: 'horizontal' | 'vertical';
8
8
  };
9
- declare function ResizablePanel(props: ResizablePanelProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function ResizablePanel(props: ResizablePanelProps): React.JSX.Element;
10
10
  export { ResizablePanel };
@@ -6,5 +6,5 @@ export type ResizablePanelProps = React.HTMLAttributes<HTMLDivElement> & {
6
6
  */
7
7
  direction?: 'horizontal' | 'vertical';
8
8
  };
9
- declare function ResizablePanel(props: ResizablePanelProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function ResizablePanel(props: ResizablePanelProps): React.JSX.Element;
10
10
  export { ResizablePanel };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type ResizablePanelHandleProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function ResizablePanelHandle(props: ResizablePanelHandleProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function ResizablePanelHandle(props: ResizablePanelHandleProps): React.JSX.Element;
4
4
  export { ResizablePanelHandle };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type ResizablePanelHandleProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function ResizablePanelHandle(props: ResizablePanelHandleProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function ResizablePanelHandle(props: ResizablePanelHandleProps): React.JSX.Element;
4
4
  export { ResizablePanelHandle };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type SidebarProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function Sidebar(props: SidebarProps): import("react/jsx-runtime").JSX.Element | null;
3
+ declare function Sidebar(props: SidebarProps): React.JSX.Element | null;
4
4
  export { Sidebar };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type SidebarProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function Sidebar(props: SidebarProps): import("react/jsx-runtime").JSX.Element | null;
3
+ declare function Sidebar(props: SidebarProps): React.JSX.Element | null;
4
4
  export { Sidebar };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type SidebarHeaderProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function SidebarHeader(props: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function SidebarHeader(props: SidebarHeaderProps): React.JSX.Element;
4
4
  export { SidebarHeader };
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  export type SidebarHeaderProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare function SidebarHeader(props: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function SidebarHeader(props: SidebarHeaderProps): React.JSX.Element;
4
4
  export { SidebarHeader };
@@ -4,4 +4,4 @@ export interface GridChartsIntegrationContextProviderProps {
4
4
  }
5
5
  export declare function GridChartsIntegrationContextProvider({
6
6
  children
7
- }: GridChartsIntegrationContextProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ }: GridChartsIntegrationContextProviderProps): React.JSX.Element;
@@ -4,4 +4,4 @@ export interface GridChartsIntegrationContextProviderProps {
4
4
  }
5
5
  export declare function GridChartsIntegrationContextProvider({
6
6
  children
7
- }: GridChartsIntegrationContextProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ }: GridChartsIntegrationContextProviderProps): React.JSX.Element;
@@ -27,7 +27,7 @@ export interface GridChartsRendererProxyProps {
27
27
  */
28
28
  onRender?: GridChartsRendererProxyRendererCallback;
29
29
  }
30
- declare function GridChartsRendererProxy(props: GridChartsRendererProxyProps): import("react/jsx-runtime").JSX.Element | null;
30
+ declare function GridChartsRendererProxy(props: GridChartsRendererProxyProps): React.JSX.Element | null;
31
31
  declare namespace GridChartsRendererProxy {
32
32
  var propTypes: any;
33
33
  }
@@ -27,7 +27,7 @@ export interface GridChartsRendererProxyProps {
27
27
  */
28
28
  onRender?: GridChartsRendererProxyRendererCallback;
29
29
  }
30
- declare function GridChartsRendererProxy(props: GridChartsRendererProxyProps): import("react/jsx-runtime").JSX.Element | null;
30
+ declare function GridChartsRendererProxy(props: GridChartsRendererProxyProps): React.JSX.Element | null;
31
31
  declare namespace GridChartsRendererProxy {
32
32
  var propTypes: any;
33
33
  }
@@ -128,7 +128,10 @@ See [server-side pivoting](https://mui.com/x/react-data-grid/server-side-data/pi
128
128
  const handleRowGroupingModelChange = React.useCallback(() => {
129
129
  // Clear the rows on every grouping model change to match the pre-fix behavior on
130
130
  // non-standard strategies (e.g. lazy loading) where `setRows([])` is required to
131
- // reset the existing grouping state.
131
+ // reset the existing grouping state. `dataSourceKeepPreviousData` is intentionally
132
+ // not honored here: changing the grouping model implies the `GroupedData` strategy
133
+ // is (about to be) active, and skipping the synchronous clear would render rows in
134
+ // stale sort order (https://github.com/mui/mui-x/pull/21619).
132
135
  apiRef.current.setRows([]);
133
136
  // The event listener is wired regardless of the active strategy
134
137
  // (see `runIf(!pivotActive && !!props.dataSource, ...)` below), so we have to gate the
@@ -121,7 +121,10 @@ See [server-side pivoting](https://mui.com/x/react-data-grid/server-side-data/pi
121
121
  const handleRowGroupingModelChange = React.useCallback(() => {
122
122
  // Clear the rows on every grouping model change to match the pre-fix behavior on
123
123
  // non-standard strategies (e.g. lazy loading) where `setRows([])` is required to
124
- // reset the existing grouping state.
124
+ // reset the existing grouping state. `dataSourceKeepPreviousData` is intentionally
125
+ // not honored here: changing the grouping model implies the `GroupedData` strategy
126
+ // is (about to be) active, and skipping the synchronous clear would render rows in
127
+ // stale sort order (https://github.com/mui/mui-x/pull/21619).
125
128
  apiRef.current.setRows([]);
126
129
  // The event listener is wired regardless of the active strategy
127
130
  // (see `runIf(!pivotActive && !!props.dataSource, ...)` below), so we have to gate the
@@ -116,9 +116,9 @@ const serializeRowUnsafe = (id, columns, apiRef, defaultValueOptionsFormulae, op
116
116
  }
117
117
  }
118
118
  if ((0, _internals.isObject)(formattedValue)) {
119
- serializedRow[castColumn.field] = formattedValue?.label;
119
+ cellValue = formattedValue?.label;
120
120
  } else {
121
- serializedRow[castColumn.field] = formattedValue;
121
+ cellValue = formattedValue;
122
122
  }
123
123
  break;
124
124
  }
@@ -105,9 +105,9 @@ export const serializeRowUnsafe = (id, columns, apiRef, defaultValueOptionsFormu
105
105
  }
106
106
  }
107
107
  if (isObject(formattedValue)) {
108
- serializedRow[castColumn.field] = formattedValue?.label;
108
+ cellValue = formattedValue?.label;
109
109
  } else {
110
- serializedRow[castColumn.field] = formattedValue;
110
+ cellValue = formattedValue;
111
111
  }
112
112
  break;
113
113
  }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v9.7.0
2
+ * @mui/x-data-grid-premium v9.9.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v9.7.0
2
+ * @mui/x-data-grid-premium v9.9.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-premium",
3
- "version": "9.7.0",
3
+ "version": "9.9.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",
@@ -35,14 +35,14 @@
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
+ "@mui/utils": "^9.2.0",
39
39
  "@mui/x-internal-exceljs-fork": "5.0.0",
40
40
  "clsx": "^2.1.1",
41
41
  "prop-types": "^15.8.1",
42
- "@mui/x-data-grid": "^9.7.0",
43
- "@mui/x-license": "^9.7.0",
44
- "@mui/x-internals": "^9.7.0",
45
- "@mui/x-data-grid-pro": "^9.7.0"
42
+ "@mui/x-data-grid": "^9.9.0",
43
+ "@mui/x-data-grid-pro": "^9.9.0",
44
+ "@mui/x-license": "^9.9.0",
45
+ "@mui/x-internals": "^9.9.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@emotion/react": "^11.9.0",