@visactor/vrender 1.1.0-alpha.2 → 1.1.0-alpha.3
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/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.es.js +71 -47
- package/dist/index.js +71 -47
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/cjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Direction } from '@visactor/vrender-core';
|
|
2
|
-
export declare const version = "1.1.0-alpha.
|
|
2
|
+
export declare const version = "1.1.0-alpha.3";
|
|
3
3
|
export * from '@visactor/vrender-core';
|
|
4
4
|
export * from '@visactor/vrender-kits';
|
|
5
5
|
export * from '@visactor/vrender-animate';
|
package/cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "Direction", {
|
|
|
26
26
|
get: function() {
|
|
27
27
|
return vrender_core_1.Direction;
|
|
28
28
|
}
|
|
29
|
-
}), exports.version = "1.1.0-alpha.
|
|
29
|
+
}), exports.version = "1.1.0-alpha.3", __exportStar(require("@visactor/vrender-core"), exports),
|
|
30
30
|
__exportStar(require("@visactor/vrender-kits"), exports), __exportStar(require("@visactor/vrender-animate"), exports),
|
|
31
31
|
__exportStar(require("@visactor/vrender-components"), exports), __exportStar(require("./entries"), exports);
|
|
32
32
|
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AAa1C,0FAbA,wBAAS,OAaA;AAXL,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,4CAA0B;AAC1B,mCAAuC;AAA9B,qGAAA,WAAW,OAAA;AAGpB,6DAAkD;AAAzC,wGAAA,KAAK,OAAA","file":"index.js","sourcesContent":["import { Direction } from '@visactor/vrender-core';\n// 导出版本号\nexport const version = \"1.1.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AAa1C,0FAbA,wBAAS,OAaA;AAXL,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,+DAA6C;AAC7C,4CAA0B;AAC1B,mCAAuC;AAA9B,qGAAA,WAAW,OAAA;AAGpB,6DAAkD;AAAzC,wGAAA,KAAK,OAAA","file":"index.js","sourcesContent":["import { Direction } from '@visactor/vrender-core';\n// 导出版本号\nexport const version = \"1.1.0-alpha.3\";\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-animate';\nexport * from '@visactor/vrender-components';\nexport * from './entries';\nexport { createStage } from './legacy';\n\n// avoid naming conflicts with 'State' & 'Direction' in '@visactor/vrender-components'\nexport { State } from '@visactor/vrender-animate';\nexport { Direction };\n"]}
|
package/dist/index.es.js
CHANGED
|
@@ -32337,6 +32337,19 @@ function commonInterpolateUpdate(key, from, to, ratio, step, target) {
|
|
|
32337
32337
|
return !1;
|
|
32338
32338
|
}
|
|
32339
32339
|
|
|
32340
|
+
function applyAnimationTransientAttributes(target, attributes, type = AttributeUpdateType.ANIMATE_UPDATE) {
|
|
32341
|
+
var _a;
|
|
32342
|
+
if (!attributes) return;
|
|
32343
|
+
const context = {
|
|
32344
|
+
type: type
|
|
32345
|
+
},
|
|
32346
|
+
transientTarget = target;
|
|
32347
|
+
"function" != typeof transientTarget.applyTransientAttributes ? "function" != typeof transientTarget.setAttributesAndPreventAnimate ? (transientTarget.attribute || (transientTarget.attribute = {}), Object.assign(transientTarget.attribute, attributes), null === (_a = transientTarget.onAttributeUpdate) || void 0 === _a || _a.call(transientTarget, context)) : transientTarget.setAttributesAndPreventAnimate(attributes, !1, context) : transientTarget.applyTransientAttributes(attributes, !1, context);
|
|
32348
|
+
}
|
|
32349
|
+
function applyAppearStartAttributes(target, attributes) {
|
|
32350
|
+
applyAnimationTransientAttributes(target, attributes, AttributeUpdateType.ANIMATE_BIND);
|
|
32351
|
+
}
|
|
32352
|
+
|
|
32340
32353
|
function noop() {}
|
|
32341
32354
|
class Step {
|
|
32342
32355
|
constructor(type, props, duration, easing) {
|
|
@@ -32462,7 +32475,7 @@ class WaitStep extends Step {
|
|
|
32462
32475
|
onStart() {
|
|
32463
32476
|
super.onStart();
|
|
32464
32477
|
const fromProps = this.getFromProps();
|
|
32465
|
-
this.target.
|
|
32478
|
+
applyAnimationTransientAttributes(this.target, fromProps, AttributeUpdateType.ANIMATE_START);
|
|
32466
32479
|
}
|
|
32467
32480
|
update(end, ratio, out) {
|
|
32468
32481
|
this.onStart();
|
|
@@ -32824,7 +32837,7 @@ class Animate {
|
|
|
32824
32837
|
const currentLoop = Math.floor((nextTime - this._startTime) / this._duration);
|
|
32825
32838
|
newLoop = currentLoop > this._currentLoop, this._currentLoop = currentLoop, bounceTime = this._bounce && currentLoop % 2 == 1, bounceTime && (cycleTime = this._duration - cycleTime);
|
|
32826
32839
|
}
|
|
32827
|
-
newLoop && !bounceTime && this.target
|
|
32840
|
+
newLoop && !bounceTime && applyAnimationTransientAttributes(this.target, this._startProps, AttributeUpdateType.ANIMATE_START);
|
|
32828
32841
|
let targetStep = null;
|
|
32829
32842
|
if (this._lastStep === this._firstStep) targetStep = this._firstStep;else {
|
|
32830
32843
|
let currentStep = this._firstStep;
|
|
@@ -33848,7 +33861,9 @@ class IncreaseCount extends ACustomAnimate {
|
|
|
33848
33861
|
const parts = formattedNumber.toString().split(".");
|
|
33849
33862
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), formattedWithBasicFormat = parts.join(".");
|
|
33850
33863
|
} else formattedWithBasicFormat = formattedNumber;
|
|
33851
|
-
formattedText = this.formatTemplate ? this.formatTemplate.replace("{{var}}", formattedWithBasicFormat.toString()) : formattedWithBasicFormat, this.target
|
|
33864
|
+
formattedText = this.formatTemplate ? this.formatTemplate.replace("{{var}}", formattedWithBasicFormat.toString()) : formattedWithBasicFormat, applyAnimationTransientAttributes(this.target, {
|
|
33865
|
+
text: formattedText
|
|
33866
|
+
});
|
|
33852
33867
|
}
|
|
33853
33868
|
}
|
|
33854
33869
|
|
|
@@ -33955,7 +33970,7 @@ class MorphingPath extends ACustomAnimate {
|
|
|
33955
33970
|
onUpdate(end, ratio, out) {
|
|
33956
33971
|
const target = this.target,
|
|
33957
33972
|
pathProxy = "function" == typeof target.pathProxy ? target.pathProxy(target.attribute) : target.pathProxy;
|
|
33958
|
-
interpolateMorphingData(this.morphingData, pathProxy, ratio), this.otherAttrs && this.otherAttrs.length && interpolateOtherAttrs(this.otherAttrs, out, ratio), this.target.setAttributes(out), end && !this.saveOnEnd && (this.target.pathProxy = null);
|
|
33973
|
+
interpolateMorphingData(this.morphingData, pathProxy, ratio), this.otherAttrs && this.otherAttrs.length && interpolateOtherAttrs(this.otherAttrs, out, ratio), end && this.saveOnEnd ? this.target.setAttributes(out) : applyAnimationTransientAttributes(this.target, out), end && !this.saveOnEnd && (this.target.pathProxy = null);
|
|
33959
33974
|
}
|
|
33960
33975
|
}
|
|
33961
33976
|
const morphPath = (fromGraphic, toGraphic, animationConfig, fromGraphicTransform) => {
|
|
@@ -34186,7 +34201,9 @@ class InputText extends ACustomAnimate {
|
|
|
34186
34201
|
const blinkRate = .1;
|
|
34187
34202
|
Math.floor(ratio / blinkRate) % 2 == 0 && (displayText = this.beforeText + currentText + this.cursorChar + this.afterText);
|
|
34188
34203
|
} else displayText = this.beforeText + currentText + this.cursorChar + this.afterText;
|
|
34189
|
-
this.target
|
|
34204
|
+
applyAnimationTransientAttributes(this.target, {
|
|
34205
|
+
text: displayText
|
|
34206
|
+
});
|
|
34190
34207
|
}
|
|
34191
34208
|
}
|
|
34192
34209
|
|
|
@@ -34195,11 +34212,9 @@ class ClipGraphicAnimate extends ACustomAnimate {
|
|
|
34195
34212
|
super(null, {}, duration, easing, params), this.clipFromAttribute = from, this.clipToAttribute = to, this._group = null == params ? void 0 : params.group, this._clipGraphic = null == params ? void 0 : params.clipGraphic;
|
|
34196
34213
|
}
|
|
34197
34214
|
onBind() {
|
|
34198
|
-
super.onBind(), this._group && this._clipGraphic && (this._lastClip = this._group.attribute.clip, this._lastPath = this._group.attribute.path, this._group
|
|
34215
|
+
super.onBind(), this._group && this._clipGraphic && (this._lastClip = this._group.attribute.clip, this._lastPath = this._group.attribute.path, applyAppearStartAttributes(this._group, {
|
|
34199
34216
|
clip: !0,
|
|
34200
34217
|
path: [this._clipGraphic]
|
|
34201
|
-
}, !1, {
|
|
34202
|
-
type: AttributeUpdateType.ANIMATE_BIND
|
|
34203
34218
|
}));
|
|
34204
34219
|
}
|
|
34205
34220
|
onEnd() {
|
|
@@ -34412,7 +34427,7 @@ class TagPointsUpdate extends ACustomAnimate {
|
|
|
34412
34427
|
return newPoint.context = point.context, newPoint;
|
|
34413
34428
|
}), this.clipRange) {
|
|
34414
34429
|
if (this.shrinkClipRange) return void (end ? (out.points = this.toPoints, out.clipRange = 1) : (out.points = this.fromPoints, out.clipRange = this.clipRange - (this.clipRange - this.shrinkClipRange) * ratio));
|
|
34415
|
-
this.target
|
|
34430
|
+
applyAnimationTransientAttributes(this.target, {
|
|
34416
34431
|
clipRange: this.clipRange + (1 - this.clipRange) * ratio
|
|
34417
34432
|
});
|
|
34418
34433
|
}
|
|
@@ -34445,7 +34460,7 @@ class CommonIn extends ACustomAnimate {
|
|
|
34445
34460
|
this.keys.forEach(key => {
|
|
34446
34461
|
var _a, _b, _c;
|
|
34447
34462
|
to[key] = null !== (_a = null == attrs ? void 0 : attrs[key]) && void 0 !== _a ? _a : 1, from[key] = null !== (_c = null !== (_b = from[key]) && void 0 !== _b ? _b : fromAttrs[key]) && void 0 !== _c ? _c : 0;
|
|
34448
|
-
}), null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to, !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
34463
|
+
}), null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to, !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
34449
34464
|
}
|
|
34450
34465
|
onUpdate(end, ratio, out) {
|
|
34451
34466
|
const attribute = this.target.attribute;
|
|
@@ -34699,7 +34714,7 @@ class GrowAngleIn extends GrowAngleBase {
|
|
|
34699
34714
|
to: to
|
|
34700
34715
|
} = growAngleIn(this.target, this.params.options, this.params),
|
|
34701
34716
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
34702
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
34717
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, fromAttrs), this.determineUpdateFunction();
|
|
34703
34718
|
}
|
|
34704
34719
|
}
|
|
34705
34720
|
class GrowAngleOut extends GrowAngleBase {
|
|
@@ -34849,7 +34864,7 @@ class GrowCenterIn extends ACustomAnimate {
|
|
|
34849
34864
|
to: to
|
|
34850
34865
|
} = growCenterIn(this.target, this.params.options, this.params),
|
|
34851
34866
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
34852
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
34867
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, fromAttrs);
|
|
34853
34868
|
}
|
|
34854
34869
|
onEnd(cb) {
|
|
34855
34870
|
super.onEnd(cb);
|
|
@@ -34954,7 +34969,7 @@ class GrowHeightIn extends ACustomAnimate {
|
|
|
34954
34969
|
to: to
|
|
34955
34970
|
} = growHeightIn(this.target, this.params.options, this.params),
|
|
34956
34971
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
34957
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
34972
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, fromAttrs);
|
|
34958
34973
|
}
|
|
34959
34974
|
onEnd(cb) {
|
|
34960
34975
|
super.onEnd(cb);
|
|
@@ -35068,7 +35083,7 @@ class GrowPointsIn extends GworPointsBase {
|
|
|
35068
35083
|
from: from,
|
|
35069
35084
|
to: to
|
|
35070
35085
|
} = growPointsIn(this.target, this.params.options, this.params);
|
|
35071
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target
|
|
35086
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
35072
35087
|
} else this.valid = !1;
|
|
35073
35088
|
}
|
|
35074
35089
|
}
|
|
@@ -35130,7 +35145,7 @@ class GrowPointsXIn extends GworPointsBase {
|
|
|
35130
35145
|
from: from,
|
|
35131
35146
|
to: to
|
|
35132
35147
|
} = growPointsXIn(this.target, this.params.options, this.params);
|
|
35133
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target
|
|
35148
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
35134
35149
|
} else this.valid = !1;
|
|
35135
35150
|
}
|
|
35136
35151
|
}
|
|
@@ -35192,7 +35207,7 @@ class GrowPointsYIn extends GworPointsBase {
|
|
|
35192
35207
|
from: from,
|
|
35193
35208
|
to: to
|
|
35194
35209
|
} = growPointsYIn(this.target, this.params.options, this.params);
|
|
35195
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target
|
|
35210
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
35196
35211
|
} else this.valid = !1;
|
|
35197
35212
|
}
|
|
35198
35213
|
}
|
|
@@ -35304,7 +35319,7 @@ class GrowRadiusIn extends GrowPointsBase {
|
|
|
35304
35319
|
to: to
|
|
35305
35320
|
} = growRadiusIn(this.target, this.params.options, this.params),
|
|
35306
35321
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
35307
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
35322
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, fromAttrs);
|
|
35308
35323
|
}
|
|
35309
35324
|
}
|
|
35310
35325
|
class GrowRadiusOut extends GrowPointsBase {
|
|
@@ -35426,7 +35441,7 @@ class GrowWidthIn extends ACustomAnimate {
|
|
|
35426
35441
|
to: to
|
|
35427
35442
|
} = growWidthIn(this.target, this.params.options, this.params),
|
|
35428
35443
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
35429
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && this.target
|
|
35444
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to, null === (_d = (_c = this.target).applyFinalAttributeToAttribute) || void 0 === _d || _d.call(_c), !1 !== (null === (_e = this.params.controlOptions) || void 0 === _e ? void 0 : _e.immediatelyApply) && applyAppearStartAttributes(this.target, fromAttrs);
|
|
35430
35445
|
}
|
|
35431
35446
|
onEnd(cb) {
|
|
35432
35447
|
super.onEnd(cb);
|
|
@@ -35477,7 +35492,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35477
35492
|
} = this.params,
|
|
35478
35493
|
symbolTime = duration / 10;
|
|
35479
35494
|
let symbolStartOuterFrom, symbolStartOuterTo;
|
|
35480
|
-
if (target._symbolStart
|
|
35495
|
+
if (applyAppearStartAttributes(target._symbolStart, {
|
|
35481
35496
|
scaleX: 0,
|
|
35482
35497
|
scaleY: 0
|
|
35483
35498
|
}), animator.animate(target._symbolStart, {
|
|
@@ -35498,12 +35513,12 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35498
35513
|
clipRange: 0
|
|
35499
35514
|
}, symbolStartOuterTo = {
|
|
35500
35515
|
clipRange: 1
|
|
35501
|
-
}), target._symbolStartOuter
|
|
35516
|
+
}), applyAppearStartAttributes(target._symbolStartOuter, symbolStartOuterFrom), animator.animate(target._symbolStartOuter, {
|
|
35502
35517
|
type: "to",
|
|
35503
35518
|
to: symbolStartOuterTo,
|
|
35504
35519
|
duration: 5 * symbolTime,
|
|
35505
35520
|
easing: easing
|
|
35506
|
-
}), target._symbolEnd
|
|
35521
|
+
}), applyAppearStartAttributes(target._symbolEnd, {
|
|
35507
35522
|
scaleX: 0,
|
|
35508
35523
|
scaleY: 0
|
|
35509
35524
|
}), animator.animate(target._symbolEnd, {
|
|
@@ -35515,7 +35530,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35515
35530
|
duration: 2 * symbolTime,
|
|
35516
35531
|
delay: 8 * symbolTime,
|
|
35517
35532
|
easing: easing
|
|
35518
|
-
}), target._line
|
|
35533
|
+
}), applyAppearStartAttributes(target._line, {
|
|
35519
35534
|
clipRange: 0
|
|
35520
35535
|
}), animator.animate(target._line, {
|
|
35521
35536
|
type: "to",
|
|
@@ -35526,7 +35541,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35526
35541
|
easing: easing
|
|
35527
35542
|
}), "typewriter" === titleType) {
|
|
35528
35543
|
const titleTopText = target._titleTop.attribute.text;
|
|
35529
|
-
target._titleTop
|
|
35544
|
+
applyAppearStartAttributes(target._titleTop, {
|
|
35530
35545
|
text: ""
|
|
35531
35546
|
}), animator.animate(target._titleTop, {
|
|
35532
35547
|
type: "custom",
|
|
@@ -35539,7 +35554,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35539
35554
|
custom: InputText
|
|
35540
35555
|
});
|
|
35541
35556
|
const titleBottomText = target._titleBottom.attribute.text;
|
|
35542
|
-
target._titleBottom
|
|
35557
|
+
applyAppearStartAttributes(target._titleBottom, {
|
|
35543
35558
|
text: ""
|
|
35544
35559
|
}), animator.animate(target._titleBottom, {
|
|
35545
35560
|
type: "custom",
|
|
@@ -35551,7 +35566,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35551
35566
|
},
|
|
35552
35567
|
custom: InputText
|
|
35553
35568
|
});
|
|
35554
|
-
} else target._titleTop
|
|
35569
|
+
} else applyAppearStartAttributes(target._titleTop, {
|
|
35555
35570
|
dy: target._titleTop.AABBBounds.height() + 10
|
|
35556
35571
|
}), animator.animate(target._titleTop, {
|
|
35557
35572
|
type: "to",
|
|
@@ -35561,7 +35576,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35561
35576
|
delay: 5 * symbolTime,
|
|
35562
35577
|
duration: 4 * symbolTime,
|
|
35563
35578
|
easing: "linear"
|
|
35564
|
-
}), target._titleBottom
|
|
35579
|
+
}), applyAppearStartAttributes(target._titleBottom, {
|
|
35565
35580
|
dy: -(10 + target._titleBottom.AABBBounds.height())
|
|
35566
35581
|
}), animator.animate(target._titleBottom, {
|
|
35567
35582
|
type: "to",
|
|
@@ -35575,7 +35590,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35575
35590
|
"scale" === titlePanelType ? [target._titleTopPanel, target._titleBottomPanel].forEach(panel => {
|
|
35576
35591
|
var _a;
|
|
35577
35592
|
const scaleX = null !== (_a = panel.attribute.scaleX) && void 0 !== _a ? _a : 1;
|
|
35578
|
-
panel
|
|
35593
|
+
applyAppearStartAttributes(panel, {
|
|
35579
35594
|
scaleX: 0
|
|
35580
35595
|
}), animator.animate(panel, {
|
|
35581
35596
|
type: "to",
|
|
@@ -35588,7 +35603,7 @@ class LabelItemAppear extends AComponentAnimate {
|
|
|
35588
35603
|
}) : "stroke" === titlePanelType && [target._titleTopPanel, target._titleBottomPanel].forEach(panel => {
|
|
35589
35604
|
const b = panel.AABBBounds,
|
|
35590
35605
|
totalLen = 2 * (b.width() + b.height());
|
|
35591
|
-
panel
|
|
35606
|
+
applyAppearStartAttributes(panel, {
|
|
35592
35607
|
lineDash: [0, 10 * totalLen]
|
|
35593
35608
|
}), animator.animate(panel, {
|
|
35594
35609
|
type: "to",
|
|
@@ -35695,7 +35710,7 @@ class PoptipAppear extends AComponentAnimate {
|
|
|
35695
35710
|
{
|
|
35696
35711
|
wave: wave
|
|
35697
35712
|
} = this.params;
|
|
35698
|
-
if (target
|
|
35713
|
+
if (applyAppearStartAttributes(target, {
|
|
35699
35714
|
scaleX: 0,
|
|
35700
35715
|
scaleY: 0
|
|
35701
35716
|
}), animator.animate(target, {
|
|
@@ -35848,7 +35863,9 @@ class InputRichText extends ACustomAnimate {
|
|
|
35848
35863
|
}
|
|
35849
35864
|
}
|
|
35850
35865
|
}
|
|
35851
|
-
this.target
|
|
35866
|
+
applyAnimationTransientAttributes(this.target, {
|
|
35867
|
+
textConfig: currentTextConfig
|
|
35868
|
+
});
|
|
35852
35869
|
}
|
|
35853
35870
|
}
|
|
35854
35871
|
|
|
@@ -35875,18 +35892,21 @@ class OutputRichText extends ACustomAnimate {
|
|
|
35875
35892
|
displayedLength = Math.round(fromItems * (1 - adjustedRatio));
|
|
35876
35893
|
} else displayedLength = Math.round(fromItems * (1 - ratio));
|
|
35877
35894
|
let currentTextConfig = "forward" === this.direction ? this.fromTextConfig.slice(fromItems - displayedLength) : this.fromTextConfig.slice(0, displayedLength);
|
|
35878
|
-
this.fadeOutChars && (currentTextConfig = this.applyFadeEffect(currentTextConfig, ratio, fromItems, displayedLength)), this.showCursor && displayedLength > 0 && (currentTextConfig = this.addCursor(currentTextConfig, ratio)), this.target
|
|
35895
|
+
this.fadeOutChars && (currentTextConfig = this.applyFadeEffect(currentTextConfig, ratio, fromItems, displayedLength)), this.showCursor && displayedLength > 0 && (currentTextConfig = this.addCursor(currentTextConfig, ratio)), applyAnimationTransientAttributes(this.target, {
|
|
35896
|
+
textConfig: currentTextConfig
|
|
35897
|
+
});
|
|
35879
35898
|
} else {
|
|
35880
35899
|
if (this.fadeOutChars) {
|
|
35881
35900
|
const adjustedRatio = Math.min(1, ratio / maxTextHideRatio);
|
|
35882
35901
|
displayedLength = Math.round(fromItems * (1 - adjustedRatio));
|
|
35883
35902
|
} else displayedLength = Math.round(fromItems * (1 - ratio));
|
|
35884
35903
|
let currentTextConfig = this.fromTextConfig.slice(0, displayedLength);
|
|
35885
|
-
this.fadeOutChars && (currentTextConfig = this.applyFadeEffect(currentTextConfig, ratio, fromItems, displayedLength)), this.showCursor && displayedLength > 0 && (currentTextConfig = this.addCursor(currentTextConfig, ratio)), this.target
|
|
35904
|
+
this.fadeOutChars && (currentTextConfig = this.applyFadeEffect(currentTextConfig, ratio, fromItems, displayedLength)), this.showCursor && displayedLength > 0 && (currentTextConfig = this.addCursor(currentTextConfig, ratio)), applyAnimationTransientAttributes(this.target, {
|
|
35905
|
+
textConfig: currentTextConfig
|
|
35906
|
+
});
|
|
35886
35907
|
}
|
|
35887
35908
|
}
|
|
35888
35909
|
applyFadeEffect(textConfig, ratio, totalItems, displayedLength) {
|
|
35889
|
-
"forward" === this.direction ? totalItems - displayedLength : displayedLength;
|
|
35890
35910
|
const fadeProgress = (ratio - (1 - this.fadeOutDuration)) / this.fadeOutDuration,
|
|
35891
35911
|
fadeOpacity = Math.max(0, 1 - Math.min(1, fadeProgress));
|
|
35892
35912
|
return textConfig.map((item, index) => {
|
|
@@ -35988,7 +36008,9 @@ class SlideRichText extends ACustomAnimate {
|
|
|
35988
36008
|
if (!this.valid) return;
|
|
35989
36009
|
const maxTextShowRatio = 1 - this.fadeInDuration;
|
|
35990
36010
|
let updatedTextConfig;
|
|
35991
|
-
updatedTextConfig = this.wordByWord && this.wordGroups.length > 0 ? this.updateByWord(ratio, maxTextShowRatio) : this.updateByCharacter(ratio, maxTextShowRatio), this.target
|
|
36011
|
+
updatedTextConfig = this.wordByWord && this.wordGroups.length > 0 ? this.updateByWord(ratio, maxTextShowRatio) : this.updateByCharacter(ratio, maxTextShowRatio), applyAnimationTransientAttributes(this.target, {
|
|
36012
|
+
textConfig: updatedTextConfig
|
|
36013
|
+
});
|
|
35992
36014
|
}
|
|
35993
36015
|
updateByWord(ratio, maxTextShowRatio) {
|
|
35994
36016
|
const totalGroups = this.wordGroups.length,
|
|
@@ -36117,7 +36139,9 @@ class SlideOutRichText extends ACustomAnimate {
|
|
|
36117
36139
|
if (!this.valid) return;
|
|
36118
36140
|
const maxTextShowRatio = 1 - this.fadeOutDuration;
|
|
36119
36141
|
let updatedTextConfig;
|
|
36120
|
-
updatedTextConfig = this.wordByWord && this.wordGroups.length > 0 ? this.updateByWord(ratio, maxTextShowRatio) : this.updateByCharacter(ratio, maxTextShowRatio), this.target
|
|
36142
|
+
updatedTextConfig = this.wordByWord && this.wordGroups.length > 0 ? this.updateByWord(ratio, maxTextShowRatio) : this.updateByCharacter(ratio, maxTextShowRatio), applyAnimationTransientAttributes(this.target, {
|
|
36143
|
+
textConfig: updatedTextConfig
|
|
36144
|
+
});
|
|
36121
36145
|
}
|
|
36122
36146
|
updateByWord(ratio, maxTextShowRatio) {
|
|
36123
36147
|
const totalGroups = this.wordGroups.length,
|
|
@@ -36216,7 +36240,7 @@ class ScaleIn extends ACustomAnimate {
|
|
|
36216
36240
|
scaleY: null !== (_k = null == attrs ? void 0 : attrs.scaleY) && void 0 !== _k ? _k : 1
|
|
36217
36241
|
}, this._updateFunction = this.updateXY;
|
|
36218
36242
|
}
|
|
36219
|
-
null === (_m = (_l = this.target).applyFinalAttributeToAttribute) || void 0 === _m || _m.call(_l), this.props = to, this.from = from, this.to = to, !1 !== (null === (_o = this.params.controlOptions) || void 0 === _o ? void 0 : _o.immediatelyApply) && this.target
|
|
36243
|
+
null === (_m = (_l = this.target).applyFinalAttributeToAttribute) || void 0 === _m || _m.call(_l), this.props = to, this.from = from, this.to = to, !1 !== (null === (_o = this.params.controlOptions) || void 0 === _o ? void 0 : _o.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
36220
36244
|
}
|
|
36221
36245
|
onEnd(cb) {
|
|
36222
36246
|
super.onEnd(cb);
|
|
@@ -36319,7 +36343,7 @@ class SlideIn extends ACustomAnimate {
|
|
|
36319
36343
|
opacity: 1,
|
|
36320
36344
|
baseOpacity: 1
|
|
36321
36345
|
};
|
|
36322
|
-
"top" === direction ? (from.y = (null !== (_e = attrs.y) && void 0 !== _e ? _e : 0) - distance, to.y = null !== (_f = attrs.y) && void 0 !== _f ? _f : 0, this.propKeys = ["opacity", "baseOpacity", "y"]) : "bottom" === direction ? (from.y = (null !== (_g = attrs.y) && void 0 !== _g ? _g : 0) + distance, to.y = null !== (_h = attrs.y) && void 0 !== _h ? _h : 0, this.propKeys = ["opacity", "baseOpacity", "y"]) : "left" === direction ? (from.x = (null !== (_j = attrs.x) && void 0 !== _j ? _j : 0) - distance, to.x = null !== (_k = attrs.x) && void 0 !== _k ? _k : 0, this.propKeys = ["opacity", "baseOpacity", "x"]) : (from.x = (null !== (_l = attrs.x) && void 0 !== _l ? _l : 0) + distance, to.x = null !== (_m = attrs.x) && void 0 !== _m ? _m : 0, this.propKeys = ["opacity", "baseOpacity", "x"]), this.from = from, this.to = to, this.props = to, this.target
|
|
36346
|
+
"top" === direction ? (from.y = (null !== (_e = attrs.y) && void 0 !== _e ? _e : 0) - distance, to.y = null !== (_f = attrs.y) && void 0 !== _f ? _f : 0, this.propKeys = ["opacity", "baseOpacity", "y"]) : "bottom" === direction ? (from.y = (null !== (_g = attrs.y) && void 0 !== _g ? _g : 0) + distance, to.y = null !== (_h = attrs.y) && void 0 !== _h ? _h : 0, this.propKeys = ["opacity", "baseOpacity", "y"]) : "left" === direction ? (from.x = (null !== (_j = attrs.x) && void 0 !== _j ? _j : 0) - distance, to.x = null !== (_k = attrs.x) && void 0 !== _k ? _k : 0, this.propKeys = ["opacity", "baseOpacity", "x"]) : (from.x = (null !== (_l = attrs.x) && void 0 !== _l ? _l : 0) + distance, to.x = null !== (_m = attrs.x) && void 0 !== _m ? _m : 0, this.propKeys = ["opacity", "baseOpacity", "x"]), this.from = from, this.to = to, this.props = to, applyAppearStartAttributes(this.target, from);
|
|
36323
36347
|
}
|
|
36324
36348
|
onUpdate(end, ratio, out) {
|
|
36325
36349
|
const attribute = this.target.attribute;
|
|
@@ -36347,7 +36371,7 @@ class GrowIn extends ACustomAnimate {
|
|
|
36347
36371
|
opacity: 1,
|
|
36348
36372
|
baseOpacity: 1
|
|
36349
36373
|
};
|
|
36350
|
-
this.propKeys = ["opacity", "baseOpacity"], "x" !== direction && "xy" !== direction || (from.scaleX = fromScale, to.scaleX = null !== (_f = attrs.scaleX) && void 0 !== _f ? _f : 1, this.propKeys.push("scaleX")), "y" !== direction && "xy" !== direction || (from.scaleY = fromScale, to.scaleY = null !== (_g = attrs.scaleY) && void 0 !== _g ? _g : 1, this.propKeys.push("scaleY")), this.from = from, this.to = to, this.props = to, this.target
|
|
36374
|
+
this.propKeys = ["opacity", "baseOpacity"], "x" !== direction && "xy" !== direction || (from.scaleX = fromScale, to.scaleX = null !== (_f = attrs.scaleX) && void 0 !== _f ? _f : 1, this.propKeys.push("scaleX")), "y" !== direction && "xy" !== direction || (from.scaleY = fromScale, to.scaleY = null !== (_g = attrs.scaleY) && void 0 !== _g ? _g : 1, this.propKeys.push("scaleY")), this.from = from, this.to = to, this.props = to, applyAppearStartAttributes(this.target, from);
|
|
36351
36375
|
}
|
|
36352
36376
|
onUpdate(end, ratio, out) {
|
|
36353
36377
|
const attribute = this.target.attribute;
|
|
@@ -36381,7 +36405,7 @@ class SpinIn extends ACustomAnimate {
|
|
|
36381
36405
|
scaleX: null !== (_h = attrs.scaleX) && void 0 !== _h ? _h : 1,
|
|
36382
36406
|
scaleY: null !== (_j = attrs.scaleY) && void 0 !== _j ? _j : 1
|
|
36383
36407
|
};
|
|
36384
|
-
this.propKeys = ["opacity", "baseOpacity", "angle", "scaleX", "scaleY"], this.from = from, this.to = to, this.props = to, this.target
|
|
36408
|
+
this.propKeys = ["opacity", "baseOpacity", "angle", "scaleX", "scaleY"], this.from = from, this.to = to, this.props = to, applyAppearStartAttributes(this.target, from);
|
|
36385
36409
|
}
|
|
36386
36410
|
onUpdate(end, ratio, out) {
|
|
36387
36411
|
const attribute = this.target.attribute;
|
|
@@ -36428,7 +36452,7 @@ class StrokeIn extends ACustomAnimate {
|
|
|
36428
36452
|
lineWidth: lineWidth,
|
|
36429
36453
|
stroke: strokeColor,
|
|
36430
36454
|
strokeOpacity: fromOpacity
|
|
36431
|
-
}, showFill ? (this.from.fillOpacity = fillOpacity, this.to.fillOpacity = null !== (_t = this.originalAttributes.fillOpacity) && void 0 !== _t ? _t : 1) : (this.from.fillOpacity = 0, this.to.fillOpacity = 0), this.propKeys = ["lineDash", "lineDashOffset", "lineWidth", "stroke", "strokeOpacity", "fillOpacity"], this.props = this.to, this.target
|
|
36455
|
+
}, showFill ? (this.from.fillOpacity = fillOpacity, this.to.fillOpacity = null !== (_t = this.originalAttributes.fillOpacity) && void 0 !== _t ? _t : 1) : (this.from.fillOpacity = 0, this.to.fillOpacity = 0), this.propKeys = ["lineDash", "lineDashOffset", "lineWidth", "stroke", "strokeOpacity", "fillOpacity"], this.props = this.to, applyAppearStartAttributes(this.target, this.from);
|
|
36432
36456
|
}
|
|
36433
36457
|
onUpdate(end, ratio, out) {
|
|
36434
36458
|
var _a;
|
|
@@ -36480,7 +36504,7 @@ class StrokeOut extends ACustomAnimate {
|
|
|
36480
36504
|
lineWidth: lineWidth,
|
|
36481
36505
|
stroke: strokeColor,
|
|
36482
36506
|
strokeOpacity: fromOpacity
|
|
36483
|
-
}, showFill ? (this.from.fillOpacity = null !== (_r = this.originalAttributes.fillOpacity) && void 0 !== _r ? _r : 1, this.to.fillOpacity = 0) : (this.from.fillOpacity = 0, this.to.fillOpacity = 0), this.propKeys = ["lineDash", "lineDashOffset", "lineWidth", "stroke", "strokeOpacity", "fillOpacity"], this.props = this.to, this.target
|
|
36507
|
+
}, showFill ? (this.from.fillOpacity = null !== (_r = this.originalAttributes.fillOpacity) && void 0 !== _r ? _r : 1, this.to.fillOpacity = 0) : (this.from.fillOpacity = 0, this.to.fillOpacity = 0), this.propKeys = ["lineDash", "lineDashOffset", "lineWidth", "stroke", "strokeOpacity", "fillOpacity"], this.props = this.to, applyAppearStartAttributes(this.target, this.from);
|
|
36484
36508
|
}
|
|
36485
36509
|
onUpdate(end, ratio, out) {
|
|
36486
36510
|
var _a;
|
|
@@ -36897,7 +36921,7 @@ class MoveIn extends MoveBase {
|
|
|
36897
36921
|
from: from,
|
|
36898
36922
|
to: to
|
|
36899
36923
|
} = moveIn(this.target, this.params.options, this.params);
|
|
36900
|
-
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target
|
|
36924
|
+
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
36901
36925
|
}
|
|
36902
36926
|
}
|
|
36903
36927
|
class MoveOut extends MoveBase {
|
|
@@ -36956,7 +36980,7 @@ class RotateIn extends RotateBase {
|
|
|
36956
36980
|
from: from,
|
|
36957
36981
|
to: to
|
|
36958
36982
|
} = rotateIn(this.target, this.params.options);
|
|
36959
|
-
this.props = to, this.propKeys = ["angle"], this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target
|
|
36983
|
+
this.props = to, this.propKeys = ["angle"], this.from = from, this.to = to, null === (_b = (_a = this.target).applyFinalAttributeToAttribute) || void 0 === _b || _b.call(_a), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && applyAppearStartAttributes(this.target, from);
|
|
36960
36984
|
}
|
|
36961
36985
|
}
|
|
36962
36986
|
class RotateOut extends RotateBase {
|
|
@@ -36972,8 +36996,8 @@ class RotateOut extends RotateBase {
|
|
|
36972
36996
|
|
|
36973
36997
|
class MotionPath extends ACustomAnimate {
|
|
36974
36998
|
constructor(from, to, duration, easing, params) {
|
|
36975
|
-
var _a;
|
|
36976
|
-
super(from, to, duration, easing, params), params && (this.pathLength = params.path.getLength(), this.path = params.path, this.distance = params.distance, this.totalLength = this.distance * this.pathLength, this.initAngle = null !== (_a = params.initAngle) && void 0 !== _a ? _a : 0, this.changeAngle = !!params.changeAngle, this.cb = params.cb);
|
|
36999
|
+
var _a, _b, _c;
|
|
37000
|
+
super(from, to, duration, easing, params), params && (this.pathLength = params.path.getLength(), this.path = params.path, this.distance = params.distance, this.totalLength = this.distance * this.pathLength, this.initAngle = null !== (_a = params.initAngle) && void 0 !== _a ? _a : 0, this.changeAngle = !!params.changeAngle, this.commitOnEnd = null === (_c = null !== (_b = params.commitOnEnd) && void 0 !== _b ? _b : params.saveOnEnd) || void 0 === _c || _c, this.cb = params.cb);
|
|
36977
37001
|
}
|
|
36978
37002
|
onBind() {
|
|
36979
37003
|
this.from = {
|
|
@@ -36988,7 +37012,7 @@ class MotionPath extends ACustomAnimate {
|
|
|
36988
37012
|
pos: pos,
|
|
36989
37013
|
angle: angle
|
|
36990
37014
|
} = this.path.getAttrAt(at);
|
|
36991
|
-
attrs.x = pos.x, attrs.y = pos.y, this.changeAngle && (attrs.angle = angle + this.initAngle), this.cb && this.cb(this.from, this.to, ratio, this.target), this.target.setAttributes(attrs);
|
|
37015
|
+
attrs.x = pos.x, attrs.y = pos.y, this.changeAngle && (attrs.angle = angle + this.initAngle), this.cb && this.cb(this.from, this.to, ratio, this.target), end && this.commitOnEnd ? this.target.setAttributes(attrs) : applyAnimationTransientAttributes(this.target, attrs);
|
|
36992
37016
|
}
|
|
36993
37017
|
}
|
|
36994
37018
|
|
|
@@ -54286,6 +54310,6 @@ function createStage(params) {
|
|
|
54286
54310
|
return resolveLegacyApp().createStage(params);
|
|
54287
54311
|
}
|
|
54288
54312
|
|
|
54289
|
-
const version = "1.1.0-alpha.
|
|
54313
|
+
const version = "1.1.0-alpha.3";
|
|
54290
54314
|
|
|
54291
54315
|
export { AComponentAnimate, ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AStageAnimate, AXIS_ELEMENT_NAME, AbstractComponent, AbstractGraphicRender, Animate, AnimateExecutor, AnimateMode, AnimateStatus, Step as AnimateStep, AnimateStepType, AnimationStateManager, AnimationStateStore, AnimationStates, AnimationTransitionRegistry, AppContext, Application, Arc, Arc3d, Arc3dRender, ArcInfo, ArcLabel, ArcRender, ArcRenderContribution, ArcSegment, Area, AreaRender, AreaRenderContribution, AttributeUpdateType, AutoEnablePlugins, AxisStateValue, BaseCanvas, BaseEnvContribution, BasePlayer, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEntry, BrowserEnvContribution, Brush, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGifImagePicker, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasStarPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, CheckBox, Circle, CircleAxis, CircleAxisGrid, CircleCrosshair, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipIn, ClipOut, ClipRadiusAnimate, ColorContinuousLegend, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, ComponentAnimator, Context2dFactory, ContinuousPlayer, ContributionProvider, ContributionRegistry, ContributionStore, CubicBezierCurve, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_ITEM_SPACE_COL, DEFAULT_ITEM_SPACE_ROW, DEFAULT_LABEL_SPACE, DEFAULT_PAGER_SPACE, DEFAULT_SHAPE_SIZE, DEFAULT_SHAPE_SPACE, DEFAULT_STATES$1 as DEFAULT_STATES, DEFAULT_TEXT_FONT_FAMILY$1 as DEFAULT_TEXT_FONT_FAMILY, DEFAULT_TITLE_SPACE, DEFAULT_VALUE_SPACE, DataLabel, DataZoom, DataZoomActiveTag, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction, DirectionEnum, DirectionalLight, DiscreteLegend, DiscretePlayer, Dissolve, Distortion, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EmptyTip, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeIn, FadeOut, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, FromTo, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, GaussianBlur, Generator, Gesture, GifImage, Glitch, GlobalPickerService, Glyph, GlyphRender, GradientParser, Graphic, GraphicCreator$1 as GraphicCreator, GraphicFactory, GraphicPicker, GraphicRender, GraphicService, GraphicStateExtension, GraphicUtil, Grayscale, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupTransition, GroupUpdateAABBBoundsMode, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowIn, GrowOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, HtmlAttributePlugin, IContainPointMode, IDataZoomEvent, IDataZoomInteractiveEvent, IMAGE_NUMBER_TYPE, IMarkAreaLabelPosition, IMarkCommonArcLabelPosition, IMarkLineLabelPosition, IMarkPointItemPosition, IOperateType, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, Indicator, InputRichText, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LEGEND_ELEMENT_NAME, LINE_NUMBER_TYPE, LabelBase, LabelItemAppear, LabelItemDisappear, Layer, LayerFactory, LayerService, LegendEvent, LegendStateValue, Line$1 as Line, LineAxis, LineAxisGrid, LineCrosshair, LineLabel, LineRender, Linear, LinearClosed, LinkPath, Lottie, ManualTicker, MarkArcArea, MarkArcLine, MarkArea, MarkLine, MarkPoint, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathRichTextPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, MiniappEntry, MonotoneX, MonotoneY, MorphingPath, MotionPath, MoveIn, MoveOut, MoveRotateIn, MoveRotateOut, MoveScaleIn, MoveScaleOut, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, NodeEntry, OrthoCamera, OutputRichText, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Pager, Particle, Path, PathRender, PathRenderContribution, PerformanceRAF, PickItemInterceptor, PickServiceInterceptor, PickerRegistry, PickerService, Pixelation, PlayerEventEnum, PluginRegistry, PluginService, Polygon, PolygonCrosshair, PolygonRender, PolygonRenderContribution, PolygonSectorCrosshair, PopTip, PoptipAppear, PoptipDisappear, PulseAnimate, Pyramid3d, Pyramid3dRender, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, Radio, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectCrosshair, RectLabel, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, RendererRegistry, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, RotateIn, RotateOut, SLIDER_ELEMENT_NAME, STAR_NUMBER_TYPE, STATUS$1 as STATUS, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, ScaleIn, ScaleOut, ScrollBar, SectorCrosshair, SegContext, Segment, SeriesNumberCellStateValue, SeriesNumberEvent, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SizeContinuousLegend, SlideIn, SlideOut, SlideOutRichText, SlideRichText, Slider, SpinIn, SpinOut, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StageFactory, Star, StarRender, StarRenderContribution, State, StateDefinitionCompiler, StateEngine, StaticLayerHandlerContribution, Step$1 as Step, StepClosed, StoryLabelItem, StreamLight, StrokeIn, StrokeOut, Switch, Symbol$1 as Symbol, SymbolLabel, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TableSeriesNumber, Tag, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, Timeline, Title, Tooltip, TopZIndex, TransformUtil, Update, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VTag, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WeatherBox, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, alignTextInLine, alternatingWave, angle, angleLabelOrientAttribute, angleTo, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindArc3dCanvasPickerContribution, bindArc3dRenderModule, bindArcCanvasPickerContribution, bindArcMathPickerContribution, bindArcRenderModule, bindAreaCanvasPickerContribution, bindAreaMathPickerContribution, bindAreaRenderModule, bindBrowserEnv, bindCircleCanvasPickerContribution, bindCircleMathPickerContribution, bindCircleRenderModule, bindContributionProvider, bindContributionProviderNoSingletonScope, bindFeishuEnv, bindGifImageCanvasPickerContribution, bindGifImageRenderContribution, bindGlyphCanvasPickerContribution, bindGlyphMathPickerContribution, bindGlyphRenderModule, bindHarmonyEnv, bindImageCanvasPickerContribution, bindImageMathPickerContribution, bindImageRenderModule, bindLineCanvasPickerContribution, bindLineMathPickerContribution, bindLineRenderModule, bindLottieCanvasPickerContribution, bindLottieRenderContribution, bindLynxEnv, bindMathPicker, bindNodeEnv, bindPathCanvasPickerContribution, bindPathMathPickerContribution, bindPathRenderModule, bindPolygonCanvasPickerContribution, bindPolygonMathPickerContribution, bindPolygonRenderModule, bindPyramid3dCanvasPickerContribution, bindPyramid3dRenderModule, bindRect3dCanvasPickerContribution, bindRect3dRenderModule, bindRectCanvasPickerContribution, bindRectMathPickerContribution, bindRectRenderModule, bindRichTextMathPickerContribution, bindRichtextCanvasPickerContribution, bindRichtextRenderModule, bindStarRenderModule, bindSymbolCanvasPickerContribution, bindSymbolMathPickerContribution, bindSymbolRenderModule, bindTTEnv, bindTaroEnv, bindTextCanvasPickerContribution, bindTextMathPickerContribution, bindTextRenderModule, bindWxEnv, bootstrapLegacyVRenderRuntime, bootstrapVRenderBrowserApp, bootstrapVRenderNodeApp, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, cartesianTicks, centerToCorner, centroidOfSubpath, circleBounds, circleModule, clampRadian, clock, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeOffsetForlimit, configureRuntimeApplicationForApp, container, continuousTicks, contrastAccessibilityChecker, convertDomainToTickData, cornerTangents, cornerToCenter, createBrowserApp$1 as createApp, createArc, createArc3d, createArea, createBrowserApp$1 as createBrowserApp, createBrowserVRenderApp, createCanvasEventTransformer, createCircle, createColor, createComponentAnimator, createConicalGradient, createContributionProvider$1 as createContributionProvider, createEventTransformer, createGifImage, createGlyph, createGraphic$1 as createGraphic, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createMiniappApp, createNodeApp$1 as createNodeApp, createNodeVRenderApp, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createStar, createSymbol, createText, createTextGraphicByType, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, deltaXYToAngle, diagonalCenterToEdge, diagonalTopLeftToBottomRight, diff, divideCubic, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawBackgroundImage, drawImageWithLayout, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, fuzzyEqualNumber, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepClosedSegments, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getAxisBreakSymbolAttrs, getBackgroundImage, getCircleLabelPosition, getCirclePoints, getCircleVerticalVector, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getElMap, getExtraModelMatrix, getHorizontalPath, getLegacyBindingContext, getMarksByName, getModelMatrix, getNoneGroupMarksByName, getPolarAngleLabelPosition, getPolygonPath, getRichTextBounds, getRuntimeInstallerBindingContext, getRuntimeInstallerGlobal, getScaledStroke, getSizeHandlerPath, getTextAlignAttrOfVerticalDir, getTextBounds, getTextType, getTheme, getThemeFromGroup, getVerticalCoord, getVerticalPath, globalTheme, glyphModule, graphicCreator$1 as graphicCreator, graphicService, graphicUtil, hasOverlap, htmlAttributeTransform, identityMat4, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initTextMeasure, initWxEnv, installBrowserEnvToApp, installBrowserPickersToApp, installDefaultGraphicsToApp, installNodeEnvToApp, installNodePickersToApp, installPoptipToApp, installRuntimeDrawContributionsToApp, installRuntimeGraphicRenderersToApp, installRuntimePickersToApp, installScrollbarToApp, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, interpolatePureColorArrayToStr, intersect, isBrowserEnv, isInRange, isNoRepeatSizingMode, isNodeEnv, isPostiveXAxis, isRichText, isSvg, isVisible, isXML, jsx, labelSmartInvert, layerService, length, limitShapeInBounds, lineModule, linearDiscreteTicks, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadMathPicker, loadNodeEnv, loadPoptip, loadScrollbar, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, mapToCanvasPointForCanvas, mat3Tomat4, mat4Allocate, matrixAllocate, measureTextSize, morphPath, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, newThemeObj, normalize$1 as normalize, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, particleEffect, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polarAngleAxisDiscreteTicks, polarTicks, polygonModule, preLoadAllModule, pulseWave, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, randomOpacity, reactAttributeTransform, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, refreshRuntimeInstallerContributions, registerAnimate, registerArc, registerArc3d, registerArc3dGraphic, registerArcDataLabel, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerCustomAnimate, registerDirectionalLight, registerFlexLayoutPlugin, registerGifGraphic, registerGifImage, registerGlobalEventTransformer, registerGlyph, registerGlyphGraphic, registerGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineDataLabel, registerLineGraphic, registerMarkArcAreaAnimate, registerMarkArcLineAnimate, registerMarkAreaAnimate, registerMarkLineAnimate, registerMarkPointAnimate, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectDataLabel, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerStar, registerStarGraphic, registerSymbol, registerSymbolDataLabel, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWindowEventTransformer, registerWrapText, registerWrapTextGraphic, removeRepeatPoint, renderCommandList, resolveBackgroundDrawMode, resolveBackgroundParamsByImageSizing, resolveBackgroundPosition, resolveBackgroundSizing, resolveContainerBinding$1 as resolveContainerBinding, resolveImageMode, resolveImageRepeatMode, resolveRenderableImageSize, rewriteProto, richTextAttributeTransform, richtextModule, rippleEffect, rotateX, rotateY, rotateZ, rotationScan, roughModule, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, runFill, runStroke, scale, scaleMat4, segments, setPoptipTheme, shouldClipImageByLayout, shouldUseMat4, shouldUseSimpleAttributeFastPath, smartInvertStrategy, snakeWave, snapLength, spiralEffect, splitArc, splitArea, splitCircle, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolModule, tan2AngleToAngle, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textIntersect, textLayoutOffsetY, textModule, ticks, transformMat4, transformPointForCanvas, transformUtil, transitionRegistry, translate, traverseGroup, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };
|