@visactor/vtable-calendar 1.11.6-alpha.0 → 1.11.6-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.
package/dist/vtable-calendar.js
CHANGED
|
@@ -45576,7 +45576,7 @@
|
|
|
45576
45576
|
constructor(container) {
|
|
45577
45577
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
45578
45578
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
45579
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.11.6-alpha.
|
|
45579
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.11.6-alpha.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");
|
|
45580
45580
|
const {
|
|
45581
45581
|
frozenColCount = 0,
|
|
45582
45582
|
frozenRowCount: frozenRowCount,
|
|
@@ -49669,7 +49669,7 @@
|
|
|
49669
49669
|
}
|
|
49670
49670
|
_refreshHierarchyState(col, row) {
|
|
49671
49671
|
let recalculateColWidths = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
|
|
49672
|
-
var _a;
|
|
49672
|
+
var _a, _b, _c;
|
|
49673
49673
|
let notFillWidth = !1,
|
|
49674
49674
|
notFillHeight = !1;
|
|
49675
49675
|
const checkHasChart = this.internalProps.layoutMap.checkHasChart();
|
|
@@ -49694,7 +49694,7 @@
|
|
|
49694
49694
|
});
|
|
49695
49695
|
diffPositions.removeCellPositions = [], this.scenegraph.proxy.refreshRowCount();
|
|
49696
49696
|
}
|
|
49697
|
-
this.scenegraph.updateRow(diffPositions.removeCellPositions, diffPositions.addCellPositions, updateCells, recalculateColWidths), checkHasChart && (this.autoFillWidth && !notFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth), this.autoFillHeight && !notFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight), ("adaptive" === this.widthMode || notFillWidth || "adaptive" === this.heightMode || notFillHeight) && this.scenegraph.updateChartSizeForResizeColWidth(-1));
|
|
49697
|
+
null === (_b = this.reactCustomLayout) || void 0 === _b || _b.clearCache(), this.scenegraph.updateRow(diffPositions.removeCellPositions, diffPositions.addCellPositions, updateCells, recalculateColWidths), null === (_c = this.reactCustomLayout) || void 0 === _c || _c.updateAllCustomCell(), checkHasChart && (this.autoFillWidth && !notFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth), this.autoFillHeight && !notFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight), ("adaptive" === this.widthMode || notFillWidth || "adaptive" === this.heightMode || notFillHeight) && this.scenegraph.updateChartSizeForResizeColWidth(-1));
|
|
49698
49698
|
}
|
|
49699
49699
|
_hasHierarchyTreeHeader() {
|
|
49700
49700
|
var _a, _b;
|