@mui/x-data-grid 9.5.0 → 9.7.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 +261 -0
- package/DataGrid/DataGrid.js +75 -14
- package/DataGrid/DataGrid.mjs +75 -14
- package/colDef/gridDateOperators.d.mts +1 -1
- package/colDef/gridDateOperators.d.ts +1 -1
- package/components/GridColumnHeaders.d.mts +1 -1
- package/components/GridColumnHeaders.d.ts +1 -1
- package/components/GridColumnHeaders.js +1 -1
- package/components/GridColumnHeaders.mjs +1 -1
- package/components/GridColumnUnsortedIcon.js +1 -1
- package/components/GridColumnUnsortedIcon.mjs +1 -1
- package/components/GridFooter.d.mts +1 -1
- package/components/GridFooter.d.ts +1 -1
- package/components/GridFooter.js +1 -1
- package/components/GridFooter.mjs +1 -1
- package/components/GridLoadingOverlay.d.mts +1 -1
- package/components/GridLoadingOverlay.d.ts +1 -1
- package/components/GridLoadingOverlay.js +1 -1
- package/components/GridLoadingOverlay.mjs +1 -1
- package/components/GridNoColumnsOverlay.d.mts +1 -1
- package/components/GridNoColumnsOverlay.d.ts +1 -1
- package/components/GridNoColumnsOverlay.js +1 -1
- package/components/GridNoColumnsOverlay.mjs +1 -1
- package/components/GridNoResultsOverlay.d.mts +1 -1
- package/components/GridNoResultsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.d.mts +1 -1
- package/components/GridNoRowsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.js +1 -1
- package/components/GridNoRowsOverlay.mjs +1 -1
- package/components/GridRow.js +1 -1
- package/components/GridRow.mjs +1 -1
- package/components/GridRowCount.d.mts +1 -1
- package/components/GridRowCount.d.ts +1 -1
- package/components/GridRowCount.js +1 -1
- package/components/GridRowCount.mjs +1 -1
- package/components/GridRowDragAndDropOverlay.d.mts +1 -1
- package/components/GridRowDragAndDropOverlay.d.ts +1 -1
- package/components/GridSelectedRowCount.d.mts +1 -1
- package/components/GridSelectedRowCount.d.ts +1 -1
- package/components/GridSelectedRowCount.js +1 -1
- package/components/GridSelectedRowCount.mjs +1 -1
- package/components/GridShadowScrollArea.js +1 -1
- package/components/GridShadowScrollArea.mjs +1 -1
- package/components/cell/GridActionsCell.d.mts +1 -1
- package/components/cell/GridActionsCell.d.ts +1 -1
- package/components/cell/GridActionsCell.js +83 -3
- package/components/cell/GridActionsCell.mjs +83 -3
- package/components/cell/GridActionsCellItem.js +75 -1
- package/components/cell/GridActionsCellItem.mjs +74 -0
- package/components/cell/GridBooleanCell.js +1 -1
- package/components/cell/GridBooleanCell.mjs +1 -1
- package/components/cell/GridCell.d.mts +1 -1
- package/components/cell/GridCell.d.ts +1 -1
- package/components/cell/GridCell.js +3 -11
- package/components/cell/GridCell.mjs +3 -11
- package/components/cell/GridEditBooleanCell.js +1 -1
- package/components/cell/GridEditBooleanCell.mjs +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditDateCell.mjs +1 -1
- package/components/cell/GridEditInputCell.js +68 -0
- package/components/cell/GridEditInputCell.mjs +68 -0
- package/components/cell/GridEditLongTextCell.d.mts +3 -0
- package/components/cell/GridEditLongTextCell.d.ts +3 -0
- package/components/cell/GridEditLongTextCell.js +141 -0
- package/components/cell/GridEditLongTextCell.mjs +141 -0
- package/components/cell/GridEditSingleSelectCell.js +1 -1
- package/components/cell/GridEditSingleSelectCell.mjs +1 -1
- package/components/cell/GridFooterCell.d.mts +1 -1
- package/components/cell/GridFooterCell.d.ts +1 -1
- package/components/cell/GridLongTextCell.d.mts +3 -0
- package/components/cell/GridLongTextCell.d.ts +3 -0
- package/components/cell/GridLongTextCell.js +66 -0
- package/components/cell/GridLongTextCell.mjs +66 -0
- package/components/cell/GridSkeletonCell.js +3 -2
- package/components/cell/GridSkeletonCell.mjs +3 -2
- package/components/columnHeaders/GridBaseColumnHeaders.d.mts +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/components/columnHeaders/GridColumnGroupHeader.js +2 -10
- package/components/columnHeaders/GridColumnGroupHeader.mjs +2 -10
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +2 -2
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +2 -2
- package/components/columnHeaders/GridColumnHeaderItem.js +3 -11
- package/components/columnHeaders/GridColumnHeaderItem.mjs +3 -11
- package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +1 -1
- package/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/components/columnSelection/GridHeaderCheckbox.mjs +1 -1
- package/components/columnSelection/GridRowCheckbox.js +1 -1
- package/components/columnSelection/GridRowCheckbox.mjs +1 -1
- package/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.mts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.js +3 -3
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +3 -3
- package/components/containers/GridFooterContainer.d.mts +1 -1
- package/components/containers/GridFooterContainer.d.ts +1 -1
- package/components/containers/GridFooterContainer.js +1 -1
- package/components/containers/GridFooterContainer.mjs +1 -1
- package/components/containers/GridOverlay.d.mts +1 -1
- package/components/containers/GridOverlay.d.ts +1 -1
- package/components/containers/GridOverlay.js +1 -1
- package/components/containers/GridOverlay.mjs +1 -1
- package/components/containers/GridRoot.js +1 -1
- package/components/containers/GridRoot.mjs +1 -1
- package/components/containers/GridRootStyles.js +3 -2
- package/components/containers/GridRootStyles.mjs +3 -2
- package/components/containers/GridToolbarContainer.d.mts +1 -1
- package/components/containers/GridToolbarContainer.d.ts +1 -1
- package/components/containers/GridToolbarContainer.js +1 -1
- package/components/containers/GridToolbarContainer.mjs +1 -1
- package/components/export/ExportCsv.d.mts +1 -1
- package/components/export/ExportCsv.d.ts +1 -1
- package/components/export/ExportCsv.js +1 -1
- package/components/export/ExportCsv.mjs +1 -1
- package/components/export/ExportPrint.d.mts +1 -1
- package/components/export/ExportPrint.d.ts +1 -1
- package/components/export/ExportPrint.js +1 -1
- package/components/export/ExportPrint.mjs +1 -1
- package/components/filterPanel/FilterPanelTrigger.d.mts +1 -1
- package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/components/filterPanel/FilterPanelTrigger.js +3 -3
- package/components/filterPanel/FilterPanelTrigger.mjs +3 -3
- package/components/menu/GridMenu.js +1 -1
- package/components/menu/GridMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnMenu.js +2 -2
- package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
- package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +1 -1
- package/components/panel/GridColumnsPanel.d.mts +1 -1
- package/components/panel/GridColumnsPanel.d.ts +1 -1
- package/components/panel/GridPanel.js +1 -1
- package/components/panel/GridPanel.mjs +1 -1
- package/components/panel/GridPanelContent.d.mts +1 -1
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelContent.js +1 -1
- package/components/panel/GridPanelContent.mjs +1 -1
- package/components/panel/GridPanelContext.d.mts +9 -3
- package/components/panel/GridPanelContext.d.ts +9 -3
- package/components/panel/GridPanelContext.js +40 -7
- package/components/panel/GridPanelContext.mjs +40 -7
- package/components/panel/GridPanelFooter.d.mts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelFooter.js +1 -1
- package/components/panel/GridPanelFooter.mjs +1 -1
- package/components/panel/GridPanelHeader.d.mts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPanelHeader.js +1 -1
- package/components/panel/GridPanelHeader.mjs +1 -1
- package/components/panel/GridPanelWrapper.d.mts +1 -1
- package/components/panel/GridPanelWrapper.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.js +4 -6
- package/components/panel/GridPreferencesPanel.mjs +4 -6
- package/components/panel/filterPanel/GridFilterForm.d.mts +2 -1
- package/components/panel/filterPanel/GridFilterForm.d.ts +2 -1
- package/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterPanel.d.mts +2 -2
- package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
- package/components/quickFilter/QuickFilter.d.mts +2 -2
- package/components/quickFilter/QuickFilter.d.ts +2 -2
- package/components/quickFilter/QuickFilter.js +1 -1
- package/components/quickFilter/QuickFilter.mjs +1 -1
- package/components/quickFilter/QuickFilterClear.d.mts +2 -2
- package/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/components/quickFilter/QuickFilterClear.js +1 -1
- package/components/quickFilter/QuickFilterClear.mjs +1 -1
- package/components/quickFilter/QuickFilterControl.d.mts +2 -2
- package/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/components/quickFilter/QuickFilterControl.js +1 -1
- package/components/quickFilter/QuickFilterControl.mjs +1 -1
- package/components/quickFilter/QuickFilterTrigger.d.mts +2 -2
- package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/components/quickFilter/QuickFilterTrigger.js +1 -1
- package/components/quickFilter/QuickFilterTrigger.mjs +1 -1
- package/components/toolbar/GridToolbar.d.mts +3 -3
- package/components/toolbar/GridToolbar.d.ts +3 -3
- package/components/toolbar/GridToolbar.js +1 -1
- package/components/toolbar/GridToolbar.mjs +1 -1
- package/components/toolbar/GridToolbarColumnsButton.js +3 -3
- package/components/toolbar/GridToolbarColumnsButton.mjs +3 -3
- package/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
- package/components/toolbar/GridToolbarExport.js +3 -3
- package/components/toolbar/GridToolbarExport.mjs +3 -3
- package/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +3 -3
- package/components/toolbar/GridToolbarFilterButton.mjs +3 -3
- package/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +1 -1
- package/components/toolbarV8/GridToolbar.js +8 -3
- package/components/toolbarV8/GridToolbar.mjs +8 -3
- package/components/toolbarV8/Toolbar.d.mts +1 -1
- package/components/toolbarV8/Toolbar.d.ts +1 -1
- package/components/toolbarV8/Toolbar.js +1 -1
- package/components/toolbarV8/Toolbar.mjs +1 -1
- package/components/toolbarV8/ToolbarButton.d.mts +1 -1
- package/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/components/toolbarV8/ToolbarButton.js +1 -1
- package/components/toolbarV8/ToolbarButton.mjs +1 -1
- package/components/virtualization/GridVirtualScrollbar.js +8 -1
- package/components/virtualization/GridVirtualScrollbar.mjs +8 -1
- package/components/virtualization/GridVirtualScroller.js +12 -0
- package/components/virtualization/GridVirtualScroller.mjs +12 -0
- package/components/virtualization/GridVirtualScrollerContent.d.mts +1 -1
- package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.mts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +7 -1
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +7 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +2 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -1
- package/hooks/features/columnResize/useGridColumnResize.js +56 -2
- package/hooks/features/columnResize/useGridColumnResize.mjs +57 -3
- package/hooks/features/columns/gridColumnsSelector.d.mts +1 -1
- package/hooks/features/columns/gridColumnsSelector.d.ts +1 -1
- package/hooks/features/dimensions/useGridDimensions.js +3 -3
- package/hooks/features/dimensions/useGridDimensions.mjs +3 -3
- package/hooks/features/editing/gridEditingSelectors.d.mts +1 -1
- package/hooks/features/editing/gridEditingSelectors.d.ts +1 -1
- package/hooks/features/editing/gridEditingSelectors.mjs +0 -1
- package/hooks/features/editing/utils.d.mts +1 -1
- package/hooks/features/editing/utils.d.ts +1 -1
- package/hooks/features/editing/utils.js +1 -1
- package/hooks/features/editing/utils.mjs +1 -1
- package/hooks/features/filter/gridFilterState.d.mts +1 -1
- package/hooks/features/filter/gridFilterState.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.d.mts +2 -2
- package/hooks/features/filter/gridFilterUtils.d.ts +2 -2
- package/hooks/features/focus/useGridFocus.js +2 -10
- package/hooks/features/focus/useGridFocus.mjs +2 -10
- package/hooks/features/rowSelection/useGridRowSelection.js +0 -3
- package/hooks/features/rowSelection/useGridRowSelection.mjs +0 -3
- package/hooks/features/rows/gridRowSpanningUtils.d.mts +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.js +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.mjs +1 -1
- package/hooks/features/rows/gridRowsUtils.d.mts +1 -1
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowsUtils.js +5 -3
- package/hooks/features/rows/gridRowsUtils.mjs +5 -3
- package/hooks/features/virtualization/useGridVirtualization.d.mts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.js +2 -2
- package/hooks/features/virtualization/useGridVirtualization.mjs +2 -2
- package/hooks/utils/useGridSelector.js +1 -1
- package/hooks/utils/useGridSelector.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/locales/arSD.d.mts +1 -1
- package/locales/arSD.d.ts +1 -1
- package/locales/beBY.d.mts +1 -1
- package/locales/beBY.d.ts +1 -1
- package/locales/bgBG.d.mts +1 -1
- package/locales/bgBG.d.ts +1 -1
- package/locales/bnBD.d.mts +1 -1
- package/locales/bnBD.d.ts +1 -1
- package/locales/caES.d.mts +1 -1
- package/locales/caES.d.ts +1 -1
- package/locales/csCZ.d.mts +1 -1
- package/locales/csCZ.d.ts +1 -1
- package/locales/daDK.d.mts +1 -1
- package/locales/daDK.d.ts +1 -1
- package/locales/deDE.d.mts +1 -1
- package/locales/deDE.d.ts +1 -1
- package/locales/elGR.d.mts +1 -1
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.mts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/esES.d.mts +1 -1
- package/locales/esES.d.ts +1 -1
- package/locales/faIR.d.mts +1 -1
- package/locales/faIR.d.ts +1 -1
- package/locales/fiFI.d.mts +1 -1
- package/locales/fiFI.d.ts +1 -1
- package/locales/frFR.d.mts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/heIL.d.mts +1 -1
- package/locales/heIL.d.ts +1 -1
- package/locales/huHU.d.mts +1 -1
- package/locales/huHU.d.ts +1 -1
- package/locales/hyAM.d.mts +1 -1
- package/locales/hyAM.d.ts +1 -1
- package/locales/idID.d.mts +1 -1
- package/locales/idID.d.ts +1 -1
- package/locales/isIS.d.mts +1 -1
- package/locales/isIS.d.ts +1 -1
- package/locales/itIT.d.mts +1 -1
- package/locales/itIT.d.ts +1 -1
- package/locales/jaJP.d.mts +1 -1
- package/locales/jaJP.d.ts +1 -1
- package/locales/koKR.d.mts +1 -1
- package/locales/koKR.d.ts +1 -1
- package/locales/nbNO.d.mts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/nlNL.d.mts +1 -1
- package/locales/nlNL.d.ts +1 -1
- package/locales/nnNO.d.mts +1 -1
- package/locales/nnNO.d.ts +1 -1
- package/locales/plPL.d.mts +1 -1
- package/locales/plPL.d.ts +1 -1
- package/locales/ptBR.d.mts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.mts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/roRO.d.mts +1 -1
- package/locales/roRO.d.ts +1 -1
- package/locales/ruRU.d.mts +1 -1
- package/locales/ruRU.d.ts +1 -1
- package/locales/skSK.d.mts +1 -1
- package/locales/skSK.d.ts +1 -1
- package/locales/svSE.d.mts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/thTH.d.mts +1 -1
- package/locales/thTH.d.ts +1 -1
- package/locales/trTR.d.mts +1 -1
- package/locales/trTR.d.ts +1 -1
- package/locales/ukUA.d.mts +1 -1
- package/locales/ukUA.d.ts +1 -1
- package/locales/urPK.d.mts +1 -1
- package/locales/urPK.d.ts +1 -1
- package/locales/viVN.d.mts +1 -1
- package/locales/viVN.d.ts +1 -1
- package/locales/zhCN.d.mts +1 -1
- package/locales/zhCN.d.ts +1 -1
- package/locales/zhTW.d.mts +1 -1
- package/locales/zhTW.d.ts +1 -1
- package/material/index.js +5 -3
- package/material/index.mjs +5 -3
- package/material/variables.d.mts +1 -1
- package/material/variables.d.ts +1 -1
- package/package.json +8 -4
- package/utils/createSelector.d.mts +1 -1
- package/utils/createSelector.d.ts +1 -1
- package/utils/focusElement.d.mts +9 -0
- package/utils/focusElement.d.ts +9 -0
- package/utils/focusElement.js +24 -0
- package/utils/focusElement.mjs +19 -0
- package/utils/isJSDOM.d.mts +0 -1
- package/utils/isJSDOM.d.ts +0 -1
- package/utils/isJSDOM.js +0 -7
- package/utils/isJSDOM.mjs +0 -1
|
@@ -95,7 +95,7 @@ function GridFilterInputSingleSelect(props) {
|
|
|
95
95
|
})), headerFilterMenu, clearButton]
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes = {
|
|
98
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes /* remove-proptypes */ = {
|
|
99
99
|
// ----------------------------- Warning --------------------------------
|
|
100
100
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
101
101
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -86,7 +86,7 @@ function sanitizeFilterItemValue(value) {
|
|
|
86
86
|
}
|
|
87
87
|
return String(value);
|
|
88
88
|
}
|
|
89
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
89
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes /* remove-proptypes */ = {
|
|
90
90
|
// ----------------------------- Warning --------------------------------
|
|
91
91
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
92
92
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -79,7 +79,7 @@ function sanitizeFilterItemValue(value) {
|
|
|
79
79
|
}
|
|
80
80
|
return String(value);
|
|
81
81
|
}
|
|
82
|
-
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
82
|
+
process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes /* remove-proptypes */ = {
|
|
83
83
|
// ----------------------------- Warning --------------------------------
|
|
84
84
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
85
85
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { GridFilterItem } from "../../../models/gridFilterItem.mjs";
|
|
4
|
+
import type { GridFilterFormProps } from "./GridFilterForm.mjs";
|
|
5
5
|
import type { GridColDef, GridStateColDef } from "../../../models/colDef/gridColDef.mjs";
|
|
6
6
|
export interface GetColumnForNewFilterArgs {
|
|
7
7
|
currentFilters: GridFilterItem[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { GridFilterItem } from "../../../models/gridFilterItem.js";
|
|
4
|
+
import type { GridFilterFormProps } from "./GridFilterForm.js";
|
|
5
5
|
import type { GridColDef, GridStateColDef } from "../../../models/colDef/gridColDef.js";
|
|
6
6
|
export interface GetColumnForNewFilterArgs {
|
|
7
7
|
currentFilters: GridFilterItem[];
|
|
@@ -195,7 +195,7 @@ const GridFilterPanel = exports.GridFilterPanel = (0, _forwardRef.forwardRef)(fu
|
|
|
195
195
|
}));
|
|
196
196
|
});
|
|
197
197
|
if (process.env.NODE_ENV !== "production") GridFilterPanel.displayName = "GridFilterPanel";
|
|
198
|
-
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes = {
|
|
198
|
+
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes /* remove-proptypes */ = {
|
|
199
199
|
// ----------------------------- Warning --------------------------------
|
|
200
200
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
201
201
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -187,7 +187,7 @@ const GridFilterPanel = forwardRef(function GridFilterPanel(props, ref) {
|
|
|
187
187
|
}));
|
|
188
188
|
});
|
|
189
189
|
if (process.env.NODE_ENV !== "production") GridFilterPanel.displayName = "GridFilterPanel";
|
|
190
|
-
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes = {
|
|
190
|
+
process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes /* remove-proptypes */ = {
|
|
191
191
|
// ----------------------------- Warning --------------------------------
|
|
192
192
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
193
193
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { QuickFilterState } from "./QuickFilterContext.mjs";
|
|
4
4
|
import type { GridFilterModel } from "../../models/index.mjs";
|
|
5
5
|
export type QuickFilterProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'className'> & {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import type { QuickFilterState } from "./QuickFilterContext.js";
|
|
4
4
|
import type { GridFilterModel } from "../../models/index.js";
|
|
5
5
|
export type QuickFilterProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'className'> & {
|
|
6
6
|
/**
|
|
@@ -148,7 +148,7 @@ function QuickFilter(props) {
|
|
|
148
148
|
children: element
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
process.env.NODE_ENV !== "production" ? QuickFilter.propTypes = {
|
|
151
|
+
process.env.NODE_ENV !== "production" ? QuickFilter.propTypes /* remove-proptypes */ = {
|
|
152
152
|
// ----------------------------- Warning --------------------------------
|
|
153
153
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
154
154
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -141,7 +141,7 @@ function QuickFilter(props) {
|
|
|
141
141
|
children: element
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
|
-
process.env.NODE_ENV !== "production" ? QuickFilter.propTypes = {
|
|
144
|
+
process.env.NODE_ENV !== "production" ? QuickFilter.propTypes /* remove-proptypes */ = {
|
|
145
145
|
// ----------------------------- Warning --------------------------------
|
|
146
146
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
147
147
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.mjs";
|
|
5
5
|
export type QuickFilterClearProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.js";
|
|
5
5
|
export type QuickFilterClearProps = Omit<GridSlotProps['baseIconButton'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -57,7 +57,7 @@ const QuickFilterClear = exports.QuickFilterClear = (0, _forwardRef.forwardRef)(
|
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
59
|
if (process.env.NODE_ENV !== "production") QuickFilterClear.displayName = "QuickFilterClear";
|
|
60
|
-
process.env.NODE_ENV !== "production" ? QuickFilterClear.propTypes = {
|
|
60
|
+
process.env.NODE_ENV !== "production" ? QuickFilterClear.propTypes /* remove-proptypes */ = {
|
|
61
61
|
// ----------------------------- Warning --------------------------------
|
|
62
62
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
63
63
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -49,7 +49,7 @@ const QuickFilterClear = forwardRef(function QuickFilterClear(props, ref) {
|
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
if (process.env.NODE_ENV !== "production") QuickFilterClear.displayName = "QuickFilterClear";
|
|
52
|
-
process.env.NODE_ENV !== "production" ? QuickFilterClear.propTypes = {
|
|
52
|
+
process.env.NODE_ENV !== "production" ? QuickFilterClear.propTypes /* remove-proptypes */ = {
|
|
53
53
|
// ----------------------------- Warning --------------------------------
|
|
54
54
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
55
55
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.mjs";
|
|
5
5
|
export type QuickFilterControlProps = Omit<GridSlotProps['baseTextField'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.js";
|
|
5
5
|
export type QuickFilterControlProps = Omit<GridSlotProps['baseTextField'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -94,7 +94,7 @@ const QuickFilterControl = exports.QuickFilterControl = (0, _forwardRef.forwardR
|
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
if (process.env.NODE_ENV !== "production") QuickFilterControl.displayName = "QuickFilterControl";
|
|
97
|
-
process.env.NODE_ENV !== "production" ? QuickFilterControl.propTypes = {
|
|
97
|
+
process.env.NODE_ENV !== "production" ? QuickFilterControl.propTypes /* remove-proptypes */ = {
|
|
98
98
|
// ----------------------------- Warning --------------------------------
|
|
99
99
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
100
100
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -86,7 +86,7 @@ const QuickFilterControl = forwardRef(function QuickFilterControl(props, ref) {
|
|
|
86
86
|
});
|
|
87
87
|
});
|
|
88
88
|
if (process.env.NODE_ENV !== "production") QuickFilterControl.displayName = "QuickFilterControl";
|
|
89
|
-
process.env.NODE_ENV !== "production" ? QuickFilterControl.propTypes = {
|
|
89
|
+
process.env.NODE_ENV !== "production" ? QuickFilterControl.propTypes /* remove-proptypes */ = {
|
|
90
90
|
// ----------------------------- Warning --------------------------------
|
|
91
91
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
92
92
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.mjs";
|
|
5
5
|
export type QuickFilterTriggerProps = Omit<GridSlotProps['baseButton'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
import type { GridSlotProps } from "../../models/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { QuickFilterState } from "./QuickFilterContext.js";
|
|
5
5
|
export type QuickFilterTriggerProps = Omit<GridSlotProps['baseButton'], 'className'> & {
|
|
6
6
|
/**
|
|
7
7
|
* A function to customize rendering of the component.
|
|
@@ -62,7 +62,7 @@ const QuickFilterTrigger = exports.QuickFilterTrigger = (0, _forwardRef.forwardR
|
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
if (process.env.NODE_ENV !== "production") QuickFilterTrigger.displayName = "QuickFilterTrigger";
|
|
65
|
-
process.env.NODE_ENV !== "production" ? QuickFilterTrigger.propTypes = {
|
|
65
|
+
process.env.NODE_ENV !== "production" ? QuickFilterTrigger.propTypes /* remove-proptypes */ = {
|
|
66
66
|
// ----------------------------- Warning --------------------------------
|
|
67
67
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
68
68
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -54,7 +54,7 @@ const QuickFilterTrigger = forwardRef(function QuickFilterTrigger(props, ref) {
|
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
if (process.env.NODE_ENV !== "production") QuickFilterTrigger.displayName = "QuickFilterTrigger";
|
|
57
|
-
process.env.NODE_ENV !== "production" ? QuickFilterTrigger.propTypes = {
|
|
57
|
+
process.env.NODE_ENV !== "production" ? QuickFilterTrigger.propTypes /* remove-proptypes */ = {
|
|
58
58
|
// ----------------------------- Warning --------------------------------
|
|
59
59
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
60
60
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { GridToolbarContainerProps } from "../containers/GridToolbarContainer.mjs";
|
|
2
|
+
import type { GridToolbarExportProps } from "./GridToolbarExport.mjs";
|
|
3
|
+
import type { GridToolbarQuickFilterProps } from "./GridToolbarQuickFilter.mjs";
|
|
4
4
|
export interface GridToolbarProps extends GridToolbarContainerProps, GridToolbarExportProps {
|
|
5
5
|
/**
|
|
6
6
|
* Show the history controls (undo/redo buttons).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { GridToolbarContainerProps } from "../containers/GridToolbarContainer.js";
|
|
2
|
+
import type { GridToolbarExportProps } from "./GridToolbarExport.js";
|
|
3
|
+
import type { GridToolbarQuickFilterProps } from "./GridToolbarQuickFilter.js";
|
|
4
4
|
export interface GridToolbarProps extends GridToolbarContainerProps, GridToolbarExportProps {
|
|
5
5
|
/**
|
|
6
6
|
* Show the history controls (undo/redo buttons).
|
|
@@ -57,7 +57,7 @@ const GridToolbar = exports.GridToolbar = (0, _forwardRef.forwardRef)(function G
|
|
|
57
57
|
}));
|
|
58
58
|
});
|
|
59
59
|
if (process.env.NODE_ENV !== "production") GridToolbar.displayName = "GridToolbar";
|
|
60
|
-
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
60
|
+
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes /* remove-proptypes */ = {
|
|
61
61
|
// ----------------------------- Warning --------------------------------
|
|
62
62
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
63
63
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -51,7 +51,7 @@ const GridToolbar = forwardRef(function GridToolbar(props, ref) {
|
|
|
51
51
|
}));
|
|
52
52
|
});
|
|
53
53
|
if (process.env.NODE_ENV !== "production") GridToolbar.displayName = "GridToolbar";
|
|
54
|
-
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
54
|
+
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes /* remove-proptypes */ = {
|
|
55
55
|
// ----------------------------- Warning --------------------------------
|
|
56
56
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
57
57
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -34,10 +34,10 @@ const GridToolbarColumnsButton = exports.GridToolbarColumnsButton = (0, _forward
|
|
|
34
34
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
35
35
|
const rootProps = (0, _useGridRootProps.useGridRootProps)();
|
|
36
36
|
const {
|
|
37
|
-
|
|
37
|
+
triggers
|
|
38
38
|
} = (0, _GridPanelContext.useGridPanelContext)();
|
|
39
39
|
const preferencePanel = (0, _useGridSelector.useGridSelector)(apiRef, _gridPreferencePanelSelector.gridPreferencePanelStateSelector);
|
|
40
|
-
const handleRef = (0, _useForkRef.default)(ref,
|
|
40
|
+
const handleRef = (0, _useForkRef.default)(ref, triggers.columnsPanel.setRef);
|
|
41
41
|
const showColumns = event => {
|
|
42
42
|
if (preferencePanel.open && preferencePanel.openedPanelValue === _gridPreferencePanelsValue.GridPreferencePanelsValue.columns) {
|
|
43
43
|
apiRef.current.hidePreferences();
|
|
@@ -78,7 +78,7 @@ const GridToolbarColumnsButton = exports.GridToolbarColumnsButton = (0, _forward
|
|
|
78
78
|
}));
|
|
79
79
|
});
|
|
80
80
|
if (process.env.NODE_ENV !== "production") GridToolbarColumnsButton.displayName = "GridToolbarColumnsButton";
|
|
81
|
-
process.env.NODE_ENV !== "production" ? GridToolbarColumnsButton.propTypes = {
|
|
81
|
+
process.env.NODE_ENV !== "production" ? GridToolbarColumnsButton.propTypes /* remove-proptypes */ = {
|
|
82
82
|
// ----------------------------- Warning --------------------------------
|
|
83
83
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
84
84
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -27,10 +27,10 @@ const GridToolbarColumnsButton = forwardRef(function GridToolbarColumnsButton(pr
|
|
|
27
27
|
const apiRef = useGridApiContext();
|
|
28
28
|
const rootProps = useGridRootProps();
|
|
29
29
|
const {
|
|
30
|
-
|
|
30
|
+
triggers
|
|
31
31
|
} = useGridPanelContext();
|
|
32
32
|
const preferencePanel = useGridSelector(apiRef, gridPreferencePanelStateSelector);
|
|
33
|
-
const handleRef = useForkRef(ref,
|
|
33
|
+
const handleRef = useForkRef(ref, triggers.columnsPanel.setRef);
|
|
34
34
|
const showColumns = event => {
|
|
35
35
|
if (preferencePanel.open && preferencePanel.openedPanelValue === GridPreferencePanelsValue.columns) {
|
|
36
36
|
apiRef.current.hidePreferences();
|
|
@@ -71,7 +71,7 @@ const GridToolbarColumnsButton = forwardRef(function GridToolbarColumnsButton(pr
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
if (process.env.NODE_ENV !== "production") GridToolbarColumnsButton.displayName = "GridToolbarColumnsButton";
|
|
74
|
-
process.env.NODE_ENV !== "production" ? GridToolbarColumnsButton.propTypes = {
|
|
74
|
+
process.env.NODE_ENV !== "production" ? GridToolbarColumnsButton.propTypes /* remove-proptypes */ = {
|
|
75
75
|
// ----------------------------- Warning --------------------------------
|
|
76
76
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
77
77
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -116,7 +116,7 @@ const GridToolbarDensitySelector = exports.GridToolbarDensitySelector = (0, _for
|
|
|
116
116
|
});
|
|
117
117
|
});
|
|
118
118
|
if (process.env.NODE_ENV !== "production") GridToolbarDensitySelector.displayName = "GridToolbarDensitySelector";
|
|
119
|
-
process.env.NODE_ENV !== "production" ? GridToolbarDensitySelector.propTypes = {
|
|
119
|
+
process.env.NODE_ENV !== "production" ? GridToolbarDensitySelector.propTypes /* remove-proptypes */ = {
|
|
120
120
|
// ----------------------------- Warning --------------------------------
|
|
121
121
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
122
122
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -109,7 +109,7 @@ const GridToolbarDensitySelector = forwardRef(function GridToolbarDensitySelecto
|
|
|
109
109
|
});
|
|
110
110
|
});
|
|
111
111
|
if (process.env.NODE_ENV !== "production") GridToolbarDensitySelector.displayName = "GridToolbarDensitySelector";
|
|
112
|
-
process.env.NODE_ENV !== "production" ? GridToolbarDensitySelector.propTypes = {
|
|
112
|
+
process.env.NODE_ENV !== "production" ? GridToolbarDensitySelector.propTypes /* remove-proptypes */ = {
|
|
113
113
|
// ----------------------------- Warning --------------------------------
|
|
114
114
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
115
115
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -38,7 +38,7 @@ function GridCsvExportMenuItem(props) {
|
|
|
38
38
|
children: apiRef.current.getLocaleText('toolbarExportCSV')
|
|
39
39
|
}));
|
|
40
40
|
}
|
|
41
|
-
process.env.NODE_ENV !== "production" ? GridCsvExportMenuItem.propTypes = {
|
|
41
|
+
process.env.NODE_ENV !== "production" ? GridCsvExportMenuItem.propTypes /* remove-proptypes */ = {
|
|
42
42
|
// ----------------------------- Warning --------------------------------
|
|
43
43
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
44
44
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -75,7 +75,7 @@ function GridPrintExportMenuItem(props) {
|
|
|
75
75
|
children: apiRef.current.getLocaleText('toolbarExportPrint')
|
|
76
76
|
}));
|
|
77
77
|
}
|
|
78
|
-
process.env.NODE_ENV !== "production" ? GridPrintExportMenuItem.propTypes = {
|
|
78
|
+
process.env.NODE_ENV !== "production" ? GridPrintExportMenuItem.propTypes /* remove-proptypes */ = {
|
|
79
79
|
// ----------------------------- Warning --------------------------------
|
|
80
80
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
81
81
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -124,7 +124,7 @@ const GridToolbarExport = exports.GridToolbarExport = (0, _forwardRef.forwardRef
|
|
|
124
124
|
}));
|
|
125
125
|
});
|
|
126
126
|
if (process.env.NODE_ENV !== "production") GridToolbarExport.displayName = "GridToolbarExport";
|
|
127
|
-
process.env.NODE_ENV !== "production" ? GridToolbarExport.propTypes = {
|
|
127
|
+
process.env.NODE_ENV !== "production" ? GridToolbarExport.propTypes /* remove-proptypes */ = {
|
|
128
128
|
// ----------------------------- Warning --------------------------------
|
|
129
129
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
130
130
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -29,7 +29,7 @@ function GridCsvExportMenuItem(props) {
|
|
|
29
29
|
children: apiRef.current.getLocaleText('toolbarExportCSV')
|
|
30
30
|
}));
|
|
31
31
|
}
|
|
32
|
-
process.env.NODE_ENV !== "production" ? GridCsvExportMenuItem.propTypes = {
|
|
32
|
+
process.env.NODE_ENV !== "production" ? GridCsvExportMenuItem.propTypes /* remove-proptypes */ = {
|
|
33
33
|
// ----------------------------- Warning --------------------------------
|
|
34
34
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
35
35
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -66,7 +66,7 @@ function GridPrintExportMenuItem(props) {
|
|
|
66
66
|
children: apiRef.current.getLocaleText('toolbarExportPrint')
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
69
|
-
process.env.NODE_ENV !== "production" ? GridPrintExportMenuItem.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? GridPrintExportMenuItem.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -115,7 +115,7 @@ const GridToolbarExport = forwardRef(function GridToolbarExport(props, ref) {
|
|
|
115
115
|
}));
|
|
116
116
|
});
|
|
117
117
|
if (process.env.NODE_ENV !== "production") GridToolbarExport.displayName = "GridToolbarExport";
|
|
118
|
-
process.env.NODE_ENV !== "production" ? GridToolbarExport.propTypes = {
|
|
118
|
+
process.env.NODE_ENV !== "production" ? GridToolbarExport.propTypes /* remove-proptypes */ = {
|
|
119
119
|
// ----------------------------- Warning --------------------------------
|
|
120
120
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
121
121
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -81,7 +81,7 @@ const GridToolbarExportContainer = exports.GridToolbarExportContainer = (0, _for
|
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
if (process.env.NODE_ENV !== "production") GridToolbarExportContainer.displayName = "GridToolbarExportContainer";
|
|
84
|
-
process.env.NODE_ENV !== "production" ? GridToolbarExportContainer.propTypes = {
|
|
84
|
+
process.env.NODE_ENV !== "production" ? GridToolbarExportContainer.propTypes /* remove-proptypes */ = {
|
|
85
85
|
// ----------------------------- Warning --------------------------------
|
|
86
86
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
87
87
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -74,7 +74,7 @@ const GridToolbarExportContainer = forwardRef(function GridToolbarExportContaine
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
if (process.env.NODE_ENV !== "production") GridToolbarExportContainer.displayName = "GridToolbarExportContainer";
|
|
77
|
-
process.env.NODE_ENV !== "production" ? GridToolbarExportContainer.propTypes = {
|
|
77
|
+
process.env.NODE_ENV !== "production" ? GridToolbarExportContainer.propTypes /* remove-proptypes */ = {
|
|
78
78
|
// ----------------------------- Warning --------------------------------
|
|
79
79
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
80
80
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -62,9 +62,9 @@ const GridToolbarFilterButton = exports.GridToolbarFilterButton = (0, _forwardRe
|
|
|
62
62
|
const filterButtonId = (0, _useId.default)();
|
|
63
63
|
const filterPanelId = (0, _useId.default)();
|
|
64
64
|
const {
|
|
65
|
-
|
|
65
|
+
triggers
|
|
66
66
|
} = (0, _GridPanelContext.useGridPanelContext)();
|
|
67
|
-
const handleRef = (0, _useForkRef.default)(ref,
|
|
67
|
+
const handleRef = (0, _useForkRef.default)(ref, triggers.filterPanel.setRef);
|
|
68
68
|
const tooltipContentNode = React.useMemo(() => {
|
|
69
69
|
if (preferencePanel.open) {
|
|
70
70
|
return apiRef.current.getLocaleText('toolbarFiltersTooltipHide');
|
|
@@ -142,7 +142,7 @@ const GridToolbarFilterButton = exports.GridToolbarFilterButton = (0, _forwardRe
|
|
|
142
142
|
}));
|
|
143
143
|
});
|
|
144
144
|
if (process.env.NODE_ENV !== "production") GridToolbarFilterButton.displayName = "GridToolbarFilterButton";
|
|
145
|
-
process.env.NODE_ENV !== "production" ? GridToolbarFilterButton.propTypes = {
|
|
145
|
+
process.env.NODE_ENV !== "production" ? GridToolbarFilterButton.propTypes /* remove-proptypes */ = {
|
|
146
146
|
// ----------------------------- Warning --------------------------------
|
|
147
147
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
148
148
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -55,9 +55,9 @@ const GridToolbarFilterButton = forwardRef(function GridToolbarFilterButton(prop
|
|
|
55
55
|
const filterButtonId = useId();
|
|
56
56
|
const filterPanelId = useId();
|
|
57
57
|
const {
|
|
58
|
-
|
|
58
|
+
triggers
|
|
59
59
|
} = useGridPanelContext();
|
|
60
|
-
const handleRef = useForkRef(ref,
|
|
60
|
+
const handleRef = useForkRef(ref, triggers.filterPanel.setRef);
|
|
61
61
|
const tooltipContentNode = React.useMemo(() => {
|
|
62
62
|
if (preferencePanel.open) {
|
|
63
63
|
return apiRef.current.getLocaleText('toolbarFiltersTooltipHide');
|
|
@@ -135,7 +135,7 @@ const GridToolbarFilterButton = forwardRef(function GridToolbarFilterButton(prop
|
|
|
135
135
|
}));
|
|
136
136
|
});
|
|
137
137
|
if (process.env.NODE_ENV !== "production") GridToolbarFilterButton.displayName = "GridToolbarFilterButton";
|
|
138
|
-
process.env.NODE_ENV !== "production" ? GridToolbarFilterButton.propTypes = {
|
|
138
|
+
process.env.NODE_ENV !== "production" ? GridToolbarFilterButton.propTypes /* remove-proptypes */ = {
|
|
139
139
|
// ----------------------------- Warning --------------------------------
|
|
140
140
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
141
141
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -155,7 +155,7 @@ function GridToolbarQuickFilter(props) {
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
process.env.NODE_ENV !== "production" ? GridToolbarQuickFilter.propTypes = {
|
|
158
|
+
process.env.NODE_ENV !== "production" ? GridToolbarQuickFilter.propTypes /* remove-proptypes */ = {
|
|
159
159
|
// ----------------------------- Warning --------------------------------
|
|
160
160
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
161
161
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -148,7 +148,7 @@ function GridToolbarQuickFilter(props) {
|
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
process.env.NODE_ENV !== "production" ? GridToolbarQuickFilter.propTypes = {
|
|
151
|
+
process.env.NODE_ENV !== "production" ? GridToolbarQuickFilter.propTypes /* remove-proptypes */ = {
|
|
152
152
|
// ----------------------------- Warning --------------------------------
|
|
153
153
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
154
154
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -71,7 +71,7 @@ function GridToolbarDivider(props) {
|
|
|
71
71
|
className: classes.divider
|
|
72
72
|
}, other));
|
|
73
73
|
}
|
|
74
|
-
process.env.NODE_ENV !== "production" ? GridToolbarDivider.propTypes = {
|
|
74
|
+
process.env.NODE_ENV !== "production" ? GridToolbarDivider.propTypes /* remove-proptypes */ = {
|
|
75
75
|
// ----------------------------- Warning --------------------------------
|
|
76
76
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
77
77
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -176,14 +176,14 @@ function GridToolbar(props) {
|
|
|
176
176
|
})]
|
|
177
177
|
}));
|
|
178
178
|
}
|
|
179
|
-
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
179
|
+
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes /* remove-proptypes */ = {
|
|
180
180
|
// ----------------------------- Warning --------------------------------
|
|
181
181
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
182
182
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
183
183
|
// ----------------------------------------------------------------------
|
|
184
184
|
additionalExportMenuItems: _propTypes.default.func,
|
|
185
|
-
additionalItems: _propTypes.default.node,
|
|
186
185
|
csvOptions: _propTypes.default.object,
|
|
186
|
+
mainControls: _propTypes.default.node,
|
|
187
187
|
printOptions: _propTypes.default.object,
|
|
188
188
|
/**
|
|
189
189
|
* Props passed to the quick filter component.
|
|
@@ -195,6 +195,11 @@ process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
|
195
195
|
quickFilterParser: _propTypes.default.func,
|
|
196
196
|
slotProps: _propTypes.default.object
|
|
197
197
|
}),
|
|
198
|
+
/**
|
|
199
|
+
* Show the history controls (undo/redo buttons).
|
|
200
|
+
* @default true
|
|
201
|
+
*/
|
|
202
|
+
showHistoryControls: _propTypes.default.bool,
|
|
198
203
|
/**
|
|
199
204
|
* Show the quick filter component.
|
|
200
205
|
* @default true
|
|
@@ -62,7 +62,7 @@ function GridToolbarDivider(props) {
|
|
|
62
62
|
className: classes.divider
|
|
63
63
|
}, other));
|
|
64
64
|
}
|
|
65
|
-
process.env.NODE_ENV !== "production" ? GridToolbarDivider.propTypes = {
|
|
65
|
+
process.env.NODE_ENV !== "production" ? GridToolbarDivider.propTypes /* remove-proptypes */ = {
|
|
66
66
|
// ----------------------------- Warning --------------------------------
|
|
67
67
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
68
68
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -167,14 +167,14 @@ function GridToolbar(props) {
|
|
|
167
167
|
})]
|
|
168
168
|
}));
|
|
169
169
|
}
|
|
170
|
-
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
170
|
+
process.env.NODE_ENV !== "production" ? GridToolbar.propTypes /* remove-proptypes */ = {
|
|
171
171
|
// ----------------------------- Warning --------------------------------
|
|
172
172
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
173
173
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
174
174
|
// ----------------------------------------------------------------------
|
|
175
175
|
additionalExportMenuItems: PropTypes.func,
|
|
176
|
-
additionalItems: PropTypes.node,
|
|
177
176
|
csvOptions: PropTypes.object,
|
|
177
|
+
mainControls: PropTypes.node,
|
|
178
178
|
printOptions: PropTypes.object,
|
|
179
179
|
/**
|
|
180
180
|
* Props passed to the quick filter component.
|
|
@@ -186,6 +186,11 @@ process.env.NODE_ENV !== "production" ? GridToolbar.propTypes = {
|
|
|
186
186
|
quickFilterParser: PropTypes.func,
|
|
187
187
|
slotProps: PropTypes.object
|
|
188
188
|
}),
|
|
189
|
+
/**
|
|
190
|
+
* Show the history controls (undo/redo buttons).
|
|
191
|
+
* @default true
|
|
192
|
+
*/
|
|
193
|
+
showHistoryControls: PropTypes.bool,
|
|
189
194
|
/**
|
|
190
195
|
* Show the quick filter component.
|
|
191
196
|
* @default true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
export type ToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
/**
|
|
5
5
|
* A function to customize rendering of the component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
3
|
export type ToolbarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
/**
|
|
5
5
|
* A function to customize rendering of the component.
|
|
@@ -202,7 +202,7 @@ const Toolbar = exports.Toolbar = (0, _forwardRef.forwardRef)(function Toolbar(p
|
|
|
202
202
|
});
|
|
203
203
|
});
|
|
204
204
|
if (process.env.NODE_ENV !== "production") Toolbar.displayName = "Toolbar";
|
|
205
|
-
process.env.NODE_ENV !== "production" ? Toolbar.propTypes = {
|
|
205
|
+
process.env.NODE_ENV !== "production" ? Toolbar.propTypes /* remove-proptypes */ = {
|
|
206
206
|
// ----------------------------- Warning --------------------------------
|
|
207
207
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
208
208
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -195,7 +195,7 @@ const Toolbar = forwardRef(function Toolbar(props, ref) {
|
|
|
195
195
|
});
|
|
196
196
|
});
|
|
197
197
|
if (process.env.NODE_ENV !== "production") Toolbar.displayName = "Toolbar";
|
|
198
|
-
process.env.NODE_ENV !== "production" ? Toolbar.propTypes = {
|
|
198
|
+
process.env.NODE_ENV !== "production" ? Toolbar.propTypes /* remove-proptypes */ = {
|
|
199
199
|
// ----------------------------- Warning --------------------------------
|
|
200
200
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
201
201
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|