@mui/x-charts 8.1.0 → 8.3.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/BarChart/BarChart.js +1 -1
- package/BarChart/BarLabel/BarLabel.types.d.ts +1 -1
- package/BarChart/BarLabel/BarLabelPlot.d.ts +1 -1
- package/BarChart/BarLabel/barLabelClasses.d.ts +1 -1
- package/BarChart/BarLabel/index.d.ts +4 -4
- package/BarChart/checkScaleErrors.d.ts +3 -3
- package/BarChart/checkScaleErrors.js +4 -4
- package/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/BarChart/seriesConfig/seriesProcessor.js +2 -2
- package/BarChart/seriesConfig/tooltip.d.ts +1 -1
- package/BarChart/types.d.ts +2 -2
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +20 -2
- package/CHANGELOG.md +233 -7
- package/ChartContainer/ChartContainer.js +1 -1
- package/ChartContainer/useChartContainerProps.d.ts +1 -1
- package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -1
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -1
- package/ChartsClipPath/ChartsClipPath.d.ts +8 -0
- package/ChartsClipPath/ChartsClipPath.js +8 -0
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.js +8 -4
- package/ChartsLabel/index.d.ts +4 -4
- package/ChartsLabel/labelClasses.d.ts +1 -1
- package/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/ChartsLegend/ChartsLegend.d.ts +2 -2
- package/ChartsLegend/ContinuousColorLegend.d.ts +1 -1
- package/ChartsLegend/PiecewiseColorLegend.d.ts +1 -1
- package/ChartsLegend/chartsLegend.types.d.ts +1 -1
- package/ChartsLegend/chartsLegendClasses.d.ts +2 -2
- package/ChartsLegend/continuousColorLegendClasses.d.ts +2 -2
- package/ChartsLegend/index.d.ts +4 -4
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +2 -2
- package/ChartsLegend/useAxis.d.ts +2 -2
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
- package/ChartsLocalizationProvider/index.d.ts +1 -1
- package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
- package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
- package/ChartsOverlay/index.d.ts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.js +2 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
- package/ChartsText/index.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltipContainer.js +1 -0
- package/ChartsTooltip/index.d.ts +3 -3
- package/ChartsTooltip/useAxisTooltip.d.ts +2 -2
- package/LineChart/AnimatedArea.d.ts +1 -1
- package/LineChart/AnimatedLine.d.ts +1 -1
- package/LineChart/AppearingMask.js +1 -2
- package/LineChart/AreaPlot.js +2 -2
- package/LineChart/CircleMarkElement.d.ts +10 -0
- package/LineChart/CircleMarkElement.js +5 -15
- package/LineChart/LineChart.js +1 -1
- package/LineChart/LineHighlightPlot.js +1 -1
- package/LineChart/LinePlot.js +2 -2
- package/LineChart/MarkElement.d.ts +10 -0
- package/LineChart/MarkElement.js +15 -15
- package/LineChart/MarkPlot.js +19 -3
- package/LineChart/index.d.ts +1 -1
- package/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/LineChart/seriesConfig/seriesProcessor.js +2 -2
- package/LineChart/seriesConfig/tooltip.d.ts +1 -1
- package/LineChart/useLineChartProps.d.ts +2 -2
- package/PieChart/PieArcLabel.js +3 -4
- package/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/PieChart/seriesConfig/tooltip.d.ts +1 -1
- package/RadarChart/RadarGrid/index.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -3
- package/RadarChart/index.d.ts +2 -2
- package/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/RadarChart/seriesConfig/tooltip.d.ts +1 -1
- package/RadarChart/useRadarChartProps.d.ts +2 -2
- package/ScatterChart/ScatterChart.js +1 -1
- package/ScatterChart/ScatterMarker.types.d.ts +1 -1
- package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.js +1 -1
- package/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
- package/ScatterChart/useScatterChartProps.d.ts +3 -3
- package/SparkLineChart/SparkLineChart.d.ts +19 -0
- package/SparkLineChart/SparkLineChart.js +53 -16
- package/Toolbar/Toolbar.d.ts +5 -0
- package/Toolbar/Toolbar.js +34 -0
- package/Toolbar/ToolbarButton.d.ts +5 -0
- package/Toolbar/ToolbarButton.js +27 -0
- package/Toolbar/index.d.ts +2 -0
- package/Toolbar/index.js +27 -0
- package/colorPalettes/categorical/blueberryTwilight.d.ts +4 -0
- package/colorPalettes/categorical/blueberryTwilight.js +10 -0
- package/colorPalettes/categorical/cheerfulFiesta.d.ts +4 -0
- package/colorPalettes/categorical/cheerfulFiesta.js +10 -0
- package/colorPalettes/categorical/mangoFusion.d.ts +4 -0
- package/colorPalettes/categorical/mangoFusion.js +10 -0
- package/colorPalettes/categorical/rainbowSurge.d.ts +4 -0
- package/colorPalettes/categorical/rainbowSurge.js +10 -0
- package/colorPalettes/index.d.ts +14 -1
- package/colorPalettes/index.js +147 -4
- package/colorPalettes/sequential/blue.d.ts +4 -0
- package/colorPalettes/sequential/blue.js +12 -0
- package/colorPalettes/sequential/cyan.d.ts +4 -0
- package/colorPalettes/sequential/cyan.js +12 -0
- package/colorPalettes/sequential/green.d.ts +4 -0
- package/colorPalettes/sequential/green.js +12 -0
- package/colorPalettes/sequential/orange.d.ts +4 -0
- package/colorPalettes/sequential/orange.js +12 -0
- package/colorPalettes/sequential/pink.d.ts +4 -0
- package/colorPalettes/sequential/pink.js +12 -0
- package/colorPalettes/sequential/purple.d.ts +4 -0
- package/colorPalettes/sequential/purple.js +12 -0
- package/colorPalettes/sequential/red.d.ts +4 -0
- package/colorPalettes/sequential/red.js +12 -0
- package/colorPalettes/sequential/strawberrySky.d.ts +4 -0
- package/colorPalettes/sequential/strawberrySky.js +10 -0
- package/colorPalettes/sequential/yellow.d.ts +4 -0
- package/colorPalettes/sequential/yellow.js +12 -0
- package/colorPalettes/types.d.ts +4 -0
- package/colorPalettes/types.js +5 -0
- package/context/ChartProvider/ChartContext.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.types.d.ts +6 -6
- package/context/ChartProvider/useChartContext.js +1 -1
- package/context/index.d.ts +1 -1
- package/esm/BarChart/BarChart.js +1 -1
- package/esm/BarChart/BarLabel/BarLabel.types.d.ts +1 -1
- package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +1 -1
- package/esm/BarChart/BarLabel/barLabelClasses.d.ts +1 -1
- package/esm/BarChart/BarLabel/index.d.ts +4 -4
- package/esm/BarChart/checkScaleErrors.d.ts +3 -3
- package/esm/BarChart/checkScaleErrors.js +4 -4
- package/esm/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/BarChart/seriesConfig/seriesProcessor.js +2 -2
- package/esm/BarChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/BarChart/types.d.ts +2 -2
- package/esm/BarChart/useBarChartProps.d.ts +2 -2
- package/esm/BarChart/useBarChartProps.js +20 -2
- package/esm/ChartContainer/ChartContainer.js +1 -1
- package/esm/ChartContainer/useChartContainerProps.d.ts +1 -1
- package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -1
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -1
- package/esm/ChartsClipPath/ChartsClipPath.d.ts +8 -0
- package/esm/ChartsClipPath/ChartsClipPath.js +8 -0
- package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/esm/ChartsLabel/ChartsLabelMark.js +8 -4
- package/esm/ChartsLabel/index.d.ts +4 -4
- package/esm/ChartsLabel/labelClasses.d.ts +1 -1
- package/esm/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/esm/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +1 -1
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +1 -1
- package/esm/ChartsLegend/chartsLegend.types.d.ts +1 -1
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +2 -2
- package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +2 -2
- package/esm/ChartsLegend/index.d.ts +4 -4
- package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +2 -2
- package/esm/ChartsLegend/useAxis.d.ts +2 -2
- package/esm/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
- package/esm/ChartsLocalizationProvider/index.d.ts +1 -1
- package/esm/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
- package/esm/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
- package/esm/ChartsOverlay/index.d.ts +1 -1
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +2 -2
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +1 -1
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +1 -1
- package/esm/ChartsText/index.d.ts +2 -2
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +1 -0
- package/esm/ChartsTooltip/index.d.ts +3 -3
- package/esm/ChartsTooltip/useAxisTooltip.d.ts +2 -2
- package/esm/LineChart/AnimatedArea.d.ts +1 -1
- package/esm/LineChart/AnimatedLine.d.ts +1 -1
- package/esm/LineChart/AppearingMask.js +1 -2
- package/esm/LineChart/AreaPlot.js +2 -2
- package/esm/LineChart/CircleMarkElement.d.ts +10 -0
- package/esm/LineChart/CircleMarkElement.js +5 -15
- package/esm/LineChart/LineChart.js +1 -1
- package/esm/LineChart/LineHighlightPlot.js +1 -1
- package/esm/LineChart/LinePlot.js +2 -2
- package/esm/LineChart/MarkElement.d.ts +10 -0
- package/esm/LineChart/MarkElement.js +15 -15
- package/esm/LineChart/MarkPlot.js +20 -4
- package/esm/LineChart/index.d.ts +1 -1
- package/esm/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/LineChart/seriesConfig/seriesProcessor.js +2 -2
- package/esm/LineChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/LineChart/useLineChartProps.d.ts +2 -2
- package/esm/PieChart/PieArcLabel.js +3 -4
- package/esm/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/PieChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/index.d.ts +1 -1
- package/esm/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -3
- package/esm/RadarChart/index.d.ts +2 -2
- package/esm/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/RadarChart/useRadarChartProps.d.ts +2 -2
- package/esm/ScatterChart/ScatterChart.js +1 -1
- package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/seriesProcessor.js +1 -1
- package/esm/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
- package/esm/ScatterChart/useScatterChartProps.d.ts +3 -3
- package/esm/SparkLineChart/SparkLineChart.d.ts +19 -0
- package/esm/SparkLineChart/SparkLineChart.js +53 -16
- package/esm/Toolbar/Toolbar.d.ts +5 -0
- package/esm/Toolbar/Toolbar.js +27 -0
- package/esm/Toolbar/ToolbarButton.d.ts +5 -0
- package/esm/Toolbar/ToolbarButton.js +20 -0
- package/esm/Toolbar/index.d.ts +2 -0
- package/esm/Toolbar/index.js +2 -0
- package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +4 -0
- package/esm/colorPalettes/categorical/blueberryTwilight.js +3 -0
- package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +4 -0
- package/esm/colorPalettes/categorical/cheerfulFiesta.js +3 -0
- package/esm/colorPalettes/categorical/mangoFusion.d.ts +4 -0
- package/esm/colorPalettes/categorical/mangoFusion.js +3 -0
- package/esm/colorPalettes/categorical/rainbowSurge.d.ts +4 -0
- package/esm/colorPalettes/categorical/rainbowSurge.js +3 -0
- package/esm/colorPalettes/index.d.ts +14 -1
- package/esm/colorPalettes/index.js +20 -1
- package/esm/colorPalettes/sequential/blue.d.ts +4 -0
- package/esm/colorPalettes/sequential/blue.js +5 -0
- package/esm/colorPalettes/sequential/cyan.d.ts +4 -0
- package/esm/colorPalettes/sequential/cyan.js +5 -0
- package/esm/colorPalettes/sequential/green.d.ts +4 -0
- package/esm/colorPalettes/sequential/green.js +5 -0
- package/esm/colorPalettes/sequential/orange.d.ts +4 -0
- package/esm/colorPalettes/sequential/orange.js +5 -0
- package/esm/colorPalettes/sequential/pink.d.ts +4 -0
- package/esm/colorPalettes/sequential/pink.js +5 -0
- package/esm/colorPalettes/sequential/purple.d.ts +4 -0
- package/esm/colorPalettes/sequential/purple.js +5 -0
- package/esm/colorPalettes/sequential/red.d.ts +4 -0
- package/esm/colorPalettes/sequential/red.js +5 -0
- package/esm/colorPalettes/sequential/strawberrySky.d.ts +4 -0
- package/esm/colorPalettes/sequential/strawberrySky.js +3 -0
- package/esm/colorPalettes/sequential/yellow.d.ts +4 -0
- package/esm/colorPalettes/sequential/yellow.js +5 -0
- package/esm/colorPalettes/types.d.ts +4 -0
- package/esm/colorPalettes/types.js +1 -0
- package/esm/context/ChartProvider/ChartContext.d.ts +1 -1
- package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +6 -6
- package/esm/context/ChartProvider/useChartContext.js +1 -1
- package/esm/context/index.d.ts +1 -1
- package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
- package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
- package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +11 -2
- package/esm/hooks/animation/useAnimatePieArcLabel.js +4 -4
- package/esm/hooks/useAxis.d.ts +6 -6
- package/esm/hooks/useChartsLocalization.d.ts +1 -1
- package/esm/hooks/useChartsLocalization.js +1 -1
- package/esm/hooks/useItemHighlightedGetter.d.ts +2 -2
- package/esm/hooks/useLegend.d.ts +1 -1
- package/esm/hooks/useSeries.d.ts +1 -1
- package/esm/hooks/useSvgRef.js +1 -1
- package/esm/hooks/useZAxis.d.ts +3 -3
- package/esm/index.d.ts +2 -1
- package/esm/index.js +3 -2
- package/esm/internals/constants.d.ts +4 -0
- package/esm/internals/constants.js +5 -0
- package/esm/internals/createSeriesSelectorOfType.d.ts +1 -1
- package/esm/internals/createSeriesSelectorOfType.js +1 -1
- package/esm/internals/createSvgIcon.d.ts +3 -0
- package/esm/internals/createSvgIcon.js +2 -0
- package/esm/internals/defaultizeMargin.d.ts +1 -1
- package/esm/internals/geometry.js +1 -1
- package/esm/internals/getPercentageValue.js +1 -1
- package/esm/internals/index.d.ts +4 -1
- package/esm/internals/index.js +4 -1
- package/esm/internals/material/index.d.ts +4 -0
- package/esm/internals/material/index.js +7 -0
- package/esm/internals/plugins/allPlugins.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/corePlugins.d.ts +6 -4
- package/esm/internals/plugins/corePlugins/corePlugins.js +1 -1
- package/esm/internals/plugins/corePlugins/index.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/index.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -3
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/index.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +177 -142
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartId/index.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +20 -20
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +6 -7
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +12 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +22 -10
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +7 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +68 -68
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +5 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +20 -15
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +26 -26
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +1051 -892
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +2 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +11 -1
- package/esm/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +28 -13
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +77 -77
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +68 -68
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +512 -512
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +10 -10
- package/esm/internals/plugins/models/chart.d.ts +3 -3
- package/esm/internals/plugins/models/helpers.d.ts +1 -2
- package/esm/internals/plugins/models/plugin.d.ts +2 -32
- package/esm/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +3 -3
- package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -5
- package/esm/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +2 -2
- package/esm/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +3 -3
- package/esm/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +3 -3
- package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +6 -6
- package/esm/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +3 -3
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +4 -4
- package/esm/internals/plugins/utils/ChartStore.d.ts +2 -2
- package/esm/internals/stackSeries.d.ts +1 -1
- package/esm/internals/store/useCharts.d.ts +2 -2
- package/esm/internals/store/useCharts.js +11 -12
- package/esm/internals/store/useStore.js +1 -1
- package/esm/locales/enUS.d.ts +2 -0
- package/esm/locales/enUS.js +3 -1
- package/esm/locales/frFR.d.ts +2 -0
- package/esm/locales/frFR.js +2 -0
- package/esm/locales/index.d.ts +1 -1
- package/esm/locales/utils/chartsLocaleTextApi.d.ts +8 -0
- package/esm/locales/utils/getChartsLocalization.d.ts +2 -0
- package/esm/models/axis.d.ts +22 -3
- package/esm/models/axis.js +12 -0
- package/esm/models/index.d.ts +4 -3
- package/esm/models/seriesType/bar.d.ts +1 -1
- package/esm/models/seriesType/common.d.ts +2 -2
- package/esm/models/seriesType/line.d.ts +1 -1
- package/esm/models/seriesType/pie.d.ts +1 -1
- package/esm/models/slots/chartsBaseSlotProps.d.ts +13 -0
- package/esm/models/slots/chartsBaseSlotProps.js +1 -0
- package/esm/models/slots/chartsBaseSlots.d.ts +5 -0
- package/esm/models/slots/chartsBaseSlots.js +1 -0
- package/esm/models/slots/chartsIconSlots.d.ts +1 -0
- package/esm/models/slots/chartsIconSlots.js +1 -0
- package/esm/models/slots/index.d.ts +3 -0
- package/esm/models/slots/index.js +3 -0
- package/esm/themeAugmentation/components.js +1 -0
- package/esm/themeAugmentation/index.d.ts +3 -3
- package/esm/themeAugmentation/overrides.d.ts +3 -12
- package/esm/themeAugmentation/overrides.js +2 -0
- package/esm/themeAugmentation/props.d.ts +0 -7
- package/esm/themeAugmentation/props.js +2 -0
- package/hooks/animation/useAnimateArea.d.ts +1 -1
- package/hooks/animation/useAnimateBar.d.ts +1 -1
- package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/hooks/animation/useAnimateLine.d.ts +1 -1
- package/hooks/animation/useAnimatePieArc.d.ts +1 -1
- package/hooks/animation/useAnimatePieArcLabel.d.ts +11 -2
- package/hooks/animation/useAnimatePieArcLabel.js +4 -4
- package/hooks/useAxis.d.ts +6 -6
- package/hooks/useChartsLocalization.d.ts +1 -1
- package/hooks/useChartsLocalization.js +1 -1
- package/hooks/useItemHighlightedGetter.d.ts +2 -2
- package/hooks/useLegend.d.ts +1 -1
- package/hooks/useSeries.d.ts +1 -1
- package/hooks/useSvgRef.js +1 -1
- package/hooks/useZAxis.d.ts +3 -3
- package/index.d.ts +2 -1
- package/index.js +12 -1
- package/internals/constants.d.ts +4 -0
- package/internals/constants.js +11 -0
- package/internals/createSeriesSelectorOfType.d.ts +1 -1
- package/internals/createSeriesSelectorOfType.js +1 -1
- package/internals/createSvgIcon.d.ts +3 -0
- package/internals/createSvgIcon.js +8 -0
- package/internals/defaultizeMargin.d.ts +1 -1
- package/internals/geometry.js +1 -1
- package/internals/getPercentageValue.js +1 -1
- package/internals/index.d.ts +4 -1
- package/internals/index.js +36 -0
- package/internals/material/index.d.ts +4 -0
- package/internals/material/index.js +14 -0
- package/internals/plugins/allPlugins.d.ts +1 -1
- package/internals/plugins/corePlugins/corePlugins.d.ts +6 -4
- package/internals/plugins/corePlugins/corePlugins.js +1 -1
- package/internals/plugins/corePlugins/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +177 -142
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +20 -20
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +6 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +12 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +27 -15
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +7 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +68 -68
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +5 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +20 -15
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +26 -26
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +1051 -892
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +3 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +11 -1
- package/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +28 -13
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +77 -77
- package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +68 -68
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +512 -512
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +10 -10
- package/internals/plugins/models/chart.d.ts +3 -3
- package/internals/plugins/models/helpers.d.ts +1 -2
- package/internals/plugins/models/plugin.d.ts +2 -32
- package/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -5
- package/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +2 -2
- package/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +3 -3
- package/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +6 -6
- package/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +3 -3
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +4 -4
- package/internals/plugins/utils/ChartStore.d.ts +2 -2
- package/internals/stackSeries.d.ts +1 -1
- package/internals/store/useCharts.d.ts +2 -2
- package/internals/store/useCharts.js +11 -12
- package/internals/store/useStore.js +1 -1
- package/locales/enUS.d.ts +2 -0
- package/locales/enUS.js +3 -1
- package/locales/frFR.d.ts +2 -0
- package/locales/frFR.js +2 -0
- package/locales/index.d.ts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +8 -0
- package/locales/utils/getChartsLocalization.d.ts +2 -0
- package/models/axis.d.ts +22 -3
- package/models/axis.js +12 -0
- package/models/index.d.ts +4 -3
- package/models/seriesType/bar.d.ts +1 -1
- package/models/seriesType/common.d.ts +2 -2
- package/models/seriesType/line.d.ts +1 -1
- package/models/seriesType/pie.d.ts +1 -1
- package/models/slots/chartsBaseSlotProps.d.ts +13 -0
- package/models/slots/chartsBaseSlotProps.js +5 -0
- package/models/slots/chartsBaseSlots.d.ts +5 -0
- package/models/slots/chartsBaseSlots.js +5 -0
- package/models/slots/chartsIconSlots.d.ts +1 -0
- package/models/slots/chartsIconSlots.js +5 -0
- package/models/slots/index.d.ts +3 -0
- package/models/slots/index.js +38 -0
- package/package.json +5 -5
- package/themeAugmentation/components.js +5 -0
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/overrides.d.ts +3 -12
- package/themeAugmentation/overrides.js +5 -0
- package/themeAugmentation/props.d.ts +0 -7
- package/themeAugmentation/props.js +5 -0
- package/colorPalettes/colorPalettes.d.ts +0 -16
- package/colorPalettes/colorPalettes.js +0 -22
- package/esm/colorPalettes/colorPalettes.d.ts +0 -16
- package/esm/colorPalettes/colorPalettes.js +0 -12
- package/esm/internals/store/useChartModels.d.ts +0 -7
- package/esm/internals/store/useChartModels.js +0 -64
- package/internals/store/useChartModels.d.ts +0 -7
- package/internals/store/useChartModels.js +0 -73
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxisId } from "../../../../models/axis.js";
|
|
2
|
-
import type { ExtremumFilter } from
|
|
2
|
+
import type { ExtremumFilter } from "./useChartCartesianAxis.types.js";
|
|
3
3
|
export type ZoomData = {
|
|
4
4
|
/**
|
|
5
5
|
* The id of the zoomed axis.
|
|
@@ -67,6 +67,16 @@ export interface ZoomOptions {
|
|
|
67
67
|
* @default 'keep'
|
|
68
68
|
*/
|
|
69
69
|
filterMode?: ZoomFilterMode;
|
|
70
|
+
/**
|
|
71
|
+
* Configures the zoom slider. The slider is an element that shows the zoomed range and allows its manipulation.
|
|
72
|
+
*/
|
|
73
|
+
slider?: ZoomSliderOptions;
|
|
74
|
+
}
|
|
75
|
+
export interface ZoomSliderOptions {
|
|
76
|
+
/**
|
|
77
|
+
* If `true`, the slider will be shown.
|
|
78
|
+
*/
|
|
79
|
+
enabled?: boolean;
|
|
70
80
|
}
|
|
71
81
|
export type ZoomAxisFilters = Record<AxisId, ExtremumFilter>;
|
|
72
82
|
export type GetZoomAxisFilters = (params: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { useChartHighlight } from "./useChartHighlight.js";
|
|
2
2
|
export * from "./useChartHighlight.selectors.js";
|
|
3
|
-
export type { UseChartHighlightSignature, HighlightItemData } from
|
|
4
|
-
export type * from
|
|
3
|
+
export type { UseChartHighlightSignature, HighlightItemData } from "./useChartHighlight.types.js";
|
|
4
|
+
export type * from "./highlightConfig.types.js";
|
|
@@ -1,25 +1,40 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import { useAssertModelConsistency } from '@mui/x-internals/useAssertModelConsistency';
|
|
2
3
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
3
4
|
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
4
5
|
export const useChartHighlight = ({
|
|
5
6
|
store,
|
|
6
|
-
params
|
|
7
|
-
models
|
|
7
|
+
params
|
|
8
8
|
}) => {
|
|
9
|
+
useAssertModelConsistency({
|
|
10
|
+
warningPrefix: 'MUI X Charts',
|
|
11
|
+
componentName: 'Chart',
|
|
12
|
+
propName: 'highlightedItem',
|
|
13
|
+
controlled: params.highlightedItem,
|
|
14
|
+
defaultValue: null
|
|
15
|
+
});
|
|
9
16
|
useEnhancedEffect(() => {
|
|
10
|
-
store.update(prevState => _extends({}, prevState, {
|
|
17
|
+
store.update(prevState => prevState.highlight.item === params.highlightedItem ? prevState : _extends({}, prevState, {
|
|
11
18
|
highlight: _extends({}, prevState.highlight, {
|
|
12
|
-
item:
|
|
19
|
+
item: params.highlightedItem
|
|
13
20
|
})
|
|
14
21
|
}));
|
|
15
|
-
}, [store,
|
|
22
|
+
}, [store, params.highlightedItem]);
|
|
16
23
|
const clearHighlight = useEventCallback(() => {
|
|
17
24
|
params.onHighlightChange?.(null);
|
|
18
|
-
|
|
25
|
+
store.update(prev => _extends({}, prev, {
|
|
26
|
+
highlight: {
|
|
27
|
+
item: null
|
|
28
|
+
}
|
|
29
|
+
}));
|
|
19
30
|
});
|
|
20
31
|
const setHighlight = useEventCallback(newItem => {
|
|
21
32
|
params.onHighlightChange?.(newItem);
|
|
22
|
-
|
|
33
|
+
store.update(prev => _extends({}, prev, {
|
|
34
|
+
highlight: {
|
|
35
|
+
item: newItem
|
|
36
|
+
}
|
|
37
|
+
}));
|
|
23
38
|
});
|
|
24
39
|
return {
|
|
25
40
|
instance: {
|
|
@@ -28,14 +43,14 @@ export const useChartHighlight = ({
|
|
|
28
43
|
}
|
|
29
44
|
};
|
|
30
45
|
};
|
|
31
|
-
useChartHighlight.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
46
|
+
useChartHighlight.getDefaultizedParams = ({
|
|
47
|
+
params
|
|
48
|
+
}) => _extends({}, params, {
|
|
49
|
+
highlightedItem: params.highlightedItem ?? null
|
|
50
|
+
});
|
|
36
51
|
useChartHighlight.getInitialState = params => ({
|
|
37
52
|
highlight: {
|
|
38
|
-
item: params.highlightedItem
|
|
53
|
+
item: params.highlightedItem
|
|
39
54
|
}
|
|
40
55
|
});
|
|
41
56
|
useChartHighlight.params = {
|
package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts
CHANGED
|
@@ -3,20 +3,20 @@ import { UseChartSeriesSignature } from "../../corePlugins/useChartSeries/useCha
|
|
|
3
3
|
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
4
4
|
import { HighlightItemData, UseChartHighlightSignature } from "./useChartHighlight.types.js";
|
|
5
5
|
import { HighlightScope } from "./highlightConfig.types.js";
|
|
6
|
-
export declare const selectorChartsHighlightScopePerSeriesId: ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
7
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
6
|
+
export declare const selectorChartsHighlightScopePerSeriesId: ((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<{}> & {
|
|
7
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
8
8
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
9
9
|
clearCache: () => void;
|
|
10
10
|
resultsCount: () => number;
|
|
11
11
|
resetResultsCount: () => void;
|
|
12
12
|
} & {
|
|
13
13
|
resultFunc: (resultFuncArgs_0: {
|
|
14
|
-
processedSeries: import("
|
|
15
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
14
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
15
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
16
16
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
17
17
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
18
|
-
processedSeries: import("
|
|
19
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
18
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
19
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
20
20
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
21
21
|
clearCache: () => void;
|
|
22
22
|
resultsCount: () => number;
|
|
@@ -32,8 +32,8 @@ export declare const selectorChartsHighlightScopePerSeriesId: ((state: import(".
|
|
|
32
32
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
33
33
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
34
34
|
};
|
|
35
|
-
export declare const selectorChartsHighlightedItem: ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
36
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
35
|
+
export declare const selectorChartsHighlightedItem: ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
36
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
37
37
|
}) => HighlightItemData | null) & {
|
|
38
38
|
clearCache: () => void;
|
|
39
39
|
resultsCount: () => number;
|
|
@@ -59,9 +59,9 @@ export declare const selectorChartsHighlightedItem: ((state: import("../../coreP
|
|
|
59
59
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
60
60
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
61
61
|
};
|
|
62
|
-
export declare const selectorChartsHighlightScope: ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
63
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
64
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
62
|
+
export declare const selectorChartsHighlightScope: ((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<{}> & {
|
|
63
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
64
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
65
65
|
clearCache: () => void;
|
|
66
66
|
resultsCount: () => number;
|
|
67
67
|
resetResultsCount: () => void;
|
|
@@ -73,20 +73,20 @@ export declare const selectorChartsHighlightScope: ((state: import("../../corePl
|
|
|
73
73
|
resetResultsCount: () => void;
|
|
74
74
|
};
|
|
75
75
|
lastResult: () => Partial<HighlightScope> | null;
|
|
76
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
77
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
76
|
+
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<{}> & {
|
|
77
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
78
78
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
79
79
|
clearCache: () => void;
|
|
80
80
|
resultsCount: () => number;
|
|
81
81
|
resetResultsCount: () => void;
|
|
82
82
|
} & {
|
|
83
83
|
resultFunc: (resultFuncArgs_0: {
|
|
84
|
-
processedSeries: import("
|
|
85
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
84
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
85
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
86
86
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
87
87
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
88
|
-
processedSeries: import("
|
|
89
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
88
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
89
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
90
90
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
91
91
|
clearCache: () => void;
|
|
92
92
|
resultsCount: () => number;
|
|
@@ -101,8 +101,8 @@ export declare const selectorChartsHighlightScope: ((state: import("../../corePl
|
|
|
101
101
|
} & {
|
|
102
102
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
103
103
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
104
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
105
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
104
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
105
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
106
106
|
}) => HighlightItemData | null) & {
|
|
107
107
|
clearCache: () => void;
|
|
108
108
|
resultsCount: () => number;
|
|
@@ -136,9 +136,9 @@ export declare const selectorChartsHighlightScope: ((state: import("../../corePl
|
|
|
136
136
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
137
137
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
138
138
|
};
|
|
139
|
-
export declare const selectorChartsIsHighlightedCallback: ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
140
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
141
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => (item: HighlightItemData | null) => boolean) & {
|
|
139
|
+
export declare const selectorChartsIsHighlightedCallback: ((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<{}> & {
|
|
140
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
141
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => (item: HighlightItemData | null) => boolean) & {
|
|
142
142
|
clearCache: () => void;
|
|
143
143
|
resultsCount: () => number;
|
|
144
144
|
resetResultsCount: () => void;
|
|
@@ -150,9 +150,9 @@ export declare const selectorChartsIsHighlightedCallback: ((state: import("../..
|
|
|
150
150
|
resetResultsCount: () => void;
|
|
151
151
|
};
|
|
152
152
|
lastResult: () => (item: HighlightItemData | null) => boolean;
|
|
153
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
154
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
155
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
153
|
+
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<{}> & {
|
|
154
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
155
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
156
156
|
clearCache: () => void;
|
|
157
157
|
resultsCount: () => number;
|
|
158
158
|
resetResultsCount: () => void;
|
|
@@ -164,20 +164,20 @@ export declare const selectorChartsIsHighlightedCallback: ((state: import("../..
|
|
|
164
164
|
resetResultsCount: () => void;
|
|
165
165
|
};
|
|
166
166
|
lastResult: () => Partial<HighlightScope> | null;
|
|
167
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
168
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
167
|
+
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<{}> & {
|
|
168
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
169
169
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
170
170
|
clearCache: () => void;
|
|
171
171
|
resultsCount: () => number;
|
|
172
172
|
resetResultsCount: () => void;
|
|
173
173
|
} & {
|
|
174
174
|
resultFunc: (resultFuncArgs_0: {
|
|
175
|
-
processedSeries: import("
|
|
176
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
175
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
176
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
177
177
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
178
178
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
179
|
-
processedSeries: import("
|
|
180
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
179
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
180
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
181
181
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
182
182
|
clearCache: () => void;
|
|
183
183
|
resultsCount: () => number;
|
|
@@ -192,8 +192,8 @@ export declare const selectorChartsIsHighlightedCallback: ((state: import("../..
|
|
|
192
192
|
} & {
|
|
193
193
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
194
194
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
195
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
196
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
195
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
196
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
197
197
|
}) => HighlightItemData | null) & {
|
|
198
198
|
clearCache: () => void;
|
|
199
199
|
resultsCount: () => number;
|
|
@@ -226,8 +226,8 @@ export declare const selectorChartsIsHighlightedCallback: ((state: import("../..
|
|
|
226
226
|
} & {
|
|
227
227
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
228
228
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
229
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
230
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
229
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
230
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
231
231
|
}) => HighlightItemData | null) & {
|
|
232
232
|
clearCache: () => void;
|
|
233
233
|
resultsCount: () => number;
|
|
@@ -261,9 +261,9 @@ export declare const selectorChartsIsHighlightedCallback: ((state: import("../..
|
|
|
261
261
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
262
262
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
263
263
|
};
|
|
264
|
-
export declare const selectorChartsIsFadedCallback: ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
265
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
266
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => (item: HighlightItemData | null) => boolean) & {
|
|
264
|
+
export declare const selectorChartsIsFadedCallback: ((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<{}> & {
|
|
265
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
266
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => (item: HighlightItemData | null) => boolean) & {
|
|
267
267
|
clearCache: () => void;
|
|
268
268
|
resultsCount: () => number;
|
|
269
269
|
resetResultsCount: () => void;
|
|
@@ -275,9 +275,9 @@ export declare const selectorChartsIsFadedCallback: ((state: import("../../coreP
|
|
|
275
275
|
resetResultsCount: () => void;
|
|
276
276
|
};
|
|
277
277
|
lastResult: () => (item: HighlightItemData | null) => boolean;
|
|
278
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
279
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
280
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
278
|
+
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<{}> & {
|
|
279
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
280
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
281
281
|
clearCache: () => void;
|
|
282
282
|
resultsCount: () => number;
|
|
283
283
|
resetResultsCount: () => void;
|
|
@@ -289,20 +289,20 @@ export declare const selectorChartsIsFadedCallback: ((state: import("../../coreP
|
|
|
289
289
|
resetResultsCount: () => void;
|
|
290
290
|
};
|
|
291
291
|
lastResult: () => Partial<HighlightScope> | null;
|
|
292
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
293
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
292
|
+
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<{}> & {
|
|
293
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
294
294
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
295
295
|
clearCache: () => void;
|
|
296
296
|
resultsCount: () => number;
|
|
297
297
|
resetResultsCount: () => void;
|
|
298
298
|
} & {
|
|
299
299
|
resultFunc: (resultFuncArgs_0: {
|
|
300
|
-
processedSeries: import("
|
|
301
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
300
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
301
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
302
302
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
303
303
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
304
|
-
processedSeries: import("
|
|
305
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
304
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
305
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
306
306
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
307
307
|
clearCache: () => void;
|
|
308
308
|
resultsCount: () => number;
|
|
@@ -317,8 +317,8 @@ export declare const selectorChartsIsFadedCallback: ((state: import("../../coreP
|
|
|
317
317
|
} & {
|
|
318
318
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
319
319
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
320
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
321
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
320
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
321
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
322
322
|
}) => HighlightItemData | null) & {
|
|
323
323
|
clearCache: () => void;
|
|
324
324
|
resultsCount: () => number;
|
|
@@ -351,8 +351,8 @@ export declare const selectorChartsIsFadedCallback: ((state: import("../../coreP
|
|
|
351
351
|
} & {
|
|
352
352
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
353
353
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
354
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
355
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
354
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
355
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
356
356
|
}) => HighlightItemData | null) & {
|
|
357
357
|
clearCache: () => void;
|
|
358
358
|
resultsCount: () => number;
|
|
@@ -398,9 +398,9 @@ export declare const selectorChartsIsHighlighted: ((state: any, item: HighlightI
|
|
|
398
398
|
resetResultsCount: () => void;
|
|
399
399
|
};
|
|
400
400
|
lastResult: () => boolean;
|
|
401
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
402
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
403
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
401
|
+
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<{}> & {
|
|
402
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
403
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
404
404
|
clearCache: () => void;
|
|
405
405
|
resultsCount: () => number;
|
|
406
406
|
resetResultsCount: () => void;
|
|
@@ -412,20 +412,20 @@ export declare const selectorChartsIsHighlighted: ((state: any, item: HighlightI
|
|
|
412
412
|
resetResultsCount: () => void;
|
|
413
413
|
};
|
|
414
414
|
lastResult: () => Partial<HighlightScope> | null;
|
|
415
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
416
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
415
|
+
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<{}> & {
|
|
416
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
417
417
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
418
418
|
clearCache: () => void;
|
|
419
419
|
resultsCount: () => number;
|
|
420
420
|
resetResultsCount: () => void;
|
|
421
421
|
} & {
|
|
422
422
|
resultFunc: (resultFuncArgs_0: {
|
|
423
|
-
processedSeries: import("
|
|
424
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
423
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
424
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
425
425
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
426
426
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
427
|
-
processedSeries: import("
|
|
428
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
427
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
428
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
429
429
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
430
430
|
clearCache: () => void;
|
|
431
431
|
resultsCount: () => number;
|
|
@@ -440,8 +440,8 @@ export declare const selectorChartsIsHighlighted: ((state: any, item: HighlightI
|
|
|
440
440
|
} & {
|
|
441
441
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
442
442
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
443
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
444
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
443
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
444
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
445
445
|
}) => HighlightItemData | null) & {
|
|
446
446
|
clearCache: () => void;
|
|
447
447
|
resultsCount: () => number;
|
|
@@ -474,8 +474,8 @@ export declare const selectorChartsIsHighlighted: ((state: any, item: HighlightI
|
|
|
474
474
|
} & {
|
|
475
475
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
476
476
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
477
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
478
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
477
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
478
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
479
479
|
}) => HighlightItemData | null) & {
|
|
480
480
|
clearCache: () => void;
|
|
481
481
|
resultsCount: () => number;
|
|
@@ -521,9 +521,9 @@ export declare const selectorChartsIsFaded: ((state: any, item: HighlightItemDat
|
|
|
521
521
|
resetResultsCount: () => void;
|
|
522
522
|
};
|
|
523
523
|
lastResult: () => boolean;
|
|
524
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
525
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
526
|
-
} & import("./useChartHighlight.types").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
524
|
+
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<{}> & {
|
|
525
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
526
|
+
} & import("./useChartHighlight.types.js").UseChartHighlightState) => Partial<HighlightScope> | null) & {
|
|
527
527
|
clearCache: () => void;
|
|
528
528
|
resultsCount: () => number;
|
|
529
529
|
resetResultsCount: () => void;
|
|
@@ -535,20 +535,20 @@ export declare const selectorChartsIsFaded: ((state: any, item: HighlightItemDat
|
|
|
535
535
|
resetResultsCount: () => void;
|
|
536
536
|
};
|
|
537
537
|
lastResult: () => Partial<HighlightScope> | null;
|
|
538
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
539
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
538
|
+
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<{}> & {
|
|
539
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
540
540
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
541
541
|
clearCache: () => void;
|
|
542
542
|
resultsCount: () => number;
|
|
543
543
|
resetResultsCount: () => void;
|
|
544
544
|
} & {
|
|
545
545
|
resultFunc: (resultFuncArgs_0: {
|
|
546
|
-
processedSeries: import("
|
|
547
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
546
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
547
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
548
548
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>;
|
|
549
549
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
550
|
-
processedSeries: import("
|
|
551
|
-
seriesConfig: import("../../models").ChartSeriesConfig<keyof import("
|
|
550
|
+
processedSeries: import("../../../index.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
551
|
+
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
552
552
|
}) => Map<SeriesId, Partial<HighlightScope> | undefined>) & {
|
|
553
553
|
clearCache: () => void;
|
|
554
554
|
resultsCount: () => number;
|
|
@@ -563,8 +563,8 @@ export declare const selectorChartsIsFaded: ((state: any, item: HighlightItemDat
|
|
|
563
563
|
} & {
|
|
564
564
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
565
565
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
566
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
567
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
566
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
567
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
568
568
|
}) => HighlightItemData | null) & {
|
|
569
569
|
clearCache: () => void;
|
|
570
570
|
resultsCount: () => number;
|
|
@@ -597,8 +597,8 @@ export declare const selectorChartsIsFaded: ((state: any, item: HighlightItemDat
|
|
|
597
597
|
} & {
|
|
598
598
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
599
599
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
600
|
-
}, ((state: import("../../corePlugins/useChartId/useChartId.types").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("
|
|
601
|
-
cacheKey: import("../../models").ChartStateCacheKey;
|
|
600
|
+
}, ((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 & import("./useChartHighlight.types.js").UseChartHighlightState & Partial<{}> & {
|
|
601
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
602
602
|
}) => HighlightItemData | null) & {
|
|
603
603
|
clearCache: () => void;
|
|
604
604
|
resultsCount: () => number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { useChartInteraction } from "./useChartInteraction.js";
|
|
2
2
|
export * from "./useChartInteraction.selectors.js";
|
|
3
|
-
export type { UseChartInteractionSignature } from
|
|
3
|
+
export type { UseChartInteractionSignature } from "./useChartInteraction.types.js";
|