@visactor/vrender 0.17.21 → 0.17.22-alpha.0

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  import '@visactor/vrender-core';
2
- export declare const version = "0.17.21";
2
+ export declare const version = "0.17.22-alpha.0";
3
3
  export * from '@visactor/vrender-core';
4
4
  export * from '@visactor/vrender-kits';
package/cjs/index.js CHANGED
@@ -21,13 +21,14 @@ 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.17.21", (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);
24
+ exports.version = "0.17.22-alpha.0", (0, vrender_core_1.preLoadAllModule)(), (0,
25
+ vrender_core_1.isBrowserEnv)() ? (0, vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0,
26
+ vrender_core_1.isNodeEnv)() && (0, vrender_kits_1.loadNodeEnv)(vrender_core_1.container),
27
+ (0, vrender_kits_2.registerArc)(), (0, vrender_kits_2.registerArc3d)(), (0, vrender_kits_2.registerArea)(),
28
+ (0, vrender_kits_2.registerCircle)(), (0, vrender_kits_2.registerGlyph)(), (0, vrender_kits_2.registerGroup)(),
29
+ (0, vrender_kits_2.registerImage)(), (0, vrender_kits_2.registerLine)(), (0, vrender_kits_2.registerPath)(),
30
+ (0, vrender_kits_2.registerPolygon)(), (0, vrender_kits_2.registerPyramid3d)(),
31
+ (0, vrender_kits_2.registerRect)(), (0, vrender_kits_2.registerRect3d)(), (0, vrender_kits_2.registerRichtext)(),
32
+ (0, vrender_kits_2.registerShadowRoot)(), (0, vrender_kits_2.registerSymbol)(),
33
+ (0, vrender_kits_2.registerText)(), (0, vrender_kits_2.registerWrapText)(), __exportStar(require("@visactor/vrender-core"), exports),
34
+ __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,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.17.21\";\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"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAA8F;AAC9F,yDAAqE;AACrE,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,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.17.22-alpha.0\";\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
@@ -5293,7 +5293,7 @@
5293
5293
  strokeBoundsBuffer: 0,
5294
5294
  keepDirIn3d: !0
5295
5295
  });
5296
- var DefaultRichTextAttribute = Object.assign(Object.assign(Object.assign({}, DefaultAttribute), DefaultTextStyle), {
5296
+ var DefaultRichTextAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
5297
5297
  width: 300,
5298
5298
  height: 300,
5299
5299
  ellipsis: !0,
@@ -6707,7 +6707,7 @@
6707
6707
  }();
6708
6708
  var globalTheme = new Theme();
6709
6709
  function getTheme(graphic, theme) {
6710
- return graphic.glyphHost ? getTheme(graphic.glyphHost) : theme ? (graphic.isContainer, theme) : getThemeFromGroup(graphic) || graphic.attachedThemeGraphic && getTheme(graphic.attachedThemeGraphic) || globalTheme.getTheme();
6710
+ return graphic.glyphHost ? getTheme(graphic.glyphHost) : theme ? (graphic.isContainer, theme) : getThemeFromGroup(graphic) || globalTheme.getTheme();
6711
6711
  }
6712
6712
  function getThemeFromGroup(graphic) {
6713
6713
  var g;
@@ -6971,12 +6971,12 @@
6971
6971
  }
6972
6972
  }, {
6973
6973
  key: "removeAllChild",
6974
- value: function removeAllChild(deep) {
6974
+ value: function removeAllChild() {
6975
6975
  if (!this._idMap) return;
6976
6976
  var child = this._firstChild;
6977
6977
  for (; child;) {
6978
6978
  var next = child._next;
6979
- child.parent = null, child._prev = null, child._next = null, child = child._next, child = next;
6979
+ child.parent = null, child._prev = null, child._next = null, child = next;
6980
6980
  }
6981
6981
  this._firstChild = null, this._lastChild = null, this._idMap.clear(), this._structEdit = !0, this.setCount(1 - this._count);
6982
6982
  }
@@ -11587,8 +11587,7 @@
11587
11587
  }, {
11588
11588
  key: "tryUpdateGlobalAABBBounds",
11589
11589
  value: function tryUpdateGlobalAABBBounds() {
11590
- var b = this.AABBBounds;
11591
- return this._globalAABBBounds ? this._globalAABBBounds.setValue(b.x1, b.y1, b.x2, b.y2) : this._globalAABBBounds = b.clone(), this.parent && this._globalAABBBounds.transformWithMatrix(this.parent.globalTransMatrix), this._globalAABBBounds;
11590
+ return this._globalAABBBounds ? this._globalAABBBounds.setValue(this._AABBBounds.x1, this._AABBBounds.y1, this._AABBBounds.x2, this._AABBBounds.y2) : this._globalAABBBounds = this.AABBBounds.clone(), this.parent && this._globalAABBBounds.transformWithMatrix(this.parent.globalTransMatrix), this._globalAABBBounds;
11592
11591
  }
11593
11592
  }, {
11594
11593
  key: "tryUpdateGlobalTransMatrix",
@@ -12894,9 +12893,8 @@
12894
12893
  }, {
12895
12894
  key: "removeAllChild",
12896
12895
  value: function removeAllChild() {
12897
- var deep = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;
12898
12896
  this.forEachChildren(function (child) {
12899
- application.graphicService.onRemove(child), deep && child.isContainer && child.removeAllChild(deep);
12897
+ application.graphicService.onRemove(child);
12900
12898
  }), _get(_getPrototypeOf(Group.prototype), "removeAllChild", this).call(this), this.addUpdateBoundTag();
12901
12899
  }
12902
12900
  }, {
@@ -16555,47 +16553,28 @@
16555
16553
  value: function getFrameCache() {
16556
16554
  return this.shouldUpdateShape() && (this.doUpdateFrameCache(), this.clearUpdateShapeTag()), this._frameCache;
16557
16555
  }
16558
- }, {
16559
- key: "combinedStyleToCharacter",
16560
- value: function combinedStyleToCharacter(config) {
16561
- var _this$attribute = this.attribute,
16562
- fill = _this$attribute.fill,
16563
- stroke = _this$attribute.stroke,
16564
- fontSize = _this$attribute.fontSize,
16565
- fontFamily = _this$attribute.fontFamily,
16566
- fontStyle = _this$attribute.fontStyle,
16567
- fontWeight = _this$attribute.fontWeight;
16568
- return Object.assign({
16569
- fill: fill,
16570
- stroke: stroke,
16571
- fontSize: fontSize,
16572
- fontFamily: fontFamily,
16573
- fontStyle: fontStyle,
16574
- fontWeight: fontWeight
16575
- }, config);
16576
- }
16577
16556
  }, {
16578
16557
  key: "doUpdateFrameCache",
16579
16558
  value: function doUpdateFrameCache() {
16580
16559
  var _this2 = this;
16581
16560
  var _a;
16582
- var _this$attribute2 = this.attribute,
16583
- _this$attribute2$text = _this$attribute2.textConfig,
16584
- textConfig = _this$attribute2$text === void 0 ? [] : _this$attribute2$text,
16585
- maxWidth = _this$attribute2.maxWidth,
16586
- maxHeight = _this$attribute2.maxHeight,
16587
- width = _this$attribute2.width,
16588
- height = _this$attribute2.height,
16589
- ellipsis = _this$attribute2.ellipsis,
16590
- wordBreak = _this$attribute2.wordBreak,
16591
- verticalDirection = _this$attribute2.verticalDirection,
16592
- textAlign = _this$attribute2.textAlign,
16593
- textBaseline = _this$attribute2.textBaseline,
16594
- layoutDirection = _this$attribute2.layoutDirection,
16595
- singleLine = _this$attribute2.singleLine,
16561
+ var _this$attribute = this.attribute,
16562
+ _this$attribute$textC = _this$attribute.textConfig,
16563
+ textConfig = _this$attribute$textC === void 0 ? [] : _this$attribute$textC,
16564
+ maxWidth = _this$attribute.maxWidth,
16565
+ maxHeight = _this$attribute.maxHeight,
16566
+ width = _this$attribute.width,
16567
+ height = _this$attribute.height,
16568
+ ellipsis = _this$attribute.ellipsis,
16569
+ wordBreak = _this$attribute.wordBreak,
16570
+ verticalDirection = _this$attribute.verticalDirection,
16571
+ textAlign = _this$attribute.textAlign,
16572
+ textBaseline = _this$attribute.textBaseline,
16573
+ layoutDirection = _this$attribute.layoutDirection,
16574
+ singleLine = _this$attribute.singleLine,
16596
16575
  paragraphs = [];
16597
16576
  for (var i = 0; i < textConfig.length; i++) if ("image" in textConfig[i]) {
16598
- var config = this.combinedStyleToCharacter(textConfig[i]),
16577
+ var config = textConfig[i],
16599
16578
  iconCache = config.id && this._frameCache && this._frameCache.icons && this._frameCache.icons.get(config.id);
16600
16579
  if (iconCache) paragraphs.push(iconCache);else {
16601
16580
  var icon = new RichTextIcon(config);
@@ -16605,7 +16584,7 @@
16605
16584
  }, icon.richtextId = config.id, paragraphs.push(icon);
16606
16585
  }
16607
16586
  } else {
16608
- var richTextConfig = this.combinedStyleToCharacter(textConfig[i]);
16587
+ var richTextConfig = textConfig[i];
16609
16588
  if (isNumber$1(richTextConfig.text) && (richTextConfig.text = "".concat(richTextConfig.text)), richTextConfig.text && richTextConfig.text.includes("\n")) {
16610
16589
  var textParts = richTextConfig.text.split("\n");
16611
16590
  for (var j = 0; j < textParts.length; j++) paragraphs.push(new Paragraph(textParts[j], 0 !== j, richTextConfig));
@@ -22287,7 +22266,7 @@
22287
22266
  var d = context.dpr % 1;
22288
22267
  (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);
22289
22268
  var drawInArea = dirtyBounds.width() * context.dpr < context.canvas.width || dirtyBounds.height() * context.dpr < context.canvas.height;
22290
- context.save(), context.translate(x, y, !0), drawInArea && (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), context.save(), renderService.renderTreeRoots.sort(function (a, b) {
22269
+ context.save(), context.translate(x, y, !0), drawInArea && (context.beginPath(), context.rect(dirtyBounds.x1, dirtyBounds.y1, dirtyBounds.width(), dirtyBounds.height()), context.clip()), stage.camera && (this.dirtyBounds.clear(), this.backupDirtyBounds.clear()), this.clearScreen(renderService, context, drawContext), context.save(), renderService.renderTreeRoots.sort(function (a, b) {
22291
22270
  var _a, _b;
22292
22271
  return (null !== (_a = a.attribute.zIndex) && void 0 !== _a ? _a : DefaultAttribute.zIndex) - (null !== (_b = b.attribute.zIndex) && void 0 !== _b ? _b : DefaultAttribute.zIndex);
22293
22272
  }).forEach(function (group) {
@@ -22350,7 +22329,7 @@
22350
22329
  }, subLayers.set(group._uid, incrementalLayer));
22351
22330
  var incrementalContext = incrementalLayer.layer.getNativeHandler().getContext(),
22352
22331
  idc = incrementalLayer.drawContribution || container.get(IncrementalDrawContribution);
22353
- idc.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), idc.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), idc.draw(this.currentRenderService, Object.assign(Object.assign({}, drawContext), {
22332
+ idc.dirtyBounds.clear(), idc.backupDirtyBounds.clear(), idc.draw(this.currentRenderService, Object.assign(Object.assign({}, drawContext), {
22354
22333
  drawContribution: idc,
22355
22334
  clear: "transparent",
22356
22335
  layer: incrementalLayer.layer,
@@ -23228,8 +23207,6 @@
23228
23207
  var _this = this;
23229
23208
  this.pluginService = context, context.stage.hooks.afterRender.tap(this.key, function (stage) {
23230
23209
  stage && stage === _this.pluginService.stage && _this.drawHTML(context.stage.renderService);
23231
- }), application.graphicService.hooks.onRemove.tap(this.key, function (graphic) {
23232
- _this.removeDom(graphic);
23233
23210
  }), application.graphicService.hooks.onRelease.tap(this.key, function (graphic) {
23234
23211
  _this.removeDom(graphic);
23235
23212
  });
@@ -23286,27 +23263,26 @@
23286
23263
  anchorType = _html$anchorType === void 0 ? "boundsLeftTop" : _html$anchorType;
23287
23264
  graphic.bindDom || (graphic.bindDom = new Map());
23288
23265
  var lastDom = graphic.bindDom.get(dom);
23289
- var wrapGroup, nativeContainer;
23290
- if (!lastDom || container && container !== lastDom.container) {
23291
- var nativeDom;
23292
- graphic.bindDom.forEach(function (_ref) {
23293
- var wrapGroup = _ref.wrapGroup;
23294
- application.global.removeDom(wrapGroup);
23295
- }), "string" == typeof dom ? (nativeDom = new DOMParser().parseFromString(dom, "text/html").firstChild, nativeDom.lastChild && (nativeDom = nativeDom.lastChild.firstChild)) : nativeDom = dom;
23296
- var _container = container || (!0 === stage.params.enableHtmlAttribute ? null : stage.params.enableHtmlAttribute);
23297
- nativeContainer = _container ? "string" == typeof _container ? application.global.getElementById(_container) : _container : graphic.stage.window.getContainer(), wrapGroup = application.global.createDom({
23298
- tagName: "div",
23299
- width: width,
23300
- height: height,
23301
- style: style,
23302
- parent: nativeContainer
23303
- }), wrapGroup && (wrapGroup.appendChild(nativeDom), graphic.bindDom.set(dom, {
23304
- dom: nativeDom,
23305
- container: container,
23306
- wrapGroup: wrapGroup
23307
- }));
23308
- } else wrapGroup = lastDom.wrapGroup, nativeContainer = wrapGroup.parentNode;
23309
- wrapGroup.style.pointerEvents = "none", wrapGroup.style.position || (wrapGroup.style.position = "absolute", nativeContainer.style.position = "relative");
23266
+ if (lastDom && (!container || container === lastDom.container)) return;
23267
+ var nativeDom, nativeContainer;
23268
+ graphic.bindDom.forEach(function (_ref) {
23269
+ var wrapGroup = _ref.wrapGroup;
23270
+ application.global.removeDom(wrapGroup);
23271
+ }), "string" == typeof dom ? (nativeDom = new DOMParser().parseFromString(dom, "text/html").firstChild, nativeDom.lastChild && (nativeDom = nativeDom.lastChild.firstChild)) : nativeDom = dom;
23272
+ var _container = container || (!0 === stage.params.enableHtmlAttribute ? null : stage.params.enableHtmlAttribute);
23273
+ nativeContainer = _container ? "string" == typeof _container ? application.global.getElementById(_container) : _container : graphic.stage.window.getContainer();
23274
+ var wrapGroup = application.global.createDom({
23275
+ tagName: "div",
23276
+ width: width,
23277
+ height: height,
23278
+ style: style,
23279
+ parent: nativeContainer
23280
+ });
23281
+ wrapGroup && (wrapGroup.appendChild(nativeDom), graphic.bindDom.set(dom, {
23282
+ dom: nativeDom,
23283
+ container: container,
23284
+ wrapGroup: wrapGroup
23285
+ })), wrapGroup.style.pointerEvents = "none", wrapGroup.style.position || (wrapGroup.style.position = "absolute", nativeContainer.style.position = "relative");
23310
23286
  var left = 0,
23311
23287
  top = 0;
23312
23288
  var b = graphic.globalAABBBounds;
@@ -35059,7 +35035,7 @@
35059
35035
 
35060
35036
  var roughModule = _roughModule;
35061
35037
 
35062
- const version = "0.17.21";
35038
+ const version = "0.17.22-alpha.0";
35063
35039
  preLoadAllModule();
35064
35040
  if (isBrowserEnv()) {
35065
35041
  loadBrowserEnv(container);