@mui/x-data-grid-premium 6.11.1 → 6.12.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 +154 -31
- package/DataGridPremium/DataGrid.d.ts +1 -0
- package/DataGridPremium/DataGrid.js +2 -0
- package/DataGridPremium/DataGridPremium.js +11 -0
- package/components/GridExcelExportMenuItem.js +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -4
- package/hooks/features/cellSelection/useGridCellSelection.js +2 -2
- package/hooks/utils/useKeepGroupedColumnsHidden.js +2 -2
- package/index.js +1 -1
- package/legacy/DataGridPremium/DataGrid.js +2 -0
- package/legacy/DataGridPremium/DataGridPremium.js +11 -0
- package/legacy/components/GridExcelExportMenuItem.js +1 -1
- package/legacy/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -4
- package/legacy/hooks/features/cellSelection/useGridCellSelection.js +2 -2
- package/legacy/hooks/utils/useKeepGroupedColumnsHidden.js +2 -2
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/DataGridPremium/DataGrid.js +2 -0
- package/modern/DataGridPremium/DataGridPremium.js +11 -0
- package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -4
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/DataGrid.js +13 -0
- package/node/DataGridPremium/DataGridPremium.js +11 -0
- package/node/hooks/features/aggregation/wrapColumnWithAggregation.js +2 -4
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,129 @@
|
|
|
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
|
+
## 6.12.0
|
|
7
|
+
|
|
8
|
+
_Aug 25, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 📊 Support horizontal bar chart
|
|
13
|
+
- 💫 Improved animations on Android devices
|
|
14
|
+
- 🌍 Improve Ukrainian (uk-UA) locale on the data grid
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid@v6.12.0`
|
|
21
|
+
|
|
22
|
+
- [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
|
|
23
|
+
- [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@v6.12.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@v6.12.0`.
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@v6.12.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
|
|
32
|
+
|
|
33
|
+
### Date Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@v6.12.0`
|
|
36
|
+
|
|
37
|
+
- [fields] Do not clamp day of month (#9973) @flaviendelangle
|
|
38
|
+
- [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
|
|
39
|
+
- [pickers] Fix to `transform-origin` when popper opens to `top` (#10069) @LukasTy
|
|
40
|
+
- [pickers] Fix `YearCalendar` scrolling (#10135) @LukasTy
|
|
41
|
+
- [pickers] Improve the typing of the adapter `dateWithTimezone` method (#10029) @flaviendelangle
|
|
42
|
+
- [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
|
|
43
|
+
- [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers-pro@v6.12.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
46
|
+
|
|
47
|
+
Same changes as in `@mui/x-date-pickers@v6.12.0`.
|
|
48
|
+
|
|
49
|
+
### Charts / `@mui/x-charts@6.12.0`
|
|
50
|
+
|
|
51
|
+
- [charts] Fix import issue (#10111) @alexfauquette
|
|
52
|
+
- [charts] Fix `slotProps` propagation (#10105) @alexfauquette
|
|
53
|
+
- [charts] Support horizontal bar chart (#9992) @alexfauquette
|
|
54
|
+
|
|
55
|
+
### Docs
|
|
56
|
+
|
|
57
|
+
- [docs] Address charts docs feedback (#10119) @alexfauquette
|
|
58
|
+
- [docs] Capitalization convention pickers @oliviertassinari
|
|
59
|
+
- [docs] Fix a11y issue on plan links (#10026) @oliviertassinari
|
|
60
|
+
- [docs] Fix some charts horizontal overflow on mobile devices (#10082) @cupok
|
|
61
|
+
- [docs] Fix typo in quick filter @oliviertassinari
|
|
62
|
+
- [docs] Fix typo in the timezone page (#10073) @flaviendelangle
|
|
63
|
+
|
|
64
|
+
### Core
|
|
65
|
+
|
|
66
|
+
- [core] Bump monorepo (#10129) @LukasTy
|
|
67
|
+
- [core] Document a bit `useLazyRef` @oliviertassinari
|
|
68
|
+
- [core] Enable strict type checking options in the top-level tsconfig (#9925) @cherniavskii
|
|
69
|
+
- [core] Increase global e2e timeout (#10134) @LukasTy
|
|
70
|
+
- [core] Remove outdated link (#10125) @oliviertassinari
|
|
71
|
+
- [core] Update `no-response` workflow (#10102) @DanailH
|
|
72
|
+
|
|
73
|
+
## 6.11.2
|
|
74
|
+
|
|
75
|
+
_Aug 17, 2023_
|
|
76
|
+
|
|
77
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
78
|
+
|
|
79
|
+
- 🏎️ Lower the filtering delay in the grid
|
|
80
|
+
- 🌍 Improve Spanish (es-ES) locale on the data grid
|
|
81
|
+
- 🐞 Bugfixes
|
|
82
|
+
- 📚 Documentation improvements
|
|
83
|
+
|
|
84
|
+
### Data Grid
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-data-grid@v6.11.2`
|
|
87
|
+
|
|
88
|
+
- [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
|
|
89
|
+
- [DataGrid] Fix row id bug (#10051) @romgrk
|
|
90
|
+
- [DataGrid] Honor `disableExport` flag in Print Export (#10044) @MBilalShafi
|
|
91
|
+
- [DataGrid] Lower filter debounce delay (#9712) @romgrk
|
|
92
|
+
- [DataGrid] Unhide potential ref binding issue (#9965) @oliviertassinari
|
|
93
|
+
- [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
|
|
94
|
+
- [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
|
|
95
|
+
|
|
96
|
+
#### `@mui/x-data-grid-pro@v6.11.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
97
|
+
|
|
98
|
+
Same changes as in `@mui/x-data-grid@v6.11.2`.
|
|
99
|
+
|
|
100
|
+
#### `@mui/x-data-grid-premium@v6.11.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
101
|
+
|
|
102
|
+
Same changes as in `@mui/x-data-grid-pro@v6.11.2`.
|
|
103
|
+
|
|
104
|
+
### Date Pickers
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-date-pickers@v6.11.2`
|
|
107
|
+
|
|
108
|
+
- [pickers] Fix month switcher RTL (#10003) @alexfauquette
|
|
109
|
+
- [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
|
|
110
|
+
- [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
|
|
111
|
+
- [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-date-pickers-pro@v6.11.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
114
|
+
|
|
115
|
+
Same changes as in `@mui/x-date-pickers@v6.11.2`.
|
|
116
|
+
|
|
117
|
+
### Docs
|
|
118
|
+
|
|
119
|
+
- [docs] Add migration guide for the Tree View (#9987) @flaviendelangle
|
|
120
|
+
- [docs] Fix en-US changelog @oliviertassinari
|
|
121
|
+
- [docs] Update column types (#10040) @romgrk
|
|
122
|
+
|
|
123
|
+
### Core
|
|
124
|
+
|
|
125
|
+
- [core] Remove unnecessary Box (#9831) @oliviertassinari
|
|
126
|
+
- [core] Set GitHub Action top level permission @oliviertassinari
|
|
127
|
+
- [core] Split the pickers test utils (#9976) @flaviendelangle
|
|
128
|
+
|
|
6
129
|
## 6.11.1
|
|
7
130
|
|
|
8
131
|
_Aug 11, 2023_
|
|
@@ -21,11 +144,11 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
21
144
|
|
|
22
145
|
- [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
|
|
23
146
|
|
|
24
|
-
#### `@mui/x-data-grid-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link)
|
|
147
|
+
#### `@mui/x-data-grid-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
25
148
|
|
|
26
149
|
Same changes as in `@mui/x-data-grid@6.11.1`.
|
|
27
150
|
|
|
28
|
-
#### `@mui/x-data-grid-premium@6.11.1` [](https://mui.com/r/x-premium-svg-link)
|
|
151
|
+
#### `@mui/x-data-grid-premium@6.11.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
29
152
|
|
|
30
153
|
Same changes as in `@mui/x-data-grid-pro@6.11.1`.
|
|
31
154
|
|
|
@@ -40,7 +163,7 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
|
|
|
40
163
|
- [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
|
|
41
164
|
- [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
|
|
42
165
|
|
|
43
|
-
#### `@mui/x-date-pickers-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link)
|
|
166
|
+
#### `@mui/x-date-pickers-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
44
167
|
|
|
45
168
|
Same changes as in `@mui/x-date-pickers@6.11.1`.
|
|
46
169
|
|
|
@@ -90,11 +213,11 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
90
213
|
- [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
|
|
91
214
|
- [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
|
|
92
215
|
|
|
93
|
-
#### `@mui/x-data-grid-pro@v6.11.0` [](https://mui.com/r/x-pro-svg-link)
|
|
216
|
+
#### `@mui/x-data-grid-pro@v6.11.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
94
217
|
|
|
95
218
|
Same changes as in `@mui/x-data-grid@v6.11.0`.
|
|
96
219
|
|
|
97
|
-
#### `@mui/x-data-grid-premium@v6.11.0` [](https://mui.com/r/x-premium-svg-link)
|
|
220
|
+
#### `@mui/x-data-grid-premium@v6.11.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
98
221
|
|
|
99
222
|
Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
|
|
100
223
|
|
|
@@ -113,7 +236,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
|
|
|
113
236
|
- [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
|
|
114
237
|
- [pickers] Use device motion reduction preference (#9823) @LukasTy
|
|
115
238
|
|
|
116
|
-
#### `@mui/x-date-pickers-pro@v6.11.0` [](https://mui.com/r/x-pro-svg-link)
|
|
239
|
+
#### `@mui/x-date-pickers-pro@v6.11.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
117
240
|
|
|
118
241
|
Same changes as in `@mui/x-date-pickers@v6.11.0`.
|
|
119
242
|
|
|
@@ -176,11 +299,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
|
|
|
176
299
|
- [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
|
|
177
300
|
- [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
|
|
178
301
|
|
|
179
|
-
#### `@mui/x-data-grid-pro@v6.10.2` [](https://mui.com/r/x-pro-svg-link)
|
|
302
|
+
#### `@mui/x-data-grid-pro@v6.10.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
180
303
|
|
|
181
304
|
Same changes as in `@mui/x-data-grid@v6.10.2`.
|
|
182
305
|
|
|
183
|
-
#### `@mui/x-data-grid-premium@v6.10.2` [](https://mui.com/r/x-premium-svg-link)
|
|
306
|
+
#### `@mui/x-data-grid-premium@v6.10.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
184
307
|
|
|
185
308
|
Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
|
|
186
309
|
|
|
@@ -192,7 +315,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
|
|
|
192
315
|
|
|
193
316
|
- [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
|
|
194
317
|
|
|
195
|
-
#### `@mui/x-date-pickers-pro@v6.10.2` [](https://mui.com/r/x-pro-svg-link)
|
|
318
|
+
#### `@mui/x-date-pickers-pro@v6.10.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
196
319
|
|
|
197
320
|
Same changes as in `@mui/x-date-pickers@v6.10.2`.
|
|
198
321
|
|
|
@@ -244,14 +367,14 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
244
367
|
- [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
|
|
245
368
|
- [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
|
|
246
369
|
|
|
247
|
-
#### `@mui/x-data-grid-pro@v6.10.1` [](https://mui.com/r/x-pro-svg-link)
|
|
370
|
+
#### `@mui/x-data-grid-pro@v6.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
248
371
|
|
|
249
372
|
Same changes as in `@mui/x-data-grid@v6.10.1`, plus:
|
|
250
373
|
|
|
251
374
|
- [DataGridPro] Improve tree data performance (#9682) @cherniavskii
|
|
252
375
|
- [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
|
|
253
376
|
|
|
254
|
-
#### `@mui/x-data-grid-premium@v6.10.1` [](https://mui.com/r/x-premium-svg-link)
|
|
377
|
+
#### `@mui/x-data-grid-premium@v6.10.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
255
378
|
|
|
256
379
|
Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
|
|
257
380
|
|
|
@@ -262,7 +385,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
|
|
|
262
385
|
- [fields] Fix `format` and `value` update order (#9715) @LukasTy
|
|
263
386
|
- [pickers] Remove `require` usage in comment (#9675) @LukasTy
|
|
264
387
|
|
|
265
|
-
#### `@mui/x-date-pickers-pro@v6.10.1` [](https://mui.com/r/x-pro-svg-link)
|
|
388
|
+
#### `@mui/x-date-pickers-pro@v6.10.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
266
389
|
|
|
267
390
|
Same changes as in `@mui/x-date-pickers@v6.10.1`.
|
|
268
391
|
|
|
@@ -313,11 +436,11 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
313
436
|
- [DataGrid] Make `rowExpansionChange` event public (#9611) @MBilalShafi
|
|
314
437
|
- [l10n] Improve Polish (pl-PL) locale (#9625) @ch1llysense
|
|
315
438
|
|
|
316
|
-
#### `@mui/x-data-grid-pro@6.10.0` [](https://mui.com/r/x-pro-svg-link)
|
|
439
|
+
#### `@mui/x-data-grid-pro@6.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
317
440
|
|
|
318
441
|
Same changes as in `@mui/x-data-grid@6.10.0`.
|
|
319
442
|
|
|
320
|
-
#### `@mui/x-data-grid-premium@6.10.0` [](https://mui.com/r/x-premium-svg-link)
|
|
443
|
+
#### `@mui/x-data-grid-premium@6.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
321
444
|
|
|
322
445
|
Same changes as in `@mui/x-data-grid-pro@6.10.0`.
|
|
323
446
|
|
|
@@ -328,7 +451,7 @@ Same changes as in `@mui/x-data-grid-pro@6.10.0`.
|
|
|
328
451
|
- [pickers] Fix date calendar issues (#9652) @LukasTy
|
|
329
452
|
- [l10n] Improve Norwegian (nb-NO) locale (#9608) @JosteinBrevik
|
|
330
453
|
|
|
331
|
-
#### `@mui/x-date-pickers-pro@6.10.0` [](https://mui.com/r/x-pro-svg-link)
|
|
454
|
+
#### `@mui/x-date-pickers-pro@6.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
332
455
|
|
|
333
456
|
Same changes as in `@mui/x-date-pickers@6.10.0`.
|
|
334
457
|
|
|
@@ -381,11 +504,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
381
504
|
- [DataGrid] Correctly reflect `TablePagination`'s `rowsPerPageOptions` shape to `pageSizeOptions` (#9438) @burakkgunduzz
|
|
382
505
|
- [l10n] Improve Spanish (es-ES) locale (#9500) @fufex
|
|
383
506
|
|
|
384
|
-
#### `@mui/x-data-grid-pro@6.9.2` [](https://mui.com/r/x-pro-svg-link)
|
|
507
|
+
#### `@mui/x-data-grid-pro@6.9.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
385
508
|
|
|
386
509
|
Same changes as in `@mui/x-data-grid@6.9.2`.
|
|
387
510
|
|
|
388
|
-
#### `@mui/x-data-grid-premium@6.9.2` [](https://mui.com/r/x-premium-svg-link)
|
|
511
|
+
#### `@mui/x-data-grid-premium@6.9.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
389
512
|
|
|
390
513
|
Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
|
|
391
514
|
|
|
@@ -398,7 +521,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
|
|
|
398
521
|
- [pickers] Forward digital clock classes (#9555) @YoonjiJang
|
|
399
522
|
- [pickers] Rename `internal` folder to `internals` on `@mui/x-date-picker-pro` (#9571) @flaviendelangle
|
|
400
523
|
|
|
401
|
-
#### `@mui/x-date-pickers-pro@6.9.2` [](https://mui.com/r/x-pro-svg-link)
|
|
524
|
+
#### `@mui/x-date-pickers-pro@6.9.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
402
525
|
|
|
403
526
|
Same changes as in `@mui/x-date-pickers@6.9.2`.
|
|
404
527
|
|
|
@@ -446,14 +569,14 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
|
|
|
446
569
|
- [DataGrid] Fix `Maximum call stack size exceeded` error when using fractional width (#9516) @cherniavskii
|
|
447
570
|
- [l10n] Improve Romanian (ro-RO) and Hungarian (hu-HU) translations (#9436) @noraleonte
|
|
448
571
|
|
|
449
|
-
#### `@mui/x-data-grid-pro@6.9.1` [](https://mui.com/r/x-pro-svg-link)
|
|
572
|
+
#### `@mui/x-data-grid-pro@6.9.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
450
573
|
|
|
451
574
|
Same changes as in `@mui/x-data-grid@6.9.1`, plus:
|
|
452
575
|
|
|
453
576
|
- [DataGridPro] Don't throw error in column pinning (#9507) @romgrk
|
|
454
577
|
- [DataGridPro] Fix bug with `checkboxSelection` and treeData/grouping (#9418) @romgrk
|
|
455
578
|
|
|
456
|
-
#### `@mui/x-data-grid-premium@6.9.1` [](https://mui.com/r/x-premium-svg-link)
|
|
579
|
+
#### `@mui/x-data-grid-premium@6.9.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
457
580
|
|
|
458
581
|
Same changes as in `@mui/x-data-grid-pro@6.9.1`.
|
|
459
582
|
|
|
@@ -467,7 +590,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.1`.
|
|
|
467
590
|
- [l10n] Add Chinese (Hong Kong) (zh-HK) locale (#9468) @samchiu90
|
|
468
591
|
- [l10n] Improve Romanian (ro-RO) translations (#9436) @noraleonte
|
|
469
592
|
|
|
470
|
-
#### `@mui/x-date-pickers-pro@6.9.1` [](https://mui.com/r/x-pro-svg-link)
|
|
593
|
+
#### `@mui/x-date-pickers-pro@6.9.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
471
594
|
|
|
472
595
|
Same changes as in `@mui/x-date-pickers@6.9.1`.
|
|
473
596
|
|
|
@@ -531,11 +654,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
531
654
|
- [DataGrid] Use container dimensions from `getComputedStyle` (#9236) @m4theushw
|
|
532
655
|
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#9404) @julioAz
|
|
533
656
|
|
|
534
|
-
#### `@mui/x-data-grid-pro@6.9.0` [](https://mui.com/r/x-pro-svg-link)
|
|
657
|
+
#### `@mui/x-data-grid-pro@6.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
535
658
|
|
|
536
659
|
Same changes as in `@mui/x-data-grid@6.9.0`.
|
|
537
660
|
|
|
538
|
-
#### `@mui/x-data-grid-premium@6.9.0` [](https://mui.com/r/x-premium-svg-link)
|
|
661
|
+
#### `@mui/x-data-grid-premium@6.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
539
662
|
|
|
540
663
|
Same changes as in `@mui/x-data-grid-pro@6.9.0`.
|
|
541
664
|
|
|
@@ -551,7 +674,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.0`.
|
|
|
551
674
|
- [pickers] Reduce date range calendar vertical border width (#9368) @oliviertassinari
|
|
552
675
|
- [pickers] Reset fields internal state when pasting value (#9385) @alexfauquette
|
|
553
676
|
|
|
554
|
-
#### `@mui/x-date-pickers-pro@6.9.0` [](https://mui.com/r/x-pro-svg-link)
|
|
677
|
+
#### `@mui/x-date-pickers-pro@6.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
555
678
|
|
|
556
679
|
Same changes as in `@mui/x-date-pickers@6.9.0`.
|
|
557
680
|
|
|
@@ -607,11 +730,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
|
|
|
607
730
|
- [DataGrid] Scroll performance improvements (#9037) @romgrk
|
|
608
731
|
- [l10n] Improve Greek (el-GR) locale (#9292) @clytras
|
|
609
732
|
|
|
610
|
-
#### `@mui/x-data-grid-pro@6.8.0` [](https://mui.com/r/x-pro-svg-link)
|
|
733
|
+
#### `@mui/x-data-grid-pro@6.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
611
734
|
|
|
612
735
|
Same changes as in `@mui/x-data-grid@6.8.0`.
|
|
613
736
|
|
|
614
|
-
#### `@mui/x-data-grid-premium@6.8.0` [](https://mui.com/r/x-premium-svg-link)
|
|
737
|
+
#### `@mui/x-data-grid-premium@6.8.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
615
738
|
|
|
616
739
|
Same changes as in `@mui/x-data-grid-pro@6.8.0`.
|
|
617
740
|
|
|
@@ -624,7 +747,7 @@ Same changes as in `@mui/x-data-grid-pro@6.8.0`.
|
|
|
624
747
|
- [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
|
|
625
748
|
- [pickers] Fix disabling for digital clock (#9300) @alexfauquette
|
|
626
749
|
|
|
627
|
-
#### `@mui/x-date-pickers-pro@6.8.0` [](https://mui.com/r/x-pro-svg-link)
|
|
750
|
+
#### `@mui/x-date-pickers-pro@6.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
628
751
|
|
|
629
752
|
Same changes as in `@mui/x-date-pickers@6.8.0`.
|
|
630
753
|
|
|
@@ -700,13 +823,13 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
|
|
|
700
823
|
- [l10n] Improve German (de-DE) locale (#9259) @ximex
|
|
701
824
|
- [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
|
|
702
825
|
|
|
703
|
-
#### `@mui/x-data-grid-pro@6.7.0` [](https://mui.com/r/x-pro-svg-link)
|
|
826
|
+
#### `@mui/x-data-grid-pro@6.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
704
827
|
|
|
705
828
|
Same changes as in `@mui/x-data-grid@6.7.0`, plus:
|
|
706
829
|
|
|
707
830
|
- [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
|
|
708
831
|
|
|
709
|
-
#### `@mui/x-data-grid-premium@6.7.0` [](https://mui.com/r/x-premium-svg-link)
|
|
832
|
+
#### `@mui/x-data-grid-premium@6.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
710
833
|
|
|
711
834
|
Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
|
|
712
835
|
|
|
@@ -720,7 +843,7 @@ Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
|
|
|
720
843
|
- [l10n] Improve German (de-DE) locale (#9258) @ximex
|
|
721
844
|
- [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
|
|
722
845
|
|
|
723
|
-
#### `@mui/x-date-pickers-pro@6.7.0` [](https://mui.com/r/x-pro-svg-link)
|
|
846
|
+
#### `@mui/x-date-pickers-pro@6.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
724
847
|
|
|
725
848
|
Same changes as in `@mui/x-date-pickers@6.7.0`, plus:
|
|
726
849
|
|
|
@@ -2872,7 +2995,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
2872
2995
|
|
|
2873
2996
|
#### Changes
|
|
2874
2997
|
|
|
2875
|
-
- [DateRangePicker] Fix input focused style and mobile
|
|
2998
|
+
- [DateRangePicker] Fix input focused style and mobile behavior (#6645) @LukasTy
|
|
2876
2999
|
- [fields] Update sections when the locale changes (#6649) @flaviendelangle
|
|
2877
3000
|
- [pickers] Add Ukrainian (uk-UA) locale (#6661) @Dufran
|
|
2878
3001
|
- [pickers] Allow non-controlled usage of the calendar components (#6643) @flaviendelangle
|
|
@@ -218,6 +218,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
218
218
|
* @default false
|
|
219
219
|
*/
|
|
220
220
|
disableDensitySelector: PropTypes.bool,
|
|
221
|
+
/**
|
|
222
|
+
* If `true`, `eval()` is not used for performance optimization.
|
|
223
|
+
* @default false
|
|
224
|
+
* @ignore - do not document
|
|
225
|
+
*/
|
|
226
|
+
disableEval: PropTypes.bool,
|
|
221
227
|
/**
|
|
222
228
|
* If `true`, filtering with multiple columns is disabled.
|
|
223
229
|
* @default false
|
|
@@ -264,6 +270,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
264
270
|
lazyLoading: PropTypes.bool,
|
|
265
271
|
warnIfFocusStateIsNotSynced: PropTypes.bool
|
|
266
272
|
}),
|
|
273
|
+
/**
|
|
274
|
+
* The milliseconds delay to wait after a keystroke before triggering filtering.
|
|
275
|
+
* @default 150
|
|
276
|
+
*/
|
|
277
|
+
filterDebounceMs: PropTypes.number,
|
|
267
278
|
/**
|
|
268
279
|
* Filtering can be processed on the server or client-side.
|
|
269
280
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
@@ -16,7 +16,7 @@ function GridExcelExportMenuItem(props) {
|
|
|
16
16
|
return /*#__PURE__*/_jsx(MenuItem, _extends({
|
|
17
17
|
onClick: () => {
|
|
18
18
|
apiRef.current.exportDataAsExcel(options);
|
|
19
|
-
hideMenu == null
|
|
19
|
+
hideMenu == null || hideMenu();
|
|
20
20
|
}
|
|
21
21
|
}, other, {
|
|
22
22
|
children: apiRef.current.getLocaleText('toolbarExportExcel')
|
|
@@ -83,6 +83,7 @@ const getAggregationValueWrappedRenderCell = ({
|
|
|
83
83
|
*/
|
|
84
84
|
const getWrappedFilterOperators = ({
|
|
85
85
|
value: filterOperators,
|
|
86
|
+
apiRef,
|
|
86
87
|
getCellAggregationResult
|
|
87
88
|
}) => filterOperators.map(operator => {
|
|
88
89
|
const baseGetApplyFilterFn = operator.getApplyFilterFn;
|
|
@@ -105,7 +106,7 @@ const getWrappedFilterOperators = ({
|
|
|
105
106
|
return null;
|
|
106
107
|
}
|
|
107
108
|
return (value, row, column, api) => {
|
|
108
|
-
if (getCellAggregationResult(row
|
|
109
|
+
if (getCellAggregationResult(apiRef.current.getRowId(row), column.field) != null) {
|
|
109
110
|
return true;
|
|
110
111
|
}
|
|
111
112
|
return filterFn(value, row, column, api);
|
|
@@ -152,9 +153,6 @@ export const wrapColumnWithAggregationValue = ({
|
|
|
152
153
|
var _rowNode$parent, _gridAggregationLooku;
|
|
153
154
|
let cellAggregationPosition = null;
|
|
154
155
|
const rowNode = apiRef.current.getRowNode(id);
|
|
155
|
-
if (!rowNode) {
|
|
156
|
-
return null;
|
|
157
|
-
}
|
|
158
156
|
if (rowNode.type === 'group') {
|
|
159
157
|
cellAggregationPosition = 'inline';
|
|
160
158
|
} else if (id.toString().startsWith('auto-generated-group-footer-')) {
|
|
@@ -121,7 +121,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
121
121
|
const handleMouseUp = useEventCallback(() => {
|
|
122
122
|
var _apiRef$current$rootE;
|
|
123
123
|
lastMouseDownCell.current = null;
|
|
124
|
-
(_apiRef$current$rootE = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE = _apiRef$current$rootE.current) == null
|
|
124
|
+
(_apiRef$current$rootE = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE = _apiRef$current$rootE.current) == null || _apiRef$current$rootE.classList.remove(gridClasses['root--disableUserSelection']);
|
|
125
125
|
|
|
126
126
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
127
127
|
stopAutoScroll();
|
|
@@ -142,7 +142,7 @@ export const useGridCellSelection = (apiRef, props) => {
|
|
|
142
142
|
id: params.id,
|
|
143
143
|
field: params.field
|
|
144
144
|
};
|
|
145
|
-
(_apiRef$current$rootE2 = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE2 = _apiRef$current$rootE2.current) == null
|
|
145
|
+
(_apiRef$current$rootE2 = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE2 = _apiRef$current$rootE2.current) == null || _apiRef$current$rootE2.classList.add(gridClasses['root--disableUserSelection']);
|
|
146
146
|
const document = ownerDocument((_apiRef$current$rootE3 = apiRef.current.rootElementRef) == null ? void 0 : _apiRef$current$rootE3.current);
|
|
147
147
|
document.addEventListener('mouseup', handleMouseUp, {
|
|
148
148
|
once: true
|
|
@@ -3,12 +3,12 @@ import * as React from 'react';
|
|
|
3
3
|
import { gridColumnVisibilityModelSelector } from '@mui/x-data-grid-pro';
|
|
4
4
|
const updateColumnVisibilityModel = (columnVisibilityModel, rowGroupingModel, prevRowGroupingModel) => {
|
|
5
5
|
const newColumnVisibilityModel = _extends({}, columnVisibilityModel);
|
|
6
|
-
rowGroupingModel == null
|
|
6
|
+
rowGroupingModel == null || rowGroupingModel.forEach(field => {
|
|
7
7
|
if (!(prevRowGroupingModel != null && prevRowGroupingModel.includes(field))) {
|
|
8
8
|
newColumnVisibilityModel[field] = false;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
prevRowGroupingModel == null
|
|
11
|
+
prevRowGroupingModel == null || prevRowGroupingModel.forEach(field => {
|
|
12
12
|
if (!(rowGroupingModel != null && rowGroupingModel.includes(field))) {
|
|
13
13
|
newColumnVisibilityModel[field] = true;
|
|
14
14
|
}
|
package/index.js
CHANGED
|
@@ -218,6 +218,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
218
218
|
* @default false
|
|
219
219
|
*/
|
|
220
220
|
disableDensitySelector: PropTypes.bool,
|
|
221
|
+
/**
|
|
222
|
+
* If `true`, `eval()` is not used for performance optimization.
|
|
223
|
+
* @default false
|
|
224
|
+
* @ignore - do not document
|
|
225
|
+
*/
|
|
226
|
+
disableEval: PropTypes.bool,
|
|
221
227
|
/**
|
|
222
228
|
* If `true`, filtering with multiple columns is disabled.
|
|
223
229
|
* @default false
|
|
@@ -264,6 +270,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
264
270
|
lazyLoading: PropTypes.bool,
|
|
265
271
|
warnIfFocusStateIsNotSynced: PropTypes.bool
|
|
266
272
|
}),
|
|
273
|
+
/**
|
|
274
|
+
* The milliseconds delay to wait after a keystroke before triggering filtering.
|
|
275
|
+
* @default 150
|
|
276
|
+
*/
|
|
277
|
+
filterDebounceMs: PropTypes.number,
|
|
267
278
|
/**
|
|
268
279
|
* Filtering can be processed on the server or client-side.
|
|
269
280
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
@@ -14,7 +14,7 @@ function GridExcelExportMenuItem(props) {
|
|
|
14
14
|
return /*#__PURE__*/_jsx(MenuItem, _extends({
|
|
15
15
|
onClick: function onClick() {
|
|
16
16
|
apiRef.current.exportDataAsExcel(options);
|
|
17
|
-
hideMenu == null
|
|
17
|
+
hideMenu == null || hideMenu();
|
|
18
18
|
}
|
|
19
19
|
}, other, {
|
|
20
20
|
children: apiRef.current.getLocaleText('toolbarExportExcel')
|
|
@@ -80,6 +80,7 @@ var getAggregationValueWrappedRenderCell = function getAggregationValueWrappedRe
|
|
|
80
80
|
*/
|
|
81
81
|
var getWrappedFilterOperators = function getWrappedFilterOperators(_ref4) {
|
|
82
82
|
var filterOperators = _ref4.value,
|
|
83
|
+
apiRef = _ref4.apiRef,
|
|
83
84
|
getCellAggregationResult = _ref4.getCellAggregationResult;
|
|
84
85
|
return filterOperators.map(function (operator) {
|
|
85
86
|
var baseGetApplyFilterFn = operator.getApplyFilterFn;
|
|
@@ -102,7 +103,7 @@ var getWrappedFilterOperators = function getWrappedFilterOperators(_ref4) {
|
|
|
102
103
|
return null;
|
|
103
104
|
}
|
|
104
105
|
return function (value, row, column, api) {
|
|
105
|
-
if (getCellAggregationResult(row
|
|
106
|
+
if (getCellAggregationResult(apiRef.current.getRowId(row), column.field) != null) {
|
|
106
107
|
return true;
|
|
107
108
|
}
|
|
108
109
|
return filterFn(value, row, column, api);
|
|
@@ -148,9 +149,6 @@ export var wrapColumnWithAggregationValue = function wrapColumnWithAggregationVa
|
|
|
148
149
|
var _rowNode$parent, _gridAggregationLooku;
|
|
149
150
|
var cellAggregationPosition = null;
|
|
150
151
|
var rowNode = apiRef.current.getRowNode(id);
|
|
151
|
-
if (!rowNode) {
|
|
152
|
-
return null;
|
|
153
|
-
}
|
|
154
152
|
if (rowNode.type === 'group') {
|
|
155
153
|
cellAggregationPosition = 'inline';
|
|
156
154
|
} else if (id.toString().startsWith('auto-generated-group-footer-')) {
|
|
@@ -138,7 +138,7 @@ export var useGridCellSelection = function useGridCellSelection(apiRef, props) {
|
|
|
138
138
|
var handleMouseUp = useEventCallback(function () {
|
|
139
139
|
var _apiRef$current$rootE;
|
|
140
140
|
lastMouseDownCell.current = null;
|
|
141
|
-
(_apiRef$current$rootE = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE = _apiRef$current$rootE.current) == null
|
|
141
|
+
(_apiRef$current$rootE = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE = _apiRef$current$rootE.current) == null || _apiRef$current$rootE.classList.remove(gridClasses['root--disableUserSelection']);
|
|
142
142
|
|
|
143
143
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
144
144
|
stopAutoScroll();
|
|
@@ -159,7 +159,7 @@ export var useGridCellSelection = function useGridCellSelection(apiRef, props) {
|
|
|
159
159
|
id: params.id,
|
|
160
160
|
field: params.field
|
|
161
161
|
};
|
|
162
|
-
(_apiRef$current$rootE2 = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE2 = _apiRef$current$rootE2.current) == null
|
|
162
|
+
(_apiRef$current$rootE2 = apiRef.current.rootElementRef) == null || (_apiRef$current$rootE2 = _apiRef$current$rootE2.current) == null || _apiRef$current$rootE2.classList.add(gridClasses['root--disableUserSelection']);
|
|
163
163
|
var document = ownerDocument((_apiRef$current$rootE3 = apiRef.current.rootElementRef) == null ? void 0 : _apiRef$current$rootE3.current);
|
|
164
164
|
document.addEventListener('mouseup', handleMouseUp, {
|
|
165
165
|
once: true
|
|
@@ -3,12 +3,12 @@ import * as React from 'react';
|
|
|
3
3
|
import { gridColumnVisibilityModelSelector } from '@mui/x-data-grid-pro';
|
|
4
4
|
var updateColumnVisibilityModel = function updateColumnVisibilityModel(columnVisibilityModel, rowGroupingModel, prevRowGroupingModel) {
|
|
5
5
|
var newColumnVisibilityModel = _extends({}, columnVisibilityModel);
|
|
6
|
-
rowGroupingModel == null
|
|
6
|
+
rowGroupingModel == null || rowGroupingModel.forEach(function (field) {
|
|
7
7
|
if (!(prevRowGroupingModel != null && prevRowGroupingModel.includes(field))) {
|
|
8
8
|
newColumnVisibilityModel[field] = false;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
prevRowGroupingModel == null
|
|
11
|
+
prevRowGroupingModel == null || prevRowGroupingModel.forEach(function (field) {
|
|
12
12
|
if (!(rowGroupingModel != null && rowGroupingModel.includes(field))) {
|
|
13
13
|
newColumnVisibilityModel[field] = true;
|
|
14
14
|
}
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY5MjkxNDQwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -218,6 +218,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
218
218
|
* @default false
|
|
219
219
|
*/
|
|
220
220
|
disableDensitySelector: PropTypes.bool,
|
|
221
|
+
/**
|
|
222
|
+
* If `true`, `eval()` is not used for performance optimization.
|
|
223
|
+
* @default false
|
|
224
|
+
* @ignore - do not document
|
|
225
|
+
*/
|
|
226
|
+
disableEval: PropTypes.bool,
|
|
221
227
|
/**
|
|
222
228
|
* If `true`, filtering with multiple columns is disabled.
|
|
223
229
|
* @default false
|
|
@@ -264,6 +270,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
264
270
|
lazyLoading: PropTypes.bool,
|
|
265
271
|
warnIfFocusStateIsNotSynced: PropTypes.bool
|
|
266
272
|
}),
|
|
273
|
+
/**
|
|
274
|
+
* The milliseconds delay to wait after a keystroke before triggering filtering.
|
|
275
|
+
* @default 150
|
|
276
|
+
*/
|
|
277
|
+
filterDebounceMs: PropTypes.number,
|
|
267
278
|
/**
|
|
268
279
|
* Filtering can be processed on the server or client-side.
|
|
269
280
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
@@ -81,6 +81,7 @@ const getAggregationValueWrappedRenderCell = ({
|
|
|
81
81
|
*/
|
|
82
82
|
const getWrappedFilterOperators = ({
|
|
83
83
|
value: filterOperators,
|
|
84
|
+
apiRef,
|
|
84
85
|
getCellAggregationResult
|
|
85
86
|
}) => filterOperators.map(operator => {
|
|
86
87
|
const baseGetApplyFilterFn = operator.getApplyFilterFn;
|
|
@@ -103,7 +104,7 @@ const getWrappedFilterOperators = ({
|
|
|
103
104
|
return null;
|
|
104
105
|
}
|
|
105
106
|
return (value, row, column, api) => {
|
|
106
|
-
if (getCellAggregationResult(row
|
|
107
|
+
if (getCellAggregationResult(apiRef.current.getRowId(row), column.field) != null) {
|
|
107
108
|
return true;
|
|
108
109
|
}
|
|
109
110
|
return filterFn(value, row, column, api);
|
|
@@ -149,9 +150,6 @@ export const wrapColumnWithAggregationValue = ({
|
|
|
149
150
|
const getCellAggregationResult = (id, field) => {
|
|
150
151
|
let cellAggregationPosition = null;
|
|
151
152
|
const rowNode = apiRef.current.getRowNode(id);
|
|
152
|
-
if (!rowNode) {
|
|
153
|
-
return null;
|
|
154
|
-
}
|
|
155
153
|
if (rowNode.type === 'group') {
|
|
156
154
|
cellAggregationPosition = 'inline';
|
|
157
155
|
} else if (id.toString().startsWith('auto-generated-group-footer-')) {
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -5,6 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.DataGrid = DataGrid;
|
|
7
7
|
exports.DataGridPro = DataGridPro;
|
|
8
|
+
Object.defineProperty(exports, "SUBMIT_FILTER_DATE_STROKE_TIME", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return _xDataGrid.SUBMIT_FILTER_DATE_STROKE_TIME;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "SUBMIT_FILTER_STROKE_TIME", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return _xDataGrid.SUBMIT_FILTER_STROKE_TIME;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
var _xDataGrid = require("@mui/x-data-grid");
|
|
8
21
|
/**
|
|
9
22
|
* @deprecated Import DataGridPremium instead.
|
|
10
23
|
*/
|
|
@@ -227,6 +227,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
227
227
|
* @default false
|
|
228
228
|
*/
|
|
229
229
|
disableDensitySelector: _propTypes.default.bool,
|
|
230
|
+
/**
|
|
231
|
+
* If `true`, `eval()` is not used for performance optimization.
|
|
232
|
+
* @default false
|
|
233
|
+
* @ignore - do not document
|
|
234
|
+
*/
|
|
235
|
+
disableEval: _propTypes.default.bool,
|
|
230
236
|
/**
|
|
231
237
|
* If `true`, filtering with multiple columns is disabled.
|
|
232
238
|
* @default false
|
|
@@ -273,6 +279,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
273
279
|
lazyLoading: _propTypes.default.bool,
|
|
274
280
|
warnIfFocusStateIsNotSynced: _propTypes.default.bool
|
|
275
281
|
}),
|
|
282
|
+
/**
|
|
283
|
+
* The milliseconds delay to wait after a keystroke before triggering filtering.
|
|
284
|
+
* @default 150
|
|
285
|
+
*/
|
|
286
|
+
filterDebounceMs: _propTypes.default.number,
|
|
276
287
|
/**
|
|
277
288
|
* Filtering can be processed on the server or client-side.
|
|
278
289
|
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
@@ -90,6 +90,7 @@ const getAggregationValueWrappedRenderCell = ({
|
|
|
90
90
|
*/
|
|
91
91
|
const getWrappedFilterOperators = ({
|
|
92
92
|
value: filterOperators,
|
|
93
|
+
apiRef,
|
|
93
94
|
getCellAggregationResult
|
|
94
95
|
}) => filterOperators.map(operator => {
|
|
95
96
|
const baseGetApplyFilterFn = operator.getApplyFilterFn;
|
|
@@ -112,7 +113,7 @@ const getWrappedFilterOperators = ({
|
|
|
112
113
|
return null;
|
|
113
114
|
}
|
|
114
115
|
return (value, row, column, api) => {
|
|
115
|
-
if (getCellAggregationResult(row
|
|
116
|
+
if (getCellAggregationResult(apiRef.current.getRowId(row), column.field) != null) {
|
|
116
117
|
return true;
|
|
117
118
|
}
|
|
118
119
|
return filterFn(value, row, column, api);
|
|
@@ -158,9 +159,6 @@ const wrapColumnWithAggregationValue = ({
|
|
|
158
159
|
const getCellAggregationResult = (id, field) => {
|
|
159
160
|
let cellAggregationPosition = null;
|
|
160
161
|
const rowNode = apiRef.current.getRowNode(id);
|
|
161
|
-
if (!rowNode) {
|
|
162
|
-
return null;
|
|
163
|
-
}
|
|
164
162
|
if (rowNode.type === 'group') {
|
|
165
163
|
cellAggregationPosition = 'inline';
|
|
166
164
|
} else if (id.toString().startsWith('auto-generated-group-footer-')) {
|
package/node/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0",
|
|
4
4
|
"description": "The Premium plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"directory": "packages/grid/x-data-grid-premium"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.22.
|
|
35
|
-
"@mui/utils": "^5.14.
|
|
36
|
-
"@mui/x-data-grid": "6.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.
|
|
34
|
+
"@babel/runtime": "^7.22.11",
|
|
35
|
+
"@mui/utils": "^5.14.5",
|
|
36
|
+
"@mui/x-data-grid": "6.12.0",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.12.0",
|
|
38
38
|
"@mui/x-license-pro": "6.10.2",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^2.0.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY5MjkxNDQwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|