@mui/x-data-grid 5.0.0-beta.3 → 5.0.0-beta.7

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/data-grid.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="node" />
3
2
  import * as React$1 from 'react';
4
3
  import { IconButtonProps } from '@mui/material/IconButton';
5
4
  import { MenuItemProps } from '@mui/material/MenuItem';
@@ -9,14 +8,20 @@ import { ClickAwayListenerProps } from '@mui/material/ClickAwayListener';
9
8
  import { PopperProps } from '@mui/material/Popper';
10
9
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
11
10
  import * as _mui_material from '@mui/material';
12
- import { ComponentsPropsList, StyledComponentProps } from '@mui/material/styles';
11
+ import { InternalStandardProps } from '@mui/material';
13
12
  import { TextFieldProps } from '@mui/material/TextField';
14
13
  import { ButtonProps } from '@mui/material/Button';
15
14
  import { TooltipProps } from '@mui/material/Tooltip';
15
+ import { ComponentsPropsList } from '@mui/material/styles';
16
16
  import * as reselect from 'reselect';
17
17
 
18
18
  interface GridBodyProps {
19
19
  children?: React$1.ReactNode;
20
+ VirtualScrollerComponent: React$1.JSXElementConstructor<React$1.HTMLAttributes<HTMLDivElement> & {
21
+ ref: React$1.Ref<HTMLDivElement>;
22
+ selectionLookup: {};
23
+ disableVirtualization: boolean;
24
+ }>;
20
25
  }
21
26
  declare function GridBody(props: GridBodyProps): JSX.Element;
22
27
  declare namespace GridBody {
@@ -31,6 +36,23 @@ declare function GridHeaderPlaceholder(): JSX.Element;
31
36
 
32
37
  declare function GridOverlays(): JSX.Element | null;
33
38
 
39
+ interface GridFilterItem {
40
+ id?: number | string;
41
+ columnField?: string;
42
+ value?: any;
43
+ operatorValue?: string;
44
+ }
45
+ declare enum GridLinkOperator {
46
+ And = "and",
47
+ Or = "or"
48
+ }
49
+
50
+ interface GridFilterInputValueProps {
51
+ item: GridFilterItem;
52
+ applyValue: (value: GridFilterItem) => void;
53
+ apiRef: any;
54
+ }
55
+
34
56
  /**
35
57
  * The mode of the cell.
36
58
  */
@@ -57,31 +79,72 @@ interface GridColumnHeaderIndexCoordinates {
57
79
  colIndex: number;
58
80
  }
59
81
 
60
- declare type GridRowsProp = Readonly<GridRowData[]>;
61
- declare type GridRowData = {
82
+ declare type GridRowsProp = Readonly<GridRowModel[]>;
83
+ /**
84
+ * @deprecated prefer GridRowModel.
85
+ */
86
+ declare type GridRowData<T = {
62
87
  [key: string]: any;
63
- };
88
+ }> = T;
64
89
  /**
65
90
  * The key value object representing the data of a row.
66
91
  */
67
- declare type GridRowModel = GridRowData;
92
+ declare type GridRowModel<T = {
93
+ [key: string]: any;
94
+ }> = T;
68
95
  declare type GridUpdateAction = 'delete';
69
- interface GridRowModelUpdate extends GridRowData {
96
+ interface GridRowModelUpdate extends GridRowModel {
70
97
  _action?: GridUpdateAction;
71
98
  }
99
+ interface GridRowTreeNodeConfig {
100
+ /**
101
+ * The grid row id.
102
+ */
103
+ id: GridRowId;
104
+ /**
105
+ * The id of the row children.
106
+ */
107
+ children?: GridRowId[];
108
+ /**
109
+ * The row id of the parent (null if this row is a top level row).
110
+ */
111
+ parent: GridRowId | null;
112
+ /**
113
+ * Current expansion status of the row.
114
+ */
115
+ expanded?: boolean;
116
+ /**
117
+ * 0-based depth of the row in the tree.
118
+ */
119
+ depth: number;
120
+ /**
121
+ * The value used to group the children of this row.
122
+ */
123
+ groupingValue: string;
124
+ /**
125
+ * If `true`, this node has been automatically added to fill a gap in the tree structure.
126
+ */
127
+ isAutoGenerated?: boolean;
128
+ }
129
+ declare type GridRowTreeConfig = Record<GridRowId, GridRowTreeNodeConfig>;
130
+ declare type GridRowsLookup = Record<GridRowId, GridRowModel>;
72
131
  /**
73
132
  * The type of Id supported by the grid.
74
133
  */
75
134
  declare type GridRowId = string | number;
135
+ declare type GridRowEntry = {
136
+ id: GridRowId;
137
+ model: GridRowModel;
138
+ };
76
139
  /**
77
- * The function to retrieve the id of a [[GridRowData]].
140
+ * The function to retrieve the id of a [[GridRowModel]].
78
141
  */
79
- declare type GridRowIdGetter = (row: GridRowData) => GridRowId;
142
+ declare type GridRowIdGetter = (row: GridRowModel) => GridRowId;
80
143
  /**
81
144
  * An helper function to check if the id provided is valid.
82
145
  *
83
146
  * @param {GridRowId} id Id as [[GridRowId]].
84
- * @param {GridRowModel | Partial<GridRowModel>} row Row as [[GridRowData]].
147
+ * @param {GridRowModel | Partial<GridRowModel>} row Row as [[GridRowModel]].
85
148
  * @param {string} detailErrorMessage A custom error message to display for invalid IDs
86
149
  */
87
150
  declare function checkGridRowIdIsValid(id: GridRowId, row: GridRowModel | Partial<GridRowModel>, detailErrorMessage?: string): void;
@@ -113,7 +176,7 @@ declare enum GridRowModes {
113
176
  /**
114
177
  * Object passed as parameter in the column [[GridColDef]] cell renderer.
115
178
  */
116
- interface GridCellParams {
179
+ interface GridCellParams<V = any, R = any, F = V> {
117
180
  /**
118
181
  * The grid row id.
119
182
  */
@@ -125,15 +188,19 @@ interface GridCellParams {
125
188
  /**
126
189
  * The cell value, but if the column has valueGetter, use getValue.
127
190
  */
128
- value: GridCellValue;
191
+ value: V;
129
192
  /**
130
193
  * The cell value formatted with the column valueFormatter.
131
194
  */
132
- formattedValue: GridCellValue;
195
+ formattedValue: F;
133
196
  /**
134
197
  * The row model of the row that the current cell belongs to.
135
198
  */
136
- row: GridRowModel;
199
+ row: GridRowModel<R>;
200
+ /**
201
+ * The node of the row that the current cell belongs to.
202
+ */
203
+ rowNode: GridRowTreeNodeConfig;
137
204
  /**
138
205
  * The column of the row that the current cell belongs to.
139
206
  */
@@ -165,7 +232,7 @@ interface GridCellParams {
165
232
  /**
166
233
  * GridCellParams containing api.
167
234
  */
168
- interface GridRenderCellParams extends GridCellParams {
235
+ interface GridRenderCellParams<V = any, R = any, F = V> extends GridCellParams<V, R, F> {
169
236
  /**
170
237
  * GridApi that let you manipulate the grid.
171
238
  */
@@ -184,6 +251,19 @@ interface GridRenderEditCellParams extends GridEditCellProps {
184
251
  * Alias of GridRenderCellParams.
185
252
  */
186
253
  declare type GridValueGetterParams = Omit<GridRenderCellParams, 'formattedValue' | 'isEditable'>;
254
+ /**
255
+ * Object passed as parameter in the column [[GridColDef]] value setter callback.
256
+ */
257
+ interface GridValueSetterParams {
258
+ /**
259
+ * The new cell value.
260
+ */
261
+ value: GridCellValue;
262
+ /**
263
+ * The row that is being editted.
264
+ */
265
+ row: GridRowModel;
266
+ }
187
267
  /**
188
268
  * Object passed as parameter in the column [[GridColDef]] value formatter callback.
189
269
  */
@@ -207,6 +287,29 @@ interface GridValueFormatterParams {
207
287
  api: any;
208
288
  }
209
289
 
290
+ interface GridFilterOperator {
291
+ label?: string;
292
+ value: string;
293
+ getApplyFilterFn: (filterItem: GridFilterItem, column: GridStateColDef) => null | ((params: GridCellParams) => boolean);
294
+ InputComponent?: React$1.JSXElementConstructor<GridFilterInputValueProps>;
295
+ InputComponentProps?: Record<string, any>;
296
+ }
297
+
298
+ declare const getGridBooleanOperators: () => GridFilterOperator[];
299
+
300
+ declare const getGridDateOperators: (showTime?: boolean | undefined) => GridFilterOperator[];
301
+
302
+ declare const getGridNumericColumnOperators: () => GridFilterOperator[];
303
+
304
+ declare const getGridSingleSelectOperators: () => GridFilterOperator[];
305
+
306
+ declare const getGridStringOperators: () => GridFilterOperator[];
307
+
308
+ declare type GridNativeColTypes = 'string' | 'number' | 'date' | 'dateTime' | 'boolean' | 'singleSelect' | 'actions';
309
+ declare type GridColType = GridNativeColTypes | string;
310
+
311
+ declare const getGridColDef: (columnTypes: any, type: GridColType | undefined) => any;
312
+
210
313
  /**
211
314
  * A function used to process cellClassName params.
212
315
  */
@@ -239,31 +342,6 @@ declare type GridColumnHeaderClassFn = (params: GridColumnHeaderParams) => strin
239
342
  */
240
343
  declare type GridColumnHeaderClassNamePropType = string | GridColumnHeaderClassFn;
241
344
 
242
- interface GridFilterItem {
243
- id?: number | string;
244
- columnField?: string;
245
- value?: any;
246
- operatorValue?: string;
247
- }
248
- declare enum GridLinkOperator {
249
- And = "and",
250
- Or = "or"
251
- }
252
-
253
- interface GridFilterInputValueProps {
254
- item: GridFilterItem;
255
- applyValue: (value: GridFilterItem) => void;
256
- apiRef: any;
257
- }
258
-
259
- interface GridFilterOperator {
260
- label?: string;
261
- value: string;
262
- getApplyFilterFn: (filterItem: GridFilterItem, column: GridStateColDef) => null | ((params: GridCellParams) => boolean);
263
- InputComponent?: React$1.JSXElementConstructor<GridFilterInputValueProps>;
264
- InputComponentProps?: Record<string, any>;
265
- }
266
-
267
345
  declare type GridSortDirection = 'asc' | 'desc' | null | undefined;
268
346
  declare type GridFieldComparatorList = {
269
347
  field: string;
@@ -297,18 +375,10 @@ interface GridSortItem {
297
375
  */
298
376
  declare type GridSortModel = GridSortItem[];
299
377
 
300
- declare const GRID_STRING_COLUMN_TYPE = "string";
301
- declare const GRID_NUMBER_COLUMN_TYPE = "number";
302
- declare const GRID_DATE_COLUMN_TYPE = "date";
303
- declare const GRID_DATETIME_COLUMN_TYPE = "dateTime";
304
- declare const GRID_BOOLEAN_COLUMN_TYPE = "boolean";
305
- declare type GridNativeColTypes = 'string' | 'number' | 'date' | 'dateTime' | 'boolean' | 'singleSelect' | 'actions';
306
- declare type GridColType = GridNativeColTypes | string;
307
-
308
378
  /**
309
- * Object passed as parameter in the column [[GridColDef]] cell renderer.
379
+ * Object passed as parameter in the row callbacks.
310
380
  */
311
- interface GridRowParams {
381
+ interface GridRowParams<R extends GridRowModel = GridRowModel> {
312
382
  /**
313
383
  * The grid row id.
314
384
  */
@@ -316,7 +386,7 @@ interface GridRowParams {
316
386
  /**
317
387
  * The row model of the row that the current cell belongs to.
318
388
  */
319
- row: GridRowModel;
389
+ row: R;
320
390
  /**
321
391
  * All grid columns.
322
392
  */
@@ -330,6 +400,24 @@ interface GridRowParams {
330
400
  getValue: (id: GridRowId, field: string) => GridCellValue;
331
401
  }
332
402
 
403
+ /**
404
+ * Object passed as parameter of the valueOptions function for singleSelect column.
405
+ */
406
+ interface GridValueOptionsParams {
407
+ /**
408
+ * The field of the column to which options will be provided
409
+ */
410
+ field: string;
411
+ /**
412
+ * The grid row id.
413
+ */
414
+ id?: GridRowId;
415
+ /**
416
+ * The row model of the row that the current cell belongs to.
417
+ */
418
+ row?: GridRowModel;
419
+ }
420
+
333
421
  declare type GridActionsCellItemProps = {
334
422
  label: string;
335
423
  icon?: React$1.ReactElement;
@@ -348,12 +436,16 @@ declare const GridActionsCellItem: {
348
436
  * Alignment used in position elements in Cells.
349
437
  */
350
438
  declare type GridAlignment = 'left' | 'right' | 'center';
439
+ declare type ValueOptions = string | number | {
440
+ value: any;
441
+ label: string;
442
+ };
351
443
  /**
352
444
  * Column Definition interface.
353
445
  */
354
446
  interface GridColDef {
355
447
  /**
356
- * The column identifier. It's used to map with [[GridRowData]] values.
448
+ * The column identifier. It's used to map with [[GridRowModel]] values.
357
449
  */
358
450
  field: string;
359
451
  /**
@@ -408,12 +500,9 @@ interface GridColDef {
408
500
  */
409
501
  type?: GridColType;
410
502
  /**
411
- * To be used in combination with `type: 'singleSelect'`. This is an array of the possible cell values and labels.
503
+ * To be used in combination with `type: 'singleSelect'`. This is an array (or a function returning an array) of the possible cell values and labels.
412
504
  */
413
- valueOptions?: Array<string | number | {
414
- value: any;
415
- label: string;
416
- }>;
505
+ valueOptions?: Array<ValueOptions> | ((params: GridValueOptionsParams) => Array<ValueOptions>);
417
506
  /**
418
507
  * Allows to align the column values in cells.
419
508
  */
@@ -424,6 +513,13 @@ interface GridColDef {
424
513
  * @returns {GridCellValue} The cell value.
425
514
  */
426
515
  valueGetter?: (params: GridValueGetterParams) => GridCellValue;
516
+ /**
517
+ * Function that allows to customize how the entered value is stored in the row.
518
+ * It only works with cell/row editing.
519
+ * @param {GridValueSetterParams} params Object containing parameters for the setter.
520
+ * @returns {GridRowModel} The row with the updated field.
521
+ */
522
+ valueSetter?: (params: GridValueSetterParams) => GridRowModel;
427
523
  /**
428
524
  * Function that allows to apply a formatter before rendering its value.
429
525
  * @param {GridValueFormatterParams} params Object containing parameters for the formatter.
@@ -532,11 +628,20 @@ interface GridColumnsState {
532
628
  all: string[];
533
629
  lookup: GridColumnLookup;
534
630
  }
535
- declare const getInitialGridColumnsState: () => GridColumnsState;
631
+ declare type GridColDefOverride = Omit<Partial<GridColDef>, 'field'>;
632
+ declare type GridColDefOverrideCallback = (params: GridColDefOverrideParams) => GridColDefOverride;
633
+ interface GridColDefOverrideParams {
634
+ /**
635
+ * The column we are generating before the override.
636
+ */
637
+ colDef: GridColDef;
638
+ }
639
+
640
+ declare const GRID_ACTIONS_COL_DEF: GridColTypeDef;
536
641
 
537
- declare const gridCheckboxSelectionColDef: GridColDef;
642
+ declare const GRID_BOOLEAN_COL_DEF: GridColTypeDef;
538
643
 
539
- declare const getGridColDef: (columnTypes: any, type: GridColType | undefined) => any;
644
+ declare const GRID_CHECKBOX_SELECTION_COL_DEF: GridColDef;
540
645
 
541
646
  declare function gridDateFormatter({ value }: {
542
647
  value: GridCellValue;
@@ -547,11 +652,9 @@ declare function gridDateTimeFormatter({ value }: {
547
652
  declare const GRID_DATE_COL_DEF: GridColTypeDef;
548
653
  declare const GRID_DATETIME_COL_DEF: GridColTypeDef;
549
654
 
550
- declare const getGridDateOperators: (showTime?: boolean | undefined) => GridFilterOperator[];
551
-
552
655
  declare const GRID_NUMERIC_COL_DEF: GridColTypeDef;
553
656
 
554
- declare const getGridNumericColumnOperators: () => GridFilterOperator[];
657
+ declare const GRID_SINGLE_SELECT_COL_DEF: GridColTypeDef;
555
658
 
556
659
  declare const GRID_STRING_COL_DEF: GridColTypeDef;
557
660
 
@@ -560,14 +663,6 @@ declare type GridColumnTypesRecord = Record<GridColType, GridColTypeDef>;
560
663
  declare const DEFAULT_GRID_COL_TYPE_KEY = "__default__";
561
664
  declare const getGridDefaultColumnTypes: () => GridColumnTypesRecord;
562
665
 
563
- declare const getGridStringOperators: () => GridFilterOperator[];
564
-
565
- declare const GRID_ACTIONS_COL_DEF: GridColTypeDef;
566
-
567
- declare const GRID_SINGLE_SELECT_COL_DEF: GridColTypeDef;
568
-
569
- declare const getGridSingleSelectOperators: () => GridFilterOperator[];
570
-
571
666
  interface CursorCoordinates {
572
667
  x: number;
573
668
  y: number;
@@ -835,6 +930,24 @@ interface GridScrollParams {
835
930
  }
836
931
  declare type GridScrollFn = (v: GridScrollParams) => void;
837
932
 
933
+ /**
934
+ * Object passed as parameter of the column sorted event.
935
+ */
936
+ interface GridSortModelParams {
937
+ /**
938
+ * The sort model used to sort the grid.
939
+ */
940
+ sortModel: GridSortModel;
941
+ /**
942
+ * The full set of columns.
943
+ */
944
+ columns: GridColumns;
945
+ /**
946
+ * Api that let you manipulate the grid.
947
+ */
948
+ api: any;
949
+ }
950
+
838
951
  interface GridColumnMenuState {
839
952
  open: boolean;
840
953
  field?: string;
@@ -842,13 +955,11 @@ interface GridColumnMenuState {
842
955
 
843
956
  interface GridColumnReorderState {
844
957
  dragCol: string;
845
- }
846
- declare function getInitialGridColumnReorderState(): GridColumnReorderState;
958
+ }
847
959
 
848
960
  interface GridColumnResizeState {
849
961
  resizingColumnField: string;
850
- }
851
- declare function getInitialGridColumnResizeState(): GridColumnResizeState;
962
+ }
852
963
 
853
964
  /**
854
965
  * Available densities.
@@ -869,12 +980,6 @@ interface GridDensityState {
869
980
  headerHeight: number;
870
981
  }
871
982
 
872
- interface VisibleGridRowsState {
873
- visibleRowsLookup: Record<GridRowId, boolean>;
874
- visibleRows?: GridRowId[];
875
- }
876
- declare const getInitialVisibleGridRowsState: () => VisibleGridRowsState;
877
-
878
983
  declare type GridCellIdentifier = {
879
984
  id: GridRowId;
880
985
  field: string;
@@ -899,60 +1004,8 @@ declare enum GridPreferencePanelsValue {
899
1004
  interface GridPreferencePanelState {
900
1005
  open: boolean;
901
1006
  openedPanelValue?: GridPreferencePanelsValue;
902
- }
903
-
904
- interface GridRowsState {
905
- idRowsLookup: Record<GridRowId, GridRowModel>;
906
- allRows: GridRowId[];
907
- totalRowCount: number;
908
- }
909
- declare const getInitialGridRowState: () => GridRowsState;
910
-
911
- interface GridSortingState {
912
- sortedRows: GridRowId[];
913
- sortModel: GridSortModel;
914
- }
915
- declare function getInitialGridSortingState(): GridSortingState;
916
-
917
- interface GridRenderingState {
918
- virtualPage: number;
919
- virtualRowsCount: number;
920
- renderContext: Partial<GridRenderContextProps> | null;
921
- realScroll: GridScrollParams;
922
- renderingZoneScroll: GridScrollParams;
923
- }
924
- declare const getInitialGridRenderingState: () => GridRenderingState;
925
-
926
- interface GridPaginationState {
927
- pageSize: number;
928
- page: number;
929
- pageCount: number;
930
- rowCount: number;
931
- }
932
-
933
- interface GridState {
934
- rows: GridRowsState;
935
- editRows: GridEditRowsModel;
936
- pagination: GridPaginationState;
937
- columns: GridColumnsState;
938
- columnReorder: GridColumnReorderState;
939
- columnResize: GridColumnResizeState;
940
- columnMenu: GridColumnMenuState;
941
- rendering: GridRenderingState;
942
- containerSizes: GridContainerProps | null;
943
- viewportSizes: GridViewportSizeState;
944
- scrollBar: GridScrollBarState;
945
- sorting: GridSortingState;
946
- focus: GridFocusState;
947
- tabIndex: GridTabIndexState;
948
- selection: GridSelectionModel;
949
- filter: GridFilterModel;
950
- visibleRows: VisibleGridRowsState;
951
- preferencePanel: GridPreferencePanelState;
952
- density: GridDensityState;
953
- error?: any;
954
1007
  }
955
- declare const getInitialGridState: () => GridState;
1008
+ declare type GridPreferencePanelInitialState = GridPreferencePanelState;
956
1009
 
957
1010
  /**
958
1011
  * The column API interface that is available in the grid [[apiRef]].
@@ -1070,14 +1123,14 @@ interface GridControlStateApi {
1070
1123
  * @param {GridControlStateItem<TModel>} controlState The [[GridControlStateItem]] to be registered.
1071
1124
  * @ignore - do not document.
1072
1125
  */
1073
- updateControlState: <TModel>(controlState: GridControlStateItem<TModel>) => void;
1126
+ unsafe_updateControlState: <TModel>(controlState: GridControlStateItem<TModel>) => void;
1074
1127
  /**
1075
1128
  * Allows the internal grid state to apply the registered control state constraint.
1076
1129
  * @param {GridState} state The new modified state that would be the next if the state is not controlled.
1077
1130
  * @returns {{ ignoreSetState: boolean, postUpdate: () => void }} ignoreSetState let the state know if it should update, and postUpdate is a callback function triggered if the state has updated.
1078
1131
  * @ignore - do not document.
1079
1132
  */
1080
- applyControlStateConstraint: (state: GridState) => {
1133
+ unsafe_applyControlStateConstraint: (state: GridState) => {
1081
1134
  ignoreSetState: boolean;
1082
1135
  postUpdate: () => void;
1083
1136
  };
@@ -1208,22 +1261,18 @@ interface GridClipboardApi {
1208
1261
  * @param {boolean} includeHeaders Whether to include the headers or not. Default is `false`.
1209
1262
  * @ignore - do not document.
1210
1263
  */
1211
- copySelectedRowsToClipboard: (includeHeaders?: boolean) => void;
1264
+ unsafe_copySelectedRowsToClipboard: (includeHeaders?: boolean) => void;
1212
1265
  }
1213
1266
 
1214
- /**
1215
- * Available CSV delimiter characters used to separate fields.
1216
- */
1217
- declare type GridExportCsvDelimiter = string;
1218
1267
  /**
1219
1268
  * The options to apply on the CSV export.
1220
1269
  */
1221
- interface GridExportCsvOptions {
1270
+ interface GridCsvExportOptions {
1222
1271
  /**
1223
1272
  * The character used to separate fields.
1224
1273
  * @default ','
1225
1274
  */
1226
- delimiter?: GridExportCsvDelimiter;
1275
+ delimiter?: string;
1227
1276
  /**
1228
1277
  * The string used as the file name.
1229
1278
  * @default `document.title`
@@ -1245,11 +1294,60 @@ interface GridExportCsvOptions {
1245
1294
  * @default false
1246
1295
  */
1247
1296
  allColumns?: boolean;
1297
+ /**
1298
+ * If `true, the first row of the CSV will include the headers of the grid.
1299
+ * @default true
1300
+ */
1301
+ includeHeaders?: boolean;
1302
+ }
1303
+ /**
1304
+ * The options to apply on the Print export.
1305
+ */
1306
+ interface GridPrintExportOptions {
1307
+ /**
1308
+ * The value to be used as the print window title.
1309
+ * @default The title of the page.
1310
+ */
1311
+ fileName?: string;
1312
+ /**
1313
+ * The columns to be printed.
1314
+ * This should only be used if you want to restrict the columns exported.
1315
+ */
1316
+ fields?: string[];
1317
+ /**
1318
+ * If `true`, the hidden columns will also be printed.
1319
+ * @default false
1320
+ */
1321
+ allColumns?: boolean;
1322
+ /**
1323
+ * If `true`, the toolbar is removed for when printing.
1324
+ * @default false
1325
+ */
1326
+ hideToolbar?: boolean;
1327
+ /**
1328
+ * If `true`, the footer is removed for when printing.
1329
+ * @default false
1330
+ */
1331
+ hideFooter?: boolean;
1332
+ /**
1333
+ * If `false`, all <style> and <link type="stylesheet" /> tags from the <head> will not be copied
1334
+ * to the print window.
1335
+ * @default true
1336
+ */
1337
+ copyStyles?: boolean;
1338
+ /**
1339
+ * One or more classes passed to the print window.
1340
+ */
1341
+ bodyClassName?: string;
1342
+ /**
1343
+ * Provide Print specific styles to the print window.
1344
+ */
1345
+ pageStyle?: string | Function;
1248
1346
  }
1249
1347
  /**
1250
1348
  * Available export formats.
1251
1349
  */
1252
- declare type GridExportFormat = 'csv';
1350
+ declare type GridExportFormat = 'csv' | 'print';
1253
1351
 
1254
1352
  /**
1255
1353
  * The CSV export API interface that is available in the grid [[apiRef]].
@@ -1258,15 +1356,15 @@ interface GridCsvExportApi {
1258
1356
  /**
1259
1357
  * Returns the grid data as a CSV string.
1260
1358
  * This method is used internally by `exportDataAsCsv`.
1261
- * @param {GridExportCsvOptions} options The options to apply on the export.
1359
+ * @param {GridCsvExportOptions} options The options to apply on the export.
1262
1360
  * @returns {string} The data in the CSV format.
1263
1361
  */
1264
- getDataAsCsv: (options?: GridExportCsvOptions) => string;
1362
+ getDataAsCsv: (options?: GridCsvExportOptions) => string;
1265
1363
  /**
1266
1364
  * Downloads and exports a CSV of the grid's data.
1267
- * @param {GridExportCsvOptions} options The options to apply on the export.
1365
+ * @param {GridCsvExportOptions} options The options to apply on the export.
1268
1366
  */
1269
- exportDataAsCsv: (options?: GridExportCsvOptions) => void;
1367
+ exportDataAsCsv: (options?: GridCsvExportOptions) => void;
1270
1368
  }
1271
1369
 
1272
1370
  interface GridDensityOption {
@@ -1383,27 +1481,22 @@ interface GridFilterApi {
1383
1481
  * Updates or inserts a [[GridFilterItem]].
1384
1482
  * @param {GridFilterItem} item The filter to update.
1385
1483
  */
1386
- upsertFilter: (item: GridFilterItem) => void;
1387
- /**
1388
- * Applies a [[GridFilterItem]] on all rows. If no `linkOperator` is given, the "and" operator is used.
1389
- * @param {GridFilterItem} item The filter to be applied.
1390
- * @param {GridLinkOperator} linkOperator The link operator to use.
1391
- */
1392
- applyFilter: (item: GridFilterItem, linkOperator?: GridLinkOperator) => void;
1484
+ upsertFilterItem: (item: GridFilterItem) => void;
1393
1485
  /**
1394
1486
  * Applies all filters on all rows.
1487
+ * @ignore - do not document.
1395
1488
  */
1396
- applyFilters: () => void;
1489
+ unsafe_applyFilters: () => void;
1397
1490
  /**
1398
1491
  * Deletes a [[GridFilterItem]].
1399
1492
  * @param {GridFilterItem} item The filter to delete.
1400
1493
  */
1401
- deleteFilter: (item: GridFilterItem) => void;
1494
+ deleteFilterItem: (item: GridFilterItem) => void;
1402
1495
  /**
1403
1496
  * Changes the [[GridLinkOperator]] used to connect the filters.
1404
1497
  * @param {GridLinkOperator} operator The new link operator. It can be: `"and"` or `"or`".
1405
1498
  */
1406
- applyFilterLinkOperator: (operator: GridLinkOperator) => void;
1499
+ setFilterLinkOperator: (operator: GridLinkOperator) => void;
1407
1500
  /**
1408
1501
  * Sets the filter model to the one given by `model`.
1409
1502
  * @param {GridFilterModel} model The new filter model.
@@ -1453,6 +1546,7 @@ interface GridLocaleText {
1453
1546
  toolbarExport: React.ReactNode;
1454
1547
  toolbarExportLabel: string;
1455
1548
  toolbarExportCSV: React.ReactNode;
1549
+ toolbarExportPrint: React.ReactNode;
1456
1550
  columnsPanelTextFieldLabel: string;
1457
1551
  columnsPanelTextFieldPlaceholder: string;
1458
1552
  columnsPanelDragIconLabel: string;
@@ -1600,17 +1694,44 @@ interface GridPreferencesPanelApi {
1600
1694
  }
1601
1695
 
1602
1696
  /**
1603
- * The Row API interface that is available in the grid `apiRef`.
1697
+ * The Print export API interface that is available in the grid [[apiRef]].
1604
1698
  */
1605
- interface GridRowApi {
1699
+ interface GridPrintExportApi {
1606
1700
  /**
1607
- * Gets the full set of rows as [[Map<GridRowId, GridRowModel>]].
1608
- * @returns {Map<GridRowId, GridRowModel>} The full set of rows.
1701
+ * Print the grid's data.
1702
+ * @param {GridPrintExportOptions} options The options to apply on the export.
1609
1703
  */
1610
- getRowModels: () => Map<GridRowId, GridRowModel>;
1611
- /**
1612
- * Gets the total number of rows in the grid.
1613
- * @returns {number} The number of rows.
1704
+ exportDataAsPrint: (options?: GridPrintExportOptions) => void;
1705
+ }
1706
+
1707
+ /**
1708
+ * The disable virtualization API interface that is available in the grid [[apiRef]].
1709
+ */
1710
+ interface GridDisableVirtualizationApi {
1711
+ /**
1712
+ * Disables grid's virtualization.
1713
+ * @ignore - do not document. Remove before releasing v5 stable version.
1714
+ */
1715
+ unstable_disableVirtualization: () => void;
1716
+ /**
1717
+ * Enables grid's virtualization.
1718
+ * @ignore - do not document. Remove before releasing v5 stable version.
1719
+ */
1720
+ unstable_enableVirtualization: () => void;
1721
+ }
1722
+
1723
+ /**
1724
+ * The Row API interface that is available in the grid `apiRef`.
1725
+ */
1726
+ interface GridRowApi {
1727
+ /**
1728
+ * Gets the full set of rows as [[Map<GridRowId, GridRowModel>]].
1729
+ * @returns {Map<GridRowId, GridRowModel>} The full set of rows.
1730
+ */
1731
+ getRowModels: () => Map<GridRowId, GridRowModel>;
1732
+ /**
1733
+ * Gets the total number of rows in the grid.
1734
+ * @returns {number} The number of rows.
1614
1735
  */
1615
1736
  getRowsCount: () => number;
1616
1737
  /**
@@ -1646,6 +1767,20 @@ interface GridRowApi {
1646
1767
  * @returns {GridRowModel} The row data.
1647
1768
  */
1648
1769
  getRow: (id: GridRowId) => GridRowModel | null;
1770
+ /**
1771
+ * Gets the row node from the internal tree structure.
1772
+ * @param {GridRowId} id The id of the row.
1773
+ * @returns {GridRowTreeNodeConfig} The row data.
1774
+ * @ignore - do not document.
1775
+ */
1776
+ unstable_getRowNode: (id: GridRowId) => GridRowTreeNodeConfig | null;
1777
+ /**
1778
+ * Expand or collapse a row children.
1779
+ * @param {GridRowId} id the ID of the row to expand or collapse.
1780
+ * @param {boolean} isExpanded A boolean indicating if the row must be expanded or collapsed.
1781
+ * @ignore - do not document.
1782
+ */
1783
+ unstable_setRowExpansion: (id: GridRowId, isExpanded: boolean) => void;
1649
1784
  }
1650
1785
 
1651
1786
  /**
@@ -1750,30 +1885,6 @@ interface GridStateApi {
1750
1885
  forceUpdate: React$1.Dispatch<any>;
1751
1886
  }
1752
1887
 
1753
- /**
1754
- * The virtualization API interface that is available in the grid [[apiRef]].
1755
- */
1756
- interface GridVirtualizationApi {
1757
- /**
1758
- * Get the current containerProps.
1759
- * @returns {GridContainerProps | null} The container properties.
1760
- * @ignore - do not document.
1761
- */
1762
- getContainerPropsState: () => GridContainerProps | null;
1763
- /**
1764
- * Get the current renderContext.
1765
- * @returns {Partial<GridRenderContextProps> | undefined} The render context.
1766
- * @ignore - do not document.
1767
- */
1768
- getRenderContextState: () => Partial<GridRenderContextProps> | undefined;
1769
- /**
1770
- * Refreshes the viewport cells according to the scroll positions
1771
- * @param {boolean} forceRender If `true`, forces a rerender. By default, it is `false`.
1772
- * @ignore - do not document.
1773
- */
1774
- updateViewport: (forceRender?: boolean) => void;
1775
- }
1776
-
1777
1888
  interface Logger {
1778
1889
  debug: (...args: any[]) => void;
1779
1890
  info: (...args: any[]) => void;
@@ -1816,10 +1927,28 @@ interface GridScrollApi {
1816
1927
  scrollToIndexes: (params: Partial<GridCellIndexCoordinates>) => boolean;
1817
1928
  }
1818
1929
 
1930
+ declare type GridColumnsPreProcessing = (columns: GridColumns) => GridColumns;
1931
+ interface GridColumnsPreProcessingApi {
1932
+ /**
1933
+ * Register a column pre-processing and emit an event to re-apply all the columns pre-processing
1934
+ * @param {string} processingName Name of the pre-processing. Used to clean the previous version of the pre-processing.
1935
+ * @param {GridColumnsPreProcessing | null } columnsPreProcessing Pre-processing to register.
1936
+ * @ignore - do not document.
1937
+ */
1938
+ unstable_registerColumnPreProcessing: (processingName: string, columnsPreProcessing: GridColumnsPreProcessing) => void;
1939
+ /**
1940
+ * Apply all the columns pre-processing
1941
+ * @param {GridColumns} columns. Columns to pre-process
1942
+ * @returns {GridColumns} The pre-processed columns
1943
+ * @ignore - do not document.
1944
+ */
1945
+ unstable_applyAllColumnPreProcessing: (columns: GridColumns) => GridColumns;
1946
+ }
1947
+
1819
1948
  /**
1820
1949
  * The full grid API.
1821
1950
  */
1822
- interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridDensityApi, GridEventsApi, GridRowApi, GridEditRowApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridVirtualizationApi, GridPageApi, GridPageSizeApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridLocaleTextApi, GridControlStateApi, GridClipboardApi, GridScrollApi {
1951
+ interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridColumnsPreProcessingApi, GridRowGroupsPreProcessingApi, GridDensityApi, GridEventsApi, GridRowApi, GridEditRowApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridPageApi, GridPageSizeApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridControlStateApi, GridClipboardApi, GridScrollApi {
1823
1952
  }
1824
1953
 
1825
1954
  /**
@@ -1827,48 +1956,117 @@ interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridDensityA
1827
1956
  */
1828
1957
  declare type GridApiRef = React$1.MutableRefObject<GridApi>;
1829
1958
 
1830
- /**
1831
- * Object passed as React prop in the component override.
1832
- */
1833
- interface GridSlotComponentProps {
1834
- /**
1835
- * The GridState object containing the current grid state.
1836
- */
1837
- state: GridState;
1959
+ interface GridRowGroupParams {
1960
+ ids: GridRowId[];
1961
+ idRowsLookup: GridRowsLookup;
1962
+ }
1963
+ interface GridRowGroupingResult {
1964
+ tree: GridRowTreeConfig;
1965
+ treeDepth: number;
1966
+ ids: GridRowId[];
1967
+ idRowsLookup: GridRowsLookup;
1968
+ }
1969
+ declare type GridRowGroupingPreProcessing = (params: GridRowGroupParams) => GridRowGroupingResult | null;
1970
+ interface GridRowGroupsPreProcessingApi {
1838
1971
  /**
1839
- * The full set of rows.
1972
+ * Register a column pre-processing and emit an event to re-apply the row grouping pre-processing.
1973
+ * @param {string} processingName Name of the pre-processing. Used to clean the previous version of the pre-processing.
1974
+ * @param {GridRowGroupingPreProcessing} columnsPreProcessing Pre-processing to register.
1975
+ * @ignore - do not document.
1840
1976
  */
1841
- rows: GridRowModel[];
1977
+ unstable_registerRowGroupsBuilder: (processingName: string, groupingFunction: GridRowGroupingPreProcessing | null) => void;
1842
1978
  /**
1843
- * The full set of columns.
1979
+ * Apply the first row grouping pre-processing that does not return null.
1980
+ * @param {GridRowsLookup} rowsLookup. Lookup of the rows to group.
1981
+ * @param {GridRowId[]} List of the rows IDs.
1982
+ * @returns {GridRowGroupingResult} The grouped rows.
1983
+ * @ignore - do not document.
1844
1984
  */
1845
- columns: GridColumns;
1985
+ unstable_groupRows: (params: GridRowGroupParams) => GridRowGroupingResult;
1986
+ }
1987
+
1988
+ interface GridRowsState extends GridRowGroupingResult {
1846
1989
  /**
1847
- * GridApiRef that let you manipulate the grid.
1990
+ * Amount of rows before applying the filtering.
1991
+ * It also count the expanded and collapsed children rows.
1848
1992
  */
1849
- apiRef: GridApiRef;
1993
+ totalRowCount: number;
1850
1994
  /**
1851
- * The ref of the inner div Element of the grid.
1995
+ * Amount of rows before applying the filtering.
1996
+ * It does not count the expanded children rows.
1852
1997
  */
1853
- rootElement: GridRootContainerRef;
1998
+ totalTopLevelRowCount: number;
1854
1999
  }
1855
2000
 
1856
- /**
1857
- * Object passed as parameter of the column sorted event.
1858
- */
1859
- interface GridSortModelParams {
1860
- /**
1861
- * The sort model used to sort the grid.
1862
- */
2001
+ interface GridSortingState {
2002
+ sortedRows: GridRowId[];
1863
2003
  sortModel: GridSortModel;
2004
+ }
2005
+ interface GridSortingInitialState {
2006
+ sortModel?: GridSortModel;
2007
+ }
2008
+
2009
+ interface GridRenderingState {
2010
+ virtualPage: number;
2011
+ virtualRowsCount: number;
2012
+ renderContext: Partial<GridRenderContextProps> | null;
2013
+ realScroll: GridScrollParams;
2014
+ renderingZoneScroll: GridScrollParams;
2015
+ }
2016
+
2017
+ interface GridPaginationState {
2018
+ pageSize: number;
2019
+ page: number;
2020
+ pageCount: number;
2021
+ rowCount: number;
2022
+ }
2023
+
2024
+ declare const getDefaultGridFilterModel: () => GridFilterModel;
2025
+ interface GridFilterState {
2026
+ filterModel: GridFilterModel;
1864
2027
  /**
1865
- * The full set of columns.
2028
+ * Visibility status for each row.
2029
+ * A row is visible if it is passing the filters AND if its parent is expanded.
2030
+ * If a row is not registered in this lookup, it is visible.
1866
2031
  */
1867
- columns: GridColumns;
2032
+ visibleRowsLookup: Record<GridRowId, boolean>;
1868
2033
  /**
1869
- * Api that let you manipulate the grid.
2034
+ * Amount of descendants that are passing the filters.
2035
+ * For the Tree Data, it includes all the intermediate depth levels (= amount of children + amount of grand children + ...).
2036
+ * For the Row Grouping by Column, it does not include the intermediate depth levels (= amount of descendant of maximum depth).
2037
+ * If a row is not registered in this lookup, it is supposed to have no descendant passing the filters..
1870
2038
  */
1871
- api: any;
2039
+ filteredDescendantCountLookup: Record<GridRowId, number>;
2040
+ }
2041
+ interface GridFilterInitialState {
2042
+ filterModel?: GridFilterModel;
2043
+ }
2044
+
2045
+ interface GridState {
2046
+ rows: GridRowsState;
2047
+ editRows: GridEditRowsModel;
2048
+ pagination: GridPaginationState;
2049
+ columns: GridColumnsState;
2050
+ columnReorder: GridColumnReorderState;
2051
+ columnResize: GridColumnResizeState;
2052
+ columnMenu: GridColumnMenuState;
2053
+ rendering: GridRenderingState;
2054
+ containerSizes: GridContainerProps | null;
2055
+ viewportSizes: GridViewportSizeState;
2056
+ scrollBar: GridScrollBarState;
2057
+ sorting: GridSortingState;
2058
+ focus: GridFocusState;
2059
+ tabIndex: GridTabIndexState;
2060
+ selection: GridSelectionModel;
2061
+ filter: GridFilterState;
2062
+ preferencePanel: GridPreferencePanelState;
2063
+ density: GridDensityState;
2064
+ error?: any;
2065
+ }
2066
+ interface GridInitialState {
2067
+ sorting?: GridSortingInitialState;
2068
+ filter?: GridFilterInitialState;
2069
+ preferencePanel?: GridPreferencePanelInitialState;
1872
2070
  }
1873
2071
 
1874
2072
  interface GridStateChangeParams {
@@ -1876,87 +2074,92 @@ interface GridStateChangeParams {
1876
2074
  api: GridApi;
1877
2075
  }
1878
2076
 
1879
- /**
1880
- * Object passed as parameter of the virtual rows change event.
1881
- */
1882
- interface GridViewportRowsChangeParams {
1883
- /**
1884
- * The index of the first row in the viewport.
1885
- */
1886
- firstRowIndex: number;
1887
- /**
1888
- * The index of the last row in the viewport.
1889
- */
1890
- lastRowIndex: number;
1891
- }
1892
-
1893
2077
  interface GridRowSelectionCheckboxParams {
1894
2078
  value: boolean;
1895
2079
  id: GridRowId;
1896
2080
  }
1897
2081
 
2082
+ interface GridHeaderSelectionCheckboxParams {
2083
+ value: boolean;
2084
+ }
2085
+
1898
2086
  /**
1899
2087
  * Set of icons used in the grid component UI.
1900
2088
  */
1901
2089
  interface GridIconSlotsComponent {
1902
2090
  /**
1903
2091
  * Icon displayed on the boolean cell to represent the true value.
2092
+ * @default GridCheckIcon
1904
2093
  */
1905
2094
  BooleanCellTrueIcon: React$1.JSXElementConstructor<any>;
1906
2095
  /**
1907
2096
  * Icon displayed on the boolean cell to represent the false value.
2097
+ * @default GridCloseIcon
1908
2098
  */
1909
2099
  BooleanCellFalseIcon: React$1.JSXElementConstructor<any>;
1910
2100
  /**
1911
2101
  * Icon displayed on the side of the column header title to display the filter input component.
2102
+ * @default GridTripleDotsVerticalIcon
1912
2103
  */
1913
2104
  ColumnMenuIcon: React$1.JSXElementConstructor<any>;
1914
2105
  /**
1915
2106
  * Icon displayed on the open filter button present in the toolbar by default.
2107
+ * @default GridFilterListIcon
1916
2108
  */
1917
2109
  OpenFilterButtonIcon: React$1.JSXElementConstructor<any>;
1918
2110
  /**
1919
2111
  * Icon displayed on the column header menu to show that a filter has been applied to the column.
2112
+ * @default GridFilterAltIcon
1920
2113
  */
1921
2114
  ColumnFilteredIcon: React$1.JSXElementConstructor<any>;
1922
2115
  /**
1923
2116
  * Icon displayed on the column menu selector tab.
2117
+ * @default GridColumnIcon
1924
2118
  */
1925
2119
  ColumnSelectorIcon: React$1.JSXElementConstructor<any>;
1926
2120
  /**
1927
2121
  * Icon displayed on the side of the column header title when unsorted.
2122
+ * @default GridColumnUnsortedIcon
1928
2123
  */
1929
2124
  ColumnUnsortedIcon: React$1.JSXElementConstructor<any> | null;
1930
2125
  /**
1931
2126
  * Icon displayed on the side of the column header title when sorted in ascending order.
2127
+ * @default GridArrowUpwardIcon
1932
2128
  */
1933
2129
  ColumnSortedAscendingIcon: React$1.JSXElementConstructor<any> | null;
1934
2130
  /**
1935
2131
  * Icon displayed on the side of the column header title when sorted in descending order.
2132
+ * @default GridArrowDownwardIcon
1936
2133
  */
1937
2134
  ColumnSortedDescendingIcon: React$1.JSXElementConstructor<any> | null;
1938
2135
  /**
1939
2136
  * Icon displayed in between two column headers that allows to resize the column header.
2137
+ * @default GridSeparatorIcon
1940
2138
  */
1941
2139
  ColumnResizeIcon: React$1.JSXElementConstructor<any>;
1942
2140
  /**
1943
2141
  * Icon displayed on the compact density option in the toolbar.
2142
+ * @default GridViewHeadlineIcon
1944
2143
  */
1945
2144
  DensityCompactIcon: React$1.JSXElementConstructor<any>;
1946
2145
  /**
1947
2146
  * Icon displayed on the standard density option in the toolbar.
2147
+ * @default GridTableRowsIcon
1948
2148
  */
1949
2149
  DensityStandardIcon: React$1.JSXElementConstructor<any>;
1950
2150
  /**
1951
2151
  * Icon displayed on the "comfortable" density option in the toolbar.
2152
+ * @default GridViewStreamIcon
1952
2153
  */
1953
2154
  DensityComfortableIcon: React$1.JSXElementConstructor<any>;
1954
2155
  /**
1955
2156
  * Icon displayed on the open export button present in the toolbar by default.
2157
+ * @default GridSaveAltIcon
1956
2158
  */
1957
2159
  ExportIcon: React$1.JSXElementConstructor<any>;
1958
2160
  /**
1959
2161
  * Icon displayed on the `actions` column type to open the menu.
2162
+ * @default GridMoreVertIcon
1960
2163
  */
1961
2164
  MoreActionsIcon: React$1.JSXElementConstructor<any>;
1962
2165
  }
@@ -1966,63 +2169,85 @@ interface GridIconSlotsComponent {
1966
2169
  *
1967
2170
  */
1968
2171
  interface GridSlotsComponent extends GridIconSlotsComponent {
2172
+ /**
2173
+ * Component rendered for each cell.
2174
+ */
2175
+ Cell: React$1.JSXElementConstructor<any>;
1969
2176
  /**
1970
2177
  * The custom Checkbox component used in the grid for both header and cells.
2178
+ * @default Checkbox
1971
2179
  */
1972
2180
  Checkbox: React$1.JSXElementConstructor<any>;
1973
2181
  /**
1974
2182
  * Column menu component rendered by clicking on the 3 dots "kebab" icon in column headers.
2183
+ * @default GridColumnMenu
1975
2184
  */
1976
2185
  ColumnMenu: React$1.JSXElementConstructor<any>;
1977
2186
  /**
1978
2187
  * Error overlay component rendered above the grid when an error is caught.
2188
+ * @default ErrorOverlay
1979
2189
  */
1980
2190
  ErrorOverlay: React$1.JSXElementConstructor<any>;
1981
2191
  /**
1982
2192
  * Footer component rendered at the bottom of the grid viewport.
2193
+ * @default GridFooter
1983
2194
  */
1984
2195
  Footer: React$1.JSXElementConstructor<any>;
1985
2196
  /**
1986
2197
  * Header component rendered above the grid column header bar.
1987
- * Prefer using the `Toolbar` slot. You should never need to use this slot. TODO remove.
2198
+ * Prefer using the `Toolbar` slot. You should never need to use this slot.
2199
+ * @default GridHeader
1988
2200
  */
1989
2201
  Header: React$1.JSXElementConstructor<any>;
1990
2202
  /**
1991
2203
  * Toolbar component rendered inside the Header component.
2204
+ * @default null
1992
2205
  */
1993
2206
  Toolbar: React$1.JSXElementConstructor<any> | null;
1994
2207
  /**
1995
2208
  * PreferencesPanel component rendered inside the Header component.
2209
+ * @default GridPreferencesPanel
1996
2210
  */
1997
2211
  PreferencesPanel: React$1.JSXElementConstructor<any>;
1998
2212
  /**
1999
2213
  * Loading overlay component rendered when the grid is in a loading state.
2214
+ * @default GridLoadingOverlay
2000
2215
  */
2001
2216
  LoadingOverlay: React$1.JSXElementConstructor<any>;
2002
2217
  /**
2003
2218
  * No results overlay component rendered when the grid has no results after filtering.
2219
+ * @default GridNoResultsOverlay
2004
2220
  */
2005
2221
  NoResultsOverlay: React$1.JSXElementConstructor<any>;
2006
2222
  /**
2007
2223
  * No rows overlay component rendered when the grid has no rows.
2224
+ * @default GridNoRowsOverlay
2008
2225
  */
2009
2226
  NoRowsOverlay: React$1.JSXElementConstructor<any>;
2010
2227
  /**
2011
2228
  * Pagination component rendered in the grid footer by default.
2229
+ * @default Pagination
2012
2230
  */
2013
2231
  Pagination: React$1.JSXElementConstructor<any> | null;
2014
2232
  /**
2015
2233
  * Filter panel component rendered when clicking the filter button.
2234
+ * @default GridFilterPanel
2016
2235
  */
2017
2236
  FilterPanel: React$1.JSXElementConstructor<any>;
2018
2237
  /**
2019
2238
  * GridColumns panel component rendered when clicking the columns button.
2239
+ * @default GridColumnsPanel
2020
2240
  */
2021
2241
  ColumnsPanel: React$1.JSXElementConstructor<any>;
2022
2242
  /**
2023
2243
  * Panel component wrapping the filters and columns panels.
2244
+ * @default GridPanel
2024
2245
  */
2025
2246
  Panel: React$1.JSXElementConstructor<any>;
2247
+ /**
2248
+ * Component rendered for each row.
2249
+ */
2250
+ Row: React$1.JSXElementConstructor<any>;
2026
2251
  }
2027
2252
 
2028
2253
  /**
@@ -2030,6 +2255,7 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
2030
2255
  */
2031
2256
  interface GridSlotsComponentsProps {
2032
2257
  checkbox?: any;
2258
+ cell?: any;
2033
2259
  columnMenu?: any;
2034
2260
  columnsPanel?: any;
2035
2261
  errorOverlay?: any;
@@ -2042,6 +2268,7 @@ interface GridSlotsComponentsProps {
2042
2268
  pagination?: any;
2043
2269
  panel?: any;
2044
2270
  preferencesPanel?: any;
2271
+ row?: any;
2045
2272
  toolbar?: any;
2046
2273
  }
2047
2274
 
@@ -2055,20 +2282,25 @@ interface GridCellProps {
2055
2282
  hasFocus?: boolean;
2056
2283
  height: number;
2057
2284
  isEditable?: boolean;
2058
- isSelected?: boolean;
2059
- rowIndex: number;
2060
2285
  showRightBorder?: boolean;
2061
2286
  value?: GridCellValue;
2062
2287
  width: number;
2063
2288
  cellMode?: GridCellMode;
2064
2289
  children: React$1.ReactNode;
2065
2290
  tabIndex: 0 | -1;
2291
+ onClick?: React$1.MouseEventHandler<HTMLDivElement>;
2292
+ onDoubleClick?: React$1.MouseEventHandler<HTMLDivElement>;
2293
+ onMouseDown?: React$1.MouseEventHandler<HTMLDivElement>;
2294
+ onMouseUp?: React$1.MouseEventHandler<HTMLDivElement>;
2295
+ onKeyDown?: React$1.KeyboardEventHandler<HTMLDivElement>;
2296
+ onDragEnter?: React$1.DragEventHandler<HTMLDivElement>;
2297
+ onDragOver?: React$1.DragEventHandler<HTMLDivElement>;
2298
+ [x: string]: any;
2066
2299
  }
2067
- declare function GridCellRaw(props: GridCellProps): JSX.Element;
2068
- declare namespace GridCellRaw {
2300
+ declare function GridCell(props: GridCellProps): JSX.Element;
2301
+ declare namespace GridCell {
2069
2302
  var propTypes: any;
2070
- }
2071
- declare const GridCell: React$1.MemoExoticComponent<typeof GridCellRaw>;
2303
+ }
2072
2304
 
2073
2305
  declare function GridEditInputCell(props: GridRenderEditCellParams & InputBaseProps): JSX.Element;
2074
2306
  declare namespace GridEditInputCell {
@@ -2084,39 +2316,6 @@ declare namespace GridEditSingleSelectCell {
2084
2316
 
2085
2317
  declare const renderEditSingleSelectCell: (params: any) => JSX.Element;
2086
2318
 
2087
- interface GridEmptyCellProps {
2088
- width?: number;
2089
- height?: number;
2090
- }
2091
- declare function GridEmptyCellRaw({ width, height }: GridEmptyCellProps): JSX.Element | null;
2092
- declare namespace GridEmptyCellRaw {
2093
- var propTypes: any;
2094
- }
2095
- declare const GridEmptyCell: React$1.MemoExoticComponent<typeof GridEmptyCellRaw>;
2096
-
2097
- interface RowCellsProps {
2098
- columns: GridStateColDef[];
2099
- extendRowFullWidth: boolean;
2100
- firstColIdx: number;
2101
- id: GridRowId;
2102
- hasScrollX: boolean;
2103
- hasScrollY: boolean;
2104
- height: number;
2105
- getCellClassName?: (params: GridCellParams) => string;
2106
- lastColIdx: number;
2107
- row: GridRowModel;
2108
- rowIndex: number;
2109
- showCellRightBorder: boolean;
2110
- cellFocus: GridCellIdentifier | null;
2111
- cellTabIndex: GridCellIdentifier | null;
2112
- isSelected: boolean;
2113
- editRowState?: GridEditRowProps;
2114
- }
2115
- declare function GridRowCells(props: RowCellsProps): JSX.Element;
2116
- declare namespace GridRowCells {
2117
- var propTypes: any;
2118
- }
2119
-
2120
2319
  declare type MenuPosition = 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | undefined;
2121
2320
  interface GridMenuProps extends Omit<PopperProps, 'onKeyDown'> {
2122
2321
  open: boolean;
@@ -2129,13 +2328,13 @@ declare const GridMenu: {
2129
2328
  propTypes: any;
2130
2329
  };
2131
2330
 
2132
- declare type GridActionsCellProps = GridRenderCellParams & Pick<GridMenuProps, 'position'>;
2331
+ declare type GridActionsCellProps = Pick<GridRenderCellParams, 'colDef' | 'id' | 'api'> & Pick<GridMenuProps, 'position'>;
2133
2332
  declare const GridActionsCell: {
2134
2333
  (props: GridActionsCellProps): JSX.Element;
2135
2334
  propTypes: any;
2136
2335
  };
2137
2336
 
2138
- declare const renderActionsCell: (params: any) => JSX.Element;
2337
+ declare const renderActionsCell: (params: GridRenderCellParams) => JSX.Element;
2139
2338
 
2140
2339
  declare type GridRootProps = React$1.HTMLAttributes<HTMLDivElement>;
2141
2340
  declare const GridRoot: React$1.ForwardRefExoticComponent<GridRootProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -2143,23 +2342,12 @@ declare const GridRoot: React$1.ForwardRefExoticComponent<GridRootProps & React$
2143
2342
  declare type GridColumnsContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2144
2343
  declare const GridColumnsContainer: React$1.ForwardRefExoticComponent<GridColumnsContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2145
2344
 
2146
- declare type GridDataContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2147
- declare function GridDataContainer(props: GridDataContainerProps): JSX.Element;
2148
-
2149
2345
  declare type GridFooterContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2150
2346
  declare const GridFooterContainer: React$1.ForwardRefExoticComponent<GridFooterContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2151
2347
 
2152
2348
  declare type GridOverlayProps = React$1.HTMLAttributes<HTMLDivElement>;
2153
2349
  declare const GridOverlay: React$1.ForwardRefExoticComponent<GridOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
2154
2350
 
2155
- interface GridWindowProps extends React$1.HTMLAttributes<HTMLDivElement> {
2156
- size: {
2157
- width: number;
2158
- height: number;
2159
- };
2160
- }
2161
- declare const GridWindow: React$1.ForwardRefExoticComponent<GridWindowProps & React$1.RefAttributes<HTMLDivElement>>;
2162
-
2163
2351
  declare type GridToolbarContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2164
2352
  declare const GridToolbarContainer: React$1.ForwardRefExoticComponent<GridToolbarContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2165
2353
 
@@ -2216,8 +2404,7 @@ declare namespace GridColumnHeaderTitle {
2216
2404
  var propTypes: any;
2217
2405
  }
2218
2406
 
2219
- declare const gridScrollbarStateSelector: (state: GridState) => GridScrollBarState;
2220
- declare const GridColumnsHeader: React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLDivElement>>;
2407
+ declare const GridColumnsHeader: React$1.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React$1.RefAttributes<HTMLDivElement>>;
2221
2408
 
2222
2409
  interface GridColumnHeadersItemCollectionProps {
2223
2410
  columns: GridStateColDef[];
@@ -2229,9 +2416,12 @@ declare namespace GridColumnHeadersItemCollection {
2229
2416
  var propTypes: any;
2230
2417
  }
2231
2418
 
2232
- declare const GridCellCheckboxForwardRef: React$1.ForwardRefExoticComponent<GridCellParams & React$1.RefAttributes<HTMLInputElement>>;
2419
+ declare type GridIconButtonContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2420
+ declare const GridIconButtonContainer: React$1.ForwardRefExoticComponent<GridIconButtonContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2421
+
2422
+ declare const GridCellCheckboxForwardRef: React$1.ForwardRefExoticComponent<GridCellParams<any, any, any> & React$1.RefAttributes<HTMLInputElement>>;
2233
2423
 
2234
- declare const GridCellCheckboxRenderer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<GridCellParams & React$1.RefAttributes<HTMLInputElement>>>;
2424
+ declare const GridCellCheckboxRenderer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<GridCellParams<any, any, any> & React$1.RefAttributes<HTMLInputElement>>>;
2235
2425
 
2236
2426
  declare const GridHeaderCheckbox: React$1.ForwardRefExoticComponent<GridColumnHeaderParams & React$1.RefAttributes<HTMLInputElement>>;
2237
2427
 
@@ -2349,32 +2539,6 @@ declare const GridColumnMenuContainer: React$1.ForwardRefExoticComponent<GridCol
2349
2539
 
2350
2540
  declare function GridColumnsPanel(): JSX.Element;
2351
2541
 
2352
- /**
2353
- * TODO import from the v5 directly
2354
- *
2355
- * Remove properties `K` from `T`.
2356
- * Distributive for union types.
2357
- *
2358
- * @internal
2359
- */
2360
- declare type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
2361
- /**
2362
- * TODO import from the core v5 directly
2363
- *
2364
- * @internal ONLY USE FROM WITHIN mui-org/material-ui
2365
- *
2366
- * Internal helper type for conform (describeConformance) components
2367
- * However, we don't declare classes on this type.
2368
- * It is recommended to declare them manually with an interface so that each class can have a separate JSDOC.
2369
- */
2370
- declare type InternalStandardProps<C, Removals extends keyof C = never> = DistributiveOmit<C, 'classes' | Removals> & StyledComponentProps<never> & {
2371
- ref?: C extends {
2372
- ref?: infer RefType;
2373
- } ? RefType : React$1.Ref<unknown>;
2374
- className?: string;
2375
- style?: React$1.CSSProperties;
2376
- };
2377
-
2378
2542
  interface GridPanelClasses {
2379
2543
  /** Styles applied to the root element. */
2380
2544
  root: string;
@@ -2389,7 +2553,7 @@ interface GridPanelProps extends InternalStandardProps<PopperProps, 'children'>
2389
2553
  classes?: Partial<GridPanelClasses>;
2390
2554
  open: boolean;
2391
2555
  }
2392
- declare const gridPanelClasses: Record<"root" | "paper", string>;
2556
+ declare const gridPanelClasses: Record<"panel" | "paper", string>;
2393
2557
  declare const GridPanel: React$1.ForwardRefExoticComponent<Pick<GridPanelProps, "classes" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition"> & React$1.RefAttributes<HTMLDivElement>>;
2394
2558
 
2395
2559
  declare function GridPanelContent(props: React$1.PropsWithChildren<React$1.HTMLAttributes<HTMLDivElement>>): JSX.Element;
@@ -2428,18 +2592,19 @@ declare namespace GridFilterInputValue {
2428
2592
 
2429
2593
  declare function GridFilterPanel(): JSX.Element;
2430
2594
 
2431
- declare const GridToolbar: (props: GridToolbarContainerProps) => JSX.Element;
2595
+ declare const GridToolbar: React$1.ForwardRefExoticComponent<GridToolbarContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2432
2596
 
2433
- declare const GridToolbarColumnsButton: (props: ButtonProps) => JSX.Element;
2597
+ declare const GridToolbarColumnsButton: React$1.ForwardRefExoticComponent<Pick<ButtonProps<"button", {}>, keyof _mui_material_OverridableComponent.CommonProps | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value"> & React$1.RefAttributes<HTMLButtonElement>>;
2434
2598
 
2435
- declare const GridToolbarDensitySelector: (props: ButtonProps) => JSX.Element;
2599
+ declare const GridToolbarDensitySelector: React$1.ForwardRefExoticComponent<Pick<ButtonProps<"button", {}>, keyof _mui_material_OverridableComponent.CommonProps | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value"> & React$1.RefAttributes<HTMLButtonElement>>;
2436
2600
 
2437
2601
  interface GridToolbarExportProps extends ButtonProps {
2438
- csvOptions?: GridExportCsvOptions;
2602
+ csvOptions?: GridCsvExportOptions;
2603
+ printOptions?: GridPrintExportOptions;
2439
2604
  }
2440
- declare const GridToolbarExport: React$1.ForwardRefExoticComponent<Pick<GridToolbarExportProps, "className" | "style" | "classes" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "csvOptions"> & React$1.RefAttributes<HTMLButtonElement>>;
2605
+ declare const GridToolbarExport: React$1.ForwardRefExoticComponent<Pick<GridToolbarExportProps, "className" | "style" | "classes" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "csvOptions" | "printOptions"> & React$1.RefAttributes<HTMLButtonElement>>;
2441
2606
 
2442
- interface GridToolbarFilterButtonProps extends Omit<TooltipProps, 'title' | 'children'> {
2607
+ interface GridToolbarFilterButtonProps extends Omit<TooltipProps, 'title' | 'children' | 'componentsProps'> {
2443
2608
  /**
2444
2609
  * The props used for each slot inside.
2445
2610
  * @default {}
@@ -2448,7 +2613,7 @@ interface GridToolbarFilterButtonProps extends Omit<TooltipProps, 'title' | 'chi
2448
2613
  button?: ButtonProps;
2449
2614
  };
2450
2615
  }
2451
- declare const GridToolbarFilterButton: React$1.ForwardRefExoticComponent<Pick<GridToolbarFilterButtonProps, "color" | "translate" | "hidden" | "style" | "open" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onClose" | "onOpen" | "placement" | "PopperComponent" | "PopperProps" | "sx" | "TransitionComponent" | "TransitionProps" | "componentsProps"> & React$1.RefAttributes<HTMLButtonElement>>;
2616
+ declare const GridToolbarFilterButton: React$1.ForwardRefExoticComponent<Pick<GridToolbarFilterButtonProps, "classes" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "open" | "componentsProps" | "arrow" | "components" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onClose" | "onOpen" | "placement" | "PopperComponent" | "PopperProps" | "sx" | "TransitionComponent" | "TransitionProps"> & React$1.RefAttributes<HTMLButtonElement>>;
2452
2617
 
2453
2618
  declare const GridApiContext: React$1.Context<GridApiRef | undefined>;
2454
2619
 
@@ -2505,11 +2670,6 @@ declare const GridNoRowsOverlay: React$1.ForwardRefExoticComponent<GridOverlayPr
2505
2670
 
2506
2671
  declare const GridPagination: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
2507
2672
 
2508
- declare type WithChildren = {
2509
- children?: React$1.ReactNode;
2510
- };
2511
- declare const GridRenderingZone: React$1.ForwardRefExoticComponent<ElementSize & WithChildren & React$1.RefAttributes<HTMLDivElement>>;
2512
-
2513
2673
  interface RowCountProps {
2514
2674
  rowCount: number;
2515
2675
  visibleRowCount: number;
@@ -2517,12 +2677,24 @@ interface RowCountProps {
2517
2677
  declare const GridRowCount: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & RowCountProps & React$1.RefAttributes<HTMLDivElement>>;
2518
2678
 
2519
2679
  interface GridRowProps {
2520
- id: GridRowId;
2680
+ rowId: GridRowId;
2521
2681
  selected: boolean;
2522
- rowIndex: number;
2523
- children: React$1.ReactNode;
2682
+ index: number;
2683
+ rowHeight: number;
2684
+ containerWidth: number;
2685
+ row: GridRowModel;
2686
+ firstColumnToRender: number;
2687
+ lastColumnToRender: number;
2688
+ visibleColumns: GridStateColDef[];
2689
+ renderedColumns: GridStateColDef[];
2690
+ cellFocus: GridCellIdentifier | null;
2691
+ cellTabIndex: GridCellIdentifier | null;
2692
+ editRowsState: GridEditRowsModel;
2693
+ scrollBarState: GridScrollBarState;
2694
+ onClick?: React$1.MouseEventHandler<HTMLDivElement>;
2695
+ onDoubleClick?: React$1.MouseEventHandler<HTMLDivElement>;
2524
2696
  }
2525
- declare function GridRow(props: GridRowProps): JSX.Element;
2697
+ declare function GridRow(props: React$1.HTMLAttributes<HTMLDivElement> & GridRowProps): JSX.Element;
2526
2698
  declare namespace GridRow {
2527
2699
  var propTypes: any;
2528
2700
  }
@@ -2532,17 +2704,6 @@ interface SelectedRowCountProps {
2532
2704
  }
2533
2705
  declare const GridSelectedRowCount: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & SelectedRowCountProps & React$1.RefAttributes<HTMLDivElement>>;
2534
2706
 
2535
- interface GridStickyContainerProps extends ElementSize {
2536
- children: React$1.ReactNode;
2537
- }
2538
- declare function GridStickyContainer(props: GridStickyContainerProps): JSX.Element;
2539
- declare namespace GridStickyContainer {
2540
- var propTypes: any;
2541
- }
2542
-
2543
- declare type ViewportType = React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLDivElement>>;
2544
- declare const GridViewport: ViewportType;
2545
-
2546
2707
  interface ScrollAreaProps {
2547
2708
  scrollDirection: 'left' | 'right';
2548
2709
  }
@@ -2572,7 +2733,7 @@ declare enum GridEvents {
2572
2733
  */
2573
2734
  unmount = "unmount",
2574
2735
  /**
2575
- * Fired when the mode of a cell changes. Called with a [[GridCellModeChangeParams]] object.
2736
+ * Fired when the mode of a cell changes. Called with a [[GridCellParams]] object.
2576
2737
  * @ignore - do not document
2577
2738
  */
2578
2739
  cellModeChange = "cellModeChange",
@@ -2592,34 +2753,10 @@ declare enum GridEvents {
2592
2753
  * Fired when a `mouseup` event happens in a cell. Called with a [[GridCellParams]] object.
2593
2754
  */
2594
2755
  cellMouseUp = "cellMouseUp",
2595
- /**
2596
- * Fired when a `mouseover` event happens in a cell. Called with a [[GridCellParams]] object.
2597
- */
2598
- cellOver = "cellOver",
2599
- /**
2600
- * Fired when a `mouseout` event happens in a cell. Called with a [[GridCellParams]] object.
2601
- */
2602
- cellOut = "cellOut",
2603
- /**
2604
- * Fired when a `mouseenter` event happens in a cell. Called with a [[GridCellParams]] object.
2605
- */
2606
- cellEnter = "cellEnter",
2607
- /**
2608
- * Fired when a `mouseleave` event happens in a cell. Called with a [[GridCellParams]] object.
2609
- */
2610
- cellLeave = "cellLeave",
2611
2756
  /**
2612
2757
  * Fired when a `keydown` event happens in a cell. Called with a [[GridCellParams]] object.
2613
2758
  */
2614
2759
  cellKeyDown = "cellKeyDown",
2615
- /**
2616
- * Fired when the `blur` event of a cell is triggered. Called with a [[GridCellParams]] object.
2617
- */
2618
- cellBlur = "cellBlur",
2619
- /**
2620
- * Fired when a cell gains focus. Called with a [[GridCellParams]] object.
2621
- */
2622
- cellFocus = "cellFocus",
2623
2760
  /**
2624
2761
  * Fired when a cell gains focus. Called with a [[GridCellParams]] object.
2625
2762
  */
@@ -2694,22 +2831,6 @@ declare enum GridEvents {
2694
2831
  * Fired when a row is double-clicked. Called with a [[GridRowParams]] object.
2695
2832
  */
2696
2833
  rowDoubleClick = "rowDoubleClick",
2697
- /**
2698
- * Fired when a `mouseover` event happens in a row. Called with a [[GridRowParams]] object.
2699
- */
2700
- rowOver = "rowOver",
2701
- /**
2702
- * Fired when a `mouseout` event happens in a row. Called with a [[GridRowParams]] object.
2703
- */
2704
- rowOut = "rowOut",
2705
- /**
2706
- * Fired when a `mouseenter` event happens in a row. Called with a [[GridRowParams]] object.
2707
- */
2708
- rowEnter = "rowEnter",
2709
- /**
2710
- * Fired when a `mouseleave` event happens in a row. Called with a [[GridRowParams]] object.
2711
- */
2712
- rowLeave = "rowLeave",
2713
2834
  /**
2714
2835
  * Fired when the row editing model changes. Called with a [[GridEditRowModelParams]] object.
2715
2836
  */
@@ -2793,6 +2914,11 @@ declare enum GridEvents {
2793
2914
  * Called with a [[GridSelectionModelChangeParams]] object.
2794
2915
  */
2795
2916
  selectionChange = "selectionChange",
2917
+ /**
2918
+ * Fired when the value of the selection checkbox of the header is changed
2919
+ * Called with a [[GridHeaderSelectionCheckboxParams]] object.
2920
+ */
2921
+ headerSelectionCheckboxChange = "headerSelectionCheckboxChange",
2796
2922
  /**
2797
2923
  * Fired when the value of the selection checkbox of a row is changed
2798
2924
  * Called with a [[GridRowSelectionCheckboxParams]] object.
@@ -2841,15 +2967,35 @@ declare enum GridEvents {
2841
2967
  */
2842
2968
  columnOrderChange = "columnOrderChange",
2843
2969
  /**
2844
- * Fired when all the rows are updated.
2970
+ * Fired when the rows are updated.
2845
2971
  * @ignore - do not document.
2846
2972
  */
2847
2973
  rowsSet = "rowsSet",
2974
+ /**
2975
+ * Fired when the expansion of a row is changed. Called with a [[GridRowTreeNodeConfig]] object.
2976
+ * @ignore - do not document.
2977
+ */
2978
+ rowExpansionChange = "rowExpansionChange",
2979
+ /**
2980
+ * Fired when the visible rows are updated
2981
+ * @ignore - do not document.
2982
+ */
2983
+ visibleRowsSet = "visibleRowsSet",
2848
2984
  /**
2849
2985
  * Fired when the columns state is changed.
2850
2986
  * Called with an array of strings corresponding to the field names.
2851
2987
  */
2852
2988
  columnsChange = "columnsChange",
2989
+ /**
2990
+ * Fired when a column pre-processing is changed
2991
+ * @ignore - do not document.
2992
+ */
2993
+ columnsPreProcessingChange = "columnsPreProcessingChange",
2994
+ /**
2995
+ * Fired when the row grouping function is changed
2996
+ * @ignore - do not document.
2997
+ */
2998
+ rowGroupsPreProcessingChange = "rowGroupsPreProcessingChange",
2853
2999
  /**
2854
3000
  * Fired when the sort model changes.
2855
3001
  * Called with a [[GridSortModelParams]] object.
@@ -2867,56 +3013,1005 @@ declare enum GridEvents {
2867
3013
  /**
2868
3014
  * Fired when a column visibility changes. Called with a [[GridColumnVisibilityChangeParams]] object.
2869
3015
  */
2870
- columnVisibilityChange = "columnVisibilityChange",
2871
- /**
2872
- * Fired when the rows in the viewport is changed. Called with a [[GridViewportRowsChange]] object.
2873
- */
2874
- viewportRowsChange = "viewportRowsChange"
3016
+ columnVisibilityChange = "columnVisibilityChange"
2875
3017
  }
2876
3018
 
2877
- declare const GRID_CSS_CLASS_PREFIX = "MuiDataGrid";
2878
- declare const GRID_ROOT_CSS_CLASS_SUFFIX = "root";
2879
- declare const GRID_COLUMN_HEADER_CSS_CLASS_SUFFIX = "columnHeader";
2880
- declare const GRID_ROW_CSS_CLASS_SUFFIX = "row";
2881
- declare const GRID_CELL_CSS_CLASS_SUFFIX = "cell";
2882
- declare const GRID_COLUMN_HEADER_CSS_CLASS: string;
2883
- declare const GRID_ROW_CSS_CLASS: string;
2884
- declare const GRID_CELL_CSS_CLASS: string;
2885
- declare const GRID_COLUMN_HEADER_SEPARATOR_RESIZABLE_CSS_CLASS: string;
2886
- declare const GRID_COLUMN_HEADER_TITLE_CSS_CLASS: string;
2887
- declare const GRID_COLUMN_HEADER_DROP_ZONE_CSS_CLASS: string;
2888
- declare const GRID_COLUMN_HEADER_DRAGGING_CSS_CLASS: string;
2889
-
2890
3019
  declare const GRID_DEFAULT_LOCALE_TEXT: GridLocaleText;
2891
3020
 
2892
- /**
2893
- * @requires useGridColumnResize (event)
2894
- * @requires useGridInfiniteLoader (event)
2895
- * @requires useGridVirtualization (event)
2896
- */
2897
- declare const useGridColumnMenu: (apiRef: GridApiRef) => void;
2898
-
2899
3021
  declare const gridColumnMenuSelector: (state: GridState) => GridColumnMenuState;
2900
3022
 
2901
3023
  declare const gridColumnReorderSelector: (state: GridState) => GridColumnReorderState;
2902
- declare const gridColumnReorderDragColSelector: reselect.OutputSelector<GridState, string, (res: GridColumnReorderState) => string>;
3024
+ declare const gridColumnReorderDragColSelector: reselect.OutputSelector<[(state: GridState) => GridColumnReorderState], string, never, ((args_0: GridColumnReorderState, ...args_1: unknown[]) => string) & ((...args: any[]) => any) & {
3025
+ clearCache: () => void;
3026
+ }>;
2903
3027
 
2904
- declare type GridMergedOptions = {
2905
- [key in keyof GridProcessedMergedOptions]: Partial<GridProcessedMergedOptions[key]>;
2906
- };
2907
- /**
2908
- * The grid options with a default in value which is merged with the the value given through props
2909
- */
2910
- interface GridProcessedMergedOptions {
2911
- /**
2912
- * Overrideable components.
2913
- */
2914
- components: GridSlotsComponent;
2915
- /**
2916
- * Set the locale text of the grid.
2917
- * You can find all the translation keys supported in [the source](https://github.com/mui-org/material-ui-x/blob/HEAD/packages/grid/_modules_/grid/constants/localeTextConstants.ts) in the GitHub repository.
2918
- */
2919
- localeText: GridLocaleText;
3028
+ declare const gridColumnResizeSelector: (state: GridState) => GridColumnResizeState;
3029
+ declare const gridResizingColumnFieldSelector: reselect.OutputSelector<[(state: GridState) => GridColumnResizeState], string, never, ((args_0: GridColumnResizeState, ...args_1: unknown[]) => string) & ((...args: any[]) => any) & {
3030
+ clearCache: () => void;
3031
+ }>;
3032
+
3033
+ declare const gridColumnsSelector: (state: GridState) => GridColumnsState;
3034
+ declare const allGridColumnsFieldsSelector: (state: GridState) => string[];
3035
+ declare const gridColumnLookupSelector: (state: GridState) => GridColumnLookup;
3036
+ declare const allGridColumnsSelector: reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3037
+ clearCache: () => void;
3038
+ }>;
3039
+ declare const visibleGridColumnsSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3040
+ clearCache: () => void;
3041
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3042
+ clearCache: () => void;
3043
+ }>;
3044
+ declare const gridColumnsMetaSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3045
+ clearCache: () => void;
3046
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3047
+ clearCache: () => void;
3048
+ }>], {
3049
+ totalWidth: number;
3050
+ positions: number[];
3051
+ }, never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => {
3052
+ totalWidth: number;
3053
+ positions: number[];
3054
+ }) & ((...args: any[]) => any) & {
3055
+ clearCache: () => void;
3056
+ }>;
3057
+ declare const filterableGridColumnsSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3058
+ clearCache: () => void;
3059
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3060
+ clearCache: () => void;
3061
+ }>;
3062
+ declare const filterableGridColumnsIdsSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3063
+ clearCache: () => void;
3064
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3065
+ clearCache: () => void;
3066
+ }>], string[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => string[]) & ((...args: any[]) => any) & {
3067
+ clearCache: () => void;
3068
+ }>;
3069
+ declare const visibleGridColumnsLengthSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3070
+ clearCache: () => void;
3071
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3072
+ clearCache: () => void;
3073
+ }>], number, never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3074
+ clearCache: () => void;
3075
+ }>;
3076
+ declare const gridColumnsTotalWidthSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => string[], (state: GridState) => GridColumnLookup], GridStateColDef[], never, ((args_0: string[], args_1: GridColumnLookup, ...args_2: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3077
+ clearCache: () => void;
3078
+ }>], GridStateColDef[], never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => GridStateColDef[]) & ((...args: any[]) => any) & {
3079
+ clearCache: () => void;
3080
+ }>], {
3081
+ totalWidth: number;
3082
+ positions: number[];
3083
+ }, never, ((args_0: GridStateColDef[], ...args_1: unknown[]) => {
3084
+ totalWidth: number;
3085
+ positions: number[];
3086
+ }) & ((...args: any[]) => any) & {
3087
+ clearCache: () => void;
3088
+ }>], number, never, ((args_0: {
3089
+ totalWidth: number;
3090
+ positions: number[];
3091
+ }, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3092
+ clearCache: () => void;
3093
+ }>;
3094
+
3095
+ declare const gridDensitySelector: (state: GridState) => GridDensityState;
3096
+ declare const gridDensityValueSelector: reselect.OutputSelector<[(state: GridState) => GridDensityState], GridDensity, never, ((args_0: GridDensityState, ...args_1: unknown[]) => GridDensity) & ((...args: any[]) => any) & {
3097
+ clearCache: () => void;
3098
+ }>;
3099
+ declare const gridDensityRowHeightSelector: reselect.OutputSelector<[(state: GridState) => GridDensityState], number, never, ((args_0: GridDensityState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3100
+ clearCache: () => void;
3101
+ }>;
3102
+ declare const gridDensityHeaderHeightSelector: reselect.OutputSelector<[(state: GridState) => GridDensityState], number, never, ((args_0: GridDensityState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3103
+ clearCache: () => void;
3104
+ }>;
3105
+
3106
+ declare const gridEditRowsStateSelector: (state: GridState) => GridEditRowsModel;
3107
+
3108
+ declare const gridRowsStateSelector: (state: GridState) => GridRowsState;
3109
+ declare const gridRowCountSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3110
+ clearCache: () => void;
3111
+ }>;
3112
+ declare const gridTopLevelRowCountSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3113
+ clearCache: () => void;
3114
+ }>;
3115
+ declare const gridRowsLookupSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3116
+ clearCache: () => void;
3117
+ }>;
3118
+ declare const gridRowTreeSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3119
+ clearCache: () => void;
3120
+ }>;
3121
+ declare const gridRowTreeDepthSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3122
+ clearCache: () => void;
3123
+ }>;
3124
+ declare const gridRowIdsSelector: reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowId[], never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3125
+ clearCache: () => void;
3126
+ }>;
3127
+
3128
+ declare const gridFilterStateSelector: (state: GridState) => GridFilterState;
3129
+ declare const gridFilterModelSelector: reselect.OutputSelector<[(state: GridState) => GridFilterState], GridFilterModel, never, ((args_0: GridFilterState, ...args_1: unknown[]) => GridFilterModel) & ((...args: any[]) => any) & {
3130
+ clearCache: () => void;
3131
+ }>;
3132
+ declare const gridVisibleRowsLookupSelector: reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3133
+ clearCache: () => void;
3134
+ }>;
3135
+ declare const gridFilteredDescendantCountLookupSelector: reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, number>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, number>) & ((...args: any[]) => any) & {
3136
+ clearCache: () => void;
3137
+ }>;
3138
+ declare const gridVisibleSortedRowEntriesSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3139
+ clearCache: () => void;
3140
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3141
+ clearCache: () => void;
3142
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3143
+ clearCache: () => void;
3144
+ }>], {
3145
+ id: GridRowId;
3146
+ model: {
3147
+ [key: string]: any;
3148
+ };
3149
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3150
+ id: GridRowId;
3151
+ model: {
3152
+ [key: string]: any;
3153
+ };
3154
+ }[]) & ((...args: any[]) => any) & {
3155
+ clearCache: () => void;
3156
+ }>], {
3157
+ id: GridRowId;
3158
+ model: {
3159
+ [key: string]: any;
3160
+ };
3161
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3162
+ id: GridRowId;
3163
+ model: {
3164
+ [key: string]: any;
3165
+ };
3166
+ }[], ...args_2: unknown[]) => {
3167
+ id: GridRowId;
3168
+ model: {
3169
+ [key: string]: any;
3170
+ };
3171
+ }[]) & ((...args: any[]) => any) & {
3172
+ clearCache: () => void;
3173
+ }>;
3174
+ declare const gridVisibleSortedRowIdsSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3175
+ clearCache: () => void;
3176
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3177
+ clearCache: () => void;
3178
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3179
+ clearCache: () => void;
3180
+ }>], {
3181
+ id: GridRowId;
3182
+ model: {
3183
+ [key: string]: any;
3184
+ };
3185
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3186
+ id: GridRowId;
3187
+ model: {
3188
+ [key: string]: any;
3189
+ };
3190
+ }[]) & ((...args: any[]) => any) & {
3191
+ clearCache: () => void;
3192
+ }>], {
3193
+ id: GridRowId;
3194
+ model: {
3195
+ [key: string]: any;
3196
+ };
3197
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3198
+ id: GridRowId;
3199
+ model: {
3200
+ [key: string]: any;
3201
+ };
3202
+ }[], ...args_2: unknown[]) => {
3203
+ id: GridRowId;
3204
+ model: {
3205
+ [key: string]: any;
3206
+ };
3207
+ }[]) & ((...args: any[]) => any) & {
3208
+ clearCache: () => void;
3209
+ }>], GridRowId[], never, ((args_0: {
3210
+ id: GridRowId;
3211
+ model: {
3212
+ [key: string]: any;
3213
+ };
3214
+ }[], ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3215
+ clearCache: () => void;
3216
+ }>;
3217
+ /**
3218
+ * @deprecated Use `gridVisibleSortedRowIdsSelector` instead
3219
+ */
3220
+ declare const gridVisibleRowsSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3221
+ clearCache: () => void;
3222
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3223
+ clearCache: () => void;
3224
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3225
+ clearCache: () => void;
3226
+ }>], {
3227
+ id: GridRowId;
3228
+ model: {
3229
+ [key: string]: any;
3230
+ };
3231
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3232
+ id: GridRowId;
3233
+ model: {
3234
+ [key: string]: any;
3235
+ };
3236
+ }[]) & ((...args: any[]) => any) & {
3237
+ clearCache: () => void;
3238
+ }>], {
3239
+ id: GridRowId;
3240
+ model: {
3241
+ [key: string]: any;
3242
+ };
3243
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3244
+ id: GridRowId;
3245
+ model: {
3246
+ [key: string]: any;
3247
+ };
3248
+ }[], ...args_2: unknown[]) => {
3249
+ id: GridRowId;
3250
+ model: {
3251
+ [key: string]: any;
3252
+ };
3253
+ }[]) & ((...args: any[]) => any) & {
3254
+ clearCache: () => void;
3255
+ }>], GridRowId[], never, ((args_0: {
3256
+ id: GridRowId;
3257
+ model: {
3258
+ [key: string]: any;
3259
+ };
3260
+ }[], ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3261
+ clearCache: () => void;
3262
+ }>;
3263
+ declare const gridVisibleSortedTopLevelRowEntriesSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3264
+ clearCache: () => void;
3265
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3266
+ clearCache: () => void;
3267
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3268
+ clearCache: () => void;
3269
+ }>], {
3270
+ id: GridRowId;
3271
+ model: {
3272
+ [key: string]: any;
3273
+ };
3274
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3275
+ id: GridRowId;
3276
+ model: {
3277
+ [key: string]: any;
3278
+ };
3279
+ }[]) & ((...args: any[]) => any) & {
3280
+ clearCache: () => void;
3281
+ }>], {
3282
+ id: GridRowId;
3283
+ model: {
3284
+ [key: string]: any;
3285
+ };
3286
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3287
+ id: GridRowId;
3288
+ model: {
3289
+ [key: string]: any;
3290
+ };
3291
+ }[], ...args_2: unknown[]) => {
3292
+ id: GridRowId;
3293
+ model: {
3294
+ [key: string]: any;
3295
+ };
3296
+ }[]) & ((...args: any[]) => any) & {
3297
+ clearCache: () => void;
3298
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3299
+ clearCache: () => void;
3300
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3301
+ clearCache: () => void;
3302
+ }>], {
3303
+ id: GridRowId;
3304
+ model: {
3305
+ [key: string]: any;
3306
+ };
3307
+ }[], never, ((args_0: {
3308
+ id: GridRowId;
3309
+ model: {
3310
+ [key: string]: any;
3311
+ };
3312
+ }[], args_1: GridRowTreeConfig, args_2: number, ...args_3: unknown[]) => {
3313
+ id: GridRowId;
3314
+ model: {
3315
+ [key: string]: any;
3316
+ };
3317
+ }[]) & ((...args: any[]) => any) & {
3318
+ clearCache: () => void;
3319
+ }>;
3320
+ declare const gridVisibleRowCountSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3321
+ clearCache: () => void;
3322
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3323
+ clearCache: () => void;
3324
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3325
+ clearCache: () => void;
3326
+ }>], {
3327
+ id: GridRowId;
3328
+ model: {
3329
+ [key: string]: any;
3330
+ };
3331
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3332
+ id: GridRowId;
3333
+ model: {
3334
+ [key: string]: any;
3335
+ };
3336
+ }[]) & ((...args: any[]) => any) & {
3337
+ clearCache: () => void;
3338
+ }>], {
3339
+ id: GridRowId;
3340
+ model: {
3341
+ [key: string]: any;
3342
+ };
3343
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3344
+ id: GridRowId;
3345
+ model: {
3346
+ [key: string]: any;
3347
+ };
3348
+ }[], ...args_2: unknown[]) => {
3349
+ id: GridRowId;
3350
+ model: {
3351
+ [key: string]: any;
3352
+ };
3353
+ }[]) & ((...args: any[]) => any) & {
3354
+ clearCache: () => void;
3355
+ }>], number, never, ((args_0: {
3356
+ id: GridRowId;
3357
+ model: {
3358
+ [key: string]: any;
3359
+ };
3360
+ }[], ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3361
+ clearCache: () => void;
3362
+ }>;
3363
+ declare const gridVisibleTopLevelRowCountSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3364
+ clearCache: () => void;
3365
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3366
+ clearCache: () => void;
3367
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3368
+ clearCache: () => void;
3369
+ }>], {
3370
+ id: GridRowId;
3371
+ model: {
3372
+ [key: string]: any;
3373
+ };
3374
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3375
+ id: GridRowId;
3376
+ model: {
3377
+ [key: string]: any;
3378
+ };
3379
+ }[]) & ((...args: any[]) => any) & {
3380
+ clearCache: () => void;
3381
+ }>], {
3382
+ id: GridRowId;
3383
+ model: {
3384
+ [key: string]: any;
3385
+ };
3386
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3387
+ id: GridRowId;
3388
+ model: {
3389
+ [key: string]: any;
3390
+ };
3391
+ }[], ...args_2: unknown[]) => {
3392
+ id: GridRowId;
3393
+ model: {
3394
+ [key: string]: any;
3395
+ };
3396
+ }[]) & ((...args: any[]) => any) & {
3397
+ clearCache: () => void;
3398
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3399
+ clearCache: () => void;
3400
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3401
+ clearCache: () => void;
3402
+ }>], {
3403
+ id: GridRowId;
3404
+ model: {
3405
+ [key: string]: any;
3406
+ };
3407
+ }[], never, ((args_0: {
3408
+ id: GridRowId;
3409
+ model: {
3410
+ [key: string]: any;
3411
+ };
3412
+ }[], args_1: GridRowTreeConfig, args_2: number, ...args_3: unknown[]) => {
3413
+ id: GridRowId;
3414
+ model: {
3415
+ [key: string]: any;
3416
+ };
3417
+ }[]) & ((...args: any[]) => any) & {
3418
+ clearCache: () => void;
3419
+ }>], number, never, ((args_0: {
3420
+ id: GridRowId;
3421
+ model: {
3422
+ [key: string]: any;
3423
+ };
3424
+ }[], ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3425
+ clearCache: () => void;
3426
+ }>;
3427
+ declare const gridFilterActiveItemsSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], GridFilterModel, never, ((args_0: GridFilterState, ...args_1: unknown[]) => GridFilterModel) & ((...args: any[]) => any) & {
3428
+ clearCache: () => void;
3429
+ }>, (state: GridState) => GridColumnLookup], GridFilterItem[], never, ((args_0: GridFilterModel, args_1: GridColumnLookup, ...args_2: unknown[]) => GridFilterItem[]) & ((...args: any[]) => any) & {
3430
+ clearCache: () => void;
3431
+ }>;
3432
+ declare type GridFilterActiveItemsLookup = {
3433
+ [columnField: string]: GridFilterItem[];
3434
+ };
3435
+ declare const gridFilterActiveItemsLookupSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], GridFilterModel, never, ((args_0: GridFilterState, ...args_1: unknown[]) => GridFilterModel) & ((...args: any[]) => any) & {
3436
+ clearCache: () => void;
3437
+ }>, (state: GridState) => GridColumnLookup], GridFilterItem[], never, ((args_0: GridFilterModel, args_1: GridColumnLookup, ...args_2: unknown[]) => GridFilterItem[]) & ((...args: any[]) => any) & {
3438
+ clearCache: () => void;
3439
+ }>], GridFilterActiveItemsLookup, never, ((args_0: GridFilterItem[], ...args_1: unknown[]) => GridFilterActiveItemsLookup) & ((...args: any[]) => any) & {
3440
+ clearCache: () => void;
3441
+ }>;
3442
+
3443
+ declare const gridFocusStateSelector: (state: GridState) => GridFocusState;
3444
+ declare const gridFocusCellSelector: reselect.OutputSelector<[(state: GridState) => GridFocusState], GridCellIdentifier | null, never, ((args_0: GridFocusState, ...args_1: unknown[]) => GridCellIdentifier | null) & ((...args: any[]) => any) & {
3445
+ clearCache: () => void;
3446
+ }>;
3447
+ declare const gridFocusColumnHeaderSelector: reselect.OutputSelector<[(state: GridState) => GridFocusState], GridColumnIdentifier | null, never, ((args_0: GridFocusState, ...args_1: unknown[]) => GridColumnIdentifier | null) & ((...args: any[]) => any) & {
3448
+ clearCache: () => void;
3449
+ }>;
3450
+ declare const gridTabIndexStateSelector: (state: GridState) => GridTabIndexState;
3451
+ declare const gridTabIndexCellSelector: reselect.OutputSelector<[(state: GridState) => GridTabIndexState], GridCellIdentifier | null, never, ((args_0: GridTabIndexState, ...args_1: unknown[]) => GridCellIdentifier | null) & ((...args: any[]) => any) & {
3452
+ clearCache: () => void;
3453
+ }>;
3454
+ declare const gridTabIndexColumnHeaderSelector: reselect.OutputSelector<[(state: GridState) => GridTabIndexState], GridColumnIdentifier | null, never, ((args_0: GridTabIndexState, ...args_1: unknown[]) => GridColumnIdentifier | null) & ((...args: any[]) => any) & {
3455
+ clearCache: () => void;
3456
+ }>;
3457
+
3458
+ declare const gridPaginationSelector: (state: GridState) => GridPaginationState;
3459
+ declare const gridPageSelector: reselect.OutputSelector<[(state: GridState) => GridPaginationState], number, never, ((args_0: GridPaginationState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3460
+ clearCache: () => void;
3461
+ }>;
3462
+ declare const gridPageSizeSelector: reselect.OutputSelector<[(state: GridState) => GridPaginationState], number, never, ((args_0: GridPaginationState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3463
+ clearCache: () => void;
3464
+ }>;
3465
+ declare const gridPaginationRowRangeSelector: reselect.OutputSelector<[(state: GridState) => GridPaginationState, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3466
+ clearCache: () => void;
3467
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3468
+ clearCache: () => void;
3469
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3470
+ clearCache: () => void;
3471
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3472
+ clearCache: () => void;
3473
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3474
+ clearCache: () => void;
3475
+ }>], {
3476
+ id: GridRowId;
3477
+ model: {
3478
+ [key: string]: any;
3479
+ };
3480
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3481
+ id: GridRowId;
3482
+ model: {
3483
+ [key: string]: any;
3484
+ };
3485
+ }[]) & ((...args: any[]) => any) & {
3486
+ clearCache: () => void;
3487
+ }>], {
3488
+ id: GridRowId;
3489
+ model: {
3490
+ [key: string]: any;
3491
+ };
3492
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3493
+ id: GridRowId;
3494
+ model: {
3495
+ [key: string]: any;
3496
+ };
3497
+ }[], ...args_2: unknown[]) => {
3498
+ id: GridRowId;
3499
+ model: {
3500
+ [key: string]: any;
3501
+ };
3502
+ }[]) & ((...args: any[]) => any) & {
3503
+ clearCache: () => void;
3504
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3505
+ clearCache: () => void;
3506
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3507
+ clearCache: () => void;
3508
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3509
+ clearCache: () => void;
3510
+ }>], {
3511
+ id: GridRowId;
3512
+ model: {
3513
+ [key: string]: any;
3514
+ };
3515
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3516
+ id: GridRowId;
3517
+ model: {
3518
+ [key: string]: any;
3519
+ };
3520
+ }[]) & ((...args: any[]) => any) & {
3521
+ clearCache: () => void;
3522
+ }>], {
3523
+ id: GridRowId;
3524
+ model: {
3525
+ [key: string]: any;
3526
+ };
3527
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3528
+ id: GridRowId;
3529
+ model: {
3530
+ [key: string]: any;
3531
+ };
3532
+ }[], ...args_2: unknown[]) => {
3533
+ id: GridRowId;
3534
+ model: {
3535
+ [key: string]: any;
3536
+ };
3537
+ }[]) & ((...args: any[]) => any) & {
3538
+ clearCache: () => void;
3539
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3540
+ clearCache: () => void;
3541
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3542
+ clearCache: () => void;
3543
+ }>], {
3544
+ id: GridRowId;
3545
+ model: {
3546
+ [key: string]: any;
3547
+ };
3548
+ }[], never, ((args_0: {
3549
+ id: GridRowId;
3550
+ model: {
3551
+ [key: string]: any;
3552
+ };
3553
+ }[], args_1: GridRowTreeConfig, args_2: number, ...args_3: unknown[]) => {
3554
+ id: GridRowId;
3555
+ model: {
3556
+ [key: string]: any;
3557
+ };
3558
+ }[]) & ((...args: any[]) => any) & {
3559
+ clearCache: () => void;
3560
+ }>], {
3561
+ firstRowIndex: number;
3562
+ lastRowIndex: number;
3563
+ } | null, never, ((args_0: GridPaginationState, args_1: GridRowTreeConfig, args_2: number, args_3: {
3564
+ id: GridRowId;
3565
+ model: {
3566
+ [key: string]: any;
3567
+ };
3568
+ }[], args_4: {
3569
+ id: GridRowId;
3570
+ model: {
3571
+ [key: string]: any;
3572
+ };
3573
+ }[], ...args_5: unknown[]) => {
3574
+ firstRowIndex: number;
3575
+ lastRowIndex: number;
3576
+ } | null) & ((...args: any[]) => any) & {
3577
+ clearCache: () => void;
3578
+ }>;
3579
+ declare const gridPaginatedVisibleSortedGridRowEntriesSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3580
+ clearCache: () => void;
3581
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3582
+ clearCache: () => void;
3583
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3584
+ clearCache: () => void;
3585
+ }>], {
3586
+ id: GridRowId;
3587
+ model: {
3588
+ [key: string]: any;
3589
+ };
3590
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3591
+ id: GridRowId;
3592
+ model: {
3593
+ [key: string]: any;
3594
+ };
3595
+ }[]) & ((...args: any[]) => any) & {
3596
+ clearCache: () => void;
3597
+ }>], {
3598
+ id: GridRowId;
3599
+ model: {
3600
+ [key: string]: any;
3601
+ };
3602
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3603
+ id: GridRowId;
3604
+ model: {
3605
+ [key: string]: any;
3606
+ };
3607
+ }[], ...args_2: unknown[]) => {
3608
+ id: GridRowId;
3609
+ model: {
3610
+ [key: string]: any;
3611
+ };
3612
+ }[]) & ((...args: any[]) => any) & {
3613
+ clearCache: () => void;
3614
+ }>, reselect.OutputSelector<[(state: GridState) => GridPaginationState, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3615
+ clearCache: () => void;
3616
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3617
+ clearCache: () => void;
3618
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3619
+ clearCache: () => void;
3620
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3621
+ clearCache: () => void;
3622
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3623
+ clearCache: () => void;
3624
+ }>], {
3625
+ id: GridRowId;
3626
+ model: {
3627
+ [key: string]: any;
3628
+ };
3629
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3630
+ id: GridRowId;
3631
+ model: {
3632
+ [key: string]: any;
3633
+ };
3634
+ }[]) & ((...args: any[]) => any) & {
3635
+ clearCache: () => void;
3636
+ }>], {
3637
+ id: GridRowId;
3638
+ model: {
3639
+ [key: string]: any;
3640
+ };
3641
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3642
+ id: GridRowId;
3643
+ model: {
3644
+ [key: string]: any;
3645
+ };
3646
+ }[], ...args_2: unknown[]) => {
3647
+ id: GridRowId;
3648
+ model: {
3649
+ [key: string]: any;
3650
+ };
3651
+ }[]) & ((...args: any[]) => any) & {
3652
+ clearCache: () => void;
3653
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3654
+ clearCache: () => void;
3655
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3656
+ clearCache: () => void;
3657
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3658
+ clearCache: () => void;
3659
+ }>], {
3660
+ id: GridRowId;
3661
+ model: {
3662
+ [key: string]: any;
3663
+ };
3664
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3665
+ id: GridRowId;
3666
+ model: {
3667
+ [key: string]: any;
3668
+ };
3669
+ }[]) & ((...args: any[]) => any) & {
3670
+ clearCache: () => void;
3671
+ }>], {
3672
+ id: GridRowId;
3673
+ model: {
3674
+ [key: string]: any;
3675
+ };
3676
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3677
+ id: GridRowId;
3678
+ model: {
3679
+ [key: string]: any;
3680
+ };
3681
+ }[], ...args_2: unknown[]) => {
3682
+ id: GridRowId;
3683
+ model: {
3684
+ [key: string]: any;
3685
+ };
3686
+ }[]) & ((...args: any[]) => any) & {
3687
+ clearCache: () => void;
3688
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3689
+ clearCache: () => void;
3690
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3691
+ clearCache: () => void;
3692
+ }>], {
3693
+ id: GridRowId;
3694
+ model: {
3695
+ [key: string]: any;
3696
+ };
3697
+ }[], never, ((args_0: {
3698
+ id: GridRowId;
3699
+ model: {
3700
+ [key: string]: any;
3701
+ };
3702
+ }[], args_1: GridRowTreeConfig, args_2: number, ...args_3: unknown[]) => {
3703
+ id: GridRowId;
3704
+ model: {
3705
+ [key: string]: any;
3706
+ };
3707
+ }[]) & ((...args: any[]) => any) & {
3708
+ clearCache: () => void;
3709
+ }>], {
3710
+ firstRowIndex: number;
3711
+ lastRowIndex: number;
3712
+ } | null, never, ((args_0: GridPaginationState, args_1: GridRowTreeConfig, args_2: number, args_3: {
3713
+ id: GridRowId;
3714
+ model: {
3715
+ [key: string]: any;
3716
+ };
3717
+ }[], args_4: {
3718
+ id: GridRowId;
3719
+ model: {
3720
+ [key: string]: any;
3721
+ };
3722
+ }[], ...args_5: unknown[]) => {
3723
+ firstRowIndex: number;
3724
+ lastRowIndex: number;
3725
+ } | null) & ((...args: any[]) => any) & {
3726
+ clearCache: () => void;
3727
+ }>], {
3728
+ id: GridRowId;
3729
+ model: {
3730
+ [key: string]: any;
3731
+ };
3732
+ }[], never, ((args_0: {
3733
+ id: GridRowId;
3734
+ model: {
3735
+ [key: string]: any;
3736
+ };
3737
+ }[], args_1: {
3738
+ firstRowIndex: number;
3739
+ lastRowIndex: number;
3740
+ } | null, ...args_2: unknown[]) => {
3741
+ id: GridRowId;
3742
+ model: {
3743
+ [key: string]: any;
3744
+ };
3745
+ }[]) & ((...args: any[]) => any) & {
3746
+ clearCache: () => void;
3747
+ }>;
3748
+ declare const gridPaginatedVisibleSortedGridRowIdsSelector: reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3749
+ clearCache: () => void;
3750
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3751
+ clearCache: () => void;
3752
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3753
+ clearCache: () => void;
3754
+ }>], {
3755
+ id: GridRowId;
3756
+ model: {
3757
+ [key: string]: any;
3758
+ };
3759
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3760
+ id: GridRowId;
3761
+ model: {
3762
+ [key: string]: any;
3763
+ };
3764
+ }[]) & ((...args: any[]) => any) & {
3765
+ clearCache: () => void;
3766
+ }>], {
3767
+ id: GridRowId;
3768
+ model: {
3769
+ [key: string]: any;
3770
+ };
3771
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3772
+ id: GridRowId;
3773
+ model: {
3774
+ [key: string]: any;
3775
+ };
3776
+ }[], ...args_2: unknown[]) => {
3777
+ id: GridRowId;
3778
+ model: {
3779
+ [key: string]: any;
3780
+ };
3781
+ }[]) & ((...args: any[]) => any) & {
3782
+ clearCache: () => void;
3783
+ }>], GridRowId[], never, ((args_0: {
3784
+ id: GridRowId;
3785
+ model: {
3786
+ [key: string]: any;
3787
+ };
3788
+ }[], ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3789
+ clearCache: () => void;
3790
+ }>, reselect.OutputSelector<[(state: GridState) => GridPaginationState, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3791
+ clearCache: () => void;
3792
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3793
+ clearCache: () => void;
3794
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3795
+ clearCache: () => void;
3796
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3797
+ clearCache: () => void;
3798
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3799
+ clearCache: () => void;
3800
+ }>], {
3801
+ id: GridRowId;
3802
+ model: {
3803
+ [key: string]: any;
3804
+ };
3805
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3806
+ id: GridRowId;
3807
+ model: {
3808
+ [key: string]: any;
3809
+ };
3810
+ }[]) & ((...args: any[]) => any) & {
3811
+ clearCache: () => void;
3812
+ }>], {
3813
+ id: GridRowId;
3814
+ model: {
3815
+ [key: string]: any;
3816
+ };
3817
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3818
+ id: GridRowId;
3819
+ model: {
3820
+ [key: string]: any;
3821
+ };
3822
+ }[], ...args_2: unknown[]) => {
3823
+ id: GridRowId;
3824
+ model: {
3825
+ [key: string]: any;
3826
+ };
3827
+ }[]) & ((...args: any[]) => any) & {
3828
+ clearCache: () => void;
3829
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridFilterState], Record<GridRowId, boolean>, never, ((args_0: GridFilterState, ...args_1: unknown[]) => Record<GridRowId, boolean>) & ((...args: any[]) => any) & {
3830
+ clearCache: () => void;
3831
+ }>, reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3832
+ clearCache: () => void;
3833
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3834
+ clearCache: () => void;
3835
+ }>], {
3836
+ id: GridRowId;
3837
+ model: {
3838
+ [key: string]: any;
3839
+ };
3840
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3841
+ id: GridRowId;
3842
+ model: {
3843
+ [key: string]: any;
3844
+ };
3845
+ }[]) & ((...args: any[]) => any) & {
3846
+ clearCache: () => void;
3847
+ }>], {
3848
+ id: GridRowId;
3849
+ model: {
3850
+ [key: string]: any;
3851
+ };
3852
+ }[], never, ((args_0: Record<GridRowId, boolean>, args_1: {
3853
+ id: GridRowId;
3854
+ model: {
3855
+ [key: string]: any;
3856
+ };
3857
+ }[], ...args_2: unknown[]) => {
3858
+ id: GridRowId;
3859
+ model: {
3860
+ [key: string]: any;
3861
+ };
3862
+ }[]) & ((...args: any[]) => any) & {
3863
+ clearCache: () => void;
3864
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowTreeConfig, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowTreeConfig) & ((...args: any[]) => any) & {
3865
+ clearCache: () => void;
3866
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], number, never, ((args_0: GridRowsState, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3867
+ clearCache: () => void;
3868
+ }>], {
3869
+ id: GridRowId;
3870
+ model: {
3871
+ [key: string]: any;
3872
+ };
3873
+ }[], never, ((args_0: {
3874
+ id: GridRowId;
3875
+ model: {
3876
+ [key: string]: any;
3877
+ };
3878
+ }[], args_1: GridRowTreeConfig, args_2: number, ...args_3: unknown[]) => {
3879
+ id: GridRowId;
3880
+ model: {
3881
+ [key: string]: any;
3882
+ };
3883
+ }[]) & ((...args: any[]) => any) & {
3884
+ clearCache: () => void;
3885
+ }>], {
3886
+ firstRowIndex: number;
3887
+ lastRowIndex: number;
3888
+ } | null, never, ((args_0: GridPaginationState, args_1: GridRowTreeConfig, args_2: number, args_3: {
3889
+ id: GridRowId;
3890
+ model: {
3891
+ [key: string]: any;
3892
+ };
3893
+ }[], args_4: {
3894
+ id: GridRowId;
3895
+ model: {
3896
+ [key: string]: any;
3897
+ };
3898
+ }[], ...args_5: unknown[]) => {
3899
+ firstRowIndex: number;
3900
+ lastRowIndex: number;
3901
+ } | null) & ((...args: any[]) => any) & {
3902
+ clearCache: () => void;
3903
+ }>], GridRowId[], never, ((args_0: GridRowId[], args_1: {
3904
+ firstRowIndex: number;
3905
+ lastRowIndex: number;
3906
+ } | null, ...args_2: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3907
+ clearCache: () => void;
3908
+ }>;
3909
+
3910
+ declare const gridPreferencePanelStateSelector: (state: GridState) => GridPreferencePanelState;
3911
+
3912
+ declare const gridSelectionStateSelector: (state: GridState) => GridSelectionModel;
3913
+ declare const selectedGridRowsCountSelector: reselect.OutputSelector<[(state: GridState) => GridSelectionModel], number, never, ((args_0: GridSelectionModel, ...args_1: unknown[]) => number) & ((...args: any[]) => any) & {
3914
+ clearCache: () => void;
3915
+ }>;
3916
+ declare const selectedGridRowsSelector: reselect.OutputSelector<[(state: GridState) => GridSelectionModel, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3917
+ clearCache: () => void;
3918
+ }>], Map<GridRowId, {
3919
+ [key: string]: any;
3920
+ }>, never, ((args_0: GridSelectionModel, args_1: GridRowsLookup, ...args_2: unknown[]) => Map<GridRowId, {
3921
+ [key: string]: any;
3922
+ }>) & ((...args: any[]) => any) & {
3923
+ clearCache: () => void;
3924
+ }>;
3925
+ declare const selectedIdsLookupSelector: reselect.OutputSelector<[(state: GridState) => GridSelectionModel], {}, never, ((args_0: GridSelectionModel, ...args_1: unknown[]) => {}) & ((...args: any[]) => any) & {
3926
+ clearCache: () => void;
3927
+ }>;
3928
+
3929
+ declare const gridSortedRowIdsSelector: reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3930
+ clearCache: () => void;
3931
+ }>;
3932
+ declare const gridSortedRowEntriesSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridRowId[], never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridRowId[]) & ((...args: any[]) => any) & {
3933
+ clearCache: () => void;
3934
+ }>, reselect.OutputSelector<[(state: GridState) => GridRowsState], GridRowsLookup, never, ((args_0: GridRowsState, ...args_1: unknown[]) => GridRowsLookup) & ((...args: any[]) => any) & {
3935
+ clearCache: () => void;
3936
+ }>], {
3937
+ id: GridRowId;
3938
+ model: {
3939
+ [key: string]: any;
3940
+ };
3941
+ }[], never, ((args_0: GridRowId[], args_1: GridRowsLookup, ...args_2: unknown[]) => {
3942
+ id: GridRowId;
3943
+ model: {
3944
+ [key: string]: any;
3945
+ };
3946
+ }[]) & ((...args: any[]) => any) & {
3947
+ clearCache: () => void;
3948
+ }>;
3949
+ declare const gridSortModelSelector: reselect.OutputSelector<[(state: GridState) => GridSortingState], GridSortModel, never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridSortModel) & ((...args: any[]) => any) & {
3950
+ clearCache: () => void;
3951
+ }>;
3952
+ declare type GridSortColumnLookup = Record<string, {
3953
+ sortDirection: GridSortDirection;
3954
+ sortIndex?: number;
3955
+ }>;
3956
+ declare const gridSortColumnLookupSelector: reselect.OutputSelector<[reselect.OutputSelector<[(state: GridState) => GridSortingState], GridSortModel, never, ((args_0: GridSortingState, ...args_1: unknown[]) => GridSortModel) & ((...args: any[]) => any) & {
3957
+ clearCache: () => void;
3958
+ }>], GridSortColumnLookup, never, ((args_0: GridSortModel, ...args_1: unknown[]) => GridSortColumnLookup) & ((...args: any[]) => any) & {
3959
+ clearCache: () => void;
3960
+ }>;
3961
+
3962
+ declare const gridRenderingSelector: (state: GridState) => GridRenderingState;
3963
+ declare const gridScrollSelector: reselect.OutputSelector<[(state: GridState) => GridRenderingState], GridScrollParams, never, ((args_0: GridRenderingState, ...args_1: unknown[]) => GridScrollParams) & ((...args: any[]) => any) & {
3964
+ clearCache: () => void;
3965
+ }>;
3966
+
3967
+ declare const useGridApi: (apiRef: GridApiRef) => GridApi;
3968
+
3969
+ declare function useGridApiContext(): GridApiRef;
3970
+
3971
+ /**
3972
+ * Signal to the underlying logic what version of the public component API
3973
+ * of the data grid is exposed.
3974
+ */
3975
+ declare enum GridSignature {
3976
+ DataGrid = "DataGrid",
3977
+ DataGridPro = "DataGridPro"
3978
+ }
3979
+ declare function useGridApiEventHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridListener<Params, Event>, options?: GridSubscribeEventOptions): void;
3980
+ declare function useGridApiOptionHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridListener<Params, Event>): void;
3981
+
3982
+ declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
3983
+
3984
+ declare function useGridApiRef(): GridApiRef;
3985
+ declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef;
3986
+
3987
+ declare function useGridLogger(apiRef: GridApiRef, name: string): Logger;
3988
+
3989
+ declare const useGridRootProps: () => GridComponentProps;
3990
+
3991
+ declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
3992
+
3993
+ declare const useGridSelector: <T>(apiRef: GridApiRef, selector: (state: GridState) => T) => T;
3994
+
3995
+ declare const useGridState: (apiRef: GridApiRef) => [GridState, (stateUpdaterFn: (oldState: GridState) => GridState) => boolean, () => void];
3996
+
3997
+ declare const useGridNativeEventListener: <E extends Event>(apiRef: GridApiRef, ref: React$1.MutableRefObject<HTMLDivElement | null> | (() => Element | undefined | null), eventName: string, handler?: ((event: E) => any) | undefined, options?: AddEventListenerOptions | undefined) => void;
3998
+
3999
+ declare type GridMergedOptions = {
4000
+ [key in keyof GridProcessedMergedOptions]: Partial<GridProcessedMergedOptions[key]>;
4001
+ };
4002
+ /**
4003
+ * The grid options with a default in value which is merged with the the value given through props
4004
+ */
4005
+ interface GridProcessedMergedOptions {
4006
+ /**
4007
+ * Overrideable components.
4008
+ */
4009
+ components: GridSlotsComponent;
4010
+ /**
4011
+ * Set the locale text of the grid.
4012
+ * You can find all the translation keys supported in [the source](https://github.com/mui-org/material-ui-x/blob/HEAD/packages/grid/_modules_/grid/constants/localeTextConstants.ts) in the GitHub repository.
4013
+ */
4014
+ localeText: GridLocaleText;
2920
4015
  }
2921
4016
  /**
2922
4017
  * The grid options with a default in value overridable through props
@@ -2947,10 +4042,25 @@ interface GridSimpleOptions {
2947
4042
  */
2948
4043
  checkboxSelectionVisibleOnly: boolean;
2949
4044
  /**
2950
- * Number of columns rendered outside the grid viewport.
2951
- * @default 2
4045
+ * Number of extra columns to be rendered before/after the visible slice.
4046
+ * @default 3
2952
4047
  */
2953
4048
  columnBuffer: number;
4049
+ /**
4050
+ * Number of extra rows to be rendered before/after the visible slice.
4051
+ * @default 3
4052
+ */
4053
+ rowBuffer: number;
4054
+ /**
4055
+ * Number of rows from the `rowBuffer` that can be visible before a new slice is rendered.
4056
+ * @default 3
4057
+ */
4058
+ rowThreshold: number;
4059
+ /**
4060
+ * Number of rows from the `columnBuffer` that can be visible before a new slice is rendered.
4061
+ * @default 3
4062
+ */
4063
+ columnThreshold: number;
2954
4064
  /**
2955
4065
  * Set the density of the grid.
2956
4066
  * @default "standard"
@@ -2996,6 +4106,11 @@ interface GridSimpleOptions {
2996
4106
  * @default false
2997
4107
  */
2998
4108
  disableMultipleColumnsFiltering: boolean;
4109
+ /**
4110
+ * If `true`, the filtering will only be applied to the top level rows.
4111
+ * @default false
4112
+ */
4113
+ disableChildrenFiltering: boolean;
2999
4114
  /**
3000
4115
  * If `true`, multiple selection using the CTRL or CMD key is disabled.
3001
4116
  * @default false
@@ -3006,6 +4121,11 @@ interface GridSimpleOptions {
3006
4121
  * @default false
3007
4122
  */
3008
4123
  disableMultipleColumnsSorting: boolean;
4124
+ /**
4125
+ * If `true`, the sorting will only be applied to the top level rows.
4126
+ * @default false
4127
+ */
4128
+ disableChildrenSorting: boolean;
3009
4129
  /**
3010
4130
  * If `true`, the selection on click on a row or cell is disabled.
3011
4131
  * @default false
@@ -3086,7 +4206,8 @@ interface GridSimpleOptions {
3086
4206
  */
3087
4207
  rowsPerPageOptions: number[];
3088
4208
  /**
3089
- * Set the area at the bottom of the grid viewport where onRowsScrollEnd is called.
4209
+ * Set the area in `px` at the bottom of the grid viewport where onRowsScrollEnd is called.
4210
+ * @default 80
3090
4211
  */
3091
4212
  scrollEndThreshold: number;
3092
4213
  /**
@@ -3241,13 +4362,45 @@ interface GridClasses {
3241
4362
  */
3242
4363
  columnSeparator: string;
3243
4364
  /**
3244
- * Styles applied to the data container element.
4365
+ * Styles applied to the columns panel element.
4366
+ */
4367
+ columnsPanel: string;
4368
+ /**
4369
+ * Styles applied to the columns panel row element.
4370
+ */
4371
+ columnsPanelRow: string;
4372
+ /**
4373
+ * Styles applied to the panel element.
4374
+ */
4375
+ panel: string;
4376
+ /**
4377
+ * Styles applied to the panel header element.
4378
+ */
4379
+ panelHeader: string;
4380
+ /**
4381
+ * Styles applied to the panel wrapper element.
4382
+ */
4383
+ panelWrapper: string;
4384
+ /**
4385
+ * Styles applied to the panel content element.
4386
+ */
4387
+ panelContent: string;
4388
+ /**
4389
+ * Styles applied to the panel footer element.
4390
+ */
4391
+ panelFooter: string;
4392
+ /**
4393
+ * Styles applied to the paper element.
3245
4394
  */
3246
- dataContainer: string;
4395
+ paper: string;
3247
4396
  /**
3248
4397
  * Styles applied to root of the boolean edit component.
3249
4398
  */
3250
4399
  editBooleanCell: string;
4400
+ /**
4401
+ * Styles applied to the root of the filter form component.
4402
+ */
4403
+ filterForm: string;
3251
4404
  /**
3252
4405
  * Styles applied to the root of the input component.
3253
4406
  */
@@ -3272,6 +4425,10 @@ interface GridClasses {
3272
4425
  * Styles applied to the main container element.
3273
4426
  */
3274
4427
  main: string;
4428
+ /**
4429
+ * Styles applied to the menu element.
4430
+ */
4431
+ menu: string;
3275
4432
  /**
3276
4433
  * Styles applied to the menu icon element.
3277
4434
  */
@@ -3284,14 +4441,26 @@ interface GridClasses {
3284
4441
  * Styles applied to the menu icon element if the menu is open.
3285
4442
  */
3286
4443
  menuOpen: string;
4444
+ /**
4445
+ * Styles applied to the menu list element.
4446
+ */
4447
+ menuList: string;
3287
4448
  /**
3288
4449
  * Styles applied to the overlay element.
3289
4450
  */
3290
4451
  overlay: string;
3291
4452
  /**
3292
- * Styles applied to the rendering zone element.
4453
+ * Styles applied to the virtualization container.
4454
+ */
4455
+ virtualScroller: any;
4456
+ /**
4457
+ * Styles applied to the virtualization content.
4458
+ */
4459
+ virtualScrollerContent: any;
4460
+ /**
4461
+ * Styles applied to the virtualization render zone.
3293
4462
  */
3294
- renderingZone: string;
4463
+ virtualScrollerRenderZone: any;
3295
4464
  /**
3296
4465
  * Styles applied to the root element.
3297
4466
  */
@@ -3319,11 +4488,11 @@ interface GridClasses {
3319
4488
  /**
3320
4489
  * Styles applied to the left scroll area element.
3321
4490
  */
3322
- scrollAreaLeft: string;
4491
+ 'scrollArea--left': string;
3323
4492
  /**
3324
4493
  * Styles applied to the right scroll area element.
3325
4494
  */
3326
- scrollAreaRight: string;
4495
+ 'scrollArea--right': string;
3327
4496
  /**
3328
4497
  * Styles applied to the footer selected row count element.
3329
4498
  */
@@ -3337,17 +4506,9 @@ interface GridClasses {
3337
4506
  */
3338
4507
  toolbarContainer: string;
3339
4508
  /**
3340
- * Styles applied to the viewport element.
4509
+ * Styles applied to the toolbar filter list element.
3341
4510
  */
3342
- viewport: string;
3343
- /**
3344
- * Styles applied to the window element.
3345
- */
3346
- window: string;
3347
- /**
3348
- * Styles applied to the window container element.
3349
- */
3350
- windowContainer: string;
4511
+ toolbarFilterList: string;
3351
4512
  /**
3352
4513
  * Styles applied to both the cell and the column header if `showColumnRightBorder={true}`.
3353
4514
  */
@@ -3355,7 +4516,7 @@ interface GridClasses {
3355
4516
  }
3356
4517
  declare type GridClassKey = keyof GridClasses;
3357
4518
  declare function getDataGridUtilityClass(slot: string): string;
3358
- declare const gridClasses: Record<"actionsCell" | "autoHeight" | "booleanCell" | "cell--editable" | "cell--editing" | "cell--textCenter" | "cell--textLeft" | "cell--textRight" | "cell--withRenderer" | "cell" | "cellCheckbox" | "checkboxInput" | "columnHeader--alignCenter" | "columnHeader--alignLeft" | "columnHeader--alignRight" | "columnHeader--dragging" | "columnHeader--moving" | "columnHeader--numeric" | "columnHeader--sortable" | "columnHeader--sorted" | "columnHeader" | "columnHeaderCheckbox" | "columnHeaderDraggableContainer" | "columnHeaderDropZone" | "columnHeaderTitle" | "columnHeaderTitleContainer" | "columnHeaderWrapper" | "columnsContainer" | "columnSeparator--resizable" | "columnSeparator--resizing" | "columnSeparator" | "dataContainer" | "editBooleanCell" | "editInputCell" | "filterIcon" | "footerContainer" | "iconButtonContainer" | "iconSeparator" | "main" | "menuIcon" | "menuIconButton" | "menuOpen" | "overlay" | "renderingZone" | "root" | "row--editable" | "row--editing" | "row" | "rowCount" | "scrollArea--left" | "scrollArea--right" | "scrollArea" | "selectedRowCount" | "sortIcon" | "toolbarContainer" | "viewport" | "window" | "windowContainer" | "withBorder", string>;
4519
+ declare const gridClasses: Record<"actionsCell" | "autoHeight" | "booleanCell" | "cell--editable" | "cell--editing" | "cell--textCenter" | "cell--textLeft" | "cell--textRight" | "cell--withRenderer" | "cell" | "cellCheckbox" | "checkboxInput" | "columnHeader--alignCenter" | "columnHeader--alignLeft" | "columnHeader--alignRight" | "columnHeader--dragging" | "columnHeader--moving" | "columnHeader--numeric" | "columnHeader--sortable" | "columnHeader--sorted" | "columnHeader" | "columnHeaderCheckbox" | "columnHeaderDraggableContainer" | "columnHeaderDropZone" | "columnHeaderTitle" | "columnHeaderTitleContainer" | "columnHeaderWrapper" | "columnsContainer" | "columnSeparator--resizable" | "columnSeparator--resizing" | "columnSeparator" | "columnsPanel" | "columnsPanelRow" | "panel" | "panelHeader" | "panelWrapper" | "panelContent" | "panelFooter" | "paper" | "editBooleanCell" | "editInputCell" | "filterForm" | "filterIcon" | "footerContainer" | "iconButtonContainer" | "iconSeparator" | "main" | "menu" | "menuIcon" | "menuIconButton" | "menuOpen" | "menuList" | "overlay" | "root" | "row--editable" | "row--editing" | "row" | "rowCount" | "scrollArea--left" | "scrollArea--right" | "scrollArea" | "selectedRowCount" | "sortIcon" | "toolbarContainer" | "toolbarFilterList" | "virtualScroller" | "virtualScrollerContent" | "virtualScrollerRenderZone" | "withBorder", string>;
3359
4520
 
3360
4521
  /**
3361
4522
  * The grid component react props before applying the default values.
@@ -3388,6 +4549,7 @@ interface GridComponentOtherProps {
3388
4549
  columnTypes?: GridColumnTypesRecord;
3389
4550
  /**
3390
4551
  * Set the total number of rows, if it is different than the length of the value `rows` prop.
4552
+ * If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows.
3391
4553
  */
3392
4554
  rowCount?: number;
3393
4555
  /**
@@ -3465,17 +4627,10 @@ interface GridComponentOtherProps {
3465
4627
  /**
3466
4628
  * Callback fired when an exception is thrown in the grid.
3467
4629
  * @param {any} args The arguments passed to the `showError` call.
3468
- * @param {MuiEvent<{}>} event The event object.
3469
- * @param {GridCallbackDetails} details Additional details for this callback.
3470
- */
3471
- onError?: (args: any, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
3472
- /**
3473
- * Callback fired when the active element leaves a cell.
3474
- * @param {GridCallbackDetails} params With all properties from [[GridCellParams]].
3475
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
4630
+ * @param {MuiEvent} event The event object.
3476
4631
  * @param {GridCallbackDetails} details Additional details for this callback.
3477
4632
  */
3478
- onCellBlur?: (params: GridCellParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
4633
+ onError?: (args: any, event: MuiEvent, details: GridCallbackDetails) => void;
3479
4634
  /**
3480
4635
  * Callback fired when a click event comes from a cell element.
3481
4636
  * @param {GridCellParams} params With all properties from [[GridCellParams]].
@@ -3504,41 +4659,13 @@ interface GridComponentOtherProps {
3504
4659
  * @param {GridCallbackDetails} details Additional details for this callback.
3505
4660
  */
3506
4661
  onCellKeyDown?: (params: GridCellParams, event: MuiEvent<React$1.KeyboardEvent>, details: GridCallbackDetails) => void;
3507
- /**
3508
- * Callback fired when a mouseover event comes from a cell element.
3509
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3510
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3511
- * @param {GridCallbackDetails} details Additional details for this callback.
3512
- */
3513
- onCellOver?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3514
- /**
3515
- * Callback fired when a mouseout event comes from a cell element.
3516
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3517
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3518
- * @param {GridCallbackDetails} details Additional details for this callback.
3519
- */
3520
- onCellOut?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3521
- /**
3522
- * Callback fired when a mouse enter event comes from a cell element.
3523
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3524
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3525
- * @param {GridCallbackDetails} details Additional details for this callback.
3526
- */
3527
- onCellEnter?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3528
- /**
3529
- * Callback fired when a mouse leave event comes from a cell element.
3530
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3531
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3532
- * @param {GridCallbackDetails} details Additional details for this callback.
3533
- */
3534
- onCellLeave?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3535
4662
  /**
3536
4663
  * Callback fired when the cell value changed.
3537
4664
  * @param {GridEditCellValueParams} params With all properties from [[GridEditCellValueParams]].
3538
- * @param {MuiEvent<{}>} event The event object.
4665
+ * @param {MuiEvent} event The event object.
3539
4666
  * @param {GridCallbackDetails} details Additional details for this callback.
3540
4667
  */
3541
- onCellValueChange?: (params: GridEditCellValueParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4668
+ onCellValueChange?: (params: GridEditCellValueParams, event: MuiEvent, details: GridCallbackDetails) => void;
3542
4669
  /**
3543
4670
  * Callback fired when a click event comes from a column header element.
3544
4671
  * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].
@@ -3584,31 +4711,31 @@ interface GridComponentOtherProps {
3584
4711
  /**
3585
4712
  * Callback fired when a column is reordered.
3586
4713
  * @param {GridColumnOrderChangeParams} params With all properties from [[GridColumnOrderChangeParams]].
3587
- * @param {MuiEvent<{}>} event The event object.
4714
+ * @param {MuiEvent} event The event object.
3588
4715
  * @param {GridCallbackDetails} details Additional details for this callback.
3589
4716
  */
3590
- onColumnOrderChange?: (params: GridColumnOrderChangeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4717
+ onColumnOrderChange?: (params: GridColumnOrderChangeParams, event: MuiEvent, details: GridCallbackDetails) => void;
3591
4718
  /**
3592
4719
  * Callback fired while a column is being resized.
3593
4720
  * @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
3594
- * @param {MuiEvent<{}>} event The event object.
4721
+ * @param {MuiEvent} event The event object.
3595
4722
  * @param {GridCallbackDetails} details Additional details for this callback.
3596
4723
  */
3597
- onColumnResize?: (params: GridColumnResizeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4724
+ onColumnResize?: (params: GridColumnResizeParams, event: MuiEvent, details: GridCallbackDetails) => void;
3598
4725
  /**
3599
4726
  * Callback fired when the width of a column is changed.
3600
4727
  * @param {GridCallbackDetails} params With all properties from [[GridColumnResizeParams]].
3601
- * @param {MuiEvent<{}>} event The event object.
4728
+ * @param {MuiEvent} event The event object.
3602
4729
  * @param {GridCallbackDetails} details Additional details for this callback.
3603
4730
  */
3604
- onColumnWidthChange?: (params: GridColumnResizeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4731
+ onColumnWidthChange?: (params: GridColumnResizeParams, event: MuiEvent, details: GridCallbackDetails) => void;
3605
4732
  /**
3606
4733
  * Callback fired when a column visibility changes.
3607
4734
  * @param {GridColumnVisibilityChangeParams} params With all properties from [[GridColumnVisibilityChangeParams]].
3608
- * @param {MuiEvent<{}>} event The event object.
4735
+ * @param {MuiEvent} event The event object.
3609
4736
  * @param {GridCallbackDetails} details Additional details for this callback.
3610
4737
  */
3611
- onColumnVisibilityChange?: (params: GridColumnVisibilityChangeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4738
+ onColumnVisibilityChange?: (params: GridColumnVisibilityChangeParams, event: MuiEvent, details: GridCallbackDetails) => void;
3612
4739
  /**
3613
4740
  * Callback fired when a click event comes from a row container element.
3614
4741
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
@@ -3619,10 +4746,10 @@ interface GridComponentOtherProps {
3619
4746
  /**
3620
4747
  * Callback fired when scrolling to the bottom of the grid viewport.
3621
4748
  * @param {GridRowScrollEndParams} params With all properties from [[GridRowScrollEndParams]].
3622
- * @param {MuiEvent<{}>} event The event object.
4749
+ * @param {MuiEvent} event The event object.
3623
4750
  * @param {GridCallbackDetails} details Additional details for this callback.
3624
4751
  */
3625
- onRowsScrollEnd?: (params: GridRowScrollEndParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4752
+ onRowsScrollEnd?: (params: GridRowScrollEndParams, event: MuiEvent, details: GridCallbackDetails) => void;
3626
4753
  /**
3627
4754
  * Callback fired when a double click event comes from a row container element.
3628
4755
  * @param {GridRowParams} params With all properties from [[RowParams]].
@@ -3630,59 +4757,24 @@ interface GridComponentOtherProps {
3630
4757
  * @param {GridCallbackDetails} details Additional details for this callback.
3631
4758
  */
3632
4759
  onRowDoubleClick?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3633
- /**
3634
- * Callback fired when a mouseover event comes from a row container element.
3635
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3636
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3637
- * @param {GridCallbackDetails} details Additional details for this callback.
3638
- */
3639
- onRowOver?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3640
- /**
3641
- * Callback fired when a mouseout event comes from a row container element.
3642
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3643
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3644
- * @param {GridCallbackDetails} details Additional details for this callback.
3645
- */
3646
- onRowOut?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3647
- /**
3648
- * Callback fired when a mouse enter event comes from a row container element.
3649
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3650
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3651
- * @param {GridCallbackDetails} details Additional details for this callback.
3652
- */
3653
- onRowEnter?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3654
- /**
3655
- * Callback fired when a mouse leave event comes from a row container element.
3656
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3657
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3658
- * @param {GridCallbackDetails} details Additional details for this callback.
3659
- */
3660
- onRowLeave?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3661
4760
  /**
3662
4761
  * Callback fired when the grid is resized.
3663
4762
  * @param {ElementSize} containerSize With all properties from [[ElementSize]].
3664
- * @param {MuiEvent<{}>} event The event object.
4763
+ * @param {MuiEvent} event The event object.
3665
4764
  * @param {GridCallbackDetails} details Additional details for this callback.
3666
4765
  */
3667
- onResize?: (containerSize: ElementSize, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4766
+ onResize?: (containerSize: ElementSize, event: MuiEvent, details: GridCallbackDetails) => void;
3668
4767
  /**
3669
4768
  * Callback fired when the state of the grid is updated.
3670
4769
  * @param {GridState} state The new state.
3671
- * @param {MuiEvent<{}>} event The event object.
4770
+ * @param {MuiEvent} event The event object.
3672
4771
  * @param {GridCallbackDetails} details Additional details for this callback.
3673
4772
  * @internal
3674
4773
  */
3675
- onStateChange?: (state: GridState, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
4774
+ onStateChange?: (state: GridState, event: MuiEvent, details: GridCallbackDetails) => void;
3676
4775
  /**
3677
- * Callback fired when the rows in the viewport change.
3678
- * @param {GridViewportRowsChangeParams} params The viewport params.
3679
- * @param {MuiEvent<{}>} event The event object.
3680
- * @param {GridCallbackDetails} details Additional details for this callback.
3681
- */
3682
- onViewportRowsChange?: (params: GridViewportRowsChangeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
3683
- /**
3684
- * Set the current page.
3685
- * @default 1
4776
+ * The zero-based index of the current page.
4777
+ * @default 0
3686
4778
  */
3687
4779
  page?: number;
3688
4780
  /**
@@ -3693,6 +4785,7 @@ interface GridComponentOtherProps {
3693
4785
  onPageChange?: (page: number, details: GridCallbackDetails) => void;
3694
4786
  /**
3695
4787
  * Set the number of rows in one page.
4788
+ * If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows wanted on each page.
3696
4789
  * @default 100
3697
4790
  */
3698
4791
  pageSize?: number;
@@ -3751,7 +4844,7 @@ interface GridComponentOtherProps {
3751
4844
  */
3752
4845
  'aria-labelledby'?: string;
3753
4846
  /**
3754
- * @ignore
4847
+ * @ignore - do not document
3755
4848
  */
3756
4849
  className?: string;
3757
4850
  /**
@@ -3763,7 +4856,7 @@ interface GridComponentOtherProps {
3763
4856
  */
3764
4857
  error?: any;
3765
4858
  /**
3766
- * Return the id of a given [[GridRowData]].
4859
+ * Return the id of a given [[GridRowModel]].
3767
4860
  */
3768
4861
  getRowId?: GridRowIdGetter;
3769
4862
  /**
@@ -3779,11 +4872,13 @@ interface GridComponentOtherProps {
3779
4872
  */
3780
4873
  rows: GridRowsProp;
3781
4874
  /**
3782
- * Set the whole state of the grid.
4875
+ * The initial state of the DataGrid.
4876
+ * The data in it will be set in the state on initialization but will not be controlled.
4877
+ * If one of the data in `initialState` is also being controlled, then the control state wins.
3783
4878
  */
3784
- state?: Partial<GridState>;
4879
+ initialState?: GridInitialState;
3785
4880
  /**
3786
- * @ignore
4881
+ * @ignore - do not document
3787
4882
  */
3788
4883
  style?: React$1.CSSProperties;
3789
4884
  /**
@@ -3792,245 +4887,7 @@ interface GridComponentOtherProps {
3792
4887
  componentsProps?: GridSlotsComponentsProps;
3793
4888
  }
3794
4889
 
3795
- /**
3796
- * Only available in DataGridPro
3797
- * @requires useGridColumns (method)
3798
- */
3799
- declare const useGridColumnReorder: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'disableColumnReorder' | 'classes'>) => void;
3800
-
3801
- declare const gridColumnsSelector: (state: GridState) => GridColumnsState;
3802
- declare const allGridColumnsFieldsSelector: (state: GridState) => string[];
3803
- declare const gridColumnLookupSelector: (state: GridState) => GridColumnLookup;
3804
- declare const allGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res1: string[], res2: GridColumnLookup) => GridStateColDef[]>;
3805
- declare const visibleGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
3806
- declare const gridColumnsMetaSelector: reselect.OutputSelector<GridState, {
3807
- totalWidth: number;
3808
- positions: number[];
3809
- }, (res: GridStateColDef[]) => {
3810
- totalWidth: number;
3811
- positions: number[];
3812
- }>;
3813
- declare const filterableGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
3814
- declare const filterableGridColumnsIdsSelector: reselect.OutputSelector<GridState, string[], (res: GridStateColDef[]) => string[]>;
3815
- declare const visibleGridColumnsLengthSelector: reselect.OutputSelector<GridState, number, (res: GridStateColDef[]) => number>;
3816
- declare const gridColumnsTotalWidthSelector: reselect.OutputSelector<GridState, number, (res: {
3817
- totalWidth: number;
3818
- positions: number[];
3819
- }) => number>;
3820
-
3821
- /**
3822
- * @requires useGridParamsApi (method)
3823
- * TODO: Impossible priority - useGridParamsApi also needs to be after useGridColumns
3824
- */
3825
- declare function useGridColumns(apiRef: GridApiRef, props: Pick<GridComponentProps, 'columns' | 'onColumnVisibilityChange' | 'columnTypes' | 'checkboxSelection' | 'classes'>): void;
3826
-
3827
- declare const useGridApi: (apiRef: GridApiRef) => GridApi;
3828
-
3829
- declare function useGridControlState(apiRef: GridApiRef, props: GridComponentProps): void;
3830
-
3831
- declare const useGridSelector: <State>(apiRef: GridApiRef, selector: (state: any) => State) => State;
3832
-
3833
- declare const useGridState: (apiRef: GridApiRef) => [GridState, (stateUpdaterFn: (oldState: GridState) => GridState) => boolean, () => void];
3834
-
3835
- declare const getInitialGridFilterState: () => GridFilterModel;
3836
-
3837
- declare const visibleGridRowsStateSelector: (state: GridState) => VisibleGridRowsState;
3838
- declare const visibleSortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: VisibleGridRowsState, res2: Map<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3839
- declare const visibleSortedGridRowsAsArraySelector: reselect.OutputSelector<GridState, [GridRowId, GridRowData][], (res: Map<GridRowId, GridRowData>) => [GridRowId, GridRowData][]>;
3840
- declare const visibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: Map<GridRowId, GridRowData>) => GridRowId[]>;
3841
- declare const visibleGridRowCountSelector: reselect.OutputSelector<GridState, number, (res1: VisibleGridRowsState, res2: number) => number>;
3842
- declare const gridFilterModelSelector: (state: GridState) => GridFilterModel;
3843
- declare const activeGridFilterItemsSelector: reselect.OutputSelector<GridState, GridFilterItem[], (res1: GridFilterModel, res2: GridColumnLookup) => GridFilterItem[]>;
3844
- declare const filterGridItemsCounterSelector: reselect.OutputSelector<GridState, number, (res: GridFilterItem[]) => number>;
3845
- declare type FilterColumnLookup = Record<string, GridFilterItem[]>;
3846
- declare const filterGridColumnLookupSelector: reselect.OutputSelector<GridState, FilterColumnLookup, (res: GridFilterItem[]) => FilterColumnLookup>;
3847
-
3848
- /**
3849
- * @requires useGridColumns (state, method, event)
3850
- * @requires useGridParamsApi (method)
3851
- * @requires useGridRows (event)
3852
- * @requires useGridControlState (method)
3853
- */
3854
- declare const useGridFilter: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'filterModel' | 'onFilterModelChange' | 'filterMode' | 'disableMultipleColumnsFiltering'>) => void;
3855
-
3856
- /**
3857
- * @requires useGridParamsApi (method)
3858
- * @requires useGridRows (method)
3859
- * @requires useGridEditRows (event)
3860
- */
3861
- declare const useGridFocus: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'rows'>) => void;
3862
-
3863
- declare const gridFocusStateSelector: (state: GridState) => GridFocusState;
3864
- declare const gridFocusCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridFocusState) => GridCellIdentifier | null>;
3865
- declare const gridFocusColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridFocusState) => GridColumnIdentifier | null>;
3866
- declare const gridTabIndexStateSelector: (state: GridState) => GridTabIndexState;
3867
- declare const gridTabIndexCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridTabIndexState) => GridCellIdentifier | null>;
3868
- declare const gridTabIndexColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridTabIndexState) => GridColumnIdentifier | null>;
3869
-
3870
- /**
3871
- * @requires useGridSelection (method)
3872
- * @requires useGridRows (method)
3873
- * @requires useGridFocus (state)
3874
- * @requires useGridParamsApi (method)
3875
- * @requires useGridColumnMenu (method)
3876
- */
3877
- declare const useGridKeyboard: (apiRef: GridApiRef) => void;
3878
-
3879
- /**
3880
- * @requires useGridPage (state)
3881
- * @requires useGridPageSize (state)
3882
- * @requires useGridColumns (state, method)
3883
- * @requires useGridRows (state, method)
3884
- * @requires useGridContainerProps (state)
3885
- * @requires useGridFocus (method)
3886
- * @requires useGridScroll (method)
3887
- */
3888
- declare const useGridKeyboardNavigation: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination'>) => void;
3889
-
3890
- declare const gridPaginationSelector: (state: GridState) => GridPaginationState;
3891
- declare const gridPaginatedVisibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridPaginationState, res2: GridRowId[]) => GridRowId[]>;
3892
-
3893
- /**
3894
- * @requires useGridControlState (method)
3895
- * @requires useGridPageSize (state, event)
3896
- * @requires useGridFilter (state)
3897
- */
3898
- declare const useGridPage: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'page' | 'onPageChange' | 'rowCount'>) => void;
3899
-
3900
- /**
3901
- * @requires useGridControlState (method)
3902
- * @requires useGridContainerProps (state)
3903
- * @requires useGridFilter (state)
3904
- */
3905
- declare const useGridPageSize: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pageSize' | 'onPageSizeChange' | 'autoPageSize'>) => void;
3906
-
3907
- declare const gridPreferencePanelStateSelector: (state: GridState) => GridPreferencePanelState;
3908
- declare const gridViewportSizeStateSelector: (state: GridState) => ElementSize;
3909
-
3910
- declare const useGridPreferencesPanel: (apiRef: GridApiRef) => void;
3911
-
3912
- declare type GridRowsLookup = Record<GridRowId, GridRowModel>;
3913
- declare const gridRowsStateSelector: (state: GridState) => GridRowsState;
3914
- declare const gridRowCountSelector: reselect.OutputSelector<GridState, number, (res: GridRowsState) => number>;
3915
- declare const gridRowsLookupSelector: reselect.OutputSelector<GridState, Record<GridRowId, GridRowData>, (res: GridRowsState) => Record<GridRowId, GridRowData>>;
3916
- declare const unorderedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: GridRowsState) => GridRowId[]>;
3917
- declare const unorderedGridRowModelsSelector: reselect.OutputSelector<GridState, GridRowData[], (res: GridRowsState) => GridRowData[]>;
3918
-
3919
- /**
3920
- * @requires useGridColumns (method)
3921
- * @requires useGridRows (method)
3922
- * @requires useGridFocus (state)
3923
- * @requires useGridEditRows (method)
3924
- * TODO: Impossible priority - useGridEditRows also needs to be after useGridParamsApi
3925
- * TODO: Impossible priority - useGridFocus also needs to be after useGridParamsApi
3926
- */
3927
- declare function useGridParamsApi(apiRef: GridApiRef): void;
3928
-
3929
- interface GridRowsInternalCache {
3930
- state: GridRowsState;
3931
- timeout: NodeJS.Timeout | null;
3932
- lastUpdateMs: number | null;
3933
- }
3934
- declare function convertGridRowsPropToState(rows: GridRowsProp, propRowCount?: number, rowIdGetter?: GridRowIdGetter): GridRowsState;
3935
- /**
3936
- * @requires useGridSorting (method)
3937
- * TODO: Impossible priority - useGridSorting also needs to be after useGridRows (which causes all the existence check for apiRef.current.apiRef.current.getSortedRowIds)
3938
- */
3939
- declare const useGridRows: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'rows' | 'getRowId' | 'rowCount' | 'throttleRowsMs'>) => void;
3940
-
3941
- declare const gridEditRowsStateSelector: (state: GridState) => GridEditRowsModel;
3942
-
3943
- /**
3944
- * @requires useGridFocus - can be after, async only
3945
- * @requires useGridParamsApi (method)
3946
- * @requires useGridColumns (state)
3947
- * @requires useGridControlState (method)
3948
- */
3949
- declare function useGridEditRows(apiRef: GridApiRef, props: Pick<GridComponentProps, 'editRowsModel' | 'onEditRowsModelChange' | 'onEditCellPropsChange' | 'onCellEditCommit' | 'onCellEditStart' | 'onCellEditStop' | 'onRowEditCommit' | 'onRowEditStart' | 'onRowEditStop' | 'isCellEditable' | 'editMode'>): void;
3950
-
3951
- declare const gridSelectionStateSelector: (state: GridState) => GridSelectionModel;
3952
- declare const selectedGridRowsCountSelector: reselect.OutputSelector<GridState, number, (res: GridSelectionModel) => number>;
3953
- declare const selectedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridSelectionModel, res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3954
- declare const selectedIdsLookupSelector: reselect.OutputSelector<GridState, {}, (res: GridSelectionModel) => {}>;
3955
-
3956
- /**
3957
- * @requires useGridRows (state, method)
3958
- * @requires useGridParamsApi (method)
3959
- * @requires useGridControlState (method)
3960
- */
3961
- declare const useGridSelection: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'checkboxSelection' | 'selectionModel' | 'onSelectionModelChange' | 'disableMultipleSelection' | 'disableSelectionOnClick' | 'isRowSelectable' | 'checkboxSelectionVisibleOnly' | 'pagination'>) => void;
3962
-
3963
- declare const sortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridSortingState, res2: GridRowId[]) => GridRowId[]>;
3964
- declare const sortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridRowId[], res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3965
- declare const gridSortModelSelector: reselect.OutputSelector<GridState, GridSortModel, (res: GridSortingState) => GridSortModel>;
3966
- declare type GridSortColumnLookup = Record<string, {
3967
- sortDirection: GridSortDirection;
3968
- sortIndex?: number;
3969
- }>;
3970
- declare const gridSortColumnLookupSelector: reselect.OutputSelector<GridState, GridSortColumnLookup, (res: GridSortModel) => GridSortColumnLookup>;
3971
-
3972
- /**
3973
- * @requires useGridRows (state, event)
3974
- * @requires useGridControlState (method)
3975
- * @requires useGridColumns (event)
3976
- */
3977
- declare const useGridSorting: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'sortModel' | 'onSortModelChange' | 'sortingOrder' | 'sortingMode' | 'disableMultipleColumnsSorting'>) => void;
3978
-
3979
- /**
3980
- * @requires useGridColumns (state)
3981
- * @requires useGridPage (state)
3982
- * @requires useGridPageSize (state)
3983
- * @requires useGridRows (state)
3984
- */
3985
- declare const useGridVirtualization: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination' | 'paginationMode' | 'columnBuffer' | 'disableExtendRowFullWidth' | 'disableVirtualization'>) => void;
3986
-
3987
- /**
3988
- * @requires useGridPage (state)
3989
- * @requires useGridPageSize (state)
3990
- * @requires useGridColumns (state)
3991
- * @requires useGridRows (state)
3992
- * @requires useGridDensity (state)
3993
- */
3994
- declare const useGridScroll: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination'>) => void;
3995
-
3996
- declare function useGridApiRef(): GridApiRef;
3997
- declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef;
3998
-
3999
- declare const gridColumnResizeSelector: (state: GridState) => GridColumnResizeState;
4000
- declare const gridResizingColumnFieldSelector: reselect.OutputSelector<GridState, string, (res: GridColumnResizeState) => string>;
4001
-
4002
- /**
4003
- * Only available in DataGridPro
4004
- * @requires useGridColumns (method, event)
4005
- * TODO: improve experience for last column
4006
- */
4007
- declare const useGridColumnResize: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'onColumnResize' | 'onColumnWidthChange'>) => void;
4008
-
4009
- declare const useGridSlotComponentProps: () => GridSlotComponentProps;
4010
-
4011
- declare function useApi(apiRef: GridApiRef, props: Pick<GridComponentProps, 'signature'>): void;
4012
-
4013
- declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
4014
-
4015
- /**
4016
- * @requires useOptionsProp (state)
4017
- * @requires useGridDensity (state)
4018
- * @requires useGridColumns (state)
4019
- * @requires useGridFilter (state)
4020
- * @requires useGridPage (state)
4021
- * @requires useGridPageSize (state)
4022
- * TODO: Impossible priority - useGridPageSize also needs to be after useGridContainerProps
4023
- */
4024
- declare const useGridContainerProps: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination' | 'autoPageSize' | 'pageSize' | 'autoHeight' | 'hideFooter' | 'scrollbarSize' | 'disableVirtualization'>) => void;
4025
-
4026
- declare const useNativeEventListener: <E extends Event>(apiRef: GridApiRef, ref: React$1.MutableRefObject<HTMLDivElement | null> | (() => Element | undefined | null), eventName: string, handler?: ((event: E) => any) | undefined, options?: AddEventListenerOptions | undefined) => void;
4027
-
4028
- declare function useGridLoggerFactory(apiRef: GridApiRef, props: Pick<GridComponentProps, 'logger' | 'logLevel'>): void;
4029
- declare function useGridLogger(apiRef: GridApiRef, name: string): Logger;
4030
-
4031
- declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
4032
-
4033
- declare const useGridRootProps: () => GridComponentProps;
4890
+ declare const useGridProcessedProps: (inProps: GridInputComponentProps) => GridComponentProps;
4034
4891
 
4035
4892
  interface Localization {
4036
4893
  components: {
@@ -4058,6 +4915,8 @@ declare const faIR: Localization;
4058
4915
 
4059
4916
  declare const frFR: Localization;
4060
4917
 
4918
+ declare const heIL: Localization;
4919
+
4061
4920
  declare const itIT: Localization;
4062
4921
 
4063
4922
  declare const jaJP: Localization;
@@ -4066,28 +4925,23 @@ declare const koKR: Localization;
4066
4925
 
4067
4926
  declare const nlNL: Localization;
4068
4927
 
4069
- declare const plPLGrid: Partial<GridLocaleText>;
4070
4928
  declare const plPL: Localization;
4071
4929
 
4072
4930
  declare const ptBR: Localization;
4073
4931
 
4074
- declare const ruRUGrid: Partial<GridLocaleText>;
4075
4932
  declare const ruRU: Localization;
4076
4933
 
4077
- declare const skSKGrid: Partial<GridLocaleText>;
4078
4934
  declare const skSK: Localization;
4079
4935
 
4080
4936
  declare const trTR: Localization;
4081
4937
 
4082
- declare const ukUAGrid: Partial<GridLocaleText>;
4083
4938
  declare const ukUA: Localization;
4084
4939
 
4085
4940
  declare const viVN: Localization;
4086
4941
 
4087
- declare const zhCNGrid: Partial<GridLocaleText>;
4088
4942
  declare const zhCN: Localization;
4089
4943
 
4090
- declare const DataGrid: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<GridInputComponentProps, "apiRef" | "checkboxSelectionVisibleOnly" | "disableColumnResize" | "disableColumnReorder" | "disableMultipleColumnsFiltering" | "disableMultipleColumnsSorting" | "disableMultipleSelection" | "throttleRowsMs" | "hideFooterRowCount" | "options" | "onRowsScrollEnd" | "onViewportRowsChange" | "scrollEndThreshold" | "signature"> & {
4944
+ declare const DataGrid: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<GridInputComponentProps, "apiRef" | "checkboxSelectionVisibleOnly" | "disableColumnResize" | "disableColumnReorder" | "disableMultipleColumnsFiltering" | "disableMultipleColumnsSorting" | "disableMultipleSelection" | "disableChildrenFiltering" | "disableChildrenSorting" | "throttleRowsMs" | "hideFooterRowCount" | "options" | "onRowsScrollEnd" | "scrollEndThreshold" | "signature"> & {
4091
4945
  pagination?: true | undefined;
4092
4946
  } & React$1.RefAttributes<HTMLDivElement>>>;
4093
4947
 
@@ -4095,10 +4949,10 @@ declare const MAX_PAGE_SIZE = 100;
4095
4949
  /**
4096
4950
  * The grid component react props interface.
4097
4951
  */
4098
- declare type DataGridProps = Omit<GridInputComponentProps, 'apiRef' | 'checkboxSelectionVisibleOnly' | 'disableColumnResize' | 'disableColumnReorder' | 'disableMultipleColumnsFiltering' | 'disableMultipleColumnsSorting' | 'disableMultipleSelection' | 'throttleRowsMs' | 'hideFooterRowCount' | 'options' | 'onRowsScrollEnd' | 'onViewportRowsChange' | 'scrollEndThreshold' | 'signature'> & {
4952
+ declare type DataGridProps = Omit<GridInputComponentProps, 'apiRef' | 'checkboxSelectionVisibleOnly' | 'disableColumnResize' | 'disableColumnReorder' | 'disableMultipleColumnsFiltering' | 'disableMultipleColumnsSorting' | 'disableMultipleSelection' | 'disableChildrenFiltering' | 'disableChildrenSorting' | 'throttleRowsMs' | 'hideFooterRowCount' | 'options' | 'onRowsScrollEnd' | 'scrollEndThreshold' | 'signature'> & {
4099
4953
  pagination?: true;
4100
4954
  };
4101
4955
 
4102
4956
  declare const useDataGridComponent: (apiRef: GridApiRef, props: GridComponentProps) => void;
4103
4957
 
4104
- export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGrid, DataGridProps, ElementSize, FilterColumnLookup, GRID_ACTIONS_COL_DEF, GRID_BOOLEAN_COLUMN_TYPE, GRID_CELL_CSS_CLASS, GRID_CELL_CSS_CLASS_SUFFIX, GRID_COLUMN_HEADER_CSS_CLASS, GRID_COLUMN_HEADER_CSS_CLASS_SUFFIX, GRID_COLUMN_HEADER_DRAGGING_CSS_CLASS, GRID_COLUMN_HEADER_DROP_ZONE_CSS_CLASS, GRID_COLUMN_HEADER_SEPARATOR_RESIZABLE_CSS_CLASS, GRID_COLUMN_HEADER_TITLE_CSS_CLASS, GRID_CSS_CLASS_PREFIX, GRID_DATETIME_COLUMN_TYPE, GRID_DATETIME_COL_DEF, GRID_DATE_COLUMN_TYPE, GRID_DATE_COL_DEF, GRID_DEFAULT_LOCALE_TEXT, GRID_EXPERIMENTAL_ENABLED, GRID_NUMBER_COLUMN_TYPE, GRID_NUMERIC_COL_DEF, GRID_ROOT_CSS_CLASS_SUFFIX, GRID_ROW_CSS_CLASS, GRID_ROW_CSS_CLASS_SUFFIX, GRID_SINGLE_SELECT_COL_DEF, GRID_STRING_COLUMN_TYPE, GRID_STRING_COL_DEF, GridActionsCell, GridActionsCellItem, GridActionsCellItemProps, GridActionsColDef, GridAddIcon, GridAlignment, GridApi, GridApiContext, GridApiRef, GridArrowDownwardIcon, GridArrowUpwardIcon, GridAutoSizer, GridBody, GridCallbackDetails, GridCell, GridCellCheckboxForwardRef, GridCellCheckboxRenderer, GridCellClassFn, GridCellClassNamePropType, GridCellEditCommitParams, GridCellIdentifier, GridCellIndexCoordinates, GridCellMode, GridCellModes, GridCellParams, GridCellProps, GridCellValue, GridCheckCircleIcon, GridCheckIcon, GridClassKey, GridClasses, GridClipboardApi, GridCloseIcon, GridColDef, GridColType, GridColTypeDef, GridColumnApi, GridColumnHeaderClassFn, GridColumnHeaderClassNamePropType, GridColumnHeaderIndexCoordinates, GridColumnHeaderItem, GridColumnHeaderMenu, GridColumnHeaderMenuProps, GridColumnHeaderParams, GridColumnHeaderSeparator, GridColumnHeaderSeparatorProps, GridColumnHeaderSortIcon, GridColumnHeaderSortIconProps, GridColumnHeaderTitle, GridColumnHeaderTitleProps, GridColumnHeadersItemCollection, GridColumnHeadersItemCollectionProps, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumns, GridColumnsContainer, GridColumnsHeader, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridComponentProps, GridContainerProps, GridControlStateApi, GridCoreApi, GridCsvExportApi, GridDataContainer, GridDensity, GridDensityApi, GridDensityOption, GridDensityTypes, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditMode, GridEditModes, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEmptyCell, GridEmptyCellProps, GridEnrichedColDef, GridErrorHandler, GridEvents, GridEventsApi, GridExportCsvDelimiter, GridExportCsvOptions, GridExportFormat, GridFeatureMode, GridFeatureModeConstant, GridFieldComparatorList, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridIconSlotsComponent, GridInputComponentProps, GridInputSelectionModel, GridLinkOperator, GridLoadIcon, GridLoadingOverlay, GridLocaleText, GridLocaleTextApi, GridMenu, GridMenuIcon, GridMenuProps, GridMoreVertIcon, GridNativeColTypes, GridNoRowsOverlay, GridOverlay, GridOverlayProps, GridOverlays, GridPageApi, GridPageSizeApi, GridPagination, GridPanel, GridPanelClasses, GridPanelContent, GridPanelFooter, GridPanelHeader, GridPanelProps, GridPanelWrapper, GridParamsApi, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridRenderCellParams, GridRenderColumnsProps, GridRenderContextProps, GridRenderEditCellParams, GridRenderPaginationProps, GridRenderRowProps, GridRenderingState, GridRenderingZone, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCells, GridRowCount, GridRowData, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowsInternalCache, GridRowsLookup, GridRowsProp, GridRowsState, GridSaveAltIcon, GridScrollApi, GridScrollArea, GridScrollBarState, GridScrollFn, GridScrollParams, GridSearchIcon, GridSelectedRowCount, GridSelectionApi, GridSelectionModel, GridSeparatorIcon, GridSlotComponentProps, GridSlotsComponent, GridSlotsComponentsProps, GridSortApi, GridSortCellParams, GridSortColumnLookup, GridSortDirection, GridSortItem, GridSortModel, GridSortModelParams, GridSortingState, GridState, GridStateApi, GridStateChangeParams, GridStateColDef, GridStickyContainer, GridTabIndexState, GridTableRowsIcon, GridToolbar, GridToolbarColumnsButton, GridToolbarContainer, GridToolbarContainerProps, GridToolbarDensitySelector, GridToolbarExport, GridToolbarExportProps, GridToolbarFilterButton, GridToolbarFilterButtonProps, GridTranslationKeys, GridTripleDotsVerticalIcon, GridTypeFilterInputValueProps, GridUpdateAction, GridValueFormatterParams, GridValueGetterParams, GridViewHeadlineIcon, GridViewStreamIcon, GridViewport, GridViewportRowsChangeParams, GridViewportSizeState, GridVirtualizationApi, GridWindow, GridWindowProps, HideGridColMenuItem, Logger, MAX_PAGE_SIZE, MuiEvent, SUBMIT_FILTER_STROKE_TIME, SortGridMenuItems, VisibleGridRowsState, activeGridFilterItemsSelector, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, convertGridRowsPropToState, csCZ, deDE, elGR, enUS, esES, faIR, filterGridColumnLookupSelector, filterGridItemsCounterSelector, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getDataGridUtilityClass, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridSingleSelectOperators, getGridStringOperators, getInitialGridColumnReorderState, getInitialGridColumnResizeState, getInitialGridColumnsState, getInitialGridFilterState, getInitialGridRenderingState, getInitialGridRowState, getInitialGridSortingState, getInitialGridState, getInitialVisibleGridRowsState, gridCheckboxSelectionColDef, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateFormatter, gridDateTimeFormatter, gridEditRowsStateSelector, gridFilterModelSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationSelector, gridPanelClasses, gridPreferencePanelStateSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowsLookupSelector, gridRowsStateSelector, gridScrollbarStateSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridTabIndexCellSelector, gridTabIndexColumnHeaderSelector, gridTabIndexStateSelector, gridViewportSizeStateSelector, itIT, jaJP, koKR, nlNL, plPL, plPLGrid, ptBR, renderActionsCell, renderEditInputCell, renderEditSingleSelectCell, ruRU, ruRUGrid, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, skSKGrid, sortedGridRowIdsSelector, sortedGridRowsSelector, trTR, ukUA, ukUAGrid, unorderedGridRowIdsSelector, unorderedGridRowModelsSelector, useApi, useDataGridComponent, useGridApi, useGridApiMethod, useGridApiRef, useGridColumnMenu, useGridColumnReorder, useGridColumnResize, useGridColumns, useGridContainerProps, useGridControlState, useGridEditRows, useGridFilter, useGridFocus, useGridKeyboard, useGridKeyboardNavigation, useGridLogger, useGridLoggerFactory, useGridPage, useGridPageSize, useGridParamsApi, useGridPreferencesPanel, useGridRootProps, useGridRows, useGridScroll, useGridScrollFn, useGridSelection, useGridSelector, useGridSlotComponentProps, useGridSorting, useGridState, useGridVirtualization, useNativeEventListener, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, visibleGridRowCountSelector, visibleGridRowsStateSelector, visibleSortedGridRowIdsSelector, visibleSortedGridRowsAsArraySelector, visibleSortedGridRowsSelector, zhCN, zhCNGrid };
4958
+ export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGrid, DataGridProps, ElementSize, GRID_ACTIONS_COL_DEF, GRID_BOOLEAN_COL_DEF, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DATETIME_COL_DEF, GRID_DATE_COL_DEF, GRID_DEFAULT_LOCALE_TEXT, GRID_EXPERIMENTAL_ENABLED, GRID_NUMERIC_COL_DEF, GRID_SINGLE_SELECT_COL_DEF, GRID_STRING_COL_DEF, GridActionsCell, GridActionsCellItem, GridActionsCellItemProps, GridActionsColDef, GridAddIcon, GridAlignment, GridApi, GridApiContext, GridApiRef, GridArrowDownwardIcon, GridArrowUpwardIcon, GridAutoSizer, GridBody, GridCallbackDetails, GridCell, GridCellCheckboxForwardRef, GridCellCheckboxRenderer, GridCellClassFn, GridCellClassNamePropType, GridCellEditCommitParams, GridCellIdentifier, GridCellIndexCoordinates, GridCellMode, GridCellModes, GridCellParams, GridCellProps, GridCellValue, GridCheckCircleIcon, GridCheckIcon, GridClassKey, GridClasses, GridClipboardApi, GridCloseIcon, GridColDef, GridColDefOverride, GridColDefOverrideCallback, GridColDefOverrideParams, GridColType, GridColTypeDef, GridColumnApi, GridColumnHeaderClassFn, GridColumnHeaderClassNamePropType, GridColumnHeaderIndexCoordinates, GridColumnHeaderItem, GridColumnHeaderMenu, GridColumnHeaderMenuProps, GridColumnHeaderParams, GridColumnHeaderSeparator, GridColumnHeaderSeparatorProps, GridColumnHeaderSortIcon, GridColumnHeaderSortIconProps, GridColumnHeaderTitle, GridColumnHeaderTitleProps, GridColumnHeadersItemCollection, GridColumnHeadersItemCollectionProps, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumns, GridColumnsContainer, GridColumnsHeader, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridComponentProps, GridContainerProps, GridControlStateApi, GridCoreApi, GridCsvExportApi, GridCsvExportOptions, GridDensity, GridDensityApi, GridDensityOption, GridDensityState, GridDensityTypes, GridDisableVirtualizationApi, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditMode, GridEditModes, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEnrichedColDef, GridErrorHandler, GridEvents, GridEventsApi, GridExportFormat, GridFeatureMode, GridFeatureModeConstant, GridFieldComparatorList, GridFilterActiveItemsLookup, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInitialState, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFilterState, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridHeaderSelectionCheckboxParams, GridIconButtonContainer, GridIconButtonContainerProps, GridIconSlotsComponent, GridInitialState, GridInputComponentProps, GridInputSelectionModel, GridLinkOperator, GridLoadIcon, GridLoadingOverlay, GridLocaleText, GridLocaleTextApi, GridMenu, GridMenuIcon, GridMenuProps, GridMoreVertIcon, GridNativeColTypes, GridNoRowsOverlay, GridOverlay, GridOverlayProps, GridOverlays, GridPageApi, GridPageSizeApi, GridPagination, GridPaginationState, GridPanel, GridPanelClasses, GridPanelContent, GridPanelFooter, GridPanelHeader, GridPanelProps, GridPanelWrapper, GridParamsApi, GridPreferencePanelInitialState, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridPrintExportApi, GridPrintExportOptions, GridRenderCellParams, GridRenderColumnsProps, GridRenderContextProps, GridRenderEditCellParams, GridRenderPaginationProps, GridRenderRowProps, GridRenderingState, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCount, GridRowData, GridRowEntry, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowTreeConfig, GridRowTreeNodeConfig, GridRowsLookup, GridRowsProp, GridRowsState, GridSaveAltIcon, GridScrollApi, GridScrollArea, GridScrollBarState, GridScrollFn, GridScrollParams, GridSearchIcon, GridSelectedRowCount, GridSelectionApi, GridSelectionModel, GridSeparatorIcon, GridSignature, GridSlotsComponent, GridSlotsComponentsProps, GridSortApi, GridSortCellParams, GridSortColumnLookup, GridSortDirection, GridSortItem, GridSortModel, GridSortModelParams, GridSortingInitialState, GridSortingState, GridState, GridStateApi, GridStateChangeParams, GridStateColDef, GridTabIndexState, GridTableRowsIcon, GridToolbar, GridToolbarColumnsButton, GridToolbarContainer, GridToolbarContainerProps, GridToolbarDensitySelector, GridToolbarExport, GridToolbarExportProps, GridToolbarFilterButton, GridToolbarFilterButtonProps, GridTranslationKeys, GridTripleDotsVerticalIcon, GridTypeFilterInputValueProps, GridUpdateAction, GridValueFormatterParams, GridValueGetterParams, GridValueOptionsParams, GridValueSetterParams, GridViewHeadlineIcon, GridViewStreamIcon, GridViewportSizeState, HideGridColMenuItem, Logger, MAX_PAGE_SIZE, MuiEvent, SUBMIT_FILTER_STROKE_TIME, SortGridMenuItems, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, csCZ, deDE, elGR, enUS, esES, faIR, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getDataGridUtilityClass, getDefaultGridFilterModel, getGridBooleanOperators, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridSingleSelectOperators, getGridStringOperators, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateFormatter, gridDateTimeFormatter, gridDensityHeaderHeightSelector, gridDensityRowHeightSelector, gridDensitySelector, gridDensityValueSelector, gridEditRowsStateSelector, gridFilterActiveItemsLookupSelector, gridFilterActiveItemsSelector, gridFilterModelSelector, gridFilterStateSelector, gridFilteredDescendantCountLookupSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridPageSelector, gridPageSizeSelector, gridPaginatedVisibleSortedGridRowEntriesSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationRowRangeSelector, gridPaginationSelector, gridPanelClasses, gridPreferencePanelStateSelector, gridRenderingSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowIdsSelector, gridRowTreeDepthSelector, gridRowTreeSelector, gridRowsLookupSelector, gridRowsStateSelector, gridScrollSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridSortedRowEntriesSelector, gridSortedRowIdsSelector, gridTabIndexCellSelector, gridTabIndexColumnHeaderSelector, gridTabIndexStateSelector, gridTopLevelRowCountSelector, gridVisibleRowCountSelector, gridVisibleRowsLookupSelector, gridVisibleRowsSelector, gridVisibleSortedRowEntriesSelector, gridVisibleSortedRowIdsSelector, gridVisibleSortedTopLevelRowEntriesSelector, gridVisibleTopLevelRowCountSelector, heIL, itIT, jaJP, koKR, nlNL, plPL, ptBR, renderActionsCell, renderEditInputCell, renderEditSingleSelectCell, ruRU, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, trTR, ukUA, useDataGridComponent, useGridApi, useGridApiContext, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridLogger, useGridNativeEventListener, useGridProcessedProps, useGridRootProps, useGridScrollFn, useGridSelector, useGridState, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, zhCN };