@visactor/react-vchart 1.11.0-alpha.2 → 1.11.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/cjs/VChart.d.ts +1 -3
- package/cjs/VChart.js +2 -2
- package/cjs/VChart.js.map +1 -1
- package/cjs/charts/AreaChart.d.ts +1 -1
- package/cjs/charts/AreaChart.js +3 -9
- package/cjs/charts/AreaChart.js.map +1 -1
- package/cjs/charts/Bar3dChart.d.ts +10 -0
- package/cjs/charts/Bar3dChart.js +13 -0
- package/cjs/charts/Bar3dChart.js.map +1 -0
- package/cjs/charts/BarChart.d.ts +1 -1
- package/cjs/charts/BarChart.js +3 -9
- package/cjs/charts/BarChart.js.map +1 -1
- package/cjs/charts/BaseChart.d.ts +3 -3
- package/cjs/charts/BaseChart.js +11 -7
- package/cjs/charts/BaseChart.js.map +1 -1
- package/cjs/charts/BoxPlotChart.d.ts +1 -1
- package/cjs/charts/BoxPlotChart.js +3 -9
- package/cjs/charts/BoxPlotChart.js.map +1 -1
- package/cjs/charts/CirclePackingChart.d.ts +10 -0
- package/cjs/charts/CirclePackingChart.js +13 -0
- package/cjs/charts/CirclePackingChart.js.map +1 -0
- package/cjs/charts/CircularProgressChart.d.ts +1 -1
- package/cjs/charts/CircularProgressChart.js +3 -9
- package/cjs/charts/CircularProgressChart.js.map +1 -1
- package/cjs/charts/CommonChart.d.ts +1 -1
- package/cjs/charts/CommonChart.js +3 -9
- package/cjs/charts/CommonChart.js.map +1 -1
- package/cjs/charts/CorrelationChart.d.ts +10 -0
- package/cjs/charts/CorrelationChart.js +13 -0
- package/cjs/charts/CorrelationChart.js.map +1 -0
- package/cjs/charts/Funnel3dChart.d.ts +10 -0
- package/cjs/charts/Funnel3dChart.js +13 -0
- package/cjs/charts/Funnel3dChart.js.map +1 -0
- package/cjs/charts/FunnelChart.d.ts +1 -1
- package/cjs/charts/FunnelChart.js +3 -9
- package/cjs/charts/FunnelChart.js.map +1 -1
- package/cjs/charts/GaugeChart.d.ts +10 -0
- package/cjs/charts/GaugeChart.js +13 -0
- package/cjs/charts/GaugeChart.js.map +1 -0
- package/cjs/charts/HeatmapChart.d.ts +10 -0
- package/cjs/charts/HeatmapChart.js +13 -0
- package/cjs/charts/HeatmapChart.js.map +1 -0
- package/cjs/charts/Histogram3dChart.d.ts +10 -0
- package/cjs/charts/Histogram3dChart.js +13 -0
- package/cjs/charts/Histogram3dChart.js.map +1 -0
- package/cjs/charts/HistogramChart.d.ts +1 -1
- package/cjs/charts/HistogramChart.js +3 -10
- package/cjs/charts/HistogramChart.js.map +1 -1
- package/cjs/charts/LineChart.d.ts +1 -1
- package/cjs/charts/LineChart.js +3 -9
- package/cjs/charts/LineChart.js.map +1 -1
- package/cjs/charts/LinearProgressChart.d.ts +1 -1
- package/cjs/charts/LinearProgressChart.js +3 -9
- package/cjs/charts/LinearProgressChart.js.map +1 -1
- package/cjs/charts/LiquidChart.d.ts +10 -0
- package/cjs/charts/LiquidChart.js +13 -0
- package/cjs/charts/LiquidChart.js.map +1 -0
- package/cjs/charts/MapChart.d.ts +1 -1
- package/cjs/charts/MapChart.js +3 -9
- package/cjs/charts/MapChart.js.map +1 -1
- package/cjs/charts/Pie3dChart.d.ts +10 -0
- package/cjs/charts/Pie3dChart.js +13 -0
- package/cjs/charts/Pie3dChart.js.map +1 -0
- package/cjs/charts/PieChart.d.ts +1 -1
- package/cjs/charts/PieChart.js +3 -9
- package/cjs/charts/PieChart.js.map +1 -1
- package/cjs/charts/RadarChart.d.ts +1 -1
- package/cjs/charts/RadarChart.js +3 -9
- package/cjs/charts/RadarChart.js.map +1 -1
- package/cjs/charts/RangeColumn3dChart.d.ts +10 -0
- package/cjs/charts/RangeColumn3dChart.js +13 -0
- package/cjs/charts/RangeColumn3dChart.js.map +1 -0
- package/cjs/charts/RangeColumnChart.d.ts +1 -1
- package/cjs/charts/RangeColumnChart.js +3 -9
- package/cjs/charts/RangeColumnChart.js.map +1 -1
- package/cjs/charts/RoseChart.d.ts +1 -1
- package/cjs/charts/RoseChart.js +4 -9
- package/cjs/charts/RoseChart.js.map +1 -1
- package/cjs/charts/SankeyChart.d.ts +10 -0
- package/cjs/charts/SankeyChart.js +13 -0
- package/cjs/charts/SankeyChart.js.map +1 -0
- package/cjs/charts/ScatterChart.d.ts +1 -1
- package/cjs/charts/ScatterChart.js +3 -9
- package/cjs/charts/ScatterChart.js.map +1 -1
- package/cjs/charts/SequenceChart.d.ts +1 -1
- package/cjs/charts/SequenceChart.js +3 -9
- package/cjs/charts/SequenceChart.js.map +1 -1
- package/cjs/charts/SunburstChart.d.ts +10 -0
- package/cjs/charts/SunburstChart.js +13 -0
- package/cjs/charts/SunburstChart.js.map +1 -0
- package/cjs/charts/TreemapChart.d.ts +10 -0
- package/cjs/charts/TreemapChart.js +13 -0
- package/cjs/charts/TreemapChart.js.map +1 -0
- package/cjs/charts/WaterfallChart.d.ts +10 -0
- package/cjs/charts/WaterfallChart.js +12 -0
- package/cjs/charts/WaterfallChart.js.map +1 -0
- package/cjs/charts/WordCloud3dChart.d.ts +10 -0
- package/cjs/charts/WordCloud3dChart.js +13 -0
- package/cjs/charts/WordCloud3dChart.js.map +1 -0
- package/cjs/charts/WordCloudChart.d.ts +1 -1
- package/cjs/charts/WordCloudChart.js +3 -9
- package/cjs/charts/WordCloudChart.js.map +1 -1
- package/cjs/charts/index.d.ts +26 -10
- package/cjs/charts/index.js +15 -7
- package/cjs/charts/index.js.map +1 -1
- package/cjs/charts/register.d.ts +3 -0
- package/cjs/charts/register.js +12 -0
- package/cjs/charts/register.js.map +1 -0
- package/cjs/components/BaseComponent.d.ts +1 -1
- package/cjs/components/BaseComponent.js +2 -1
- package/cjs/components/BaseComponent.js.map +1 -1
- package/cjs/components/Brush.js +2 -2
- package/cjs/components/Brush.js.map +1 -1
- package/cjs/components/ContinuousLegend.d.ts +5 -0
- package/cjs/components/ContinuousLegend.js +10 -0
- package/cjs/components/ContinuousLegend.js.map +1 -0
- package/cjs/components/DataZoom.js +2 -2
- package/cjs/components/DataZoom.js.map +1 -1
- package/cjs/components/Indicator.js +2 -2
- package/cjs/components/Indicator.js.map +1 -1
- package/cjs/components/Legend.js +2 -2
- package/cjs/components/Legend.js.map +1 -1
- package/cjs/components/Mark.js +2 -2
- package/cjs/components/Mark.js.map +1 -1
- package/cjs/components/MarkArea.js +2 -2
- package/cjs/components/MarkArea.js.map +1 -1
- package/cjs/components/MarkLine.js +2 -2
- package/cjs/components/MarkLine.js.map +1 -1
- package/cjs/components/MarkPoint.js +2 -2
- package/cjs/components/MarkPoint.js.map +1 -1
- package/cjs/components/Player.js +2 -2
- package/cjs/components/Player.js.map +1 -1
- package/cjs/components/Region.d.ts +1 -2
- package/cjs/components/Region.js.map +1 -1
- package/cjs/components/ScrollBar.js +2 -2
- package/cjs/components/ScrollBar.js.map +1 -1
- package/cjs/components/Title.js +2 -2
- package/cjs/components/Title.js.map +1 -1
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/index.js +1 -1
- package/cjs/components/index.js.map +1 -1
- package/cjs/components/tooltip/CanvasTooltip.d.ts +2 -0
- package/cjs/components/tooltip/CanvasTooltip.js +10 -0
- package/cjs/components/tooltip/CanvasTooltip.js.map +1 -0
- package/cjs/components/tooltip/Tooltip.js +2 -2
- package/cjs/components/tooltip/Tooltip.js.map +1 -1
- package/cjs/components/tooltip/index.d.ts +1 -0
- package/cjs/components/tooltip/index.js +1 -1
- package/cjs/components/tooltip/index.js.map +1 -1
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +12 -3
- package/cjs/index.js.map +1 -1
- package/cjs/series/Area.js +2 -2
- package/cjs/series/Area.js.map +1 -1
- package/cjs/series/Bar.js +3 -3
- package/cjs/series/Bar.js.map +1 -1
- package/cjs/series/Bar3d.d.ts +7 -0
- package/cjs/series/Bar3d.js +10 -0
- package/cjs/series/Bar3d.js.map +1 -0
- package/cjs/series/BaseSeries.d.ts +1 -1
- package/cjs/series/BaseSeries.js +3 -2
- package/cjs/series/BaseSeries.js.map +1 -1
- package/cjs/series/BoxPlot.js +3 -3
- package/cjs/series/BoxPlot.js.map +1 -1
- package/cjs/series/CirclePacking.d.ts +7 -0
- package/cjs/series/CirclePacking.js +10 -0
- package/cjs/series/CirclePacking.js.map +1 -0
- package/cjs/series/CircularProgress.js +3 -3
- package/cjs/series/CircularProgress.js.map +1 -1
- package/cjs/series/Correlation.d.ts +7 -0
- package/cjs/series/Correlation.js +10 -0
- package/cjs/series/Correlation.js.map +1 -0
- package/cjs/series/Dot.js +3 -3
- package/cjs/series/Dot.js.map +1 -1
- package/cjs/series/Funnel.js +3 -3
- package/cjs/series/Funnel.js.map +1 -1
- package/cjs/series/Funnel3d.d.ts +7 -0
- package/cjs/series/Funnel3d.js +10 -0
- package/cjs/series/Funnel3d.js.map +1 -0
- package/cjs/series/Gauge.d.ts +7 -0
- package/cjs/series/Gauge.js +10 -0
- package/cjs/series/Gauge.js.map +1 -0
- package/cjs/series/Heatmap.d.ts +7 -0
- package/cjs/series/Heatmap.js +10 -0
- package/cjs/series/Heatmap.js.map +1 -0
- package/cjs/series/Line.js +3 -3
- package/cjs/series/Line.js.map +1 -1
- package/cjs/series/LinearProgress.js +3 -3
- package/cjs/series/LinearProgress.js.map +1 -1
- package/cjs/series/Link.js +3 -2
- package/cjs/series/Link.js.map +1 -1
- package/cjs/series/Liquid.d.ts +7 -0
- package/cjs/series/Liquid.js +10 -0
- package/cjs/series/Liquid.js.map +1 -0
- package/cjs/series/Map.js +3 -3
- package/cjs/series/Map.js.map +1 -1
- package/cjs/series/Pie.js +3 -3
- package/cjs/series/Pie.js.map +1 -1
- package/cjs/series/Pie3d.d.ts +7 -0
- package/cjs/series/Pie3d.js +10 -0
- package/cjs/series/Pie3d.js.map +1 -0
- package/cjs/series/Radar.js +3 -3
- package/cjs/series/Radar.js.map +1 -1
- package/cjs/series/RangeColumn.js +3 -3
- package/cjs/series/RangeColumn.js.map +1 -1
- package/cjs/series/RangeColumn3d.d.ts +7 -0
- package/cjs/series/RangeColumn3d.js +10 -0
- package/cjs/series/RangeColumn3d.js.map +1 -0
- package/cjs/series/Rose.js +3 -3
- package/cjs/series/Rose.js.map +1 -1
- package/cjs/series/Sankey.d.ts +7 -0
- package/cjs/series/Sankey.js +10 -0
- package/cjs/series/Sankey.js.map +1 -0
- package/cjs/series/Scatter.js +3 -3
- package/cjs/series/Scatter.js.map +1 -1
- package/cjs/series/Series.js +1 -1
- package/cjs/series/Sunburst.d.ts +7 -0
- package/cjs/series/Sunburst.js +10 -0
- package/cjs/series/Sunburst.js.map +1 -0
- package/cjs/series/Treemap.d.ts +7 -0
- package/cjs/series/Treemap.js +10 -0
- package/cjs/series/Treemap.js.map +1 -0
- package/cjs/series/Waterfall.d.ts +7 -0
- package/cjs/series/Waterfall.js +10 -0
- package/cjs/series/Waterfall.js.map +1 -0
- package/cjs/series/WordCloud.js +2 -2
- package/cjs/series/WordCloud.js.map +1 -1
- package/cjs/series/WordCloud3d.d.ts +7 -0
- package/cjs/series/WordCloud3d.js +10 -0
- package/cjs/series/WordCloud3d.js.map +1 -0
- package/cjs/series/index.d.ts +24 -10
- package/cjs/series/index.js +16 -9
- package/cjs/series/index.js.map +1 -1
- package/esm/VChart.d.ts +1 -3
- package/esm/VChart.js +1 -3
- package/esm/VChart.js.map +1 -1
- package/esm/charts/AreaChart.d.ts +1 -1
- package/esm/charts/AreaChart.js +4 -2
- package/esm/charts/AreaChart.js.map +1 -1
- package/esm/charts/Bar3dChart.d.ts +10 -0
- package/esm/charts/Bar3dChart.js +11 -0
- package/esm/charts/Bar3dChart.js.map +1 -0
- package/esm/charts/BarChart.d.ts +1 -1
- package/esm/charts/BarChart.js +4 -2
- package/esm/charts/BarChart.js.map +1 -1
- package/esm/charts/BaseChart.d.ts +3 -3
- package/esm/charts/BaseChart.js +12 -8
- package/esm/charts/BaseChart.js.map +1 -1
- package/esm/charts/BoxPlotChart.d.ts +1 -1
- package/esm/charts/BoxPlotChart.js +4 -2
- package/esm/charts/BoxPlotChart.js.map +1 -1
- package/esm/charts/CirclePackingChart.d.ts +10 -0
- package/esm/charts/CirclePackingChart.js +11 -0
- package/esm/charts/CirclePackingChart.js.map +1 -0
- package/esm/charts/CircularProgressChart.d.ts +1 -1
- package/esm/charts/CircularProgressChart.js +4 -2
- package/esm/charts/CircularProgressChart.js.map +1 -1
- package/esm/charts/CommonChart.d.ts +1 -1
- package/esm/charts/CommonChart.js +2 -2
- package/esm/charts/CommonChart.js.map +1 -1
- package/esm/charts/CorrelationChart.d.ts +10 -0
- package/esm/charts/CorrelationChart.js +11 -0
- package/esm/charts/CorrelationChart.js.map +1 -0
- package/esm/charts/Funnel3dChart.d.ts +10 -0
- package/esm/charts/Funnel3dChart.js +11 -0
- package/esm/charts/Funnel3dChart.js.map +1 -0
- package/esm/charts/FunnelChart.d.ts +1 -1
- package/esm/charts/FunnelChart.js +4 -2
- package/esm/charts/FunnelChart.js.map +1 -1
- package/esm/charts/GaugeChart.d.ts +10 -0
- package/esm/charts/GaugeChart.js +11 -0
- package/esm/charts/GaugeChart.js.map +1 -0
- package/esm/charts/HeatmapChart.d.ts +10 -0
- package/esm/charts/HeatmapChart.js +11 -0
- package/esm/charts/HeatmapChart.js.map +1 -0
- package/esm/charts/Histogram3dChart.d.ts +10 -0
- package/esm/charts/Histogram3dChart.js +11 -0
- package/esm/charts/Histogram3dChart.js.map +1 -0
- package/esm/charts/HistogramChart.d.ts +1 -1
- package/esm/charts/HistogramChart.js +4 -3
- package/esm/charts/HistogramChart.js.map +1 -1
- package/esm/charts/LineChart.d.ts +1 -1
- package/esm/charts/LineChart.js +4 -2
- package/esm/charts/LineChart.js.map +1 -1
- package/esm/charts/LinearProgressChart.d.ts +1 -1
- package/esm/charts/LinearProgressChart.js +4 -2
- package/esm/charts/LinearProgressChart.js.map +1 -1
- package/esm/charts/LiquidChart.d.ts +10 -0
- package/esm/charts/LiquidChart.js +11 -0
- package/esm/charts/LiquidChart.js.map +1 -0
- package/esm/charts/MapChart.d.ts +1 -1
- package/esm/charts/MapChart.js +4 -2
- package/esm/charts/MapChart.js.map +1 -1
- package/esm/charts/Pie3dChart.d.ts +10 -0
- package/esm/charts/Pie3dChart.js +11 -0
- package/esm/charts/Pie3dChart.js.map +1 -0
- package/esm/charts/PieChart.d.ts +1 -1
- package/esm/charts/PieChart.js +4 -2
- package/esm/charts/PieChart.js.map +1 -1
- package/esm/charts/RadarChart.d.ts +1 -1
- package/esm/charts/RadarChart.js +4 -2
- package/esm/charts/RadarChart.js.map +1 -1
- package/esm/charts/RangeColumn3dChart.d.ts +10 -0
- package/esm/charts/RangeColumn3dChart.js +11 -0
- package/esm/charts/RangeColumn3dChart.js.map +1 -0
- package/esm/charts/RangeColumnChart.d.ts +1 -1
- package/esm/charts/RangeColumnChart.js +4 -2
- package/esm/charts/RangeColumnChart.js.map +1 -1
- package/esm/charts/RoseChart.d.ts +1 -1
- package/esm/charts/RoseChart.js +5 -2
- package/esm/charts/RoseChart.js.map +1 -1
- package/esm/charts/SankeyChart.d.ts +10 -0
- package/esm/charts/SankeyChart.js +11 -0
- package/esm/charts/SankeyChart.js.map +1 -0
- package/esm/charts/ScatterChart.d.ts +1 -1
- package/esm/charts/ScatterChart.js +4 -2
- package/esm/charts/ScatterChart.js.map +1 -1
- package/esm/charts/SequenceChart.d.ts +1 -1
- package/esm/charts/SequenceChart.js +4 -2
- package/esm/charts/SequenceChart.js.map +1 -1
- package/esm/charts/SunburstChart.d.ts +10 -0
- package/esm/charts/SunburstChart.js +11 -0
- package/esm/charts/SunburstChart.js.map +1 -0
- package/esm/charts/TreemapChart.d.ts +10 -0
- package/esm/charts/TreemapChart.js +11 -0
- package/esm/charts/TreemapChart.js.map +1 -0
- package/esm/charts/WaterfallChart.d.ts +10 -0
- package/esm/charts/WaterfallChart.js +10 -0
- package/esm/charts/WaterfallChart.js.map +1 -0
- package/esm/charts/WordCloud3dChart.d.ts +10 -0
- package/esm/charts/WordCloud3dChart.js +11 -0
- package/esm/charts/WordCloud3dChart.js.map +1 -0
- package/esm/charts/WordCloudChart.d.ts +1 -1
- package/esm/charts/WordCloudChart.js +4 -2
- package/esm/charts/WordCloudChart.js.map +1 -1
- package/esm/charts/index.d.ts +26 -10
- package/esm/charts/index.js +43 -11
- package/esm/charts/index.js.map +1 -1
- package/esm/charts/register.d.ts +3 -0
- package/esm/charts/register.js +8 -0
- package/esm/charts/register.js.map +1 -0
- package/esm/components/BaseComponent.d.ts +1 -1
- package/esm/components/BaseComponent.js +4 -1
- package/esm/components/BaseComponent.js.map +1 -1
- package/esm/components/Brush.js +3 -1
- package/esm/components/Brush.js.map +1 -1
- package/esm/components/ContinuousLegend.d.ts +5 -0
- package/esm/components/ContinuousLegend.js +8 -0
- package/esm/components/ContinuousLegend.js.map +1 -0
- package/esm/components/DataZoom.js +3 -1
- package/esm/components/DataZoom.js.map +1 -1
- package/esm/components/Indicator.js +3 -1
- package/esm/components/Indicator.js.map +1 -1
- package/esm/components/Legend.js +3 -1
- package/esm/components/Legend.js.map +1 -1
- package/esm/components/Mark.js +3 -1
- package/esm/components/Mark.js.map +1 -1
- package/esm/components/MarkArea.js +3 -1
- package/esm/components/MarkArea.js.map +1 -1
- package/esm/components/MarkLine.js +3 -1
- package/esm/components/MarkLine.js.map +1 -1
- package/esm/components/MarkPoint.js +3 -1
- package/esm/components/MarkPoint.js.map +1 -1
- package/esm/components/Player.js +3 -1
- package/esm/components/Player.js.map +1 -1
- package/esm/components/Region.d.ts +1 -2
- package/esm/components/Region.js.map +1 -1
- package/esm/components/ScrollBar.js +3 -1
- package/esm/components/ScrollBar.js.map +1 -1
- package/esm/components/Title.js +3 -1
- package/esm/components/Title.js.map +1 -1
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +2 -0
- package/esm/components/index.js.map +1 -1
- package/esm/components/tooltip/CanvasTooltip.d.ts +2 -0
- package/esm/components/tooltip/CanvasTooltip.js +6 -0
- package/esm/components/tooltip/CanvasTooltip.js.map +1 -0
- package/esm/components/tooltip/Tooltip.js +3 -1
- package/esm/components/tooltip/Tooltip.js.map +1 -1
- package/esm/components/tooltip/index.d.ts +1 -0
- package/esm/components/tooltip/index.js +2 -0
- package/esm/components/tooltip/index.js.map +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.js +3 -1
- package/esm/index.js.map +1 -1
- package/esm/series/Area.js +3 -1
- package/esm/series/Area.js.map +1 -1
- package/esm/series/Bar.js +4 -2
- package/esm/series/Bar.js.map +1 -1
- package/esm/series/Bar3d.d.ts +7 -0
- package/esm/series/Bar3d.js +6 -0
- package/esm/series/Bar3d.js.map +1 -0
- package/esm/series/BaseSeries.d.ts +1 -1
- package/esm/series/BaseSeries.js +5 -2
- package/esm/series/BaseSeries.js.map +1 -1
- package/esm/series/BoxPlot.js +4 -2
- package/esm/series/BoxPlot.js.map +1 -1
- package/esm/series/CirclePacking.d.ts +7 -0
- package/esm/series/CirclePacking.js +6 -0
- package/esm/series/CirclePacking.js.map +1 -0
- package/esm/series/CircularProgress.js +4 -2
- package/esm/series/CircularProgress.js.map +1 -1
- package/esm/series/Correlation.d.ts +7 -0
- package/esm/series/Correlation.js +6 -0
- package/esm/series/Correlation.js.map +1 -0
- package/esm/series/Dot.js +4 -2
- package/esm/series/Dot.js.map +1 -1
- package/esm/series/Funnel.js +4 -2
- package/esm/series/Funnel.js.map +1 -1
- package/esm/series/Funnel3d.d.ts +7 -0
- package/esm/series/Funnel3d.js +6 -0
- package/esm/series/Funnel3d.js.map +1 -0
- package/esm/series/Gauge.d.ts +7 -0
- package/esm/series/Gauge.js +6 -0
- package/esm/series/Gauge.js.map +1 -0
- package/esm/series/Heatmap.d.ts +7 -0
- package/esm/series/Heatmap.js +6 -0
- package/esm/series/Heatmap.js.map +1 -0
- package/esm/series/Line.js +4 -2
- package/esm/series/Line.js.map +1 -1
- package/esm/series/LinearProgress.js +4 -2
- package/esm/series/LinearProgress.js.map +1 -1
- package/esm/series/Link.js +4 -1
- package/esm/series/Link.js.map +1 -1
- package/esm/series/Liquid.d.ts +7 -0
- package/esm/series/Liquid.js +6 -0
- package/esm/series/Liquid.js.map +1 -0
- package/esm/series/Map.js +4 -2
- package/esm/series/Map.js.map +1 -1
- package/esm/series/Pie.js +4 -2
- package/esm/series/Pie.js.map +1 -1
- package/esm/series/Pie3d.d.ts +7 -0
- package/esm/series/Pie3d.js +6 -0
- package/esm/series/Pie3d.js.map +1 -0
- package/esm/series/Radar.js +4 -2
- package/esm/series/Radar.js.map +1 -1
- package/esm/series/RangeColumn.js +4 -2
- package/esm/series/RangeColumn.js.map +1 -1
- package/esm/series/RangeColumn3d.d.ts +7 -0
- package/esm/series/RangeColumn3d.js +6 -0
- package/esm/series/RangeColumn3d.js.map +1 -0
- package/esm/series/Rose.js +4 -2
- package/esm/series/Rose.js.map +1 -1
- package/esm/series/Sankey.d.ts +7 -0
- package/esm/series/Sankey.js +6 -0
- package/esm/series/Sankey.js.map +1 -0
- package/esm/series/Scatter.js +4 -2
- package/esm/series/Scatter.js.map +1 -1
- package/esm/series/Series.js +1 -1
- package/esm/series/Sunburst.d.ts +7 -0
- package/esm/series/Sunburst.js +6 -0
- package/esm/series/Sunburst.js.map +1 -0
- package/esm/series/Treemap.d.ts +7 -0
- package/esm/series/Treemap.js +6 -0
- package/esm/series/Treemap.js.map +1 -0
- package/esm/series/Waterfall.d.ts +7 -0
- package/esm/series/Waterfall.js +6 -0
- package/esm/series/Waterfall.js.map +1 -0
- package/esm/series/WordCloud.js +3 -1
- package/esm/series/WordCloud.js.map +1 -1
- package/esm/series/WordCloud3d.d.ts +7 -0
- package/esm/series/WordCloud3d.js +6 -0
- package/esm/series/WordCloud3d.js.map +1 -0
- package/esm/series/index.d.ts +24 -10
- package/esm/series/index.js +40 -12
- package/esm/series/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __importDefault = this && this.__importDefault || function(mod) {
|
|
4
|
-
return mod && mod.__esModule ? mod : {
|
|
5
|
-
default: mod
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: !0
|
|
11
5
|
}), exports.SequenceChart = void 0;
|
|
12
6
|
|
|
13
|
-
const vchart_1 =
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
14
8
|
|
|
15
9
|
exports.SequenceChart = (0, BaseChart_1.createChart)("SequenceChart", {
|
|
16
10
|
type: "sequence",
|
|
17
|
-
vchartConstrouctor: vchart_1.
|
|
18
|
-
});
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerSequenceChart, ...register_1.cartesianComponentsRegisters ]);
|
|
19
13
|
//# sourceMappingURL=SequenceChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;AACjE,2CAA0D;AAC1D,yCAA0D;AAM7C,QAAA,aAAa,GAAG,IAAA,uBAAW,EACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,8BAAqB,EAAE,GAAG,uCAA4B,CAAC,CACzD,CAAC","file":"SequenceChart.js","sourcesContent":["import React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSequenceChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ISequenceChartSpec, 'type'> {}\n\nexport const SequenceChart = createChart<React.PropsWithChildren<SequenceChartProps> & { type: 'sequence' }>(\n 'SequenceChart',\n {\n type: 'sequence',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSequenceChart, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ISunburstChartSpec } from '@visactor/vchart';
|
|
3
|
+
import { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISunburstChartSpec, 'type'> {
|
|
5
|
+
}
|
|
6
|
+
export declare const SunburstChart: React.ForwardRefExoticComponent<SunburstChartProps & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & {
|
|
9
|
+
type: 'sunburst';
|
|
10
|
+
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.SunburstChart = void 0;
|
|
6
|
+
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
8
|
+
|
|
9
|
+
exports.SunburstChart = (0, BaseChart_1.createChart)("SunburstChart", {
|
|
10
|
+
type: "sunburst",
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerSunburstChart, ...register_1.simpleComponentsRegisters ]);
|
|
13
|
+
//# sourceMappingURL=SunburstChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;AACjE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,aAAa,GAAG,IAAA,uBAAW,EACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,8BAAqB,EAAE,GAAG,oCAAyB,CAAC,CACtD,CAAC","file":"SunburstChart.js","sourcesContent":["import React from 'react';\nimport type { ISunburstChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSunburstChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface SunburstChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ISunburstChartSpec, 'type'> {}\n\nexport const SunburstChart = createChart<React.PropsWithChildren<SunburstChartProps> & { type: 'sunburst' }>(\n 'SunburstChart',\n {\n type: 'sunburst',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSunburstChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ITreemapChartSpec } from '@visactor/vchart';
|
|
3
|
+
import { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ITreemapChartSpec, 'type'> {
|
|
5
|
+
}
|
|
6
|
+
export declare const TreemapChart: React.ForwardRefExoticComponent<TreemapChartProps & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & {
|
|
9
|
+
type: 'treemap';
|
|
10
|
+
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.TreemapChart = void 0;
|
|
6
|
+
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
8
|
+
|
|
9
|
+
exports.TreemapChart = (0, BaseChart_1.createChart)("TreemapChart", {
|
|
10
|
+
type: "treemap",
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerTreemapChart, ...register_1.simpleComponentsRegisters ]);
|
|
13
|
+
//# sourceMappingURL=TreemapChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgE;AAChE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,YAAY,GAAG,IAAA,uBAAW,EACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,6BAAoB,EAAE,GAAG,oCAAyB,CAAC,CACrD,CAAC","file":"TreemapChart.js","sourcesContent":["import React from 'react';\nimport type { ITreemapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerTreemapChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface TreemapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<ITreemapChartSpec, 'type'> {}\n\nexport const TreemapChart = createChart<React.PropsWithChildren<TreemapChartProps> & { type: 'treemap' }>(\n 'TreemapChart',\n {\n type: 'treemap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerTreemapChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IWaterfallChartSpec } from '@visactor/vchart';
|
|
3
|
+
import { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWaterfallChartSpec, 'type'> {
|
|
5
|
+
}
|
|
6
|
+
export declare const WaterfallChart: React.ForwardRefExoticComponent<WaterfallChartProps & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & {
|
|
9
|
+
type: 'waterfall';
|
|
10
|
+
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.WaterfallChart = void 0;
|
|
6
|
+
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
8
|
+
|
|
9
|
+
exports.WaterfallChart = (0, BaseChart_1.createChart)("WaterfallChart", {
|
|
10
|
+
type: "waterfall",
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerWaterfallChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...register_1.cartesianComponentsRegisters ]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqG;AACrG,2CAA0D;AAC1D,yCAA0D;AAQ7C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,uCAA4B,CAAC,CAC7F,CAAC","file":"WaterfallChart.js","sourcesContent":["import React from 'react';\nimport type { IWaterfallChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface WaterfallChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IWaterfallChartSpec, 'type'> {\n //\n}\n\nexport const WaterfallChart = createChart<React.PropsWithChildren<WaterfallChartProps> & { type: 'waterfall' }>(\n 'WaterfallChart',\n {\n type: 'waterfall',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWaterfallChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IWordCloud3dChartSpec } from '@visactor/vchart';
|
|
3
|
+
import { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloud3dChartSpec, 'type'> {
|
|
5
|
+
}
|
|
6
|
+
export declare const WordCloud3dChart: React.ForwardRefExoticComponent<WordCloud3dChartProps & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
} & {
|
|
9
|
+
type: 'wordCloud3d';
|
|
10
|
+
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.WordCloud3dChart = void 0;
|
|
6
|
+
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
8
|
+
|
|
9
|
+
exports.WordCloud3dChart = (0, BaseChart_1.createChart)("WordCloud3dChart", {
|
|
10
|
+
type: "wordCloud3d",
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerWordCloud3dChart, ...register_1.simpleComponentsRegisters ]);
|
|
13
|
+
//# sourceMappingURL=WordCloud3dChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;AACpE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,GAAG,oCAAyB,CAAC,CACzD,CAAC","file":"WordCloud3dChart.js","sourcesContent":["import React from 'react';\nimport type { IWordCloud3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloud3dChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface WordCloud3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IWordCloud3dChartSpec, 'type'> {}\n\nexport const WordCloud3dChart = createChart<React.PropsWithChildren<WordCloud3dChartProps> & { type: 'wordCloud3d' }>(\n 'WordCloud3dChart',\n {\n type: 'wordCloud3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloud3dChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IWordCloudChartSpec } from '@visactor/vchart';
|
|
3
3
|
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type'>, Omit<IWordCloudChartSpec, 'type'> {
|
|
4
|
+
export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloudChartSpec, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const WordCloudChart: React.ForwardRefExoticComponent<WordCloudChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __importDefault = this && this.__importDefault || function(mod) {
|
|
4
|
-
return mod && mod.__esModule ? mod : {
|
|
5
|
-
default: mod
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: !0
|
|
11
5
|
}), exports.WordCloudChart = void 0;
|
|
12
6
|
|
|
13
|
-
const vchart_1 =
|
|
7
|
+
const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart"), register_1 = require("./register");
|
|
14
8
|
|
|
15
9
|
exports.WordCloudChart = (0, BaseChart_1.createChart)("WordCloudChart", {
|
|
16
10
|
type: "wordCloud",
|
|
17
|
-
vchartConstrouctor: vchart_1.
|
|
18
|
-
});
|
|
11
|
+
vchartConstrouctor: vchart_1.VChart
|
|
12
|
+
}, [ vchart_1.registerWordCloudChart, ...register_1.simpleComponentsRegisters ]);
|
|
19
13
|
//# sourceMappingURL=WordCloudChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAkE;AAClE,2CAA0D;AAC1D,yCAAuD;AAM1C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,GAAG,oCAAyB,CAAC,CACvD,CAAC","file":"WordCloudChart.js","sourcesContent":["import React from 'react';\nimport type { IWordCloudChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloudChart } from '@visactor/vchart';\nimport { BaseChartProps, createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<IWordCloudChartSpec, 'type'> {}\n\nexport const WordCloudChart = createChart<React.PropsWithChildren<WordCloudChartProps> & { type: 'wordCloud' }>(\n 'WordCloudChart',\n {\n type: 'wordCloud',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloudChart, ...simpleComponentsRegisters]\n);\n"]}
|
package/cjs/charts/index.d.ts
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
export * from './AreaChart';
|
|
2
2
|
export * from './BarChart';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './ScatterChart';
|
|
5
|
-
export * from './PieChart';
|
|
6
|
-
export * from './RoseChart';
|
|
7
|
-
export * from './RadarChart';
|
|
8
|
-
export * from './MapChart';
|
|
9
|
-
export * from './HistogramChart';
|
|
10
|
-
export * from './WordCloudChart';
|
|
11
|
-
export * from './FunnelChart';
|
|
3
|
+
export * from './Bar3dChart';
|
|
12
4
|
export * from './BoxPlotChart';
|
|
5
|
+
export * from './CirclePackingChart';
|
|
13
6
|
export * from './CircularProgressChart';
|
|
7
|
+
export * from './CommonChart';
|
|
8
|
+
export * from './CorrelationChart';
|
|
9
|
+
export * from './FunnelChart';
|
|
10
|
+
export * from './Funnel3dChart';
|
|
11
|
+
export * from './GaugeChart';
|
|
12
|
+
export * from './HeatmapChart';
|
|
13
|
+
export * from './Histogram3dChart';
|
|
14
|
+
export * from './HistogramChart';
|
|
14
15
|
export * from './LinearProgressChart';
|
|
16
|
+
export * from './LineChart';
|
|
17
|
+
export * from './LiquidChart';
|
|
18
|
+
export * from './MapChart';
|
|
19
|
+
export * from './PieChart';
|
|
20
|
+
export * from './Pie3dChart';
|
|
21
|
+
export * from './RadarChart';
|
|
15
22
|
export * from './RangeColumnChart';
|
|
16
|
-
export * from './
|
|
23
|
+
export * from './RangeColumn3dChart';
|
|
24
|
+
export * from './RoseChart';
|
|
25
|
+
export * from './SankeyChart';
|
|
26
|
+
export * from './ScatterChart';
|
|
27
|
+
export * from './SequenceChart';
|
|
28
|
+
export * from './SunburstChart';
|
|
29
|
+
export * from './TreemapChart';
|
|
30
|
+
export * from './WordCloudChart';
|
|
31
|
+
export * from './WordCloud3dChart';
|
|
32
|
+
export * from './WordCloudChart';
|
|
17
33
|
export type { ChartOptions } from './BaseChart';
|
|
18
34
|
export type { IData, IChartSpec } from '@visactor/vchart';
|
package/cjs/charts/index.js
CHANGED
|
@@ -18,11 +18,19 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
20
|
}), __exportStar(require("./AreaChart"), exports), __exportStar(require("./BarChart"), exports),
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./Bar3dChart"), exports), __exportStar(require("./BoxPlotChart"), exports),
|
|
22
|
+
__exportStar(require("./CirclePackingChart"), exports), __exportStar(require("./CircularProgressChart"), exports),
|
|
23
|
+
__exportStar(require("./CommonChart"), exports), __exportStar(require("./CorrelationChart"), exports),
|
|
24
|
+
__exportStar(require("./FunnelChart"), exports), __exportStar(require("./Funnel3dChart"), exports),
|
|
25
|
+
__exportStar(require("./GaugeChart"), exports), __exportStar(require("./HeatmapChart"), exports),
|
|
26
|
+
__exportStar(require("./Histogram3dChart"), exports), __exportStar(require("./HistogramChart"), exports),
|
|
27
|
+
__exportStar(require("./LinearProgressChart"), exports), __exportStar(require("./LineChart"), exports),
|
|
28
|
+
__exportStar(require("./LiquidChart"), exports), __exportStar(require("./MapChart"), exports),
|
|
29
|
+
__exportStar(require("./PieChart"), exports), __exportStar(require("./Pie3dChart"), exports),
|
|
30
|
+
__exportStar(require("./RadarChart"), exports), __exportStar(require("./RangeColumnChart"), exports),
|
|
31
|
+
__exportStar(require("./RangeColumn3dChart"), exports), __exportStar(require("./RoseChart"), exports),
|
|
32
|
+
__exportStar(require("./SankeyChart"), exports), __exportStar(require("./ScatterChart"), exports),
|
|
33
|
+
__exportStar(require("./SequenceChart"), exports), __exportStar(require("./SunburstChart"), exports),
|
|
34
|
+
__exportStar(require("./TreemapChart"), exports), __exportStar(require("./WordCloudChart"), exports),
|
|
35
|
+
__exportStar(require("./WordCloud3dChart"), exports), __exportStar(require("./WordCloudChart"), exports);
|
|
28
36
|
//# sourceMappingURL=index.js.map
|
package/cjs/charts/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B
|
|
1
|
+
{"version":3,"sources":["../src/charts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,iDAA+B;AAE/B,uDAAqC;AACrC,0DAAwC;AACxC,gDAA8B;AAC9B,qDAAmC;AAEnC,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,qDAAmC;AACnC,mDAAiC;AAEjC,wDAAsC;AACtC,8CAA4B;AAC5B,gDAA8B;AAE9B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,8CAA4B;AAE5B,gDAA8B;AAC9B,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAEhC,iDAA+B;AAC/B,mDAAiC;AACjC,qDAAmC;AACnC,mDAAiC","file":"index.js","sourcesContent":["export * from './AreaChart';\nexport * from './BarChart';\nexport * from './Bar3dChart';\nexport * from './BoxPlotChart';\n\nexport * from './CirclePackingChart';\nexport * from './CircularProgressChart';\nexport * from './CommonChart';\nexport * from './CorrelationChart';\n\nexport * from './FunnelChart';\nexport * from './Funnel3dChart';\nexport * from './GaugeChart';\nexport * from './HeatmapChart';\nexport * from './Histogram3dChart';\nexport * from './HistogramChart';\n\nexport * from './LinearProgressChart';\nexport * from './LineChart';\nexport * from './LiquidChart';\n\nexport * from './MapChart';\nexport * from './PieChart';\nexport * from './Pie3dChart';\nexport * from './RadarChart';\nexport * from './RangeColumnChart';\nexport * from './RangeColumn3dChart';\nexport * from './RoseChart';\n\nexport * from './SankeyChart';\nexport * from './ScatterChart';\nexport * from './SequenceChart';\nexport * from './SunburstChart';\n\nexport * from './TreemapChart';\nexport * from './WordCloudChart';\nexport * from './WordCloud3dChart';\nexport * from './WordCloudChart';\n\nexport type { ChartOptions } from './BaseChart';\nexport type { IData, IChartSpec } from '@visactor/vchart';\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.simpleComponentsRegisters = exports.polarComponentsRegisters = exports.cartesianComponentsRegisters = void 0;
|
|
6
|
+
|
|
7
|
+
const vchart_1 = require("@visactor/vchart");
|
|
8
|
+
|
|
9
|
+
exports.cartesianComponentsRegisters = [ vchart_1.registerCartesianLinearAxis, vchart_1.registerCartesianBandAxis, vchart_1.registerCartesianTimeAxis, vchart_1.registerCartesianLogAxis, vchart_1.registerCartesianCrossHair, vchart_1.registerBrush, vchart_1.registerContinuousLegend, vchart_1.registerDataZoom, vchart_1.registerDiscreteLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerMarkArea, vchart_1.registerMarkLine, vchart_1.registerMarkPoint, vchart_1.registerScrollBar, vchart_1.registerTitle ],
|
|
10
|
+
exports.polarComponentsRegisters = [ vchart_1.registerPolarLinearAxis, vchart_1.registerPolarBandAxis, vchart_1.registerPolarCrossHair, vchart_1.registerBrush, vchart_1.registerContinuousLegend, vchart_1.registerDataZoom, vchart_1.registerDiscreteLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerScrollBar, vchart_1.registerTitle ],
|
|
11
|
+
exports.simpleComponentsRegisters = [ vchart_1.registerDiscreteLegend, vchart_1.registerContinuousLegend, vchart_1.registerCustomMark, vchart_1.registerAllMarks, vchart_1.registerTitle ];
|
|
12
|
+
//# sourceMappingURL=register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/charts/register.ts"],"names":[],"mappings":";;;AAAA,6CAoB0B;AAEb,QAAA,4BAA4B,GAAG;IAC1C,oCAA2B;IAC3B,kCAAyB;IACzB,kCAAyB;IACzB,iCAAwB;IACxB,mCAA0B;IAC1B,sBAAa;IACb,iCAAwB;IACxB,yBAAgB;IAChB,+BAAsB;IACtB,2BAAkB;IAClB,yBAAgB;IAChB,yBAAgB;IAChB,yBAAgB;IAChB,0BAAiB;IACjB,0BAAiB;IACjB,sBAAa;CACd,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,gCAAuB;IACvB,8BAAqB;IACrB,+BAAsB;IAEtB,sBAAa;IACb,iCAAwB;IACxB,yBAAgB;IAChB,+BAAsB;IACtB,2BAAkB;IAClB,yBAAgB;IAChB,0BAAiB;IACjB,sBAAa;CACd,CAAC;AAEW,QAAA,yBAAyB,GAAG;IACvC,+BAAsB;IACtB,iCAAwB;IACxB,2BAAkB;IAClB,yBAAgB;IAChB,sBAAa;CACd,CAAC","file":"register.js","sourcesContent":["import {\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair\n} from '@visactor/vchart';\n\nexport const cartesianComponentsRegisters = [\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis,\n registerCartesianLogAxis,\n registerCartesianCrossHair,\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerMarkArea,\n registerMarkLine,\n registerMarkPoint,\n registerScrollBar,\n registerTitle\n];\n\nexport const polarComponentsRegisters = [\n registerPolarLinearAxis, // 必选\n registerPolarBandAxis, // 必选\n registerPolarCrossHair,\n\n registerBrush, // optional\n registerContinuousLegend,\n registerDataZoom,\n registerDiscreteLegend,\n registerCustomMark,\n registerAllMarks,\n registerScrollBar,\n registerTitle\n];\n\nexport const simpleComponentsRegisters = [\n registerDiscreteLegend,\n registerContinuousLegend,\n registerCustomMark,\n registerAllMarks,\n registerTitle\n];\n"]}
|
|
@@ -6,5 +6,5 @@ type ComponentProps = BaseComponentProps & {
|
|
|
6
6
|
updateId?: number;
|
|
7
7
|
componentId?: number;
|
|
8
8
|
};
|
|
9
|
-
export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean) => React.FC<T>;
|
|
9
|
+
export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean, registers?: (() => void)[]) => React.FC<T>;
|
|
10
10
|
export {};
|
|
@@ -33,7 +33,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
33
33
|
value: !0
|
|
34
34
|
}), exports.createComponent = void 0;
|
|
35
35
|
|
|
36
|
-
const react_1 = __importStar(require("react")), vutils_1 = require("@visactor/vutils"), chart_1 = __importDefault(require("../context/chart")), eventsUtils_1 = require("../eventsUtils"), createComponent = (componentName, specName, supportedEvents, isSingle) => {
|
|
36
|
+
const react_1 = __importStar(require("react")), vutils_1 = require("@visactor/vutils"), chart_1 = __importDefault(require("../context/chart")), eventsUtils_1 = require("../eventsUtils"), vchart_1 = require("@visactor/vchart"), createComponent = (componentName, specName, supportedEvents, isSingle, registers) => {
|
|
37
|
+
registers && registers.length && vchart_1.VChart.useRegisters(registers);
|
|
37
38
|
const ignoreKeys = [ "id", "updateId", "componentId" ], notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys, Comp = props => {
|
|
38
39
|
const context = (0, react_1.useContext)(chart_1.default), eventsBinded = react_1.default.useRef(null), updateId = react_1.default.useRef(props.updateId);
|
|
39
40
|
if (props.updateId !== updateId.current) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/BaseComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqD;AACrD,6CAA+C;AAE/C,6DAAgD;AAChD,gDAAmD;
|
|
1
|
+
{"version":3,"sources":["../src/components/BaseComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAqD;AACrD,6CAA+C;AAE/C,6DAAgD;AAChD,gDAAmD;AACnD,6CAA0C;AAQnC,MAAM,eAAe,GAAG,CAC7B,aAAqB,EACrB,QAAgB,EAChB,eAA+C,EAC/C,QAAkB,EAClB,SAA0B,EAC1B,EAAE;IACF,IAAI,SAAS,IAAI,SAAS,CAAC,MAAM,EAAE;QACjC,eAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;KAChC;IAED,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;IAEnG,MAAM,IAAI,GAAgB,CAAC,KAAQ,EAAE,EAAE;QACrC,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,eAAgB,CAAC,CAAC;QAC7C,MAAM,YAAY,GAAG,eAAK,CAAC,MAAM,CAAI,IAAI,CAAC,CAAC;QAC3C,MAAM,QAAQ,GAAG,eAAK,CAAC,MAAM,CAAS,KAAK,CAAC,QAAQ,CAAC,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAAC,OAAO,EAAE;YAEvC,QAAQ,CAAC,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC;YAGlC,MAAM,mBAAmB,GAAG,eAAe;gBACzC,CAAC,CAAC,IAAA,+BAAiB,EAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,OAAO,EAAE,eAAe,CAAC;gBAChF,CAAC,CAAC,KAAK,CAAC;YACV,IAAI,mBAAmB,EAAE;gBACvB,YAAY,CAAC,OAAO,GAAG,KAAK,CAAC;aAC9B;SACF;QAED,IAAA,iBAAS,EAAC,GAAG,EAAE;YACb,OAAO,GAAG,EAAE;gBACV,IAAI,eAAe,EAAE;oBACnB,IAAA,+BAAiB,EAAC,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;iBAC/E;YACH,CAAC,CAAC;QACJ,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;IAChC,IAAY,CAAC,SAAS,GAAG,CAAC,KAAsD,EAAE,EAAE;QACnF,MAAM,gBAAgB,GAAe,IAAA,oBAAW,EAAI,KAAK,EAAE,WAAW,CAAC,CAAC;QAExE,OAAO;YACL,IAAI,EAAE,gBAAgB;YACtB,QAAQ;YACR,QAAQ;SACT,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAtDW,QAAA,eAAe,mBAsD1B","file":"BaseComponent.js","sourcesContent":["import React, { useContext, useEffect } from 'react';\nimport { pickWithout } from '@visactor/vutils';\n\nimport RootChartContext from '../context/chart';\nimport { bindEventsToChart } from '../eventsUtils';\nimport { VChart } from '@visactor/vchart';\n\nexport interface BaseComponentProps {\n id?: string | number;\n}\n\ntype ComponentProps = BaseComponentProps & { updateId?: number; componentId?: number };\n\nexport const createComponent = <T extends ComponentProps>(\n componentName: string,\n specName: string,\n supportedEvents?: Record<string, string> | null,\n isSingle?: boolean,\n registers?: (() => void)[]\n) => {\n if (registers && registers.length) {\n VChart.useRegisters(registers);\n }\n\n const ignoreKeys = ['id', 'updateId', 'componentId'];\n const notSpecKeys = supportedEvents ? Object.keys(supportedEvents).concat(ignoreKeys) : ignoreKeys;\n\n const Comp: React.FC<T> = (props: T) => {\n const context = useContext(RootChartContext);\n const eventsBinded = React.useRef<T>(null);\n const updateId = React.useRef<number>(props.updateId);\n if (props.updateId !== updateId.current) {\n // update triggered by chart when chart is rendered\n updateId.current = props.updateId;\n\n // rebind events after chart render\n const hasPrevEventsBinded = supportedEvents\n ? bindEventsToChart(context.chart, props, eventsBinded.current, supportedEvents)\n : false;\n if (hasPrevEventsBinded) {\n eventsBinded.current = props;\n }\n }\n\n useEffect(() => {\n return () => {\n if (supportedEvents) {\n bindEventsToChart(context.chart, null, eventsBinded.current, supportedEvents);\n }\n };\n }, []);\n\n return null;\n };\n\n Comp.displayName = componentName;\n (Comp as any).parseSpec = (props: T & { updateId?: number; componentId?: string }) => {\n const newComponentSpec: Partial<T> = pickWithout<T>(props, notSpecKeys);\n\n return {\n spec: newComponentSpec,\n specName,\n isSingle\n };\n };\n\n return Comp;\n};\n"]}
|
package/cjs/components/Brush.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Brush = void 0;
|
|
6
6
|
|
|
7
|
-
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Brush = (0, BaseComponent_1.createComponent)("Brush", "brush", eventsUtils_1.BRUSH_CUSTOMIZED_EVENTS, !0);
|
|
9
|
+
exports.Brush = (0, BaseComponent_1.createComponent)("Brush", "brush", eventsUtils_1.BRUSH_CUSTOMIZED_EVENTS, !0, [ vchart_1.registerBrush ]);
|
|
10
10
|
//# sourceMappingURL=Brush.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Brush.tsx"],"names":[],"mappings":";;;AAAA,gDAA0E;AAC1E,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Brush.tsx"],"names":[],"mappings":";;;AAAA,gDAA0E;AAC1E,mDAAsE;AAEtE,6CAAiD;AAIpC,QAAA,KAAK,GAAG,IAAA,+BAAe,EAAa,OAAO,EAAE,OAAO,EAAE,qCAAuB,EAAE,IAAI,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAC","file":"Brush.js","sourcesContent":["import { BRUSH_CUSTOMIZED_EVENTS, BrushEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IBrushSpec } from '@visactor/vchart';\nimport { registerBrush } from '@visactor/vchart';\n\nexport type BrushProps = IBrushSpec & BaseComponentProps & BrushEventProps;\n\nexport const Brush = createComponent<BrushProps>('Brush', 'brush', BRUSH_CUSTOMIZED_EVENTS, true, [registerBrush]);\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IContinuousLegendSpec } from '@visactor/vchart';
|
|
2
|
+
import { LegendEventProps } from '../eventsUtils';
|
|
3
|
+
import { BaseComponentProps } from './BaseComponent';
|
|
4
|
+
export type ContinuousLegendProps = BaseComponentProps & IContinuousLegendSpec & LegendEventProps;
|
|
5
|
+
export declare const ContinuousLegend: import("react").FC<IContinuousLegendSpec>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: !0
|
|
5
|
+
}), exports.ContinuousLegend = void 0;
|
|
6
|
+
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
|
+
|
|
9
|
+
exports.ContinuousLegend = (0, BaseComponent_1.createComponent)("ContinuousLegend", "legends", eventsUtils_1.LEGEND_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerContinuousLegend ]);
|
|
10
|
+
//# sourceMappingURL=ContinuousLegend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/ContinuousLegend.tsx"],"names":[],"mappings":";;;AACA,gDAA4E;AAC5E,mDAAsE;AACtE,6CAA4D;AAI/C,QAAA,gBAAgB,GAAG,IAAA,+BAAe,EAC7C,kBAAkB,EAClB,SAAS,EACT,sCAAwB,EACxB,KAAK,EACL,CAAC,iCAAwB,CAAC,CAC3B,CAAC","file":"ContinuousLegend.js","sourcesContent":["import type { IContinuousLegendSpec } from '@visactor/vchart';\nimport { LEGEND_CUSTOMIZED_EVENTS, LegendEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerContinuousLegend } from '@visactor/vchart';\n\nexport type ContinuousLegendProps = BaseComponentProps & IContinuousLegendSpec & LegendEventProps;\n\nexport const ContinuousLegend = createComponent<IContinuousLegendSpec>(\n 'ContinuousLegend',\n 'legends',\n LEGEND_CUSTOMIZED_EVENTS,\n false,\n [registerContinuousLegend]\n);\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.DataZoom = void 0;
|
|
6
6
|
|
|
7
|
-
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.DataZoom = (0, BaseComponent_1.createComponent)("DataZoom", "dataZoom", eventsUtils_1.DATAZOOM_CUSTOMIZED_EVENTS);
|
|
9
|
+
exports.DataZoom = (0, BaseComponent_1.createComponent)("DataZoom", "dataZoom", eventsUtils_1.DATAZOOM_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerDataZoom ]);
|
|
10
10
|
//# sourceMappingURL=DataZoom.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/DataZoom.tsx"],"names":[],"mappings":";;;AAAA,gDAAgF;AAChF,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/DataZoom.tsx"],"names":[],"mappings":";;;AAAA,gDAAgF;AAChF,mDAAsE;AAEtE,6CAAoD;AAGvC,QAAA,QAAQ,GAAG,IAAA,+BAAe,EAAgB,UAAU,EAAE,UAAU,EAAE,wCAA0B,EAAE,KAAK,EAAE;IAChH,yBAAgB;CACjB,CAAC,CAAC","file":"DataZoom.js","sourcesContent":["import { DATAZOOM_CUSTOMIZED_EVENTS, DataZoomEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IDataZoomSpec } from '@visactor/vchart';\nimport { registerDataZoom } from '@visactor/vchart';\n\nexport type DataZoomProps = IDataZoomSpec & BaseComponentProps & DataZoomEventProps;\nexport const DataZoom = createComponent<DataZoomProps>('DataZoom', 'dataZoom', DATAZOOM_CUSTOMIZED_EVENTS, false, [\n registerDataZoom\n]);\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Indicator = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Indicator = (0, BaseComponent_1.createComponent)("Indicator", "indicator", null, !0);
|
|
9
|
+
exports.Indicator = (0, BaseComponent_1.createComponent)("Indicator", "indicator", null, !0, [ vchart_1.registerIndicator ]);
|
|
10
10
|
//# sourceMappingURL=Indicator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Indicator.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Indicator.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;AAEtE,6CAAqD;AAIxC,QAAA,SAAS,GAAG,IAAA,+BAAe,EAAiB,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,0BAAiB,CAAC,CAAC,CAAC","file":"Indicator.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IIndicatorSpec } from '@visactor/vchart';\nimport { registerIndicator } from '@visactor/vchart';\n\nexport type IndicatorProps = IIndicatorSpec & BaseComponentProps;\n\nexport const Indicator = createComponent<IndicatorProps>('Indicator', 'indicator', null, true, [registerIndicator]);\n"]}
|
package/cjs/components/Legend.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Legend = void 0;
|
|
6
6
|
|
|
7
|
-
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Legend = (0, BaseComponent_1.createComponent)("Legend", "legends", eventsUtils_1.LEGEND_CUSTOMIZED_EVENTS);
|
|
9
|
+
exports.Legend = (0, BaseComponent_1.createComponent)("Legend", "legends", eventsUtils_1.LEGEND_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerDiscreteLegend ]);
|
|
10
10
|
//# sourceMappingURL=Legend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Legend.tsx"],"names":[],"mappings":";;;AACA,gDAA4E;AAC5E,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Legend.tsx"],"names":[],"mappings":";;;AACA,gDAA4E;AAC5E,mDAAsE;AACtE,6CAA0D;AAI7C,QAAA,MAAM,GAAG,IAAA,+BAAe,EAAc,QAAQ,EAAE,SAAS,EAAE,sCAAwB,EAAE,KAAK,EAAE;IACvG,+BAAsB;CACvB,CAAC,CAAC","file":"Legend.js","sourcesContent":["import type { IDiscreteLegendSpec } from '@visactor/vchart';\nimport { LEGEND_CUSTOMIZED_EVENTS, LegendEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerDiscreteLegend } from '@visactor/vchart';\n\nexport type LegendProps = BaseComponentProps & IDiscreteLegendSpec & LegendEventProps;\n\nexport const Legend = createComponent<LegendProps>('Legend', 'legends', LEGEND_CUSTOMIZED_EVENTS, false, [\n registerDiscreteLegend\n]);\n"]}
|
package/cjs/components/Mark.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Mark = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Mark = (0, BaseComponent_1.createComponent)("Mark", "customMark");
|
|
9
|
+
exports.Mark = (0, BaseComponent_1.createComponent)("Mark", "customMark", null, !1, [ vchart_1.registerCustomMark, vchart_1.registerAllMarks ]);
|
|
10
10
|
//# sourceMappingURL=Mark.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Mark.tsx"],"names":[],"mappings":";;;AACA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Mark.tsx"],"names":[],"mappings":";;;AACA,mDAAsE;AACtE,6CAAwE;AAI3D,QAAA,IAAI,GAAG,IAAA,+BAAe,EAAY,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE;IAChF,2BAAkB;IAClB,yBAAgB;CACjB,CAAC,CAAC","file":"Mark.js","sourcesContent":["import type { ICustomMarkSpec, EnableMarkType } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport { registerCustomMark, registerAllMarks } from '@visactor/vchart';\n\nexport type MarkProps = ICustomMarkSpec<EnableMarkType> & BaseComponentProps;\n\nexport const Mark = createComponent<MarkProps>('Mark', 'customMark', null, false, [\n registerCustomMark,\n registerAllMarks\n]);\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.MarkArea = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea");
|
|
9
|
+
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea", null, !1, [ vchart_1.registerMarkArea ]);
|
|
10
10
|
//# sourceMappingURL=MarkArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/MarkArea.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/MarkArea.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;AAEtE,6CAAoD;AAIvC,QAAA,QAAQ,GAAG,IAAA,+BAAe,EAAgB,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,yBAAgB,CAAC,CAAC,CAAC","file":"MarkArea.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkAreaSpec } from '@visactor/vchart';\nimport { registerMarkArea } from '@visactor/vchart';\n\nexport type MarkAreaProps = IMarkAreaSpec & BaseComponentProps;\n\nexport const MarkArea = createComponent<MarkAreaProps>('MarkArea', 'markArea', null, false, [registerMarkArea]);\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.MarkLine = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.MarkLine = (0, BaseComponent_1.createComponent)("MarkLine", "markLine");
|
|
9
|
+
exports.MarkLine = (0, BaseComponent_1.createComponent)("MarkLine", "markLine", null, !1, [ vchart_1.registerMarkLine ]);
|
|
10
10
|
//# sourceMappingURL=MarkLine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/MarkLine.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/MarkLine.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;AAEtE,6CAAoD;AAIvC,QAAA,QAAQ,GAAG,IAAA,+BAAe,EAAgB,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,yBAAgB,CAAC,CAAC,CAAC","file":"MarkLine.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkLineSpec } from '@visactor/vchart';\nimport { registerMarkLine } from '@visactor/vchart';\n\nexport type MarkLineProps = IMarkLineSpec & BaseComponentProps;\n\nexport const MarkLine = createComponent<MarkLineProps>('MarkLine', 'markLine', null, false, [registerMarkLine]);\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.MarkPoint = void 0;
|
|
6
6
|
|
|
7
|
-
const BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.MarkPoint = (0, BaseComponent_1.createComponent)("MarkPoint", "markPoint");
|
|
9
|
+
exports.MarkPoint = (0, BaseComponent_1.createComponent)("MarkPoint", "markPoint", null, !1, [ vchart_1.registerMarkPoint ]);
|
|
10
10
|
//# sourceMappingURL=MarkPoint.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/MarkPoint.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/MarkPoint.tsx"],"names":[],"mappings":";;;AAAA,mDAAsE;AAEtE,6CAAqD;AAIxC,QAAA,SAAS,GAAG,IAAA,+BAAe,EAAiB,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,0BAAiB,CAAC,CAAC,CAAC","file":"MarkPoint.js","sourcesContent":["import { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IMarkPointSpec } from '@visactor/vchart';\nimport { registerMarkPoint } from '@visactor/vchart';\n\nexport type MarkPointProps = IMarkPointSpec & BaseComponentProps;\n\nexport const MarkPoint = createComponent<MarkPointProps>('MarkPoint', 'markPoint', null, false, [registerMarkPoint]);\n"]}
|
package/cjs/components/Player.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.Player = void 0;
|
|
6
6
|
|
|
7
|
-
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Player = (0, BaseComponent_1.createComponent)("Player", "player", eventsUtils_1.PLAYER_CUSTOMIZED_EVENTS, !0);
|
|
9
|
+
exports.Player = (0, BaseComponent_1.createComponent)("Player", "player", eventsUtils_1.PLAYER_CUSTOMIZED_EVENTS, !0, [ vchart_1.registerPlayer ]);
|
|
10
10
|
//# sourceMappingURL=Player.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Player.tsx"],"names":[],"mappings":";;;AAAA,gDAA4E;AAC5E,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Player.tsx"],"names":[],"mappings":";;;AAAA,gDAA4E;AAC5E,mDAAsE;AAEtE,6CAAkD;AAIrC,QAAA,MAAM,GAAG,IAAA,+BAAe,EAAc,QAAQ,EAAE,QAAQ,EAAE,sCAAwB,EAAE,IAAI,EAAE;IACrG,uBAAc;CACf,CAAC,CAAC","file":"Player.js","sourcesContent":["import { PLAYER_CUSTOMIZED_EVENTS, PlayerEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IPlayerSpec } from '@visactor/vchart';\nimport { registerPlayer } from '@visactor/vchart';\n\nexport type PlayerProps = IPlayerSpec & BaseComponentProps & PlayerEventProps;\n\nexport const Player = createComponent<PlayerProps>('Player', 'player', PLAYER_CUSTOMIZED_EVENTS, true, [\n registerPlayer\n]);\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { IRegionSpec } from '@visactor/vchart';
|
|
2
2
|
import { BaseComponentProps } from './BaseComponent';
|
|
3
|
-
export
|
|
4
|
-
}
|
|
3
|
+
export type RegionProps = BaseComponentProps & IRegionSpec;
|
|
5
4
|
export declare const Region: import("react").FC<RegionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Region.tsx"],"names":[],"mappings":";;;AACA,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/Region.tsx"],"names":[],"mappings":";;;AACA,mDAAsE;AAIzD,QAAA,MAAM,GAAG,IAAA,+BAAe,EAAc,QAAQ,EAAE,QAAQ,CAAC,CAAC","file":"Region.js","sourcesContent":["import type { IRegionSpec } from '@visactor/vchart';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\n\nexport type RegionProps = BaseComponentProps & IRegionSpec;\n\nexport const Region = createComponent<RegionProps>('Region', 'region');\n"]}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.ScrollBar = void 0;
|
|
6
6
|
|
|
7
|
-
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent");
|
|
7
|
+
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.ScrollBar = (0, BaseComponent_1.createComponent)("ScrollBar", "scrollBar", eventsUtils_1.SCROLLBAR_CUSTOMIZED_EVENTS);
|
|
9
|
+
exports.ScrollBar = (0, BaseComponent_1.createComponent)("ScrollBar", "scrollBar", eventsUtils_1.SCROLLBAR_CUSTOMIZED_EVENTS, !1, [ vchart_1.registerScrollBar ]);
|
|
10
10
|
//# sourceMappingURL=ScrollBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/ScrollBar.tsx"],"names":[],"mappings":";;;AAAA,gDAAkF;AAClF,mDAAsE;
|
|
1
|
+
{"version":3,"sources":["../src/components/ScrollBar.tsx"],"names":[],"mappings":";;;AAAA,gDAAkF;AAClF,mDAAsE;AAEtE,6CAAqD;AAIxC,QAAA,SAAS,GAAG,IAAA,+BAAe,EAAiB,WAAW,EAAE,WAAW,EAAE,yCAA2B,EAAE,KAAK,EAAE;IACrH,0BAAiB;CAClB,CAAC,CAAC","file":"ScrollBar.js","sourcesContent":["import { SCROLLBAR_CUSTOMIZED_EVENTS, ScrollBarEventProps } from '../eventsUtils';\nimport { BaseComponentProps, createComponent } from './BaseComponent';\nimport type { IScrollBarSpec } from '@visactor/vchart';\nimport { registerScrollBar } from '@visactor/vchart';\n\nexport type ScrollBarProps = IScrollBarSpec & BaseComponentProps & ScrollBarEventProps;\n\nexport const ScrollBar = createComponent<ScrollBarProps>('ScrollBar', 'scrollBar', SCROLLBAR_CUSTOMIZED_EVENTS, false, [\n registerScrollBar\n]);\n"]}
|