@visactor/vtable-calendar 1.17.4-alpha.4 → 1.17.4-alpha.6
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 +195 -175
- package/dist/vtable-calendar.min.js +1 -1
- package/package.json +2 -2
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$16 = 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$16([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$15 = 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$15([injectable()], ATextMeasure);
|
|
5259
5259
|
|
|
5260
|
-
var __decorate$
|
|
5260
|
+
var __decorate$14 = 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$14([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$13 = 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$13([injectable(), __metadata$L("design:paramtypes", [])], DefaultWindow);
|
|
5476
5476
|
|
|
5477
|
-
var __decorate$
|
|
5477
|
+
var __decorate$12 = 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$12([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$12([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$11 = 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$11([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$10 = 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$10([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$_ = 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$_([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$_([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$Z = 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$Z([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$Y = 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$Y([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$X = 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$X([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$W = 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$W([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$V = 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$V([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$U = 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$U([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$T = 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$T([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$S = 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$S([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$R = 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$R([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$Q = 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$Q([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$P = 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$P([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$O = 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$O([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$N = 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$N([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$M = 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$M([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$M([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$M([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$L = 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$L([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$K = 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$K([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$J = 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$J([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$I = 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$I([injectable()], DefaultIncrementalCanvasLineRender);
|
|
15747
15747
|
|
|
15748
|
-
var __decorate$
|
|
15748
|
+
var __decorate$H = 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$H([injectable()], DefaultIncrementalCanvasAreaRender);
|
|
15792
15792
|
|
|
15793
15793
|
var STATUS,
|
|
15794
|
-
__decorate$
|
|
15794
|
+
__decorate$G = 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$G([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$F = 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$F([injectable()], BaseEnvContribution);
|
|
16833
16833
|
|
|
16834
|
-
var __decorate$
|
|
16834
|
+
var __decorate$E = 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$E([injectable(), __metadata$q("design:paramtypes", [])], BaseWindowHandlerContribution);
|
|
16881
16881
|
|
|
16882
|
-
var __decorate$
|
|
16882
|
+
var __decorate$D = 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$D([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$C = 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$C([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$B = 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$B([injectable(), __metadata$n("design:paramtypes", [Object, Number])], BrowserContext2d);
|
|
18286
18286
|
|
|
18287
|
-
var __decorate$
|
|
18287
|
+
var __decorate$A = 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$A([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$z = 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$z([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$y = 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$y([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$x = 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$x([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$w = 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$w([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$v = 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$v([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$u = 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$u([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$t = 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$t([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$s = 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$s([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$r = 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$r([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$q = 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$q([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$p = 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$p([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$o = 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$o([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$n = 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$n([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$m = 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$m([injectable(), __metadata$b("design:paramtypes", [Object, Number])], NodeContext2d);
|
|
19222
19222
|
|
|
19223
|
-
var __decorate$
|
|
19223
|
+
var __decorate$l = 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$l([injectable(), __metadata$a("design:paramtypes", [Object])], NodeCanvas);
|
|
19245
19245
|
|
|
19246
19246
|
const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
|
|
19247
19247
|
|
|
19248
|
-
var __decorate$
|
|
19248
|
+
var __decorate$k = 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$k([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$j = 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$j([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$i = 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$i([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$h = 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$h([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$g = 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$g([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$f = 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$f([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$e = 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$e([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$d = 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$d([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$c = 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$c([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$b = 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$b([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$a = 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$a([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$9 = 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$9([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$8 = 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$8([injectable()], PopTipRenderContribution);
|
|
21461
21461
|
|
|
21462
|
-
var __decorate$
|
|
21462
|
+
var __decorate$7 = 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$7([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$7([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));
|
|
@@ -36455,7 +36455,7 @@
|
|
|
36455
36455
|
}
|
|
36456
36456
|
|
|
36457
36457
|
const CHART_NUMBER_TYPE = genNumberType();
|
|
36458
|
-
class Chart extends
|
|
36458
|
+
class Chart extends Rect$1 {
|
|
36459
36459
|
constructor(isShareChartSpec, params) {
|
|
36460
36460
|
if (super(params), this.type = "chart", this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
|
|
36461
36461
|
const chartInstance = this.chartInstance = new params.ClassType(params.spec, merge$1({}, this.attribute.tableChartOption, {
|
|
@@ -36576,17 +36576,13 @@
|
|
|
36576
36576
|
}
|
|
36577
36577
|
Chart.temp = 1;
|
|
36578
36578
|
|
|
36579
|
-
|
|
36580
|
-
|
|
36581
|
-
let
|
|
36582
|
-
batchRenderChartCount = 5,
|
|
36579
|
+
const chartRenderKeys = [];
|
|
36580
|
+
const chartRenderQueueList = [];
|
|
36581
|
+
let batchRenderChartCount = 5,
|
|
36583
36582
|
isHandlingChartQueue = !1;
|
|
36584
36583
|
function setBatchRenderChartCount(count) {
|
|
36585
36584
|
isValid$3(count) && (batchRenderChartCount = count);
|
|
36586
36585
|
}
|
|
36587
|
-
function clearChartRenderQueue() {
|
|
36588
|
-
chartRenderKeys = [], chartRenderQueueList = [], isHandlingChartQueue = !1, cancelAnimationFrame(requestAnimationFrameId);
|
|
36589
|
-
}
|
|
36590
36586
|
function IsHandlingChartQueue() {
|
|
36591
36587
|
return isHandlingChartQueue;
|
|
36592
36588
|
}
|
|
@@ -36630,9 +36626,9 @@
|
|
|
36630
36626
|
y2: viewBox.y2 - viewBox.y1
|
|
36631
36627
|
}, !1, !1);
|
|
36632
36628
|
const chartStage = chartInstance.getStage(),
|
|
36633
|
-
matrix = chart.globalTransMatrix
|
|
36634
|
-
stageMatrix = chart.stage.window.getViewBoxTransform();
|
|
36635
|
-
|
|
36629
|
+
matrix = chart.globalTransMatrix,
|
|
36630
|
+
stageMatrix = chart.stage.window.getViewBoxTransform().clone();
|
|
36631
|
+
stageMatrix.multiply(matrix.a, matrix.b, matrix.c, matrix.d, matrix.e, matrix.f), chartStage.window.setViewBoxTransform && chartStage.window.setViewBoxTransform(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f);
|
|
36636
36632
|
const {
|
|
36637
36633
|
table: table
|
|
36638
36634
|
} = chart.getRootNode();
|
|
@@ -36680,7 +36676,7 @@
|
|
|
36680
36676
|
cacheStageCanvas(chartInstance.getStage(), chart);
|
|
36681
36677
|
}
|
|
36682
36678
|
function startRenderChartQueue(table) {
|
|
36683
|
-
isHandlingChartQueue = !0, chartRenderQueueList.length > 0 ?
|
|
36679
|
+
isHandlingChartQueue = !0, chartRenderQueueList.length > 0 ? requestAnimationFrame(() => {
|
|
36684
36680
|
const chartsToRender = chartRenderQueueList.splice(0, batchRenderChartCount);
|
|
36685
36681
|
chartRenderKeys.splice(0, batchRenderChartCount), chartsToRender.forEach(chart => {
|
|
36686
36682
|
renderChart(chart), chart.addUpdateBoundTag();
|
|
@@ -36754,7 +36750,7 @@
|
|
|
36754
36750
|
}), stage.renderTo(window), window;
|
|
36755
36751
|
}
|
|
36756
36752
|
|
|
36757
|
-
var __decorate$
|
|
36753
|
+
var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
36758
36754
|
var d,
|
|
36759
36755
|
c = arguments.length,
|
|
36760
36756
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -36836,9 +36832,9 @@
|
|
|
36836
36832
|
this._draw(chart, {}, !1, drawContext, params);
|
|
36837
36833
|
}
|
|
36838
36834
|
};
|
|
36839
|
-
DefaultCanvasChartRender = __decorate$
|
|
36835
|
+
DefaultCanvasChartRender = __decorate$6([injectable()], DefaultCanvasChartRender);
|
|
36840
36836
|
|
|
36841
|
-
var __decorate$
|
|
36837
|
+
var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
36842
36838
|
var d,
|
|
36843
36839
|
c = arguments.length,
|
|
36844
36840
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -36862,7 +36858,7 @@
|
|
|
36862
36858
|
}
|
|
36863
36859
|
}
|
|
36864
36860
|
};
|
|
36865
|
-
BeforeImageRenderContribution = __decorate$
|
|
36861
|
+
BeforeImageRenderContribution = __decorate$5([injectable()], BeforeImageRenderContribution);
|
|
36866
36862
|
let AfterImageRenderContribution = class {
|
|
36867
36863
|
constructor() {
|
|
36868
36864
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36874,7 +36870,7 @@
|
|
|
36874
36870
|
"circle" === shape && context.restore();
|
|
36875
36871
|
}
|
|
36876
36872
|
};
|
|
36877
|
-
AfterImageRenderContribution = __decorate$
|
|
36873
|
+
AfterImageRenderContribution = __decorate$5([injectable()], AfterImageRenderContribution);
|
|
36878
36874
|
let BeforeGifImageRenderContribution = class {
|
|
36879
36875
|
constructor() {
|
|
36880
36876
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36886,7 +36882,7 @@
|
|
|
36886
36882
|
isGif && image.playing && (image.attribute.opacity = 0);
|
|
36887
36883
|
}
|
|
36888
36884
|
};
|
|
36889
|
-
BeforeGifImageRenderContribution = __decorate$
|
|
36885
|
+
BeforeGifImageRenderContribution = __decorate$5([injectable()], BeforeGifImageRenderContribution);
|
|
36890
36886
|
let AfterGifImageRenderContribution = class {
|
|
36891
36887
|
constructor() {
|
|
36892
36888
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -36898,7 +36894,7 @@
|
|
|
36898
36894
|
isGif && image.playing && (image.attribute.opacity = 1, context.globalAlpha = image.attribute.opacity, image.renderFrame(context, x, y));
|
|
36899
36895
|
}
|
|
36900
36896
|
};
|
|
36901
|
-
AfterGifImageRenderContribution = __decorate$
|
|
36897
|
+
AfterGifImageRenderContribution = __decorate$5([injectable()], AfterGifImageRenderContribution);
|
|
36902
36898
|
|
|
36903
36899
|
function getCellHoverColor(cellGroup, table) {
|
|
36904
36900
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -37033,7 +37029,7 @@
|
|
|
37033
37029
|
return !1;
|
|
37034
37030
|
}
|
|
37035
37031
|
|
|
37036
|
-
var __decorate$
|
|
37032
|
+
var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37037
37033
|
var d,
|
|
37038
37034
|
c = arguments.length,
|
|
37039
37035
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37053,7 +37049,7 @@
|
|
|
37053
37049
|
stroke && (Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
|
|
37054
37050
|
}
|
|
37055
37051
|
};
|
|
37056
|
-
SplitGroupBeforeRenderContribution = __decorate$
|
|
37052
|
+
SplitGroupBeforeRenderContribution = __decorate$4([injectable()], SplitGroupBeforeRenderContribution);
|
|
37057
37053
|
let SplitGroupAfterRenderContribution = class {
|
|
37058
37054
|
constructor() {
|
|
37059
37055
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37099,7 +37095,7 @@
|
|
|
37099
37095
|
}
|
|
37100
37096
|
}
|
|
37101
37097
|
};
|
|
37102
|
-
SplitGroupAfterRenderContribution = __decorate$
|
|
37098
|
+
SplitGroupAfterRenderContribution = __decorate$4([injectable()], SplitGroupAfterRenderContribution);
|
|
37103
37099
|
function getWidthInfo(widthArray) {
|
|
37104
37100
|
if (!Array.isArray(widthArray)) return {
|
|
37105
37101
|
isSplitDraw: !1,
|
|
@@ -37173,7 +37169,7 @@
|
|
|
37173
37169
|
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);
|
|
37174
37170
|
}
|
|
37175
37171
|
};
|
|
37176
|
-
DashGroupBeforeRenderContribution = __decorate$
|
|
37172
|
+
DashGroupBeforeRenderContribution = __decorate$4([injectable()], DashGroupBeforeRenderContribution);
|
|
37177
37173
|
let DashGroupAfterRenderContribution = class {
|
|
37178
37174
|
constructor() {
|
|
37179
37175
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37215,7 +37211,7 @@
|
|
|
37215
37211
|
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([]);
|
|
37216
37212
|
}
|
|
37217
37213
|
};
|
|
37218
|
-
DashGroupAfterRenderContribution = __decorate$
|
|
37214
|
+
DashGroupAfterRenderContribution = __decorate$4([injectable()], DashGroupAfterRenderContribution);
|
|
37219
37215
|
let AdjustPosGroupBeforeRenderContribution = class {
|
|
37220
37216
|
constructor() {
|
|
37221
37217
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37232,7 +37228,7 @@
|
|
|
37232
37228
|
!0 !== notAdjustPos && stroke && Array.isArray(lineDash) && !lineDash.length && !Array.isArray(strokeArrayColor) && !Array.isArray(strokeArrayWidth) && 1 & lineWidth && (doFillOrStroke.doStroke = !1);
|
|
37233
37229
|
}
|
|
37234
37230
|
};
|
|
37235
|
-
AdjustPosGroupBeforeRenderContribution = __decorate$
|
|
37231
|
+
AdjustPosGroupBeforeRenderContribution = __decorate$4([injectable()], AdjustPosGroupBeforeRenderContribution);
|
|
37236
37232
|
let AdjustPosGroupAfterRenderContribution = class {
|
|
37237
37233
|
constructor() {
|
|
37238
37234
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37272,7 +37268,7 @@
|
|
|
37272
37268
|
}
|
|
37273
37269
|
}
|
|
37274
37270
|
};
|
|
37275
|
-
AdjustPosGroupAfterRenderContribution = __decorate$
|
|
37271
|
+
AdjustPosGroupAfterRenderContribution = __decorate$4([injectable()], AdjustPosGroupAfterRenderContribution);
|
|
37276
37272
|
let AdjustColorGroupBeforeRenderContribution = class {
|
|
37277
37273
|
constructor() {
|
|
37278
37274
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37290,7 +37286,7 @@
|
|
|
37290
37286
|
}
|
|
37291
37287
|
}
|
|
37292
37288
|
};
|
|
37293
|
-
AdjustColorGroupBeforeRenderContribution = __decorate$
|
|
37289
|
+
AdjustColorGroupBeforeRenderContribution = __decorate$4([injectable()], AdjustColorGroupBeforeRenderContribution);
|
|
37294
37290
|
let AdjustColorGroupAfterRenderContribution = class {
|
|
37295
37291
|
constructor() {
|
|
37296
37292
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37302,7 +37298,7 @@
|
|
|
37302
37298
|
}
|
|
37303
37299
|
}
|
|
37304
37300
|
};
|
|
37305
|
-
AdjustColorGroupAfterRenderContribution = __decorate$
|
|
37301
|
+
AdjustColorGroupAfterRenderContribution = __decorate$4([injectable()], AdjustColorGroupAfterRenderContribution);
|
|
37306
37302
|
let ClipBodyGroupBeforeRenderContribution = class {
|
|
37307
37303
|
constructor() {
|
|
37308
37304
|
this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37331,7 +37327,7 @@
|
|
|
37331
37327
|
}
|
|
37332
37328
|
}
|
|
37333
37329
|
};
|
|
37334
|
-
ClipBodyGroupBeforeRenderContribution = __decorate$
|
|
37330
|
+
ClipBodyGroupBeforeRenderContribution = __decorate$4([injectable()], ClipBodyGroupBeforeRenderContribution);
|
|
37335
37331
|
const precision = Math.pow(2, 24);
|
|
37336
37332
|
function drawClipRect(context, x, y, width, height) {
|
|
37337
37333
|
context.beginPath();
|
|
@@ -37359,7 +37355,7 @@
|
|
|
37359
37355
|
return 1 === lineDash.length ? [lineDash[0], lineDash[0], lineDash[0], lineDash[0]] : 2 === lineDash.length ? [lineDash[0], lineDash[1], lineDash[0], lineDash[1]] : lineDash;
|
|
37360
37356
|
}
|
|
37361
37357
|
|
|
37362
|
-
var __decorate$
|
|
37358
|
+
var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37363
37359
|
var d,
|
|
37364
37360
|
c = arguments.length,
|
|
37365
37361
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37379,7 +37375,7 @@
|
|
|
37379
37375
|
stroke && (Array.isArray(stroke) || Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
|
|
37380
37376
|
}
|
|
37381
37377
|
};
|
|
37382
|
-
SplitRectBeforeRenderContribution = __decorate$
|
|
37378
|
+
SplitRectBeforeRenderContribution = __decorate$3([injectable()], SplitRectBeforeRenderContribution);
|
|
37383
37379
|
let SplitRectAfterRenderContribution = class {
|
|
37384
37380
|
constructor() {
|
|
37385
37381
|
this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
|
|
@@ -37404,7 +37400,7 @@
|
|
|
37404
37400
|
}
|
|
37405
37401
|
}
|
|
37406
37402
|
};
|
|
37407
|
-
SplitRectAfterRenderContribution = __decorate$
|
|
37403
|
+
SplitRectAfterRenderContribution = __decorate$3([injectable()], SplitRectAfterRenderContribution);
|
|
37408
37404
|
function renderStrokeWithCornerRadius(i, x1, y1, x2, y2, rect, context, x, y, rectAttribute, stroke, strokeArrayWidth, strokeArrayColor, width, height) {
|
|
37409
37405
|
var _a, _b, _c, _d;
|
|
37410
37406
|
const group = rect,
|
|
@@ -37442,7 +37438,7 @@
|
|
|
37442
37438
|
context.closePath(), isSplitDraw || isDash || (!isWidthNumber && widthInfo.width && (context.lineWidth = widthInfo.width), context.stroke()), context.lineDashOffset = 0, context.setLineDash([]), context.beginPath();
|
|
37443
37439
|
}
|
|
37444
37440
|
|
|
37445
|
-
var __decorate$
|
|
37441
|
+
var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37446
37442
|
var d,
|
|
37447
37443
|
c = arguments.length,
|
|
37448
37444
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37464,7 +37460,7 @@
|
|
|
37464
37460
|
return !1;
|
|
37465
37461
|
}
|
|
37466
37462
|
};
|
|
37467
|
-
VTableDrawItemInterceptorContribution = __decorate$
|
|
37463
|
+
VTableDrawItemInterceptorContribution = __decorate$2([injectable()], VTableDrawItemInterceptorContribution);
|
|
37468
37464
|
class ImageDrawItemInterceptorContribution {
|
|
37469
37465
|
constructor() {
|
|
37470
37466
|
this.order = 1;
|
|
@@ -37511,7 +37507,7 @@
|
|
|
37511
37507
|
}
|
|
37512
37508
|
}
|
|
37513
37509
|
|
|
37514
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37510
|
+
var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
37515
37511
|
var d,
|
|
37516
37512
|
c = arguments.length,
|
|
37517
37513
|
r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
|
|
@@ -37596,10 +37592,33 @@
|
|
|
37596
37592
|
}
|
|
37597
37593
|
}
|
|
37598
37594
|
};
|
|
37599
|
-
SuffixTextBeforeRenderContribution = __decorate([injectable()], SuffixTextBeforeRenderContribution);
|
|
37595
|
+
SuffixTextBeforeRenderContribution = __decorate$1([injectable()], SuffixTextBeforeRenderContribution);
|
|
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);
|
|
37600
37619
|
|
|
37601
37620
|
var splitModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
37602
|
-
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);
|
|
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(VChartPicker).toSelf().inSingletonScope(), bind(CanvasPickerContribution).toService(VChartPicker), 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);
|
|
37603
37622
|
});
|
|
37604
37623
|
|
|
37605
37624
|
function computeColsWidth(table, colStart, colEnd, update) {
|
|
@@ -41529,6 +41548,7 @@
|
|
|
41529
41548
|
}
|
|
41530
41549
|
|
|
41531
41550
|
function updateHoverPosition(state, col, row) {
|
|
41551
|
+
var _a;
|
|
41532
41552
|
const {
|
|
41533
41553
|
table: table
|
|
41534
41554
|
} = state,
|
|
@@ -41550,7 +41570,7 @@
|
|
|
41550
41570
|
scenegraph.hideHoverIcon(prevHoverCellCol, prevHoverCellRow), scenegraph.showHoverIcon(col, row), cellPosContainHeader.col = col, cellPosContainHeader.row = row;
|
|
41551
41571
|
}
|
|
41552
41572
|
if ((disableHeader && table.isHeader(col, row) || highlightScope === HighlightScope.none) && (col = -1, row = -1), prevHoverCellCol === col && prevHoverCellRow === row) return;
|
|
41553
|
-
scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow), scenegraph.activateChart(col, row);
|
|
41573
|
+
(null === (_a = state.table.options.customConfig) || void 0 === _a ? void 0 : _a.disableBuildInChartActive) || (scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow), scenegraph.activateChart(col, row));
|
|
41554
41574
|
let updateScenegraph = !1;
|
|
41555
41575
|
const {
|
|
41556
41576
|
ranges: ranges,
|
|
@@ -47610,7 +47630,7 @@
|
|
|
47610
47630
|
constructor(container) {
|
|
47611
47631
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47612
47632
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47613
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.
|
|
47633
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.6", 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");
|
|
47614
47634
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47615
47635
|
const {
|
|
47616
47636
|
frozenColCount = 0,
|
|
@@ -48436,7 +48456,7 @@
|
|
|
48436
48456
|
const {
|
|
48437
48457
|
parentElement: parentElement
|
|
48438
48458
|
} = internalProps.element;
|
|
48439
|
-
parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element), null === (_q = null === (_p = null === (_o = this.editorManager) || void 0 === _o ? void 0 : _o.editingEditor) || void 0 === _p ? void 0 : _p.onEnd) || void 0 === _q || _q.call(_p), this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_r = this.reactCustomLayout) || void 0 === _r || _r.clearCache()
|
|
48459
|
+
parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element), null === (_q = null === (_p = null === (_o = this.editorManager) || void 0 === _o ? void 0 : _o.editingEditor) || void 0 === _p ? void 0 : _p.onEnd) || void 0 === _q || _q.call(_p), this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_r = this.reactCustomLayout) || void 0 === _r || _r.clearCache();
|
|
48440
48460
|
}
|
|
48441
48461
|
fireListeners(type, event) {
|
|
48442
48462
|
return super.fireListeners(type, event);
|
|
@@ -48485,7 +48505,7 @@
|
|
|
48485
48505
|
const internalProps = this.internalProps;
|
|
48486
48506
|
if ("node" === Env.mode || options.canvas || updateRootElementPadding(internalProps.element, this.padding), this.columnWidthComputeMode = null !== (_a = options.columnWidthComputeMode) && void 0 !== _a ? _a : "normal", internalProps.frozenColCount = frozenColCount, internalProps.unfreezeAllOnExceedsMaxWidth = null == unfreezeAllOnExceedsMaxWidth || unfreezeAllOnExceedsMaxWidth, internalProps.defaultRowHeight = defaultRowHeight, internalProps.defaultHeaderRowHeight = null != defaultHeaderRowHeight ? defaultHeaderRowHeight : defaultRowHeight, internalProps.defaultColWidth = defaultColWidth, internalProps.defaultHeaderColWidth = null != defaultHeaderColWidth ? defaultHeaderColWidth : defaultColWidth, internalProps.keyboardOptions = keyboardOptions, internalProps.eventOptions = eventOptions, internalProps.rowSeriesNumber = rowSeriesNumber, internalProps.columnResizeMode = null !== (_b = null == resize ? void 0 : resize.columnResizeMode) && void 0 !== _b ? _b : columnResizeMode, internalProps.rowResizeMode = null !== (_c = null == resize ? void 0 : resize.rowResizeMode) && void 0 !== _c ? _c : rowResizeMode, internalProps.dragHeaderMode = null !== (_e = null !== (_d = null == dragOrder ? void 0 : dragOrder.dragHeaderMode) && void 0 !== _d ? _d : dragHeaderMode) && void 0 !== _e ? _e : "none", internalProps.renderChartAsync = renderChartAsync, setBatchRenderChartCount(renderChartAsyncBatchCount), internalProps.overscrollBehavior = null != overscrollBehavior ? overscrollBehavior : "auto", internalProps.cellTextOverflows = {}, internalProps._rowHeightsMap = new NumberRangeMap(this), internalProps._rowRangeHeightsMap = new Map(), internalProps._colRangeWidthsMap = new Map(), internalProps._widthResizedColMap = new Set(), internalProps._heightResizedRowMap = new Set(), this.colWidthsMap = new NumberMap(), this.colContentWidthsMap = new NumberMap(), this.colWidthsLimit = {}, internalProps.stick.changedCells.clear(), internalProps.theme = themes.of(null !== (_f = options.theme) && void 0 !== _f ? _f : themes.DEFAULT), internalProps.theme.isPivot = this.isPivotTable(), setIconColor(internalProps.theme.functionalIconsStyle), this.scenegraph.updateStageBackground(), internalProps.autoWrapText = options.autoWrapText, internalProps.enableLineBreak = options.enableLineBreak, internalProps.allowFrozenColCount = null !== (_g = options.allowFrozenColCount) && void 0 !== _g ? _g : 0, internalProps.limitMaxAutoWidth = null !== (_h = options.limitMaxAutoWidth) && void 0 !== _h ? _h : 450, internalProps.limitMinWidth = null != limitMinWidth ? "number" == typeof limitMinWidth ? limitMinWidth : limitMinWidth ? 10 : 0 : 10, internalProps.limitMinHeight = null != limitMinHeight ? "number" == typeof limitMinHeight ? limitMinHeight : limitMinHeight ? 10 : 0 : 10, null === (_j = internalProps.legends) || void 0 === _j || _j.forEach(legend => {
|
|
48487
48507
|
null == legend || legend.release();
|
|
48488
|
-
}), null === (_k = internalProps.title) || void 0 === _k || _k.release(), internalProps.title = null, null === (_l = internalProps.emptyTip) || void 0 === _l || _l.release(), internalProps.emptyTip = null, internalProps.layoutMap.release(),
|
|
48508
|
+
}), null === (_k = internalProps.title) || void 0 === _k || _k.release(), internalProps.title = null, null === (_l = internalProps.emptyTip) || void 0 === _l || _l.release(), internalProps.emptyTip = null, internalProps.layoutMap.release(), this.scenegraph.clearCells(), this.scenegraph.updateComponent(), this.stateManager.updateOptionSetState(), this._updateSize(), this.eventManager.updateEventBinder(), options.legends) {
|
|
48489
48509
|
internalProps.legends = [];
|
|
48490
48510
|
const createLegend = Factory.getFunction("createLegend");
|
|
48491
48511
|
if (Array.isArray(options.legends)) {
|
|
@@ -52759,7 +52779,7 @@
|
|
|
52759
52779
|
setRecords(records, option) {
|
|
52760
52780
|
var _a, _b, _c, _d;
|
|
52761
52781
|
let sort;
|
|
52762
|
-
|
|
52782
|
+
null === (_a = this.internalProps.dataSource) || void 0 === _a || _a.release(), this.internalProps.releaseList = null === (_b = this.internalProps.releaseList) || void 0 === _b ? void 0 : _b.filter(item => !item.dataSourceObj), this.internalProps.dataSource = null, Array.isArray(option) || (null == option ? void 0 : option.order) ? sort = option : option ? sort = option.sortState : null === option && (sort = null);
|
|
52763
52783
|
"undefined" != typeof window && window.performance.now();
|
|
52764
52784
|
const oldHoverState = {
|
|
52765
52785
|
col: this.stateManager.hover.cellPos.col,
|