@visactor/vtable-calendar 1.16.0-alpha.0 → 1.16.0-alpha.1
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.
package/dist/vtable-calendar.js
CHANGED
|
@@ -46924,7 +46924,7 @@
|
|
|
46924
46924
|
constructor(container) {
|
|
46925
46925
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46926
46926
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
46927
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.16.0-alpha.
|
|
46927
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.16.0-alpha.1", 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");
|
|
46928
46928
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
46929
46929
|
const {
|
|
46930
46930
|
frozenColCount = 0,
|
|
@@ -47824,6 +47824,7 @@
|
|
|
47824
47824
|
this.clearCellStyleCache(), this.clearColWidthCache(), this.clearRowHeightCache(), internalProps.customMergeCell = getCustomMergeCellFunc(options.customMergeCell), null === (_l = this.customCellStylePlugin) || void 0 === _l || _l.updateCustomCell(null !== (_m = options.customCellStyle) && void 0 !== _m ? _m : [], null !== (_o = options.customCellStyleArrangement) && void 0 !== _o ? _o : []), this._adjustCanvasSizeByOption();
|
|
47825
47825
|
}
|
|
47826
47826
|
renderWithRecreateCells() {
|
|
47827
|
+
this.internalProps.stick.changedCells.clear();
|
|
47827
47828
|
const oldHoverState = {
|
|
47828
47829
|
col: this.stateManager.hover.cellPos.col,
|
|
47829
47830
|
row: this.stateManager.hover.cellPos.row
|