@mui/x-data-grid-generator 7.18.0 → 7.19.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 +110 -0
- package/hooks/useMockServer.js +1 -1
- package/hooks/useQuery.d.ts +63 -63
- package/index.js +1 -1
- package/modern/hooks/useMockServer.js +1 -1
- package/modern/index.js +1 -1
- package/node/hooks/useMockServer.js +1 -1
- package/node/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,116 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.19.0
|
|
7
|
+
|
|
8
|
+
_Oct 4, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🔁 Automatic parents and children selection for Data Grid ["tree data"](https://mui.com/x/react-data-grid/tree-data/) and ["row grouping"](https://mui.com/x/react-data-grid/row-grouping/) features
|
|
13
|
+
- 💫 Support `minHeight` and `maxHeight` on flex parent container for the Data Grid component
|
|
14
|
+
- 🎁 Export `publicAPI` from the `useTreeItem2Utils` hook for the Tree View
|
|
15
|
+
- 🌍 Improve Bulgarian (bg-BG), Croatian (hr-HR), French (fr-FR), German (de-DE), Japanese (ja-JP) and Vietnamese (vi-VN) locales and add Portuguese (pt-PT) locale on the Data Grid component
|
|
16
|
+
- 🌏 Improve Czech (cs-CZ) and Portuguese (pt-BR) locales and add Bulgarian (bg-BG), Croatian (hr-HR) and Portuguese (pt-PT) locales on the Pickers components
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
- 📚 Documentation improvements
|
|
19
|
+
|
|
20
|
+
Special thanks goes out to our community contributors who have helped make this release possible:
|
|
21
|
+
@AWAIS97, @chucamphong, @GMchris, @JakubSveda, @k-rajat19, @k725, @lhilgert9, @ruiaraujo012, @Sanderand, @thomasmoon, @vallereaugabriel.
|
|
22
|
+
Following are all team members who have contributed to this release:
|
|
23
|
+
@alexfauquette, @arminmeh, @arthurbalduini, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @MBilalShafi, @michelengelen, @noraleonte, @oliviertassinari, @romgrk, @sai6855, @samuelsycamore.
|
|
24
|
+
|
|
25
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
26
|
+
|
|
27
|
+
### Data Grid
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid@7.19.0`
|
|
30
|
+
|
|
31
|
+
- [DataGrid] Fix column definition `undefined` value (#14456) @sai6855
|
|
32
|
+
- [DataGrid] Fix `checkboxSelectionVisibleOnly` reset the selection on filtering (#14677) @MBilalShafi
|
|
33
|
+
- [DataGrid] Fix background colors when `CSSVarsProvider` is used (#12901) @cherniavskii
|
|
34
|
+
- [DataGrid] Fix error when initializing aggregation with row spanning (#14710) @MBilalShafi
|
|
35
|
+
- [DataGrid] Fix scroll to cell logic for keyboard navigating cells and drag selection with pinned columns (#14550) @KenanYusuf
|
|
36
|
+
- [DataGrid] Support `minHeight` and `maxHeight` on flex parent container (#14614) @cherniavskii
|
|
37
|
+
- [l10n] Add missing Portuguese (pt-PT) translations (#14707) @ruiaraujo012
|
|
38
|
+
- [l10n] Improve Bulgarian (bg-BG) locale (#14451) @GMchris
|
|
39
|
+
- [l10n] Improve Croatian (hr-HR) locale (#14794) @arminmeh
|
|
40
|
+
- [l10n] Improve French (fr-FR) locale (#14750) @vallereaugabriel
|
|
41
|
+
- [l10n] Improve German (de-DE) locale (#14755) @lhilgert9
|
|
42
|
+
- [l10n] Improve Japanese (ja-JP) locale (#14381) @k725
|
|
43
|
+
- [l10n] Improve Vietnamese (vi-VN) locale (#14769) @chucamphong
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-data-grid-pro@7.19.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
46
|
+
|
|
47
|
+
Same changes as in `@mui/x-data-grid@7.19.0`, plus:
|
|
48
|
+
|
|
49
|
+
- [DataGridPro] Fix dragging styles removal in column reorder (#14680) @k-rajat19
|
|
50
|
+
- [DataGridPro] Fix row pre-processing running with a stale data source (#14810) @MBilalShafi
|
|
51
|
+
- [DataGridPro] Fix `onRowsScrollEnd` not firing on very fast scrolling (#14171) @arminmeh
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-data-grid-premium@7.19.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
54
|
+
|
|
55
|
+
Same changes as in `@mui/x-data-grid-pro@7.19.0`, plus:
|
|
56
|
+
|
|
57
|
+
- [DataGridPremium] Automatic parents and children selection (#13757) @MBilalShafi
|
|
58
|
+
|
|
59
|
+
### Date and Time Pickers
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-date-pickers@7.19.0`
|
|
62
|
+
|
|
63
|
+
- [pickers] Fix left-right keyboard nav with `yearsOrder="desc"` and `direction="rtl"` (#14682) @thomasmoon
|
|
64
|
+
- [pickers] Improve `PickerValidDate` type (#14771) @flaviendelangle
|
|
65
|
+
- [pickers] Improve typing of the range pickers (#14716) @flaviendelangle
|
|
66
|
+
- [l10n] Add Bulgarian (bg-BG) locale (#14469) @GMchris
|
|
67
|
+
- [l10n] Add Croatian (hr-HR) locale (#14795) @arminmeh
|
|
68
|
+
- [l10n] Add Portuguese (pt-PT) locale (#14722) @ruiaraujo012
|
|
69
|
+
- [l10n] Improve Czech (cs-CZ) locale (#14732) @JakubSveda
|
|
70
|
+
- [l10n] Improve Portuguese (pt-BR) locale (#14725) @arthurbalduini
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-date-pickers-pro@7.19.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-date-pickers@7.19.0`.
|
|
75
|
+
|
|
76
|
+
### Charts
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-charts@7.19.0`
|
|
79
|
+
|
|
80
|
+
- [charts] Fix `LineChart` area animation being stuck when resizing container (#14711) @alexfauquette
|
|
81
|
+
- [charts] Improve types and start using `warnOnce` (#14792) @JCQuintas
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-charts-pro@7.0.0-beta.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
84
|
+
|
|
85
|
+
Same changes as in `@mui/x-charts@7.19.0`.
|
|
86
|
+
|
|
87
|
+
### Tree View
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@7.19.0`
|
|
90
|
+
|
|
91
|
+
- [TreeView] Apply experimental features in `getDefaultizedParams` instead of in the plugin render (#14661) @flaviendelangle
|
|
92
|
+
- [TreeView] Export `publicAPI` form `useTreeItem2Utils` (#14729) @noraleonte
|
|
93
|
+
- [TreeView] Fix cursor navigation interfering with browser shortcut keys (#14798) @sai6855
|
|
94
|
+
- [TreeView] Fix invalid test for items reordering (#14665) @flaviendelangle
|
|
95
|
+
- [TreeView] Remove `instance.getTreeItemIdAttribute` (#14667) @flaviendelangle
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Added warning callout for Firefox reordering bug (#14516) @michelengelen
|
|
100
|
+
- [docs] Copyedit `pages.ts` navigation (#14782) @samuelsycamore
|
|
101
|
+
- [docs] Fix typo in row spanning doc (#14770) @flaviendelangle
|
|
102
|
+
- [docs] Fix typo in the Tree View migration guide to v7 (#14727) @Sanderand
|
|
103
|
+
- [docs] Fix typo in usage of Moment guide for UTC and timezones (#14780) @AWAIS97
|
|
104
|
+
- [docs] Fix what's new link to use absolute URL (#14543) @oliviertassinari
|
|
105
|
+
|
|
106
|
+
### Core
|
|
107
|
+
|
|
108
|
+
- [core] Fix class name composition order (#14775) @oliviertassinari
|
|
109
|
+
- [core] Replace minWidth, maxWidth with width (#14776) @oliviertassinari
|
|
110
|
+
- [code-infra] Remove custom playwright installation steps (#14728) @Janpot
|
|
111
|
+
- [code-infra] Replace or remove all instances of `e` identifier (#14724) @samuelsycamore
|
|
112
|
+
- [infra] Adds community contribution section to the changelog script (#14799) @michelengelen
|
|
113
|
+
- [infra] Fix line break in Stack Overflow message @oliviertassinari
|
|
114
|
+
- [test] Fix `Escape` event firing event (#14797) @oliviertassinari
|
|
115
|
+
|
|
6
116
|
## 7.18.0
|
|
7
117
|
|
|
8
118
|
_Sep 20, 2024_
|
package/hooks/useMockServer.js
CHANGED
package/hooks/useQuery.d.ts
CHANGED
|
@@ -14,36 +14,36 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
14
14
|
maxWidth?: number;
|
|
15
15
|
hideable?: boolean;
|
|
16
16
|
sortable?: boolean;
|
|
17
|
-
sortingOrder?: readonly import("@mui/x-data-grid
|
|
17
|
+
sortingOrder?: readonly import("@mui/x-data-grid").GridSortDirection[];
|
|
18
18
|
resizable?: boolean;
|
|
19
19
|
editable?: boolean;
|
|
20
20
|
groupable?: boolean;
|
|
21
21
|
pinnable?: boolean;
|
|
22
|
-
sortComparator?: import("@mui/x-data-grid
|
|
23
|
-
getSortComparator?: ((sortDirection: import("@mui/x-data-grid
|
|
24
|
-
type?: import("@mui/x-data-grid
|
|
25
|
-
align?: import("@mui/x-data-grid
|
|
26
|
-
valueGetter?: import("@mui/x-data-grid
|
|
27
|
-
rowSpanValueGetter?: import("@mui/x-data-grid
|
|
28
|
-
valueSetter?: import("@mui/x-data-grid
|
|
29
|
-
valueFormatter?: import("@mui/x-data-grid
|
|
30
|
-
valueParser?: import("@mui/x-data-grid
|
|
31
|
-
cellClassName?: import("@mui/x-data-grid
|
|
22
|
+
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
23
|
+
getSortComparator?: ((sortDirection: import("@mui/x-data-grid").GridSortDirection) => import("@mui/x-data-grid").GridComparatorFn<any> | undefined) | undefined;
|
|
24
|
+
type?: import("@mui/x-data-grid").GridColType;
|
|
25
|
+
align?: import("@mui/x-data-grid").GridAlignment;
|
|
26
|
+
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
27
|
+
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
28
|
+
valueSetter?: import("@mui/x-data-grid").GridValueSetter<any, any, any> | undefined;
|
|
29
|
+
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
30
|
+
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
31
|
+
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
32
32
|
display?: "text" | "flex";
|
|
33
|
-
renderCell?: ((params: import("@mui/x-data-grid
|
|
34
|
-
renderEditCell?: ((params: import("@mui/x-data-grid
|
|
35
|
-
preProcessEditCellProps?: ((params: import("@mui/x-data-grid
|
|
36
|
-
headerClassName?: import("@mui/x-data-grid
|
|
37
|
-
renderHeader?: ((params: import("@mui/x-data-grid
|
|
38
|
-
headerAlign?: import("@mui/x-data-grid
|
|
33
|
+
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
34
|
+
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
35
|
+
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
36
|
+
headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType;
|
|
37
|
+
renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
|
|
38
|
+
headerAlign?: import("@mui/x-data-grid").GridAlignment;
|
|
39
39
|
hideSortIcons?: boolean;
|
|
40
40
|
disableColumnMenu?: boolean;
|
|
41
41
|
filterable?: boolean;
|
|
42
|
-
filterOperators?: readonly import("@mui/x-data-grid
|
|
43
|
-
getApplyQuickFilterFn?: import("@mui/x-data-grid
|
|
42
|
+
filterOperators?: readonly import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
|
|
43
|
+
getApplyQuickFilterFn?: import("@mui/x-data-grid").GetApplyQuickFilterFn<any, any> | undefined;
|
|
44
44
|
disableReorder?: boolean;
|
|
45
45
|
disableExport?: boolean;
|
|
46
|
-
colSpan?: number | import("@mui/x-data-grid
|
|
46
|
+
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
47
47
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
48
48
|
aggregable?: boolean;
|
|
49
49
|
availableAggregationFunctions?: string[];
|
|
@@ -54,7 +54,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
54
54
|
hide?: boolean;
|
|
55
55
|
} | {
|
|
56
56
|
type: "actions";
|
|
57
|
-
getActions: (params: import("@mui/x-data-grid
|
|
57
|
+
getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => readonly React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps>[];
|
|
58
58
|
field: string;
|
|
59
59
|
headerName?: string;
|
|
60
60
|
description?: string;
|
|
@@ -64,35 +64,35 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
64
64
|
maxWidth?: number;
|
|
65
65
|
hideable?: boolean;
|
|
66
66
|
sortable?: boolean;
|
|
67
|
-
sortingOrder?: readonly import("@mui/x-data-grid
|
|
67
|
+
sortingOrder?: readonly import("@mui/x-data-grid").GridSortDirection[];
|
|
68
68
|
resizable?: boolean;
|
|
69
69
|
editable?: boolean;
|
|
70
70
|
groupable?: boolean;
|
|
71
71
|
pinnable?: boolean;
|
|
72
|
-
sortComparator?: import("@mui/x-data-grid
|
|
73
|
-
getSortComparator?: ((sortDirection: import("@mui/x-data-grid
|
|
74
|
-
align?: import("@mui/x-data-grid
|
|
75
|
-
valueGetter?: import("@mui/x-data-grid
|
|
76
|
-
rowSpanValueGetter?: import("@mui/x-data-grid
|
|
77
|
-
valueSetter?: import("@mui/x-data-grid
|
|
78
|
-
valueFormatter?: import("@mui/x-data-grid
|
|
79
|
-
valueParser?: import("@mui/x-data-grid
|
|
80
|
-
cellClassName?: import("@mui/x-data-grid
|
|
72
|
+
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
73
|
+
getSortComparator?: ((sortDirection: import("@mui/x-data-grid").GridSortDirection) => import("@mui/x-data-grid").GridComparatorFn<any> | undefined) | undefined;
|
|
74
|
+
align?: import("@mui/x-data-grid").GridAlignment;
|
|
75
|
+
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
76
|
+
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
77
|
+
valueSetter?: import("@mui/x-data-grid").GridValueSetter<any, any, any> | undefined;
|
|
78
|
+
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
79
|
+
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
80
|
+
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
81
81
|
display?: "text" | "flex";
|
|
82
|
-
renderCell?: ((params: import("@mui/x-data-grid
|
|
83
|
-
renderEditCell?: ((params: import("@mui/x-data-grid
|
|
84
|
-
preProcessEditCellProps?: ((params: import("@mui/x-data-grid
|
|
85
|
-
headerClassName?: import("@mui/x-data-grid
|
|
86
|
-
renderHeader?: ((params: import("@mui/x-data-grid
|
|
87
|
-
headerAlign?: import("@mui/x-data-grid
|
|
82
|
+
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
83
|
+
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
84
|
+
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
85
|
+
headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType;
|
|
86
|
+
renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
|
|
87
|
+
headerAlign?: import("@mui/x-data-grid").GridAlignment;
|
|
88
88
|
hideSortIcons?: boolean;
|
|
89
89
|
disableColumnMenu?: boolean;
|
|
90
90
|
filterable?: boolean;
|
|
91
|
-
filterOperators?: readonly import("@mui/x-data-grid
|
|
92
|
-
getApplyQuickFilterFn?: import("@mui/x-data-grid
|
|
91
|
+
filterOperators?: readonly import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
|
|
92
|
+
getApplyQuickFilterFn?: import("@mui/x-data-grid").GetApplyQuickFilterFn<any, any> | undefined;
|
|
93
93
|
disableReorder?: boolean;
|
|
94
94
|
disableExport?: boolean;
|
|
95
|
-
colSpan?: number | import("@mui/x-data-grid
|
|
95
|
+
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
96
96
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
97
97
|
aggregable?: boolean;
|
|
98
98
|
availableAggregationFunctions?: string[];
|
|
@@ -103,9 +103,9 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
103
103
|
hide?: boolean;
|
|
104
104
|
} | {
|
|
105
105
|
type: "singleSelect";
|
|
106
|
-
valueOptions?: import("@mui/x-data-grid
|
|
107
|
-
getOptionLabel?: (value: import("@mui/x-data-grid
|
|
108
|
-
getOptionValue?: (value: import("@mui/x-data-grid
|
|
106
|
+
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
107
|
+
getOptionLabel?: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
108
|
+
getOptionValue?: (value: import("@mui/x-data-grid").ValueOptions) => any;
|
|
109
109
|
field: string;
|
|
110
110
|
headerName?: string;
|
|
111
111
|
description?: string;
|
|
@@ -115,35 +115,35 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
115
115
|
maxWidth?: number;
|
|
116
116
|
hideable?: boolean;
|
|
117
117
|
sortable?: boolean;
|
|
118
|
-
sortingOrder?: readonly import("@mui/x-data-grid
|
|
118
|
+
sortingOrder?: readonly import("@mui/x-data-grid").GridSortDirection[];
|
|
119
119
|
resizable?: boolean;
|
|
120
120
|
editable?: boolean;
|
|
121
121
|
groupable?: boolean;
|
|
122
122
|
pinnable?: boolean;
|
|
123
|
-
sortComparator?: import("@mui/x-data-grid
|
|
124
|
-
getSortComparator?: ((sortDirection: import("@mui/x-data-grid
|
|
125
|
-
align?: import("@mui/x-data-grid
|
|
126
|
-
valueGetter?: import("@mui/x-data-grid
|
|
127
|
-
rowSpanValueGetter?: import("@mui/x-data-grid
|
|
128
|
-
valueSetter?: import("@mui/x-data-grid
|
|
129
|
-
valueFormatter?: import("@mui/x-data-grid
|
|
130
|
-
valueParser?: import("@mui/x-data-grid
|
|
131
|
-
cellClassName?: import("@mui/x-data-grid
|
|
123
|
+
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
124
|
+
getSortComparator?: ((sortDirection: import("@mui/x-data-grid").GridSortDirection) => import("@mui/x-data-grid").GridComparatorFn<any> | undefined) | undefined;
|
|
125
|
+
align?: import("@mui/x-data-grid").GridAlignment;
|
|
126
|
+
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
127
|
+
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
128
|
+
valueSetter?: import("@mui/x-data-grid").GridValueSetter<any, any, any> | undefined;
|
|
129
|
+
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
130
|
+
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
131
|
+
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
132
132
|
display?: "text" | "flex";
|
|
133
|
-
renderCell?: ((params: import("@mui/x-data-grid
|
|
134
|
-
renderEditCell?: ((params: import("@mui/x-data-grid
|
|
135
|
-
preProcessEditCellProps?: ((params: import("@mui/x-data-grid
|
|
136
|
-
headerClassName?: import("@mui/x-data-grid
|
|
137
|
-
renderHeader?: ((params: import("@mui/x-data-grid
|
|
138
|
-
headerAlign?: import("@mui/x-data-grid
|
|
133
|
+
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
134
|
+
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
135
|
+
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
136
|
+
headerClassName?: import("@mui/x-data-grid").GridColumnHeaderClassNamePropType;
|
|
137
|
+
renderHeader?: ((params: import("@mui/x-data-grid").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
|
|
138
|
+
headerAlign?: import("@mui/x-data-grid").GridAlignment;
|
|
139
139
|
hideSortIcons?: boolean;
|
|
140
140
|
disableColumnMenu?: boolean;
|
|
141
141
|
filterable?: boolean;
|
|
142
|
-
filterOperators?: readonly import("@mui/x-data-grid
|
|
143
|
-
getApplyQuickFilterFn?: import("@mui/x-data-grid
|
|
142
|
+
filterOperators?: readonly import("@mui/x-data-grid").GridFilterOperator<any, any, any>[] | undefined;
|
|
143
|
+
getApplyQuickFilterFn?: import("@mui/x-data-grid").GetApplyQuickFilterFn<any, any> | undefined;
|
|
144
144
|
disableReorder?: boolean;
|
|
145
145
|
disableExport?: boolean;
|
|
146
|
-
colSpan?: number | import("@mui/x-data-grid
|
|
146
|
+
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
147
147
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
148
148
|
aggregable?: boolean;
|
|
149
149
|
availableAggregationFunctions?: string[];
|
|
@@ -155,7 +155,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
155
155
|
})[];
|
|
156
156
|
initialState: {
|
|
157
157
|
columns: {
|
|
158
|
-
columnVisibilityModel: import("@mui/x-data-grid
|
|
158
|
+
columnVisibilityModel: import("@mui/x-data-grid").GridColumnVisibilityModel;
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
useQuery: (queryOptions: QueryOptions) => {
|
package/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-generator",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.19.0",
|
|
4
4
|
"description": "Generate fake data for demo purposes only.",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@babel/runtime": "^7.25.6",
|
|
27
27
|
"chance": "^1.1.12",
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
|
-
"lru-cache": "^
|
|
30
|
-
"@mui/x-data-grid-premium": "7.
|
|
29
|
+
"lru-cache": "^11.0.1",
|
|
30
|
+
"@mui/x-data-grid-premium": "7.19.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@emotion/react": "^11.9.0",
|