@mui/x-data-grid-premium 7.3.0 → 7.3.2
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 +155 -7
- package/DataGridPremium/DataGridPremium.js +2 -2
- package/DataGridPremium/useDataGridPremiumProps.js +1 -1
- package/components/GridAggregationHeader.js +1 -1
- package/components/GridColumnMenuAggregationItem.js +1 -1
- package/components/GridColumnMenuRowGroupItem.js +1 -1
- package/components/GridColumnMenuRowUngroupItem.js +1 -1
- package/components/GridExcelExportMenuItem.js +1 -1
- package/components/GridFooterCell.js +1 -1
- package/components/GridGroupingColumnFooterCell.js +1 -1
- package/components/GridGroupingColumnLeafCell.js +1 -1
- package/components/GridGroupingCriteriaCell.js +1 -1
- package/components/GridPremiumColumnMenu.d.ts +4 -4
- package/components/GridPremiumColumnMenu.js +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +2 -3
- package/esm/components/GridAggregationHeader.js +1 -2
- package/esm/components/GridColumnMenuAggregationItem.js +1 -2
- package/esm/components/GridColumnMenuRowGroupItem.js +1 -2
- package/esm/components/GridColumnMenuRowUngroupItem.js +1 -2
- package/esm/components/GridGroupingCriteriaCell.js +1 -2
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/aggregation/useGridAggregation.js +1 -1
- package/hooks/features/aggregation/useGridAggregationPreProcessors.js +1 -1
- package/hooks/features/aggregation/wrapColumnWithAggregation.js +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +1 -1
- package/hooks/features/clipboard/useGridClipboardImport.js +1 -1
- package/hooks/features/export/serializer/excelSerializer.js +1 -1
- package/hooks/features/export/useGridExcelExport.js +1 -1
- package/hooks/features/rowGrouping/createGroupingColDef.js +1 -1
- package/hooks/features/rowGrouping/useGridRowGrouping.js +1 -1
- package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.js +1 -1
- package/index.js +1 -1
- package/material/icons.js +1 -1
- package/modern/DataGridPremium/DataGridPremium.js +2 -3
- package/modern/components/GridAggregationHeader.js +1 -2
- package/modern/components/GridColumnMenuAggregationItem.js +1 -2
- package/modern/components/GridColumnMenuRowGroupItem.js +1 -2
- package/modern/components/GridColumnMenuRowUngroupItem.js +1 -2
- package/modern/components/GridGroupingCriteriaCell.js +1 -2
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +7 -9
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,154 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.3.2
|
|
7
|
+
|
|
8
|
+
_May 2, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Add "no data" and "loading" states to charts, allowing users to create [custom visualizations for each state](https://mui.com/x/react-charts/styling/#overlay)
|
|
13
|
+
- 🌍 Improve Hebrew (he-IL) and Hungarian (hu-HU) locales on the Date and Time Pickers
|
|
14
|
+
- 🌍 Improve Danish (da-DK) and Slovak (sk-SK) locales on the Data Grid
|
|
15
|
+
- 📝 Fix a [typo](https://github.com/mui/mui-x/pull/12941/files/4bf4bffbc2799a01a96bc7458a17318cf41c1722#diff-26c31cc69d6f51110f89e339578ef9b3d4a3551f79077fff73f7babb81c5099f) in the auto-generated Charts gradient `id` attribute.
|
|
16
|
+
It should not affect you, but if you were relying on the gradient `id` attribute, please update your usage.
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
- 📚 Documentation improvements
|
|
19
|
+
|
|
20
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@7.3.2`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Allow to change reset text in the columns management panel (#12972) @MBilalShafi
|
|
27
|
+
- [DataGrid] Derive `formattedValue` from the edit value when passing to `renderEditCell` (#12870) @cherniavskii
|
|
28
|
+
- [DataGrid] Fix rows not being recomputed on `props.rowCount` change (#12833) @MBilalShafi
|
|
29
|
+
- [l10n] Improve Danish (da-DK) locale (#12844) @fosterbuster
|
|
30
|
+
- [l10n] Improve Slovak (sk-SK) locale (#12949) @stefikp
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@7.3.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@7.3.2`.
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@7.3.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@7.3.2`, plus:
|
|
39
|
+
|
|
40
|
+
- [DataGridPremium] Fix print export not working with row grouping (#12957) @MBilalShafi
|
|
41
|
+
|
|
42
|
+
### Date and Time Pickers
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-date-pickers@7.3.2`
|
|
45
|
+
|
|
46
|
+
- [l10n] Improve Hebrew (he-IL) locale (#12910) @michaelNXT1
|
|
47
|
+
- [l10n] Improve Hungarian (hu-HU) locale (#12930) @noherczeg
|
|
48
|
+
- [pickers] Fix typo on the `viewRenderers` prop description (#12915) @flaviendelangle
|
|
49
|
+
- [pickers] Improve TypeScript performance in `PickersDay` (#12920) @flaviendelangle
|
|
50
|
+
|
|
51
|
+
#### `@mui/x-date-pickers-pro@7.3.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
52
|
+
|
|
53
|
+
Same changes as in `@mui/x-date-pickers@7.3.2`.
|
|
54
|
+
|
|
55
|
+
### Charts
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-charts@7.3.2`
|
|
58
|
+
|
|
59
|
+
- [charts] Add an overlay for "no data" or "loading" states (#12817) @alexfauquette
|
|
60
|
+
- [charts] Fix typos in documentation, translations and errors (#12941) @JCQuintas
|
|
61
|
+
- [charts] Fix `prop.slots` and `prop.slotProps` not passed to `<ChartsTooltip />` (#12939) @JCQuintas
|
|
62
|
+
|
|
63
|
+
### Docs
|
|
64
|
+
|
|
65
|
+
- [docs] Improve Data Grid migration guide (#12969) @MBilalShafi
|
|
66
|
+
- [docs] Polish references to the plans (#12922) @oliviertassinari
|
|
67
|
+
|
|
68
|
+
### Core
|
|
69
|
+
|
|
70
|
+
- [core] Fix dependencies (#12951) @LukasTy
|
|
71
|
+
- [core] Remove inconsistent blank lines (#12966) @oliviertassinari
|
|
72
|
+
- [code-infra] Bump node image used by CI in docker (#12961) @LukasTy
|
|
73
|
+
- [docs-infra] Remove no longer needed `next.config` settings (#12861) @oliviertassinari
|
|
74
|
+
- [docs-infra] Use the `@mui/docs/HighlightedCode` (#12848) @alexfauquette
|
|
75
|
+
- [test] Restore `t` command (#12948) @LukasTy
|
|
76
|
+
|
|
77
|
+
## 7.3.1
|
|
78
|
+
|
|
79
|
+
_Apr 26, 2024_
|
|
80
|
+
|
|
81
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
82
|
+
|
|
83
|
+
- 🎁 Scatter Charts get a [z-axis to allow coloring data points independently from their coordinates](https://mui.com/x/react-charts/scatter/#color-scale)
|
|
84
|
+
- 🌍 Improve Catalan (ca-ES) and Spanish (es-ES) locales on the Date and Time Pickers
|
|
85
|
+
- 🐞 Bugfixes
|
|
86
|
+
- 📚 Documentation improvements
|
|
87
|
+
|
|
88
|
+
### Data Grid
|
|
89
|
+
|
|
90
|
+
#### `@mui/x-data-grid@7.3.1`
|
|
91
|
+
|
|
92
|
+
- [DataGrid] Fix date filtering for negative timezone offsets (#12836) @cherniavskii
|
|
93
|
+
- [DataGrid] Fix flex column width when used with pinned columns (#12849) @romgrk
|
|
94
|
+
- [DataGrid] Fix group header resize (#12863) @arminmeh
|
|
95
|
+
- [DataGrid] Pass slot props to `columnHeaders` slot (#12768) @cherniavskii
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-data-grid-pro@7.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-data-grid@7.3.1`.
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-data-grid-premium@7.3.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
102
|
+
|
|
103
|
+
Same changes as in `@mui/x-data-grid-pro@7.3.1`.
|
|
104
|
+
|
|
105
|
+
### Date and Time Pickers
|
|
106
|
+
|
|
107
|
+
#### `@mui/x-date-pickers@7.3.1`
|
|
108
|
+
|
|
109
|
+
- [l10n] Improve Catalan (ca-ES) locale (#12856) @soler1212
|
|
110
|
+
- [l10n] Improve Spanish (es-ES) locale (#12858) @soler1212
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-date-pickers-pro@7.3.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
113
|
+
|
|
114
|
+
Same changes as in `@mui/x-date-pickers@7.3.1`.
|
|
115
|
+
|
|
116
|
+
### Charts
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-charts@7.3.1`
|
|
119
|
+
|
|
120
|
+
- [charts] Add documentation on border radius alternative for `BarCharts` (#12859) @JCQuintas
|
|
121
|
+
- [charts] Add z-axis to colorize scatter charts (#12738) @alexfauquette
|
|
122
|
+
- [charts] Fix left/bottomAxis not picking up default axis id (#12894) @JCQuintas
|
|
123
|
+
- [charts] Improve default tooltip content (#12257) @oliviertassinari
|
|
124
|
+
- [charts] Round y values for bar chart (#12846) @alexfauquette
|
|
125
|
+
|
|
126
|
+
### Tree View
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-tree-view@7.3.1`
|
|
129
|
+
|
|
130
|
+
- [TreeView] Remove un-needed `aria-activedescendant` attribute (#12867) @flaviendelangle
|
|
131
|
+
- [TreeView] Rework the selection internals (#12703) @flaviendelangle
|
|
132
|
+
- [TreeView] Use the order in which the items are displayed for `type-ahead` (#12827) @flaviendelangle
|
|
133
|
+
|
|
134
|
+
### Docs
|
|
135
|
+
|
|
136
|
+
- [docs] Add demo for styling charts with `sx` props (#12791) @derek-0000
|
|
137
|
+
- [docs] Cover webpack 4 support in migration guide (#12710) @cherniavskii
|
|
138
|
+
- [docs] Document interfaces for charts (#12656) @alexfauquette
|
|
139
|
+
- [docs] Fix Vale regression (#12862) @oliviertassinari
|
|
140
|
+
- [docs] Improve Data Grid migration guide (#12879) @MBilalShafi
|
|
141
|
+
- [docs] Update Column features availability (#12865) @DanailH
|
|
142
|
+
|
|
143
|
+
### Core
|
|
144
|
+
|
|
145
|
+
- [core] Fix `l10n` GH workflow (#12895) @LukasTy
|
|
146
|
+
- [core] Match Base UI and Toolpad @oliviertassinari
|
|
147
|
+
- [core] Remove redundant `setupFiles` entries in `package.json` (#12899) @LukasTy
|
|
148
|
+
- [core] Use `describeTreeView` for focus tests (#12698) @flaviendelangle
|
|
149
|
+
- [core] Use `describeTreeView` for type-ahead tests (#12811) @flaviendelangle
|
|
150
|
+
- [code-infra] Change package manager to `pnpm` (#11875) @LukasTy
|
|
151
|
+
- [code-infra] Closer sync with eslint config of codebase (#12864) @oliviertassinari
|
|
152
|
+
- [support-infra] Add release announcement to GitHub workflows (#11867) (#12843) @michelengelen
|
|
153
|
+
|
|
6
154
|
## 7.3.0
|
|
7
155
|
|
|
8
156
|
_Apr 18, 2024_
|
|
@@ -228,7 +376,7 @@ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
|
|
|
228
376
|
|
|
229
377
|
- [TreeView] Add JSDoc to all `publicAPI` methods (#12649) @flaviendelangle
|
|
230
378
|
- [TreeView] Create `RichTreeViewPro` component (not released yet) (#12610) @flaviendelangle
|
|
231
|
-
- [TreeView] Create
|
|
379
|
+
- [TreeView] Create Pro package (not released yet) (#12240) @flaviendelangle
|
|
232
380
|
- [TreeView] Fix typo in errors (#12623) @alissa-tung
|
|
233
381
|
- [TreeView] New API method: `setItemExpansion` (#12595) @flaviendelangle
|
|
234
382
|
|
|
@@ -243,7 +391,7 @@ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
|
|
|
243
391
|
- [docs] Fix type arguments in Custom Field page (#12619) @Juneezee
|
|
244
392
|
- [docs] Fix typo in `getItemId` prop description (#12637) @flaviendelangle
|
|
245
393
|
- [docs] Make the Charts `margin` usage more visible (#12591) @alexfauquette
|
|
246
|
-
- [docs] Match IE 11 spacing with Material
|
|
394
|
+
- [docs] Match IE 11 spacing with Material UI @oliviertassinari
|
|
247
395
|
- [docs] Move data grid interfaces to standard API page layout (#12016) @alexfauquette
|
|
248
396
|
- [docs] Remove ` around @default values (#12158) @alexfauquette
|
|
249
397
|
- [docs] Remove `day` from the default `dayOfWeekFormatter` function params (#12644) @LukasTy
|
|
@@ -506,7 +654,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0`, plus:
|
|
|
506
654
|
- [docs] Update links to v6 (#12496) @cherniavskii
|
|
507
655
|
- [docs] Update links to v7 docs (#12500) @noraleonte
|
|
508
656
|
- [docs] Update supported versions (#12508) @joserodolfofreitas
|
|
509
|
-
- [docs] Update "What's new in MUI
|
|
657
|
+
- [docs] Update "What's new in MUI X" page #12527 @cherniavskii
|
|
510
658
|
|
|
511
659
|
### Core
|
|
512
660
|
|
|
@@ -2440,7 +2588,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.3`.
|
|
|
2440
2588
|
- [core] Make `@mui/system` a direct dependency (#11128) @LukasTy
|
|
2441
2589
|
- [core] Remove blank lines, coding style @oliviertassinari
|
|
2442
2590
|
- [core] Remove outdated `ENABLE_AD` env variable (#11181) @oliviertassinari
|
|
2443
|
-
- [github] Do not add `plan: Pro` and `plan: Premium` labels on
|
|
2591
|
+
- [github] Do not add `plan: Pro` and `plan: Premium` labels on Pro / Premium issue templates (#10183) @flaviendelangle
|
|
2444
2592
|
|
|
2445
2593
|
## 7.0.0-alpha.2
|
|
2446
2594
|
|
|
@@ -3363,10 +3511,10 @@ Same changes as in `@mui/x-date-pickers@6.19.5`.
|
|
|
3363
3511
|
- [docs] Fix the Treemap illustration (#12189) @danilo-leal
|
|
3364
3512
|
- [docs] Fix typo for `AdapterDateFnsV3` (#12037) @flaviendelangle
|
|
3365
3513
|
- [docs] Improve performance on Charts entry point @oliviertassinari
|
|
3366
|
-
- [docs] Move Heatmap to
|
|
3514
|
+
- [docs] Move Heatmap to Pro (#12170) @alexfauquette
|
|
3367
3515
|
- [docs] Remove Charts installation next tag call-out (#12133) @LukasTy
|
|
3368
3516
|
- [docs] Removed `focused` prop from demo (#12126) @michelengelen
|
|
3369
|
-
- [docs] Add missing Heatmap
|
|
3517
|
+
- [docs] Add missing Heatmap Pro icon @oliviertassinari
|
|
3370
3518
|
- [docs] Add more illustrations to the Overview page (#12041) @danilo-leal
|
|
3371
3519
|
- [docs] Avoid use of shorthand (#12009) @oliviertassinari
|
|
3372
3520
|
|
|
@@ -6093,7 +6241,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
6093
6241
|
- [docs] Create examples of pickers with custom fields (#8034) @flaviendelangle
|
|
6094
6242
|
- [docs] Fix 301 redirections @oliviertassinari
|
|
6095
6243
|
- [docs] Fix link to React's docs @oliviertassinari
|
|
6096
|
-
- [docs] Fix
|
|
6244
|
+
- [docs] Fix Pro license links to point to the same page (#8303) @LukasTy
|
|
6097
6245
|
- [docs] Give an incentive to upgrade (#8269) @oliviertassinari
|
|
6098
6246
|
- [docs] Improve contrast on data grid navigation (#8239) @oliviertassinari
|
|
6099
6247
|
- [docs] Update shortcuts page to use slotProps (#8288) @dcorb
|
|
@@ -17,7 +17,7 @@ var _useDataGridPremiumProps = require("./useDataGridPremiumProps");
|
|
|
17
17
|
var _releaseInfo = require("../utils/releaseInfo");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
const releaseInfo = (0, _releaseInfo.getReleaseInfo)();
|
|
22
22
|
const dataGridPremiumPropValidators = [..._internals.propValidatorsDataGrid, ..._internals.propValidatorsDataGridPro];
|
|
23
23
|
const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremium(inProps, ref) {
|
|
@@ -482,7 +482,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
482
482
|
*/
|
|
483
483
|
keepNonExistentRowsSelected: _propTypes.default.bool,
|
|
484
484
|
/**
|
|
485
|
-
* If `true`, a
|
|
485
|
+
* If `true`, a loading overlay is displayed.
|
|
486
486
|
*/
|
|
487
487
|
loading: _propTypes.default.bool,
|
|
488
488
|
/**
|
|
@@ -13,7 +13,7 @@ var _internals = require("@mui/x-data-grid-pro/internals");
|
|
|
13
13
|
var _aggregation = require("../hooks/features/aggregation");
|
|
14
14
|
var _dataGridPremiumDefaultSlotsComponents = require("../constants/dataGridPremiumDefaultSlotsComponents");
|
|
15
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
/**
|
|
18
18
|
* The default values of `DataGridPremiumPropsWithDefaultValue` to inject in the props of DataGridPremium.
|
|
19
19
|
*/
|
|
@@ -17,7 +17,7 @@ var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
18
|
const _excluded = ["renderHeader"];
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
const GridAggregationHeaderRoot = (0, _styles.styled)('div', {
|
|
22
22
|
name: 'MuiDataGrid',
|
|
23
23
|
slot: 'AggregationColumnHeader',
|
|
@@ -24,7 +24,7 @@ var _gridAggregationUtils = require("../hooks/features/aggregation/gridAggregati
|
|
|
24
24
|
var _gridAggregationSelectors = require("../hooks/features/aggregation/gridAggregationSelectors");
|
|
25
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
26
26
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
27
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
27
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
28
28
|
function GridColumnMenuAggregationItem(props) {
|
|
29
29
|
const {
|
|
30
30
|
colDef
|
|
@@ -17,7 +17,7 @@ var _gridRowGroupingUtils = require("../hooks/features/rowGrouping/gridRowGroupi
|
|
|
17
17
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
function GridColumnMenuRowGroupItem(props) {
|
|
22
22
|
const {
|
|
23
23
|
colDef,
|
|
@@ -16,7 +16,7 @@ var _gridRowGroupingSelector = require("../hooks/features/rowGrouping/gridRowGro
|
|
|
16
16
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
19
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
19
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
20
|
function GridColumnMenuRowUngroupItem(props) {
|
|
21
21
|
const {
|
|
22
22
|
colDef,
|
|
@@ -14,7 +14,7 @@ var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
const _excluded = ["hideMenu", "options"];
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
function GridExcelExportMenuItem(props) {
|
|
19
19
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
20
20
|
const {
|
|
@@ -15,7 +15,7 @@ var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
16
|
const _excluded = ["formattedValue", "colDef", "cellMode", "row", "api", "id", "value", "rowNode", "field", "focusElementRef", "hasFocus", "tabIndex", "isEditable"];
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
const GridFooterCellRoot = (0, _styles.styled)('div', {
|
|
20
20
|
name: 'MuiDataGrid',
|
|
21
21
|
slot: 'FooterCell',
|
|
@@ -11,7 +11,7 @@ var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
|
11
11
|
var _GridFooterCell = require("./GridFooterCell");
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
14
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
15
|
function GridGroupingColumnFooterCell(props) {
|
|
16
16
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
17
17
|
const sx = {
|
|
@@ -10,7 +10,7 @@ var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
|
10
10
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
14
|
function GridGroupingColumnLeafCell(props) {
|
|
15
15
|
const {
|
|
16
16
|
rowNode
|
|
@@ -14,7 +14,7 @@ var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
|
14
14
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
const useUtilityClasses = ownerState => {
|
|
19
19
|
const {
|
|
20
20
|
classes
|
|
@@ -5,10 +5,10 @@ export declare function GridColumnMenuGroupingItem(props: GridColumnMenuItemProp
|
|
|
5
5
|
export declare const GRID_COLUMN_MENU_SLOTS_PREMIUM: {
|
|
6
6
|
columnMenuAggregationItem: typeof GridColumnMenuAggregationItem;
|
|
7
7
|
columnMenuGroupingItem: typeof GridColumnMenuGroupingItem;
|
|
8
|
-
columnMenuPinningItem: typeof import("@mui/x-data-grid-pro
|
|
9
|
-
columnMenuSortItem: typeof import("@mui/x-data-grid
|
|
10
|
-
columnMenuFilterItem: typeof import("@mui/x-data-grid
|
|
11
|
-
columnMenuColumnsItem: typeof import("@mui/x-data-grid
|
|
8
|
+
columnMenuPinningItem: typeof import("@mui/x-data-grid-pro").GridColumnMenuPinningItem;
|
|
9
|
+
columnMenuSortItem: typeof import("@mui/x-data-grid-pro").GridColumnMenuSortItem;
|
|
10
|
+
columnMenuFilterItem: typeof import("@mui/x-data-grid-pro").GridColumnMenuFilterItem;
|
|
11
|
+
columnMenuColumnsItem: typeof import("@mui/x-data-grid-pro").GridColumnMenuColumnsItem;
|
|
12
12
|
};
|
|
13
13
|
export declare const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM: {
|
|
14
14
|
columnMenuAggregationItem: {
|
|
@@ -17,7 +17,7 @@ var _GridColumnMenuRowGroupItem = require("./GridColumnMenuRowGroupItem");
|
|
|
17
17
|
var _GridColumnMenuRowUngroupItem = require("./GridColumnMenuRowUngroupItem");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
function GridColumnMenuGroupingItem(props) {
|
|
22
22
|
const {
|
|
23
23
|
colDef
|
|
@@ -9,8 +9,7 @@ import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from
|
|
|
9
9
|
import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
|
|
10
10
|
import { useDataGridPremiumProps } from './useDataGridPremiumProps';
|
|
11
11
|
import { getReleaseInfo } from '../utils/releaseInfo';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
13
|
const releaseInfo = getReleaseInfo();
|
|
15
14
|
const dataGridPremiumPropValidators = [...propValidatorsDataGrid, ...propValidatorsDataGridPro];
|
|
16
15
|
const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremium(inProps, ref) {
|
|
@@ -475,7 +474,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
475
474
|
*/
|
|
476
475
|
keepNonExistentRowsSelected: PropTypes.bool,
|
|
477
476
|
/**
|
|
478
|
-
* If `true`, a
|
|
477
|
+
* If `true`, a loading overlay is displayed.
|
|
479
478
|
*/
|
|
480
479
|
loading: PropTypes.bool,
|
|
481
480
|
/**
|
|
@@ -8,8 +8,7 @@ import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mu
|
|
|
8
8
|
import { getAggregationFunctionLabel } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
9
9
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
10
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
const GridAggregationHeaderRoot = styled('div', {
|
|
14
13
|
name: 'MuiDataGrid',
|
|
15
14
|
slot: 'AggregationColumnHeader',
|
|
@@ -15,8 +15,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
15
15
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
16
16
|
import { canColumnHaveAggregationFunction, getAggregationFunctionLabel, getAvailableAggregationFunctions } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
17
17
|
import { gridAggregationModelSelector } from '../hooks/features/aggregation/gridAggregationSelectors';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
19
|
function GridColumnMenuAggregationItem(props) {
|
|
21
20
|
const {
|
|
22
21
|
colDef
|
|
@@ -8,8 +8,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
8
8
|
import { gridRowGroupingSanitizedModelSelector } from '../hooks/features/rowGrouping/gridRowGroupingSelector';
|
|
9
9
|
import { getRowGroupingCriteriaFromGroupingField, GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD, isGroupingColumn } from '../hooks/features/rowGrouping/gridRowGroupingUtils';
|
|
10
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
function GridColumnMenuRowGroupItem(props) {
|
|
14
13
|
const {
|
|
15
14
|
colDef,
|
|
@@ -7,8 +7,7 @@ import { gridColumnLookupSelector, useGridSelector } from '@mui/x-data-grid-pro'
|
|
|
7
7
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
8
8
|
import { gridRowGroupingSanitizedModelSelector } from '../hooks/features/rowGrouping/gridRowGroupingSelector';
|
|
9
9
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
function GridColumnMenuRowUngroupItem(props) {
|
|
13
12
|
const {
|
|
14
13
|
colDef,
|
|
@@ -5,8 +5,7 @@ import Box from '@mui/material/Box';
|
|
|
5
5
|
import { useGridSelector, gridFilteredDescendantCountLookupSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
7
7
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
9
|
const useUtilityClasses = ownerState => {
|
|
11
10
|
const {
|
|
12
11
|
classes
|
package/esm/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 = "MTcxNDYwMDgwMDAwMA==";
|
|
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
|
|
@@ -12,7 +12,7 @@ var _gridAggregationSelectors = require("./gridAggregationSelectors");
|
|
|
12
12
|
var _gridAggregationUtils = require("./gridAggregationUtils");
|
|
13
13
|
var _createAggregationLookup = require("./createAggregationLookup");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
const aggregationStateInitializer = (state, props, apiRef) => {
|
|
17
17
|
apiRef.current.caches.aggregation = {
|
|
18
18
|
rulesOnLastColumnHydration: {},
|
|
@@ -13,7 +13,7 @@ var _gridAggregationUtils = require("./gridAggregationUtils");
|
|
|
13
13
|
var _wrapColumnWithAggregation = require("./wrapColumnWithAggregation");
|
|
14
14
|
var _gridAggregationSelectors = require("./gridAggregationSelectors");
|
|
15
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
const useGridAggregationPreProcessors = (apiRef, props) => {
|
|
18
18
|
// apiRef.current.caches.aggregation.rulesOnLastColumnHydration is not used because by the time
|
|
19
19
|
// that the pre-processor is called it will already have been updated with the current rules.
|
|
@@ -14,7 +14,7 @@ var _GridAggregationHeader = require("../../../components/GridAggregationHeader"
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
const _excluded = ["aggregationWrappedProperties"];
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
const AGGREGATION_WRAPPABLE_PROPERTIES = ['valueGetter', 'valueFormatter', 'renderCell', 'renderHeader', 'filterOperators'];
|
|
19
19
|
const getAggregationValueWrappedValueGetter = ({
|
|
20
20
|
value: valueGetter,
|
|
@@ -12,7 +12,7 @@ var _internals = require("@mui/x-data-grid-pro/internals");
|
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _gridCellSelectionSelector = require("./gridCellSelectionSelector");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
const cellSelectionStateInitializer = (state, props) => (0, _extends2.default)({}, state, {
|
|
17
17
|
cellSelection: (0, _extends2.default)({}, props.cellSelectionModel ?? props.initialState?.cellSelection)
|
|
18
18
|
});
|
|
@@ -12,7 +12,7 @@ var _internals = require("@mui/x-data-grid/internals");
|
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _utils = require("@mui/utils");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
const missingOnProcessRowUpdateErrorWarning = (0, _internals.buildWarning)(['MUI X: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.', 'To handle the error pass a callback to the `onProcessRowUpdateError` prop, for example `<DataGrid onProcessRowUpdateError={(error) => ...} />`.', 'For more detail, see https://mui.com/x/react-data-grid/editing/#server-side-persistence.'], 'error');
|
|
17
17
|
const columnFieldsToExcludeFromPaste = [_xDataGrid.GRID_CHECKBOX_SELECTION_FIELD, _xDataGridPro.GRID_REORDER_COL_DEF.field, _xDataGridPro.GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
18
18
|
|
|
@@ -14,7 +14,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
15
|
var _internals = require("@mui/x-data-grid/internals");
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
const getExcelJs = async () => {
|
|
19
19
|
const excelJsModule = await Promise.resolve().then(() => _interopRequireWildcard(require('exceljs')));
|
|
20
20
|
return excelJsModule.default ?? excelJsModule;
|
|
@@ -21,7 +21,7 @@ const _excluded = ["worker", "exceljsPostProcess", "exceljsPreProcess", "columns
|
|
|
21
21
|
* @requires useGridParamsApi (method)
|
|
22
22
|
*/
|
|
23
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
24
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
24
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
25
|
const useGridExcelExport = (apiRef, props) => {
|
|
26
26
|
const logger = (0, _xDataGrid.useGridLogger)(apiRef, 'useGridExcelExport');
|
|
27
27
|
const getDataAsExcel = React.useCallback((options = {}) => {
|
|
@@ -19,7 +19,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
19
19
|
const _excluded = ["leafField", "mainGroupingCriteria", "hideDescendantCount"],
|
|
20
20
|
_excluded2 = ["leafField", "mainGroupingCriteria", "hideDescendantCount"];
|
|
21
21
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
22
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
22
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
23
|
const GROUPING_COL_DEF_DEFAULT_PROPERTIES = (0, _extends2.default)({}, _xDataGridPro.GRID_STRING_COL_DEF, {
|
|
24
24
|
type: 'custom',
|
|
25
25
|
disableReorder: true
|
|
@@ -12,7 +12,7 @@ var _internals = require("@mui/x-data-grid-pro/internals");
|
|
|
12
12
|
var _gridRowGroupingSelector = require("./gridRowGroupingSelector");
|
|
13
13
|
var _gridRowGroupingUtils = require("./gridRowGroupingUtils");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
16
|
const rowGroupingStateInitializer = (state, props, apiRef) => {
|
|
17
17
|
apiRef.current.caches.rowGrouping = {
|
|
18
18
|
rulesOnLastRowTreeCreation: []
|
|
@@ -11,7 +11,7 @@ var _gridRowGroupingSelector = require("./gridRowGroupingSelector");
|
|
|
11
11
|
var _createGroupingColDef = require("./createGroupingColDef");
|
|
12
12
|
var _gridRowGroupingUtils = require("./gridRowGroupingUtils");
|
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
14
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
15
|
const useGridRowGroupingPreProcessors = (apiRef, props) => {
|
|
16
16
|
const getGroupingColDefs = React.useCallback(columnsState => {
|
|
17
17
|
if (props.disableRowGrouping) {
|
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
11
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
const updateColumnVisibilityModel = (columnVisibilityModel, rowGroupingModel, prevRowGroupingModel) => {
|
|
14
14
|
const newColumnVisibilityModel = (0, _extends2.default)({}, columnVisibilityModel);
|
|
15
15
|
rowGroupingModel?.forEach(field => {
|
package/index.js
CHANGED
package/material/icons.js
CHANGED
|
@@ -8,7 +8,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _utils = require("@mui/material/utils");
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
10
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
12
|
const GridWorkspacesIcon = exports.GridWorkspacesIcon = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
13
13
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
14
14
|
d: "M6,13c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S8.2,13,6,13z M12,3C9.8,3,8,4.8,8,7s1.8,4,4,4s4-1.8,4-4S14.2,3,12,3z M18,13 c-2.2,0-4,1.8-4,4s1.8,4,4,4s4-1.8,4-4S20.2,13,18,13z"
|
|
@@ -9,8 +9,7 @@ import { propValidatorsDataGrid, propValidatorsDataGridPro, validateProps } from
|
|
|
9
9
|
import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
|
|
10
10
|
import { useDataGridPremiumProps } from './useDataGridPremiumProps';
|
|
11
11
|
import { getReleaseInfo } from '../utils/releaseInfo';
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
13
|
const releaseInfo = getReleaseInfo();
|
|
15
14
|
const dataGridPremiumPropValidators = [...propValidatorsDataGrid, ...propValidatorsDataGridPro];
|
|
16
15
|
const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremium(inProps, ref) {
|
|
@@ -475,7 +474,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
475
474
|
*/
|
|
476
475
|
keepNonExistentRowsSelected: PropTypes.bool,
|
|
477
476
|
/**
|
|
478
|
-
* If `true`, a
|
|
477
|
+
* If `true`, a loading overlay is displayed.
|
|
479
478
|
*/
|
|
480
479
|
loading: PropTypes.bool,
|
|
481
480
|
/**
|
|
@@ -8,8 +8,7 @@ import { getDataGridUtilityClass, gridClasses, GridColumnHeaderTitle } from '@mu
|
|
|
8
8
|
import { getAggregationFunctionLabel } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
9
9
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
10
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
const GridAggregationHeaderRoot = styled('div', {
|
|
14
13
|
name: 'MuiDataGrid',
|
|
15
14
|
slot: 'AggregationColumnHeader',
|
|
@@ -15,8 +15,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
15
15
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
16
16
|
import { canColumnHaveAggregationFunction, getAggregationFunctionLabel, getAvailableAggregationFunctions } from '../hooks/features/aggregation/gridAggregationUtils';
|
|
17
17
|
import { gridAggregationModelSelector } from '../hooks/features/aggregation/gridAggregationSelectors';
|
|
18
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
19
|
function GridColumnMenuAggregationItem(props) {
|
|
21
20
|
const {
|
|
22
21
|
colDef
|
|
@@ -8,8 +8,7 @@ import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
|
8
8
|
import { gridRowGroupingSanitizedModelSelector } from '../hooks/features/rowGrouping/gridRowGroupingSelector';
|
|
9
9
|
import { getRowGroupingCriteriaFromGroupingField, GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD, isGroupingColumn } from '../hooks/features/rowGrouping/gridRowGroupingUtils';
|
|
10
10
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
12
|
function GridColumnMenuRowGroupItem(props) {
|
|
14
13
|
const {
|
|
15
14
|
colDef,
|
|
@@ -7,8 +7,7 @@ import { gridColumnLookupSelector, useGridSelector } from '@mui/x-data-grid-pro'
|
|
|
7
7
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
8
8
|
import { gridRowGroupingSanitizedModelSelector } from '../hooks/features/rowGrouping/gridRowGroupingSelector';
|
|
9
9
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
11
|
function GridColumnMenuRowUngroupItem(props) {
|
|
13
12
|
const {
|
|
14
13
|
colDef,
|
|
@@ -5,8 +5,7 @@ import Box from '@mui/material/Box';
|
|
|
5
5
|
import { useGridSelector, gridFilteredDescendantCountLookupSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
7
7
|
import { useGridRootProps } from '../hooks/utils/useGridRootProps';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
9
|
const useUtilityClasses = ownerState => {
|
|
11
10
|
const {
|
|
12
11
|
classes
|
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 = "MTcxNDYwMDgwMDAwMA==";
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.2",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"homepage": "https://mui.com/x/react-data-grid/",
|
|
12
12
|
"sideEffects": false,
|
|
13
13
|
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
14
|
+
"access": "public",
|
|
15
|
+
"directory": "build"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [
|
|
17
18
|
"react",
|
|
@@ -35,23 +36,20 @@
|
|
|
35
36
|
"@babel/runtime": "^7.24.0",
|
|
36
37
|
"@mui/system": "^5.15.14",
|
|
37
38
|
"@mui/utils": "^5.15.14",
|
|
38
|
-
"@mui/x-data-grid": "7.3.0",
|
|
39
|
-
"@mui/x-data-grid-pro": "7.3.0",
|
|
40
|
-
"@mui/x-license": "7.2.0",
|
|
41
39
|
"@types/format-util": "^1.0.4",
|
|
42
40
|
"clsx": "^2.1.0",
|
|
43
41
|
"exceljs": "^4.4.0",
|
|
44
42
|
"prop-types": "^15.8.1",
|
|
45
|
-
"reselect": "^4.1.8"
|
|
43
|
+
"reselect": "^4.1.8",
|
|
44
|
+
"@mui/x-data-grid": "7.3.2",
|
|
45
|
+
"@mui/x-data-grid-pro": "7.3.2",
|
|
46
|
+
"@mui/x-license": "7.2.0"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"@mui/material": "^5.15.14",
|
|
49
50
|
"react": "^17.0.0 || ^18.0.0",
|
|
50
51
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
51
52
|
},
|
|
52
|
-
"setupFiles": [
|
|
53
|
-
"<rootDir>/src/setupTests.js"
|
|
54
|
-
],
|
|
55
53
|
"engines": {
|
|
56
54
|
"node": ">=14.0.0"
|
|
57
55
|
},
|
package/utils/releaseInfo.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 = "MTcxNDYwMDgwMDAwMA==";
|
|
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
|