@visactor/vrender 1.0.0-alpha.16 → 1.0.0-alpha.18

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/dist/index.es.js CHANGED
@@ -486,11 +486,14 @@ class Container {
486
486
  const ContributionProvider = Symbol("ContributionProvider");
487
487
  class ContributionProviderCache {
488
488
  constructor(serviceIdentifier, container) {
489
- this.serviceIdentifier = serviceIdentifier, this.container = container;
489
+ this.serviceIdentifier = serviceIdentifier, this.container = container, ContributionStore.setStore(this.serviceIdentifier, this);
490
490
  }
491
491
  getContributions() {
492
492
  return this.caches || (this.caches = [], this.container && this.container.isBound(this.serviceIdentifier) && this.caches.push(...this.container.getAll(this.serviceIdentifier))), this.caches;
493
493
  }
494
+ refresh() {
495
+ this.caches && (this.caches.length = 0, this.container && this.container.isBound(this.serviceIdentifier) && this.caches.push(...this.container.getAll(this.serviceIdentifier)));
496
+ }
494
497
  }
495
498
  function bindContributionProvider(bind, id) {
496
499
  bind(ContributionProvider).toDynamicValue(_ref => {
@@ -508,6 +511,20 @@ function bindContributionProviderNoSingletonScope(bind, id) {
508
511
  return new ContributionProviderCache(id, container);
509
512
  }).whenTargetNamed(id);
510
513
  }
514
+ class ContributionStore {
515
+ static getStore(id) {
516
+ return this.store.get(id);
517
+ }
518
+ static setStore(id, cache) {
519
+ this.store.set(id, cache);
520
+ }
521
+ static refreshAllContributions() {
522
+ this.store.forEach(cache => {
523
+ cache.refresh();
524
+ });
525
+ }
526
+ }
527
+ ContributionStore.store = new Map();
511
528
 
512
529
  class Hook {
513
530
  constructor(args, name) {
@@ -596,6 +613,48 @@ class PerformanceRAF {
596
613
  }
597
614
  }
598
615
 
616
+ class EventListenerManager {
617
+ constructor() {
618
+ this._listenerMap = new Map(), this._eventListenerTransformer = event => event;
619
+ }
620
+ setEventListenerTransformer(transformer) {
621
+ this._eventListenerTransformer = transformer || (event => event);
622
+ }
623
+ addEventListener(type, listener, options) {
624
+ if (!listener) return;
625
+ const wrappedListener = event => {
626
+ const transformedEvent = this._eventListenerTransformer(event);
627
+ "function" == typeof listener ? listener(transformedEvent) : listener.handleEvent && listener.handleEvent(transformedEvent);
628
+ };
629
+ this._listenerMap.has(type) || this._listenerMap.set(type, new Map()), this._listenerMap.get(type).set(listener, wrappedListener), this._nativeAddEventListener(type, wrappedListener, options);
630
+ }
631
+ removeEventListener(type, listener, options) {
632
+ var _a;
633
+ if (!listener) return;
634
+ const wrappedListener = null === (_a = this._listenerMap.get(type)) || void 0 === _a ? void 0 : _a.get(listener);
635
+ wrappedListener && (this._nativeRemoveEventListener(type, wrappedListener, options), this._listenerMap.get(type).delete(listener), 0 === this._listenerMap.get(type).size && this._listenerMap.delete(type));
636
+ }
637
+ dispatchEvent(event) {
638
+ return this._nativeDispatchEvent(event);
639
+ }
640
+ clearAllEventListeners() {
641
+ this._listenerMap.forEach((listenersMap, type) => {
642
+ listenersMap.forEach((wrappedListener, originalListener) => {
643
+ this._nativeRemoveEventListener(type, wrappedListener, void 0);
644
+ });
645
+ }), this._listenerMap.clear();
646
+ }
647
+ _nativeAddEventListener(type, listener, options) {
648
+ throw new Error("_nativeAddEventListener must be implemented by derived classes");
649
+ }
650
+ _nativeRemoveEventListener(type, listener, options) {
651
+ throw new Error("_nativeRemoveEventListener must be implemented by derived classes");
652
+ }
653
+ _nativeDispatchEvent(event) {
654
+ throw new Error("_nativeDispatchEvent must be implemented by derived classes");
655
+ }
656
+ }
657
+
599
658
  var __decorate$1N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
600
659
  var d,
601
660
  c = arguments.length,
@@ -636,7 +695,7 @@ var __decorate$1N = undefined && undefined.__decorate || function (decorators, t
636
695
  step((generator = generator.apply(thisArg, _arguments || [])).next());
637
696
  });
638
697
  };
639
- let DefaultGlobal = class {
698
+ let DefaultGlobal = class extends EventListenerManager {
640
699
  get env() {
641
700
  return this._env;
642
701
  }
@@ -680,10 +739,19 @@ let DefaultGlobal = class {
680
739
  this._env || this.setEnv("browser"), this.envContribution.applyStyles = support;
681
740
  }
682
741
  constructor(contributions) {
683
- this.contributions = contributions, this._isImageAnonymous = !0, this._performanceRAFList = [], this.id = Generator.GenAutoIncrementId(), this.hooks = {
742
+ super(), this.contributions = contributions, this._isImageAnonymous = !0, this._performanceRAFList = [], this.eventListenerTransformer = event => event, this.id = Generator.GenAutoIncrementId(), this.hooks = {
684
743
  onSetEnv: new SyncHook(["lastEnv", "env", "global"])
685
744
  }, this.measureTextMethod = "native", this.optimizeVisible = !1;
686
745
  }
746
+ _nativeAddEventListener(type, listener, options) {
747
+ return this._env || this.setEnv("browser"), this.envContribution.addEventListener(type, listener, options);
748
+ }
749
+ _nativeRemoveEventListener(type, listener, options) {
750
+ return this._env || this.setEnv("browser"), this.envContribution.removeEventListener(type, listener, options);
751
+ }
752
+ _nativeDispatchEvent(event) {
753
+ return this._env || this.setEnv("browser"), this.envContribution.dispatchEvent(event);
754
+ }
687
755
  bindContribution(params) {
688
756
  const promiseArr = [];
689
757
  if (this.contributions.getContributions().forEach(contribution => {
@@ -724,15 +792,6 @@ let DefaultGlobal = class {
724
792
  releaseCanvas(canvas) {
725
793
  return this._env || this.setEnv("browser"), this.envContribution.releaseCanvas(canvas);
726
794
  }
727
- addEventListener(type, listener, options) {
728
- return this._env || this.setEnv("browser"), this.envContribution.addEventListener(type, listener, options);
729
- }
730
- removeEventListener(type, listener, options) {
731
- return this._env || this.setEnv("browser"), this.envContribution.removeEventListener(type, listener, options);
732
- }
733
- dispatchEvent(event) {
734
- return this._env || this.setEnv("browser"), this.envContribution.dispatchEvent(event);
735
- }
736
795
  getRequestAnimationFrame() {
737
796
  return this._env || this.setEnv("browser"), this.envContribution.getRequestAnimationFrame();
738
797
  }
@@ -1223,14 +1282,14 @@ const isArrayLike = function (value) {
1223
1282
  };
1224
1283
  var isArrayLike$1 = isArrayLike;
1225
1284
 
1226
- const isNumber = function (value) {
1285
+ const isNumber$1 = function (value) {
1227
1286
  let fuzzy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
1228
1287
  const type = typeof value;
1229
1288
  return fuzzy ? "number" === type : "number" === type || isType$1(value, "Number");
1230
1289
  };
1231
- var isNumber$1 = isNumber;
1290
+ var isNumber$2 = isNumber$1;
1232
1291
 
1233
- const isValidNumber = value => isNumber$1(value) && Number.isFinite(value);
1292
+ const isValidNumber = value => isNumber$2(value) && Number.isFinite(value);
1234
1293
  var isValidNumber$1 = isValidNumber;
1235
1294
 
1236
1295
  const isValidUrl = value => new RegExp(/^(http(s)?:\/\/)\w+[^\s]+(\.[^\s]+){1,}$/).test(value);
@@ -1371,7 +1430,7 @@ var LoggerLevel;
1371
1430
  }(LoggerLevel || (LoggerLevel = {}));
1372
1431
  class Logger {
1373
1432
  static getInstance(level, method) {
1374
- return Logger._instance && isNumber$1(level) ? Logger._instance.level(level) : Logger._instance || (Logger._instance = new Logger(level, method)), Logger._instance;
1433
+ return Logger._instance && isNumber$2(level) ? Logger._instance.level(level) : Logger._instance || (Logger._instance = new Logger(level, method)), Logger._instance;
1375
1434
  }
1376
1435
  static setInstance(logger) {
1377
1436
  return Logger._instance = logger;
@@ -1510,10 +1569,10 @@ class Point {
1510
1569
  return this.x = x, this.y = y, this;
1511
1570
  }
1512
1571
  add(point) {
1513
- return isNumber$1(point) ? (this.x += point, void (this.y += point)) : (this.x += point.x, this.y += point.y, this);
1572
+ return isNumber$2(point) ? (this.x += point, void (this.y += point)) : (this.x += point.x, this.y += point.y, this);
1514
1573
  }
1515
1574
  sub(point) {
1516
- return isNumber$1(point) ? (this.x -= point, void (this.y -= point)) : (this.x -= point.x, this.y -= point.y, this);
1575
+ return isNumber$2(point) ? (this.x -= point, void (this.y -= point)) : (this.x -= point.x, this.y -= point.y, this);
1517
1576
  }
1518
1577
  multi(point) {
1519
1578
  throw new Error("暂不支持");
@@ -2571,10 +2630,10 @@ function hex(value) {
2571
2630
  return ((value = Math.max(0, Math.min(255, Math.round(value) || 0))) < 16 ? "0" : "") + value.toString(16);
2572
2631
  }
2573
2632
  function rgb(value) {
2574
- return isNumber$1(value) ? new RGB(value >> 16, value >> 8 & 255, 255 & value, 1) : isArray$1(value) ? new RGB(value[0], value[1], value[2]) : new RGB(255, 255, 255);
2633
+ return isNumber$2(value) ? new RGB(value >> 16, value >> 8 & 255, 255 & value, 1) : isArray$1(value) ? new RGB(value[0], value[1], value[2]) : new RGB(255, 255, 255);
2575
2634
  }
2576
2635
  function rgba(value) {
2577
- return isNumber$1(value) ? new RGB(value >>> 24, value >>> 16 & 255, value >>> 8 & 255, 255 & value) : isArray$1(value) ? new RGB(value[0], value[1], value[2], value[3]) : new RGB(255, 255, 255, 1);
2636
+ return isNumber$2(value) ? new RGB(value >>> 24, value >>> 16 & 255, value >>> 8 & 255, 255 & value) : isArray$1(value) ? new RGB(value[0], value[1], value[2], value[3]) : new RGB(255, 255, 255, 1);
2578
2637
  }
2579
2638
  function SRGBToLinear(c) {
2580
2639
  return c < .04045 ? .0773993808 * c : Math.pow(.9478672986 * c + .0521327014, 2.4);
@@ -5357,6 +5416,9 @@ function isAroundZero(val) {
5357
5416
  function isNotAroundZero(val) {
5358
5417
  return val > EPSILON || val < -EPSILON;
5359
5418
  }
5419
+ function isNumber(data) {
5420
+ return "number" == typeof data && Number.isFinite(data);
5421
+ }
5360
5422
  const _v0 = [0, 0],
5361
5423
  _v1 = [0, 0],
5362
5424
  _v2 = [0, 0];
@@ -5761,7 +5823,7 @@ var __decorate$1K = undefined && undefined.__decorate || function (decorators, t
5761
5823
  };
5762
5824
  const VWindow = Symbol.for("VWindow");
5763
5825
  const WindowHandlerContribution = Symbol.for("WindowHandlerContribution");
5764
- let DefaultWindow = class {
5826
+ let DefaultWindow = class extends EventListenerManager {
5765
5827
  get width() {
5766
5828
  if (this._handler) {
5767
5829
  const wh = this._handler.getWH();
@@ -5780,7 +5842,7 @@ let DefaultWindow = class {
5780
5842
  return this._handler.getDpr();
5781
5843
  }
5782
5844
  constructor() {
5783
- this.hooks = {
5845
+ super(), this.hooks = {
5784
5846
  onChange: new SyncHook(["x", "y", "width", "height"])
5785
5847
  }, this.active = () => {
5786
5848
  const global = this.global;
@@ -5788,6 +5850,15 @@ let DefaultWindow = class {
5788
5850
  container.getNamed(WindowHandlerContribution, global.env).configure(this, global), this.actived = !0;
5789
5851
  }, this._uid = Generator.GenAutoIncrementId(), this.global = application.global, this.postInit();
5790
5852
  }
5853
+ _nativeAddEventListener(type, listener, options) {
5854
+ return this._handler.addEventListener(type, listener, options);
5855
+ }
5856
+ _nativeRemoveEventListener(type, listener, options) {
5857
+ return this._handler.removeEventListener(type, listener, options);
5858
+ }
5859
+ _nativeDispatchEvent(event) {
5860
+ return this._handler.dispatchEvent(event);
5861
+ }
5791
5862
  postInit() {
5792
5863
  this.global.hooks.onSetEnv.tap("window", this.active), this.active();
5793
5864
  }
@@ -5827,7 +5898,7 @@ let DefaultWindow = class {
5827
5898
  throw new Error("暂不支持");
5828
5899
  }
5829
5900
  release() {
5830
- return this.global.hooks.onSetEnv.unTap("window", this.active), this._handler.releaseWindow();
5901
+ return this.global.hooks.onSetEnv.unTap("window", this.active), this.clearAllEventListeners(), this._handler.releaseWindow();
5831
5902
  }
5832
5903
  getContext() {
5833
5904
  return this._handler.getContext();
@@ -5838,15 +5909,6 @@ let DefaultWindow = class {
5838
5909
  getImageBuffer(type) {
5839
5910
  return this._handler.getImageBuffer ? this._handler.getImageBuffer(type) : null;
5840
5911
  }
5841
- addEventListener(type, listener, options) {
5842
- return this._handler.addEventListener(type, listener, options);
5843
- }
5844
- removeEventListener(type, listener, options) {
5845
- return this._handler.removeEventListener(type, listener, options);
5846
- }
5847
- dispatchEvent(event) {
5848
- return this._handler.dispatchEvent(event);
5849
- }
5850
5912
  getBoundingClientRect() {
5851
5913
  return this._handler.getBoundingClientRect();
5852
5914
  }
@@ -7055,19 +7117,17 @@ class EventSystem {
7055
7117
  globalObj: globalObj,
7056
7118
  domElement: domElement
7057
7119
  } = this;
7058
- this.supportsPointerEvents ? (globalObj.getDocument() ? (globalObj.getDocument().addEventListener("pointermove", this.onPointerMove, !0), globalObj.getDocument().addEventListener("pointerup", this.onPointerUp, !0)) : (domElement.addEventListener("pointermove", this.onPointerMove, !0), domElement.addEventListener("pointerup", this.onPointerUp, !0)), domElement.addEventListener("pointerdown", this.onPointerDown, !0), domElement.addEventListener("pointerleave", this.onPointerOverOut, !0), domElement.addEventListener("pointerover", this.onPointerOverOut, !0)) : (globalObj.getDocument() ? (globalObj.getDocument().addEventListener("mousemove", this.onPointerMove, !0), globalObj.getDocument().addEventListener("mouseup", this.onPointerUp, !0)) : (domElement.addEventListener("mousemove", this.onPointerMove, !0), domElement.addEventListener("mouseup", this.onPointerUp, !0)), domElement.addEventListener("mousedown", this.onPointerDown, !0), domElement.addEventListener("mouseout", this.onPointerOverOut, !0), domElement.addEventListener("mouseover", this.onPointerOverOut, !0)), this.supportsTouchEvents && (domElement.addEventListener("touchstart", this.onPointerDown, !0), domElement.addEventListener("touchend", this.onPointerUp, !0), domElement.addEventListener("touchmove", this.onPointerMove, !0)), domElement.addEventListener("wheel", this.onWheel, {
7120
+ this.supportsPointerEvents ? (globalObj.getDocument() ? (globalObj.addEventListener("pointermove", this.onPointerMove, !0), globalObj.addEventListener("pointerup", this.onPointerUp, !0)) : (domElement.addEventListener("pointermove", this.onPointerMove, !0), domElement.addEventListener("pointerup", this.onPointerUp, !0)), domElement.addEventListener("pointerdown", this.onPointerDown, !0), domElement.addEventListener("pointerleave", this.onPointerOverOut, !0), domElement.addEventListener("pointerover", this.onPointerOverOut, !0)) : (globalObj.getDocument() ? (globalObj.addEventListener("mousemove", this.onPointerMove, !0), globalObj.addEventListener("mouseup", this.onPointerUp, !0)) : (domElement.addEventListener("mousemove", this.onPointerMove, !0), domElement.addEventListener("mouseup", this.onPointerUp, !0)), domElement.addEventListener("mousedown", this.onPointerDown, !0), domElement.addEventListener("mouseout", this.onPointerOverOut, !0), domElement.addEventListener("mouseover", this.onPointerOverOut, !0)), this.supportsTouchEvents && (domElement.addEventListener("touchstart", this.onPointerDown, !0), domElement.addEventListener("touchend", this.onPointerUp, !0), domElement.addEventListener("touchmove", this.onPointerMove, !0)), domElement.addEventListener("wheel", this.onWheel, {
7059
7121
  capture: !0
7060
7122
  }), this.eventsAdded = !0;
7061
7123
  }
7062
7124
  removeEvents() {
7063
- var _a;
7064
7125
  if (!this.eventsAdded || !this.domElement) return;
7065
7126
  const {
7066
- globalObj: globalObj,
7067
- domElement: domElement
7068
- } = this,
7069
- globalDocument = null !== (_a = globalObj.getDocument()) && void 0 !== _a ? _a : domElement;
7070
- this.supportsPointerEvents ? (globalDocument.removeEventListener("pointermove", this.onPointerMove, !0), globalDocument.removeEventListener("pointerup", this.onPointerUp, !0), domElement.removeEventListener("pointerdown", this.onPointerDown, !0), domElement.removeEventListener("pointerleave", this.onPointerOverOut, !0), domElement.removeEventListener("pointerover", this.onPointerOverOut, !0)) : (globalDocument.removeEventListener("mousemove", this.onPointerMove, !0), globalDocument.removeEventListener("mouseup", this.onPointerUp, !0), domElement.removeEventListener("mousedown", this.onPointerDown, !0), domElement.removeEventListener("mouseout", this.onPointerOverOut, !0), domElement.removeEventListener("mouseover", this.onPointerOverOut, !0)), this.supportsTouchEvents && (domElement.removeEventListener("touchstart", this.onPointerDown, !0), domElement.removeEventListener("touchend", this.onPointerUp, !0), domElement.removeEventListener("touchmove", this.onPointerMove, !0)), domElement.removeEventListener("wheel", this.onWheel, !0), this.domElement = null, this.eventsAdded = !1;
7127
+ globalObj: globalObj,
7128
+ domElement: domElement
7129
+ } = this;
7130
+ this.supportsPointerEvents ? (globalObj.getDocument() ? (globalObj.removeEventListener("pointermove", this.onPointerMove, !0), globalObj.removeEventListener("pointerup", this.onPointerUp, !0)) : (domElement.removeEventListener("pointermove", this.onPointerMove, !0), domElement.removeEventListener("pointerup", this.onPointerUp, !0)), domElement.removeEventListener("pointerdown", this.onPointerDown, !0), domElement.removeEventListener("pointerleave", this.onPointerOverOut, !0), domElement.removeEventListener("pointerover", this.onPointerOverOut, !0)) : (globalObj.getDocument() ? (globalObj.removeEventListener("mousemove", this.onPointerMove, !0), globalObj.removeEventListener("mouseup", this.onPointerUp, !0)) : (domElement.removeEventListener("mousemove", this.onPointerMove, !0), domElement.removeEventListener("mouseup", this.onPointerUp, !0)), domElement.removeEventListener("mousedown", this.onPointerDown, !0), domElement.removeEventListener("mouseout", this.onPointerOverOut, !0), domElement.removeEventListener("mouseover", this.onPointerOverOut, !0)), this.supportsTouchEvents && (domElement.removeEventListener("touchstart", this.onPointerDown, !0), domElement.removeEventListener("touchend", this.onPointerUp, !0), domElement.removeEventListener("touchmove", this.onPointerMove, !0)), domElement.removeEventListener("wheel", this.onWheel, !0), this.domElement = null, this.eventsAdded = !1;
7071
7131
  }
7072
7132
  mapToViewportPoint(event) {
7073
7133
  return this.domElement.pointTransform ? this.domElement.pointTransform(event.x, event.y) : event;
@@ -7384,13 +7444,13 @@ const calculateLineHeight = (lineHeight, fontSize) => {
7384
7444
 
7385
7445
  class BaseSymbol {
7386
7446
  bounds(size, bounds) {
7387
- if (isNumber$1(size)) {
7447
+ if (isNumber$2(size)) {
7388
7448
  const halfS = size / 2;
7389
7449
  bounds.x1 = -halfS, bounds.x2 = halfS, bounds.y1 = -halfS, bounds.y2 = halfS;
7390
7450
  } else bounds.x1 = -size[0] / 2, bounds.x2 = size[0] / 2, bounds.y1 = -size[1] / 2, bounds.y2 = size[1] / 2;
7391
7451
  }
7392
7452
  parseSize(size) {
7393
- return isNumber$1(size) ? size : Math.min(size[0], size[1]);
7453
+ return isNumber$2(size) ? size : Math.min(size[0], size[1]);
7394
7454
  }
7395
7455
  }
7396
7456
 
@@ -7809,10 +7869,10 @@ class RectSymbol extends BaseSymbol {
7809
7869
  super(...arguments), this.type = "rect", this.pathStr = "M -0.5,0.25 L 0.5,0.25 L 0.5,-0.25,L -0.5,-0.25 Z";
7810
7870
  }
7811
7871
  draw(ctx, size, x, y) {
7812
- return isNumber$1(size) ? rectSize(ctx, size, x, y) : rectSizeArray(ctx, size, x, y);
7872
+ return isNumber$2(size) ? rectSize(ctx, size, x, y) : rectSizeArray(ctx, size, x, y);
7813
7873
  }
7814
7874
  drawWithClipRange(ctx, size, x, y, clipRange, z, cb) {
7815
- isNumber$1(size) && (size = [size, size / 2]);
7875
+ isNumber$2(size) && (size = [size, size / 2]);
7816
7876
  const drawLength = 2 * (size[0] + size[1]) * clipRange,
7817
7877
  points = [{
7818
7878
  x: x + size[0] / 2,
@@ -7844,7 +7904,7 @@ class RectSymbol extends BaseSymbol {
7844
7904
  return !1;
7845
7905
  }
7846
7906
  drawOffset(ctx, size, x, y, offset) {
7847
- return isNumber$1(size) ? rectSize(ctx, size + 2 * offset, x, y) : rectSizeArray(ctx, [size[0] + 2 * offset, size[1] + 2 * offset], x, y);
7907
+ return isNumber$2(size) ? rectSize(ctx, size + 2 * offset, x, y) : rectSizeArray(ctx, [size[0] + 2 * offset, size[1] + 2 * offset], x, y);
7848
7908
  }
7849
7909
  }
7850
7910
  var rect = new RectSymbol();
@@ -7864,7 +7924,7 @@ class CustomSymbolClass {
7864
7924
  return size = this.parseSize(size), this.drawOffset(ctx, size, x, y, 0, z, cb);
7865
7925
  }
7866
7926
  parseSize(size) {
7867
- return isNumber$1(size) ? size : Math.min(size[0], size[1]);
7927
+ return isNumber$2(size) ? size : Math.min(size[0], size[1]);
7868
7928
  }
7869
7929
  drawWithClipRange(ctx, size, x, y, clipRange, z, cb) {
7870
7930
  return size = this.parseSize(size), this.isSvg ? !!this.svgCache && (this.svgCache.forEach(item => {
@@ -8833,10 +8893,10 @@ ColorStore.store255 = {}, ColorStore.store1 = {};
8833
8893
 
8834
8894
  function colorArrayToString(color) {
8835
8895
  let alphaChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
8836
- return Array.isArray(color) && isNumber$1(color[0]) ? alphaChannel ? `rgb(${Math.round(color[0])},${Math.round(color[1])},${Math.round(color[2])},${color[3].toFixed(2)})` : `rgb(${Math.round(color[0])},${Math.round(color[1])},${Math.round(color[2])})` : color;
8896
+ return Array.isArray(color) && isNumber$2(color[0]) ? alphaChannel ? `rgb(${Math.round(color[0])},${Math.round(color[1])},${Math.round(color[2])},${color[3].toFixed(2)})` : `rgb(${Math.round(color[0])},${Math.round(color[1])},${Math.round(color[2])})` : color;
8837
8897
  }
8838
8898
  function interpolateColor(from, to, ratio, alphaChannel, cb) {
8839
- if (Array.isArray(from) && !isNumber$1(from[0]) || Array.isArray(to) && !isNumber$1(to[0])) {
8899
+ if (Array.isArray(from) && !isNumber$2(from[0]) || Array.isArray(to) && !isNumber$2(to[0])) {
8840
8900
  return new Array(4).fill(0).map((_, index) => {
8841
8901
  var _a, _b;
8842
8902
  return _interpolateColor(isArray$1(from) ? null !== (_a = from[index]) && void 0 !== _a ? _a : from[0] : from, isArray$1(to) ? null !== (_b = to[index]) && void 0 !== _b ? _b : to[0] : to, ratio, alphaChannel);
@@ -10517,12 +10577,12 @@ let DefaultGraphicService = class {
10517
10577
  textBaseline: textBaseline
10518
10578
  } = attribute;
10519
10579
  if (null != attribute.forceBoundsHeight) {
10520
- const h = isNumber$1(attribute.forceBoundsHeight) ? attribute.forceBoundsHeight : attribute.forceBoundsHeight(),
10580
+ const h = isNumber$2(attribute.forceBoundsHeight) ? attribute.forceBoundsHeight : attribute.forceBoundsHeight(),
10521
10581
  dy = textLayoutOffsetY(textBaseline, h, h);
10522
10582
  aabbBounds.set(aabbBounds.x1, dy, aabbBounds.x2, dy + h);
10523
10583
  }
10524
10584
  if (null != attribute.forceBoundsWidth) {
10525
- const w = isNumber$1(attribute.forceBoundsWidth) ? attribute.forceBoundsWidth : attribute.forceBoundsWidth(),
10585
+ const w = isNumber$2(attribute.forceBoundsWidth) ? attribute.forceBoundsWidth : attribute.forceBoundsWidth(),
10526
10586
  dx = textDrawOffsetX(textAlign, w);
10527
10587
  aabbBounds.set(dx, aabbBounds.y1, dx + w, aabbBounds.y2);
10528
10588
  }
@@ -12644,7 +12704,7 @@ class RichText extends Graphic {
12644
12704
  }
12645
12705
  } else {
12646
12706
  const richTextConfig = this.combinedStyleToCharacter(textConfig[i]);
12647
- if (isNumber$1(richTextConfig.text) && (richTextConfig.text = `${richTextConfig.text}`), richTextConfig.text && richTextConfig.text.includes("\n")) {
12707
+ if (isNumber$2(richTextConfig.text) && (richTextConfig.text = `${richTextConfig.text}`), richTextConfig.text && richTextConfig.text.includes("\n")) {
12648
12708
  const textParts = richTextConfig.text.split("\n");
12649
12709
  for (let j = 0; j < textParts.length; j++) if (0 === j) paragraphs.push(new Paragraph(textParts[j], !1, richTextConfig, ascentDescentMode));else if (textParts[j] || i === textConfig.length - 1) paragraphs.push(new Paragraph(textParts[j], !0, richTextConfig, ascentDescentMode));else {
12650
12710
  const nextRichTextConfig = this.combinedStyleToCharacter(textConfig[i + 1]);
@@ -12933,7 +12993,7 @@ class Arc extends Graphic {
12933
12993
  } = this.attribute;
12934
12994
  if (outerRadius += outerPadding, innerRadius -= innerPadding, 0 === cornerRadius || "0%" === cornerRadius) return 0;
12935
12995
  const deltaRadius = Math.abs(outerRadius - innerRadius),
12936
- parseCR = cornerRadius => Math.min(isNumber$1(cornerRadius, !0) ? cornerRadius : deltaRadius * parseFloat(cornerRadius) / 100, deltaRadius / 2);
12996
+ parseCR = cornerRadius => Math.min(isNumber$2(cornerRadius, !0) ? cornerRadius : deltaRadius * parseFloat(cornerRadius) / 100, deltaRadius / 2);
12937
12997
  if (isArray$1(cornerRadius)) {
12938
12998
  const crList = cornerRadius.map(cr => parseCR(cr) || 0);
12939
12999
  return 0 === crList.length ? [crList[0], crList[0], crList[0], crList[0]] : 2 === crList.length ? [crList[0], crList[1], crList[0], crList[1]] : (3 === crList.length && crList.push(0), crList);
@@ -13937,7 +13997,7 @@ function createRectPath(path, x, y, width, height, rectCornerRadius) {
13937
13997
  let roundCorner = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : !0;
13938
13998
  let edgeCb = arguments.length > 7 ? arguments[7] : undefined;
13939
13999
  let cornerRadius;
13940
- if (Array.isArray(roundCorner) && (edgeCb = roundCorner, roundCorner = !0), width < 0 && (x += width, width = -width), height < 0 && (y += height, height = -height), isNumber$1(rectCornerRadius, !0)) cornerRadius = [rectCornerRadius = abs(rectCornerRadius), rectCornerRadius, rectCornerRadius, rectCornerRadius];else if (Array.isArray(rectCornerRadius)) {
14000
+ if (Array.isArray(roundCorner) && (edgeCb = roundCorner, roundCorner = !0), width < 0 && (x += width, width = -width), height < 0 && (y += height, height = -height), isNumber$2(rectCornerRadius, !0)) cornerRadius = [rectCornerRadius = abs(rectCornerRadius), rectCornerRadius, rectCornerRadius, rectCornerRadius];else if (Array.isArray(rectCornerRadius)) {
13941
14001
  const cornerRadiusArr = rectCornerRadius;
13942
14002
  let cr0, cr1;
13943
14003
  switch (cornerRadiusArr.length) {
@@ -14213,6 +14273,9 @@ class BaseRender {
14213
14273
  init(contributions) {
14214
14274
  contributions && (this._renderContribitions = contributions.getContributions()), this._renderContribitions || (this._renderContribitions = []), this.builtinContributions || (this.builtinContributions = []), this.builtinContributions.push(defaultBaseClipRenderBeforeContribution), this.builtinContributions.push(defaultBaseClipRenderAfterContribution), this.builtinContributions.forEach(item => this._renderContribitions.push(item)), this._renderContribitions.length && (this._renderContribitions.sort((a, b) => b.order - a.order), this._beforeRenderContribitions = this._renderContribitions.filter(c => c.time === BaseRenderContributionTime.beforeFillStroke), this._afterRenderContribitions = this._renderContribitions.filter(c => c.time === BaseRenderContributionTime.afterFillStroke));
14215
14275
  }
14276
+ reInit() {
14277
+ this.init(this.graphicRenderContributions);
14278
+ }
14216
14279
  beforeRenderStep(graphic, context, x, y, doFill, doStroke, fVisible, sVisible, graphicAttribute, drawContext, fillCb, strokeCb, params) {
14217
14280
  this._beforeRenderContribitions && this._beforeRenderContribitions.forEach(c => {
14218
14281
  if (c.supportedAppName && graphic.stage && graphic.stage.params && graphic.stage.params.context && graphic.stage.params.context.appName) {
@@ -14382,8 +14445,8 @@ var __decorate$1D = undefined && undefined.__decorate || function (decorators, t
14382
14445
  };
14383
14446
  };
14384
14447
  let DefaultCanvasArcRender = class extends BaseRender {
14385
- constructor(arcRenderContribitions) {
14386
- super(), this.arcRenderContribitions = arcRenderContribitions, this.numberType = ARC_NUMBER_TYPE, this.builtinContributions = [defaultArcRenderContribution, defaultArcBackgroundRenderContribution, defaultArcTextureRenderContribution], this.init(arcRenderContribitions);
14448
+ constructor(graphicRenderContributions) {
14449
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = ARC_NUMBER_TYPE, this.builtinContributions = [defaultArcRenderContribution, defaultArcBackgroundRenderContribution, defaultArcTextureRenderContribution], this.init(graphicRenderContributions);
14387
14450
  }
14388
14451
  drawArcTailCapPath(arc, context, cx, cy, outerRadius, innerRadius, _sa, _ea) {
14389
14452
  const capAngle = _ea - _sa,
@@ -14554,8 +14617,8 @@ var __decorate$1C = undefined && undefined.__decorate || function (decorators, t
14554
14617
  };
14555
14618
  };
14556
14619
  let DefaultCanvasCircleRender = class extends BaseRender {
14557
- constructor(circleRenderContribitions) {
14558
- super(), this.circleRenderContribitions = circleRenderContribitions, this.numberType = CIRCLE_NUMBER_TYPE, this.builtinContributions = [defaultCircleRenderContribution, defaultCircleBackgroundRenderContribution, defaultCircleTextureRenderContribution], this.init(circleRenderContribitions);
14620
+ constructor(graphicRenderContributions) {
14621
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = CIRCLE_NUMBER_TYPE, this.builtinContributions = [defaultCircleRenderContribution, defaultCircleBackgroundRenderContribution, defaultCircleTextureRenderContribution], this.init(graphicRenderContributions);
14559
14622
  }
14560
14623
  drawShape(circle, context, x, y, drawContext, params, fillCb, strokeCb) {
14561
14624
  const circleAttribute = getTheme(circle, null == params ? void 0 : params.theme).circle,
@@ -14941,8 +15004,8 @@ var __decorate$1A = undefined && undefined.__decorate || function (decorators, t
14941
15004
  };
14942
15005
  };
14943
15006
  let DefaultCanvasAreaRender = class extends BaseRender {
14944
- constructor(areaRenderContribitions) {
14945
- super(), this.areaRenderContribitions = areaRenderContribitions, this.numberType = AREA_NUMBER_TYPE, this.builtinContributions = [defaultAreaTextureRenderContribution, defaultAreaBackgroundRenderContribution], this.init(areaRenderContribitions);
15007
+ constructor(graphicRenderContributions) {
15008
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = AREA_NUMBER_TYPE, this.builtinContributions = [defaultAreaTextureRenderContribution, defaultAreaBackgroundRenderContribution], this.init(graphicRenderContributions);
14946
15009
  }
14947
15010
  drawLinearAreaHighPerformance(area, context, fill, stroke, fillOpacity, strokeOpacity, offsetX, offsetY, areaAttribute, drawContext, params, fillCb, strokeCb) {
14948
15011
  var _a, _b, _c;
@@ -15185,8 +15248,8 @@ var __decorate$1z = undefined && undefined.__decorate || function (decorators, t
15185
15248
  };
15186
15249
  };
15187
15250
  let DefaultCanvasPathRender = class extends BaseRender {
15188
- constructor(pathRenderContribitions) {
15189
- super(), this.pathRenderContribitions = pathRenderContribitions, this.numberType = PATH_NUMBER_TYPE, this.builtinContributions = [defaultPathBackgroundRenderContribution, defaultPathTextureRenderContribution], this.init(pathRenderContribitions);
15251
+ constructor(graphicRenderContributions) {
15252
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = PATH_NUMBER_TYPE, this.builtinContributions = [defaultPathBackgroundRenderContribution, defaultPathTextureRenderContribution], this.init(graphicRenderContributions);
15190
15253
  }
15191
15254
  drawShape(path, context, x, y, drawContext, params, fillCb, strokeCb) {
15192
15255
  var _a, _b, _c;
@@ -15241,8 +15304,8 @@ var __decorate$1y = undefined && undefined.__decorate || function (decorators, t
15241
15304
  };
15242
15305
  };
15243
15306
  let DefaultCanvasRectRender = class extends BaseRender {
15244
- constructor(rectRenderContribitions) {
15245
- super(), this.rectRenderContribitions = rectRenderContribitions, this.type = "rect", this.numberType = RECT_NUMBER_TYPE, this.builtinContributions = [defaultRectRenderContribution, defaultRectBackgroundRenderContribution, defaultRectTextureRenderContribution], this.init(rectRenderContribitions);
15307
+ constructor(graphicRenderContributions) {
15308
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.type = "rect", this.numberType = RECT_NUMBER_TYPE, this.builtinContributions = [defaultRectRenderContribution, defaultRectBackgroundRenderContribution, defaultRectTextureRenderContribution], this.init(graphicRenderContributions);
15246
15309
  }
15247
15310
  drawShape(rect, context, x, y, drawContext, params, fillCb, strokeCb, rectAttribute) {
15248
15311
  rectAttribute = null != rectAttribute ? rectAttribute : getTheme(rect, null == params ? void 0 : params.theme).rect;
@@ -15311,8 +15374,8 @@ var __decorate$1x = undefined && undefined.__decorate || function (decorators, t
15311
15374
  };
15312
15375
  };
15313
15376
  let DefaultCanvasSymbolRender = class extends BaseRender {
15314
- constructor(symbolRenderContribitions) {
15315
- super(), this.symbolRenderContribitions = symbolRenderContribitions, this.numberType = SYMBOL_NUMBER_TYPE, this.builtinContributions = [defaultSymbolRenderContribution, defaultSymbolBackgroundRenderContribution, defaultSymbolTextureRenderContribution, defaultSymbolClipRangeStrokeRenderContribution], this.init(symbolRenderContribitions);
15377
+ constructor(graphicRenderContributions) {
15378
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = SYMBOL_NUMBER_TYPE, this.builtinContributions = [defaultSymbolRenderContribution, defaultSymbolBackgroundRenderContribution, defaultSymbolTextureRenderContribution, defaultSymbolClipRangeStrokeRenderContribution], this.init(graphicRenderContributions);
15316
15379
  }
15317
15380
  drawShape(symbol, context, x, y, drawContext, params, fillCb, strokeCb, symbolAttribute) {
15318
15381
  var _a;
@@ -15482,8 +15545,8 @@ var __decorate$1w = undefined && undefined.__decorate || function (decorators, t
15482
15545
  };
15483
15546
  };
15484
15547
  let DefaultCanvasTextRender = class extends BaseRender {
15485
- constructor(textRenderContribitions) {
15486
- super(), this.textRenderContribitions = textRenderContribitions, this.numberType = TEXT_NUMBER_TYPE, this.builtinContributions = [defaultTextBackgroundRenderContribution], this.init(textRenderContribitions);
15548
+ constructor(graphicRenderContributions) {
15549
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = TEXT_NUMBER_TYPE, this.builtinContributions = [defaultTextBackgroundRenderContribution], this.init(graphicRenderContributions);
15487
15550
  }
15488
15551
  drawShape(text, context, x, y, drawContext, params, fillCb, strokeCb) {
15489
15552
  var _a, _b, _c;
@@ -15697,8 +15760,8 @@ var __decorate$1u = undefined && undefined.__decorate || function (decorators, t
15697
15760
  };
15698
15761
  };
15699
15762
  let DefaultCanvasPolygonRender = class extends BaseRender {
15700
- constructor(polygonRenderContribitions) {
15701
- super(), this.polygonRenderContribitions = polygonRenderContribitions, this.numberType = POLYGON_NUMBER_TYPE, this.builtinContributions = [defaultPolygonBackgroundRenderContribution, defaultPolygonTextureRenderContribution], this.init(polygonRenderContribitions);
15763
+ constructor(graphicRenderContributions) {
15764
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = POLYGON_NUMBER_TYPE, this.builtinContributions = [defaultPolygonBackgroundRenderContribution, defaultPolygonTextureRenderContribution], this.init(graphicRenderContributions);
15702
15765
  }
15703
15766
  drawShape(polygon, context, x, y, drawContext, params, fillCb, strokeCb) {
15704
15767
  const polygonAttribute = getTheme(polygon, null == params ? void 0 : params.theme).polygon,
@@ -15753,6 +15816,9 @@ let DefaultCanvasGroupRender = class {
15753
15816
  constructor(groupRenderContribitions) {
15754
15817
  this.groupRenderContribitions = groupRenderContribitions, this.numberType = GROUP_NUMBER_TYPE;
15755
15818
  }
15819
+ reInit() {
15820
+ this._groupRenderContribitions = this.groupRenderContribitions.getContributions() || [], this._groupRenderContribitions.push(defaultGroupBackgroundRenderContribution);
15821
+ }
15756
15822
  drawShape(group, context, x, y, drawContext, params, fillCb, strokeCb, groupAttribute) {
15757
15823
  const {
15758
15824
  clip: clip,
@@ -15895,8 +15961,8 @@ var __decorate$1s = undefined && undefined.__decorate || function (decorators, t
15895
15961
  };
15896
15962
  const repeatStr = ["", "repeat-x", "repeat-y", "repeat"];
15897
15963
  let DefaultCanvasImageRender = class extends BaseRender {
15898
- constructor(imageRenderContribitions) {
15899
- super(), this.imageRenderContribitions = imageRenderContribitions, this.numberType = IMAGE_NUMBER_TYPE, this.builtinContributions = [defaultImageRenderContribution, defaultImageBackgroundRenderContribution], this.init(imageRenderContribitions);
15964
+ constructor(graphicRenderContributions) {
15965
+ super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = IMAGE_NUMBER_TYPE, this.builtinContributions = [defaultImageRenderContribution, defaultImageBackgroundRenderContribution], this.init(graphicRenderContributions);
15900
15966
  }
15901
15967
  drawShape(image, context, x, y, drawContext, params, fillCb, strokeCb) {
15902
15968
  const imageAttribute = getTheme(image).image,
@@ -16227,6 +16293,9 @@ let DefaultRenderService = class {
16227
16293
  afterDraw(params) {
16228
16294
  this.drawContribution.afterDraw && this.drawContribution.afterDraw(this, Object.assign({}, this.drawParams));
16229
16295
  }
16296
+ reInit() {
16297
+ this.drawContribution.reInit();
16298
+ }
16230
16299
  render(groups, params) {
16231
16300
  this.renderTreeRoots = groups, this.drawParams = params;
16232
16301
  const updateBounds = params.updateBounds;
@@ -16637,6 +16706,11 @@ let DefaultDrawContribution = class {
16637
16706
  }, !1, !!(null === (_a = drawContext.context) || void 0 === _a ? void 0 : _a.camera));
16638
16707
  }, this.currentRenderMap = new Map(), this.defaultRenderMap = new Map(), this.styleRenderMap = new Map(), this.dirtyBounds = new Bounds(), this.backupDirtyBounds = new Bounds(), this.global = application.global, this.layerService = application.layerService, isArray$1(this.contributions) || (this.contributions = [this.contributions]), this.init();
16639
16708
  }
16709
+ reInit() {
16710
+ this.init(), this.contributions.forEach(item => {
16711
+ item.reInit();
16712
+ });
16713
+ }
16640
16714
  init() {
16641
16715
  this.contributions.forEach(item => {
16642
16716
  if (item.style) {
@@ -17780,6 +17854,9 @@ class Stage extends Group {
17780
17854
  getPickerService() {
17781
17855
  return this.pickerService || (this.pickerService = container.get(PickerService)), this.pickerService;
17782
17856
  }
17857
+ reInit() {
17858
+ this.renderService.reInit(), this.pickerService.reInit();
17859
+ }
17783
17860
  }
17784
17861
 
17785
17862
  function createStage(params) {
@@ -18058,6 +18135,9 @@ let DefaultPickService = class {
18058
18135
  constructor(pickItemInterceptorContributions, pickServiceInterceptorContributions) {
18059
18136
  this.pickItemInterceptorContributions = pickItemInterceptorContributions, this.pickServiceInterceptorContributions = pickServiceInterceptorContributions, this.type = "default", this.global = application.global;
18060
18137
  }
18138
+ reInit() {
18139
+ this._init();
18140
+ }
18061
18141
  _init() {
18062
18142
  this.InterceptorContributions = this.pickItemInterceptorContributions.getContributions().sort((a, b) => a.order - b.order), this.pickerServiceInterceptorContributions = this.pickServiceInterceptorContributions.getContributions().sort((a, b) => a.order - b.order);
18063
18143
  }
@@ -18172,6 +18252,7 @@ let DefaultGlobalPickerService = class {
18172
18252
  this.configure(global, env);
18173
18253
  }), this.configure(this.global, this.global.env);
18174
18254
  }
18255
+ reInit() {}
18175
18256
  configure(global, env) {}
18176
18257
  pick(graphics, point, params) {
18177
18258
  let result = {
@@ -18556,7 +18637,7 @@ const splitCircle = (arc, count) => {
18556
18637
  return res;
18557
18638
  };
18558
18639
  const samplingPoints = (points, count) => {
18559
- const validatePoints = points.filter(point => !1 !== point.defined && isNumber$1(point.x) && isNumber$1(point.y));
18640
+ const validatePoints = points.filter(point => !1 !== point.defined && isNumber$2(point.x) && isNumber$2(point.y));
18560
18641
  if (0 === validatePoints.length) return [];
18561
18642
  if (1 === validatePoints.length) return new Array(count).fill(0).map(i => validatePoints[0]);
18562
18643
  const res = [];
@@ -18592,7 +18673,7 @@ const splitArea = (area, count) => {
18592
18673
  var _a;
18593
18674
  return res.concat(null !== (_a = seg.points) && void 0 !== _a ? _a : []);
18594
18675
  }, []));
18595
- const validatePoints = points.filter(point => !1 !== point.defined && isNumber$1(point.x) && isNumber$1(point.y));
18676
+ const validatePoints = points.filter(point => !1 !== point.defined && isNumber$2(point.x) && isNumber$2(point.y));
18596
18677
  if (!validatePoints.length) return [];
18597
18678
  const allPoints = [];
18598
18679
  validatePoints.forEach(point => {
@@ -18756,6 +18837,80 @@ const splitPath = (path, count) => {
18756
18837
  return res;
18757
18838
  };
18758
18839
 
18840
+ function isIdentityMatrix(matrix) {
18841
+ return 1 === matrix.a && 0 === matrix.b && 0 === matrix.c && 1 === matrix.d && 0 === matrix.e && 0 === matrix.f;
18842
+ }
18843
+ function createEventTransformer(containerElement, getMatrix, getRect, transformPoint) {
18844
+ return event => {
18845
+ if (!(event instanceof MouseEvent || event instanceof TouchEvent || event instanceof PointerEvent)) return event;
18846
+ const transformMatrix = getMatrix();
18847
+ if (isIdentityMatrix(transformMatrix)) return event;
18848
+ const containerRect = getRect(),
18849
+ transformedEvent = new event.constructor(event.type, event);
18850
+ if (Object.defineProperties(transformedEvent, {
18851
+ target: {
18852
+ value: event.target
18853
+ },
18854
+ currentTarget: {
18855
+ value: event.currentTarget
18856
+ }
18857
+ }), event instanceof MouseEvent || event instanceof PointerEvent) transformPoint(event.clientX, event.clientY, transformMatrix, containerRect, transformedEvent);else if (event instanceof TouchEvent) {
18858
+ if (event.touches.length > 0) {
18859
+ const touch = transformedEvent.touches[0];
18860
+ transformPoint(touch.clientX, touch.clientY, transformMatrix, containerRect, touch);
18861
+ }
18862
+ if (event.changedTouches.length > 0) {
18863
+ const touch = transformedEvent.changedTouches[0];
18864
+ transformPoint(touch.clientX, touch.clientY, transformMatrix, containerRect, touch);
18865
+ }
18866
+ }
18867
+ return transformedEvent;
18868
+ };
18869
+ }
18870
+ function createCanvasEventTransformer(canvasElement, getMatrix, getRect, transformPoint) {
18871
+ return createEventTransformer(canvasElement.parentElement || canvasElement, getMatrix, getRect, transformPoint);
18872
+ }
18873
+ function registerWindowEventTransformer(window, container, getMatrix, getRect, transformPoint) {
18874
+ const transformer = createEventTransformer(container, getMatrix, getRect, transformPoint);
18875
+ window.setEventListenerTransformer(transformer);
18876
+ }
18877
+ function registerGlobalEventTransformer(global, container, getMatrix, getRect, transformPoint) {
18878
+ const transformer = createEventTransformer(container, getMatrix, getRect, transformPoint);
18879
+ global.setEventListenerTransformer(transformer);
18880
+ }
18881
+ function transformPointForCanvas(clientX, clientY, matrix, rect, transformedEvent) {
18882
+ const transformedPoint = {
18883
+ x: clientX,
18884
+ y: clientY
18885
+ };
18886
+ matrix.transformPoint(transformedPoint, transformedPoint), Object.defineProperties(transformedEvent, {
18887
+ _canvasX: {
18888
+ value: transformedPoint.x
18889
+ },
18890
+ _canvasY: {
18891
+ value: transformedPoint.y
18892
+ }
18893
+ });
18894
+ }
18895
+ function mapToCanvasPointForCanvas(nativeEvent) {
18896
+ var _a;
18897
+ if (isNumber(nativeEvent._canvasX) && isNumber(nativeEvent._canvasY)) return {
18898
+ x: nativeEvent._canvasX,
18899
+ y: nativeEvent._canvasY
18900
+ };
18901
+ if (nativeEvent.changedTouches) {
18902
+ const data = null !== (_a = nativeEvent.changedTouches[0]) && void 0 !== _a ? _a : {};
18903
+ return {
18904
+ x: data._canvasX,
18905
+ y: data._canvasY
18906
+ };
18907
+ }
18908
+ return {
18909
+ x: nativeEvent._canvasX || 0,
18910
+ y: nativeEvent._canvasY || 0
18911
+ };
18912
+ }
18913
+
18759
18914
  var __rest$1 = undefined && undefined.__rest || function (s, e) {
18760
18915
  var t = {};
18761
18916
  for (var p in s) Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0 && (t[p] = s[p]);
@@ -19968,6 +20123,7 @@ let DefaultCanvasGlyphRender = class {
19968
20123
  constructor() {
19969
20124
  this.numberType = GLYPH_NUMBER_TYPE;
19970
20125
  }
20126
+ reInit() {}
19971
20127
  drawShape(glyph, context, x, y, drawContext, params, fillCb, strokeCb) {
19972
20128
  drawContext.drawContribution && glyph.getSubGraphic().forEach(item => {
19973
20129
  const renderer = drawContext.drawContribution.getRenderContribution(item);
@@ -22973,6 +23129,10 @@ class RoughBaseRender {
22973
23129
  };
22974
23130
  this.canvasRenderer.drawShape(graphic, roughContext, 0, 0, drawContext, params, () => (doRender(), !1), () => (doRender(), !1)), context.restore();
22975
23131
  }
23132
+ reInit() {
23133
+ var _a;
23134
+ null === (_a = this.canvasRenderer) || void 0 === _a || _a.reInit();
23135
+ }
22976
23136
  }
22977
23137
 
22978
23138
  var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -25585,7 +25745,7 @@ class RectPickerBase {
25585
25745
  x += point.x, y += point.y, pickContext.setTransformForCurrent();
25586
25746
  } else x = 0, y = 0, onlyTranslate = !1, pickContext.transformFromMatrix(rect.transMatrix, !0);
25587
25747
  let picked = !0;
25588
- if (!onlyTranslate || rect.shadowRoot || isNumber$1(cornerRadius, !0) && 0 !== cornerRadius || isArray$1(cornerRadius) && cornerRadius.some(num => 0 !== num)) picked = !1, this.canvasRenderer.drawShape(rect, pickContext, x, y, {}, null, (context, rectAttribute, themeAttribute) => !!picked || (picked = context.isPointInPath(point.x, point.y), picked), (context, rectAttribute, themeAttribute) => {
25748
+ if (!onlyTranslate || rect.shadowRoot || isNumber$2(cornerRadius, !0) && 0 !== cornerRadius || isArray$1(cornerRadius) && cornerRadius.some(num => 0 !== num)) picked = !1, this.canvasRenderer.drawShape(rect, pickContext, x, y, {}, null, (context, rectAttribute, themeAttribute) => !!picked || (picked = context.isPointInPath(point.x, point.y), picked), (context, rectAttribute, themeAttribute) => {
25589
25749
  if (picked) return !0;
25590
25750
  const lineWidth = rectAttribute.lineWidth || themeAttribute.lineWidth,
25591
25751
  pickStrokeBuffer = rectAttribute.pickStrokeBuffer || themeAttribute.pickStrokeBuffer,
@@ -32400,6 +32560,9 @@ class TagPointsUpdate extends ACustomAnimate {
32400
32560
  isValidNumber$1(lastClipRange * this.clipRange) && (this.clipRange *= lastClipRange);
32401
32561
  }
32402
32562
  onUpdate(end, ratio, out) {
32563
+ if (end) return Object.keys(this.to).forEach(k => {
32564
+ this.target.attribute[k] = this.to[k];
32565
+ }), this.target.addUpdatePositionTag(), void this.target.addUpdateShapeAndBoundsTag();
32403
32566
  if (this.points = this.points.map((point, index) => {
32404
32567
  const newPoint = pointInterpolation(this.interpolatePoints[index][0], this.interpolatePoints[index][1], ratio);
32405
32568
  return newPoint.context = point.context, newPoint;
@@ -32579,7 +32742,7 @@ const growAngleInIndividual = (graphic, options, animationParameters) => {
32579
32742
  growAngleInOverall = (graphic, options, animationParameters) => {
32580
32743
  const attrs = graphic.getFinalAttribute();
32581
32744
  if (options && "anticlockwise" === options.orient) {
32582
- const overallValue = isNumber$1(options.overall) ? options.overall : 2 * Math.PI;
32745
+ const overallValue = isNumber$2(options.overall) ? options.overall : 2 * Math.PI;
32583
32746
  return {
32584
32747
  from: {
32585
32748
  startAngle: overallValue,
@@ -32591,7 +32754,7 @@ const growAngleInIndividual = (graphic, options, animationParameters) => {
32591
32754
  }
32592
32755
  };
32593
32756
  }
32594
- const overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0;
32757
+ const overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
32595
32758
  return {
32596
32759
  from: {
32597
32760
  startAngle: overallValue,
@@ -32628,7 +32791,7 @@ const growAngleOutIndividual = (graphic, options, animationParameters) => {
32628
32791
  growAngleOutOverall = (graphic, options, animationParameters) => {
32629
32792
  const attrs = graphic.attribute;
32630
32793
  if (options && "anticlockwise" === options.orient) {
32631
- const overallValue = isNumber$1(options.overall) ? options.overall : 2 * Math.PI;
32794
+ const overallValue = isNumber$2(options.overall) ? options.overall : 2 * Math.PI;
32632
32795
  return {
32633
32796
  from: {
32634
32797
  startAngle: attrs.startAngle,
@@ -32640,7 +32803,7 @@ const growAngleOutIndividual = (graphic, options, animationParameters) => {
32640
32803
  }
32641
32804
  };
32642
32805
  }
32643
- const overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0;
32806
+ const overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
32644
32807
  return {
32645
32808
  from: {
32646
32809
  startAngle: attrs.startAngle,
@@ -32916,7 +33079,7 @@ function growHeightInOverall(graphic, options, animationParameters) {
32916
33079
  y1 = attrs.y1,
32917
33080
  height = attrs.height;
32918
33081
  let overallValue;
32919
- return options && "negative" === options.orient ? isNumber$1(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_c = null !== (_a = animationParameters.groupHeight) && void 0 !== _a ? _a : null === (_b = options.layoutRect) || void 0 === _b ? void 0 : _b.height) && void 0 !== _c ? _c : animationParameters.group.getBounds().height(), animationParameters.groupHeight = overallValue) : overallValue = animationParameters.height : overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0, {
33082
+ return options && "negative" === options.orient ? isNumber$2(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_c = null !== (_a = animationParameters.groupHeight) && void 0 !== _a ? _a : null === (_b = options.layoutRect) || void 0 === _b ? void 0 : _b.height) && void 0 !== _c ? _c : animationParameters.group.getBounds().height(), animationParameters.groupHeight = overallValue) : overallValue = animationParameters.height : overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0, {
32920
33083
  from: {
32921
33084
  y: overallValue,
32922
33085
  y1: isNil$1(y1) ? void 0 : overallValue,
@@ -32989,7 +33152,7 @@ function growHeightOutOverall(graphic, options, animationParameters) {
32989
33152
  y1 = attrs.y1,
32990
33153
  height = attrs.height;
32991
33154
  let overallValue;
32992
- return options && "negative" === options.orient ? isNumber$1(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_c = null !== (_a = animationParameters.groupHeight) && void 0 !== _a ? _a : null === (_b = options.layoutRect) || void 0 === _b ? void 0 : _b.height) && void 0 !== _c ? _c : animationParameters.group.getBounds().height(), animationParameters.groupHeight = overallValue) : overallValue = animationParameters.height : overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0, {
33155
+ return options && "negative" === options.orient ? isNumber$2(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_c = null !== (_a = animationParameters.groupHeight) && void 0 !== _a ? _a : null === (_b = options.layoutRect) || void 0 === _b ? void 0 : _b.height) && void 0 !== _c ? _c : animationParameters.group.getBounds().height(), animationParameters.groupHeight = overallValue) : overallValue = animationParameters.height : overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0, {
32993
33156
  to: {
32994
33157
  y: overallValue,
32995
33158
  y1: isNil$1(y1) ? void 0 : overallValue,
@@ -33235,7 +33398,7 @@ const growRadiusInIndividual = (graphic, options, animationParameters) => {
33235
33398
  },
33236
33399
  growRadiusInOverall = (graphic, options, animationParameters) => {
33237
33400
  const attrs = graphic.getFinalAttribute(),
33238
- overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0;
33401
+ overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
33239
33402
  return {
33240
33403
  from: {
33241
33404
  innerRadius: overallValue,
@@ -33271,7 +33434,7 @@ const growRadiusOutIndividual = (graphic, options, animationParameters) => {
33271
33434
  },
33272
33435
  growRadiusOutOverall = (graphic, options, animationParameters) => {
33273
33436
  const attrs = graphic.getFinalAttribute(),
33274
- overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0;
33437
+ overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
33275
33438
  return {
33276
33439
  from: {
33277
33440
  innerRadius: null == attrs ? void 0 : attrs.innerRadius,
@@ -33360,7 +33523,7 @@ function growWidthInOverall(graphic, options, animationParameters) {
33360
33523
  x1 = attrs.x1,
33361
33524
  width = attrs.width;
33362
33525
  let overallValue;
33363
- return options && "negative" === options.orient ? isNumber$1(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_a = animationParameters.groupWidth) && void 0 !== _a ? _a : animationParameters.group.getBounds().width(), animationParameters.groupWidth = overallValue) : overallValue = animationParameters.width : overallValue = isNumber$1(null == options ? void 0 : options.overall) ? null == options ? void 0 : options.overall : 0, {
33526
+ return options && "negative" === options.orient ? isNumber$2(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_a = animationParameters.groupWidth) && void 0 !== _a ? _a : animationParameters.group.getBounds().width(), animationParameters.groupWidth = overallValue) : overallValue = animationParameters.width : overallValue = isNumber$2(null == options ? void 0 : options.overall) ? null == options ? void 0 : options.overall : 0, {
33364
33527
  from: {
33365
33528
  x: overallValue,
33366
33529
  x1: isNil$1(x1) ? void 0 : overallValue,
@@ -33407,7 +33570,7 @@ function growWidthOutOverall(graphic, options, animationParameters) {
33407
33570
  x1 = attrs.x1,
33408
33571
  width = attrs.width;
33409
33572
  let overallValue;
33410
- return options && "negative" === options.orient ? isNumber$1(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_a = animationParameters.groupWidth) && void 0 !== _a ? _a : animationParameters.group.getBounds().width(), animationParameters.groupWidth = overallValue) : overallValue = animationParameters.width : overallValue = isNumber$1(null == options ? void 0 : options.overall) ? options.overall : 0, {
33573
+ return options && "negative" === options.orient ? isNumber$2(options.overall) ? overallValue = options.overall : animationParameters.group ? (overallValue = null !== (_a = animationParameters.groupWidth) && void 0 !== _a ? _a : animationParameters.group.getBounds().width(), animationParameters.groupWidth = overallValue) : overallValue = animationParameters.width : overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0, {
33411
33574
  to: {
33412
33575
  x: overallValue,
33413
33576
  x1: isNil$1(x1) ? void 0 : overallValue,
@@ -35216,7 +35379,7 @@ const registerCustomAnimate = () => {
35216
35379
  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);
35217
35380
  };
35218
35381
 
35219
- const version = "1.0.0-alpha.16";
35382
+ const version = "1.0.0-alpha.18";
35220
35383
  preLoadAllModule();
35221
35384
  if (isBrowserEnv()) {
35222
35385
  loadBrowserEnv(container);
@@ -35250,4 +35413,4 @@ registerReactAttributePlugin();
35250
35413
  registerDirectionalLight();
35251
35414
  registerOrthoCamera();
35252
35415
 
35253
- export { AComponentAnimate, ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateExecutor, AnimateMode, AnimateStatus, Step as AnimateStep, AnimateStepType, AnimationStateManager, AnimationStateStore, AnimationStates, AnimationTransitionRegistry, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEnvContribution, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGifImagePicker, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasStarPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipIn, ClipOut, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, ComponentAnimator, Container, ContainerModule, Context2dFactory, ContributionProvider, CubicBezierCurve, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeIn, FadeOut, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, FromTo, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GifImage, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicStateExtension, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowIn, GrowOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputRichText, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, LabelItemAppear, LabelItemDisappear, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, MonotoneX, MonotoneY, MorphingPath, MotionPath, MoveIn, MoveOut, MoveRotateIn, MoveRotateOut, MoveScaleIn, MoveScaleOut, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, OutputRichText, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PerformanceRAF, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, PoptipAppear, PoptipDisappear, PulseAnimate, Pyramid3d, Pyramid3dRender, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, RotateIn, RotateOut, STAR_NUMBER_TYPE, STATUS$1 as STATUS, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, ScaleIn, ScaleOut, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SlideIn, SlideOut, SlideOutRichText, SlideRichText, SpinIn, SpinOut, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, Star, StarRender, StarRenderContribution, State, StaticLayerHandlerContribution, Step$1 as Step, StepClosed, StreamLight, StrokeIn, StrokeOut, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TransformUtil, Update, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, alternatingWave, application, applyTransformOnBezierCurves, arc3dCanvasPickModule, arc3dModule, arcCanvasPickModule, arcMathPickModule, arcModule, areaCanvasPickModule, areaMathPickModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, browserEnvModule, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centerToCorner, centroidOfSubpath, circleBounds, circleCanvasPickModule, circleMathPickModule, circleModule, clock, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, container, cornerTangents, cornerToCenter, createArc, createArc3d, createArea, createCircle, createColor, createComponentAnimator, createConicalGradient, createGifImage, createGlyph, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createStar, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, diagonalCenterToEdge, diagonalTopLeftToBottomRight, diff, divideCubic, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, feishuEnvModule, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepClosedSegments, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, gifImageCanvasPickModule, gifImageModule, globalTheme, glyphCanvasPickModule, glyphMathPickModule, glyphModule, graphicCreator, graphicService, graphicUtil, harmonyEnvModule, identityMat4, imageCanvasPickModule, imageMathPickModule, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initWxEnv, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, interpolatePureColorArrayToStr, intersect, isBrowserEnv, isNodeEnv, isSvg, isXML, jsx, layerService, lineCanvasPickModule, lineMathPickModule, lineModule, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadNodeEnv, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, lottieCanvasPickModule, lottieModule, lynxEnvModule, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, nodeEnvModule, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, particleEffect, pathCanvasPickModule, pathMathPickModule, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonCanvasPickModule, polygonMathPickModule, polygonModule, preLoadAllModule, pulseWave, pyramid3dCanvasPickModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, randomOpacity, rect3dCanvasPickModule, rect3dModule, rectCanvasPickModule, rectFillVisible, rectMathPickModule, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerAnimate, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerCustomAnimate, registerDirectionalLight, registerFlexLayoutPlugin, registerGifGraphic, registerGifImage, registerGlyph, registerGlyphGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineGraphic, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerStar, registerStarGraphic, registerSymbol, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWrapText, registerWrapTextGraphic, renderCommandList, renderService, rewriteProto, richTextMathPickModule, richtextCanvasPickModule, richtextModule, rippleEffect, rotateX, rotateY, rotateZ, rotationScan, roughModule, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snakeWave, snapLength, spiralEffect, splitArc, splitArea, splitCircle, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformMat4, transformUtil, transitionRegistry, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };
35416
+ export { AComponentAnimate, ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateExecutor, AnimateMode, AnimateStatus, Step as AnimateStep, AnimateStepType, AnimationStateManager, AnimationStateStore, AnimationStates, AnimationTransitionRegistry, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEnvContribution, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGifImagePicker, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasStarPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipIn, ClipOut, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, ComponentAnimator, Container, ContainerModule, Context2dFactory, ContributionProvider, ContributionStore, CubicBezierCurve, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeIn, FadeOut, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, FromTo, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GifImage, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicStateExtension, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowIn, GrowOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputRichText, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, LabelItemAppear, LabelItemDisappear, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, MonotoneX, MonotoneY, MorphingPath, MotionPath, MoveIn, MoveOut, MoveRotateIn, MoveRotateOut, MoveScaleIn, MoveScaleOut, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, OutputRichText, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PerformanceRAF, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, PoptipAppear, PoptipDisappear, PulseAnimate, Pyramid3d, Pyramid3dRender, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, RotateIn, RotateOut, STAR_NUMBER_TYPE, STATUS$1 as STATUS, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, ScaleIn, ScaleOut, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SlideIn, SlideOut, SlideOutRichText, SlideRichText, SpinIn, SpinOut, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, Star, StarRender, StarRenderContribution, State, StaticLayerHandlerContribution, Step$1 as Step, StepClosed, StreamLight, StrokeIn, StrokeOut, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TransformUtil, Update, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, alternatingWave, application, applyTransformOnBezierCurves, arc3dCanvasPickModule, arc3dModule, arcCanvasPickModule, arcMathPickModule, arcModule, areaCanvasPickModule, areaMathPickModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, browserEnvModule, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centerToCorner, centroidOfSubpath, circleBounds, circleCanvasPickModule, circleMathPickModule, circleModule, clock, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, container, cornerTangents, cornerToCenter, createArc, createArc3d, createArea, createCanvasEventTransformer, createCircle, createColor, createComponentAnimator, createConicalGradient, createEventTransformer, createGifImage, createGlyph, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createStar, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, diagonalCenterToEdge, diagonalTopLeftToBottomRight, diff, divideCubic, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, feishuEnvModule, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepClosedSegments, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, gifImageCanvasPickModule, gifImageModule, globalTheme, glyphCanvasPickModule, glyphMathPickModule, glyphModule, graphicCreator, graphicService, graphicUtil, harmonyEnvModule, identityMat4, imageCanvasPickModule, imageMathPickModule, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initWxEnv, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, interpolatePureColorArrayToStr, intersect, isBrowserEnv, isNodeEnv, isSvg, isXML, jsx, layerService, lineCanvasPickModule, lineMathPickModule, lineModule, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadNodeEnv, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, lottieCanvasPickModule, lottieModule, lynxEnvModule, mapToCanvasPointForCanvas, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, nodeEnvModule, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, particleEffect, pathCanvasPickModule, pathMathPickModule, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonCanvasPickModule, polygonMathPickModule, polygonModule, preLoadAllModule, pulseWave, pyramid3dCanvasPickModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, randomOpacity, rect3dCanvasPickModule, rect3dModule, rectCanvasPickModule, rectFillVisible, rectMathPickModule, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerAnimate, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerCustomAnimate, registerDirectionalLight, registerFlexLayoutPlugin, registerGifGraphic, registerGifImage, registerGlobalEventTransformer, registerGlyph, registerGlyphGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineGraphic, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerStar, registerStarGraphic, registerSymbol, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWindowEventTransformer, registerWrapText, registerWrapTextGraphic, renderCommandList, renderService, rewriteProto, richTextMathPickModule, richtextCanvasPickModule, richtextModule, rippleEffect, rotateX, rotateY, rotateZ, rotationScan, roughModule, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snakeWave, snapLength, spiralEffect, splitArc, splitArea, splitCircle, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformMat4, transformPointForCanvas, transformUtil, transitionRegistry, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };