@visactor/vrender 1.0.7 → 1.0.8-alpha.2
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 +45 -78
- package/dist/index.js +44 -78
- 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 +4 -4
package/dist/index.js
CHANGED
|
@@ -9197,9 +9197,9 @@
|
|
|
9197
9197
|
setWidthHeightWithoutTransform(aabbBounds) {
|
|
9198
9198
|
this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
9199
9199
|
}
|
|
9200
|
-
setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context
|
|
9200
|
+
setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context) {
|
|
9201
9201
|
this.setAttributes(params, forceUpdateTag, context), this.animates && this.animates.forEach(animate => {
|
|
9202
|
-
|
|
9202
|
+
Object.keys(params).forEach(key => {
|
|
9203
9203
|
animate.preventAttr(key);
|
|
9204
9204
|
});
|
|
9205
9205
|
});
|
|
@@ -9370,7 +9370,7 @@
|
|
|
9370
9370
|
});
|
|
9371
9371
|
} else this.stopStateAnimates(), this.setAttributesAndPreventAnimate(attrs, !1, {
|
|
9372
9372
|
type: exports.AttributeUpdateType.STATE
|
|
9373
|
-
})
|
|
9373
|
+
});
|
|
9374
9374
|
this._emitCustomEvent("afterStateUpdate", {
|
|
9375
9375
|
type: exports.AttributeUpdateType.STATE
|
|
9376
9376
|
});
|
|
@@ -9763,7 +9763,7 @@
|
|
|
9763
9763
|
}
|
|
9764
9764
|
removeChild(child) {
|
|
9765
9765
|
const data = super.removeChild(child);
|
|
9766
|
-
return this.getGraphicService().onRemove(child),
|
|
9766
|
+
return child.stage = null, this.getGraphicService().onRemove(child), this.addUpdateBoundTag(), data;
|
|
9767
9767
|
}
|
|
9768
9768
|
removeAllChild(deep = !1) {
|
|
9769
9769
|
this.forEachChildren(child => {
|
|
@@ -17620,7 +17620,7 @@
|
|
|
17620
17620
|
return this._cursor;
|
|
17621
17621
|
}
|
|
17622
17622
|
eventPointTransform(e) {
|
|
17623
|
-
const point = this.global.mapToCanvasPoint(e, this.window);
|
|
17623
|
+
const point = this.global.mapToCanvasPoint(e, this.window.getContext().canvas.nativeCanvas);
|
|
17624
17624
|
return this.stage.window.pointTransform(point.x, point.y);
|
|
17625
17625
|
}
|
|
17626
17626
|
pauseTriggerEvent() {
|
|
@@ -30504,7 +30504,7 @@
|
|
|
30504
30504
|
return this._animateCount;
|
|
30505
30505
|
}
|
|
30506
30506
|
constructor() {
|
|
30507
|
-
super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this.
|
|
30507
|
+
super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
|
|
30508
30508
|
}
|
|
30509
30509
|
isRunning() {
|
|
30510
30510
|
return !this.paused && this._animateCount > 0;
|
|
@@ -30533,11 +30533,10 @@
|
|
|
30533
30533
|
}
|
|
30534
30534
|
tick(delta) {
|
|
30535
30535
|
if (this.paused) return;
|
|
30536
|
-
this._animationEndFlag && (this._animationEndFlag = !1, this.emit("animationStart"));
|
|
30537
30536
|
const scaledDelta = delta * this._playSpeed;
|
|
30538
30537
|
this._currentTime += scaledDelta, this.forEachAccessAnimate((animate, i) => {
|
|
30539
30538
|
animate.status === exports.AnimateStatus.END ? this.removeAnimate(animate, !0) : animate.status !== exports.AnimateStatus.RUNNING && animate.status !== exports.AnimateStatus.INITIAL || animate.advance(scaledDelta);
|
|
30540
|
-
}), 0 === this._animateCount &&
|
|
30539
|
+
}), 0 === this._animateCount && this.emit("animationEnd");
|
|
30541
30540
|
}
|
|
30542
30541
|
clear() {
|
|
30543
30542
|
this.forEachAccessAnimate(animate => {
|
|
@@ -30601,9 +30600,7 @@
|
|
|
30601
30600
|
return this._timeline;
|
|
30602
30601
|
}
|
|
30603
30602
|
bind(target) {
|
|
30604
|
-
return this.target = target, this.target.
|
|
30605
|
-
this.stop(), this.target.animates.delete(this.id);
|
|
30606
|
-
}), this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
|
|
30603
|
+
return this.target = target, this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
|
|
30607
30604
|
}
|
|
30608
30605
|
to(props, duration = 300, easing = "linear") {
|
|
30609
30606
|
const step = new Step(exports.AnimateStepType.to, props, duration, easing);
|
|
@@ -30817,8 +30814,8 @@
|
|
|
30817
30814
|
}
|
|
30818
30815
|
init() {
|
|
30819
30816
|
this.interval = 16, this.status = exports.STATUS.INITIAL, application.global.hooks.onSetEnv.tap("graph-ticker", () => {
|
|
30820
|
-
this.initHandler(
|
|
30821
|
-
}), application.global.env && this.initHandler(
|
|
30817
|
+
this.initHandler();
|
|
30818
|
+
}), application.global.env && this.initHandler();
|
|
30822
30819
|
}
|
|
30823
30820
|
addTimeline(timeline) {
|
|
30824
30821
|
this.timelines.push(timeline);
|
|
@@ -30829,11 +30826,10 @@
|
|
|
30829
30826
|
getTimelines() {
|
|
30830
30827
|
return this.timelines;
|
|
30831
30828
|
}
|
|
30832
|
-
initHandler(
|
|
30833
|
-
this.setupTickHandler(
|
|
30829
|
+
initHandler() {
|
|
30830
|
+
this.setupTickHandler();
|
|
30834
30831
|
}
|
|
30835
|
-
setupTickHandler(
|
|
30836
|
-
if (!force && this.tickerHandler) return !0;
|
|
30832
|
+
setupTickHandler() {
|
|
30837
30833
|
const handler = new RAFTickHandler();
|
|
30838
30834
|
return this.tickerHandler && this.tickerHandler.release(), this.tickerHandler = handler, !0;
|
|
30839
30835
|
}
|
|
@@ -30884,7 +30880,7 @@
|
|
|
30884
30880
|
return this.status = exports.STATUS.RUNNING, this.tickerHandler.tick(0, this.handleTick), !0;
|
|
30885
30881
|
}
|
|
30886
30882
|
stop() {
|
|
30887
|
-
this.status = exports.STATUS.INITIAL, this.setupTickHandler(
|
|
30883
|
+
this.status = exports.STATUS.INITIAL, this.setupTickHandler(), this.lastFrameTime = -1;
|
|
30888
30884
|
}
|
|
30889
30885
|
trySyncTickStatus() {
|
|
30890
30886
|
this.status === exports.STATUS.INITIAL && this.timelines.some(timeline => timeline.isRunning()) ? this.start() : this.status === exports.STATUS.RUNNING && this.timelines.every(timeline => !timeline.isRunning()) && this.stop();
|
|
@@ -30894,8 +30890,7 @@
|
|
|
30894
30890
|
this.stop(), this.timelines = [], null === (_a = this.tickerHandler) || void 0 === _a || _a.release(), this.tickerHandler = null, this.lastFrameTime = -1;
|
|
30895
30891
|
}
|
|
30896
30892
|
checkSkip(delta) {
|
|
30897
|
-
|
|
30898
|
-
if ("performance" === (null === (_c = null === (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.params) || void 0 === _b ? void 0 : _b.optimize) || void 0 === _c ? void 0 : _c.tickRenderMode)) return !1;
|
|
30893
|
+
if ("performance" === this.stage.params.optimize.tickRenderMode) return !1;
|
|
30899
30894
|
return delta < this.interval + 2 * (Math.random() - .5) * this._jitter;
|
|
30900
30895
|
}
|
|
30901
30896
|
}
|
|
@@ -31198,11 +31193,10 @@
|
|
|
31198
31193
|
_handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
|
|
31199
31194
|
var _a, _b, _c, _d;
|
|
31200
31195
|
if (custom && customType) {
|
|
31201
|
-
const customParams =
|
|
31196
|
+
const customParams = this.resolveValue(customParameters, graphic, {
|
|
31202
31197
|
width: graphic.stage.width,
|
|
31203
|
-
height: graphic.stage.height
|
|
31204
|
-
|
|
31205
|
-
}, this.resolveValue(customParameters, graphic)),
|
|
31198
|
+
height: graphic.stage.height
|
|
31199
|
+
}),
|
|
31206
31200
|
objOptions = isFunction$1(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
|
|
31207
31201
|
customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
|
|
31208
31202
|
} else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
|
|
@@ -31420,11 +31414,6 @@
|
|
|
31420
31414
|
state.executor.stop();
|
|
31421
31415
|
}), this.stateList = null;
|
|
31422
31416
|
}
|
|
31423
|
-
reApplyState(state) {
|
|
31424
|
-
var _a;
|
|
31425
|
-
const stateInfo = null === (_a = this.stateList) || void 0 === _a ? void 0 : _a.find(stateInfo => stateInfo.state === state);
|
|
31426
|
-
stateInfo && (stateInfo.executor.stop(), stateInfo.executor.execute(stateInfo.animationConfig));
|
|
31427
|
-
}
|
|
31428
31417
|
}
|
|
31429
31418
|
|
|
31430
31419
|
class GraphicStateExtension {
|
|
@@ -31455,19 +31444,12 @@
|
|
|
31455
31444
|
applyUnhighlightState(animationConfig, callback) {
|
|
31456
31445
|
return this._getAnimationStateManager(this).applyUnhighlightState(animationConfig, callback), this;
|
|
31457
31446
|
}
|
|
31458
|
-
stopAnimationState(state, type
|
|
31459
|
-
return this._getAnimationStateManager(this).stopState(state, type),
|
|
31460
|
-
child.stopAnimationState(state, type, deep);
|
|
31461
|
-
}), this;
|
|
31447
|
+
stopAnimationState(state, type) {
|
|
31448
|
+
return this._getAnimationStateManager(this).stopState(state, type), this;
|
|
31462
31449
|
}
|
|
31463
31450
|
clearAnimationStates() {
|
|
31464
31451
|
return this._getAnimationStateManager(this).clearState(), this;
|
|
31465
31452
|
}
|
|
31466
|
-
reApplyAnimationState(state, deep = !1) {
|
|
31467
|
-
return this._getAnimationStateManager(this).reApplyState(state), deep && this.isContainer && this.forEachChildren(child => {
|
|
31468
|
-
child.reApplyAnimationState(state, deep);
|
|
31469
|
-
}), this;
|
|
31470
|
-
}
|
|
31471
31453
|
static extend(graphic) {
|
|
31472
31454
|
return new GraphicStateExtension()._getAnimationStateManager(graphic), graphic;
|
|
31473
31455
|
}
|
|
@@ -31479,6 +31461,7 @@
|
|
|
31479
31461
|
}
|
|
31480
31462
|
animate(params) {
|
|
31481
31463
|
var _a, _b, _c;
|
|
31464
|
+
this.animates || (this.animates = new Map());
|
|
31482
31465
|
const animate = new Animate(null == params ? void 0 : params.id, null !== (_b = null !== (_a = null == params ? void 0 : params.timeline) && void 0 !== _a ? _a : this.stage && this.stage.getTimeline()) && void 0 !== _b ? _b : defaultTimeline, null == params ? void 0 : params.slience);
|
|
31483
31466
|
if (animate.bind(this), params) {
|
|
31484
31467
|
const {
|
|
@@ -31488,7 +31471,9 @@
|
|
|
31488
31471
|
} = params;
|
|
31489
31472
|
null != onStart && animate.onStart(onStart), null != onEnd && animate.onEnd(onEnd), null != onRemove && animate.onRemove(onRemove);
|
|
31490
31473
|
}
|
|
31491
|
-
return
|
|
31474
|
+
return this.animates.set(animate.id, animate), animate.onRemove(() => {
|
|
31475
|
+
animate.stop(), this.animates.delete(animate.id);
|
|
31476
|
+
}), null === (_c = this.stage) || void 0 === _c || _c.ticker.start(), animate;
|
|
31492
31477
|
}
|
|
31493
31478
|
createTimeline() {
|
|
31494
31479
|
return new DefaultTimeline();
|
|
@@ -31519,21 +31504,6 @@
|
|
|
31519
31504
|
getGraphicAttribute(key, prev = !1) {
|
|
31520
31505
|
return !prev && this.finalAttribute ? this.finalAttribute[key] : this.attribute[key];
|
|
31521
31506
|
}
|
|
31522
|
-
pauseAnimation(deep = !1) {
|
|
31523
|
-
this.animates && this.animates.forEach(animate => animate.pause()), deep && this.isContainer && this.forEachChildren(child => {
|
|
31524
|
-
child.pauseAnimation(deep);
|
|
31525
|
-
});
|
|
31526
|
-
}
|
|
31527
|
-
resumeAnimation(deep = !1) {
|
|
31528
|
-
this.animates && this.animates.forEach(animate => animate.resume()), deep && this.isContainer && this.forEachChildren(child => {
|
|
31529
|
-
child.resumeAnimation(deep);
|
|
31530
|
-
});
|
|
31531
|
-
}
|
|
31532
|
-
stopAnimation(deep = !1) {
|
|
31533
|
-
this.animates && this.animates.forEach(animate => animate.stop()), deep && this.isContainer && this.forEachChildren(child => {
|
|
31534
|
-
child.stopAnimation(deep);
|
|
31535
|
-
});
|
|
31536
|
-
}
|
|
31537
31507
|
}
|
|
31538
31508
|
|
|
31539
31509
|
function registerAnimate() {
|
|
@@ -31542,7 +31512,7 @@
|
|
|
31542
31512
|
|
|
31543
31513
|
class ACustomAnimate extends Step {
|
|
31544
31514
|
constructor(customFrom, customTo, duration, easing, params) {
|
|
31545
|
-
super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params
|
|
31515
|
+
super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params;
|
|
31546
31516
|
}
|
|
31547
31517
|
update(end, ratio, out) {
|
|
31548
31518
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
@@ -32699,7 +32669,7 @@
|
|
|
32699
32669
|
super(from, to, duration, easing, params);
|
|
32700
32670
|
}
|
|
32701
32671
|
onBind() {
|
|
32702
|
-
var _a, _b
|
|
32672
|
+
var _a, _b;
|
|
32703
32673
|
super.onBind();
|
|
32704
32674
|
const {
|
|
32705
32675
|
from: from,
|
|
@@ -32708,7 +32678,7 @@
|
|
|
32708
32678
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32709
32679
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32710
32680
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32711
|
-
finalAttribute && this.target.setAttributes(finalAttribute),
|
|
32681
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32712
32682
|
}
|
|
32713
32683
|
onEnd(cb) {
|
|
32714
32684
|
super.onEnd(cb);
|
|
@@ -32806,7 +32776,7 @@
|
|
|
32806
32776
|
super(from, to, duration, easing, params);
|
|
32807
32777
|
}
|
|
32808
32778
|
onBind() {
|
|
32809
|
-
var _a, _b
|
|
32779
|
+
var _a, _b;
|
|
32810
32780
|
super.onBind();
|
|
32811
32781
|
const {
|
|
32812
32782
|
from: from,
|
|
@@ -32815,7 +32785,7 @@
|
|
|
32815
32785
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32816
32786
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32817
32787
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32818
|
-
finalAttribute && this.target.setAttributes(finalAttribute),
|
|
32788
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32819
32789
|
}
|
|
32820
32790
|
onEnd(cb) {
|
|
32821
32791
|
super.onEnd(cb);
|
|
@@ -34666,15 +34636,16 @@
|
|
|
34666
34636
|
changedY = 0;
|
|
34667
34637
|
"negative" === orient && (changedX = null !== (_a = layoutRect.width) && void 0 !== _a ? _a : graphic.stage.viewWidth, changedY = null !== (_b = layoutRect.height) && void 0 !== _b ? _b : graphic.stage.viewHeight), changedX += offset, changedY += offset;
|
|
34668
34638
|
const point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, animationParameters) : pointOpt,
|
|
34669
|
-
|
|
34670
|
-
|
|
34671
|
-
|
|
34672
|
-
|
|
34639
|
+
fromX = point && isValidNumber$1(point.x) ? point.x : changedX,
|
|
34640
|
+
fromY = point && isValidNumber$1(point.y) ? point.y : changedY,
|
|
34641
|
+
finalAttrs = graphic.getFinalAttribute(),
|
|
34642
|
+
finalAttrsX = excludeChannels.includes("x") ? graphic.attribute.x : finalAttrs.x,
|
|
34643
|
+
finalAttrsY = excludeChannels.includes("y") ? graphic.attribute.y : finalAttrs.y;
|
|
34673
34644
|
switch (direction) {
|
|
34674
34645
|
case "x":
|
|
34675
34646
|
return {
|
|
34676
34647
|
from: {
|
|
34677
|
-
x:
|
|
34648
|
+
x: fromX
|
|
34678
34649
|
},
|
|
34679
34650
|
to: {
|
|
34680
34651
|
x: finalAttrsX
|
|
@@ -34703,26 +34674,25 @@
|
|
|
34703
34674
|
}
|
|
34704
34675
|
};
|
|
34705
34676
|
const moveOut = (graphic, options, animationParameters) => {
|
|
34706
|
-
var _a, _b, _c, _d;
|
|
34677
|
+
var _a, _b, _c, _d, _e, _f;
|
|
34707
34678
|
const {
|
|
34708
34679
|
offset = 0,
|
|
34709
34680
|
orient: orient,
|
|
34710
34681
|
direction: direction,
|
|
34711
34682
|
point: pointOpt
|
|
34712
34683
|
} = null != options ? options : {},
|
|
34713
|
-
|
|
34714
|
-
|
|
34715
|
-
groupHeight = null !== (_b = groupBounds.height()) && void 0 !== _b ? _b : animationParameters.height,
|
|
34684
|
+
groupWidth = null !== (_b = null === (_a = options.layoutRect) || void 0 === _a ? void 0 : _a.width) && void 0 !== _b ? _b : graphic.stage.viewWidth,
|
|
34685
|
+
groupHeight = null !== (_d = null === (_c = options.layoutRect) || void 0 === _c ? void 0 : _c.height) && void 0 !== _d ? _d : graphic.stage.viewHeight,
|
|
34716
34686
|
changedX = ("negative" === orient ? groupWidth : 0) + offset,
|
|
34717
34687
|
changedY = ("negative" === orient ? groupHeight : 0) + offset,
|
|
34718
|
-
point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (
|
|
34688
|
+
point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_f = null === (_e = graphic.context) || void 0 === _e ? void 0 : _e.data) || void 0 === _f ? void 0 : _f[0], graphic, animationParameters) : pointOpt,
|
|
34719
34689
|
fromX = point && isValidNumber$1(point.x) ? point.x : changedX,
|
|
34720
34690
|
fromY = point && isValidNumber$1(point.y) ? point.y : changedY;
|
|
34721
34691
|
switch (direction) {
|
|
34722
34692
|
case "x":
|
|
34723
34693
|
return {
|
|
34724
34694
|
from: {
|
|
34725
|
-
x: graphic.
|
|
34695
|
+
x: graphic.attribute.x
|
|
34726
34696
|
},
|
|
34727
34697
|
to: {
|
|
34728
34698
|
x: fromX
|
|
@@ -34731,7 +34701,7 @@
|
|
|
34731
34701
|
case "y":
|
|
34732
34702
|
return {
|
|
34733
34703
|
from: {
|
|
34734
|
-
y: graphic.
|
|
34704
|
+
y: graphic.attribute.y
|
|
34735
34705
|
},
|
|
34736
34706
|
to: {
|
|
34737
34707
|
y: fromY
|
|
@@ -34740,8 +34710,8 @@
|
|
|
34740
34710
|
default:
|
|
34741
34711
|
return {
|
|
34742
34712
|
from: {
|
|
34743
|
-
x: graphic.
|
|
34744
|
-
y: graphic.
|
|
34713
|
+
x: graphic.attribute.x,
|
|
34714
|
+
y: graphic.attribute.y
|
|
34745
34715
|
},
|
|
34746
34716
|
to: {
|
|
34747
34717
|
x: fromX,
|
|
@@ -34888,9 +34858,6 @@
|
|
|
34888
34858
|
this.from[key] = null !== (_a = this.from[key]) && void 0 !== _a ? _a : startProps[key];
|
|
34889
34859
|
}), this.target.setAttributes(this.from);
|
|
34890
34860
|
}
|
|
34891
|
-
deleteSelfAttr(key) {
|
|
34892
|
-
super.deleteSelfAttr(key), delete this.from[key];
|
|
34893
|
-
}
|
|
34894
34861
|
update(end, ratio, out) {
|
|
34895
34862
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
34896
34863
|
const easedRatio = this.easing(ratio);
|
|
@@ -35087,7 +35054,7 @@
|
|
|
35087
35054
|
AnimateExecutor.registerBuiltInAnimate("increaseCount", IncreaseCount), AnimateExecutor.registerBuiltInAnimate("fromTo", FromTo), AnimateExecutor.registerBuiltInAnimate("scaleIn", ScaleIn), AnimateExecutor.registerBuiltInAnimate("scaleOut", ScaleOut), AnimateExecutor.registerBuiltInAnimate("growHeightIn", GrowHeightIn), AnimateExecutor.registerBuiltInAnimate("growHeightOut", GrowHeightOut), AnimateExecutor.registerBuiltInAnimate("growWidthIn", GrowWidthIn), AnimateExecutor.registerBuiltInAnimate("growWidthOut", GrowWidthOut), AnimateExecutor.registerBuiltInAnimate("growCenterIn", GrowCenterIn), AnimateExecutor.registerBuiltInAnimate("growCenterOut", GrowCenterOut), AnimateExecutor.registerBuiltInAnimate("clipIn", ClipIn), AnimateExecutor.registerBuiltInAnimate("clipOut", ClipOut), AnimateExecutor.registerBuiltInAnimate("fadeIn", FadeIn), AnimateExecutor.registerBuiltInAnimate("fadeOut", FadeOut), AnimateExecutor.registerBuiltInAnimate("growPointsIn", GrowPointsIn), AnimateExecutor.registerBuiltInAnimate("growPointsOut", GrowPointsOut), AnimateExecutor.registerBuiltInAnimate("growPointsXIn", GrowPointsXIn), AnimateExecutor.registerBuiltInAnimate("growPointsXOut", GrowPointsXOut), AnimateExecutor.registerBuiltInAnimate("growPointsYIn", GrowPointsYIn), AnimateExecutor.registerBuiltInAnimate("growPointsYOut", GrowPointsYOut), AnimateExecutor.registerBuiltInAnimate("growAngleIn", GrowAngleIn), AnimateExecutor.registerBuiltInAnimate("growAngleOut", GrowAngleOut), AnimateExecutor.registerBuiltInAnimate("growRadiusIn", GrowRadiusIn), AnimateExecutor.registerBuiltInAnimate("growRadiusOut", GrowRadiusOut), AnimateExecutor.registerBuiltInAnimate("moveIn", MoveIn), AnimateExecutor.registerBuiltInAnimate("moveOut", MoveOut), AnimateExecutor.registerBuiltInAnimate("rotateIn", RotateIn), AnimateExecutor.registerBuiltInAnimate("rotateOut", RotateOut), AnimateExecutor.registerBuiltInAnimate("update", Update), AnimateExecutor.registerBuiltInAnimate("state", State), AnimateExecutor.registerBuiltInAnimate("labelItemAppear", LabelItemAppear), AnimateExecutor.registerBuiltInAnimate("labelItemDisappear", LabelItemDisappear), AnimateExecutor.registerBuiltInAnimate("poptipAppear", PoptipAppear), AnimateExecutor.registerBuiltInAnimate("poptipDisappear", PoptipDisappear), AnimateExecutor.registerBuiltInAnimate("inputText", InputText), AnimateExecutor.registerBuiltInAnimate("inputRichText", InputRichText), AnimateExecutor.registerBuiltInAnimate("outputRichText", OutputRichText), AnimateExecutor.registerBuiltInAnimate("slideRichText", SlideRichText), AnimateExecutor.registerBuiltInAnimate("slideOutRichText", SlideOutRichText), AnimateExecutor.registerBuiltInAnimate("slideIn", SlideIn), AnimateExecutor.registerBuiltInAnimate("growIn", GrowIn), AnimateExecutor.registerBuiltInAnimate("spinIn", SpinIn), AnimateExecutor.registerBuiltInAnimate("moveScaleIn", MoveScaleIn), AnimateExecutor.registerBuiltInAnimate("moveRotateIn", MoveRotateIn), AnimateExecutor.registerBuiltInAnimate("strokeIn", StrokeIn), AnimateExecutor.registerBuiltInAnimate("slideOut", SlideOut), AnimateExecutor.registerBuiltInAnimate("growOut", GrowOut), AnimateExecutor.registerBuiltInAnimate("spinOut", SpinOut), AnimateExecutor.registerBuiltInAnimate("moveScaleOut", MoveScaleOut), AnimateExecutor.registerBuiltInAnimate("moveRotateOut", MoveRotateOut), AnimateExecutor.registerBuiltInAnimate("strokeOut", StrokeOut), AnimateExecutor.registerBuiltInAnimate("pulse", PulseAnimate), AnimateExecutor.registerBuiltInAnimate("MotionPath", MotionPath), AnimateExecutor.registerBuiltInAnimate("streamLight", StreamLight);
|
|
35088
35055
|
};
|
|
35089
35056
|
|
|
35090
|
-
const version = "1.0.
|
|
35057
|
+
const version = "1.0.8-alpha.2";
|
|
35091
35058
|
preLoadAllModule();
|
|
35092
35059
|
if (isBrowserEnv()) {
|
|
35093
35060
|
loadBrowserEnv(container);
|
|
@@ -35256,7 +35223,6 @@
|
|
|
35256
35223
|
exports.DrawContribution = DrawContribution;
|
|
35257
35224
|
exports.DrawItemInterceptor = DrawItemInterceptor;
|
|
35258
35225
|
exports.DynamicLayerHandlerContribution = DynamicLayerHandlerContribution;
|
|
35259
|
-
exports.Easing = Easing;
|
|
35260
35226
|
exports.EditModule = EditModule;
|
|
35261
35227
|
exports.EnvContribution = EnvContribution;
|
|
35262
35228
|
exports.EventManager = EventManager;
|