@visactor/vrender 1.0.0-alpha.12 → 1.0.0-alpha.14
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 +91 -78
- package/dist/index.js +90 -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
|
@@ -580,6 +580,9 @@
|
|
|
580
580
|
const VGlobal = Symbol.for("VGlobal");
|
|
581
581
|
const DEFAULT_TEXT_FONT_FAMILY = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol";
|
|
582
582
|
|
|
583
|
+
class Application {}
|
|
584
|
+
const application = new Application();
|
|
585
|
+
|
|
583
586
|
class PerformanceRAF {
|
|
584
587
|
constructor() {
|
|
585
588
|
this.nextAnimationFrameCbs = [], this._rafHandle = null, this.runAnimationFrame = time => {
|
|
@@ -588,7 +591,7 @@
|
|
|
588
591
|
this.nextAnimationFrameCbs = [];
|
|
589
592
|
for (let i = 0; i < cbs.length; i++) cbs[i] && cbs[i](time);
|
|
590
593
|
}, this.tryRunAnimationFrameNextFrame = () => {
|
|
591
|
-
null === this._rafHandle && 0 !== this.nextAnimationFrameCbs.length && (this._rafHandle =
|
|
594
|
+
null === this._rafHandle && 0 !== this.nextAnimationFrameCbs.length && (this._rafHandle = application.global.getRequestAnimationFrame()(this.runAnimationFrame));
|
|
592
595
|
};
|
|
593
596
|
}
|
|
594
597
|
addAnimationFrameCb(callback) {
|
|
@@ -3108,44 +3111,6 @@
|
|
|
3108
3111
|
return snapLength([p0.x, p1.x, p2.x], [p0.y, p1.y, p2.y]);
|
|
3109
3112
|
}
|
|
3110
3113
|
|
|
3111
|
-
class QuadraticBezierCurve extends Curve {
|
|
3112
|
-
constructor(p0, p1, p2) {
|
|
3113
|
-
super(), this.type = exports.CurveTypeEnum.QuadraticBezierCurve, this.p0 = p0, this.p1 = p1, this.p2 = p2;
|
|
3114
|
-
}
|
|
3115
|
-
_validPoint() {
|
|
3116
|
-
return Number.isFinite(this.p0.x + this.p0.y + this.p1.x + this.p1.y + this.p2.x + this.p2.y);
|
|
3117
|
-
}
|
|
3118
|
-
getPointAt(t) {
|
|
3119
|
-
if (!1 !== this.defined) return quadPointAt(this.p0, this.p1, this.p2, t);
|
|
3120
|
-
throw new Error("defined为false的点不能getPointAt");
|
|
3121
|
-
}
|
|
3122
|
-
calcLength() {
|
|
3123
|
-
return this._validPoint() ? quadLength(this.p0, this.p1, this.p2) : 60;
|
|
3124
|
-
}
|
|
3125
|
-
calcProjLength(direction) {
|
|
3126
|
-
return direction === exports.Direction.ROW ? abs(this.p0.x - this.p2.x) : direction === exports.Direction.COLUMN ? abs(this.p0.y - this.p2.y) : 0;
|
|
3127
|
-
}
|
|
3128
|
-
getAngleAt(t) {
|
|
3129
|
-
const minT = max(t - .01, 0),
|
|
3130
|
-
maxT = min(t + .01, 1),
|
|
3131
|
-
minP = this.getPointAt(minT),
|
|
3132
|
-
maxP = this.getPointAt(maxT);
|
|
3133
|
-
return atan2(maxP.y - minP.y, maxP.x - minP.x);
|
|
3134
|
-
}
|
|
3135
|
-
draw(path, x, y, sx, sy, percent) {
|
|
3136
|
-
if (path.moveTo(this.p0.x * sx + x, this.p0.y * sy + y), percent >= 1) path.quadraticCurveTo(this.p1.x * sx + x, this.p1.y * sy + y, this.p2.x * sx + x, this.p2.y * sy + y);else if (percent > 0) {
|
|
3137
|
-
const [curve1] = divideQuad(this, percent);
|
|
3138
|
-
path.quadraticCurveTo(curve1.p1.x * sx + x, curve1.p1.y * sy + y, curve1.p2.x * sx + x, curve1.p2.y * sy + y);
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
getYAt(x) {
|
|
3142
|
-
throw new Error("QuadraticBezierCurve暂不支持getYAt");
|
|
3143
|
-
}
|
|
3144
|
-
includeX(x) {
|
|
3145
|
-
throw new Error("QuadraticBezierCurve暂不支持includeX");
|
|
3146
|
-
}
|
|
3147
|
-
}
|
|
3148
|
-
|
|
3149
3114
|
function divideCubic(curve, t) {
|
|
3150
3115
|
const {
|
|
3151
3116
|
p0: p0,
|
|
@@ -3161,17 +3126,6 @@
|
|
|
3161
3126
|
c23 = PointService.pointAtPP(c2, c3, t);
|
|
3162
3127
|
return [new CubicBezierCurve(p0, c1, c12, pt), new CubicBezierCurve(pt, c23, c3, p3)];
|
|
3163
3128
|
}
|
|
3164
|
-
function divideQuad(curve, t) {
|
|
3165
|
-
const {
|
|
3166
|
-
p0: p0,
|
|
3167
|
-
p1: p1,
|
|
3168
|
-
p2: p2
|
|
3169
|
-
} = curve,
|
|
3170
|
-
pt = quadPointAt(p0, p1, p2, t),
|
|
3171
|
-
c1 = PointService.pointAtPP(p0, p1, t),
|
|
3172
|
-
c2 = PointService.pointAtPP(p1, p2, t);
|
|
3173
|
-
return [new QuadraticBezierCurve(p0, c1, pt), new QuadraticBezierCurve(pt, c2, p2)];
|
|
3174
|
-
}
|
|
3175
3129
|
class CubicBezierCurve extends Curve {
|
|
3176
3130
|
constructor(p0, p1, p2, p3) {
|
|
3177
3131
|
super(), this.type = exports.CurveTypeEnum.CubicBezierCurve, this.p0 = p0, this.p1 = p1, this.p2 = p2, this.p3 = p3;
|
|
@@ -3812,6 +3766,55 @@
|
|
|
3812
3766
|
}
|
|
3813
3767
|
const genCatmullRomClosedSegments = commonGenCatmullRomSegments("catmullRomClosed", CatmullRomClosed);
|
|
3814
3768
|
|
|
3769
|
+
function divideQuad(curve, t) {
|
|
3770
|
+
const {
|
|
3771
|
+
p0: p0,
|
|
3772
|
+
p1: p1,
|
|
3773
|
+
p2: p2
|
|
3774
|
+
} = curve,
|
|
3775
|
+
pt = quadPointAt(p0, p1, p2, t),
|
|
3776
|
+
c1 = PointService.pointAtPP(p0, p1, t),
|
|
3777
|
+
c2 = PointService.pointAtPP(p1, p2, t);
|
|
3778
|
+
return [new QuadraticBezierCurve(p0, c1, pt), new QuadraticBezierCurve(pt, c2, p2)];
|
|
3779
|
+
}
|
|
3780
|
+
class QuadraticBezierCurve extends Curve {
|
|
3781
|
+
constructor(p0, p1, p2) {
|
|
3782
|
+
super(), this.type = exports.CurveTypeEnum.QuadraticBezierCurve, this.p0 = p0, this.p1 = p1, this.p2 = p2;
|
|
3783
|
+
}
|
|
3784
|
+
_validPoint() {
|
|
3785
|
+
return Number.isFinite(this.p0.x + this.p0.y + this.p1.x + this.p1.y + this.p2.x + this.p2.y);
|
|
3786
|
+
}
|
|
3787
|
+
getPointAt(t) {
|
|
3788
|
+
if (!1 !== this.defined) return quadPointAt(this.p0, this.p1, this.p2, t);
|
|
3789
|
+
throw new Error("defined为false的点不能getPointAt");
|
|
3790
|
+
}
|
|
3791
|
+
calcLength() {
|
|
3792
|
+
return this._validPoint() ? quadLength(this.p0, this.p1, this.p2) : 60;
|
|
3793
|
+
}
|
|
3794
|
+
calcProjLength(direction) {
|
|
3795
|
+
return direction === exports.Direction.ROW ? abs(this.p0.x - this.p2.x) : direction === exports.Direction.COLUMN ? abs(this.p0.y - this.p2.y) : 0;
|
|
3796
|
+
}
|
|
3797
|
+
getAngleAt(t) {
|
|
3798
|
+
const minT = max(t - .01, 0),
|
|
3799
|
+
maxT = min(t + .01, 1),
|
|
3800
|
+
minP = this.getPointAt(minT),
|
|
3801
|
+
maxP = this.getPointAt(maxT);
|
|
3802
|
+
return atan2(maxP.y - minP.y, maxP.x - minP.x);
|
|
3803
|
+
}
|
|
3804
|
+
draw(path, x, y, sx, sy, percent) {
|
|
3805
|
+
if (path.moveTo(this.p0.x * sx + x, this.p0.y * sy + y), percent >= 1) path.quadraticCurveTo(this.p1.x * sx + x, this.p1.y * sy + y, this.p2.x * sx + x, this.p2.y * sy + y);else if (percent > 0) {
|
|
3806
|
+
const [curve1] = divideQuad(this, percent);
|
|
3807
|
+
path.quadraticCurveTo(curve1.p1.x * sx + x, curve1.p1.y * sy + y, curve1.p2.x * sx + x, curve1.p2.y * sy + y);
|
|
3808
|
+
}
|
|
3809
|
+
}
|
|
3810
|
+
getYAt(x) {
|
|
3811
|
+
throw new Error("QuadraticBezierCurve暂不支持getYAt");
|
|
3812
|
+
}
|
|
3813
|
+
includeX(x) {
|
|
3814
|
+
throw new Error("QuadraticBezierCurve暂不支持includeX");
|
|
3815
|
+
}
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3815
3818
|
class CurveContext {
|
|
3816
3819
|
constructor(path) {
|
|
3817
3820
|
this.path = path, this._lastX = this._lastY = this._startX = this._startY = 0;
|
|
@@ -4510,9 +4513,6 @@
|
|
|
4510
4513
|
opacity: 1
|
|
4511
4514
|
});
|
|
4512
4515
|
|
|
4513
|
-
class Application {}
|
|
4514
|
-
const application = new Application();
|
|
4515
|
-
|
|
4516
4516
|
const parse$1 = function () {
|
|
4517
4517
|
const tokens = {
|
|
4518
4518
|
linearGradient: /^(linear\-gradient)/i,
|
|
@@ -9134,6 +9134,10 @@
|
|
|
9134
9134
|
var _a;
|
|
9135
9135
|
super(), this._AABBBounds = new AABBBounds(), this._updateTag = exports.UpdateTag.INIT, this.attribute = params, this.valid = this.isValid(), this.updateAABBBoundsStamp = 0, params.background ? this.loadImage(null !== (_a = params.background.background) && void 0 !== _a ? _a : params.background, !0) : params.shadowGraphic && this.setShadowGraphic(params.shadowGraphic);
|
|
9136
9136
|
}
|
|
9137
|
+
getGraphicService() {
|
|
9138
|
+
var _a, _b;
|
|
9139
|
+
return null !== (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.graphicService) && void 0 !== _b ? _b : application.graphicService;
|
|
9140
|
+
}
|
|
9137
9141
|
getAttributes() {
|
|
9138
9142
|
return this.attribute;
|
|
9139
9143
|
}
|
|
@@ -9163,13 +9167,12 @@
|
|
|
9163
9167
|
this._emitCustomEvent("animate-bind", animate);
|
|
9164
9168
|
}
|
|
9165
9169
|
tryUpdateAABBBounds() {
|
|
9166
|
-
var _a, _b;
|
|
9167
9170
|
const full = "imprecise" === this.attribute.boundsMode;
|
|
9168
9171
|
if (!this.shouldUpdateAABBBounds()) return this._AABBBounds;
|
|
9169
9172
|
if (!this.valid) return this._AABBBounds.clear(), this._AABBBounds;
|
|
9170
|
-
|
|
9173
|
+
this.getGraphicService().beforeUpdateAABBBounds(this, this.stage, !0, this._AABBBounds);
|
|
9171
9174
|
const bounds = this.doUpdateAABBBounds(full);
|
|
9172
|
-
return
|
|
9175
|
+
return this.getGraphicService().afterUpdateAABBBounds(this, this.stage, this._AABBBounds, this, !0), "empty" === this.attribute.boundsMode && bounds.clear(), bounds;
|
|
9173
9176
|
}
|
|
9174
9177
|
tryUpdateOBBBounds() {
|
|
9175
9178
|
if (this._OBBBounds || (this._OBBBounds = new OBBBounds()), this.tryUpdateAABBBounds(), this.updateOBBBoundsStamp === this.updateAABBBoundsStamp) return this._OBBBounds;
|
|
@@ -9276,7 +9279,7 @@
|
|
|
9276
9279
|
return this._transMatrix || (this._transMatrix = new Matrix()), this.shouldUpdateLocalMatrix() && (this.doUpdateLocalMatrix(), clearTag && this.clearUpdateLocalPositionTag()), this._transMatrix;
|
|
9277
9280
|
}
|
|
9278
9281
|
shouldUpdateAABBBounds() {
|
|
9279
|
-
return this.shadowRoot ? (!!(this._updateTag & exports.UpdateTag.UPDATE_BOUNDS) || this.shadowRoot.shouldUpdateAABBBounds()) &&
|
|
9282
|
+
return this.shadowRoot ? (!!(this._updateTag & exports.UpdateTag.UPDATE_BOUNDS) || this.shadowRoot.shouldUpdateAABBBounds()) && this.getGraphicService().validCheck(this.attribute, this.getGraphicTheme(), this._AABBBounds, this) : !!(this._updateTag & exports.UpdateTag.UPDATE_BOUNDS) && this.getGraphicService().validCheck(this.attribute, this.getGraphicTheme(), this._AABBBounds, this);
|
|
9280
9283
|
}
|
|
9281
9284
|
shouldSelfChangeUpdateAABBBounds() {
|
|
9282
9285
|
return this.shadowRoot ? !!(this._updateTag & exports.UpdateTag.UPDATE_BOUNDS) || this.shadowRoot.shouldUpdateAABBBounds() : !!(this._updateTag & exports.UpdateTag.UPDATE_BOUNDS);
|
|
@@ -9457,8 +9460,7 @@
|
|
|
9457
9460
|
return this;
|
|
9458
9461
|
}
|
|
9459
9462
|
onAttributeUpdate(context) {
|
|
9460
|
-
|
|
9461
|
-
context && context.skipUpdateCallback || (null === (_a = this.stage) || void 0 === _a || _a.graphicService.onAttributeUpdate(this), this._emitCustomEvent("afterAttributeUpdate", context));
|
|
9463
|
+
context && context.skipUpdateCallback || (this.getGraphicService().onAttributeUpdate(this), this._emitCustomEvent("afterAttributeUpdate", context));
|
|
9462
9464
|
}
|
|
9463
9465
|
update(d) {
|
|
9464
9466
|
d ? (d.bounds && this.tryUpdateAABBBounds(), d.trans && this.tryUpdateLocalTransMatrix()) : (this.tryUpdateAABBBounds(), this.tryUpdateLocalTransMatrix());
|
|
@@ -9648,7 +9650,6 @@
|
|
|
9648
9650
|
}
|
|
9649
9651
|
}
|
|
9650
9652
|
setStage(stage, layer) {
|
|
9651
|
-
var _a;
|
|
9652
9653
|
if (this.stage !== stage) {
|
|
9653
9654
|
if (this.stage = stage, this.layer = layer, this.setStageToShadowRoot(stage, layer), this.animates && this.animates.size) {
|
|
9654
9655
|
const timeline = stage.getTimeline();
|
|
@@ -9656,7 +9657,7 @@
|
|
|
9656
9657
|
a.timeline.isGlobal && (a.setTimeline(timeline), timeline.addAnimate(a));
|
|
9657
9658
|
});
|
|
9658
9659
|
}
|
|
9659
|
-
this._onSetStage && this._onSetStage(this, stage, layer),
|
|
9660
|
+
this._onSetStage && this._onSetStage(this, stage, layer), this.getGraphicService().onSetStage(this, stage);
|
|
9660
9661
|
}
|
|
9661
9662
|
}
|
|
9662
9663
|
setStageToShadowRoot(stage, layer) {
|
|
@@ -9804,12 +9805,11 @@
|
|
|
9804
9805
|
return !!super.shouldUpdateAABBBounds() || !!(this._childUpdateTag & exports.UpdateTag.UPDATE_BOUNDS);
|
|
9805
9806
|
}
|
|
9806
9807
|
tryUpdateAABBBounds() {
|
|
9807
|
-
var _a, _b;
|
|
9808
9808
|
if (!this.shouldUpdateAABBBounds()) return this._AABBBounds;
|
|
9809
|
-
|
|
9809
|
+
this.getGraphicService().beforeUpdateAABBBounds(this, this.stage, !0, this._AABBBounds);
|
|
9810
9810
|
const selfChange = this.shouldSelfChangeUpdateAABBBounds(),
|
|
9811
9811
|
bounds = this.doUpdateAABBBounds();
|
|
9812
|
-
return this.addUpdateLayoutTag(),
|
|
9812
|
+
return this.addUpdateLayoutTag(), this.getGraphicService().afterUpdateAABBBounds(this, this.stage, this._AABBBounds, this, selfChange), "empty" === this.attribute.boundsMode && bounds.clear(), bounds;
|
|
9813
9813
|
}
|
|
9814
9814
|
doUpdateLocalMatrix() {
|
|
9815
9815
|
const {
|
|
@@ -9869,13 +9869,11 @@
|
|
|
9869
9869
|
return this.theme.getTheme(this);
|
|
9870
9870
|
}
|
|
9871
9871
|
incrementalAppendChild(node) {
|
|
9872
|
-
var _a;
|
|
9873
9872
|
const data = super.appendChild(node);
|
|
9874
|
-
return this.stage && data && (data.stage = this.stage, data.layer = this.layer), this.addUpdateBoundTag(),
|
|
9873
|
+
return this.stage && data && (data.stage = this.stage, data.layer = this.layer), this.addUpdateBoundTag(), this.getGraphicService().onAddIncremental(node, this, this.stage), data;
|
|
9875
9874
|
}
|
|
9876
9875
|
incrementalClearChild() {
|
|
9877
|
-
|
|
9878
|
-
super.removeAllChild(), this.addUpdateBoundTag(), null === (_a = this.stage) || void 0 === _a || _a.graphicService.onClearIncremental(this, this.stage);
|
|
9876
|
+
super.removeAllChild(), this.addUpdateBoundTag(), this.getGraphicService().onClearIncremental(this, this.stage);
|
|
9879
9877
|
}
|
|
9880
9878
|
_updateChildToStage(child) {
|
|
9881
9879
|
return this.stage && child && child.setStage(this.stage, this.layer), this.addUpdateBoundTag(), child;
|
|
@@ -9895,20 +9893,17 @@
|
|
|
9895
9893
|
return this._updateChildToStage(super.insertInto(newNode, idx));
|
|
9896
9894
|
}
|
|
9897
9895
|
removeChild(child) {
|
|
9898
|
-
var _a;
|
|
9899
9896
|
const data = super.removeChild(child);
|
|
9900
|
-
return child.stage = null,
|
|
9897
|
+
return child.stage = null, this.getGraphicService().onRemove(child), this.addUpdateBoundTag(), data;
|
|
9901
9898
|
}
|
|
9902
9899
|
removeAllChild() {
|
|
9903
9900
|
let deep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;
|
|
9904
9901
|
this.forEachChildren(child => {
|
|
9905
|
-
|
|
9906
|
-
null === (_a = this.stage) || void 0 === _a || _a.graphicService.onRemove(child), deep && child.isContainer && child.removeAllChild(deep);
|
|
9902
|
+
this.getGraphicService().onRemove(child), deep && child.isContainer && child.removeAllChild(deep);
|
|
9907
9903
|
}), super.removeAllChild(), this.addUpdateBoundTag();
|
|
9908
9904
|
}
|
|
9909
9905
|
setStage(stage, layer) {
|
|
9910
|
-
|
|
9911
|
-
this.stage !== stage && (this.stage = stage, this.layer = layer, this.setStageToShadowRoot(stage, layer), this._onSetStage && this._onSetStage(this, stage, layer), null === (_a = this.stage) || void 0 === _a || _a.graphicService.onSetStage(this, stage), this.forEachChildren(item => {
|
|
9906
|
+
this.stage !== stage && (this.stage = stage, this.layer = layer, this.setStageToShadowRoot(stage, layer), this._onSetStage && this._onSetStage(this, stage, layer), this.getGraphicService().onSetStage(this, stage), this.forEachChildren(item => {
|
|
9912
9907
|
item.setStage(stage, this.layer);
|
|
9913
9908
|
}));
|
|
9914
9909
|
}
|
|
@@ -10582,7 +10577,7 @@
|
|
|
10582
10577
|
const {
|
|
10583
10578
|
visible = theme.visible
|
|
10584
10579
|
} = attribute;
|
|
10585
|
-
return !(!graphic.valid || !visible) || (aabbBounds.empty() || (graphic.parent && aabbBounds.transformWithMatrix(graphic.parent.globalTransMatrix),
|
|
10580
|
+
return !(!graphic.valid || !visible) || (aabbBounds.empty() || (graphic.parent && aabbBounds.transformWithMatrix(graphic.parent.globalTransMatrix), this.clearAABBBounds(graphic, graphic.stage, aabbBounds), aabbBounds.clear()), !1);
|
|
10586
10581
|
}
|
|
10587
10582
|
updateTempAABBBounds(aabbBounds) {
|
|
10588
10583
|
const tb1 = this.tempAABBBounds1,
|
|
@@ -15844,7 +15839,7 @@
|
|
|
15844
15839
|
height: height
|
|
15845
15840
|
} = group.attribute,
|
|
15846
15841
|
canvas = context.canvas,
|
|
15847
|
-
newCanvas =
|
|
15842
|
+
newCanvas = application.global.createCanvas({
|
|
15848
15843
|
width: canvas.width,
|
|
15849
15844
|
height: canvas.height,
|
|
15850
15845
|
dpr: 1
|
|
@@ -31188,6 +31183,24 @@
|
|
|
31188
31183
|
})), this.registerTransition("disappear", "appear", () => ({
|
|
31189
31184
|
allowTransition: !0,
|
|
31190
31185
|
stopOriginalTransition: !0
|
|
31186
|
+
})), this.registerTransition("update", "*", () => ({
|
|
31187
|
+
allowTransition: !0,
|
|
31188
|
+
stopOriginalTransition: !1
|
|
31189
|
+
})), this.registerTransition("update", "disappear", () => ({
|
|
31190
|
+
allowTransition: !0,
|
|
31191
|
+
stopOriginalTransition: !0
|
|
31192
|
+
})), this.registerTransition("update", "exit", () => ({
|
|
31193
|
+
allowTransition: !0,
|
|
31194
|
+
stopOriginalTransition: !0
|
|
31195
|
+
})), this.registerTransition("state", "*", () => ({
|
|
31196
|
+
allowTransition: !0,
|
|
31197
|
+
stopOriginalTransition: !1
|
|
31198
|
+
})), this.registerTransition("state", "disappear", () => ({
|
|
31199
|
+
allowTransition: !0,
|
|
31200
|
+
stopOriginalTransition: !0
|
|
31201
|
+
})), this.registerTransition("state", "exit", () => ({
|
|
31202
|
+
allowTransition: !0,
|
|
31203
|
+
stopOriginalTransition: !0
|
|
31191
31204
|
}));
|
|
31192
31205
|
}
|
|
31193
31206
|
isTransitionAllowed(fromState, toState, graphic) {
|
|
@@ -35209,7 +35222,7 @@
|
|
|
35209
35222
|
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);
|
|
35210
35223
|
};
|
|
35211
35224
|
|
|
35212
|
-
const version = "1.0.0-alpha.
|
|
35225
|
+
const version = "1.0.0-alpha.14";
|
|
35213
35226
|
preLoadAllModule();
|
|
35214
35227
|
if (isBrowserEnv()) {
|
|
35215
35228
|
loadBrowserEnv(container);
|
|
@@ -35707,7 +35720,6 @@
|
|
|
35707
35720
|
exports.diagonalTopLeftToBottomRight = diagonalTopLeftToBottomRight;
|
|
35708
35721
|
exports.diff = diff;
|
|
35709
35722
|
exports.divideCubic = divideCubic;
|
|
35710
|
-
exports.divideQuad = divideQuad;
|
|
35711
35723
|
exports.drawArc = drawArc;
|
|
35712
35724
|
exports.drawArcPath = drawArcPath$1;
|
|
35713
35725
|
exports.drawAreaSegments = drawAreaSegments;
|