import * as React$1 from 'react'; import { InputBaseProps } from '@material-ui/core/InputBase'; import { SelectProps } from '@material-ui/core/Select'; import { ComponentsPropsList, StyledComponentProps } from '@material-ui/core/styles'; import * as _material_ui_core_OverridableComponent from '@material-ui/core/OverridableComponent'; import * as _material_ui_core from '@material-ui/core'; import { PopperProps } from '@material-ui/core/Popper'; import { TextFieldProps } from '@material-ui/core/TextField'; import * as _material_ui_core_Button from '@material-ui/core/Button'; import { ButtonProps } from '@material-ui/core/Button'; import { TooltipProps } from '@material-ui/core/Tooltip'; import * as reselect from 'reselect'; interface GridBodyProps { children?: React$1.ReactNode; } declare function GridBody(props: GridBodyProps): JSX.Element; declare function GridErrorHandler(props: any): JSX.Element; declare function GridFooterPlaceholder(): JSX.Element | null; declare function GridHeaderPlaceholder(): JSX.Element; declare function GridOverlays(): JSX.Element | null; /** * The mode of the cell. */ declare type GridCellMode = 'edit' | 'view'; /** * The cell value type. */ declare type GridCellValue = string | number | boolean | Date | null | undefined | object; /** * The coordinates of cell represented by their row and column indexes. */ interface GridCellIndexCoordinates { colIndex: number; rowIndex: number; } /** * The coordinates of column header represented by their row and column indexes. */ interface GridColumnHeaderIndexCoordinates { colIndex: number; } declare type GridRowsProp = Readonly; declare type GridRowData = { [key: string]: any; }; /** * The key value object representing the data of a row. */ declare type GridRowModel = GridRowData; declare type GridUpdateAction = 'delete'; interface GridRowModelUpdate extends GridRowData { _action?: GridUpdateAction; } /** * The type of Id supported by the grid. */ declare type GridRowId = string | number; /** * The function to retrieve the id of a [[GridRowData]]. */ declare type GridRowIdGetter = (row: GridRowData) => GridRowId; /** * An helper function to check if the id provided is valid. * * @param id Id as [[GridRowId]]. * @param row Row as [[GridRowData]]. * @returns a boolean */ declare function checkGridRowIdIsValid(id: GridRowId, row: GridRowModel | Partial, detailErrorMessage?: string): boolean; /** * Object passed as parameter in the column [[GridColDef]] cell renderer. */ interface GridCellParams { /** * The grid row id. */ id: GridRowId; /** * The column field of the cell that triggered the event */ field: string; /** * The cell value, but if the column has valueGetter, use getValue. */ value: GridCellValue; /** * The cell value formatted with the column valueFormatter. */ formattedValue: GridCellValue; /** * The row model of the row that the current cell belongs to. */ row: GridRowModel; /** * The column of the row that the current cell belongs to. */ colDef: GridStateColDef; /** * GridApi that let you manipulate the grid. */ api: any; /** * If true, the cell is editable. */ isEditable?: boolean; /** * The mode of the cell. */ cellMode: GridCellMode; /** * If true, the cell is the active element. */ hasFocus: boolean; /** * the tabIndex value. */ tabIndex: 0 | -1; /** * Get the cell value of a row and field. * @param id * @param field */ getValue: (id: GridRowId, field: string) => GridCellValue; } /** * Alias of GridCellParams. */ declare type GridValueGetterParams = Omit; /** * Alias of GridCellParams. */ declare type GridValueFormatterParams = Omit; /** * A function used to process cellClassName params. */ declare type GridCellClassFn = (params: GridCellParams) => string; /** * The union type representing the [[GridColDef]] cell class type. */ declare type GridCellClassNamePropType = string | GridCellClassFn; /** * Object passed as parameter in the column [[GridColDef]] header renderer. */ interface GridColumnHeaderParams { /** * The column field of the column that triggered the event */ field: string; /** * The column of the current header component. */ colDef: GridStateColDef; /** * API ref that let you manipulate the grid. */ api: any; } /** * A function used to process headerClassName params. */ declare type GridColumnHeaderClassFn = (params: GridColumnHeaderParams) => string; /** * The union type representing the [[GridColDef]] column header class type. */ declare type GridColumnHeaderClassNamePropType = string | GridColumnHeaderClassFn; interface GridFilterItem { id?: number | string; columnField?: string; value?: any; operatorValue?: string; } declare enum GridLinkOperator { And = "and", Or = "or" } interface GridFilterInputValueProps { item: GridFilterItem; applyValue: (value: GridFilterItem) => void; apiRef: any; } interface GridFilterOperator { label?: string; value: string; getApplyFilterFn: (filterItem: GridFilterItem, column: GridStateColDef) => null | ((params: GridCellParams) => boolean); InputComponent?: React$1.JSXElementConstructor; InputComponentProps?: Record; } declare type GridSortDirection = 'asc' | 'desc' | null | undefined; declare type GridFieldComparatorList = { field: string; comparator: GridComparatorFn; }[]; interface GridSortCellParams { id: GridRowId; field: string; value: GridCellValue; api: any; } /** * The type of the sort comparison function. */ declare type GridComparatorFn = (v1: GridCellValue, v2: GridCellValue, cellParams1: GridSortCellParams, cellParams2: GridSortCellParams) => number; /** * Object that represents the column sorted data, part of the [[GridSortModel]]. */ interface GridSortItem { /** * The column field identifier. */ field: string; /** * The direction of the column that the grid should sort. */ sort: GridSortDirection; } /** * The model used for sorting the grid. */ declare type GridSortModel = GridSortItem[]; declare const GRID_STRING_COLUMN_TYPE = "string"; declare const GRID_NUMBER_COLUMN_TYPE = "number"; declare const GRID_DATE_COLUMN_TYPE = "date"; declare const GRID_DATETIME_COLUMN_TYPE = "dateTime"; declare const GRID_BOOLEAN_COLUMN_TYPE = "boolean"; declare type GridNativeColTypes = 'string' | 'number' | 'date' | 'dateTime' | 'boolean' | 'singleSelect'; declare type GridColType = GridNativeColTypes | string; /** * Alignment used in position elements in Cells. */ declare type GridAlignment = 'left' | 'right' | 'center'; /** * Column Definition interface. */ interface GridColDef { /** * The column identifier. It's used to map with [[GridRowData]] values. */ field: string; /** * The title of the column rendered in the column header cell. */ headerName?: string; /** * The description of the column rendered as tooltip if the column header name is not fully displayed. */ description?: string; /** * Set the width of the column. * @default 100 */ width?: number; /** * If set, it indicates that a column has fluid width. Range [0, ∞). */ flex?: number; /** * Sets the minimum width of a column. * @default 50 */ minWidth?: number; /** * If `true`, hide the column. * @default false */ hide?: boolean; /** * If `true`, the column is sortable. * @default true */ sortable?: boolean; /** * If `true`, the column is resizable. * @default true */ resizable?: boolean; /** * If `true`, the cells of the column are editable. * @default false */ editable?: boolean; /** * A comparator function used to sort rows. */ sortComparator?: GridComparatorFn; /** * Type allows to merge this object with a default definition [[GridColDef]]. * @default 'string' */ type?: GridColType; /** * To be used in combination with `type: 'singleSelect'`. This is an array of the possible cell values and labels. */ valueOptions?: Array; /** * Allows to align the column values in cells. */ align?: GridAlignment; /** * Function that allows to get a specific data instead of field to render in the cell. * @param params */ valueGetter?: (params: GridValueGetterParams) => GridCellValue; /** * Function that allows to apply a formatter before rendering its value. * @param {GridValueFormatterParams} params Object containing parameters for the formatter. * @returns {GridCellValue} The formatted value. */ valueFormatter?: (params: GridValueFormatterParams) => GridCellValue; /** * Function that takes the user-entered value and converts it to a value used internally. * @param {GridCellValue} value The user-entered value. * @param {GridCellParams} params The params when called before saving the value. * @returns {GridCellValue} The converted value to use internally. */ valueParser?: (value: GridCellValue, params?: GridCellParams) => GridCellValue; /** * Class name that will be added in cells for that column. */ cellClassName?: GridCellClassNamePropType; /** * Allows to override the component rendered as cell for this column. * @param params */ renderCell?: (params: GridCellParams) => React$1.ReactNode; /** * Allows to override the component rendered in edit cell mode for this column. * @param params */ renderEditCell?: (params: GridCellParams) => React$1.ReactNode; /** * Class name that will be added in the column header cell. */ headerClassName?: GridColumnHeaderClassNamePropType; /** * Allows to render a component in the column header cell. * @param params */ renderHeader?: (params: GridColumnHeaderParams) => React$1.ReactNode; /** * Header cell element alignment. */ headerAlign?: GridAlignment; /** * Toggle the visibility of the sort icons. * @default false */ hideSortIcons?: boolean; /** * If `true`, the column menu is disabled for this column. * @default false */ disableColumnMenu?: boolean; /** * If `true`, the column is filterable. * @default true */ filterable?: boolean; /** * Allows setting the filter operators for this column. */ filterOperators?: GridFilterOperator[]; /** * If `true`, this column cannot be reordered. * @default false */ disableReorder?: boolean; /** * If `true`, this column will not be included in exports. * @default false */ disableExport?: boolean; } declare type GridColumns = GridColDef[]; declare type GridColTypeDef = Omit & { extendType?: GridNativeColTypes; }; interface GridStateColDef extends GridColDef { computedWidth: number; } /** * Meta Info about columns. */ interface GridColumnsMeta { totalWidth: number; positions: number[]; } declare type GridColumnLookup = { [field: string]: GridStateColDef; }; interface GridColumnsState { all: string[]; lookup: GridColumnLookup; } declare const getInitialGridColumnsState: () => GridColumnsState; declare const gridCheckboxSelectionColDef: GridColDef; declare const getGridColDef: (columnTypes: any, type: GridColType | undefined) => any; declare function gridDateFormatter({ value }: { value: GridCellValue; }): string | number | boolean | object | null | undefined; declare function gridDateTimeFormatter({ value }: { value: GridCellValue; }): string | number | boolean | object | null | undefined; declare const GRID_DATE_COL_DEF: GridColTypeDef; declare const GRID_DATETIME_COL_DEF: GridColTypeDef; declare const getGridDateOperators: (showTime?: boolean | undefined) => GridFilterOperator[]; declare const GRID_NUMERIC_COL_DEF: GridColTypeDef; declare const getGridNumericColumnOperators: () => GridFilterOperator[]; declare const GRID_STRING_COL_DEF: GridColTypeDef; declare type GridColumnTypesRecord = Record; declare const DEFAULT_GRID_COL_TYPE_KEY = "__default__"; declare const getGridDefaultColumnTypes: () => GridColumnTypesRecord; declare const getGridStringOperators: () => GridFilterOperator[]; interface CursorCoordinates { x: number; y: number; } /** * The size of a container. */ interface ElementSize { /** * The height of a container or HTMLElement. */ height: number; /** * The width of a container or HTMLElement. */ width: number; } interface GridScrollBarState { /** * Indicates if a vertical scrollbar is visible. */ hasScrollY: boolean; /** * Indicates if an horizontal scrollbar is visible. */ hasScrollX: boolean; /** * The scrollbar size. */ scrollBarSize: { x: number; y: number; }; } /** * the size of the container holding the set of rows visible to the user. */ declare type GridViewportSizeState = ElementSize; /** * The set of container properties calculated on resize of the grid. */ interface GridContainerProps { /** * If `true`, the grid is virtualizing the rendering of rows. */ isVirtualized: boolean; /** * The number of rows that fit in the rendering zone. */ renderingZonePageSize: number; /** * The number of rows that fit in the viewport. */ viewportPageSize: number; /** * The total number of rows that are scrollable in the viewport. If pagination then it would be page size. If not, it would be the full set of rows. */ virtualRowsCount: number; /** * The last page number. */ lastPage: number; /** * The total element size required to render the set of rows, including scrollbars. */ totalSizes: ElementSize; /** * The viewport size including scrollbars. */ windowSizes: ElementSize; /** * The size of the container containing all the rendered rows. */ renderingZone: ElementSize; /** * The size of the available scroll height in the rendering zone container. */ renderingZoneScrollHeight: number; /** * The total element size required to render the full set of rows and columns, minus the scrollbars. */ dataContainerSizes: ElementSize; } interface GridEditCellProps { value: GridCellValue; [prop: string]: any; } declare type GridEditRowProps = { [field: string]: GridEditCellProps; }; declare type GridEditRowsModel = { [rowId: string]: GridEditRowProps; }; declare const GridFeatureModeConstant: { client: "client"; server: "server"; }; declare type GridFeatureMode = 'client' | 'server'; interface GridFilterModel { items: GridFilterItem[]; linkOperator?: GridLinkOperator; } /** * Set the types of the texts in the grid. */ interface GridLocaleText { noRowsLabel: string; noResultsOverlayLabel: string; errorOverlayDefaultLabel: string; toolbarDensity: React.ReactNode; toolbarDensityLabel: string; toolbarDensityCompact: string; toolbarDensityStandard: string; toolbarDensityComfortable: string; toolbarColumns: React.ReactNode; toolbarColumnsLabel: string; toolbarFilters: React.ReactNode; toolbarFiltersLabel: string; toolbarFiltersTooltipHide: React.ReactNode; toolbarFiltersTooltipShow: React.ReactNode; toolbarFiltersTooltipActive: (count: number) => React.ReactNode; toolbarExport: React.ReactNode; toolbarExportLabel: string; toolbarExportCSV: React.ReactNode; columnsPanelTextFieldLabel: string; columnsPanelTextFieldPlaceholder: string; columnsPanelDragIconLabel: string; columnsPanelShowAllButton: React.ReactNode; columnsPanelHideAllButton: React.ReactNode; filterPanelAddFilter: React.ReactNode; filterPanelDeleteIconLabel: string; filterPanelOperators: React.ReactNode; filterPanelOperatorAnd: React.ReactNode; filterPanelOperatorOr: React.ReactNode; filterPanelColumns: React.ReactNode; filterPanelInputLabel: string; filterPanelInputPlaceholder: string; filterOperatorContains: string; filterOperatorEquals: string; filterOperatorStartsWith: string; filterOperatorEndsWith: string; filterOperatorIs: string; filterOperatorNot: string; filterOperatorAfter: string; filterOperatorOnOrAfter: string; filterOperatorBefore: string; filterOperatorOnOrBefore: string; filterOperatorIsEmpty: string; filterOperatorIsNotEmpty: string; filterValueAny: string; filterValueTrue: string; filterValueFalse: string; columnMenuLabel: string; columnMenuShowColumns: React.ReactNode; columnMenuFilter: React.ReactNode; columnMenuHideColumn: React.ReactNode; columnMenuUnsort: React.ReactNode; columnMenuSortAsc: React.ReactNode; columnMenuSortDesc: React.ReactNode; columnHeaderFiltersTooltipActive: (count: number) => React.ReactNode; columnHeaderFiltersLabel: string; columnHeaderSortIconLabel: string; footerRowSelected: (count: number) => React.ReactNode; footerTotalRows: React.ReactNode; footerTotalVisibleRows: (visibleCount: number, totalCount: number) => React.ReactNode; checkboxSelectionHeaderName: string; booleanCellTrueLabel: string; booleanCellFalseLabel: string; MuiTablePagination: Omit; } declare type GridTranslationKeys = keyof GridLocaleText; /** * The grid locale text API [[apiRef]]. */ interface GridLocaleTextApi { /** * Returns the translation for the `key`. * @param {T} key One of the keys in [[GridLocaleText]]. * @returns {GridLocaleText[T]} The translated value. */ getLocaleText: (key: T) => GridLocaleText[T]; } /** * Available densities. */ declare type GridDensity = 'compact' | 'standard' | 'comfortable'; /** * Density enum. */ declare enum GridDensityTypes { Compact = "compact", Standard = "standard", Comfortable = "comfortable" } interface Logger { debug: (...args: any[]) => void; info: (...args: any[]) => void; warn: (...args: any[]) => void; error: (...args: any[]) => void; } /** * Object passed as parameter in the column [[GridColDef]] cell renderer. */ interface GridRowParams { /** * The grid row id. */ id: GridRowId; /** * The row model of the row that the current cell belongs to. */ row: GridRowModel; /** * All grid columns. */ columns: GridColumns; /** * GridApiRef that let you manipulate the grid. */ api: any; /** * Get the cell value of a row and field. * @param id * @param field */ getValue: (id: GridRowId, field: string) => GridCellValue; } declare type GridInputSelectionModel = GridRowId[] | GridRowId; declare type GridSelectionModel = GridRowId[]; interface GridEditCellPropsParams { id: GridRowId; field: string; props: GridEditCellProps; } interface GridEditCellValueParams { id: GridRowId; field: string; value: GridCellValue; } interface GridCommitCellChangeParams { id: GridRowId; field: string; } interface GridCellEditCommitParams { id: GridRowId; field: string; value: GridCellValue; } /** * Object passed as parameter in the onRowsScrollEnd callback. */ interface GridRowScrollEndParams { /** * The number of rows that fit in the viewport. */ viewportPageSize: number; /** * The number of rows allocated for the rendered zone. */ virtualRowsCount: number; /** * The grid visible columns. */ visibleColumns: GridColumns; /** * API ref that let you manipulate the grid. */ api: any; } /** * Object passed as parameter of the column order change event. */ interface GridColumnOrderChangeParams { /** * The HTMLElement column header element. */ element?: HTMLElement | null; /** * The column field of the column that triggered the event. */ field: string; /** * The column of the current header component. */ colDef: GridStateColDef; /** * The target column index. */ targetIndex: number; /** * The old column index. */ oldIndex: number; /** * API ref that let you manipulate the grid. */ api: any; } /** * Object passed as parameter onto the resize event handler. */ interface GridResizeParams { /** * The container size. */ containerSize: ElementSize; } /** * Object passed as parameter of the column resize event. */ interface GridColumnResizeParams { /** * The HTMLElement column header element. */ element?: HTMLElement | null; /** * The column of the current header component. */ colDef: GridStateColDef; /** * API ref that let you manipulate the grid. */ api: any; /** * The width of the column. */ width: number; } /** * Object passed as parameter of the column visibility change event. */ interface GridColumnVisibilityChangeParams { /** * The field of the column which visibility changed. */ field: string; /** * The column of the current header component. */ colDef: GridStateColDef; /** * API ref that let you manipulate the grid. */ api: any; /** * The visibility state of the column. */ isVisible: boolean; } interface GridClasses { /** * Styles applied to the root element. */ root?: string; /** * Styles applied to the columnHeader element. */ columnHeader?: string; /** * Styles applied to the row element. */ row?: string; /** * Styles applied to the cell element. */ cell?: string; } /** * Object passed as parameter of the virtual rows change event. */ interface GridViewportRowsChangeParams { /** * The index of the first row in the viewport. */ firstRowIndex: number; /** * The index of the last row in the viewport. */ lastRowIndex: number; } declare type MuiEvent = E & { defaultMuiPrevented?: boolean; }; /** * Grid options react prop, containing all the setting for the grid. */ interface GridOptions { /** * If `true`, the grid height is dynamic and follow the number of rows in the grid. * @default false */ autoHeight?: boolean; /** * If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar. * @default false */ autoPageSize?: boolean; /** * If `true`, the grid get a first column with a checkbox that allows to select rows. * @default false */ checkboxSelection?: boolean; /** * If `true`, the "Select All" header checkbox selects only the rows on the current page. To be used in combination with `checkboxSelection`. * @default false */ checkboxSelectionVisibleOnly?: boolean; /** * Number of columns rendered outside the grid viewport. * @default 2 */ columnBuffer: number; /** * Extend native column types with your new column types. */ columnTypes?: GridColumnTypesRecord; /** * Override or extend the styles applied to the component. */ classes?: GridClasses; /** * Set the density of the grid. */ density: GridDensity; /** * If `true`, rows will not be extended to fill the full width of the grid container. * @default false */ disableExtendRowFullWidth?: boolean; /** * If `true`, column filters are disabled. * @default false */ disableColumnFilter?: boolean; /** * If `true`, the column menu is disabled. * @default false */ disableColumnMenu?: boolean; /** * If `true`, reordering columns is disabled. * @default false */ disableColumnReorder?: boolean; /** * If `true`, resizing columns is disabled. * @default false */ disableColumnResize?: boolean; /** * If `true`, hiding/showing columns is disabled. * @default false */ disableColumnSelector?: boolean; /** * If `true`, the density selector is disabled. * @default false */ disableDensitySelector?: boolean; /** * If `true`, filtering with multiple columns is disabled. * @default false */ disableMultipleColumnsFiltering?: boolean; /** * If `true`, multiple selection using the CTRL or CMD key is disabled. * @default false */ disableMultipleSelection?: boolean; /** * If `true`, sorting with multiple columns is disabled. * @default false */ disableMultipleColumnsSorting?: boolean; /** * If `true`, the selection on click on a row or cell is disabled. * @default false */ disableSelectionOnClick?: boolean; /** * Set the edit rows model of the grid. */ editRowsModel?: GridEditRowsModel; /** * Callback fired when the EditRowModel changes. * @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onEditRowsModelChange?: (editRowsModel: GridEditRowsModel, details?: any) => void; /** * Filtering can be processed on the server or client-side. * Set it to 'server' if you would like to handle filtering on the server-side. * @default "client" */ filterMode?: GridFeatureMode; /** * Set the filter model of the grid. */ filterModel?: GridFilterModel; /** * Function that applies CSS classes dynamically on cells. * @param {GridCellParams} params With all properties from [[GridCellParams]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ getCellClassName?: (params: GridCellParams, details?: any) => string; /** * Function that applies CSS classes dynamically on rows. * @param {GridRowParams} params With all properties from [[GridRowParams]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ getRowClassName?: (params: GridRowParams, details?: any) => string; /** * Set the height in pixel of the column headers in the grid. * @default 56 */ headerHeight: number; /** * If `true`, the footer component is hidden. * @default false */ hideFooter?: boolean; /** * If `true`, the pagination component in the footer is hidden. * @default false */ hideFooterPagination?: boolean; /** * If `true`, the row count in the footer is hidden. * @default false */ hideFooterRowCount?: boolean; /** * If `true`, the selected row count in the footer is hidden. * @default false */ hideFooterSelectedRowCount?: boolean; /** * Callback fired when a cell is rendered, returns true if the cell is editable. * @param {GridCellParams} params With all properties from [[GridCellParams]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ isCellEditable?: (params: GridCellParams, details?: any) => boolean; /** * Determines if a row can be selected. * @param {GridRowParams} params With all properties from [[GridRowParams]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ isRowSelectable?: (params: GridRowParams, details?: any) => boolean; /** * Set the locale text of the grid. * You can find all the translation keys supported in [the source](https://github.com/mui-org/material-ui-x/blob/HEAD/packages/grid/_modules_/grid/constants/localeTextConstants.ts) in the GitHub repository. */ localeText: Partial; /** * Pass a custom logger in the components that implements the [[Logger]] interface. * @default null */ logger: Logger; /** * Allows to pass the logging level or false to turn off logging. * @default debug */ logLevel?: string | false; /** * Callback fired when the edit cell value changes. * @param {GridEditCellPropsParams} params With all properties from [[GridEditCellPropsParams]]. * @param {MuiEvent} event The event that caused this prop to be called. * @param {MuiCallbackDetails} details Additional details for this callback. */ onEditCellPropsChange?: (params: GridEditCellPropsParams, event: MuiEvent, details?: any) => void; /** * Callback fired when the cell changes are committed. * @param {GridCellEditCommitParams} params With all properties from [[GridCellEditCommitParams]]. * @param {MuiEvent} event The event that caused this prop to be called. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellEditCommit?: (params: GridCellEditCommitParams, event: MuiEvent, details?: any) => void; /** * Callback fired when the cell turns to edit mode. * @param {GridCellParams} params With all properties from [[GridCellParams]]. * @param {React.SyntheticEvent} event The event that caused this prop to be called. */ onCellEditStart?: (params: GridCellParams, event?: React$1.SyntheticEvent) => void; /** * Callback fired when the cell turns to view mode. * @param {GridCellParams} params With all properties from [[GridCellParams]]. * @param {React.SyntheticEvent} event The event that caused this prop to be called. */ onCellEditStop?: (params: GridCellParams, event?: React$1.SyntheticEvent) => void; /** * Callback fired when an exception is thrown in the grid, or when the `showError` API method is called. * @param args * @param {MuiCallbackDetails} details Additional details for this callback. */ onError?: (args: any, details?: any) => void; /** * Callback fired when the active element leaves a cell. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellBlur?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a click event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellClick?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a double click event comes from a cell element. * @param params With all properties from [[CellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellDoubleClick?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a cell loses focus. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellFocusOut?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a keydown event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellKeyDown?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseover event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellOver?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseout event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellOut?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse enter event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellEnter?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse leave event comes from a cell element. * @param params With all properties from [[GridCellParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellLeave?: (params: GridCellParams, event: MuiEvent, details?: any) => void; /** * Callback fired when the cell value changed. * @param params With all properties from [[GridEditCellValueParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onCellValueChange?: (params: GridEditCellValueParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when a click event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderClick?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a double click event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderDoubleClick?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseover event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderOver?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseout event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderOut?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse enter event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderEnter?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse leave event comes from a column header element. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnHeaderLeave?: (params: GridColumnHeaderParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a column is reordered. * @param params With all properties from [[GridColumnHeaderParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnOrderChange?: (params: GridColumnOrderChangeParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired while a column is being resized. * @param params With all properties from [[GridColumnResizeParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnResize?: (params: GridColumnResizeParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when the width of a column is changed. * @param params With all properties from [[GridColumnResizeParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnWidthChange?: (params: GridColumnResizeParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when a column visibility changes. * @param params With all properties from [[GridColumnVisibilityChangeParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onColumnVisibilityChange?: (params: GridColumnVisibilityChangeParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when the Filter model changes before the filters are applied. * @param model With all properties from [[GridFilterModel]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onFilterModelChange?: (model: GridFilterModel, details?: any) => void; /** * Callback fired when the current page has changed. * @param page Index of the page displayed on the Grid. * @param {MuiCallbackDetails} details Additional details for this callback. */ onPageChange?: (page: number, details?: any) => void; /** * Callback fired when the page size has changed. * @param pageSize Size of the page displayed on the Grid. * @param {MuiCallbackDetails} details Additional details for this callback. */ onPageSizeChange?: (pageSize: number, details?: any) => void; /** * Callback fired when a click event comes from a row container element. * @param params With all properties from [[GridRowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowClick?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when scrolling to the bottom of the grid viewport. * @param params With all properties from [[GridRowScrollEndParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowsScrollEnd?: (params: GridRowScrollEndParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when a double click event comes from a row container element. * @param params With all properties from [[RowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowDoubleClick?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseover event comes from a row container element. * @param params With all properties from [[GridRowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowOver?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouseout event comes from a row container element. * @param params With all properties from [[GridRowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowOut?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse enter event comes from a row container element. * @param params With all properties from [[GridRowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowEnter?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when a mouse leave event comes from a row container element. * @param params With all properties from [[GridRowParams]]. * @param event [[MuiEvent]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onRowLeave?: (params: GridRowParams, event: MuiEvent, details?: any) => void; /** * Callback fired when the grid is resized. * @param params With all properties from [[GridResizeParams]]. * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onResize?: (params: GridResizeParams, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when the selection state of one or multiple rows changes. * @param selectionModel With all the row ids [[GridSelectionModel]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onSelectionModelChange?: (selectionModel: GridSelectionModel, details?: any) => void; /** * Callback fired when the sort model changes before a column is sorted. * @param model With all properties from [[GridSortModel]]. * @param {MuiCallbackDetails} details Additional details for this callback. */ onSortModelChange?: (model: GridSortModel, details?: any) => void; /** * Callback fired when the state of the grid is updated. * @param params * @param event [[MuiEvent<{}>]]. * @param {MuiCallbackDetails} details Additional details for this callback. * @internal */ onStateChange?: (params: any, event: MuiEvent<{}>, details?: any) => void; /** * Callback fired when the rows in the viewport change. */ onViewportRowsChange?: (params: GridViewportRowsChangeParams, event: MuiEvent<{}>, details?: any) => void; /** * Set the current page. * @default 1 */ page?: number; /** * Set the number of rows in one page. * @default 100 */ pageSize?: number; /** * If `true`, pagination is enabled. * @default false */ pagination?: boolean; /** * Pagination can be processed on the server or client-side. * Set it to 'client' if you would like to handle the pagination on the client-side. * Set it to 'server' if you would like to handle the pagination on the server-side. */ paginationMode?: GridFeatureMode; /** * Set the height in pixel of a row in the grid. * @default 52 */ rowHeight: number; /** * Select the pageSize dynamically using the component UI. * @default [25, 50, 100] */ rowsPerPageOptions?: number[]; /** * Set the total number of rows, if it is different than the length of the value `rows` prop. */ rowCount?: number; /** * Override the height/width of the grid inner scrollbar. */ scrollbarSize?: number; /** * Set the area at the bottom of the grid viewport where onRowsScrollEnd is called. */ scrollEndThreshold: number; /** * Set the selection model of the grid. */ selectionModel?: GridInputSelectionModel; /** * @internal enum */ signature?: string; /** * If `true`, the right border of the cells are displayed. * @default false */ showCellRightBorder?: boolean; /** * If `true`, the right border of the column headers are displayed. * @default false */ showColumnRightBorder?: boolean; /** * The order of the sorting sequence. * @default ['asc', 'desc', null] */ sortingOrder: GridSortDirection[]; /** * Sorting can be processed on the server or client-side. * Set it to 'client' if you would like to handle sorting on the client-side. * Set it to 'server' if you would like to handle sorting on the server-side. */ sortingMode?: GridFeatureMode; /** * Set the sort model of the grid. */ sortModel?: GridSortModel; } /** * The default options to inject in the props of DataGrid or XGrid. */ declare const DEFAULT_GRID_PROPS_FROM_OPTIONS: { columnBuffer: number; density: GridDensityTypes; filterMode: "client"; headerHeight: number; paginationMode: "client"; rowHeight: number; rowsPerPageOptions: number[]; scrollEndThreshold: number; sortingMode: "client"; sortingOrder: ("asc" | "desc" | null)[]; logger: Console; logLevel: string; }; /** * The default [[GridOptions]] object that will be used to merge with the 'options' passed in the react component prop. */ declare const DEFAULT_GRID_OPTIONS: { localeText: GridLocaleText; columnBuffer: number; density: GridDensityTypes; filterMode: "client"; headerHeight: number; paginationMode: "client"; rowHeight: number; rowsPerPageOptions: number[]; scrollEndThreshold: number; sortingMode: "client"; sortingOrder: ("asc" | "desc" | null)[]; logger: Console; logLevel: string; }; /** * The ref type of the inner grid root container. */ declare type GridRootContainerRef = React$1.RefObject; /** * The object containing the column properties of the rendering state. */ interface GridRenderColumnsProps { /** * The index of the first rendered column. */ firstColIdx: number; /** * The index of the last rendered column. */ lastColIdx: number; /** * The left offset required to position the viewport at the beginning of the first rendered column. */ leftEmptyWidth: number; /** * The right offset required to position the viewport to the end of the last rendered column. */ rightEmptyWidth: number; } /** * The object containing the row properties of the rendering state. */ interface GridRenderRowProps { /** * The rendering zone page calculated from the scroll position. */ page: number; /** * The index of the first rendered row. */ firstRowIdx: number; /** * The index of the last rendered row. */ lastRowIdx: number; } /** * The object containing the pagination properties of the rendering state. */ interface GridRenderPaginationProps { /** * The current page if pagination is enabled. */ paginationCurrentPage?: number; /** * The page size if pagination is enabled. */ pageSize?: number; } /** * The full rendering state. */ declare type GridRenderContextProps = GridRenderColumnsProps & GridRenderRowProps & GridRenderPaginationProps; interface GridColumnMenuState { open: boolean; field?: string; } interface GridColumnReorderState { dragCol: string; } declare function getInitialGridColumnReorderState(): GridColumnReorderState; interface GridColumnResizeState { resizingColumnField: string; } declare function getInitialGridColumnResizeState(): GridColumnResizeState; interface GridGridDensity { value: GridDensity; rowHeight: number; headerHeight: number; } interface VisibleGridRowsState { visibleRowsLookup: Record; visibleRows?: GridRowId[]; } declare const getInitialVisibleGridRowsState: () => VisibleGridRowsState; declare type GridCellIdentifier = { id: GridRowId; field: string; }; declare type GridColumnIdentifier = { field: string; }; interface GridFocusState { cell: GridCellIdentifier | null; columnHeader: GridColumnIdentifier | null; } interface GridTabIndexState { cell: GridCellIdentifier | null; columnHeader: GridColumnIdentifier | null; } declare enum GridPreferencePanelsValue { filters = "filters", columns = "columns" } interface GridPreferencePanelState { open: boolean; openedPanelValue?: GridPreferencePanelsValue; } interface InternalGridRowsState { idRowsLookup: Record; allRows: GridRowId[]; totalRowCount: number; } declare const getInitialGridRowState: () => InternalGridRowsState; interface GridSortingState { sortedRows: GridRowId[]; sortModel: GridSortModel; } declare function getInitialGridSortingState(): GridSortingState; interface GridScrollParams { left: number; top: number; } declare type GridScrollFn = (v: GridScrollParams) => void; interface InternalRenderingState { virtualPage: number; virtualRowsCount: number; renderContext: Partial | null; realScroll: GridScrollParams; renderingZoneScroll: GridScrollParams; } declare const getInitialGridRenderingState: () => InternalRenderingState; interface GridPaginationState { pageSize: number; page: number; pageCount: number; rowCount: number; } interface GridState { rows: InternalGridRowsState; editRows: GridEditRowsModel; pagination: GridPaginationState; options: GridOptions; isScrolling: boolean; columns: GridColumnsState; columnReorder: GridColumnReorderState; columnResize: GridColumnResizeState; columnMenu: GridColumnMenuState; rendering: InternalRenderingState; containerSizes: GridContainerProps | null; viewportSizes: GridViewportSizeState; scrollBar: GridScrollBarState; sorting: GridSortingState; focus: GridFocusState; tabIndex: GridTabIndexState; selection: GridSelectionModel; filter: GridFilterModel; visibleRows: VisibleGridRowsState; preferencePanel: GridPreferencePanelState; density: GridGridDensity; error?: any; } declare const getInitialGridState: () => GridState; /** * The column API interface that is available in the grid [[apiRef]]. */ interface GridColumnApi { /** * Returns the [[GridColDef]] for the given `field`. * @param {string} field The column field. * @returns {{GridStateColDef}} The [[GridStateColDef]]. */ getColumn: (field: string) => GridStateColDef; /** * Returns an array of [[GridColDef]] containing all the column definitions. * @returns {GridStateColDef[]} An array of [[GridStateColDef]]. */ getAllColumns: () => GridStateColDef[]; /** * Returns the currently visible columns. * @returns {GridStateColDef[]} An array of [[GridStateColDef]]. */ getVisibleColumns: () => GridStateColDef[]; /** * Returns the [[GridColumnsMeta]] for each column. * @returns {GridColumnsMeta[]} All [[GridColumnsMeta]] objects. */ getColumnsMeta: () => GridColumnsMeta; /** * Returns the index position of a column. By default, only the visible columns are considered. * Pass `false` to `useVisibleColumns` to consider all columns. * @param {string} field The column field. * @param {boolean} useVisibleColumns Determines if all columns or the visible ones should be considered. * @returns {number} The index position. */ getColumnIndex: (field: string, useVisibleColumns?: boolean) => number; /** * Returns the left-position of a column relative to the inner border of the grid. * @param {string} field The column field. * @returns {number} The position in pixels. */ getColumnPosition: (field: string) => number; /** * Updates the definition of a column. * @param {GridColDef} col The new [[GridColDef]] object. */ updateColumn: (col: GridColDef) => void; /** * Updates the definition of multiple columns at the same time. * @param {GridColDef[]} cols The new column [[GridColDef]] objects. */ updateColumns: (cols: GridColDef[]) => void; /** * Changes the visibility of the column referred by `field`. * @param {string} field The column to change visibility. * @param {boolean} isVisible Pass `true` to show the column, or `false` to hide it. */ setColumnVisibility: (field: string, isVisible: boolean) => void; /** * Moves a column from its original position to the position given by `targetIndexPosition`. * @param {string} field The field name * @param {number} targetIndexPosition The new position (0-based). */ setColumnIndex: (field: string, targetIndexPosition: number) => void; /** * Updates the width of a column. * @param {string} field The column field. * @param {number} width The new width. */ setColumnWidth: (field: string, width: number) => void; } /** * The column menu API interface that is available in the grid [[apiRef]]. */ interface GridColumnMenuApi { /** * Display the column menu under the `field` column. * @param {string} field The column to display the menu. */ showColumnMenu: (field: string) => void; /** * Hides the column menu that is open. */ hideColumnMenu: () => void; /** * Toggles the column menu under the `field` column. * @param {string} field The field name to toggle the column menu. */ toggleColumnMenu: (field: string) => void; } /** * Set of icons used in the grid component UI. */ interface GridIconSlotsComponent { /** * Icon displayed on the boolean cell to represent the true value. */ BooleanCellTrueIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the boolean cell to represent the false value. */ BooleanCellFalseIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the side of the column header title to display the filter input component. */ ColumnMenuIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the open filter button present in the toolbar by default. */ OpenFilterButtonIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the column header menu to show that a filter has been applied to the column. */ ColumnFilteredIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the column menu selector tab. */ ColumnSelectorIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the side of the column header title when unsorted. */ ColumnUnsortedIcon?: React$1.ElementType | null; /** * Icon displayed on the side of the column header title when sorted in ascending order. */ ColumnSortedAscendingIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the side of the column header title when sorted in descending order. */ ColumnSortedDescendingIcon?: React$1.JSXElementConstructor; /** * Icon displayed in between two column headers that allows to resize the column header. */ ColumnResizeIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the compact density option in the toolbar. */ DensityCompactIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the standard density option in the toolbar. */ DensityStandardIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the "comfortable" density option in the toolbar. */ DensityComfortableIcon?: React$1.JSXElementConstructor; /** * Icon displayed on the open export button present in the toolbar by default. */ ExportIcon?: React$1.JSXElementConstructor; } /** * Overrideable components props dynamically passed to the component at rendering. */ interface GridSlotsComponentsProps { checkbox?: any; columnMenu?: any; columnsPanel?: any; errorOverlay?: any; filterPanel?: any; footer?: any; header?: any; loadingOverlay?: any; noResultsOverlay?: any; noRowsOverlay?: any; pagination?: any; panel?: any; preferencesPanel?: any; toolbar?: any; } interface GridApiRefComponentsProperty extends GridIconSlotsComponent { /** * Checkbox component used in the grid for both header and cells. By default, it uses the Material-UI core Checkbox component. */ Checkbox: React$1.ElementType; /** * Column menu component rendered by clicking on the 3 dots "kebab" icon in column headers. */ ColumnMenu: React$1.JSXElementConstructor; /** * Error overlay component rendered above the grid when an error is caught. */ ErrorOverlay: React$1.JSXElementConstructor; /** * Footer component rendered at the bottom of the grid viewport. */ Footer: React$1.JSXElementConstructor; /** * Header component rendered above the grid column header bar. * Prefer using the `Toolbar` slot. You should never need to use this slot. TODO remove. */ Header: React$1.JSXElementConstructor; /** * Toolbar component rendered inside the Header component. */ Toolbar?: React$1.JSXElementConstructor; /** * PreferencesPanel component rendered inside the Header component. */ PreferencesPanel: React$1.JSXElementConstructor; /** * Overlay component rendered when the grid is in a loading state. */ LoadingOverlay: React$1.JSXElementConstructor; /** * Overlay component rendered when the grid has no rows. */ NoRowsOverlay: React$1.JSXElementConstructor; /** * Overlay component rendered when the grid has no results after filtering. */ NoResultsOverlay: React$1.JSXElementConstructor; /** * Pagination component rendered in the grid footer by default. */ Pagination: React$1.JSXElementConstructor; /** * Filter panel component rendered when clicking the filter button. */ FilterPanel: React$1.JSXElementConstructor; /** * GridColumns panel component rendered when clicking the columns button. */ ColumnsPanel: React$1.JSXElementConstructor; /** * Panel component wrapping the filters and columns panels. */ Panel: React$1.JSXElementConstructor; } interface GridComponentsApi { /** * The set of overridable components used in the grid. */ components: GridApiRefComponentsProperty; /** * Overrideable components props dynamically passed to the component at rendering. */ componentsProps?: GridSlotsComponentsProps; } interface GridControlStateItem { stateId: string; propModel?: any; stateSelector: (state: GridState) => TModel; propOnChange?: (model: TModel, details: any) => void; changeEvent: string; } /** * The control state API interface that is available in the grid `apiRef`. */ interface GridControlStateApi { /** * Updates a control state that binds the model, the onChange prop, and the grid state together. * @param {GridControlStateItem} controlState The [[GridControlStateItem]] to be registered. * @ignore - do not document. */ updateControlState: (controlState: GridControlStateItem) => void; /** * Allows the internal grid state to apply the registered control state constraint. * @param {GridState} state The new modified state that would be the next if the state is not controlled. * @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. * @ignore - do not document. */ applyControlStateConstraint: (state: GridState) => { ignoreSetState: boolean; postUpdate: () => void; }; } declare type Listener = (...args: any[]) => void; declare class EventEmitter { /** * @ignore - do not document. */ maxListeners: number; /** * @ignore - do not document. */ warnOnce: boolean; /** * @ignore - do not document. */ events: { [key: string]: Listener[]; }; /** * @ignore - do not document. */ on(eventName: string, listener: Listener): void; /** * @ignore - do not document. */ removeListener(eventName: string, listener: Listener): void; /** * @ignore - do not document. */ removeAllListeners(eventName?: string): void; /** * @ignore - do not document. */ emit(eventName: string, ...args: any[]): void; /** * @ignore - do not document. */ once(eventName: string, listener: Listener): void; } declare type GridListener = (params: any, event?: React$1.SyntheticEvent) => void; declare type GridSubscribeEventOptions = { isFirst?: boolean; }; declare class GridEventEmitter extends EventEmitter { /** * @ignore - do not document. */ on(eventName: string, listener: GridListener, options?: GridSubscribeEventOptions): void; } /** * The core API interface that is available in the grid `apiRef`. */ interface GridCoreApi extends GridEventEmitter { /** * The react ref of the grid root container div element. * @ignore - do not document. */ rootElementRef?: React$1.RefObject; /** * The react ref of the grid column container virtualized div element. * @ignore - do not document. */ columnHeadersContainerElementRef?: React$1.RefObject; /** * The react ref of the grid column headers container element. * @ignore - do not document. */ columnHeadersElementRef?: React$1.RefObject; /** * The react ref of the grid window container element. * @ignore - do not document. */ windowRef?: React$1.RefObject; /** * The react ref of the grid data rendering zone. * @ignore - do not document. */ renderingZoneRef?: React$1.RefObject; /** * The react ref of the grid header element. * @ignore - do not document. */ headerRef?: React$1.RefObject; /** * The react ref of the grid footer element. * @ignore - do not document. */ footerRef?: React$1.RefObject; /** * Registers a handler for an event. * @param {string} event The name of the event. * @param {function} handler The handler to be called. * @param {object} options Additional options for this listener. * @returns {function} A function to unsubscribe from this event. */ subscribeEvent: (event: string, handler: (params: any, event: MuiEvent, details: any) => void, options?: GridSubscribeEventOptions) => () => void; /** * Emits an event. * @param {string} name The name of the event. * @param {...*} args Arguments to be passed to the handlers. */ publishEvent: (name: string, params?: any, event?: MuiEvent) => void; /** * Displays the error overlay component. * @param {any} props Props to be passed to the `ErrorOverlay` component. */ showError: (props: any) => void; } /** * The Clipboard API interface that is available in the grid [[apiRef]]. */ interface GridClipboardApi { /** * Copies the selected rows to the clipboard. * The fields will separated by the TAB character. * @param {boolean} includeHeaders Whether to include the headers or not. Default is `false`. * @ignore - do not document. */ copySelectedRowsToClipboard: (includeHeaders?: boolean) => void; } /** * Available CSV delimiter characters used to separate fields. */ declare type GridExportCsvDelimiter = string; /** * The options to apply on the CSV export. */ interface GridExportCsvOptions { /** * The character used to separate fields. * @default ',' */ delimiter?: GridExportCsvDelimiter; /** * The string used as the file name. * @default `document.title` */ fileName?: string; /** * If `true`, the UTF-8 Byte Order Mark (BOM) prefixes the exported file. * This can allow Excel to automatically detect file encoding as UTF-8. * @default false */ utf8WithBom?: boolean; /** * The columns exported in the CSV. * This should only be used if you want to restrict the columns exports. */ fields?: string[]; /** * If `true`, the hidden columns will also be exported. * @default false */ allColumns?: boolean; } /** * Available export formats. */ declare type GridExportFormat = 'csv'; /** * The CSV export API interface that is available in the grid [[apiRef]]. */ interface GridCsvExportApi { /** * Returns the grid data as a CSV string. * This method is used internally by `exportDataAsCsv`. * @param {GridExportCsvOptions} options The options to apply on the export. * @returns string */ getDataAsCsv: (options?: GridExportCsvOptions) => string; /** * Downloads and exports a CSV of the grid's data. * @param {GridExportCsvOptions} options The options to apply on the export. */ exportDataAsCsv: (options?: GridExportCsvOptions) => void; } interface GridDensityOption { icon: React$1.ReactElement; label: string; value: GridDensityTypes; } /** * The density API interface that is available in the grid `apiRef`. */ interface GridDensityApi { /** * Sets the density of the grid. * @param {string} density Can be: `"compact"`, `"standard"`, `"comfortable"`. * @param {number} headerHeight The new header height. * @param {number} rowHeight The new row height. */ setDensity: (size: GridDensity, headerHeight?: number, rowHeight?: number) => void; } /** * The editing API interface that is available in the grid `apiRef`. */ interface GridEditRowApi { /** * Set sthe edit rows model of the grid. * @param {GridEditRowsModel} model The new edit rows model. */ setEditRowsModel: (model: GridEditRowsModel) => void; /** * Gets the edit rows model of the grid. * @returns {GridEditRowsModel} The edit rows model. */ getEditRowsModel: () => GridEditRowsModel; /** * Sets the mode of a cell. * @param {GridRowId} id The id of the row. * @param {string} field The field to change the mode. * @param {GridCellMode} mode Can be: `"edit"`, `"view"`. */ setCellMode: (id: GridRowId, field: string, mode: GridCellMode) => void; /** * Gets the mode of a cell. * @param {GridRowId} id The id of the row. * @param {string} field The field to get the mode. * @returns Returns `"edit"` or `"view"`. */ getCellMode: (id: GridRowId, field: string) => GridCellMode; /** * Controls if a cell is editable. * @param {GridCellParams} params The cell params. * @returns {boolean} A boolean value determining if the cell is editable. */ isCellEditable: (params: GridCellParams) => boolean; /** * Sets the value of the edit cell. * Commonly used inside the edit cell component. * @param {GridEditCellValueParams} params Contains the id, field and value to set. * @param {React.SyntheticEvent} event The event to pass forward. */ setEditCellValue: (params: GridEditCellValueParams, event?: React$1.SyntheticEvent) => void; /** * Updates the field at the given id with the value stored in the edit row model. * @param {GridCommitCellChangeParams} params The id and field to commit to. * @param {React.SyntheticEvent} event The event to pass forward. * @returns {boolean} A boolean indicating if there is an error. */ commitCellChange: (params: GridCommitCellChangeParams, event?: MouseEvent | React$1.SyntheticEvent) => boolean; } /** * The events API interface that is available in the grid `apiRef`. */ interface GridEventsApi { /** * Triggers a resize of the component and recalculation of width and height. */ resize: () => void; } /** * The filter API interface that is available in the grid [[apiRef]]. */ interface GridFilterApi { /** * Shows the filter panel. If `targetColumnField` is given, a filter for this field is also added. * @param {string} targetColumnField The column field to add a filter. */ showFilterPanel: (targetColumnField?: string) => void; /** * Hides the filter panel. */ hideFilterPanel: () => void; /** * Updates or inserts a [[GridFilterItem]]. * @param {GridFilterItem} item The filter to update. */ upsertFilter: (item: GridFilterItem) => void; /** * Applies a [[GridFilterItem]] on alls rows. If no `linkOperator` is given, the "and" operator is used. * @param {GridFilterItem} item The filter to be applied. * @param {GridLinkOperator} linkOperator The link operator to use. */ applyFilter: (item: GridFilterItem, linkOperator?: GridLinkOperator) => void; /** * Applies all filters on all rows. */ applyFilters: () => void; /** * Deletes a [[GridFilterItem]]. * @param {GridFilterItem} item The filter to delete. */ deleteFilter: (item: GridFilterItem) => void; /** * Changes the [[GridLinkOperator]] used to connect the filters. * @param {GridLinkOperator} operator The new link operator. It can be: `"and"` or `"or`". */ applyFilterLinkOperator: (operator: GridLinkOperator) => void; /** * Sets the filter model to the one given by `model`. * @param {GridFilterModel} model The new filter model. */ setFilterModel: (model: GridFilterModel) => void; /** * Returns a sorted `Map` containing only the visible rows. * @returns {Map} The sorted `Map`. */ getVisibleRowModels: () => Map; } interface GridFocusApi { /** * Sets the focus to the cell at the given `id` and `field`. * @param {GridRowId} id The row id. * @param {string} field The column field. */ setCellFocus: (id: GridRowId, field: string) => void; /** * Sets the focus to the column header at the given `field`. * @param {string} field The column field. * @param {string} event The event that triggers the action. */ setColumnHeaderFocus: (field: string, event?: React.SyntheticEvent) => void; } /** * The page API interface that is available in the grid [[apiRef]]. */ interface GridPageApi { /** * Sets the displayed page to the value given by `page`. * @param {number} page The new page number */ setPage: (page: number) => void; } /** * The page size API interface that is available in the grid [[apiRef]]. */ interface GridPageSizeApi { /** * Sets the number of displayed rows to the value given by `pageSize`. * @param {number} pageSize The new number of displayed rows. */ setPageSize: (pageSize: number) => void; } interface GridParamsApi { /** * Gets the value of a cell at the given `id` and `field`. * @param {GridRowId} id The id of the row. * @param {string} field The column field. * @returns {GridCellValue} The cell value. */ getCellValue: (id: GridRowId, field: string) => GridCellValue; /** * Gets the underlying DOM element for a cell at the given `id` and `field`. * @param {GridRowId} id The id of the row. * @param {string} field The column field. * @returns {HTMLDivElement | null} The DOM element or `null`. */ getCellElement: (id: GridRowId, field: string) => HTMLDivElement | null; /** * Gets the [[GridCellParams]] object that is passed as argument in events. * @param {GridRowId} id The id of the row. * @param {string} field The column field. * @returns {GridCellParams} The cell params. */ getCellParams: (id: GridRowId, field: string) => GridCellParams; /** * Gets the [[GridRowParams]] object that is passed as argument in events. * @param {GridRowId} id The id of the row. * @param {string} field The column field. * @returns {GridRowParams} The row params. */ getRowParams: (id: GridRowId) => GridRowParams; /** * Gets the underlying DOM element for a row at the given `id`. * @param {GridRowId} id The id of the row. * @returns {HTMLDivElement | null} The DOM element or `null`. */ getRowElement: (id: GridRowId) => HTMLDivElement | null; /** * Gets the underlying DOM element for the column header with the given `field`. * @param {string} field The column field. * @returns {HTMLDivElement | null} The DOM element or `null`. */ getColumnHeaderElement: (field: string) => HTMLDivElement | null; /** * Gets the [[GridColumnHeaderParams]] object that is passed as argument in events. * @param {string} field The column field. * @returns {GridColumnHeaderParams} The cell params. */ getColumnHeaderParams: (field: string) => GridColumnHeaderParams; } /** * The preferences panel API interface that is available in the grid [[apiRef]]. */ interface GridPreferencesPanelApi { /** * Displays the preferences panel. The `newValue` argument controls the content of the panel. * @param {GridPreferencePanelsValue} newValue The panel to open. Use `"filters"` or `"columns"`. */ showPreferences: (newValue: GridPreferencePanelsValue) => void; /** * Hides the preferences panel. */ hidePreferences: () => void; } /** * The Row API interface that is available in the grid `apiRef`. */ interface GridRowApi { /** * Gets the full set of rows as [[Map]]. * @returns {Map} */ getRowModels: () => Map; /** * Gets the total number of rows in the grid. * @returns {number} */ getRowsCount: () => number; /** * Gets the list of row ids. * @returns {GridRowId[]} A list of ids. */ getAllRowIds: () => GridRowId[]; /** * Sets a new set of rows. * @param {GridRowModel[]} rows The new rows. */ setRows: (rows: GridRowModel[]) => void; /** * Allows to updates, insert and delete rows in a single call. * @param {GridRowModelUpdate[]} updates An array of rows with an `action` specifying what to do. */ updateRows: (updates: GridRowModelUpdate[]) => void; /** * Gets the `GridRowId` of a row at a specific index. * @param {number} index The index of the row * @returns {GridRowId} The `GridRowId` of the row. */ getRowIdFromRowIndex: (index: number) => GridRowId; /** * Gets the row index of a row with a given id. * @param {GridRowId} id The `GridRowId` of the row. * @returns {number} The index of the row. */ getRowIndex: (id: GridRowId) => number; /** * Gets the row data with a given id. * @param {GridRowId} id The id of the row. * @returns {GridRowModel} The row data. */ getRow: (id: GridRowId) => GridRowModel | null; } /** * The selection API interface that is available in the grid [[apiRef]]. */ interface GridSelectionApi { /** * Change the selection state of a row. * @param {GridRowId} id The id of the row * @param {boolean} isSelected Pass `false` to unselect a row. Default is `true`. * @param {boolean} allowMultiple Whether to keep the already selected rows or not. Default is `false`. */ selectRow: (id: GridRowId, isSelected?: boolean, allowMultiple?: boolean) => void; /** * Change the selection state of multiple rows. * @param {GridRowId[]} ids The row ids. * @param {boolean} isSelected The new selection state. Default is `true`. * @param {boolean} deselectOtherRows Whether to keep the already selected rows or not. Default is `false`. */ selectRows: (ids: GridRowId[], isSelected?: boolean, deselectOtherRows?: boolean) => void; /** * Returns an array of the selected rows. * @returns {Map} A `Map` with the selected rows. */ getSelectedRows: () => Map; /** * Updates the selected rows to be those passed to the `rowIds` argument. * Any row already selected will be unselected. * @param {GridRowId[]} rowIds The row ids to select. */ setSelectionModel: (rowIds: GridRowId[]) => void; } /** * The sort API interface that is available in the grid [[apiRef]]. */ interface GridSortApi { /** * Returns the sort model currently applied to the grid. * @returns {GridSortModel} The `GridSortModel`. */ getSortModel: () => GridSortModel; /** * Applies the current sort model to the rows. */ applySorting: () => void; /** * Updates the sort model and triggers the sorting of rows. * @param {GridSortModel} model The `GridSortModel` to be applied. */ setSortModel: (model: GridSortModel) => void; /** * Sorts a column. * @param {GridColDef} column The [[GridColDef]] of the column to be sorted. * @param {GridSortDirection} direction The direction to be sorted. By default, the next in the `sortingOrder` prop. * @param {boolean} allowMultipleSorting Whether to keep the existing [[GridSortItem]]. Default is `false`. */ sortColumn: (column: GridColDef, direction?: GridSortDirection, allowMultipleSorting?: boolean) => void; /** * Returns all rows sorted according to the active sort model. * @returns {GridRowModel[]} The sorted [[GridRowModel]] objects. */ getSortedRows: () => GridRowModel[]; /** * Returns all row ids sorted according to the active sort model. * @returns {GridRowId[]} The sorted [[GridRowId]] values. */ getSortedRowIds: () => GridRowId[]; } interface GridStateApi { /** * Property that contains the whole state of the grid. */ state: GridState; /** * Returns the state of the grid. * @returns {GridState} The state of the grid. * @ignore - do not document. */ getState: () => GridState; /** * Sets the whole state of the grid. * @param {function} state The new state or a function to return the new state. */ setState: (state: GridState | ((previousState: GridState) => GridState)) => void; /** * Forces the grid to rerender. It's often used after a state update. */ forceUpdate: React$1.Dispatch; } /** * The virtualization API interface that is available in the grid [[apiRef]]. */ interface GridVirtualizationApi { /** * Triggers the viewport to scroll to the given positions (in pixels). * @param {GridScrollParams} params An object contaning the `left` or `top` position to scroll. */ scroll: (params: Partial) => void; /** * Triggers the viewport to scroll to the cell at indexes given by `params`. * Returns `true` if the grid had to scroll to reach the target. * @param {GridCellIndexCoordinates} params The indexes where the cell is. * @returns {boolean} Returns `true` if the index was outside of the viewport and the grid had to scroll to reach the target. */ scrollToIndexes: (params: Partial) => boolean; /** * Get the current containerProps. * @ignore - do not document. */ getContainerPropsState: () => GridContainerProps | null; /** * Get the current renderContext. * @ignore - do not document. */ getRenderContextState: () => Partial | undefined; /** * Returns the current scroll position. * @returns {GridScrollParams} The scroll positions. */ getScrollPosition: () => GridScrollParams; /** * Refreshes the viewport cells according to the scroll positions * @param {boolean} forceRender If `true`, forces a rerender. By default, it is `false`. * @ignore - do not document. */ updateViewport: (forceRender?: boolean) => void; } /** * The full grid API. */ interface GridApi extends GridCoreApi, GridComponentsApi, GridStateApi, GridDensityApi, GridEventsApi, GridRowApi, GridEditRowApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridVirtualizationApi, GridPageApi, GridPageSizeApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridLocaleTextApi, GridControlStateApi, GridClipboardApi { } /** * The apiRef component prop type. */ declare type GridApiRef = React$1.MutableRefObject; /** * Object passed as React prop in the component override. */ interface GridSlotComponentProps { /** * The GridState object containing the current grid state. */ state: GridState; /** * The full set of rows. */ rows: GridRowModel[]; /** * The full set of columns. */ columns: GridColumns; /** * The full set of options. */ options: GridOptions; /** * GridApiRef that let you manipulate the grid. */ apiRef: GridApiRef; /** * The ref of the inner div Element of the grid. */ rootElement: GridRootContainerRef; } /** * Object passed as parameter of the column sorted event. */ interface GridSortModelParams { /** * The sort model used to sort the grid. */ sortModel: GridSortModel; /** * The full set of columns. */ columns: GridColumns; /** * Api that let you manipulate the grid. */ api: any; } interface GridStateChangeParams { state: GridState; api: GridApi; } /** * Grid components React prop interface containing all the overridable components. * */ interface GridSlotsComponent extends GridIconSlotsComponent { /** * The custom Checkbox component used in the grid for both header and cells. */ Checkbox?: React$1.JSXElementConstructor; /** * Column menu component rendered by clicking on the 3 dots "kebab" icon in column headers. */ ColumnMenu?: React$1.JSXElementConstructor; /** * Error overlay component rendered above the grid when an error is caught. */ ErrorOverlay?: React$1.JSXElementConstructor; /** * Footer component rendered at the bottom of the grid viewport. */ Footer?: React$1.JSXElementConstructor; /** * Header component rendered above the grid column header bar. * Prefer using the `Toolbar` slot. You should never need to use this slot. TODO remove. */ Header?: React$1.JSXElementConstructor; /** * Toolbar component rendered inside the Header component. */ Toolbar?: React$1.JSXElementConstructor; /** * PreferencesPanel component rendered inside the Header component. */ PreferencesPanel?: React$1.JSXElementConstructor; /** * Loading overlay component rendered when the grid is in a loading state. */ LoadingOverlay?: React$1.JSXElementConstructor; /** * No results overlay component rendered when the grid has no results after filtering. */ NoResultsOverlay?: React$1.JSXElementConstructor; /** * No rows overlay component rendered when the grid has no rows. */ NoRowsOverlay?: React$1.JSXElementConstructor; /** * Pagination component rendered in the grid footer by default. */ Pagination?: React$1.JSXElementConstructor; /** * Filter panel component rendered when clicking the filter button. */ FilterPanel?: React$1.JSXElementConstructor; /** * GridColumns panel component rendered when clicking the columns button. */ ColumnsPanel?: React$1.JSXElementConstructor; /** * Panel component wrapping the filters and columns panels. */ Panel?: React$1.JSXElementConstructor; } interface GridCellProps { align: GridAlignment; className?: string; colIndex: number; field: string; rowId: GridRowId; formattedValue?: GridCellValue; hasFocus?: boolean; height: number; isEditable?: boolean; isSelected?: boolean; rowIndex: number; showRightBorder?: boolean; value?: GridCellValue; width: number; cellMode?: GridCellMode; children: React$1.ReactNode; tabIndex: 0 | -1; } declare const GridCell: React$1.NamedExoticComponent; declare function GridEditInputCell(props: GridCellParams & InputBaseProps): JSX.Element; declare const renderEditInputCell: (params: any) => JSX.Element; declare function GridEditSingleSelectCell(props: GridCellParams & SelectProps): JSX.Element; declare const renderEditSingleSelectCell: (params: any) => JSX.Element; interface GridEmptyCellProps { width?: number; height?: number; } declare const GridEmptyCell: React$1.NamedExoticComponent; interface RowCellsProps { cellClassName?: string; columns: GridStateColDef[]; extendRowFullWidth: boolean; firstColIdx: number; id: GridRowId; hasScrollX: boolean; hasScrollY: boolean; height: number; getCellClassName?: (params: GridCellParams) => string; lastColIdx: number; row: GridRowModel; rowIndex: number; showCellRightBorder: boolean; cellFocus: GridCellIdentifier | null; cellTabIndex: GridCellIdentifier | null; isSelected: boolean; editRowState?: GridEditRowProps; } declare const GridRowCells: React$1.NamedExoticComponent; declare type GridRootProps = React$1.HTMLAttributes; declare const GridRoot: React$1.ForwardRefExoticComponent>; declare type GridColumnsContainerProps = React$1.HTMLAttributes; declare const GridColumnsContainer: React$1.ForwardRefExoticComponent>; declare type GridDataContainerProps = React$1.HTMLAttributes; declare function GridDataContainer(props: GridDataContainerProps): JSX.Element; declare type GridFooterContainerProps = React$1.HTMLAttributes; declare const GridFooterContainer: React$1.ForwardRefExoticComponent>; declare type GridOverlayProps = React$1.HTMLAttributes; declare const GridOverlay: React$1.ForwardRefExoticComponent>; interface GridWindowProps extends React$1.HTMLAttributes { size: { width: number; height: number; }; } declare const GridWindow: React$1.ForwardRefExoticComponent>; declare type GridToolbarContainerProps = React$1.HTMLAttributes; declare const GridToolbarContainer: React$1.ForwardRefExoticComponent>; interface GridColumnHeaderItemProps { colIndex: number; column: GridStateColDef; columnMenuOpen: boolean; headerHeight: number; isDragging: boolean; isResizing: boolean; sortDirection: GridSortDirection; sortIndex?: number; options: GridOptions; filterItemsCounter?: number; hasFocus?: boolean; tabIndex: 0 | -1; } declare function GridColumnHeaderItem(props: GridColumnHeaderItemProps): JSX.Element; interface GridColumnHeaderSeparatorProps extends React$1.HTMLAttributes { resizable: boolean; resizing: boolean; height: number; } declare const GridColumnHeaderSeparator: React$1.NamedExoticComponent; interface GridColumnHeaderSortIconProps { direction: GridSortDirection; index: number | undefined; } declare const GridColumnHeaderSortIcon: React$1.NamedExoticComponent; interface GridColumnHeaderTitleProps { label: string; columnWidth: number; description?: string; } declare function GridColumnHeaderTitle(props: GridColumnHeaderTitleProps): JSX.Element; declare const gridScrollbarStateSelector: (state: GridState) => GridScrollBarState; declare const GridColumnsHeader: React$1.ForwardRefExoticComponent>; interface GridColumnHeadersItemCollectionProps { columns: GridStateColDef[]; } declare function GridColumnHeadersItemCollection(props: GridColumnHeadersItemCollectionProps): JSX.Element; declare const GridCellCheckboxForwardRef: React$1.ForwardRefExoticComponent>; declare const GridCellCheckboxRenderer: React$1.MemoExoticComponent>>; declare const GridHeaderCheckbox: React$1.ForwardRefExoticComponent>; declare const GridArrowUpwardIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridArrowDownwardIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridFilterListIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridFilterAltIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridSearchIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridMenuIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridCheckCircleIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridColumnIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridSeparatorIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridViewHeadlineIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridTableRowsIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridViewStreamIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridTripleDotsVerticalIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridCloseIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridAddIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridLoadIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridDragIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridSaveAltIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; declare const GridCheckIcon: _material_ui_core_OverridableComponent.OverridableComponent<_material_ui_core.SvgIconTypeMap<{}, "svg">>; interface GridFilterItemProps { column: GridColDef; onClick: (event: React$1.MouseEvent) => void; } declare const GridColumnsMenuItem: (props: GridFilterItemProps) => JSX.Element | null; declare const GridFilterMenuItem: (props: GridFilterItemProps) => JSX.Element | null; interface GridColumnHeaderMenuProps { columnMenuId: string; columnMenuButtonId: string; ContentComponent: React$1.JSXElementConstructor; contentComponentProps?: any; field: string; open: boolean; target: Element | null; } declare function GridColumnHeaderMenu({ columnMenuId, columnMenuButtonId, ContentComponent, contentComponentProps, field, open, target, }: GridColumnHeaderMenuProps): JSX.Element | null; interface GridColumnMenuProps extends React$1.HTMLAttributes { hideMenu: () => void; currentColumn: GridColDef; open: boolean; id?: string; labelledby?: string; } declare const GridColumnMenu: React$1.ForwardRefExoticComponent>; declare const HideGridColMenuItem: (props: GridFilterItemProps) => JSX.Element | null; declare const SortGridMenuItems: (props: GridFilterItemProps) => JSX.Element | null; declare const GridColumnMenuContainer: React$1.ForwardRefExoticComponent>; declare type MenuPosition = 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top' | undefined; interface GridMenuProps extends Omit { open: boolean; target: React$1.ReactNode; onClickAway: (event?: React$1.MouseEvent) => void; position?: MenuPosition; } declare const GridMenu: (props: GridMenuProps) => JSX.Element; declare function GridColumnsPanel(): JSX.Element; /** * TODO import from the v5 directly * * Remove properties `K` from `T`. * Distributive for union types. * * @internal */ declare type DistributiveOmit = T extends any ? Omit : never; /** * TODO import from the core v5 directly * * @internal ONLY USE FROM WITHIN mui-org/material-ui * * Internal helper type for conform (describeConformance) components * However, we don't declare classes on this type. * It is recommended to declare them manually with an interface so that each class can have a separate JSDOC. */ declare type InternalStandardProps = DistributiveOmit & StyledComponentProps & { ref?: C extends { ref?: infer RefType; } ? RefType : React$1.Ref; className?: string; style?: React$1.CSSProperties; }; interface GridPanelClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the paper element. */ paper: string; } interface GridPanelProps extends InternalStandardProps { children?: React$1.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial; open: boolean; } declare const gridPanelClasses: Record<"root" | "paper", string>; declare const GridPanel: (props: GridPanelProps) => JSX.Element; declare function GridPanelContent(props: React$1.PropsWithChildren>): JSX.Element; declare function GridPanelFooter(props: React$1.PropsWithChildren>): JSX.Element; declare function GridPanelHeader(props: React$1.PropsWithChildren>): JSX.Element; declare function GridPanelWrapper(props: React$1.PropsWithChildren>): JSX.Element; declare const GridPreferencesPanel: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface GridFilterFormProps { item: GridFilterItem; hasMultipleFilters: boolean; showMultiFilterOperators?: boolean; multiFilterOperator?: GridLinkOperator; disableMultiFilterOperator?: boolean; applyFilterChanges: (item: GridFilterItem) => void; applyMultiFilterOperatorChanges: (operator: GridLinkOperator) => void; deleteFilter: (item: GridFilterItem) => void; } declare function GridFilterForm(props: GridFilterFormProps): JSX.Element; declare const SUBMIT_FILTER_STROKE_TIME = 500; interface GridTypeFilterInputValueProps extends GridFilterInputValueProps { type?: 'text' | 'number' | 'date' | 'datetime-local' | 'singleSelect'; } declare function GridFilterInputValue(props: GridTypeFilterInputValueProps & TextFieldProps): JSX.Element; declare function GridFilterPanel(): JSX.Element; declare const GridToolbar: React$1.ForwardRefExoticComponent>; declare const GridToolbarColumnsButton: React$1.ForwardRefExoticComponent, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "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" | "form" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "disableFocusRipple" | "href" | "size" | "variant" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | keyof _material_ui_core_OverridableComponent.CommonProps<_material_ui_core_Button.ButtonTypeMap<{}, "button">>> & React$1.RefAttributes>; declare const GridToolbarDensitySelector: React$1.ForwardRefExoticComponent, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "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" | "form" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "disableFocusRipple" | "href" | "size" | "variant" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | keyof _material_ui_core_OverridableComponent.CommonProps<_material_ui_core_Button.ButtonTypeMap<{}, "button">>> & React$1.RefAttributes>; interface GridToolbarExportProps extends ButtonProps { csvOptions?: GridExportCsvOptions; } declare const GridToolbarExport: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface GridToolbarFilterButtonProps extends Omit { /** * The props used for each slot inside. * @default {} */ componentsProps?: { button?: ButtonProps; }; } declare const GridToolbarFilterButton: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const GridApiContext: React$1.Context; interface AutoSizerSize { height: number; width: number; } interface AutoSizerProps extends Omit, 'children'> { /** * Function responsible for rendering children. */ children: (size: AutoSizerSize) => React$1.ReactNode; /** * Default height to use for initial render; useful for SSR. * @default null */ defaultHeight?: number; /** * Default width to use for initial render; useful for SSR. * @default null */ defaultWidth?: number; /** * If `true`, disable dynamic :height property. * @default false */ disableHeight?: boolean; /** * If `true`, disable dynamic :width property. * @default false */ disableWidth?: boolean; /** * Nonce of the inlined stylesheet for Content Security Policy. */ nonce?: string; /** * Callback to be invoked on-resize. */ onResize?: (size: AutoSizerSize) => void; } declare const GridAutoSizer: React$1.ForwardRefExoticComponent>; declare const GridFooter: React$1.ForwardRefExoticComponent>; declare const GridHeader: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const GridLoadingOverlay: React$1.ForwardRefExoticComponent>; declare const GridNoRowsOverlay: React$1.ForwardRefExoticComponent>; declare const GridPagination: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare type WithChildren = { children?: React$1.ReactNode; }; declare const GridRenderingZone: React$1.ForwardRefExoticComponent>; interface RowCountProps { rowCount: number; visibleRowCount: number; } declare const GridRowCount: React$1.ForwardRefExoticComponent & RowCountProps & React$1.RefAttributes>; interface GridRowProps { id: GridRowId; selected: boolean; className: string; rowIndex: number; children: React$1.ReactNode; } declare function GridRow(props: GridRowProps): JSX.Element; interface SelectedRowCountProps { selectedRowCount: number; } declare const GridSelectedRowCount: React$1.ForwardRefExoticComponent & SelectedRowCountProps & React$1.RefAttributes>; interface GridStickyContainerProps extends ElementSize { children: React$1.ReactNode; } declare function GridStickyContainer(props: GridStickyContainerProps): JSX.Element; declare type ViewportType = React$1.ForwardRefExoticComponent>; declare const GridViewport: ViewportType; interface ScrollAreaProps { scrollDirection: 'left' | 'right'; } declare const GridScrollArea: React$1.NamedExoticComponent; declare const GRID_EXPERIMENTAL_ENABLED: boolean; declare enum GridEvents { /** * Fired when the grid is resized. Called with a [[GridResizeParams]] object. */ resize = "resize", /** * Fired when the grid is resized with a debounced time of 60ms. Called with a [[GridResizeParams]] object. */ debouncedResize = "debouncedResize", /** * Fired when an exception is thrown in the grid. */ componentError = "componentError", /** * Fired when the grid is unmounted. */ unmount = "unmount", /** * Fired when the mode of a cell changes. Called with a [[GridCellModeChangeParams]] object. * @ignore - do not document */ cellModeChange = "cellModeChange", /** * Fired when a cell is clicked. Called with a [[GridCellParams]] object. */ cellClick = "cellClick", /** * Fired when a cell is double-clicked. Called with a [[GridCellParams]] object. */ cellDoubleClick = "cellDoubleClick", /** * Fired when a `mousedown` event happens in a cell. Called with a [[GridCellParams]] object. */ cellMouseDown = "cellMouseDown", /** * Fired when a `mouseup` event happens in a cell. Called with a [[GridCellParams]] object. */ cellMouseUp = "cellMouseUp", /** * Fired when a `mouseover` event happens in a cell. Called with a [[GridCellParams]] object. */ cellOver = "cellOver", /** * Fired when a `mouseout` event happens in a cell. Called with a [[GridCellParams]] object. */ cellOut = "cellOut", /** * Fired when a `mouseenter` event happens in a cell. Called with a [[GridCellParams]] object. */ cellEnter = "cellEnter", /** * Fired when a `mouseleave` event happens in a cell. Called with a [[GridCellParams]] object. */ cellLeave = "cellLeave", /** * Fired when a `keydown` event happens in a cell. Called with a [[GridCellParams]] object. */ cellKeyDown = "cellKeyDown", /** * Fired when the `blur` event of a cell is triggered. Called with a [[GridCellParams]] object. */ cellBlur = "cellBlur", /** * Fired when a cell gains focus. Called with a [[GridCellParams]] object. */ cellFocus = "cellFocus", /** * Fired when a cell loses focus. Called with a [[GridCellParams]] object. */ cellFocusOut = "cellFocusOut", /** * Fired when the user starts dragging a cell. It's mapped to the `dragstart` DOM event. * Called with a [[GridCellParams]] object. * @ignore - do not document. */ cellDragStart = "cellDragStart", /** * Fired when the dragged cell enters a valid drop target. It's mapped to the `dragend` DOM event. * Called with a [[GridCellParams]] object. * @ignore - do not document. */ cellDragEnter = "cellDragEnter", /** * Fired while an element or text selection is dragged over the cell. * It's mapped to the `dragover` DOM event. * Called with a [[GridCellParams]] object. * @ignore - do not document. */ cellDragOver = "cellDragOver", /** * Fired when the dragging of a cell ends. Called with a [[GridCellParams]] object. * @ignore - do not document. */ cellDragEnd = "cellDragEnd", /** * Fired when the props of the edit cell changes. Called with a [[GridEditCellPropsParams]] object. */ editCellPropsChange = "editCellPropsChange", /** * Fired when the props of the edit input are committed. Called with a [[GridEditCellPropsParams]] object. */ cellEditCommit = "cellEditCommit", /** * Fired when the cell turns to edit mode. Called with a [[GridCellParams]] object. */ cellEditStart = "cellEditStart", /** * Fired when the cell turns back to view mode. Called with a [[GridCellParams]] object. */ cellEditStop = "cellEditStop", /** * Fired when a [navigation key](/components/data-grid/accessibility#keyboard-navigation) is pressed in a cell. * Called with a [[GridCellParams]] object. * @ignore - do not document. */ cellNavigationKeyDown = "cellNavigationKeyDown", /** * Fired when a row is clicked. Called with a [[GridRowParams]] object. */ rowClick = "rowClick", /** * Fired when a row is double-clicked. Called with a [[GridRowParams]] object. */ rowDoubleClick = "rowDoubleClick", /** * Fired when a `mouseover` event happens in a row. Called with a [[GridRowParams]] object. */ rowOver = "rowOver", /** * Fired when a `mouseout` event happens in a row. Called with a [[GridRowParams]] object. */ rowOut = "rowOut", /** * Fired when a `mouseenter` event happens in a row. Called with a [[GridRowParams]] object. */ rowEnter = "rowEnter", /** * Fired when a `mouseleave` event happens in a row. Called with a [[GridRowParams]] object. */ rowLeave = "rowLeave", /** * Fired when the row editing model changes. Called with a [[GridEditRowModelParams]] object. */ editRowsModelChange = "editRowsModelChange", /** * Fired when a column header loses focus. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderBlur = "columnHeaderBlur", /** * Fired when a column header gains focus. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderFocus = "columnHeaderFocus", /** * Fired when a [navigation key](/components/data-grid/accessibility#keyboard-navigation) is pressed in a column header. * Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderNavigationKeyDown = "columnHeaderNavigationKeyDown", /** * Fired when a key is pressed in a column header. It's mapped do the `keydown` DOM event. * Called with a [[GridColumnHeaderParams]] object. */ columnHeaderKeyDown = "columnHeaderKeyDown", /** * Fired when a column header is clicked. Called with a [[GridColumnHeaderParams]] object. */ columnHeaderClick = "columnHeaderClick", /** * Fired when a column header is double-clicked. Called with a [[GridColumnHeaderParams]] object. */ columnHeaderDoubleClick = "columnHeaderDoubleClick", /** * Fired when a `mouseover` event happens in a column header. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderOver = "columnHeaderOver", /** * Fired when a `mouseout` event happens in a column header. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderOut = "columnHeaderOut", /** * Fired when a `mouseenter` event happens in a column header. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderEnter = "columnHeaderEnter", /** * Fired when a `mouseleave` event happens in a column header. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document.* */ columnHeaderLeave = "columnHeaderLeave", /** * Fired when the user starts dragging a column header. It's mapped to the `dragstart` DOM event. * Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderDragStart = "columnHeaderDragStart", /** * Fired while an element or text selection is dragged over the column header. * It's mapped to the `dragover` DOM event. * Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderDragOver = "columnHeaderDragOver", /** * Fired when the dragged column header enters a valid drop target. * It's mapped to the `dragend` DOM event. * Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderDragEnter = "columnHeaderDragEnter", /** * Fired when the dragging of a column header ends. Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnHeaderDragEnd = "columnHeaderDragEnd", /** * Fired when the selection state of one or multiple rows changes. * Called with a [[GridSelectionModelChangeParams]] object. */ selectionChange = "selectionChange", /** * Fired when the page changes. */ pageChange = "pageChange", /** * Fired when the page size changes. */ pageSizeChange = "pageSizeChange", /** * Fired during the scroll of the grid viewport. Called with a [[GridScrollParams]] object. */ rowsScroll = "rowsScroll", /** * Fired when scrolling to the bottom of the grid viewport. Called with a [[GridRowScrollEndParams]] object. */ rowsScrollEnd = "rowsScrollEnd", /** * Fired when a `mousedown` DOM event happens in the column header separator. * Called with a [[GridColumnHeaderParams]] object. * @ignore - do not document. */ columnSeparatorMouseDown = "columnSeparatorMouseDown", /** * Fired during the resizing of a column. Called with a [[GridColumnResizeParams]] object. */ columnResize = "columnResize", /** * Fired when the width of a column is changed. Called with a [[GridColumnResizeParams]] object. */ columnWidthChange = "columnWidthChange", /** * Fired when the user starts resizing a column. Called with an object `{ field: string }`. */ columnResizeStart = "columnResizeStart", /** * Fired when the user stops resizing a column. Called with an object `{ field: string }`. */ columnResizeStop = "columnResizeStop", /** * Fired when the user ends reordering a column. */ columnOrderChange = "columnOrderChange", /** * Fired when the rows are updated. * @ignore - do not document. */ rowsUpdate = "rowsUpdate", /** * Fired when the rows are updated. * @ignore - do not document. */ rowsSet = "rowsSet", /** * Implementation detail. * Fired to reset the sortedRow when the set of rows changes. * It's important as the rendered rows are coming from the sortedRow * @ignore - do not document. */ rowsClear = "rowsClear", /** * Fired when the columns state is changed. * Called with an array of strings corresponding to the field names. */ columnsChange = "columnsChange", /** * Fired when the sort model changes. * Called with a [[GridSortModelParams]] object. */ sortModelChange = "sortModelChange", /** * Fired when the filter model changes. * Called with a [[GridFilterModel]] object. */ filterModelChange = "filterModelChange", /** * Fired when the state of the grid is updated. Called with a [[GridStateChangeParams]] object. */ stateChange = "stateChange", /** * Fired when a column visibility changes. Called with a [[GridColumnVisibilityChangeParams]] object. */ columnVisibilityChange = "columnVisibilityChange", /** * Fired when the rows in the viewport is changed. Called with a [[GridViewportRowsChange]] object. */ viewportRowsChange = "viewportRowsChange" } declare const GRID_CSS_CLASS_PREFIX = "MuiDataGrid"; declare const GRID_ROOT_CSS_CLASS_SUFFIX = "root"; declare const GRID_COLUMN_HEADER_CSS_CLASS_SUFFIX = "columnHeader"; declare const GRID_ROW_CSS_CLASS_SUFFIX = "row"; declare const GRID_CELL_CSS_CLASS_SUFFIX = "cell"; declare const GRID_COLUMN_HEADER_CSS_CLASS: string; declare const GRID_ROW_CSS_CLASS: string; declare const GRID_CELL_CSS_CLASS: string; declare const GRID_COLUMN_HEADER_SEPARATOR_RESIZABLE_CSS_CLASS: string; declare const GRID_COLUMN_HEADER_TITLE_CSS_CLASS: string; declare const GRID_COLUMN_HEADER_DROP_ZONE_CSS_CLASS: string; declare const GRID_COLUMN_HEADER_DRAGGING_CSS_CLASS: string; declare const GRID_DEFAULT_LOCALE_TEXT: GridLocaleText; declare const useGridColumnMenu: (apiRef: GridApiRef) => void; declare const gridColumnMenuStateSelector: (state: GridState) => GridColumnMenuState; declare const gridColumnReorderSelector: (state: GridState) => GridColumnReorderState; declare const gridColumnReorderDragColSelector: reselect.OutputSelector string>; /** * Partial set of [[GridOptions]]. */ declare type GridOptionsProp = Partial; /** * The grid component react props interface. */ interface GridComponentProps extends GridOptionsProp { /** * The ref object that allows grid manipulation. Can be instantiated with [[useGridApiRef()]]. */ apiRef?: GridApiRef; /** * The label of the grid. */ 'aria-label'?: string; /** * The id of the element containing a label for the grid. */ 'aria-labelledby'?: string; /** * @ignore */ className?: string; /** * Set of columns of type [[GridColumns]]. */ columns: GridColumns; /** * Overrideable components. */ components?: GridSlotsComponent; /** * Overrideable components props dynamically passed to the component at rendering. */ componentsProps?: GridSlotsComponentsProps; /** * An error that will turn the grid into its error state and display the error component. */ error?: any; /** * Return the id of a given [[GridRowData]]. */ getRowId?: GridRowIdGetter; /** * If `true`, a loading overlay is displayed. */ loading?: boolean; /** * Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute). */ nonce?: string; /** * Set a callback fired when the state of the grid is updated. */ onStateChange?: (params: GridStateChangeParams, event: MuiEvent<{}>, details: any) => void; /** * Set of rows of type [[GridRowsProp]]. */ rows: GridRowsProp; /** * @internal enum */ signature: string; /** * Set the whole state of the grid. */ state?: Partial; /** * @ignore */ style?: React.CSSProperties; } /** * Only available in XGrid */ declare const useGridColumnReorder: (apiRef: GridApiRef, props: Pick) => void; declare const gridColumnsSelector: (state: GridState) => GridColumnsState; declare const allGridColumnsFieldsSelector: (state: GridState) => string[]; declare const gridColumnLookupSelector: (state: GridState) => GridColumnLookup; declare const allGridColumnsSelector: reselect.OutputSelector GridStateColDef[]>; declare const visibleGridColumnsSelector: reselect.OutputSelector GridStateColDef[]>; declare const gridColumnsMetaSelector: reselect.OutputSelector { totalWidth: number; positions: number[]; }>; declare const filterableGridColumnsSelector: reselect.OutputSelector GridStateColDef[]>; declare const filterableGridColumnsIdsSelector: reselect.OutputSelector string[]>; declare const visibleGridColumnsLengthSelector: reselect.OutputSelector number>; declare const gridColumnsTotalWidthSelector: reselect.OutputSelector number>; declare function useGridColumns(apiRef: GridApiRef, props: Pick): void; declare const useGridApi: (apiRef: GridApiRef) => GridApi; declare function useGridControlState(apiRef: GridApiRef, props: GridComponentProps): void; declare const useGridReducer: (apiRef: GridApiRef, stateId: any, reducer: React$1.Reducer, initialState: State) => { gridState: GridState; dispatch: (args: any) => void; gridApi: GridApi; }; declare const useGridSelector: (apiRef: GridApiRef | undefined, selector: (state: any) => State) => State; declare const useGridState: (apiRef: GridApiRef) => [GridState, (stateUpdaterFn: (oldState: GridState) => GridState) => boolean, () => void]; declare const getInitialGridFilterState: () => GridFilterModel; declare const visibleGridRowsStateSelector: (state: GridState) => VisibleGridRowsState; declare const visibleSortedGridRowsSelector: reselect.OutputSelector, (res1: VisibleGridRowsState, res2: Map) => Map>; declare const visibleSortedGridRowsAsArraySelector: reselect.OutputSelector) => [GridRowId, GridRowData][]>; declare const visibleSortedGridRowIdsSelector: reselect.OutputSelector) => GridRowId[]>; declare const visibleGridRowCountSelector: reselect.OutputSelector number>; declare const filterGridStateSelector: (state: GridState) => GridFilterModel; declare const activeGridFilterItemsSelector: reselect.OutputSelector GridFilterItem[]>; declare const filterGridItemsCounterSelector: reselect.OutputSelector number>; declare type FilterColumnLookup = Record; declare const filterGridColumnLookupSelector: reselect.OutputSelector FilterColumnLookup>; declare const useGridFilter: (apiRef: GridApiRef, props: Pick) => void; declare const useGridFocus: (apiRef: GridApiRef, props: Pick) => void; declare const gridFocusStateSelector: (state: GridState) => GridFocusState; declare const gridFocusCellSelector: reselect.OutputSelector GridCellIdentifier | null>; declare const gridFocusColumnHeaderSelector: reselect.OutputSelector GridColumnIdentifier | null>; declare const gridTabIndexStateSelector: (state: GridState) => GridTabIndexState; declare const gridTabIndexCellSelector: reselect.OutputSelector GridCellIdentifier | null>; declare const gridTabIndexColumnHeaderSelector: reselect.OutputSelector GridColumnIdentifier | null>; declare const useGridKeyboard: (apiRef: GridApiRef) => void; declare const useGridKeyboardNavigation: (apiRef: GridApiRef, props: Pick) => void; declare const gridPaginationSelector: (state: GridState) => GridPaginationState; declare const gridPaginatedVisibleSortedGridRowIdsSelector: reselect.OutputSelector GridRowId[]>; declare const useGridPage: (apiRef: GridApiRef, props: Pick) => void; declare const useGridPageSize: (apiRef: GridApiRef, props: Pick) => void; declare const gridPreferencePanelStateSelector: (state: GridState) => GridPreferencePanelState; declare const gridViewportSizeStateSelector: (state: GridState) => ElementSize; declare const useGridPreferencesPanel: (apiRef: GridApiRef) => void; declare type GridRowsLookup = Record; declare const gridRowsStateSelector: (state: GridState) => InternalGridRowsState; declare const gridRowCountSelector: reselect.OutputSelector number>; declare const gridRowsLookupSelector: reselect.OutputSelector, (res: InternalGridRowsState) => Record>; declare const unorderedGridRowIdsSelector: reselect.OutputSelector GridRowId[]>; declare const unorderedGridRowModelsSelector: reselect.OutputSelector GridRowData[]>; declare function useGridParamsApi(apiRef: GridApiRef): void; declare function convertGridRowsPropToState(rows: GridRowsProp, totalRowCount?: number, rowIdGetter?: GridRowIdGetter): InternalGridRowsState; declare const useGridRows: (apiRef: GridApiRef, props: Pick) => void; declare const gridEditRowsStateSelector: (state: GridState) => GridEditRowsModel; declare function useGridEditRows(apiRef: GridApiRef, props: Pick): void; declare const gridSelectionStateSelector: (state: GridState) => GridSelectionModel; declare const selectedGridRowsCountSelector: reselect.OutputSelector number>; declare const selectedGridRowsSelector: reselect.OutputSelector, (res1: GridSelectionModel, res2: Record) => Map>; declare const selectedIdsLookupSelector: reselect.OutputSelector {}>; declare const useGridSelection: (apiRef: GridApiRef, props: GridComponentProps) => void; declare const sortedGridRowIdsSelector: reselect.OutputSelector GridRowId[]>; declare const sortedGridRowsSelector: reselect.OutputSelector, (res1: GridRowId[], res2: Record) => Map>; declare const gridSortModelSelector: reselect.OutputSelector GridSortModel>; declare type GridSortColumnLookup = Record; declare const gridSortColumnLookupSelector: reselect.OutputSelector GridSortColumnLookup>; declare const useGridSorting: (apiRef: GridApiRef, props: Pick) => void; declare const useGridVirtualRows: (apiRef: GridApiRef) => void; declare function useGridApiRef(): GridApiRef; declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef; declare const gridColumnResizeSelector: (state: GridState) => GridColumnResizeState; declare const gridResizingColumnFieldSelector: reselect.OutputSelector string>; declare const useGridColumnResize: (apiRef: GridApiRef, props: Pick) => void; declare const DEFAULT_GRID_SLOTS_COMPONENTS: GridApiRefComponentsProperty; declare const useGridComponents: (apiRef: GridApiRef, props: Pick) => void; declare const useGridSlotComponentProps: () => GridSlotComponentProps; declare function useApi(apiRef: GridApiRef, props: Pick): void; /** * Callback details. */ interface MuiCallbackDetails { api?: GridApi; } /** * Signature enum. */ declare enum Signature { DataGrid = "DataGrid", XGrid = "XGrid" } declare function useGridApiEventHandler(apiRef: GridApiRef, eventName: string, handler?: (...args: any) => void, options?: { isFirst?: boolean; }): void; declare function useGridApiOptionHandler(apiRef: GridApiRef, eventName: string, handler?: (...args: any) => void): void; declare function useGridApiMethod>(apiRef: GridApiRef, apiMethods: T, apiName: string): void; declare const useGridContainerProps: (apiRef: GridApiRef) => void; declare const useNativeEventListener: (apiRef: GridApiRef, ref: React$1.MutableRefObject | (() => Element | undefined | null), eventName: string, handler?: ((event: E) => any) | undefined, options?: AddEventListenerOptions | undefined) => void; declare function useLoggerFactory(apiRef: any, props: Pick): void; declare function useLogger(name: string): Logger; declare function useGridScrollFn(renderingZoneElementRef: React$1.RefObject, columnHeadersElementRef: React$1.RefObject): [GridScrollFn]; interface LocalizationV4 { props: { MuiDataGrid: Pick; }; } interface LocalizationV5 { components: { MuiDataGrid: { defaultProps: Pick; }; }; } declare type Localization = LocalizationV4 | LocalizationV5; declare const arSD: Localization; declare const bgBG: Localization; declare const csCZ: Localization; declare const deDE: Localization; declare const elGR: Localization; declare const enUS: Localization; declare const esES: Localization; declare const frFR: Localization; declare const itIT: Localization; declare const jaJP: Localization; declare const nlNL: Localization; declare const plPLGrid: Partial; declare const plPL: Localization; declare const ptBR: Localization; declare const ruRUGrid: Partial; declare const ruRU: Localization; declare const skSKGrid: Partial; declare const skSK: Localization; declare const trTR: Localization; declare const ukUAGrid: Partial; declare const ukUA: Localization; declare const DataGrid: React$1.MemoExoticComponent & { pagination?: true | undefined; } & React$1.RefAttributes>>; declare const MAX_PAGE_SIZE = 100; /** * The grid component react props interface. */ declare type DataGridProps = Omit & { pagination?: true; }; declare const DATA_GRID_PROPTYPES: any; declare const useDataGridComponent: (apiRef: GridApiRef, props: GridComponentProps) => void; export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DATA_GRID_PROPTYPES, DEFAULT_GRID_COL_TYPE_KEY, DEFAULT_GRID_OPTIONS, DEFAULT_GRID_PROPS_FROM_OPTIONS, DEFAULT_GRID_SLOTS_COMPONENTS, DataGrid, DataGridProps, ElementSize, FilterColumnLookup, 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, GridAddIcon, GridAlignment, GridApi, GridApiContext, GridApiRef, GridApiRefComponentsProperty, GridArrowDownwardIcon, GridArrowUpwardIcon, GridAutoSizer, GridBody, GridCell, GridCellCheckboxForwardRef, GridCellCheckboxRenderer, GridCellClassFn, GridCellClassNamePropType, GridCellEditCommitParams, GridCellIdentifier, GridCellIndexCoordinates, GridCellMode, GridCellParams, GridCellProps, GridCellValue, GridCheckCircleIcon, GridCheckIcon, 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, GridColumns, GridColumnsContainer, GridColumnsHeader, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridComponentProps, GridComponentsApi, GridContainerProps, GridControlStateApi, GridCoreApi, GridCsvExportApi, GridDataContainer, GridDensity, GridDensityApi, GridDensityOption, GridDensityTypes, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEmptyCell, GridEmptyCellProps, 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, GridInputSelectionModel, GridLinkOperator, GridLoadIcon, GridLoadingOverlay, GridLocaleText, GridLocaleTextApi, GridMenu, GridMenuIcon, GridMenuProps, GridNativeColTypes, GridNoRowsOverlay, GridOptions, GridOptionsProp, GridOverlay, GridOverlayProps, GridOverlays, GridPageApi, GridPageSizeApi, GridPagination, GridPanel, GridPanelClasses, GridPanelContent, GridPanelFooter, GridPanelHeader, GridPanelProps, GridPanelWrapper, GridParamsApi, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridRenderColumnsProps, GridRenderContextProps, GridRenderPaginationProps, GridRenderRowProps, GridRenderingZone, GridResizeParams, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCells, GridRowCount, GridRowData, GridRowId, GridRowIdGetter, GridRowModel, GridRowModelUpdate, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowsLookup, GridRowsProp, GridSaveAltIcon, 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, GridViewportSizeState, GridVirtualizationApi, GridWindow, GridWindowProps, HideGridColMenuItem, InternalGridRowsState, InternalRenderingState, Logger, MAX_PAGE_SIZE, MuiCallbackDetails, MuiEvent, SUBMIT_FILTER_STROKE_TIME, Signature, SortGridMenuItems, VisibleGridRowsState, activeGridFilterItemsSelector, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, convertGridRowsPropToState, csCZ, deDE, elGR, enUS, esES, filterGridColumnLookupSelector, filterGridItemsCounterSelector, filterGridStateSelector, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridStringOperators, getInitialGridColumnReorderState, getInitialGridColumnResizeState, getInitialGridColumnsState, getInitialGridFilterState, getInitialGridRenderingState, getInitialGridRowState, getInitialGridSortingState, getInitialGridState, getInitialVisibleGridRowsState, gridCheckboxSelectionColDef, gridColumnLookupSelector, gridColumnMenuStateSelector, 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, nlNL, plPL, plPLGrid, ptBR, renderEditInputCell, renderEditSingleSelectCell, ruRU, ruRUGrid, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, skSKGrid, sortedGridRowIdsSelector, sortedGridRowsSelector, trTR, ukUA, ukUAGrid, unorderedGridRowIdsSelector, unorderedGridRowModelsSelector, useApi, useDataGridComponent, useGridApi, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridColumnMenu, useGridColumnReorder, useGridColumnResize, useGridColumns, useGridComponents, useGridContainerProps, useGridControlState, useGridEditRows, useGridFilter, useGridFocus, useGridKeyboard, useGridKeyboardNavigation, useGridPage, useGridPageSize, useGridParamsApi, useGridPreferencesPanel, useGridReducer, useGridRows, useGridScrollFn, useGridSelection, useGridSelector, useGridSlotComponentProps, useGridSorting, useGridState, useGridVirtualRows, useLogger, useLoggerFactory, useNativeEventListener, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, visibleGridRowCountSelector, visibleGridRowsStateSelector, visibleSortedGridRowIdsSelector, visibleSortedGridRowsAsArraySelector, visibleSortedGridRowsSelector };