@visactor/vchart 2.0.7-alpha.9 → 2.0.8-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 +9 -8
- package/build/index.js +9 -8
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +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/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/package.json +7 -7
package/build/index.es.js
CHANGED
|
@@ -35128,14 +35128,15 @@ class AnimateExecutor {
|
|
|
35128
35128
|
return delayAfterValue > 0 && (totalDelay += delayAfterValue), totalDelay > 0 && animate.wait(totalDelay), loop && loop > 0 && animate.loop(loop), bounce && animate.bounce(!0), animate;
|
|
35129
35129
|
}
|
|
35130
35130
|
_handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
|
|
35131
|
-
var _a, _b, _c, _d, _e, _f;
|
|
35131
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
35132
35132
|
if (custom && customType) {
|
|
35133
|
-
|
|
35134
|
-
|
|
35135
|
-
|
|
35136
|
-
|
|
35137
|
-
|
|
35138
|
-
|
|
35133
|
+
let customParams = this.resolveValue(customParameters, graphic);
|
|
35134
|
+
"function" == typeof customParams && (customParams = customParams(null === (_b = null === (_a = graphic.context) || void 0 === _a ? void 0 : _a.data) || void 0 === _b ? void 0 : _b[0], graphic, {})), customParams = Object.assign({
|
|
35135
|
+
width: (null === (_c = graphic.stage) || void 0 === _c ? void 0 : _c.width) || 0,
|
|
35136
|
+
height: (null === (_d = graphic.stage) || void 0 === _d ? void 0 : _d.height) || 0,
|
|
35137
|
+
group: this._target.parent
|
|
35138
|
+
}, customParams);
|
|
35139
|
+
const objOptions = isFunction$1(options) ? options.call(null, null !== (_f = customParams && (null === (_e = customParams.data) || void 0 === _e ? void 0 : _e[0])) && void 0 !== _f ? _f : null === (_h = null === (_g = graphic.context) || void 0 === _g ? void 0 : _g.data) || void 0 === _h ? void 0 : _h[0], graphic, customParams) : options;
|
|
35139
35140
|
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);
|
|
35140
35141
|
} else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
|
|
35141
35142
|
}
|
|
@@ -61289,7 +61290,7 @@ const lookup = (data, opt) => {
|
|
|
61289
61290
|
});
|
|
61290
61291
|
};
|
|
61291
61292
|
|
|
61292
|
-
const version = "2.0.
|
|
61293
|
+
const version = "2.0.8-alpha.0";
|
|
61293
61294
|
|
|
61294
61295
|
const addVChartProperty = (data, op) => {
|
|
61295
61296
|
const context = op.beforeCall();
|
package/build/index.js
CHANGED
|
@@ -35134,14 +35134,15 @@
|
|
|
35134
35134
|
return delayAfterValue > 0 && (totalDelay += delayAfterValue), totalDelay > 0 && animate.wait(totalDelay), loop && loop > 0 && animate.loop(loop), bounce && animate.bounce(!0), animate;
|
|
35135
35135
|
}
|
|
35136
35136
|
_handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
|
|
35137
|
-
var _a, _b, _c, _d, _e, _f;
|
|
35137
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
35138
35138
|
if (custom && customType) {
|
|
35139
|
-
|
|
35140
|
-
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
|
|
35139
|
+
let customParams = this.resolveValue(customParameters, graphic);
|
|
35140
|
+
"function" == typeof customParams && (customParams = customParams(null === (_b = null === (_a = graphic.context) || void 0 === _a ? void 0 : _a.data) || void 0 === _b ? void 0 : _b[0], graphic, {})), customParams = Object.assign({
|
|
35141
|
+
width: (null === (_c = graphic.stage) || void 0 === _c ? void 0 : _c.width) || 0,
|
|
35142
|
+
height: (null === (_d = graphic.stage) || void 0 === _d ? void 0 : _d.height) || 0,
|
|
35143
|
+
group: this._target.parent
|
|
35144
|
+
}, customParams);
|
|
35145
|
+
const objOptions = isFunction$1(options) ? options.call(null, null !== (_f = customParams && (null === (_e = customParams.data) || void 0 === _e ? void 0 : _e[0])) && void 0 !== _f ? _f : null === (_h = null === (_g = graphic.context) || void 0 === _g ? void 0 : _g.data) || void 0 === _h ? void 0 : _h[0], graphic, customParams) : options;
|
|
35145
35146
|
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);
|
|
35146
35147
|
} else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
|
|
35147
35148
|
}
|
|
@@ -61295,7 +61296,7 @@
|
|
|
61295
61296
|
});
|
|
61296
61297
|
};
|
|
61297
61298
|
|
|
61298
|
-
const version = "2.0.
|
|
61299
|
+
const version = "2.0.8-alpha.0";
|
|
61299
61300
|
|
|
61300
61301
|
const addVChartProperty = (data, op) => {
|
|
61301
61302
|
const context = op.beforeCall();
|