@visactor/vchart 1.13.5-alpha.13 → 1.13.5-alpha.16
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 +6 -5
- package/build/index.js +6 -5
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/index.js +2 -1
- package/cjs/compile/compilable-base.js +1 -2
- package/cjs/constant/box-plot.js +1 -2
- package/cjs/constant/gradient.js +2 -1
- package/cjs/constant/layout.js +1 -1
- package/cjs/constant/marker.js +1 -1
- package/cjs/constant/polar.js +1 -1
- package/cjs/constant/scatter.js +1 -1
- package/cjs/constant/scroll-bar.js +1 -1
- package/cjs/constant/sunburst.js +1 -1
- package/cjs/constant/waterfall.js +1 -1
- package/cjs/constant/word-cloud.js +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/util.js +2 -1
- package/cjs/data/initialize.js +1 -2
- package/cjs/event/event.js +1 -1
- package/cjs/event/index.js +1 -1
- package/cjs/event/interface.js +1 -1
- package/cjs/layout/base-layout.js +1 -1
- package/cjs/layout/index.js +1 -1
- package/cjs/layout/interface.js +1 -1
- package/cjs/layout/layout-item.js +1 -1
- package/cjs/layout/util.js +1 -1
- package/esm/chart/index.js +2 -1
- package/esm/compile/compilable-base.js +1 -2
- package/esm/constant/box-plot.js +1 -2
- package/esm/constant/gradient.js +2 -1
- package/esm/constant/layout.js +1 -1
- package/esm/constant/marker.js +1 -1
- package/esm/constant/polar.js +1 -1
- package/esm/constant/scatter.js +1 -1
- package/esm/constant/scroll-bar.js +1 -1
- package/esm/constant/sunburst.js +1 -1
- package/esm/constant/waterfall.js +1 -1
- package/esm/constant/word-cloud.js +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/util.js +2 -1
- package/esm/data/initialize.js +1 -2
- package/esm/event/event.js +1 -1
- package/esm/event/index.js +1 -1
- package/esm/event/interface.js +1 -1
- package/esm/layout/base-layout.js +1 -1
- package/esm/layout/index.js +1 -1
- package/esm/layout/interface.js +1 -1
- package/esm/layout/layout-item.js +1 -1
- package/esm/layout/util.js +1 -1
- package/package.json +12 -12
package/build/index.es.js
CHANGED
|
@@ -55216,7 +55216,8 @@ class Animator {
|
|
|
55216
55216
|
animate(animationParameters, parameters) {
|
|
55217
55217
|
return this.isAnimating = !0, this.animateElement(animationParameters, parameters), 0 === this.runnings.length && this.animationEnd(), this;
|
|
55218
55218
|
}
|
|
55219
|
-
stop(
|
|
55219
|
+
stop() {
|
|
55220
|
+
let stopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "end";
|
|
55220
55221
|
let invokeCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
55221
55222
|
return this.runnings.forEach(running => running.stop(stopState)), this.animationEnd(invokeCallback), this;
|
|
55222
55223
|
}
|
|
@@ -55411,7 +55412,7 @@ class Animate {
|
|
|
55411
55412
|
var _a;
|
|
55412
55413
|
element.isReserved && element.diffState !== DiffState.exit && (element.isReserved = !1);
|
|
55413
55414
|
const prevElementState = null === (_a = this.elementRecorder.get(element)) || void 0 === _a ? void 0 : _a.prevState;
|
|
55414
|
-
(this.configs.some(config => prevElementState !== element.diffState && config.state === prevElementState && config.timeline.controlOptions.stopWhenStateChange) || element.diffState === DiffState.exit) && this.clearElementAnimation(element, !1);
|
|
55415
|
+
(this.configs.some(config => prevElementState !== element.diffState && config.state === prevElementState && config.timeline.controlOptions.stopWhenStateChange) || element.diffState === DiffState.exit && prevElementState !== element.diffState) && this.clearElementAnimation(element, !1);
|
|
55415
55416
|
}), this.configs.forEach(config => {
|
|
55416
55417
|
this.animateByTimeline(config, elements, parameters);
|
|
55417
55418
|
}), this.mark.cleanExitElements(), this;
|
|
@@ -55426,7 +55427,7 @@ class Animate {
|
|
|
55426
55427
|
}
|
|
55427
55428
|
stopAnimationByState(animationState) {
|
|
55428
55429
|
const animators = this.animators.get(animationState);
|
|
55429
|
-
return animators && animators.forEach(animator => animator.stop()), this;
|
|
55430
|
+
return animators && animators.forEach(animator => animator.stop("end")), this;
|
|
55430
55431
|
}
|
|
55431
55432
|
pauseAnimationByState(animationState) {
|
|
55432
55433
|
const animators = this.animators.get(animationState);
|
|
@@ -55447,7 +55448,7 @@ class Animate {
|
|
|
55447
55448
|
}
|
|
55448
55449
|
stop() {
|
|
55449
55450
|
return this.animators.forEach(animators => {
|
|
55450
|
-
animators.forEach(animator => animator.stop());
|
|
55451
|
+
animators.forEach(animator => animator.stop("end"));
|
|
55451
55452
|
}), this;
|
|
55452
55453
|
}
|
|
55453
55454
|
pause() {
|
|
@@ -62508,7 +62509,7 @@ const registerVChartCore = () => {
|
|
|
62508
62509
|
};
|
|
62509
62510
|
registerVChartCore();
|
|
62510
62511
|
|
|
62511
|
-
const version = "1.13.5-alpha.
|
|
62512
|
+
const version = "1.13.5-alpha.16";
|
|
62512
62513
|
|
|
62513
62514
|
const addVChartProperty = (data, op) => {
|
|
62514
62515
|
const context = op.beforeCall();
|
package/build/index.js
CHANGED
|
@@ -55222,7 +55222,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
55222
55222
|
animate(animationParameters, parameters) {
|
|
55223
55223
|
return this.isAnimating = !0, this.animateElement(animationParameters, parameters), 0 === this.runnings.length && this.animationEnd(), this;
|
|
55224
55224
|
}
|
|
55225
|
-
stop(
|
|
55225
|
+
stop() {
|
|
55226
|
+
let stopState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "end";
|
|
55226
55227
|
let invokeCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
55227
55228
|
return this.runnings.forEach(running => running.stop(stopState)), this.animationEnd(invokeCallback), this;
|
|
55228
55229
|
}
|
|
@@ -55417,7 +55418,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
55417
55418
|
var _a;
|
|
55418
55419
|
element.isReserved && element.diffState !== DiffState.exit && (element.isReserved = !1);
|
|
55419
55420
|
const prevElementState = null === (_a = this.elementRecorder.get(element)) || void 0 === _a ? void 0 : _a.prevState;
|
|
55420
|
-
(this.configs.some(config => prevElementState !== element.diffState && config.state === prevElementState && config.timeline.controlOptions.stopWhenStateChange) || element.diffState === DiffState.exit) && this.clearElementAnimation(element, !1);
|
|
55421
|
+
(this.configs.some(config => prevElementState !== element.diffState && config.state === prevElementState && config.timeline.controlOptions.stopWhenStateChange) || element.diffState === DiffState.exit && prevElementState !== element.diffState) && this.clearElementAnimation(element, !1);
|
|
55421
55422
|
}), this.configs.forEach(config => {
|
|
55422
55423
|
this.animateByTimeline(config, elements, parameters);
|
|
55423
55424
|
}), this.mark.cleanExitElements(), this;
|
|
@@ -55432,7 +55433,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
55432
55433
|
}
|
|
55433
55434
|
stopAnimationByState(animationState) {
|
|
55434
55435
|
const animators = this.animators.get(animationState);
|
|
55435
|
-
return animators && animators.forEach(animator => animator.stop()), this;
|
|
55436
|
+
return animators && animators.forEach(animator => animator.stop("end")), this;
|
|
55436
55437
|
}
|
|
55437
55438
|
pauseAnimationByState(animationState) {
|
|
55438
55439
|
const animators = this.animators.get(animationState);
|
|
@@ -55453,7 +55454,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
55453
55454
|
}
|
|
55454
55455
|
stop() {
|
|
55455
55456
|
return this.animators.forEach(animators => {
|
|
55456
|
-
animators.forEach(animator => animator.stop());
|
|
55457
|
+
animators.forEach(animator => animator.stop("end"));
|
|
55457
55458
|
}), this;
|
|
55458
55459
|
}
|
|
55459
55460
|
pause() {
|
|
@@ -62514,7 +62515,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62514
62515
|
};
|
|
62515
62516
|
registerVChartCore();
|
|
62516
62517
|
|
|
62517
|
-
const version = "1.13.5-alpha.
|
|
62518
|
+
const version = "1.13.5-alpha.16";
|
|
62518
62519
|
|
|
62519
62520
|
const addVChartProperty = (data, op) => {
|
|
62520
62521
|
const context = op.beforeCall();
|