@mui/x-charts-pro 9.5.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPro/BarChartPro.d.mts +5 -5
- package/BarChartPro/BarChartPro.d.ts +5 -5
- package/BarChartPro/BarChartPro.js +5 -3
- package/BarChartPro/BarChartPro.mjs +5 -3
- package/BarChartPro/BarChartPro.plugins.d.mts +3 -3
- package/BarChartPro/BarChartPro.plugins.d.ts +3 -3
- package/CHANGELOG.md +261 -0
- 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 +7 -3
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +7 -3
- 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/ChartsToolbarImageExportTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarPro.d.mts +5 -5
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +5 -5
- package/ChartsToolbarPro/ChartsToolbarPro.js +3 -2
- package/ChartsToolbarPro/ChartsToolbarPro.mjs +3 -2
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.mts +3 -3
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.d.ts +3 -3
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarRangeButtonTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomInTrigger.mjs +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.mts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.d.ts +2 -2
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.js +1 -1
- package/ChartsToolbarPro/ChartsToolbarZoomOutTrigger.mjs +1 -1
- 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.js +1 -1
- package/FunnelChart/FunnelChart.mjs +1 -1
- 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/FunnelPlot.js +5 -1
- package/FunnelChart/FunnelPlot.mjs +5 -1
- 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.js +5 -3
- package/Heatmap/Heatmap.mjs +5 -3
- 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/HeatmapCell.js +1 -1
- package/Heatmap/HeatmapCell.mjs +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/HeatmapPlot.js +1 -1
- package/Heatmap/HeatmapPlot.mjs +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.js +5 -25
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.mjs +5 -25
- 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/HeatmapTooltip/HeatmapTooltipContent.js +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.mjs +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.js +5 -3
- package/LineChartPro/LineChartPro.mjs +5 -3
- 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.js +1 -1
- package/PieChartPro/PieChartPro.mjs +1 -1
- 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.js +1 -1
- package/RadarChartPro/RadarChartPro.mjs +1 -1
- 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.js +1 -1
- package/SankeyChart/SankeyChart.mjs +1 -1
- package/SankeyChart/SankeyChart.plugins.d.mts +2 -2
- package/SankeyChart/SankeyChart.plugins.d.ts +2 -2
- package/SankeyChart/SankeyDataProvider.d.mts +4 -1
- package/SankeyChart/SankeyDataProvider.d.ts +4 -1
- package/SankeyChart/SankeyDataProvider.js +170 -1
- package/SankeyChart/SankeyDataProvider.mjs +169 -0
- package/SankeyChart/SankeyLinkLabel.d.mts +1 -1
- package/SankeyChart/SankeyLinkLabel.d.ts +1 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.mts +4 -1
- package/SankeyChart/SankeyLinkLabelPlot.d.ts +4 -1
- package/SankeyChart/SankeyLinkLabelPlot.js +12 -1
- package/SankeyChart/SankeyLinkLabelPlot.mjs +11 -0
- package/SankeyChart/SankeyLinkPlot.d.mts +4 -1
- package/SankeyChart/SankeyLinkPlot.d.ts +4 -1
- package/SankeyChart/SankeyLinkPlot.js +18 -1
- package/SankeyChart/SankeyLinkPlot.mjs +17 -0
- package/SankeyChart/SankeyNodeLabelPlot.d.mts +4 -1
- package/SankeyChart/SankeyNodeLabelPlot.d.ts +4 -1
- package/SankeyChart/SankeyNodeLabelPlot.js +12 -1
- package/SankeyChart/SankeyNodeLabelPlot.mjs +11 -0
- package/SankeyChart/SankeyNodePlot.d.mts +4 -1
- package/SankeyChart/SankeyNodePlot.d.ts +4 -1
- package/SankeyChart/SankeyNodePlot.js +18 -1
- package/SankeyChart/SankeyNodePlot.mjs +17 -0
- package/SankeyChart/SankeyPlot.d.mts +2 -2
- package/SankeyChart/SankeyPlot.d.ts +2 -2
- package/SankeyChart/SankeyPlot.js +5 -1
- package/SankeyChart/SankeyPlot.mjs +5 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.js +8 -28
- package/SankeyChart/SankeyTooltip/SankeyTooltip.mjs +8 -28
- 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/SankeyTooltip/SankeyTooltipContent.js +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.mjs +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.js +5 -3
- package/ScatterChartPro/ScatterChartPro.mjs +5 -3
- 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 +10 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.ts +10 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.js +49 -0
- package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.mjs +42 -0
- 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.js +2 -0
- package/internals/plugins/useChartProZoom/useChartProZoom.mjs +2 -0
- 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/plugins/zoomGestures/useWheelGesture.js +1 -1
- package/internals/plugins/zoomGestures/useWheelGesture.mjs +1 -1
- 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 +9 -6
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
5
6
|
import { SANKEY_CHART_PLUGINS } from "./SankeyChart.plugins.mjs";
|
|
6
7
|
import { ChartsDataProviderPro } from "../ChartsDataProviderPro/index.mjs";
|
|
7
8
|
import { sankeySeriesConfig } from "./seriesConfig/index.mjs";
|
|
@@ -24,4 +25,172 @@ function SankeyDataProvider(props) {
|
|
|
24
25
|
plugins: SANKEY_CHART_PLUGINS
|
|
25
26
|
}));
|
|
26
27
|
}
|
|
28
|
+
process.env.NODE_ENV !== "production" ? SankeyDataProvider.propTypes /* remove-proptypes */ = {
|
|
29
|
+
// ----------------------------- Warning --------------------------------
|
|
30
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
31
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
32
|
+
// ----------------------------------------------------------------------
|
|
33
|
+
apiRef: PropTypes.shape({
|
|
34
|
+
current: PropTypes.shape({
|
|
35
|
+
exportAsImage: PropTypes.func.isRequired,
|
|
36
|
+
exportAsPrint: PropTypes.func.isRequired
|
|
37
|
+
})
|
|
38
|
+
}),
|
|
39
|
+
children: PropTypes.node,
|
|
40
|
+
className: PropTypes.string,
|
|
41
|
+
/**
|
|
42
|
+
* Color palette used to colorize multiple series.
|
|
43
|
+
* @default rainbowSurgePalette
|
|
44
|
+
*/
|
|
45
|
+
colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
|
|
46
|
+
/**
|
|
47
|
+
* The description of the chart.
|
|
48
|
+
* Used to provide an accessible description for the chart.
|
|
49
|
+
*/
|
|
50
|
+
desc: PropTypes.string,
|
|
51
|
+
/**
|
|
52
|
+
* If `true`, disables keyboard navigation for the chart.
|
|
53
|
+
*/
|
|
54
|
+
disableKeyboardNavigation: PropTypes.bool,
|
|
55
|
+
/**
|
|
56
|
+
* Options to enable features planned for the next major.
|
|
57
|
+
*/
|
|
58
|
+
experimentalFeatures: PropTypes.object,
|
|
59
|
+
/**
|
|
60
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
61
|
+
*/
|
|
62
|
+
height: PropTypes.number,
|
|
63
|
+
/**
|
|
64
|
+
* The highlighted item.
|
|
65
|
+
* Used when the highlight is controlled.
|
|
66
|
+
*/
|
|
67
|
+
highlightedItem: PropTypes.oneOfType([PropTypes.shape({
|
|
68
|
+
nodeId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
69
|
+
seriesId: PropTypes.string.isRequired,
|
|
70
|
+
subType: PropTypes.oneOf([
|
|
71
|
+
/**
|
|
72
|
+
* Subtype to differentiate between node and link
|
|
73
|
+
*/
|
|
74
|
+
'node']).isRequired
|
|
75
|
+
}), PropTypes.shape({
|
|
76
|
+
nodeId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
77
|
+
seriesId: PropTypes.string.isRequired,
|
|
78
|
+
subType: PropTypes.oneOf([
|
|
79
|
+
/**
|
|
80
|
+
* Subtype to differentiate between node and link
|
|
81
|
+
*/
|
|
82
|
+
'node']).isRequired,
|
|
83
|
+
type: PropTypes.oneOf(['sankey']).isRequired
|
|
84
|
+
}), PropTypes.shape({
|
|
85
|
+
seriesId: PropTypes.string.isRequired,
|
|
86
|
+
sourceId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
87
|
+
subType: PropTypes.oneOf([
|
|
88
|
+
/**
|
|
89
|
+
* Subtype to differentiate between node and link
|
|
90
|
+
*/
|
|
91
|
+
'link']).isRequired,
|
|
92
|
+
targetId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
|
|
93
|
+
}), PropTypes.shape({
|
|
94
|
+
seriesId: PropTypes.string.isRequired,
|
|
95
|
+
sourceId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
96
|
+
subType: PropTypes.oneOf([
|
|
97
|
+
/**
|
|
98
|
+
* Subtype to differentiate between node and link
|
|
99
|
+
*/
|
|
100
|
+
'link']).isRequired,
|
|
101
|
+
targetId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
102
|
+
type: PropTypes.oneOf(['sankey']).isRequired
|
|
103
|
+
})]),
|
|
104
|
+
/**
|
|
105
|
+
* This prop is used to help implement the accessibility logic.
|
|
106
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
107
|
+
*/
|
|
108
|
+
id: PropTypes.string,
|
|
109
|
+
/**
|
|
110
|
+
* Localized text for chart components.
|
|
111
|
+
*/
|
|
112
|
+
localeText: PropTypes.object,
|
|
113
|
+
/**
|
|
114
|
+
* The margin between the SVG and the drawing area.
|
|
115
|
+
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
116
|
+
*
|
|
117
|
+
* Accepts a `number` to be used on all sides or an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
118
|
+
*/
|
|
119
|
+
margin: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
120
|
+
bottom: PropTypes.number,
|
|
121
|
+
left: PropTypes.number,
|
|
122
|
+
right: PropTypes.number,
|
|
123
|
+
top: PropTypes.number
|
|
124
|
+
})]),
|
|
125
|
+
/**
|
|
126
|
+
* The callback fired when the highlighted item changes.
|
|
127
|
+
*
|
|
128
|
+
* @param {HighlightItemIdentifierWithType<SeriesType> | null} highlightedItem The newly highlighted item.
|
|
129
|
+
*/
|
|
130
|
+
onHighlightChange: PropTypes.func,
|
|
131
|
+
/**
|
|
132
|
+
* The callback fired when the tooltip item changes.
|
|
133
|
+
*
|
|
134
|
+
* @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
|
|
135
|
+
*/
|
|
136
|
+
onTooltipItemChange: PropTypes.func,
|
|
137
|
+
series: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
138
|
+
/**
|
|
139
|
+
* The configuration for the series types.
|
|
140
|
+
* This is used to define how each series type should be processed, colored, and displayed.
|
|
141
|
+
*/
|
|
142
|
+
seriesConfig: PropTypes.object,
|
|
143
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
144
|
+
theme: PropTypes.oneOf(['dark', 'light']),
|
|
145
|
+
/**
|
|
146
|
+
* The title of the chart.
|
|
147
|
+
* Used to provide an accessible label for the chart.
|
|
148
|
+
*/
|
|
149
|
+
title: PropTypes.string,
|
|
150
|
+
/**
|
|
151
|
+
* The tooltip item.
|
|
152
|
+
* Used when the tooltip is controlled.
|
|
153
|
+
*/
|
|
154
|
+
tooltipItem: PropTypes.oneOfType([PropTypes.shape({
|
|
155
|
+
nodeId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
156
|
+
seriesId: PropTypes.string.isRequired,
|
|
157
|
+
subType: PropTypes.oneOf([
|
|
158
|
+
/**
|
|
159
|
+
* Subtype to differentiate between node and link
|
|
160
|
+
*/
|
|
161
|
+
'node']).isRequired
|
|
162
|
+
}), PropTypes.shape({
|
|
163
|
+
nodeId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
164
|
+
seriesId: PropTypes.string.isRequired,
|
|
165
|
+
subType: PropTypes.oneOf([
|
|
166
|
+
/**
|
|
167
|
+
* Subtype to differentiate between node and link
|
|
168
|
+
*/
|
|
169
|
+
'node']).isRequired,
|
|
170
|
+
type: PropTypes.oneOf(['sankey']).isRequired
|
|
171
|
+
}), PropTypes.shape({
|
|
172
|
+
seriesId: PropTypes.string.isRequired,
|
|
173
|
+
sourceId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
174
|
+
subType: PropTypes.oneOf([
|
|
175
|
+
/**
|
|
176
|
+
* Subtype to differentiate between node and link
|
|
177
|
+
*/
|
|
178
|
+
'link']).isRequired,
|
|
179
|
+
targetId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
|
|
180
|
+
}), PropTypes.shape({
|
|
181
|
+
seriesId: PropTypes.string.isRequired,
|
|
182
|
+
sourceId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
183
|
+
subType: PropTypes.oneOf([
|
|
184
|
+
/**
|
|
185
|
+
* Subtype to differentiate between node and link
|
|
186
|
+
*/
|
|
187
|
+
'link']).isRequired,
|
|
188
|
+
targetId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
189
|
+
type: PropTypes.oneOf(['sankey']).isRequired
|
|
190
|
+
})]),
|
|
191
|
+
/**
|
|
192
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
193
|
+
*/
|
|
194
|
+
width: PropTypes.number
|
|
195
|
+
} : void 0;
|
|
27
196
|
export { SankeyDataProvider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyClasses } from "./sankeyClasses.mjs";
|
|
2
2
|
export interface SankeyLinkLabelPlotProps {
|
|
3
3
|
/**
|
|
4
4
|
* Classes applied to the various elements.
|
|
@@ -6,4 +6,7 @@ export interface SankeyLinkLabelPlotProps {
|
|
|
6
6
|
classes?: Partial<SankeyClasses>;
|
|
7
7
|
}
|
|
8
8
|
declare function SankeyLinkLabelPlot(props: SankeyLinkLabelPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
declare namespace SankeyLinkLabelPlot {
|
|
10
|
+
var propTypes: any;
|
|
11
|
+
}
|
|
9
12
|
export { SankeyLinkLabelPlot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyClasses } from "./sankeyClasses.js";
|
|
2
2
|
export interface SankeyLinkLabelPlotProps {
|
|
3
3
|
/**
|
|
4
4
|
* Classes applied to the various elements.
|
|
@@ -6,4 +6,7 @@ export interface SankeyLinkLabelPlotProps {
|
|
|
6
6
|
classes?: Partial<SankeyClasses>;
|
|
7
7
|
}
|
|
8
8
|
declare function SankeyLinkLabelPlot(props: SankeyLinkLabelPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
declare namespace SankeyLinkLabelPlot {
|
|
10
|
+
var propTypes: any;
|
|
11
|
+
}
|
|
9
12
|
export { SankeyLinkLabelPlot };
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SankeyLinkLabelPlot = SankeyLinkLabelPlot;
|
|
9
9
|
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
11
|
var _SankeyLinkLabel = require("./SankeyLinkLabel");
|
|
11
12
|
var _useSankeySeries = require("../hooks/useSankeySeries");
|
|
12
13
|
var _sankeyClasses = require("./sankeyClasses");
|
|
@@ -37,4 +38,14 @@ function SankeyLinkLabelPlot(props) {
|
|
|
37
38
|
link: link
|
|
38
39
|
}, `label-link-${link.source.id}-${link.target.id}`))
|
|
39
40
|
});
|
|
40
|
-
}
|
|
41
|
+
}
|
|
42
|
+
process.env.NODE_ENV !== "production" ? SankeyLinkLabelPlot.propTypes /* remove-proptypes */ = {
|
|
43
|
+
// ----------------------------- Warning --------------------------------
|
|
44
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
45
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
46
|
+
// ----------------------------------------------------------------------
|
|
47
|
+
/**
|
|
48
|
+
* Classes applied to the various elements.
|
|
49
|
+
*/
|
|
50
|
+
classes: _propTypes.default.object
|
|
51
|
+
} : void 0;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
4
5
|
import { SankeyLinkLabel } from "./SankeyLinkLabel.mjs";
|
|
5
6
|
import { useSankeyLayout, useSankeySeries } from "../hooks/useSankeySeries.mjs";
|
|
6
7
|
import { useUtilityClasses } from "./sankeyClasses.mjs";
|
|
@@ -32,4 +33,14 @@ function SankeyLinkLabelPlot(props) {
|
|
|
32
33
|
}, `label-link-${link.source.id}-${link.target.id}`))
|
|
33
34
|
});
|
|
34
35
|
}
|
|
36
|
+
process.env.NODE_ENV !== "production" ? SankeyLinkLabelPlot.propTypes /* remove-proptypes */ = {
|
|
37
|
+
// ----------------------------- Warning --------------------------------
|
|
38
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
39
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
40
|
+
// ----------------------------------------------------------------------
|
|
41
|
+
/**
|
|
42
|
+
* Classes applied to the various elements.
|
|
43
|
+
*/
|
|
44
|
+
classes: PropTypes.object
|
|
45
|
+
} : void 0;
|
|
35
46
|
export { SankeyLinkLabelPlot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SankeyLinkIdentifierWithData } from "./sankey.types.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.mjs";
|
|
4
4
|
export interface SankeyLinkPlotProps {
|
|
5
5
|
/**
|
|
6
6
|
* Classes applied to the various elements.
|
|
@@ -14,4 +14,7 @@ export interface SankeyLinkPlotProps {
|
|
|
14
14
|
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, link: SankeyLinkIdentifierWithData) => void;
|
|
15
15
|
}
|
|
16
16
|
declare function SankeyLinkPlot(props: SankeyLinkPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
declare namespace SankeyLinkPlot {
|
|
18
|
+
var propTypes: any;
|
|
19
|
+
}
|
|
17
20
|
export { SankeyLinkPlot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SankeyLinkIdentifierWithData } from "./sankey.types.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.js";
|
|
4
4
|
export interface SankeyLinkPlotProps {
|
|
5
5
|
/**
|
|
6
6
|
* Classes applied to the various elements.
|
|
@@ -14,4 +14,7 @@ export interface SankeyLinkPlotProps {
|
|
|
14
14
|
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, link: SankeyLinkIdentifierWithData) => void;
|
|
15
15
|
}
|
|
16
16
|
declare function SankeyLinkPlot(props: SankeyLinkPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
declare namespace SankeyLinkPlot {
|
|
18
|
+
var propTypes: any;
|
|
19
|
+
}
|
|
17
20
|
export { SankeyLinkPlot };
|
|
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9
9
|
exports.SankeyLinkPlot = SankeyLinkPlot;
|
|
10
10
|
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
13
|
var _styles = require("@mui/material/styles");
|
|
13
14
|
var _SankeyLinkElement = require("./SankeyLinkElement");
|
|
14
15
|
var _useSankeySeries = require("../hooks/useSankeySeries");
|
|
@@ -53,4 +54,20 @@ function SankeyLinkPlot(props) {
|
|
|
53
54
|
onClick: onClick
|
|
54
55
|
}, `${link.source.id}-${link.target.id}`))
|
|
55
56
|
});
|
|
56
|
-
}
|
|
57
|
+
}
|
|
58
|
+
process.env.NODE_ENV !== "production" ? SankeyLinkPlot.propTypes /* remove-proptypes */ = {
|
|
59
|
+
// ----------------------------- Warning --------------------------------
|
|
60
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
61
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
62
|
+
// ----------------------------------------------------------------------
|
|
63
|
+
/**
|
|
64
|
+
* Classes applied to the various elements.
|
|
65
|
+
*/
|
|
66
|
+
classes: _propTypes.default.object,
|
|
67
|
+
/**
|
|
68
|
+
* Callback fired when a sankey item is clicked.
|
|
69
|
+
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
70
|
+
* @param {SankeyLinkIdentifierWithData} link The sankey link identifier.
|
|
71
|
+
*/
|
|
72
|
+
onClick: _propTypes.default.func
|
|
73
|
+
} : void 0;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
5
6
|
import { styled } from '@mui/material/styles';
|
|
6
7
|
import { SankeyLinkElement } from "./SankeyLinkElement.mjs";
|
|
7
8
|
import { useSankeyLayout, useSankeySeries } from "../hooks/useSankeySeries.mjs";
|
|
@@ -47,4 +48,20 @@ function SankeyLinkPlot(props) {
|
|
|
47
48
|
}, `${link.source.id}-${link.target.id}`))
|
|
48
49
|
});
|
|
49
50
|
}
|
|
51
|
+
process.env.NODE_ENV !== "production" ? SankeyLinkPlot.propTypes /* remove-proptypes */ = {
|
|
52
|
+
// ----------------------------- Warning --------------------------------
|
|
53
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
54
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
55
|
+
// ----------------------------------------------------------------------
|
|
56
|
+
/**
|
|
57
|
+
* Classes applied to the various elements.
|
|
58
|
+
*/
|
|
59
|
+
classes: PropTypes.object,
|
|
60
|
+
/**
|
|
61
|
+
* Callback fired when a sankey item is clicked.
|
|
62
|
+
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
63
|
+
* @param {SankeyLinkIdentifierWithData} link The sankey link identifier.
|
|
64
|
+
*/
|
|
65
|
+
onClick: PropTypes.func
|
|
66
|
+
} : void 0;
|
|
50
67
|
export { SankeyLinkPlot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyClasses } from "./sankeyClasses.mjs";
|
|
2
2
|
export interface SankeyNodeLabelPlotProps {
|
|
3
3
|
/**
|
|
4
4
|
* Classes applied to the various elements.
|
|
@@ -6,4 +6,7 @@ export interface SankeyNodeLabelPlotProps {
|
|
|
6
6
|
classes?: Partial<SankeyClasses>;
|
|
7
7
|
}
|
|
8
8
|
declare function SankeyNodeLabelPlot(props: SankeyNodeLabelPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
declare namespace SankeyNodeLabelPlot {
|
|
10
|
+
var propTypes: any;
|
|
11
|
+
}
|
|
9
12
|
export { SankeyNodeLabelPlot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyClasses } from "./sankeyClasses.js";
|
|
2
2
|
export interface SankeyNodeLabelPlotProps {
|
|
3
3
|
/**
|
|
4
4
|
* Classes applied to the various elements.
|
|
@@ -6,4 +6,7 @@ export interface SankeyNodeLabelPlotProps {
|
|
|
6
6
|
classes?: Partial<SankeyClasses>;
|
|
7
7
|
}
|
|
8
8
|
declare function SankeyNodeLabelPlot(props: SankeyNodeLabelPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
declare namespace SankeyNodeLabelPlot {
|
|
10
|
+
var propTypes: any;
|
|
11
|
+
}
|
|
9
12
|
export { SankeyNodeLabelPlot };
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SankeyNodeLabelPlot = SankeyNodeLabelPlot;
|
|
9
9
|
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
11
|
var _useSankeySeries = require("../hooks/useSankeySeries");
|
|
11
12
|
var _sankeyClasses = require("./sankeyClasses");
|
|
12
13
|
var _SankeyNodeLabel = require("./SankeyNodeLabel");
|
|
@@ -39,4 +40,14 @@ function SankeyNodeLabelPlot(props) {
|
|
|
39
40
|
node: node
|
|
40
41
|
}, `label-node-${node.id}`))
|
|
41
42
|
});
|
|
42
|
-
}
|
|
43
|
+
}
|
|
44
|
+
process.env.NODE_ENV !== "production" ? SankeyNodeLabelPlot.propTypes /* remove-proptypes */ = {
|
|
45
|
+
// ----------------------------- Warning --------------------------------
|
|
46
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
48
|
+
// ----------------------------------------------------------------------
|
|
49
|
+
/**
|
|
50
|
+
* Classes applied to the various elements.
|
|
51
|
+
*/
|
|
52
|
+
classes: _propTypes.default.object
|
|
53
|
+
} : void 0;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
4
5
|
import { useSankeyLayout, useSankeySeries } from "../hooks/useSankeySeries.mjs";
|
|
5
6
|
import { useUtilityClasses } from "./sankeyClasses.mjs";
|
|
6
7
|
import { SankeyNodeLabel } from "./SankeyNodeLabel.mjs";
|
|
@@ -34,4 +35,14 @@ function SankeyNodeLabelPlot(props) {
|
|
|
34
35
|
}, `label-node-${node.id}`))
|
|
35
36
|
});
|
|
36
37
|
}
|
|
38
|
+
process.env.NODE_ENV !== "production" ? SankeyNodeLabelPlot.propTypes /* remove-proptypes */ = {
|
|
39
|
+
// ----------------------------- Warning --------------------------------
|
|
40
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
41
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
42
|
+
// ----------------------------------------------------------------------
|
|
43
|
+
/**
|
|
44
|
+
* Classes applied to the various elements.
|
|
45
|
+
*/
|
|
46
|
+
classes: PropTypes.object
|
|
47
|
+
} : void 0;
|
|
37
48
|
export { SankeyNodeLabelPlot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SankeyNodeIdentifierWithData } from "./sankey.types.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.mjs";
|
|
4
4
|
export interface SankeyNodePlotProps {
|
|
5
5
|
/**
|
|
6
6
|
* Classes applied to the various elements.
|
|
@@ -14,4 +14,7 @@ export interface SankeyNodePlotProps {
|
|
|
14
14
|
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, node: SankeyNodeIdentifierWithData) => void;
|
|
15
15
|
}
|
|
16
16
|
declare function SankeyNodePlot(props: SankeyNodePlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
declare namespace SankeyNodePlot {
|
|
18
|
+
var propTypes: any;
|
|
19
|
+
}
|
|
17
20
|
export { SankeyNodePlot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SankeyNodeIdentifierWithData } from "./sankey.types.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.js";
|
|
4
4
|
export interface SankeyNodePlotProps {
|
|
5
5
|
/**
|
|
6
6
|
* Classes applied to the various elements.
|
|
@@ -14,4 +14,7 @@ export interface SankeyNodePlotProps {
|
|
|
14
14
|
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, node: SankeyNodeIdentifierWithData) => void;
|
|
15
15
|
}
|
|
16
16
|
declare function SankeyNodePlot(props: SankeyNodePlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
declare namespace SankeyNodePlot {
|
|
18
|
+
var propTypes: any;
|
|
19
|
+
}
|
|
17
20
|
export { SankeyNodePlot };
|
|
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9
9
|
exports.SankeyNodePlot = SankeyNodePlot;
|
|
10
10
|
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
13
|
var _styles = require("@mui/material/styles");
|
|
13
14
|
var _SankeyNodeElement = require("./SankeyNodeElement");
|
|
14
15
|
var _useSankeySeries = require("../hooks/useSankeySeries");
|
|
@@ -52,4 +53,20 @@ function SankeyNodePlot(props) {
|
|
|
52
53
|
onClick: onClick
|
|
53
54
|
}, node.id))
|
|
54
55
|
});
|
|
55
|
-
}
|
|
56
|
+
}
|
|
57
|
+
process.env.NODE_ENV !== "production" ? SankeyNodePlot.propTypes /* remove-proptypes */ = {
|
|
58
|
+
// ----------------------------- Warning --------------------------------
|
|
59
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
60
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
61
|
+
// ----------------------------------------------------------------------
|
|
62
|
+
/**
|
|
63
|
+
* Classes applied to the various elements.
|
|
64
|
+
*/
|
|
65
|
+
classes: _propTypes.default.object,
|
|
66
|
+
/**
|
|
67
|
+
* Callback fired when a sankey item is clicked.
|
|
68
|
+
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
69
|
+
* @param {SankeyNodeIdentifierWithData} node The sankey node identifier.
|
|
70
|
+
*/
|
|
71
|
+
onClick: _propTypes.default.func
|
|
72
|
+
} : void 0;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
5
6
|
import { styled } from '@mui/material/styles';
|
|
6
7
|
import { SankeyNodeElement } from "./SankeyNodeElement.mjs";
|
|
7
8
|
import { useSankeyLayout, useSankeySeries } from "../hooks/useSankeySeries.mjs";
|
|
@@ -46,4 +47,20 @@ function SankeyNodePlot(props) {
|
|
|
46
47
|
}, node.id))
|
|
47
48
|
});
|
|
48
49
|
}
|
|
50
|
+
process.env.NODE_ENV !== "production" ? SankeyNodePlot.propTypes /* remove-proptypes */ = {
|
|
51
|
+
// ----------------------------- Warning --------------------------------
|
|
52
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
53
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
54
|
+
// ----------------------------------------------------------------------
|
|
55
|
+
/**
|
|
56
|
+
* Classes applied to the various elements.
|
|
57
|
+
*/
|
|
58
|
+
classes: PropTypes.object,
|
|
59
|
+
/**
|
|
60
|
+
* Callback fired when a sankey item is clicked.
|
|
61
|
+
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
62
|
+
* @param {SankeyNodeIdentifierWithData} node The sankey node identifier.
|
|
63
|
+
*/
|
|
64
|
+
onClick: PropTypes.func
|
|
65
|
+
} : void 0;
|
|
49
66
|
export { SankeyNodePlot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SankeyLinkIdentifierWithData, SankeyNodeIdentifierWithData } from "./sankey.types.mjs";
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.mjs";
|
|
4
4
|
export interface SankeyPlotProps {
|
|
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 { SankeyLinkIdentifierWithData, SankeyNodeIdentifierWithData } from "./sankey.types.js";
|
|
3
|
+
import type { SankeyClasses } from "./sankeyClasses.js";
|
|
4
4
|
export interface SankeyPlotProps {
|
|
5
5
|
/**
|
|
6
6
|
* A CSS class name applied to the root element.
|
|
@@ -67,7 +67,7 @@ function SankeyPlot(props) {
|
|
|
67
67
|
})]
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes = {
|
|
70
|
+
process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes /* remove-proptypes */ = {
|
|
71
71
|
// ----------------------------- Warning --------------------------------
|
|
72
72
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
73
73
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -76,6 +76,10 @@ process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes = {
|
|
|
76
76
|
* Classes applied to the various elements.
|
|
77
77
|
*/
|
|
78
78
|
classes: _propTypes.default.object,
|
|
79
|
+
/**
|
|
80
|
+
* A CSS class name applied to the root element.
|
|
81
|
+
*/
|
|
82
|
+
className: _propTypes.default.string,
|
|
79
83
|
/**
|
|
80
84
|
* Callback fired when a sankey item is clicked.
|
|
81
85
|
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
@@ -60,7 +60,7 @@ function SankeyPlot(props) {
|
|
|
60
60
|
})]
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes = {
|
|
63
|
+
process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes /* remove-proptypes */ = {
|
|
64
64
|
// ----------------------------- Warning --------------------------------
|
|
65
65
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
66
66
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -69,6 +69,10 @@ process.env.NODE_ENV !== "production" ? SankeyPlot.propTypes = {
|
|
|
69
69
|
* Classes applied to the various elements.
|
|
70
70
|
*/
|
|
71
71
|
classes: PropTypes.object,
|
|
72
|
+
/**
|
|
73
|
+
* A CSS class name applied to the root element.
|
|
74
|
+
*/
|
|
75
|
+
className: PropTypes.string,
|
|
72
76
|
/**
|
|
73
77
|
* Callback fired when a sankey item is clicked.
|
|
74
78
|
* @param {React.MouseEvent<SVGElement, MouseEvent>} event The event source of the callback.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyTooltipProps } from "./SankeyTooltip.types.mjs";
|
|
2
2
|
declare function SankeyTooltip(props: SankeyTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace SankeyTooltip {
|
|
4
4
|
var propTypes: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SankeyTooltipProps } from "./SankeyTooltip.types.js";
|
|
2
2
|
declare function SankeyTooltip(props: SankeyTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace SankeyTooltip {
|
|
4
4
|
var propTypes: any;
|