@mui/x-data-grid 8.15.0 → 8.17.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 +207 -0
- package/DataGrid/DataGrid.js +2 -0
- package/DataGrid/useDataGridComponent.js +1 -1
- package/colDef/gridCheckboxSelectionColDef.js +0 -2
- package/components/GridColumnSortButton.d.ts +1 -1
- package/components/GridFooter.d.ts +2 -3
- package/components/GridFooter.js +0 -2
- package/components/GridHeader.d.ts +1 -2
- package/components/GridHeaders.d.ts +1 -2
- package/components/GridHeaders.js +0 -2
- package/components/GridNoColumnsOverlay.d.ts +2 -3
- package/components/GridNoColumnsOverlay.js +0 -2
- package/components/GridNoResultsOverlay.d.ts +2 -3
- package/components/GridNoResultsOverlay.js +0 -2
- package/components/GridNoRowsOverlay.d.ts +2 -3
- package/components/GridNoRowsOverlay.js +0 -2
- package/components/GridPagination.d.ts +1 -2
- package/components/GridScrollArea.d.ts +1 -2
- package/components/GridScrollShadows.d.ts +1 -2
- package/components/GridScrollbarFillerCell.d.ts +1 -2
- package/components/GridScrollbarFillerCell.js +0 -2
- package/components/base/GridFooterPlaceholder.d.ts +1 -2
- package/components/base/GridFooterPlaceholder.js +0 -2
- package/components/base/GridOverlays.d.ts +1 -1
- package/components/cell/GridActionsCell.d.ts +2 -3
- package/components/cell/GridActionsCell.js +2 -0
- package/components/cell/GridActionsCellItem.js +5 -18
- package/components/cell/GridBooleanCell.d.ts +1 -1
- package/components/cell/GridCell.js +8 -1
- package/components/cell/GridEditBooleanCell.d.ts +2 -2
- package/components/cell/GridEditDateCell.d.ts +2 -2
- package/components/cell/GridEditInputCell.d.ts +1 -1
- package/components/cell/GridEditInputCell.js +0 -68
- package/components/cell/GridEditSingleSelectCell.d.ts +2 -3
- package/components/cell/GridSkeletonCell.d.ts +1 -1
- package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
- package/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
- package/components/menu/GridMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
- package/components/menu/columnMenu/GridColumnMenu.js +0 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
- package/components/panel/GridColumnsPanel.d.ts +1 -2
- package/components/panel/GridColumnsPanel.js +0 -2
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelContext.d.ts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.d.ts +1 -2
- package/components/panel/GridPreferencesPanel.js +0 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
- package/components/quickFilter/QuickFilter.d.ts +1 -1
- package/components/toolbar/GridToolbar.d.ts +1 -2
- package/components/toolbar/GridToolbar.js +0 -2
- package/components/toolbar/GridToolbarExport.d.ts +2 -2
- package/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
- package/components/toolbar/GridToolbarQuickFilter.js +0 -2
- package/components/toolbarV8/GridToolbar.d.ts +3 -3
- package/components/virtualization/GridBottomContainer.d.ts +1 -1
- package/components/virtualization/GridTopContainer.d.ts +1 -1
- package/components/virtualization/GridVirtualScroller.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
- package/context/GridContextProvider.d.ts +1 -1
- package/esm/DataGrid/DataGrid.js +2 -0
- package/esm/DataGrid/useDataGridComponent.js +1 -1
- package/esm/colDef/gridCheckboxSelectionColDef.js +0 -1
- package/esm/components/GridColumnSortButton.d.ts +1 -1
- package/esm/components/GridFooter.d.ts +2 -3
- package/esm/components/GridFooter.js +0 -1
- package/esm/components/GridHeader.d.ts +1 -2
- package/esm/components/GridHeaders.d.ts +1 -2
- package/esm/components/GridHeaders.js +0 -1
- package/esm/components/GridNoColumnsOverlay.d.ts +2 -3
- package/esm/components/GridNoColumnsOverlay.js +0 -1
- package/esm/components/GridNoResultsOverlay.d.ts +2 -3
- package/esm/components/GridNoResultsOverlay.js +0 -1
- package/esm/components/GridNoRowsOverlay.d.ts +2 -3
- package/esm/components/GridNoRowsOverlay.js +0 -1
- package/esm/components/GridPagination.d.ts +1 -2
- package/esm/components/GridScrollArea.d.ts +1 -2
- package/esm/components/GridScrollShadows.d.ts +1 -2
- package/esm/components/GridScrollbarFillerCell.d.ts +1 -2
- package/esm/components/GridScrollbarFillerCell.js +0 -1
- package/esm/components/base/GridFooterPlaceholder.d.ts +1 -2
- package/esm/components/base/GridFooterPlaceholder.js +0 -1
- package/esm/components/base/GridOverlays.d.ts +1 -1
- package/esm/components/cell/GridActionsCell.d.ts +2 -3
- package/esm/components/cell/GridActionsCell.js +2 -0
- package/esm/components/cell/GridActionsCellItem.js +4 -17
- package/esm/components/cell/GridBooleanCell.d.ts +1 -1
- package/esm/components/cell/GridCell.js +8 -1
- package/esm/components/cell/GridEditBooleanCell.d.ts +2 -2
- package/esm/components/cell/GridEditDateCell.d.ts +2 -2
- package/esm/components/cell/GridEditInputCell.d.ts +1 -1
- package/esm/components/cell/GridEditInputCell.js +0 -68
- package/esm/components/cell/GridEditSingleSelectCell.d.ts +2 -3
- package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
- package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnGroupHeader.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/esm/components/columnHeaders/GridColumnHeaderTitle.d.ts +1 -1
- package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -2
- package/esm/components/menu/GridMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +2 -3
- package/esm/components/menu/columnMenu/GridColumnMenu.js +0 -1
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -2
- package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -2
- package/esm/components/panel/GridColumnsPanel.d.ts +1 -2
- package/esm/components/panel/GridColumnsPanel.js +0 -1
- package/esm/components/panel/GridPanelContent.d.ts +1 -1
- package/esm/components/panel/GridPanelContext.d.ts +1 -1
- package/esm/components/panel/GridPanelFooter.d.ts +1 -1
- package/esm/components/panel/GridPanelHeader.d.ts +1 -1
- package/esm/components/panel/GridPreferencesPanel.d.ts +1 -2
- package/esm/components/panel/GridPreferencesPanel.js +0 -1
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +1 -2
- package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -2
- package/esm/components/quickFilter/QuickFilter.d.ts +1 -1
- package/esm/components/toolbar/GridToolbar.d.ts +1 -2
- package/esm/components/toolbar/GridToolbar.js +0 -1
- package/esm/components/toolbar/GridToolbarExport.d.ts +2 -2
- package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +1 -2
- package/esm/components/toolbar/GridToolbarQuickFilter.js +0 -1
- package/esm/components/toolbarV8/GridToolbar.d.ts +3 -3
- package/esm/components/virtualization/GridBottomContainer.d.ts +1 -1
- package/esm/components/virtualization/GridTopContainer.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScroller.d.ts +1 -1
- package/esm/components/virtualization/GridVirtualScrollerFiller.d.ts +1 -2
- package/esm/context/GridContextProvider.d.ts +1 -1
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +5 -0
- package/esm/hooks/features/editing/useGridCellEditable.js +9 -0
- package/esm/hooks/features/editing/useGridEditing.d.ts +2 -1
- package/esm/hooks/features/editing/useGridEditing.js +4 -4
- package/esm/hooks/features/focus/useGridFocus.js +4 -2
- package/esm/hooks/features/pagination/useGridPaginationModel.js +5 -3
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/esm/internals/index.d.ts +2 -0
- package/esm/internals/index.js +1 -0
- package/esm/locales/arSD.js +12 -12
- package/esm/locales/caES.d.ts +2 -0
- package/esm/locales/caES.js +291 -0
- package/esm/locales/esES.js +109 -120
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +1 -0
- package/esm/material/icons/index.d.ts +0 -1
- package/esm/material/icons/index.js +0 -1
- package/esm/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
- package/esm/models/configuration/gridCellEditableConfiguration.js +1 -0
- package/esm/models/configuration/gridConfiguration.d.ts +2 -1
- package/esm/utils/css/context.d.ts +3 -3
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -2
- package/hooks/features/editing/useGridCellEditable.d.ts +5 -0
- package/hooks/features/editing/useGridCellEditable.js +15 -0
- package/hooks/features/editing/useGridEditing.d.ts +2 -1
- package/hooks/features/editing/useGridEditing.js +4 -4
- package/hooks/features/focus/useGridFocus.js +4 -2
- package/hooks/features/pagination/useGridPaginationModel.js +5 -3
- package/hooks/features/rowSelection/useGridRowSelection.js +3 -1
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.d.ts +1 -1
- package/internals/index.d.ts +2 -0
- package/internals/index.js +8 -0
- package/locales/arSD.js +12 -12
- package/locales/caES.d.ts +2 -0
- package/locales/caES.js +297 -0
- package/locales/esES.js +109 -120
- package/locales/index.d.ts +1 -0
- package/locales/index.js +11 -0
- package/material/icons/index.d.ts +0 -1
- package/material/icons/index.js +0 -2
- package/models/configuration/gridCellEditableConfiguration.d.ts +19 -0
- package/models/configuration/gridCellEditableConfiguration.js +5 -0
- package/models/configuration/gridConfiguration.d.ts +2 -1
- package/package.json +3 -3
- package/utils/css/context.d.ts +3 -3
|
@@ -75,7 +75,7 @@ export const useDataGridComponent = (apiRef, props, configuration) => {
|
|
|
75
75
|
useGridParamsApi(apiRef, props, configuration);
|
|
76
76
|
useGridColumnSpanning(apiRef);
|
|
77
77
|
useGridColumnGrouping(apiRef, props);
|
|
78
|
-
useGridEditing(apiRef, props);
|
|
78
|
+
useGridEditing(apiRef, props, configuration);
|
|
79
79
|
useGridFocus(apiRef, props);
|
|
80
80
|
useGridPreferencesPanel(apiRef, props);
|
|
81
81
|
useGridFilter(apiRef, props, configuration);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { GridCellCheckboxRenderer } from "../components/columnSelection/GridCellCheckboxRenderer.js";
|
|
4
3
|
import { GridHeaderCheckbox } from "../components/columnSelection/GridHeaderCheckbox.js";
|
|
5
4
|
import { GRID_BOOLEAN_COL_DEF } from "./gridBooleanColDef.js";
|
|
@@ -9,7 +9,7 @@ export type GridColumnSortButtonProps = GridSlotProps['baseIconButton'] & {
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
11
|
};
|
|
12
|
-
declare function GridColumnSortButton(props: GridColumnSortButtonProps):
|
|
12
|
+
declare function GridColumnSortButton(props: GridColumnSortButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
declare namespace GridColumnSortButton {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridFooterContainerProps } from "./containers/GridFooterContainer.js";
|
|
3
|
-
declare const GridFooter:
|
|
2
|
+
declare const GridFooter: import("react").ForwardRefExoticComponent<GridFooterContainerProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
5
|
-
} &
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
5
|
export { GridFooter };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function GridHeader(): React.JSX.Element;
|
|
1
|
+
export declare function GridHeader(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { fastMemo } from '@mui/x-internals/fastMemo';
|
|
4
3
|
import { useGridPrivateApiContext } from "../hooks/utils/useGridPrivateApiContext.js";
|
|
5
4
|
import { useGridSelector } from "../hooks/utils/useGridSelector.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridOverlayProps } from "./containers/GridOverlay.js";
|
|
3
|
-
declare const GridNoColumnsOverlay:
|
|
2
|
+
declare const GridNoColumnsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
5
|
-
} &
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
5
|
export { GridNoColumnsOverlay };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridOverlayProps } from "./containers/GridOverlay.js";
|
|
3
|
-
export declare const GridNoResultsOverlay:
|
|
2
|
+
export declare const GridNoResultsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
5
|
-
} &
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
4
3
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
|
|
5
4
|
import { GridOverlay } from "./containers/GridOverlay.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridOverlayProps } from "./containers/GridOverlay.js";
|
|
3
|
-
declare const GridNoRowsOverlay:
|
|
2
|
+
declare const GridNoRowsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
4
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
5
|
-
} &
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
5
|
export { GridNoRowsOverlay };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { RefObject } from '@mui/x-internals/types';
|
|
3
2
|
import { GridScrollParams } from "../models/params/gridScrollParams.js";
|
|
4
3
|
interface ScrollAreaProps {
|
|
5
4
|
scrollDirection: 'left' | 'right' | 'up' | 'down';
|
|
6
5
|
scrollPosition: RefObject<GridScrollParams>;
|
|
7
6
|
}
|
|
8
|
-
declare function GridScrollAreaWrapper(props: ScrollAreaProps):
|
|
7
|
+
declare function GridScrollAreaWrapper(props: ScrollAreaProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
8
|
export declare const GridScrollArea: typeof GridScrollAreaWrapper;
|
|
10
9
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
interface GridScrollShadowsProps {
|
|
3
2
|
position: 'vertical' | 'horizontal';
|
|
4
3
|
}
|
|
5
|
-
declare function GridScrollShadows(props: GridScrollShadowsProps):
|
|
4
|
+
declare function GridScrollShadows(props: GridScrollShadowsProps): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { GridScrollShadows };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function GridFooterPlaceholder(): React.JSX.Element | null;
|
|
1
|
+
export declare function GridFooterPlaceholder(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4,7 +4,7 @@ interface GridOverlaysProps {
|
|
|
4
4
|
overlayType: GridOverlayType;
|
|
5
5
|
loadingOverlayVariant: GridLoadingOverlayVariant | null;
|
|
6
6
|
}
|
|
7
|
-
export declare function GridOverlayWrapper(props: React.PropsWithChildren<GridOverlaysProps>):
|
|
7
|
+
export declare function GridOverlayWrapper(props: React.PropsWithChildren<GridOverlaysProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare namespace GridOverlayWrapper {
|
|
9
9
|
var propTypes: any;
|
|
10
10
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridRenderCellParams } from "../../models/params/gridCellParams.js";
|
|
3
2
|
import { GridMenuProps } from "../menu/GridMenu.js";
|
|
4
3
|
interface GridActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
|
|
5
4
|
api?: GridRenderCellParams['api'];
|
|
6
5
|
position?: GridMenuProps['position'];
|
|
7
6
|
}
|
|
8
|
-
declare function GridActionsCell(props: GridActionsCellProps):
|
|
7
|
+
declare function GridActionsCell(props: GridActionsCellProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
declare namespace GridActionsCell {
|
|
10
9
|
var propTypes: any;
|
|
11
10
|
}
|
|
12
11
|
export { GridActionsCell };
|
|
13
|
-
export declare const renderActionsCell: (params: GridRenderCellParams) =>
|
|
12
|
+
export declare const renderActionsCell: (params: GridRenderCellParams) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -104,6 +104,8 @@ function GridActionsCell(props) {
|
|
|
104
104
|
touchRippleRefs.current[index] = instance;
|
|
105
105
|
};
|
|
106
106
|
const handleButtonClick = (index, onClick) => event => {
|
|
107
|
+
event.stopPropagation();
|
|
108
|
+
event.preventDefault();
|
|
107
109
|
setFocusedButtonIndex(index);
|
|
108
110
|
ignoreCallToFocus.current = true;
|
|
109
111
|
if (onClick) {
|
|
@@ -3,7 +3,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["label", "icon", "showInMenu", "onClick"],
|
|
4
4
|
_excluded2 = ["label", "icon", "showInMenu", "onClick", "closeMenuOnClick", "closeMenu"];
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
6
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
8
7
|
import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
|
|
9
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -17,6 +16,8 @@ const GridActionsCellItem = forwardRef((props, ref) => {
|
|
|
17
16
|
} = props,
|
|
18
17
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
19
18
|
const handleClick = event => {
|
|
19
|
+
event.stopPropagation();
|
|
20
|
+
event.preventDefault();
|
|
20
21
|
onClick?.(event);
|
|
21
22
|
};
|
|
22
23
|
return /*#__PURE__*/_jsx(rootProps.slots.baseIconButton, _extends({
|
|
@@ -41,6 +42,8 @@ const GridActionsCellItem = forwardRef((props, ref) => {
|
|
|
41
42
|
} = props,
|
|
42
43
|
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
43
44
|
const handleClick = event => {
|
|
45
|
+
event.stopPropagation();
|
|
46
|
+
event.preventDefault();
|
|
44
47
|
onClick?.(event);
|
|
45
48
|
if (closeMenuOnClick) {
|
|
46
49
|
closeMenu?.();
|
|
@@ -55,20 +58,4 @@ const GridActionsCellItem = forwardRef((props, ref) => {
|
|
|
55
58
|
}));
|
|
56
59
|
});
|
|
57
60
|
if (process.env.NODE_ENV !== "production") GridActionsCellItem.displayName = "GridActionsCellItem";
|
|
58
|
-
process.env.NODE_ENV !== "production" ? GridActionsCellItem.propTypes = {
|
|
59
|
-
// ----------------------------- Warning --------------------------------
|
|
60
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
61
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
62
|
-
// ----------------------------------------------------------------------
|
|
63
|
-
className: PropTypes.string,
|
|
64
|
-
/**
|
|
65
|
-
* from https://mui.com/material-ui/api/button-base/#ButtonBase-prop-component
|
|
66
|
-
*/
|
|
67
|
-
component: PropTypes.elementType,
|
|
68
|
-
disabled: PropTypes.bool,
|
|
69
|
-
icon: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.element, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]),
|
|
70
|
-
label: PropTypes.node,
|
|
71
|
-
showInMenu: PropTypes.bool,
|
|
72
|
-
style: PropTypes.object
|
|
73
|
-
} : void 0;
|
|
74
61
|
export { GridActionsCellItem };
|
|
@@ -4,7 +4,7 @@ import type { GridRenderCellParams } from "../../models/params/gridCellParams.js
|
|
|
4
4
|
interface GridBooleanCellProps extends GridRenderCellParams {
|
|
5
5
|
hideDescendantCount?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare function GridBooleanCellRaw(props: GridBooleanCellProps):
|
|
7
|
+
declare function GridBooleanCellRaw(props: GridBooleanCellProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
declare namespace GridBooleanCellRaw {
|
|
9
9
|
var propTypes: any;
|
|
10
10
|
}
|
|
@@ -115,7 +115,14 @@ const GridCell = forwardRef(function GridCell(props, ref) {
|
|
|
115
115
|
formattedValue: forcedFormattedValue
|
|
116
116
|
});
|
|
117
117
|
cellParams.api = apiRef.current;
|
|
118
|
-
|
|
118
|
+
|
|
119
|
+
// Subscribe to changes of the `isCellEditable` API result to ensure cells re-render.
|
|
120
|
+
// We don't use the result.
|
|
121
|
+
// Subscription will trigger a new call of `getCellParamsForRow` above which will recompute the correct value of `isEditable`.
|
|
122
|
+
// This is to ensure both of the following cases work:
|
|
123
|
+
// - https://github.com/mui/mui-x/issues/19732
|
|
124
|
+
// - https://github.com/mui/mui-x/issues/20143
|
|
125
|
+
useGridSelector(apiRef, () => apiRef.current.isCellEditable(cellParams));
|
|
119
126
|
const isSelected = useGridSelector(apiRef, () => apiRef.current.unstable_applyPipeProcessors('isCellSelected', false, {
|
|
120
127
|
id: rowId,
|
|
121
128
|
field
|
|
@@ -9,9 +9,9 @@ export interface GridEditBooleanCellProps extends GridRenderEditCellParams, Omit
|
|
|
9
9
|
*/
|
|
10
10
|
onValueChange?: (event: React.ChangeEvent<HTMLInputElement>, newValue: boolean) => Promise<void> | void;
|
|
11
11
|
}
|
|
12
|
-
declare function GridEditBooleanCell(props: GridEditBooleanCellProps):
|
|
12
|
+
declare function GridEditBooleanCell(props: GridEditBooleanCellProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare namespace GridEditBooleanCell {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
16
16
|
export { GridEditBooleanCell };
|
|
17
|
-
export declare const renderEditBooleanCell: (params: GridEditBooleanCellProps) =>
|
|
17
|
+
export declare const renderEditBooleanCell: (params: GridEditBooleanCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,9 +13,9 @@ export interface GridEditDateCellProps extends GridRenderEditCellParams {
|
|
|
13
13
|
root?: Partial<GridSlotProps['baseInput']>;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
declare function GridEditDateCell(props: GridEditDateCellProps):
|
|
16
|
+
declare function GridEditDateCell(props: GridEditDateCellProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
declare namespace GridEditDateCell {
|
|
18
18
|
var propTypes: any;
|
|
19
19
|
}
|
|
20
20
|
export { GridEditDateCell };
|
|
21
|
-
export declare const renderEditDateCell: (params: GridRenderEditCellParams) =>
|
|
21
|
+
export declare const renderEditDateCell: (params: GridRenderEditCellParams) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface GridEditInputCellProps extends GridRenderEditCellParams {
|
|
|
16
16
|
}
|
|
17
17
|
declare const GridEditInputCell: React.ForwardRefExoticComponent<GridEditInputCellProps> | React.ForwardRefExoticComponent<Omit<GridEditInputCellProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
18
18
|
export { GridEditInputCell };
|
|
19
|
-
export declare const renderEditInputCell: (params: GridEditInputCellProps) =>
|
|
19
|
+
export declare const renderEditInputCell: (params: GridEditInputCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "isValidating", "debounceMs", "isProcessingProps", "onValueChange", "slotProps"];
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import PropTypes from 'prop-types';
|
|
8
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
8
|
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
10
9
|
import { styled } from '@mui/material/styles';
|
|
@@ -101,73 +100,6 @@ const GridEditInputCell = forwardRef((props, ref) => {
|
|
|
101
100
|
}));
|
|
102
101
|
});
|
|
103
102
|
if (process.env.NODE_ENV !== "production") GridEditInputCell.displayName = "GridEditInputCell";
|
|
104
|
-
process.env.NODE_ENV !== "production" ? GridEditInputCell.propTypes = {
|
|
105
|
-
// ----------------------------- Warning --------------------------------
|
|
106
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
107
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
108
|
-
// ----------------------------------------------------------------------
|
|
109
|
-
/**
|
|
110
|
-
* GridApi that let you manipulate the grid.
|
|
111
|
-
*/
|
|
112
|
-
api: PropTypes.object.isRequired,
|
|
113
|
-
/**
|
|
114
|
-
* The mode of the cell.
|
|
115
|
-
*/
|
|
116
|
-
cellMode: PropTypes.oneOf(['edit', 'view']).isRequired,
|
|
117
|
-
changeReason: PropTypes.oneOf(['debouncedSetEditCellValue', 'setEditCellValue']),
|
|
118
|
-
/**
|
|
119
|
-
* The column of the row that the current cell belongs to.
|
|
120
|
-
*/
|
|
121
|
-
colDef: PropTypes.object.isRequired,
|
|
122
|
-
debounceMs: PropTypes.number,
|
|
123
|
-
/**
|
|
124
|
-
* The column field of the cell that triggered the event.
|
|
125
|
-
*/
|
|
126
|
-
field: PropTypes.string.isRequired,
|
|
127
|
-
/**
|
|
128
|
-
* The cell value formatted with the column valueFormatter.
|
|
129
|
-
*/
|
|
130
|
-
formattedValue: PropTypes.any,
|
|
131
|
-
/**
|
|
132
|
-
* If true, the cell is the active element.
|
|
133
|
-
*/
|
|
134
|
-
hasFocus: PropTypes.bool.isRequired,
|
|
135
|
-
/**
|
|
136
|
-
* The grid row id.
|
|
137
|
-
*/
|
|
138
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
139
|
-
/**
|
|
140
|
-
* If true, the cell is editable.
|
|
141
|
-
*/
|
|
142
|
-
isEditable: PropTypes.bool,
|
|
143
|
-
isProcessingProps: PropTypes.bool,
|
|
144
|
-
isValidating: PropTypes.bool,
|
|
145
|
-
/**
|
|
146
|
-
* Callback called when the value is changed by the user.
|
|
147
|
-
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
148
|
-
* @param {Date | null} newValue The value that is going to be passed to `apiRef.current.setEditCellValue`.
|
|
149
|
-
* @returns {Promise<void> | void} A promise to be awaited before calling `apiRef.current.setEditCellValue`
|
|
150
|
-
*/
|
|
151
|
-
onValueChange: PropTypes.func,
|
|
152
|
-
/**
|
|
153
|
-
* The row model of the row that the current cell belongs to.
|
|
154
|
-
*/
|
|
155
|
-
row: PropTypes.any.isRequired,
|
|
156
|
-
/**
|
|
157
|
-
* The node of the row that the current cell belongs to.
|
|
158
|
-
*/
|
|
159
|
-
rowNode: PropTypes.object.isRequired,
|
|
160
|
-
slotProps: PropTypes.object,
|
|
161
|
-
/**
|
|
162
|
-
* the tabIndex value.
|
|
163
|
-
*/
|
|
164
|
-
tabIndex: PropTypes.oneOf([-1, 0]).isRequired,
|
|
165
|
-
/**
|
|
166
|
-
* The cell value.
|
|
167
|
-
* If the column has `valueGetter`, use `params.row` to directly access the fields.
|
|
168
|
-
*/
|
|
169
|
-
value: PropTypes.any
|
|
170
|
-
} : void 0;
|
|
171
103
|
export { GridEditInputCell };
|
|
172
104
|
export const renderEditInputCell = params => /*#__PURE__*/_jsx(GridEditInputCell, _extends({}, params));
|
|
173
105
|
if (process.env.NODE_ENV !== "production") renderEditInputCell.displayName = "renderEditInputCell";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import type { GridSlotProps } from "../../models/gridSlotsComponentsProps.js";
|
|
3
2
|
import { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
|
|
4
3
|
export interface GridEditSingleSelectCellProps extends GridRenderEditCellParams {
|
|
@@ -14,9 +13,9 @@ export interface GridEditSingleSelectCellProps extends GridRenderEditCellParams
|
|
|
14
13
|
*/
|
|
15
14
|
initialOpen?: boolean;
|
|
16
15
|
}
|
|
17
|
-
declare function GridEditSingleSelectCell(props: GridEditSingleSelectCellProps):
|
|
16
|
+
declare function GridEditSingleSelectCell(props: GridEditSingleSelectCellProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
17
|
declare namespace GridEditSingleSelectCell {
|
|
19
18
|
var propTypes: any;
|
|
20
19
|
}
|
|
21
20
|
export { GridEditSingleSelectCell };
|
|
22
|
-
export declare const renderEditSingleSelectCell: (params: GridEditSingleSelectCellProps) =>
|
|
21
|
+
export declare const renderEditSingleSelectCell: (params: GridEditSingleSelectCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,7 +12,7 @@ export interface GridSkeletonCellProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
12
12
|
*/
|
|
13
13
|
empty?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare function GridSkeletonCell(props: GridSkeletonCellProps):
|
|
15
|
+
declare function GridSkeletonCell(props: GridSkeletonCellProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
declare namespace GridSkeletonCell {
|
|
17
17
|
var propTypes: any;
|
|
18
18
|
}
|
|
@@ -7,4 +7,4 @@ export interface ColumnHeaderMenuIconProps {
|
|
|
7
7
|
open: boolean;
|
|
8
8
|
iconButtonRef: React.RefObject<HTMLButtonElement | null>;
|
|
9
9
|
}
|
|
10
|
-
export declare const ColumnHeaderMenuIcon: React.MemoExoticComponent<(props: ColumnHeaderMenuIconProps) =>
|
|
10
|
+
export declare const ColumnHeaderMenuIcon: React.MemoExoticComponent<(props: ColumnHeaderMenuIconProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -17,5 +17,5 @@ interface GridColumnGroupHeaderProps {
|
|
|
17
17
|
pinnedPosition: PinnedColumnPosition | undefined;
|
|
18
18
|
pinnedOffset?: number;
|
|
19
19
|
}
|
|
20
|
-
declare function GridColumnGroupHeader(props: GridColumnGroupHeaderProps):
|
|
20
|
+
declare function GridColumnGroupHeader(props: GridColumnGroupHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export { GridColumnGroupHeader };
|
|
@@ -5,7 +5,7 @@ export interface ColumnHeaderFilterIconButtonProps {
|
|
|
5
5
|
counter?: number;
|
|
6
6
|
onClick?: (params: GridColumnHeaderParams, event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
7
7
|
}
|
|
8
|
-
declare function GridColumnHeaderFilterIconButtonWrapped(props: ColumnHeaderFilterIconButtonProps):
|
|
8
|
+
declare function GridColumnHeaderFilterIconButtonWrapped(props: ColumnHeaderFilterIconButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
declare namespace GridColumnHeaderFilterIconButtonWrapped {
|
|
10
10
|
var propTypes: any;
|
|
11
11
|
}
|
|
@@ -25,7 +25,7 @@ interface GridColumnHeaderItemProps {
|
|
|
25
25
|
showLeftBorder: boolean;
|
|
26
26
|
showRightBorder: boolean;
|
|
27
27
|
}
|
|
28
|
-
declare function GridColumnHeaderItem(props: GridColumnHeaderItemProps):
|
|
28
|
+
declare function GridColumnHeaderItem(props: GridColumnHeaderItemProps): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
declare namespace GridColumnHeaderItem {
|
|
30
30
|
var propTypes: any;
|
|
31
31
|
}
|
|
@@ -9,7 +9,7 @@ export interface GridColumnHeaderSeparatorProps extends React.HTMLAttributes<HTM
|
|
|
9
9
|
height: number;
|
|
10
10
|
side?: GridColumnHeaderSeparatorSides;
|
|
11
11
|
}
|
|
12
|
-
declare function GridColumnHeaderSeparatorRaw(props: GridColumnHeaderSeparatorProps):
|
|
12
|
+
declare function GridColumnHeaderSeparatorRaw(props: GridColumnHeaderSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare namespace GridColumnHeaderSeparatorRaw {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridColumnSortButtonProps } from "../GridColumnSortButton.js";
|
|
3
3
|
export interface GridColumnHeaderSortIconProps extends GridColumnSortButtonProps {}
|
|
4
|
-
declare function GridColumnHeaderSortIconRaw(props: GridColumnHeaderSortIconProps):
|
|
4
|
+
declare function GridColumnHeaderSortIconRaw(props: GridColumnHeaderSortIconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace GridColumnHeaderSortIconRaw {
|
|
6
6
|
var propTypes: any;
|
|
7
7
|
}
|
|
@@ -4,7 +4,7 @@ export interface GridColumnHeaderTitleProps {
|
|
|
4
4
|
columnWidth: number;
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare function GridColumnHeaderTitle(props: GridColumnHeaderTitleProps):
|
|
7
|
+
declare function GridColumnHeaderTitle(props: GridColumnHeaderTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare namespace GridColumnHeaderTitle {
|
|
9
9
|
var propTypes: any;
|
|
10
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { TextFieldProps } from "../../models/gridBaseSlots.js";
|
|
3
2
|
import type { DataGridProcessedProps } from "../../models/props/DataGridProps.js";
|
|
4
3
|
import type { GridColDef } from "../../models/colDef/gridColDef.js";
|
|
@@ -44,7 +43,7 @@ export interface GridColumnsManagementProps {
|
|
|
44
43
|
*/
|
|
45
44
|
getTogglableColumns?: (columns: GridColDef[]) => GridColDef['field'][];
|
|
46
45
|
}
|
|
47
|
-
declare function GridColumnsManagement(props: GridColumnsManagementProps):
|
|
46
|
+
declare function GridColumnsManagement(props: GridColumnsManagementProps): import("react/jsx-runtime").JSX.Element;
|
|
48
47
|
declare namespace GridColumnsManagement {
|
|
49
48
|
var propTypes: any;
|
|
50
49
|
}
|
|
@@ -8,7 +8,7 @@ export interface GridMenuProps extends Pick<PopperProps, 'className' | 'onExited
|
|
|
8
8
|
position?: MenuPosition;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
}
|
|
11
|
-
declare function GridMenu(props: GridMenuProps):
|
|
11
|
+
declare function GridMenu(props: GridMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare namespace GridMenu {
|
|
13
13
|
var propTypes: any;
|
|
14
14
|
}
|
|
@@ -19,7 +19,7 @@ declare function GridColumnHeaderMenu({
|
|
|
19
19
|
open,
|
|
20
20
|
target,
|
|
21
21
|
onExited
|
|
22
|
-
}: GridColumnHeaderMenuProps):
|
|
22
|
+
}: GridColumnHeaderMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
|
23
23
|
declare namespace GridColumnHeaderMenu {
|
|
24
24
|
var propTypes: any;
|
|
25
25
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuColumnsItem } from "./menuItems/GridColumnMenuColumnsItem.js";
|
|
3
2
|
import { GridColumnMenuFilterItem } from "./menuItems/GridColumnMenuFilterItem.js";
|
|
4
3
|
import { GridColumnMenuSortItem } from "./menuItems/GridColumnMenuSortItem.js";
|
|
@@ -19,6 +18,6 @@ export declare const GRID_COLUMN_MENU_SLOT_PROPS: {
|
|
|
19
18
|
displayOrder: number;
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
|
-
declare const GridGenericColumnMenu:
|
|
23
|
-
declare const GridColumnMenu:
|
|
21
|
+
declare const GridGenericColumnMenu: import("react").ForwardRefExoticComponent<GridGenericColumnMenuProps> | import("react").ForwardRefExoticComponent<GridGenericColumnMenuProps & import("react").RefAttributes<HTMLUListElement>>;
|
|
22
|
+
declare const GridColumnMenu: import("react").ForwardRefExoticComponent<GridColumnMenuProps> | import("react").ForwardRefExoticComponent<GridColumnMenuProps & import("react").RefAttributes<HTMLUListElement>>;
|
|
24
23
|
export { GridColumnMenu, GridGenericColumnMenu };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["defaultSlots", "defaultSlotProps", "slots", "slotProps"];
|
|
4
|
-
import * as React from 'react';
|
|
5
4
|
import PropTypes from 'prop-types';
|
|
6
5
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
7
6
|
import { useGridColumnMenuSlots } from "../../../hooks/features/columnMenu/useGridColumnMenuSlots.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
3
|
-
declare function GridColumnMenuColumnsItem(props: GridColumnMenuItemProps):
|
|
2
|
+
declare function GridColumnMenuColumnsItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
declare namespace GridColumnMenuColumnsItem {
|
|
5
4
|
var propTypes: any;
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
3
|
-
declare function GridColumnMenuFilterItem(props: GridColumnMenuItemProps):
|
|
2
|
+
declare function GridColumnMenuFilterItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
declare namespace GridColumnMenuFilterItem {
|
|
5
4
|
var propTypes: any;
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
3
|
-
declare function GridColumnMenuHideItem(props: GridColumnMenuItemProps):
|
|
2
|
+
declare function GridColumnMenuHideItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
declare namespace GridColumnMenuHideItem {
|
|
5
4
|
var propTypes: any;
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
3
|
-
declare function GridColumnMenuManageItem(props: GridColumnMenuItemProps):
|
|
2
|
+
declare function GridColumnMenuManageItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
declare namespace GridColumnMenuManageItem {
|
|
5
4
|
var propTypes: any;
|
|
6
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridColumnMenuItemProps } from "../GridColumnMenuItemProps.js";
|
|
3
|
-
declare function GridColumnMenuSortItem(props: GridColumnMenuItemProps):
|
|
2
|
+
declare function GridColumnMenuSortItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
declare namespace GridColumnMenuSortItem {
|
|
5
4
|
var propTypes: any;
|
|
6
5
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { GridPanelWrapperProps } from "./GridPanelWrapper.js";
|
|
3
2
|
export interface GridColumnsPanelProps extends GridPanelWrapperProps {}
|
|
4
|
-
declare function GridColumnsPanel(props: GridColumnsPanelProps):
|
|
3
|
+
declare function GridColumnsPanel(props: GridColumnsPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export { GridColumnsPanel };
|