@mui/x-data-grid 8.5.1 → 8.5.3
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 +187 -10
- package/components/containers/GridRootStyles.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.js +8 -0
- package/components/toolbarV8/GridToolbar.js +1 -0
- package/components/toolbarV8/Toolbar.d.ts +1 -1
- package/esm/components/containers/GridRootStyles.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenuContainer.js +8 -0
- package/esm/components/toolbarV8/GridToolbar.js +1 -0
- package/esm/components/toolbarV8/Toolbar.d.ts +1 -1
- package/esm/hooks/core/useGridApiInitialization.js +1 -1
- package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +13 -5
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +3 -1
- package/esm/hooks/features/columns/gridColumnsSelector.d.ts +41 -15
- package/esm/hooks/features/columns/gridColumnsUtils.js +3 -1
- package/esm/hooks/features/dataSource/gridDataSourceSelector.d.ts +4 -2
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +4 -0
- package/esm/hooks/features/dataSource/utils.js +1 -1
- package/esm/hooks/features/density/densitySelector.d.ts +3 -1
- package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +36 -12
- package/esm/hooks/features/editing/gridEditingSelectors.d.ts +8 -4
- package/esm/hooks/features/filter/gridFilterSelector.d.ts +51 -17
- package/esm/hooks/features/filter/gridFilterState.d.ts +2 -1
- package/esm/hooks/features/filter/gridFilterState.js +2 -1
- package/esm/hooks/features/filter/useGridFilter.js +1 -1
- package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +24 -8
- package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +9 -3
- package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +35 -19
- package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +9 -4
- package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +3 -1
- package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +9 -3
- package/esm/hooks/features/rowSelection/utils.d.ts +5 -3
- package/esm/hooks/features/rows/gridRowSpanningSelectors.d.ts +9 -3
- package/esm/hooks/features/rows/gridRowsSelector.d.ts +50 -29
- package/esm/hooks/features/sorting/gridSortingSelector.d.ts +15 -5
- package/esm/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +4 -2
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +15 -5
- package/esm/hooks/features/virtualization/gridVirtualizationSelectors.js +3 -1
- package/esm/hooks/utils/useGridSelector.d.ts +2 -4
- package/esm/hooks/utils/useGridSelector.js +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/esm/material/variables.js +1 -2
- package/esm/models/api/gridCoreApi.d.ts +1 -1
- package/esm/models/gridBaseSlots.d.ts +1 -0
- package/esm/models/gridCellClass.d.ts +2 -0
- package/esm/models/gridColumnGrouping.d.ts +2 -0
- package/esm/models/gridColumnGrouping.js +2 -0
- package/esm/models/gridColumnHeaderClass.d.ts +2 -0
- package/esm/models/gridRows.d.ts +2 -0
- package/esm/models/gridSortModel.d.ts +5 -0
- package/esm/models/params/gridRowParams.d.ts +1 -1
- package/esm/models/params/gridRowParams.js +1 -1
- package/esm/utils/createSelector.d.ts +3 -11
- package/esm/utils/createSelector.js +16 -86
- package/hooks/core/useGridApiInitialization.js +2 -2
- package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +13 -5
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/hooks/features/columnResize/columnResizeSelector.d.ts +3 -1
- package/hooks/features/columns/gridColumnsSelector.d.ts +41 -15
- package/hooks/features/columns/gridColumnsUtils.js +3 -1
- package/hooks/features/dataSource/gridDataSourceSelector.d.ts +4 -2
- package/hooks/features/dataSource/useGridDataSourceBase.js +4 -0
- package/hooks/features/dataSource/utils.js +1 -1
- package/hooks/features/density/densitySelector.d.ts +3 -1
- package/hooks/features/dimensions/gridDimensionsSelectors.d.ts +36 -12
- package/hooks/features/editing/gridEditingSelectors.d.ts +8 -4
- package/hooks/features/filter/gridFilterSelector.d.ts +51 -17
- package/hooks/features/filter/gridFilterState.d.ts +2 -1
- package/hooks/features/filter/gridFilterState.js +2 -1
- package/hooks/features/filter/useGridFilter.js +2 -2
- package/hooks/features/focus/gridFocusStateSelector.d.ts +24 -8
- package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +9 -3
- package/hooks/features/pagination/gridPaginationSelector.d.ts +35 -19
- package/hooks/features/pivoting/gridPivotingSelectors.d.ts +9 -4
- package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +3 -1
- package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +9 -3
- package/hooks/features/rowSelection/utils.d.ts +5 -3
- package/hooks/features/rows/gridRowSpanningSelectors.d.ts +9 -3
- package/hooks/features/rows/gridRowsSelector.d.ts +50 -29
- package/hooks/features/sorting/gridSortingSelector.d.ts +15 -5
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.d.ts +4 -2
- package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +15 -5
- package/hooks/features/virtualization/gridVirtualizationSelectors.js +3 -1
- package/hooks/utils/useGridSelector.d.ts +2 -4
- package/hooks/utils/useGridSelector.js +4 -4
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/material/variables.js +1 -2
- package/models/api/gridCoreApi.d.ts +1 -1
- package/models/gridBaseSlots.d.ts +1 -0
- package/models/gridCellClass.d.ts +2 -0
- package/models/gridColumnGrouping.d.ts +2 -0
- package/models/gridColumnGrouping.js +2 -0
- package/models/gridColumnHeaderClass.d.ts +2 -0
- package/models/gridRows.d.ts +2 -0
- package/models/gridSortModel.d.ts +5 -0
- package/models/params/gridRowParams.d.ts +1 -1
- package/models/params/gridRowParams.js +1 -1
- package/package.json +3 -4
- package/utils/createSelector.d.ts +3 -11
- package/utils/createSelector.js +18 -88
- package/esm/utils/Store.d.ts +0 -11
- package/esm/utils/Store.js +0 -24
- package/esm/utils/weakMapMemoize.d.ts +0 -20
- package/esm/utils/weakMapMemoize.js +0 -128
- package/utils/Store.d.ts +0 -11
- package/utils/Store.js +0 -31
- package/utils/weakMapMemoize.d.ts +0 -20
- package/utils/weakMapMemoize.js +0 -134
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,193 @@
|
|
|
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.3
|
|
9
|
+
|
|
10
|
+
_Jun 19, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
18
|
+
@alisasanib, @arminmeh, @sai6855
|
|
19
|
+
|
|
20
|
+
The following are all team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @JCQuintas, @LukasTy, @MBilalShafi, @oliviertassinari
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@8.5.3`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Fix export menu button tooltip being interactive when menu is open (#18327) @bernardobelchior
|
|
28
|
+
- [DataGrid] Fix column menu scroll close (#18065) @alisasanib
|
|
29
|
+
- [DataGrid] Fix page size issue with data source (#18419) @MBilalShafi
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid@8.5.3`, plus:
|
|
34
|
+
|
|
35
|
+
- [DataGridPro] Ignore missing `rowCount` response when new children are fetched with the data source (#17711) @arminmeh
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.5.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.3`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@8.5.3`
|
|
44
|
+
|
|
45
|
+
- [pickers] Add `inputSizeSmall` to classes interface (#18242) @sai6855
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@8.5.3`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@8.5.3`
|
|
54
|
+
|
|
55
|
+
- [charts] Add item class to list item around each series in legend (#18411) @bernardobelchior
|
|
56
|
+
- [charts] Allow `tabIndex` in surface and legend (#18344) @JCQuintas
|
|
57
|
+
- [charts] Explore selector typing (#18362) @alexfauquette
|
|
58
|
+
- [charts] Fix highlight with number ids (#18423) @alexfauquette
|
|
59
|
+
- [charts] Make scatter chart use data attributes (#18048) @alexfauquette
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts@8.5.3`, plus:
|
|
64
|
+
|
|
65
|
+
- [charts-pro] Add data-series to elements of funnel chart (#18067) @JCQuintas
|
|
66
|
+
- [charts-pro] Hide values outside minStart and maxEnd in zoom slider (#18336) @bernardobelchior
|
|
67
|
+
- [charts-pro] Fix `FunnelChart` label positioning with different curves (#18354) @JCQuintas
|
|
68
|
+
|
|
69
|
+
### Tree View
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view@8.5.3`
|
|
72
|
+
|
|
73
|
+
Internal changes.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-tree-view-pro@8.5.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-tree-view@8.5.3`.
|
|
78
|
+
|
|
79
|
+
### Codemod
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-codemod@8.5.3`
|
|
82
|
+
|
|
83
|
+
Internal changes.
|
|
84
|
+
|
|
85
|
+
### Docs
|
|
86
|
+
|
|
87
|
+
- [docs] Fix 404 in charts docs (#18440) @alexfauquette
|
|
88
|
+
- [docs][pickers] Fix adapter version resolving when opening demo to edit (#18363) @LukasTy
|
|
89
|
+
|
|
90
|
+
### Core
|
|
91
|
+
|
|
92
|
+
- [core] Fix pnpm valelint error (#18420) @oliviertassinari
|
|
93
|
+
|
|
94
|
+
### Miscellaneous
|
|
95
|
+
|
|
96
|
+
- [code-infra] Add back a `Playwright` renovate group (#18397) @LukasTy
|
|
97
|
+
- [code-infra] Setup `CODEOWNERS` for charts repositories (#18418) @JCQuintas
|
|
98
|
+
- [code-infra] Strengthen `URL` usage for test config (#18444) @LukasTy
|
|
99
|
+
- [code-infra] Use `vitest` bundled types (#17758) @JCQuintas
|
|
100
|
+
- [infra] Stabilise tests by removing babel and plugins from vitest (#18341) @JCQuintas
|
|
101
|
+
- [infra] Add automated release PR creation script (#18345) @michelengelen
|
|
102
|
+
|
|
103
|
+
## 8.5.2
|
|
104
|
+
|
|
105
|
+
_Jun 12, 2025_
|
|
106
|
+
|
|
107
|
+
We'd like to extend a big thank you to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
108
|
+
|
|
109
|
+
- 📊 Improve Data Grid selectors performance
|
|
110
|
+
- 🐞 Fix `useSyncExternalStore` import error in React 17
|
|
111
|
+
|
|
112
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
113
|
+
@alisasanib, @noobyogi0010.
|
|
114
|
+
|
|
115
|
+
The following are all team members who have contributed to this release:
|
|
116
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @JCQuintas, @KenanYusuf, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @oliviertassinari, @prakhargupta1, @romgrk.
|
|
117
|
+
|
|
118
|
+
### Data Grid
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-data-grid@8.5.2`
|
|
121
|
+
|
|
122
|
+
- [DataGrid] Improve selectors performance (#18234) @romgrk
|
|
123
|
+
- [DataGrid] Fix data grid palette when using CSS vars (#18310) @KenanYusuf
|
|
124
|
+
- [DataGrid] Ignore data source request if the grid got unmounted (#18268) @arminmeh
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-data-grid-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
127
|
+
|
|
128
|
+
Same changes as in `@mui/x-data-grid@8.5.2`, plus:
|
|
129
|
+
|
|
130
|
+
- [DataGridPro] Fix flex column width if it is a pinned column (#18293) @alisasanib
|
|
131
|
+
- [DataGridPro] Fix inconsistent filtering results with aggregation (#17954) @cherniavskii
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-data-grid-premium@8.5.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
134
|
+
|
|
135
|
+
Same changes as in `@mui/x-data-grid-pro@8.5.2`.
|
|
136
|
+
|
|
137
|
+
### Date and Time Pickers
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-date-pickers@8.5.2`
|
|
140
|
+
|
|
141
|
+
- [pickers] Add `PickerDay2` and `DateRangePickerDay2` components (#15921) @noraleonte
|
|
142
|
+
- [pickers] Fix `hiddenLabel` prop propagation (#18195) @noobyogi0010
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-date-pickers-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
145
|
+
|
|
146
|
+
Same changes as in `@mui/x-date-pickers@8.5.2`.
|
|
147
|
+
|
|
148
|
+
### Charts
|
|
149
|
+
|
|
150
|
+
#### `@mui/x-charts@8.5.2`
|
|
151
|
+
|
|
152
|
+
- [charts] Add a default value formatter for continuous scales (#18178) @bernardobelchior
|
|
153
|
+
- [charts] Add margin-bottom to charts toolbar (#18326) @bernardobelchior
|
|
154
|
+
- [charts] Fix grid with band scale (#18295) @alexfauquette
|
|
155
|
+
- [charts] Remove unnecessary style changes in tests (#18317) @JCQuintas
|
|
156
|
+
- [charts] Remove `sx` prop merging from `useComponentRenderer` (#18235) @bernardobelchior
|
|
157
|
+
- [charts] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-charts-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
160
|
+
|
|
161
|
+
Same changes as in `@mui/x-charts@8.5.2`, plus:
|
|
162
|
+
|
|
163
|
+
- [charts-pro] Document zoom slider tooltip value formatting (#18261) @bernardobelchior
|
|
164
|
+
- [charts-pro] Funnel `gap` prop does not impact the drawing area (#18233) @JCQuintas
|
|
165
|
+
- [charts-pro] Use `ChartsToolbarPro` types in pro charts (#18243) @bernardobelchior
|
|
166
|
+
|
|
167
|
+
### Tree View
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-tree-view@8.5.2`
|
|
170
|
+
|
|
171
|
+
- [tree-view] Fix `useSyncExternalStore` import error in React 17 (#18314) @bernardobelchior
|
|
172
|
+
|
|
173
|
+
#### `@mui/x-tree-view-pro@8.5.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
174
|
+
|
|
175
|
+
Same changes as in `@mui/x-tree-view@8.5.2`.
|
|
176
|
+
|
|
177
|
+
### Docs
|
|
178
|
+
|
|
179
|
+
- [docs] Add toolbar custom trigger and panel recipe (#18297) @KenanYusuf
|
|
180
|
+
- [docs] Copyedit the Priority support page (#18311) @mapache-salvaje
|
|
181
|
+
- [docs] Remove confusing opt-out mention in telemetry docs (#18257) @prakhargupta1
|
|
182
|
+
- [docs] Revise the Master Detail doc (#17927) @mapache-salvaje
|
|
183
|
+
- [docs] Revise the list view doc (#17928) @mapache-salvaje
|
|
184
|
+
- [docs] Audit and revise the Pro column docs (#17844) @mapache-salvaje
|
|
185
|
+
- [docs] Add some more context on Heatmap (#18256) @oliviertassinari
|
|
186
|
+
- [x-telemetry] Reduce Telemetry overhead (#18292) @oliviertassinari
|
|
187
|
+
- [code-infra] Align Node version used in CI to v22 (#18319) @LukasTy
|
|
188
|
+
- [code-infra] Fix pkg.pr.new publishing (#18316) @bernardobelchior
|
|
189
|
+
- [code-infra] Revert `React` to `19.0.0` (#18265) @LukasTy
|
|
190
|
+
- [code-infra] Use `catalog` for reused dependencies (#18302) @LukasTy
|
|
191
|
+
- [infra] Remove unused karma/mocha deps and files (#18340) @JCQuintas
|
|
192
|
+
- [infra] Update GitHub label references to use 'scope' instead of 'component' (#18260) @michelengelen
|
|
193
|
+
- [infra] Use a single browser server in CI (#18230) @JCQuintas
|
|
194
|
+
|
|
8
195
|
## 8.5.1
|
|
9
196
|
|
|
10
197
|
<!-- generated comparing v8.5.0..master -->
|
|
@@ -97,15 +284,6 @@ Same changes as in `@mui/x-tree-view@8.5.1`.
|
|
|
97
284
|
|
|
98
285
|
### Core
|
|
99
286
|
|
|
100
|
-
- chore(deps): bump @next/eslint-plugin-next to 15.3.3 (#18155) @renovate[bot]
|
|
101
|
-
- chore(deps): bump @types/lodash to ^4.17.17 (#17990) @renovate[bot]
|
|
102
|
-
- chore(deps): bump babel (#18157) @renovate[bot]
|
|
103
|
-
- chore(deps): bump eslint to ^9.28.0 (#17352) @renovate[bot]
|
|
104
|
-
- chore(deps): bump material ui (#17802) @renovate[bot]
|
|
105
|
-
- chore(deps): bump next to ^15.3.3 (#18159) @renovate[bot]
|
|
106
|
-
- chore(deps): bump ossf/scorecard-action action to v2.4.2 (#18160) @renovate[bot]
|
|
107
|
-
- chore(deps): bump react-router to ^7.6.1 (#18162) @renovate[bot]
|
|
108
|
-
- chore(deps): bump yargs to ^18.0.0 (#18169) @renovate[bot]
|
|
109
287
|
- [code-infra] Different approach to console testing for `processRowUpdate` (#18213) @JCQuintas
|
|
110
288
|
- [code-infra] Fix act warnings in DataGrid/toolbar (#18207) @JCQuintas
|
|
111
289
|
- [code-infra] Remove `istanbul` references (#18194) @JCQuintas
|
|
@@ -4549,7 +4727,6 @@ No changes since `@mui/x-charts@7.22.2`.
|
|
|
4549
4727
|
- [docs] Add `next` version links (#15423) @LukasTy
|
|
4550
4728
|
- [docs] Use the `loading` state in the demos (#15538) @cherniavskii
|
|
4551
4729
|
- [docs] Add data caching to lazy loaded detail panel demo (#15506) @cherniavskii
|
|
4552
|
-
|
|
4553
4730
|
- [code-infra] Tentative fix for Argos flaky screenshot tests (#15399) @JCQuintas
|
|
4554
4731
|
- [docs-infra] Transpile `.ts` demo files (#15421) @KenanYusuf
|
|
4555
4732
|
- [core] Clarify release version bump strategy (#15536) @cherniavskii
|
|
@@ -2,4 +2,4 @@ import { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
|
2
2
|
export type OwnerState = DataGridProcessedProps;
|
|
3
3
|
export declare const GridRootStyles: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: OwnerState;
|
|
5
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
5
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -22,6 +22,12 @@ const _excluded = ["hideMenu", "colDef", "id", "labelledby", "className", "child
|
|
|
22
22
|
const StyledMenuList = (0, _styles.styled)(_assert.NotRendered)(() => ({
|
|
23
23
|
minWidth: 248
|
|
24
24
|
}));
|
|
25
|
+
function handleMenuScrollCapture(event) {
|
|
26
|
+
if (!event.currentTarget.contains(event.target)) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
event.stopPropagation();
|
|
30
|
+
}
|
|
25
31
|
const GridColumnMenuContainer = exports.GridColumnMenuContainer = (0, _forwardRef.forwardRef)(function GridColumnMenuContainer(props, ref) {
|
|
26
32
|
const {
|
|
27
33
|
hideMenu,
|
|
@@ -47,6 +53,8 @@ const GridColumnMenuContainer = exports.GridColumnMenuContainer = (0, _forwardRe
|
|
|
47
53
|
className: (0, _clsx.default)(_gridClasses.gridClasses.menuList, className),
|
|
48
54
|
"aria-labelledby": labelledby,
|
|
49
55
|
onKeyDown: handleListKeyDown,
|
|
56
|
+
onWheel: handleMenuScrollCapture,
|
|
57
|
+
onTouchMove: handleMenuScrollCapture,
|
|
50
58
|
autoFocus: open
|
|
51
59
|
}, other, {
|
|
52
60
|
ref: ref,
|
|
@@ -131,6 +131,7 @@ function GridToolbar(props) {
|
|
|
131
131
|
}), additionalItems, showExportMenu && (!rootProps.disableColumnFilter || !rootProps.disableColumnSelector) && /*#__PURE__*/(0, _jsxRuntime.jsx)(GridToolbarDivider, {}), showExportMenu && /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
132
132
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseTooltip, {
|
|
133
133
|
title: apiRef.current.getLocaleText('toolbarExport'),
|
|
134
|
+
disableInteractive: exportMenuOpen,
|
|
134
135
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToolbarButton.ToolbarButton, {
|
|
135
136
|
ref: exportMenuTriggerRef,
|
|
136
137
|
id: exportMenuTriggerId,
|
|
@@ -6,7 +6,7 @@ export type ToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
6
6
|
*/
|
|
7
7
|
render?: RenderProp<React.ComponentProps<typeof ToolbarRoot>>;
|
|
8
8
|
};
|
|
9
|
-
declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
9
|
+
declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
/**
|
|
11
11
|
* The top level Toolbar component that provides context to child components.
|
|
12
12
|
* It renders a styled `<div />` element.
|
|
@@ -2,4 +2,4 @@ import { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
|
2
2
|
export type OwnerState = DataGridProcessedProps;
|
|
3
3
|
export declare const GridRootStyles: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
ownerState: OwnerState;
|
|
5
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
5
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -14,6 +14,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
14
14
|
const StyledMenuList = styled(NotRendered)(() => ({
|
|
15
15
|
minWidth: 248
|
|
16
16
|
}));
|
|
17
|
+
function handleMenuScrollCapture(event) {
|
|
18
|
+
if (!event.currentTarget.contains(event.target)) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
event.stopPropagation();
|
|
22
|
+
}
|
|
17
23
|
const GridColumnMenuContainer = forwardRef(function GridColumnMenuContainer(props, ref) {
|
|
18
24
|
const {
|
|
19
25
|
hideMenu,
|
|
@@ -39,6 +45,8 @@ const GridColumnMenuContainer = forwardRef(function GridColumnMenuContainer(prop
|
|
|
39
45
|
className: clsx(gridClasses.menuList, className),
|
|
40
46
|
"aria-labelledby": labelledby,
|
|
41
47
|
onKeyDown: handleListKeyDown,
|
|
48
|
+
onWheel: handleMenuScrollCapture,
|
|
49
|
+
onTouchMove: handleMenuScrollCapture,
|
|
42
50
|
autoFocus: open
|
|
43
51
|
}, other, {
|
|
44
52
|
ref: ref,
|
|
@@ -121,6 +121,7 @@ function GridToolbar(props) {
|
|
|
121
121
|
}), additionalItems, showExportMenu && (!rootProps.disableColumnFilter || !rootProps.disableColumnSelector) && /*#__PURE__*/_jsx(GridToolbarDivider, {}), showExportMenu && /*#__PURE__*/_jsxs(React.Fragment, {
|
|
122
122
|
children: [/*#__PURE__*/_jsx(rootProps.slots.baseTooltip, {
|
|
123
123
|
title: apiRef.current.getLocaleText('toolbarExport'),
|
|
124
|
+
disableInteractive: exportMenuOpen,
|
|
124
125
|
children: /*#__PURE__*/_jsx(ToolbarButton, {
|
|
125
126
|
ref: exportMenuTriggerRef,
|
|
126
127
|
id: exportMenuTriggerId,
|
|
@@ -6,7 +6,7 @@ export type ToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
6
6
|
*/
|
|
7
7
|
render?: RenderProp<React.ComponentProps<typeof ToolbarRoot>>;
|
|
8
8
|
};
|
|
9
|
-
declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
9
|
+
declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
|
|
10
10
|
/**
|
|
11
11
|
* The top level Toolbar component that provides context to child components.
|
|
12
12
|
* It renders a styled `<div />` element.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { EventManager } from '@mui/x-internals/EventManager';
|
|
3
|
-
import { Store } from
|
|
3
|
+
import { Store } from '@mui/x-internals/store';
|
|
4
4
|
import { useGridApiMethod } from "../utils/useGridApiMethod.js";
|
|
5
5
|
import { GridSignature } from "../../constants/signature.js";
|
|
6
6
|
const SYMBOL_API_PRIVATE = Symbol('mui.api_private');
|
|
@@ -4,9 +4,17 @@ import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
|
4
4
|
* @ignore - do not document.
|
|
5
5
|
*/
|
|
6
6
|
export declare const gridColumnGroupingSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridColumnsGroupingState>;
|
|
7
|
-
export declare const gridColumnGroupsUnwrappedModelSelector:
|
|
7
|
+
export declare const gridColumnGroupsUnwrappedModelSelector: (args_0: import("react").RefObject<{
|
|
8
|
+
state: GridStateCommunity;
|
|
9
|
+
} | null>) => {
|
|
8
10
|
[columnField: string]: string[];
|
|
9
|
-
}
|
|
10
|
-
export declare const gridColumnGroupsLookupSelector:
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
};
|
|
12
|
+
export declare const gridColumnGroupsLookupSelector: (args_0: import("react").RefObject<{
|
|
13
|
+
state: GridStateCommunity;
|
|
14
|
+
} | null>) => import("./gridColumnGroupsInterfaces.js").GridColumnGroupLookup;
|
|
15
|
+
export declare const gridColumnGroupsHeaderStructureSelector: (args_0: import("react").RefObject<{
|
|
16
|
+
state: GridStateCommunity;
|
|
17
|
+
} | null>) => import("./gridColumnGroupsInterfaces.js").GridGroupingStructure[][];
|
|
18
|
+
export declare const gridColumnGroupsHeaderMaxDepthSelector: (args_0: import("react").RefObject<{
|
|
19
|
+
state: GridStateCommunity;
|
|
20
|
+
} | null>) => number;
|
|
@@ -31,7 +31,7 @@ export interface GetHeadersParams {
|
|
|
31
31
|
type OwnerState = DataGridProcessedProps;
|
|
32
32
|
export declare const GridColumnHeaderRow: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
33
33
|
ownerState: OwnerState;
|
|
34
|
-
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.
|
|
34
|
+
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
|
|
35
35
|
export declare const useGridColumnHeaders: (props: UseGridColumnHeadersProps) => {
|
|
36
36
|
renderContext: GridColumnsRenderContext;
|
|
37
37
|
leftRenderContext: {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { GridStateCommunity } from "../../../models/gridStateCommunity.js";
|
|
2
2
|
export declare const gridColumnResizeSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridColumnResizeState>;
|
|
3
|
-
export declare const gridResizingColumnFieldSelector:
|
|
3
|
+
export declare const gridResizingColumnFieldSelector: (args_0: import("react").RefObject<{
|
|
4
|
+
state: GridStateCommunity;
|
|
5
|
+
} | null>) => string;
|
|
@@ -9,40 +9,54 @@ export declare const gridColumnsStateSelector: import("@mui/x-data-grid").Output
|
|
|
9
9
|
* Get an array of column fields in the order rendered on screen.
|
|
10
10
|
* @category Columns
|
|
11
11
|
*/
|
|
12
|
-
export declare const gridColumnFieldsSelector:
|
|
12
|
+
export declare const gridColumnFieldsSelector: (args_0: import("react").RefObject<{
|
|
13
|
+
state: GridStateCommunity;
|
|
14
|
+
} | null>) => string[];
|
|
13
15
|
/**
|
|
14
16
|
* Get the columns as a lookup (an object containing the field for keys and the definition for values).
|
|
15
17
|
* @category Columns
|
|
16
18
|
*/
|
|
17
|
-
export declare const gridColumnLookupSelector:
|
|
19
|
+
export declare const gridColumnLookupSelector: (args_0: import("react").RefObject<{
|
|
20
|
+
state: GridStateCommunity;
|
|
21
|
+
} | null>) => GridColumnLookup;
|
|
18
22
|
/**
|
|
19
23
|
* Get an array of column definitions in the order rendered on screen..
|
|
20
24
|
* @category Columns
|
|
21
25
|
*/
|
|
22
|
-
export declare const gridColumnDefinitionsSelector:
|
|
26
|
+
export declare const gridColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
27
|
+
state: GridStateCommunity;
|
|
28
|
+
} | null>) => import("../../../internals/index.js").GridStateColDef[];
|
|
23
29
|
/**
|
|
24
30
|
* Get the column visibility model, containing the visibility status of each column.
|
|
25
31
|
* If a column is not registered in the model, it is visible.
|
|
26
32
|
* @category Visible Columns
|
|
27
33
|
*/
|
|
28
|
-
export declare const gridColumnVisibilityModelSelector:
|
|
34
|
+
export declare const gridColumnVisibilityModelSelector: (args_0: import("react").RefObject<{
|
|
35
|
+
state: GridStateCommunity;
|
|
36
|
+
} | null>) => import("@mui/x-data-grid").GridColumnVisibilityModel;
|
|
29
37
|
/**
|
|
30
38
|
* Get the "initial" column visibility model, containing the visibility status of each column.
|
|
31
39
|
* It is updated when the `columns` prop is updated or when `updateColumns` API method is called.
|
|
32
40
|
* If a column is not registered in the model, it is visible.
|
|
33
41
|
* @category Visible Columns
|
|
34
42
|
*/
|
|
35
|
-
export declare const gridInitialColumnVisibilityModelSelector:
|
|
43
|
+
export declare const gridInitialColumnVisibilityModelSelector: (args_0: import("react").RefObject<{
|
|
44
|
+
state: GridStateCommunity;
|
|
45
|
+
} | null>) => import("@mui/x-data-grid").GridColumnVisibilityModel;
|
|
36
46
|
/**
|
|
37
47
|
* Get the visible columns as a lookup (an object containing the field for keys and the definition for values).
|
|
38
48
|
* @category Visible Columns
|
|
39
49
|
*/
|
|
40
|
-
export declare const gridVisibleColumnDefinitionsSelector:
|
|
50
|
+
export declare const gridVisibleColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
51
|
+
state: GridStateCommunity;
|
|
52
|
+
} | null>) => import("../../../internals/index.js").GridStateColDef[];
|
|
41
53
|
/**
|
|
42
54
|
* Get the field of each visible column.
|
|
43
55
|
* @category Visible Columns
|
|
44
56
|
*/
|
|
45
|
-
export declare const gridVisibleColumnFieldsSelector:
|
|
57
|
+
export declare const gridVisibleColumnFieldsSelector: (args_0: import("react").RefObject<{
|
|
58
|
+
state: GridStateCommunity;
|
|
59
|
+
} | null>) => string[];
|
|
46
60
|
/**
|
|
47
61
|
* Get the visible pinned columns model.
|
|
48
62
|
* @category Visible Columns
|
|
@@ -53,36 +67,48 @@ export declare const gridPinnedColumnsSelector: import("@mui/x-data-grid").Outpu
|
|
|
53
67
|
* @category Pinned Columns
|
|
54
68
|
* @ignore - Do not document
|
|
55
69
|
*/
|
|
56
|
-
export declare const gridExistingPinnedColumnSelector: import("
|
|
70
|
+
export declare const gridExistingPinnedColumnSelector: (args_0: import("react").RefObject<{
|
|
71
|
+
state: GridStateCommunity;
|
|
72
|
+
} | null>) => {
|
|
57
73
|
left: string[];
|
|
58
74
|
right: string[];
|
|
59
|
-
}
|
|
75
|
+
};
|
|
60
76
|
/**
|
|
61
77
|
* Get the visible pinned columns.
|
|
62
78
|
* @category Visible Columns
|
|
63
79
|
*/
|
|
64
|
-
export declare const gridVisiblePinnedColumnDefinitionsSelector: import("
|
|
80
|
+
export declare const gridVisiblePinnedColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
81
|
+
state: GridStateCommunity;
|
|
82
|
+
} | null>) => {
|
|
65
83
|
left: import("../../../internals/index.js").GridStateColDef[];
|
|
66
84
|
right: import("../../../internals/index.js").GridStateColDef[];
|
|
67
|
-
}
|
|
85
|
+
};
|
|
68
86
|
/**
|
|
69
87
|
* Get the left position in pixel of each visible columns relative to the left of the first column.
|
|
70
88
|
* @category Visible Columns
|
|
71
89
|
*/
|
|
72
|
-
export declare const gridColumnPositionsSelector:
|
|
90
|
+
export declare const gridColumnPositionsSelector: (args_0: import("react").RefObject<{
|
|
91
|
+
state: GridStateCommunity;
|
|
92
|
+
} | null>) => number[];
|
|
73
93
|
/**
|
|
74
94
|
* Get the filterable columns as an array.
|
|
75
95
|
* @category Columns
|
|
76
96
|
*/
|
|
77
|
-
export declare const gridFilterableColumnDefinitionsSelector:
|
|
97
|
+
export declare const gridFilterableColumnDefinitionsSelector: (args_0: import("react").RefObject<{
|
|
98
|
+
state: GridStateCommunity;
|
|
99
|
+
} | null>) => import("../../../internals/index.js").GridStateColDef[];
|
|
78
100
|
/**
|
|
79
101
|
* Get the filterable columns as a lookup (an object containing the field for keys and the definition for values).
|
|
80
102
|
* @category Columns
|
|
81
103
|
*/
|
|
82
|
-
export declare const gridFilterableColumnLookupSelector:
|
|
104
|
+
export declare const gridFilterableColumnLookupSelector: (args_0: import("react").RefObject<{
|
|
105
|
+
state: GridStateCommunity;
|
|
106
|
+
} | null>) => GridColumnLookup;
|
|
83
107
|
/**
|
|
84
108
|
* Checks if some column has a colSpan field.
|
|
85
109
|
* @category Columns
|
|
86
110
|
* @ignore - Do not document
|
|
87
111
|
*/
|
|
88
|
-
export declare const gridHasColSpanSelector:
|
|
112
|
+
export declare const gridHasColSpanSelector: (args_0: import("react").RefObject<{
|
|
113
|
+
state: GridStateCommunity;
|
|
114
|
+
} | null>) => boolean;
|
|
@@ -153,7 +153,9 @@ export const hydrateColumnsWidth = (rawState, dimensions) => {
|
|
|
153
153
|
flexColumns
|
|
154
154
|
});
|
|
155
155
|
Object.keys(computedColumnWidths).forEach(field => {
|
|
156
|
-
columnsLookup[field]
|
|
156
|
+
columnsLookup[field] = _extends({}, columnsLookup[field], {
|
|
157
|
+
computedWidth: computedColumnWidths[field].computedWidth
|
|
158
|
+
});
|
|
157
159
|
});
|
|
158
160
|
}
|
|
159
161
|
return _extends({}, rawState, {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export declare const gridGetRowsParamsSelector:
|
|
1
|
+
export declare const gridGetRowsParamsSelector: (args_0: import("react").RefObject<{
|
|
2
|
+
state: import("../../../models/gridStateCommunity.js").GridStateCommunity;
|
|
3
|
+
} | null>) => {
|
|
2
4
|
groupKeys: never[];
|
|
3
5
|
paginationModel: import("@mui/x-data-grid").GridPaginationModel;
|
|
4
6
|
sortModel: import("@mui/x-data-grid").GridSortModel;
|
|
5
7
|
filterModel: import("@mui/x-data-grid").GridFilterModel;
|
|
6
8
|
start: number;
|
|
7
9
|
end: number;
|
|
8
|
-
}
|
|
10
|
+
};
|
|
@@ -173,6 +173,10 @@ export const useGridDataSourceBase = (apiRef, props, options = {}) => {
|
|
|
173
173
|
apiRef.current.dataSource.cache.clear();
|
|
174
174
|
apiRef.current.dataSource.fetchRows();
|
|
175
175
|
}
|
|
176
|
+
return () => {
|
|
177
|
+
// ignore the current request on unmount
|
|
178
|
+
lastRequestId.current += 1;
|
|
179
|
+
};
|
|
176
180
|
}, [apiRef, props.dataSource]);
|
|
177
181
|
return {
|
|
178
182
|
api: {
|
|
@@ -26,7 +26,7 @@ export class CacheChunkManager {
|
|
|
26
26
|
|
|
27
27
|
// split the range into chunks
|
|
28
28
|
const chunkedKeys = [];
|
|
29
|
-
for (let i = key.start; i
|
|
29
|
+
for (let i = key.start; i <= key.end; i += this.chunkSize) {
|
|
30
30
|
const end = Math.min(i + this.chunkSize - 1, key.end);
|
|
31
31
|
chunkedKeys.push(_extends({}, key, {
|
|
32
32
|
start: i,
|
|
@@ -3,4 +3,6 @@ import { GridDensity } from "../../../models/gridDensity.js";
|
|
|
3
3
|
export declare const COMPACT_DENSITY_FACTOR = 0.7;
|
|
4
4
|
export declare const COMFORTABLE_DENSITY_FACTOR = 1.3;
|
|
5
5
|
export declare const gridDensitySelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, GridDensity>;
|
|
6
|
-
export declare const gridDensityFactorSelector: import("
|
|
6
|
+
export declare const gridDensityFactorSelector: (args_0: import("react").RefObject<{
|
|
7
|
+
state: GridStateCommunity;
|
|
8
|
+
} | null>) => number;
|
|
@@ -4,15 +4,39 @@ export declare const gridDimensionsSelector: import("@mui/x-data-grid").OutputSe
|
|
|
4
4
|
* Get the summed width of all the visible columns.
|
|
5
5
|
* @category Visible Columns
|
|
6
6
|
*/
|
|
7
|
-
export declare const gridColumnsTotalWidthSelector:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare const
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
export declare const gridColumnsTotalWidthSelector: (args_0: import("react").RefObject<{
|
|
8
|
+
state: GridStateCommunity;
|
|
9
|
+
} | null>) => number;
|
|
10
|
+
export declare const gridRowHeightSelector: (args_0: import("react").RefObject<{
|
|
11
|
+
state: GridStateCommunity;
|
|
12
|
+
} | null>) => number;
|
|
13
|
+
export declare const gridContentHeightSelector: (args_0: import("react").RefObject<{
|
|
14
|
+
state: GridStateCommunity;
|
|
15
|
+
} | null>) => number;
|
|
16
|
+
export declare const gridHasScrollXSelector: (args_0: import("react").RefObject<{
|
|
17
|
+
state: GridStateCommunity;
|
|
18
|
+
} | null>) => boolean;
|
|
19
|
+
export declare const gridHasScrollYSelector: (args_0: import("react").RefObject<{
|
|
20
|
+
state: GridStateCommunity;
|
|
21
|
+
} | null>) => boolean;
|
|
22
|
+
export declare const gridHasFillerSelector: (args_0: import("react").RefObject<{
|
|
23
|
+
state: GridStateCommunity;
|
|
24
|
+
} | null>) => boolean;
|
|
25
|
+
export declare const gridHeaderHeightSelector: (args_0: import("react").RefObject<{
|
|
26
|
+
state: GridStateCommunity;
|
|
27
|
+
} | null>) => number;
|
|
28
|
+
export declare const gridGroupHeaderHeightSelector: (args_0: import("react").RefObject<{
|
|
29
|
+
state: GridStateCommunity;
|
|
30
|
+
} | null>) => number;
|
|
31
|
+
export declare const gridHeaderFilterHeightSelector: (args_0: import("react").RefObject<{
|
|
32
|
+
state: GridStateCommunity;
|
|
33
|
+
} | null>) => number;
|
|
34
|
+
export declare const gridHorizontalScrollbarHeightSelector: (args_0: import("react").RefObject<{
|
|
35
|
+
state: GridStateCommunity;
|
|
36
|
+
} | null>) => number;
|
|
37
|
+
export declare const gridVerticalScrollbarWidthSelector: (args_0: import("react").RefObject<{
|
|
38
|
+
state: GridStateCommunity;
|
|
39
|
+
} | null>) => number;
|
|
40
|
+
export declare const gridHasBottomFillerSelector: (args_0: import("react").RefObject<{
|
|
41
|
+
state: GridStateCommunity;
|
|
42
|
+
} | null>) => boolean;
|
|
@@ -5,11 +5,15 @@ import { GridEditMode } from "../../../models/gridEditRowModel.js";
|
|
|
5
5
|
* Select the row editing state.
|
|
6
6
|
*/
|
|
7
7
|
export declare const gridEditRowsStateSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, unknown, import("@mui/x-data-grid").GridEditingState>;
|
|
8
|
-
export declare const gridRowIsEditingSelector: import("
|
|
8
|
+
export declare const gridRowIsEditingSelector: (args_0: import("react").RefObject<{
|
|
9
|
+
state: GridStateCommunity;
|
|
10
|
+
} | null>, args_1: {
|
|
9
11
|
rowId: GridRowId;
|
|
10
12
|
editMode: GridEditMode;
|
|
11
|
-
}
|
|
12
|
-
export declare const gridEditCellStateSelector: import("
|
|
13
|
+
}) => boolean;
|
|
14
|
+
export declare const gridEditCellStateSelector: (args_0: import("react").RefObject<{
|
|
15
|
+
state: GridStateCommunity;
|
|
16
|
+
} | null>, args_1: {
|
|
13
17
|
rowId: GridRowId;
|
|
14
18
|
field: string;
|
|
15
|
-
}
|
|
19
|
+
}) => import("@mui/x-data-grid").GridEditCellProps<any>;
|