@visactor/vtable-calendar 1.17.4-alpha.2 → 1.17.4-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vtable-calendar.js +178 -196
- package/dist/vtable-calendar.min.js +1 -1
- package/package.json +3 -3
package/dist/vtable-calendar.js
CHANGED
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
const VGlobal = Symbol.for("VGlobal");
|
|
578
578
|
const DEFAULT_TEXT_FONT_FAMILY$2 = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol";
|
|
579
579
|
|
|
580
|
-
var __decorate$
|
|
580
|
+
var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
581
581
|
var d,
|
|
582
582
|
c = arguments.length,
|
|
583
583
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
return this._env || this.setEnv("browser"), this.envContribution.getElementTopLeft(dom, baseWindow);
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
|
-
DefaultGlobal = __decorate$
|
|
786
|
+
DefaultGlobal = __decorate$15([injectable(), __param$A(0, inject(ContributionProvider)), __param$A(0, named(EnvContribution)), __metadata$M("design:paramtypes", [Object])], DefaultGlobal);
|
|
787
787
|
|
|
788
788
|
var MeasureModeEnum;
|
|
789
789
|
!function (MeasureModeEnum) {
|
|
@@ -4863,7 +4863,7 @@
|
|
|
4863
4863
|
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;
|
|
4864
4864
|
}
|
|
4865
4865
|
|
|
4866
|
-
var __decorate$
|
|
4866
|
+
var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
4867
4867
|
var d,
|
|
4868
4868
|
c = arguments.length,
|
|
4869
4869
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5255,9 +5255,9 @@
|
|
|
5255
5255
|
return data.str = data.result, data.width += suffixWidth, data;
|
|
5256
5256
|
}
|
|
5257
5257
|
};
|
|
5258
|
-
ATextMeasure = __decorate$
|
|
5258
|
+
ATextMeasure = __decorate$14([injectable()], ATextMeasure);
|
|
5259
5259
|
|
|
5260
|
-
var __decorate$
|
|
5260
|
+
var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5261
5261
|
var d,
|
|
5262
5262
|
c = arguments.length,
|
|
5263
5263
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5266,7 +5266,7 @@
|
|
|
5266
5266
|
};
|
|
5267
5267
|
const TextMeasureContribution = Symbol.for("TextMeasureContribution");
|
|
5268
5268
|
let DefaultTextMeasureContribution = class extends ATextMeasure {};
|
|
5269
|
-
DefaultTextMeasureContribution = __decorate$
|
|
5269
|
+
DefaultTextMeasureContribution = __decorate$13([injectable()], DefaultTextMeasureContribution);
|
|
5270
5270
|
|
|
5271
5271
|
const container = new Container$1();
|
|
5272
5272
|
|
|
@@ -5328,7 +5328,7 @@
|
|
|
5328
5328
|
}
|
|
5329
5329
|
const canvasAllocate = new DefaultCanvasAllocate();
|
|
5330
5330
|
|
|
5331
|
-
var __decorate$
|
|
5331
|
+
var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5332
5332
|
var d,
|
|
5333
5333
|
c = arguments.length,
|
|
5334
5334
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5472,9 +5472,9 @@
|
|
|
5472
5472
|
return this._handler.getTopLeft(baseWindow);
|
|
5473
5473
|
}
|
|
5474
5474
|
};
|
|
5475
|
-
DefaultWindow = __decorate$
|
|
5475
|
+
DefaultWindow = __decorate$12([injectable(), __metadata$L("design:paramtypes", [])], DefaultWindow);
|
|
5476
5476
|
|
|
5477
|
-
var __decorate$
|
|
5477
|
+
var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
5478
5478
|
var d,
|
|
5479
5479
|
c = arguments.length,
|
|
5480
5480
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -5579,7 +5579,7 @@
|
|
|
5579
5579
|
return c.nativeCanvas ? c.nativeCanvas : null;
|
|
5580
5580
|
}
|
|
5581
5581
|
};
|
|
5582
|
-
DefaultGraphicUtil = __decorate$
|
|
5582
|
+
DefaultGraphicUtil = __decorate$11([injectable(), __param$z(0, inject(ContributionProvider)), __param$z(0, named(TextMeasureContribution)), __metadata$K("design:paramtypes", [Object])], DefaultGraphicUtil);
|
|
5583
5583
|
var TransformMode;
|
|
5584
5584
|
!function (TransformMode) {
|
|
5585
5585
|
TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
|
|
@@ -5637,7 +5637,7 @@
|
|
|
5637
5637
|
return this;
|
|
5638
5638
|
}
|
|
5639
5639
|
};
|
|
5640
|
-
DefaultTransformUtil = __decorate$
|
|
5640
|
+
DefaultTransformUtil = __decorate$11([injectable(), __metadata$K("design:paramtypes", [])], DefaultTransformUtil);
|
|
5641
5641
|
|
|
5642
5642
|
const defaultThemeObj = {
|
|
5643
5643
|
arc: DefaultArcAttribute,
|
|
@@ -9056,7 +9056,7 @@
|
|
|
9056
9056
|
const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
|
|
9057
9057
|
|
|
9058
9058
|
var DefaultLayerService_1,
|
|
9059
|
-
__decorate$
|
|
9059
|
+
__decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
9060
9060
|
var d,
|
|
9061
9061
|
c = arguments.length,
|
|
9062
9062
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -9127,7 +9127,7 @@
|
|
|
9127
9127
|
this.layerMap.delete(stage);
|
|
9128
9128
|
}
|
|
9129
9129
|
};
|
|
9130
|
-
DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$
|
|
9130
|
+
DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$10([injectable(), __metadata$J("design:paramtypes", [])], DefaultLayerService);
|
|
9131
9131
|
|
|
9132
9132
|
var coreModule = new ContainerModule(bind => {
|
|
9133
9133
|
bind(VGlobal).to(DefaultGlobal).inSingletonScope(), bind(VWindow).to(DefaultWindow), bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(), bind(LayerService).to(DefaultLayerService).inSingletonScope();
|
|
@@ -9633,7 +9633,7 @@
|
|
|
9633
9633
|
const matrixAllocate = new DefaultMatrixAllocate();
|
|
9634
9634
|
const mat4Allocate = new DefaultMat4Allocate();
|
|
9635
9635
|
|
|
9636
|
-
var __decorate
|
|
9636
|
+
var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
9637
9637
|
var d,
|
|
9638
9638
|
c = arguments.length,
|
|
9639
9639
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -9823,7 +9823,7 @@
|
|
|
9823
9823
|
};
|
|
9824
9824
|
}
|
|
9825
9825
|
};
|
|
9826
|
-
DefaultGraphicService = __decorate
|
|
9826
|
+
DefaultGraphicService = __decorate$$([injectable(), __param$y(0, inject(GraphicCreator$1)), __metadata$I("design:paramtypes", [Object])], DefaultGraphicService);
|
|
9827
9827
|
|
|
9828
9828
|
const result = {
|
|
9829
9829
|
x: 0,
|
|
@@ -9963,7 +9963,7 @@
|
|
|
9963
9963
|
}
|
|
9964
9964
|
}
|
|
9965
9965
|
|
|
9966
|
-
var __decorate
|
|
9966
|
+
var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
9967
9967
|
var d,
|
|
9968
9968
|
c = arguments.length,
|
|
9969
9969
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -10047,7 +10047,7 @@
|
|
|
10047
10047
|
});
|
|
10048
10048
|
}
|
|
10049
10049
|
};
|
|
10050
|
-
DefaultBaseInteractiveRenderContribution = __decorate
|
|
10050
|
+
DefaultBaseInteractiveRenderContribution = __decorate$_([injectable(), __param$x(0, inject(ContributionProvider)), __param$x(0, named(InteractiveSubRenderContribution)), __metadata$H("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
|
|
10051
10051
|
|
|
10052
10052
|
class DefaultBaseTextureRenderContribution {
|
|
10053
10053
|
constructor() {
|
|
@@ -10345,7 +10345,7 @@
|
|
|
10345
10345
|
return !edgeCb && path.closePath(), path;
|
|
10346
10346
|
}
|
|
10347
10347
|
|
|
10348
|
-
var __decorate$
|
|
10348
|
+
var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10349
10349
|
var d,
|
|
10350
10350
|
c = arguments.length,
|
|
10351
10351
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -10409,7 +10409,7 @@
|
|
|
10409
10409
|
Array.isArray(stroke) && stroke.some(s => !1 === s) && (doFillOrStroke.doStroke = !1);
|
|
10410
10410
|
}
|
|
10411
10411
|
};
|
|
10412
|
-
SplitRectBeforeRenderContribution$1 = __decorate$
|
|
10412
|
+
SplitRectBeforeRenderContribution$1 = __decorate$Z([injectable()], SplitRectBeforeRenderContribution$1);
|
|
10413
10413
|
let SplitRectAfterRenderContribution$1 = class SplitRectAfterRenderContribution {
|
|
10414
10414
|
constructor() {
|
|
10415
10415
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -10445,7 +10445,7 @@
|
|
|
10445
10445
|
}
|
|
10446
10446
|
}
|
|
10447
10447
|
};
|
|
10448
|
-
SplitRectAfterRenderContribution$1 = __decorate$
|
|
10448
|
+
SplitRectAfterRenderContribution$1 = __decorate$Z([injectable()], SplitRectAfterRenderContribution$1);
|
|
10449
10449
|
const defaultRectRenderContribution = new DefaultRectRenderContribution();
|
|
10450
10450
|
const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
10451
10451
|
const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
@@ -10523,7 +10523,7 @@
|
|
|
10523
10523
|
}
|
|
10524
10524
|
}
|
|
10525
10525
|
|
|
10526
|
-
var __decorate$
|
|
10526
|
+
var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10527
10527
|
var d,
|
|
10528
10528
|
c = arguments.length,
|
|
10529
10529
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -10697,9 +10697,9 @@
|
|
|
10697
10697
|
this._draw(arc, arcAttribute, !1, drawContext, params);
|
|
10698
10698
|
}
|
|
10699
10699
|
};
|
|
10700
|
-
DefaultCanvasArcRender = __decorate$
|
|
10700
|
+
DefaultCanvasArcRender = __decorate$Y([injectable(), __param$w(0, inject(ContributionProvider)), __param$w(0, named(ArcRenderContribution)), __metadata$G("design:paramtypes", [Object])], DefaultCanvasArcRender);
|
|
10701
10701
|
|
|
10702
|
-
var __decorate$
|
|
10702
|
+
var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10703
10703
|
var d,
|
|
10704
10704
|
c = arguments.length,
|
|
10705
10705
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -10750,7 +10750,7 @@
|
|
|
10750
10750
|
this._draw(circle, circleAttribute, !1, drawContext, params);
|
|
10751
10751
|
}
|
|
10752
10752
|
};
|
|
10753
|
-
DefaultCanvasCircleRender = __decorate$
|
|
10753
|
+
DefaultCanvasCircleRender = __decorate$X([injectable(), __param$v(0, inject(ContributionProvider)), __param$v(0, named(CircleRenderContribution)), __metadata$F("design:paramtypes", [Object])], DefaultCanvasCircleRender);
|
|
10754
10754
|
|
|
10755
10755
|
function drawSegItem(ctx, curve, endPercent, params) {
|
|
10756
10756
|
if (!curve.p1) return;
|
|
@@ -10874,7 +10874,7 @@
|
|
|
10874
10874
|
});
|
|
10875
10875
|
}
|
|
10876
10876
|
|
|
10877
|
-
var __decorate$
|
|
10877
|
+
var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10878
10878
|
var d,
|
|
10879
10879
|
c = arguments.length,
|
|
10880
10880
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11035,7 +11035,7 @@
|
|
|
11035
11035
|
} else this.drawSegmentItem(context, line.cache, !!fill, !!stroke, fillOpacity, strokeOpacity, line.attribute, lineAttribute, clipRange, clipRangeByDimension, x, y, line, fillCb, strokeCb);
|
|
11036
11036
|
}
|
|
11037
11037
|
};
|
|
11038
|
-
DefaultCanvasLineRender = __decorate$
|
|
11038
|
+
DefaultCanvasLineRender = __decorate$W([injectable()], DefaultCanvasLineRender);
|
|
11039
11039
|
|
|
11040
11040
|
function drawAreaSegments(path, segPath, percent, params) {
|
|
11041
11041
|
var _a;
|
|
@@ -11164,7 +11164,7 @@
|
|
|
11164
11164
|
const defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
|
|
11165
11165
|
const defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
11166
11166
|
|
|
11167
|
-
var __decorate$
|
|
11167
|
+
var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11168
11168
|
var d,
|
|
11169
11169
|
c = arguments.length,
|
|
11170
11170
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11417,12 +11417,12 @@
|
|
|
11417
11417
|
})(), !1;
|
|
11418
11418
|
}
|
|
11419
11419
|
};
|
|
11420
|
-
DefaultCanvasAreaRender = __decorate$
|
|
11420
|
+
DefaultCanvasAreaRender = __decorate$V([injectable(), __param$u(0, inject(ContributionProvider)), __param$u(0, named(AreaRenderContribution)), __metadata$E("design:paramtypes", [Object])], DefaultCanvasAreaRender);
|
|
11421
11421
|
|
|
11422
11422
|
const defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
11423
11423
|
const defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
11424
11424
|
|
|
11425
|
-
var __decorate$
|
|
11425
|
+
var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11426
11426
|
var d,
|
|
11427
11427
|
c = arguments.length,
|
|
11428
11428
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11476,9 +11476,9 @@
|
|
|
11476
11476
|
this.tempTheme = pathAttribute, this._draw(path, pathAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
11477
11477
|
}
|
|
11478
11478
|
};
|
|
11479
|
-
DefaultCanvasPathRender = __decorate$
|
|
11479
|
+
DefaultCanvasPathRender = __decorate$U([injectable(), __param$t(0, inject(ContributionProvider)), __param$t(0, named(PathRenderContribution)), __metadata$D("design:paramtypes", [Object])], DefaultCanvasPathRender);
|
|
11480
11480
|
|
|
11481
|
-
var __decorate$
|
|
11481
|
+
var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11482
11482
|
var d,
|
|
11483
11483
|
c = arguments.length,
|
|
11484
11484
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11547,9 +11547,9 @@
|
|
|
11547
11547
|
this.tempTheme = rectAttribute, this._draw(rect, rectAttribute, !1, drawContext, params), this.tempTheme = null;
|
|
11548
11548
|
}
|
|
11549
11549
|
};
|
|
11550
|
-
DefaultCanvasRectRender = __decorate$
|
|
11550
|
+
DefaultCanvasRectRender = __decorate$T([injectable(), __param$s(0, inject(ContributionProvider)), __param$s(0, named(RectRenderContribution)), __metadata$C("design:paramtypes", [Object])], DefaultCanvasRectRender);
|
|
11551
11551
|
|
|
11552
|
-
var __decorate$
|
|
11552
|
+
var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11553
11553
|
var d,
|
|
11554
11554
|
c = arguments.length,
|
|
11555
11555
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11627,7 +11627,7 @@
|
|
|
11627
11627
|
this._draw(symbol, symbolAttribute, !1, drawContext, params);
|
|
11628
11628
|
}
|
|
11629
11629
|
};
|
|
11630
|
-
DefaultCanvasSymbolRender = __decorate$
|
|
11630
|
+
DefaultCanvasSymbolRender = __decorate$S([injectable(), __param$r(0, inject(ContributionProvider)), __param$r(0, named(SymbolRenderContribution)), __metadata$B("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
|
|
11631
11631
|
|
|
11632
11632
|
class DefaultBoundsAllocate {
|
|
11633
11633
|
constructor() {
|
|
@@ -11732,7 +11732,7 @@
|
|
|
11732
11732
|
}
|
|
11733
11733
|
const defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
|
|
11734
11734
|
|
|
11735
|
-
var __decorate$
|
|
11735
|
+
var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11736
11736
|
var d,
|
|
11737
11737
|
c = arguments.length,
|
|
11738
11738
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11881,7 +11881,7 @@
|
|
|
11881
11881
|
}
|
|
11882
11882
|
}
|
|
11883
11883
|
};
|
|
11884
|
-
DefaultCanvasTextRender = __decorate$
|
|
11884
|
+
DefaultCanvasTextRender = __decorate$R([injectable(), __param$q(0, inject(ContributionProvider)), __param$q(0, named(TextRenderContribution)), __metadata$A("design:paramtypes", [Object])], DefaultCanvasTextRender);
|
|
11885
11885
|
|
|
11886
11886
|
function drawPolygon(path, points, x, y) {
|
|
11887
11887
|
path.moveTo(points[0].x + x, points[0].y + y);
|
|
@@ -11937,7 +11937,7 @@
|
|
|
11937
11937
|
const defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
|
|
11938
11938
|
const defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
|
|
11939
11939
|
|
|
11940
|
-
var __decorate$
|
|
11940
|
+
var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11941
11941
|
var d,
|
|
11942
11942
|
c = arguments.length,
|
|
11943
11943
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -11988,9 +11988,9 @@
|
|
|
11988
11988
|
this._draw(polygon, polygonAttribute, !1, drawContext, params);
|
|
11989
11989
|
}
|
|
11990
11990
|
};
|
|
11991
|
-
DefaultCanvasPolygonRender = __decorate$
|
|
11991
|
+
DefaultCanvasPolygonRender = __decorate$Q([injectable(), __param$p(0, inject(ContributionProvider)), __param$p(0, named(PolygonRenderContribution)), __metadata$z("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
|
|
11992
11992
|
|
|
11993
|
-
var __decorate$
|
|
11993
|
+
var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
11994
11994
|
var d,
|
|
11995
11995
|
c = arguments.length,
|
|
11996
11996
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -12094,9 +12094,9 @@
|
|
|
12094
12094
|
}) : clip ? context.restore() : context.highPerformanceRestore();
|
|
12095
12095
|
}
|
|
12096
12096
|
};
|
|
12097
|
-
DefaultCanvasGroupRender = __decorate$
|
|
12097
|
+
DefaultCanvasGroupRender = __decorate$P([injectable(), __param$o(0, inject(ContributionProvider)), __param$o(0, named(GroupRenderContribution)), __metadata$y("design:paramtypes", [Object])], DefaultCanvasGroupRender);
|
|
12098
12098
|
|
|
12099
|
-
var __decorate$
|
|
12099
|
+
var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
12100
12100
|
var d,
|
|
12101
12101
|
c = arguments.length,
|
|
12102
12102
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -12173,7 +12173,7 @@
|
|
|
12173
12173
|
this._draw(image, imageAttribute, !1, drawContext);
|
|
12174
12174
|
}
|
|
12175
12175
|
};
|
|
12176
|
-
DefaultCanvasImageRender = __decorate$
|
|
12176
|
+
DefaultCanvasImageRender = __decorate$O([injectable(), __param$n(0, inject(ContributionProvider)), __param$n(0, named(ImageRenderContribution)), __metadata$x("design:paramtypes", [Object])], DefaultCanvasImageRender);
|
|
12177
12177
|
|
|
12178
12178
|
const IncrementalDrawContribution = Symbol.for("IncrementalDrawContribution");
|
|
12179
12179
|
const ArcRender = Symbol.for("ArcRender");
|
|
@@ -12235,7 +12235,7 @@
|
|
|
12235
12235
|
return result;
|
|
12236
12236
|
};
|
|
12237
12237
|
|
|
12238
|
-
var __decorate$
|
|
12238
|
+
var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
12239
12239
|
var d,
|
|
12240
12240
|
c = arguments.length,
|
|
12241
12241
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -12302,7 +12302,7 @@
|
|
|
12302
12302
|
return !1;
|
|
12303
12303
|
}
|
|
12304
12304
|
};
|
|
12305
|
-
CommonDrawItemInterceptorContribution = __decorate$
|
|
12305
|
+
CommonDrawItemInterceptorContribution = __decorate$N([injectable(), __metadata$w("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
|
|
12306
12306
|
class InteractiveDrawItemInterceptorContribution {
|
|
12307
12307
|
constructor() {
|
|
12308
12308
|
this.order = 1;
|
|
@@ -12393,7 +12393,7 @@
|
|
|
12393
12393
|
}
|
|
12394
12394
|
}
|
|
12395
12395
|
|
|
12396
|
-
var __decorate$
|
|
12396
|
+
var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
12397
12397
|
var d,
|
|
12398
12398
|
c = arguments.length,
|
|
12399
12399
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -12440,7 +12440,7 @@
|
|
|
12440
12440
|
this.prepare(updateBounds), this.prepareRenderList(), this.beforeDraw(params), this.draw(params), this.afterDraw(params), this.drawParams = null;
|
|
12441
12441
|
}
|
|
12442
12442
|
};
|
|
12443
|
-
DefaultRenderService = __decorate$
|
|
12443
|
+
DefaultRenderService = __decorate$M([injectable(), __param$m(0, inject(DrawContribution)), __metadata$v("design:paramtypes", [Object])], DefaultRenderService);
|
|
12444
12444
|
|
|
12445
12445
|
var renderModule$1 = new ContainerModule(bind => {
|
|
12446
12446
|
bind(RenderService).to(DefaultRenderService);
|
|
@@ -15131,7 +15131,7 @@
|
|
|
15131
15131
|
return new ShadowRoot(graphic);
|
|
15132
15132
|
}
|
|
15133
15133
|
|
|
15134
|
-
var __decorate$
|
|
15134
|
+
var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15135
15135
|
var d,
|
|
15136
15136
|
c = arguments.length,
|
|
15137
15137
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15169,7 +15169,7 @@
|
|
|
15169
15169
|
return context.highPerformanceRestore(), !result.graphic && result.group && "full" === shadowPickMode && (result.graphic = result.group), result;
|
|
15170
15170
|
}
|
|
15171
15171
|
};
|
|
15172
|
-
ShadowRootPickItemInterceptorContribution = __decorate$
|
|
15172
|
+
ShadowRootPickItemInterceptorContribution = __decorate$L([injectable()], ShadowRootPickItemInterceptorContribution);
|
|
15173
15173
|
let InteractivePickItemInterceptorContribution = class {
|
|
15174
15174
|
constructor() {
|
|
15175
15175
|
this.order = 1;
|
|
@@ -15188,7 +15188,7 @@
|
|
|
15188
15188
|
return null;
|
|
15189
15189
|
}
|
|
15190
15190
|
};
|
|
15191
|
-
InteractivePickItemInterceptorContribution = __decorate$
|
|
15191
|
+
InteractivePickItemInterceptorContribution = __decorate$L([injectable()], InteractivePickItemInterceptorContribution);
|
|
15192
15192
|
let Canvas3DPickItemInterceptor = class {
|
|
15193
15193
|
constructor() {
|
|
15194
15194
|
this.order = 1;
|
|
@@ -15208,7 +15208,7 @@
|
|
|
15208
15208
|
context.setTransformForCurrent();
|
|
15209
15209
|
}
|
|
15210
15210
|
};
|
|
15211
|
-
Canvas3DPickItemInterceptor = __decorate$
|
|
15211
|
+
Canvas3DPickItemInterceptor = __decorate$L([injectable()], Canvas3DPickItemInterceptor);
|
|
15212
15212
|
|
|
15213
15213
|
var pickModule = new ContainerModule((bind, unbind, isBound) => {
|
|
15214
15214
|
isBound(PickerService) || (bind(GlobalPickerService).toSelf(), bind(PickerService).toService(GlobalPickerService)), bind(Canvas3DPickItemInterceptor).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(Canvas3DPickItemInterceptor), bind(ShadowRootPickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(ShadowRootPickItemInterceptorContribution), bind(InteractivePickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(InteractivePickItemInterceptorContribution), bindContributionProvider(bind, PickItemInterceptor);
|
|
@@ -15221,7 +15221,7 @@
|
|
|
15221
15221
|
const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
|
|
15222
15222
|
const PluginService = Symbol.for("PluginService");
|
|
15223
15223
|
|
|
15224
|
-
var __decorate$
|
|
15224
|
+
var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15225
15225
|
var d,
|
|
15226
15226
|
c = arguments.length,
|
|
15227
15227
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15271,7 +15271,7 @@
|
|
|
15271
15271
|
}), this.onRegisterPlugin = [];
|
|
15272
15272
|
}
|
|
15273
15273
|
};
|
|
15274
|
-
DefaultPluginService = __decorate$
|
|
15274
|
+
DefaultPluginService = __decorate$K([injectable(), __param$l(0, inject(ContributionProvider)), __param$l(0, named(AutoEnablePlugins)), __metadata$u("design:paramtypes", [Object])], DefaultPluginService);
|
|
15275
15275
|
|
|
15276
15276
|
var pluginModule = new ContainerModule(bind => {
|
|
15277
15277
|
bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
|
|
@@ -15285,7 +15285,7 @@
|
|
|
15285
15285
|
bind(TextMeasureContribution).to(DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
|
|
15286
15286
|
});
|
|
15287
15287
|
|
|
15288
|
-
var __decorate$
|
|
15288
|
+
var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15289
15289
|
var d,
|
|
15290
15290
|
c = arguments.length,
|
|
15291
15291
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15362,7 +15362,7 @@
|
|
|
15362
15362
|
this.canvas.release();
|
|
15363
15363
|
}
|
|
15364
15364
|
};
|
|
15365
|
-
CanvasLayerHandlerContribution = __decorate$
|
|
15365
|
+
CanvasLayerHandlerContribution = __decorate$J([injectable(), __metadata$t("design:paramtypes", [])], CanvasLayerHandlerContribution);
|
|
15366
15366
|
|
|
15367
15367
|
var layerHandlerModules = new ContainerModule(bind => {
|
|
15368
15368
|
bind(CanvasLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution);
|
|
@@ -15481,7 +15481,7 @@
|
|
|
15481
15481
|
return result;
|
|
15482
15482
|
}
|
|
15483
15483
|
|
|
15484
|
-
var __decorate$
|
|
15484
|
+
var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15485
15485
|
var d,
|
|
15486
15486
|
c = arguments.length,
|
|
15487
15487
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15690,9 +15690,9 @@
|
|
|
15690
15690
|
}
|
|
15691
15691
|
afterDraw(renderService, drawParams) {}
|
|
15692
15692
|
};
|
|
15693
|
-
DefaultDrawContribution = __decorate$
|
|
15693
|
+
DefaultDrawContribution = __decorate$I([injectable(), __param$k(0, multiInject(GraphicRender)), __param$k(1, inject(ContributionProvider)), __param$k(1, named(DrawItemInterceptor)), __metadata$s("design:paramtypes", [Array, Object])], DefaultDrawContribution);
|
|
15694
15694
|
|
|
15695
|
-
var __decorate$
|
|
15695
|
+
var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15696
15696
|
var d,
|
|
15697
15697
|
c = arguments.length,
|
|
15698
15698
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15743,9 +15743,9 @@
|
|
|
15743
15743
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(line, attribute, defaultAttribute), context.setStrokeStyle(line, attribute, offsetX, offsetY, defaultAttribute), context.stroke());
|
|
15744
15744
|
}
|
|
15745
15745
|
};
|
|
15746
|
-
DefaultIncrementalCanvasLineRender = __decorate$
|
|
15746
|
+
DefaultIncrementalCanvasLineRender = __decorate$H([injectable()], DefaultIncrementalCanvasLineRender);
|
|
15747
15747
|
|
|
15748
|
-
var __decorate$
|
|
15748
|
+
var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15749
15749
|
var d,
|
|
15750
15750
|
c = arguments.length,
|
|
15751
15751
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15788,10 +15788,10 @@
|
|
|
15788
15788
|
}), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
|
|
15789
15789
|
}
|
|
15790
15790
|
};
|
|
15791
|
-
DefaultIncrementalCanvasAreaRender = __decorate$
|
|
15791
|
+
DefaultIncrementalCanvasAreaRender = __decorate$G([injectable()], DefaultIncrementalCanvasAreaRender);
|
|
15792
15792
|
|
|
15793
15793
|
var STATUS,
|
|
15794
|
-
__decorate$
|
|
15794
|
+
__decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15795
15795
|
var d,
|
|
15796
15796
|
c = arguments.length,
|
|
15797
15797
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -15931,7 +15931,7 @@
|
|
|
15931
15931
|
});
|
|
15932
15932
|
}
|
|
15933
15933
|
};
|
|
15934
|
-
DefaultIncrementalDrawContribution = __decorate$
|
|
15934
|
+
DefaultIncrementalDrawContribution = __decorate$F([injectable(), __param$j(0, multiInject(GraphicRender)), __param$j(1, inject(DefaultIncrementalCanvasLineRender)), __param$j(2, inject(DefaultIncrementalCanvasAreaRender)), __param$j(3, inject(ContributionProvider)), __param$j(3, named(DrawItemInterceptor)), __metadata$r("design:paramtypes", [Array, Object, Object, Object])], DefaultIncrementalDrawContribution);
|
|
15935
15935
|
|
|
15936
15936
|
var renderModule = new ContainerModule(bind => {
|
|
15937
15937
|
bind(DefaultBaseBackgroundRenderContribution).toSelf().inSingletonScope(), bind(DefaultBaseTextureRenderContribution).toSelf().inSingletonScope(), bind(DrawContribution).to(DefaultDrawContribution), bind(IncrementalDrawContribution).to(DefaultIncrementalDrawContribution), bind(GroupRender).to(DefaultCanvasGroupRender).inSingletonScope(), bind(GraphicRender).toService(GroupRender), bindContributionProvider(bind, GroupRenderContribution), bind(DefaultBaseInteractiveRenderContribution).toSelf().inSingletonScope(), bindContributionProvider(bind, InteractiveSubRenderContribution), bindContributionProvider(bind, GraphicRender), bind(CommonDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(CommonDrawItemInterceptorContribution), bindContributionProvider(bind, DrawItemInterceptor);
|
|
@@ -16721,7 +16721,7 @@
|
|
|
16721
16721
|
}
|
|
16722
16722
|
BaseCanvas.env = "browser";
|
|
16723
16723
|
|
|
16724
|
-
var __decorate$
|
|
16724
|
+
var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16725
16725
|
var d,
|
|
16726
16726
|
c = arguments.length,
|
|
16727
16727
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -16829,9 +16829,9 @@
|
|
|
16829
16829
|
});
|
|
16830
16830
|
}
|
|
16831
16831
|
};
|
|
16832
|
-
BaseEnvContribution = __decorate$
|
|
16832
|
+
BaseEnvContribution = __decorate$E([injectable()], BaseEnvContribution);
|
|
16833
16833
|
|
|
16834
|
-
var __decorate$
|
|
16834
|
+
var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16835
16835
|
var d,
|
|
16836
16836
|
c = arguments.length,
|
|
16837
16837
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -16877,9 +16877,9 @@
|
|
|
16877
16877
|
return this.modelMatrix;
|
|
16878
16878
|
}
|
|
16879
16879
|
};
|
|
16880
|
-
BaseWindowHandlerContribution = __decorate$
|
|
16880
|
+
BaseWindowHandlerContribution = __decorate$D([injectable(), __metadata$q("design:paramtypes", [])], BaseWindowHandlerContribution);
|
|
16881
16881
|
|
|
16882
|
-
var __decorate$
|
|
16882
|
+
var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
16883
16883
|
var d,
|
|
16884
16884
|
c = arguments.length,
|
|
16885
16885
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -16995,7 +16995,7 @@
|
|
|
16995
16995
|
return picker || null;
|
|
16996
16996
|
}
|
|
16997
16997
|
};
|
|
16998
|
-
DefaultPickService = __decorate$
|
|
16998
|
+
DefaultPickService = __decorate$C([injectable(), __param$i(0, inject(ContributionProvider)), __param$i(0, named(PickItemInterceptor)), __metadata$p("design:paramtypes", [Object])], DefaultPickService);
|
|
16999
16999
|
|
|
17000
17000
|
let loadArcModule = !1;
|
|
17001
17001
|
const arcModule = new ContainerModule(bind => {
|
|
@@ -17037,7 +17037,7 @@
|
|
|
17037
17037
|
loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
|
|
17038
17038
|
});
|
|
17039
17039
|
|
|
17040
|
-
var __decorate$
|
|
17040
|
+
var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17041
17041
|
var d,
|
|
17042
17042
|
c = arguments.length,
|
|
17043
17043
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -17098,7 +17098,7 @@
|
|
|
17098
17098
|
this._draw(richtext, richtextAttribute, !1, drawContext);
|
|
17099
17099
|
}
|
|
17100
17100
|
};
|
|
17101
|
-
DefaultCanvasRichTextRender = __decorate$
|
|
17101
|
+
DefaultCanvasRichTextRender = __decorate$B([injectable(), __metadata$o("design:paramtypes", [])], DefaultCanvasRichTextRender);
|
|
17102
17102
|
|
|
17103
17103
|
let loadRichtextModule = !1;
|
|
17104
17104
|
const richtextModule = new ContainerModule(bind => {
|
|
@@ -17765,7 +17765,7 @@
|
|
|
17765
17765
|
}
|
|
17766
17766
|
}
|
|
17767
17767
|
|
|
17768
|
-
var __decorate$
|
|
17768
|
+
var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17769
17769
|
var d,
|
|
17770
17770
|
c = arguments.length,
|
|
17771
17771
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18282,9 +18282,9 @@
|
|
|
18282
18282
|
this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
|
|
18283
18283
|
}
|
|
18284
18284
|
};
|
|
18285
|
-
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$
|
|
18285
|
+
BrowserContext2d.env = "browser", BrowserContext2d = __decorate$A([injectable(), __metadata$n("design:paramtypes", [Object, Number])], BrowserContext2d);
|
|
18286
18286
|
|
|
18287
|
-
var __decorate$
|
|
18287
|
+
var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18288
18288
|
var d,
|
|
18289
18289
|
c = arguments.length,
|
|
18290
18290
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18353,7 +18353,7 @@
|
|
|
18353
18353
|
this._context.dpr = this._dpr;
|
|
18354
18354
|
}
|
|
18355
18355
|
};
|
|
18356
|
-
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$
|
|
18356
|
+
BrowserCanvas.env = "browser", BrowserCanvas = __decorate$z([injectable(), __metadata$m("design:paramtypes", [Object])], BrowserCanvas);
|
|
18357
18357
|
|
|
18358
18358
|
function createModule(CanvasConstructor, ContextConstructor) {
|
|
18359
18359
|
return new ContainerModule(bind => {
|
|
@@ -18363,7 +18363,7 @@
|
|
|
18363
18363
|
|
|
18364
18364
|
const browserCanvasModule = createModule(BrowserCanvas, BrowserContext2d);
|
|
18365
18365
|
|
|
18366
|
-
var __decorate$
|
|
18366
|
+
var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18367
18367
|
var d,
|
|
18368
18368
|
c = arguments.length,
|
|
18369
18369
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18424,9 +18424,9 @@
|
|
|
18424
18424
|
return data;
|
|
18425
18425
|
}
|
|
18426
18426
|
};
|
|
18427
|
-
DefaultCanvasPickerService = __decorate$
|
|
18427
|
+
DefaultCanvasPickerService = __decorate$y([injectable(), __param$h(0, inject(ContributionProvider)), __param$h(0, named(CanvasPickerContribution)), __param$h(1, inject(DrawContribution)), __param$h(2, inject(ContributionProvider)), __param$h(2, named(PickItemInterceptor)), __metadata$l("design:paramtypes", [Object, Object, Object])], DefaultCanvasPickerService);
|
|
18428
18428
|
|
|
18429
|
-
var __decorate$
|
|
18429
|
+
var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18430
18430
|
var d,
|
|
18431
18431
|
c = arguments.length,
|
|
18432
18432
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18441,7 +18441,7 @@
|
|
|
18441
18441
|
return !1;
|
|
18442
18442
|
}
|
|
18443
18443
|
};
|
|
18444
|
-
DefaultCanvasGroupPicker = __decorate$
|
|
18444
|
+
DefaultCanvasGroupPicker = __decorate$x([injectable()], DefaultCanvasGroupPicker);
|
|
18445
18445
|
|
|
18446
18446
|
const m = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
18447
18447
|
m.__vloaded || (m.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
@@ -18457,7 +18457,7 @@
|
|
|
18457
18457
|
}
|
|
18458
18458
|
|
|
18459
18459
|
var BrowserWindowHandlerContribution_1,
|
|
18460
|
-
__decorate$
|
|
18460
|
+
__decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18461
18461
|
var d,
|
|
18462
18462
|
c = arguments.length,
|
|
18463
18463
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18621,12 +18621,12 @@
|
|
|
18621
18621
|
return this.global.getElementTopLeft(this.canvas.nativeCanvas, baseWindow);
|
|
18622
18622
|
}
|
|
18623
18623
|
};
|
|
18624
|
-
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$
|
|
18624
|
+
BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$w([injectable(), __metadata$k("design:paramtypes", [])], BrowserWindowHandlerContribution);
|
|
18625
18625
|
const browserWindowModule = new ContainerModule(bind => {
|
|
18626
18626
|
bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(BrowserWindowHandlerContribution)).whenTargetNamed(BrowserWindowHandlerContribution.env);
|
|
18627
18627
|
});
|
|
18628
18628
|
|
|
18629
|
-
var __decorate$
|
|
18629
|
+
var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18630
18630
|
var d,
|
|
18631
18631
|
c = arguments.length,
|
|
18632
18632
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18869,7 +18869,7 @@
|
|
|
18869
18869
|
});
|
|
18870
18870
|
}
|
|
18871
18871
|
};
|
|
18872
|
-
BrowserEnvContribution = __decorate$
|
|
18872
|
+
BrowserEnvContribution = __decorate$v([injectable(), __metadata$j("design:paramtypes", [])], BrowserEnvContribution);
|
|
18873
18873
|
|
|
18874
18874
|
const browserEnvModule = new ContainerModule(bind => {
|
|
18875
18875
|
browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
|
|
@@ -18910,7 +18910,7 @@
|
|
|
18910
18910
|
}
|
|
18911
18911
|
}
|
|
18912
18912
|
|
|
18913
|
-
var __decorate$
|
|
18913
|
+
var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18914
18914
|
var d,
|
|
18915
18915
|
c = arguments.length,
|
|
18916
18916
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18930,14 +18930,14 @@
|
|
|
18930
18930
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
18931
18931
|
}
|
|
18932
18932
|
};
|
|
18933
|
-
DefaultMathArcPicker = __decorate$
|
|
18933
|
+
DefaultMathArcPicker = __decorate$u([injectable(), __param$g(0, inject(ArcRender)), __metadata$i("design:paramtypes", [Object])], DefaultMathArcPicker);
|
|
18934
18934
|
|
|
18935
18935
|
let loadArcPick$1 = !1;
|
|
18936
18936
|
const arcMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
18937
18937
|
loadArcPick$1 || (loadArcPick$1 = !0, bind(MathArcPicker).to(DefaultMathArcPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathArcPicker));
|
|
18938
18938
|
});
|
|
18939
18939
|
|
|
18940
|
-
var __decorate$
|
|
18940
|
+
var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18941
18941
|
var d,
|
|
18942
18942
|
c = arguments.length,
|
|
18943
18943
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18957,14 +18957,14 @@
|
|
|
18957
18957
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
18958
18958
|
}
|
|
18959
18959
|
};
|
|
18960
|
-
DefaultMathCirclePicker = __decorate$
|
|
18960
|
+
DefaultMathCirclePicker = __decorate$t([injectable(), __param$f(0, inject(CircleRender)), __metadata$h("design:paramtypes", [Object])], DefaultMathCirclePicker);
|
|
18961
18961
|
|
|
18962
18962
|
let loadCirclePick$1 = !1;
|
|
18963
18963
|
const circleMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
18964
18964
|
loadCirclePick$1 || (loadCirclePick$1 = !0, bind(MathCirclePicker).to(DefaultMathCirclePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathCirclePicker));
|
|
18965
18965
|
});
|
|
18966
18966
|
|
|
18967
|
-
var __decorate$
|
|
18967
|
+
var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18968
18968
|
var d,
|
|
18969
18969
|
c = arguments.length,
|
|
18970
18970
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -18982,14 +18982,14 @@
|
|
|
18982
18982
|
return !!pickContext && !!image.AABBBounds.containsPoint(point);
|
|
18983
18983
|
}
|
|
18984
18984
|
};
|
|
18985
|
-
DefaultMathImagePicker = __decorate$
|
|
18985
|
+
DefaultMathImagePicker = __decorate$s([injectable()], DefaultMathImagePicker);
|
|
18986
18986
|
|
|
18987
18987
|
let loadImagePick$1 = !1;
|
|
18988
18988
|
const imageMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
18989
18989
|
loadImagePick$1 || (loadImagePick$1 = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
18990
18990
|
});
|
|
18991
18991
|
|
|
18992
|
-
var __decorate$
|
|
18992
|
+
var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
18993
18993
|
var d,
|
|
18994
18994
|
c = arguments.length,
|
|
18995
18995
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19009,14 +19009,14 @@
|
|
|
19009
19009
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
19010
19010
|
}
|
|
19011
19011
|
};
|
|
19012
|
-
DefaultMathLinePicker = __decorate$
|
|
19012
|
+
DefaultMathLinePicker = __decorate$r([injectable(), __param$e(0, inject(LineRender)), __metadata$g("design:paramtypes", [Object])], DefaultMathLinePicker);
|
|
19013
19013
|
|
|
19014
19014
|
let loadLinePick$1 = !1;
|
|
19015
19015
|
const lineMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19016
19016
|
loadLinePick$1 || (loadLinePick$1 = !0, bind(MathLinePicker).to(DefaultMathLinePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathLinePicker));
|
|
19017
19017
|
});
|
|
19018
19018
|
|
|
19019
|
-
var __decorate$
|
|
19019
|
+
var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19020
19020
|
var d,
|
|
19021
19021
|
c = arguments.length,
|
|
19022
19022
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19036,14 +19036,14 @@
|
|
|
19036
19036
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
19037
19037
|
}
|
|
19038
19038
|
};
|
|
19039
|
-
DefaultMathPolygonPicker = __decorate$
|
|
19039
|
+
DefaultMathPolygonPicker = __decorate$q([injectable(), __param$d(0, inject(PolygonRender)), __metadata$f("design:paramtypes", [Object])], DefaultMathPolygonPicker);
|
|
19040
19040
|
|
|
19041
19041
|
let loadPolygonPick$1 = !1;
|
|
19042
19042
|
const polygonMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19043
19043
|
loadPolygonPick$1 || (loadPolygonPick$1 = !0, bind(MathPolygonPicker).to(DefaultMathPolygonPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathPolygonPicker));
|
|
19044
19044
|
});
|
|
19045
19045
|
|
|
19046
|
-
var __decorate$
|
|
19046
|
+
var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19047
19047
|
var d,
|
|
19048
19048
|
c = arguments.length,
|
|
19049
19049
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19063,7 +19063,7 @@
|
|
|
19063
19063
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
19064
19064
|
}
|
|
19065
19065
|
};
|
|
19066
|
-
DefaultMathPathPicker = __decorate$
|
|
19066
|
+
DefaultMathPathPicker = __decorate$p([injectable(), __param$c(0, inject(PathRender)), __metadata$e("design:paramtypes", [Object])], DefaultMathPathPicker);
|
|
19067
19067
|
|
|
19068
19068
|
let loadPathPick$1 = !1;
|
|
19069
19069
|
const pathMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -19118,7 +19118,7 @@
|
|
|
19118
19118
|
}
|
|
19119
19119
|
}
|
|
19120
19120
|
|
|
19121
|
-
var __decorate$
|
|
19121
|
+
var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19122
19122
|
var d,
|
|
19123
19123
|
c = arguments.length,
|
|
19124
19124
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19138,7 +19138,7 @@
|
|
|
19138
19138
|
super(), this.canvasRenderer = canvasRenderer;
|
|
19139
19139
|
}
|
|
19140
19140
|
};
|
|
19141
|
-
DefaultMathRectPicker = __decorate$
|
|
19141
|
+
DefaultMathRectPicker = __decorate$o([injectable(), __param$b(0, inject(RectRender)), __metadata$d("design:paramtypes", [Object])], DefaultMathRectPicker);
|
|
19142
19142
|
|
|
19143
19143
|
let loadRectPick$1 = !1;
|
|
19144
19144
|
const rectMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -19150,7 +19150,7 @@
|
|
|
19150
19150
|
loadRichTextPick || (loadRichTextPick = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
|
|
19151
19151
|
});
|
|
19152
19152
|
|
|
19153
|
-
var __decorate$
|
|
19153
|
+
var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19154
19154
|
var d,
|
|
19155
19155
|
c = arguments.length,
|
|
19156
19156
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19170,14 +19170,14 @@
|
|
|
19170
19170
|
super(), this.canvasRenderer = canvasRenderer, this.type = "symbol", this.numberType = SYMBOL_NUMBER_TYPE;
|
|
19171
19171
|
}
|
|
19172
19172
|
};
|
|
19173
|
-
DefaultMathSymbolPicker = __decorate$
|
|
19173
|
+
DefaultMathSymbolPicker = __decorate$n([injectable(), __param$a(0, inject(SymbolRender)), __metadata$c("design:paramtypes", [Object])], DefaultMathSymbolPicker);
|
|
19174
19174
|
|
|
19175
19175
|
let loadSymbolPick$1 = !1;
|
|
19176
19176
|
const symbolMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19177
19177
|
loadSymbolPick$1 || (loadSymbolPick$1 = !0, bind(MathSymbolPicker).to(DefaultMathSymbolPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathSymbolPicker));
|
|
19178
19178
|
});
|
|
19179
19179
|
|
|
19180
|
-
var __decorate$
|
|
19180
|
+
var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19181
19181
|
var d,
|
|
19182
19182
|
c = arguments.length,
|
|
19183
19183
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19192,14 +19192,14 @@
|
|
|
19192
19192
|
return !!text.AABBBounds.containsPoint(point);
|
|
19193
19193
|
}
|
|
19194
19194
|
};
|
|
19195
|
-
DefaultMathTextPicker = __decorate$
|
|
19195
|
+
DefaultMathTextPicker = __decorate$m([injectable()], DefaultMathTextPicker);
|
|
19196
19196
|
|
|
19197
19197
|
let loadTextPick$1 = !1;
|
|
19198
19198
|
const textMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19199
19199
|
loadTextPick$1 || (loadTextPick$1 = !0, bind(MathTextPicker).to(DefaultMathTextPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathTextPicker));
|
|
19200
19200
|
});
|
|
19201
19201
|
|
|
19202
|
-
var __decorate$
|
|
19202
|
+
var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19203
19203
|
var d,
|
|
19204
19204
|
c = arguments.length,
|
|
19205
19205
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19218,9 +19218,9 @@
|
|
|
19218
19218
|
}
|
|
19219
19219
|
release() {}
|
|
19220
19220
|
};
|
|
19221
|
-
NodeContext2d.env = "node", NodeContext2d = __decorate$
|
|
19221
|
+
NodeContext2d.env = "node", NodeContext2d = __decorate$l([injectable(), __metadata$b("design:paramtypes", [Object, Number])], NodeContext2d);
|
|
19222
19222
|
|
|
19223
|
-
var __decorate$
|
|
19223
|
+
var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19224
19224
|
var d,
|
|
19225
19225
|
c = arguments.length,
|
|
19226
19226
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19241,11 +19241,11 @@
|
|
|
19241
19241
|
this._nativeCanvas.release && isFunction$5(this._nativeCanvas.release) && this._nativeCanvas.release();
|
|
19242
19242
|
}
|
|
19243
19243
|
};
|
|
19244
|
-
NodeCanvas.env = "node", NodeCanvas = __decorate$
|
|
19244
|
+
NodeCanvas.env = "node", NodeCanvas = __decorate$k([injectable(), __metadata$a("design:paramtypes", [Object])], NodeCanvas);
|
|
19245
19245
|
|
|
19246
19246
|
const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
|
|
19247
19247
|
|
|
19248
|
-
var __decorate$
|
|
19248
|
+
var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19249
19249
|
var d,
|
|
19250
19250
|
c = arguments.length,
|
|
19251
19251
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19346,12 +19346,12 @@
|
|
|
19346
19346
|
}
|
|
19347
19347
|
clearViewBox(color) {}
|
|
19348
19348
|
};
|
|
19349
|
-
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$
|
|
19349
|
+
NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$j([injectable(), __param$9(0, inject(VGlobal)), __metadata$9("design:paramtypes", [Object])], NodeWindowHandlerContribution);
|
|
19350
19350
|
const nodeWindowModule = new ContainerModule(bind => {
|
|
19351
19351
|
bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(NodeWindowHandlerContribution)).whenTargetNamed(NodeWindowHandlerContribution.env);
|
|
19352
19352
|
});
|
|
19353
19353
|
|
|
19354
|
-
var __decorate$
|
|
19354
|
+
var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19355
19355
|
var d,
|
|
19356
19356
|
c = arguments.length,
|
|
19357
19357
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19437,7 +19437,7 @@
|
|
|
19437
19437
|
release() {}
|
|
19438
19438
|
createOffscreenCanvas(params) {}
|
|
19439
19439
|
};
|
|
19440
|
-
NodeEnvContribution = __decorate$
|
|
19440
|
+
NodeEnvContribution = __decorate$i([injectable()], NodeEnvContribution);
|
|
19441
19441
|
|
|
19442
19442
|
const nodeEnvModule = new ContainerModule(bind => {
|
|
19443
19443
|
nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
@@ -19448,7 +19448,7 @@
|
|
|
19448
19448
|
}
|
|
19449
19449
|
loadNodeEnv.__loaded = !1;
|
|
19450
19450
|
|
|
19451
|
-
var __decorate$
|
|
19451
|
+
var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19452
19452
|
var d,
|
|
19453
19453
|
c = arguments.length,
|
|
19454
19454
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19468,14 +19468,14 @@
|
|
|
19468
19468
|
super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
|
|
19469
19469
|
}
|
|
19470
19470
|
};
|
|
19471
|
-
DefaultCanvasArcPicker = __decorate$
|
|
19471
|
+
DefaultCanvasArcPicker = __decorate$h([injectable(), __param$8(0, inject(ArcRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasArcPicker);
|
|
19472
19472
|
|
|
19473
19473
|
let loadArcPick = !1;
|
|
19474
19474
|
const arcCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19475
19475
|
loadArcPick || (loadArcPick = !0, bind(CanvasArcPicker).to(DefaultCanvasArcPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArcPicker));
|
|
19476
19476
|
});
|
|
19477
19477
|
|
|
19478
|
-
var __decorate$
|
|
19478
|
+
var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19479
19479
|
var d,
|
|
19480
19480
|
c = arguments.length,
|
|
19481
19481
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19495,7 +19495,7 @@
|
|
|
19495
19495
|
super(), this.canvasRenderer = canvasRenderer;
|
|
19496
19496
|
}
|
|
19497
19497
|
};
|
|
19498
|
-
DefaultCanvasRectPicker = __decorate$
|
|
19498
|
+
DefaultCanvasRectPicker = __decorate$g([injectable(), __param$7(0, inject(RectRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasRectPicker);
|
|
19499
19499
|
|
|
19500
19500
|
let loadRectPick = !1;
|
|
19501
19501
|
const rectCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -19537,7 +19537,7 @@
|
|
|
19537
19537
|
}
|
|
19538
19538
|
}
|
|
19539
19539
|
|
|
19540
|
-
var __decorate$
|
|
19540
|
+
var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19541
19541
|
var d,
|
|
19542
19542
|
c = arguments.length,
|
|
19543
19543
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19557,7 +19557,7 @@
|
|
|
19557
19557
|
super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
|
|
19558
19558
|
}
|
|
19559
19559
|
};
|
|
19560
|
-
DefaultCanvasLinePicker = __decorate$
|
|
19560
|
+
DefaultCanvasLinePicker = __decorate$f([injectable(), __param$6(0, inject(LineRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasLinePicker);
|
|
19561
19561
|
|
|
19562
19562
|
let loadLinePick = !1;
|
|
19563
19563
|
const lineCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -19591,7 +19591,7 @@
|
|
|
19591
19591
|
}
|
|
19592
19592
|
}
|
|
19593
19593
|
|
|
19594
|
-
var __decorate$
|
|
19594
|
+
var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19595
19595
|
var d,
|
|
19596
19596
|
c = arguments.length,
|
|
19597
19597
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19646,14 +19646,14 @@
|
|
|
19646
19646
|
}), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
19647
19647
|
}
|
|
19648
19648
|
};
|
|
19649
|
-
DefaultCanvasSymbolPicker = __decorate$
|
|
19649
|
+
DefaultCanvasSymbolPicker = __decorate$e([injectable(), __param$5(0, inject(SymbolRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
|
|
19650
19650
|
|
|
19651
19651
|
let loadSymbolPick = !1;
|
|
19652
19652
|
const symbolCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19653
19653
|
loadSymbolPick || (loadSymbolPick = !0, bind(CanvasSymbolPicker).to(DefaultCanvasSymbolPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasSymbolPicker));
|
|
19654
19654
|
});
|
|
19655
19655
|
|
|
19656
|
-
var __decorate$
|
|
19656
|
+
var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19657
19657
|
var d,
|
|
19658
19658
|
c = arguments.length,
|
|
19659
19659
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19673,14 +19673,14 @@
|
|
|
19673
19673
|
super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
|
|
19674
19674
|
}
|
|
19675
19675
|
};
|
|
19676
|
-
DefaultCanvasCirclePicker = __decorate$
|
|
19676
|
+
DefaultCanvasCirclePicker = __decorate$d([injectable(), __param$4(0, inject(CircleRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
|
|
19677
19677
|
|
|
19678
19678
|
let loadCirclePick = !1;
|
|
19679
19679
|
const circleCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19680
19680
|
loadCirclePick || (loadCirclePick = !0, bind(CanvasCirclePicker).to(DefaultCanvasCirclePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasCirclePicker));
|
|
19681
19681
|
});
|
|
19682
19682
|
|
|
19683
|
-
var __decorate$
|
|
19683
|
+
var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19684
19684
|
var d,
|
|
19685
19685
|
c = arguments.length,
|
|
19686
19686
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19743,14 +19743,14 @@
|
|
|
19743
19743
|
}, (context, symbolAttribute, themeAttribute) => picked), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
|
|
19744
19744
|
}
|
|
19745
19745
|
};
|
|
19746
|
-
DefaultCanvasTextPicker = __decorate$
|
|
19746
|
+
DefaultCanvasTextPicker = __decorate$c([injectable(), __param$3(0, inject(TextRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasTextPicker);
|
|
19747
19747
|
|
|
19748
19748
|
let loadTextPick = !1;
|
|
19749
19749
|
const textCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19750
19750
|
loadTextPick || (loadTextPick = !0, bind(CanvasTextPicker).to(DefaultCanvasTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasTextPicker));
|
|
19751
19751
|
});
|
|
19752
19752
|
|
|
19753
|
-
var __decorate$
|
|
19753
|
+
var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19754
19754
|
var d,
|
|
19755
19755
|
c = arguments.length,
|
|
19756
19756
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19770,14 +19770,14 @@
|
|
|
19770
19770
|
super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
|
|
19771
19771
|
}
|
|
19772
19772
|
};
|
|
19773
|
-
DefaultCanvasPathPicker = __decorate$
|
|
19773
|
+
DefaultCanvasPathPicker = __decorate$b([injectable(), __param$2(0, inject(PathRender)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasPathPicker);
|
|
19774
19774
|
|
|
19775
19775
|
let loadPathPick = !1;
|
|
19776
19776
|
const pathCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19777
19777
|
loadPathPick || (loadPathPick = !0, bind(CanvasPathPicker).to(DefaultCanvasPathPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPathPicker));
|
|
19778
19778
|
});
|
|
19779
19779
|
|
|
19780
|
-
var __decorate$
|
|
19780
|
+
var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19781
19781
|
var d,
|
|
19782
19782
|
c = arguments.length,
|
|
19783
19783
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19797,14 +19797,14 @@
|
|
|
19797
19797
|
super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
|
|
19798
19798
|
}
|
|
19799
19799
|
};
|
|
19800
|
-
DefaultCanvasPolygonPicker = __decorate$
|
|
19800
|
+
DefaultCanvasPolygonPicker = __decorate$a([injectable(), __param$1(0, inject(PolygonRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
|
|
19801
19801
|
|
|
19802
19802
|
let loadPolygonPick = !1;
|
|
19803
19803
|
const polygonCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19804
19804
|
loadPolygonPick || (loadPolygonPick = !0, bind(CanvasPolygonPicker).to(DefaultCanvasPolygonPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPolygonPicker));
|
|
19805
19805
|
});
|
|
19806
19806
|
|
|
19807
|
-
var __decorate$
|
|
19807
|
+
var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19808
19808
|
var d,
|
|
19809
19809
|
c = arguments.length,
|
|
19810
19810
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19827,14 +19827,14 @@
|
|
|
19827
19827
|
return !!richtext.AABBBounds.containsPoint(point);
|
|
19828
19828
|
}
|
|
19829
19829
|
};
|
|
19830
|
-
DefaultCanvasRichTextPicker = __decorate$
|
|
19830
|
+
DefaultCanvasRichTextPicker = __decorate$9([injectable(), __param(0, inject(RichTextRender)), __metadata("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
|
|
19831
19831
|
|
|
19832
19832
|
let loadRichtextPick = !1;
|
|
19833
19833
|
const richtextCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
19834
19834
|
loadRichtextPick || (loadRichtextPick = !0, bind(CanvasRichTextPicker).to(DefaultCanvasRichTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRichTextPicker));
|
|
19835
19835
|
});
|
|
19836
19836
|
|
|
19837
|
-
var __decorate$
|
|
19837
|
+
var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
19838
19838
|
var d,
|
|
19839
19839
|
c = arguments.length,
|
|
19840
19840
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -19852,7 +19852,7 @@
|
|
|
19852
19852
|
return !!pickContext && !!image.AABBBounds.containsPoint(point);
|
|
19853
19853
|
}
|
|
19854
19854
|
};
|
|
19855
|
-
DefaultCanvasImagePicker = __decorate$
|
|
19855
|
+
DefaultCanvasImagePicker = __decorate$8([injectable()], DefaultCanvasImagePicker);
|
|
19856
19856
|
|
|
19857
19857
|
let loadImagePick = !1;
|
|
19858
19858
|
const imageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
@@ -21415,7 +21415,7 @@
|
|
|
21415
21415
|
padding: 10
|
|
21416
21416
|
};
|
|
21417
21417
|
|
|
21418
|
-
var __decorate$
|
|
21418
|
+
var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21419
21419
|
var d,
|
|
21420
21420
|
c = arguments.length,
|
|
21421
21421
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21457,9 +21457,9 @@
|
|
|
21457
21457
|
}), null === (_b = this.poptipComponent.parent) || void 0 === _b || _b.removeChild(this.poptipComponent), this.poptipComponent = null));
|
|
21458
21458
|
}
|
|
21459
21459
|
};
|
|
21460
|
-
PopTipRenderContribution = __decorate$
|
|
21460
|
+
PopTipRenderContribution = __decorate$7([injectable()], PopTipRenderContribution);
|
|
21461
21461
|
|
|
21462
|
-
var __decorate$
|
|
21462
|
+
var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
21463
21463
|
var d,
|
|
21464
21464
|
c = arguments.length,
|
|
21465
21465
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -21503,7 +21503,7 @@
|
|
|
21503
21503
|
super(...arguments), this.name = "poptip", this.key = this.name + this._uid;
|
|
21504
21504
|
}
|
|
21505
21505
|
};
|
|
21506
|
-
PopTipPlugin = __decorate$
|
|
21506
|
+
PopTipPlugin = __decorate$6([injectable()], PopTipPlugin);
|
|
21507
21507
|
let PopTipForClipedTextPlugin = class extends PopTipPluginBase {
|
|
21508
21508
|
constructor() {
|
|
21509
21509
|
super(...arguments), this.name = "poptipForText", this.key = this.name + this._uid, this.pointerlave = e => {
|
|
@@ -21533,7 +21533,7 @@
|
|
|
21533
21533
|
super.deactivate(context), stage.removeEventListener("pointerleave", this.pointerlave);
|
|
21534
21534
|
}
|
|
21535
21535
|
};
|
|
21536
|
-
PopTipForClipedTextPlugin = __decorate$
|
|
21536
|
+
PopTipForClipedTextPlugin = __decorate$6([injectable()], PopTipForClipedTextPlugin);
|
|
21537
21537
|
|
|
21538
21538
|
const popTipModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
21539
21539
|
isBound(PopTipRenderContribution) || (bind(PopTipRenderContribution).toSelf().inSingletonScope(), bind(InteractiveSubRenderContribution).toService(PopTipRenderContribution)), isBound(PopTipPlugin) || (bind(PopTipPlugin).toSelf(), bind(AutoEnablePlugins).toService(PopTipPlugin)), isBound(PopTipForClipedTextPlugin) || (bind(PopTipForClipedTextPlugin).toSelf(), bind(AutoEnablePlugins).toService(PopTipForClipedTextPlugin));
|
|
@@ -29234,6 +29234,10 @@
|
|
|
29234
29234
|
get selectionFillMode() {
|
|
29235
29235
|
var _a;
|
|
29236
29236
|
return null !== (_a = null == selectionStyle ? void 0 : selectionStyle.selectionFillMode) && void 0 !== _a ? _a : "overlay";
|
|
29237
|
+
},
|
|
29238
|
+
get dynamicUpdateSelectionSize() {
|
|
29239
|
+
var _a;
|
|
29240
|
+
return null !== (_a = null == selectionStyle ? void 0 : selectionStyle.dynamicUpdateSelectionSize) && void 0 !== _a && _a;
|
|
29237
29241
|
}
|
|
29238
29242
|
};
|
|
29239
29243
|
}
|
|
@@ -32239,16 +32243,15 @@
|
|
|
32239
32243
|
}
|
|
32240
32244
|
function getCellCornerRadius(col, row, table) {
|
|
32241
32245
|
const tableCornerRadius = table.theme.frameStyle.cornerRadius;
|
|
32242
|
-
if (table.theme.cellInnerBorder)
|
|
32243
|
-
if (
|
|
32244
|
-
|
|
32245
|
-
|
|
32246
|
-
|
|
32247
|
-
|
|
32248
|
-
|
|
32249
|
-
|
|
32250
|
-
|
|
32251
|
-
if (col === table.colCount - 1 && row === table.rowCount - 1) return [0, 0, tableCornerRadius, 0];
|
|
32246
|
+
if (table.theme.cellInnerBorder) {
|
|
32247
|
+
if (Array.isArray(tableCornerRadius)) {
|
|
32248
|
+
const radius = [0, 0, 0, 0];
|
|
32249
|
+
return 0 === col && 0 === row && (radius[0] = tableCornerRadius[0]), col === table.colCount - 1 && 0 === row && (radius[1] = tableCornerRadius[1]), 0 === col && row === table.rowCount - 1 && (radius[3] = tableCornerRadius[3]), col === table.colCount - 1 && row === table.rowCount - 1 && (radius[2] = tableCornerRadius[2]), radius;
|
|
32250
|
+
}
|
|
32251
|
+
if (tableCornerRadius) {
|
|
32252
|
+
const radius = [0, 0, 0, 0];
|
|
32253
|
+
return 0 === col && 0 === row && (radius[0] = tableCornerRadius), col === table.colCount - 1 && 0 === row && (radius[1] = tableCornerRadius), 0 === col && row === table.rowCount - 1 && (radius[3] = tableCornerRadius), col === table.colCount - 1 && row === table.rowCount - 1 && (radius[2] = tableCornerRadius), radius;
|
|
32254
|
+
}
|
|
32252
32255
|
}
|
|
32253
32256
|
return 0;
|
|
32254
32257
|
}
|
|
@@ -36455,7 +36458,7 @@
|
|
|
36455
36458
|
}
|
|
36456
36459
|
|
|
36457
36460
|
const CHART_NUMBER_TYPE = genNumberType();
|
|
36458
|
-
class Chart extends
|
|
36461
|
+
class Chart extends Group$1 {
|
|
36459
36462
|
constructor(isShareChartSpec, params) {
|
|
36460
36463
|
if (super(params), this.type = "chart", this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
|
|
36461
36464
|
const chartInstance = this.chartInstance = new params.ClassType(params.spec, merge$1({}, this.attribute.tableChartOption, {
|
|
@@ -36750,7 +36753,7 @@
|
|
|
36750
36753
|
}), stage.renderTo(window), window;
|
|
36751
36754
|
}
|
|
36752
36755
|
|
|
36753
|
-
var __decorate$
|
|
36756
|
+
var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
36754
36757
|
var d,
|
|
36755
36758
|
c = arguments.length,
|
|
36756
36759
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -36832,9 +36835,9 @@
|
|
|
36832
36835
|
this._draw(chart, {}, !1, drawContext, params);
|
|
36833
36836
|
}
|
|
36834
36837
|
};
|
|
36835
|
-
DefaultCanvasChartRender = __decorate$
|
|
36838
|
+
DefaultCanvasChartRender = __decorate$5([injectable()], DefaultCanvasChartRender);
|
|
36836
36839
|
|
|
36837
|
-
var __decorate$
|
|
36840
|
+
var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
36838
36841
|
var d,
|
|
36839
36842
|
c = arguments.length,
|
|
36840
36843
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -36858,7 +36861,7 @@
|
|
|
36858
36861
|
}
|
|
36859
36862
|
}
|
|
36860
36863
|
};
|
|
36861
|
-
BeforeImageRenderContribution = __decorate$
|
|
36864
|
+
BeforeImageRenderContribution = __decorate$4([injectable()], BeforeImageRenderContribution);
|
|
36862
36865
|
let AfterImageRenderContribution = class {
|
|
36863
36866
|
constructor() {
|
|
36864
36867
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36870,7 +36873,7 @@
|
|
|
36870
36873
|
"circle" === shape && context.restore();
|
|
36871
36874
|
}
|
|
36872
36875
|
};
|
|
36873
|
-
AfterImageRenderContribution = __decorate$
|
|
36876
|
+
AfterImageRenderContribution = __decorate$4([injectable()], AfterImageRenderContribution);
|
|
36874
36877
|
let BeforeGifImageRenderContribution = class {
|
|
36875
36878
|
constructor() {
|
|
36876
36879
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36882,7 +36885,7 @@
|
|
|
36882
36885
|
isGif && image.playing && (image.attribute.opacity = 0);
|
|
36883
36886
|
}
|
|
36884
36887
|
};
|
|
36885
|
-
BeforeGifImageRenderContribution = __decorate$
|
|
36888
|
+
BeforeGifImageRenderContribution = __decorate$4([injectable()], BeforeGifImageRenderContribution);
|
|
36886
36889
|
let AfterGifImageRenderContribution = class {
|
|
36887
36890
|
constructor() {
|
|
36888
36891
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36894,7 +36897,7 @@
|
|
|
36894
36897
|
isGif && image.playing && (image.attribute.opacity = 1, context.globalAlpha = image.attribute.opacity, image.renderFrame(context, x, y));
|
|
36895
36898
|
}
|
|
36896
36899
|
};
|
|
36897
|
-
AfterGifImageRenderContribution = __decorate$
|
|
36900
|
+
AfterGifImageRenderContribution = __decorate$4([injectable()], AfterGifImageRenderContribution);
|
|
36898
36901
|
|
|
36899
36902
|
function getCellHoverColor(cellGroup, table) {
|
|
36900
36903
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -37029,7 +37032,7 @@
|
|
|
37029
37032
|
return !1;
|
|
37030
37033
|
}
|
|
37031
37034
|
|
|
37032
|
-
var __decorate$
|
|
37035
|
+
var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37033
37036
|
var d,
|
|
37034
37037
|
c = arguments.length,
|
|
37035
37038
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37049,7 +37052,7 @@
|
|
|
37049
37052
|
stroke && (Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
|
|
37050
37053
|
}
|
|
37051
37054
|
};
|
|
37052
|
-
SplitGroupBeforeRenderContribution = __decorate$
|
|
37055
|
+
SplitGroupBeforeRenderContribution = __decorate$3([injectable()], SplitGroupBeforeRenderContribution);
|
|
37053
37056
|
let SplitGroupAfterRenderContribution = class {
|
|
37054
37057
|
constructor() {
|
|
37055
37058
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37095,7 +37098,7 @@
|
|
|
37095
37098
|
}
|
|
37096
37099
|
}
|
|
37097
37100
|
};
|
|
37098
|
-
SplitGroupAfterRenderContribution = __decorate$
|
|
37101
|
+
SplitGroupAfterRenderContribution = __decorate$3([injectable()], SplitGroupAfterRenderContribution);
|
|
37099
37102
|
function getWidthInfo(widthArray) {
|
|
37100
37103
|
if (!Array.isArray(widthArray)) return {
|
|
37101
37104
|
isSplitDraw: !1,
|
|
@@ -37169,7 +37172,7 @@
|
|
|
37169
37172
|
stroke && Array.isArray(lineDash) && lineDash.length && (null === (_a = lineDash[0]) || void 0 === _a ? void 0 : _a.length) && !Array.isArray(strokeArrayColor) && !Array.isArray(strokeArrayWidth) && (doFillOrStroke.doStroke = !1);
|
|
37170
37173
|
}
|
|
37171
37174
|
};
|
|
37172
|
-
DashGroupBeforeRenderContribution = __decorate$
|
|
37175
|
+
DashGroupBeforeRenderContribution = __decorate$3([injectable()], DashGroupBeforeRenderContribution);
|
|
37173
37176
|
let DashGroupAfterRenderContribution = class {
|
|
37174
37177
|
constructor() {
|
|
37175
37178
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37211,7 +37214,7 @@
|
|
|
37211
37214
|
context.setStrokeStyle(group, group.attribute, x, y, groupAttribute), context.beginPath(), context.moveTo(x, y), context.lineTo(x + widthForStroke, y), context.lineDashOffset = context.currentMatrix.e / context.currentMatrix.a, context.setLineDash(null !== (_c = splitLineDash[0]) && void 0 !== _c ? _c : []), context.stroke(), context.beginPath(), context.moveTo(x + widthForStroke, y), context.lineTo(x + widthForStroke, y + heightForStroke), context.lineDashOffset = context.currentMatrix.f / context.currentMatrix.d, context.setLineDash(null !== (_d = splitLineDash[1]) && void 0 !== _d ? _d : []), context.stroke(), context.beginPath(), context.moveTo(x, y + heightForStroke), context.lineTo(x + widthForStroke, y + heightForStroke), context.lineDashOffset = context.currentMatrix.e / context.currentMatrix.a, context.setLineDash(null !== (_e = splitLineDash[2]) && void 0 !== _e ? _e : []), context.stroke(), context.beginPath(), context.moveTo(x, y), context.lineTo(x, y + heightForStroke), context.lineDashOffset = context.currentMatrix.f / context.currentMatrix.d, context.setLineDash(null !== (_f = splitLineDash[3]) && void 0 !== _f ? _f : []), context.stroke(), context.lineDashOffset = 0, context.setLineDash([]);
|
|
37212
37215
|
}
|
|
37213
37216
|
};
|
|
37214
|
-
DashGroupAfterRenderContribution = __decorate$
|
|
37217
|
+
DashGroupAfterRenderContribution = __decorate$3([injectable()], DashGroupAfterRenderContribution);
|
|
37215
37218
|
let AdjustPosGroupBeforeRenderContribution = class {
|
|
37216
37219
|
constructor() {
|
|
37217
37220
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37228,7 +37231,7 @@
|
|
|
37228
37231
|
!0 !== notAdjustPos && stroke && Array.isArray(lineDash) && !lineDash.length && !Array.isArray(strokeArrayColor) && !Array.isArray(strokeArrayWidth) && 1 & lineWidth && (doFillOrStroke.doStroke = !1);
|
|
37229
37232
|
}
|
|
37230
37233
|
};
|
|
37231
|
-
AdjustPosGroupBeforeRenderContribution = __decorate$
|
|
37234
|
+
AdjustPosGroupBeforeRenderContribution = __decorate$3([injectable()], AdjustPosGroupBeforeRenderContribution);
|
|
37232
37235
|
let AdjustPosGroupAfterRenderContribution = class {
|
|
37233
37236
|
constructor() {
|
|
37234
37237
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37268,7 +37271,7 @@
|
|
|
37268
37271
|
}
|
|
37269
37272
|
}
|
|
37270
37273
|
};
|
|
37271
|
-
AdjustPosGroupAfterRenderContribution = __decorate$
|
|
37274
|
+
AdjustPosGroupAfterRenderContribution = __decorate$3([injectable()], AdjustPosGroupAfterRenderContribution);
|
|
37272
37275
|
let AdjustColorGroupBeforeRenderContribution = class {
|
|
37273
37276
|
constructor() {
|
|
37274
37277
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37286,7 +37289,7 @@
|
|
|
37286
37289
|
}
|
|
37287
37290
|
}
|
|
37288
37291
|
};
|
|
37289
|
-
AdjustColorGroupBeforeRenderContribution = __decorate$
|
|
37292
|
+
AdjustColorGroupBeforeRenderContribution = __decorate$3([injectable()], AdjustColorGroupBeforeRenderContribution);
|
|
37290
37293
|
let AdjustColorGroupAfterRenderContribution = class {
|
|
37291
37294
|
constructor() {
|
|
37292
37295
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37298,7 +37301,7 @@
|
|
|
37298
37301
|
}
|
|
37299
37302
|
}
|
|
37300
37303
|
};
|
|
37301
|
-
AdjustColorGroupAfterRenderContribution = __decorate$
|
|
37304
|
+
AdjustColorGroupAfterRenderContribution = __decorate$3([injectable()], AdjustColorGroupAfterRenderContribution);
|
|
37302
37305
|
let ClipBodyGroupBeforeRenderContribution = class {
|
|
37303
37306
|
constructor() {
|
|
37304
37307
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37327,7 +37330,7 @@
|
|
|
37327
37330
|
}
|
|
37328
37331
|
}
|
|
37329
37332
|
};
|
|
37330
|
-
ClipBodyGroupBeforeRenderContribution = __decorate$
|
|
37333
|
+
ClipBodyGroupBeforeRenderContribution = __decorate$3([injectable()], ClipBodyGroupBeforeRenderContribution);
|
|
37331
37334
|
const precision = Math.pow(2, 24);
|
|
37332
37335
|
function drawClipRect(context, x, y, width, height) {
|
|
37333
37336
|
context.beginPath();
|
|
@@ -37355,7 +37358,7 @@
|
|
|
37355
37358
|
return 1 === lineDash.length ? [lineDash[0], lineDash[0], lineDash[0], lineDash[0]] : 2 === lineDash.length ? [lineDash[0], lineDash[1], lineDash[0], lineDash[1]] : lineDash;
|
|
37356
37359
|
}
|
|
37357
37360
|
|
|
37358
|
-
var __decorate$
|
|
37361
|
+
var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37359
37362
|
var d,
|
|
37360
37363
|
c = arguments.length,
|
|
37361
37364
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37375,7 +37378,7 @@
|
|
|
37375
37378
|
stroke && (Array.isArray(stroke) || Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
|
|
37376
37379
|
}
|
|
37377
37380
|
};
|
|
37378
|
-
SplitRectBeforeRenderContribution = __decorate$
|
|
37381
|
+
SplitRectBeforeRenderContribution = __decorate$2([injectable()], SplitRectBeforeRenderContribution);
|
|
37379
37382
|
let SplitRectAfterRenderContribution = class {
|
|
37380
37383
|
constructor() {
|
|
37381
37384
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37400,7 +37403,7 @@
|
|
|
37400
37403
|
}
|
|
37401
37404
|
}
|
|
37402
37405
|
};
|
|
37403
|
-
SplitRectAfterRenderContribution = __decorate$
|
|
37406
|
+
SplitRectAfterRenderContribution = __decorate$2([injectable()], SplitRectAfterRenderContribution);
|
|
37404
37407
|
function renderStrokeWithCornerRadius(i, x1, y1, x2, y2, rect, context, x, y, rectAttribute, stroke, strokeArrayWidth, strokeArrayColor, width, height) {
|
|
37405
37408
|
var _a, _b, _c, _d;
|
|
37406
37409
|
const group = rect,
|
|
@@ -37438,7 +37441,7 @@
|
|
|
37438
37441
|
context.closePath(), isSplitDraw || isDash || (!isWidthNumber && widthInfo.width && (context.lineWidth = widthInfo.width), context.stroke()), context.lineDashOffset = 0, context.setLineDash([]), context.beginPath();
|
|
37439
37442
|
}
|
|
37440
37443
|
|
|
37441
|
-
var __decorate$
|
|
37444
|
+
var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37442
37445
|
var d,
|
|
37443
37446
|
c = arguments.length,
|
|
37444
37447
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37460,7 +37463,7 @@
|
|
|
37460
37463
|
return !1;
|
|
37461
37464
|
}
|
|
37462
37465
|
};
|
|
37463
|
-
VTableDrawItemInterceptorContribution = __decorate$
|
|
37466
|
+
VTableDrawItemInterceptorContribution = __decorate$1([injectable()], VTableDrawItemInterceptorContribution);
|
|
37464
37467
|
class ImageDrawItemInterceptorContribution {
|
|
37465
37468
|
constructor() {
|
|
37466
37469
|
this.order = 1;
|
|
@@ -37507,7 +37510,7 @@
|
|
|
37507
37510
|
}
|
|
37508
37511
|
}
|
|
37509
37512
|
|
|
37510
|
-
var __decorate
|
|
37513
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37511
37514
|
var d,
|
|
37512
37515
|
c = arguments.length,
|
|
37513
37516
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37592,33 +37595,10 @@
|
|
|
37592
37595
|
}
|
|
37593
37596
|
}
|
|
37594
37597
|
};
|
|
37595
|
-
SuffixTextBeforeRenderContribution = __decorate
|
|
37596
|
-
|
|
37597
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37598
|
-
var d,
|
|
37599
|
-
c = arguments.length,
|
|
37600
|
-
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
37601
|
-
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
|
|
37602
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37603
|
-
};
|
|
37604
|
-
let VChartPicker = class {
|
|
37605
|
-
constructor() {
|
|
37606
|
-
this.type = "chart", this.numberType = CHART_NUMBER_TYPE;
|
|
37607
|
-
}
|
|
37608
|
-
contains(chart, point, params) {
|
|
37609
|
-
var _a;
|
|
37610
|
-
const vChart = chart.activeChartInstance;
|
|
37611
|
-
if (!vChart) return !1;
|
|
37612
|
-
const vchartStage = vChart.getStage();
|
|
37613
|
-
null === (_a = vchartStage.dirtyBounds) || void 0 === _a || _a.clear();
|
|
37614
|
-
const pick = vchartStage.pick(point.x, point.y);
|
|
37615
|
-
return (null !== pick.graphic || "root" !== pick.group.name) && pick;
|
|
37616
|
-
}
|
|
37617
|
-
};
|
|
37618
|
-
VChartPicker = __decorate([injectable()], VChartPicker);
|
|
37598
|
+
SuffixTextBeforeRenderContribution = __decorate([injectable()], SuffixTextBeforeRenderContribution);
|
|
37619
37599
|
|
|
37620
37600
|
var splitModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
37621
|
-
isBound(SplitRectBeforeRenderContribution$1) ? rebind(SplitRectBeforeRenderContribution$1).to(SplitRectBeforeRenderContribution).inSingletonScope() : (bind(SplitRectBeforeRenderContribution).toSelf().inSingletonScope(), bind(RectRenderContribution).toService(SplitRectBeforeRenderContribution)), isBound(SplitRectAfterRenderContribution$1) ? rebind(SplitRectAfterRenderContribution$1).to(SplitRectAfterRenderContribution).inSingletonScope() : (bind(SplitRectAfterRenderContribution).toSelf().inSingletonScope(), bind(RectRenderContribution).toService(SplitRectAfterRenderContribution)), bind(DefaultCanvasChartRender).toSelf().inSingletonScope(), bind(ChartRender).to(DefaultCanvasChartRender), bind(GraphicRender).to(DefaultCanvasChartRender), bind(
|
|
37601
|
+
isBound(SplitRectBeforeRenderContribution$1) ? rebind(SplitRectBeforeRenderContribution$1).to(SplitRectBeforeRenderContribution).inSingletonScope() : (bind(SplitRectBeforeRenderContribution).toSelf().inSingletonScope(), bind(RectRenderContribution).toService(SplitRectBeforeRenderContribution)), isBound(SplitRectAfterRenderContribution$1) ? rebind(SplitRectAfterRenderContribution$1).to(SplitRectAfterRenderContribution).inSingletonScope() : (bind(SplitRectAfterRenderContribution).toSelf().inSingletonScope(), bind(RectRenderContribution).toService(SplitRectAfterRenderContribution)), bind(DefaultCanvasChartRender).toSelf().inSingletonScope(), bind(ChartRender).to(DefaultCanvasChartRender), bind(GraphicRender).to(DefaultCanvasChartRender), bind(BeforeImageRenderContribution).toSelf().inSingletonScope(), bind(ImageRenderContribution).toService(BeforeImageRenderContribution), bind(AfterImageRenderContribution).toSelf().inSingletonScope(), bind(ImageRenderContribution).toService(AfterImageRenderContribution), bind(BeforeGifImageRenderContribution).toSelf().inSingletonScope(), bind(ImageRenderContribution).toService(BeforeGifImageRenderContribution), bind(AfterGifImageRenderContribution).toSelf().inSingletonScope(), bind(ImageRenderContribution).toService(AfterGifImageRenderContribution), bind(AdjustColorGroupBeforeRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(AdjustColorGroupBeforeRenderContribution), bind(AdjustColorGroupAfterRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(AdjustColorGroupAfterRenderContribution), bind(SplitGroupAfterRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(SplitGroupAfterRenderContribution), bind(SplitGroupBeforeRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(SplitGroupBeforeRenderContribution), bind(DashGroupBeforeRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(DashGroupBeforeRenderContribution), bind(DashGroupAfterRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(DashGroupAfterRenderContribution), bind(AdjustPosGroupBeforeRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(AdjustPosGroupBeforeRenderContribution), bind(AdjustPosGroupAfterRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(AdjustPosGroupAfterRenderContribution), bind(ClipBodyGroupBeforeRenderContribution).toSelf().inSingletonScope(), bind(GroupRenderContribution).toService(ClipBodyGroupBeforeRenderContribution), bind(VTableDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(VTableDrawItemInterceptorContribution), bind(SuffixTextBeforeRenderContribution).toSelf().inSingletonScope(), bind(TextRenderContribution).toService(SuffixTextBeforeRenderContribution);
|
|
37622
37602
|
});
|
|
37623
37603
|
|
|
37624
37604
|
function computeColsWidth(table, colStart, colEnd, update) {
|
|
@@ -39245,7 +39225,10 @@
|
|
|
39245
39225
|
if (!isNearBottomColHeader && table.bottomFrozenRowCount && endRow < table.rowCount - table.bottomFrozenRowCount) {
|
|
39246
39226
|
table.getRowsHeight(0, endRow) - table.scrollTop > table.tableNoFrameHeight - table.getBottomFrozenRowsHeight() && (isNearBottomColHeader = !0);
|
|
39247
39227
|
}
|
|
39248
|
-
|
|
39228
|
+
const {
|
|
39229
|
+
dynamicUpdateSelectionSize: dynamicUpdateSelectionSize
|
|
39230
|
+
} = table.theme.selectionStyle;
|
|
39231
|
+
if (isNearRowHeader && (selectComp.rect.attribute.stroke[3] || dynamicUpdateSelectionSize) || isNearRightRowHeader && (selectComp.rect.attribute.stroke[1] || dynamicUpdateSelectionSize) || isNearColHeader && (selectComp.rect.attribute.stroke[0] || dynamicUpdateSelectionSize) || isNearBottomColHeader && (selectComp.rect.attribute.stroke[2] || dynamicUpdateSelectionSize)) {
|
|
39249
39232
|
if (isNearRowHeader && selectComp.rect.attribute.stroke[3] && scene.tableGroup.insertAfter(selectComp.rect, "columnHeader" === selectComp.role ? scene.cornerHeaderGroup : "bottomFrozen" === selectComp.role ? scene.leftBottomCornerGroup : scene.rowHeaderGroup), isNearBottomColHeader && selectComp.rect.attribute.stroke[2] && scene.tableGroup.insertAfter(selectComp.rect, "rowHeader" === selectComp.role ? scene.leftBottomCornerGroup : "rightFrozen" === selectComp.role ? scene.rightBottomCornerGroup : scene.bottomFrozenGroup), isNearColHeader && selectComp.rect.attribute.stroke[0] && scene.tableGroup.insertAfter(selectComp.rect, "rowHeader" === selectComp.role ? scene.cornerHeaderGroup : "rightFrozen" === selectComp.role ? scene.rightTopCornerGroup : scene.colHeaderGroup), isNearRightRowHeader && selectComp.rect.attribute.stroke[1] && scene.tableGroup.insertAfter(selectComp.rect, "columnHeader" === selectComp.role ? scene.rightTopCornerGroup : "bottomFrozen" === selectComp.role ? scene.rightBottomCornerGroup : scene.rightFrozenGroup), selectComp.rect.attribute.x < table.getFrozenColsWidth() && table.scrollLeft > 0 && ("body" === selectComp.role || "columnHeader" === selectComp.role || "bottomFrozen" === selectComp.role)) {
|
|
39250
39233
|
const width = selectComp.rect.attribute.width - (table.getFrozenColsWidth() - selectComp.rect.attribute.x);
|
|
39251
39234
|
selectComp.rect.setAttributes({
|
|
@@ -41548,7 +41531,6 @@
|
|
|
41548
41531
|
}
|
|
41549
41532
|
|
|
41550
41533
|
function updateHoverPosition(state, col, row) {
|
|
41551
|
-
var _a;
|
|
41552
41534
|
const {
|
|
41553
41535
|
table: table
|
|
41554
41536
|
} = state,
|
|
@@ -41570,7 +41552,7 @@
|
|
|
41570
41552
|
scenegraph.hideHoverIcon(prevHoverCellCol, prevHoverCellRow), scenegraph.showHoverIcon(col, row), cellPosContainHeader.col = col, cellPosContainHeader.row = row;
|
|
41571
41553
|
}
|
|
41572
41554
|
if ((disableHeader && table.isHeader(col, row) || highlightScope === HighlightScope.none) && (col = -1, row = -1), prevHoverCellCol === col && prevHoverCellRow === row) return;
|
|
41573
|
-
|
|
41555
|
+
scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow), scenegraph.activateChart(col, row);
|
|
41574
41556
|
let updateScenegraph = !1;
|
|
41575
41557
|
const {
|
|
41576
41558
|
ranges: ranges,
|
|
@@ -47630,7 +47612,7 @@
|
|
|
47630
47612
|
constructor(container) {
|
|
47631
47613
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47632
47614
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47633
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.
|
|
47615
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.3", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
47634
47616
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47635
47617
|
const {
|
|
47636
47618
|
frozenColCount = 0,
|