@visactor/vtable-calendar 1.22.7-alpha.1 → 1.22.7-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
|
@@ -56017,8 +56017,8 @@
|
|
|
56017
56017
|
this.register(plugin), this._bindTableEventForPlugin(plugin);
|
|
56018
56018
|
});
|
|
56019
56019
|
}
|
|
56020
|
-
updatePlugins() {
|
|
56021
|
-
|
|
56020
|
+
updatePlugins(plugins) {
|
|
56021
|
+
null == plugins || plugins.forEach(plugin => {
|
|
56022
56022
|
plugin.update && plugin.update();
|
|
56023
56023
|
});
|
|
56024
56024
|
}
|
|
@@ -56044,7 +56044,7 @@
|
|
|
56044
56044
|
}
|
|
56045
56045
|
constructor(container, options = {}) {
|
|
56046
56046
|
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;
|
|
56047
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-alpha.
|
|
56047
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-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");
|
|
56048
56048
|
this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
|
|
56049
56049
|
options: options,
|
|
56050
56050
|
container: container
|
|
@@ -61494,7 +61494,7 @@
|
|
|
61494
61494
|
const EmptyTip = Factory.getComponent("emptyTip");
|
|
61495
61495
|
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this), null === (_j = this.internalProps.emptyTip) || void 0 === _j || _j.resetVisible();
|
|
61496
61496
|
}
|
|
61497
|
-
return this.pluginManager.updatePlugins(), setTimeout(() => {
|
|
61497
|
+
return this.pluginManager.updatePlugins(options.plugins), setTimeout(() => {
|
|
61498
61498
|
this.fireListeners(TABLE_EVENT_TYPE.UPDATED, null);
|
|
61499
61499
|
}, 0), new Promise(resolve => {
|
|
61500
61500
|
setTimeout(resolve, 0);
|