vxe-gantt 3.9.0 → 3.9.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/es/components.d.ts +6 -0
- package/es/components.js +11 -9
- package/es/gantt/index.d.ts +1421 -0
- package/es/gantt/index.js +27 -22
- package/es/gantt/src/gantt-body.d.ts +19 -0
- package/es/gantt/src/gantt-body.js +291 -288
- package/es/gantt/src/gantt-chart.d.ts +19 -0
- package/es/gantt/src/gantt-chart.js +486 -495
- package/es/gantt/src/gantt-footer.d.ts +16 -0
- package/es/gantt/src/gantt-footer.js +62 -57
- package/es/gantt/src/gantt-header.d.ts +16 -0
- package/es/gantt/src/gantt-header.js +172 -174
- package/es/gantt/src/gantt-view.d.ts +76 -0
- package/es/gantt/src/gantt-view.js +2437 -2512
- package/es/gantt/src/gantt.d.ts +729 -0
- package/es/gantt/src/gantt.js +2815 -2858
- package/es/gantt/src/static.d.ts +34 -0
- package/es/gantt/src/static.js +16 -36
- package/es/gantt/src/util.d.ts +9 -0
- package/es/gantt/src/util.js +28 -19
- package/es/gantt/style.css +1 -1
- package/es/gantt/style.mini.css +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.esm.js +6 -6
- package/es/index.js +6 -0
- package/es/ui/index.d.ts +3 -0
- package/es/ui/index.js +123 -120
- package/es/ui/src/comp.d.ts +2 -0
- package/es/ui/src/comp.js +4 -1
- package/es/ui/src/depend.d.ts +1 -0
- package/es/ui/src/depend.js +14 -12
- package/es/ui/src/dom.d.ts +49 -0
- package/es/ui/src/dom.js +180 -169
- package/es/ui/src/log.d.ts +6 -0
- package/es/ui/src/log.js +18 -13
- package/es/ui/src/utils.d.ts +21 -0
- package/es/ui/src/utils.js +60 -62
- package/es/ui/src/vn.d.ts +2 -0
- package/es/ui/src/vn.js +12 -9
- package/es/vxe-gantt/index.d.ts +3 -0
- package/es/vxe-gantt/index.js +6 -3
- package/es/vxe-gantt/style.css +1 -1
- package/es/vxe-gantt/style.mini.css +1 -0
- package/es/vxe-ui/index.d.ts +3 -0
- package/es/vxe-ui/index.js +6 -3
- package/lib/components.js +39 -35
- package/lib/gantt/index.js +50 -36
- package/lib/gantt/src/gantt-body.js +240 -245
- package/lib/gantt/src/gantt-chart.js +405 -375
- package/lib/gantt/src/gantt-footer.js +63 -46
- package/lib/gantt/src/gantt-header.js +186 -162
- package/lib/gantt/src/gantt-view.js +1554 -1745
- package/lib/gantt/src/gantt.js +2455 -2676
- package/lib/gantt/src/static.js +34 -40
- package/lib/gantt/src/util.js +32 -15
- package/lib/gantt/style/index.js +1 -1
- package/lib/gantt/style/style.css +1 -1
- package/lib/gantt/style/style.mini.css +1 -0
- package/lib/index.common.js +35 -23
- package/lib/index.js +37 -0
- package/lib/index.umd.js +4910 -15882
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +989 -1
- package/lib/style.mini.css +1 -0
- package/lib/ui/index.js +36 -25
- package/lib/ui/src/comp.js +22 -7
- package/lib/ui/src/depend.js +30 -13
- package/lib/ui/src/dom.js +88 -95
- package/lib/ui/src/log.js +34 -18
- package/lib/ui/src/utils.js +58 -50
- package/lib/ui/src/vn.js +35 -9
- package/lib/ui/style/index.js +1 -1
- package/lib/vxe-gantt/index.js +35 -20
- package/lib/vxe-gantt/style/index.js +1 -1
- package/lib/vxe-gantt/style/style.css +1 -1
- package/lib/vxe-gantt/style/style.mini.css +1 -0
- package/lib/vxe-ui/index.js +35 -20
- package/lib/vxe-ui/style/index.js +1 -1
- package/package.json +7 -4
- package/packages/gantt/src/gantt-view.ts +2 -0
- package/packages/gantt/src/gantt.ts +4 -0
- package/packages/ui/src/utils.ts +3 -12
- package/es/gantt/style.min.css +0 -1
- package/es/style.css +0 -1
- package/es/style.min.css +0 -1
- package/es/vxe-gantt/style.min.css +0 -1
- package/lib/components.min.js +0 -1
- package/lib/gantt/index.min.js +0 -1
- package/lib/gantt/src/gantt-body.min.js +0 -1
- package/lib/gantt/src/gantt-chart.min.js +0 -1
- package/lib/gantt/src/gantt-footer.min.js +0 -1
- package/lib/gantt/src/gantt-header.min.js +0 -1
- package/lib/gantt/src/gantt-view.min.js +0 -1
- package/lib/gantt/src/gantt.min.js +0 -1
- package/lib/gantt/src/static.min.js +0 -1
- package/lib/gantt/src/util.min.js +0 -1
- package/lib/gantt/style/style.min.css +0 -1
- package/lib/style.min.css +0 -1
- package/lib/ui/index.min.js +0 -1
- package/lib/ui/src/comp.min.js +0 -1
- package/lib/ui/src/depend.min.js +0 -1
- package/lib/ui/src/dom.min.js +0 -1
- package/lib/ui/src/log.min.js +0 -1
- package/lib/ui/src/utils.min.js +0 -1
- package/lib/ui/src/vn.min.js +0 -1
- package/lib/vxe-gantt/index.min.js +0 -1
- package/lib/vxe-gantt/style/style.min.css +0 -1
- package/lib/vxe-ui/index.min.js +0 -1
- /package/es/ui/{style.min.css → style.mini.css} +0 -0
- /package/es/vxe-ui/{style.min.css → style.mini.css} +0 -0
- /package/lib/ui/style/{style.min.css → style.mini.css} +0 -0
- /package/lib/vxe-ui/style/{style.min.css → style.mini.css} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 依赖线枚举类型
|
|
3
|
+
*/
|
|
4
|
+
export declare enum VxeGanttDependencyType {
|
|
5
|
+
/**
|
|
6
|
+
* 结束后才开始,表示一个任务必须在另一个任务开始之前完成
|
|
7
|
+
*/
|
|
8
|
+
FinishToStart = 0,
|
|
9
|
+
/**
|
|
10
|
+
* 开始到结束,表示从某个过程的开始到结束的整个过程
|
|
11
|
+
*/
|
|
12
|
+
StartToFinish = 1,
|
|
13
|
+
/**
|
|
14
|
+
* 开始后才开始,表示一个活动结束了,另一个活动才能开始,它们之间按先后顺序进行
|
|
15
|
+
*/
|
|
16
|
+
StartToStart = 2,
|
|
17
|
+
/**
|
|
18
|
+
* 完成到完成,表示一个任务必须在另一个任务完成之后才能完成
|
|
19
|
+
*/
|
|
20
|
+
FinishToFinish = 3
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 任务渲染类型
|
|
24
|
+
*/
|
|
25
|
+
export declare enum VxeGanttTaskType {
|
|
26
|
+
/**
|
|
27
|
+
* 里程碑类型,该类型节点不需要结束日期
|
|
28
|
+
*/
|
|
29
|
+
Milestone = "milestone",
|
|
30
|
+
/**
|
|
31
|
+
* 子视图类型,该类型会将子任务渲染到一行,无需开始日期和结束日期
|
|
32
|
+
*/
|
|
33
|
+
Subview = "subview"
|
|
34
|
+
}
|
package/es/gantt/src/static.js
CHANGED
|
@@ -1,36 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
VxeGanttDependencyType[VxeGanttDependencyType["StartToStart"] = 2] = "StartToStart";
|
|
18
|
-
/**
|
|
19
|
-
* 完成到完成,表示一个任务必须在另一个任务完成之后才能完成
|
|
20
|
-
*/
|
|
21
|
-
VxeGanttDependencyType[VxeGanttDependencyType["FinishToFinish"] = 3] = "FinishToFinish";
|
|
22
|
-
})(VxeGanttDependencyType || (VxeGanttDependencyType = {}));
|
|
23
|
-
/**
|
|
24
|
-
* 任务渲染类型
|
|
25
|
-
*/
|
|
26
|
-
export var VxeGanttTaskType;
|
|
27
|
-
(function (VxeGanttTaskType) {
|
|
28
|
-
/**
|
|
29
|
-
* 里程碑类型,该类型节点不需要结束日期
|
|
30
|
-
*/
|
|
31
|
-
VxeGanttTaskType["Milestone"] = "milestone";
|
|
32
|
-
/**
|
|
33
|
-
* 子视图类型,该类型会将子任务渲染到一行,无需开始日期和结束日期
|
|
34
|
-
*/
|
|
35
|
-
VxeGanttTaskType["Subview"] = "subview";
|
|
36
|
-
})(VxeGanttTaskType || (VxeGanttTaskType = {}));
|
|
1
|
+
var VxeGanttDependencyType = /* @__PURE__ */ ((VxeGanttDependencyType2) => {
|
|
2
|
+
VxeGanttDependencyType2[VxeGanttDependencyType2["FinishToStart"] = 0] = "FinishToStart";
|
|
3
|
+
VxeGanttDependencyType2[VxeGanttDependencyType2["StartToFinish"] = 1] = "StartToFinish";
|
|
4
|
+
VxeGanttDependencyType2[VxeGanttDependencyType2["StartToStart"] = 2] = "StartToStart";
|
|
5
|
+
VxeGanttDependencyType2[VxeGanttDependencyType2["FinishToFinish"] = 3] = "FinishToFinish";
|
|
6
|
+
return VxeGanttDependencyType2;
|
|
7
|
+
})(VxeGanttDependencyType || {});
|
|
8
|
+
var VxeGanttTaskType = /* @__PURE__ */ ((VxeGanttTaskType2) => {
|
|
9
|
+
VxeGanttTaskType2["Milestone"] = "milestone";
|
|
10
|
+
VxeGanttTaskType2["Subview"] = "subview";
|
|
11
|
+
return VxeGanttTaskType2;
|
|
12
|
+
})(VxeGanttTaskType || {});
|
|
13
|
+
export {
|
|
14
|
+
VxeGanttDependencyType,
|
|
15
|
+
VxeGanttTaskType
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
|
|
2
|
+
import type { VxeGanttDefines, VxeGanttTaskType } from '../../../types';
|
|
3
|
+
export declare function getRefElem(refEl: any): HTMLElement | null;
|
|
4
|
+
export declare function getCellRestHeight(rowRest: VxeTableDefines.RowCacheItem, cellOpts: VxeTablePropTypes.CellConfig, rowOpts: VxeTablePropTypes.RowConfig, defaultRowHeight: number): number;
|
|
5
|
+
export declare function getTaskBarLeft(chartRest: VxeGanttDefines.RowCacheItem | null, viewCellWidth: number): number;
|
|
6
|
+
export declare function getTaskBarWidth(chartRest: VxeGanttDefines.RowCacheItem | null, viewCellWidth: number): number;
|
|
7
|
+
export declare function hasMilestoneTask(type: string): type is "milestone";
|
|
8
|
+
export declare function hasSubviewTask(type: string): type is "subview";
|
|
9
|
+
export declare function getTaskType(type: string): "default" | VxeGanttTaskType;
|
package/es/gantt/src/util.js
CHANGED
|
@@ -1,28 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
function getRefElem(refEl) {
|
|
2
|
+
if (refEl) {
|
|
3
|
+
return refEl.$el || refEl;
|
|
4
|
+
}
|
|
5
|
+
return null;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
function getCellRestHeight(rowRest, cellOpts, rowOpts, defaultRowHeight) {
|
|
8
|
+
return rowRest.resizeHeight || cellOpts.height || rowOpts.height || rowRest.height || defaultRowHeight;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
function getTaskBarLeft(chartRest, viewCellWidth) {
|
|
11
|
+
return chartRest ? viewCellWidth * chartRest.oLeftSize : 0;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
function getTaskBarWidth(chartRest, viewCellWidth) {
|
|
14
|
+
return chartRest && chartRest.oWidthSize ? Math.max(1, chartRest ? Math.floor(viewCellWidth * chartRest.oWidthSize) - 1 : 0) : 0;
|
|
15
15
|
}
|
|
16
16
|
const taskTypeMaps = {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
milestone: true,
|
|
18
|
+
subview: true
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
function hasMilestoneTask(type) {
|
|
21
|
+
return type === "milestone";
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function hasSubviewTask(type) {
|
|
24
|
+
return type === "subview";
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
function getTaskType(type) {
|
|
27
|
+
return taskTypeMaps[type] ? type : "default";
|
|
28
28
|
}
|
|
29
|
+
export {
|
|
30
|
+
getCellRestHeight,
|
|
31
|
+
getRefElem,
|
|
32
|
+
getTaskBarLeft,
|
|
33
|
+
getTaskBarWidth,
|
|
34
|
+
getTaskType,
|
|
35
|
+
hasMilestoneTask,
|
|
36
|
+
hasSubviewTask
|
|
37
|
+
};
|
package/es/gantt/style.css
CHANGED
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
|
|
910
910
|
.vxe-gantt-view--body-row:last-child .vxe-gantt-view--body-column .vxe-gantt-view-cell--row-resizable {
|
|
911
911
|
height: 0.4em;
|
|
912
|
-
bottom: 0px;
|
|
912
|
+
bottom: -0px;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
.vxe-gantt--layout-wrapper.is--virtual-scrollbar.ov-padding.overflow-x.sx-pos--top > .vxe-gantt-view--viewport-wrapper {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.vxe-gantt-view--chart-task-wrapper{position:absolute;top:0;left:0;pointer-events:none}.vxe-gantt-view--chart-row,.vxe-gantt-view--chart-subview-row{position:relative;width:100%;height:0}.vxe-gantt-view--chart-row.is--critical>.vxe-gantt-view--chart-bar .vxe-gantt-view--chart-bar-content-wrapper{border:var(--vxe-ui-gantt-view-task-line-width) solid var(--vxe-ui-gantt-view-bar-critical-path-line-color)}.vxe-gantt-view--chart-row.is--critical>.vxe-gantt-view--chart-custom-bar .vxe-gantt-view--chart-custom-bar-content-wrapper{border:var(--vxe-ui-gantt-view-task-line-width) solid var(--vxe-ui-gantt-view-bar-critical-path-line-color)}.vxe-gantt-view--chart-row.row--pending .vxe-gantt-view--chart-bar{color:var(--vxe-ui-font-disabled-color);opacity:.5;text-decoration:line-through}.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-bar,.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-custom-bar{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-bar .vxe-gantt-view--chart-bar-content-wrapper,.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-bar .vxe-gantt-view--chart-custom-bar-content-wrapper,.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-custom-bar .vxe-gantt-view--chart-bar-content-wrapper,.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-custom-bar .vxe-gantt-view--chart-custom-bar-content-wrapper{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-bar:hover:after,.vxe-gantt-view--chart-row.is--round>.vxe-gantt-view--chart-custom-bar:hover:after{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-subview-row.row--pending .vxe-gantt-view--chart-subview-bar,.vxe-gantt-view--chart-subview-row.row--pending .vxe-gantt-view--chart-subview-custom-bar{color:var(--vxe-ui-font-disabled-color);opacity:.5;text-decoration:line-through}.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-bar,.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-custom-bar{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-bar .vxe-gantt-view--chart-subview-bar-content-wrapper,.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-bar .vxe-gantt-view--chart-subview-custom-bar-content-wrapper,.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-custom-bar .vxe-gantt-view--chart-subview-bar-content-wrapper,.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-custom-bar .vxe-gantt-view--chart-subview-custom-bar-content-wrapper{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-bar:hover:after,.vxe-gantt-view--chart-subview-row.is--round>.vxe-gantt-view--chart-subview-custom-bar:hover:after{border-radius:var(--vxe-ui-gantt-view-task-bar-border-radius)}.vxe-gantt-view--chart-subview-wrapper.is--overview>.vxe-gantt-view--chart-subview-row .vxe-gantt-view--chart-subview-bar{color:#fff;background-color:var(--vxe-ui-gantt-view-task-bar-overview-background-color)}.vxe-gantt-view--chart-bar,.vxe-gantt-view--chart-custom-bar,.vxe-gantt-view--chart-subview-bar,.vxe-gantt-view--chart-subview-custom-bar{display:flex;flex-direction:row;position:absolute;top:50%;left:0;transform:translateY(-50%);pointer-events:all}.vxe-gantt-view--chart-row>.vxe-gantt-view--chart-bar.is--default,.vxe-gantt-view--chart-row>.vxe-gantt-view--chart-custom-bar.is--default{color:#fff;background-color:var(--vxe-ui-gantt-view-task-bar-background-color)}.vxe-gantt-view--chart-subview-row>.vxe-gantt-view--chart-subview-bar.is--subview,.vxe-gantt-view--chart-subview-row>.vxe-gantt-view--chart-subview-custom-bar.is--subview{color:#fff;background-color:var(--vxe-ui-gantt-view-task-bar-overview-background-color)}.vxe-gantt-view--chart-subview-row>.vxe-gantt-view--chart-subview-bar.is--default,.vxe-gantt-view--chart-subview-row>.vxe-gantt-view--chart-subview-custom-bar.is--default{color:#fff;background-color:var(--vxe-ui-gantt-view-task-bar-background-color)}.vxe-gantt-view--chart-bar-content-wrapper,.vxe-gantt-view--chart-subview-bar-content-wrapper{height:var(--vxe-ui-gantt-view-chart-bar-height)}.vxe-gantt-view--chart-custom-bar-content-wrapper,.vxe-gantt-view--chart-subview-custom-bar-content-wrapper{min-height:var(--vxe-ui-gantt-view-chart-bar-height)}.vxe-gantt-view--chart-bar-content-wrapper,.vxe-gantt-view--chart-custom-bar-content-wrapper,.vxe-gantt-view--chart-subview-bar-content-wrapper,.vxe-gantt-view--chart-subview-custom-bar-content-wrapper{width:100%;overflow:hidden}.vxe-gantt-view--chart-bar-content-wrapper,.vxe-gantt-view--chart-subview-bar-content-wrapper{width:100%;display:flex;flex-direction:row;align-items:center}.vxe-gantt-view--chart-bar,.vxe-gantt-view--chart-custom-bar,.vxe-gantt-view--chart-subview-bar,.vxe-gantt-view--chart-subview-custom-bar{align-items:center}.vxe-gantt-view--chart-bar.is--default:hover:after,.vxe-gantt-view--chart-custom-bar.is--default:hover:after,.vxe-gantt-view--chart-subview-bar.is--default:hover:after,.vxe-gantt-view--chart-subview-custom-bar.is--default:hover:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0000001a;pointer-events:none}.vxe-gantt-view--chart-bar.is--milestone,.vxe-gantt-view--chart-custom-bar.is--milestone,.vxe-gantt-view--chart-subview-bar.is--milestone,.vxe-gantt-view--chart-subview-custom-bar.is--milestone{white-space:nowrap}.vxe-gantt-view--chart-progress{flex-shrink:0;width:0;height:100%;text-align:left;background-color:var(--vxe-ui-gantt-view-task-bar-completed-background-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vxe-gantt-view--chart-content{position:absolute;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9em;padding:0 .6em}.vxe-gantt-view--chart-milestone-wrapper{display:flex;flex-direction:row;align-items:center}.vxe-gantt-view--chart-milestone-icon{flex-shrink:0;padding:0 .3em;color:var(--vxe-ui-font-primary-color)}.vxe-gantt-view--chart-milestone-icon.theme--primary{color:var(--vxe-ui-font-primary-color)}.vxe-gantt-view--chart-milestone-icon.theme--success{color:var(--vxe-ui-status-success-color)}.vxe-gantt-view--chart-milestone-icon.theme--info{color:var(--vxe-ui-status-info-color)}.vxe-gantt-view--chart-milestone-icon.theme--warning{color:var(--vxe-ui-status-warning-color)}.vxe-gantt-view--chart-milestone-icon.theme--danger{color:var(--vxe-ui-status-danger-color)}.vxe-gantt-view--chart-milestone-icon.theme--error{color:var(--vxe-ui-status-error-color)}.vxe-gantt-view--chart-milestone-icon i{display:inline-block}.vxe-gantt-view--chart-milestone-content{flex-grow:1}.vxe-gantt-view--chart-row.row--drag-move,.vxe-gantt-view--chart-subview-row.row--drag-move{transition:transform .5s ease}.vxe-gantt-view--chart-row.row--drag-origin,.vxe-gantt-view--chart-subview-row.row--drag-origin{opacity:.3}.vxe-gantt{--vxe-ui-gantt-current-split-bar-action-btn-offset-left: 0px;--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-default)}.vxe-gantt.size--xlarge{--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-xlarge)}.vxe-gantt.size--large{--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-large)}.vxe-gantt.size--medium{--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-medium)}.vxe-gantt.size--small{--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-small)}.vxe-gantt.size--mini{--vxe-ui-gantt-current-font-size: var(--vxe-ui-font-size-mini)}.vxe-gantt{position:relative;display:flex;flex-direction:column;font-size:var(--vxe-ui-gantt-current-font-size)}.vxe-gantt.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:99;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--vxe-ui-loading-background-color)}.vxe-gantt.is--loading>.vxe-gantt-view .vxe-loading{background-color:transparent}.vxe-gantt.is--maximize{position:fixed;top:0;left:0;width:100%;height:100%;padding:.5em 1em;background-color:var(--vxe-ui-layout-background-color)}.vxe-gantt.is--split-drag{cursor:col-resize}.vxe-gantt.is--split-drag .vxe-gantt--table-wrapper:after,.vxe-gantt.is--split-drag .vxe-gantt--view-wrapper:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-gantt .vxe-gantt--form-wrapper,.vxe-gantt .vxe-gantt--top-wrapper,.vxe-gantt .vxe-gantt--bottom-wrapper{position:relative}.vxe-gantt .vxe-gantt--gantt-container{position:relative;display:flex;flex-direction:row;flex-grow:1;overflow:hidden}.vxe-gantt .vxe-gantt--left-wrapper,.vxe-gantt .vxe-gantt--right-wrapper{flex-shrink:0;overflow:auto;outline:0}.vxe-gantt .vxe-gantt--table-wrapper,.vxe-gantt .vxe-gantt--view-wrapper{position:relative;flex-grow:1;overflow:hidden}.vxe-gantt .vxe-gantt--view-split-bar-handle{background-color:var(--vxe-ui-gantt-view-split-bar-background-color)}.vxe-gantt .vxe-gantt--view-split-bar-handle:hover,.vxe-gantt .vxe-gantt--view-split-bar-handle:active{background-color:var(--vxe-ui-gantt-view-split-bar-hover-background-color)}.vxe-gantt.is--animat .vxe-gantt--table-wrapper{transition:width .3s ease-in-out}.vxe-gantt.show--animat.hide--right .vxe-gantt--table-wrapper{width:calc(100% - var(--vxe-ui-gantt-view-split-bar-width))!important;flex-shrink:0;flex-grow:unset}.vxe-gantt--gantt-container.hide--left>.vxe-gantt--table-wrapper{width:0px!important;flex-shrink:0;flex-grow:unset}.vxe-gantt--gantt-container.show--left.show--right>.vxe-gantt--table-wrapper{flex-grow:unset;flex-shrink:0;width:var(--vxe-ui-gantt-view-table-default-width)}.vxe-gantt--gantt-container.hide--right>.vxe-gantt--view-wrapper{width:0px!important;flex-shrink:0;flex-grow:unset}.vxe-gantt--gantt-container.show--left.show--right .vxe-gantt--view-split-bar{width:var(--vxe-ui-gantt-view-split-bar-width)}.vxe-gantt--view-split-bar{width:0;flex-shrink:0}.vxe-gantt--view-split-bar.is--resize{cursor:col-resize}.vxe-gantt--layout-body-wrapper{display:flex;flex-direction:row;overflow:auto;flex-grow:1}.vxe-gantt--layout-body-content-wrapper{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.vxe-gantt--layout-header-wrapper,.vxe-gantt--layout-footer-wrapper,.vxe-gantt--layout-aside-left-wrapper{flex-shrink:0;overflow:auto}.vxe-gantt--border-line{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none;border:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--full .vxe-gantt-view--header-column,.vxe-gantt.border--full .vxe-gantt-view--body-column,.vxe-gantt.border--full .vxe-gantt-view--footer-column{background-image:linear-gradient(var(--vxe-ui-table-border-color),var(--vxe-ui-table-border-color)),linear-gradient(var(--vxe-ui-table-border-color),var(--vxe-ui-table-border-color));background-repeat:no-repeat;background-size:var(--vxe-ui-table-border-width) 100%,100% var(--vxe-ui-table-border-width);background-position:right top,right bottom}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--default .vxe-gantt-view--scroll-y-bottom-corner:before,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-bottom-corner:before,.vxe-gantt.border--outer .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--outer .vxe-gantt-view--scroll-y-bottom-corner:before,.vxe-gantt.border--inner .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--inner .vxe-gantt-view--scroll-y-bottom-corner:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-width:0;border-style:solid;border-color:var(--vxe-ui-table-border-color)}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--outer .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--inner .vxe-gantt-view--scroll-y-top-corner:before{border-bottom-width:var(--vxe-ui-table-border-width)}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-bottom-corner,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-bottom-corner,.vxe-gantt.border--outer .vxe-gantt-view--scroll-y-bottom-corner,.vxe-gantt.border--inner .vxe-gantt-view--scroll-y-bottom-corner{border-top:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--default .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--full .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--outer .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--inner .vxe-gantt-view--scroll-x-handle-appearance{position:absolute;left:0;width:100%;height:100%;z-index:1;pointer-events:none}.vxe-gantt.border--default.sx-pos--top .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--full.sx-pos--top .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--outer.sx-pos--top .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--inner.sx-pos--top .vxe-gantt-view--scroll-x-handle-appearance{top:0;border-bottom:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--default.sx-pos--bottom .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--full.sx-pos--bottom .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--outer.sx-pos--bottom .vxe-gantt-view--scroll-x-handle-appearance,.vxe-gantt.border--inner.sx-pos--bottom .vxe-gantt-view--scroll-x-handle-appearance{bottom:0;height:calc(100% + var(--vxe-ui-table-border-width));border-top:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-top-corner:before{border-left-width:var(--vxe-ui-table-border-width);border-right-width:var(--vxe-ui-table-border-width)}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-bottom-corner:before,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-bottom-corner:before{border-left-width:var(--vxe-ui-table-border-width);border-right-width:var(--vxe-ui-table-border-width)}.vxe-gantt.border--default.sy-pos--right .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--default.sy-pos--right .vxe-gantt-view--scroll-y-bottom-corner:before,.vxe-gantt.border--full.sy-pos--right .vxe-gantt-view--scroll-y-top-corner:before,.vxe-gantt.border--full.sy-pos--right .vxe-gantt-view--scroll-y-bottom-corner:before{width:calc(100% + 1px);left:-1px}.vxe-gantt.border--default .vxe-gantt-view--scroll-y-handle-appearance,.vxe-gantt.border--full .vxe-gantt-view--scroll-y-handle-appearance{position:absolute;top:0;width:100%;height:100%;z-index:1;pointer-events:none}.vxe-gantt.border--default.sy-pos--left .vxe-gantt-view--scroll-y-handle-appearance,.vxe-gantt.border--full.sy-pos--left .vxe-gantt-view--scroll-y-handle-appearance{left:0;border-right:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--default.sy-pos--right .vxe-gantt-view--scroll-y-handle-appearance,.vxe-gantt.border--full.sy-pos--right .vxe-gantt-view--scroll-y-handle-appearance{right:0;width:calc(100% + var(--vxe-ui-table-border-width));border-left:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--default .vxe-gantt-view--header-column,.vxe-gantt.border--default .vxe-gantt-view--body-column,.vxe-gantt.border--default .vxe-gantt-view--footer-column,.vxe-gantt.border--inner .vxe-gantt-view--header-column,.vxe-gantt.border--inner .vxe-gantt-view--body-column,.vxe-gantt.border--inner .vxe-gantt-view--footer-column{background-image:linear-gradient(var(--vxe-ui-table-border-color),var(--vxe-ui-table-border-color));background-repeat:no-repeat;background-size:100% var(--vxe-ui-table-border-width);background-position:right bottom}.vxe-gantt.border--default .vxe-gantt-view--footer-wrapper,.vxe-gantt.border--full .vxe-gantt-view--footer-wrapper,.vxe-gantt.border--inner .vxe-gantt-view--footer-wrapper{border-top:var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color)}.vxe-gantt.border--inner .vxe-gantt--border-line{border-width:0 0 1px 0}.vxe-gantt.border--none .vxe-gantt--border-line{display:none}.vxe-gantt--gantt-container.is--ah-split-btn>.vxe-gantt--view-split-bar .vxe-gantt--view-split-bar-action-btn{opacity:0}.vxe-gantt--gantt-container.is--ah-split-btn:hover>.vxe-gantt--view-split-bar .vxe-gantt--view-split-bar-action-btn{opacity:1}.vxe-gantt--view-split-bar{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-gantt--view-split-bar-handle{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.vxe-gantt--view-split-bar-btn-wrapper{position:absolute;width:100%;top:50%;transform:translateY(-50%);z-index:5;pointer-events:none}.vxe-gantt--view-split-bar-action-btn{position:absolute;display:flex;flex-direction:row;align-items:center;justify-content:center;height:var(--vxe-ui-gantt-view-split-bar-action-btn-height);width:var(--vxe-ui-gantt-view-split-bar-action-btn-width);border-radius:var(--vxe-ui-base-border-radius);background-color:var(--vxe-ui-gantt-view-handle-button-background-color);border:1px solid var(--vxe-ui-input-border-color);pointer-events:all;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:all .1s ease-in-out}.vxe-gantt--view-split-bar-action-btn:hover{color:#fff;background-color:var(--vxe-ui-font-primary-color)}.vxe-gantt--view-split-bar-action-btn:active{transform:scale(.9)}.vxe-gantt--view-split-bar-action-btn.is--prev{left:calc(var(--vxe-ui-gantt-view-split-bar-action-btn-width) * -1 - var(--vxe-ui-gantt-current-split-bar-action-btn-offset-left) - .2em)}.vxe-gantt--view-split-bar-action-btn.is--next{right:calc(var(--vxe-ui-gantt-view-split-bar-action-btn-width) * -1 - var(--vxe-ui-gantt-current-split-bar-action-btn-offset-left) - .2em)}.vxe-gantt--view-split-bar-action-btn i{font-size:.5em}.vxe-gantt--gantt-container.sy-pos--right.hide--right,.vxe-gantt--gantt-container.sy-pos--left.hide--left{--vxe-ui-gantt-current-split-bar-action-btn-offset-left: var(--vxe-ui-gantt-scrollbar-width)}.vxe-gantt--resizable-split-tip{display:none;position:absolute;top:0;left:0;width:1px;height:100%;z-index:7;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:col-resize}.vxe-gantt--resizable-split-tip:before{content:"";display:block;height:100%;background-color:var(--vxe-ui-table-resizable-drag-line-color)}.vxe-gantt--resizable-split-tip-number{position:absolute;top:0;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.vxe-gantt--resizable-split-number-left,.vxe-gantt--resizable-split-number-right{position:absolute;padding:.25em;font-size:12px;border-radius:var(--vxe-ui-border-radius);white-space:nowrap;color:#fff;background-color:var(--vxe-ui-table-resizable-drag-line-color)}.vxe-gantt--resizable-split-number-left{right:0}.vxe-gantt--resizable-split-number-right{left:1px}.vxe-gantt.is--loading>.vxe-gantt-view--scroll-x-virtual{visibility:hidden}.vxe-gantt.is--loading>.vxe-gantt-view--layout-wrapper>.vxe-gantt-view--scroll-y-virtual{visibility:hidden}.vxe-gantt .vxe-gantt-view--scroll-x-virtual{height:0}.vxe-gantt .vxe-gantt-view--scroll-y-virtual{width:0}.vxe-gantt .vxe-gantt-view--scroll-x-virtual,.vxe-gantt .vxe-gantt-view--scroll-y-virtual{visibility:hidden;position:relative;flex-shrink:0;z-index:7}.vxe-gantt .vxe-gantt-view--scroll-x-handle,.vxe-gantt .vxe-gantt-view--scroll-y-handle,.vxe-gantt .vxe-gantt-view--scroll-x-wrapper,.vxe-gantt .vxe-gantt-view--scroll-y-wrapper,.vxe-gantt .vxe-gantt-view--scroll-y-top-corner,.vxe-gantt .vxe-gantt-view--scroll-y-bottom-corner,.vxe-gantt .vxe-gantt-view--scroll-x-left-corner,.vxe-gantt .vxe-gantt-view--scroll-x-right-corner{position:absolute}.vxe-gantt .vxe-gantt-view--scroll-x-handle,.vxe-gantt .vxe-gantt-view--scroll-x-wrapper{width:100%;left:0;bottom:0}.vxe-gantt .vxe-gantt-view--scroll-x-handle{overflow-y:hidden;overflow-x:scroll;height:18px}.vxe-gantt .vxe-gantt-view--scroll-x-wrapper{height:100%}.vxe-gantt .vxe-gantt-view--scroll-y-handle,.vxe-gantt .vxe-gantt-view--scroll-y-wrapper{width:100%;height:100%;right:0;top:0}.vxe-gantt .vxe-gantt-view--scroll-y-handle{overflow-y:scroll;overflow-x:hidden;width:18px;height:100%}.vxe-gantt .vxe-gantt-view--scroll-x-space{height:1px}.vxe-gantt .vxe-gantt-view--scroll-y-space{width:1px}.vxe-gantt .vxe-gantt-view--scroll-x-left-corner,.vxe-gantt .vxe-gantt-view--scroll-x-right-corner,.vxe-gantt .vxe-gantt-view--scroll-y-top-corner,.vxe-gantt .vxe-gantt-view--scroll-y-bottom-corner{display:none;position:absolute}.vxe-gantt .vxe-gantt-view--scroll-x-left-corner,.vxe-gantt .vxe-gantt-view--scroll-x-right-corner{bottom:0;width:0;height:100%}.vxe-gantt .vxe-gantt-view--scroll-x-left-corner:before,.vxe-gantt .vxe-gantt-view--scroll-x-right-corner:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-width:var(--vxe-ui-table-border-width);border-style:solid;border-color:var(--vxe-ui-table-border-color)}.vxe-gantt .vxe-gantt-view--scroll-x-left-corner{left:0}.vxe-gantt .vxe-gantt-view--scroll-x-right-corner{right:0}.vxe-gantt.sy-pos--right .vxe-gantt-view--scroll-x-right-corner{right:1px}.vxe-gantt.sy-pos--right .vxe-gantt-view--scroll-x-right-corner:before{border-right:0}.vxe-gantt.sx-pos--bottom .vxe-gantt-view--scroll-x-right-corner{bottom:1px}.vxe-gantt.sx-pos--bottom .vxe-gantt-view--scroll-x-right-corner:before{border-bottom:0}.vxe-gantt .vxe-gantt-view--scroll-y-top-corner{background-color:var(--vxe-ui-table-header-background-color)}.vxe-gantt .vxe-gantt-view--scroll-y-top-corner,.vxe-gantt .vxe-gantt-view--scroll-y-bottom-corner{top:0;right:0;width:100%;height:0}.vxe-gantt .vxe-gantt-view--scroll-y-bottom-corner{margin-top:-1px}.vxe-gantt-view--layout-wrapper{display:flex;flex-direction:row;background-color:var(--vxe-ui-layout-background-color)}.vxe-gantt-view--viewport-wrapper{position:relative;overflow:hidden;flex-grow:1}.vxe-gantt-view--render-vars{width:0;height:0;overflow:hidden}.vxe-gantt-view--column-info{width:var(--vxe-ui-gantt-view-default-cell-width)}.vxe-gantt-view{flex-grow:1;overflow:hidden}.vxe-gantt-view .vxe-body--x-space{width:100%;height:1px;margin-bottom:-1px}.vxe-gantt-view .vxe-body--y-space{width:0;float:left}.vxe-gantt-view--header-table,.vxe-gantt-view--body-table{border:0;border-spacing:0;border-collapse:separate;table-layout:fixed}.vxe-gantt-view--header-table col,.vxe-gantt-view--body-table col{width:var(--vxe-ui-gantt-view-default-cell-width)}.vxe-gantt-view--body-table{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-gantt-view--header-wrapper{background-color:var(--vxe-ui-table-header-background-color)}.vxe-gantt-view--footer-wrapper{margin-top:calc(var(--vxe-ui-table-border-width) * -1);background-color:var(--vxe-ui-table-footer-background-color)}.vxe-gantt-view--header-wrapper,.vxe-gantt-view--body-wrapper{overflow:hidden}.vxe-gantt-view--header-inner-wrapper{overflow-y:hidden;overflow-x:scroll}.vxe-gantt-view--body-inner-wrapper{overflow-y:scroll;overflow-x:scroll}.vxe-gantt-view--header-inner-wrapper,.vxe-gantt-view--body-inner-wrapper{position:relative;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch}.vxe-gantt-view--header-inner-wrapper::-webkit-scrollbar,.vxe-gantt-view--body-inner-wrapper::-webkit-scrollbar{display:none}.vxe-gantt-view--header-column{text-align:center;font-size:1em;height:var(--vxe-ui-gantt-view-cell-height, var(--vxe-ui-table-row-line-height))}.vxe-gantt-view--header-column.is--now{color:var(--vxe-ui-gantt-view-task-now-line-color, var(--vxe-ui-font-primary-color))}.vxe-gantt-view--header-column,.vxe-gantt-view--body-column,.vxe-gantt-view--footer-column{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vxe-gantt-view--body-row.row--pending>.vxe-gantt-view--body-column:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px solid var(--vxe-ui-table-validate-error-color);z-index:1}.vxe-gantt-view--chart-now-line{position:absolute;left:0;top:0;height:100%}.vxe-gantt-view--chart-now-line:before{content:"";display:block;width:var(--vxe-ui-gantt-view-task-now-line-width, 1px);height:100%;background-color:var(--vxe-ui-gantt-view-task-now-line-background-color, var(--vxe-ui-font-primary-color))}.vxe-gantt-view--body-row.row--stripe{background-color:var(--vxe-ui-table-row-striped-background-color)}.vxe-gantt-view--body-row.row--radio{background-color:var(--vxe-ui-table-row-radio-checked-background-color)}.vxe-gantt-view--body-row.row--checked{background-color:var(--vxe-ui-table-row-checkbox-checked-background-color)}.vxe-gantt-view--body-row.row--current{background-color:var(--vxe-ui-table-row-current-background-color)}.vxe-gantt-view--body-row.row--hover{background-color:var(--vxe-ui-table-row-hover-background-color)}.vxe-gantt-view--body-row.row--hover.row--stripe{background-color:var(--vxe-ui-table-row-hover-striped-background-color)}.vxe-gantt-view--body-row.row--hover.row--radio{background-color:var(--vxe-ui-table-row-hover-radio-checked-background-color)}.vxe-gantt-view--body-row.row--hover.row--checked{background-color:var(--vxe-ui-table-row-hover-checkbox-checked-background-color)}.vxe-gantt-view--body-row.row--hover.row--current{background-color:var(--vxe-ui-table-row-hover-current-background-color)}.vxe-gantt-view--body-row.row--drag-move{transition:transform .5s ease}.vxe-gantt-view--body-row.row--drag-origin>.vxe-gantt-view--body-column{opacity:.3}.vxe-gantt-view--body-column .vxe-gantt-view-cell--row-resizable{position:absolute;left:0;bottom:-.4em;height:.8em;width:100%;text-align:center;z-index:1;cursor:row-resize}.vxe-gantt-view--body-row:last-child .vxe-gantt-view--body-column .vxe-gantt-view-cell--row-resizable{height:.4em;bottom:-0px}.vxe-gantt--layout-wrapper.is--virtual-scrollbar.ov-padding.overflow-x.sx-pos--top>.vxe-gantt-view--viewport-wrapper{padding-top:var(--vxe-ui-scrollbar-x-height)}.vxe-gantt--layout-wrapper.is--virtual-scrollbar.ov-padding.overflow-x.sx-pos--bottom>.vxe-gantt-view--viewport-wrapper{padding-bottom:var(--vxe-ui-scrollbar-x-height)}.vxe-gantt--layout-wrapper.is--virtual-scrollbar.ov-padding.overflow-y.sy-pos--left>.vxe-gantt-view--viewport-wrapper{padding-left:var(--vxe-ui-scrollbar-y-width)}.vxe-gantt--layout-wrapper.is--virtual-scrollbar.ov-padding.overflow-y.sy-pos--right>.vxe-gantt-view--viewport-wrapper{padding-right:var(--vxe-ui-scrollbar-y-width)}.vxe-gantt--layout-wrapper>.vxe-scrollbar{position:unset}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-x--auto-hide:hover>.vxe-gantt--table-wrapper>.vxe-table>.vxe-table--render-wrapper>.vxe-table--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-x{opacity:1}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-x--auto-hide:hover>.vxe-gantt--view-wrapper>.vxe-gantt-view>.vxe-gantt-view--render-wrapper>.vxe-gantt--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-x{opacity:1}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-x--auto-hide>.vxe-gantt--table-wrapper>.vxe-table>.vxe-table--render-wrapper>.vxe-table--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-x{opacity:0;transition:opacity .8s ease-in-out}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-x--auto-hide>.vxe-gantt--view-wrapper>.vxe-gantt-view>.vxe-gantt-view--render-wrapper>.vxe-gantt--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-x{opacity:0;transition:opacity .8s ease-in-out}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-y--auto-hide:hover>.vxe-gantt--table-wrapper>.vxe-table>.vxe-table--render-wrapper>.vxe-table--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-y{opacity:1}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-y--auto-hide:hover>.vxe-gantt--view-wrapper>.vxe-gantt-view>.vxe-gantt-view--render-wrapper>.vxe-gantt--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-y{opacity:1}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-y--auto-hide>.vxe-gantt--table-wrapper>.vxe-table>.vxe-table--render-wrapper>.vxe-table--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-y{opacity:0;transition:opacity .8s ease-in-out}.vxe-gantt--gantt-container.is--virtual-scrollbar.ov-y--auto-hide>.vxe-gantt--view-wrapper>.vxe-gantt-view>.vxe-gantt-view--render-wrapper>.vxe-gantt--layout-wrapper>.vxe-scrollbar>.vxe-scrollbar--track-y{opacity:0;transition:opacity .8s ease-in-out}
|
package/es/index.d.ts
ADDED
package/es/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as VxeUIGanttExport from
|
|
2
|
-
export * from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as VxeUIGanttExport from "./components";
|
|
2
|
+
export * from "./components";
|
|
3
|
+
var index_default = VxeUIGanttExport;
|
|
4
|
+
export {
|
|
5
|
+
index_default as default
|
|
6
|
+
};
|
package/es/index.js
ADDED
package/es/ui/index.d.ts
ADDED
package/es/ui/index.js
CHANGED
|
@@ -1,126 +1,129 @@
|
|
|
1
|
-
import { VxeUI } from
|
|
1
|
+
import { VxeUI } from "@vxe-ui/core";
|
|
2
2
|
const { setConfig, setIcon } = VxeUI;
|
|
3
|
-
VxeUI.ganttVersion = "3.9.
|
|
4
|
-
const ymdFormat =
|
|
5
|
-
const ymdhmsFormat =
|
|
3
|
+
VxeUI.ganttVersion = "3.9.2";
|
|
4
|
+
const ymdFormat = "yyyy-MM-dd";
|
|
5
|
+
const ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
|
|
6
6
|
setConfig({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
7
|
+
gantt: {
|
|
8
|
+
// size: null,
|
|
9
|
+
// zoomConfig: {
|
|
10
|
+
// escRestore: true
|
|
11
|
+
// },
|
|
12
|
+
formConfig: {
|
|
13
|
+
enabled: true
|
|
14
|
+
},
|
|
15
|
+
pagerConfig: {
|
|
16
|
+
enabled: true
|
|
17
|
+
// perfect: false
|
|
18
|
+
},
|
|
19
|
+
toolbarConfig: {
|
|
20
|
+
enabled: true
|
|
21
|
+
// perfect: false
|
|
22
|
+
},
|
|
23
|
+
proxyConfig: {
|
|
24
|
+
enabled: true,
|
|
25
|
+
autoLoad: true,
|
|
26
|
+
showLoading: true,
|
|
27
|
+
showResponseMsg: true,
|
|
28
|
+
showActionMsg: true,
|
|
29
|
+
response: {
|
|
30
|
+
list: null,
|
|
31
|
+
result: "result",
|
|
32
|
+
total: "page.total",
|
|
33
|
+
message: "message"
|
|
34
|
+
}
|
|
35
|
+
// beforeItem: null,
|
|
36
|
+
// beforeColumn: null,
|
|
37
|
+
// beforeQuery: null,
|
|
38
|
+
// afterQuery: null,
|
|
39
|
+
// beforeDelete: null,
|
|
40
|
+
// afterDelete: null,
|
|
41
|
+
// beforeSave: null,
|
|
42
|
+
// afterSave: null
|
|
43
|
+
},
|
|
44
|
+
taskBarTooltipConfig: {
|
|
45
|
+
enterable: true
|
|
46
|
+
},
|
|
47
|
+
taskLinkConfig: {
|
|
48
|
+
enabled: true,
|
|
49
|
+
isHover: true,
|
|
50
|
+
showArrow: true
|
|
51
|
+
},
|
|
52
|
+
taskViewScaleConfig: {
|
|
53
|
+
year: {
|
|
54
|
+
valueFormat: ymdFormat
|
|
55
|
+
},
|
|
56
|
+
quarter: {
|
|
57
|
+
valueFormat: ymdFormat
|
|
58
|
+
},
|
|
59
|
+
month: {
|
|
60
|
+
valueFormat: ymdFormat
|
|
61
|
+
},
|
|
62
|
+
week: {
|
|
63
|
+
startDay: 1,
|
|
64
|
+
valueFormat: ymdFormat
|
|
65
|
+
},
|
|
66
|
+
day: {
|
|
67
|
+
valueFormat: ymdFormat
|
|
68
|
+
},
|
|
69
|
+
date: {
|
|
70
|
+
valueFormat: ymdFormat
|
|
71
|
+
},
|
|
72
|
+
hour: {
|
|
73
|
+
valueFormat: ymdhmsFormat
|
|
74
|
+
},
|
|
75
|
+
minute: {
|
|
76
|
+
valueFormat: ymdhmsFormat
|
|
77
|
+
},
|
|
78
|
+
second: {
|
|
79
|
+
valueFormat: ymdhmsFormat
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
taskViewConfig: {
|
|
83
|
+
showNowLine: true,
|
|
84
|
+
gridding: {
|
|
85
|
+
leftSpacing: 1,
|
|
86
|
+
rightSpacing: 1
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
taskSplitConfig: {
|
|
90
|
+
enabled: true,
|
|
91
|
+
resize: true,
|
|
92
|
+
autoHideCollapseButton: true,
|
|
93
|
+
showCollapseTableButton: true,
|
|
94
|
+
showCollapseTaskButton: true
|
|
95
|
+
},
|
|
96
|
+
taskBarSubviewConfig: {
|
|
97
|
+
// showOverview: false
|
|
98
|
+
},
|
|
99
|
+
taskBarMoveConfig: {
|
|
100
|
+
isLimitByLink: true
|
|
101
|
+
},
|
|
102
|
+
taskBarResizeConfig: {
|
|
103
|
+
minWidthSize: 0.5,
|
|
104
|
+
isLimitByLink: true
|
|
105
|
+
},
|
|
106
|
+
taskBarMoveTooltipConfig: {
|
|
107
|
+
enterable: true,
|
|
108
|
+
enterDelay: 0
|
|
109
|
+
},
|
|
110
|
+
taskBarResizeTooltipConfig: {
|
|
111
|
+
enterable: true,
|
|
112
|
+
enterDelay: 0
|
|
114
113
|
}
|
|
114
|
+
}
|
|
115
115
|
});
|
|
116
|
-
const iconPrefix =
|
|
116
|
+
const iconPrefix = "vxe-icon-";
|
|
117
117
|
setIcon({
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
// gantt
|
|
119
|
+
GANTT_VIEW_LEFT_OPEN: iconPrefix + "arrow-left",
|
|
120
|
+
GANTT_VIEW_LEFT_CLOSE: iconPrefix + "arrow-right",
|
|
121
|
+
GANTT_VIEW_RIGHT_OPEN: iconPrefix + "arrow-right",
|
|
122
|
+
GANTT_VIEW_RIGHT_CLOSE: iconPrefix + "arrow-left",
|
|
123
|
+
GANTT_VIEW_TASK_MILESTONE: iconPrefix + "square-fill rotate45"
|
|
124
124
|
});
|
|
125
|
-
|
|
126
|
-
export
|
|
125
|
+
var ui_default = VxeUI;
|
|
126
|
+
export {
|
|
127
|
+
VxeUI,
|
|
128
|
+
ui_default as default
|
|
129
|
+
};
|
package/es/ui/src/comp.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function checkDependVersion(): void;
|
package/es/ui/src/depend.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { VxeUI } from
|
|
2
|
-
import { errLog } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
errLog(`Requires vxe-table v${pVersion}.${sVersion}+`);
|
|
1
|
+
import { VxeUI } from "@vxe-ui/core";
|
|
2
|
+
import { errLog } from "./log";
|
|
3
|
+
function checkDependVersion() {
|
|
4
|
+
const pVersion = 3;
|
|
5
|
+
const sVersion = 25;
|
|
6
|
+
if (VxeUI.checkVersion) {
|
|
7
|
+
if (!VxeUI.checkVersion(VxeUI.tableVersion, pVersion, sVersion)) {
|
|
8
|
+
errLog("vxe.error.errorVersion", [`vxe-table@${VxeUI.tableVersion || "?"}`, `vxe-table v${pVersion}.${sVersion}+`]);
|
|
13
9
|
}
|
|
10
|
+
} else {
|
|
11
|
+
errLog(`Requires vxe-table v${pVersion}.${sVersion}+`);
|
|
12
|
+
}
|
|
14
13
|
}
|
|
14
|
+
export {
|
|
15
|
+
checkDependVersion
|
|
16
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare function initTpImg(): HTMLImageElement;
|
|
2
|
+
export declare function getTpImg(): HTMLImageElement;
|
|
3
|
+
export declare function getPropClass(property: any, params: any): any;
|
|
4
|
+
export declare function isPx(val: any): any;
|
|
5
|
+
export declare function isScale(val: any): any;
|
|
6
|
+
export declare function hasClass(elem: any, cls: any): any;
|
|
7
|
+
export declare function removeClass(elem: any, cls: any): void;
|
|
8
|
+
export declare function addClass(elem: any, cls: string): void;
|
|
9
|
+
export declare function hasControlKey(evnt: KeyboardEvent | MouseEvent | DragEvent): boolean;
|
|
10
|
+
export declare function toCssUnit(val?: number | string, unit?: string): string;
|
|
11
|
+
export declare function queryElement(elem: HTMLTableCellElement, selector: string): HTMLElement | null;
|
|
12
|
+
export declare function getDomNode(): {
|
|
13
|
+
scrollTop: number;
|
|
14
|
+
scrollLeft: number;
|
|
15
|
+
visibleHeight: number;
|
|
16
|
+
visibleWidth: number;
|
|
17
|
+
};
|
|
18
|
+
export declare function getOffsetHeight(elem?: HTMLElement): number;
|
|
19
|
+
export declare function getPaddingTopBottomSize(elem: HTMLElement): number;
|
|
20
|
+
export declare function setScrollTop(elem: HTMLElement | null | undefined, scrollTop: number): void;
|
|
21
|
+
export declare function setScrollLeft(elem: HTMLElement | null | undefined, scrollLeft: number): void;
|
|
22
|
+
export declare function updateCellTitle(overflowElem: any, column: any): void;
|
|
23
|
+
/**
|
|
24
|
+
* 检查触发源是否属于目标节点
|
|
25
|
+
*/
|
|
26
|
+
export declare function getEventTargetNode(evnt: any, container: any, queryCls?: string, queryMethod?: (target: Element) => boolean): {
|
|
27
|
+
flag: boolean;
|
|
28
|
+
container: any;
|
|
29
|
+
targetElem: any;
|
|
30
|
+
} | {
|
|
31
|
+
flag: boolean;
|
|
32
|
+
container?: undefined;
|
|
33
|
+
targetElem?: undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 获取元素相对于 document 的位置
|
|
37
|
+
*/
|
|
38
|
+
export declare function getOffsetPos(elem: any, container: any): any;
|
|
39
|
+
export declare function getAbsolutePos(elem: any): {
|
|
40
|
+
boundingTop: any;
|
|
41
|
+
top: any;
|
|
42
|
+
boundingLeft: any;
|
|
43
|
+
left: any;
|
|
44
|
+
visibleHeight: number;
|
|
45
|
+
visibleWidth: number;
|
|
46
|
+
};
|
|
47
|
+
export declare function scrollToView(elem: any): void;
|
|
48
|
+
export declare function triggerEvent(targetElem: Element, type: string): void;
|
|
49
|
+
export declare function isNodeElement(elem: any): elem is HTMLElement;
|