@mui/x-data-grid-generator 9.9.0 → 9.10.1
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 +217 -0
- package/hooks/useEditDropdownState.d.mts +1 -1
- package/hooks/useEditDropdownState.d.ts +1 -1
- package/hooks/useQuery.d.mts +16 -16
- package/hooks/useQuery.d.ts +16 -16
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +6 -6
- package/services/random-generator.d.mts +1 -1
- package/services/random-generator.d.ts +1 -1
- package/services/static-data.d.mts +1 -1
- package/services/static-data.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,222 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.1
|
|
4
|
+
|
|
5
|
+
_Jul 23, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🦮 Improve accessibility of the Charts and Pickers components.
|
|
10
|
+
- 🐞 Bugfixes
|
|
11
|
+
- 📚 Documentation improvements
|
|
12
|
+
|
|
13
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
14
|
+
@kevincorizi-sbt, @mustafajw07, @SamanPandey-in
|
|
15
|
+
|
|
16
|
+
The following team members contributed to this release:
|
|
17
|
+
@brijeshb42, @hasdfa, @JCQuintas, @LukasTy, @michelengelen, @noraleonte, @rita-codes, @silviuaavram
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@9.10.1`
|
|
22
|
+
|
|
23
|
+
- [data grid] Fix `getColumn` return type not reflecting that it can return undefined (#23165) @JCQuintas
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@9.10.1`.
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@9.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.1`.
|
|
32
|
+
|
|
33
|
+
### Date and Time Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@9.10.1`
|
|
36
|
+
|
|
37
|
+
- [pickers] Fix format placeholder brightness with a start adornment (#23189) @LukasTy
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-date-pickers-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
40
|
+
|
|
41
|
+
Same changes as in `@mui/x-date-pickers@9.10.1`, plus:
|
|
42
|
+
|
|
43
|
+
- [DateRangePicker] Fix broken active range position underline in single input range fields (#23166) @LukasTy
|
|
44
|
+
|
|
45
|
+
### Charts
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-charts@9.10.1`
|
|
48
|
+
|
|
49
|
+
- [charts] Fix pie chart disappearing when an arc spans almost the full circle (#23145) @JCQuintas
|
|
50
|
+
- [charts] Set `aria-hidden` on accessibility proxy divs at initialization (#23186) @kevincorizi-sbt
|
|
51
|
+
- [charts] Fix keyboard navigation on series with different lengths (#23182) @JCQuintas
|
|
52
|
+
- [charts] Fix out of bounds keyboard navigation (#23180) @silviuaavram
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts@9.10.1`, plus:
|
|
57
|
+
|
|
58
|
+
- [charts-pro] Fix highlight shifting on sampled bar charts (#23190) @noraleonte
|
|
59
|
+
- [charts-pro] Sampled band highlight falls back to single-band width for Date/object values (#23024) @SamanPandey-in
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-premium@9.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts-pro@9.10.1`.
|
|
64
|
+
|
|
65
|
+
### Tree View
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-tree-view@9.10.1`
|
|
68
|
+
|
|
69
|
+
- [TreeView] Fix selection propagation to exclude disabled items (#23012) @michelengelen
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view-pro@9.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-tree-view@9.10.1`.
|
|
74
|
+
|
|
75
|
+
### Scheduler
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler@9.0.0-beta.7`
|
|
78
|
+
|
|
79
|
+
- [scheduler] Polish `EventCalendar` rendering for multi-resource events (#23161) @mustafajw07
|
|
80
|
+
- [scheduler] Responsive header (#22954) @noraleonte
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.7` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.7`, plus:
|
|
85
|
+
|
|
86
|
+
- [scheduler-premium] Add the dependencies data model (#23117) @rita-codes
|
|
87
|
+
- [scheduler-premium] Dependencies - Render the FS arrow (#23162) @rita-codes
|
|
88
|
+
|
|
89
|
+
### Codemod
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-codemod@9.10.1`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
### Docs
|
|
96
|
+
|
|
97
|
+
- [docs] Fix clearing, layout shift, and prop leak in Pickers demos (#23191) @LukasTy
|
|
98
|
+
|
|
99
|
+
### Core
|
|
100
|
+
|
|
101
|
+
- [code-infra] Validate working of specific code-infra canary (#23207) @brijeshb42
|
|
102
|
+
|
|
103
|
+
### Miscellaneous
|
|
104
|
+
|
|
105
|
+
- [chat] Normalize message part link URLs (#23187) @hasdfa
|
|
106
|
+
- [x-chat] Fix object URL leaks for submitted attachments (#23198) @hasdfa
|
|
107
|
+
- [internals] Make disposable types self-contained without `esnext.disposable` lib (#23164) @JCQuintas
|
|
108
|
+
|
|
109
|
+
## 9.10.0
|
|
110
|
+
|
|
111
|
+
_Jul 17, 2026_
|
|
112
|
+
|
|
113
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
114
|
+
|
|
115
|
+
- 📊 Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
116
|
+
- ⚙️ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
117
|
+
- 🐞 Bugfixes
|
|
118
|
+
- 📚 Documentation improvements
|
|
119
|
+
|
|
120
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
121
|
+
@Anexus5919, @mustafajw07
|
|
122
|
+
|
|
123
|
+
The following team members contributed to this release:
|
|
124
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
125
|
+
|
|
126
|
+
### Data Grid
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
129
|
+
|
|
130
|
+
Internal changes.
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
133
|
+
|
|
134
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
135
|
+
|
|
136
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
137
|
+
|
|
138
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
139
|
+
|
|
140
|
+
### Date and Time Pickers
|
|
141
|
+
|
|
142
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
143
|
+
|
|
144
|
+
Internal changes.
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
147
|
+
|
|
148
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
149
|
+
|
|
150
|
+
### Charts
|
|
151
|
+
|
|
152
|
+
#### `@mui/x-charts@9.10.0`
|
|
153
|
+
|
|
154
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
155
|
+
|
|
156
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
157
|
+
|
|
158
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
159
|
+
|
|
160
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
161
|
+
|
|
162
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
163
|
+
|
|
164
|
+
### Tree View
|
|
165
|
+
|
|
166
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
167
|
+
|
|
168
|
+
Internal changes.
|
|
169
|
+
|
|
170
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
171
|
+
|
|
172
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
173
|
+
|
|
174
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
175
|
+
|
|
176
|
+
### Scheduler
|
|
177
|
+
|
|
178
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
179
|
+
|
|
180
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
181
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
182
|
+
|
|
183
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
184
|
+
|
|
185
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
186
|
+
|
|
187
|
+
### Chat
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
190
|
+
|
|
191
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
194
|
+
|
|
195
|
+
Internal changes.
|
|
196
|
+
|
|
197
|
+
### Codemod
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-codemod@9.10.0`
|
|
200
|
+
|
|
201
|
+
Internal changes.
|
|
202
|
+
|
|
203
|
+
### Docs
|
|
204
|
+
|
|
205
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
206
|
+
|
|
207
|
+
### Core
|
|
208
|
+
|
|
209
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
210
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
211
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
212
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
213
|
+
|
|
214
|
+
### Miscellaneous
|
|
215
|
+
|
|
216
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
217
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
218
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
219
|
+
|
|
3
220
|
## 9.9.0
|
|
4
221
|
|
|
5
222
|
_Jul 9, 2026_
|
|
@@ -21,7 +21,7 @@ export declare function useEditDropdownState(params: UseEditDropdownStateParams)
|
|
|
21
21
|
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
22
22
|
shouldAutoOpen: boolean;
|
|
23
23
|
handleSelectKeyDown: (event: React.KeyboardEvent) => void;
|
|
24
|
-
handleSelectMenuClose: (event: object, reason:
|
|
24
|
+
handleSelectMenuClose: (event: object, reason: 'escapeKeyDown' | 'backdropClick' | 'tabKeyDown') => void;
|
|
25
25
|
handleSelectMenuListKeyDown: (event: React.KeyboardEvent) => void;
|
|
26
26
|
createSelectChangeHandler: (getValue: (event: {
|
|
27
27
|
target: {
|
|
@@ -21,7 +21,7 @@ export declare function useEditDropdownState(params: UseEditDropdownStateParams)
|
|
|
21
21
|
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
22
22
|
shouldAutoOpen: boolean;
|
|
23
23
|
handleSelectKeyDown: (event: React.KeyboardEvent) => void;
|
|
24
|
-
handleSelectMenuClose: (event: object, reason:
|
|
24
|
+
handleSelectMenuClose: (event: object, reason: 'escapeKeyDown' | 'backdropClick' | 'tabKeyDown') => void;
|
|
25
25
|
handleSelectMenuListKeyDown: (event: React.KeyboardEvent) => void;
|
|
26
26
|
createSelectChangeHandler: (getValue: (event: {
|
|
27
27
|
target: {
|
package/hooks/useQuery.d.mts
CHANGED
|
@@ -21,7 +21,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
21
21
|
pinnable?: boolean;
|
|
22
22
|
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
23
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
24
|
align?: import("@mui/x-data-grid").GridAlignment;
|
|
26
25
|
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
27
26
|
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
@@ -29,7 +28,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
29
28
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
30
29
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
31
30
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
32
|
-
display?:
|
|
31
|
+
display?: 'text' | 'flex';
|
|
33
32
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
34
33
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
35
34
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -45,6 +44,8 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
45
44
|
disableExport?: boolean;
|
|
46
45
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
47
46
|
examples?: any[] | undefined;
|
|
47
|
+
type: 'actions';
|
|
48
|
+
getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => readonly React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps>[];
|
|
48
49
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
49
50
|
aggregable?: boolean;
|
|
50
51
|
availableAggregationFunctions?: string[];
|
|
@@ -58,8 +59,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
58
59
|
hide?: boolean;
|
|
59
60
|
derivedFrom?: string;
|
|
60
61
|
} | {
|
|
61
|
-
type: "actions";
|
|
62
|
-
getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => readonly React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps>[];
|
|
63
62
|
field: string;
|
|
64
63
|
headerName?: string;
|
|
65
64
|
description?: string;
|
|
@@ -76,6 +75,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
76
75
|
pinnable?: boolean;
|
|
77
76
|
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
78
77
|
getSortComparator?: ((sortDirection: import("@mui/x-data-grid").GridSortDirection) => import("@mui/x-data-grid").GridComparatorFn<any> | undefined) | undefined;
|
|
78
|
+
type?: import("@mui/x-data-grid").GridColType;
|
|
79
79
|
align?: import("@mui/x-data-grid").GridAlignment;
|
|
80
80
|
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
81
81
|
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
83
83
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
84
84
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
85
85
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
86
|
-
display?:
|
|
86
|
+
display?: 'text' | 'flex';
|
|
87
87
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
88
88
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
89
89
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -112,10 +112,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
112
112
|
hide?: boolean;
|
|
113
113
|
derivedFrom?: string;
|
|
114
114
|
} | {
|
|
115
|
-
type: "singleSelect";
|
|
116
|
-
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
117
|
-
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
118
|
-
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => any;
|
|
119
115
|
field: string;
|
|
120
116
|
headerName?: string;
|
|
121
117
|
description?: string;
|
|
@@ -139,7 +135,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
139
135
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
140
136
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
141
137
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
142
|
-
display?:
|
|
138
|
+
display?: 'text' | 'flex';
|
|
143
139
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
144
140
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
145
141
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -155,6 +151,11 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
155
151
|
disableExport?: boolean;
|
|
156
152
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
157
153
|
examples?: any[] | undefined;
|
|
154
|
+
type: 'multiSelect';
|
|
155
|
+
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
156
|
+
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
157
|
+
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => string | number;
|
|
158
|
+
separator?: string;
|
|
158
159
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
159
160
|
aggregable?: boolean;
|
|
160
161
|
availableAggregationFunctions?: string[];
|
|
@@ -168,11 +169,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
168
169
|
hide?: boolean;
|
|
169
170
|
derivedFrom?: string;
|
|
170
171
|
} | {
|
|
171
|
-
type: "multiSelect";
|
|
172
|
-
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
173
|
-
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
174
|
-
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => string | number;
|
|
175
|
-
separator?: string;
|
|
176
172
|
field: string;
|
|
177
173
|
headerName?: string;
|
|
178
174
|
description?: string;
|
|
@@ -196,7 +192,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
196
192
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
197
193
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
198
194
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
199
|
-
display?:
|
|
195
|
+
display?: 'text' | 'flex';
|
|
200
196
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
201
197
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
202
198
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -212,6 +208,10 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
212
208
|
disableExport?: boolean;
|
|
213
209
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
214
210
|
examples?: any[] | undefined;
|
|
211
|
+
type: 'singleSelect';
|
|
212
|
+
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
213
|
+
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
214
|
+
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => any;
|
|
215
215
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
216
216
|
aggregable?: boolean;
|
|
217
217
|
availableAggregationFunctions?: string[];
|
package/hooks/useQuery.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
21
21
|
pinnable?: boolean;
|
|
22
22
|
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
23
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
24
|
align?: import("@mui/x-data-grid").GridAlignment;
|
|
26
25
|
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
27
26
|
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
@@ -29,7 +28,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
29
28
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
30
29
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
31
30
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
32
|
-
display?:
|
|
31
|
+
display?: 'text' | 'flex';
|
|
33
32
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
34
33
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
35
34
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -45,6 +44,8 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
45
44
|
disableExport?: boolean;
|
|
46
45
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
47
46
|
examples?: any[] | undefined;
|
|
47
|
+
type: 'actions';
|
|
48
|
+
getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => readonly React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps>[];
|
|
48
49
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
49
50
|
aggregable?: boolean;
|
|
50
51
|
availableAggregationFunctions?: string[];
|
|
@@ -58,8 +59,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
58
59
|
hide?: boolean;
|
|
59
60
|
derivedFrom?: string;
|
|
60
61
|
} | {
|
|
61
|
-
type: "actions";
|
|
62
|
-
getActions: (params: import("@mui/x-data-grid").GridRowParams<any>) => readonly React.ReactElement<import("@mui/x-data-grid").GridActionsCellItemProps>[];
|
|
63
62
|
field: string;
|
|
64
63
|
headerName?: string;
|
|
65
64
|
description?: string;
|
|
@@ -76,6 +75,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
76
75
|
pinnable?: boolean;
|
|
77
76
|
sortComparator?: import("@mui/x-data-grid").GridComparatorFn<any> | undefined;
|
|
78
77
|
getSortComparator?: ((sortDirection: import("@mui/x-data-grid").GridSortDirection) => import("@mui/x-data-grid").GridComparatorFn<any> | undefined) | undefined;
|
|
78
|
+
type?: import("@mui/x-data-grid").GridColType;
|
|
79
79
|
align?: import("@mui/x-data-grid").GridAlignment;
|
|
80
80
|
valueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
81
81
|
rowSpanValueGetter?: import("@mui/x-data-grid").GridValueGetter<any, any, any, never> | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
83
83
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
84
84
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
85
85
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
86
|
-
display?:
|
|
86
|
+
display?: 'text' | 'flex';
|
|
87
87
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
88
88
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
89
89
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -112,10 +112,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
112
112
|
hide?: boolean;
|
|
113
113
|
derivedFrom?: string;
|
|
114
114
|
} | {
|
|
115
|
-
type: "singleSelect";
|
|
116
|
-
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
117
|
-
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
118
|
-
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => any;
|
|
119
115
|
field: string;
|
|
120
116
|
headerName?: string;
|
|
121
117
|
description?: string;
|
|
@@ -139,7 +135,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
139
135
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
140
136
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
141
137
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
142
|
-
display?:
|
|
138
|
+
display?: 'text' | 'flex';
|
|
143
139
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
144
140
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
145
141
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -155,6 +151,11 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
155
151
|
disableExport?: boolean;
|
|
156
152
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
157
153
|
examples?: any[] | undefined;
|
|
154
|
+
type: 'multiSelect';
|
|
155
|
+
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
156
|
+
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
157
|
+
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => string | number;
|
|
158
|
+
separator?: string;
|
|
158
159
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
159
160
|
aggregable?: boolean;
|
|
160
161
|
availableAggregationFunctions?: string[];
|
|
@@ -168,11 +169,6 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
168
169
|
hide?: boolean;
|
|
169
170
|
derivedFrom?: string;
|
|
170
171
|
} | {
|
|
171
|
-
type: "multiSelect";
|
|
172
|
-
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
173
|
-
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
174
|
-
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => string | number;
|
|
175
|
-
separator?: string;
|
|
176
172
|
field: string;
|
|
177
173
|
headerName?: string;
|
|
178
174
|
description?: string;
|
|
@@ -196,7 +192,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
196
192
|
valueFormatter?: import("@mui/x-data-grid").GridValueFormatter<any, any, any, never> | undefined;
|
|
197
193
|
valueParser?: import("@mui/x-data-grid").GridValueParser<any, any, any> | undefined;
|
|
198
194
|
cellClassName?: import("@mui/x-data-grid").GridCellClassNamePropType<any, any> | undefined;
|
|
199
|
-
display?:
|
|
195
|
+
display?: 'text' | 'flex';
|
|
200
196
|
renderCell?: ((params: import("@mui/x-data-grid").GridRenderCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
201
197
|
renderEditCell?: ((params: import("@mui/x-data-grid").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
|
|
202
198
|
preProcessEditCellProps?: ((params: import("@mui/x-data-grid").GridPreProcessEditCellProps) => import("@mui/x-data-grid").GridEditCellProps | Promise<import("@mui/x-data-grid").GridEditCellProps>) | undefined;
|
|
@@ -212,6 +208,10 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
|
|
|
212
208
|
disableExport?: boolean;
|
|
213
209
|
colSpan?: number | import("@mui/x-data-grid").GridColSpanFn<any, any, any> | undefined;
|
|
214
210
|
examples?: any[] | undefined;
|
|
211
|
+
type: 'singleSelect';
|
|
212
|
+
valueOptions?: import("@mui/x-data-grid").ValueOptions[] | ((params: import("@mui/x-data-grid").GridValueOptionsParams<any>) => Array<import("@mui/x-data-grid").ValueOptions>) | undefined;
|
|
213
|
+
getOptionLabel: (value: import("@mui/x-data-grid").ValueOptions) => string;
|
|
214
|
+
getOptionValue: (value: import("@mui/x-data-grid").ValueOptions) => any;
|
|
215
215
|
renderHeaderFilter?: (params: import("@mui/x-data-grid-pro").GridRenderHeaderFilterProps) => React.ReactNode;
|
|
216
216
|
aggregable?: boolean;
|
|
217
217
|
availableAggregationFunctions?: string[];
|
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-generator",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.10.1",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Generate fake data for demo purposes only.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"@babel/runtime": "^7.29.7",
|
|
25
25
|
"chance": "^1.1.13",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
27
|
-
"lru-cache": "^11.5.
|
|
28
|
-
"@mui/x-data-grid": "^9.
|
|
29
|
-
"@mui/x-data-grid-pro": "^9.
|
|
30
|
-
"@mui/x-internals": "^9.
|
|
31
|
-
"@mui/x-data-grid-premium": "^9.
|
|
27
|
+
"lru-cache": "^11.5.2",
|
|
28
|
+
"@mui/x-data-grid": "^9.10.1",
|
|
29
|
+
"@mui/x-data-grid-pro": "^9.10.1",
|
|
30
|
+
"@mui/x-internals": "^9.10.1",
|
|
31
|
+
"@mui/x-data-grid-premium": "^9.10.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@emotion/react": "^11.9.0",
|
|
@@ -9,7 +9,7 @@ export declare const randomDate: (start: Date, end: Date) => Date;
|
|
|
9
9
|
export declare const randomArrayItem: <T>(arr: T[]) => T;
|
|
10
10
|
export declare const randomBoolean: () => boolean;
|
|
11
11
|
export declare const randomSubarray: <T>(arr: T[], min?: number, max?: number) => T[];
|
|
12
|
-
export declare const randomColor: () => "#
|
|
12
|
+
export declare const randomColor: () => "#03a9f4" | "#2196f3" | "#4caf50" | "#9c27b0" | "#e91e63" | "#f44336" | "#ff9800";
|
|
13
13
|
export declare const randomId: () => string;
|
|
14
14
|
export declare const randomDesk: () => string;
|
|
15
15
|
export declare const randomCommodity: () => string;
|
|
@@ -9,7 +9,7 @@ export declare const randomDate: (start: Date, end: Date) => Date;
|
|
|
9
9
|
export declare const randomArrayItem: <T>(arr: T[]) => T;
|
|
10
10
|
export declare const randomBoolean: () => boolean;
|
|
11
11
|
export declare const randomSubarray: <T>(arr: T[], min?: number, max?: number) => T[];
|
|
12
|
-
export declare const randomColor: () => "#
|
|
12
|
+
export declare const randomColor: () => "#03a9f4" | "#2196f3" | "#4caf50" | "#9c27b0" | "#e91e63" | "#f44336" | "#ff9800";
|
|
13
13
|
export declare const randomId: () => string;
|
|
14
14
|
export declare const randomDesk: () => string;
|
|
15
15
|
export declare const randomCommodity: () => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const COLORS: ("#
|
|
1
|
+
export declare const COLORS: ("#03a9f4" | "#2196f3" | "#4caf50" | "#9c27b0" | "#e91e63" | "#f44336" | "#ff9800")[];
|
|
2
2
|
export declare const STATUS_OPTIONS: string[];
|
|
3
3
|
export declare const TAXCODE_OPTIONS: string[];
|
|
4
4
|
export declare const RATE_TYPE_OPTIONS: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const COLORS: ("#
|
|
1
|
+
export declare const COLORS: ("#03a9f4" | "#2196f3" | "#4caf50" | "#9c27b0" | "#e91e63" | "#f44336" | "#ff9800")[];
|
|
2
2
|
export declare const STATUS_OPTIONS: string[];
|
|
3
3
|
export declare const TAXCODE_OPTIONS: string[];
|
|
4
4
|
export declare const RATE_TYPE_OPTIONS: string[];
|