vxe-gantt 3.0.2 → 3.0.4
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-body.js +47 -5
- package/es/gantt/src/gantt-view.js +2 -1
- package/es/gantt/src/gantt.js +1 -0
- package/es/gantt/style.css +40 -11
- 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 +40 -11
- package/es/vxe-gantt/style.min.css +1 -1
- package/lib/gantt/src/gantt-body.js +53 -5
- package/lib/gantt/src/gantt-body.min.js +1 -1
- package/lib/gantt/src/gantt-view.js +3 -1
- package/lib/gantt/src/gantt-view.min.js +1 -1
- package/lib/gantt/src/gantt.js +1 -0
- package/lib/gantt/src/gantt.min.js +1 -1
- package/lib/gantt/style/style.css +40 -11
- package/lib/gantt/style/style.min.css +1 -1
- package/lib/index.umd.js +59 -8
- 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 +40 -11
- package/lib/vxe-gantt/style/style.min.css +1 -1
- package/package.json +3 -3
- package/packages/gantt/src/gantt-body.ts +51 -6
- package/packages/gantt/src/gantt-view.ts +2 -1
- package/packages/gantt/src/gantt.ts +1 -0
- package/styles/components/gantt-module/gantt-chart.scss +10 -0
- package/styles/components/gantt.scss +39 -12
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
left: 0;
|
|
290
290
|
width: 100%;
|
|
291
291
|
height: 100%;
|
|
292
|
-
z-index:
|
|
292
|
+
z-index: 3;
|
|
293
293
|
}
|
|
294
294
|
.vxe-gantt--view-split-bar-btn-wrapper {
|
|
295
295
|
display: flex;
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
left: 50%;
|
|
300
300
|
top: 50%;
|
|
301
301
|
transform: translate(-50%, -50%);
|
|
302
|
-
z-index:
|
|
302
|
+
z-index: 5;
|
|
303
303
|
pointer-events: none;
|
|
304
304
|
& > div {
|
|
305
305
|
margin-top: 1em;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
left: 0;
|
|
340
340
|
width: 1px;
|
|
341
341
|
height: 100%;
|
|
342
|
-
z-index:
|
|
342
|
+
z-index: 7;
|
|
343
343
|
pointer-events: none;
|
|
344
344
|
user-select: none;
|
|
345
345
|
cursor: col-resize;
|
|
@@ -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,10 +624,36 @@
|
|
|
623
624
|
}
|
|
624
625
|
}
|
|
625
626
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
/*行拖拽*/
|
|
628
|
+
.vxe-gantt-view--body-row {
|
|
629
|
+
&.row--drag-move {
|
|
630
|
+
transition: transform 0.5s ease;
|
|
631
|
+
}
|
|
632
|
+
&.row--drag-origin {
|
|
633
|
+
& > .vxe-gantt-view--body-column {
|
|
634
|
+
opacity: 0.3;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
.vxe-gantt-view--body-column {
|
|
639
|
+
.vxe-gantt-view-cell--row-resizable {
|
|
640
|
+
position: absolute;
|
|
641
|
+
left: 0;
|
|
642
|
+
bottom: -0.4em;
|
|
643
|
+
height: 0.8em;
|
|
644
|
+
width: 100%;
|
|
645
|
+
text-align: center;
|
|
646
|
+
z-index: 1;
|
|
647
|
+
cursor: row-resize;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
.vxe-gantt-view--body-row {
|
|
651
|
+
&:last-child {
|
|
652
|
+
.vxe-gantt-view--body-column {
|
|
653
|
+
.vxe-gantt-view-cell--row-resizable {
|
|
654
|
+
height: 0.4em;
|
|
655
|
+
bottom: -0px;
|
|
656
|
+
}
|
|
630
657
|
}
|
|
631
658
|
}
|
|
632
659
|
}
|