@visactor/vchart 2.0.0 → 2.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es5/index.js +1 -1
- package/build/index.es.js +178 -121
- package/build/index.js +178 -120
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/base/base-chart.d.ts +1 -0
- package/cjs/chart/base/base-chart.js +3 -0
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/chart/interface/chart.d.ts +1 -0
- package/cjs/chart/interface/chart.js.map +1 -1
- package/cjs/compile/compiler.js +6 -2
- package/cjs/compile/compiler.js.map +1 -1
- package/cjs/component/axis/base-axis.js.map +1 -1
- package/cjs/component/axis/interface/common.js.map +1 -1
- package/cjs/component/brush/brush.js +6 -6
- package/cjs/component/brush/brush.js.map +1 -1
- package/cjs/component/brush/interface.d.ts +1 -0
- package/cjs/component/brush/interface.js.map +1 -1
- package/cjs/component/crosshair/base.d.ts +1 -1
- package/cjs/component/crosshair/base.js +1 -1
- package/cjs/component/crosshair/base.js.map +1 -1
- package/cjs/component/crosshair/utils/cartesian.js +2 -2
- package/cjs/component/crosshair/utils/cartesian.js.map +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/vchart.js +6 -7
- package/cjs/core/vchart.js.map +1 -1
- package/cjs/mark/base/base-mark.d.ts +3 -1
- package/cjs/mark/base/base-mark.js +33 -31
- package/cjs/mark/base/base-mark.js.map +1 -1
- package/cjs/mark/group.d.ts +1 -1
- package/cjs/mark/group.js +14 -10
- package/cjs/mark/group.js.map +1 -1
- package/cjs/mark/interface/common.d.ts +1 -1
- package/cjs/mark/interface/common.js.map +1 -1
- package/cjs/model/base-model.d.ts +1 -0
- package/cjs/model/base-model.js +1 -0
- package/cjs/model/base-model.js.map +1 -1
- package/cjs/model/interface.d.ts +1 -0
- package/cjs/model/interface.js.map +1 -1
- package/cjs/series/base/base-series.js +2 -3
- package/cjs/series/base/base-series.js.map +1 -1
- package/cjs/series/funnel/funnel.js +0 -2
- package/cjs/series/funnel/funnel.js.map +1 -1
- package/cjs/series/map/map.js +1 -2
- package/cjs/series/map/map.js.map +1 -1
- package/cjs/series/pie/pie.js +0 -1
- package/cjs/series/pie/pie.js.map +1 -1
- package/cjs/util/mark.d.ts +1 -0
- package/cjs/util/mark.js +10 -1
- package/cjs/util/mark.js.map +1 -1
- package/esm/chart/base/base-chart.d.ts +1 -0
- package/esm/chart/base/base-chart.js +3 -0
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/chart/interface/chart.d.ts +1 -0
- package/esm/chart/interface/chart.js.map +1 -1
- package/esm/compile/compiler.js +7 -4
- package/esm/compile/compiler.js.map +1 -1
- package/esm/component/axis/base-axis.js.map +1 -1
- package/esm/component/axis/interface/common.js.map +1 -1
- package/esm/component/brush/brush.js +6 -6
- package/esm/component/brush/brush.js.map +1 -1
- package/esm/component/brush/interface.d.ts +1 -0
- package/esm/component/brush/interface.js.map +1 -1
- package/esm/component/crosshair/base.d.ts +1 -1
- package/esm/component/crosshair/base.js +1 -1
- package/esm/component/crosshair/base.js.map +1 -1
- package/esm/component/crosshair/utils/cartesian.js +2 -2
- package/esm/component/crosshair/utils/cartesian.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/vchart.js +5 -6
- package/esm/core/vchart.js.map +1 -1
- package/esm/mark/base/base-mark.d.ts +3 -1
- package/esm/mark/base/base-mark.js +34 -30
- package/esm/mark/base/base-mark.js.map +1 -1
- package/esm/mark/group.d.ts +1 -1
- package/esm/mark/group.js +17 -9
- package/esm/mark/group.js.map +1 -1
- package/esm/mark/interface/common.d.ts +1 -1
- package/esm/mark/interface/common.js.map +1 -1
- package/esm/model/base-model.d.ts +1 -0
- package/esm/model/base-model.js +1 -0
- package/esm/model/base-model.js.map +1 -1
- package/esm/model/interface.d.ts +1 -0
- package/esm/model/interface.js.map +1 -1
- package/esm/series/base/base-series.js +2 -3
- package/esm/series/base/base-series.js.map +1 -1
- package/esm/series/funnel/funnel.js +0 -2
- package/esm/series/funnel/funnel.js.map +1 -1
- package/esm/series/map/map.js +1 -2
- package/esm/series/map/map.js.map +1 -1
- package/esm/series/pie/pie.js +0 -1
- package/esm/series/pie/pie.js.map +1 -1
- package/esm/util/mark.d.ts +1 -0
- package/esm/util/mark.js +7 -0
- package/esm/util/mark.js.map +1 -1
- package/package.json +6 -6
package/build/index.es.js
CHANGED
|
@@ -14167,9 +14167,9 @@ class Graphic extends Node {
|
|
|
14167
14167
|
setWidthHeightWithoutTransform(aabbBounds) {
|
|
14168
14168
|
this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
14169
14169
|
}
|
|
14170
|
-
setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context) {
|
|
14170
|
+
setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context, ignorePriority) {
|
|
14171
14171
|
this.setAttributes(params, forceUpdateTag, context), this.animates && this.animates.forEach(animate => {
|
|
14172
|
-
Object.keys(params).forEach(key => {
|
|
14172
|
+
(animate.priority !== 1 / 0 || ignorePriority) && Object.keys(params).forEach(key => {
|
|
14173
14173
|
animate.preventAttr(key);
|
|
14174
14174
|
});
|
|
14175
14175
|
});
|
|
@@ -14340,7 +14340,7 @@ class Graphic extends Node {
|
|
|
14340
14340
|
});
|
|
14341
14341
|
} else this.stopStateAnimates(), this.setAttributesAndPreventAnimate(attrs, !1, {
|
|
14342
14342
|
type: AttributeUpdateType.STATE
|
|
14343
|
-
});
|
|
14343
|
+
}), this.finalAttribute && Object.assign(this.finalAttribute, attrs);
|
|
14344
14344
|
this._emitCustomEvent("afterStateUpdate", {
|
|
14345
14345
|
type: AttributeUpdateType.STATE
|
|
14346
14346
|
});
|
|
@@ -31728,7 +31728,7 @@ class DefaultTimeline extends EventEmitter {
|
|
|
31728
31728
|
return this._animateCount;
|
|
31729
31729
|
}
|
|
31730
31730
|
constructor() {
|
|
31731
|
-
super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
|
|
31731
|
+
super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this._animationEndFlag = !0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
|
|
31732
31732
|
}
|
|
31733
31733
|
isRunning() {
|
|
31734
31734
|
return !this.paused && this._animateCount > 0;
|
|
@@ -31757,10 +31757,11 @@ class DefaultTimeline extends EventEmitter {
|
|
|
31757
31757
|
}
|
|
31758
31758
|
tick(delta) {
|
|
31759
31759
|
if (this.paused) return;
|
|
31760
|
+
this._animationEndFlag && (this._animationEndFlag = !1, this.emit("animationStart"));
|
|
31760
31761
|
const scaledDelta = delta * this._playSpeed;
|
|
31761
31762
|
this._currentTime += scaledDelta, this.forEachAccessAnimate((animate, i) => {
|
|
31762
31763
|
animate.status === AnimateStatus.END ? this.removeAnimate(animate, !0) : animate.status !== AnimateStatus.RUNNING && animate.status !== AnimateStatus.INITIAL || animate.advance(scaledDelta);
|
|
31763
|
-
}), 0 === this._animateCount && this.emit("animationEnd");
|
|
31764
|
+
}), 0 === this._animateCount && (this._animationEndFlag = !0, this.emit("animationEnd"));
|
|
31764
31765
|
}
|
|
31765
31766
|
clear() {
|
|
31766
31767
|
this.forEachAccessAnimate(animate => {
|
|
@@ -31824,7 +31825,9 @@ class Animate {
|
|
|
31824
31825
|
return this._timeline;
|
|
31825
31826
|
}
|
|
31826
31827
|
bind(target) {
|
|
31827
|
-
return this.target = target, this.target.
|
|
31828
|
+
return this.target = target, this.target.animates || (this.target.animates = new Map()), this.target.animates.set(this.id, this), this.onRemove(() => {
|
|
31829
|
+
this.stop(), this.target.animates.delete(this.id);
|
|
31830
|
+
}), this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
|
|
31828
31831
|
}
|
|
31829
31832
|
to(props, duration = 300, easing = "linear") {
|
|
31830
31833
|
const step = new Step(AnimateStepType.to, props, duration, easing);
|
|
@@ -32038,8 +32041,8 @@ class DefaultTicker extends EventEmitter {
|
|
|
32038
32041
|
}
|
|
32039
32042
|
init() {
|
|
32040
32043
|
this.interval = 16, this.status = STATUS$1.INITIAL, application.global.hooks.onSetEnv.tap("graph-ticker", () => {
|
|
32041
|
-
this.initHandler();
|
|
32042
|
-
}), application.global.env && this.initHandler();
|
|
32044
|
+
this.initHandler(!1);
|
|
32045
|
+
}), application.global.env && this.initHandler(!1);
|
|
32043
32046
|
}
|
|
32044
32047
|
addTimeline(timeline) {
|
|
32045
32048
|
this.timelines.push(timeline);
|
|
@@ -32050,10 +32053,11 @@ class DefaultTicker extends EventEmitter {
|
|
|
32050
32053
|
getTimelines() {
|
|
32051
32054
|
return this.timelines;
|
|
32052
32055
|
}
|
|
32053
|
-
initHandler() {
|
|
32054
|
-
this.setupTickHandler();
|
|
32056
|
+
initHandler(force = !1) {
|
|
32057
|
+
this.setupTickHandler(force);
|
|
32055
32058
|
}
|
|
32056
|
-
setupTickHandler() {
|
|
32059
|
+
setupTickHandler(force = !1) {
|
|
32060
|
+
if (!force && this.tickerHandler) return !0;
|
|
32057
32061
|
const handler = new RAFTickHandler();
|
|
32058
32062
|
return this.tickerHandler && this.tickerHandler.release(), this.tickerHandler = handler, !0;
|
|
32059
32063
|
}
|
|
@@ -32104,7 +32108,7 @@ class DefaultTicker extends EventEmitter {
|
|
|
32104
32108
|
return this.status = STATUS$1.RUNNING, this.tickerHandler.tick(0, this.handleTick), !0;
|
|
32105
32109
|
}
|
|
32106
32110
|
stop() {
|
|
32107
|
-
this.status = STATUS$1.INITIAL, this.setupTickHandler(), this.lastFrameTime = -1;
|
|
32111
|
+
this.status = STATUS$1.INITIAL, this.setupTickHandler(!0), this.lastFrameTime = -1;
|
|
32108
32112
|
}
|
|
32109
32113
|
trySyncTickStatus() {
|
|
32110
32114
|
this.status === STATUS$1.INITIAL && this.timelines.some(timeline => timeline.isRunning()) ? this.start() : this.status === STATUS$1.RUNNING && this.timelines.every(timeline => !timeline.isRunning()) && this.stop();
|
|
@@ -32412,10 +32416,11 @@ class AnimateExecutor {
|
|
|
32412
32416
|
_handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
|
|
32413
32417
|
var _a, _b, _c, _d;
|
|
32414
32418
|
if (custom && customType) {
|
|
32415
|
-
const customParams =
|
|
32419
|
+
const customParams = Object.assign({
|
|
32416
32420
|
width: graphic.stage.width,
|
|
32417
|
-
height: graphic.stage.height
|
|
32418
|
-
|
|
32421
|
+
height: graphic.stage.height,
|
|
32422
|
+
group: this._target.parent
|
|
32423
|
+
}, this.resolveValue(customParameters, graphic)),
|
|
32419
32424
|
objOptions = isFunction$1(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
|
|
32420
32425
|
customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
|
|
32421
32426
|
} else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
|
|
@@ -32680,7 +32685,6 @@ class AnimateExtension {
|
|
|
32680
32685
|
}
|
|
32681
32686
|
animate(params) {
|
|
32682
32687
|
var _a, _b, _c;
|
|
32683
|
-
this.animates || (this.animates = new Map());
|
|
32684
32688
|
const animate = new Animate(null == params ? void 0 : params.id, null !== (_b = null !== (_a = null == params ? void 0 : params.timeline) && void 0 !== _a ? _a : this.stage && this.stage.getTimeline()) && void 0 !== _b ? _b : defaultTimeline, null == params ? void 0 : params.slience);
|
|
32685
32689
|
if (animate.bind(this), params) {
|
|
32686
32690
|
const {
|
|
@@ -32690,9 +32694,7 @@ class AnimateExtension {
|
|
|
32690
32694
|
} = params;
|
|
32691
32695
|
null != onStart && animate.onStart(onStart), null != onEnd && animate.onEnd(onEnd), null != onRemove && animate.onRemove(onRemove);
|
|
32692
32696
|
}
|
|
32693
|
-
return this.
|
|
32694
|
-
animate.stop(), this.animates.delete(animate.id);
|
|
32695
|
-
}), null === (_c = this.stage) || void 0 === _c || _c.ticker.start(), animate;
|
|
32697
|
+
return null === (_c = this.stage) || void 0 === _c || _c.ticker.start(), animate;
|
|
32696
32698
|
}
|
|
32697
32699
|
createTimeline() {
|
|
32698
32700
|
return new DefaultTimeline();
|
|
@@ -32731,7 +32733,7 @@ function registerAnimate$1() {
|
|
|
32731
32733
|
|
|
32732
32734
|
class ACustomAnimate extends Step {
|
|
32733
32735
|
constructor(customFrom, customTo, duration, easing, params) {
|
|
32734
|
-
super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params;
|
|
32736
|
+
super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params, this.from = customFrom, this.to = customTo;
|
|
32735
32737
|
}
|
|
32736
32738
|
update(end, ratio, out) {
|
|
32737
32739
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
@@ -35808,18 +35810,19 @@ const moveIn = (graphic, options, animationParameters) => {
|
|
|
35808
35810
|
}
|
|
35809
35811
|
};
|
|
35810
35812
|
const moveOut = (graphic, options, animationParameters) => {
|
|
35811
|
-
var _a, _b, _c, _d
|
|
35813
|
+
var _a, _b, _c, _d;
|
|
35812
35814
|
const {
|
|
35813
35815
|
offset = 0,
|
|
35814
35816
|
orient: orient,
|
|
35815
35817
|
direction: direction,
|
|
35816
35818
|
point: pointOpt
|
|
35817
35819
|
} = null != options ? options : {},
|
|
35818
|
-
|
|
35819
|
-
|
|
35820
|
+
groupBounds = animationParameters.group ? animationParameters.group.AABBBounds : null,
|
|
35821
|
+
groupWidth = null !== (_a = groupBounds.width()) && void 0 !== _a ? _a : animationParameters.width,
|
|
35822
|
+
groupHeight = null !== (_b = groupBounds.height()) && void 0 !== _b ? _b : animationParameters.height,
|
|
35820
35823
|
changedX = ("negative" === orient ? groupWidth : 0) + offset,
|
|
35821
35824
|
changedY = ("negative" === orient ? groupHeight : 0) + offset,
|
|
35822
|
-
point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (
|
|
35825
|
+
point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, animationParameters) : pointOpt,
|
|
35823
35826
|
fromX = point && isValidNumber$1(point.x) ? point.x : changedX,
|
|
35824
35827
|
fromY = point && isValidNumber$1(point.y) ? point.y : changedY;
|
|
35825
35828
|
switch (direction) {
|
|
@@ -35992,6 +35995,9 @@ class FromTo extends ACustomAnimate {
|
|
|
35992
35995
|
this.from[key] = null !== (_a = this.from[key]) && void 0 !== _a ? _a : startProps[key];
|
|
35993
35996
|
}), this.target.setAttributes(this.from);
|
|
35994
35997
|
}
|
|
35998
|
+
deleteSelfAttr(key) {
|
|
35999
|
+
super.deleteSelfAttr(key), delete this.from[key];
|
|
36000
|
+
}
|
|
35995
36001
|
update(end, ratio, out) {
|
|
35996
36002
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
35997
36003
|
const easedRatio = this.easing(ratio);
|
|
@@ -49104,6 +49110,16 @@ const findMarkGraphic = (rootGroup, target) => {
|
|
|
49104
49110
|
}
|
|
49105
49111
|
return null;
|
|
49106
49112
|
};
|
|
49113
|
+
const getDiffAttributesOfGraphic = (g, newAttrs) => {
|
|
49114
|
+
const prevAttrs = g.getAttributes(true);
|
|
49115
|
+
const diffAttrs = {};
|
|
49116
|
+
Object.keys(newAttrs).forEach(key => {
|
|
49117
|
+
if (prevAttrs[key] !== newAttrs[key]) {
|
|
49118
|
+
diffAttrs[key] = newAttrs[key];
|
|
49119
|
+
}
|
|
49120
|
+
});
|
|
49121
|
+
return diffAttrs;
|
|
49122
|
+
};
|
|
49107
49123
|
|
|
49108
49124
|
let Event$1 = class Event {
|
|
49109
49125
|
getComposedEventMap() {
|
|
@@ -50005,6 +50021,28 @@ const runEncoder = (styles, datum, attrs = {}) => {
|
|
|
50005
50021
|
return attrs;
|
|
50006
50022
|
};
|
|
50007
50023
|
|
|
50024
|
+
function toRenderMode(mode) {
|
|
50025
|
+
switch (mode) {
|
|
50026
|
+
case RenderModeEnum['desktop-browser']:
|
|
50027
|
+
case RenderModeEnum['mobile-browser']:
|
|
50028
|
+
return 'browser';
|
|
50029
|
+
case RenderModeEnum.node:
|
|
50030
|
+
case RenderModeEnum.worker:
|
|
50031
|
+
return 'node';
|
|
50032
|
+
case RenderModeEnum.miniApp:
|
|
50033
|
+
case RenderModeEnum['desktop-miniApp']:
|
|
50034
|
+
return 'feishu';
|
|
50035
|
+
case RenderModeEnum.lynx:
|
|
50036
|
+
return 'lynx';
|
|
50037
|
+
case RenderModeEnum.wx:
|
|
50038
|
+
return 'wx';
|
|
50039
|
+
case RenderModeEnum.tt:
|
|
50040
|
+
return 'tt';
|
|
50041
|
+
case RenderModeEnum.harmony:
|
|
50042
|
+
return 'harmony';
|
|
50043
|
+
}
|
|
50044
|
+
return 'browser';
|
|
50045
|
+
}
|
|
50008
50046
|
function traverseGroupMark(group, apply, filter, leafFirst, stop) {
|
|
50009
50047
|
const traverse = (mark) => {
|
|
50010
50048
|
if (!leafFirst) {
|
|
@@ -50194,7 +50232,8 @@ class Compiler {
|
|
|
50194
50232
|
if (this._stage) {
|
|
50195
50233
|
return;
|
|
50196
50234
|
}
|
|
50197
|
-
const { autoRefreshDpr, dpr, mode, gestureConfig, interactive, clickInterval, autoPreventDefault, background } = this._option;
|
|
50235
|
+
const { autoRefreshDpr, dpr, mode, modeParams, gestureConfig, interactive, clickInterval, autoPreventDefault, background } = this._option;
|
|
50236
|
+
vglobal.setEnv(toRenderMode(mode), modeParams !== null && modeParams !== void 0 ? modeParams : {});
|
|
50198
50237
|
this._stage =
|
|
50199
50238
|
(_a = this._option.stage) !== null && _a !== void 0 ? _a : new Stage({
|
|
50200
50239
|
background,
|
|
@@ -50205,7 +50244,11 @@ class Compiler {
|
|
|
50205
50244
|
dpr,
|
|
50206
50245
|
viewBox: this._option.viewBox,
|
|
50207
50246
|
canvasControled: this._option.canvasControled,
|
|
50208
|
-
beforeRender:
|
|
50247
|
+
beforeRender: (stage) => {
|
|
50248
|
+
var _a, _b, _c;
|
|
50249
|
+
(_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.onBeforeRender();
|
|
50250
|
+
(_c = (_b = this._option).beforeRender) === null || _c === void 0 ? void 0 : _c.call(_b, stage);
|
|
50251
|
+
},
|
|
50209
50252
|
afterRender: this._option.afterRender,
|
|
50210
50253
|
disableDirtyBounds: true,
|
|
50211
50254
|
autoRender: true,
|
|
@@ -51052,6 +51095,8 @@ class BaseModel extends CompilableBase {
|
|
|
51052
51095
|
}
|
|
51053
51096
|
onEvaluateEnd(ctx) {
|
|
51054
51097
|
}
|
|
51098
|
+
onBeforeRender() {
|
|
51099
|
+
}
|
|
51055
51100
|
onDataUpdate() {
|
|
51056
51101
|
}
|
|
51057
51102
|
beforeRelease() {
|
|
@@ -53846,6 +53891,7 @@ class BaseMark extends GrammarItem {
|
|
|
53846
53891
|
this._dataByGroup = groupData(data, this._groupKeyGetter);
|
|
53847
53892
|
}
|
|
53848
53893
|
createAnimationStateList(type, animationConfig) {
|
|
53894
|
+
var _a;
|
|
53849
53895
|
let config = animationConfig[type];
|
|
53850
53896
|
if (config && Array.isArray(config)) {
|
|
53851
53897
|
config = config.length === 1 ? config[0] : config;
|
|
@@ -53856,7 +53902,8 @@ class BaseMark extends GrammarItem {
|
|
|
53856
53902
|
return (Object.assign(Object.assign({}, item), { priority: (_a = item.priority) !== null && _a !== void 0 ? _a : Infinity }));
|
|
53857
53903
|
});
|
|
53858
53904
|
}
|
|
53859
|
-
return config
|
|
53905
|
+
return config
|
|
53906
|
+
? Object.assign(Object.assign({}, config), { priority: type === 'normal' ? (_a = config.priority) !== null && _a !== void 0 ? _a : Infinity : config.priority }) : config;
|
|
53860
53907
|
}
|
|
53861
53908
|
tryRunMorphing(graphics) {
|
|
53862
53909
|
if (this._lastMark) {
|
|
@@ -53940,13 +53987,21 @@ class BaseMark extends GrammarItem {
|
|
|
53940
53987
|
this._product.applyAnimationState(['normal'], [normalConfig]);
|
|
53941
53988
|
}
|
|
53942
53989
|
}
|
|
53990
|
+
_setAnimationState(g) {
|
|
53991
|
+
const customizedState = this._aniamtionStateCallback ? this._aniamtionStateCallback(g) : undefined;
|
|
53992
|
+
g.context.animationState = customizedState !== null && customizedState !== void 0 ? customizedState : g.context.diffState;
|
|
53993
|
+
if (g.context.animationState === DiffState.exit) {
|
|
53994
|
+
g.context.reusing = true;
|
|
53995
|
+
g.animates && g.animates.forEach((a) => a.stop());
|
|
53996
|
+
}
|
|
53997
|
+
}
|
|
53943
53998
|
_runJoin(data) {
|
|
53944
53999
|
const newGroupedData = this._getDataByKey(data);
|
|
53945
54000
|
const prevGroupedData = this._prevDataByKey;
|
|
53946
|
-
const
|
|
54001
|
+
const allGraphics = [];
|
|
53947
54002
|
const enterGraphics = new Set(this._graphics.filter(g => g.context.diffState === DiffState.enter));
|
|
53948
54003
|
const callback = (key, newData, prevData) => {
|
|
53949
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
54004
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
53950
54005
|
let g;
|
|
53951
54006
|
let diffState;
|
|
53952
54007
|
if (isNil$1(newData)) {
|
|
@@ -53964,23 +54019,20 @@ class BaseMark extends GrammarItem {
|
|
|
53964
54019
|
}
|
|
53965
54020
|
diffState = DiffState.enter;
|
|
53966
54021
|
g.isExiting = false;
|
|
53967
|
-
if (((_a = g.context) === null || _a === void 0 ? void 0 : _a.diffState) === DiffState.exit) {
|
|
53968
|
-
g.context.reusing = true;
|
|
53969
|
-
g.animates && g.animates.forEach((a) => a.stop());
|
|
53970
|
-
}
|
|
53971
54022
|
this._graphicMap.set(key, g);
|
|
53972
|
-
|
|
54023
|
+
allGraphics.push(g);
|
|
53973
54024
|
}
|
|
53974
54025
|
else {
|
|
53975
54026
|
g = this._graphicMap.get(key);
|
|
53976
54027
|
if (g) {
|
|
53977
54028
|
diffState = DiffState.update;
|
|
53978
|
-
|
|
54029
|
+
allGraphics.push(g);
|
|
53979
54030
|
}
|
|
53980
54031
|
}
|
|
53981
54032
|
if (g) {
|
|
53982
|
-
g.context = Object.assign(Object.assign({}, this._getCommonContext()), { diffState, reusing: (_b = g.context) === null || _b === void 0 ? void 0 : _b.reusing, originalFieldX: (_c = g.context) === null || _c === void 0 ? void 0 : _c.originalFieldX, originalFieldY: (_d = g.context) === null || _d === void 0 ? void 0 : _d.originalFieldY, fieldX: (_e = g.context) === null || _e === void 0 ? void 0 : _e.fieldX, fieldY: (_f = g.context) === null || _f === void 0 ? void 0 : _f.fieldY, animationState: diffState, data: newData !== null && newData !== void 0 ? newData : (_g = g.context) === null || _g === void 0 ? void 0 : _g.data, uniqueKey: key, key: newData ? this._keyGetter(newData[0]) : (_h = g.context) === null || _h === void 0 ? void 0 : _h.key, groupKey: newData ? this._groupKeyGetter(newData[0]) : (_j = g.context) === null || _j === void 0 ? void 0 : _j.groupKey, indexKey: '__VCHART_DEFAULT_DATA_INDEX', stateAnimateConfig: (_k = this.getAnimationConfig()) === null || _k === void 0 ? void 0 : _k.state });
|
|
53983
54033
|
enterGraphics.delete(g);
|
|
54034
|
+
g.context = Object.assign(Object.assign({}, this._getCommonContext()), { diffState, reusing: (_a = g.context) === null || _a === void 0 ? void 0 : _a.reusing, originalFieldX: (_b = g.context) === null || _b === void 0 ? void 0 : _b.originalFieldX, originalFieldY: (_c = g.context) === null || _c === void 0 ? void 0 : _c.originalFieldY, fieldX: (_d = g.context) === null || _d === void 0 ? void 0 : _d.fieldX, fieldY: (_e = g.context) === null || _e === void 0 ? void 0 : _e.fieldY, data: newData !== null && newData !== void 0 ? newData : (_f = g.context) === null || _f === void 0 ? void 0 : _f.data, uniqueKey: key, key: newData ? this._keyGetter(newData[0]) : (_g = g.context) === null || _g === void 0 ? void 0 : _g.key, groupKey: newData ? this._groupKeyGetter(newData[0]) : (_h = g.context) === null || _h === void 0 ? void 0 : _h.groupKey, indexKey: '__VCHART_DEFAULT_DATA_INDEX', stateAnimateConfig: (_j = this.getAnimationConfig()) === null || _j === void 0 ? void 0 : _j.state });
|
|
54035
|
+
this._setAnimationState(g);
|
|
53984
54036
|
}
|
|
53985
54037
|
return g;
|
|
53986
54038
|
};
|
|
@@ -54018,13 +54070,13 @@ class BaseMark extends GrammarItem {
|
|
|
54018
54070
|
}
|
|
54019
54071
|
g.release();
|
|
54020
54072
|
});
|
|
54021
|
-
const graphicCount =
|
|
54022
|
-
|
|
54073
|
+
const graphicCount = allGraphics.length;
|
|
54074
|
+
allGraphics.forEach((g, index) => {
|
|
54023
54075
|
g.context.graphicCount = graphicCount;
|
|
54024
54076
|
g.context.graphicIndex = index;
|
|
54025
54077
|
});
|
|
54026
54078
|
this._dataByKey = newGroupedData;
|
|
54027
|
-
this._graphics =
|
|
54079
|
+
this._graphics = allGraphics;
|
|
54028
54080
|
this.needClear = true;
|
|
54029
54081
|
}
|
|
54030
54082
|
_runEncoderOfGraphic(styles, g, attrs = {}) {
|
|
@@ -54107,13 +54159,7 @@ class BaseMark extends GrammarItem {
|
|
|
54107
54159
|
}
|
|
54108
54160
|
}
|
|
54109
54161
|
else {
|
|
54110
|
-
const
|
|
54111
|
-
const diffAttrs = {};
|
|
54112
|
-
Object.keys(finalAttrs).forEach(key => {
|
|
54113
|
-
if (prevAttrs[key] !== finalAttrs[key]) {
|
|
54114
|
-
diffAttrs[key] = finalAttrs[key];
|
|
54115
|
-
}
|
|
54116
|
-
});
|
|
54162
|
+
const diffAttrs = getDiffAttributesOfGraphic(g, finalAttrs);
|
|
54117
54163
|
g.context.diffAttrs = diffAttrs;
|
|
54118
54164
|
if (g.context.reusing) {
|
|
54119
54165
|
g.context.lastAttrs = g.attribute;
|
|
@@ -54282,24 +54328,25 @@ class BaseMark extends GrammarItem {
|
|
|
54282
54328
|
}
|
|
54283
54329
|
};
|
|
54284
54330
|
this._graphicMap.forEach((g, key) => {
|
|
54285
|
-
if (g.context.diffState
|
|
54286
|
-
|
|
54287
|
-
|
|
54288
|
-
|
|
54289
|
-
|
|
54290
|
-
|
|
54291
|
-
|
|
54292
|
-
|
|
54293
|
-
}
|
|
54294
|
-
|
|
54295
|
-
|
|
54296
|
-
|
|
54297
|
-
|
|
54298
|
-
|
|
54299
|
-
else {
|
|
54300
|
-
doRemove(g, key);
|
|
54331
|
+
if (g.context.diffState !== DiffState.exit || g.isExiting) {
|
|
54332
|
+
return;
|
|
54333
|
+
}
|
|
54334
|
+
if (g.context.animationState === DiffState.exit && this.hasAnimationByState('exit')) {
|
|
54335
|
+
g.isExiting = true;
|
|
54336
|
+
const animationConfig = this.getAnimationConfig();
|
|
54337
|
+
if (animationConfig.exit && animationConfig.exit.length) {
|
|
54338
|
+
const exitConfigList = animationConfig.exit.map((item, index) => ({
|
|
54339
|
+
name: `exit_${index}`,
|
|
54340
|
+
animation: Object.assign(Object.assign({}, item), { customParameters: g.context })
|
|
54341
|
+
}));
|
|
54342
|
+
g.applyAnimationState(['exit'], [exitConfigList.length === 1 ? exitConfigList[0] : exitConfigList], () => {
|
|
54343
|
+
doRemove(g, key);
|
|
54344
|
+
});
|
|
54301
54345
|
}
|
|
54302
54346
|
}
|
|
54347
|
+
else {
|
|
54348
|
+
doRemove(g, key);
|
|
54349
|
+
}
|
|
54303
54350
|
});
|
|
54304
54351
|
}
|
|
54305
54352
|
isProgressive() {
|
|
@@ -54445,11 +54492,7 @@ class BaseMark extends GrammarItem {
|
|
|
54445
54492
|
}
|
|
54446
54493
|
}
|
|
54447
54494
|
updateAnimationState(callback) {
|
|
54448
|
-
|
|
54449
|
-
this._graphics.forEach(g => {
|
|
54450
|
-
g.context.animationState = callback(g);
|
|
54451
|
-
});
|
|
54452
|
-
}
|
|
54495
|
+
this._aniamtionStateCallback = callback;
|
|
54453
54496
|
}
|
|
54454
54497
|
hasAnimationByState(state) {
|
|
54455
54498
|
if (!state || !this._animationConfig || !this._animationConfig[state]) {
|
|
@@ -54469,6 +54512,30 @@ class BaseMark extends GrammarItem {
|
|
|
54469
54512
|
}
|
|
54470
54513
|
}
|
|
54471
54514
|
|
|
54515
|
+
var MarkTypeEnum;
|
|
54516
|
+
(function (MarkTypeEnum) {
|
|
54517
|
+
MarkTypeEnum["group"] = "group";
|
|
54518
|
+
MarkTypeEnum["symbol"] = "symbol";
|
|
54519
|
+
MarkTypeEnum["rule"] = "rule";
|
|
54520
|
+
MarkTypeEnum["line"] = "line";
|
|
54521
|
+
MarkTypeEnum["text"] = "text";
|
|
54522
|
+
MarkTypeEnum["rect"] = "rect";
|
|
54523
|
+
MarkTypeEnum["image"] = "image";
|
|
54524
|
+
MarkTypeEnum["path"] = "path";
|
|
54525
|
+
MarkTypeEnum["area"] = "area";
|
|
54526
|
+
MarkTypeEnum["arc"] = "arc";
|
|
54527
|
+
MarkTypeEnum["polygon"] = "polygon";
|
|
54528
|
+
MarkTypeEnum["boxPlot"] = "boxPlot";
|
|
54529
|
+
MarkTypeEnum["linkPath"] = "linkPath";
|
|
54530
|
+
MarkTypeEnum["cell"] = "cell";
|
|
54531
|
+
MarkTypeEnum["ripple"] = "ripple";
|
|
54532
|
+
MarkTypeEnum["liquid"] = "liquid";
|
|
54533
|
+
MarkTypeEnum["component"] = "component";
|
|
54534
|
+
MarkTypeEnum["dataLabel"] = "dataLabel";
|
|
54535
|
+
MarkTypeEnum["label"] = "label";
|
|
54536
|
+
MarkTypeEnum["pictogram"] = "pictogram";
|
|
54537
|
+
})(MarkTypeEnum || (MarkTypeEnum = {}));
|
|
54538
|
+
|
|
54472
54539
|
class GroupMark extends BaseMark {
|
|
54473
54540
|
constructor() {
|
|
54474
54541
|
super(...arguments);
|
|
@@ -54531,13 +54598,29 @@ class GroupMark extends BaseMark {
|
|
|
54531
54598
|
return [this._product];
|
|
54532
54599
|
}
|
|
54533
54600
|
renderInner() {
|
|
54534
|
-
var _a;
|
|
54601
|
+
var _a, _b;
|
|
54535
54602
|
if (!this._product) {
|
|
54536
54603
|
return;
|
|
54537
54604
|
}
|
|
54538
54605
|
const style = (_a = this._simpleStyle) !== null && _a !== void 0 ? _a : this.getAttributesOfState({});
|
|
54539
|
-
|
|
54540
|
-
this._product.
|
|
54606
|
+
const prevState = (_b = this._product.context) === null || _b === void 0 ? void 0 : _b.diffState;
|
|
54607
|
+
this._product.context = Object.assign(Object.assign(Object.assign({}, this._product.context), this._getCommonContext()), { diffState: prevState ? DiffState.update : DiffState.enter });
|
|
54608
|
+
this._setAnimationState(this._product);
|
|
54609
|
+
const newAttrs = this._getAttrsFromConfig(style);
|
|
54610
|
+
if (this._product.context.diffState === DiffState.update) {
|
|
54611
|
+
const hasAnimation = this.hasAnimation();
|
|
54612
|
+
const diffAttrs = getDiffAttributesOfGraphic(this._product, newAttrs);
|
|
54613
|
+
this._product.context.diffAttrs = diffAttrs;
|
|
54614
|
+
if (!this.hasAnimationByState(this._product.context.animationState)) {
|
|
54615
|
+
hasAnimation ? this._product.setAttributesAndPreventAnimate(diffAttrs) : this._product.setAttributes(diffAttrs);
|
|
54616
|
+
}
|
|
54617
|
+
if (hasAnimation) {
|
|
54618
|
+
this._product.setFinalAttributes(newAttrs);
|
|
54619
|
+
}
|
|
54620
|
+
}
|
|
54621
|
+
else {
|
|
54622
|
+
this._product.setAttributes(newAttrs);
|
|
54623
|
+
}
|
|
54541
54624
|
this.needClear = true;
|
|
54542
54625
|
}
|
|
54543
54626
|
render() {
|
|
@@ -54551,11 +54634,7 @@ class GroupMark extends BaseMark {
|
|
|
54551
54634
|
});
|
|
54552
54635
|
}
|
|
54553
54636
|
updateAnimationState(callback) {
|
|
54554
|
-
|
|
54555
|
-
if (g) {
|
|
54556
|
-
g.context = Object.assign(Object.assign({}, g.context), { animationState: callback(g) });
|
|
54557
|
-
}
|
|
54558
|
-
});
|
|
54637
|
+
super.updateAnimationState(callback);
|
|
54559
54638
|
this.getMarks().forEach(mark => {
|
|
54560
54639
|
mark.updateAnimationState(callback);
|
|
54561
54640
|
});
|
|
@@ -55851,7 +55930,7 @@ class VChart {
|
|
|
55851
55930
|
var _a;
|
|
55852
55931
|
const diffState = (_a = graphic.context) === null || _a === void 0 ? void 0 : _a.diffState;
|
|
55853
55932
|
if (initial) {
|
|
55854
|
-
return diffState === 'exit' ?
|
|
55933
|
+
return diffState === 'exit' ? AnimationStateEnum.none : AnimationStateEnum.appear;
|
|
55855
55934
|
}
|
|
55856
55935
|
return diffState;
|
|
55857
55936
|
};
|
|
@@ -55940,11 +56019,11 @@ class VChart {
|
|
|
55940
56019
|
}
|
|
55941
56020
|
if (this._chart) {
|
|
55942
56021
|
this._chart.updateData(id, data, true, parserOptions);
|
|
55943
|
-
this._compiler.render();
|
|
55944
56022
|
if (userUpdateOptions === null || userUpdateOptions === void 0 ? void 0 : userUpdateOptions.reAnimate) {
|
|
55945
56023
|
this.stopAnimation();
|
|
55946
56024
|
this._updateAnimateState(true);
|
|
55947
56025
|
}
|
|
56026
|
+
this._compiler.render();
|
|
55948
56027
|
return this;
|
|
55949
56028
|
}
|
|
55950
56029
|
this._spec.data = array(this._spec.data);
|
|
@@ -55955,11 +56034,11 @@ class VChart {
|
|
|
55955
56034
|
if (this._chart) {
|
|
55956
56035
|
this._chart.updateFullData(data);
|
|
55957
56036
|
if (reRender) {
|
|
55958
|
-
this._compiler.render();
|
|
55959
56037
|
if (userUpdateOptions === null || userUpdateOptions === void 0 ? void 0 : userUpdateOptions.reAnimate) {
|
|
55960
56038
|
this.stopAnimation();
|
|
55961
56039
|
this._updateAnimateState(true);
|
|
55962
56040
|
}
|
|
56041
|
+
this._compiler.render();
|
|
55963
56042
|
}
|
|
55964
56043
|
return this;
|
|
55965
56044
|
}
|
|
@@ -56766,7 +56845,7 @@ const lookup = (data, opt) => {
|
|
|
56766
56845
|
});
|
|
56767
56846
|
};
|
|
56768
56847
|
|
|
56769
|
-
const version = "2.0.0";
|
|
56848
|
+
const version = "2.0.1-alpha.0";
|
|
56770
56849
|
|
|
56771
56850
|
const addVChartProperty = (data, op) => {
|
|
56772
56851
|
const context = op.beforeCall();
|
|
@@ -58579,14 +58658,11 @@ class BaseSeries extends BaseModel {
|
|
|
58579
58658
|
}
|
|
58580
58659
|
if (isNil$1(dataView)) {
|
|
58581
58660
|
m.setData(this._data);
|
|
58582
|
-
m.setSkipBeforeLayouted(true);
|
|
58583
58661
|
}
|
|
58584
58662
|
else if (dataView !== false) {
|
|
58585
58663
|
m.setDataView(dataView);
|
|
58586
58664
|
}
|
|
58587
|
-
|
|
58588
|
-
m.setSkipBeforeLayouted(skipBeforeLayouted);
|
|
58589
|
-
}
|
|
58665
|
+
m.setSkipBeforeLayouted(skipBeforeLayouted !== false);
|
|
58590
58666
|
if (!isNil$1(groupKey)) {
|
|
58591
58667
|
m.setGroupKey(groupKey);
|
|
58592
58668
|
}
|
|
@@ -59811,30 +59887,6 @@ class LineLikeSeriesMixin {
|
|
|
59811
59887
|
|
|
59812
59888
|
const lineSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark);
|
|
59813
59889
|
|
|
59814
|
-
var MarkTypeEnum;
|
|
59815
|
-
(function (MarkTypeEnum) {
|
|
59816
|
-
MarkTypeEnum["group"] = "group";
|
|
59817
|
-
MarkTypeEnum["symbol"] = "symbol";
|
|
59818
|
-
MarkTypeEnum["rule"] = "rule";
|
|
59819
|
-
MarkTypeEnum["line"] = "line";
|
|
59820
|
-
MarkTypeEnum["text"] = "text";
|
|
59821
|
-
MarkTypeEnum["rect"] = "rect";
|
|
59822
|
-
MarkTypeEnum["image"] = "image";
|
|
59823
|
-
MarkTypeEnum["path"] = "path";
|
|
59824
|
-
MarkTypeEnum["area"] = "area";
|
|
59825
|
-
MarkTypeEnum["arc"] = "arc";
|
|
59826
|
-
MarkTypeEnum["polygon"] = "polygon";
|
|
59827
|
-
MarkTypeEnum["boxPlot"] = "boxPlot";
|
|
59828
|
-
MarkTypeEnum["linkPath"] = "linkPath";
|
|
59829
|
-
MarkTypeEnum["cell"] = "cell";
|
|
59830
|
-
MarkTypeEnum["ripple"] = "ripple";
|
|
59831
|
-
MarkTypeEnum["liquid"] = "liquid";
|
|
59832
|
-
MarkTypeEnum["component"] = "component";
|
|
59833
|
-
MarkTypeEnum["dataLabel"] = "dataLabel";
|
|
59834
|
-
MarkTypeEnum["label"] = "label";
|
|
59835
|
-
MarkTypeEnum["pictogram"] = "pictogram";
|
|
59836
|
-
})(MarkTypeEnum || (MarkTypeEnum = {}));
|
|
59837
|
-
|
|
59838
59890
|
const isStopsEqual = (prev, next) => {
|
|
59839
59891
|
var _a, _b;
|
|
59840
59892
|
if (prev === next) {
|
|
@@ -64917,6 +64969,10 @@ class BaseChart extends CompilableBase {
|
|
|
64917
64969
|
const elements = [...this._components, ...this._regions, ...this._series];
|
|
64918
64970
|
elements.forEach(element => element.onEvaluateEnd(option));
|
|
64919
64971
|
}
|
|
64972
|
+
onBeforeRender() {
|
|
64973
|
+
const elements = [...this._components, ...this._regions, ...this._series];
|
|
64974
|
+
elements.forEach(element => element.onBeforeRender());
|
|
64975
|
+
}
|
|
64920
64976
|
getLayoutElements() {
|
|
64921
64977
|
return this.getAllModels()
|
|
64922
64978
|
.map(i => i.layout)
|
|
@@ -66275,7 +66331,7 @@ const layoutByValue$1 = (stateByField, series, layoutStartPoint, enableRemain =
|
|
|
66275
66331
|
layoutStartPoint = { x: 0, y: 0 };
|
|
66276
66332
|
}
|
|
66277
66333
|
Object.keys(stateByField).forEach(field => {
|
|
66278
|
-
var _a, _b, _c, _d, _e;
|
|
66334
|
+
var _a, _b, _c, _d, _e, _f;
|
|
66279
66335
|
const { currentValue, cacheInfo, labelsComp, attributes, coordKey } = stateByField[field];
|
|
66280
66336
|
let axis = null;
|
|
66281
66337
|
let coord = 0;
|
|
@@ -66287,8 +66343,8 @@ const layoutByValue$1 = (stateByField, series, layoutStartPoint, enableRemain =
|
|
|
66287
66343
|
item.axis.getLayoutStartPoint()[coordKey] -
|
|
66288
66344
|
layoutStartPoint[coordKey];
|
|
66289
66345
|
axis = item.axis;
|
|
66290
|
-
axisLabel = (_e = (_d = (_c = (_b = (_a = axis
|
|
66291
|
-
.getVRenderComponents()[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.getChildByName('axis-label-container')) === null ||
|
|
66346
|
+
axisLabel = (_f = (_e = (_d = (_c = (_b = (_a = axis
|
|
66347
|
+
.getVRenderComponents()[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.children[0]) === null || _d === void 0 ? void 0 : _d.getChildByName('axis-label-container')) === null || _e === void 0 ? void 0 : _e.getChildByName('axis-label-container-layer-0')) === null || _f === void 0 ? void 0 : _f.children[0];
|
|
66292
66348
|
}
|
|
66293
66349
|
const isVisible = !!currentValue.size && Number.isFinite(coord) && !Number.isNaN(coord);
|
|
66294
66350
|
const useCache = enableRemain && !isVisible && isValid$1(cacheInfo);
|
|
@@ -69666,8 +69722,7 @@ class MapSeries extends GeoSeries {
|
|
|
69666
69722
|
initMark() {
|
|
69667
69723
|
this._pathMark = this._createMark(MapSeries.mark.area, {
|
|
69668
69724
|
groupKey: this.getDimensionField()[0],
|
|
69669
|
-
isSeriesMark: true
|
|
69670
|
-
skipBeforeLayouted: true
|
|
69725
|
+
isSeriesMark: true
|
|
69671
69726
|
}, {
|
|
69672
69727
|
morph: shouldMarkDoMorph(this._spec, MapSeries.mark.area.name),
|
|
69673
69728
|
morphElementKey: this.getDimensionField()[0]
|
|
@@ -73153,7 +73208,6 @@ class BasePieSeries extends PolarSeries {
|
|
|
73153
73208
|
this._pieMark = this._createMark(Object.assign(Object.assign({}, BasePieSeries.mark.pie), { name: this._pieMarkName, type: this._pieMarkType }), {
|
|
73154
73209
|
key: DEFAULT_DATA_KEY,
|
|
73155
73210
|
groupKey: this._seriesField,
|
|
73156
|
-
skipBeforeLayouted: true,
|
|
73157
73211
|
isSeriesMark: true
|
|
73158
73212
|
}, {
|
|
73159
73213
|
morph: shouldMarkDoMorph(this._spec, this._pieMarkName),
|
|
@@ -80812,7 +80866,6 @@ class FunnelSeries extends BaseSeries {
|
|
|
80812
80866
|
if (this._spec.isTransform) {
|
|
80813
80867
|
this._funnelTransformMark = this._createMark(Object.assign(Object.assign({}, FunnelSeries.mark.transform), { name: this._transformMarkName, type: this._transformMarkType }), {
|
|
80814
80868
|
themeSpec: (_b = this._theme) === null || _b === void 0 ? void 0 : _b.transform,
|
|
80815
|
-
skipBeforeLayouted: true,
|
|
80816
80869
|
noSeparateStyle: true
|
|
80817
80870
|
});
|
|
80818
80871
|
if (this._funnelTransformMark) {
|
|
@@ -80825,7 +80878,6 @@ class FunnelSeries extends BaseSeries {
|
|
|
80825
80878
|
this._funnelOuterLabelMark.label = this._createMark(FunnelSeries.mark.outerLabel, {
|
|
80826
80879
|
themeSpec: (_h = this._theme) === null || _h === void 0 ? void 0 : _h.outerLabel,
|
|
80827
80880
|
markSpec: this._spec.outerLabel,
|
|
80828
|
-
skipBeforeLayouted: true,
|
|
80829
80881
|
noSeparateStyle: true,
|
|
80830
80882
|
parent: false
|
|
80831
80883
|
});
|
|
@@ -90313,7 +90365,7 @@ class BaseCrossHair extends BaseComponent {
|
|
|
90313
90365
|
this.event.off(eventName, handler);
|
|
90314
90366
|
}
|
|
90315
90367
|
}
|
|
90316
|
-
|
|
90368
|
+
onBeforeRender() {
|
|
90317
90369
|
this._limitBounds = null;
|
|
90318
90370
|
this._showDefaultCrosshair();
|
|
90319
90371
|
}
|
|
@@ -96415,6 +96467,7 @@ class Brush extends BaseComponent {
|
|
|
96415
96467
|
var _a;
|
|
96416
96468
|
this._setRegionMarkPickable(region, true);
|
|
96417
96469
|
const { operateMask } = e.detail;
|
|
96470
|
+
const { updateElementsState = true } = this._spec;
|
|
96418
96471
|
if ((_a = this._spec) === null || _a === void 0 ? void 0 : _a.onBrushEnd) {
|
|
96419
96472
|
if (this._spec.onBrushEnd(e) === true) {
|
|
96420
96473
|
this.clearGraphic();
|
|
@@ -96428,7 +96481,7 @@ class Brush extends BaseComponent {
|
|
|
96428
96481
|
}
|
|
96429
96482
|
else {
|
|
96430
96483
|
const inBrushData = this._extendDataInBrush(this._inBrushElementsMap);
|
|
96431
|
-
if (!this._spec.zoomWhenEmpty && inBrushData.length > 0) {
|
|
96484
|
+
if ((!this._spec.zoomWhenEmpty && inBrushData.length > 0) || !updateElementsState) {
|
|
96432
96485
|
this._setAxisAndDataZoom(operateMask, region);
|
|
96433
96486
|
}
|
|
96434
96487
|
this._emitEvent(ChartEvent.brushEnd, region);
|
|
@@ -96437,8 +96490,9 @@ class Brush extends BaseComponent {
|
|
|
96437
96490
|
brush.addEventListener(IOperateType.moveEnd, (e) => {
|
|
96438
96491
|
this._setRegionMarkPickable(region, true);
|
|
96439
96492
|
const { operateMask } = e.detail;
|
|
96493
|
+
const { updateElementsState = true } = this._spec;
|
|
96440
96494
|
const inBrushData = this._extendDataInBrush(this._inBrushElementsMap);
|
|
96441
|
-
if (!this._spec.zoomWhenEmpty && inBrushData.length > 0) {
|
|
96495
|
+
if ((!this._spec.zoomWhenEmpty && inBrushData.length > 0) || updateElementsState) {
|
|
96442
96496
|
this._setAxisAndDataZoom(operateMask, region);
|
|
96443
96497
|
}
|
|
96444
96498
|
this._emitEvent(ChartEvent.brushEnd, region);
|
|
@@ -96480,8 +96534,11 @@ class Brush extends BaseComponent {
|
|
|
96480
96534
|
}
|
|
96481
96535
|
_handleBrushChange(region, e) {
|
|
96482
96536
|
const { operateMask } = e.detail;
|
|
96483
|
-
this.
|
|
96484
|
-
|
|
96537
|
+
const { updateElementsState = true } = this._spec;
|
|
96538
|
+
if (updateElementsState) {
|
|
96539
|
+
this._reconfigItem(operateMask, region);
|
|
96540
|
+
this._reconfigLinkedItem(operateMask, region);
|
|
96541
|
+
}
|
|
96485
96542
|
}
|
|
96486
96543
|
_extendDataInBrush(elementsMap) {
|
|
96487
96544
|
var _a, _b;
|
|
@@ -100056,4 +100113,4 @@ function registerSequentialAnimate() {
|
|
|
100056
100113
|
mixin(BaseMark, SequentialAnimate);
|
|
100057
100114
|
}
|
|
100058
100115
|
|
|
100059
|
-
export { ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, Factory, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, ImageMark, Indicator, Label, Layout$1 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkTypeEnum, MediaQuery, MosaicChart, MosaicSeries, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, StreamLight, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, alternatingWave, animationConfig, barGrowIn, barGrowOut, barPresetAnimation, baseSeriesMark, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, centerToCorner, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, convertPoint, cornerToCenter, createArc, createArea, createGroup, createLine, createRect, createRichText, createSymbol, createText, darkTheme, dataScheme, VChart as default, defaultThemeName, diagonalCenterToEdge, diagonalTopLeftToBottomRight, findMarkGraphic, functionTransform, getActualColor, getActualNumValue, getCartesianCrosshairRect, getCartesianDimensionInfo, getColorSchemeBySeries, getCombinedSizeOfRegions, getDataScheme, getDatumOfGraphic, getDimensionInfoByValue, getFieldAlias, getFunnelTheme, getMergedTheme, getPolarDimensionInfo, getRegionStackGroup, getSpecInfo, getTheme, hasThemeMerged, isCollectionMark, isColorKey, isPercent, isPercentOffset, isProgressiveDataColorScheme, isTokenKey, isValidOrient, isXAxis, isYAxis, isZAxis, lightTheme, lookup, measureText, mergeFields, normalizeLayoutPaddingSpec, particleEffect, pieDisappear, pieEnter, pieExit, piePresetAnimation, pulseWave, queryColorFromColorScheme, queryToken, randomOpacity, registerAllEnv, registerAllMarks, registerAnimate, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, rippleEffect, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, shouldMarkDoMorph, snakeWave, sortStackValueGroup, specTransform, spiralEffect, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, themeExist, themes, token, transformColorSchemeToStandardStruct, transformToGraphic, userAnimationConfig, version, vglobal, warn };
|
|
100116
|
+
export { ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, Factory, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, ImageMark, Indicator, Label, Layout$1 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkTypeEnum, MediaQuery, MosaicChart, MosaicSeries, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, StreamLight, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, alternatingWave, animationConfig, barGrowIn, barGrowOut, barPresetAnimation, baseSeriesMark, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, centerToCorner, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, convertPoint, cornerToCenter, createArc, createArea, createGroup, createLine, createRect, createRichText, createSymbol, createText, darkTheme, dataScheme, VChart as default, defaultThemeName, diagonalCenterToEdge, diagonalTopLeftToBottomRight, findMarkGraphic, functionTransform, getActualColor, getActualNumValue, getCartesianCrosshairRect, getCartesianDimensionInfo, getColorSchemeBySeries, getCombinedSizeOfRegions, getDataScheme, getDatumOfGraphic, getDiffAttributesOfGraphic, getDimensionInfoByValue, getFieldAlias, getFunnelTheme, getMergedTheme, getPolarDimensionInfo, getRegionStackGroup, getSpecInfo, getTheme, hasThemeMerged, isCollectionMark, isColorKey, isPercent, isPercentOffset, isProgressiveDataColorScheme, isTokenKey, isValidOrient, isXAxis, isYAxis, isZAxis, lightTheme, lookup, measureText, mergeFields, normalizeLayoutPaddingSpec, particleEffect, pieDisappear, pieEnter, pieExit, piePresetAnimation, pulseWave, queryColorFromColorScheme, queryToken, randomOpacity, registerAllEnv, registerAllMarks, registerAnimate, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, rippleEffect, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, shouldMarkDoMorph, snakeWave, sortStackValueGroup, specTransform, spiralEffect, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, themeExist, themes, token, transformColorSchemeToStandardStruct, transformToGraphic, userAnimationConfig, version, vglobal, warn };
|