@visactor/vtable 0.13.2 → 0.13.4-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.
@@ -45,7 +45,7 @@ class BaseTable extends EventTarget_1.EventTarget {
45
45
  }
46
46
  constructor(container, options = {}) {
47
47
  var _a, _b, _c, _d, _e, _f, _g;
48
- if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.13.2",
48
+ if (super(), this.showFrozenIcon = !0, this.showSort = !0, this.version = "0.13.4-alpha.0",
49
49
  this.id = `VTable${Date.now()}`, this.isReleased = !1, this.throttleInvalidate = (0,
50
50
  util_1.throttle2)(this.render.bind(this), 200), !container && "node" !== options.mode) throw new Error("vtable's container is undefined");
51
51
  const {frozenColCount: frozenColCount = 0, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, autoFillHeight: autoFillHeight = !1, keyboardOptions: keyboardOptions, columnResizeMode: columnResizeMode, dragHeaderMode: dragHeaderMode, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = pixel_ratio_1.defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight} = options;
@@ -505,7 +505,7 @@ class BaseTable extends EventTarget_1.EventTarget {
505
505
  return this.getCellsRectWidth(cellRange.start.col, cellRange.start.row, cellRange.end.col, cellRange.end.row);
506
506
  }
507
507
  isFrozenCell(col, row) {
508
- const isFrozenRow = this.isFrozenRow(row) || this.isBottomFrozenRow(row), isFrozenCol = this.isFrozenRow(col) || this.isRightFrozenColumn(col);
508
+ const isFrozenRow = this.isFrozenRow(row) || this.isBottomFrozenRow(row), isFrozenCol = this.isFrozenColumn(col) || this.isRightFrozenColumn(col);
509
509
  return isFrozenRow || isFrozenCol ? {
510
510
  row: isFrozenRow,
511
511
  col: isFrozenCol