@visactor/vtable 1.5.4-alpha.0 → 1.5.4-alpha.2

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.
@@ -36,7 +36,7 @@ import { createCellSelectBorder } from "./select/create-select-border";
36
36
 
37
37
  import { moveSelectingRangeComponentsToSelectedRangeComponents } from "./select/move-select-border";
38
38
 
39
- import { deleteAllSelectBorder, deleteLastSelectedRangeComponents, removeFillHandleFromSelectComponents } from "./select/delete-select-border";
39
+ import { deleteAllSelectBorder, deleteAllSelectingBorder, deleteLastSelectedRangeComponents, removeFillHandleFromSelectComponents } from "./select/delete-select-border";
40
40
 
41
41
  import { updateRow } from "./layout/update-row";
42
42
 
@@ -210,7 +210,8 @@ export class Scenegraph {
210
210
  this.component.updateStyle();
211
211
  }
212
212
  createSceneGraph(skipRowHeightClear = !1) {
213
- skipRowHeightClear || this.table.rowHeightsMap.clear(), (this.table.isPivotChart() || this.table._hasCustomRenderOrLayout()) && this.stage.pluginService.autoEnablePlugins.getContributions().forEach((p => {
213
+ skipRowHeightClear || (this.table.rowHeightsMap.clear(), this.table.internalProps.layoutMap.clearCellRangeMap()),
214
+ (this.table.isPivotChart() || this.table._hasCustomRenderOrLayout()) && this.stage.pluginService.autoEnablePlugins.getContributions().forEach((p => {
214
215
  "poptipForText" === p.name && this.stage.pluginService.register(p);
215
216
  })), this.clear = !1, this.frozenColCount = this.table.frozenColCount, this.frozenRowCount = this.table.frozenRowCount,
216
217
  this.proxy = new SceneProxy(this.table), createFrameBorder(this.tableGroup, this.table.theme.frameStyle, this.tableGroup.role, void 0, !0),
@@ -332,7 +333,7 @@ export class Scenegraph {
332
333
  deleteLastSelectedRangeComponents(this);
333
334
  }
334
335
  deleteAllSelectBorder() {
335
- deleteAllSelectBorder(this);
336
+ deleteAllSelectBorder(this), deleteAllSelectingBorder(this);
336
337
  }
337
338
  updateCellSelectBorder(selectRange, extendSelectRange = !0) {
338
339
  updateCellSelectBorder(this, selectRange, extendSelectRange);