vxe-gantt 4.0.0-beta.6 → 4.0.0-beta.7

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 (47) hide show
  1. package/es/gantt/src/gantt-body.js +23 -6
  2. package/es/gantt/src/gantt-chart.js +6 -1
  3. package/es/gantt/src/gantt-header.js +1 -15
  4. package/es/gantt/src/gantt-view.js +19 -45
  5. package/es/gantt/src/gantt.js +18 -6
  6. package/es/gantt/src/util.js +0 -6
  7. package/es/gantt/style.css +17 -3
  8. package/es/gantt/style.min.css +1 -1
  9. package/es/style.css +1 -1
  10. package/es/style.min.css +1 -1
  11. package/es/ui/index.js +1 -1
  12. package/es/ui/src/log.js +1 -1
  13. package/es/vxe-gantt/style.css +17 -3
  14. package/es/vxe-gantt/style.min.css +1 -1
  15. package/lib/gantt/src/gantt-body.js +30 -5
  16. package/lib/gantt/src/gantt-body.min.js +1 -1
  17. package/lib/gantt/src/gantt-chart.js +8 -1
  18. package/lib/gantt/src/gantt-chart.min.js +1 -1
  19. package/lib/gantt/src/gantt-header.js +1 -18
  20. package/lib/gantt/src/gantt-header.min.js +1 -1
  21. package/lib/gantt/src/gantt-view.js +24 -45
  22. package/lib/gantt/src/gantt-view.min.js +1 -1
  23. package/lib/gantt/src/gantt.js +21 -4
  24. package/lib/gantt/src/gantt.min.js +1 -1
  25. package/lib/gantt/src/util.js +0 -7
  26. package/lib/gantt/src/util.min.js +1 -1
  27. package/lib/gantt/style/style.css +17 -3
  28. package/lib/gantt/style/style.min.css +1 -1
  29. package/lib/index.umd.js +203 -130
  30. package/lib/index.umd.min.js +1 -1
  31. package/lib/style.css +1 -1
  32. package/lib/style.min.css +1 -1
  33. package/lib/ui/index.js +1 -1
  34. package/lib/ui/index.min.js +1 -1
  35. package/lib/ui/src/log.js +1 -1
  36. package/lib/ui/src/log.min.js +1 -1
  37. package/lib/vxe-gantt/style/style.css +17 -3
  38. package/lib/vxe-gantt/style/style.min.css +1 -1
  39. package/package.json +3 -3
  40. package/packages/gantt/src/gantt-body.ts +23 -6
  41. package/packages/gantt/src/gantt-chart.ts +7 -1
  42. package/packages/gantt/src/gantt-header.ts +1 -19
  43. package/packages/gantt/src/gantt-view.ts +23 -52
  44. package/packages/gantt/src/gantt.ts +18 -6
  45. package/packages/gantt/src/util.ts +0 -7
  46. package/styles/components/gantt-module/gantt-chart.scss +1 -3
  47. package/styles/components/gantt.scss +15 -0
@@ -10,13 +10,6 @@ export function getRefElem (refEl: any) {
10
10
  return null
11
11
  }
12
12
 
13
- export function getCellHeight (height: number | 'unset' | undefined | null) {
14
- if (height === 'unset') {
15
- return 0
16
- }
17
- return height || 0
18
- }
19
-
20
13
  export function getCellRestHeight (rowRest: VxeTableDefines.RowCacheItem, cellOpts: VxeTablePropTypes.CellConfig, rowOpts: VxeTablePropTypes.RowConfig, defaultRowHeight: number) {
21
14
  return rowRest.resizeHeight || cellOpts.height || rowOpts.height || rowRest.height || defaultRowHeight
22
15
  }
@@ -14,9 +14,6 @@
14
14
  border-radius: var(--vxe-ui-gantt-view-task-bar-border-radius);
15
15
  }
16
16
  }
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
17
  }
21
18
  }
22
19
  }
@@ -31,6 +28,7 @@
31
28
  transform: translateY(-50%);
32
29
  height: var(--vxe-ui-gantt-view-chart-bar-height);
33
30
  background-color: var(--vxe-ui-gantt-view-task-bar-background-color);
31
+ overflow: hidden;
34
32
  pointer-events: all;
35
33
  &:hover {
36
34
  &::after {
@@ -531,6 +531,9 @@
531
531
  float: left;
532
532
  }
533
533
  }
534
+ .vxe-gantt-view--header-table {
535
+ height: 100%;
536
+ }
534
537
  .vxe-gantt-view--header-table,
535
538
  .vxe-gantt-view--body-table {
536
539
  border: 0;
@@ -583,6 +586,12 @@
583
586
  &.row--stripe {
584
587
  background-color: var(--vxe-ui-table-row-striped-background-color);
585
588
  }
589
+ &.row--radio {
590
+ background-color: var(--vxe-ui-table-row-radio-checked-background-color);
591
+ }
592
+ &.row--checked {
593
+ background-color: var(--vxe-ui-table-row-checkbox-checked-background-color);
594
+ }
586
595
  &.row--current {
587
596
  background-color: var(--vxe-ui-table-row-current-background-color);
588
597
  }
@@ -591,6 +600,12 @@
591
600
  &.row--stripe {
592
601
  background-color: var(--vxe-ui-table-row-hover-striped-background-color);
593
602
  }
603
+ &.row--radio {
604
+ background-color: var(--vxe-ui-table-row-hover-radio-checked-background-color);
605
+ }
606
+ &.row--checked {
607
+ background-color: var(--vxe-ui-table-row-hover-checkbox-checked-background-color);
608
+ }
594
609
  &.row--current {
595
610
  background-color: var(--vxe-ui-table-row-hover-current-background-color);
596
611
  }