@mui/x-data-grid 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +148 -5418
- package/DataGrid/DataGrid.js +2 -2
- package/components/GridColumnHeaders.js +1 -1
- package/components/GridFooter.js +1 -1
- package/components/GridLoadingOverlay.js +1 -1
- package/components/GridNoRowsOverlay.js +1 -1
- package/components/GridPagination.js +1 -1
- package/components/GridRow.js +1 -1
- package/components/GridRowCount.js +1 -1
- package/components/GridScrollArea.d.ts +2 -5
- package/components/GridScrollArea.js +1 -10
- package/components/GridSelectedRowCount.js +1 -1
- package/components/base/GridOverlays.js +1 -1
- package/components/cell/GridActionsCell.js +1 -1
- package/components/cell/GridActionsCellItem.js +1 -1
- package/components/cell/GridBooleanCell.js +1 -1
- package/components/cell/GridCell.js +2 -2
- package/components/cell/GridEditBooleanCell.js +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditInputCell.js +1 -1
- package/components/cell/GridEditSingleSelectCell.js +1 -1
- package/components/cell/GridSkeletonCell.js +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -7
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/components/containers/GridFooterContainer.js +1 -1
- package/components/containers/GridOverlay.js +1 -1
- package/components/containers/GridRoot.js +1 -1
- package/components/containers/GridToolbarContainer.js +1 -1
- package/components/menu/GridMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/components/panel/GridColumnsPanel.js +1 -1
- package/components/panel/GridPanel.js +1 -1
- package/components/panel/GridPanelContent.js +1 -1
- package/components/panel/GridPanelFooter.js +1 -1
- package/components/panel/GridPanelHeader.js +1 -1
- package/components/panel/GridPanelWrapper.js +1 -1
- package/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/components/toolbar/GridToolbar.js +1 -1
- package/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/components/toolbar/GridToolbarExport.js +1 -1
- package/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +1 -1
- package/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/hooks/features/clipboard/useGridClipboard.js +8 -5
- package/hooks/features/columnResize/useGridColumnResize.js +5 -26
- package/hooks/features/columns/gridColumnsUtils.js +18 -13
- package/hooks/features/columns/useGridColumnSpanning.js +5 -5
- package/hooks/features/export/serializers/csvSerializer.d.ts +3 -6
- package/hooks/features/export/serializers/csvSerializer.js +28 -32
- package/hooks/features/export/useGridCsvExport.js +8 -5
- package/hooks/features/virtualization/useGridVirtualScroller.js +8 -1
- package/index.d.ts +1 -0
- package/index.js +1 -2
- package/locales/faIR.js +4 -4
- package/locales/fiFI.js +4 -5
- package/models/api/gridColumnSpanning.d.ts +2 -0
- package/models/gridExport.d.ts +7 -0
- package/models/gridSlotsComponent.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +1 -1
- package/modern/DataGrid/DataGrid.js +2 -2
- package/modern/components/GridColumnHeaders.js +1 -1
- package/modern/components/GridFooter.js +1 -1
- package/modern/components/GridLoadingOverlay.js +1 -1
- package/modern/components/GridNoRowsOverlay.js +1 -1
- package/modern/components/GridPagination.js +1 -1
- package/modern/components/GridRow.js +1 -1
- package/modern/components/GridRowCount.js +1 -1
- package/modern/components/GridScrollArea.js +1 -10
- package/modern/components/GridSelectedRowCount.js +1 -1
- package/modern/components/base/GridOverlays.js +1 -1
- package/modern/components/cell/GridActionsCell.js +1 -1
- package/modern/components/cell/GridActionsCellItem.js +1 -1
- package/modern/components/cell/GridBooleanCell.js +1 -1
- package/modern/components/cell/GridCell.js +2 -2
- package/modern/components/cell/GridEditBooleanCell.js +1 -1
- package/modern/components/cell/GridEditDateCell.js +1 -1
- package/modern/components/cell/GridEditInputCell.js +1 -1
- package/modern/components/cell/GridEditSingleSelectCell.js +1 -1
- package/modern/components/cell/GridSkeletonCell.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaderFilterIconButton.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaderItem.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/modern/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -7
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/modern/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/modern/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/modern/components/containers/GridFooterContainer.js +1 -1
- package/modern/components/containers/GridOverlay.js +1 -1
- package/modern/components/containers/GridRoot.js +1 -1
- package/modern/components/containers/GridToolbarContainer.js +1 -1
- package/modern/components/menu/GridMenu.js +1 -1
- package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/modern/components/menu/columnMenu/GridColumnMenu.js +1 -1
- package/modern/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/modern/components/panel/GridColumnsPanel.js +1 -1
- package/modern/components/panel/GridPanel.js +1 -1
- package/modern/components/panel/GridPanelContent.js +1 -1
- package/modern/components/panel/GridPanelFooter.js +1 -1
- package/modern/components/panel/GridPanelHeader.js +1 -1
- package/modern/components/panel/GridPanelWrapper.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/modern/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/modern/components/toolbar/GridToolbar.js +1 -1
- package/modern/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/modern/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/modern/components/toolbar/GridToolbarExport.js +1 -1
- package/modern/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/modern/components/toolbar/GridToolbarFilterButton.js +1 -1
- package/modern/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/modern/hooks/features/clipboard/useGridClipboard.js +8 -5
- package/modern/hooks/features/columnResize/useGridColumnResize.js +5 -26
- package/modern/hooks/features/columns/gridColumnsUtils.js +18 -13
- package/modern/hooks/features/columns/useGridColumnSpanning.js +5 -5
- package/modern/hooks/features/export/serializers/csvSerializer.js +28 -32
- package/modern/hooks/features/export/useGridCsvExport.js +8 -5
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +8 -1
- package/modern/index.js +1 -2
- package/modern/locales/faIR.js +4 -4
- package/modern/locales/fiFI.js +4 -5
- package/modern/utils/domUtils.js +1 -2
- package/node/DataGrid/DataGrid.js +2 -2
- package/node/components/GridColumnHeaders.js +1 -1
- package/node/components/GridFooter.js +1 -1
- package/node/components/GridLoadingOverlay.js +1 -1
- package/node/components/GridNoRowsOverlay.js +1 -1
- package/node/components/GridPagination.js +1 -1
- package/node/components/GridRow.js +1 -1
- package/node/components/GridRowCount.js +1 -1
- package/node/components/GridScrollArea.js +0 -8
- package/node/components/GridSelectedRowCount.js +1 -1
- package/node/components/base/GridOverlays.js +1 -1
- package/node/components/cell/GridActionsCell.js +1 -1
- package/node/components/cell/GridActionsCellItem.js +1 -1
- package/node/components/cell/GridBooleanCell.js +1 -1
- package/node/components/cell/GridCell.js +2 -2
- package/node/components/cell/GridEditBooleanCell.js +1 -1
- package/node/components/cell/GridEditDateCell.js +1 -1
- package/node/components/cell/GridEditInputCell.js +1 -1
- package/node/components/cell/GridEditSingleSelectCell.js +1 -1
- package/node/components/cell/GridSkeletonCell.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaderFilterIconButton.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaderItem.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/node/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +0 -7
- package/node/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/node/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/node/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/node/components/containers/GridFooterContainer.js +1 -1
- package/node/components/containers/GridOverlay.js +1 -1
- package/node/components/containers/GridRoot.js +1 -1
- package/node/components/containers/GridToolbarContainer.js +1 -1
- package/node/components/menu/GridMenu.js +1 -1
- package/node/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/node/components/menu/columnMenu/GridColumnMenu.js +1 -1
- package/node/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/node/components/panel/GridColumnsPanel.js +1 -1
- package/node/components/panel/GridPanel.js +1 -1
- package/node/components/panel/GridPanelContent.js +1 -1
- package/node/components/panel/GridPanelFooter.js +1 -1
- package/node/components/panel/GridPanelHeader.js +1 -1
- package/node/components/panel/GridPanelWrapper.js +1 -1
- package/node/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
- package/node/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/node/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/node/components/toolbar/GridToolbar.js +1 -1
- package/node/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/node/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/node/components/toolbar/GridToolbarExport.js +1 -1
- package/node/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/node/components/toolbar/GridToolbarFilterButton.js +1 -1
- package/node/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/node/hooks/features/clipboard/useGridClipboard.js +8 -5
- package/node/hooks/features/columnResize/useGridColumnResize.js +5 -26
- package/node/hooks/features/columns/gridColumnsUtils.js +18 -13
- package/node/hooks/features/columns/useGridColumnSpanning.js +5 -5
- package/node/hooks/features/export/serializers/csvSerializer.js +28 -32
- package/node/hooks/features/export/useGridCsvExport.js +8 -5
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +8 -1
- package/node/index.js +1 -1
- package/node/locales/faIR.js +4 -4
- package/node/locales/fiFI.js +4 -5
- package/node/utils/domUtils.js +1 -2
- package/package.json +4 -3
- package/utils/domUtils.js +1 -2
|
@@ -14,7 +14,7 @@ const GridLoadingOverlay = /*#__PURE__*/React.forwardRef(function GridLoadingOve
|
|
|
14
14
|
process.env.NODE_ENV !== "production" ? GridLoadingOverlay.propTypes = {
|
|
15
15
|
// ----------------------------- Warning --------------------------------
|
|
16
16
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
17
|
-
// | To update them edit the TypeScript types and run "
|
|
17
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
18
18
|
// ----------------------------------------------------------------------
|
|
19
19
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
20
20
|
} : void 0;
|
|
@@ -16,7 +16,7 @@ const GridNoRowsOverlay = /*#__PURE__*/React.forwardRef(function GridNoRowsOverl
|
|
|
16
16
|
process.env.NODE_ENV !== "production" ? GridNoRowsOverlay.propTypes = {
|
|
17
17
|
// ----------------------------- Warning --------------------------------
|
|
18
18
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
19
|
-
// | To update them edit the TypeScript types and run "
|
|
19
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
20
20
|
// ----------------------------------------------------------------------
|
|
21
21
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
22
22
|
} : void 0;
|
|
@@ -135,7 +135,7 @@ const GridPagination = /*#__PURE__*/React.forwardRef(function GridPagination(pro
|
|
|
135
135
|
process.env.NODE_ENV !== "production" ? GridPagination.propTypes = {
|
|
136
136
|
// ----------------------------- Warning --------------------------------
|
|
137
137
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
138
|
-
// | To update them edit the TypeScript types and run "
|
|
138
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
139
139
|
// ----------------------------------------------------------------------
|
|
140
140
|
component: PropTypes.elementType
|
|
141
141
|
} : void 0;
|
|
@@ -354,7 +354,7 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
|
|
|
354
354
|
process.env.NODE_ENV !== "production" ? GridRow.propTypes = {
|
|
355
355
|
// ----------------------------- Warning --------------------------------
|
|
356
356
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
357
|
-
// | To update them edit the TypeScript types and run "
|
|
357
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
358
358
|
// ----------------------------------------------------------------------
|
|
359
359
|
dimensions: PropTypes.shape({
|
|
360
360
|
bottomContainerHeight: PropTypes.number.isRequired,
|
|
@@ -55,7 +55,7 @@ const GridRowCount = /*#__PURE__*/React.forwardRef(function GridRowCount(props,
|
|
|
55
55
|
process.env.NODE_ENV !== "production" ? GridRowCount.propTypes = {
|
|
56
56
|
// ----------------------------- Warning --------------------------------
|
|
57
57
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
58
|
-
// | To update them edit the TypeScript types and run "
|
|
58
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
59
59
|
// ----------------------------------------------------------------------
|
|
60
60
|
rowCount: PropTypes.number.isRequired,
|
|
61
61
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
import clsx from 'clsx';
|
|
5
4
|
import { unstable_composeClasses as composeClasses, unstable_useEventCallback as useEventCallback } from '@mui/utils';
|
|
6
5
|
import { styled } from '@mui/system';
|
|
@@ -139,12 +138,4 @@ function GridScrollAreaRaw(props) {
|
|
|
139
138
|
style: style
|
|
140
139
|
});
|
|
141
140
|
}
|
|
142
|
-
|
|
143
|
-
// ----------------------------- Warning --------------------------------
|
|
144
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
145
|
-
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
146
|
-
// ----------------------------------------------------------------------
|
|
147
|
-
scrollDirection: PropTypes.oneOf(['left', 'right']).isRequired
|
|
148
|
-
} : void 0;
|
|
149
|
-
const GridScrollArea = fastMemo(GridScrollAreaRaw);
|
|
150
|
-
export { GridScrollArea };
|
|
141
|
+
export const GridScrollArea = fastMemo(GridScrollAreaRaw);
|
|
@@ -59,7 +59,7 @@ const GridSelectedRowCount = /*#__PURE__*/React.forwardRef(function GridSelected
|
|
|
59
59
|
process.env.NODE_ENV !== "production" ? GridSelectedRowCount.propTypes = {
|
|
60
60
|
// ----------------------------- Warning --------------------------------
|
|
61
61
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
62
|
-
// | To update them edit the TypeScript types and run "
|
|
62
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
63
63
|
// ----------------------------------------------------------------------
|
|
64
64
|
selectedRowCount: PropTypes.number.isRequired,
|
|
65
65
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
@@ -76,7 +76,7 @@ function GridOverlayWrapper(props) {
|
|
|
76
76
|
process.env.NODE_ENV !== "production" ? GridOverlayWrapper.propTypes = {
|
|
77
77
|
// ----------------------------- Warning --------------------------------
|
|
78
78
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
79
|
-
// | To update them edit the TypeScript types and run "
|
|
79
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
80
80
|
// ----------------------------------------------------------------------
|
|
81
81
|
overlayType: PropTypes.string.isRequired
|
|
82
82
|
} : void 0;
|
|
@@ -190,7 +190,7 @@ function GridActionsCell(props) {
|
|
|
190
190
|
process.env.NODE_ENV !== "production" ? GridActionsCell.propTypes = {
|
|
191
191
|
// ----------------------------- Warning --------------------------------
|
|
192
192
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
193
|
-
// | To update them edit the TypeScript types and run "
|
|
193
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
194
194
|
// ----------------------------------------------------------------------
|
|
195
195
|
api: PropTypes.object,
|
|
196
196
|
/**
|
|
@@ -59,7 +59,7 @@ const GridActionsCellItem = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
59
59
|
process.env.NODE_ENV !== "production" ? GridActionsCellItem.propTypes = {
|
|
60
60
|
// ----------------------------- Warning --------------------------------
|
|
61
61
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
62
|
-
// | To update them edit the TypeScript types and run "
|
|
62
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
63
63
|
// ----------------------------------------------------------------------
|
|
64
64
|
/**
|
|
65
65
|
* from https://mui.com/material-ui/api/button-base/#ButtonBase-prop-component
|
|
@@ -40,7 +40,7 @@ function GridBooleanCellRaw(props) {
|
|
|
40
40
|
process.env.NODE_ENV !== "production" ? GridBooleanCellRaw.propTypes = {
|
|
41
41
|
// ----------------------------- Warning --------------------------------
|
|
42
42
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
43
|
-
// | To update them edit the TypeScript types and run "
|
|
43
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
44
44
|
// ----------------------------------------------------------------------
|
|
45
45
|
/**
|
|
46
46
|
* GridApi that let you manipulate the grid.
|
|
@@ -75,7 +75,7 @@ let warnedOnce = false;
|
|
|
75
75
|
|
|
76
76
|
// TODO(v7): Removing the wrapper will break the docs performance visualization demo.
|
|
77
77
|
|
|
78
|
-
const GridCell = /*#__PURE__*/React.forwardRef((props, ref)
|
|
78
|
+
const GridCell = /*#__PURE__*/React.forwardRef(function GridCell(props, ref) {
|
|
79
79
|
const {
|
|
80
80
|
column,
|
|
81
81
|
rowId,
|
|
@@ -316,7 +316,7 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
316
316
|
process.env.NODE_ENV !== "production" ? GridCell.propTypes = {
|
|
317
317
|
// ----------------------------- Warning --------------------------------
|
|
318
318
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
319
|
-
// | To update them edit the TypeScript types and run "
|
|
319
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
320
320
|
// ----------------------------------------------------------------------
|
|
321
321
|
align: PropTypes.oneOf(['center', 'left', 'right']).isRequired,
|
|
322
322
|
className: PropTypes.string,
|
|
@@ -73,7 +73,7 @@ function GridEditBooleanCell(props) {
|
|
|
73
73
|
process.env.NODE_ENV !== "production" ? GridEditBooleanCell.propTypes = {
|
|
74
74
|
// ----------------------------- Warning --------------------------------
|
|
75
75
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
76
|
-
// | To update them edit the TypeScript types and run "
|
|
76
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
77
77
|
// ----------------------------------------------------------------------
|
|
78
78
|
/**
|
|
79
79
|
* GridApi that let you manipulate the grid.
|
|
@@ -122,7 +122,7 @@ function GridEditDateCell(props) {
|
|
|
122
122
|
process.env.NODE_ENV !== "production" ? GridEditDateCell.propTypes = {
|
|
123
123
|
// ----------------------------- Warning --------------------------------
|
|
124
124
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
125
|
-
// | To update them edit the TypeScript types and run "
|
|
125
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
126
126
|
// ----------------------------------------------------------------------
|
|
127
127
|
/**
|
|
128
128
|
* GridApi that let you manipulate the grid.
|
|
@@ -97,7 +97,7 @@ const GridEditInputCell = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
97
97
|
process.env.NODE_ENV !== "production" ? GridEditInputCell.propTypes = {
|
|
98
98
|
// ----------------------------- Warning --------------------------------
|
|
99
99
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
100
|
-
// | To update them edit the TypeScript types and run "
|
|
100
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
101
101
|
// ----------------------------------------------------------------------
|
|
102
102
|
/**
|
|
103
103
|
* GridApi that let you manipulate the grid.
|
|
@@ -123,7 +123,7 @@ function GridEditSingleSelectCell(props) {
|
|
|
123
123
|
process.env.NODE_ENV !== "production" ? GridEditSingleSelectCell.propTypes = {
|
|
124
124
|
// ----------------------------- Warning --------------------------------
|
|
125
125
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
126
|
-
// | To update them edit the TypeScript types and run "
|
|
126
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
127
127
|
// ----------------------------------------------------------------------
|
|
128
128
|
/**
|
|
129
129
|
* GridApi that let you manipulate the grid.
|
|
@@ -52,7 +52,7 @@ function GridSkeletonCell(props) {
|
|
|
52
52
|
process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes = {
|
|
53
53
|
// ----------------------------- Warning --------------------------------
|
|
54
54
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
55
|
-
// | To update them edit the TypeScript types and run "
|
|
55
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
56
56
|
// ----------------------------------------------------------------------
|
|
57
57
|
align: PropTypes.string.isRequired,
|
|
58
58
|
field: PropTypes.string.isRequired,
|
|
@@ -87,7 +87,7 @@ function GridColumnHeaderFilterIconButton(props) {
|
|
|
87
87
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButton.propTypes = {
|
|
88
88
|
// ----------------------------- Warning --------------------------------
|
|
89
89
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
90
|
-
// | To update them edit the TypeScript types and run "
|
|
90
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
91
91
|
// ----------------------------------------------------------------------
|
|
92
92
|
counter: PropTypes.number,
|
|
93
93
|
field: PropTypes.string.isRequired,
|
|
@@ -196,7 +196,7 @@ function GridColumnHeaderItem(props) {
|
|
|
196
196
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderItem.propTypes = {
|
|
197
197
|
// ----------------------------- Warning --------------------------------
|
|
198
198
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
199
|
-
// | To update them edit the TypeScript types and run "
|
|
199
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
200
200
|
// ----------------------------------------------------------------------
|
|
201
201
|
colDef: PropTypes.object.isRequired,
|
|
202
202
|
colIndex: PropTypes.number.isRequired,
|
|
@@ -62,7 +62,7 @@ const GridColumnHeaderSeparator = /*#__PURE__*/React.memo(GridColumnHeaderSepara
|
|
|
62
62
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderSeparatorRaw.propTypes = {
|
|
63
63
|
// ----------------------------- Warning --------------------------------
|
|
64
64
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
65
|
-
// | To update them edit the TypeScript types and run "
|
|
65
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
66
66
|
// ----------------------------------------------------------------------
|
|
67
67
|
height: PropTypes.number.isRequired,
|
|
68
68
|
resizable: PropTypes.bool.isRequired,
|
|
@@ -71,7 +71,7 @@ const GridColumnHeaderSortIcon = /*#__PURE__*/React.memo(GridColumnHeaderSortIco
|
|
|
71
71
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderSortIconRaw.propTypes = {
|
|
72
72
|
// ----------------------------- Warning --------------------------------
|
|
73
73
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
74
|
-
// | To update them edit the TypeScript types and run "
|
|
74
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
75
75
|
// ----------------------------------------------------------------------
|
|
76
76
|
direction: PropTypes.oneOf(['asc', 'desc']),
|
|
77
77
|
disabled: PropTypes.bool,
|
|
@@ -74,7 +74,7 @@ function GridColumnHeaderTitle(props) {
|
|
|
74
74
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes = {
|
|
75
75
|
// ----------------------------- Warning --------------------------------
|
|
76
76
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
77
|
-
// | To update them edit the TypeScript types and run "
|
|
77
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
78
78
|
// ----------------------------------------------------------------------
|
|
79
79
|
columnWidth: PropTypes.number.isRequired,
|
|
80
80
|
description: PropTypes.node,
|
|
@@ -12,7 +12,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
12
12
|
const GridGenericColumnHeaderItem = /*#__PURE__*/React.forwardRef(function GridGenericColumnHeaderItem(props, ref) {
|
|
13
13
|
const {
|
|
14
14
|
classes,
|
|
15
|
-
columnMenuOpen,
|
|
16
15
|
colIndex,
|
|
17
16
|
height,
|
|
18
17
|
isResizing,
|
|
@@ -38,17 +37,11 @@ const GridGenericColumnHeaderItem = /*#__PURE__*/React.forwardRef(function GridG
|
|
|
38
37
|
const apiRef = useGridPrivateApiContext();
|
|
39
38
|
const rootProps = useGridRootProps();
|
|
40
39
|
const headerCellRef = React.useRef(null);
|
|
41
|
-
const [showColumnMenuIcon, setShowColumnMenuIcon] = React.useState(columnMenuOpen);
|
|
42
40
|
const handleRef = useForkRef(headerCellRef, ref);
|
|
43
41
|
let ariaSort = 'none';
|
|
44
42
|
if (sortDirection != null) {
|
|
45
43
|
ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';
|
|
46
44
|
}
|
|
47
|
-
React.useEffect(() => {
|
|
48
|
-
if (!showColumnMenuIcon) {
|
|
49
|
-
setShowColumnMenuIcon(columnMenuOpen);
|
|
50
|
-
}
|
|
51
|
-
}, [showColumnMenuIcon, columnMenuOpen]);
|
|
52
45
|
React.useLayoutEffect(() => {
|
|
53
46
|
const columnMenuState = apiRef.current.state.columnMenu;
|
|
54
47
|
if (hasFocus && !columnMenuState.open) {
|
|
@@ -91,7 +91,7 @@ const GridCellCheckboxForwardRef = /*#__PURE__*/React.forwardRef(function GridCe
|
|
|
91
91
|
process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes = {
|
|
92
92
|
// ----------------------------- Warning --------------------------------
|
|
93
93
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
94
|
-
// | To update them edit the TypeScript types and run "
|
|
94
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
95
95
|
// ----------------------------------------------------------------------
|
|
96
96
|
/**
|
|
97
97
|
* GridApi that let you manipulate the grid.
|
|
@@ -110,7 +110,7 @@ const GridHeaderCheckbox = /*#__PURE__*/React.forwardRef(function GridHeaderChec
|
|
|
110
110
|
process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes = {
|
|
111
111
|
// ----------------------------- Warning --------------------------------
|
|
112
112
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
113
|
-
// | To update them edit the TypeScript types and run "
|
|
113
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
114
114
|
// ----------------------------------------------------------------------
|
|
115
115
|
/**
|
|
116
116
|
* The column of the current header component.
|
|
@@ -178,7 +178,7 @@ function GridColumnsManagement(props) {
|
|
|
178
178
|
process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
|
|
179
179
|
// ----------------------------- Warning --------------------------------
|
|
180
180
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
181
|
-
// | To update them edit the TypeScript types and run "
|
|
181
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
182
182
|
// ----------------------------------------------------------------------
|
|
183
183
|
/**
|
|
184
184
|
* If `true`, the column search field will be focused automatically.
|
|
@@ -45,7 +45,7 @@ const GridFooterContainer = /*#__PURE__*/React.forwardRef(function GridFooterCon
|
|
|
45
45
|
process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes = {
|
|
46
46
|
// ----------------------------- Warning --------------------------------
|
|
47
47
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
48
|
-
// | To update them edit the TypeScript types and run "
|
|
48
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
49
49
|
// ----------------------------------------------------------------------
|
|
50
50
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
51
51
|
} : void 0;
|
|
@@ -47,7 +47,7 @@ const GridOverlay = /*#__PURE__*/React.forwardRef(function GridOverlay(props, re
|
|
|
47
47
|
process.env.NODE_ENV !== "production" ? GridOverlay.propTypes = {
|
|
48
48
|
// ----------------------------- Warning --------------------------------
|
|
49
49
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
50
|
-
// | To update them edit the TypeScript types and run "
|
|
50
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
51
51
|
// ----------------------------------------------------------------------
|
|
52
52
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
53
53
|
} : void 0;
|
|
@@ -68,7 +68,7 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
|
|
|
68
68
|
process.env.NODE_ENV !== "production" ? GridRoot.propTypes = {
|
|
69
69
|
// ----------------------------- Warning --------------------------------
|
|
70
70
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
|
-
// | To update them edit the TypeScript types and run "
|
|
71
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
72
72
|
// ----------------------------------------------------------------------
|
|
73
73
|
/**
|
|
74
74
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
@@ -53,7 +53,7 @@ const GridToolbarContainer = /*#__PURE__*/React.forwardRef(function GridToolbarC
|
|
|
53
53
|
process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes = {
|
|
54
54
|
// ----------------------------- Warning --------------------------------
|
|
55
55
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
56
|
-
// | To update them edit the TypeScript types and run "
|
|
56
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
57
57
|
// ----------------------------------------------------------------------
|
|
58
58
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
59
59
|
} : void 0;
|
|
@@ -113,7 +113,7 @@ function GridMenu(props) {
|
|
|
113
113
|
process.env.NODE_ENV !== "production" ? GridMenu.propTypes = {
|
|
114
114
|
// ----------------------------- Warning --------------------------------
|
|
115
115
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
116
|
-
// | To update them edit the TypeScript types and run "
|
|
116
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
117
117
|
// ----------------------------------------------------------------------
|
|
118
118
|
children: PropTypes.node,
|
|
119
119
|
onClose: PropTypes.func.isRequired,
|
|
@@ -48,7 +48,7 @@ function GridColumnHeaderMenu({
|
|
|
48
48
|
process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes = {
|
|
49
49
|
// ----------------------------- Warning --------------------------------
|
|
50
50
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
51
|
-
// | To update them edit the TypeScript types and run "
|
|
51
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
52
52
|
// ----------------------------------------------------------------------
|
|
53
53
|
columnMenuButtonId: PropTypes.string,
|
|
54
54
|
columnMenuId: PropTypes.string,
|
|
@@ -55,7 +55,7 @@ const GridColumnMenu = /*#__PURE__*/React.forwardRef(function GridColumnMenu(pro
|
|
|
55
55
|
process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes = {
|
|
56
56
|
// ----------------------------- Warning --------------------------------
|
|
57
57
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
58
|
-
// | To update them edit the TypeScript types and run "
|
|
58
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
59
59
|
// ----------------------------------------------------------------------
|
|
60
60
|
colDef: PropTypes.object.isRequired,
|
|
61
61
|
hideMenu: PropTypes.func.isRequired,
|
|
@@ -44,7 +44,7 @@ const GridColumnMenuContainer = /*#__PURE__*/React.forwardRef(function GridColum
|
|
|
44
44
|
process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes = {
|
|
45
45
|
// ----------------------------- Warning --------------------------------
|
|
46
46
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
|
-
// | To update them edit the TypeScript types and run "
|
|
47
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
48
48
|
// ----------------------------------------------------------------------
|
|
49
49
|
colDef: PropTypes.object.isRequired,
|
|
50
50
|
hideMenu: PropTypes.func.isRequired,
|
|
@@ -12,7 +12,7 @@ function GridColumnMenuColumnsItem(props) {
|
|
|
12
12
|
process.env.NODE_ENV !== "production" ? GridColumnMenuColumnsItem.propTypes = {
|
|
13
13
|
// ----------------------------- Warning --------------------------------
|
|
14
14
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15
|
-
// | To update them edit the TypeScript types and run "
|
|
15
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
16
16
|
// ----------------------------------------------------------------------
|
|
17
17
|
colDef: PropTypes.object.isRequired,
|
|
18
18
|
onClick: PropTypes.func.isRequired
|
|
@@ -34,7 +34,7 @@ function GridColumnMenuFilterItem(props) {
|
|
|
34
34
|
process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes = {
|
|
35
35
|
// ----------------------------- Warning --------------------------------
|
|
36
36
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
37
|
-
// | To update them edit the TypeScript types and run "
|
|
37
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
38
38
|
// ----------------------------------------------------------------------
|
|
39
39
|
colDef: PropTypes.object.isRequired,
|
|
40
40
|
onClick: PropTypes.func.isRequired
|
|
@@ -51,7 +51,7 @@ function GridColumnMenuHideItem(props) {
|
|
|
51
51
|
process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes = {
|
|
52
52
|
// ----------------------------- Warning --------------------------------
|
|
53
53
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
54
|
-
// | To update them edit the TypeScript types and run "
|
|
54
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
55
55
|
// ----------------------------------------------------------------------
|
|
56
56
|
colDef: PropTypes.object.isRequired,
|
|
57
57
|
onClick: PropTypes.func.isRequired
|
|
@@ -34,7 +34,7 @@ function GridColumnMenuManageItem(props) {
|
|
|
34
34
|
process.env.NODE_ENV !== "production" ? GridColumnMenuManageItem.propTypes = {
|
|
35
35
|
// ----------------------------- Warning --------------------------------
|
|
36
36
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
37
|
-
// | To update them edit the TypeScript types and run "
|
|
37
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
38
38
|
// ----------------------------------------------------------------------
|
|
39
39
|
colDef: PropTypes.object.isRequired,
|
|
40
40
|
onClick: PropTypes.func.isRequired
|
|
@@ -68,7 +68,7 @@ function GridColumnMenuSortItem(props) {
|
|
|
68
68
|
process.env.NODE_ENV !== "production" ? GridColumnMenuSortItem.propTypes = {
|
|
69
69
|
// ----------------------------- Warning --------------------------------
|
|
70
70
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
71
|
-
// | To update them edit the TypeScript types and run "
|
|
71
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
72
72
|
// ----------------------------------------------------------------------
|
|
73
73
|
colDef: PropTypes.object.isRequired,
|
|
74
74
|
onClick: PropTypes.func.isRequired
|
|
@@ -14,7 +14,7 @@ function GridColumnsPanel(props) {
|
|
|
14
14
|
process.env.NODE_ENV !== "production" ? GridColumnsPanel.propTypes = {
|
|
15
15
|
// ----------------------------- Warning --------------------------------
|
|
16
16
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
17
|
-
// | To update them edit the TypeScript types and run "
|
|
17
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
18
18
|
// ----------------------------------------------------------------------
|
|
19
19
|
slotProps: PropTypes.object
|
|
20
20
|
} : void 0;
|
|
@@ -103,7 +103,7 @@ const GridPanel = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
103
103
|
process.env.NODE_ENV !== "production" ? GridPanel.propTypes = {
|
|
104
104
|
// ----------------------------- Warning --------------------------------
|
|
105
105
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
106
|
-
// | To update them edit the TypeScript types and run "
|
|
106
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
107
107
|
// ----------------------------------------------------------------------
|
|
108
108
|
/**
|
|
109
109
|
* Popper render function or node.
|
|
@@ -44,7 +44,7 @@ function GridPanelContent(props) {
|
|
|
44
44
|
process.env.NODE_ENV !== "production" ? GridPanelContent.propTypes = {
|
|
45
45
|
// ----------------------------- Warning --------------------------------
|
|
46
46
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
|
-
// | To update them edit the TypeScript types and run "
|
|
47
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
48
48
|
// ----------------------------------------------------------------------
|
|
49
49
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
50
50
|
} : void 0;
|
|
@@ -44,7 +44,7 @@ function GridPanelFooter(props) {
|
|
|
44
44
|
process.env.NODE_ENV !== "production" ? GridPanelFooter.propTypes = {
|
|
45
45
|
// ----------------------------- Warning --------------------------------
|
|
46
46
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
|
-
// | To update them edit the TypeScript types and run "
|
|
47
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
48
48
|
// ----------------------------------------------------------------------
|
|
49
49
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
50
50
|
} : void 0;
|
|
@@ -42,7 +42,7 @@ function GridPanelHeader(props) {
|
|
|
42
42
|
process.env.NODE_ENV !== "production" ? GridPanelHeader.propTypes = {
|
|
43
43
|
// ----------------------------- Warning --------------------------------
|
|
44
44
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
45
|
-
// | To update them edit the TypeScript types and run "
|
|
45
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
46
46
|
// ----------------------------------------------------------------------
|
|
47
47
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
48
48
|
} : void 0;
|
|
@@ -56,7 +56,7 @@ const GridPanelWrapper = /*#__PURE__*/React.forwardRef(function GridPanelWrapper
|
|
|
56
56
|
process.env.NODE_ENV !== "production" ? GridPanelWrapper.propTypes = {
|
|
57
57
|
// ----------------------------- Warning --------------------------------
|
|
58
58
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
59
|
-
// | To update them edit the TypeScript types and run "
|
|
59
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
60
60
|
// ----------------------------------------------------------------------
|
|
61
61
|
slotProps: PropTypes.object
|
|
62
62
|
} : void 0;
|
|
@@ -383,7 +383,7 @@ const GridFilterForm = /*#__PURE__*/React.forwardRef(function GridFilterForm(pro
|
|
|
383
383
|
process.env.NODE_ENV !== "production" ? GridFilterForm.propTypes = {
|
|
384
384
|
// ----------------------------- Warning --------------------------------
|
|
385
385
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
386
|
-
// | To update them edit the TypeScript types and run "
|
|
386
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
387
387
|
// ----------------------------------------------------------------------
|
|
388
388
|
/**
|
|
389
389
|
* Callback called when the operator, column field or value is changed.
|
|
@@ -88,7 +88,7 @@ function GridFilterInputBoolean(props) {
|
|
|
88
88
|
process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
89
89
|
// ----------------------------- Warning --------------------------------
|
|
90
90
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
91
|
-
// | To update them edit the TypeScript types and run "
|
|
91
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
92
92
|
// ----------------------------------------------------------------------
|
|
93
93
|
apiRef: PropTypes.shape({
|
|
94
94
|
current: PropTypes.object.isRequired
|
|
@@ -93,7 +93,7 @@ function GridFilterInputDate(props) {
|
|
|
93
93
|
process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes = {
|
|
94
94
|
// ----------------------------- Warning --------------------------------
|
|
95
95
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
96
|
-
// | To update them edit the TypeScript types and run "
|
|
96
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
97
97
|
// ----------------------------------------------------------------------
|
|
98
98
|
apiRef: PropTypes.shape({
|
|
99
99
|
current: PropTypes.object.isRequired
|
|
@@ -94,7 +94,7 @@ function GridFilterInputMultipleSingleSelect(props) {
|
|
|
94
94
|
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleSingleSelect.propTypes = {
|
|
95
95
|
// ----------------------------- Warning --------------------------------
|
|
96
96
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
97
|
-
// | To update them edit the TypeScript types and run "
|
|
97
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
98
98
|
// ----------------------------------------------------------------------
|
|
99
99
|
apiRef: PropTypes.shape({
|
|
100
100
|
current: PropTypes.object.isRequired
|
|
@@ -75,7 +75,7 @@ function GridFilterInputMultipleValue(props) {
|
|
|
75
75
|
process.env.NODE_ENV !== "production" ? GridFilterInputMultipleValue.propTypes = {
|
|
76
76
|
// ----------------------------- Warning --------------------------------
|
|
77
77
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
78
|
-
// | To update them edit the TypeScript types and run "
|
|
78
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
79
79
|
// ----------------------------------------------------------------------
|
|
80
80
|
apiRef: PropTypes.shape({
|
|
81
81
|
current: PropTypes.object.isRequired
|
|
@@ -123,7 +123,7 @@ function GridFilterInputSingleSelect(props) {
|
|
|
123
123
|
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes = {
|
|
124
124
|
// ----------------------------- Warning --------------------------------
|
|
125
125
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
126
|
-
// | To update them edit the TypeScript types and run "
|
|
126
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
127
127
|
// ----------------------------------------------------------------------
|
|
128
128
|
apiRef: PropTypes.shape({
|
|
129
129
|
current: PropTypes.object.isRequired
|
|
@@ -76,7 +76,7 @@ function GridFilterInputValue(props) {
|
|
|
76
76
|
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
77
77
|
// ----------------------------- Warning --------------------------------
|
|
78
78
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
79
|
-
// | To update them edit the TypeScript types and run "
|
|
79
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
80
80
|
// ----------------------------------------------------------------------
|
|
81
81
|
apiRef: PropTypes.shape({
|
|
82
82
|
current: PropTypes.object.isRequired
|
|
@@ -187,7 +187,7 @@ const GridFilterPanel = /*#__PURE__*/React.forwardRef(function GridFilterPanel(p
|
|
|
187
187
|
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes = {
|
|
188
188
|
// ----------------------------- Warning --------------------------------
|
|
189
189
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
190
|
-
// | To update them edit the TypeScript types and run "
|
|
190
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
191
191
|
// ----------------------------------------------------------------------
|
|
192
192
|
/**
|
|
193
193
|
* @ignore - do not document.
|
|
@@ -46,7 +46,7 @@ const GridToolbar = /*#__PURE__*/React.forwardRef(function GridToolbar(props, re
|
|
|
46
46
|
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
47
47
|
// ----------------------------- Warning --------------------------------
|
|
48
48
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
49
|
-
// | To update them edit the TypeScript types and run "
|
|
49
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
50
50
|
// ----------------------------------------------------------------------
|
|
51
51
|
/**
|
|
52
52
|
* Props passed to the quick filter component.
|