@visactor/vchart 1.0.1-alpha.1 → 1.0.1-alpha.2
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/build/index.js +5027 -5002
- package/build/index.min.js +2 -2
- package/chart.d.ts +1 -1
- package/chart.js +1 -1
- package/cjs/chart/area/area.js +3 -1
- package/cjs/chart/area/area.js.map +1 -1
- package/cjs/chart/bar/bar-3d.d.ts +7 -0
- package/cjs/chart/bar/bar-3d.js +19 -0
- package/cjs/chart/bar/bar-3d.js.map +1 -0
- package/cjs/chart/bar/bar.d.ts +0 -6
- package/cjs/chart/bar/bar.js +4 -11
- package/cjs/chart/bar/bar.js.map +1 -1
- package/cjs/chart/bar/index.d.ts +1 -0
- package/cjs/chart/bar/index.js +2 -1
- package/cjs/chart/bar/index.js.map +1 -1
- package/cjs/chart/base-chart.d.ts +1 -1
- package/cjs/chart/box-plot/box-plot.js +3 -1
- package/cjs/chart/box-plot/box-plot.js.map +1 -1
- package/cjs/chart/circle-packing/circle-packing.js +3 -1
- package/cjs/chart/circle-packing/circle-packing.js.map +1 -1
- package/cjs/chart/funnel/base.d.ts +9 -0
- package/cjs/chart/funnel/base.js +47 -0
- package/cjs/chart/funnel/base.js.map +1 -0
- package/cjs/chart/funnel/funnel-3d.d.ts +7 -0
- package/cjs/chart/funnel/funnel-3d.js +19 -0
- package/cjs/chart/funnel/funnel-3d.js.map +1 -0
- package/cjs/chart/funnel/funnel.d.ts +1 -16
- package/cjs/chart/funnel/funnel.js +4 -48
- package/cjs/chart/funnel/funnel.js.map +1 -1
- package/cjs/chart/funnel/index.d.ts +1 -0
- package/cjs/chart/funnel/index.js +2 -1
- package/cjs/chart/funnel/index.js.map +1 -1
- package/cjs/chart/gauge/gauge.js +3 -1
- package/cjs/chart/gauge/gauge.js.map +1 -1
- package/cjs/chart/heatmap/heatmap.js +3 -1
- package/cjs/chart/heatmap/heatmap.js.map +1 -1
- package/cjs/chart/histogram/base.d.ts +5 -0
- package/cjs/chart/histogram/base.js +22 -0
- package/cjs/chart/histogram/base.js.map +1 -0
- package/cjs/chart/histogram/histogram-3d.d.ts +7 -0
- package/cjs/chart/histogram/histogram-3d.js +19 -0
- package/cjs/chart/histogram/histogram-3d.js.map +1 -0
- package/cjs/chart/histogram/histogram.d.ts +1 -12
- package/cjs/chart/histogram/histogram.js +4 -23
- package/cjs/chart/histogram/histogram.js.map +1 -1
- package/cjs/chart/histogram/index.d.ts +1 -0
- package/cjs/chart/histogram/index.js +2 -1
- package/cjs/chart/histogram/index.js.map +1 -1
- package/cjs/chart/index.d.ts +57 -22
- package/cjs/chart/index.js +293 -26
- package/cjs/chart/index.js.map +1 -1
- package/cjs/chart/line/line.js +3 -1
- package/cjs/chart/line/line.js.map +1 -1
- package/cjs/chart/map/map.js +3 -1
- package/cjs/chart/map/map.js.map +1 -1
- package/cjs/chart/pie/base.d.ts +5 -0
- package/cjs/chart/pie/base.js +26 -0
- package/cjs/chart/pie/base.js.map +1 -0
- package/cjs/chart/pie/index.d.ts +1 -0
- package/cjs/chart/pie/index.js +2 -1
- package/cjs/chart/pie/index.js.map +1 -1
- package/cjs/chart/pie/pie-3d.d.ts +8 -0
- package/cjs/chart/pie/pie-3d.js +24 -0
- package/cjs/chart/pie/pie-3d.js.map +1 -0
- package/cjs/chart/pie/pie.d.ts +1 -13
- package/cjs/chart/pie/pie.js +4 -32
- package/cjs/chart/pie/pie.js.map +1 -1
- package/cjs/chart/progress/circular/circular.js +3 -1
- package/cjs/chart/progress/circular/circular.js.map +1 -1
- package/cjs/chart/progress/linear/linear.js +3 -1
- package/cjs/chart/progress/linear/linear.js.map +1 -1
- package/cjs/chart/radar/radar.js +3 -1
- package/cjs/chart/radar/radar.js.map +1 -1
- package/cjs/chart/range-area/range-area.js +3 -1
- package/cjs/chart/range-area/range-area.js.map +1 -1
- package/cjs/chart/range-column/index.d.ts +2 -1
- package/cjs/chart/range-column/index.js +2 -1
- package/cjs/chart/range-column/index.js.map +1 -1
- package/cjs/chart/range-column/{rangeColumn.d.ts → range-column-3d.d.ts} +0 -7
- package/cjs/chart/range-column/{rangeColumn.js → range-column-3d.js} +4 -17
- package/cjs/chart/range-column/range-column-3d.js.map +1 -0
- package/cjs/chart/range-column/range-column.d.ts +8 -0
- package/cjs/chart/range-column/range-column.js +25 -0
- package/cjs/chart/range-column/range-column.js.map +1 -0
- package/cjs/chart/rose/rose.js +3 -1
- package/cjs/chart/rose/rose.js.map +1 -1
- package/cjs/chart/sankey/sankey.js +3 -1
- package/cjs/chart/sankey/sankey.js.map +1 -1
- package/cjs/chart/scatter/scatter.js +3 -1
- package/cjs/chart/scatter/scatter.js.map +1 -1
- package/cjs/chart/sequence/sequence.js +3 -1
- package/cjs/chart/sequence/sequence.js.map +1 -1
- package/cjs/chart/sunburst/sunburst.js +3 -1
- package/cjs/chart/sunburst/sunburst.js.map +1 -1
- package/cjs/chart/treemap/treemap.js +3 -1
- package/cjs/chart/treemap/treemap.js.map +1 -1
- package/cjs/chart/waterfall/waterfall.js +3 -1
- package/cjs/chart/waterfall/waterfall.js.map +1 -1
- package/cjs/chart/word-cloud/base.d.ts +6 -0
- package/cjs/chart/word-cloud/base.js +25 -0
- package/cjs/chart/word-cloud/base.js.map +1 -0
- package/cjs/chart/word-cloud/index.d.ts +1 -0
- package/cjs/chart/word-cloud/index.js +2 -1
- package/cjs/chart/word-cloud/index.js.map +1 -1
- package/cjs/chart/word-cloud/word-cloud-3d.d.ts +9 -0
- package/cjs/chart/word-cloud/word-cloud-3d.js +46 -0
- package/cjs/chart/word-cloud/word-cloud-3d.js.map +1 -0
- package/cjs/chart/word-cloud/word-cloud.d.ts +2 -15
- package/cjs/chart/word-cloud/word-cloud.js +4 -53
- package/cjs/chart/word-cloud/word-cloud.js.map +1 -1
- package/cjs/compile/grammar-item.js +1 -2
- package/cjs/component/index.d.ts +39 -1
- package/cjs/component/index.js +202 -16
- package/cjs/component/index.js.map +1 -1
- package/cjs/component/legend/base-legend.d.ts +1 -1
- package/cjs/component/legend/util.d.ts +3 -3
- package/cjs/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +1 -1
- package/cjs/constant/marker.js +1 -2
- package/cjs/constant/word-cloud.js +2 -1
- package/cjs/core/factory.js +1 -1
- package/cjs/{export/core.d.ts → core/index.d.ts} +4 -4
- package/cjs/{export/core.js → core/index.js} +5 -5
- package/cjs/core/index.js.map +1 -0
- package/cjs/core/instance-manager.js +1 -1
- package/cjs/core/interface.js +1 -1
- package/cjs/core/vchart.js +1 -1
- package/cjs/data/initialize.js +2 -1
- package/cjs/index.d.ts +6 -6
- package/cjs/index.js +4 -4
- package/cjs/index.js.map +1 -1
- package/cjs/interaction/interface.js +1 -1
- package/cjs/interaction/trigger.js +1 -1
- package/cjs/layout/base-layout.d.ts +24 -0
- package/cjs/layout/base-layout.js +124 -0
- package/cjs/layout/base-layout.js.map +1 -0
- package/cjs/layout/index.d.ts +7 -24
- package/cjs/layout/index.js +25 -115
- package/cjs/layout/index.js.map +1 -1
- package/cjs/layout/layout3d/index.d.ts +1 -1
- package/cjs/layout/layout3d/index.js +2 -2
- package/cjs/layout/layout3d/index.js.map +1 -1
- package/cjs/mark/arc-3d.d.ts +9 -0
- package/cjs/mark/arc-3d.js +16 -0
- package/cjs/mark/arc-3d.js.map +1 -0
- package/cjs/mark/arc.d.ts +1 -6
- package/cjs/mark/arc.js +1 -9
- package/cjs/mark/arc.js.map +1 -1
- package/cjs/mark/index.d.ts +21 -0
- package/cjs/{export/mark.js → mark/index.js} +49 -37
- package/cjs/mark/index.js.map +1 -0
- package/cjs/mark/{linkPath.js → link-path.js} +1 -1
- package/cjs/mark/link-path.js.map +1 -0
- package/cjs/mark/polygon/base-polygon.d.ts +6 -0
- package/cjs/mark/polygon/base-polygon.js +18 -0
- package/cjs/mark/polygon/base-polygon.js.map +1 -0
- package/cjs/mark/polygon/polygon.d.ts +9 -0
- package/cjs/mark/polygon/polygon.js +16 -0
- package/cjs/mark/polygon/polygon.js.map +1 -0
- package/cjs/mark/polygon/pyramid-3d.d.ts +9 -0
- package/cjs/mark/polygon/pyramid-3d.js +16 -0
- package/cjs/mark/polygon/pyramid-3d.js.map +1 -0
- package/cjs/mark/rect-3d.d.ts +10 -0
- package/cjs/mark/rect-3d.js +23 -0
- package/cjs/mark/rect-3d.js.map +1 -0
- package/cjs/mark/rect.d.ts +1 -7
- package/cjs/mark/rect.js +1 -16
- package/cjs/mark/rect.js.map +1 -1
- package/cjs/model/layout-item.js +1 -2
- package/cjs/plugin/interface.js +1 -1
- package/cjs/region/region.js +1 -1
- package/cjs/series/area/area.js +3 -1
- package/cjs/series/area/area.js.map +1 -1
- package/cjs/series/bar/bar-3d.d.ts +11 -0
- package/cjs/series/bar/bar-3d.js +25 -0
- package/cjs/series/bar/bar-3d.js.map +1 -0
- package/cjs/series/bar/bar.d.ts +0 -7
- package/cjs/series/bar/bar.js +3 -18
- package/cjs/series/bar/bar.js.map +1 -1
- package/cjs/series/box-plot/box-plot.js +5 -1
- package/cjs/series/box-plot/box-plot.js.map +1 -1
- package/cjs/series/circle-packing/circle-packing.js +3 -1
- package/cjs/series/circle-packing/circle-packing.js.map +1 -1
- package/cjs/series/dot/dot.js +3 -1
- package/cjs/series/dot/dot.js.map +1 -1
- package/cjs/series/funnel/funnel-3d.d.ts +18 -0
- package/cjs/series/funnel/funnel-3d.js +104 -0
- package/cjs/series/funnel/funnel-3d.js.map +1 -0
- package/cjs/series/funnel/funnel.d.ts +2 -14
- package/cjs/series/funnel/funnel.js +4 -96
- package/cjs/series/funnel/funnel.js.map +1 -1
- package/cjs/series/gauge/gauge-pointer.js +3 -1
- package/cjs/series/gauge/gauge-pointer.js.map +1 -1
- package/cjs/series/gauge/gauge.js +3 -1
- package/cjs/series/gauge/gauge.js.map +1 -1
- package/cjs/series/heatmap/heatmap.js +2 -2
- package/cjs/series/heatmap/heatmap.js.map +1 -1
- package/cjs/series/index.d.ts +66 -0
- package/cjs/{export/series.js → series/index.js} +70 -50
- package/cjs/series/index.js.map +1 -0
- package/cjs/series/line/line.js +3 -1
- package/cjs/series/line/line.js.map +1 -1
- package/cjs/series/link/link.js +3 -1
- package/cjs/series/link/link.js.map +1 -1
- package/cjs/series/map/map.js +2 -2
- package/cjs/series/map/map.js.map +1 -1
- package/cjs/series/pie/pie-3d.d.ts +16 -0
- package/cjs/series/pie/pie-3d.js +97 -0
- package/cjs/series/pie/pie-3d.js.map +1 -0
- package/cjs/series/pie/pie.d.ts +1 -11
- package/cjs/series/pie/pie.js +4 -89
- package/cjs/series/pie/pie.js.map +1 -1
- package/cjs/series/polar/animation.d.ts +1 -1
- package/cjs/series/polar/animation.js.map +1 -1
- package/cjs/series/progress/circular/circular.js +3 -1
- package/cjs/series/progress/circular/circular.js.map +1 -1
- package/cjs/series/progress/linear/linear.js +3 -1
- package/cjs/series/progress/linear/linear.js.map +1 -1
- package/cjs/series/radar/animation.d.ts +1 -1
- package/cjs/series/radar/animation.js.map +1 -1
- package/cjs/series/radar/radar.js +3 -1
- package/cjs/series/radar/radar.js.map +1 -1
- package/cjs/series/range-column/rangeColumn-3d.d.ts +10 -0
- package/cjs/series/range-column/rangeColumn-3d.js +19 -0
- package/cjs/series/range-column/rangeColumn-3d.js.map +1 -0
- package/cjs/series/range-column/rangeColumn.d.ts +0 -6
- package/cjs/series/range-column/rangeColumn.js +1 -10
- package/cjs/series/range-column/rangeColumn.js.map +1 -1
- package/cjs/series/rose/rose.js +2 -2
- package/cjs/series/rose/rose.js.map +1 -1
- package/cjs/series/sankey/sankey.js +2 -1
- package/cjs/series/sankey/sankey.js.map +1 -1
- package/cjs/series/scatter/scatter.js +3 -1
- package/cjs/series/scatter/scatter.js.map +1 -1
- package/cjs/series/sunburst/sunburst.js +3 -1
- package/cjs/series/sunburst/sunburst.js.map +1 -1
- package/cjs/series/treemap/treemap.js +3 -1
- package/cjs/series/treemap/treemap.js.map +1 -1
- package/cjs/series/waterfall/waterfall.js +2 -2
- package/cjs/series/waterfall/waterfall.js.map +1 -1
- package/cjs/series/word-cloud/base.d.ts +60 -0
- package/cjs/series/word-cloud/base.js +254 -0
- package/cjs/series/word-cloud/base.js.map +1 -0
- package/cjs/series/word-cloud/word-cloud-3d.d.ts +11 -0
- package/cjs/series/word-cloud/word-cloud-3d.js +199 -0
- package/cjs/series/word-cloud/word-cloud-3d.js.map +1 -0
- package/cjs/series/word-cloud/word-cloud.d.ts +2 -69
- package/cjs/series/word-cloud/word-cloud.js +5 -441
- package/cjs/series/word-cloud/word-cloud.js.map +1 -1
- package/cjs/vchart-all.d.ts +1 -1
- package/cjs/vchart-all.js +3 -5
- package/cjs/vchart-all.js.map +1 -1
- package/cjs/vchart-simple.d.ts +1 -1
- package/cjs/vchart-simple.js +2 -4
- package/cjs/vchart-simple.js.map +1 -1
- package/component.d.ts +1 -1
- package/component.js +1 -1
- package/core.d.ts +1 -1
- package/core.js +1 -1
- package/esm/chart/area/area.js +6 -0
- package/esm/chart/area/area.js.map +1 -1
- package/esm/chart/bar/bar-3d.d.ts +7 -0
- package/esm/chart/bar/bar-3d.js +20 -0
- package/esm/chart/bar/bar-3d.js.map +1 -0
- package/esm/chart/bar/bar.d.ts +0 -6
- package/esm/chart/bar/bar.js +6 -8
- package/esm/chart/bar/bar.js.map +1 -1
- package/esm/chart/bar/index.d.ts +1 -0
- package/esm/chart/bar/index.js +2 -0
- package/esm/chart/bar/index.js.map +1 -1
- package/esm/chart/base-chart.d.ts +1 -1
- package/esm/chart/box-plot/box-plot.js +6 -0
- package/esm/chart/box-plot/box-plot.js.map +1 -1
- package/esm/chart/circle-packing/circle-packing.js +6 -0
- package/esm/chart/circle-packing/circle-packing.js.map +1 -1
- package/esm/chart/funnel/base.d.ts +9 -0
- package/esm/chart/funnel/base.js +39 -0
- package/esm/chart/funnel/base.js.map +1 -0
- package/esm/chart/funnel/funnel-3d.d.ts +7 -0
- package/esm/chart/funnel/funnel-3d.js +20 -0
- package/esm/chart/funnel/funnel-3d.js.map +1 -0
- package/esm/chart/funnel/funnel.d.ts +1 -16
- package/esm/chart/funnel/funnel.js +7 -46
- package/esm/chart/funnel/funnel.js.map +1 -1
- package/esm/chart/funnel/index.d.ts +1 -0
- package/esm/chart/funnel/index.js +2 -0
- package/esm/chart/funnel/index.js.map +1 -1
- package/esm/chart/gauge/gauge.js +6 -0
- package/esm/chart/gauge/gauge.js.map +1 -1
- package/esm/chart/heatmap/heatmap.js +6 -0
- package/esm/chart/heatmap/heatmap.js.map +1 -1
- package/esm/chart/histogram/base.d.ts +5 -0
- package/esm/chart/histogram/base.js +14 -0
- package/esm/chart/histogram/base.js.map +1 -0
- package/esm/chart/histogram/histogram-3d.d.ts +7 -0
- package/esm/chart/histogram/histogram-3d.js +20 -0
- package/esm/chart/histogram/histogram-3d.js.map +1 -0
- package/esm/chart/histogram/histogram.d.ts +1 -12
- package/esm/chart/histogram/histogram.js +7 -21
- package/esm/chart/histogram/histogram.js.map +1 -1
- package/esm/chart/histogram/index.d.ts +1 -0
- package/esm/chart/histogram/index.js +2 -0
- package/esm/chart/histogram/index.js.map +1 -1
- package/esm/chart/index.d.ts +57 -22
- package/esm/chart/index.js +36 -22
- package/esm/chart/index.js.map +1 -1
- package/esm/chart/line/line.js +6 -0
- package/esm/chart/line/line.js.map +1 -1
- package/esm/chart/map/map.js +6 -0
- package/esm/chart/map/map.js.map +1 -1
- package/esm/chart/pie/base.d.ts +5 -0
- package/esm/chart/pie/base.js +18 -0
- package/esm/chart/pie/base.js.map +1 -0
- package/esm/chart/pie/index.d.ts +1 -0
- package/esm/chart/pie/index.js +2 -0
- package/esm/chart/pie/index.js.map +1 -1
- package/esm/chart/pie/pie-3d.d.ts +8 -0
- package/esm/chart/pie/pie-3d.js +25 -0
- package/esm/chart/pie/pie-3d.js.map +1 -0
- package/esm/chart/pie/pie.d.ts +1 -13
- package/esm/chart/pie/pie.js +6 -29
- package/esm/chart/pie/pie.js.map +1 -1
- package/esm/chart/progress/circular/circular.js +6 -0
- package/esm/chart/progress/circular/circular.js.map +1 -1
- package/esm/chart/progress/linear/linear.js +6 -0
- package/esm/chart/progress/linear/linear.js.map +1 -1
- package/esm/chart/radar/radar.js +6 -0
- package/esm/chart/radar/radar.js.map +1 -1
- package/esm/chart/range-area/range-area.js +6 -0
- package/esm/chart/range-area/range-area.js.map +1 -1
- package/esm/chart/range-column/index.d.ts +2 -1
- package/esm/chart/range-column/index.js +3 -1
- package/esm/chart/range-column/index.js.map +1 -1
- package/esm/chart/range-column/{rangeColumn.d.ts → range-column-3d.d.ts} +0 -7
- package/esm/chart/range-column/{rangeColumn.js → range-column-3d.js} +5 -13
- package/esm/chart/range-column/range-column-3d.js.map +1 -0
- package/esm/chart/range-column/range-column.d.ts +8 -0
- package/esm/chart/range-column/range-column.js +28 -0
- package/esm/chart/range-column/range-column.js.map +1 -0
- package/esm/chart/rose/rose.js +6 -0
- package/esm/chart/rose/rose.js.map +1 -1
- package/esm/chart/sankey/sankey.js +6 -0
- package/esm/chart/sankey/sankey.js.map +1 -1
- package/esm/chart/scatter/scatter.js +6 -0
- package/esm/chart/scatter/scatter.js.map +1 -1
- package/esm/chart/sequence/sequence.js +6 -0
- package/esm/chart/sequence/sequence.js.map +1 -1
- package/esm/chart/sunburst/sunburst.js +6 -0
- package/esm/chart/sunburst/sunburst.js.map +1 -1
- package/esm/chart/treemap/treemap.js +6 -0
- package/esm/chart/treemap/treemap.js.map +1 -1
- package/esm/chart/waterfall/waterfall.js +6 -0
- package/esm/chart/waterfall/waterfall.js.map +1 -1
- package/esm/chart/word-cloud/base.d.ts +6 -0
- package/esm/chart/word-cloud/base.js +21 -0
- package/esm/chart/word-cloud/base.js.map +1 -0
- package/esm/chart/word-cloud/index.d.ts +1 -0
- package/esm/chart/word-cloud/index.js +2 -0
- package/esm/chart/word-cloud/index.js.map +1 -1
- package/esm/chart/word-cloud/word-cloud-3d.d.ts +9 -0
- package/esm/chart/word-cloud/word-cloud-3d.js +47 -0
- package/esm/chart/word-cloud/word-cloud-3d.js.map +1 -0
- package/esm/chart/word-cloud/word-cloud.d.ts +2 -15
- package/esm/chart/word-cloud/word-cloud.js +6 -50
- package/esm/chart/word-cloud/word-cloud.js.map +1 -1
- package/esm/compile/grammar-item.js +1 -2
- package/esm/component/index.d.ts +39 -1
- package/esm/component/index.js +39 -1
- package/esm/component/index.js.map +1 -1
- package/esm/component/legend/base-legend.d.ts +1 -1
- package/esm/component/legend/util.d.ts +3 -3
- package/esm/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +1 -1
- package/esm/constant/marker.js +1 -2
- package/esm/constant/word-cloud.js +2 -1
- package/esm/core/factory.js +1 -1
- package/esm/{export/core.d.ts → core/index.d.ts} +4 -4
- package/esm/{export/core.js → core/index.js} +5 -5
- package/esm/core/index.js.map +1 -0
- package/esm/core/instance-manager.js +1 -1
- package/esm/core/interface.js +1 -1
- package/esm/core/vchart.js +1 -1
- package/esm/data/initialize.js +2 -1
- package/esm/index.d.ts +6 -6
- package/esm/index.js +6 -6
- package/esm/index.js.map +1 -1
- package/esm/interaction/interface.js +1 -1
- package/esm/interaction/trigger.js +1 -1
- package/esm/layout/base-layout.d.ts +24 -0
- package/esm/layout/base-layout.js +116 -0
- package/esm/layout/base-layout.js.map +1 -0
- package/esm/layout/index.d.ts +7 -24
- package/esm/layout/index.js +8 -115
- package/esm/layout/index.js.map +1 -1
- package/esm/layout/layout3d/index.d.ts +1 -1
- package/esm/layout/layout3d/index.js +1 -1
- package/esm/layout/layout3d/index.js.map +1 -1
- package/esm/mark/arc-3d.d.ts +9 -0
- package/esm/mark/arc-3d.js +12 -0
- package/esm/mark/arc-3d.js.map +1 -0
- package/esm/mark/arc.d.ts +1 -6
- package/esm/mark/arc.js +0 -8
- package/esm/mark/arc.js.map +1 -1
- package/esm/mark/index.d.ts +21 -0
- package/esm/mark/index.js +40 -0
- package/esm/mark/index.js.map +1 -0
- package/esm/mark/{linkPath.js → link-path.js} +1 -1
- package/esm/mark/link-path.js.map +1 -0
- package/esm/mark/polygon/base-polygon.d.ts +6 -0
- package/esm/mark/polygon/base-polygon.js +10 -0
- package/esm/mark/polygon/base-polygon.js.map +1 -0
- package/esm/mark/polygon/polygon.d.ts +9 -0
- package/esm/mark/polygon/polygon.js +12 -0
- package/esm/mark/polygon/polygon.js.map +1 -0
- package/esm/mark/polygon/pyramid-3d.d.ts +9 -0
- package/esm/mark/polygon/pyramid-3d.js +12 -0
- package/esm/mark/polygon/pyramid-3d.js.map +1 -0
- package/esm/mark/rect-3d.d.ts +10 -0
- package/esm/mark/rect-3d.js +19 -0
- package/esm/mark/rect-3d.js.map +1 -0
- package/esm/mark/rect.d.ts +1 -7
- package/esm/mark/rect.js +0 -15
- package/esm/mark/rect.js.map +1 -1
- package/esm/model/layout-item.js +1 -2
- package/esm/plugin/interface.js +1 -1
- package/esm/region/region.js +1 -1
- package/esm/series/area/area.js +12 -0
- package/esm/series/area/area.js.map +1 -1
- package/esm/series/bar/bar-3d.d.ts +11 -0
- package/esm/series/bar/bar-3d.js +30 -0
- package/esm/series/bar/bar-3d.js.map +1 -0
- package/esm/series/bar/bar.d.ts +0 -7
- package/esm/series/bar/bar.js +8 -14
- package/esm/series/bar/bar.js.map +1 -1
- package/esm/series/box-plot/box-plot.js +8 -0
- package/esm/series/box-plot/box-plot.js.map +1 -1
- package/esm/series/circle-packing/circle-packing.js +8 -0
- package/esm/series/circle-packing/circle-packing.js.map +1 -1
- package/esm/series/dot/dot.js +14 -0
- package/esm/series/dot/dot.js.map +1 -1
- package/esm/series/funnel/funnel-3d.d.ts +18 -0
- package/esm/series/funnel/funnel-3d.js +113 -0
- package/esm/series/funnel/funnel-3d.js.map +1 -0
- package/esm/series/funnel/funnel.d.ts +2 -14
- package/esm/series/funnel/funnel.js +10 -93
- package/esm/series/funnel/funnel.js.map +1 -1
- package/esm/series/gauge/gauge-pointer.js +8 -0
- package/esm/series/gauge/gauge-pointer.js.map +1 -1
- package/esm/series/gauge/gauge.js +6 -0
- package/esm/series/gauge/gauge.js.map +1 -1
- package/esm/series/heatmap/heatmap.js +8 -0
- package/esm/series/heatmap/heatmap.js.map +1 -1
- package/esm/series/index.d.ts +66 -0
- package/esm/series/index.js +70 -0
- package/esm/series/index.js.map +1 -0
- package/esm/series/line/line.js +10 -0
- package/esm/series/line/line.js.map +1 -1
- package/esm/series/link/link.js +10 -0
- package/esm/series/link/link.js.map +1 -1
- package/esm/series/map/map.js +7 -1
- package/esm/series/map/map.js.map +1 -1
- package/esm/series/pie/pie-3d.d.ts +16 -0
- package/esm/series/pie/pie-3d.js +107 -0
- package/esm/series/pie/pie-3d.js.map +1 -0
- package/esm/series/pie/pie.d.ts +1 -11
- package/esm/series/pie/pie.js +10 -83
- package/esm/series/pie/pie.js.map +1 -1
- package/esm/series/polar/animation.d.ts +1 -1
- package/esm/series/polar/animation.js.map +1 -1
- package/esm/series/progress/circular/circular.js +8 -0
- package/esm/series/progress/circular/circular.js.map +1 -1
- package/esm/series/progress/linear/linear.js +6 -0
- package/esm/series/progress/linear/linear.js.map +1 -1
- package/esm/series/radar/animation.d.ts +1 -1
- package/esm/series/radar/animation.js.map +1 -1
- package/esm/series/radar/radar.js +12 -0
- package/esm/series/radar/radar.js.map +1 -1
- package/esm/series/range-column/rangeColumn-3d.d.ts +10 -0
- package/esm/series/range-column/rangeColumn-3d.js +23 -0
- package/esm/series/range-column/rangeColumn-3d.js.map +1 -0
- package/esm/series/range-column/rangeColumn.d.ts +0 -6
- package/esm/series/range-column/rangeColumn.js +0 -9
- package/esm/series/range-column/rangeColumn.js.map +1 -1
- package/esm/series/rose/rose.js +8 -0
- package/esm/series/rose/rose.js.map +1 -1
- package/esm/series/sankey/sankey.js +9 -1
- package/esm/series/sankey/sankey.js.map +1 -1
- package/esm/series/scatter/scatter.js +8 -0
- package/esm/series/scatter/scatter.js.map +1 -1
- package/esm/series/sunburst/sunburst.js +8 -0
- package/esm/series/sunburst/sunburst.js.map +1 -1
- package/esm/series/treemap/treemap.js +8 -0
- package/esm/series/treemap/treemap.js.map +1 -1
- package/esm/series/waterfall/waterfall.js +6 -0
- package/esm/series/waterfall/waterfall.js.map +1 -1
- package/esm/series/word-cloud/base.d.ts +60 -0
- package/esm/series/word-cloud/base.js +278 -0
- package/esm/series/word-cloud/base.js.map +1 -0
- package/esm/series/word-cloud/word-cloud-3d.d.ts +11 -0
- package/esm/series/word-cloud/word-cloud-3d.js +207 -0
- package/esm/series/word-cloud/word-cloud-3d.js.map +1 -0
- package/esm/series/word-cloud/word-cloud.d.ts +2 -69
- package/esm/series/word-cloud/word-cloud.js +2 -461
- package/esm/series/word-cloud/word-cloud.js.map +1 -1
- package/esm/vchart-all.d.ts +1 -1
- package/esm/vchart-all.js +4 -12
- package/esm/vchart-all.js.map +1 -1
- package/esm/vchart-simple.d.ts +1 -1
- package/esm/vchart-simple.js +4 -10
- package/esm/vchart-simple.js.map +1 -1
- package/layout.d.ts +1 -1
- package/layout.js +1 -1
- package/mark.d.ts +1 -1
- package/mark.js +1 -1
- package/package.json +1 -1
- package/series.d.ts +1 -1
- package/series.js +1 -1
- package/cjs/chart/range-column/rangeColumn.js.map +0 -1
- package/cjs/export/chart.d.ts +0 -57
- package/cjs/export/chart.js +0 -298
- package/cjs/export/chart.js.map +0 -1
- package/cjs/export/component.d.ts +0 -39
- package/cjs/export/component.js +0 -207
- package/cjs/export/component.js.map +0 -1
- package/cjs/export/core.js.map +0 -1
- package/cjs/export/layout.d.ts +0 -7
- package/cjs/export/layout.js +0 -33
- package/cjs/export/layout.js.map +0 -1
- package/cjs/export/mark.d.ts +0 -18
- package/cjs/export/mark.js.map +0 -1
- package/cjs/export/series.d.ts +0 -61
- package/cjs/export/series.js.map +0 -1
- package/cjs/mark/linkPath.js.map +0 -1
- package/cjs/mark/polygon.d.ts +0 -18
- package/cjs/mark/polygon.js +0 -32
- package/cjs/mark/polygon.js.map +0 -1
- package/esm/chart/range-column/rangeColumn.js.map +0 -1
- package/esm/export/chart.d.ts +0 -57
- package/esm/export/chart.js +0 -58
- package/esm/export/chart.js.map +0 -1
- package/esm/export/component.d.ts +0 -39
- package/esm/export/component.js +0 -40
- package/esm/export/component.js.map +0 -1
- package/esm/export/core.js.map +0 -1
- package/esm/export/layout.d.ts +0 -7
- package/esm/export/layout.js +0 -8
- package/esm/export/layout.js.map +0 -1
- package/esm/export/mark.d.ts +0 -18
- package/esm/export/mark.js +0 -34
- package/esm/export/mark.js.map +0 -1
- package/esm/export/series.d.ts +0 -61
- package/esm/export/series.js +0 -60
- package/esm/export/series.js.map +0 -1
- package/esm/mark/linkPath.js.map +0 -1
- package/esm/mark/polygon.d.ts +0 -18
- package/esm/mark/polygon.js +0 -28
- package/esm/mark/polygon.js.map +0 -1
- /package/cjs/mark/{linkPath.d.ts → link-path.d.ts} +0 -0
- /package/esm/mark/{linkPath.d.ts → link-path.d.ts} +0 -0
package/cjs/export/chart.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/chart.ts"],"names":[],"mappings":";;;AAKA,wCAA0C;AAwDxC,0FAxDO,gBAAS,OAwDP;AAtDX,sCAAoD;AAuDlD,yFAvDO,cAAQ,OAuDP;AACR,2FAxDiB,gBAAU,OAwDjB;AAtDZ,gDAAiD;AAuD/C,6FAvDO,uBAAY,OAuDP;AArDd,4DAA6D;AAsD3D,mGAtDO,mCAAkB,OAsDP;AApDpB,4CAA8C;AAqD5C,4FArDO,oBAAW,OAqDP;AAnDb,4CAA6D;AAoD3D,4FApDO,oBAAW,OAoDP;AACX,8FArDoB,sBAAa,OAqDpB;AAnDf,0CAA4C;AAoD1C,2FApDO,kBAAU,OAoDP;AAlDZ,8CAAgD;AAmD9C,6FAnDO,sBAAY,OAmDP;AAjDd,kDAAsE;AAkDpE,+FAlDO,0BAAc,OAkDP;AACd,iGAnDuB,4BAAgB,OAmDvB;AAjDlB,wCAA0C;AAkDxC,0FAlDO,gBAAS,OAkDP;AAhDX,sCAAwC;AAiDtC,yFAjDO,cAAQ,OAiDP;AA/CV,sCAAoD;AAgDlD,yFAhDO,cAAQ,OAgDP;AACR,2FAjDiB,gBAAU,OAiDjB;AA/CZ,yDAAmE;AAgDjE,sGAhDO,gCAAqB,OAgDP;AA9CvB,qDAA+D;AA+C7D,oGA/CO,4BAAmB,OA+CP;AA7CrB,0CAA4C;AA8C1C,2FA9CO,kBAAU,OA8CP;AA5CZ,oDAAqD;AA+CnD,+FA/CO,2BAAc,OA+CP;AA7ChB,wDAA6E;AA2C3E,iGA3CO,+BAAgB,OA2CP;AAChB,mGA5CyB,iCAAkB,OA4CzB;AA1CpB,wCAA0C;AA4CxC,0FA5CO,gBAAS,OA4CP;AA1CX,4CAA8C;AA2C5C,4FA3CO,oBAAW,OA2CP;AAzCb,8CAAgD;AA0C9C,6FA1CO,sBAAY,OA0CP;AAxCd,gDAAkD;AA0ChD,8FA1CO,wBAAa,OA0CP;AAxCf,gDAAkD;AAuChD,8FAvCO,wBAAa,OAuCP;AArCf,8CAAgD;AA0C9C,6FA1CO,sBAAY,OA0CP;AAxCd,kDAAoD;AAqClD,+FArCO,0BAAc,OAqCP;AAnChB,oDAAuE;AAoCrE,+FApCO,2BAAc,OAoCP;AACd,iGArCuB,6BAAgB,OAqCvB;AApClB,oDAAgD;AAsC9C,0FAtCO,sBAAS,OAsCP;AApCX,kDAAoD;AAwClD,+FAxCO,0BAAc,OAwCP;AAtChB,0CAA8E;AAmC5E,2FAnCO,kBAAU,OAmCP;AAEV,8FArCmB,qBAAa,OAqCnB;AADb,kGApCkC,yBAAiB,OAoClC","file":"chart.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all chart modules\n */\nimport type { IAreaChartSpec } from '../chart/area';\nimport { AreaChart } from '../chart/area';\nimport type { IBarChartSpec, IBar3dChartSpec } from '../chart/bar';\nimport { BarChart, Bar3dChart } from '../chart/bar';\nimport type { IBoxPlotChartSpec } from '../chart/box-plot';\nimport { BoxPlotChart } from '../chart/box-plot';\nimport type { ICirclePackingChartSpec } from '../chart/circle-packing';\nimport { CirclePackingChart } from '../chart/circle-packing';\nimport type { ICommonChartSpec } from '../chart/common';\nimport { CommonChart } from '../chart/common';\nimport type { IFunnelChartSpec, IFunnel3dChartSpec } from '../chart/funnel';\nimport { FunnelChart, Funnel3dChart } from '../chart/funnel';\nimport type { IGaugeChartSpec } from '../chart/gauge';\nimport { GaugeChart } from '../chart/gauge';\nimport type { IHeatmapChartSpec } from '../chart/heatmap';\nimport { HeatmapChart } from '../chart/heatmap';\nimport type { IHistogramChartSpec, IHistogram3dChartSpec } from '../chart/histogram';\nimport { HistogramChart, Histogram3dChart } from '../chart/histogram';\nimport type { ILineChartSpec } from '../chart/line';\nimport { LineChart } from '../chart/line';\nimport type { IMapChartSpec } from '../chart/map';\nimport { MapChart } from '../chart/map';\nimport type { IPieChartSpec, IPie3dChartSpec } from '../chart/pie';\nimport { PieChart, Pie3dChart } from '../chart/pie';\nimport type { ICircularProgressChartSpec } from '../chart/progress/circular';\nimport { CircularProgressChart } from '../chart/progress/circular';\nimport type { ILinearProgressChartSpec } from '../chart/progress/linear';\nimport { LinearProgressChart } from '../chart/progress/linear';\nimport type { IRadarChartSpec } from '../chart/radar';\nimport { RadarChart } from '../chart/radar';\nimport type { IRangeAreaChartSpec } from '../chart/range-area';\nimport { RangeAreaChart } from '../chart/range-area';\nimport type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../chart/range-column';\nimport { RangeColumnChart, RangeColumn3dChart } from '../chart/range-column';\nimport type { IRoseChartSpec } from '../chart/rose';\nimport { RoseChart } from '../chart/rose';\nimport type { ISankeyChartSpec } from '../chart/sankey';\nimport { SankeyChart } from '../chart/sankey';\nimport type { IScatterChartSpec } from '../chart/scatter';\nimport { ScatterChart } from '../chart/scatter';\nimport type { ISequenceChartSpec } from '../chart/sequence';\nimport { SequenceChart } from '../chart/sequence';\nimport type { ISunburstChartSpec } from '../chart/sunburst';\nimport { SunburstChart } from '../chart/sunburst';\nimport type { ITreemapChartSpec } from '../chart/treemap';\nimport { TreeMapChart } from '../chart/treemap';\nimport type { IWaterfallChartSpec } from '../chart/waterfall';\nimport { WaterfallChart } from '../chart/waterfall';\nimport type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../chart/word-cloud';\nimport { WordCloudChart, WordCloud3dChart } from '../chart/word-cloud';\nimport { BaseChart } from '../chart/base-chart';\nimport type { ICartesianChartSpec } from '../chart/cartesian';\nimport { CartesianChart } from '../chart/cartesian';\nimport type { IPolarChartSpec } from '../chart/polar';\nimport { PolarChart, RoseLikeChart, ProgressLikeChart } from '../chart/polar';\n\nexport {\n AreaChart,\n BarChart,\n Bar3dChart,\n BoxPlotChart,\n CirclePackingChart,\n CommonChart,\n FunnelChart,\n Funnel3dChart,\n GaugeChart,\n HeatmapChart,\n HistogramChart,\n Histogram3dChart,\n LineChart,\n MapChart,\n PieChart,\n Pie3dChart,\n CircularProgressChart,\n LinearProgressChart,\n RadarChart,\n RangeColumnChart,\n RangeColumn3dChart,\n RangeAreaChart,\n RoseChart,\n SankeyChart,\n ScatterChart,\n SunburstChart,\n SequenceChart,\n WaterfallChart,\n WordCloudChart,\n WordCloud3dChart,\n TreeMapChart,\n BaseChart,\n PolarChart,\n ProgressLikeChart,\n RoseLikeChart,\n CartesianChart\n};\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec\n};\n"]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { IScrollBarSpec } from '../component/data-zoom/scroll-bar';
|
|
2
|
-
import { ScrollBar } from '../component/data-zoom/scroll-bar';
|
|
3
|
-
import type { IDataZoomSpec } from '../component/data-zoom/data-zoom';
|
|
4
|
-
import { DataZoom } from '../component/data-zoom/data-zoom';
|
|
5
|
-
import { CustomMark } from '../component/custom-mark';
|
|
6
|
-
import type { IBrushSpec } from '../component/brush';
|
|
7
|
-
import { Brush } from '../component/brush';
|
|
8
|
-
import type { IMapLabelSpec } from '../component/map-label';
|
|
9
|
-
import { MapLabelComponent } from '../component/map-label';
|
|
10
|
-
import type { ICartesianLinearAxisSpec, ICartesianBandAxisSpec, ICartesianTimeAxisSpec, ICartesianAxisSpec } from '../component/axis/cartesian/index';
|
|
11
|
-
import { CartesianAxis, CartesianLinearAxis, CartesianBandAxis, CartesianTimeAxis } from '../component/axis/cartesian/index';
|
|
12
|
-
import type { IPolarAxisSpec, IPolarBandAxisSpec, IPolarLinearAxisSpec } from '../component/axis/polar';
|
|
13
|
-
import { PolarAxis, PolarBandAxis, PolarLinearAxis } from '../component/axis/polar';
|
|
14
|
-
import type { IDiscreteLegendSpec } from '../component/legend/discrete';
|
|
15
|
-
import { DiscreteLegend } from '../component/legend/discrete';
|
|
16
|
-
import type { IContinuousLegendSpec } from '../component/legend/continuous';
|
|
17
|
-
import { ContinuousLegend } from '../component/legend/continuous';
|
|
18
|
-
import type { IIndicatorSpec } from '../component/indicator';
|
|
19
|
-
import { Indicator } from '../component/indicator';
|
|
20
|
-
import type { ITitleSpec } from '../component/title';
|
|
21
|
-
import { Title } from '../component/title';
|
|
22
|
-
import type { IGeoCoordinateSpec } from '../component/geo';
|
|
23
|
-
import { GeoCoordinate } from '../component/geo';
|
|
24
|
-
import type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '../component/crosshair';
|
|
25
|
-
import { CartesianCrossHair, PolarCrossHair } from '../component/crosshair';
|
|
26
|
-
import type { IPlayerSpec } from '../component/player';
|
|
27
|
-
import { Player } from '../component/player';
|
|
28
|
-
import type { IMarkLineSpec } from '../component/marker/mark-line';
|
|
29
|
-
import { MarkLine } from '../component/marker/mark-line';
|
|
30
|
-
import type { IMarkAreaSpec } from '../component/marker/mark-area';
|
|
31
|
-
import { MarkArea } from '../component/marker/mark-area';
|
|
32
|
-
import type { IMarkPointSpec } from '../component/marker/mark-point';
|
|
33
|
-
import { MarkPoint } from '../component/marker/mark-point';
|
|
34
|
-
import type { ITooltipSpec } from '../component/tooltip';
|
|
35
|
-
import { Tooltip } from '../component/tooltip';
|
|
36
|
-
import type { ILabelSpec } from '../component/label';
|
|
37
|
-
import { Label } from '../component/label';
|
|
38
|
-
export { ScrollBar, DataZoom, CustomMark, Brush, MapLabelComponent, CartesianAxis, CartesianBandAxis, CartesianLinearAxis, CartesianTimeAxis, PolarAxis, PolarBandAxis, PolarLinearAxis, DiscreteLegend, ContinuousLegend, Indicator, Title, GeoCoordinate, CartesianCrossHair, PolarCrossHair, Player, MarkArea, MarkLine, MarkPoint, Tooltip, Label };
|
|
39
|
-
export type { IScrollBarSpec, IBrushSpec, ICartesianAxisSpec, ICartesianBandAxisSpec, ICartesianCrosshairSpec, ICartesianLinearAxisSpec, ICartesianTimeAxisSpec, IContinuousLegendSpec, IDataZoomSpec, IDiscreteLegendSpec, IGeoCoordinateSpec, IIndicatorSpec, ILabelSpec, IMapLabelSpec, IMarkAreaSpec, IMarkLineSpec, IMarkPointSpec, IPlayerSpec, IPolarAxisSpec, IPolarBandAxisSpec, IPolarCrosshairSpec, IPolarLinearAxisSpec, ITitleSpec, ITooltipSpec };
|
package/cjs/export/component.js
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: !0
|
|
5
|
-
}), exports.Label = exports.Tooltip = exports.MarkPoint = exports.MarkLine = exports.MarkArea = exports.Player = exports.PolarCrossHair = exports.CartesianCrossHair = exports.GeoCoordinate = exports.Title = exports.Indicator = exports.ContinuousLegend = exports.DiscreteLegend = exports.PolarLinearAxis = exports.PolarBandAxis = exports.PolarAxis = exports.CartesianTimeAxis = exports.CartesianLinearAxis = exports.CartesianBandAxis = exports.CartesianAxis = exports.MapLabelComponent = exports.Brush = exports.CustomMark = exports.DataZoom = exports.ScrollBar = void 0;
|
|
6
|
-
|
|
7
|
-
const scroll_bar_1 = require("../component/data-zoom/scroll-bar");
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "ScrollBar", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return scroll_bar_1.ScrollBar;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const data_zoom_1 = require("../component/data-zoom/data-zoom");
|
|
17
|
-
|
|
18
|
-
Object.defineProperty(exports, "DataZoom", {
|
|
19
|
-
enumerable: !0,
|
|
20
|
-
get: function() {
|
|
21
|
-
return data_zoom_1.DataZoom;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
const custom_mark_1 = require("../component/custom-mark");
|
|
26
|
-
|
|
27
|
-
Object.defineProperty(exports, "CustomMark", {
|
|
28
|
-
enumerable: !0,
|
|
29
|
-
get: function() {
|
|
30
|
-
return custom_mark_1.CustomMark;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
const brush_1 = require("../component/brush");
|
|
35
|
-
|
|
36
|
-
Object.defineProperty(exports, "Brush", {
|
|
37
|
-
enumerable: !0,
|
|
38
|
-
get: function() {
|
|
39
|
-
return brush_1.Brush;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
const map_label_1 = require("../component/map-label");
|
|
44
|
-
|
|
45
|
-
Object.defineProperty(exports, "MapLabelComponent", {
|
|
46
|
-
enumerable: !0,
|
|
47
|
-
get: function() {
|
|
48
|
-
return map_label_1.MapLabelComponent;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
const index_1 = require("../component/axis/cartesian/index");
|
|
53
|
-
|
|
54
|
-
Object.defineProperty(exports, "CartesianAxis", {
|
|
55
|
-
enumerable: !0,
|
|
56
|
-
get: function() {
|
|
57
|
-
return index_1.CartesianAxis;
|
|
58
|
-
}
|
|
59
|
-
}), Object.defineProperty(exports, "CartesianLinearAxis", {
|
|
60
|
-
enumerable: !0,
|
|
61
|
-
get: function() {
|
|
62
|
-
return index_1.CartesianLinearAxis;
|
|
63
|
-
}
|
|
64
|
-
}), Object.defineProperty(exports, "CartesianBandAxis", {
|
|
65
|
-
enumerable: !0,
|
|
66
|
-
get: function() {
|
|
67
|
-
return index_1.CartesianBandAxis;
|
|
68
|
-
}
|
|
69
|
-
}), Object.defineProperty(exports, "CartesianTimeAxis", {
|
|
70
|
-
enumerable: !0,
|
|
71
|
-
get: function() {
|
|
72
|
-
return index_1.CartesianTimeAxis;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
const polar_1 = require("../component/axis/polar");
|
|
77
|
-
|
|
78
|
-
Object.defineProperty(exports, "PolarAxis", {
|
|
79
|
-
enumerable: !0,
|
|
80
|
-
get: function() {
|
|
81
|
-
return polar_1.PolarAxis;
|
|
82
|
-
}
|
|
83
|
-
}), Object.defineProperty(exports, "PolarBandAxis", {
|
|
84
|
-
enumerable: !0,
|
|
85
|
-
get: function() {
|
|
86
|
-
return polar_1.PolarBandAxis;
|
|
87
|
-
}
|
|
88
|
-
}), Object.defineProperty(exports, "PolarLinearAxis", {
|
|
89
|
-
enumerable: !0,
|
|
90
|
-
get: function() {
|
|
91
|
-
return polar_1.PolarLinearAxis;
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
const discrete_1 = require("../component/legend/discrete");
|
|
96
|
-
|
|
97
|
-
Object.defineProperty(exports, "DiscreteLegend", {
|
|
98
|
-
enumerable: !0,
|
|
99
|
-
get: function() {
|
|
100
|
-
return discrete_1.DiscreteLegend;
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
const continuous_1 = require("../component/legend/continuous");
|
|
105
|
-
|
|
106
|
-
Object.defineProperty(exports, "ContinuousLegend", {
|
|
107
|
-
enumerable: !0,
|
|
108
|
-
get: function() {
|
|
109
|
-
return continuous_1.ContinuousLegend;
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
const indicator_1 = require("../component/indicator");
|
|
114
|
-
|
|
115
|
-
Object.defineProperty(exports, "Indicator", {
|
|
116
|
-
enumerable: !0,
|
|
117
|
-
get: function() {
|
|
118
|
-
return indicator_1.Indicator;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
const title_1 = require("../component/title");
|
|
123
|
-
|
|
124
|
-
Object.defineProperty(exports, "Title", {
|
|
125
|
-
enumerable: !0,
|
|
126
|
-
get: function() {
|
|
127
|
-
return title_1.Title;
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
const geo_1 = require("../component/geo");
|
|
132
|
-
|
|
133
|
-
Object.defineProperty(exports, "GeoCoordinate", {
|
|
134
|
-
enumerable: !0,
|
|
135
|
-
get: function() {
|
|
136
|
-
return geo_1.GeoCoordinate;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
const crosshair_1 = require("../component/crosshair");
|
|
141
|
-
|
|
142
|
-
Object.defineProperty(exports, "CartesianCrossHair", {
|
|
143
|
-
enumerable: !0,
|
|
144
|
-
get: function() {
|
|
145
|
-
return crosshair_1.CartesianCrossHair;
|
|
146
|
-
}
|
|
147
|
-
}), Object.defineProperty(exports, "PolarCrossHair", {
|
|
148
|
-
enumerable: !0,
|
|
149
|
-
get: function() {
|
|
150
|
-
return crosshair_1.PolarCrossHair;
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
const player_1 = require("../component/player");
|
|
155
|
-
|
|
156
|
-
Object.defineProperty(exports, "Player", {
|
|
157
|
-
enumerable: !0,
|
|
158
|
-
get: function() {
|
|
159
|
-
return player_1.Player;
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
const mark_line_1 = require("../component/marker/mark-line");
|
|
164
|
-
|
|
165
|
-
Object.defineProperty(exports, "MarkLine", {
|
|
166
|
-
enumerable: !0,
|
|
167
|
-
get: function() {
|
|
168
|
-
return mark_line_1.MarkLine;
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
const mark_area_1 = require("../component/marker/mark-area");
|
|
173
|
-
|
|
174
|
-
Object.defineProperty(exports, "MarkArea", {
|
|
175
|
-
enumerable: !0,
|
|
176
|
-
get: function() {
|
|
177
|
-
return mark_area_1.MarkArea;
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
const mark_point_1 = require("../component/marker/mark-point");
|
|
182
|
-
|
|
183
|
-
Object.defineProperty(exports, "MarkPoint", {
|
|
184
|
-
enumerable: !0,
|
|
185
|
-
get: function() {
|
|
186
|
-
return mark_point_1.MarkPoint;
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
const tooltip_1 = require("../component/tooltip");
|
|
191
|
-
|
|
192
|
-
Object.defineProperty(exports, "Tooltip", {
|
|
193
|
-
enumerable: !0,
|
|
194
|
-
get: function() {
|
|
195
|
-
return tooltip_1.Tooltip;
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
const label_1 = require("../component/label");
|
|
200
|
-
|
|
201
|
-
Object.defineProperty(exports, "Label", {
|
|
202
|
-
enumerable: !0,
|
|
203
|
-
get: function() {
|
|
204
|
-
return label_1.Label;
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/component.ts"],"names":[],"mappings":";;;AAKA,kEAA8D;AAgD5D,0FAhDO,sBAAS,OAgDP;AA9CX,gEAA4D;AA+C1D,yFA/CO,oBAAQ,OA+CP;AA9CV,0DAAsD;AA+CpD,2FA/CO,wBAAU,OA+CP;AA7CZ,8CAA2C;AA8CzC,sFA9CO,aAAK,OA8CP;AA5CP,sDAA2D;AA6CzD,kGA7CO,6BAAiB,OA6CP;AAtCnB,6DAK2C;AAkCzC,8FAtCA,qBAAa,OAsCA;AAEb,oGAvCA,2BAAmB,OAuCA;AADnB,kGArCA,yBAAiB,OAqCA;AAEjB,kGAtCA,yBAAiB,OAsCA;AAnCnB,mDAAoF;AAoClF,0FApCO,iBAAS,OAoCP;AACT,8FArCkB,qBAAa,OAqClB;AACb,gGAtCiC,uBAAe,OAsCjC;AApCjB,2DAA8D;AAqC5D,+FArCO,yBAAc,OAqCP;AAnChB,+DAAkE;AAoChE,iGApCO,6BAAgB,OAoCP;AAlClB,sDAAmD;AAmCjD,0FAnCO,qBAAS,OAmCP;AAjCX,8CAA2C;AAkCzC,sFAlCO,aAAK,OAkCP;AAhCP,0CAAiD;AAiC/C,8FAjCO,mBAAa,OAiCP;AA/Bf,sDAA4E;AAgC1E,mGAhCO,8BAAkB,OAgCP;AAClB,+FAjC2B,0BAAc,OAiC3B;AA/BhB,gDAA6C;AAgC3C,uFAhCO,eAAM,OAgCP;AA9BR,6DAAyD;AAgCvD,yFAhCO,oBAAQ,OAgCP;AA9BV,6DAAyD;AA6BvD,yFA7BO,oBAAQ,OA6BP;AA3BV,+DAA2D;AA6BzD,0FA7BO,sBAAS,OA6BP;AA3BX,kDAA+C;AA4B7C,wFA5BO,iBAAO,OA4BP;AA1BT,8CAA2C;AA2BzC,sFA3BO,aAAK,OA2BP","file":"component.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all component modules\n */\nimport type { IScrollBarSpec } from '../component/data-zoom/scroll-bar';\nimport { ScrollBar } from '../component/data-zoom/scroll-bar';\nimport type { IDataZoomSpec } from '../component/data-zoom/data-zoom';\nimport { DataZoom } from '../component/data-zoom/data-zoom';\nimport { CustomMark } from '../component/custom-mark';\nimport type { IBrushSpec } from '../component/brush';\nimport { Brush } from '../component/brush';\nimport type { IMapLabelSpec } from '../component/map-label';\nimport { MapLabelComponent } from '../component/map-label';\nimport type {\n ICartesianLinearAxisSpec,\n ICartesianBandAxisSpec,\n ICartesianTimeAxisSpec,\n ICartesianAxisSpec\n} from '../component/axis/cartesian/index';\nimport {\n CartesianAxis,\n CartesianLinearAxis,\n CartesianBandAxis,\n CartesianTimeAxis\n} from '../component/axis/cartesian/index';\nimport type { IPolarAxisSpec, IPolarBandAxisSpec, IPolarLinearAxisSpec } from '../component/axis/polar';\nimport { PolarAxis, PolarBandAxis, PolarLinearAxis } from '../component/axis/polar';\nimport type { IDiscreteLegendSpec } from '../component/legend/discrete';\nimport { DiscreteLegend } from '../component/legend/discrete';\nimport type { IContinuousLegendSpec } from '../component/legend/continuous';\nimport { ContinuousLegend } from '../component/legend/continuous';\nimport type { IIndicatorSpec } from '../component/indicator';\nimport { Indicator } from '../component/indicator';\nimport type { ITitleSpec } from '../component/title';\nimport { Title } from '../component/title';\nimport type { IGeoCoordinateSpec } from '../component/geo';\nimport { GeoCoordinate } from '../component/geo';\nimport type { ICartesianCrosshairSpec, IPolarCrosshairSpec } from '../component/crosshair';\nimport { CartesianCrossHair, PolarCrossHair } from '../component/crosshair';\nimport type { IPlayerSpec } from '../component/player';\nimport { Player } from '../component/player';\nimport type { IMarkLineSpec } from '../component/marker/mark-line';\nimport { MarkLine } from '../component/marker/mark-line';\nimport type { IMarkAreaSpec } from '../component/marker/mark-area';\nimport { MarkArea } from '../component/marker/mark-area';\nimport type { IMarkPointSpec } from '../component/marker/mark-point';\nimport { MarkPoint } from '../component/marker/mark-point';\nimport type { ITooltipSpec } from '../component/tooltip';\nimport { Tooltip } from '../component/tooltip';\nimport type { ILabelSpec } from '../component/label';\nimport { Label } from '../component/label';\n\nexport {\n ScrollBar,\n DataZoom,\n CustomMark,\n Brush,\n MapLabelComponent,\n CartesianAxis,\n CartesianBandAxis,\n CartesianLinearAxis,\n CartesianTimeAxis,\n PolarAxis,\n PolarBandAxis,\n PolarLinearAxis,\n DiscreteLegend,\n ContinuousLegend,\n Indicator,\n Title,\n GeoCoordinate,\n CartesianCrossHair,\n PolarCrossHair,\n Player,\n MarkArea,\n MarkLine,\n MarkPoint,\n Tooltip,\n Label\n};\n\nexport type {\n IScrollBarSpec,\n IBrushSpec,\n ICartesianAxisSpec,\n ICartesianBandAxisSpec,\n ICartesianCrosshairSpec,\n ICartesianLinearAxisSpec,\n ICartesianTimeAxisSpec,\n IContinuousLegendSpec,\n IDataZoomSpec,\n IDiscreteLegendSpec,\n IGeoCoordinateSpec,\n IIndicatorSpec,\n ILabelSpec,\n IMapLabelSpec,\n IMarkAreaSpec,\n IMarkLineSpec,\n IMarkPointSpec,\n IPlayerSpec,\n IPolarAxisSpec,\n IPolarBandAxisSpec,\n IPolarCrosshairSpec,\n IPolarLinearAxisSpec,\n ITitleSpec,\n ITooltipSpec\n};\n"]}
|
package/cjs/export/core.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAKA,2CAAwC;AAgB/B,uFAhBA,eAAM,OAgBA;AAff,6CAA0C;AAezB,wFAfR,iBAAO,OAeQ;AAdxB,6CAA0C;AAC1C,2CAAyC;AACzC,yCAA0C;AAC1C,iDAAkD;AAGlD,eAAM,CAAC,OAAO,CAAC,CAAC,yBAAa,EAAE,iBAAS,CAAC,CAAC,CAAC;AAG3C,iBAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,eAAa,CAAC,CAAC;AAGhD,iBAAO,CAAC,cAAc,CAAC,MAAM,EAAE,cAAa,CAAC,CAAC;AAKjC,QAAA,OAAO,GAAG,eAAe,CAAC;AAKvC,qDAAmC;AACnC,yDAAuC;AAEvC,qDAAmC","file":"core.js","sourcesContent":["/**\n * @description VChart 的核心模块,包含 VChart 使用必须要的接口。\n * The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from '../core/vchart';\nimport { Factory } from '../core/factory';\nimport { Region } from '../region/region';\nimport { Layout } from '../layout/index';\nimport { GroupMark } from '../mark/group';\nimport { ComponentMark } from '../mark/component';\n\n// register groupMark and componentMark\nVChart.useMark([ComponentMark, GroupMark]);\n\n// install region module\nFactory.registerRegion('region', Region as any);\n\n// install layout module\nFactory.registerLayout('base', Layout as any);\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"1.0.1-alpha.1\";\n\n// export necessary types\nexport type { IVChart } from '../core/interface';\n// the event types\nexport * from '../event/interface';\nexport * from '../typings/spec/common';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport * from '../theme/interface';\n"]}
|
package/cjs/export/layout.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Layout } from '../layout/index';
|
|
2
|
-
import type { IGridLayoutSpec } from '../layout/grid-layout/grid-layout';
|
|
3
|
-
import { GridLayout } from '../layout/grid-layout/grid-layout';
|
|
4
|
-
import { Layout3d } from '../layout/layout3d';
|
|
5
|
-
import type { ILayoutSpec } from '../layout/interface';
|
|
6
|
-
export { Layout, GridLayout, Layout3d };
|
|
7
|
-
export type { ILayoutSpec, IGridLayoutSpec };
|
package/cjs/export/layout.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: !0
|
|
5
|
-
}), exports.Layout3d = exports.GridLayout = exports.Layout = void 0;
|
|
6
|
-
|
|
7
|
-
const index_1 = require("../layout/index");
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "Layout", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return index_1.Layout;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const grid_layout_1 = require("../layout/grid-layout/grid-layout");
|
|
17
|
-
|
|
18
|
-
Object.defineProperty(exports, "GridLayout", {
|
|
19
|
-
enumerable: !0,
|
|
20
|
-
get: function() {
|
|
21
|
-
return grid_layout_1.GridLayout;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
const layout3d_1 = require("../layout/layout3d");
|
|
26
|
-
|
|
27
|
-
Object.defineProperty(exports, "Layout3d", {
|
|
28
|
-
enumerable: !0,
|
|
29
|
-
get: function() {
|
|
30
|
-
return layout3d_1.Layout3d;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=layout.js.map
|
package/cjs/export/layout.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/layout.ts"],"names":[],"mappings":";;;AAIA,2CAAyC;AAMhC,uFANA,cAAM,OAMA;AAJf,mEAA+D;AAI9C,2FAJR,wBAAU,OAIQ;AAH3B,iDAA8C;AAGjB,yFAHpB,mBAAQ,OAGoB","file":"layout.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all layout modules\n */\nimport { Layout } from '../layout/index';\nimport type { IGridLayoutSpec } from '../layout/grid-layout/grid-layout';\nimport { GridLayout } from '../layout/grid-layout/grid-layout';\nimport { Layout3d } from '../layout/layout3d';\nimport type { ILayoutSpec } from '../layout/interface';\n\nexport { Layout, GridLayout, Layout3d };\nexport type { ILayoutSpec, IGridLayoutSpec };\n"]}
|
package/cjs/export/mark.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BoxPlotMark } from '../mark/box-plot';
|
|
2
|
-
import { LineMark } from '../mark/line';
|
|
3
|
-
import { SymbolMark } from '../mark/symbol';
|
|
4
|
-
import { GroupMark } from '../mark/group';
|
|
5
|
-
import { RuleMark } from '../mark/rule';
|
|
6
|
-
import { TextMark } from '../mark/text';
|
|
7
|
-
import { AreaMark } from '../mark/area';
|
|
8
|
-
import { Rect3dMark, RectMark } from '../mark/rect';
|
|
9
|
-
import { PathMark } from '../mark/path';
|
|
10
|
-
import { Arc3dMark, ArcMark } from '../mark/arc';
|
|
11
|
-
import { ComponentMark } from '../mark/component';
|
|
12
|
-
import { PolygonMark, Pyramid3dMark } from '../mark/polygon';
|
|
13
|
-
import { LinkPathMark } from '../mark/linkPath';
|
|
14
|
-
import { ProgressArcMark } from '../mark/progress-arc';
|
|
15
|
-
import { CellMark } from '../mark/cell';
|
|
16
|
-
import { BaseMark } from '../mark/base';
|
|
17
|
-
export type { IBoxPlotMarkSpec, ILineMarkSpec, ISymbolMarkSpec, IGroupMarkSpec, IRuleMarkSpec, ITextMarkSpec, IAreaMarkSpec, IRect3dMarkSpec, IRectMarkSpec, IPathMarkSpec, IArcMarkSpec, IArc3dMarkSpec, ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec, ILinkPathMarkSpec, IProgressArcMarkSpec, ConvertToMarkStyleSpec, ICellMarkSpec } from '../typings/visual';
|
|
18
|
-
export { BoxPlotMark, LineMark, SymbolMark, GroupMark, RuleMark, TextMark, AreaMark, Rect3dMark, RectMark, PathMark, Arc3dMark, ArcMark, ComponentMark, PolygonMark, Pyramid3dMark, LinkPathMark, ProgressArcMark, CellMark, BaseMark };
|
package/cjs/export/mark.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/mark.ts"],"names":[],"mappings":";;;AAIA,+CAA+C;AAwC7C,4FAxCO,sBAAW,OAwCP;AAvCb,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,2CAA4C;AAwC1C,2FAxCO,mBAAU,OAwCP;AAvCZ,yCAA0C;AAwCxC,0FAxCO,iBAAS,OAwCP;AAvCX,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAwC;AAwCtC,yFAxCO,eAAQ,OAwCP;AAvCV,uCAAoD;AAwClD,2FAxCO,iBAAU,OAwCP;AACV,yFAzCmB,eAAQ,OAyCnB;AAxCV,uCAAwC;AAyCtC,yFAzCO,eAAQ,OAyCP;AAxCV,qCAAiD;AAyC/C,0FAzCO,eAAS,OAyCP;AACT,wFA1CkB,aAAO,OA0ClB;AAzCT,iDAAkD;AA0ChD,8FA1CO,yBAAa,OA0CP;AAzCf,6CAA6D;AA0C3D,4FA1CO,qBAAW,OA0CP;AACX,8FA3CoB,uBAAa,OA2CpB;AA1Cf,+CAAgD;AA2C9C,6FA3CO,uBAAY,OA2CP;AA1Cd,uDAAuD;AA2CrD,gGA3CO,8BAAe,OA2CP;AA1CjB,uCAAwC;AA2CtC,yFA3CO,eAAQ,OA2CP;AA1CV,uCAAwC;AA2CtC,yFA3CO,eAAQ,OA2CP","file":"mark.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { BoxPlotMark } from '../mark/box-plot';\nimport { LineMark } from '../mark/line';\nimport { SymbolMark } from '../mark/symbol';\nimport { GroupMark } from '../mark/group';\nimport { RuleMark } from '../mark/rule';\nimport { TextMark } from '../mark/text';\nimport { AreaMark } from '../mark/area';\nimport { Rect3dMark, RectMark } from '../mark/rect';\nimport { PathMark } from '../mark/path';\nimport { Arc3dMark, ArcMark } from '../mark/arc';\nimport { ComponentMark } from '../mark/component';\nimport { PolygonMark, Pyramid3dMark } from '../mark/polygon';\nimport { LinkPathMark } from '../mark/linkPath';\nimport { ProgressArcMark } from '../mark/progress-arc';\nimport { CellMark } from '../mark/cell';\nimport { BaseMark } from '../mark/base';\n\nexport type {\n IBoxPlotMarkSpec,\n ILineMarkSpec,\n ISymbolMarkSpec,\n IGroupMarkSpec,\n IRuleMarkSpec,\n ITextMarkSpec,\n IAreaMarkSpec,\n IRect3dMarkSpec,\n IRectMarkSpec,\n IPathMarkSpec,\n IArcMarkSpec,\n IArc3dMarkSpec,\n ICommonSpec,\n IPolygonMarkSpec,\n IPyramid3dMarkSpec,\n ILinkPathMarkSpec,\n IProgressArcMarkSpec,\n ConvertToMarkStyleSpec,\n ICellMarkSpec\n} from '../typings/visual';\n\nexport {\n BoxPlotMark,\n LineMark,\n SymbolMark,\n GroupMark,\n RuleMark,\n TextMark,\n AreaMark,\n Rect3dMark,\n RectMark,\n PathMark,\n Arc3dMark,\n ArcMark,\n ComponentMark,\n PolygonMark,\n Pyramid3dMark,\n LinkPathMark,\n ProgressArcMark,\n CellMark,\n BaseMark\n};\n"]}
|
package/cjs/export/series.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { WaterfallSeries } from '../series/waterfall/waterfall';
|
|
2
|
-
import type { IWaterfallSeriesSpec } from '../series/waterfall/interface';
|
|
3
|
-
import { BoxPlotSeries } from '../series/box-plot/box-plot';
|
|
4
|
-
import type { IBoxPlotSeriesSpec } from '../series/box-plot/interface';
|
|
5
|
-
import { LineSeries } from '../series/line/line';
|
|
6
|
-
import type { ILineSeriesSpec } from '../series/line/interface';
|
|
7
|
-
import { Bar3dSeries, BarSeries } from '../series/bar/bar';
|
|
8
|
-
import type { IBar3dSeriesSpec, IBarSeriesSpec } from '../series/bar/interface';
|
|
9
|
-
import { RangeColumn3dSeries, RangeColumnSeries } from '../series/range-column/rangeColumn';
|
|
10
|
-
import type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from '../series/range-column/interface';
|
|
11
|
-
import { RangeAreaSeries } from '../series/range-area/range-area';
|
|
12
|
-
import type { IRangeAreaSeriesSpec } from '../series/range-area/interface';
|
|
13
|
-
import { MapSeries } from '../series/map/map';
|
|
14
|
-
import type { IMapSeriesSpec } from '../series/map/interface';
|
|
15
|
-
import { Pie3dSeries, PieSeries } from '../series/pie/pie';
|
|
16
|
-
import type { IPie3dSeriesSpec } from '../series/pie/interface';
|
|
17
|
-
import type { IPieSeriesSpec } from '../series/pie/interface';
|
|
18
|
-
import { ScatterSeries } from '../series/scatter/scatter';
|
|
19
|
-
import type { IScatterSeriesSpec } from '../series/scatter/interface';
|
|
20
|
-
import { RoseSeries } from '../series/rose/rose';
|
|
21
|
-
import type { IRoseSeriesSpec } from '../series/rose/interface';
|
|
22
|
-
import { RadarSeries } from '../series/radar/radar';
|
|
23
|
-
import type { IRadarSeriesSpec } from '../series/radar/interface';
|
|
24
|
-
import { AreaSeries } from '../series/area/area';
|
|
25
|
-
import type { IAreaSeriesSpec } from '../series/area/interface';
|
|
26
|
-
import { DotSeries } from '../series/dot/dot';
|
|
27
|
-
import type { IDotSeriesSpec } from '../series/dot/interface';
|
|
28
|
-
import { LinkSeries } from '../series/link/link';
|
|
29
|
-
import type { ILinkSeriesSpec } from '../series/link/interface';
|
|
30
|
-
import { CircularProgressSeries } from '../series/progress/circular/circular';
|
|
31
|
-
import type { ICircularProgressSeriesSpec } from '../series/progress/circular/interface';
|
|
32
|
-
import { LinearProgressSeries } from '../series/progress/linear/linear';
|
|
33
|
-
import type { ILinearProgressSeriesSpec } from '../series/progress/linear/interface';
|
|
34
|
-
import { WordCloud3dSeries, WordCloudSeries } from '../series/word-cloud/word-cloud';
|
|
35
|
-
import type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from '../series/word-cloud/interface';
|
|
36
|
-
import { Funnel3dSeries, FunnelSeries } from '../series/funnel/funnel';
|
|
37
|
-
import type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from '../series/funnel/interface';
|
|
38
|
-
import { SunburstSeries } from '../series/sunburst/sunburst';
|
|
39
|
-
import type { ISunburstSeriesSpec } from '../series/sunburst/interface';
|
|
40
|
-
import { CirclePackingSeries } from '../series/circle-packing/circle-packing';
|
|
41
|
-
import type { ICirclePackingSeriesSpec } from '../series/circle-packing/interface';
|
|
42
|
-
import { SankeySeries } from '../series/sankey/sankey';
|
|
43
|
-
import type { ISankeySeriesSpec } from '../series/sankey/interface';
|
|
44
|
-
import { TreeMapSeries } from '../series/treemap/treemap';
|
|
45
|
-
import type { ITreemapSeriesSpec } from '../series/treemap/interface';
|
|
46
|
-
import type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from '../series/gauge';
|
|
47
|
-
import { GaugePointerSeries, GaugeSeries } from '../series/gauge';
|
|
48
|
-
import { HeatmapSeries } from '../series/heatmap/heatmap';
|
|
49
|
-
import type { IHeatmapSeriesSpec } from '../series/heatmap/interface';
|
|
50
|
-
import { BaseSeries } from '../series/base/base-series';
|
|
51
|
-
import type { ICartesianSeriesSpec } from '../series/cartesian';
|
|
52
|
-
import { CartesianSeries } from '../series/cartesian';
|
|
53
|
-
import { PolarSeries } from '../series/polar/polar';
|
|
54
|
-
import type { IPolarSeriesSpec } from '../series/polar/interface';
|
|
55
|
-
import type { IProgressLikeSeriesSpec } from '../series/polar/progress-like';
|
|
56
|
-
import { ProgressLikeSeries } from '../series/polar/progress-like';
|
|
57
|
-
import type { IRoseLikeSeriesSpec } from '../series/polar/rose-like';
|
|
58
|
-
import { RoseLikeSeries } from '../series/polar/rose-like';
|
|
59
|
-
import type { ISeries } from '../series/interface';
|
|
60
|
-
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreeMapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries };
|
|
61
|
-
export type { ISeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec };
|
package/cjs/export/series.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/export/series.ts"],"names":[],"mappings":";;;AAIA,6DAAgE;AA8D9D,gGA9DO,2BAAe,OA8DP;AA5DjB,0DAA4D;AA+D1D,8FA/DO,wBAAa,OA+DP;AA7Df,8CAAiD;AA8D/C,2FA9DO,iBAAU,OA8DP;AA5DZ,2CAA2D;AAyDzD,4FAzDO,iBAAW,OAyDP;AACX,0FA1DoB,eAAS,OA0DpB;AAxDX,oEAA4F;AA6D1F,oGA7DO,iCAAmB,OA6DP;AACnB,kGA9D4B,+BAAiB,OA8D5B;AA5DnB,gEAAkE;AA0DhE,gGA1DO,4BAAe,OA0DP;AAxDjB,2CAA8C;AA2D5C,0FA3DO,eAAS,OA2DP;AAzDX,2CAA2D;AA0DzD,4FA1DO,iBAAW,OA0DP;AACX,0FA3DoB,eAAS,OA2DpB;AAxDX,uDAA0D;AA0DxD,8FA1DO,uBAAa,OA0DP;AAxDf,8CAAiD;AA2D/C,2FA3DO,iBAAU,OA2DP;AAzDZ,iDAAoD;AA8ClD,4FA9CO,mBAAW,OA8CP;AA5Cb,8CAAiD;AAwD/C,2FAxDO,iBAAU,OAwDP;AAtDZ,2CAA8C;AAuD5C,0FAvDO,eAAS,OAuDP;AArDX,8CAAiD;AAuD/C,2FAvDO,iBAAU,OAuDP;AArDZ,mEAA8E;AAuD5E,uGAvDO,iCAAsB,OAuDP;AArDxB,6DAAwE;AAkDtE,qGAlDO,6BAAoB,OAkDP;AAhDtB,gEAAqF;AAoDnF,kGApDO,8BAAiB,OAoDP;AACjB,gGArD0B,4BAAe,OAqD1B;AAnDjB,oDAAuE;AAoDrE,+FApDO,uBAAc,OAoDP;AACd,6FArDuB,qBAAY,OAqDvB;AAnDd,0DAA6D;AAuC3D,+FAvCO,yBAAc,OAuCP;AArChB,4EAA8E;AA4C5E,oGA5CO,oCAAmB,OA4CP;AA1CrB,oDAAuD;AAiCrD,6FAjCO,qBAAY,OAiCP;AA/Bd,uDAA0D;AA8CxD,8FA9CO,uBAAa,OA8CP;AA3Cf,2CAAkE;AA4ChE,mGA5CO,0BAAkB,OA4CP;AAClB,4FA7C2B,mBAAW,OA6C3B;AA5Cb,uDAA0D;AA6CxD,8FA7CO,uBAAa,OA6CP;AA3Cf,4DAAwD;AA4CtD,2FA5CO,wBAAU,OA4CP;AA1CZ,mDAAsD;AA2CpD,gGA3CO,2BAAe,OA2CP;AA1CjB,iDAAoD;AA2ClD,4FA3CO,mBAAW,OA2CP;AAxCb,iEAAmE;AAyCjE,mGAzCO,kCAAkB,OAyCP;AAvCpB,yDAA2D;AAoBzD,+FApBO,0BAAc,OAoBP","file":"series.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all mark modules\n */\nimport { WaterfallSeries } from '../series/waterfall/waterfall';\nimport type { IWaterfallSeriesSpec } from '../series/waterfall/interface';\nimport { BoxPlotSeries } from '../series/box-plot/box-plot';\nimport type { IBoxPlotSeriesSpec } from '../series/box-plot/interface';\nimport { LineSeries } from '../series/line/line';\nimport type { ILineSeriesSpec } from '../series/line/interface';\nimport { Bar3dSeries, BarSeries } from '../series/bar/bar';\nimport type { IBar3dSeriesSpec, IBarSeriesSpec } from '../series/bar/interface';\nimport { RangeColumn3dSeries, RangeColumnSeries } from '../series/range-column/rangeColumn';\nimport type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from '../series/range-column/interface';\nimport { RangeAreaSeries } from '../series/range-area/range-area';\nimport type { IRangeAreaSeriesSpec } from '../series/range-area/interface';\nimport { MapSeries } from '../series/map/map';\nimport type { IMapSeriesSpec } from '../series/map/interface';\nimport { Pie3dSeries, PieSeries } from '../series/pie/pie';\nimport type { IPie3dSeriesSpec } from '../series/pie/interface';\nimport type { IPieSeriesSpec } from '../series/pie/interface';\nimport { ScatterSeries } from '../series/scatter/scatter';\nimport type { IScatterSeriesSpec } from '../series/scatter/interface';\nimport { RoseSeries } from '../series/rose/rose';\nimport type { IRoseSeriesSpec } from '../series/rose/interface';\nimport { RadarSeries } from '../series/radar/radar';\nimport type { IRadarSeriesSpec } from '../series/radar/interface';\nimport { AreaSeries } from '../series/area/area';\nimport type { IAreaSeriesSpec } from '../series/area/interface';\nimport { DotSeries } from '../series/dot/dot';\nimport type { IDotSeriesSpec } from '../series/dot/interface';\nimport { LinkSeries } from '../series/link/link';\nimport type { ILinkSeriesSpec } from '../series/link/interface';\nimport { CircularProgressSeries } from '../series/progress/circular/circular';\nimport type { ICircularProgressSeriesSpec } from '../series/progress/circular/interface';\nimport { LinearProgressSeries } from '../series/progress/linear/linear';\nimport type { ILinearProgressSeriesSpec } from '../series/progress/linear/interface';\nimport { WordCloud3dSeries, WordCloudSeries } from '../series/word-cloud/word-cloud';\nimport type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from '../series/word-cloud/interface';\nimport { Funnel3dSeries, FunnelSeries } from '../series/funnel/funnel';\nimport type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from '../series/funnel/interface';\nimport { SunburstSeries } from '../series/sunburst/sunburst';\nimport type { ISunburstSeriesSpec } from '../series/sunburst/interface';\nimport { CirclePackingSeries } from '../series/circle-packing/circle-packing';\nimport type { ICirclePackingSeriesSpec } from '../series/circle-packing/interface';\nimport { SankeySeries } from '../series/sankey/sankey';\nimport type { ISankeySeriesSpec } from '../series/sankey/interface';\nimport { TreeMapSeries } from '../series/treemap/treemap';\nimport type { ITreemapSeriesSpec } from '../series/treemap/interface';\nimport type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from '../series/gauge';\nimport { GaugePointerSeries, GaugeSeries } from '../series/gauge';\nimport { HeatmapSeries } from '../series/heatmap/heatmap';\nimport type { IHeatmapSeriesSpec } from '../series/heatmap/interface';\nimport { BaseSeries } from '../series/base/base-series';\nimport type { ICartesianSeriesSpec } from '../series/cartesian';\nimport { CartesianSeries } from '../series/cartesian';\nimport { PolarSeries } from '../series/polar/polar';\nimport type { IPolarSeriesSpec } from '../series/polar/interface';\nimport type { IProgressLikeSeriesSpec } from '../series/polar/progress-like';\nimport { ProgressLikeSeries } from '../series/polar/progress-like';\nimport type { IRoseLikeSeriesSpec } from '../series/polar/rose-like';\nimport { RoseLikeSeries } from '../series/polar/rose-like';\n\nimport type { ISeries } from '../series/interface';\n\nexport {\n WaterfallSeries,\n Bar3dSeries,\n BarSeries,\n BoxPlotSeries,\n LineSeries,\n RadarSeries,\n RangeAreaSeries,\n RangeColumn3dSeries,\n RangeColumnSeries,\n MapSeries,\n Pie3dSeries,\n PieSeries,\n SankeySeries,\n ScatterSeries,\n SunburstSeries,\n RoseLikeSeries,\n RoseSeries,\n AreaSeries,\n DotSeries,\n LinearProgressSeries,\n LinkSeries,\n CirclePackingSeries,\n CircularProgressSeries,\n WordCloud3dSeries,\n WordCloudSeries,\n Funnel3dSeries,\n FunnelSeries,\n TreeMapSeries,\n GaugePointerSeries,\n GaugeSeries,\n HeatmapSeries,\n BaseSeries,\n CartesianSeries,\n PolarSeries,\n ProgressLikeSeries\n};\n\nexport type {\n ISeries,\n IRoseLikeSeriesSpec,\n IAreaSeriesSpec,\n IBar3dSeriesSpec,\n IBarSeriesSpec,\n IBoxPlotSeriesSpec,\n ICartesianSeriesSpec,\n ICirclePackingSeriesSpec,\n ICircularProgressSeriesSpec,\n IDotSeriesSpec,\n IFunnel3dSeriesSpec,\n IFunnelSeriesSpec,\n IGaugePointerSeriesSpec,\n IGaugeSeriesSpec,\n IHeatmapSeriesSpec,\n ILineSeriesSpec,\n ILinearProgressSeriesSpec,\n ILinkSeriesSpec,\n IMapSeriesSpec,\n IPie3dSeriesSpec,\n IPieSeriesSpec,\n IPolarSeriesSpec,\n IProgressLikeSeriesSpec,\n IRadarSeriesSpec,\n IRangeAreaSeriesSpec,\n IRangeColumn3dSeriesSpec,\n IRangeColumnSeriesSpec,\n IRoseSeriesSpec,\n ISankeySeriesSpec,\n IScatterSeriesSpec,\n ISunburstSeriesSpec,\n ITreemapSeriesSpec,\n IWaterfallSeriesSpec,\n IWordCloud3dSeriesSpec,\n IWordCloudSeriesSpec\n};\n"]}
|
package/cjs/mark/linkPath.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/mark/linkPath.ts"],"names":[],"mappings":";;;AAAA,gDAA4C;AAI5C,2CAA2C;AAC3C,iDAA2D;AAM3D,MAAa,YAAa,SAAQ,oBAA2B;IAA7D;;QAEW,SAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IAgCpC,CAAC;IA9BW,gBAAgB;QACxB,MAAM,YAAY,mCACb,KAAK,CAAC,gBAAgB,EAAE,KAC3B,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,GAAG,EACP,EAAE,EAAE,GAAG,EACP,SAAS,EAAE,CAAC,EACZ,KAAK,EAAE,IAAI,GACZ,CAAC;QACF,OAAO,YAAY,CAAC;IACtB,CAAC;IAES,YAAY,CAAC,KAA2B;QAChD,IAAA,gCAAqB,GAAE,CAAC;QAExB,MAAM,IAAI,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAGpC,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,IAAI;aACjB,KAAK,CAAC,SAAS,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAI,CAAC,QAAQ,CAAC;aACxC,EAAE,CAAC,EAAE,CAAC;aACN,cAAc,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;IAC/B,CAAC;;AAjCH,oCAkCC;AAjCiB,iBAAI,GAAG,wBAAY,CAAC,QAAQ,CAAC","file":"linkPath.js","sourcesContent":["import { BaseMark } from './base/base-mark';\nimport type { ILinkPathMarkSpec } from '../typings/visual';\nimport type { IMarkRaw, IMarkStyle } from './interface';\n// eslint-disable-next-line no-duplicate-imports\nimport { MarkTypeEnum } from './interface';\nimport { registerLinkPathGlyph } from '@visactor/vgrammar';\n// eslint-disable-next-line no-duplicate-imports\nimport type { IGroupMark } from '@visactor/vgrammar';\n\nexport type ILinkPathMark = IMarkRaw<ILinkPathMarkSpec>;\n\nexport class LinkPathMark extends BaseMark<ILinkPathMarkSpec> implements ILinkPathMark {\n static readonly type = MarkTypeEnum.linkPath;\n readonly type = LinkPathMark.type;\n\n protected _getDefaultStyle() {\n const defaultStyle: IMarkStyle<ILinkPathMarkSpec> = {\n ...super._getDefaultStyle(),\n x: 0,\n y: 0,\n x0: 0,\n y0: 0,\n x1: 100,\n y1: 100,\n thickness: 1,\n round: true\n };\n return defaultStyle;\n }\n\n protected _initProduct(group?: string | IGroupMark) {\n registerLinkPathGlyph();\n\n const view = this.getVGrammarView();\n\n // 声明语法元素\n const id = this.getProductId();\n const glyphType = 'linkPath';\n const direction = this.getStyle('direction');\n this._product = view\n .glyph(glyphType, group ?? view.rootMark)\n .id(id)\n .configureGlyph({ direction: direction });\n this._compiledProductId = id;\n }\n}\n"]}
|
package/cjs/mark/polygon.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec } from '../typings/visual';
|
|
2
|
-
import { BaseMark } from './base/base-mark';
|
|
3
|
-
import type { IMarkRaw, IMarkStyle } from './interface';
|
|
4
|
-
import { MarkTypeEnum } from './interface';
|
|
5
|
-
export type IPolygonMark = IMarkRaw<IPolygonMarkSpec>;
|
|
6
|
-
export type IPyramid3dMark = IMarkRaw<IPyramid3dMarkSpec>;
|
|
7
|
-
declare class BasePolygonMark<T extends ICommonSpec> extends BaseMark<T> {
|
|
8
|
-
protected _getDefaultStyle(): IMarkStyle<T>;
|
|
9
|
-
}
|
|
10
|
-
export declare class PolygonMark extends BasePolygonMark<IPolygonMarkSpec> implements IPolygonMark {
|
|
11
|
-
static readonly type = MarkTypeEnum.polygon;
|
|
12
|
-
readonly type = MarkTypeEnum.polygon;
|
|
13
|
-
}
|
|
14
|
-
export declare class Pyramid3dMark extends BasePolygonMark<IPyramid3dMarkSpec> implements IPyramid3dMark {
|
|
15
|
-
static readonly type = MarkTypeEnum.pyramid3d;
|
|
16
|
-
readonly type = MarkTypeEnum.pyramid3d;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
package/cjs/mark/polygon.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: !0
|
|
5
|
-
}), exports.Pyramid3dMark = exports.PolygonMark = void 0;
|
|
6
|
-
|
|
7
|
-
const base_mark_1 = require("./base/base-mark"), interface_1 = require("./interface");
|
|
8
|
-
|
|
9
|
-
class BasePolygonMark extends base_mark_1.BaseMark {
|
|
10
|
-
_getDefaultStyle() {
|
|
11
|
-
return Object.assign(Object.assign({}, super._getDefaultStyle()), {
|
|
12
|
-
points: []
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
class PolygonMark extends BasePolygonMark {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments), this.type = PolygonMark.type;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PolygonMark = PolygonMark, PolygonMark.type = interface_1.MarkTypeEnum.polygon;
|
|
24
|
-
|
|
25
|
-
class Pyramid3dMark extends BasePolygonMark {
|
|
26
|
-
constructor() {
|
|
27
|
-
super(...arguments), this.type = Pyramid3dMark.type;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.Pyramid3dMark = Pyramid3dMark, Pyramid3dMark.type = interface_1.MarkTypeEnum.pyramid3d;
|
|
32
|
-
//# sourceMappingURL=polygon.js.map
|
package/cjs/mark/polygon.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/mark/polygon.ts"],"names":[],"mappings":";;;AACA,gDAA4C;AAG5C,2CAA2C;AAK3C,MAAM,eAAuC,SAAQ,oBAAW;IACpD,gBAAgB;QACxB,MAAM,YAAY,mCACb,KAAK,CAAC,gBAAgB,EAAE,KAC3B,MAAM,EAAE,EAAE,GACX,CAAC;QACF,OAAO,YAAY,CAAC;IACtB,CAAC;CACF;AAED,MAAa,WAAY,SAAQ,eAAiC;IAAlE;;QAEW,SAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IACnC,CAAC;;AAHD,kCAGC;AAFiB,gBAAI,GAAG,wBAAY,CAAC,OAAO,CAAC;AAI9C,MAAa,aAAc,SAAQ,eAAmC;IAAtE;;QAEW,SAAI,GAAG,aAAa,CAAC,IAAI,CAAC;IACrC,CAAC;;AAHD,sCAGC;AAFiB,kBAAI,GAAG,wBAAY,CAAC,SAAS,CAAC","file":"polygon.js","sourcesContent":["import type { ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec } from '../typings/visual';\nimport { BaseMark } from './base/base-mark';\nimport type { IMarkRaw, IMarkStyle } from './interface';\n// eslint-disable-next-line no-duplicate-imports\nimport { MarkTypeEnum } from './interface';\n\nexport type IPolygonMark = IMarkRaw<IPolygonMarkSpec>;\nexport type IPyramid3dMark = IMarkRaw<IPyramid3dMarkSpec>;\n\nclass BasePolygonMark<T extends ICommonSpec> extends BaseMark<T> {\n protected _getDefaultStyle() {\n const defaultStyle: IMarkStyle<T> = {\n ...super._getDefaultStyle(),\n points: []\n };\n return defaultStyle;\n }\n}\n\nexport class PolygonMark extends BasePolygonMark<IPolygonMarkSpec> implements IPolygonMark {\n static readonly type = MarkTypeEnum.polygon;\n readonly type = PolygonMark.type;\n}\n\nexport class Pyramid3dMark extends BasePolygonMark<IPyramid3dMarkSpec> implements IPyramid3dMark {\n static readonly type = MarkTypeEnum.pyramid3d;\n readonly type = Pyramid3dMark.type;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chart/range-column/rangeColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAApD;;QAGW,SAAI,GAAW,aAAa,CAAC,WAAW,CAAC;QACzC,eAAU,GAAW,cAAc,CAAC,WAAW,CAAC;IAc3D,CAAC;IAZW,qBAAqB,CAAC,IAAS;;QACvC,MAAM,MAAM,qBACP,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,CACrC,CAAC;QACF,MAAM,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,UAAU,EAAE;YAC3C,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;aAAM;YACL,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;AAhBe,qBAAI,GAAW,aAAa,CAAC,WAAW,CAAC;AACzC,qBAAI,GAAW,eAAe,CAAC;AAkBjD,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IAAtD;;QAGW,SAAI,GAAW,aAAa,CAAC,aAAa,CAAC;QAC3C,eAAU,GAAW,cAAc,CAAC,aAAa,CAAC;IAc7D,CAAC;IAZW,qBAAqB,CAAC,IAAS;;QACvC,MAAM,MAAM,qBACP,KAAK,CAAC,qBAAqB,CAAC,IAAI,CAAC,CACrC,CAAC;QACF,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC1B,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,UAAU,EAAE;YAC3C,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;aAAM;YACL,MAAM,CAAC,MAAM,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/D;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;AAhBe,uBAAI,GAAW,aAAa,CAAC,aAAa,CAAC;AAC3C,uBAAI,GAAW,eAAe,CAAC","file":"rangeColumn.js","sourcesContent":["import { CartesianChart } from '../cartesian/cartesian';\nimport { ChartTypeEnum } from '../interface';\nimport { SeriesTypeEnum } from '../../series/interface';\nimport { Direction } from '../../typings';\n\nexport class RangeColumnChart extends CartesianChart {\n static readonly type: string = ChartTypeEnum.rangeColumn;\n static readonly view: string = 'singleDefault';\n readonly type: string = ChartTypeEnum.rangeColumn;\n readonly seriesType: string = SeriesTypeEnum.rangeColumn;\n\n protected _getDefaultSeriesSpec(spec: any): any {\n const series: any = {\n ...super._getDefaultSeriesSpec(spec)\n };\n series.bar = spec.bar;\n if (spec.direction === Direction.horizontal) {\n series.xField = spec.xField ?? [spec.minField, spec.maxField];\n } else {\n series.yField = spec.yField ?? [spec.minField, spec.maxField];\n }\n return series;\n }\n}\n\nexport class RangeColumn3dChart extends CartesianChart {\n static readonly type: string = ChartTypeEnum.rangeColumn3d;\n static readonly view: string = 'singleDefault';\n readonly type: string = ChartTypeEnum.rangeColumn3d;\n readonly seriesType: string = SeriesTypeEnum.rangeColumn3d;\n\n protected _getDefaultSeriesSpec(spec: any): any {\n const series: any = {\n ...super._getDefaultSeriesSpec(spec)\n };\n series.bar3d = spec.bar3d;\n if (spec.direction === Direction.horizontal) {\n series.xField = spec.xField ?? [spec.minField, spec.maxField];\n } else {\n series.yField = spec.yField ?? [spec.minField, spec.maxField];\n }\n return series;\n }\n}\n"]}
|
package/esm/export/chart.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { IAreaChartSpec } from '../chart/area';
|
|
2
|
-
import { AreaChart } from '../chart/area';
|
|
3
|
-
import type { IBarChartSpec, IBar3dChartSpec } from '../chart/bar';
|
|
4
|
-
import { BarChart, Bar3dChart } from '../chart/bar';
|
|
5
|
-
import type { IBoxPlotChartSpec } from '../chart/box-plot';
|
|
6
|
-
import { BoxPlotChart } from '../chart/box-plot';
|
|
7
|
-
import type { ICirclePackingChartSpec } from '../chart/circle-packing';
|
|
8
|
-
import { CirclePackingChart } from '../chart/circle-packing';
|
|
9
|
-
import type { ICommonChartSpec } from '../chart/common';
|
|
10
|
-
import { CommonChart } from '../chart/common';
|
|
11
|
-
import type { IFunnelChartSpec, IFunnel3dChartSpec } from '../chart/funnel';
|
|
12
|
-
import { FunnelChart, Funnel3dChart } from '../chart/funnel';
|
|
13
|
-
import type { IGaugeChartSpec } from '../chart/gauge';
|
|
14
|
-
import { GaugeChart } from '../chart/gauge';
|
|
15
|
-
import type { IHeatmapChartSpec } from '../chart/heatmap';
|
|
16
|
-
import { HeatmapChart } from '../chart/heatmap';
|
|
17
|
-
import type { IHistogramChartSpec, IHistogram3dChartSpec } from '../chart/histogram';
|
|
18
|
-
import { HistogramChart, Histogram3dChart } from '../chart/histogram';
|
|
19
|
-
import type { ILineChartSpec } from '../chart/line';
|
|
20
|
-
import { LineChart } from '../chart/line';
|
|
21
|
-
import type { IMapChartSpec } from '../chart/map';
|
|
22
|
-
import { MapChart } from '../chart/map';
|
|
23
|
-
import type { IPieChartSpec, IPie3dChartSpec } from '../chart/pie';
|
|
24
|
-
import { PieChart, Pie3dChart } from '../chart/pie';
|
|
25
|
-
import type { ICircularProgressChartSpec } from '../chart/progress/circular';
|
|
26
|
-
import { CircularProgressChart } from '../chart/progress/circular';
|
|
27
|
-
import type { ILinearProgressChartSpec } from '../chart/progress/linear';
|
|
28
|
-
import { LinearProgressChart } from '../chart/progress/linear';
|
|
29
|
-
import type { IRadarChartSpec } from '../chart/radar';
|
|
30
|
-
import { RadarChart } from '../chart/radar';
|
|
31
|
-
import type { IRangeAreaChartSpec } from '../chart/range-area';
|
|
32
|
-
import { RangeAreaChart } from '../chart/range-area';
|
|
33
|
-
import type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../chart/range-column';
|
|
34
|
-
import { RangeColumnChart, RangeColumn3dChart } from '../chart/range-column';
|
|
35
|
-
import type { IRoseChartSpec } from '../chart/rose';
|
|
36
|
-
import { RoseChart } from '../chart/rose';
|
|
37
|
-
import type { ISankeyChartSpec } from '../chart/sankey';
|
|
38
|
-
import { SankeyChart } from '../chart/sankey';
|
|
39
|
-
import type { IScatterChartSpec } from '../chart/scatter';
|
|
40
|
-
import { ScatterChart } from '../chart/scatter';
|
|
41
|
-
import type { ISequenceChartSpec } from '../chart/sequence';
|
|
42
|
-
import { SequenceChart } from '../chart/sequence';
|
|
43
|
-
import type { ISunburstChartSpec } from '../chart/sunburst';
|
|
44
|
-
import { SunburstChart } from '../chart/sunburst';
|
|
45
|
-
import type { ITreemapChartSpec } from '../chart/treemap';
|
|
46
|
-
import { TreeMapChart } from '../chart/treemap';
|
|
47
|
-
import type { IWaterfallChartSpec } from '../chart/waterfall';
|
|
48
|
-
import { WaterfallChart } from '../chart/waterfall';
|
|
49
|
-
import type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../chart/word-cloud';
|
|
50
|
-
import { WordCloudChart, WordCloud3dChart } from '../chart/word-cloud';
|
|
51
|
-
import { BaseChart } from '../chart/base-chart';
|
|
52
|
-
import type { ICartesianChartSpec } from '../chart/cartesian';
|
|
53
|
-
import { CartesianChart } from '../chart/cartesian';
|
|
54
|
-
import type { IPolarChartSpec } from '../chart/polar';
|
|
55
|
-
import { PolarChart, RoseLikeChart, ProgressLikeChart } from '../chart/polar';
|
|
56
|
-
export { AreaChart, BarChart, Bar3dChart, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChart, Funnel3dChart, GaugeChart, HeatmapChart, HistogramChart, Histogram3dChart, LineChart, MapChart, PieChart, Pie3dChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeColumn3dChart, RangeAreaChart, RoseChart, SankeyChart, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, WordCloudChart, WordCloud3dChart, TreeMapChart, BaseChart, PolarChart, ProgressLikeChart, RoseLikeChart, CartesianChart };
|
|
57
|
-
export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec };
|