@mui/x-data-grid 5.0.0-beta.0 → 5.0.0-beta.4

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
@@ -30,6 +30,23 @@ declare function GridHeaderPlaceholder(): JSX.Element;
30
30
 
31
31
  declare function GridOverlays(): JSX.Element | null;
32
32
 
33
+ interface GridFilterItem {
34
+ id?: number | string;
35
+ columnField?: string;
36
+ value?: any;
37
+ operatorValue?: string;
38
+ }
39
+ declare enum GridLinkOperator {
40
+ And = "and",
41
+ Or = "or"
42
+ }
43
+
44
+ interface GridFilterInputValueProps {
45
+ item: GridFilterItem;
46
+ applyValue: (value: GridFilterItem) => void;
47
+ apiRef: any;
48
+ }
49
+
33
50
  /**
34
51
  * The mode of the cell.
35
52
  */
@@ -184,9 +201,50 @@ interface GridRenderEditCellParams extends GridEditCellProps {
184
201
  */
185
202
  declare type GridValueGetterParams = Omit<GridRenderCellParams, 'formattedValue' | 'isEditable'>;
186
203
  /**
187
- * Alias of GridRenderCellParams.
204
+ * Object passed as parameter in the column [[GridColDef]] value formatter callback.
188
205
  */
189
- declare type GridValueFormatterParams = Omit<GridRenderCellParams, 'formattedValue' | 'isEditable'>;
206
+ interface GridValueFormatterParams {
207
+ /**
208
+ * The grid row id.
209
+ * It is not available when the value formatter is called by the filter panel.
210
+ */
211
+ id?: GridRowId;
212
+ /**
213
+ * The column field of the cell that triggered the event
214
+ */
215
+ field: string;
216
+ /**
217
+ * The cell value, but if the column has valueGetter, use getValue.
218
+ */
219
+ value: GridCellValue;
220
+ /**
221
+ * GridApi that let you manipulate the grid.
222
+ */
223
+ api: any;
224
+ }
225
+
226
+ interface GridFilterOperator {
227
+ label?: string;
228
+ value: string;
229
+ getApplyFilterFn: (filterItem: GridFilterItem, column: GridStateColDef) => null | ((params: GridCellParams) => boolean);
230
+ InputComponent?: React$1.JSXElementConstructor<GridFilterInputValueProps>;
231
+ InputComponentProps?: Record<string, any>;
232
+ }
233
+
234
+ declare const getGridBooleanOperators: () => GridFilterOperator[];
235
+
236
+ declare const getGridDateOperators: (showTime?: boolean | undefined) => GridFilterOperator[];
237
+
238
+ declare const getGridNumericColumnOperators: () => GridFilterOperator[];
239
+
240
+ declare const getGridSingleSelectOperators: () => GridFilterOperator[];
241
+
242
+ declare const getGridStringOperators: () => GridFilterOperator[];
243
+
244
+ declare type GridNativeColTypes = 'string' | 'number' | 'date' | 'dateTime' | 'boolean' | 'singleSelect' | 'actions';
245
+ declare type GridColType = GridNativeColTypes | string;
246
+
247
+ declare const getGridColDef: (columnTypes: any, type: GridColType | undefined) => any;
190
248
 
191
249
  /**
192
250
  * A function used to process cellClassName params.
@@ -220,31 +278,6 @@ declare type GridColumnHeaderClassFn = (params: GridColumnHeaderParams) => strin
220
278
  */
221
279
  declare type GridColumnHeaderClassNamePropType = string | GridColumnHeaderClassFn;
222
280
 
223
- interface GridFilterItem {
224
- id?: number | string;
225
- columnField?: string;
226
- value?: any;
227
- operatorValue?: string;
228
- }
229
- declare enum GridLinkOperator {
230
- And = "and",
231
- Or = "or"
232
- }
233
-
234
- interface GridFilterInputValueProps {
235
- item: GridFilterItem;
236
- applyValue: (value: GridFilterItem) => void;
237
- apiRef: any;
238
- }
239
-
240
- interface GridFilterOperator {
241
- label?: string;
242
- value: string;
243
- getApplyFilterFn: (filterItem: GridFilterItem, column: GridStateColDef) => null | ((params: GridCellParams) => boolean);
244
- InputComponent?: React$1.JSXElementConstructor<GridFilterInputValueProps>;
245
- InputComponentProps?: Record<string, any>;
246
- }
247
-
248
281
  declare type GridSortDirection = 'asc' | 'desc' | null | undefined;
249
282
  declare type GridFieldComparatorList = {
250
283
  field: string;
@@ -278,14 +311,6 @@ interface GridSortItem {
278
311
  */
279
312
  declare type GridSortModel = GridSortItem[];
280
313
 
281
- declare const GRID_STRING_COLUMN_TYPE = "string";
282
- declare const GRID_NUMBER_COLUMN_TYPE = "number";
283
- declare const GRID_DATE_COLUMN_TYPE = "date";
284
- declare const GRID_DATETIME_COLUMN_TYPE = "dateTime";
285
- declare const GRID_BOOLEAN_COLUMN_TYPE = "boolean";
286
- declare type GridNativeColTypes = 'string' | 'number' | 'date' | 'dateTime' | 'boolean' | 'singleSelect' | 'actions';
287
- declare type GridColType = GridNativeColTypes | string;
288
-
289
314
  /**
290
315
  * Object passed as parameter in the column [[GridColDef]] cell renderer.
291
316
  */
@@ -512,12 +537,13 @@ declare type GridColumnLookup = {
512
537
  interface GridColumnsState {
513
538
  all: string[];
514
539
  lookup: GridColumnLookup;
515
- }
516
- declare const getInitialGridColumnsState: () => GridColumnsState;
540
+ }
517
541
 
518
- declare const gridCheckboxSelectionColDef: GridColDef;
542
+ declare const GRID_ACTIONS_COL_DEF: GridColTypeDef;
519
543
 
520
- declare const getGridColDef: (columnTypes: any, type: GridColType | undefined) => any;
544
+ declare const GRID_BOOLEAN_COL_DEF: GridColTypeDef;
545
+
546
+ declare const GRID_CHECKBOX_SELECTION_COL_DEF: GridColDef;
521
547
 
522
548
  declare function gridDateFormatter({ value }: {
523
549
  value: GridCellValue;
@@ -528,11 +554,9 @@ declare function gridDateTimeFormatter({ value }: {
528
554
  declare const GRID_DATE_COL_DEF: GridColTypeDef;
529
555
  declare const GRID_DATETIME_COL_DEF: GridColTypeDef;
530
556
 
531
- declare const getGridDateOperators: (showTime?: boolean | undefined) => GridFilterOperator[];
532
-
533
557
  declare const GRID_NUMERIC_COL_DEF: GridColTypeDef;
534
558
 
535
- declare const getGridNumericColumnOperators: () => GridFilterOperator[];
559
+ declare const GRID_SINGLE_SELECT_COL_DEF: GridColTypeDef;
536
560
 
537
561
  declare const GRID_STRING_COL_DEF: GridColTypeDef;
538
562
 
@@ -541,10 +565,6 @@ declare type GridColumnTypesRecord = Record<GridColType, GridColTypeDef>;
541
565
  declare const DEFAULT_GRID_COL_TYPE_KEY = "__default__";
542
566
  declare const getGridDefaultColumnTypes: () => GridColumnTypesRecord;
543
567
 
544
- declare const getGridStringOperators: () => GridFilterOperator[];
545
-
546
- declare const GRID_ACTIONS_COL_DEF: GridColTypeDef;
547
-
548
568
  interface CursorCoordinates {
549
569
  x: number;
550
570
  y: number;
@@ -819,13 +839,11 @@ interface GridColumnMenuState {
819
839
 
820
840
  interface GridColumnReorderState {
821
841
  dragCol: string;
822
- }
823
- declare function getInitialGridColumnReorderState(): GridColumnReorderState;
842
+ }
824
843
 
825
844
  interface GridColumnResizeState {
826
845
  resizingColumnField: string;
827
- }
828
- declare function getInitialGridColumnResizeState(): GridColumnResizeState;
846
+ }
829
847
 
830
848
  /**
831
849
  * Available densities.
@@ -840,18 +858,12 @@ declare enum GridDensityTypes {
840
858
  Comfortable = "comfortable"
841
859
  }
842
860
 
843
- interface GridGridDensity {
861
+ interface GridDensityState {
844
862
  value: GridDensity;
845
863
  rowHeight: number;
846
864
  headerHeight: number;
847
865
  }
848
866
 
849
- interface VisibleGridRowsState {
850
- visibleRowsLookup: Record<GridRowId, boolean>;
851
- visibleRows?: GridRowId[];
852
- }
853
- declare const getInitialVisibleGridRowsState: () => VisibleGridRowsState;
854
-
855
867
  declare type GridCellIdentifier = {
856
868
  id: GridRowId;
857
869
  field: string;
@@ -878,27 +890,24 @@ interface GridPreferencePanelState {
878
890
  openedPanelValue?: GridPreferencePanelsValue;
879
891
  }
880
892
 
881
- interface InternalGridRowsState {
893
+ interface GridRowsState {
882
894
  idRowsLookup: Record<GridRowId, GridRowModel>;
883
895
  allRows: GridRowId[];
884
896
  totalRowCount: number;
885
- }
886
- declare const getInitialGridRowState: () => InternalGridRowsState;
897
+ }
887
898
 
888
899
  interface GridSortingState {
889
900
  sortedRows: GridRowId[];
890
901
  sortModel: GridSortModel;
891
- }
892
- declare function getInitialGridSortingState(): GridSortingState;
902
+ }
893
903
 
894
- interface InternalRenderingState {
904
+ interface GridRenderingState {
895
905
  virtualPage: number;
896
906
  virtualRowsCount: number;
897
907
  renderContext: Partial<GridRenderContextProps> | null;
898
908
  realScroll: GridScrollParams;
899
909
  renderingZoneScroll: GridScrollParams;
900
- }
901
- declare const getInitialGridRenderingState: () => InternalRenderingState;
910
+ }
902
911
 
903
912
  interface GridPaginationState {
904
913
  pageSize: number;
@@ -907,15 +916,22 @@ interface GridPaginationState {
907
916
  rowCount: number;
908
917
  }
909
918
 
919
+ declare const getDefaultGridFilterModel: () => GridFilterModel;
920
+ interface GridFilterState {
921
+ filterModel: GridFilterModel;
922
+ visibleRowsLookup: Record<GridRowId, boolean>;
923
+ visibleRows: GridRowId[] | null;
924
+ }
925
+
910
926
  interface GridState {
911
- rows: InternalGridRowsState;
927
+ rows: GridRowsState;
912
928
  editRows: GridEditRowsModel;
913
929
  pagination: GridPaginationState;
914
930
  columns: GridColumnsState;
915
931
  columnReorder: GridColumnReorderState;
916
932
  columnResize: GridColumnResizeState;
917
933
  columnMenu: GridColumnMenuState;
918
- rendering: InternalRenderingState;
934
+ rendering: GridRenderingState;
919
935
  containerSizes: GridContainerProps | null;
920
936
  viewportSizes: GridViewportSizeState;
921
937
  scrollBar: GridScrollBarState;
@@ -923,13 +939,11 @@ interface GridState {
923
939
  focus: GridFocusState;
924
940
  tabIndex: GridTabIndexState;
925
941
  selection: GridSelectionModel;
926
- filter: GridFilterModel;
927
- visibleRows: VisibleGridRowsState;
942
+ filter: GridFilterState;
928
943
  preferencePanel: GridPreferencePanelState;
929
- density: GridGridDensity;
944
+ density: GridDensityState;
930
945
  error?: any;
931
- }
932
- declare const getInitialGridState: () => GridState;
946
+ }
933
947
 
934
948
  /**
935
949
  * The column API interface that is available in the grid [[apiRef]].
@@ -1188,19 +1202,15 @@ interface GridClipboardApi {
1188
1202
  copySelectedRowsToClipboard: (includeHeaders?: boolean) => void;
1189
1203
  }
1190
1204
 
1191
- /**
1192
- * Available CSV delimiter characters used to separate fields.
1193
- */
1194
- declare type GridExportCsvDelimiter = string;
1195
1205
  /**
1196
1206
  * The options to apply on the CSV export.
1197
1207
  */
1198
- interface GridExportCsvOptions {
1208
+ interface GridCsvExportOptions {
1199
1209
  /**
1200
1210
  * The character used to separate fields.
1201
1211
  * @default ','
1202
1212
  */
1203
- delimiter?: GridExportCsvDelimiter;
1213
+ delimiter?: string;
1204
1214
  /**
1205
1215
  * The string used as the file name.
1206
1216
  * @default `document.title`
@@ -1223,10 +1233,54 @@ interface GridExportCsvOptions {
1223
1233
  */
1224
1234
  allColumns?: boolean;
1225
1235
  }
1236
+ /**
1237
+ * The options to apply on the Print export.
1238
+ */
1239
+ interface GridPrintExportOptions {
1240
+ /**
1241
+ * The value to be used as the print window title.
1242
+ * @default The title of the page.
1243
+ */
1244
+ fileName?: string;
1245
+ /**
1246
+ * The columns to be printed.
1247
+ * This should only be used if you want to restrict the columns exported.
1248
+ */
1249
+ fields?: string[];
1250
+ /**
1251
+ * If `true`, the hidden columns will also be printed.
1252
+ * @default false
1253
+ */
1254
+ allColumns?: boolean;
1255
+ /**
1256
+ * If `true`, the toolbar is removed for when printing.
1257
+ * @default false
1258
+ */
1259
+ hideToolbar?: boolean;
1260
+ /**
1261
+ * If `true`, the footer is removed for when printing.
1262
+ * @default false
1263
+ */
1264
+ hideFooter?: boolean;
1265
+ /**
1266
+ * If `false`, all <style> and <link type="stylesheet" /> tags from the <head> will not be copied
1267
+ * to the print window.
1268
+ * @default true
1269
+ */
1270
+ copyStyles?: boolean;
1271
+ /**
1272
+ * One or more classes passed to the print window.
1273
+ */
1274
+ bodyClassName?: string;
1275
+ /**
1276
+ * Provide Print specific styles to the print window.
1277
+ */
1278
+ pageStyle?: string | Function;
1279
+ }
1226
1280
  /**
1227
1281
  * Available export formats.
1228
1282
  */
1229
- declare type GridExportFormat = 'csv';
1283
+ declare type GridExportFormat = 'csv' | 'print';
1230
1284
 
1231
1285
  /**
1232
1286
  * The CSV export API interface that is available in the grid [[apiRef]].
@@ -1235,15 +1289,15 @@ interface GridCsvExportApi {
1235
1289
  /**
1236
1290
  * Returns the grid data as a CSV string.
1237
1291
  * This method is used internally by `exportDataAsCsv`.
1238
- * @param {GridExportCsvOptions} options The options to apply on the export.
1292
+ * @param {GridCsvExportOptions} options The options to apply on the export.
1239
1293
  * @returns {string} The data in the CSV format.
1240
1294
  */
1241
- getDataAsCsv: (options?: GridExportCsvOptions) => string;
1295
+ getDataAsCsv: (options?: GridCsvExportOptions) => string;
1242
1296
  /**
1243
1297
  * Downloads and exports a CSV of the grid's data.
1244
- * @param {GridExportCsvOptions} options The options to apply on the export.
1298
+ * @param {GridCsvExportOptions} options The options to apply on the export.
1245
1299
  */
1246
- exportDataAsCsv: (options?: GridExportCsvOptions) => void;
1300
+ exportDataAsCsv: (options?: GridCsvExportOptions) => void;
1247
1301
  }
1248
1302
 
1249
1303
  interface GridDensityOption {
@@ -1430,6 +1484,7 @@ interface GridLocaleText {
1430
1484
  toolbarExport: React.ReactNode;
1431
1485
  toolbarExportLabel: string;
1432
1486
  toolbarExportCSV: React.ReactNode;
1487
+ toolbarExportPrint: React.ReactNode;
1433
1488
  columnsPanelTextFieldLabel: string;
1434
1489
  columnsPanelTextFieldPlaceholder: string;
1435
1490
  columnsPanelDragIconLabel: string;
@@ -1576,6 +1631,28 @@ interface GridPreferencesPanelApi {
1576
1631
  hidePreferences: () => void;
1577
1632
  }
1578
1633
 
1634
+ /**
1635
+ * The Print export API interface that is available in the grid [[apiRef]].
1636
+ */
1637
+ interface GridPrintExportApi {
1638
+ /**
1639
+ * Print the grid's data.
1640
+ * @param {GridPrintExportOptions} options The options to apply on the export.
1641
+ */
1642
+ exportDataAsPrint: (options?: GridPrintExportOptions) => void;
1643
+ }
1644
+
1645
+ /**
1646
+ * The disable virtualization API interface that is available in the grid [[apiRef]].
1647
+ */
1648
+ interface GridDisableVirtualizationApi {
1649
+ /**
1650
+ * Disables grid's virtualization.
1651
+ * @ignore - do not document. Remove before releasing v5 stable version.
1652
+ */
1653
+ UNSTABLE_disableVirtualization: () => void;
1654
+ }
1655
+
1579
1656
  /**
1580
1657
  * The Row API interface that is available in the grid `apiRef`.
1581
1658
  */
@@ -1643,6 +1720,18 @@ interface GridSelectionApi {
1643
1720
  * @param {boolean} resetSelection Whether to reset the already selected rows or not. Default is `false`.
1644
1721
  */
1645
1722
  selectRows: (ids: GridRowId[], isSelected?: boolean, resetSelection?: boolean) => void;
1723
+ /**
1724
+ * Change the selection state of all the selectable rows in a range.
1725
+ * @param {Object} range The range of rows to select.
1726
+ * @param {GridRowId} range.startId The first row id.
1727
+ * @param {GridRowId} range.endId The last row id.
1728
+ * @param {boolean} isSelected The new selection state. Default is `true`.
1729
+ * @param {boolean} resetSelection Whether to reset the selected rows outside of the range or not. Default is `false`.
1730
+ */
1731
+ selectRowRange: (range: {
1732
+ startId: GridRowId;
1733
+ endId: GridRowId;
1734
+ }, isSelected?: boolean, resetSelection?: boolean) => void;
1646
1735
  /**
1647
1736
  * Determines if a row is selected or not.
1648
1737
  * @param {GridRowId} id The id of the row.
@@ -1784,7 +1873,7 @@ interface GridScrollApi {
1784
1873
  /**
1785
1874
  * The full grid API.
1786
1875
  */
1787
- 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 {
1876
+ interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridDensityApi, GridEventsApi, GridRowApi, GridEditRowApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridVirtualizationApi, GridPageApi, GridPageSizeApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridControlStateApi, GridClipboardApi, GridScrollApi {
1788
1877
  }
1789
1878
 
1790
1879
  /**
@@ -1855,6 +1944,15 @@ interface GridViewportRowsChangeParams {
1855
1944
  lastRowIndex: number;
1856
1945
  }
1857
1946
 
1947
+ interface GridRowSelectionCheckboxParams {
1948
+ value: boolean;
1949
+ id: GridRowId;
1950
+ }
1951
+
1952
+ interface GridHeaderSelectionCheckboxParams {
1953
+ value: boolean;
1954
+ }
1955
+
1858
1956
  /**
1859
1957
  * Set of icons used in the grid component UI.
1860
1958
  */
@@ -1926,6 +2024,10 @@ interface GridIconSlotsComponent {
1926
2024
  *
1927
2025
  */
1928
2026
  interface GridSlotsComponent extends GridIconSlotsComponent {
2027
+ /**
2028
+ * Component rendered for each cell.
2029
+ */
2030
+ Cell: React$1.JSXElementConstructor<any>;
1929
2031
  /**
1930
2032
  * The custom Checkbox component used in the grid for both header and cells.
1931
2033
  */
@@ -1983,6 +2085,10 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
1983
2085
  * Panel component wrapping the filters and columns panels.
1984
2086
  */
1985
2087
  Panel: React$1.JSXElementConstructor<any>;
2088
+ /**
2089
+ * Component rendered for each row.
2090
+ */
2091
+ Row: React$1.JSXElementConstructor<any>;
1986
2092
  }
1987
2093
 
1988
2094
  /**
@@ -1990,6 +2096,7 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
1990
2096
  */
1991
2097
  interface GridSlotsComponentsProps {
1992
2098
  checkbox?: any;
2099
+ cell?: any;
1993
2100
  columnMenu?: any;
1994
2101
  columnsPanel?: any;
1995
2102
  errorOverlay?: any;
@@ -2002,6 +2109,7 @@ interface GridSlotsComponentsProps {
2002
2109
  pagination?: any;
2003
2110
  panel?: any;
2004
2111
  preferencesPanel?: any;
2112
+ row?: any;
2005
2113
  toolbar?: any;
2006
2114
  }
2007
2115
 
@@ -2015,14 +2123,20 @@ interface GridCellProps {
2015
2123
  hasFocus?: boolean;
2016
2124
  height: number;
2017
2125
  isEditable?: boolean;
2018
- isSelected?: boolean;
2019
- rowIndex: number;
2020
2126
  showRightBorder?: boolean;
2021
2127
  value?: GridCellValue;
2022
2128
  width: number;
2023
2129
  cellMode?: GridCellMode;
2024
2130
  children: React$1.ReactNode;
2025
2131
  tabIndex: 0 | -1;
2132
+ onClick?: React$1.MouseEventHandler<HTMLDivElement>;
2133
+ onDoubleClick?: React$1.MouseEventHandler<HTMLDivElement>;
2134
+ onMouseDown?: React$1.MouseEventHandler<HTMLDivElement>;
2135
+ onMouseUp?: React$1.MouseEventHandler<HTMLDivElement>;
2136
+ onKeyDown?: React$1.KeyboardEventHandler<HTMLDivElement>;
2137
+ onDragEnter?: React$1.DragEventHandler<HTMLDivElement>;
2138
+ onDragOver?: React$1.DragEventHandler<HTMLDivElement>;
2139
+ [x: string]: any;
2026
2140
  }
2027
2141
  declare function GridCellRaw(props: GridCellProps): JSX.Element;
2028
2142
  declare namespace GridCellRaw {
@@ -2054,29 +2168,6 @@ declare namespace GridEmptyCellRaw {
2054
2168
  }
2055
2169
  declare const GridEmptyCell: React$1.MemoExoticComponent<typeof GridEmptyCellRaw>;
2056
2170
 
2057
- interface RowCellsProps {
2058
- columns: GridStateColDef[];
2059
- extendRowFullWidth: boolean;
2060
- firstColIdx: number;
2061
- id: GridRowId;
2062
- hasScrollX: boolean;
2063
- hasScrollY: boolean;
2064
- height: number;
2065
- getCellClassName?: (params: GridCellParams) => string;
2066
- lastColIdx: number;
2067
- row: GridRowModel;
2068
- rowIndex: number;
2069
- showCellRightBorder: boolean;
2070
- cellFocus: GridCellIdentifier | null;
2071
- cellTabIndex: GridCellIdentifier | null;
2072
- isSelected: boolean;
2073
- editRowState?: GridEditRowProps;
2074
- }
2075
- declare function GridRowCells(props: RowCellsProps): JSX.Element;
2076
- declare namespace GridRowCells {
2077
- var propTypes: any;
2078
- }
2079
-
2080
2171
  declare type MenuPosition = 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | undefined;
2081
2172
  interface GridMenuProps extends Omit<PopperProps, 'onKeyDown'> {
2082
2173
  open: boolean;
@@ -2181,6 +2272,8 @@ declare const GridColumnsHeader: React$1.ForwardRefExoticComponent<React$1.RefAt
2181
2272
 
2182
2273
  interface GridColumnHeadersItemCollectionProps {
2183
2274
  columns: GridStateColDef[];
2275
+ dragCol: string;
2276
+ resizeCol: string;
2184
2277
  }
2185
2278
  declare function GridColumnHeadersItemCollection(props: GridColumnHeadersItemCollectionProps): JSX.Element;
2186
2279
  declare namespace GridColumnHeadersItemCollection {
@@ -2393,9 +2486,10 @@ declare const GridToolbarColumnsButton: (props: ButtonProps) => JSX.Element;
2393
2486
  declare const GridToolbarDensitySelector: (props: ButtonProps) => JSX.Element;
2394
2487
 
2395
2488
  interface GridToolbarExportProps extends ButtonProps {
2396
- csvOptions?: GridExportCsvOptions;
2489
+ csvOptions?: GridCsvExportOptions;
2490
+ printOptions?: GridPrintExportOptions;
2397
2491
  }
2398
- 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>>;
2492
+ 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>>;
2399
2493
 
2400
2494
  interface GridToolbarFilterButtonProps extends Omit<TooltipProps, 'title' | 'children'> {
2401
2495
  /**
@@ -2477,8 +2571,19 @@ declare const GridRowCount: React$1.ForwardRefExoticComponent<React$1.HTMLAttrib
2477
2571
  interface GridRowProps {
2478
2572
  id: GridRowId;
2479
2573
  selected: boolean;
2480
- rowIndex: number;
2574
+ index: number;
2575
+ rowHeight: number;
2576
+ row: GridRowData;
2577
+ renderState: GridRenderingState;
2578
+ firstColumnToRender: number;
2579
+ renderedColumns: GridStateColDef[];
2481
2580
  children: React$1.ReactNode;
2581
+ cellFocus: GridCellIdentifier | null;
2582
+ cellTabIndex: GridCellIdentifier | null;
2583
+ editRowsModel: GridEditRowsModel;
2584
+ scrollBarState: GridScrollBarState;
2585
+ onClick?: React$1.MouseEventHandler<HTMLDivElement>;
2586
+ onDoubleClick?: React$1.MouseEventHandler<HTMLDivElement>;
2482
2587
  }
2483
2588
  declare function GridRow(props: GridRowProps): JSX.Element;
2484
2589
  declare namespace GridRow {
@@ -2550,34 +2655,10 @@ declare enum GridEvents {
2550
2655
  * Fired when a `mouseup` event happens in a cell. Called with a [[GridCellParams]] object.
2551
2656
  */
2552
2657
  cellMouseUp = "cellMouseUp",
2553
- /**
2554
- * Fired when a `mouseover` event happens in a cell. Called with a [[GridCellParams]] object.
2555
- */
2556
- cellOver = "cellOver",
2557
- /**
2558
- * Fired when a `mouseout` event happens in a cell. Called with a [[GridCellParams]] object.
2559
- */
2560
- cellOut = "cellOut",
2561
- /**
2562
- * Fired when a `mouseenter` event happens in a cell. Called with a [[GridCellParams]] object.
2563
- */
2564
- cellEnter = "cellEnter",
2565
- /**
2566
- * Fired when a `mouseleave` event happens in a cell. Called with a [[GridCellParams]] object.
2567
- */
2568
- cellLeave = "cellLeave",
2569
2658
  /**
2570
2659
  * Fired when a `keydown` event happens in a cell. Called with a [[GridCellParams]] object.
2571
2660
  */
2572
2661
  cellKeyDown = "cellKeyDown",
2573
- /**
2574
- * Fired when the `blur` event of a cell is triggered. Called with a [[GridCellParams]] object.
2575
- */
2576
- cellBlur = "cellBlur",
2577
- /**
2578
- * Fired when a cell gains focus. Called with a [[GridCellParams]] object.
2579
- */
2580
- cellFocus = "cellFocus",
2581
2662
  /**
2582
2663
  * Fired when a cell gains focus. Called with a [[GridCellParams]] object.
2583
2664
  */
@@ -2652,22 +2733,6 @@ declare enum GridEvents {
2652
2733
  * Fired when a row is double-clicked. Called with a [[GridRowParams]] object.
2653
2734
  */
2654
2735
  rowDoubleClick = "rowDoubleClick",
2655
- /**
2656
- * Fired when a `mouseover` event happens in a row. Called with a [[GridRowParams]] object.
2657
- */
2658
- rowOver = "rowOver",
2659
- /**
2660
- * Fired when a `mouseout` event happens in a row. Called with a [[GridRowParams]] object.
2661
- */
2662
- rowOut = "rowOut",
2663
- /**
2664
- * Fired when a `mouseenter` event happens in a row. Called with a [[GridRowParams]] object.
2665
- */
2666
- rowEnter = "rowEnter",
2667
- /**
2668
- * Fired when a `mouseleave` event happens in a row. Called with a [[GridRowParams]] object.
2669
- */
2670
- rowLeave = "rowLeave",
2671
2736
  /**
2672
2737
  * Fired when the row editing model changes. Called with a [[GridEditRowModelParams]] object.
2673
2738
  */
@@ -2751,6 +2816,16 @@ declare enum GridEvents {
2751
2816
  * Called with a [[GridSelectionModelChangeParams]] object.
2752
2817
  */
2753
2818
  selectionChange = "selectionChange",
2819
+ /**
2820
+ * Fired when the value of the selection checkbox of the header is changed
2821
+ * Called with a [[GridHeaderSelectionCheckboxParams]] object.
2822
+ */
2823
+ headerSelectionCheckboxChange = "headerSelectionCheckboxChange",
2824
+ /**
2825
+ * Fired when the value of the selection checkbox of a row is changed
2826
+ * Called with a [[GridRowSelectionCheckboxParams]] object.
2827
+ */
2828
+ rowSelectionCheckboxChange = "rowSelectionCheckboxChange",
2754
2829
  /**
2755
2830
  * Fired when the page changes.
2756
2831
  */
@@ -2793,23 +2868,11 @@ declare enum GridEvents {
2793
2868
  * Fired when the user ends reordering a column.
2794
2869
  */
2795
2870
  columnOrderChange = "columnOrderChange",
2796
- /**
2797
- * Fired when some of the rows are updated.
2798
- * @ignore - do not document.
2799
- */
2800
- rowsUpdate = "rowsUpdate",
2801
2871
  /**
2802
2872
  * Fired when all the rows are updated.
2803
2873
  * @ignore - do not document.
2804
2874
  */
2805
2875
  rowsSet = "rowsSet",
2806
- /**
2807
- * Implementation detail.
2808
- * Fired to reset the sortedRow when the set of rows changes.
2809
- * It's important as the rendered rows are coming from the sortedRow
2810
- * @ignore - do not document.
2811
- */
2812
- rowsClear = "rowsClear",
2813
2876
  /**
2814
2877
  * Fired when the columns state is changed.
2815
2878
  * Called with an array of strings corresponding to the field names.
@@ -2839,33 +2902,128 @@ declare enum GridEvents {
2839
2902
  viewportRowsChange = "viewportRowsChange"
2840
2903
  }
2841
2904
 
2842
- declare const GRID_CSS_CLASS_PREFIX = "MuiDataGrid";
2843
- declare const GRID_ROOT_CSS_CLASS_SUFFIX = "root";
2844
- declare const GRID_COLUMN_HEADER_CSS_CLASS_SUFFIX = "columnHeader";
2845
- declare const GRID_ROW_CSS_CLASS_SUFFIX = "row";
2846
- declare const GRID_CELL_CSS_CLASS_SUFFIX = "cell";
2847
- declare const GRID_COLUMN_HEADER_CSS_CLASS: string;
2848
- declare const GRID_ROW_CSS_CLASS: string;
2849
- declare const GRID_CELL_CSS_CLASS: string;
2850
- declare const GRID_COLUMN_HEADER_SEPARATOR_RESIZABLE_CSS_CLASS: string;
2851
- declare const GRID_COLUMN_HEADER_TITLE_CSS_CLASS: string;
2852
- declare const GRID_COLUMN_HEADER_DROP_ZONE_CSS_CLASS: string;
2853
- declare const GRID_COLUMN_HEADER_DRAGGING_CSS_CLASS: string;
2854
-
2855
2905
  declare const GRID_DEFAULT_LOCALE_TEXT: GridLocaleText;
2856
2906
 
2857
- /**
2858
- * @requires useGridColumnResize (event)
2859
- * @requires useGridInfiniteLoader (event)
2860
- * @requires useGridVirtualization (event)
2861
- */
2862
- declare const useGridColumnMenu: (apiRef: GridApiRef) => void;
2863
-
2864
2907
  declare const gridColumnMenuSelector: (state: GridState) => GridColumnMenuState;
2865
2908
 
2866
2909
  declare const gridColumnReorderSelector: (state: GridState) => GridColumnReorderState;
2867
2910
  declare const gridColumnReorderDragColSelector: reselect.OutputSelector<GridState, string, (res: GridColumnReorderState) => string>;
2868
2911
 
2912
+ declare const gridColumnResizeSelector: (state: GridState) => GridColumnResizeState;
2913
+ declare const gridResizingColumnFieldSelector: reselect.OutputSelector<GridState, string, (res: GridColumnResizeState) => string>;
2914
+
2915
+ declare const gridColumnsSelector: (state: GridState) => GridColumnsState;
2916
+ declare const allGridColumnsFieldsSelector: (state: GridState) => string[];
2917
+ declare const gridColumnLookupSelector: (state: GridState) => GridColumnLookup;
2918
+ declare const allGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res1: string[], res2: GridColumnLookup) => GridStateColDef[]>;
2919
+ declare const visibleGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
2920
+ declare const gridColumnsMetaSelector: reselect.OutputSelector<GridState, {
2921
+ totalWidth: number;
2922
+ positions: number[];
2923
+ }, (res: GridStateColDef[]) => {
2924
+ totalWidth: number;
2925
+ positions: number[];
2926
+ }>;
2927
+ declare const filterableGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
2928
+ declare const filterableGridColumnsIdsSelector: reselect.OutputSelector<GridState, string[], (res: GridStateColDef[]) => string[]>;
2929
+ declare const visibleGridColumnsLengthSelector: reselect.OutputSelector<GridState, number, (res: GridStateColDef[]) => number>;
2930
+ declare const gridColumnsTotalWidthSelector: reselect.OutputSelector<GridState, number, (res: {
2931
+ totalWidth: number;
2932
+ positions: number[];
2933
+ }) => number>;
2934
+
2935
+ declare const gridDensitySelector: (state: GridState) => GridDensityState;
2936
+ declare const gridDensityValueSelector: reselect.OutputSelector<GridState, GridDensity, (res: GridDensityState) => GridDensity>;
2937
+ declare const gridDensityRowHeightSelector: reselect.OutputSelector<GridState, number, (res: GridDensityState) => number>;
2938
+ declare const gridDensityHeaderHeightSelector: reselect.OutputSelector<GridState, number, (res: GridDensityState) => number>;
2939
+
2940
+ declare const gridEditRowsStateSelector: (state: GridState) => GridEditRowsModel;
2941
+
2942
+ declare const gridFilterStateSelector: (state: GridState) => GridFilterState;
2943
+ declare const gridFilterModelSelector: reselect.OutputSelector<GridState, GridFilterModel, (res: GridFilterState) => GridFilterModel>;
2944
+ declare const gridVisibleRowsLookupSelector: reselect.OutputSelector<GridState, Record<GridRowId, boolean>, (res: GridFilterState) => Record<GridRowId, boolean>>;
2945
+ declare const visibleSortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: Record<GridRowId, boolean>, res2: Map<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
2946
+ declare const visibleSortedGridRowsAsArraySelector: reselect.OutputSelector<GridState, [GridRowId, GridRowData][], (res: Map<GridRowId, GridRowData>) => [GridRowId, GridRowData][]>;
2947
+ declare const visibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: Map<GridRowId, GridRowData>) => GridRowId[]>;
2948
+ declare const visibleGridRowCountSelector: reselect.OutputSelector<GridState, number, (res1: GridFilterState, res2: number) => number>;
2949
+ declare const activeGridFilterItemsSelector: reselect.OutputSelector<GridState, GridFilterItem[], (res1: GridFilterModel, res2: GridColumnLookup) => GridFilterItem[]>;
2950
+ declare const filterGridItemsCounterSelector: reselect.OutputSelector<GridState, number, (res: GridFilterItem[]) => number>;
2951
+ declare type FilterColumnLookup = Record<string, GridFilterItem[]>;
2952
+ declare const filterGridColumnLookupSelector: reselect.OutputSelector<GridState, FilterColumnLookup, (res: GridFilterItem[]) => FilterColumnLookup>;
2953
+
2954
+ declare const gridFocusStateSelector: (state: GridState) => GridFocusState;
2955
+ declare const gridFocusCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridFocusState) => GridCellIdentifier | null>;
2956
+ declare const gridFocusColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridFocusState) => GridColumnIdentifier | null>;
2957
+ declare const gridTabIndexStateSelector: (state: GridState) => GridTabIndexState;
2958
+ declare const gridTabIndexCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridTabIndexState) => GridCellIdentifier | null>;
2959
+ declare const gridTabIndexColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridTabIndexState) => GridColumnIdentifier | null>;
2960
+
2961
+ declare const gridPaginationSelector: (state: GridState) => GridPaginationState;
2962
+ declare const gridPageSelector: reselect.OutputSelector<GridState, number, (res: GridPaginationState) => number>;
2963
+ declare const gridPageSizeSelector: reselect.OutputSelector<GridState, number, (res: GridPaginationState) => number>;
2964
+ declare const gridPaginatedVisibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridPaginationState, res2: GridRowId[]) => GridRowId[]>;
2965
+
2966
+ declare const gridPreferencePanelStateSelector: (state: GridState) => GridPreferencePanelState;
2967
+ declare const gridViewportSizeStateSelector: (state: GridState) => ElementSize;
2968
+
2969
+ declare type GridRowsLookup = Record<GridRowId, GridRowModel>;
2970
+ declare const gridRowsStateSelector: (state: GridState) => GridRowsState;
2971
+ declare const gridRowCountSelector: reselect.OutputSelector<GridState, number, (res: GridRowsState) => number>;
2972
+ declare const gridRowsLookupSelector: reselect.OutputSelector<GridState, Record<GridRowId, GridRowData>, (res: GridRowsState) => Record<GridRowId, GridRowData>>;
2973
+ declare const unorderedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: GridRowsState) => GridRowId[]>;
2974
+ declare const unorderedGridRowModelsSelector: reselect.OutputSelector<GridState, GridRowData[], (res: GridRowsState) => GridRowData[]>;
2975
+
2976
+ declare const gridSelectionStateSelector: (state: GridState) => GridSelectionModel;
2977
+ declare const selectedGridRowsCountSelector: reselect.OutputSelector<GridState, number, (res: GridSelectionModel) => number>;
2978
+ declare const selectedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridSelectionModel, res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
2979
+ declare const selectedIdsLookupSelector: reselect.OutputSelector<GridState, {}, (res: GridSelectionModel) => {}>;
2980
+
2981
+ declare const sortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridSortingState, res2: GridRowId[]) => GridRowId[]>;
2982
+ declare const sortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridRowId[], res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
2983
+ declare const gridSortModelSelector: reselect.OutputSelector<GridState, GridSortModel, (res: GridSortingState) => GridSortModel>;
2984
+ declare type GridSortColumnLookup = Record<string, {
2985
+ sortDirection: GridSortDirection;
2986
+ sortIndex?: number;
2987
+ }>;
2988
+ declare const gridSortColumnLookupSelector: reselect.OutputSelector<GridState, GridSortColumnLookup, (res: GridSortModel) => GridSortColumnLookup>;
2989
+
2990
+ declare const gridRenderingSelector: (state: GridState) => GridRenderingState;
2991
+ declare const gridScrollSelector: reselect.OutputSelector<GridState, GridScrollParams, (res: GridRenderingState) => GridScrollParams>;
2992
+
2993
+ declare const useGridApi: (apiRef: GridApiRef) => GridApi;
2994
+
2995
+ declare function useGridApiContext(): GridApiRef;
2996
+
2997
+ /**
2998
+ * Signal to the underlying logic what version of the public component API
2999
+ * of the data grid is exposed.
3000
+ */
3001
+ declare enum GridSignature {
3002
+ DataGrid = "DataGrid",
3003
+ DataGridPro = "DataGridPro"
3004
+ }
3005
+ declare function useGridApiEventHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridListener<Params, Event>, options?: GridSubscribeEventOptions): void;
3006
+ declare function useGridApiOptionHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridListener<Params, Event>): void;
3007
+
3008
+ declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
3009
+
3010
+ declare function useGridApiRef(): GridApiRef;
3011
+ declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef;
3012
+
3013
+ declare function useGridLogger(apiRef: GridApiRef, name: string): Logger;
3014
+
3015
+ declare const useGridRootProps: () => GridComponentProps;
3016
+
3017
+ declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
3018
+
3019
+ declare const useGridSelector: <T>(apiRef: GridApiRef, selector: (state: GridState) => T) => T;
3020
+
3021
+ declare const useGridSlotComponentProps: () => GridSlotComponentProps;
3022
+
3023
+ declare const useGridState: (apiRef: GridApiRef) => [GridState, (stateUpdaterFn: (oldState: GridState) => GridState) => boolean, () => void];
3024
+
3025
+ 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;
3026
+
2869
3027
  declare type GridMergedOptions = {
2870
3028
  [key in keyof GridProcessedMergedOptions]: Partial<GridProcessedMergedOptions[key]>;
2871
3029
  };
@@ -3076,6 +3234,12 @@ interface GridSimpleOptions {
3076
3234
  * @default "client"
3077
3235
  */
3078
3236
  sortingMode: GridFeatureMode;
3237
+ /**
3238
+ * If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
3239
+ * It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
3240
+ * @default 0
3241
+ */
3242
+ throttleRowsMs: number;
3079
3243
  }
3080
3244
 
3081
3245
  interface GridClasses {
@@ -3428,13 +3592,6 @@ interface GridComponentOtherProps {
3428
3592
  * @param {GridCallbackDetails} details Additional details for this callback.
3429
3593
  */
3430
3594
  onError?: (args: any, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
3431
- /**
3432
- * Callback fired when the active element leaves a cell.
3433
- * @param {GridCallbackDetails} params With all properties from [[GridCellParams]].
3434
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3435
- * @param {GridCallbackDetails} details Additional details for this callback.
3436
- */
3437
- onCellBlur?: (params: GridCellParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3438
3595
  /**
3439
3596
  * Callback fired when a click event comes from a cell element.
3440
3597
  * @param {GridCellParams} params With all properties from [[GridCellParams]].
@@ -3463,34 +3620,6 @@ interface GridComponentOtherProps {
3463
3620
  * @param {GridCallbackDetails} details Additional details for this callback.
3464
3621
  */
3465
3622
  onCellKeyDown?: (params: GridCellParams, event: MuiEvent<React$1.KeyboardEvent>, details: GridCallbackDetails) => void;
3466
- /**
3467
- * Callback fired when a mouseover event comes from a cell element.
3468
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3469
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3470
- * @param {GridCallbackDetails} details Additional details for this callback.
3471
- */
3472
- onCellOver?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3473
- /**
3474
- * Callback fired when a mouseout event comes from a cell element.
3475
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3476
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3477
- * @param {GridCallbackDetails} details Additional details for this callback.
3478
- */
3479
- onCellOut?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3480
- /**
3481
- * Callback fired when a mouse enter event comes from a cell element.
3482
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3483
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3484
- * @param {GridCallbackDetails} details Additional details for this callback.
3485
- */
3486
- onCellEnter?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3487
- /**
3488
- * Callback fired when a mouse leave event comes from a cell element.
3489
- * @param {GridCellParams} params With all properties from [[GridCellParams]].
3490
- * @param {MuiEvent<React.MouseEvent>} event The event object.
3491
- * @param {GridCallbackDetails} details Additional details for this callback.
3492
- */
3493
- onCellLeave?: (params: GridCellParams, event: MuiEvent<React$1.MouseEvent>, details: GridCallbackDetails) => void;
3494
3623
  /**
3495
3624
  * Callback fired when the cell value changed.
3496
3625
  * @param {GridEditCellValueParams} params With all properties from [[GridEditCellValueParams]].
@@ -3589,34 +3718,6 @@ interface GridComponentOtherProps {
3589
3718
  * @param {GridCallbackDetails} details Additional details for this callback.
3590
3719
  */
3591
3720
  onRowDoubleClick?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3592
- /**
3593
- * Callback fired when a mouseover event comes from a row container element.
3594
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3595
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3596
- * @param {GridCallbackDetails} details Additional details for this callback.
3597
- */
3598
- onRowOver?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3599
- /**
3600
- * Callback fired when a mouseout event comes from a row container element.
3601
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3602
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3603
- * @param {GridCallbackDetails} details Additional details for this callback.
3604
- */
3605
- onRowOut?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3606
- /**
3607
- * Callback fired when a mouse enter event comes from a row container element.
3608
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3609
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3610
- * @param {GridCallbackDetails} details Additional details for this callback.
3611
- */
3612
- onRowEnter?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3613
- /**
3614
- * Callback fired when a mouse leave event comes from a row container element.
3615
- * @param {GridRowParams} params With all properties from [[GridRowParams]].
3616
- * @param {MuiEvent<React.SyntheticEvent>} event The event object.
3617
- * @param {GridCallbackDetails} details Additional details for this callback.
3618
- */
3619
- onRowLeave?: (params: GridRowParams, event: MuiEvent<React$1.SyntheticEvent>, details: GridCallbackDetails) => void;
3620
3721
  /**
3621
3722
  * Callback fired when the grid is resized.
3622
3723
  * @param {ElementSize} containerSize With all properties from [[ElementSize]].
@@ -3640,8 +3741,8 @@ interface GridComponentOtherProps {
3640
3741
  */
3641
3742
  onViewportRowsChange?: (params: GridViewportRowsChangeParams, event: MuiEvent<{}>, details: GridCallbackDetails) => void;
3642
3743
  /**
3643
- * Set the current page.
3644
- * @default 1
3744
+ * The zero-based index of the current page.
3745
+ * @default 0
3645
3746
  */
3646
3747
  page?: number;
3647
3748
  /**
@@ -3751,254 +3852,15 @@ interface GridComponentOtherProps {
3751
3852
  componentsProps?: GridSlotsComponentsProps;
3752
3853
  }
3753
3854
 
3754
- /**
3755
- * Only available in DataGridPro
3756
- * @requires useGridColumns (method)
3757
- */
3758
- declare const useGridColumnReorder: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'disableColumnReorder' | 'classes'>) => void;
3759
-
3760
- declare const gridColumnsSelector: (state: GridState) => GridColumnsState;
3761
- declare const allGridColumnsFieldsSelector: (state: GridState) => string[];
3762
- declare const gridColumnLookupSelector: (state: GridState) => GridColumnLookup;
3763
- declare const allGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res1: string[], res2: GridColumnLookup) => GridStateColDef[]>;
3764
- declare const visibleGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
3765
- declare const gridColumnsMetaSelector: reselect.OutputSelector<GridState, {
3766
- totalWidth: number;
3767
- positions: number[];
3768
- }, (res: GridStateColDef[]) => {
3769
- totalWidth: number;
3770
- positions: number[];
3771
- }>;
3772
- declare const filterableGridColumnsSelector: reselect.OutputSelector<GridState, GridStateColDef[], (res: GridStateColDef[]) => GridStateColDef[]>;
3773
- declare const filterableGridColumnsIdsSelector: reselect.OutputSelector<GridState, string[], (res: GridStateColDef[]) => string[]>;
3774
- declare const visibleGridColumnsLengthSelector: reselect.OutputSelector<GridState, number, (res: GridStateColDef[]) => number>;
3775
- declare const gridColumnsTotalWidthSelector: reselect.OutputSelector<GridState, number, (res: {
3776
- totalWidth: number;
3777
- positions: number[];
3778
- }) => number>;
3779
-
3780
- /**
3781
- * @requires useGridParamsApi (method)
3782
- * TODO: Impossible priority - useGridParamsApi also needs to be after useGridColumns
3783
- */
3784
- declare function useGridColumns(apiRef: GridApiRef, props: Pick<GridComponentProps, 'columns' | 'onColumnVisibilityChange' | 'columnTypes' | 'checkboxSelection' | 'classes'>): void;
3785
-
3786
- declare const useGridApi: (apiRef: GridApiRef) => GridApi;
3787
-
3788
- declare function useGridControlState(apiRef: GridApiRef, props: GridComponentProps): void;
3789
-
3790
- declare const useGridSelector: <State>(apiRef: GridApiRef, selector: (state: any) => State) => State;
3791
-
3792
- declare const useGridState: (apiRef: GridApiRef) => [GridState, (stateUpdaterFn: (oldState: GridState) => GridState) => boolean, () => void];
3793
-
3794
- declare const getInitialGridFilterState: () => GridFilterModel;
3795
-
3796
- declare const visibleGridRowsStateSelector: (state: GridState) => VisibleGridRowsState;
3797
- declare const visibleSortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: VisibleGridRowsState, res2: Map<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3798
- declare const visibleSortedGridRowsAsArraySelector: reselect.OutputSelector<GridState, [GridRowId, GridRowData][], (res: Map<GridRowId, GridRowData>) => [GridRowId, GridRowData][]>;
3799
- declare const visibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: Map<GridRowId, GridRowData>) => GridRowId[]>;
3800
- declare const visibleGridRowCountSelector: reselect.OutputSelector<GridState, number, (res1: VisibleGridRowsState, res2: number) => number>;
3801
- declare const filterGridStateSelector: (state: GridState) => GridFilterModel;
3802
- declare const activeGridFilterItemsSelector: reselect.OutputSelector<GridState, GridFilterItem[], (res1: GridFilterModel, res2: GridColumnLookup) => GridFilterItem[]>;
3803
- declare const filterGridItemsCounterSelector: reselect.OutputSelector<GridState, number, (res: GridFilterItem[]) => number>;
3804
- declare type FilterColumnLookup = Record<string, GridFilterItem[]>;
3805
- declare const filterGridColumnLookupSelector: reselect.OutputSelector<GridState, FilterColumnLookup, (res: GridFilterItem[]) => FilterColumnLookup>;
3806
-
3807
- /**
3808
- * @requires useGridColumns (state, method, event)
3809
- * @requires useGridParamsApi (method)
3810
- * @requires useGridRows (event)
3811
- * @requires useGridControlState (method)
3812
- */
3813
- declare const useGridFilter: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'filterModel' | 'onFilterModelChange' | 'filterMode' | 'disableMultipleColumnsFiltering'>) => void;
3814
-
3815
- /**
3816
- * @requires useGridParamsApi (method)
3817
- * @requires useGridRows (method)
3818
- * @requires useGridEditRows (event)
3819
- */
3820
- declare const useGridFocus: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'rows'>) => void;
3821
-
3822
- declare const gridFocusStateSelector: (state: GridState) => GridFocusState;
3823
- declare const gridFocusCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridFocusState) => GridCellIdentifier | null>;
3824
- declare const gridFocusColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridFocusState) => GridColumnIdentifier | null>;
3825
- declare const gridTabIndexStateSelector: (state: GridState) => GridTabIndexState;
3826
- declare const gridTabIndexCellSelector: reselect.OutputSelector<GridState, GridCellIdentifier | null, (res: GridTabIndexState) => GridCellIdentifier | null>;
3827
- declare const gridTabIndexColumnHeaderSelector: reselect.OutputSelector<GridState, GridColumnIdentifier | null, (res: GridTabIndexState) => GridColumnIdentifier | null>;
3828
-
3829
- /**
3830
- * @requires useGridSelection (method)
3831
- * @requires useGridRows (method)
3832
- * @requires useGridFocus (state)
3833
- * @requires useGridParamsApi (method)
3834
- * @requires useGridColumnMenu (method)
3835
- */
3836
- declare const useGridKeyboard: (apiRef: GridApiRef) => void;
3837
-
3838
- /**
3839
- * @requires useGridPage (state)
3840
- * @requires useGridPageSize (state)
3841
- * @requires useGridColumns (state, method)
3842
- * @requires useGridRows (state, method)
3843
- * @requires useGridContainerProps (state)
3844
- * @requires useGridFocus (method)
3845
- * @requires useGridScroll (method)
3846
- */
3847
- declare const useGridKeyboardNavigation: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination'>) => void;
3848
-
3849
- declare const gridPaginationSelector: (state: GridState) => GridPaginationState;
3850
- declare const gridPaginatedVisibleSortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridPaginationState, res2: GridRowId[]) => GridRowId[]>;
3851
-
3852
- /**
3853
- * @requires useGridControlState (method)
3854
- * @requires useGridPageSize (state, event)
3855
- * @requires useGridFilter (state)
3856
- */
3857
- declare const useGridPage: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'page' | 'onPageChange' | 'rowCount'>) => void;
3858
-
3859
- /**
3860
- * @requires useGridControlState (method)
3861
- * @requires useGridContainerProps (state)
3862
- * @requires useGridFilter (state)
3863
- */
3864
- declare const useGridPageSize: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pageSize' | 'onPageSizeChange' | 'autoPageSize'>) => void;
3865
-
3866
- declare const gridPreferencePanelStateSelector: (state: GridState) => GridPreferencePanelState;
3867
- declare const gridViewportSizeStateSelector: (state: GridState) => ElementSize;
3868
-
3869
- declare const useGridPreferencesPanel: (apiRef: GridApiRef) => void;
3870
-
3871
- declare type GridRowsLookup = Record<GridRowId, GridRowModel>;
3872
- declare const gridRowsStateSelector: (state: GridState) => InternalGridRowsState;
3873
- declare const gridRowCountSelector: reselect.OutputSelector<GridState, number, (res: InternalGridRowsState) => number>;
3874
- declare const gridRowsLookupSelector: reselect.OutputSelector<GridState, Record<GridRowId, GridRowData>, (res: InternalGridRowsState) => Record<GridRowId, GridRowData>>;
3875
- declare const unorderedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res: InternalGridRowsState) => GridRowId[]>;
3876
- declare const unorderedGridRowModelsSelector: reselect.OutputSelector<GridState, GridRowData[], (res: InternalGridRowsState) => GridRowData[]>;
3877
-
3878
- /**
3879
- * @requires useGridColumns (method)
3880
- * @requires useGridRows (method)
3881
- * @requires useGridFocus (state)
3882
- * @requires useGridEditRows (method)
3883
- * TODO: Impossible priority - useGridEditRows also needs to be after useGridParamsApi
3884
- * TODO: Impossible priority - useGridFocus also needs to be after useGridParamsApi
3885
- */
3886
- declare function useGridParamsApi(apiRef: GridApiRef): void;
3887
-
3888
- declare function convertGridRowsPropToState(rows: GridRowsProp, totalRowCount?: number, rowIdGetter?: GridRowIdGetter): InternalGridRowsState;
3889
- /**
3890
- * @requires useGridSorting (method)
3891
- * TODO: Impossible priority - useGridSorting also needs to be after useGridRows (which causes all the existence check for apiRef.current.apiRef.current.getSortedRowIds)
3892
- */
3893
- declare const useGridRows: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'rows' | 'getRowId' | 'rowCount'>) => void;
3894
-
3895
- declare const gridEditRowsStateSelector: (state: GridState) => GridEditRowsModel;
3896
-
3897
- /**
3898
- * @requires useGridFocus - can be after, async only
3899
- * @requires useGridParamsApi (method)
3900
- * @requires useGridColumns (state)
3901
- * @requires useGridControlState (method)
3902
- */
3903
- declare function useGridEditRows(apiRef: GridApiRef, props: Pick<GridComponentProps, 'editRowsModel' | 'onEditRowsModelChange' | 'onEditCellPropsChange' | 'onCellEditCommit' | 'onCellEditStart' | 'onCellEditStop' | 'onRowEditCommit' | 'onRowEditStart' | 'onRowEditStop' | 'isCellEditable' | 'editMode'>): void;
3904
-
3905
- declare const gridSelectionStateSelector: (state: GridState) => GridSelectionModel;
3906
- declare const selectedGridRowsCountSelector: reselect.OutputSelector<GridState, number, (res: GridSelectionModel) => number>;
3907
- declare const selectedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridSelectionModel, res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3908
- declare const selectedIdsLookupSelector: reselect.OutputSelector<GridState, {}, (res: GridSelectionModel) => {}>;
3909
-
3910
- /**
3911
- * @requires useGridRows (state, method)
3912
- * @requires useGridParamsApi (method)
3913
- * @requires useGridControlState (method)
3914
- */
3915
- declare const useGridSelection: (apiRef: GridApiRef, props: GridComponentProps) => void;
3916
-
3917
- declare const sortedGridRowIdsSelector: reselect.OutputSelector<GridState, GridRowId[], (res1: GridSortingState, res2: GridRowId[]) => GridRowId[]>;
3918
- declare const sortedGridRowsSelector: reselect.OutputSelector<GridState, Map<GridRowId, GridRowData>, (res1: GridRowId[], res2: Record<GridRowId, GridRowData>) => Map<GridRowId, GridRowData>>;
3919
- declare const gridSortModelSelector: reselect.OutputSelector<GridState, GridSortModel, (res: GridSortingState) => GridSortModel>;
3920
- declare type GridSortColumnLookup = Record<string, {
3921
- sortDirection: GridSortDirection;
3922
- sortIndex?: number;
3923
- }>;
3924
- declare const gridSortColumnLookupSelector: reselect.OutputSelector<GridState, GridSortColumnLookup, (res: GridSortModel) => GridSortColumnLookup>;
3925
-
3926
- /**
3927
- * @requires useGridRows (state, event)
3928
- * @requires useGridControlState (method)
3929
- * @requires useGridColumns (event)
3930
- */
3931
- declare const useGridSorting: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'sortModel' | 'onSortModelChange' | 'sortingOrder' | 'sortingMode' | 'disableMultipleColumnsSorting'>) => void;
3932
-
3933
- /**
3934
- * @requires useGridColumns (state)
3935
- * @requires useGridPage (state)
3936
- * @requires useGridPageSize (state)
3937
- * @requires useGridRows (state)
3938
- */
3939
- declare const useGridVirtualization: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination' | 'paginationMode' | 'columnBuffer' | 'disableExtendRowFullWidth' | 'disableVirtualization'>) => void;
3940
-
3941
- /**
3942
- * @requires useGridPage (state)
3943
- * @requires useGridPageSize (state)
3944
- * @requires useGridColumns (state)
3945
- * @requires useGridRows (state)
3946
- * @requires useGridDensity (state)
3947
- */
3948
- declare const useGridScroll: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination'>) => void;
3949
-
3950
- declare function useGridApiRef(): GridApiRef;
3951
- declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef;
3952
-
3953
- declare const gridColumnResizeSelector: (state: GridState) => GridColumnResizeState;
3954
- declare const gridResizingColumnFieldSelector: reselect.OutputSelector<GridState, string, (res: GridColumnResizeState) => string>;
3955
-
3956
- /**
3957
- * Only available in DataGridPro
3958
- * @requires useGridColumns (method, event)
3959
- * TODO: improve experience for last column
3960
- */
3961
- declare const useGridColumnResize: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'onColumnResize' | 'onColumnWidthChange'>) => void;
3962
-
3963
- declare const useGridSlotComponentProps: () => GridSlotComponentProps;
3855
+ declare const useGridProcessedProps: (inProps: GridInputComponentProps) => GridComponentProps;
3964
3856
 
3965
- declare function useApi(apiRef: GridApiRef, props: Pick<GridComponentProps, 'signature'>): void;
3966
-
3967
- declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
3968
-
3969
- /**
3970
- * @requires useOptionsProp (state)
3971
- * @requires useGridDensity (state)
3972
- * @requires useGridColumns (state)
3973
- * @requires useGridFilter (state)
3974
- * @requires useGridPage (state)
3975
- * @requires useGridPageSize (state)
3976
- * TODO: Impossible priority - useGridPageSize also needs to be after useGridContainerProps
3977
- */
3978
- declare const useGridContainerProps: (apiRef: GridApiRef, props: Pick<GridComponentProps, 'pagination' | 'autoPageSize' | 'pageSize' | 'autoHeight' | 'hideFooter' | 'scrollbarSize' | 'disableVirtualization'>) => void;
3979
-
3980
- 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;
3981
-
3982
- declare function useGridLoggerFactory(apiRef: GridApiRef, props: Pick<GridComponentProps, 'logger' | 'logLevel'>): void;
3983
- declare function useGridLogger(apiRef: GridApiRef, name: string): Logger;
3984
-
3985
- declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
3986
-
3987
- declare const useGridRootProps: () => GridComponentProps;
3988
-
3989
- interface LocalizationV4 {
3990
- props: {
3991
- MuiDataGrid: Pick<GridMergedOptions, 'localeText'>;
3992
- };
3993
- }
3994
- interface LocalizationV5 {
3857
+ interface Localization {
3995
3858
  components: {
3996
3859
  MuiDataGrid: {
3997
3860
  defaultProps: Pick<GridMergedOptions, 'localeText'>;
3998
3861
  };
3999
3862
  };
4000
- }
4001
- declare type Localization = LocalizationV4 | LocalizationV5;
3863
+ }
4002
3864
 
4003
3865
  declare const arSD: Localization;
4004
3866
 
@@ -4014,6 +3876,8 @@ declare const enUS: Localization;
4014
3876
 
4015
3877
  declare const esES: Localization;
4016
3878
 
3879
+ declare const faIR: Localization;
3880
+
4017
3881
  declare const frFR: Localization;
4018
3882
 
4019
3883
  declare const itIT: Localization;
@@ -4024,26 +3888,23 @@ declare const koKR: Localization;
4024
3888
 
4025
3889
  declare const nlNL: Localization;
4026
3890
 
4027
- declare const plPLGrid: Partial<GridLocaleText>;
4028
3891
  declare const plPL: Localization;
4029
3892
 
4030
3893
  declare const ptBR: Localization;
4031
3894
 
4032
- declare const ruRUGrid: Partial<GridLocaleText>;
4033
3895
  declare const ruRU: Localization;
4034
3896
 
4035
- declare const skSKGrid: Partial<GridLocaleText>;
4036
3897
  declare const skSK: Localization;
4037
3898
 
4038
3899
  declare const trTR: Localization;
4039
3900
 
4040
- declare const ukUAGrid: Partial<GridLocaleText>;
4041
3901
  declare const ukUA: Localization;
4042
3902
 
4043
- declare const zhCNGrid: Partial<GridLocaleText>;
3903
+ declare const viVN: Localization;
3904
+
4044
3905
  declare const zhCN: Localization;
4045
3906
 
4046
- declare const DataGrid: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<GridInputComponentProps, "apiRef" | "checkboxSelectionVisibleOnly" | "disableColumnResize" | "disableColumnReorder" | "disableMultipleColumnsFiltering" | "disableMultipleColumnsSorting" | "disableMultipleSelection" | "hideFooterRowCount" | "options" | "onRowsScrollEnd" | "onViewportRowsChange" | "scrollEndThreshold" | "signature"> & {
3907
+ 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"> & {
4047
3908
  pagination?: true | undefined;
4048
3909
  } & React$1.RefAttributes<HTMLDivElement>>>;
4049
3910
 
@@ -4051,10 +3912,10 @@ declare const MAX_PAGE_SIZE = 100;
4051
3912
  /**
4052
3913
  * The grid component react props interface.
4053
3914
  */
4054
- declare type DataGridProps = Omit<GridInputComponentProps, 'apiRef' | 'checkboxSelectionVisibleOnly' | 'disableColumnResize' | 'disableColumnReorder' | 'disableMultipleColumnsFiltering' | 'disableMultipleColumnsSorting' | 'disableMultipleSelection' | 'hideFooterRowCount' | 'options' | 'onRowsScrollEnd' | 'onViewportRowsChange' | 'scrollEndThreshold' | 'signature'> & {
3915
+ declare type DataGridProps = Omit<GridInputComponentProps, 'apiRef' | 'checkboxSelectionVisibleOnly' | 'disableColumnResize' | 'disableColumnReorder' | 'disableMultipleColumnsFiltering' | 'disableMultipleColumnsSorting' | 'disableMultipleSelection' | 'throttleRowsMs' | 'hideFooterRowCount' | 'options' | 'onRowsScrollEnd' | 'onViewportRowsChange' | 'scrollEndThreshold' | 'signature'> & {
4055
3916
  pagination?: true;
4056
3917
  };
4057
3918
 
4058
3919
  declare const useDataGridComponent: (apiRef: GridApiRef, props: GridComponentProps) => void;
4059
3920
 
4060
- 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_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, GridRenderingZone, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCells, GridRowCount, GridRowData, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowsLookup, GridRowsProp, 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, InternalGridRowsState, InternalRenderingState, Logger, MAX_PAGE_SIZE, MuiEvent, SUBMIT_FILTER_STROKE_TIME, SortGridMenuItems, VisibleGridRowsState, activeGridFilterItemsSelector, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, convertGridRowsPropToState, csCZ, deDE, elGR, enUS, esES, filterGridColumnLookupSelector, filterGridItemsCounterSelector, filterGridStateSelector, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getDataGridUtilityClass, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridStringOperators, getInitialGridColumnReorderState, getInitialGridColumnResizeState, getInitialGridColumnsState, getInitialGridFilterState, getInitialGridRenderingState, getInitialGridRowState, getInitialGridSortingState, getInitialGridState, getInitialVisibleGridRowsState, gridCheckboxSelectionColDef, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateFormatter, gridDateTimeFormatter, gridEditRowsStateSelector, 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, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, visibleGridRowCountSelector, visibleGridRowsStateSelector, visibleSortedGridRowIdsSelector, visibleSortedGridRowsAsArraySelector, visibleSortedGridRowsSelector, zhCN, zhCNGrid };
3921
+ export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGrid, DataGridProps, ElementSize, FilterColumnLookup, 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, 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, GridDataContainer, GridDensity, GridDensityApi, GridDensityOption, GridDensityState, GridDensityTypes, GridDisableVirtualizationApi, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditMode, GridEditModes, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEmptyCell, GridEmptyCellProps, GridEnrichedColDef, GridErrorHandler, GridEvents, GridEventsApi, GridExportFormat, GridFeatureMode, GridFeatureModeConstant, GridFieldComparatorList, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFilterState, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridHeaderSelectionCheckboxParams, GridIconSlotsComponent, 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, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridPrintExportApi, GridPrintExportOptions, GridRenderCellParams, GridRenderColumnsProps, GridRenderContextProps, GridRenderEditCellParams, GridRenderPaginationProps, GridRenderRowProps, GridRenderingState, GridRenderingZone, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCount, GridRowData, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowsLookup, GridRowsProp, GridRowsState, GridSaveAltIcon, GridScrollApi, GridScrollArea, GridScrollBarState, GridScrollFn, GridScrollParams, GridSearchIcon, GridSelectedRowCount, GridSelectionApi, GridSelectionModel, GridSeparatorIcon, GridSignature, 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, activeGridFilterItemsSelector, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, csCZ, deDE, elGR, enUS, esES, faIR, filterGridColumnLookupSelector, filterGridItemsCounterSelector, 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, gridFilterModelSelector, gridFilterStateSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridPageSelector, gridPageSizeSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationSelector, gridPanelClasses, gridPreferencePanelStateSelector, gridRenderingSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowsLookupSelector, gridRowsStateSelector, gridScrollSelector, gridScrollbarStateSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridTabIndexCellSelector, gridTabIndexColumnHeaderSelector, gridTabIndexStateSelector, gridViewportSizeStateSelector, gridVisibleRowsLookupSelector, itIT, jaJP, koKR, nlNL, plPL, ptBR, renderActionsCell, renderEditInputCell, renderEditSingleSelectCell, ruRU, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, sortedGridRowIdsSelector, sortedGridRowsSelector, trTR, ukUA, unorderedGridRowIdsSelector, unorderedGridRowModelsSelector, useDataGridComponent, useGridApi, useGridApiContext, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridLogger, useGridNativeEventListener, useGridProcessedProps, useGridRootProps, useGridScrollFn, useGridSelector, useGridSlotComponentProps, useGridState, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, visibleGridRowCountSelector, visibleSortedGridRowIdsSelector, visibleSortedGridRowsAsArraySelector, visibleSortedGridRowsSelector, zhCN };