@mui/x-data-grid-premium 8.4.0 → 8.5.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 +103 -0
- package/DataGridPremium/DataGridPremium.js +9 -1
- package/components/GridAggregationRowOverlay.js +2 -1
- package/components/GridColumnMenuAggregationItem.js +2 -2
- package/components/GridDataSourceGroupingCriteriaCell.js +2 -2
- package/components/GridEmptyPivotOverlay.js +1 -0
- package/components/GridPremiumColumnMenu.js +2 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.js +1 -0
- package/components/aiAssistantPanel/GridAiAssistantPanel.js +2 -2
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +2 -2
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +3 -2
- package/components/collapsible/Collapsible.js +2 -2
- package/components/collapsible/CollapsiblePanel.js +2 -2
- package/components/collapsible/CollapsibleTrigger.js +2 -2
- package/components/export/ExportExcel.js +1 -0
- package/components/pivotPanel/GridPivotPanelHeader.js +2 -2
- package/components/pivotPanel/GridPivotPanelSearch.js +2 -2
- package/components/pivotPanel/PivotPanelTrigger.js +1 -0
- package/components/prompt/GridPrompt.js +4 -3
- package/components/promptField/PromptField.js +1 -0
- package/components/promptField/PromptFieldControl.js +1 -0
- package/components/promptField/PromptFieldRecord.js +1 -0
- package/components/promptField/PromptFieldSend.js +1 -0
- package/components/resizablePanel/ResizablePanel.js +2 -2
- package/components/resizablePanel/ResizablePanelHandle.js +2 -2
- package/components/sidebar/Sidebar.js +2 -2
- package/components/sidebar/SidebarHeader.js +2 -2
- package/esm/DataGridPremium/DataGridPremium.js +9 -1
- package/esm/components/GridAggregationRowOverlay.js +1 -0
- package/esm/components/GridColumnMenuAggregationItem.js +1 -1
- package/esm/components/GridDataSourceGroupingCriteriaCell.js +1 -1
- package/esm/components/GridEmptyPivotOverlay.js +1 -0
- package/esm/components/GridPremiumColumnMenu.js +2 -1
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.js +1 -0
- package/esm/components/aiAssistantPanel/GridAiAssistantPanel.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +1 -1
- package/esm/components/collapsible/Collapsible.js +1 -1
- package/esm/components/collapsible/CollapsiblePanel.js +1 -1
- package/esm/components/collapsible/CollapsibleTrigger.js +1 -1
- package/esm/components/export/ExportExcel.js +1 -0
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +1 -1
- package/esm/components/pivotPanel/PivotPanelTrigger.js +1 -0
- package/esm/components/prompt/GridPrompt.js +2 -1
- package/esm/components/promptField/PromptField.js +1 -0
- package/esm/components/promptField/PromptFieldControl.js +1 -0
- package/esm/components/promptField/PromptFieldRecord.js +1 -0
- package/esm/components/promptField/PromptFieldSend.js +1 -0
- package/esm/components/resizablePanel/ResizablePanel.js +1 -1
- package/esm/components/resizablePanel/ResizablePanelHandle.js +1 -1
- package/esm/components/sidebar/Sidebar.js +1 -1
- package/esm/components/sidebar/SidebarHeader.js +1 -1
- package/esm/hooks/features/aggregation/gridAggregationUtils.js +1 -1
- package/esm/hooks/features/clipboard/useGridClipboardImport.js +1 -1
- package/esm/index.js +1 -1
- package/esm/models/index.d.ts +1 -0
- package/esm/models/index.js +1 -0
- package/hooks/features/aggregation/gridAggregationUtils.js +2 -2
- package/hooks/features/clipboard/useGridClipboardImport.js +2 -2
- package/index.js +1 -1
- package/models/index.d.ts +1 -0
- package/models/index.js +11 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,109 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.5.0
|
|
9
|
+
|
|
10
|
+
_May 29, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📊 Add support for exporting `RadarChartPro`, `FunnelChart` and `Heatmap` as image and PDF.
|
|
15
|
+
- 📊 `RadarChart` is now stable.
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
18
|
+
@xBlizZer, @sai6855, @alisasanib.
|
|
19
|
+
Following are all team members who have contributed to this release:
|
|
20
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @oliviertassinari.
|
|
21
|
+
|
|
22
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
23
|
+
|
|
24
|
+
### Data Grid
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid@8.5.0`
|
|
27
|
+
|
|
28
|
+
- [DataGrid] Avoid ResizeObserver loop error (#17984) @cherniavskii
|
|
29
|
+
- [DataGrid] Fix column management `toggleColumn` event type (#18023) @KenanYusuf
|
|
30
|
+
- [DataGrid] Remove unnecessary `any` type (#17979) @sai6855
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
33
|
+
|
|
34
|
+
Same changes as in `@mui/x-data-grid@8.5.0`, plus:
|
|
35
|
+
|
|
36
|
+
- [DataGridPro] Allow multi sorting without modifier key (#17925) @cherniavskii
|
|
37
|
+
- [DataGridPro] Row reordering icon improvements (#17947) @KenanYusuf
|
|
38
|
+
- [DataGridPro] Fix pinned columns order in column management (#17950) @alisasanib
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@8.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.0`, plus:
|
|
43
|
+
|
|
44
|
+
- [DataGridPremium] Export `GridApiPremium` type (#18037) @arminmeh
|
|
45
|
+
|
|
46
|
+
### Date and Time Pickers
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-date-pickers@8.5.0`
|
|
49
|
+
|
|
50
|
+
Internal changes.
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-date-pickers@8.5.0`, plus:
|
|
55
|
+
|
|
56
|
+
- [DateRangePicker] Allow to override the format in the field (#17972) @flaviendelangle
|
|
57
|
+
|
|
58
|
+
### Charts
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-charts@8.5.0`
|
|
61
|
+
|
|
62
|
+
- [charts] Add `render` prop to charts toolbar components (#17649) @bernardobelchior
|
|
63
|
+
- [charts] Add configurable slots to toolbar (#17712) @bernardobelchior
|
|
64
|
+
- [charts] Export `useFunnelSeries` and `useRadarSeries` (#18034) @JCQuintas
|
|
65
|
+
- [charts] Expose `ChartApi` through context (#18004) @bernardobelchior
|
|
66
|
+
- [charts] Mark Radar chart as stable (#17946) @alexfauquette
|
|
67
|
+
- [charts] Only update store if interaction item is different (#17851) @bernardobelchior
|
|
68
|
+
- [charts] Reuse shared date utils (#18014) @JCQuintas
|
|
69
|
+
- [charts] Use Map for string cache instead of object (#17982) @bernardobelchior
|
|
70
|
+
- [charts] Fix Population pyramid demo (#17987) @oliviertassinari
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-charts-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-charts@8.5.0`, plus:
|
|
75
|
+
|
|
76
|
+
- [charts-pro] Add range selection to zoom slider (#17949) @bernardobelchior
|
|
77
|
+
- [charts-pro] Allow configuring zoom slider tooltip (#18030) @bernardobelchior
|
|
78
|
+
- [charts-pro] Allow exporting a funnel chart (#17957) @bernardobelchior
|
|
79
|
+
- [charts-pro] Allow exporting a heatmap chart (#17916) @bernardobelchior
|
|
80
|
+
- [charts-pro] Allow exporting a radar chart (#17968) @bernardobelchior
|
|
81
|
+
- [charts-pro] Always show both zoom slider tooltips (#18027) @bernardobelchior
|
|
82
|
+
- [charts-pro] Show zoom slider tooltip when selecting range (#18028) @bernardobelchior
|
|
83
|
+
- [charts-pro] Split `ChartAxisZoomSlider` into smaller files (#18011) @bernardobelchior
|
|
84
|
+
- [charts-pro] Update zoom slider range selection cursor (#17977) @bernardobelchior
|
|
85
|
+
- [charts-pro] Add support for Heatmap legend (#17943) @alexfauquette
|
|
86
|
+
|
|
87
|
+
### Tree View
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@8.5.0`
|
|
90
|
+
|
|
91
|
+
Internal changes.
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-tree-view-pro@8.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
94
|
+
|
|
95
|
+
Same changes as in `@mui/x-tree-view@8.5.0`.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix derived column pivoting demo crash (#17944) @arminmeh
|
|
100
|
+
- [docs] Fix light/dark mode blink on pickers overview (#18002) @alexfauquette
|
|
101
|
+
- [docs] Fix scatter shape demo causing horizontal overflow (#17974) @bernardobelchior
|
|
102
|
+
|
|
103
|
+
### Core
|
|
104
|
+
|
|
105
|
+
- [code-infra] Add bundle size monitor (#17754) @Janpot
|
|
106
|
+
- [code-infra] Enable `babel-plugin-display-name` in vitest (#17903) @JCQuintas
|
|
107
|
+
- [infra] Remove last deprecated `ponyfillGlobal` usage (#18003) @LukasTy
|
|
108
|
+
- [infra] Use `babel-plugin-display-name` from npm (#18040) @LukasTy
|
|
109
|
+
- [x-telemetry] Remove deprecated `ponyfillGlobal` (#17986) @xBlizZer
|
|
110
|
+
|
|
8
111
|
## 8.4.0
|
|
9
112
|
|
|
10
113
|
_May 21, 2025_
|
|
@@ -40,7 +40,7 @@ const configuration = {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
const releaseInfo = "
|
|
43
|
+
const releaseInfo = "MTc0ODQ2OTYwMDAwMA==";
|
|
44
44
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
45
45
|
packageName: "x-data-grid-premium",
|
|
46
46
|
releaseInfo: releaseInfo
|
|
@@ -76,6 +76,7 @@ const DataGridPremiumRaw = (0, _forwardRef.forwardRef)(function DataGridPremium(
|
|
|
76
76
|
}))
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
|
+
if (process.env.NODE_ENV !== "production") DataGridPremiumRaw.displayName = "DataGridPremiumRaw";
|
|
79
80
|
process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
80
81
|
// ----------------------------- Warning --------------------------------
|
|
81
82
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -647,6 +648,13 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
647
648
|
* @default "error" ("warn" in dev mode)
|
|
648
649
|
*/
|
|
649
650
|
logLevel: _propTypes.default.oneOf(['debug', 'error', 'info', 'warn', false]),
|
|
651
|
+
/**
|
|
652
|
+
* If set to "always", the multi-sorting is applied without modifier key.
|
|
653
|
+
* Otherwise, the modifier key is required for multi-sorting to be applied.
|
|
654
|
+
* @see See https://mui.com/x/react-data-grid/sorting/#multi-sorting
|
|
655
|
+
* @default "withModifierKey"
|
|
656
|
+
*/
|
|
657
|
+
multipleColumnsSortingMode: _propTypes.default.oneOf(['always', 'withModifierKey']),
|
|
650
658
|
/**
|
|
651
659
|
* Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).
|
|
652
660
|
*/
|
|
@@ -13,7 +13,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var React = _react;
|
|
14
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
|
-
var
|
|
16
|
+
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
17
17
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
18
18
|
var _useGridRootProps = require("../hooks/utils/useGridRootProps");
|
|
19
19
|
var _gridAggregationUtils = require("../hooks/features/aggregation/gridAggregationUtils");
|
|
@@ -27,7 +27,7 @@ function GridColumnMenuAggregationItem(props) {
|
|
|
27
27
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
28
28
|
const inputRef = React.useRef(null);
|
|
29
29
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
30
|
-
const id = (0,
|
|
30
|
+
const id = (0, _useId.default)();
|
|
31
31
|
const aggregationModel = (0, _xDataGridPro.useGridSelector)(apiRef, _gridAggregationSelectors.gridAggregationModelSelector);
|
|
32
32
|
const availableAggregationFunctions = React.useMemo(() => (0, _gridAggregationUtils.getAvailableAggregationFunctions)({
|
|
33
33
|
aggregationFunctions: rootProps.aggregationFunctions,
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridDataSourceGroupingCriteriaCell = GridDataSourceGroupingCriteriaCell;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
@@ -23,7 +23,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
23
|
toggle: ['groupingCriteriaCellToggle'],
|
|
24
24
|
loadingContainer: ['groupingCriteriaCellLoadingContainer']
|
|
25
25
|
};
|
|
26
|
-
return (0,
|
|
26
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
27
|
};
|
|
28
28
|
function GridGroupingCriteriaCellIcon(props) {
|
|
29
29
|
const apiRef = (0, _internals.useGridPrivateApiContext)();
|
|
@@ -20,6 +20,7 @@ const GridEmptyPivotOverlay = exports.GridEmptyPivotOverlay = (0, _forwardRef.fo
|
|
|
20
20
|
children: apiRef.current.getLocaleText('emptyPivotOverlayLabel')
|
|
21
21
|
}));
|
|
22
22
|
});
|
|
23
|
+
if (process.env.NODE_ENV !== "production") GridEmptyPivotOverlay.displayName = "GridEmptyPivotOverlay";
|
|
23
24
|
process.env.NODE_ENV !== "production" ? GridEmptyPivotOverlay.propTypes = {
|
|
24
25
|
// ----------------------------- Warning --------------------------------
|
|
25
26
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -49,4 +49,5 @@ const GridPremiumColumnMenu = exports.GridPremiumColumnMenu = (0, _forwardRef.fo
|
|
|
49
49
|
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM,
|
|
50
50
|
ref: ref
|
|
51
51
|
}));
|
|
52
|
-
});
|
|
52
|
+
});
|
|
53
|
+
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
@@ -82,6 +82,7 @@ const AiAssistantPanelTrigger = exports.AiAssistantPanelTrigger = (0, _forwardRe
|
|
|
82
82
|
children: element
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
|
+
if (process.env.NODE_ENV !== "production") AiAssistantPanelTrigger.displayName = "AiAssistantPanelTrigger";
|
|
85
86
|
process.env.NODE_ENV !== "production" ? AiAssistantPanelTrigger.propTypes = {
|
|
86
87
|
// ----------------------------- Warning --------------------------------
|
|
87
88
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
|
-
var
|
|
13
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
14
|
var _system = require("@mui/system");
|
|
15
15
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
16
16
|
var _gridAiAssistantSelectors = require("../../hooks/features/aiAssistant/gridAiAssistantSelectors");
|
|
@@ -34,7 +34,7 @@ const useUtilityClasses = ownerState => {
|
|
|
34
34
|
emptyText: ['aiAssistantPanelEmptyText'],
|
|
35
35
|
footer: ['aiAssistantPanelFooter']
|
|
36
36
|
};
|
|
37
|
-
return (0,
|
|
37
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
38
38
|
};
|
|
39
39
|
const AiAssistantPanelRoot = (0, _system.styled)('div', {
|
|
40
40
|
name: 'MuiDataGrid',
|
|
@@ -9,7 +9,7 @@ exports.GridAiAssistantPanelConversation = GridAiAssistantPanelConversation;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
|
-
var
|
|
12
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
13
13
|
var _system = require("@mui/system");
|
|
14
14
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -23,7 +23,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
23
|
root: ['aiAssistantPanelConversation'],
|
|
24
24
|
list: ['aiAssistantPanelConversationList']
|
|
25
25
|
};
|
|
26
|
-
return (0,
|
|
26
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
27
|
};
|
|
28
28
|
const AiAssistantPanelConversationRoot = (0, _system.styled)(_xDataGridPro.GridShadowScrollArea, {
|
|
29
29
|
name: 'MuiDataGrid',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
@@ -7,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
8
|
exports.GridAiAssistantPanelSuggestions = GridAiAssistantPanelSuggestions;
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
10
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
11
12
|
var _system = require("@mui/system");
|
|
12
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
14
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -23,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
23
24
|
item: ['aiAssistantPanelSuggestionsItem'],
|
|
24
25
|
label: ['aiAssistantPanelSuggestionsLabel']
|
|
25
26
|
};
|
|
26
|
-
return (0,
|
|
27
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
27
28
|
};
|
|
28
29
|
const AiAssistantPanelSuggestionsRoot = (0, _system.styled)('div', {
|
|
29
30
|
name: 'MuiDataGrid',
|
|
@@ -13,7 +13,7 @@ var _system = require("@mui/system");
|
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
|
-
var
|
|
16
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
17
17
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
18
18
|
var _CollapsibleContext = require("./CollapsibleContext");
|
|
19
19
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
const slots = {
|
|
27
27
|
root: ['collapsible']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsibleRoot = (0, _system.styled)('div', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
15
|
-
var
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
17
17
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
18
18
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
const slots = {
|
|
27
27
|
root: ['collapsiblePanel']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsiblePanelRoot = (0, _system.styled)('div', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -11,7 +11,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
root: ['collapsibleTrigger'],
|
|
27
27
|
icon: ['collapsibleIcon']
|
|
28
28
|
};
|
|
29
|
-
return (0,
|
|
29
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
31
|
const CollapsibleTriggerRoot = (0, _system.styled)('button', {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
@@ -50,6 +50,7 @@ const ExportExcel = exports.ExportExcel = (0, _forwardRef.forwardRef)(function E
|
|
|
50
50
|
children: element
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
+
if (process.env.NODE_ENV !== "production") ExportExcel.displayName = "ExportExcel";
|
|
53
54
|
process.env.NODE_ENV !== "production" ? ExportExcel.propTypes = {
|
|
54
55
|
// ----------------------------- Warning --------------------------------
|
|
55
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -11,7 +11,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _system = require("@mui/system");
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _sidebar = require("../sidebar");
|
|
16
16
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
@@ -27,7 +27,7 @@ const useUtilityClasses = ownerState => {
|
|
|
27
27
|
switch: ['pivotPanelSwitch'],
|
|
28
28
|
label: ['pivotPanelSwitchLabel']
|
|
29
29
|
};
|
|
30
|
-
return (0,
|
|
30
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
31
31
|
};
|
|
32
32
|
const GridPivotPanelHeaderRoot = (0, _system.styled)('div', {
|
|
33
33
|
name: 'MuiDataGrid',
|
|
@@ -11,7 +11,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
16
16
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -22,7 +22,7 @@ const useUtilityClasses = ownerState => {
|
|
|
22
22
|
const slots = {
|
|
23
23
|
container: ['pivotPanelSearchContainer']
|
|
24
24
|
};
|
|
25
|
-
return (0,
|
|
25
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
26
26
|
};
|
|
27
27
|
const GridPivotPanelSearchContainer = (0, _system.styled)('div', {
|
|
28
28
|
name: 'MuiDataGrid',
|
|
@@ -68,6 +68,7 @@ const PivotPanelTrigger = exports.PivotPanelTrigger = (0, _forwardRef.forwardRef
|
|
|
68
68
|
children: element
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
+
if (process.env.NODE_ENV !== "production") PivotPanelTrigger.displayName = "PivotPanelTrigger";
|
|
71
72
|
process.env.NODE_ENV !== "production" ? PivotPanelTrigger.propTypes = {
|
|
72
73
|
// ----------------------------- Warning --------------------------------
|
|
73
74
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -8,7 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridPrompt = GridPrompt;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
11
|
-
var
|
|
11
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
12
|
+
var _capitalize = _interopRequireDefault(require("@mui/utils/capitalize"));
|
|
12
13
|
var _system = require("@mui/system");
|
|
13
14
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
15
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
@@ -31,7 +32,7 @@ const useUtilityClasses = ownerState => {
|
|
|
31
32
|
changesToggle: ['promptChangesToggle'],
|
|
32
33
|
changesToggleIcon: ['promptChangesToggleIcon']
|
|
33
34
|
};
|
|
34
|
-
return (0,
|
|
35
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
35
36
|
};
|
|
36
37
|
const fadeIn = (0, _system.keyframes)({
|
|
37
38
|
from: {
|
|
@@ -211,7 +212,7 @@ function GridPrompt(props) {
|
|
|
211
212
|
}, [apiRef, getColumnName, rootProps.slots.promptAggregationIcon]);
|
|
212
213
|
const getFilterChanges = React.useCallback(filters => {
|
|
213
214
|
return filters.map(filter => {
|
|
214
|
-
const filterOperator = apiRef.current.getLocaleText(`filterOperator${(0,
|
|
215
|
+
const filterOperator = apiRef.current.getLocaleText(`filterOperator${(0, _capitalize.default)(filter.operator)}`);
|
|
215
216
|
let filterValue = filter.value;
|
|
216
217
|
if ((0, _internals.isSingleSelectColDef)(columns[filter.column])) {
|
|
217
218
|
const allOptions = (0, _internals.getValueOptions)(columns[filter.column]) ?? [];
|
|
@@ -69,6 +69,7 @@ const PromptField = exports.PromptField = (0, _forwardRef.forwardRef)(function P
|
|
|
69
69
|
children: element
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
+
if (process.env.NODE_ENV !== "production") PromptField.displayName = "PromptField";
|
|
72
73
|
process.env.NODE_ENV !== "production" ? PromptField.propTypes = {
|
|
73
74
|
// ----------------------------- Warning --------------------------------
|
|
74
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -65,6 +65,7 @@ const PromptFieldControl = exports.PromptFieldControl = (0, _forwardRef.forwardR
|
|
|
65
65
|
children: element
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
+
if (process.env.NODE_ENV !== "production") PromptFieldControl.displayName = "PromptFieldControl";
|
|
68
69
|
process.env.NODE_ENV !== "production" ? PromptFieldControl.propTypes = {
|
|
69
70
|
// ----------------------------- Warning --------------------------------
|
|
70
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -131,6 +131,7 @@ const PromptFieldRecord = exports.PromptFieldRecord = (0, _forwardRef.forwardRef
|
|
|
131
131
|
children: element
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
|
+
if (process.env.NODE_ENV !== "production") PromptFieldRecord.displayName = "PromptFieldRecord";
|
|
134
135
|
process.env.NODE_ENV !== "production" ? PromptFieldRecord.propTypes = {
|
|
135
136
|
// ----------------------------- Warning --------------------------------
|
|
136
137
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -56,6 +56,7 @@ const PromptFieldSend = exports.PromptFieldSend = (0, _forwardRef.forwardRef)(fu
|
|
|
56
56
|
children: element
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
|
+
if (process.env.NODE_ENV !== "production") PromptFieldSend.displayName = "PromptFieldSend";
|
|
59
60
|
process.env.NODE_ENV !== "production" ? PromptFieldSend.propTypes = {
|
|
60
61
|
// ----------------------------- Warning --------------------------------
|
|
61
62
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
13
|
var _system = require("@mui/system");
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
|
-
var
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _ResizablePanelContext = require("./ResizablePanelContext");
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
const slots = {
|
|
25
25
|
root: ['resizablePanel']
|
|
26
26
|
};
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
28
28
|
};
|
|
29
29
|
const ResizablePanelRoot = (0, _system.styled)('div', {
|
|
30
30
|
name: 'MuiDataGrid',
|
|
@@ -11,7 +11,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
|
-
var
|
|
14
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
17
|
var _useResize = require("../../hooks/utils/useResize");
|
|
@@ -27,7 +27,7 @@ const useUtilityClasses = ownerState => {
|
|
|
27
27
|
const slots = {
|
|
28
28
|
root: ['resizablePanelHandle', `resizablePanelHandle--${direction}`]
|
|
29
29
|
};
|
|
30
|
-
return (0,
|
|
30
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
31
31
|
};
|
|
32
32
|
const ResizablePanelHandleRoot = (0, _system.styled)('div', {
|
|
33
33
|
name: 'MuiDataGrid',
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
13
|
var _system = require("@mui/system");
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
|
-
var
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _resizablePanel = require("../resizablePanel");
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
const slots = {
|
|
25
25
|
root: ['sidebar']
|
|
26
26
|
};
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
28
28
|
};
|
|
29
29
|
const SidebarRoot = (0, _system.styled)(_resizablePanel.ResizablePanel, {
|
|
30
30
|
name: 'MuiDataGrid',
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _system = require("@mui/system");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
15
|
-
var
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
17
17
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
const slots = {
|
|
25
25
|
root: ['sidebarHeader']
|
|
26
26
|
};
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
28
28
|
};
|
|
29
29
|
const SidebarHeaderRoot = (0, _system.styled)('div', {
|
|
30
30
|
name: 'MuiDataGrid',
|
|
@@ -33,7 +33,7 @@ const configuration = {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
const releaseInfo = "
|
|
36
|
+
const releaseInfo = "MTc0ODQ2OTYwMDAwMA==";
|
|
37
37
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
38
38
|
packageName: "x-data-grid-premium",
|
|
39
39
|
releaseInfo: releaseInfo
|
|
@@ -69,6 +69,7 @@ const DataGridPremiumRaw = forwardRef(function DataGridPremium(inProps, ref) {
|
|
|
69
69
|
}))
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
+
if (process.env.NODE_ENV !== "production") DataGridPremiumRaw.displayName = "DataGridPremiumRaw";
|
|
72
73
|
process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
73
74
|
// ----------------------------- Warning --------------------------------
|
|
74
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -640,6 +641,13 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
640
641
|
* @default "error" ("warn" in dev mode)
|
|
641
642
|
*/
|
|
642
643
|
logLevel: PropTypes.oneOf(['debug', 'error', 'info', 'warn', false]),
|
|
644
|
+
/**
|
|
645
|
+
* If set to "always", the multi-sorting is applied without modifier key.
|
|
646
|
+
* Otherwise, the modifier key is required for multi-sorting to be applied.
|
|
647
|
+
* @see See https://mui.com/x/react-data-grid/sorting/#multi-sorting
|
|
648
|
+
* @default "withModifierKey"
|
|
649
|
+
*/
|
|
650
|
+
multipleColumnsSortingMode: PropTypes.oneOf(['always', 'withModifierKey']),
|
|
643
651
|
/**
|
|
644
652
|
* Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).
|
|
645
653
|
*/
|
|
@@ -5,7 +5,7 @@ const _excluded = ["native"];
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import { useGridSelector } from '@mui/x-data-grid-pro';
|
|
8
|
-
import
|
|
8
|
+
import useId from '@mui/utils/useId';
|
|
9
9
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
10
10
|
import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
|
|
11
11
|
import { canColumnHaveAggregationFunction, getAggregationFunctionLabel, getAvailableAggregationFunctions } from "../hooks/features/aggregation/gridAggregationUtils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import
|
|
3
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
4
4
|
import { useGridPrivateApiContext, gridDataSourceErrorSelector, gridDataSourceLoadingIdSelector, gridRowSelector, vars } from '@mui/x-data-grid-pro/internals';
|
|
5
5
|
import { useGridSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
@@ -12,6 +12,7 @@ const GridEmptyPivotOverlay = forwardRef(function GridEmptyPivotOverlay(props, r
|
|
|
12
12
|
children: apiRef.current.getLocaleText('emptyPivotOverlayLabel')
|
|
13
13
|
}));
|
|
14
14
|
});
|
|
15
|
+
if (process.env.NODE_ENV !== "production") GridEmptyPivotOverlay.displayName = "GridEmptyPivotOverlay";
|
|
15
16
|
process.env.NODE_ENV !== "production" ? GridEmptyPivotOverlay.propTypes = {
|
|
16
17
|
// ----------------------------- Warning --------------------------------
|
|
17
18
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -39,4 +39,5 @@ export const GridPremiumColumnMenu = forwardRef(function GridPremiumColumnMenuSi
|
|
|
39
39
|
defaultSlotProps: GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM,
|
|
40
40
|
ref: ref
|
|
41
41
|
}));
|
|
42
|
-
});
|
|
42
|
+
});
|
|
43
|
+
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
@@ -74,6 +74,7 @@ const AiAssistantPanelTrigger = forwardRef(function AiAssistantPanelTrigger(prop
|
|
|
74
74
|
children: element
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
|
+
if (process.env.NODE_ENV !== "production") AiAssistantPanelTrigger.displayName = "AiAssistantPanelTrigger";
|
|
77
78
|
process.env.NODE_ENV !== "production" ? AiAssistantPanelTrigger.propTypes = {
|
|
78
79
|
// ----------------------------- Warning --------------------------------
|
|
79
80
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useGridSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
4
4
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
5
|
-
import
|
|
5
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
6
6
|
import { styled } from '@mui/system';
|
|
7
7
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
8
8
|
import { gridAiAssistantActiveConversationSelector, gridAiAssistantConversationsSelector } from "../../hooks/features/aiAssistant/gridAiAssistantSelectors.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { getDataGridUtilityClass, GridShadowScrollArea } from '@mui/x-data-grid-pro';
|
|
4
|
-
import
|
|
4
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
5
5
|
import { styled } from '@mui/system';
|
|
6
6
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
7
7
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
3
|
-
import
|
|
3
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
4
4
|
import { styled } from '@mui/system';
|
|
5
5
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
6
6
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
@@ -6,7 +6,7 @@ import { styled } from '@mui/system';
|
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
7
|
import useId from '@mui/utils/useId';
|
|
8
8
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import clsx from 'clsx';
|
|
11
11
|
import { CollapsibleContext } from "./CollapsibleContext.js";
|
|
12
12
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { styled } from '@mui/system';
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
7
|
import useId from '@mui/utils/useId';
|
|
8
|
-
import
|
|
8
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
10
10
|
import clsx from 'clsx';
|
|
11
11
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
@@ -4,7 +4,7 @@ const _excluded = ["children", "className"];
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { styled } from '@mui/system';
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
|
-
import
|
|
7
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
@@ -42,6 +42,7 @@ const ExportExcel = forwardRef(function ExportExcel(props, ref) {
|
|
|
42
42
|
children: element
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
|
+
if (process.env.NODE_ENV !== "production") ExportExcel.displayName = "ExportExcel";
|
|
45
46
|
process.env.NODE_ENV !== "production" ? ExportExcel.propTypes = {
|
|
46
47
|
// ----------------------------- Warning --------------------------------
|
|
47
48
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { styled } from '@mui/system';
|
|
4
4
|
import { useGridSelector, getDataGridUtilityClass, gridRowCountSelector } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { vars, NotRendered } from '@mui/x-data-grid-pro/internals';
|
|
6
|
-
import
|
|
6
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { SidebarHeader } from "../sidebar/index.js";
|
|
8
8
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
9
9
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
4
4
|
import { styled } from '@mui/system';
|
|
5
5
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
6
|
-
import
|
|
6
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
8
8
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -60,6 +60,7 @@ const PivotPanelTrigger = forwardRef(function PivotPanelTrigger(props, ref) {
|
|
|
60
60
|
children: element
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
+
if (process.env.NODE_ENV !== "production") PivotPanelTrigger.displayName = "PivotPanelTrigger";
|
|
63
64
|
process.env.NODE_ENV !== "production" ? PivotPanelTrigger.propTypes = {
|
|
64
65
|
// ----------------------------- Warning --------------------------------
|
|
65
66
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { getDataGridUtilityClass, gridClasses, gridColumnLookupSelector, useGridSelector } from '@mui/x-data-grid-pro';
|
|
3
|
-
import
|
|
3
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
4
|
+
import capitalize from '@mui/utils/capitalize';
|
|
4
5
|
import { keyframes, styled } from '@mui/system';
|
|
5
6
|
import { getValueOptions, isSingleSelectColDef, vars } from '@mui/x-data-grid-pro/internals';
|
|
6
7
|
import useId from '@mui/utils/useId';
|
|
@@ -61,6 +61,7 @@ const PromptField = forwardRef(function PromptField(props, ref) {
|
|
|
61
61
|
children: element
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
|
+
if (process.env.NODE_ENV !== "production") PromptField.displayName = "PromptField";
|
|
64
65
|
process.env.NODE_ENV !== "production" ? PromptField.propTypes = {
|
|
65
66
|
// ----------------------------- Warning --------------------------------
|
|
66
67
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -57,6 +57,7 @@ const PromptFieldControl = forwardRef(function PromptFieldControl(props, ref) {
|
|
|
57
57
|
children: element
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
|
+
if (process.env.NODE_ENV !== "production") PromptFieldControl.displayName = "PromptFieldControl";
|
|
60
61
|
process.env.NODE_ENV !== "production" ? PromptFieldControl.propTypes = {
|
|
61
62
|
// ----------------------------- Warning --------------------------------
|
|
62
63
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -123,6 +123,7 @@ const PromptFieldRecord = forwardRef(function PromptFieldRecord(props, ref) {
|
|
|
123
123
|
children: element
|
|
124
124
|
});
|
|
125
125
|
});
|
|
126
|
+
if (process.env.NODE_ENV !== "production") PromptFieldRecord.displayName = "PromptFieldRecord";
|
|
126
127
|
process.env.NODE_ENV !== "production" ? PromptFieldRecord.propTypes = {
|
|
127
128
|
// ----------------------------- Warning --------------------------------
|
|
128
129
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -48,6 +48,7 @@ const PromptFieldSend = forwardRef(function PromptFieldSend(props, ref) {
|
|
|
48
48
|
children: element
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
|
+
if (process.env.NODE_ENV !== "production") PromptFieldSend.displayName = "PromptFieldSend";
|
|
51
52
|
process.env.NODE_ENV !== "production" ? PromptFieldSend.propTypes = {
|
|
52
53
|
// ----------------------------- Warning --------------------------------
|
|
53
54
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { styled } from '@mui/system';
|
|
7
7
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
8
|
-
import
|
|
8
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import { ResizablePanelContext } from "./ResizablePanelContext.js";
|
|
10
10
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -4,7 +4,7 @@ const _excluded = ["className", "children"];
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { styled } from '@mui/system';
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
|
-
import
|
|
7
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { getDataGridUtilityClass, gridClasses } from '@mui/x-data-grid-pro';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import { useResize } from "../../hooks/utils/useResize.js";
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { styled } from '@mui/system';
|
|
7
7
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
8
|
-
import
|
|
8
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import { ResizablePanel, ResizablePanelHandle } from "../resizablePanel/index.js";
|
|
10
10
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { styled } from '@mui/system';
|
|
6
6
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
7
7
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
8
|
-
import
|
|
8
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import
|
|
2
|
+
import capitalize from '@mui/utils/capitalize';
|
|
3
3
|
import { GRID_ID_AUTOGENERATED } from '@mui/x-data-grid/internals';
|
|
4
4
|
import { GRID_ROOT_GROUP_ID } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { addPinnedRow, insertNodeInTree, removeNodeFromTree } from '@mui/x-data-grid-pro/internals';
|
|
@@ -4,7 +4,7 @@ import { GRID_CHECKBOX_SELECTION_FIELD, gridFocusCellSelector, gridVisibleColumn
|
|
|
4
4
|
import { getRowIdFromRowModel, getActiveElement, useGridRegisterPipeProcessor, getPublicApiRef, isPasteShortcut, useGridLogger } from '@mui/x-data-grid/internals';
|
|
5
5
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
6
6
|
import { GRID_DETAIL_PANEL_TOGGLE_FIELD, GRID_REORDER_COL_DEF } from '@mui/x-data-grid-pro';
|
|
7
|
-
import
|
|
7
|
+
import debounce from '@mui/utils/debounce';
|
|
8
8
|
const columnFieldsToExcludeFromPaste = [GRID_CHECKBOX_SELECTION_FIELD, GRID_REORDER_COL_DEF.field, GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
9
9
|
|
|
10
10
|
// Batches rows that are updated during clipboard paste to reduce `updateRows` calls
|
package/esm/index.js
CHANGED
package/esm/models/index.d.ts
CHANGED
package/esm/models/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.mergeStateWithAggregationModel = exports.getAvailableAggregationFunctions = exports.getAggregationRules = exports.getAggregationFunctionLabel = exports.getAggregationFooterRowIdFromGroupId = exports.canColumnHaveAggregationFunction = exports.areAggregationRulesEqual = exports.addFooterRows = exports.GRID_AGGREGATION_ROOT_FOOTER_ROW_ID = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
-
var
|
|
9
|
+
var _capitalize = _interopRequireDefault(require("@mui/utils/capitalize"));
|
|
10
10
|
var _internals = require("@mui/x-data-grid/internals");
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _internals2 = require("@mui/x-data-grid-pro/internals");
|
|
@@ -187,7 +187,7 @@ const getAggregationFunctionLabel = ({
|
|
|
187
187
|
return aggregationRule.aggregationFunction.label;
|
|
188
188
|
}
|
|
189
189
|
try {
|
|
190
|
-
return apiRef.current.getLocaleText(`aggregationFunctionLabel${(0,
|
|
190
|
+
return apiRef.current.getLocaleText(`aggregationFunctionLabel${(0, _capitalize.default)(aggregationRule.aggregationFunctionName)}`);
|
|
191
191
|
} catch {
|
|
192
192
|
return aggregationRule.aggregationFunctionName;
|
|
193
193
|
}
|
|
@@ -12,13 +12,13 @@ var _xDataGrid = require("@mui/x-data-grid");
|
|
|
12
12
|
var _internals = require("@mui/x-data-grid/internals");
|
|
13
13
|
var _warning = require("@mui/x-internals/warning");
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
|
-
var
|
|
15
|
+
var _debounce = _interopRequireDefault(require("@mui/utils/debounce"));
|
|
16
16
|
const columnFieldsToExcludeFromPaste = [_xDataGrid.GRID_CHECKBOX_SELECTION_FIELD, _xDataGridPro.GRID_REORDER_COL_DEF.field, _xDataGridPro.GRID_DETAIL_PANEL_TOGGLE_FIELD];
|
|
17
17
|
|
|
18
18
|
// Batches rows that are updated during clipboard paste to reduce `updateRows` calls
|
|
19
19
|
function batchRowUpdates(func, wait) {
|
|
20
20
|
let rows = [];
|
|
21
|
-
const debounced = (0,
|
|
21
|
+
const debounced = (0, _debounce.default)(() => {
|
|
22
22
|
func(rows);
|
|
23
23
|
rows = [];
|
|
24
24
|
}, wait);
|
package/index.js
CHANGED
package/models/index.d.ts
CHANGED
package/models/index.js
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _gridApiPremium = require("./gridApiPremium");
|
|
7
|
+
Object.keys(_gridApiPremium).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _gridApiPremium[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _gridApiPremium[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
6
17
|
var _gridGroupingValueGetter = require("./gridGroupingValueGetter");
|
|
7
18
|
Object.keys(_gridGroupingValueGetter).forEach(function (key) {
|
|
8
19
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Data Grid Components.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"exceljs": "^4.4.0",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"reselect": "^5.1.1",
|
|
45
|
-
"@mui/x-
|
|
46
|
-
"@mui/x-data-grid-pro": "8.
|
|
47
|
-
"@mui/x-
|
|
48
|
-
"@mui/x-
|
|
45
|
+
"@mui/x-data-grid": "8.5.0",
|
|
46
|
+
"@mui/x-data-grid-pro": "8.5.0",
|
|
47
|
+
"@mui/x-license": "8.5.0",
|
|
48
|
+
"@mui/x-internals": "8.5.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@emotion/react": "^11.9.0",
|