@visactor/vtable 1.19.0-alpha.0 → 1.19.1-alpha.0

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.
Files changed (83) hide show
  1. package/cjs/ListTable.d.ts +3 -1
  2. package/cjs/ListTable.js +4 -4
  3. package/cjs/ListTable.js.map +1 -1
  4. package/cjs/body-helper/style/ButtonStyle.d.ts +1 -1
  5. package/cjs/body-helper/style/ButtonStyle.js +2 -2
  6. package/cjs/body-helper/style/ButtonStyle.js.map +1 -1
  7. package/cjs/body-helper/style/SwitchStyle.d.ts +1 -1
  8. package/cjs/body-helper/style/SwitchStyle.js +2 -2
  9. package/cjs/body-helper/style/SwitchStyle.js.map +1 -1
  10. package/cjs/components/menu/dom/logic/MenuElement.js +7 -3
  11. package/cjs/components/menu/dom/logic/MenuElement.js.map +1 -1
  12. package/cjs/core/BaseTable.d.ts +12 -0
  13. package/cjs/core/BaseTable.js +73 -34
  14. package/cjs/core/BaseTable.js.map +1 -1
  15. package/cjs/data/DataSource.js +2 -2
  16. package/cjs/data/DataSource.js.map +1 -1
  17. package/cjs/event/listener/container-dom.js +1 -0
  18. package/cjs/event/listener/container-dom.js.map +1 -1
  19. package/cjs/event/listener/table-group.js +3 -3
  20. package/cjs/event/listener/table-group.js.map +1 -1
  21. package/cjs/event/scroll.js +6 -5
  22. package/cjs/event/scroll.js.map +1 -1
  23. package/cjs/event/self-event-listener/base-table/right-button-click.js +2 -2
  24. package/cjs/event/self-event-listener/base-table/right-button-click.js.map +1 -1
  25. package/cjs/index.d.ts +1 -1
  26. package/cjs/index.js +1 -1
  27. package/cjs/index.js.map +1 -1
  28. package/cjs/layout/index.js +2 -1
  29. package/cjs/layout/pivot-header-layout.js +0 -1
  30. package/cjs/layout/simple-header-layout.js +2 -2
  31. package/cjs/layout/simple-header-layout.js.map +1 -1
  32. package/cjs/scenegraph/group-creater/cell-helper.js +1 -1
  33. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  34. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js +4 -4
  35. package/cjs/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  36. package/cjs/scenegraph/scenegraph.js +22 -17
  37. package/cjs/scenegraph/scenegraph.js.map +1 -1
  38. package/cjs/ts-types/base-table.d.ts +9 -0
  39. package/cjs/ts-types/base-table.js.map +1 -1
  40. package/cjs/vrender.js.map +1 -1
  41. package/dist/vtable.js +225 -81
  42. package/dist/vtable.min.js +2 -2
  43. package/es/ListTable.d.ts +3 -1
  44. package/es/ListTable.js +2 -1
  45. package/es/ListTable.js.map +1 -1
  46. package/es/body-helper/style/ButtonStyle.d.ts +1 -1
  47. package/es/body-helper/style/ButtonStyle.js +1 -1
  48. package/es/body-helper/style/ButtonStyle.js.map +1 -1
  49. package/es/body-helper/style/SwitchStyle.d.ts +1 -1
  50. package/es/body-helper/style/SwitchStyle.js +1 -1
  51. package/es/body-helper/style/SwitchStyle.js.map +1 -1
  52. package/es/components/menu/dom/logic/MenuElement.js +7 -3
  53. package/es/components/menu/dom/logic/MenuElement.js.map +1 -1
  54. package/es/core/BaseTable.d.ts +12 -0
  55. package/es/core/BaseTable.js +73 -34
  56. package/es/core/BaseTable.js.map +1 -1
  57. package/es/data/DataSource.js +2 -2
  58. package/es/data/DataSource.js.map +1 -1
  59. package/es/event/listener/container-dom.js +1 -0
  60. package/es/event/listener/container-dom.js.map +1 -1
  61. package/es/event/listener/table-group.js +3 -3
  62. package/es/event/listener/table-group.js.map +1 -1
  63. package/es/event/scroll.js +6 -5
  64. package/es/event/scroll.js.map +1 -1
  65. package/es/event/self-event-listener/base-table/right-button-click.js +2 -2
  66. package/es/event/self-event-listener/base-table/right-button-click.js.map +1 -1
  67. package/es/index.d.ts +1 -1
  68. package/es/index.js +1 -1
  69. package/es/index.js.map +1 -1
  70. package/es/layout/index.js +2 -1
  71. package/es/layout/pivot-header-layout.js +1 -2
  72. package/es/layout/simple-header-layout.js +2 -2
  73. package/es/layout/simple-header-layout.js.map +1 -1
  74. package/es/scenegraph/group-creater/cell-helper.js +1 -1
  75. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  76. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js +4 -4
  77. package/es/scenegraph/group-creater/progress/create-group-for-first-screen.js.map +1 -1
  78. package/es/scenegraph/scenegraph.js +22 -17
  79. package/es/scenegraph/scenegraph.js.map +1 -1
  80. package/es/ts-types/base-table.d.ts +9 -0
  81. package/es/ts-types/base-table.js.map +1 -1
  82. package/es/vrender.js.map +1 -1
  83. package/package.json +8 -8
package/dist/vtable.js CHANGED
@@ -591,22 +591,22 @@
591
591
  class Application {}
592
592
  const application = new Application();
593
593
 
594
+ let idx = 0;
594
595
  class PerformanceRAF {
595
596
  constructor() {
596
- this.nextAnimationFrameCbs = [], this._rafHandle = null, this.runAnimationFrame = time => {
597
+ this.nextAnimationFrameCbs = new Map(), this._rafHandle = null, this.runAnimationFrame = time => {
597
598
  this._rafHandle = null;
598
599
  const cbs = this.nextAnimationFrameCbs;
599
- this.nextAnimationFrameCbs = [];
600
- for (let i = 0; i < cbs.length; i++) cbs[i] && cbs[i](time);
600
+ this.nextAnimationFrameCbs = new Map(), cbs.forEach(cb => cb(time));
601
601
  }, this.tryRunAnimationFrameNextFrame = () => {
602
- null === this._rafHandle && 0 !== this.nextAnimationFrameCbs.length && (this._rafHandle = application.global.getRequestAnimationFrame()(this.runAnimationFrame));
602
+ null === this._rafHandle && 0 !== this.nextAnimationFrameCbs.size && (this._rafHandle = application.global.getRequestAnimationFrame()(this.runAnimationFrame));
603
603
  };
604
604
  }
605
605
  addAnimationFrameCb(callback) {
606
- return this.nextAnimationFrameCbs.push(callback), this.tryRunAnimationFrameNextFrame(), this.nextAnimationFrameCbs.length - 1;
606
+ return this.nextAnimationFrameCbs.set(++idx, callback), this.tryRunAnimationFrameNextFrame(), idx;
607
607
  }
608
608
  removeAnimationFrameCb(index) {
609
- return index >= 0 && index < this.nextAnimationFrameCbs.length && (this.nextAnimationFrameCbs[index] = null, !0);
609
+ return !!this.nextAnimationFrameCbs.has(index) && (this.nextAnimationFrameCbs.delete(index), !0);
610
610
  }
611
611
  }
612
612
 
@@ -15029,8 +15029,10 @@
15029
15029
  DefaultCanvasTextRender = __decorate$M([injectable(), __param$r(0, inject(ContributionProvider)), __param$r(0, named(TextRenderContribution)), __metadata$B("design:paramtypes", [Object])], DefaultCanvasTextRender);
15030
15030
 
15031
15031
  function drawPolygon(path, points, x, y) {
15032
- path.moveTo(points[0].x + x, points[0].y + y);
15033
- for (let i = 1; i < points.length; i++) path.lineTo(points[i].x + x, points[i].y + y);
15032
+ if (points && points.length) {
15033
+ path.moveTo(points[0].x + x, points[0].y + y);
15034
+ for (let i = 1; i < points.length; i++) path.lineTo(points[i].x + x, points[i].y + y);
15035
+ }
15034
15036
  }
15035
15037
  function drawRoundedPolygon(path, points, x, y, cornerRadius, closePath = !0) {
15036
15038
  var _a;
@@ -17943,6 +17945,18 @@
17943
17945
  const changeEvent = new CustomEvent(eventName, details);
17944
17946
  changeEvent.manager = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventSystem.manager, this.dispatchEvent(changeEvent);
17945
17947
  }
17948
+ eventPosToStagePos(e) {
17949
+ var _a, _b;
17950
+ const result = {
17951
+ x: 0,
17952
+ y: 0
17953
+ },
17954
+ stagePoints = null !== (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.eventPointTransform(e)) && void 0 !== _b ? _b : {
17955
+ x: 0,
17956
+ y: 0
17957
+ };
17958
+ return this.globalTransMatrix.transformPoint(stagePoints, result), result;
17959
+ }
17946
17960
  }
17947
17961
 
17948
17962
  const MathPickerContribution = Symbol.for("MathPickerContribution");
@@ -22989,7 +23003,7 @@
22989
23003
  var _a;
22990
23004
  if ("group" !== el.type && el.id) {
22991
23005
  const oldEl = prevInnerView[el.id];
22992
- if (el.setFinalAttribute(el.attribute), oldEl) {
23006
+ if (el.setFinalAttributes(el.attribute), oldEl) {
22993
23007
  oldEl.release();
22994
23008
  const oldAttrs = oldEl.attribute,
22995
23009
  finalAttrs = el.getFinalAttribute(),
@@ -23499,6 +23513,10 @@
23499
23513
  target.attribute.x = interpolateNumber$1(from, to, ratio), target.addUpdateBoundTag(), target.addUpdatePositionTag();
23500
23514
  }, this.y = (key, from, to, ratio, step, target) => {
23501
23515
  target.attribute.y = interpolateNumber$1(from, to, ratio), target.addUpdateBoundTag(), target.addUpdatePositionTag();
23516
+ }, this.dx = (key, from, to, ratio, step, target) => {
23517
+ target.attribute.dx = interpolateNumber$1(from, to, ratio), target.addUpdateBoundTag(), target.addUpdatePositionTag();
23518
+ }, this.dy = (key, from, to, ratio, step, target) => {
23519
+ target.attribute.dy = interpolateNumber$1(from, to, ratio), target.addUpdateBoundTag(), target.addUpdatePositionTag();
23502
23520
  }, this.angle = (key, from, to, ratio, step, target) => {
23503
23521
  target.attribute.angle = interpolateNumber$1(from, to, ratio), target.addUpdateBoundTag(), target.addUpdatePositionTag();
23504
23522
  }, this.scaleX = (key, from, to, ratio, step, target) => {
@@ -23547,9 +23565,10 @@
23547
23565
  function noop() {}
23548
23566
  class Step {
23549
23567
  constructor(type, props, duration, easing) {
23568
+ var _a;
23550
23569
  this._startTime = 0, this._hasFirstRun = !1, this._syncAttributeUpdate = () => {
23551
23570
  this.target.setAttributes(this.target.attribute);
23552
- }, this.type = type, this.props = props, this.duration = duration, this.easing = easing ? "function" == typeof easing ? easing : Easing[easing] : Easing.linear, "wait" === type && (this.onUpdate = noop), this.id = Generator.GenAutoIncrementId(), this.syncAttributeUpdate = noop;
23571
+ }, this.type = type, this.props = props, this.duration = duration, this.easing = easing ? "function" == typeof easing ? easing : null !== (_a = Easing[easing]) && void 0 !== _a ? _a : Easing.linear : Easing.linear, "wait" === type && (this.onUpdate = noop), this.id = Generator.GenAutoIncrementId(), this.syncAttributeUpdate = noop;
23553
23572
  }
23554
23573
  bind(target, animate) {
23555
23574
  this.target = target, this.animate = animate, this.onBind(), this.syncAttributeUpdate();
@@ -24214,7 +24233,10 @@
24214
24233
  _handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
24215
24234
  var _a, _b, _c, _d;
24216
24235
  if (custom && customType) {
24217
- const customParams = this.resolveValue(customParameters, graphic, {}),
24236
+ const customParams = this.resolveValue(customParameters, graphic, {
24237
+ width: graphic.stage.width,
24238
+ height: graphic.stage.height
24239
+ }),
24218
24240
  objOptions = isFunction$7(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
24219
24241
  customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
24220
24242
  } else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
@@ -24894,7 +24916,7 @@
24894
24916
  const MIN_TICK_GAP = 12;
24895
24917
  const calculateFlushPos = (basePosition, size, rangePosition, otherEnd) => rangePosition < basePosition ? Math.max(basePosition - size / 2, rangePosition) : rangePosition > basePosition ? Math.min(basePosition - size / 2, rangePosition - size) : rangePosition < otherEnd ? rangePosition : rangePosition - size;
24896
24918
  const getCartesianLabelBounds = (scale, domain, op) => {
24897
- var _a;
24919
+ var _a, _b, _c;
24898
24920
  const {
24899
24921
  labelStyle: labelStyle,
24900
24922
  axisOrientType: axisOrientType,
@@ -24910,27 +24932,32 @@
24910
24932
  scaleY = 0;
24911
24933
  isHorizontal || (isVertical ? (scaleX = 0, scaleY = 1) : startAngle && (scaleX = Math.cos(startAngle), scaleY = -Math.sin(startAngle)));
24912
24934
  const textMeasure = initTextMeasure$1(labelStyle),
24913
- range = scale.range(),
24914
- labelBoundsList = domain.map((v, i) => {
24915
- var _a, _b;
24916
- const str = labelFormatter ? labelFormatter(v) : `${v}`,
24917
- {
24918
- width: width,
24919
- height: height
24920
- } = textMeasure.quickMeasure(str),
24921
- textWidth = Math.max(width, 12),
24922
- textHeight = Math.max(height, 12),
24923
- pos = scale.scale(v),
24924
- baseTextX = scaleX * pos,
24925
- baseTextY = scaleY * pos;
24926
- let align,
24927
- baseline,
24928
- textX = baseTextX,
24929
- textY = baseTextY;
24930
- labelFlush && isHorizontal && 0 === i ? textX = calculateFlushPos(baseTextX, textWidth, range[0], range[range.length - 1]) : labelFlush && isHorizontal && i === domain.length - 1 ? textX = calculateFlushPos(baseTextX, textWidth, range[range.length - 1], range[0]) : align = null !== (_a = labelStyle.textAlign) && void 0 !== _a ? _a : "center", "right" === align ? textX -= textWidth : "center" === align && (textX -= textWidth / 2), labelFlush && isVertical && 0 === i ? textY = calculateFlushPos(baseTextY, textHeight, range[0], range[range.length - 1]) : labelFlush && isVertical && i === domain.length - 1 ? textY = calculateFlushPos(baseTextY, textHeight, range[range.length - 1], range[0]) : baseline = null !== (_b = labelStyle.textBaseline) && void 0 !== _b ? _b : "middle", "bottom" === baseline ? textY -= textHeight : "middle" === baseline && (textY -= textHeight / 2);
24931
- const bounds = new AABBBounds$1().set(textX, textY, textX + textWidth, textY + textHeight);
24932
- return labelAngle && bounds.rotate(labelAngle, baseTextX, baseTextY), bounds;
24933
- });
24935
+ range = scale.range();
24936
+ let labelBoundsList = [];
24937
+ for (let i = 0; i < domain.length; i++) {
24938
+ const v = domain[i],
24939
+ str = labelFormatter ? labelFormatter(v) : `${v}`;
24940
+ if (isPlainObject$5(str)) {
24941
+ labelBoundsList = void 0;
24942
+ break;
24943
+ }
24944
+ const {
24945
+ width: width,
24946
+ height: height
24947
+ } = textMeasure.quickMeasure(str),
24948
+ textWidth = Math.max(width, 12),
24949
+ textHeight = Math.max(height, 12),
24950
+ pos = scale.scale(v),
24951
+ baseTextX = scaleX * pos,
24952
+ baseTextY = scaleY * pos;
24953
+ let align,
24954
+ baseline,
24955
+ textX = baseTextX,
24956
+ textY = baseTextY;
24957
+ labelFlush && isHorizontal && 0 === i ? textX = calculateFlushPos(baseTextX, textWidth, range[0], range[range.length - 1]) : labelFlush && isHorizontal && i === domain.length - 1 ? textX = calculateFlushPos(baseTextX, textWidth, range[range.length - 1], range[0]) : align = null !== (_b = labelStyle.textAlign) && void 0 !== _b ? _b : "center", "right" === align ? textX -= textWidth : "center" === align && (textX -= textWidth / 2), labelFlush && isVertical && 0 === i ? textY = calculateFlushPos(baseTextY, textHeight, range[0], range[range.length - 1]) : labelFlush && isVertical && i === domain.length - 1 ? textY = calculateFlushPos(baseTextY, textHeight, range[range.length - 1], range[0]) : baseline = null !== (_c = labelStyle.textBaseline) && void 0 !== _c ? _c : "middle", "bottom" === baseline ? textY -= textHeight : "middle" === baseline && (textY -= textHeight / 2);
24958
+ const bounds = new AABBBounds$1().set(textX, textY, textX + textWidth, textY + textHeight);
24959
+ labelAngle && bounds.rotate(labelAngle, baseTextX, baseTextY), labelBoundsList.push(bounds);
24960
+ }
24934
24961
  return labelBoundsList;
24935
24962
  };
24936
24963
  const isAxisHorizontal = axisOrientType => ["bottom", "top", "z"].includes(axisOrientType);
@@ -25427,7 +25454,7 @@
25427
25454
  }
25428
25455
  }
25429
25456
  const continuousTicks = (scale, op) => {
25430
- var _a, _b;
25457
+ var _a, _b, _c, _d;
25431
25458
  if (!isContinuous(scale.type)) return convertDomainToTickData(scale.domain());
25432
25459
  const range = scale.range(),
25433
25460
  rangeSize = Math.abs(range[range.length - 1] - range[0]);
@@ -25479,23 +25506,25 @@
25479
25506
  step = Math.floor(scaleTicks.length * MIN_FONT_SIZE / rangeSize);
25480
25507
  scaleTicks.forEach((tick, index) => {
25481
25508
  index % step != 0 && index !== scaleTicks.length - 1 || samplingScaleTicks.push(tick);
25482
- }), items = getCartesianLabelBounds(scale, samplingScaleTicks, op).map((bounds, i) => ({
25509
+ }), items = null === (_c = getCartesianLabelBounds(scale, samplingScaleTicks, op)) || void 0 === _c ? void 0 : _c.map((bounds, i) => ({
25483
25510
  AABBBounds: bounds,
25484
25511
  value: samplingScaleTicks[i]
25485
25512
  }));
25486
- } else items = getCartesianLabelBounds(scale, scaleTicks, op).map((bounds, i) => ({
25513
+ } else items = null === (_d = getCartesianLabelBounds(scale, scaleTicks, op)) || void 0 === _d ? void 0 : _d.map((bounds, i) => ({
25487
25514
  AABBBounds: bounds,
25488
25515
  value: scaleTicks[i]
25489
25516
  }));
25490
- const firstSourceItem = items[0],
25491
- lastSourceItem = last$1(items),
25492
- samplingMethod = breakData && breakData() ? methods.greedy : methods.parity;
25493
- for (; items.length >= 3 && hasOverlap(items, labelGap);) items = samplingMethod(items, labelGap);
25494
- const checkFirst = op.labelFirstVisible;
25495
- let checkLast = op.labelLastVisible;
25496
- textIntersect(firstSourceItem, lastSourceItem, labelGap) && items.includes(lastSourceItem) && items.length > 1 && checkFirst && checkLast && (items.splice(items.indexOf(lastSourceItem), 1), checkLast = !1), forceItemVisible(firstSourceItem, items, checkFirst, item => textIntersect(item, firstSourceItem, labelGap)), forceItemVisible(lastSourceItem, items, checkLast, item => textIntersect(item, lastSourceItem, labelGap) || !(!checkFirst || item === firstSourceItem) && textIntersect(item, firstSourceItem, labelGap), !0);
25497
- const ticks = items.map(item => item.value);
25498
- ticks.length < 3 && labelFlush && (ticks.length > 1 && ticks.pop(), last$1(ticks) !== last$1(scaleTicks) && ticks.push(last$1(scaleTicks))), scaleTicks = ticks;
25517
+ if (items) {
25518
+ const firstSourceItem = items[0],
25519
+ lastSourceItem = last$1(items),
25520
+ samplingMethod = breakData && breakData() ? methods.greedy : methods.parity;
25521
+ for (; items.length >= 3 && hasOverlap(items, labelGap);) items = samplingMethod(items, labelGap);
25522
+ const checkFirst = op.labelFirstVisible;
25523
+ let checkLast = op.labelLastVisible;
25524
+ textIntersect(firstSourceItem, lastSourceItem, labelGap) && items.includes(lastSourceItem) && items.length > 1 && checkFirst && checkLast && (items.splice(items.indexOf(lastSourceItem), 1), checkLast = !1), forceItemVisible(firstSourceItem, items, checkFirst, item => textIntersect(item, firstSourceItem, labelGap)), forceItemVisible(lastSourceItem, items, checkLast, item => textIntersect(item, lastSourceItem, labelGap) || !(!checkFirst || item === firstSourceItem) && textIntersect(item, firstSourceItem, labelGap), !0);
25525
+ const ticks = items.map(item => item.value);
25526
+ ticks.length < 3 && labelFlush && (ticks.length > 1 && ticks.pop(), last$1(ticks) !== last$1(scaleTicks) && ticks.push(last$1(scaleTicks))), scaleTicks = ticks;
25527
+ }
25499
25528
  }
25500
25529
  return convertDomainToTickData(scaleTicks);
25501
25530
  };
@@ -25509,7 +25538,10 @@
25509
25538
  }
25510
25539
  };
25511
25540
 
25512
- const getOneDimensionalLabelBounds = (scale, domain, op, isHorizontal) => getCartesianLabelBounds(scale, domain, op).map(bounds => isHorizontal ? [bounds.x1, bounds.x2, bounds.width()] : [bounds.y1, bounds.y2, bounds.height()]),
25541
+ const getOneDimensionalLabelBounds = (scale, domain, op, isHorizontal) => {
25542
+ const labelBoundsList = getCartesianLabelBounds(scale, domain, op);
25543
+ return labelBoundsList && labelBoundsList.map(bounds => isHorizontal ? [bounds.x1, bounds.x2, bounds.width()] : [bounds.y1, bounds.y2, bounds.height()]);
25544
+ },
25513
25545
  boundsOverlap = (prevBounds, nextBounds, gap = 0) => Math.max(prevBounds[0], nextBounds[0]) - gap / 2 <= Math.min(prevBounds[1], nextBounds[1]) + gap / 2;
25514
25546
  const boundsDistance = (prevBounds, nextBounds) => prevBounds[1] < nextBounds[0] ? nextBounds[0] - prevBounds[1] : nextBounds[1] < prevBounds[0] ? prevBounds[0] - nextBounds[1] : 0;
25515
25547
  const linearDiscreteTicks = (scale, op) => {
@@ -25540,23 +25572,27 @@
25540
25572
  rangeStart = minInArray$1(range),
25541
25573
  rangeEnd = maxInArray$1(range);
25542
25574
  if (domain.length <= rangeSize / fontSize) {
25543
- const incrementUnit = (rangeEnd - rangeStart) / domain.length,
25544
- labelBoundsList = getOneDimensionalLabelBounds(scale, domain, op, isHorizontal),
25545
- minBoundsLength = Math.min(...labelBoundsList.map(bounds => bounds[2])),
25546
- stepResult = getStep$1(domain, labelBoundsList, labelGap, op.labelLastVisible, Math.floor(minBoundsLength / incrementUnit), !1);
25547
- scaleTicks = scale.stepTicks(stepResult.step), op.labelLastVisible && (stepResult.delCount && (scaleTicks = scaleTicks.slice(0, scaleTicks.length - stepResult.delCount)), scaleTicks.push(domain[domain.length - 1]));
25575
+ const labelBoundsList = getOneDimensionalLabelBounds(scale, domain, op, isHorizontal);
25576
+ if (labelBoundsList) {
25577
+ const minBoundsLength = Math.min(...labelBoundsList.map(bounds => bounds[2])),
25578
+ incrementUnit = (rangeEnd - rangeStart) / domain.length,
25579
+ stepResult = getStep$1(domain, labelBoundsList, labelGap, op.labelLastVisible, Math.floor(minBoundsLength / incrementUnit), !1);
25580
+ scaleTicks = scale.stepTicks(stepResult.step), op.labelLastVisible && (stepResult.delCount && (scaleTicks = scaleTicks.slice(0, scaleTicks.length - stepResult.delCount)), scaleTicks.push(domain[domain.length - 1]));
25581
+ }
25548
25582
  } else {
25549
25583
  const tempDomain = [domain[0], domain[Math.floor(domain.length / 2)], domain[domain.length - 1]],
25550
25584
  tempList = getOneDimensionalLabelBounds(scale, tempDomain, op, isHorizontal);
25551
- let maxBounds = null;
25552
- tempList.forEach(current => {
25553
- maxBounds ? maxBounds[2] < current[2] && (maxBounds = current) : maxBounds = current;
25554
- });
25555
- const step = rangeEnd - rangeStart - labelGap > 0 ? Math.ceil(domain.length * (labelGap + maxBounds[2]) / (rangeEnd - rangeStart - labelGap)) : domain.length - 1;
25556
- scaleTicks = scale.stepTicks(step), !op.labelLastVisible || scaleTicks.length && scaleTicks[scaleTicks.length - 1] === domain[domain.length - 1] || (scaleTicks.length && Math.abs(scale.scale(scaleTicks[scaleTicks.length - 1]) - scale.scale(domain[domain.length - 1])) < maxBounds[2] && (scaleTicks = scaleTicks.slice(0, -1)), scaleTicks.push(domain[domain.length - 1]));
25585
+ if (tempList) {
25586
+ let maxBounds = null;
25587
+ tempList.forEach(current => {
25588
+ maxBounds ? maxBounds[2] < current[2] && (maxBounds = current) : maxBounds = current;
25589
+ });
25590
+ const step = rangeEnd - rangeStart - labelGap > 0 ? Math.ceil(domain.length * (labelGap + maxBounds[2]) / (rangeEnd - rangeStart - labelGap)) : domain.length - 1;
25591
+ scaleTicks = scale.stepTicks(step), !op.labelLastVisible || scaleTicks.length && scaleTicks[scaleTicks.length - 1] === domain[domain.length - 1] || (scaleTicks.length && Math.abs(scale.scale(scaleTicks[scaleTicks.length - 1]) - scale.scale(domain[domain.length - 1])) < maxBounds[2] && (scaleTicks = scaleTicks.slice(0, -1)), scaleTicks.push(domain[domain.length - 1]));
25592
+ }
25557
25593
  }
25558
- } else scaleTicks = scale.domain();
25559
- return convertDomainToTickData(scaleTicks);
25594
+ }
25595
+ return isNil$5(scaleTicks) && (scaleTicks = scale.domain()), convertDomainToTickData(scaleTicks);
25560
25596
  };
25561
25597
  const getStep$1 = (domain, labelBoundsList, labelGap, labelLastVisible, defaultStep, areAllBoundsSame) => {
25562
25598
  let resultDelCount = 0,
@@ -34270,6 +34306,9 @@
34270
34306
  this._sourceLength = this._source?.length || 0;
34271
34307
  this.sortedIndexMap.clear();
34272
34308
  this.currentIndexedData = Array.from({ length: this._sourceLength }, (_, i) => i);
34309
+ if (this.rowHierarchyType === 'tree') {
34310
+ this.initTreeHierarchyState();
34311
+ }
34273
34312
  if (!this.userPagination) {
34274
34313
  this.pagination.perPageCount = this._sourceLength;
34275
34314
  this.pagination.totalCount = this._sourceLength;
@@ -40297,6 +40336,7 @@
40297
40336
  if (!addNew && oldCellGroup.parent) {
40298
40337
  oldCellGroup.parent.insertAfter(newCellGroup, oldCellGroup);
40299
40338
  oldCellGroup.parent.removeChild(oldCellGroup);
40339
+ oldCellGroup.release(true);
40300
40340
  if (table.scenegraph?.proxy.cellCache.get(col)) {
40301
40341
  table.scenegraph?.proxy.cellCache.set(col, newCellGroup);
40302
40342
  }
@@ -46403,7 +46443,9 @@
46403
46443
  computeColsWidth(table, 0, distColForCompute ?? distCol);
46404
46444
  }
46405
46445
  if (table.internalProps._heightResizedRowMap.size === 0) {
46406
- computeRowsHeight(table, 0, table.options.canvasHeight === 'auto' ? table.rowCount - 1 : distRowForCompute ?? distRow);
46446
+ computeRowsHeight(table, 0, table.options.canvasHeight === 'auto' || table.options.customConfig?.forceComputeAllRowHeight
46447
+ ? table.rowCount - 1
46448
+ : distRowForCompute ?? distRow);
46407
46449
  }
46408
46450
  if (distCol < table.colCount - table.rightFrozenColCount) {
46409
46451
  if (table.colCount - table.rightFrozenColCount <= table.colCount - 1) {
@@ -51646,22 +51688,40 @@
51646
51688
  if (this.table.widthMode === 'adaptive' ||
51647
51689
  this.table.heightMode === 'adaptive' ||
51648
51690
  this.table.autoFillWidth ||
51649
- this.table.autoFillHeight) {
51691
+ this.table.autoFillHeight ||
51692
+ this.table.containerFit?.width ||
51693
+ this.table.containerFit?.height) {
51650
51694
  this.updateChartSizeForResizeColWidth(-1);
51651
51695
  }
51652
51696
  this.proxy.progress();
51653
51697
  this.updateNextFrame();
51654
51698
  }
51655
51699
  updateTableSize() {
51700
+ const contentWidth = Math.max(this.colHeaderGroup.attribute.width, this.bodyGroup.attribute.width, this.bottomFrozenGroup.attribute.width, 0) +
51701
+ Math.max(this.cornerHeaderGroup.attribute.width, this.rowHeaderGroup.attribute.width, this.leftBottomCornerGroup.attribute.width, 0) +
51702
+ Math.max(this.rightTopCornerGroup.attribute.width, this.rightFrozenGroup.attribute.width, this.rightBottomCornerGroup.attribute.width, 0);
51703
+ const contentHeight = Math.max(this.colHeaderGroup.attribute.height, this.cornerHeaderGroup.attribute.height, this.rightTopCornerGroup.attribute.height, 0) +
51704
+ Math.max(this.rowHeaderGroup.attribute.height, this.bodyGroup.attribute.height, this.rightFrozenGroup.attribute.height, 0) +
51705
+ Math.max(this.leftBottomCornerGroup.attribute.height, this.bottomFrozenGroup.attribute.height, this.rightBottomCornerGroup.attribute.height, 0);
51706
+ let tableWidth = contentWidth;
51707
+ let tableHeight = contentHeight;
51708
+ if (this.table.containerFit?.width) {
51709
+ tableWidth = this.table.tableNoFrameWidth;
51710
+ }
51711
+ else {
51712
+ tableWidth = Math.min(this.table.tableNoFrameWidth, contentWidth);
51713
+ }
51714
+ if (this.table.containerFit?.height) {
51715
+ tableHeight = this.table.tableNoFrameHeight;
51716
+ }
51717
+ else {
51718
+ tableHeight = Math.min(this.table.tableNoFrameHeight, contentHeight);
51719
+ }
51656
51720
  this.tableGroup.setAttributes({
51657
51721
  x: this.table.tableX,
51658
51722
  y: this.table.tableY,
51659
- width: Math.min(this.table.tableNoFrameWidth, Math.max(this.colHeaderGroup.attribute.width, this.bodyGroup.attribute.width, this.bottomFrozenGroup.attribute.width, 0) +
51660
- Math.max(this.cornerHeaderGroup.attribute.width, this.rowHeaderGroup.attribute.width, this.leftBottomCornerGroup.attribute.width, 0) +
51661
- Math.max(this.rightTopCornerGroup.attribute.width, this.rightFrozenGroup.attribute.width, this.rightBottomCornerGroup.attribute.width, 0)),
51662
- height: Math.min(this.table.tableNoFrameHeight, Math.max(this.colHeaderGroup.attribute.height, this.cornerHeaderGroup.attribute.height, this.rightTopCornerGroup.attribute.height, 0) +
51663
- Math.max(this.rowHeaderGroup.attribute.height, this.bodyGroup.attribute.height, this.rightFrozenGroup.attribute.height, 0) +
51664
- Math.max(this.leftBottomCornerGroup.attribute.height, this.bottomFrozenGroup.attribute.height, this.rightBottomCornerGroup.attribute.height, 0))
51723
+ width: tableWidth,
51724
+ height: tableHeight
51665
51725
  });
51666
51726
  if (this.tableGroup.border) {
51667
51727
  const rectAttributes = this.tableGroup.border?.attribute;
@@ -55958,13 +56018,14 @@
55958
56018
  state.updateInteractionState(InteractionState.scrolling);
55959
56019
  }
55960
56020
  }
56021
+ const autoHide = state.table.options.theme?.scrollStyle?.visible === 'scrolling';
55961
56022
  if (optimizedDeltaX) {
55962
56023
  state.setScrollLeft(state.scroll.horizontalBarPos + optimizedDeltaX, event);
55963
- state.showHorizontalScrollBar(true);
56024
+ state.showHorizontalScrollBar(autoHide);
55964
56025
  }
55965
56026
  if (optimizedDeltaY) {
55966
56027
  state.setScrollTop(state.scroll.verticalBarPos + optimizedDeltaY, event);
55967
- state.showVerticalScrollBar(true);
56028
+ state.showVerticalScrollBar(autoHide);
55968
56029
  }
55969
56030
  isWheelEvent && state.resetInteractionState(state.interactionStateBeforeScroll);
55970
56031
  if (event.nativeEvent?.cancelable &&
@@ -56318,6 +56379,7 @@
56318
56379
  event: e.nativeEvent
56319
56380
  });
56320
56381
  }
56382
+ table.internalProps.focusControl.focus();
56321
56383
  table.eventManager.isDown = true;
56322
56384
  table.eventManager.LastBodyPointerXY = { x: e.x, y: e.y };
56323
56385
  table.eventManager.LastPointerXY = { x: e.x, y: e.y };
@@ -56489,6 +56551,7 @@
56489
56551
  }
56490
56552
  }
56491
56553
  setTimeout(() => {
56554
+ eventManager.isDown = false;
56492
56555
  eventManager.isTouchdown = false;
56493
56556
  eventManager.isTouchMove = false;
56494
56557
  eventManager.isDraging = false;
@@ -57658,6 +57721,7 @@
57658
57721
  });
57659
57722
  }
57660
57723
  }
57724
+ stateManager.updateInteractionState(InteractionState.default);
57661
57725
  };
57662
57726
  eventManager.globalEventListeners.push({
57663
57727
  name: 'pointerup',
@@ -58383,7 +58447,14 @@
58383
58447
  if (ranges.length > 0) {
58384
58448
  for (let i = 0; i < ranges.length; i++) {
58385
58449
  const range = ranges[i];
58386
- if (col >= range.start.col && col <= range.end.col && row >= range.start.row && row <= range.end.row) {
58450
+ const startCol = range.start.col;
58451
+ const endCol = range.end.col;
58452
+ const startRow = range.start.row;
58453
+ const endRow = range.end.row;
58454
+ if ((col >= startCol && col <= endCol && row >= startRow && row <= endRow) ||
58455
+ (col >= endCol && col <= startCol && row >= endRow && row <= startRow) ||
58456
+ (col >= startCol && col <= endCol && row >= endRow && row <= startRow) ||
58457
+ (col >= endCol && col <= startCol && row >= startRow && row <= endRow)) {
58387
58458
  cellInRange = true;
58388
58459
  break;
58389
58460
  }
@@ -59625,8 +59696,8 @@
59625
59696
  const secondElement = this._secondElement;
59626
59697
  const rootElement = this._rootElement;
59627
59698
  const element = table.internalProps.menu.parentElement ?? table.getElement();
59628
- const { width: containerWidth, left: containerLeft, top: containerTop } = element.getBoundingClientRect();
59629
- const { x: rootLeft, y: rootTop, width: rootWidth } = rootElement.getBoundingClientRect();
59699
+ const { width: containerWidth, height: containerHeight, left: containerLeft, top: containerTop } = element.getBoundingClientRect();
59700
+ const { x: rootLeft, y: rootTop, width: rootWidth, height: rootHeight } = rootElement.getBoundingClientRect();
59630
59701
  if (secondElement) {
59631
59702
  if (secondElement.parentElement !== element) {
59632
59703
  element.appendChild(secondElement);
@@ -59635,9 +59706,15 @@
59635
59706
  const maxWidth = containerWidth * 0.8;
59636
59707
  secondElement.style.maxWidth = `${maxWidth}px`;
59637
59708
  const secondElementWidth = secondElement.clientWidth;
59709
+ const secondElementHeight = secondElement.clientHeight;
59638
59710
  const secondElementTop = y - 4 - containerTop;
59639
59711
  const secondElementLeft = x - containerLeft;
59640
- secondElement.style.top = `${secondElementTop}px`;
59712
+ let topStyle = secondElementTop;
59713
+ if (topStyle + secondElementHeight > containerHeight) {
59714
+ const secondElementItem = secondElement.firstElementChild;
59715
+ topStyle = topStyle - secondElementHeight + secondElementItem.clientHeight + 4;
59716
+ }
59717
+ secondElement.style.top = `${topStyle}px`;
59641
59718
  let leftStyle = secondElementLeft;
59642
59719
  if (leftStyle + secondElementWidth > containerWidth) {
59643
59720
  leftStyle = leftStyle - secondElementWidth - rootWidth;
@@ -63386,6 +63463,7 @@
63386
63463
  _heightMode;
63387
63464
  _autoFillWidth;
63388
63465
  _autoFillHeight;
63466
+ _containerFit;
63389
63467
  _widthAdaptiveMode;
63390
63468
  _heightAdaptiveMode;
63391
63469
  customRender;
@@ -63403,7 +63481,7 @@
63403
63481
  return TABLE_EVENT_TYPE;
63404
63482
  }
63405
63483
  options;
63406
- version = "1.19.0-alpha.0";
63484
+ version = "1.19.1-alpha.0";
63407
63485
  pagination;
63408
63486
  id = `VTable${Date.now()}`;
63409
63487
  headerStyleCache;
@@ -63443,7 +63521,7 @@
63443
63521
  if (options.customConfig?.imageAnonymous === false) {
63444
63522
  vglobal.isImageAnonymous = false;
63445
63523
  }
63446
- const { frozenColCount = 0, unfreezeAllOnExceedsMaxWidth, frozenRowCount, defaultRowHeight = 40, defaultHeaderRowHeight, defaultColWidth = 80, defaultHeaderColWidth, widthMode = 'standard', heightMode = 'standard', autoFillWidth = false, autoFillHeight = false, widthAdaptiveMode = 'only-body', heightAdaptiveMode = 'only-body', keyboardOptions, eventOptions, rowSeriesNumber, enableCheckboxCascade, columnResizeMode, rowResizeMode = 'none', resize, dragHeaderMode, dragOrder, showFrozenIcon, allowFrozenColCount, padding, hover, menu, select: click, customRender, pixelRatio = defaultPixelRatio, renderChartAsync, renderChartAsyncBatchCount, mode, modeParams, canvasWidth, canvasHeight, overscrollBehavior, limitMinWidth, limitMinHeight, clearDOM = true } = options;
63524
+ const { frozenColCount = 0, unfreezeAllOnExceedsMaxWidth, frozenRowCount, defaultRowHeight = 40, defaultHeaderRowHeight, defaultColWidth = 80, defaultHeaderColWidth, widthMode = 'standard', heightMode = 'standard', autoFillWidth = false, autoFillHeight = false, containerFit = { width: false, height: false }, widthAdaptiveMode = 'only-body', heightAdaptiveMode = 'only-body', keyboardOptions, eventOptions, rowSeriesNumber, enableCheckboxCascade, columnResizeMode, rowResizeMode = 'none', resize, dragHeaderMode, dragOrder, showFrozenIcon, allowFrozenColCount, padding, hover, menu, select: click, customRender, pixelRatio = defaultPixelRatio, renderChartAsync, renderChartAsyncBatchCount, mode, modeParams, canvasWidth, canvasHeight, overscrollBehavior, limitMinWidth, limitMinHeight, clearDOM = true } = options;
63447
63525
  this.container = container;
63448
63526
  this.options = options;
63449
63527
  this._widthMode = widthMode;
@@ -63452,6 +63530,20 @@
63452
63530
  this._heightAdaptiveMode = heightAdaptiveMode;
63453
63531
  this._autoFillWidth = autoFillWidth;
63454
63532
  this._autoFillHeight = autoFillHeight;
63533
+ if (containerFit !== undefined) {
63534
+ if (typeof containerFit === 'boolean') {
63535
+ this._containerFit = { width: containerFit, height: containerFit };
63536
+ }
63537
+ else if (containerFit && typeof containerFit === 'object') {
63538
+ this._containerFit = {
63539
+ width: containerFit.width ?? true,
63540
+ height: containerFit.height ?? true
63541
+ };
63542
+ }
63543
+ else {
63544
+ this._containerFit = { width: false, height: false };
63545
+ }
63546
+ }
63455
63547
  this.customRender = customRender;
63456
63548
  this.padding = { top: 0, right: 0, left: 0, bottom: 0 };
63457
63549
  if (padding) {
@@ -64836,7 +64928,7 @@
64836
64928
  this.editorManager?.cancelEdit();
64837
64929
  this.options = options;
64838
64930
  this._hasAutoImageColumn = undefined;
64839
- const { frozenColCount = 0, unfreezeAllOnExceedsMaxWidth, defaultRowHeight = 40, defaultHeaderRowHeight, defaultColWidth = 80, defaultHeaderColWidth = 80, keyboardOptions, eventOptions, rowSeriesNumber, enableCheckboxCascade, columnResizeMode, rowResizeMode = 'none', resize, dragHeaderMode, dragOrder, showFrozenIcon, allowFrozenColCount, padding, hover, menu, select: click, pixelRatio, widthMode, heightMode, autoFillWidth, autoFillHeight, widthAdaptiveMode, heightAdaptiveMode, customRender, renderChartAsync, renderChartAsyncBatchCount, canvasWidth, canvasHeight, overscrollBehavior, limitMinWidth, limitMinHeight } = options;
64931
+ const { frozenColCount = 0, unfreezeAllOnExceedsMaxWidth, defaultRowHeight = 40, defaultHeaderRowHeight, defaultColWidth = 80, defaultHeaderColWidth = 80, keyboardOptions, eventOptions, rowSeriesNumber, enableCheckboxCascade, columnResizeMode, rowResizeMode = 'none', resize, dragHeaderMode, dragOrder, showFrozenIcon, allowFrozenColCount, padding, hover, menu, select: click, pixelRatio, widthMode, heightMode, autoFillWidth, autoFillHeight, containerFit, widthAdaptiveMode, heightAdaptiveMode, customRender, renderChartAsync, renderChartAsyncBatchCount, canvasWidth, canvasHeight, overscrollBehavior, limitMinWidth, limitMinHeight } = options;
64840
64932
  if (pixelRatio && pixelRatio !== this.internalProps.pixelRatio) {
64841
64933
  this.internalProps.pixelRatio = pixelRatio;
64842
64934
  }
@@ -64864,6 +64956,20 @@
64864
64956
  this._heightAdaptiveMode = heightAdaptiveMode ?? 'only-body';
64865
64957
  this.autoFillWidth = autoFillWidth ?? false;
64866
64958
  this.autoFillHeight = autoFillHeight ?? false;
64959
+ if (containerFit !== undefined) {
64960
+ if (typeof containerFit === 'boolean') {
64961
+ this._containerFit = { width: containerFit, height: containerFit };
64962
+ }
64963
+ else if (containerFit && typeof containerFit === 'object') {
64964
+ this._containerFit = {
64965
+ width: containerFit.width ?? true,
64966
+ height: containerFit.height ?? true
64967
+ };
64968
+ }
64969
+ else {
64970
+ this._containerFit = { width: false, height: false };
64971
+ }
64972
+ }
64867
64973
  this.customRender = customRender;
64868
64974
  this.canvasWidth = isNumber$4(canvasWidth) ? canvasWidth : undefined;
64869
64975
  this.canvasHeight = isNumber$4(canvasHeight) ? canvasHeight : undefined;
@@ -66084,8 +66190,26 @@
66084
66190
  this.render();
66085
66191
  const stage = this.scenegraph.stage;
66086
66192
  if (stage) {
66087
- const contentWidth = this.tableX + this.getAllColsWidth();
66088
- const contentHeight = this.tableY + this.getAllRowsHeight();
66193
+ let contentWidth = this.tableX + this.getAllColsWidth();
66194
+ let contentHeight = this.tableY + this.getAllRowsHeight();
66195
+ if (this.internalProps.legends) {
66196
+ this.internalProps.legends.forEach(legend => {
66197
+ if (legend.orient === 'right') {
66198
+ contentWidth = Math.max(contentWidth, legend.legendComponent.globalAABBBounds.x2);
66199
+ }
66200
+ else if (legend.orient === 'bottom') {
66201
+ contentHeight = Math.max(contentHeight, legend.legendComponent.globalAABBBounds.y2);
66202
+ }
66203
+ });
66204
+ }
66205
+ if (this.internalProps.title) {
66206
+ if (this.internalProps.title._titleOption.orient === 'right') {
66207
+ contentWidth = Math.max(contentWidth, this.internalProps.title.getComponentGraphic().globalAABBBounds.x2);
66208
+ }
66209
+ else if (this.internalProps.title._titleOption.orient === 'bottom') {
66210
+ contentHeight = Math.max(contentHeight, this.internalProps.title.getComponentGraphic().globalAABBBounds.y2);
66211
+ }
66212
+ }
66089
66213
  if (contentWidth >= this.canvasWidth && contentHeight >= this.canvasHeight) {
66090
66214
  stage.render();
66091
66215
  const buffer = stage.window.getImageBuffer(type);
@@ -66272,6 +66396,23 @@
66272
66396
  checkHasColumnAutoWidth() {
66273
66397
  return checkHasColumnAutoWidth(this);
66274
66398
  }
66399
+ get containerFit() {
66400
+ return this._containerFit;
66401
+ }
66402
+ set containerFit(containerFit) {
66403
+ if (typeof containerFit === 'boolean') {
66404
+ this._containerFit = { width: containerFit, height: containerFit };
66405
+ }
66406
+ else if (containerFit && typeof containerFit === 'object') {
66407
+ this._containerFit = {
66408
+ width: containerFit.width ?? true,
66409
+ height: containerFit.height ?? true
66410
+ };
66411
+ }
66412
+ else {
66413
+ this._containerFit = { width: false, height: false };
66414
+ }
66415
+ }
66275
66416
  }
66276
66417
 
66277
66418
  var core = /*#__PURE__*/Object.freeze({
@@ -68305,7 +68446,7 @@
68305
68446
  style: rowSeriesNumber.style,
68306
68447
  width: rowSeriesNumber.width,
68307
68448
  format: rowSeriesNumber.format,
68308
- field: rowSeriesNumber.field,
68449
+ field: rowSeriesNumber.field ?? '_vtable_rowSeries_number',
68309
68450
  icon: rowSeriesNumber.icon,
68310
68451
  headerIcon: rowSeriesNumber.headerIcon,
68311
68452
  isChildNode: false
@@ -70510,11 +70651,14 @@
70510
70651
  get recordsCount() {
70511
70652
  return this.dataSource.records.length;
70512
70653
  }
70513
- updateColumns(columns) {
70654
+ updateColumns(columns, options) {
70514
70655
  this.scenegraph.clearCells();
70515
70656
  const oldHoverState = { col: this.stateManager.hover.cellPos.col, row: this.stateManager.hover.cellPos.row };
70516
70657
  this.internalProps.columns = cloneDeepSpec(columns, ['children']);
70517
70658
  generateAggregationForColumn(this);
70659
+ if (options?.clearColWidthCache) {
70660
+ this.internalProps._widthResizedColMap.clear();
70661
+ }
70518
70662
  this.options.columns = columns;
70519
70663
  this.internalProps.headerHelper.setTableColumnsEditor();
70520
70664
  this._hasAutoImageColumn = undefined;
@@ -86474,7 +86618,7 @@
86474
86618
  }
86475
86619
 
86476
86620
  registerForVrender();
86477
- const version = "1.19.0-alpha.0";
86621
+ const version = "1.19.1-alpha.0";
86478
86622
  function getIcons() {
86479
86623
  return get$2();
86480
86624
  }