@xpyjs/gantt-core 0.0.1-rc.4 → 0.0.1-rc.5
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/x-gantt.js +442 -438
- package/dist/x-gantt.umd.cjs +2 -2
- package/package.json +1 -1
- package/types/rendering/Renderer.d.ts +1 -0
- package/types/types/options.d.ts +7 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpyjs/gantt-core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.5",
|
|
5
5
|
"description": "A powerful and flexible Gantt chart component library for modern web applications with TypeScript support",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/x-gantt.umd.cjs",
|
package/types/types/options.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ export interface IGanttOptions {
|
|
|
11
11
|
/** 日志 level。 默认 info */
|
|
12
12
|
logLevel?: "debug" | "info" | "warn" | "error" | "none";
|
|
13
13
|
|
|
14
|
+
/** 配置 resize 规则 */
|
|
15
|
+
resize?: {
|
|
16
|
+
/** 是否启用自适应 */
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
14
20
|
/** 源数据 */
|
|
15
21
|
data: any[];
|
|
16
22
|
|
|
@@ -287,7 +293,7 @@ export interface IGanttOptions {
|
|
|
287
293
|
/** 差异显示模式 */
|
|
288
294
|
mode: 'highlight' | 'indicator' | 'both';
|
|
289
295
|
/** 以何种基准展示对比。基线高亮只会以一种(起始/结束)基线进行对比。默认以结束时间为基准('end') */
|
|
290
|
-
target: 'start' | 'end'
|
|
296
|
+
target: 'start' | 'end';
|
|
291
297
|
|
|
292
298
|
/** 超期任务的高亮配置 */
|
|
293
299
|
delayed: {
|