Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/272925e485f817cc79ba63c68a5bed3de035000511b5200921b824d85b208ff3.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
71 KiB
JSON

{"ast":null,"code":"import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@mui/utils';\nimport { GridBody, GridErrorHandler, GridFooterPlaceholder, GridHeaderPlaceholder, GridRoot } from '../components';\nimport { GridContextProvider } from '../context/GridContextProvider';\nimport { useDataGridComponent } from './useDataGridComponent';\nimport { useDataGridProps, MAX_PAGE_SIZE } from './useDataGridProps';\nimport { DataGridVirtualScroller } from '../components/DataGridVirtualScroller';\nimport { DataGridColumnHeaders } from '../components/DataGridColumnHeaders';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst DataGridRaw = /*#__PURE__*/React.forwardRef(function DataGrid(inProps, ref) {\n const props = useDataGridProps(inProps);\n const apiRef = useDataGridComponent(props);\n return /*#__PURE__*/_jsx(GridContextProvider, {\n apiRef: apiRef,\n props: props,\n children: /*#__PURE__*/_jsx(GridRoot, {\n className: props.className,\n style: props.style,\n sx: props.sx,\n ref: ref,\n children: /*#__PURE__*/_jsxs(GridErrorHandler, {\n children: [/*#__PURE__*/_jsx(GridHeaderPlaceholder, {}), /*#__PURE__*/_jsx(GridBody, {\n ColumnHeadersComponent: DataGridColumnHeaders,\n VirtualScrollerComponent: DataGridVirtualScroller\n }), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]\n })\n })\n });\n});\nexport const DataGrid = /*#__PURE__*/React.memo(DataGridRaw);\nDataGridRaw.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The label of the grid.\n */\n 'aria-label': PropTypes.string,\n /**\n * The id of the element containing a label for the grid.\n */\n 'aria-labelledby': PropTypes.string,\n /**\n * If `true`, the grid height is dynamic and follow the number of rows in the grid.\n * @default false\n */\n autoHeight: PropTypes.bool,\n /**\n * If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar.\n * @default false\n */\n autoPageSize: PropTypes.bool,\n /**\n * Controls the modes of the cells.\n */\n cellModesModel: PropTypes.object,\n /**\n * If `true`, the grid get a first column with a checkbox that allows to select rows.\n * @default false\n */\n checkboxSelection: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * Number of extra columns to be rendered before/after the visible slice.\n * @default 3\n */\n columnBuffer: PropTypes.number,\n columnGroupingModel: PropTypes.arrayOf(PropTypes.object),\n /**\n * Set of columns of type [[GridColumns]].\n */\n columns: chainPropTypes(PropTypes.array.isRequired, props => {\n // @ts-ignore because otherwise `build:api` doesn't work\n if (props.columns && props.columns.some(column => column.resizable)) {\n return new Error([`MUI: \\`column.resizable = true\\` is not a valid prop.`, 'Column resizing is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\\n'));\n }\n return null;\n }),\n /**\n * Number of rows from the `columnBuffer` that can be visible before a new slice is rendered.\n * @default 3\n */\n columnThreshold: PropTypes.number,\n /**\n * Extend native column types with your new column types.\n */\n columnTypes: PropTypes.object,\n /**\n * Set the column visibility model of the grid.\n * If defined, the grid will ignore the `hide` property in [[GridColDef]].\n */\n columnVisibilityModel: PropTypes.object,\n /**\n * Overrideable components.\n */\n components: PropTypes.object,\n /**\n * Overrideable components props dynamically passed to the component at rendering.\n */\n componentsProps: PropTypes.object,\n /**\n * Set the density of the grid.\n * @default \"standard\"\n */\n density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),\n /**\n * If `true`, column filters are disabled.\n * @default false\n */\n disableColumnFilter: PropTypes.bool,\n /**\n * If `true`, the column menu is disabled.\n * @default false\n */\n disableColumnMenu: PropTypes.bool,\n /**\n * If `true`, hiding/showing columns is disabled.\n * @default false\n */\n disableColumnSelector: PropTypes.bool,\n /**\n * If `true`, the density selector is disabled.\n * @default false\n */\n disableDensitySelector: PropTypes.bool,\n /**\n * If `true`, rows will not be extended to fill the full width of the grid container.\n * @default false\n */\n disableExtendRowFullWidth: PropTypes.bool,\n /**\n * If `true`, modification to a cell will not be discarded if the mode is changed from \"edit\" to \"view\" while processing props.\n * @default false\n */\n disableIgnoreModificationsIfProcessingProps: PropTypes.bool,\n /**\n * If `true`, the selection on click on a row or cell is disabled.\n * @default false\n */\n disableSelectionOnClick: PropTypes.bool,\n /**\n * If `true`, the virtualization is disabled.\n * @default false\n */\n disableVirtualization: PropTypes.bool,\n /**\n * Controls whether to use the cell or row editing.\n * @default \"cell\"\n */\n editMode: PropTypes.oneOf(['cell', 'row']),\n /**\n * Set the edit rows model of the grid.\n */\n editRowsModel: PropTypes.object,\n /**\n * An error that will turn the grid into its error state and display the error component.\n */\n error: PropTypes.any,\n /**\n * Features under development.\n * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.\n */\n experimentalFeatures: PropTypes.shape({\n columnGrouping: PropTypes.bool,\n newEditingApi: PropTypes.bool,\n preventCommitWhileValidating: PropTypes.bool,\n warnIfFocusStateIsNotSynced: PropTypes.bool\n }),\n /**\n * Filtering can be processed on the server or client-side.\n * Set it to 'server' if you would like to handle filtering on the server-side.\n * @default \"client\"\n */\n filterMode: PropTypes.oneOf(['client', 'server']),\n /**\n * Set the filter model of the grid.\n */\n filterModel: PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape({\n columnField: PropTypes.string.isRequired,\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n operatorValue: PropTypes.string,\n value: PropTypes.any\n })).isRequired,\n linkOperator: PropTypes.oneOf(['and', 'or']),\n quickFilterLogicOperator: PropTypes.oneOf(['and', 'or']),\n quickFilterValues: PropTypes.array\n }),\n /**\n * Function that applies CSS classes dynamically on cells.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @returns {string} The CSS class to apply to the cell.\n */\n getCellClassName: PropTypes.func,\n /**\n * Function that returns the element to render in row detail.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @returns {JSX.Element} The row detail element.\n */\n getDetailPanelContent: PropTypes.func,\n /**\n * Function that returns the estimated height for a row.\n * Only works if dynamic row height is used.\n * Once the row height is measured this value is discarded.\n * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].\n * @returns {number | null} The estimated row height value. If `null` or `undefined` then the default row height, based on the density, is applied.\n */\n getEstimatedRowHeight: PropTypes.func,\n /**\n * Function that applies CSS classes dynamically on rows.\n * @param {GridRowClassNameParams} params With all properties from [[GridRowClassNameParams]].\n * @returns {string} The CSS class to apply to the row.\n */\n getRowClassName: PropTypes.func,\n /**\n * Function that sets the row height per row.\n * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].\n * @returns {GridRowHeightReturnValue} The row height value. If `null` or `undefined` then the default row height is applied. If \"auto\" then the row height is calculated based on the content.\n */\n getRowHeight: PropTypes.func,\n /**\n * Return the id of a given [[GridRowModel]].\n */\n getRowId: PropTypes.func,\n /**\n * Function that allows to specify the spacing between rows.\n * @param {GridRowSpacingParams} params With all properties from [[GridRowSpacingParams]].\n * @returns {GridRowSpacing} The row spacing values.\n */\n getRowSpacing: PropTypes.func,\n /**\n * Set the height in pixel of the column headers in the grid.\n * @default 56\n */\n headerHeight: PropTypes.number,\n /**\n * If `true`, the footer component is hidden.\n * @default false\n */\n hideFooter: PropTypes.bool,\n /**\n * If `true`, the pagination component in the footer is hidden.\n * @default false\n */\n hideFooterPagination: PropTypes.bool,\n /**\n * If `true`, the selected row count in the footer is hidden.\n * @default false\n */\n hideFooterSelectedRowCount: PropTypes.bool,\n /**\n * The initial state of the DataGrid.\n * The data in it will be set in the state on initialization but will not be controlled.\n * If one of the data in `initialState` is also being controlled, then the control state wins.\n */\n initialState: PropTypes.object,\n /**\n * Callback fired when a cell is rendered, returns true if the cell is editable.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @returns {boolean} A boolean indicating if the cell is editable.\n */\n isCellEditable: PropTypes.func,\n /**\n * Determines if a row can be selected.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @returns {boolean} A boolean indicating if the cell is selectable.\n */\n isRowSelectable: PropTypes.func,\n /**\n * If `true`, the selection model will retain selected rows that do not exist.\n * Useful when using server side pagination and row selections need to be retained\n * when changing pages.\n * @default false\n */\n keepNonExistentRowsSelected: PropTypes.bool,\n /**\n * If `true`, a loading overlay is displayed.\n */\n loading: PropTypes.bool,\n /**\n * Set the locale text of the grid.\n * You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.\n */\n localeText: PropTypes.object,\n /**\n * Pass a custom logger in the components that implements the [[Logger]] interface.\n * @default console\n */\n logger: PropTypes.shape({\n debug: PropTypes.func.isRequired,\n error: PropTypes.func.isRequired,\n info: PropTypes.func.isRequired,\n warn: PropTypes.func.isRequired\n }),\n /**\n * Allows to pass the logging level or false to turn off logging.\n * @default \"error\" (\"warn\" in dev mode)\n */\n logLevel: PropTypes.oneOf(['debug', 'error', 'info', 'warn', false]),\n /**\n * Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).\n */\n nonce: PropTypes.string,\n /**\n * Callback fired when any cell is clicked.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellClick: PropTypes.func,\n /**\n * Callback fired when a double click event comes from a cell element.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellDoubleClick: PropTypes.func,\n /**\n * Callback fired when the cell changes are committed.\n * @param {GridCellEditCommitParams} params With all properties from [[GridCellEditCommitParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellEditCommit: PropTypes.func,\n /**\n * Callback fired when the cell turns to edit mode.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.\n */\n onCellEditStart: PropTypes.func,\n /**\n * Callback fired when the cell turns to view mode.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onCellEditStop: PropTypes.func,\n /**\n * Callback fired when a cell loses focus.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellFocusOut: PropTypes.func,\n /**\n * Callback fired when a keydown event comes from a cell element.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.KeyboardEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellKeyDown: PropTypes.func,\n /**\n * Callback fired when the `cellModesModel` prop changes.\n * @param {GridCellModesModel} cellModesModel Object containig which cells are in \"edit\" mode.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellModesModelChange: PropTypes.func,\n /**\n * Callback fired when a click event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderClick: PropTypes.func,\n /**\n * Callback fired when a double click event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderDoubleClick: PropTypes.func,\n /**\n * Callback fired when a mouse enter event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderEnter: PropTypes.func,\n /**\n * Callback fired when a mouse leave event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderLeave: PropTypes.func,\n /**\n * Callback fired when a mouseout event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderOut: PropTypes.func,\n /**\n * Callback fired when a mouseover event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderOver: PropTypes.func,\n /**\n * Callback fired when a column is reordered.\n * @param {GridColumnOrderChangeParams} params With all properties from [[GridColumnOrderChangeParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnOrderChange: PropTypes.func,\n /**\n * Callback fired when a column visibility changes.\n * Only works when no `columnVisibilityModel` is provided and if we change the visibility of a single column at a time.\n * @param {GridColumnVisibilityChangeParams} params With all properties from [[GridColumnVisibilityChangeParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @deprecated Use `onColumnVisibilityModelChange` instead.\n */\n onColumnVisibilityChange: PropTypes.func,\n /**\n * Callback fired when the column visibility model changes.\n * @param {GridColumnVisibilityModel} model The new model.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnVisibilityModelChange: PropTypes.func,\n /**\n * Callback fired when the edit cell value changes.\n * @param {GridEditCellPropsParams} params With all properties from [[GridEditCellPropsParams]].\n * @param {MuiEvent<React.SyntheticEvent>} event The event that caused this prop to be called.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @deprecated use `preProcessEditCellProps` from the [`GridColDef`](/x/api/data-grid/grid-col-def/)\n */\n onEditCellPropsChange: PropTypes.func,\n /**\n * Callback fired when the `editRowsModel` changes.\n * @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onEditRowsModelChange: PropTypes.func,\n /**\n * Callback fired when an exception is thrown in the grid.\n * @param {any} args The arguments passed to the `showError` call.\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onError: PropTypes.func,\n /**\n * Callback fired when the Filter model changes before the filters are applied.\n * @param {GridFilterModel} model With all properties from [[GridFilterModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onFilterModelChange: PropTypes.func,\n /**\n * Callback fired when the menu is closed.\n * @param {GridMenuParams} params With all properties from [[GridMenuParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onMenuClose: PropTypes.func,\n /**\n * Callback fired when the menu is opened.\n * @param {GridMenuParams} params With all properties from [[GridMenuParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onMenuOpen: PropTypes.func,\n /**\n * Callback fired when the current page has changed.\n * @param {number} page Index of the page displayed on the Grid.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPageChange: PropTypes.func,\n /**\n * Callback fired when the page size has changed.\n * @param {number} pageSize Size of the page displayed on the Grid.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPageSizeChange: PropTypes.func,\n /**\n * Callback fired when the preferences panel is closed.\n * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPreferencePanelClose: PropTypes.func,\n /**\n * Callback fired when the preferences panel is opened.\n * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPreferencePanelOpen: PropTypes.func,\n /**\n * Callback called when `processRowUpdate` throws an error or rejects.\n * @param {any} error The error thrown.\n */\n onProcessRowUpdateError: PropTypes.func,\n /**\n * Callback fired when the grid is resized.\n * @param {ElementSize} containerSize With all properties from [[ElementSize]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onResize: PropTypes.func,\n /**\n * Callback fired when a row is clicked.\n * Not called if the target clicked is an interactive element added by the built-in columns.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowClick: PropTypes.func,\n /**\n * Callback fired when a double click event comes from a row container element.\n * @param {GridRowParams} params With all properties from [[RowParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowDoubleClick: PropTypes.func,\n /**\n * Callback fired when the row changes are committed.\n * @param {GridRowId} id The row id.\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onRowEditCommit: PropTypes.func,\n /**\n * Callback fired when the row turns to edit mode.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.\n */\n onRowEditStart: PropTypes.func,\n /**\n * Callback fired when the row turns to view mode.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onRowEditStop: PropTypes.func,\n /**\n * Callback fired when the `rowModesModel` prop changes.\n * @param {GridRowModesModel} rowModesModel Object containig which rows are in \"edit\" mode.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowModesModelChange: PropTypes.func,\n /**\n * Callback fired when the selection state of one or multiple rows changes.\n * @param {GridSelectionModel} selectionModel With all the row ids [[GridSelectionModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onSelectionModelChange: PropTypes.func,\n /**\n * Callback fired when the sort model changes before a column is sorted.\n * @param {GridSortModel} model With all properties from [[GridSortModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onSortModelChange: PropTypes.func,\n /**\n * Callback fired when the state of the grid is updated.\n * @param {GridState} state The new state.\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @ignore - do not document.\n */\n onStateChange: PropTypes.func,\n /**\n * The zero-based index of the current page.\n * @default 0\n */\n page: PropTypes.number,\n /**\n * Set the number of rows in one page.\n * If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows wanted on each page.\n * @default 100\n */\n pageSize: chainPropTypes(PropTypes.number, props => {\n if (props.pageSize && props.pageSize > MAX_PAGE_SIZE) {\n return new Error([`MUI: \\`<DataGrid pageSize={${props.pageSize}} />\\` is not a valid prop.`, `Only page size below ${MAX_PAGE_SIZE} is available in the MIT version.`, '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\\n'));\n }\n return null;\n }),\n pagination: props => {\n if (props.pagination === false) {\n return new Error(['MUI: `<DataGrid pagination={false} />` is not a valid prop.', 'Infinite scrolling is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination.'].join('\\n'));\n }\n return null;\n },\n /**\n * Pagination can be processed on the server or client-side.\n * Set it to 'client' if you would like to handle the pagination on the client-side.\n * Set it to 'server' if you would like to handle the pagination on the server-side.\n * @default \"client\"\n */\n paginationMode: PropTypes.oneOf(['client', 'server']),\n /**\n * Callback called before updating a row with new values in the row and cell editing.\n * Only applied if `props.experimentalFeatures.newEditingApi: true`.\n * @template R\n * @param {R} newRow Row object with the new values.\n * @param {R} oldRow Row object with the old values.\n * @returns {Promise<R> | R} The final values to update the row.\n */\n processRowUpdate: PropTypes.func,\n /**\n * Number of extra rows to be rendered before/after the visible slice.\n * @default 3\n */\n rowBuffer: PropTypes.number,\n /**\n * Set the total number of rows, if it is different from the length of the value `rows` prop.\n * If some rows have children (for instance in the tree data), this number represents the amount of top level rows.\n */\n rowCount: PropTypes.number,\n /**\n * Set the height in pixel of a row in the grid.\n * @default 52\n */\n rowHeight: PropTypes.number,\n /**\n * Controls the modes of the rows.\n */\n rowModesModel: PropTypes.object,\n /**\n * Set of rows of type [[GridRowsProp]].\n */\n rows: PropTypes.arrayOf(PropTypes.object).isRequired,\n /**\n * Sets the type of space between rows added by `getRowSpacing`.\n * @default \"margin\"\n */\n rowSpacingType: PropTypes.oneOf(['border', 'margin']),\n /**\n * Select the pageSize dynamically using the component UI.\n * @default [25, 50, 100]\n */\n rowsPerPageOptions: PropTypes.arrayOf(PropTypes.number),\n /**\n * Number of rows from the `rowBuffer` that can be visible before a new slice is rendered.\n * @default 3\n */\n rowThreshold: PropTypes.number,\n /**\n * Override the height/width of the grid inner scrollbar.\n */\n scrollbarSize: PropTypes.number,\n /**\n * Set the selection model of the grid.\n */\n selectionModel: chainPropTypes(PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.array]), props => {\n if (!props.checkboxSelection && Array.isArray(props.selectionModel) && props.selectionModel.length > 1) {\n return new Error([`MUI: \\`<DataGrid selectionModel={${JSON.stringify(props.selectionModel)}} />\\` is not a valid prop.`, 'selectionModel can only be of 1 item in DataGrid.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock multiple selection.'].join('\\n'));\n }\n return null;\n }),\n /**\n * If `true`, the right border of the cells are displayed.\n * @default false\n */\n showCellRightBorder: PropTypes.bool,\n /**\n * If `true`, the right border of the column headers are displayed.\n * @default false\n */\n showColumnRightBorder: PropTypes.bool,\n /**\n * Sorting can be processed on the server or client-side.\n * Set it to 'client' if you would like to handle sorting on the client-side.\n * Set it to 'server' if you would like to handle sorting on the server-side.\n * @default \"client\"\n */\n sortingMode: PropTypes.oneOf(['client', 'server']),\n /**\n * The order of the sorting sequence.\n * @default ['asc', 'desc', null]\n */\n sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),\n /**\n * Set the sort model of the grid.\n */\n sortModel: PropTypes.arrayOf(PropTypes.shape({\n field: PropTypes.string.isRequired,\n sort: PropTypes.oneOf(['asc', 'desc'])\n })),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n};","map":{"version":3,"names":["React","PropTypes","chainPropTypes","GridBody","GridErrorHandler","GridFooterPlaceholder","GridHeaderPlaceholder","GridRoot","GridContextProvider","useDataGridComponent","useDataGridProps","MAX_PAGE_SIZE","DataGridVirtualScroller","DataGridColumnHeaders","jsx","_jsx","jsxs","_jsxs","DataGridRaw","forwardRef","DataGrid","inProps","ref","props","apiRef","children","className","style","sx","ColumnHeadersComponent","VirtualScrollerComponent","memo","propTypes","string","autoHeight","bool","autoPageSize","cellModesModel","object","checkboxSelection","classes","columnBuffer","number","columnGroupingModel","arrayOf","columns","array","isRequired","some","column","resizable","Error","join","columnThreshold","columnTypes","columnVisibilityModel","components","componentsProps","density","oneOf","disableColumnFilter","disableColumnMenu","disableColumnSelector","disableDensitySelector","disableExtendRowFullWidth","disableIgnoreModificationsIfProcessingProps","disableSelectionOnClick","disableVirtualization","editMode","editRowsModel","error","any","experimentalFeatures","shape","columnGrouping","newEditingApi","preventCommitWhileValidating","warnIfFocusStateIsNotSynced","filterMode","filterModel","items","columnField","id","oneOfType","operatorValue","value","linkOperator","quickFilterLogicOperator","quickFilterValues","getCellClassName","func","getDetailPanelContent","getEstimatedRowHeight","getRowClassName","getRowHeight","getRowId","getRowSpacing","headerHeight","hideFooter","hideFooterPagination","hideFooterSelectedRowCount","initialState","isCellEditable","isRowSelectable","keepNonExistentRowsSelected","loading","localeText","logger","debug","info","warn","logLevel","nonce","onCellClick","onCellDoubleClick","onCellEditCommit","onCellEditStart","onCellEditStop","onCellFocusOut","onCellKeyDown","onCellModesModelChange","onColumnHeaderClick","onColumnHeaderDoubleClick","onColumnHeaderEnter","onColumnHeaderLeave","onColumnHeaderOut","onColumnHeaderOver","onColumnOrderChange","onColumnVisibilityChange","onColumnVisibilityModelChange","onEditCellPropsChange","onEditRowsModelChange","onError","onFilterModelChange","onMenuClose","onMenuOpen","onPageChange","onPageSizeChange","onPreferencePanelClose","onPreferencePanelOpen","onProcessRowUpdateError","onResize","onRowClick","onRowDoubleClick","onRowEditCommit","onRowEditStart","onRowEditStop","onRowModesModelChange","onSelectionModelChange","onSortModelChange","onStateChange","page","pageSize","pagination","paginationMode","processRowUpdate","rowBuffer","rowCount","rowHeight","rowModesModel","rows","rowSpacingType","rowsPerPageOptions","rowThreshold","scrollbarSize","selectionModel","Array","isArray","length","JSON","stringify","showCellRightBorder","showColumnRightBorder","sortingMode","sortingOrder","sortModel","field","sort"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/x-data-grid/DataGrid/DataGrid.js"],"sourcesContent":["import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@mui/utils';\nimport { GridBody, GridErrorHandler, GridFooterPlaceholder, GridHeaderPlaceholder, GridRoot } from '../components';\nimport { GridContextProvider } from '../context/GridContextProvider';\nimport { useDataGridComponent } from './useDataGridComponent';\nimport { useDataGridProps, MAX_PAGE_SIZE } from './useDataGridProps';\nimport { DataGridVirtualScroller } from '../components/DataGridVirtualScroller';\nimport { DataGridColumnHeaders } from '../components/DataGridColumnHeaders';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst DataGridRaw = /*#__PURE__*/React.forwardRef(function DataGrid(inProps, ref) {\n const props = useDataGridProps(inProps);\n const apiRef = useDataGridComponent(props);\n return /*#__PURE__*/_jsx(GridContextProvider, {\n apiRef: apiRef,\n props: props,\n children: /*#__PURE__*/_jsx(GridRoot, {\n className: props.className,\n style: props.style,\n sx: props.sx,\n ref: ref,\n children: /*#__PURE__*/_jsxs(GridErrorHandler, {\n children: [/*#__PURE__*/_jsx(GridHeaderPlaceholder, {}), /*#__PURE__*/_jsx(GridBody, {\n ColumnHeadersComponent: DataGridColumnHeaders,\n VirtualScrollerComponent: DataGridVirtualScroller\n }), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]\n })\n })\n });\n});\nexport const DataGrid = /*#__PURE__*/React.memo(DataGridRaw);\nDataGridRaw.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the TypeScript types and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The label of the grid.\n */\n 'aria-label': PropTypes.string,\n\n /**\n * The id of the element containing a label for the grid.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * If `true`, the grid height is dynamic and follow the number of rows in the grid.\n * @default false\n */\n autoHeight: PropTypes.bool,\n\n /**\n * If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar.\n * @default false\n */\n autoPageSize: PropTypes.bool,\n\n /**\n * Controls the modes of the cells.\n */\n cellModesModel: PropTypes.object,\n\n /**\n * If `true`, the grid get a first column with a checkbox that allows to select rows.\n * @default false\n */\n checkboxSelection: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * Number of extra columns to be rendered before/after the visible slice.\n * @default 3\n */\n columnBuffer: PropTypes.number,\n columnGroupingModel: PropTypes.arrayOf(PropTypes.object),\n\n /**\n * Set of columns of type [[GridColumns]].\n */\n columns: chainPropTypes(PropTypes.array.isRequired, props => {\n // @ts-ignore because otherwise `build:api` doesn't work\n if (props.columns && props.columns.some(column => column.resizable)) {\n return new Error([`MUI: \\`column.resizable = true\\` is not a valid prop.`, 'Column resizing is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\\n'));\n }\n\n return null;\n }),\n\n /**\n * Number of rows from the `columnBuffer` that can be visible before a new slice is rendered.\n * @default 3\n */\n columnThreshold: PropTypes.number,\n\n /**\n * Extend native column types with your new column types.\n */\n columnTypes: PropTypes.object,\n\n /**\n * Set the column visibility model of the grid.\n * If defined, the grid will ignore the `hide` property in [[GridColDef]].\n */\n columnVisibilityModel: PropTypes.object,\n\n /**\n * Overrideable components.\n */\n components: PropTypes.object,\n\n /**\n * Overrideable components props dynamically passed to the component at rendering.\n */\n componentsProps: PropTypes.object,\n\n /**\n * Set the density of the grid.\n * @default \"standard\"\n */\n density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),\n\n /**\n * If `true`, column filters are disabled.\n * @default false\n */\n disableColumnFilter: PropTypes.bool,\n\n /**\n * If `true`, the column menu is disabled.\n * @default false\n */\n disableColumnMenu: PropTypes.bool,\n\n /**\n * If `true`, hiding/showing columns is disabled.\n * @default false\n */\n disableColumnSelector: PropTypes.bool,\n\n /**\n * If `true`, the density selector is disabled.\n * @default false\n */\n disableDensitySelector: PropTypes.bool,\n\n /**\n * If `true`, rows will not be extended to fill the full width of the grid container.\n * @default false\n */\n disableExtendRowFullWidth: PropTypes.bool,\n\n /**\n * If `true`, modification to a cell will not be discarded if the mode is changed from \"edit\" to \"view\" while processing props.\n * @default false\n */\n disableIgnoreModificationsIfProcessingProps: PropTypes.bool,\n\n /**\n * If `true`, the selection on click on a row or cell is disabled.\n * @default false\n */\n disableSelectionOnClick: PropTypes.bool,\n\n /**\n * If `true`, the virtualization is disabled.\n * @default false\n */\n disableVirtualization: PropTypes.bool,\n\n /**\n * Controls whether to use the cell or row editing.\n * @default \"cell\"\n */\n editMode: PropTypes.oneOf(['cell', 'row']),\n\n /**\n * Set the edit rows model of the grid.\n */\n editRowsModel: PropTypes.object,\n\n /**\n * An error that will turn the grid into its error state and display the error component.\n */\n error: PropTypes.any,\n\n /**\n * Features under development.\n * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.\n */\n experimentalFeatures: PropTypes.shape({\n columnGrouping: PropTypes.bool,\n newEditingApi: PropTypes.bool,\n preventCommitWhileValidating: PropTypes.bool,\n warnIfFocusStateIsNotSynced: PropTypes.bool\n }),\n\n /**\n * Filtering can be processed on the server or client-side.\n * Set it to 'server' if you would like to handle filtering on the server-side.\n * @default \"client\"\n */\n filterMode: PropTypes.oneOf(['client', 'server']),\n\n /**\n * Set the filter model of the grid.\n */\n filterModel: PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape({\n columnField: PropTypes.string.isRequired,\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n operatorValue: PropTypes.string,\n value: PropTypes.any\n })).isRequired,\n linkOperator: PropTypes.oneOf(['and', 'or']),\n quickFilterLogicOperator: PropTypes.oneOf(['and', 'or']),\n quickFilterValues: PropTypes.array\n }),\n\n /**\n * Function that applies CSS classes dynamically on cells.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @returns {string} The CSS class to apply to the cell.\n */\n getCellClassName: PropTypes.func,\n\n /**\n * Function that returns the element to render in row detail.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @returns {JSX.Element} The row detail element.\n */\n getDetailPanelContent: PropTypes.func,\n\n /**\n * Function that returns the estimated height for a row.\n * Only works if dynamic row height is used.\n * Once the row height is measured this value is discarded.\n * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].\n * @returns {number | null} The estimated row height value. If `null` or `undefined` then the default row height, based on the density, is applied.\n */\n getEstimatedRowHeight: PropTypes.func,\n\n /**\n * Function that applies CSS classes dynamically on rows.\n * @param {GridRowClassNameParams} params With all properties from [[GridRowClassNameParams]].\n * @returns {string} The CSS class to apply to the row.\n */\n getRowClassName: PropTypes.func,\n\n /**\n * Function that sets the row height per row.\n * @param {GridRowHeightParams} params With all properties from [[GridRowHeightParams]].\n * @returns {GridRowHeightReturnValue} The row height value. If `null` or `undefined` then the default row height is applied. If \"auto\" then the row height is calculated based on the content.\n */\n getRowHeight: PropTypes.func,\n\n /**\n * Return the id of a given [[GridRowModel]].\n */\n getRowId: PropTypes.func,\n\n /**\n * Function that allows to specify the spacing between rows.\n * @param {GridRowSpacingParams} params With all properties from [[GridRowSpacingParams]].\n * @returns {GridRowSpacing} The row spacing values.\n */\n getRowSpacing: PropTypes.func,\n\n /**\n * Set the height in pixel of the column headers in the grid.\n * @default 56\n */\n headerHeight: PropTypes.number,\n\n /**\n * If `true`, the footer component is hidden.\n * @default false\n */\n hideFooter: PropTypes.bool,\n\n /**\n * If `true`, the pagination component in the footer is hidden.\n * @default false\n */\n hideFooterPagination: PropTypes.bool,\n\n /**\n * If `true`, the selected row count in the footer is hidden.\n * @default false\n */\n hideFooterSelectedRowCount: PropTypes.bool,\n\n /**\n * The initial state of the DataGrid.\n * The data in it will be set in the state on initialization but will not be controlled.\n * If one of the data in `initialState` is also being controlled, then the control state wins.\n */\n initialState: PropTypes.object,\n\n /**\n * Callback fired when a cell is rendered, returns true if the cell is editable.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @returns {boolean} A boolean indicating if the cell is editable.\n */\n isCellEditable: PropTypes.func,\n\n /**\n * Determines if a row can be selected.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @returns {boolean} A boolean indicating if the cell is selectable.\n */\n isRowSelectable: PropTypes.func,\n\n /**\n * If `true`, the selection model will retain selected rows that do not exist.\n * Useful when using server side pagination and row selections need to be retained\n * when changing pages.\n * @default false\n */\n keepNonExistentRowsSelected: PropTypes.bool,\n\n /**\n * If `true`, a loading overlay is displayed.\n */\n loading: PropTypes.bool,\n\n /**\n * Set the locale text of the grid.\n * You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.\n */\n localeText: PropTypes.object,\n\n /**\n * Pass a custom logger in the components that implements the [[Logger]] interface.\n * @default console\n */\n logger: PropTypes.shape({\n debug: PropTypes.func.isRequired,\n error: PropTypes.func.isRequired,\n info: PropTypes.func.isRequired,\n warn: PropTypes.func.isRequired\n }),\n\n /**\n * Allows to pass the logging level or false to turn off logging.\n * @default \"error\" (\"warn\" in dev mode)\n */\n logLevel: PropTypes.oneOf(['debug', 'error', 'info', 'warn', false]),\n\n /**\n * Nonce of the inline styles for [Content Security Policy](https://www.w3.org/TR/2016/REC-CSP2-20161215/#script-src-the-nonce-attribute).\n */\n nonce: PropTypes.string,\n\n /**\n * Callback fired when any cell is clicked.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellClick: PropTypes.func,\n\n /**\n * Callback fired when a double click event comes from a cell element.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellDoubleClick: PropTypes.func,\n\n /**\n * Callback fired when the cell changes are committed.\n * @param {GridCellEditCommitParams} params With all properties from [[GridCellEditCommitParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellEditCommit: PropTypes.func,\n\n /**\n * Callback fired when the cell turns to edit mode.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.\n */\n onCellEditStart: PropTypes.func,\n\n /**\n * Callback fired when the cell turns to view mode.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onCellEditStop: PropTypes.func,\n\n /**\n * Callback fired when a cell loses focus.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellFocusOut: PropTypes.func,\n\n /**\n * Callback fired when a keydown event comes from a cell element.\n * @param {GridCellParams} params With all properties from [[GridCellParams]].\n * @param {MuiEvent<React.KeyboardEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellKeyDown: PropTypes.func,\n\n /**\n * Callback fired when the `cellModesModel` prop changes.\n * @param {GridCellModesModel} cellModesModel Object containig which cells are in \"edit\" mode.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onCellModesModelChange: PropTypes.func,\n\n /**\n * Callback fired when a click event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderClick: PropTypes.func,\n\n /**\n * Callback fired when a double click event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderDoubleClick: PropTypes.func,\n\n /**\n * Callback fired when a mouse enter event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderEnter: PropTypes.func,\n\n /**\n * Callback fired when a mouse leave event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderLeave: PropTypes.func,\n\n /**\n * Callback fired when a mouseout event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderOut: PropTypes.func,\n\n /**\n * Callback fired when a mouseover event comes from a column header element.\n * @param {GridColumnHeaderParams} params With all properties from [[GridColumnHeaderParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnHeaderOver: PropTypes.func,\n\n /**\n * Callback fired when a column is reordered.\n * @param {GridColumnOrderChangeParams} params With all properties from [[GridColumnOrderChangeParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnOrderChange: PropTypes.func,\n\n /**\n * Callback fired when a column visibility changes.\n * Only works when no `columnVisibilityModel` is provided and if we change the visibility of a single column at a time.\n * @param {GridColumnVisibilityChangeParams} params With all properties from [[GridColumnVisibilityChangeParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @deprecated Use `onColumnVisibilityModelChange` instead.\n */\n onColumnVisibilityChange: PropTypes.func,\n\n /**\n * Callback fired when the column visibility model changes.\n * @param {GridColumnVisibilityModel} model The new model.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onColumnVisibilityModelChange: PropTypes.func,\n\n /**\n * Callback fired when the edit cell value changes.\n * @param {GridEditCellPropsParams} params With all properties from [[GridEditCellPropsParams]].\n * @param {MuiEvent<React.SyntheticEvent>} event The event that caused this prop to be called.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @deprecated use `preProcessEditCellProps` from the [`GridColDef`](/x/api/data-grid/grid-col-def/)\n */\n onEditCellPropsChange: PropTypes.func,\n\n /**\n * Callback fired when the `editRowsModel` changes.\n * @param {GridEditRowsModel} editRowsModel With all properties from [[GridEditRowsModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onEditRowsModelChange: PropTypes.func,\n\n /**\n * Callback fired when an exception is thrown in the grid.\n * @param {any} args The arguments passed to the `showError` call.\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onError: PropTypes.func,\n\n /**\n * Callback fired when the Filter model changes before the filters are applied.\n * @param {GridFilterModel} model With all properties from [[GridFilterModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onFilterModelChange: PropTypes.func,\n\n /**\n * Callback fired when the menu is closed.\n * @param {GridMenuParams} params With all properties from [[GridMenuParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onMenuClose: PropTypes.func,\n\n /**\n * Callback fired when the menu is opened.\n * @param {GridMenuParams} params With all properties from [[GridMenuParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onMenuOpen: PropTypes.func,\n\n /**\n * Callback fired when the current page has changed.\n * @param {number} page Index of the page displayed on the Grid.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPageChange: PropTypes.func,\n\n /**\n * Callback fired when the page size has changed.\n * @param {number} pageSize Size of the page displayed on the Grid.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPageSizeChange: PropTypes.func,\n\n /**\n * Callback fired when the preferences panel is closed.\n * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPreferencePanelClose: PropTypes.func,\n\n /**\n * Callback fired when the preferences panel is opened.\n * @param {GridPreferencePanelParams} params With all properties from [[GridPreferencePanelParams]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onPreferencePanelOpen: PropTypes.func,\n\n /**\n * Callback called when `processRowUpdate` throws an error or rejects.\n * @param {any} error The error thrown.\n */\n onProcessRowUpdateError: PropTypes.func,\n\n /**\n * Callback fired when the grid is resized.\n * @param {ElementSize} containerSize With all properties from [[ElementSize]].\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onResize: PropTypes.func,\n\n /**\n * Callback fired when a row is clicked.\n * Not called if the target clicked is an interactive element added by the built-in columns.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowClick: PropTypes.func,\n\n /**\n * Callback fired when a double click event comes from a row container element.\n * @param {GridRowParams} params With all properties from [[RowParams]].\n * @param {MuiEvent<React.MouseEvent>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowDoubleClick: PropTypes.func,\n\n /**\n * Callback fired when the row changes are committed.\n * @param {GridRowId} id The row id.\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onRowEditCommit: PropTypes.func,\n\n /**\n * Callback fired when the row turns to edit mode.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<React.KeyboardEvent | React.MouseEvent>} event The event that caused this prop to be called.\n */\n onRowEditStart: PropTypes.func,\n\n /**\n * Callback fired when the row turns to view mode.\n * @param {GridRowParams} params With all properties from [[GridRowParams]].\n * @param {MuiEvent<MuiBaseEvent>} event The event that caused this prop to be called.\n */\n onRowEditStop: PropTypes.func,\n\n /**\n * Callback fired when the `rowModesModel` prop changes.\n * @param {GridRowModesModel} rowModesModel Object containig which rows are in \"edit\" mode.\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onRowModesModelChange: PropTypes.func,\n\n /**\n * Callback fired when the selection state of one or multiple rows changes.\n * @param {GridSelectionModel} selectionModel With all the row ids [[GridSelectionModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onSelectionModelChange: PropTypes.func,\n\n /**\n * Callback fired when the sort model changes before a column is sorted.\n * @param {GridSortModel} model With all properties from [[GridSortModel]].\n * @param {GridCallbackDetails} details Additional details for this callback.\n */\n onSortModelChange: PropTypes.func,\n\n /**\n * Callback fired when the state of the grid is updated.\n * @param {GridState} state The new state.\n * @param {MuiEvent<{}>} event The event object.\n * @param {GridCallbackDetails} details Additional details for this callback.\n * @ignore - do not document.\n */\n onStateChange: PropTypes.func,\n\n /**\n * The zero-based index of the current page.\n * @default 0\n */\n page: PropTypes.number,\n\n /**\n * Set the number of rows in one page.\n * If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows wanted on each page.\n * @default 100\n */\n pageSize: chainPropTypes(PropTypes.number, props => {\n if (props.pageSize && props.pageSize > MAX_PAGE_SIZE) {\n return new Error([`MUI: \\`<DataGrid pageSize={${props.pageSize}} />\\` is not a valid prop.`, `Only page size below ${MAX_PAGE_SIZE} is available in the MIT version.`, '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature.'].join('\\n'));\n }\n\n return null;\n }),\n pagination: props => {\n if (props.pagination === false) {\n return new Error(['MUI: `<DataGrid pagination={false} />` is not a valid prop.', 'Infinite scrolling is not available in the MIT version.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination.'].join('\\n'));\n }\n\n return null;\n },\n\n /**\n * Pagination can be processed on the server or client-side.\n * Set it to 'client' if you would like to handle the pagination on the client-side.\n * Set it to 'server' if you would like to handle the pagination on the server-side.\n * @default \"client\"\n */\n paginationMode: PropTypes.oneOf(['client', 'server']),\n\n /**\n * Callback called before updating a row with new values in the row and cell editing.\n * Only applied if `props.experimentalFeatures.newEditingApi: true`.\n * @template R\n * @param {R} newRow Row object with the new values.\n * @param {R} oldRow Row object with the old values.\n * @returns {Promise<R> | R} The final values to update the row.\n */\n processRowUpdate: PropTypes.func,\n\n /**\n * Number of extra rows to be rendered before/after the visible slice.\n * @default 3\n */\n rowBuffer: PropTypes.number,\n\n /**\n * Set the total number of rows, if it is different from the length of the value `rows` prop.\n * If some rows have children (for instance in the tree data), this number represents the amount of top level rows.\n */\n rowCount: PropTypes.number,\n\n /**\n * Set the height in pixel of a row in the grid.\n * @default 52\n */\n rowHeight: PropTypes.number,\n\n /**\n * Controls the modes of the rows.\n */\n rowModesModel: PropTypes.object,\n\n /**\n * Set of rows of type [[GridRowsProp]].\n */\n rows: PropTypes.arrayOf(PropTypes.object).isRequired,\n\n /**\n * Sets the type of space between rows added by `getRowSpacing`.\n * @default \"margin\"\n */\n rowSpacingType: PropTypes.oneOf(['border', 'margin']),\n\n /**\n * Select the pageSize dynamically using the component UI.\n * @default [25, 50, 100]\n */\n rowsPerPageOptions: PropTypes.arrayOf(PropTypes.number),\n\n /**\n * Number of rows from the `rowBuffer` that can be visible before a new slice is rendered.\n * @default 3\n */\n rowThreshold: PropTypes.number,\n\n /**\n * Override the height/width of the grid inner scrollbar.\n */\n scrollbarSize: PropTypes.number,\n\n /**\n * Set the selection model of the grid.\n */\n selectionModel: chainPropTypes(PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.array]), props => {\n if (!props.checkboxSelection && Array.isArray(props.selectionModel) && props.selectionModel.length > 1) {\n return new Error([`MUI: \\`<DataGrid selectionModel={${JSON.stringify(props.selectionModel)}} />\\` is not a valid prop.`, 'selectionModel can only be of 1 item in DataGrid.', '', 'You need to upgrade to DataGridPro or DataGridPremium component to unlock multiple selection.'].join('\\n'));\n }\n\n return null;\n }),\n\n /**\n * If `true`, the right border of the cells are displayed.\n * @default false\n */\n showCellRightBorder: PropTypes.bool,\n\n /**\n * If `true`, the right border of the column headers are displayed.\n * @default false\n */\n showColumnRightBorder: PropTypes.bool,\n\n /**\n * Sorting can be processed on the server or client-side.\n * Set it to 'client' if you would like to handle sorting on the client-side.\n * Set it to 'server' if you would like to handle sorting on the server-side.\n * @default \"client\"\n */\n sortingMode: PropTypes.oneOf(['client', 'server']),\n\n /**\n * The order of the sorting sequence.\n * @default ['asc', 'desc', null]\n */\n sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),\n\n /**\n * Set the sort model of the grid.\n */\n sortModel: PropTypes.arrayOf(PropTypes.shape({\n field: PropTypes.string.isRequired,\n sort: PropTypes.oneOf(['asc', 'desc'])\n })),\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTyp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9G,SAAS,CAAC0D,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;EAEpE;AACF;AACA;EACEqD,KAAK,EAAE/G,SAAS,CAACgC,MAAM;EAEvB;AACF;AACA;AACA;AACA;AACA;EACEgF,WAAW,EAAEhH,SAAS,CAACyF,IAAI;EAE3B;AACF;AACA;AACA;AACA;AACA;EACEwB,iBAAiB,EAAEjH,SAAS,CAACyF,IAAI;EAEjC;AACF;AACA;AACA;AACA;AACA;EACEyB,gBAAgB,EAAElH,SAAS,CAACyF,IAAI;EAEhC;AACF;AACA;AACA;AACA;EACE0B,eAAe,EAAEnH,SAAS,CAACyF,IAAI;EAE/B;AACF;AACA;AACA;AACA;EACE2B,cAAc,EAAEpH,SAAS,CAACyF,IAAI;EAE9B;AACF;AACA;AACA;AACA;AACA;EACE4B,cAAc,EAAErH,SAAS,CAACyF,IAAI;EAE9B;AACF;AACA;AACA;AACA;AACA;EACE6B,aAAa,EAAEtH,SAAS,CAACyF,IAAI;EAE7B;AACF;AACA;AACA;AACA;EACE8B,sBAAsB,EAAEvH,SAAS,CAACyF,IAAI;EAEtC;AACF;AACA;AACA;AACA;AACA;EACE+B,mBAAmB,EAAExH,SAAS,CAACyF,IAAI;EAEnC;AACF;AACA;AACA;AACA;AACA;EACEgC,yBAAyB,EAAEzH,SAAS,CAACyF,IAAI;EAEzC;AACF;AACA;AACA;AACA;AACA;EACEiC,mBAAmB,EAAE1H,SAAS,CAACyF,IAAI;EAEnC;AACF;AACA;AACA;AACA;AACA;EACEkC,mBAAmB,EAAE3H,SAAS,CAACyF,IAAI;EAEnC;AACF;AACA;AACA;AACA;AACA;EACEmC,iBAAiB,EAAE5H,SAAS,CAACyF,IAAI;EAEjC;AACF;AACA;AACA;AACA;AACA;EACEoC,kBAAkB,EAAE7H,SAAS,CAACyF,IAAI;EAElC;AACF;AACA;AACA;AACA;AACA;EACEqC,mBAAmB,EAAE9H,SAAS,CAACyF,IAAI;EAEnC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EACEsC,wBAAwB,EAAE/H,SAAS,CAACyF,IAAI;EAExC;AACF;AACA;AACA;AACA;EACEuC,6BAA6B,EAAEhI,SAAS,CAACyF,IAAI;EAE7C;AACF;AACA;AACA;AACA;AACA;AACA;EACEwC,qBAAqB,EAAEjI,SAAS,CAACyF,IAAI;EAErC;AACF;AACA;AACA;AACA;EACEyC,qBAAqB,EAAElI,SAAS,CAACyF,IAAI;EAErC;AACF;AACA;AACA;AACA;AACA;EACE0C,OAAO,EAAEnI,SAAS,CAACyF,IAAI;EAEvB;AACF;AACA;AACA;AACA;EACE2C,mBAAmB,EAAEpI,SAAS,CAACyF,IAAI;EAEnC;AACF;AACA;AACA;AACA;AACA;EACE4C,WAAW,EAAErI,SAAS,CAACyF,IAAI;EAE3B;AACF;AACA;AACA;AACA;AACA;EACE6C,UAAU,EAAEtI,SAAS,CAACyF,IAAI;EAE1B;AACF;AACA;AACA;AACA;EACE8C,YAAY,EAAEvI,SAAS,CAACyF,IAAI;EAE5B;AACF;AACA;AACA;AACA;EACE+C,gBAAgB,EAAExI,SAAS,CAACyF,IAAI;EAEhC;AACF;AACA;AACA;AACA;AACA;EACEgD,sBAAsB,EAAEzI,SAAS,CAACyF,IAAI;EAEtC;AACF;AACA;AACA;AACA;AACA;EACEiD,qBAAqB,EAAE1I,SAAS,CAACyF,IAAI;EAErC;AACF;AACA;AACA;EACEkD,uBAAuB,EAAE3I,SAAS,CAACyF,IAAI;EAEvC;AACF;AACA;AACA;AACA;AACA;EACEmD,QAAQ,EAAE5I,SAAS,CAACyF,IAAI;EAExB;AACF;AACA;AACA;AACA;AACA;AACA;EACEoD,UAAU,EAAE7I,SAAS,CAACyF,IAAI;EAE1B;AACF;AACA;AACA;AACA;AACA;EACEqD,gBAAgB,EAAE9I,SAAS,CAACyF,IAAI;EAEhC;AACF;AACA;AACA;AACA;EACEsD,eAAe,EAAE/I,SAAS,CAACyF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