@antv/g2 4.1.42 → 4.1.43
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/CHANGELOG.md +10 -0
- package/package.json +3 -4
- package/src/chart/controller/annotation.ts +4 -0
- package/src/core.ts +1 -1
- package/dist/g2.min.js +0 -44
- package/dist/g2.min.js.map +0 -1
- package/esm/animate/animation/fade.d.ts +0 -21
- package/esm/animate/animation/fade.js +0 -42
- package/esm/animate/animation/fade.js.map +0 -1
- package/esm/animate/animation/grow-in.d.ts +0 -30
- package/esm/animate/animation/grow-in.js +0 -38
- package/esm/animate/animation/grow-in.js.map +0 -1
- package/esm/animate/animation/index.d.ts +0 -16
- package/esm/animate/animation/index.js +0 -17
- package/esm/animate/animation/index.js.map +0 -1
- package/esm/animate/animation/path-in.d.ts +0 -12
- package/esm/animate/animation/path-in.js +0 -21
- package/esm/animate/animation/path-in.js.map +0 -1
- package/esm/animate/animation/position-update.d.ts +0 -11
- package/esm/animate/animation/position-update.js +0 -24
- package/esm/animate/animation/position-update.js.map +0 -1
- package/esm/animate/animation/scale-in.d.ts +0 -19
- package/esm/animate/animation/scale-in.js +0 -60
- package/esm/animate/animation/scale-in.js.map +0 -1
- package/esm/animate/animation/sector-path-update.d.ts +0 -11
- package/esm/animate/animation/sector-path-update.js +0 -131
- package/esm/animate/animation/sector-path-update.js.map +0 -1
- package/esm/animate/animation/util.d.ts +0 -19
- package/esm/animate/animation/util.js +0 -88
- package/esm/animate/animation/util.js.map +0 -1
- package/esm/animate/animation/wave-in.d.ts +0 -13
- package/esm/animate/animation/wave-in.js +0 -26
- package/esm/animate/animation/wave-in.js.map +0 -1
- package/esm/animate/animation/zoom.d.ts +0 -21
- package/esm/animate/animation/zoom.js +0 -66
- package/esm/animate/animation/zoom.js.map +0 -1
- package/esm/animate/index.d.ts +0 -48
- package/esm/animate/index.js +0 -249
- package/esm/animate/index.js.map +0 -1
- package/esm/animate/interface.d.ts +0 -12
- package/esm/animate/interface.js +0 -2
- package/esm/animate/interface.js.map +0 -1
- package/esm/api.d.ts +0 -2
- package/esm/api.js +0 -3
- package/esm/api.js.map +0 -1
- package/esm/base.d.ts +0 -33
- package/esm/base.js +0 -55
- package/esm/base.js.map +0 -1
- package/esm/chart/chart.d.ts +0 -61
- package/esm/chart/chart.js +0 -157
- package/esm/chart/chart.js.map +0 -1
- package/esm/chart/controller/annotation.d.ts +0 -162
- package/esm/chart/controller/annotation.js +0 -577
- package/esm/chart/controller/annotation.js.map +0 -1
- package/esm/chart/controller/axis.d.ts +0 -93
- package/esm/chart/controller/axis.js +0 -578
- package/esm/chart/controller/axis.js.map +0 -1
- package/esm/chart/controller/base.d.ts +0 -64
- package/esm/chart/controller/base.js +0 -62
- package/esm/chart/controller/base.js.map +0 -1
- package/esm/chart/controller/coordinate.d.ts +0 -74
- package/esm/chart/controller/coordinate.js +0 -145
- package/esm/chart/controller/coordinate.js.map +0 -1
- package/esm/chart/controller/gesture.d.ts +0 -37
- package/esm/chart/controller/gesture.js +0 -258
- package/esm/chart/controller/gesture.js.map +0 -1
- package/esm/chart/controller/index.d.ts +0 -25
- package/esm/chart/controller/index.js +0 -34
- package/esm/chart/controller/index.js.map +0 -1
- package/esm/chart/controller/legend.d.ts +0 -106
- package/esm/chart/controller/legend.js +0 -484
- package/esm/chart/controller/legend.js.map +0 -1
- package/esm/chart/controller/scrollbar.d.ts +0 -64
- package/esm/chart/controller/scrollbar.js +0 -316
- package/esm/chart/controller/scrollbar.js.map +0 -1
- package/esm/chart/controller/slider.d.ts +0 -88
- package/esm/chart/controller/slider.js +0 -296
- package/esm/chart/controller/slider.js.map +0 -1
- package/esm/chart/controller/tooltip.d.ts +0 -68
- package/esm/chart/controller/tooltip.js +0 -644
- package/esm/chart/controller/tooltip.js.map +0 -1
- package/esm/chart/event.d.ts +0 -47
- package/esm/chart/event.js +0 -91
- package/esm/chart/event.js.map +0 -1
- package/esm/chart/index.d.ts +0 -4
- package/esm/chart/index.js +0 -5
- package/esm/chart/index.js.map +0 -1
- package/esm/chart/layout/auto.d.ts +0 -8
- package/esm/chart/layout/auto.js +0 -64
- package/esm/chart/layout/auto.js.map +0 -1
- package/esm/chart/layout/constraint/bounds.d.ts +0 -32
- package/esm/chart/layout/constraint/bounds.js +0 -30
- package/esm/chart/layout/constraint/bounds.js.map +0 -1
- package/esm/chart/layout/constraint/constraint.d.ts +0 -31
- package/esm/chart/layout/constraint/constraint.js +0 -81
- package/esm/chart/layout/constraint/constraint.js.map +0 -1
- package/esm/chart/layout/constraint/gauss.d.ts +0 -11
- package/esm/chart/layout/constraint/gauss.js +0 -63
- package/esm/chart/layout/constraint/gauss.js.map +0 -1
- package/esm/chart/layout/constraint/index.d.ts +0 -5
- package/esm/chart/layout/constraint/index.js +0 -30
- package/esm/chart/layout/constraint/index.js.map +0 -1
- package/esm/chart/layout/constraint/solver.d.ts +0 -40
- package/esm/chart/layout/constraint/solver.js +0 -77
- package/esm/chart/layout/constraint/solver.js.map +0 -1
- package/esm/chart/layout/constraint/types.d.ts +0 -21
- package/esm/chart/layout/constraint/types.js +0 -13
- package/esm/chart/layout/constraint/types.js.map +0 -1
- package/esm/chart/layout/constraint/variable.d.ts +0 -24
- package/esm/chart/layout/constraint/variable.js +0 -28
- package/esm/chart/layout/constraint/variable.js.map +0 -1
- package/esm/chart/layout/index.d.ts +0 -15
- package/esm/chart/layout/index.js +0 -26
- package/esm/chart/layout/index.js.map +0 -1
- package/esm/chart/layout/padding-cal.d.ts +0 -53
- package/esm/chart/layout/padding-cal.js +0 -108
- package/esm/chart/layout/padding-cal.js.map +0 -1
- package/esm/chart/util/scale-pool.d.ts +0 -57
- package/esm/chart/util/scale-pool.js +0 -212
- package/esm/chart/util/scale-pool.js.map +0 -1
- package/esm/chart/util/sync-view-padding.d.ts +0 -9
- package/esm/chart/util/sync-view-padding.js +0 -14
- package/esm/chart/util/sync-view-padding.js.map +0 -1
- package/esm/chart/view.d.ts +0 -747
- package/esm/chart/view.js +0 -1633
- package/esm/chart/view.js.map +0 -1
- package/esm/component/labels.d.ts +0 -47
- package/esm/component/labels.js +0 -274
- package/esm/component/labels.js.map +0 -1
- package/esm/component/update-label.d.ts +0 -21
- package/esm/component/update-label.js +0 -57
- package/esm/component/update-label.js.map +0 -1
- package/esm/constant.d.ts +0 -122
- package/esm/constant.js +0 -134
- package/esm/constant.js.map +0 -1
- package/esm/core.d.ts +0 -46
- package/esm/core.js +0 -60
- package/esm/core.js.map +0 -1
- package/esm/dependents.d.ts +0 -21
- package/esm/dependents.js +0 -33
- package/esm/dependents.js.map +0 -1
- package/esm/engine/index.d.ts +0 -13
- package/esm/engine/index.js +0 -22
- package/esm/engine/index.js.map +0 -1
- package/esm/facet/circle.d.ts +0 -36
- package/esm/facet/circle.js +0 -119
- package/esm/facet/circle.js.map +0 -1
- package/esm/facet/facet.d.ts +0 -165
- package/esm/facet/facet.js +0 -291
- package/esm/facet/facet.js.map +0 -1
- package/esm/facet/index.d.ts +0 -13
- package/esm/facet/index.js +0 -22
- package/esm/facet/index.js.map +0 -1
- package/esm/facet/list.d.ts +0 -46
- package/esm/facet/list.js +0 -134
- package/esm/facet/list.js.map +0 -1
- package/esm/facet/matrix.d.ts +0 -34
- package/esm/facet/matrix.js +0 -119
- package/esm/facet/matrix.js.map +0 -1
- package/esm/facet/mirror.d.ts +0 -31
- package/esm/facet/mirror.js +0 -144
- package/esm/facet/mirror.js.map +0 -1
- package/esm/facet/rect.d.ts +0 -35
- package/esm/facet/rect.js +0 -141
- package/esm/facet/rect.js.map +0 -1
- package/esm/facet/tree.d.ts +0 -40
- package/esm/facet/tree.js +0 -288
- package/esm/facet/tree.js.map +0 -1
- package/esm/geometry/area.d.ts +0 -46
- package/esm/geometry/area.js +0 -62
- package/esm/geometry/area.js.map +0 -1
- package/esm/geometry/base.d.ts +0 -793
- package/esm/geometry/base.js +0 -1487
- package/esm/geometry/base.js.map +0 -1
- package/esm/geometry/edge.d.ts +0 -15
- package/esm/geometry/edge.js +0 -24
- package/esm/geometry/edge.js.map +0 -1
- package/esm/geometry/element/index.d.ts +0 -127
- package/esm/geometry/element/index.js +0 -436
- package/esm/geometry/element/index.js.map +0 -1
- package/esm/geometry/heatmap.d.ts +0 -31
- package/esm/geometry/heatmap.js +0 -190
- package/esm/geometry/heatmap.js.map +0 -1
- package/esm/geometry/interval.d.ts +0 -41
- package/esm/geometry/interval.js +0 -98
- package/esm/geometry/interval.js.map +0 -1
- package/esm/geometry/label/base.d.ts +0 -76
- package/esm/geometry/label/base.js +0 -404
- package/esm/geometry/label/base.js.map +0 -1
- package/esm/geometry/label/index.d.ts +0 -38
- package/esm/geometry/label/index.js +0 -35
- package/esm/geometry/label/index.js.map +0 -1
- package/esm/geometry/label/interface.d.ts +0 -50
- package/esm/geometry/label/interface.js +0 -2
- package/esm/geometry/label/interface.js.map +0 -1
- package/esm/geometry/label/interval.d.ts +0 -27
- package/esm/geometry/label/interval.js +0 -146
- package/esm/geometry/label/interval.js.map +0 -1
- package/esm/geometry/label/layout/adjust-color.d.ts +0 -3
- package/esm/geometry/label/layout/adjust-color.js +0 -36
- package/esm/geometry/label/layout/adjust-color.js.map +0 -1
- package/esm/geometry/label/layout/hide-overlap.d.ts +0 -8
- package/esm/geometry/label/layout/hide-overlap.js +0 -29
- package/esm/geometry/label/layout/hide-overlap.js.map +0 -1
- package/esm/geometry/label/layout/interval/adjust-position.d.ts +0 -9
- package/esm/geometry/label/layout/interval/adjust-position.js +0 -61
- package/esm/geometry/label/layout/interval/adjust-position.js.map +0 -1
- package/esm/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
- package/esm/geometry/label/layout/interval/hide-overlap.js +0 -78
- package/esm/geometry/label/layout/interval/hide-overlap.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-canvas.d.ts +0 -9
- package/esm/geometry/label/layout/limit-in-canvas.js +0 -44
- package/esm/geometry/label/layout/limit-in-canvas.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-plot.d.ts +0 -18
- package/esm/geometry/label/layout/limit-in-plot.js +0 -75
- package/esm/geometry/label/layout/limit-in-plot.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-shape.d.ts +0 -7
- package/esm/geometry/label/layout/limit-in-shape.js +0 -18
- package/esm/geometry/label/layout/limit-in-shape.js.map +0 -1
- package/esm/geometry/label/layout/overlap.d.ts +0 -15
- package/esm/geometry/label/layout/overlap.js +0 -223
- package/esm/geometry/label/layout/overlap.js.map +0 -1
- package/esm/geometry/label/layout/path/adjust-position.d.ts +0 -17
- package/esm/geometry/label/layout/path/adjust-position.js +0 -94
- package/esm/geometry/label/layout/path/adjust-position.js.map +0 -1
- package/esm/geometry/label/layout/pie/distribute.d.ts +0 -3
- package/esm/geometry/label/layout/pie/distribute.js +0 -185
- package/esm/geometry/label/layout/pie/distribute.js.map +0 -1
- package/esm/geometry/label/layout/pie/outer.d.ts +0 -6
- package/esm/geometry/label/layout/pie/outer.js +0 -207
- package/esm/geometry/label/layout/pie/outer.js.map +0 -1
- package/esm/geometry/label/layout/pie/spider.d.ts +0 -7
- package/esm/geometry/label/layout/pie/spider.js +0 -181
- package/esm/geometry/label/layout/pie/spider.js.map +0 -1
- package/esm/geometry/label/layout/pie/util.d.ts +0 -10
- package/esm/geometry/label/layout/pie/util.js +0 -73
- package/esm/geometry/label/layout/pie/util.js.map +0 -1
- package/esm/geometry/label/layout/point/adjust-position.d.ts +0 -17
- package/esm/geometry/label/layout/point/adjust-position.js +0 -94
- package/esm/geometry/label/layout/point/adjust-position.js.map +0 -1
- package/esm/geometry/label/pie.d.ts +0 -22
- package/esm/geometry/label/pie.js +0 -95
- package/esm/geometry/label/pie.js.map +0 -1
- package/esm/geometry/label/polar.d.ts +0 -64
- package/esm/geometry/label/polar.js +0 -221
- package/esm/geometry/label/polar.js.map +0 -1
- package/esm/geometry/label/util/index.d.ts +0 -26
- package/esm/geometry/label/util/index.js +0 -61
- package/esm/geometry/label/util/index.js.map +0 -1
- package/esm/geometry/line.d.ts +0 -11
- package/esm/geometry/line.js +0 -21
- package/esm/geometry/line.js.map +0 -1
- package/esm/geometry/path.d.ts +0 -40
- package/esm/geometry/path.js +0 -122
- package/esm/geometry/path.js.map +0 -1
- package/esm/geometry/point.d.ts +0 -19
- package/esm/geometry/point.js +0 -30
- package/esm/geometry/point.js.map +0 -1
- package/esm/geometry/polygon.d.ts +0 -19
- package/esm/geometry/polygon.js +0 -62
- package/esm/geometry/polygon.js.map +0 -1
- package/esm/geometry/schema.d.ts +0 -18
- package/esm/geometry/schema.js +0 -48
- package/esm/geometry/schema.js.map +0 -1
- package/esm/geometry/shape/area/index.d.ts +0 -2
- package/esm/geometry/shape/area/index.js +0 -44
- package/esm/geometry/shape/area/index.js.map +0 -1
- package/esm/geometry/shape/area/line.d.ts +0 -1
- package/esm/geometry/shape/area/line.js +0 -31
- package/esm/geometry/shape/area/line.js.map +0 -1
- package/esm/geometry/shape/area/smooth-line.d.ts +0 -1
- package/esm/geometry/shape/area/smooth-line.js +0 -30
- package/esm/geometry/shape/area/smooth-line.js.map +0 -1
- package/esm/geometry/shape/area/smooth.d.ts +0 -1
- package/esm/geometry/shape/area/smooth.js +0 -31
- package/esm/geometry/shape/area/smooth.js.map +0 -1
- package/esm/geometry/shape/area/util.d.ts +0 -22
- package/esm/geometry/shape/area/util.js +0 -88
- package/esm/geometry/shape/area/util.js.map +0 -1
- package/esm/geometry/shape/base.d.ts +0 -22
- package/esm/geometry/shape/base.js +0 -162
- package/esm/geometry/shape/base.js.map +0 -1
- package/esm/geometry/shape/constant.d.ts +0 -4
- package/esm/geometry/shape/constant.js +0 -5
- package/esm/geometry/shape/constant.js.map +0 -1
- package/esm/geometry/shape/edge/arc.d.ts +0 -1
- package/esm/geometry/shape/edge/arc.js +0 -84
- package/esm/geometry/shape/edge/arc.js.map +0 -1
- package/esm/geometry/shape/edge/index.d.ts +0 -2
- package/esm/geometry/shape/edge/index.js +0 -31
- package/esm/geometry/shape/edge/index.js.map +0 -1
- package/esm/geometry/shape/edge/smooth.d.ts +0 -1
- package/esm/geometry/shape/edge/smooth.js +0 -30
- package/esm/geometry/shape/edge/smooth.js.map +0 -1
- package/esm/geometry/shape/edge/util.d.ts +0 -17
- package/esm/geometry/shape/edge/util.js +0 -32
- package/esm/geometry/shape/edge/util.js.map +0 -1
- package/esm/geometry/shape/edge/vhv.d.ts +0 -1
- package/esm/geometry/shape/edge/vhv.js +0 -42
- package/esm/geometry/shape/edge/vhv.js.map +0 -1
- package/esm/geometry/shape/interval/funnel.d.ts +0 -1
- package/esm/geometry/shape/interval/funnel.js +0 -31
- package/esm/geometry/shape/interval/funnel.js.map +0 -1
- package/esm/geometry/shape/interval/hollow-rect.d.ts +0 -1
- package/esm/geometry/shape/interval/hollow-rect.js +0 -51
- package/esm/geometry/shape/interval/hollow-rect.js.map +0 -1
- package/esm/geometry/shape/interval/index.d.ts +0 -3
- package/esm/geometry/shape/interval/index.js +0 -63
- package/esm/geometry/shape/interval/index.js.map +0 -1
- package/esm/geometry/shape/interval/line.d.ts +0 -1
- package/esm/geometry/shape/interval/line.js +0 -54
- package/esm/geometry/shape/interval/line.js.map +0 -1
- package/esm/geometry/shape/interval/pyramid.d.ts +0 -1
- package/esm/geometry/shape/interval/pyramid.js +0 -31
- package/esm/geometry/shape/interval/pyramid.js.map +0 -1
- package/esm/geometry/shape/interval/tick.d.ts +0 -1
- package/esm/geometry/shape/interval/tick.js +0 -77
- package/esm/geometry/shape/interval/tick.js.map +0 -1
- package/esm/geometry/shape/interval/util.d.ts +0 -55
- package/esm/geometry/shape/interval/util.js +0 -311
- package/esm/geometry/shape/interval/util.js.map +0 -1
- package/esm/geometry/shape/line/index.d.ts +0 -8
- package/esm/geometry/shape/line/index.js +0 -105
- package/esm/geometry/shape/line/index.js.map +0 -1
- package/esm/geometry/shape/line/step.d.ts +0 -1
- package/esm/geometry/shape/line/step.js +0 -84
- package/esm/geometry/shape/line/step.js.map +0 -1
- package/esm/geometry/shape/line/util.d.ts +0 -16
- package/esm/geometry/shape/line/util.js +0 -83
- package/esm/geometry/shape/line/util.js.map +0 -1
- package/esm/geometry/shape/point/hollow.d.ts +0 -1
- package/esm/geometry/shape/point/hollow.js +0 -24
- package/esm/geometry/shape/point/hollow.js.map +0 -1
- package/esm/geometry/shape/point/image.d.ts +0 -1
- package/esm/geometry/shape/point/image.js +0 -48
- package/esm/geometry/shape/point/image.js.map +0 -1
- package/esm/geometry/shape/point/index.d.ts +0 -2
- package/esm/geometry/shape/point/index.js +0 -32
- package/esm/geometry/shape/point/index.js.map +0 -1
- package/esm/geometry/shape/point/solid.d.ts +0 -1
- package/esm/geometry/shape/point/solid.js +0 -23
- package/esm/geometry/shape/point/solid.js.map +0 -1
- package/esm/geometry/shape/point/util.d.ts +0 -15
- package/esm/geometry/shape/point/util.js +0 -39
- package/esm/geometry/shape/point/util.js.map +0 -1
- package/esm/geometry/shape/polygon/index.d.ts +0 -2
- package/esm/geometry/shape/polygon/index.js +0 -65
- package/esm/geometry/shape/polygon/index.js.map +0 -1
- package/esm/geometry/shape/polygon/square.d.ts +0 -1
- package/esm/geometry/shape/polygon/square.js +0 -44
- package/esm/geometry/shape/polygon/square.js.map +0 -1
- package/esm/geometry/shape/schema/box.d.ts +0 -1
- package/esm/geometry/shape/schema/box.js +0 -142
- package/esm/geometry/shape/schema/box.js.map +0 -1
- package/esm/geometry/shape/schema/candle.d.ts +0 -1
- package/esm/geometry/shape/schema/candle.js +0 -80
- package/esm/geometry/shape/schema/candle.js.map +0 -1
- package/esm/geometry/shape/schema/index.d.ts +0 -2
- package/esm/geometry/shape/schema/index.js +0 -6
- package/esm/geometry/shape/schema/index.js.map +0 -1
- package/esm/geometry/shape/util/get-path-points.d.ts +0 -38
- package/esm/geometry/shape/util/get-path-points.js +0 -131
- package/esm/geometry/shape/util/get-path-points.js.map +0 -1
- package/esm/geometry/shape/util/get-style.d.ts +0 -18
- package/esm/geometry/shape/util/get-style.js +0 -47
- package/esm/geometry/shape/util/get-style.js.map +0 -1
- package/esm/geometry/shape/util/path.d.ts +0 -32
- package/esm/geometry/shape/util/path.js +0 -311
- package/esm/geometry/shape/util/path.js.map +0 -1
- package/esm/geometry/shape/util/split-points.d.ts +0 -13
- package/esm/geometry/shape/util/split-points.js +0 -24
- package/esm/geometry/shape/util/split-points.js.map +0 -1
- package/esm/geometry/shape/violin/hollow.d.ts +0 -1
- package/esm/geometry/shape/violin/hollow.js +0 -51
- package/esm/geometry/shape/violin/hollow.js.map +0 -1
- package/esm/geometry/shape/violin/index.d.ts +0 -2
- package/esm/geometry/shape/violin/index.js +0 -60
- package/esm/geometry/shape/violin/index.js.map +0 -1
- package/esm/geometry/shape/violin/smooth.d.ts +0 -1
- package/esm/geometry/shape/violin/smooth.js +0 -28
- package/esm/geometry/shape/violin/smooth.js.map +0 -1
- package/esm/geometry/util/diff.d.ts +0 -11
- package/esm/geometry/util/diff.js +0 -30
- package/esm/geometry/util/diff.js.map +0 -1
- package/esm/geometry/util/get-shape-type.d.ts +0 -8
- package/esm/geometry/util/get-shape-type.js +0 -16
- package/esm/geometry/util/get-shape-type.js.map +0 -1
- package/esm/geometry/util/group-data.d.ts +0 -3
- package/esm/geometry/util/group-data.js +0 -31
- package/esm/geometry/util/group-data.js.map +0 -1
- package/esm/geometry/util/is-model-change.d.ts +0 -9
- package/esm/geometry/util/is-model-change.js +0 -14
- package/esm/geometry/util/is-model-change.js.map +0 -1
- package/esm/geometry/util/parse-fields.d.ts +0 -2
- package/esm/geometry/util/parse-fields.js +0 -9
- package/esm/geometry/util/parse-fields.js.map +0 -1
- package/esm/geometry/util/shape-size.d.ts +0 -2
- package/esm/geometry/util/shape-size.js +0 -124
- package/esm/geometry/util/shape-size.js.map +0 -1
- package/esm/geometry/violin.d.ts +0 -25
- package/esm/geometry/violin.js +0 -67
- package/esm/geometry/violin.js.map +0 -1
- package/esm/index.d.ts +0 -107
- package/esm/index.js +0 -581
- package/esm/index.js.map +0 -1
- package/esm/interaction/action/active-region.d.ts +0 -33
- package/esm/interaction/action/active-region.js +0 -198
- package/esm/interaction/action/active-region.js.map +0 -1
- package/esm/interaction/action/base.d.ts +0 -29
- package/esm/interaction/action/base.js +0 -36
- package/esm/interaction/action/base.js.map +0 -1
- package/esm/interaction/action/callback.d.ts +0 -17
- package/esm/interaction/action/callback.js +0 -27
- package/esm/interaction/action/callback.js.map +0 -1
- package/esm/interaction/action/component/list-active.d.ts +0 -14
- package/esm/interaction/action/component/list-active.js +0 -24
- package/esm/interaction/action/component/list-active.js.map +0 -1
- package/esm/interaction/action/component/list-checked.d.ts +0 -30
- package/esm/interaction/action/component/list-checked.js +0 -82
- package/esm/interaction/action/component/list-checked.js.map +0 -1
- package/esm/interaction/action/component/list-focus.d.ts +0 -5
- package/esm/interaction/action/component/list-focus.js +0 -55
- package/esm/interaction/action/component/list-focus.js.map +0 -1
- package/esm/interaction/action/component/list-highlight-util.d.ts +0 -7
- package/esm/interaction/action/component/list-highlight-util.js +0 -20
- package/esm/interaction/action/component/list-highlight-util.js.map +0 -1
- package/esm/interaction/action/component/list-highlight.d.ts +0 -20
- package/esm/interaction/action/component/list-highlight.js +0 -97
- package/esm/interaction/action/component/list-highlight.js.map +0 -1
- package/esm/interaction/action/component/list-radio.d.ts +0 -24
- package/esm/interaction/action/component/list-radio.js +0 -116
- package/esm/interaction/action/component/list-radio.js.map +0 -1
- package/esm/interaction/action/component/list-selected.d.ts +0 -10
- package/esm/interaction/action/component/list-selected.js +0 -20
- package/esm/interaction/action/component/list-selected.js.map +0 -1
- package/esm/interaction/action/component/list-state.d.ts +0 -46
- package/esm/interaction/action/component/list-state.js +0 -167
- package/esm/interaction/action/component/list-state.js.map +0 -1
- package/esm/interaction/action/component/list-unchecked.d.ts +0 -13
- package/esm/interaction/action/component/list-unchecked.js +0 -23
- package/esm/interaction/action/component/list-unchecked.js.map +0 -1
- package/esm/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
- package/esm/interaction/action/component/tooltip/ellipsis-text.js +0 -93
- package/esm/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
- package/esm/interaction/action/component/tooltip/geometry.d.ts +0 -24
- package/esm/interaction/action/component/tooltip/geometry.js +0 -71
- package/esm/interaction/action/component/tooltip/geometry.js.map +0 -1
- package/esm/interaction/action/component/tooltip/sibling.d.ts +0 -21
- package/esm/interaction/action/component/tooltip/sibling.js +0 -39
- package/esm/interaction/action/component/tooltip/sibling.js.map +0 -1
- package/esm/interaction/action/cursor.d.ts +0 -69
- package/esm/interaction/action/cursor.js +0 -113
- package/esm/interaction/action/cursor.js.map +0 -1
- package/esm/interaction/action/data/filter.d.ts +0 -13
- package/esm/interaction/action/data/filter.js +0 -66
- package/esm/interaction/action/data/filter.js.map +0 -1
- package/esm/interaction/action/data/range-filter.d.ts +0 -56
- package/esm/interaction/action/data/range-filter.js +0 -163
- package/esm/interaction/action/data/range-filter.js.map +0 -1
- package/esm/interaction/action/data/sibling-filter.d.ts +0 -22
- package/esm/interaction/action/data/sibling-filter.js +0 -39
- package/esm/interaction/action/data/sibling-filter.js.map +0 -1
- package/esm/interaction/action/element/active.d.ts +0 -14
- package/esm/interaction/action/element/active.js +0 -24
- package/esm/interaction/action/element/active.js.map +0 -1
- package/esm/interaction/action/element/filter.d.ts +0 -20
- package/esm/interaction/action/element/filter.js +0 -89
- package/esm/interaction/action/element/filter.js.map +0 -1
- package/esm/interaction/action/element/highlight-by-color.d.ts +0 -10
- package/esm/interaction/action/element/highlight-by-color.js +0 -30
- package/esm/interaction/action/element/highlight-by-color.js.map +0 -1
- package/esm/interaction/action/element/highlight-by-x.d.ts +0 -15
- package/esm/interaction/action/element/highlight-by-x.js +0 -51
- package/esm/interaction/action/element/highlight-by-x.js.map +0 -1
- package/esm/interaction/action/element/highlight-util.d.ts +0 -18
- package/esm/interaction/action/element/highlight-util.js +0 -45
- package/esm/interaction/action/element/highlight-util.js.map +0 -1
- package/esm/interaction/action/element/highlight.d.ts +0 -21
- package/esm/interaction/action/element/highlight.js +0 -93
- package/esm/interaction/action/element/highlight.js.map +0 -1
- package/esm/interaction/action/element/link-by-color.d.ts +0 -51
- package/esm/interaction/action/element/link-by-color.js +0 -156
- package/esm/interaction/action/element/link-by-color.js.map +0 -1
- package/esm/interaction/action/element/range-active.d.ts +0 -13
- package/esm/interaction/action/element/range-active.js +0 -23
- package/esm/interaction/action/element/range-active.js.map +0 -1
- package/esm/interaction/action/element/range-highlight.d.ts +0 -27
- package/esm/interaction/action/element/range-highlight.js +0 -54
- package/esm/interaction/action/element/range-highlight.js.map +0 -1
- package/esm/interaction/action/element/range-selected.d.ts +0 -13
- package/esm/interaction/action/element/range-selected.js +0 -23
- package/esm/interaction/action/element/range-selected.js.map +0 -1
- package/esm/interaction/action/element/range-state.d.ts +0 -38
- package/esm/interaction/action/element/range-state.js +0 -164
- package/esm/interaction/action/element/range-state.js.map +0 -1
- package/esm/interaction/action/element/selected.d.ts +0 -14
- package/esm/interaction/action/element/selected.js +0 -24
- package/esm/interaction/action/element/selected.js.map +0 -1
- package/esm/interaction/action/element/sibling-filter.d.ts +0 -19
- package/esm/interaction/action/element/sibling-filter.js +0 -93
- package/esm/interaction/action/element/sibling-filter.js.map +0 -1
- package/esm/interaction/action/element/single-active.d.ts +0 -13
- package/esm/interaction/action/element/single-active.js +0 -23
- package/esm/interaction/action/element/single-active.js.map +0 -1
- package/esm/interaction/action/element/single-highlight.d.ts +0 -16
- package/esm/interaction/action/element/single-highlight.js +0 -35
- package/esm/interaction/action/element/single-highlight.js.map +0 -1
- package/esm/interaction/action/element/single-selected.d.ts +0 -13
- package/esm/interaction/action/element/single-selected.js +0 -23
- package/esm/interaction/action/element/single-selected.js.map +0 -1
- package/esm/interaction/action/element/single-state.d.ts +0 -18
- package/esm/interaction/action/element/single-state.js +0 -53
- package/esm/interaction/action/element/single-state.js.map +0 -1
- package/esm/interaction/action/element/state-base.d.ts +0 -39
- package/esm/interaction/action/element/state-base.js +0 -59
- package/esm/interaction/action/element/state-base.js.map +0 -1
- package/esm/interaction/action/element/state.d.ts +0 -28
- package/esm/interaction/action/element/state.js +0 -99
- package/esm/interaction/action/element/state.js.map +0 -1
- package/esm/interaction/action/index.d.ts +0 -2
- package/esm/interaction/action/index.js +0 -3
- package/esm/interaction/action/index.js.map +0 -1
- package/esm/interaction/action/mask/base.d.ts +0 -62
- package/esm/interaction/action/mask/base.js +0 -169
- package/esm/interaction/action/mask/base.js.map +0 -1
- package/esm/interaction/action/mask/circle.d.ts +0 -14
- package/esm/interaction/action/mask/circle.js +0 -37
- package/esm/interaction/action/mask/circle.js.map +0 -1
- package/esm/interaction/action/mask/dim-rect.d.ts +0 -11
- package/esm/interaction/action/mask/dim-rect.js +0 -62
- package/esm/interaction/action/mask/dim-rect.js.map +0 -1
- package/esm/interaction/action/mask/path.d.ts +0 -16
- package/esm/interaction/action/mask/path.js +0 -44
- package/esm/interaction/action/mask/path.js.map +0 -1
- package/esm/interaction/action/mask/rect.d.ts +0 -17
- package/esm/interaction/action/mask/rect.js +0 -39
- package/esm/interaction/action/mask/rect.js.map +0 -1
- package/esm/interaction/action/mask/smooth-path.d.ts +0 -9
- package/esm/interaction/action/mask/smooth-path.js +0 -21
- package/esm/interaction/action/mask/smooth-path.js.map +0 -1
- package/esm/interaction/action/register.d.ts +0 -36
- package/esm/interaction/action/register.js +0 -60
- package/esm/interaction/action/register.js.map +0 -1
- package/esm/interaction/action/util.d.ts +0 -140
- package/esm/interaction/action/util.js +0 -361
- package/esm/interaction/action/util.js.map +0 -1
- package/esm/interaction/action/view/button.d.ts +0 -25
- package/esm/interaction/action/view/button.js +0 -116
- package/esm/interaction/action/view/button.js.map +0 -1
- package/esm/interaction/action/view/drag.d.ts +0 -24
- package/esm/interaction/action/view/drag.js +0 -73
- package/esm/interaction/action/view/drag.js.map +0 -1
- package/esm/interaction/action/view/mousewheel-scroll.d.ts +0 -5
- package/esm/interaction/action/view/mousewheel-scroll.js +0 -35
- package/esm/interaction/action/view/mousewheel-scroll.js.map +0 -1
- package/esm/interaction/action/view/move.d.ts +0 -28
- package/esm/interaction/action/view/move.js +0 -80
- package/esm/interaction/action/view/move.js.map +0 -1
- package/esm/interaction/action/view/scale-transform.d.ts +0 -18
- package/esm/interaction/action/view/scale-transform.js +0 -51
- package/esm/interaction/action/view/scale-transform.js.map +0 -1
- package/esm/interaction/action/view/scale-translate.d.ts +0 -30
- package/esm/interaction/action/view/scale-translate.js +0 -112
- package/esm/interaction/action/view/scale-translate.js.map +0 -1
- package/esm/interaction/action/view/scale-zoom.d.ts +0 -20
- package/esm/interaction/action/view/scale-zoom.js +0 -83
- package/esm/interaction/action/view/scale-zoom.js.map +0 -1
- package/esm/interaction/context.d.ts +0 -65
- package/esm/interaction/context.js +0 -142
- package/esm/interaction/context.js.map +0 -1
- package/esm/interaction/grammar-interaction.d.ts +0 -158
- package/esm/interaction/grammar-interaction.js +0 -285
- package/esm/interaction/grammar-interaction.js.map +0 -1
- package/esm/interaction/index.d.ts +0 -25
- package/esm/interaction/index.js +0 -43
- package/esm/interaction/index.js.map +0 -1
- package/esm/interaction/interaction.d.ts +0 -29
- package/esm/interaction/interaction.js +0 -32
- package/esm/interaction/interaction.js.map +0 -1
- package/esm/interface.d.ts +0 -2264
- package/esm/interface.js +0 -2
- package/esm/interface.js.map +0 -1
- package/esm/theme/index.d.ts +0 -12
- package/esm/theme/index.js +0 -23
- package/esm/theme/index.js.map +0 -1
- package/esm/theme/style-sheet/dark.d.ts +0 -825
- package/esm/theme/style-sheet/dark.js +0 -496
- package/esm/theme/style-sheet/dark.js.map +0 -1
- package/esm/theme/style-sheet/light.d.ts +0 -817
- package/esm/theme/style-sheet/light.js +0 -492
- package/esm/theme/style-sheet/light.js.map +0 -1
- package/esm/theme/util/create-by-style-sheet.d.ts +0 -6
- package/esm/theme/util/create-by-style-sheet.js +0 -1422
- package/esm/theme/util/create-by-style-sheet.js.map +0 -1
- package/esm/theme/util/create-theme.d.ts +0 -6
- package/esm/theme/util/create-theme.js +0 -12
- package/esm/theme/util/create-theme.js.map +0 -1
- package/esm/theme/util/index.d.ts +0 -1
- package/esm/theme/util/index.js +0 -2
- package/esm/theme/util/index.js.map +0 -1
- package/esm/util/annotation.d.ts +0 -7
- package/esm/util/annotation.js +0 -39
- package/esm/util/annotation.js.map +0 -1
- package/esm/util/attr.d.ts +0 -10
- package/esm/util/attr.js +0 -25
- package/esm/util/attr.js.map +0 -1
- package/esm/util/axis.d.ts +0 -100
- package/esm/util/axis.js +0 -236
- package/esm/util/axis.js.map +0 -1
- package/esm/util/bbox.d.ts +0 -105
- package/esm/util/bbox.js +0 -282
- package/esm/util/bbox.js.map +0 -1
- package/esm/util/collision-detect.d.ts +0 -16
- package/esm/util/collision-detect.js +0 -127
- package/esm/util/collision-detect.js.map +0 -1
- package/esm/util/color.d.ts +0 -1
- package/esm/util/color.js +0 -18
- package/esm/util/color.js.map +0 -1
- package/esm/util/context.d.ts +0 -4
- package/esm/util/context.js +0 -11
- package/esm/util/context.js.map +0 -1
- package/esm/util/coordinate.d.ts +0 -86
- package/esm/util/coordinate.js +0 -147
- package/esm/util/coordinate.js.map +0 -1
- package/esm/util/direction.d.ts +0 -19
- package/esm/util/direction.js +0 -120
- package/esm/util/direction.js.map +0 -1
- package/esm/util/dom.d.ts +0 -19
- package/esm/util/dom.js +0 -61
- package/esm/util/dom.js.map +0 -1
- package/esm/util/event.d.ts +0 -8
- package/esm/util/event.js +0 -14
- package/esm/util/event.js.map +0 -1
- package/esm/util/facet.d.ts +0 -16
- package/esm/util/facet.js +0 -43
- package/esm/util/facet.js.map +0 -1
- package/esm/util/graphics.d.ts +0 -58
- package/esm/util/graphics.js +0 -203
- package/esm/util/graphics.js.map +0 -1
- package/esm/util/grid.d.ts +0 -36
- package/esm/util/grid.js +0 -118
- package/esm/util/grid.js.map +0 -1
- package/esm/util/helper.d.ts +0 -34
- package/esm/util/helper.js +0 -72
- package/esm/util/helper.js.map +0 -1
- package/esm/util/legend.d.ts +0 -45
- package/esm/util/legend.js +0 -145
- package/esm/util/legend.js.map +0 -1
- package/esm/util/marker.d.ts +0 -10
- package/esm/util/marker.js +0 -58
- package/esm/util/marker.js.map +0 -1
- package/esm/util/padding.d.ts +0 -14
- package/esm/util/padding.js +0 -40
- package/esm/util/padding.js.map +0 -1
- package/esm/util/scale.d.ts +0 -42
- package/esm/util/scale.js +0 -128
- package/esm/util/scale.js.map +0 -1
- package/esm/util/stat.d.ts +0 -10
- package/esm/util/stat.js +0 -36
- package/esm/util/stat.js.map +0 -1
- package/esm/util/text.d.ts +0 -23
- package/esm/util/text.js +0 -84
- package/esm/util/text.js.map +0 -1
- package/esm/util/tooltip.d.ts +0 -26
- package/esm/util/tooltip.js +0 -419
- package/esm/util/tooltip.js.map +0 -1
- package/esm/util/transform.d.ts +0 -33
- package/esm/util/transform.js +0 -61
- package/esm/util/transform.js.map +0 -1
- package/esm/util/types.d.ts +0 -6
- package/esm/util/types.js +0 -2
- package/esm/util/types.js.map +0 -1
- package/lib/animate/animation/fade.d.ts +0 -21
- package/lib/animate/animation/fade.js +0 -47
- package/lib/animate/animation/fade.js.map +0 -1
- package/lib/animate/animation/grow-in.d.ts +0 -30
- package/lib/animate/animation/grow-in.js +0 -44
- package/lib/animate/animation/grow-in.js.map +0 -1
- package/lib/animate/animation/index.d.ts +0 -16
- package/lib/animate/animation/index.js +0 -22
- package/lib/animate/animation/index.js.map +0 -1
- package/lib/animate/animation/path-in.d.ts +0 -12
- package/lib/animate/animation/path-in.js +0 -25
- package/lib/animate/animation/path-in.js.map +0 -1
- package/lib/animate/animation/position-update.d.ts +0 -11
- package/lib/animate/animation/position-update.js +0 -28
- package/lib/animate/animation/position-update.js.map +0 -1
- package/lib/animate/animation/scale-in.d.ts +0 -19
- package/lib/animate/animation/scale-in.js +0 -65
- package/lib/animate/animation/scale-in.js.map +0 -1
- package/lib/animate/animation/sector-path-update.d.ts +0 -11
- package/lib/animate/animation/sector-path-update.js +0 -135
- package/lib/animate/animation/sector-path-update.js.map +0 -1
- package/lib/animate/animation/util.d.ts +0 -19
- package/lib/animate/animation/util.js +0 -93
- package/lib/animate/animation/util.js.map +0 -1
- package/lib/animate/animation/wave-in.d.ts +0 -13
- package/lib/animate/animation/wave-in.js +0 -30
- package/lib/animate/animation/wave-in.js.map +0 -1
- package/lib/animate/animation/zoom.d.ts +0 -21
- package/lib/animate/animation/zoom.js +0 -71
- package/lib/animate/animation/zoom.js.map +0 -1
- package/lib/animate/index.d.ts +0 -48
- package/lib/animate/index.js +0 -255
- package/lib/animate/index.js.map +0 -1
- package/lib/animate/interface.d.ts +0 -12
- package/lib/animate/interface.js +0 -3
- package/lib/animate/interface.js.map +0 -1
- package/lib/api.d.ts +0 -2
- package/lib/api.js +0 -7
- package/lib/api.js.map +0 -1
- package/lib/base.d.ts +0 -33
- package/lib/base.js +0 -57
- package/lib/base.js.map +0 -1
- package/lib/chart/chart.d.ts +0 -61
- package/lib/chart/chart.js +0 -159
- package/lib/chart/chart.js.map +0 -1
- package/lib/chart/controller/annotation.d.ts +0 -162
- package/lib/chart/controller/annotation.js +0 -579
- package/lib/chart/controller/annotation.js.map +0 -1
- package/lib/chart/controller/axis.d.ts +0 -93
- package/lib/chart/controller/axis.js +0 -580
- package/lib/chart/controller/axis.js.map +0 -1
- package/lib/chart/controller/base.d.ts +0 -64
- package/lib/chart/controller/base.js +0 -65
- package/lib/chart/controller/base.js.map +0 -1
- package/lib/chart/controller/coordinate.d.ts +0 -74
- package/lib/chart/controller/coordinate.js +0 -147
- package/lib/chart/controller/coordinate.js.map +0 -1
- package/lib/chart/controller/gesture.d.ts +0 -37
- package/lib/chart/controller/gesture.js +0 -260
- package/lib/chart/controller/gesture.js.map +0 -1
- package/lib/chart/controller/index.d.ts +0 -25
- package/lib/chart/controller/index.js +0 -41
- package/lib/chart/controller/index.js.map +0 -1
- package/lib/chart/controller/legend.d.ts +0 -106
- package/lib/chart/controller/legend.js +0 -486
- package/lib/chart/controller/legend.js.map +0 -1
- package/lib/chart/controller/scrollbar.d.ts +0 -64
- package/lib/chart/controller/scrollbar.js +0 -318
- package/lib/chart/controller/scrollbar.js.map +0 -1
- package/lib/chart/controller/slider.d.ts +0 -88
- package/lib/chart/controller/slider.js +0 -298
- package/lib/chart/controller/slider.js.map +0 -1
- package/lib/chart/controller/tooltip.d.ts +0 -68
- package/lib/chart/controller/tooltip.js +0 -646
- package/lib/chart/controller/tooltip.js.map +0 -1
- package/lib/chart/event.d.ts +0 -47
- package/lib/chart/event.js +0 -93
- package/lib/chart/event.js.map +0 -1
- package/lib/chart/index.d.ts +0 -4
- package/lib/chart/index.js +0 -16
- package/lib/chart/index.js.map +0 -1
- package/lib/chart/layout/auto.d.ts +0 -8
- package/lib/chart/layout/auto.js +0 -68
- package/lib/chart/layout/auto.js.map +0 -1
- package/lib/chart/layout/constraint/bounds.d.ts +0 -32
- package/lib/chart/layout/constraint/bounds.js +0 -33
- package/lib/chart/layout/constraint/bounds.js.map +0 -1
- package/lib/chart/layout/constraint/constraint.d.ts +0 -31
- package/lib/chart/layout/constraint/constraint.js +0 -84
- package/lib/chart/layout/constraint/constraint.js.map +0 -1
- package/lib/chart/layout/constraint/gauss.d.ts +0 -11
- package/lib/chart/layout/constraint/gauss.js +0 -68
- package/lib/chart/layout/constraint/gauss.js.map +0 -1
- package/lib/chart/layout/constraint/index.d.ts +0 -5
- package/lib/chart/layout/constraint/index.js +0 -38
- package/lib/chart/layout/constraint/index.js.map +0 -1
- package/lib/chart/layout/constraint/solver.d.ts +0 -40
- package/lib/chart/layout/constraint/solver.js +0 -80
- package/lib/chart/layout/constraint/solver.js.map +0 -1
- package/lib/chart/layout/constraint/types.d.ts +0 -21
- package/lib/chart/layout/constraint/types.js +0 -16
- package/lib/chart/layout/constraint/types.js.map +0 -1
- package/lib/chart/layout/constraint/variable.d.ts +0 -24
- package/lib/chart/layout/constraint/variable.js +0 -31
- package/lib/chart/layout/constraint/variable.js.map +0 -1
- package/lib/chart/layout/index.d.ts +0 -15
- package/lib/chart/layout/index.js +0 -29
- package/lib/chart/layout/index.js.map +0 -1
- package/lib/chart/layout/padding-cal.d.ts +0 -53
- package/lib/chart/layout/padding-cal.js +0 -111
- package/lib/chart/layout/padding-cal.js.map +0 -1
- package/lib/chart/util/scale-pool.d.ts +0 -57
- package/lib/chart/util/scale-pool.js +0 -215
- package/lib/chart/util/scale-pool.js.map +0 -1
- package/lib/chart/util/sync-view-padding.d.ts +0 -9
- package/lib/chart/util/sync-view-padding.js +0 -18
- package/lib/chart/util/sync-view-padding.js.map +0 -1
- package/lib/chart/view.d.ts +0 -747
- package/lib/chart/view.js +0 -1637
- package/lib/chart/view.js.map +0 -1
- package/lib/component/labels.d.ts +0 -47
- package/lib/component/labels.js +0 -276
- package/lib/component/labels.js.map +0 -1
- package/lib/component/update-label.d.ts +0 -21
- package/lib/component/update-label.js +0 -61
- package/lib/component/update-label.js.map +0 -1
- package/lib/constant.d.ts +0 -122
- package/lib/constant.js +0 -137
- package/lib/constant.js.map +0 -1
- package/lib/core.d.ts +0 -46
- package/lib/core.js +0 -101
- package/lib/core.js.map +0 -1
- package/lib/dependents.d.ts +0 -21
- package/lib/dependents.js +0 -55
- package/lib/dependents.js.map +0 -1
- package/lib/engine/index.d.ts +0 -13
- package/lib/engine/index.js +0 -27
- package/lib/engine/index.js.map +0 -1
- package/lib/facet/circle.d.ts +0 -36
- package/lib/facet/circle.js +0 -121
- package/lib/facet/circle.js.map +0 -1
- package/lib/facet/facet.d.ts +0 -165
- package/lib/facet/facet.js +0 -294
- package/lib/facet/facet.js.map +0 -1
- package/lib/facet/index.d.ts +0 -13
- package/lib/facet/index.js +0 -28
- package/lib/facet/index.js.map +0 -1
- package/lib/facet/list.d.ts +0 -46
- package/lib/facet/list.js +0 -136
- package/lib/facet/list.js.map +0 -1
- package/lib/facet/matrix.d.ts +0 -34
- package/lib/facet/matrix.js +0 -121
- package/lib/facet/matrix.js.map +0 -1
- package/lib/facet/mirror.d.ts +0 -31
- package/lib/facet/mirror.js +0 -146
- package/lib/facet/mirror.js.map +0 -1
- package/lib/facet/rect.d.ts +0 -35
- package/lib/facet/rect.js +0 -143
- package/lib/facet/rect.js.map +0 -1
- package/lib/facet/tree.d.ts +0 -40
- package/lib/facet/tree.js +0 -290
- package/lib/facet/tree.js.map +0 -1
- package/lib/geometry/area.d.ts +0 -46
- package/lib/geometry/area.js +0 -64
- package/lib/geometry/area.js.map +0 -1
- package/lib/geometry/base.d.ts +0 -793
- package/lib/geometry/base.js +0 -1489
- package/lib/geometry/base.js.map +0 -1
- package/lib/geometry/edge.d.ts +0 -15
- package/lib/geometry/edge.js +0 -26
- package/lib/geometry/edge.js.map +0 -1
- package/lib/geometry/element/index.d.ts +0 -127
- package/lib/geometry/element/index.js +0 -438
- package/lib/geometry/element/index.js.map +0 -1
- package/lib/geometry/heatmap.d.ts +0 -31
- package/lib/geometry/heatmap.js +0 -192
- package/lib/geometry/heatmap.js.map +0 -1
- package/lib/geometry/interval.d.ts +0 -41
- package/lib/geometry/interval.js +0 -100
- package/lib/geometry/interval.js.map +0 -1
- package/lib/geometry/label/base.d.ts +0 -76
- package/lib/geometry/label/base.js +0 -406
- package/lib/geometry/label/base.js.map +0 -1
- package/lib/geometry/label/index.d.ts +0 -38
- package/lib/geometry/label/index.js +0 -42
- package/lib/geometry/label/index.js.map +0 -1
- package/lib/geometry/label/interface.d.ts +0 -50
- package/lib/geometry/label/interface.js +0 -3
- package/lib/geometry/label/interface.js.map +0 -1
- package/lib/geometry/label/interval.d.ts +0 -27
- package/lib/geometry/label/interval.js +0 -148
- package/lib/geometry/label/interval.js.map +0 -1
- package/lib/geometry/label/layout/adjust-color.d.ts +0 -3
- package/lib/geometry/label/layout/adjust-color.js +0 -40
- package/lib/geometry/label/layout/adjust-color.js.map +0 -1
- package/lib/geometry/label/layout/hide-overlap.d.ts +0 -8
- package/lib/geometry/label/layout/hide-overlap.js +0 -33
- package/lib/geometry/label/layout/hide-overlap.js.map +0 -1
- package/lib/geometry/label/layout/interval/adjust-position.d.ts +0 -9
- package/lib/geometry/label/layout/interval/adjust-position.js +0 -65
- package/lib/geometry/label/layout/interval/adjust-position.js.map +0 -1
- package/lib/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
- package/lib/geometry/label/layout/interval/hide-overlap.js +0 -82
- package/lib/geometry/label/layout/interval/hide-overlap.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-canvas.d.ts +0 -9
- package/lib/geometry/label/layout/limit-in-canvas.js +0 -48
- package/lib/geometry/label/layout/limit-in-canvas.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-plot.d.ts +0 -18
- package/lib/geometry/label/layout/limit-in-plot.js +0 -79
- package/lib/geometry/label/layout/limit-in-plot.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-shape.d.ts +0 -7
- package/lib/geometry/label/layout/limit-in-shape.js +0 -22
- package/lib/geometry/label/layout/limit-in-shape.js.map +0 -1
- package/lib/geometry/label/layout/overlap.d.ts +0 -15
- package/lib/geometry/label/layout/overlap.js +0 -228
- package/lib/geometry/label/layout/overlap.js.map +0 -1
- package/lib/geometry/label/layout/path/adjust-position.d.ts +0 -17
- package/lib/geometry/label/layout/path/adjust-position.js +0 -98
- package/lib/geometry/label/layout/path/adjust-position.js.map +0 -1
- package/lib/geometry/label/layout/pie/distribute.d.ts +0 -3
- package/lib/geometry/label/layout/pie/distribute.js +0 -189
- package/lib/geometry/label/layout/pie/distribute.js.map +0 -1
- package/lib/geometry/label/layout/pie/outer.d.ts +0 -6
- package/lib/geometry/label/layout/pie/outer.js +0 -211
- package/lib/geometry/label/layout/pie/outer.js.map +0 -1
- package/lib/geometry/label/layout/pie/spider.d.ts +0 -7
- package/lib/geometry/label/layout/pie/spider.js +0 -185
- package/lib/geometry/label/layout/pie/spider.js.map +0 -1
- package/lib/geometry/label/layout/pie/util.d.ts +0 -10
- package/lib/geometry/label/layout/pie/util.js +0 -77
- package/lib/geometry/label/layout/pie/util.js.map +0 -1
- package/lib/geometry/label/layout/point/adjust-position.d.ts +0 -17
- package/lib/geometry/label/layout/point/adjust-position.js +0 -98
- package/lib/geometry/label/layout/point/adjust-position.js.map +0 -1
- package/lib/geometry/label/pie.d.ts +0 -22
- package/lib/geometry/label/pie.js +0 -97
- package/lib/geometry/label/pie.js.map +0 -1
- package/lib/geometry/label/polar.d.ts +0 -64
- package/lib/geometry/label/polar.js +0 -223
- package/lib/geometry/label/polar.js.map +0 -1
- package/lib/geometry/label/util/index.d.ts +0 -26
- package/lib/geometry/label/util/index.js +0 -68
- package/lib/geometry/label/util/index.js.map +0 -1
- package/lib/geometry/line.d.ts +0 -11
- package/lib/geometry/line.js +0 -23
- package/lib/geometry/line.js.map +0 -1
- package/lib/geometry/path.d.ts +0 -40
- package/lib/geometry/path.js +0 -124
- package/lib/geometry/path.js.map +0 -1
- package/lib/geometry/point.d.ts +0 -19
- package/lib/geometry/point.js +0 -32
- package/lib/geometry/point.js.map +0 -1
- package/lib/geometry/polygon.d.ts +0 -19
- package/lib/geometry/polygon.js +0 -64
- package/lib/geometry/polygon.js.map +0 -1
- package/lib/geometry/schema.d.ts +0 -18
- package/lib/geometry/schema.js +0 -50
- package/lib/geometry/schema.js.map +0 -1
- package/lib/geometry/shape/area/index.d.ts +0 -2
- package/lib/geometry/shape/area/index.js +0 -46
- package/lib/geometry/shape/area/index.js.map +0 -1
- package/lib/geometry/shape/area/line.d.ts +0 -1
- package/lib/geometry/shape/area/line.js +0 -33
- package/lib/geometry/shape/area/line.js.map +0 -1
- package/lib/geometry/shape/area/smooth-line.d.ts +0 -1
- package/lib/geometry/shape/area/smooth-line.js +0 -32
- package/lib/geometry/shape/area/smooth-line.js.map +0 -1
- package/lib/geometry/shape/area/smooth.d.ts +0 -1
- package/lib/geometry/shape/area/smooth.js +0 -33
- package/lib/geometry/shape/area/smooth.js.map +0 -1
- package/lib/geometry/shape/area/util.d.ts +0 -22
- package/lib/geometry/shape/area/util.js +0 -93
- package/lib/geometry/shape/area/util.js.map +0 -1
- package/lib/geometry/shape/base.d.ts +0 -22
- package/lib/geometry/shape/base.js +0 -168
- package/lib/geometry/shape/base.js.map +0 -1
- package/lib/geometry/shape/constant.d.ts +0 -4
- package/lib/geometry/shape/constant.js +0 -8
- package/lib/geometry/shape/constant.js.map +0 -1
- package/lib/geometry/shape/edge/arc.d.ts +0 -1
- package/lib/geometry/shape/edge/arc.js +0 -86
- package/lib/geometry/shape/edge/arc.js.map +0 -1
- package/lib/geometry/shape/edge/index.d.ts +0 -2
- package/lib/geometry/shape/edge/index.js +0 -33
- package/lib/geometry/shape/edge/index.js.map +0 -1
- package/lib/geometry/shape/edge/smooth.d.ts +0 -1
- package/lib/geometry/shape/edge/smooth.js +0 -32
- package/lib/geometry/shape/edge/smooth.js.map +0 -1
- package/lib/geometry/shape/edge/util.d.ts +0 -17
- package/lib/geometry/shape/edge/util.js +0 -37
- package/lib/geometry/shape/edge/util.js.map +0 -1
- package/lib/geometry/shape/edge/vhv.d.ts +0 -1
- package/lib/geometry/shape/edge/vhv.js +0 -44
- package/lib/geometry/shape/edge/vhv.js.map +0 -1
- package/lib/geometry/shape/interval/funnel.d.ts +0 -1
- package/lib/geometry/shape/interval/funnel.js +0 -33
- package/lib/geometry/shape/interval/funnel.js.map +0 -1
- package/lib/geometry/shape/interval/hollow-rect.d.ts +0 -1
- package/lib/geometry/shape/interval/hollow-rect.js +0 -53
- package/lib/geometry/shape/interval/hollow-rect.js.map +0 -1
- package/lib/geometry/shape/interval/index.d.ts +0 -3
- package/lib/geometry/shape/interval/index.js +0 -65
- package/lib/geometry/shape/interval/index.js.map +0 -1
- package/lib/geometry/shape/interval/line.d.ts +0 -1
- package/lib/geometry/shape/interval/line.js +0 -56
- package/lib/geometry/shape/interval/line.js.map +0 -1
- package/lib/geometry/shape/interval/pyramid.d.ts +0 -1
- package/lib/geometry/shape/interval/pyramid.js +0 -33
- package/lib/geometry/shape/interval/pyramid.js.map +0 -1
- package/lib/geometry/shape/interval/tick.d.ts +0 -1
- package/lib/geometry/shape/interval/tick.js +0 -79
- package/lib/geometry/shape/interval/tick.js.map +0 -1
- package/lib/geometry/shape/interval/util.d.ts +0 -55
- package/lib/geometry/shape/interval/util.js +0 -321
- package/lib/geometry/shape/interval/util.js.map +0 -1
- package/lib/geometry/shape/line/index.d.ts +0 -8
- package/lib/geometry/shape/line/index.js +0 -109
- package/lib/geometry/shape/line/index.js.map +0 -1
- package/lib/geometry/shape/line/step.d.ts +0 -1
- package/lib/geometry/shape/line/step.js +0 -86
- package/lib/geometry/shape/line/step.js.map +0 -1
- package/lib/geometry/shape/line/util.d.ts +0 -16
- package/lib/geometry/shape/line/util.js +0 -87
- package/lib/geometry/shape/line/util.js.map +0 -1
- package/lib/geometry/shape/point/hollow.d.ts +0 -1
- package/lib/geometry/shape/point/hollow.js +0 -26
- package/lib/geometry/shape/point/hollow.js.map +0 -1
- package/lib/geometry/shape/point/image.d.ts +0 -1
- package/lib/geometry/shape/point/image.js +0 -50
- package/lib/geometry/shape/point/image.js.map +0 -1
- package/lib/geometry/shape/point/index.d.ts +0 -2
- package/lib/geometry/shape/point/index.js +0 -34
- package/lib/geometry/shape/point/index.js.map +0 -1
- package/lib/geometry/shape/point/solid.d.ts +0 -1
- package/lib/geometry/shape/point/solid.js +0 -25
- package/lib/geometry/shape/point/solid.js.map +0 -1
- package/lib/geometry/shape/point/util.d.ts +0 -15
- package/lib/geometry/shape/point/util.js +0 -43
- package/lib/geometry/shape/point/util.js.map +0 -1
- package/lib/geometry/shape/polygon/index.d.ts +0 -2
- package/lib/geometry/shape/polygon/index.js +0 -67
- package/lib/geometry/shape/polygon/index.js.map +0 -1
- package/lib/geometry/shape/polygon/square.d.ts +0 -1
- package/lib/geometry/shape/polygon/square.js +0 -46
- package/lib/geometry/shape/polygon/square.js.map +0 -1
- package/lib/geometry/shape/schema/box.d.ts +0 -1
- package/lib/geometry/shape/schema/box.js +0 -144
- package/lib/geometry/shape/schema/box.js.map +0 -1
- package/lib/geometry/shape/schema/candle.d.ts +0 -1
- package/lib/geometry/shape/schema/candle.js +0 -82
- package/lib/geometry/shape/schema/candle.js.map +0 -1
- package/lib/geometry/shape/schema/index.d.ts +0 -2
- package/lib/geometry/shape/schema/index.js +0 -8
- package/lib/geometry/shape/schema/index.js.map +0 -1
- package/lib/geometry/shape/util/get-path-points.d.ts +0 -38
- package/lib/geometry/shape/util/get-path-points.js +0 -137
- package/lib/geometry/shape/util/get-path-points.js.map +0 -1
- package/lib/geometry/shape/util/get-style.d.ts +0 -18
- package/lib/geometry/shape/util/get-style.js +0 -52
- package/lib/geometry/shape/util/get-style.js.map +0 -1
- package/lib/geometry/shape/util/path.d.ts +0 -32
- package/lib/geometry/shape/util/path.js +0 -320
- package/lib/geometry/shape/util/path.js.map +0 -1
- package/lib/geometry/shape/util/split-points.d.ts +0 -13
- package/lib/geometry/shape/util/split-points.js +0 -28
- package/lib/geometry/shape/util/split-points.js.map +0 -1
- package/lib/geometry/shape/violin/hollow.d.ts +0 -1
- package/lib/geometry/shape/violin/hollow.js +0 -53
- package/lib/geometry/shape/violin/hollow.js.map +0 -1
- package/lib/geometry/shape/violin/index.d.ts +0 -2
- package/lib/geometry/shape/violin/index.js +0 -62
- package/lib/geometry/shape/violin/index.js.map +0 -1
- package/lib/geometry/shape/violin/smooth.d.ts +0 -1
- package/lib/geometry/shape/violin/smooth.js +0 -30
- package/lib/geometry/shape/violin/smooth.js.map +0 -1
- package/lib/geometry/util/diff.d.ts +0 -11
- package/lib/geometry/util/diff.js +0 -34
- package/lib/geometry/util/diff.js.map +0 -1
- package/lib/geometry/util/get-shape-type.d.ts +0 -8
- package/lib/geometry/util/get-shape-type.js +0 -20
- package/lib/geometry/util/get-shape-type.js.map +0 -1
- package/lib/geometry/util/group-data.d.ts +0 -3
- package/lib/geometry/util/group-data.js +0 -35
- package/lib/geometry/util/group-data.js.map +0 -1
- package/lib/geometry/util/is-model-change.d.ts +0 -9
- package/lib/geometry/util/is-model-change.js +0 -18
- package/lib/geometry/util/is-model-change.js.map +0 -1
- package/lib/geometry/util/parse-fields.d.ts +0 -2
- package/lib/geometry/util/parse-fields.js +0 -13
- package/lib/geometry/util/parse-fields.js.map +0 -1
- package/lib/geometry/util/shape-size.d.ts +0 -2
- package/lib/geometry/util/shape-size.js +0 -128
- package/lib/geometry/util/shape-size.js.map +0 -1
- package/lib/geometry/violin.d.ts +0 -25
- package/lib/geometry/violin.js +0 -69
- package/lib/geometry/violin.js.map +0 -1
- package/lib/index.d.ts +0 -107
- package/lib/index.js +0 -586
- package/lib/index.js.map +0 -1
- package/lib/interaction/action/active-region.d.ts +0 -33
- package/lib/interaction/action/active-region.js +0 -202
- package/lib/interaction/action/active-region.js.map +0 -1
- package/lib/interaction/action/base.d.ts +0 -29
- package/lib/interaction/action/base.js +0 -38
- package/lib/interaction/action/base.js.map +0 -1
- package/lib/interaction/action/callback.d.ts +0 -17
- package/lib/interaction/action/callback.js +0 -29
- package/lib/interaction/action/callback.js.map +0 -1
- package/lib/interaction/action/component/list-active.d.ts +0 -14
- package/lib/interaction/action/component/list-active.js +0 -26
- package/lib/interaction/action/component/list-active.js.map +0 -1
- package/lib/interaction/action/component/list-checked.d.ts +0 -30
- package/lib/interaction/action/component/list-checked.js +0 -84
- package/lib/interaction/action/component/list-checked.js.map +0 -1
- package/lib/interaction/action/component/list-focus.d.ts +0 -5
- package/lib/interaction/action/component/list-focus.js +0 -57
- package/lib/interaction/action/component/list-focus.js.map +0 -1
- package/lib/interaction/action/component/list-highlight-util.d.ts +0 -7
- package/lib/interaction/action/component/list-highlight-util.js +0 -24
- package/lib/interaction/action/component/list-highlight-util.js.map +0 -1
- package/lib/interaction/action/component/list-highlight.d.ts +0 -20
- package/lib/interaction/action/component/list-highlight.js +0 -99
- package/lib/interaction/action/component/list-highlight.js.map +0 -1
- package/lib/interaction/action/component/list-radio.d.ts +0 -24
- package/lib/interaction/action/component/list-radio.js +0 -118
- package/lib/interaction/action/component/list-radio.js.map +0 -1
- package/lib/interaction/action/component/list-selected.d.ts +0 -10
- package/lib/interaction/action/component/list-selected.js +0 -22
- package/lib/interaction/action/component/list-selected.js.map +0 -1
- package/lib/interaction/action/component/list-state.d.ts +0 -46
- package/lib/interaction/action/component/list-state.js +0 -169
- package/lib/interaction/action/component/list-state.js.map +0 -1
- package/lib/interaction/action/component/list-unchecked.d.ts +0 -13
- package/lib/interaction/action/component/list-unchecked.js +0 -25
- package/lib/interaction/action/component/list-unchecked.js.map +0 -1
- package/lib/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
- package/lib/interaction/action/component/tooltip/ellipsis-text.js +0 -95
- package/lib/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
- package/lib/interaction/action/component/tooltip/geometry.d.ts +0 -24
- package/lib/interaction/action/component/tooltip/geometry.js +0 -73
- package/lib/interaction/action/component/tooltip/geometry.js.map +0 -1
- package/lib/interaction/action/component/tooltip/sibling.d.ts +0 -21
- package/lib/interaction/action/component/tooltip/sibling.js +0 -41
- package/lib/interaction/action/component/tooltip/sibling.js.map +0 -1
- package/lib/interaction/action/cursor.d.ts +0 -69
- package/lib/interaction/action/cursor.js +0 -115
- package/lib/interaction/action/cursor.js.map +0 -1
- package/lib/interaction/action/data/filter.d.ts +0 -13
- package/lib/interaction/action/data/filter.js +0 -68
- package/lib/interaction/action/data/filter.js.map +0 -1
- package/lib/interaction/action/data/range-filter.d.ts +0 -56
- package/lib/interaction/action/data/range-filter.js +0 -166
- package/lib/interaction/action/data/range-filter.js.map +0 -1
- package/lib/interaction/action/data/sibling-filter.d.ts +0 -22
- package/lib/interaction/action/data/sibling-filter.js +0 -41
- package/lib/interaction/action/data/sibling-filter.js.map +0 -1
- package/lib/interaction/action/element/active.d.ts +0 -14
- package/lib/interaction/action/element/active.js +0 -26
- package/lib/interaction/action/element/active.js.map +0 -1
- package/lib/interaction/action/element/filter.d.ts +0 -20
- package/lib/interaction/action/element/filter.js +0 -91
- package/lib/interaction/action/element/filter.js.map +0 -1
- package/lib/interaction/action/element/highlight-by-color.d.ts +0 -10
- package/lib/interaction/action/element/highlight-by-color.js +0 -32
- package/lib/interaction/action/element/highlight-by-color.js.map +0 -1
- package/lib/interaction/action/element/highlight-by-x.d.ts +0 -15
- package/lib/interaction/action/element/highlight-by-x.js +0 -53
- package/lib/interaction/action/element/highlight-by-x.js.map +0 -1
- package/lib/interaction/action/element/highlight-util.d.ts +0 -18
- package/lib/interaction/action/element/highlight-util.js +0 -50
- package/lib/interaction/action/element/highlight-util.js.map +0 -1
- package/lib/interaction/action/element/highlight.d.ts +0 -21
- package/lib/interaction/action/element/highlight.js +0 -96
- package/lib/interaction/action/element/highlight.js.map +0 -1
- package/lib/interaction/action/element/link-by-color.d.ts +0 -51
- package/lib/interaction/action/element/link-by-color.js +0 -158
- package/lib/interaction/action/element/link-by-color.js.map +0 -1
- package/lib/interaction/action/element/range-active.d.ts +0 -13
- package/lib/interaction/action/element/range-active.js +0 -25
- package/lib/interaction/action/element/range-active.js.map +0 -1
- package/lib/interaction/action/element/range-highlight.d.ts +0 -27
- package/lib/interaction/action/element/range-highlight.js +0 -57
- package/lib/interaction/action/element/range-highlight.js.map +0 -1
- package/lib/interaction/action/element/range-selected.d.ts +0 -13
- package/lib/interaction/action/element/range-selected.js +0 -25
- package/lib/interaction/action/element/range-selected.js.map +0 -1
- package/lib/interaction/action/element/range-state.d.ts +0 -38
- package/lib/interaction/action/element/range-state.js +0 -166
- package/lib/interaction/action/element/range-state.js.map +0 -1
- package/lib/interaction/action/element/selected.d.ts +0 -14
- package/lib/interaction/action/element/selected.js +0 -26
- package/lib/interaction/action/element/selected.js.map +0 -1
- package/lib/interaction/action/element/sibling-filter.d.ts +0 -19
- package/lib/interaction/action/element/sibling-filter.js +0 -95
- package/lib/interaction/action/element/sibling-filter.js.map +0 -1
- package/lib/interaction/action/element/single-active.d.ts +0 -13
- package/lib/interaction/action/element/single-active.js +0 -25
- package/lib/interaction/action/element/single-active.js.map +0 -1
- package/lib/interaction/action/element/single-highlight.d.ts +0 -16
- package/lib/interaction/action/element/single-highlight.js +0 -37
- package/lib/interaction/action/element/single-highlight.js.map +0 -1
- package/lib/interaction/action/element/single-selected.d.ts +0 -13
- package/lib/interaction/action/element/single-selected.js +0 -25
- package/lib/interaction/action/element/single-selected.js.map +0 -1
- package/lib/interaction/action/element/single-state.d.ts +0 -18
- package/lib/interaction/action/element/single-state.js +0 -55
- package/lib/interaction/action/element/single-state.js.map +0 -1
- package/lib/interaction/action/element/state-base.d.ts +0 -39
- package/lib/interaction/action/element/state-base.js +0 -61
- package/lib/interaction/action/element/state-base.js.map +0 -1
- package/lib/interaction/action/element/state.d.ts +0 -28
- package/lib/interaction/action/element/state.js +0 -101
- package/lib/interaction/action/element/state.js.map +0 -1
- package/lib/interaction/action/index.d.ts +0 -2
- package/lib/interaction/action/index.js +0 -13
- package/lib/interaction/action/index.js.map +0 -1
- package/lib/interaction/action/mask/base.d.ts +0 -62
- package/lib/interaction/action/mask/base.js +0 -171
- package/lib/interaction/action/mask/base.js.map +0 -1
- package/lib/interaction/action/mask/circle.d.ts +0 -14
- package/lib/interaction/action/mask/circle.js +0 -39
- package/lib/interaction/action/mask/circle.js.map +0 -1
- package/lib/interaction/action/mask/dim-rect.d.ts +0 -11
- package/lib/interaction/action/mask/dim-rect.js +0 -64
- package/lib/interaction/action/mask/dim-rect.js.map +0 -1
- package/lib/interaction/action/mask/path.d.ts +0 -16
- package/lib/interaction/action/mask/path.js +0 -46
- package/lib/interaction/action/mask/path.js.map +0 -1
- package/lib/interaction/action/mask/rect.d.ts +0 -17
- package/lib/interaction/action/mask/rect.js +0 -41
- package/lib/interaction/action/mask/rect.js.map +0 -1
- package/lib/interaction/action/mask/smooth-path.d.ts +0 -9
- package/lib/interaction/action/mask/smooth-path.js +0 -23
- package/lib/interaction/action/mask/smooth-path.js.map +0 -1
- package/lib/interaction/action/register.d.ts +0 -36
- package/lib/interaction/action/register.js +0 -69
- package/lib/interaction/action/register.js.map +0 -1
- package/lib/interaction/action/util.d.ts +0 -140
- package/lib/interaction/action/util.js +0 -387
- package/lib/interaction/action/util.js.map +0 -1
- package/lib/interaction/action/view/button.d.ts +0 -25
- package/lib/interaction/action/view/button.js +0 -118
- package/lib/interaction/action/view/button.js.map +0 -1
- package/lib/interaction/action/view/drag.d.ts +0 -24
- package/lib/interaction/action/view/drag.js +0 -75
- package/lib/interaction/action/view/drag.js.map +0 -1
- package/lib/interaction/action/view/mousewheel-scroll.d.ts +0 -5
- package/lib/interaction/action/view/mousewheel-scroll.js +0 -37
- package/lib/interaction/action/view/mousewheel-scroll.js.map +0 -1
- package/lib/interaction/action/view/move.d.ts +0 -28
- package/lib/interaction/action/view/move.js +0 -82
- package/lib/interaction/action/view/move.js.map +0 -1
- package/lib/interaction/action/view/scale-transform.d.ts +0 -18
- package/lib/interaction/action/view/scale-transform.js +0 -53
- package/lib/interaction/action/view/scale-transform.js.map +0 -1
- package/lib/interaction/action/view/scale-translate.d.ts +0 -30
- package/lib/interaction/action/view/scale-translate.js +0 -114
- package/lib/interaction/action/view/scale-translate.js.map +0 -1
- package/lib/interaction/action/view/scale-zoom.d.ts +0 -20
- package/lib/interaction/action/view/scale-zoom.js +0 -85
- package/lib/interaction/action/view/scale-zoom.js.map +0 -1
- package/lib/interaction/context.d.ts +0 -65
- package/lib/interaction/context.js +0 -144
- package/lib/interaction/context.js.map +0 -1
- package/lib/interaction/grammar-interaction.d.ts +0 -158
- package/lib/interaction/grammar-interaction.js +0 -289
- package/lib/interaction/grammar-interaction.js.map +0 -1
- package/lib/interaction/index.d.ts +0 -25
- package/lib/interaction/index.js +0 -54
- package/lib/interaction/index.js.map +0 -1
- package/lib/interaction/interaction.d.ts +0 -29
- package/lib/interaction/interaction.js +0 -34
- package/lib/interaction/interaction.js.map +0 -1
- package/lib/interface.d.ts +0 -2264
- package/lib/interface.js +0 -3
- package/lib/interface.js.map +0 -1
- package/lib/theme/index.d.ts +0 -12
- package/lib/theme/index.js +0 -28
- package/lib/theme/index.js.map +0 -1
- package/lib/theme/style-sheet/dark.d.ts +0 -825
- package/lib/theme/style-sheet/dark.js +0 -500
- package/lib/theme/style-sheet/dark.js.map +0 -1
- package/lib/theme/style-sheet/light.d.ts +0 -817
- package/lib/theme/style-sheet/light.js +0 -496
- package/lib/theme/style-sheet/light.js.map +0 -1
- package/lib/theme/util/create-by-style-sheet.d.ts +0 -6
- package/lib/theme/util/create-by-style-sheet.js +0 -1426
- package/lib/theme/util/create-by-style-sheet.js.map +0 -1
- package/lib/theme/util/create-theme.d.ts +0 -6
- package/lib/theme/util/create-theme.js +0 -16
- package/lib/theme/util/create-theme.js.map +0 -1
- package/lib/theme/util/index.d.ts +0 -1
- package/lib/theme/util/index.js +0 -6
- package/lib/theme/util/index.js.map +0 -1
- package/lib/util/annotation.d.ts +0 -7
- package/lib/util/annotation.js +0 -43
- package/lib/util/annotation.js.map +0 -1
- package/lib/util/attr.d.ts +0 -10
- package/lib/util/attr.js +0 -29
- package/lib/util/attr.js.map +0 -1
- package/lib/util/axis.d.ts +0 -100
- package/lib/util/axis.js +0 -251
- package/lib/util/axis.js.map +0 -1
- package/lib/util/bbox.d.ts +0 -105
- package/lib/util/bbox.js +0 -287
- package/lib/util/bbox.js.map +0 -1
- package/lib/util/collision-detect.d.ts +0 -16
- package/lib/util/collision-detect.js +0 -132
- package/lib/util/collision-detect.js.map +0 -1
- package/lib/util/color.d.ts +0 -1
- package/lib/util/color.js +0 -23
- package/lib/util/color.js.map +0 -1
- package/lib/util/context.d.ts +0 -4
- package/lib/util/context.js +0 -15
- package/lib/util/context.js.map +0 -1
- package/lib/util/coordinate.d.ts +0 -86
- package/lib/util/coordinate.js +0 -157
- package/lib/util/coordinate.js.map +0 -1
- package/lib/util/direction.d.ts +0 -19
- package/lib/util/direction.js +0 -125
- package/lib/util/direction.js.map +0 -1
- package/lib/util/dom.d.ts +0 -19
- package/lib/util/dom.js +0 -68
- package/lib/util/dom.js.map +0 -1
- package/lib/util/event.d.ts +0 -8
- package/lib/util/event.js +0 -18
- package/lib/util/event.js.map +0 -1
- package/lib/util/facet.d.ts +0 -16
- package/lib/util/facet.js +0 -48
- package/lib/util/facet.js.map +0 -1
- package/lib/util/graphics.d.ts +0 -58
- package/lib/util/graphics.js +0 -212
- package/lib/util/graphics.js.map +0 -1
- package/lib/util/grid.d.ts +0 -36
- package/lib/util/grid.js +0 -125
- package/lib/util/grid.js.map +0 -1
- package/lib/util/helper.d.ts +0 -34
- package/lib/util/helper.js +0 -79
- package/lib/util/helper.js.map +0 -1
- package/lib/util/legend.d.ts +0 -45
- package/lib/util/legend.js +0 -152
- package/lib/util/legend.js.map +0 -1
- package/lib/util/marker.d.ts +0 -10
- package/lib/util/marker.js +0 -61
- package/lib/util/marker.js.map +0 -1
- package/lib/util/padding.d.ts +0 -14
- package/lib/util/padding.js +0 -45
- package/lib/util/padding.js.map +0 -1
- package/lib/util/scale.d.ts +0 -42
- package/lib/util/scale.js +0 -137
- package/lib/util/scale.js.map +0 -1
- package/lib/util/stat.d.ts +0 -10
- package/lib/util/stat.js +0 -41
- package/lib/util/stat.js.map +0 -1
- package/lib/util/text.d.ts +0 -23
- package/lib/util/text.js +0 -88
- package/lib/util/text.js.map +0 -1
- package/lib/util/tooltip.d.ts +0 -26
- package/lib/util/tooltip.js +0 -426
- package/lib/util/tooltip.js.map +0 -1
- package/lib/util/transform.d.ts +0 -33
- package/lib/util/transform.js +0 -69
- package/lib/util/transform.js.map +0 -1
- package/lib/util/types.d.ts +0 -6
- package/lib/util/types.js +0 -3
- package/lib/util/types.js.map +0 -1
package/lib/index.js
DELETED
|
@@ -1,586 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ELEMENT_RANGE_HIGHLIGHT_EVENTS = exports.BRUSH_FILTER_EVENTS = exports.VIEW_LIFE_CIRCLE = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
// 注册黑暗主题
|
|
6
|
-
var core_1 = require("./core");
|
|
7
|
-
var dark_1 = require("./theme/style-sheet/dark");
|
|
8
|
-
var create_by_style_sheet_1 = require("./theme/util/create-by-style-sheet");
|
|
9
|
-
(0, core_1.registerTheme)('dark', (0, create_by_style_sheet_1.createThemeByStyleSheet)(dark_1.antvDark));
|
|
10
|
-
// 注册 G 渲染引擎
|
|
11
|
-
var CanvasEngine = (0, tslib_1.__importStar)(require("@antv/g-canvas"));
|
|
12
|
-
var SVGEngine = (0, tslib_1.__importStar)(require("@antv/g-svg"));
|
|
13
|
-
var core_2 = require("./core");
|
|
14
|
-
(0, core_2.registerEngine)('canvas', CanvasEngine);
|
|
15
|
-
(0, core_2.registerEngine)('svg', SVGEngine);
|
|
16
|
-
// 注册 G2 内置的 geometry
|
|
17
|
-
var core_3 = require("./core");
|
|
18
|
-
var area_1 = (0, tslib_1.__importDefault)(require("./geometry/area"));
|
|
19
|
-
var edge_1 = (0, tslib_1.__importDefault)(require("./geometry/edge"));
|
|
20
|
-
var heatmap_1 = (0, tslib_1.__importDefault)(require("./geometry/heatmap"));
|
|
21
|
-
var interval_1 = (0, tslib_1.__importDefault)(require("./geometry/interval"));
|
|
22
|
-
var line_1 = (0, tslib_1.__importDefault)(require("./geometry/line"));
|
|
23
|
-
var path_1 = (0, tslib_1.__importDefault)(require("./geometry/path"));
|
|
24
|
-
var point_1 = (0, tslib_1.__importDefault)(require("./geometry/point"));
|
|
25
|
-
var polygon_1 = (0, tslib_1.__importDefault)(require("./geometry/polygon"));
|
|
26
|
-
var schema_1 = (0, tslib_1.__importDefault)(require("./geometry/schema"));
|
|
27
|
-
var violin_1 = (0, tslib_1.__importDefault)(require("./geometry/violin"));
|
|
28
|
-
(0, core_3.registerGeometry)('Polygon', polygon_1.default);
|
|
29
|
-
(0, core_3.registerGeometry)('Interval', interval_1.default);
|
|
30
|
-
(0, core_3.registerGeometry)('Schema', schema_1.default);
|
|
31
|
-
(0, core_3.registerGeometry)('Path', path_1.default);
|
|
32
|
-
(0, core_3.registerGeometry)('Point', point_1.default);
|
|
33
|
-
(0, core_3.registerGeometry)('Line', line_1.default);
|
|
34
|
-
(0, core_3.registerGeometry)('Area', area_1.default);
|
|
35
|
-
(0, core_3.registerGeometry)('Edge', edge_1.default);
|
|
36
|
-
(0, core_3.registerGeometry)('Heatmap', heatmap_1.default);
|
|
37
|
-
(0, core_3.registerGeometry)('Violin', violin_1.default);
|
|
38
|
-
// 引入所有内置的 shapes
|
|
39
|
-
require("./geometry/shape/area/line");
|
|
40
|
-
require("./geometry/shape/area/smooth");
|
|
41
|
-
require("./geometry/shape/area/smooth-line");
|
|
42
|
-
require("./geometry/shape/edge/arc");
|
|
43
|
-
require("./geometry/shape/edge/smooth");
|
|
44
|
-
require("./geometry/shape/edge/vhv");
|
|
45
|
-
require("./geometry/shape/interval/funnel");
|
|
46
|
-
require("./geometry/shape/interval/hollow-rect");
|
|
47
|
-
require("./geometry/shape/interval/line");
|
|
48
|
-
require("./geometry/shape/interval/pyramid");
|
|
49
|
-
require("./geometry/shape/interval/tick");
|
|
50
|
-
require("./geometry/shape/line/step");
|
|
51
|
-
require("./geometry/shape/point/hollow");
|
|
52
|
-
require("./geometry/shape/point/image");
|
|
53
|
-
require("./geometry/shape/point/solid");
|
|
54
|
-
require("./geometry/shape/schema/box");
|
|
55
|
-
require("./geometry/shape/schema/candle");
|
|
56
|
-
require("./geometry/shape/polygon/square");
|
|
57
|
-
require("./geometry/shape/violin/smooth");
|
|
58
|
-
require("./geometry/shape/violin/hollow");
|
|
59
|
-
// 注册 Geometry 内置的 label
|
|
60
|
-
var core_4 = require("./core");
|
|
61
|
-
var base_1 = (0, tslib_1.__importDefault)(require("./geometry/label/base"));
|
|
62
|
-
var interval_2 = (0, tslib_1.__importDefault)(require("./geometry/label/interval"));
|
|
63
|
-
var pie_1 = (0, tslib_1.__importDefault)(require("./geometry/label/pie"));
|
|
64
|
-
var polar_1 = (0, tslib_1.__importDefault)(require("./geometry/label/polar"));
|
|
65
|
-
(0, core_4.registerGeometryLabel)('base', base_1.default);
|
|
66
|
-
(0, core_4.registerGeometryLabel)('interval', interval_2.default);
|
|
67
|
-
(0, core_4.registerGeometryLabel)('pie', pie_1.default);
|
|
68
|
-
(0, core_4.registerGeometryLabel)('polar', polar_1.default);
|
|
69
|
-
// 注册 Geometry label 内置的布局函数
|
|
70
|
-
var core_5 = require("./core");
|
|
71
|
-
var distribute_1 = require("./geometry/label/layout/pie/distribute");
|
|
72
|
-
var outer_1 = require("./geometry/label/layout/pie/outer");
|
|
73
|
-
var spider_1 = require("./geometry/label/layout/pie/spider");
|
|
74
|
-
var limit_in_canvas_1 = require("./geometry/label/layout/limit-in-canvas");
|
|
75
|
-
var limit_in_shape_1 = require("./geometry/label/layout/limit-in-shape");
|
|
76
|
-
var overlap_1 = require("./geometry/label/layout/overlap");
|
|
77
|
-
var hide_overlap_1 = require("./geometry/label/layout/hide-overlap");
|
|
78
|
-
var adjust_color_1 = require("./geometry/label/layout/adjust-color");
|
|
79
|
-
var adjust_position_1 = require("./geometry/label/layout/interval/adjust-position");
|
|
80
|
-
var hide_overlap_2 = require("./geometry/label/layout/interval/hide-overlap");
|
|
81
|
-
var adjust_position_2 = require("./geometry/label/layout/point/adjust-position");
|
|
82
|
-
var adjust_position_3 = require("./geometry/label/layout/path/adjust-position");
|
|
83
|
-
var limit_in_plot_1 = require("./geometry/label/layout/limit-in-plot");
|
|
84
|
-
(0, core_5.registerGeometryLabelLayout)('overlap', overlap_1.overlap);
|
|
85
|
-
(0, core_5.registerGeometryLabelLayout)('distribute', distribute_1.distribute);
|
|
86
|
-
(0, core_5.registerGeometryLabelLayout)('fixed-overlap', overlap_1.fixedOverlap);
|
|
87
|
-
(0, core_5.registerGeometryLabelLayout)('hide-overlap', hide_overlap_1.hideOverlap);
|
|
88
|
-
(0, core_5.registerGeometryLabelLayout)('limit-in-shape', limit_in_shape_1.limitInShape);
|
|
89
|
-
(0, core_5.registerGeometryLabelLayout)('limit-in-canvas', limit_in_canvas_1.limitInCanvas);
|
|
90
|
-
(0, core_5.registerGeometryLabelLayout)('limit-in-plot', limit_in_plot_1.limitInPlot);
|
|
91
|
-
(0, core_5.registerGeometryLabelLayout)('pie-outer', outer_1.pieOuterLabelLayout);
|
|
92
|
-
(0, core_5.registerGeometryLabelLayout)('adjust-color', adjust_color_1.adjustColor);
|
|
93
|
-
(0, core_5.registerGeometryLabelLayout)('interval-adjust-position', adjust_position_1.intervalAdjustPosition);
|
|
94
|
-
(0, core_5.registerGeometryLabelLayout)('interval-hide-overlap', hide_overlap_2.intervalHideOverlap);
|
|
95
|
-
(0, core_5.registerGeometryLabelLayout)('point-adjust-position', adjust_position_2.pointAdjustPosition);
|
|
96
|
-
(0, core_5.registerGeometryLabelLayout)('pie-spider', spider_1.pieSpiderLabelLayout);
|
|
97
|
-
(0, core_5.registerGeometryLabelLayout)('path-adjust-position', adjust_position_3.pathAdjustPosition);
|
|
98
|
-
// 注册需要的动画执行函数
|
|
99
|
-
var fade_1 = require("./animate/animation/fade");
|
|
100
|
-
var grow_in_1 = require("./animate/animation/grow-in");
|
|
101
|
-
var path_in_1 = require("./animate/animation/path-in");
|
|
102
|
-
var position_update_1 = require("./animate/animation/position-update");
|
|
103
|
-
var scale_in_1 = require("./animate/animation/scale-in");
|
|
104
|
-
var sector_path_update_1 = require("./animate/animation/sector-path-update");
|
|
105
|
-
var wave_in_1 = require("./animate/animation/wave-in");
|
|
106
|
-
var zoom_1 = require("./animate/animation/zoom");
|
|
107
|
-
var core_6 = require("./core");
|
|
108
|
-
(0, core_6.registerAnimation)('fade-in', fade_1.fadeIn);
|
|
109
|
-
(0, core_6.registerAnimation)('fade-out', fade_1.fadeOut);
|
|
110
|
-
(0, core_6.registerAnimation)('grow-in-x', grow_in_1.growInX);
|
|
111
|
-
(0, core_6.registerAnimation)('grow-in-xy', grow_in_1.growInXY);
|
|
112
|
-
(0, core_6.registerAnimation)('grow-in-y', grow_in_1.growInY);
|
|
113
|
-
(0, core_6.registerAnimation)('scale-in-x', scale_in_1.scaleInX);
|
|
114
|
-
(0, core_6.registerAnimation)('scale-in-y', scale_in_1.scaleInY);
|
|
115
|
-
(0, core_6.registerAnimation)('wave-in', wave_in_1.waveIn);
|
|
116
|
-
(0, core_6.registerAnimation)('zoom-in', zoom_1.zoomIn);
|
|
117
|
-
(0, core_6.registerAnimation)('zoom-out', zoom_1.zoomOut);
|
|
118
|
-
(0, core_6.registerAnimation)('position-update', position_update_1.positionUpdate);
|
|
119
|
-
(0, core_6.registerAnimation)('sector-path-update', sector_path_update_1.sectorPathUpdate);
|
|
120
|
-
(0, core_6.registerAnimation)('path-in', path_in_1.pathIn);
|
|
121
|
-
// 注册内置的 Facet
|
|
122
|
-
var core_7 = require("./core");
|
|
123
|
-
var circle_1 = (0, tslib_1.__importDefault)(require("./facet/circle"));
|
|
124
|
-
var list_1 = (0, tslib_1.__importDefault)(require("./facet/list"));
|
|
125
|
-
var matrix_1 = (0, tslib_1.__importDefault)(require("./facet/matrix"));
|
|
126
|
-
var mirror_1 = (0, tslib_1.__importDefault)(require("./facet/mirror"));
|
|
127
|
-
var rect_1 = (0, tslib_1.__importDefault)(require("./facet/rect"));
|
|
128
|
-
var tree_1 = (0, tslib_1.__importDefault)(require("./facet/tree"));
|
|
129
|
-
(0, core_7.registerFacet)('rect', rect_1.default);
|
|
130
|
-
(0, core_7.registerFacet)('mirror', mirror_1.default);
|
|
131
|
-
(0, core_7.registerFacet)('list', list_1.default);
|
|
132
|
-
(0, core_7.registerFacet)('matrix', matrix_1.default);
|
|
133
|
-
(0, core_7.registerFacet)('circle', circle_1.default);
|
|
134
|
-
(0, core_7.registerFacet)('tree', tree_1.default);
|
|
135
|
-
// 注册内置的 Component
|
|
136
|
-
var core_8 = require("./core");
|
|
137
|
-
var annotation_1 = (0, tslib_1.__importDefault)(require("./chart/controller/annotation"));
|
|
138
|
-
var axis_1 = (0, tslib_1.__importDefault)(require("./chart/controller/axis"));
|
|
139
|
-
var legend_1 = (0, tslib_1.__importDefault)(require("./chart/controller/legend"));
|
|
140
|
-
var slider_1 = (0, tslib_1.__importDefault)(require("./chart/controller/slider"));
|
|
141
|
-
var tooltip_1 = (0, tslib_1.__importDefault)(require("./chart/controller/tooltip"));
|
|
142
|
-
var scrollbar_1 = (0, tslib_1.__importDefault)(require("./chart/controller/scrollbar"));
|
|
143
|
-
// register build-in components
|
|
144
|
-
(0, core_8.registerComponentController)('axis', axis_1.default);
|
|
145
|
-
(0, core_8.registerComponentController)('legend', legend_1.default);
|
|
146
|
-
(0, core_8.registerComponentController)('tooltip', tooltip_1.default);
|
|
147
|
-
(0, core_8.registerComponentController)('annotation', annotation_1.default);
|
|
148
|
-
(0, core_8.registerComponentController)('slider', slider_1.default);
|
|
149
|
-
(0, core_8.registerComponentController)('scrollbar', scrollbar_1.default);
|
|
150
|
-
// 注册 Interaction Action
|
|
151
|
-
var core_9 = require("./core");
|
|
152
|
-
var active_region_1 = (0, tslib_1.__importDefault)(require("./interaction/action/active-region"));
|
|
153
|
-
var sibling_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/tooltip/sibling"));
|
|
154
|
-
var geometry_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/tooltip/geometry"));
|
|
155
|
-
var ellipsis_text_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/tooltip/ellipsis-text"));
|
|
156
|
-
var active_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/active"));
|
|
157
|
-
var link_by_color_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/link-by-color"));
|
|
158
|
-
var range_active_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/range-active"));
|
|
159
|
-
var single_active_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/single-active"));
|
|
160
|
-
var highlight_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/highlight"));
|
|
161
|
-
var highlight_by_color_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/highlight-by-color"));
|
|
162
|
-
var highlight_by_x_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/highlight-by-x"));
|
|
163
|
-
var range_highlight_1 = (0, tslib_1.__importStar)(require("./interaction/action/element/range-highlight"));
|
|
164
|
-
Object.defineProperty(exports, "ELEMENT_RANGE_HIGHLIGHT_EVENTS", { enumerable: true, get: function () { return range_highlight_1.ELEMENT_RANGE_HIGHLIGHT_EVENTS; } });
|
|
165
|
-
var single_highlight_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/single-highlight"));
|
|
166
|
-
var range_selected_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/range-selected"));
|
|
167
|
-
var selected_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/selected"));
|
|
168
|
-
var single_selected_1 = (0, tslib_1.__importDefault)(require("./interaction/action/element/single-selected"));
|
|
169
|
-
var list_active_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-active"));
|
|
170
|
-
var list_highlight_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-highlight"));
|
|
171
|
-
var list_selected_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-selected"));
|
|
172
|
-
var list_unchecked_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-unchecked"));
|
|
173
|
-
var list_checked_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-checked"));
|
|
174
|
-
var list_focus_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-focus"));
|
|
175
|
-
var list_radio_1 = (0, tslib_1.__importDefault)(require("./interaction/action/component/list-radio"));
|
|
176
|
-
var circle_2 = (0, tslib_1.__importDefault)(require("./interaction/action/mask/circle"));
|
|
177
|
-
var dim_rect_1 = (0, tslib_1.__importDefault)(require("./interaction/action/mask/dim-rect"));
|
|
178
|
-
var path_2 = (0, tslib_1.__importDefault)(require("./interaction/action/mask/path"));
|
|
179
|
-
var rect_2 = (0, tslib_1.__importDefault)(require("./interaction/action/mask/rect"));
|
|
180
|
-
var smooth_path_1 = (0, tslib_1.__importDefault)(require("./interaction/action/mask/smooth-path"));
|
|
181
|
-
var cursor_1 = (0, tslib_1.__importDefault)(require("./interaction/action/cursor"));
|
|
182
|
-
var filter_1 = (0, tslib_1.__importDefault)(require("./interaction/action/data/filter"));
|
|
183
|
-
var range_filter_1 = (0, tslib_1.__importStar)(require("./interaction/action/data/range-filter"));
|
|
184
|
-
Object.defineProperty(exports, "BRUSH_FILTER_EVENTS", { enumerable: true, get: function () { return range_filter_1.BRUSH_FILTER_EVENTS; } });
|
|
185
|
-
var sibling_filter_1 = (0, tslib_1.__importDefault)(require("./interaction/action/data/sibling-filter"));
|
|
186
|
-
var filter_2 = (0, tslib_1.__importDefault)(require("./interaction/action/element/filter"));
|
|
187
|
-
var sibling_filter_2 = (0, tslib_1.__importDefault)(require("./interaction/action/element/sibling-filter"));
|
|
188
|
-
var button_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/button"));
|
|
189
|
-
var drag_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/drag"));
|
|
190
|
-
var move_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/move"));
|
|
191
|
-
var scale_translate_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/scale-translate"));
|
|
192
|
-
var scale_zoom_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/scale-zoom"));
|
|
193
|
-
var mousewheel_scroll_1 = (0, tslib_1.__importDefault)(require("./interaction/action/view/mousewheel-scroll"));
|
|
194
|
-
(0, core_9.registerAction)('tooltip', geometry_1.default);
|
|
195
|
-
(0, core_9.registerAction)('sibling-tooltip', sibling_1.default);
|
|
196
|
-
(0, core_9.registerAction)('ellipsis-text', ellipsis_text_1.default);
|
|
197
|
-
(0, core_9.registerAction)('element-active', active_1.default);
|
|
198
|
-
(0, core_9.registerAction)('element-single-active', single_active_1.default);
|
|
199
|
-
(0, core_9.registerAction)('element-range-active', range_active_1.default);
|
|
200
|
-
(0, core_9.registerAction)('element-highlight', highlight_1.default);
|
|
201
|
-
(0, core_9.registerAction)('element-highlight-by-x', highlight_by_x_1.default);
|
|
202
|
-
(0, core_9.registerAction)('element-highlight-by-color', highlight_by_color_1.default);
|
|
203
|
-
(0, core_9.registerAction)('element-single-highlight', single_highlight_1.default);
|
|
204
|
-
(0, core_9.registerAction)('element-range-highlight', range_highlight_1.default);
|
|
205
|
-
(0, core_9.registerAction)('element-sibling-highlight', range_highlight_1.default, {
|
|
206
|
-
effectSiblings: true,
|
|
207
|
-
effectByRecord: true,
|
|
208
|
-
});
|
|
209
|
-
(0, core_9.registerAction)('element-selected', selected_1.default);
|
|
210
|
-
(0, core_9.registerAction)('element-single-selected', single_selected_1.default);
|
|
211
|
-
(0, core_9.registerAction)('element-range-selected', range_selected_1.default);
|
|
212
|
-
(0, core_9.registerAction)('element-link-by-color', link_by_color_1.default);
|
|
213
|
-
(0, core_9.registerAction)('active-region', active_region_1.default);
|
|
214
|
-
(0, core_9.registerAction)('list-active', list_active_1.default);
|
|
215
|
-
(0, core_9.registerAction)('list-selected', list_selected_1.default);
|
|
216
|
-
(0, core_9.registerAction)('list-highlight', list_highlight_1.default);
|
|
217
|
-
(0, core_9.registerAction)('list-unchecked', list_unchecked_1.default);
|
|
218
|
-
(0, core_9.registerAction)('list-checked', list_checked_1.default);
|
|
219
|
-
(0, core_9.registerAction)('list-focus', list_focus_1.default);
|
|
220
|
-
(0, core_9.registerAction)('list-radio', list_radio_1.default);
|
|
221
|
-
(0, core_9.registerAction)('legend-item-highlight', list_highlight_1.default, {
|
|
222
|
-
componentNames: ['legend'],
|
|
223
|
-
});
|
|
224
|
-
(0, core_9.registerAction)('axis-label-highlight', list_highlight_1.default, {
|
|
225
|
-
componentNames: ['axis'],
|
|
226
|
-
});
|
|
227
|
-
(0, core_9.registerAction)('rect-mask', rect_2.default);
|
|
228
|
-
(0, core_9.registerAction)('x-rect-mask', dim_rect_1.default, { dim: 'x' });
|
|
229
|
-
(0, core_9.registerAction)('y-rect-mask', dim_rect_1.default, { dim: 'y' });
|
|
230
|
-
(0, core_9.registerAction)('circle-mask', circle_2.default);
|
|
231
|
-
(0, core_9.registerAction)('path-mask', path_2.default);
|
|
232
|
-
(0, core_9.registerAction)('smooth-path-mask', smooth_path_1.default);
|
|
233
|
-
(0, core_9.registerAction)('cursor', cursor_1.default);
|
|
234
|
-
(0, core_9.registerAction)('data-filter', filter_1.default);
|
|
235
|
-
(0, core_9.registerAction)('brush', range_filter_1.default);
|
|
236
|
-
(0, core_9.registerAction)('brush-x', range_filter_1.default, { dims: ['x'] });
|
|
237
|
-
(0, core_9.registerAction)('brush-y', range_filter_1.default, { dims: ['y'] });
|
|
238
|
-
(0, core_9.registerAction)('sibling-filter', sibling_filter_1.default);
|
|
239
|
-
(0, core_9.registerAction)('sibling-x-filter', sibling_filter_1.default);
|
|
240
|
-
(0, core_9.registerAction)('sibling-y-filter', sibling_filter_1.default);
|
|
241
|
-
(0, core_9.registerAction)('element-filter', filter_2.default);
|
|
242
|
-
(0, core_9.registerAction)('element-sibling-filter', sibling_filter_2.default);
|
|
243
|
-
(0, core_9.registerAction)('element-sibling-filter-record', sibling_filter_2.default, { byRecord: true });
|
|
244
|
-
(0, core_9.registerAction)('view-drag', drag_1.default);
|
|
245
|
-
(0, core_9.registerAction)('view-move', move_1.default);
|
|
246
|
-
(0, core_9.registerAction)('scale-translate', scale_translate_1.default);
|
|
247
|
-
(0, core_9.registerAction)('scale-zoom', scale_zoom_1.default);
|
|
248
|
-
(0, core_9.registerAction)('reset-button', button_1.default, {
|
|
249
|
-
name: 'reset-button',
|
|
250
|
-
text: 'reset',
|
|
251
|
-
});
|
|
252
|
-
(0, core_9.registerAction)('mousewheel-scroll', mousewheel_scroll_1.default);
|
|
253
|
-
// 注册默认的 Interaction 交互行为
|
|
254
|
-
var core_10 = require("./core");
|
|
255
|
-
function isPointInView(context) {
|
|
256
|
-
return context.isInPlot();
|
|
257
|
-
}
|
|
258
|
-
// 注册 tooltip 的 interaction
|
|
259
|
-
(0, core_10.registerInteraction)('tooltip', {
|
|
260
|
-
start: [
|
|
261
|
-
{ trigger: 'plot:mousemove', action: 'tooltip:show', throttle: { wait: 50, leading: true, trailing: false } },
|
|
262
|
-
{ trigger: 'plot:touchmove', action: 'tooltip:show', throttle: { wait: 50, leading: true, trailing: false } },
|
|
263
|
-
],
|
|
264
|
-
end: [
|
|
265
|
-
{ trigger: 'plot:mouseleave', action: 'tooltip:hide' },
|
|
266
|
-
{ trigger: 'plot:leave', action: 'tooltip:hide' },
|
|
267
|
-
{ trigger: 'plot:touchend', action: 'tooltip:hide' },
|
|
268
|
-
],
|
|
269
|
-
});
|
|
270
|
-
(0, core_10.registerInteraction)('ellipsis-text', {
|
|
271
|
-
start: [
|
|
272
|
-
{
|
|
273
|
-
trigger: 'legend-item-name:mousemove',
|
|
274
|
-
action: 'ellipsis-text:show',
|
|
275
|
-
throttle: { wait: 50, leading: true, trailing: false },
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
trigger: 'legend-item-name:touchstart',
|
|
279
|
-
action: 'ellipsis-text:show',
|
|
280
|
-
throttle: { wait: 50, leading: true, trailing: false },
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
trigger: 'axis-label:mousemove',
|
|
284
|
-
action: 'ellipsis-text:show',
|
|
285
|
-
throttle: { wait: 50, leading: true, trailing: false },
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
trigger: 'axis-label:touchstart',
|
|
289
|
-
action: 'ellipsis-text:show',
|
|
290
|
-
throttle: { wait: 50, leading: true, trailing: false },
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
end: [
|
|
294
|
-
{ trigger: 'legend-item-name:mouseleave', action: 'ellipsis-text:hide' },
|
|
295
|
-
{ trigger: 'legend-item-name:touchend', action: 'ellipsis-text:hide' },
|
|
296
|
-
{ trigger: 'axis-label:mouseleave', action: 'ellipsis-text:hide' },
|
|
297
|
-
{ trigger: 'axis-label:touchend', action: 'ellipsis-text:hide' },
|
|
298
|
-
],
|
|
299
|
-
});
|
|
300
|
-
// 移动到 element 上 active
|
|
301
|
-
(0, core_10.registerInteraction)('element-active', {
|
|
302
|
-
start: [{ trigger: 'element:mouseenter', action: 'element-active:active' }],
|
|
303
|
-
end: [{ trigger: 'element:mouseleave', action: 'element-active:reset' }],
|
|
304
|
-
});
|
|
305
|
-
// 点击选中,允许取消
|
|
306
|
-
(0, core_10.registerInteraction)('element-selected', {
|
|
307
|
-
start: [{ trigger: 'element:click', action: 'element-selected:toggle' }],
|
|
308
|
-
});
|
|
309
|
-
// hover highlight,允许取消
|
|
310
|
-
(0, core_10.registerInteraction)('element-highlight', {
|
|
311
|
-
start: [{ trigger: 'element:mouseenter', action: 'element-highlight:highlight' }],
|
|
312
|
-
end: [{ trigger: 'element:mouseleave', action: 'element-highlight:reset' }],
|
|
313
|
-
});
|
|
314
|
-
// hover highlight by x,允许取消
|
|
315
|
-
(0, core_10.registerInteraction)('element-highlight-by-x', {
|
|
316
|
-
start: [{ trigger: 'element:mouseenter', action: 'element-highlight-by-x:highlight' }],
|
|
317
|
-
end: [{ trigger: 'element:mouseleave', action: 'element-highlight-by-x:reset' }],
|
|
318
|
-
});
|
|
319
|
-
// hover highlight by y,允许取消
|
|
320
|
-
(0, core_10.registerInteraction)('element-highlight-by-color', {
|
|
321
|
-
start: [{ trigger: 'element:mouseenter', action: 'element-highlight-by-color:highlight' }],
|
|
322
|
-
end: [{ trigger: 'element:mouseleave', action: 'element-highlight-by-color:reset' }],
|
|
323
|
-
});
|
|
324
|
-
// legend hover,element active
|
|
325
|
-
(0, core_10.registerInteraction)('legend-active', {
|
|
326
|
-
start: [{ trigger: 'legend-item:mouseenter', action: ['list-active:active', 'element-active:active'] }],
|
|
327
|
-
end: [{ trigger: 'legend-item:mouseleave', action: ['list-active:reset', 'element-active:reset'] }],
|
|
328
|
-
});
|
|
329
|
-
// legend hover,element active
|
|
330
|
-
(0, core_10.registerInteraction)('legend-highlight', {
|
|
331
|
-
start: [
|
|
332
|
-
{ trigger: 'legend-item:mouseenter', action: ['legend-item-highlight:highlight', 'element-highlight:highlight'] },
|
|
333
|
-
],
|
|
334
|
-
end: [{ trigger: 'legend-item:mouseleave', action: ['legend-item-highlight:reset', 'element-highlight:reset'] }],
|
|
335
|
-
});
|
|
336
|
-
// legend hover,element active
|
|
337
|
-
(0, core_10.registerInteraction)('axis-label-highlight', {
|
|
338
|
-
start: [
|
|
339
|
-
{ trigger: 'axis-label:mouseenter', action: ['axis-label-highlight:highlight', 'element-highlight:highlight'] },
|
|
340
|
-
],
|
|
341
|
-
end: [{ trigger: 'axis-label:mouseleave', action: ['axis-label-highlight:reset', 'element-highlight:reset'] }],
|
|
342
|
-
});
|
|
343
|
-
// legend hover,element active
|
|
344
|
-
(0, core_10.registerInteraction)('element-list-highlight', {
|
|
345
|
-
start: [{ trigger: 'element:mouseenter', action: ['list-highlight:highlight', 'element-highlight:highlight'] }],
|
|
346
|
-
end: [{ trigger: 'element:mouseleave', action: ['list-highlight:reset', 'element-highlight:reset'] }],
|
|
347
|
-
});
|
|
348
|
-
// 框选
|
|
349
|
-
(0, core_10.registerInteraction)('element-range-highlight', {
|
|
350
|
-
showEnable: [
|
|
351
|
-
{ trigger: 'plot:mouseenter', action: 'cursor:crosshair' },
|
|
352
|
-
{ trigger: 'mask:mouseenter', action: 'cursor:move' },
|
|
353
|
-
{ trigger: 'plot:mouseleave', action: 'cursor:default' },
|
|
354
|
-
{ trigger: 'mask:mouseleave', action: 'cursor:crosshair' },
|
|
355
|
-
],
|
|
356
|
-
start: [
|
|
357
|
-
{
|
|
358
|
-
trigger: 'plot:mousedown',
|
|
359
|
-
isEnable: function (context) {
|
|
360
|
-
// 不要点击在 mask 上重新开始
|
|
361
|
-
return !context.isInShape('mask');
|
|
362
|
-
},
|
|
363
|
-
action: ['rect-mask:start', 'rect-mask:show'],
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
trigger: 'mask:dragstart',
|
|
367
|
-
action: ['rect-mask:moveStart'],
|
|
368
|
-
},
|
|
369
|
-
],
|
|
370
|
-
processing: [
|
|
371
|
-
{
|
|
372
|
-
trigger: 'plot:mousemove',
|
|
373
|
-
action: ['rect-mask:resize'],
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
trigger: 'mask:drag',
|
|
377
|
-
action: ['rect-mask:move'],
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
trigger: 'mask:change',
|
|
381
|
-
action: ['element-range-highlight:highlight'],
|
|
382
|
-
},
|
|
383
|
-
],
|
|
384
|
-
end: [
|
|
385
|
-
{ trigger: 'plot:mouseup', action: ['rect-mask:end'] },
|
|
386
|
-
{ trigger: 'mask:dragend', action: ['rect-mask:moveEnd'] },
|
|
387
|
-
{
|
|
388
|
-
trigger: 'document:mouseup',
|
|
389
|
-
isEnable: function (context) {
|
|
390
|
-
return !context.isInPlot();
|
|
391
|
-
},
|
|
392
|
-
action: ['element-range-highlight:clear', 'rect-mask:end', 'rect-mask:hide'],
|
|
393
|
-
},
|
|
394
|
-
],
|
|
395
|
-
rollback: [{ trigger: 'dblclick', action: ['element-range-highlight:clear', 'rect-mask:hide'] }],
|
|
396
|
-
});
|
|
397
|
-
(0, core_10.registerInteraction)('brush', {
|
|
398
|
-
showEnable: [
|
|
399
|
-
{ trigger: 'plot:mouseenter', action: 'cursor:crosshair' },
|
|
400
|
-
{ trigger: 'plot:mouseleave', action: 'cursor:default' },
|
|
401
|
-
],
|
|
402
|
-
start: [
|
|
403
|
-
{
|
|
404
|
-
trigger: 'mousedown',
|
|
405
|
-
isEnable: isPointInView,
|
|
406
|
-
action: ['brush:start', 'rect-mask:start', 'rect-mask:show'],
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
processing: [
|
|
410
|
-
{
|
|
411
|
-
trigger: 'mousemove',
|
|
412
|
-
isEnable: isPointInView,
|
|
413
|
-
action: ['rect-mask:resize'],
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
end: [
|
|
417
|
-
{
|
|
418
|
-
trigger: 'mouseup',
|
|
419
|
-
isEnable: isPointInView,
|
|
420
|
-
action: ['brush:filter', 'brush:end', 'rect-mask:end', 'rect-mask:hide', 'reset-button:show'],
|
|
421
|
-
},
|
|
422
|
-
],
|
|
423
|
-
rollback: [{ trigger: 'reset-button:click', action: ['brush:reset', 'reset-button:hide', 'cursor:crosshair'] }],
|
|
424
|
-
});
|
|
425
|
-
(0, core_10.registerInteraction)('brush-visible', {
|
|
426
|
-
showEnable: [
|
|
427
|
-
{ trigger: 'plot:mouseenter', action: 'cursor:crosshair' },
|
|
428
|
-
{ trigger: 'plot:mouseleave', action: 'cursor:default' },
|
|
429
|
-
],
|
|
430
|
-
start: [
|
|
431
|
-
{
|
|
432
|
-
trigger: 'plot:mousedown',
|
|
433
|
-
action: ['rect-mask:start', 'rect-mask:show'],
|
|
434
|
-
},
|
|
435
|
-
],
|
|
436
|
-
processing: [
|
|
437
|
-
{
|
|
438
|
-
trigger: 'plot:mousemove',
|
|
439
|
-
action: ['rect-mask:resize'],
|
|
440
|
-
},
|
|
441
|
-
{ trigger: 'mask:change', action: ['element-range-highlight:highlight'] },
|
|
442
|
-
],
|
|
443
|
-
end: [
|
|
444
|
-
{
|
|
445
|
-
trigger: 'plot:mouseup',
|
|
446
|
-
action: ['rect-mask:end', 'rect-mask:hide', 'element-filter:filter', 'element-range-highlight:clear'],
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
rollback: [
|
|
450
|
-
{
|
|
451
|
-
trigger: 'dblclick',
|
|
452
|
-
action: ['element-filter:clear'],
|
|
453
|
-
},
|
|
454
|
-
],
|
|
455
|
-
});
|
|
456
|
-
(0, core_10.registerInteraction)('brush-x', {
|
|
457
|
-
showEnable: [
|
|
458
|
-
{ trigger: 'plot:mouseenter', action: 'cursor:crosshair' },
|
|
459
|
-
{ trigger: 'plot:mouseleave', action: 'cursor:default' },
|
|
460
|
-
],
|
|
461
|
-
start: [
|
|
462
|
-
{
|
|
463
|
-
trigger: 'mousedown',
|
|
464
|
-
isEnable: isPointInView,
|
|
465
|
-
action: ['brush-x:start', 'x-rect-mask:start', 'x-rect-mask:show'],
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
processing: [
|
|
469
|
-
{
|
|
470
|
-
trigger: 'mousemove',
|
|
471
|
-
isEnable: isPointInView,
|
|
472
|
-
action: ['x-rect-mask:resize'],
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
end: [
|
|
476
|
-
{
|
|
477
|
-
trigger: 'mouseup',
|
|
478
|
-
isEnable: isPointInView,
|
|
479
|
-
action: ['brush-x:filter', 'brush-x:end', 'x-rect-mask:end', 'x-rect-mask:hide'],
|
|
480
|
-
},
|
|
481
|
-
],
|
|
482
|
-
rollback: [{ trigger: 'dblclick', action: ['brush-x:reset'] }],
|
|
483
|
-
});
|
|
484
|
-
(0, core_10.registerInteraction)('element-path-highlight', {
|
|
485
|
-
showEnable: [
|
|
486
|
-
{ trigger: 'plot:mouseenter', action: 'cursor:crosshair' },
|
|
487
|
-
{ trigger: 'plot:mouseleave', action: 'cursor:default' },
|
|
488
|
-
],
|
|
489
|
-
start: [
|
|
490
|
-
{ trigger: 'mousedown', isEnable: isPointInView, action: 'path-mask:start' },
|
|
491
|
-
{ trigger: 'mousedown', isEnable: isPointInView, action: 'path-mask:show' },
|
|
492
|
-
],
|
|
493
|
-
processing: [{ trigger: 'mousemove', action: 'path-mask:addPoint' }],
|
|
494
|
-
end: [{ trigger: 'mouseup', action: 'path-mask:end' }],
|
|
495
|
-
rollback: [{ trigger: 'dblclick', action: 'path-mask:hide' }],
|
|
496
|
-
});
|
|
497
|
-
// 点击选中,允许取消
|
|
498
|
-
(0, core_10.registerInteraction)('element-single-selected', {
|
|
499
|
-
start: [{ trigger: 'element:click', action: 'element-single-selected:toggle' }],
|
|
500
|
-
});
|
|
501
|
-
// 筛选数据
|
|
502
|
-
(0, core_10.registerInteraction)('legend-filter', {
|
|
503
|
-
showEnable: [
|
|
504
|
-
{ trigger: 'legend-item:mouseenter', action: ['cursor:pointer', 'list-radio:show'] },
|
|
505
|
-
{ trigger: 'legend-item:mouseleave', action: ['cursor:default', 'list-radio:hide'] },
|
|
506
|
-
],
|
|
507
|
-
start: [
|
|
508
|
-
{
|
|
509
|
-
trigger: 'legend-item:click',
|
|
510
|
-
isEnable: function (context) {
|
|
511
|
-
return !context.isInShape('legend-item-radio');
|
|
512
|
-
},
|
|
513
|
-
action: ['list-unchecked:toggle', 'data-filter:filter', 'list-radio:show'],
|
|
514
|
-
},
|
|
515
|
-
// 正反选数据: 只有当 radio === truthy 的时候才会有 legend-item-radio 这个元素
|
|
516
|
-
{
|
|
517
|
-
trigger: 'legend-item-radio:mouseenter',
|
|
518
|
-
action: ['list-radio:showTip'],
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
trigger: 'legend-item-radio:mouseleave',
|
|
522
|
-
action: ['list-radio:hideTip'],
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
trigger: 'legend-item-radio:click',
|
|
526
|
-
action: ['list-focus:toggle', 'data-filter:filter', 'list-radio:show'],
|
|
527
|
-
},
|
|
528
|
-
],
|
|
529
|
-
});
|
|
530
|
-
// 筛选数据
|
|
531
|
-
(0, core_10.registerInteraction)('continuous-filter', {
|
|
532
|
-
start: [{ trigger: 'legend:valuechanged', action: 'data-filter:filter' }],
|
|
533
|
-
});
|
|
534
|
-
// 筛选数据
|
|
535
|
-
(0, core_10.registerInteraction)('continuous-visible-filter', {
|
|
536
|
-
start: [{ trigger: 'legend:valuechanged', action: 'element-filter:filter' }],
|
|
537
|
-
});
|
|
538
|
-
// 筛选图形
|
|
539
|
-
(0, core_10.registerInteraction)('legend-visible-filter', {
|
|
540
|
-
showEnable: [
|
|
541
|
-
{ trigger: 'legend-item:mouseenter', action: 'cursor:pointer' },
|
|
542
|
-
{ trigger: 'legend-item:mouseleave', action: 'cursor:default' },
|
|
543
|
-
],
|
|
544
|
-
start: [{ trigger: 'legend-item:click', action: ['list-unchecked:toggle', 'element-filter:filter'] }],
|
|
545
|
-
});
|
|
546
|
-
// 出现背景框
|
|
547
|
-
(0, core_10.registerInteraction)('active-region', {
|
|
548
|
-
start: [{ trigger: 'plot:mousemove', action: 'active-region:show' }],
|
|
549
|
-
end: [{ trigger: 'plot:mouseleave', action: 'active-region:hide' }],
|
|
550
|
-
});
|
|
551
|
-
function isWheelDown(event) {
|
|
552
|
-
event.gEvent.preventDefault();
|
|
553
|
-
return event.gEvent.originalEvent.deltaY > 0;
|
|
554
|
-
}
|
|
555
|
-
(0, core_10.registerInteraction)('view-zoom', {
|
|
556
|
-
start: [
|
|
557
|
-
{
|
|
558
|
-
trigger: 'plot:mousewheel',
|
|
559
|
-
isEnable: function (context) {
|
|
560
|
-
return isWheelDown(context.event);
|
|
561
|
-
},
|
|
562
|
-
action: 'scale-zoom:zoomOut',
|
|
563
|
-
throttle: { wait: 100, leading: true, trailing: false },
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
trigger: 'plot:mousewheel',
|
|
567
|
-
isEnable: function (context) {
|
|
568
|
-
return !isWheelDown(context.event);
|
|
569
|
-
},
|
|
570
|
-
action: 'scale-zoom:zoomIn',
|
|
571
|
-
throttle: { wait: 100, leading: true, trailing: false },
|
|
572
|
-
},
|
|
573
|
-
],
|
|
574
|
-
});
|
|
575
|
-
(0, core_10.registerInteraction)('sibling-tooltip', {
|
|
576
|
-
start: [{ trigger: 'plot:mousemove', action: 'sibling-tooltip:show' }],
|
|
577
|
-
end: [{ trigger: 'plot:mouseleave', action: 'sibling-tooltip:hide' }],
|
|
578
|
-
});
|
|
579
|
-
(0, core_10.registerInteraction)('plot-mousewheel-scroll', {
|
|
580
|
-
start: [{ trigger: 'plot:mousewheel', action: 'mousewheel-scroll:scroll' }],
|
|
581
|
-
});
|
|
582
|
-
// 暴露一些常量
|
|
583
|
-
var constant_1 = require("./constant");
|
|
584
|
-
Object.defineProperty(exports, "VIEW_LIFE_CIRCLE", { enumerable: true, get: function () { return constant_1.VIEW_LIFE_CIRCLE; } });
|
|
585
|
-
(0, tslib_1.__exportStar)(require("./core"), exports);
|
|
586
|
-
//# sourceMappingURL=index.js.map
|