@mui/x-data-grid-generator 9.8.0 → 9.10.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 +230 -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/renderer/renderAvatar.d.mts +1 -1
- package/renderer/renderAvatar.d.ts +1 -1
- package/renderer/renderEditBoolean.d.mts +2 -1
- package/renderer/renderEditBoolean.d.ts +2 -1
- package/renderer/renderEditCountry.d.mts +2 -1
- package/renderer/renderEditCountry.d.ts +2 -1
- package/renderer/renderEditCurrency.d.mts +2 -1
- package/renderer/renderEditCurrency.d.ts +2 -1
- package/renderer/renderEditIncoterm.d.mts +2 -1
- package/renderer/renderEditIncoterm.d.ts +2 -1
- package/renderer/renderEditProgress.d.mts +2 -1
- package/renderer/renderEditProgress.d.ts +2 -1
- package/renderer/renderEditRating.d.mts +2 -1
- package/renderer/renderEditRating.d.ts +2 -1
- package/renderer/renderEditStatus.d.mts +2 -1
- package/renderer/renderEditStatus.d.ts +2 -1
- package/renderer/renderEmail.d.mts +1 -1
- package/renderer/renderEmail.d.ts +1 -1
- package/renderer/renderIncoterm.d.mts +2 -1
- package/renderer/renderIncoterm.d.ts +2 -1
- package/renderer/renderLink.d.mts +2 -2
- package/renderer/renderLink.d.ts +2 -2
- package/renderer/renderPnl.d.mts +2 -1
- package/renderer/renderPnl.d.ts +2 -1
- package/renderer/renderProgress.d.mts +2 -1
- package/renderer/renderProgress.d.ts +2 -1
- package/renderer/renderRating.d.mts +2 -1
- package/renderer/renderRating.d.ts +2 -1
- package/renderer/renderStatus.d.mts +2 -1
- package/renderer/renderStatus.d.ts +2 -1
- package/renderer/renderTotalPrice.d.mts +2 -1
- package/renderer/renderTotalPrice.d.ts +2 -1
- 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,235 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.0
|
|
4
|
+
|
|
5
|
+
_Jul 17, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 📊 Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
10
|
+
- ⚙️ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
11
|
+
- 🐞 Bugfixes
|
|
12
|
+
- 📚 Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @mustafajw07
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
23
|
+
|
|
24
|
+
Internal changes.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
37
|
+
|
|
38
|
+
Internal changes.
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.10.0`
|
|
47
|
+
|
|
48
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
57
|
+
|
|
58
|
+
### Tree View
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
61
|
+
|
|
62
|
+
Internal changes.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
67
|
+
|
|
68
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
69
|
+
|
|
70
|
+
### Scheduler
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
73
|
+
|
|
74
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
75
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
80
|
+
|
|
81
|
+
### Chat
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
84
|
+
|
|
85
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Codemod
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-codemod@9.10.0`
|
|
94
|
+
|
|
95
|
+
Internal changes.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
100
|
+
|
|
101
|
+
### Core
|
|
102
|
+
|
|
103
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
104
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
105
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
106
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
107
|
+
|
|
108
|
+
### Miscellaneous
|
|
109
|
+
|
|
110
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
111
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
112
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
113
|
+
|
|
114
|
+
## 9.9.0
|
|
115
|
+
|
|
116
|
+
_Jul 9, 2026_
|
|
117
|
+
|
|
118
|
+
We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
119
|
+
|
|
120
|
+
- 📊 [Data sampling](https://mui.com/x/react-charts/performance/#sampling) for better performance with large bar and line charts
|
|
121
|
+
- 🗺️ [Maps zoom support](https://mui.com/x/react-charts/map/#zoom)
|
|
122
|
+
- ☑️ Support [applying filters on demand](https://mui.com/x/react-data-grid/filtering/customization/#apply-filters-on-demand) in the Data Grid
|
|
123
|
+
- 🐞 Bugfixes
|
|
124
|
+
- 📚 Documentation improvements
|
|
125
|
+
|
|
126
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
127
|
+
@mustafajw07, @sebastianfrey
|
|
128
|
+
|
|
129
|
+
The following team members contributed to this release:
|
|
130
|
+
@aemartos, @alexfauquette, @brijeshb42, @hasdfa, @Janpot, @JCQuintas, @LukasTy, @rita-codes, @sai6855
|
|
131
|
+
|
|
132
|
+
### Data Grid
|
|
133
|
+
|
|
134
|
+
#### `@mui/x-data-grid@9.9.0`
|
|
135
|
+
|
|
136
|
+
- [DataGrid] Add `dataSourceKeepPreviousData` prop (#22554) @LukasTy
|
|
137
|
+
- [DataGrid] Add controlled filter panel for applying filters on demand (#23023) @sebastianfrey
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-data-grid-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
140
|
+
|
|
141
|
+
Same changes as in `@mui/x-data-grid@9.9.0`.
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-premium@9.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid-pro@9.9.0`.
|
|
146
|
+
|
|
147
|
+
### Date and Time Pickers
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-date-pickers@9.9.0`
|
|
150
|
+
|
|
151
|
+
Internal changes.
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-date-pickers-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
154
|
+
|
|
155
|
+
Same changes as in `@mui/x-date-pickers@9.9.0`, plus:
|
|
156
|
+
|
|
157
|
+
- [DateRangeCalendar] Avoid unnecessary month switch when the value is already visible (#22996) @LukasTy
|
|
158
|
+
|
|
159
|
+
### Charts
|
|
160
|
+
|
|
161
|
+
#### `@mui/x-charts@9.9.0`
|
|
162
|
+
|
|
163
|
+
- [charts] Optimize and de-duplicate sampled axis-highlight band lookup (#23052) @JCQuintas
|
|
164
|
+
- [charts] Unify tooltip item position getter and selector into a single selector API (#23041) @alexfauquette
|
|
165
|
+
- [charts] Fix impossible condition in axis text angle warning (#23102) @sai6855
|
|
166
|
+
|
|
167
|
+
#### `@mui/x-charts-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
168
|
+
|
|
169
|
+
Same changes as in `@mui/x-charts@9.9.0`, plus:
|
|
170
|
+
|
|
171
|
+
- [charts-pro] Add data sampling for large bar and line charts (#22830) @JCQuintas
|
|
172
|
+
- [charts-pro] Allow sampling on non-zoomable charts (#23051) @JCQuintas
|
|
173
|
+
|
|
174
|
+
#### `@mui/x-charts-premium@9.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
175
|
+
|
|
176
|
+
#### Breaking changes
|
|
177
|
+
|
|
178
|
+
The API of the `Unstable_ChartsGeoDataProviderPremium` got modified.
|
|
179
|
+
Props `scale`, `rotation`, and `translation` are replaced by props `view` and `initialView`.
|
|
180
|
+
Same behavior can be obtained with `view.zoomLevel`, `view.center`, and `view.translation`.
|
|
181
|
+
See the [zoom view section](https://mui.com/x/react-charts/map/#control) for detailed information
|
|
182
|
+
|
|
183
|
+
Same changes as in `@mui/x-charts-pro@9.9.0`, plus:
|
|
184
|
+
|
|
185
|
+
- [charts-premium] Maps zoom support (#22709) @alexfauquette
|
|
186
|
+
|
|
187
|
+
### Tree View
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-tree-view@9.9.0`
|
|
190
|
+
|
|
191
|
+
Internal changes.
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-tree-view-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
194
|
+
|
|
195
|
+
Same changes as in `@mui/x-tree-view@9.9.0`.
|
|
196
|
+
|
|
197
|
+
### Scheduler
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-scheduler@9.0.0-beta.5`
|
|
200
|
+
|
|
201
|
+
- [scheduler] Introduce event resource helper utilities (#23022) @mustafajw07
|
|
202
|
+
- [scheduler] Preserve multi-day event continuity across overflow (#22797) @mustafajw07
|
|
203
|
+
|
|
204
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
205
|
+
|
|
206
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.5`.
|
|
207
|
+
|
|
208
|
+
### Codemod
|
|
209
|
+
|
|
210
|
+
#### `@mui/x-codemod@9.9.0`
|
|
211
|
+
|
|
212
|
+
Internal changes.
|
|
213
|
+
|
|
214
|
+
### Docs
|
|
215
|
+
|
|
216
|
+
- [docs] Fix broken social preview image on shared docs links (#23055) @sai6855
|
|
217
|
+
- [docs] Review and clean up react-chat docs demos & gallery; fix actions-bar layout (#22993) @hasdfa
|
|
218
|
+
- [docs] Update the Pickers recommended date library bundle sizes (#23087) @LukasTy
|
|
219
|
+
|
|
220
|
+
### Core
|
|
221
|
+
|
|
222
|
+
- [mcp] Add `@mui/mcp` server and `@mui/x-agent-tools`. See the [README](https://github.com/mui/mui-x/blob/master/packages/mcp/README.md) for setup (#22947) @aemartos
|
|
223
|
+
- [code-infra] Avoid OOM in the Netlify docs build and CircleCI lint step (#23086) @LukasTy
|
|
224
|
+
- [code-infra] Group `@atlaskit/pragmatic-drag-and-drop` renovate updates (#23105) @LukasTy
|
|
225
|
+
- [code-infra] Validate npm publishing through dry run (#23038) @brijeshb42
|
|
226
|
+
- [docs-infra] Enable `webpackBuildWorker` to bound docs build memory (#23100) @Janpot
|
|
227
|
+
|
|
228
|
+
### Miscellaneous
|
|
229
|
+
|
|
230
|
+
- [test] Fix flaky "should render only the pageSize" Data Grid virtualization test (#23090) @LukasTy
|
|
231
|
+
- [test] Track `@mui/x-chat` bundle size via native expand (#23049) @Janpot
|
|
232
|
+
|
|
3
233
|
## 9.8.0
|
|
4
234
|
|
|
5
235
|
_Jul 2, 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.0",
|
|
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-
|
|
30
|
-
"@mui/x-data-grid-
|
|
31
|
-
"@mui/x-internals": "^9.
|
|
27
|
+
"lru-cache": "^11.5.2",
|
|
28
|
+
"@mui/x-data-grid": "^9.10.0",
|
|
29
|
+
"@mui/x-data-grid-premium": "^9.10.0",
|
|
30
|
+
"@mui/x-data-grid-pro": "^9.10.0",
|
|
31
|
+
"@mui/x-internals": "^9.10.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@emotion/react": "^11.9.0",
|
|
@@ -2,4 +2,4 @@ import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
|
2
2
|
export declare function renderAvatar(params: GridRenderCellParams<{
|
|
3
3
|
name: string;
|
|
4
4
|
color: string;
|
|
5
|
-
}, any, any>): "" | import("react
|
|
5
|
+
}, any, any>): "" | import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
|
2
2
|
export declare function renderAvatar(params: GridRenderCellParams<{
|
|
3
3
|
name: string;
|
|
4
4
|
color: string;
|
|
5
|
-
}, any, any>): "" | import("react
|
|
5
|
+
}, any, any>): "" | import("react").JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditBoolean(params: GridRenderEditCellParams<any, boolean>):
|
|
3
|
+
export declare function renderEditBoolean(params: GridRenderEditCellParams<any, boolean>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditBoolean(params: GridRenderEditCellParams<any, boolean>):
|
|
3
|
+
export declare function renderEditBoolean(params: GridRenderEditCellParams<any, boolean>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
3
|
import type { CountryIsoOption } from "../services/static-data.mjs";
|
|
3
|
-
export declare function renderEditCountry(params: GridRenderEditCellParams<CountryIsoOption>):
|
|
4
|
+
export declare function renderEditCountry(params: GridRenderEditCellParams<CountryIsoOption>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
3
|
import type { CountryIsoOption } from "../services/static-data.js";
|
|
3
|
-
export declare function renderEditCountry(params: GridRenderEditCellParams<CountryIsoOption>):
|
|
4
|
+
export declare function renderEditCountry(params: GridRenderEditCellParams<CountryIsoOption>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>):
|
|
3
|
+
export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>):
|
|
3
|
+
export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>):
|
|
3
|
+
export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>):
|
|
3
|
+
export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>):
|
|
3
|
+
export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>):
|
|
3
|
+
export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditRating(params: GridRenderEditCellParams<any, number>):
|
|
3
|
+
export declare function renderEditRating(params: GridRenderEditCellParams<any, number>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditRating(params: GridRenderEditCellParams<any, number>):
|
|
3
|
+
export declare function renderEditRating(params: GridRenderEditCellParams<any, number>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>):
|
|
3
|
+
export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>):
|
|
3
|
+
export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEmail(params: GridRenderCellParams<any, string, any>): import("react
|
|
2
|
+
export declare function renderEmail(params: GridRenderCellParams<any, string, any>): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderEmail(params: GridRenderCellParams<any, string, any>): import("react
|
|
2
|
+
export declare function renderEmail(params: GridRenderCellParams<any, string, any>): import("react").JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>):
|
|
3
|
+
export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>): React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>):
|
|
3
|
+
export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>): React.JSX.Element;
|
|
@@ -5,6 +5,6 @@ interface DemoLinkProps {
|
|
|
5
5
|
children: string;
|
|
6
6
|
tabIndex: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const DemoLink: React.MemoExoticComponent<(props: DemoLinkProps) =>
|
|
9
|
-
export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" |
|
|
8
|
+
export declare const DemoLink: React.MemoExoticComponent<(props: DemoLinkProps) => React.JSX.Element>;
|
|
9
|
+
export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" | React.JSX.Element;
|
|
10
10
|
export {};
|
package/renderer/renderLink.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ interface DemoLinkProps {
|
|
|
5
5
|
children: string;
|
|
6
6
|
tabIndex: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const DemoLink: React.MemoExoticComponent<(props: DemoLinkProps) =>
|
|
9
|
-
export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" |
|
|
8
|
+
export declare const DemoLink: React.MemoExoticComponent<(props: DemoLinkProps) => React.JSX.Element>;
|
|
9
|
+
export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" | React.JSX.Element;
|
|
10
10
|
export {};
|
package/renderer/renderPnl.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" |
|
|
3
|
+
export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" | React.JSX.Element;
|
package/renderer/renderPnl.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" |
|
|
3
|
+
export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" | React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderProgress(params: GridRenderCellParams<any, number, any>): string |
|
|
3
|
+
export declare function renderProgress(params: GridRenderCellParams<any, number, any>): string | React.JSX.Element | null;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderProgress(params: GridRenderCellParams<any, number, any>): string |
|
|
3
|
+
export declare function renderProgress(params: GridRenderCellParams<any, number, any>): string | React.JSX.Element | null;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" |
|
|
3
|
+
export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" | React.JSX.Element | null;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" |
|
|
3
|
+
export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" | React.JSX.Element | null;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderStatus(params: GridRenderCellParams<any, string>): "" |
|
|
3
|
+
export declare function renderStatus(params: GridRenderCellParams<any, string>): "" | React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderStatus(params: GridRenderCellParams<any, string>): "" |
|
|
3
|
+
export declare function renderStatus(params: GridRenderCellParams<any, string>): "" | React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" |
|
|
3
|
+
export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" | React.JSX.Element | null;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { GridRenderCellParams } from '@mui/x-data-grid-premium';
|
|
2
|
-
export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" |
|
|
3
|
+
export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" | React.JSX.Element | null;
|
|
@@ -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[];
|