@visactor/vchart-types 0.10.0-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/.eslintrc.js +7 -0
- package/.rush/temp/shrinkwrap-deps.json +4 -0
- package/README.md +30 -0
- package/package.json +29 -0
- package/tsconfig.eslint.json +9 -0
- package/tsconfig.json +3 -0
- package/tsconfig.test.json +5 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/types/animation/animate-manager.d.ts +12 -0
- package/types/animation/config.d.ts +60 -0
- package/types/animation/interface.d.ts +29 -0
- package/types/animation/spec.d.ts +24 -0
- package/types/animation/utils.d.ts +18 -0
- package/types/chart/area/area-transformer.d.ts +6 -0
- package/types/chart/area/area.d.ts +14 -0
- package/types/chart/area/index.d.ts +3 -0
- package/types/chart/area/interface.d.ts +7 -0
- package/types/chart/bar/3d/bar-3d-transformer.d.ts +6 -0
- package/types/chart/bar/3d/bar-3d.d.ts +14 -0
- package/types/chart/bar/3d/index.d.ts +2 -0
- package/types/chart/bar/bar-3d.d.ts +9 -0
- package/types/chart/bar/bar-transformer.d.ts +6 -0
- package/types/chart/bar/bar.d.ts +14 -0
- package/types/chart/bar/index.d.ts +4 -0
- package/types/chart/bar/interface.d.ts +11 -0
- package/types/chart/base/base-chart-transformer.d.ts +22 -0
- package/types/chart/base/base-chart.d.ts +149 -0
- package/types/chart/base/index.d.ts +2 -0
- package/types/chart/base/util.d.ts +7 -0
- package/types/chart/base-chart.d.ts +148 -0
- package/types/chart/box-plot/box-plot-transformer.d.ts +6 -0
- package/types/chart/box-plot/box-plot.d.ts +13 -0
- package/types/chart/box-plot/index.d.ts +3 -0
- package/types/chart/box-plot/interface.d.ts +7 -0
- package/types/chart/cartesian/cartesian-transformer.d.ts +8 -0
- package/types/chart/cartesian/cartesian.d.ts +8 -0
- package/types/chart/cartesian/index.d.ts +2 -0
- package/types/chart/cartesian/interface.d.ts +15 -0
- package/types/chart/chart-meta/data.d.ts +15 -0
- package/types/chart/circle-packing/circle-packing-transformer.d.ts +7 -0
- package/types/chart/circle-packing/circle-packing.d.ts +13 -0
- package/types/chart/circle-packing/index.d.ts +3 -0
- package/types/chart/circle-packing/interface.d.ts +6 -0
- package/types/chart/common/common-transformer.d.ts +7 -0
- package/types/chart/common/common.d.ts +13 -0
- package/types/chart/common/index.d.ts +3 -0
- package/types/chart/common/interface.d.ts +41 -0
- package/types/chart/correlation/correlation-transformer.d.ts +6 -0
- package/types/chart/correlation/correlation.d.ts +13 -0
- package/types/chart/correlation/index.d.ts +3 -0
- package/types/chart/correlation/interface.d.ts +6 -0
- package/types/chart/funnel/3d/funnel-3d.d.ts +14 -0
- package/types/chart/funnel/3d/index.d.ts +1 -0
- package/types/chart/funnel/base.d.ts +9 -0
- package/types/chart/funnel/funnel-3d.d.ts +8 -0
- package/types/chart/funnel/funnel-transformer.d.ts +8 -0
- package/types/chart/funnel/funnel.d.ts +13 -0
- package/types/chart/funnel/index.d.ts +4 -0
- package/types/chart/funnel/interface.d.ts +9 -0
- package/types/chart/gauge/gauge-transformer.d.ts +9 -0
- package/types/chart/gauge/gauge.d.ts +14 -0
- package/types/chart/gauge/index.d.ts +3 -0
- package/types/chart/gauge/interface.d.ts +10 -0
- package/types/chart/heatmap/heatmap-transformer.d.ts +5 -0
- package/types/chart/heatmap/heatmap.d.ts +13 -0
- package/types/chart/heatmap/index.d.ts +3 -0
- package/types/chart/heatmap/interface.d.ts +7 -0
- package/types/chart/histogram/3d/histogram-3d.d.ts +14 -0
- package/types/chart/histogram/3d/index.d.ts +1 -0
- package/types/chart/histogram/base/base.d.ts +8 -0
- package/types/chart/histogram/base/histogram-base-transformer.d.ts +6 -0
- package/types/chart/histogram/base/index.d.ts +2 -0
- package/types/chart/histogram/base.d.ts +6 -0
- package/types/chart/histogram/histogram-3d.d.ts +8 -0
- package/types/chart/histogram/histogram-transformer.d.ts +5 -0
- package/types/chart/histogram/histogram.d.ts +13 -0
- package/types/chart/histogram/index.d.ts +4 -0
- package/types/chart/histogram/interface.d.ts +9 -0
- package/types/chart/index.d.ts +60 -0
- package/types/chart/interface/chart.d.ts +105 -0
- package/types/chart/interface/common.d.ts +47 -0
- package/types/chart/interface/index.d.ts +3 -0
- package/types/chart/interface/type.d.ts +36 -0
- package/types/chart/line/index.d.ts +3 -0
- package/types/chart/line/interface.d.ts +7 -0
- package/types/chart/line/line-transformer.d.ts +6 -0
- package/types/chart/line/line.d.ts +14 -0
- package/types/chart/liquid/index.d.ts +2 -0
- package/types/chart/liquid/interface.d.ts +7 -0
- package/types/chart/liquid/liquid-transformer.d.ts +6 -0
- package/types/chart/liquid/liquid.d.ts +13 -0
- package/types/chart/map/index.d.ts +3 -0
- package/types/chart/map/interface.d.ts +6 -0
- package/types/chart/map/map-transformer.d.ts +8 -0
- package/types/chart/map/map.d.ts +13 -0
- package/types/chart/pie/3d/index.d.ts +1 -0
- package/types/chart/pie/3d/pie-3d.d.ts +17 -0
- package/types/chart/pie/base/base.d.ts +8 -0
- package/types/chart/pie/base/index.d.ts +2 -0
- package/types/chart/pie/base/pie-transformer.d.ts +7 -0
- package/types/chart/pie/base.d.ts +5 -0
- package/types/chart/pie/index.d.ts +4 -0
- package/types/chart/pie/interface.d.ts +11 -0
- package/types/chart/pie/pie-3d.d.ts +9 -0
- package/types/chart/pie/pie.d.ts +13 -0
- package/types/chart/polar/index.d.ts +4 -0
- package/types/chart/polar/interface.d.ts +7 -0
- package/types/chart/polar/polar-transformer.d.ts +9 -0
- package/types/chart/polar/polar.d.ts +9 -0
- package/types/chart/polar/progress-like/index.d.ts +1 -0
- package/types/chart/polar/progress-like/progress-like-transformer.d.ts +8 -0
- package/types/chart/polar/progress-like.d.ts +7 -0
- package/types/chart/polar/rose-like/index.d.ts +1 -0
- package/types/chart/polar/rose-like/rose-like-transformer.d.ts +7 -0
- package/types/chart/polar/rose-like.d.ts +7 -0
- package/types/chart/progress/circular/circular-progress-transformer.d.ts +7 -0
- package/types/chart/progress/circular/circular.d.ts +15 -0
- package/types/chart/progress/circular/index.d.ts +3 -0
- package/types/chart/progress/circular/interface.d.ts +7 -0
- package/types/chart/progress/interface.d.ts +8 -0
- package/types/chart/progress/linear/index.d.ts +3 -0
- package/types/chart/progress/linear/interface.d.ts +9 -0
- package/types/chart/progress/linear/linear-progress-transformer.d.ts +7 -0
- package/types/chart/progress/linear/linear.d.ts +14 -0
- package/types/chart/radar/index.d.ts +3 -0
- package/types/chart/radar/interface.d.ts +7 -0
- package/types/chart/radar/radar-transformer.d.ts +6 -0
- package/types/chart/radar/radar.d.ts +14 -0
- package/types/chart/range-area/index.d.ts +3 -0
- package/types/chart/range-area/interface.d.ts +7 -0
- package/types/chart/range-area/range-area-transformer.d.ts +6 -0
- package/types/chart/range-area/range-area.d.ts +13 -0
- package/types/chart/range-column/3d/index.d.ts +2 -0
- package/types/chart/range-column/3d/range-column-3d-transformer.d.ts +5 -0
- package/types/chart/range-column/3d/range-column-3d.d.ts +13 -0
- package/types/chart/range-column/index.d.ts +4 -0
- package/types/chart/range-column/interface.d.ts +11 -0
- package/types/chart/range-column/range-column-3d.d.ts +9 -0
- package/types/chart/range-column/range-column-transformer.d.ts +6 -0
- package/types/chart/range-column/range-column.d.ts +13 -0
- package/types/chart/rose/index.d.ts +3 -0
- package/types/chart/rose/interface.d.ts +7 -0
- package/types/chart/rose/rose-transformer.d.ts +6 -0
- package/types/chart/rose/rose.d.ts +14 -0
- package/types/chart/sankey/index.d.ts +3 -0
- package/types/chart/sankey/interface.d.ts +6 -0
- package/types/chart/sankey/sankey-transformer.d.ts +6 -0
- package/types/chart/sankey/sankey.d.ts +13 -0
- package/types/chart/scatter/index.d.ts +3 -0
- package/types/chart/scatter/interface.d.ts +7 -0
- package/types/chart/scatter/scatter-transformer.d.ts +5 -0
- package/types/chart/scatter/scatter.d.ts +14 -0
- package/types/chart/sequence/index.d.ts +3 -0
- package/types/chart/sequence/interface.d.ts +24 -0
- package/types/chart/sequence/sequence-transformer.d.ts +7 -0
- package/types/chart/sequence/sequence.d.ts +14 -0
- package/types/chart/stack.d.ts +11 -0
- package/types/chart/sunburst/index.d.ts +3 -0
- package/types/chart/sunburst/interface.d.ts +6 -0
- package/types/chart/sunburst/sunburst-transformer.d.ts +7 -0
- package/types/chart/sunburst/sunburst.d.ts +13 -0
- package/types/chart/treemap/index.d.ts +3 -0
- package/types/chart/treemap/interface.d.ts +6 -0
- package/types/chart/treemap/treemap-transformer.d.ts +7 -0
- package/types/chart/treemap/treemap.d.ts +14 -0
- package/types/chart/util.d.ts +23 -0
- package/types/chart/waterfall/index.d.ts +3 -0
- package/types/chart/waterfall/interface.d.ts +7 -0
- package/types/chart/waterfall/waterfall-transformer.d.ts +7 -0
- package/types/chart/waterfall/waterfall.d.ts +14 -0
- package/types/chart/word-cloud/3d/index.d.ts +2 -0
- package/types/chart/word-cloud/3d/word-cloud-3d-transformer.d.ts +6 -0
- package/types/chart/word-cloud/3d/word-cloud-3d.d.ts +15 -0
- package/types/chart/word-cloud/base/base.d.ts +9 -0
- package/types/chart/word-cloud/base/index.d.ts +2 -0
- package/types/chart/word-cloud/base/word-cloud-base-transformer.d.ts +5 -0
- package/types/chart/word-cloud/base.d.ts +6 -0
- package/types/chart/word-cloud/index.d.ts +4 -0
- package/types/chart/word-cloud/interface.d.ts +10 -0
- package/types/chart/word-cloud/word-cloud-3d.d.ts +11 -0
- package/types/chart/word-cloud/word-cloud-transformer.d.ts +5 -0
- package/types/chart/word-cloud/word-cloud.d.ts +14 -0
- package/types/compile/compilable-base.d.ts +11 -0
- package/types/compile/compiler.d.ts +71 -0
- package/types/compile/data/compilable-data.d.ts +23 -0
- package/types/compile/data/index.d.ts +2 -0
- package/types/compile/data/interface.d.ts +8 -0
- package/types/compile/grammar-item.d.ts +24 -0
- package/types/compile/interface/compilable-item.d.ts +36 -0
- package/types/compile/interface/compiler.d.ts +57 -0
- package/types/compile/interface/index.d.ts +2 -0
- package/types/compile/mark/compilable-mark.d.ts +116 -0
- package/types/compile/mark/index.d.ts +3 -0
- package/types/compile/mark/interface.d.ts +147 -0
- package/types/compile/mark/mark-data.d.ts +9 -0
- package/types/compile/mark/mark-state-manager.d.ts +26 -0
- package/types/compile/mark/util.d.ts +5 -0
- package/types/compile/signal/compilable-signal.d.ts +21 -0
- package/types/compile/signal/index.d.ts +4 -0
- package/types/compile/signal/interface.d.ts +12 -0
- package/types/compile/signal/signal-manager.d.ts +11 -0
- package/types/compile/signal/state-manager.d.ts +12 -0
- package/types/compile/util.d.ts +2 -0
- package/types/component/axis/base-axis.d.ts +151 -0
- package/types/component/axis/cartesian/axis.d.ts +113 -0
- package/types/component/axis/cartesian/band-axis.d.ts +35 -0
- package/types/component/axis/cartesian/config.d.ts +3 -0
- package/types/component/axis/cartesian/index.d.ts +7 -0
- package/types/component/axis/cartesian/interface/common.d.ts +48 -0
- package/types/component/axis/cartesian/interface/index.d.ts +3 -0
- package/types/component/axis/cartesian/interface/spec.d.ts +62 -0
- package/types/component/axis/cartesian/interface/theme.d.ts +22 -0
- package/types/component/axis/cartesian/linear-axis.d.ts +29 -0
- package/types/component/axis/cartesian/log-axis.d.ts +18 -0
- package/types/component/axis/cartesian/symlog-axis.d.ts +18 -0
- package/types/component/axis/cartesian/time-axis.d.ts +23 -0
- package/types/component/axis/cartesian/util/common.d.ts +15 -0
- package/types/component/axis/cartesian/util/index.d.ts +2 -0
- package/types/component/axis/cartesian/util/time.d.ts +80 -0
- package/types/component/axis/index.d.ts +3 -0
- package/types/component/axis/interface/common.d.ts +49 -0
- package/types/component/axis/interface/index.d.ts +3 -0
- package/types/component/axis/interface/spec.d.ts +92 -0
- package/types/component/axis/interface/theme.d.ts +15 -0
- package/types/component/axis/interface.d.ts +137 -0
- package/types/component/axis/mixin/band-axis-mixin.d.ts +59 -0
- package/types/component/axis/mixin/linear-axis-mixin.d.ts +64 -0
- package/types/component/axis/polar/axis.d.ts +89 -0
- package/types/component/axis/polar/band-axis.d.ts +35 -0
- package/types/component/axis/polar/config.d.ts +3 -0
- package/types/component/axis/polar/index.d.ts +4 -0
- package/types/component/axis/polar/interface/common.d.ts +31 -0
- package/types/component/axis/polar/interface/index.d.ts +4 -0
- package/types/component/axis/polar/interface/spec.d.ts +21 -0
- package/types/component/axis/polar/interface/theme.d.ts +11 -0
- package/types/component/axis/polar/linear-axis.d.ts +24 -0
- package/types/component/axis/polar/util/common.d.ts +9 -0
- package/types/component/axis/polar/util/index.d.ts +1 -0
- package/types/component/axis/util.d.ts +35 -0
- package/types/component/base/base-component-transformer.d.ts +10 -0
- package/types/component/base/base-component.d.ts +47 -0
- package/types/component/base/index.d.ts +2 -0
- package/types/component/base/interface.d.ts +8 -0
- package/types/component/base/util.d.ts +3 -0
- package/types/component/brush/brush.d.ts +85 -0
- package/types/component/brush/index.d.ts +2 -0
- package/types/component/brush/interface.d.ts +51 -0
- package/types/component/common/trigger/config.d.ts +22 -0
- package/types/component/common/trigger/desktop.d.ts +10 -0
- package/types/component/common/trigger/interface.d.ts +8 -0
- package/types/component/common/trigger/mobile.d.ts +11 -0
- package/types/component/crosshair/base.d.ts +84 -0
- package/types/component/crosshair/cartesian.d.ts +52 -0
- package/types/component/crosshair/config.d.ts +17 -0
- package/types/component/crosshair/index.d.ts +3 -0
- package/types/component/crosshair/interface/index.d.ts +2 -0
- package/types/component/crosshair/interface/spec.d.ts +76 -0
- package/types/component/crosshair/interface/theme.d.ts +9 -0
- package/types/component/crosshair/polar.d.ts +39 -0
- package/types/component/crosshair/util.d.ts +9 -0
- package/types/component/custom-mark/custom-mark.d.ts +35 -0
- package/types/component/custom-mark/index.d.ts +1 -0
- package/types/component/data-zoom/constant.d.ts +4 -0
- package/types/component/data-zoom/data-filter-base-component.d.ts +129 -0
- package/types/component/data-zoom/data-zoom/data-zoom-transformer.d.ts +9 -0
- package/types/component/data-zoom/data-zoom/data-zoom.d.ts +78 -0
- package/types/component/data-zoom/data-zoom/index.d.ts +3 -0
- package/types/component/data-zoom/data-zoom/interface.d.ts +67 -0
- package/types/component/data-zoom/index.d.ts +2 -0
- package/types/component/data-zoom/interface.d.ts +59 -0
- package/types/component/data-zoom/scroll-bar/index.d.ts +2 -0
- package/types/component/data-zoom/scroll-bar/interface.d.ts +27 -0
- package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +36 -0
- package/types/component/data-zoom/util.d.ts +23 -0
- package/types/component/geo/geo-coordinate.d.ts +61 -0
- package/types/component/geo/index.d.ts +2 -0
- package/types/component/geo/interface.d.ts +27 -0
- package/types/component/geo/projection.d.ts +17 -0
- package/types/component/index.d.ts +47 -0
- package/types/component/indicator/index.d.ts +2 -0
- package/types/component/indicator/indicator.d.ts +43 -0
- package/types/component/indicator/interface.d.ts +37 -0
- package/types/component/indicator/util.d.ts +13 -0
- package/types/component/interface/common.d.ts +39 -0
- package/types/component/interface/index.d.ts +4 -0
- package/types/component/interface/theme.d.ts +44 -0
- package/types/component/interface/tooltip-helper.d.ts +5 -0
- package/types/component/interface/type.d.ts +35 -0
- package/types/component/label/base-label.d.ts +35 -0
- package/types/component/label/index.d.ts +4 -0
- package/types/component/label/interface.d.ts +44 -0
- package/types/component/label/label-transformer.d.ts +8 -0
- package/types/component/label/label.d.ts +55 -0
- package/types/component/label/total-label.d.ts +28 -0
- package/types/component/label/totalLabel.d.ts +27 -0
- package/types/component/label/util.d.ts +65 -0
- package/types/component/legend/base-legend.d.ts +62 -0
- package/types/component/legend/continuous/index.d.ts +2 -0
- package/types/component/legend/continuous/interface.d.ts +59 -0
- package/types/component/legend/continuous/legend.d.ts +28 -0
- package/types/component/legend/continuous/util.d.ts +8 -0
- package/types/component/legend/discrete/index.d.ts +2 -0
- package/types/component/legend/discrete/interface.d.ts +61 -0
- package/types/component/legend/discrete/legend.d.ts +27 -0
- package/types/component/legend/discrete/util.d.ts +3 -0
- package/types/component/legend/index.d.ts +3 -0
- package/types/component/legend/interface.d.ts +40 -0
- package/types/component/legend/util.d.ts +32 -0
- package/types/component/map-label/component.d.ts +55 -0
- package/types/component/map-label/index.d.ts +2 -0
- package/types/component/map-label/interface.d.ts +40 -0
- package/types/component/map-label/layout.d.ts +23 -0
- package/types/component/marker/base-marker.d.ts +72 -0
- package/types/component/marker/interface.d.ts +86 -0
- package/types/component/marker/mark-area/index.d.ts +2 -0
- package/types/component/marker/mark-area/interface/index.d.ts +2 -0
- package/types/component/marker/mark-area/interface/spec.d.ts +24 -0
- package/types/component/marker/mark-area/interface/theme.d.ts +11 -0
- package/types/component/marker/mark-area/mark-area.d.ts +21 -0
- package/types/component/marker/mark-line/index.d.ts +2 -0
- package/types/component/marker/mark-line/interface/index.d.ts +2 -0
- package/types/component/marker/mark-line/interface/spec.d.ts +63 -0
- package/types/component/marker/mark-line/interface/theme.d.ts +13 -0
- package/types/component/marker/mark-line/mark-line.d.ts +22 -0
- package/types/component/marker/mark-line/util.d.ts +9 -0
- package/types/component/marker/mark-point/index.d.ts +2 -0
- package/types/component/marker/mark-point/interface/index.d.ts +2 -0
- package/types/component/marker/mark-point/interface/spec.d.ts +17 -0
- package/types/component/marker/mark-point/interface/theme.d.ts +38 -0
- package/types/component/marker/mark-point/mark-point.d.ts +21 -0
- package/types/component/marker/utils.d.ts +17 -0
- package/types/component/player/index.d.ts +2 -0
- package/types/component/player/interface/index.d.ts +2 -0
- package/types/component/player/interface/spec.d.ts +18 -0
- package/types/component/player/interface/theme.d.ts +32 -0
- package/types/component/player/player.d.ts +53 -0
- package/types/component/player/utils/index.d.ts +1 -0
- package/types/component/player/utils/orient.d.ts +3 -0
- package/types/component/player/utils/transform.d.ts +4 -0
- package/types/component/poptip/index.d.ts +1 -0
- package/types/component/poptip/interface.d.ts +15 -0
- package/types/component/title/index.d.ts +2 -0
- package/types/component/title/interface/index.d.ts +2 -0
- package/types/component/title/interface/spec.d.ts +47 -0
- package/types/component/title/interface/theme.d.ts +19 -0
- package/types/component/title/title.d.ts +49 -0
- package/types/component/title/utils.d.ts +2 -0
- package/types/component/tooltip/handler/base.d.ts +64 -0
- package/types/component/tooltip/handler/canvas/canvas-tooltip-handler.d.ts +19 -0
- package/types/component/tooltip/handler/canvas/index.d.ts +1 -0
- package/types/component/tooltip/handler/constants.d.ts +17 -0
- package/types/component/tooltip/handler/dom/dom-tooltip-handler.d.ts +25 -0
- package/types/component/tooltip/handler/dom/index.d.ts +1 -0
- package/types/component/tooltip/handler/dom/interface.d.ts +57 -0
- package/types/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +25 -0
- package/types/component/tooltip/handler/dom/model/content-column-model.d.ts +23 -0
- package/types/component/tooltip/handler/dom/model/content-model.d.ts +15 -0
- package/types/component/tooltip/handler/dom/model/interface.d.ts +9 -0
- package/types/component/tooltip/handler/dom/model/shape-model.d.ts +23 -0
- package/types/component/tooltip/handler/dom/model/style-constants.d.ts +8 -0
- package/types/component/tooltip/handler/dom/model/text-model.d.ts +5 -0
- package/types/component/tooltip/handler/dom/model/title-model.d.ts +15 -0
- package/types/component/tooltip/handler/dom/model/tooltip-model.d.ts +21 -0
- package/types/component/tooltip/handler/dom/util.d.ts +6 -0
- package/types/component/tooltip/handler/index.d.ts +2 -0
- package/types/component/tooltip/handler/interface/index.d.ts +1 -0
- package/types/component/tooltip/handler/interface/style.d.ts +8 -0
- package/types/component/tooltip/handler/utils/attribute.d.ts +9 -0
- package/types/component/tooltip/handler/utils/common.d.ts +19 -0
- package/types/component/tooltip/handler/utils/compose.d.ts +5 -0
- package/types/component/tooltip/handler/utils/get-spec.d.ts +5 -0
- package/types/component/tooltip/handler/utils/index.d.ts +6 -0
- package/types/component/tooltip/handler/utils/pattern.d.ts +4 -0
- package/types/component/tooltip/handler/utils/position.d.ts +7 -0
- package/types/component/tooltip/index.d.ts +3 -0
- package/types/component/tooltip/interface/common.d.ts +24 -0
- package/types/component/tooltip/interface/event.d.ts +8 -0
- package/types/component/tooltip/interface/index.d.ts +3 -0
- package/types/component/tooltip/interface/spec.d.ts +29 -0
- package/types/component/tooltip/interface/theme.d.ts +49 -0
- package/types/component/tooltip/processor/base.d.ts +18 -0
- package/types/component/tooltip/processor/dimension-tooltip.d.ts +10 -0
- package/types/component/tooltip/processor/index.d.ts +5 -0
- package/types/component/tooltip/processor/interface.d.ts +16 -0
- package/types/component/tooltip/processor/mark-tooltip.d.ts +10 -0
- package/types/component/tooltip/processor/util.d.ts +4 -0
- package/types/component/tooltip/tooltip-transformer.d.ts +8 -0
- package/types/component/tooltip/tooltip.d.ts +68 -0
- package/types/component/tooltip/utils/common.d.ts +5 -0
- package/types/component/tooltip/utils/index.d.ts +2 -0
- package/types/component/tooltip/utils/show-tooltip.d.ts +3 -0
- package/types/component/util.d.ts +2 -0
- package/types/constant/base.d.ts +3 -0
- package/types/constant/box-plot.d.ts +10 -0
- package/types/constant/correlation.d.ts +3 -0
- package/types/constant/event.d.ts +58 -0
- package/types/constant/funnel.d.ts +14 -0
- package/types/constant/hierarchy.d.ts +3 -0
- package/types/constant/index.d.ts +111 -0
- package/types/constant/label.d.ts +6 -0
- package/types/constant/layout.d.ts +3 -0
- package/types/constant/marker.d.ts +4 -0
- package/types/constant/polar.d.ts +13 -0
- package/types/constant/scatter.d.ts +7 -0
- package/types/constant/scroll-bar.d.ts +1 -0
- package/types/constant/sunburst.d.ts +1 -0
- package/types/constant/waterfall.d.ts +1 -0
- package/types/constant/word-cloud.d.ts +7 -0
- package/types/core/expression-function.d.ts +12 -0
- package/types/core/factory.d.ts +65 -0
- package/types/core/index.d.ts +15 -0
- package/types/core/instance-manager.d.ts +10 -0
- package/types/core/interface.d.ts +106 -0
- package/types/core/util.d.ts +3 -0
- package/types/core/vchart.d.ts +185 -0
- package/types/data/initialize.d.ts +21 -0
- package/types/data/parser/array.d.ts +2 -0
- package/types/data/parser/scale.d.ts +2 -0
- package/types/data/register.d.ts +3 -0
- package/types/data/transforms/add-property.d.ts +12 -0
- package/types/data/transforms/aggregation.d.ts +34 -0
- package/types/data/transforms/box-plot.d.ts +5 -0
- package/types/data/transforms/circle-packing.d.ts +7 -0
- package/types/data/transforms/copy-data-view.d.ts +5 -0
- package/types/data/transforms/correlation-center.d.ts +4 -0
- package/types/data/transforms/correlation.d.ts +17 -0
- package/types/data/transforms/data-key.d.ts +20 -0
- package/types/data/transforms/dimension-data.d.ts +10 -0
- package/types/data/transforms/dimension-statistics.d.ts +24 -0
- package/types/data/transforms/drill.d.ts +14 -0
- package/types/data/transforms/flatten.d.ts +9 -0
- package/types/data/transforms/funnel.d.ts +51 -0
- package/types/data/transforms/hierarchy-dimension-statistics.d.ts +3 -0
- package/types/data/transforms/invalid-travel.d.ts +8 -0
- package/types/data/transforms/legend-data/continuous/continuous.d.ts +4 -0
- package/types/data/transforms/legend-data/continuous/index.d.ts +2 -0
- package/types/data/transforms/legend-data/continuous/interface.d.ts +13 -0
- package/types/data/transforms/legend-data/discrete/discrete.d.ts +4 -0
- package/types/data/transforms/legend-data/discrete/index.d.ts +2 -0
- package/types/data/transforms/legend-data/discrete/interface.d.ts +15 -0
- package/types/data/transforms/link-dot-info.d.ts +13 -0
- package/types/data/transforms/lookup.d.ts +12 -0
- package/types/data/transforms/map.d.ts +7 -0
- package/types/data/transforms/marker-filter.d.ts +5 -0
- package/types/data/transforms/obj-flat.d.ts +2 -0
- package/types/data/transforms/pie.d.ts +17 -0
- package/types/data/transforms/regression.d.ts +6 -0
- package/types/data/transforms/sankey-links.d.ts +2 -0
- package/types/data/transforms/sankey-nodes.d.ts +2 -0
- package/types/data/transforms/sankey.d.ts +19 -0
- package/types/data/transforms/stack-split.d.ts +6 -0
- package/types/data/transforms/sunburst.d.ts +7 -0
- package/types/data/transforms/treemap.d.ts +11 -0
- package/types/data/transforms/waterfall.d.ts +25 -0
- package/types/env/env.d.ts +7 -0
- package/types/env/index.d.ts +1 -0
- package/types/event/bubble.d.ts +15 -0
- package/types/event/event-dispatcher.d.ts +27 -0
- package/types/event/event.d.ts +18 -0
- package/types/event/events/base.d.ts +16 -0
- package/types/event/events/dimension/base.d.ts +20 -0
- package/types/event/events/dimension/dimension-click.d.ts +7 -0
- package/types/event/events/dimension/dimension-hover.d.ts +9 -0
- package/types/event/events/dimension/index.d.ts +3 -0
- package/types/event/events/dimension/interface.d.ts +23 -0
- package/types/event/events/dimension/util/cartesian.d.ts +8 -0
- package/types/event/events/dimension/util/common.d.ts +8 -0
- package/types/event/events/dimension/util/index.d.ts +3 -0
- package/types/event/events/dimension/util/polar.d.ts +4 -0
- package/types/event/events/index.d.ts +6 -0
- package/types/event/index.d.ts +2 -0
- package/types/event/interface.d.ts +160 -0
- package/types/index-lark.d.ts +4 -0
- package/types/index-wx-simple.d.ts +4 -0
- package/types/index-wx.d.ts +4 -0
- package/types/index.d.ts +10 -0
- package/types/interaction/config.d.ts +22 -0
- package/types/interaction/dimension-trigger.d.ts +32 -0
- package/types/interaction/drill/drillable.d.ts +28 -0
- package/types/interaction/drill/index.d.ts +1 -0
- package/types/interaction/interaction.d.ts +22 -0
- package/types/interaction/interface.d.ts +72 -0
- package/types/interaction/trigger.d.ts +39 -0
- package/types/interaction/zoom/index.d.ts +1 -0
- package/types/interaction/zoom/zoomable.d.ts +84 -0
- package/types/layout/base-layout.d.ts +77 -0
- package/types/layout/grid-layout/grid-layout.d.ts +50 -0
- package/types/layout/index.d.ts +6 -0
- package/types/layout/interface.d.ts +115 -0
- package/types/layout/layout-item.d.ts +72 -0
- package/types/layout/layout3d/index.d.ts +22 -0
- package/types/layout/util.d.ts +6 -0
- package/types/mark/arc-3d.d.ts +11 -0
- package/types/mark/arc.d.ts +21 -0
- package/types/mark/area.d.ts +12 -0
- package/types/mark/base/base-line.d.ts +8 -0
- package/types/mark/base/base-mark.d.ts +38 -0
- package/types/mark/base/index.d.ts +2 -0
- package/types/mark/box-plot.d.ts +13 -0
- package/types/mark/cell.d.ts +11 -0
- package/types/mark/component.d.ts +15 -0
- package/types/mark/group.d.ts +32 -0
- package/types/mark/image.d.ts +11 -0
- package/types/mark/index.d.ts +22 -0
- package/types/mark/interface/common.d.ts +77 -0
- package/types/mark/interface/index.d.ts +2 -0
- package/types/mark/interface/type.d.ts +25 -0
- package/types/mark/label.d.ts +28 -0
- package/types/mark/line.d.ts +12 -0
- package/types/mark/link-path.d.ts +13 -0
- package/types/mark/liquid.d.ts +13 -0
- package/types/mark/mark-set/index.d.ts +22 -0
- package/types/mark/path.d.ts +11 -0
- package/types/mark/polygon/base-polygon.d.ts +6 -0
- package/types/mark/polygon/polygon.d.ts +11 -0
- package/types/mark/polygon/pyramid-3d.d.ts +10 -0
- package/types/mark/progress-arc.d.ts +14 -0
- package/types/mark/rect-3d.d.ts +11 -0
- package/types/mark/rect.d.ts +11 -0
- package/types/mark/ripple.d.ts +13 -0
- package/types/mark/rule.d.ts +11 -0
- package/types/mark/symbol.d.ts +13 -0
- package/types/mark/text.d.ts +13 -0
- package/types/mark/utils/common.d.ts +3 -0
- package/types/mark/utils/index.d.ts +1 -0
- package/types/model/base-model-transformer.d.ts +25 -0
- package/types/model/base-model.d.ts +81 -0
- package/types/model/index.d.ts +3 -0
- package/types/model/interface.d.ts +153 -0
- package/types/model/layout-item.d.ts +59 -0
- package/types/model/layout-model.d.ts +41 -0
- package/types/model/tooltip-helper.d.ts +25 -0
- package/types/plugin/base/base-plugin-service.d.ts +13 -0
- package/types/plugin/base/base-plugin.d.ts +9 -0
- package/types/plugin/base/interface.d.ts +22 -0
- package/types/plugin/chart/index.d.ts +2 -0
- package/types/plugin/chart/interface.d.ts +26 -0
- package/types/plugin/chart/media-query/index.d.ts +2 -0
- package/types/plugin/chart/media-query/interface/common.d.ts +24 -0
- package/types/plugin/chart/media-query/interface/index.d.ts +2 -0
- package/types/plugin/chart/media-query/interface/spec.d.ts +25 -0
- package/types/plugin/chart/media-query/media-query.d.ts +30 -0
- package/types/plugin/chart/media-query/util/action.d.ts +3 -0
- package/types/plugin/chart/media-query/util/filter.d.ts +5 -0
- package/types/plugin/chart/media-query/util/index.d.ts +2 -0
- package/types/plugin/chart/media-query/util/query.d.ts +3 -0
- package/types/plugin/chart/plugin-service.d.ts +12 -0
- package/types/plugin/chart/register.d.ts +2 -0
- package/types/plugin/components/axis-sync/axis-sync.d.ts +13 -0
- package/types/plugin/components/axis-sync/index.d.ts +1 -0
- package/types/plugin/components/axis-sync/tick-align-transform.d.ts +7 -0
- package/types/plugin/components/axis-sync/zero-align-transform.d.ts +15 -0
- package/types/plugin/components/axis-sync-plugin/axis-sync.d.ts +13 -0
- package/types/plugin/components/axis-sync-plugin/index.d.ts +1 -0
- package/types/plugin/components/axis-sync-plugin/tick-align-transform.d.ts +7 -0
- package/types/plugin/components/axis-sync-plugin/zero-align-transform.d.ts +15 -0
- package/types/plugin/components/basic-plugin.d.ts +9 -0
- package/types/plugin/components/index.d.ts +5 -0
- package/types/plugin/components/interface.d.ts +23 -0
- package/types/plugin/components/plugin-service.d.ts +7 -0
- package/types/plugin/components/register.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/base.d.ts +66 -0
- package/types/plugin/components/tooltip-handler/canvas/canvas-tooltip-handler.d.ts +22 -0
- package/types/plugin/components/tooltip-handler/canvas/index.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/constants.d.ts +17 -0
- package/types/plugin/components/tooltip-handler/dom/constant.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/dom/dom-tooltip-handler.d.ts +28 -0
- package/types/plugin/components/tooltip-handler/dom/index.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/dom/interface.d.ts +57 -0
- package/types/plugin/components/tooltip-handler/dom/model/base-tooltip-model.d.ts +25 -0
- package/types/plugin/components/tooltip-handler/dom/model/content-column-model.d.ts +23 -0
- package/types/plugin/components/tooltip-handler/dom/model/content-model.d.ts +16 -0
- package/types/plugin/components/tooltip-handler/dom/model/interface.d.ts +10 -0
- package/types/plugin/components/tooltip-handler/dom/model/shape-model.d.ts +23 -0
- package/types/plugin/components/tooltip-handler/dom/model/style-constants.d.ts +7 -0
- package/types/plugin/components/tooltip-handler/dom/model/text-model.d.ts +5 -0
- package/types/plugin/components/tooltip-handler/dom/model/title-model.d.ts +15 -0
- package/types/plugin/components/tooltip-handler/dom/model/tooltip-model.d.ts +21 -0
- package/types/plugin/components/tooltip-handler/dom/utils/common.d.ts +3 -0
- package/types/plugin/components/tooltip-handler/dom/utils/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/dom/utils/style.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/interface/common.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/interface/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/interface/style.d.ts +13 -0
- package/types/plugin/components/tooltip-handler/utils/attribute.d.ts +8 -0
- package/types/plugin/components/tooltip-handler/utils/common.d.ts +20 -0
- package/types/plugin/components/tooltip-handler/utils/compose.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/utils/get-spec.d.ts +5 -0
- package/types/plugin/components/tooltip-handler/utils/index.d.ts +6 -0
- package/types/plugin/components/tooltip-handler/utils/pattern.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/utils/position.d.ts +7 -0
- package/types/plugin/index.d.ts +1 -0
- package/types/plugin/interface.d.ts +4 -0
- package/types/plugin/series/interface.d.ts +9 -0
- package/types/region/index.d.ts +3 -0
- package/types/region/interface.d.ts +66 -0
- package/types/region/region-transformer.d.ts +8 -0
- package/types/region/region.d.ts +88 -0
- package/types/scale/color-ordinal-scale.d.ts +8 -0
- package/types/scale/global-scale.d.ts +37 -0
- package/types/scale/interface.d.ts +18 -0
- package/types/series/area/animation.d.ts +8 -0
- package/types/series/area/area-transformer.d.ts +7 -0
- package/types/series/area/area.d.ts +33 -0
- package/types/series/area/constant.d.ts +2 -0
- package/types/series/area/interface.d.ts +26 -0
- package/types/series/area/tooltip-helpter.d.ts +5 -0
- package/types/series/bar/animation.d.ts +14 -0
- package/types/series/bar/bar-3d.d.ts +14 -0
- package/types/series/bar/bar-transformer.d.ts +5 -0
- package/types/series/bar/bar.d.ts +67 -0
- package/types/series/bar/constant.d.ts +3 -0
- package/types/series/bar/interface.d.ts +42 -0
- package/types/series/base/base-series-transformer.d.ts +18 -0
- package/types/series/base/base-series.d.ts +228 -0
- package/types/series/base/constant.d.ts +6 -0
- package/types/series/base/group.d.ts +12 -0
- package/types/series/base/index.d.ts +2 -0
- package/types/series/base/series-data.d.ts +5 -0
- package/types/series/base/tooltip-helper.d.ts +31 -0
- package/types/series/box-plot/box-plot.d.ts +62 -0
- package/types/series/box-plot/constant.d.ts +2 -0
- package/types/series/box-plot/interface.d.ts +22 -0
- package/types/series/box-plot/tooltip-helper.d.ts +12 -0
- package/types/series/cartesian/cartesian.d.ts +105 -0
- package/types/series/cartesian/index.d.ts +2 -0
- package/types/series/cartesian/interface.d.ts +15 -0
- package/types/series/circle-packing/animation.d.ts +5 -0
- package/types/series/circle-packing/circle-packing.d.ts +45 -0
- package/types/series/circle-packing/constant.d.ts +2 -0
- package/types/series/circle-packing/interface.d.ts +20 -0
- package/types/series/circle-packing/tooltip-helper.d.ts +5 -0
- package/types/series/correlation/animation.d.ts +8 -0
- package/types/series/correlation/constant.d.ts +2 -0
- package/types/series/correlation/correlation-transformer.d.ts +5 -0
- package/types/series/correlation/correlation.d.ts +56 -0
- package/types/series/correlation/interface.d.ts +37 -0
- package/types/series/dot/config.d.ts +4 -0
- package/types/series/dot/constant.d.ts +2 -0
- package/types/series/dot/dot.d.ts +72 -0
- package/types/series/dot/interface.d.ts +40 -0
- package/types/series/dot/tooltip-helper.d.ts +7 -0
- package/types/series/funnel/3d/funnel-3d-transformer.d.ts +6 -0
- package/types/series/funnel/3d/funnel-3d.d.ts +22 -0
- package/types/series/funnel/3d/index.d.ts +2 -0
- package/types/series/funnel/constant.d.ts +3 -0
- package/types/series/funnel/funnel-3d.d.ts +22 -0
- package/types/series/funnel/funnel-transformer.d.ts +5 -0
- package/types/series/funnel/funnel.d.ts +97 -0
- package/types/series/funnel/interface.d.ts +60 -0
- package/types/series/funnel/tooltip-helper.d.ts +9 -0
- package/types/series/gauge/animation.d.ts +7 -0
- package/types/series/gauge/constant.d.ts +3 -0
- package/types/series/gauge/gauge-pointer.d.ts +38 -0
- package/types/series/gauge/gauge-transformer.d.ts +5 -0
- package/types/series/gauge/gauge.d.ts +33 -0
- package/types/series/gauge/index.d.ts +3 -0
- package/types/series/gauge/interface.d.ts +50 -0
- package/types/series/geo/geo.d.ts +55 -0
- package/types/series/geo/interface.d.ts +4 -0
- package/types/series/heatmap/animation.d.ts +4 -0
- package/types/series/heatmap/constant.d.ts +2 -0
- package/types/series/heatmap/heatmap-transformer.d.ts +5 -0
- package/types/series/heatmap/heatmap.d.ts +41 -0
- package/types/series/heatmap/interface.d.ts +23 -0
- package/types/series/heatmap/tooltip-helper.d.ts +6 -0
- package/types/series/index.d.ts +70 -0
- package/types/series/interface/common.d.ts +81 -0
- package/types/series/interface/index.d.ts +5 -0
- package/types/series/interface/series.d.ts +179 -0
- package/types/series/interface/theme.d.ts +106 -0
- package/types/series/interface/tooltip-helper.d.ts +13 -0
- package/types/series/interface/type.d.ts +96 -0
- package/types/series/line/animation.d.ts +7 -0
- package/types/series/line/constant.d.ts +2 -0
- package/types/series/line/interface.d.ts +25 -0
- package/types/series/line/line.d.ts +28 -0
- package/types/series/link/constant.d.ts +2 -0
- package/types/series/link/interface.d.ts +25 -0
- package/types/series/link/link.d.ts +53 -0
- package/types/series/link/tooltip-helper.d.ts +6 -0
- package/types/series/liquid/animation.d.ts +14 -0
- package/types/series/liquid/constant.d.ts +2 -0
- package/types/series/liquid/interface.d.ts +35 -0
- package/types/series/liquid/liquid.d.ts +50 -0
- package/types/series/liquid/tooltip-helper.d.ts +9 -0
- package/types/series/liquid/util.d.ts +2 -0
- package/types/series/map/constant.d.ts +2 -0
- package/types/series/map/geo-source.d.ts +20 -0
- package/types/series/map/interface.d.ts +31 -0
- package/types/series/map/map-transformer.d.ts +5 -0
- package/types/series/map/map.d.ts +53 -0
- package/types/series/map/tooltip-helper.d.ts +5 -0
- package/types/series/mixin/constant.d.ts +2 -0
- package/types/series/mixin/line-mixin-transformer.d.ts +5 -0
- package/types/series/mixin/line-mixin.d.ts +62 -0
- package/types/series/pie/3d/index.d.ts +2 -0
- package/types/series/pie/3d/pie-3d-transformer.d.ts +5 -0
- package/types/series/pie/3d/pie-3d.d.ts +20 -0
- package/types/series/pie/animation/animation.d.ts +25 -0
- package/types/series/pie/animation/centerOffset.d.ts +6 -0
- package/types/series/pie/constant.d.ts +3 -0
- package/types/series/pie/interface.d.ts +70 -0
- package/types/series/pie/pie-3d.d.ts +16 -0
- package/types/series/pie/pie-transformer.d.ts +9 -0
- package/types/series/pie/pie.d.ts +80 -0
- package/types/series/polar/animation.d.ts +41 -0
- package/types/series/polar/index.d.ts +3 -0
- package/types/series/polar/interface.d.ts +22 -0
- package/types/series/polar/polar.d.ts +60 -0
- package/types/series/polar/progress-like/animation.d.ts +7 -0
- package/types/series/polar/progress-like/constant.d.ts +2 -0
- package/types/series/polar/progress-like/index.d.ts +3 -0
- package/types/series/polar/progress-like/interface.d.ts +21 -0
- package/types/series/polar/progress-like/progress-like.d.ts +34 -0
- package/types/series/polar/rose-like/index.d.ts +2 -0
- package/types/series/polar/rose-like/interface.d.ts +3 -0
- package/types/series/polar/rose-like/rose-like.d.ts +13 -0
- package/types/series/progress/circular/circular.d.ts +28 -0
- package/types/series/progress/circular/constant.d.ts +2 -0
- package/types/series/progress/circular/index.d.ts +1 -0
- package/types/series/progress/circular/interface.d.ts +20 -0
- package/types/series/progress/interface.d.ts +7 -0
- package/types/series/progress/linear/animation.d.ts +10 -0
- package/types/series/progress/linear/constant.d.ts +2 -0
- package/types/series/progress/linear/index.d.ts +1 -0
- package/types/series/progress/linear/interface.d.ts +26 -0
- package/types/series/progress/linear/linear.d.ts +26 -0
- package/types/series/progress/linear/tooltip-helper.d.ts +7 -0
- package/types/series/radar/animation.d.ts +73 -0
- package/types/series/radar/constant.d.ts +2 -0
- package/types/series/radar/interface.d.ts +22 -0
- package/types/series/radar/radar.d.ts +31 -0
- package/types/series/range-area/constant.d.ts +2 -0
- package/types/series/range-area/interface.d.ts +7 -0
- package/types/series/range-area/range-area.d.ts +15 -0
- package/types/series/range-area/tooltip-helper.d.ts +7 -0
- package/types/series/range-column/3d/index.d.ts +2 -0
- package/types/series/range-column/3d/range-column-3d-transformer.d.ts +5 -0
- package/types/series/range-column/3d/range-column-3d.d.ts +15 -0
- package/types/series/range-column/animation.d.ts +10 -0
- package/types/series/range-column/constant.d.ts +3 -0
- package/types/series/range-column/interface.d.ts +56 -0
- package/types/series/range-column/range-column-3d.d.ts +15 -0
- package/types/series/range-column/range-column-transformer.d.ts +5 -0
- package/types/series/range-column/range-column.d.ts +32 -0
- package/types/series/range-column/tooltip-helper.d.ts +6 -0
- package/types/series/rose/animation.d.ts +13 -0
- package/types/series/rose/constant.d.ts +2 -0
- package/types/series/rose/interface.d.ts +19 -0
- package/types/series/rose/rose-transformer.d.ts +5 -0
- package/types/series/rose/rose.d.ts +33 -0
- package/types/series/sankey/animation.d.ts +13 -0
- package/types/series/sankey/constant.d.ts +2 -0
- package/types/series/sankey/interface.d.ts +108 -0
- package/types/series/sankey/sankey.d.ts +67 -0
- package/types/series/sankey/tooltip-helper.d.ts +7 -0
- package/types/series/scatter/animation.d.ts +8 -0
- package/types/series/scatter/constant.d.ts +2 -0
- package/types/series/scatter/interface.d.ts +24 -0
- package/types/series/scatter/scatter-transformer.d.ts +5 -0
- package/types/series/scatter/scatter.d.ts +39 -0
- package/types/series/sunburst/animation/enter.d.ts +3 -0
- package/types/series/sunburst/animation/exit.d.ts +3 -0
- package/types/series/sunburst/animation/index.d.ts +6 -0
- package/types/series/sunburst/animation/interface.d.ts +12 -0
- package/types/series/sunburst/animation/preset.d.ts +3 -0
- package/types/series/sunburst/animation/utils.d.ts +3 -0
- package/types/series/sunburst/constant.d.ts +2 -0
- package/types/series/sunburst/interface.d.ts +41 -0
- package/types/series/sunburst/sunburst.d.ts +60 -0
- package/types/series/sunburst/tooltip-helper.d.ts +5 -0
- package/types/series/treemap/animation.d.ts +5 -0
- package/types/series/treemap/constant.d.ts +2 -0
- package/types/series/treemap/interface.d.ts +41 -0
- package/types/series/treemap/tooltip-helper.d.ts +5 -0
- package/types/series/treemap/treemap-transform.d.ts +6 -0
- package/types/series/treemap/treemap.d.ts +61 -0
- package/types/series/util/label-mark.d.ts +4 -0
- package/types/series/util/spec.d.ts +2 -0
- package/types/series/util/stack.d.ts +9 -0
- package/types/series/util/utils.d.ts +10 -0
- package/types/series/waterfall/animation.d.ts +5 -0
- package/types/series/waterfall/constant.d.ts +2 -0
- package/types/series/waterfall/interface.d.ts +60 -0
- package/types/series/waterfall/waterfall-transformer.d.ts +5 -0
- package/types/series/waterfall/waterfall.d.ts +41 -0
- package/types/series/word-cloud/animation.d.ts +14 -0
- package/types/series/word-cloud/base.d.ts +66 -0
- package/types/series/word-cloud/config.d.ts +16 -0
- package/types/series/word-cloud/constant.d.ts +2 -0
- package/types/series/word-cloud/interface.d.ts +111 -0
- package/types/series/word-cloud/word-cloud-3d.d.ts +34 -0
- package/types/series/word-cloud/word-cloud.d.ts +9 -0
- package/types/theme/builtin/common/component/axis/band-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/cartesian-axis.d.ts +4 -0
- package/types/theme/builtin/common/component/axis/common-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/linear-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/polar-axis.d.ts +3 -0
- package/types/theme/builtin/common/component/brush.d.ts +2 -0
- package/types/theme/builtin/common/component/crosshair.d.ts +2 -0
- package/types/theme/builtin/common/component/data-zoom.d.ts +2 -0
- package/types/theme/builtin/common/component/index.d.ts +2 -0
- package/types/theme/builtin/common/component/indicator.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/discrete-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/map-label.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-area.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-line.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-point.d.ts +2 -0
- package/types/theme/builtin/common/component/player.d.ts +2 -0
- package/types/theme/builtin/common/component/poptip.d.ts +2 -0
- package/types/theme/builtin/common/component/scroll-bar.d.ts +2 -0
- package/types/theme/builtin/common/component/title.d.ts +2 -0
- package/types/theme/builtin/common/component/tooltip.d.ts +3 -0
- package/types/theme/builtin/common/component/total-label.d.ts +2 -0
- package/types/theme/builtin/common/constants.d.ts +2 -0
- package/types/theme/builtin/common/legacy/index.d.ts +1 -0
- package/types/theme/builtin/common/legacy/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/index.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common/mark.d.ts +3 -0
- package/types/theme/builtin/common/series/area.d.ts +2 -0
- package/types/theme/builtin/common/series/bar.d.ts +2 -0
- package/types/theme/builtin/common/series/bar3d.d.ts +2 -0
- package/types/theme/builtin/common/series/box-plot.d.ts +2 -0
- package/types/theme/builtin/common/series/circle-packing.d.ts +2 -0
- package/types/theme/builtin/common/series/circular-progress.d.ts +2 -0
- package/types/theme/builtin/common/series/correlation.d.ts +2 -0
- package/types/theme/builtin/common/series/dot.d.ts +2 -0
- package/types/theme/builtin/common/series/funnel.d.ts +2 -0
- package/types/theme/builtin/common/series/funnel3d.d.ts +2 -0
- package/types/theme/builtin/common/series/gauge-pointer.d.ts +2 -0
- package/types/theme/builtin/common/series/gauge.d.ts +2 -0
- package/types/theme/builtin/common/series/heatmap.d.ts +2 -0
- package/types/theme/builtin/common/series/index.d.ts +2 -0
- package/types/theme/builtin/common/series/line.d.ts +2 -0
- package/types/theme/builtin/common/series/linear-progress.d.ts +2 -0
- package/types/theme/builtin/common/series/link.d.ts +2 -0
- package/types/theme/builtin/common/series/liquid.d.ts +2 -0
- package/types/theme/builtin/common/series/map.d.ts +2 -0
- package/types/theme/builtin/common/series/pie.d.ts +2 -0
- package/types/theme/builtin/common/series/pie3d.d.ts +2 -0
- package/types/theme/builtin/common/series/radar.d.ts +2 -0
- package/types/theme/builtin/common/series/rangeColumn.d.ts +2 -0
- package/types/theme/builtin/common/series/rose.d.ts +2 -0
- package/types/theme/builtin/common/series/sankey.d.ts +2 -0
- package/types/theme/builtin/common/series/scatter.d.ts +2 -0
- package/types/theme/builtin/common/series/sunburst.d.ts +2 -0
- package/types/theme/builtin/common/series/treemap.d.ts +2 -0
- package/types/theme/builtin/common/series/waterfall.d.ts +2 -0
- package/types/theme/builtin/common/series/word-cloud.d.ts +2 -0
- package/types/theme/builtin/common/series/word-cloud3d.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/band-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/cartesian-axis.d.ts +4 -0
- package/types/theme/builtin/common-mobile/component/axis/common-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/linear-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/polar-axis.d.ts +3 -0
- package/types/theme/builtin/common-mobile/component/crosshair.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/data-zoom.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/index.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/indicator.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/discrete-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/map-label.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-area.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-line.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-point.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/player.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/poptip.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/title.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/tooltip.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/total-label.d.ts +2 -0
- package/types/theme/builtin/common-mobile/constants.d.ts +2 -0
- package/types/theme/builtin/common-mobile/mark.d.ts +3 -0
- package/types/theme/builtin/dark/color-scheme.d.ts +2 -0
- package/types/theme/builtin/dark/index.d.ts +2 -0
- package/types/theme/builtin/dark-mobile/index.d.ts +2 -0
- package/types/theme/builtin/index.d.ts +12 -0
- package/types/theme/builtin/light/color-scheme.d.ts +2 -0
- package/types/theme/builtin/light/index.d.ts +2 -0
- package/types/theme/builtin/light-mobile/index.d.ts +2 -0
- package/types/theme/color-scheme/builtin/default.d.ts +2 -0
- package/types/theme/color-scheme/builtin/index.d.ts +2 -0
- package/types/theme/color-scheme/builtin/interface.d.ts +30 -0
- package/types/theme/color-scheme/index.d.ts +3 -0
- package/types/theme/color-scheme/interface.d.ts +30 -0
- package/types/theme/color-scheme/legacy.d.ts +5 -0
- package/types/theme/color-scheme/util.d.ts +10 -0
- package/types/theme/index.d.ts +4 -0
- package/types/theme/interface.d.ts +56 -0
- package/types/theme/theme-manager.d.ts +13 -0
- package/types/theme/util.d.ts +5 -0
- package/types/typings/common.d.ts +7 -0
- package/types/typings/coordinate.d.ts +9 -0
- package/types/typings/cursor.d.ts +1 -0
- package/types/typings/data.d.ts +2 -0
- package/types/typings/event.d.ts +1 -0
- package/types/typings/geo.d.ts +3 -0
- package/types/typings/group.d.ts +8 -0
- package/types/typings/index.d.ts +15 -0
- package/types/typings/interpolate.d.ts +5 -0
- package/types/typings/layout.d.ts +24 -0
- package/types/typings/line-stroke.d.ts +3 -0
- package/types/typings/params.d.ts +17 -0
- package/types/typings/scale.d.ts +33 -0
- package/types/typings/shape.d.ts +6 -0
- package/types/typings/space.d.ts +19 -0
- package/types/typings/spec/chart.d.ts +62 -0
- package/types/typings/spec/common.d.ts +275 -0
- package/types/typings/spec/index.d.ts +5 -0
- package/types/typings/spec/media-query.d.ts +28 -0
- package/types/typings/tooltip/common.d.ts +8 -0
- package/types/typings/tooltip/handler.d.ts +8 -0
- package/types/typings/tooltip/index.d.ts +6 -0
- package/types/typings/tooltip/label.d.ts +10 -0
- package/types/typings/tooltip/line.d.ts +23 -0
- package/types/typings/tooltip/position.d.ts +31 -0
- package/types/typings/tooltip/shape.d.ts +23 -0
- package/types/typings/tooltip/tooltip.d.ts +26 -0
- package/types/typings/visual.d.ts +293 -0
- package/types/util/array.d.ts +3 -0
- package/types/util/color.d.ts +1 -0
- package/types/util/data.d.ts +38 -0
- package/types/util/debug.d.ts +9 -0
- package/types/util/env.d.ts +7 -0
- package/types/util/hierarchy.d.ts +3 -0
- package/types/util/id.d.ts +2 -0
- package/types/util/image.d.ts +4 -0
- package/types/util/index.d.ts +22 -0
- package/types/util/math.d.ts +28 -0
- package/types/util/model.d.ts +5 -0
- package/types/util/object.d.ts +3 -0
- package/types/util/scale.d.ts +21 -0
- package/types/util/space.d.ts +13 -0
- package/types/util/spec/background.d.ts +4 -0
- package/types/util/spec/clone-deep.d.ts +1 -0
- package/types/util/spec/common.d.ts +5 -0
- package/types/util/spec/index.d.ts +7 -0
- package/types/util/spec/merge-spec.d.ts +5 -0
- package/types/util/spec/merge-theme.d.ts +6 -0
- package/types/util/spec/preprocess.d.ts +3 -0
- package/types/util/spec/transform.d.ts +5 -0
- package/types/util/style.d.ts +4 -0
- package/types/util/text.d.ts +5 -0
- package/types/util/type.d.ts +7 -0
- package/types/vchart-all.d.ts +2 -0
- package/types/vchart-simple.d.ts +4 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ITooltipTextTheme } from '../../component/tooltip/interface/theme';
|
|
2
|
+
import type { TooltipContentProperty } from './common';
|
|
3
|
+
export interface ITooltipLabelPattern {
|
|
4
|
+
keyStyle?: TooltipContentProperty<ITooltipTextTheme>;
|
|
5
|
+
valueStyle?: TooltipContentProperty<ITooltipTextTheme>;
|
|
6
|
+
}
|
|
7
|
+
export interface ITooltipLabelActual {
|
|
8
|
+
keyStyle?: ITooltipTextTheme;
|
|
9
|
+
valueStyle?: ITooltipTextTheme;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { TooltipContentProperty } from './common';
|
|
2
|
+
import type { ITooltipLabelActual, ITooltipLabelPattern } from './label';
|
|
3
|
+
import type { ITooltipShapeActual, ITooltipShapePattern } from './shape';
|
|
4
|
+
import type { TooltipRichTextAttrs } from '@visactor/vrender-components';
|
|
5
|
+
export interface IToolTipLinePattern extends ITooltipShapePattern, ITooltipLabelPattern {
|
|
6
|
+
key?: TooltipContentProperty<string>;
|
|
7
|
+
value?: TooltipContentProperty<string | TooltipRichTextAttrs>;
|
|
8
|
+
visible?: TooltipContentProperty<boolean>;
|
|
9
|
+
isKeyAdaptive?: TooltipContentProperty<boolean>;
|
|
10
|
+
spaceRow?: TooltipContentProperty<number>;
|
|
11
|
+
keyTimeFormat?: string;
|
|
12
|
+
keyTimeFormatMode?: 'utc' | 'local';
|
|
13
|
+
valueTimeFormat?: string;
|
|
14
|
+
valueTimeFormatMode?: 'utc' | 'local';
|
|
15
|
+
}
|
|
16
|
+
export interface IToolTipLineActual extends ITooltipShapeActual, ITooltipLabelActual {
|
|
17
|
+
key?: string;
|
|
18
|
+
value?: string | TooltipRichTextAttrs;
|
|
19
|
+
visible?: boolean;
|
|
20
|
+
isKeyAdaptive?: boolean;
|
|
21
|
+
spaceRow?: number;
|
|
22
|
+
datum?: any;
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type ITooltipPositionCallback = (event: MouseEvent) => number;
|
|
2
|
+
export interface ITooltipPositionPattern {
|
|
3
|
+
left?: number | ITooltipPositionCallback;
|
|
4
|
+
right?: number | ITooltipPositionCallback;
|
|
5
|
+
top?: number | ITooltipPositionCallback;
|
|
6
|
+
bottom?: number | ITooltipPositionCallback;
|
|
7
|
+
}
|
|
8
|
+
export declare const enum TooltipFixedPosition {
|
|
9
|
+
top = "top",
|
|
10
|
+
bottom = "bottom",
|
|
11
|
+
left = "left",
|
|
12
|
+
right = "right",
|
|
13
|
+
tl = "tl",
|
|
14
|
+
lt = "lt",
|
|
15
|
+
tr = "tr",
|
|
16
|
+
rt = "rt",
|
|
17
|
+
bl = "bl",
|
|
18
|
+
lb = "lb",
|
|
19
|
+
br = "br",
|
|
20
|
+
rb = "rb",
|
|
21
|
+
inside = "inside"
|
|
22
|
+
}
|
|
23
|
+
export declare const enum TooltipPositionMode {
|
|
24
|
+
pointer = "pointer",
|
|
25
|
+
mark = "mark"
|
|
26
|
+
}
|
|
27
|
+
export type TooltipPosition = ITooltipPositionPattern | TooltipFixedPosition;
|
|
28
|
+
export interface ITooltipPositionActual {
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ShapeType } from '../shape';
|
|
2
|
+
import type { TooltipContentProperty } from './common';
|
|
3
|
+
export interface ITooltipShapePattern {
|
|
4
|
+
seriesId?: number;
|
|
5
|
+
hasShape?: boolean;
|
|
6
|
+
shapeType?: TooltipContentProperty<ShapeType | string>;
|
|
7
|
+
shapeFill?: TooltipContentProperty<string>;
|
|
8
|
+
shapeStroke?: TooltipContentProperty<string>;
|
|
9
|
+
shapeLineWidth?: TooltipContentProperty<number>;
|
|
10
|
+
shapeSize?: TooltipContentProperty<number>;
|
|
11
|
+
shapeColor?: TooltipContentProperty<string>;
|
|
12
|
+
shapeHollow?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ITooltipShapeActual {
|
|
15
|
+
hasShape?: boolean;
|
|
16
|
+
shapeType?: ShapeType | string;
|
|
17
|
+
shapeFill?: string;
|
|
18
|
+
shapeStroke?: string;
|
|
19
|
+
shapeLineWidth?: number;
|
|
20
|
+
shapeSize?: number;
|
|
21
|
+
shapeColor?: string;
|
|
22
|
+
shapeHollow?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { MaybeArray } from '../common';
|
|
2
|
+
import type { TooltipPatternProperty, TooltipUpdateCallback } from './common';
|
|
3
|
+
import type { TooltipActiveType, TooltipData } from './handler';
|
|
4
|
+
import type { IToolTipLineActual, IToolTipLinePattern } from './line';
|
|
5
|
+
import type { ITooltipPositionActual, TooltipPositionMode, TooltipPosition } from './position';
|
|
6
|
+
import type { ITooltipShapePattern } from './shape';
|
|
7
|
+
export interface ITooltipPattern extends ITooltipShapePattern {
|
|
8
|
+
visible?: TooltipPatternProperty<boolean>;
|
|
9
|
+
title?: TooltipPatternProperty<IToolTipLinePattern>;
|
|
10
|
+
content?: MaybeArray<TooltipPatternProperty<MaybeArray<IToolTipLinePattern>>>;
|
|
11
|
+
position?: TooltipPatternProperty<TooltipPosition>;
|
|
12
|
+
positionMode?: TooltipPatternProperty<TooltipPositionMode>;
|
|
13
|
+
updateTitle?: TooltipUpdateCallback<IToolTipLineActual>;
|
|
14
|
+
updateContent?: TooltipUpdateCallback<IToolTipLineActual[]>;
|
|
15
|
+
updatePosition?: TooltipUpdateCallback<ITooltipPositionActual>;
|
|
16
|
+
maxLineCount?: number;
|
|
17
|
+
activeType?: TooltipActiveType;
|
|
18
|
+
}
|
|
19
|
+
export interface IToolTipActual {
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
title?: IToolTipLineActual;
|
|
22
|
+
content?: IToolTipLineActual[];
|
|
23
|
+
activeType?: TooltipActiveType;
|
|
24
|
+
position?: ITooltipPositionActual;
|
|
25
|
+
data?: TooltipData;
|
|
26
|
+
}
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import type { PopTipAttributes } from '@visactor/vrender-components';
|
|
2
|
+
import type { DataView } from '@visactor/vdataset';
|
|
3
|
+
import type { Cursor } from './cursor';
|
|
4
|
+
import type { InterpolateType } from './interpolate';
|
|
5
|
+
import type { ScaleType } from './scale';
|
|
6
|
+
import type { ShapeType } from './shape';
|
|
7
|
+
import type { IPoint } from './coordinate';
|
|
8
|
+
import type { IAttributeOpt, IModelMarkAttributeContext } from '../compile/mark';
|
|
9
|
+
import type { Datum, StringOrNumber } from './common';
|
|
10
|
+
import type { IPadding } from '@visactor/vutils';
|
|
11
|
+
import type { IColorKey } from '../theme/color-scheme/interface';
|
|
12
|
+
import type { IRepeatType, TextAlignType, TextBaselineType, IRichTextCharacter } from '@visactor/vrender-core';
|
|
13
|
+
export interface IVisualSpecBase<D, T> {
|
|
14
|
+
type: ScaleType;
|
|
15
|
+
domain: D[];
|
|
16
|
+
range: T[];
|
|
17
|
+
specified?: {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface IVisualSpecStyle<D, T> extends IVisualSpecBase<D, T> {
|
|
22
|
+
field?: string;
|
|
23
|
+
}
|
|
24
|
+
export type IDataDomainSpec = {
|
|
25
|
+
dataId: string;
|
|
26
|
+
fields: string[];
|
|
27
|
+
};
|
|
28
|
+
export interface IVisualSpecScale<D, T> extends Omit<IVisualSpecBase<D, T>, 'domain'> {
|
|
29
|
+
id: string;
|
|
30
|
+
domain: IVisualSpecBase<D, T>['domain'] | IDataDomainSpec[];
|
|
31
|
+
}
|
|
32
|
+
export type IVisual<D = any, R = any> = IVisualSpecStyle<D, R> | IVisualScale;
|
|
33
|
+
export interface IVisualScale {
|
|
34
|
+
scale: string;
|
|
35
|
+
field?: string;
|
|
36
|
+
changeDomain?: 'none' | 'replace' | 'expand';
|
|
37
|
+
}
|
|
38
|
+
export type FunctionType<T> = (datum: Datum, context: IModelMarkAttributeContext, opt?: IAttributeOpt, source?: DataView) => T;
|
|
39
|
+
export type ValueType<T> = T;
|
|
40
|
+
export type VisualType<T> = ValueType<T> | FunctionType<T> | IVisual<unknown, T>;
|
|
41
|
+
export type TextureType = 'circle' | 'dimond' | 'rect' | 'vertical-line' | 'horizontal-line' | 'bias-lr' | 'bias-rl' | 'grid';
|
|
42
|
+
export type ConvertToMarkStyleSpec<T extends Record<string, any>> = {
|
|
43
|
+
[key in keyof T]: VisualType<T[key]>;
|
|
44
|
+
};
|
|
45
|
+
export interface IBorder {
|
|
46
|
+
distance: number | string;
|
|
47
|
+
stroke?: string | IGradient;
|
|
48
|
+
strokeOpacity?: number;
|
|
49
|
+
lineWidth?: number;
|
|
50
|
+
lineDash?: number[];
|
|
51
|
+
lineDashOffset?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface ICommonSpec {
|
|
54
|
+
visible?: boolean;
|
|
55
|
+
x?: number;
|
|
56
|
+
y?: number;
|
|
57
|
+
z?: number;
|
|
58
|
+
stroke?: string | IGradient | false | (number | boolean)[] | IColorKey;
|
|
59
|
+
strokeOpacity?: number;
|
|
60
|
+
opacity?: number;
|
|
61
|
+
lineWidth?: number;
|
|
62
|
+
lineDash?: number[];
|
|
63
|
+
lineDashOffset?: number;
|
|
64
|
+
cursor?: Cursor;
|
|
65
|
+
zIndex?: number;
|
|
66
|
+
angle?: number;
|
|
67
|
+
anchor?: [number, number];
|
|
68
|
+
scaleX?: number;
|
|
69
|
+
scaleY?: number;
|
|
70
|
+
scaleCenter?: [number | string, number | string];
|
|
71
|
+
beta?: number;
|
|
72
|
+
alpha?: number;
|
|
73
|
+
anchor3d?: [number, number];
|
|
74
|
+
pickMode?: 'accurate' | 'imprecise' | 'custom';
|
|
75
|
+
boundsMode?: 'accurate' | 'imprecise';
|
|
76
|
+
pickStrokeBuffer?: number;
|
|
77
|
+
texture?: TextureType | string;
|
|
78
|
+
textureColor?: string;
|
|
79
|
+
textureSize?: number;
|
|
80
|
+
texturePadding?: number;
|
|
81
|
+
outerBorder?: IBorder;
|
|
82
|
+
innerBorder?: IBorder;
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}
|
|
85
|
+
export interface IFillMarkSpec extends ICommonSpec {
|
|
86
|
+
fill?: VisualType<string> | IGradient | false | IColorKey;
|
|
87
|
+
fillOpacity?: number;
|
|
88
|
+
background?: string | HTMLImageElement | HTMLCanvasElement | null;
|
|
89
|
+
}
|
|
90
|
+
export interface ISymbolMarkSpec extends IFillMarkSpec {
|
|
91
|
+
dx?: number;
|
|
92
|
+
dy?: number;
|
|
93
|
+
size?: number | number[];
|
|
94
|
+
shape?: ShapeType | string;
|
|
95
|
+
symbolType?: ShapeType | string;
|
|
96
|
+
scaleX?: number;
|
|
97
|
+
scaleY?: number;
|
|
98
|
+
}
|
|
99
|
+
export interface ILineLikeMarkSpec extends IFillMarkSpec {
|
|
100
|
+
curveType?: InterpolateType;
|
|
101
|
+
defined?: boolean;
|
|
102
|
+
}
|
|
103
|
+
export interface IAreaMarkSpec extends ILineLikeMarkSpec {
|
|
104
|
+
x1?: number;
|
|
105
|
+
y1?: number;
|
|
106
|
+
orient?: 'horizontal' | 'vertical';
|
|
107
|
+
}
|
|
108
|
+
export interface ILineMarkSpec extends ILineLikeMarkSpec {
|
|
109
|
+
lineCap?: LineStrokeCap;
|
|
110
|
+
lineJoin?: LineStrokeJoin;
|
|
111
|
+
miterLimit?: number;
|
|
112
|
+
strokeBoundsBuffer?: number;
|
|
113
|
+
}
|
|
114
|
+
export interface IRuleMarkSpec extends ILineMarkSpec {
|
|
115
|
+
x1?: number;
|
|
116
|
+
y1?: number;
|
|
117
|
+
}
|
|
118
|
+
export interface ITextMarkSpec extends IFillMarkSpec {
|
|
119
|
+
type?: 'html' | 'rich' | 'text';
|
|
120
|
+
text?: StringOrNumber | string[] | IRichTextCharacter[] | Function;
|
|
121
|
+
dx?: number;
|
|
122
|
+
dy?: number;
|
|
123
|
+
fontSize?: number;
|
|
124
|
+
textAlign?: TextAlign;
|
|
125
|
+
textBaseline?: TextBaseLine;
|
|
126
|
+
fontFamily?: string;
|
|
127
|
+
fontWeight?: FontWeight;
|
|
128
|
+
fontStyle?: FontStyle;
|
|
129
|
+
maxLineWidth?: number;
|
|
130
|
+
ellipsis?: string;
|
|
131
|
+
suffixPosition?: 'start' | 'end' | 'middle';
|
|
132
|
+
lineBreak?: string;
|
|
133
|
+
underline?: boolean;
|
|
134
|
+
lineThrough?: boolean;
|
|
135
|
+
lineHeight?: number | string;
|
|
136
|
+
poptip?: PopTipAttributes;
|
|
137
|
+
direction?: 'horizontal' | 'vertical';
|
|
138
|
+
}
|
|
139
|
+
export type IPositionedTextMarkSpec = Omit<ITextMarkSpec, 'align' | 'textAlign' | 'baseline' | 'textBaseline'>;
|
|
140
|
+
export interface IRectMarkSpec extends IFillMarkSpec {
|
|
141
|
+
cornerRadius?: number | number[];
|
|
142
|
+
width?: number;
|
|
143
|
+
height?: number;
|
|
144
|
+
x1?: number;
|
|
145
|
+
y1?: number;
|
|
146
|
+
}
|
|
147
|
+
export interface IRect3dMarkSpec extends IRectMarkSpec {
|
|
148
|
+
length?: number;
|
|
149
|
+
}
|
|
150
|
+
export interface IBoxPlotMarkSpec extends ICommonSpec {
|
|
151
|
+
lineWidth?: number;
|
|
152
|
+
boxWidth?: number;
|
|
153
|
+
shaftWidth?: number;
|
|
154
|
+
shaftShape?: BoxPlotShaftShape;
|
|
155
|
+
boxFill?: string;
|
|
156
|
+
shaftFillOpacity?: number;
|
|
157
|
+
min?: (datum: Datum) => number;
|
|
158
|
+
q1?: (datum: Datum) => number;
|
|
159
|
+
median?: (datum: Datum) => number;
|
|
160
|
+
q3?: (datum: Datum) => number;
|
|
161
|
+
max?: (datum: Datum) => number;
|
|
162
|
+
}
|
|
163
|
+
export interface IRippleMarkSpec extends ICommonSpec {
|
|
164
|
+
ripple?: number;
|
|
165
|
+
size?: number;
|
|
166
|
+
}
|
|
167
|
+
export interface ILiquidMarkSpec extends ICommonSpec {
|
|
168
|
+
wave?: number;
|
|
169
|
+
}
|
|
170
|
+
export interface ILiquidOutlineSpec extends ISymbolMarkSpec {
|
|
171
|
+
lineWidth: number;
|
|
172
|
+
}
|
|
173
|
+
export interface IOutlierMarkSpec {
|
|
174
|
+
fill?: string;
|
|
175
|
+
size?: number;
|
|
176
|
+
}
|
|
177
|
+
export interface IPathMarkSpec extends IFillMarkSpec {
|
|
178
|
+
path?: string;
|
|
179
|
+
smoothScale?: boolean;
|
|
180
|
+
}
|
|
181
|
+
export interface ILinkPathMarkSpec extends IFillMarkSpec {
|
|
182
|
+
x0?: number;
|
|
183
|
+
y0?: number;
|
|
184
|
+
x1?: number;
|
|
185
|
+
y1?: number;
|
|
186
|
+
thickness?: number;
|
|
187
|
+
curvature?: number;
|
|
188
|
+
round?: boolean;
|
|
189
|
+
ratio?: number;
|
|
190
|
+
align?: 'start' | 'end' | 'center';
|
|
191
|
+
pathType?: 'line' | 'smooth' | 'polyline';
|
|
192
|
+
endArrow?: boolean;
|
|
193
|
+
startArrow?: boolean;
|
|
194
|
+
backgroundStyle?: any;
|
|
195
|
+
direction?: 'horizontal' | 'vertical' | 'LR' | 'RL' | 'TB' | 'BL' | 'radial';
|
|
196
|
+
}
|
|
197
|
+
export interface IArcMarkSpec extends IFillMarkSpec {
|
|
198
|
+
startAngle?: number;
|
|
199
|
+
endAngle?: number;
|
|
200
|
+
padAngle?: number;
|
|
201
|
+
outerRadius?: number;
|
|
202
|
+
innerRadius?: number;
|
|
203
|
+
cornerRadius?: number;
|
|
204
|
+
centerOffset?: number;
|
|
205
|
+
cap?: boolean | [boolean, boolean];
|
|
206
|
+
autoCapConical?: boolean;
|
|
207
|
+
}
|
|
208
|
+
export interface IArc3dMarkSpec extends IArcMarkSpec {
|
|
209
|
+
height?: number;
|
|
210
|
+
}
|
|
211
|
+
export interface IProgressArcMarkSpec extends IArcMarkSpec {
|
|
212
|
+
innerPadding?: number;
|
|
213
|
+
outerPadding?: number;
|
|
214
|
+
}
|
|
215
|
+
export interface ICellMarkSpec extends ISymbolMarkSpec {
|
|
216
|
+
padding?: number | number[] | IPadding;
|
|
217
|
+
}
|
|
218
|
+
export interface IGroupMarkSpec extends IFillMarkSpec {
|
|
219
|
+
clip?: boolean;
|
|
220
|
+
width?: number;
|
|
221
|
+
height?: number;
|
|
222
|
+
cornerRadius?: number | number[];
|
|
223
|
+
}
|
|
224
|
+
export interface IPolygonMarkSpec extends ICommonSpec, IFillMarkSpec {
|
|
225
|
+
points?: IPoint[];
|
|
226
|
+
cornerRadius?: number | number[];
|
|
227
|
+
scaleX?: number;
|
|
228
|
+
scaleY?: number;
|
|
229
|
+
}
|
|
230
|
+
export interface IPyramid3dMarkSpec extends IPolygonMarkSpec {
|
|
231
|
+
points?: IPoint[];
|
|
232
|
+
}
|
|
233
|
+
export type RepeatType = 'no-repeat' | 'repeat-x' | 'repeat-y' | 'repeat';
|
|
234
|
+
export type RepeatXYType = 'no-repeat' | 'repeat' | 'stretch';
|
|
235
|
+
export type ImageOriginType = 'top' | 'bottom';
|
|
236
|
+
export type GradientPropValue<T> = ValueType<T> | FunctionType<T>;
|
|
237
|
+
export type GradientStop = {
|
|
238
|
+
offset: GradientPropValue<number>;
|
|
239
|
+
color?: GradientPropValue<string>;
|
|
240
|
+
opacity?: number;
|
|
241
|
+
};
|
|
242
|
+
export interface IGradientLinear {
|
|
243
|
+
x0?: GradientPropValue<number>;
|
|
244
|
+
y0?: GradientPropValue<number>;
|
|
245
|
+
x1?: GradientPropValue<number>;
|
|
246
|
+
y1?: GradientPropValue<number>;
|
|
247
|
+
stops: GradientStop[];
|
|
248
|
+
gradient: 'linear';
|
|
249
|
+
}
|
|
250
|
+
export interface IGradientRadial {
|
|
251
|
+
r0?: GradientPropValue<number>;
|
|
252
|
+
x0?: GradientPropValue<number>;
|
|
253
|
+
y0?: GradientPropValue<number>;
|
|
254
|
+
x1?: GradientPropValue<number>;
|
|
255
|
+
y1?: GradientPropValue<number>;
|
|
256
|
+
r1?: GradientPropValue<number>;
|
|
257
|
+
stops: GradientStop[];
|
|
258
|
+
gradient: 'radial';
|
|
259
|
+
}
|
|
260
|
+
export interface IGradientConical {
|
|
261
|
+
x?: GradientPropValue<number>;
|
|
262
|
+
y?: GradientPropValue<number>;
|
|
263
|
+
startAngle?: GradientPropValue<number>;
|
|
264
|
+
endAngle?: GradientPropValue<number>;
|
|
265
|
+
stops: GradientStop[];
|
|
266
|
+
gradient: 'conical';
|
|
267
|
+
}
|
|
268
|
+
export type GradientType = 'linear' | 'radial' | 'conical';
|
|
269
|
+
export type IGradient = IGradientLinear | IGradientRadial | IGradientConical;
|
|
270
|
+
export type LineStrokeCap = 'butt' | 'round' | 'square';
|
|
271
|
+
export type LineStrokeJoin = 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round';
|
|
272
|
+
export type BoxPlotShaftShape = 'line' | 'bar';
|
|
273
|
+
export interface IThresholdStyle extends IVisualSpecStyle<number, string> {
|
|
274
|
+
domain: number[];
|
|
275
|
+
field: string;
|
|
276
|
+
range: string[];
|
|
277
|
+
type: 'threshold';
|
|
278
|
+
}
|
|
279
|
+
export interface IUnknownMarkSpec extends ICommonSpec {
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
}
|
|
282
|
+
export interface IImageMarkSpec extends IFillMarkSpec {
|
|
283
|
+
cornerRadius?: number | number[];
|
|
284
|
+
width?: number;
|
|
285
|
+
height?: number;
|
|
286
|
+
repeatX?: IRepeatType;
|
|
287
|
+
repeatY?: IRepeatType;
|
|
288
|
+
image: string | HTMLImageElement | HTMLCanvasElement;
|
|
289
|
+
}
|
|
290
|
+
export type TextAlign = TextAlignType;
|
|
291
|
+
export type TextBaseLine = TextBaselineType;
|
|
292
|
+
export type FontStyle = 'normal' | 'italic' | 'oblique' | string;
|
|
293
|
+
export type FontWeight = 'normal' | 'bold' | 'lighter' | 'bolder' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Color } from '@visactor/vutils';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { DataView } from '@visactor/vdataset';
|
|
2
|
+
import type { StatisticOperations } from '../data/transforms/dimension-statistics';
|
|
3
|
+
import type { ISeries, ISeriesStackDataMeta } from '../series/interface';
|
|
4
|
+
export declare function mergeFields(targetFields: {
|
|
5
|
+
key: string;
|
|
6
|
+
operations: StatisticOperations;
|
|
7
|
+
}[], mergeFields: {
|
|
8
|
+
key: string;
|
|
9
|
+
operations: StatisticOperations;
|
|
10
|
+
}[]): {
|
|
11
|
+
key: string;
|
|
12
|
+
operations: StatisticOperations;
|
|
13
|
+
}[];
|
|
14
|
+
export declare function getFieldAlias(dataView: DataView, field: string): any;
|
|
15
|
+
export interface IStackCacheNode {
|
|
16
|
+
values: any[];
|
|
17
|
+
series: {
|
|
18
|
+
s: ISeries;
|
|
19
|
+
values: any[];
|
|
20
|
+
}[];
|
|
21
|
+
nodes: {
|
|
22
|
+
[key: string]: IStackCacheNode;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface IStackCacheRoot {
|
|
26
|
+
nodes: {
|
|
27
|
+
[key: string]: IStackCacheNode;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export declare function getRegionStackGroup(region: {
|
|
31
|
+
getSeries: () => any[];
|
|
32
|
+
}, setInitialValue: boolean, filter?: (s: any) => boolean): {
|
|
33
|
+
[key: string]: IStackCacheRoot;
|
|
34
|
+
};
|
|
35
|
+
export declare function stackTotal(stackData: IStackCacheNode, valueField: string): void;
|
|
36
|
+
export declare function stackOffsetSilhouette(stackCache: IStackCacheNode): void;
|
|
37
|
+
export declare function stack(stackCache: IStackCacheNode, stackInverse: boolean, hasPercent?: boolean): void;
|
|
38
|
+
export declare function stackGroup(s: ISeries, stackData: ISeriesStackDataMeta, stackCache: IStackCacheNode, valueField: string, setInitialValue: boolean): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const log: (msg: string, ...args: any[]) => import("@visactor/vutils").ILogger;
|
|
2
|
+
export declare const warn: (msg: string, detail?: any) => import("@visactor/vutils").ILogger;
|
|
3
|
+
export declare const error: (msg: string, detail?: any, err?: Error) => void;
|
|
4
|
+
export declare const config: IConfig;
|
|
5
|
+
export interface IConfig {
|
|
6
|
+
silent: boolean;
|
|
7
|
+
errorHandler?: (msg: string, detail?: any) => void;
|
|
8
|
+
warnHandler?: (msg: string, detail?: any) => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RenderMode } from '../typings/spec';
|
|
2
|
+
export declare const isBrowser: boolean;
|
|
3
|
+
export declare const domDocument: Document;
|
|
4
|
+
export declare function isTrueBrowser(mode: RenderMode): boolean;
|
|
5
|
+
export declare function isPcLikeMode(mode: RenderMode): boolean;
|
|
6
|
+
export declare function isMobileLikeMode(mode: RenderMode): boolean;
|
|
7
|
+
export declare function isMiniAppLikeMode(mode: RenderMode): boolean;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const findHierarchyNode: <T>(hierarchyData: T[], key: string, keyField?: string, childrenField?: string) => T;
|
|
2
|
+
export declare const findHierarchyNodeParent: <T>(hierarchyData: T[], key: string, keyField?: string, childrenField?: string) => T;
|
|
3
|
+
export declare const findHierarchyPath: <T>(hierarchyData: T[], key: string, keyField?: string, childrenField?: string) => string[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { utilFunctionCtx } from '../typings/params';
|
|
2
|
+
export declare function URLToImage(name: string, url: string): void;
|
|
3
|
+
export declare function OffscreenCanvasToDataURL(c: OffscreenCanvas): Promise<string>;
|
|
4
|
+
export declare function getCanvasDataURL(c: HTMLCanvasElement | OffscreenCanvas, ctx?: utilFunctionCtx): Promise<string>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TimeUtil } from '../component/axis/cartesian/util/time';
|
|
2
|
+
import { debounce, throttle, clamp } from '@visactor/vutils';
|
|
3
|
+
export { debounce, throttle, clamp };
|
|
4
|
+
export * from './array';
|
|
5
|
+
export * from './color';
|
|
6
|
+
export * from './debug';
|
|
7
|
+
export * from './env';
|
|
8
|
+
export * from './id';
|
|
9
|
+
export * from './math';
|
|
10
|
+
export * from './model';
|
|
11
|
+
export * from './object';
|
|
12
|
+
export * from './scale';
|
|
13
|
+
export * from './space';
|
|
14
|
+
export * from './type';
|
|
15
|
+
export * from './spec';
|
|
16
|
+
export * from './text';
|
|
17
|
+
export * from './data';
|
|
18
|
+
export * from './hierarchy';
|
|
19
|
+
export * from './style';
|
|
20
|
+
export declare const Utils: {
|
|
21
|
+
TimeUtil: typeof TimeUtil;
|
|
22
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { IBoundsLike } from '@visactor/vutils';
|
|
2
|
+
import type { IPoint, IPolarPoint, Quadrant } from '../typings';
|
|
3
|
+
import { isNumberClose, isGreater, isLess } from '@visactor/vutils';
|
|
4
|
+
import { normalizeAngle, angleLabelOrientAttribute } from '@visactor/vutils-extension';
|
|
5
|
+
export declare const isClose: typeof isNumberClose;
|
|
6
|
+
export { isGreater, isLess, normalizeAngle, angleLabelOrientAttribute };
|
|
7
|
+
export declare function polarToCartesian(point: IPolarPoint): IPoint;
|
|
8
|
+
export declare function computeQuadrant(angle: number): Quadrant;
|
|
9
|
+
export declare function normalizeStartEndAngle(start: number | null, end: number | null): {
|
|
10
|
+
startAngle: number;
|
|
11
|
+
endAngle: number;
|
|
12
|
+
};
|
|
13
|
+
export declare function outOfBounds(bounds: IBoundsLike, x: number, y: number): boolean;
|
|
14
|
+
export declare function min(data: any[], field?: string): number;
|
|
15
|
+
export declare function max(data: any[], field?: string): number;
|
|
16
|
+
export declare function sum(data: any[], field?: string): number;
|
|
17
|
+
export declare function average(data: any[], field?: string): number;
|
|
18
|
+
export declare function variance(data: any[], field?: string): number;
|
|
19
|
+
export declare function standardDeviation(data: any[], field?: string): number;
|
|
20
|
+
export declare function median(data: any[], field?: string): number;
|
|
21
|
+
export declare function regression(data: any[], fieldX?: string, fieldY?: string): any[];
|
|
22
|
+
export declare function radiusLabelOrientAttribute(angle: number): {
|
|
23
|
+
align: "left" | "right" | "center";
|
|
24
|
+
baseline: "top" | "bottom" | "middle";
|
|
25
|
+
};
|
|
26
|
+
export declare function vectorAngle(v1: IPoint, v2: IPoint): number;
|
|
27
|
+
export declare function distance(p1: IPoint, p2?: IPoint): number;
|
|
28
|
+
export declare function getPercentValue(valueList: number[], idx: number, precision?: number): number;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IRegion, ISeriesFilter } from '../region/interface';
|
|
2
|
+
import type { ISeries } from '../series/interface';
|
|
3
|
+
export declare function eachSeries(regions: IRegion[], callback: (s: ISeries) => boolean | void, filter?: ISeriesFilter): boolean;
|
|
4
|
+
export declare function getSeries(regions: IRegion[], filter?: ISeriesFilter): ISeries[];
|
|
5
|
+
export declare const getFirstSeries: (regions: IRegion[], coordinateType?: 'cartesian' | 'polar') => ISeries;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { IGlobalScale } from '../scale/interface';
|
|
2
|
+
import type { IBaseScale } from '@visactor/vscale';
|
|
3
|
+
import { BandScale, LinearScale, OrdinalScale, PointScale, ThresholdScale } from '@visactor/vscale';
|
|
4
|
+
import type { IVisual } from '../typings/visual';
|
|
5
|
+
import { ColorOrdinalScale } from '../scale/color-ordinal-scale';
|
|
6
|
+
declare const defaultScaleMap: {
|
|
7
|
+
linear: typeof LinearScale;
|
|
8
|
+
band: typeof BandScale;
|
|
9
|
+
point: typeof PointScale;
|
|
10
|
+
ordinal: typeof OrdinalScale;
|
|
11
|
+
threshold: typeof ThresholdScale;
|
|
12
|
+
colorOrdinal: typeof ColorOrdinalScale;
|
|
13
|
+
};
|
|
14
|
+
export declare function createScale(type: keyof typeof defaultScaleMap): IBaseScale | null;
|
|
15
|
+
export declare function createScaleWithSpec(spec: IVisual<any>, context: {
|
|
16
|
+
globalScale: IGlobalScale;
|
|
17
|
+
seriesId: number;
|
|
18
|
+
}): IBaseScale | null;
|
|
19
|
+
export declare function valueInScaleRange(v: number, s?: IBaseScale): number;
|
|
20
|
+
export declare function isSpecValueWithScale(specValue: any): boolean;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IBoundsLike } from '@visactor/vutils';
|
|
2
|
+
import type { IPadding } from '../typings/space';
|
|
3
|
+
import type { IPoint } from '../typings/coordinate';
|
|
4
|
+
import type { ILayoutNumber, ILayoutRect, IPercent, IPercentOffset, ILayoutPaddingSpec, ILayoutOrientPadding } from '../typings/layout';
|
|
5
|
+
export declare function isValidOrient(orient: string): boolean;
|
|
6
|
+
export declare function isPercent(v: any): v is IPercent;
|
|
7
|
+
export declare function isPercentOffset(v: any): v is IPercentOffset;
|
|
8
|
+
export declare function calcLayoutNumber(v: ILayoutNumber | undefined, size: number, callOp?: ILayoutRect): number;
|
|
9
|
+
export declare function calcPadding(paddingSpec: ILayoutOrientPadding, rect: ILayoutRect, callOp: ILayoutRect): IPadding;
|
|
10
|
+
export declare function boundsInRect(bounds: IBoundsLike, rect: ILayoutRect): ILayoutRect;
|
|
11
|
+
export declare function normalizeLayoutPaddingSpec(spec: ILayoutPaddingSpec): ILayoutOrientPadding;
|
|
12
|
+
export declare function convertPoint(point: IPoint, relativePoint: IPoint, convert: boolean): IPoint;
|
|
13
|
+
export declare const getActualNumValue: (originValue: number | string, total: number) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cloneDeepSpec(spec: any, excludeKeys?: string[]): any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DataView } from '@visactor/vdataset';
|
|
2
|
+
import type { ITheme } from '../../theme';
|
|
3
|
+
export declare function isDataView(obj: any): obj is DataView;
|
|
4
|
+
export declare function isHTMLElement(obj: any): obj is Element;
|
|
5
|
+
export declare function getThemeObject(theme?: string | ITheme, transformed?: boolean): ITheme;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Maybe } from '@visactor/vutils';
|
|
2
|
+
import type { IGlobalMarkThemeByName, IGlobalMarkThemeByType, ITheme } from '../../theme';
|
|
3
|
+
import type { IThemeColorScheme } from '../../theme/color-scheme/interface';
|
|
4
|
+
export declare function mergeTheme(target: Maybe<ITheme>, ...sources: Maybe<ITheme>[]): Maybe<ITheme>;
|
|
5
|
+
export declare function transformColorSchemeToMerge(colorScheme?: Maybe<IThemeColorScheme>): Maybe<IThemeColorScheme>;
|
|
6
|
+
export declare function transformSeriesThemeToMerge(seriesTheme: any, seriesType: string, markByType: IGlobalMarkThemeByType, markByName: IGlobalMarkThemeByName): any;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ITextMeasureOption, ITextSize } from '@visactor/vutils';
|
|
2
|
+
import type { TextMeasure } from '@visactor/vutils';
|
|
3
|
+
import type { ITextGraphicAttribute } from '@visactor/vrender-core';
|
|
4
|
+
export declare const initTextMeasure: (textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean) => TextMeasure<ITextGraphicAttribute>;
|
|
5
|
+
export declare const measureText: (text: string, textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean) => ITextSize;
|