@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.
- package/CHANGELOG.md +249 -1
- package/DataGridPremium/DataGridPremium.js +9 -2
- package/DataGridPremium/DataGridPremium.mjs +9 -2
- package/components/GridAggregationHeader.d.mts +1 -1
- package/components/GridAggregationHeader.d.ts +1 -1
- package/components/GridBottomContainer.d.mts +1 -1
- package/components/GridBottomContainer.d.ts +1 -1
- package/components/GridDataSourceGroupingCriteriaCell.d.mts +2 -1
- package/components/GridDataSourceGroupingCriteriaCell.d.ts +2 -1
- package/components/GridExcelExportMenuItem.d.mts +1 -1
- package/components/GridExcelExportMenuItem.d.ts +1 -1
- package/components/GridGroupingColumnFooterCell.d.mts +1 -1
- package/components/GridGroupingColumnFooterCell.d.ts +1 -1
- package/components/GridGroupingColumnLeafCell.d.mts +1 -1
- package/components/GridGroupingColumnLeafCell.d.ts +1 -1
- package/components/GridGroupingCriteriaCell.d.mts +2 -1
- package/components/GridGroupingCriteriaCell.d.ts +2 -1
- package/components/GridPremiumColumnMenu.d.mts +1 -1
- package/components/GridPremiumColumnMenu.d.ts +1 -1
- package/components/GridPremiumToolbar.d.mts +2 -1
- package/components/GridPremiumToolbar.d.ts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanel.d.mts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanel.d.ts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.mts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.mts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelConversationsMenu.d.ts +2 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.mts +1 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +1 -1
- package/components/chartsPanel/GridChartsPanel.d.mts +2 -1
- package/components/chartsPanel/GridChartsPanel.d.ts +2 -1
- package/components/chartsPanel/chart/GridChartsPanelChart.d.mts +1 -1
- package/components/chartsPanel/chart/GridChartsPanelChart.d.ts +1 -1
- package/components/chartsPanel/customize/GridChartsPanelCustomize.d.mts +2 -1
- package/components/chartsPanel/customize/GridChartsPanelCustomize.d.ts +2 -1
- package/components/chartsPanel/data/GridChartsPanelData.d.mts +2 -1
- package/components/chartsPanel/data/GridChartsPanelData.d.ts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataBody.d.mts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataBody.d.ts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataField.d.mts +2 -2
- package/components/chartsPanel/data/GridChartsPanelDataField.d.ts +2 -2
- package/components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.mts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataFieldMenu.d.ts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataHeader.d.mts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataHeader.d.ts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataSearch.d.mts +2 -1
- package/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts +2 -1
- package/components/collapsible/Collapsible.d.mts +1 -1
- package/components/collapsible/Collapsible.d.ts +1 -1
- package/components/collapsible/CollapsiblePanel.d.mts +1 -1
- package/components/collapsible/CollapsiblePanel.d.ts +1 -1
- package/components/collapsible/CollapsibleTrigger.d.mts +1 -1
- package/components/collapsible/CollapsibleTrigger.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.ts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.mts +2 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts +2 -1
- package/components/pivotPanel/GridPivotPanel.d.mts +2 -1
- package/components/pivotPanel/GridPivotPanel.d.ts +2 -1
- package/components/pivotPanel/GridPivotPanelBody.d.mts +2 -1
- package/components/pivotPanel/GridPivotPanelBody.d.ts +2 -1
- package/components/pivotPanel/GridPivotPanelField.d.mts +1 -1
- package/components/pivotPanel/GridPivotPanelField.d.ts +1 -1
- package/components/pivotPanel/GridPivotPanelFieldMenu.d.mts +2 -1
- package/components/pivotPanel/GridPivotPanelFieldMenu.d.ts +2 -1
- package/components/pivotPanel/GridPivotPanelHeader.d.mts +2 -1
- package/components/pivotPanel/GridPivotPanelHeader.d.ts +2 -1
- package/components/pivotPanel/GridPivotPanelSearch.d.mts +2 -1
- package/components/pivotPanel/GridPivotPanelSearch.d.ts +2 -1
- package/components/prompt/GridPrompt.d.mts +2 -1
- package/components/prompt/GridPrompt.d.ts +2 -1
- package/components/promptField/GridPromptField.d.mts +1 -1
- package/components/promptField/GridPromptField.d.ts +1 -1
- package/components/resizablePanel/ResizablePanel.d.mts +1 -1
- package/components/resizablePanel/ResizablePanel.d.ts +1 -1
- package/components/resizablePanel/ResizablePanelHandle.d.mts +1 -1
- package/components/resizablePanel/ResizablePanelHandle.d.ts +1 -1
- package/components/sidebar/Sidebar.d.mts +1 -1
- package/components/sidebar/Sidebar.d.ts +1 -1
- package/components/sidebar/SidebarHeader.d.mts +1 -1
- package/components/sidebar/SidebarHeader.d.ts +1 -1
- package/context/GridChartsIntegrationContextProvider.d.mts +1 -1
- package/context/GridChartsIntegrationContextProvider.d.ts +1 -1
- package/context/GridChartsRendererProxy.d.mts +1 -1
- package/context/GridChartsRendererProxy.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourcePremium.js +4 -1
- package/hooks/features/dataSource/useGridDataSourcePremium.mjs +4 -1
- package/hooks/features/export/serializer/excelSerializer.js +2 -2
- package/hooks/features/export/serializer/excelSerializer.mjs +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- 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
|
-
}):
|
|
24
|
-
declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps):
|
|
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
|
-
}):
|
|
24
|
-
declare function GridChartsPanelDataField(props: GridChartsPanelDataFieldProps):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
3
|
+
export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): React.JSX.Element | null;
|
|
@@ -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
|
-
}):
|
|
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
|
-
}):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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
|
|
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
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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):
|
|
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
|
-
|
|
119
|
+
cellValue = formattedValue?.label;
|
|
120
120
|
} else {
|
|
121
|
-
|
|
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
|
-
|
|
108
|
+
cellValue = formattedValue?.label;
|
|
109
109
|
} else {
|
|
110
|
-
|
|
110
|
+
cellValue = formattedValue;
|
|
111
111
|
}
|
|
112
112
|
break;
|
|
113
113
|
}
|
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.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.
|
|
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.
|
|
43
|
-
"@mui/x-
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-
|
|
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",
|