@visactor/vrender 0.18.11-alpha.2 → 0.18.11-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.js +738 -281
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1494,17 +1494,17 @@
|
|
|
1494
1494
|
var EnvContribution = Symbol["for"]("EnvContribution");
|
|
1495
1495
|
var VGlobal = Symbol["for"]("VGlobal");
|
|
1496
1496
|
|
|
1497
|
-
var __decorate$
|
|
1497
|
+
var __decorate$1H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
1498
1498
|
var d,
|
|
1499
1499
|
c = arguments.length,
|
|
1500
1500
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
1501
1501
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
1502
1502
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1503
1503
|
},
|
|
1504
|
-
__metadata$
|
|
1504
|
+
__metadata$1h = undefined && undefined.__metadata || function (k, v) {
|
|
1505
1505
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
1506
1506
|
},
|
|
1507
|
-
__param$
|
|
1507
|
+
__param$S = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
1508
1508
|
return function (target, key) {
|
|
1509
1509
|
decorator(target, key, paramIndex);
|
|
1510
1510
|
};
|
|
@@ -1743,7 +1743,7 @@
|
|
|
1743
1743
|
}
|
|
1744
1744
|
}]);
|
|
1745
1745
|
}();
|
|
1746
|
-
exports.DefaultGlobal = __decorate$
|
|
1746
|
+
exports.DefaultGlobal = __decorate$1H([injectable(), __param$S(0, inject(ContributionProvider)), __param$S(0, named(EnvContribution)), __metadata$1h("design:paramtypes", [Object])], exports.DefaultGlobal);
|
|
1747
1747
|
|
|
1748
1748
|
function getDefaultExportFromCjs (x) {
|
|
1749
1749
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -5400,7 +5400,7 @@
|
|
|
5400
5400
|
return "number" != typeof measurement.actualBoundingBoxAscent || "number" != typeof measurement.actualBoundingBoxDescent ? (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(measurement.actualBoundingBoxAscent + measurement.actualBoundingBoxDescent), result.ascent = Math.floor(measurement.actualBoundingBoxAscent), result.descent = result.height - result.ascent), result;
|
|
5401
5401
|
}
|
|
5402
5402
|
|
|
5403
|
-
var __decorate$
|
|
5403
|
+
var __decorate$1G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5404
5404
|
var d,
|
|
5405
5405
|
c = arguments.length,
|
|
5406
5406
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5704,9 +5704,9 @@
|
|
|
5704
5704
|
}
|
|
5705
5705
|
}]);
|
|
5706
5706
|
}();
|
|
5707
|
-
ATextMeasure = __decorate$
|
|
5707
|
+
ATextMeasure = __decorate$1G([injectable()], ATextMeasure);
|
|
5708
5708
|
|
|
5709
|
-
var __decorate$
|
|
5709
|
+
var __decorate$1F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5710
5710
|
var d,
|
|
5711
5711
|
c = arguments.length,
|
|
5712
5712
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5722,7 +5722,7 @@
|
|
|
5722
5722
|
_inherits(DefaultTextMeasureContribution, _ATextMeasure);
|
|
5723
5723
|
return _createClass(DefaultTextMeasureContribution);
|
|
5724
5724
|
}(ATextMeasure);
|
|
5725
|
-
exports.DefaultTextMeasureContribution = __decorate$
|
|
5725
|
+
exports.DefaultTextMeasureContribution = __decorate$1F([injectable()], exports.DefaultTextMeasureContribution);
|
|
5726
5726
|
|
|
5727
5727
|
var container = new Container();
|
|
5728
5728
|
|
|
@@ -6161,14 +6161,14 @@
|
|
|
6161
6161
|
}();
|
|
6162
6162
|
var canvasAllocate = new DefaultCanvasAllocate();
|
|
6163
6163
|
|
|
6164
|
-
var __decorate$
|
|
6164
|
+
var __decorate$1E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
6165
6165
|
var d,
|
|
6166
6166
|
c = arguments.length,
|
|
6167
6167
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
6168
6168
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
6169
6169
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6170
6170
|
},
|
|
6171
|
-
__metadata$
|
|
6171
|
+
__metadata$1g = undefined && undefined.__metadata || function (k, v) {
|
|
6172
6172
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
6173
6173
|
};
|
|
6174
6174
|
var VWindow = Symbol["for"]("VWindow");
|
|
@@ -6366,19 +6366,19 @@
|
|
|
6366
6366
|
}
|
|
6367
6367
|
}]);
|
|
6368
6368
|
}();
|
|
6369
|
-
exports.DefaultWindow = __decorate$
|
|
6369
|
+
exports.DefaultWindow = __decorate$1E([injectable(), __metadata$1g("design:paramtypes", [])], exports.DefaultWindow);
|
|
6370
6370
|
|
|
6371
|
-
var __decorate$
|
|
6371
|
+
var __decorate$1D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
6372
6372
|
var d,
|
|
6373
6373
|
c = arguments.length,
|
|
6374
6374
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
6375
6375
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
6376
6376
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6377
6377
|
},
|
|
6378
|
-
__metadata$
|
|
6378
|
+
__metadata$1f = undefined && undefined.__metadata || function (k, v) {
|
|
6379
6379
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
6380
6380
|
},
|
|
6381
|
-
__param$
|
|
6381
|
+
__param$R = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
6382
6382
|
return function (target, key) {
|
|
6383
6383
|
decorator(target, key, paramIndex);
|
|
6384
6384
|
};
|
|
@@ -6498,7 +6498,7 @@
|
|
|
6498
6498
|
}
|
|
6499
6499
|
}]);
|
|
6500
6500
|
}();
|
|
6501
|
-
exports.DefaultGraphicUtil = __decorate$
|
|
6501
|
+
exports.DefaultGraphicUtil = __decorate$1D([injectable(), __param$R(0, inject(ContributionProvider)), __param$R(0, named(TextMeasureContribution)), __metadata$1f("design:paramtypes", [Object])], exports.DefaultGraphicUtil);
|
|
6502
6502
|
var TransformMode;
|
|
6503
6503
|
!function (TransformMode) {
|
|
6504
6504
|
TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
|
|
@@ -6574,7 +6574,7 @@
|
|
|
6574
6574
|
}
|
|
6575
6575
|
}]);
|
|
6576
6576
|
}();
|
|
6577
|
-
exports.DefaultTransformUtil = __decorate$
|
|
6577
|
+
exports.DefaultTransformUtil = __decorate$1D([injectable(), __metadata$1f("design:paramtypes", [])], exports.DefaultTransformUtil);
|
|
6578
6578
|
|
|
6579
6579
|
var defaultThemeObj = {
|
|
6580
6580
|
arc: DefaultArcAttribute,
|
|
@@ -6710,7 +6710,7 @@
|
|
|
6710
6710
|
return null;
|
|
6711
6711
|
}
|
|
6712
6712
|
|
|
6713
|
-
var __awaiter$
|
|
6713
|
+
var __awaiter$5 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
6714
6714
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
6715
6715
|
function fulfilled(value) {
|
|
6716
6716
|
try {
|
|
@@ -6802,7 +6802,7 @@
|
|
|
6802
6802
|
key: "forEachChildrenAsync",
|
|
6803
6803
|
value: function forEachChildrenAsync(cb) {
|
|
6804
6804
|
var reverse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
|
|
6805
|
-
return __awaiter$
|
|
6805
|
+
return __awaiter$5(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6806
6806
|
var child, i, breakTag, _child2, _i2, _breakTag;
|
|
6807
6807
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6808
6808
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -12464,7 +12464,7 @@
|
|
|
12464
12464
|
return str.startsWith("<");
|
|
12465
12465
|
}
|
|
12466
12466
|
|
|
12467
|
-
var __awaiter$
|
|
12467
|
+
var __awaiter$4 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
12468
12468
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
12469
12469
|
function fulfilled(value) {
|
|
12470
12470
|
try {
|
|
@@ -12493,7 +12493,7 @@
|
|
|
12493
12493
|
group.incrementalAppendChild(graphic);
|
|
12494
12494
|
}
|
|
12495
12495
|
function waitForAllSubLayers(stage) {
|
|
12496
|
-
return __awaiter$
|
|
12496
|
+
return __awaiter$4(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
12497
12497
|
var promiseList, layers;
|
|
12498
12498
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12499
12499
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -13096,14 +13096,14 @@
|
|
|
13096
13096
|
var VirtualLayerHandlerContribution = Symbol["for"]("VirtualLayerHandlerContribution");
|
|
13097
13097
|
|
|
13098
13098
|
var _DefaultLayerService_,
|
|
13099
|
-
__decorate$
|
|
13099
|
+
__decorate$1C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13100
13100
|
var d,
|
|
13101
13101
|
c = arguments.length,
|
|
13102
13102
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
13103
13103
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
13104
13104
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13105
13105
|
},
|
|
13106
|
-
__metadata$
|
|
13106
|
+
__metadata$1e = undefined && undefined.__metadata || function (k, v) {
|
|
13107
13107
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
13108
13108
|
};
|
|
13109
13109
|
exports.DefaultLayerService = _DefaultLayerService_ = /*#__PURE__*/function () {
|
|
@@ -13193,7 +13193,7 @@
|
|
|
13193
13193
|
}
|
|
13194
13194
|
}]);
|
|
13195
13195
|
}();
|
|
13196
|
-
exports.DefaultLayerService.idprefix = "visactor_layer", exports.DefaultLayerService.prefix_count = 0, exports.DefaultLayerService = _DefaultLayerService_ = __decorate$
|
|
13196
|
+
exports.DefaultLayerService.idprefix = "visactor_layer", exports.DefaultLayerService.prefix_count = 0, exports.DefaultLayerService = _DefaultLayerService_ = __decorate$1C([injectable(), __metadata$1e("design:paramtypes", [])], exports.DefaultLayerService);
|
|
13197
13197
|
|
|
13198
13198
|
var coreModule = new ContainerModule(function (bind) {
|
|
13199
13199
|
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();
|
|
@@ -17372,17 +17372,17 @@
|
|
|
17372
17372
|
var matrixAllocate = new DefaultMatrixAllocate();
|
|
17373
17373
|
var mat4Allocate = new DefaultMat4Allocate();
|
|
17374
17374
|
|
|
17375
|
-
var __decorate$
|
|
17375
|
+
var __decorate$1B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17376
17376
|
var d,
|
|
17377
17377
|
c = arguments.length,
|
|
17378
17378
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
17379
17379
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
17380
17380
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17381
17381
|
},
|
|
17382
|
-
__metadata$
|
|
17382
|
+
__metadata$1d = undefined && undefined.__metadata || function (k, v) {
|
|
17383
17383
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
17384
17384
|
},
|
|
17385
|
-
__param$
|
|
17385
|
+
__param$Q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
17386
17386
|
return function (target, key) {
|
|
17387
17387
|
decorator(target, key, paramIndex);
|
|
17388
17388
|
};
|
|
@@ -18099,7 +18099,7 @@
|
|
|
18099
18099
|
}
|
|
18100
18100
|
}]);
|
|
18101
18101
|
}();
|
|
18102
|
-
exports.DefaultGraphicService = __decorate$
|
|
18102
|
+
exports.DefaultGraphicService = __decorate$1B([injectable(), __param$Q(0, inject(GraphicCreator$1)), __metadata$1d("design:paramtypes", [Object])], exports.DefaultGraphicService);
|
|
18103
18103
|
|
|
18104
18104
|
var GraphicCreator = /*#__PURE__*/function () {
|
|
18105
18105
|
function GraphicCreator() {
|
|
@@ -18632,17 +18632,17 @@
|
|
|
18632
18632
|
}), canvasGradient.GetPattern(w + x, h + y, undefined);
|
|
18633
18633
|
}
|
|
18634
18634
|
|
|
18635
|
-
var __decorate$
|
|
18635
|
+
var __decorate$1A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18636
18636
|
var d,
|
|
18637
18637
|
c = arguments.length,
|
|
18638
18638
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
18639
18639
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
18640
18640
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18641
18641
|
},
|
|
18642
|
-
__metadata$
|
|
18642
|
+
__metadata$1c = undefined && undefined.__metadata || function (k, v) {
|
|
18643
18643
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
18644
18644
|
},
|
|
18645
|
-
__param$
|
|
18645
|
+
__param$P = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
18646
18646
|
return function (target, key) {
|
|
18647
18647
|
decorator(target, key, paramIndex);
|
|
18648
18648
|
};
|
|
@@ -18730,7 +18730,7 @@
|
|
|
18730
18730
|
}
|
|
18731
18731
|
}]);
|
|
18732
18732
|
}();
|
|
18733
|
-
exports.DefaultBaseInteractiveRenderContribution = __decorate$
|
|
18733
|
+
exports.DefaultBaseInteractiveRenderContribution = __decorate$1A([injectable(), __param$P(0, inject(ContributionProvider)), __param$P(0, named(InteractiveSubRenderContribution)), __metadata$1c("design:paramtypes", [Object])], exports.DefaultBaseInteractiveRenderContribution);
|
|
18734
18734
|
|
|
18735
18735
|
var DefaultBaseTextureRenderContribution = /*#__PURE__*/function () {
|
|
18736
18736
|
function DefaultBaseTextureRenderContribution() {
|
|
@@ -19182,7 +19182,7 @@
|
|
|
19182
19182
|
}
|
|
19183
19183
|
var defaultImageBackgroundRenderContribution = new DefaultImageBackgroundRenderContribution();
|
|
19184
19184
|
|
|
19185
|
-
var __decorate$
|
|
19185
|
+
var __decorate$1z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19186
19186
|
var d,
|
|
19187
19187
|
c = arguments.length,
|
|
19188
19188
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19271,7 +19271,7 @@
|
|
|
19271
19271
|
}
|
|
19272
19272
|
}]);
|
|
19273
19273
|
}();
|
|
19274
|
-
exports.SplitRectBeforeRenderContribution = __decorate$
|
|
19274
|
+
exports.SplitRectBeforeRenderContribution = __decorate$1z([injectable()], exports.SplitRectBeforeRenderContribution);
|
|
19275
19275
|
exports.SplitRectAfterRenderContribution = /*#__PURE__*/function () {
|
|
19276
19276
|
function SplitRectAfterRenderContribution() {
|
|
19277
19277
|
_classCallCheck(this, SplitRectAfterRenderContribution);
|
|
@@ -19299,7 +19299,7 @@
|
|
|
19299
19299
|
}
|
|
19300
19300
|
}]);
|
|
19301
19301
|
}();
|
|
19302
|
-
exports.SplitRectAfterRenderContribution = __decorate$
|
|
19302
|
+
exports.SplitRectAfterRenderContribution = __decorate$1z([injectable()], exports.SplitRectAfterRenderContribution);
|
|
19303
19303
|
var defaultRectRenderContribution = new DefaultRectRenderContribution();
|
|
19304
19304
|
var defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
19305
19305
|
var defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
@@ -19389,17 +19389,17 @@
|
|
|
19389
19389
|
}]);
|
|
19390
19390
|
}(DefaultBaseTextureRenderContribution);
|
|
19391
19391
|
|
|
19392
|
-
var __decorate$
|
|
19392
|
+
var __decorate$1y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19393
19393
|
var d,
|
|
19394
19394
|
c = arguments.length,
|
|
19395
19395
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
19396
19396
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
19397
19397
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19398
19398
|
},
|
|
19399
|
-
__metadata$
|
|
19399
|
+
__metadata$1b = undefined && undefined.__metadata || function (k, v) {
|
|
19400
19400
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
19401
19401
|
},
|
|
19402
|
-
__param$
|
|
19402
|
+
__param$O = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
19403
19403
|
return function (target, key) {
|
|
19404
19404
|
decorator(target, key, paramIndex);
|
|
19405
19405
|
};
|
|
@@ -19573,19 +19573,19 @@
|
|
|
19573
19573
|
}
|
|
19574
19574
|
}]);
|
|
19575
19575
|
}(BaseRender);
|
|
19576
|
-
exports.DefaultCanvasArcRender = __decorate$
|
|
19576
|
+
exports.DefaultCanvasArcRender = __decorate$1y([injectable(), __param$O(0, inject(ContributionProvider)), __param$O(0, named(ArcRenderContribution)), __metadata$1b("design:paramtypes", [Object])], exports.DefaultCanvasArcRender);
|
|
19577
19577
|
|
|
19578
|
-
var __decorate$
|
|
19578
|
+
var __decorate$1x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19579
19579
|
var d,
|
|
19580
19580
|
c = arguments.length,
|
|
19581
19581
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
19582
19582
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
19583
19583
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19584
19584
|
},
|
|
19585
|
-
__metadata$
|
|
19585
|
+
__metadata$1a = undefined && undefined.__metadata || function (k, v) {
|
|
19586
19586
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
19587
19587
|
},
|
|
19588
|
-
__param$
|
|
19588
|
+
__param$N = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
19589
19589
|
return function (target, key) {
|
|
19590
19590
|
decorator(target, key, paramIndex);
|
|
19591
19591
|
};
|
|
@@ -19629,7 +19629,7 @@
|
|
|
19629
19629
|
}
|
|
19630
19630
|
}]);
|
|
19631
19631
|
}(BaseRender);
|
|
19632
|
-
exports.DefaultCanvasCircleRender = __decorate$
|
|
19632
|
+
exports.DefaultCanvasCircleRender = __decorate$1x([injectable(), __param$N(0, inject(ContributionProvider)), __param$N(0, named(CircleRenderContribution)), __metadata$1a("design:paramtypes", [Object])], exports.DefaultCanvasCircleRender);
|
|
19633
19633
|
|
|
19634
19634
|
function drawSegItem(ctx, curve, endPercent, params) {
|
|
19635
19635
|
if (!curve.p1) return;
|
|
@@ -19770,7 +19770,7 @@
|
|
|
19770
19770
|
});
|
|
19771
19771
|
}
|
|
19772
19772
|
|
|
19773
|
-
var __decorate$
|
|
19773
|
+
var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19774
19774
|
var d,
|
|
19775
19775
|
c = arguments.length,
|
|
19776
19776
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19952,7 +19952,7 @@
|
|
|
19952
19952
|
}
|
|
19953
19953
|
}]);
|
|
19954
19954
|
}(BaseRender);
|
|
19955
|
-
exports.DefaultCanvasLineRender = __decorate$
|
|
19955
|
+
exports.DefaultCanvasLineRender = __decorate$1w([injectable()], exports.DefaultCanvasLineRender);
|
|
19956
19956
|
|
|
19957
19957
|
function drawAreaSegments(path, segPath, percent, params) {
|
|
19958
19958
|
var _a;
|
|
@@ -20078,17 +20078,17 @@
|
|
|
20078
20078
|
var defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
|
|
20079
20079
|
var defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
20080
20080
|
|
|
20081
|
-
var __decorate$
|
|
20081
|
+
var __decorate$1v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20082
20082
|
var d,
|
|
20083
20083
|
c = arguments.length,
|
|
20084
20084
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20085
20085
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20086
20086
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20087
20087
|
},
|
|
20088
|
-
__metadata$
|
|
20088
|
+
__metadata$19 = undefined && undefined.__metadata || function (k, v) {
|
|
20089
20089
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20090
20090
|
},
|
|
20091
|
-
__param$
|
|
20091
|
+
__param$M = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20092
20092
|
return function (target, key) {
|
|
20093
20093
|
decorator(target, key, paramIndex);
|
|
20094
20094
|
};
|
|
@@ -20363,22 +20363,22 @@
|
|
|
20363
20363
|
}
|
|
20364
20364
|
}]);
|
|
20365
20365
|
}(BaseRender);
|
|
20366
|
-
exports.DefaultCanvasAreaRender = __decorate$
|
|
20366
|
+
exports.DefaultCanvasAreaRender = __decorate$1v([injectable(), __param$M(0, inject(ContributionProvider)), __param$M(0, named(AreaRenderContribution)), __metadata$19("design:paramtypes", [Object])], exports.DefaultCanvasAreaRender);
|
|
20367
20367
|
|
|
20368
20368
|
var defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
20369
20369
|
var defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
20370
20370
|
|
|
20371
|
-
var __decorate$
|
|
20371
|
+
var __decorate$1u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20372
20372
|
var d,
|
|
20373
20373
|
c = arguments.length,
|
|
20374
20374
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20375
20375
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20376
20376
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20377
20377
|
},
|
|
20378
|
-
__metadata$
|
|
20378
|
+
__metadata$18 = undefined && undefined.__metadata || function (k, v) {
|
|
20379
20379
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20380
20380
|
},
|
|
20381
|
-
__param$
|
|
20381
|
+
__param$L = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20382
20382
|
return function (target, key) {
|
|
20383
20383
|
decorator(target, key, paramIndex);
|
|
20384
20384
|
};
|
|
@@ -20422,19 +20422,19 @@
|
|
|
20422
20422
|
}
|
|
20423
20423
|
}]);
|
|
20424
20424
|
}(BaseRender);
|
|
20425
|
-
exports.DefaultCanvasPathRender = __decorate$
|
|
20425
|
+
exports.DefaultCanvasPathRender = __decorate$1u([injectable(), __param$L(0, inject(ContributionProvider)), __param$L(0, named(PathRenderContribution)), __metadata$18("design:paramtypes", [Object])], exports.DefaultCanvasPathRender);
|
|
20426
20426
|
|
|
20427
|
-
var __decorate$
|
|
20427
|
+
var __decorate$1t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20428
20428
|
var d,
|
|
20429
20429
|
c = arguments.length,
|
|
20430
20430
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20431
20431
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20432
20432
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20433
20433
|
},
|
|
20434
|
-
__metadata$
|
|
20434
|
+
__metadata$17 = undefined && undefined.__metadata || function (k, v) {
|
|
20435
20435
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20436
20436
|
},
|
|
20437
|
-
__param$
|
|
20437
|
+
__param$K = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20438
20438
|
return function (target, key) {
|
|
20439
20439
|
decorator(target, key, paramIndex);
|
|
20440
20440
|
};
|
|
@@ -20504,19 +20504,19 @@
|
|
|
20504
20504
|
}
|
|
20505
20505
|
}]);
|
|
20506
20506
|
}(BaseRender);
|
|
20507
|
-
exports.DefaultCanvasRectRender = __decorate$
|
|
20507
|
+
exports.DefaultCanvasRectRender = __decorate$1t([injectable(), __param$K(0, inject(ContributionProvider)), __param$K(0, named(RectRenderContribution)), __metadata$17("design:paramtypes", [Object])], exports.DefaultCanvasRectRender);
|
|
20508
20508
|
|
|
20509
|
-
var __decorate$
|
|
20509
|
+
var __decorate$1s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20510
20510
|
var d,
|
|
20511
20511
|
c = arguments.length,
|
|
20512
20512
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20513
20513
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20514
20514
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20515
20515
|
},
|
|
20516
|
-
__metadata$
|
|
20516
|
+
__metadata$16 = undefined && undefined.__metadata || function (k, v) {
|
|
20517
20517
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20518
20518
|
},
|
|
20519
|
-
__param$
|
|
20519
|
+
__param$J = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20520
20520
|
return function (target, key) {
|
|
20521
20521
|
decorator(target, key, paramIndex);
|
|
20522
20522
|
};
|
|
@@ -20585,7 +20585,7 @@
|
|
|
20585
20585
|
}
|
|
20586
20586
|
}]);
|
|
20587
20587
|
}(BaseRender);
|
|
20588
|
-
exports.DefaultCanvasSymbolRender = __decorate$
|
|
20588
|
+
exports.DefaultCanvasSymbolRender = __decorate$1s([injectable(), __param$J(0, inject(ContributionProvider)), __param$J(0, named(SymbolRenderContribution)), __metadata$16("design:paramtypes", [Object])], exports.DefaultCanvasSymbolRender);
|
|
20589
20589
|
|
|
20590
20590
|
var DefaultBoundsAllocate = /*#__PURE__*/function () {
|
|
20591
20591
|
function DefaultBoundsAllocate() {
|
|
@@ -20682,17 +20682,17 @@
|
|
|
20682
20682
|
}(DefaultBaseBackgroundRenderContribution);
|
|
20683
20683
|
var defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
|
|
20684
20684
|
|
|
20685
|
-
var __decorate$
|
|
20685
|
+
var __decorate$1r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20686
20686
|
var d,
|
|
20687
20687
|
c = arguments.length,
|
|
20688
20688
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20689
20689
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20690
20690
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20691
20691
|
},
|
|
20692
|
-
__metadata$
|
|
20692
|
+
__metadata$15 = undefined && undefined.__metadata || function (k, v) {
|
|
20693
20693
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20694
20694
|
},
|
|
20695
|
-
__param$
|
|
20695
|
+
__param$I = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20696
20696
|
return function (target, key) {
|
|
20697
20697
|
decorator(target, key, paramIndex);
|
|
20698
20698
|
};
|
|
@@ -20915,9 +20915,9 @@
|
|
|
20915
20915
|
}
|
|
20916
20916
|
}]);
|
|
20917
20917
|
}(BaseRender);
|
|
20918
|
-
exports.DefaultCanvasTextRender = __decorate$
|
|
20918
|
+
exports.DefaultCanvasTextRender = __decorate$1r([injectable(), __param$I(0, inject(ContributionProvider)), __param$I(0, named(TextRenderContribution)), __metadata$15("design:paramtypes", [Object])], exports.DefaultCanvasTextRender);
|
|
20919
20919
|
|
|
20920
|
-
var __decorate$
|
|
20920
|
+
var __decorate$1q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20921
20921
|
var d,
|
|
20922
20922
|
c = arguments.length,
|
|
20923
20923
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -20927,7 +20927,7 @@
|
|
|
20927
20927
|
exports.AbstractGraphicRender = /*#__PURE__*/_createClass(function AbstractGraphicRender() {
|
|
20928
20928
|
_classCallCheck(this, AbstractGraphicRender);
|
|
20929
20929
|
});
|
|
20930
|
-
exports.AbstractGraphicRender = __decorate$
|
|
20930
|
+
exports.AbstractGraphicRender = __decorate$1q([injectable()], exports.AbstractGraphicRender);
|
|
20931
20931
|
|
|
20932
20932
|
function drawPolygon(path, points, x, y) {
|
|
20933
20933
|
path.moveTo(points[0].x + x, points[0].y + y);
|
|
@@ -20983,17 +20983,17 @@
|
|
|
20983
20983
|
var defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
20984
20984
|
var defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
20985
20985
|
|
|
20986
|
-
var __decorate$
|
|
20986
|
+
var __decorate$1p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
20987
20987
|
var d,
|
|
20988
20988
|
c = arguments.length,
|
|
20989
20989
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
20990
20990
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
20991
20991
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20992
20992
|
},
|
|
20993
|
-
__metadata$
|
|
20993
|
+
__metadata$14 = undefined && undefined.__metadata || function (k, v) {
|
|
20994
20994
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
20995
20995
|
},
|
|
20996
|
-
__param$
|
|
20996
|
+
__param$H = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
20997
20997
|
return function (target, key) {
|
|
20998
20998
|
decorator(target, key, paramIndex);
|
|
20999
20999
|
};
|
|
@@ -21039,19 +21039,19 @@
|
|
|
21039
21039
|
}
|
|
21040
21040
|
}]);
|
|
21041
21041
|
}(BaseRender);
|
|
21042
|
-
exports.DefaultCanvasPolygonRender = __decorate$
|
|
21042
|
+
exports.DefaultCanvasPolygonRender = __decorate$1p([injectable(), __param$H(0, inject(ContributionProvider)), __param$H(0, named(PolygonRenderContribution)), __metadata$14("design:paramtypes", [Object])], exports.DefaultCanvasPolygonRender);
|
|
21043
21043
|
|
|
21044
|
-
var __decorate$
|
|
21044
|
+
var __decorate$1o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21045
21045
|
var d,
|
|
21046
21046
|
c = arguments.length,
|
|
21047
21047
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21048
21048
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21049
21049
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21050
21050
|
},
|
|
21051
|
-
__metadata$
|
|
21051
|
+
__metadata$13 = undefined && undefined.__metadata || function (k, v) {
|
|
21052
21052
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21053
21053
|
},
|
|
21054
|
-
__param$
|
|
21054
|
+
__param$G = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
21055
21055
|
return function (target, key) {
|
|
21056
21056
|
decorator(target, key, paramIndex);
|
|
21057
21057
|
};
|
|
@@ -21119,7 +21119,7 @@
|
|
|
21119
21119
|
}
|
|
21120
21120
|
}]);
|
|
21121
21121
|
}(BaseRender);
|
|
21122
|
-
exports.DefaultCanvasImageRender = __decorate$
|
|
21122
|
+
exports.DefaultCanvasImageRender = __decorate$1o([injectable(), __param$G(0, inject(ContributionProvider)), __param$G(0, named(ImageRenderContribution)), __metadata$13("design:paramtypes", [Object])], exports.DefaultCanvasImageRender);
|
|
21123
21123
|
|
|
21124
21124
|
var IncrementalDrawContribution = Symbol["for"]("IncrementalDrawContribution");
|
|
21125
21125
|
var ArcRender = Symbol["for"]("ArcRender");
|
|
@@ -21142,14 +21142,14 @@
|
|
|
21142
21142
|
var RenderSelector = Symbol["for"]("RenderSelector");
|
|
21143
21143
|
var DrawContribution = Symbol["for"]("DrawContribution");
|
|
21144
21144
|
|
|
21145
|
-
var __decorate$
|
|
21145
|
+
var __decorate$1n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21146
21146
|
var d,
|
|
21147
21147
|
c = arguments.length,
|
|
21148
21148
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21149
21149
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21150
21150
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21151
21151
|
},
|
|
21152
|
-
__metadata
|
|
21152
|
+
__metadata$12 = undefined && undefined.__metadata || function (k, v) {
|
|
21153
21153
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21154
21154
|
};
|
|
21155
21155
|
var DrawItemInterceptor = Symbol["for"]("DrawItemInterceptor");
|
|
@@ -21224,7 +21224,7 @@
|
|
|
21224
21224
|
}
|
|
21225
21225
|
}]);
|
|
21226
21226
|
}();
|
|
21227
|
-
exports.CommonDrawItemInterceptorContribution = __decorate$
|
|
21227
|
+
exports.CommonDrawItemInterceptorContribution = __decorate$1n([injectable(), __metadata$12("design:paramtypes", [])], exports.CommonDrawItemInterceptorContribution);
|
|
21228
21228
|
var InteractiveDrawItemInterceptorContribution = /*#__PURE__*/function () {
|
|
21229
21229
|
function InteractiveDrawItemInterceptorContribution() {
|
|
21230
21230
|
_classCallCheck(this, InteractiveDrawItemInterceptorContribution);
|
|
@@ -21372,17 +21372,17 @@
|
|
|
21372
21372
|
}]);
|
|
21373
21373
|
}();
|
|
21374
21374
|
|
|
21375
|
-
var __decorate$
|
|
21375
|
+
var __decorate$1m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21376
21376
|
var d,
|
|
21377
21377
|
c = arguments.length,
|
|
21378
21378
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21379
21379
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21380
21380
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21381
21381
|
},
|
|
21382
|
-
__metadata$
|
|
21382
|
+
__metadata$11 = undefined && undefined.__metadata || function (k, v) {
|
|
21383
21383
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21384
21384
|
},
|
|
21385
|
-
__param$
|
|
21385
|
+
__param$F = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
21386
21386
|
return function (target, key) {
|
|
21387
21387
|
decorator(target, key, paramIndex);
|
|
21388
21388
|
};
|
|
@@ -21438,7 +21438,7 @@
|
|
|
21438
21438
|
}
|
|
21439
21439
|
}]);
|
|
21440
21440
|
}();
|
|
21441
|
-
exports.DefaultRenderService = __decorate$
|
|
21441
|
+
exports.DefaultRenderService = __decorate$1m([injectable(), __param$F(0, inject(DrawContribution)), __metadata$11("design:paramtypes", [Object])], exports.DefaultRenderService);
|
|
21442
21442
|
|
|
21443
21443
|
var renderModule$1 = new ContainerModule(function (bind) {
|
|
21444
21444
|
bind(RenderService).to(exports.DefaultRenderService).inSingletonScope();
|
|
@@ -21449,7 +21449,7 @@
|
|
|
21449
21449
|
var BoundsPicker = Symbol["for"]("BoundsPicker");
|
|
21450
21450
|
var GlobalPickerService = Symbol["for"]("GlobalPickerService");
|
|
21451
21451
|
|
|
21452
|
-
var __decorate$
|
|
21452
|
+
var __decorate$1l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21453
21453
|
var d,
|
|
21454
21454
|
c = arguments.length,
|
|
21455
21455
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21489,7 +21489,7 @@
|
|
|
21489
21489
|
}
|
|
21490
21490
|
}]);
|
|
21491
21491
|
}();
|
|
21492
|
-
exports.ShadowRootPickItemInterceptorContribution = __decorate$
|
|
21492
|
+
exports.ShadowRootPickItemInterceptorContribution = __decorate$1l([injectable()], exports.ShadowRootPickItemInterceptorContribution);
|
|
21493
21493
|
exports.InteractivePickItemInterceptorContribution = /*#__PURE__*/function () {
|
|
21494
21494
|
function InteractivePickItemInterceptorContribution() {
|
|
21495
21495
|
_classCallCheck(this, InteractivePickItemInterceptorContribution);
|
|
@@ -21512,7 +21512,7 @@
|
|
|
21512
21512
|
}
|
|
21513
21513
|
}]);
|
|
21514
21514
|
}();
|
|
21515
|
-
exports.InteractivePickItemInterceptorContribution = __decorate$
|
|
21515
|
+
exports.InteractivePickItemInterceptorContribution = __decorate$1l([injectable()], exports.InteractivePickItemInterceptorContribution);
|
|
21516
21516
|
exports.Canvas3DPickItemInterceptor = /*#__PURE__*/function () {
|
|
21517
21517
|
function Canvas3DPickItemInterceptor() {
|
|
21518
21518
|
_classCallCheck(this, Canvas3DPickItemInterceptor);
|
|
@@ -21588,7 +21588,7 @@
|
|
|
21588
21588
|
}
|
|
21589
21589
|
}]);
|
|
21590
21590
|
}();
|
|
21591
|
-
exports.Canvas3DPickItemInterceptor = __decorate$
|
|
21591
|
+
exports.Canvas3DPickItemInterceptor = __decorate$1l([injectable()], exports.Canvas3DPickItemInterceptor);
|
|
21592
21592
|
|
|
21593
21593
|
var pickModule = new ContainerModule(function (bind, unbind, isBound) {
|
|
21594
21594
|
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);
|
|
@@ -21601,17 +21601,17 @@
|
|
|
21601
21601
|
var AutoEnablePlugins = Symbol["for"]("AutoEnablePlugins");
|
|
21602
21602
|
var PluginService = Symbol["for"]("PluginService");
|
|
21603
21603
|
|
|
21604
|
-
var __decorate$
|
|
21604
|
+
var __decorate$1k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21605
21605
|
var d,
|
|
21606
21606
|
c = arguments.length,
|
|
21607
21607
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21608
21608
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21609
21609
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21610
21610
|
},
|
|
21611
|
-
__metadata$
|
|
21611
|
+
__metadata$10 = undefined && undefined.__metadata || function (k, v) {
|
|
21612
21612
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21613
21613
|
},
|
|
21614
|
-
__param$
|
|
21614
|
+
__param$E = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
21615
21615
|
return function (target, key) {
|
|
21616
21616
|
decorator(target, key, paramIndex);
|
|
21617
21617
|
};
|
|
@@ -21663,7 +21663,7 @@
|
|
|
21663
21663
|
}
|
|
21664
21664
|
}]);
|
|
21665
21665
|
}();
|
|
21666
|
-
DefaultPluginService = __decorate$
|
|
21666
|
+
DefaultPluginService = __decorate$1k([injectable(), __param$E(0, inject(ContributionProvider)), __param$E(0, named(AutoEnablePlugins)), __metadata$10("design:paramtypes", [Object])], DefaultPluginService);
|
|
21667
21667
|
|
|
21668
21668
|
var pluginModule = new ContainerModule(function (bind) {
|
|
21669
21669
|
bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
|
|
@@ -21677,14 +21677,14 @@
|
|
|
21677
21677
|
bind(TextMeasureContribution).to(exports.DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
|
|
21678
21678
|
});
|
|
21679
21679
|
|
|
21680
|
-
var __decorate$
|
|
21680
|
+
var __decorate$1j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21681
21681
|
var d,
|
|
21682
21682
|
c = arguments.length,
|
|
21683
21683
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21684
21684
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21685
21685
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21686
21686
|
},
|
|
21687
|
-
__metadata
|
|
21687
|
+
__metadata$$ = undefined && undefined.__metadata || function (k, v) {
|
|
21688
21688
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21689
21689
|
};
|
|
21690
21690
|
var CanvasLayerHandlerContribution = /*#__PURE__*/function () {
|
|
@@ -21777,16 +21777,16 @@
|
|
|
21777
21777
|
}
|
|
21778
21778
|
}]);
|
|
21779
21779
|
}();
|
|
21780
|
-
CanvasLayerHandlerContribution = __decorate$
|
|
21780
|
+
CanvasLayerHandlerContribution = __decorate$1j([injectable(), __metadata$$("design:paramtypes", [])], CanvasLayerHandlerContribution);
|
|
21781
21781
|
|
|
21782
|
-
var __decorate$
|
|
21782
|
+
var __decorate$1i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21783
21783
|
var d,
|
|
21784
21784
|
c = arguments.length,
|
|
21785
21785
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21786
21786
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21787
21787
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21788
21788
|
},
|
|
21789
|
-
__metadata$
|
|
21789
|
+
__metadata$_ = undefined && undefined.__metadata || function (k, v) {
|
|
21790
21790
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21791
21791
|
};
|
|
21792
21792
|
var EmptyLayerHandlerContribution = /*#__PURE__*/function () {
|
|
@@ -21843,16 +21843,16 @@
|
|
|
21843
21843
|
value: function release() {}
|
|
21844
21844
|
}]);
|
|
21845
21845
|
}();
|
|
21846
|
-
EmptyLayerHandlerContribution = __decorate$
|
|
21846
|
+
EmptyLayerHandlerContribution = __decorate$1i([injectable(), __metadata$_("design:paramtypes", [])], EmptyLayerHandlerContribution);
|
|
21847
21847
|
|
|
21848
|
-
var __decorate$
|
|
21848
|
+
var __decorate$1h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21849
21849
|
var d,
|
|
21850
21850
|
c = arguments.length,
|
|
21851
21851
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
21852
21852
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
21853
21853
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
21854
21854
|
},
|
|
21855
|
-
__metadata$
|
|
21855
|
+
__metadata$Z = undefined && undefined.__metadata || function (k, v) {
|
|
21856
21856
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
21857
21857
|
};
|
|
21858
21858
|
var OffscreenLayerHandlerContribution = /*#__PURE__*/function () {
|
|
@@ -21935,7 +21935,7 @@
|
|
|
21935
21935
|
value: function merge(layerHandlers) {}
|
|
21936
21936
|
}]);
|
|
21937
21937
|
}();
|
|
21938
|
-
OffscreenLayerHandlerContribution = __decorate$
|
|
21938
|
+
OffscreenLayerHandlerContribution = __decorate$1h([injectable(), __metadata$Z("design:paramtypes", [])], OffscreenLayerHandlerContribution);
|
|
21939
21939
|
|
|
21940
21940
|
var layerHandlerModules = new ContainerModule(function (bind) {
|
|
21941
21941
|
bind(CanvasLayerHandlerContribution).toSelf(), bind(OffscreenLayerHandlerContribution).toSelf(), bind(EmptyLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution), bind(DynamicLayerHandlerContribution).toService(OffscreenLayerHandlerContribution), bind(VirtualLayerHandlerContribution).toService(EmptyLayerHandlerContribution);
|
|
@@ -21945,7 +21945,7 @@
|
|
|
21945
21945
|
container.load(envModules), container.load(textMeasureModules), container.load(layerHandlerModules);
|
|
21946
21946
|
}
|
|
21947
21947
|
|
|
21948
|
-
var __awaiter$
|
|
21948
|
+
var __awaiter$3 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
21949
21949
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
21950
21950
|
function fulfilled(value) {
|
|
21951
21951
|
try {
|
|
@@ -22010,7 +22010,7 @@
|
|
|
22010
22010
|
}
|
|
22011
22011
|
function foreachAsync(graphic, defaultZIndex, cb) {
|
|
22012
22012
|
var reverse = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !1;
|
|
22013
|
-
return __awaiter$
|
|
22013
|
+
return __awaiter$3(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
22014
22014
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
22015
22015
|
while (1) switch (_context.prev = _context.next) {
|
|
22016
22016
|
case 0:
|
|
@@ -22062,17 +22062,17 @@
|
|
|
22062
22062
|
return result;
|
|
22063
22063
|
}
|
|
22064
22064
|
|
|
22065
|
-
var __decorate$
|
|
22065
|
+
var __decorate$1g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
22066
22066
|
var d,
|
|
22067
22067
|
c = arguments.length,
|
|
22068
22068
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
22069
22069
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
22070
22070
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22071
22071
|
},
|
|
22072
|
-
__metadata$
|
|
22072
|
+
__metadata$Y = undefined && undefined.__metadata || function (k, v) {
|
|
22073
22073
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
22074
22074
|
},
|
|
22075
|
-
__param$
|
|
22075
|
+
__param$D = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
22076
22076
|
return function (target, key) {
|
|
22077
22077
|
decorator(target, key, paramIndex);
|
|
22078
22078
|
};
|
|
@@ -22285,19 +22285,19 @@
|
|
|
22285
22285
|
value: function afterDraw(renderService, drawParams) {}
|
|
22286
22286
|
}]);
|
|
22287
22287
|
}();
|
|
22288
|
-
DefaultDrawContribution = __decorate$
|
|
22288
|
+
DefaultDrawContribution = __decorate$1g([injectable(), __param$D(0, multiInject(GraphicRender)), __param$D(1, inject(ContributionProvider)), __param$D(1, named(DrawItemInterceptor)), __metadata$Y("design:paramtypes", [Array, Object])], DefaultDrawContribution);
|
|
22289
22289
|
|
|
22290
|
-
var __decorate$
|
|
22290
|
+
var __decorate$1f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
22291
22291
|
var d,
|
|
22292
22292
|
c = arguments.length,
|
|
22293
22293
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
22294
22294
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
22295
22295
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22296
22296
|
},
|
|
22297
|
-
__metadata$
|
|
22297
|
+
__metadata$X = undefined && undefined.__metadata || function (k, v) {
|
|
22298
22298
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
22299
22299
|
},
|
|
22300
|
-
__param$
|
|
22300
|
+
__param$C = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
22301
22301
|
return function (target, key) {
|
|
22302
22302
|
decorator(target, key, paramIndex);
|
|
22303
22303
|
};
|
|
@@ -22398,9 +22398,9 @@
|
|
|
22398
22398
|
}
|
|
22399
22399
|
}]);
|
|
22400
22400
|
}();
|
|
22401
|
-
DefaultCanvasGroupRender = __decorate$
|
|
22401
|
+
DefaultCanvasGroupRender = __decorate$1f([injectable(), __param$C(0, inject(ContributionProvider)), __param$C(0, named(GroupRenderContribution)), __metadata$X("design:paramtypes", [Object])], DefaultCanvasGroupRender);
|
|
22402
22402
|
|
|
22403
|
-
var __decorate$
|
|
22403
|
+
var __decorate$1e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
22404
22404
|
var d,
|
|
22405
22405
|
c = arguments.length,
|
|
22406
22406
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -22462,9 +22462,9 @@
|
|
|
22462
22462
|
}
|
|
22463
22463
|
}]);
|
|
22464
22464
|
}(exports.DefaultCanvasLineRender);
|
|
22465
|
-
DefaultIncrementalCanvasLineRender = __decorate$
|
|
22465
|
+
DefaultIncrementalCanvasLineRender = __decorate$1e([injectable()], DefaultIncrementalCanvasLineRender);
|
|
22466
22466
|
|
|
22467
|
-
var __decorate$
|
|
22467
|
+
var __decorate$1d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
22468
22468
|
var d,
|
|
22469
22469
|
c = arguments.length,
|
|
22470
22470
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -22517,25 +22517,25 @@
|
|
|
22517
22517
|
}
|
|
22518
22518
|
}]);
|
|
22519
22519
|
}(exports.DefaultCanvasAreaRender);
|
|
22520
|
-
DefaultIncrementalCanvasAreaRender = __decorate$
|
|
22520
|
+
DefaultIncrementalCanvasAreaRender = __decorate$1d([injectable()], DefaultIncrementalCanvasAreaRender);
|
|
22521
22521
|
|
|
22522
22522
|
var STATUS,
|
|
22523
|
-
__decorate$
|
|
22523
|
+
__decorate$1c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
22524
22524
|
var d,
|
|
22525
22525
|
c = arguments.length,
|
|
22526
22526
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
22527
22527
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
22528
22528
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22529
22529
|
},
|
|
22530
|
-
__metadata$
|
|
22530
|
+
__metadata$W = undefined && undefined.__metadata || function (k, v) {
|
|
22531
22531
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
22532
22532
|
},
|
|
22533
|
-
__param$
|
|
22533
|
+
__param$B = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
22534
22534
|
return function (target, key) {
|
|
22535
22535
|
decorator(target, key, paramIndex);
|
|
22536
22536
|
};
|
|
22537
22537
|
},
|
|
22538
|
-
__awaiter$
|
|
22538
|
+
__awaiter$2 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
22539
22539
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
22540
22540
|
function fulfilled(value) {
|
|
22541
22541
|
try {
|
|
@@ -22576,7 +22576,7 @@
|
|
|
22576
22576
|
return _createClass(DefaultIncrementalDrawContribution, [{
|
|
22577
22577
|
key: "draw",
|
|
22578
22578
|
value: function draw(renderService, drawContext) {
|
|
22579
|
-
return __awaiter$
|
|
22579
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
22580
22580
|
var _this2 = this;
|
|
22581
22581
|
var skipDraw, context, viewBox;
|
|
22582
22582
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -22619,7 +22619,7 @@
|
|
|
22619
22619
|
}, {
|
|
22620
22620
|
key: "_increaseRender",
|
|
22621
22621
|
value: function _increaseRender(group, drawContext) {
|
|
22622
|
-
return __awaiter$
|
|
22622
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
22623
22623
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
22624
22624
|
while (1) switch (_context2.prev = _context2.next) {
|
|
22625
22625
|
case 0:
|
|
@@ -22636,7 +22636,7 @@
|
|
|
22636
22636
|
}, {
|
|
22637
22637
|
key: "_renderIncrementalGroup",
|
|
22638
22638
|
value: function _renderIncrementalGroup(group, drawContext) {
|
|
22639
|
-
return __awaiter$
|
|
22639
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
22640
22640
|
var _this3 = this;
|
|
22641
22641
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
22642
22642
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -22646,7 +22646,7 @@
|
|
|
22646
22646
|
return new Promise(function (resolve) {
|
|
22647
22647
|
_this3.renderItem(group, drawContext, {
|
|
22648
22648
|
drawingCb: function drawingCb() {
|
|
22649
|
-
return __awaiter$
|
|
22649
|
+
return __awaiter$2(_this3, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
22650
22650
|
var _this4 = this;
|
|
22651
22651
|
var graphic;
|
|
22652
22652
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
@@ -22719,7 +22719,7 @@
|
|
|
22719
22719
|
}, {
|
|
22720
22720
|
key: "waitToNextFrame",
|
|
22721
22721
|
value: function waitToNextFrame() {
|
|
22722
|
-
return __awaiter$
|
|
22722
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
22723
22723
|
var _this5 = this;
|
|
22724
22724
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
22725
22725
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -22739,7 +22739,7 @@
|
|
|
22739
22739
|
}, {
|
|
22740
22740
|
key: "checkForDraw",
|
|
22741
22741
|
value: function checkForDraw(drawContext) {
|
|
22742
|
-
return __awaiter$
|
|
22742
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
22743
22743
|
var skip;
|
|
22744
22744
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
22745
22745
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -22767,7 +22767,7 @@
|
|
|
22767
22767
|
}, {
|
|
22768
22768
|
key: "forceStop",
|
|
22769
22769
|
value: function forceStop() {
|
|
22770
|
-
return __awaiter$
|
|
22770
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
22771
22771
|
var _this6 = this;
|
|
22772
22772
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
22773
22773
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -22801,7 +22801,7 @@
|
|
|
22801
22801
|
}, {
|
|
22802
22802
|
key: "renderGroup",
|
|
22803
22803
|
value: function renderGroup(group, drawContext) {
|
|
22804
|
-
return __awaiter$
|
|
22804
|
+
return __awaiter$2(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
22805
22805
|
var _this7 = this;
|
|
22806
22806
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
22807
22807
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -22825,14 +22825,14 @@
|
|
|
22825
22825
|
return new Promise(function (resolve) {
|
|
22826
22826
|
_this7.renderItem(group, drawContext, {
|
|
22827
22827
|
drawingCb: function drawingCb() {
|
|
22828
|
-
return __awaiter$
|
|
22828
|
+
return __awaiter$2(_this7, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
22829
22829
|
var _this8 = this;
|
|
22830
22830
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
22831
22831
|
while (1) switch (_context9.prev = _context9.next) {
|
|
22832
22832
|
case 0:
|
|
22833
22833
|
_context9.next = 2;
|
|
22834
22834
|
return foreachAsync(group, DefaultAttribute.zIndex, function (item) {
|
|
22835
|
-
return __awaiter$
|
|
22835
|
+
return __awaiter$2(_this8, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
22836
22836
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
22837
22837
|
while (1) switch (_context8.prev = _context8.next) {
|
|
22838
22838
|
case 0:
|
|
@@ -22879,7 +22879,7 @@
|
|
|
22879
22879
|
}
|
|
22880
22880
|
}]);
|
|
22881
22881
|
}(DefaultDrawContribution);
|
|
22882
|
-
DefaultIncrementalDrawContribution = __decorate$
|
|
22882
|
+
DefaultIncrementalDrawContribution = __decorate$1c([injectable(), __param$B(0, multiInject(GraphicRender)), __param$B(1, inject(DefaultIncrementalCanvasLineRender)), __param$B(2, inject(DefaultIncrementalCanvasAreaRender)), __param$B(3, inject(ContributionProvider)), __param$B(3, named(DrawItemInterceptor)), __metadata$W("design:paramtypes", [Array, Object, Object, Object])], DefaultIncrementalDrawContribution);
|
|
22883
22883
|
|
|
22884
22884
|
var renderModule = new ContainerModule(function (bind) {
|
|
22885
22885
|
bind(DefaultBaseBackgroundRenderContribution).toSelf().inSingletonScope(), bind(DefaultBaseTextureRenderContribution).toSelf().inSingletonScope(), bind(DrawContribution).to(DefaultDrawContribution), bind(IncrementalDrawContribution).to(DefaultIncrementalDrawContribution), bind(GroupRender).to(DefaultCanvasGroupRender).inSingletonScope(), bind(GraphicRender).toService(GroupRender), bindContributionProvider(bind, GroupRenderContribution), bind(exports.DefaultBaseInteractiveRenderContribution).toSelf().inSingletonScope(), bindContributionProvider(bind, InteractiveSubRenderContribution), bindContributionProvider(bind, GraphicRender), bind(exports.CommonDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(exports.CommonDrawItemInterceptorContribution), bindContributionProvider(bind, DrawItemInterceptor);
|
|
@@ -24358,14 +24358,14 @@
|
|
|
24358
24358
|
|
|
24359
24359
|
var strCommandMap = ["arc", "arcTo", "bezierCurveTo", "closePath", "ellipse", "lineTo", "moveTo", "quadraticCurveTo", "rect"];
|
|
24360
24360
|
|
|
24361
|
-
var __decorate$
|
|
24361
|
+
var __decorate$1b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24362
24362
|
var d,
|
|
24363
24363
|
c = arguments.length,
|
|
24364
24364
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24365
24365
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
24366
24366
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24367
24367
|
},
|
|
24368
|
-
__metadata$
|
|
24368
|
+
__metadata$V = undefined && undefined.__metadata || function (k, v) {
|
|
24369
24369
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24370
24370
|
};
|
|
24371
24371
|
var initMatrix = new Matrix(1, 0, 0, 1, 0, 0),
|
|
@@ -24711,16 +24711,16 @@
|
|
|
24711
24711
|
}
|
|
24712
24712
|
}]);
|
|
24713
24713
|
}();
|
|
24714
|
-
exports.EmptyContext2d = __decorate$
|
|
24714
|
+
exports.EmptyContext2d = __decorate$1b([injectable(), __metadata$V("design:paramtypes", [Object, Number])], exports.EmptyContext2d);
|
|
24715
24715
|
|
|
24716
|
-
var __decorate$
|
|
24716
|
+
var __decorate$1a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24717
24717
|
var d,
|
|
24718
24718
|
c = arguments.length,
|
|
24719
24719
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
24720
24720
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
24721
24721
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24722
24722
|
},
|
|
24723
|
-
__metadata$
|
|
24723
|
+
__metadata$U = undefined && undefined.__metadata || function (k, v) {
|
|
24724
24724
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
24725
24725
|
};
|
|
24726
24726
|
var DefaultConfig = {
|
|
@@ -24866,9 +24866,9 @@
|
|
|
24866
24866
|
}
|
|
24867
24867
|
}]);
|
|
24868
24868
|
}();
|
|
24869
|
-
exports.BaseCanvas.env = "browser", exports.BaseCanvas = __decorate$
|
|
24869
|
+
exports.BaseCanvas.env = "browser", exports.BaseCanvas = __decorate$1a([injectable(), __metadata$U("design:paramtypes", [Object])], exports.BaseCanvas);
|
|
24870
24870
|
|
|
24871
|
-
var __decorate$
|
|
24871
|
+
var __decorate$19 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24872
24872
|
var d,
|
|
24873
24873
|
c = arguments.length,
|
|
24874
24874
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -24991,16 +24991,16 @@
|
|
|
24991
24991
|
}
|
|
24992
24992
|
}]);
|
|
24993
24993
|
}();
|
|
24994
|
-
exports.BaseEnvContribution = __decorate$
|
|
24994
|
+
exports.BaseEnvContribution = __decorate$19([injectable()], exports.BaseEnvContribution);
|
|
24995
24995
|
|
|
24996
|
-
var __decorate$
|
|
24996
|
+
var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
24997
24997
|
var d,
|
|
24998
24998
|
c = arguments.length,
|
|
24999
24999
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25000
25000
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
25001
25001
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25002
25002
|
},
|
|
25003
|
-
__metadata$
|
|
25003
|
+
__metadata$T = undefined && undefined.__metadata || function (k, v) {
|
|
25004
25004
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25005
25005
|
};
|
|
25006
25006
|
exports.BaseWindowHandlerContribution = /*#__PURE__*/function () {
|
|
@@ -25061,19 +25061,19 @@
|
|
|
25061
25061
|
}
|
|
25062
25062
|
}]);
|
|
25063
25063
|
}();
|
|
25064
|
-
exports.BaseWindowHandlerContribution = __decorate$
|
|
25064
|
+
exports.BaseWindowHandlerContribution = __decorate$18([injectable(), __metadata$T("design:paramtypes", [])], exports.BaseWindowHandlerContribution);
|
|
25065
25065
|
|
|
25066
|
-
var __decorate$
|
|
25066
|
+
var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25067
25067
|
var d,
|
|
25068
25068
|
c = arguments.length,
|
|
25069
25069
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25070
25070
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
25071
25071
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25072
25072
|
},
|
|
25073
|
-
__metadata$
|
|
25073
|
+
__metadata$S = undefined && undefined.__metadata || function (k, v) {
|
|
25074
25074
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25075
25075
|
},
|
|
25076
|
-
__param$
|
|
25076
|
+
__param$A = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
25077
25077
|
return function (target, key) {
|
|
25078
25078
|
decorator(target, key, paramIndex);
|
|
25079
25079
|
};
|
|
@@ -25196,16 +25196,16 @@
|
|
|
25196
25196
|
}
|
|
25197
25197
|
}]);
|
|
25198
25198
|
}();
|
|
25199
|
-
exports.DefaultPickService = __decorate$
|
|
25199
|
+
exports.DefaultPickService = __decorate$17([injectable(), __param$A(0, inject(ContributionProvider)), __param$A(0, named(PickItemInterceptor)), __metadata$S("design:paramtypes", [Object])], exports.DefaultPickService);
|
|
25200
25200
|
|
|
25201
|
-
var __decorate$
|
|
25201
|
+
var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25202
25202
|
var d,
|
|
25203
25203
|
c = arguments.length,
|
|
25204
25204
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25205
25205
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
25206
25206
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25207
25207
|
},
|
|
25208
|
-
__metadata$
|
|
25208
|
+
__metadata$R = undefined && undefined.__metadata || function (k, v) {
|
|
25209
25209
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25210
25210
|
};
|
|
25211
25211
|
exports.DefaultGlobalPickerService = /*#__PURE__*/function () {
|
|
@@ -25284,7 +25284,7 @@
|
|
|
25284
25284
|
}
|
|
25285
25285
|
}]);
|
|
25286
25286
|
}();
|
|
25287
|
-
exports.DefaultGlobalPickerService = __decorate$
|
|
25287
|
+
exports.DefaultGlobalPickerService = __decorate$16([injectable(), __metadata$R("design:paramtypes", [])], exports.DefaultGlobalPickerService);
|
|
25288
25288
|
|
|
25289
25289
|
function simplifyRadialDist(points, sqTolerance) {
|
|
25290
25290
|
var deltaX,
|
|
@@ -25595,7 +25595,7 @@
|
|
|
25595
25595
|
loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(exports.DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(exports.DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
|
|
25596
25596
|
});
|
|
25597
25597
|
|
|
25598
|
-
var __decorate$
|
|
25598
|
+
var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25599
25599
|
var d,
|
|
25600
25600
|
c = arguments.length,
|
|
25601
25601
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -25631,21 +25631,21 @@
|
|
|
25631
25631
|
}
|
|
25632
25632
|
}]);
|
|
25633
25633
|
}();
|
|
25634
|
-
DefaultCanvasGlyphRender = __decorate$
|
|
25634
|
+
DefaultCanvasGlyphRender = __decorate$15([injectable()], DefaultCanvasGlyphRender);
|
|
25635
25635
|
|
|
25636
25636
|
var loadGlyphModule = !1;
|
|
25637
25637
|
var glyphModule = new ContainerModule(function (bind) {
|
|
25638
25638
|
loadGlyphModule || (loadGlyphModule = !0, bind(GlyphRender).to(DefaultCanvasGlyphRender).inSingletonScope(), bind(GraphicRender).toService(GlyphRender));
|
|
25639
25639
|
});
|
|
25640
25640
|
|
|
25641
|
-
var __decorate$
|
|
25641
|
+
var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25642
25642
|
var d,
|
|
25643
25643
|
c = arguments.length,
|
|
25644
25644
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
25645
25645
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
25646
25646
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25647
25647
|
},
|
|
25648
|
-
__metadata$
|
|
25648
|
+
__metadata$Q = undefined && undefined.__metadata || function (k, v) {
|
|
25649
25649
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
25650
25650
|
};
|
|
25651
25651
|
var DefaultCanvasRichTextRender = /*#__PURE__*/function (_BaseRender) {
|
|
@@ -25721,7 +25721,7 @@
|
|
|
25721
25721
|
}
|
|
25722
25722
|
}]);
|
|
25723
25723
|
}(BaseRender);
|
|
25724
|
-
DefaultCanvasRichTextRender = __decorate$
|
|
25724
|
+
DefaultCanvasRichTextRender = __decorate$14([injectable(), __metadata$Q("design:paramtypes", [])], DefaultCanvasRichTextRender);
|
|
25725
25725
|
|
|
25726
25726
|
var loadRichtextModule = !1;
|
|
25727
25727
|
var richtextModule = new ContainerModule(function (bind) {
|
|
@@ -25733,7 +25733,7 @@
|
|
|
25733
25733
|
loadImageModule || (loadImageModule = !0, bind(ImageRender).to(exports.DefaultCanvasImageRender).inSingletonScope(), bind(GraphicRender).toService(ImageRender), bind(ImageRenderContribution).toService(exports.DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, ImageRenderContribution));
|
|
25734
25734
|
});
|
|
25735
25735
|
|
|
25736
|
-
var __decorate
|
|
25736
|
+
var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25737
25737
|
var d,
|
|
25738
25738
|
c = arguments.length,
|
|
25739
25739
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -25877,14 +25877,14 @@
|
|
|
25877
25877
|
}
|
|
25878
25878
|
}]);
|
|
25879
25879
|
}(BaseRender);
|
|
25880
|
-
DefaultCanvasRect3dRender = __decorate
|
|
25880
|
+
DefaultCanvasRect3dRender = __decorate$13([injectable()], DefaultCanvasRect3dRender);
|
|
25881
25881
|
|
|
25882
25882
|
var loadRect3dModule = !1;
|
|
25883
25883
|
var rect3dModule = new ContainerModule(function (bind) {
|
|
25884
25884
|
loadRect3dModule || (loadRect3dModule = !0, bind(Rect3DRender).to(DefaultCanvasRect3dRender).inSingletonScope(), bind(GraphicRender).toService(Rect3DRender));
|
|
25885
25885
|
});
|
|
25886
25886
|
|
|
25887
|
-
var __decorate$
|
|
25887
|
+
var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
25888
25888
|
var d,
|
|
25889
25889
|
c = arguments.length,
|
|
25890
25890
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26014,14 +26014,14 @@
|
|
|
26014
26014
|
}
|
|
26015
26015
|
}]);
|
|
26016
26016
|
}(BaseRender);
|
|
26017
|
-
DefaultCanvasArc3DRender = __decorate$
|
|
26017
|
+
DefaultCanvasArc3DRender = __decorate$12([injectable()], DefaultCanvasArc3DRender);
|
|
26018
26018
|
|
|
26019
26019
|
var loadArc3dModule = !1;
|
|
26020
26020
|
var arc3dModule = new ContainerModule(function (bind) {
|
|
26021
26021
|
loadArc3dModule || (loadArc3dModule = !0, bind(Arc3dRender).to(DefaultCanvasArc3DRender).inSingletonScope(), bind(GraphicRender).toService(Arc3dRender));
|
|
26022
26022
|
});
|
|
26023
26023
|
|
|
26024
|
-
var __decorate$
|
|
26024
|
+
var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
26025
26025
|
var d,
|
|
26026
26026
|
c = arguments.length,
|
|
26027
26027
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -26144,7 +26144,7 @@
|
|
|
26144
26144
|
}
|
|
26145
26145
|
}]);
|
|
26146
26146
|
}(BaseRender);
|
|
26147
|
-
DefaultCanvasPyramid3dRender = __decorate$
|
|
26147
|
+
DefaultCanvasPyramid3dRender = __decorate$11([injectable()], DefaultCanvasPyramid3dRender);
|
|
26148
26148
|
|
|
26149
26149
|
var loadPyramid3dModule = !1;
|
|
26150
26150
|
var pyramid3dModule = new ContainerModule(function (bind) {
|
|
@@ -28071,17 +28071,17 @@
|
|
|
28071
28071
|
fixedDecimalPlaceDigits: void 0
|
|
28072
28072
|
};
|
|
28073
28073
|
|
|
28074
|
-
var __decorate$
|
|
28074
|
+
var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28075
28075
|
var d,
|
|
28076
28076
|
c = arguments.length,
|
|
28077
28077
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28078
28078
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
28079
28079
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28080
28080
|
},
|
|
28081
|
-
__metadata$
|
|
28081
|
+
__metadata$P = undefined && undefined.__metadata || function (k, v) {
|
|
28082
28082
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28083
28083
|
},
|
|
28084
|
-
__param$
|
|
28084
|
+
__param$z = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28085
28085
|
return function (target, key) {
|
|
28086
28086
|
decorator(target, key, paramIndex);
|
|
28087
28087
|
};
|
|
@@ -28201,9 +28201,9 @@
|
|
|
28201
28201
|
}
|
|
28202
28202
|
}]);
|
|
28203
28203
|
}();
|
|
28204
|
-
RoughCanvasArcRender = __decorate$
|
|
28204
|
+
RoughCanvasArcRender = __decorate$10([injectable(), __param$z(0, inject(exports.DefaultCanvasArcRender)), __metadata$P("design:paramtypes", [Object])], RoughCanvasArcRender);
|
|
28205
28205
|
|
|
28206
|
-
var __decorate
|
|
28206
|
+
var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28207
28207
|
var d,
|
|
28208
28208
|
c = arguments.length,
|
|
28209
28209
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28305,19 +28305,19 @@
|
|
|
28305
28305
|
}
|
|
28306
28306
|
}]);
|
|
28307
28307
|
}(exports.DefaultCanvasAreaRender);
|
|
28308
|
-
RoughCanvasAreaRender = __decorate
|
|
28308
|
+
RoughCanvasAreaRender = __decorate$$([injectable()], RoughCanvasAreaRender);
|
|
28309
28309
|
|
|
28310
|
-
var __decorate$
|
|
28310
|
+
var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28311
28311
|
var d,
|
|
28312
28312
|
c = arguments.length,
|
|
28313
28313
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28314
28314
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
28315
28315
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28316
28316
|
},
|
|
28317
|
-
__metadata$
|
|
28317
|
+
__metadata$O = undefined && undefined.__metadata || function (k, v) {
|
|
28318
28318
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28319
28319
|
},
|
|
28320
|
-
__param$
|
|
28320
|
+
__param$y = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28321
28321
|
return function (target, key) {
|
|
28322
28322
|
decorator(target, key, paramIndex);
|
|
28323
28323
|
};
|
|
@@ -28365,9 +28365,9 @@
|
|
|
28365
28365
|
}
|
|
28366
28366
|
}]);
|
|
28367
28367
|
}();
|
|
28368
|
-
RoughCanvasCircleRender = __decorate$
|
|
28368
|
+
RoughCanvasCircleRender = __decorate$_([injectable(), __param$y(0, inject(exports.DefaultCanvasCircleRender)), __metadata$O("design:paramtypes", [Object])], RoughCanvasCircleRender);
|
|
28369
28369
|
|
|
28370
|
-
var __decorate$
|
|
28370
|
+
var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28371
28371
|
var d,
|
|
28372
28372
|
c = arguments.length,
|
|
28373
28373
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -28470,19 +28470,19 @@
|
|
|
28470
28470
|
}
|
|
28471
28471
|
}]);
|
|
28472
28472
|
}(exports.DefaultCanvasLineRender);
|
|
28473
|
-
RoughCanvasLineRender = __decorate$
|
|
28473
|
+
RoughCanvasLineRender = __decorate$Z([injectable()], RoughCanvasLineRender);
|
|
28474
28474
|
|
|
28475
|
-
var __decorate$
|
|
28475
|
+
var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28476
28476
|
var d,
|
|
28477
28477
|
c = arguments.length,
|
|
28478
28478
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28479
28479
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
28480
28480
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28481
28481
|
},
|
|
28482
|
-
__metadata$
|
|
28482
|
+
__metadata$N = undefined && undefined.__metadata || function (k, v) {
|
|
28483
28483
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28484
28484
|
},
|
|
28485
|
-
__param$
|
|
28485
|
+
__param$x = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28486
28486
|
return function (target, key) {
|
|
28487
28487
|
decorator(target, key, paramIndex);
|
|
28488
28488
|
};
|
|
@@ -28587,19 +28587,19 @@
|
|
|
28587
28587
|
}
|
|
28588
28588
|
}]);
|
|
28589
28589
|
}();
|
|
28590
|
-
RoughCanvasPathRender = __decorate$
|
|
28590
|
+
RoughCanvasPathRender = __decorate$Y([injectable(), __param$x(0, inject(exports.DefaultCanvasPathRender)), __metadata$N("design:paramtypes", [Object])], RoughCanvasPathRender);
|
|
28591
28591
|
|
|
28592
|
-
var __decorate$
|
|
28592
|
+
var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28593
28593
|
var d,
|
|
28594
28594
|
c = arguments.length,
|
|
28595
28595
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28596
28596
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
28597
28597
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28598
28598
|
},
|
|
28599
|
-
__metadata$
|
|
28599
|
+
__metadata$M = undefined && undefined.__metadata || function (k, v) {
|
|
28600
28600
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28601
28601
|
},
|
|
28602
|
-
__param$
|
|
28602
|
+
__param$w = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28603
28603
|
return function (target, key) {
|
|
28604
28604
|
decorator(target, key, paramIndex);
|
|
28605
28605
|
};
|
|
@@ -28725,19 +28725,19 @@
|
|
|
28725
28725
|
}
|
|
28726
28726
|
}]);
|
|
28727
28727
|
}();
|
|
28728
|
-
RoughCanvasRectRender = __decorate$
|
|
28728
|
+
RoughCanvasRectRender = __decorate$X([injectable(), __param$w(0, inject(exports.DefaultCanvasRectRender)), __metadata$M("design:paramtypes", [Object])], RoughCanvasRectRender);
|
|
28729
28729
|
|
|
28730
|
-
var __decorate$
|
|
28730
|
+
var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
28731
28731
|
var d,
|
|
28732
28732
|
c = arguments.length,
|
|
28733
28733
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
28734
28734
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
28735
28735
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
28736
28736
|
},
|
|
28737
|
-
__metadata$
|
|
28737
|
+
__metadata$L = undefined && undefined.__metadata || function (k, v) {
|
|
28738
28738
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
28739
28739
|
},
|
|
28740
|
-
__param$
|
|
28740
|
+
__param$v = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
28741
28741
|
return function (target, key) {
|
|
28742
28742
|
decorator(target, key, paramIndex);
|
|
28743
28743
|
};
|
|
@@ -28860,7 +28860,7 @@
|
|
|
28860
28860
|
}
|
|
28861
28861
|
}]);
|
|
28862
28862
|
}(BaseRender);
|
|
28863
|
-
RoughCanvasSymbolRender = __decorate$
|
|
28863
|
+
RoughCanvasSymbolRender = __decorate$W([injectable(), __param$v(0, inject(exports.DefaultCanvasSymbolRender)), __metadata$L("design:paramtypes", [Object])], RoughCanvasSymbolRender);
|
|
28864
28864
|
|
|
28865
28865
|
var _roughModule = new ContainerModule(function (bind) {
|
|
28866
28866
|
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);
|
|
@@ -29366,14 +29366,14 @@
|
|
|
29366
29366
|
}]);
|
|
29367
29367
|
}(EventEmitter);
|
|
29368
29368
|
|
|
29369
|
-
var __decorate$
|
|
29369
|
+
var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
29370
29370
|
var d,
|
|
29371
29371
|
c = arguments.length,
|
|
29372
29372
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
29373
29373
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
29374
29374
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
29375
29375
|
},
|
|
29376
|
-
__metadata$
|
|
29376
|
+
__metadata$K = undefined && undefined.__metadata || function (k, v) {
|
|
29377
29377
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
29378
29378
|
};
|
|
29379
29379
|
var outP = [0, 0, 0],
|
|
@@ -30070,16 +30070,16 @@
|
|
|
30070
30070
|
}
|
|
30071
30071
|
}]);
|
|
30072
30072
|
}();
|
|
30073
|
-
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$
|
|
30073
|
+
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$V([injectable(), __metadata$K("design:paramtypes", [Object, Number])], BrowserContext2d);
|
|
30074
30074
|
|
|
30075
|
-
var __decorate$
|
|
30075
|
+
var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30076
30076
|
var d,
|
|
30077
30077
|
c = arguments.length,
|
|
30078
30078
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30079
30079
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30080
30080
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30081
30081
|
},
|
|
30082
|
-
__metadata$
|
|
30082
|
+
__metadata$J = undefined && undefined.__metadata || function (k, v) {
|
|
30083
30083
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30084
30084
|
};
|
|
30085
30085
|
var BrowserCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -30159,7 +30159,7 @@
|
|
|
30159
30159
|
}
|
|
30160
30160
|
}]);
|
|
30161
30161
|
}(exports.BaseCanvas);
|
|
30162
|
-
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$
|
|
30162
|
+
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$U([injectable(), __metadata$J("design:paramtypes", [Object])], BrowserCanvas);
|
|
30163
30163
|
|
|
30164
30164
|
function createModule(CanvasConstructor, ContextConstructor) {
|
|
30165
30165
|
return new ContainerModule(function (bind) {
|
|
@@ -30207,17 +30207,17 @@
|
|
|
30207
30207
|
var CanvasGroupPicker = Symbol["for"]("CanvasGroupPicker");
|
|
30208
30208
|
var CanvasPickerContribution = Symbol["for"]("CanvasPickerContribution");
|
|
30209
30209
|
|
|
30210
|
-
var __decorate$
|
|
30210
|
+
var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30211
30211
|
var d,
|
|
30212
30212
|
c = arguments.length,
|
|
30213
30213
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30214
30214
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30215
30215
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30216
30216
|
},
|
|
30217
|
-
__metadata$
|
|
30217
|
+
__metadata$I = undefined && undefined.__metadata || function (k, v) {
|
|
30218
30218
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30219
30219
|
},
|
|
30220
|
-
__param$
|
|
30220
|
+
__param$u = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
30221
30221
|
return function (target, key) {
|
|
30222
30222
|
decorator(target, key, paramIndex);
|
|
30223
30223
|
};
|
|
@@ -30278,9 +30278,9 @@
|
|
|
30278
30278
|
}
|
|
30279
30279
|
}]);
|
|
30280
30280
|
}(exports.DefaultPickService);
|
|
30281
|
-
DefaultCanvasPickerService = __decorate$
|
|
30281
|
+
DefaultCanvasPickerService = __decorate$T([injectable(), __param$u(0, inject(ContributionProvider)), __param$u(0, named(CanvasPickerContribution)), __param$u(1, inject(DrawContribution)), __param$u(2, inject(ContributionProvider)), __param$u(2, named(PickItemInterceptor)), __metadata$I("design:paramtypes", [Object, Object, Object])], DefaultCanvasPickerService);
|
|
30282
30282
|
|
|
30283
|
-
var __decorate$
|
|
30283
|
+
var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30284
30284
|
var d,
|
|
30285
30285
|
c = arguments.length,
|
|
30286
30286
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -30299,7 +30299,7 @@
|
|
|
30299
30299
|
}
|
|
30300
30300
|
}]);
|
|
30301
30301
|
}();
|
|
30302
|
-
DefaultCanvasGroupPicker = __decorate$
|
|
30302
|
+
DefaultCanvasGroupPicker = __decorate$S([injectable()], DefaultCanvasGroupPicker);
|
|
30303
30303
|
|
|
30304
30304
|
var m$1 = new ContainerModule(function (bind, unbind, isBound, rebind) {
|
|
30305
30305
|
m$1.__vloaded || (m$1.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
@@ -30315,14 +30315,14 @@
|
|
|
30315
30315
|
}
|
|
30316
30316
|
|
|
30317
30317
|
var _BrowserWindowHandlerContribution_,
|
|
30318
|
-
__decorate$
|
|
30318
|
+
__decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30319
30319
|
var d,
|
|
30320
30320
|
c = arguments.length,
|
|
30321
30321
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30322
30322
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30323
30323
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30324
30324
|
},
|
|
30325
|
-
__metadata$
|
|
30325
|
+
__metadata$H = undefined && undefined.__metadata || function (k, v) {
|
|
30326
30326
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30327
30327
|
};
|
|
30328
30328
|
var BrowserWindowHandlerContribution = _BrowserWindowHandlerContribution_ = /*#__PURE__*/function (_BaseWindowHandlerCon) {
|
|
@@ -30540,21 +30540,21 @@
|
|
|
30540
30540
|
}
|
|
30541
30541
|
}]);
|
|
30542
30542
|
}(exports.BaseWindowHandlerContribution);
|
|
30543
|
-
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = _BrowserWindowHandlerContribution_ = __decorate$
|
|
30543
|
+
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = _BrowserWindowHandlerContribution_ = __decorate$R([injectable(), __metadata$H("design:paramtypes", [])], BrowserWindowHandlerContribution);
|
|
30544
30544
|
var browserWindowModule = new ContainerModule(function (bind) {
|
|
30545
30545
|
bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
30546
30546
|
return ctx.container.get(BrowserWindowHandlerContribution);
|
|
30547
30547
|
}).whenTargetNamed(BrowserWindowHandlerContribution.env);
|
|
30548
30548
|
});
|
|
30549
30549
|
|
|
30550
|
-
var __decorate$
|
|
30550
|
+
var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30551
30551
|
var d,
|
|
30552
30552
|
c = arguments.length,
|
|
30553
30553
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30554
30554
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30555
30555
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30556
30556
|
},
|
|
30557
|
-
__metadata$
|
|
30557
|
+
__metadata$G = undefined && undefined.__metadata || function (k, v) {
|
|
30558
30558
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30559
30559
|
};
|
|
30560
30560
|
var DynamicB = /*#__PURE__*/function () {
|
|
@@ -30817,7 +30817,7 @@
|
|
|
30817
30817
|
}
|
|
30818
30818
|
}]);
|
|
30819
30819
|
}(exports.BaseEnvContribution);
|
|
30820
|
-
BrowserEnvContribution = __decorate$
|
|
30820
|
+
BrowserEnvContribution = __decorate$Q([injectable(), __metadata$G("design:paramtypes", [])], BrowserEnvContribution);
|
|
30821
30821
|
|
|
30822
30822
|
var browserEnvModule = new ContainerModule(function (bind) {
|
|
30823
30823
|
browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
|
|
@@ -30832,7 +30832,7 @@
|
|
|
30832
30832
|
loadBrowserEnv(container);
|
|
30833
30833
|
}
|
|
30834
30834
|
|
|
30835
|
-
var __decorate$
|
|
30835
|
+
var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30836
30836
|
var d,
|
|
30837
30837
|
c = arguments.length,
|
|
30838
30838
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -30893,16 +30893,16 @@
|
|
|
30893
30893
|
}
|
|
30894
30894
|
}]);
|
|
30895
30895
|
}(BrowserContext2d);
|
|
30896
|
-
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$
|
|
30896
|
+
FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$P([injectable()], FeishuContext2d);
|
|
30897
30897
|
|
|
30898
|
-
var __decorate$
|
|
30898
|
+
var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30899
30899
|
var d,
|
|
30900
30900
|
c = arguments.length,
|
|
30901
30901
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30902
30902
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30903
30903
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30904
30904
|
},
|
|
30905
|
-
__metadata$
|
|
30905
|
+
__metadata$F = undefined && undefined.__metadata || function (k, v) {
|
|
30906
30906
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30907
30907
|
};
|
|
30908
30908
|
var FeishuCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -30921,26 +30921,26 @@
|
|
|
30921
30921
|
value: function release() {}
|
|
30922
30922
|
}]);
|
|
30923
30923
|
}(exports.BaseCanvas);
|
|
30924
|
-
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$
|
|
30924
|
+
FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$O([injectable(), __metadata$F("design:paramtypes", [Object])], FeishuCanvas);
|
|
30925
30925
|
|
|
30926
30926
|
var feishuCanvasModule = createModule(FeishuCanvas, FeishuContext2d);
|
|
30927
30927
|
|
|
30928
|
-
var __decorate$
|
|
30928
|
+
var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
30929
30929
|
var d,
|
|
30930
30930
|
c = arguments.length,
|
|
30931
30931
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
30932
30932
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
30933
30933
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
30934
30934
|
},
|
|
30935
|
-
__metadata$
|
|
30935
|
+
__metadata$E = undefined && undefined.__metadata || function (k, v) {
|
|
30936
30936
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
30937
30937
|
},
|
|
30938
|
-
__param$
|
|
30938
|
+
__param$t = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
30939
30939
|
return function (target, key) {
|
|
30940
30940
|
decorator(target, key, paramIndex);
|
|
30941
30941
|
};
|
|
30942
30942
|
};
|
|
30943
|
-
var MiniAppEventManager$
|
|
30943
|
+
var MiniAppEventManager$4 = /*#__PURE__*/function () {
|
|
30944
30944
|
function MiniAppEventManager() {
|
|
30945
30945
|
_classCallCheck(this, MiniAppEventManager);
|
|
30946
30946
|
this.cache = {};
|
|
@@ -30973,7 +30973,7 @@
|
|
|
30973
30973
|
function FeishuWindowHandlerContribution(global) {
|
|
30974
30974
|
var _this;
|
|
30975
30975
|
_classCallCheck(this, FeishuWindowHandlerContribution);
|
|
30976
|
-
_this = _callSuper(this, FeishuWindowHandlerContribution), _this.global = global, _this.type = "feishu", _this.eventManager = new MiniAppEventManager$
|
|
30976
|
+
_this = _callSuper(this, FeishuWindowHandlerContribution), _this.global = global, _this.type = "feishu", _this.eventManager = new MiniAppEventManager$4();
|
|
30977
30977
|
return _this;
|
|
30978
30978
|
}
|
|
30979
30979
|
_inherits(FeishuWindowHandlerContribution, _BaseWindowHandlerCon);
|
|
@@ -31124,24 +31124,24 @@
|
|
|
31124
31124
|
}
|
|
31125
31125
|
}]);
|
|
31126
31126
|
}(exports.BaseWindowHandlerContribution);
|
|
31127
|
-
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$
|
|
31127
|
+
FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$N([injectable(), __param$t(0, inject(VGlobal)), __metadata$E("design:paramtypes", [Object])], FeishuWindowHandlerContribution);
|
|
31128
31128
|
var feishuWindowModule = new ContainerModule(function (bind) {
|
|
31129
31129
|
bind(FeishuWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
31130
31130
|
return ctx.container.get(FeishuWindowHandlerContribution);
|
|
31131
31131
|
}).whenTargetNamed(FeishuWindowHandlerContribution.env);
|
|
31132
31132
|
});
|
|
31133
31133
|
|
|
31134
|
-
var __decorate$
|
|
31134
|
+
var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31135
31135
|
var d,
|
|
31136
31136
|
c = arguments.length,
|
|
31137
31137
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31138
31138
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31139
31139
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31140
31140
|
},
|
|
31141
|
-
__metadata$
|
|
31141
|
+
__metadata$D = undefined && undefined.__metadata || function (k, v) {
|
|
31142
31142
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31143
31143
|
},
|
|
31144
|
-
__param$
|
|
31144
|
+
__param$s = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31145
31145
|
return function (target, key) {
|
|
31146
31146
|
decorator(target, key, paramIndex);
|
|
31147
31147
|
};
|
|
@@ -31182,7 +31182,7 @@
|
|
|
31182
31182
|
}
|
|
31183
31183
|
}]);
|
|
31184
31184
|
}(exports.DefaultPickService);
|
|
31185
|
-
DefaultMathPickerService = __decorate$
|
|
31185
|
+
DefaultMathPickerService = __decorate$M([injectable(), __param$s(0, inject(ContributionProvider)), __param$s(0, named(MathPickerContribution)), __param$s(1, inject(ContributionProvider)), __param$s(1, named(PickItemInterceptor)), __metadata$D("design:paramtypes", [Object, Object])], DefaultMathPickerService);
|
|
31186
31186
|
|
|
31187
31187
|
var m = new ContainerModule(function (bind) {
|
|
31188
31188
|
m.__vloaded || (m.__vloaded = !0, bindContributionProvider(bind, MathPickerContribution));
|
|
@@ -31294,17 +31294,17 @@
|
|
|
31294
31294
|
}]);
|
|
31295
31295
|
}();
|
|
31296
31296
|
|
|
31297
|
-
var __decorate$
|
|
31297
|
+
var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31298
31298
|
var d,
|
|
31299
31299
|
c = arguments.length,
|
|
31300
31300
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31301
31301
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31302
31302
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31303
31303
|
},
|
|
31304
|
-
__metadata$
|
|
31304
|
+
__metadata$C = undefined && undefined.__metadata || function (k, v) {
|
|
31305
31305
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31306
31306
|
};
|
|
31307
|
-
function makeUpCanvas$
|
|
31307
|
+
function makeUpCanvas$4(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, pixelRatio) {
|
|
31308
31308
|
var dpr = null != pixelRatio ? pixelRatio : tt.getSystemInfoSync().pixelRatio;
|
|
31309
31309
|
canvasIdLists.forEach(function (id, i) {
|
|
31310
31310
|
var ctx = tt.createCanvasContext(id),
|
|
@@ -31339,7 +31339,7 @@
|
|
|
31339
31339
|
}, {
|
|
31340
31340
|
key: "configure",
|
|
31341
31341
|
value: function configure(service, params) {
|
|
31342
|
-
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$
|
|
31342
|
+
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$4(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, params.pixelRatio));
|
|
31343
31343
|
}
|
|
31344
31344
|
}, {
|
|
31345
31345
|
key: "loadImage",
|
|
@@ -31426,7 +31426,7 @@
|
|
|
31426
31426
|
}
|
|
31427
31427
|
}]);
|
|
31428
31428
|
}(exports.BaseEnvContribution);
|
|
31429
|
-
FeishuEnvContribution = __decorate$
|
|
31429
|
+
FeishuEnvContribution = __decorate$L([injectable(), __metadata$C("design:paramtypes", [])], FeishuEnvContribution);
|
|
31430
31430
|
|
|
31431
31431
|
var feishuEnvModule = new ContainerModule(function (bind) {
|
|
31432
31432
|
feishuEnvModule.isFeishuBound || (feishuEnvModule.isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
|
|
@@ -31441,7 +31441,7 @@
|
|
|
31441
31441
|
loadFeishuEnv(container);
|
|
31442
31442
|
}
|
|
31443
31443
|
|
|
31444
|
-
var __decorate$
|
|
31444
|
+
var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31445
31445
|
var d,
|
|
31446
31446
|
c = arguments.length,
|
|
31447
31447
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -31523,16 +31523,16 @@
|
|
|
31523
31523
|
}
|
|
31524
31524
|
}]);
|
|
31525
31525
|
}(BrowserContext2d);
|
|
31526
|
-
LynxContext2d.env = "lynx", LynxContext2d = __decorate$
|
|
31526
|
+
LynxContext2d.env = "lynx", LynxContext2d = __decorate$K([injectable()], LynxContext2d);
|
|
31527
31527
|
|
|
31528
|
-
var __decorate$
|
|
31528
|
+
var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31529
31529
|
var d,
|
|
31530
31530
|
c = arguments.length,
|
|
31531
31531
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31532
31532
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31533
31533
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31534
31534
|
},
|
|
31535
|
-
__metadata$
|
|
31535
|
+
__metadata$B = undefined && undefined.__metadata || function (k, v) {
|
|
31536
31536
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31537
31537
|
};
|
|
31538
31538
|
var LynxCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -31557,24 +31557,24 @@
|
|
|
31557
31557
|
value: function release() {}
|
|
31558
31558
|
}]);
|
|
31559
31559
|
}(exports.BaseCanvas);
|
|
31560
|
-
LynxCanvas.env = "lynx", LynxCanvas = __decorate$
|
|
31560
|
+
LynxCanvas.env = "lynx", LynxCanvas = __decorate$J([injectable(), __metadata$B("design:paramtypes", [Object])], LynxCanvas);
|
|
31561
31561
|
|
|
31562
|
-
var __decorate$
|
|
31562
|
+
var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31563
31563
|
var d,
|
|
31564
31564
|
c = arguments.length,
|
|
31565
31565
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31566
31566
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31567
31567
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31568
31568
|
},
|
|
31569
|
-
__metadata$
|
|
31569
|
+
__metadata$A = undefined && undefined.__metadata || function (k, v) {
|
|
31570
31570
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31571
31571
|
},
|
|
31572
|
-
__param$
|
|
31572
|
+
__param$r = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
31573
31573
|
return function (target, key) {
|
|
31574
31574
|
decorator(target, key, paramIndex);
|
|
31575
31575
|
};
|
|
31576
31576
|
};
|
|
31577
|
-
var MiniAppEventManager$
|
|
31577
|
+
var MiniAppEventManager$3 = /*#__PURE__*/function () {
|
|
31578
31578
|
function MiniAppEventManager() {
|
|
31579
31579
|
_classCallCheck(this, MiniAppEventManager);
|
|
31580
31580
|
this.cache = {};
|
|
@@ -31607,7 +31607,7 @@
|
|
|
31607
31607
|
function LynxWindowHandlerContribution(global) {
|
|
31608
31608
|
var _this;
|
|
31609
31609
|
_classCallCheck(this, LynxWindowHandlerContribution);
|
|
31610
|
-
_this = _callSuper(this, LynxWindowHandlerContribution), _this.global = global, _this.type = "lynx", _this.eventManager = new MiniAppEventManager$
|
|
31610
|
+
_this = _callSuper(this, LynxWindowHandlerContribution), _this.global = global, _this.type = "lynx", _this.eventManager = new MiniAppEventManager$3();
|
|
31611
31611
|
return _this;
|
|
31612
31612
|
}
|
|
31613
31613
|
_inherits(LynxWindowHandlerContribution, _BaseWindowHandlerCon);
|
|
@@ -31760,7 +31760,7 @@
|
|
|
31760
31760
|
}
|
|
31761
31761
|
}]);
|
|
31762
31762
|
}(exports.BaseWindowHandlerContribution);
|
|
31763
|
-
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$
|
|
31763
|
+
LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$I([injectable(), __param$r(0, inject(VGlobal)), __metadata$A("design:paramtypes", [Object])], LynxWindowHandlerContribution);
|
|
31764
31764
|
var lynxWindowModule = new ContainerModule(function (bind) {
|
|
31765
31765
|
bind(LynxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
31766
31766
|
return ctx.container.get(LynxWindowHandlerContribution);
|
|
@@ -31769,21 +31769,21 @@
|
|
|
31769
31769
|
|
|
31770
31770
|
var lynxCanvasModule = createModule(LynxCanvas, LynxContext2d);
|
|
31771
31771
|
|
|
31772
|
-
var __decorate$
|
|
31772
|
+
var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31773
31773
|
var d,
|
|
31774
31774
|
c = arguments.length,
|
|
31775
31775
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31776
31776
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31777
31777
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31778
31778
|
},
|
|
31779
|
-
__metadata$
|
|
31779
|
+
__metadata$z = undefined && undefined.__metadata || function (k, v) {
|
|
31780
31780
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31781
31781
|
};
|
|
31782
31782
|
var ng = !1;
|
|
31783
31783
|
try {
|
|
31784
31784
|
ng = !!lynx.createCanvasNG;
|
|
31785
31785
|
} catch (err) {}
|
|
31786
|
-
function makeUpCanvas$
|
|
31786
|
+
function makeUpCanvas$3(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, offscreen, pixelRatio) {
|
|
31787
31787
|
var dpr = null != pixelRatio ? pixelRatio : SystemInfo.pixelRatio;
|
|
31788
31788
|
canvasIdLists.forEach(function (id, i) {
|
|
31789
31789
|
var _canvas;
|
|
@@ -31822,7 +31822,7 @@
|
|
|
31822
31822
|
return _createClass(LynxEnvContribution, [{
|
|
31823
31823
|
key: "configure",
|
|
31824
31824
|
value: function configure(service, params) {
|
|
31825
|
-
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$
|
|
31825
|
+
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$3(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, !!params.offscreen, params.pixelRatio));
|
|
31826
31826
|
}
|
|
31827
31827
|
}, {
|
|
31828
31828
|
key: "getDynamicCanvasCount",
|
|
@@ -31926,7 +31926,7 @@
|
|
|
31926
31926
|
value: function release() {}
|
|
31927
31927
|
}]);
|
|
31928
31928
|
}(exports.BaseEnvContribution);
|
|
31929
|
-
LynxEnvContribution = __decorate$
|
|
31929
|
+
LynxEnvContribution = __decorate$H([injectable(), __metadata$z("design:paramtypes", [])], LynxEnvContribution);
|
|
31930
31930
|
|
|
31931
31931
|
var lynxEnvModule = new ContainerModule(function (bind) {
|
|
31932
31932
|
lynxEnvModule.isLynxBound || (lynxEnvModule.isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
|
|
@@ -31941,14 +31941,14 @@
|
|
|
31941
31941
|
loadLynxEnv(container);
|
|
31942
31942
|
}
|
|
31943
31943
|
|
|
31944
|
-
var __decorate$
|
|
31944
|
+
var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31945
31945
|
var d,
|
|
31946
31946
|
c = arguments.length,
|
|
31947
31947
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31948
31948
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31949
31949
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31950
31950
|
},
|
|
31951
|
-
__metadata$
|
|
31951
|
+
__metadata$y = undefined && undefined.__metadata || function (k, v) {
|
|
31952
31952
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31953
31953
|
};
|
|
31954
31954
|
var NodeContext2d = /*#__PURE__*/function (_BrowserContext2d) {
|
|
@@ -31967,16 +31967,16 @@
|
|
|
31967
31967
|
value: function release() {}
|
|
31968
31968
|
}]);
|
|
31969
31969
|
}(BrowserContext2d);
|
|
31970
|
-
NodeContext2d.env = "node", NodeContext2d = __decorate$
|
|
31970
|
+
NodeContext2d.env = "node", NodeContext2d = __decorate$G([injectable(), __metadata$y("design:paramtypes", [Object, Number])], NodeContext2d);
|
|
31971
31971
|
|
|
31972
|
-
var __decorate$
|
|
31972
|
+
var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
31973
31973
|
var d,
|
|
31974
31974
|
c = arguments.length,
|
|
31975
31975
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
31976
31976
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
31977
31977
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
31978
31978
|
},
|
|
31979
|
-
__metadata$
|
|
31979
|
+
__metadata$x = undefined && undefined.__metadata || function (k, v) {
|
|
31980
31980
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
31981
31981
|
};
|
|
31982
31982
|
var NodeCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -31997,21 +31997,21 @@
|
|
|
31997
31997
|
}
|
|
31998
31998
|
}]);
|
|
31999
31999
|
}(exports.BaseCanvas);
|
|
32000
|
-
NodeCanvas.env = "node", NodeCanvas = __decorate$
|
|
32000
|
+
NodeCanvas.env = "node", NodeCanvas = __decorate$F([injectable(), __metadata$x("design:paramtypes", [Object])], NodeCanvas);
|
|
32001
32001
|
|
|
32002
32002
|
var nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
|
|
32003
32003
|
|
|
32004
|
-
var __decorate$
|
|
32004
|
+
var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32005
32005
|
var d,
|
|
32006
32006
|
c = arguments.length,
|
|
32007
32007
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32008
32008
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32009
32009
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32010
32010
|
},
|
|
32011
|
-
__metadata$
|
|
32011
|
+
__metadata$w = undefined && undefined.__metadata || function (k, v) {
|
|
32012
32012
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32013
32013
|
},
|
|
32014
|
-
__param$
|
|
32014
|
+
__param$q = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
32015
32015
|
return function (target, key) {
|
|
32016
32016
|
decorator(target, key, paramIndex);
|
|
32017
32017
|
};
|
|
@@ -32149,14 +32149,14 @@
|
|
|
32149
32149
|
value: function clearViewBox(color) {}
|
|
32150
32150
|
}]);
|
|
32151
32151
|
}(exports.BaseWindowHandlerContribution);
|
|
32152
|
-
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$
|
|
32152
|
+
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$E([injectable(), __param$q(0, inject(VGlobal)), __metadata$w("design:paramtypes", [Object])], NodeWindowHandlerContribution);
|
|
32153
32153
|
var nodeWindowModule = new ContainerModule(function (bind) {
|
|
32154
32154
|
bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
32155
32155
|
return ctx.container.get(NodeWindowHandlerContribution);
|
|
32156
32156
|
}).whenTargetNamed(NodeWindowHandlerContribution.env);
|
|
32157
32157
|
});
|
|
32158
32158
|
|
|
32159
|
-
var __decorate$
|
|
32159
|
+
var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32160
32160
|
var d,
|
|
32161
32161
|
c = arguments.length,
|
|
32162
32162
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -32299,7 +32299,7 @@
|
|
|
32299
32299
|
value: function createOffscreenCanvas(params) {}
|
|
32300
32300
|
}]);
|
|
32301
32301
|
}(exports.BaseEnvContribution);
|
|
32302
|
-
NodeEnvContribution = __decorate$
|
|
32302
|
+
NodeEnvContribution = __decorate$D([injectable()], NodeEnvContribution);
|
|
32303
32303
|
|
|
32304
32304
|
var nodeEnvModule = new ContainerModule(function (bind) {
|
|
32305
32305
|
nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
@@ -32313,7 +32313,7 @@
|
|
|
32313
32313
|
loadNodeEnv(container);
|
|
32314
32314
|
}
|
|
32315
32315
|
|
|
32316
|
-
var __decorate$
|
|
32316
|
+
var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32317
32317
|
var d,
|
|
32318
32318
|
c = arguments.length,
|
|
32319
32319
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -32434,16 +32434,16 @@
|
|
|
32434
32434
|
}
|
|
32435
32435
|
}]);
|
|
32436
32436
|
}(BrowserContext2d);
|
|
32437
|
-
TaroContext2d.env = "taro", TaroContext2d = __decorate$
|
|
32437
|
+
TaroContext2d.env = "taro", TaroContext2d = __decorate$C([injectable()], TaroContext2d);
|
|
32438
32438
|
|
|
32439
|
-
var __decorate$
|
|
32439
|
+
var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32440
32440
|
var d,
|
|
32441
32441
|
c = arguments.length,
|
|
32442
32442
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32443
32443
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32444
32444
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32445
32445
|
},
|
|
32446
|
-
__metadata$
|
|
32446
|
+
__metadata$v = undefined && undefined.__metadata || function (k, v) {
|
|
32447
32447
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32448
32448
|
};
|
|
32449
32449
|
var TaroCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -32462,26 +32462,26 @@
|
|
|
32462
32462
|
value: function release() {}
|
|
32463
32463
|
}]);
|
|
32464
32464
|
}(exports.BaseCanvas);
|
|
32465
|
-
TaroCanvas.env = "taro", TaroCanvas = __decorate$
|
|
32465
|
+
TaroCanvas.env = "taro", TaroCanvas = __decorate$B([injectable(), __metadata$v("design:paramtypes", [Object])], TaroCanvas);
|
|
32466
32466
|
|
|
32467
32467
|
var taroCanvasModule = createModule(TaroCanvas, TaroContext2d);
|
|
32468
32468
|
|
|
32469
|
-
var __decorate$
|
|
32469
|
+
var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32470
32470
|
var d,
|
|
32471
32471
|
c = arguments.length,
|
|
32472
32472
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32473
32473
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32474
32474
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32475
32475
|
},
|
|
32476
|
-
__metadata$
|
|
32476
|
+
__metadata$u = undefined && undefined.__metadata || function (k, v) {
|
|
32477
32477
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32478
32478
|
},
|
|
32479
|
-
__param$
|
|
32479
|
+
__param$p = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
32480
32480
|
return function (target, key) {
|
|
32481
32481
|
decorator(target, key, paramIndex);
|
|
32482
32482
|
};
|
|
32483
32483
|
};
|
|
32484
|
-
var MiniAppEventManager$
|
|
32484
|
+
var MiniAppEventManager$2 = /*#__PURE__*/function () {
|
|
32485
32485
|
function MiniAppEventManager() {
|
|
32486
32486
|
_classCallCheck(this, MiniAppEventManager);
|
|
32487
32487
|
this.cache = {};
|
|
@@ -32514,7 +32514,7 @@
|
|
|
32514
32514
|
function TaroWindowHandlerContribution(global) {
|
|
32515
32515
|
var _this;
|
|
32516
32516
|
_classCallCheck(this, TaroWindowHandlerContribution);
|
|
32517
|
-
_this = _callSuper(this, TaroWindowHandlerContribution), _this.global = global, _this.type = "taro", _this.eventManager = new MiniAppEventManager$
|
|
32517
|
+
_this = _callSuper(this, TaroWindowHandlerContribution), _this.global = global, _this.type = "taro", _this.eventManager = new MiniAppEventManager$2();
|
|
32518
32518
|
return _this;
|
|
32519
32519
|
}
|
|
32520
32520
|
_inherits(TaroWindowHandlerContribution, _BaseWindowHandlerCon);
|
|
@@ -32675,24 +32675,24 @@
|
|
|
32675
32675
|
}
|
|
32676
32676
|
}]);
|
|
32677
32677
|
}(exports.BaseWindowHandlerContribution);
|
|
32678
|
-
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$
|
|
32678
|
+
TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$A([injectable(), __param$p(0, inject(VGlobal)), __metadata$u("design:paramtypes", [Object])], TaroWindowHandlerContribution);
|
|
32679
32679
|
var taroWindowModule = new ContainerModule(function (bind) {
|
|
32680
32680
|
bind(TaroWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
32681
32681
|
return ctx.container.get(TaroWindowHandlerContribution);
|
|
32682
32682
|
}).whenTargetNamed(TaroWindowHandlerContribution.env);
|
|
32683
32683
|
});
|
|
32684
32684
|
|
|
32685
|
-
var __decorate$
|
|
32685
|
+
var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32686
32686
|
var d,
|
|
32687
32687
|
c = arguments.length,
|
|
32688
32688
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32689
32689
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32690
32690
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32691
32691
|
},
|
|
32692
|
-
__metadata$
|
|
32692
|
+
__metadata$t = undefined && undefined.__metadata || function (k, v) {
|
|
32693
32693
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32694
32694
|
};
|
|
32695
|
-
function makeUpCanvas$
|
|
32695
|
+
function makeUpCanvas$2(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, taro, dpr) {
|
|
32696
32696
|
canvasIdLists.forEach(function (id, i) {
|
|
32697
32697
|
var ctx = taro.createCanvasContext(id),
|
|
32698
32698
|
canvas = new CanvasWrapDisableWH(ctx.canvas || {}, ctx, dpr, domref.width, domref.height, id);
|
|
@@ -32732,7 +32732,7 @@
|
|
|
32732
32732
|
}, {
|
|
32733
32733
|
key: "configure",
|
|
32734
32734
|
value: function configure(service, params) {
|
|
32735
|
-
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$
|
|
32735
|
+
service.env === this.type && (service.setActiveEnvContribution(this), makeUpCanvas$2(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, params.taro, params.pixelRatio), this.taro = params.taro, this.pixelRatio = params.pixelRatio);
|
|
32736
32736
|
}
|
|
32737
32737
|
}, {
|
|
32738
32738
|
key: "loadImage",
|
|
@@ -32829,7 +32829,7 @@
|
|
|
32829
32829
|
value: function release() {}
|
|
32830
32830
|
}]);
|
|
32831
32831
|
}(exports.BaseEnvContribution);
|
|
32832
|
-
TaroEnvContribution = __decorate$
|
|
32832
|
+
TaroEnvContribution = __decorate$z([injectable(), __metadata$t("design:paramtypes", [])], TaroEnvContribution);
|
|
32833
32833
|
|
|
32834
32834
|
var taroEnvModule = new ContainerModule(function (bind) {
|
|
32835
32835
|
taroEnvModule.isTaroBound || (taroEnvModule.isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
|
|
@@ -32844,7 +32844,7 @@
|
|
|
32844
32844
|
loadTaroEnv(container);
|
|
32845
32845
|
}
|
|
32846
32846
|
|
|
32847
|
-
var __decorate$
|
|
32847
|
+
var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32848
32848
|
var d,
|
|
32849
32849
|
c = arguments.length,
|
|
32850
32850
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -32867,16 +32867,16 @@
|
|
|
32867
32867
|
}
|
|
32868
32868
|
}]);
|
|
32869
32869
|
}(BrowserContext2d);
|
|
32870
|
-
WxContext2d.env = "wx", WxContext2d = __decorate$
|
|
32870
|
+
WxContext2d.env = "wx", WxContext2d = __decorate$y([injectable()], WxContext2d);
|
|
32871
32871
|
|
|
32872
|
-
var __decorate$
|
|
32872
|
+
var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32873
32873
|
var d,
|
|
32874
32874
|
c = arguments.length,
|
|
32875
32875
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32876
32876
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32877
32877
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32878
32878
|
},
|
|
32879
|
-
__metadata$
|
|
32879
|
+
__metadata$s = undefined && undefined.__metadata || function (k, v) {
|
|
32880
32880
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32881
32881
|
};
|
|
32882
32882
|
var WxCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
@@ -32895,26 +32895,26 @@
|
|
|
32895
32895
|
value: function release() {}
|
|
32896
32896
|
}]);
|
|
32897
32897
|
}(exports.BaseCanvas);
|
|
32898
|
-
WxCanvas.env = "wx", WxCanvas = __decorate$
|
|
32898
|
+
WxCanvas.env = "wx", WxCanvas = __decorate$x([injectable(), __metadata$s("design:paramtypes", [Object])], WxCanvas);
|
|
32899
32899
|
|
|
32900
32900
|
var wxCanvasModule = createModule(WxCanvas, WxContext2d);
|
|
32901
32901
|
|
|
32902
|
-
var __decorate$
|
|
32902
|
+
var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
32903
32903
|
var d,
|
|
32904
32904
|
c = arguments.length,
|
|
32905
32905
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
32906
32906
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
32907
32907
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32908
32908
|
},
|
|
32909
|
-
__metadata$
|
|
32909
|
+
__metadata$r = undefined && undefined.__metadata || function (k, v) {
|
|
32910
32910
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
32911
32911
|
},
|
|
32912
|
-
__param$
|
|
32912
|
+
__param$o = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
32913
32913
|
return function (target, key) {
|
|
32914
32914
|
decorator(target, key, paramIndex);
|
|
32915
32915
|
};
|
|
32916
32916
|
};
|
|
32917
|
-
var MiniAppEventManager = /*#__PURE__*/function () {
|
|
32917
|
+
var MiniAppEventManager$1 = /*#__PURE__*/function () {
|
|
32918
32918
|
function MiniAppEventManager() {
|
|
32919
32919
|
_classCallCheck(this, MiniAppEventManager);
|
|
32920
32920
|
this.cache = {};
|
|
@@ -32947,7 +32947,7 @@
|
|
|
32947
32947
|
function WxWindowHandlerContribution(global) {
|
|
32948
32948
|
var _this;
|
|
32949
32949
|
_classCallCheck(this, WxWindowHandlerContribution);
|
|
32950
|
-
_this = _callSuper(this, WxWindowHandlerContribution), _this.global = global, _this.type = "wx", _this.eventManager = new MiniAppEventManager();
|
|
32950
|
+
_this = _callSuper(this, WxWindowHandlerContribution), _this.global = global, _this.type = "wx", _this.eventManager = new MiniAppEventManager$1();
|
|
32951
32951
|
return _this;
|
|
32952
32952
|
}
|
|
32953
32953
|
_inherits(WxWindowHandlerContribution, _BaseWindowHandlerCon);
|
|
@@ -33099,24 +33099,24 @@
|
|
|
33099
33099
|
}
|
|
33100
33100
|
}]);
|
|
33101
33101
|
}(exports.BaseWindowHandlerContribution);
|
|
33102
|
-
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$
|
|
33102
|
+
WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$w([injectable(), __param$o(0, inject(VGlobal)), __metadata$r("design:paramtypes", [Object])], WxWindowHandlerContribution);
|
|
33103
33103
|
var wxWindowModule = new ContainerModule(function (bind) {
|
|
33104
33104
|
bind(WxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
33105
33105
|
return ctx.container.get(WxWindowHandlerContribution);
|
|
33106
33106
|
}).whenTargetNamed(WxWindowHandlerContribution.env);
|
|
33107
33107
|
});
|
|
33108
33108
|
|
|
33109
|
-
var __decorate$
|
|
33109
|
+
var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33110
33110
|
var d,
|
|
33111
33111
|
c = arguments.length,
|
|
33112
33112
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
33113
33113
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
33114
33114
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33115
33115
|
},
|
|
33116
|
-
__metadata$
|
|
33116
|
+
__metadata$q = undefined && undefined.__metadata || function (k, v) {
|
|
33117
33117
|
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
33118
33118
|
},
|
|
33119
|
-
__awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
33119
|
+
__awaiter$1 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
33120
33120
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33121
33121
|
function fulfilled(value) {
|
|
33122
33122
|
try {
|
|
@@ -33141,8 +33141,8 @@
|
|
|
33141
33141
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
33142
33142
|
});
|
|
33143
33143
|
};
|
|
33144
|
-
function makeUpCanvas(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, component) {
|
|
33145
|
-
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
33144
|
+
function makeUpCanvas$1(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, component) {
|
|
33145
|
+
return __awaiter$1(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
33146
33146
|
var dpr, _loop, i;
|
|
33147
33147
|
return _regeneratorRuntime().wrap(function _callee$(_context2) {
|
|
33148
33148
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -33209,7 +33209,7 @@
|
|
|
33209
33209
|
return _createClass(WxEnvContribution, [{
|
|
33210
33210
|
key: "configure",
|
|
33211
33211
|
value: function configure(service, params) {
|
|
33212
|
-
if (service.env === this.type) return service.setActiveEnvContribution(this), makeUpCanvas(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, params.component).then(function () {});
|
|
33212
|
+
if (service.env === this.type) return service.setActiveEnvContribution(this), makeUpCanvas$1(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, params.component).then(function () {});
|
|
33213
33213
|
}
|
|
33214
33214
|
}, {
|
|
33215
33215
|
key: "loadImage",
|
|
@@ -33296,7 +33296,7 @@
|
|
|
33296
33296
|
}
|
|
33297
33297
|
}]);
|
|
33298
33298
|
}(exports.BaseEnvContribution);
|
|
33299
|
-
WxEnvContribution = __decorate$
|
|
33299
|
+
WxEnvContribution = __decorate$v([injectable(), __metadata$q("design:paramtypes", [])], WxEnvContribution);
|
|
33300
33300
|
|
|
33301
33301
|
var wxEnvModule = new ContainerModule(function (bind) {
|
|
33302
33302
|
wxEnvModule._isWxBound || (wxEnvModule._isWxBound = !0, bind(WxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(WxEnvContribution));
|
|
@@ -33324,6 +33324,460 @@
|
|
|
33324
33324
|
loadAllEnv(container);
|
|
33325
33325
|
}
|
|
33326
33326
|
|
|
33327
|
+
var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33328
|
+
var d,
|
|
33329
|
+
c = arguments.length,
|
|
33330
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
33331
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
33332
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33333
|
+
};
|
|
33334
|
+
var TTContext2d = /*#__PURE__*/function (_FeishuContext2d) {
|
|
33335
|
+
function TTContext2d() {
|
|
33336
|
+
_classCallCheck(this, TTContext2d);
|
|
33337
|
+
return _callSuper(this, TTContext2d, arguments);
|
|
33338
|
+
}
|
|
33339
|
+
_inherits(TTContext2d, _FeishuContext2d);
|
|
33340
|
+
return _createClass(TTContext2d);
|
|
33341
|
+
}(FeishuContext2d);
|
|
33342
|
+
TTContext2d.env = "tt", TTContext2d = __decorate$u([injectable()], TTContext2d);
|
|
33343
|
+
|
|
33344
|
+
var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33345
|
+
var d,
|
|
33346
|
+
c = arguments.length,
|
|
33347
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
33348
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
33349
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33350
|
+
},
|
|
33351
|
+
__metadata$p = undefined && undefined.__metadata || function (k, v) {
|
|
33352
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
33353
|
+
};
|
|
33354
|
+
var TTCanvas = /*#__PURE__*/function (_BaseCanvas) {
|
|
33355
|
+
function TTCanvas(params) {
|
|
33356
|
+
_classCallCheck(this, TTCanvas);
|
|
33357
|
+
return _callSuper(this, TTCanvas, [params]);
|
|
33358
|
+
}
|
|
33359
|
+
_inherits(TTCanvas, _BaseCanvas);
|
|
33360
|
+
return _createClass(TTCanvas, [{
|
|
33361
|
+
key: "init",
|
|
33362
|
+
value: function init() {
|
|
33363
|
+
this._context = new TTContext2d(this, this._dpr);
|
|
33364
|
+
}
|
|
33365
|
+
}, {
|
|
33366
|
+
key: "release",
|
|
33367
|
+
value: function release() {}
|
|
33368
|
+
}]);
|
|
33369
|
+
}(exports.BaseCanvas);
|
|
33370
|
+
TTCanvas.env = "tt", TTCanvas = __decorate$t([injectable(), __metadata$p("design:paramtypes", [Object])], TTCanvas);
|
|
33371
|
+
|
|
33372
|
+
var ttCanvasModule = createModule(TTCanvas, TTContext2d);
|
|
33373
|
+
|
|
33374
|
+
var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33375
|
+
var d,
|
|
33376
|
+
c = arguments.length,
|
|
33377
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
33378
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
33379
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33380
|
+
},
|
|
33381
|
+
__metadata$o = undefined && undefined.__metadata || function (k, v) {
|
|
33382
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
33383
|
+
},
|
|
33384
|
+
__param$n = undefined && undefined.__param || function (paramIndex, decorator) {
|
|
33385
|
+
return function (target, key) {
|
|
33386
|
+
decorator(target, key, paramIndex);
|
|
33387
|
+
};
|
|
33388
|
+
};
|
|
33389
|
+
var MiniAppEventManager = /*#__PURE__*/function () {
|
|
33390
|
+
function MiniAppEventManager() {
|
|
33391
|
+
_classCallCheck(this, MiniAppEventManager);
|
|
33392
|
+
this.cache = {};
|
|
33393
|
+
}
|
|
33394
|
+
return _createClass(MiniAppEventManager, [{
|
|
33395
|
+
key: "addEventListener",
|
|
33396
|
+
value: function addEventListener(type, func) {
|
|
33397
|
+
type && func && (this.cache[type] = this.cache[type] || {
|
|
33398
|
+
listener: []
|
|
33399
|
+
}, this.cache[type].listener.push(func));
|
|
33400
|
+
}
|
|
33401
|
+
}, {
|
|
33402
|
+
key: "removeEventListener",
|
|
33403
|
+
value: function removeEventListener(type, func) {
|
|
33404
|
+
if (!type || !func) return;
|
|
33405
|
+
if (!this.cache[type]) return;
|
|
33406
|
+
var index = this.cache[type].listener.findIndex(function (f) {
|
|
33407
|
+
return f === func;
|
|
33408
|
+
});
|
|
33409
|
+
index >= 0 && this.cache[type].listener.splice(index, 1);
|
|
33410
|
+
}
|
|
33411
|
+
}, {
|
|
33412
|
+
key: "cleanEvent",
|
|
33413
|
+
value: function cleanEvent() {
|
|
33414
|
+
this.cache = {};
|
|
33415
|
+
}
|
|
33416
|
+
}]);
|
|
33417
|
+
}();
|
|
33418
|
+
var TTWindowHandlerContribution = /*#__PURE__*/function (_BaseWindowHandlerCon) {
|
|
33419
|
+
function TTWindowHandlerContribution(global) {
|
|
33420
|
+
var _this;
|
|
33421
|
+
_classCallCheck(this, TTWindowHandlerContribution);
|
|
33422
|
+
_this = _callSuper(this, TTWindowHandlerContribution), _this.global = global, _this.type = "tt", _this.eventManager = new MiniAppEventManager();
|
|
33423
|
+
return _this;
|
|
33424
|
+
}
|
|
33425
|
+
_inherits(TTWindowHandlerContribution, _BaseWindowHandlerCon);
|
|
33426
|
+
return _createClass(TTWindowHandlerContribution, [{
|
|
33427
|
+
key: "container",
|
|
33428
|
+
get: function get() {
|
|
33429
|
+
return null;
|
|
33430
|
+
}
|
|
33431
|
+
}, {
|
|
33432
|
+
key: "getTitle",
|
|
33433
|
+
value: function getTitle() {
|
|
33434
|
+
return this.canvas.id.toString();
|
|
33435
|
+
}
|
|
33436
|
+
}, {
|
|
33437
|
+
key: "getWH",
|
|
33438
|
+
value: function getWH() {
|
|
33439
|
+
return {
|
|
33440
|
+
width: this.canvas.width / (this.canvas.dpr || 1),
|
|
33441
|
+
height: this.canvas.height / (this.canvas.dpr || 1)
|
|
33442
|
+
};
|
|
33443
|
+
}
|
|
33444
|
+
}, {
|
|
33445
|
+
key: "getXY",
|
|
33446
|
+
value: function getXY() {
|
|
33447
|
+
return {
|
|
33448
|
+
x: 0,
|
|
33449
|
+
y: 0
|
|
33450
|
+
};
|
|
33451
|
+
}
|
|
33452
|
+
}, {
|
|
33453
|
+
key: "createWindow",
|
|
33454
|
+
value: function createWindow(params) {
|
|
33455
|
+
params.canvas ? this.createWindowByCanvas(params) : this.createWindowByConfig(params);
|
|
33456
|
+
}
|
|
33457
|
+
}, {
|
|
33458
|
+
key: "createWindowByConfig",
|
|
33459
|
+
value: function createWindowByConfig(params) {
|
|
33460
|
+
var nativeCanvas = this.global.createCanvas({
|
|
33461
|
+
width: params.width,
|
|
33462
|
+
height: params.height
|
|
33463
|
+
}),
|
|
33464
|
+
options = {
|
|
33465
|
+
width: params.width,
|
|
33466
|
+
height: params.height,
|
|
33467
|
+
dpr: params.dpr,
|
|
33468
|
+
nativeCanvas: nativeCanvas,
|
|
33469
|
+
id: Generator.GenAutoIncrementId().toString(),
|
|
33470
|
+
canvasControled: !1
|
|
33471
|
+
};
|
|
33472
|
+
this.canvas = new TTCanvas(options);
|
|
33473
|
+
}
|
|
33474
|
+
}, {
|
|
33475
|
+
key: "createWindowByCanvas",
|
|
33476
|
+
value: function createWindowByCanvas(params) {
|
|
33477
|
+
var canvas;
|
|
33478
|
+
if ("string" == typeof params.canvas) {
|
|
33479
|
+
if (canvas = this.global.getElementById(params.canvas), !canvas) throw new Error("canvasId 参数不正确,请确认canvas存在并插入dom");
|
|
33480
|
+
} else canvas = params.canvas;
|
|
33481
|
+
var width = params.width,
|
|
33482
|
+
height = params.height;
|
|
33483
|
+
if (null == width || null == height || !params.canvasControled) {
|
|
33484
|
+
var data = canvas.getBoundingClientRect();
|
|
33485
|
+
width = data.width, height = data.height;
|
|
33486
|
+
}
|
|
33487
|
+
var dpr = params.dpr;
|
|
33488
|
+
null == dpr && (dpr = canvas.width / width), this.canvas = new TTCanvas({
|
|
33489
|
+
width: width,
|
|
33490
|
+
height: height,
|
|
33491
|
+
dpr: dpr,
|
|
33492
|
+
nativeCanvas: canvas,
|
|
33493
|
+
canvasControled: params.canvasControled
|
|
33494
|
+
});
|
|
33495
|
+
}
|
|
33496
|
+
}, {
|
|
33497
|
+
key: "releaseWindow",
|
|
33498
|
+
value: function releaseWindow() {}
|
|
33499
|
+
}, {
|
|
33500
|
+
key: "resizeWindow",
|
|
33501
|
+
value: function resizeWindow(width, height) {}
|
|
33502
|
+
}, {
|
|
33503
|
+
key: "setDpr",
|
|
33504
|
+
value: function setDpr(dpr) {
|
|
33505
|
+
this.canvas.dpr = dpr;
|
|
33506
|
+
}
|
|
33507
|
+
}, {
|
|
33508
|
+
key: "getContext",
|
|
33509
|
+
value: function getContext() {
|
|
33510
|
+
return this.canvas.getContext();
|
|
33511
|
+
}
|
|
33512
|
+
}, {
|
|
33513
|
+
key: "getNativeHandler",
|
|
33514
|
+
value: function getNativeHandler() {
|
|
33515
|
+
return this.canvas;
|
|
33516
|
+
}
|
|
33517
|
+
}, {
|
|
33518
|
+
key: "getDpr",
|
|
33519
|
+
value: function getDpr() {
|
|
33520
|
+
return this.canvas.dpr;
|
|
33521
|
+
}
|
|
33522
|
+
}, {
|
|
33523
|
+
key: "addEventListener",
|
|
33524
|
+
value: function addEventListener(type, listener) {
|
|
33525
|
+
this.eventManager.addEventListener(type, listener);
|
|
33526
|
+
}
|
|
33527
|
+
}, {
|
|
33528
|
+
key: "removeEventListener",
|
|
33529
|
+
value: function removeEventListener(type, listener) {
|
|
33530
|
+
this.eventManager.removeEventListener(type, listener);
|
|
33531
|
+
}
|
|
33532
|
+
}, {
|
|
33533
|
+
key: "dispatchEvent",
|
|
33534
|
+
value: function dispatchEvent(event) {
|
|
33535
|
+
var type = event.type;
|
|
33536
|
+
return !!this.eventManager.cache[type] && (event.changedTouches && event.changedTouches[0] && (event.offsetX = event.changedTouches[0].x, event.changedTouches[0].offsetX = event.changedTouches[0].x, event.changedTouches[0].clientX = event.changedTouches[0].x, event.offsetY = event.changedTouches[0].y, event.changedTouches[0].offsetY = event.changedTouches[0].y, event.changedTouches[0].clientY = event.changedTouches[0].y), event.preventDefault = function () {}, event.stopPropagation = function () {}, this.eventManager.cache[type].listener && this.eventManager.cache[type].listener.forEach(function (f) {
|
|
33537
|
+
f(event);
|
|
33538
|
+
}), !0);
|
|
33539
|
+
}
|
|
33540
|
+
}, {
|
|
33541
|
+
key: "getStyle",
|
|
33542
|
+
value: function getStyle() {
|
|
33543
|
+
return {};
|
|
33544
|
+
}
|
|
33545
|
+
}, {
|
|
33546
|
+
key: "setStyle",
|
|
33547
|
+
value: function setStyle(style) {}
|
|
33548
|
+
}, {
|
|
33549
|
+
key: "getBoundingClientRect",
|
|
33550
|
+
value: function getBoundingClientRect() {
|
|
33551
|
+
var wh = this.getWH();
|
|
33552
|
+
return {
|
|
33553
|
+
x: 0,
|
|
33554
|
+
y: 0,
|
|
33555
|
+
width: wh.width,
|
|
33556
|
+
height: wh.height,
|
|
33557
|
+
left: 0,
|
|
33558
|
+
top: 0,
|
|
33559
|
+
right: 0,
|
|
33560
|
+
bottom: 0
|
|
33561
|
+
};
|
|
33562
|
+
}
|
|
33563
|
+
}, {
|
|
33564
|
+
key: "clearViewBox",
|
|
33565
|
+
value: function clearViewBox(color) {
|
|
33566
|
+
var vb = this.viewBox,
|
|
33567
|
+
context = this.getContext(),
|
|
33568
|
+
dpr = this.getDpr();
|
|
33569
|
+
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();
|
|
33570
|
+
}
|
|
33571
|
+
}]);
|
|
33572
|
+
}(exports.BaseWindowHandlerContribution);
|
|
33573
|
+
TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$s([injectable(), __param$n(0, inject(VGlobal)), __metadata$o("design:paramtypes", [Object])], TTWindowHandlerContribution);
|
|
33574
|
+
var ttWindowModule = new ContainerModule(function (bind) {
|
|
33575
|
+
bind(TTWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(function (ctx) {
|
|
33576
|
+
return ctx.container.get(TTWindowHandlerContribution);
|
|
33577
|
+
}).whenTargetNamed(TTWindowHandlerContribution.env);
|
|
33578
|
+
});
|
|
33579
|
+
|
|
33580
|
+
var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33581
|
+
var d,
|
|
33582
|
+
c = arguments.length,
|
|
33583
|
+
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
33584
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _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);
|
|
33585
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33586
|
+
},
|
|
33587
|
+
__metadata$n = undefined && undefined.__metadata || function (k, v) {
|
|
33588
|
+
if ("object" == (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
33589
|
+
},
|
|
33590
|
+
__awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
33591
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33592
|
+
function fulfilled(value) {
|
|
33593
|
+
try {
|
|
33594
|
+
step(generator.next(value));
|
|
33595
|
+
} catch (e) {
|
|
33596
|
+
reject(e);
|
|
33597
|
+
}
|
|
33598
|
+
}
|
|
33599
|
+
function rejected(value) {
|
|
33600
|
+
try {
|
|
33601
|
+
step(generator["throw"](value));
|
|
33602
|
+
} catch (e) {
|
|
33603
|
+
reject(e);
|
|
33604
|
+
}
|
|
33605
|
+
}
|
|
33606
|
+
function step(result) {
|
|
33607
|
+
var value;
|
|
33608
|
+
result.done ? resolve(result.value) : (value = result.value, value instanceof P ? value : new P(function (resolve) {
|
|
33609
|
+
resolve(value);
|
|
33610
|
+
})).then(fulfilled, rejected);
|
|
33611
|
+
}
|
|
33612
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
33613
|
+
});
|
|
33614
|
+
};
|
|
33615
|
+
function makeUpCanvas(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, component) {
|
|
33616
|
+
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
33617
|
+
var dpr, _loop, i;
|
|
33618
|
+
return _regeneratorRuntime().wrap(function _callee$(_context2) {
|
|
33619
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
33620
|
+
case 0:
|
|
33621
|
+
dpr = tt.getSystemInfoSync().pixelRatio;
|
|
33622
|
+
_loop = /*#__PURE__*/_regeneratorRuntime().mark(function _loop(i) {
|
|
33623
|
+
var id;
|
|
33624
|
+
return _regeneratorRuntime().wrap(function _loop$(_context) {
|
|
33625
|
+
while (1) switch (_context.prev = _context.next) {
|
|
33626
|
+
case 0:
|
|
33627
|
+
id = canvasIdLists[i];
|
|
33628
|
+
_context.next = 3;
|
|
33629
|
+
return new Promise(function (resolve) {
|
|
33630
|
+
var data = tt.createSelectorQuery();
|
|
33631
|
+
component && (data = data["in"](component)), data.select("#".concat(id)).node().exec(function (res) {
|
|
33632
|
+
var canvas = res[0].node,
|
|
33633
|
+
width = canvas.width,
|
|
33634
|
+
height = canvas.height;
|
|
33635
|
+
canvas.width = width * dpr, canvas.height = height * dpr, canvasMap.set(id, canvas), i >= freeCanvasIdx && freeCanvasList.push(canvas), resolve(null);
|
|
33636
|
+
});
|
|
33637
|
+
});
|
|
33638
|
+
case 3:
|
|
33639
|
+
case "end":
|
|
33640
|
+
return _context.stop();
|
|
33641
|
+
}
|
|
33642
|
+
}, _loop);
|
|
33643
|
+
});
|
|
33644
|
+
i = 0;
|
|
33645
|
+
case 3:
|
|
33646
|
+
if (!(i < canvasIdLists.length)) {
|
|
33647
|
+
_context2.next = 8;
|
|
33648
|
+
break;
|
|
33649
|
+
}
|
|
33650
|
+
return _context2.delegateYield(_loop(i), "t0", 5);
|
|
33651
|
+
case 5:
|
|
33652
|
+
i++;
|
|
33653
|
+
_context2.next = 3;
|
|
33654
|
+
break;
|
|
33655
|
+
case 8:
|
|
33656
|
+
case "end":
|
|
33657
|
+
return _context2.stop();
|
|
33658
|
+
}
|
|
33659
|
+
}, _callee);
|
|
33660
|
+
}));
|
|
33661
|
+
}
|
|
33662
|
+
var TTEnvContribution = /*#__PURE__*/function (_BaseEnvContribution) {
|
|
33663
|
+
function TTEnvContribution() {
|
|
33664
|
+
var _this;
|
|
33665
|
+
_classCallCheck(this, TTEnvContribution);
|
|
33666
|
+
_this = _callSuper(this, TTEnvContribution), _this.type = "tt", _this.supportEvent = !0, _this.canvasMap = new Map(), _this.freeCanvasList = [], _this.canvasIdx = 0, _this.supportsTouchEvents = !0;
|
|
33667
|
+
try {
|
|
33668
|
+
_this.supportsPointerEvents = !!globalThis.PointerEvent, _this.supportsMouseEvents = !!globalThis.MouseEvent;
|
|
33669
|
+
} catch (err) {
|
|
33670
|
+
_this.supportsPointerEvents = !1, _this.supportsMouseEvents = !1;
|
|
33671
|
+
}
|
|
33672
|
+
_this.applyStyles = !0;
|
|
33673
|
+
return _this;
|
|
33674
|
+
}
|
|
33675
|
+
_inherits(TTEnvContribution, _BaseEnvContribution);
|
|
33676
|
+
return _createClass(TTEnvContribution, [{
|
|
33677
|
+
key: "configure",
|
|
33678
|
+
value: function configure(service, params) {
|
|
33679
|
+
if (service.env === this.type) return service.setActiveEnvContribution(this), makeUpCanvas(params.domref, params.canvasIdLists, this.canvasMap, params.freeCanvasIdx, this.freeCanvasList, params.component).then(function () {});
|
|
33680
|
+
}
|
|
33681
|
+
}, {
|
|
33682
|
+
key: "loadImage",
|
|
33683
|
+
value: function loadImage(url) {
|
|
33684
|
+
return Promise.resolve({
|
|
33685
|
+
data: url,
|
|
33686
|
+
loadState: "success"
|
|
33687
|
+
});
|
|
33688
|
+
}
|
|
33689
|
+
}, {
|
|
33690
|
+
key: "loadSvg",
|
|
33691
|
+
value: function loadSvg(url) {
|
|
33692
|
+
return Promise.reject();
|
|
33693
|
+
}
|
|
33694
|
+
}, {
|
|
33695
|
+
key: "createCanvas",
|
|
33696
|
+
value: function createCanvas(params) {
|
|
33697
|
+
var result = this.freeCanvasList[this.canvasIdx] || this.freeCanvasList[this.freeCanvasList.length - 1];
|
|
33698
|
+
return this.canvasIdx++, result;
|
|
33699
|
+
}
|
|
33700
|
+
}, {
|
|
33701
|
+
key: "createOffscreenCanvas",
|
|
33702
|
+
value: function createOffscreenCanvas(params) {}
|
|
33703
|
+
}, {
|
|
33704
|
+
key: "releaseCanvas",
|
|
33705
|
+
value: function releaseCanvas(canvas) {}
|
|
33706
|
+
}, {
|
|
33707
|
+
key: "getDevicePixelRatio",
|
|
33708
|
+
value: function getDevicePixelRatio() {
|
|
33709
|
+
return tt.getSystemInfoSync().pixelRatio;
|
|
33710
|
+
}
|
|
33711
|
+
}, {
|
|
33712
|
+
key: "getRequestAnimationFrame",
|
|
33713
|
+
value: function getRequestAnimationFrame() {
|
|
33714
|
+
return function (callback) {
|
|
33715
|
+
return rafBasedSto.call(callback);
|
|
33716
|
+
};
|
|
33717
|
+
}
|
|
33718
|
+
}, {
|
|
33719
|
+
key: "getCancelAnimationFrame",
|
|
33720
|
+
value: function getCancelAnimationFrame() {
|
|
33721
|
+
return function (h) {
|
|
33722
|
+
rafBasedSto.clear(h);
|
|
33723
|
+
};
|
|
33724
|
+
}
|
|
33725
|
+
}, {
|
|
33726
|
+
key: "addEventListener",
|
|
33727
|
+
value: function addEventListener(type, listener, options) {
|
|
33728
|
+
return null;
|
|
33729
|
+
}
|
|
33730
|
+
}, {
|
|
33731
|
+
key: "removeEventListener",
|
|
33732
|
+
value: function removeEventListener(type, listener, options) {
|
|
33733
|
+
return null;
|
|
33734
|
+
}
|
|
33735
|
+
}, {
|
|
33736
|
+
key: "dispatchEvent",
|
|
33737
|
+
value: function dispatchEvent(event) {
|
|
33738
|
+
return null;
|
|
33739
|
+
}
|
|
33740
|
+
}, {
|
|
33741
|
+
key: "getElementById",
|
|
33742
|
+
value: function getElementById(str) {
|
|
33743
|
+
return this.canvasMap.get(str);
|
|
33744
|
+
}
|
|
33745
|
+
}, {
|
|
33746
|
+
key: "getRootElement",
|
|
33747
|
+
value: function getRootElement() {
|
|
33748
|
+
return null;
|
|
33749
|
+
}
|
|
33750
|
+
}, {
|
|
33751
|
+
key: "getDocument",
|
|
33752
|
+
value: function getDocument() {
|
|
33753
|
+
return null;
|
|
33754
|
+
}
|
|
33755
|
+
}, {
|
|
33756
|
+
key: "release",
|
|
33757
|
+
value: function release() {}
|
|
33758
|
+
}, {
|
|
33759
|
+
key: "mapToCanvasPoint",
|
|
33760
|
+
value: function mapToCanvasPoint(event) {
|
|
33761
|
+
var _a;
|
|
33762
|
+
return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
|
|
33763
|
+
}
|
|
33764
|
+
}]);
|
|
33765
|
+
}(exports.BaseEnvContribution);
|
|
33766
|
+
TTEnvContribution = __decorate$r([injectable(), __metadata$n("design:paramtypes", [])], TTEnvContribution);
|
|
33767
|
+
|
|
33768
|
+
var ttEnvModule = new ContainerModule(function (bind) {
|
|
33769
|
+
ttEnvModule.isTTBound || (ttEnvModule.isTTBound = !0, bind(TTEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TTEnvContribution));
|
|
33770
|
+
});
|
|
33771
|
+
ttEnvModule.isTTBound = !1;
|
|
33772
|
+
function loadTTEnv(container) {
|
|
33773
|
+
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
33774
|
+
loadTTEnv.__loaded || (loadTTEnv.__loaded = !0, container.load(ttEnvModule), container.load(ttCanvasModule), container.load(ttWindowModule), loadPicker && loadMathPicker(container));
|
|
33775
|
+
}
|
|
33776
|
+
loadTTEnv.__loaded = !1;
|
|
33777
|
+
function initTTEnv() {
|
|
33778
|
+
loadTTEnv(container);
|
|
33779
|
+
}
|
|
33780
|
+
|
|
33327
33781
|
var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
33328
33782
|
var d,
|
|
33329
33783
|
c = arguments.length,
|
|
@@ -34897,7 +35351,7 @@
|
|
|
34897
35351
|
|
|
34898
35352
|
var roughModule = _roughModule;
|
|
34899
35353
|
|
|
34900
|
-
const version = "0.18.11-alpha.
|
|
35354
|
+
const version = "0.18.11-alpha.4";
|
|
34901
35355
|
preLoadAllModule();
|
|
34902
35356
|
if (isBrowserEnv()) {
|
|
34903
35357
|
loadBrowserEnv(container);
|
|
@@ -35315,6 +35769,7 @@
|
|
|
35315
35769
|
exports.initFeishuEnv = initFeishuEnv;
|
|
35316
35770
|
exports.initLynxEnv = initLynxEnv;
|
|
35317
35771
|
exports.initNodeEnv = initNodeEnv;
|
|
35772
|
+
exports.initTTEnv = initTTEnv;
|
|
35318
35773
|
exports.initTaroEnv = initTaroEnv;
|
|
35319
35774
|
exports.initWxEnv = initWxEnv;
|
|
35320
35775
|
exports.inject = inject;
|
|
@@ -35341,6 +35796,7 @@
|
|
|
35341
35796
|
exports.loadFeishuEnv = loadFeishuEnv;
|
|
35342
35797
|
exports.loadLynxEnv = loadLynxEnv;
|
|
35343
35798
|
exports.loadNodeEnv = loadNodeEnv;
|
|
35799
|
+
exports.loadTTEnv = loadTTEnv;
|
|
35344
35800
|
exports.loadTaroEnv = loadTaroEnv;
|
|
35345
35801
|
exports.loadWxEnv = loadWxEnv;
|
|
35346
35802
|
exports.lookAt = lookAt;
|
|
@@ -35461,6 +35917,7 @@
|
|
|
35461
35917
|
exports.transformMat4 = transformMat4;
|
|
35462
35918
|
exports.transformUtil = transformUtil;
|
|
35463
35919
|
exports.translate = translate;
|
|
35920
|
+
exports.ttEnvModule = ttEnvModule;
|
|
35464
35921
|
exports.version = version;
|
|
35465
35922
|
exports.verticalLayout = verticalLayout;
|
|
35466
35923
|
exports.vglobal = vglobal;
|