@visactor/vtable-calendar 1.19.9-alpha.0 → 1.19.9-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
|
@@ -42391,7 +42391,10 @@
|
|
|
42391
42391
|
const formatResult = table.options.specFormat(chart.attribute.spec, chartInstance, chart);
|
|
42392
42392
|
if (formatResult.needFormatSpec && formatResult.spec) {
|
|
42393
42393
|
const spec = formatResult.spec;
|
|
42394
|
-
chartInstance.updateSpecSync(spec
|
|
42394
|
+
chartInstance.updateSpecSync(spec, !1, {
|
|
42395
|
+
reuse: !1,
|
|
42396
|
+
morph: !1
|
|
42397
|
+
}), updateSpec = null === (_a = formatResult.updateSpec) || void 0 === _a || _a;
|
|
42395
42398
|
}
|
|
42396
42399
|
}
|
|
42397
42400
|
if (!updateSpec) if (null == axes || axes.forEach((axis, index) => {
|
|
@@ -42547,7 +42550,10 @@
|
|
|
42547
42550
|
const formatResult = table.options.specFormat(chart.attribute.spec, activeChartInstance, chart);
|
|
42548
42551
|
if (formatResult.needFormatSpec && formatResult.spec) {
|
|
42549
42552
|
const spec = formatResult.spec;
|
|
42550
|
-
activeChartInstance.updateSpecSync(spec
|
|
42553
|
+
activeChartInstance.updateSpecSync(spec, !1, {
|
|
42554
|
+
reuse: !1,
|
|
42555
|
+
morph: !1
|
|
42556
|
+
});
|
|
42551
42557
|
}
|
|
42552
42558
|
}
|
|
42553
42559
|
const viewBox = chart.getViewBox();
|
|
@@ -43313,7 +43319,13 @@
|
|
|
43313
43319
|
this.type = "chart", this.numberType = CHART_NUMBER_TYPE;
|
|
43314
43320
|
}
|
|
43315
43321
|
contains(chart, point, params) {
|
|
43316
|
-
|
|
43322
|
+
var _a;
|
|
43323
|
+
const vChart = chart.activeChartInstance;
|
|
43324
|
+
if (!vChart) return !1;
|
|
43325
|
+
const vchartStage = vChart.getStage();
|
|
43326
|
+
null === (_a = vchartStage.dirtyBounds) || void 0 === _a || _a.clear();
|
|
43327
|
+
const pick = vchartStage.pick(point.x, point.y);
|
|
43328
|
+
return (null !== pick.graphic || "root" !== pick.group.name) && pick;
|
|
43317
43329
|
}
|
|
43318
43330
|
};
|
|
43319
43331
|
VChartPicker = __decorate([injectable()], VChartPicker);
|
|
@@ -53782,7 +53794,7 @@
|
|
|
53782
53794
|
}
|
|
53783
53795
|
constructor(container, options = {}) {
|
|
53784
53796
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
53785
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.19.9-alpha.
|
|
53797
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.19.9-alpha.2", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
53786
53798
|
this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
|
|
53787
53799
|
options: options,
|
|
53788
53800
|
container: container
|
|
@@ -58784,7 +58796,7 @@
|
|
|
58784
58796
|
this.listTreeStickCellPlugin = new ListTreeStickCellPlugin(this);
|
|
58785
58797
|
}
|
|
58786
58798
|
setTimeout(() => {
|
|
58787
|
-
this.
|
|
58799
|
+
this.resize(), this.fireListeners(TABLE_EVENT_TYPE.INITIALIZED, null);
|
|
58788
58800
|
}, 0);
|
|
58789
58801
|
}
|
|
58790
58802
|
isListTable() {
|