@visactor/vrender 0.17.5-alpha.1 → 0.17.5

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,3 +1,3 @@
1
- export declare const version = "0.17.5-alpha.1";
1
+ export declare const version = "0.17.5";
2
2
  export * from '@visactor/vrender-core';
3
3
  export * from '@visactor/vrender-kits';
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 = "0.17.5-alpha.1", (0, vrender_core_1.isBrowserEnv)() ? (0, vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0,
24
+ exports.version = "0.17.5", (0, vrender_core_1.isBrowserEnv)() ? (0, vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0,
25
25
  vrender_core_1.isNodeEnv)() && (0, vrender_kits_1.loadNodeEnv)(vrender_core_1.container),
26
26
  (0, vrender_kits_2.registerArc)(), (0, vrender_kits_2.registerArc3d)(), (0, vrender_kits_2.registerArea)(),
27
27
  (0, vrender_kits_2.registerCircle)(), (0, vrender_kits_2.registerGlyph)(), (0, vrender_kits_2.registerGroup)(),
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAA4E;AAC5E,yDAAqE;AACrE,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,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 { container, isBrowserEnv, isNodeEnv } 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.5-alpha.1\";\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,yDAA4E;AAC5E,yDAAqE;AACrE,yDAmBgC;AAEnB,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC,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 { container, isBrowserEnv, isNodeEnv } 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.5\";\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
@@ -2171,13 +2171,6 @@
2171
2171
  };
2172
2172
  var isBase64$1 = isBase64;
2173
2173
 
2174
- var get = function get(obj, path, defaultValue) {
2175
- var paths = isString$1(path) ? path.split(".") : path;
2176
- for (var p = 0; p < paths.length; p++) obj = obj ? obj[paths[p]] : void 0;
2177
- return void 0 === obj ? defaultValue : obj;
2178
- };
2179
- var get$1 = get;
2180
-
2181
2174
  var hasOwnProperty = Object.prototype.hasOwnProperty,
2182
2175
  has = function has(object, key) {
2183
2176
  return null != object && hasOwnProperty.call(object, key);
@@ -2934,7 +2927,7 @@
2934
2927
  function LinearToSRGB(c) {
2935
2928
  return c < .0031308 ? 12.92 * c : 1.055 * Math.pow(c, .41666) - .055;
2936
2929
  }
2937
- var Color$1 = /*#__PURE__*/function () {
2930
+ var Color = /*#__PURE__*/function () {
2938
2931
  function Color(value) {
2939
2932
  _classCallCheck(this, Color);
2940
2933
  var color = Color.parseColorString(value);
@@ -5129,7 +5122,8 @@
5129
5122
  whiteSpace: "no-wrap",
5130
5123
  heightLimit: 1 / 0,
5131
5124
  lineClamp: 1 / 0,
5132
- suffixPosition: "end"
5125
+ suffixPosition: "end",
5126
+ disableAutoClipedPoptip: void 0
5133
5127
  };
5134
5128
  var DefaultPickStyle = {
5135
5129
  pickStrokeBuffer: 0
@@ -7293,7 +7287,7 @@
7293
7287
  function EventManager(root, config) {
7294
7288
  var _this = this;
7295
7289
  _classCallCheck(this, EventManager);
7296
- this.dispatch = new EventEmitter(), this.mappingState = {
7290
+ this.dispatch = new EventEmitter(), this.cursorTarget = null, this.mappingState = {
7297
7291
  trackingData: {}
7298
7292
  }, this.eventPool = new Map(), this.onPointerDown = function (from, target) {
7299
7293
  if (!(from instanceof FederatedPointerEvent)) return void Logger.getInstance().warn("EventManager cannot map a non-pointer event as a pointer event");
@@ -7333,14 +7327,14 @@
7333
7327
  }
7334
7328
  _this.freeEvent(overEvent);
7335
7329
  }
7336
- _this.dispatchEvent(e, "pointermove"), "touch" === e.pointerType && _this.dispatchEvent(e, "touchmove"), isMouse && (_this.dispatchEvent(e, "mousemove"), _this.cursor = (null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.attribute) || void 0 === _b ? void 0 : _b.cursor) || _this.rootTarget.getCursor()), trackingData.overTargets = e.composedPath(), _this.freeEvent(e);
7330
+ _this.dispatchEvent(e, "pointermove"), "touch" === e.pointerType && _this.dispatchEvent(e, "touchmove"), isMouse && (_this.dispatchEvent(e, "mousemove"), _this.cursorTarget = e.target, _this.cursor = (null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.attribute) || void 0 === _b ? void 0 : _b.cursor) || _this.rootTarget.getCursor()), trackingData.overTargets = e.composedPath(), _this.freeEvent(e);
7337
7331
  }, this.onPointerOver = function (from, target) {
7338
7332
  var _a, _b;
7339
7333
  if (!(from instanceof FederatedPointerEvent)) return void Logger.getInstance().warn("EventManager cannot map a non-pointer event as a pointer event");
7340
7334
  var trackingData = _this.trackingData(from.pointerId),
7341
7335
  e = _this.createPointerEvent(from, from.type, target),
7342
7336
  isMouse = isMouseLike(e.pointerType);
7343
- _this.dispatchEvent(e, "pointerover"), isMouse && _this.dispatchEvent(e, "mouseover"), "mouse" === e.pointerType && (_this.cursor = (null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.attribute) || void 0 === _b ? void 0 : _b.cursor) || _this.rootTarget.getCursor());
7337
+ _this.dispatchEvent(e, "pointerover"), isMouse && _this.dispatchEvent(e, "mouseover"), "mouse" === e.pointerType && (_this.cursorTarget = e.target, _this.cursor = (null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.attribute) || void 0 === _b ? void 0 : _b.cursor) || _this.rootTarget.getCursor());
7344
7338
  var enterEvent = _this.clonePointerEvent(e, "pointerenter");
7345
7339
  for (enterEvent.eventPhase = enterEvent.AT_TARGET; enterEvent.target && enterEvent.target !== _this.rootTarget.parent;) enterEvent.currentTarget = enterEvent.target, _this.notifyTarget(enterEvent), isMouse && _this.notifyTarget(enterEvent, "mouseenter"), enterEvent.target = enterEvent.target.parent;
7346
7340
  trackingData.overTargets = e.composedPath(), _this.freeEvent(e), _this.freeEvent(enterEvent);
@@ -7356,7 +7350,7 @@
7356
7350
  for (leaveEvent.eventPhase = leaveEvent.AT_TARGET; leaveEvent.target && leaveEvent.target !== _this.rootTarget.parent;) leaveEvent.currentTarget = leaveEvent.target, _this.notifyTarget(leaveEvent), isMouse && _this.notifyTarget(leaveEvent, "mouseleave"), leaveEvent.target = leaveEvent.target.parent;
7357
7351
  trackingData.overTargets = [], _this.freeEvent(outEvent), _this.freeEvent(leaveEvent);
7358
7352
  }
7359
- _this.cursor = "";
7353
+ _this.cursorTarget = null, _this.cursor = "";
7360
7354
  }, this.onPointerUp = function (from, target) {
7361
7355
  var _a;
7362
7356
  if (!(from instanceof FederatedPointerEvent)) return void Logger.getInstance().warn("EventManager cannot map a non-pointer event as a pointer event");
@@ -7559,7 +7553,7 @@
7559
7553
  value: function pickTarget(x, y, e) {
7560
7554
  var target;
7561
7555
  var pickResult = this.rootTarget.pick(x, y);
7562
- return target = pickResult && pickResult.graphic ? pickResult.graphic : pickResult && pickResult.group ? pickResult.group : x >= 0 && x <= get$1(this.rootTarget, "width") && y >= 0 && y <= get$1(this.rootTarget, "height") ? this.rootTarget : null, e && (e.pickParams = pickResult.params), target;
7556
+ return target = pickResult && pickResult.graphic ? pickResult.graphic : pickResult && pickResult.group ? pickResult.group : this.rootTarget.AABBBounds.contains(x, y) ? this.rootTarget : null, e && (e.pickParams = pickResult.params), target;
7563
7557
  }
7564
7558
  }]);
7565
7559
  return EventManager;
@@ -7600,7 +7594,7 @@
7600
7594
  federatedEvent = _this.bootstrapEvent(_this.rootPointerEvent, _nativeEvent);
7601
7595
  _this.manager.mapEvent(federatedEvent);
7602
7596
  }
7603
- _this.setCursor(_this.manager.cursor);
7597
+ _this.setCursor(_this.manager.cursor, _this.manager.cursorTarget);
7604
7598
  }, this.onPointerMove = function (nativeEvent) {
7605
7599
  if (_this.supportsTouchEvents && "touch" === nativeEvent.pointerType) return;
7606
7600
  if (_this.isEventOutsideOfTargetElement(nativeEvent)) return;
@@ -7609,7 +7603,7 @@
7609
7603
  var event = _this.bootstrapEvent(_this.rootPointerEvent, normalizedEvents[i]);
7610
7604
  _this.manager.mapEvent(event);
7611
7605
  }
7612
- _this.setCursor(_this.manager.cursor);
7606
+ _this.setCursor(_this.manager.cursor, _this.manager.cursorTarget);
7613
7607
  }, this.onPointerUp = function (nativeEvent) {
7614
7608
  if (_this.supportsTouchEvents && "touch" === nativeEvent.pointerType) return;
7615
7609
  var outside = _this.isEventOutsideOfTargetElement(nativeEvent) ? "outside" : "",
@@ -7618,7 +7612,7 @@
7618
7612
  var event = _this.bootstrapEvent(_this.rootPointerEvent, normalizedEvents[i]);
7619
7613
  event.type += outside, _this.manager.mapEvent(event);
7620
7614
  }
7621
- _this.setCursor(_this.manager.cursor);
7615
+ _this.setCursor(_this.manager.cursor, _this.manager.cursorTarget);
7622
7616
  }, this.onPointerOverOut = function (nativeEvent) {
7623
7617
  if (_this.supportsTouchEvents && "touch" === nativeEvent.pointerType) return;
7624
7618
  var normalizedEvents = _this.normalizeToPointerData(nativeEvent);
@@ -7626,7 +7620,7 @@
7626
7620
  var event = _this.bootstrapEvent(_this.rootPointerEvent, normalizedEvents[i]);
7627
7621
  _this.manager.mapEvent(event);
7628
7622
  }
7629
- _this.setCursor(_this.manager.cursor);
7623
+ _this.setCursor(_this.manager.cursor, _this.manager.cursorTarget);
7630
7624
  }, this.onWheel = function (nativeEvent) {
7631
7625
  var wheelEvent = _this.normalizeWheelEvent(nativeEvent);
7632
7626
  _this.manager.mapEvent(wheelEvent);
@@ -7653,8 +7647,9 @@
7653
7647
  }
7654
7648
  }, {
7655
7649
  key: "setCursor",
7656
- value: function setCursor() {
7657
- var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "default";
7650
+ value: function setCursor(mode, target) {
7651
+ if (!target && !this.manager.rootTarget.window._handler.canvas.controled) return;
7652
+ mode || (mode = "default");
7658
7653
  var applyStyles = this.applyStyles,
7659
7654
  domElement = this.domElement;
7660
7655
  if (this.currentCursor === mode) return;
@@ -10619,7 +10614,6 @@
10619
10614
  return res;
10620
10615
  };
10621
10616
 
10622
- var Color = Color$1;
10623
10617
  function colorEqual(color1, color2) {
10624
10618
  var c1 = Color.parseColorString(color1),
10625
10619
  c2 = Color.parseColorString(color2);
@@ -13707,7 +13701,7 @@
13707
13701
  var _a;
13708
13702
  var attribute = this.attribute,
13709
13703
  textTheme = getTheme(this).text;
13710
- if (Array.isArray(attribute.text)) return;
13704
+ if (this.isMultiLine) return;
13711
13705
  var _attribute$maxLineWid = attribute.maxLineWidth,
13712
13706
  maxLineWidth = _attribute$maxLineWid === void 0 ? textTheme.maxLineWidth : _attribute$maxLineWid;
13713
13707
  return Number.isFinite(maxLineWidth) ? (this.tryUpdateAABBBounds(), this.cache.clipedText) : (null !== (_a = attribute.text) && void 0 !== _a ? _a : textTheme.text).toString();
@@ -13715,14 +13709,14 @@
13715
13709
  }, {
13716
13710
  key: "clipedWidth",
13717
13711
  get: function get() {
13718
- if (!Array.isArray(this.attribute.text)) return this.tryUpdateAABBBounds(), this.cache.clipedWidth;
13712
+ if (!this.isMultiLine) return this.tryUpdateAABBBounds(), this.cache.clipedWidth;
13719
13713
  }
13720
13714
  }, {
13721
13715
  key: "cliped",
13722
13716
  get: function get() {
13723
13717
  var textTheme = getTheme(this).text,
13724
13718
  attribute = this.attribute;
13725
- if (Array.isArray(attribute.text)) return;
13719
+ if (this.isMultiLine) return;
13726
13720
  var _attribute$maxLineWid2 = attribute.maxLineWidth,
13727
13721
  maxLineWidth = _attribute$maxLineWid2 === void 0 ? textTheme.maxLineWidth : _attribute$maxLineWid2;
13728
13722
  return !!Number.isFinite(maxLineWidth) && (this.tryUpdateAABBBounds(), this.clipedText !== attribute.text.toString());
@@ -13730,7 +13724,12 @@
13730
13724
  }, {
13731
13725
  key: "multilineLayout",
13732
13726
  get: function get() {
13733
- if (Array.isArray(this.attribute.text)) return this.tryUpdateAABBBounds(), this.cache.layoutData;
13727
+ if (this.isMultiLine) return this.tryUpdateAABBBounds(), this.cache.layoutData;
13728
+ }
13729
+ }, {
13730
+ key: "isMultiLine",
13731
+ get: function get() {
13732
+ return Array.isArray(this.attribute.text) || "normal" === this.attribute.whiteSpace;
13734
13733
  }
13735
13734
  }, {
13736
13735
  key: "isValid",
@@ -20366,9 +20365,9 @@
20366
20365
  var _this2 = this;
20367
20366
  var _a, _b, _c;
20368
20367
  var textAttribute = getTheme(text, null == params ? void 0 : params.theme).text,
20369
- _text$attribute = text.attribute,
20370
- str = _text$attribute.text,
20371
- _text$attribute$under = _text$attribute.underline,
20368
+ _text$attribute = text.attribute;
20369
+ _text$attribute.text;
20370
+ var _text$attribute$under = _text$attribute.underline,
20372
20371
  underline = _text$attribute$under === void 0 ? textAttribute.underline : _text$attribute$under,
20373
20372
  _text$attribute$lineT = _text$attribute.lineThrough,
20374
20373
  lineThrough = _text$attribute$lineT === void 0 ? textAttribute.lineThrough : _text$attribute$lineT,
@@ -20376,7 +20375,9 @@
20376
20375
  keepDirIn3d = _text$attribute$keepD === void 0 ? textAttribute.keepDirIn3d : _text$attribute$keepD,
20377
20376
  _text$attribute$direc = _text$attribute.direction,
20378
20377
  direction = _text$attribute$direc === void 0 ? textAttribute.direction : _text$attribute$direc,
20379
- _text$attribute$fontS = _text$attribute.fontSize,
20378
+ _text$attribute$white = _text$attribute.whiteSpace;
20379
+ _text$attribute$white === void 0 ? textAttribute.whiteSpace : _text$attribute$white;
20380
+ var _text$attribute$fontS = _text$attribute.fontSize,
20380
20381
  fontSize = _text$attribute$fontS === void 0 ? textAttribute.fontSize : _text$attribute$fontS,
20381
20382
  _text$attribute$verti = _text$attribute.verticalMode,
20382
20383
  verticalMode = _text$attribute$verti === void 0 ? textAttribute.verticalMode : _text$attribute$verti,
@@ -20413,7 +20414,7 @@
20413
20414
  }
20414
20415
  doStroke && (strokeCb ? strokeCb(context, text.attribute, textAttribute) : sVisible && (context.setStrokeStyle(text, text.attribute, originX - x, originY - y, textAttribute), context.strokeText(t, _x, _y, z))), doFill && (fillCb ? fillCb(context, text.attribute, textAttribute) : fVisible && (context.setCommonStyle(text, text.attribute, originX - x, originY - y, textAttribute), context.fillText(t, _x, _y, z), _this2.drawUnderLine(underline, lineThrough, text, _x, _y, z, textAttribute, context))), direction && (context.highPerformanceRestore(), context.setTransformForCurrent());
20415
20416
  };
20416
- if (Array.isArray(str)) {
20417
+ if (text.isMultiLine) {
20417
20418
  if (context.setTextStyleWithoutAlignBaseline(text.attribute, textAttribute, z), "horizontal" === direction) {
20418
20419
  var multilineLayout = text.multilineLayout;
20419
20420
  if (!multilineLayout) return void context.highPerformanceRestore();
@@ -21071,6 +21072,11 @@
21071
21072
  value: function register(plugin) {
21072
21073
  "onStartupFinished" === plugin.activeEvent ? this.onStartupFinishedPlugin.push(plugin) : "onRegister" === plugin.activeEvent && (this.onRegisterPlugin.push(plugin), plugin.activate(this));
21073
21074
  }
21075
+ }, {
21076
+ key: "unRegister",
21077
+ value: function unRegister(plugin) {
21078
+ "onStartupFinished" === plugin.activeEvent ? this.onStartupFinishedPlugin.splice(this.onStartupFinishedPlugin.indexOf(plugin), 1) : "onRegister" === plugin.activeEvent && this.onRegisterPlugin.splice(this.onStartupFinishedPlugin.indexOf(plugin), 1), plugin.deactivate(this);
21079
+ }
21074
21080
  }, {
21075
21081
  key: "release",
21076
21082
  value: function release() {
@@ -23543,7 +23549,7 @@
23543
23549
  value: function disableView3dTranform() {
23544
23550
  var _this2 = this;
23545
23551
  this.view3dTranform && (this.view3dTranform = !1, this.pluginService.findPluginsByName("ViewTransform3dPlugin").forEach(function (plugin) {
23546
- plugin.deactivate(_this2.pluginService);
23552
+ _this2.pluginService.unRegister(plugin);
23547
23553
  }));
23548
23554
  }
23549
23555
  }, {
@@ -23556,7 +23562,7 @@
23556
23562
  value: function disableAutoRender() {
23557
23563
  var _this3 = this;
23558
23564
  this.autoRender && (this.autoRender = !1, this.pluginService.findPluginsByName("AutoRenderPlugin").forEach(function (plugin) {
23559
- plugin.deactivate(_this3.pluginService);
23565
+ _this3.pluginService.unRegister(plugin);
23560
23566
  }));
23561
23567
  }
23562
23568
  }, {
@@ -23569,7 +23575,7 @@
23569
23575
  value: function disableIncrementalAutoRender() {
23570
23576
  var _this4 = this;
23571
23577
  this.increaseAutoRender && (this.increaseAutoRender = !1, this.pluginService.findPluginsByName("IncrementalAutoRenderPlugin").forEach(function (plugin) {
23572
- plugin.deactivate(_this4.pluginService);
23578
+ _this4.pluginService.unRegister(plugin);
23573
23579
  }));
23574
23580
  }
23575
23581
  }, {
@@ -23585,7 +23591,7 @@
23585
23591
  value: function disableDirtyBounds() {
23586
23592
  var _this5 = this;
23587
23593
  this.dirtyBounds && (this.dirtyBounds = null, this.pluginService.findPluginsByName("DirtyBoundsPlugin").forEach(function (plugin) {
23588
- plugin.deactivate(_this5.pluginService);
23594
+ _this5.pluginService.unRegister(plugin);
23589
23595
  }));
23590
23596
  }
23591
23597
  }, {
@@ -23598,7 +23604,7 @@
23598
23604
  value: function disableLayout() {
23599
23605
  var _this6 = this;
23600
23606
  this._enableLayout && (this._enableLayout = !1, this.pluginService.findPluginsByName("FlexLayoutPlugin").forEach(function (plugin) {
23601
- plugin.deactivate(_this6.pluginService);
23607
+ _this6.pluginService.unRegister(plugin);
23602
23608
  }));
23603
23609
  }
23604
23610
  }, {
@@ -23611,7 +23617,7 @@
23611
23617
  value: function disableHtmlAttribute() {
23612
23618
  var _this7 = this;
23613
23619
  this.htmlAttribute && (this.htmlAttribute = !1, this.pluginService.findPluginsByName("HtmlAttributePlugin").forEach(function (plugin) {
23614
- plugin.deactivate(_this7.pluginService);
23620
+ _this7.pluginService.unRegister(plugin);
23615
23621
  }));
23616
23622
  }
23617
23623
  }, {
@@ -23861,7 +23867,7 @@
23861
23867
  }, {
23862
23868
  key: "setCursor",
23863
23869
  value: function setCursor(mode) {
23864
- this._cursor = mode, this.eventSystem.setCursor(mode);
23870
+ this._cursor = mode, this.eventSystem.setCursor(mode, "ignore");
23865
23871
  }
23866
23872
  }, {
23867
23873
  key: "getCursor",
@@ -34346,7 +34352,7 @@
34346
34352
 
34347
34353
  var roughModule = _roughModule;
34348
34354
 
34349
- const version = "0.17.5-alpha.1";
34355
+ const version = "0.17.5";
34350
34356
  if (isBrowserEnv()) {
34351
34357
  loadBrowserEnv(container);
34352
34358
  }