@visactor/vtable-calendar 1.17.3 → 1.17.4-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
|
@@ -41525,6 +41525,7 @@
|
|
|
41525
41525
|
}
|
|
41526
41526
|
|
|
41527
41527
|
function updateHoverPosition(state, col, row) {
|
|
41528
|
+
var _a;
|
|
41528
41529
|
const {
|
|
41529
41530
|
table: table
|
|
41530
41531
|
} = state,
|
|
@@ -41546,7 +41547,7 @@
|
|
|
41546
41547
|
scenegraph.hideHoverIcon(prevHoverCellCol, prevHoverCellRow), scenegraph.showHoverIcon(col, row), cellPosContainHeader.col = col, cellPosContainHeader.row = row;
|
|
41547
41548
|
}
|
|
41548
41549
|
if ((disableHeader && table.isHeader(col, row) || highlightScope === HighlightScope.none) && (col = -1, row = -1), prevHoverCellCol === col && prevHoverCellRow === row) return;
|
|
41549
|
-
scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow), scenegraph.activateChart(col, row);
|
|
41550
|
+
(null === (_a = state.table.options.customConfig) || void 0 === _a ? void 0 : _a.disableBuildInChartActive) || (scenegraph.deactivateChart(prevHoverCellCol, prevHoverCellRow), scenegraph.activateChart(col, row));
|
|
41550
41551
|
let updateScenegraph = !1;
|
|
41551
41552
|
const {
|
|
41552
41553
|
ranges: ranges,
|
|
@@ -47606,7 +47607,7 @@
|
|
|
47606
47607
|
constructor(container) {
|
|
47607
47608
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47608
47609
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47609
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.
|
|
47610
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-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");
|
|
47610
47611
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47611
47612
|
const {
|
|
47612
47613
|
frozenColCount = 0,
|