@mui/x-data-grid-premium 9.6.0 → 9.7.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 +111 -1
- 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/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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.7.0
|
|
4
|
+
|
|
5
|
+
_Jun 25, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🐞 Bugfixes
|
|
10
|
+
- 📚 Documentation improvements
|
|
11
|
+
|
|
12
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
13
|
+
@Anexus5919, @mustafajw07
|
|
14
|
+
|
|
15
|
+
The following team members contributed to this release:
|
|
16
|
+
@alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid@9.7.0`
|
|
21
|
+
|
|
22
|
+
- [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
|
|
23
|
+
- [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
|
|
24
|
+
- [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
|
|
25
|
+
- [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
|
|
26
|
+
- [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
|
|
27
|
+
- [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
|
|
28
|
+
- [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@9.7.0`.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.7.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.7.0`
|
|
41
|
+
|
|
42
|
+
- [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
|
|
43
|
+
- [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
|
|
44
|
+
- [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
|
|
45
|
+
- [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@9.7.0`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@9.7.0`
|
|
54
|
+
|
|
55
|
+
- [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
|
|
56
|
+
- [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
|
|
57
|
+
- [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
|
|
58
|
+
- [charts] Simplify classes type (#22626) @alexfauquette
|
|
59
|
+
- [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
|
|
60
|
+
- [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
|
|
61
|
+
- [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
|
|
62
|
+
- [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-charts@9.7.0`.
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-charts-pro@9.7.0`.
|
|
71
|
+
|
|
72
|
+
### Tree View
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-tree-view@9.7.0`
|
|
75
|
+
|
|
76
|
+
Internal changes.
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-tree-view@9.7.0`.
|
|
81
|
+
|
|
82
|
+
### Scheduler
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-scheduler@9.0.0-beta.3`
|
|
85
|
+
|
|
86
|
+
- [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
|
|
87
|
+
|
|
88
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
89
|
+
|
|
90
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
|
|
91
|
+
|
|
92
|
+
### Codemod
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-codemod@9.7.0`
|
|
95
|
+
|
|
96
|
+
Internal changes.
|
|
97
|
+
|
|
98
|
+
### Core
|
|
99
|
+
|
|
100
|
+
- [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
|
|
101
|
+
- [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
|
|
102
|
+
- [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
|
|
103
|
+
- [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
|
|
104
|
+
- [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
|
|
105
|
+
- [internal] Enforce top-level type imports (#22679) @Janpot
|
|
106
|
+
|
|
107
|
+
### Miscellaneous
|
|
108
|
+
|
|
109
|
+
- [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
|
|
110
|
+
- [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
|
|
111
|
+
- [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
|
|
112
|
+
|
|
3
113
|
## 9.6.0
|
|
4
114
|
|
|
5
115
|
_Jun 18, 2026_
|
|
@@ -115,7 +225,7 @@ Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
|
|
|
115
225
|
|
|
116
226
|
- [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
|
|
117
227
|
- [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
|
|
118
|
-
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
228
|
+
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
119
229
|
|
|
120
230
|
### Codemod
|
|
121
231
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
3
3
|
import type { DataGridPremiumProps } from "../models/dataGridPremiumProps.mjs";
|
|
4
4
|
export type { GridPremiumSlotsComponent as GridSlots } from "../models/index.mjs";
|
|
5
5
|
interface DataGridPremiumComponent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
3
3
|
import type { DataGridPremiumProps } from "../models/dataGridPremiumProps.js";
|
|
4
4
|
export type { GridPremiumSlotsComponent as GridSlots } from "../models/index.js";
|
|
5
5
|
interface DataGridPremiumComponent {
|
|
@@ -51,8 +51,8 @@ const configuration = {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
const packageInfo = {
|
|
54
|
-
releaseDate: "
|
|
55
|
-
version: "9.
|
|
54
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
55
|
+
version: "9.7.0",
|
|
56
56
|
name: 'x-data-grid-premium'
|
|
57
57
|
};
|
|
58
58
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.Watermark, {
|
|
@@ -44,8 +44,8 @@ const configuration = {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
const packageInfo = {
|
|
47
|
-
releaseDate: "
|
|
48
|
-
version: "9.
|
|
47
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
48
|
+
version: "9.7.0",
|
|
49
49
|
name: 'x-data-grid-premium'
|
|
50
50
|
};
|
|
51
51
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { GridConfiguration } from '@mui/x-data-grid-pro/internals';
|
|
3
3
|
import type { GridPrivateApiPremium } from "../models/gridApiPremium.mjs";
|
|
4
4
|
import type { DataGridPremiumProcessedProps } from "../models/dataGridPremiumProps.mjs";
|
|
5
5
|
export declare const useDataGridPremiumComponent: (apiRef: RefObject<GridPrivateApiPremium>, inProps: DataGridPremiumProcessedProps, configuration: GridConfiguration) => DataGridPremiumProcessedProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { GridConfiguration } from '@mui/x-data-grid-pro/internals';
|
|
3
3
|
import type { GridPrivateApiPremium } from "../models/gridApiPremium.js";
|
|
4
4
|
import type { DataGridPremiumProcessedProps } from "../models/dataGridPremiumProps.js";
|
|
5
5
|
export declare const useDataGridPremiumComponent: (apiRef: RefObject<GridPrivateApiPremium>, inProps: DataGridPremiumProcessedProps, configuration: GridConfiguration) => DataGridPremiumProcessedProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { GridColumnHeaderParams } from '@mui/x-data-grid';
|
|
2
|
+
import type { GridBaseColDef } from '@mui/x-data-grid/internals';
|
|
3
3
|
declare function GridAggregationHeader(props: GridColumnHeaderParams & {
|
|
4
4
|
renderHeader: GridBaseColDef['renderHeader'];
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { GridColumnHeaderParams } from '@mui/x-data-grid';
|
|
2
|
+
import type { GridBaseColDef } from '@mui/x-data-grid/internals';
|
|
3
3
|
declare function GridAggregationHeader(props: GridColumnHeaderParams & {
|
|
4
4
|
renderHeader: GridBaseColDef['renderHeader'];
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridOverlayProps } from '@mui/x-data-grid';
|
|
2
2
|
declare const GridEmptyPivotOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridOverlayProps } from '@mui/x-data-grid';
|
|
2
2
|
declare const GridEmptyPivotOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
import type { GridColumnMenuComponent } from '@mui/x-data-grid-pro/internals';
|
|
3
3
|
import { GridColumnMenuAggregationItem } from "./columnMenu/menuItems/GridColumnMenuAggregationItem.mjs";
|
|
4
4
|
import { GridColumnMenuManagePanelItem } from "./columnMenu/menuItems/GridColumnMenuManagePanelItem.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
import type { GridColumnMenuComponent } from '@mui/x-data-grid-pro/internals';
|
|
3
3
|
import { GridColumnMenuAggregationItem } from "./columnMenu/menuItems/GridColumnMenuAggregationItem.js";
|
|
4
4
|
import { GridColumnMenuManagePanelItem } from "./columnMenu/menuItems/GridColumnMenuManagePanelItem.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridToolbarProps } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
export declare function GridPremiumToolbar(props: GridToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridToolbarProps } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
export declare function GridPremiumToolbar(props: GridToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface AiAssistantPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the assistant panel is open.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface AiAssistantPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the assistant panel is open.
|
|
@@ -51,9 +51,9 @@ const AiAssistantPanelTrigger = exports.AiAssistantPanelTrigger = (0, _forwardRe
|
|
|
51
51
|
};
|
|
52
52
|
const resolvedClassName = typeof className === 'function' ? className(state) : className;
|
|
53
53
|
const {
|
|
54
|
-
|
|
54
|
+
triggers
|
|
55
55
|
} = (0, _internals.useGridPanelContext)();
|
|
56
|
-
const handleRef = (0, _utils.useForkRef)(ref,
|
|
56
|
+
const handleRef = (0, _utils.useForkRef)(ref, triggers.aiAssistantPanel.setRef);
|
|
57
57
|
const handleClick = event => {
|
|
58
58
|
if (open) {
|
|
59
59
|
apiRef.current.hidePreferences();
|
|
@@ -43,9 +43,9 @@ const AiAssistantPanelTrigger = forwardRef(function AiAssistantPanelTrigger(prop
|
|
|
43
43
|
};
|
|
44
44
|
const resolvedClassName = typeof className === 'function' ? className(state) : className;
|
|
45
45
|
const {
|
|
46
|
-
|
|
46
|
+
triggers
|
|
47
47
|
} = useGridPanelContext();
|
|
48
|
-
const handleRef = useForkRef(ref,
|
|
48
|
+
const handleRef = useForkRef(ref, triggers.aiAssistantPanel.setRef);
|
|
49
49
|
const handleClick = event => {
|
|
50
50
|
if (open) {
|
|
51
51
|
apiRef.current.hidePreferences();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { RenderProp } from '@mui/x-data-grid-pro/internals';
|
|
3
|
-
import {
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface ChartsPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the charts integration panel is open.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { RenderProp } from '@mui/x-data-grid-pro/internals';
|
|
3
|
-
import {
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface ChartsPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the charts integration panel is open.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace GridColumnMenuAggregationItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
declare function GridColumnMenuAggregationItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace GridColumnMenuAggregationItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuChartsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuPivotItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuRowGroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
2
|
export declare function GridColumnMenuRowUngroupItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface PivotPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the pivot panel is open.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface PivotPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the pivot panel is open.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { RenderProp } from '@mui/x-data-grid';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.mjs";
|
|
4
4
|
export type PromptFieldProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'onSubmit'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { RenderProp } from '@mui/x-data-grid';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.js";
|
|
4
4
|
export type PromptFieldProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'onSubmit'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.mjs";
|
|
4
4
|
export type PromptFieldControlProps = Omit<GridSlotProps['baseTextField'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.js";
|
|
4
4
|
export type PromptFieldControlProps = Omit<GridSlotProps['baseTextField'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.mjs";
|
|
4
4
|
export type PromptFieldRecordProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.js";
|
|
4
4
|
export type PromptFieldRecordProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.mjs";
|
|
4
4
|
export type PromptFieldSendProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { GridSlotProps, RenderProp } from '@mui/x-data-grid-pro';
|
|
3
|
-
import {
|
|
3
|
+
import type { PromptFieldState } from "./PromptFieldContext.js";
|
|
4
4
|
export type PromptFieldSendProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
5
5
|
/**
|
|
6
6
|
* A function to customize rendering of the component.
|
|
@@ -139,6 +139,8 @@ const createAggregationLookup = ({
|
|
|
139
139
|
for (let i = 0; i < aggregatedFields.length; i += 1) {
|
|
140
140
|
const field = aggregatedFields[i];
|
|
141
141
|
const column = columnsLookup[field];
|
|
142
|
+
// `column` can be `undefined` if the field has no matching column; `getRowValue`
|
|
143
|
+
// tolerates that and returns `undefined`, which is filtered out when aggregating.
|
|
142
144
|
const valueGetter = row => apiRef.current.getRowValue(row, column);
|
|
143
145
|
valueGetters[field] = valueGetter;
|
|
144
146
|
}
|
|
@@ -132,6 +132,8 @@ export const createAggregationLookup = ({
|
|
|
132
132
|
for (let i = 0; i < aggregatedFields.length; i += 1) {
|
|
133
133
|
const field = aggregatedFields[i];
|
|
134
134
|
const column = columnsLookup[field];
|
|
135
|
+
// `column` can be `undefined` if the field has no matching column; `getRowValue`
|
|
136
|
+
// tolerates that and returns `undefined`, which is filtered out when aggregating.
|
|
135
137
|
const valueGetter = row => apiRef.current.getRowValue(row, column);
|
|
136
138
|
valueGetters[field] = valueGetter;
|
|
137
139
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { GridAggregationPosition } from '@mui/x-data-grid-pro/internals';
|
|
2
|
+
import type { GridRowId } from '@mui/x-data-grid-pro';
|
|
3
3
|
import type { GridStatePremium } from "../../../models/gridStatePremium.mjs";
|
|
4
4
|
export declare const gridAggregationStateSelector: import("@mui/x-data-grid").OutputSelector<GridStatePremium, unknown, import("./gridAggregationInterfaces.mjs").GridAggregationState>;
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ export declare const gridCellAggregationResultSelector: (args_0: import("react")
|
|
|
21
21
|
state: GridStatePremium;
|
|
22
22
|
} | null>, args_1: {
|
|
23
23
|
id: GridRowId;
|
|
24
|
-
field: string;
|
|
24
|
+
field: string | undefined;
|
|
25
25
|
}) => {
|
|
26
26
|
position: GridAggregationPosition;
|
|
27
27
|
value: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { GridAggregationPosition } from '@mui/x-data-grid-pro/internals';
|
|
2
|
+
import type { GridRowId } from '@mui/x-data-grid-pro';
|
|
3
3
|
import type { GridStatePremium } from "../../../models/gridStatePremium.js";
|
|
4
4
|
export declare const gridAggregationStateSelector: import("@mui/x-data-grid").OutputSelector<GridStatePremium, unknown, import("./gridAggregationInterfaces.js").GridAggregationState>;
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ export declare const gridCellAggregationResultSelector: (args_0: import("react")
|
|
|
21
21
|
state: GridStatePremium;
|
|
22
22
|
} | null>, args_1: {
|
|
23
23
|
id: GridRowId;
|
|
24
|
-
field: string;
|
|
24
|
+
field: string | undefined;
|
|
25
25
|
}) => {
|
|
26
26
|
position: GridAggregationPosition;
|
|
27
27
|
value: any;
|