@visactor/vtable-calendar 1.16.2 → 1.16.3-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.
@@ -43831,7 +43831,7 @@
43831
43831
  !1 !== (null === (_a = table.eventOptions) || void 0 === _a ? void 0 : _a.preventDefaultContextMenu) && e.preventDefault();
43832
43832
  }), table.options.canvas || handler.on(table.getContainer(), "resize", e => {
43833
43833
  var _a;
43834
- 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()), e.windowSizeNotChange || table.resize());
43834
+ 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()), e.windowSizeNotChange || table.resize());
43835
43835
  });
43836
43836
  const regex = /<tr[^>]*>([\s\S]*?)<\/tr>/g,
43837
43837
  cellRegex = /<td[^>]*>([\s\S]*?)<\/td>/g;
@@ -46990,7 +46990,7 @@
46990
46990
  constructor(container) {
46991
46991
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
46992
46992
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
46993
- if (super(), this.showFrozenIcon = !0, this.version = "1.16.2", 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");
46993
+ if (super(), this.showFrozenIcon = !0, this.version = "1.16.3-alpha.0", 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");
46994
46994
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
46995
46995
  const {
46996
46996
  frozenColCount = 0,
@@ -47329,7 +47329,8 @@
47329
47329
  return this.internalProps.pixelRatio;
47330
47330
  }
47331
47331
  setPixelRatio(pixelRatio) {
47332
- if (pixelRatio !== this.internalProps.pixelRatio) {
47332
+ var _a;
47333
+ if (pixelRatio !== (null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.pixelRatio)) {
47333
47334
  this.internalProps.pixelRatio = pixelRatio;
47334
47335
  const canvasWidth = this.canvasWidth;
47335
47336
  this.internalProps.calcWidthContext = {