@visactor/vchart 1.2.0-beta.7 → 1.2.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/build/index.js +18 -9
- package/build/index.min.js +1 -1
- package/cjs/component/axis/polar/axis.js +4 -3
- package/cjs/component/axis/polar/axis.js.map +1 -1
- package/cjs/component/index.js +1 -2
- package/cjs/constant/hierarchy.js +2 -1
- package/cjs/core/factory.js +1 -2
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/data/initialize.js +2 -1
- package/cjs/interaction/interaction.js +2 -1
- package/cjs/layout/base-layout.js +1 -2
- package/cjs/mark/arc-3d.js +1 -1
- package/cjs/mark/arc.js +1 -1
- package/cjs/mark/area.js +1 -1
- package/cjs/mark/box-plot.js +1 -1
- package/cjs/mark/cell.js +1 -1
- package/cjs/plugin/interface.js +1 -1
- package/cjs/region/interface.js +1 -1
- package/cjs/region/region.js +1 -1
- package/cjs/scale/color-ordinal-scale.js +1 -1
- package/cjs/scale/global-scale.js +1 -1
- package/cjs/typings/spec/common.js.map +1 -1
- package/esm/component/axis/polar/axis.js +4 -2
- package/esm/component/axis/polar/axis.js.map +1 -1
- package/esm/component/index.js +1 -2
- package/esm/constant/hierarchy.js +2 -1
- package/esm/core/factory.js +1 -2
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/data/initialize.js +2 -1
- package/esm/interaction/interaction.js +2 -1
- package/esm/layout/base-layout.js +1 -2
- package/esm/mark/arc-3d.js +1 -1
- package/esm/mark/arc.js +1 -1
- package/esm/mark/area.js +1 -1
- package/esm/mark/box-plot.js +1 -1
- package/esm/mark/cell.js +1 -1
- package/esm/plugin/interface.js +1 -1
- package/esm/region/interface.js +1 -1
- package/esm/region/region.js +1 -1
- package/esm/scale/color-ordinal-scale.js +1 -1
- package/esm/scale/global-scale.js +1 -1
- package/esm/typings/spec/common.js.map +1 -1
- package/package.json +5 -7
- package/build/es5/animation/animate-manager.d.ts +0 -12
- package/build/es5/animation/config.d.ts +0 -25
- package/build/es5/animation/interface.d.ts +0 -29
- package/build/es5/animation/spec.d.ts +0 -24
- package/build/es5/animation/utils.d.ts +0 -19
- package/build/es5/chart/area/area.d.ts +0 -10
- package/build/es5/chart/area/index.d.ts +0 -2
- package/build/es5/chart/area/interface.d.ts +0 -7
- package/build/es5/chart/bar/bar-3d.d.ts +0 -8
- package/build/es5/chart/bar/bar.d.ts +0 -9
- package/build/es5/chart/bar/index.d.ts +0 -3
- package/build/es5/chart/bar/interface.d.ts +0 -11
- package/build/es5/chart/base-chart.d.ts +0 -146
- package/build/es5/chart/box-plot/box-plot.d.ts +0 -10
- package/build/es5/chart/box-plot/index.d.ts +0 -2
- package/build/es5/chart/box-plot/interface.d.ts +0 -7
- package/build/es5/chart/cartesian/cartesian.d.ts +0 -8
- package/build/es5/chart/cartesian/index.d.ts +0 -2
- package/build/es5/chart/cartesian/interface.d.ts +0 -15
- package/build/es5/chart/circle-packing/circle-packing.d.ts +0 -11
- package/build/es5/chart/circle-packing/index.d.ts +0 -2
- package/build/es5/chart/circle-packing/interface.d.ts +0 -6
- package/build/es5/chart/common/common.d.ts +0 -6
- package/build/es5/chart/common/index.d.ts +0 -2
- package/build/es5/chart/common/interface.d.ts +0 -40
- package/build/es5/chart/funnel/base.d.ts +0 -9
- package/build/es5/chart/funnel/funnel-3d.d.ts +0 -7
- package/build/es5/chart/funnel/funnel.d.ts +0 -7
- package/build/es5/chart/funnel/index.d.ts +0 -3
- package/build/es5/chart/funnel/interface.d.ts +0 -9
- package/build/es5/chart/gauge/gauge.d.ts +0 -11
- package/build/es5/chart/gauge/index.d.ts +0 -2
- package/build/es5/chart/gauge/interface.d.ts +0 -10
- package/build/es5/chart/heatmap/heatmap.d.ts +0 -8
- package/build/es5/chart/heatmap/index.d.ts +0 -2
- package/build/es5/chart/heatmap/interface.d.ts +0 -7
- package/build/es5/chart/histogram/base.d.ts +0 -5
- package/build/es5/chart/histogram/histogram-3d.d.ts +0 -7
- package/build/es5/chart/histogram/histogram.d.ts +0 -8
- package/build/es5/chart/histogram/index.d.ts +0 -3
- package/build/es5/chart/histogram/interface.d.ts +0 -9
- package/build/es5/chart/index.d.ts +0 -57
- package/build/es5/chart/interface/chart.d.ts +0 -81
- package/build/es5/chart/interface/common.d.ts +0 -32
- package/build/es5/chart/interface/index.d.ts +0 -3
- package/build/es5/chart/interface/type.d.ts +0 -34
- package/build/es5/chart/line/index.d.ts +0 -2
- package/build/es5/chart/line/interface.d.ts +0 -7
- package/build/es5/chart/line/line.d.ts +0 -10
- package/build/es5/chart/map/index.d.ts +0 -2
- package/build/es5/chart/map/interface.d.ts +0 -6
- package/build/es5/chart/map/map.d.ts +0 -12
- package/build/es5/chart/pie/base.d.ts +0 -5
- package/build/es5/chart/pie/index.d.ts +0 -3
- package/build/es5/chart/pie/interface.d.ts +0 -11
- package/build/es5/chart/pie/pie-3d.d.ts +0 -8
- package/build/es5/chart/pie/pie.d.ts +0 -7
- package/build/es5/chart/polar/index.d.ts +0 -4
- package/build/es5/chart/polar/interface.d.ts +0 -7
- package/build/es5/chart/polar/polar.d.ts +0 -9
- package/build/es5/chart/polar/progress-like.d.ts +0 -7
- package/build/es5/chart/polar/rose-like.d.ts +0 -6
- package/build/es5/chart/progress/circular/circular.d.ts +0 -9
- package/build/es5/chart/progress/circular/index.d.ts +0 -2
- package/build/es5/chart/progress/circular/interface.d.ts +0 -7
- package/build/es5/chart/progress/interface.d.ts +0 -8
- package/build/es5/chart/progress/linear/index.d.ts +0 -2
- package/build/es5/chart/progress/linear/interface.d.ts +0 -9
- package/build/es5/chart/progress/linear/linear.d.ts +0 -11
- package/build/es5/chart/radar/index.d.ts +0 -2
- package/build/es5/chart/radar/interface.d.ts +0 -7
- package/build/es5/chart/radar/radar.d.ts +0 -9
- package/build/es5/chart/range-area/index.d.ts +0 -2
- package/build/es5/chart/range-area/interface.d.ts +0 -7
- package/build/es5/chart/range-area/range-area.d.ts +0 -9
- package/build/es5/chart/range-column/index.d.ts +0 -3
- package/build/es5/chart/range-column/interface.d.ts +0 -11
- package/build/es5/chart/range-column/range-column-3d.d.ts +0 -8
- package/build/es5/chart/range-column/range-column.d.ts +0 -9
- package/build/es5/chart/rose/index.d.ts +0 -2
- package/build/es5/chart/rose/interface.d.ts +0 -7
- package/build/es5/chart/rose/rose.d.ts +0 -9
- package/build/es5/chart/sankey/index.d.ts +0 -2
- package/build/es5/chart/sankey/interface.d.ts +0 -6
- package/build/es5/chart/sankey/sankey.d.ts +0 -10
- package/build/es5/chart/scatter/index.d.ts +0 -2
- package/build/es5/chart/scatter/interface.d.ts +0 -7
- package/build/es5/chart/scatter/scatter.d.ts +0 -9
- package/build/es5/chart/sequence/index.d.ts +0 -2
- package/build/es5/chart/sequence/interface.d.ts +0 -24
- package/build/es5/chart/sequence/sequence.d.ts +0 -9
- package/build/es5/chart/stack.d.ts +0 -14
- package/build/es5/chart/sunburst/index.d.ts +0 -2
- package/build/es5/chart/sunburst/interface.d.ts +0 -6
- package/build/es5/chart/sunburst/sunburst.d.ts +0 -11
- package/build/es5/chart/treemap/index.d.ts +0 -2
- package/build/es5/chart/treemap/interface.d.ts +0 -6
- package/build/es5/chart/treemap/treemap.d.ts +0 -10
- package/build/es5/chart/util.d.ts +0 -2
- package/build/es5/chart/waterfall/index.d.ts +0 -2
- package/build/es5/chart/waterfall/interface.d.ts +0 -7
- package/build/es5/chart/waterfall/waterfall.d.ts +0 -10
- package/build/es5/chart/word-cloud/base.d.ts +0 -6
- package/build/es5/chart/word-cloud/index.d.ts +0 -3
- package/build/es5/chart/word-cloud/interface.d.ts +0 -10
- package/build/es5/chart/word-cloud/word-cloud-3d.d.ts +0 -9
- package/build/es5/chart/word-cloud/word-cloud.d.ts +0 -9
- package/build/es5/compile/compilable-base.d.ts +0 -11
- package/build/es5/compile/compiler.d.ts +0 -56
- package/build/es5/compile/data/compilable-data.d.ts +0 -23
- package/build/es5/compile/data/index.d.ts +0 -2
- package/build/es5/compile/data/interface.d.ts +0 -8
- package/build/es5/compile/grammar-item.d.ts +0 -24
- package/build/es5/compile/interface/compilable-item.d.ts +0 -35
- package/build/es5/compile/interface/compiler.d.ts +0 -49
- package/build/es5/compile/interface/index.d.ts +0 -2
- package/build/es5/compile/mark/compilable-mark.d.ts +0 -104
- package/build/es5/compile/mark/index.d.ts +0 -3
- package/build/es5/compile/mark/interface.d.ts +0 -149
- package/build/es5/compile/mark/mark-data.d.ts +0 -9
- package/build/es5/compile/mark/mark-state-manager.d.ts +0 -26
- package/build/es5/compile/mark/util.d.ts +0 -6
- package/build/es5/compile/signal/compilable-signal.d.ts +0 -21
- package/build/es5/compile/signal/index.d.ts +0 -4
- package/build/es5/compile/signal/interface.d.ts +0 -12
- package/build/es5/compile/signal/signal-manager.d.ts +0 -11
- package/build/es5/compile/signal/state-manager.d.ts +0 -12
- package/build/es5/compile/util.d.ts +0 -2
- package/build/es5/component/axis/base-axis.d.ts +0 -155
- package/build/es5/component/axis/cartesian/axis.d.ts +0 -96
- package/build/es5/component/axis/cartesian/band-axis.d.ts +0 -39
- package/build/es5/component/axis/cartesian/config.d.ts +0 -2
- package/build/es5/component/axis/cartesian/index.d.ts +0 -6
- package/build/es5/component/axis/cartesian/interface/common.d.ts +0 -50
- package/build/es5/component/axis/cartesian/interface/index.d.ts +0 -3
- package/build/es5/component/axis/cartesian/interface/spec.d.ts +0 -36
- package/build/es5/component/axis/cartesian/interface/theme.d.ts +0 -21
- package/build/es5/component/axis/cartesian/linear-axis.d.ts +0 -27
- package/build/es5/component/axis/cartesian/log-axis.d.ts +0 -15
- package/build/es5/component/axis/cartesian/time-axis.d.ts +0 -20
- package/build/es5/component/axis/cartesian/util/common.d.ts +0 -10
- package/build/es5/component/axis/cartesian/util/index.d.ts +0 -2
- package/build/es5/component/axis/cartesian/util/time.d.ts +0 -80
- package/build/es5/component/axis/index.d.ts +0 -3
- package/build/es5/component/axis/interface.d.ts +0 -126
- package/build/es5/component/axis/mixin/band-axis-mixin.d.ts +0 -37
- package/build/es5/component/axis/mixin/linear-axis-mixin.d.ts +0 -59
- package/build/es5/component/axis/polar/axis.d.ts +0 -80
- package/build/es5/component/axis/polar/band-axis.d.ts +0 -31
- package/build/es5/component/axis/polar/config.d.ts +0 -2
- package/build/es5/component/axis/polar/index.d.ts +0 -4
- package/build/es5/component/axis/polar/interface/common.d.ts +0 -31
- package/build/es5/component/axis/polar/interface/index.d.ts +0 -4
- package/build/es5/component/axis/polar/interface/spec.d.ts +0 -16
- package/build/es5/component/axis/polar/interface/theme.d.ts +0 -11
- package/build/es5/component/axis/polar/linear-axis.d.ts +0 -23
- package/build/es5/component/axis/utils.d.ts +0 -28
- package/build/es5/component/base/base-component.d.ts +0 -34
- package/build/es5/component/base/index.d.ts +0 -1
- package/build/es5/component/base/util.d.ts +0 -3
- package/build/es5/component/brush/brush.d.ts +0 -66
- package/build/es5/component/brush/index.d.ts +0 -2
- package/build/es5/component/brush/interface.d.ts +0 -47
- package/build/es5/component/common/trigger/config.d.ts +0 -52
- package/build/es5/component/common/trigger/desktop.d.ts +0 -9
- package/build/es5/component/common/trigger/interface.d.ts +0 -8
- package/build/es5/component/common/trigger/mobile.d.ts +0 -10
- package/build/es5/component/crosshair/base.d.ts +0 -77
- package/build/es5/component/crosshair/cartesian.d.ts +0 -65
- package/build/es5/component/crosshair/config.d.ts +0 -32
- package/build/es5/component/crosshair/index.d.ts +0 -3
- package/build/es5/component/crosshair/interface/index.d.ts +0 -2
- package/build/es5/component/crosshair/interface/spec.d.ts +0 -70
- package/build/es5/component/crosshair/interface/theme.d.ts +0 -7
- package/build/es5/component/crosshair/polar.d.ts +0 -76
- package/build/es5/component/crosshair/util.d.ts +0 -5
- package/build/es5/component/custom-mark/custom-mark.d.ts +0 -30
- package/build/es5/component/custom-mark/index.d.ts +0 -1
- package/build/es5/component/data-zoom/data-filter-base-component.d.ts +0 -89
- package/build/es5/component/data-zoom/data-zoom/data-zoom.d.ts +0 -62
- package/build/es5/component/data-zoom/data-zoom/index.d.ts +0 -2
- package/build/es5/component/data-zoom/data-zoom/interface.d.ts +0 -55
- package/build/es5/component/data-zoom/index.d.ts +0 -2
- package/build/es5/component/data-zoom/interface.d.ts +0 -25
- package/build/es5/component/data-zoom/scroll-bar/index.d.ts +0 -2
- package/build/es5/component/data-zoom/scroll-bar/interface.d.ts +0 -20
- package/build/es5/component/data-zoom/scroll-bar/scroll-bar.d.ts +0 -23
- package/build/es5/component/data-zoom/util.d.ts +0 -19
- package/build/es5/component/geo/geo-coordinate.d.ts +0 -53
- package/build/es5/component/geo/index.d.ts +0 -2
- package/build/es5/component/geo/interface.d.ts +0 -27
- package/build/es5/component/geo/projection.d.ts +0 -16
- package/build/es5/component/index.d.ts +0 -39
- package/build/es5/component/indicator/index.d.ts +0 -2
- package/build/es5/component/indicator/indicator.d.ts +0 -38
- package/build/es5/component/indicator/interface.d.ts +0 -31
- package/build/es5/component/indicator/util.d.ts +0 -13
- package/build/es5/component/interface/common.d.ts +0 -34
- package/build/es5/component/interface/index.d.ts +0 -4
- package/build/es5/component/interface/theme.d.ts +0 -40
- package/build/es5/component/interface/tooltip-helper.d.ts +0 -5
- package/build/es5/component/interface/type.d.ts +0 -33
- package/build/es5/component/label/bar.d.ts +0 -9
- package/build/es5/component/label/index.d.ts +0 -2
- package/build/es5/component/label/interface.d.ts +0 -21
- package/build/es5/component/label/label.d.ts +0 -62
- package/build/es5/component/label/symbol.d.ts +0 -9
- package/build/es5/component/label/util.d.ts +0 -9
- package/build/es5/component/legend/base-legend.d.ts +0 -59
- package/build/es5/component/legend/continuous/index.d.ts +0 -2
- package/build/es5/component/legend/continuous/interface.d.ts +0 -58
- package/build/es5/component/legend/continuous/legend.d.ts +0 -27
- package/build/es5/component/legend/continuous/util.d.ts +0 -8
- package/build/es5/component/legend/discrete/index.d.ts +0 -2
- package/build/es5/component/legend/discrete/interface.d.ts +0 -59
- package/build/es5/component/legend/discrete/legend.d.ts +0 -26
- package/build/es5/component/legend/discrete/util.d.ts +0 -3
- package/build/es5/component/legend/index.d.ts +0 -3
- package/build/es5/component/legend/interface.d.ts +0 -39
- package/build/es5/component/legend/util.d.ts +0 -26
- package/build/es5/component/map-label/component.d.ts +0 -52
- package/build/es5/component/map-label/index.d.ts +0 -2
- package/build/es5/component/map-label/interface.d.ts +0 -40
- package/build/es5/component/map-label/layout.d.ts +0 -23
- package/build/es5/component/marker/base-marker.d.ts +0 -46
- package/build/es5/component/marker/interface.d.ts +0 -59
- package/build/es5/component/marker/mark-area/index.d.ts +0 -2
- package/build/es5/component/marker/mark-area/interface/index.d.ts +0 -2
- package/build/es5/component/marker/mark-area/interface/spec.d.ts +0 -26
- package/build/es5/component/marker/mark-area/interface/theme.d.ts +0 -11
- package/build/es5/component/marker/mark-area/mark-area.d.ts +0 -20
- package/build/es5/component/marker/mark-line/index.d.ts +0 -2
- package/build/es5/component/marker/mark-line/interface/index.d.ts +0 -2
- package/build/es5/component/marker/mark-line/interface/spec.d.ts +0 -29
- package/build/es5/component/marker/mark-line/interface/theme.d.ts +0 -13
- package/build/es5/component/marker/mark-line/mark-line.d.ts +0 -20
- package/build/es5/component/marker/mark-point/index.d.ts +0 -2
- package/build/es5/component/marker/mark-point/interface/index.d.ts +0 -2
- package/build/es5/component/marker/mark-point/interface/spec.d.ts +0 -14
- package/build/es5/component/marker/mark-point/interface/theme.d.ts +0 -37
- package/build/es5/component/marker/mark-point/mark-point.d.ts +0 -20
- package/build/es5/component/marker/utils.d.ts +0 -6
- package/build/es5/component/player/index.d.ts +0 -2
- package/build/es5/component/player/interface/index.d.ts +0 -2
- package/build/es5/component/player/interface/spec.d.ts +0 -18
- package/build/es5/component/player/interface/theme.d.ts +0 -32
- package/build/es5/component/player/player.d.ts +0 -53
- package/build/es5/component/player/utils/index.d.ts +0 -1
- package/build/es5/component/player/utils/orient.d.ts +0 -3
- package/build/es5/component/player/utils/transform.d.ts +0 -4
- package/build/es5/component/title/index.d.ts +0 -2
- package/build/es5/component/title/interface/index.d.ts +0 -2
- package/build/es5/component/title/interface/spec.d.ts +0 -45
- package/build/es5/component/title/interface/theme.d.ts +0 -19
- package/build/es5/component/title/title.d.ts +0 -47
- package/build/es5/component/title/utils.d.ts +0 -2
- package/build/es5/component/tooltip/handler/base.d.ts +0 -52
- package/build/es5/component/tooltip/handler/canvas/canvas-tooltip-handler.d.ts +0 -19
- package/build/es5/component/tooltip/handler/canvas/index.d.ts +0 -1
- package/build/es5/component/tooltip/handler/constants.d.ts +0 -17
- package/build/es5/component/tooltip/handler/dom/dom-tooltip-handler.d.ts +0 -25
- package/build/es5/component/tooltip/handler/dom/index.d.ts +0 -1
- package/build/es5/component/tooltip/handler/dom/interface.d.ts +0 -61
- package/build/es5/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +0 -25
- package/build/es5/component/tooltip/handler/dom/model/content-column-model.d.ts +0 -25
- package/build/es5/component/tooltip/handler/dom/model/content-model.d.ts +0 -15
- package/build/es5/component/tooltip/handler/dom/model/interface.d.ts +0 -9
- package/build/es5/component/tooltip/handler/dom/model/shape-model.d.ts +0 -20
- package/build/es5/component/tooltip/handler/dom/model/style-constants.d.ts +0 -8
- package/build/es5/component/tooltip/handler/dom/model/text-model.d.ts +0 -5
- package/build/es5/component/tooltip/handler/dom/model/title-model.d.ts +0 -15
- package/build/es5/component/tooltip/handler/dom/model/tooltip-model.d.ts +0 -21
- package/build/es5/component/tooltip/handler/dom/util.d.ts +0 -6
- package/build/es5/component/tooltip/handler/index.d.ts +0 -2
- package/build/es5/component/tooltip/handler/interface/index.d.ts +0 -1
- package/build/es5/component/tooltip/handler/interface/style.d.ts +0 -27
- package/build/es5/component/tooltip/handler/utils/attribute.d.ts +0 -11
- package/build/es5/component/tooltip/handler/utils/common.d.ts +0 -10
- package/build/es5/component/tooltip/handler/utils/compose.d.ts +0 -5
- package/build/es5/component/tooltip/handler/utils/get-spec.d.ts +0 -5
- package/build/es5/component/tooltip/handler/utils/index.d.ts +0 -7
- package/build/es5/component/tooltip/handler/utils/pattern.d.ts +0 -4
- package/build/es5/component/tooltip/handler/utils/position.d.ts +0 -1
- package/build/es5/component/tooltip/handler/utils/style.d.ts +0 -4
- package/build/es5/component/tooltip/index.d.ts +0 -2
- package/build/es5/component/tooltip/interface/common.d.ts +0 -24
- package/build/es5/component/tooltip/interface/event.d.ts +0 -8
- package/build/es5/component/tooltip/interface/index.d.ts +0 -3
- package/build/es5/component/tooltip/interface/spec.d.ts +0 -28
- package/build/es5/component/tooltip/interface/theme.d.ts +0 -45
- package/build/es5/component/tooltip/processor/base.d.ts +0 -18
- package/build/es5/component/tooltip/processor/dimension-tooltip.d.ts +0 -10
- package/build/es5/component/tooltip/processor/index.d.ts +0 -5
- package/build/es5/component/tooltip/processor/interface.d.ts +0 -16
- package/build/es5/component/tooltip/processor/mark-tooltip.d.ts +0 -10
- package/build/es5/component/tooltip/processor/util.d.ts +0 -4
- package/build/es5/component/tooltip/tooltip.d.ts +0 -57
- package/build/es5/component/tooltip/utils/common.d.ts +0 -5
- package/build/es5/component/tooltip/utils/index.d.ts +0 -2
- package/build/es5/component/tooltip/utils/show-tooltip.d.ts +0 -3
- package/build/es5/constant/base.d.ts +0 -3
- package/build/es5/constant/box-plot.d.ts +0 -10
- package/build/es5/constant/event.d.ts +0 -53
- package/build/es5/constant/funnel.d.ts +0 -14
- package/build/es5/constant/hierarchy.d.ts +0 -3
- package/build/es5/constant/index.d.ts +0 -106
- package/build/es5/constant/label.d.ts +0 -6
- package/build/es5/constant/layout.d.ts +0 -2
- package/build/es5/constant/marker.d.ts +0 -4
- package/build/es5/constant/polar.d.ts +0 -22
- package/build/es5/constant/scatter.d.ts +0 -7
- package/build/es5/constant/scroll-bar.d.ts +0 -1
- package/build/es5/constant/sunburst.d.ts +0 -1
- package/build/es5/constant/waterfall.d.ts +0 -1
- package/build/es5/constant/word-cloud.d.ts +0 -7
- package/build/es5/core/factory.d.ts +0 -39
- package/build/es5/core/index.d.ts +0 -9
- package/build/es5/core/instance-manager.d.ts +0 -10
- package/build/es5/core/interface.d.ts +0 -74
- package/build/es5/core/vchart.d.ts +0 -125
- package/build/es5/data/initialize.d.ts +0 -10
- package/build/es5/data/parser/array.d.ts +0 -2
- package/build/es5/data/parser/scale.d.ts +0 -2
- package/build/es5/data/register.d.ts +0 -3
- package/build/es5/data/transforms/add-property.d.ts +0 -8
- package/build/es5/data/transforms/aggregation.d.ts +0 -28
- package/build/es5/data/transforms/box-plot.d.ts +0 -5
- package/build/es5/data/transforms/circle-packing.d.ts +0 -7
- package/build/es5/data/transforms/copy-data-view.d.ts +0 -5
- package/build/es5/data/transforms/data-key.d.ts +0 -10
- package/build/es5/data/transforms/dimension-data.d.ts +0 -10
- package/build/es5/data/transforms/dimension-statistics.d.ts +0 -41
- package/build/es5/data/transforms/drill.d.ts +0 -14
- package/build/es5/data/transforms/flatten.d.ts +0 -9
- package/build/es5/data/transforms/funnel.d.ts +0 -51
- package/build/es5/data/transforms/hierarchy-dimension-statistics.d.ts +0 -3
- package/build/es5/data/transforms/invalid-travel.d.ts +0 -8
- package/build/es5/data/transforms/legend-data/continuous/continuous.d.ts +0 -4
- package/build/es5/data/transforms/legend-data/continuous/index.d.ts +0 -2
- package/build/es5/data/transforms/legend-data/continuous/interface.d.ts +0 -13
- package/build/es5/data/transforms/legend-data/discrete/discrete.d.ts +0 -4
- package/build/es5/data/transforms/legend-data/discrete/index.d.ts +0 -2
- package/build/es5/data/transforms/legend-data/discrete/interface.d.ts +0 -15
- package/build/es5/data/transforms/lookup.d.ts +0 -12
- package/build/es5/data/transforms/map.d.ts +0 -7
- package/build/es5/data/transforms/obj-flat.d.ts +0 -2
- package/build/es5/data/transforms/pie.d.ts +0 -16
- package/build/es5/data/transforms/regression.d.ts +0 -6
- package/build/es5/data/transforms/sankey-links.d.ts +0 -2
- package/build/es5/data/transforms/sankey-nodes.d.ts +0 -2
- package/build/es5/data/transforms/sankey.d.ts +0 -21
- package/build/es5/data/transforms/stack-split.d.ts +0 -6
- package/build/es5/data/transforms/sunburst.d.ts +0 -7
- package/build/es5/data/transforms/tick-data/config.d.ts +0 -1
- package/build/es5/data/transforms/tick-data/continuous.d.ts +0 -3
- package/build/es5/data/transforms/tick-data/discrete/linear.d.ts +0 -3
- package/build/es5/data/transforms/tick-data/discrete/polar-angle.d.ts +0 -3
- package/build/es5/data/transforms/tick-data/index.d.ts +0 -4
- package/build/es5/data/transforms/tick-data/interface.d.ts +0 -28
- package/build/es5/data/transforms/tick-data/util.d.ts +0 -15
- package/build/es5/data/transforms/treemap.d.ts +0 -11
- package/build/es5/data/transforms/waterfall.d.ts +0 -25
- package/build/es5/event/bubble.d.ts +0 -15
- package/build/es5/event/event-dispatcher.d.ts +0 -25
- package/build/es5/event/event.d.ts +0 -18
- package/build/es5/event/events/dimension/base.d.ts +0 -19
- package/build/es5/event/events/dimension/dimension-click.d.ts +0 -9
- package/build/es5/event/events/dimension/dimension-hover.d.ts +0 -10
- package/build/es5/event/events/dimension/index.d.ts +0 -3
- package/build/es5/event/events/dimension/interface.d.ts +0 -22
- package/build/es5/event/events/dimension/util/cartesian.d.ts +0 -8
- package/build/es5/event/events/dimension/util/common.d.ts +0 -8
- package/build/es5/event/events/dimension/util/index.d.ts +0 -3
- package/build/es5/event/events/dimension/util/polar.d.ts +0 -4
- package/build/es5/event/events/index.d.ts +0 -5
- package/build/es5/event/interface.d.ts +0 -153
- package/build/es5/index.d.ts +0 -10
- package/build/es5/index.js +0 -17
- package/build/es5/interaction/config.d.ts +0 -57
- package/build/es5/interaction/dimension-trigger.d.ts +0 -32
- package/build/es5/interaction/drill/drillable.d.ts +0 -28
- package/build/es5/interaction/drill/index.d.ts +0 -1
- package/build/es5/interaction/interaction.d.ts +0 -20
- package/build/es5/interaction/interface.d.ts +0 -49
- package/build/es5/interaction/trigger.d.ts +0 -38
- package/build/es5/interaction/zoom/index.d.ts +0 -1
- package/build/es5/interaction/zoom/zoomable.d.ts +0 -72
- package/build/es5/layout/base-layout.d.ts +0 -28
- package/build/es5/layout/grid-layout/grid-layout.d.ts +0 -50
- package/build/es5/layout/index.d.ts +0 -6
- package/build/es5/layout/interface.d.ts +0 -45
- package/build/es5/layout/label/arc-label.d.ts +0 -42
- package/build/es5/layout/layout3d/index.d.ts +0 -23
- package/build/es5/mark/arc-3d.d.ts +0 -9
- package/build/es5/mark/arc.d.ts +0 -20
- package/build/es5/mark/area.d.ts +0 -11
- package/build/es5/mark/base/base-line.d.ts +0 -8
- package/build/es5/mark/base/base-mark.d.ts +0 -38
- package/build/es5/mark/base/index.d.ts +0 -2
- package/build/es5/mark/box-plot.d.ts +0 -12
- package/build/es5/mark/cell.d.ts +0 -10
- package/build/es5/mark/component.d.ts +0 -14
- package/build/es5/mark/group.d.ts +0 -31
- package/build/es5/mark/image.d.ts +0 -10
- package/build/es5/mark/index.d.ts +0 -21
- package/build/es5/mark/interface/common.d.ts +0 -67
- package/build/es5/mark/interface/index.d.ts +0 -2
- package/build/es5/mark/interface/type.d.ts +0 -22
- package/build/es5/mark/line.d.ts +0 -11
- package/build/es5/mark/link-path.d.ts +0 -12
- package/build/es5/mark/mark-set/index.d.ts +0 -21
- package/build/es5/mark/path.d.ts +0 -10
- package/build/es5/mark/polygon/base-polygon.d.ts +0 -6
- package/build/es5/mark/polygon/polygon.d.ts +0 -10
- package/build/es5/mark/polygon/pyramid-3d.d.ts +0 -9
- package/build/es5/mark/progress-arc.d.ts +0 -13
- package/build/es5/mark/rect-3d.d.ts +0 -10
- package/build/es5/mark/rect.d.ts +0 -10
- package/build/es5/mark/rule.d.ts +0 -10
- package/build/es5/mark/symbol.d.ts +0 -12
- package/build/es5/mark/text.d.ts +0 -10
- package/build/es5/mark/utils/common.d.ts +0 -3
- package/build/es5/mark/utils/index.d.ts +0 -1
- package/build/es5/model/base-model.d.ts +0 -85
- package/build/es5/model/interface.d.ts +0 -176
- package/build/es5/model/layout-item.d.ts +0 -54
- package/build/es5/model/model-state-manager.d.ts +0 -9
- package/build/es5/model/tooltip-helper.d.ts +0 -27
- package/build/es5/plugin/chart/interface.d.ts +0 -6
- package/build/es5/plugin/components/axis-label-overlap-plugin.d.ts +0 -10
- package/build/es5/plugin/components/axis-sync-plugin/axis-sync.d.ts +0 -11
- package/build/es5/plugin/components/axis-sync-plugin/index.d.ts +0 -1
- package/build/es5/plugin/components/axis-sync-plugin/tick-align-transform.d.ts +0 -7
- package/build/es5/plugin/components/axis-sync-plugin/zero-align-transform.d.ts +0 -15
- package/build/es5/plugin/components/basic-plugin.d.ts +0 -9
- package/build/es5/plugin/components/index.d.ts +0 -7
- package/build/es5/plugin/components/interface.d.ts +0 -33
- package/build/es5/plugin/components/plugin-service.d.ts +0 -15
- package/build/es5/plugin/interface.d.ts +0 -4
- package/build/es5/plugin/series/interface.d.ts +0 -9
- package/build/es5/region/interface.d.ts +0 -53
- package/build/es5/region/region.d.ts +0 -70
- package/build/es5/scale/color-ordinal-scale.d.ts +0 -8
- package/build/es5/scale/global-scale.d.ts +0 -37
- package/build/es5/scale/interface.d.ts +0 -19
- package/build/es5/series/area/animation.d.ts +0 -7
- package/build/es5/series/area/area.d.ts +0 -21
- package/build/es5/series/area/interface.d.ts +0 -18
- package/build/es5/series/bar/animation.d.ts +0 -12
- package/build/es5/series/bar/bar-3d.d.ts +0 -11
- package/build/es5/series/bar/bar.d.ts +0 -40
- package/build/es5/series/bar/interface.d.ts +0 -34
- package/build/es5/series/base/base-series.d.ts +0 -177
- package/build/es5/series/base/group.d.ts +0 -11
- package/build/es5/series/base/series-data.d.ts +0 -5
- package/build/es5/series/base/tooltip-helper.d.ts +0 -30
- package/build/es5/series/box-plot/box-plot.d.ts +0 -61
- package/build/es5/series/box-plot/interface.d.ts +0 -23
- package/build/es5/series/box-plot/tooltip-helper.d.ts +0 -12
- package/build/es5/series/cartesian/cartesian.d.ts +0 -90
- package/build/es5/series/cartesian/index.d.ts +0 -2
- package/build/es5/series/cartesian/interface.d.ts +0 -14
- package/build/es5/series/circle-packing/animation.d.ts +0 -7
- package/build/es5/series/circle-packing/circle-packing.d.ts +0 -43
- package/build/es5/series/circle-packing/interface.d.ts +0 -21
- package/build/es5/series/circle-packing/tooltip-helper.d.ts +0 -5
- package/build/es5/series/dot/config.d.ts +0 -4
- package/build/es5/series/dot/dot.d.ts +0 -68
- package/build/es5/series/dot/interface.d.ts +0 -40
- package/build/es5/series/dot/tooltip-helper.d.ts +0 -7
- package/build/es5/series/funnel/funnel-3d.d.ts +0 -18
- package/build/es5/series/funnel/funnel.d.ts +0 -100
- package/build/es5/series/funnel/interface.d.ts +0 -61
- package/build/es5/series/funnel/tooltip-helper.d.ts +0 -9
- package/build/es5/series/gauge/gauge-pointer.d.ts +0 -32
- package/build/es5/series/gauge/gauge.d.ts +0 -25
- package/build/es5/series/gauge/index.d.ts +0 -3
- package/build/es5/series/gauge/interface.d.ts +0 -44
- package/build/es5/series/geo/geo.d.ts +0 -52
- package/build/es5/series/geo/interface.d.ts +0 -4
- package/build/es5/series/heatmap/animation.d.ts +0 -3
- package/build/es5/series/heatmap/heatmap.d.ts +0 -43
- package/build/es5/series/heatmap/interface.d.ts +0 -23
- package/build/es5/series/heatmap/tooltip-helper.d.ts +0 -6
- package/build/es5/series/index.d.ts +0 -66
- package/build/es5/series/interface/common.d.ts +0 -120
- package/build/es5/series/interface/index.d.ts +0 -5
- package/build/es5/series/interface/series.d.ts +0 -168
- package/build/es5/series/interface/theme.d.ts +0 -55
- package/build/es5/series/interface/tooltip-helper.d.ts +0 -13
- package/build/es5/series/interface/type.d.ts +0 -34
- package/build/es5/series/line/animation.d.ts +0 -7
- package/build/es5/series/line/interface.d.ts +0 -25
- package/build/es5/series/line/line.d.ts +0 -19
- package/build/es5/series/link/interface.d.ts +0 -25
- package/build/es5/series/link/link.d.ts +0 -50
- package/build/es5/series/link/tooltip-helper.d.ts +0 -6
- package/build/es5/series/map/geo-source.d.ts +0 -20
- package/build/es5/series/map/interface.d.ts +0 -29
- package/build/es5/series/map/map.d.ts +0 -52
- package/build/es5/series/map/tooltip-helper.d.ts +0 -5
- package/build/es5/series/mixin/line-mixin.d.ts +0 -35
- package/build/es5/series/pie/animation/animation.d.ts +0 -23
- package/build/es5/series/pie/animation/centerOffset.d.ts +0 -6
- package/build/es5/series/pie/interface.d.ts +0 -64
- package/build/es5/series/pie/pie-3d.d.ts +0 -16
- package/build/es5/series/pie/pie.d.ts +0 -79
- package/build/es5/series/polar/animation.d.ts +0 -41
- package/build/es5/series/polar/interface.d.ts +0 -21
- package/build/es5/series/polar/polar.d.ts +0 -62
- package/build/es5/series/polar/progress-like/animation.d.ts +0 -6
- package/build/es5/series/polar/progress-like/index.d.ts +0 -3
- package/build/es5/series/polar/progress-like/interface.d.ts +0 -9
- package/build/es5/series/polar/progress-like/progress-like.d.ts +0 -22
- package/build/es5/series/polar/rose-like/index.d.ts +0 -2
- package/build/es5/series/polar/rose-like/interface.d.ts +0 -8
- package/build/es5/series/polar/rose-like/rose-like.d.ts +0 -14
- package/build/es5/series/progress/circular/circular.d.ts +0 -22
- package/build/es5/series/progress/circular/index.d.ts +0 -1
- package/build/es5/series/progress/circular/interface.d.ts +0 -20
- package/build/es5/series/progress/interface.d.ts +0 -7
- package/build/es5/series/progress/linear/animation.d.ts +0 -9
- package/build/es5/series/progress/linear/index.d.ts +0 -1
- package/build/es5/series/progress/linear/interface.d.ts +0 -26
- package/build/es5/series/progress/linear/linear.d.ts +0 -24
- package/build/es5/series/progress/linear/tooltip-helper.d.ts +0 -7
- package/build/es5/series/radar/animation.d.ts +0 -72
- package/build/es5/series/radar/interface.d.ts +0 -20
- package/build/es5/series/radar/radar.d.ts +0 -22
- package/build/es5/series/range-area/interface.d.ts +0 -6
- package/build/es5/series/range-area/range-area.d.ts +0 -11
- package/build/es5/series/range-area/tooltip-helper.d.ts +0 -7
- package/build/es5/series/range-column/animation.d.ts +0 -9
- package/build/es5/series/range-column/interface.d.ts +0 -56
- package/build/es5/series/range-column/range-column-3d.d.ts +0 -10
- package/build/es5/series/range-column/range-column.d.ts +0 -24
- package/build/es5/series/range-column/tooltip-helper.d.ts +0 -6
- package/build/es5/series/rose/animation.d.ts +0 -12
- package/build/es5/series/rose/interface.d.ts +0 -16
- package/build/es5/series/rose/rose.d.ts +0 -24
- package/build/es5/series/sankey/animation.d.ts +0 -12
- package/build/es5/series/sankey/interface.d.ts +0 -106
- package/build/es5/series/sankey/sankey.d.ts +0 -52
- package/build/es5/series/sankey/tooltip-helper.d.ts +0 -7
- package/build/es5/series/scatter/animation.d.ts +0 -7
- package/build/es5/series/scatter/interface.d.ts +0 -25
- package/build/es5/series/scatter/scatter.d.ts +0 -31
- package/build/es5/series/sunburst/animation/enter.d.ts +0 -3
- package/build/es5/series/sunburst/animation/exit.d.ts +0 -3
- package/build/es5/series/sunburst/animation/index.d.ts +0 -5
- package/build/es5/series/sunburst/animation/interface.d.ts +0 -12
- package/build/es5/series/sunburst/animation/preset.d.ts +0 -3
- package/build/es5/series/sunburst/animation/utils.d.ts +0 -3
- package/build/es5/series/sunburst/interface.d.ts +0 -41
- package/build/es5/series/sunburst/sunburst.d.ts +0 -59
- package/build/es5/series/sunburst/tooltip-helper.d.ts +0 -5
- package/build/es5/series/treemap/animation.d.ts +0 -4
- package/build/es5/series/treemap/interface.d.ts +0 -41
- package/build/es5/series/treemap/tooltip-helper.d.ts +0 -5
- package/build/es5/series/treemap/treemap.d.ts +0 -55
- package/build/es5/series/util/label-mark.d.ts +0 -4
- package/build/es5/series/util/utils.d.ts +0 -2
- package/build/es5/series/waterfall/animation.d.ts +0 -4
- package/build/es5/series/waterfall/interface.d.ts +0 -60
- package/build/es5/series/waterfall/waterfall.d.ts +0 -35
- package/build/es5/series/word-cloud/animation.d.ts +0 -6
- package/build/es5/series/word-cloud/base.d.ts +0 -69
- package/build/es5/series/word-cloud/config.d.ts +0 -16
- package/build/es5/series/word-cloud/interface.d.ts +0 -115
- package/build/es5/series/word-cloud/word-cloud-3d.d.ts +0 -11
- package/build/es5/series/word-cloud/word-cloud.d.ts +0 -7
- package/build/es5/theme/buildin-theme/config.d.ts +0 -2
- package/build/es5/theme/buildin-theme/index.d.ts +0 -5
- package/build/es5/theme/buildin-theme/light/color-scheme.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/axis/band-axis.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/axis/cartesian-axis.d.ts +0 -3
- package/build/es5/theme/buildin-theme/light/component/axis/common-axis.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/axis/linear-axis.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/axis/log-axis.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/axis/polar-axis.d.ts +0 -3
- package/build/es5/theme/buildin-theme/light/component/brush.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/crosshair.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/data-zoom.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/index.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/indicator.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/legend/color-legend.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/legend/continuous.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/legend/discrete-legend.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/legend/size-legend.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/map-label.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/mark-area.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/mark-line.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/mark-point.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/player.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/poptip.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/title.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/component/tooltip.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/constants.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/index.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/mark.d.ts +0 -3
- package/build/es5/theme/buildin-theme/light/series/area.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/bar.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/bar3d.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/box-plot.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/circle-packing.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/circular-progress.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/dot.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/funnel.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/funnel3d.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/gauge-pointer.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/gauge.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/heatmap.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/index.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/line.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/linear-progress.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/link.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/map.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/pie.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/pie3d.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/radar.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/rangeColumn.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/rose.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/sankey.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/scatter.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/sunburst.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/treemap.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/waterfall.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/word-cloud.d.ts +0 -2
- package/build/es5/theme/buildin-theme/light/series/word-cloud3d.d.ts +0 -2
- package/build/es5/theme/color-scheme/interface.d.ts +0 -29
- package/build/es5/theme/color-scheme/util.d.ts +0 -8
- package/build/es5/theme/index.d.ts +0 -3
- package/build/es5/theme/interface.d.ts +0 -44
- package/build/es5/theme/theme-manager.d.ts +0 -13
- package/build/es5/typings/common.d.ts +0 -7
- package/build/es5/typings/coordinate.d.ts +0 -9
- package/build/es5/typings/cursor.d.ts +0 -1
- package/build/es5/typings/data.d.ts +0 -1
- package/build/es5/typings/geo.d.ts +0 -3
- package/build/es5/typings/index.d.ts +0 -13
- package/build/es5/typings/interpolate.d.ts +0 -5
- package/build/es5/typings/line-stroke.d.ts +0 -3
- package/build/es5/typings/params.d.ts +0 -17
- package/build/es5/typings/scale.d.ts +0 -33
- package/build/es5/typings/shape.d.ts +0 -27
- package/build/es5/typings/space.d.ts +0 -19
- package/build/es5/typings/spec/chart.d.ts +0 -59
- package/build/es5/typings/spec/common.d.ts +0 -250
- package/build/es5/typings/spec/index.d.ts +0 -4
- package/build/es5/typings/tooltip/common.d.ts +0 -8
- package/build/es5/typings/tooltip/handler.d.ts +0 -8
- package/build/es5/typings/tooltip/index.d.ts +0 -6
- package/build/es5/typings/tooltip/line.d.ts +0 -15
- package/build/es5/typings/tooltip/position.d.ts +0 -19
- package/build/es5/typings/tooltip/shape.d.ts +0 -14
- package/build/es5/typings/tooltip/tooltip.d.ts +0 -24
- package/build/es5/typings/visual.d.ts +0 -293
- package/build/es5/util/array.d.ts +0 -3
- package/build/es5/util/color.d.ts +0 -3
- package/build/es5/util/data.d.ts +0 -21
- package/build/es5/util/debug.d.ts +0 -9
- package/build/es5/util/env.d.ts +0 -7
- package/build/es5/util/hierarchy.d.ts +0 -3
- package/build/es5/util/id.d.ts +0 -2
- package/build/es5/util/image.d.ts +0 -4
- package/build/es5/util/index.d.ts +0 -22
- package/build/es5/util/math.d.ts +0 -41
- package/build/es5/util/model.d.ts +0 -4
- package/build/es5/util/object.d.ts +0 -5
- package/build/es5/util/scale.d.ts +0 -25
- package/build/es5/util/space.d.ts +0 -19
- package/build/es5/util/spec.d.ts +0 -10
- package/build/es5/util/style.d.ts +0 -4
- package/build/es5/util/text.d.ts +0 -9
- package/build/es5/util/type.d.ts +0 -7
- package/build/es5/vchart-all.d.ts +0 -2
- package/build/es5/vchart-simple.d.ts +0 -2
- package/build/tsconfig.tsbuildinfo +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Maybe } from '../typings';
|
|
2
|
-
import type { IGroupMarkSpec } from '../typings/visual';
|
|
3
|
-
import { BaseMark } from './base/base-mark';
|
|
4
|
-
import type { IMark, IMarkRaw, IMarkStyle, MarkType } from './interface';
|
|
5
|
-
import { MarkTypeEnum } from './interface';
|
|
6
|
-
import type { IGroupMark as IVGrammarGroupMark } from '@visactor/vgrammar';
|
|
7
|
-
import type { IMarkCompileOption } from '../compile/mark';
|
|
8
|
-
export interface IGroupMark extends IMarkRaw<IGroupMarkSpec> {
|
|
9
|
-
addMark: (m: IMark) => boolean;
|
|
10
|
-
removeMark: (m: IMark) => boolean;
|
|
11
|
-
getMarks: () => IMark[];
|
|
12
|
-
getMarkInType: (type: MarkType) => IMark[];
|
|
13
|
-
getMarkInId: (id: number) => IMark | undefined;
|
|
14
|
-
getMarkInName: (name: string) => IMark | undefined;
|
|
15
|
-
}
|
|
16
|
-
export declare class GroupMark extends BaseMark<IGroupMarkSpec> implements IGroupMark {
|
|
17
|
-
static readonly type = MarkTypeEnum.group;
|
|
18
|
-
readonly type = MarkTypeEnum.group;
|
|
19
|
-
protected _marks: IMark[];
|
|
20
|
-
getMarks(): IMark[];
|
|
21
|
-
protected _product: Maybe<IVGrammarGroupMark>;
|
|
22
|
-
getProduct: () => Maybe<IVGrammarGroupMark>;
|
|
23
|
-
protected _getDefaultStyle(): IMarkStyle<IGroupMarkSpec>;
|
|
24
|
-
protected isMarkExist(mark: IMark): boolean;
|
|
25
|
-
addMark(mark: IMark): boolean;
|
|
26
|
-
removeMark(mark: IMark): boolean;
|
|
27
|
-
getMarkInType(type: MarkType): IMark[];
|
|
28
|
-
getMarkInId(id: number): IMark;
|
|
29
|
-
getMarkInName(name: string): IMark;
|
|
30
|
-
protected _compileProduct(option?: IMarkCompileOption): void;
|
|
31
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IImageMarkSpec } 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 IImageMark = IMarkRaw<IImageMarkSpec>;
|
|
6
|
-
export declare class ImageMark extends BaseMark<IImageMarkSpec> implements IImageMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.image;
|
|
8
|
-
readonly type = MarkTypeEnum.image;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IImageMarkSpec>;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { BoxPlotMark } from './box-plot';
|
|
2
|
-
import { LineMark } from './line';
|
|
3
|
-
import { SymbolMark } from './symbol';
|
|
4
|
-
import { GroupMark } from './group';
|
|
5
|
-
import { RuleMark } from './rule';
|
|
6
|
-
import { TextMark } from './text';
|
|
7
|
-
import { AreaMark } from './area';
|
|
8
|
-
import { RectMark } from './rect';
|
|
9
|
-
import { Rect3dMark } from './rect-3d';
|
|
10
|
-
import { PathMark } from './path';
|
|
11
|
-
import { ArcMark } from './arc';
|
|
12
|
-
import { Arc3dMark } from './arc-3d';
|
|
13
|
-
import { ComponentMark } from './component';
|
|
14
|
-
import { LinkPathMark } from './link-path';
|
|
15
|
-
import { ProgressArcMark } from './progress-arc';
|
|
16
|
-
import { CellMark } from './cell';
|
|
17
|
-
import { BaseMark } from './base';
|
|
18
|
-
import { PolygonMark } from './polygon/polygon';
|
|
19
|
-
import { Pyramid3dMark } from './polygon/pyramid-3d';
|
|
20
|
-
export type { IBoxPlotMarkSpec, ILineMarkSpec, ISymbolMarkSpec, IGroupMarkSpec, IRuleMarkSpec, ITextMarkSpec, IAreaMarkSpec, IRect3dMarkSpec, IRectMarkSpec, IPathMarkSpec, IArcMarkSpec, IArc3dMarkSpec, ICommonSpec, IPolygonMarkSpec, IPyramid3dMarkSpec, ILinkPathMarkSpec, IProgressArcMarkSpec, ConvertToMarkStyleSpec, ICellMarkSpec } from '../typings/visual';
|
|
21
|
-
export { BoxPlotMark, LineMark, SymbolMark, GroupMark, RuleMark, TextMark, AreaMark, Rect3dMark, RectMark, PathMark, Arc3dMark, ArcMark, ComponentMark, PolygonMark, Pyramid3dMark, LinkPathMark, ProgressArcMark, CellMark, BaseMark };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { DataView } from '@visactor/vdataset';
|
|
2
|
-
import type { IGlobalScale } from '../../scale/interface';
|
|
3
|
-
import type { ICommonSpec, VisualType, ValueType, FunctionType } from '../../typings/visual';
|
|
4
|
-
import type { IModel } from '../../model/interface';
|
|
5
|
-
import type { IBaseScale } from '@visactor/vscale';
|
|
6
|
-
import type { MarkType } from './type';
|
|
7
|
-
import type { ICompilableMark, ICompilableMarkOption, IModelMarkAttributeContext, StateValueType } from '../../compile/mark';
|
|
8
|
-
import type { StringOrNumber } from '../../typings';
|
|
9
|
-
export interface VisualScaleType {
|
|
10
|
-
scale: IBaseScale;
|
|
11
|
-
field: StringOrNumber;
|
|
12
|
-
changeDomain?: 'none' | 'replace' | 'expand';
|
|
13
|
-
}
|
|
14
|
-
export type MarkInputStyle<T> = StyleConvert<T> | VisualType<T>;
|
|
15
|
-
export type StyleConvert<T> = ValueType<T> | FunctionType<T> | VisualScaleType;
|
|
16
|
-
export interface IAttrConfig<A, R extends ICommonSpec> {
|
|
17
|
-
level: number;
|
|
18
|
-
style: StyleConvert<A>;
|
|
19
|
-
referer?: IMarkRaw<R>;
|
|
20
|
-
postProcess?: (result: A, ...args: Parameters<FunctionType<A>>) => A;
|
|
21
|
-
}
|
|
22
|
-
export type IAttrs<T extends ICommonSpec> = {
|
|
23
|
-
[K in keyof T]: IAttrConfig<T[K], T>;
|
|
24
|
-
};
|
|
25
|
-
export type IMarkProgressiveConfig = {
|
|
26
|
-
large?: boolean;
|
|
27
|
-
largeThreshold?: number;
|
|
28
|
-
progressiveStep?: number;
|
|
29
|
-
progressiveThreshold?: number;
|
|
30
|
-
};
|
|
31
|
-
export type IMarkStateStyle<T extends ICommonSpec> = Record<StateValueType, Partial<IAttrs<T>>>;
|
|
32
|
-
export type IMarkStyle<T extends ICommonSpec> = {
|
|
33
|
-
[key in keyof T]: MarkInputStyle<T[key]>;
|
|
34
|
-
};
|
|
35
|
-
export interface IMarkRaw<T extends ICommonSpec> extends ICompilableMark {
|
|
36
|
-
readonly stateStyle: IMarkStateStyle<T>;
|
|
37
|
-
getAttribute: <U extends keyof T>(key: U, datum: any, state?: StateValueType, opt?: any) => unknown;
|
|
38
|
-
setAttribute: <U extends keyof T>(attr: U, style: StyleConvert<T[U]>, state?: StateValueType, level?: number) => void;
|
|
39
|
-
setStyle: (style: Partial<IMarkStyle<T>>, state?: StateValueType, level?: number) => void;
|
|
40
|
-
setReferer: (mark: IMarkRaw<T>, styleKey?: string, state?: StateValueType, stateStyle?: IMarkStateStyle<T>) => void;
|
|
41
|
-
initStyleWithSpec: (spec: any, key?: string) => void;
|
|
42
|
-
created: () => void;
|
|
43
|
-
setPostProcess: <U extends keyof T, A>(key: U, postProcessFunc: IAttrConfig<A, T>['postProcess'], state?: StateValueType) => void;
|
|
44
|
-
}
|
|
45
|
-
export type IMark = IMarkRaw<ICommonSpec>;
|
|
46
|
-
export interface IMarkOption extends ICompilableMarkOption {
|
|
47
|
-
model: IModel;
|
|
48
|
-
map: Map<StringOrNumber, IModel | IMark>;
|
|
49
|
-
globalScale: IGlobalScale;
|
|
50
|
-
dataStatistics?: DataView;
|
|
51
|
-
componentType?: string;
|
|
52
|
-
attributeContext?: IModelMarkAttributeContext;
|
|
53
|
-
}
|
|
54
|
-
export interface IMarkConstructor {
|
|
55
|
-
type: MarkType;
|
|
56
|
-
constructorType?: MarkType;
|
|
57
|
-
new (name: string, options: IMarkOption): IMark;
|
|
58
|
-
}
|
|
59
|
-
export interface IComponentMarkConstructor {
|
|
60
|
-
type: MarkType;
|
|
61
|
-
constructorType?: MarkType;
|
|
62
|
-
new (componentType: string, name: string, options: IMarkOption): IMark;
|
|
63
|
-
}
|
|
64
|
-
export type MarkConstructor = IMarkConstructor | IComponentMarkConstructor;
|
|
65
|
-
export interface IMarkDataInitOption extends IMarkOption {
|
|
66
|
-
mark: IMark;
|
|
67
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type MarkType = keyof typeof MarkTypeEnum | string;
|
|
2
|
-
export declare enum MarkTypeEnum {
|
|
3
|
-
group = "group",
|
|
4
|
-
symbol = "symbol",
|
|
5
|
-
rule = "rule",
|
|
6
|
-
line = "line",
|
|
7
|
-
text = "text",
|
|
8
|
-
rect = "rect",
|
|
9
|
-
rect3d = "rect3d",
|
|
10
|
-
image = "image",
|
|
11
|
-
path = "path",
|
|
12
|
-
area = "area",
|
|
13
|
-
arc = "arc",
|
|
14
|
-
arc3d = "arc3d",
|
|
15
|
-
polygon = "polygon",
|
|
16
|
-
pyramid3d = "pyramid3d",
|
|
17
|
-
boxPlot = "boxPlot",
|
|
18
|
-
linkPath = "linkPath",
|
|
19
|
-
progressArc = "progressArc",
|
|
20
|
-
cell = "cell",
|
|
21
|
-
component = "component"
|
|
22
|
-
}
|
package/build/es5/mark/line.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ILineMarkSpec } from '../typings/visual';
|
|
2
|
-
import { BaseLineMark } from './base/base-line';
|
|
3
|
-
import type { IMarkRaw, IMarkStyle } from './interface';
|
|
4
|
-
import { MarkTypeEnum } from './interface';
|
|
5
|
-
export type ILineMark = IMarkRaw<ILineMarkSpec>;
|
|
6
|
-
export declare class LineMark extends BaseLineMark<ILineMarkSpec> implements ILineMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.line;
|
|
8
|
-
readonly type = MarkTypeEnum.line;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<ILineMarkSpec>;
|
|
10
|
-
protected _getIgnoreAttributes(): string[];
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseMark } from './base/base-mark';
|
|
2
|
-
import type { ILinkPathMarkSpec } from '../typings/visual';
|
|
3
|
-
import type { IMarkRaw, IMarkStyle } from './interface';
|
|
4
|
-
import { MarkTypeEnum } from './interface';
|
|
5
|
-
import type { IGroupMark } from '@visactor/vgrammar';
|
|
6
|
-
export type ILinkPathMark = IMarkRaw<ILinkPathMarkSpec>;
|
|
7
|
-
export declare class LinkPathMark extends BaseMark<ILinkPathMarkSpec> implements ILinkPathMark {
|
|
8
|
-
static readonly type = MarkTypeEnum.linkPath;
|
|
9
|
-
readonly type = MarkTypeEnum.linkPath;
|
|
10
|
-
protected _getDefaultStyle(): IMarkStyle<ILinkPathMarkSpec>;
|
|
11
|
-
protected _initProduct(group?: string | IGroupMark): void;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { IMark } from '../interface';
|
|
2
|
-
export interface IMarkInfo {
|
|
3
|
-
styleWithSeriesField?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class MarkSet {
|
|
6
|
-
protected _children: IMark[];
|
|
7
|
-
protected _markNameMap: Record<string, IMark>;
|
|
8
|
-
getMarkNameMap(): Record<string, IMark>;
|
|
9
|
-
protected readonly _infoMap: Map<IMark, IMarkInfo>;
|
|
10
|
-
static readonly defaultMarkInfo: IMarkInfo;
|
|
11
|
-
addMark(mark?: IMark, markInfo?: IMarkInfo): void;
|
|
12
|
-
removeMark(markName: string): void;
|
|
13
|
-
clear(): void;
|
|
14
|
-
forEach(callbackfn: (value: IMark, index: number, array: IMark[]) => void): void;
|
|
15
|
-
includes(mark: IMark, fromIndex?: number): boolean;
|
|
16
|
-
get(key: number | string): any;
|
|
17
|
-
getMarks(): IMark[];
|
|
18
|
-
getMarksInType(type: string | string[]): IMark[];
|
|
19
|
-
getMarkInId(markId: number): IMark | undefined;
|
|
20
|
-
getMarkWithInfo(info: Partial<IMarkInfo>): IMark;
|
|
21
|
-
}
|
package/build/es5/mark/path.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IPathMarkSpec } 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 IPathMark = IMarkRaw<IPathMarkSpec>;
|
|
6
|
-
export declare class PathMark extends BaseMark<IPathMarkSpec> implements IPathMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.path;
|
|
8
|
-
readonly type = MarkTypeEnum.path;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IPathMarkSpec>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ICommonSpec } from '../../typings/visual';
|
|
2
|
-
import { BaseMark } from '../base/base-mark';
|
|
3
|
-
import type { IMarkStyle } from '../interface';
|
|
4
|
-
export declare class BasePolygonMark<T extends ICommonSpec> extends BaseMark<T> {
|
|
5
|
-
protected _getDefaultStyle(): IMarkStyle<T>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IPolygonMarkSpec } from '../../typings/visual';
|
|
2
|
-
import { BasePolygonMark } from './base-polygon';
|
|
3
|
-
import type { IMarkRaw, IMarkStyle } from '../interface';
|
|
4
|
-
import { MarkTypeEnum } from '../interface';
|
|
5
|
-
export type IPolygonMark = IMarkRaw<IPolygonMarkSpec>;
|
|
6
|
-
export declare class PolygonMark extends BasePolygonMark<IPolygonMarkSpec> implements IPolygonMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.polygon;
|
|
8
|
-
readonly type = MarkTypeEnum.polygon;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IPolygonMarkSpec>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { IPyramid3dMarkSpec } from '../../typings/visual';
|
|
2
|
-
import type { IMarkRaw } from '../interface';
|
|
3
|
-
import { MarkTypeEnum } from '../interface';
|
|
4
|
-
import { BasePolygonMark } from './base-polygon';
|
|
5
|
-
export type IPyramid3dMark = IMarkRaw<IPyramid3dMarkSpec>;
|
|
6
|
-
export declare class Pyramid3dMark extends BasePolygonMark<IPyramid3dMarkSpec> implements IPyramid3dMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.pyramid3d;
|
|
8
|
-
readonly type = MarkTypeEnum.pyramid3d;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StateValueType } from '../typings/spec';
|
|
2
|
-
import type { ConvertToMarkStyleSpec, IProgressArcMarkSpec } from '../typings/visual';
|
|
3
|
-
import type { IMarkRaw, IMarkStateStyle, IMarkStyle } from './interface';
|
|
4
|
-
import { MarkTypeEnum } from './interface';
|
|
5
|
-
import { BaseArcMark } from './arc';
|
|
6
|
-
export type IProgressArcMark = IMarkRaw<IProgressArcMarkSpec>;
|
|
7
|
-
export declare class ProgressArcMark extends BaseArcMark<IProgressArcMarkSpec> implements IProgressArcMark {
|
|
8
|
-
static readonly type = MarkTypeEnum.arc;
|
|
9
|
-
static readonly constructorType = MarkTypeEnum.progressArc;
|
|
10
|
-
protected _cacheStateStyle: IMarkStateStyle<IProgressArcMarkSpec>;
|
|
11
|
-
protected _getDefaultStyle(): IMarkStyle<IProgressArcMarkSpec>;
|
|
12
|
-
protected _filterStyle(style: Partial<IMarkStyle<IProgressArcMarkSpec>>, state: StateValueType, level: number, stateStyle?: IMarkStateStyle<IProgressArcMarkSpec>): Partial<ConvertToMarkStyleSpec<IProgressArcMarkSpec>> | Partial<IMarkStyle<IProgressArcMarkSpec>>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IRect3dMarkSpec } 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 IRect3dMark = IMarkRaw<IRect3dMarkSpec>;
|
|
6
|
-
export declare class Rect3dMark extends BaseMark<IRect3dMarkSpec> implements IRect3dMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.rect3d;
|
|
8
|
-
readonly type = MarkTypeEnum.rect3d;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IRect3dMarkSpec>;
|
|
10
|
-
}
|
package/build/es5/mark/rect.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IRectMarkSpec } 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 IRectMark = IMarkRaw<IRectMarkSpec>;
|
|
6
|
-
export declare class RectMark extends BaseMark<IRectMarkSpec> implements IRectMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.rect;
|
|
8
|
-
readonly type = MarkTypeEnum.rect;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IRectMarkSpec>;
|
|
10
|
-
}
|
package/build/es5/mark/rule.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IRuleMarkSpec } 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 IRuleMark = IMarkRaw<IRuleMarkSpec>;
|
|
6
|
-
export declare class RuleMark extends BaseMark<IRuleMarkSpec> implements IRuleMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.rule;
|
|
8
|
-
readonly type = MarkTypeEnum.rule;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<IRuleMarkSpec>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ISymbolMarkSpec } 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 ISymbolMark = IMarkRaw<ISymbolMarkSpec>;
|
|
6
|
-
export declare class BaseSymbolMark<T extends ISymbolMarkSpec> extends BaseMark<T> {
|
|
7
|
-
protected _getDefaultStyle(): IMarkStyle<T>;
|
|
8
|
-
}
|
|
9
|
-
export declare class SymbolMark extends BaseSymbolMark<ISymbolMarkSpec> implements ISymbolMark {
|
|
10
|
-
static readonly type = MarkTypeEnum.symbol;
|
|
11
|
-
readonly type = MarkTypeEnum.symbol;
|
|
12
|
-
}
|
package/build/es5/mark/text.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ITextMarkSpec } 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 ITextMark = IMarkRaw<ITextMarkSpec>;
|
|
6
|
-
export declare class TextMark extends BaseMark<ITextMarkSpec> implements ITextMark {
|
|
7
|
-
static readonly type = MarkTypeEnum.text;
|
|
8
|
-
readonly type = MarkTypeEnum.text;
|
|
9
|
-
protected _getDefaultStyle(): IMarkStyle<ITextMarkSpec>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './common';
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import type { IEvent } from '../event/interface';
|
|
2
|
-
import { LayoutItem } from './layout-item';
|
|
3
|
-
import type { IEffect, IModel, IModelInitOption, IModelOption, IModelRenderOption, IModelEvaluateOption, IModelSpec, ILayoutRect, IModelMarkInfo } from './interface';
|
|
4
|
-
import type { CoordinateType } from '../typings/coordinate';
|
|
5
|
-
import type { IMark, IMarkOption, IMarkRaw, IMarkStyle } from '../mark/interface';
|
|
6
|
-
import type { Datum, StateValueType, ConvertToMarkStyleSpec, ICommonSpec, StringOrNumber, IRect } from '../typings';
|
|
7
|
-
import type { ITooltipHelper } from './tooltip-helper';
|
|
8
|
-
import type { CompilableData } from '../compile/data/compilable-data';
|
|
9
|
-
import { ModelStateManager } from './model-state-manager';
|
|
10
|
-
import type { IElement, IGroupMark, IMark as IVGrammarMark } from '@visactor/vgrammar';
|
|
11
|
-
import { MarkSet } from '../mark/mark-set';
|
|
12
|
-
export declare abstract class BaseModel extends LayoutItem implements IModel {
|
|
13
|
-
readonly type: string;
|
|
14
|
-
readonly modelType: string;
|
|
15
|
-
readonly id: number;
|
|
16
|
-
userId: StringOrNumber | undefined;
|
|
17
|
-
readonly event: IEvent;
|
|
18
|
-
readonly effect: IEffect;
|
|
19
|
-
protected _data: CompilableData;
|
|
20
|
-
getData(): CompilableData;
|
|
21
|
-
protected _spec: any;
|
|
22
|
-
getSpec(): any;
|
|
23
|
-
protected _specIndex: number;
|
|
24
|
-
getSpecIndex(): number;
|
|
25
|
-
readonly specKey: string;
|
|
26
|
-
protected _originalSpec: any;
|
|
27
|
-
protected _option: IModelOption;
|
|
28
|
-
getOption(): IModelOption;
|
|
29
|
-
protected _sceneNodeMap: Map<string, IElement>;
|
|
30
|
-
protected _marks: MarkSet;
|
|
31
|
-
getMarks(): IMark[];
|
|
32
|
-
getMarkNameMap(): Record<string, IMark>;
|
|
33
|
-
getMarkSet(): MarkSet;
|
|
34
|
-
getMarkInfoList(): IModelMarkInfo[];
|
|
35
|
-
getChart(): import("../chart/interface").IChart;
|
|
36
|
-
state: ModelStateManager;
|
|
37
|
-
getState(): {
|
|
38
|
-
[key: string]: unknown;
|
|
39
|
-
layoutUpdateRank: number;
|
|
40
|
-
};
|
|
41
|
-
protected _theme?: any;
|
|
42
|
-
protected _lastLayoutRect: ILayoutRect;
|
|
43
|
-
protected _tooltipHelper: ITooltipHelper | undefined;
|
|
44
|
-
get tooltipHelper(): ITooltipHelper;
|
|
45
|
-
protected _isLayout: boolean;
|
|
46
|
-
constructor(spec: IModelSpec, option: IModelOption);
|
|
47
|
-
coordinate?: CoordinateType;
|
|
48
|
-
protected _releaseEvent(): void;
|
|
49
|
-
created(): void;
|
|
50
|
-
updateState(newState: Record<string, unknown>): Promise<void>;
|
|
51
|
-
init(option: IModelInitOption): void;
|
|
52
|
-
onLayoutStart(layoutRect: IRect, viewRect: ILayoutRect, ctx: any): void;
|
|
53
|
-
onLayoutEnd(ctx: any): void;
|
|
54
|
-
protected _forceLayout(): void;
|
|
55
|
-
onEvaluateEnd(ctx: IModelEvaluateOption): void;
|
|
56
|
-
abstract onRender(ctx: IModelRenderOption): void;
|
|
57
|
-
onDataUpdate(): void;
|
|
58
|
-
release(): void;
|
|
59
|
-
updateSpec(spec: any): {
|
|
60
|
-
change: boolean;
|
|
61
|
-
reMake: boolean;
|
|
62
|
-
reRender: boolean;
|
|
63
|
-
reSize: boolean;
|
|
64
|
-
reCompile: boolean;
|
|
65
|
-
};
|
|
66
|
-
reInit(theme?: any): void;
|
|
67
|
-
protected _initTheme(theme?: any): void;
|
|
68
|
-
protected _mergeMarkTheme(): void;
|
|
69
|
-
protected _preprocessSpec(obj?: any): any;
|
|
70
|
-
setCurrentTheme(theme: any, noRender?: boolean): void;
|
|
71
|
-
updateLayoutAttribute(): void;
|
|
72
|
-
setAttrFromSpec(): void;
|
|
73
|
-
protected _convertMarkStyle<T extends ICommonSpec = ICommonSpec>(style: Partial<IMarkStyle<T> | ConvertToMarkStyleSpec<T>>): Partial<IMarkStyle<T> | ConvertToMarkStyleSpec<T>>;
|
|
74
|
-
setMarkStyle<T extends ICommonSpec>(mark: IMarkRaw<T>, style?: Partial<IMarkStyle<T> | ConvertToMarkStyleSpec<T>>, state?: StateValueType, level?: number): void;
|
|
75
|
-
initMarkStyleWithSpec(mark?: IMark, spec?: any, key?: string): void;
|
|
76
|
-
protected stateKeyToSignalName(key: string, opt?: string): string;
|
|
77
|
-
compileData(): void;
|
|
78
|
-
compileMarks(group?: string | IGroupMark): void;
|
|
79
|
-
compileSignal(): void;
|
|
80
|
-
bindSceneNode(node: IElement): void;
|
|
81
|
-
getSceneNodes(): IElement[];
|
|
82
|
-
getSceneNodeMarks(): IVGrammarMark[];
|
|
83
|
-
protected _createMark<T extends IMark>(markInfo: IModelMarkInfo, option?: Partial<IMarkOption>): T;
|
|
84
|
-
protected _getDataIdKey(): string | ((datum: Datum) => string) | undefined;
|
|
85
|
-
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import type { IBoundsLike } from '@visactor/vutils';
|
|
2
|
-
import type { DataSet } from '@visactor/vdataset';
|
|
3
|
-
import type { IEvent, IEventDispatcher } from '../event/interface';
|
|
4
|
-
import type { IMark, IMarkRaw, IMarkStyle, MarkTypeEnum } from '../mark/interface';
|
|
5
|
-
import type { RenderMode } from '../typings/spec/common';
|
|
6
|
-
import type { VChart } from '../vchart-all';
|
|
7
|
-
import type { IData, IElement, IMark as IVGrammarMark } from '@visactor/vgrammar';
|
|
8
|
-
import type { IOrientType, IPoint, IGroupMarkSpec, ConvertToMarkStyleSpec, CoordinateType, ICommonSpec, IRect, StringOrNumber } from '../typings';
|
|
9
|
-
import type { ITheme } from '../theme';
|
|
10
|
-
import type { StateValueType } from '../typings/spec';
|
|
11
|
-
import type { ITooltipHelper } from './tooltip-helper';
|
|
12
|
-
import type { ModelStateManager } from './model-state-manager';
|
|
13
|
-
import type { ICompilable, ICompilableInitOption } from '../compile/interface';
|
|
14
|
-
import type { ICompilableData } from '../compile/data';
|
|
15
|
-
import type { IGlobalScale } from '../scale/interface';
|
|
16
|
-
import type { IChart } from '../chart/interface';
|
|
17
|
-
export type ILayoutNumber = number | IPercent | ((layoutRect: ILayoutRect) => number);
|
|
18
|
-
export interface ILayoutPoint {
|
|
19
|
-
x: number;
|
|
20
|
-
y: number;
|
|
21
|
-
}
|
|
22
|
-
export interface ILayoutRectLevel {
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
}
|
|
26
|
-
export interface ILayoutRect {
|
|
27
|
-
width: number;
|
|
28
|
-
height: number;
|
|
29
|
-
}
|
|
30
|
-
export type IPercent = `${number}%`;
|
|
31
|
-
export type ILayoutPercent = IPercent | number;
|
|
32
|
-
type ILayoutType = 'region-relative' | 'region' | 'normal' | 'absolute' | 'normal-inline';
|
|
33
|
-
export type ILayoutOrientPadding = {
|
|
34
|
-
left?: ILayoutNumber;
|
|
35
|
-
right?: ILayoutNumber;
|
|
36
|
-
top?: ILayoutNumber;
|
|
37
|
-
bottom?: ILayoutNumber;
|
|
38
|
-
};
|
|
39
|
-
export type ILayoutPaddingSpec = ILayoutOrientPadding | ILayoutNumber | ILayoutNumber[];
|
|
40
|
-
export interface ILayoutItem {
|
|
41
|
-
directionStr?: 'l2r' | 'r2l' | 't2b' | 'b2t';
|
|
42
|
-
layoutClip: boolean;
|
|
43
|
-
layoutType: ILayoutType;
|
|
44
|
-
layoutBindRegionID: number | number[];
|
|
45
|
-
layoutOrient: IOrientType;
|
|
46
|
-
layoutPaddingLeft: number;
|
|
47
|
-
layoutPaddingTop: number;
|
|
48
|
-
layoutPaddingRight: number;
|
|
49
|
-
layoutPaddingBottom: number;
|
|
50
|
-
layoutOffsetX: number;
|
|
51
|
-
layoutOffsetY: number;
|
|
52
|
-
layoutLevel: number;
|
|
53
|
-
layoutZIndex: number;
|
|
54
|
-
chartLayoutRect: ILayoutRect;
|
|
55
|
-
getAutoIndent: () => boolean;
|
|
56
|
-
getLayoutStartPoint: () => ILayoutPoint;
|
|
57
|
-
getLayoutRect: () => ILayoutRect;
|
|
58
|
-
getLastComputeOutBounds: () => IBoundsLike;
|
|
59
|
-
setLayoutRect: (rect: Partial<ILayoutRect>, levelMap?: Partial<ILayoutRectLevel>) => void;
|
|
60
|
-
computeBoundsInRect: (rect: ILayoutRect) => ILayoutRect;
|
|
61
|
-
setLayoutStartPosition: (pos: Partial<IPoint>) => void;
|
|
62
|
-
absoluteLayoutInRect: (rect: IRect) => void;
|
|
63
|
-
updateLayoutAttribute: () => void;
|
|
64
|
-
}
|
|
65
|
-
export interface ILayoutItemSpec {
|
|
66
|
-
layoutType?: ILayoutType;
|
|
67
|
-
layoutLevel?: number;
|
|
68
|
-
orient?: IOrientType;
|
|
69
|
-
padding?: ILayoutPaddingSpec;
|
|
70
|
-
width?: ILayoutNumber;
|
|
71
|
-
maxWidth?: ILayoutNumber;
|
|
72
|
-
minWidth?: ILayoutNumber;
|
|
73
|
-
height?: ILayoutNumber;
|
|
74
|
-
maxHeight?: ILayoutNumber;
|
|
75
|
-
minHeight?: ILayoutNumber;
|
|
76
|
-
offsetX?: ILayoutNumber;
|
|
77
|
-
offsetY?: ILayoutNumber;
|
|
78
|
-
zIndex?: number;
|
|
79
|
-
clip?: boolean;
|
|
80
|
-
left?: ILayoutNumber;
|
|
81
|
-
right?: ILayoutNumber;
|
|
82
|
-
top?: ILayoutNumber;
|
|
83
|
-
bottom?: ILayoutNumber;
|
|
84
|
-
center?: boolean;
|
|
85
|
-
}
|
|
86
|
-
export interface IModelInitOption {
|
|
87
|
-
}
|
|
88
|
-
export interface IModelLayoutOption {
|
|
89
|
-
}
|
|
90
|
-
export interface IModelEvaluateOption {
|
|
91
|
-
}
|
|
92
|
-
export interface IModelRenderOption {
|
|
93
|
-
}
|
|
94
|
-
export interface IEffect {
|
|
95
|
-
[key: string]: (e?: any) => any;
|
|
96
|
-
}
|
|
97
|
-
export interface IMarkTreeGroup extends Partial<IMarkStyle<IGroupMarkSpec>> {
|
|
98
|
-
type: 'group';
|
|
99
|
-
name: string;
|
|
100
|
-
marks: (IMarkTreeGroup | IMark)[];
|
|
101
|
-
}
|
|
102
|
-
export type IMarkTree = IMarkTreeGroup | IMark | (IMarkTreeGroup | IMark)[];
|
|
103
|
-
export interface IUpdateSpecResult {
|
|
104
|
-
change: boolean;
|
|
105
|
-
reMake: boolean;
|
|
106
|
-
reRender?: boolean;
|
|
107
|
-
reSize?: boolean;
|
|
108
|
-
reCompile?: boolean;
|
|
109
|
-
}
|
|
110
|
-
export interface IModelProduct {
|
|
111
|
-
srData: IData;
|
|
112
|
-
}
|
|
113
|
-
export interface IModel extends ICompilable, ILayoutItem {
|
|
114
|
-
readonly modelType: string;
|
|
115
|
-
readonly type: string;
|
|
116
|
-
readonly specKey: string;
|
|
117
|
-
readonly id: number;
|
|
118
|
-
readonly userId?: StringOrNumber;
|
|
119
|
-
readonly event: IEvent;
|
|
120
|
-
readonly effect: IEffect;
|
|
121
|
-
readonly state: ModelStateManager;
|
|
122
|
-
getState: () => ModelStateManager['_stateMap'];
|
|
123
|
-
coordinate?: CoordinateType;
|
|
124
|
-
getOption: () => IModelOption;
|
|
125
|
-
getMarks: () => IMark[];
|
|
126
|
-
getMarkNameMap: () => Record<string, IMark>;
|
|
127
|
-
getMarkInfoList: () => IModelMarkInfo[];
|
|
128
|
-
getData: () => ICompilableData;
|
|
129
|
-
getChart: () => IChart;
|
|
130
|
-
created: () => void;
|
|
131
|
-
init: (option: IModelInitOption) => void;
|
|
132
|
-
reInit: (theme?: any) => void;
|
|
133
|
-
onLayoutStart: (layoutRect: IRect, viewRect: ILayoutRect, ctx: IModelLayoutOption) => void;
|
|
134
|
-
onLayoutEnd: (ctx: IModelLayoutOption) => void;
|
|
135
|
-
onEvaluateEnd: (ctx: IModelEvaluateOption) => void;
|
|
136
|
-
onRender: (ctx: IModelRenderOption) => void;
|
|
137
|
-
onDataUpdate: () => void;
|
|
138
|
-
updateSpec: (spec: any) => IUpdateSpecResult;
|
|
139
|
-
getSpec?: () => any;
|
|
140
|
-
getSpecIndex: () => number;
|
|
141
|
-
setCurrentTheme: (theme: any, noRender?: boolean) => void;
|
|
142
|
-
setMarkStyle: <T extends ICommonSpec>(mark?: IMarkRaw<T>, style?: Partial<IMarkStyle<T> | ConvertToMarkStyleSpec<T>>, state?: StateValueType, level?: number) => void;
|
|
143
|
-
initMarkStyleWithSpec: (mark?: IMark, spec?: any, key?: string) => void;
|
|
144
|
-
tooltipHelper: ITooltipHelper;
|
|
145
|
-
bindSceneNode: (node: IElement) => void;
|
|
146
|
-
getSceneNodes: () => IElement[];
|
|
147
|
-
getSceneNodeMarks: () => IVGrammarMark[];
|
|
148
|
-
}
|
|
149
|
-
export interface IModelOption extends ICompilableInitOption {
|
|
150
|
-
eventDispatcher: IEventDispatcher;
|
|
151
|
-
dataSet: DataSet;
|
|
152
|
-
map: Map<StringOrNumber, IModel | IMark>;
|
|
153
|
-
mode: RenderMode;
|
|
154
|
-
globalInstance: VChart;
|
|
155
|
-
specIndex?: number;
|
|
156
|
-
specKey?: string;
|
|
157
|
-
getTheme?: () => ITheme;
|
|
158
|
-
getChartLayoutRect: () => IRect;
|
|
159
|
-
getChartViewRect: () => ILayoutRect;
|
|
160
|
-
getChart: () => IChart;
|
|
161
|
-
globalScale: IGlobalScale;
|
|
162
|
-
animation: boolean;
|
|
163
|
-
onError: (...args: any[]) => void;
|
|
164
|
-
}
|
|
165
|
-
export interface IModelConstructor {
|
|
166
|
-
new (ctx: IModelOption): IModel;
|
|
167
|
-
}
|
|
168
|
-
export type ILayoutModelState = ModelStateManager['_stateMap'];
|
|
169
|
-
export type IModelSpec = ILayoutItemSpec & {
|
|
170
|
-
id?: StringOrNumber;
|
|
171
|
-
};
|
|
172
|
-
export interface IModelMarkInfo {
|
|
173
|
-
type: MarkTypeEnum | string | (MarkTypeEnum | string)[];
|
|
174
|
-
name: string;
|
|
175
|
-
}
|
|
176
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { IRect, IPoint } from '../typings';
|
|
2
|
-
import type { IBoundsLike } from '@visactor/vutils';
|
|
3
|
-
import type { ILayoutItem, ILayoutItemSpec, ILayoutPoint, ILayoutRect, ILayoutRectLevel } from './interface';
|
|
4
|
-
import { CompilableBase } from '../compile/compilable-base';
|
|
5
|
-
export declare class LayoutItem extends CompilableBase implements ILayoutItem {
|
|
6
|
-
protected _spec: ILayoutItemSpec;
|
|
7
|
-
getSpec(): any;
|
|
8
|
-
layoutClip: boolean;
|
|
9
|
-
protected _autoIndent: boolean;
|
|
10
|
-
getAutoIndent(): boolean;
|
|
11
|
-
private _layoutStartPoint;
|
|
12
|
-
getLayoutStartPoint(): ILayoutPoint;
|
|
13
|
-
private _layoutRect;
|
|
14
|
-
private _minWidth;
|
|
15
|
-
private _maxWidth;
|
|
16
|
-
private _minHeight;
|
|
17
|
-
private _maxHeight;
|
|
18
|
-
protected _layoutRectLevelMap: ILayoutRectLevel;
|
|
19
|
-
protected _lastComputeRect: ILayoutRect;
|
|
20
|
-
protected _lastComputeOutBounds: IBoundsLike;
|
|
21
|
-
getLastComputeOutBounds(): IBoundsLike;
|
|
22
|
-
protected _forceLayoutTag: boolean;
|
|
23
|
-
getLayoutRect: () => ILayoutRect;
|
|
24
|
-
layoutType: ILayoutItem['layoutType'];
|
|
25
|
-
layoutBindRegionID: ILayoutItem['layoutBindRegionID'];
|
|
26
|
-
_layoutOrient: ILayoutItem['layoutOrient'];
|
|
27
|
-
get layoutOrient(): ILayoutItem['layoutOrient'];
|
|
28
|
-
set layoutOrient(v: ILayoutItem['layoutOrient']);
|
|
29
|
-
layoutPaddingLeft: ILayoutItem['layoutPaddingLeft'];
|
|
30
|
-
layoutPaddingTop: ILayoutItem['layoutPaddingTop'];
|
|
31
|
-
layoutPaddingRight: ILayoutItem['layoutPaddingRight'];
|
|
32
|
-
layoutPaddingBottom: ILayoutItem['layoutPaddingBottom'];
|
|
33
|
-
layoutOffsetX: ILayoutItem['layoutOffsetX'];
|
|
34
|
-
layoutOffsetY: ILayoutItem['layoutOffsetY'];
|
|
35
|
-
layoutLevel: ILayoutItem['layoutLevel'];
|
|
36
|
-
layoutZIndex: ILayoutItem['layoutZIndex'];
|
|
37
|
-
chartLayoutRect: ILayoutRect;
|
|
38
|
-
private _setLayoutAttributeFromSpec;
|
|
39
|
-
setAttrFromSpec(spec: ILayoutItemSpec, chartViewRect: ILayoutRect): void;
|
|
40
|
-
onLayoutStart(layoutRect: IRect, viewRect: ILayoutRect, _ctx: any): void;
|
|
41
|
-
private _getAbsoluteSpecValue;
|
|
42
|
-
absoluteLayoutInRect(layoutRect: IRect): void;
|
|
43
|
-
setLayoutStartPosition({ x, y }: Partial<IPoint>): void;
|
|
44
|
-
setLayoutRect({ width, height }: Partial<ILayoutRect>, levelMap?: Partial<ILayoutRectLevel>): void;
|
|
45
|
-
mergeLayoutRect({ width, height }: ILayoutRect): ILayoutRect;
|
|
46
|
-
getOrientPosAttribute(): "x" | "y";
|
|
47
|
-
getOrientSizeAttribute(): "width" | "height";
|
|
48
|
-
protected changeBoundsBySetting(bounds: IBoundsLike): IBoundsLike;
|
|
49
|
-
private _setRectInSpec;
|
|
50
|
-
computeBoundsInRect(rect: ILayoutRect): ILayoutRect;
|
|
51
|
-
boundsInRect(rect: ILayoutRect, fullSpace: ILayoutRect): IBoundsLike;
|
|
52
|
-
updateLayoutAttribute(): void;
|
|
53
|
-
compile(): void;
|
|
54
|
-
}
|