@mui/x-charts-pro 9.6.0 → 9.8.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/BarChartPro/BarChartPro.d.mts +5 -5
- package/BarChartPro/BarChartPro.d.ts +5 -5
- package/BarChartPro/BarChartPro.plugins.d.mts +3 -3
- package/BarChartPro/BarChartPro.plugins.d.ts +3 -3
- package/CHANGELOG.md +241 -2
- package/ChartZoomSlider/index.d.mts +2 -1
- package/ChartZoomSlider/index.d.ts +2 -1
- package/ChartZoomSlider/index.mjs +0 -1
- package/ChartsContainerPro/ChartsContainerPro.d.mts +4 -4
- package/ChartsContainerPro/ChartsContainerPro.d.ts +4 -4
- package/ChartsContainerPro/useChartsContainerProProps.d.mts +2 -2
- package/ChartsContainerPro/useChartsContainerProProps.d.ts +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +4 -4
- package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +4 -4
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +2 -2
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPro.d.mts +5 -5
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +5 -5
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
- package/ChartsToolbarPro/Toolbar.types.d.mts +1 -1
- package/ChartsToolbarPro/Toolbar.types.d.ts +1 -1
- package/ChartsToolbarPro/internals/ChartsMenu.d.mts +1 -1
- package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.mts +1 -1
- package/ChartsToolbarPro/internals/ChartsToolbarDivider.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.ts +1 -1
- package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.mts +1 -1
- package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.mts +2 -2
- package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.ts +2 -2
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/BarPreviewPlot.mjs +1 -2
- package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/PreviewPlot.types.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -1
- package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.mts +1 -1
- package/ChartsZoomSlider/internals/seriesPreviewPlotMap.d.ts +1 -1
- package/ChartsZoomSlider/internals/zoom-utils.d.mts +2 -2
- package/ChartsZoomSlider/internals/zoom-utils.d.ts +2 -2
- package/FunnelChart/FunnelChart.d.mts +9 -9
- package/FunnelChart/FunnelChart.d.ts +9 -9
- package/FunnelChart/FunnelChart.plugins.d.mts +3 -3
- package/FunnelChart/FunnelChart.plugins.d.ts +3 -3
- package/FunnelChart/FunnelPlot.d.mts +2 -2
- package/FunnelChart/FunnelPlot.d.ts +2 -2
- package/FunnelChart/FunnelSection.d.mts +2 -2
- package/FunnelChart/FunnelSection.d.ts +2 -2
- package/FunnelChart/FunnelSectionLabel.d.mts +2 -2
- package/FunnelChart/FunnelSectionLabel.d.ts +2 -2
- package/FunnelChart/categoryAxis.types.d.mts +2 -2
- package/FunnelChart/categoryAxis.types.d.ts +2 -2
- package/FunnelChart/coordinateMapper.d.mts +2 -2
- package/FunnelChart/coordinateMapper.d.ts +2 -2
- package/FunnelChart/curves/borderRadiusPolygon.d.mts +1 -1
- package/FunnelChart/curves/borderRadiusPolygon.d.ts +1 -1
- package/FunnelChart/curves/bump.d.mts +1 -1
- package/FunnelChart/curves/bump.d.ts +1 -1
- package/FunnelChart/curves/curve.types.d.mts +1 -1
- package/FunnelChart/curves/curve.types.d.ts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.mts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
- package/FunnelChart/curves/linear.d.mts +1 -1
- package/FunnelChart/curves/linear.d.ts +1 -1
- package/FunnelChart/curves/pyramid.d.mts +1 -1
- package/FunnelChart/curves/pyramid.d.ts +1 -1
- package/FunnelChart/curves/step-pyramid.d.mts +1 -1
- package/FunnelChart/curves/step-pyramid.d.ts +1 -1
- package/FunnelChart/curves/step.d.mts +1 -1
- package/FunnelChart/curves/step.d.ts +1 -1
- package/FunnelChart/funnel.types.d.mts +5 -5
- package/FunnelChart/funnel.types.d.ts +5 -5
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +4 -4
- package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +4 -4
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.mts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.d.ts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.mts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.types.d.ts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.mts +2 -2
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +2 -2
- package/FunnelChart/funnelClasses.d.mts +1 -1
- package/FunnelChart/funnelClasses.d.ts +1 -1
- package/FunnelChart/funnelPlotSlots.types.d.mts +1 -1
- package/FunnelChart/funnelPlotSlots.types.d.ts +1 -1
- package/FunnelChart/funnelSlots.types.d.mts +6 -6
- package/FunnelChart/funnelSlots.types.d.ts +6 -6
- package/FunnelChart/labelUtils.d.mts +2 -2
- package/FunnelChart/labelUtils.d.ts +2 -2
- package/FunnelChart/seriesConfig/descriptionGetter.d.mts +1 -1
- package/FunnelChart/seriesConfig/descriptionGetter.d.ts +1 -1
- package/FunnelChart/seriesConfig/extremums.d.mts +1 -1
- package/FunnelChart/seriesConfig/extremums.d.ts +1 -1
- package/FunnelChart/seriesConfig/getColor.d.mts +1 -1
- package/FunnelChart/seriesConfig/getColor.d.ts +1 -1
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
- package/FunnelChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/FunnelChart/seriesConfig/index.d.mts +1 -1
- package/FunnelChart/seriesConfig/index.d.ts +1 -1
- package/FunnelChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/FunnelChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/FunnelChart/seriesConfig/legend.d.mts +1 -1
- package/FunnelChart/seriesConfig/legend.d.ts +1 -1
- package/FunnelChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/FunnelChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltip.d.mts +1 -1
- package/FunnelChart/seriesConfig/tooltip.d.ts +1 -1
- package/FunnelChart/seriesConfig/tooltipPosition.d.mts +1 -1
- package/FunnelChart/seriesConfig/tooltipPosition.d.ts +1 -1
- package/FunnelChart/useFunnelChartProps.d.mts +7 -7
- package/FunnelChart/useFunnelChartProps.d.ts +7 -7
- package/Heatmap/Heatmap.d.mts +12 -12
- package/Heatmap/Heatmap.d.ts +12 -12
- package/Heatmap/Heatmap.plugins.d.mts +3 -3
- package/Heatmap/Heatmap.plugins.d.ts +3 -3
- package/Heatmap/Heatmap.types.d.mts +1 -1
- package/Heatmap/Heatmap.types.d.ts +1 -1
- package/Heatmap/HeatmapItem.d.mts +2 -2
- package/Heatmap/HeatmapItem.d.ts +2 -2
- package/Heatmap/HeatmapPlot.d.mts +1 -1
- package/Heatmap/HeatmapPlot.d.ts +1 -1
- package/Heatmap/HeatmapSVGPlot.d.mts +1 -1
- package/Heatmap/HeatmapSVGPlot.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
- package/Heatmap/seriesConfig/extremums.d.mts +1 -1
- package/Heatmap/seriesConfig/extremums.d.ts +1 -1
- package/Heatmap/seriesConfig/getColor.d.mts +1 -1
- package/Heatmap/seriesConfig/getColor.d.ts +1 -1
- package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
- package/Heatmap/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
- package/Heatmap/seriesConfig/identifierSerializer.d.mts +1 -1
- package/Heatmap/seriesConfig/identifierSerializer.d.ts +1 -1
- package/Heatmap/seriesConfig/index.d.mts +1 -1
- package/Heatmap/seriesConfig/index.d.ts +1 -1
- package/Heatmap/seriesConfig/seriesProcessor.d.mts +1 -1
- package/Heatmap/seriesConfig/seriesProcessor.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltip.d.mts +1 -1
- package/Heatmap/seriesConfig/tooltip.d.ts +1 -1
- package/Heatmap/seriesConfig/tooltipPosition.d.mts +1 -1
- package/Heatmap/seriesConfig/tooltipPosition.d.ts +1 -1
- package/Heatmap/useHeatmapProps.d.mts +7 -7
- package/Heatmap/useHeatmapProps.d.ts +7 -7
- package/LineChartPro/LineChartPro.d.mts +5 -5
- package/LineChartPro/LineChartPro.d.ts +5 -5
- package/LineChartPro/LineChartPro.plugins.d.mts +3 -3
- package/LineChartPro/LineChartPro.plugins.d.ts +3 -3
- package/PieChartPro/PieChartPro.d.mts +5 -5
- package/PieChartPro/PieChartPro.d.ts +5 -5
- package/PieChartPro/PieChartPro.plugins.d.mts +2 -2
- package/PieChartPro/PieChartPro.plugins.d.ts +2 -2
- package/RadarChartPro/RadarChartPro.d.mts +4 -4
- package/RadarChartPro/RadarChartPro.d.ts +4 -4
- package/RadarChartPro/RadarChartPro.plugins.d.mts +1 -1
- package/RadarChartPro/RadarChartPro.plugins.d.ts +1 -1
- package/SankeyChart/SankeyChart.d.mts +2 -2
- package/SankeyChart/SankeyChart.d.ts +2 -2
- package/SankeyChart/SankeyChart.plugins.d.mts +2 -2
- package/SankeyChart/SankeyChart.plugins.d.ts +2 -2
- package/SankeyChart/SankeyDataProvider.d.mts +1 -1
- package/SankeyChart/SankeyDataProvider.d.ts +1 -1
- package/SankeyChart/SankeyLinkLabel.d.mts +1 -1
- package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.mts +1 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.ts +1 -1
- package/SankeyChart/SankeyLinkPlot.d.mts +1 -1
- package/SankeyChart/SankeyLinkPlot.d.ts +1 -1
- package/SankeyChart/SankeyNodeLabelPlot.d.mts +1 -1
- package/SankeyChart/SankeyNodeLabelPlot.d.ts +1 -1
- package/SankeyChart/SankeyNodePlot.d.mts +1 -1
- package/SankeyChart/SankeyNodePlot.d.ts +1 -1
- package/SankeyChart/SankeyPlot.d.mts +2 -2
- package/SankeyChart/SankeyPlot.d.ts +2 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.types.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
- package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.mts +1 -1
- package/SankeyChart/d3Sankey/sankeyLinkHorizontal.d.ts +1 -1
- package/SankeyChart/sankeySlots.types.d.mts +4 -4
- package/SankeyChart/sankeySlots.types.d.ts +4 -4
- package/SankeyChart/seriesConfig/identifierSerializer.d.mts +1 -1
- package/SankeyChart/seriesConfig/identifierSerializer.d.ts +1 -1
- package/SankeyChart/useSankeyChartProps.d.mts +1 -1
- package/SankeyChart/useSankeyChartProps.d.ts +1 -1
- package/SankeyChart/useSankeyChartProps.mjs +0 -1
- package/ScatterChartPro/ScatterChartPro.d.mts +6 -6
- package/ScatterChartPro/ScatterChartPro.d.ts +6 -6
- package/ScatterChartPro/ScatterChartPro.plugins.d.mts +3 -3
- package/ScatterChartPro/ScatterChartPro.plugins.d.ts +3 -3
- package/context/ChartProApi.d.mts +10 -10
- package/context/ChartProApi.d.ts +10 -10
- package/context/useChartProApiContext.d.mts +1 -1
- package/context/useChartProApiContext.d.ts +1 -1
- package/hooks/useChartProApiRef.d.mts +3 -3
- package/hooks/useChartProApiRef.d.ts +3 -3
- package/hooks/useFunnelSeries.d.mts +1 -1
- package/hooks/useFunnelSeries.d.ts +1 -1
- package/hooks/useHeatmapSeries.d.mts +1 -1
- package/hooks/useHeatmapSeries.d.ts +1 -1
- package/hooks/useSankeySeries.d.mts +2 -2
- package/hooks/useSankeySeries.d.ts +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/ChartsWatermark.d.mts +1 -1
- package/internals/ChartsWatermark.d.ts +1 -1
- package/internals/material/components/BaseMenuItem.d.mts +1 -1
- package/internals/material/components/BaseMenuItem.d.ts +1 -1
- package/internals/material/components/BasePopper.d.mts +1 -1
- package/internals/material/components/BasePopper.d.ts +1 -1
- package/internals/material/index.d.mts +2 -2
- package/internals/material/index.d.ts +2 -2
- package/internals/plugins/allPlugins.d.mts +3 -3
- package/internals/plugins/allPlugins.d.ts +3 -3
- package/internals/plugins/useChartProExport/exportImage.d.mts +1 -1
- package/internals/plugins/useChartProExport/exportImage.d.ts +1 -1
- package/internals/plugins/useChartProExport/print.d.mts +1 -1
- package/internals/plugins/useChartProExport/print.d.ts +1 -1
- package/internals/plugins/useChartProExport/useChartProExport.d.mts +2 -2
- package/internals/plugins/useChartProExport/useChartProExport.d.ts +2 -2
- package/internals/plugins/useChartProExport/useChartProExport.types.d.mts +1 -1
- package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +1 -1
- package/internals/plugins/useChartProZoom/calculateZoom.d.mts +1 -1
- package/internals/plugins/useChartProZoom/calculateZoom.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoom.utils.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.mts +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.d.mts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.mts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +2 -2
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.mts +3 -3
- package/internals/plugins/useChartProZoom/useChartProZoom.types.d.ts +3 -3
- package/internals/plugins/zoomGestures/useDragGesture.d.mts +2 -2
- package/internals/plugins/zoomGestures/useDragGesture.d.ts +2 -2
- package/internals/plugins/zoomGestures/useWheelGesture.d.mts +2 -2
- package/internals/plugins/zoomGestures/useWheelGesture.d.ts +2 -2
- package/internals/slots/chartBaseSlotProps.d.mts +1 -1
- package/internals/slots/chartBaseSlotProps.d.ts +1 -1
- package/internals/slots/chartsBaseSlots.d.mts +2 -2
- package/internals/slots/chartsBaseSlots.d.ts +2 -2
- package/internals/slots/chartsIconSlots.d.mts +1 -1
- package/internals/slots/chartsIconSlots.d.ts +1 -1
- package/models/seriesType/heatmap.d.mts +2 -2
- package/models/seriesType/heatmap.d.ts +2 -2
- package/package.json +7 -7
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.mts +1 -1
- package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +1 -1
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +1 -1
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.mts +8 -8
- package/themeAugmentation/props.d.ts +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { ToolbarPropsOverrides } from '@mui/x-charts/models';
|
|
3
|
-
import {
|
|
3
|
+
import type { ChartsToolbarProProps } from "./ChartsToolbarPro.js";
|
|
4
4
|
export interface ChartsToolbarProSlots {
|
|
5
5
|
/**
|
|
6
6
|
* Custom component for the toolbar.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBasePopperProps, Placement } from "../../internals/slots/chartBaseSlotProps.mjs";
|
|
3
3
|
export interface ChartsMenuProps extends Pick<ChartBasePopperProps, 'className' | 'onExited'> {
|
|
4
4
|
open: boolean;
|
|
5
5
|
target: HTMLElement | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBasePopperProps, Placement } from "../../internals/slots/chartBaseSlotProps.js";
|
|
3
3
|
export interface ChartsMenuProps extends Pick<ChartBasePopperProps, 'className' | 'onExited'> {
|
|
4
4
|
open: boolean;
|
|
5
5
|
target: HTMLElement | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.mjs";
|
|
3
3
|
export interface ChartsToolbarDividerProps extends ChartBaseDividerProps {}
|
|
4
4
|
declare const ChartsToolbarDivider: React.ForwardRefExoticComponent<Omit<ChartsToolbarDividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
5
5
|
export { ChartsToolbarDivider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartBaseDividerProps } from "../../internals/slots/chartBaseSlotProps.js";
|
|
3
3
|
export interface ChartsToolbarDividerProps extends ChartBaseDividerProps {}
|
|
4
4
|
declare const ChartsToolbarDivider: React.ForwardRefExoticComponent<Omit<ChartsToolbarDividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
5
5
|
export { ChartsToolbarDivider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { AxisId } from '@mui/x-charts/internals';
|
|
3
3
|
interface ChartsAxisZoomSliderTrackProps extends React.ComponentProps<'rect'> {
|
|
4
4
|
axisId: AxisId;
|
|
5
5
|
axisDirection: 'x' | 'y';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { AxisId } from '@mui/x-charts/internals';
|
|
3
3
|
interface ChartsAxisZoomSliderTrackProps extends React.ComponentProps<'rect'> {
|
|
4
4
|
axisId: AxisId;
|
|
5
5
|
axisDirection: 'x' | 'y';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { PopperProps } from '@mui/material/Popper';
|
|
3
3
|
interface ChartsTooltipZoomSliderValueProps extends Pick<PopperProps, 'anchorEl' | 'open' | 'modifiers' | 'placement'>, React.PropsWithChildren {}
|
|
4
4
|
export declare function ChartsTooltipZoomSliderValue({
|
|
5
5
|
anchorEl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { PopperProps } from '@mui/material/Popper';
|
|
3
3
|
interface ChartsTooltipZoomSliderValueProps extends Pick<PopperProps, 'anchorEl' | 'open' | 'modifiers' | 'placement'>, React.PropsWithChildren {}
|
|
4
4
|
export declare function ChartsTooltipZoomSliderValue({
|
|
5
5
|
anchorEl,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
|
|
4
4
|
interface AreaPreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
|
|
5
5
|
export declare function AreaPreviewPlot({
|
|
6
6
|
axisId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
4
4
|
interface AreaPreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
|
|
5
5
|
export declare function AreaPreviewPlot({
|
|
6
6
|
axisId,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import { selectorChartPreviewComputedXAxis, selectorChartPreviewComputedYAxis, useStore } from '@mui/x-charts/internals';
|
|
2
|
+
import { selectorChartPreviewComputedXAxis, selectorChartPreviewComputedYAxis, useStore, processBarDataForPlot } from '@mui/x-charts/internals';
|
|
3
3
|
import { useBarSeriesContext, useChartId, useXAxes, useYAxes } from '@mui/x-charts/hooks';
|
|
4
4
|
import { BarElement } from '@mui/x-charts/BarChart';
|
|
5
|
-
import { processBarDataForPlot } from '@mui/x-charts/internals';
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
6
|
export function BarPreviewPlot(props) {
|
|
8
7
|
const drawingArea = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
3
|
import type { PreviewPlotProps } from "./PreviewPlot.types.mjs";
|
|
4
4
|
interface LinePreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
|
|
5
5
|
export declare function LinePreviewPlot({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
3
|
import type { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
4
4
|
interface LinePreviewPlotProps extends Pick<PreviewPlotProps, 'axisId' | 'seriesIds'> {}
|
|
5
5
|
export declare function LinePreviewPlot({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { PreviewPlotProps } from "./previews/PreviewPlot.types.mjs";
|
|
3
3
|
export declare const seriesPreviewPlotMap: Map<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, React.ComponentType<PreviewPlotProps>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { PreviewPlotProps } from "./previews/PreviewPlot.types.js";
|
|
3
3
|
export declare const seriesPreviewPlotMap: Map<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, React.ComponentType<PreviewPlotProps>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AxisId, ChartState, DefaultedXAxis, DefaultedYAxis, DefaultizedZoomOptions, ZoomData } from '@mui/x-charts/internals';
|
|
2
|
+
import type { ChartDrawingArea } from '@mui/x-charts/hooks';
|
|
3
3
|
export declare function calculateZoomFromPoint(state: ChartState<any>, axisId: AxisId, point: DOMPoint): number | null;
|
|
4
4
|
export declare function calculateZoomFromPointImpl(drawingArea: ChartDrawingArea, axis: Pick<DefaultedXAxis | DefaultedYAxis, 'position' | 'reverse'>, zoomOptions: Pick<DefaultizedZoomOptions, 'minStart' | 'maxEnd'>, point: Pick<DOMPoint, 'x' | 'y'>): number;
|
|
5
5
|
export declare function calculateZoomStart(newStart: number, currentZoom: ZoomData, options: Pick<DefaultizedZoomOptions, 'minStart' | 'minSpan' | 'maxSpan'>): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AxisId, ChartState, DefaultedXAxis, DefaultedYAxis, DefaultizedZoomOptions, ZoomData } from '@mui/x-charts/internals';
|
|
2
|
+
import type { ChartDrawingArea } from '@mui/x-charts/hooks';
|
|
3
3
|
export declare function calculateZoomFromPoint(state: ChartState<any>, axisId: AxisId, point: DOMPoint): number | null;
|
|
4
4
|
export declare function calculateZoomFromPointImpl(drawingArea: ChartDrawingArea, axis: Pick<DefaultedXAxis | DefaultedYAxis, 'position' | 'reverse'>, zoomOptions: Pick<DefaultizedZoomOptions, 'minStart' | 'maxEnd'>, point: Pick<DOMPoint, 'x' | 'y'>): number;
|
|
5
5
|
export declare function calculateZoomStart(newStart: number, currentZoom: ZoomData, options: Pick<DefaultizedZoomOptions, 'minStart' | 'minSpan' | 'maxSpan'>): number;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
3
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
4
|
+
import type { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
|
|
5
|
+
import type { FunnelPlotProps } from "./FunnelPlot.mjs";
|
|
6
|
+
import type { FunnelSeriesType } from "./funnel.types.mjs";
|
|
7
|
+
import type { ChartsContainerProProps } from "../ChartsContainerPro/index.mjs";
|
|
8
|
+
import type { FunnelChartSlotExtension } from "./funnelSlots.types.mjs";
|
|
9
|
+
import type { CategoryAxis } from "./categoryAxis.types.mjs";
|
|
10
|
+
import type { FunnelChartPluginSignatures } from "./FunnelChart.plugins.mjs";
|
|
11
11
|
export type FunnelSeries = MakeOptional<FunnelSeriesType, 'type'>;
|
|
12
12
|
export interface FunnelChartProps extends Omit<ChartsContainerProProps<'funnel', FunnelChartPluginSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
|
|
13
13
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import type { ChartsOverlayProps } from '@mui/x-charts/ChartsOverlay';
|
|
3
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
4
|
+
import type { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight';
|
|
5
|
+
import type { FunnelPlotProps } from "./FunnelPlot.js";
|
|
6
|
+
import type { FunnelSeriesType } from "./funnel.types.js";
|
|
7
|
+
import type { ChartsContainerProProps } from "../ChartsContainerPro/index.js";
|
|
8
|
+
import type { FunnelChartSlotExtension } from "./funnelSlots.types.js";
|
|
9
|
+
import type { CategoryAxis } from "./categoryAxis.types.js";
|
|
10
|
+
import type { FunnelChartPluginSignatures } from "./FunnelChart.plugins.js";
|
|
11
11
|
export type FunnelSeries = MakeOptional<FunnelSeriesType, 'type'>;
|
|
12
12
|
export interface FunnelChartProps extends Omit<ChartsContainerProProps<'funnel', FunnelChartPluginSignatures>, 'series' | 'plugins' | 'zAxis' | 'zoom' | 'onZoomChange' | 'dataset' | 'yAxis' | 'xAxis' | 'rotationAxis' | 'radiusAxis' | 'slots' | 'slotProps'>, Omit<FunnelPlotProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'>, FunnelChartSlotExtension {
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ConvertSignaturesIntoPlugins, UseChartHighlightSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartKeyboardNavigationSignature, UseChartVisibilityManagerSignature } from '@mui/x-charts/internals';
|
|
2
|
+
import type { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.mjs";
|
|
3
|
+
import type { UseChartFunnelAxisSignature } from "./funnelAxisPlugin/useChartFunnelAxis.types.mjs";
|
|
4
4
|
export type FunnelChartPluginSignatures = [UseChartFunnelAxisSignature, UseChartTooltipSignature<'funnel'>, UseChartInteractionSignature, UseChartHighlightSignature<'funnel'>, UseChartVisibilityManagerSignature<'funnel'>, UseChartProExportSignature, UseChartKeyboardNavigationSignature];
|
|
5
5
|
export declare const FUNNEL_CHART_PLUGINS: ConvertSignaturesIntoPlugins<FunnelChartPluginSignatures>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ConvertSignaturesIntoPlugins, UseChartHighlightSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartKeyboardNavigationSignature, UseChartVisibilityManagerSignature } from '@mui/x-charts/internals';
|
|
2
|
+
import type { UseChartProExportSignature } from "../internals/plugins/useChartProExport/index.js";
|
|
3
|
+
import type { UseChartFunnelAxisSignature } from "./funnelAxisPlugin/useChartFunnelAxis.types.js";
|
|
4
4
|
export type FunnelChartPluginSignatures = [UseChartFunnelAxisSignature, UseChartTooltipSignature<'funnel'>, UseChartInteractionSignature, UseChartHighlightSignature<'funnel'>, UseChartVisibilityManagerSignature<'funnel'>, UseChartProExportSignature, UseChartKeyboardNavigationSignature];
|
|
5
5
|
export declare const FUNNEL_CHART_PLUGINS: ConvertSignaturesIntoPlugins<FunnelChartPluginSignatures>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { FunnelItemIdentifier } from "./funnel.types.mjs";
|
|
3
|
+
import type { FunnelPlotSlotExtension } from "./funnelPlotSlots.types.mjs";
|
|
4
4
|
export interface FunnelPlotProps extends FunnelPlotSlotExtension {
|
|
5
5
|
/**
|
|
6
6
|
* A CSS class name applied to the root element.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { FunnelItemIdentifier } from "./funnel.types.js";
|
|
3
|
+
import type { FunnelPlotSlotExtension } from "./funnelPlotSlots.types.js";
|
|
4
4
|
export interface FunnelPlotProps extends FunnelPlotSlotExtension {
|
|
5
5
|
/**
|
|
6
6
|
* A CSS class name applied to the root element.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { FunnelClasses } from "./funnelClasses.mjs";
|
|
4
4
|
export interface FunnelSectionProps extends Omit<React.SVGProps<SVGPathElement>, 'ref'> {
|
|
5
5
|
seriesId: SeriesId;
|
|
6
6
|
dataIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { FunnelClasses } from "./funnelClasses.js";
|
|
4
4
|
export interface FunnelSectionProps extends Omit<React.SVGProps<SVGPathElement>, 'ref'> {
|
|
5
5
|
seriesId: SeriesId;
|
|
6
6
|
dataIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { FunnelClasses } from "./funnelClasses.mjs";
|
|
4
4
|
export interface FunnelSectionLabelConfig {
|
|
5
5
|
x: number;
|
|
6
6
|
y: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { FunnelClasses } from "./funnelClasses.js";
|
|
4
4
|
export interface FunnelSectionLabelConfig {
|
|
5
5
|
x: number;
|
|
6
6
|
y: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AxisConfig, ScaleName } from '@mui/x-charts/models';
|
|
2
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
3
|
export type FunnelScaleName = Exclude<ScaleName, 'point'>;
|
|
4
4
|
export type CategoryAxis<S extends FunnelScaleName = FunnelScaleName> = S extends FunnelScaleName ? {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AxisConfig, ScaleName } from '@mui/x-charts/models';
|
|
2
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
3
|
export type FunnelScaleName = Exclude<ScaleName, 'point'>;
|
|
4
4
|
export type CategoryAxis<S extends FunnelScaleName = FunnelScaleName> = S extends FunnelScaleName ? {
|
|
5
5
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { D3Scale } from '@mui/x-charts/internals';
|
|
2
|
+
import type { PositionGetter } from "./curves/curve.types.mjs";
|
|
3
3
|
export declare const createPositionGetter: (scale: D3Scale, isCategoryDirection: boolean, gap: number, ordinalScaleData: readonly any[] | undefined) => PositionGetter;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { D3Scale } from '@mui/x-charts/internals';
|
|
2
|
+
import type { PositionGetter } from "./curves/curve.types.js";
|
|
3
3
|
export declare const createPositionGetter: (scale: D3Scale, isCategoryDirection: boolean, gap: number, ordinalScaleData: readonly any[] | undefined) => PositionGetter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "bump" curve generator.
|
|
4
4
|
* It draws smooth curves for the 4 provided points,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "bump" curve generator.
|
|
4
4
|
* It draws smooth curves for the 4 provided points,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Path } from '@mui/x-charts-vendor/d3-path';
|
|
2
|
-
import {
|
|
2
|
+
import type { CurveOptions, FunnelCurveType } from "./curve.types.mjs";
|
|
3
3
|
import { Step } from "./step.mjs";
|
|
4
4
|
import { Linear } from "./linear.mjs";
|
|
5
5
|
import { Bump } from "./bump.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Path } from '@mui/x-charts-vendor/d3-path';
|
|
2
|
-
import {
|
|
2
|
+
import type { CurveOptions, FunnelCurveType } from "./curve.types.js";
|
|
3
3
|
import { Step } from "./step.js";
|
|
4
4
|
import { Linear } from "./linear.js";
|
|
5
5
|
import { Bump } from "./bump.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "linear" curve generator.
|
|
4
4
|
* It draws straight lines for the 4 provided points,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "linear" curve generator.
|
|
4
4
|
* It draws straight lines for the 4 provided points,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "pyramid" curve generator.
|
|
4
4
|
* It draws straight lines for the 4 provided points. The slopes are calculated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "pyramid" curve generator.
|
|
4
4
|
* It draws straight lines for the 4 provided points. The slopes are calculated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "step-pyramid" curve generator.
|
|
4
4
|
* It creates a step pyramid, which is a step-like shape with static lengths.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "step-pyramid" curve generator.
|
|
4
4
|
* It creates a step pyramid, which is a step-like shape with static lengths.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "step" curve generator.
|
|
4
4
|
* It is used to draw "rectangles" from 4 points without having to rework the rendering logic,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FunnelCurveGenerator, CurveOptions, Point } from "./curve.types.js";
|
|
2
2
|
/**
|
|
3
3
|
* This is a custom "step" curve generator.
|
|
4
4
|
* It is used to draw "rectangles" from 4 points without having to rework the rendering logic,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { ChartsLabelMarkProps } from '@mui/x-charts/ChartsLabel';
|
|
2
|
+
import type { CommonSeriesType, CartesianSeriesType, CommonDefaultizedProps, SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { Position } from '@mui/x-charts/models';
|
|
4
|
+
import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
|
|
5
|
+
import type { FunnelCurveType } from "./curves/index.mjs";
|
|
6
6
|
export type FunnelItemId = string | number;
|
|
7
7
|
export type FunnelValueType = {
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { ChartsLabelMarkProps } from '@mui/x-charts/ChartsLabel';
|
|
2
|
+
import type { CommonSeriesType, CartesianSeriesType, CommonDefaultizedProps, SeriesId } from '@mui/x-charts/internals';
|
|
3
|
+
import type { Position } from '@mui/x-charts/models';
|
|
4
|
+
import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
|
|
5
|
+
import type { FunnelCurveType } from "./curves/index.js";
|
|
6
6
|
export type FunnelItemId = string | number;
|
|
7
7
|
export type FunnelValueType = {
|
|
8
8
|
/**
|