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

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "5.0.0-beta.7",
3
+ "version": "5.0.0",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "index-cjs.js",
@@ -29,21 +29,21 @@
29
29
  ],
30
30
  "scripts": {
31
31
  "typescript": "tsc -p tsconfig.json",
32
- "build": "cd ../ && rollup --config rollup.data-grid.config.js"
32
+ "build": "cd ../ && rollup --config rollup.x-data-grid.config.js"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
36
36
  "url": "https://github.com/mui-org/material-ui-x.git",
37
- "directory": "packages/grid/data-grid"
37
+ "directory": "packages/grid/x-data-grid"
38
38
  },
39
39
  "dependencies": {
40
- "@mui/utils": "^5.0.1",
40
+ "@mui/utils": "^5.1.0",
41
41
  "clsx": "^1.1.1",
42
42
  "prop-types": "^15.7.2",
43
43
  "reselect": "^4.1.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "@mui/material": "^5.0.6",
46
+ "@mui/material": "^5.1.0",
47
47
  "react": "^17.0.2"
48
48
  },
49
49
  "setupFiles": [
@@ -22,6 +22,10 @@ interface GridBodyProps {
22
22
  selectionLookup: {};
23
23
  disableVirtualization: boolean;
24
24
  }>;
25
+ ColumnHeadersComponent: React$1.JSXElementConstructor<React$1.HTMLAttributes<HTMLDivElement> & {
26
+ ref: React$1.Ref<HTMLDivElement>;
27
+ innerRef: React$1.Ref<HTMLDivElement>;
28
+ }>;
25
29
  }
26
30
  declare function GridBody(props: GridBodyProps): JSX.Element;
27
31
  declare namespace GridBody {
@@ -38,7 +42,7 @@ declare function GridOverlays(): JSX.Element | null;
38
42
 
39
43
  interface GridFilterItem {
40
44
  id?: number | string;
41
- columnField?: string;
45
+ columnField: string;
42
46
  value?: any;
43
47
  operatorValue?: string;
44
48
  }
@@ -1123,14 +1127,14 @@ interface GridControlStateApi {
1123
1127
  * @param {GridControlStateItem<TModel>} controlState The [[GridControlStateItem]] to be registered.
1124
1128
  * @ignore - do not document.
1125
1129
  */
1126
- unsafe_updateControlState: <TModel>(controlState: GridControlStateItem<TModel>) => void;
1130
+ unstable_updateControlState: <TModel>(controlState: GridControlStateItem<TModel>) => void;
1127
1131
  /**
1128
1132
  * Allows the internal grid state to apply the registered control state constraint.
1129
1133
  * @param {GridState} state The new modified state that would be the next if the state is not controlled.
1130
1134
  * @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.
1131
1135
  * @ignore - do not document.
1132
1136
  */
1133
- unsafe_applyControlStateConstraint: (state: GridState) => {
1137
+ unstable_applyControlStateConstraint: (state: GridState) => {
1134
1138
  ignoreSetState: boolean;
1135
1139
  postUpdate: () => void;
1136
1140
  };
@@ -1141,59 +1145,29 @@ declare type MuiEvent<E extends BaseEvent = BaseEvent> = E & {
1141
1145
  defaultMuiPrevented?: boolean;
1142
1146
  };
1143
1147
 
1144
- declare type Listener = (...args: any[]) => void;
1145
- declare class EventEmitter {
1146
- /**
1147
- * @ignore - do not document.
1148
- */
1148
+ declare type GridEventListener<Params, Event extends MuiEvent> = (params: Params, event: Event, details: GridCallbackDetails) => void;
1149
+
1150
+ declare type EventListener = (...args: any[]) => void;
1151
+ interface EventListenerOptions {
1152
+ isFirst?: boolean;
1153
+ }
1154
+ declare class EventManager {
1149
1155
  maxListeners: number;
1150
- /**
1151
- * @ignore - do not document.
1152
- */
1153
1156
  warnOnce: boolean;
1154
- /**
1155
- * @ignore - do not document.
1156
- */
1157
1157
  events: {
1158
- [key: string]: Listener[];
1158
+ [key: string]: EventListener[];
1159
1159
  };
1160
- /**
1161
- * @ignore - do not document.
1162
- */
1163
- on(eventName: string, listener: Listener): void;
1164
- /**
1165
- * @ignore - do not document.
1166
- */
1167
- removeListener(eventName: string, listener: Listener): void;
1168
- /**
1169
- * @ignore - do not document.
1170
- */
1160
+ on(eventName: string, listener: EventListener, options?: EventListenerOptions): void;
1161
+ removeListener(eventName: string, listener: EventListener): void;
1171
1162
  removeAllListeners(eventName?: string): void;
1172
- /**
1173
- * @ignore - do not document.
1174
- */
1175
1163
  emit(eventName: string, ...args: any[]): void;
1176
- /**
1177
- * @ignore - do not document.
1178
- */
1179
- once(eventName: string, listener: Listener): void;
1180
- }
1181
-
1182
- declare type GridListener<Params, Event extends MuiEvent> = (params: Params, event: Event, details: GridCallbackDetails) => void;
1183
- declare type GridSubscribeEventOptions = {
1184
- isFirst?: boolean;
1185
- };
1186
- declare class GridEventEmitter extends EventEmitter {
1187
- /**
1188
- * @ignore - do not document.
1189
- */
1190
- on<Params, Event extends MuiEvent>(eventName: string, listener: GridListener<Params, Event>, options?: GridSubscribeEventOptions): void;
1164
+ once(eventName: string, listener: EventListener): void;
1191
1165
  }
1192
1166
 
1193
1167
  /**
1194
1168
  * The core API interface that is available in the grid `apiRef`.
1195
1169
  */
1196
- interface GridCoreApi extends GridEventEmitter {
1170
+ interface GridCoreApi {
1197
1171
  /**
1198
1172
  * The react ref of the grid root container div element.
1199
1173
  * @ignore - do not document.
@@ -1229,6 +1203,11 @@ interface GridCoreApi extends GridEventEmitter {
1229
1203
  * @ignore - do not document.
1230
1204
  */
1231
1205
  footerRef?: React$1.RefObject<HTMLDivElement>;
1206
+ /**
1207
+ * The generic event emitter manager.
1208
+ * @ignore - do not document
1209
+ */
1210
+ unstable_eventManager: EventManager;
1232
1211
  /**
1233
1212
  * Registers a handler for an event.
1234
1213
  * @param {string} event The name of the event.
@@ -1236,7 +1215,7 @@ interface GridCoreApi extends GridEventEmitter {
1236
1215
  * @param {object} options Additional options for this listener.
1237
1216
  * @returns {function} A function to unsubscribe from this event.
1238
1217
  */
1239
- subscribeEvent: <Params, Event extends MuiEvent>(event: string, handler: GridListener<Params, Event>, options?: GridSubscribeEventOptions) => () => void;
1218
+ subscribeEvent: <Params, Event extends MuiEvent>(event: string, handler: GridEventListener<Params, Event>, options?: EventListenerOptions) => () => void;
1240
1219
  /**
1241
1220
  * Emits an event.
1242
1221
  * @param {string} name The name of the event.
@@ -1261,7 +1240,7 @@ interface GridClipboardApi {
1261
1240
  * @param {boolean} includeHeaders Whether to include the headers or not. Default is `false`.
1262
1241
  * @ignore - do not document.
1263
1242
  */
1264
- unsafe_copySelectedRowsToClipboard: (includeHeaders?: boolean) => void;
1243
+ unstable_copySelectedRowsToClipboard: (includeHeaders?: boolean) => void;
1265
1244
  }
1266
1245
 
1267
1246
  /**
@@ -1486,7 +1465,7 @@ interface GridFilterApi {
1486
1465
  * Applies all filters on all rows.
1487
1466
  * @ignore - do not document.
1488
1467
  */
1489
- unsafe_applyFilters: () => void;
1468
+ unstable_applyFilters: () => void;
1490
1469
  /**
1491
1470
  * Deletes a [[GridFilterItem]].
1492
1471
  * @param {GridFilterItem} item The filter to delete.
@@ -1927,28 +1906,35 @@ interface GridScrollApi {
1927
1906
  scrollToIndexes: (params: Partial<GridCellIndexCoordinates>) => boolean;
1928
1907
  }
1929
1908
 
1930
- declare type GridColumnsPreProcessing = (columns: GridColumns) => GridColumns;
1931
- interface GridColumnsPreProcessingApi {
1909
+ declare type PreProcessorCallback = (value: any, params?: any) => any;
1910
+ declare enum GridPreProcessingGroup {
1911
+ hydrateColumns = "hydrateColumns"
1912
+ }
1913
+ interface GridPreProcessingApi {
1932
1914
  /**
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.
1915
+ * Register a pre-processor and emit an event to notify the agents to re-apply the pre-processors.
1916
+ * @param {GridPreProcessingGroup} group The name of the group to bind this pre-processor to.
1917
+ * @param {number} id An unique and static identifier of the pre-processor.
1918
+ * @param {PreProcessorCallback} callback The pre-processor to register.
1919
+ * @returns {() => void} A function to unregister the pre-processor.
1936
1920
  * @ignore - do not document.
1937
1921
  */
1938
- unstable_registerColumnPreProcessing: (processingName: string, columnsPreProcessing: GridColumnsPreProcessing) => void;
1922
+ unstable_registerPreProcessor: (group: GridPreProcessingGroup, id: string, callback: PreProcessorCallback) => () => void;
1939
1923
  /**
1940
- * Apply all the columns pre-processing
1941
- * @param {GridColumns} columns. Columns to pre-process
1942
- * @returns {GridColumns} The pre-processed columns
1924
+ * Apply on the value the pre-processors registered on the given group.
1925
+ * @param {GridPreProcessingGroup} group The name of the processing group.
1926
+ * @param {any} value The value to pass to the first pre-processor.
1927
+ * @param {any} params Additional paramas to pass to the pre-processors.
1928
+ * @returns {any} The value after passing through all pre-processors.
1943
1929
  * @ignore - do not document.
1944
1930
  */
1945
- unstable_applyAllColumnPreProcessing: (columns: GridColumns) => GridColumns;
1931
+ unstable_applyPreProcessors: (group: GridPreProcessingGroup, value: any, params?: any) => any;
1946
1932
  }
1947
1933
 
1948
1934
  /**
1949
1935
  * The full grid API.
1950
1936
  */
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 {
1937
+ interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridPreProcessingApi, GridRowGroupsPreProcessingApi, GridDensityApi, GridEventsApi, GridRowApi, GridEditRowApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridPageApi, GridPageSizeApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridControlStateApi, GridClipboardApi, GridScrollApi {
1952
1938
  }
1953
1939
 
1954
1940
  /**
@@ -2006,14 +1992,6 @@ interface GridSortingInitialState {
2006
1992
  sortModel?: GridSortModel;
2007
1993
  }
2008
1994
 
2009
- interface GridRenderingState {
2010
- virtualPage: number;
2011
- virtualRowsCount: number;
2012
- renderContext: Partial<GridRenderContextProps> | null;
2013
- realScroll: GridScrollParams;
2014
- renderingZoneScroll: GridScrollParams;
2015
- }
2016
-
2017
1995
  interface GridPaginationState {
2018
1996
  pageSize: number;
2019
1997
  page: number;
@@ -2050,7 +2028,6 @@ interface GridState {
2050
2028
  columnReorder: GridColumnReorderState;
2051
2029
  columnResize: GridColumnResizeState;
2052
2030
  columnMenu: GridColumnMenuState;
2053
- rendering: GridRenderingState;
2054
2031
  containerSizes: GridContainerProps | null;
2055
2032
  viewportSizes: GridViewportSizeState;
2056
2033
  scrollBar: GridScrollBarState;
@@ -2177,7 +2154,7 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
2177
2154
  * The custom Checkbox component used in the grid for both header and cells.
2178
2155
  * @default Checkbox
2179
2156
  */
2180
- Checkbox: React$1.JSXElementConstructor<any>;
2157
+ BaseCheckbox: React$1.JSXElementConstructor<any>;
2181
2158
  /**
2182
2159
  * Column menu component rendered by clicking on the 3 dots "kebab" icon in column headers.
2183
2160
  * @default GridColumnMenu
@@ -2254,7 +2231,7 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
2254
2231
  * Overrideable components props dynamically passed to the component at rendering.
2255
2232
  */
2256
2233
  interface GridSlotsComponentsProps {
2257
- checkbox?: any;
2234
+ baseCheckbox?: any;
2258
2235
  cell?: any;
2259
2236
  columnMenu?: any;
2260
2237
  columnsPanel?: any;
@@ -2339,9 +2316,6 @@ declare const renderActionsCell: (params: GridRenderCellParams) => JSX.Element;
2339
2316
  declare type GridRootProps = React$1.HTMLAttributes<HTMLDivElement>;
2340
2317
  declare const GridRoot: React$1.ForwardRefExoticComponent<GridRootProps & React$1.RefAttributes<HTMLDivElement>>;
2341
2318
 
2342
- declare type GridColumnsContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2343
- declare const GridColumnsContainer: React$1.ForwardRefExoticComponent<GridColumnsContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2344
-
2345
2319
  declare type GridFooterContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2346
2320
  declare const GridFooterContainer: React$1.ForwardRefExoticComponent<GridFooterContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2347
2321
 
@@ -2404,21 +2378,6 @@ declare namespace GridColumnHeaderTitle {
2404
2378
  var propTypes: any;
2405
2379
  }
2406
2380
 
2407
- declare const GridColumnsHeader: React$1.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React$1.RefAttributes<HTMLDivElement>>;
2408
-
2409
- interface GridColumnHeadersItemCollectionProps {
2410
- columns: GridStateColDef[];
2411
- dragCol: string;
2412
- resizeCol: string;
2413
- }
2414
- declare function GridColumnHeadersItemCollection(props: GridColumnHeadersItemCollectionProps): JSX.Element;
2415
- declare namespace GridColumnHeadersItemCollection {
2416
- var propTypes: any;
2417
- }
2418
-
2419
- declare type GridIconButtonContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
2420
- declare const GridIconButtonContainer: React$1.ForwardRefExoticComponent<GridIconButtonContainerProps & React$1.RefAttributes<HTMLDivElement>>;
2421
-
2422
2381
  declare const GridCellCheckboxForwardRef: React$1.ForwardRefExoticComponent<GridCellParams<any, any, any> & React$1.RefAttributes<HTMLInputElement>>;
2423
2382
 
2424
2383
  declare const GridCellCheckboxRenderer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<GridCellParams<any, any, any> & React$1.RefAttributes<HTMLInputElement>>>;
@@ -2987,10 +2946,15 @@ declare enum GridEvents {
2987
2946
  */
2988
2947
  columnsChange = "columnsChange",
2989
2948
  /**
2990
- * Fired when a column pre-processing is changed
2949
+ * Fired when a pre-processor is registered.
2991
2950
  * @ignore - do not document.
2992
2951
  */
2993
- columnsPreProcessingChange = "columnsPreProcessingChange",
2952
+ preProcessorRegister = "preProcessorRegister",
2953
+ /**
2954
+ * Fired when a pre-processor is unregistered.
2955
+ * @ignore - do not document.
2956
+ */
2957
+ preProcessorUnregister = "preProcessorUnregister",
2994
2958
  /**
2995
2959
  * Fired when the row grouping function is changed
2996
2960
  * @ignore - do not document.
@@ -3959,11 +3923,6 @@ declare const gridSortColumnLookupSelector: reselect.OutputSelector<[reselect.Ou
3959
3923
  clearCache: () => void;
3960
3924
  }>;
3961
3925
 
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
3926
  declare const useGridApi: (apiRef: GridApiRef) => GridApi;
3968
3927
 
3969
3928
  declare function useGridApiContext(): GridApiRef;
@@ -3976,8 +3935,8 @@ declare enum GridSignature {
3976
3935
  DataGrid = "DataGrid",
3977
3936
  DataGridPro = "DataGridPro"
3978
3937
  }
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;
3938
+ declare function useGridApiEventHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridEventListener<Params, Event>, options?: EventListenerOptions): void;
3939
+ declare function useGridApiOptionHandler<Params, Event extends MuiEvent>(apiRef: GridApiRef, eventName: string, handler?: GridEventListener<Params, Event>): void;
3981
3940
 
3982
3941
  declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
3983
3942
 
@@ -4342,13 +4301,17 @@ interface GridClasses {
4342
4301
  */
4343
4302
  columnHeaderTitleContainer: string;
4344
4303
  /**
4345
- * Styles applied to the column header's wrapper element.
4304
+ * Styles applied to the column headers.
4305
+ */
4306
+ columnHeaders: string;
4307
+ /**
4308
+ * Styles applied to the column headers's inner element.
4346
4309
  */
4347
- columnHeaderWrapper: string;
4310
+ columnHeadersInner: string;
4348
4311
  /**
4349
- * Styles applied to the outer columns container element.
4312
+ * Styles applied to the column headers's inner element if there is a horizontal scrollbar.
4350
4313
  */
4351
- columnsContainer: string;
4314
+ 'columnHeadersInner--scrollable': string;
4352
4315
  /**
4353
4316
  * Styles applied to the column header separator if the column is resizable.
4354
4317
  */
@@ -4478,7 +4441,8 @@ interface GridClasses {
4478
4441
  */
4479
4442
  row: string;
4480
4443
  /**
4481
- * Styles applied to the footer row count element.
4444
+ * Styles applied to the footer row count element to show the total number of rows.
4445
+ * Only works when pagination is disabled.
4482
4446
  */
4483
4447
  rowCount: string;
4484
4448
  /**
@@ -4516,7 +4480,7 @@ interface GridClasses {
4516
4480
  }
4517
4481
  declare type GridClassKey = keyof GridClasses;
4518
4482
  declare function getDataGridUtilityClass(slot: string): 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>;
4483
+ 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" | "columnHeaders" | "columnHeadersInner" | "columnHeadersInner--scrollable" | "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>;
4520
4484
 
4521
4485
  /**
4522
4486
  * The grid component react props before applying the default values.
@@ -4955,4 +4919,4 @@ declare type DataGridProps = Omit<GridInputComponentProps, 'apiRef' | 'checkboxS
4955
4919
 
4956
4920
  declare const useDataGridComponent: (apiRef: GridApiRef, props: GridComponentProps) => void;
4957
4921
 
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 };
4922
+ 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, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumns, 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, 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, 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, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowIdsSelector, gridRowTreeDepthSelector, gridRowTreeSelector, gridRowsLookupSelector, gridRowsStateSelector, 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 };