@visactor/vrender 1.0.0-alpha.7 → 1.0.0-alpha.9
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 +18 -23
- package/dist/index.js +18 -23
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -21,7 +21,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21
21
|
|
|
22
22
|
const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits"), vrender_kits_2 = require("@visactor/vrender-kits");
|
|
23
23
|
|
|
24
|
-
exports.version = "1.0.0-alpha.
|
|
24
|
+
exports.version = "1.0.0-alpha.9", (0, vrender_core_1.preLoadAllModule)(), (0, vrender_core_1.isBrowserEnv)() ? (0,
|
|
25
25
|
vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0, vrender_core_1.isNodeEnv)() && (0,
|
|
26
26
|
vrender_kits_1.loadNodeEnv)(vrender_core_1.container), (0, vrender_kits_2.registerArc)(),
|
|
27
27
|
(0, vrender_kits_2.registerArc3d)(), (0, vrender_kits_2.registerArea)(), (0, vrender_kits_2.registerCircle)(),
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAWgC;AAChC,yDAAmF;AACnF,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,IAAA,+BAAgB,GAAE,CAAC;AAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;IAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;CAC3B;KAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;IACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;CACxB;AACD,IAAA,0BAAW,GAAE,CAAC;AACd,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,8BAAe,GAAE,CAAC;AAClB,IAAA,gCAAiB,GAAE,CAAC;AACpB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,+BAAgB,GAAE,CAAC;AACnB,IAAA,iCAAkB,GAAE,CAAC;AACrB,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,+BAAgB,GAAE,CAAC;AACnB,IAAA,2BAAY,GAAE,CAAC;AAEf,IAAA,uCAAwB,GAAE,CAAC;AAC3B,IAAA,4CAA6B,GAAE,CAAC;AAChC,IAAA,0CAA2B,GAAE,CAAC;AAC9B,IAAA,2CAA4B,GAAE,CAAC;AAC/B,IAAA,uCAAwB,GAAE,CAAC;AAC3B,IAAA,kCAAmB,GAAE,CAAC;AACtB,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C","file":"index.js","sourcesContent":["import '@visactor/vrender-core';\nimport {\n container,\n isBrowserEnv,\n isNodeEnv,\n preLoadAllModule,\n registerFlexLayoutPlugin,\n registerViewTransform3dPlugin,\n registerHtmlAttributePlugin,\n registerReactAttributePlugin,\n registerDirectionalLight,\n registerOrthoCamera\n} from '@visactor/vrender-core';\nimport { loadBrowserEnv, loadNodeEnv, registerStar } from '@visactor/vrender-kits';\nimport {\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\nexport const version = \"1.0.0-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAWgC;AAChC,yDAAmF;AACnF,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,eAAe,CAAC;AAEvC,IAAA,+BAAgB,GAAE,CAAC;AAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;IAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;CAC3B;KAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;IACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;CACxB;AACD,IAAA,0BAAW,GAAE,CAAC;AACd,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,4BAAa,GAAE,CAAC;AAChB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,8BAAe,GAAE,CAAC;AAClB,IAAA,gCAAiB,GAAE,CAAC;AACpB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,+BAAgB,GAAE,CAAC;AACnB,IAAA,iCAAkB,GAAE,CAAC;AACrB,IAAA,6BAAc,GAAE,CAAC;AACjB,IAAA,2BAAY,GAAE,CAAC;AACf,IAAA,+BAAgB,GAAE,CAAC;AACnB,IAAA,2BAAY,GAAE,CAAC;AAEf,IAAA,uCAAwB,GAAE,CAAC;AAC3B,IAAA,4CAA6B,GAAE,CAAC;AAChC,IAAA,0CAA2B,GAAE,CAAC;AAC9B,IAAA,2CAA4B,GAAE,CAAC;AAC/B,IAAA,uCAAwB,GAAE,CAAC;AAC3B,IAAA,kCAAmB,GAAE,CAAC;AACtB,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C","file":"index.js","sourcesContent":["import '@visactor/vrender-core';\nimport {\n container,\n isBrowserEnv,\n isNodeEnv,\n preLoadAllModule,\n registerFlexLayoutPlugin,\n registerViewTransform3dPlugin,\n registerHtmlAttributePlugin,\n registerReactAttributePlugin,\n registerDirectionalLight,\n registerOrthoCamera\n} from '@visactor/vrender-core';\nimport { loadBrowserEnv, loadNodeEnv, registerStar } from '@visactor/vrender-kits';\nimport {\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\nexport const version = \"1.0.0-alpha.9\";\n\npreLoadAllModule();\n\nif (isBrowserEnv()) {\n loadBrowserEnv(container);\n} else if (isNodeEnv()) {\n loadNodeEnv(container);\n}\nregisterArc();\nregisterArc3d();\nregisterArea();\nregisterCircle();\nregisterGlyph();\nregisterGroup();\nregisterImage();\nregisterLine();\nregisterPath();\nregisterPolygon();\nregisterPyramid3d();\nregisterRect();\nregisterRect3d();\nregisterRichtext();\nregisterShadowRoot();\nregisterSymbol();\nregisterText();\nregisterWrapText();\nregisterStar();\n\nregisterFlexLayoutPlugin();\nregisterViewTransform3dPlugin();\nregisterHtmlAttributePlugin();\nregisterReactAttributePlugin();\nregisterDirectionalLight();\nregisterOrthoCamera();\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-animate';\n"]}
|
package/dist/index.es.js
CHANGED
|
@@ -16665,7 +16665,7 @@ let DefaultDrawContribution = class {
|
|
|
16665
16665
|
dirtyBounds.x1 = Math.floor(b.x1), dirtyBounds.y1 = Math.floor(b.y1), dirtyBounds.x2 = Math.ceil(b.x2), dirtyBounds.y2 = Math.ceil(b.y2);
|
|
16666
16666
|
}
|
|
16667
16667
|
const d = context.dpr % 1;
|
|
16668
|
-
(d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.
|
|
16668
|
+
(d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.reset(!1), context.save(), context.setClearMatrix(transMatrix.a, transMatrix.b, transMatrix.c, transMatrix.d, transMatrix.e, transMatrix.f), context.clearMatrix(!1), context.translate(viewBox.x1, viewBox.y1, !0), context.beginPath(), context.rect(dirtyBounds.x1, dirtyBounds.y1, dirtyBounds.width(), dirtyBounds.height()), context.clip(), stage.camera && (this.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), this.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0)), this.clearScreen(renderService, context, drawContext), renderService.renderTreeRoots.sort((a, b) => {
|
|
16669
16669
|
var _a, _b;
|
|
16670
16670
|
return (null !== (_a = a.attribute.zIndex) && void 0 !== _a ? _a : DefaultAttribute.zIndex) - (null !== (_b = b.attribute.zIndex) && void 0 !== _b ? _b : DefaultAttribute.zIndex);
|
|
16671
16671
|
}).forEach(group => {
|
|
@@ -32400,7 +32400,7 @@ class TagPointsUpdate extends ACustomAnimate {
|
|
|
32400
32400
|
points: points
|
|
32401
32401
|
});
|
|
32402
32402
|
});
|
|
32403
|
-
this.target.attribute.
|
|
32403
|
+
this.target.attribute.segments = segments;
|
|
32404
32404
|
} else this.target.attribute.points = this.points;
|
|
32405
32405
|
this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
32406
32406
|
}
|
|
@@ -32422,7 +32422,7 @@ class CommonIn extends ACustomAnimate {
|
|
|
32422
32422
|
to[key] = null !== (_a = null == attrs ? void 0 : attrs[key]) && void 0 !== _a ? _a : 1, from[key] = null !== (_c = null !== (_b = from[key]) && void 0 !== _b ? _b : fromAttrs[key]) && void 0 !== _c ? _c : 0;
|
|
32423
32423
|
});
|
|
32424
32424
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32425
|
-
finalAttribute &&
|
|
32425
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to, !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target.setAttributes(from);
|
|
32426
32426
|
}
|
|
32427
32427
|
onUpdate(end, ratio, out) {
|
|
32428
32428
|
const attribute = this.target.attribute;
|
|
@@ -32670,7 +32670,7 @@ class GrowAngleIn extends GrowAngleBase {
|
|
|
32670
32670
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32671
32671
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32672
32672
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32673
|
-
finalAttribute &&
|
|
32673
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs), this.determineUpdateFunction();
|
|
32674
32674
|
}
|
|
32675
32675
|
}
|
|
32676
32676
|
class GrowAngleOut extends GrowAngleBase {
|
|
@@ -32822,7 +32822,7 @@ class GrowCenterIn extends ACustomAnimate {
|
|
|
32822
32822
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32823
32823
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32824
32824
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32825
|
-
finalAttribute &&
|
|
32825
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32826
32826
|
}
|
|
32827
32827
|
onEnd(cb) {
|
|
32828
32828
|
super.onEnd(cb);
|
|
@@ -32929,7 +32929,7 @@ class GrowHeightIn extends ACustomAnimate {
|
|
|
32929
32929
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32930
32930
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32931
32931
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32932
|
-
finalAttribute &&
|
|
32932
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32933
32933
|
}
|
|
32934
32934
|
onEnd(cb) {
|
|
32935
32935
|
super.onEnd(cb);
|
|
@@ -33045,7 +33045,7 @@ class GrowPointsIn extends GworPointsBase {
|
|
|
33045
33045
|
} = growPointsIn(this.target, this.params.options, this.params);
|
|
33046
33046
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33047
33047
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33048
|
-
finalAttribute &&
|
|
33048
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33049
33049
|
} else this.valid = !1;
|
|
33050
33050
|
}
|
|
33051
33051
|
}
|
|
@@ -33109,7 +33109,7 @@ class GrowPointsXIn extends GworPointsBase {
|
|
|
33109
33109
|
} = growPointsXIn(this.target, this.params.options, this.params);
|
|
33110
33110
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33111
33111
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33112
|
-
finalAttribute &&
|
|
33112
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33113
33113
|
} else this.valid = !1;
|
|
33114
33114
|
}
|
|
33115
33115
|
}
|
|
@@ -33173,7 +33173,7 @@ class GrowPointsYIn extends GworPointsBase {
|
|
|
33173
33173
|
} = growPointsYIn(this.target, this.params.options, this.params);
|
|
33174
33174
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33175
33175
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33176
|
-
finalAttribute &&
|
|
33176
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33177
33177
|
} else this.valid = !1;
|
|
33178
33178
|
}
|
|
33179
33179
|
}
|
|
@@ -33287,7 +33287,7 @@ class GrowRadiusIn extends GrowPointsBase {
|
|
|
33287
33287
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
33288
33288
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
33289
33289
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33290
|
-
finalAttribute &&
|
|
33290
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
33291
33291
|
}
|
|
33292
33292
|
}
|
|
33293
33293
|
class GrowRadiusOut extends GrowPointsBase {
|
|
@@ -33411,7 +33411,7 @@ class GrowWidthIn extends ACustomAnimate {
|
|
|
33411
33411
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
33412
33412
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
33413
33413
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33414
|
-
finalAttribute &&
|
|
33414
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
33415
33415
|
}
|
|
33416
33416
|
onEnd(cb) {
|
|
33417
33417
|
super.onEnd(cb);
|
|
@@ -34202,7 +34202,7 @@ class ScaleIn extends ACustomAnimate {
|
|
|
34202
34202
|
}, this._updateFunction = this.updateXY;
|
|
34203
34203
|
}
|
|
34204
34204
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34205
|
-
finalAttribute &&
|
|
34205
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.props = to, this.from = from, this.to = to, !1 !== (null === (_l = this.params.controlOptions) || void 0 === _l ? void 0 : _l.immediatelyApply) && this.target.setAttributes(from);
|
|
34206
34206
|
}
|
|
34207
34207
|
onEnd(cb) {
|
|
34208
34208
|
super.onEnd(cb);
|
|
@@ -34885,7 +34885,7 @@ class MoveIn extends MoveBase {
|
|
|
34885
34885
|
} = moveIn(this.target, this.params.options, this.params);
|
|
34886
34886
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
34887
34887
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34888
|
-
finalAttribute &&
|
|
34888
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
34889
34889
|
}
|
|
34890
34890
|
}
|
|
34891
34891
|
class MoveOut extends MoveBase {
|
|
@@ -34946,7 +34946,7 @@ class RotateIn extends RotateBase {
|
|
|
34946
34946
|
} = rotateIn(this.target, this.params.options);
|
|
34947
34947
|
this.props = to, this.propKeys = ["angle"], this.from = from, this.to = to;
|
|
34948
34948
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34949
|
-
finalAttribute &&
|
|
34949
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
34950
34950
|
}
|
|
34951
34951
|
}
|
|
34952
34952
|
class RotateOut extends RotateBase {
|
|
@@ -34992,20 +34992,15 @@ class FromTo extends ACustomAnimate {
|
|
|
34992
34992
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34993
34993
|
Object.keys(this.from).forEach(key => {
|
|
34994
34994
|
null == this.props[key] && (this.props[key] = finalAttribute[key]);
|
|
34995
|
-
}), "appear" === (null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.animationState) && finalAttribute &&
|
|
34995
|
+
}), "appear" === (null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.animationState) && finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_b = this.params.controlOptions) || void 0 === _b ? void 0 : _b.immediatelyApply) && this.target.setAttributes(this.from);
|
|
34996
34996
|
}
|
|
34997
34997
|
onFirstRun() {
|
|
34998
|
-
var _a;
|
|
34999
34998
|
this.from = Object.assign(Object.assign({}, this.getLastProps()), this.from);
|
|
35000
34999
|
const startProps = this.animate.getStartProps();
|
|
35001
|
-
|
|
35000
|
+
this.propKeys && this.propKeys.forEach(key => {
|
|
35002
35001
|
var _a;
|
|
35003
35002
|
this.from[key] = null !== (_a = this.from[key]) && void 0 !== _a ? _a : startProps[key];
|
|
35004
|
-
}),
|
|
35005
|
-
const finalAttribute = this.target.getFinalAttribute();
|
|
35006
|
-
this.target.setAttributes(finalAttribute);
|
|
35007
|
-
}
|
|
35008
|
-
this.target.setAttributes(this.from);
|
|
35003
|
+
}), this.target.setAttributes(this.from);
|
|
35009
35004
|
}
|
|
35010
35005
|
update(end, ratio, out) {
|
|
35011
35006
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
@@ -35203,7 +35198,7 @@ const registerCustomAnimate = () => {
|
|
|
35203
35198
|
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);
|
|
35204
35199
|
};
|
|
35205
35200
|
|
|
35206
|
-
const version = "1.0.0-alpha.
|
|
35201
|
+
const version = "1.0.0-alpha.9";
|
|
35207
35202
|
preLoadAllModule();
|
|
35208
35203
|
if (isBrowserEnv()) {
|
|
35209
35204
|
loadBrowserEnv(container);
|
package/dist/index.js
CHANGED
|
@@ -16671,7 +16671,7 @@
|
|
|
16671
16671
|
dirtyBounds.x1 = Math.floor(b.x1), dirtyBounds.y1 = Math.floor(b.y1), dirtyBounds.x2 = Math.ceil(b.x2), dirtyBounds.y2 = Math.ceil(b.y2);
|
|
16672
16672
|
}
|
|
16673
16673
|
const d = context.dpr % 1;
|
|
16674
|
-
(d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.
|
|
16674
|
+
(d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.reset(!1), context.save(), context.setClearMatrix(transMatrix.a, transMatrix.b, transMatrix.c, transMatrix.d, transMatrix.e, transMatrix.f), context.clearMatrix(!1), context.translate(viewBox.x1, viewBox.y1, !0), context.beginPath(), context.rect(dirtyBounds.x1, dirtyBounds.y1, dirtyBounds.width(), dirtyBounds.height()), context.clip(), stage.camera && (this.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), this.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0)), this.clearScreen(renderService, context, drawContext), renderService.renderTreeRoots.sort((a, b) => {
|
|
16675
16675
|
var _a, _b;
|
|
16676
16676
|
return (null !== (_a = a.attribute.zIndex) && void 0 !== _a ? _a : DefaultAttribute.zIndex) - (null !== (_b = b.attribute.zIndex) && void 0 !== _b ? _b : DefaultAttribute.zIndex);
|
|
16677
16677
|
}).forEach(group => {
|
|
@@ -32406,7 +32406,7 @@
|
|
|
32406
32406
|
points: points
|
|
32407
32407
|
});
|
|
32408
32408
|
});
|
|
32409
|
-
this.target.attribute.
|
|
32409
|
+
this.target.attribute.segments = segments;
|
|
32410
32410
|
} else this.target.attribute.points = this.points;
|
|
32411
32411
|
this.target.addUpdatePositionTag(), this.target.addUpdateShapeAndBoundsTag();
|
|
32412
32412
|
}
|
|
@@ -32428,7 +32428,7 @@
|
|
|
32428
32428
|
to[key] = null !== (_a = null == attrs ? void 0 : attrs[key]) && void 0 !== _a ? _a : 1, from[key] = null !== (_c = null !== (_b = from[key]) && void 0 !== _b ? _b : fromAttrs[key]) && void 0 !== _c ? _c : 0;
|
|
32429
32429
|
});
|
|
32430
32430
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32431
|
-
finalAttribute &&
|
|
32431
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.props = to, this.propKeys = this.keys, this.from = from, this.to = to, !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target.setAttributes(from);
|
|
32432
32432
|
}
|
|
32433
32433
|
onUpdate(end, ratio, out) {
|
|
32434
32434
|
const attribute = this.target.attribute;
|
|
@@ -32676,7 +32676,7 @@
|
|
|
32676
32676
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32677
32677
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32678
32678
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32679
|
-
finalAttribute &&
|
|
32679
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs), this.determineUpdateFunction();
|
|
32680
32680
|
}
|
|
32681
32681
|
}
|
|
32682
32682
|
class GrowAngleOut extends GrowAngleBase {
|
|
@@ -32828,7 +32828,7 @@
|
|
|
32828
32828
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32829
32829
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32830
32830
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32831
|
-
finalAttribute &&
|
|
32831
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32832
32832
|
}
|
|
32833
32833
|
onEnd(cb) {
|
|
32834
32834
|
super.onEnd(cb);
|
|
@@ -32935,7 +32935,7 @@
|
|
|
32935
32935
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
32936
32936
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
32937
32937
|
const finalAttribute = this.target.getFinalAttribute();
|
|
32938
|
-
finalAttribute &&
|
|
32938
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
32939
32939
|
}
|
|
32940
32940
|
onEnd(cb) {
|
|
32941
32941
|
super.onEnd(cb);
|
|
@@ -33051,7 +33051,7 @@
|
|
|
33051
33051
|
} = growPointsIn(this.target, this.params.options, this.params);
|
|
33052
33052
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33053
33053
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33054
|
-
finalAttribute &&
|
|
33054
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33055
33055
|
} else this.valid = !1;
|
|
33056
33056
|
}
|
|
33057
33057
|
}
|
|
@@ -33115,7 +33115,7 @@
|
|
|
33115
33115
|
} = growPointsXIn(this.target, this.params.options, this.params);
|
|
33116
33116
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33117
33117
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33118
|
-
finalAttribute &&
|
|
33118
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33119
33119
|
} else this.valid = !1;
|
|
33120
33120
|
}
|
|
33121
33121
|
}
|
|
@@ -33179,7 +33179,7 @@
|
|
|
33179
33179
|
} = growPointsYIn(this.target, this.params.options, this.params);
|
|
33180
33180
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
33181
33181
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33182
|
-
finalAttribute &&
|
|
33182
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
33183
33183
|
} else this.valid = !1;
|
|
33184
33184
|
}
|
|
33185
33185
|
}
|
|
@@ -33293,7 +33293,7 @@
|
|
|
33293
33293
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
33294
33294
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
33295
33295
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33296
|
-
finalAttribute &&
|
|
33296
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
33297
33297
|
}
|
|
33298
33298
|
}
|
|
33299
33299
|
class GrowRadiusOut extends GrowPointsBase {
|
|
@@ -33417,7 +33417,7 @@
|
|
|
33417
33417
|
fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
|
|
33418
33418
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
|
|
33419
33419
|
const finalAttribute = this.target.getFinalAttribute();
|
|
33420
|
-
finalAttribute &&
|
|
33420
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
|
|
33421
33421
|
}
|
|
33422
33422
|
onEnd(cb) {
|
|
33423
33423
|
super.onEnd(cb);
|
|
@@ -34208,7 +34208,7 @@
|
|
|
34208
34208
|
}, this._updateFunction = this.updateXY;
|
|
34209
34209
|
}
|
|
34210
34210
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34211
|
-
finalAttribute &&
|
|
34211
|
+
finalAttribute && this.target.setAttributes(finalAttribute), this.props = to, this.from = from, this.to = to, !1 !== (null === (_l = this.params.controlOptions) || void 0 === _l ? void 0 : _l.immediatelyApply) && this.target.setAttributes(from);
|
|
34212
34212
|
}
|
|
34213
34213
|
onEnd(cb) {
|
|
34214
34214
|
super.onEnd(cb);
|
|
@@ -34891,7 +34891,7 @@
|
|
|
34891
34891
|
} = moveIn(this.target, this.params.options, this.params);
|
|
34892
34892
|
this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = from, this.to = to;
|
|
34893
34893
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34894
|
-
finalAttribute &&
|
|
34894
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
34895
34895
|
}
|
|
34896
34896
|
}
|
|
34897
34897
|
class MoveOut extends MoveBase {
|
|
@@ -34952,7 +34952,7 @@
|
|
|
34952
34952
|
} = rotateIn(this.target, this.params.options);
|
|
34953
34953
|
this.props = to, this.propKeys = ["angle"], this.from = from, this.to = to;
|
|
34954
34954
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34955
|
-
finalAttribute &&
|
|
34955
|
+
finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_a = this.params.controlOptions) || void 0 === _a ? void 0 : _a.immediatelyApply) && this.target.setAttributes(from);
|
|
34956
34956
|
}
|
|
34957
34957
|
}
|
|
34958
34958
|
class RotateOut extends RotateBase {
|
|
@@ -34998,20 +34998,15 @@
|
|
|
34998
34998
|
const finalAttribute = this.target.getFinalAttribute();
|
|
34999
34999
|
Object.keys(this.from).forEach(key => {
|
|
35000
35000
|
null == this.props[key] && (this.props[key] = finalAttribute[key]);
|
|
35001
|
-
}), "appear" === (null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.animationState) && finalAttribute &&
|
|
35001
|
+
}), "appear" === (null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.animationState) && finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_b = this.params.controlOptions) || void 0 === _b ? void 0 : _b.immediatelyApply) && this.target.setAttributes(this.from);
|
|
35002
35002
|
}
|
|
35003
35003
|
onFirstRun() {
|
|
35004
|
-
var _a;
|
|
35005
35004
|
this.from = Object.assign(Object.assign({}, this.getLastProps()), this.from);
|
|
35006
35005
|
const startProps = this.animate.getStartProps();
|
|
35007
|
-
|
|
35006
|
+
this.propKeys && this.propKeys.forEach(key => {
|
|
35008
35007
|
var _a;
|
|
35009
35008
|
this.from[key] = null !== (_a = this.from[key]) && void 0 !== _a ? _a : startProps[key];
|
|
35010
|
-
}),
|
|
35011
|
-
const finalAttribute = this.target.getFinalAttribute();
|
|
35012
|
-
this.target.setAttributes(finalAttribute);
|
|
35013
|
-
}
|
|
35014
|
-
this.target.setAttributes(this.from);
|
|
35009
|
+
}), this.target.setAttributes(this.from);
|
|
35015
35010
|
}
|
|
35016
35011
|
update(end, ratio, out) {
|
|
35017
35012
|
if (this.onStart(), !this.props || !this.propKeys) return;
|
|
@@ -35209,7 +35204,7 @@
|
|
|
35209
35204
|
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
35205
|
};
|
|
35211
35206
|
|
|
35212
|
-
const version = "1.0.0-alpha.
|
|
35207
|
+
const version = "1.0.0-alpha.9";
|
|
35213
35208
|
preLoadAllModule();
|
|
35214
35209
|
if (isBrowserEnv()) {
|
|
35215
35210
|
loadBrowserEnv(container);
|