@visactor/vtable-gantt 1.17.3-alpha.11 → 1.17.3-alpha.13

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.
@@ -624,7 +624,7 @@
624
624
  const VGlobal = Symbol.for("VGlobal");
625
625
  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";
626
626
 
627
- var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
627
+ var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
628
628
  var d,
629
629
  c = arguments.length,
630
630
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -830,7 +830,7 @@
830
830
  return this._env || this.setEnv("browser"), this.envContribution.getElementTopLeft(dom, baseWindow);
831
831
  }
832
832
  };
833
- DefaultGlobal = __decorate$16([injectable(), __param$A(0, inject(ContributionProvider)), __param$A(0, named(EnvContribution)), __metadata$M("design:paramtypes", [Object])], DefaultGlobal);
833
+ DefaultGlobal = __decorate$17([injectable(), __param$A(0, inject(ContributionProvider)), __param$A(0, named(EnvContribution)), __metadata$M("design:paramtypes", [Object])], DefaultGlobal);
834
834
 
835
835
  var MeasureModeEnum;
836
836
  !function (MeasureModeEnum) {
@@ -4910,7 +4910,7 @@
4910
4910
  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;
4911
4911
  }
4912
4912
 
4913
- var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
4913
+ var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
4914
4914
  var d,
4915
4915
  c = arguments.length,
4916
4916
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5302,9 +5302,9 @@
5302
5302
  return data.str = data.result, data.width += suffixWidth, data;
5303
5303
  }
5304
5304
  };
5305
- ATextMeasure = __decorate$15([injectable()], ATextMeasure);
5305
+ ATextMeasure = __decorate$16([injectable()], ATextMeasure);
5306
5306
 
5307
- var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5307
+ var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5308
5308
  var d,
5309
5309
  c = arguments.length,
5310
5310
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5313,7 +5313,7 @@
5313
5313
  };
5314
5314
  const TextMeasureContribution = Symbol.for("TextMeasureContribution");
5315
5315
  let DefaultTextMeasureContribution = class extends ATextMeasure {};
5316
- DefaultTextMeasureContribution = __decorate$14([injectable()], DefaultTextMeasureContribution);
5316
+ DefaultTextMeasureContribution = __decorate$15([injectable()], DefaultTextMeasureContribution);
5317
5317
 
5318
5318
  const container = new Container$2();
5319
5319
 
@@ -5375,7 +5375,7 @@
5375
5375
  }
5376
5376
  const canvasAllocate = new DefaultCanvasAllocate();
5377
5377
 
5378
- var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5378
+ var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5379
5379
  var d,
5380
5380
  c = arguments.length,
5381
5381
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5519,9 +5519,9 @@
5519
5519
  return this._handler.getTopLeft(baseWindow);
5520
5520
  }
5521
5521
  };
5522
- DefaultWindow = __decorate$13([injectable(), __metadata$L("design:paramtypes", [])], DefaultWindow);
5522
+ DefaultWindow = __decorate$14([injectable(), __metadata$L("design:paramtypes", [])], DefaultWindow);
5523
5523
 
5524
- var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5524
+ var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5525
5525
  var d,
5526
5526
  c = arguments.length,
5527
5527
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5626,7 +5626,7 @@
5626
5626
  return c.nativeCanvas ? c.nativeCanvas : null;
5627
5627
  }
5628
5628
  };
5629
- DefaultGraphicUtil = __decorate$12([injectable(), __param$z(0, inject(ContributionProvider)), __param$z(0, named(TextMeasureContribution)), __metadata$K("design:paramtypes", [Object])], DefaultGraphicUtil);
5629
+ DefaultGraphicUtil = __decorate$13([injectable(), __param$z(0, inject(ContributionProvider)), __param$z(0, named(TextMeasureContribution)), __metadata$K("design:paramtypes", [Object])], DefaultGraphicUtil);
5630
5630
  var TransformMode;
5631
5631
  !function (TransformMode) {
5632
5632
  TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
@@ -5684,7 +5684,7 @@
5684
5684
  return this;
5685
5685
  }
5686
5686
  };
5687
- DefaultTransformUtil = __decorate$12([injectable(), __metadata$K("design:paramtypes", [])], DefaultTransformUtil);
5687
+ DefaultTransformUtil = __decorate$13([injectable(), __metadata$K("design:paramtypes", [])], DefaultTransformUtil);
5688
5688
 
5689
5689
  const defaultThemeObj = {
5690
5690
  arc: DefaultArcAttribute,
@@ -9103,7 +9103,7 @@
9103
9103
  const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
9104
9104
 
9105
9105
  var DefaultLayerService_1,
9106
- __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
9106
+ __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
9107
9107
  var d,
9108
9108
  c = arguments.length,
9109
9109
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -9174,7 +9174,7 @@
9174
9174
  this.layerMap.delete(stage);
9175
9175
  }
9176
9176
  };
9177
- DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$11([injectable(), __metadata$J("design:paramtypes", [])], DefaultLayerService);
9177
+ DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$12([injectable(), __metadata$J("design:paramtypes", [])], DefaultLayerService);
9178
9178
 
9179
9179
  var coreModule = new ContainerModule(bind => {
9180
9180
  bind(VGlobal).to(DefaultGlobal).inSingletonScope(), bind(VWindow).to(DefaultWindow), bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(), bind(LayerService).to(DefaultLayerService).inSingletonScope();
@@ -9680,7 +9680,7 @@
9680
9680
  const matrixAllocate = new DefaultMatrixAllocate();
9681
9681
  const mat4Allocate = new DefaultMat4Allocate();
9682
9682
 
9683
- var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
9683
+ var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
9684
9684
  var d,
9685
9685
  c = arguments.length,
9686
9686
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -9870,7 +9870,7 @@
9870
9870
  };
9871
9871
  }
9872
9872
  };
9873
- DefaultGraphicService = __decorate$10([injectable(), __param$y(0, inject(GraphicCreator$1)), __metadata$I("design:paramtypes", [Object])], DefaultGraphicService);
9873
+ DefaultGraphicService = __decorate$11([injectable(), __param$y(0, inject(GraphicCreator$1)), __metadata$I("design:paramtypes", [Object])], DefaultGraphicService);
9874
9874
 
9875
9875
  const result = {
9876
9876
  x: 0,
@@ -10010,7 +10010,7 @@
10010
10010
  }
10011
10011
  }
10012
10012
 
10013
- var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10013
+ var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10014
10014
  var d,
10015
10015
  c = arguments.length,
10016
10016
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -10094,7 +10094,7 @@
10094
10094
  });
10095
10095
  }
10096
10096
  };
10097
- DefaultBaseInteractiveRenderContribution = __decorate$$([injectable(), __param$x(0, inject(ContributionProvider)), __param$x(0, named(InteractiveSubRenderContribution)), __metadata$H("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
10097
+ DefaultBaseInteractiveRenderContribution = __decorate$10([injectable(), __param$x(0, inject(ContributionProvider)), __param$x(0, named(InteractiveSubRenderContribution)), __metadata$H("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
10098
10098
 
10099
10099
  class DefaultBaseTextureRenderContribution {
10100
10100
  constructor() {
@@ -10392,7 +10392,7 @@
10392
10392
  return !edgeCb && path.closePath(), path;
10393
10393
  }
10394
10394
 
10395
- var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10395
+ var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10396
10396
  var d,
10397
10397
  c = arguments.length,
10398
10398
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -10456,7 +10456,7 @@
10456
10456
  Array.isArray(stroke) && stroke.some(s => !1 === s) && (doFillOrStroke.doStroke = !1);
10457
10457
  }
10458
10458
  };
10459
- SplitRectBeforeRenderContribution$1 = __decorate$_([injectable()], SplitRectBeforeRenderContribution$1);
10459
+ SplitRectBeforeRenderContribution$1 = __decorate$$([injectable()], SplitRectBeforeRenderContribution$1);
10460
10460
  let SplitRectAfterRenderContribution$1 = class SplitRectAfterRenderContribution {
10461
10461
  constructor() {
10462
10462
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -10492,7 +10492,7 @@
10492
10492
  }
10493
10493
  }
10494
10494
  };
10495
- SplitRectAfterRenderContribution$1 = __decorate$_([injectable()], SplitRectAfterRenderContribution$1);
10495
+ SplitRectAfterRenderContribution$1 = __decorate$$([injectable()], SplitRectAfterRenderContribution$1);
10496
10496
  const defaultRectRenderContribution = new DefaultRectRenderContribution();
10497
10497
  const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
10498
10498
  const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
@@ -10570,7 +10570,7 @@
10570
10570
  }
10571
10571
  }
10572
10572
 
10573
- var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10573
+ var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10574
10574
  var d,
10575
10575
  c = arguments.length,
10576
10576
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -10744,9 +10744,9 @@
10744
10744
  this._draw(arc, arcAttribute, !1, drawContext, params);
10745
10745
  }
10746
10746
  };
10747
- DefaultCanvasArcRender = __decorate$Z([injectable(), __param$w(0, inject(ContributionProvider)), __param$w(0, named(ArcRenderContribution)), __metadata$G("design:paramtypes", [Object])], DefaultCanvasArcRender);
10747
+ DefaultCanvasArcRender = __decorate$_([injectable(), __param$w(0, inject(ContributionProvider)), __param$w(0, named(ArcRenderContribution)), __metadata$G("design:paramtypes", [Object])], DefaultCanvasArcRender);
10748
10748
 
10749
- var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10749
+ var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10750
10750
  var d,
10751
10751
  c = arguments.length,
10752
10752
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -10797,7 +10797,7 @@
10797
10797
  this._draw(circle, circleAttribute, !1, drawContext, params);
10798
10798
  }
10799
10799
  };
10800
- DefaultCanvasCircleRender = __decorate$Y([injectable(), __param$v(0, inject(ContributionProvider)), __param$v(0, named(CircleRenderContribution)), __metadata$F("design:paramtypes", [Object])], DefaultCanvasCircleRender);
10800
+ DefaultCanvasCircleRender = __decorate$Z([injectable(), __param$v(0, inject(ContributionProvider)), __param$v(0, named(CircleRenderContribution)), __metadata$F("design:paramtypes", [Object])], DefaultCanvasCircleRender);
10801
10801
 
10802
10802
  function drawSegItem(ctx, curve, endPercent, params) {
10803
10803
  if (!curve.p1) return;
@@ -10921,7 +10921,7 @@
10921
10921
  });
10922
10922
  }
10923
10923
 
10924
- var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10924
+ var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10925
10925
  var d,
10926
10926
  c = arguments.length,
10927
10927
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11082,7 +11082,7 @@
11082
11082
  } else this.drawSegmentItem(context, line.cache, !!fill, !!stroke, fillOpacity, strokeOpacity, line.attribute, lineAttribute, clipRange, clipRangeByDimension, x, y, line, fillCb, strokeCb);
11083
11083
  }
11084
11084
  };
11085
- DefaultCanvasLineRender = __decorate$X([injectable()], DefaultCanvasLineRender);
11085
+ DefaultCanvasLineRender = __decorate$Y([injectable()], DefaultCanvasLineRender);
11086
11086
 
11087
11087
  function drawAreaSegments(path, segPath, percent, params) {
11088
11088
  var _a;
@@ -11211,7 +11211,7 @@
11211
11211
  const defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
11212
11212
  const defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
11213
11213
 
11214
- var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11214
+ var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11215
11215
  var d,
11216
11216
  c = arguments.length,
11217
11217
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11464,12 +11464,12 @@
11464
11464
  })(), !1;
11465
11465
  }
11466
11466
  };
11467
- DefaultCanvasAreaRender = __decorate$W([injectable(), __param$u(0, inject(ContributionProvider)), __param$u(0, named(AreaRenderContribution)), __metadata$E("design:paramtypes", [Object])], DefaultCanvasAreaRender);
11467
+ DefaultCanvasAreaRender = __decorate$X([injectable(), __param$u(0, inject(ContributionProvider)), __param$u(0, named(AreaRenderContribution)), __metadata$E("design:paramtypes", [Object])], DefaultCanvasAreaRender);
11468
11468
 
11469
11469
  const defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
11470
11470
  const defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
11471
11471
 
11472
- var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11472
+ var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11473
11473
  var d,
11474
11474
  c = arguments.length,
11475
11475
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11523,9 +11523,9 @@
11523
11523
  this.tempTheme = pathAttribute, this._draw(path, pathAttribute, !1, drawContext, params), this.tempTheme = null;
11524
11524
  }
11525
11525
  };
11526
- DefaultCanvasPathRender = __decorate$V([injectable(), __param$t(0, inject(ContributionProvider)), __param$t(0, named(PathRenderContribution)), __metadata$D("design:paramtypes", [Object])], DefaultCanvasPathRender);
11526
+ DefaultCanvasPathRender = __decorate$W([injectable(), __param$t(0, inject(ContributionProvider)), __param$t(0, named(PathRenderContribution)), __metadata$D("design:paramtypes", [Object])], DefaultCanvasPathRender);
11527
11527
 
11528
- var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11528
+ var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11529
11529
  var d,
11530
11530
  c = arguments.length,
11531
11531
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11594,9 +11594,9 @@
11594
11594
  this.tempTheme = rectAttribute, this._draw(rect, rectAttribute, !1, drawContext, params), this.tempTheme = null;
11595
11595
  }
11596
11596
  };
11597
- DefaultCanvasRectRender = __decorate$U([injectable(), __param$s(0, inject(ContributionProvider)), __param$s(0, named(RectRenderContribution)), __metadata$C("design:paramtypes", [Object])], DefaultCanvasRectRender);
11597
+ DefaultCanvasRectRender = __decorate$V([injectable(), __param$s(0, inject(ContributionProvider)), __param$s(0, named(RectRenderContribution)), __metadata$C("design:paramtypes", [Object])], DefaultCanvasRectRender);
11598
11598
 
11599
- var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11599
+ var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11600
11600
  var d,
11601
11601
  c = arguments.length,
11602
11602
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11674,7 +11674,7 @@
11674
11674
  this._draw(symbol, symbolAttribute, !1, drawContext, params);
11675
11675
  }
11676
11676
  };
11677
- DefaultCanvasSymbolRender = __decorate$T([injectable(), __param$r(0, inject(ContributionProvider)), __param$r(0, named(SymbolRenderContribution)), __metadata$B("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
11677
+ DefaultCanvasSymbolRender = __decorate$U([injectable(), __param$r(0, inject(ContributionProvider)), __param$r(0, named(SymbolRenderContribution)), __metadata$B("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
11678
11678
 
11679
11679
  class DefaultBoundsAllocate {
11680
11680
  constructor() {
@@ -11779,7 +11779,7 @@
11779
11779
  }
11780
11780
  const defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
11781
11781
 
11782
- var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11782
+ var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11783
11783
  var d,
11784
11784
  c = arguments.length,
11785
11785
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -11928,7 +11928,7 @@
11928
11928
  }
11929
11929
  }
11930
11930
  };
11931
- DefaultCanvasTextRender = __decorate$S([injectable(), __param$q(0, inject(ContributionProvider)), __param$q(0, named(TextRenderContribution)), __metadata$A("design:paramtypes", [Object])], DefaultCanvasTextRender);
11931
+ DefaultCanvasTextRender = __decorate$T([injectable(), __param$q(0, inject(ContributionProvider)), __param$q(0, named(TextRenderContribution)), __metadata$A("design:paramtypes", [Object])], DefaultCanvasTextRender);
11932
11932
 
11933
11933
  function drawPolygon(path, points, x, y) {
11934
11934
  path.moveTo(points[0].x + x, points[0].y + y);
@@ -11984,7 +11984,7 @@
11984
11984
  const defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
11985
11985
  const defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
11986
11986
 
11987
- var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11987
+ var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11988
11988
  var d,
11989
11989
  c = arguments.length,
11990
11990
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -12035,9 +12035,9 @@
12035
12035
  this._draw(polygon, polygonAttribute, !1, drawContext, params);
12036
12036
  }
12037
12037
  };
12038
- DefaultCanvasPolygonRender = __decorate$R([injectable(), __param$p(0, inject(ContributionProvider)), __param$p(0, named(PolygonRenderContribution)), __metadata$z("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
12038
+ DefaultCanvasPolygonRender = __decorate$S([injectable(), __param$p(0, inject(ContributionProvider)), __param$p(0, named(PolygonRenderContribution)), __metadata$z("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
12039
12039
 
12040
- var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12040
+ var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12041
12041
  var d,
12042
12042
  c = arguments.length,
12043
12043
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -12141,9 +12141,9 @@
12141
12141
  }) : clip ? context.restore() : context.highPerformanceRestore();
12142
12142
  }
12143
12143
  };
12144
- DefaultCanvasGroupRender = __decorate$Q([injectable(), __param$o(0, inject(ContributionProvider)), __param$o(0, named(GroupRenderContribution)), __metadata$y("design:paramtypes", [Object])], DefaultCanvasGroupRender);
12144
+ DefaultCanvasGroupRender = __decorate$R([injectable(), __param$o(0, inject(ContributionProvider)), __param$o(0, named(GroupRenderContribution)), __metadata$y("design:paramtypes", [Object])], DefaultCanvasGroupRender);
12145
12145
 
12146
- var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12146
+ var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12147
12147
  var d,
12148
12148
  c = arguments.length,
12149
12149
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -12220,7 +12220,7 @@
12220
12220
  this._draw(image, imageAttribute, !1, drawContext);
12221
12221
  }
12222
12222
  };
12223
- DefaultCanvasImageRender = __decorate$P([injectable(), __param$n(0, inject(ContributionProvider)), __param$n(0, named(ImageRenderContribution)), __metadata$x("design:paramtypes", [Object])], DefaultCanvasImageRender);
12223
+ DefaultCanvasImageRender = __decorate$Q([injectable(), __param$n(0, inject(ContributionProvider)), __param$n(0, named(ImageRenderContribution)), __metadata$x("design:paramtypes", [Object])], DefaultCanvasImageRender);
12224
12224
 
12225
12225
  const IncrementalDrawContribution = Symbol.for("IncrementalDrawContribution");
12226
12226
  const ArcRender = Symbol.for("ArcRender");
@@ -12282,7 +12282,7 @@
12282
12282
  return result;
12283
12283
  };
12284
12284
 
12285
- var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12285
+ var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12286
12286
  var d,
12287
12287
  c = arguments.length,
12288
12288
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -12349,7 +12349,7 @@
12349
12349
  return !1;
12350
12350
  }
12351
12351
  };
12352
- CommonDrawItemInterceptorContribution = __decorate$O([injectable(), __metadata$w("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
12352
+ CommonDrawItemInterceptorContribution = __decorate$P([injectable(), __metadata$w("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
12353
12353
  class InteractiveDrawItemInterceptorContribution {
12354
12354
  constructor() {
12355
12355
  this.order = 1;
@@ -12440,7 +12440,7 @@
12440
12440
  }
12441
12441
  }
12442
12442
 
12443
- var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12443
+ var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12444
12444
  var d,
12445
12445
  c = arguments.length,
12446
12446
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -12487,7 +12487,7 @@
12487
12487
  this.prepare(updateBounds), this.prepareRenderList(), this.beforeDraw(params), this.draw(params), this.afterDraw(params), this.drawParams = null;
12488
12488
  }
12489
12489
  };
12490
- DefaultRenderService = __decorate$N([injectable(), __param$m(0, inject(DrawContribution)), __metadata$v("design:paramtypes", [Object])], DefaultRenderService);
12490
+ DefaultRenderService = __decorate$O([injectable(), __param$m(0, inject(DrawContribution)), __metadata$v("design:paramtypes", [Object])], DefaultRenderService);
12491
12491
 
12492
12492
  var renderModule$1 = new ContainerModule(bind => {
12493
12493
  bind(RenderService).to(DefaultRenderService);
@@ -15271,7 +15271,7 @@
15271
15271
  return new ShadowRoot(graphic);
15272
15272
  }
15273
15273
 
15274
- var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15274
+ var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15275
15275
  var d,
15276
15276
  c = arguments.length,
15277
15277
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15309,7 +15309,7 @@
15309
15309
  return context.highPerformanceRestore(), !result.graphic && result.group && "full" === shadowPickMode && (result.graphic = result.group), result;
15310
15310
  }
15311
15311
  };
15312
- ShadowRootPickItemInterceptorContribution = __decorate$M([injectable()], ShadowRootPickItemInterceptorContribution);
15312
+ ShadowRootPickItemInterceptorContribution = __decorate$N([injectable()], ShadowRootPickItemInterceptorContribution);
15313
15313
  let InteractivePickItemInterceptorContribution = class {
15314
15314
  constructor() {
15315
15315
  this.order = 1;
@@ -15328,7 +15328,7 @@
15328
15328
  return null;
15329
15329
  }
15330
15330
  };
15331
- InteractivePickItemInterceptorContribution = __decorate$M([injectable()], InteractivePickItemInterceptorContribution);
15331
+ InteractivePickItemInterceptorContribution = __decorate$N([injectable()], InteractivePickItemInterceptorContribution);
15332
15332
  let Canvas3DPickItemInterceptor = class {
15333
15333
  constructor() {
15334
15334
  this.order = 1;
@@ -15348,7 +15348,7 @@
15348
15348
  context.setTransformForCurrent();
15349
15349
  }
15350
15350
  };
15351
- Canvas3DPickItemInterceptor = __decorate$M([injectable()], Canvas3DPickItemInterceptor);
15351
+ Canvas3DPickItemInterceptor = __decorate$N([injectable()], Canvas3DPickItemInterceptor);
15352
15352
 
15353
15353
  var pickModule = new ContainerModule((bind, unbind, isBound) => {
15354
15354
  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);
@@ -15361,7 +15361,7 @@
15361
15361
  const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
15362
15362
  const PluginService = Symbol.for("PluginService");
15363
15363
 
15364
- var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15364
+ var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15365
15365
  var d,
15366
15366
  c = arguments.length,
15367
15367
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15411,7 +15411,7 @@
15411
15411
  }), this.onRegisterPlugin = [];
15412
15412
  }
15413
15413
  };
15414
- DefaultPluginService = __decorate$L([injectable(), __param$l(0, inject(ContributionProvider)), __param$l(0, named(AutoEnablePlugins)), __metadata$u("design:paramtypes", [Object])], DefaultPluginService);
15414
+ DefaultPluginService = __decorate$M([injectable(), __param$l(0, inject(ContributionProvider)), __param$l(0, named(AutoEnablePlugins)), __metadata$u("design:paramtypes", [Object])], DefaultPluginService);
15415
15415
 
15416
15416
  var pluginModule = new ContainerModule(bind => {
15417
15417
  bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
@@ -15425,7 +15425,7 @@
15425
15425
  bind(TextMeasureContribution).to(DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
15426
15426
  });
15427
15427
 
15428
- var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15428
+ var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15429
15429
  var d,
15430
15430
  c = arguments.length,
15431
15431
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15502,7 +15502,7 @@
15502
15502
  this.canvas.release();
15503
15503
  }
15504
15504
  };
15505
- CanvasLayerHandlerContribution = __decorate$K([injectable(), __metadata$t("design:paramtypes", [])], CanvasLayerHandlerContribution);
15505
+ CanvasLayerHandlerContribution = __decorate$L([injectable(), __metadata$t("design:paramtypes", [])], CanvasLayerHandlerContribution);
15506
15506
 
15507
15507
  var layerHandlerModules = new ContainerModule(bind => {
15508
15508
  bind(CanvasLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution);
@@ -15621,7 +15621,7 @@
15621
15621
  return result;
15622
15622
  }
15623
15623
 
15624
- var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15624
+ var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15625
15625
  var d,
15626
15626
  c = arguments.length,
15627
15627
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15830,9 +15830,9 @@
15830
15830
  }
15831
15831
  afterDraw(renderService, drawParams) {}
15832
15832
  };
15833
- 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);
15833
+ DefaultDrawContribution = __decorate$K([injectable(), __param$k(0, multiInject(GraphicRender)), __param$k(1, inject(ContributionProvider)), __param$k(1, named(DrawItemInterceptor)), __metadata$s("design:paramtypes", [Array, Object])], DefaultDrawContribution);
15834
15834
 
15835
- var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15835
+ var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15836
15836
  var d,
15837
15837
  c = arguments.length,
15838
15838
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15883,9 +15883,9 @@
15883
15883
  }), context.setShadowBlendStyle && context.setShadowBlendStyle(line, attribute, defaultAttribute), context.setStrokeStyle(line, attribute, offsetX, offsetY, defaultAttribute), context.stroke());
15884
15884
  }
15885
15885
  };
15886
- DefaultIncrementalCanvasLineRender = __decorate$I([injectable()], DefaultIncrementalCanvasLineRender);
15886
+ DefaultIncrementalCanvasLineRender = __decorate$J([injectable()], DefaultIncrementalCanvasLineRender);
15887
15887
 
15888
- var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15888
+ var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15889
15889
  var d,
15890
15890
  c = arguments.length,
15891
15891
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15928,10 +15928,10 @@
15928
15928
  }), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
15929
15929
  }
15930
15930
  };
15931
- DefaultIncrementalCanvasAreaRender = __decorate$H([injectable()], DefaultIncrementalCanvasAreaRender);
15931
+ DefaultIncrementalCanvasAreaRender = __decorate$I([injectable()], DefaultIncrementalCanvasAreaRender);
15932
15932
 
15933
15933
  var STATUS,
15934
- __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15934
+ __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15935
15935
  var d,
15936
15936
  c = arguments.length,
15937
15937
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -16071,7 +16071,7 @@
16071
16071
  });
16072
16072
  }
16073
16073
  };
16074
- 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);
16074
+ DefaultIncrementalDrawContribution = __decorate$H([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);
16075
16075
 
16076
16076
  var renderModule = new ContainerModule(bind => {
16077
16077
  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);
@@ -16861,7 +16861,7 @@
16861
16861
  }
16862
16862
  BaseCanvas.env = "browser";
16863
16863
 
16864
- var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16864
+ var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16865
16865
  var d,
16866
16866
  c = arguments.length,
16867
16867
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -16969,9 +16969,9 @@
16969
16969
  });
16970
16970
  }
16971
16971
  };
16972
- BaseEnvContribution = __decorate$F([injectable()], BaseEnvContribution);
16972
+ BaseEnvContribution = __decorate$G([injectable()], BaseEnvContribution);
16973
16973
 
16974
- var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16974
+ var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16975
16975
  var d,
16976
16976
  c = arguments.length,
16977
16977
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -17017,9 +17017,9 @@
17017
17017
  return this.modelMatrix;
17018
17018
  }
17019
17019
  };
17020
- BaseWindowHandlerContribution = __decorate$E([injectable(), __metadata$q("design:paramtypes", [])], BaseWindowHandlerContribution);
17020
+ BaseWindowHandlerContribution = __decorate$F([injectable(), __metadata$q("design:paramtypes", [])], BaseWindowHandlerContribution);
17021
17021
 
17022
- var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17022
+ var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17023
17023
  var d,
17024
17024
  c = arguments.length,
17025
17025
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -17135,7 +17135,7 @@
17135
17135
  return picker || null;
17136
17136
  }
17137
17137
  };
17138
- DefaultPickService = __decorate$D([injectable(), __param$i(0, inject(ContributionProvider)), __param$i(0, named(PickItemInterceptor)), __metadata$p("design:paramtypes", [Object])], DefaultPickService);
17138
+ DefaultPickService = __decorate$E([injectable(), __param$i(0, inject(ContributionProvider)), __param$i(0, named(PickItemInterceptor)), __metadata$p("design:paramtypes", [Object])], DefaultPickService);
17139
17139
 
17140
17140
  let loadArcModule = !1;
17141
17141
  const arcModule = new ContainerModule(bind => {
@@ -17177,7 +17177,7 @@
17177
17177
  loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
17178
17178
  });
17179
17179
 
17180
- var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17180
+ var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17181
17181
  var d,
17182
17182
  c = arguments.length,
17183
17183
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -17238,7 +17238,7 @@
17238
17238
  this._draw(richtext, richtextAttribute, !1, drawContext);
17239
17239
  }
17240
17240
  };
17241
- DefaultCanvasRichTextRender = __decorate$C([injectable(), __metadata$o("design:paramtypes", [])], DefaultCanvasRichTextRender);
17241
+ DefaultCanvasRichTextRender = __decorate$D([injectable(), __metadata$o("design:paramtypes", [])], DefaultCanvasRichTextRender);
17242
17242
 
17243
17243
  let loadRichtextModule = !1;
17244
17244
  const richtextModule = new ContainerModule(bind => {
@@ -17905,7 +17905,7 @@
17905
17905
  }
17906
17906
  }
17907
17907
 
17908
- var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17908
+ var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17909
17909
  var d,
17910
17910
  c = arguments.length,
17911
17911
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18422,9 +18422,9 @@
18422
18422
  this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
18423
18423
  }
18424
18424
  };
18425
- BrowserContext2d.env = "browser", BrowserContext2d = __decorate$B([injectable(), __metadata$n("design:paramtypes", [Object, Number])], BrowserContext2d);
18425
+ BrowserContext2d.env = "browser", BrowserContext2d = __decorate$C([injectable(), __metadata$n("design:paramtypes", [Object, Number])], BrowserContext2d);
18426
18426
 
18427
- var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18427
+ var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18428
18428
  var d,
18429
18429
  c = arguments.length,
18430
18430
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18493,7 +18493,7 @@
18493
18493
  this._context.dpr = this._dpr;
18494
18494
  }
18495
18495
  };
18496
- BrowserCanvas.env = "browser", BrowserCanvas = __decorate$A([injectable(), __metadata$m("design:paramtypes", [Object])], BrowserCanvas);
18496
+ BrowserCanvas.env = "browser", BrowserCanvas = __decorate$B([injectable(), __metadata$m("design:paramtypes", [Object])], BrowserCanvas);
18497
18497
 
18498
18498
  function createModule(CanvasConstructor, ContextConstructor) {
18499
18499
  return new ContainerModule(bind => {
@@ -18503,7 +18503,7 @@
18503
18503
 
18504
18504
  const browserCanvasModule = createModule(BrowserCanvas, BrowserContext2d);
18505
18505
 
18506
- var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18506
+ var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18507
18507
  var d,
18508
18508
  c = arguments.length,
18509
18509
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18564,9 +18564,9 @@
18564
18564
  return data;
18565
18565
  }
18566
18566
  };
18567
- 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);
18567
+ DefaultCanvasPickerService = __decorate$A([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);
18568
18568
 
18569
- var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18569
+ var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18570
18570
  var d,
18571
18571
  c = arguments.length,
18572
18572
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18581,7 +18581,7 @@
18581
18581
  return !1;
18582
18582
  }
18583
18583
  };
18584
- DefaultCanvasGroupPicker = __decorate$y([injectable()], DefaultCanvasGroupPicker);
18584
+ DefaultCanvasGroupPicker = __decorate$z([injectable()], DefaultCanvasGroupPicker);
18585
18585
 
18586
18586
  const m = new ContainerModule((bind, unbind, isBound, rebind) => {
18587
18587
  m.__vloaded || (m.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
@@ -18597,7 +18597,7 @@
18597
18597
  }
18598
18598
 
18599
18599
  var BrowserWindowHandlerContribution_1,
18600
- __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18600
+ __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18601
18601
  var d,
18602
18602
  c = arguments.length,
18603
18603
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18761,12 +18761,12 @@
18761
18761
  return this.global.getElementTopLeft(this.canvas.nativeCanvas, baseWindow);
18762
18762
  }
18763
18763
  };
18764
- BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$x([injectable(), __metadata$k("design:paramtypes", [])], BrowserWindowHandlerContribution);
18764
+ BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$y([injectable(), __metadata$k("design:paramtypes", [])], BrowserWindowHandlerContribution);
18765
18765
  const browserWindowModule = new ContainerModule(bind => {
18766
18766
  bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(BrowserWindowHandlerContribution)).whenTargetNamed(BrowserWindowHandlerContribution.env);
18767
18767
  });
18768
18768
 
18769
- var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18769
+ var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18770
18770
  var d,
18771
18771
  c = arguments.length,
18772
18772
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19009,7 +19009,7 @@
19009
19009
  });
19010
19010
  }
19011
19011
  };
19012
- BrowserEnvContribution = __decorate$w([injectable(), __metadata$j("design:paramtypes", [])], BrowserEnvContribution);
19012
+ BrowserEnvContribution = __decorate$x([injectable(), __metadata$j("design:paramtypes", [])], BrowserEnvContribution);
19013
19013
 
19014
19014
  const browserEnvModule = new ContainerModule(bind => {
19015
19015
  browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
@@ -19050,7 +19050,7 @@
19050
19050
  }
19051
19051
  }
19052
19052
 
19053
- var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19053
+ var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19054
19054
  var d,
19055
19055
  c = arguments.length,
19056
19056
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19070,14 +19070,14 @@
19070
19070
  super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
19071
19071
  }
19072
19072
  };
19073
- DefaultMathArcPicker = __decorate$v([injectable(), __param$g(0, inject(ArcRender)), __metadata$i("design:paramtypes", [Object])], DefaultMathArcPicker);
19073
+ DefaultMathArcPicker = __decorate$w([injectable(), __param$g(0, inject(ArcRender)), __metadata$i("design:paramtypes", [Object])], DefaultMathArcPicker);
19074
19074
 
19075
19075
  let loadArcPick$1 = !1;
19076
19076
  const arcMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19077
19077
  loadArcPick$1 || (loadArcPick$1 = !0, bind(MathArcPicker).to(DefaultMathArcPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathArcPicker));
19078
19078
  });
19079
19079
 
19080
- var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19080
+ var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19081
19081
  var d,
19082
19082
  c = arguments.length,
19083
19083
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19097,14 +19097,14 @@
19097
19097
  super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
19098
19098
  }
19099
19099
  };
19100
- DefaultMathCirclePicker = __decorate$u([injectable(), __param$f(0, inject(CircleRender)), __metadata$h("design:paramtypes", [Object])], DefaultMathCirclePicker);
19100
+ DefaultMathCirclePicker = __decorate$v([injectable(), __param$f(0, inject(CircleRender)), __metadata$h("design:paramtypes", [Object])], DefaultMathCirclePicker);
19101
19101
 
19102
19102
  let loadCirclePick$1 = !1;
19103
19103
  const circleMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19104
19104
  loadCirclePick$1 || (loadCirclePick$1 = !0, bind(MathCirclePicker).to(DefaultMathCirclePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathCirclePicker));
19105
19105
  });
19106
19106
 
19107
- var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19107
+ var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19108
19108
  var d,
19109
19109
  c = arguments.length,
19110
19110
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19122,14 +19122,14 @@
19122
19122
  return !!pickContext && !!image.AABBBounds.containsPoint(point);
19123
19123
  }
19124
19124
  };
19125
- DefaultMathImagePicker = __decorate$t([injectable()], DefaultMathImagePicker);
19125
+ DefaultMathImagePicker = __decorate$u([injectable()], DefaultMathImagePicker);
19126
19126
 
19127
19127
  let loadImagePick$1 = !1;
19128
19128
  const imageMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19129
19129
  loadImagePick$1 || (loadImagePick$1 = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
19130
19130
  });
19131
19131
 
19132
- var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19132
+ var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19133
19133
  var d,
19134
19134
  c = arguments.length,
19135
19135
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19149,14 +19149,14 @@
19149
19149
  super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
19150
19150
  }
19151
19151
  };
19152
- DefaultMathLinePicker = __decorate$s([injectable(), __param$e(0, inject(LineRender)), __metadata$g("design:paramtypes", [Object])], DefaultMathLinePicker);
19152
+ DefaultMathLinePicker = __decorate$t([injectable(), __param$e(0, inject(LineRender)), __metadata$g("design:paramtypes", [Object])], DefaultMathLinePicker);
19153
19153
 
19154
19154
  let loadLinePick$1 = !1;
19155
19155
  const lineMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19156
19156
  loadLinePick$1 || (loadLinePick$1 = !0, bind(MathLinePicker).to(DefaultMathLinePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathLinePicker));
19157
19157
  });
19158
19158
 
19159
- var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19159
+ var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19160
19160
  var d,
19161
19161
  c = arguments.length,
19162
19162
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19176,14 +19176,14 @@
19176
19176
  super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
19177
19177
  }
19178
19178
  };
19179
- DefaultMathPolygonPicker = __decorate$r([injectable(), __param$d(0, inject(PolygonRender)), __metadata$f("design:paramtypes", [Object])], DefaultMathPolygonPicker);
19179
+ DefaultMathPolygonPicker = __decorate$s([injectable(), __param$d(0, inject(PolygonRender)), __metadata$f("design:paramtypes", [Object])], DefaultMathPolygonPicker);
19180
19180
 
19181
19181
  let loadPolygonPick$1 = !1;
19182
19182
  const polygonMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19183
19183
  loadPolygonPick$1 || (loadPolygonPick$1 = !0, bind(MathPolygonPicker).to(DefaultMathPolygonPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathPolygonPicker));
19184
19184
  });
19185
19185
 
19186
- var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19186
+ var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19187
19187
  var d,
19188
19188
  c = arguments.length,
19189
19189
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19203,7 +19203,7 @@
19203
19203
  super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
19204
19204
  }
19205
19205
  };
19206
- DefaultMathPathPicker = __decorate$q([injectable(), __param$c(0, inject(PathRender)), __metadata$e("design:paramtypes", [Object])], DefaultMathPathPicker);
19206
+ DefaultMathPathPicker = __decorate$r([injectable(), __param$c(0, inject(PathRender)), __metadata$e("design:paramtypes", [Object])], DefaultMathPathPicker);
19207
19207
 
19208
19208
  let loadPathPick$1 = !1;
19209
19209
  const pathMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -19258,7 +19258,7 @@
19258
19258
  }
19259
19259
  }
19260
19260
 
19261
- var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19261
+ var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19262
19262
  var d,
19263
19263
  c = arguments.length,
19264
19264
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19278,7 +19278,7 @@
19278
19278
  super(), this.canvasRenderer = canvasRenderer;
19279
19279
  }
19280
19280
  };
19281
- DefaultMathRectPicker = __decorate$p([injectable(), __param$b(0, inject(RectRender)), __metadata$d("design:paramtypes", [Object])], DefaultMathRectPicker);
19281
+ DefaultMathRectPicker = __decorate$q([injectable(), __param$b(0, inject(RectRender)), __metadata$d("design:paramtypes", [Object])], DefaultMathRectPicker);
19282
19282
 
19283
19283
  let loadRectPick$1 = !1;
19284
19284
  const rectMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -19290,7 +19290,7 @@
19290
19290
  loadRichTextPick || (loadRichTextPick = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
19291
19291
  });
19292
19292
 
19293
- var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19293
+ var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19294
19294
  var d,
19295
19295
  c = arguments.length,
19296
19296
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19310,14 +19310,14 @@
19310
19310
  super(), this.canvasRenderer = canvasRenderer, this.type = "symbol", this.numberType = SYMBOL_NUMBER_TYPE;
19311
19311
  }
19312
19312
  };
19313
- DefaultMathSymbolPicker = __decorate$o([injectable(), __param$a(0, inject(SymbolRender)), __metadata$c("design:paramtypes", [Object])], DefaultMathSymbolPicker);
19313
+ DefaultMathSymbolPicker = __decorate$p([injectable(), __param$a(0, inject(SymbolRender)), __metadata$c("design:paramtypes", [Object])], DefaultMathSymbolPicker);
19314
19314
 
19315
19315
  let loadSymbolPick$1 = !1;
19316
19316
  const symbolMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19317
19317
  loadSymbolPick$1 || (loadSymbolPick$1 = !0, bind(MathSymbolPicker).to(DefaultMathSymbolPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathSymbolPicker));
19318
19318
  });
19319
19319
 
19320
- var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19320
+ var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19321
19321
  var d,
19322
19322
  c = arguments.length,
19323
19323
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19332,14 +19332,14 @@
19332
19332
  return !!text.AABBBounds.containsPoint(point);
19333
19333
  }
19334
19334
  };
19335
- DefaultMathTextPicker = __decorate$n([injectable()], DefaultMathTextPicker);
19335
+ DefaultMathTextPicker = __decorate$o([injectable()], DefaultMathTextPicker);
19336
19336
 
19337
19337
  let loadTextPick$1 = !1;
19338
19338
  const textMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19339
19339
  loadTextPick$1 || (loadTextPick$1 = !0, bind(MathTextPicker).to(DefaultMathTextPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathTextPicker));
19340
19340
  });
19341
19341
 
19342
- var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19342
+ var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19343
19343
  var d,
19344
19344
  c = arguments.length,
19345
19345
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19358,9 +19358,9 @@
19358
19358
  }
19359
19359
  release() {}
19360
19360
  };
19361
- NodeContext2d.env = "node", NodeContext2d = __decorate$m([injectable(), __metadata$b("design:paramtypes", [Object, Number])], NodeContext2d);
19361
+ NodeContext2d.env = "node", NodeContext2d = __decorate$n([injectable(), __metadata$b("design:paramtypes", [Object, Number])], NodeContext2d);
19362
19362
 
19363
- var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19363
+ var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19364
19364
  var d,
19365
19365
  c = arguments.length,
19366
19366
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19381,11 +19381,11 @@
19381
19381
  this._nativeCanvas.release && isFunction$5(this._nativeCanvas.release) && this._nativeCanvas.release();
19382
19382
  }
19383
19383
  };
19384
- NodeCanvas.env = "node", NodeCanvas = __decorate$l([injectable(), __metadata$a("design:paramtypes", [Object])], NodeCanvas);
19384
+ NodeCanvas.env = "node", NodeCanvas = __decorate$m([injectable(), __metadata$a("design:paramtypes", [Object])], NodeCanvas);
19385
19385
 
19386
19386
  const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
19387
19387
 
19388
- var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19388
+ var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19389
19389
  var d,
19390
19390
  c = arguments.length,
19391
19391
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19486,12 +19486,12 @@
19486
19486
  }
19487
19487
  clearViewBox(color) {}
19488
19488
  };
19489
- NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$k([injectable(), __param$9(0, inject(VGlobal)), __metadata$9("design:paramtypes", [Object])], NodeWindowHandlerContribution);
19489
+ NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$l([injectable(), __param$9(0, inject(VGlobal)), __metadata$9("design:paramtypes", [Object])], NodeWindowHandlerContribution);
19490
19490
  const nodeWindowModule = new ContainerModule(bind => {
19491
19491
  bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(NodeWindowHandlerContribution)).whenTargetNamed(NodeWindowHandlerContribution.env);
19492
19492
  });
19493
19493
 
19494
- var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19494
+ var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19495
19495
  var d,
19496
19496
  c = arguments.length,
19497
19497
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19577,7 +19577,7 @@
19577
19577
  release() {}
19578
19578
  createOffscreenCanvas(params) {}
19579
19579
  };
19580
- NodeEnvContribution = __decorate$j([injectable()], NodeEnvContribution);
19580
+ NodeEnvContribution = __decorate$k([injectable()], NodeEnvContribution);
19581
19581
 
19582
19582
  const nodeEnvModule = new ContainerModule(bind => {
19583
19583
  nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
@@ -19588,7 +19588,7 @@
19588
19588
  }
19589
19589
  loadNodeEnv.__loaded = !1;
19590
19590
 
19591
- var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19591
+ var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19592
19592
  var d,
19593
19593
  c = arguments.length,
19594
19594
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19608,14 +19608,14 @@
19608
19608
  super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
19609
19609
  }
19610
19610
  };
19611
- DefaultCanvasArcPicker = __decorate$i([injectable(), __param$8(0, inject(ArcRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasArcPicker);
19611
+ DefaultCanvasArcPicker = __decorate$j([injectable(), __param$8(0, inject(ArcRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasArcPicker);
19612
19612
 
19613
19613
  let loadArcPick = !1;
19614
19614
  const arcCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19615
19615
  loadArcPick || (loadArcPick = !0, bind(CanvasArcPicker).to(DefaultCanvasArcPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArcPicker));
19616
19616
  });
19617
19617
 
19618
- var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19618
+ var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19619
19619
  var d,
19620
19620
  c = arguments.length,
19621
19621
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19635,7 +19635,7 @@
19635
19635
  super(), this.canvasRenderer = canvasRenderer;
19636
19636
  }
19637
19637
  };
19638
- DefaultCanvasRectPicker = __decorate$h([injectable(), __param$7(0, inject(RectRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasRectPicker);
19638
+ DefaultCanvasRectPicker = __decorate$i([injectable(), __param$7(0, inject(RectRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasRectPicker);
19639
19639
 
19640
19640
  let loadRectPick = !1;
19641
19641
  const rectCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -19677,7 +19677,7 @@
19677
19677
  }
19678
19678
  }
19679
19679
 
19680
- var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19680
+ var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19681
19681
  var d,
19682
19682
  c = arguments.length,
19683
19683
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19697,7 +19697,7 @@
19697
19697
  super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
19698
19698
  }
19699
19699
  };
19700
- DefaultCanvasLinePicker = __decorate$g([injectable(), __param$6(0, inject(LineRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasLinePicker);
19700
+ DefaultCanvasLinePicker = __decorate$h([injectable(), __param$6(0, inject(LineRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasLinePicker);
19701
19701
 
19702
19702
  let loadLinePick = !1;
19703
19703
  const lineCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -19731,7 +19731,7 @@
19731
19731
  }
19732
19732
  }
19733
19733
 
19734
- var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19734
+ var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19735
19735
  var d,
19736
19736
  c = arguments.length,
19737
19737
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19786,14 +19786,14 @@
19786
19786
  }), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
19787
19787
  }
19788
19788
  };
19789
- DefaultCanvasSymbolPicker = __decorate$f([injectable(), __param$5(0, inject(SymbolRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
19789
+ DefaultCanvasSymbolPicker = __decorate$g([injectable(), __param$5(0, inject(SymbolRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
19790
19790
 
19791
19791
  let loadSymbolPick = !1;
19792
19792
  const symbolCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19793
19793
  loadSymbolPick || (loadSymbolPick = !0, bind(CanvasSymbolPicker).to(DefaultCanvasSymbolPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasSymbolPicker));
19794
19794
  });
19795
19795
 
19796
- var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19796
+ var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19797
19797
  var d,
19798
19798
  c = arguments.length,
19799
19799
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19813,14 +19813,14 @@
19813
19813
  super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
19814
19814
  }
19815
19815
  };
19816
- DefaultCanvasCirclePicker = __decorate$e([injectable(), __param$4(0, inject(CircleRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
19816
+ DefaultCanvasCirclePicker = __decorate$f([injectable(), __param$4(0, inject(CircleRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
19817
19817
 
19818
19818
  let loadCirclePick = !1;
19819
19819
  const circleCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19820
19820
  loadCirclePick || (loadCirclePick = !0, bind(CanvasCirclePicker).to(DefaultCanvasCirclePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasCirclePicker));
19821
19821
  });
19822
19822
 
19823
- var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19823
+ var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19824
19824
  var d,
19825
19825
  c = arguments.length,
19826
19826
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19883,14 +19883,14 @@
19883
19883
  }, (context, symbolAttribute, themeAttribute) => picked), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
19884
19884
  }
19885
19885
  };
19886
- DefaultCanvasTextPicker = __decorate$d([injectable(), __param$3(0, inject(TextRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasTextPicker);
19886
+ DefaultCanvasTextPicker = __decorate$e([injectable(), __param$3(0, inject(TextRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasTextPicker);
19887
19887
 
19888
19888
  let loadTextPick = !1;
19889
19889
  const textCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19890
19890
  loadTextPick || (loadTextPick = !0, bind(CanvasTextPicker).to(DefaultCanvasTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasTextPicker));
19891
19891
  });
19892
19892
 
19893
- var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19893
+ var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19894
19894
  var d,
19895
19895
  c = arguments.length,
19896
19896
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19910,14 +19910,14 @@
19910
19910
  super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
19911
19911
  }
19912
19912
  };
19913
- DefaultCanvasPathPicker = __decorate$c([injectable(), __param$2(0, inject(PathRender)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasPathPicker);
19913
+ DefaultCanvasPathPicker = __decorate$d([injectable(), __param$2(0, inject(PathRender)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasPathPicker);
19914
19914
 
19915
19915
  let loadPathPick = !1;
19916
19916
  const pathCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19917
19917
  loadPathPick || (loadPathPick = !0, bind(CanvasPathPicker).to(DefaultCanvasPathPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPathPicker));
19918
19918
  });
19919
19919
 
19920
- var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19920
+ var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19921
19921
  var d,
19922
19922
  c = arguments.length,
19923
19923
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19937,14 +19937,14 @@
19937
19937
  super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
19938
19938
  }
19939
19939
  };
19940
- DefaultCanvasPolygonPicker = __decorate$b([injectable(), __param$1(0, inject(PolygonRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
19940
+ DefaultCanvasPolygonPicker = __decorate$c([injectable(), __param$1(0, inject(PolygonRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
19941
19941
 
19942
19942
  let loadPolygonPick = !1;
19943
19943
  const polygonCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19944
19944
  loadPolygonPick || (loadPolygonPick = !0, bind(CanvasPolygonPicker).to(DefaultCanvasPolygonPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPolygonPicker));
19945
19945
  });
19946
19946
 
19947
- var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19947
+ var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19948
19948
  var d,
19949
19949
  c = arguments.length,
19950
19950
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19967,14 +19967,14 @@
19967
19967
  return !!richtext.AABBBounds.containsPoint(point);
19968
19968
  }
19969
19969
  };
19970
- DefaultCanvasRichTextPicker = __decorate$a([injectable(), __param(0, inject(RichTextRender)), __metadata("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
19970
+ DefaultCanvasRichTextPicker = __decorate$b([injectable(), __param(0, inject(RichTextRender)), __metadata("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
19971
19971
 
19972
19972
  let loadRichtextPick = !1;
19973
19973
  const richtextCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
19974
19974
  loadRichtextPick || (loadRichtextPick = !0, bind(CanvasRichTextPicker).to(DefaultCanvasRichTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRichTextPicker));
19975
19975
  });
19976
19976
 
19977
- var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19977
+ var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19978
19978
  var d,
19979
19979
  c = arguments.length,
19980
19980
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19992,7 +19992,7 @@
19992
19992
  return !!pickContext && !!image.AABBBounds.containsPoint(point);
19993
19993
  }
19994
19994
  };
19995
- DefaultCanvasImagePicker = __decorate$9([injectable()], DefaultCanvasImagePicker);
19995
+ DefaultCanvasImagePicker = __decorate$a([injectable()], DefaultCanvasImagePicker);
19996
19996
 
19997
19997
  let loadImagePick = !1;
19998
19998
  const imageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -21555,7 +21555,7 @@
21555
21555
  padding: 10
21556
21556
  };
21557
21557
 
21558
- var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21558
+ var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21559
21559
  var d,
21560
21560
  c = arguments.length,
21561
21561
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21597,9 +21597,9 @@
21597
21597
  }), null === (_b = this.poptipComponent.parent) || void 0 === _b || _b.removeChild(this.poptipComponent), this.poptipComponent = null));
21598
21598
  }
21599
21599
  };
21600
- PopTipRenderContribution = __decorate$8([injectable()], PopTipRenderContribution);
21600
+ PopTipRenderContribution = __decorate$9([injectable()], PopTipRenderContribution);
21601
21601
 
21602
- var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21602
+ var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21603
21603
  var d,
21604
21604
  c = arguments.length,
21605
21605
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21643,7 +21643,7 @@
21643
21643
  super(...arguments), this.name = "poptip", this.key = this.name + this._uid;
21644
21644
  }
21645
21645
  };
21646
- PopTipPlugin = __decorate$7([injectable()], PopTipPlugin);
21646
+ PopTipPlugin = __decorate$8([injectable()], PopTipPlugin);
21647
21647
  let PopTipForClipedTextPlugin = class extends PopTipPluginBase {
21648
21648
  constructor() {
21649
21649
  super(...arguments), this.name = "poptipForText", this.key = this.name + this._uid, this.pointerlave = e => {
@@ -21673,7 +21673,7 @@
21673
21673
  super.deactivate(context), stage.removeEventListener("pointerleave", this.pointerlave);
21674
21674
  }
21675
21675
  };
21676
- PopTipForClipedTextPlugin = __decorate$7([injectable()], PopTipForClipedTextPlugin);
21676
+ PopTipForClipedTextPlugin = __decorate$8([injectable()], PopTipForClipedTextPlugin);
21677
21677
 
21678
21678
  const popTipModule = new ContainerModule((bind, unbind, isBound, rebind) => {
21679
21679
  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));
@@ -29535,7 +29535,7 @@
29535
29535
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29536
29536
  PERFORMANCE OF THIS SOFTWARE.
29537
29537
  ***************************************************************************** */
29538
- function __decorate$6(decorators, target, key, desc) {
29538
+ function __decorate$7(decorators, target, key, desc) {
29539
29539
  var c = arguments.length,
29540
29540
  r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
29541
29541
  d;
@@ -29578,7 +29578,7 @@
29578
29578
  }
29579
29579
  }
29580
29580
  };
29581
- DateHeaderGroupBeforeRenderContribution = __decorate$6([
29581
+ DateHeaderGroupBeforeRenderContribution = __decorate$7([
29582
29582
  injectable()
29583
29583
  ], DateHeaderGroupBeforeRenderContribution);
29584
29584
 
@@ -32430,6 +32430,7 @@
32430
32430
  AFTER_SORT: "after_sort",
32431
32431
  FREEZE_CLICK: "freeze_click",
32432
32432
  SCROLL: "scroll",
32433
+ CAN_SCROLL: "can_scroll",
32433
32434
  SCROLL_HORIZONTAL_END: "scroll_horizontal_end",
32434
32435
  SCROLL_VERTICAL_END: "scroll_vertical_end",
32435
32436
  DROPDOWN_MENU_CLICK: "dropdown_menu_click",
@@ -36959,7 +36960,7 @@
36959
36960
  }
36960
36961
  function getCellCornerRadius(col, row, table) {
36961
36962
  const tableCornerRadius = table.theme.frameStyle.cornerRadius;
36962
- if (Array.isArray(tableCornerRadius)) {
36963
+ if (table.theme.cellInnerBorder) if (Array.isArray(tableCornerRadius)) {
36963
36964
  if (0 === col && 0 === row) return [tableCornerRadius[0], 0, 0, 0];
36964
36965
  if (col === table.colCount - 1 && 0 === row) return [0, tableCornerRadius[1], 0, 0];
36965
36966
  if (0 === col && row === table.rowCount - 1) return [0, 0, 0, tableCornerRadius[3]];
@@ -37085,7 +37086,7 @@
37085
37086
  }
37086
37087
  updateCustomCell(componentId, isHeaderCustomLayout) {
37087
37088
  const table = this.table;
37088
- if (table.isPivotTable()) {
37089
+ if ("autoWidth" === table.widthMode && table.scenegraph.recalculateColWidths(), (table.isAutoRowHeight() || "auto" === table.internalProps.defaultRowHeight && !isHeaderCustomLayout || "auto" === table.internalProps.defaultHeaderRowHeight && isHeaderCustomLayout) && table.scenegraph.recalculateRowHeights(), table.isPivotTable()) {
37089
37090
  const ranges = getUpdateCustomCellRangeInPivotTable(componentId, table, isHeaderCustomLayout);
37090
37091
  for (let i = 0; i < ranges.length; i++) {
37091
37092
  const range = ranges[i];
@@ -37095,7 +37096,7 @@
37095
37096
  const range = getUpdateCustomCellRangeInListTable(componentId, table, isHeaderCustomLayout);
37096
37097
  for (let col = range.start.col; col <= range.end.col; col++) for (let row = range.start.row; row <= range.end.row; row++) table.scenegraph.updateCellContent(col, row);
37097
37098
  }
37098
- "autoWidth" === table.widthMode && table.scenegraph.recalculateColWidths(), table.isAutoRowHeight() && table.scenegraph.recalculateRowHeights(), table.scenegraph.renderSceneGraph();
37099
+ table.scenegraph.renderSceneGraph();
37099
37100
  }
37100
37101
  getCustomLayoutFunc(col, row) {
37101
37102
  var _a;
@@ -38783,8 +38784,9 @@
38783
38784
  }
38784
38785
  function updateCell$1(col, row, table, addNew, isShadow, forceFastUpdate) {
38785
38786
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
38786
- const oldCellGroup = table.scenegraph.highPerformanceGetCell(col, row, !0),
38787
- cellLocation = table.getCellLocation(col, row);
38787
+ const oldCellGroup = table.scenegraph.highPerformanceGetCell(col, row, !0);
38788
+ if ("cell" !== oldCellGroup.role && !addNew) return;
38789
+ const cellLocation = table.getCellLocation(col, row);
38788
38790
  let isMerge,
38789
38791
  range,
38790
38792
  customStyle,
@@ -39348,7 +39350,7 @@
39348
39350
  const layoutMap = table.internalProps.layoutMap;
39349
39351
  table.isPivotTable() && (layoutMap.enableUseGetBodyCache(), layoutMap.enableUseHeaderPathCache()), table.defaultHeaderRowHeight, table.defaultHeaderColWidth;
39350
39352
  const isDefaultHeaderHasAuto = "auto" === table.defaultHeaderRowHeight || isArray$7(table.defaultHeaderRowHeight) && table.defaultHeaderRowHeight.some(item => "auto" === item),
39351
- isAllRowsAuto = table.isAutoRowHeight() || "adaptive" === table.heightMode && !1 !== table.options.autoHeightInAdaptiveMode,
39353
+ isAllRowsAuto = table.isAutoRowHeight(rowStart) || "adaptive" === table.heightMode && !1 !== table.options.autoHeightInAdaptiveMode,
39352
39354
  isDefaultRowHeightIsAuto = "auto" === table.options.defaultRowHeight;
39353
39355
  if (isAllRowsAuto || isDefaultHeaderHasAuto || isDefaultRowHeightIsAuto) {
39354
39356
  rowStart = null != rowStart ? rowStart : 0, rowEnd = null != rowEnd ? rowEnd : table.rowCount - 1, (0 === rowStart && rowEnd === table.rowCount - 1 || isClearRowRangeHeightsMap) && table._clearRowRangeHeightsMap();
@@ -39364,7 +39366,7 @@
39364
39366
  const height = computeRowHeight(row, 0, table.colCount - 1, table);
39365
39367
  update ? newHeights[row] = Math.round(height) : table._setRowHeight(row, height);
39366
39368
  }
39367
- if (rowEnd < table.columnHeaderLevelCount || !isAllRowsAuto && !isDefaultRowHeightIsAuto) ;else if (table.internalProps.transpose || table.isPivotTable() && !table.internalProps.layoutMap.indicatorsAsCol || table.options.customComputeRowHeight || !checkFixedStyleAndNoWrap(table)) {
39369
+ if (rowEnd < table.columnHeaderLevelCount || !isAllRowsAuto && !isDefaultRowHeightIsAuto) ;else if (table.internalProps.transpose || table.isPivotTable() && !table.internalProps.layoutMap.indicatorsAsCol || table.options.customComputeRowHeight || !checkFixedStyleAndNoWrap(table, rowStart)) {
39368
39370
  if (table.internalProps.transpose || table.isPivotTable() && !table.internalProps.layoutMap.indicatorsAsCol) for (let row = Math.max(rowStart, table.columnHeaderLevelCount); row <= rowEnd; row++) {
39369
39371
  let height;
39370
39372
  height = checkFixedStyleAndNoWrapForTranspose(table, row) ? computeRowHeight(row, 0, table.rowHeaderLevelCount, table) : computeRowHeight(row, 0, table.colCount - 1, table), update ? newHeights[row] = Math.round(height) : table._setRowHeight(row, height);
@@ -39438,7 +39440,7 @@
39438
39440
  }
39439
39441
  function computeRowHeight(row, startCol, endCol, table) {
39440
39442
  var _a;
39441
- if (!(table.isAutoRowHeight() || "adaptive" === table.heightMode && !1 !== table.options.autoHeightInAdaptiveMode) && "auto" !== table.getDefaultRowHeight(row)) return table.getDefaultRowHeight(row);
39443
+ if (!(table.isAutoRowHeight(row) || "adaptive" === table.heightMode && !1 !== table.options.autoHeightInAdaptiveMode) && "auto" !== table.getDefaultRowHeight(row)) return table.getDefaultRowHeight(row);
39442
39444
  let maxHeight;
39443
39445
  if (table.options.customComputeRowHeight) {
39444
39446
  const customRowHeight = table.options.customComputeRowHeight({
@@ -39476,13 +39478,13 @@
39476
39478
  const defaultHeight = table.getDefaultRowHeight(row);
39477
39479
  return isNumber$4(defaultHeight) ? defaultHeight : table.defaultRowHeight;
39478
39480
  }
39479
- function checkFixedStyleAndNoWrap(table) {
39481
+ function checkFixedStyleAndNoWrap(table, rowStart) {
39480
39482
  var _a, _b, _c;
39481
39483
  const {
39482
39484
  layoutMap: layoutMap
39483
39485
  } = table.internalProps,
39484
39486
  row = table.columnHeaderLevelCount;
39485
- if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak || table.isPivotChart()) && (table.isAutoRowHeight() || "adaptive" === table.options.heightMode)) return !1;
39487
+ if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak || table.isPivotChart()) && (table.isAutoRowHeight(rowStart) || "adaptive" === table.options.heightMode)) return !1;
39486
39488
  for (let col = 0; col < table.colCount; col++) {
39487
39489
  const cellDefine = layoutMap.getBody(col, row);
39488
39490
  if ("radio" === cellDefine.cellType) return !1;
@@ -39497,7 +39499,7 @@
39497
39499
  const {
39498
39500
  layoutMap: layoutMap
39499
39501
  } = table.internalProps;
39500
- if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak) && (table.isAutoRowHeight() || "adaptive" === table.options.heightMode)) return !1;
39502
+ if ((table.internalProps.autoWrapText || table.internalProps.enableLineBreak) && (table.isAutoRowHeight(row) || "adaptive" === table.options.heightMode)) return !1;
39501
39503
  const cellDefine = layoutMap.getBody(table.rowHeaderLevelCount, row);
39502
39504
  if ("function" == typeof cellDefine.style || "function" == typeof cellDefine.icon || (null === (_a = cellDefine.define) || void 0 === _a ? void 0 : _a.customRender) || (null === (_b = cellDefine.define) || void 0 === _b ? void 0 : _b.customLayout) || "function" == typeof (null === (_c = cellDefine.define) || void 0 === _c ? void 0 : _c.icon)) return !1;
39503
39505
  const cellStyle = table._getCellStyle(table.rowHeaderLevelCount, row);
@@ -39508,7 +39510,7 @@
39508
39510
  const {
39509
39511
  layoutMap: layoutMap
39510
39512
  } = table.internalProps;
39511
- if (table.internalProps.autoWrapText && (table.isAutoRowHeight() || "adaptive" === table.options.heightMode)) return !1;
39513
+ if (table.internalProps.autoWrapText && (table.isAutoRowHeight(row) || "adaptive" === table.options.heightMode)) return !1;
39512
39514
  const headerDefine = layoutMap.getHeader(table.rowHeaderLevelCount, row);
39513
39515
  if ("function" == typeof headerDefine.style || "function" == typeof headerDefine.icons || (null === (_a = headerDefine.define) || void 0 === _a ? void 0 : _a.headerCustomRender) || (null === (_b = headerDefine.define) || void 0 === _b ? void 0 : _b.headerCustomLayout) || "function" == typeof (null === (_c = headerDefine.define) || void 0 === _c ? void 0 : _c.icon)) return !1;
39514
39516
  const headerStyle = table._getCellStyle(table.rowHeaderLevelCount, row);
@@ -39539,7 +39541,8 @@
39539
39541
  rect: getCellRect$1(col, row, table),
39540
39542
  table: table,
39541
39543
  originCol: col,
39542
- originRow: row
39544
+ originRow: row,
39545
+ forComputation: !0
39543
39546
  };
39544
39547
  if ("react-custom-layout" === customLayout && (customLayout = (null === (_d = table.reactCustomLayout) || void 0 === _d ? void 0 : _d.getCustomLayoutFunc(col, row)) || emptyCustomLayout), isFunction$5(customLayout)) {
39545
39548
  const customLayoutObj = customLayout(arg);
@@ -41173,7 +41176,7 @@
41173
41176
  }
41174
41177
 
41175
41178
  const CHART_NUMBER_TYPE = genNumberType();
41176
- class Chart extends Group$2 {
41179
+ class Chart extends Rect$2 {
41177
41180
  constructor(isShareChartSpec, params) {
41178
41181
  if (super(params), this.type = "chart", this.numberType = CHART_NUMBER_TYPE, this.isShareChartSpec = isShareChartSpec, params.chartInstance) this.chartInstance = params.chartInstance;else {
41179
41182
  const chartInstance = this.chartInstance = new params.ClassType(params.spec, merge$1({}, this.attribute.tableChartOption, {
@@ -41468,7 +41471,7 @@
41468
41471
  }), stage.renderTo(window), window;
41469
41472
  }
41470
41473
 
41471
- var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41474
+ var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41472
41475
  var d,
41473
41476
  c = arguments.length,
41474
41477
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -41550,9 +41553,9 @@
41550
41553
  this._draw(chart, {}, !1, drawContext, params);
41551
41554
  }
41552
41555
  };
41553
- DefaultCanvasChartRender = __decorate$5([injectable()], DefaultCanvasChartRender);
41556
+ DefaultCanvasChartRender = __decorate$6([injectable()], DefaultCanvasChartRender);
41554
41557
 
41555
- var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41558
+ var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41556
41559
  var d,
41557
41560
  c = arguments.length,
41558
41561
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -41576,7 +41579,7 @@
41576
41579
  }
41577
41580
  }
41578
41581
  };
41579
- BeforeImageRenderContribution = __decorate$4([injectable()], BeforeImageRenderContribution);
41582
+ BeforeImageRenderContribution = __decorate$5([injectable()], BeforeImageRenderContribution);
41580
41583
  let AfterImageRenderContribution = class {
41581
41584
  constructor() {
41582
41585
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -41588,7 +41591,7 @@
41588
41591
  "circle" === shape && context.restore();
41589
41592
  }
41590
41593
  };
41591
- AfterImageRenderContribution = __decorate$4([injectable()], AfterImageRenderContribution);
41594
+ AfterImageRenderContribution = __decorate$5([injectable()], AfterImageRenderContribution);
41592
41595
  let BeforeGifImageRenderContribution = class {
41593
41596
  constructor() {
41594
41597
  this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
@@ -41600,7 +41603,7 @@
41600
41603
  isGif && image.playing && (image.attribute.opacity = 0);
41601
41604
  }
41602
41605
  };
41603
- BeforeGifImageRenderContribution = __decorate$4([injectable()], BeforeGifImageRenderContribution);
41606
+ BeforeGifImageRenderContribution = __decorate$5([injectable()], BeforeGifImageRenderContribution);
41604
41607
  let AfterGifImageRenderContribution = class {
41605
41608
  constructor() {
41606
41609
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -41612,7 +41615,7 @@
41612
41615
  isGif && image.playing && (image.attribute.opacity = 1, context.globalAlpha = image.attribute.opacity, image.renderFrame(context, x, y));
41613
41616
  }
41614
41617
  };
41615
- AfterGifImageRenderContribution = __decorate$4([injectable()], AfterGifImageRenderContribution);
41618
+ AfterGifImageRenderContribution = __decorate$5([injectable()], AfterGifImageRenderContribution);
41616
41619
 
41617
41620
  function getCellHoverColor(cellGroup, table) {
41618
41621
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
@@ -41747,7 +41750,7 @@
41747
41750
  return !1;
41748
41751
  }
41749
41752
 
41750
- var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41753
+ var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
41751
41754
  var d,
41752
41755
  c = arguments.length,
41753
41756
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -41767,7 +41770,7 @@
41767
41770
  stroke && (Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
41768
41771
  }
41769
41772
  };
41770
- SplitGroupBeforeRenderContribution = __decorate$3([injectable()], SplitGroupBeforeRenderContribution);
41773
+ SplitGroupBeforeRenderContribution = __decorate$4([injectable()], SplitGroupBeforeRenderContribution);
41771
41774
  let SplitGroupAfterRenderContribution = class {
41772
41775
  constructor() {
41773
41776
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -41813,7 +41816,7 @@
41813
41816
  }
41814
41817
  }
41815
41818
  };
41816
- SplitGroupAfterRenderContribution = __decorate$3([injectable()], SplitGroupAfterRenderContribution);
41819
+ SplitGroupAfterRenderContribution = __decorate$4([injectable()], SplitGroupAfterRenderContribution);
41817
41820
  function getWidthInfo(widthArray) {
41818
41821
  if (!Array.isArray(widthArray)) return {
41819
41822
  isSplitDraw: !1,
@@ -41887,7 +41890,7 @@
41887
41890
  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);
41888
41891
  }
41889
41892
  };
41890
- DashGroupBeforeRenderContribution = __decorate$3([injectable()], DashGroupBeforeRenderContribution);
41893
+ DashGroupBeforeRenderContribution = __decorate$4([injectable()], DashGroupBeforeRenderContribution);
41891
41894
  let DashGroupAfterRenderContribution = class {
41892
41895
  constructor() {
41893
41896
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -41929,7 +41932,7 @@
41929
41932
  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([]);
41930
41933
  }
41931
41934
  };
41932
- DashGroupAfterRenderContribution = __decorate$3([injectable()], DashGroupAfterRenderContribution);
41935
+ DashGroupAfterRenderContribution = __decorate$4([injectable()], DashGroupAfterRenderContribution);
41933
41936
  let AdjustPosGroupBeforeRenderContribution = class {
41934
41937
  constructor() {
41935
41938
  this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
@@ -41946,7 +41949,7 @@
41946
41949
  !0 !== notAdjustPos && stroke && Array.isArray(lineDash) && !lineDash.length && !Array.isArray(strokeArrayColor) && !Array.isArray(strokeArrayWidth) && 1 & lineWidth && (doFillOrStroke.doStroke = !1);
41947
41950
  }
41948
41951
  };
41949
- AdjustPosGroupBeforeRenderContribution = __decorate$3([injectable()], AdjustPosGroupBeforeRenderContribution);
41952
+ AdjustPosGroupBeforeRenderContribution = __decorate$4([injectable()], AdjustPosGroupBeforeRenderContribution);
41950
41953
  let AdjustPosGroupAfterRenderContribution = class {
41951
41954
  constructor() {
41952
41955
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -41986,7 +41989,7 @@
41986
41989
  }
41987
41990
  }
41988
41991
  };
41989
- AdjustPosGroupAfterRenderContribution = __decorate$3([injectable()], AdjustPosGroupAfterRenderContribution);
41992
+ AdjustPosGroupAfterRenderContribution = __decorate$4([injectable()], AdjustPosGroupAfterRenderContribution);
41990
41993
  let AdjustColorGroupBeforeRenderContribution = class {
41991
41994
  constructor() {
41992
41995
  this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
@@ -42004,7 +42007,7 @@
42004
42007
  }
42005
42008
  }
42006
42009
  };
42007
- AdjustColorGroupBeforeRenderContribution = __decorate$3([injectable()], AdjustColorGroupBeforeRenderContribution);
42010
+ AdjustColorGroupBeforeRenderContribution = __decorate$4([injectable()], AdjustColorGroupBeforeRenderContribution);
42008
42011
  let AdjustColorGroupAfterRenderContribution = class {
42009
42012
  constructor() {
42010
42013
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -42016,7 +42019,7 @@
42016
42019
  }
42017
42020
  }
42018
42021
  };
42019
- AdjustColorGroupAfterRenderContribution = __decorate$3([injectable()], AdjustColorGroupAfterRenderContribution);
42022
+ AdjustColorGroupAfterRenderContribution = __decorate$4([injectable()], AdjustColorGroupAfterRenderContribution);
42020
42023
  let ClipBodyGroupBeforeRenderContribution = class {
42021
42024
  constructor() {
42022
42025
  this.time = BaseRenderContributionTime.beforeFillStroke, this.useStyle = !0, this.order = 0;
@@ -42045,7 +42048,7 @@
42045
42048
  }
42046
42049
  }
42047
42050
  };
42048
- ClipBodyGroupBeforeRenderContribution = __decorate$3([injectable()], ClipBodyGroupBeforeRenderContribution);
42051
+ ClipBodyGroupBeforeRenderContribution = __decorate$4([injectable()], ClipBodyGroupBeforeRenderContribution);
42049
42052
  const precision = Math.pow(2, 24);
42050
42053
  function drawClipRect(context, x, y, width, height) {
42051
42054
  context.beginPath();
@@ -42073,7 +42076,7 @@
42073
42076
  return 1 === lineDash.length ? [lineDash[0], lineDash[0], lineDash[0], lineDash[0]] : 2 === lineDash.length ? [lineDash[0], lineDash[1], lineDash[0], lineDash[1]] : lineDash;
42074
42077
  }
42075
42078
 
42076
- var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42079
+ var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42077
42080
  var d,
42078
42081
  c = arguments.length,
42079
42082
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -42093,7 +42096,7 @@
42093
42096
  stroke && (Array.isArray(stroke) || Array.isArray(strokeArrayWidth) || Array.isArray(strokeArrayColor)) && (doFillOrStroke.doStroke = !1);
42094
42097
  }
42095
42098
  };
42096
- SplitRectBeforeRenderContribution = __decorate$2([injectable()], SplitRectBeforeRenderContribution);
42099
+ SplitRectBeforeRenderContribution = __decorate$3([injectable()], SplitRectBeforeRenderContribution);
42097
42100
  let SplitRectAfterRenderContribution = class {
42098
42101
  constructor() {
42099
42102
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -42118,7 +42121,7 @@
42118
42121
  }
42119
42122
  }
42120
42123
  };
42121
- SplitRectAfterRenderContribution = __decorate$2([injectable()], SplitRectAfterRenderContribution);
42124
+ SplitRectAfterRenderContribution = __decorate$3([injectable()], SplitRectAfterRenderContribution);
42122
42125
  function renderStrokeWithCornerRadius(i, x1, y1, x2, y2, rect, context, x, y, rectAttribute, stroke, strokeArrayWidth, strokeArrayColor, width, height) {
42123
42126
  var _a, _b, _c, _d;
42124
42127
  const group = rect,
@@ -42127,12 +42130,12 @@
42127
42130
  isWidthNumber = !Array.isArray(strokeArrayWidth),
42128
42131
  isStrokeTrue = !Array.isArray(stroke),
42129
42132
  isSplitDraw = Array.isArray(strokeArrayColor) || widthInfo.isSplitDraw;
42130
- context.setStrokeStyle(rect, rect.attribute, x, y, rectAttribute);
42133
+ context.stroke(), context.setStrokeStyle(rect, rect.attribute, x, y, rectAttribute);
42131
42134
  const {
42132
42135
  lineDash = groupAttribute.lineDash
42133
42136
  } = group.attribute;
42134
42137
  let isDash = !1;
42135
- lineDash.length && lineDash.some(dash => Array.isArray(dash)) && (isDash = !0), context.moveTo(x, y);
42138
+ lineDash.length && lineDash.some(dash => Array.isArray(dash)) && (isDash = !0), context.beginPath(), context.moveTo(x, y);
42136
42139
  const strokeTop = (isStrokeTrue || stroke[0]) && (isWidthNumber || strokeArrayWidth[0]),
42137
42140
  strokeRight = (isStrokeTrue || stroke[1]) && (isWidthNumber || strokeArrayWidth[1]),
42138
42141
  strokeBottom = (isStrokeTrue || stroke[2]) && (isWidthNumber || strokeArrayWidth[2]),
@@ -42153,10 +42156,10 @@
42153
42156
  isWidthNumber ? widthInfo.width : strokeArrayWidth[3], isWidthNumber ? widthInfo.width : strokeArrayWidth[3];
42154
42157
  context.moveTo(x1, y1), context.lineTo(x2, y2), (isSplitDraw || isDash) && (strokeArrayColor && strokeArrayColor[3] ? context.strokeStyle = strokeArrayColor[3] : strokeArrayColor && !strokeArrayColor[3] && (context.strokeStyle = "transparent"), isWidthNumber || (context.lineWidth = strokeArrayWidth[3]), context.lineDashOffset = context.currentMatrix.f / context.currentMatrix.d, isDash && context.setLineDash(null !== (_d = lineDash[3]) && void 0 !== _d ? _d : []), context.stroke(), context.beginPath(), context.moveTo(x, y));
42155
42158
  } else 3 === i && context.moveTo(x, y);
42156
- isSplitDraw || isDash || (!isWidthNumber && widthInfo.width && (context.lineWidth = widthInfo.width), context.stroke()), context.lineDashOffset = 0, context.setLineDash([]), context.closePath();
42159
+ context.closePath(), isSplitDraw || isDash || (!isWidthNumber && widthInfo.width && (context.lineWidth = widthInfo.width), context.stroke()), context.lineDashOffset = 0, context.setLineDash([]), context.beginPath();
42157
42160
  }
42158
42161
 
42159
- var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42162
+ var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42160
42163
  var d,
42161
42164
  c = arguments.length,
42162
42165
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -42178,7 +42181,7 @@
42178
42181
  return !1;
42179
42182
  }
42180
42183
  };
42181
- VTableDrawItemInterceptorContribution = __decorate$1([injectable()], VTableDrawItemInterceptorContribution);
42184
+ VTableDrawItemInterceptorContribution = __decorate$2([injectable()], VTableDrawItemInterceptorContribution);
42182
42185
  class ImageDrawItemInterceptorContribution {
42183
42186
  constructor() {
42184
42187
  this.order = 1;
@@ -42225,7 +42228,7 @@
42225
42228
  }
42226
42229
  }
42227
42230
 
42228
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42231
+ var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42229
42232
  var d,
42230
42233
  c = arguments.length,
42231
42234
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -42310,10 +42313,42 @@
42310
42313
  }
42311
42314
  }
42312
42315
  };
42313
- SuffixTextBeforeRenderContribution = __decorate([injectable()], SuffixTextBeforeRenderContribution);
42316
+ SuffixTextBeforeRenderContribution = __decorate$1([injectable()], SuffixTextBeforeRenderContribution);
42317
+
42318
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
42319
+ var d,
42320
+ c = arguments.length,
42321
+ r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
42322
+ 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);
42323
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
42324
+ };
42325
+ let VChartPicker = class {
42326
+ constructor() {
42327
+ this.type = "chart", this.numberType = CHART_NUMBER_TYPE;
42328
+ }
42329
+ contains(chart, point, params) {
42330
+ var _a;
42331
+ const vChart = chart.activeChartInstance;
42332
+ if (!vChart) return !1;
42333
+ const matrix = chart.parent.globalTransMatrix.clone(),
42334
+ stageMatrix = chart.stage.window.getViewBoxTransform();
42335
+ matrix.multiply(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f);
42336
+ const nextP = {
42337
+ x: 0,
42338
+ y: 0
42339
+ };
42340
+ matrix.getInverse().transformPoint(point, nextP);
42341
+ const vchartStage = vChart.getStage();
42342
+ null === (_a = vchartStage.dirtyBounds) || void 0 === _a || _a.clear();
42343
+ vchartStage.window.getViewBoxTransform().transformPoint(nextP, nextP);
42344
+ const pick = vchartStage.pick(nextP.x, nextP.y);
42345
+ return (null !== pick.graphic || "root" !== pick.group.name) && pick;
42346
+ }
42347
+ };
42348
+ VChartPicker = __decorate([injectable()], VChartPicker);
42314
42349
 
42315
42350
  var splitModule = new ContainerModule((bind, unbind, isBound, rebind) => {
42316
- 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);
42351
+ 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);
42317
42352
  });
42318
42353
 
42319
42354
  function computeColsWidth(table, colStart, colEnd, update) {
@@ -42455,7 +42490,8 @@
42455
42490
  rect: getCellRect(col, row, table),
42456
42491
  table: table,
42457
42492
  originCol: col,
42458
- originRow: row
42493
+ originRow: row,
42494
+ forComputation: !0
42459
42495
  };
42460
42496
  if ("react-custom-layout" === customLayout && (customLayout = (null === (_d = table.reactCustomLayout) || void 0 === _d ? void 0 : _d.getCustomLayoutFunc(col, row)) || emptyCustomLayout), isFunction$5(customLayout)) {
42461
42497
  const customLayoutObj = customLayout(arg);
@@ -42811,7 +42847,7 @@
42811
42847
  rightBottomCornerGroup: rightBottomCornerGroup
42812
42848
  } = table.scenegraph;
42813
42849
  let distCol, distRow, distColForCompute, distRowForCompute;
42814
- proxy.setParamsForRow(), proxy.setParamsForColumn(), "adaptive" === table.widthMode || table.options.autoWrapText && ("adaptive" === table.heightMode || table.isAutoRowHeight()) ? (distColForCompute = table.colCount - 1, distCol = Math.min(proxy.firstScreenColLimit - 1, table.colCount - 1)) : distCol = Math.min(proxy.firstScreenColLimit - 1, table.colCount - 1), "adaptive" === table.heightMode ? (distRowForCompute = table.rowCount - 1, distRow = Math.min(proxy.firstScreenRowLimit - 1, table.rowCount - 1)) : distRow = Math.min(proxy.firstScreenRowLimit - 1, table.rowCount - 1), 0 === table.internalProps._widthResizedColMap.size && computeColsWidth(table, 0, null != distColForCompute ? distColForCompute : distCol), 0 === table.internalProps._heightResizedRowMap.size && computeRowsHeight(table, 0, "auto" === table.options.canvasHeight ? table.rowCount - 1 : null != distRowForCompute ? distRowForCompute : distRow), distCol < table.colCount - table.rightFrozenColCount && computeColsWidth(table, table.colCount - table.rightFrozenColCount, table.colCount - 1), distRow < table.rowCount - table.bottomFrozenRowCount && computeRowsHeight(table, table.rowCount - table.bottomFrozenRowCount, table.rowCount - 1), table.scenegraph.colHeaderGroup.setAttribute("x", table.getFrozenColsWidth()), table.scenegraph.rowHeaderGroup.setAttribute("y", table.getFrozenRowsHeight()), table.scenegraph.bottomFrozenGroup.setAttribute("x", table.getFrozenColsWidth()), table.scenegraph.rightFrozenGroup.setAttribute("y", table.getFrozenRowsHeight()), table.scenegraph.bodyGroup.setAttributes({
42850
+ proxy.setParamsForRow(), proxy.setParamsForColumn(), "adaptive" === table.widthMode || table.options.autoWrapText && ("adaptive" === table.heightMode || table.isAutoRowHeight(table.columnHeaderLevelCount)) ? (distColForCompute = table.colCount - 1, distCol = Math.min(proxy.firstScreenColLimit - 1, table.colCount - 1)) : distCol = Math.min(proxy.firstScreenColLimit - 1, table.colCount - 1), "adaptive" === table.heightMode ? (distRowForCompute = table.rowCount - 1, distRow = Math.min(proxy.firstScreenRowLimit - 1, table.rowCount - 1)) : distRow = Math.min(proxy.firstScreenRowLimit - 1, table.rowCount - 1), 0 === table.internalProps._widthResizedColMap.size && computeColsWidth(table, 0, null != distColForCompute ? distColForCompute : distCol), 0 === table.internalProps._heightResizedRowMap.size && computeRowsHeight(table, 0, "auto" === table.options.canvasHeight ? table.rowCount - 1 : null != distRowForCompute ? distRowForCompute : distRow), distCol < table.colCount - table.rightFrozenColCount && computeColsWidth(table, table.colCount - table.rightFrozenColCount, table.colCount - 1), distRow < table.rowCount - table.bottomFrozenRowCount && computeRowsHeight(table, table.rowCount - table.bottomFrozenRowCount, table.rowCount - 1), table.scenegraph.colHeaderGroup.setAttribute("x", table.getFrozenColsWidth()), table.scenegraph.rowHeaderGroup.setAttribute("y", table.getFrozenRowsHeight()), table.scenegraph.bottomFrozenGroup.setAttribute("x", table.getFrozenColsWidth()), table.scenegraph.rightFrozenGroup.setAttribute("y", table.getFrozenRowsHeight()), table.scenegraph.bodyGroup.setAttributes({
42815
42851
  x: table.getFrozenColsWidth(),
42816
42852
  y: table.getFrozenRowsHeight()
42817
42853
  }), createColGroup(cornerHeaderGroup, xOrigin, yOrigin, 0, table.frozenColCount - 1, 0, table.frozenRowCount - 1, table.isListTable() ? "columnHeader" : "cornerHeader", table), distCol - table.rightFrozenColCount >= table.frozenColCount && createColGroup(colHeaderGroup, xOrigin, yOrigin, table.frozenColCount, distCol - table.rightFrozenColCount, 0, table.frozenRowCount - 1, "columnHeader", table), table.frozenColCount > 0 && (table.leftRowSeriesNumberCount > 0 && createColGroup(rowHeaderGroup, xOrigin, yOrigin, 0, table.leftRowSeriesNumberCount - 1, table.frozenRowCount, distRow - table.bottomFrozenRowCount, "rowHeader", table), table.frozenColCount > table.leftRowSeriesNumberCount && createColGroup(rowHeaderGroup, xOrigin, yOrigin, table.leftRowSeriesNumberCount, Math.min(table.frozenColCount - 1, table.rowHeaderLevelCount + table.leftRowSeriesNumberCount - 1), table.frozenRowCount, distRow - table.bottomFrozenRowCount, "rowHeader", table), table.frozenColCount > table.rowHeaderLevelCount + table.leftRowSeriesNumberCount && createColGroup(rowHeaderGroup, xOrigin, yOrigin, table.rowHeaderLevelCount + table.leftRowSeriesNumberCount, table.frozenColCount - 1, table.frozenRowCount, distRow - table.bottomFrozenRowCount, "body", table)), table.bottomFrozenRowCount > 0 && (table.frozenColCount > 0 && (table.leftRowSeriesNumberCount > 0 && createColGroup(leftBottomCornerGroup, xOrigin, yOrigin, 0, table.leftRowSeriesNumberCount - 1, table.rowCount - 1 - table.bottomFrozenRowCount + 1, table.rowCount - 1, "rowHeader", table), table.rowHeaderLevelCount > 0 && createColGroup(leftBottomCornerGroup, xOrigin, yOrigin, table.leftRowSeriesNumberCount, table.leftRowSeriesNumberCount + table.rowHeaderLevelCount - 1, table.rowCount - 1 - table.bottomFrozenRowCount + 1, table.rowCount - 1, "rowHeader", table), table.frozenColCount > table.rowHeaderLevelCount + table.leftRowSeriesNumberCount && createColGroup(leftBottomCornerGroup, xOrigin, yOrigin, table.rowHeaderLevelCount + table.leftRowSeriesNumberCount, table.frozenColCount - 1, table.rowCount - 1 - table.bottomFrozenRowCount + 1, table.rowCount - 1, "body", table)), distCol - table.rightFrozenColCount >= table.frozenColCount && createColGroup(bottomFrozenGroup, xOrigin, yOrigin, table.frozenColCount, distCol - table.rightFrozenColCount, table.rowCount - 1 - table.bottomFrozenRowCount + 1, table.rowCount - 1, table.isPivotChart() ? "rowHeader" : "body", table)), table.rightFrozenColCount > 0 && (createColGroup(rightTopCornerGroup, xOrigin, yOrigin, table.colCount - 1 - table.rightFrozenColCount + 1, table.colCount - 1, 0, table.frozenRowCount - 1, "columnHeader", table), createColGroup(rightFrozenGroup, xOrigin, yOrigin, table.colCount - 1 - table.rightFrozenColCount + 1, table.colCount - 1, table.frozenRowCount, distRow - table.bottomFrozenRowCount, table.isPivotChart() ? "rowHeader" : "body", table)), table.bottomFrozenRowCount > 0 && table.rightFrozenColCount > 0 && createColGroup(rightBottomCornerGroup, xOrigin, yOrigin, table.colCount - 1 - table.rightFrozenColCount + 1, table.colCount - 1, table.rowCount - 1 - table.bottomFrozenRowCount + 1, table.rowCount - 1, "body", table), distCol - table.rightFrozenColCount >= table.frozenColCount && createColGroup(bodyGroup, xOrigin, yOrigin, table.frozenColCount, distCol - table.rightFrozenColCount, table.frozenRowCount, distRow - table.bottomFrozenRowCount, "body", table), bodyGroup.firstChild || colHeaderGroup.firstChild || cornerHeaderGroup.firstChild || rowHeaderGroup.firstChild ? (proxy.currentRow = null !== (_d = null !== (_b = null === (_a = bodyGroup.firstChild) || void 0 === _a ? void 0 : _a.rowNumber) && void 0 !== _b ? _b : null === (_c = rowHeaderGroup.firstChild) || void 0 === _c ? void 0 : _c.rowNumber) && void 0 !== _d ? _d : proxy.totalRow, proxy.rowEnd = proxy.currentRow, proxy.rowUpdatePos = proxy.rowEnd + 1, proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.currentCol = null !== (_m = null !== (_k = null !== (_h = null !== (_f = null === (_e = bodyGroup.lastChild) || void 0 === _e ? void 0 : _e.col) && void 0 !== _f ? _f : null === (_g = colHeaderGroup.lastChild) || void 0 === _g ? void 0 : _g.col) && void 0 !== _h ? _h : null === (_j = rowHeaderGroup.lastChild) || void 0 === _j ? void 0 : _j.col) && void 0 !== _k ? _k : null === (_l = cornerHeaderGroup.lastChild) || void 0 === _l ? void 0 : _l.col) && void 0 !== _m ? _m : proxy.totalCol, proxy.colEnd = proxy.currentCol, proxy.colUpdatePos = proxy.colEnd + 1, proxy.referenceCol = proxy.colStart + Math.floor((proxy.colEnd - proxy.colStart) / 2), proxy.progress()) : (proxy.currentRow = proxy.totalRow, proxy.rowEnd = proxy.currentRow, proxy.rowUpdatePos = proxy.rowEnd + 1, proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.currentCol = proxy.totalCol, proxy.colEnd = proxy.currentCol, proxy.colUpdatePos = proxy.colEnd + 1, proxy.referenceCol = proxy.colStart + Math.floor((proxy.colEnd - proxy.colStart) / 2));
@@ -43095,20 +43131,20 @@
43095
43131
  distStartRow = "up" === direction ? proxy.rowEnd + 1 : proxy.rowStart - count,
43096
43132
  distEndRow = "up" === direction ? proxy.rowEnd + count : proxy.rowStart - 1;
43097
43133
  let syncTopRow, syncBottomRow;
43098
- if (proxy.table.isAutoRowHeight()) syncTopRow = distStartRow, syncBottomRow = distEndRow;else {
43134
+ if (proxy.table.isAutoRowHeight(startRow)) syncTopRow = distStartRow, syncBottomRow = distEndRow;else {
43099
43135
  syncTopRow = Math.max(proxy.bodyTopRow, screenTopRow - 1 * proxy.screenRowCount), syncBottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + 2 * proxy.screenRowCount, proxy.table.rowCount - 1);
43100
43136
  }
43101
43137
  computeRowsHeight(proxy.table, syncTopRow, syncBottomRow, !1), updatePartRowPosition(startRow, endRow, direction, proxy), proxy.rowStart = "up" === direction ? proxy.rowStart + count : proxy.rowStart - count, proxy.rowEnd = "up" === direction ? proxy.rowEnd + count : proxy.rowEnd - count;
43102
43138
  const sync = updateRowContent(syncTopRow, syncBottomRow, proxy, !0);
43103
- proxy.table.isAutoRowHeight() && (updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0), updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0), updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0)), proxy.currentRow = "up" === direction ? proxy.currentRow + count : proxy.currentRow - count, proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, "up" === direction ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1)), proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.table.isAutoRowHeight() && sync ? proxy.rowUpdatePos = Math.min(proxy.rowUpdatePos, proxy.rowEnd + 1) : proxy.rowUpdatePos = Math.min(proxy.rowUpdatePos, distStartRow), proxy.rowUpdateDirection = direction, proxy.table.scenegraph.updateNextFrame(), yield proxy.progress();
43139
+ proxy.table.isAutoRowHeight(startRow) && (updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0), updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0), updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", !0)), proxy.currentRow = "up" === direction ? proxy.currentRow + count : proxy.currentRow - count, proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, "up" === direction ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1)), proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.table.isAutoRowHeight(startRow) && sync ? proxy.rowUpdatePos = Math.min(proxy.rowUpdatePos, proxy.rowEnd + 1) : proxy.rowUpdatePos = Math.min(proxy.rowUpdatePos, distStartRow), proxy.rowUpdateDirection = direction, proxy.table.scenegraph.updateNextFrame(), yield proxy.progress();
43104
43140
  } else {
43105
43141
  const distStartRow = "up" === direction ? proxy.rowStart + count : proxy.rowStart - count,
43106
43142
  distEndRow = Math.min(proxy.table.rowCount - 1, "up" === direction ? proxy.rowEnd + count : proxy.rowEnd - count),
43107
43143
  distStartRowY = proxy.table.getRowsHeight(proxy.bodyTopRow, distStartRow - 1);
43108
43144
  let syncTopRow, syncBottomRow;
43109
- proxy.table.isAutoRowHeight() ? (syncTopRow = distStartRow, syncBottomRow = distEndRow) : (syncTopRow = Math.max(proxy.bodyTopRow, screenTopRow - 1 * proxy.screenRowCount), syncBottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + 2 * proxy.screenRowCount, proxy.table.rowCount - 1)), computeRowsHeight(proxy.table, syncTopRow, syncBottomRow, !1), updateAllRowPosition(distStartRowY, count, direction, proxy), proxy.rowStart = distStartRow, proxy.rowEnd = distEndRow;
43145
+ proxy.table.isAutoRowHeight(distStartRow) ? (syncTopRow = distStartRow, syncBottomRow = distEndRow) : (syncTopRow = Math.max(proxy.bodyTopRow, screenTopRow - 1 * proxy.screenRowCount), syncBottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + 2 * proxy.screenRowCount, proxy.table.rowCount - 1)), computeRowsHeight(proxy.table, syncTopRow, syncBottomRow, !1), updateAllRowPosition(distStartRowY, count, direction, proxy), proxy.rowStart = distStartRow, proxy.rowEnd = distEndRow;
43110
43146
  const sync = updateRowContent(syncTopRow, syncBottomRow, proxy, !0);
43111
- proxy.table.isAutoRowHeight() && (updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up")), proxy.currentRow = "up" === direction ? proxy.currentRow + count : proxy.currentRow - count, proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, "up" === direction ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1)), proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.table.isAutoRowHeight() && sync ? proxy.rowUpdatePos = proxy.rowEnd + 1 : proxy.rowUpdatePos = proxy.rowStart, proxy.rowUpdateDirection = distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", proxy.table.scenegraph.updateNextFrame(), yield proxy.progress();
43147
+ proxy.table.isAutoRowHeight(distStartRow) && (updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), updateAutoRow(0, proxy.table.frozenColCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), updateAutoRow(proxy.table.colCount - proxy.table.rightFrozenColCount, proxy.table.colCount - 1, syncTopRow, syncBottomRow, proxy.table, distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up")), proxy.currentRow = "up" === direction ? proxy.currentRow + count : proxy.currentRow - count, proxy.totalRow = Math.max(0, Math.min(proxy.bodyBottomRow, "up" === direction ? proxy.totalRow + count : proxy.totalRow - count, proxy.table.rowCount - 1)), proxy.referenceRow = proxy.rowStart + Math.floor((proxy.rowEnd - proxy.rowStart) / 2), proxy.table.isAutoRowHeight(distStartRow) && sync ? proxy.rowUpdatePos = proxy.rowEnd + 1 : proxy.rowUpdatePos = proxy.rowStart, proxy.rowUpdateDirection = distEndRow > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", proxy.table.scenegraph.updateNextFrame(), yield proxy.progress();
43112
43148
  }
43113
43149
  });
43114
43150
  }
@@ -43222,12 +43258,12 @@
43222
43258
  "group" === colGroup.type && (colGroup.needUpdate = !0, null == colGroup || colGroup.forEachChildren(cellGroup => {
43223
43259
  cellGroup.needUpdate = !0;
43224
43260
  }));
43225
- }), proxy.table.isAutoRowHeight() ? (syncTopRow = proxy.rowStart, syncBottomRow = proxy.rowEnd) : (syncTopRow = Math.max(proxy.bodyTopRow, proxy.screenTopRow - 1 * proxy.screenRowCount), syncBottomRow = Math.min(proxy.bodyBottomRow, proxy.screenTopRow + 2 * proxy.screenRowCount, proxy.table.rowCount - 1));
43261
+ }), proxy.table.isAutoRowHeight(proxy.rowStart) ? (syncTopRow = proxy.rowStart, syncBottomRow = proxy.rowEnd) : (syncTopRow = Math.max(proxy.bodyTopRow, proxy.screenTopRow - 1 * proxy.screenRowCount), syncBottomRow = Math.min(proxy.bodyBottomRow, proxy.screenTopRow + 2 * proxy.screenRowCount, proxy.table.rowCount - 1));
43226
43262
  const oldBodyHeight = proxy.table.getAllRowsHeight();
43227
43263
  computeRowsHeight(proxy.table, syncTopRow, syncBottomRow);
43228
43264
  const newBodyHeight = proxy.table.getAllRowsHeight();
43229
43265
  oldBodyHeight !== newBodyHeight && proxy.table.scenegraph.updateContainerHeight(proxy.table.frozenRowCount, newBodyHeight - oldBodyHeight);
43230
- for (let col = 0; null !== (_a = col < proxy.table.frozenColCount) && void 0 !== _a && _a; col++) {
43266
+ for (let col = 0; col < (null !== (_a = proxy.table.frozenColCount) && void 0 !== _a ? _a : 0); col++) {
43231
43267
  const columnGroup = proxy.table.scenegraph.getColGroup(col);
43232
43268
  null == columnGroup || columnGroup.setAttribute("chartInstance", void 0);
43233
43269
  for (let row = proxy.rowStart; row <= proxy.rowEnd; row++) proxy.table.scenegraph.updateCellContent(col, row);
@@ -43244,7 +43280,7 @@
43244
43280
  for (let row = proxy.rowStart; row <= proxy.rowEnd; row++) proxy.table.scenegraph.updateCellContent(col, row);
43245
43281
  for (let row = proxy.table.rowCount - proxy.table.bottomFrozenRowCount; row < proxy.table.rowCount; row++) proxy.table.scenegraph.updateCellContent(col, row);
43246
43282
  }
43247
- updateRowContent(syncTopRow, syncBottomRow, proxy), proxy.table.isAutoRowHeight() && updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), proxy.rowUpdatePos = proxy.rowStart, proxy.rowUpdateDirection = proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", proxy.table.scenegraph.updateNextFrame(), proxy.table.isAutoRowHeight() || (yield proxy.progress());
43283
+ updateRowContent(syncTopRow, syncBottomRow, proxy), proxy.table.isAutoRowHeight(syncTopRow) && updateAutoRow(proxy.bodyLeftCol, proxy.bodyRightCol, syncTopRow, syncBottomRow, proxy.table, proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up"), proxy.rowUpdatePos = proxy.rowStart, proxy.rowUpdateDirection = proxy.rowEnd > proxy.bodyBottomRow - (proxy.rowEnd - proxy.rowStart + 1) ? "down" : "up", proxy.table.scenegraph.updateNextFrame(), proxy.table.isAutoRowHeight(proxy.rowStart) || (yield proxy.progress());
43248
43284
  });
43249
43285
  }
43250
43286
 
@@ -43537,7 +43573,7 @@
43537
43573
  };
43538
43574
  class SceneProxy {
43539
43575
  constructor(table) {
43540
- this.isRelease = !1, this.mode = "column", this.rowLimit = 200, this.currentRow = 0, this.rowStart = 0, this.rowEnd = 0, this.referenceRow = 0, this.screenTopRow = 0, this.deltaY = 0, this.deltaHeight = 0, this.colLimit = 100, this.screenLeftCol = 0, this.deltaX = 0, this.deltaWidth = 0, this.cellCache = new Map(), this.table = table, this.table.isPivotChart() ? (this.rowLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight)), this.colLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameWidth / table.defaultColWidth))) : this.table.isAutoRowHeight() ? this.rowLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight)) : ("autoWidth" === this.table.widthMode || (this.rowLimit = Math.max(200, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight))), this.colLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameWidth / table.defaultColWidth))), this.table.internalProps.transpose ? this.mode = "row" : this.table.isPivotTable() && (this.mode = "pivot"), this.table.options.maintainedDataCount && (this.rowLimit = this.table.options.maintainedDataCount);
43576
+ this.isRelease = !1, this.mode = "column", this.rowLimit = 200, this.currentRow = 0, this.rowStart = 0, this.rowEnd = 0, this.referenceRow = 0, this.screenTopRow = 0, this.deltaY = 0, this.deltaHeight = 0, this.colLimit = 100, this.screenLeftCol = 0, this.deltaX = 0, this.deltaWidth = 0, this.cellCache = new Map(), this.table = table, this.table.isPivotChart() ? (this.rowLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight)), this.colLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameWidth / table.defaultColWidth))) : this.table.isAutoRowHeight(table.columnHeaderLevelCount) ? this.rowLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight)) : ("autoWidth" === this.table.widthMode || (this.rowLimit = Math.max(200, Math.ceil(2 * table.tableNoFrameHeight / table.defaultRowHeight))), this.colLimit = Math.max(100, Math.ceil(2 * table.tableNoFrameWidth / table.defaultColWidth))), this.table.internalProps.transpose ? this.mode = "row" : this.table.isPivotTable() && (this.mode = "pivot"), this.table.options.maintainedDataCount && (this.rowLimit = this.table.options.maintainedDataCount), this.table.options.maintainedColumnCount && (this.colLimit = this.table.options.maintainedColumnCount);
43541
43577
  }
43542
43578
  get bodyLeftCol() {
43543
43579
  return this.table.frozenColCount;
@@ -43710,17 +43746,17 @@
43710
43746
  }
43711
43747
  updateCellGroups(count) {
43712
43748
  const distRow = Math.min(this.bodyBottomRow, this.rowUpdatePos + count);
43713
- this.table.isAutoRowHeight() && computeRowsHeight(this.table, this.rowUpdatePos, distRow, !1), updateRowContent(this.rowUpdatePos, distRow, this), this.table.isAutoRowHeight() && (updateAutoRow(this.bodyLeftCol, this.bodyRightCol, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0), updateAutoRow(0, this.table.frozenColCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0), updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0)), this.rowUpdatePos = distRow + 1;
43749
+ this.table.isAutoRowHeight(this.rowUpdatePos) && computeRowsHeight(this.table, this.rowUpdatePos, distRow, !1), updateRowContent(this.rowUpdatePos, distRow, this), this.table.isAutoRowHeight(this.rowUpdatePos) && (updateAutoRow(this.bodyLeftCol, this.bodyRightCol, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0), updateAutoRow(0, this.table.frozenColCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0), updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, this.rowUpdatePos, distRow, this.table, this.rowUpdateDirection, !0)), this.rowUpdatePos = distRow + 1;
43714
43750
  }
43715
43751
  updateBottomFrozenCellGroups() {
43716
43752
  const startRow = this.table.rowCount - this.table.bottomFrozenRowCount,
43717
43753
  endRow = this.table.rowCount - 1;
43718
- this.table.isAutoRowHeight() && computeRowsHeight(this.table, startRow, endRow, !1), updateRowContent(startRow, endRow, this), this.table.isAutoRowHeight() && (updateAutoRow(this.bodyLeftCol, this.bodyRightCol, startRow, endRow, this.table, this.rowUpdateDirection), updateAutoRow(0, this.table.frozenColCount - 1, startRow, endRow, this.table, this.rowUpdateDirection), updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, startRow, endRow, this.table, this.rowUpdateDirection));
43754
+ this.table.isAutoRowHeight(startRow) && computeRowsHeight(this.table, startRow, endRow, !1), updateRowContent(startRow, endRow, this), this.table.isAutoRowHeight(startRow) && (updateAutoRow(this.bodyLeftCol, this.bodyRightCol, startRow, endRow, this.table, this.rowUpdateDirection), updateAutoRow(0, this.table.frozenColCount - 1, startRow, endRow, this.table, this.rowUpdateDirection), updateAutoRow(this.table.colCount - this.table.rightFrozenColCount, this.table.colCount - 1, startRow, endRow, this.table, this.rowUpdateDirection));
43719
43755
  }
43720
43756
  updateRightFrozenCellGroups() {
43721
43757
  const startCol = this.table.colCount - this.table.rightFrozenColCount,
43722
43758
  endCol = this.table.colCount - 1;
43723
- "autoWidth" === this.table.widthMode && computeColsWidth(this.table, startCol, endCol, !1), updateColContent(startCol, endCol, this), this.table.isAutoRowHeight() && updateAutoColumn(startCol, endCol, this.table, this.colUpdateDirection);
43759
+ "autoWidth" === this.table.widthMode && computeColsWidth(this.table, startCol, endCol, !1), updateColContent(startCol, endCol, this), this.table.isAutoRowHeight(this.rowStart) && updateAutoColumn(startCol, endCol, this.table, this.colUpdateDirection);
43724
43760
  }
43725
43761
  updateColCellGroupsAsync() {
43726
43762
  return __awaiter$1(this, void 0, void 0, function* () {
@@ -44044,7 +44080,7 @@
44044
44080
  }
44045
44081
  isExtend && extendSelectRange();
44046
44082
  };
44047
- ifExtendSelectRange && extendSelectRange(), scene.selectingRangeComponents.forEach((selectComp, key) => {
44083
+ ifExtendSelectRange && (extendSelectRange(), selectRange.start.col > selectRange.end.col ? (selectRange.start.col = Math.max(startCol, endCol), selectRange.end.col = Math.min(startCol, endCol)) : (selectRange.start.col = Math.min(startCol, endCol), selectRange.end.col = Math.max(startCol, endCol)), selectRange.start.row > selectRange.end.row ? (selectRange.start.row = Math.max(startRow, endRow), selectRange.end.row = Math.min(startRow, endRow)) : (selectRange.start.row = Math.min(startRow, endRow), selectRange.end.row = Math.max(startRow, endRow))), scene.selectingRangeComponents.forEach((selectComp, key) => {
44048
44084
  var _a;
44049
44085
  selectComp.rect.delete(), null === (_a = selectComp.fillhandle) || void 0 === _a || _a.delete();
44050
44086
  }), scene.selectingRangeComponents = new Map();
@@ -44134,7 +44170,7 @@
44134
44170
  }
44135
44171
 
44136
44172
  function createCellSelectBorder(scene, start_Col, start_Row, end_Col, end_Row, selectRangeType, selectId, strokes) {
44137
- var _a, _b, _c, _d, _e, _f, _g, _h;
44173
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
44138
44174
  let isHasFillHandleRect = !!(null === (_a = scene.table.options.excelOptions) || void 0 === _a ? void 0 : _a.fillHandle);
44139
44175
  if ((null === (_b = scene.table.stateManager.select.ranges) || void 0 === _b ? void 0 : _b.length) > 1) isHasFillHandleRect = !1, scene.removeFillHandleFromSelectComponents();else if (1 === (null === (_c = scene.table.stateManager.select.ranges) || void 0 === _c ? void 0 : _c.length)) {
44140
44176
  const maxRow = Math.max(scene.table.stateManager.select.ranges[0].start.row, scene.table.stateManager.select.ranges[0].end.row),
@@ -44160,7 +44196,8 @@
44160
44196
  y: firstCellBound.y1 - scene.tableGroup.attribute.y,
44161
44197
  width: 0,
44162
44198
  height: 0,
44163
- visible: !0
44199
+ visible: !0,
44200
+ cornerRadius: getCornerRadius(selectRangeType, null === (_j = scene.table.theme.frameStyle) || void 0 === _j ? void 0 : _j.cornerRadius, start_Col, start_Row, end_Col, end_Row, scene.table)
44164
44201
  });
44165
44202
  let fillhandle;
44166
44203
  isHasFillHandleRect && (fillhandle = createRect({
@@ -44178,6 +44215,15 @@
44178
44215
  role: selectRangeType
44179
44216
  }), scene.tableGroup.insertAfter(rect, "body" === selectRangeType ? scene.bodyGroup : "columnHeader" === selectRangeType ? scene.colHeaderGroup : "rowHeader" === selectRangeType ? scene.rowHeaderGroup : "cornerHeader" === selectRangeType ? scene.cornerHeaderGroup : "rightTopCorner" === selectRangeType ? scene.rightTopCornerGroup : "rightFrozen" === selectRangeType ? scene.rightFrozenGroup : "leftBottomCorner" === selectRangeType ? scene.leftBottomCornerGroup : "bottomFrozen" === selectRangeType ? scene.bottomFrozenGroup : scene.rightBottomCornerGroup), isHasFillHandleRect && scene.tableGroup.insertAfter(fillhandle, "body" === selectRangeType ? scene.bodyGroup : "columnHeader" === selectRangeType ? scene.colHeaderGroup : "rowHeader" === selectRangeType ? scene.rowHeaderGroup : "cornerHeader" === selectRangeType ? scene.cornerHeaderGroup : "rightTopCorner" === selectRangeType ? scene.rightTopCornerGroup : "rightFrozen" === selectRangeType ? scene.rightFrozenGroup : "leftBottomCorner" === selectRangeType ? scene.leftBottomCornerGroup : "bottomFrozen" === selectRangeType ? scene.bottomFrozenGroup : scene.rightBottomCornerGroup);
44180
44217
  }
44218
+ function getCornerRadius(selectRangeType, cornerRadius, start_Col, start_Row, end_Col, end_Row, table) {
44219
+ if (!cornerRadius) return;
44220
+ const cornerRadiusArray = Array.isArray(cornerRadius) ? cornerRadius : [cornerRadius, cornerRadius, cornerRadius, cornerRadius],
44221
+ tableEndCol = table.colCount - 1,
44222
+ tableEndRow = table.rowCount - 1,
44223
+ result = [0, 0, 0, 0];
44224
+ let changed = !1;
44225
+ return 0 === start_Col && 0 === start_Row ? (result[0] = cornerRadiusArray[0], changed = !0) : end_Col === tableEndCol && end_Row === tableEndRow ? (result[2] = cornerRadiusArray[2], changed = !0) : 0 === start_Col && end_Row === tableEndRow ? (result[3] = cornerRadiusArray[3], changed = !0) : end_Col === tableEndCol && 0 === start_Row && (result[1] = cornerRadiusArray[1], changed = !0), changed ? result : void 0;
44226
+ }
44181
44227
 
44182
44228
  function moveSelectingRangeComponentsToSelectedRangeComponents(scene) {
44183
44229
  scene.selectingRangeComponents.forEach((rangeComponent, key) => {
@@ -44273,7 +44319,7 @@
44273
44319
  const minRow = Math.min(...addRows);
44274
44320
  scene.proxy.rowUpdatePos = Math.min(minRow, scene.proxy.rowUpdatePos);
44275
44321
  }
44276
- scene.proxy.rowUpdateDirection = "down", scene.proxy.updateCellGroups(2 * scene.proxy.screenRowCount), updateBottomFrozeCellGroups();
44322
+ scene.proxy.rowUpdateDirection = "up", scene.proxy.updateCellGroups(2 * scene.proxy.screenRowCount), updateBottomFrozeCellGroups();
44277
44323
  } else removeRows.length && (setRowSeriesNumberCellNeedUpdate(removeRows[removeRows.length - 1], scene), scene.proxy.updateCellGroups(2 * scene.proxy.screenRowCount), updateBottomFrozeCellGroups());
44278
44324
  scene.proxy.progress();
44279
44325
  const newTotalHeight = table.getRowsHeight(table.frozenRowCount, table.rowCount - 1 - table.bottomFrozenRowCount);
@@ -44430,22 +44476,22 @@
44430
44476
  beforeCell.mergeStartRow && beforeCell.mergeEndRow && beforeCell.mergeEndRow > beforeRow && (addNeedUpdateTag({
44431
44477
  start: {
44432
44478
  row: beforeCell.mergeStartRow,
44433
- col: scene.table.isAutoRowHeight() ? 0 : beforeCell.mergeStartCol
44479
+ col: scene.table.isAutoRowHeight(afterRow) ? 0 : beforeCell.mergeStartCol
44434
44480
  },
44435
44481
  end: {
44436
44482
  row: beforeCell.mergeEndRow,
44437
- col: scene.table.isAutoRowHeight() ? scene.table.colCount - 1 : beforeCell.mergeEndCol
44483
+ col: scene.table.isAutoRowHeight(afterRow) ? scene.table.colCount - 1 : beforeCell.mergeEndCol
44438
44484
  }
44439
44485
  }, scene), row = beforeCell.mergeStartRow);
44440
44486
  const afterCell = scene.highPerformanceGetCell(col, afterRow);
44441
44487
  afterCell.mergeStartRow && afterCell.mergeEndRow && afterCell.mergeStartRow < afterRow && (addNeedUpdateTag({
44442
44488
  start: {
44443
44489
  row: afterCell.mergeStartRow,
44444
- col: scene.table.isAutoRowHeight() ? 0 : afterCell.mergeStartCol
44490
+ col: scene.table.isAutoRowHeight(afterRow) ? 0 : afterCell.mergeStartCol
44445
44491
  },
44446
44492
  end: {
44447
44493
  row: afterCell.mergeEndRow,
44448
- col: scene.table.isAutoRowHeight() ? scene.table.colCount - 1 : afterCell.mergeEndCol
44494
+ col: scene.table.isAutoRowHeight(afterRow) ? scene.table.colCount - 1 : afterCell.mergeEndCol
44449
44495
  }
44450
44496
  }, scene), row = afterCell.mergeStartRow), isValid$3(row) && (updateRow = isValid$3(updateRow) ? Math.min(updateRow, row) : row);
44451
44497
  }
@@ -44540,7 +44586,7 @@
44540
44586
  }
44541
44587
 
44542
44588
  function dealFrozen(scene) {
44543
- var _a, _b;
44589
+ var _a, _b, _c, _d;
44544
44590
  if (scene.table.frozenColCount > scene.table.rowHeaderLevelCount) {
44545
44591
  scene.rowHeaderGroup.setAttribute("height", scene.bodyGroup.attribute.height), scene.rowHeaderGroup.setAttribute("y", scene.bodyGroup.attribute.y), scene.cornerHeaderGroup.setAttribute("height", scene.colHeaderGroup.attribute.height);
44546
44592
  for (let i = 0; i < scene.table.frozenColCount - scene.table.rowHeaderLevelCount; i++) moveColumnFromBodyToRowHeader(scene), moveColumnFromColHeaderToCornerHeader(scene), moveColumnFromBottomToLeftBottomCorner(scene);
@@ -44548,10 +44594,10 @@
44548
44594
  scene.bodyGroup.setAttribute("height", scene.rowHeaderGroup.attribute.height), scene.bodyGroup.setAttribute("y", scene.rowHeaderGroup.attribute.y), scene.colHeaderGroup.setAttribute("height", scene.cornerHeaderGroup.attribute.height);
44549
44595
  for (let i = 0; i < scene.table.rowHeaderLevelCount - scene.table.frozenColCount; i++) moveColumnFromRowHeaderToBody(scene), moveColumnFromCornerHeaderToColHeader(scene), moveColumnFromLeftBottomCornerToBottom(scene);
44550
44596
  }
44551
- scene.bodyGroup.setAttribute("x", scene.rowHeaderGroup.attribute.width), scene.colHeaderGroup.setAttribute("x", scene.cornerHeaderGroup.attribute.width), scene.updateContainer(), scene.updateBorderSizeAndPosition(), scene.isPivot || scene.table.transpose ? scene.table.options.frozenColCount ? scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1) : scene.table.options.frozenColCount && scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount) : (scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1), scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount)), scene.hasFrozen = !0, scene.frozenColCount = scene.table.frozenColCount, scene.frozenRowCount = null !== (_b = null === (_a = scene.colHeaderGroup.firstChild) || void 0 === _a ? void 0 : _a.childrenCount) && void 0 !== _b ? _b : 0;
44597
+ scene.bodyGroup.setAttribute("x", scene.rowHeaderGroup.attribute.width), scene.colHeaderGroup.setAttribute("x", scene.cornerHeaderGroup.attribute.width), scene.updateContainer(), scene.updateBorderSizeAndPosition(), scene.isPivot || scene.table.transpose ? scene.table.options.frozenColCount ? scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1) : scene.table.options.frozenColCount && scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount) : (scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1), scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount)), scene.hasFrozen = !0, scene.frozenColCount = scene.table.frozenColCount, scene.frozenRowCount = null !== (_d = null !== (_b = null === (_a = scene.colHeaderGroup.firstChild) || void 0 === _a ? void 0 : _a.childrenCount) && void 0 !== _b ? _b : null === (_c = scene.cornerHeaderGroup.firstChild) || void 0 === _c ? void 0 : _c.childrenCount) && void 0 !== _d ? _d : scene.table.frozenRowCount;
44552
44598
  }
44553
44599
  function resetFrozen(scene) {
44554
- var _a, _b, _c, _d;
44600
+ var _a, _b, _c, _d, _e, _f;
44555
44601
  if (scene.frozenColCount > scene.table.frozenColCount) {
44556
44602
  scene.bodyGroup.setAttribute("height", scene.rowHeaderGroup.attribute.height), scene.bodyGroup.setAttribute("y", scene.rowHeaderGroup.attribute.y), scene.colHeaderGroup.setAttribute("height", scene.cornerHeaderGroup.attribute.height);
44557
44603
  for (let i = 0; i < scene.frozenColCount - scene.table.frozenColCount; i++) moveColumnFromRowHeaderToBody(scene), moveColumnFromCornerHeaderToColHeader(scene), moveColumnFromLeftBottomCornerToBottom(scene);
@@ -44559,7 +44605,7 @@
44559
44605
  scene.rowHeaderGroup.setAttribute("height", scene.bodyGroup.attribute.height), scene.rowHeaderGroup.setAttribute("y", scene.bodyGroup.attribute.y), scene.cornerHeaderGroup.setAttribute("height", scene.colHeaderGroup.attribute.height);
44560
44606
  for (let i = 0; i < scene.table.frozenColCount - scene.frozenColCount; i++) moveColumnFromBodyToRowHeader(scene), moveColumnFromColHeaderToCornerHeader(scene), moveColumnFromBottomToLeftBottomCorner(scene);
44561
44607
  }
44562
- updateReactComponentContainer(scene), scene.recreateAllSelectRangeComponents(), scene.frozenColCount = scene.table.frozenColCount, scene.frozenRowCount = null !== (_b = null === (_a = scene.colHeaderGroup.firstChild) || void 0 === _a ? void 0 : _a.childrenCount) && void 0 !== _b ? _b : 0, scene.proxy.colStart = null !== (_d = null === (_c = scene.bodyGroup.firstChild) || void 0 === _c ? void 0 : _c.col) && void 0 !== _d ? _d : scene.table.frozenColCount, scene.bodyGroup.setAttribute("x", scene.rowHeaderGroup.attribute.width), scene.colHeaderGroup.setAttribute("x", scene.cornerHeaderGroup.attribute.width), scene.updateContainer(), scene.updateBorderSizeAndPosition(), scene.isPivot || scene.table.transpose ? scene.table.options.frozenColCount ? scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1) : scene.table.options.rightFrozenColCount && scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount) : (scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1), scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount)), scene.hasFrozen = !0;
44608
+ updateReactComponentContainer(scene), scene.recreateAllSelectRangeComponents(), scene.frozenColCount = scene.table.frozenColCount, scene.frozenRowCount = null !== (_d = null !== (_b = null === (_a = scene.colHeaderGroup.firstChild) || void 0 === _a ? void 0 : _a.childrenCount) && void 0 !== _b ? _b : null === (_c = scene.cornerHeaderGroup.firstChild) || void 0 === _c ? void 0 : _c.childrenCount) && void 0 !== _d ? _d : scene.table.frozenRowCount, scene.proxy.colStart = null !== (_f = null === (_e = scene.bodyGroup.firstChild) || void 0 === _e ? void 0 : _e.col) && void 0 !== _f ? _f : scene.table.frozenColCount, scene.bodyGroup.setAttribute("x", scene.rowHeaderGroup.attribute.width), scene.colHeaderGroup.setAttribute("x", scene.cornerHeaderGroup.attribute.width), scene.updateContainer(), scene.updateBorderSizeAndPosition(), scene.isPivot || scene.table.transpose ? scene.table.options.frozenColCount ? scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1) : scene.table.options.rightFrozenColCount && scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount) : (scene.component.setFrozenColumnShadow(scene.table.frozenColCount - 1), scene.component.setRightFrozenColumnShadow(scene.table.colCount - scene.table.rightFrozenColCount)), scene.hasFrozen = !0;
44563
44609
  }
44564
44610
  function moveColumnFromBodyToRowHeader(scene) {
44565
44611
  const column = scene.bodyGroup.firstChild instanceof Group$1 ? scene.bodyGroup.firstChild : null;
@@ -46117,7 +46163,7 @@
46117
46163
  const addRows = deduplication$1(addCells.map(cell => cell.row)).sort((a, b) => a - b),
46118
46164
  updateRows = deduplication$1(updateCells.map(cell => cell.row)).sort((a, b) => a - b),
46119
46165
  isNotFillHeight = this.table.getAllRowsHeight() - [...addRows, ...updateRows].reduce((tolHeight, rowNumber) => tolHeight + this.table.getRowHeight(rowNumber), 0) <= this.table.tableNoFrameHeight;
46120
- if (updateRow(removeCells, addCells, updateCells, this.table, skipUpdateProxy), recalculateColWidths && this.recalculateColWidths(), "adaptive" === this.table.heightMode || this.table.autoFillHeight && (this.table.getAllRowsHeight() <= this.table.tableNoFrameHeight || isNotFillHeight)) this.table.scenegraph.recalculateRowHeights();else if (this.table.isAutoRowHeight()) for (let i = 0; i < updateRows.length; i++) {
46166
+ if (updateRow(removeCells, addCells, updateCells, this.table, skipUpdateProxy), recalculateColWidths && this.recalculateColWidths(), "adaptive" === this.table.heightMode || this.table.autoFillHeight && (this.table.getAllRowsHeight() <= this.table.tableNoFrameHeight || isNotFillHeight)) this.table.scenegraph.recalculateRowHeights();else if (this.table.isAutoRowHeight(this.table.columnHeaderLevelCount)) for (let i = 0; i < updateRows.length; i++) {
46121
46167
  const row = updateRows[i],
46122
46168
  oldHeight = this.table.getRowHeight(row),
46123
46169
  newHeight = computeRowHeight(row, 0, this.table.colCount - 1, this.table);
@@ -46411,7 +46457,7 @@
46411
46457
  } : table.getCellRange(col, row);
46412
46458
  currentRange.start.col < cellRange.end.col ? currentRange.end.col = cellRange.end.col : currentRange.start.col > cellRange.start.col && (currentRange.end.col = cellRange.start.col), currentRange.start.row < cellRange.end.row ? currentRange.end.row = cellRange.end.row : currentRange.start.row > cellRange.start.row && (currentRange.end.row = cellRange.start.row), "body" === state.select.headerSelectMode && (table.isRowHeader(col, row) ? (currentRange.start.col = table.rowHeaderLevelCount + table.leftRowSeriesNumberCount, currentRange.end.col = table.colCount - 1) : table.isColumnHeader(col, row) ? (currentRange.start.row = table.columnHeaderLevelCount, currentRange.end.row = table.rowCount - 1) : table.internalProps.layoutMap.isSeriesNumberInBody(col, row) ? (currentRange.start.col = table.leftRowSeriesNumberCount, currentRange.end.col = table.colCount - 1) : table.isCornerHeader(col, row) ? (currentRange.start.col = table.rowHeaderLevelCount + table.leftRowSeriesNumberCount, currentRange.start.row = table.columnHeaderLevelCount, currentRange.end.col = table.colCount - 1, currentRange.end.row = table.rowCount - 1) : table.isSeriesNumber(col, row) && (currentRange.start.col = table.leftRowSeriesNumberCount, currentRange.start.row = table.columnHeaderLevelCount, currentRange.end.col = table.colCount - 1, currentRange.end.row = table.rowCount - 1)), skipBodyMerge && (currentRange.skipBodyMerge = !0);
46413
46459
  }
46414
- scenegraph.updateCellSelectBorder(currentRange, extendSelectRange);
46460
+ currentRange && currentRange.start.row <= table.rowCount - 1 && currentRange.end.row <= table.rowCount - 1 && currentRange.start.col <= table.colCount - 1 && currentRange.end.col <= table.colCount - 1 && scenegraph.updateCellSelectBorder(currentRange, extendSelectRange);
46415
46461
  }
46416
46462
  }
46417
46463
  } else {
@@ -46609,7 +46655,7 @@
46609
46655
  }
46610
46656
  cellPos.col = col, cellPos.row = row;
46611
46657
  const currentRange = null === (_b = state.select.ranges) || void 0 === _b ? void 0 : _b[state.select.ranges.length - 1];
46612
- currentRange && scenegraph.updateCellSelectBorder(currentRange, extendSelectRange);
46658
+ currentRange && currentRange.start.row <= table.rowCount - 1 && currentRange.end.row <= table.rowCount - 1 && currentRange.start.col <= table.colCount - 1 && currentRange.end.col <= table.colCount - 1 && scenegraph.updateCellSelectBorder(currentRange, extendSelectRange);
46613
46659
  }
46614
46660
  }
46615
46661
  } else cellPos.col = -1, cellPos.row = -1, state.select.ranges = [], scenegraph.deleteAllSelectBorder();
@@ -47504,7 +47550,7 @@
47504
47550
  let isSelectAll = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !1;
47505
47551
  let makeSelectCellVisible = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : !0;
47506
47552
  let skipBodyMerge = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : !1;
47507
- -1 !== row && -1 !== row && (this.select.selecting = !0), updateSelectPosition(this, col, row, isShift, isCtrl, isSelectAll, makeSelectCellVisible, skipBodyMerge);
47553
+ -1 !== row && -1 !== row && (this.select.selecting = !0), col < 0 && (col = -1), row < 0 && (row = -1), col > this.table.colCount - 1 && (col = this.table.colCount - 1), row > this.table.rowCount - 1 && (row = this.table.rowCount - 1), updateSelectPosition(this, col, row, isShift, isCtrl, isSelectAll, makeSelectCellVisible, skipBodyMerge);
47508
47554
  }
47509
47555
  checkCellRangeInSelect(cellPosStart, cellPosEnd) {
47510
47556
  return checkMultiCellInSelect(cellPosStart, cellPosEnd, this.select.ranges, this.select.highlightScope);
@@ -47669,79 +47715,159 @@
47669
47715
  });
47670
47716
  }
47671
47717
  updateVerticalScrollBar(yRatio) {
47672
- var _a, _b;
47718
+ var _a, _b, _c, _d;
47673
47719
  const totalHeight = this.table.getAllRowsHeight(),
47674
47720
  oldVerticalBarPos = this.scroll.verticalBarPos;
47675
- this.scroll.verticalBarPos = Math.ceil(yRatio * (totalHeight - this.table.scenegraph.height)), isValid$3(this.scroll.verticalBarPos) && !isNaN(this.scroll.verticalBarPos) || (this.scroll.verticalBarPos = 0), this.table.scenegraph.setY(-this.scroll.verticalBarPos, 1 === yRatio), this.scroll.verticalBarPos -= this.table.scenegraph.proxy.deltaY, this.table.scenegraph.proxy.deltaY = 0, this.updateHoverPos(-1, -1), this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47721
+ let verticalBarPos = Math.ceil(yRatio * (totalHeight - this.table.scenegraph.height));
47722
+ isValid$3(verticalBarPos) && !isNaN(verticalBarPos) || (verticalBarPos = 0);
47723
+ const dy = verticalBarPos - this.table.scenegraph.proxy.deltaY - oldVerticalBarPos;
47724
+ if (this.table.fireListeners(TABLE_EVENT_TYPE.CAN_SCROLL, {
47676
47725
  event: void 0,
47677
- scrollTop: this.scroll.verticalBarPos,
47726
+ scrollTop: verticalBarPos - this.table.scenegraph.proxy.deltaY,
47678
47727
  scrollLeft: this.scroll.horizontalBarPos,
47679
47728
  scrollHeight: null === (_a = this.table.theme.scrollStyle) || void 0 === _a ? void 0 : _a.width,
47680
47729
  scrollWidth: null === (_b = this.table.theme.scrollStyle) || void 0 === _b ? void 0 : _b.width,
47681
47730
  viewHeight: this.table.tableNoFrameHeight,
47682
47731
  viewWidth: this.table.tableNoFrameWidth,
47683
47732
  scrollDirection: "vertical",
47684
- scrollRatioY: yRatio
47733
+ scrollRatioY: yRatio,
47734
+ dy: dy
47735
+ }).some(value => !1 === value)) {
47736
+ const yRatio = this.scroll.verticalBarPos / (totalHeight - this.table.scenegraph.height);
47737
+ this.table.scenegraph.component.updateVerticalScrollBarPos(yRatio);
47738
+ } else this.scroll.verticalBarPos = verticalBarPos, this.table.scenegraph.setY(-this.scroll.verticalBarPos, 1 === yRatio), this.scroll.verticalBarPos -= this.table.scenegraph.proxy.deltaY, this.table.scenegraph.proxy.deltaY = 0, this.updateHoverPos(-1, -1), this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47739
+ event: void 0,
47740
+ scrollTop: this.scroll.verticalBarPos,
47741
+ scrollLeft: this.scroll.horizontalBarPos,
47742
+ scrollHeight: null === (_c = this.table.theme.scrollStyle) || void 0 === _c ? void 0 : _c.width,
47743
+ scrollWidth: null === (_d = this.table.theme.scrollStyle) || void 0 === _d ? void 0 : _d.width,
47744
+ viewHeight: this.table.tableNoFrameHeight,
47745
+ viewWidth: this.table.tableNoFrameWidth,
47746
+ scrollDirection: "vertical",
47747
+ scrollRatioY: yRatio,
47748
+ dy: dy
47685
47749
  }), oldVerticalBarPos !== this.scroll.verticalBarPos && this.checkVerticalScrollBarEnd();
47686
47750
  }
47687
47751
  updateHorizontalScrollBar(xRatio) {
47688
- var _a, _b;
47752
+ var _a, _b, _c, _d;
47689
47753
  const totalWidth = this.table.getAllColsWidth(),
47690
47754
  oldHorizontalBarPos = this.scroll.horizontalBarPos;
47691
- this.scroll.horizontalBarPos = Math.ceil(xRatio * (totalWidth - this.table.scenegraph.width)), isValid$3(this.scroll.horizontalBarPos) && !isNaN(this.scroll.horizontalBarPos) || (this.scroll.horizontalBarPos = 0), this.table.scenegraph.setX(-this.scroll.horizontalBarPos, 1 === xRatio), this.scroll.horizontalBarPos -= this.table.scenegraph.proxy.deltaX, this.table.scenegraph.proxy.deltaX = 0, this.updateHoverPos(-1, -1), this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47755
+ let horizontalBarPos = Math.ceil(xRatio * (totalWidth - this.table.scenegraph.width));
47756
+ isValid$3(horizontalBarPos) && !isNaN(horizontalBarPos) || (horizontalBarPos = 0);
47757
+ const dx = horizontalBarPos - this.table.scenegraph.proxy.deltaX - oldHorizontalBarPos;
47758
+ if (this.table.fireListeners(TABLE_EVENT_TYPE.CAN_SCROLL, {
47692
47759
  event: void 0,
47693
47760
  scrollTop: this.scroll.verticalBarPos,
47694
- scrollLeft: this.scroll.horizontalBarPos,
47761
+ scrollLeft: horizontalBarPos - this.table.scenegraph.proxy.deltaX,
47695
47762
  scrollHeight: null === (_a = this.table.theme.scrollStyle) || void 0 === _a ? void 0 : _a.width,
47696
47763
  scrollWidth: null === (_b = this.table.theme.scrollStyle) || void 0 === _b ? void 0 : _b.width,
47697
47764
  viewHeight: this.table.tableNoFrameHeight,
47698
47765
  viewWidth: this.table.tableNoFrameWidth,
47699
47766
  scrollDirection: "horizontal",
47700
- scrollRatioX: xRatio
47767
+ scrollRatioX: xRatio,
47768
+ dx: dx
47769
+ }).some(value => !1 === value)) {
47770
+ const xRatio = this.scroll.horizontalBarPos / (totalWidth - this.table.scenegraph.width);
47771
+ this.table.scenegraph.component.updateHorizontalScrollBarPos(xRatio);
47772
+ } else this.scroll.horizontalBarPos = horizontalBarPos, this.table.scenegraph.setX(-this.scroll.horizontalBarPos, 1 === xRatio), this.scroll.horizontalBarPos -= this.table.scenegraph.proxy.deltaX, this.table.scenegraph.proxy.deltaX = 0, this.updateHoverPos(-1, -1), this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47773
+ event: void 0,
47774
+ scrollTop: this.scroll.verticalBarPos,
47775
+ scrollLeft: this.scroll.horizontalBarPos,
47776
+ scrollHeight: null === (_c = this.table.theme.scrollStyle) || void 0 === _c ? void 0 : _c.width,
47777
+ scrollWidth: null === (_d = this.table.theme.scrollStyle) || void 0 === _d ? void 0 : _d.width,
47778
+ viewHeight: this.table.tableNoFrameHeight,
47779
+ viewWidth: this.table.tableNoFrameWidth,
47780
+ scrollDirection: "horizontal",
47781
+ scrollRatioX: xRatio,
47782
+ dx: dx
47701
47783
  }), oldHorizontalBarPos !== this.scroll.horizontalBarPos && this.checkHorizontalScrollBarEnd();
47702
47784
  }
47703
47785
  setScrollTop(top, event) {
47704
47786
  let triggerEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
47705
- var _a, _b, _c;
47787
+ var _a, _b, _c, _d, _e, _f, _g;
47706
47788
  const totalHeight = this.table.getAllRowsHeight(),
47707
47789
  sizeTolerance = (null === (_a = this.table.options.customConfig) || void 0 === _a ? void 0 : _a._disableColumnAndRowSizeRound) ? 1 : 0;
47708
- top = Math.max(0, Math.min(top, totalHeight - this.table.scenegraph.height - sizeTolerance)), ((top = Math.ceil(top)) !== this.scroll.verticalBarPos || this.table.isPivotChart()) && this.updateHoverPos(-1, -1);
47709
- const oldVerticalBarPos = this.scroll.verticalBarPos;
47710
- this.scroll.verticalBarPos = top, isValid$3(this.scroll.verticalBarPos) && !isNaN(this.scroll.verticalBarPos) || (this.scroll.verticalBarPos = 0), this.table.scenegraph.setY(-top);
47711
- const yRatio = top / (totalHeight - this.table.scenegraph.height);
47712
- this.table.scenegraph.component.updateVerticalScrollBarPos(yRatio), oldVerticalBarPos !== top && triggerEvent && (this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47790
+ top = Math.max(0, Math.min(top, totalHeight - this.table.scenegraph.height - sizeTolerance)), top = Math.ceil(top);
47791
+ const oldVerticalBarPos = this.scroll.verticalBarPos,
47792
+ yRatio = top / (totalHeight - this.table.scenegraph.height);
47793
+ if ((oldVerticalBarPos !== top || !0 === (null === (_c = null === (_b = this.table.options) || void 0 === _b ? void 0 : _b.customConfig) || void 0 === _c ? void 0 : _c.scrollEventAlwaysTrigger)) && triggerEvent) {
47794
+ let verticalBarPos = top;
47795
+ isValid$3(verticalBarPos) && !isNaN(verticalBarPos) || (verticalBarPos = 0);
47796
+ const dy = verticalBarPos - oldVerticalBarPos;
47797
+ if (this.table.fireListeners(TABLE_EVENT_TYPE.CAN_SCROLL, {
47798
+ event: null == event ? void 0 : event.nativeEvent,
47799
+ scrollTop: verticalBarPos,
47800
+ scrollLeft: this.scroll.horizontalBarPos,
47801
+ scrollHeight: null === (_d = this.table.theme.scrollStyle) || void 0 === _d ? void 0 : _d.width,
47802
+ scrollWidth: null === (_e = this.table.theme.scrollStyle) || void 0 === _e ? void 0 : _e.width,
47803
+ viewHeight: this.table.tableNoFrameHeight,
47804
+ viewWidth: this.table.tableNoFrameWidth,
47805
+ scrollDirection: "vertical",
47806
+ scrollRatioY: yRatio,
47807
+ dy: dy
47808
+ }).some(value => !1 === value)) {
47809
+ const yRatio = this.scroll.verticalBarPos / (totalHeight - this.table.scenegraph.height);
47810
+ return void this.table.scenegraph.component.updateVerticalScrollBarPos(yRatio);
47811
+ }
47812
+ }
47813
+ (top !== this.scroll.verticalBarPos || this.table.isPivotChart()) && this.updateHoverPos(-1, -1), this.scroll.verticalBarPos = top, isValid$3(this.scroll.verticalBarPos) && !isNaN(this.scroll.verticalBarPos) || (this.scroll.verticalBarPos = 0), this.table.scenegraph.setY(-top), this.table.scenegraph.component.updateVerticalScrollBarPos(yRatio);
47814
+ const dy = this.scroll.verticalBarPos - oldVerticalBarPos;
47815
+ this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47713
47816
  event: null == event ? void 0 : event.nativeEvent,
47714
47817
  scrollTop: this.scroll.verticalBarPos,
47715
47818
  scrollLeft: this.scroll.horizontalBarPos,
47716
- scrollHeight: null === (_b = this.table.theme.scrollStyle) || void 0 === _b ? void 0 : _b.width,
47717
- scrollWidth: null === (_c = this.table.theme.scrollStyle) || void 0 === _c ? void 0 : _c.width,
47819
+ scrollHeight: null === (_f = this.table.theme.scrollStyle) || void 0 === _f ? void 0 : _f.width,
47820
+ scrollWidth: null === (_g = this.table.theme.scrollStyle) || void 0 === _g ? void 0 : _g.width,
47718
47821
  viewHeight: this.table.tableNoFrameHeight,
47719
47822
  viewWidth: this.table.tableNoFrameWidth,
47720
47823
  scrollDirection: "vertical",
47721
- scrollRatioY: yRatio
47722
- }), this.checkVerticalScrollBarEnd());
47824
+ scrollRatioY: yRatio,
47825
+ dy: dy
47826
+ }), oldVerticalBarPos !== top && triggerEvent && this.checkVerticalScrollBarEnd();
47723
47827
  }
47724
47828
  setScrollLeft(left, event) {
47725
47829
  let triggerEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
47726
- var _a, _b, _c;
47830
+ var _a, _b, _c, _d, _e, _f, _g;
47727
47831
  this.table.scrollLeft;
47728
47832
  const totalWidth = this.table.getAllColsWidth(),
47729
47833
  sizeTolerance = (this.table.getFrozenColsWidth(), (null === (_a = this.table.options.customConfig) || void 0 === _a ? void 0 : _a._disableColumnAndRowSizeRound) ? 1 : 0);
47730
- left = Math.max(0, Math.min(left, totalWidth - this.table.scenegraph.width - sizeTolerance)), (left = Math.ceil(left)) !== this.scroll.horizontalBarPos && this.updateHoverPos(-1, -1);
47731
- const oldHorizontalBarPos = this.scroll.horizontalBarPos;
47732
- this.scroll.horizontalBarPos = left, isValid$3(this.scroll.horizontalBarPos) && !isNaN(this.scroll.horizontalBarPos) || (this.scroll.horizontalBarPos = 0), this.table.scenegraph.setX(-left);
47733
- const xRatio = left / (totalWidth - this.table.scenegraph.width);
47734
- this.table.scenegraph.component.updateHorizontalScrollBarPos(xRatio), oldHorizontalBarPos !== left && triggerEvent && (this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47834
+ left = Math.max(0, Math.min(left, totalWidth - this.table.scenegraph.width - sizeTolerance)), left = Math.ceil(left);
47835
+ const oldHorizontalBarPos = this.scroll.horizontalBarPos,
47836
+ xRatio = left / (totalWidth - this.table.scenegraph.width);
47837
+ if ((oldHorizontalBarPos !== left || !0 === (null === (_c = null === (_b = this.table.options) || void 0 === _b ? void 0 : _b.customConfig) || void 0 === _c ? void 0 : _c.scrollEventAlwaysTrigger)) && triggerEvent) {
47838
+ let horizontalBarPos = left;
47839
+ isValid$3(horizontalBarPos) && !isNaN(horizontalBarPos) || (horizontalBarPos = 0);
47840
+ const dx = horizontalBarPos - oldHorizontalBarPos;
47841
+ if (this.table.fireListeners(TABLE_EVENT_TYPE.CAN_SCROLL, {
47842
+ event: null == event ? void 0 : event.nativeEvent,
47843
+ scrollTop: this.scroll.verticalBarPos,
47844
+ scrollLeft: horizontalBarPos,
47845
+ scrollHeight: null === (_d = this.table.theme.scrollStyle) || void 0 === _d ? void 0 : _d.width,
47846
+ scrollWidth: null === (_e = this.table.theme.scrollStyle) || void 0 === _e ? void 0 : _e.width,
47847
+ viewHeight: this.table.tableNoFrameHeight,
47848
+ viewWidth: this.table.tableNoFrameWidth,
47849
+ scrollDirection: "horizontal",
47850
+ scrollRatioX: xRatio,
47851
+ dx: dx
47852
+ }).some(value => !1 === value)) {
47853
+ const xRatio = this.scroll.horizontalBarPos / (totalWidth - this.table.scenegraph.width);
47854
+ return void this.table.scenegraph.component.updateHorizontalScrollBarPos(xRatio);
47855
+ }
47856
+ }
47857
+ left !== this.scroll.horizontalBarPos && this.updateHoverPos(-1, -1), this.scroll.horizontalBarPos = left, isValid$3(this.scroll.horizontalBarPos) && !isNaN(this.scroll.horizontalBarPos) || (this.scroll.horizontalBarPos = 0), this.table.scenegraph.setX(-left), this.table.scenegraph.component.updateHorizontalScrollBarPos(xRatio);
47858
+ const dx = this.scroll.horizontalBarPos - oldHorizontalBarPos;
47859
+ this.table.fireListeners(TABLE_EVENT_TYPE.SCROLL, {
47735
47860
  event: null == event ? void 0 : event.nativeEvent,
47736
47861
  scrollTop: this.scroll.verticalBarPos,
47737
47862
  scrollLeft: this.scroll.horizontalBarPos,
47738
- scrollHeight: null === (_b = this.table.theme.scrollStyle) || void 0 === _b ? void 0 : _b.width,
47739
- scrollWidth: null === (_c = this.table.theme.scrollStyle) || void 0 === _c ? void 0 : _c.width,
47863
+ scrollHeight: null === (_f = this.table.theme.scrollStyle) || void 0 === _f ? void 0 : _f.width,
47864
+ scrollWidth: null === (_g = this.table.theme.scrollStyle) || void 0 === _g ? void 0 : _g.width,
47740
47865
  viewHeight: this.table.tableNoFrameHeight,
47741
47866
  viewWidth: this.table.tableNoFrameWidth,
47742
47867
  scrollDirection: "horizontal",
47743
- scrollRatioX: xRatio
47744
- }), this.checkHorizontalScrollBarEnd());
47868
+ scrollRatioX: xRatio,
47869
+ dx: dx
47870
+ }), oldHorizontalBarPos !== left && triggerEvent && this.checkHorizontalScrollBarEnd();
47745
47871
  }
47746
47872
  hideVerticalScrollBar() {
47747
47873
  this.table.scenegraph.component.hideVerticalScrollBar();
@@ -48374,7 +48500,7 @@
48374
48500
  callback: globalPointerdownCallback
48375
48501
  }), vglobal.addEventListener("pointerup", globalPointerupCallback), vglobal.addEventListener("pointerdown", globalPointerdownCallback), table.scenegraph.tableGroup.addEventListener("pointerdown", e => {
48376
48502
  var _a, _b, _c, _d, _e;
48377
- table.hasListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE) && table.fireListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE, {
48503
+ if (table.hasListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE) && table.fireListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE, {
48378
48504
  event: e.nativeEvent
48379
48505
  }), table.eventManager.isDown = !0, table.eventManager.LastBodyPointerXY = {
48380
48506
  x: e.x,
@@ -48382,7 +48508,7 @@
48382
48508
  }, table.eventManager.LastPointerXY = {
48383
48509
  x: e.x,
48384
48510
  y: e.y
48385
- };
48511
+ }, 0 !== e.button) return;
48386
48512
  const eventArgsSet = getCellEventArgsSet(e);
48387
48513
  if (eventManager.downIcon = void 0, stateManager.interactionState !== InteractionState.default) return;
48388
48514
  if (table.isPivotChart() && "chart" !== (null === (_a = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _a ? void 0 : _a.target.type) && table.scenegraph.updateChartState(null), (null === (_b = eventArgsSet.eventArgs) || void 0 === _b ? void 0 : _b.target) !== (null === (_c = stateManager.residentHoverIcon) || void 0 === _c ? void 0 : _c.icon) && stateManager.hideMenu(), "chart" === (null === (_d = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _d ? void 0 : _d.target.type)) return;
@@ -48958,7 +49084,7 @@
48958
49084
  }
48959
49085
  }), handler.on(table.getElement(), "contextmenu", e => {
48960
49086
  var _a;
48961
- !1 !== (null === (_a = table.eventOptions) || void 0 === _a ? void 0 : _a.preventDefaultContextMenu) && e.preventDefault();
49087
+ !1 !== (null === (_a = table.eventOptions) || void 0 === _a ? void 0 : _a.preventDefaultContextMenu) ? e.preventDefault() : globalPointerupCallback(e);
48962
49088
  }), table.options.canvas || handler.on(table.getContainer(), "resize", e => {
48963
49089
  var _a;
48964
49090
  table.isReleased || 0 === e.width && 0 === e.height || ((table.autoFillWidth || table.autoFillHeight) && (null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit()), isValid$3(table.options.pixelRatio) || table.setPixelRatio(getPixelRatio$1()), e.windowSizeNotChange || table.resize());
@@ -49389,6 +49515,75 @@
49389
49515
  });
49390
49516
  }
49391
49517
 
49518
+ function bindIconClickEvent(table) {
49519
+ table.on(TABLE_EVENT_TYPE.ICON_CLICK, iconInfo => {
49520
+ var _a;
49521
+ const {
49522
+ col: col,
49523
+ row: row,
49524
+ x: x,
49525
+ y: y,
49526
+ funcType: funcType,
49527
+ icon: icon,
49528
+ event: event
49529
+ } = iconInfo,
49530
+ {
49531
+ stateManager: stateManager
49532
+ } = table;
49533
+ if (funcType === IconFuncTypeEnum.dropDown) stateManager.triggerDropDownMenu(col, row, x, y, event);else if (funcType === IconFuncTypeEnum.sort) stateManager.triggerSort(col, row, icon, event);else if (funcType === IconFuncTypeEnum.frozen) stateManager.triggerFreeze(col, row, icon);else if (funcType === IconFuncTypeEnum.drillDown) drillClick(table);else if (funcType === IconFuncTypeEnum.collapse || funcType === IconFuncTypeEnum.expand) {
49534
+ const isHasSelected = !!(null === (_a = stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
49535
+ stateManager.updateSelectPos(-1, -1), stateManager.endSelectCells(!0, isHasSelected), table.toggleHierarchyState(col, row);
49536
+ }
49537
+ });
49538
+ }
49539
+
49540
+ function bindDropdownMenuClickEvent(table) {
49541
+ table.on(TABLE_EVENT_TYPE.DROPDOWN_MENU_CLICK, () => {
49542
+ table.stateManager.hideMenu();
49543
+ });
49544
+ }
49545
+
49546
+ function bindDBClickAutoColumnWidthEvent(table) {
49547
+ table.on(TABLE_EVENT_TYPE.DBLCLICK_CELL, e => {
49548
+ var _a, _b, _c;
49549
+ if (e.federatedEvent) {
49550
+ const eventArgsSet = getCellEventArgsSet(e.federatedEvent),
49551
+ resizeCol = table.scenegraph.getResizeColAt(eventArgsSet.abstractPos.x, eventArgsSet.abstractPos.y, null === (_a = eventArgsSet.eventArgs) || void 0 === _a ? void 0 : _a.targetCell),
49552
+ disableDblclickAutoResizeColWidth = null !== (_b = table.options.disableDblclickAutoResizeColWidth) && void 0 !== _b ? _b : null === (_c = table.options.resize) || void 0 === _c ? void 0 : _c.disableDblclickAutoResizeColWidth;
49553
+ if (table.eventManager.checkCellFillhandle(eventArgsSet)) table.fireListeners(TABLE_EVENT_TYPE.DBLCLICK_FILL_HANDLE, {});else if (table._canResizeColumn(resizeCol.col, resizeCol.row) && resizeCol.col >= 0 && !disableDblclickAutoResizeColWidth) {
49554
+ table.scenegraph.updateAutoColWidth(resizeCol.col), table.internalProps._widthResizedColMap.add(resizeCol.col), table.scenegraph.updateChartSizeForResizeColWidth(resizeCol.col);
49555
+ const state = table.stateManager;
49556
+ state.columnResize.col < state.table.frozenColCount && !state.table.isPivotTable() && !state.table.transpose && state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1, state.columnResize.isRightFrozen);
49557
+ const colWidths = [];
49558
+ for (let col = 0; col < table.colCount; col++) colWidths.push(table.getColWidth(col));
49559
+ table.fireListeners(TABLE_EVENT_TYPE.RESIZE_COLUMN_END, {
49560
+ col: resizeCol.col,
49561
+ colWidths: colWidths
49562
+ });
49563
+ }
49564
+ }
49565
+ });
49566
+ }
49567
+
49568
+ function rightButtonClickEvent(table) {
49569
+ table.on(TABLE_EVENT_TYPE.CONTEXTMENU_CELL, e => {
49570
+ const {
49571
+ col: col,
49572
+ row: row
49573
+ } = e,
49574
+ ranges = table.getSelectedCellRanges();
49575
+ let cellInRange = !1;
49576
+ if (ranges.length > 0) for (let i = 0; i < ranges.length; i++) {
49577
+ const range = ranges[i];
49578
+ if (col >= range.start.col && col <= range.end.col && row >= range.start.row && row <= range.end.row) {
49579
+ cellInRange = !0;
49580
+ break;
49581
+ }
49582
+ }
49583
+ cellInRange || table.selectCell(col, row);
49584
+ });
49585
+ }
49586
+
49392
49587
  let EventManager$1 = class EventManager {
49393
49588
  constructor(table) {
49394
49589
  this.isDown = !1, this.isDraging = !1, this.globalEventListeners = [], this._enableTableScroll = !0, this.table = table, this.handleTextStickBindId = [], this.inertiaScroll = new InertiaScroll(table.stateManager), "node" === Env.mode || table.options.disableInteraction || (this.bindOuterEvent(), setTimeout(() => {
@@ -49413,44 +49608,7 @@
49413
49608
  }, 0);
49414
49609
  }
49415
49610
  bindSelfEvent() {
49416
- if (this.table.isReleased) return;
49417
- const stateManager = this.table.stateManager;
49418
- this.table.on(TABLE_EVENT_TYPE.ICON_CLICK, iconInfo => {
49419
- var _a;
49420
- const {
49421
- col: col,
49422
- row: row,
49423
- x: x,
49424
- y: y,
49425
- funcType: funcType,
49426
- icon: icon,
49427
- event: event
49428
- } = iconInfo;
49429
- if (funcType === IconFuncTypeEnum.dropDown) stateManager.triggerDropDownMenu(col, row, x, y, event);else if (funcType === IconFuncTypeEnum.sort) stateManager.triggerSort(col, row, icon, event);else if (funcType === IconFuncTypeEnum.frozen) stateManager.triggerFreeze(col, row, icon);else if (funcType === IconFuncTypeEnum.drillDown) drillClick(this.table);else if (funcType === IconFuncTypeEnum.collapse || funcType === IconFuncTypeEnum.expand) {
49430
- const isHasSelected = !!(null === (_a = stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
49431
- stateManager.updateSelectPos(-1, -1), stateManager.endSelectCells(!0, isHasSelected), this.table.toggleHierarchyState(col, row);
49432
- }
49433
- }), this.table.on(TABLE_EVENT_TYPE.DROPDOWN_MENU_CLICK, () => {
49434
- stateManager.hideMenu();
49435
- }), this.updateEventBinder(), bindMediaClick(this.table), this.table.on(TABLE_EVENT_TYPE.DBLCLICK_CELL, e => {
49436
- var _a, _b, _c;
49437
- if (e.federatedEvent) {
49438
- const eventArgsSet = getCellEventArgsSet(e.federatedEvent),
49439
- resizeCol = this.table.scenegraph.getResizeColAt(eventArgsSet.abstractPos.x, eventArgsSet.abstractPos.y, null === (_a = eventArgsSet.eventArgs) || void 0 === _a ? void 0 : _a.targetCell),
49440
- disableDblclickAutoResizeColWidth = null !== (_b = this.table.options.disableDblclickAutoResizeColWidth) && void 0 !== _b ? _b : null === (_c = this.table.options.resize) || void 0 === _c ? void 0 : _c.disableDblclickAutoResizeColWidth;
49441
- if (this.table.eventManager.checkCellFillhandle(eventArgsSet)) this.table.fireListeners(TABLE_EVENT_TYPE.DBLCLICK_FILL_HANDLE, {});else if (this.table._canResizeColumn(resizeCol.col, resizeCol.row) && resizeCol.col >= 0 && !disableDblclickAutoResizeColWidth) {
49442
- this.table.scenegraph.updateAutoColWidth(resizeCol.col), this.table.internalProps._widthResizedColMap.add(resizeCol.col), this.table.scenegraph.updateChartSizeForResizeColWidth(resizeCol.col);
49443
- const state = this.table.stateManager;
49444
- state.columnResize.col < state.table.frozenColCount && !state.table.isPivotTable() && !state.table.transpose && state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1, state.columnResize.isRightFrozen);
49445
- const colWidths = [];
49446
- for (let col = 0; col < this.table.colCount; col++) colWidths.push(this.table.getColWidth(col));
49447
- this.table.fireListeners(TABLE_EVENT_TYPE.RESIZE_COLUMN_END, {
49448
- col: resizeCol.col,
49449
- colWidths: colWidths
49450
- });
49451
- }
49452
- }
49453
- }), this.table.isPivotTable() && checkHaveDrill(this.table) && bindDrillEvent(this.table), bindSparklineHoverEvent(this.table), bindAxisClickEvent(this.table), bindAxisHoverEvent(this.table), bindGroupTitleCheckboxChange(this.table), bindButtonClickEvent(this.table);
49611
+ this.table.isReleased || (bindIconClickEvent(this.table), bindDropdownMenuClickEvent(this.table), this.updateEventBinder(), bindMediaClick(this.table), bindDBClickAutoColumnWidthEvent(this.table), this.table.isPivotTable() && checkHaveDrill(this.table) && bindDrillEvent(this.table), bindSparklineHoverEvent(this.table), bindAxisClickEvent(this.table), bindAxisHoverEvent(this.table), bindGroupTitleCheckboxChange(this.table), bindButtonClickEvent(this.table), rightButtonClickEvent(this.table));
49454
49612
  }
49455
49613
  dealTableHover(eventArgsSet) {
49456
49614
  if (!eventArgsSet) return void this.table.stateManager.updateHoverPos(-1, -1);
@@ -51902,15 +52060,14 @@
51902
52060
  } = getAxisOption(col, row, position, layout),
51903
52061
  range = getAxisRange(layout.dataset.collectedValues, indicatorKeys, isZeroAlign, path, null != seriesIndice ? seriesIndice : index);
51904
52062
  if (!range) return;
51905
- let ticks;
51906
- if (isPercent && (range.min = range.min < 0 ? -1 : 0, range.max = range.max > 0 ? 1 : 0), ((null == axisOption ? void 0 : axisOption.zero) || range.min === range.max) && (range.min = Math.min(range.min, 0), range.max = Math.max(range.max, 0)), (null == axisOption ? void 0 : axisOption.nice) || isTickAlign) {
51907
- const getAxisDomainRangeAndLabels = Factory.getFunction("getAxisDomainRangeAndLabels"),
51908
- {
51909
- range: axisRange,
51910
- ticks: selfTicks
51911
- } = getAxisDomainRangeAndLabels(range.min, range.max, axisOption, isZeroAlign, "bottom" === position || "top" === position ? layout._table.getColWidth(col) || layout._table.tableNoFrameWidth : layout._table.getRowHeight(row) || layout._table.tableNoFrameHeight);
51912
- (null == axisOption ? void 0 : axisOption.nice) && (range.min = axisRange[0], range.max = axisRange[1]), ticks = selfTicks;
51913
- }
52063
+ isPercent && (range.min = range.min < 0 ? -1 : 0, range.max = range.max > 0 ? 1 : 0), ((null == axisOption ? void 0 : axisOption.zero) || range.min === range.max) && (range.min = Math.min(range.min, 0), range.max = Math.max(range.max, 0));
52064
+ const getAxisDomainRangeAndLabels = Factory.getFunction("getAxisDomainRangeAndLabels"),
52065
+ {
52066
+ range: axisRange,
52067
+ ticks: selfTicks
52068
+ } = getAxisDomainRangeAndLabels(range.min, range.max, axisOption, isZeroAlign, "bottom" === position || "top" === position ? layout._table.getColWidth(col) || layout._table.tableNoFrameWidth : layout._table.getRowHeight(row) || layout._table.tableNoFrameHeight);
52069
+ (null == axisOption ? void 0 : axisOption.nice) && (range.min = axisRange[0], range.max = axisRange[1]);
52070
+ const ticks = selfTicks;
51914
52071
  return isNumber$4(null == axisOption ? void 0 : axisOption.min) && (range.min = axisOption.min), isNumber$4(null == axisOption ? void 0 : axisOption.max) && (range.max = axisOption.max), {
51915
52072
  index: null != seriesIndice ? seriesIndice : index,
51916
52073
  range: range,
@@ -52202,7 +52359,7 @@
52202
52359
  constructor(container) {
52203
52360
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
52204
52361
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
52205
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.11", 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");
52362
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.13", 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");
52206
52363
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
52207
52364
  const {
52208
52365
  frozenColCount = 0,
@@ -52250,7 +52407,7 @@
52250
52407
  right: 0,
52251
52408
  left: 0,
52252
52409
  bottom: 0
52253
- }, padding && ("number" == typeof padding ? (this.padding.top = padding, this.padding.left = padding, this.padding.bottom = padding, this.padding.right = padding) : (padding.top && (this.padding.top = padding.top), padding.bottom && (this.padding.bottom = padding.bottom), padding.left && (this.padding.left = padding.left), padding.right && (this.padding.right = padding.right))), isValid$3(canvasHeight) && isValid$3(canvasWidth) && (this.canvasSizeSeted = !0), this.tableNoFrameWidth = 0, this.tableNoFrameHeight = 0, this.canvasWidth = isNumber$4(canvasWidth) ? canvasWidth : void 0, this.canvasHeight = isNumber$4(canvasHeight) ? canvasHeight : void 0, this.columnWidthComputeMode = null !== (_b = options.columnWidthComputeMode) && void 0 !== _b ? _b : "normal";
52410
+ }, padding && ("number" == typeof padding ? (this.padding.top = padding, this.padding.left = padding, this.padding.bottom = padding, this.padding.right = padding) : (padding.top && (this.padding.top = padding.top), padding.bottom && (this.padding.bottom = padding.bottom), padding.left && (this.padding.left = padding.left), padding.right && (this.padding.right = padding.right))), (isValid$3(canvasHeight) || isValid$3(canvasWidth)) && (this.canvasSizeSeted = !0), this.tableNoFrameWidth = 0, this.tableNoFrameHeight = 0, this.canvasWidth = isNumber$4(canvasWidth) ? canvasWidth : void 0, this.canvasHeight = isNumber$4(canvasHeight) ? canvasHeight : void 0, this.columnWidthComputeMode = null !== (_b = options.columnWidthComputeMode) && void 0 !== _b ? _b : "normal";
52254
52411
  const internalProps = this.internalProps = {};
52255
52412
  void 0 !== showFrozenIcon && (this.showFrozenIcon = showFrozenIcon), "number" == typeof allowFrozenColCount && allowFrozenColCount <= 0 && (this.showFrozenIcon = !1), this.options.canvas ? ("node" !== Env.mode && (internalProps.element = this.options.canvas.parentElement, internalProps.element.style.position = "relative"), internalProps.focusControl = new FocusInput(this, internalProps.element), internalProps.canvas = this.options.canvas, internalProps.context = internalProps.canvas.getContext("2d")) : "node" !== Env.mode && (internalProps.element = createRootElement$1(this.padding), internalProps.focusControl = new FocusInput(this, internalProps.element), internalProps.canvas = document.createElement("canvas"), internalProps.element.appendChild(internalProps.canvas), internalProps.context = internalProps.canvas.getContext("2d"), (null === (_c = options.customConfig) || void 0 === _c ? void 0 : _c.createReactContainer) && createReactContainer(this)), internalProps.handler = new EventHandler$1(), isNumber$4(this.options.resizeTime) && (internalProps.handler.resizeTime = this.options.resizeTime), internalProps.pixelRatio = pixelRatio, internalProps.frozenColCount = frozenColCount, internalProps.frozenRowCount = frozenRowCount, 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 !== (_d = null == resize ? void 0 : resize.columnResizeMode) && void 0 !== _d ? _d : columnResizeMode, internalProps.rowResizeMode = null !== (_e = null == resize ? void 0 : resize.rowResizeMode) && void 0 !== _e ? _e : rowResizeMode, internalProps.dragHeaderMode = null !== (_g = null !== (_f = null == dragOrder ? void 0 : dragOrder.dragHeaderMode) && void 0 !== _f ? _f : dragHeaderMode) && void 0 !== _g ? _g : "none", internalProps.renderChartAsync = renderChartAsync, setBatchRenderChartCount(renderChartAsyncBatchCount), internalProps.overscrollBehavior = null != overscrollBehavior ? overscrollBehavior : "auto", 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 = {};
52256
52413
  const that = this;
@@ -52557,7 +52714,7 @@
52557
52714
  }
52558
52715
  }
52559
52716
  _updateSize() {
52560
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
52717
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
52561
52718
  const {
52562
52719
  padding: padding
52563
52720
  } = this;
@@ -52567,28 +52724,31 @@
52567
52724
  const element = this.getElement();
52568
52725
  let widthWithoutPadding = 0,
52569
52726
  heightWithoutPadding = 0;
52570
- if (this.canvasSizeSeted) widthWithoutPadding = this.canvasWidth, heightWithoutPadding = this.canvasHeight;else if (element.parentElement) {
52727
+ const isDefWidth = isValid$3(this.canvasWidth),
52728
+ isDefHeight = isValid$3(this.canvasHeight);
52729
+ this.canvasSizeSeted && (isDefWidth && (widthWithoutPadding = this.canvasWidth), isDefHeight && (heightWithoutPadding = this.canvasHeight));
52730
+ if ((!isDefWidth || !isDefHeight) && element.parentElement) {
52571
52731
  const computedStyle = element.parentElement.style || window.getComputedStyle(element.parentElement);
52572
- widthWithoutPadding = element.parentElement.offsetWidth - parseInt(computedStyle.paddingLeft || "0px", 10) - parseInt(computedStyle.paddingRight || "0px", 10), heightWithoutPadding = element.parentElement.offsetHeight - parseInt(computedStyle.paddingTop || "0px", 10) - parseInt(computedStyle.paddingBottom || "0px", 20), widthWithoutPadding = (null != widthWithoutPadding ? widthWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), heightWithoutPadding = (null != heightWithoutPadding ? heightWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0);
52732
+ isDefWidth || (widthWithoutPadding = element.parentElement.offsetWidth - (parseInt(computedStyle.paddingLeft, 10) || 0) - (parseInt(computedStyle.paddingRight, 10) || 0)), isDefHeight || (heightWithoutPadding = element.parentElement.offsetHeight - parseInt(computedStyle.paddingTop || "0px", 10) - parseInt(computedStyle.paddingBottom || "0px", 20)), widthWithoutPadding = (null != widthWithoutPadding ? widthWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), heightWithoutPadding = (null != heightWithoutPadding ? heightWithoutPadding : 1) - (this.options.tableSizeAntiJitter ? 1 : 0);
52573
52733
  }
52574
52734
  element.style.width = widthWithoutPadding && widthWithoutPadding - padding.left - padding.right + "px" || "0px", element.style.height = heightWithoutPadding && heightWithoutPadding - padding.top - padding.bottom + "px" || "0px";
52575
52735
  const {
52576
52736
  canvas: canvas
52577
52737
  } = this.internalProps;
52578
- widthP = (null !== (_c = null === (_b = canvas.parentElement) || void 0 === _b ? void 0 : _b.offsetWidth) && void 0 !== _c ? _c : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), heightP = (null !== (_e = null === (_d = canvas.parentElement) || void 0 === _d ? void 0 : _d.offsetHeight) && void 0 !== _e ? _e : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), (null === (_f = null == this ? void 0 : this.scenegraph) || void 0 === _f ? void 0 : _f.stage) ? this.scenegraph.stage.resize(widthP, heightP) : (canvas.style.width = "", canvas.style.height = "", canvas.width = widthP, canvas.height = heightP, canvas.style.width = `${widthP}px`, canvas.style.height = `${heightP}px`);
52738
+ widthP = (null !== (_c = null === (_b = canvas.parentElement) || void 0 === _b ? void 0 : _b.offsetWidth) && void 0 !== _c ? _c : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), heightP = (null !== (_e = null === (_d = canvas.parentElement) || void 0 === _d ? void 0 : _d.offsetHeight) && void 0 !== _e ? _e : 1) - (this.options.tableSizeAntiJitter ? 1 : 0), (null === (_f = null == this ? void 0 : this.scenegraph) || void 0 === _f ? void 0 : _f.stage) ? (null === (_g = this.options) || void 0 === _g ? void 0 : _g.viewBox) && !(null === (_h = this.options) || void 0 === _h ? void 0 : _h.canvas) && this.scenegraph.stage.resize(widthP, heightP) : (canvas.style.width = "", canvas.style.height = "", canvas.width = widthP, canvas.height = heightP, canvas.style.width = `${widthP}px`, canvas.style.height = `${heightP}px`), (null === (_j = this.options) || void 0 === _j ? void 0 : _j.viewBox) && (widthP = this.options.viewBox.x2 - this.options.viewBox.x1, heightP = this.options.viewBox.y2 - this.options.viewBox.y1), (null === (_k = null == this ? void 0 : this.scenegraph) || void 0 === _k ? void 0 : _k.stage) && (this.options.viewBox ? this.scenegraph.stage.setViewBox(this.options.viewBox, !1) : this.scenegraph.stage.resize(widthP, heightP));
52579
52739
  } else "node" === Env.mode && (widthP = this.canvasWidth - 1, heightP = this.canvasHeight - 1);
52580
52740
  const width = Math.floor(widthP - getVerticalScrollBarSize(this.getTheme().scrollStyle)),
52581
52741
  height = Math.floor(heightP - getHorizontalScrollBarSize(this.getTheme().scrollStyle));
52582
- if (null === (_g = this.internalProps.theme) || void 0 === _g ? void 0 : _g.frameStyle) {
52583
- const lineWidths = toBoxArray(null !== (_j = null === (_h = this.internalProps.theme.frameStyle) || void 0 === _h ? void 0 : _h.borderLineWidth) && void 0 !== _j ? _j : [null]),
52584
- shadowWidths = toBoxArray(null !== (_l = null === (_k = this.internalProps.theme.frameStyle) || void 0 === _k ? void 0 : _k.shadowBlur) && void 0 !== _l ? _l : [0]);
52585
- (null === (_m = this.theme.frameStyle) || void 0 === _m ? void 0 : _m.innerBorder) ? (this.tableX = 0, this.tableY = 0, this.tableNoFrameWidth = width - (null !== (_o = shadowWidths[1]) && void 0 !== _o ? _o : 0), this.tableNoFrameHeight = height - (null !== (_p = shadowWidths[2]) && void 0 !== _p ? _p : 0)) : (this.tableX = (null !== (_q = lineWidths[3]) && void 0 !== _q ? _q : 0) + (null !== (_r = shadowWidths[3]) && void 0 !== _r ? _r : 0), this.tableY = (null !== (_s = lineWidths[0]) && void 0 !== _s ? _s : 0) + (null !== (_t = shadowWidths[0]) && void 0 !== _t ? _t : 0), this.tableNoFrameWidth = width - ((null !== (_u = lineWidths[1]) && void 0 !== _u ? _u : 0) + (null !== (_v = shadowWidths[1]) && void 0 !== _v ? _v : 0)) - ((null !== (_w = lineWidths[3]) && void 0 !== _w ? _w : 0) + (null !== (_x = shadowWidths[3]) && void 0 !== _x ? _x : 0)), this.tableNoFrameHeight = height - ((null !== (_y = lineWidths[0]) && void 0 !== _y ? _y : 0) + (null !== (_z = shadowWidths[0]) && void 0 !== _z ? _z : 0)) - ((null !== (_0 = lineWidths[2]) && void 0 !== _0 ? _0 : 0) + (null !== (_1 = shadowWidths[2]) && void 0 !== _1 ? _1 : 0)));
52742
+ if (null === (_l = this.internalProps.theme) || void 0 === _l ? void 0 : _l.frameStyle) {
52743
+ const lineWidths = toBoxArray(null !== (_o = null === (_m = this.internalProps.theme.frameStyle) || void 0 === _m ? void 0 : _m.borderLineWidth) && void 0 !== _o ? _o : [null]),
52744
+ shadowWidths = toBoxArray(null !== (_q = null === (_p = this.internalProps.theme.frameStyle) || void 0 === _p ? void 0 : _p.shadowBlur) && void 0 !== _q ? _q : [0]);
52745
+ (null === (_r = this.theme.frameStyle) || void 0 === _r ? void 0 : _r.innerBorder) ? (this.tableX = 0, this.tableY = 0, this.tableNoFrameWidth = width - (null !== (_s = shadowWidths[1]) && void 0 !== _s ? _s : 0), this.tableNoFrameHeight = height - (null !== (_t = shadowWidths[2]) && void 0 !== _t ? _t : 0)) : (this.tableX = (null !== (_u = lineWidths[3]) && void 0 !== _u ? _u : 0) + (null !== (_v = shadowWidths[3]) && void 0 !== _v ? _v : 0), this.tableY = (null !== (_w = lineWidths[0]) && void 0 !== _w ? _w : 0) + (null !== (_x = shadowWidths[0]) && void 0 !== _x ? _x : 0), this.tableNoFrameWidth = width - ((null !== (_y = lineWidths[1]) && void 0 !== _y ? _y : 0) + (null !== (_z = shadowWidths[1]) && void 0 !== _z ? _z : 0)) - ((null !== (_0 = lineWidths[3]) && void 0 !== _0 ? _0 : 0) + (null !== (_1 = shadowWidths[3]) && void 0 !== _1 ? _1 : 0)), this.tableNoFrameHeight = height - ((null !== (_2 = lineWidths[0]) && void 0 !== _2 ? _2 : 0) + (null !== (_3 = shadowWidths[0]) && void 0 !== _3 ? _3 : 0)) - ((null !== (_4 = lineWidths[2]) && void 0 !== _4 ? _4 : 0) + (null !== (_5 = shadowWidths[2]) && void 0 !== _5 ? _5 : 0)));
52586
52746
  }
52587
52747
  }
52588
52748
  updateViewBox(newViewBox) {
52589
- var _a, _b, _c, _d, _e, _f, _g, _h;
52590
- const oldWidth = null !== (_d = null !== (_b = null === (_a = this.options) || void 0 === _a ? void 0 : _a.viewBox.x2) && void 0 !== _b ? _b : 0 - (null === (_c = this.options) || void 0 === _c ? void 0 : _c.viewBox.x1)) && void 0 !== _d ? _d : 0,
52591
- oldHeight = null !== (_h = null !== (_f = null === (_e = this.options) || void 0 === _e ? void 0 : _e.viewBox.y2) && void 0 !== _f ? _f : 0 - (null === (_g = this.options) || void 0 === _g ? void 0 : _g.viewBox.y1)) && void 0 !== _h ? _h : 0,
52749
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
52750
+ const oldWidth = (null !== (_c = null === (_b = null === (_a = this.options) || void 0 === _a ? void 0 : _a.viewBox) || void 0 === _b ? void 0 : _b.x2) && void 0 !== _c ? _c : 0) - (null !== (_f = null === (_e = null === (_d = this.options) || void 0 === _d ? void 0 : _d.viewBox) || void 0 === _e ? void 0 : _e.x1) && void 0 !== _f ? _f : 0),
52751
+ oldHeight = (null !== (_j = null === (_h = null === (_g = this.options) || void 0 === _g ? void 0 : _g.viewBox) || void 0 === _h ? void 0 : _h.y2) && void 0 !== _j ? _j : 0) - (null !== (_m = null === (_l = null === (_k = this.options) || void 0 === _k ? void 0 : _k.viewBox) || void 0 === _l ? void 0 : _l.y1) && void 0 !== _m ? _m : 0),
52592
52752
  newWidth = newViewBox.x2 - newViewBox.x1,
52593
52753
  newHeight = newViewBox.y2 - newViewBox.y1;
52594
52754
  this.options.viewBox = newViewBox, oldWidth !== newWidth || oldHeight !== newHeight ? this.resize() : this.scenegraph.stage.setViewBox(this.options.viewBox, !0);
@@ -52678,7 +52838,7 @@
52678
52838
  return this._adjustColWidth(col, this._colWidthDefineToPxWidth(width));
52679
52839
  }
52680
52840
  isAutoRowHeight(row) {
52681
- return "autoHeight" === this.heightMode || !!this.options.customComputeRowHeight || row >= 0 && row < this.columnHeaderLevelCount && "auto" === this.getDefaultRowHeight(row);
52841
+ return "autoHeight" === this.heightMode || !!this.options.customComputeRowHeight || (row >= 0 && row < this.columnHeaderLevelCount ? "auto" === this.getDefaultRowHeight(row) : "auto" === this.internalProps.defaultRowHeight);
52682
52842
  }
52683
52843
  getColWidth(col) {
52684
52844
  var _a;
@@ -53328,7 +53488,18 @@
53328
53488
  var _a;
53329
53489
  if (this.internalProps.customMergeCell) {
53330
53490
  const customMerge = this.internalProps.customMergeCell(col, row, this);
53331
- if (customMerge && customMerge.range && (isValid$3(customMerge.text) || customMerge.customLayout || customMerge.customRender)) return customMerge.range;
53491
+ if (customMerge && customMerge.range && (isValid$3(customMerge.text) || customMerge.customLayout || customMerge.customRender)) {
53492
+ return {
53493
+ start: {
53494
+ col: Math.max(customMerge.range.start.col, 0),
53495
+ row: Math.max(customMerge.range.start.row, 0)
53496
+ },
53497
+ end: {
53498
+ col: Math.min(customMerge.range.end.col, this.colCount - 1),
53499
+ row: Math.min(customMerge.range.end.row, this.rowCount - 1)
53500
+ }
53501
+ };
53502
+ }
53332
53503
  }
53333
53504
  return null === (_a = this.internalProps.layoutMap) || void 0 === _a ? void 0 : _a.getCellRange(col, row);
53334
53505
  }
@@ -55547,9 +55718,9 @@
55547
55718
  }, null), this._headerObjectsIncludeHided = this._addHeaders(0, columns, []), this._headerObjects = this._headerObjectsIncludeHided.filter(col => !0 !== col.define.hide), this._headerObjectMap = this._headerObjects.reduce((o, e) => (o[e.id] = e, o), {}), this.rowHierarchyType = checkHasTreeDefine(this) ? "tree" : "grid", this._hasAggregation = checkHasAggregation(this), this._hasAggregationOnBottomCount = checkHasAggregationOnBottom(this), this._hasAggregationOnTopCount = checkHasAggregationOnTop(this), this.handleRowSeriesNumber(table.internalProps.rowSeriesNumber);
55548
55719
  }
55549
55720
  handleRowSeriesNumber(rowSeriesNumber) {
55550
- var _a, _b;
55721
+ var _a;
55551
55722
  rowSeriesNumber && (Array.isArray(rowSeriesNumber) ? this.rowSeriesNumberColumn = rowSeriesNumber.map((seriesNumber, index) => {
55552
- var _a, _b, _c;
55723
+ var _a, _b;
55553
55724
  return {
55554
55725
  id: this.seqId++,
55555
55726
  title: seriesNumber.title,
@@ -55557,11 +55728,11 @@
55557
55728
  field: "_vtable_rowSeries_number_" + index
55558
55729
  }, seriesNumber),
55559
55730
  cellType: null !== (_a = seriesNumber.cellType) && void 0 !== _a ? _a : "text",
55560
- headerType: null !== (_b = rowSeriesNumber.cellType) && void 0 !== _b ? _b : "text",
55731
+ headerType: "checkbox" === seriesNumber.cellType ? "checkbox" : "text",
55561
55732
  style: seriesNumber.style,
55562
55733
  width: seriesNumber.width,
55563
55734
  format: seriesNumber.format,
55564
- field: null !== (_c = seriesNumber.field) && void 0 !== _c ? _c : "_vtable_rowSeries_number_" + index,
55735
+ field: null !== (_b = seriesNumber.field) && void 0 !== _b ? _b : "_vtable_rowSeries_number_" + index,
55565
55736
  icon: seriesNumber.icon,
55566
55737
  headerIcon: seriesNumber.headerIcon,
55567
55738
  isChildNode: !1
@@ -55573,7 +55744,7 @@
55573
55744
  field: "_vtable_rowSeries_number"
55574
55745
  }, rowSeriesNumber),
55575
55746
  cellType: null !== (_a = rowSeriesNumber.cellType) && void 0 !== _a ? _a : "text",
55576
- headerType: null !== (_b = rowSeriesNumber.cellType) && void 0 !== _b ? _b : "text",
55747
+ headerType: "checkbox" === rowSeriesNumber.cellType ? "checkbox" : "text",
55577
55748
  style: rowSeriesNumber.style,
55578
55749
  width: rowSeriesNumber.width,
55579
55750
  format: rowSeriesNumber.format,
@@ -56455,7 +56626,7 @@
56455
56626
  newWidth = computeColWidth(col, 0, table.rowCount - 1, table, !1);
56456
56627
  newWidth !== oldWidth && table.scenegraph.updateColWidth(col, newWidth - oldWidth);
56457
56628
  }
56458
- if ("adaptive" === table.heightMode || table.autoFillHeight && table.getAllRowsHeight() <= table.tableNoFrameHeight) 0 === table.internalProps._heightResizedRowMap.size && table.scenegraph.recalculateRowHeights();else if (table.isAutoRowHeight() && !table.internalProps._heightResizedRowMap.has(row)) {
56629
+ if ("adaptive" === table.heightMode || table.autoFillHeight && table.getAllRowsHeight() <= table.tableNoFrameHeight) 0 === table.internalProps._heightResizedRowMap.size && table.scenegraph.recalculateRowHeights();else if (table.isAutoRowHeight(row) && !table.internalProps._heightResizedRowMap.has(row)) {
56459
56630
  const oldHeight = table.getRowHeight(row),
56460
56631
  newHeight = computeRowHeight(row, 0, table.colCount - 1, table);
56461
56632
  table.scenegraph.updateRowHeight(row, newHeight - oldHeight);
@@ -56545,7 +56716,7 @@
56545
56716
  newWidth = computeColWidth(sCol, 0, table.rowCount - 1, table, !1);
56546
56717
  newWidth !== oldWidth && table.scenegraph.updateColWidth(sCol, newWidth - oldWidth);
56547
56718
  }
56548
- if ("adaptive" === table.heightMode || table.autoFillHeight && table.getAllRowsHeight() <= table.tableNoFrameHeight) table.scenegraph.recalculateRowHeights();else if (table.isAutoRowHeight()) {
56719
+ if ("adaptive" === table.heightMode || table.autoFillHeight && table.getAllRowsHeight() <= table.tableNoFrameHeight) table.scenegraph.recalculateRowHeights();else if (table.isAutoRowHeight(startRow)) {
56549
56720
  const rows = [],
56550
56721
  deltaYs = [];
56551
56722
  for (let sRow = startRow; sRow <= range.end.row; sRow++) if (table.rowHeightsMap.get(sRow)) {
@@ -60832,7 +61003,7 @@
60832
61003
  lineClamp: lineClamp
60833
61004
  } = cellStyle,
60834
61005
  autoColWidth = "auto" === colWidth,
60835
- autoRowHeight = table.isAutoRowHeight(),
61006
+ autoRowHeight = table.isAutoRowHeight(row),
60836
61007
  attribute = {
60837
61008
  maxLineWidth: autoColWidth ? 1 / 0 : cellWidth - (padding[1] + padding[3] + hierarchyOffset) - size - spaceBetweenTextAndIcon,
60838
61009
  textAlign: "left",
@@ -61373,13 +61544,20 @@
61373
61544
  iconSize = Math.floor(Math.min(width - padding[1] - padding[3], height - padding[2] - padding[0]) / 2),
61374
61545
  anchorX = 0 + (width > image.attribute.width ? image.attribute.x - 0 + image.attribute.width / 2 : width / 2),
61375
61546
  anchorY = 0 + (height > image.attribute.height ? image.attribute.y - 0 + image.attribute.height / 2 : height / 2),
61547
+ imageGraphic = cellGroup.getChildByName("image", !0),
61548
+ {
61549
+ dx: dx,
61550
+ dy: dy
61551
+ } = imageGraphic.attribute,
61376
61552
  playIcon = new Icon$1({
61377
61553
  x: anchorX - iconSize / 2,
61378
61554
  y: anchorY - iconSize / 2,
61379
61555
  width: iconSize,
61380
61556
  height: iconSize,
61381
61557
  image: regedIcons.play.svg,
61382
- cursor: regedIcons.play.cursor
61558
+ cursor: regedIcons.play.cursor,
61559
+ dx: dx,
61560
+ dy: dy
61383
61561
  });
61384
61562
  playIcon.name = "play-icon", cellGroup.appendChild(playIcon), table.scenegraph.updateNextFrame();
61385
61563
  }), video.onerror = () => {
@@ -65213,7 +65391,7 @@
65213
65391
  themes: themes$1
65214
65392
  });
65215
65393
 
65216
- const version = "1.17.3-alpha.11";
65394
+ const version = "1.17.3-alpha.13";
65217
65395
 
65218
65396
  exports.Gantt = Gantt;
65219
65397
  exports.TYPES = index$3;