@visactor/vrender 1.1.0-alpha.10 → 1.1.0-alpha.12
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 +283 -192
- package/dist/index.js +283 -192
- 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 +7 -7
package/dist/index.es.js
CHANGED
|
@@ -32426,6 +32426,18 @@ function commonInterpolateUpdate(key, from, to, ratio, step, target) {
|
|
|
32426
32426
|
return !1;
|
|
32427
32427
|
}
|
|
32428
32428
|
|
|
32429
|
+
const animateUpdateContext = {
|
|
32430
|
+
type: AttributeUpdateType.ANIMATE_UPDATE
|
|
32431
|
+
};
|
|
32432
|
+
function applyAnimationFrameAttributes(target, attributes) {
|
|
32433
|
+
var _a;
|
|
32434
|
+
if (!attributes) return;
|
|
32435
|
+
const transientTarget = target;
|
|
32436
|
+
transientTarget.attribute || (transientTarget.attribute = {});
|
|
32437
|
+
const targetAttribute = transientTarget.attribute;
|
|
32438
|
+
for (const key in attributes) Object.prototype.hasOwnProperty.call(attributes, key) && (targetAttribute[key] = attributes[key]);
|
|
32439
|
+
null === (_a = transientTarget.onAttributeUpdate) || void 0 === _a || _a.call(transientTarget, animateUpdateContext);
|
|
32440
|
+
}
|
|
32429
32441
|
function applyAnimationTransientAttributes(target, attributes, type = AttributeUpdateType.ANIMATE_UPDATE) {
|
|
32430
32442
|
var _a;
|
|
32431
32443
|
if (!attributes) return;
|
|
@@ -32440,6 +32452,10 @@ function applyAppearStartAttributes(target, attributes) {
|
|
|
32440
32452
|
}
|
|
32441
32453
|
|
|
32442
32454
|
function noop() {}
|
|
32455
|
+
function includesKey$1(keys, key) {
|
|
32456
|
+
for (let i = 0; i < keys.length; i++) if (keys[i] === key) return !0;
|
|
32457
|
+
return !1;
|
|
32458
|
+
}
|
|
32443
32459
|
class Step {
|
|
32444
32460
|
constructor(type, props, duration, easing) {
|
|
32445
32461
|
var _a;
|
|
@@ -32495,6 +32511,17 @@ class Step {
|
|
|
32495
32511
|
onBind() {
|
|
32496
32512
|
"glyph" === this.target.type && (this.syncAttributeUpdate = this._syncAttributeUpdate);
|
|
32497
32513
|
}
|
|
32514
|
+
runInterpolateUpdate(fromProps, toProps, ratio) {
|
|
32515
|
+
if (this.animate.interpolateUpdateFunction) return void this.animate.interpolateUpdateFunction(fromProps, toProps, ratio, this, this.target);
|
|
32516
|
+
const funcs = this.interpolateUpdateFunctions,
|
|
32517
|
+
propKeys = this.propKeys;
|
|
32518
|
+
if (funcs && propKeys) for (let index = 0; index < funcs.length; index++) {
|
|
32519
|
+
const key = propKeys[index],
|
|
32520
|
+
fromValue = fromProps[key],
|
|
32521
|
+
toValue = toProps[key];
|
|
32522
|
+
funcs[index](key, fromValue, toValue, ratio, this, this.target);
|
|
32523
|
+
}
|
|
32524
|
+
}
|
|
32498
32525
|
onFirstRun() {}
|
|
32499
32526
|
onStart() {
|
|
32500
32527
|
if (!this._hasFirstRun) {
|
|
@@ -32509,23 +32536,49 @@ class Step {
|
|
|
32509
32536
|
tryPreventConflict() {
|
|
32510
32537
|
var _a, _b;
|
|
32511
32538
|
const animate = this.animate,
|
|
32512
|
-
target = this.target
|
|
32513
|
-
|
|
32514
|
-
|
|
32515
|
-
|
|
32516
|
-
|
|
32539
|
+
target = this.target,
|
|
32540
|
+
forEachTrackedAnimate = null !== (_b = null === (_a = target.forEachTrackedAnimate) || void 0 === _a ? void 0 : _a.bind(target)) && void 0 !== _b ? _b : cb => {
|
|
32541
|
+
var _a;
|
|
32542
|
+
null === (_a = target.animates) || void 0 === _a || _a.forEach(cb);
|
|
32543
|
+
},
|
|
32544
|
+
propKeys = this.propKeys;
|
|
32545
|
+
forEachTrackedAnimate(a => {
|
|
32517
32546
|
if (a === animate || a.priority > animate.priority || a.priority === 1 / 0) return;
|
|
32518
32547
|
const fromProps = a.getStartProps();
|
|
32519
|
-
|
|
32520
|
-
|
|
32521
|
-
|
|
32548
|
+
let conflictKeys = null;
|
|
32549
|
+
for (let i = 0; i < propKeys.length; i++) {
|
|
32550
|
+
const key = propKeys[i];
|
|
32551
|
+
null != fromProps[key] && (null != conflictKeys ? conflictKeys : conflictKeys = []).push(key);
|
|
32552
|
+
}
|
|
32553
|
+
conflictKeys && a.preventAttrs(conflictKeys);
|
|
32522
32554
|
});
|
|
32523
32555
|
}
|
|
32556
|
+
removeKeysFromRecord(record, keys) {
|
|
32557
|
+
if (!record) return record;
|
|
32558
|
+
let hasBlockedKey = !1;
|
|
32559
|
+
for (const key in record) if (Object.prototype.hasOwnProperty.call(record, key) && includesKey$1(keys, key)) {
|
|
32560
|
+
hasBlockedKey = !0;
|
|
32561
|
+
break;
|
|
32562
|
+
}
|
|
32563
|
+
if (!hasBlockedKey) return record;
|
|
32564
|
+
const nextRecord = {};
|
|
32565
|
+
for (const key in record) Object.prototype.hasOwnProperty.call(record, key) && !includesKey$1(keys, key) && (nextRecord[key] = record[key]);
|
|
32566
|
+
return nextRecord;
|
|
32567
|
+
}
|
|
32524
32568
|
deleteSelfAttr(key) {
|
|
32569
|
+
this.deleteSelfAttrs([key]);
|
|
32570
|
+
}
|
|
32571
|
+
deleteSelfAttrs(keys) {
|
|
32525
32572
|
var _a;
|
|
32526
|
-
|
|
32527
|
-
|
|
32528
|
-
|
|
32573
|
+
if ((null == keys ? void 0 : keys.length) && (this.props = this.removeKeysFromRecord(this.props, keys), this.fromProps = this.removeKeysFromRecord(this.fromProps, keys), this.fromParsedProps = this.removeKeysFromRecord(this.fromParsedProps, keys), this.toParsedProps = this.removeKeysFromRecord(this.toParsedProps, keys), null === (_a = this.propKeys) || void 0 === _a ? void 0 : _a.length)) {
|
|
32574
|
+
const funcs = this.interpolateUpdateFunctions;
|
|
32575
|
+
let writeIndex = 0;
|
|
32576
|
+
for (let readIndex = 0; readIndex < this.propKeys.length; readIndex++) {
|
|
32577
|
+
const propKey = this.propKeys[readIndex];
|
|
32578
|
+
includesKey$1(keys, propKey) || (writeIndex !== readIndex && (this.propKeys[writeIndex] = propKey, funcs && (funcs[writeIndex] = funcs[readIndex])), writeIndex++);
|
|
32579
|
+
}
|
|
32580
|
+
this.propKeys.length = writeIndex, funcs && (funcs.length = writeIndex);
|
|
32581
|
+
}
|
|
32529
32582
|
}
|
|
32530
32583
|
trySyncStartProps() {
|
|
32531
32584
|
this.propKeys.forEach(key => {
|
|
@@ -32535,11 +32588,7 @@ class Step {
|
|
|
32535
32588
|
update(end, ratio, out) {
|
|
32536
32589
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
32537
32590
|
const easedRatio = this.easing(ratio);
|
|
32538
|
-
this.
|
|
32539
|
-
if (!this.animate.validAttr(this.propKeys[index])) return;
|
|
32540
|
-
const key = this.propKeys[index];
|
|
32541
|
-
func(key, this.fromProps[key], this.props[key], easedRatio, this, this.target);
|
|
32542
|
-
}), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
32591
|
+
this.runInterpolateUpdate(this.fromProps, this.props, easedRatio), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
32543
32592
|
}
|
|
32544
32593
|
onUpdate(end, ratio, out) {}
|
|
32545
32594
|
onEnd(cb) {
|
|
@@ -32743,19 +32792,34 @@ class FromTo extends ACustomAnimate {
|
|
|
32743
32792
|
}), this.applyTransientFromAttributes();
|
|
32744
32793
|
}
|
|
32745
32794
|
deleteSelfAttr(key) {
|
|
32746
|
-
|
|
32795
|
+
this.deleteSelfAttrs([key]);
|
|
32796
|
+
}
|
|
32797
|
+
deleteSelfAttrs(keys) {
|
|
32798
|
+
super.deleteSelfAttrs(keys), this.from = this.removeKeysFromRecord(this.from, keys);
|
|
32747
32799
|
}
|
|
32748
32800
|
update(end, ratio, out) {
|
|
32749
32801
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
32750
32802
|
const easedRatio = this.easing(ratio);
|
|
32751
|
-
this.
|
|
32752
|
-
if (!this.animate.validAttr(this.propKeys[index])) return;
|
|
32753
|
-
const key = this.propKeys[index];
|
|
32754
|
-
func(key, this.from[key], this.props[key], easedRatio, this, this.target);
|
|
32755
|
-
}), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
32803
|
+
this.runInterpolateUpdate(this.from, this.props, easedRatio), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
32756
32804
|
}
|
|
32757
32805
|
}
|
|
32758
32806
|
|
|
32807
|
+
function includesKey(keys, key) {
|
|
32808
|
+
for (let i = 0; i < keys.length; i++) if (keys[i] === key) return !0;
|
|
32809
|
+
return !1;
|
|
32810
|
+
}
|
|
32811
|
+
function removeKeysFromRecord(record, keys) {
|
|
32812
|
+
if (!record) return record;
|
|
32813
|
+
let hasBlockedKey = !1;
|
|
32814
|
+
for (const key in record) if (Object.prototype.hasOwnProperty.call(record, key) && includesKey(keys, key)) {
|
|
32815
|
+
hasBlockedKey = !0;
|
|
32816
|
+
break;
|
|
32817
|
+
}
|
|
32818
|
+
if (!hasBlockedKey) return record;
|
|
32819
|
+
const nextRecord = {};
|
|
32820
|
+
for (const key in record) Object.prototype.hasOwnProperty.call(record, key) && !includesKey(keys, key) && (nextRecord[key] = record[key]);
|
|
32821
|
+
return nextRecord;
|
|
32822
|
+
}
|
|
32759
32823
|
class Animate {
|
|
32760
32824
|
constructor(id = Generator.GenAutoIncrementId(), timeline = defaultTimeline, slience) {
|
|
32761
32825
|
this.id = id, this.status = AnimateStatus.INITIAL, this._timeline = timeline, timeline.addAnimate(this), this.slience = slience, this._startTime = 0, this._duration = 0, this._totalDuration = 0, this._loopCount = 0, this._currentLoop = 0, this._bounce = !1, this._firstStep = null, this._lastStep = null, this._startProps = {}, this._endProps = {}, this._preventAttrs = new Set(), this.currentTime = 0, this.interpolateUpdateFunction = null, this.priority = 0;
|
|
@@ -32843,12 +32907,14 @@ class Animate {
|
|
|
32843
32907
|
cb ? (this._onRemove || (this._onRemove = []), this._onRemove.push(cb)) : null === (_a = this._onRemove) || void 0 === _a || _a.forEach(cb => cb());
|
|
32844
32908
|
}
|
|
32845
32909
|
preventAttr(key) {
|
|
32846
|
-
this.
|
|
32847
|
-
let step = this._firstStep;
|
|
32848
|
-
for (; step;) step.deleteSelfAttr(key), step = step.next;
|
|
32910
|
+
this.preventAttrs([key]);
|
|
32849
32911
|
}
|
|
32850
32912
|
preventAttrs(keys) {
|
|
32851
|
-
|
|
32913
|
+
if (!(null == keys ? void 0 : keys.length)) return;
|
|
32914
|
+
for (let i = 0; i < keys.length; i++) this._preventAttrs.add(keys[i]);
|
|
32915
|
+
this._startProps = removeKeysFromRecord(this._startProps, keys), this._endProps = removeKeysFromRecord(this._endProps, keys);
|
|
32916
|
+
let step = this._firstStep;
|
|
32917
|
+
for (; step;) step.deleteSelfAttrs(keys), step = step.next;
|
|
32852
32918
|
}
|
|
32853
32919
|
validAttr(key) {
|
|
32854
32920
|
return !this._preventAttrs.has(key);
|
|
@@ -33848,8 +33914,11 @@ class ComponentAnimator {
|
|
|
33848
33914
|
}), this));
|
|
33849
33915
|
}
|
|
33850
33916
|
deleteSelfAttr(key) {
|
|
33917
|
+
this.deleteSelfAttrs([key]);
|
|
33918
|
+
}
|
|
33919
|
+
deleteSelfAttrs(keys) {
|
|
33851
33920
|
this.tasks.forEach(task => {
|
|
33852
|
-
task.animate && task.animate.forEach(animate => animate.
|
|
33921
|
+
task.animate && task.animate.forEach(animate => animate.preventAttrs(keys));
|
|
33853
33922
|
});
|
|
33854
33923
|
}
|
|
33855
33924
|
stop(type) {
|
|
@@ -34443,6 +34512,25 @@ class ClipDirectionAnimate extends ClipGraphicAnimate {
|
|
|
34443
34512
|
}
|
|
34444
34513
|
}
|
|
34445
34514
|
|
|
34515
|
+
function buildAnimationStaticCommitAttrs(target, keys, animate, fallbackAttrs) {
|
|
34516
|
+
var _a;
|
|
34517
|
+
const commitTarget = target,
|
|
34518
|
+
contextFinalAttrs = null === (_a = commitTarget.context) || void 0 === _a ? void 0 : _a.finalAttrs,
|
|
34519
|
+
finalAttribute = "function" == typeof commitTarget.getFinalAttribute ? commitTarget.getFinalAttribute() : commitTarget.finalAttribute;
|
|
34520
|
+
let commitAttrs = null;
|
|
34521
|
+
for (let i = 0; i < keys.length; i++) {
|
|
34522
|
+
const key = keys[i];
|
|
34523
|
+
animate && !animate.validAttr(key) || (contextFinalAttrs && Object.prototype.hasOwnProperty.call(contextFinalAttrs, key) ? (null != commitAttrs || (commitAttrs = {}), commitAttrs[key] = contextFinalAttrs[key]) : finalAttribute && Object.prototype.hasOwnProperty.call(finalAttribute, key) ? (null != commitAttrs || (commitAttrs = {}), commitAttrs[key] = finalAttribute[key]) : fallbackAttrs && Object.prototype.hasOwnProperty.call(fallbackAttrs, key) && (null != commitAttrs || (commitAttrs = {}), commitAttrs[key] = fallbackAttrs[key]));
|
|
34524
|
+
}
|
|
34525
|
+
return commitAttrs;
|
|
34526
|
+
}
|
|
34527
|
+
function commitAnimationStaticAttrs(target, keys, animate, fallbackAttrs) {
|
|
34528
|
+
const commitAttrs = buildAnimationStaticCommitAttrs(target, keys, animate, fallbackAttrs);
|
|
34529
|
+
return !!commitAttrs && (target.setAttributes(commitAttrs, !1, {
|
|
34530
|
+
type: AttributeUpdateType.ANIMATE_END
|
|
34531
|
+
}), !0);
|
|
34532
|
+
}
|
|
34533
|
+
|
|
34446
34534
|
class TagPointsUpdate extends ACustomAnimate {
|
|
34447
34535
|
constructor(from, to, duration, easing, params) {
|
|
34448
34536
|
var _a, _b;
|
|
@@ -34461,21 +34549,9 @@ class TagPointsUpdate extends ACustomAnimate {
|
|
|
34461
34549
|
}
|
|
34462
34550
|
onBind() {
|
|
34463
34551
|
super.onBind();
|
|
34464
|
-
const
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
} = this.target.attribute,
|
|
34468
|
-
{
|
|
34469
|
-
points: pointsTo,
|
|
34470
|
-
segments: segmentsTo
|
|
34471
|
-
} = this.target.getFinalAttribute();
|
|
34472
|
-
this.from = {
|
|
34473
|
-
points: points,
|
|
34474
|
-
segments: segments
|
|
34475
|
-
}, this.to = {
|
|
34476
|
-
points: pointsTo,
|
|
34477
|
-
segments: segmentsTo
|
|
34478
|
-
}, this.props = this.to;
|
|
34552
|
+
const currentAttribute = this.target.attribute,
|
|
34553
|
+
finalAttribute = this.target.getFinalAttribute();
|
|
34554
|
+
this.from = {}, this.to = {}, Object.prototype.hasOwnProperty.call(currentAttribute, "points") && (this.from.points = currentAttribute.points), Object.prototype.hasOwnProperty.call(currentAttribute, "segments") && (this.from.segments = currentAttribute.segments), finalAttribute && Object.prototype.hasOwnProperty.call(finalAttribute, "points") && (this.to.points = finalAttribute.points), finalAttribute && Object.prototype.hasOwnProperty.call(finalAttribute, "segments") && (this.to.segments = finalAttribute.segments), this.props = this.to;
|
|
34479
34555
|
const originFromPoints = this.getPoints(this.from),
|
|
34480
34556
|
originToPoints = this.getPoints(this.to, !0);
|
|
34481
34557
|
this.fromPoints = originFromPoints ? Array.isArray(originFromPoints) ? originFromPoints : [originFromPoints] : [], this.toPoints = originToPoints ? Array.isArray(originToPoints) ? originToPoints : [originToPoints] : [];
|
|
@@ -34511,31 +34587,42 @@ class TagPointsUpdate extends ACustomAnimate {
|
|
|
34511
34587
|
const lastClipRange = this.target.attribute.clipRange;
|
|
34512
34588
|
isValidNumber$1(lastClipRange * this.clipRange) && (this.clipRange *= lastClipRange);
|
|
34513
34589
|
}
|
|
34590
|
+
onEnd(cb) {
|
|
34591
|
+
cb ? super.onEnd(cb) : (this.to && commitAnimationStaticAttrs(this.target, Object.keys(this.to), this.animate, this.to), super.onEnd());
|
|
34592
|
+
}
|
|
34593
|
+
applyPointTransientAttributes(attributes) {
|
|
34594
|
+
const validAttrs = {};
|
|
34595
|
+
Object.keys(attributes).forEach(key => {
|
|
34596
|
+
this.animate.validAttr(key) && (validAttrs[key] = attributes[key]);
|
|
34597
|
+
}), Object.keys(validAttrs).length && (applyAnimationFrameAttributes(this.target, validAttrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag());
|
|
34598
|
+
}
|
|
34514
34599
|
onUpdate(end, ratio, out) {
|
|
34515
|
-
if (end)
|
|
34516
|
-
this.
|
|
34517
|
-
|
|
34518
|
-
|
|
34519
|
-
|
|
34520
|
-
|
|
34521
|
-
|
|
34522
|
-
|
|
34523
|
-
|
|
34524
|
-
|
|
34525
|
-
|
|
34526
|
-
|
|
34527
|
-
|
|
34528
|
-
|
|
34529
|
-
|
|
34530
|
-
|
|
34531
|
-
|
|
34532
|
-
|
|
34533
|
-
points: points
|
|
34600
|
+
if (end) this.applyPointTransientAttributes(this.to);else {
|
|
34601
|
+
if (this.points = this.points.map((point, index) => {
|
|
34602
|
+
const newPoint = pointInterpolation(this.interpolatePoints[index][0], this.interpolatePoints[index][1], ratio);
|
|
34603
|
+
return newPoint.context = point.context, newPoint;
|
|
34604
|
+
}), this.clipRange) {
|
|
34605
|
+
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));
|
|
34606
|
+
applyAnimationTransientAttributes(this.target, {
|
|
34607
|
+
clipRange: this.clipRange + (1 - this.clipRange) * ratio
|
|
34608
|
+
});
|
|
34609
|
+
}
|
|
34610
|
+
if (this.segmentsCache && this.to.segments) {
|
|
34611
|
+
let start = 0;
|
|
34612
|
+
const segments = this.to.segments.map((segment, index) => {
|
|
34613
|
+
const end = start + this.segmentsCache[index],
|
|
34614
|
+
points = this.points.slice(start, end);
|
|
34615
|
+
return start = end, Object.assign(Object.assign({}, segment), {
|
|
34616
|
+
points: points
|
|
34617
|
+
});
|
|
34534
34618
|
});
|
|
34619
|
+
this.applyPointTransientAttributes({
|
|
34620
|
+
segments: segments
|
|
34621
|
+
});
|
|
34622
|
+
} else this.applyPointTransientAttributes({
|
|
34623
|
+
points: this.points
|
|
34535
34624
|
});
|
|
34536
|
-
|
|
34537
|
-
} else this.target.attribute.points = this.points;
|
|
34538
|
-
this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34625
|
+
}
|
|
34539
34626
|
}
|
|
34540
34627
|
}
|
|
34541
34628
|
|
|
@@ -34556,10 +34643,10 @@ class CommonIn extends ACustomAnimate {
|
|
|
34556
34643
|
}), 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);
|
|
34557
34644
|
}
|
|
34558
34645
|
onUpdate(end, ratio, out) {
|
|
34559
|
-
const
|
|
34646
|
+
const attrs = {};
|
|
34560
34647
|
this.propKeys.forEach(key => {
|
|
34561
|
-
|
|
34562
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34648
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
34649
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34563
34650
|
}
|
|
34564
34651
|
}
|
|
34565
34652
|
class CommonOut extends ACustomAnimate {
|
|
@@ -34574,16 +34661,16 @@ class CommonOut extends ACustomAnimate {
|
|
|
34574
34661
|
this.keys.forEach(key => {
|
|
34575
34662
|
var _a;
|
|
34576
34663
|
to[key] = 0, from[key] = null !== (_a = attrs[key]) && void 0 !== _a ? _a : 1;
|
|
34577
|
-
}), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to,
|
|
34664
|
+
}), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to, applyAnimationTransientAttributes(this.target, from, AttributeUpdateType.ANIMATE_BIND), this.target.addUpdatePositionTag(), this.target.addUpdateBoundTag();
|
|
34578
34665
|
}
|
|
34579
34666
|
onEnd(cb) {
|
|
34580
34667
|
super.onEnd(cb);
|
|
34581
34668
|
}
|
|
34582
34669
|
onUpdate(end, ratio, out) {
|
|
34583
|
-
const
|
|
34670
|
+
const attrs = {};
|
|
34584
34671
|
this.propKeys.forEach(key => {
|
|
34585
|
-
|
|
34586
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34672
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
34673
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34587
34674
|
}
|
|
34588
34675
|
}
|
|
34589
34676
|
|
|
@@ -34626,8 +34713,7 @@ class RotateBySphereAnimate extends ACustomAnimate {
|
|
|
34626
34713
|
onEnd() {}
|
|
34627
34714
|
onUpdate(end, ratio, out) {
|
|
34628
34715
|
if (null == this.phi || null == this.theta) return;
|
|
34629
|
-
const
|
|
34630
|
-
{
|
|
34716
|
+
const {
|
|
34631
34717
|
center: center,
|
|
34632
34718
|
r: r,
|
|
34633
34719
|
cb: cb
|
|
@@ -34638,8 +34724,15 @@ class RotateBySphereAnimate extends ACustomAnimate {
|
|
|
34638
34724
|
x = r * Math.sin(phi) * Math.cos(theta) + center.x,
|
|
34639
34725
|
y = r * Math.cos(phi) + center.y,
|
|
34640
34726
|
z = r * Math.sin(phi) * Math.sin(theta) + center.z;
|
|
34641
|
-
|
|
34642
|
-
|
|
34727
|
+
let alpha = theta + pi / 2;
|
|
34728
|
+
for (; alpha > pi2;) alpha -= pi2;
|
|
34729
|
+
alpha = pi2 - alpha, applyAnimationFrameAttributes(this.target, {
|
|
34730
|
+
x: x,
|
|
34731
|
+
y: y,
|
|
34732
|
+
z: z,
|
|
34733
|
+
alpha: alpha,
|
|
34734
|
+
zIndex: -1e4 * z
|
|
34735
|
+
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag(), cb && cb(out);
|
|
34643
34736
|
}
|
|
34644
34737
|
}
|
|
34645
34738
|
|
|
@@ -34781,15 +34874,23 @@ class GrowAngleBase extends ACustomAnimate {
|
|
|
34781
34874
|
this.propKeys ? this.propKeys && this.propKeys.length > 1 ? this._updateFunction = this.updateAngle : "startAngle" === this.propKeys[0] ? this._updateFunction = this.updateStartAngle : "endAngle" === this.propKeys[0] ? this._updateFunction = this.updateEndAngle : this.valid = !1 : this.valid = !1;
|
|
34782
34875
|
}
|
|
34783
34876
|
deleteSelfAttr(key) {
|
|
34784
|
-
|
|
34785
|
-
|
|
34786
|
-
|
|
34877
|
+
this.deleteSelfAttrs([key]);
|
|
34878
|
+
}
|
|
34879
|
+
deleteSelfAttrs(keys) {
|
|
34880
|
+
var _a;
|
|
34881
|
+
super.deleteSelfAttrs(keys);
|
|
34882
|
+
const firstKey = null === (_a = this.propKeys) || void 0 === _a ? void 0 : _a[0];
|
|
34883
|
+
this.propKeys && this.propKeys.length > 1 ? this._updateFunction = this.updateAngle : this._updateFunction = "startAngle" === firstKey ? this.updateStartAngle : "endAngle" === firstKey ? this.updateEndAngle : null;
|
|
34787
34884
|
}
|
|
34788
34885
|
updateStartAngle(ratio) {
|
|
34789
|
-
this.target
|
|
34886
|
+
applyAnimationFrameAttributes(this.target, {
|
|
34887
|
+
startAngle: this.from.startAngle + (this.to.startAngle - this.from.startAngle) * ratio
|
|
34888
|
+
});
|
|
34790
34889
|
}
|
|
34791
34890
|
updateEndAngle(ratio) {
|
|
34792
|
-
this.target
|
|
34891
|
+
applyAnimationFrameAttributes(this.target, {
|
|
34892
|
+
endAngle: this.from.endAngle + (this.to.endAngle - this.from.endAngle) * ratio
|
|
34893
|
+
});
|
|
34793
34894
|
}
|
|
34794
34895
|
updateAngle(ratio) {
|
|
34795
34896
|
this.updateStartAngle(ratio), this.updateEndAngle(ratio);
|
|
@@ -34963,10 +35064,10 @@ class GrowCenterIn extends ACustomAnimate {
|
|
|
34963
35064
|
super.onEnd(cb);
|
|
34964
35065
|
}
|
|
34965
35066
|
onUpdate(end, ratio, out) {
|
|
34966
|
-
const
|
|
35067
|
+
const attrs = {};
|
|
34967
35068
|
this.propKeys.forEach(key => {
|
|
34968
|
-
|
|
34969
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35069
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35070
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34970
35071
|
}
|
|
34971
35072
|
}
|
|
34972
35073
|
class GrowCenterOut extends ACustomAnimate {
|
|
@@ -34985,10 +35086,10 @@ class GrowCenterOut extends ACustomAnimate {
|
|
|
34985
35086
|
super.onEnd(cb);
|
|
34986
35087
|
}
|
|
34987
35088
|
onUpdate(end, ratio, out) {
|
|
34988
|
-
const
|
|
35089
|
+
const attrs = {};
|
|
34989
35090
|
this.propKeys.forEach(key => {
|
|
34990
|
-
|
|
34991
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35091
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35092
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
34992
35093
|
}
|
|
34993
35094
|
}
|
|
34994
35095
|
|
|
@@ -35068,10 +35169,10 @@ class GrowHeightIn extends ACustomAnimate {
|
|
|
35068
35169
|
super.onEnd(cb);
|
|
35069
35170
|
}
|
|
35070
35171
|
onUpdate(end, ratio, out) {
|
|
35071
|
-
const
|
|
35172
|
+
const attrs = {};
|
|
35072
35173
|
this.propKeys.forEach(key => {
|
|
35073
|
-
|
|
35074
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35174
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35175
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35075
35176
|
}
|
|
35076
35177
|
}
|
|
35077
35178
|
function growHeightOutIndividual(graphic, options, animationParameters) {
|
|
@@ -35129,10 +35230,10 @@ class GrowHeightOut extends ACustomAnimate {
|
|
|
35129
35230
|
super.onEnd(cb);
|
|
35130
35231
|
}
|
|
35131
35232
|
onUpdate(end, ratio, out) {
|
|
35132
|
-
const
|
|
35233
|
+
const attrs = {};
|
|
35133
35234
|
this.propKeys.forEach(key => {
|
|
35134
|
-
|
|
35135
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35235
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35236
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35136
35237
|
}
|
|
35137
35238
|
}
|
|
35138
35239
|
|
|
@@ -35165,7 +35266,9 @@ class GworPointsBase extends ACustomAnimate {
|
|
|
35165
35266
|
var _a, _b;
|
|
35166
35267
|
const fromPoints = null === (_a = this.from) || void 0 === _a ? void 0 : _a.points,
|
|
35167
35268
|
toPoints = null === (_b = this.to) || void 0 === _b ? void 0 : _b.points;
|
|
35168
|
-
fromPoints && toPoints && (
|
|
35269
|
+
fromPoints && toPoints && (applyAnimationFrameAttributes(this.target, {
|
|
35270
|
+
points: fromPoints.map((point, index) => pointInterpolation(fromPoints[index], toPoints[index], ratio))
|
|
35271
|
+
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag());
|
|
35169
35272
|
}
|
|
35170
35273
|
}
|
|
35171
35274
|
class GrowPointsIn extends GworPointsBase {
|
|
@@ -35397,10 +35500,10 @@ class GrowPointsBase extends ACustomAnimate {
|
|
|
35397
35500
|
super(from, to, duration, easing, params);
|
|
35398
35501
|
}
|
|
35399
35502
|
onUpdate(end, ratio, out) {
|
|
35400
|
-
const
|
|
35503
|
+
const attrs = {};
|
|
35401
35504
|
this.propKeys.forEach(key => {
|
|
35402
|
-
|
|
35403
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35505
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35506
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35404
35507
|
}
|
|
35405
35508
|
}
|
|
35406
35509
|
class GrowRadiusIn extends GrowPointsBase {
|
|
@@ -35540,10 +35643,10 @@ class GrowWidthIn extends ACustomAnimate {
|
|
|
35540
35643
|
super.onEnd(cb);
|
|
35541
35644
|
}
|
|
35542
35645
|
onUpdate(end, ratio, out) {
|
|
35543
|
-
const
|
|
35646
|
+
const attrs = {};
|
|
35544
35647
|
this.propKeys.forEach(key => {
|
|
35545
|
-
|
|
35546
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35648
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35649
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35547
35650
|
}
|
|
35548
35651
|
}
|
|
35549
35652
|
class GrowWidthOut extends ACustomAnimate {
|
|
@@ -35563,10 +35666,10 @@ class GrowWidthOut extends ACustomAnimate {
|
|
|
35563
35666
|
super.onEnd(cb);
|
|
35564
35667
|
}
|
|
35565
35668
|
onUpdate(end, ratio, out) {
|
|
35566
|
-
const
|
|
35669
|
+
const attrs = {};
|
|
35567
35670
|
this.propKeys.forEach(key => {
|
|
35568
|
-
|
|
35569
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35671
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
35672
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
35570
35673
|
}
|
|
35571
35674
|
}
|
|
35572
35675
|
|
|
@@ -36339,18 +36442,26 @@ class ScaleIn extends ACustomAnimate {
|
|
|
36339
36442
|
super.onEnd(cb);
|
|
36340
36443
|
}
|
|
36341
36444
|
updateX(ratio) {
|
|
36342
|
-
this.
|
|
36445
|
+
this.applyScaleTransientAttrs(ratio, !0, !1);
|
|
36343
36446
|
}
|
|
36344
36447
|
updateY(ratio) {
|
|
36345
|
-
this.
|
|
36448
|
+
this.applyScaleTransientAttrs(ratio, !1, !0);
|
|
36346
36449
|
}
|
|
36347
36450
|
updateXY(ratio) {
|
|
36348
|
-
this.
|
|
36451
|
+
this.applyScaleTransientAttrs(ratio, !0, !0);
|
|
36452
|
+
}
|
|
36453
|
+
applyScaleTransientAttrs(ratio, scaleX, scaleY) {
|
|
36454
|
+
const attrs = {};
|
|
36455
|
+
scaleX && (attrs.scaleX = this.from.scaleX + (this.to.scaleX - this.from.scaleX) * ratio), scaleY && (attrs.scaleY = this.from.scaleY + (this.to.scaleY - this.from.scaleY) * ratio), applyAnimationFrameAttributes(this.target, attrs);
|
|
36349
36456
|
}
|
|
36350
36457
|
deleteSelfAttr(key) {
|
|
36351
|
-
|
|
36352
|
-
|
|
36353
|
-
|
|
36458
|
+
this.deleteSelfAttrs([key]);
|
|
36459
|
+
}
|
|
36460
|
+
deleteSelfAttrs(keys) {
|
|
36461
|
+
var _a;
|
|
36462
|
+
super.deleteSelfAttrs(keys);
|
|
36463
|
+
const firstKey = null === (_a = this.propKeys) || void 0 === _a ? void 0 : _a[0];
|
|
36464
|
+
this.propKeys && this.propKeys.length > 1 ? this._updateFunction = this.updateXY : this._updateFunction = "scaleX" === firstKey ? this.updateX : "scaleY" === firstKey ? this.updateY : null;
|
|
36354
36465
|
}
|
|
36355
36466
|
onUpdate(end, ratio, out) {
|
|
36356
36467
|
this._updateFunction && (this._updateFunction(ratio), this.target.addUpdatePositionTag(), this.target.addUpdateBoundTag());
|
|
@@ -36395,10 +36506,10 @@ class ScaleOut extends ACustomAnimate {
|
|
|
36395
36506
|
super.onEnd(cb);
|
|
36396
36507
|
}
|
|
36397
36508
|
onUpdate(end, ratio, out) {
|
|
36398
|
-
const
|
|
36509
|
+
const attrs = {};
|
|
36399
36510
|
this.propKeys.forEach(key => {
|
|
36400
|
-
|
|
36401
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateBoundTag();
|
|
36511
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36512
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateBoundTag();
|
|
36402
36513
|
}
|
|
36403
36514
|
}
|
|
36404
36515
|
|
|
@@ -36409,14 +36520,19 @@ class State extends ACustomAnimate {
|
|
|
36409
36520
|
update(end, ratio, out) {
|
|
36410
36521
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
36411
36522
|
const easedRatio = this.easing(ratio);
|
|
36412
|
-
this.
|
|
36413
|
-
if (!this.animate.validAttr(this.propKeys[index])) return;
|
|
36414
|
-
const key = this.propKeys[index];
|
|
36415
|
-
func(key, this.fromProps[key], this.props[key], easedRatio, this, this.target);
|
|
36416
|
-
}), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
36523
|
+
this.runInterpolateUpdate(this.fromProps, this.props, easedRatio), this.onUpdate(end, easedRatio, out), this.syncAttributeUpdate();
|
|
36417
36524
|
}
|
|
36418
36525
|
}
|
|
36419
36526
|
|
|
36527
|
+
function buildInterpolatedAttrs(keys, from, to, ratio) {
|
|
36528
|
+
const attrs = {};
|
|
36529
|
+
return keys.forEach(key => {
|
|
36530
|
+
attrs[key] = from[key] + (to[key] - from[key]) * ratio;
|
|
36531
|
+
}), attrs;
|
|
36532
|
+
}
|
|
36533
|
+
function applyStoryFrame(target, attrs) {
|
|
36534
|
+
applyAnimationFrameAttributes(target, attrs), target.addUpdatePositionTag(), target.addUpdateShapeAndBoundsTag();
|
|
36535
|
+
}
|
|
36420
36536
|
class SlideIn extends ACustomAnimate {
|
|
36421
36537
|
constructor(from, to, duration, easing, params) {
|
|
36422
36538
|
super(from, to, duration, easing, params);
|
|
@@ -36439,10 +36555,7 @@ class SlideIn extends ACustomAnimate {
|
|
|
36439
36555
|
"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);
|
|
36440
36556
|
}
|
|
36441
36557
|
onUpdate(end, ratio, out) {
|
|
36442
|
-
|
|
36443
|
-
this.propKeys.forEach(key => {
|
|
36444
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36445
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36558
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36446
36559
|
}
|
|
36447
36560
|
}
|
|
36448
36561
|
class GrowIn extends ACustomAnimate {
|
|
@@ -36467,10 +36580,7 @@ class GrowIn extends ACustomAnimate {
|
|
|
36467
36580
|
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);
|
|
36468
36581
|
}
|
|
36469
36582
|
onUpdate(end, ratio, out) {
|
|
36470
|
-
|
|
36471
|
-
this.propKeys.forEach(key => {
|
|
36472
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36473
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36583
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36474
36584
|
}
|
|
36475
36585
|
}
|
|
36476
36586
|
class SpinIn extends ACustomAnimate {
|
|
@@ -36501,10 +36611,7 @@ class SpinIn extends ACustomAnimate {
|
|
|
36501
36611
|
this.propKeys = ["opacity", "baseOpacity", "angle", "scaleX", "scaleY"], this.from = from, this.to = to, this.props = to, applyAppearStartAttributes(this.target, from);
|
|
36502
36612
|
}
|
|
36503
36613
|
onUpdate(end, ratio, out) {
|
|
36504
|
-
|
|
36505
|
-
this.propKeys.forEach(key => {
|
|
36506
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36507
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36614
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36508
36615
|
}
|
|
36509
36616
|
}
|
|
36510
36617
|
class StrokeIn extends ACustomAnimate {
|
|
@@ -36549,8 +36656,10 @@ class StrokeIn extends ACustomAnimate {
|
|
|
36549
36656
|
}
|
|
36550
36657
|
onUpdate(end, ratio, out) {
|
|
36551
36658
|
var _a;
|
|
36552
|
-
const
|
|
36553
|
-
|
|
36659
|
+
const attrs = {
|
|
36660
|
+
lineDashOffset: this.from.lineDashOffset + (this.to.lineDashOffset - this.from.lineDashOffset) * ratio
|
|
36661
|
+
};
|
|
36662
|
+
(null === (_a = this.params) || void 0 === _a ? void 0 : _a.showFill) && (attrs.fillOpacity = this.from.fillOpacity + (this.to.fillOpacity - this.from.fillOpacity) * ratio), applyAnimationTransientAttributes(this.target, attrs);
|
|
36554
36663
|
}
|
|
36555
36664
|
onEnd() {
|
|
36556
36665
|
var _a;
|
|
@@ -36601,8 +36710,10 @@ class StrokeOut extends ACustomAnimate {
|
|
|
36601
36710
|
}
|
|
36602
36711
|
onUpdate(end, ratio, out) {
|
|
36603
36712
|
var _a;
|
|
36604
|
-
const
|
|
36605
|
-
|
|
36713
|
+
const attrs = {
|
|
36714
|
+
lineDashOffset: this.from.lineDashOffset + (this.to.lineDashOffset - this.from.lineDashOffset) * ratio
|
|
36715
|
+
};
|
|
36716
|
+
(null === (_a = this.params) || void 0 === _a ? void 0 : _a.showFill) && (attrs.fillOpacity = this.from.fillOpacity + (this.to.fillOpacity - this.from.fillOpacity) * ratio), applyAnimationTransientAttributes(this.target, attrs);
|
|
36606
36717
|
}
|
|
36607
36718
|
}
|
|
36608
36719
|
class MoveScaleIn extends ACustomAnimate {
|
|
@@ -36699,10 +36810,7 @@ class SlideOut extends ACustomAnimate {
|
|
|
36699
36810
|
"top" === direction ? (from.y = null !== (_g = attrs.y) && void 0 !== _g ? _g : 0, to.y = (null !== (_h = attrs.y) && void 0 !== _h ? _h : 0) - distance, this.propKeys = ["opacity", "baseOpacity", "y"]) : "bottom" === direction ? (from.y = null !== (_j = attrs.y) && void 0 !== _j ? _j : 0, to.y = (null !== (_k = attrs.y) && void 0 !== _k ? _k : 0) + distance, this.propKeys = ["opacity", "baseOpacity", "y"]) : "left" === direction ? (from.x = null !== (_l = attrs.x) && void 0 !== _l ? _l : 0, to.x = (null !== (_m = attrs.x) && void 0 !== _m ? _m : 0) - distance, this.propKeys = ["opacity", "baseOpacity", "x"]) : (from.x = null !== (_o = attrs.x) && void 0 !== _o ? _o : 0, to.x = (null !== (_p = attrs.x) && void 0 !== _p ? _p : 0) + distance, this.propKeys = ["opacity", "baseOpacity", "x"]), this.from = from, this.to = to, this.props = to;
|
|
36700
36811
|
}
|
|
36701
36812
|
onUpdate(end, ratio, out) {
|
|
36702
|
-
|
|
36703
|
-
this.propKeys.forEach(key => {
|
|
36704
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36705
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36813
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36706
36814
|
}
|
|
36707
36815
|
}
|
|
36708
36816
|
class GrowOut extends ACustomAnimate {
|
|
@@ -36727,10 +36835,7 @@ class GrowOut extends ACustomAnimate {
|
|
|
36727
36835
|
this.propKeys = ["opacity", "baseOpacity"], "x" !== direction && "xy" !== direction || (from.scaleX = null !== (_h = attrs.scaleX) && void 0 !== _h ? _h : 1, to.scaleX = toScale, this.propKeys.push("scaleX")), "y" !== direction && "xy" !== direction || (from.scaleY = null !== (_j = attrs.scaleY) && void 0 !== _j ? _j : 1, to.scaleY = toScale, this.propKeys.push("scaleY")), this.from = from, this.to = to, this.props = to;
|
|
36728
36836
|
}
|
|
36729
36837
|
onUpdate(end, ratio, out) {
|
|
36730
|
-
|
|
36731
|
-
this.propKeys.forEach(key => {
|
|
36732
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36733
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36838
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36734
36839
|
}
|
|
36735
36840
|
}
|
|
36736
36841
|
class SpinOut extends ACustomAnimate {
|
|
@@ -36761,10 +36866,7 @@ class SpinOut extends ACustomAnimate {
|
|
|
36761
36866
|
this.propKeys = ["opacity", "baseOpacity", "angle", "scaleX", "scaleY"], this.from = from, this.to = to, this.props = to;
|
|
36762
36867
|
}
|
|
36763
36868
|
onUpdate(end, ratio, out) {
|
|
36764
|
-
|
|
36765
|
-
this.propKeys.forEach(key => {
|
|
36766
|
-
attribute[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
36767
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
36869
|
+
applyStoryFrame(this.target, buildInterpolatedAttrs(this.propKeys, this.from, this.to, ratio));
|
|
36768
36870
|
}
|
|
36769
36871
|
}
|
|
36770
36872
|
class MoveScaleOut extends ACustomAnimate {
|
|
@@ -36849,20 +36951,20 @@ class PulseAnimate extends ACustomAnimate {
|
|
|
36849
36951
|
onUpdate(end, ratio, out) {
|
|
36850
36952
|
const angle = ratio * Math.PI * this.pulseCount,
|
|
36851
36953
|
pulseValue = Math.abs(Math.sin(angle)),
|
|
36852
|
-
|
|
36954
|
+
attrs = {};
|
|
36853
36955
|
if (this.useOpacity) {
|
|
36854
36956
|
const opacity = 1 + (this.pulseOpacity - 1) * pulseValue;
|
|
36855
|
-
this.useStroke && (
|
|
36957
|
+
this.useStroke && (attrs.strokeOpacity = (this.originalAttributes.strokeOpacity || 1) * opacity), this.useFill && (attrs.fillOpacity = (this.originalAttributes.fillOpacity || 1) * opacity);
|
|
36856
36958
|
}
|
|
36857
36959
|
if (this.useScale) {
|
|
36858
36960
|
const scale = 1 + (this.pulseScale - 1) * pulseValue;
|
|
36859
|
-
|
|
36961
|
+
attrs.scaleX = (this.originalAttributes.scaleX || 1) * scale, attrs.scaleY = (this.originalAttributes.scaleY || 1) * scale;
|
|
36860
36962
|
}
|
|
36861
|
-
this.useColor && this.pulseColor && this.applyColorPulse(
|
|
36963
|
+
this.useColor && this.pulseColor && this.applyColorPulse(attrs, pulseValue), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdateShapeAndBoundsTag(), this.target.addUpdatePositionTag();
|
|
36862
36964
|
}
|
|
36863
|
-
applyColorPulse(
|
|
36965
|
+
applyColorPulse(attrs, pulseValue) {
|
|
36864
36966
|
const colorRatio = this.pulseColorIntensity * pulseValue;
|
|
36865
|
-
this.useFill && this.originalFill && this.pulseColor && (
|
|
36967
|
+
this.useFill && this.originalFill && this.pulseColor && (attrs.fill = interpolateColor(this.originalFill, this.pulseColor, colorRatio, !0)), this.useStroke && this.originalStroke && this.pulseColor && (attrs.stroke = interpolateColor(this.originalStroke, this.pulseColor, colorRatio, !0));
|
|
36866
36968
|
}
|
|
36867
36969
|
onEnd() {
|
|
36868
36970
|
super.onEnd(), this.target.setAttributes(this.originalAttributes);
|
|
@@ -36877,12 +36979,22 @@ const clipPathGeometryAttrs = {
|
|
|
36877
36979
|
width: !0,
|
|
36878
36980
|
height: !0
|
|
36879
36981
|
};
|
|
36982
|
+
function includesChannel(channels, key) {
|
|
36983
|
+
for (let i = 0; i < channels.length; i++) if (channels[i] === key) return !0;
|
|
36984
|
+
return !1;
|
|
36985
|
+
}
|
|
36986
|
+
function filterExcludedChannels(diffAttrs, excludeChannels) {
|
|
36987
|
+
if (!(null == excludeChannels ? void 0 : excludeChannels.length)) return diffAttrs;
|
|
36988
|
+
const nextAttrs = {};
|
|
36989
|
+
for (const key in diffAttrs) Object.prototype.hasOwnProperty.call(diffAttrs, key) && !includesChannel(excludeChannels, key) && (nextAttrs[key] = diffAttrs[key]);
|
|
36990
|
+
return nextAttrs;
|
|
36991
|
+
}
|
|
36880
36992
|
class Update extends ACustomAnimate {
|
|
36881
36993
|
constructor(from, to, duration, easing, params) {
|
|
36882
36994
|
super(from, to, duration, easing, params), this.clipPathSyncKeys = null, this.clipPathSyncParent = null, this.clipPathSyncChildIndex = -1, this.clipPathSyncDisabled = !1;
|
|
36883
36995
|
}
|
|
36884
36996
|
onBind() {
|
|
36885
|
-
var _a
|
|
36997
|
+
var _a;
|
|
36886
36998
|
super.onBind();
|
|
36887
36999
|
let {
|
|
36888
37000
|
diffAttrs = {}
|
|
@@ -36890,39 +37002,19 @@ class Update extends ACustomAnimate {
|
|
|
36890
37002
|
const {
|
|
36891
37003
|
options: options
|
|
36892
37004
|
} = this.params;
|
|
36893
|
-
diffAttrs =
|
|
36894
|
-
delete diffAttrs[channel];
|
|
36895
|
-
}), this.props = diffAttrs, this.clipPathSyncKeys = Object.keys(diffAttrs).filter(key => clipPathGeometryAttrs[key]), this.clipPathSyncDisabled = !this.clipPathSyncKeys.length, this.syncParentClipPathToTarget();
|
|
36896
|
-
}
|
|
36897
|
-
getStaticCommitAttrs() {
|
|
36898
|
-
var _a;
|
|
36899
|
-
if (!this.props) return null;
|
|
36900
|
-
const target = this.target,
|
|
36901
|
-
contextFinalAttrs = null === (_a = target.context) || void 0 === _a ? void 0 : _a.finalAttrs,
|
|
36902
|
-
finalAttribute = "function" == typeof target.getFinalAttribute ? target.getFinalAttribute() : target.finalAttribute,
|
|
36903
|
-
commitAttrs = {};
|
|
36904
|
-
return Object.keys(this.props).forEach(key => {
|
|
36905
|
-
contextFinalAttrs && Object.prototype.hasOwnProperty.call(contextFinalAttrs, key) ? commitAttrs[key] = contextFinalAttrs[key] : finalAttribute && Object.prototype.hasOwnProperty.call(finalAttribute, key) ? commitAttrs[key] = finalAttribute[key] : this.animate.validAttr(key) && (commitAttrs[key] = this.props[key]);
|
|
36906
|
-
}), Object.keys(commitAttrs).length ? commitAttrs : null;
|
|
37005
|
+
diffAttrs = filterExcludedChannels(diffAttrs, null == options ? void 0 : options.excludeChannels), this.props = diffAttrs, this.clipPathSyncKeys = Object.keys(diffAttrs).filter(key => clipPathGeometryAttrs[key]), this.clipPathSyncDisabled = !this.clipPathSyncKeys.length, this.syncParentClipPathToTarget();
|
|
36907
37006
|
}
|
|
36908
37007
|
onEnd(cb) {
|
|
36909
|
-
|
|
36910
|
-
|
|
36911
|
-
commitAttrs && this.target.setAttributes(commitAttrs, !1, {
|
|
36912
|
-
type: AttributeUpdateType.ANIMATE_END
|
|
36913
|
-
}), this.syncParentClipPathToTarget(), super.onEnd();
|
|
37008
|
+
var _a;
|
|
37009
|
+
cb ? super.onEnd(cb) : (this.props && commitAnimationStaticAttrs(this.target, null !== (_a = this.propKeys) && void 0 !== _a ? _a : Object.keys(this.props), this.animate, this.props), this.syncParentClipPathToTarget(), super.onEnd());
|
|
36914
37010
|
}
|
|
36915
37011
|
update(end, ratio, out) {
|
|
36916
37012
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
36917
37013
|
const easedRatio = this.easing(ratio);
|
|
36918
|
-
this.
|
|
36919
|
-
if (!this.animate.validAttr(this.propKeys[index])) return;
|
|
36920
|
-
const key = this.propKeys[index];
|
|
36921
|
-
func(key, this.fromProps[key], this.props[key], easedRatio, this, this.target);
|
|
36922
|
-
}), this.syncParentClipPathToTarget(), this.onUpdate(end, easedRatio, out);
|
|
37014
|
+
this.runInterpolateUpdate(this.fromProps, this.props, easedRatio), this.syncParentClipPathToTarget(), this.onUpdate(end, easedRatio, out);
|
|
36923
37015
|
}
|
|
36924
37016
|
syncParentClipPathToTarget() {
|
|
36925
|
-
var _a, _b;
|
|
37017
|
+
var _a, _b, _c, _d;
|
|
36926
37018
|
if (this.clipPathSyncDisabled) return;
|
|
36927
37019
|
const target = this.target,
|
|
36928
37020
|
parent = target.parent,
|
|
@@ -36931,9 +37023,9 @@ class Update extends ACustomAnimate {
|
|
|
36931
37023
|
const childIndex = this.getClipPathSyncChildIndex(parent);
|
|
36932
37024
|
if (childIndex < 0 || childIndex >= path.length) return;
|
|
36933
37025
|
const clipGraphic = path[childIndex];
|
|
36934
|
-
if (!(null == clipGraphic ? void 0 : clipGraphic.attribute) || clipGraphic.type !== target.type || !this.isClipPathStaticTarget(clipGraphic)) return
|
|
37026
|
+
if (!(null == clipGraphic ? void 0 : clipGraphic.attribute) || clipGraphic.type !== target.type || !this.isClipPathStaticTarget(clipGraphic)) return;
|
|
36935
37027
|
const syncAttrs = this.buildClipPathTransientAttrs(clipGraphic);
|
|
36936
|
-
syncAttrs &&
|
|
37028
|
+
syncAttrs && (applyAnimationFrameAttributes(clipGraphic, syncAttrs), null === (_c = clipGraphic.addUpdatePositionTag) || void 0 === _c || _c.call(clipGraphic), null === (_d = clipGraphic.addUpdateShapeAndBoundsTag) || void 0 === _d || _d.call(clipGraphic));
|
|
36937
37029
|
}
|
|
36938
37030
|
getClipPathSyncChildIndex(parent) {
|
|
36939
37031
|
var _a;
|
|
@@ -37077,10 +37169,10 @@ class MoveBase extends ACustomAnimate {
|
|
|
37077
37169
|
super(from, to, duration, easing, params);
|
|
37078
37170
|
}
|
|
37079
37171
|
onUpdate(end, ratio, out) {
|
|
37080
|
-
const
|
|
37172
|
+
const attrs = {};
|
|
37081
37173
|
this.propKeys.forEach(key => {
|
|
37082
|
-
|
|
37083
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
37174
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
37175
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
37084
37176
|
}
|
|
37085
37177
|
}
|
|
37086
37178
|
class MoveIn extends MoveBase {
|
|
@@ -37136,10 +37228,10 @@ class RotateBase extends ACustomAnimate {
|
|
|
37136
37228
|
super(from, to, duration, easing, params);
|
|
37137
37229
|
}
|
|
37138
37230
|
onUpdate(end, ratio, out) {
|
|
37139
|
-
const
|
|
37231
|
+
const attrs = {};
|
|
37140
37232
|
this.propKeys.forEach(key => {
|
|
37141
|
-
|
|
37142
|
-
}), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
37233
|
+
attrs[key] = this.from[key] + (this.to[key] - this.from[key]) * ratio;
|
|
37234
|
+
}), applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
37143
37235
|
}
|
|
37144
37236
|
}
|
|
37145
37237
|
class RotateIn extends RotateBase {
|
|
@@ -37182,7 +37274,7 @@ class MotionPath extends ACustomAnimate {
|
|
|
37182
37274
|
pos: pos,
|
|
37183
37275
|
angle: angle
|
|
37184
37276
|
} = this.path.getAttrAt(at);
|
|
37185
|
-
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) :
|
|
37277
|
+
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) : (applyAnimationFrameAttributes(this.target, attrs), this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag());
|
|
37186
37278
|
}
|
|
37187
37279
|
}
|
|
37188
37280
|
|
|
@@ -40935,11 +41027,7 @@ function commitUpdateAnimationTarget(graphic, targetAttrs, startAttrs) {
|
|
|
40935
41027
|
if (!graphic || !targetAttrs) return;
|
|
40936
41028
|
const committedTargetAttrs = cloneDeep(targetAttrs),
|
|
40937
41029
|
transientStartAttrs = cloneDeep(null != startAttrs ? startAttrs : graphic.attribute);
|
|
40938
|
-
graphic.setAttributes(committedTargetAttrs)
|
|
40939
|
-
const baseAttributes = graphic.baseAttributes;
|
|
40940
|
-
baseAttributes && "object" == typeof baseAttributes && Object.keys(committedTargetAttrs).forEach(key => {
|
|
40941
|
-
baseAttributes[key] = cloneDeep(committedTargetAttrs[key]);
|
|
40942
|
-
}), null === (_b = (_a = graphic).setFinalAttributes) || void 0 === _b || _b.call(_a, committedTargetAttrs), null === (_d = (_c = graphic).setAttributesAndPreventAnimate) || void 0 === _d || _d.call(_c, transientStartAttrs, !1, {
|
|
41030
|
+
graphic.setAttributes(committedTargetAttrs), null === (_b = (_a = graphic).setFinalAttributes) || void 0 === _b || _b.call(_a, committedTargetAttrs), null === (_d = (_c = graphic).setAttributesAndPreventAnimate) || void 0 === _d || _d.call(_c, transientStartAttrs, !1, {
|
|
40943
41031
|
type: AttributeUpdateType.ANIMATE_BIND
|
|
40944
41032
|
});
|
|
40945
41033
|
}
|
|
@@ -41679,7 +41767,10 @@ class AxisUpdate extends AComponentAnimate {
|
|
|
41679
41767
|
}), this.completeBind(animator);
|
|
41680
41768
|
}
|
|
41681
41769
|
deleteSelfAttr(key) {
|
|
41682
|
-
|
|
41770
|
+
this.deleteSelfAttrs([key]);
|
|
41771
|
+
}
|
|
41772
|
+
deleteSelfAttrs(keys) {
|
|
41773
|
+
super.deleteSelfAttrs(keys), this._animator.deleteSelfAttrs(keys);
|
|
41683
41774
|
}
|
|
41684
41775
|
tryPreventConflict() {}
|
|
41685
41776
|
}
|
|
@@ -54537,6 +54628,6 @@ function createStage(params) {
|
|
|
54537
54628
|
return resolveLegacyApp().createStage(params);
|
|
54538
54629
|
}
|
|
54539
54630
|
|
|
54540
|
-
const version = "1.1.0-alpha.
|
|
54631
|
+
const version = "1.1.0-alpha.12";
|
|
54541
54632
|
|
|
54542
54633
|
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 };
|