@visactor/vtable-calendar 1.17.3-alpha.13 → 1.17.3-alpha.14
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
|
@@ -37609,18 +37609,9 @@
|
|
|
37609
37609
|
var _a;
|
|
37610
37610
|
const vChart = chart.activeChartInstance;
|
|
37611
37611
|
if (!vChart) return !1;
|
|
37612
|
-
const matrix = chart.parent.globalTransMatrix.clone(),
|
|
37613
|
-
stageMatrix = chart.stage.window.getViewBoxTransform();
|
|
37614
|
-
matrix.multiply(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f);
|
|
37615
|
-
const nextP = {
|
|
37616
|
-
x: 0,
|
|
37617
|
-
y: 0
|
|
37618
|
-
};
|
|
37619
|
-
matrix.getInverse().transformPoint(point, nextP);
|
|
37620
37612
|
const vchartStage = vChart.getStage();
|
|
37621
37613
|
null === (_a = vchartStage.dirtyBounds) || void 0 === _a || _a.clear();
|
|
37622
|
-
vchartStage.
|
|
37623
|
-
const pick = vchartStage.pick(nextP.x, nextP.y);
|
|
37614
|
+
const pick = vchartStage.pick(point.x, point.y);
|
|
37624
37615
|
return (null !== pick.graphic || "root" !== pick.group.name) && pick;
|
|
37625
37616
|
}
|
|
37626
37617
|
};
|
|
@@ -47638,7 +47629,7 @@
|
|
|
47638
47629
|
constructor(container) {
|
|
47639
47630
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
47640
47631
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
47641
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.
|
|
47632
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.17.3-alpha.14", 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");
|
|
47642
47633
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
47643
47634
|
const {
|
|
47644
47635
|
frozenColCount = 0,
|