@visactor/vtable-calendar 1.25.1-alpha.0 → 1.26.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.
@@ -14972,9 +14972,10 @@
14972
14972
  }), context.highPerformanceRestore(), context.setTransformForCurrent();
14973
14973
  } else {
14974
14974
  const {
14975
- backgroundCornerRadius: backgroundCornerRadius
14975
+ backgroundCornerRadius: backgroundCornerRadius,
14976
+ backgroundOpacity = 1
14976
14977
  } = graphic.attribute;
14977
- context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.fillStyle = background, backgroundCornerRadius ? (createRectPath(context, b.x1, b.y1, b.width(), b.height(), backgroundCornerRadius, !0), context.fill()) : context.fillRect(b.x1, b.y1, b.width(), b.height()), context.highPerformanceRestore();
14978
+ context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.globalAlpha = backgroundOpacity, context.fillStyle = background, backgroundCornerRadius ? (createRectPath(context, b.x1, b.y1, b.width(), b.height(), backgroundCornerRadius, !0), context.fill()) : context.fillRect(b.x1, b.y1, b.width(), b.height()), context.highPerformanceRestore();
14978
14979
  }
14979
14980
  shouldReCalBounds && boundsAllocate.free(b), restore();
14980
14981
  }
@@ -32420,7 +32421,31 @@
32420
32421
  return graphicCreator.symbol(style);
32421
32422
  }
32422
32423
  _renderHandlerText(value, position) {
32423
- var _a, _b, _c;
32424
+ return graphicCreator.text(this._getHandlerTextAttributes(value, position));
32425
+ }
32426
+ _getHandlerPosition(isStart) {
32427
+ return this.attribute.range && isStart ? "start" : "end";
32428
+ }
32429
+ _getHandlerTextStyle(value, position) {
32430
+ const {
32431
+ align: align,
32432
+ handlerSize = 14,
32433
+ handlerText = {},
32434
+ railHeight: railHeight,
32435
+ railWidth: railWidth,
32436
+ slidable: slidable
32437
+ } = this.attribute;
32438
+ return isFunction$3(handlerText.style) ? handlerText.style(value, position, {
32439
+ layout: this.attribute.layout,
32440
+ align: align,
32441
+ railWidth: railWidth,
32442
+ railHeight: railHeight,
32443
+ handlerSize: handlerSize,
32444
+ slidable: slidable
32445
+ }) : handlerText.style;
32446
+ }
32447
+ _getHandlerTextAttributes(value, position) {
32448
+ var _a, _b;
32424
32449
  const {
32425
32450
  align: align,
32426
32451
  handlerSize = 14,
@@ -32432,13 +32457,13 @@
32432
32457
  isHorizontal = this._isHorizontal,
32433
32458
  pos = this.calculatePosByValue(value, position),
32434
32459
  textSpace = null !== (_a = handlerText.space) && void 0 !== _a ? _a : 4,
32460
+ handlerTextStyle = this._getHandlerTextStyle(value, position),
32435
32461
  textStyle = {
32436
32462
  text: handlerText.formatter ? handlerText.formatter(value) : value.toFixed(null !== (_b = handlerText.precision) && void 0 !== _b ? _b : 0),
32437
- lineHeight: null === (_c = handlerText.style) || void 0 === _c ? void 0 : _c.lineHeight,
32463
+ lineHeight: null == handlerTextStyle ? void 0 : handlerTextStyle.lineHeight,
32438
32464
  cursor: !1 === slidable ? "default" : getDefaultCursor(isHorizontal)
32439
32465
  };
32440
- isHorizontal ? "top" === align ? (textStyle.textBaseline = "bottom", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight - handlerSize) / 2 - textSpace) : (textStyle.textBaseline = "top", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight + handlerSize) / 2 + textSpace) : "left" === align ? (textStyle.textBaseline = "middle", textStyle.textAlign = "end", textStyle.x = (railWidth - handlerSize) / 2 - textSpace, textStyle.y = pos) : (textStyle.textBaseline = "middle", textStyle.textAlign = "start", textStyle.x = (railWidth + handlerSize) / 2 + textSpace, textStyle.y = pos);
32441
- return graphicCreator.text(Object.assign(Object.assign({}, textStyle), handlerText.style));
32466
+ return isHorizontal ? "top" === align ? (textStyle.textBaseline = "bottom", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight - handlerSize) / 2 - textSpace) : (textStyle.textBaseline = "top", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight + handlerSize) / 2 + textSpace) : "left" === align ? (textStyle.textBaseline = "middle", textStyle.textAlign = "end", textStyle.x = (railWidth - handlerSize) / 2 - textSpace, textStyle.y = pos) : (textStyle.textBaseline = "middle", textStyle.textAlign = "start", textStyle.x = (railWidth + handlerSize) / 2 + textSpace, textStyle.y = pos), Object.assign(Object.assign({}, textStyle), handlerTextStyle);
32442
32467
  }
32443
32468
  _renderTooltip() {
32444
32469
  var _a;
@@ -32566,31 +32591,19 @@
32566
32591
  }
32567
32592
  }
32568
32593
  _updateHandler(handler, position, value) {
32569
- var _a;
32570
32594
  const isHorizontal = this._isHorizontal;
32571
32595
  handler.setAttribute(isHorizontal ? "x" : "y", position);
32572
32596
  const updateHandlerText = handler.name === SLIDER_ELEMENT_NAME.startHandler ? this._startHandlerText : this._endHandlerText;
32573
32597
  if (updateHandlerText) {
32574
- const {
32575
- handlerText = {}
32576
- } = this.attribute;
32577
- updateHandlerText.setAttributes({
32578
- text: handlerText.formatter ? handlerText.formatter(value) : value.toFixed(null !== (_a = handlerText.precision) && void 0 !== _a ? _a : 0),
32579
- [isHorizontal ? "x" : "y"]: position
32580
- });
32598
+ const handlerPosition = this._getHandlerPosition(handler.name === SLIDER_ELEMENT_NAME.startHandler);
32599
+ updateHandlerText.setAttributes(this._getHandlerTextAttributes(value, handlerPosition));
32581
32600
  }
32582
32601
  handler.name === SLIDER_ELEMENT_NAME.startHandler ? (this._currentValue.startValue = value, this._currentValue.startPos = position) : (this._currentValue.endValue = value, this._currentValue.endPos = position);
32583
32602
  }
32584
32603
  _updateHandlerText(handlerText, position, value) {
32585
- var _a;
32586
32604
  const isHorizontal = this._isHorizontal,
32587
- {
32588
- handlerText: handlerTextAttr = {}
32589
- } = this.attribute;
32590
- handlerText.setAttributes({
32591
- [isHorizontal ? "x" : "y"]: position,
32592
- text: handlerTextAttr.formatter ? handlerTextAttr.formatter(value) : value.toFixed(null !== (_a = handlerTextAttr.precision) && void 0 !== _a ? _a : 0)
32593
- });
32605
+ handlerPosition = this._getHandlerPosition(handlerText.name === SLIDER_ELEMENT_NAME.startHandlerText);
32606
+ handlerText.setAttributes(this._getHandlerTextAttributes(value, handlerPosition));
32594
32607
  const updateHandler = handlerText.name === SLIDER_ELEMENT_NAME.startHandlerText ? this._startHandler : this._endHandler;
32595
32608
  updateHandler && updateHandler.setAttributes({
32596
32609
  [isHorizontal ? "x" : "y"]: position
@@ -41477,15 +41490,17 @@
41477
41490
  } else if ("sparkline" === type) {
41478
41491
  cellGroup = Factory.getFunction("createSparkLineCellGroup")(null, columnGroup, 0, y, col, row, cellWidth, cellHeight, padding, table, cellTheme, isAsync);
41479
41492
  } else if ("checkbox" === type) {
41480
- const isAggregation = "isAggregation" in table.internalProps.layoutMap && table.internalProps.layoutMap.isAggregation(col, row),
41481
- isSeriesNumber = table.internalProps.layoutMap.isSeriesNumber(col, row);
41482
- if (isAggregation && isSeriesNumber) {
41493
+ if ("isAggregation" in table.internalProps.layoutMap && table.internalProps.layoutMap.isAggregation(col, row)) {
41483
41494
  cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, !1, void 0, !0, cellTheme, range, isAsync);
41484
41495
  } else {
41485
41496
  cellGroup = Factory.getFunction("createCheckboxCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, table, cellTheme, define, range, isAsync, !1);
41486
41497
  }
41487
41498
  } else if ("radio" === type) {
41488
- cellGroup = Factory.getFunction("createRadioCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, table, cellTheme, define, range);
41499
+ if ("isAggregation" in table.internalProps.layoutMap && table.internalProps.layoutMap.isAggregation(col, row)) {
41500
+ cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, !1, void 0, !0, cellTheme, range, isAsync);
41501
+ } else {
41502
+ cellGroup = Factory.getFunction("createRadioCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, table, cellTheme, define, range);
41503
+ }
41489
41504
  } else if ("switch" === type) {
41490
41505
  cellGroup = Factory.getFunction("createSwitchCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, table, cellTheme, define, range, isAsync);
41491
41506
  } else if ("button" === type) {
@@ -50666,6 +50681,7 @@
50666
50681
  } else if (-1 === cellPos.col || -1 === cellPos.row || -1 !== col && -1 !== row) {
50667
50682
  if (interactionState !== InteractionState.default || table.eventManager.isDraging || table.stateManager.isResizeCol()) {
50668
50683
  if ((interactionState === InteractionState.grabing || table.eventManager.isDraging) && !table.stateManager.isResizeCol()) {
50684
+ if (col >= 0 && row >= 0 && isCellDisableSelect(table, col, row)) return void scenegraph.updateNextFrame();
50669
50685
  let extendSelectRange = !isValid$1(skipBodyMerge) || !skipBodyMerge;
50670
50686
  -1 === cellPos.col && (cellPos.col = col), -1 === cellPos.row && (cellPos.row = row), cellPos.col = col, cellPos.row = row;
50671
50687
  const currentRange = state.select.ranges[state.select.ranges.length - 1];
@@ -51861,8 +51877,11 @@
51861
51877
  updateOptionSetState() {
51862
51878
  this._updateOptionSetState(), this.setHoverState(), this.setSelectState(), this.setFrozenState();
51863
51879
  }
51880
+ endResizeIfResizing() {
51881
+ this.columnResize.resizing && (this.table.scenegraph.component.hideResizeCol(), this.columnResize.resizing = !1), this.rowResize.resizing && (this.table.scenegraph.component.hideResizeRow(), this.rowResize.resizing = !1), this.interactionState === InteractionState.grabing && (this.interactionState = InteractionState.default);
51882
+ }
51864
51883
  _updateOptionSetState() {
51865
- this.interactionState = InteractionState.default, this.hoverIcon = {
51884
+ this.endResizeIfResizing(), this.interactionState = InteractionState.default, this.hoverIcon = {
51866
51885
  col: -1,
51867
51886
  row: -1,
51868
51887
  icon: null
@@ -52991,6 +53010,7 @@
52991
53010
  }
52992
53011
 
52993
53012
  function bindTableGroupListener(eventManager) {
53013
+ var _a, _b, _c;
52994
53014
  const table = eventManager.table,
52995
53015
  stateManager = table.stateManager,
52996
53016
  getEventArgsSet = e => getCellEventArgsSetWithTable(e, table);
@@ -53107,7 +53127,13 @@
53107
53127
  event: e.nativeEvent
53108
53128
  });
53109
53129
  }), table.scenegraph.tableGroup.addEventListener("pointerleave", e => {
53110
- stateManager.isResizeCol() || stateManager.isResizeRow() || stateManager.isMoveCol() || stateManager.isSelecting() || (stateManager.updateInteractionState(InteractionState.default), stateManager.updateCursor()), (table.theme.scrollStyle.horizontalVisible && "focus" === table.theme.scrollStyle.horizontalVisible || !table.theme.scrollStyle.horizontalVisible && "focus" === table.theme.scrollStyle.visible) && stateManager.hideHorizontalScrollBar(), (table.theme.scrollStyle.verticalVisible && "focus" === table.theme.scrollStyle.verticalVisible || !table.theme.scrollStyle.verticalVisible && "focus" === table.theme.scrollStyle.visible) && stateManager.hideVerticalScrollBar(), table.hasListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL) && -1 !== table.stateManager.hover.cellPos.col && -1 !== table.stateManager.hover.cellPos.row && table.fireListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL, {
53130
+ var _a, _b, _c;
53131
+ stateManager.isResizeCol() || stateManager.isResizeRow() || stateManager.isMoveCol() || stateManager.isSelecting() || (stateManager.updateInteractionState(InteractionState.default), stateManager.updateCursor());
53132
+ const scrollStyle = table.theme.scrollStyle,
53133
+ horizontalVisible = null !== (_a = null == scrollStyle ? void 0 : scrollStyle.horizontalVisible) && void 0 !== _a ? _a : null == scrollStyle ? void 0 : scrollStyle.visible,
53134
+ verticalVisible = null !== (_b = null == scrollStyle ? void 0 : scrollStyle.verticalVisible) && void 0 !== _b ? _b : null == scrollStyle ? void 0 : scrollStyle.visible,
53135
+ barToSide = null !== (_c = null == scrollStyle ? void 0 : scrollStyle.barToSide) && void 0 !== _c && _c;
53136
+ barToSide || "focus" !== horizontalVisible || stateManager.hideHorizontalScrollBar(), barToSide || "focus" !== verticalVisible || stateManager.hideVerticalScrollBar(), table.hasListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL) && -1 !== table.stateManager.hover.cellPos.col && -1 !== table.stateManager.hover.cellPos.row && table.fireListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL, {
53111
53137
  col: table.stateManager.hover.cellPos.col,
53112
53138
  row: table.stateManager.hover.cellPos.row,
53113
53139
  cellRange: table.getCellRangeRelativeRect({
@@ -53336,7 +53362,29 @@
53336
53362
  const isHasSelected = !!(null === (_a = stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
53337
53363
  (null === (_b = table.options.customConfig) || void 0 === _b ? void 0 : _b.cancelSelectCellHook) ? (null === (_c = table.options.customConfig) || void 0 === _c ? void 0 : _c.cancelSelectCellHook(e)) && eventManager.dealTableSelect() : (null === (_e = null === (_d = table.options.select) || void 0 === _d ? void 0 : _d.blankAreaClickDeselect) || void 0 === _e || _e) && eventManager.dealTableSelect(), stateManager.endSelectCells(!0, isHasSelected), stateManager.updateCursor(), table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0);
53338
53364
  }
53339
- }), table.scenegraph.stage.addEventListener("pointermove", e => {
53365
+ });
53366
+ const scrollStyle = table.theme.scrollStyle,
53367
+ barToSide = null !== (_a = null == scrollStyle ? void 0 : scrollStyle.barToSide) && void 0 !== _a && _a,
53368
+ horizontalVisible = null !== (_b = null == scrollStyle ? void 0 : scrollStyle.horizontalVisible) && void 0 !== _b ? _b : null == scrollStyle ? void 0 : scrollStyle.visible,
53369
+ verticalVisible = null !== (_c = null == scrollStyle ? void 0 : scrollStyle.verticalVisible) && void 0 !== _c ? _c : null == scrollStyle ? void 0 : scrollStyle.visible,
53370
+ shouldShowScrollOnCanvasHover = barToSide && "focus" === horizontalVisible,
53371
+ shouldShowVScrollOnCanvasHover = barToSide && "focus" === verticalVisible;
53372
+ (shouldShowScrollOnCanvasHover || shouldShowVScrollOnCanvasHover) && (table.scenegraph.stage.addEventListener("pointerenter", e => {
53373
+ var _a, _b, _c;
53374
+ const target = e.target;
53375
+ if (target === table.scenegraph.stage || (null === (_a = null == target ? void 0 : target.isDescendantsOf) || void 0 === _a ? void 0 : _a.call(target, table.scenegraph.stage))) {
53376
+ if (shouldShowScrollOnCanvasHover) {
53377
+ const relativeX = e.x - table.tableX,
53378
+ target = table.options.scrollFrozenCols && (null === (_b = table.getFrozenColsOffset) || void 0 === _b ? void 0 : _b.call(table)) > 0 && relativeX >= 0 && relativeX < table.getFrozenColsWidth() ? "frozen" : table.options.scrollRightFrozenCols && (null === (_c = table.getRightFrozenColsOffset) || void 0 === _c ? void 0 : _c.call(table)) > 0 && relativeX > table.tableNoFrameWidth - table.getRightFrozenColsWidth() ? "rightFrozen" : "body";
53379
+ stateManager.showHorizontalScrollBar(!1, target);
53380
+ }
53381
+ shouldShowVScrollOnCanvasHover && stateManager.showVerticalScrollBar();
53382
+ }
53383
+ }), table.scenegraph.stage.addEventListener("pointerleave", e => {
53384
+ var _a;
53385
+ const relatedTarget = e.relatedTarget;
53386
+ (!relatedTarget || relatedTarget !== table.scenegraph.stage && !(null === (_a = relatedTarget.isDescendantsOf) || void 0 === _a ? void 0 : _a.call(relatedTarget, table.scenegraph.stage))) && (shouldShowScrollOnCanvasHover && stateManager.hideHorizontalScrollBar(), shouldShowVScrollOnCanvasHover && stateManager.hideVerticalScrollBar());
53387
+ })), table.scenegraph.stage.addEventListener("pointermove", e => {
53340
53388
  var _a, _b, _c;
53341
53389
  const eventArgsSet = getCellEventArgsSetWithTable(e, table);
53342
53390
  null !== (_c = null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.isDescendantsOf) || void 0 === _b ? void 0 : _b.call(_a, table.scenegraph.tableGroup)) && void 0 !== _c && _c && (stateManager.isResizeCol() || eventManager.checkColumnResize(eventArgsSet) ? table.stateManager.select && eventManager.checkCellFillhandle(eventArgsSet) ? stateManager.updateCursor("crosshair") : stateManager.updateCursor("col-resize") : stateManager.isResizeRow() || eventManager.checkRowResize(eventArgsSet) ? table.stateManager.select && eventManager.checkCellFillhandle(eventArgsSet) ? stateManager.updateCursor("crosshair") : stateManager.updateCursor("row-resize") : stateManager.isMoveCol() || stateManager.updateCursor());
@@ -53895,7 +53943,10 @@
53895
53943
  right || left || (x > table.tableNoFrameWidth - table.getRightFrozenColsWidth() && x < table.tableNoFrameWidth || x > 0 && x < table.getFrozenColsWidth() ? (selectX = x, considerFrozenX = !0) : selectX = table.scrollLeft + frozenOffset + x), bottom || top || (y > table.tableNoFrameHeight - table.getBottomFrozenRowsHeight() && y < table.tableNoFrameHeight || y > 0 && y < table.getFrozenRowsHeight() ? (selectY = y, considerFrozenY = !0) : selectY = table.scrollTop + y), table.stateManager.updateInteractionState(InteractionState.grabing);
53896
53944
  const targetCol = table.getTargetColAtConsiderRightFrozen(selectX, considerFrozenX),
53897
53945
  targetRow = table.getTargetRowAtConsiderBottomFrozen(selectY, considerFrozenY);
53898
- !(null === (_c = table.options.select) || void 0 === _c ? void 0 : _c.disableDragSelect) && isValid$1(targetCol) && isValid$1(targetRow) && table.stateManager.updateSelectPos("row" === table.stateManager.select.selectInline ? table.colCount - 1 : targetCol.col, "col" === table.stateManager.select.selectInline ? table.rowCount - 1 : targetRow.row, !1, !1, !1, !1);
53946
+ if (!(null === (_c = table.options.select) || void 0 === _c ? void 0 : _c.disableDragSelect) && isValid$1(targetCol) && isValid$1(targetRow)) {
53947
+ if (isCellDisableSelect(table, targetCol.col, targetRow.row)) return;
53948
+ table.stateManager.updateSelectPos("row" === table.stateManager.select.selectInline ? table.colCount - 1 : targetCol.col, "col" === table.stateManager.select.selectInline ? table.rowCount - 1 : targetRow.row, !1, !1, !1, !1);
53949
+ }
53899
53950
  });
53900
53951
  } else table.eventManager.inertiaScroll.isInertiaScrolling() ? table.eventManager.inertiaScroll.endInertia() : table.eventManager.scrollYSpeed = 0;
53901
53952
  }
@@ -55971,6 +56022,7 @@
55971
56022
  switch (headerType) {
55972
56023
  case "text":
55973
56024
  case "link":
56025
+ default:
55974
56026
  return TextHeaderStyle;
55975
56027
  case "image":
55976
56028
  case "video":
@@ -57017,7 +57069,7 @@
57017
57069
  }
57018
57070
  constructor(container, options = {}) {
57019
57071
  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;
57020
- if (super(), this.showFrozenIcon = !0, this._scrollToRowCorrectTimer = null, this._tableBorderWidth_left = 0, this._tableBorderWidth_right = 0, this._tableBorderWidth_top = 0, this._tableBorderWidth_bottom = 0, this.version = "1.25.1-alpha.0", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "undefined" != typeof window) {
57072
+ if (super(), this.showFrozenIcon = !0, this._scrollToRowCorrectTimer = null, this._tableBorderWidth_left = 0, this._tableBorderWidth_right = 0, this._tableBorderWidth_top = 0, this._tableBorderWidth_bottom = 0, this.version = "1.26.0", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "undefined" != typeof window) {
57021
57073
  const g = window;
57022
57074
  g[this.id] = this;
57023
57075
  const registry = g.__vtable__ || (g.__vtable__ = {
@@ -58422,9 +58474,13 @@
58422
58474
  }
58423
58475
  getCellType(col, row) {
58424
58476
  let cellType;
58425
- return this.isSeriesNumberInHeader(col, row) ? this.internalProps.layoutMap.getSeriesNumberHeader(col, row).cellType : (cellType = this.isHeader(col, row) ? this.internalProps.layoutMap.getHeader(col, row).headerType : this.internalProps.layoutMap.getBody(col, row).cellType, getProp("cellType", {
58477
+ if (this.isSeriesNumberInHeader(col, row)) {
58478
+ const seriesHeaderCellType = this.internalProps.layoutMap.getSeriesNumberHeader(col, row).cellType;
58479
+ return "radio" === seriesHeaderCellType ? "text" : seriesHeaderCellType;
58480
+ }
58481
+ return cellType = this.isHeader(col, row) ? this.internalProps.layoutMap.getHeader(col, row).headerType : this.internalProps.layoutMap.getBody(col, row).cellType, getProp("cellType", {
58426
58482
  cellType: cellType
58427
- }, col, row, this));
58483
+ }, col, row, this);
58428
58484
  }
58429
58485
  getHeaderField(col, row) {
58430
58486
  return this.internalProps.layoutMap.getHeaderField(col, row);
@@ -62384,7 +62440,7 @@
62384
62440
  setRecords(records, option) {
62385
62441
  var _a, _b, _c, _d, _e;
62386
62442
  let sort;
62387
- clearChartRenderQueue(), null === (_a = this.internalProps.dataSource) || void 0 === _a || _a.release(), this.internalProps.releaseList = null === (_b = this.internalProps.releaseList) || void 0 === _b ? void 0 : _b.filter(item => !item.dataSourceObj), this.internalProps.dataSource = null, Array.isArray(option) || (null == option ? void 0 : option.order) ? sort = option : option ? sort = option.sortState : null === option && (sort = null);
62443
+ this.stateManager.endResizeIfResizing(), clearChartRenderQueue(), null === (_a = this.internalProps.dataSource) || void 0 === _a || _a.release(), this.internalProps.releaseList = null === (_b = this.internalProps.releaseList) || void 0 === _b ? void 0 : _b.filter(item => !item.dataSourceObj), this.internalProps.dataSource = null, Array.isArray(option) || (null == option ? void 0 : option.order) ? sort = option : option ? sort = option.sortState : null === option && (sort = null);
62388
62444
  "undefined" != typeof window && window.performance.now();
62389
62445
  const oldHoverState = {
62390
62446
  col: this.stateManager.hover.cellPos.col,