vxe-gantt 3.0.1 → 3.0.3
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 +12 -5
- package/es/gantt/src/gantt.js +57 -5
- package/es/gantt/style.css +18 -19
- 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 +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-gantt/style.css +18 -19
- 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 +13 -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 +18 -19
- package/lib/gantt/style/style.min.css +1 -1
- package/lib/index.umd.js +77 -14
- 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 +1 -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 +18 -19
- 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 +14 -5
- package/packages/gantt/src/gantt.ts +63 -5
- package/styles/components/gantt-module/gantt-chart.scss +10 -8
- package/styles/components/gantt.scss +6 -13
|
@@ -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: "";
|
|
@@ -538,9 +538,6 @@
|
|
|
538
538
|
float: left;
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
.vxe-gantt-view--header-table {
|
|
542
|
-
height: 100%;
|
|
543
|
-
}
|
|
544
541
|
.vxe-gantt-view--header-table,
|
|
545
542
|
.vxe-gantt-view--body-table {
|
|
546
543
|
border: 0;
|
|
@@ -567,8 +564,8 @@
|
|
|
567
564
|
overflow-x: scroll;
|
|
568
565
|
}
|
|
569
566
|
.vxe-gantt-view--body-inner-wrapper {
|
|
570
|
-
overflow-y:
|
|
571
|
-
overflow-x:
|
|
567
|
+
overflow-y: scroll;
|
|
568
|
+
overflow-x: scroll;
|
|
572
569
|
}
|
|
573
570
|
.vxe-gantt-view--header-inner-wrapper,
|
|
574
571
|
.vxe-gantt-view--body-inner-wrapper {
|
|
@@ -578,10 +575,14 @@
|
|
|
578
575
|
scrollbar-width: none;
|
|
579
576
|
-ms-overflow-style: none;
|
|
580
577
|
-webkit-overflow-scrolling: touch;
|
|
578
|
+
&::-webkit-scrollbar {
|
|
579
|
+
display: none;
|
|
580
|
+
}
|
|
581
581
|
}
|
|
582
582
|
.vxe-gantt-view--header-column {
|
|
583
583
|
text-align: center;
|
|
584
584
|
font-size: 1em;
|
|
585
|
+
height: var(--vxe-ui-gantt-view-cell-height, var(--vxe-ui-table-row-line-height));
|
|
585
586
|
}
|
|
586
587
|
.vxe-gantt-view--header-column,
|
|
587
588
|
.vxe-gantt-view--body-column,
|
|
@@ -623,14 +624,6 @@
|
|
|
623
624
|
}
|
|
624
625
|
}
|
|
625
626
|
|
|
626
|
-
.vxe-gantt-view {
|
|
627
|
-
&.mode--day {
|
|
628
|
-
.vxe-gantt-view--header-column {
|
|
629
|
-
height: 50%;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
627
|
.vxe-gantt {
|
|
635
628
|
font-size: var(--vxe-ui-font-size-default);
|
|
636
629
|
&.size--medium {
|