@visactor/vtable-gantt 1.7.4 → 1.7.5-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/cjs/scenegraph/mark-line.js +2 -1
- package/cjs/scenegraph/scroll-bar.js +1 -2
- package/cjs/tools/dom.js +1 -2
- package/cjs/ts-types/events.js +2 -1
- package/dist/vtable-gantt.js +3 -3
- 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/es/scenegraph/mark-line.js +2 -1
- package/es/scenegraph/scroll-bar.js +1 -2
- package/es/tools/dom.js +1 -2
- package/es/ts-types/events.js +2 -1
- package/package.json +6 -6
package/cjs/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as TYPES from './ts-types';
|
|
|
3
3
|
import type { ColumnDefine, ColumnsDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType } from '@visactor/vtable';
|
|
4
4
|
import { Gantt } from './Gantt';
|
|
5
5
|
import * as tools from './tools';
|
|
6
|
-
export declare const version = "1.7.
|
|
6
|
+
export declare const version = "1.7.5-alpha.0";
|
|
7
7
|
export { TYPES, GanttConstructorOptions, Gantt, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, tools };
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAqBlC,sBAAK;AAPP,mCAAgC;AAS9B,sFATO,aAAK,OASP;AARP,+CAAiC;AAoB/B,sBAAK;AAnBM,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAqBlC,sBAAK;AAPP,mCAAgC;AAS9B,sFATO,aAAK,OASP;AARP,+CAAiC;AAoB/B,sBAAK;AAnBM,QAAA,OAAO,GAAG,eAAe,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';\nexport const version = \"1.7.5-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};\n"]}
|
package/cjs/tools/dom.js
CHANGED
|
@@ -7,5 +7,4 @@ function createElement(tagName, classNames) {
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", {
|
|
9
9
|
value: !0
|
|
10
|
-
}), exports.createElement = void 0, exports.createElement = createElement;
|
|
11
|
-
//# sourceMappingURL=dom.js.map
|
|
10
|
+
}), exports.createElement = void 0, exports.createElement = createElement;
|
package/cjs/ts-types/events.js
CHANGED
package/dist/vtable-gantt.js
CHANGED
|
@@ -24455,7 +24455,7 @@
|
|
|
24455
24455
|
}
|
|
24456
24456
|
value() {
|
|
24457
24457
|
var _a;
|
|
24458
|
-
return (null === (_a = this.records) || void 0 === _a ? void 0 : _a.length) >= 1 ? this.sum :
|
|
24458
|
+
return (null === (_a = this.records) || void 0 === _a ? void 0 : _a.length) >= 1 ? this.sum : 0;
|
|
24459
24459
|
}
|
|
24460
24460
|
positiveValue() {
|
|
24461
24461
|
return this.positiveSum;
|
|
@@ -38615,7 +38615,7 @@
|
|
|
38615
38615
|
constructor(container) {
|
|
38616
38616
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
38617
38617
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
38618
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.7.
|
|
38618
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.7.5-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");
|
|
38619
38619
|
const {
|
|
38620
38620
|
frozenColCount = 0,
|
|
38621
38621
|
frozenRowCount: frozenRowCount,
|
|
@@ -44925,7 +44925,7 @@
|
|
|
44925
44925
|
getWeekday: getWeekday
|
|
44926
44926
|
});
|
|
44927
44927
|
|
|
44928
|
-
const version = "1.7.
|
|
44928
|
+
const version = "1.7.5-alpha.0";
|
|
44929
44929
|
|
|
44930
44930
|
exports.Gantt = Gantt;
|
|
44931
44931
|
exports.TYPES = index$1;
|