@visactor/vrender 0.22.7-alpha.7 → 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 +4 -4
package/dist/index.js
CHANGED
|
@@ -580,17 +580,17 @@
|
|
|
580
580
|
const VGlobal = Symbol.for("VGlobal");
|
|
581
581
|
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";
|
|
582
582
|
|
|
583
|
-
var __decorate$
|
|
583
|
+
var __decorate$1N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
584
584
|
var d,
|
|
585
585
|
c = arguments.length,
|
|
586
586
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
587
587
|
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);
|
|
588
588
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
589
589
|
},
|
|
590
|
-
__metadata$
|
|
590
|
+
__metadata$1m = undefined && undefined.__metadata || function (k, v) {
|
|
591
591
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
592
592
|
},
|
|
593
|
-
__param$
|
|
593
|
+
__param$Y = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
594
594
|
return function (target, key) {
|
|
595
595
|
decorator(target, key, paramIndex);
|
|
596
596
|
};
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
return this._env || this.setEnv("browser"), this.envContribution.copyToClipBoard(text);
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
|
-
exports.DefaultGlobal = __decorate$
|
|
795
|
+
exports.DefaultGlobal = __decorate$1N([injectable(), __param$Y(0, inject(ContributionProvider)), __param$Y(0, named(EnvContribution)), __metadata$1m("design:paramtypes", [Object])], exports.DefaultGlobal);
|
|
796
796
|
|
|
797
797
|
exports.MeasureModeEnum = void 0;
|
|
798
798
|
!function (MeasureModeEnum) {
|
|
@@ -2050,6 +2050,25 @@
|
|
|
2050
2050
|
clone() {
|
|
2051
2051
|
return new OBBBounds(this);
|
|
2052
2052
|
}
|
|
2053
|
+
getRotatedCorners() {
|
|
2054
|
+
const originPoint = {
|
|
2055
|
+
x: (this.x1 + this.x2) / 2,
|
|
2056
|
+
y: (this.y1 + this.y2) / 2
|
|
2057
|
+
};
|
|
2058
|
+
return [rotatePoint({
|
|
2059
|
+
x: this.x1,
|
|
2060
|
+
y: this.y1
|
|
2061
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2062
|
+
x: this.x2,
|
|
2063
|
+
y: this.y1
|
|
2064
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2065
|
+
x: this.x1,
|
|
2066
|
+
y: this.y2
|
|
2067
|
+
}, this.angle, originPoint), rotatePoint({
|
|
2068
|
+
x: this.x2,
|
|
2069
|
+
y: this.y2
|
|
2070
|
+
}, this.angle, originPoint)];
|
|
2071
|
+
}
|
|
2053
2072
|
}
|
|
2054
2073
|
|
|
2055
2074
|
class Matrix {
|
|
@@ -4174,7 +4193,8 @@
|
|
|
4174
4193
|
filter: "",
|
|
4175
4194
|
cursor: null,
|
|
4176
4195
|
html: null,
|
|
4177
|
-
react: null
|
|
4196
|
+
react: null,
|
|
4197
|
+
vue: null
|
|
4178
4198
|
}, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout), DefaultPickStyle);
|
|
4179
4199
|
const DefaultConnectAttribute = {
|
|
4180
4200
|
connectedType: "none",
|
|
@@ -4290,6 +4310,12 @@
|
|
|
4290
4310
|
cornerRadius: 0,
|
|
4291
4311
|
closePath: !0
|
|
4292
4312
|
});
|
|
4313
|
+
const DefaultStarAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
|
|
4314
|
+
width: 100,
|
|
4315
|
+
height: 100,
|
|
4316
|
+
spikes: 5,
|
|
4317
|
+
thickness: .5
|
|
4318
|
+
});
|
|
4293
4319
|
const DefaultRectAttribute = Object.assign(Object.assign({}, DefaultAttribute), {
|
|
4294
4320
|
width: 0,
|
|
4295
4321
|
height: 0,
|
|
@@ -4615,6 +4641,7 @@
|
|
|
4615
4641
|
function createColor(context, c, params) {
|
|
4616
4642
|
let offsetX = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
4617
4643
|
let offsetY = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
4644
|
+
var _a, _b;
|
|
4618
4645
|
if (!c || !0 === c) return "black";
|
|
4619
4646
|
let result, color;
|
|
4620
4647
|
if (isArray$1(c)) for (let i = 0; i < c.length && (color = c[i], !color); i++);else color = c;
|
|
@@ -4628,9 +4655,10 @@
|
|
|
4628
4655
|
if (params.attribute) {
|
|
4629
4656
|
const {
|
|
4630
4657
|
scaleX = 1,
|
|
4631
|
-
scaleY = 1
|
|
4658
|
+
scaleY = 1,
|
|
4659
|
+
angle = 0
|
|
4632
4660
|
} = params.attribute;
|
|
4633
|
-
w /= scaleX, h /= scaleY, x /= scaleX, y /= scaleY;
|
|
4661
|
+
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);
|
|
4634
4662
|
}
|
|
4635
4663
|
"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));
|
|
4636
4664
|
}
|
|
@@ -4730,6 +4758,7 @@
|
|
|
4730
4758
|
ctx.globalAlpha = strokeOpacity * opacity, ctx.lineWidth = character && "number" == typeof character.lineWidth ? character.lineWidth : 1, ctx.strokeStyle = strokeStyle, setTextStyle(ctx, character);
|
|
4731
4759
|
}
|
|
4732
4760
|
function getStrByWithCanvas(desc, width, character, guessIndex, needTestLetter) {
|
|
4761
|
+
if (desc.length <= 1) return 0;
|
|
4733
4762
|
if (!width || width <= 0) return 0;
|
|
4734
4763
|
const textMeasure = application.graphicUtil.textMeasure;
|
|
4735
4764
|
let index = guessIndex,
|
|
@@ -4773,6 +4802,13 @@
|
|
|
4773
4802
|
}
|
|
4774
4803
|
function measureTextCanvas(text, character) {
|
|
4775
4804
|
let mode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "actual";
|
|
4805
|
+
var _a;
|
|
4806
|
+
if ("" === text) return {
|
|
4807
|
+
ascent: 0,
|
|
4808
|
+
height: 0,
|
|
4809
|
+
descent: 0,
|
|
4810
|
+
width: 0
|
|
4811
|
+
};
|
|
4776
4812
|
const measurement = application.graphicUtil.textMeasure.measureText(text, character),
|
|
4777
4813
|
result = {
|
|
4778
4814
|
ascent: 0,
|
|
@@ -4782,10 +4818,12 @@
|
|
|
4782
4818
|
},
|
|
4783
4819
|
ascent = "actual" === mode ? measurement.actualBoundingBoxAscent : measurement.fontBoundingBoxAscent,
|
|
4784
4820
|
descent = "actual" === mode ? measurement.actualBoundingBoxDescent : measurement.fontBoundingBoxDescent;
|
|
4785
|
-
|
|
4821
|
+
"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);
|
|
4822
|
+
const space = null !== (_a = character.space) && void 0 !== _a ? _a : 0;
|
|
4823
|
+
return result.width += space, result;
|
|
4786
4824
|
}
|
|
4787
4825
|
|
|
4788
|
-
var __decorate$
|
|
4826
|
+
var __decorate$1M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
4789
4827
|
var d,
|
|
4790
4828
|
c = arguments.length,
|
|
4791
4829
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5177,9 +5215,9 @@
|
|
|
5177
5215
|
return data.str = data.result, data.width += suffixWidth, data;
|
|
5178
5216
|
}
|
|
5179
5217
|
};
|
|
5180
|
-
ATextMeasure = __decorate$
|
|
5218
|
+
ATextMeasure = __decorate$1M([injectable()], ATextMeasure);
|
|
5181
5219
|
|
|
5182
|
-
var __decorate$
|
|
5220
|
+
var __decorate$1L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5183
5221
|
var d,
|
|
5184
5222
|
c = arguments.length,
|
|
5185
5223
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5188,7 +5226,7 @@
|
|
|
5188
5226
|
};
|
|
5189
5227
|
const TextMeasureContribution = Symbol.for("TextMeasureContribution");
|
|
5190
5228
|
exports.DefaultTextMeasureContribution = class DefaultTextMeasureContribution extends ATextMeasure {};
|
|
5191
|
-
exports.DefaultTextMeasureContribution = __decorate$
|
|
5229
|
+
exports.DefaultTextMeasureContribution = __decorate$1L([injectable()], exports.DefaultTextMeasureContribution);
|
|
5192
5230
|
|
|
5193
5231
|
const container = new Container();
|
|
5194
5232
|
|
|
@@ -5602,14 +5640,14 @@
|
|
|
5602
5640
|
}
|
|
5603
5641
|
const canvasAllocate = new DefaultCanvasAllocate();
|
|
5604
5642
|
|
|
5605
|
-
var __decorate$
|
|
5643
|
+
var __decorate$1K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5606
5644
|
var d,
|
|
5607
5645
|
c = arguments.length,
|
|
5608
5646
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
5609
5647
|
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);
|
|
5610
5648
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5611
5649
|
},
|
|
5612
|
-
__metadata$
|
|
5650
|
+
__metadata$1l = undefined && undefined.__metadata || function (k, v) {
|
|
5613
5651
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
5614
5652
|
};
|
|
5615
5653
|
const VWindow = Symbol.for("VWindow");
|
|
@@ -5746,19 +5784,19 @@
|
|
|
5746
5784
|
return this._handler.getTopLeft(baseWindow);
|
|
5747
5785
|
}
|
|
5748
5786
|
};
|
|
5749
|
-
exports.DefaultWindow = __decorate$
|
|
5787
|
+
exports.DefaultWindow = __decorate$1K([injectable(), __metadata$1l("design:paramtypes", [])], exports.DefaultWindow);
|
|
5750
5788
|
|
|
5751
|
-
var __decorate$
|
|
5789
|
+
var __decorate$1J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5752
5790
|
var d,
|
|
5753
5791
|
c = arguments.length,
|
|
5754
5792
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
5755
5793
|
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);
|
|
5756
5794
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5757
5795
|
},
|
|
5758
|
-
__metadata$
|
|
5796
|
+
__metadata$1k = undefined && undefined.__metadata || function (k, v) {
|
|
5759
5797
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
5760
5798
|
},
|
|
5761
|
-
__param$
|
|
5799
|
+
__param$X = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
5762
5800
|
return function (target, key) {
|
|
5763
5801
|
decorator(target, key, paramIndex);
|
|
5764
5802
|
};
|
|
@@ -5853,7 +5891,7 @@
|
|
|
5853
5891
|
return c.nativeCanvas ? c.nativeCanvas : null;
|
|
5854
5892
|
}
|
|
5855
5893
|
};
|
|
5856
|
-
exports.DefaultGraphicUtil = __decorate$
|
|
5894
|
+
exports.DefaultGraphicUtil = __decorate$1J([injectable(), __param$X(0, inject(ContributionProvider)), __param$X(0, named(TextMeasureContribution)), __metadata$1k("design:paramtypes", [Object])], exports.DefaultGraphicUtil);
|
|
5857
5895
|
var TransformMode;
|
|
5858
5896
|
!function (TransformMode) {
|
|
5859
5897
|
TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
|
|
@@ -5911,7 +5949,7 @@
|
|
|
5911
5949
|
return this;
|
|
5912
5950
|
}
|
|
5913
5951
|
};
|
|
5914
|
-
exports.DefaultTransformUtil = __decorate$
|
|
5952
|
+
exports.DefaultTransformUtil = __decorate$1J([injectable(), __metadata$1k("design:paramtypes", [])], exports.DefaultTransformUtil);
|
|
5915
5953
|
|
|
5916
5954
|
const defaultThemeObj = {
|
|
5917
5955
|
arc: DefaultArcAttribute,
|
|
@@ -5923,6 +5961,7 @@
|
|
|
5923
5961
|
text: DefaultTextAttribute,
|
|
5924
5962
|
rect: DefaultRectAttribute,
|
|
5925
5963
|
polygon: DefaultPolygonAttribute,
|
|
5964
|
+
star: DefaultStarAttribute,
|
|
5926
5965
|
richtext: DefaultRichTextAttribute,
|
|
5927
5966
|
richtextIcon: DefaultRichTextIconAttribute,
|
|
5928
5967
|
image: DefaultImageAttribute,
|
|
@@ -5941,6 +5980,7 @@
|
|
|
5941
5980
|
text: Object.assign({}, defaultThemeObj.text),
|
|
5942
5981
|
rect: Object.assign({}, defaultThemeObj.rect),
|
|
5943
5982
|
polygon: Object.assign({}, defaultThemeObj.polygon),
|
|
5983
|
+
star: Object.assign({}, defaultThemeObj.star),
|
|
5944
5984
|
richtext: Object.assign({}, defaultThemeObj.richtext),
|
|
5945
5985
|
richtextIcon: Object.assign({}, defaultThemeObj.richtextIcon),
|
|
5946
5986
|
image: Object.assign({}, defaultThemeObj.image),
|
|
@@ -6420,7 +6460,7 @@
|
|
|
6420
6460
|
}
|
|
6421
6461
|
_composedDetailPath(params) {
|
|
6422
6462
|
if (params && params.graphic) {
|
|
6423
|
-
const g =
|
|
6463
|
+
const g = params.graphic;
|
|
6424
6464
|
if (g.stage) {
|
|
6425
6465
|
const path = g.stage.eventSystem.manager.propagationPath(g);
|
|
6426
6466
|
this.detailPath.push(path), this._composedDetailPath(params.params);
|
|
@@ -10689,6 +10729,7 @@
|
|
|
10689
10729
|
const RECT_NUMBER_TYPE = genNumberType();
|
|
10690
10730
|
const RECT3D_NUMBER_TYPE = genNumberType();
|
|
10691
10731
|
const RICHTEXT_NUMBER_TYPE = genNumberType();
|
|
10732
|
+
const STAR_NUMBER_TYPE = genNumberType();
|
|
10692
10733
|
const SYMBOL_NUMBER_TYPE = genNumberType();
|
|
10693
10734
|
const TEXT_NUMBER_TYPE = genNumberType();
|
|
10694
10735
|
const GraphicService = Symbol.for("GraphicService");
|
|
@@ -10954,6 +10995,9 @@
|
|
|
10954
10995
|
y: y
|
|
10955
10996
|
});
|
|
10956
10997
|
}
|
|
10998
|
+
setWidthHeightWithoutTransform(aabbBounds) {
|
|
10999
|
+
this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
11000
|
+
}
|
|
10957
11001
|
setAttributes(params) {
|
|
10958
11002
|
let forceUpdateTag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
|
|
10959
11003
|
let context = arguments.length > 2 ? arguments[2] : undefined;
|
|
@@ -11242,16 +11286,17 @@
|
|
|
11242
11286
|
const {
|
|
11243
11287
|
scaleX: scaleX,
|
|
11244
11288
|
scaleY: scaleY,
|
|
11245
|
-
angle: angle
|
|
11289
|
+
angle: angle,
|
|
11290
|
+
scaleCenter: scaleCenter
|
|
11246
11291
|
} = this.attribute;
|
|
11247
11292
|
return tempBounds.copy(this._AABBBounds), this.setAttributes({
|
|
11248
|
-
|
|
11249
|
-
|
|
11250
|
-
angle: 0
|
|
11293
|
+
angle: 0,
|
|
11294
|
+
scaleCenter: null
|
|
11251
11295
|
}), params.b = this.AABBBounds.clone(), this._AABBBounds.copy(tempBounds), this.setAttributes({
|
|
11252
11296
|
scaleX: scaleX,
|
|
11253
11297
|
scaleY: scaleY,
|
|
11254
|
-
angle: angle
|
|
11298
|
+
angle: angle,
|
|
11299
|
+
scaleCenter: scaleCenter
|
|
11255
11300
|
}), params.b;
|
|
11256
11301
|
};
|
|
11257
11302
|
if ("string" == typeof anchor[0]) {
|
|
@@ -11279,7 +11324,7 @@
|
|
|
11279
11324
|
} = this.attribute;
|
|
11280
11325
|
let _anchor = [0, 0];
|
|
11281
11326
|
const params = {};
|
|
11282
|
-
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 {
|
|
11327
|
+
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 {
|
|
11283
11328
|
const m = this._transMatrix;
|
|
11284
11329
|
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, {
|
|
11285
11330
|
x: _anchor[0],
|
|
@@ -11791,14 +11836,14 @@
|
|
|
11791
11836
|
const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
|
|
11792
11837
|
|
|
11793
11838
|
var DefaultLayerService_1,
|
|
11794
|
-
__decorate$
|
|
11839
|
+
__decorate$1I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11795
11840
|
var d,
|
|
11796
11841
|
c = arguments.length,
|
|
11797
11842
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
11798
11843
|
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);
|
|
11799
11844
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11800
11845
|
},
|
|
11801
|
-
__metadata$
|
|
11846
|
+
__metadata$1j = undefined && undefined.__metadata || function (k, v) {
|
|
11802
11847
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
11803
11848
|
};
|
|
11804
11849
|
exports.DefaultLayerService = DefaultLayerService_1 = class {
|
|
@@ -11862,7 +11907,7 @@
|
|
|
11862
11907
|
this.layerMap.delete(stage);
|
|
11863
11908
|
}
|
|
11864
11909
|
};
|
|
11865
|
-
exports.DefaultLayerService.idprefix = "visactor_layer", exports.DefaultLayerService.prefix_count = 0, exports.DefaultLayerService = DefaultLayerService_1 = __decorate$
|
|
11910
|
+
exports.DefaultLayerService.idprefix = "visactor_layer", exports.DefaultLayerService.prefix_count = 0, exports.DefaultLayerService = DefaultLayerService_1 = __decorate$1I([injectable(), __metadata$1j("design:paramtypes", [])], exports.DefaultLayerService);
|
|
11866
11911
|
|
|
11867
11912
|
var coreModule = new ContainerModule(bind => {
|
|
11868
11913
|
bind(VGlobal).to(exports.DefaultGlobal).inSingletonScope(), bind(VWindow).to(exports.DefaultWindow), bind(GraphicUtil).to(exports.DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(exports.DefaultTransformUtil).inSingletonScope(), bind(LayerService).to(exports.DefaultLayerService).inSingletonScope();
|
|
@@ -12186,6 +12231,7 @@
|
|
|
12186
12231
|
const RectRenderContribution = Symbol.for("RectRenderContribution");
|
|
12187
12232
|
const SymbolRenderContribution = Symbol.for("SymbolRenderContribution");
|
|
12188
12233
|
const TextRenderContribution = Symbol.for("TextRenderContribution");
|
|
12234
|
+
const StarRenderContribution = Symbol.for("StarRenderContribution");
|
|
12189
12235
|
const CommonRenderContribution = Symbol.for("CommonRenderContribution");
|
|
12190
12236
|
const InteractiveSubRenderContribution = Symbol.for("InteractiveSubRenderContribution");
|
|
12191
12237
|
|
|
@@ -12401,17 +12447,17 @@
|
|
|
12401
12447
|
const matrixAllocate = new DefaultMatrixAllocate();
|
|
12402
12448
|
const mat4Allocate = new DefaultMat4Allocate();
|
|
12403
12449
|
|
|
12404
|
-
var __decorate$
|
|
12450
|
+
var __decorate$1H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
12405
12451
|
var d,
|
|
12406
12452
|
c = arguments.length,
|
|
12407
12453
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
12408
12454
|
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);
|
|
12409
12455
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12410
12456
|
},
|
|
12411
|
-
__metadata$
|
|
12457
|
+
__metadata$1i = undefined && undefined.__metadata || function (k, v) {
|
|
12412
12458
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
12413
12459
|
},
|
|
12414
|
-
__param$
|
|
12460
|
+
__param$W = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
12415
12461
|
return function (target, key) {
|
|
12416
12462
|
decorator(target, key, paramIndex);
|
|
12417
12463
|
};
|
|
@@ -12623,7 +12669,7 @@
|
|
|
12623
12669
|
};
|
|
12624
12670
|
}
|
|
12625
12671
|
};
|
|
12626
|
-
exports.DefaultGraphicService = __decorate$
|
|
12672
|
+
exports.DefaultGraphicService = __decorate$1H([injectable(), __param$W(0, inject(GraphicCreator$1)), __metadata$1i("design:paramtypes", [Object])], exports.DefaultGraphicService);
|
|
12627
12673
|
|
|
12628
12674
|
const updateBoundsOfCommonOuterBorder = (attribute, theme, aabbBounds) => {
|
|
12629
12675
|
const {
|
|
@@ -12669,7 +12715,7 @@
|
|
|
12669
12715
|
tb1: tb1,
|
|
12670
12716
|
tb2: tb2
|
|
12671
12717
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
12672
|
-
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;
|
|
12718
|
+
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;
|
|
12673
12719
|
}
|
|
12674
12720
|
updateCircleAABBBoundsImprecise(attribute, circleTheme, aabbBounds) {
|
|
12675
12721
|
const {
|
|
@@ -12919,7 +12965,7 @@
|
|
|
12919
12965
|
const shadowBlurHalfWidth = shadowBlur / Math.abs(scaleX + scaleY);
|
|
12920
12966
|
boundStroke(tb1, shadowBlurHalfWidth, !0, strokeBoundsBuffer), aabbBounds.union(tb1);
|
|
12921
12967
|
}
|
|
12922
|
-
return application.graphicService.combindShadowAABBBounds(aabbBounds, this), null == attribute.forceBoundsHeight && null == attribute.forceBoundsWidth || application.graphicService.updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds), transformBoundsWithMatrix(aabbBounds, aabbBounds, this.transMatrix), aabbBounds;
|
|
12968
|
+
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;
|
|
12923
12969
|
}
|
|
12924
12970
|
updateSingallineAABBBounds(text) {
|
|
12925
12971
|
this.updateMultilineAABBBounds([text]);
|
|
@@ -13444,7 +13490,7 @@
|
|
|
13444
13490
|
tb1: tb1,
|
|
13445
13491
|
tb2: tb2
|
|
13446
13492
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13447
|
-
updateBoundsOfSymbolOuterBorder(attribute, symbolTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
13493
|
+
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;
|
|
13448
13494
|
const {
|
|
13449
13495
|
lineJoin = symbolTheme.lineJoin
|
|
13450
13496
|
} = attribute;
|
|
@@ -13516,7 +13562,7 @@
|
|
|
13516
13562
|
return getTheme(this).line;
|
|
13517
13563
|
}
|
|
13518
13564
|
updateAABBBounds(attribute, lineTheme, aabbBounds) {
|
|
13519
|
-
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds) : this.updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13565
|
+
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;
|
|
13520
13566
|
const {
|
|
13521
13567
|
lineJoin = lineTheme.lineJoin
|
|
13522
13568
|
} = attribute;
|
|
@@ -13613,7 +13659,7 @@
|
|
|
13613
13659
|
tb1: tb1,
|
|
13614
13660
|
tb2: tb2
|
|
13615
13661
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
13616
|
-
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;
|
|
13662
|
+
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;
|
|
13617
13663
|
}
|
|
13618
13664
|
needUpdateTags(keys) {
|
|
13619
13665
|
return super.needUpdateTags(keys, RECT_UPDATE_TAG_KEY);
|
|
@@ -13984,6 +14030,7 @@
|
|
|
13984
14030
|
}
|
|
13985
14031
|
class Paragraph {
|
|
13986
14032
|
constructor(text, newLine, character, ascentDescentMode) {
|
|
14033
|
+
var _a, _b;
|
|
13987
14034
|
this.fontSize = character.fontSize || 16, this.textBaseline = character.textBaseline || "alphabetic", this.ascentDescentMode = ascentDescentMode;
|
|
13988
14035
|
const lineHeight = calculateLineHeight(character.lineHeight, this.fontSize);
|
|
13989
14036
|
this.lineHeight = "number" == typeof lineHeight ? lineHeight > this.fontSize ? lineHeight : this.fontSize : Math.floor(1.2 * this.fontSize), this.height = this.lineHeight;
|
|
@@ -13996,7 +14043,7 @@
|
|
|
13996
14043
|
let halfDetaHeight = 0,
|
|
13997
14044
|
deltaAscent = 0,
|
|
13998
14045
|
deltaDescent = 0;
|
|
13999
|
-
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 = "...";
|
|
14046
|
+
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 = "...";
|
|
14000
14047
|
}
|
|
14001
14048
|
updateWidth() {
|
|
14002
14049
|
const {
|
|
@@ -14015,11 +14062,11 @@
|
|
|
14015
14062
|
if ("hide" === this.ellipsis) return;
|
|
14016
14063
|
if ("add" === this.ellipsis) text += this.ellipsisStr, "right" !== textAlign && "end" !== textAlign || (left -= this.ellipsisWidth);else if ("replace" === this.ellipsis) {
|
|
14017
14064
|
const index = getStrByWithCanvas(text, ("vertical" === direction ? this.height : this.width) - this.ellipsisWidth + this.ellipsisOtherParagraphWidth, this.character, text.length - 1);
|
|
14018
|
-
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
|
|
14065
|
+
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) if ("vertical" === direction) ;else {
|
|
14019
14066
|
const {
|
|
14020
14067
|
width: width
|
|
14021
14068
|
} = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
|
|
14022
|
-
|
|
14069
|
+
left -= this.ellipsisWidth - width;
|
|
14023
14070
|
}
|
|
14024
14071
|
}
|
|
14025
14072
|
}
|
|
@@ -14030,20 +14077,21 @@
|
|
|
14030
14077
|
});
|
|
14031
14078
|
}
|
|
14032
14079
|
draw(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
|
|
14080
|
+
var _a;
|
|
14033
14081
|
let baseline = top + ascent,
|
|
14034
14082
|
text = this.text,
|
|
14035
|
-
left = this.left + deltaLeft;
|
|
14083
|
+
left = this.left + deltaLeft + (null !== (_a = this.space) && void 0 !== _a ? _a : 0) / 2;
|
|
14036
14084
|
baseline += this.top;
|
|
14037
14085
|
let direction = this.direction;
|
|
14038
14086
|
if (this.verticalEllipsis) text = this.ellipsisStr, direction = "vertical", baseline -= this.ellipsisWidth / 2;else {
|
|
14039
14087
|
if ("hide" === this.ellipsis) return;
|
|
14040
14088
|
if ("add" === this.ellipsis) text += this.ellipsisStr, "right" !== textAlign && "end" !== textAlign || (left -= this.ellipsisWidth);else if ("replace" === this.ellipsis) {
|
|
14041
14089
|
const index = getStrByWithCanvas(text, ("vertical" === direction ? this.height : this.width) - this.ellipsisWidth + this.ellipsisOtherParagraphWidth, this.character, text.length - 1);
|
|
14042
|
-
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
|
|
14090
|
+
if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) if ("vertical" === direction) ;else {
|
|
14043
14091
|
const {
|
|
14044
14092
|
width: width
|
|
14045
14093
|
} = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
|
|
14046
|
-
|
|
14094
|
+
left -= this.ellipsisWidth - width;
|
|
14047
14095
|
}
|
|
14048
14096
|
}
|
|
14049
14097
|
}
|
|
@@ -14058,7 +14106,7 @@
|
|
|
14058
14106
|
const {
|
|
14059
14107
|
lineWidth = 1
|
|
14060
14108
|
} = this.character;
|
|
14061
|
-
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) {
|
|
14109
|
+
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) {
|
|
14062
14110
|
if (this.character.underline) {
|
|
14063
14111
|
const top = 1 + baseline,
|
|
14064
14112
|
lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
|
|
@@ -14187,7 +14235,7 @@
|
|
|
14187
14235
|
tb1: tb1,
|
|
14188
14236
|
tb2: tb2
|
|
14189
14237
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14190
|
-
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;
|
|
14238
|
+
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;
|
|
14191
14239
|
}
|
|
14192
14240
|
getDefaultAttribute(name) {
|
|
14193
14241
|
return DefaultImageAttribute[name];
|
|
@@ -14530,7 +14578,7 @@
|
|
|
14530
14578
|
maxWidth = richtextTheme.maxWidth,
|
|
14531
14579
|
maxHeight = richtextTheme.maxHeight,
|
|
14532
14580
|
textAlign = richtextTheme.textAlign,
|
|
14533
|
-
|
|
14581
|
+
textBaseline = null !== (_b = null !== (_a = attribute.textBaseline) && void 0 !== _a ? _a : richtextTheme.textBaseline) && void 0 !== _b ? _b : "top",
|
|
14534
14582
|
editOptions: editOptions
|
|
14535
14583
|
} = attribute;
|
|
14536
14584
|
if (width > 0 && height > 0) aabbBounds.set(0, 0, width, height);else {
|
|
@@ -14545,7 +14593,7 @@
|
|
|
14545
14593
|
}
|
|
14546
14594
|
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);
|
|
14547
14595
|
let deltaY = 0;
|
|
14548
|
-
switch (
|
|
14596
|
+
switch (textBaseline) {
|
|
14549
14597
|
case "top":
|
|
14550
14598
|
deltaY = 0;
|
|
14551
14599
|
break;
|
|
@@ -14566,7 +14614,7 @@
|
|
|
14566
14614
|
case "right":
|
|
14567
14615
|
deltaX = -aabbBounds.width();
|
|
14568
14616
|
}
|
|
14569
|
-
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;
|
|
14617
|
+
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;
|
|
14570
14618
|
}
|
|
14571
14619
|
needUpdateTags(keys) {
|
|
14572
14620
|
return super.needUpdateTags(keys, RICHTEXT_UPDATE_TAG_KEY);
|
|
@@ -14784,7 +14832,7 @@
|
|
|
14784
14832
|
tb1: tb1,
|
|
14785
14833
|
tb2: tb2
|
|
14786
14834
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14787
|
-
updateBoundsOfCommonOuterBorder(attribute, pathTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
14835
|
+
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;
|
|
14788
14836
|
const {
|
|
14789
14837
|
lineJoin = pathTheme.lineJoin
|
|
14790
14838
|
} = attribute;
|
|
@@ -14841,7 +14889,7 @@
|
|
|
14841
14889
|
return getTheme(this).area;
|
|
14842
14890
|
}
|
|
14843
14891
|
updateAABBBounds(attribute, areaTheme, aabbBounds) {
|
|
14844
|
-
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds) : this.updateAreaAABBBoundsByPoints(attribute, areaTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
14892
|
+
this.updatePathProxyAABBBounds(aabbBounds) || (attribute.segments ? this.updateAreaAABBBoundsBySegments(attribute, areaTheme, aabbBounds) : this.updateAreaAABBBoundsByPoints(attribute, areaTheme, aabbBounds)), application.graphicService.updateTempAABBBounds(aabbBounds), this.setWidthHeightWithoutTransform(aabbBounds);
|
|
14845
14893
|
const {
|
|
14846
14894
|
lineJoin = areaTheme.lineJoin
|
|
14847
14895
|
} = attribute;
|
|
@@ -15046,7 +15094,7 @@
|
|
|
15046
15094
|
tb1: tb1,
|
|
15047
15095
|
tb2: tb2
|
|
15048
15096
|
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15049
|
-
updateBoundsOfCommonOuterBorder(attribute, arcTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
|
|
15097
|
+
updateBoundsOfCommonOuterBorder(attribute, arcTheme, tb1), aabbBounds.union(tb1), tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2), this.setWidthHeightWithoutTransform(aabbBounds);
|
|
15050
15098
|
const {
|
|
15051
15099
|
lineJoin = arcTheme.lineJoin
|
|
15052
15100
|
} = attribute;
|
|
@@ -15131,6 +15179,97 @@
|
|
|
15131
15179
|
return new Arc(attributes);
|
|
15132
15180
|
}
|
|
15133
15181
|
|
|
15182
|
+
const STAR_UPDATE_TAG_KEY = ["width", "height", "spikes", "thickness", ...GRAPHIC_UPDATE_TAG_KEY];
|
|
15183
|
+
class Star extends Graphic {
|
|
15184
|
+
constructor(params) {
|
|
15185
|
+
super(params), this.type = "star", this._cachedPoints = [], this.numberType = STAR_NUMBER_TYPE;
|
|
15186
|
+
}
|
|
15187
|
+
isValid() {
|
|
15188
|
+
return super.isValid() && this._isValid();
|
|
15189
|
+
}
|
|
15190
|
+
_isValid() {
|
|
15191
|
+
const {
|
|
15192
|
+
width: width,
|
|
15193
|
+
height: height,
|
|
15194
|
+
spikes: spikes
|
|
15195
|
+
} = this.attribute;
|
|
15196
|
+
return (null == width || width > 0) && (null == height || height > 0) && (null == spikes || spikes >= 3 && Number.isInteger(spikes));
|
|
15197
|
+
}
|
|
15198
|
+
getGraphicTheme() {
|
|
15199
|
+
return getTheme(this).star;
|
|
15200
|
+
}
|
|
15201
|
+
updateAABBBounds(attribute, rectTheme, aabbBounds) {
|
|
15202
|
+
if (!this.updatePathProxyAABBBounds(aabbBounds)) {
|
|
15203
|
+
const {
|
|
15204
|
+
width = 0,
|
|
15205
|
+
height = 0
|
|
15206
|
+
} = attribute;
|
|
15207
|
+
(isFinite(width) || isFinite(height)) && aabbBounds.set(0, 0, width, height);
|
|
15208
|
+
}
|
|
15209
|
+
const {
|
|
15210
|
+
tb1: tb1,
|
|
15211
|
+
tb2: tb2
|
|
15212
|
+
} = application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15213
|
+
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;
|
|
15214
|
+
}
|
|
15215
|
+
getCachedPoints() {
|
|
15216
|
+
return this.shouldUpdateShape() && (this._cachedPoints = this.getStarPoints(this.attribute, this.getGraphicTheme()), this.clearUpdateShapeTag()), this._cachedPoints;
|
|
15217
|
+
}
|
|
15218
|
+
getStarPoints(attribute, starTheme) {
|
|
15219
|
+
const {
|
|
15220
|
+
width = starTheme.width,
|
|
15221
|
+
height = starTheme.height,
|
|
15222
|
+
spikes = starTheme.spikes,
|
|
15223
|
+
thickness = starTheme.thickness
|
|
15224
|
+
} = attribute,
|
|
15225
|
+
validSpikes = Math.max(3, Math.floor(spikes)),
|
|
15226
|
+
validThickness = Math.max(0, Math.min(1, thickness)),
|
|
15227
|
+
points = [],
|
|
15228
|
+
outerRadius = Math.min(width, height) / 2,
|
|
15229
|
+
innerRadius = outerRadius * (1 - validThickness),
|
|
15230
|
+
centerX = width / 2,
|
|
15231
|
+
centerY = height / 2;
|
|
15232
|
+
for (let i = 0; i < 2 * validSpikes; i++) {
|
|
15233
|
+
const radius = i % 2 == 0 ? outerRadius : innerRadius,
|
|
15234
|
+
angle = Math.PI / validSpikes * i,
|
|
15235
|
+
scaleX = width / (2 * outerRadius),
|
|
15236
|
+
scaleY = height / (2 * outerRadius);
|
|
15237
|
+
points.push({
|
|
15238
|
+
x: centerX + Math.sin(angle) * radius * scaleX,
|
|
15239
|
+
y: centerY - Math.cos(angle) * radius * scaleY
|
|
15240
|
+
});
|
|
15241
|
+
}
|
|
15242
|
+
return this._cachedPoints = points, points;
|
|
15243
|
+
}
|
|
15244
|
+
_interpolate(key, ratio, lastStepVal, nextStepVal, nextAttributes) {
|
|
15245
|
+
"width" !== key && "height" !== key && "spikes" !== key && "thickness" !== key || (nextAttributes[key] = lastStepVal + (nextStepVal - lastStepVal) * ratio);
|
|
15246
|
+
}
|
|
15247
|
+
needUpdateTags(keys) {
|
|
15248
|
+
return super.needUpdateTags(keys, STAR_UPDATE_TAG_KEY);
|
|
15249
|
+
}
|
|
15250
|
+
needUpdateTag(key) {
|
|
15251
|
+
return super.needUpdateTag(key, STAR_UPDATE_TAG_KEY);
|
|
15252
|
+
}
|
|
15253
|
+
toCustomPath() {
|
|
15254
|
+
const starTheme = this.getGraphicTheme(),
|
|
15255
|
+
points = this.getStarPoints(this.attribute, starTheme),
|
|
15256
|
+
path = new CustomPath2D();
|
|
15257
|
+
return points.forEach((point, index) => {
|
|
15258
|
+
0 === index ? path.moveTo(point.x, point.y) : path.lineTo(point.x, point.y);
|
|
15259
|
+
}), path.closePath(), path;
|
|
15260
|
+
}
|
|
15261
|
+
clone() {
|
|
15262
|
+
return new Star(Object.assign({}, this.attribute));
|
|
15263
|
+
}
|
|
15264
|
+
getNoWorkAnimateAttr() {
|
|
15265
|
+
return Star.NOWORK_ANIMATE_ATTR;
|
|
15266
|
+
}
|
|
15267
|
+
}
|
|
15268
|
+
Star.NOWORK_ANIMATE_ATTR = NOWORK_ANIMATE_ATTR;
|
|
15269
|
+
function createStar(attributes) {
|
|
15270
|
+
return new Star(attributes);
|
|
15271
|
+
}
|
|
15272
|
+
|
|
15134
15273
|
class Arc3d extends Arc {
|
|
15135
15274
|
constructor(params) {
|
|
15136
15275
|
super(params), this.type = "arc3d", this.numberType = ARC3D_NUMBER_TYPE;
|
|
@@ -15174,7 +15313,7 @@
|
|
|
15174
15313
|
return getTheme(this).polygon;
|
|
15175
15314
|
}
|
|
15176
15315
|
updateAABBBounds(attribute, polygonTheme, aabbBounds) {
|
|
15177
|
-
this.updatePathProxyAABBBounds(aabbBounds) || this.updatePolygonAABBBoundsImprecise(attribute, polygonTheme, aabbBounds), application.graphicService.updateTempAABBBounds(aabbBounds);
|
|
15316
|
+
this.updatePathProxyAABBBounds(aabbBounds) || this.updatePolygonAABBBoundsImprecise(attribute, polygonTheme, aabbBounds), application.graphicService.updateTempAABBBounds(aabbBounds), this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
|
|
15178
15317
|
const {
|
|
15179
15318
|
lineJoin = polygonTheme.lineJoin
|
|
15180
15319
|
} = attribute;
|
|
@@ -15367,17 +15506,17 @@
|
|
|
15367
15506
|
return richText || (richText = graphicCreator.CreateGraphic("richtext", {})), richText.setAttributes(params), richText.AABBBounds;
|
|
15368
15507
|
}
|
|
15369
15508
|
|
|
15370
|
-
var __decorate$
|
|
15509
|
+
var __decorate$1G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15371
15510
|
var d,
|
|
15372
15511
|
c = arguments.length,
|
|
15373
15512
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
15374
15513
|
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);
|
|
15375
15514
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15376
15515
|
},
|
|
15377
|
-
__metadata$
|
|
15516
|
+
__metadata$1h = undefined && undefined.__metadata || function (k, v) {
|
|
15378
15517
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15379
15518
|
},
|
|
15380
|
-
__param$
|
|
15519
|
+
__param$V = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
15381
15520
|
return function (target, key) {
|
|
15382
15521
|
decorator(target, key, paramIndex);
|
|
15383
15522
|
};
|
|
@@ -15482,7 +15621,7 @@
|
|
|
15482
15621
|
});
|
|
15483
15622
|
}
|
|
15484
15623
|
};
|
|
15485
|
-
exports.DefaultBaseInteractiveRenderContribution = __decorate$
|
|
15624
|
+
exports.DefaultBaseInteractiveRenderContribution = __decorate$1G([injectable(), __param$V(0, inject(ContributionProvider)), __param$V(0, named(InteractiveSubRenderContribution)), __metadata$1h("design:paramtypes", [Object])], exports.DefaultBaseInteractiveRenderContribution);
|
|
15486
15625
|
class DefaultBaseClipRenderBeforeContribution {
|
|
15487
15626
|
constructor() {
|
|
15488
15627
|
this.time = exports.BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -15914,7 +16053,7 @@
|
|
|
15914
16053
|
return !edgeCb && path.closePath(), path;
|
|
15915
16054
|
}
|
|
15916
16055
|
|
|
15917
|
-
var __decorate$
|
|
16056
|
+
var __decorate$1F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15918
16057
|
var d,
|
|
15919
16058
|
c = arguments.length,
|
|
15920
16059
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15979,7 +16118,7 @@
|
|
|
15979
16118
|
Array.isArray(stroke) && stroke.some(s => !1 === s) && (doFillOrStroke.doStroke = !1);
|
|
15980
16119
|
}
|
|
15981
16120
|
};
|
|
15982
|
-
exports.SplitRectBeforeRenderContribution = __decorate$
|
|
16121
|
+
exports.SplitRectBeforeRenderContribution = __decorate$1F([injectable()], exports.SplitRectBeforeRenderContribution);
|
|
15983
16122
|
exports.SplitRectAfterRenderContribution = class SplitRectAfterRenderContribution {
|
|
15984
16123
|
constructor() {
|
|
15985
16124
|
this.time = exports.BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -16016,7 +16155,7 @@
|
|
|
16016
16155
|
}
|
|
16017
16156
|
}
|
|
16018
16157
|
};
|
|
16019
|
-
exports.SplitRectAfterRenderContribution = __decorate$
|
|
16158
|
+
exports.SplitRectAfterRenderContribution = __decorate$1F([injectable()], exports.SplitRectAfterRenderContribution);
|
|
16020
16159
|
const defaultRectRenderContribution = new DefaultRectRenderContribution();
|
|
16021
16160
|
const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16022
16161
|
const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
@@ -16101,6 +16240,9 @@
|
|
|
16101
16240
|
const defaultSymbolTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16102
16241
|
const defaultSymbolBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16103
16242
|
|
|
16243
|
+
const defaultStarTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
16244
|
+
const defaultStarBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16245
|
+
|
|
16104
16246
|
class DefaultAreaTextureRenderContribution extends DefaultBaseTextureRenderContribution {
|
|
16105
16247
|
constructor() {
|
|
16106
16248
|
super(...arguments), this.time = exports.BaseRenderContributionTime.afterFillStroke;
|
|
@@ -16284,17 +16426,17 @@
|
|
|
16284
16426
|
}
|
|
16285
16427
|
}
|
|
16286
16428
|
|
|
16287
|
-
var __decorate$
|
|
16429
|
+
var __decorate$1E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16288
16430
|
var d,
|
|
16289
16431
|
c = arguments.length,
|
|
16290
16432
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16291
16433
|
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);
|
|
16292
16434
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16293
16435
|
},
|
|
16294
|
-
__metadata$
|
|
16436
|
+
__metadata$1g = undefined && undefined.__metadata || function (k, v) {
|
|
16295
16437
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16296
16438
|
},
|
|
16297
|
-
__param$
|
|
16439
|
+
__param$U = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16298
16440
|
return function (target, key) {
|
|
16299
16441
|
decorator(target, key, paramIndex);
|
|
16300
16442
|
};
|
|
@@ -16458,19 +16600,19 @@
|
|
|
16458
16600
|
this._draw(arc, arcAttribute, !1, drawContext, params);
|
|
16459
16601
|
}
|
|
16460
16602
|
};
|
|
16461
|
-
exports.DefaultCanvasArcRender = __decorate$
|
|
16603
|
+
exports.DefaultCanvasArcRender = __decorate$1E([injectable(), __param$U(0, inject(ContributionProvider)), __param$U(0, named(ArcRenderContribution)), __metadata$1g("design:paramtypes", [Object])], exports.DefaultCanvasArcRender);
|
|
16462
16604
|
|
|
16463
|
-
var __decorate$
|
|
16605
|
+
var __decorate$1D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16464
16606
|
var d,
|
|
16465
16607
|
c = arguments.length,
|
|
16466
16608
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16467
16609
|
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);
|
|
16468
16610
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16469
16611
|
},
|
|
16470
|
-
__metadata$
|
|
16612
|
+
__metadata$1f = undefined && undefined.__metadata || function (k, v) {
|
|
16471
16613
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16472
16614
|
},
|
|
16473
|
-
__param$
|
|
16615
|
+
__param$T = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16474
16616
|
return function (target, key) {
|
|
16475
16617
|
decorator(target, key, paramIndex);
|
|
16476
16618
|
};
|
|
@@ -16511,7 +16653,7 @@
|
|
|
16511
16653
|
this._draw(circle, circleAttribute, !1, drawContext, params);
|
|
16512
16654
|
}
|
|
16513
16655
|
};
|
|
16514
|
-
exports.DefaultCanvasCircleRender = __decorate$
|
|
16656
|
+
exports.DefaultCanvasCircleRender = __decorate$1D([injectable(), __param$T(0, inject(ContributionProvider)), __param$T(0, named(CircleRenderContribution)), __metadata$1f("design:paramtypes", [Object])], exports.DefaultCanvasCircleRender);
|
|
16515
16657
|
|
|
16516
16658
|
function drawSegItem(ctx, curve, endPercent, params) {
|
|
16517
16659
|
if (!curve.p1) return;
|
|
@@ -16635,7 +16777,7 @@
|
|
|
16635
16777
|
});
|
|
16636
16778
|
}
|
|
16637
16779
|
|
|
16638
|
-
var __decorate$
|
|
16780
|
+
var __decorate$1C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16639
16781
|
var d,
|
|
16640
16782
|
c = arguments.length,
|
|
16641
16783
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -16780,7 +16922,7 @@
|
|
|
16780
16922
|
} else this.drawSegmentItem(context, line.cache, !!fill, !!stroke, fillOpacity, strokeOpacity, line.attribute, lineAttribute, clipRange, clipRangeByDimension, x, y, line, fillCb, strokeCb);
|
|
16781
16923
|
}
|
|
16782
16924
|
};
|
|
16783
|
-
exports.DefaultCanvasLineRender = __decorate$
|
|
16925
|
+
exports.DefaultCanvasLineRender = __decorate$1C([injectable()], exports.DefaultCanvasLineRender);
|
|
16784
16926
|
|
|
16785
16927
|
function drawAreaSegments(path, segPath, percent, params) {
|
|
16786
16928
|
var _a;
|
|
@@ -16847,17 +16989,17 @@
|
|
|
16847
16989
|
const defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
|
|
16848
16990
|
const defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
16849
16991
|
|
|
16850
|
-
var __decorate$
|
|
16992
|
+
var __decorate$1B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16851
16993
|
var d,
|
|
16852
16994
|
c = arguments.length,
|
|
16853
16995
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
16854
16996
|
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);
|
|
16855
16997
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
16856
16998
|
},
|
|
16857
|
-
__metadata$
|
|
16999
|
+
__metadata$1e = undefined && undefined.__metadata || function (k, v) {
|
|
16858
17000
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
16859
17001
|
},
|
|
16860
|
-
__param$
|
|
17002
|
+
__param$S = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
16861
17003
|
return function (target, key) {
|
|
16862
17004
|
decorator(target, key, paramIndex);
|
|
16863
17005
|
};
|
|
@@ -17086,22 +17228,22 @@
|
|
|
17086
17228
|
})(), !1;
|
|
17087
17229
|
}
|
|
17088
17230
|
};
|
|
17089
|
-
exports.DefaultCanvasAreaRender = __decorate$
|
|
17231
|
+
exports.DefaultCanvasAreaRender = __decorate$1B([injectable(), __param$S(0, inject(ContributionProvider)), __param$S(0, named(AreaRenderContribution)), __metadata$1e("design:paramtypes", [Object])], exports.DefaultCanvasAreaRender);
|
|
17090
17232
|
|
|
17091
17233
|
const defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
17092
17234
|
const defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
17093
17235
|
|
|
17094
|
-
var __decorate$
|
|
17236
|
+
var __decorate$1A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17095
17237
|
var d,
|
|
17096
17238
|
c = arguments.length,
|
|
17097
17239
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17098
17240
|
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);
|
|
17099
17241
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17100
17242
|
},
|
|
17101
|
-
__metadata$
|
|
17243
|
+
__metadata$1d = undefined && undefined.__metadata || function (k, v) {
|
|
17102
17244
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17103
17245
|
},
|
|
17104
|
-
__param$
|
|
17246
|
+
__param$R = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17105
17247
|
return function (target, key) {
|
|
17106
17248
|
decorator(target, key, paramIndex);
|
|
17107
17249
|
};
|
|
@@ -17145,19 +17287,19 @@
|
|
|
17145
17287
|
this.tempTheme = pathAttribute, this._draw(path, pathAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
17146
17288
|
}
|
|
17147
17289
|
};
|
|
17148
|
-
exports.DefaultCanvasPathRender = __decorate$
|
|
17290
|
+
exports.DefaultCanvasPathRender = __decorate$1A([injectable(), __param$R(0, inject(ContributionProvider)), __param$R(0, named(PathRenderContribution)), __metadata$1d("design:paramtypes", [Object])], exports.DefaultCanvasPathRender);
|
|
17149
17291
|
|
|
17150
|
-
var __decorate$
|
|
17292
|
+
var __decorate$1z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17151
17293
|
var d,
|
|
17152
17294
|
c = arguments.length,
|
|
17153
17295
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17154
17296
|
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);
|
|
17155
17297
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17156
17298
|
},
|
|
17157
|
-
__metadata$
|
|
17299
|
+
__metadata$1c = undefined && undefined.__metadata || function (k, v) {
|
|
17158
17300
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17159
17301
|
},
|
|
17160
|
-
__param$
|
|
17302
|
+
__param$Q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17161
17303
|
return function (target, key) {
|
|
17162
17304
|
decorator(target, key, paramIndex);
|
|
17163
17305
|
};
|
|
@@ -17217,19 +17359,19 @@
|
|
|
17217
17359
|
this.tempTheme = rectAttribute, this._draw(rect, rectAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
17218
17360
|
}
|
|
17219
17361
|
};
|
|
17220
|
-
exports.DefaultCanvasRectRender = __decorate$
|
|
17362
|
+
exports.DefaultCanvasRectRender = __decorate$1z([injectable(), __param$Q(0, inject(ContributionProvider)), __param$Q(0, named(RectRenderContribution)), __metadata$1c("design:paramtypes", [Object])], exports.DefaultCanvasRectRender);
|
|
17221
17363
|
|
|
17222
|
-
var __decorate$
|
|
17364
|
+
var __decorate$1y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17223
17365
|
var d,
|
|
17224
17366
|
c = arguments.length,
|
|
17225
17367
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17226
17368
|
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);
|
|
17227
17369
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17228
17370
|
},
|
|
17229
|
-
__metadata$
|
|
17371
|
+
__metadata$1b = undefined && undefined.__metadata || function (k, v) {
|
|
17230
17372
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17231
17373
|
},
|
|
17232
|
-
__param$
|
|
17374
|
+
__param$P = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17233
17375
|
return function (target, key) {
|
|
17234
17376
|
decorator(target, key, paramIndex);
|
|
17235
17377
|
};
|
|
@@ -17300,7 +17442,7 @@
|
|
|
17300
17442
|
this._draw(symbol, symbolAttribute, !1, drawContext, params);
|
|
17301
17443
|
}
|
|
17302
17444
|
};
|
|
17303
|
-
exports.DefaultCanvasSymbolRender = __decorate$
|
|
17445
|
+
exports.DefaultCanvasSymbolRender = __decorate$1y([injectable(), __param$P(0, inject(ContributionProvider)), __param$P(0, named(SymbolRenderContribution)), __metadata$1b("design:paramtypes", [Object])], exports.DefaultCanvasSymbolRender);
|
|
17304
17446
|
|
|
17305
17447
|
class DefaultBoundsAllocate {
|
|
17306
17448
|
constructor() {
|
|
@@ -17391,17 +17533,17 @@
|
|
|
17391
17533
|
}
|
|
17392
17534
|
const defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
|
|
17393
17535
|
|
|
17394
|
-
var __decorate$
|
|
17536
|
+
var __decorate$1x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17395
17537
|
var d,
|
|
17396
17538
|
c = arguments.length,
|
|
17397
17539
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17398
17540
|
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);
|
|
17399
17541
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17400
17542
|
},
|
|
17401
|
-
__metadata$
|
|
17543
|
+
__metadata$1a = undefined && undefined.__metadata || function (k, v) {
|
|
17402
17544
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17403
17545
|
},
|
|
17404
|
-
__param$
|
|
17546
|
+
__param$O = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17405
17547
|
return function (target, key) {
|
|
17406
17548
|
decorator(target, key, paramIndex);
|
|
17407
17549
|
};
|
|
@@ -17540,9 +17682,9 @@
|
|
|
17540
17682
|
}
|
|
17541
17683
|
}
|
|
17542
17684
|
};
|
|
17543
|
-
exports.DefaultCanvasTextRender = __decorate$
|
|
17685
|
+
exports.DefaultCanvasTextRender = __decorate$1x([injectable(), __param$O(0, inject(ContributionProvider)), __param$O(0, named(TextRenderContribution)), __metadata$1a("design:paramtypes", [Object])], exports.DefaultCanvasTextRender);
|
|
17544
17686
|
|
|
17545
|
-
var __decorate$
|
|
17687
|
+
var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17546
17688
|
var d,
|
|
17547
17689
|
c = arguments.length,
|
|
17548
17690
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -17550,7 +17692,7 @@
|
|
|
17550
17692
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17551
17693
|
};
|
|
17552
17694
|
exports.AbstractGraphicRender = class AbstractGraphicRender {};
|
|
17553
|
-
exports.AbstractGraphicRender = __decorate$
|
|
17695
|
+
exports.AbstractGraphicRender = __decorate$1w([injectable()], exports.AbstractGraphicRender);
|
|
17554
17696
|
|
|
17555
17697
|
function drawPolygon(path, points, x, y) {
|
|
17556
17698
|
path.moveTo(points[0].x + x, points[0].y + y);
|
|
@@ -17606,17 +17748,17 @@
|
|
|
17606
17748
|
const defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
17607
17749
|
const defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
17608
17750
|
|
|
17609
|
-
var __decorate$
|
|
17751
|
+
var __decorate$1v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17610
17752
|
var d,
|
|
17611
17753
|
c = arguments.length,
|
|
17612
17754
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17613
17755
|
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);
|
|
17614
17756
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17615
17757
|
},
|
|
17616
|
-
__metadata$
|
|
17758
|
+
__metadata$19 = undefined && undefined.__metadata || function (k, v) {
|
|
17617
17759
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17618
17760
|
},
|
|
17619
|
-
__param$
|
|
17761
|
+
__param$N = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17620
17762
|
return function (target, key) {
|
|
17621
17763
|
decorator(target, key, paramIndex);
|
|
17622
17764
|
};
|
|
@@ -17657,19 +17799,19 @@
|
|
|
17657
17799
|
this._draw(polygon, polygonAttribute, !1, drawContext, params);
|
|
17658
17800
|
}
|
|
17659
17801
|
};
|
|
17660
|
-
exports.DefaultCanvasPolygonRender = __decorate$
|
|
17802
|
+
exports.DefaultCanvasPolygonRender = __decorate$1v([injectable(), __param$N(0, inject(ContributionProvider)), __param$N(0, named(PolygonRenderContribution)), __metadata$19("design:paramtypes", [Object])], exports.DefaultCanvasPolygonRender);
|
|
17661
17803
|
|
|
17662
|
-
var __decorate$
|
|
17804
|
+
var __decorate$1u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17663
17805
|
var d,
|
|
17664
17806
|
c = arguments.length,
|
|
17665
17807
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17666
17808
|
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);
|
|
17667
17809
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17668
17810
|
},
|
|
17669
|
-
__metadata$
|
|
17811
|
+
__metadata$18 = undefined && undefined.__metadata || function (k, v) {
|
|
17670
17812
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17671
17813
|
},
|
|
17672
|
-
__param$
|
|
17814
|
+
__param$M = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17673
17815
|
return function (target, key) {
|
|
17674
17816
|
decorator(target, key, paramIndex);
|
|
17675
17817
|
};
|
|
@@ -17789,19 +17931,19 @@
|
|
|
17789
17931
|
}) : clip ? context.restore() : context.highPerformanceRestore();
|
|
17790
17932
|
}
|
|
17791
17933
|
};
|
|
17792
|
-
exports.DefaultCanvasGroupRender = __decorate$
|
|
17934
|
+
exports.DefaultCanvasGroupRender = __decorate$1u([injectable(), __param$M(0, inject(ContributionProvider)), __param$M(0, named(GroupRenderContribution)), __metadata$18("design:paramtypes", [Object])], exports.DefaultCanvasGroupRender);
|
|
17793
17935
|
|
|
17794
|
-
var __decorate$
|
|
17936
|
+
var __decorate$1t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17795
17937
|
var d,
|
|
17796
17938
|
c = arguments.length,
|
|
17797
17939
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17798
17940
|
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);
|
|
17799
17941
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17800
17942
|
},
|
|
17801
|
-
__metadata$
|
|
17943
|
+
__metadata$17 = undefined && undefined.__metadata || function (k, v) {
|
|
17802
17944
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17803
17945
|
},
|
|
17804
|
-
__param$
|
|
17946
|
+
__param$L = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17805
17947
|
return function (target, key) {
|
|
17806
17948
|
decorator(target, key, paramIndex);
|
|
17807
17949
|
};
|
|
@@ -17870,7 +18012,7 @@
|
|
|
17870
18012
|
this._draw(image, imageAttribute, !1, drawContext);
|
|
17871
18013
|
}
|
|
17872
18014
|
};
|
|
17873
|
-
exports.DefaultCanvasImageRender = __decorate$
|
|
18015
|
+
exports.DefaultCanvasImageRender = __decorate$1t([injectable(), __param$L(0, inject(ContributionProvider)), __param$L(0, named(ImageRenderContribution)), __metadata$17("design:paramtypes", [Object])], exports.DefaultCanvasImageRender);
|
|
17874
18016
|
|
|
17875
18017
|
const IncrementalDrawContribution = Symbol.for("IncrementalDrawContribution");
|
|
17876
18018
|
const ArcRender = Symbol.for("ArcRender");
|
|
@@ -17892,6 +18034,7 @@
|
|
|
17892
18034
|
const ImageRender = Symbol.for("ImageRender");
|
|
17893
18035
|
const RenderSelector = Symbol.for("RenderSelector");
|
|
17894
18036
|
const DrawContribution = Symbol.for("DrawContribution");
|
|
18037
|
+
const StarRender = Symbol.for("StarRender");
|
|
17895
18038
|
|
|
17896
18039
|
const draw3dItem = (context, graphic, callback, output) => {
|
|
17897
18040
|
let result,
|
|
@@ -17938,14 +18081,14 @@
|
|
|
17938
18081
|
return result;
|
|
17939
18082
|
};
|
|
17940
18083
|
|
|
17941
|
-
var __decorate$
|
|
18084
|
+
var __decorate$1s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17942
18085
|
var d,
|
|
17943
18086
|
c = arguments.length,
|
|
17944
18087
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17945
18088
|
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);
|
|
17946
18089
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17947
18090
|
},
|
|
17948
|
-
__metadata$
|
|
18091
|
+
__metadata$16 = undefined && undefined.__metadata || function (k, v) {
|
|
17949
18092
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17950
18093
|
};
|
|
17951
18094
|
const DrawItemInterceptor = Symbol.for("DrawItemInterceptor");
|
|
@@ -18005,7 +18148,7 @@
|
|
|
18005
18148
|
return !1;
|
|
18006
18149
|
}
|
|
18007
18150
|
};
|
|
18008
|
-
exports.CommonDrawItemInterceptorContribution = __decorate$
|
|
18151
|
+
exports.CommonDrawItemInterceptorContribution = __decorate$1s([injectable(), __metadata$16("design:paramtypes", [])], exports.CommonDrawItemInterceptorContribution);
|
|
18009
18152
|
class InteractiveDrawItemInterceptorContribution {
|
|
18010
18153
|
constructor() {
|
|
18011
18154
|
this.order = 1;
|
|
@@ -18096,17 +18239,17 @@
|
|
|
18096
18239
|
}
|
|
18097
18240
|
}
|
|
18098
18241
|
|
|
18099
|
-
var __decorate$
|
|
18242
|
+
var __decorate$1r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18100
18243
|
var d,
|
|
18101
18244
|
c = arguments.length,
|
|
18102
18245
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18103
18246
|
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);
|
|
18104
18247
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18105
18248
|
},
|
|
18106
|
-
__metadata$
|
|
18249
|
+
__metadata$15 = undefined && undefined.__metadata || function (k, v) {
|
|
18107
18250
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18108
18251
|
},
|
|
18109
|
-
__param$
|
|
18252
|
+
__param$K = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18110
18253
|
return function (target, key) {
|
|
18111
18254
|
decorator(target, key, paramIndex);
|
|
18112
18255
|
};
|
|
@@ -18144,7 +18287,7 @@
|
|
|
18144
18287
|
this.prepare(updateBounds), this.prepareRenderList(), this.beforeDraw(params), this.draw(params), this.afterDraw(params), this.drawParams = null;
|
|
18145
18288
|
}
|
|
18146
18289
|
};
|
|
18147
|
-
exports.DefaultRenderService = __decorate$
|
|
18290
|
+
exports.DefaultRenderService = __decorate$1r([injectable(), __param$K(0, inject(DrawContribution)), __metadata$15("design:paramtypes", [Object])], exports.DefaultRenderService);
|
|
18148
18291
|
|
|
18149
18292
|
var renderModule$1 = new ContainerModule(bind => {
|
|
18150
18293
|
bind(RenderService).to(exports.DefaultRenderService);
|
|
@@ -18157,7 +18300,7 @@
|
|
|
18157
18300
|
const PickItemInterceptor = Symbol.for("PickItemInterceptor");
|
|
18158
18301
|
const PickServiceInterceptor = Symbol.for("PickServiceInterceptor");
|
|
18159
18302
|
|
|
18160
|
-
var __decorate$
|
|
18303
|
+
var __decorate$1q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18161
18304
|
var d,
|
|
18162
18305
|
c = arguments.length,
|
|
18163
18306
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18179,7 +18322,7 @@
|
|
|
18179
18322
|
return result;
|
|
18180
18323
|
}
|
|
18181
18324
|
};
|
|
18182
|
-
exports.ShadowPickServiceInterceptorContribution = __decorate$
|
|
18325
|
+
exports.ShadowPickServiceInterceptorContribution = __decorate$1q([injectable()], exports.ShadowPickServiceInterceptorContribution);
|
|
18183
18326
|
exports.ShadowRootPickItemInterceptorContribution = class ShadowRootPickItemInterceptorContribution {
|
|
18184
18327
|
constructor() {
|
|
18185
18328
|
this.order = 1;
|
|
@@ -18210,7 +18353,7 @@
|
|
|
18210
18353
|
return context.highPerformanceRestore(), !result.graphic && result.group && "full" === shadowPickMode && (result.graphic = result.group), result;
|
|
18211
18354
|
}
|
|
18212
18355
|
};
|
|
18213
|
-
exports.ShadowRootPickItemInterceptorContribution = __decorate$
|
|
18356
|
+
exports.ShadowRootPickItemInterceptorContribution = __decorate$1q([injectable()], exports.ShadowRootPickItemInterceptorContribution);
|
|
18214
18357
|
exports.InteractivePickItemInterceptorContribution = class InteractivePickItemInterceptorContribution {
|
|
18215
18358
|
constructor() {
|
|
18216
18359
|
this.order = 1;
|
|
@@ -18229,7 +18372,7 @@
|
|
|
18229
18372
|
return null;
|
|
18230
18373
|
}
|
|
18231
18374
|
};
|
|
18232
|
-
exports.InteractivePickItemInterceptorContribution = __decorate$
|
|
18375
|
+
exports.InteractivePickItemInterceptorContribution = __decorate$1q([injectable()], exports.InteractivePickItemInterceptorContribution);
|
|
18233
18376
|
exports.Canvas3DPickItemInterceptor = class Canvas3DPickItemInterceptor {
|
|
18234
18377
|
constructor() {
|
|
18235
18378
|
this.order = 1;
|
|
@@ -18249,7 +18392,7 @@
|
|
|
18249
18392
|
context.setTransformForCurrent();
|
|
18250
18393
|
}
|
|
18251
18394
|
};
|
|
18252
|
-
exports.Canvas3DPickItemInterceptor = __decorate$
|
|
18395
|
+
exports.Canvas3DPickItemInterceptor = __decorate$1q([injectable()], exports.Canvas3DPickItemInterceptor);
|
|
18253
18396
|
|
|
18254
18397
|
var pickModule = new ContainerModule((bind, unbind, isBound) => {
|
|
18255
18398
|
isBound(PickerService) || (bind(GlobalPickerService).toSelf(), bind(PickerService).toService(GlobalPickerService)), bind(exports.Canvas3DPickItemInterceptor).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(exports.Canvas3DPickItemInterceptor), bind(exports.ShadowRootPickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(exports.ShadowRootPickItemInterceptorContribution), bind(exports.InteractivePickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(exports.InteractivePickItemInterceptorContribution), bindContributionProvider(bind, PickItemInterceptor), bind(exports.ShadowPickServiceInterceptorContribution).toSelf().inSingletonScope(), bind(PickServiceInterceptor).toService(exports.ShadowPickServiceInterceptorContribution), bindContributionProvider(bind, PickServiceInterceptor);
|
|
@@ -18262,17 +18405,17 @@
|
|
|
18262
18405
|
const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
|
|
18263
18406
|
const PluginService = Symbol.for("PluginService");
|
|
18264
18407
|
|
|
18265
|
-
var __decorate$
|
|
18408
|
+
var __decorate$1p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18266
18409
|
var d,
|
|
18267
18410
|
c = arguments.length,
|
|
18268
18411
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18269
18412
|
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);
|
|
18270
18413
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18271
18414
|
},
|
|
18272
|
-
__metadata$
|
|
18415
|
+
__metadata$14 = undefined && undefined.__metadata || function (k, v) {
|
|
18273
18416
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18274
18417
|
},
|
|
18275
|
-
__param$
|
|
18418
|
+
__param$J = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18276
18419
|
return function (target, key) {
|
|
18277
18420
|
decorator(target, key, paramIndex);
|
|
18278
18421
|
};
|
|
@@ -18312,7 +18455,7 @@
|
|
|
18312
18455
|
}), this.onRegisterPlugin = [];
|
|
18313
18456
|
}
|
|
18314
18457
|
};
|
|
18315
|
-
DefaultPluginService = __decorate$
|
|
18458
|
+
DefaultPluginService = __decorate$1p([injectable(), __param$J(0, inject(ContributionProvider)), __param$J(0, named(AutoEnablePlugins)), __metadata$14("design:paramtypes", [Object])], DefaultPluginService);
|
|
18316
18459
|
|
|
18317
18460
|
var pluginModule = new ContainerModule(bind => {
|
|
18318
18461
|
bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
|
|
@@ -18326,14 +18469,14 @@
|
|
|
18326
18469
|
bind(TextMeasureContribution).to(exports.DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
|
|
18327
18470
|
});
|
|
18328
18471
|
|
|
18329
|
-
var __decorate$
|
|
18472
|
+
var __decorate$1o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18330
18473
|
var d,
|
|
18331
18474
|
c = arguments.length,
|
|
18332
18475
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18333
18476
|
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);
|
|
18334
18477
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18335
18478
|
},
|
|
18336
|
-
__metadata$
|
|
18479
|
+
__metadata$13 = undefined && undefined.__metadata || function (k, v) {
|
|
18337
18480
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18338
18481
|
};
|
|
18339
18482
|
let CanvasLayerHandlerContribution = class {
|
|
@@ -18403,7 +18546,7 @@
|
|
|
18403
18546
|
this.canvas.release();
|
|
18404
18547
|
}
|
|
18405
18548
|
};
|
|
18406
|
-
CanvasLayerHandlerContribution = __decorate$
|
|
18549
|
+
CanvasLayerHandlerContribution = __decorate$1o([injectable(), __metadata$13("design:paramtypes", [])], CanvasLayerHandlerContribution);
|
|
18407
18550
|
|
|
18408
18551
|
var layerHandlerModules = new ContainerModule(bind => {
|
|
18409
18552
|
bind(CanvasLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution);
|
|
@@ -18522,17 +18665,17 @@
|
|
|
18522
18665
|
return result;
|
|
18523
18666
|
}
|
|
18524
18667
|
|
|
18525
|
-
var __decorate$
|
|
18668
|
+
var __decorate$1n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18526
18669
|
var d,
|
|
18527
18670
|
c = arguments.length,
|
|
18528
18671
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18529
18672
|
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);
|
|
18530
18673
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18531
18674
|
},
|
|
18532
|
-
__metadata$
|
|
18675
|
+
__metadata$12 = undefined && undefined.__metadata || function (k, v) {
|
|
18533
18676
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18534
18677
|
},
|
|
18535
|
-
__param$
|
|
18678
|
+
__param$I = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18536
18679
|
return function (target, key) {
|
|
18537
18680
|
decorator(target, key, paramIndex);
|
|
18538
18681
|
};
|
|
@@ -18731,9 +18874,9 @@
|
|
|
18731
18874
|
}
|
|
18732
18875
|
afterDraw(renderService, drawParams) {}
|
|
18733
18876
|
};
|
|
18734
|
-
DefaultDrawContribution = __decorate$
|
|
18877
|
+
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);
|
|
18735
18878
|
|
|
18736
|
-
var __decorate$
|
|
18879
|
+
var __decorate$1m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18737
18880
|
var d,
|
|
18738
18881
|
c = arguments.length,
|
|
18739
18882
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18784,9 +18927,9 @@
|
|
|
18784
18927
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(line, attribute, defaultAttribute), context.setStrokeStyle(line, attribute, offsetX, offsetY, defaultAttribute), context.stroke());
|
|
18785
18928
|
}
|
|
18786
18929
|
};
|
|
18787
|
-
DefaultIncrementalCanvasLineRender = __decorate$
|
|
18930
|
+
DefaultIncrementalCanvasLineRender = __decorate$1m([injectable()], DefaultIncrementalCanvasLineRender);
|
|
18788
18931
|
|
|
18789
|
-
var __decorate$
|
|
18932
|
+
var __decorate$1l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18790
18933
|
var d,
|
|
18791
18934
|
c = arguments.length,
|
|
18792
18935
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18829,20 +18972,20 @@
|
|
|
18829
18972
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
|
|
18830
18973
|
}
|
|
18831
18974
|
};
|
|
18832
|
-
DefaultIncrementalCanvasAreaRender = __decorate$
|
|
18975
|
+
DefaultIncrementalCanvasAreaRender = __decorate$1l([injectable()], DefaultIncrementalCanvasAreaRender);
|
|
18833
18976
|
|
|
18834
18977
|
var STATUS,
|
|
18835
|
-
__decorate$
|
|
18978
|
+
__decorate$1k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18836
18979
|
var d,
|
|
18837
18980
|
c = arguments.length,
|
|
18838
18981
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18839
18982
|
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);
|
|
18840
18983
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18841
18984
|
},
|
|
18842
|
-
__metadata
|
|
18985
|
+
__metadata$11 = undefined && undefined.__metadata || function (k, v) {
|
|
18843
18986
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18844
18987
|
},
|
|
18845
|
-
__param$
|
|
18988
|
+
__param$H = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18846
18989
|
return function (target, key) {
|
|
18847
18990
|
decorator(target, key, paramIndex);
|
|
18848
18991
|
};
|
|
@@ -18972,7 +19115,7 @@
|
|
|
18972
19115
|
});
|
|
18973
19116
|
}
|
|
18974
19117
|
};
|
|
18975
|
-
DefaultIncrementalDrawContribution = __decorate$
|
|
19118
|
+
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);
|
|
18976
19119
|
|
|
18977
19120
|
var renderModule = new ContainerModule(bind => {
|
|
18978
19121
|
bind(DefaultBaseBackgroundRenderContribution).toSelf().inSingletonScope(), bind(DefaultBaseTextureRenderContribution).toSelf().inSingletonScope(), bind(DrawContribution).to(DefaultDrawContribution), bind(IncrementalDrawContribution).to(DefaultIncrementalDrawContribution), bind(GroupRender).to(exports.DefaultCanvasGroupRender).inSingletonScope(), bind(GraphicRender).toService(GroupRender), bindContributionProvider(bind, GroupRenderContribution), bind(exports.DefaultBaseInteractiveRenderContribution).toSelf().inSingletonScope(), bindContributionProvider(bind, InteractiveSubRenderContribution), bindContributionProvider(bind, GraphicRender), bind(exports.CommonDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(exports.CommonDrawItemInterceptorContribution), bindContributionProvider(bind, DrawItemInterceptor);
|
|
@@ -19674,14 +19817,14 @@
|
|
|
19674
19817
|
return new Stage(params);
|
|
19675
19818
|
}
|
|
19676
19819
|
|
|
19677
|
-
var __decorate$
|
|
19820
|
+
var __decorate$1j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19678
19821
|
var d,
|
|
19679
19822
|
c = arguments.length,
|
|
19680
19823
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
19681
19824
|
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);
|
|
19682
19825
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19683
19826
|
},
|
|
19684
|
-
__metadata$
|
|
19827
|
+
__metadata$10 = undefined && undefined.__metadata || function (k, v) {
|
|
19685
19828
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
19686
19829
|
};
|
|
19687
19830
|
const initMatrix = new Matrix(1, 0, 0, 1, 0, 0),
|
|
@@ -19891,7 +20034,7 @@
|
|
|
19891
20034
|
this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
|
|
19892
20035
|
}
|
|
19893
20036
|
};
|
|
19894
|
-
exports.EmptyContext2d = __decorate$
|
|
20037
|
+
exports.EmptyContext2d = __decorate$1j([injectable(), __metadata$10("design:paramtypes", [Object, Number])], exports.EmptyContext2d);
|
|
19895
20038
|
|
|
19896
20039
|
const DefaultConfig = {
|
|
19897
20040
|
WIDTH: 500,
|
|
@@ -19993,7 +20136,7 @@
|
|
|
19993
20136
|
}
|
|
19994
20137
|
BaseCanvas.env = "browser";
|
|
19995
20138
|
|
|
19996
|
-
var __decorate$
|
|
20139
|
+
var __decorate$1i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19997
20140
|
var d,
|
|
19998
20141
|
c = arguments.length,
|
|
19999
20142
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -20107,16 +20250,16 @@
|
|
|
20107
20250
|
return Promise.resolve(null);
|
|
20108
20251
|
}
|
|
20109
20252
|
};
|
|
20110
|
-
exports.BaseEnvContribution = __decorate$
|
|
20253
|
+
exports.BaseEnvContribution = __decorate$1i([injectable()], exports.BaseEnvContribution);
|
|
20111
20254
|
|
|
20112
|
-
var __decorate$
|
|
20255
|
+
var __decorate$1h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20113
20256
|
var d,
|
|
20114
20257
|
c = arguments.length,
|
|
20115
20258
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20116
20259
|
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);
|
|
20117
20260
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20118
20261
|
},
|
|
20119
|
-
__metadata
|
|
20262
|
+
__metadata$$ = undefined && undefined.__metadata || function (k, v) {
|
|
20120
20263
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20121
20264
|
};
|
|
20122
20265
|
exports.BaseWindowHandlerContribution = class BaseWindowHandlerContribution {
|
|
@@ -20155,7 +20298,7 @@
|
|
|
20155
20298
|
return this.modelMatrix;
|
|
20156
20299
|
}
|
|
20157
20300
|
};
|
|
20158
|
-
exports.BaseWindowHandlerContribution = __decorate$
|
|
20301
|
+
exports.BaseWindowHandlerContribution = __decorate$1h([injectable(), __metadata$$("design:paramtypes", [])], exports.BaseWindowHandlerContribution);
|
|
20159
20302
|
|
|
20160
20303
|
class DirectionalLight {
|
|
20161
20304
|
constructor(dir, color) {
|
|
@@ -20246,17 +20389,17 @@
|
|
|
20246
20389
|
Factory.registerPlugin("OrthoCamera", OrthoCamera);
|
|
20247
20390
|
};
|
|
20248
20391
|
|
|
20249
|
-
var __decorate$
|
|
20392
|
+
var __decorate$1g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20250
20393
|
var d,
|
|
20251
20394
|
c = arguments.length,
|
|
20252
20395
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20253
20396
|
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);
|
|
20254
20397
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20255
20398
|
},
|
|
20256
|
-
__metadata$
|
|
20399
|
+
__metadata$_ = undefined && undefined.__metadata || function (k, v) {
|
|
20257
20400
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20258
20401
|
},
|
|
20259
|
-
__param$
|
|
20402
|
+
__param$G = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20260
20403
|
return function (target, key) {
|
|
20261
20404
|
decorator(target, key, paramIndex);
|
|
20262
20405
|
};
|
|
@@ -20361,16 +20504,16 @@
|
|
|
20361
20504
|
return picker || null;
|
|
20362
20505
|
}
|
|
20363
20506
|
};
|
|
20364
|
-
exports.DefaultPickService = __decorate$
|
|
20507
|
+
exports.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])], exports.DefaultPickService);
|
|
20365
20508
|
|
|
20366
|
-
var __decorate$
|
|
20509
|
+
var __decorate$1f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20367
20510
|
var d,
|
|
20368
20511
|
c = arguments.length,
|
|
20369
20512
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20370
20513
|
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);
|
|
20371
20514
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20372
20515
|
},
|
|
20373
|
-
__metadata$
|
|
20516
|
+
__metadata$Z = undefined && undefined.__metadata || function (k, v) {
|
|
20374
20517
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20375
20518
|
};
|
|
20376
20519
|
exports.DefaultGlobalPickerService = class DefaultGlobalPickerService {
|
|
@@ -20435,7 +20578,7 @@
|
|
|
20435
20578
|
} : null;
|
|
20436
20579
|
}
|
|
20437
20580
|
};
|
|
20438
|
-
exports.DefaultGlobalPickerService = __decorate$
|
|
20581
|
+
exports.DefaultGlobalPickerService = __decorate$1f([injectable(), __metadata$Z("design:paramtypes", [])], exports.DefaultGlobalPickerService);
|
|
20439
20582
|
|
|
20440
20583
|
function simplifyRadialDist(points, sqTolerance) {
|
|
20441
20584
|
let deltaX,
|
|
@@ -20483,10 +20626,11 @@
|
|
|
20483
20626
|
};
|
|
20484
20627
|
}
|
|
20485
20628
|
function findConfigIndexByCursorIdx(textConfig, cursorIndex) {
|
|
20629
|
+
var _a;
|
|
20486
20630
|
if (cursorIndex < 0) return 0;
|
|
20487
20631
|
const intCursorIndex = Math.round(cursorIndex);
|
|
20488
20632
|
let tempCursorIndex = intCursorIndex,
|
|
20489
|
-
lineBreak =
|
|
20633
|
+
lineBreak = "\n" === (null === (_a = null == textConfig ? void 0 : textConfig[0]) || void 0 === _a ? void 0 : _a.text),
|
|
20490
20634
|
configIdx = 0;
|
|
20491
20635
|
for (configIdx = 0; configIdx < textConfig.length && tempCursorIndex >= 0; configIdx++) {
|
|
20492
20636
|
"\n" === textConfig[configIdx].text ? (tempCursorIndex -= Number(lineBreak), lineBreak = !0) : (tempCursorIndex--, lineBreak = !1);
|
|
@@ -20494,26 +20638,27 @@
|
|
|
20494
20638
|
return tempCursorIndex >= 0 ? textConfig.length : (configIdx -= 1, cursorIndex > intCursorIndex && !lineBreak && (configIdx += 1), configIdx);
|
|
20495
20639
|
}
|
|
20496
20640
|
function findCursorIdxByConfigIndex(textConfig, configIndex) {
|
|
20497
|
-
var _a, _b, _c;
|
|
20641
|
+
var _a, _b, _c, _d;
|
|
20498
20642
|
let cursorIndex = 0;
|
|
20499
20643
|
if (configIndex < 0) return -.1;
|
|
20500
|
-
let lastLineBreak =
|
|
20644
|
+
let lastLineBreak = "\n" === (null === (_a = null == textConfig ? void 0 : textConfig[0]) || void 0 === _a ? void 0 : _a.text);
|
|
20501
20645
|
for (let i = 0; i <= configIndex && i < textConfig.length; i++) {
|
|
20502
20646
|
"\n" === textConfig[i].text ? (cursorIndex += Number(lastLineBreak), lastLineBreak = !0) : (cursorIndex++, lastLineBreak = !1);
|
|
20503
20647
|
}
|
|
20504
|
-
if (cursorIndex = Math.max(cursorIndex - 1, 0), configIndex > textConfig.length - 1) return "\n" === (null === (
|
|
20505
|
-
const lineBreak = "\n" === (null === (
|
|
20648
|
+
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;
|
|
20649
|
+
const lineBreak = "\n" === (null === (_c = textConfig[configIndex]) || void 0 === _c ? void 0 : _c.text);
|
|
20506
20650
|
if (configIndex >= textConfig.length - 1 && lineBreak) return cursorIndex + 1 - .1;
|
|
20507
|
-
return cursorIndex -= .1, lineBreak && "\n" !== (null === (
|
|
20651
|
+
return cursorIndex -= .1, lineBreak && "\n" !== (null === (_d = textConfig[configIndex - 1]) || void 0 === _d ? void 0 : _d.text) && (cursorIndex += .2), cursorIndex;
|
|
20508
20652
|
}
|
|
20509
20653
|
class EditModule {
|
|
20510
20654
|
constructor(container) {
|
|
20511
20655
|
this.handleFocusIn = () => {}, this.handleFocusOut = () => {}, this.handleKeyDown = e => {
|
|
20512
|
-
"Delete" !== e.key && "Backspace" !== e.key || this.handleInput({
|
|
20656
|
+
this.currRt && ("Delete" !== e.key && "Backspace" !== e.key || this.handleInput({
|
|
20513
20657
|
data: null,
|
|
20514
20658
|
type: "Backspace"
|
|
20515
|
-
});
|
|
20659
|
+
}));
|
|
20516
20660
|
}, this.handleCompositionStart = () => {
|
|
20661
|
+
if (!this.currRt) return;
|
|
20517
20662
|
this.isComposing = !0;
|
|
20518
20663
|
const {
|
|
20519
20664
|
textConfig = []
|
|
@@ -20596,6 +20741,7 @@
|
|
|
20596
20741
|
}
|
|
20597
20742
|
parseCompositionStr(configIdx) {
|
|
20598
20743
|
var _a;
|
|
20744
|
+
if (!this.currRt) return "";
|
|
20599
20745
|
const {
|
|
20600
20746
|
textConfig = []
|
|
20601
20747
|
} = this.currRt.attribute,
|
|
@@ -21086,7 +21232,7 @@
|
|
|
21086
21232
|
const {
|
|
21087
21233
|
editOptions = {}
|
|
21088
21234
|
} = currRt.attribute;
|
|
21089
|
-
editOptions.stopPropagation && currRt.removeEventListener("*", this.stopPropagation), trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), currRt.detachShadow()), this.currRt = null;
|
|
21235
|
+
editOptions.stopPropagation && currRt.removeEventListener("*", this.stopPropagation), trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), currRt.detachShadow()), this.currRt = null, this.editModule.currRt = null;
|
|
21090
21236
|
const shadowRoot = this.getShadow(currRt);
|
|
21091
21237
|
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);
|
|
21092
21238
|
}
|
|
@@ -21590,7 +21736,65 @@
|
|
|
21590
21736
|
loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(exports.DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(exports.DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
|
|
21591
21737
|
});
|
|
21592
21738
|
|
|
21593
|
-
var __decorate$
|
|
21739
|
+
var __decorate$1e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21740
|
+
var d,
|
|
21741
|
+
c = arguments.length,
|
|
21742
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21743
|
+
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);
|
|
21744
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21745
|
+
},
|
|
21746
|
+
__metadata$Y = undefined && undefined.__metadata || function (k, v) {
|
|
21747
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21748
|
+
},
|
|
21749
|
+
__param$F = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
21750
|
+
return function (target, key) {
|
|
21751
|
+
decorator(target, key, paramIndex);
|
|
21752
|
+
};
|
|
21753
|
+
};
|
|
21754
|
+
let DefaultCanvasStarRender = class extends BaseRender {
|
|
21755
|
+
constructor(starRenderContribitions) {
|
|
21756
|
+
super(), this.starRenderContribitions = starRenderContribitions, this.numberType = STAR_NUMBER_TYPE, this.builtinContributions = [defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution], this.init(starRenderContribitions);
|
|
21757
|
+
}
|
|
21758
|
+
drawShape(star, context, x, y, drawContext, params, fillCb, strokeCb) {
|
|
21759
|
+
const starAttribute = getTheme(star, null == params ? void 0 : params.theme).star,
|
|
21760
|
+
{
|
|
21761
|
+
x: originX = starAttribute.x,
|
|
21762
|
+
y: originY = starAttribute.y,
|
|
21763
|
+
fillStrokeOrder = starAttribute.fillStrokeOrder
|
|
21764
|
+
} = star.attribute,
|
|
21765
|
+
data = this.valid(star, starAttribute, fillCb, strokeCb);
|
|
21766
|
+
if (!data) return;
|
|
21767
|
+
const {
|
|
21768
|
+
fVisible: fVisible,
|
|
21769
|
+
sVisible: sVisible,
|
|
21770
|
+
doFill: doFill,
|
|
21771
|
+
doStroke: doStroke
|
|
21772
|
+
} = data,
|
|
21773
|
+
points = star.getCachedPoints();
|
|
21774
|
+
context.beginPath(), points && points.length && points.forEach((point, index) => {
|
|
21775
|
+
0 === index ? context.moveTo(x + point.x, y + point.y) : context.lineTo(x + point.x, y + point.y);
|
|
21776
|
+
}), context.closePath(), context.setShadowBlendStyle && context.setShadowBlendStyle(star, star.attribute, starAttribute), this.beforeRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
|
|
21777
|
+
const _runFill = () => {
|
|
21778
|
+
doFill && (fillCb ? fillCb(context, star.attribute, starAttribute) : fVisible && (context.setCommonStyle(star, star.attribute, originX - x, originY - y, starAttribute), context.fill()));
|
|
21779
|
+
},
|
|
21780
|
+
_runStroke = () => {
|
|
21781
|
+
doStroke && (strokeCb ? strokeCb(context, star.attribute, starAttribute) : sVisible && (context.setStrokeStyle(star, star.attribute, originX - x, originY - y, starAttribute), context.stroke()));
|
|
21782
|
+
};
|
|
21783
|
+
fillStrokeOrder ? (_runStroke(), _runFill()) : (_runFill(), _runStroke()), this.afterRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
|
|
21784
|
+
}
|
|
21785
|
+
draw(star, renderService, drawContext, params) {
|
|
21786
|
+
const starAttribute = getTheme(star, null == params ? void 0 : params.theme).star;
|
|
21787
|
+
this._draw(star, starAttribute, !1, drawContext, params);
|
|
21788
|
+
}
|
|
21789
|
+
};
|
|
21790
|
+
DefaultCanvasStarRender = __decorate$1e([injectable(), __param$F(0, inject(ContributionProvider)), __param$F(0, named(StarRenderContribution)), __metadata$Y("design:paramtypes", [Object])], DefaultCanvasStarRender);
|
|
21791
|
+
|
|
21792
|
+
let loadStarModule = !1;
|
|
21793
|
+
const starModule = new ContainerModule(bind => {
|
|
21794
|
+
loadStarModule || (loadStarModule = !0, bind(StarRender).to(DefaultCanvasStarRender).inSingletonScope(), bind(GraphicRender).toService(StarRender));
|
|
21795
|
+
});
|
|
21796
|
+
|
|
21797
|
+
var __decorate$1d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21594
21798
|
var d,
|
|
21595
21799
|
c = arguments.length,
|
|
21596
21800
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21622,21 +21826,21 @@
|
|
|
21622
21826
|
}), context.highPerformanceRestore();
|
|
21623
21827
|
}
|
|
21624
21828
|
};
|
|
21625
|
-
DefaultCanvasGlyphRender = __decorate$
|
|
21829
|
+
DefaultCanvasGlyphRender = __decorate$1d([injectable()], DefaultCanvasGlyphRender);
|
|
21626
21830
|
|
|
21627
21831
|
let loadGlyphModule = !1;
|
|
21628
21832
|
const glyphModule = new ContainerModule(bind => {
|
|
21629
21833
|
loadGlyphModule || (loadGlyphModule = !0, bind(GlyphRender).to(DefaultCanvasGlyphRender).inSingletonScope(), bind(GraphicRender).toService(GlyphRender));
|
|
21630
21834
|
});
|
|
21631
21835
|
|
|
21632
|
-
var __decorate$
|
|
21836
|
+
var __decorate$1c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21633
21837
|
var d,
|
|
21634
21838
|
c = arguments.length,
|
|
21635
21839
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21636
21840
|
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);
|
|
21637
21841
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21638
21842
|
},
|
|
21639
|
-
__metadata$
|
|
21843
|
+
__metadata$X = undefined && undefined.__metadata || function (k, v) {
|
|
21640
21844
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21641
21845
|
};
|
|
21642
21846
|
let DefaultCanvasRichTextRender = class extends BaseRender {
|
|
@@ -21690,7 +21894,7 @@
|
|
|
21690
21894
|
this._draw(richtext, richtextAttribute, !1, drawContext);
|
|
21691
21895
|
}
|
|
21692
21896
|
};
|
|
21693
|
-
DefaultCanvasRichTextRender = __decorate$
|
|
21897
|
+
DefaultCanvasRichTextRender = __decorate$1c([injectable(), __metadata$X("design:paramtypes", [])], DefaultCanvasRichTextRender);
|
|
21694
21898
|
|
|
21695
21899
|
let loadRichtextModule = !1;
|
|
21696
21900
|
const richtextModule = new ContainerModule(bind => {
|
|
@@ -21774,7 +21978,7 @@
|
|
|
21774
21978
|
}
|
|
21775
21979
|
}
|
|
21776
21980
|
|
|
21777
|
-
var __decorate$
|
|
21981
|
+
var __decorate$1b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21778
21982
|
var d,
|
|
21779
21983
|
c = arguments.length,
|
|
21780
21984
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21830,14 +22034,14 @@
|
|
|
21830
22034
|
this._draw(rect, rectAttribute, !1, drawContext);
|
|
21831
22035
|
}
|
|
21832
22036
|
};
|
|
21833
|
-
DefaultCanvasRect3dRender = __decorate$
|
|
22037
|
+
DefaultCanvasRect3dRender = __decorate$1b([injectable()], DefaultCanvasRect3dRender);
|
|
21834
22038
|
|
|
21835
22039
|
let loadRect3dModule = !1;
|
|
21836
22040
|
const rect3dModule = new ContainerModule(bind => {
|
|
21837
22041
|
loadRect3dModule || (loadRect3dModule = !0, bind(Rect3DRender).to(DefaultCanvasRect3dRender).inSingletonScope(), bind(GraphicRender).toService(Rect3DRender));
|
|
21838
22042
|
});
|
|
21839
22043
|
|
|
21840
|
-
var __decorate$
|
|
22044
|
+
var __decorate$1a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21841
22045
|
var d,
|
|
21842
22046
|
c = arguments.length,
|
|
21843
22047
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21964,14 +22168,14 @@
|
|
|
21964
22168
|
this._draw(arc, arcAttribute, !1, drawContext, params);
|
|
21965
22169
|
}
|
|
21966
22170
|
};
|
|
21967
|
-
DefaultCanvasArc3DRender = __decorate$
|
|
22171
|
+
DefaultCanvasArc3DRender = __decorate$1a([injectable()], DefaultCanvasArc3DRender);
|
|
21968
22172
|
|
|
21969
22173
|
let loadArc3dModule = !1;
|
|
21970
22174
|
const arc3dModule = new ContainerModule(bind => {
|
|
21971
22175
|
loadArc3dModule || (loadArc3dModule = !0, bind(Arc3dRender).to(DefaultCanvasArc3DRender).inSingletonScope(), bind(GraphicRender).toService(Arc3dRender));
|
|
21972
22176
|
});
|
|
21973
22177
|
|
|
21974
|
-
var __decorate$
|
|
22178
|
+
var __decorate$19 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21975
22179
|
var d,
|
|
21976
22180
|
c = arguments.length,
|
|
21977
22181
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -22008,7 +22212,7 @@
|
|
|
22008
22212
|
this._draw(pyramid3d, pyramid3dAttribute, !1, drawContext);
|
|
22009
22213
|
}
|
|
22010
22214
|
};
|
|
22011
|
-
DefaultCanvasPyramid3dRender = __decorate$
|
|
22215
|
+
DefaultCanvasPyramid3dRender = __decorate$19([injectable()], DefaultCanvasPyramid3dRender);
|
|
22012
22216
|
|
|
22013
22217
|
let loadPyramid3dModule = !1;
|
|
22014
22218
|
const pyramid3dModule = new ContainerModule(bind => {
|
|
@@ -22055,6 +22259,10 @@
|
|
|
22055
22259
|
graphicCreator.RegisterGraphicCreator("polygon", createPolygon);
|
|
22056
22260
|
}
|
|
22057
22261
|
|
|
22262
|
+
function registerStarGraphic() {
|
|
22263
|
+
graphicCreator.RegisterGraphicCreator("star", createStar);
|
|
22264
|
+
}
|
|
22265
|
+
|
|
22058
22266
|
function registerPyramid3dGraphic() {
|
|
22059
22267
|
graphicCreator.RegisterGraphicCreator("pyramid3d", createPyramid3d);
|
|
22060
22268
|
}
|
|
@@ -24131,17 +24339,17 @@
|
|
|
24131
24339
|
}
|
|
24132
24340
|
}
|
|
24133
24341
|
|
|
24134
|
-
var __decorate$
|
|
24342
|
+
var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24135
24343
|
var d,
|
|
24136
24344
|
c = arguments.length,
|
|
24137
24345
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24138
24346
|
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);
|
|
24139
24347
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24140
24348
|
},
|
|
24141
|
-
__metadata$
|
|
24349
|
+
__metadata$W = undefined && undefined.__metadata || function (k, v) {
|
|
24142
24350
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24143
24351
|
},
|
|
24144
|
-
__param$
|
|
24352
|
+
__param$E = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24145
24353
|
return function (target, key) {
|
|
24146
24354
|
decorator(target, key, paramIndex);
|
|
24147
24355
|
};
|
|
@@ -24227,9 +24435,9 @@
|
|
|
24227
24435
|
}), context.highPerformanceRestore();
|
|
24228
24436
|
}
|
|
24229
24437
|
};
|
|
24230
|
-
RoughCanvasArcRender = __decorate$
|
|
24438
|
+
RoughCanvasArcRender = __decorate$18([injectable(), __param$E(0, inject(exports.DefaultCanvasArcRender)), __metadata$W("design:paramtypes", [Object])], RoughCanvasArcRender);
|
|
24231
24439
|
|
|
24232
|
-
var __decorate$
|
|
24440
|
+
var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24233
24441
|
var d,
|
|
24234
24442
|
c = arguments.length,
|
|
24235
24443
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -24307,19 +24515,19 @@
|
|
|
24307
24515
|
}), context.highPerformanceRestore(), !1;
|
|
24308
24516
|
}
|
|
24309
24517
|
};
|
|
24310
|
-
RoughCanvasAreaRender = __decorate$
|
|
24518
|
+
RoughCanvasAreaRender = __decorate$17([injectable()], RoughCanvasAreaRender);
|
|
24311
24519
|
|
|
24312
|
-
var __decorate$
|
|
24520
|
+
var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24313
24521
|
var d,
|
|
24314
24522
|
c = arguments.length,
|
|
24315
24523
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24316
24524
|
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);
|
|
24317
24525
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24318
24526
|
},
|
|
24319
|
-
__metadata$
|
|
24527
|
+
__metadata$V = undefined && undefined.__metadata || function (k, v) {
|
|
24320
24528
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24321
24529
|
},
|
|
24322
|
-
__param$
|
|
24530
|
+
__param$D = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24323
24531
|
return function (target, key) {
|
|
24324
24532
|
decorator(target, key, paramIndex);
|
|
24325
24533
|
};
|
|
@@ -24356,9 +24564,9 @@
|
|
|
24356
24564
|
});
|
|
24357
24565
|
}
|
|
24358
24566
|
};
|
|
24359
|
-
RoughCanvasCircleRender = __decorate$
|
|
24567
|
+
RoughCanvasCircleRender = __decorate$16([injectable(), __param$D(0, inject(exports.DefaultCanvasCircleRender)), __metadata$V("design:paramtypes", [Object])], RoughCanvasCircleRender);
|
|
24360
24568
|
|
|
24361
|
-
var __decorate$
|
|
24569
|
+
var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24362
24570
|
var d,
|
|
24363
24571
|
c = arguments.length,
|
|
24364
24572
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -24437,19 +24645,19 @@
|
|
|
24437
24645
|
}), context.highPerformanceRestore(), !1;
|
|
24438
24646
|
}
|
|
24439
24647
|
};
|
|
24440
|
-
RoughCanvasLineRender = __decorate$
|
|
24648
|
+
RoughCanvasLineRender = __decorate$15([injectable()], RoughCanvasLineRender);
|
|
24441
24649
|
|
|
24442
|
-
var __decorate$
|
|
24650
|
+
var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24443
24651
|
var d,
|
|
24444
24652
|
c = arguments.length,
|
|
24445
24653
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24446
24654
|
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);
|
|
24447
24655
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24448
24656
|
},
|
|
24449
|
-
__metadata$
|
|
24657
|
+
__metadata$U = undefined && undefined.__metadata || function (k, v) {
|
|
24450
24658
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24451
24659
|
},
|
|
24452
|
-
__param$
|
|
24660
|
+
__param$C = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24453
24661
|
return function (target, key) {
|
|
24454
24662
|
decorator(target, key, paramIndex);
|
|
24455
24663
|
};
|
|
@@ -24523,19 +24731,19 @@
|
|
|
24523
24731
|
}), context.highPerformanceRestore();
|
|
24524
24732
|
}
|
|
24525
24733
|
};
|
|
24526
|
-
RoughCanvasPathRender = __decorate$
|
|
24734
|
+
RoughCanvasPathRender = __decorate$14([injectable(), __param$C(0, inject(exports.DefaultCanvasPathRender)), __metadata$U("design:paramtypes", [Object])], RoughCanvasPathRender);
|
|
24527
24735
|
|
|
24528
|
-
var __decorate$
|
|
24736
|
+
var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24529
24737
|
var d,
|
|
24530
24738
|
c = arguments.length,
|
|
24531
24739
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24532
24740
|
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);
|
|
24533
24741
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24534
24742
|
},
|
|
24535
|
-
__metadata$
|
|
24743
|
+
__metadata$T = undefined && undefined.__metadata || function (k, v) {
|
|
24536
24744
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24537
24745
|
},
|
|
24538
|
-
__param$
|
|
24746
|
+
__param$B = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24539
24747
|
return function (target, key) {
|
|
24540
24748
|
decorator(target, key, paramIndex);
|
|
24541
24749
|
};
|
|
@@ -24626,19 +24834,19 @@
|
|
|
24626
24834
|
}), context.highPerformanceRestore();
|
|
24627
24835
|
}
|
|
24628
24836
|
};
|
|
24629
|
-
RoughCanvasRectRender = __decorate$
|
|
24837
|
+
RoughCanvasRectRender = __decorate$13([injectable(), __param$B(0, inject(exports.DefaultCanvasRectRender)), __metadata$T("design:paramtypes", [Object])], RoughCanvasRectRender);
|
|
24630
24838
|
|
|
24631
|
-
var __decorate$
|
|
24839
|
+
var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24632
24840
|
var d,
|
|
24633
24841
|
c = arguments.length,
|
|
24634
24842
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24635
24843
|
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);
|
|
24636
24844
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24637
24845
|
},
|
|
24638
|
-
__metadata$
|
|
24846
|
+
__metadata$S = undefined && undefined.__metadata || function (k, v) {
|
|
24639
24847
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24640
24848
|
},
|
|
24641
|
-
__param$
|
|
24849
|
+
__param$A = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
24642
24850
|
return function (target, key) {
|
|
24643
24851
|
decorator(target, key, paramIndex);
|
|
24644
24852
|
};
|
|
@@ -24730,7 +24938,7 @@
|
|
|
24730
24938
|
if (this.canvasRenderer.drawShape) return this.canvasRenderer.drawShape(graphic, ctx, x, y, drawContext, params, fillCb, strokeCb);
|
|
24731
24939
|
}
|
|
24732
24940
|
};
|
|
24733
|
-
RoughCanvasSymbolRender = __decorate$
|
|
24941
|
+
RoughCanvasSymbolRender = __decorate$12([injectable(), __param$A(0, inject(exports.DefaultCanvasSymbolRender)), __metadata$S("design:paramtypes", [Object])], RoughCanvasSymbolRender);
|
|
24734
24942
|
|
|
24735
24943
|
var _roughModule = new ContainerModule(bind => {
|
|
24736
24944
|
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);
|
|
@@ -24766,6 +24974,7 @@
|
|
|
24766
24974
|
const CanvasRichTextPicker = Symbol.for("CanvasRichTextPicker");
|
|
24767
24975
|
const CanvasGlyphPicker = Symbol.for("CanvasGlyphPicker");
|
|
24768
24976
|
const CanvasGroupPicker = Symbol.for("CanvasGroupPicker");
|
|
24977
|
+
const CanvasStarPicker = Symbol.for("CanvasStarPicker");
|
|
24769
24978
|
const CanvasPickerContribution = Symbol.for("CanvasPickerContribution");
|
|
24770
24979
|
|
|
24771
24980
|
const REACT_TO_CANOPUS_EVENTS = {
|
|
@@ -25243,14 +25452,14 @@
|
|
|
25243
25452
|
}
|
|
25244
25453
|
}
|
|
25245
25454
|
|
|
25246
|
-
var __decorate$
|
|
25455
|
+
var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25247
25456
|
var d,
|
|
25248
25457
|
c = arguments.length,
|
|
25249
25458
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25250
25459
|
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);
|
|
25251
25460
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25252
25461
|
},
|
|
25253
|
-
__metadata$
|
|
25462
|
+
__metadata$R = undefined && undefined.__metadata || function (k, v) {
|
|
25254
25463
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25255
25464
|
};
|
|
25256
25465
|
const outP = [0, 0, 0],
|
|
@@ -25762,16 +25971,16 @@
|
|
|
25762
25971
|
this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
|
|
25763
25972
|
}
|
|
25764
25973
|
};
|
|
25765
|
-
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$
|
|
25974
|
+
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$11([injectable(), __metadata$R("design:paramtypes", [Object, Number])], BrowserContext2d);
|
|
25766
25975
|
|
|
25767
|
-
var __decorate
|
|
25976
|
+
var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25768
25977
|
var d,
|
|
25769
25978
|
c = arguments.length,
|
|
25770
25979
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25771
25980
|
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);
|
|
25772
25981
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25773
25982
|
},
|
|
25774
|
-
__metadata$
|
|
25983
|
+
__metadata$Q = undefined && undefined.__metadata || function (k, v) {
|
|
25775
25984
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25776
25985
|
};
|
|
25777
25986
|
let BrowserCanvas = class extends BaseCanvas {
|
|
@@ -25833,7 +26042,7 @@
|
|
|
25833
26042
|
this._context.dpr = this._dpr;
|
|
25834
26043
|
}
|
|
25835
26044
|
};
|
|
25836
|
-
BrowserCanvas.env = "browser", BrowserCanvas = __decorate
|
|
26045
|
+
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$10([injectable(), __metadata$Q("design:paramtypes", [Object])], BrowserCanvas);
|
|
25837
26046
|
|
|
25838
26047
|
function createModule(CanvasConstructor, ContextConstructor) {
|
|
25839
26048
|
return new ContainerModule(bind => {
|
|
@@ -25843,17 +26052,17 @@
|
|
|
25843
26052
|
|
|
25844
26053
|
const browserCanvasModule = createModule(BrowserCanvas, BrowserContext2d);
|
|
25845
26054
|
|
|
25846
|
-
var __decorate
|
|
26055
|
+
var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25847
26056
|
var d,
|
|
25848
26057
|
c = arguments.length,
|
|
25849
26058
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25850
26059
|
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);
|
|
25851
26060
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25852
26061
|
},
|
|
25853
|
-
__metadata$
|
|
26062
|
+
__metadata$P = undefined && undefined.__metadata || function (k, v) {
|
|
25854
26063
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25855
26064
|
},
|
|
25856
|
-
__param$
|
|
26065
|
+
__param$z = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
25857
26066
|
return function (target, key) {
|
|
25858
26067
|
decorator(target, key, paramIndex);
|
|
25859
26068
|
};
|
|
@@ -25904,9 +26113,9 @@
|
|
|
25904
26113
|
return data;
|
|
25905
26114
|
}
|
|
25906
26115
|
};
|
|
25907
|
-
DefaultCanvasPickerService = __decorate
|
|
26116
|
+
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);
|
|
25908
26117
|
|
|
25909
|
-
var __decorate$
|
|
26118
|
+
var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25910
26119
|
var d,
|
|
25911
26120
|
c = arguments.length,
|
|
25912
26121
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -25921,7 +26130,7 @@
|
|
|
25921
26130
|
return !1;
|
|
25922
26131
|
}
|
|
25923
26132
|
};
|
|
25924
|
-
DefaultCanvasGroupPicker = __decorate$
|
|
26133
|
+
DefaultCanvasGroupPicker = __decorate$_([injectable()], DefaultCanvasGroupPicker);
|
|
25925
26134
|
|
|
25926
26135
|
const m$1 = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
25927
26136
|
m$1.__vloaded || (m$1.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
@@ -25937,14 +26146,14 @@
|
|
|
25937
26146
|
}
|
|
25938
26147
|
|
|
25939
26148
|
var BrowserWindowHandlerContribution_1,
|
|
25940
|
-
__decorate$
|
|
26149
|
+
__decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25941
26150
|
var d,
|
|
25942
26151
|
c = arguments.length,
|
|
25943
26152
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25944
26153
|
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);
|
|
25945
26154
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25946
26155
|
},
|
|
25947
|
-
__metadata$
|
|
26156
|
+
__metadata$O = undefined && undefined.__metadata || function (k, v) {
|
|
25948
26157
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25949
26158
|
};
|
|
25950
26159
|
let BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = class extends exports.BaseWindowHandlerContribution {
|
|
@@ -26102,19 +26311,19 @@
|
|
|
26102
26311
|
return this.global.getElementTopLeft(this.canvas.nativeCanvas, baseWindow);
|
|
26103
26312
|
}
|
|
26104
26313
|
};
|
|
26105
|
-
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$
|
|
26314
|
+
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$Z([injectable(), __metadata$O("design:paramtypes", [])], BrowserWindowHandlerContribution);
|
|
26106
26315
|
const browserWindowModule = new ContainerModule(bind => {
|
|
26107
26316
|
bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(BrowserWindowHandlerContribution)).whenTargetNamed(BrowserWindowHandlerContribution.env);
|
|
26108
26317
|
});
|
|
26109
26318
|
|
|
26110
|
-
var __decorate$
|
|
26319
|
+
var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26111
26320
|
var d,
|
|
26112
26321
|
c = arguments.length,
|
|
26113
26322
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26114
26323
|
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);
|
|
26115
26324
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26116
26325
|
},
|
|
26117
|
-
__metadata$
|
|
26326
|
+
__metadata$N = undefined && undefined.__metadata || function (k, v) {
|
|
26118
26327
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26119
26328
|
},
|
|
26120
26329
|
__awaiter$2 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -26361,7 +26570,7 @@
|
|
|
26361
26570
|
return navigator.clipboard.writeText(text).then(() => {}).catch(err => {});
|
|
26362
26571
|
}
|
|
26363
26572
|
};
|
|
26364
|
-
exports.BrowserEnvContribution = __decorate$
|
|
26573
|
+
exports.BrowserEnvContribution = __decorate$Y([injectable(), __metadata$N("design:paramtypes", [])], exports.BrowserEnvContribution);
|
|
26365
26574
|
|
|
26366
26575
|
const browserEnvModule = new ContainerModule(bind => {
|
|
26367
26576
|
browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(exports.BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(exports.BrowserEnvContribution));
|
|
@@ -26376,7 +26585,7 @@
|
|
|
26376
26585
|
loadBrowserEnv(container);
|
|
26377
26586
|
}
|
|
26378
26587
|
|
|
26379
|
-
var __decorate$
|
|
26588
|
+
var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26380
26589
|
var d,
|
|
26381
26590
|
c = arguments.length,
|
|
26382
26591
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26421,16 +26630,16 @@
|
|
|
26421
26630
|
return null;
|
|
26422
26631
|
}
|
|
26423
26632
|
};
|
|
26424
|
-
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$
|
|
26633
|
+
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$X([injectable()], FeishuContext2d);
|
|
26425
26634
|
|
|
26426
|
-
var __decorate$
|
|
26635
|
+
var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26427
26636
|
var d,
|
|
26428
26637
|
c = arguments.length,
|
|
26429
26638
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26430
26639
|
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);
|
|
26431
26640
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26432
26641
|
},
|
|
26433
|
-
__metadata$
|
|
26642
|
+
__metadata$M = undefined && undefined.__metadata || function (k, v) {
|
|
26434
26643
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26435
26644
|
};
|
|
26436
26645
|
let FeishuCanvas = class extends BaseCanvas {
|
|
@@ -26442,21 +26651,21 @@
|
|
|
26442
26651
|
}
|
|
26443
26652
|
release() {}
|
|
26444
26653
|
};
|
|
26445
|
-
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$
|
|
26654
|
+
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$W([injectable(), __metadata$M("design:paramtypes", [Object])], FeishuCanvas);
|
|
26446
26655
|
|
|
26447
26656
|
const feishuCanvasModule = createModule(FeishuCanvas, FeishuContext2d);
|
|
26448
26657
|
|
|
26449
|
-
var __decorate$
|
|
26658
|
+
var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26450
26659
|
var d,
|
|
26451
26660
|
c = arguments.length,
|
|
26452
26661
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26453
26662
|
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);
|
|
26454
26663
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26455
26664
|
},
|
|
26456
|
-
__metadata$
|
|
26665
|
+
__metadata$L = undefined && undefined.__metadata || function (k, v) {
|
|
26457
26666
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26458
26667
|
},
|
|
26459
|
-
__param$
|
|
26668
|
+
__param$y = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26460
26669
|
return function (target, key) {
|
|
26461
26670
|
decorator(target, key, paramIndex);
|
|
26462
26671
|
};
|
|
@@ -26592,22 +26801,22 @@
|
|
|
26592
26801
|
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();
|
|
26593
26802
|
}
|
|
26594
26803
|
};
|
|
26595
|
-
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$
|
|
26804
|
+
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$V([injectable(), __param$y(0, inject(VGlobal)), __metadata$L("design:paramtypes", [Object])], FeishuWindowHandlerContribution);
|
|
26596
26805
|
const feishuWindowModule = new ContainerModule(bind => {
|
|
26597
26806
|
bind(FeishuWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(FeishuWindowHandlerContribution)).whenTargetNamed(FeishuWindowHandlerContribution.env);
|
|
26598
26807
|
});
|
|
26599
26808
|
|
|
26600
|
-
var __decorate$
|
|
26809
|
+
var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26601
26810
|
var d,
|
|
26602
26811
|
c = arguments.length,
|
|
26603
26812
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26604
26813
|
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);
|
|
26605
26814
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26606
26815
|
},
|
|
26607
|
-
__metadata$
|
|
26816
|
+
__metadata$K = undefined && undefined.__metadata || function (k, v) {
|
|
26608
26817
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26609
26818
|
},
|
|
26610
|
-
__param$
|
|
26819
|
+
__param$x = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26611
26820
|
return function (target, key) {
|
|
26612
26821
|
decorator(target, key, paramIndex);
|
|
26613
26822
|
};
|
|
@@ -26638,7 +26847,7 @@
|
|
|
26638
26847
|
} : null;
|
|
26639
26848
|
}
|
|
26640
26849
|
};
|
|
26641
|
-
DefaultMathPickerService = __decorate$
|
|
26850
|
+
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);
|
|
26642
26851
|
|
|
26643
26852
|
const m = new ContainerModule(bind => {
|
|
26644
26853
|
m.__vloaded || (m.__vloaded = !0, bindContributionProvider(bind, MathPickerContribution));
|
|
@@ -26677,17 +26886,17 @@
|
|
|
26677
26886
|
}
|
|
26678
26887
|
}
|
|
26679
26888
|
|
|
26680
|
-
var __decorate$
|
|
26889
|
+
var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26681
26890
|
var d,
|
|
26682
26891
|
c = arguments.length,
|
|
26683
26892
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26684
26893
|
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);
|
|
26685
26894
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26686
26895
|
},
|
|
26687
|
-
__metadata$
|
|
26896
|
+
__metadata$J = undefined && undefined.__metadata || function (k, v) {
|
|
26688
26897
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26689
26898
|
},
|
|
26690
|
-
__param$
|
|
26899
|
+
__param$w = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26691
26900
|
return function (target, key) {
|
|
26692
26901
|
decorator(target, key, paramIndex);
|
|
26693
26902
|
};
|
|
@@ -26697,24 +26906,24 @@
|
|
|
26697
26906
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
26698
26907
|
}
|
|
26699
26908
|
};
|
|
26700
|
-
DefaultMathArcPicker = __decorate$
|
|
26909
|
+
DefaultMathArcPicker = __decorate$T([injectable(), __param$w(0, inject(ArcRender)), __metadata$J("design:paramtypes", [Object])], DefaultMathArcPicker);
|
|
26701
26910
|
|
|
26702
26911
|
let loadArcPick$1 = !1;
|
|
26703
26912
|
const arcMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26704
26913
|
loadArcPick$1 || (loadArcPick$1 = !0, bind(MathArcPicker).to(DefaultMathArcPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathArcPicker));
|
|
26705
26914
|
});
|
|
26706
26915
|
|
|
26707
|
-
var __decorate$
|
|
26916
|
+
var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26708
26917
|
var d,
|
|
26709
26918
|
c = arguments.length,
|
|
26710
26919
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26711
26920
|
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);
|
|
26712
26921
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26713
26922
|
},
|
|
26714
|
-
__metadata$
|
|
26923
|
+
__metadata$I = undefined && undefined.__metadata || function (k, v) {
|
|
26715
26924
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26716
26925
|
},
|
|
26717
|
-
__param$
|
|
26926
|
+
__param$v = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26718
26927
|
return function (target, key) {
|
|
26719
26928
|
decorator(target, key, paramIndex);
|
|
26720
26929
|
};
|
|
@@ -26724,24 +26933,24 @@
|
|
|
26724
26933
|
super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
|
|
26725
26934
|
}
|
|
26726
26935
|
};
|
|
26727
|
-
DefaultMathAreaPicker = __decorate$
|
|
26936
|
+
DefaultMathAreaPicker = __decorate$S([injectable(), __param$v(0, inject(AreaRender)), __metadata$I("design:paramtypes", [Object])], DefaultMathAreaPicker);
|
|
26728
26937
|
|
|
26729
26938
|
let loadAreaPick$1 = !1;
|
|
26730
26939
|
const areaMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26731
26940
|
loadAreaPick$1 || (loadAreaPick$1 = !0, bind(MathAreaPicker).to(DefaultMathAreaPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathAreaPicker));
|
|
26732
26941
|
});
|
|
26733
26942
|
|
|
26734
|
-
var __decorate$
|
|
26943
|
+
var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26735
26944
|
var d,
|
|
26736
26945
|
c = arguments.length,
|
|
26737
26946
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26738
26947
|
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);
|
|
26739
26948
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26740
26949
|
},
|
|
26741
|
-
__metadata$
|
|
26950
|
+
__metadata$H = undefined && undefined.__metadata || function (k, v) {
|
|
26742
26951
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26743
26952
|
},
|
|
26744
|
-
__param$
|
|
26953
|
+
__param$u = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26745
26954
|
return function (target, key) {
|
|
26746
26955
|
decorator(target, key, paramIndex);
|
|
26747
26956
|
};
|
|
@@ -26751,7 +26960,7 @@
|
|
|
26751
26960
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
26752
26961
|
}
|
|
26753
26962
|
};
|
|
26754
|
-
DefaultMathCirclePicker = __decorate$
|
|
26963
|
+
DefaultMathCirclePicker = __decorate$R([injectable(), __param$u(0, inject(CircleRender)), __metadata$H("design:paramtypes", [Object])], DefaultMathCirclePicker);
|
|
26755
26964
|
|
|
26756
26965
|
let loadCirclePick$1 = !1;
|
|
26757
26966
|
const circleMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26782,17 +26991,17 @@
|
|
|
26782
26991
|
}
|
|
26783
26992
|
}
|
|
26784
26993
|
|
|
26785
|
-
var __decorate$
|
|
26994
|
+
var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26786
26995
|
var d,
|
|
26787
26996
|
c = arguments.length,
|
|
26788
26997
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26789
26998
|
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);
|
|
26790
26999
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26791
27000
|
},
|
|
26792
|
-
__metadata$
|
|
27001
|
+
__metadata$G = undefined && undefined.__metadata || function (k, v) {
|
|
26793
27002
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26794
27003
|
},
|
|
26795
|
-
__param$
|
|
27004
|
+
__param$t = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26796
27005
|
return function (target, key) {
|
|
26797
27006
|
decorator(target, key, paramIndex);
|
|
26798
27007
|
};
|
|
@@ -26802,14 +27011,14 @@
|
|
|
26802
27011
|
super(), this.canvasRenderer = canvasRenderer;
|
|
26803
27012
|
}
|
|
26804
27013
|
};
|
|
26805
|
-
DefaultMathGlyphPicker = __decorate$
|
|
27014
|
+
DefaultMathGlyphPicker = __decorate$Q([injectable(), __param$t(0, inject(GlyphRender)), __metadata$G("design:paramtypes", [Object])], DefaultMathGlyphPicker);
|
|
26806
27015
|
|
|
26807
27016
|
let loadGlyphPick$1 = !1;
|
|
26808
27017
|
const glyphMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26809
27018
|
loadGlyphPick$1 || (loadGlyphPick$1 = !0, bind(MathGlyphPicker).to(DefaultMathGlyphPicker).inSingletonScope(), bind(DefaultMathGlyphPicker).toService(MathGlyphPicker));
|
|
26810
27019
|
});
|
|
26811
27020
|
|
|
26812
|
-
var __decorate$
|
|
27021
|
+
var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26813
27022
|
var d,
|
|
26814
27023
|
c = arguments.length,
|
|
26815
27024
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26827,24 +27036,24 @@
|
|
|
26827
27036
|
return !!pickContext && !!image.AABBBounds.containsPoint(point);
|
|
26828
27037
|
}
|
|
26829
27038
|
};
|
|
26830
|
-
DefaultMathImagePicker = __decorate$
|
|
27039
|
+
DefaultMathImagePicker = __decorate$P([injectable()], DefaultMathImagePicker);
|
|
26831
27040
|
|
|
26832
27041
|
let loadImagePick$1 = !1;
|
|
26833
27042
|
const imageMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26834
27043
|
loadImagePick$1 || (loadImagePick$1 = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
26835
27044
|
});
|
|
26836
27045
|
|
|
26837
|
-
var __decorate$
|
|
27046
|
+
var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26838
27047
|
var d,
|
|
26839
27048
|
c = arguments.length,
|
|
26840
27049
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26841
27050
|
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);
|
|
26842
27051
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26843
27052
|
},
|
|
26844
|
-
__metadata$
|
|
27053
|
+
__metadata$F = undefined && undefined.__metadata || function (k, v) {
|
|
26845
27054
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26846
27055
|
},
|
|
26847
|
-
__param$
|
|
27056
|
+
__param$s = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26848
27057
|
return function (target, key) {
|
|
26849
27058
|
decorator(target, key, paramIndex);
|
|
26850
27059
|
};
|
|
@@ -26854,24 +27063,24 @@
|
|
|
26854
27063
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
26855
27064
|
}
|
|
26856
27065
|
};
|
|
26857
|
-
DefaultMathLinePicker = __decorate$
|
|
27066
|
+
DefaultMathLinePicker = __decorate$O([injectable(), __param$s(0, inject(LineRender)), __metadata$F("design:paramtypes", [Object])], DefaultMathLinePicker);
|
|
26858
27067
|
|
|
26859
27068
|
let loadLinePick$1 = !1;
|
|
26860
27069
|
const lineMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26861
27070
|
loadLinePick$1 || (loadLinePick$1 = !0, bind(MathLinePicker).to(DefaultMathLinePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathLinePicker));
|
|
26862
27071
|
});
|
|
26863
27072
|
|
|
26864
|
-
var __decorate$
|
|
27073
|
+
var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26865
27074
|
var d,
|
|
26866
27075
|
c = arguments.length,
|
|
26867
27076
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26868
27077
|
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);
|
|
26869
27078
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26870
27079
|
},
|
|
26871
|
-
__metadata$
|
|
27080
|
+
__metadata$E = undefined && undefined.__metadata || function (k, v) {
|
|
26872
27081
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26873
27082
|
},
|
|
26874
|
-
__param$
|
|
27083
|
+
__param$r = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26875
27084
|
return function (target, key) {
|
|
26876
27085
|
decorator(target, key, paramIndex);
|
|
26877
27086
|
};
|
|
@@ -26881,24 +27090,24 @@
|
|
|
26881
27090
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
26882
27091
|
}
|
|
26883
27092
|
};
|
|
26884
|
-
DefaultMathPolygonPicker = __decorate$
|
|
27093
|
+
DefaultMathPolygonPicker = __decorate$N([injectable(), __param$r(0, inject(PolygonRender)), __metadata$E("design:paramtypes", [Object])], DefaultMathPolygonPicker);
|
|
26885
27094
|
|
|
26886
27095
|
let loadPolygonPick$1 = !1;
|
|
26887
27096
|
const polygonMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
26888
27097
|
loadPolygonPick$1 || (loadPolygonPick$1 = !0, bind(MathPolygonPicker).to(DefaultMathPolygonPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathPolygonPicker));
|
|
26889
27098
|
});
|
|
26890
27099
|
|
|
26891
|
-
var __decorate$
|
|
27100
|
+
var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26892
27101
|
var d,
|
|
26893
27102
|
c = arguments.length,
|
|
26894
27103
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26895
27104
|
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);
|
|
26896
27105
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26897
27106
|
},
|
|
26898
|
-
__metadata$
|
|
27107
|
+
__metadata$D = undefined && undefined.__metadata || function (k, v) {
|
|
26899
27108
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26900
27109
|
},
|
|
26901
|
-
__param$
|
|
27110
|
+
__param$q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26902
27111
|
return function (target, key) {
|
|
26903
27112
|
decorator(target, key, paramIndex);
|
|
26904
27113
|
};
|
|
@@ -26908,7 +27117,7 @@
|
|
|
26908
27117
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
26909
27118
|
}
|
|
26910
27119
|
};
|
|
26911
|
-
DefaultMathPathPicker = __decorate$
|
|
27120
|
+
DefaultMathPathPicker = __decorate$M([injectable(), __param$q(0, inject(PathRender)), __metadata$D("design:paramtypes", [Object])], DefaultMathPathPicker);
|
|
26912
27121
|
|
|
26913
27122
|
let loadPathPick$1 = !1;
|
|
26914
27123
|
const pathMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26963,17 +27172,17 @@
|
|
|
26963
27172
|
}
|
|
26964
27173
|
}
|
|
26965
27174
|
|
|
26966
|
-
var __decorate$
|
|
27175
|
+
var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26967
27176
|
var d,
|
|
26968
27177
|
c = arguments.length,
|
|
26969
27178
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
26970
27179
|
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);
|
|
26971
27180
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26972
27181
|
},
|
|
26973
|
-
__metadata$
|
|
27182
|
+
__metadata$C = undefined && undefined.__metadata || function (k, v) {
|
|
26974
27183
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
26975
27184
|
},
|
|
26976
|
-
__param$
|
|
27185
|
+
__param$p = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
26977
27186
|
return function (target, key) {
|
|
26978
27187
|
decorator(target, key, paramIndex);
|
|
26979
27188
|
};
|
|
@@ -26983,7 +27192,7 @@
|
|
|
26983
27192
|
super(), this.canvasRenderer = canvasRenderer;
|
|
26984
27193
|
}
|
|
26985
27194
|
};
|
|
26986
|
-
DefaultMathRectPicker = __decorate$
|
|
27195
|
+
DefaultMathRectPicker = __decorate$L([injectable(), __param$p(0, inject(RectRender)), __metadata$C("design:paramtypes", [Object])], DefaultMathRectPicker);
|
|
26987
27196
|
|
|
26988
27197
|
let loadRectPick$1 = !1;
|
|
26989
27198
|
const rectMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -26995,17 +27204,17 @@
|
|
|
26995
27204
|
loadRichTextPick || (loadRichTextPick = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
26996
27205
|
});
|
|
26997
27206
|
|
|
26998
|
-
var __decorate$
|
|
27207
|
+
var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26999
27208
|
var d,
|
|
27000
27209
|
c = arguments.length,
|
|
27001
27210
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27002
27211
|
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);
|
|
27003
27212
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27004
27213
|
},
|
|
27005
|
-
__metadata$
|
|
27214
|
+
__metadata$B = undefined && undefined.__metadata || function (k, v) {
|
|
27006
27215
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27007
27216
|
},
|
|
27008
|
-
__param$
|
|
27217
|
+
__param$o = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27009
27218
|
return function (target, key) {
|
|
27010
27219
|
decorator(target, key, paramIndex);
|
|
27011
27220
|
};
|
|
@@ -27015,14 +27224,14 @@
|
|
|
27015
27224
|
super(), this.canvasRenderer = canvasRenderer, this.type = "symbol", this.numberType = SYMBOL_NUMBER_TYPE;
|
|
27016
27225
|
}
|
|
27017
27226
|
};
|
|
27018
|
-
DefaultMathSymbolPicker = __decorate$
|
|
27227
|
+
DefaultMathSymbolPicker = __decorate$K([injectable(), __param$o(0, inject(SymbolRender)), __metadata$B("design:paramtypes", [Object])], DefaultMathSymbolPicker);
|
|
27019
27228
|
|
|
27020
27229
|
let loadSymbolPick$1 = !1;
|
|
27021
27230
|
const symbolMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
27022
27231
|
loadSymbolPick$1 || (loadSymbolPick$1 = !0, bind(MathSymbolPicker).to(DefaultMathSymbolPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathSymbolPicker));
|
|
27023
27232
|
});
|
|
27024
27233
|
|
|
27025
|
-
var __decorate$
|
|
27234
|
+
var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27026
27235
|
var d,
|
|
27027
27236
|
c = arguments.length,
|
|
27028
27237
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27037,7 +27246,7 @@
|
|
|
27037
27246
|
return !!text.AABBBounds.containsPoint(point);
|
|
27038
27247
|
}
|
|
27039
27248
|
};
|
|
27040
|
-
DefaultMathTextPicker = __decorate$
|
|
27249
|
+
DefaultMathTextPicker = __decorate$J([injectable()], DefaultMathTextPicker);
|
|
27041
27250
|
|
|
27042
27251
|
let loadTextPick$1 = !1;
|
|
27043
27252
|
const textMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -27120,14 +27329,14 @@
|
|
|
27120
27329
|
}
|
|
27121
27330
|
}
|
|
27122
27331
|
|
|
27123
|
-
var __decorate$
|
|
27332
|
+
var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27124
27333
|
var d,
|
|
27125
27334
|
c = arguments.length,
|
|
27126
27335
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27127
27336
|
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);
|
|
27128
27337
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27129
27338
|
},
|
|
27130
|
-
__metadata$
|
|
27339
|
+
__metadata$A = undefined && undefined.__metadata || function (k, v) {
|
|
27131
27340
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27132
27341
|
};
|
|
27133
27342
|
function makeUpCanvas$4(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, pixelRatio) {
|
|
@@ -27209,7 +27418,7 @@
|
|
|
27209
27418
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
27210
27419
|
}
|
|
27211
27420
|
};
|
|
27212
|
-
FeishuEnvContribution = __decorate$
|
|
27421
|
+
FeishuEnvContribution = __decorate$I([injectable(), __metadata$A("design:paramtypes", [])], FeishuEnvContribution);
|
|
27213
27422
|
|
|
27214
27423
|
const feishuEnvModule = new ContainerModule(bind => {
|
|
27215
27424
|
feishuEnvModule.isFeishuBound || (feishuEnvModule.isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
|
|
@@ -27224,7 +27433,7 @@
|
|
|
27224
27433
|
loadFeishuEnv(container);
|
|
27225
27434
|
}
|
|
27226
27435
|
|
|
27227
|
-
var __decorate$
|
|
27436
|
+
var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27228
27437
|
var d,
|
|
27229
27438
|
c = arguments.length,
|
|
27230
27439
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27291,16 +27500,16 @@
|
|
|
27291
27500
|
}));
|
|
27292
27501
|
}
|
|
27293
27502
|
};
|
|
27294
|
-
LynxContext2d.env = "lynx", LynxContext2d = __decorate$
|
|
27503
|
+
LynxContext2d.env = "lynx", LynxContext2d = __decorate$H([injectable()], LynxContext2d);
|
|
27295
27504
|
|
|
27296
|
-
var __decorate$
|
|
27505
|
+
var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27297
27506
|
var d,
|
|
27298
27507
|
c = arguments.length,
|
|
27299
27508
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27300
27509
|
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);
|
|
27301
27510
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27302
27511
|
},
|
|
27303
|
-
__metadata$
|
|
27512
|
+
__metadata$z = undefined && undefined.__metadata || function (k, v) {
|
|
27304
27513
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27305
27514
|
};
|
|
27306
27515
|
let LynxCanvas = class extends BaseCanvas {
|
|
@@ -27316,19 +27525,19 @@
|
|
|
27316
27525
|
}
|
|
27317
27526
|
release() {}
|
|
27318
27527
|
};
|
|
27319
|
-
LynxCanvas.env = "lynx", LynxCanvas = __decorate$
|
|
27528
|
+
LynxCanvas.env = "lynx", LynxCanvas = __decorate$G([injectable(), __metadata$z("design:paramtypes", [Object])], LynxCanvas);
|
|
27320
27529
|
|
|
27321
|
-
var __decorate$
|
|
27530
|
+
var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27322
27531
|
var d,
|
|
27323
27532
|
c = arguments.length,
|
|
27324
27533
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27325
27534
|
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);
|
|
27326
27535
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27327
27536
|
},
|
|
27328
|
-
__metadata$
|
|
27537
|
+
__metadata$y = undefined && undefined.__metadata || function (k, v) {
|
|
27329
27538
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27330
27539
|
},
|
|
27331
|
-
__param$
|
|
27540
|
+
__param$n = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27332
27541
|
return function (target, key) {
|
|
27333
27542
|
decorator(target, key, paramIndex);
|
|
27334
27543
|
};
|
|
@@ -27466,21 +27675,21 @@
|
|
|
27466
27675
|
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();
|
|
27467
27676
|
}
|
|
27468
27677
|
};
|
|
27469
|
-
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$
|
|
27678
|
+
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$F([injectable(), __param$n(0, inject(VGlobal)), __metadata$y("design:paramtypes", [Object])], LynxWindowHandlerContribution);
|
|
27470
27679
|
const lynxWindowModule = new ContainerModule(bind => {
|
|
27471
27680
|
bind(LynxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(LynxWindowHandlerContribution)).whenTargetNamed(LynxWindowHandlerContribution.env);
|
|
27472
27681
|
});
|
|
27473
27682
|
|
|
27474
27683
|
const lynxCanvasModule = createModule(LynxCanvas, LynxContext2d);
|
|
27475
27684
|
|
|
27476
|
-
var __decorate$
|
|
27685
|
+
var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27477
27686
|
var d,
|
|
27478
27687
|
c = arguments.length,
|
|
27479
27688
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27480
27689
|
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);
|
|
27481
27690
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27482
27691
|
},
|
|
27483
|
-
__metadata$
|
|
27692
|
+
__metadata$x = undefined && undefined.__metadata || function (k, v) {
|
|
27484
27693
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27485
27694
|
};
|
|
27486
27695
|
let ng = !1;
|
|
@@ -27590,7 +27799,7 @@
|
|
|
27590
27799
|
}
|
|
27591
27800
|
release() {}
|
|
27592
27801
|
};
|
|
27593
|
-
LynxEnvContribution = __decorate$
|
|
27802
|
+
LynxEnvContribution = __decorate$E([injectable(), __metadata$x("design:paramtypes", [])], LynxEnvContribution);
|
|
27594
27803
|
|
|
27595
27804
|
const lynxEnvModule = new ContainerModule(bind => {
|
|
27596
27805
|
lynxEnvModule.isLynxBound || (lynxEnvModule.isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
|
|
@@ -27605,14 +27814,14 @@
|
|
|
27605
27814
|
loadLynxEnv(container);
|
|
27606
27815
|
}
|
|
27607
27816
|
|
|
27608
|
-
var __decorate$
|
|
27817
|
+
var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27609
27818
|
var d,
|
|
27610
27819
|
c = arguments.length,
|
|
27611
27820
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27612
27821
|
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);
|
|
27613
27822
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27614
27823
|
},
|
|
27615
|
-
__metadata$
|
|
27824
|
+
__metadata$w = undefined && undefined.__metadata || function (k, v) {
|
|
27616
27825
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27617
27826
|
};
|
|
27618
27827
|
let NodeContext2d = class extends BrowserContext2d {
|
|
@@ -27624,16 +27833,16 @@
|
|
|
27624
27833
|
}
|
|
27625
27834
|
release() {}
|
|
27626
27835
|
};
|
|
27627
|
-
NodeContext2d.env = "node", NodeContext2d = __decorate$
|
|
27836
|
+
NodeContext2d.env = "node", NodeContext2d = __decorate$D([injectable(), __metadata$w("design:paramtypes", [Object, Number])], NodeContext2d);
|
|
27628
27837
|
|
|
27629
|
-
var __decorate$
|
|
27838
|
+
var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27630
27839
|
var d,
|
|
27631
27840
|
c = arguments.length,
|
|
27632
27841
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27633
27842
|
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);
|
|
27634
27843
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27635
27844
|
},
|
|
27636
|
-
__metadata$
|
|
27845
|
+
__metadata$v = undefined && undefined.__metadata || function (k, v) {
|
|
27637
27846
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27638
27847
|
};
|
|
27639
27848
|
let NodeCanvas = class extends BaseCanvas {
|
|
@@ -27647,21 +27856,21 @@
|
|
|
27647
27856
|
this._nativeCanvas.release && isFunction$1(this._nativeCanvas.release) && this._nativeCanvas.release();
|
|
27648
27857
|
}
|
|
27649
27858
|
};
|
|
27650
|
-
NodeCanvas.env = "node", NodeCanvas = __decorate$
|
|
27859
|
+
NodeCanvas.env = "node", NodeCanvas = __decorate$C([injectable(), __metadata$v("design:paramtypes", [Object])], NodeCanvas);
|
|
27651
27860
|
|
|
27652
27861
|
const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
|
|
27653
27862
|
|
|
27654
|
-
var __decorate$
|
|
27863
|
+
var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27655
27864
|
var d,
|
|
27656
27865
|
c = arguments.length,
|
|
27657
27866
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27658
27867
|
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);
|
|
27659
27868
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27660
27869
|
},
|
|
27661
|
-
__metadata$
|
|
27870
|
+
__metadata$u = undefined && undefined.__metadata || function (k, v) {
|
|
27662
27871
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27663
27872
|
},
|
|
27664
|
-
__param$
|
|
27873
|
+
__param$m = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27665
27874
|
return function (target, key) {
|
|
27666
27875
|
decorator(target, key, paramIndex);
|
|
27667
27876
|
};
|
|
@@ -27754,12 +27963,12 @@
|
|
|
27754
27963
|
}
|
|
27755
27964
|
clearViewBox(color) {}
|
|
27756
27965
|
};
|
|
27757
|
-
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$
|
|
27966
|
+
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$B([injectable(), __param$m(0, inject(VGlobal)), __metadata$u("design:paramtypes", [Object])], NodeWindowHandlerContribution);
|
|
27758
27967
|
const nodeWindowModule = new ContainerModule(bind => {
|
|
27759
27968
|
bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(NodeWindowHandlerContribution)).whenTargetNamed(NodeWindowHandlerContribution.env);
|
|
27760
27969
|
});
|
|
27761
27970
|
|
|
27762
|
-
var __decorate$
|
|
27971
|
+
var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27763
27972
|
var d,
|
|
27764
27973
|
c = arguments.length,
|
|
27765
27974
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27845,7 +28054,7 @@
|
|
|
27845
28054
|
release() {}
|
|
27846
28055
|
createOffscreenCanvas(params) {}
|
|
27847
28056
|
};
|
|
27848
|
-
NodeEnvContribution = __decorate$
|
|
28057
|
+
NodeEnvContribution = __decorate$A([injectable()], NodeEnvContribution);
|
|
27849
28058
|
|
|
27850
28059
|
const nodeEnvModule = new ContainerModule(bind => {
|
|
27851
28060
|
nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
@@ -27859,7 +28068,7 @@
|
|
|
27859
28068
|
loadNodeEnv(container);
|
|
27860
28069
|
}
|
|
27861
28070
|
|
|
27862
|
-
var __decorate$
|
|
28071
|
+
var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27863
28072
|
var d,
|
|
27864
28073
|
c = arguments.length,
|
|
27865
28074
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -27948,16 +28157,16 @@
|
|
|
27948
28157
|
return this.nativeContext.createCircularGradient && this.nativeContext.createCircularGradient(x0, y0, r0, x1, y1, r1);
|
|
27949
28158
|
}
|
|
27950
28159
|
};
|
|
27951
|
-
TaroContext2d.env = "taro", TaroContext2d = __decorate$
|
|
28160
|
+
TaroContext2d.env = "taro", TaroContext2d = __decorate$z([injectable()], TaroContext2d);
|
|
27952
28161
|
|
|
27953
|
-
var __decorate$
|
|
28162
|
+
var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27954
28163
|
var d,
|
|
27955
28164
|
c = arguments.length,
|
|
27956
28165
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27957
28166
|
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);
|
|
27958
28167
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27959
28168
|
},
|
|
27960
|
-
__metadata$
|
|
28169
|
+
__metadata$t = undefined && undefined.__metadata || function (k, v) {
|
|
27961
28170
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27962
28171
|
};
|
|
27963
28172
|
let TaroCanvas = class extends BaseCanvas {
|
|
@@ -27969,21 +28178,21 @@
|
|
|
27969
28178
|
}
|
|
27970
28179
|
release() {}
|
|
27971
28180
|
};
|
|
27972
|
-
TaroCanvas.env = "taro", TaroCanvas = __decorate$
|
|
28181
|
+
TaroCanvas.env = "taro", TaroCanvas = __decorate$y([injectable(), __metadata$t("design:paramtypes", [Object])], TaroCanvas);
|
|
27973
28182
|
|
|
27974
28183
|
const taroCanvasModule = createModule(TaroCanvas, TaroContext2d);
|
|
27975
28184
|
|
|
27976
|
-
var __decorate$
|
|
28185
|
+
var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
27977
28186
|
var d,
|
|
27978
28187
|
c = arguments.length,
|
|
27979
28188
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
27980
28189
|
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);
|
|
27981
28190
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
27982
28191
|
},
|
|
27983
|
-
__metadata$
|
|
28192
|
+
__metadata$s = undefined && undefined.__metadata || function (k, v) {
|
|
27984
28193
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
27985
28194
|
},
|
|
27986
|
-
__param$
|
|
28195
|
+
__param$l = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
27987
28196
|
return function (target, key) {
|
|
27988
28197
|
decorator(target, key, paramIndex);
|
|
27989
28198
|
};
|
|
@@ -28129,19 +28338,19 @@
|
|
|
28129
28338
|
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();
|
|
28130
28339
|
}
|
|
28131
28340
|
};
|
|
28132
|
-
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$
|
|
28341
|
+
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$x([injectable(), __param$l(0, inject(VGlobal)), __metadata$s("design:paramtypes", [Object])], TaroWindowHandlerContribution);
|
|
28133
28342
|
const taroWindowModule = new ContainerModule(bind => {
|
|
28134
28343
|
bind(TaroWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TaroWindowHandlerContribution)).whenTargetNamed(TaroWindowHandlerContribution.env);
|
|
28135
28344
|
});
|
|
28136
28345
|
|
|
28137
|
-
var __decorate$
|
|
28346
|
+
var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28138
28347
|
var d,
|
|
28139
28348
|
c = arguments.length,
|
|
28140
28349
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28141
28350
|
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);
|
|
28142
28351
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28143
28352
|
},
|
|
28144
|
-
__metadata$
|
|
28353
|
+
__metadata$r = undefined && undefined.__metadata || function (k, v) {
|
|
28145
28354
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28146
28355
|
};
|
|
28147
28356
|
function makeUpCanvas$2(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, taro, dpr) {
|
|
@@ -28238,7 +28447,7 @@
|
|
|
28238
28447
|
}
|
|
28239
28448
|
release() {}
|
|
28240
28449
|
};
|
|
28241
|
-
TaroEnvContribution = __decorate$
|
|
28450
|
+
TaroEnvContribution = __decorate$w([injectable(), __metadata$r("design:paramtypes", [])], TaroEnvContribution);
|
|
28242
28451
|
|
|
28243
28452
|
const taroEnvModule = new ContainerModule(bind => {
|
|
28244
28453
|
taroEnvModule.isTaroBound || (taroEnvModule.isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
|
|
@@ -28253,7 +28462,7 @@
|
|
|
28253
28462
|
loadTaroEnv(container);
|
|
28254
28463
|
}
|
|
28255
28464
|
|
|
28256
|
-
var __decorate$
|
|
28465
|
+
var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28257
28466
|
var d,
|
|
28258
28467
|
c = arguments.length,
|
|
28259
28468
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28266,16 +28475,16 @@
|
|
|
28266
28475
|
return null;
|
|
28267
28476
|
}
|
|
28268
28477
|
};
|
|
28269
|
-
WxContext2d.env = "wx", WxContext2d = __decorate$
|
|
28478
|
+
WxContext2d.env = "wx", WxContext2d = __decorate$v([injectable()], WxContext2d);
|
|
28270
28479
|
|
|
28271
|
-
var __decorate$
|
|
28480
|
+
var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28272
28481
|
var d,
|
|
28273
28482
|
c = arguments.length,
|
|
28274
28483
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28275
28484
|
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);
|
|
28276
28485
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28277
28486
|
},
|
|
28278
|
-
__metadata$
|
|
28487
|
+
__metadata$q = undefined && undefined.__metadata || function (k, v) {
|
|
28279
28488
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28280
28489
|
};
|
|
28281
28490
|
let WxCanvas = class extends BaseCanvas {
|
|
@@ -28287,21 +28496,21 @@
|
|
|
28287
28496
|
}
|
|
28288
28497
|
release() {}
|
|
28289
28498
|
};
|
|
28290
|
-
WxCanvas.env = "wx", WxCanvas = __decorate$
|
|
28499
|
+
WxCanvas.env = "wx", WxCanvas = __decorate$u([injectable(), __metadata$q("design:paramtypes", [Object])], WxCanvas);
|
|
28291
28500
|
|
|
28292
28501
|
const wxCanvasModule = createModule(WxCanvas, WxContext2d);
|
|
28293
28502
|
|
|
28294
|
-
var __decorate$
|
|
28503
|
+
var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28295
28504
|
var d,
|
|
28296
28505
|
c = arguments.length,
|
|
28297
28506
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28298
28507
|
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);
|
|
28299
28508
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28300
28509
|
},
|
|
28301
|
-
__metadata$
|
|
28510
|
+
__metadata$p = undefined && undefined.__metadata || function (k, v) {
|
|
28302
28511
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28303
28512
|
},
|
|
28304
|
-
__param$
|
|
28513
|
+
__param$k = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28305
28514
|
return function (target, key) {
|
|
28306
28515
|
decorator(target, key, paramIndex);
|
|
28307
28516
|
};
|
|
@@ -28438,19 +28647,19 @@
|
|
|
28438
28647
|
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();
|
|
28439
28648
|
}
|
|
28440
28649
|
};
|
|
28441
|
-
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$
|
|
28650
|
+
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$t([injectable(), __param$k(0, inject(VGlobal)), __metadata$p("design:paramtypes", [Object])], WxWindowHandlerContribution);
|
|
28442
28651
|
const wxWindowModule = new ContainerModule(bind => {
|
|
28443
28652
|
bind(WxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(WxWindowHandlerContribution)).whenTargetNamed(WxWindowHandlerContribution.env);
|
|
28444
28653
|
});
|
|
28445
28654
|
|
|
28446
|
-
var __decorate$
|
|
28655
|
+
var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28447
28656
|
var d,
|
|
28448
28657
|
c = arguments.length,
|
|
28449
28658
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28450
28659
|
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);
|
|
28451
28660
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28452
28661
|
},
|
|
28453
|
-
__metadata$
|
|
28662
|
+
__metadata$o = undefined && undefined.__metadata || function (k, v) {
|
|
28454
28663
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28455
28664
|
},
|
|
28456
28665
|
__awaiter$1 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -28564,7 +28773,7 @@
|
|
|
28564
28773
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
28565
28774
|
}
|
|
28566
28775
|
};
|
|
28567
|
-
WxEnvContribution = __decorate$
|
|
28776
|
+
WxEnvContribution = __decorate$s([injectable(), __metadata$o("design:paramtypes", [])], WxEnvContribution);
|
|
28568
28777
|
|
|
28569
28778
|
const wxEnvModule = new ContainerModule(bind => {
|
|
28570
28779
|
wxEnvModule._isWxBound || (wxEnvModule._isWxBound = !0, bind(WxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(WxEnvContribution));
|
|
@@ -28592,7 +28801,7 @@
|
|
|
28592
28801
|
loadAllEnv(container);
|
|
28593
28802
|
}
|
|
28594
28803
|
|
|
28595
|
-
var __decorate$
|
|
28804
|
+
var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28596
28805
|
var d,
|
|
28597
28806
|
c = arguments.length,
|
|
28598
28807
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28600,16 +28809,16 @@
|
|
|
28600
28809
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28601
28810
|
};
|
|
28602
28811
|
let TTContext2d = class extends FeishuContext2d {};
|
|
28603
|
-
TTContext2d.env = "tt", TTContext2d = __decorate$
|
|
28812
|
+
TTContext2d.env = "tt", TTContext2d = __decorate$r([injectable()], TTContext2d);
|
|
28604
28813
|
|
|
28605
|
-
var __decorate$
|
|
28814
|
+
var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28606
28815
|
var d,
|
|
28607
28816
|
c = arguments.length,
|
|
28608
28817
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28609
28818
|
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);
|
|
28610
28819
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28611
28820
|
},
|
|
28612
|
-
__metadata$
|
|
28821
|
+
__metadata$n = undefined && undefined.__metadata || function (k, v) {
|
|
28613
28822
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28614
28823
|
};
|
|
28615
28824
|
let TTCanvas = class extends BaseCanvas {
|
|
@@ -28621,21 +28830,21 @@
|
|
|
28621
28830
|
}
|
|
28622
28831
|
release() {}
|
|
28623
28832
|
};
|
|
28624
|
-
TTCanvas.env = "tt", TTCanvas = __decorate$
|
|
28833
|
+
TTCanvas.env = "tt", TTCanvas = __decorate$q([injectable(), __metadata$n("design:paramtypes", [Object])], TTCanvas);
|
|
28625
28834
|
|
|
28626
28835
|
const ttCanvasModule = createModule(TTCanvas, TTContext2d);
|
|
28627
28836
|
|
|
28628
|
-
var __decorate$
|
|
28837
|
+
var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28629
28838
|
var d,
|
|
28630
28839
|
c = arguments.length,
|
|
28631
28840
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28632
28841
|
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);
|
|
28633
28842
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28634
28843
|
},
|
|
28635
|
-
__metadata$
|
|
28844
|
+
__metadata$m = undefined && undefined.__metadata || function (k, v) {
|
|
28636
28845
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28637
28846
|
},
|
|
28638
|
-
__param$
|
|
28847
|
+
__param$j = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28639
28848
|
return function (target, key) {
|
|
28640
28849
|
decorator(target, key, paramIndex);
|
|
28641
28850
|
};
|
|
@@ -28771,19 +28980,19 @@
|
|
|
28771
28980
|
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();
|
|
28772
28981
|
}
|
|
28773
28982
|
};
|
|
28774
|
-
TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$
|
|
28983
|
+
TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$p([injectable(), __param$j(0, inject(VGlobal)), __metadata$m("design:paramtypes", [Object])], TTWindowHandlerContribution);
|
|
28775
28984
|
const ttWindowModule = new ContainerModule(bind => {
|
|
28776
28985
|
bind(TTWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TTWindowHandlerContribution)).whenTargetNamed(TTWindowHandlerContribution.env);
|
|
28777
28986
|
});
|
|
28778
28987
|
|
|
28779
|
-
var __decorate$
|
|
28988
|
+
var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28780
28989
|
var d,
|
|
28781
28990
|
c = arguments.length,
|
|
28782
28991
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28783
28992
|
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);
|
|
28784
28993
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28785
28994
|
},
|
|
28786
|
-
__metadata$
|
|
28995
|
+
__metadata$l = undefined && undefined.__metadata || function (k, v) {
|
|
28787
28996
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28788
28997
|
},
|
|
28789
28998
|
__awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
@@ -28893,7 +29102,7 @@
|
|
|
28893
29102
|
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
28894
29103
|
}
|
|
28895
29104
|
};
|
|
28896
|
-
TTEnvContribution = __decorate$
|
|
29105
|
+
TTEnvContribution = __decorate$o([injectable(), __metadata$l("design:paramtypes", [])], TTEnvContribution);
|
|
28897
29106
|
|
|
28898
29107
|
const ttEnvModule = new ContainerModule(bind => {
|
|
28899
29108
|
ttEnvModule.isTTBound || (ttEnvModule.isTTBound = !0, bind(TTEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TTEnvContribution));
|
|
@@ -28908,7 +29117,7 @@
|
|
|
28908
29117
|
loadTTEnv(container);
|
|
28909
29118
|
}
|
|
28910
29119
|
|
|
28911
|
-
var __decorate$
|
|
29120
|
+
var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28912
29121
|
var d,
|
|
28913
29122
|
c = arguments.length,
|
|
28914
29123
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28993,16 +29202,16 @@
|
|
|
28993
29202
|
}
|
|
28994
29203
|
draw() {}
|
|
28995
29204
|
};
|
|
28996
|
-
HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$
|
|
29205
|
+
HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$n([injectable()], HarmonyContext2d);
|
|
28997
29206
|
|
|
28998
|
-
var __decorate$
|
|
29207
|
+
var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28999
29208
|
var d,
|
|
29000
29209
|
c = arguments.length,
|
|
29001
29210
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29002
29211
|
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);
|
|
29003
29212
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29004
29213
|
},
|
|
29005
|
-
__metadata$
|
|
29214
|
+
__metadata$k = undefined && undefined.__metadata || function (k, v) {
|
|
29006
29215
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29007
29216
|
};
|
|
29008
29217
|
let HarmonyCanvas = class extends BaseCanvas {
|
|
@@ -29015,19 +29224,19 @@
|
|
|
29015
29224
|
resize(width, height) {}
|
|
29016
29225
|
release() {}
|
|
29017
29226
|
};
|
|
29018
|
-
HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$
|
|
29227
|
+
HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$m([injectable(), __metadata$k("design:paramtypes", [Object])], HarmonyCanvas);
|
|
29019
29228
|
|
|
29020
|
-
var __decorate$
|
|
29229
|
+
var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29021
29230
|
var d,
|
|
29022
29231
|
c = arguments.length,
|
|
29023
29232
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29024
29233
|
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);
|
|
29025
29234
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29026
29235
|
},
|
|
29027
|
-
__metadata$
|
|
29236
|
+
__metadata$j = undefined && undefined.__metadata || function (k, v) {
|
|
29028
29237
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29029
29238
|
},
|
|
29030
|
-
__param$
|
|
29239
|
+
__param$i = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29031
29240
|
return function (target, key) {
|
|
29032
29241
|
decorator(target, key, paramIndex);
|
|
29033
29242
|
};
|
|
@@ -29164,21 +29373,21 @@
|
|
|
29164
29373
|
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();
|
|
29165
29374
|
}
|
|
29166
29375
|
};
|
|
29167
|
-
HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$
|
|
29376
|
+
HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$l([injectable(), __param$i(0, inject(VGlobal)), __metadata$j("design:paramtypes", [Object])], HarmonyWindowHandlerContribution);
|
|
29168
29377
|
const harmonyWindowModule = new ContainerModule(bind => {
|
|
29169
29378
|
bind(HarmonyWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(HarmonyWindowHandlerContribution)).whenTargetNamed(HarmonyWindowHandlerContribution.env);
|
|
29170
29379
|
});
|
|
29171
29380
|
|
|
29172
29381
|
const harmonyCanvasModule = createModule(HarmonyCanvas, HarmonyContext2d);
|
|
29173
29382
|
|
|
29174
|
-
var __decorate$
|
|
29383
|
+
var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29175
29384
|
var d,
|
|
29176
29385
|
c = arguments.length,
|
|
29177
29386
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29178
29387
|
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);
|
|
29179
29388
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29180
29389
|
},
|
|
29181
|
-
__metadata$
|
|
29390
|
+
__metadata$i = undefined && undefined.__metadata || function (k, v) {
|
|
29182
29391
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29183
29392
|
};
|
|
29184
29393
|
function createCanvas(width, height, id) {
|
|
@@ -29259,7 +29468,7 @@
|
|
|
29259
29468
|
}
|
|
29260
29469
|
release() {}
|
|
29261
29470
|
};
|
|
29262
|
-
HarmonyEnvContribution = __decorate$
|
|
29471
|
+
HarmonyEnvContribution = __decorate$k([injectable(), __metadata$i("design:paramtypes", [])], HarmonyEnvContribution);
|
|
29263
29472
|
|
|
29264
29473
|
const harmonyEnvModule = new ContainerModule(bind => {
|
|
29265
29474
|
harmonyEnvModule.isHarmonyBound || (harmonyEnvModule.isHarmonyBound = !0, bind(HarmonyEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(HarmonyEnvContribution));
|
|
@@ -29274,17 +29483,17 @@
|
|
|
29274
29483
|
loadHarmonyEnv(container);
|
|
29275
29484
|
}
|
|
29276
29485
|
|
|
29277
|
-
var __decorate$
|
|
29486
|
+
var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29278
29487
|
var d,
|
|
29279
29488
|
c = arguments.length,
|
|
29280
29489
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29281
29490
|
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);
|
|
29282
29491
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29283
29492
|
},
|
|
29284
|
-
__metadata$
|
|
29493
|
+
__metadata$h = undefined && undefined.__metadata || function (k, v) {
|
|
29285
29494
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29286
29495
|
},
|
|
29287
|
-
__param$
|
|
29496
|
+
__param$h = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29288
29497
|
return function (target, key) {
|
|
29289
29498
|
decorator(target, key, paramIndex);
|
|
29290
29499
|
};
|
|
@@ -29294,24 +29503,24 @@
|
|
|
29294
29503
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
29295
29504
|
}
|
|
29296
29505
|
};
|
|
29297
|
-
DefaultCanvasArcPicker = __decorate$
|
|
29506
|
+
DefaultCanvasArcPicker = __decorate$j([injectable(), __param$h(0, inject(ArcRender)), __metadata$h("design:paramtypes", [Object])], DefaultCanvasArcPicker);
|
|
29298
29507
|
|
|
29299
29508
|
let loadArcPick = !1;
|
|
29300
29509
|
const arcCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29301
29510
|
loadArcPick || (loadArcPick = !0, bind(CanvasArcPicker).to(DefaultCanvasArcPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArcPicker));
|
|
29302
29511
|
});
|
|
29303
29512
|
|
|
29304
|
-
var __decorate$
|
|
29513
|
+
var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29305
29514
|
var d,
|
|
29306
29515
|
c = arguments.length,
|
|
29307
29516
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29308
29517
|
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);
|
|
29309
29518
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29310
29519
|
},
|
|
29311
|
-
__metadata$
|
|
29520
|
+
__metadata$g = undefined && undefined.__metadata || function (k, v) {
|
|
29312
29521
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29313
29522
|
},
|
|
29314
|
-
__param$
|
|
29523
|
+
__param$g = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29315
29524
|
return function (target, key) {
|
|
29316
29525
|
decorator(target, key, paramIndex);
|
|
29317
29526
|
};
|
|
@@ -29321,7 +29530,7 @@
|
|
|
29321
29530
|
super(), this.canvasRenderer = canvasRenderer;
|
|
29322
29531
|
}
|
|
29323
29532
|
};
|
|
29324
|
-
DefaultCanvasRectPicker = __decorate$
|
|
29533
|
+
DefaultCanvasRectPicker = __decorate$i([injectable(), __param$g(0, inject(RectRender)), __metadata$g("design:paramtypes", [Object])], DefaultCanvasRectPicker);
|
|
29325
29534
|
|
|
29326
29535
|
let loadRectPick = !1;
|
|
29327
29536
|
const rectCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -29363,17 +29572,17 @@
|
|
|
29363
29572
|
}
|
|
29364
29573
|
}
|
|
29365
29574
|
|
|
29366
|
-
var __decorate$
|
|
29575
|
+
var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29367
29576
|
var d,
|
|
29368
29577
|
c = arguments.length,
|
|
29369
29578
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29370
29579
|
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);
|
|
29371
29580
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29372
29581
|
},
|
|
29373
|
-
__metadata$
|
|
29582
|
+
__metadata$f = undefined && undefined.__metadata || function (k, v) {
|
|
29374
29583
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29375
29584
|
},
|
|
29376
|
-
__param$
|
|
29585
|
+
__param$f = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29377
29586
|
return function (target, key) {
|
|
29378
29587
|
decorator(target, key, paramIndex);
|
|
29379
29588
|
};
|
|
@@ -29383,24 +29592,24 @@
|
|
|
29383
29592
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
29384
29593
|
}
|
|
29385
29594
|
};
|
|
29386
|
-
DefaultCanvasLinePicker = __decorate$
|
|
29595
|
+
DefaultCanvasLinePicker = __decorate$h([injectable(), __param$f(0, inject(LineRender)), __metadata$f("design:paramtypes", [Object])], DefaultCanvasLinePicker);
|
|
29387
29596
|
|
|
29388
29597
|
let loadLinePick = !1;
|
|
29389
29598
|
const lineCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29390
29599
|
loadLinePick || (loadLinePick = !0, bind(CanvasLinePicker).to(DefaultCanvasLinePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasLinePicker));
|
|
29391
29600
|
});
|
|
29392
29601
|
|
|
29393
|
-
var __decorate$
|
|
29602
|
+
var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29394
29603
|
var d,
|
|
29395
29604
|
c = arguments.length,
|
|
29396
29605
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29397
29606
|
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);
|
|
29398
29607
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29399
29608
|
},
|
|
29400
|
-
__metadata$
|
|
29609
|
+
__metadata$e = undefined && undefined.__metadata || function (k, v) {
|
|
29401
29610
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29402
29611
|
},
|
|
29403
|
-
__param$
|
|
29612
|
+
__param$e = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29404
29613
|
return function (target, key) {
|
|
29405
29614
|
decorator(target, key, paramIndex);
|
|
29406
29615
|
};
|
|
@@ -29410,7 +29619,7 @@
|
|
|
29410
29619
|
super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
|
|
29411
29620
|
}
|
|
29412
29621
|
};
|
|
29413
|
-
DefaultCanvasAreaPicker = __decorate$
|
|
29622
|
+
DefaultCanvasAreaPicker = __decorate$g([injectable(), __param$e(0, inject(AreaRender)), __metadata$e("design:paramtypes", [Object])], DefaultCanvasAreaPicker);
|
|
29414
29623
|
|
|
29415
29624
|
let loadAreaPick = !1;
|
|
29416
29625
|
const areaCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -29444,17 +29653,17 @@
|
|
|
29444
29653
|
}
|
|
29445
29654
|
}
|
|
29446
29655
|
|
|
29447
|
-
var __decorate$
|
|
29656
|
+
var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29448
29657
|
var d,
|
|
29449
29658
|
c = arguments.length,
|
|
29450
29659
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29451
29660
|
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);
|
|
29452
29661
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29453
29662
|
},
|
|
29454
|
-
__metadata$
|
|
29663
|
+
__metadata$d = undefined && undefined.__metadata || function (k, v) {
|
|
29455
29664
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29456
29665
|
},
|
|
29457
|
-
__param$
|
|
29666
|
+
__param$d = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29458
29667
|
return function (target, key) {
|
|
29459
29668
|
decorator(target, key, paramIndex);
|
|
29460
29669
|
};
|
|
@@ -29499,24 +29708,24 @@
|
|
|
29499
29708
|
}), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
29500
29709
|
}
|
|
29501
29710
|
};
|
|
29502
|
-
DefaultCanvasSymbolPicker = __decorate$
|
|
29711
|
+
DefaultCanvasSymbolPicker = __decorate$f([injectable(), __param$d(0, inject(SymbolRender)), __metadata$d("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
|
|
29503
29712
|
|
|
29504
29713
|
let loadSymbolPick = !1;
|
|
29505
29714
|
const symbolCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29506
29715
|
loadSymbolPick || (loadSymbolPick = !0, bind(CanvasSymbolPicker).to(DefaultCanvasSymbolPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasSymbolPicker));
|
|
29507
29716
|
});
|
|
29508
29717
|
|
|
29509
|
-
var __decorate$
|
|
29718
|
+
var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29510
29719
|
var d,
|
|
29511
29720
|
c = arguments.length,
|
|
29512
29721
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29513
29722
|
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);
|
|
29514
29723
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29515
29724
|
},
|
|
29516
|
-
__metadata$
|
|
29725
|
+
__metadata$c = undefined && undefined.__metadata || function (k, v) {
|
|
29517
29726
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29518
29727
|
},
|
|
29519
|
-
__param$
|
|
29728
|
+
__param$c = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29520
29729
|
return function (target, key) {
|
|
29521
29730
|
decorator(target, key, paramIndex);
|
|
29522
29731
|
};
|
|
@@ -29526,24 +29735,24 @@
|
|
|
29526
29735
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
29527
29736
|
}
|
|
29528
29737
|
};
|
|
29529
|
-
DefaultCanvasCirclePicker = __decorate$
|
|
29738
|
+
DefaultCanvasCirclePicker = __decorate$e([injectable(), __param$c(0, inject(CircleRender)), __metadata$c("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
|
|
29530
29739
|
|
|
29531
29740
|
let loadCirclePick = !1;
|
|
29532
29741
|
const circleCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29533
29742
|
loadCirclePick || (loadCirclePick = !0, bind(CanvasCirclePicker).to(DefaultCanvasCirclePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasCirclePicker));
|
|
29534
29743
|
});
|
|
29535
29744
|
|
|
29536
|
-
var __decorate$
|
|
29745
|
+
var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29537
29746
|
var d,
|
|
29538
29747
|
c = arguments.length,
|
|
29539
29748
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29540
29749
|
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);
|
|
29541
29750
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29542
29751
|
},
|
|
29543
|
-
__metadata$
|
|
29752
|
+
__metadata$b = undefined && undefined.__metadata || function (k, v) {
|
|
29544
29753
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29545
29754
|
},
|
|
29546
|
-
__param$
|
|
29755
|
+
__param$b = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29547
29756
|
return function (target, key) {
|
|
29548
29757
|
decorator(target, key, paramIndex);
|
|
29549
29758
|
};
|
|
@@ -29596,24 +29805,24 @@
|
|
|
29596
29805
|
}, (context, symbolAttribute, themeAttribute) => picked), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
29597
29806
|
}
|
|
29598
29807
|
};
|
|
29599
|
-
DefaultCanvasTextPicker = __decorate$
|
|
29808
|
+
DefaultCanvasTextPicker = __decorate$d([injectable(), __param$b(0, inject(TextRender)), __metadata$b("design:paramtypes", [Object])], DefaultCanvasTextPicker);
|
|
29600
29809
|
|
|
29601
29810
|
let loadTextPick = !1;
|
|
29602
29811
|
const textCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29603
29812
|
loadTextPick || (loadTextPick = !0, bind(CanvasTextPicker).to(DefaultCanvasTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasTextPicker));
|
|
29604
29813
|
});
|
|
29605
29814
|
|
|
29606
|
-
var __decorate$
|
|
29815
|
+
var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29607
29816
|
var d,
|
|
29608
29817
|
c = arguments.length,
|
|
29609
29818
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29610
29819
|
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);
|
|
29611
29820
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29612
29821
|
},
|
|
29613
|
-
__metadata$
|
|
29822
|
+
__metadata$a = undefined && undefined.__metadata || function (k, v) {
|
|
29614
29823
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29615
29824
|
},
|
|
29616
|
-
__param$
|
|
29825
|
+
__param$a = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29617
29826
|
return function (target, key) {
|
|
29618
29827
|
decorator(target, key, paramIndex);
|
|
29619
29828
|
};
|
|
@@ -29623,24 +29832,24 @@
|
|
|
29623
29832
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
29624
29833
|
}
|
|
29625
29834
|
};
|
|
29626
|
-
DefaultCanvasPathPicker = __decorate$
|
|
29835
|
+
DefaultCanvasPathPicker = __decorate$c([injectable(), __param$a(0, inject(PathRender)), __metadata$a("design:paramtypes", [Object])], DefaultCanvasPathPicker);
|
|
29627
29836
|
|
|
29628
29837
|
let loadPathPick = !1;
|
|
29629
29838
|
const pathCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29630
29839
|
loadPathPick || (loadPathPick = !0, bind(CanvasPathPicker).to(DefaultCanvasPathPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPathPicker));
|
|
29631
29840
|
});
|
|
29632
29841
|
|
|
29633
|
-
var __decorate$
|
|
29842
|
+
var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29634
29843
|
var d,
|
|
29635
29844
|
c = arguments.length,
|
|
29636
29845
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29637
29846
|
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);
|
|
29638
29847
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29639
29848
|
},
|
|
29640
|
-
__metadata$
|
|
29849
|
+
__metadata$9 = undefined && undefined.__metadata || function (k, v) {
|
|
29641
29850
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29642
29851
|
},
|
|
29643
|
-
__param$
|
|
29852
|
+
__param$9 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29644
29853
|
return function (target, key) {
|
|
29645
29854
|
decorator(target, key, paramIndex);
|
|
29646
29855
|
};
|
|
@@ -29650,24 +29859,24 @@
|
|
|
29650
29859
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
29651
29860
|
}
|
|
29652
29861
|
};
|
|
29653
|
-
DefaultCanvasPolygonPicker = __decorate$
|
|
29862
|
+
DefaultCanvasPolygonPicker = __decorate$b([injectable(), __param$9(0, inject(PolygonRender)), __metadata$9("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
|
|
29654
29863
|
|
|
29655
29864
|
let loadPolygonPick = !1;
|
|
29656
29865
|
const polygonCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29657
29866
|
loadPolygonPick || (loadPolygonPick = !0, bind(CanvasPolygonPicker).to(DefaultCanvasPolygonPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPolygonPicker));
|
|
29658
29867
|
});
|
|
29659
29868
|
|
|
29660
|
-
var __decorate$
|
|
29869
|
+
var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29661
29870
|
var d,
|
|
29662
29871
|
c = arguments.length,
|
|
29663
29872
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29664
29873
|
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);
|
|
29665
29874
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29666
29875
|
},
|
|
29667
|
-
__metadata$
|
|
29876
|
+
__metadata$8 = undefined && undefined.__metadata || function (k, v) {
|
|
29668
29877
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29669
29878
|
},
|
|
29670
|
-
__param$
|
|
29879
|
+
__param$8 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29671
29880
|
return function (target, key) {
|
|
29672
29881
|
decorator(target, key, paramIndex);
|
|
29673
29882
|
};
|
|
@@ -29677,24 +29886,24 @@
|
|
|
29677
29886
|
super(), this.canvasRenderer = canvasRenderer;
|
|
29678
29887
|
}
|
|
29679
29888
|
};
|
|
29680
|
-
DefaultCanvasGlyphPicker = __decorate$
|
|
29889
|
+
DefaultCanvasGlyphPicker = __decorate$a([injectable(), __param$8(0, inject(GlyphRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasGlyphPicker);
|
|
29681
29890
|
|
|
29682
29891
|
let loadGlyphPick = !1;
|
|
29683
29892
|
const glyphCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29684
29893
|
loadGlyphPick || (loadGlyphPick = !0, bind(CanvasGlyphPicker).to(DefaultCanvasGlyphPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGlyphPicker));
|
|
29685
29894
|
});
|
|
29686
29895
|
|
|
29687
|
-
var __decorate$
|
|
29896
|
+
var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29688
29897
|
var d,
|
|
29689
29898
|
c = arguments.length,
|
|
29690
29899
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29691
29900
|
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);
|
|
29692
29901
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29693
29902
|
},
|
|
29694
|
-
__metadata$
|
|
29903
|
+
__metadata$7 = undefined && undefined.__metadata || function (k, v) {
|
|
29695
29904
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29696
29905
|
},
|
|
29697
|
-
__param$
|
|
29906
|
+
__param$7 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29698
29907
|
return function (target, key) {
|
|
29699
29908
|
decorator(target, key, paramIndex);
|
|
29700
29909
|
};
|
|
@@ -29707,24 +29916,24 @@
|
|
|
29707
29916
|
return !!richtext.AABBBounds.containsPoint(point);
|
|
29708
29917
|
}
|
|
29709
29918
|
};
|
|
29710
|
-
DefaultCanvasRichTextPicker = __decorate$
|
|
29919
|
+
DefaultCanvasRichTextPicker = __decorate$9([injectable(), __param$7(0, inject(RichTextRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
|
|
29711
29920
|
|
|
29712
29921
|
let loadRichtextPick = !1;
|
|
29713
29922
|
const richtextCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29714
29923
|
loadRichtextPick || (loadRichtextPick = !0, bind(CanvasRichTextPicker).to(DefaultCanvasRichTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRichTextPicker));
|
|
29715
29924
|
});
|
|
29716
29925
|
|
|
29717
|
-
var __decorate$
|
|
29926
|
+
var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29718
29927
|
var d,
|
|
29719
29928
|
c = arguments.length,
|
|
29720
29929
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29721
29930
|
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);
|
|
29722
29931
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29723
29932
|
},
|
|
29724
|
-
__metadata$
|
|
29933
|
+
__metadata$6 = undefined && undefined.__metadata || function (k, v) {
|
|
29725
29934
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29726
29935
|
},
|
|
29727
|
-
__param$
|
|
29936
|
+
__param$6 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29728
29937
|
return function (target, key) {
|
|
29729
29938
|
decorator(target, key, paramIndex);
|
|
29730
29939
|
};
|
|
@@ -29734,24 +29943,24 @@
|
|
|
29734
29943
|
super(), this.canvasRenderer = canvasRenderer, this.type = "image", this.numberType = IMAGE_NUMBER_TYPE;
|
|
29735
29944
|
}
|
|
29736
29945
|
};
|
|
29737
|
-
DefaultCanvasImagePicker = __decorate$
|
|
29946
|
+
DefaultCanvasImagePicker = __decorate$8([injectable(), __param$6(0, inject(ImageRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasImagePicker);
|
|
29738
29947
|
|
|
29739
29948
|
let loadImagePick = !1;
|
|
29740
29949
|
const imageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29741
29950
|
loadImagePick || (loadImagePick = !0, bind(CanvasImagePicker).to(DefaultCanvasImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasImagePicker));
|
|
29742
29951
|
});
|
|
29743
29952
|
|
|
29744
|
-
var __decorate$
|
|
29953
|
+
var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29745
29954
|
var d,
|
|
29746
29955
|
c = arguments.length,
|
|
29747
29956
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29748
29957
|
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);
|
|
29749
29958
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29750
29959
|
},
|
|
29751
|
-
__metadata$
|
|
29960
|
+
__metadata$5 = undefined && undefined.__metadata || function (k, v) {
|
|
29752
29961
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29753
29962
|
},
|
|
29754
|
-
__param$
|
|
29963
|
+
__param$5 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29755
29964
|
return function (target, key) {
|
|
29756
29965
|
decorator(target, key, paramIndex);
|
|
29757
29966
|
};
|
|
@@ -29761,24 +29970,24 @@
|
|
|
29761
29970
|
super(), this.canvasRenderer = canvasRenderer, this.type = "rect3d", this.numberType = RECT3D_NUMBER_TYPE, this.themeType = "rect";
|
|
29762
29971
|
}
|
|
29763
29972
|
};
|
|
29764
|
-
DefaultCanvasRect3dPicker = __decorate$
|
|
29973
|
+
DefaultCanvasRect3dPicker = __decorate$7([injectable(), __param$5(0, inject(Rect3DRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasRect3dPicker);
|
|
29765
29974
|
|
|
29766
29975
|
let loadRect3dPick = !1;
|
|
29767
29976
|
const rect3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29768
29977
|
loadRect3dPick || (loadRect3dPick = !0, bind(CanvasRect3dPicker).to(DefaultCanvasRect3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRect3dPicker));
|
|
29769
29978
|
});
|
|
29770
29979
|
|
|
29771
|
-
var __decorate$
|
|
29980
|
+
var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29772
29981
|
var d,
|
|
29773
29982
|
c = arguments.length,
|
|
29774
29983
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29775
29984
|
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);
|
|
29776
29985
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29777
29986
|
},
|
|
29778
|
-
__metadata$
|
|
29987
|
+
__metadata$4 = undefined && undefined.__metadata || function (k, v) {
|
|
29779
29988
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29780
29989
|
},
|
|
29781
|
-
__param$
|
|
29990
|
+
__param$4 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29782
29991
|
return function (target, key) {
|
|
29783
29992
|
decorator(target, key, paramIndex);
|
|
29784
29993
|
};
|
|
@@ -29788,24 +29997,24 @@
|
|
|
29788
29997
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc3d", this.numberType = ARC3D_NUMBER_TYPE, this.themeType = "arc";
|
|
29789
29998
|
}
|
|
29790
29999
|
};
|
|
29791
|
-
DefaultCanvasArc3dPicker = __decorate$
|
|
30000
|
+
DefaultCanvasArc3dPicker = __decorate$6([injectable(), __param$4(0, inject(Arc3dRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasArc3dPicker);
|
|
29792
30001
|
|
|
29793
30002
|
let loadArc3dPick = !1;
|
|
29794
30003
|
const arc3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
29795
30004
|
loadArc3dPick || (loadArc3dPick = !0, bind(CanvasArc3dPicker).to(DefaultCanvasArc3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArc3dPicker));
|
|
29796
30005
|
});
|
|
29797
30006
|
|
|
29798
|
-
var __decorate$
|
|
30007
|
+
var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29799
30008
|
var d,
|
|
29800
30009
|
c = arguments.length,
|
|
29801
30010
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29802
30011
|
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);
|
|
29803
30012
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29804
30013
|
},
|
|
29805
|
-
__metadata$
|
|
30014
|
+
__metadata$3 = undefined && undefined.__metadata || function (k, v) {
|
|
29806
30015
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29807
30016
|
},
|
|
29808
|
-
__param$
|
|
30017
|
+
__param$3 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
29809
30018
|
return function (target, key) {
|
|
29810
30019
|
decorator(target, key, paramIndex);
|
|
29811
30020
|
};
|
|
@@ -29815,7 +30024,7 @@
|
|
|
29815
30024
|
super(), this.canvasRenderer = canvasRenderer, this.type = "pyramid3d", this.numberType = PYRAMID3D_NUMBER_TYPE, this.themeType = "polygon";
|
|
29816
30025
|
}
|
|
29817
30026
|
};
|
|
29818
|
-
DefaultCanvasPyramid3dPicker = __decorate$
|
|
30027
|
+
DefaultCanvasPyramid3dPicker = __decorate$5([injectable(), __param$3(0, inject(Pyramid3dRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasPyramid3dPicker);
|
|
29819
30028
|
|
|
29820
30029
|
let loadPyramid3dPick = !1;
|
|
29821
30030
|
const pyramid3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -30464,7 +30673,7 @@
|
|
|
30464
30673
|
return new GifImage(attributes);
|
|
30465
30674
|
}
|
|
30466
30675
|
|
|
30467
|
-
var __decorate$
|
|
30676
|
+
var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30468
30677
|
var d,
|
|
30469
30678
|
c = arguments.length,
|
|
30470
30679
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -30482,24 +30691,24 @@
|
|
|
30482
30691
|
return !!pickContext && !!gifImage.AABBBounds.containsPoint(point);
|
|
30483
30692
|
}
|
|
30484
30693
|
};
|
|
30485
|
-
DefaultCanvasGifImagePicker = __decorate$
|
|
30694
|
+
DefaultCanvasGifImagePicker = __decorate$4([injectable()], DefaultCanvasGifImagePicker);
|
|
30486
30695
|
|
|
30487
30696
|
let loadGifImagePick = !1;
|
|
30488
30697
|
const gifImageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
30489
30698
|
loadGifImagePick || (loadGifImagePick = !0, bind(CanvasGifImagePicker).to(DefaultCanvasGifImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGifImagePicker));
|
|
30490
30699
|
});
|
|
30491
30700
|
|
|
30492
|
-
var __decorate$
|
|
30701
|
+
var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30493
30702
|
var d,
|
|
30494
30703
|
c = arguments.length,
|
|
30495
30704
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30496
30705
|
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);
|
|
30497
30706
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30498
30707
|
},
|
|
30499
|
-
__metadata$
|
|
30708
|
+
__metadata$2 = undefined && undefined.__metadata || function (k, v) {
|
|
30500
30709
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30501
30710
|
},
|
|
30502
|
-
__param$
|
|
30711
|
+
__param$2 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
30503
30712
|
return function (target, key) {
|
|
30504
30713
|
decorator(target, key, paramIndex);
|
|
30505
30714
|
};
|
|
@@ -30540,7 +30749,7 @@
|
|
|
30540
30749
|
this._draw(image, imageAttribute, !1, drawContext);
|
|
30541
30750
|
}
|
|
30542
30751
|
};
|
|
30543
|
-
DefaultCanvasGifImageRender = __decorate$
|
|
30752
|
+
DefaultCanvasGifImageRender = __decorate$3([injectable(), __param$2(0, inject(ContributionProvider)), __param$2(0, named(ImageRenderContribution)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasGifImageRender);
|
|
30544
30753
|
class DefaultGifImageRenderContribution extends DefaultRectRenderContribution {
|
|
30545
30754
|
constructor() {
|
|
30546
30755
|
super(...arguments), this.time = exports.BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -31279,17 +31488,17 @@
|
|
|
31279
31488
|
return new Lottie(attributes);
|
|
31280
31489
|
}
|
|
31281
31490
|
|
|
31282
|
-
var __decorate$
|
|
31491
|
+
var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31283
31492
|
var d,
|
|
31284
31493
|
c = arguments.length,
|
|
31285
31494
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31286
31495
|
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);
|
|
31287
31496
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31288
31497
|
},
|
|
31289
|
-
__metadata = undefined && undefined.__metadata || function (k, v) {
|
|
31498
|
+
__metadata$1 = undefined && undefined.__metadata || function (k, v) {
|
|
31290
31499
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31291
31500
|
},
|
|
31292
|
-
__param = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31501
|
+
__param$1 = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31293
31502
|
return function (target, key) {
|
|
31294
31503
|
decorator(target, key, paramIndex);
|
|
31295
31504
|
};
|
|
@@ -31299,14 +31508,14 @@
|
|
|
31299
31508
|
super(), this.canvasRenderer = canvasRenderer;
|
|
31300
31509
|
}
|
|
31301
31510
|
};
|
|
31302
|
-
DefaultCanvasLottiePicker = __decorate$
|
|
31511
|
+
DefaultCanvasLottiePicker = __decorate$2([injectable(), __param$1(0, inject(RectRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasLottiePicker);
|
|
31303
31512
|
|
|
31304
31513
|
let loadLottiePick = !1;
|
|
31305
31514
|
const lottieCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
31306
31515
|
loadLottiePick || (loadLottiePick = !0, bind(CanvasLottiePicker).to(DefaultCanvasLottiePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasLottiePicker));
|
|
31307
31516
|
});
|
|
31308
31517
|
|
|
31309
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31518
|
+
var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31310
31519
|
var d,
|
|
31311
31520
|
c = arguments.length,
|
|
31312
31521
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -31338,7 +31547,7 @@
|
|
|
31338
31547
|
context.fill();
|
|
31339
31548
|
}
|
|
31340
31549
|
};
|
|
31341
|
-
DefaultCanvasLottieRender = __decorate([injectable()], DefaultCanvasLottieRender);
|
|
31550
|
+
DefaultCanvasLottieRender = __decorate$1([injectable()], DefaultCanvasLottieRender);
|
|
31342
31551
|
|
|
31343
31552
|
let loadLottieModule = !1;
|
|
31344
31553
|
const lottieModule = new ContainerModule(bind => {
|
|
@@ -31449,6 +31658,39 @@
|
|
|
31449
31658
|
_registerText.__loaded = !1;
|
|
31450
31659
|
const registerText = _registerText;
|
|
31451
31660
|
|
|
31661
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31662
|
+
var d,
|
|
31663
|
+
c = arguments.length,
|
|
31664
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31665
|
+
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);
|
|
31666
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31667
|
+
},
|
|
31668
|
+
__metadata = undefined && undefined.__metadata || function (k, v) {
|
|
31669
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31670
|
+
},
|
|
31671
|
+
__param = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31672
|
+
return function (target, key) {
|
|
31673
|
+
decorator(target, key, paramIndex);
|
|
31674
|
+
};
|
|
31675
|
+
};
|
|
31676
|
+
let DefaultCanvasStarPicker = class extends PickerBase {
|
|
31677
|
+
constructor(canvasRenderer) {
|
|
31678
|
+
super(), this.canvasRenderer = canvasRenderer, this.type = "star", this.numberType = STAR_NUMBER_TYPE;
|
|
31679
|
+
}
|
|
31680
|
+
};
|
|
31681
|
+
DefaultCanvasStarPicker = __decorate([injectable(), __param(0, inject(StarRender)), __metadata("design:paramtypes", [Object])], DefaultCanvasStarPicker);
|
|
31682
|
+
|
|
31683
|
+
let loadStarPick = !1;
|
|
31684
|
+
const starCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
31685
|
+
loadStarPick || (loadStarPick = !0, bind(CanvasStarPicker).to(DefaultCanvasStarPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasStarPicker));
|
|
31686
|
+
});
|
|
31687
|
+
|
|
31688
|
+
function _registerStar() {
|
|
31689
|
+
_registerStar.__loaded || (_registerStar.__loaded = !0, registerStarGraphic(), container.load(starModule), container.load(starCanvasPickModule));
|
|
31690
|
+
}
|
|
31691
|
+
_registerStar.__loaded = !1;
|
|
31692
|
+
const registerStar = _registerStar;
|
|
31693
|
+
|
|
31452
31694
|
function _registerWrapText() {
|
|
31453
31695
|
_registerWrapText.__loaded || (_registerWrapText.__loaded = !0, registerWrapTextGraphic());
|
|
31454
31696
|
}
|
|
@@ -31640,7 +31882,7 @@
|
|
|
31640
31882
|
|
|
31641
31883
|
const roughModule = _roughModule;
|
|
31642
31884
|
|
|
31643
|
-
const version = "0.22.7
|
|
31885
|
+
const version = "0.22.7";
|
|
31644
31886
|
preLoadAllModule();
|
|
31645
31887
|
if (isBrowserEnv()) {
|
|
31646
31888
|
loadBrowserEnv(container);
|
|
@@ -31666,6 +31908,7 @@
|
|
|
31666
31908
|
registerSymbol();
|
|
31667
31909
|
registerText();
|
|
31668
31910
|
registerWrapText();
|
|
31911
|
+
registerStar();
|
|
31669
31912
|
registerFlexLayoutPlugin();
|
|
31670
31913
|
registerViewTransform3dPlugin();
|
|
31671
31914
|
registerHtmlAttributePlugin();
|
|
@@ -31717,6 +31960,7 @@
|
|
|
31717
31960
|
exports.CanvasRect3dPicker = CanvasRect3dPicker;
|
|
31718
31961
|
exports.CanvasRectPicker = CanvasRectPicker;
|
|
31719
31962
|
exports.CanvasRichTextPicker = CanvasRichTextPicker;
|
|
31963
|
+
exports.CanvasStarPicker = CanvasStarPicker;
|
|
31720
31964
|
exports.CanvasSymbolPicker = CanvasSymbolPicker;
|
|
31721
31965
|
exports.CanvasTextLayout = CanvasTextLayout;
|
|
31722
31966
|
exports.CanvasTextPicker = CanvasTextPicker;
|
|
@@ -31782,6 +32026,7 @@
|
|
|
31782
32026
|
exports.DefaultRectRenderContribution = DefaultRectRenderContribution;
|
|
31783
32027
|
exports.DefaultRichTextAttribute = DefaultRichTextAttribute;
|
|
31784
32028
|
exports.DefaultRichTextIconAttribute = DefaultRichTextIconAttribute;
|
|
32029
|
+
exports.DefaultStarAttribute = DefaultStarAttribute;
|
|
31785
32030
|
exports.DefaultStateAnimateConfig = DefaultStateAnimateConfig;
|
|
31786
32031
|
exports.DefaultStrokeStyle = DefaultStrokeStyle;
|
|
31787
32032
|
exports.DefaultStyle = DefaultStyle;
|
|
@@ -31918,6 +32163,7 @@
|
|
|
31918
32163
|
exports.RichTextEditPlugin = RichTextEditPlugin;
|
|
31919
32164
|
exports.RichTextRender = RichTextRender;
|
|
31920
32165
|
exports.RotateBySphereAnimate = RotateBySphereAnimate;
|
|
32166
|
+
exports.STAR_NUMBER_TYPE = STAR_NUMBER_TYPE;
|
|
31921
32167
|
exports.SVG_ATTRIBUTE_MAP = SVG_ATTRIBUTE_MAP;
|
|
31922
32168
|
exports.SVG_ATTRIBUTE_MAP_KEYS = SVG_ATTRIBUTE_MAP_KEYS;
|
|
31923
32169
|
exports.SVG_PARSE_ATTRIBUTE_MAP = SVG_PARSE_ATTRIBUTE_MAP;
|
|
@@ -31927,6 +32173,9 @@
|
|
|
31927
32173
|
exports.ShadowRoot = ShadowRoot;
|
|
31928
32174
|
exports.ShadowRootDrawItemInterceptorContribution = ShadowRootDrawItemInterceptorContribution;
|
|
31929
32175
|
exports.Stage = Stage;
|
|
32176
|
+
exports.Star = Star;
|
|
32177
|
+
exports.StarRender = StarRender;
|
|
32178
|
+
exports.StarRenderContribution = StarRenderContribution;
|
|
31930
32179
|
exports.StaticLayerHandlerContribution = StaticLayerHandlerContribution;
|
|
31931
32180
|
exports.Step = Step$1;
|
|
31932
32181
|
exports.StreamLight = StreamLight;
|
|
@@ -32039,6 +32288,7 @@
|
|
|
32039
32288
|
exports.createRichText = createRichText;
|
|
32040
32289
|
exports.createShadowRoot = createShadowRoot;
|
|
32041
32290
|
exports.createStage = createStage;
|
|
32291
|
+
exports.createStar = createStar;
|
|
32042
32292
|
exports.createSymbol = createSymbol;
|
|
32043
32293
|
exports.createText = createText;
|
|
32044
32294
|
exports.createWrapText = createWrapText;
|
|
@@ -32070,6 +32320,8 @@
|
|
|
32070
32320
|
exports.defaultRectBackgroundRenderContribution = defaultRectBackgroundRenderContribution;
|
|
32071
32321
|
exports.defaultRectRenderContribution = defaultRectRenderContribution;
|
|
32072
32322
|
exports.defaultRectTextureRenderContribution = defaultRectTextureRenderContribution;
|
|
32323
|
+
exports.defaultStarBackgroundRenderContribution = defaultStarBackgroundRenderContribution;
|
|
32324
|
+
exports.defaultStarTextureRenderContribution = defaultStarTextureRenderContribution;
|
|
32073
32325
|
exports.defaultSymbolAllocate = defaultSymbolAllocate;
|
|
32074
32326
|
exports.defaultSymbolBackgroundRenderContribution = defaultSymbolBackgroundRenderContribution;
|
|
32075
32327
|
exports.defaultSymbolClipRangeStrokeRenderContribution = defaultSymbolClipRangeStrokeRenderContribution;
|
|
@@ -32259,6 +32511,8 @@
|
|
|
32259
32511
|
exports.registerRichtextGraphic = registerRichtextGraphic;
|
|
32260
32512
|
exports.registerShadowRoot = registerShadowRoot;
|
|
32261
32513
|
exports.registerShadowRootGraphic = registerShadowRootGraphic;
|
|
32514
|
+
exports.registerStar = registerStar;
|
|
32515
|
+
exports.registerStarGraphic = registerStarGraphic;
|
|
32262
32516
|
exports.registerSymbol = registerSymbol;
|
|
32263
32517
|
exports.registerSymbolGraphic = registerSymbolGraphic;
|
|
32264
32518
|
exports.registerText = registerText;
|
|
@@ -32298,6 +32552,7 @@
|
|
|
32298
32552
|
exports.splitPolygon = splitPolygon;
|
|
32299
32553
|
exports.splitRect = splitRect;
|
|
32300
32554
|
exports.splitToGrids = splitToGrids;
|
|
32555
|
+
exports.starModule = starModule;
|
|
32301
32556
|
exports.strCommandMap = strCommandMap;
|
|
32302
32557
|
exports.strokeVisible = strokeVisible;
|
|
32303
32558
|
exports.symbolCanvasPickModule = symbolCanvasPickModule;
|