@mui/x-data-grid-premium 8.27.0 → 8.27.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 +125 -0
- package/DataGridPremium/DataGridPremium.js +1 -1
- package/components/GridBottomContainer.js +2 -2
- package/components/GridPremiumColumnMenu.d.ts +3 -2
- package/components/GridPremiumColumnMenu.js +3 -1
- package/components/aiAssistantPanel/GridAiAssistantPanel.js +9 -9
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +3 -3
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +4 -4
- package/components/chartsPanel/GridChartsPanel.js +4 -4
- package/components/chartsPanel/chart/GridChartsPanelChart.js +4 -4
- package/components/chartsPanel/customize/GridChartsPanelCustomize.js +5 -5
- package/components/chartsPanel/data/GridChartsPanelDataBody.js +9 -9
- package/components/chartsPanel/data/GridChartsPanelDataField.js +6 -6
- package/components/chartsPanel/data/GridChartsPanelDataSearch.js +2 -2
- package/components/collapsible/Collapsible.js +2 -2
- package/components/collapsible/CollapsiblePanel.js +2 -2
- package/components/collapsible/CollapsibleTrigger.js +3 -3
- package/components/pivotPanel/GridPivotPanelBody.js +9 -9
- package/components/pivotPanel/GridPivotPanelField.js +6 -6
- package/components/pivotPanel/GridPivotPanelHeader.js +4 -4
- package/components/pivotPanel/GridPivotPanelSearch.js +2 -2
- 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 +1 -1
- package/esm/components/GridBottomContainer.js +1 -1
- package/esm/components/GridPremiumColumnMenu.d.ts +3 -2
- package/esm/components/GridPremiumColumnMenu.js +3 -1
- 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/chartsPanel/GridChartsPanel.js +1 -1
- package/esm/components/chartsPanel/chart/GridChartsPanelChart.js +1 -1
- package/esm/components/chartsPanel/customize/GridChartsPanelCustomize.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataBody.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataField.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataSearch.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/pivotPanel/GridPivotPanelBody.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelField.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +1 -1
- 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/useGridAggregation.js +1 -1
- package/esm/index.js +1 -1
- package/hooks/features/aggregation/useGridAggregation.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -5
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9
9
|
exports.GridPivotPanelBody = GridPivotPanelBody;
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _styles = require("@mui/material/styles");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
|
|
|
36
36
|
};
|
|
37
37
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
38
38
|
};
|
|
39
|
-
const GridPivotPanelBodyRoot = (0,
|
|
39
|
+
const GridPivotPanelBodyRoot = (0, _styles.styled)('div', {
|
|
40
40
|
name: 'MuiDataGrid',
|
|
41
41
|
slot: 'PivotPanelBody'
|
|
42
42
|
})({
|
|
@@ -45,7 +45,7 @@ const GridPivotPanelBodyRoot = (0, _system.styled)('div', {
|
|
|
45
45
|
flexDirection: 'column',
|
|
46
46
|
overflow: 'hidden'
|
|
47
47
|
});
|
|
48
|
-
const GridPivotPanelAvailableFields = (0,
|
|
48
|
+
const GridPivotPanelAvailableFields = (0, _styles.styled)(_xDataGridPro.GridShadowScrollArea, {
|
|
49
49
|
name: 'MuiDataGrid',
|
|
50
50
|
slot: 'PivotPanelAvailableFields'
|
|
51
51
|
})({
|
|
@@ -59,7 +59,7 @@ const GridPivotPanelAvailableFields = (0, _system.styled)(_xDataGridPro.GridShad
|
|
|
59
59
|
backgroundColor: _internals.vars.colors.interactive.hover
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
const GridPivotPanelSections = (0,
|
|
62
|
+
const GridPivotPanelSections = (0, _styles.styled)(_resizablePanel.ResizablePanel, {
|
|
63
63
|
name: 'MuiDataGrid',
|
|
64
64
|
slot: 'PivotPanelSections'
|
|
65
65
|
})({
|
|
@@ -69,13 +69,13 @@ const GridPivotPanelSections = (0, _system.styled)(_resizablePanel.ResizablePane
|
|
|
69
69
|
display: 'flex',
|
|
70
70
|
flexDirection: 'column'
|
|
71
71
|
});
|
|
72
|
-
const GridPivotPanelScrollArea = (0,
|
|
72
|
+
const GridPivotPanelScrollArea = (0, _styles.styled)(_xDataGridPro.GridShadowScrollArea, {
|
|
73
73
|
name: 'MuiDataGrid',
|
|
74
74
|
slot: 'PivotPanelScrollArea'
|
|
75
75
|
})({
|
|
76
76
|
height: '100%'
|
|
77
77
|
});
|
|
78
|
-
const GridPivotPanelSection = (0,
|
|
78
|
+
const GridPivotPanelSection = (0, _styles.styled)(_collapsible.Collapsible, {
|
|
79
79
|
name: 'MuiDataGrid',
|
|
80
80
|
slot: 'PivotPanelSection'
|
|
81
81
|
})({
|
|
@@ -89,7 +89,7 @@ const GridPivotPanelSection = (0, _system.styled)(_collapsible.Collapsible, {
|
|
|
89
89
|
outline: `2px solid ${_internals.vars.colors.interactive.selected}`
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
const GridPivotPanelSectionTitle = (0,
|
|
92
|
+
const GridPivotPanelSectionTitle = (0, _styles.styled)('div', {
|
|
93
93
|
name: 'MuiDataGrid',
|
|
94
94
|
slot: 'PivotPanelSectionTitle'
|
|
95
95
|
})({
|
|
@@ -102,7 +102,7 @@ const GridPivotPanelSectionTitle = (0, _system.styled)('div', {
|
|
|
102
102
|
font: _internals.vars.typography.font.body,
|
|
103
103
|
fontWeight: _internals.vars.typography.fontWeight.medium
|
|
104
104
|
});
|
|
105
|
-
const GridPivotPanelFieldList = (0,
|
|
105
|
+
const GridPivotPanelFieldList = (0, _styles.styled)('div', {
|
|
106
106
|
name: 'MuiDataGrid',
|
|
107
107
|
slot: 'PivotPanelFieldList'
|
|
108
108
|
})({
|
|
@@ -111,7 +111,7 @@ const GridPivotPanelFieldList = (0, _system.styled)('div', {
|
|
|
111
111
|
flexDirection: 'column',
|
|
112
112
|
padding: _internals.vars.spacing(0.5, 0)
|
|
113
113
|
});
|
|
114
|
-
const GridPivotPanelPlaceholder = (0,
|
|
114
|
+
const GridPivotPanelPlaceholder = (0, _styles.styled)('div', {
|
|
115
115
|
name: 'MuiDataGrid',
|
|
116
116
|
slot: 'PivotPanelPlaceholder'
|
|
117
117
|
})({
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9
9
|
exports.GridPivotPanelField = GridPivotPanelField;
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _styles = require("@mui/material/styles");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
|
|
|
36
36
|
};
|
|
37
37
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
38
38
|
};
|
|
39
|
-
const GridPivotPanelFieldRoot = (0,
|
|
39
|
+
const GridPivotPanelFieldRoot = (0, _styles.styled)('div', {
|
|
40
40
|
name: 'MuiDataGrid',
|
|
41
41
|
slot: 'PivotPanelField',
|
|
42
42
|
overridesResolver: (props, styles) => [{
|
|
@@ -85,7 +85,7 @@ const GridPivotPanelFieldRoot = (0, _system.styled)('div', {
|
|
|
85
85
|
backgroundColor: _internals.vars.colors.interactive.hover
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
|
-
const GridPivotPanelFieldName = (0,
|
|
88
|
+
const GridPivotPanelFieldName = (0, _styles.styled)('span', {
|
|
89
89
|
name: 'MuiDataGrid',
|
|
90
90
|
slot: 'PivotPanelFieldName'
|
|
91
91
|
})({
|
|
@@ -94,14 +94,14 @@ const GridPivotPanelFieldName = (0, _system.styled)('span', {
|
|
|
94
94
|
textOverflow: 'ellipsis',
|
|
95
95
|
whiteSpace: 'nowrap'
|
|
96
96
|
});
|
|
97
|
-
const GridPivotPanelFieldActionContainer = (0,
|
|
97
|
+
const GridPivotPanelFieldActionContainer = (0, _styles.styled)('div', {
|
|
98
98
|
name: 'MuiDataGrid',
|
|
99
99
|
slot: 'PivotPanelFieldActionContainer'
|
|
100
100
|
})({
|
|
101
101
|
display: 'flex',
|
|
102
102
|
alignItems: 'center'
|
|
103
103
|
});
|
|
104
|
-
const GridPivotPanelFieldDragIcon = (0,
|
|
104
|
+
const GridPivotPanelFieldDragIcon = (0, _styles.styled)('div', {
|
|
105
105
|
name: 'MuiDataGrid',
|
|
106
106
|
slot: 'PivotPanelFieldDragIcon'
|
|
107
107
|
})({
|
|
@@ -116,7 +116,7 @@ const GridPivotPanelFieldDragIcon = (0, _system.styled)('div', {
|
|
|
116
116
|
opacity: 0.3
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
|
-
const GridPivotPanelFieldCheckbox = (0,
|
|
119
|
+
const GridPivotPanelFieldCheckbox = (0, _styles.styled)(_internals.NotRendered, {
|
|
120
120
|
name: 'MuiDataGrid',
|
|
121
121
|
slot: 'PivotPanelFieldCheckbox'
|
|
122
122
|
})({
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridPivotPanelHeader = GridPivotPanelHeader;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _styles = require("@mui/material/styles");
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
@@ -29,7 +29,7 @@ const useUtilityClasses = ownerState => {
|
|
|
29
29
|
};
|
|
30
30
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
31
31
|
};
|
|
32
|
-
const GridPivotPanelHeaderRoot = (0,
|
|
32
|
+
const GridPivotPanelHeaderRoot = (0, _styles.styled)('div', {
|
|
33
33
|
name: 'MuiDataGrid',
|
|
34
34
|
slot: 'PivotPanelHeader'
|
|
35
35
|
})({
|
|
@@ -40,13 +40,13 @@ const GridPivotPanelHeaderRoot = (0, _system.styled)('div', {
|
|
|
40
40
|
boxSizing: 'border-box',
|
|
41
41
|
height: 52
|
|
42
42
|
});
|
|
43
|
-
const GridPivotPanelSwitch = (0,
|
|
43
|
+
const GridPivotPanelSwitch = (0, _styles.styled)(_internals.NotRendered, {
|
|
44
44
|
name: 'MuiDataGrid',
|
|
45
45
|
slot: 'PivotPanelSwitch'
|
|
46
46
|
})({
|
|
47
47
|
marginRight: 'auto'
|
|
48
48
|
});
|
|
49
|
-
const GridPivotPanelSwitchLabel = (0,
|
|
49
|
+
const GridPivotPanelSwitchLabel = (0, _styles.styled)('span', {
|
|
50
50
|
name: 'MuiDataGrid',
|
|
51
51
|
slot: 'PivotPanelSwitchLabel'
|
|
52
52
|
})({
|
|
@@ -9,7 +9,7 @@ exports.GridPivotPanelSearch = GridPivotPanelSearch;
|
|
|
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 _styles = require("@mui/material/styles");
|
|
13
13
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
};
|
|
25
25
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
26
26
|
};
|
|
27
|
-
const GridPivotPanelSearchContainer = (0,
|
|
27
|
+
const GridPivotPanelSearchContainer = (0, _styles.styled)('div', {
|
|
28
28
|
name: 'MuiDataGrid',
|
|
29
29
|
slot: 'PivotPanelSearchContainer'
|
|
30
30
|
})({
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
|
-
var
|
|
14
|
+
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
17
17
|
var _ResizablePanelContext = require("./ResizablePanelContext");
|
|
@@ -27,7 +27,7 @@ const useUtilityClasses = ownerState => {
|
|
|
27
27
|
};
|
|
28
28
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
29
29
|
};
|
|
30
|
-
const ResizablePanelRoot = (0,
|
|
30
|
+
const ResizablePanelRoot = (0, _styles.styled)('div', {
|
|
31
31
|
name: 'MuiDataGrid',
|
|
32
32
|
slot: 'ResizablePanel'
|
|
33
33
|
})({
|
|
@@ -10,7 +10,7 @@ exports.ResizablePanelHandle = ResizablePanelHandle;
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
var
|
|
13
|
+
var _styles = require("@mui/material/styles");
|
|
14
14
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
@@ -30,7 +30,7 @@ const useUtilityClasses = ownerState => {
|
|
|
30
30
|
};
|
|
31
31
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
32
32
|
};
|
|
33
|
-
const ResizablePanelHandleRoot = (0,
|
|
33
|
+
const ResizablePanelHandleRoot = (0, _styles.styled)('div', {
|
|
34
34
|
name: 'MuiDataGrid',
|
|
35
35
|
slot: 'ResizablePanelHandle',
|
|
36
36
|
overridesResolver: (props, styles) => [{
|
|
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
|
-
var
|
|
13
|
+
var _styles = require("@mui/material/styles");
|
|
14
14
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -28,7 +28,7 @@ const useUtilityClasses = ownerState => {
|
|
|
28
28
|
};
|
|
29
29
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
30
30
|
};
|
|
31
|
-
const SidebarRoot = (0,
|
|
31
|
+
const SidebarRoot = (0, _styles.styled)(_resizablePanel.ResizablePanel, {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
33
33
|
slot: 'Sidebar'
|
|
34
34
|
})({
|
|
@@ -9,7 +9,7 @@ exports.SidebarHeader = SidebarHeader;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _styles = require("@mui/material/styles");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
@@ -26,7 +26,7 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
};
|
|
27
27
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
28
28
|
};
|
|
29
|
-
const SidebarHeaderRoot = (0,
|
|
29
|
+
const SidebarHeaderRoot = (0, _styles.styled)('div', {
|
|
30
30
|
name: 'MuiDataGrid',
|
|
31
31
|
slot: 'SidebarHeader'
|
|
32
32
|
})({
|
|
@@ -43,7 +43,7 @@ const configuration = {
|
|
|
43
43
|
useGridParamsOverridableMethods
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
const releaseInfo = "
|
|
46
|
+
const releaseInfo = "MTc3MTU0NTYwMDAwMA==";
|
|
47
47
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
48
48
|
packageName: "x-data-grid-premium",
|
|
49
49
|
releaseInfo: releaseInfo
|
|
@@ -3,7 +3,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["children"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { styled } from '@mui/
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { gridClasses, getDataGridUtilityClass, useGridSelector, gridRowsLoadingSelector, gridRowTreeSelector, GRID_ROOT_GROUP_ID } from '@mui/x-data-grid-pro';
|
|
9
9
|
import { useGridPrivateApiContext } from "../hooks/utils/useGridPrivateApiContext.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import type { GridColumnMenuComponent } from '@mui/x-data-grid-pro/internals';
|
|
2
3
|
import { GridColumnMenuAggregationItem } from "./columnMenu/menuItems/GridColumnMenuAggregationItem.js";
|
|
3
4
|
import { GridColumnMenuManagePanelItem } from "./columnMenu/menuItems/GridColumnMenuManagePanelItem.js";
|
|
4
5
|
export declare function GridColumnMenuGroupingItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,4 +35,4 @@ export declare const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM: {
|
|
|
34
35
|
displayOrder: number;
|
|
35
36
|
};
|
|
36
37
|
};
|
|
37
|
-
export declare const GridPremiumColumnMenu:
|
|
38
|
+
export declare const GridPremiumColumnMenu: GridColumnMenuComponent;
|
|
@@ -41,4 +41,6 @@ export const GridPremiumColumnMenu = forwardRef(function GridPremiumColumnMenuSi
|
|
|
41
41
|
ref: ref
|
|
42
42
|
}));
|
|
43
43
|
});
|
|
44
|
-
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
44
|
+
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
45
|
+
GridPremiumColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS_PREMIUM;
|
|
46
|
+
GridPremiumColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM;
|
|
@@ -3,7 +3,7 @@ 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
5
|
import composeClasses from '@mui/utils/composeClasses';
|
|
6
|
-
import { styled } from '@mui/
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
7
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
8
8
|
import { gridAiAssistantActiveConversationSelector, gridAiAssistantConversationsSelector } from "../../hooks/features/aiAssistant/gridAiAssistantSelectors.js";
|
|
9
9
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { getDataGridUtilityClass, GridShadowScrollArea } from '@mui/x-data-grid-pro';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
|
-
import { styled } from '@mui/
|
|
7
|
+
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
9
9
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
10
10
|
import { GridPrompt } from "../prompt/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
2
2
|
import composeClasses from '@mui/utils/composeClasses';
|
|
3
|
-
import { styled } from '@mui/
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
4
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
5
5
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
6
6
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import { styled } from '@mui/
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
7
|
import useId from '@mui/utils/useId';
|
|
8
8
|
import { useGridSelector, vars } from '@mui/x-data-grid-pro/internals';
|
|
9
9
|
import { GridMenu, GridOverlay } from '@mui/x-data-grid-pro';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { styled } from '@mui/
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
4
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
5
5
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { styled } from '@mui/
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
4
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
5
5
|
import { GridOverlay, GridShadowScrollArea } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from "../../../hooks/utils/useGridApiContext.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { gridPivotActiveSelector, vars } from '@mui/x-data-grid-pro/internals';
|
|
7
7
|
import { getDataGridUtilityClass, GridShadowScrollArea, useGridSelector } from '@mui/x-data-grid-pro';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import useId from '@mui/utils/useId';
|
|
6
|
-
import { styled } from '@mui/
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
7
|
import { getDataGridUtilityClass, GridMenu, useGridSelector } from '@mui/x-data-grid-pro';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import { gridPivotActiveSelector, NotRendered, vars } from '@mui/x-data-grid-pro/internals';
|
|
@@ -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 } from '@mui/x-data-grid-pro';
|
|
4
|
-
import { styled } from '@mui/
|
|
4
|
+
import { styled } from '@mui/material/styles';
|
|
5
5
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { useGridApiContext } from "../../../hooks/utils/useGridApiContext.js";
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["className", "children", "initiallyOpen"];
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { styled } from '@mui/
|
|
7
|
+
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
9
9
|
import useId from '@mui/utils/useId';
|
|
10
10
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["aria-label", "children", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
7
|
import useId from '@mui/utils/useId';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["children", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { GridShadowScrollArea, getDataGridUtilityClass, useGridSelector } from '@mui/x-data-grid-pro';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { getDataGridUtilityClass, gridClasses, GridMenu, useGridSelector } from '@mui/x-data-grid-pro';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { GridColumnSortButton, NotRendered, vars } from '@mui/x-data-grid-pro/internals';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { styled } from '@mui/
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
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
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
@@ -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 } from '@mui/x-data-grid-pro';
|
|
4
|
-
import { styled } from '@mui/
|
|
4
|
+
import { styled } from '@mui/material/styles';
|
|
5
5
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -5,7 +5,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
5
5
|
const _excluded = ["className", "children", "direction"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
|
-
import { styled } from '@mui/
|
|
8
|
+
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { ResizablePanelContext } from "./ResizablePanelContext.js";
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["className", "children"];
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { styled } from '@mui/
|
|
7
|
+
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { getDataGridUtilityClass, gridClasses } from '@mui/x-data-grid-pro';
|
|
@@ -3,7 +3,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["className", "children"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { styled } from '@mui/
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
7
|
import { getDataGridUtilityClass, useGridSelector } from '@mui/x-data-grid-pro';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["className", "children"];
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { styled } from '@mui/
|
|
5
|
+
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
7
7
|
import { vars } from '@mui/x-data-grid-pro/internals';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
@@ -55,7 +55,7 @@ export const useGridAggregation = (apiRef, props) => {
|
|
|
55
55
|
const visibleAggregatedFields = visibleColumns.slice(renderContext.firstColumnIndex, renderContext.lastColumnIndex + 1).filter(field => aggregatedFields.includes(field));
|
|
56
56
|
const visibleAggregatedFieldsWithSort = [...visibleAggregatedFields, ...sortedAggregatedFields.filter(field => !visibleAggregatedFields.includes(field))];
|
|
57
57
|
const hasAggregatedSortedField = gridRowMaximumTreeDepthSelector(apiRef) > 1 && sortedAggregatedFields.length > 0;
|
|
58
|
-
if (
|
|
58
|
+
if (visibleAggregatedFieldsWithSort.length > 0) {
|
|
59
59
|
chunks.push(visibleAggregatedFieldsWithSort);
|
|
60
60
|
}
|
|
61
61
|
const otherAggregatedFields = aggregatedFields.filter(field => !visibleAggregatedFieldsWithSort.includes(field));
|
package/esm/index.js
CHANGED
|
@@ -63,7 +63,7 @@ const useGridAggregation = (apiRef, props) => {
|
|
|
63
63
|
const visibleAggregatedFields = visibleColumns.slice(renderContext.firstColumnIndex, renderContext.lastColumnIndex + 1).filter(field => aggregatedFields.includes(field));
|
|
64
64
|
const visibleAggregatedFieldsWithSort = [...visibleAggregatedFields, ...sortedAggregatedFields.filter(field => !visibleAggregatedFields.includes(field))];
|
|
65
65
|
const hasAggregatedSortedField = (0, _xDataGridPro.gridRowMaximumTreeDepthSelector)(apiRef) > 1 && sortedAggregatedFields.length > 0;
|
|
66
|
-
if (
|
|
66
|
+
if (visibleAggregatedFieldsWithSort.length > 0) {
|
|
67
67
|
chunks.push(visibleAggregatedFieldsWithSort);
|
|
68
68
|
}
|
|
69
69
|
const otherAggregatedFields = aggregatedFields.filter(field => !visibleAggregatedFieldsWithSort.includes(field));
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.2",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Premium plan edition of the MUI X Data Grid Components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@mui/x-internal-exceljs-fork": "4.4.3",
|
|
39
39
|
"clsx": "^2.1.1",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
|
-
"@mui/x-data-grid": "8.27.
|
|
42
|
-
"@mui/x-data-grid-pro": "8.27.
|
|
43
|
-
"@mui/x-
|
|
44
|
-
"@mui/x-
|
|
41
|
+
"@mui/x-data-grid": "8.27.1",
|
|
42
|
+
"@mui/x-data-grid-pro": "8.27.2",
|
|
43
|
+
"@mui/x-license": "8.26.0",
|
|
44
|
+
"@mui/x-internals": "8.26.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@emotion/react": "^11.9.0",
|