@visactor/vtable-gantt 1.16.2 → 1.16.3-alpha.0
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/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/vtable-gantt.js +5 -4
- package/dist/vtable-gantt.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/cjs/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import { Gantt } from './Gantt';
|
|
|
5
5
|
import * as tools from './tools';
|
|
6
6
|
import * as VRender from './vrender';
|
|
7
7
|
import * as VTable from './vtable';
|
|
8
|
-
export declare const version = "1.16.
|
|
8
|
+
export declare const version = "1.16.3-alpha.0";
|
|
9
9
|
export { TYPES, GanttConstructorOptions, Gantt, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, tools, VRender, VTable };
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAuBlC,sBAAK;AATP,mCAAgC;AAW9B,sFAXO,aAAK,OAWP;AAVP,+CAAiC;AAsB/B,sBAAK;AArBP,mDAAqC;AAsBnC,0BAAO;AArBT,iDAAmC;AAsBjC,wBAAM;AArBK,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAuBlC,sBAAK;AATP,mCAAgC;AAW9B,sFAXO,aAAK,OAWP;AAVP,+CAAiC;AAsB/B,sBAAK;AArBP,mDAAqC;AAsBnC,0BAAO;AArBT,iDAAmC;AAsBjC,wBAAM;AArBK,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';\nexport const version = \"1.16.3-alpha.0\";\n/**\n * @namespace VTable\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};\n"]}
|
package/dist/vtable-gantt.js
CHANGED
|
@@ -48330,7 +48330,7 @@
|
|
|
48330
48330
|
!1 !== (null === (_a = table.eventOptions) || void 0 === _a ? void 0 : _a.preventDefaultContextMenu) && e.preventDefault();
|
|
48331
48331
|
}), table.options.canvas || handler.on(table.getContainer(), "resize", e => {
|
|
48332
48332
|
var _a;
|
|
48333
|
-
0 === e.width && 0 === e.height || ((table.autoFillWidth || table.autoFillHeight) && (null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit()), isValid$3(table.options.pixelRatio) || table.setPixelRatio(getPixelRatio$1()), e.windowSizeNotChange || table.resize());
|
|
48333
|
+
table.isReleased || 0 === e.width && 0 === e.height || ((table.autoFillWidth || table.autoFillHeight) && (null === (_a = table.editorManager) || void 0 === _a || _a.completeEdit()), isValid$3(table.options.pixelRatio) || table.setPixelRatio(getPixelRatio$1()), e.windowSizeNotChange || table.resize());
|
|
48334
48334
|
});
|
|
48335
48335
|
const regex = /<tr[^>]*>([\s\S]*?)<\/tr>/g,
|
|
48336
48336
|
cellRegex = /<td[^>]*>([\s\S]*?)<\/td>/g;
|
|
@@ -51489,7 +51489,7 @@
|
|
|
51489
51489
|
constructor(container) {
|
|
51490
51490
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
51491
51491
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
51492
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.16.
|
|
51492
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.16.3-alpha.0", 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");
|
|
51493
51493
|
!1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
|
|
51494
51494
|
const {
|
|
51495
51495
|
frozenColCount = 0,
|
|
@@ -51828,7 +51828,8 @@
|
|
|
51828
51828
|
return this.internalProps.pixelRatio;
|
|
51829
51829
|
}
|
|
51830
51830
|
setPixelRatio(pixelRatio) {
|
|
51831
|
-
|
|
51831
|
+
var _a;
|
|
51832
|
+
if (pixelRatio !== (null === (_a = this.internalProps) || void 0 === _a ? void 0 : _a.pixelRatio)) {
|
|
51832
51833
|
this.internalProps.pixelRatio = pixelRatio;
|
|
51833
51834
|
const canvasWidth = this.canvasWidth;
|
|
51834
51835
|
this.internalProps.calcWidthContext = {
|
|
@@ -64025,7 +64026,7 @@
|
|
|
64025
64026
|
themes: themes$1
|
|
64026
64027
|
});
|
|
64027
64028
|
|
|
64028
|
-
const version = "1.16.
|
|
64029
|
+
const version = "1.16.3-alpha.0";
|
|
64029
64030
|
|
|
64030
64031
|
exports.Gantt = Gantt;
|
|
64031
64032
|
exports.TYPES = index$3;
|