@visactor/vtable-calendar 1.16.2-alpha.1 → 1.16.2-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
|
@@ -46094,7 +46094,7 @@
|
|
|
46094
46094
|
right: 0,
|
|
46095
46095
|
width: 0
|
|
46096
46096
|
};
|
|
46097
|
-
if (isConsider && absoluteX > _this.tableNoFrameWidth - _this.getRightFrozenColsWidth() && absoluteX < _this.tableNoFrameWidth && absoluteX <= _this.getAllColsWidth()) for (let i = 0; i < _this.rightFrozenColCount; i++) if (absoluteX > _this.tableNoFrameWidth - _this.getColsWidth(_this.colCount - i - 1, _this.colCount - 1)) return {
|
|
46097
|
+
if (absoluteX -= _this.tableX, isConsider && absoluteX > _this.tableNoFrameWidth - _this.getRightFrozenColsWidth() && absoluteX < _this.tableNoFrameWidth && absoluteX <= _this.getAllColsWidth()) for (let i = 0; i < _this.rightFrozenColCount; i++) if (absoluteX > _this.tableNoFrameWidth - _this.getColsWidth(_this.colCount - i - 1, _this.colCount - 1)) return {
|
|
46098
46098
|
col: _this.colCount - i - 1,
|
|
46099
46099
|
left: void 0,
|
|
46100
46100
|
right: void 0,
|
|
@@ -46146,8 +46146,8 @@
|
|
|
46146
46146
|
y > _this.tableNoFrameHeight - _this.getBottomFrozenRowsHeight() && y < _this.tableNoFrameHeight && y <= _this.getAllRowsHeight() && (bottomFrozen = !0);
|
|
46147
46147
|
let rightFrozen = !1;
|
|
46148
46148
|
x > _this.tableNoFrameWidth - _this.getRightFrozenColsWidth() && x < _this.tableNoFrameWidth && x <= _this.getAllColsWidth() && (rightFrozen = !0);
|
|
46149
|
-
const colInfo = getTargetColAtConsiderRightFrozen(leftFrozen || rightFrozen ? x : x + _this.scrollLeft, rightFrozen, _this),
|
|
46150
|
-
rowInfo = getTargetRowAtConsiderBottomFrozen(topFrozen || bottomFrozen ? y : y + _this.scrollTop, bottomFrozen, _this);
|
|
46149
|
+
const colInfo = getTargetColAtConsiderRightFrozen((leftFrozen || rightFrozen ? x : x + _this.scrollLeft) + _this.tableX, rightFrozen, _this),
|
|
46150
|
+
rowInfo = getTargetRowAtConsiderBottomFrozen((topFrozen || bottomFrozen ? y : y + _this.scrollTop) + _this.tableY, bottomFrozen, _this);
|
|
46151
46151
|
if (colInfo && rowInfo) {
|
|
46152
46152
|
const {
|
|
46153
46153
|
row: row,
|
|
@@ -46989,7 +46989,7 @@
|
|
|
46989
46989
|
constructor(container) {
|
|
46990
46990
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
46991
46991
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
46992
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.16.2-alpha.
|
|
46992
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.16.2-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");
|
|
46993
46993
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
46994
46994
|
const {
|
|
46995
46995
|
frozenColCount = 0,
|