@visactor/vrender 0.18.14-alpha.0 → 0.18.15
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 +10 -11
- package/cjs/index.js.map +1 -1
- package/dist/index.js +47 -13
- 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 +3 -3
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -21,14 +21,13 @@ 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 = "0.18.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
(0, vrender_kits_2.
|
|
28
|
-
(0, vrender_kits_2.
|
|
29
|
-
(0, vrender_kits_2.
|
|
30
|
-
(0, vrender_kits_2.
|
|
31
|
-
|
|
32
|
-
(0, vrender_kits_2.
|
|
33
|
-
(
|
|
34
|
-
__exportStar(require("@visactor/vrender-kits"), exports);
|
|
24
|
+
exports.version = "0.18.15", (0, vrender_core_1.preLoadAllModule)(), (0, vrender_core_1.isBrowserEnv)() ? (0,
|
|
25
|
+
vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0, vrender_core_1.isNodeEnv)() && (0,
|
|
26
|
+
vrender_kits_1.loadNodeEnv)(vrender_core_1.container), (0, vrender_kits_2.registerArc)(),
|
|
27
|
+
(0, vrender_kits_2.registerArc3d)(), (0, vrender_kits_2.registerArea)(), (0, vrender_kits_2.registerCircle)(),
|
|
28
|
+
(0, vrender_kits_2.registerGlyph)(), (0, vrender_kits_2.registerGroup)(), (0, vrender_kits_2.registerImage)(),
|
|
29
|
+
(0, vrender_kits_2.registerLine)(), (0, vrender_kits_2.registerPath)(), (0, vrender_kits_2.registerPolygon)(),
|
|
30
|
+
(0, vrender_kits_2.registerPyramid3d)(), (0, vrender_kits_2.registerRect)(), (0,
|
|
31
|
+
vrender_kits_2.registerRect3d)(), (0, vrender_kits_2.registerRichtext)(), (0, vrender_kits_2.registerShadowRoot)(),
|
|
32
|
+
(0, vrender_kits_2.registerSymbol)(), (0, vrender_kits_2.registerText)(), (0, vrender_kits_2.registerWrapText)(),
|
|
33
|
+
__exportStar(require("@visactor/vrender-core"), exports), __exportStar(require("@visactor/vrender-kits"), exports);
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAA8F;AAC9F,yDAAqE;AACrE,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAA8F;AAC9F,yDAAqE;AACrE,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,SAAS,CAAC;AAEjC,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,yDAAuC;AACvC,yDAAuC","file":"index.js","sourcesContent":["import '@visactor/vrender-core';\nimport { container, isBrowserEnv, isNodeEnv, preLoadAllModule } from '@visactor/vrender-core';\nimport { loadBrowserEnv, loadNodeEnv } 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 = \"0.18.15\";\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();\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\n"]}
|
package/dist/index.js
CHANGED
|
@@ -5100,6 +5100,8 @@
|
|
|
5100
5100
|
pickStrokeBuffer: 0
|
|
5101
5101
|
};
|
|
5102
5102
|
var DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({
|
|
5103
|
+
forceBoundsWidth: void 0,
|
|
5104
|
+
forceBoundsHeight: void 0,
|
|
5103
5105
|
opacity: 1,
|
|
5104
5106
|
background: null,
|
|
5105
5107
|
backgroundOpacity: 1,
|
|
@@ -5126,6 +5128,7 @@
|
|
|
5126
5128
|
};
|
|
5127
5129
|
var DefaultAttribute = Object.assign(Object.assign(Object.assign({
|
|
5128
5130
|
strokeSeg: null,
|
|
5131
|
+
renderable: !0,
|
|
5129
5132
|
pickable: !0,
|
|
5130
5133
|
childrenPickable: !0,
|
|
5131
5134
|
fillPickable: !0,
|
|
@@ -5252,6 +5255,7 @@
|
|
|
5252
5255
|
textBaseline: "top",
|
|
5253
5256
|
layoutDirection: "horizontal",
|
|
5254
5257
|
textConfig: [],
|
|
5258
|
+
forceBreakLine: !1,
|
|
5255
5259
|
maxHeight: void 0,
|
|
5256
5260
|
maxWidth: void 0,
|
|
5257
5261
|
singleLine: !1
|
|
@@ -15786,22 +15790,22 @@
|
|
|
15786
15790
|
_height = _this$lines$i.height;
|
|
15787
15791
|
if (top + _height < this[this.directionKey.top] || top + _height > this[this.directionKey.top] + frameHeight) return lastLineTag;
|
|
15788
15792
|
var lastLine = !1;
|
|
15789
|
-
this.ellipsis && this.lines[i + 1] && this.lines[i + 1].top + this.lines[i + 1].height > this[this.directionKey.top] + frameHeight && (lastLine = !0, lastLineTag = !0), this.lines[i].draw(ctx, lastLine, this.lines[i][this.directionKey.left] + deltaX, this.lines[i][this.directionKey.top] + deltaY, drawIcon);
|
|
15793
|
+
this.ellipsis && this.lines[i + 1] && this.lines[i + 1].top + this.lines[i + 1].height > this[this.directionKey.top] + frameHeight && (lastLine = !0, lastLineTag = !0), this.lines[i].draw(ctx, lastLine, this.lines[i][this.directionKey.left] + deltaX, this.lines[i][this.directionKey.top] + deltaY, this.ellipsis, drawIcon);
|
|
15790
15794
|
} else {
|
|
15791
15795
|
var detalHeight = Math.floor((frameHeight - this.actualHeight) / 2);
|
|
15792
15796
|
"vertical" === this.layoutDirection ? deltaX += detalHeight : deltaY += detalHeight;
|
|
15793
|
-
for (var _i = 0; _i < this.lines.length; _i++) this.lines[_i].draw(ctx, !1, this.lines[_i][this.directionKey.left] + deltaX, this.lines[_i][this.directionKey.top] + deltaY, drawIcon);
|
|
15797
|
+
for (var _i = 0; _i < this.lines.length; _i++) this.lines[_i].draw(ctx, !1, this.lines[_i][this.directionKey.left] + deltaX, this.lines[_i][this.directionKey.top] + deltaY, this.ellipsis, drawIcon);
|
|
15794
15798
|
}
|
|
15795
15799
|
} else if ("bottom" === this.verticalDirection && "vertical" !== this.layoutDirection) for (var _i2 = 0; _i2 < this.lines.length; _i2++) {
|
|
15796
15800
|
var _this$lines$_i = this.lines[_i2];
|
|
15797
15801
|
_this$lines$_i.top;
|
|
15798
15802
|
var _height2 = _this$lines$_i.height,
|
|
15799
15803
|
y = frameHeight - this.lines[_i2].top - this.lines[_i2].height;
|
|
15800
|
-
if (0 === frameHeight) this.lines[_i2].draw(ctx, !1, deltaX, y + deltaY, drawIcon);else {
|
|
15804
|
+
if (0 === frameHeight) this.lines[_i2].draw(ctx, !1, deltaX, y + deltaY, this.ellipsis, drawIcon);else {
|
|
15801
15805
|
if (y + _height2 > this[this.directionKey.top] + frameHeight || y < this[this.directionKey.top]) return lastLineTag;
|
|
15802
15806
|
{
|
|
15803
15807
|
var _lastLine = !1;
|
|
15804
|
-
this.ellipsis && this.lines[_i2 + 1] && y - this.lines[_i2 + 1].height < this[this.directionKey.top] && (_lastLine = !0, lastLineTag = !0), this.lines[_i2].draw(ctx, _lastLine, deltaX, y + deltaY, drawIcon);
|
|
15808
|
+
this.ellipsis && this.lines[_i2 + 1] && y - this.lines[_i2 + 1].height < this[this.directionKey.top] && (_lastLine = !0, lastLineTag = !0), this.lines[_i2].draw(ctx, _lastLine, deltaX, y + deltaY, this.ellipsis, drawIcon);
|
|
15805
15809
|
}
|
|
15806
15810
|
}
|
|
15807
15811
|
} else {
|
|
@@ -15811,11 +15815,11 @@
|
|
|
15811
15815
|
var _this$lines$_i2 = this.lines[_i3],
|
|
15812
15816
|
_top2 = _this$lines$_i2.top,
|
|
15813
15817
|
_height3 = _this$lines$_i2.height;
|
|
15814
|
-
if (0 === frameHeight) this.lines[_i3].draw(ctx, !1, this.lines[_i3][this.directionKey.left] + deltaX, this.lines[_i3][this.directionKey.top] + deltaY, drawIcon);else {
|
|
15818
|
+
if (0 === frameHeight) this.lines[_i3].draw(ctx, !1, this.lines[_i3][this.directionKey.left] + deltaX, this.lines[_i3][this.directionKey.top] + deltaY, this.ellipsis, drawIcon);else {
|
|
15815
15819
|
if (_top2 + _height3 < this[this.directionKey.top] || _top2 + _height3 > this[this.directionKey.top] + frameHeight) return lastLineTag;
|
|
15816
15820
|
{
|
|
15817
15821
|
var _lastLine2 = !1;
|
|
15818
|
-
this.ellipsis && this.lines[_i3 + 1] && this.lines[_i3 + 1].top + this.lines[_i3 + 1].height > this[this.directionKey.top] + frameHeight && (_lastLine2 = !0, lastLineTag = !0), this.lines[_i3].draw(ctx, _lastLine2, this.lines[_i3][this.directionKey.left] + deltaX, this.lines[_i3][this.directionKey.top] + deltaY, drawIcon);
|
|
15822
|
+
this.ellipsis && this.lines[_i3 + 1] && this.lines[_i3 + 1].top + this.lines[_i3 + 1].height > this[this.directionKey.top] + frameHeight && (_lastLine2 = !0, lastLineTag = !0), this.lines[_i3].draw(ctx, _lastLine2, this.lines[_i3][this.directionKey.left] + deltaX, this.lines[_i3][this.directionKey.top] + deltaY, this.ellipsis, drawIcon);
|
|
15819
15823
|
}
|
|
15820
15824
|
}
|
|
15821
15825
|
}
|
|
@@ -16186,12 +16190,15 @@
|
|
|
16186
16190
|
}
|
|
16187
16191
|
}, {
|
|
16188
16192
|
key: "draw",
|
|
16189
|
-
value: function draw(ctx, lastLine, x, y, drawIcon) {
|
|
16193
|
+
value: function draw(ctx, lastLine, x, y, drawEllipsis, drawIcon) {
|
|
16190
16194
|
var _this2 = this;
|
|
16191
|
-
if (lastLine) {
|
|
16195
|
+
if (drawEllipsis && (lastLine || this.paragraphs.some(function (p) {
|
|
16196
|
+
return p.overflow;
|
|
16197
|
+
}))) {
|
|
16192
16198
|
var otherParagraphWidth = 0;
|
|
16193
16199
|
for (var i = this.paragraphs.length - 1; i >= 0; i--) {
|
|
16194
16200
|
var paragraph = this.paragraphs[i];
|
|
16201
|
+
if (paragraph.overflow) continue;
|
|
16195
16202
|
if (paragraph instanceof RichTextIcon) break;
|
|
16196
16203
|
if ("vertical" === this.direction && "vertical" !== paragraph.direction) {
|
|
16197
16204
|
paragraph.verticalEllipsis = !0;
|
|
@@ -16468,6 +16475,7 @@
|
|
|
16468
16475
|
textBaseline = _this$attribute2.textBaseline,
|
|
16469
16476
|
layoutDirection = _this$attribute2.layoutDirection,
|
|
16470
16477
|
singleLine = _this$attribute2.singleLine,
|
|
16478
|
+
forceBreakLine = _this$attribute2.forceBreakLine,
|
|
16471
16479
|
paragraphs = [];
|
|
16472
16480
|
for (var i = 0; i < textConfig.length; i++) if ("image" in textConfig[i]) {
|
|
16473
16481
|
var config = this.combinedStyleToCharacter(textConfig[i]),
|
|
@@ -16492,7 +16500,14 @@
|
|
|
16492
16500
|
richTextHeightEnable = "number" == typeof height && Number.isFinite(height) && height > 0 && (!maxHeightFinite || height <= maxHeight),
|
|
16493
16501
|
frame = new Frame(0, 0, (richTextWidthEnable ? width : maxWidthFinite ? maxWidth : 0) || 0, (richTextHeightEnable ? height : maxHeightFinite ? maxHeight : 0) || 0, ellipsis, wordBreak, verticalDirection, textAlign, textBaseline, layoutDirection || "horizontal", !richTextWidthEnable && maxWidthFinite, !richTextHeightEnable && maxHeightFinite, singleLine || !1, null === (_a = this._frameCache) || void 0 === _a ? void 0 : _a.icons),
|
|
16494
16502
|
wrapper = new Wrapper(frame);
|
|
16495
|
-
|
|
16503
|
+
if (forceBreakLine) {
|
|
16504
|
+
var lineCount = 0,
|
|
16505
|
+
skip = !1;
|
|
16506
|
+
for (var _i = 0; _i < paragraphs.length; _i++) {
|
|
16507
|
+
var p = paragraphs[_i];
|
|
16508
|
+
skip ? (p.overflow = !0, p.left = 1 / 0, p.top = 1 / 0, !p.newLine && frame.lines[frame.lines.length - 1].paragraphs.push(p)) : wrapper.deal(p), frame.lines.length !== lineCount && (lineCount = frame.lines.length, wrapper.lineBuffer.length = 0, p.overflow = !0, p.left = 1e3, p.top = 1e3, frame.lines[frame.lines.length - 1].paragraphs.push(p), skip = !0), p.newLine && (skip = !1);
|
|
16509
|
+
}
|
|
16510
|
+
} else for (var _i2 = 0; _i2 < paragraphs.length; _i2++) wrapper.deal(paragraphs[_i2]);
|
|
16496
16511
|
wrapper.send();
|
|
16497
16512
|
if (!("horizontal" === frame.layoutDirection ? richTextWidthEnable : richTextHeightEnable)) {
|
|
16498
16513
|
var frameSize = frame.getActualSizeWidthEllipsis();
|
|
@@ -17708,6 +17723,22 @@
|
|
|
17708
17723
|
aabbBounds.union(node.AABBBounds);
|
|
17709
17724
|
}), aabbBounds) : aabbBounds;
|
|
17710
17725
|
}
|
|
17726
|
+
}, {
|
|
17727
|
+
key: "updateHTMLTextAABBBounds",
|
|
17728
|
+
value: function updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds, graphic) {
|
|
17729
|
+
var textAlign = attribute.textAlign,
|
|
17730
|
+
textBaseline = attribute.textBaseline;
|
|
17731
|
+
if (null != attribute.forceBoundsHeight) {
|
|
17732
|
+
var h = isNumber$1(attribute.forceBoundsHeight) ? attribute.forceBoundsHeight : attribute.forceBoundsHeight(),
|
|
17733
|
+
dy = textLayoutOffsetY(textBaseline, h, h);
|
|
17734
|
+
aabbBounds.set(aabbBounds.x1, dy, aabbBounds.x2, dy + h);
|
|
17735
|
+
}
|
|
17736
|
+
if (null != attribute.forceBoundsWidth) {
|
|
17737
|
+
var w = isNumber$1(attribute.forceBoundsWidth) ? attribute.forceBoundsWidth : attribute.forceBoundsWidth(),
|
|
17738
|
+
dx = textDrawOffsetX(textAlign, w);
|
|
17739
|
+
aabbBounds.set(dx, aabbBounds.y1, dx + w, aabbBounds.y2);
|
|
17740
|
+
}
|
|
17741
|
+
}
|
|
17711
17742
|
}, {
|
|
17712
17743
|
key: "updateRichTextAABBBounds",
|
|
17713
17744
|
value: function updateRichTextAABBBounds(attribute, richtextTheme, aabbBounds, graphic) {
|
|
@@ -17759,7 +17790,7 @@
|
|
|
17759
17790
|
aabbBounds.translate(deltaX, deltaY);
|
|
17760
17791
|
var tb1 = this.tempAABBBounds1,
|
|
17761
17792
|
tb2 = this.tempAABBBounds2;
|
|
17762
|
-
return tb1.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), tb2.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), this.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, graphic), aabbBounds;
|
|
17793
|
+
return tb1.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), tb2.setValue(aabbBounds.x1, aabbBounds.y1, aabbBounds.x2, aabbBounds.y2), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || this.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), this.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, graphic), aabbBounds;
|
|
17763
17794
|
}
|
|
17764
17795
|
}, {
|
|
17765
17796
|
key: "updateTextAABBBounds",
|
|
@@ -17784,7 +17815,7 @@
|
|
|
17784
17815
|
var shadowBlurHalfWidth = shadowBlur / Math.abs(scaleX + scaleY);
|
|
17785
17816
|
boundStroke(tb1, shadowBlurHalfWidth, !0, strokeBoundsBuffer), aabbBounds.union(tb1);
|
|
17786
17817
|
}
|
|
17787
|
-
return this.combindShadowAABBBounds(aabbBounds, graphic), transformBoundsWithMatrix(aabbBounds, aabbBounds, graphic.transMatrix), aabbBounds;
|
|
17818
|
+
return this.combindShadowAABBBounds(aabbBounds, graphic), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || this.updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds), transformBoundsWithMatrix(aabbBounds, aabbBounds, graphic.transMatrix), aabbBounds;
|
|
17788
17819
|
}
|
|
17789
17820
|
}, {
|
|
17790
17821
|
key: "updatePathAABBBounds",
|
|
@@ -18108,6 +18139,7 @@
|
|
|
18108
18139
|
key: "_validCheck",
|
|
18109
18140
|
value: function _validCheck(attribute, theme, aabbBounds, graphic) {
|
|
18110
18141
|
if (!graphic) return !0;
|
|
18142
|
+
if (null != attribute.forceBoundsHeight || null != attribute.forceBoundsWidth) return !0;
|
|
18111
18143
|
if (!graphic.valid) return aabbBounds.clear(), !1;
|
|
18112
18144
|
var _attribute$visible = attribute.visible,
|
|
18113
18145
|
visible = _attribute$visible === void 0 ? theme.visible : _attribute$visible;
|
|
@@ -18300,6 +18332,8 @@
|
|
|
18300
18332
|
value: function _draw(graphic, defaultAttr, computed3dMatrix, drawContext, params) {
|
|
18301
18333
|
var context = drawContext.context;
|
|
18302
18334
|
if (!context) return;
|
|
18335
|
+
var renderable = graphic.attribute.renderable;
|
|
18336
|
+
if (!1 === renderable) return;
|
|
18303
18337
|
context.highPerformanceSave();
|
|
18304
18338
|
var data = this.transform(graphic, defaultAttr, context, computed3dMatrix),
|
|
18305
18339
|
x = data.x,
|
|
@@ -22142,7 +22176,7 @@
|
|
|
22142
22176
|
return (null !== (_a = a.attribute.zIndex) && void 0 !== _a ? _a : DefaultAttribute.zIndex) - (null !== (_b = b.attribute.zIndex) && void 0 !== _b ? _b : DefaultAttribute.zIndex);
|
|
22143
22177
|
}).forEach(function (group) {
|
|
22144
22178
|
group.isContainer ? _this2.renderGroup(group, drawContext, matrixAllocate.allocate(1, 0, 0, 1, 0, 0)) : _this2.renderItem(group, drawContext);
|
|
22145
|
-
}), context.restore(), context.
|
|
22179
|
+
}), context.restore(), context.setClearMatrix(1, 0, 0, 1, 0, 0), context.inuse = !1, context.draw();
|
|
22146
22180
|
}
|
|
22147
22181
|
}, {
|
|
22148
22182
|
key: "doRegister",
|
|
@@ -34918,7 +34952,7 @@
|
|
|
34918
34952
|
|
|
34919
34953
|
var roughModule = _roughModule;
|
|
34920
34954
|
|
|
34921
|
-
const version = "0.18.
|
|
34955
|
+
const version = "0.18.15";
|
|
34922
34956
|
preLoadAllModule();
|
|
34923
34957
|
if (isBrowserEnv()) {
|
|
34924
34958
|
loadBrowserEnv(container);
|