UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

242 lines 17.8 kB
import { ChartOptionalRootSelector } from "../../utils/selectors.js"; import { UseChartInteractionSignature } from "./useChartInteraction.types.js"; export declare const selectorChartsInteractionIsInitialized: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => boolean; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => boolean; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; export declare const selectorChartsInteractionItem: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; export declare const selectorChartsInteractionPointer: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("./useChartInteraction.types.js").Coordinate | null; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; export declare const selectorChartsInteractionPointerX: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => number | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: import("./useChartInteraction.types.js").Coordinate | null) => number | null; memoizedResultFunc: ((resultFuncArgs_0: import("./useChartInteraction.types.js").Coordinate | null) => number | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => number | null; dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("./useChartInteraction.types.js").Coordinate | null; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; export declare const selectorChartsInteractionPointerY: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => number | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: import("./useChartInteraction.types.js").Coordinate | null) => number | null; memoizedResultFunc: ((resultFuncArgs_0: import("./useChartInteraction.types.js").Coordinate | null) => number | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => number | null; dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("./useChartInteraction.types.js").Coordinate | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("./useChartInteraction.types.js").Coordinate | null; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; export declare const selectorChartsInteractionItemIsDefined: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) => boolean; memoizedResultFunc: ((resultFuncArgs_0: import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) => boolean) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => boolean; dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartInteraction.types.js").UseChartInteractionState> & { cacheKey: import("../../models/index.js").ChartStateCacheKey; }) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null; memoizedResultFunc: ((resultFuncArgs_0: { item: null | import("../../../index.js").ChartItemIdentifier<import("../../../index.js").ChartSeriesType>; pointer: import("./useChartInteraction.types.js").Coordinate | null; } | undefined) => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => import("../../../../index.js").ScatterItemIdentifier | import("../../../../index.js").LineItemIdentifier | import("../../../../index.js").BarItemIdentifier | import("../../../../index.js").PieItemIdentifier | import("../../../../index.js").RadarItemIdentifier | null; dependencies: [ChartOptionalRootSelector<UseChartInteractionSignature>]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; };