vxe-gantt 3.1.17 → 3.1.19
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 +91 -48
- package/es/gantt/src/gantt-view.js +50 -21
- package/es/gantt/src/gantt.js +86 -75
- package/es/gantt/src/util.js +0 -3
- package/es/gantt/style.css +16 -2
- 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 +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-gantt/style.css +16 -2
- package/es/vxe-gantt/style.min.css +1 -1
- package/lib/gantt/src/gantt-chart.js +79 -40
- package/lib/gantt/src/gantt-chart.min.js +1 -1
- package/lib/gantt/src/gantt-view.js +50 -25
- package/lib/gantt/src/gantt-view.min.js +1 -1
- package/lib/gantt/src/gantt.js +92 -91
- package/lib/gantt/src/gantt.min.js +1 -1
- package/lib/gantt/src/util.js +0 -4
- package/lib/gantt/src/util.min.js +1 -1
- package/lib/gantt/style/style.css +16 -2
- package/lib/gantt/style/style.min.css +1 -1
- package/lib/index.umd.js +226 -164
- 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 +2 -1
- 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 +16 -2
- package/lib/vxe-gantt/style/style.min.css +1 -1
- package/package.json +3 -3
- package/packages/gantt/src/gantt-chart.ts +92 -53
- package/packages/gantt/src/gantt-view.ts +52 -21
- package/packages/gantt/src/gantt.ts +91 -78
- package/packages/gantt/src/util.ts +0 -4
- package/packages/ui/index.ts +1 -0
- package/styles/components/gantt-module/gantt-chart.scss +14 -2
- package/styles/theme/base.scss +1 -0
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
& > .vxe-gantt-view--chart-bar,
|
|
17
17
|
& > .vxe-gantt-view--chart-custom-bar {
|
|
18
18
|
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
19
|
+
.vxe-gantt-view--chart-bar-content-wrapper,
|
|
20
|
+
.vxe-gantt-view--chart-custom-bar-content-wrapper {
|
|
21
|
+
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
22
|
+
}
|
|
19
23
|
&:hover {
|
|
20
24
|
&::after {
|
|
21
25
|
border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
|
|
@@ -32,15 +36,23 @@
|
|
|
32
36
|
top: 50%;
|
|
33
37
|
left: 0;
|
|
34
38
|
transform: translateY(-50%);
|
|
35
|
-
overflow: hidden;
|
|
36
39
|
pointer-events: all;
|
|
37
40
|
&.is--default {
|
|
38
41
|
color: #ffffff;
|
|
39
42
|
background-color: var(--vxe-ui-gantt-view-task-bar-background-color);
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
|
-
.vxe-gantt-view--chart-
|
|
45
|
+
.vxe-gantt-view--chart-bar-content-wrapper,
|
|
46
|
+
.vxe-gantt-view--chart-custom-bar-content-wrapper {
|
|
47
|
+
width: 100%;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
}
|
|
50
|
+
.vxe-gantt-view--chart-bar-content-wrapper {
|
|
43
51
|
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: row;
|
|
55
|
+
align-items: center;
|
|
44
56
|
}
|
|
45
57
|
.vxe-gantt-view--chart-bar {
|
|
46
58
|
align-items: center;
|
package/styles/theme/base.scss
CHANGED
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
--vxe-ui-gantt-view-task-bar-background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
10
10
|
--vxe-ui-gantt-view-task-bar-completed-background-color: var(--vxe-ui-font-primary-color);
|
|
11
11
|
--vxe-ui-gantt-view-task-line-color: var(--vxe-ui-font-primary-color);
|
|
12
|
+
--vxe-ui-gantt-view-task-line-width: 2px;
|
|
12
13
|
--vxe-ui-gantt-view-task-line-arrow-width: 5;
|
|
13
14
|
}
|