@visactor/vrender 1.0.0-alpha.17 → 1.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.es.js +254 -89
- package/dist/index.js +260 -88
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +4 -4
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) {
|
|
@@ -589,10 +606,52 @@ class PerformanceRAF {
|
|
|
589
606
|
};
|
|
590
607
|
}
|
|
591
608
|
addAnimationFrameCb(callback) {
|
|
592
|
-
return this.nextAnimationFrameCbs.push(callback), this.tryRunAnimationFrameNextFrame(), this.nextAnimationFrameCbs.length
|
|
609
|
+
return this.nextAnimationFrameCbs.push(callback), this.tryRunAnimationFrameNextFrame(), this.nextAnimationFrameCbs.length;
|
|
593
610
|
}
|
|
594
611
|
removeAnimationFrameCb(index) {
|
|
595
|
-
return index
|
|
612
|
+
return index > 0 && index <= this.nextAnimationFrameCbs.length && (this.nextAnimationFrameCbs[index - 1] = null, !0);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
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");
|
|
596
655
|
}
|
|
597
656
|
}
|
|
598
657
|
|
|
@@ -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$
|
|
1290
|
+
var isNumber$2 = isNumber$1;
|
|
1232
1291
|
|
|
1233
|
-
const isValidNumber = value => isNumber$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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.
|
|
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
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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(
|
|
14386
|
-
super(), this.
|
|
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(
|
|
14558
|
-
super(), this.
|
|
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(
|
|
14945
|
-
super(), this.
|
|
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(
|
|
15189
|
-
super(), this.
|
|
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(
|
|
15245
|
-
super(), this.
|
|
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(
|
|
15315
|
-
super(), this.
|
|
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(
|
|
15486
|
-
super(), this.
|
|
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;
|
|
@@ -15628,8 +15691,10 @@ let AbstractGraphicRender = class {};
|
|
|
15628
15691
|
AbstractGraphicRender = __decorate$1v([injectable()], AbstractGraphicRender);
|
|
15629
15692
|
|
|
15630
15693
|
function drawPolygon(path, points, x, y) {
|
|
15631
|
-
|
|
15632
|
-
|
|
15694
|
+
if (points && points.length) {
|
|
15695
|
+
path.moveTo(points[0].x + x, points[0].y + y);
|
|
15696
|
+
for (let i = 1; i < points.length; i++) path.lineTo(points[i].x + x, points[i].y + y);
|
|
15697
|
+
}
|
|
15633
15698
|
}
|
|
15634
15699
|
function drawRoundedPolygon(path, points, x, y, cornerRadius) {
|
|
15635
15700
|
let closePath = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : !0;
|
|
@@ -15697,8 +15762,8 @@ var __decorate$1u = undefined && undefined.__decorate || function (decorators, t
|
|
|
15697
15762
|
};
|
|
15698
15763
|
};
|
|
15699
15764
|
let DefaultCanvasPolygonRender = class extends BaseRender {
|
|
15700
|
-
constructor(
|
|
15701
|
-
super(), this.
|
|
15765
|
+
constructor(graphicRenderContributions) {
|
|
15766
|
+
super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = POLYGON_NUMBER_TYPE, this.builtinContributions = [defaultPolygonBackgroundRenderContribution, defaultPolygonTextureRenderContribution], this.init(graphicRenderContributions);
|
|
15702
15767
|
}
|
|
15703
15768
|
drawShape(polygon, context, x, y, drawContext, params, fillCb, strokeCb) {
|
|
15704
15769
|
const polygonAttribute = getTheme(polygon, null == params ? void 0 : params.theme).polygon,
|
|
@@ -15753,6 +15818,9 @@ let DefaultCanvasGroupRender = class {
|
|
|
15753
15818
|
constructor(groupRenderContribitions) {
|
|
15754
15819
|
this.groupRenderContribitions = groupRenderContribitions, this.numberType = GROUP_NUMBER_TYPE;
|
|
15755
15820
|
}
|
|
15821
|
+
reInit() {
|
|
15822
|
+
this._groupRenderContribitions = this.groupRenderContribitions.getContributions() || [], this._groupRenderContribitions.push(defaultGroupBackgroundRenderContribution);
|
|
15823
|
+
}
|
|
15756
15824
|
drawShape(group, context, x, y, drawContext, params, fillCb, strokeCb, groupAttribute) {
|
|
15757
15825
|
const {
|
|
15758
15826
|
clip: clip,
|
|
@@ -15895,8 +15963,8 @@ var __decorate$1s = undefined && undefined.__decorate || function (decorators, t
|
|
|
15895
15963
|
};
|
|
15896
15964
|
const repeatStr = ["", "repeat-x", "repeat-y", "repeat"];
|
|
15897
15965
|
let DefaultCanvasImageRender = class extends BaseRender {
|
|
15898
|
-
constructor(
|
|
15899
|
-
super(), this.
|
|
15966
|
+
constructor(graphicRenderContributions) {
|
|
15967
|
+
super(), this.graphicRenderContributions = graphicRenderContributions, this.numberType = IMAGE_NUMBER_TYPE, this.builtinContributions = [defaultImageRenderContribution, defaultImageBackgroundRenderContribution], this.init(graphicRenderContributions);
|
|
15900
15968
|
}
|
|
15901
15969
|
drawShape(image, context, x, y, drawContext, params, fillCb, strokeCb) {
|
|
15902
15970
|
const imageAttribute = getTheme(image).image,
|
|
@@ -16227,6 +16295,9 @@ let DefaultRenderService = class {
|
|
|
16227
16295
|
afterDraw(params) {
|
|
16228
16296
|
this.drawContribution.afterDraw && this.drawContribution.afterDraw(this, Object.assign({}, this.drawParams));
|
|
16229
16297
|
}
|
|
16298
|
+
reInit() {
|
|
16299
|
+
this.drawContribution.reInit();
|
|
16300
|
+
}
|
|
16230
16301
|
render(groups, params) {
|
|
16231
16302
|
this.renderTreeRoots = groups, this.drawParams = params;
|
|
16232
16303
|
const updateBounds = params.updateBounds;
|
|
@@ -16637,6 +16708,11 @@ let DefaultDrawContribution = class {
|
|
|
16637
16708
|
}, !1, !!(null === (_a = drawContext.context) || void 0 === _a ? void 0 : _a.camera));
|
|
16638
16709
|
}, 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
16710
|
}
|
|
16711
|
+
reInit() {
|
|
16712
|
+
this.init(), this.contributions.forEach(item => {
|
|
16713
|
+
item.reInit();
|
|
16714
|
+
});
|
|
16715
|
+
}
|
|
16640
16716
|
init() {
|
|
16641
16717
|
this.contributions.forEach(item => {
|
|
16642
16718
|
if (item.style) {
|
|
@@ -17780,6 +17856,9 @@ class Stage extends Group {
|
|
|
17780
17856
|
getPickerService() {
|
|
17781
17857
|
return this.pickerService || (this.pickerService = container.get(PickerService)), this.pickerService;
|
|
17782
17858
|
}
|
|
17859
|
+
reInit() {
|
|
17860
|
+
this.renderService.reInit(), this.pickerService.reInit();
|
|
17861
|
+
}
|
|
17783
17862
|
}
|
|
17784
17863
|
|
|
17785
17864
|
function createStage(params) {
|
|
@@ -18058,6 +18137,9 @@ let DefaultPickService = class {
|
|
|
18058
18137
|
constructor(pickItemInterceptorContributions, pickServiceInterceptorContributions) {
|
|
18059
18138
|
this.pickItemInterceptorContributions = pickItemInterceptorContributions, this.pickServiceInterceptorContributions = pickServiceInterceptorContributions, this.type = "default", this.global = application.global;
|
|
18060
18139
|
}
|
|
18140
|
+
reInit() {
|
|
18141
|
+
this._init();
|
|
18142
|
+
}
|
|
18061
18143
|
_init() {
|
|
18062
18144
|
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
18145
|
}
|
|
@@ -18172,6 +18254,7 @@ let DefaultGlobalPickerService = class {
|
|
|
18172
18254
|
this.configure(global, env);
|
|
18173
18255
|
}), this.configure(this.global, this.global.env);
|
|
18174
18256
|
}
|
|
18257
|
+
reInit() {}
|
|
18175
18258
|
configure(global, env) {}
|
|
18176
18259
|
pick(graphics, point, params) {
|
|
18177
18260
|
let result = {
|
|
@@ -18556,7 +18639,7 @@ const splitCircle = (arc, count) => {
|
|
|
18556
18639
|
return res;
|
|
18557
18640
|
};
|
|
18558
18641
|
const samplingPoints = (points, count) => {
|
|
18559
|
-
const validatePoints = points.filter(point => !1 !== point.defined && isNumber$
|
|
18642
|
+
const validatePoints = points.filter(point => !1 !== point.defined && isNumber$2(point.x) && isNumber$2(point.y));
|
|
18560
18643
|
if (0 === validatePoints.length) return [];
|
|
18561
18644
|
if (1 === validatePoints.length) return new Array(count).fill(0).map(i => validatePoints[0]);
|
|
18562
18645
|
const res = [];
|
|
@@ -18592,7 +18675,7 @@ const splitArea = (area, count) => {
|
|
|
18592
18675
|
var _a;
|
|
18593
18676
|
return res.concat(null !== (_a = seg.points) && void 0 !== _a ? _a : []);
|
|
18594
18677
|
}, []));
|
|
18595
|
-
const validatePoints = points.filter(point => !1 !== point.defined && isNumber$
|
|
18678
|
+
const validatePoints = points.filter(point => !1 !== point.defined && isNumber$2(point.x) && isNumber$2(point.y));
|
|
18596
18679
|
if (!validatePoints.length) return [];
|
|
18597
18680
|
const allPoints = [];
|
|
18598
18681
|
validatePoints.forEach(point => {
|
|
@@ -18756,6 +18839,80 @@ const splitPath = (path, count) => {
|
|
|
18756
18839
|
return res;
|
|
18757
18840
|
};
|
|
18758
18841
|
|
|
18842
|
+
function isIdentityMatrix(matrix) {
|
|
18843
|
+
return 1 === matrix.a && 0 === matrix.b && 0 === matrix.c && 1 === matrix.d && 0 === matrix.e && 0 === matrix.f;
|
|
18844
|
+
}
|
|
18845
|
+
function createEventTransformer(containerElement, getMatrix, getRect, transformPoint) {
|
|
18846
|
+
return event => {
|
|
18847
|
+
if (!(event instanceof MouseEvent || event instanceof TouchEvent || event instanceof PointerEvent)) return event;
|
|
18848
|
+
const transformMatrix = getMatrix();
|
|
18849
|
+
if (isIdentityMatrix(transformMatrix)) return event;
|
|
18850
|
+
const containerRect = getRect(),
|
|
18851
|
+
transformedEvent = new event.constructor(event.type, event);
|
|
18852
|
+
if (Object.defineProperties(transformedEvent, {
|
|
18853
|
+
target: {
|
|
18854
|
+
value: event.target
|
|
18855
|
+
},
|
|
18856
|
+
currentTarget: {
|
|
18857
|
+
value: event.currentTarget
|
|
18858
|
+
}
|
|
18859
|
+
}), event instanceof MouseEvent || event instanceof PointerEvent) transformPoint(event.clientX, event.clientY, transformMatrix, containerRect, transformedEvent);else if (event instanceof TouchEvent) {
|
|
18860
|
+
if (event.touches.length > 0) {
|
|
18861
|
+
const touch = transformedEvent.touches[0];
|
|
18862
|
+
transformPoint(touch.clientX, touch.clientY, transformMatrix, containerRect, touch);
|
|
18863
|
+
}
|
|
18864
|
+
if (event.changedTouches.length > 0) {
|
|
18865
|
+
const touch = transformedEvent.changedTouches[0];
|
|
18866
|
+
transformPoint(touch.clientX, touch.clientY, transformMatrix, containerRect, touch);
|
|
18867
|
+
}
|
|
18868
|
+
}
|
|
18869
|
+
return transformedEvent;
|
|
18870
|
+
};
|
|
18871
|
+
}
|
|
18872
|
+
function createCanvasEventTransformer(canvasElement, getMatrix, getRect, transformPoint) {
|
|
18873
|
+
return createEventTransformer(canvasElement.parentElement || canvasElement, getMatrix, getRect, transformPoint);
|
|
18874
|
+
}
|
|
18875
|
+
function registerWindowEventTransformer(window, container, getMatrix, getRect, transformPoint) {
|
|
18876
|
+
const transformer = createEventTransformer(container, getMatrix, getRect, transformPoint);
|
|
18877
|
+
window.setEventListenerTransformer(transformer);
|
|
18878
|
+
}
|
|
18879
|
+
function registerGlobalEventTransformer(global, container, getMatrix, getRect, transformPoint) {
|
|
18880
|
+
const transformer = createEventTransformer(container, getMatrix, getRect, transformPoint);
|
|
18881
|
+
global.setEventListenerTransformer(transformer);
|
|
18882
|
+
}
|
|
18883
|
+
function transformPointForCanvas(clientX, clientY, matrix, rect, transformedEvent) {
|
|
18884
|
+
const transformedPoint = {
|
|
18885
|
+
x: clientX,
|
|
18886
|
+
y: clientY
|
|
18887
|
+
};
|
|
18888
|
+
matrix.transformPoint(transformedPoint, transformedPoint), Object.defineProperties(transformedEvent, {
|
|
18889
|
+
_canvasX: {
|
|
18890
|
+
value: transformedPoint.x
|
|
18891
|
+
},
|
|
18892
|
+
_canvasY: {
|
|
18893
|
+
value: transformedPoint.y
|
|
18894
|
+
}
|
|
18895
|
+
});
|
|
18896
|
+
}
|
|
18897
|
+
function mapToCanvasPointForCanvas(nativeEvent) {
|
|
18898
|
+
var _a;
|
|
18899
|
+
if (isNumber(nativeEvent._canvasX) && isNumber(nativeEvent._canvasY)) return {
|
|
18900
|
+
x: nativeEvent._canvasX,
|
|
18901
|
+
y: nativeEvent._canvasY
|
|
18902
|
+
};
|
|
18903
|
+
if (nativeEvent.changedTouches) {
|
|
18904
|
+
const data = null !== (_a = nativeEvent.changedTouches[0]) && void 0 !== _a ? _a : {};
|
|
18905
|
+
return {
|
|
18906
|
+
x: data._canvasX,
|
|
18907
|
+
y: data._canvasY
|
|
18908
|
+
};
|
|
18909
|
+
}
|
|
18910
|
+
return {
|
|
18911
|
+
x: nativeEvent._canvasX || 0,
|
|
18912
|
+
y: nativeEvent._canvasY || 0
|
|
18913
|
+
};
|
|
18914
|
+
}
|
|
18915
|
+
|
|
18759
18916
|
var __rest$1 = undefined && undefined.__rest || function (s, e) {
|
|
18760
18917
|
var t = {};
|
|
18761
18918
|
for (var p in s) Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0 && (t[p] = s[p]);
|
|
@@ -19968,6 +20125,7 @@ let DefaultCanvasGlyphRender = class {
|
|
|
19968
20125
|
constructor() {
|
|
19969
20126
|
this.numberType = GLYPH_NUMBER_TYPE;
|
|
19970
20127
|
}
|
|
20128
|
+
reInit() {}
|
|
19971
20129
|
drawShape(glyph, context, x, y, drawContext, params, fillCb, strokeCb) {
|
|
19972
20130
|
drawContext.drawContribution && glyph.getSubGraphic().forEach(item => {
|
|
19973
20131
|
const renderer = drawContext.drawContribution.getRenderContribution(item);
|
|
@@ -22973,6 +23131,10 @@ class RoughBaseRender {
|
|
|
22973
23131
|
};
|
|
22974
23132
|
this.canvasRenderer.drawShape(graphic, roughContext, 0, 0, drawContext, params, () => (doRender(), !1), () => (doRender(), !1)), context.restore();
|
|
22975
23133
|
}
|
|
23134
|
+
reInit() {
|
|
23135
|
+
var _a;
|
|
23136
|
+
null === (_a = this.canvasRenderer) || void 0 === _a || _a.reInit();
|
|
23137
|
+
}
|
|
22976
23138
|
}
|
|
22977
23139
|
|
|
22978
23140
|
var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
@@ -25585,7 +25747,7 @@ class RectPickerBase {
|
|
|
25585
25747
|
x += point.x, y += point.y, pickContext.setTransformForCurrent();
|
|
25586
25748
|
} else x = 0, y = 0, onlyTranslate = !1, pickContext.transformFromMatrix(rect.transMatrix, !0);
|
|
25587
25749
|
let picked = !0;
|
|
25588
|
-
if (!onlyTranslate || rect.shadowRoot || isNumber$
|
|
25750
|
+
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
25751
|
if (picked) return !0;
|
|
25590
25752
|
const lineWidth = rectAttribute.lineWidth || themeAttribute.lineWidth,
|
|
25591
25753
|
pickStrokeBuffer = rectAttribute.pickStrokeBuffer || themeAttribute.pickStrokeBuffer,
|
|
@@ -32400,6 +32562,9 @@ class TagPointsUpdate extends ACustomAnimate {
|
|
|
32400
32562
|
isValidNumber$1(lastClipRange * this.clipRange) && (this.clipRange *= lastClipRange);
|
|
32401
32563
|
}
|
|
32402
32564
|
onUpdate(end, ratio, out) {
|
|
32565
|
+
if (end) return Object.keys(this.to).forEach(k => {
|
|
32566
|
+
this.target.attribute[k] = this.to[k];
|
|
32567
|
+
}), this.target.addUpdatePositionTag(), void this.target.addUpdateShapeAndBoundsTag();
|
|
32403
32568
|
if (this.points = this.points.map((point, index) => {
|
|
32404
32569
|
const newPoint = pointInterpolation(this.interpolatePoints[index][0], this.interpolatePoints[index][1], ratio);
|
|
32405
32570
|
return newPoint.context = point.context, newPoint;
|
|
@@ -32579,7 +32744,7 @@ const growAngleInIndividual = (graphic, options, animationParameters) => {
|
|
|
32579
32744
|
growAngleInOverall = (graphic, options, animationParameters) => {
|
|
32580
32745
|
const attrs = graphic.getFinalAttribute();
|
|
32581
32746
|
if (options && "anticlockwise" === options.orient) {
|
|
32582
|
-
const overallValue = isNumber$
|
|
32747
|
+
const overallValue = isNumber$2(options.overall) ? options.overall : 2 * Math.PI;
|
|
32583
32748
|
return {
|
|
32584
32749
|
from: {
|
|
32585
32750
|
startAngle: overallValue,
|
|
@@ -32591,7 +32756,7 @@ const growAngleInIndividual = (graphic, options, animationParameters) => {
|
|
|
32591
32756
|
}
|
|
32592
32757
|
};
|
|
32593
32758
|
}
|
|
32594
|
-
const overallValue = isNumber$
|
|
32759
|
+
const overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
|
|
32595
32760
|
return {
|
|
32596
32761
|
from: {
|
|
32597
32762
|
startAngle: overallValue,
|
|
@@ -32628,7 +32793,7 @@ const growAngleOutIndividual = (graphic, options, animationParameters) => {
|
|
|
32628
32793
|
growAngleOutOverall = (graphic, options, animationParameters) => {
|
|
32629
32794
|
const attrs = graphic.attribute;
|
|
32630
32795
|
if (options && "anticlockwise" === options.orient) {
|
|
32631
|
-
const overallValue = isNumber$
|
|
32796
|
+
const overallValue = isNumber$2(options.overall) ? options.overall : 2 * Math.PI;
|
|
32632
32797
|
return {
|
|
32633
32798
|
from: {
|
|
32634
32799
|
startAngle: attrs.startAngle,
|
|
@@ -32640,7 +32805,7 @@ const growAngleOutIndividual = (graphic, options, animationParameters) => {
|
|
|
32640
32805
|
}
|
|
32641
32806
|
};
|
|
32642
32807
|
}
|
|
32643
|
-
const overallValue = isNumber$
|
|
32808
|
+
const overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
|
|
32644
32809
|
return {
|
|
32645
32810
|
from: {
|
|
32646
32811
|
startAngle: attrs.startAngle,
|
|
@@ -32916,7 +33081,7 @@ function growHeightInOverall(graphic, options, animationParameters) {
|
|
|
32916
33081
|
y1 = attrs.y1,
|
|
32917
33082
|
height = attrs.height;
|
|
32918
33083
|
let overallValue;
|
|
32919
|
-
return options && "negative" === options.orient ? isNumber$
|
|
33084
|
+
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
33085
|
from: {
|
|
32921
33086
|
y: overallValue,
|
|
32922
33087
|
y1: isNil$1(y1) ? void 0 : overallValue,
|
|
@@ -32989,7 +33154,7 @@ function growHeightOutOverall(graphic, options, animationParameters) {
|
|
|
32989
33154
|
y1 = attrs.y1,
|
|
32990
33155
|
height = attrs.height;
|
|
32991
33156
|
let overallValue;
|
|
32992
|
-
return options && "negative" === options.orient ? isNumber$
|
|
33157
|
+
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
33158
|
to: {
|
|
32994
33159
|
y: overallValue,
|
|
32995
33160
|
y1: isNil$1(y1) ? void 0 : overallValue,
|
|
@@ -33235,7 +33400,7 @@ const growRadiusInIndividual = (graphic, options, animationParameters) => {
|
|
|
33235
33400
|
},
|
|
33236
33401
|
growRadiusInOverall = (graphic, options, animationParameters) => {
|
|
33237
33402
|
const attrs = graphic.getFinalAttribute(),
|
|
33238
|
-
overallValue = isNumber$
|
|
33403
|
+
overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
|
|
33239
33404
|
return {
|
|
33240
33405
|
from: {
|
|
33241
33406
|
innerRadius: overallValue,
|
|
@@ -33271,7 +33436,7 @@ const growRadiusOutIndividual = (graphic, options, animationParameters) => {
|
|
|
33271
33436
|
},
|
|
33272
33437
|
growRadiusOutOverall = (graphic, options, animationParameters) => {
|
|
33273
33438
|
const attrs = graphic.getFinalAttribute(),
|
|
33274
|
-
overallValue = isNumber$
|
|
33439
|
+
overallValue = isNumber$2(null == options ? void 0 : options.overall) ? options.overall : 0;
|
|
33275
33440
|
return {
|
|
33276
33441
|
from: {
|
|
33277
33442
|
innerRadius: null == attrs ? void 0 : attrs.innerRadius,
|
|
@@ -33360,7 +33525,7 @@ function growWidthInOverall(graphic, options, animationParameters) {
|
|
|
33360
33525
|
x1 = attrs.x1,
|
|
33361
33526
|
width = attrs.width;
|
|
33362
33527
|
let overallValue;
|
|
33363
|
-
return options && "negative" === options.orient ? isNumber$
|
|
33528
|
+
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
33529
|
from: {
|
|
33365
33530
|
x: overallValue,
|
|
33366
33531
|
x1: isNil$1(x1) ? void 0 : overallValue,
|
|
@@ -33407,7 +33572,7 @@ function growWidthOutOverall(graphic, options, animationParameters) {
|
|
|
33407
33572
|
x1 = attrs.x1,
|
|
33408
33573
|
width = attrs.width;
|
|
33409
33574
|
let overallValue;
|
|
33410
|
-
return options && "negative" === options.orient ? isNumber$
|
|
33575
|
+
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
33576
|
to: {
|
|
33412
33577
|
x: overallValue,
|
|
33413
33578
|
x1: isNil$1(x1) ? void 0 : overallValue,
|
|
@@ -35216,7 +35381,7 @@ const registerCustomAnimate = () => {
|
|
|
35216
35381
|
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
35382
|
};
|
|
35218
35383
|
|
|
35219
|
-
const version = "1.0.0-alpha.
|
|
35384
|
+
const version = "1.0.0-alpha.19";
|
|
35220
35385
|
preLoadAllModule();
|
|
35221
35386
|
if (isBrowserEnv()) {
|
|
35222
35387
|
loadBrowserEnv(container);
|
|
@@ -35250,4 +35415,4 @@ registerReactAttributePlugin();
|
|
|
35250
35415
|
registerDirectionalLight();
|
|
35251
35416
|
registerOrthoCamera();
|
|
35252
35417
|
|
|
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 };
|
|
35418
|
+
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 };
|