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.
Files changed (40) hide show
  1. package/es/gantt/src/gantt-chart.js +91 -48
  2. package/es/gantt/src/gantt-view.js +50 -21
  3. package/es/gantt/src/gantt.js +86 -75
  4. package/es/gantt/src/util.js +0 -3
  5. package/es/gantt/style.css +16 -2
  6. package/es/gantt/style.min.css +1 -1
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +2 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-gantt/style.css +16 -2
  12. package/es/vxe-gantt/style.min.css +1 -1
  13. package/lib/gantt/src/gantt-chart.js +79 -40
  14. package/lib/gantt/src/gantt-chart.min.js +1 -1
  15. package/lib/gantt/src/gantt-view.js +50 -25
  16. package/lib/gantt/src/gantt-view.min.js +1 -1
  17. package/lib/gantt/src/gantt.js +92 -91
  18. package/lib/gantt/src/gantt.min.js +1 -1
  19. package/lib/gantt/src/util.js +0 -4
  20. package/lib/gantt/src/util.min.js +1 -1
  21. package/lib/gantt/style/style.css +16 -2
  22. package/lib/gantt/style/style.min.css +1 -1
  23. package/lib/index.umd.js +226 -164
  24. package/lib/index.umd.min.js +1 -1
  25. package/lib/style.css +1 -1
  26. package/lib/style.min.css +1 -1
  27. package/lib/ui/index.js +2 -1
  28. package/lib/ui/index.min.js +1 -1
  29. package/lib/ui/src/log.js +1 -1
  30. package/lib/ui/src/log.min.js +1 -1
  31. package/lib/vxe-gantt/style/style.css +16 -2
  32. package/lib/vxe-gantt/style/style.min.css +1 -1
  33. package/package.json +3 -3
  34. package/packages/gantt/src/gantt-chart.ts +92 -53
  35. package/packages/gantt/src/gantt-view.ts +52 -21
  36. package/packages/gantt/src/gantt.ts +91 -78
  37. package/packages/gantt/src/util.ts +0 -4
  38. package/packages/ui/index.ts +1 -0
  39. package/styles/components/gantt-module/gantt-chart.scss +14 -2
  40. 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-custom-bar-content {
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;
@@ -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
  }