@visactor/vrender 0.22.7-alpha.8 → 0.22.7
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 +14 -14
- package/cjs/index.js.map +1 -1
- package/dist/index.es.js +658 -415
- package/dist/index.js +669 -414
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +3 -3
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.es.js
CHANGED
|
@@ -574,17 +574,17 @@ const EnvContribution = Symbol.for("EnvContribution");
|
|
|
574
574
|
const VGlobal = Symbol.for("VGlobal");
|
|
575
575
|
const DEFAULT_TEXT_FONT_FAMILY = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol";
|
|
576
576
|
|
|
577
|
-
var __decorate$
|
|
577
|
+
var __decorate$1N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
578
578
|
var d,
|
|
579
579
|
c = arguments.length,
|
|
580
580
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
581
581
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
582
582
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
583
583
|
},
|
|
584
|
-
__metadata$
|
|
584
|
+
__metadata$1m = undefined && undefined.__metadata || function (k, v) {
|
|
585
585
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
586
586
|
},
|
|
587
|
-
__param$
|
|
587
|
+
__param$Y = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
588
588
|
return function (target, key) {
|
|
589
589
|
decorator(target, key, paramIndex);
|
|
590
590
|
};
|
|
@@ -786,7 +786,7 @@ let DefaultGlobal = class {
|
|
|
786
786
|
return this._env || this.setEnv("browser"), this.envContribution.copyToClipBoard(text);
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
|
-
DefaultGlobal = __decorate$
|
|
789
|
+
DefaultGlobal = __decorate$1N([injectable(), __param$Y(0, inject(ContributionProvider)), __param$Y(0, named(EnvContribution)), __metadata$1m("design:paramtypes", [Object])], DefaultGlobal);
|
|
790
790
|
|
|
791
791
|
var MeasureModeEnum;
|
|
792
792
|
!function (MeasureModeEnum) {
|
|
@@ -2044,6 +2044,25 @@ class OBBBounds extends Bounds {
|
|
|
2044
2044
|
clone() {
|
|
2045
2045
|
return new OBBBounds(this);
|
|
2046
2046
|
}
|
|
2047
|
+
getRotatedCorners() {
|
|
2048
|
+
const originPoint = {
|
|
2049
|
+
x: (this.x1 + this.x2) / 2,
|
|
2050
|
+
y: (this.y1 + this.y2) / 2
|
|
2051
|
+
};
|
|
2052
|
+
return [rotatePoint({
|
|
2053
|
+
x: this.x1,
|
|
2054
|
+
y: this.y1
|
|
2055
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2056
|
+
x: this.x2,
|
|
2057
|
+
y: this.y1
|
|
2058
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2059
|
+
x: this.x1,
|
|
2060
|
+
y: this.y2
|
|
2061
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2062
|
+
x: this.x2,
|
|
2063
|
+
y: this.y2
|
|
2064
|
+
}, this.angle, originPoint)];
|
|
2065
|
+
}
|
|
2047
2066
|
}
|
|
2048
2067
|
|
|
2049
2068
|
class Matrix {
|
|
@@ -4168,7 +4187,8 @@ const DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({
|
|
|
4168
4187
|
filter: "",
|
|
4169
4188
|
cursor: null,
|
|
4170
4189
|
html: null,
|
|
4171
|
-
react: null
|
|
4190
|
+
react: null,
|
|
4191
|
+
vue: null
|
|
4172
4192
|
}, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout), DefaultPickStyle);
|
|
4173
4193
|
const DefaultConnectAttribute = {
|
|
4174
4194
|
connectedType: "none",
|
|
@@ -4284,6 +4304,12 @@ const DefaultPolygonAttribute = Object.assign(Object.assign({}, DefaultAttribute
|
|
|
4284
4304
|
cornerRadius: 0,
|
|
4285
4305
|
closePath: !0
|
|
4286
4306
|
});
|
|
4307
|
+
const DefaultStarAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
|
|
4308
|
+
width: 100,
|
|
4309
|
+
height: 100,
|
|
4310
|
+
spikes: 5,
|
|
4311
|
+
thickness: .5
|
|
4312
|
+
});
|
|
4287
4313
|
const DefaultRectAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
|
|
4288
4314
|
width: 0,
|
|
4289
4315
|
height: 0,
|
|
@@ -4609,6 +4635,7 @@ function getScaledStroke(context, width, dpr) {
|
|
|
4609
4635
|
function createColor(context, c, params) {
|
|
4610
4636
|
let offsetX = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
4611
4637
|
let offsetY = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
4638
|
+
var _a, _b;
|
|
4612
4639
|
if (!c || !0 === c) return "black";
|
|
4613
4640
|
let result, color;
|
|
4614
4641
|
if (isArray$1(c)) for (let i = 0; i < c.length && (color = c[i], !color); i++);else color = c;
|
|
@@ -4622,9 +4649,10 @@ function createColor(context, c, params) {
|
|
|
4622
4649
|
if (params.attribute) {
|
|
4623
4650
|
const {
|
|
4624
4651
|
scaleX = 1,
|
|
4625
|
-
scaleY = 1
|
|
4652
|
+
scaleY = 1,
|
|
4653
|
+
angle = 0
|
|
4626
4654
|
} = params.attribute;
|
|
4627
|
-
w /= scaleX, h /= scaleY, x /= scaleX, y /= scaleY;
|
|
4655
|
+
w /= scaleX, h /= scaleY, x /= scaleX, y /= scaleY, (angle || 1 !== scaleX || 1 !== scaleY) && (x = 0, y = 0, w = null !== (_a = params.widthWithoutTransform) && void 0 !== _a ? _a : w, h = null !== (_b = params.heightWithoutTransform) && void 0 !== _b ? _b : h);
|
|
4628
4656
|
}
|
|
4629
4657
|
"linear" === color.gradient ? result = createLinearGradient(context, color, x, y, w, h) : "conical" === color.gradient ? result = createConicGradient(context, color, x, y, w, h) : "radial" === color.gradient && (result = createRadialGradient(context, color, x, y, w, h));
|
|
4630
4658
|
}
|
|
@@ -4724,6 +4752,7 @@ function applyStrokeStyle(ctx, character) {
|
|
|
4724
4752
|
ctx.globalAlpha = strokeOpacity * opacity, ctx.lineWidth = character && "number" == typeof character.lineWidth ? character.lineWidth : 1, ctx.strokeStyle = strokeStyle, setTextStyle(ctx, character);
|
|
4725
4753
|
}
|
|
4726
4754
|
function getStrByWithCanvas(desc, width, character, guessIndex, needTestLetter) {
|
|
4755
|
+
if (desc.length <= 1) return 0;
|
|
4727
4756
|
if (!width || width <= 0) return 0;
|
|
4728
4757
|
const textMeasure = application.graphicUtil.textMeasure;
|
|
4729
4758
|
let index = guessIndex,
|
|
@@ -4767,6 +4796,13 @@ function testLetter2(string, index) {
|
|
|
4767
4796
|
}
|
|
4768
4797
|
function measureTextCanvas(text, character) {
|
|
4769
4798
|
let mode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "actual";
|
|
4799
|
+
var _a;
|
|
4800
|
+
if ("" === text) return {
|
|
4801
|
+
ascent: 0,
|
|
4802
|
+
height: 0,
|
|
4803
|
+
descent: 0,
|
|
4804
|
+
width: 0
|
|
4805
|
+
};
|
|
4770
4806
|
const measurement = application.graphicUtil.textMeasure.measureText(text, character),
|
|
4771
4807
|
result = {
|
|
4772
4808
|
ascent: 0,
|
|
@@ -4776,10 +4812,12 @@ function measureTextCanvas(text, character) {
|
|
|
4776
4812
|
},
|
|
4777
4813
|
ascent = "actual" === mode ? measurement.actualBoundingBoxAscent : measurement.fontBoundingBoxAscent,
|
|
4778
4814
|
descent = "actual" === mode ? measurement.actualBoundingBoxDescent : measurement.fontBoundingBoxDescent;
|
|
4779
|
-
|
|
4815
|
+
"number" != typeof ascent || "number" != typeof descent ? (result.width = Math.floor(measurement.width), result.height = character.fontSize || 0, result.ascent = result.height, result.descent = 0) : (result.width = Math.floor(measurement.width), result.height = Math.floor(ascent + descent), result.ascent = Math.floor(ascent), result.descent = result.height - result.ascent);
|
|
4816
|
+
const space = null !== (_a = character.space) && void 0 !== _a ? _a : 0;
|
|
4817
|
+
return result.width += space, result;
|
|
4780
4818
|
}
|
|
4781
4819
|
|
|
4782
|
-
var __decorate$
|
|
4820
|
+
var __decorate$1M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
4783
4821
|
var d,
|
|
4784
4822
|
c = arguments.length,
|
|
4785
4823
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5171,9 +5209,9 @@ let ATextMeasure = class {
|
|
|
5171
5209
|
return data.str = data.result, data.width += suffixWidth, data;
|
|
5172
5210
|
}
|
|
5173
5211
|
};
|
|
5174
|
-
ATextMeasure = __decorate$
|
|
5212
|
+
ATextMeasure = __decorate$1M([injectable()], ATextMeasure);
|
|
5175
5213
|
|
|
5176
|
-
var __decorate$
|
|
5214
|
+
var __decorate$1L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5177
5215
|
var d,
|
|
5178
5216
|
c = arguments.length,
|
|
5179
5217
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5182,7 +5220,7 @@ var __decorate$1J = undefined && undefined.__decorate || function (decorators, t
|
|
|
5182
5220
|
};
|
|
5183
5221
|
const TextMeasureContribution = Symbol.for("TextMeasureContribution");
|
|
5184
5222
|
let DefaultTextMeasureContribution = class extends ATextMeasure {};
|
|
5185
|
-
DefaultTextMeasureContribution = __decorate$
|
|
5223
|
+
DefaultTextMeasureContribution = __decorate$1L([injectable()], DefaultTextMeasureContribution);
|
|
5186
5224
|
|
|
5187
5225
|
const container = new Container();
|
|
5188
5226
|
|
|
@@ -5596,14 +5634,14 @@ class DefaultCanvasAllocate {
|
|
|
5596
5634
|
}
|
|
5597
5635
|
const canvasAllocate = new DefaultCanvasAllocate();
|
|
5598
5636
|
|
|
5599
|
-
var __decorate$
|
|
5637
|
+
var __decorate$1K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5600
5638
|
var d,
|
|
5601
5639
|
c = arguments.length,
|
|
5602
5640
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
5603
5641
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
5604
5642
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5605
5643
|
},
|
|
5606
|
-
__metadata$
|
|
5644
|
+
__metadata$1l = undefined && undefined.__metadata || function (k, v) {
|
|
5607
5645
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
5608
5646
|
};
|
|
5609
5647
|
const VWindow = Symbol.for("VWindow");
|
|
@@ -5740,19 +5778,19 @@ let DefaultWindow = class {
|
|
|
5740
5778
|
return this._handler.getTopLeft(baseWindow);
|
|
5741
5779
|
}
|
|
5742
5780
|
};
|
|
5743
|
-
DefaultWindow = __decorate$
|
|
5781
|
+
DefaultWindow = __decorate$1K([injectable(), __metadata$1l("design:paramtypes", [])], DefaultWindow);
|
|
5744
5782
|
|
|
5745
|
-
var __decorate$
|
|
5783
|
+
var __decorate$1J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5746
5784
|
var d,
|
|
5747
5785
|
c = arguments.length,
|
|
5748
5786
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
5749
5787
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
5750
5788
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5751
5789
|
},
|
|
5752
|
-
__metadata$
|
|
5790
|
+
__metadata$1k = undefined && undefined.__metadata || function (k, v) {
|
|
5753
5791
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
5754
5792
|
},
|
|
5755
|
-
__param$
|
|
5793
|
+
__param$X = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
5756
5794
|
return function (target, key) {
|
|
5757
5795
|
decorator(target, key, paramIndex);
|
|
5758
5796
|
};
|
|
@@ -5847,7 +5885,7 @@ let DefaultGraphicUtil = class {
|
|
|
5847
5885
|
return c.nativeCanvas ? c.nativeCanvas : null;
|
|
5848
5886
|
}
|
|
5849
5887
|
};
|
|
5850
|
-
DefaultGraphicUtil = __decorate$
|
|
5888
|
+
DefaultGraphicUtil = __decorate$1J([injectable(), __param$X(0, inject(ContributionProvider)), __param$X(0, named(TextMeasureContribution)), __metadata$1k("design:paramtypes", [Object])], DefaultGraphicUtil);
|
|
5851
5889
|
var TransformMode;
|
|
5852
5890
|
!function (TransformMode) {
|
|
5853
5891
|
TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
|
|
@@ -5905,7 +5943,7 @@ let DefaultTransformUtil = class {
|
|
|
5905
5943
|
return this;
|
|
5906
5944
|
}
|
|
5907
5945
|
};
|
|
5908
|
-
DefaultTransformUtil = __decorate$
|
|
5946
|
+
DefaultTransformUtil = __decorate$1J([injectable(), __metadata$1k("design:paramtypes", [])], DefaultTransformUtil);
|
|
5909
5947
|
|
|
5910
5948
|
const defaultThemeObj = {
|
|
5911
5949
|
arc: DefaultArcAttribute,
|
|
@@ -5917,6 +5955,7 @@ const defaultThemeObj = {
|
|
|
5917
5955
|
text: DefaultTextAttribute,
|
|
5918
5956
|
rect: DefaultRectAttribute,
|
|
5919
5957
|
polygon: DefaultPolygonAttribute,
|
|
5958
|
+
star: DefaultStarAttribute,
|
|
5920
5959
|
richtext: DefaultRichTextAttribute,
|
|
5921
5960
|
richtextIcon: DefaultRichTextIconAttribute,
|
|
5922
5961
|
image: DefaultImageAttribute,
|
|
@@ -5935,6 +5974,7 @@ function newThemeObj() {
|
|
|
5935
5974
|
text: Object.assign({}, defaultThemeObj.text),
|
|
5936
5975
|
rect: Object.assign({}, defaultThemeObj.rect),
|
|
5937
5976
|
polygon: Object.assign({}, defaultThemeObj.polygon),
|
|
5977
|
+
star: Object.assign({}, defaultThemeObj.star),
|
|
5938
5978
|
richtext: Object.assign({}, defaultThemeObj.richtext),
|
|
5939
5979
|
richtextIcon: Object.assign({}, defaultThemeObj.richtextIcon),
|
|
5940
5980
|
image: Object.assign({}, defaultThemeObj.image),
|
|
@@ -6414,7 +6454,7 @@ class FederatedEvent {
|
|
|
6414
6454
|
}
|
|
6415
6455
|
_composedDetailPath(params) {
|
|
6416
6456
|
if (params && params.graphic) {
|
|
6417
|
-
const g =
|
|
6457
|
+
const g = params.graphic;
|
|
6418
6458
|
if (g.stage) {
|
|
6419
6459
|
const path = g.stage.eventSystem.manager.propagationPath(g);
|
|
6420
6460
|
this.detailPath.push(path), this._composedDetailPath(params.params);
|
|
@@ -10683,6 +10723,7 @@ const PYRAMID3D_NUMBER_TYPE = genNumberType();
|
|
|
10683
10723
|
const RECT_NUMBER_TYPE = genNumberType();
|
|
10684
10724
|
const RECT3D_NUMBER_TYPE = genNumberType();
|
|
10685
10725
|
const RICHTEXT_NUMBER_TYPE = genNumberType();
|
|
10726
|
+
const STAR_NUMBER_TYPE = genNumberType();
|
|
10686
10727
|
const SYMBOL_NUMBER_TYPE = genNumberType();
|
|
10687
10728
|
const TEXT_NUMBER_TYPE = genNumberType();
|
|
10688
10729
|
const GraphicService = Symbol.for("GraphicService");
|
|
@@ -10948,6 +10989,9 @@ class Graphic extends Node {
|
|
|
10948
10989
|
y: y
|
|
10949
10990
|
});
|
|
10950
10991
|
}
|
|
10992
|
+
setWidthHeightWithoutTransform(aabbBounds) {
|
|
10993
|
+
this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
10994
|
+
}
|
|
10951
10995
|
setAttributes(params) {
|
|
10952
10996
|
let forceUpdateTag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
|
|
10953
10997
|
let context = arguments.length > 2 ? arguments[2] : undefined;
|
|
@@ -11236,16 +11280,17 @@ class Graphic extends Node {
|
|
|
11236
11280
|
const {
|
|
11237
11281
|
scaleX: scaleX,
|
|
11238
11282
|
scaleY: scaleY,
|
|
11239
|
-
angle: angle
|
|
11283
|
+
angle: angle,
|
|
11284
|
+
scaleCenter: scaleCenter
|
|
11240
11285
|
} = this.attribute;
|
|
11241
11286
|
return tempBounds.copy(this._AABBBounds), this.setAttributes({
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
angle: 0
|
|
11287
|
+
angle: 0,
|
|
11288
|
+
scaleCenter: null
|
|
11245
11289
|
}), params.b = this.AABBBounds.clone(), this._AABBBounds.copy(tempBounds), this.setAttributes({
|
|
11246
11290
|
scaleX: scaleX,
|
|
11247
11291
|
scaleY: scaleY,
|
|
11248
|
-
angle: angle
|
|
11292
|
+
angle: angle,
|
|
11293
|
+
scaleCenter: scaleCenter
|
|
11249
11294
|
}), params.b;
|
|
11250
11295
|
};
|
|
11251
11296
|
if ("string" == typeof anchor[0]) {
|
|
@@ -11273,7 +11318,7 @@ class Graphic extends Node {
|
|
|
11273
11318
|
} = this.attribute;
|
|
11274
11319
|
let _anchor = [0, 0];
|
|
11275
11320
|
const params = {};
|
|
11276
|
-
if (anchor && (_anchor = this.getAnchor(anchor, params)), !scaleCenter || 1 === scaleX && 1 === scaleY) normalTransform(this._transMatrix, this._transMatrix.reset(), x, y, scaleX, scaleY, angle, anchor && _anchor);else {
|
|
11321
|
+
if (anchor && angle && (_anchor = this.getAnchor(anchor, params)), !scaleCenter || 1 === scaleX && 1 === scaleY) normalTransform(this._transMatrix, this._transMatrix.reset(), x, y, scaleX, scaleY, angle, anchor && _anchor);else {
|
|
11277
11322
|
const m = this._transMatrix;
|
|
11278
11323
|
m.reset(), m.translate(_anchor[0], _anchor[1]), m.rotate(angle), m.translate(-_anchor[0], -_anchor[1]), m.translate(x, y), _anchor = this.getAnchor(scaleCenter, params), application.transformUtil.fromMatrix(m, m).scale(scaleX, scaleY, {
|
|
11279
11324
|
x: _anchor[0],
|
|
@@ -11785,14 +11830,14 @@ const DynamicLayerHandlerContribution = Symbol.for("DynamicLayerHandlerContribut
|
|
|
11785
11830
|
const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
|
|
11786
11831
|
|
|
11787
11832
|
var DefaultLayerService_1,
|
|
11788
|
-
__decorate$
|
|
11833
|
+
__decorate$1I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11789
11834
|
var d,
|
|
11790
11835
|
c = arguments.length,
|
|
11791
11836
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
11792
11837
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
11793
11838
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11794
11839
|
},
|
|
11795
|
-
__metadata$
|
|
11840
|
+
__metadata$1j = undefined && undefined.__metadata || function (k, v) {
|
|
11796
11841
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
11797
11842
|
};
|
|
11798
11843
|
let DefaultLayerService = DefaultLayerService_1 = class {
|
|
@@ -11856,7 +11901,7 @@ let DefaultLayerService = DefaultLayerService_1 = class {
|
|
|
11856
11901
|
this.layerMap.delete(stage);
|
|
11857
11902
|
}
|
|
11858
11903
|
};
|
|
11859
|
-
DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$
|
|
11904
|
+
DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$1I([injectable(), __metadata$1j("design:paramtypes", [])], DefaultLayerService);
|
|
11860
11905
|
|
|
11861
11906
|
var coreModule = new ContainerModule(bind => {
|
|
11862
11907
|
bind(VGlobal).to(DefaultGlobal).inSingletonScope(), bind(VWindow).to(DefaultWindow), bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(), bind(LayerService).to(DefaultLayerService).inSingletonScope();
|
|
@@ -12180,6 +12225,7 @@ const PolygonRenderContribution = Symbol.for("PolygonRenderContribution");
|
|
|
12180
12225
|
const RectRenderContribution = Symbol.for("RectRenderContribution");
|
|
12181
12226
|
const SymbolRenderContribution = Symbol.for("SymbolRenderContribution");
|
|
12182
12227
|
const TextRenderContribution = Symbol.for("TextRenderContribution");
|
|
12228
|
+
const StarRenderContribution = Symbol.for("StarRenderContribution");
|
|
12183
12229
|
const CommonRenderContribution = Symbol.for("CommonRenderContribution");
|
|
12184
12230
|
const InteractiveSubRenderContribution = Symbol.for("InteractiveSubRenderContribution");
|
|
12185
12231
|
|
|
@@ -12395,17 +12441,17 @@ class DefaultMat4Allocate {
|
|
|
12395
12441
|
const matrixAllocate = new DefaultMatrixAllocate();
|
|
12396
12442
|
const mat4Allocate = new DefaultMat4Allocate();
|
|
12397
12443
|
|
|
12398
|
-
var __decorate$
|
|
12444
|
+
var __decorate$1H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
12399
12445
|
var d,
|
|
12400
12446
|
c = arguments.length,
|
|
12401
12447
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
12402
12448
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
12403
12449
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12404
12450
|
},
|
|
12405
|
-
__metadata$
|
|
12451
|
+
__metadata$1i = undefined && undefined.__metadata || function (k, v) {
|
|
12406
12452
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
12407
12453
|
},
|
|
12408
|
-
__param$
|
|
12454
|
+
__param$W = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
12409
12455
|
return function (target, key) {
|
|
12410
12456
|
decorator(target, key, paramIndex);
|
|
12411
12457
|
};
|
|
@@ -12617,7 +12663,7 @@ let DefaultGraphicService = class {
|
|
|
12617
12663
|
};
|
|
12618
12664
|
}
|
|
12619
12665
|
};
|
|
12620
|
-
DefaultGraphicService = __decorate$
|
|
12666
|
+
DefaultGraphicService = __decorate$1H([injectable(), __param$W(0, inject(GraphicCreator$1)), __metadata$1i("design:paramtypes", [Object])], DefaultGraphicService);
|
|
12621
12667
|
|
|
12622
12668
|
const updateBoundsOfCommonOuterBorder = (attribute, theme, aabbBounds) => {
|
|
12623
12669
|
const {
|
|
@@ -12663,7 +12709,7 @@ class Circle extends Graphic {
|
|
|
12663
12709
|
tb1: tb1,
|
|
12664
12710
|
tb2: tb2
|
|
12665
12711
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
12666
|
-
return updateBoundsOfCommonOuterBorder(attribute, circleTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), application.graphicService.transformAABBBounds(attribute, aabbBounds, circleTheme, !1, this), aabbBounds;
|
|
12712
|
+
return updateBoundsOfCommonOuterBorder(attribute, circleTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, circleTheme, !1, this), aabbBounds;
|
|
12667
12713
|
}
|
|
12668
12714
|
updateCircleAABBBoundsImprecise(attribute, circleTheme, aabbBounds) {
|
|
12669
12715
|
const {
|
|
@@ -12913,7 +12959,7 @@ class Text extends Graphic {
|
|
|
12913
12959
|
const shadowBlurHalfWidth = shadowBlur / Math.abs(scaleX + scaleY);
|
|
12914
12960
|
boundStroke(tb1, shadowBlurHalfWidth, !0, strokeBoundsBuffer), aabbBounds.union(tb1);
|
|
12915
12961
|
}
|
|
12916
|
-
return application.graphicService.combindShadowAABBBounds(aabbBounds, this), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds), transformBoundsWithMatrix(aabbBounds, aabbBounds, this.transMatrix), aabbBounds;
|
|
12962
|
+
return application.graphicService.combindShadowAABBBounds(aabbBounds, this), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, transformBoundsWithMatrix(aabbBounds, aabbBounds, this.transMatrix), aabbBounds;
|
|
12917
12963
|
}
|
|
12918
12964
|
updateSingallineAABBBounds(text) {
|
|
12919
12965
|
this.updateMultilineAABBBounds([text]);
|
|
@@ -13438,7 +13484,7 @@ let Symbol$1 = class Symbol extends Graphic {
|
|
|
13438
13484
|
tb1: tb1,
|
|
13439
13485
|
tb2: tb2
|
|
13440
13486
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13441
|
-
updateBoundsOfSymbolOuterBorder(attribute, symbolTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
13487
|
+
updateBoundsOfSymbolOuterBorder(attribute, symbolTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
13442
13488
|
const {
|
|
13443
13489
|
lineJoin = symbolTheme.lineJoin
|
|
13444
13490
|
} = attribute;
|
|
@@ -13510,7 +13556,7 @@ let Line$1 = class Line extends Graphic {
|
|
|
13510
13556
|
return getTheme(this).line;
|
|
13511
13557
|
}
|
|
13512
13558
|
updateAABBBounds(attribute, lineTheme, aabbBounds) {
|
|
13513
|
-
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds) : this.updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13559
|
+
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds) : this.updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
13514
13560
|
const {
|
|
13515
13561
|
lineJoin = lineTheme.lineJoin
|
|
13516
13562
|
} = attribute;
|
|
@@ -13607,7 +13653,7 @@ class Rect extends Graphic {
|
|
|
13607
13653
|
tb1: tb1,
|
|
13608
13654
|
tb2: tb2
|
|
13609
13655
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13610
|
-
return updateBoundsOfCommonOuterBorder(attribute, rectTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), application.graphicService.transformAABBBounds(attribute, aabbBounds, rectTheme, !1, this), aabbBounds;
|
|
13656
|
+
return updateBoundsOfCommonOuterBorder(attribute, rectTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, rectTheme, !1, this), aabbBounds;
|
|
13611
13657
|
}
|
|
13612
13658
|
needUpdateTags(keys) {
|
|
13613
13659
|
return super.needUpdateTags(keys, RECT_UPDATE_TAG_KEY);
|
|
@@ -13978,6 +14024,7 @@ function getFixedLRTB(left, right, top, bottom) {
|
|
|
13978
14024
|
}
|
|
13979
14025
|
class Paragraph {
|
|
13980
14026
|
constructor(text, newLine, character, ascentDescentMode) {
|
|
14027
|
+
var _a, _b;
|
|
13981
14028
|
this.fontSize = character.fontSize || 16, this.textBaseline = character.textBaseline || "alphabetic", this.ascentDescentMode = ascentDescentMode;
|
|
13982
14029
|
const lineHeight = calculateLineHeight(character.lineHeight, this.fontSize);
|
|
13983
14030
|
this.lineHeight = "number" == typeof lineHeight ? lineHeight > this.fontSize ? lineHeight : this.fontSize : Math.floor(1.2 * this.fontSize), this.height = this.lineHeight;
|
|
@@ -13990,7 +14037,7 @@ class Paragraph {
|
|
|
13990
14037
|
let halfDetaHeight = 0,
|
|
13991
14038
|
deltaAscent = 0,
|
|
13992
14039
|
deltaDescent = 0;
|
|
13993
|
-
this.height > height && (halfDetaHeight = (this.height - height) / 2, deltaAscent = Math.ceil(halfDetaHeight), deltaDescent = Math.floor(halfDetaHeight)), "top" === this.textBaseline ? (this.ascent = halfDetaHeight, this.descent = height - halfDetaHeight) : "bottom" === this.textBaseline ? (this.ascent = height - halfDetaHeight, this.descent = halfDetaHeight) : "middle" === this.textBaseline ? (this.ascent = this.height / 2, this.descent = this.height / 2) : (this.ascent = ascent + deltaAscent, this.descent = descent + deltaDescent), this.length = text.length, this.width = width || 0, this.text = text || "", this.newLine = newLine || !1, this.character = character, this.left = 0, this.top = 0, this.ellipsis = "normal", this.ellipsisWidth = 0, this.ellipsisOtherParagraphWidth = 0, "vertical" === character.direction && (this.direction = character.direction, this.widthOrigin = this.width, this.heightOrigin = this.height, this.width = this.heightOrigin, this.height = this.widthOrigin, this.lineHeight = this.height), this.ellipsisStr = "...";
|
|
14040
|
+
this.height > height && (halfDetaHeight = (this.height - height) / 2, deltaAscent = Math.ceil(halfDetaHeight), deltaDescent = Math.floor(halfDetaHeight)), "top" === this.textBaseline ? (this.ascent = halfDetaHeight, this.descent = height - halfDetaHeight) : "bottom" === this.textBaseline ? (this.ascent = height - halfDetaHeight, this.descent = halfDetaHeight) : "middle" === this.textBaseline ? (this.ascent = this.height / 2, this.descent = this.height / 2) : (this.ascent = ascent + deltaAscent, this.descent = descent + deltaDescent), this.length = text.length, this.width = width || 0, this.text = text || "", this.newLine = newLine || !1, this.character = character, this.left = 0, this.top = 0, this.ellipsis = "normal", this.ellipsisWidth = 0, this.ellipsisOtherParagraphWidth = 0, this.space = character.space, this.dx = null !== (_a = character.dx) && void 0 !== _a ? _a : 0, this.dy = null !== (_b = character.dy) && void 0 !== _b ? _b : 0, "vertical" === character.direction && (this.direction = character.direction, this.widthOrigin = this.width, this.heightOrigin = this.height, this.width = this.heightOrigin, this.height = this.widthOrigin, this.lineHeight = this.height), this.ellipsisStr = "...";
|
|
13994
14041
|
}
|
|
13995
14042
|
updateWidth() {
|
|
13996
14043
|
const {
|
|
@@ -14009,11 +14056,11 @@ class Paragraph {
|
|
|
14009
14056
|
if ("hide" === this.ellipsis) return;
|
|
14010
14057
|
if ("add" === this.ellipsis) text += this.ellipsisStr, "right" !== textAlign && "end" !== textAlign || (left -= this.ellipsisWidth);else if ("replace" === this.ellipsis) {
|
|
14011
14058
|
const index = getStrByWithCanvas(text, ("vertical" === direction ? this.height : this.width) - this.ellipsisWidth + this.ellipsisOtherParagraphWidth, this.character, text.length - 1);
|
|
14012
|
-
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
|
|
14059
|
+
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) if ("vertical" === direction) ;else {
|
|
14013
14060
|
const {
|
|
14014
14061
|
width: width
|
|
14015
14062
|
} = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
|
|
14016
|
-
|
|
14063
|
+
left -= this.ellipsisWidth - width;
|
|
14017
14064
|
}
|
|
14018
14065
|
}
|
|
14019
14066
|
}
|
|
@@ -14024,20 +14071,21 @@ class Paragraph {
|
|
|
14024
14071
|
});
|
|
14025
14072
|
}
|
|
14026
14073
|
draw(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
|
|
14074
|
+
var _a;
|
|
14027
14075
|
let baseline = top + ascent,
|
|
14028
14076
|
text = this.text,
|
|
14029
|
-
left = this.left + deltaLeft;
|
|
14077
|
+
left = this.left + deltaLeft + (null !== (_a = this.space) && void 0 !== _a ? _a : 0) / 2;
|
|
14030
14078
|
baseline += this.top;
|
|
14031
14079
|
let direction = this.direction;
|
|
14032
14080
|
if (this.verticalEllipsis) text = this.ellipsisStr, direction = "vertical", baseline -= this.ellipsisWidth / 2;else {
|
|
14033
14081
|
if ("hide" === this.ellipsis) return;
|
|
14034
14082
|
if ("add" === this.ellipsis) text += this.ellipsisStr, "right" !== textAlign && "end" !== textAlign || (left -= this.ellipsisWidth);else if ("replace" === this.ellipsis) {
|
|
14035
14083
|
const index = getStrByWithCanvas(text, ("vertical" === direction ? this.height : this.width) - this.ellipsisWidth + this.ellipsisOtherParagraphWidth, this.character, text.length - 1);
|
|
14036
|
-
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
|
|
14084
|
+
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) if ("vertical" === direction) ;else {
|
|
14037
14085
|
const {
|
|
14038
14086
|
width: width
|
|
14039
14087
|
} = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
|
|
14040
|
-
|
|
14088
|
+
left -= this.ellipsisWidth - width;
|
|
14041
14089
|
}
|
|
14042
14090
|
}
|
|
14043
14091
|
}
|
|
@@ -14052,7 +14100,7 @@ class Paragraph {
|
|
|
14052
14100
|
const {
|
|
14053
14101
|
lineWidth = 1
|
|
14054
14102
|
} = this.character;
|
|
14055
|
-
if (this.character.stroke && lineWidth && ctx.strokeText(text, left, baseline), this.character.fill && ctx.fillText(text, left, baseline), this.character.fill) if (this.character.lineThrough || this.character.underline) {
|
|
14103
|
+
if (this.character.stroke && lineWidth && ctx.strokeText(text, left, baseline + this.dy), this.character.fill && ctx.fillText(text, left, baseline + this.dy), this.character.fill) if (this.character.lineThrough || this.character.underline) {
|
|
14056
14104
|
if (this.character.underline) {
|
|
14057
14105
|
const top = 1 + baseline,
|
|
14058
14106
|
lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
|
|
@@ -14181,7 +14229,7 @@ let Image$1 = class Image extends Graphic {
|
|
|
14181
14229
|
tb1: tb1,
|
|
14182
14230
|
tb2: tb2
|
|
14183
14231
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14184
|
-
return updateBoundsOfCommonOuterBorder(attribute, imageTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), application.graphicService.transformAABBBounds(attribute, aabbBounds, imageTheme, !1, this), aabbBounds;
|
|
14232
|
+
return updateBoundsOfCommonOuterBorder(attribute, imageTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, imageTheme, !1, this), aabbBounds;
|
|
14185
14233
|
}
|
|
14186
14234
|
getDefaultAttribute(name) {
|
|
14187
14235
|
return DefaultImageAttribute[name];
|
|
@@ -14524,7 +14572,7 @@ class RichText extends Graphic {
|
|
|
14524
14572
|
maxWidth = richtextTheme.maxWidth,
|
|
14525
14573
|
maxHeight = richtextTheme.maxHeight,
|
|
14526
14574
|
textAlign = richtextTheme.textAlign,
|
|
14527
|
-
|
|
14575
|
+
textBaseline = null !== (_b = null !== (_a = attribute.textBaseline) && void 0 !== _a ? _a : richtextTheme.textBaseline) && void 0 !== _b ? _b : "top",
|
|
14528
14576
|
editOptions: editOptions
|
|
14529
14577
|
} = attribute;
|
|
14530
14578
|
if (width > 0 && height > 0) aabbBounds.set(0, 0, width, height);else {
|
|
@@ -14539,7 +14587,7 @@ class RichText extends Graphic {
|
|
|
14539
14587
|
}
|
|
14540
14588
|
editOptions && editOptions.keepHeightWhileEmpty && !aabbBounds.height() && !(null === (_c = attribute.textConfig) || void 0 === _c ? void 0 : _c.length) && (aabbBounds.y2 = aabbBounds.y1 + (null !== (_d = attribute.fontSize) && void 0 !== _d ? _d : 12), aabbBounds.x2 = aabbBounds.x1 + 2);
|
|
14541
14589
|
let deltaY = 0;
|
|
14542
|
-
switch (
|
|
14590
|
+
switch (textBaseline) {
|
|
14543
14591
|
case "top":
|
|
14544
14592
|
deltaY = 0;
|
|
14545
14593
|
break;
|
|
@@ -14560,7 +14608,7 @@ class RichText extends Graphic {
|
|
|
14560
14608
|
case "right":
|
|
14561
14609
|
deltaX = -aabbBounds.width();
|
|
14562
14610
|
}
|
|
14563
|
-
return aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), 0 === aabbBounds.width() && 0 === aabbBounds.height() && aabbBounds.clear(), aabbBounds;
|
|
14611
|
+
return aabbBounds.translate(deltaX, deltaY), application.graphicService.updateTempAABBBounds(aabbBounds), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, !1, this), 0 === aabbBounds.width() && 0 === aabbBounds.height() && aabbBounds.clear(), aabbBounds;
|
|
14564
14612
|
}
|
|
14565
14613
|
needUpdateTags(keys) {
|
|
14566
14614
|
return super.needUpdateTags(keys, RICHTEXT_UPDATE_TAG_KEY);
|
|
@@ -14778,7 +14826,7 @@ class Path extends Graphic {
|
|
|
14778
14826
|
tb1: tb1,
|
|
14779
14827
|
tb2: tb2
|
|
14780
14828
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14781
|
-
updateBoundsOfCommonOuterBorder(attribute, pathTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
14829
|
+
updateBoundsOfCommonOuterBorder(attribute, pathTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
14782
14830
|
const {
|
|
14783
14831
|
lineJoin = pathTheme.lineJoin
|
|
14784
14832
|
} = attribute;
|
|
@@ -14835,7 +14883,7 @@ class Area extends Graphic {
|
|
|
14835
14883
|
return getTheme(this).area;
|
|
14836
14884
|
}
|
|
14837
14885
|
updateAABBBounds(attribute, areaTheme, aabbBounds) {
|
|
14838
|
-
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds) : this.updateAreaAABBBoundsByPoints(attribute, areaTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14886
|
+
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds) : this.updateAreaAABBBoundsByPoints(attribute, areaTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds), this.setWidthHeightWithoutTransform(aabbBounds);
|
|
14839
14887
|
const {
|
|
14840
14888
|
lineJoin = areaTheme.lineJoin
|
|
14841
14889
|
} = attribute;
|
|
@@ -15040,7 +15088,7 @@ class Arc extends Graphic {
|
|
|
15040
15088
|
tb1: tb1,
|
|
15041
15089
|
tb2: tb2
|
|
15042
15090
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15043
|
-
updateBoundsOfCommonOuterBorder(attribute, arcTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
15091
|
+
updateBoundsOfCommonOuterBorder(attribute, arcTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.setWidthHeightWithoutTransform(aabbBounds);
|
|
15044
15092
|
const {
|
|
15045
15093
|
lineJoin = arcTheme.lineJoin
|
|
15046
15094
|
} = attribute;
|
|
@@ -15125,6 +15173,97 @@ function createArc(attributes) {
|
|
|
15125
15173
|
return new Arc(attributes);
|
|
15126
15174
|
}
|
|
15127
15175
|
|
|
15176
|
+
const STAR_UPDATE_TAG_KEY = ["width", "height", "spikes", "thickness", ...GRAPHIC_UPDATE_TAG_KEY];
|
|
15177
|
+
class Star extends Graphic {
|
|
15178
|
+
constructor(params) {
|
|
15179
|
+
super(params), this.type = "star", this._cachedPoints = [], this.numberType = STAR_NUMBER_TYPE;
|
|
15180
|
+
}
|
|
15181
|
+
isValid() {
|
|
15182
|
+
return super.isValid() && this._isValid();
|
|
15183
|
+
}
|
|
15184
|
+
_isValid() {
|
|
15185
|
+
const {
|
|
15186
|
+
width: width,
|
|
15187
|
+
height: height,
|
|
15188
|
+
spikes: spikes
|
|
15189
|
+
} = this.attribute;
|
|
15190
|
+
return (null == width || width > 0) && (null == height || height > 0) && (null == spikes || spikes >= 3 && Number.isInteger(spikes));
|
|
15191
|
+
}
|
|
15192
|
+
getGraphicTheme() {
|
|
15193
|
+
return getTheme(this).star;
|
|
15194
|
+
}
|
|
15195
|
+
updateAABBBounds(attribute, rectTheme, aabbBounds) {
|
|
15196
|
+
if (!this.updatePathProxyAABBBounds(aabbBounds)) {
|
|
15197
|
+
const {
|
|
15198
|
+
width = 0,
|
|
15199
|
+
height = 0
|
|
15200
|
+
} = attribute;
|
|
15201
|
+
(isFinite(width) || isFinite(height)) && aabbBounds.set(0, 0, width, height);
|
|
15202
|
+
}
|
|
15203
|
+
const {
|
|
15204
|
+
tb1: tb1,
|
|
15205
|
+
tb2: tb2
|
|
15206
|
+
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15207
|
+
return aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1, application.graphicService.transformAABBBounds(attribute, aabbBounds, rectTheme, !1, this), aabbBounds;
|
|
15208
|
+
}
|
|
15209
|
+
getCachedPoints() {
|
|
15210
|
+
return this.shouldUpdateShape() && (this._cachedPoints = this.getStarPoints(this.attribute, this.getGraphicTheme()), this.clearUpdateShapeTag()), this._cachedPoints;
|
|
15211
|
+
}
|
|
15212
|
+
getStarPoints(attribute, starTheme) {
|
|
15213
|
+
const {
|
|
15214
|
+
width = starTheme.width,
|
|
15215
|
+
height = starTheme.height,
|
|
15216
|
+
spikes = starTheme.spikes,
|
|
15217
|
+
thickness = starTheme.thickness
|
|
15218
|
+
} = attribute,
|
|
15219
|
+
validSpikes = Math.max(3, Math.floor(spikes)),
|
|
15220
|
+
validThickness = Math.max(0, Math.min(1, thickness)),
|
|
15221
|
+
points = [],
|
|
15222
|
+
outerRadius = Math.min(width, height) / 2,
|
|
15223
|
+
innerRadius = outerRadius * (1 - validThickness),
|
|
15224
|
+
centerX = width / 2,
|
|
15225
|
+
centerY = height / 2;
|
|
15226
|
+
for (let i = 0; i < 2 * validSpikes; i++) {
|
|
15227
|
+
const radius = i % 2 == 0 ? outerRadius : innerRadius,
|
|
15228
|
+
angle = Math.PI / validSpikes * i,
|
|
15229
|
+
scaleX = width / (2 * outerRadius),
|
|
15230
|
+
scaleY = height / (2 * outerRadius);
|
|
15231
|
+
points.push({
|
|
15232
|
+
x: centerX + Math.sin(angle) * radius * scaleX,
|
|
15233
|
+
y: centerY - Math.cos(angle) * radius * scaleY
|
|
15234
|
+
});
|
|
15235
|
+
}
|
|
15236
|
+
return this._cachedPoints = points, points;
|
|
15237
|
+
}
|
|
15238
|
+
_interpolate(key, ratio, lastStepVal, nextStepVal, nextAttributes) {
|
|
15239
|
+
"width" !== key && "height" !== key && "spikes" !== key && "thickness" !== key || (nextAttributes[key] = lastStepVal + (nextStepVal - lastStepVal) * ratio);
|
|
15240
|
+
}
|
|
15241
|
+
needUpdateTags(keys) {
|
|
15242
|
+
return super.needUpdateTags(keys, STAR_UPDATE_TAG_KEY);
|
|
15243
|
+
}
|
|
15244
|
+
needUpdateTag(key) {
|
|
15245
|
+
return super.needUpdateTag(key, STAR_UPDATE_TAG_KEY);
|
|
15246
|
+
}
|
|
15247
|
+
toCustomPath() {
|
|
15248
|
+
const starTheme = this.getGraphicTheme(),
|
|
15249
|
+
points = this.getStarPoints(this.attribute, starTheme),
|
|
15250
|
+
path = new CustomPath2D();
|
|
15251
|
+
return points.forEach((point, index) => {
|
|
15252
|
+
0 === index ? path.moveTo(point.x, point.y) : path.lineTo(point.x, point.y);
|
|
15253
|
+
}), path.closePath(), path;
|
|
15254
|
+
}
|
|
15255
|
+
clone() {
|
|
15256
|
+
return new Star(Object.assign({}, this.attribute));
|
|
15257
|
+
}
|
|
15258
|
+
getNoWorkAnimateAttr() {
|
|
15259
|
+
return Star.NOWORK_ANIMATE_ATTR;
|
|
15260
|
+
}
|
|
15261
|
+
}
|
|
15262
|
+
Star.NOWORK_ANIMATE_ATTR = NOWORK_ANIMATE_ATTR;
|
|
15263
|
+
function createStar(attributes) {
|
|
15264
|
+
return new Star(attributes);
|
|
15265
|
+
}
|
|
15266
|
+
|
|
15128
15267
|
class Arc3d extends Arc {
|
|
15129
15268
|
constructor(params) {
|
|
15130
15269
|
super(params), this.type = "arc3d", this.numberType = ARC3D_NUMBER_TYPE;
|
|
@@ -15168,7 +15307,7 @@ class Polygon extends Graphic {
|
|
|
15168
15307
|
return getTheme(this).polygon;
|
|
15169
15308
|
}
|
|
15170
15309
|
updateAABBBounds(attribute, polygonTheme, aabbBounds) {
|
|
15171
|
-
this.updatePathProxyAABBBounds(aabbBounds) || this.updatePolygonAABBBoundsImprecise(attribute, polygonTheme, aabbBounds), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15310
|
+
this.updatePathProxyAABBBounds(aabbBounds) || this.updatePolygonAABBBoundsImprecise(attribute, polygonTheme, aabbBounds), application.graphicService.updateTempAABBBounds(aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
15172
15311
|
const {
|
|
15173
15312
|
lineJoin = polygonTheme.lineJoin
|
|
15174
15313
|
} = attribute;
|
|
@@ -15361,17 +15500,17 @@ function getRichTextBounds(params) {
|
|
|
15361
15500
|
return richText || (richText = graphicCreator.CreateGraphic("richtext", {})), richText.setAttributes(params), richText.AABBBounds;
|
|
15362
15501
|
}
|
|
15363
15502
|
|
|
15364
|
-
var __decorate$
|
|
15503
|
+
var __decorate$1G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15365
15504
|
var d,
|
|
15366
15505
|
c = arguments.length,
|
|
15367
15506
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
15368
15507
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
15369
15508
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15370
15509
|
},
|
|
15371
|
-
__metadata$
|
|
15510
|
+
__metadata$1h = undefined && undefined.__metadata || function (k, v) {
|
|
15372
15511
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15373
15512
|
},
|
|
15374
|
-
__param$
|
|
15513
|
+
__param$V = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
15375
15514
|
return function (target, key) {
|
|
15376
15515
|
decorator(target, key, paramIndex);
|
|
15377
15516
|
};
|
|
@@ -15476,7 +15615,7 @@ let DefaultBaseInteractiveRenderContribution = class {
|
|
|
15476
15615
|
});
|
|
15477
15616
|
}
|
|
15478
15617
|
};
|
|
15479
|
-
DefaultBaseInteractiveRenderContribution = __decorate$
|
|
15618
|
+
DefaultBaseInteractiveRenderContribution = __decorate$1G([injectable(), __param$V(0, inject(ContributionProvider)), __param$V(0, named(InteractiveSubRenderContribution)), __metadata$1h("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
|
|
15480
15619
|
class DefaultBaseClipRenderBeforeContribution {
|
|
15481
15620
|
constructor() {
|
|
15482
15621
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -15908,7 +16047,7 @@ function createRectPath(path, x, y, width, height, rectCornerRadius) {
|
|
|
15908
16047
|
return !edgeCb && path.closePath(), path;
|
|
15909
16048
|
}
|
|
15910
16049
|
|
|
15911
|
-
var __decorate$
|
|
16050
|
+
var __decorate$1F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15912
16051
|
var d,
|
|
15913
16052
|
c = arguments.length,
|
|
15914
16053
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15973,7 +16112,7 @@ let SplitRectBeforeRenderContribution = class {
|
|
|
15973
16112
|
Array.isArray(stroke) && stroke.some(s => !1 === s) && (doFillOrStroke.doStroke = !1);
|
|
15974
16113
|
}
|
|
15975
16114
|
};
|
|
15976
|
-
SplitRectBeforeRenderContribution = __decorate$
|
|
16115
|
+
SplitRectBeforeRenderContribution = __decorate$1F([injectable()], SplitRectBeforeRenderContribution);
|
|
15977
16116
|
let SplitRectAfterRenderContribution = class {
|
|
15978
16117
|
constructor() {
|
|
15979
16118
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -16010,7 +16149,7 @@ let SplitRectAfterRenderContribution = class {
|
|
|
16010
16149
|
}
|
|
16011
16150
|
}
|
|
16012
16151
|
};
|
|
16013
|
-
SplitRectAfterRenderContribution = __decorate$
|
|
16152
|
+
SplitRectAfterRenderContribution = __decorate$1F([injectable()], SplitRectAfterRenderContribution);
|
|
16014
16153
|
const defaultRectRenderContribution = new DefaultRectRenderContribution();
|
|
16015
16154
|
const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16016
16155
|
const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
@@ -16095,6 +16234,9 @@ const defaultSymbolClipRangeStrokeRenderContribution = new DefaultSymbolClipRang
|
|
|
16095
16234
|
const defaultSymbolTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16096
16235
|
const defaultSymbolBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16097
16236
|
|
|
16237
|
+
const defaultStarTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16238
|
+
const defaultStarBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16239
|
+
|
|
16098
16240
|
class DefaultAreaTextureRenderContribution extends DefaultBaseTextureRenderContribution {
|
|
16099
16241
|
constructor() {
|
|
16100
16242
|
super(...arguments), this.time = BaseRenderContributionTime.afterFillStroke;
|
|
@@ -16278,17 +16420,17 @@ class BaseRender {
|
|
|
16278
16420
|
}
|
|
16279
16421
|
}
|
|
16280
16422
|
|
|
16281
|
-
var __decorate$
|
|
16423
|
+
var __decorate$1E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16282
16424
|
var d,
|
|
16283
16425
|
c = arguments.length,
|
|
16284
16426
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16285
16427
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
16286
16428
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16287
16429
|
},
|
|
16288
|
-
__metadata$
|
|
16430
|
+
__metadata$1g = undefined && undefined.__metadata || function (k, v) {
|
|
16289
16431
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16290
16432
|
},
|
|
16291
|
-
__param$
|
|
16433
|
+
__param$U = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16292
16434
|
return function (target, key) {
|
|
16293
16435
|
decorator(target, key, paramIndex);
|
|
16294
16436
|
};
|
|
@@ -16452,19 +16594,19 @@ let DefaultCanvasArcRender = class extends BaseRender {
|
|
|
16452
16594
|
this._draw(arc, arcAttribute, !1, drawContext, params);
|
|
16453
16595
|
}
|
|
16454
16596
|
};
|
|
16455
|
-
DefaultCanvasArcRender = __decorate$
|
|
16597
|
+
DefaultCanvasArcRender = __decorate$1E([injectable(), __param$U(0, inject(ContributionProvider)), __param$U(0, named(ArcRenderContribution)), __metadata$1g("design:paramtypes", [Object])], DefaultCanvasArcRender);
|
|
16456
16598
|
|
|
16457
|
-
var __decorate$
|
|
16599
|
+
var __decorate$1D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16458
16600
|
var d,
|
|
16459
16601
|
c = arguments.length,
|
|
16460
16602
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16461
16603
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
16462
16604
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16463
16605
|
},
|
|
16464
|
-
__metadata$
|
|
16606
|
+
__metadata$1f = undefined && undefined.__metadata || function (k, v) {
|
|
16465
16607
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16466
16608
|
},
|
|
16467
|
-
__param$
|
|
16609
|
+
__param$T = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16468
16610
|
return function (target, key) {
|
|
16469
16611
|
decorator(target, key, paramIndex);
|
|
16470
16612
|
};
|
|
@@ -16505,7 +16647,7 @@ let DefaultCanvasCircleRender = class extends BaseRender {
|
|
|
16505
16647
|
this._draw(circle, circleAttribute, !1, drawContext, params);
|
|
16506
16648
|
}
|
|
16507
16649
|
};
|
|
16508
|
-
DefaultCanvasCircleRender = __decorate$
|
|
16650
|
+
DefaultCanvasCircleRender = __decorate$1D([injectable(), __param$T(0, inject(ContributionProvider)), __param$T(0, named(CircleRenderContribution)), __metadata$1f("design:paramtypes", [Object])], DefaultCanvasCircleRender);
|
|
16509
16651
|
|
|
16510
16652
|
function drawSegItem(ctx, curve, endPercent, params) {
|
|
16511
16653
|
if (!curve.p1) return;
|
|
@@ -16629,7 +16771,7 @@ function drawIncrementalAreaSegments(path, lastSeg, segments, params) {
|
|
|
16629
16771
|
});
|
|
16630
16772
|
}
|
|
16631
16773
|
|
|
16632
|
-
var __decorate$
|
|
16774
|
+
var __decorate$1C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16633
16775
|
var d,
|
|
16634
16776
|
c = arguments.length,
|
|
16635
16777
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -16774,7 +16916,7 @@ let DefaultCanvasLineRender = class extends BaseRender {
|
|
|
16774
16916
|
} else this.drawSegmentItem(context, line.cache, !!fill, !!stroke, fillOpacity, strokeOpacity, line.attribute, lineAttribute, clipRange, clipRangeByDimension, x, y, line, fillCb, strokeCb);
|
|
16775
16917
|
}
|
|
16776
16918
|
};
|
|
16777
|
-
DefaultCanvasLineRender = __decorate$
|
|
16919
|
+
DefaultCanvasLineRender = __decorate$1C([injectable()], DefaultCanvasLineRender);
|
|
16778
16920
|
|
|
16779
16921
|
function drawAreaSegments(path, segPath, percent, params) {
|
|
16780
16922
|
var _a;
|
|
@@ -16841,17 +16983,17 @@ function drawAreaBlock(path, topList, bottomList, params) {
|
|
|
16841
16983
|
const defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
|
|
16842
16984
|
const defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16843
16985
|
|
|
16844
|
-
var __decorate$
|
|
16986
|
+
var __decorate$1B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16845
16987
|
var d,
|
|
16846
16988
|
c = arguments.length,
|
|
16847
16989
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16848
16990
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
16849
16991
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16850
16992
|
},
|
|
16851
|
-
__metadata$
|
|
16993
|
+
__metadata$1e = undefined && undefined.__metadata || function (k, v) {
|
|
16852
16994
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16853
16995
|
},
|
|
16854
|
-
__param$
|
|
16996
|
+
__param$S = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16855
16997
|
return function (target, key) {
|
|
16856
16998
|
decorator(target, key, paramIndex);
|
|
16857
16999
|
};
|
|
@@ -17080,22 +17222,22 @@ let DefaultCanvasAreaRender = class extends BaseRender {
|
|
|
17080
17222
|
})(), !1;
|
|
17081
17223
|
}
|
|
17082
17224
|
};
|
|
17083
|
-
DefaultCanvasAreaRender = __decorate$
|
|
17225
|
+
DefaultCanvasAreaRender = __decorate$1B([injectable(), __param$S(0, inject(ContributionProvider)), __param$S(0, named(AreaRenderContribution)), __metadata$1e("design:paramtypes", [Object])], DefaultCanvasAreaRender);
|
|
17084
17226
|
|
|
17085
17227
|
const defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
17086
17228
|
const defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
17087
17229
|
|
|
17088
|
-
var __decorate$
|
|
17230
|
+
var __decorate$1A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17089
17231
|
var d,
|
|
17090
17232
|
c = arguments.length,
|
|
17091
17233
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17092
17234
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17093
17235
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17094
17236
|
},
|
|
17095
|
-
__metadata$
|
|
17237
|
+
__metadata$1d = undefined && undefined.__metadata || function (k, v) {
|
|
17096
17238
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17097
17239
|
},
|
|
17098
|
-
__param$
|
|
17240
|
+
__param$R = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17099
17241
|
return function (target, key) {
|
|
17100
17242
|
decorator(target, key, paramIndex);
|
|
17101
17243
|
};
|
|
@@ -17139,19 +17281,19 @@ let DefaultCanvasPathRender = class extends BaseRender {
|
|
|
17139
17281
|
this.tempTheme = pathAttribute, this._draw(path, pathAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
17140
17282
|
}
|
|
17141
17283
|
};
|
|
17142
|
-
DefaultCanvasPathRender = __decorate$
|
|
17284
|
+
DefaultCanvasPathRender = __decorate$1A([injectable(), __param$R(0, inject(ContributionProvider)), __param$R(0, named(PathRenderContribution)), __metadata$1d("design:paramtypes", [Object])], DefaultCanvasPathRender);
|
|
17143
17285
|
|
|
17144
|
-
var __decorate$
|
|
17286
|
+
var __decorate$1z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17145
17287
|
var d,
|
|
17146
17288
|
c = arguments.length,
|
|
17147
17289
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17148
17290
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17149
17291
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17150
17292
|
},
|
|
17151
|
-
__metadata$
|
|
17293
|
+
__metadata$1c = undefined && undefined.__metadata || function (k, v) {
|
|
17152
17294
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17153
17295
|
},
|
|
17154
|
-
__param$
|
|
17296
|
+
__param$Q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17155
17297
|
return function (target, key) {
|
|
17156
17298
|
decorator(target, key, paramIndex);
|
|
17157
17299
|
};
|
|
@@ -17211,19 +17353,19 @@ let DefaultCanvasRectRender = class extends BaseRender {
|
|
|
17211
17353
|
this.tempTheme = rectAttribute, this._draw(rect, rectAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
17212
17354
|
}
|
|
17213
17355
|
};
|
|
17214
|
-
DefaultCanvasRectRender = __decorate$
|
|
17356
|
+
DefaultCanvasRectRender = __decorate$1z([injectable(), __param$Q(0, inject(ContributionProvider)), __param$Q(0, named(RectRenderContribution)), __metadata$1c("design:paramtypes", [Object])], DefaultCanvasRectRender);
|
|
17215
17357
|
|
|
17216
|
-
var __decorate$
|
|
17358
|
+
var __decorate$1y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17217
17359
|
var d,
|
|
17218
17360
|
c = arguments.length,
|
|
17219
17361
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17220
17362
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17221
17363
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17222
17364
|
},
|
|
17223
|
-
__metadata$
|
|
17365
|
+
__metadata$1b = undefined && undefined.__metadata || function (k, v) {
|
|
17224
17366
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17225
17367
|
},
|
|
17226
|
-
__param$
|
|
17368
|
+
__param$P = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17227
17369
|
return function (target, key) {
|
|
17228
17370
|
decorator(target, key, paramIndex);
|
|
17229
17371
|
};
|
|
@@ -17294,7 +17436,7 @@ let DefaultCanvasSymbolRender = class extends BaseRender {
|
|
|
17294
17436
|
this._draw(symbol, symbolAttribute, !1, drawContext, params);
|
|
17295
17437
|
}
|
|
17296
17438
|
};
|
|
17297
|
-
DefaultCanvasSymbolRender = __decorate$
|
|
17439
|
+
DefaultCanvasSymbolRender = __decorate$1y([injectable(), __param$P(0, inject(ContributionProvider)), __param$P(0, named(SymbolRenderContribution)), __metadata$1b("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
|
|
17298
17440
|
|
|
17299
17441
|
class DefaultBoundsAllocate {
|
|
17300
17442
|
constructor() {
|
|
@@ -17385,17 +17527,17 @@ class DefaultTextBackgroundRenderContribution extends DefaultBaseBackgroundRende
|
|
|
17385
17527
|
}
|
|
17386
17528
|
const defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
|
|
17387
17529
|
|
|
17388
|
-
var __decorate$
|
|
17530
|
+
var __decorate$1x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17389
17531
|
var d,
|
|
17390
17532
|
c = arguments.length,
|
|
17391
17533
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17392
17534
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17393
17535
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17394
17536
|
},
|
|
17395
|
-
__metadata$
|
|
17537
|
+
__metadata$1a = undefined && undefined.__metadata || function (k, v) {
|
|
17396
17538
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17397
17539
|
},
|
|
17398
|
-
__param$
|
|
17540
|
+
__param$O = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17399
17541
|
return function (target, key) {
|
|
17400
17542
|
decorator(target, key, paramIndex);
|
|
17401
17543
|
};
|
|
@@ -17534,9 +17676,9 @@ let DefaultCanvasTextRender = class extends BaseRender {
|
|
|
17534
17676
|
}
|
|
17535
17677
|
}
|
|
17536
17678
|
};
|
|
17537
|
-
DefaultCanvasTextRender = __decorate$
|
|
17679
|
+
DefaultCanvasTextRender = __decorate$1x([injectable(), __param$O(0, inject(ContributionProvider)), __param$O(0, named(TextRenderContribution)), __metadata$1a("design:paramtypes", [Object])], DefaultCanvasTextRender);
|
|
17538
17680
|
|
|
17539
|
-
var __decorate$
|
|
17681
|
+
var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17540
17682
|
var d,
|
|
17541
17683
|
c = arguments.length,
|
|
17542
17684
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -17544,7 +17686,7 @@ var __decorate$1u = undefined && undefined.__decorate || function (decorators, t
|
|
|
17544
17686
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17545
17687
|
};
|
|
17546
17688
|
let AbstractGraphicRender = class {};
|
|
17547
|
-
AbstractGraphicRender = __decorate$
|
|
17689
|
+
AbstractGraphicRender = __decorate$1w([injectable()], AbstractGraphicRender);
|
|
17548
17690
|
|
|
17549
17691
|
function drawPolygon(path, points, x, y) {
|
|
17550
17692
|
path.moveTo(points[0].x + x, points[0].y + y);
|
|
@@ -17600,17 +17742,17 @@ function getProportionPoint(point, segment, length, dx, dy) {
|
|
|
17600
17742
|
const defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
17601
17743
|
const defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
17602
17744
|
|
|
17603
|
-
var __decorate$
|
|
17745
|
+
var __decorate$1v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17604
17746
|
var d,
|
|
17605
17747
|
c = arguments.length,
|
|
17606
17748
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17607
17749
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17608
17750
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17609
17751
|
},
|
|
17610
|
-
__metadata$
|
|
17752
|
+
__metadata$19 = undefined && undefined.__metadata || function (k, v) {
|
|
17611
17753
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17612
17754
|
},
|
|
17613
|
-
__param$
|
|
17755
|
+
__param$N = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17614
17756
|
return function (target, key) {
|
|
17615
17757
|
decorator(target, key, paramIndex);
|
|
17616
17758
|
};
|
|
@@ -17651,19 +17793,19 @@ let DefaultCanvasPolygonRender = class extends BaseRender {
|
|
|
17651
17793
|
this._draw(polygon, polygonAttribute, !1, drawContext, params);
|
|
17652
17794
|
}
|
|
17653
17795
|
};
|
|
17654
|
-
DefaultCanvasPolygonRender = __decorate$
|
|
17796
|
+
DefaultCanvasPolygonRender = __decorate$1v([injectable(), __param$N(0, inject(ContributionProvider)), __param$N(0, named(PolygonRenderContribution)), __metadata$19("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
|
|
17655
17797
|
|
|
17656
|
-
var __decorate$
|
|
17798
|
+
var __decorate$1u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17657
17799
|
var d,
|
|
17658
17800
|
c = arguments.length,
|
|
17659
17801
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17660
17802
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17661
17803
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17662
17804
|
},
|
|
17663
|
-
__metadata$
|
|
17805
|
+
__metadata$18 = undefined && undefined.__metadata || function (k, v) {
|
|
17664
17806
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17665
17807
|
},
|
|
17666
|
-
__param$
|
|
17808
|
+
__param$M = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17667
17809
|
return function (target, key) {
|
|
17668
17810
|
decorator(target, key, paramIndex);
|
|
17669
17811
|
};
|
|
@@ -17783,19 +17925,19 @@ let DefaultCanvasGroupRender = class {
|
|
|
17783
17925
|
}) : clip ? context.restore() : context.highPerformanceRestore();
|
|
17784
17926
|
}
|
|
17785
17927
|
};
|
|
17786
|
-
DefaultCanvasGroupRender = __decorate$
|
|
17928
|
+
DefaultCanvasGroupRender = __decorate$1u([injectable(), __param$M(0, inject(ContributionProvider)), __param$M(0, named(GroupRenderContribution)), __metadata$18("design:paramtypes", [Object])], DefaultCanvasGroupRender);
|
|
17787
17929
|
|
|
17788
|
-
var __decorate$
|
|
17930
|
+
var __decorate$1t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17789
17931
|
var d,
|
|
17790
17932
|
c = arguments.length,
|
|
17791
17933
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17792
17934
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17793
17935
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17794
17936
|
},
|
|
17795
|
-
__metadata$
|
|
17937
|
+
__metadata$17 = undefined && undefined.__metadata || function (k, v) {
|
|
17796
17938
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17797
17939
|
},
|
|
17798
|
-
__param$
|
|
17940
|
+
__param$L = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17799
17941
|
return function (target, key) {
|
|
17800
17942
|
decorator(target, key, paramIndex);
|
|
17801
17943
|
};
|
|
@@ -17864,7 +18006,7 @@ let DefaultCanvasImageRender = class extends BaseRender {
|
|
|
17864
18006
|
this._draw(image, imageAttribute, !1, drawContext);
|
|
17865
18007
|
}
|
|
17866
18008
|
};
|
|
17867
|
-
DefaultCanvasImageRender = __decorate$
|
|
18009
|
+
DefaultCanvasImageRender = __decorate$1t([injectable(), __param$L(0, inject(ContributionProvider)), __param$L(0, named(ImageRenderContribution)), __metadata$17("design:paramtypes", [Object])], DefaultCanvasImageRender);
|
|
17868
18010
|
|
|
17869
18011
|
const IncrementalDrawContribution = Symbol.for("IncrementalDrawContribution");
|
|
17870
18012
|
const ArcRender = Symbol.for("ArcRender");
|
|
@@ -17886,6 +18028,7 @@ const GlyphRender = Symbol.for("GlyphRender");
|
|
|
17886
18028
|
const ImageRender = Symbol.for("ImageRender");
|
|
17887
18029
|
const RenderSelector = Symbol.for("RenderSelector");
|
|
17888
18030
|
const DrawContribution = Symbol.for("DrawContribution");
|
|
18031
|
+
const StarRender = Symbol.for("StarRender");
|
|
17889
18032
|
|
|
17890
18033
|
const draw3dItem = (context, graphic, callback, output) => {
|
|
17891
18034
|
let result,
|
|
@@ -17932,14 +18075,14 @@ const draw3dItem = (context, graphic, callback, output) => {
|
|
|
17932
18075
|
return result;
|
|
17933
18076
|
};
|
|
17934
18077
|
|
|
17935
|
-
var __decorate$
|
|
18078
|
+
var __decorate$1s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17936
18079
|
var d,
|
|
17937
18080
|
c = arguments.length,
|
|
17938
18081
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17939
18082
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
17940
18083
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17941
18084
|
},
|
|
17942
|
-
__metadata$
|
|
18085
|
+
__metadata$16 = undefined && undefined.__metadata || function (k, v) {
|
|
17943
18086
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17944
18087
|
};
|
|
17945
18088
|
const DrawItemInterceptor = Symbol.for("DrawItemInterceptor");
|
|
@@ -17999,7 +18142,7 @@ let CommonDrawItemInterceptorContribution = class {
|
|
|
17999
18142
|
return !1;
|
|
18000
18143
|
}
|
|
18001
18144
|
};
|
|
18002
|
-
CommonDrawItemInterceptorContribution = __decorate$
|
|
18145
|
+
CommonDrawItemInterceptorContribution = __decorate$1s([injectable(), __metadata$16("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
|
|
18003
18146
|
class InteractiveDrawItemInterceptorContribution {
|
|
18004
18147
|
constructor() {
|
|
18005
18148
|
this.order = 1;
|
|
@@ -18090,17 +18233,17 @@ class Canvas3DDrawItemInterceptor {
|
|
|
18090
18233
|
}
|
|
18091
18234
|
}
|
|
18092
18235
|
|
|
18093
|
-
var __decorate$
|
|
18236
|
+
var __decorate$1r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18094
18237
|
var d,
|
|
18095
18238
|
c = arguments.length,
|
|
18096
18239
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18097
18240
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
18098
18241
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18099
18242
|
},
|
|
18100
|
-
__metadata$
|
|
18243
|
+
__metadata$15 = undefined && undefined.__metadata || function (k, v) {
|
|
18101
18244
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18102
18245
|
},
|
|
18103
|
-
__param$
|
|
18246
|
+
__param$K = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18104
18247
|
return function (target, key) {
|
|
18105
18248
|
decorator(target, key, paramIndex);
|
|
18106
18249
|
};
|
|
@@ -18138,7 +18281,7 @@ let DefaultRenderService = class {
|
|
|
18138
18281
|
this.prepare(updateBounds), this.prepareRenderList(), this.beforeDraw(params), this.draw(params), this.afterDraw(params), this.drawParams = null;
|
|
18139
18282
|
}
|
|
18140
18283
|
};
|
|
18141
|
-
DefaultRenderService = __decorate$
|
|
18284
|
+
DefaultRenderService = __decorate$1r([injectable(), __param$K(0, inject(DrawContribution)), __metadata$15("design:paramtypes", [Object])], DefaultRenderService);
|
|
18142
18285
|
|
|
18143
18286
|
var renderModule$1 = new ContainerModule(bind => {
|
|
18144
18287
|
bind(RenderService).to(DefaultRenderService);
|
|
@@ -18151,7 +18294,7 @@ const GlobalPickerService = Symbol.for("GlobalPickerService");
|
|
|
18151
18294
|
const PickItemInterceptor = Symbol.for("PickItemInterceptor");
|
|
18152
18295
|
const PickServiceInterceptor = Symbol.for("PickServiceInterceptor");
|
|
18153
18296
|
|
|
18154
|
-
var __decorate$
|
|
18297
|
+
var __decorate$1q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18155
18298
|
var d,
|
|
18156
18299
|
c = arguments.length,
|
|
18157
18300
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18173,7 +18316,7 @@ let ShadowPickServiceInterceptorContribution = class {
|
|
|
18173
18316
|
return result;
|
|
18174
18317
|
}
|
|
18175
18318
|
};
|
|
18176
|
-
ShadowPickServiceInterceptorContribution = __decorate$
|
|
18319
|
+
ShadowPickServiceInterceptorContribution = __decorate$1q([injectable()], ShadowPickServiceInterceptorContribution);
|
|
18177
18320
|
let ShadowRootPickItemInterceptorContribution = class {
|
|
18178
18321
|
constructor() {
|
|
18179
18322
|
this.order = 1;
|
|
@@ -18204,7 +18347,7 @@ let ShadowRootPickItemInterceptorContribution = class {
|
|
|
18204
18347
|
return context.highPerformanceRestore(), !result.graphic && result.group && "full" === shadowPickMode && (result.graphic = result.group), result;
|
|
18205
18348
|
}
|
|
18206
18349
|
};
|
|
18207
|
-
ShadowRootPickItemInterceptorContribution = __decorate$
|
|
18350
|
+
ShadowRootPickItemInterceptorContribution = __decorate$1q([injectable()], ShadowRootPickItemInterceptorContribution);
|
|
18208
18351
|
let InteractivePickItemInterceptorContribution = class {
|
|
18209
18352
|
constructor() {
|
|
18210
18353
|
this.order = 1;
|
|
@@ -18223,7 +18366,7 @@ let InteractivePickItemInterceptorContribution = class {
|
|
|
18223
18366
|
return null;
|
|
18224
18367
|
}
|
|
18225
18368
|
};
|
|
18226
|
-
InteractivePickItemInterceptorContribution = __decorate$
|
|
18369
|
+
InteractivePickItemInterceptorContribution = __decorate$1q([injectable()], InteractivePickItemInterceptorContribution);
|
|
18227
18370
|
let Canvas3DPickItemInterceptor = class {
|
|
18228
18371
|
constructor() {
|
|
18229
18372
|
this.order = 1;
|
|
@@ -18243,7 +18386,7 @@ let Canvas3DPickItemInterceptor = class {
|
|
|
18243
18386
|
context.setTransformForCurrent();
|
|
18244
18387
|
}
|
|
18245
18388
|
};
|
|
18246
|
-
Canvas3DPickItemInterceptor = __decorate$
|
|
18389
|
+
Canvas3DPickItemInterceptor = __decorate$1q([injectable()], Canvas3DPickItemInterceptor);
|
|
18247
18390
|
|
|
18248
18391
|
var pickModule = new ContainerModule((bind, unbind, isBound) => {
|
|
18249
18392
|
isBound(PickerService) || (bind(GlobalPickerService).toSelf(), bind(PickerService).toService(GlobalPickerService)), bind(Canvas3DPickItemInterceptor).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(Canvas3DPickItemInterceptor), bind(ShadowRootPickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(ShadowRootPickItemInterceptorContribution), bind(InteractivePickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(InteractivePickItemInterceptorContribution), bindContributionProvider(bind, PickItemInterceptor), bind(ShadowPickServiceInterceptorContribution).toSelf().inSingletonScope(), bind(PickServiceInterceptor).toService(ShadowPickServiceInterceptorContribution), bindContributionProvider(bind, PickServiceInterceptor);
|
|
@@ -18256,17 +18399,17 @@ var graphicModule = new ContainerModule(bind => {
|
|
|
18256
18399
|
const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
|
|
18257
18400
|
const PluginService = Symbol.for("PluginService");
|
|
18258
18401
|
|
|
18259
|
-
var __decorate$
|
|
18402
|
+
var __decorate$1p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18260
18403
|
var d,
|
|
18261
18404
|
c = arguments.length,
|
|
18262
18405
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18263
18406
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
18264
18407
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18265
18408
|
},
|
|
18266
|
-
__metadata$
|
|
18409
|
+
__metadata$14 = undefined && undefined.__metadata || function (k, v) {
|
|
18267
18410
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18268
18411
|
},
|
|
18269
|
-
__param$
|
|
18412
|
+
__param$J = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18270
18413
|
return function (target, key) {
|
|
18271
18414
|
decorator(target, key, paramIndex);
|
|
18272
18415
|
};
|
|
@@ -18306,7 +18449,7 @@ let DefaultPluginService = class {
|
|
|
18306
18449
|
}), this.onRegisterPlugin = [];
|
|
18307
18450
|
}
|
|
18308
18451
|
};
|
|
18309
|
-
DefaultPluginService = __decorate$
|
|
18452
|
+
DefaultPluginService = __decorate$1p([injectable(), __param$J(0, inject(ContributionProvider)), __param$J(0, named(AutoEnablePlugins)), __metadata$14("design:paramtypes", [Object])], DefaultPluginService);
|
|
18310
18453
|
|
|
18311
18454
|
var pluginModule = new ContainerModule(bind => {
|
|
18312
18455
|
bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
|
|
@@ -18320,14 +18463,14 @@ var textMeasureModules = new ContainerModule(bind => {
|
|
|
18320
18463
|
bind(TextMeasureContribution).to(DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
|
|
18321
18464
|
});
|
|
18322
18465
|
|
|
18323
|
-
var __decorate$
|
|
18466
|
+
var __decorate$1o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18324
18467
|
var d,
|
|
18325
18468
|
c = arguments.length,
|
|
18326
18469
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18327
18470
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
18328
18471
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18329
18472
|
},
|
|
18330
|
-
__metadata$
|
|
18473
|
+
__metadata$13 = undefined && undefined.__metadata || function (k, v) {
|
|
18331
18474
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18332
18475
|
};
|
|
18333
18476
|
let CanvasLayerHandlerContribution = class {
|
|
@@ -18397,7 +18540,7 @@ let CanvasLayerHandlerContribution = class {
|
|
|
18397
18540
|
this.canvas.release();
|
|
18398
18541
|
}
|
|
18399
18542
|
};
|
|
18400
|
-
CanvasLayerHandlerContribution = __decorate$
|
|
18543
|
+
CanvasLayerHandlerContribution = __decorate$1o([injectable(), __metadata$13("design:paramtypes", [])], CanvasLayerHandlerContribution);
|
|
18401
18544
|
|
|
18402
18545
|
var layerHandlerModules = new ContainerModule(bind => {
|
|
18403
18546
|
bind(CanvasLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution);
|
|
@@ -18516,17 +18659,17 @@ function findNextGraphic(graphic, id, defaultZIndex) {
|
|
|
18516
18659
|
return result;
|
|
18517
18660
|
}
|
|
18518
18661
|
|
|
18519
|
-
var __decorate$
|
|
18662
|
+
var __decorate$1n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18520
18663
|
var d,
|
|
18521
18664
|
c = arguments.length,
|
|
18522
18665
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18523
18666
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
18524
18667
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18525
18668
|
},
|
|
18526
|
-
__metadata$
|
|
18669
|
+
__metadata$12 = undefined && undefined.__metadata || function (k, v) {
|
|
18527
18670
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18528
18671
|
},
|
|
18529
|
-
__param$
|
|
18672
|
+
__param$I = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18530
18673
|
return function (target, key) {
|
|
18531
18674
|
decorator(target, key, paramIndex);
|
|
18532
18675
|
};
|
|
@@ -18725,9 +18868,9 @@ let DefaultDrawContribution = class {
|
|
|
18725
18868
|
}
|
|
18726
18869
|
afterDraw(renderService, drawParams) {}
|
|
18727
18870
|
};
|
|
18728
|
-
DefaultDrawContribution = __decorate$
|
|
18871
|
+
DefaultDrawContribution = __decorate$1n([injectable(), __param$I(0, multiInject(GraphicRender)), __param$I(1, inject(ContributionProvider)), __param$I(1, named(DrawItemInterceptor)), __metadata$12("design:paramtypes", [Array, Object])], DefaultDrawContribution);
|
|
18729
18872
|
|
|
18730
|
-
var __decorate$
|
|
18873
|
+
var __decorate$1m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18731
18874
|
var d,
|
|
18732
18875
|
c = arguments.length,
|
|
18733
18876
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18778,9 +18921,9 @@ let DefaultIncrementalCanvasLineRender = class extends DefaultCanvasLineRender {
|
|
|
18778
18921
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(line, attribute, defaultAttribute), context.setStrokeStyle(line, attribute, offsetX, offsetY, defaultAttribute), context.stroke());
|
|
18779
18922
|
}
|
|
18780
18923
|
};
|
|
18781
|
-
DefaultIncrementalCanvasLineRender = __decorate$
|
|
18924
|
+
DefaultIncrementalCanvasLineRender = __decorate$1m([injectable()], DefaultIncrementalCanvasLineRender);
|
|
18782
18925
|
|
|
18783
|
-
var __decorate$
|
|
18926
|
+
var __decorate$1l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18784
18927
|
var d,
|
|
18785
18928
|
c = arguments.length,
|
|
18786
18929
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18823,20 +18966,20 @@ let DefaultIncrementalCanvasAreaRender = class extends DefaultCanvasAreaRender {
|
|
|
18823
18966
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
|
|
18824
18967
|
}
|
|
18825
18968
|
};
|
|
18826
|
-
DefaultIncrementalCanvasAreaRender = __decorate$
|
|
18969
|
+
DefaultIncrementalCanvasAreaRender = __decorate$1l([injectable()], DefaultIncrementalCanvasAreaRender);
|
|
18827
18970
|
|
|
18828
18971
|
var STATUS,
|
|
18829
|
-
__decorate$
|
|
18972
|
+
__decorate$1k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18830
18973
|
var d,
|
|
18831
18974
|
c = arguments.length,
|
|
18832
18975
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18833
18976
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
18834
18977
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18835
18978
|
},
|
|
18836
|
-
__metadata
|
|
18979
|
+
__metadata$11 = undefined && undefined.__metadata || function (k, v) {
|
|
18837
18980
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18838
18981
|
},
|
|
18839
|
-
__param$
|
|
18982
|
+
__param$H = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18840
18983
|
return function (target, key) {
|
|
18841
18984
|
decorator(target, key, paramIndex);
|
|
18842
18985
|
};
|
|
@@ -18966,7 +19109,7 @@ let DefaultIncrementalDrawContribution = class extends DefaultDrawContribution {
|
|
|
18966
19109
|
});
|
|
18967
19110
|
}
|
|
18968
19111
|
};
|
|
18969
|
-
DefaultIncrementalDrawContribution = __decorate$
|
|
19112
|
+
DefaultIncrementalDrawContribution = __decorate$1k([injectable(), __param$H(0, multiInject(GraphicRender)), __param$H(1, inject(DefaultIncrementalCanvasLineRender)), __param$H(2, inject(DefaultIncrementalCanvasAreaRender)), __param$H(3, inject(ContributionProvider)), __param$H(3, named(DrawItemInterceptor)), __metadata$11("design:paramtypes", [Array, Object, Object, Object])], DefaultIncrementalDrawContribution);
|
|
18970
19113
|
|
|
18971
19114
|
var renderModule = new ContainerModule(bind => {
|
|
18972
19115
|
bind(DefaultBaseBackgroundRenderContribution).toSelf().inSingletonScope(), bind(DefaultBaseTextureRenderContribution).toSelf().inSingletonScope(), bind(DrawContribution).to(DefaultDrawContribution), bind(IncrementalDrawContribution).to(DefaultIncrementalDrawContribution), bind(GroupRender).to(DefaultCanvasGroupRender).inSingletonScope(), bind(GraphicRender).toService(GroupRender), bindContributionProvider(bind, GroupRenderContribution), bind(DefaultBaseInteractiveRenderContribution).toSelf().inSingletonScope(), bindContributionProvider(bind, InteractiveSubRenderContribution), bindContributionProvider(bind, GraphicRender), bind(CommonDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(CommonDrawItemInterceptorContribution), bindContributionProvider(bind, DrawItemInterceptor);
|
|
@@ -19668,14 +19811,14 @@ function createStage(params) {
|
|
|
19668
19811
|
return new Stage(params);
|
|
19669
19812
|
}
|
|
19670
19813
|
|
|
19671
|
-
var __decorate$
|
|
19814
|
+
var __decorate$1j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19672
19815
|
var d,
|
|
19673
19816
|
c = arguments.length,
|
|
19674
19817
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
19675
19818
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
19676
19819
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19677
19820
|
},
|
|
19678
|
-
__metadata$
|
|
19821
|
+
__metadata$10 = undefined && undefined.__metadata || function (k, v) {
|
|
19679
19822
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
19680
19823
|
};
|
|
19681
19824
|
const initMatrix = new Matrix(1, 0, 0, 1, 0, 0),
|
|
@@ -19885,7 +20028,7 @@ let EmptyContext2d = class {
|
|
|
19885
20028
|
this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
|
|
19886
20029
|
}
|
|
19887
20030
|
};
|
|
19888
|
-
EmptyContext2d = __decorate$
|
|
20031
|
+
EmptyContext2d = __decorate$1j([injectable(), __metadata$10("design:paramtypes", [Object, Number])], EmptyContext2d);
|
|
19889
20032
|
|
|
19890
20033
|
const DefaultConfig = {
|
|
19891
20034
|
WIDTH: 500,
|
|
@@ -19987,7 +20130,7 @@ class BaseCanvas {
|
|
|
19987
20130
|
}
|
|
19988
20131
|
BaseCanvas.env = "browser";
|
|
19989
20132
|
|
|
19990
|
-
var __decorate$
|
|
20133
|
+
var __decorate$1i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19991
20134
|
var d,
|
|
19992
20135
|
c = arguments.length,
|
|
19993
20136
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -20101,16 +20244,16 @@ let BaseEnvContribution = class {
|
|
|
20101
20244
|
return Promise.resolve(null);
|
|
20102
20245
|
}
|
|
20103
20246
|
};
|
|
20104
|
-
BaseEnvContribution = __decorate$
|
|
20247
|
+
BaseEnvContribution = __decorate$1i([injectable()], BaseEnvContribution);
|
|
20105
20248
|
|
|
20106
|
-
var __decorate$
|
|
20249
|
+
var __decorate$1h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20107
20250
|
var d,
|
|
20108
20251
|
c = arguments.length,
|
|
20109
20252
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20110
20253
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
20111
20254
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20112
20255
|
},
|
|
20113
|
-
__metadata
|
|
20256
|
+
__metadata$$ = undefined && undefined.__metadata || function (k, v) {
|
|
20114
20257
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20115
20258
|
};
|
|
20116
20259
|
let BaseWindowHandlerContribution = class {
|
|
@@ -20149,7 +20292,7 @@ let BaseWindowHandlerContribution = class {
|
|
|
20149
20292
|
return this.modelMatrix;
|
|
20150
20293
|
}
|
|
20151
20294
|
};
|
|
20152
|
-
BaseWindowHandlerContribution = __decorate$
|
|
20295
|
+
BaseWindowHandlerContribution = __decorate$1h([injectable(), __metadata$$("design:paramtypes", [])], BaseWindowHandlerContribution);
|
|
20153
20296
|
|
|
20154
20297
|
class DirectionalLight {
|
|
20155
20298
|
constructor(dir, color) {
|
|
@@ -20240,17 +20383,17 @@ const registerOrthoCamera = () => {
|
|
|
20240
20383
|
Factory.registerPlugin("OrthoCamera", OrthoCamera);
|
|
20241
20384
|
};
|
|
20242
20385
|
|
|
20243
|
-
var __decorate$
|
|
20386
|
+
var __decorate$1g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20244
20387
|
var d,
|
|
20245
20388
|
c = arguments.length,
|
|
20246
20389
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20247
20390
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
20248
20391
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20249
20392
|
},
|
|
20250
|
-
__metadata$
|
|
20393
|
+
__metadata$_ = undefined && undefined.__metadata || function (k, v) {
|
|
20251
20394
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20252
20395
|
},
|
|
20253
|
-
__param$
|
|
20396
|
+
__param$G = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20254
20397
|
return function (target, key) {
|
|
20255
20398
|
decorator(target, key, paramIndex);
|
|
20256
20399
|
};
|
|
@@ -20355,16 +20498,16 @@ let DefaultPickService = class {
|
|
|
20355
20498
|
return picker || null;
|
|
20356
20499
|
}
|
|
20357
20500
|
};
|
|
20358
|
-
DefaultPickService = __decorate$
|
|
20501
|
+
DefaultPickService = __decorate$1g([injectable(), __param$G(0, inject(ContributionProvider)), __param$G(0, named(PickItemInterceptor)), __param$G(1, inject(ContributionProvider)), __param$G(1, named(PickServiceInterceptor)), __metadata$_("design:paramtypes", [Object, Object])], DefaultPickService);
|
|
20359
20502
|
|
|
20360
|
-
var __decorate$
|
|
20503
|
+
var __decorate$1f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20361
20504
|
var d,
|
|
20362
20505
|
c = arguments.length,
|
|
20363
20506
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20364
20507
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
20365
20508
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20366
20509
|
},
|
|
20367
|
-
__metadata$
|
|
20510
|
+
__metadata$Z = undefined && undefined.__metadata || function (k, v) {
|
|
20368
20511
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20369
20512
|
};
|
|
20370
20513
|
let DefaultGlobalPickerService = class {
|
|
@@ -20429,7 +20572,7 @@ let DefaultGlobalPickerService = class {
|
|
|
20429
20572
|
} : null;
|
|
20430
20573
|
}
|
|
20431
20574
|
};
|
|
20432
|
-
DefaultGlobalPickerService = __decorate$
|
|
20575
|
+
DefaultGlobalPickerService = __decorate$1f([injectable(), __metadata$Z("design:paramtypes", [])], DefaultGlobalPickerService);
|
|
20433
20576
|
|
|
20434
20577
|
function simplifyRadialDist(points, sqTolerance) {
|
|
20435
20578
|
let deltaX,
|
|
@@ -20477,10 +20620,11 @@ function getDefaultCharacterConfig(attribute) {
|
|
|
20477
20620
|
};
|
|
20478
20621
|
}
|
|
20479
20622
|
function findConfigIndexByCursorIdx(textConfig, cursorIndex) {
|
|
20623
|
+
var _a;
|
|
20480
20624
|
if (cursorIndex < 0) return 0;
|
|
20481
20625
|
const intCursorIndex = Math.round(cursorIndex);
|
|
20482
20626
|
let tempCursorIndex = intCursorIndex,
|
|
20483
|
-
lineBreak =
|
|
20627
|
+
lineBreak = "\n" === (null === (_a = null == textConfig ? void 0 : textConfig[0]) || void 0 === _a ? void 0 : _a.text),
|
|
20484
20628
|
configIdx = 0;
|
|
20485
20629
|
for (configIdx = 0; configIdx < textConfig.length && tempCursorIndex >= 0; configIdx++) {
|
|
20486
20630
|
"\n" === textConfig[configIdx].text ? (tempCursorIndex -= Number(lineBreak), lineBreak = !0) : (tempCursorIndex--, lineBreak = !1);
|
|
@@ -20488,26 +20632,27 @@ function findConfigIndexByCursorIdx(textConfig, cursorIndex) {
|
|
|
20488
20632
|
return tempCursorIndex >= 0 ? textConfig.length : (configIdx -= 1, cursorIndex > intCursorIndex && !lineBreak && (configIdx += 1), configIdx);
|
|
20489
20633
|
}
|
|
20490
20634
|
function findCursorIdxByConfigIndex(textConfig, configIndex) {
|
|
20491
|
-
var _a, _b, _c;
|
|
20635
|
+
var _a, _b, _c, _d;
|
|
20492
20636
|
let cursorIndex = 0;
|
|
20493
20637
|
if (configIndex < 0) return -.1;
|
|
20494
|
-
let lastLineBreak =
|
|
20638
|
+
let lastLineBreak = "\n" === (null === (_a = null == textConfig ? void 0 : textConfig[0]) || void 0 === _a ? void 0 : _a.text);
|
|
20495
20639
|
for (let i = 0; i <= configIndex && i < textConfig.length; i++) {
|
|
20496
20640
|
"\n" === textConfig[i].text ? (cursorIndex += Number(lastLineBreak), lastLineBreak = !0) : (cursorIndex++, lastLineBreak = !1);
|
|
20497
20641
|
}
|
|
20498
|
-
if (cursorIndex = Math.max(cursorIndex - 1, 0), configIndex > textConfig.length - 1) return "\n" === (null === (
|
|
20499
|
-
const lineBreak = "\n" === (null === (
|
|
20642
|
+
if (cursorIndex = Math.max(cursorIndex - 1, 0), configIndex > textConfig.length - 1) return "\n" === (null === (_b = textConfig[textConfig.length - 1]) || void 0 === _b ? void 0 : _b.text) ? cursorIndex + .9 : cursorIndex + .1;
|
|
20643
|
+
const lineBreak = "\n" === (null === (_c = textConfig[configIndex]) || void 0 === _c ? void 0 : _c.text);
|
|
20500
20644
|
if (configIndex >= textConfig.length - 1 && lineBreak) return cursorIndex + 1 - .1;
|
|
20501
|
-
return cursorIndex -= .1, lineBreak && "\n" !== (null === (
|
|
20645
|
+
return cursorIndex -= .1, lineBreak && "\n" !== (null === (_d = textConfig[configIndex - 1]) || void 0 === _d ? void 0 : _d.text) && (cursorIndex += .2), cursorIndex;
|
|
20502
20646
|
}
|
|
20503
20647
|
class EditModule {
|
|
20504
20648
|
constructor(container) {
|
|
20505
20649
|
this.handleFocusIn = () => {}, this.handleFocusOut = () => {}, this.handleKeyDown = e => {
|
|
20506
|
-
"Delete" !== e.key && "Backspace" !== e.key || this.handleInput({
|
|
20650
|
+
this.currRt && ("Delete" !== e.key && "Backspace" !== e.key || this.handleInput({
|
|
20507
20651
|
data: null,
|
|
20508
20652
|
type: "Backspace"
|
|
20509
|
-
});
|
|
20653
|
+
}));
|
|
20510
20654
|
}, this.handleCompositionStart = () => {
|
|
20655
|
+
if (!this.currRt) return;
|
|
20511
20656
|
this.isComposing = !0;
|
|
20512
20657
|
const {
|
|
20513
20658
|
textConfig = []
|
|
@@ -20590,6 +20735,7 @@ class EditModule {
|
|
|
20590
20735
|
}
|
|
20591
20736
|
parseCompositionStr(configIdx) {
|
|
20592
20737
|
var _a;
|
|
20738
|
+
if (!this.currRt) return "";
|
|
20593
20739
|
const {
|
|
20594
20740
|
textConfig = []
|
|
20595
20741
|
} = this.currRt.attribute,
|
|
@@ -21080,7 +21226,7 @@ class RichTextEditPlugin {
|
|
|
21080
21226
|
const {
|
|
21081
21227
|
editOptions = {}
|
|
21082
21228
|
} = currRt.attribute;
|
|
21083
|
-
editOptions.stopPropagation && currRt.removeEventListener("*", this.stopPropagation), trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), currRt.detachShadow()), this.currRt = null;
|
|
21229
|
+
editOptions.stopPropagation && currRt.removeEventListener("*", this.stopPropagation), trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), currRt.detachShadow()), this.currRt = null, this.editModule.currRt = null;
|
|
21084
21230
|
const shadowRoot = this.getShadow(currRt);
|
|
21085
21231
|
this.editLine && (this.removeEditLineOrBgOrBounds(this.editLine, shadowRoot), this.editLine.release(), this.editLine = null, this.removeEditLineOrBgOrBounds(this.editBg, shadowRoot), this.editBg.release(), this.editBg = null), trulyDeFocus && (this.shadowBounds && (this.removeEditLineOrBgOrBounds(this.shadowBounds, shadowRoot), this.shadowBounds.release(), this.shadowBounds = null), this.shadowPlaceHolder && (this.shadowPlaceHolder.parent && this.shadowPlaceHolder.parent.removeChild(this.shadowPlaceHolder), this.shadowPlaceHolder.release(), this.shadowPlaceHolder = null)), this.focusing = !1, currRt.removeEventListener("pointerleave", this.handleLeave);
|
|
21086
21232
|
}
|
|
@@ -21584,7 +21730,65 @@ const polygonModule = new ContainerModule(bind => {
|
|
|
21584
21730
|
loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
|
|
21585
21731
|
});
|
|
21586
21732
|
|
|
21587
|
-
var __decorate$
|
|
21733
|
+
var __decorate$1e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21734
|
+
var d,
|
|
21735
|
+
c = arguments.length,
|
|
21736
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21737
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
21738
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21739
|
+
},
|
|
21740
|
+
__metadata$Y = undefined && undefined.__metadata || function (k, v) {
|
|
21741
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21742
|
+
},
|
|
21743
|
+
__param$F = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
21744
|
+
return function (target, key) {
|
|
21745
|
+
decorator(target, key, paramIndex);
|
|
21746
|
+
};
|
|
21747
|
+
};
|
|
21748
|
+
let DefaultCanvasStarRender = class extends BaseRender {
|
|
21749
|
+
constructor(starRenderContribitions) {
|
|
21750
|
+
super(), this.starRenderContribitions = starRenderContribitions, this.numberType = STAR_NUMBER_TYPE, this.builtinContributions = [defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution], this.init(starRenderContribitions);
|
|
21751
|
+
}
|
|
21752
|
+
drawShape(star, context, x, y, drawContext, params, fillCb, strokeCb) {
|
|
21753
|
+
const starAttribute = getTheme(star, null == params ? void 0 : params.theme).star,
|
|
21754
|
+
{
|
|
21755
|
+
x: originX = starAttribute.x,
|
|
21756
|
+
y: originY = starAttribute.y,
|
|
21757
|
+
fillStrokeOrder = starAttribute.fillStrokeOrder
|
|
21758
|
+
} = star.attribute,
|
|
21759
|
+
data = this.valid(star, starAttribute, fillCb, strokeCb);
|
|
21760
|
+
if (!data) return;
|
|
21761
|
+
const {
|
|
21762
|
+
fVisible: fVisible,
|
|
21763
|
+
sVisible: sVisible,
|
|
21764
|
+
doFill: doFill,
|
|
21765
|
+
doStroke: doStroke
|
|
21766
|
+
} = data,
|
|
21767
|
+
points = star.getCachedPoints();
|
|
21768
|
+
context.beginPath(), points && points.length && points.forEach((point, index) => {
|
|
21769
|
+
0 === index ? context.moveTo(x + point.x, y + point.y) : context.lineTo(x + point.x, y + point.y);
|
|
21770
|
+
}), context.closePath(), context.setShadowBlendStyle && context.setShadowBlendStyle(star, star.attribute, starAttribute), this.beforeRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
|
|
21771
|
+
const _runFill = () => {
|
|
21772
|
+
doFill && (fillCb ? fillCb(context, star.attribute, starAttribute) : fVisible && (context.setCommonStyle(star, star.attribute, originX - x, originY - y, starAttribute), context.fill()));
|
|
21773
|
+
},
|
|
21774
|
+
_runStroke = () => {
|
|
21775
|
+
doStroke && (strokeCb ? strokeCb(context, star.attribute, starAttribute) : sVisible && (context.setStrokeStyle(star, star.attribute, originX - x, originY - y, starAttribute), context.stroke()));
|
|
21776
|
+
};
|
|
21777
|
+
fillStrokeOrder ? (_runStroke(), _runFill()) : (_runFill(), _runStroke()), this.afterRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
|
|
21778
|
+
}
|
|
21779
|
+
draw(star, renderService, drawContext, params) {
|
|
21780
|
+
const starAttribute = getTheme(star, null == params ? void 0 : params.theme).star;
|
|
21781
|
+
this._draw(star, starAttribute, !1, drawContext, params);
|
|
21782
|
+
}
|
|
21783
|
+
};
|
|
21784
|
+
DefaultCanvasStarRender = __decorate$1e([injectable(), __param$F(0, inject(ContributionProvider)), __param$F(0, named(StarRenderContribution)), __metadata$Y("design:paramtypes", [Object])], DefaultCanvasStarRender);
|
|
21785
|
+
|
|
21786
|
+
let loadStarModule = !1;
|
|
21787
|
+
const starModule = new ContainerModule(bind => {
|
|
21788
|
+
loadStarModule || (loadStarModule = !0, bind(StarRender).to(DefaultCanvasStarRender).inSingletonScope(), bind(GraphicRender).toService(StarRender));
|
|
21789
|
+
});
|
|
21790
|
+
|
|
21791
|
+
var __decorate$1d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21588
21792
|
var d,
|
|
21589
21793
|
c = arguments.length,
|
|
21590
21794
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21616,21 +21820,21 @@ let DefaultCanvasGlyphRender = class {
|
|
|
21616
21820
|
}), context.highPerformanceRestore();
|
|
21617
21821
|
}
|
|
21618
21822
|
};
|
|
21619
|
-
DefaultCanvasGlyphRender = __decorate$
|
|
21823
|
+
DefaultCanvasGlyphRender = __decorate$1d([injectable()], DefaultCanvasGlyphRender);
|
|
21620
21824
|
|
|
21621
21825
|
let loadGlyphModule = !1;
|
|
21622
21826
|
const glyphModule = new ContainerModule(bind => {
|
|
21623
21827
|
loadGlyphModule || (loadGlyphModule = !0, bind(GlyphRender).to(DefaultCanvasGlyphRender).inSingletonScope(), bind(GraphicRender).toService(GlyphRender));
|
|
21624
21828
|
});
|
|
21625
21829
|
|
|
21626
|
-
var __decorate$
|
|
21830
|
+
var __decorate$1c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21627
21831
|
var d,
|
|
21628
21832
|
c = arguments.length,
|
|
21629
21833
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21630
21834
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
21631
21835
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21632
21836
|
},
|
|
21633
|
-
__metadata$
|
|
21837
|
+
__metadata$X = undefined && undefined.__metadata || function (k, v) {
|
|
21634
21838
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21635
21839
|
};
|
|
21636
21840
|
let DefaultCanvasRichTextRender = class extends BaseRender {
|
|
@@ -21684,7 +21888,7 @@ let DefaultCanvasRichTextRender = class extends BaseRender {
|
|
|
21684
21888
|
this._draw(richtext, richtextAttribute, !1, drawContext);
|
|
21685
21889
|
}
|
|
21686
21890
|
};
|
|
21687
|
-
DefaultCanvasRichTextRender = __decorate$
|
|
21891
|
+
DefaultCanvasRichTextRender = __decorate$1c([injectable(), __metadata$X("design:paramtypes", [])], DefaultCanvasRichTextRender);
|
|
21688
21892
|
|
|
21689
21893
|
let loadRichtextModule = !1;
|
|
21690
21894
|
const richtextModule = new ContainerModule(bind => {
|
|
@@ -21768,7 +21972,7 @@ class Base3dRender extends BaseRender {
|
|
|
21768
21972
|
}
|
|
21769
21973
|
}
|
|
21770
21974
|
|
|
21771
|
-
var __decorate$
|
|
21975
|
+
var __decorate$1b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21772
21976
|
var d,
|
|
21773
21977
|
c = arguments.length,
|
|
21774
21978
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21824,14 +22028,14 @@ let DefaultCanvasRect3dRender = class extends Base3dRender {
|
|
|
21824
22028
|
this._draw(rect, rectAttribute, !1, drawContext);
|
|
21825
22029
|
}
|
|
21826
22030
|
};
|
|
21827
|
-
DefaultCanvasRect3dRender = __decorate$
|
|
22031
|
+
DefaultCanvasRect3dRender = __decorate$1b([injectable()], DefaultCanvasRect3dRender);
|
|
21828
22032
|
|
|
21829
22033
|
let loadRect3dModule = !1;
|
|
21830
22034
|
const rect3dModule = new ContainerModule(bind => {
|
|
21831
22035
|
loadRect3dModule || (loadRect3dModule = !0, bind(Rect3DRender).to(DefaultCanvasRect3dRender).inSingletonScope(), bind(GraphicRender).toService(Rect3DRender));
|
|
21832
22036
|
});
|
|
21833
22037
|
|
|
21834
|
-
var __decorate$
|
|
22038
|
+
var __decorate$1a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21835
22039
|
var d,
|
|
21836
22040
|
c = arguments.length,
|
|
21837
22041
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21958,14 +22162,14 @@ let DefaultCanvasArc3DRender = class extends BaseRender {
|
|
|
21958
22162
|
this._draw(arc, arcAttribute, !1, drawContext, params);
|
|
21959
22163
|
}
|
|
21960
22164
|
};
|
|
21961
|
-
DefaultCanvasArc3DRender = __decorate$
|
|
22165
|
+
DefaultCanvasArc3DRender = __decorate$1a([injectable()], DefaultCanvasArc3DRender);
|
|
21962
22166
|
|
|
21963
22167
|
let loadArc3dModule = !1;
|
|
21964
22168
|
const arc3dModule = new ContainerModule(bind => {
|
|
21965
22169
|
loadArc3dModule || (loadArc3dModule = !0, bind(Arc3dRender).to(DefaultCanvasArc3DRender).inSingletonScope(), bind(GraphicRender).toService(Arc3dRender));
|
|
21966
22170
|
});
|
|
21967
22171
|
|
|
21968
|
-
var __decorate$
|
|
22172
|
+
var __decorate$19 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21969
22173
|
var d,
|
|
21970
22174
|
c = arguments.length,
|
|
21971
22175
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -22002,7 +22206,7 @@ let DefaultCanvasPyramid3dRender = class extends Base3dRender {
|
|
|
22002
22206
|
this._draw(pyramid3d, pyramid3dAttribute, !1, drawContext);
|
|
22003
22207
|
}
|
|
22004
22208
|
};
|
|
22005
|
-
DefaultCanvasPyramid3dRender = __decorate$
|
|
22209
|
+
DefaultCanvasPyramid3dRender = __decorate$19([injectable()], DefaultCanvasPyramid3dRender);
|
|
22006
22210
|
|
|
22007
22211
|
let loadPyramid3dModule = !1;
|
|
22008
22212
|
const pyramid3dModule = new ContainerModule(bind => {
|
|
@@ -22049,6 +22253,10 @@ function registerPolygonGraphic() {
|
|
|
22049
22253
|
graphicCreator.RegisterGraphicCreator("polygon", createPolygon);
|
|
22050
22254
|
}
|
|
22051
22255
|
|
|
22256
|
+
function registerStarGraphic() {
|
|
22257
|
+
graphicCreator.RegisterGraphicCreator("star", createStar);
|
|
22258
|
+
}
|
|
22259
|
+
|
|
22052
22260
|
function registerPyramid3dGraphic() {
|
|
22053
22261
|
graphicCreator.RegisterGraphicCreator("pyramid3d", createPyramid3d);
|
|
22054
22262
|
}
|
|
@@ -24125,17 +24333,17 @@ class RoughBaseRender {
|
|
|
24125
24333
|
}
|
|
24126
24334
|
}
|
|
24127
24335
|
|
|
24128
|
-
var __decorate$
|
|
24336
|
+
var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24129
24337
|
var d,
|
|
24130
24338
|
c = arguments.length,
|
|
24131
24339
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24132
24340
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
24133
24341
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24134
24342
|
},
|
|
24135
|
-
__metadata$
|
|
24343
|
+
__metadata$W = undefined && undefined.__metadata || function (k, v) {
|
|
24136
24344
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24137
24345
|
},
|
|
24138
|
-
__param$
|
|
24346
|
+
__param$E = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24139
24347
|
return function (target, key) {
|
|
24140
24348
|
decorator(target, key, paramIndex);
|
|
24141
24349
|
};
|
|
@@ -24221,9 +24429,9 @@ let RoughCanvasArcRender = class extends RoughBaseRender {
|
|
|
24221
24429
|
}), context.highPerformanceRestore();
|
|
24222
24430
|
}
|
|
24223
24431
|
};
|
|
24224
|
-
RoughCanvasArcRender = __decorate$
|
|
24432
|
+
RoughCanvasArcRender = __decorate$18([injectable(), __param$E(0, inject(DefaultCanvasArcRender)), __metadata$W("design:paramtypes", [Object])], RoughCanvasArcRender);
|
|
24225
24433
|
|
|
24226
|
-
var __decorate$
|
|
24434
|
+
var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24227
24435
|
var d,
|
|
24228
24436
|
c = arguments.length,
|
|
24229
24437
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -24301,19 +24509,19 @@ let RoughCanvasAreaRender = class extends DefaultCanvasAreaRender {
|
|
|
24301
24509
|
}), context.highPerformanceRestore(), !1;
|
|
24302
24510
|
}
|
|
24303
24511
|
};
|
|
24304
|
-
RoughCanvasAreaRender = __decorate$
|
|
24512
|
+
RoughCanvasAreaRender = __decorate$17([injectable()], RoughCanvasAreaRender);
|
|
24305
24513
|
|
|
24306
|
-
var __decorate$
|
|
24514
|
+
var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24307
24515
|
var d,
|
|
24308
24516
|
c = arguments.length,
|
|
24309
24517
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24310
24518
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
24311
24519
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24312
24520
|
},
|
|
24313
|
-
__metadata$
|
|
24521
|
+
__metadata$V = undefined && undefined.__metadata || function (k, v) {
|
|
24314
24522
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24315
24523
|
},
|
|
24316
|
-
__param$
|
|
24524
|
+
__param$D = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24317
24525
|
return function (target, key) {
|
|
24318
24526
|
decorator(target, key, paramIndex);
|
|
24319
24527
|
};
|
|
@@ -24350,9 +24558,9 @@ let RoughCanvasCircleRender = class extends RoughBaseRender {
|
|
|
24350
24558
|
});
|
|
24351
24559
|
}
|
|
24352
24560
|
};
|
|
24353
|
-
RoughCanvasCircleRender = __decorate$
|
|
24561
|
+
RoughCanvasCircleRender = __decorate$16([injectable(), __param$D(0, inject(DefaultCanvasCircleRender)), __metadata$V("design:paramtypes", [Object])], RoughCanvasCircleRender);
|
|
24354
24562
|
|
|
24355
|
-
var __decorate$
|
|
24563
|
+
var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24356
24564
|
var d,
|
|
24357
24565
|
c = arguments.length,
|
|
24358
24566
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -24431,19 +24639,19 @@ let RoughCanvasLineRender = class extends DefaultCanvasLineRender {
|
|
|
24431
24639
|
}), context.highPerformanceRestore(), !1;
|
|
24432
24640
|
}
|
|
24433
24641
|
};
|
|
24434
|
-
RoughCanvasLineRender = __decorate$
|
|
24642
|
+
RoughCanvasLineRender = __decorate$15([injectable()], RoughCanvasLineRender);
|
|
24435
24643
|
|
|
24436
|
-
var __decorate$
|
|
24644
|
+
var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24437
24645
|
var d,
|
|
24438
24646
|
c = arguments.length,
|
|
24439
24647
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24440
24648
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
24441
24649
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24442
24650
|
},
|
|
24443
|
-
__metadata$
|
|
24651
|
+
__metadata$U = undefined && undefined.__metadata || function (k, v) {
|
|
24444
24652
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24445
24653
|
},
|
|
24446
|
-
__param$
|
|
24654
|
+
__param$C = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24447
24655
|
return function (target, key) {
|
|
24448
24656
|
decorator(target, key, paramIndex);
|
|
24449
24657
|
};
|
|
@@ -24517,19 +24725,19 @@ let RoughCanvasPathRender = class extends RoughBaseRender {
|
|
|
24517
24725
|
}), context.highPerformanceRestore();
|
|
24518
24726
|
}
|
|
24519
24727
|
};
|
|
24520
|
-
RoughCanvasPathRender = __decorate$
|
|
24728
|
+
RoughCanvasPathRender = __decorate$14([injectable(), __param$C(0, inject(DefaultCanvasPathRender)), __metadata$U("design:paramtypes", [Object])], RoughCanvasPathRender);
|
|
24521
24729
|
|
|
24522
|
-
var __decorate$
|
|
24730
|
+
var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24523
24731
|
var d,
|
|
24524
24732
|
c = arguments.length,
|
|
24525
24733
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24526
24734
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
24527
24735
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24528
24736
|
},
|
|
24529
|
-
__metadata$
|
|
24737
|
+
__metadata$T = undefined && undefined.__metadata || function (k, v) {
|
|
24530
24738
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24531
24739
|
},
|
|
24532
|
-
__param$
|
|
24740
|
+
__param$B = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24533
24741
|
return function (target, key) {
|
|
24534
24742
|
decorator(target, key, paramIndex);
|
|
24535
24743
|
};
|
|
@@ -24620,19 +24828,19 @@ let RoughCanvasRectRender = class extends RoughBaseRender {
|
|
|
24620
24828
|
}), context.highPerformanceRestore();
|
|
24621
24829
|
}
|
|
24622
24830
|
};
|
|
24623
|
-
RoughCanvasRectRender = __decorate$
|
|
24831
|
+
RoughCanvasRectRender = __decorate$13([injectable(), __param$B(0, inject(DefaultCanvasRectRender)), __metadata$T("design:paramtypes", [Object])], RoughCanvasRectRender);
|
|
24624
24832
|
|
|
24625
|
-
var __decorate$
|
|
24833
|
+
var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24626
24834
|
var d,
|
|
24627
24835
|
c = arguments.length,
|
|
24628
24836
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24629
24837
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
24630
24838
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24631
24839
|
},
|
|
24632
|
-
__metadata$
|
|
24840
|
+
__metadata$S = undefined && undefined.__metadata || function (k, v) {
|
|
24633
24841
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24634
24842
|
},
|
|
24635
|
-
__param$
|
|
24843
|
+
__param$A = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24636
24844
|
return function (target, key) {
|
|
24637
24845
|
decorator(target, key, paramIndex);
|
|
24638
24846
|
};
|
|
@@ -24724,7 +24932,7 @@ let RoughCanvasSymbolRender = class extends BaseRender {
|
|
|
24724
24932
|
if (this.canvasRenderer.drawShape) return this.canvasRenderer.drawShape(graphic, ctx, x, y, drawContext, params, fillCb, strokeCb);
|
|
24725
24933
|
}
|
|
24726
24934
|
};
|
|
24727
|
-
RoughCanvasSymbolRender = __decorate$
|
|
24935
|
+
RoughCanvasSymbolRender = __decorate$12([injectable(), __param$A(0, inject(DefaultCanvasSymbolRender)), __metadata$S("design:paramtypes", [Object])], RoughCanvasSymbolRender);
|
|
24728
24936
|
|
|
24729
24937
|
var _roughModule = new ContainerModule(bind => {
|
|
24730
24938
|
bind(RoughCanvasCircleRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasCircleRender), bind(RoughCanvasRectRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasRectRender), bind(RoughCanvasPathRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasPathRender), bind(RoughCanvasSymbolRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasSymbolRender), bind(RoughCanvasLineRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasLineRender), bind(RoughCanvasAreaRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasAreaRender), bind(RoughCanvasArcRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasArcRender);
|
|
@@ -24760,6 +24968,7 @@ const CanvasPyramid3dPicker = Symbol.for("CanvasPyramid3dPicker");
|
|
|
24760
24968
|
const CanvasRichTextPicker = Symbol.for("CanvasRichTextPicker");
|
|
24761
24969
|
const CanvasGlyphPicker = Symbol.for("CanvasGlyphPicker");
|
|
24762
24970
|
const CanvasGroupPicker = Symbol.for("CanvasGroupPicker");
|
|
24971
|
+
const CanvasStarPicker = Symbol.for("CanvasStarPicker");
|
|
24763
24972
|
const CanvasPickerContribution = Symbol.for("CanvasPickerContribution");
|
|
24764
24973
|
|
|
24765
24974
|
const REACT_TO_CANOPUS_EVENTS = {
|
|
@@ -25237,14 +25446,14 @@ class Gesture extends EventEmitter {
|
|
|
25237
25446
|
}
|
|
25238
25447
|
}
|
|
25239
25448
|
|
|
25240
|
-
var __decorate$
|
|
25449
|
+
var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25241
25450
|
var d,
|
|
25242
25451
|
c = arguments.length,
|
|
25243
25452
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25244
25453
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
25245
25454
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25246
25455
|
},
|
|
25247
|
-
__metadata$
|
|
25456
|
+
__metadata$R = undefined && undefined.__metadata || function (k, v) {
|
|
25248
25457
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25249
25458
|
};
|
|
25250
25459
|
const outP = [0, 0, 0],
|
|
@@ -25756,16 +25965,16 @@ let BrowserContext2d = class {
|
|
|
25756
25965
|
this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
|
|
25757
25966
|
}
|
|
25758
25967
|
};
|
|
25759
|
-
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$
|
|
25968
|
+
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$11([injectable(), __metadata$R("design:paramtypes", [Object, Number])], BrowserContext2d);
|
|
25760
25969
|
|
|
25761
|
-
var __decorate
|
|
25970
|
+
var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25762
25971
|
var d,
|
|
25763
25972
|
c = arguments.length,
|
|
25764
25973
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25765
25974
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
25766
25975
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25767
25976
|
},
|
|
25768
|
-
__metadata$
|
|
25977
|
+
__metadata$Q = undefined && undefined.__metadata || function (k, v) {
|
|
25769
25978
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25770
25979
|
};
|
|
25771
25980
|
let BrowserCanvas = class extends BaseCanvas {
|
|
@@ -25827,7 +26036,7 @@ let BrowserCanvas = class extends BaseCanvas {
|
|
|
25827
26036
|
this._context.dpr = this._dpr;
|
|
25828
26037
|
}
|
|
25829
26038
|
};
|
|
25830
|
-
BrowserCanvas.env = "browser", BrowserCanvas = __decorate
|
|
26039
|
+
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$10([injectable(), __metadata$Q("design:paramtypes", [Object])], BrowserCanvas);
|
|
25831
26040
|
|
|
25832
26041
|
function createModule(CanvasConstructor, ContextConstructor) {
|
|
25833
26042
|
return new ContainerModule(bind => {
|
|
@@ -25837,17 +26046,17 @@ function createModule(CanvasConstructor, ContextConstructor) {
|
|
|
25837
26046
|
|
|
25838
26047
|
const browserCanvasModule = createModule(BrowserCanvas, BrowserContext2d);
|
|
25839
26048
|
|
|
25840
|
-
var __decorate
|
|
26049
|
+
var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25841
26050
|
var d,
|
|
25842
26051
|
c = arguments.length,
|
|
25843
26052
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25844
26053
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
25845
26054
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25846
26055
|
},
|
|
25847
|
-
__metadata$
|
|
26056
|
+
__metadata$P = undefined && undefined.__metadata || function (k, v) {
|
|
25848
26057
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25849
26058
|
},
|
|
25850
|
-
__param$
|
|
26059
|
+
__param$z = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
25851
26060
|
return function (target, key) {
|
|
25852
26061
|
decorator(target, key, paramIndex);
|
|
25853
26062
|
};
|
|
@@ -25898,9 +26107,9 @@ let DefaultCanvasPickerService = class extends DefaultPickService {
|
|
|
25898
26107
|
return data;
|
|
25899
26108
|
}
|
|
25900
26109
|
};
|
|
25901
|
-
DefaultCanvasPickerService = __decorate
|
|
26110
|
+
DefaultCanvasPickerService = __decorate$$([injectable(), __param$z(0, inject(ContributionProvider)), __param$z(0, named(CanvasPickerContribution)), __param$z(1, inject(DrawContribution)), __param$z(2, inject(ContributionProvider)), __param$z(2, named(PickItemInterceptor)), __param$z(3, inject(ContributionProvider)), __param$z(3, named(PickServiceInterceptor)), __metadata$P("design:paramtypes", [Object, Object, Object, Object])], DefaultCanvasPickerService);
|
|
25902
26111
|
|
|
25903
|
-
var __decorate$
|
|
26112
|
+
var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25904
26113
|
var d,
|
|
25905
26114
|
c = arguments.length,
|
|
25906
26115
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -25915,7 +26124,7 @@ let DefaultCanvasGroupPicker = class {
|
|
|
25915
26124
|
return !1;
|
|
25916
26125
|
}
|
|
25917
26126
|
};
|
|
25918
|
-
DefaultCanvasGroupPicker = __decorate$
|
|
26127
|
+
DefaultCanvasGroupPicker = __decorate$_([injectable()], DefaultCanvasGroupPicker);
|
|
25919
26128
|
|
|
25920
26129
|
const m$1 = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
25921
26130
|
m$1.__vloaded || (m$1.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
@@ -25931,14 +26140,14 @@ function loadCanvasPicker(c) {
|
|
|
25931
26140
|
}
|
|
25932
26141
|
|
|
25933
26142
|
var BrowserWindowHandlerContribution_1,
|
|
25934
|
-
__decorate$
|
|
26143
|
+
__decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25935
26144
|
var d,
|
|
25936
26145
|
c = arguments.length,
|
|
25937
26146
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25938
26147
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
25939
26148
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25940
26149
|
},
|
|
25941
|
-
__metadata$
|
|
26150
|
+
__metadata$O = undefined && undefined.__metadata || function (k, v) {
|
|
25942
26151
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25943
26152
|
};
|
|
25944
26153
|
let BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = class extends BaseWindowHandlerContribution {
|
|
@@ -26096,19 +26305,19 @@ let BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = clas
|
|
|
26096
26305
|
return this.global.getElementTopLeft(this.canvas.nativeCanvas, baseWindow);
|
|
26097
26306
|
}
|
|
26098
26307
|
};
|
|
26099
|
-
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$
|
|
26308
|
+
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$Z([injectable(), __metadata$O("design:paramtypes", [])], BrowserWindowHandlerContribution);
|
|
26100
26309
|
const browserWindowModule = new ContainerModule(bind => {
|
|
26101
26310
|
bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(BrowserWindowHandlerContribution)).whenTargetNamed(BrowserWindowHandlerContribution.env);
|
|
26102
26311
|
});
|
|
26103
26312
|
|
|
26104
|
-
var __decorate$
|
|
26313
|
+
var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26105
26314
|
var d,
|
|
26106
26315
|
c = arguments.length,
|
|
26107
26316
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26108
26317
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26109
26318
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26110
26319
|
},
|
|
26111
|
-
__metadata$
|
|
26320
|
+
__metadata$N = undefined && undefined.__metadata || function (k, v) {
|
|
26112
26321
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26113
26322
|
},
|
|
26114
26323
|
__awaiter$2 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -26355,7 +26564,7 @@ let BrowserEnvContribution = class extends BaseEnvContribution {
|
|
|
26355
26564
|
return navigator.clipboard.writeText(text).then(() => {}).catch(err => {});
|
|
26356
26565
|
}
|
|
26357
26566
|
};
|
|
26358
|
-
BrowserEnvContribution = __decorate$
|
|
26567
|
+
BrowserEnvContribution = __decorate$Y([injectable(), __metadata$N("design:paramtypes", [])], BrowserEnvContribution);
|
|
26359
26568
|
|
|
26360
26569
|
const browserEnvModule = new ContainerModule(bind => {
|
|
26361
26570
|
browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
|
|
@@ -26370,7 +26579,7 @@ function initBrowserEnv() {
|
|
|
26370
26579
|
loadBrowserEnv(container);
|
|
26371
26580
|
}
|
|
26372
26581
|
|
|
26373
|
-
var __decorate$
|
|
26582
|
+
var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26374
26583
|
var d,
|
|
26375
26584
|
c = arguments.length,
|
|
26376
26585
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26415,16 +26624,16 @@ let FeishuContext2d = class extends BrowserContext2d {
|
|
|
26415
26624
|
return null;
|
|
26416
26625
|
}
|
|
26417
26626
|
};
|
|
26418
|
-
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$
|
|
26627
|
+
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$X([injectable()], FeishuContext2d);
|
|
26419
26628
|
|
|
26420
|
-
var __decorate$
|
|
26629
|
+
var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26421
26630
|
var d,
|
|
26422
26631
|
c = arguments.length,
|
|
26423
26632
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26424
26633
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26425
26634
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26426
26635
|
},
|
|
26427
|
-
__metadata$
|
|
26636
|
+
__metadata$M = undefined && undefined.__metadata || function (k, v) {
|
|
26428
26637
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26429
26638
|
};
|
|
26430
26639
|
let FeishuCanvas = class extends BaseCanvas {
|
|
@@ -26436,21 +26645,21 @@ let FeishuCanvas = class extends BaseCanvas {
|
|
|
26436
26645
|
}
|
|
26437
26646
|
release() {}
|
|
26438
26647
|
};
|
|
26439
|
-
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$
|
|
26648
|
+
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$W([injectable(), __metadata$M("design:paramtypes", [Object])], FeishuCanvas);
|
|
26440
26649
|
|
|
26441
26650
|
const feishuCanvasModule = createModule(FeishuCanvas, FeishuContext2d);
|
|
26442
26651
|
|
|
26443
|
-
var __decorate$
|
|
26652
|
+
var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26444
26653
|
var d,
|
|
26445
26654
|
c = arguments.length,
|
|
26446
26655
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26447
26656
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26448
26657
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26449
26658
|
},
|
|
26450
|
-
__metadata$
|
|
26659
|
+
__metadata$L = undefined && undefined.__metadata || function (k, v) {
|
|
26451
26660
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26452
26661
|
},
|
|
26453
|
-
__param$
|
|
26662
|
+
__param$y = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26454
26663
|
return function (target, key) {
|
|
26455
26664
|
decorator(target, key, paramIndex);
|
|
26456
26665
|
};
|
|
@@ -26586,22 +26795,22 @@ let FeishuWindowHandlerContribution = class extends BaseWindowHandlerContributio
|
|
|
26586
26795
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
26587
26796
|
}
|
|
26588
26797
|
};
|
|
26589
|
-
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$
|
|
26798
|
+
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$V([injectable(), __param$y(0, inject(VGlobal)), __metadata$L("design:paramtypes", [Object])], FeishuWindowHandlerContribution);
|
|
26590
26799
|
const feishuWindowModule = new ContainerModule(bind => {
|
|
26591
26800
|
bind(FeishuWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(FeishuWindowHandlerContribution)).whenTargetNamed(FeishuWindowHandlerContribution.env);
|
|
26592
26801
|
});
|
|
26593
26802
|
|
|
26594
|
-
var __decorate$
|
|
26803
|
+
var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26595
26804
|
var d,
|
|
26596
26805
|
c = arguments.length,
|
|
26597
26806
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26598
26807
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26599
26808
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26600
26809
|
},
|
|
26601
|
-
__metadata$
|
|
26810
|
+
__metadata$K = undefined && undefined.__metadata || function (k, v) {
|
|
26602
26811
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26603
26812
|
},
|
|
26604
|
-
__param$
|
|
26813
|
+
__param$x = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26605
26814
|
return function (target, key) {
|
|
26606
26815
|
decorator(target, key, paramIndex);
|
|
26607
26816
|
};
|
|
@@ -26632,7 +26841,7 @@ let DefaultMathPickerService = class extends DefaultPickService {
|
|
|
26632
26841
|
} : null;
|
|
26633
26842
|
}
|
|
26634
26843
|
};
|
|
26635
|
-
DefaultMathPickerService = __decorate$
|
|
26844
|
+
DefaultMathPickerService = __decorate$U([injectable(), __param$x(0, inject(ContributionProvider)), __param$x(0, named(MathPickerContribution)), __param$x(1, inject(ContributionProvider)), __param$x(1, named(PickItemInterceptor)), __param$x(2, inject(ContributionProvider)), __param$x(2, named(PickServiceInterceptor)), __metadata$K("design:paramtypes", [Object, Object, Object])], DefaultMathPickerService);
|
|
26636
26845
|
|
|
26637
26846
|
const m = new ContainerModule(bind => {
|
|
26638
26847
|
m.__vloaded || (m.__vloaded = !0, bindContributionProvider(bind, MathPickerContribution));
|
|
@@ -26671,17 +26880,17 @@ class PickerBase {
|
|
|
26671
26880
|
}
|
|
26672
26881
|
}
|
|
26673
26882
|
|
|
26674
|
-
var __decorate$
|
|
26883
|
+
var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26675
26884
|
var d,
|
|
26676
26885
|
c = arguments.length,
|
|
26677
26886
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26678
26887
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26679
26888
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26680
26889
|
},
|
|
26681
|
-
__metadata$
|
|
26890
|
+
__metadata$J = undefined && undefined.__metadata || function (k, v) {
|
|
26682
26891
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26683
26892
|
},
|
|
26684
|
-
__param$
|
|
26893
|
+
__param$w = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26685
26894
|
return function (target, key) {
|
|
26686
26895
|
decorator(target, key, paramIndex);
|
|
26687
26896
|
};
|
|
@@ -26691,24 +26900,24 @@ let DefaultMathArcPicker = class extends PickerBase {
|
|
|
26691
26900
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
26692
26901
|
}
|
|
26693
26902
|
};
|
|
26694
|
-
DefaultMathArcPicker = __decorate$
|
|
26903
|
+
DefaultMathArcPicker = __decorate$T([injectable(), __param$w(0, inject(ArcRender)), __metadata$J("design:paramtypes", [Object])], DefaultMathArcPicker);
|
|
26695
26904
|
|
|
26696
26905
|
let loadArcPick$1 = !1;
|
|
26697
26906
|
const arcMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26698
26907
|
loadArcPick$1 || (loadArcPick$1 = !0, bind(MathArcPicker).to(DefaultMathArcPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathArcPicker));
|
|
26699
26908
|
});
|
|
26700
26909
|
|
|
26701
|
-
var __decorate$
|
|
26910
|
+
var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26702
26911
|
var d,
|
|
26703
26912
|
c = arguments.length,
|
|
26704
26913
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26705
26914
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26706
26915
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26707
26916
|
},
|
|
26708
|
-
__metadata$
|
|
26917
|
+
__metadata$I = undefined && undefined.__metadata || function (k, v) {
|
|
26709
26918
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26710
26919
|
},
|
|
26711
|
-
__param$
|
|
26920
|
+
__param$v = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26712
26921
|
return function (target, key) {
|
|
26713
26922
|
decorator(target, key, paramIndex);
|
|
26714
26923
|
};
|
|
@@ -26718,24 +26927,24 @@ let DefaultMathAreaPicker = class extends PickerBase {
|
|
|
26718
26927
|
super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
|
|
26719
26928
|
}
|
|
26720
26929
|
};
|
|
26721
|
-
DefaultMathAreaPicker = __decorate$
|
|
26930
|
+
DefaultMathAreaPicker = __decorate$S([injectable(), __param$v(0, inject(AreaRender)), __metadata$I("design:paramtypes", [Object])], DefaultMathAreaPicker);
|
|
26722
26931
|
|
|
26723
26932
|
let loadAreaPick$1 = !1;
|
|
26724
26933
|
const areaMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26725
26934
|
loadAreaPick$1 || (loadAreaPick$1 = !0, bind(MathAreaPicker).to(DefaultMathAreaPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathAreaPicker));
|
|
26726
26935
|
});
|
|
26727
26936
|
|
|
26728
|
-
var __decorate$
|
|
26937
|
+
var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26729
26938
|
var d,
|
|
26730
26939
|
c = arguments.length,
|
|
26731
26940
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26732
26941
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26733
26942
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26734
26943
|
},
|
|
26735
|
-
__metadata$
|
|
26944
|
+
__metadata$H = undefined && undefined.__metadata || function (k, v) {
|
|
26736
26945
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26737
26946
|
},
|
|
26738
|
-
__param$
|
|
26947
|
+
__param$u = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26739
26948
|
return function (target, key) {
|
|
26740
26949
|
decorator(target, key, paramIndex);
|
|
26741
26950
|
};
|
|
@@ -26745,7 +26954,7 @@ let DefaultMathCirclePicker = class extends PickerBase {
|
|
|
26745
26954
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
26746
26955
|
}
|
|
26747
26956
|
};
|
|
26748
|
-
DefaultMathCirclePicker = __decorate$
|
|
26957
|
+
DefaultMathCirclePicker = __decorate$R([injectable(), __param$u(0, inject(CircleRender)), __metadata$H("design:paramtypes", [Object])], DefaultMathCirclePicker);
|
|
26749
26958
|
|
|
26750
26959
|
let loadCirclePick$1 = !1;
|
|
26751
26960
|
const circleMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26776,17 +26985,17 @@ class GlyphPickerBase {
|
|
|
26776
26985
|
}
|
|
26777
26986
|
}
|
|
26778
26987
|
|
|
26779
|
-
var __decorate$
|
|
26988
|
+
var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26780
26989
|
var d,
|
|
26781
26990
|
c = arguments.length,
|
|
26782
26991
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26783
26992
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26784
26993
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26785
26994
|
},
|
|
26786
|
-
__metadata$
|
|
26995
|
+
__metadata$G = undefined && undefined.__metadata || function (k, v) {
|
|
26787
26996
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26788
26997
|
},
|
|
26789
|
-
__param$
|
|
26998
|
+
__param$t = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26790
26999
|
return function (target, key) {
|
|
26791
27000
|
decorator(target, key, paramIndex);
|
|
26792
27001
|
};
|
|
@@ -26796,14 +27005,14 @@ let DefaultMathGlyphPicker = class extends GlyphPickerBase {
|
|
|
26796
27005
|
super(), this.canvasRenderer = canvasRenderer;
|
|
26797
27006
|
}
|
|
26798
27007
|
};
|
|
26799
|
-
DefaultMathGlyphPicker = __decorate$
|
|
27008
|
+
DefaultMathGlyphPicker = __decorate$Q([injectable(), __param$t(0, inject(GlyphRender)), __metadata$G("design:paramtypes", [Object])], DefaultMathGlyphPicker);
|
|
26800
27009
|
|
|
26801
27010
|
let loadGlyphPick$1 = !1;
|
|
26802
27011
|
const glyphMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26803
27012
|
loadGlyphPick$1 || (loadGlyphPick$1 = !0, bind(MathGlyphPicker).to(DefaultMathGlyphPicker).inSingletonScope(), bind(DefaultMathGlyphPicker).toService(MathGlyphPicker));
|
|
26804
27013
|
});
|
|
26805
27014
|
|
|
26806
|
-
var __decorate$
|
|
27015
|
+
var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26807
27016
|
var d,
|
|
26808
27017
|
c = arguments.length,
|
|
26809
27018
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26821,24 +27030,24 @@ let DefaultMathImagePicker = class {
|
|
|
26821
27030
|
return !!pickContext && !!image.AABBBounds.containsPoint(point);
|
|
26822
27031
|
}
|
|
26823
27032
|
};
|
|
26824
|
-
DefaultMathImagePicker = __decorate$
|
|
27033
|
+
DefaultMathImagePicker = __decorate$P([injectable()], DefaultMathImagePicker);
|
|
26825
27034
|
|
|
26826
27035
|
let loadImagePick$1 = !1;
|
|
26827
27036
|
const imageMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26828
27037
|
loadImagePick$1 || (loadImagePick$1 = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
26829
27038
|
});
|
|
26830
27039
|
|
|
26831
|
-
var __decorate$
|
|
27040
|
+
var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26832
27041
|
var d,
|
|
26833
27042
|
c = arguments.length,
|
|
26834
27043
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26835
27044
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26836
27045
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26837
27046
|
},
|
|
26838
|
-
__metadata$
|
|
27047
|
+
__metadata$F = undefined && undefined.__metadata || function (k, v) {
|
|
26839
27048
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26840
27049
|
},
|
|
26841
|
-
__param$
|
|
27050
|
+
__param$s = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26842
27051
|
return function (target, key) {
|
|
26843
27052
|
decorator(target, key, paramIndex);
|
|
26844
27053
|
};
|
|
@@ -26848,24 +27057,24 @@ let DefaultMathLinePicker = class extends PickerBase {
|
|
|
26848
27057
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
26849
27058
|
}
|
|
26850
27059
|
};
|
|
26851
|
-
DefaultMathLinePicker = __decorate$
|
|
27060
|
+
DefaultMathLinePicker = __decorate$O([injectable(), __param$s(0, inject(LineRender)), __metadata$F("design:paramtypes", [Object])], DefaultMathLinePicker);
|
|
26852
27061
|
|
|
26853
27062
|
let loadLinePick$1 = !1;
|
|
26854
27063
|
const lineMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26855
27064
|
loadLinePick$1 || (loadLinePick$1 = !0, bind(MathLinePicker).to(DefaultMathLinePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathLinePicker));
|
|
26856
27065
|
});
|
|
26857
27066
|
|
|
26858
|
-
var __decorate$
|
|
27067
|
+
var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26859
27068
|
var d,
|
|
26860
27069
|
c = arguments.length,
|
|
26861
27070
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26862
27071
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26863
27072
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26864
27073
|
},
|
|
26865
|
-
__metadata$
|
|
27074
|
+
__metadata$E = undefined && undefined.__metadata || function (k, v) {
|
|
26866
27075
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26867
27076
|
},
|
|
26868
|
-
__param$
|
|
27077
|
+
__param$r = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26869
27078
|
return function (target, key) {
|
|
26870
27079
|
decorator(target, key, paramIndex);
|
|
26871
27080
|
};
|
|
@@ -26875,24 +27084,24 @@ let DefaultMathPolygonPicker = class extends PickerBase {
|
|
|
26875
27084
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
26876
27085
|
}
|
|
26877
27086
|
};
|
|
26878
|
-
DefaultMathPolygonPicker = __decorate$
|
|
27087
|
+
DefaultMathPolygonPicker = __decorate$N([injectable(), __param$r(0, inject(PolygonRender)), __metadata$E("design:paramtypes", [Object])], DefaultMathPolygonPicker);
|
|
26879
27088
|
|
|
26880
27089
|
let loadPolygonPick$1 = !1;
|
|
26881
27090
|
const polygonMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26882
27091
|
loadPolygonPick$1 || (loadPolygonPick$1 = !0, bind(MathPolygonPicker).to(DefaultMathPolygonPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathPolygonPicker));
|
|
26883
27092
|
});
|
|
26884
27093
|
|
|
26885
|
-
var __decorate$
|
|
27094
|
+
var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26886
27095
|
var d,
|
|
26887
27096
|
c = arguments.length,
|
|
26888
27097
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26889
27098
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26890
27099
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26891
27100
|
},
|
|
26892
|
-
__metadata$
|
|
27101
|
+
__metadata$D = undefined && undefined.__metadata || function (k, v) {
|
|
26893
27102
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26894
27103
|
},
|
|
26895
|
-
__param$
|
|
27104
|
+
__param$q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26896
27105
|
return function (target, key) {
|
|
26897
27106
|
decorator(target, key, paramIndex);
|
|
26898
27107
|
};
|
|
@@ -26902,7 +27111,7 @@ let DefaultMathPathPicker = class extends PickerBase {
|
|
|
26902
27111
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
26903
27112
|
}
|
|
26904
27113
|
};
|
|
26905
|
-
DefaultMathPathPicker = __decorate$
|
|
27114
|
+
DefaultMathPathPicker = __decorate$M([injectable(), __param$q(0, inject(PathRender)), __metadata$D("design:paramtypes", [Object])], DefaultMathPathPicker);
|
|
26906
27115
|
|
|
26907
27116
|
let loadPathPick$1 = !1;
|
|
26908
27117
|
const pathMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26957,17 +27166,17 @@ class RectPickerBase {
|
|
|
26957
27166
|
}
|
|
26958
27167
|
}
|
|
26959
27168
|
|
|
26960
|
-
var __decorate$
|
|
27169
|
+
var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26961
27170
|
var d,
|
|
26962
27171
|
c = arguments.length,
|
|
26963
27172
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26964
27173
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26965
27174
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26966
27175
|
},
|
|
26967
|
-
__metadata$
|
|
27176
|
+
__metadata$C = undefined && undefined.__metadata || function (k, v) {
|
|
26968
27177
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26969
27178
|
},
|
|
26970
|
-
__param$
|
|
27179
|
+
__param$p = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26971
27180
|
return function (target, key) {
|
|
26972
27181
|
decorator(target, key, paramIndex);
|
|
26973
27182
|
};
|
|
@@ -26977,7 +27186,7 @@ let DefaultMathRectPicker = class extends RectPickerBase {
|
|
|
26977
27186
|
super(), this.canvasRenderer = canvasRenderer;
|
|
26978
27187
|
}
|
|
26979
27188
|
};
|
|
26980
|
-
DefaultMathRectPicker = __decorate$
|
|
27189
|
+
DefaultMathRectPicker = __decorate$L([injectable(), __param$p(0, inject(RectRender)), __metadata$C("design:paramtypes", [Object])], DefaultMathRectPicker);
|
|
26981
27190
|
|
|
26982
27191
|
let loadRectPick$1 = !1;
|
|
26983
27192
|
const rectMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26989,17 +27198,17 @@ const richTextMathPickModule = new ContainerModule((bind, unbind, isBound, rebin
|
|
|
26989
27198
|
loadRichTextPick || (loadRichTextPick = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
26990
27199
|
});
|
|
26991
27200
|
|
|
26992
|
-
var __decorate$
|
|
27201
|
+
var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26993
27202
|
var d,
|
|
26994
27203
|
c = arguments.length,
|
|
26995
27204
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26996
27205
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
26997
27206
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26998
27207
|
},
|
|
26999
|
-
__metadata$
|
|
27208
|
+
__metadata$B = undefined && undefined.__metadata || function (k, v) {
|
|
27000
27209
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27001
27210
|
},
|
|
27002
|
-
__param$
|
|
27211
|
+
__param$o = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27003
27212
|
return function (target, key) {
|
|
27004
27213
|
decorator(target, key, paramIndex);
|
|
27005
27214
|
};
|
|
@@ -27009,14 +27218,14 @@ let DefaultMathSymbolPicker = class extends PickerBase {
|
|
|
27009
27218
|
super(), this.canvasRenderer = canvasRenderer, this.type = "symbol", this.numberType = SYMBOL_NUMBER_TYPE;
|
|
27010
27219
|
}
|
|
27011
27220
|
};
|
|
27012
|
-
DefaultMathSymbolPicker = __decorate$
|
|
27221
|
+
DefaultMathSymbolPicker = __decorate$K([injectable(), __param$o(0, inject(SymbolRender)), __metadata$B("design:paramtypes", [Object])], DefaultMathSymbolPicker);
|
|
27013
27222
|
|
|
27014
27223
|
let loadSymbolPick$1 = !1;
|
|
27015
27224
|
const symbolMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
27016
27225
|
loadSymbolPick$1 || (loadSymbolPick$1 = !0, bind(MathSymbolPicker).to(DefaultMathSymbolPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathSymbolPicker));
|
|
27017
27226
|
});
|
|
27018
27227
|
|
|
27019
|
-
var __decorate$
|
|
27228
|
+
var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27020
27229
|
var d,
|
|
27021
27230
|
c = arguments.length,
|
|
27022
27231
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27031,7 +27240,7 @@ let DefaultMathTextPicker = class {
|
|
|
27031
27240
|
return !!text.AABBBounds.containsPoint(point);
|
|
27032
27241
|
}
|
|
27033
27242
|
};
|
|
27034
|
-
DefaultMathTextPicker = __decorate$
|
|
27243
|
+
DefaultMathTextPicker = __decorate$J([injectable()], DefaultMathTextPicker);
|
|
27035
27244
|
|
|
27036
27245
|
let loadTextPick$1 = !1;
|
|
27037
27246
|
const textMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -27114,14 +27323,14 @@ class CanvasWrapEnableWH {
|
|
|
27114
27323
|
}
|
|
27115
27324
|
}
|
|
27116
27325
|
|
|
27117
|
-
var __decorate$
|
|
27326
|
+
var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27118
27327
|
var d,
|
|
27119
27328
|
c = arguments.length,
|
|
27120
27329
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27121
27330
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27122
27331
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27123
27332
|
},
|
|
27124
|
-
__metadata$
|
|
27333
|
+
__metadata$A = undefined && undefined.__metadata || function (k, v) {
|
|
27125
27334
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27126
27335
|
};
|
|
27127
27336
|
function makeUpCanvas$4(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, pixelRatio) {
|
|
@@ -27203,7 +27412,7 @@ let FeishuEnvContribution = class extends BaseEnvContribution {
|
|
|
27203
27412
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
27204
27413
|
}
|
|
27205
27414
|
};
|
|
27206
|
-
FeishuEnvContribution = __decorate$
|
|
27415
|
+
FeishuEnvContribution = __decorate$I([injectable(), __metadata$A("design:paramtypes", [])], FeishuEnvContribution);
|
|
27207
27416
|
|
|
27208
27417
|
const feishuEnvModule = new ContainerModule(bind => {
|
|
27209
27418
|
feishuEnvModule.isFeishuBound || (feishuEnvModule.isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
|
|
@@ -27218,7 +27427,7 @@ function initFeishuEnv() {
|
|
|
27218
27427
|
loadFeishuEnv(container);
|
|
27219
27428
|
}
|
|
27220
27429
|
|
|
27221
|
-
var __decorate$
|
|
27430
|
+
var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27222
27431
|
var d,
|
|
27223
27432
|
c = arguments.length,
|
|
27224
27433
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27285,16 +27494,16 @@ let LynxContext2d = class extends BrowserContext2d {
|
|
|
27285
27494
|
}));
|
|
27286
27495
|
}
|
|
27287
27496
|
};
|
|
27288
|
-
LynxContext2d.env = "lynx", LynxContext2d = __decorate$
|
|
27497
|
+
LynxContext2d.env = "lynx", LynxContext2d = __decorate$H([injectable()], LynxContext2d);
|
|
27289
27498
|
|
|
27290
|
-
var __decorate$
|
|
27499
|
+
var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27291
27500
|
var d,
|
|
27292
27501
|
c = arguments.length,
|
|
27293
27502
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27294
27503
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27295
27504
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27296
27505
|
},
|
|
27297
|
-
__metadata$
|
|
27506
|
+
__metadata$z = undefined && undefined.__metadata || function (k, v) {
|
|
27298
27507
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27299
27508
|
};
|
|
27300
27509
|
let LynxCanvas = class extends BaseCanvas {
|
|
@@ -27310,19 +27519,19 @@ let LynxCanvas = class extends BaseCanvas {
|
|
|
27310
27519
|
}
|
|
27311
27520
|
release() {}
|
|
27312
27521
|
};
|
|
27313
|
-
LynxCanvas.env = "lynx", LynxCanvas = __decorate$
|
|
27522
|
+
LynxCanvas.env = "lynx", LynxCanvas = __decorate$G([injectable(), __metadata$z("design:paramtypes", [Object])], LynxCanvas);
|
|
27314
27523
|
|
|
27315
|
-
var __decorate$
|
|
27524
|
+
var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27316
27525
|
var d,
|
|
27317
27526
|
c = arguments.length,
|
|
27318
27527
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27319
27528
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27320
27529
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27321
27530
|
},
|
|
27322
|
-
__metadata$
|
|
27531
|
+
__metadata$y = undefined && undefined.__metadata || function (k, v) {
|
|
27323
27532
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27324
27533
|
},
|
|
27325
|
-
__param$
|
|
27534
|
+
__param$n = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27326
27535
|
return function (target, key) {
|
|
27327
27536
|
decorator(target, key, paramIndex);
|
|
27328
27537
|
};
|
|
@@ -27460,21 +27669,21 @@ let LynxWindowHandlerContribution = class extends BaseWindowHandlerContribution
|
|
|
27460
27669
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
27461
27670
|
}
|
|
27462
27671
|
};
|
|
27463
|
-
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$
|
|
27672
|
+
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$F([injectable(), __param$n(0, inject(VGlobal)), __metadata$y("design:paramtypes", [Object])], LynxWindowHandlerContribution);
|
|
27464
27673
|
const lynxWindowModule = new ContainerModule(bind => {
|
|
27465
27674
|
bind(LynxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(LynxWindowHandlerContribution)).whenTargetNamed(LynxWindowHandlerContribution.env);
|
|
27466
27675
|
});
|
|
27467
27676
|
|
|
27468
27677
|
const lynxCanvasModule = createModule(LynxCanvas, LynxContext2d);
|
|
27469
27678
|
|
|
27470
|
-
var __decorate$
|
|
27679
|
+
var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27471
27680
|
var d,
|
|
27472
27681
|
c = arguments.length,
|
|
27473
27682
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27474
27683
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27475
27684
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27476
27685
|
},
|
|
27477
|
-
__metadata$
|
|
27686
|
+
__metadata$x = undefined && undefined.__metadata || function (k, v) {
|
|
27478
27687
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27479
27688
|
};
|
|
27480
27689
|
let ng = !1;
|
|
@@ -27584,7 +27793,7 @@ let LynxEnvContribution = class extends BaseEnvContribution {
|
|
|
27584
27793
|
}
|
|
27585
27794
|
release() {}
|
|
27586
27795
|
};
|
|
27587
|
-
LynxEnvContribution = __decorate$
|
|
27796
|
+
LynxEnvContribution = __decorate$E([injectable(), __metadata$x("design:paramtypes", [])], LynxEnvContribution);
|
|
27588
27797
|
|
|
27589
27798
|
const lynxEnvModule = new ContainerModule(bind => {
|
|
27590
27799
|
lynxEnvModule.isLynxBound || (lynxEnvModule.isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
|
|
@@ -27599,14 +27808,14 @@ function initLynxEnv() {
|
|
|
27599
27808
|
loadLynxEnv(container);
|
|
27600
27809
|
}
|
|
27601
27810
|
|
|
27602
|
-
var __decorate$
|
|
27811
|
+
var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27603
27812
|
var d,
|
|
27604
27813
|
c = arguments.length,
|
|
27605
27814
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27606
27815
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27607
27816
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27608
27817
|
},
|
|
27609
|
-
__metadata$
|
|
27818
|
+
__metadata$w = undefined && undefined.__metadata || function (k, v) {
|
|
27610
27819
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27611
27820
|
};
|
|
27612
27821
|
let NodeContext2d = class extends BrowserContext2d {
|
|
@@ -27618,16 +27827,16 @@ let NodeContext2d = class extends BrowserContext2d {
|
|
|
27618
27827
|
}
|
|
27619
27828
|
release() {}
|
|
27620
27829
|
};
|
|
27621
|
-
NodeContext2d.env = "node", NodeContext2d = __decorate$
|
|
27830
|
+
NodeContext2d.env = "node", NodeContext2d = __decorate$D([injectable(), __metadata$w("design:paramtypes", [Object, Number])], NodeContext2d);
|
|
27622
27831
|
|
|
27623
|
-
var __decorate$
|
|
27832
|
+
var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27624
27833
|
var d,
|
|
27625
27834
|
c = arguments.length,
|
|
27626
27835
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27627
27836
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27628
27837
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27629
27838
|
},
|
|
27630
|
-
__metadata$
|
|
27839
|
+
__metadata$v = undefined && undefined.__metadata || function (k, v) {
|
|
27631
27840
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27632
27841
|
};
|
|
27633
27842
|
let NodeCanvas = class extends BaseCanvas {
|
|
@@ -27641,21 +27850,21 @@ let NodeCanvas = class extends BaseCanvas {
|
|
|
27641
27850
|
this._nativeCanvas.release && isFunction$1(this._nativeCanvas.release) && this._nativeCanvas.release();
|
|
27642
27851
|
}
|
|
27643
27852
|
};
|
|
27644
|
-
NodeCanvas.env = "node", NodeCanvas = __decorate$
|
|
27853
|
+
NodeCanvas.env = "node", NodeCanvas = __decorate$C([injectable(), __metadata$v("design:paramtypes", [Object])], NodeCanvas);
|
|
27645
27854
|
|
|
27646
27855
|
const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
|
|
27647
27856
|
|
|
27648
|
-
var __decorate$
|
|
27857
|
+
var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27649
27858
|
var d,
|
|
27650
27859
|
c = arguments.length,
|
|
27651
27860
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27652
27861
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27653
27862
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27654
27863
|
},
|
|
27655
|
-
__metadata$
|
|
27864
|
+
__metadata$u = undefined && undefined.__metadata || function (k, v) {
|
|
27656
27865
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27657
27866
|
},
|
|
27658
|
-
__param$
|
|
27867
|
+
__param$m = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27659
27868
|
return function (target, key) {
|
|
27660
27869
|
decorator(target, key, paramIndex);
|
|
27661
27870
|
};
|
|
@@ -27748,12 +27957,12 @@ let NodeWindowHandlerContribution = class extends BaseWindowHandlerContribution
|
|
|
27748
27957
|
}
|
|
27749
27958
|
clearViewBox(color) {}
|
|
27750
27959
|
};
|
|
27751
|
-
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$
|
|
27960
|
+
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$B([injectable(), __param$m(0, inject(VGlobal)), __metadata$u("design:paramtypes", [Object])], NodeWindowHandlerContribution);
|
|
27752
27961
|
const nodeWindowModule = new ContainerModule(bind => {
|
|
27753
27962
|
bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(NodeWindowHandlerContribution)).whenTargetNamed(NodeWindowHandlerContribution.env);
|
|
27754
27963
|
});
|
|
27755
27964
|
|
|
27756
|
-
var __decorate$
|
|
27965
|
+
var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27757
27966
|
var d,
|
|
27758
27967
|
c = arguments.length,
|
|
27759
27968
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27839,7 +28048,7 @@ let NodeEnvContribution = class extends BaseEnvContribution {
|
|
|
27839
28048
|
release() {}
|
|
27840
28049
|
createOffscreenCanvas(params) {}
|
|
27841
28050
|
};
|
|
27842
|
-
NodeEnvContribution = __decorate$
|
|
28051
|
+
NodeEnvContribution = __decorate$A([injectable()], NodeEnvContribution);
|
|
27843
28052
|
|
|
27844
28053
|
const nodeEnvModule = new ContainerModule(bind => {
|
|
27845
28054
|
nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
@@ -27853,7 +28062,7 @@ function initNodeEnv() {
|
|
|
27853
28062
|
loadNodeEnv(container);
|
|
27854
28063
|
}
|
|
27855
28064
|
|
|
27856
|
-
var __decorate$
|
|
28065
|
+
var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27857
28066
|
var d,
|
|
27858
28067
|
c = arguments.length,
|
|
27859
28068
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27942,16 +28151,16 @@ let TaroContext2d = class extends BrowserContext2d {
|
|
|
27942
28151
|
return this.nativeContext.createCircularGradient && this.nativeContext.createCircularGradient(x0, y0, r0, x1, y1, r1);
|
|
27943
28152
|
}
|
|
27944
28153
|
};
|
|
27945
|
-
TaroContext2d.env = "taro", TaroContext2d = __decorate$
|
|
28154
|
+
TaroContext2d.env = "taro", TaroContext2d = __decorate$z([injectable()], TaroContext2d);
|
|
27946
28155
|
|
|
27947
|
-
var __decorate$
|
|
28156
|
+
var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27948
28157
|
var d,
|
|
27949
28158
|
c = arguments.length,
|
|
27950
28159
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27951
28160
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27952
28161
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27953
28162
|
},
|
|
27954
|
-
__metadata$
|
|
28163
|
+
__metadata$t = undefined && undefined.__metadata || function (k, v) {
|
|
27955
28164
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27956
28165
|
};
|
|
27957
28166
|
let TaroCanvas = class extends BaseCanvas {
|
|
@@ -27963,21 +28172,21 @@ let TaroCanvas = class extends BaseCanvas {
|
|
|
27963
28172
|
}
|
|
27964
28173
|
release() {}
|
|
27965
28174
|
};
|
|
27966
|
-
TaroCanvas.env = "taro", TaroCanvas = __decorate$
|
|
28175
|
+
TaroCanvas.env = "taro", TaroCanvas = __decorate$y([injectable(), __metadata$t("design:paramtypes", [Object])], TaroCanvas);
|
|
27967
28176
|
|
|
27968
28177
|
const taroCanvasModule = createModule(TaroCanvas, TaroContext2d);
|
|
27969
28178
|
|
|
27970
|
-
var __decorate$
|
|
28179
|
+
var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27971
28180
|
var d,
|
|
27972
28181
|
c = arguments.length,
|
|
27973
28182
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27974
28183
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
27975
28184
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27976
28185
|
},
|
|
27977
|
-
__metadata$
|
|
28186
|
+
__metadata$s = undefined && undefined.__metadata || function (k, v) {
|
|
27978
28187
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27979
28188
|
},
|
|
27980
|
-
__param$
|
|
28189
|
+
__param$l = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27981
28190
|
return function (target, key) {
|
|
27982
28191
|
decorator(target, key, paramIndex);
|
|
27983
28192
|
};
|
|
@@ -28123,19 +28332,19 @@ let TaroWindowHandlerContribution = class extends BaseWindowHandlerContribution
|
|
|
28123
28332
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
28124
28333
|
}
|
|
28125
28334
|
};
|
|
28126
|
-
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$
|
|
28335
|
+
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$x([injectable(), __param$l(0, inject(VGlobal)), __metadata$s("design:paramtypes", [Object])], TaroWindowHandlerContribution);
|
|
28127
28336
|
const taroWindowModule = new ContainerModule(bind => {
|
|
28128
28337
|
bind(TaroWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TaroWindowHandlerContribution)).whenTargetNamed(TaroWindowHandlerContribution.env);
|
|
28129
28338
|
});
|
|
28130
28339
|
|
|
28131
|
-
var __decorate$
|
|
28340
|
+
var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28132
28341
|
var d,
|
|
28133
28342
|
c = arguments.length,
|
|
28134
28343
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28135
28344
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28136
28345
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28137
28346
|
},
|
|
28138
|
-
__metadata$
|
|
28347
|
+
__metadata$r = undefined && undefined.__metadata || function (k, v) {
|
|
28139
28348
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28140
28349
|
};
|
|
28141
28350
|
function makeUpCanvas$2(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, taro, dpr) {
|
|
@@ -28232,7 +28441,7 @@ let TaroEnvContribution = class extends BaseEnvContribution {
|
|
|
28232
28441
|
}
|
|
28233
28442
|
release() {}
|
|
28234
28443
|
};
|
|
28235
|
-
TaroEnvContribution = __decorate$
|
|
28444
|
+
TaroEnvContribution = __decorate$w([injectable(), __metadata$r("design:paramtypes", [])], TaroEnvContribution);
|
|
28236
28445
|
|
|
28237
28446
|
const taroEnvModule = new ContainerModule(bind => {
|
|
28238
28447
|
taroEnvModule.isTaroBound || (taroEnvModule.isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
|
|
@@ -28247,7 +28456,7 @@ function initTaroEnv() {
|
|
|
28247
28456
|
loadTaroEnv(container);
|
|
28248
28457
|
}
|
|
28249
28458
|
|
|
28250
|
-
var __decorate$
|
|
28459
|
+
var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28251
28460
|
var d,
|
|
28252
28461
|
c = arguments.length,
|
|
28253
28462
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28260,16 +28469,16 @@ let WxContext2d = class extends BrowserContext2d {
|
|
|
28260
28469
|
return null;
|
|
28261
28470
|
}
|
|
28262
28471
|
};
|
|
28263
|
-
WxContext2d.env = "wx", WxContext2d = __decorate$
|
|
28472
|
+
WxContext2d.env = "wx", WxContext2d = __decorate$v([injectable()], WxContext2d);
|
|
28264
28473
|
|
|
28265
|
-
var __decorate$
|
|
28474
|
+
var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28266
28475
|
var d,
|
|
28267
28476
|
c = arguments.length,
|
|
28268
28477
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28269
28478
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28270
28479
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28271
28480
|
},
|
|
28272
|
-
__metadata$
|
|
28481
|
+
__metadata$q = undefined && undefined.__metadata || function (k, v) {
|
|
28273
28482
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28274
28483
|
};
|
|
28275
28484
|
let WxCanvas = class extends BaseCanvas {
|
|
@@ -28281,21 +28490,21 @@ let WxCanvas = class extends BaseCanvas {
|
|
|
28281
28490
|
}
|
|
28282
28491
|
release() {}
|
|
28283
28492
|
};
|
|
28284
|
-
WxCanvas.env = "wx", WxCanvas = __decorate$
|
|
28493
|
+
WxCanvas.env = "wx", WxCanvas = __decorate$u([injectable(), __metadata$q("design:paramtypes", [Object])], WxCanvas);
|
|
28285
28494
|
|
|
28286
28495
|
const wxCanvasModule = createModule(WxCanvas, WxContext2d);
|
|
28287
28496
|
|
|
28288
|
-
var __decorate$
|
|
28497
|
+
var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28289
28498
|
var d,
|
|
28290
28499
|
c = arguments.length,
|
|
28291
28500
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28292
28501
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28293
28502
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28294
28503
|
},
|
|
28295
|
-
__metadata$
|
|
28504
|
+
__metadata$p = undefined && undefined.__metadata || function (k, v) {
|
|
28296
28505
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28297
28506
|
},
|
|
28298
|
-
__param$
|
|
28507
|
+
__param$k = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28299
28508
|
return function (target, key) {
|
|
28300
28509
|
decorator(target, key, paramIndex);
|
|
28301
28510
|
};
|
|
@@ -28432,19 +28641,19 @@ let WxWindowHandlerContribution = class extends BaseWindowHandlerContribution {
|
|
|
28432
28641
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
28433
28642
|
}
|
|
28434
28643
|
};
|
|
28435
|
-
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$
|
|
28644
|
+
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$t([injectable(), __param$k(0, inject(VGlobal)), __metadata$p("design:paramtypes", [Object])], WxWindowHandlerContribution);
|
|
28436
28645
|
const wxWindowModule = new ContainerModule(bind => {
|
|
28437
28646
|
bind(WxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(WxWindowHandlerContribution)).whenTargetNamed(WxWindowHandlerContribution.env);
|
|
28438
28647
|
});
|
|
28439
28648
|
|
|
28440
|
-
var __decorate$
|
|
28649
|
+
var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28441
28650
|
var d,
|
|
28442
28651
|
c = arguments.length,
|
|
28443
28652
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28444
28653
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28445
28654
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28446
28655
|
},
|
|
28447
|
-
__metadata$
|
|
28656
|
+
__metadata$o = undefined && undefined.__metadata || function (k, v) {
|
|
28448
28657
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28449
28658
|
},
|
|
28450
28659
|
__awaiter$1 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -28558,7 +28767,7 @@ let WxEnvContribution = class extends BaseEnvContribution {
|
|
|
28558
28767
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
28559
28768
|
}
|
|
28560
28769
|
};
|
|
28561
|
-
WxEnvContribution = __decorate$
|
|
28770
|
+
WxEnvContribution = __decorate$s([injectable(), __metadata$o("design:paramtypes", [])], WxEnvContribution);
|
|
28562
28771
|
|
|
28563
28772
|
const wxEnvModule = new ContainerModule(bind => {
|
|
28564
28773
|
wxEnvModule._isWxBound || (wxEnvModule._isWxBound = !0, bind(WxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(WxEnvContribution));
|
|
@@ -28586,7 +28795,7 @@ function initAllEnv() {
|
|
|
28586
28795
|
loadAllEnv(container);
|
|
28587
28796
|
}
|
|
28588
28797
|
|
|
28589
|
-
var __decorate$
|
|
28798
|
+
var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28590
28799
|
var d,
|
|
28591
28800
|
c = arguments.length,
|
|
28592
28801
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28594,16 +28803,16 @@ var __decorate$q = undefined && undefined.__decorate || function (decorators, ta
|
|
|
28594
28803
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28595
28804
|
};
|
|
28596
28805
|
let TTContext2d = class extends FeishuContext2d {};
|
|
28597
|
-
TTContext2d.env = "tt", TTContext2d = __decorate$
|
|
28806
|
+
TTContext2d.env = "tt", TTContext2d = __decorate$r([injectable()], TTContext2d);
|
|
28598
28807
|
|
|
28599
|
-
var __decorate$
|
|
28808
|
+
var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28600
28809
|
var d,
|
|
28601
28810
|
c = arguments.length,
|
|
28602
28811
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28603
28812
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28604
28813
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28605
28814
|
},
|
|
28606
|
-
__metadata$
|
|
28815
|
+
__metadata$n = undefined && undefined.__metadata || function (k, v) {
|
|
28607
28816
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28608
28817
|
};
|
|
28609
28818
|
let TTCanvas = class extends BaseCanvas {
|
|
@@ -28615,21 +28824,21 @@ let TTCanvas = class extends BaseCanvas {
|
|
|
28615
28824
|
}
|
|
28616
28825
|
release() {}
|
|
28617
28826
|
};
|
|
28618
|
-
TTCanvas.env = "tt", TTCanvas = __decorate$
|
|
28827
|
+
TTCanvas.env = "tt", TTCanvas = __decorate$q([injectable(), __metadata$n("design:paramtypes", [Object])], TTCanvas);
|
|
28619
28828
|
|
|
28620
28829
|
const ttCanvasModule = createModule(TTCanvas, TTContext2d);
|
|
28621
28830
|
|
|
28622
|
-
var __decorate$
|
|
28831
|
+
var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28623
28832
|
var d,
|
|
28624
28833
|
c = arguments.length,
|
|
28625
28834
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28626
28835
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28627
28836
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28628
28837
|
},
|
|
28629
|
-
__metadata$
|
|
28838
|
+
__metadata$m = undefined && undefined.__metadata || function (k, v) {
|
|
28630
28839
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28631
28840
|
},
|
|
28632
|
-
__param$
|
|
28841
|
+
__param$j = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28633
28842
|
return function (target, key) {
|
|
28634
28843
|
decorator(target, key, paramIndex);
|
|
28635
28844
|
};
|
|
@@ -28765,19 +28974,19 @@ let TTWindowHandlerContribution = class extends BaseWindowHandlerContribution {
|
|
|
28765
28974
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
28766
28975
|
}
|
|
28767
28976
|
};
|
|
28768
|
-
TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$
|
|
28977
|
+
TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$p([injectable(), __param$j(0, inject(VGlobal)), __metadata$m("design:paramtypes", [Object])], TTWindowHandlerContribution);
|
|
28769
28978
|
const ttWindowModule = new ContainerModule(bind => {
|
|
28770
28979
|
bind(TTWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TTWindowHandlerContribution)).whenTargetNamed(TTWindowHandlerContribution.env);
|
|
28771
28980
|
});
|
|
28772
28981
|
|
|
28773
|
-
var __decorate$
|
|
28982
|
+
var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28774
28983
|
var d,
|
|
28775
28984
|
c = arguments.length,
|
|
28776
28985
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28777
28986
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28778
28987
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28779
28988
|
},
|
|
28780
|
-
__metadata$
|
|
28989
|
+
__metadata$l = undefined && undefined.__metadata || function (k, v) {
|
|
28781
28990
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28782
28991
|
},
|
|
28783
28992
|
__awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -28887,7 +29096,7 @@ let TTEnvContribution = class extends BaseEnvContribution {
|
|
|
28887
29096
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
28888
29097
|
}
|
|
28889
29098
|
};
|
|
28890
|
-
TTEnvContribution = __decorate$
|
|
29099
|
+
TTEnvContribution = __decorate$o([injectable(), __metadata$l("design:paramtypes", [])], TTEnvContribution);
|
|
28891
29100
|
|
|
28892
29101
|
const ttEnvModule = new ContainerModule(bind => {
|
|
28893
29102
|
ttEnvModule.isTTBound || (ttEnvModule.isTTBound = !0, bind(TTEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TTEnvContribution));
|
|
@@ -28902,7 +29111,7 @@ function initTTEnv() {
|
|
|
28902
29111
|
loadTTEnv(container);
|
|
28903
29112
|
}
|
|
28904
29113
|
|
|
28905
|
-
var __decorate$
|
|
29114
|
+
var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28906
29115
|
var d,
|
|
28907
29116
|
c = arguments.length,
|
|
28908
29117
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28987,16 +29196,16 @@ let HarmonyContext2d = class extends BrowserContext2d {
|
|
|
28987
29196
|
}
|
|
28988
29197
|
draw() {}
|
|
28989
29198
|
};
|
|
28990
|
-
HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$
|
|
29199
|
+
HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$n([injectable()], HarmonyContext2d);
|
|
28991
29200
|
|
|
28992
|
-
var __decorate$
|
|
29201
|
+
var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28993
29202
|
var d,
|
|
28994
29203
|
c = arguments.length,
|
|
28995
29204
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28996
29205
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
28997
29206
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28998
29207
|
},
|
|
28999
|
-
__metadata$
|
|
29208
|
+
__metadata$k = undefined && undefined.__metadata || function (k, v) {
|
|
29000
29209
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29001
29210
|
};
|
|
29002
29211
|
let HarmonyCanvas = class extends BaseCanvas {
|
|
@@ -29009,19 +29218,19 @@ let HarmonyCanvas = class extends BaseCanvas {
|
|
|
29009
29218
|
resize(width, height) {}
|
|
29010
29219
|
release() {}
|
|
29011
29220
|
};
|
|
29012
|
-
HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$
|
|
29221
|
+
HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$m([injectable(), __metadata$k("design:paramtypes", [Object])], HarmonyCanvas);
|
|
29013
29222
|
|
|
29014
|
-
var __decorate$
|
|
29223
|
+
var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29015
29224
|
var d,
|
|
29016
29225
|
c = arguments.length,
|
|
29017
29226
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29018
29227
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29019
29228
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29020
29229
|
},
|
|
29021
|
-
__metadata$
|
|
29230
|
+
__metadata$j = undefined && undefined.__metadata || function (k, v) {
|
|
29022
29231
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29023
29232
|
},
|
|
29024
|
-
__param$
|
|
29233
|
+
__param$i = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29025
29234
|
return function (target, key) {
|
|
29026
29235
|
decorator(target, key, paramIndex);
|
|
29027
29236
|
};
|
|
@@ -29158,21 +29367,21 @@ let HarmonyWindowHandlerContribution = class extends BaseWindowHandlerContributi
|
|
|
29158
29367
|
context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
|
|
29159
29368
|
}
|
|
29160
29369
|
};
|
|
29161
|
-
HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$
|
|
29370
|
+
HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$l([injectable(), __param$i(0, inject(VGlobal)), __metadata$j("design:paramtypes", [Object])], HarmonyWindowHandlerContribution);
|
|
29162
29371
|
const harmonyWindowModule = new ContainerModule(bind => {
|
|
29163
29372
|
bind(HarmonyWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(HarmonyWindowHandlerContribution)).whenTargetNamed(HarmonyWindowHandlerContribution.env);
|
|
29164
29373
|
});
|
|
29165
29374
|
|
|
29166
29375
|
const harmonyCanvasModule = createModule(HarmonyCanvas, HarmonyContext2d);
|
|
29167
29376
|
|
|
29168
|
-
var __decorate$
|
|
29377
|
+
var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29169
29378
|
var d,
|
|
29170
29379
|
c = arguments.length,
|
|
29171
29380
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29172
29381
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29173
29382
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29174
29383
|
},
|
|
29175
|
-
__metadata$
|
|
29384
|
+
__metadata$i = undefined && undefined.__metadata || function (k, v) {
|
|
29176
29385
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29177
29386
|
};
|
|
29178
29387
|
function createCanvas(width, height, id) {
|
|
@@ -29253,7 +29462,7 @@ let HarmonyEnvContribution = class extends BaseEnvContribution {
|
|
|
29253
29462
|
}
|
|
29254
29463
|
release() {}
|
|
29255
29464
|
};
|
|
29256
|
-
HarmonyEnvContribution = __decorate$
|
|
29465
|
+
HarmonyEnvContribution = __decorate$k([injectable(), __metadata$i("design:paramtypes", [])], HarmonyEnvContribution);
|
|
29257
29466
|
|
|
29258
29467
|
const harmonyEnvModule = new ContainerModule(bind => {
|
|
29259
29468
|
harmonyEnvModule.isHarmonyBound || (harmonyEnvModule.isHarmonyBound = !0, bind(HarmonyEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(HarmonyEnvContribution));
|
|
@@ -29268,17 +29477,17 @@ function initHarmonyEnv() {
|
|
|
29268
29477
|
loadHarmonyEnv(container);
|
|
29269
29478
|
}
|
|
29270
29479
|
|
|
29271
|
-
var __decorate$
|
|
29480
|
+
var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29272
29481
|
var d,
|
|
29273
29482
|
c = arguments.length,
|
|
29274
29483
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29275
29484
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29276
29485
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29277
29486
|
},
|
|
29278
|
-
__metadata$
|
|
29487
|
+
__metadata$h = undefined && undefined.__metadata || function (k, v) {
|
|
29279
29488
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29280
29489
|
},
|
|
29281
|
-
__param$
|
|
29490
|
+
__param$h = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29282
29491
|
return function (target, key) {
|
|
29283
29492
|
decorator(target, key, paramIndex);
|
|
29284
29493
|
};
|
|
@@ -29288,24 +29497,24 @@ let DefaultCanvasArcPicker = class extends PickerBase {
|
|
|
29288
29497
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
29289
29498
|
}
|
|
29290
29499
|
};
|
|
29291
|
-
DefaultCanvasArcPicker = __decorate$
|
|
29500
|
+
DefaultCanvasArcPicker = __decorate$j([injectable(), __param$h(0, inject(ArcRender)), __metadata$h("design:paramtypes", [Object])], DefaultCanvasArcPicker);
|
|
29292
29501
|
|
|
29293
29502
|
let loadArcPick = !1;
|
|
29294
29503
|
const arcCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29295
29504
|
loadArcPick || (loadArcPick = !0, bind(CanvasArcPicker).to(DefaultCanvasArcPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArcPicker));
|
|
29296
29505
|
});
|
|
29297
29506
|
|
|
29298
|
-
var __decorate$
|
|
29507
|
+
var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29299
29508
|
var d,
|
|
29300
29509
|
c = arguments.length,
|
|
29301
29510
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29302
29511
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29303
29512
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29304
29513
|
},
|
|
29305
|
-
__metadata$
|
|
29514
|
+
__metadata$g = undefined && undefined.__metadata || function (k, v) {
|
|
29306
29515
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29307
29516
|
},
|
|
29308
|
-
__param$
|
|
29517
|
+
__param$g = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29309
29518
|
return function (target, key) {
|
|
29310
29519
|
decorator(target, key, paramIndex);
|
|
29311
29520
|
};
|
|
@@ -29315,7 +29524,7 @@ let DefaultCanvasRectPicker = class extends RectPickerBase {
|
|
|
29315
29524
|
super(), this.canvasRenderer = canvasRenderer;
|
|
29316
29525
|
}
|
|
29317
29526
|
};
|
|
29318
|
-
DefaultCanvasRectPicker = __decorate$
|
|
29527
|
+
DefaultCanvasRectPicker = __decorate$i([injectable(), __param$g(0, inject(RectRender)), __metadata$g("design:paramtypes", [Object])], DefaultCanvasRectPicker);
|
|
29319
29528
|
|
|
29320
29529
|
let loadRectPick = !1;
|
|
29321
29530
|
const rectCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -29357,17 +29566,17 @@ class BaseLinePicker extends BaseRender {
|
|
|
29357
29566
|
}
|
|
29358
29567
|
}
|
|
29359
29568
|
|
|
29360
|
-
var __decorate$
|
|
29569
|
+
var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29361
29570
|
var d,
|
|
29362
29571
|
c = arguments.length,
|
|
29363
29572
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29364
29573
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29365
29574
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29366
29575
|
},
|
|
29367
|
-
__metadata$
|
|
29576
|
+
__metadata$f = undefined && undefined.__metadata || function (k, v) {
|
|
29368
29577
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29369
29578
|
},
|
|
29370
|
-
__param$
|
|
29579
|
+
__param$f = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29371
29580
|
return function (target, key) {
|
|
29372
29581
|
decorator(target, key, paramIndex);
|
|
29373
29582
|
};
|
|
@@ -29377,24 +29586,24 @@ let DefaultCanvasLinePicker = class extends BaseLinePicker {
|
|
|
29377
29586
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
29378
29587
|
}
|
|
29379
29588
|
};
|
|
29380
|
-
DefaultCanvasLinePicker = __decorate$
|
|
29589
|
+
DefaultCanvasLinePicker = __decorate$h([injectable(), __param$f(0, inject(LineRender)), __metadata$f("design:paramtypes", [Object])], DefaultCanvasLinePicker);
|
|
29381
29590
|
|
|
29382
29591
|
let loadLinePick = !1;
|
|
29383
29592
|
const lineCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29384
29593
|
loadLinePick || (loadLinePick = !0, bind(CanvasLinePicker).to(DefaultCanvasLinePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasLinePicker));
|
|
29385
29594
|
});
|
|
29386
29595
|
|
|
29387
|
-
var __decorate$
|
|
29596
|
+
var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29388
29597
|
var d,
|
|
29389
29598
|
c = arguments.length,
|
|
29390
29599
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29391
29600
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29392
29601
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29393
29602
|
},
|
|
29394
|
-
__metadata$
|
|
29603
|
+
__metadata$e = undefined && undefined.__metadata || function (k, v) {
|
|
29395
29604
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29396
29605
|
},
|
|
29397
|
-
__param$
|
|
29606
|
+
__param$e = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29398
29607
|
return function (target, key) {
|
|
29399
29608
|
decorator(target, key, paramIndex);
|
|
29400
29609
|
};
|
|
@@ -29404,7 +29613,7 @@ let DefaultCanvasAreaPicker = class extends PickerBase {
|
|
|
29404
29613
|
super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
|
|
29405
29614
|
}
|
|
29406
29615
|
};
|
|
29407
|
-
DefaultCanvasAreaPicker = __decorate$
|
|
29616
|
+
DefaultCanvasAreaPicker = __decorate$g([injectable(), __param$e(0, inject(AreaRender)), __metadata$e("design:paramtypes", [Object])], DefaultCanvasAreaPicker);
|
|
29408
29617
|
|
|
29409
29618
|
let loadAreaPick = !1;
|
|
29410
29619
|
const areaCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -29438,17 +29647,17 @@ class Base3dPicker extends BaseRender {
|
|
|
29438
29647
|
}
|
|
29439
29648
|
}
|
|
29440
29649
|
|
|
29441
|
-
var __decorate$
|
|
29650
|
+
var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29442
29651
|
var d,
|
|
29443
29652
|
c = arguments.length,
|
|
29444
29653
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29445
29654
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29446
29655
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29447
29656
|
},
|
|
29448
|
-
__metadata$
|
|
29657
|
+
__metadata$d = undefined && undefined.__metadata || function (k, v) {
|
|
29449
29658
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29450
29659
|
},
|
|
29451
|
-
__param$
|
|
29660
|
+
__param$d = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29452
29661
|
return function (target, key) {
|
|
29453
29662
|
decorator(target, key, paramIndex);
|
|
29454
29663
|
};
|
|
@@ -29493,24 +29702,24 @@ let DefaultCanvasSymbolPicker = class extends Base3dPicker {
|
|
|
29493
29702
|
}), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
29494
29703
|
}
|
|
29495
29704
|
};
|
|
29496
|
-
DefaultCanvasSymbolPicker = __decorate$
|
|
29705
|
+
DefaultCanvasSymbolPicker = __decorate$f([injectable(), __param$d(0, inject(SymbolRender)), __metadata$d("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
|
|
29497
29706
|
|
|
29498
29707
|
let loadSymbolPick = !1;
|
|
29499
29708
|
const symbolCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29500
29709
|
loadSymbolPick || (loadSymbolPick = !0, bind(CanvasSymbolPicker).to(DefaultCanvasSymbolPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasSymbolPicker));
|
|
29501
29710
|
});
|
|
29502
29711
|
|
|
29503
|
-
var __decorate$
|
|
29712
|
+
var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29504
29713
|
var d,
|
|
29505
29714
|
c = arguments.length,
|
|
29506
29715
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29507
29716
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29508
29717
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29509
29718
|
},
|
|
29510
|
-
__metadata$
|
|
29719
|
+
__metadata$c = undefined && undefined.__metadata || function (k, v) {
|
|
29511
29720
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29512
29721
|
},
|
|
29513
|
-
__param$
|
|
29722
|
+
__param$c = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29514
29723
|
return function (target, key) {
|
|
29515
29724
|
decorator(target, key, paramIndex);
|
|
29516
29725
|
};
|
|
@@ -29520,24 +29729,24 @@ let DefaultCanvasCirclePicker = class extends PickerBase {
|
|
|
29520
29729
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
29521
29730
|
}
|
|
29522
29731
|
};
|
|
29523
|
-
DefaultCanvasCirclePicker = __decorate$
|
|
29732
|
+
DefaultCanvasCirclePicker = __decorate$e([injectable(), __param$c(0, inject(CircleRender)), __metadata$c("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
|
|
29524
29733
|
|
|
29525
29734
|
let loadCirclePick = !1;
|
|
29526
29735
|
const circleCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29527
29736
|
loadCirclePick || (loadCirclePick = !0, bind(CanvasCirclePicker).to(DefaultCanvasCirclePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasCirclePicker));
|
|
29528
29737
|
});
|
|
29529
29738
|
|
|
29530
|
-
var __decorate$
|
|
29739
|
+
var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29531
29740
|
var d,
|
|
29532
29741
|
c = arguments.length,
|
|
29533
29742
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29534
29743
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29535
29744
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29536
29745
|
},
|
|
29537
|
-
__metadata$
|
|
29746
|
+
__metadata$b = undefined && undefined.__metadata || function (k, v) {
|
|
29538
29747
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29539
29748
|
},
|
|
29540
|
-
__param$
|
|
29749
|
+
__param$b = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29541
29750
|
return function (target, key) {
|
|
29542
29751
|
decorator(target, key, paramIndex);
|
|
29543
29752
|
};
|
|
@@ -29590,24 +29799,24 @@ let DefaultCanvasTextPicker = class extends Base3dPicker {
|
|
|
29590
29799
|
}, (context, symbolAttribute, themeAttribute) => picked), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
29591
29800
|
}
|
|
29592
29801
|
};
|
|
29593
|
-
DefaultCanvasTextPicker = __decorate$
|
|
29802
|
+
DefaultCanvasTextPicker = __decorate$d([injectable(), __param$b(0, inject(TextRender)), __metadata$b("design:paramtypes", [Object])], DefaultCanvasTextPicker);
|
|
29594
29803
|
|
|
29595
29804
|
let loadTextPick = !1;
|
|
29596
29805
|
const textCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29597
29806
|
loadTextPick || (loadTextPick = !0, bind(CanvasTextPicker).to(DefaultCanvasTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasTextPicker));
|
|
29598
29807
|
});
|
|
29599
29808
|
|
|
29600
|
-
var __decorate$
|
|
29809
|
+
var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29601
29810
|
var d,
|
|
29602
29811
|
c = arguments.length,
|
|
29603
29812
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29604
29813
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29605
29814
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29606
29815
|
},
|
|
29607
|
-
__metadata$
|
|
29816
|
+
__metadata$a = undefined && undefined.__metadata || function (k, v) {
|
|
29608
29817
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29609
29818
|
},
|
|
29610
|
-
__param$
|
|
29819
|
+
__param$a = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29611
29820
|
return function (target, key) {
|
|
29612
29821
|
decorator(target, key, paramIndex);
|
|
29613
29822
|
};
|
|
@@ -29617,24 +29826,24 @@ let DefaultCanvasPathPicker = class extends BaseLinePicker {
|
|
|
29617
29826
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
29618
29827
|
}
|
|
29619
29828
|
};
|
|
29620
|
-
DefaultCanvasPathPicker = __decorate$
|
|
29829
|
+
DefaultCanvasPathPicker = __decorate$c([injectable(), __param$a(0, inject(PathRender)), __metadata$a("design:paramtypes", [Object])], DefaultCanvasPathPicker);
|
|
29621
29830
|
|
|
29622
29831
|
let loadPathPick = !1;
|
|
29623
29832
|
const pathCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29624
29833
|
loadPathPick || (loadPathPick = !0, bind(CanvasPathPicker).to(DefaultCanvasPathPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPathPicker));
|
|
29625
29834
|
});
|
|
29626
29835
|
|
|
29627
|
-
var __decorate$
|
|
29836
|
+
var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29628
29837
|
var d,
|
|
29629
29838
|
c = arguments.length,
|
|
29630
29839
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29631
29840
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29632
29841
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29633
29842
|
},
|
|
29634
|
-
__metadata$
|
|
29843
|
+
__metadata$9 = undefined && undefined.__metadata || function (k, v) {
|
|
29635
29844
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29636
29845
|
},
|
|
29637
|
-
__param$
|
|
29846
|
+
__param$9 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29638
29847
|
return function (target, key) {
|
|
29639
29848
|
decorator(target, key, paramIndex);
|
|
29640
29849
|
};
|
|
@@ -29644,24 +29853,24 @@ let DefaultCanvasPolygonPicker = class extends PickerBase {
|
|
|
29644
29853
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
29645
29854
|
}
|
|
29646
29855
|
};
|
|
29647
|
-
DefaultCanvasPolygonPicker = __decorate$
|
|
29856
|
+
DefaultCanvasPolygonPicker = __decorate$b([injectable(), __param$9(0, inject(PolygonRender)), __metadata$9("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
|
|
29648
29857
|
|
|
29649
29858
|
let loadPolygonPick = !1;
|
|
29650
29859
|
const polygonCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29651
29860
|
loadPolygonPick || (loadPolygonPick = !0, bind(CanvasPolygonPicker).to(DefaultCanvasPolygonPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPolygonPicker));
|
|
29652
29861
|
});
|
|
29653
29862
|
|
|
29654
|
-
var __decorate$
|
|
29863
|
+
var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29655
29864
|
var d,
|
|
29656
29865
|
c = arguments.length,
|
|
29657
29866
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29658
29867
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29659
29868
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29660
29869
|
},
|
|
29661
|
-
__metadata$
|
|
29870
|
+
__metadata$8 = undefined && undefined.__metadata || function (k, v) {
|
|
29662
29871
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29663
29872
|
},
|
|
29664
|
-
__param$
|
|
29873
|
+
__param$8 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29665
29874
|
return function (target, key) {
|
|
29666
29875
|
decorator(target, key, paramIndex);
|
|
29667
29876
|
};
|
|
@@ -29671,24 +29880,24 @@ let DefaultCanvasGlyphPicker = class extends GlyphPickerBase {
|
|
|
29671
29880
|
super(), this.canvasRenderer = canvasRenderer;
|
|
29672
29881
|
}
|
|
29673
29882
|
};
|
|
29674
|
-
DefaultCanvasGlyphPicker = __decorate$
|
|
29883
|
+
DefaultCanvasGlyphPicker = __decorate$a([injectable(), __param$8(0, inject(GlyphRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasGlyphPicker);
|
|
29675
29884
|
|
|
29676
29885
|
let loadGlyphPick = !1;
|
|
29677
29886
|
const glyphCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29678
29887
|
loadGlyphPick || (loadGlyphPick = !0, bind(CanvasGlyphPicker).to(DefaultCanvasGlyphPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGlyphPicker));
|
|
29679
29888
|
});
|
|
29680
29889
|
|
|
29681
|
-
var __decorate$
|
|
29890
|
+
var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29682
29891
|
var d,
|
|
29683
29892
|
c = arguments.length,
|
|
29684
29893
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29685
29894
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29686
29895
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29687
29896
|
},
|
|
29688
|
-
__metadata$
|
|
29897
|
+
__metadata$7 = undefined && undefined.__metadata || function (k, v) {
|
|
29689
29898
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29690
29899
|
},
|
|
29691
|
-
__param$
|
|
29900
|
+
__param$7 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29692
29901
|
return function (target, key) {
|
|
29693
29902
|
decorator(target, key, paramIndex);
|
|
29694
29903
|
};
|
|
@@ -29701,24 +29910,24 @@ let DefaultCanvasRichTextPicker = class {
|
|
|
29701
29910
|
return !!richtext.AABBBounds.containsPoint(point);
|
|
29702
29911
|
}
|
|
29703
29912
|
};
|
|
29704
|
-
DefaultCanvasRichTextPicker = __decorate$
|
|
29913
|
+
DefaultCanvasRichTextPicker = __decorate$9([injectable(), __param$7(0, inject(RichTextRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
|
|
29705
29914
|
|
|
29706
29915
|
let loadRichtextPick = !1;
|
|
29707
29916
|
const richtextCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29708
29917
|
loadRichtextPick || (loadRichtextPick = !0, bind(CanvasRichTextPicker).to(DefaultCanvasRichTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRichTextPicker));
|
|
29709
29918
|
});
|
|
29710
29919
|
|
|
29711
|
-
var __decorate$
|
|
29920
|
+
var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29712
29921
|
var d,
|
|
29713
29922
|
c = arguments.length,
|
|
29714
29923
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29715
29924
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29716
29925
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29717
29926
|
},
|
|
29718
|
-
__metadata$
|
|
29927
|
+
__metadata$6 = undefined && undefined.__metadata || function (k, v) {
|
|
29719
29928
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29720
29929
|
},
|
|
29721
|
-
__param$
|
|
29930
|
+
__param$6 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29722
29931
|
return function (target, key) {
|
|
29723
29932
|
decorator(target, key, paramIndex);
|
|
29724
29933
|
};
|
|
@@ -29728,24 +29937,24 @@ let DefaultCanvasImagePicker = class extends PickerBase {
|
|
|
29728
29937
|
super(), this.canvasRenderer = canvasRenderer, this.type = "image", this.numberType = IMAGE_NUMBER_TYPE;
|
|
29729
29938
|
}
|
|
29730
29939
|
};
|
|
29731
|
-
DefaultCanvasImagePicker = __decorate$
|
|
29940
|
+
DefaultCanvasImagePicker = __decorate$8([injectable(), __param$6(0, inject(ImageRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasImagePicker);
|
|
29732
29941
|
|
|
29733
29942
|
let loadImagePick = !1;
|
|
29734
29943
|
const imageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29735
29944
|
loadImagePick || (loadImagePick = !0, bind(CanvasImagePicker).to(DefaultCanvasImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasImagePicker));
|
|
29736
29945
|
});
|
|
29737
29946
|
|
|
29738
|
-
var __decorate$
|
|
29947
|
+
var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29739
29948
|
var d,
|
|
29740
29949
|
c = arguments.length,
|
|
29741
29950
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29742
29951
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29743
29952
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29744
29953
|
},
|
|
29745
|
-
__metadata$
|
|
29954
|
+
__metadata$5 = undefined && undefined.__metadata || function (k, v) {
|
|
29746
29955
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29747
29956
|
},
|
|
29748
|
-
__param$
|
|
29957
|
+
__param$5 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29749
29958
|
return function (target, key) {
|
|
29750
29959
|
decorator(target, key, paramIndex);
|
|
29751
29960
|
};
|
|
@@ -29755,24 +29964,24 @@ let DefaultCanvasRect3dPicker = class extends Base3dPicker {
|
|
|
29755
29964
|
super(), this.canvasRenderer = canvasRenderer, this.type = "rect3d", this.numberType = RECT3D_NUMBER_TYPE, this.themeType = "rect";
|
|
29756
29965
|
}
|
|
29757
29966
|
};
|
|
29758
|
-
DefaultCanvasRect3dPicker = __decorate$
|
|
29967
|
+
DefaultCanvasRect3dPicker = __decorate$7([injectable(), __param$5(0, inject(Rect3DRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasRect3dPicker);
|
|
29759
29968
|
|
|
29760
29969
|
let loadRect3dPick = !1;
|
|
29761
29970
|
const rect3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29762
29971
|
loadRect3dPick || (loadRect3dPick = !0, bind(CanvasRect3dPicker).to(DefaultCanvasRect3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRect3dPicker));
|
|
29763
29972
|
});
|
|
29764
29973
|
|
|
29765
|
-
var __decorate$
|
|
29974
|
+
var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29766
29975
|
var d,
|
|
29767
29976
|
c = arguments.length,
|
|
29768
29977
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29769
29978
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29770
29979
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29771
29980
|
},
|
|
29772
|
-
__metadata$
|
|
29981
|
+
__metadata$4 = undefined && undefined.__metadata || function (k, v) {
|
|
29773
29982
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29774
29983
|
},
|
|
29775
|
-
__param$
|
|
29984
|
+
__param$4 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29776
29985
|
return function (target, key) {
|
|
29777
29986
|
decorator(target, key, paramIndex);
|
|
29778
29987
|
};
|
|
@@ -29782,24 +29991,24 @@ let DefaultCanvasArc3dPicker = class extends Base3dPicker {
|
|
|
29782
29991
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc3d", this.numberType = ARC3D_NUMBER_TYPE, this.themeType = "arc";
|
|
29783
29992
|
}
|
|
29784
29993
|
};
|
|
29785
|
-
DefaultCanvasArc3dPicker = __decorate$
|
|
29994
|
+
DefaultCanvasArc3dPicker = __decorate$6([injectable(), __param$4(0, inject(Arc3dRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasArc3dPicker);
|
|
29786
29995
|
|
|
29787
29996
|
let loadArc3dPick = !1;
|
|
29788
29997
|
const arc3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29789
29998
|
loadArc3dPick || (loadArc3dPick = !0, bind(CanvasArc3dPicker).to(DefaultCanvasArc3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArc3dPicker));
|
|
29790
29999
|
});
|
|
29791
30000
|
|
|
29792
|
-
var __decorate$
|
|
30001
|
+
var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29793
30002
|
var d,
|
|
29794
30003
|
c = arguments.length,
|
|
29795
30004
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29796
30005
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
29797
30006
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29798
30007
|
},
|
|
29799
|
-
__metadata$
|
|
30008
|
+
__metadata$3 = undefined && undefined.__metadata || function (k, v) {
|
|
29800
30009
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29801
30010
|
},
|
|
29802
|
-
__param$
|
|
30011
|
+
__param$3 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29803
30012
|
return function (target, key) {
|
|
29804
30013
|
decorator(target, key, paramIndex);
|
|
29805
30014
|
};
|
|
@@ -29809,7 +30018,7 @@ let DefaultCanvasPyramid3dPicker = class extends Base3dPicker {
|
|
|
29809
30018
|
super(), this.canvasRenderer = canvasRenderer, this.type = "pyramid3d", this.numberType = PYRAMID3D_NUMBER_TYPE, this.themeType = "polygon";
|
|
29810
30019
|
}
|
|
29811
30020
|
};
|
|
29812
|
-
DefaultCanvasPyramid3dPicker = __decorate$
|
|
30021
|
+
DefaultCanvasPyramid3dPicker = __decorate$5([injectable(), __param$3(0, inject(Pyramid3dRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasPyramid3dPicker);
|
|
29813
30022
|
|
|
29814
30023
|
let loadPyramid3dPick = !1;
|
|
29815
30024
|
const pyramid3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -30458,7 +30667,7 @@ function createGifImage(attributes) {
|
|
|
30458
30667
|
return new GifImage(attributes);
|
|
30459
30668
|
}
|
|
30460
30669
|
|
|
30461
|
-
var __decorate$
|
|
30670
|
+
var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30462
30671
|
var d,
|
|
30463
30672
|
c = arguments.length,
|
|
30464
30673
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -30476,24 +30685,24 @@ let DefaultCanvasGifImagePicker = class {
|
|
|
30476
30685
|
return !!pickContext && !!gifImage.AABBBounds.containsPoint(point);
|
|
30477
30686
|
}
|
|
30478
30687
|
};
|
|
30479
|
-
DefaultCanvasGifImagePicker = __decorate$
|
|
30688
|
+
DefaultCanvasGifImagePicker = __decorate$4([injectable()], DefaultCanvasGifImagePicker);
|
|
30480
30689
|
|
|
30481
30690
|
let loadGifImagePick = !1;
|
|
30482
30691
|
const gifImageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
30483
30692
|
loadGifImagePick || (loadGifImagePick = !0, bind(CanvasGifImagePicker).to(DefaultCanvasGifImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGifImagePicker));
|
|
30484
30693
|
});
|
|
30485
30694
|
|
|
30486
|
-
var __decorate$
|
|
30695
|
+
var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30487
30696
|
var d,
|
|
30488
30697
|
c = arguments.length,
|
|
30489
30698
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30490
30699
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
30491
30700
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30492
30701
|
},
|
|
30493
|
-
__metadata$
|
|
30702
|
+
__metadata$2 = undefined && undefined.__metadata || function (k, v) {
|
|
30494
30703
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30495
30704
|
},
|
|
30496
|
-
__param$
|
|
30705
|
+
__param$2 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
30497
30706
|
return function (target, key) {
|
|
30498
30707
|
decorator(target, key, paramIndex);
|
|
30499
30708
|
};
|
|
@@ -30534,7 +30743,7 @@ let DefaultCanvasGifImageRender = class extends DefaultCanvasImageRender {
|
|
|
30534
30743
|
this._draw(image, imageAttribute, !1, drawContext);
|
|
30535
30744
|
}
|
|
30536
30745
|
};
|
|
30537
|
-
DefaultCanvasGifImageRender = __decorate$
|
|
30746
|
+
DefaultCanvasGifImageRender = __decorate$3([injectable(), __param$2(0, inject(ContributionProvider)), __param$2(0, named(ImageRenderContribution)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasGifImageRender);
|
|
30538
30747
|
class DefaultGifImageRenderContribution extends DefaultRectRenderContribution {
|
|
30539
30748
|
constructor() {
|
|
30540
30749
|
super(...arguments), this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -31273,17 +31482,17 @@ function createLottie(attributes) {
|
|
|
31273
31482
|
return new Lottie(attributes);
|
|
31274
31483
|
}
|
|
31275
31484
|
|
|
31276
|
-
var __decorate$
|
|
31485
|
+
var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31277
31486
|
var d,
|
|
31278
31487
|
c = arguments.length,
|
|
31279
31488
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31280
31489
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
31281
31490
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31282
31491
|
},
|
|
31283
|
-
__metadata = undefined && undefined.__metadata || function (k, v) {
|
|
31492
|
+
__metadata$1 = undefined && undefined.__metadata || function (k, v) {
|
|
31284
31493
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31285
31494
|
},
|
|
31286
|
-
__param = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31495
|
+
__param$1 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31287
31496
|
return function (target, key) {
|
|
31288
31497
|
decorator(target, key, paramIndex);
|
|
31289
31498
|
};
|
|
@@ -31293,14 +31502,14 @@ let DefaultCanvasLottiePicker = class extends RectPickerBase {
|
|
|
31293
31502
|
super(), this.canvasRenderer = canvasRenderer;
|
|
31294
31503
|
}
|
|
31295
31504
|
};
|
|
31296
|
-
DefaultCanvasLottiePicker = __decorate$
|
|
31505
|
+
DefaultCanvasLottiePicker = __decorate$2([injectable(), __param$1(0, inject(RectRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasLottiePicker);
|
|
31297
31506
|
|
|
31298
31507
|
let loadLottiePick = !1;
|
|
31299
31508
|
const lottieCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
31300
31509
|
loadLottiePick || (loadLottiePick = !0, bind(CanvasLottiePicker).to(DefaultCanvasLottiePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasLottiePicker));
|
|
31301
31510
|
});
|
|
31302
31511
|
|
|
31303
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31512
|
+
var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31304
31513
|
var d,
|
|
31305
31514
|
c = arguments.length,
|
|
31306
31515
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -31332,7 +31541,7 @@ let DefaultCanvasLottieRender = class extends DefaultCanvasRectRender {
|
|
|
31332
31541
|
context.fill();
|
|
31333
31542
|
}
|
|
31334
31543
|
};
|
|
31335
|
-
DefaultCanvasLottieRender = __decorate([injectable()], DefaultCanvasLottieRender);
|
|
31544
|
+
DefaultCanvasLottieRender = __decorate$1([injectable()], DefaultCanvasLottieRender);
|
|
31336
31545
|
|
|
31337
31546
|
let loadLottieModule = !1;
|
|
31338
31547
|
const lottieModule = new ContainerModule(bind => {
|
|
@@ -31443,6 +31652,39 @@ function _registerText() {
|
|
|
31443
31652
|
_registerText.__loaded = !1;
|
|
31444
31653
|
const registerText = _registerText;
|
|
31445
31654
|
|
|
31655
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31656
|
+
var d,
|
|
31657
|
+
c = arguments.length,
|
|
31658
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31659
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
31660
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31661
|
+
},
|
|
31662
|
+
__metadata = undefined && undefined.__metadata || function (k, v) {
|
|
31663
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31664
|
+
},
|
|
31665
|
+
__param = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31666
|
+
return function (target, key) {
|
|
31667
|
+
decorator(target, key, paramIndex);
|
|
31668
|
+
};
|
|
31669
|
+
};
|
|
31670
|
+
let DefaultCanvasStarPicker = class extends PickerBase {
|
|
31671
|
+
constructor(canvasRenderer) {
|
|
31672
|
+
super(), this.canvasRenderer = canvasRenderer, this.type = "star", this.numberType = STAR_NUMBER_TYPE;
|
|
31673
|
+
}
|
|
31674
|
+
};
|
|
31675
|
+
DefaultCanvasStarPicker = __decorate([injectable(), __param(0, inject(StarRender)), __metadata("design:paramtypes", [Object])], DefaultCanvasStarPicker);
|
|
31676
|
+
|
|
31677
|
+
let loadStarPick = !1;
|
|
31678
|
+
const starCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
31679
|
+
loadStarPick || (loadStarPick = !0, bind(CanvasStarPicker).to(DefaultCanvasStarPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasStarPicker));
|
|
31680
|
+
});
|
|
31681
|
+
|
|
31682
|
+
function _registerStar() {
|
|
31683
|
+
_registerStar.__loaded || (_registerStar.__loaded = !0, registerStarGraphic(), container.load(starModule), container.load(starCanvasPickModule));
|
|
31684
|
+
}
|
|
31685
|
+
_registerStar.__loaded = !1;
|
|
31686
|
+
const registerStar = _registerStar;
|
|
31687
|
+
|
|
31446
31688
|
function _registerWrapText() {
|
|
31447
31689
|
_registerWrapText.__loaded || (_registerWrapText.__loaded = !0, registerWrapTextGraphic());
|
|
31448
31690
|
}
|
|
@@ -31634,7 +31876,7 @@ function particleEffect(ctx, row, column, rowCount, columnCount, ratio, graphic)
|
|
|
31634
31876
|
|
|
31635
31877
|
const roughModule = _roughModule;
|
|
31636
31878
|
|
|
31637
|
-
const version = "0.22.7
|
|
31879
|
+
const version = "0.22.7";
|
|
31638
31880
|
preLoadAllModule();
|
|
31639
31881
|
if (isBrowserEnv()) {
|
|
31640
31882
|
loadBrowserEnv(container);
|
|
@@ -31660,6 +31902,7 @@ registerShadowRoot();
|
|
|
31660
31902
|
registerSymbol();
|
|
31661
31903
|
registerText();
|
|
31662
31904
|
registerWrapText();
|
|
31905
|
+
registerStar();
|
|
31663
31906
|
registerFlexLayoutPlugin();
|
|
31664
31907
|
registerViewTransform3dPlugin();
|
|
31665
31908
|
registerHtmlAttributePlugin();
|
|
@@ -31667,4 +31910,4 @@ registerReactAttributePlugin();
|
|
|
31667
31910
|
registerDirectionalLight();
|
|
31668
31911
|
registerOrthoCamera();
|
|
31669
31912
|
|
|
31670
|
-
export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, 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, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, 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, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GifImage, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTickHandler, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, 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, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, 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, cloneGraphic, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, container, cornerTangents, cornerToCenter, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGifImage, createGlyph, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, 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, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, diagonalCenterToEdge, diagonalTopLeftToBottomRight, 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, 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, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, 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, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, 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, registerSymbol, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWrapText, registerWrapTextGraphic, renderCommandList, 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, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformKeys, transformMat4, transformUtil, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };
|
|
31913
|
+
export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, 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, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, 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, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GifImage, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTickHandler, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, 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, STAR_NUMBER_TYPE, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, Star, StarRender, StarRenderContribution, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, 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, cloneGraphic, colorEqual, colorStringInterpolationToStr, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, container, cornerTangents, cornerToCenter, createArc, createArc3d, createArea, createCircle, createColor, 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, defaultTicker, defaultTimeline, diagonalCenterToEdge, diagonalTopLeftToBottomRight, 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, 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, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, 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, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, 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, 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, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformKeys, transformMat4, transformUtil, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };
|