vxe-gantt 3.0.0 → 3.0.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/gantt/src/gantt-chart.js +20 -16
- package/es/gantt/src/gantt-view.js +11 -5
- package/es/gantt/src/gantt.js +57 -5
- package/es/gantt/style.css +11 -9
- package/es/gantt/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +10 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-gantt/style.css +11 -9
- package/es/vxe-gantt/style.min.css +1 -1
- package/lib/gantt/src/gantt-chart.js +7 -3
- package/lib/gantt/src/gantt-chart.min.js +1 -1
- package/lib/gantt/src/gantt-view.js +11 -5
- package/lib/gantt/src/gantt-view.min.js +1 -1
- package/lib/gantt/src/gantt.js +55 -4
- package/lib/gantt/src/gantt.min.js +1 -1
- package/lib/gantt/style/style.css +11 -9
- package/lib/gantt/style/style.min.css +1 -1
- package/lib/index.umd.js +86 -18
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +9 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-gantt/style/style.css +11 -9
- package/lib/vxe-gantt/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/gantt/src/gantt-chart.ts +21 -16
- package/packages/gantt/src/gantt-view.ts +13 -5
- package/packages/gantt/src/gantt.ts +63 -5
- package/packages/ui/index.ts +8 -2
- package/styles/components/gantt-module/gantt-chart.scss +10 -8
|
@@ -7,31 +7,33 @@
|
|
|
7
7
|
.vxe-gantt-view--chart-row {
|
|
8
8
|
position: relative;
|
|
9
9
|
&.is--round {
|
|
10
|
-
& > .vxe-gantt-view--chart-bar
|
|
10
|
+
& > .vxe-gantt-view--chart-bar,
|
|
11
|
+
& > .vxe-gantt-view--chart-custom-bar {
|
|
11
12
|
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
12
13
|
&:hover {
|
|
13
14
|
&::after {
|
|
14
15
|
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
|
-
& > .vxe-gantt-view--chart-progress {
|
|
18
|
-
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius) 0 0 var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
19
|
-
}
|
|
20
18
|
}
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
|
-
.vxe-gantt-view--chart-bar
|
|
21
|
+
.vxe-gantt-view--chart-bar,
|
|
22
|
+
.vxe-gantt-view--chart-custom-bar {
|
|
24
23
|
display: flex;
|
|
25
24
|
flex-direction: row;
|
|
26
|
-
align-items: center;
|
|
27
25
|
position: absolute;
|
|
28
26
|
top: 50%;
|
|
29
27
|
left: 0;
|
|
30
|
-
color: #ffffff;
|
|
31
28
|
transform: translateY(-50%);
|
|
32
|
-
|
|
29
|
+
color: #ffffff;
|
|
33
30
|
background-color: var(--vxe-ui-gantt-view-task-bar-background-color);
|
|
31
|
+
overflow: hidden;
|
|
34
32
|
pointer-events: all;
|
|
33
|
+
}
|
|
34
|
+
.vxe-gantt-view--chart-bar {
|
|
35
|
+
align-items: center;
|
|
36
|
+
height: var(--vxe-ui-gantt-view-chart-bar-height);
|
|
35
37
|
&:hover {
|
|
36
38
|
&::after {
|
|
37
39
|
content: "";
|