@visactor/vtable-gantt 1.22.7-alpha.1 → 1.22.7-alpha.3
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/cjs/event/touch.js +0 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/plugins/index.js +2 -1
- package/dist/vtable-gantt.js +5 -5
- package/dist/vtable-gantt.min.js +2 -2
- package/es/event/touch.js +1 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/plugins/index.js +2 -1
- package/package.json +3 -3
package/cjs/event/touch.js
CHANGED
package/cjs/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as tools from './tools';
|
|
|
6
6
|
import * as VRender from './vrender';
|
|
7
7
|
import * as VTable from './vtable';
|
|
8
8
|
import * as plugins from './plugins';
|
|
9
|
-
export declare const version = "1.22.7-alpha.
|
|
9
|
+
export declare const version = "1.22.7-alpha.3";
|
|
10
10
|
export { TYPES, GanttConstructorOptions, Gantt, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, tools, VRender, VTable, plugins };
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAwBlC,sBAAK;AAVP,mCAAgC;AAY9B,sFAZO,aAAK,OAYP;AAXP,+CAAiC;AAuB/B,sBAAK;AAtBP,mDAAqC;AAuBnC,0BAAO;AAtBT,iDAAmC;AAuBjC,wBAAM;AAtBR,mDAAqC;AAuBnC,0BAAO;AAtBI,QAAA,OAAO,GAAG,gBAAgB,CAAC","file":"index.js","sourcesContent":["import type { GanttConstructorOptions } from './ts-types';\nimport * as TYPES from './ts-types';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType\n} from '@visactor/vtable';\nimport { Gantt } from './Gantt';\nimport * as tools from './tools';\nimport * as VRender from './vrender';\nimport * as VTable from './vtable';\nimport * as plugins from './plugins';\nexport const version = \"1.22.7-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAwBlC,sBAAK;AAVP,mCAAgC;AAY9B,sFAZO,aAAK,OAYP;AAXP,+CAAiC;AAuB/B,sBAAK;AAtBP,mDAAqC;AAuBnC,0BAAO;AAtBT,iDAAmC;AAuBjC,wBAAM;AAtBR,mDAAqC;AAuBnC,0BAAO;AAtBI,QAAA,OAAO,GAAG,gBAAgB,CAAC","file":"index.js","sourcesContent":["import type { GanttConstructorOptions } from './ts-types';\nimport * as TYPES from './ts-types';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType\n} from '@visactor/vtable';\nimport { Gantt } from './Gantt';\nimport * as tools from './tools';\nimport * as VRender from './vrender';\nimport * as VTable from './vtable';\nimport * as plugins from './plugins';\nexport const version = \"1.22.7-alpha.3\";\n/**\n * @namespace VTableGantt\n */\nexport {\n TYPES,\n GanttConstructorOptions,\n Gantt,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n tools,\n VRender,\n VTable,\n plugins\n};\n"]}
|
package/cjs/plugins/index.js
CHANGED
package/dist/vtable-gantt.js
CHANGED
|
@@ -59867,8 +59867,8 @@
|
|
|
59867
59867
|
this.register(plugin), this._bindTableEventForPlugin(plugin);
|
|
59868
59868
|
});
|
|
59869
59869
|
}
|
|
59870
|
-
updatePlugins() {
|
|
59871
|
-
|
|
59870
|
+
updatePlugins(plugins) {
|
|
59871
|
+
null == plugins || plugins.forEach(plugin => {
|
|
59872
59872
|
plugin.update && plugin.update();
|
|
59873
59873
|
});
|
|
59874
59874
|
}
|
|
@@ -59894,7 +59894,7 @@
|
|
|
59894
59894
|
}
|
|
59895
59895
|
constructor(container, options = {}) {
|
|
59896
59896
|
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;
|
|
59897
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-alpha.
|
|
59897
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-alpha.3", 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");
|
|
59898
59898
|
this.pluginManager = new PluginManager$1(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
|
|
59899
59899
|
options: options,
|
|
59900
59900
|
container: container
|
|
@@ -65380,7 +65380,7 @@
|
|
|
65380
65380
|
const EmptyTip = Factory.getComponent("emptyTip");
|
|
65381
65381
|
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this), null === (_j = this.internalProps.emptyTip) || void 0 === _j || _j.resetVisible();
|
|
65382
65382
|
}
|
|
65383
|
-
return this.pluginManager.updatePlugins(), setTimeout(() => {
|
|
65383
|
+
return this.pluginManager.updatePlugins(options.plugins), setTimeout(() => {
|
|
65384
65384
|
this.fireListeners(TABLE_EVENT_TYPE.UPDATED, null);
|
|
65385
65385
|
}, 0), new Promise(resolve => {
|
|
65386
65386
|
setTimeout(resolve, 0);
|
|
@@ -77823,7 +77823,7 @@
|
|
|
77823
77823
|
PluginManager: PluginManager
|
|
77824
77824
|
});
|
|
77825
77825
|
|
|
77826
|
-
const version = "1.22.7-alpha.
|
|
77826
|
+
const version = "1.22.7-alpha.3";
|
|
77827
77827
|
|
|
77828
77828
|
exports.Gantt = Gantt;
|
|
77829
77829
|
exports.TYPES = index$4;
|