@mui/x-data-grid-pro 8.26.0 → 8.27.1
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 +153 -0
- package/DataGridPro/DataGridPro.d.ts +2 -2
- package/DataGridPro/DataGridPro.js +1 -1
- package/DataGridPro/useDataGridProComponent.d.ts +4 -4
- package/DataGridPro/useDataGridProProps.d.ts +2 -2
- package/components/GridColumnHeaders.d.ts +1 -1
- package/components/GridColumnMenuPinningItem.d.ts +1 -1
- package/components/GridDataSourceTreeDataGroupingCell.d.ts +1 -1
- package/components/GridDetailPanel.d.ts +1 -1
- package/components/GridDetailPanelToggleCell.d.ts +1 -1
- package/components/GridDetailPanels.d.ts +1 -1
- package/components/GridPinnedRows.d.ts +1 -1
- package/components/GridProColumnMenu.d.ts +2 -2
- package/components/GridProColumnMenu.js +3 -1
- package/components/GridRowReorderCell.d.ts +1 -1
- package/components/GridRowReorderCell.js +2 -2
- package/components/GridTreeDataGroupingCell.d.ts +1 -1
- package/components/headerFiltering/GridHeaderFilterCell.d.ts +2 -2
- package/components/headerFiltering/GridHeaderFilterCell.js +2 -1
- package/components/headerFiltering/GridHeaderFilterClearButton.d.ts +1 -1
- package/components/headerFiltering/GridHeaderFilterMenu.d.ts +1 -1
- package/components/headerFiltering/GridHeaderFilterMenuContainer.d.ts +1 -1
- package/esm/DataGridPro/DataGridPro.d.ts +2 -2
- package/esm/DataGridPro/DataGridPro.js +1 -1
- package/esm/DataGridPro/useDataGridProComponent.d.ts +4 -4
- package/esm/DataGridPro/useDataGridProProps.d.ts +2 -2
- package/esm/components/GridColumnHeaders.d.ts +1 -1
- package/esm/components/GridColumnMenuPinningItem.d.ts +1 -1
- package/esm/components/GridDataSourceTreeDataGroupingCell.d.ts +1 -1
- package/esm/components/GridDetailPanel.d.ts +1 -1
- package/esm/components/GridDetailPanelToggleCell.d.ts +1 -1
- package/esm/components/GridDetailPanels.d.ts +1 -1
- package/esm/components/GridPinnedRows.d.ts +1 -1
- package/esm/components/GridProColumnMenu.d.ts +2 -2
- package/esm/components/GridProColumnMenu.js +3 -1
- package/esm/components/GridRowReorderCell.d.ts +1 -1
- package/esm/components/GridRowReorderCell.js +1 -1
- package/esm/components/GridTreeDataGroupingCell.d.ts +1 -1
- package/esm/components/headerFiltering/GridHeaderFilterCell.d.ts +2 -2
- package/esm/components/headerFiltering/GridHeaderFilterCell.js +2 -1
- package/esm/components/headerFiltering/GridHeaderFilterClearButton.d.ts +1 -1
- package/esm/components/headerFiltering/GridHeaderFilterMenu.d.ts +1 -1
- package/esm/components/headerFiltering/GridHeaderFilterMenuContainer.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/esm/hooks/features/columnPinning/gridColumnPinningInterface.d.ts +2 -2
- package/esm/hooks/features/columnPinning/useGridColumnPinning.d.ts +4 -4
- package/esm/hooks/features/columnPinning/useGridColumnPinning.js +4 -0
- package/esm/hooks/features/columnPinning/useGridColumnPinningPreProcessors.d.ts +3 -3
- package/esm/hooks/features/columnReorder/columnReorderSelector.d.ts +1 -1
- package/esm/hooks/features/columnReorder/useGridColumnReorder.d.ts +4 -4
- package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBasePro.d.ts +6 -6
- package/esm/hooks/features/dataSource/useGridDataSourcePro.d.ts +4 -4
- package/esm/hooks/features/dataSource/utils.d.ts +3 -3
- package/esm/hooks/features/detailPanel/gridDetailPanelInterface.d.ts +2 -2
- package/esm/hooks/features/detailPanel/gridDetailPanelSelector.d.ts +1 -1
- package/esm/hooks/features/detailPanel/gridDetailPanelToggleColDef.d.ts +1 -1
- package/esm/hooks/features/detailPanel/useGridDetailPanel.d.ts +4 -4
- package/esm/hooks/features/detailPanel/useGridDetailPanelPreProcessors.d.ts +3 -3
- package/esm/hooks/features/infiniteLoader/useGridInfiniteLoader.d.ts +3 -3
- package/esm/hooks/features/lazyLoader/useGridLazyLoader.d.ts +3 -3
- package/esm/hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.d.ts +3 -3
- package/esm/hooks/features/lazyLoader/utils.d.ts +23 -8
- package/esm/hooks/features/lazyLoader/utils.js +23 -0
- package/esm/hooks/features/rowPinning/gridRowPinningInterface.d.ts +1 -1
- package/esm/hooks/features/rowPinning/useGridRowPinning.d.ts +4 -4
- package/esm/hooks/features/rowPinning/useGridRowPinningPreProcessors.d.ts +4 -4
- package/esm/hooks/features/rowReorder/gridRowReorderColDef.d.ts +1 -1
- package/esm/hooks/features/rowReorder/models.d.ts +1 -1
- package/esm/hooks/features/rowReorder/reorderValidator.d.ts +1 -1
- package/esm/hooks/features/rowReorder/useGridRowReorder.d.ts +3 -3
- package/esm/hooks/features/rowReorder/useGridRowReorderPreProcessors.d.ts +3 -3
- package/esm/hooks/features/rowReorder/utils.d.ts +2 -2
- package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/esm/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.d.ts +3 -3
- package/esm/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.js +23 -28
- package/esm/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.d.ts +3 -3
- package/esm/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.js +1 -1
- package/esm/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.d.ts +3 -3
- package/esm/hooks/features/serverSideTreeData/utils.d.ts +5 -2
- package/esm/hooks/features/serverSideTreeData/utils.js +14 -2
- package/esm/hooks/features/treeData/gridTreeDataGroupColDef.d.ts +1 -1
- package/esm/hooks/features/treeData/gridTreeDataUtils.d.ts +3 -3
- package/esm/hooks/features/treeData/treeDataReorderExecutor.d.ts +1 -1
- package/esm/hooks/features/treeData/useGridTreeData.d.ts +1 -1
- package/esm/hooks/features/treeData/useGridTreeDataPreProcessors.d.ts +3 -3
- package/esm/hooks/utils/useGridApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridApiRef.d.ts +2 -2
- package/esm/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/propValidation.d.ts +2 -2
- package/esm/models/dataGridProProps.d.ts +4 -4
- package/esm/models/gridApiPro.d.ts +3 -3
- package/esm/models/gridFetchRowsParams.d.ts +1 -1
- package/esm/models/gridGroupingColDefOverride.d.ts +1 -1
- package/esm/models/gridProIconSlotsComponent.d.ts +2 -2
- package/esm/models/gridProSlotProps.d.ts +1 -1
- package/esm/models/gridProSlotsComponent.d.ts +2 -2
- package/esm/models/gridRowOrderChangeParams.d.ts +1 -1
- package/esm/models/gridRowScrollEndParams.d.ts +1 -1
- package/esm/models/gridStatePro.d.ts +1 -1
- package/esm/themeAugmentation/overrides.d.ts +1 -1
- package/esm/themeAugmentation/props.d.ts +2 -2
- package/esm/typeOverloads/modules.d.ts +2 -2
- package/esm/utils/tree/createRowTree.d.ts +4 -4
- package/esm/utils/tree/insertDataRowInTree.d.ts +4 -4
- package/esm/utils/tree/models.d.ts +1 -1
- package/esm/utils/tree/removeDataRowFromTree.d.ts +2 -2
- package/esm/utils/tree/sortRowTree.d.ts +2 -2
- package/esm/utils/tree/updateRowTree.d.ts +3 -3
- package/esm/utils/tree/utils.d.ts +4 -4
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/hooks/features/columnPinning/gridColumnPinningInterface.d.ts +2 -2
- package/hooks/features/columnPinning/useGridColumnPinning.d.ts +4 -4
- package/hooks/features/columnPinning/useGridColumnPinning.js +4 -0
- package/hooks/features/columnPinning/useGridColumnPinningPreProcessors.d.ts +3 -3
- package/hooks/features/columnReorder/columnReorderSelector.d.ts +1 -1
- package/hooks/features/columnReorder/useGridColumnReorder.d.ts +4 -4
- package/hooks/features/dataSource/gridDataSourceSelector.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBasePro.d.ts +6 -6
- package/hooks/features/dataSource/useGridDataSourcePro.d.ts +4 -4
- package/hooks/features/dataSource/utils.d.ts +3 -3
- package/hooks/features/detailPanel/gridDetailPanelInterface.d.ts +2 -2
- package/hooks/features/detailPanel/gridDetailPanelSelector.d.ts +1 -1
- package/hooks/features/detailPanel/gridDetailPanelToggleColDef.d.ts +1 -1
- package/hooks/features/detailPanel/useGridDetailPanel.d.ts +4 -4
- package/hooks/features/detailPanel/useGridDetailPanelPreProcessors.d.ts +3 -3
- package/hooks/features/infiniteLoader/useGridInfiniteLoader.d.ts +3 -3
- package/hooks/features/lazyLoader/useGridLazyLoader.d.ts +3 -3
- package/hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.d.ts +3 -3
- package/hooks/features/lazyLoader/utils.d.ts +23 -8
- package/hooks/features/lazyLoader/utils.js +26 -1
- package/hooks/features/rowPinning/gridRowPinningInterface.d.ts +1 -1
- package/hooks/features/rowPinning/useGridRowPinning.d.ts +4 -4
- package/hooks/features/rowPinning/useGridRowPinningPreProcessors.d.ts +4 -4
- package/hooks/features/rowReorder/gridRowReorderColDef.d.ts +1 -1
- package/hooks/features/rowReorder/models.d.ts +1 -1
- package/hooks/features/rowReorder/reorderValidator.d.ts +1 -1
- package/hooks/features/rowReorder/useGridRowReorder.d.ts +3 -3
- package/hooks/features/rowReorder/useGridRowReorderPreProcessors.d.ts +3 -3
- package/hooks/features/rowReorder/utils.d.ts +2 -2
- package/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
- package/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.d.ts +3 -3
- package/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.js +23 -28
- package/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.d.ts +3 -3
- package/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.js +2 -2
- package/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.d.ts +3 -3
- package/hooks/features/serverSideTreeData/utils.d.ts +5 -2
- package/hooks/features/serverSideTreeData/utils.js +14 -2
- package/hooks/features/treeData/gridTreeDataGroupColDef.d.ts +1 -1
- package/hooks/features/treeData/gridTreeDataUtils.d.ts +3 -3
- package/hooks/features/treeData/treeDataReorderExecutor.d.ts +1 -1
- package/hooks/features/treeData/useGridTreeData.d.ts +1 -1
- package/hooks/features/treeData/useGridTreeDataPreProcessors.d.ts +3 -3
- package/hooks/utils/useGridApiContext.d.ts +3 -3
- package/hooks/utils/useGridApiRef.d.ts +2 -2
- package/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
- package/index.js +1 -1
- package/internals/propValidation.d.ts +2 -2
- package/models/dataGridProProps.d.ts +4 -4
- package/models/gridApiPro.d.ts +3 -3
- package/models/gridFetchRowsParams.d.ts +1 -1
- package/models/gridGroupingColDefOverride.d.ts +1 -1
- package/models/gridProIconSlotsComponent.d.ts +2 -2
- package/models/gridProSlotProps.d.ts +1 -1
- package/models/gridProSlotsComponent.d.ts +2 -2
- package/models/gridRowOrderChangeParams.d.ts +1 -1
- package/models/gridRowScrollEndParams.d.ts +1 -1
- package/models/gridStatePro.d.ts +1 -1
- package/package.json +4 -4
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.ts +2 -2
- package/typeOverloads/modules.d.ts +2 -2
- package/utils/tree/createRowTree.d.ts +4 -4
- package/utils/tree/insertDataRowInTree.d.ts +4 -4
- package/utils/tree/models.d.ts +1 -1
- package/utils/tree/removeDataRowFromTree.d.ts +2 -2
- package/utils/tree/sortRowTree.d.ts +2 -2
- package/utils/tree/updateRowTree.d.ts +3 -3
- package/utils/tree/utils.d.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,159 @@
|
|
|
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
|
+
## v8.27.1
|
|
9
|
+
|
|
10
|
+
<!-- generated comparing v8.27.0..v8.x -->
|
|
11
|
+
|
|
12
|
+
_Feb 13, 2026_
|
|
13
|
+
|
|
14
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
15
|
+
|
|
16
|
+
- 📝 CSS bundler support is no longer needed for the Data Grid
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
20
|
+
@sai6855
|
|
21
|
+
|
|
22
|
+
The following team members contributed to this release:
|
|
23
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @mj12albert, @MBilalShafi
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@8.27.1`
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Hide column menu icon when there are no items (#21303) @MBilalShafi
|
|
30
|
+
- [DataGrid] Migrate styled imports and remove `index.css` (#21176) @MBilalShafi
|
|
31
|
+
- [DataGrid] Optimize `GridRootStyles` overrides resolver (#21251) @sai6855
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@8.27.1`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPro] Fix column pinning issue with `restoreState` (#21305) @MBilalShafi
|
|
38
|
+
- [DataGridPro] Fix lazy loading params for page with one row (#21238) @MBilalShafi
|
|
39
|
+
- [DataGridPro] Properly extract parent path (#21301) @arminmeh
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-data-grid-premium@8.27.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.1`, plus:
|
|
44
|
+
|
|
45
|
+
- [DataGridPremium] Fix aggregation display when `initialState` has both `sortModel` and `pinnedColumns` (#21152) @mj12albert
|
|
46
|
+
|
|
47
|
+
### Tree View
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-tree-view@8.27.1`
|
|
50
|
+
|
|
51
|
+
- [tree view] Fix `apiRef.current.setItemExpansion()` (#21095) @flaviendelangle
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-tree-view-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
54
|
+
|
|
55
|
+
Same changes as in `@mui/x-tree-view@8.27.1`.
|
|
56
|
+
|
|
57
|
+
### Core
|
|
58
|
+
|
|
59
|
+
- [internal] Add CLI for translation using LLM (#21299) @cherniavskii
|
|
60
|
+
|
|
61
|
+
## v8.27.0
|
|
62
|
+
|
|
63
|
+
_Feb 2, 2026_
|
|
64
|
+
|
|
65
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
66
|
+
|
|
67
|
+
- 📝 Data Grid supports new `longText` [column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
|
|
68
|
+
|
|
69
|
+
The following team members contributed to this release:
|
|
70
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @siriwatknp
|
|
71
|
+
|
|
72
|
+
### Data Grid
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-data-grid@8.27.0`
|
|
75
|
+
|
|
76
|
+
- [DataGrid] Fix virtualization crash by preventing out-of-bounds `focusedVirtualCell` indices (#21123) @cherniavskii
|
|
77
|
+
- [DataGrid] Fix focus steal issue with `<Dialog />` (#21106) @MBilalShafi
|
|
78
|
+
- [DataGrid] Add new `longText` column type (#21103) @siriwatknp
|
|
79
|
+
|
|
80
|
+
#### `@mui/x-data-grid-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
81
|
+
|
|
82
|
+
Same changes as in `@mui/x-data-grid@8.27.0`.
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-data-grid-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
85
|
+
|
|
86
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.0`, plus:
|
|
87
|
+
|
|
88
|
+
- [DataGridPremium] Fix focus retention when undo/redo operations are done on the same cell (#21110) @arminmeh
|
|
89
|
+
|
|
90
|
+
### Date and Time Pickers
|
|
91
|
+
|
|
92
|
+
#### `@mui/x-date-pickers@8.27.0`
|
|
93
|
+
|
|
94
|
+
Internal changes.
|
|
95
|
+
|
|
96
|
+
#### `@mui/x-date-pickers-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
97
|
+
|
|
98
|
+
Same changes as in `@mui/x-date-pickers@8.27.0`.
|
|
99
|
+
|
|
100
|
+
### Charts
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-charts@8.27.0`
|
|
103
|
+
|
|
104
|
+
- [charts] Deprecate `AxisId` class in favour of to `data-axis-id` attribute (#21048) @JCQuintas
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-charts-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
107
|
+
|
|
108
|
+
Same changes as in `@mui/x-charts@8.27.0`, plus:
|
|
109
|
+
|
|
110
|
+
- [charts-pro] Add `onItemClick` to the heatmap (#20817) (#21030) @alexfauquette
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-charts-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
113
|
+
|
|
114
|
+
Same changes as in `@mui/x-charts-pro@8.27.0`, plus:
|
|
115
|
+
|
|
116
|
+
- [charts-premium] Fix wrong `defaultSlots` in premium charts (#21052) @bernardobelchior
|
|
117
|
+
|
|
118
|
+
### Tree View
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-tree-view@8.27.0`
|
|
121
|
+
|
|
122
|
+
Internal changes.
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-tree-view-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
125
|
+
|
|
126
|
+
Same changes as in `@mui/x-tree-view@8.27.0`, plus:
|
|
127
|
+
|
|
128
|
+
- [RichTreeViewPro] Do not export `useSimpleTreeViewApiRef()` and `useRichTreeViewApiRef()` from pro package (#21145) @flaviendelangle
|
|
129
|
+
|
|
130
|
+
### Codemod
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-codemod@8.27.0`
|
|
133
|
+
|
|
134
|
+
Internal changes.
|
|
135
|
+
|
|
136
|
+
### Docs
|
|
137
|
+
|
|
138
|
+
- [docs] Fix DataGrid's cell edit renderers (@arminmeh) (#21041) @github-actions[bot]
|
|
139
|
+
|
|
140
|
+
### Core
|
|
141
|
+
|
|
142
|
+
- [code-infra] Add `consistent-type-imports` rule to the grid packages (#21119) @arminmeh
|
|
143
|
+
- [code-infra] Allow user to select target branch if it exists for current major (#21005) @JCQuintas
|
|
144
|
+
- [code-infra] Fix the target branch condition in the release script (#21051) @arminmeh
|
|
145
|
+
- [code-infra] Update docs deploy script to fetch from `v8.x` (#21013) @arminmeh
|
|
146
|
+
|
|
147
|
+
## 8.26.1
|
|
148
|
+
|
|
149
|
+
_Jan 23, 2026_
|
|
150
|
+
|
|
151
|
+
Release highlight ✨:
|
|
152
|
+
|
|
153
|
+
- 🐞 Hotfix for Data Grid Premium type imports
|
|
154
|
+
|
|
155
|
+
### Data Grid
|
|
156
|
+
|
|
157
|
+
#### `@mui/x-data-grid-premium@8.26.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
158
|
+
|
|
159
|
+
- [DataGridPremium] Fix type import (#21033) @arminmeh
|
|
160
|
+
|
|
8
161
|
## 8.26.0
|
|
9
162
|
|
|
10
163
|
_Jan 22, 2026_
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridValidRowModel } from '@mui/x-data-grid';
|
|
3
|
-
import { DataGridProProps } from "../models/dataGridProProps.js";
|
|
2
|
+
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
3
|
+
import type { DataGridProProps } from "../models/dataGridProProps.js";
|
|
4
4
|
export type { GridProSlotsComponent as GridSlots } from "../models/index.js";
|
|
5
5
|
interface DataGridProComponent {
|
|
6
6
|
<R extends GridValidRowModel = any>(props: DataGridProProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
|
|
@@ -34,7 +34,7 @@ const configuration = {
|
|
|
34
34
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
const releaseInfo = "
|
|
37
|
+
const releaseInfo = "MTc3MDk0MDgwMDAwMA==";
|
|
38
38
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
39
39
|
packageName: "x-data-grid-pro",
|
|
40
40
|
releaseInfo: releaseInfo
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridConfiguration } from '@mui/x-data-grid/internals';
|
|
3
|
-
import { GridPrivateApiPro } from "../models/gridApiPro.js";
|
|
4
|
-
import { DataGridProProcessedProps } from "../models/dataGridProProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import { type GridConfiguration } from '@mui/x-data-grid/internals';
|
|
3
|
+
import type { GridPrivateApiPro } from "../models/gridApiPro.js";
|
|
4
|
+
import type { DataGridProProcessedProps } from "../models/dataGridProProps.js";
|
|
5
5
|
export declare const useDataGridProComponent: (apiRef: RefObject<GridPrivateApiPro>, props: DataGridProProcessedProps, configuration: GridConfiguration) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridValidRowModel } from '@mui/x-data-grid';
|
|
2
|
-
import { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.js";
|
|
1
|
+
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
2
|
+
import type { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { UseGridColumnHeadersProps } from '@mui/x-data-grid/internals';
|
|
2
|
+
import { type UseGridColumnHeadersProps } from '@mui/x-data-grid/internals';
|
|
3
3
|
export interface GridColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement>, UseGridColumnHeadersProps {}
|
|
4
4
|
declare const GridColumnHeaders: React.ForwardRefExoticComponent<GridColumnHeadersProps> | React.ForwardRefExoticComponent<GridColumnHeadersProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { GridColumnHeaders };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridColumnMenuItemProps } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridColumnMenuPinningItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuPinningItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridDataSourceGroupNode } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams, type GridDataSourceGroupNode } from '@mui/x-data-grid';
|
|
2
2
|
interface GridTreeDataGroupingCellProps extends GridRenderCellParams<any, any, any, GridDataSourceGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridRowId } from '@mui/x-data-grid';
|
|
2
|
+
import { type GridRowId } from '@mui/x-data-grid';
|
|
3
3
|
interface GridDetailPanelProps extends Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> {
|
|
4
4
|
/**
|
|
5
5
|
* The row ID that this panel belongs to.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridDetailPanelToggleCell(props: GridRenderCellParams): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace GridDetailPanelToggleCell {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridDetailPanelsProps } from '@mui/x-data-grid/internals';
|
|
2
|
+
import type { GridDetailPanelsProps } from '@mui/x-data-grid/internals';
|
|
3
3
|
export declare function GridDetailPanels(props: GridDetailPanelsProps): React.FunctionComponentElement<GridDetailPanelsProps> | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuComponent } from '@mui/x-data-grid/internals';
|
|
2
2
|
import { GridColumnMenuPinningItem } from "./GridColumnMenuPinningItem.js";
|
|
3
3
|
export declare const GRID_COLUMN_MENU_SLOTS_PRO: {
|
|
4
4
|
columnMenuPinningItem: typeof GridColumnMenuPinningItem;
|
|
@@ -20,4 +20,4 @@ export declare const GRID_COLUMN_MENU_SLOT_PROPS_PRO: {
|
|
|
20
20
|
displayOrder: number;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export declare const GridProColumnMenu:
|
|
23
|
+
export declare const GridProColumnMenu: GridColumnMenuComponent;
|
|
@@ -26,4 +26,6 @@ const GridProColumnMenu = exports.GridProColumnMenu = (0, _forwardRef.forwardRef
|
|
|
26
26
|
ref: ref
|
|
27
27
|
}));
|
|
28
28
|
});
|
|
29
|
-
if (process.env.NODE_ENV !== "production") GridProColumnMenu.displayName = "GridProColumnMenu";
|
|
29
|
+
if (process.env.NODE_ENV !== "production") GridProColumnMenu.displayName = "GridProColumnMenu";
|
|
30
|
+
GridProColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS_PRO;
|
|
31
|
+
GridProColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS_PRO;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridRowReorderCell(params: GridRenderCellParams): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridRowReorderCell {
|
|
4
4
|
var propTypes: any;
|
|
@@ -11,7 +11,7 @@ exports.renderRowReorderCell = void 0;
|
|
|
11
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
|
-
var
|
|
14
|
+
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
17
17
|
var _internals = require("@mui/x-data-grid/internals");
|
|
@@ -29,7 +29,7 @@ const useUtilityClasses = ownerState => {
|
|
|
29
29
|
};
|
|
30
30
|
return (0, _composeClasses.default)(slots, _xDataGrid.getDataGridUtilityClass, classes);
|
|
31
31
|
};
|
|
32
|
-
const RowReorderIcon = (0,
|
|
32
|
+
const RowReorderIcon = (0, _styles.styled)('svg', {
|
|
33
33
|
name: 'MuiDataGrid',
|
|
34
34
|
slot: 'RowReorderIcon'
|
|
35
35
|
})({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams, type GridGroupNode } from '@mui/x-data-grid';
|
|
2
2
|
interface GridTreeDataGroupingCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridFilterItem, GridFilterOperator, GridColDef } from '@mui/x-data-grid';
|
|
3
|
-
import { PinnedColumnPosition, GridStateColDef } from '@mui/x-data-grid/internals';
|
|
2
|
+
import { type GridFilterItem, type GridFilterOperator, type GridColDef } from '@mui/x-data-grid';
|
|
3
|
+
import { PinnedColumnPosition, type GridStateColDef } from '@mui/x-data-grid/internals';
|
|
4
4
|
export interface GridRenderHeaderFilterProps extends GridHeaderFilterCellProps {
|
|
5
5
|
inputRef: React.RefObject<unknown>;
|
|
6
6
|
}
|
|
@@ -82,7 +82,8 @@ const DEFAULT_INPUT_COMPONENTS = {
|
|
|
82
82
|
boolean: _xDataGrid.GridFilterInputBoolean,
|
|
83
83
|
singleSelect: _xDataGrid.GridFilterInputSingleSelect,
|
|
84
84
|
actions: null,
|
|
85
|
-
custom: null
|
|
85
|
+
custom: null,
|
|
86
|
+
longText: _xDataGrid.GridFilterInputValue
|
|
86
87
|
};
|
|
87
88
|
const GridHeaderFilterCell = (0, _forwardRef.forwardRef)((props, ref) => {
|
|
88
89
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridSlotProps } from '@mui/x-data-grid';
|
|
1
|
+
import type { GridSlotProps } from '@mui/x-data-grid';
|
|
2
2
|
type BaseIconButtonProps = GridSlotProps['baseIconButton'];
|
|
3
3
|
interface GridHeaderFilterClearIconProps extends BaseIconButtonProps {}
|
|
4
4
|
declare function GridHeaderFilterClearButton(props: GridHeaderFilterClearIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridFilterOperator, GridFilterItem, GridColDef } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridFilterOperator, type GridFilterItem, type GridColDef } from '@mui/x-data-grid';
|
|
2
2
|
interface GridHeaderFilterMenuProps {
|
|
3
3
|
field: GridColDef['field'];
|
|
4
4
|
applyFilterChanges: (item: GridFilterItem) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridFilterItem, GridFilterOperator, GridColDef } from '@mui/x-data-grid';
|
|
2
|
+
import { type GridFilterItem, type GridFilterOperator, type GridColDef } from '@mui/x-data-grid';
|
|
3
3
|
declare function GridHeaderFilterMenuContainer(props: {
|
|
4
4
|
operators: GridFilterOperator<any, any, any>[];
|
|
5
5
|
field: GridColDef['field'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridValidRowModel } from '@mui/x-data-grid';
|
|
3
|
-
import { DataGridProProps } from "../models/dataGridProProps.js";
|
|
2
|
+
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
3
|
+
import type { DataGridProProps } from "../models/dataGridProProps.js";
|
|
4
4
|
export type { GridProSlotsComponent as GridSlots } from "../models/index.js";
|
|
5
5
|
interface DataGridProComponent {
|
|
6
6
|
<R extends GridValidRowModel = any>(props: DataGridProProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
|
|
@@ -27,7 +27,7 @@ const configuration = {
|
|
|
27
27
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
const releaseInfo = "
|
|
30
|
+
const releaseInfo = "MTc3MDk0MDgwMDAwMA==";
|
|
31
31
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
32
32
|
packageName: "x-data-grid-pro",
|
|
33
33
|
releaseInfo: releaseInfo
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridConfiguration } from '@mui/x-data-grid/internals';
|
|
3
|
-
import { GridPrivateApiPro } from "../models/gridApiPro.js";
|
|
4
|
-
import { DataGridProProcessedProps } from "../models/dataGridProProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import { type GridConfiguration } from '@mui/x-data-grid/internals';
|
|
3
|
+
import type { GridPrivateApiPro } from "../models/gridApiPro.js";
|
|
4
|
+
import type { DataGridProProcessedProps } from "../models/dataGridProProps.js";
|
|
5
5
|
export declare const useDataGridProComponent: (apiRef: RefObject<GridPrivateApiPro>, props: DataGridProProcessedProps, configuration: GridConfiguration) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridValidRowModel } from '@mui/x-data-grid';
|
|
2
|
-
import { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.js";
|
|
1
|
+
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
2
|
+
import type { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.js";
|
|
3
3
|
/**
|
|
4
4
|
* The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { UseGridColumnHeadersProps } from '@mui/x-data-grid/internals';
|
|
2
|
+
import { type UseGridColumnHeadersProps } from '@mui/x-data-grid/internals';
|
|
3
3
|
export interface GridColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement>, UseGridColumnHeadersProps {}
|
|
4
4
|
declare const GridColumnHeaders: React.ForwardRefExoticComponent<GridColumnHeadersProps> | React.ForwardRefExoticComponent<GridColumnHeadersProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { GridColumnHeaders };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnMenuItemProps } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridColumnMenuItemProps } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridColumnMenuPinningItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridColumnMenuPinningItem {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridDataSourceGroupNode } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams, type GridDataSourceGroupNode } from '@mui/x-data-grid';
|
|
2
2
|
interface GridTreeDataGroupingCellProps extends GridRenderCellParams<any, any, any, GridDataSourceGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridRowId } from '@mui/x-data-grid';
|
|
2
|
+
import { type GridRowId } from '@mui/x-data-grid';
|
|
3
3
|
interface GridDetailPanelProps extends Pick<React.HTMLAttributes<HTMLDivElement>, 'className' | 'children'> {
|
|
4
4
|
/**
|
|
5
5
|
* The row ID that this panel belongs to.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridDetailPanelToggleCell(props: GridRenderCellParams): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace GridDetailPanelToggleCell {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridDetailPanelsProps } from '@mui/x-data-grid/internals';
|
|
2
|
+
import type { GridDetailPanelsProps } from '@mui/x-data-grid/internals';
|
|
3
3
|
export declare function GridDetailPanels(props: GridDetailPanelsProps): React.FunctionComponentElement<GridDetailPanelsProps> | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridColumnMenuComponent } from '@mui/x-data-grid/internals';
|
|
2
2
|
import { GridColumnMenuPinningItem } from "./GridColumnMenuPinningItem.js";
|
|
3
3
|
export declare const GRID_COLUMN_MENU_SLOTS_PRO: {
|
|
4
4
|
columnMenuPinningItem: typeof GridColumnMenuPinningItem;
|
|
@@ -20,4 +20,4 @@ export declare const GRID_COLUMN_MENU_SLOT_PROPS_PRO: {
|
|
|
20
20
|
displayOrder: number;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export declare const GridProColumnMenu:
|
|
23
|
+
export declare const GridProColumnMenu: GridColumnMenuComponent;
|
|
@@ -20,4 +20,6 @@ export const GridProColumnMenu = forwardRef(function GridProColumnMenu(props, re
|
|
|
20
20
|
ref: ref
|
|
21
21
|
}));
|
|
22
22
|
});
|
|
23
|
-
if (process.env.NODE_ENV !== "production") GridProColumnMenu.displayName = "GridProColumnMenu";
|
|
23
|
+
if (process.env.NODE_ENV !== "production") GridProColumnMenu.displayName = "GridProColumnMenu";
|
|
24
|
+
GridProColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS_PRO;
|
|
25
|
+
GridProColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS_PRO;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams } from '@mui/x-data-grid';
|
|
2
2
|
declare function GridRowReorderCell(params: GridRenderCellParams): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
declare namespace GridRowReorderCell {
|
|
4
4
|
var propTypes: any;
|
|
@@ -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 composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { gridSortModelSelector, useGridApiContext, useGridSelector, getDataGridUtilityClass, gridClasses } from '@mui/x-data-grid';
|
|
9
9
|
import { gridEditRowsStateSelector, isEventTargetInPortal, vars } from '@mui/x-data-grid/internals';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridRenderCellParams, type GridGroupNode } from '@mui/x-data-grid';
|
|
2
2
|
interface GridTreeDataGroupingCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridFilterItem, GridFilterOperator, GridColDef } from '@mui/x-data-grid';
|
|
3
|
-
import { PinnedColumnPosition, GridStateColDef } from '@mui/x-data-grid/internals';
|
|
2
|
+
import { type GridFilterItem, type GridFilterOperator, type GridColDef } from '@mui/x-data-grid';
|
|
3
|
+
import { PinnedColumnPosition, type GridStateColDef } from '@mui/x-data-grid/internals';
|
|
4
4
|
export interface GridRenderHeaderFilterProps extends GridHeaderFilterCellProps {
|
|
5
5
|
inputRef: React.RefObject<unknown>;
|
|
6
6
|
}
|
|
@@ -75,7 +75,8 @@ const DEFAULT_INPUT_COMPONENTS = {
|
|
|
75
75
|
boolean: GridFilterInputBoolean,
|
|
76
76
|
singleSelect: GridFilterInputSingleSelect,
|
|
77
77
|
actions: null,
|
|
78
|
-
custom: null
|
|
78
|
+
custom: null,
|
|
79
|
+
longText: GridFilterInputValue
|
|
79
80
|
};
|
|
80
81
|
const GridHeaderFilterCell = forwardRef((props, ref) => {
|
|
81
82
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridSlotProps } from '@mui/x-data-grid';
|
|
1
|
+
import type { GridSlotProps } from '@mui/x-data-grid';
|
|
2
2
|
type BaseIconButtonProps = GridSlotProps['baseIconButton'];
|
|
3
3
|
interface GridHeaderFilterClearIconProps extends BaseIconButtonProps {}
|
|
4
4
|
declare function GridHeaderFilterClearButton(props: GridHeaderFilterClearIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridFilterOperator, GridFilterItem, GridColDef } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridFilterOperator, type GridFilterItem, type GridColDef } from '@mui/x-data-grid';
|
|
2
2
|
interface GridHeaderFilterMenuProps {
|
|
3
3
|
field: GridColDef['field'];
|
|
4
4
|
applyFilterChanges: (item: GridFilterItem) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GridFilterItem, GridFilterOperator, GridColDef } from '@mui/x-data-grid';
|
|
2
|
+
import { type GridFilterItem, type GridFilterOperator, type GridColDef } from '@mui/x-data-grid';
|
|
3
3
|
declare function GridHeaderFilterMenuContainer(props: {
|
|
4
4
|
operators: GridFilterOperator<any, any, any>[];
|
|
5
5
|
field: GridColDef['field'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { UseGridColumnHeadersProps, GetHeadersParams } from '@mui/x-data-grid/internals';
|
|
2
|
+
import { type UseGridColumnHeadersProps, type GetHeadersParams } from '@mui/x-data-grid/internals';
|
|
3
3
|
export declare const useGridColumnHeadersPro: (props: UseGridColumnHeadersProps) => {
|
|
4
4
|
getColumnFiltersRow: () => import("react/jsx-runtime").JSX.Element | null;
|
|
5
5
|
getFillers: (params: GetHeadersParams | undefined, children: React.ReactNode, leftOverflow: number, borderBottom?: boolean) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridPinnedColumnPosition } from '@mui/x-data-grid';
|
|
2
|
-
import { GridPinnedColumnFields } from '@mui/x-data-grid/internals';
|
|
1
|
+
import type { GridPinnedColumnPosition } from '@mui/x-data-grid';
|
|
2
|
+
import type { GridPinnedColumnFields } from '@mui/x-data-grid/internals';
|
|
3
3
|
/**
|
|
4
4
|
* The column pinning API interface that is available in the grid [[apiRef]].
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridStateInitializer } from '@mui/x-data-grid/internals';
|
|
3
|
-
import { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
4
|
-
import { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import { type GridStateInitializer } from '@mui/x-data-grid/internals';
|
|
3
|
+
import type { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
4
|
+
import type { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
5
5
|
export declare const columnPinningStateInitializer: GridStateInitializer<Pick<DataGridProProcessedProps, 'pinnedColumns' | 'initialState'>>;
|
|
6
6
|
export declare const useGridColumnPinning: (apiRef: RefObject<GridPrivateApiPro>, props: Pick<DataGridProProcessedProps, "disableColumnPinning" | "initialState" | "pinnedColumns" | "onPinnedColumnsChange" | "slotProps" | "slots">) => void;
|
|
@@ -104,7 +104,11 @@ export const useGridColumnPinning = (apiRef, props) => {
|
|
|
104
104
|
const stateRestorePreProcessing = React.useCallback((params, context) => {
|
|
105
105
|
const newPinnedColumns = context.stateToRestore.pinnedColumns;
|
|
106
106
|
if (newPinnedColumns != null) {
|
|
107
|
+
apiRef.current.caches.columnPinning.orderedFieldsBeforePinningColumns = null;
|
|
107
108
|
setState(apiRef, newPinnedColumns);
|
|
109
|
+
return _extends({}, params, {
|
|
110
|
+
callbacks: [...params.callbacks, () => apiRef.current.requestPipeProcessorsApplication('hydrateColumns')]
|
|
111
|
+
});
|
|
108
112
|
}
|
|
109
113
|
return params;
|
|
110
114
|
}, [apiRef]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
3
|
-
import { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
3
|
+
import type { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
4
4
|
export declare const useGridColumnPinningPreProcessors: (apiRef: RefObject<GridPrivateApiPro>, props: DataGridProProcessedProps) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridStatePro } from "../../../models/gridStatePro.js";
|
|
1
|
+
import type { GridStatePro } from "../../../models/gridStatePro.js";
|
|
2
2
|
export declare const gridColumnReorderSelector: import("@mui/x-data-grid").OutputSelector<GridStatePro, unknown, import("./columnReorderInterfaces.js").GridColumnReorderState>;
|
|
3
3
|
export declare const gridColumnReorderDragColSelector: (args_0: import("react").RefObject<{
|
|
4
4
|
state: GridStatePro;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
2
|
-
import { GridStateInitializer } from '@mui/x-data-grid/internals';
|
|
3
|
-
import { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
4
|
-
import { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
|
+
import type { GridStateInitializer } from '@mui/x-data-grid/internals';
|
|
3
|
+
import type { GridPrivateApiPro } from "../../../models/gridApiPro.js";
|
|
4
|
+
import type { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
|
|
5
5
|
export declare const columnReorderStateInitializer: GridStateInitializer;
|
|
6
6
|
/**
|
|
7
7
|
* @requires useGridColumns (method)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GridRowId } from '@mui/x-data-grid';
|
|
2
|
-
import { GridStatePro } from "../../../models/gridStatePro.js";
|
|
2
|
+
import type { GridStatePro } from "../../../models/gridStatePro.js";
|
|
3
3
|
export declare const gridDataSourceStateSelector: import("@mui/x-data-grid").OutputSelector<GridStatePro, unknown, import("./models.js").GridDataSourceState>;
|
|
4
4
|
export declare const gridDataSourceLoadingSelector: (args_0: import("react").RefObject<{
|
|
5
5
|
state: GridStatePro;
|