@syncfusion/ej2-gantt 19.3.43 → 19.3.47

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 (58) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/ej2-gantt.umd.min.js +2 -2
  3. package/dist/ej2-gantt.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-gantt.es2015.js +61 -27
  5. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  6. package/dist/es6/ej2-gantt.es5.js +64 -29
  7. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  8. package/dist/global/ej2-gantt.min.js +2 -2
  9. package/dist/global/ej2-gantt.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +18 -18
  12. package/src/gantt/actions/cell-edit.js +1 -0
  13. package/src/gantt/actions/dialog-edit.js +6 -6
  14. package/src/gantt/actions/edit.js +7 -3
  15. package/src/gantt/base/date-processor.js +4 -1
  16. package/src/gantt/base/gantt.js +20 -0
  17. package/src/gantt/base/task-processor.js +11 -2
  18. package/src/gantt/base/utils.js +3 -3
  19. package/src/gantt/export/export-helper.js +12 -14
  20. package/styles/bootstrap-dark.css +99 -99
  21. package/styles/bootstrap.css +99 -99
  22. package/styles/bootstrap4.css +104 -99
  23. package/styles/bootstrap5-dark.css +104 -99
  24. package/styles/bootstrap5.css +104 -99
  25. package/styles/fabric-dark.css +99 -99
  26. package/styles/fabric.css +99 -99
  27. package/styles/gantt/_bootstrap-dark-definition.scss +0 -1
  28. package/styles/gantt/_bootstrap-definition.scss +0 -1
  29. package/styles/gantt/_bootstrap4-definition.scss +0 -1
  30. package/styles/gantt/_bootstrap5-definition.scss +0 -1
  31. package/styles/gantt/_fabric-dark-definition.scss +0 -1
  32. package/styles/gantt/_fabric-definition.scss +0 -1
  33. package/styles/gantt/_highcontrast-definition.scss +0 -1
  34. package/styles/gantt/_highcontrast-light-definition.scss +0 -1
  35. package/styles/gantt/_layout.scss +100 -95
  36. package/styles/gantt/_material-dark-definition.scss +0 -1
  37. package/styles/gantt/_material-definition.scss +0 -1
  38. package/styles/gantt/_tailwind-definition.scss +0 -1
  39. package/styles/gantt/_theme.scss +76 -81
  40. package/styles/gantt/bootstrap-dark.css +99 -99
  41. package/styles/gantt/bootstrap.css +99 -99
  42. package/styles/gantt/bootstrap4.css +104 -99
  43. package/styles/gantt/bootstrap5-dark.css +104 -99
  44. package/styles/gantt/bootstrap5.css +104 -99
  45. package/styles/gantt/fabric-dark.css +99 -99
  46. package/styles/gantt/fabric.css +99 -99
  47. package/styles/gantt/highcontrast-light.css +99 -99
  48. package/styles/gantt/highcontrast.css +99 -99
  49. package/styles/gantt/material-dark.css +99 -99
  50. package/styles/gantt/material.css +99 -99
  51. package/styles/gantt/tailwind-dark.css +99 -99
  52. package/styles/gantt/tailwind.css +99 -99
  53. package/styles/highcontrast-light.css +99 -99
  54. package/styles/highcontrast.css +99 -99
  55. package/styles/material-dark.css +99 -99
  56. package/styles/material.css +99 -99
  57. package/styles/tailwind-dark.css +99 -99
  58. package/styles/tailwind.css +99 -99
@@ -105,24 +105,6 @@
105
105
  }
106
106
  }
107
107
 
108
- .e-gantt-dialog .e-tab .e-tab-header {
109
- padding-left: $gantt-dialog-tab-padding-left;
110
-
111
- .e-indicator {
112
- display: block;
113
- }
114
-
115
- .e-toolbar-item .e-tab-wrap {
116
- border-style: solid;
117
- border-width: $gantt-tab-header-border-width;
118
- }
119
-
120
- }
121
-
122
- .e-gantt-dialog .e-tab .e-tab-header:not(.e-vertical)::before {
123
- border: 0;
124
- }
125
-
126
108
  .e-gantt-tree-grid-pane {
127
109
  .e-grid {
128
110
  border-width: 0;
@@ -310,7 +292,7 @@
310
292
  border-bottom-width: 1px;
311
293
  }
312
294
 
313
- @if $tab-skin == 'tailwind' or $tab-skin == 'tailwind-dark' {
295
+ @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
314
296
  line-height: normal;
315
297
  }
316
298
  }
@@ -456,6 +438,10 @@
456
438
  user-select: none;
457
439
  }
458
440
 
441
+ .e-chart-rows-container {
442
+ line-height: initial;
443
+ }
444
+
459
445
  .e-taskbar-left-resizer,
460
446
  .e-taskbar-right-resizer {
461
447
  display: inline-block;
@@ -661,7 +647,7 @@
661
647
  }
662
648
 
663
649
  .e-connector-line-z-index {
664
- @if $tab-skin == 'tailwind' or $tab-skin == 'tailwind-dark' {
650
+ @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
665
651
  z-index: 2;
666
652
  }
667
653
  @else {
@@ -756,107 +742,126 @@
756
742
 
757
743
  }
758
744
 
759
- .e-gantt-dialog {
745
+ }
760
746
 
761
- border: 0;
747
+ .e-gantt-dialog .e-tab .e-tab-header {
748
+ padding-left: $gantt-dialog-tab-padding-left;
762
749
 
763
- .e-gridform .e-table {
764
- border-spacing: 0;
765
- }
750
+ .e-indicator {
751
+ display: block;
752
+ }
766
753
 
767
- .e-item {
768
- height: $gantt-dialog-general-height;
769
- }
754
+ .e-toolbar-item .e-tab-wrap {
755
+ border-style: solid;
756
+ border-width: $gantt-tab-header-border-width;
757
+ }
770
758
 
771
- .e-dependent-div {
772
- border-bottom-width: $gantt-depedent-div-border-bottom;
773
- }
759
+ }
774
760
 
775
- .e-icon-dlg-close {
776
- opacity: initial;
777
- }
761
+ .e-gantt-dialog .e-tab .e-tab-header:not(.e-vertical)::before {
762
+ border: 0;
763
+ }
778
764
 
779
- .e-toolbar {
780
- border-top-width: 0;
781
- }
765
+ .e-gantt-dialog {
766
+ border: 0;
782
767
 
783
- .e-resource-div {
784
- border-bottom-width: $gantt-resource-div-border-bottom;
768
+ .e-gridform .e-table {
769
+ border-spacing: 0;
770
+ }
785
771
 
786
- .e-gridheader {
787
- border-top-width: 0;
788
- }
772
+ .e-item {
773
+ height: $gantt-dialog-general-height;
774
+ }
789
775
 
790
- }
776
+ .e-dependent-div {
777
+ border-bottom-width: $gantt-depedent-div-border-bottom;
778
+ }
791
779
 
792
- .e-edit-form-row {
793
- height: $gantt-dialog-general-height;
794
- overflow-y: auto;
795
- padding-bottom: $gantt-dialog-general-padding-bottom;
796
- }
780
+ .e-icon-dlg-close {
781
+ opacity: initial;
782
+ }
797
783
 
798
- .e-edit-form-column:nth-child(odd) {
799
- float: left;
800
- padding: $gantt-dialog-edit-form-odd-padding;
801
- width: 50%;
802
- }
784
+ .e-toolbar {
785
+ border-top-width: 0;
786
+ }
803
787
 
804
- .e-edit-form-column:nth-child(even) {
805
- float: left;
806
- padding: $gantt-dialog-edit-form-even-padding;
807
- width: 50%;
808
- }
788
+ .e-resource-div {
789
+ border-bottom-width: $gantt-resource-div-border-bottom;
809
790
 
810
- .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
811
- padding: $gantt-dialog-edit-form-scroll-padding;
791
+ .e-gridheader {
792
+ border-top-width: 0;
812
793
  }
813
794
 
814
- .e-edit-form-column {
815
- height: 75px;
816
- }
795
+ }
817
796
 
818
- .e-dependent-div .e-content {
819
- height: $gantt-dialog-dependent-height;
820
- }
797
+ .e-edit-form-row {
798
+ height: $gantt-dialog-general-height;
799
+ overflow-y: auto;
800
+ padding-bottom: $gantt-dialog-general-padding-bottom;
801
+ }
821
802
 
822
- .e-resource-div .e-content {
823
- height: $gantt-dialog-resource-height;
824
- }
803
+ .e-edit-form-column:nth-child(odd) {
804
+ float: left;
805
+ padding: $gantt-dialog-edit-form-odd-padding;
806
+ width: 50%;
807
+ }
825
808
 
826
- .e-richtexteditor {
827
- border-bottom-width: $gantt-richtext-border-bottom;
828
- height: $gantt-dialog-rte-height !important; // sass-lint:disable-line no-important
829
- overflow: hidden;
830
- }
809
+ .e-edit-form-column:nth-child(even) {
810
+ float: left;
811
+ padding: $gantt-dialog-edit-form-even-padding;
812
+ width: 50%;
813
+ }
831
814
 
832
- .e-richtexteditor.e-rte-tb-expand {
833
- border-top: 0;
834
- }
815
+ .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
816
+ padding: $gantt-dialog-edit-form-scroll-padding;
817
+ }
835
818
 
836
- .e-richtexteditor .e-rte-content {
837
- border-bottom-width: $gantt-richtext-content-border-bottom;
838
- height: $gantt-dialog-rte-content-height;
839
- }
819
+ .e-edit-form-column {
820
+ height: 75px;
821
+ }
840
822
 
841
- > .e-dlg-content {
842
- padding: 0 !important; // sass-lint:disable-line no-important
843
- @if $tab-skin == 'tailwind' or $tab-skin == 'tailwind-dark' {
844
- height: 291px;
845
- }
846
- }
823
+ .e-dependent-div .e-content {
824
+ height: $gantt-dialog-dependent-height;
825
+ }
826
+
827
+ .e-resource-div .e-content {
828
+ height: $gantt-dialog-resource-height;
829
+ }
830
+
831
+ .e-richtexteditor {
832
+ border-bottom-width: $gantt-richtext-border-bottom;
833
+ height: $gantt-dialog-rte-height !important; // sass-lint:disable-line no-important
834
+ overflow: hidden;
835
+ }
847
836
 
848
- .e-dlg-header-content {
849
- border-bottom: 0 !important; // sass-lint:disable-line no-important
837
+ .e-richtexteditor.e-rte-tb-expand {
838
+ border-top: 0;
839
+ }
840
+
841
+ .e-richtexteditor .e-rte-content {
842
+ border-bottom-width: $gantt-richtext-content-border-bottom;
843
+ height: $gantt-dialog-rte-content-height;
844
+ }
845
+
846
+ > .e-dlg-content {
847
+ padding: 0 !important; // sass-lint:disable-line no-important
848
+ @if $skin-name == 'tailwind' or $skin-name == 'tailwind-dark' {
849
+ height: 291px;
850
850
  }
851
+ }
851
852
 
852
- .e-dlg-header-content {
853
- border-radius: $gantt-dialog-border-radius;
854
- padding-bottom: $gantt-dialog-padding-bottom;
853
+ .e-dlg-header-content {
854
+ border-bottom: 0 !important; // sass-lint:disable-line no-important
855
+ }
855
856
 
856
- .e-btn.e-dlg-closeicon-btn {
857
- border-radius: 50%;
858
- }
857
+ .e-dlg-header-content {
858
+ border-radius: $gantt-dialog-border-radius;
859
+ padding-bottom: $gantt-dialog-padding-bottom;
860
+
861
+ .e-btn.e-dlg-closeicon-btn {
862
+ border-radius: 50%;
859
863
  }
864
+
860
865
  }
861
866
  }
862
867
 
@@ -118,7 +118,6 @@ $gantt-timeline-top-header-cell-height: 32px !default;
118
118
  $gantt-header-border-radius: 0px !default;
119
119
  $gantt-splitter-border-top-right-radius: 0px !default;
120
120
  $gantt-splitter-border-top-left-radius: 0px !default;
121
- $gantt-splitter-height: calc(100% - 42px) !important;
122
121
  $gantt-dialog-general-padding-bottom: 16px !default;
123
122
  $gantt-filter-menu-value-div-padding: 24px !default;
124
123
  $gantt-dialog-tab-hover-border-bottom: 0px !default;
@@ -118,7 +118,6 @@ $gantt-timeline-top-header-cell-height: 32px !default;
118
118
  $gantt-header-border-radius: 0px !default;
119
119
  $gantt-splitter-border-top-right-radius: 0px !default;
120
120
  $gantt-splitter-border-top-left-radius: 0px !default;
121
- $gantt-splitter-height: calc(100% - 42px) !important;
122
121
  $gantt-dialog-general-padding-bottom: 16px !default;
123
122
  $gantt-filter-menu-value-div-padding: 24px !default;
124
123
  $gantt-dialog-tab-hover-border-bottom: 0px !default;
@@ -140,7 +140,6 @@ $gantt-timeline-top-header-cell-height: 24px !default;
140
140
  $gantt-header-border-radius: 0px !default;
141
141
  $gantt-splitter-border-top-right-radius: 0px !default;
142
142
  $gantt-splitter-border-top-left-radius: 0px !default;
143
- $gantt-splitter-height: calc(100% - 38px) !important;
144
143
  $gantt-dialog-general-padding-bottom: 12px !default;
145
144
  $gantt-filter-menu-value-div-padding: 18px !default;
146
145
  $gantt-dialog-tab-hover-border-bottom: 0px !default;
@@ -1,5 +1,4 @@
1
- 
2
- @include export-module('gantt-theme') {
1
+ @include export-module('gantt-theme') {
3
2
  /*! Gantt theme */
4
3
 
5
4
  .e-gantt {
@@ -9,10 +8,6 @@
9
8
  border-radius: $gantt-header-border-radius;
10
9
  }
11
10
 
12
- .e-gantt-splitter-height {
13
- height: $gantt-splitter-height;
14
- }
15
-
16
11
  .e-cloneproperties.e-draganddrop {
17
12
  box-shadow: $gantt-clone-prop-box-shadow;
18
13
  opacity: .95;
@@ -44,81 +39,6 @@
44
39
  box-shadow: $grid-active-container-border !important; // sass-lint:disable-line no-important
45
40
  }
46
41
 
47
- .e-gantt-dialog {
48
-
49
- .e-dlg-header {
50
- color: $gantt-dialog-header-font-color;
51
- }
52
-
53
- .e-dlg-header-content {
54
- background: $gantt-dialog-tab-background;
55
- }
56
-
57
- .e-icon-dlg-close {
58
- color: $gantt-dialog-icon-color;
59
- }
60
-
61
- .e-btn.e-dlg-closeicon-btn:hover {
62
- background-color: $gantt-dialog-icon-hover-color;
63
-
64
- .e-icon-dlg-close {
65
- color: $gantt-dialog-close-icon-hover-color;
66
- }
67
-
68
- }
69
-
70
- .e-tab {
71
-
72
- .e-tab-header {
73
- background: $gantt-dialog-tab-background;
74
-
75
- .e-indicator {
76
- background: $gantt-tab-selection-indicator-color;
77
- }
78
-
79
- .e-toolbar-item.e-active {
80
- background-color: $gantt-dialog-active-tab-background;
81
-
82
- .e-tab-wrap {
83
- .e-tab-text {
84
- color: $gantt-tab-header-active-font-color;
85
- }
86
- }
87
-
88
- }
89
-
90
- .e-toolbar-item {
91
-
92
- .e-tab-wrap {
93
- border-color: $gantt-dialog-tab-header-border-no-color;
94
-
95
- .e-tab-text {
96
- color: $gantt-tab-header-font-color;
97
- }
98
-
99
- }
100
-
101
- }
102
-
103
- .e-toolbar-item:not(.e-active) .e-tab-wrap:hover {
104
- background: $gantt-tab-header-hover-color;
105
- border-bottom: $gantt-dialog-tab-hover-border-bottom;
106
- border-bottom-left-radius: $gantt-dialog-tab-hover-border-bottom-radius;
107
- border-bottom-right-radius: $gantt-dialog-tab-hover-border-bottom-radius;
108
- border-color: $gantt-dialog-tab-hover-border-color;
109
-
110
- .e-tab-text {
111
- color: $gantt-tab-header-hover-font-color;
112
- }
113
-
114
- }
115
-
116
- }
117
-
118
- }
119
-
120
- }
121
-
122
42
  .e-temp-content {
123
43
  border-color: $gantt-header-border-color;
124
44
  }
@@ -656,6 +576,81 @@
656
576
 
657
577
  }
658
578
 
579
+ .e-gantt-dialog {
580
+
581
+ .e-dlg-header {
582
+ color: $gantt-dialog-header-font-color;
583
+ }
584
+
585
+ .e-dlg-header-content {
586
+ background: $gantt-dialog-tab-background;
587
+ }
588
+
589
+ .e-icon-dlg-close {
590
+ color: $gantt-dialog-icon-color;
591
+ }
592
+
593
+ .e-btn.e-dlg-closeicon-btn:hover {
594
+ background-color: $gantt-dialog-icon-hover-color;
595
+
596
+ .e-icon-dlg-close {
597
+ color: $gantt-dialog-close-icon-hover-color;
598
+ }
599
+
600
+ }
601
+
602
+ .e-tab {
603
+
604
+ .e-tab-header {
605
+ background: $gantt-dialog-tab-background;
606
+
607
+ .e-indicator {
608
+ background: $gantt-tab-selection-indicator-color;
609
+ }
610
+
611
+ .e-toolbar-item.e-active {
612
+ background-color: $gantt-dialog-active-tab-background;
613
+
614
+ .e-tab-wrap {
615
+ .e-tab-text {
616
+ color: $gantt-tab-header-active-font-color;
617
+ }
618
+ }
619
+
620
+ }
621
+
622
+ .e-toolbar-item {
623
+
624
+ .e-tab-wrap {
625
+ border-color: $gantt-dialog-tab-header-border-no-color;
626
+
627
+ .e-tab-text {
628
+ color: $gantt-tab-header-font-color;
629
+ }
630
+
631
+ }
632
+
633
+ }
634
+
635
+ .e-toolbar-item:not(.e-active) .e-tab-wrap:hover {
636
+ background: $gantt-tab-header-hover-color;
637
+ border-bottom: $gantt-dialog-tab-hover-border-bottom;
638
+ border-bottom-left-radius: $gantt-dialog-tab-hover-border-bottom-radius;
639
+ border-bottom-right-radius: $gantt-dialog-tab-hover-border-bottom-radius;
640
+ border-color: $gantt-dialog-tab-hover-border-color;
641
+
642
+ .e-tab-text {
643
+ color: $gantt-tab-header-hover-font-color;
644
+ }
645
+
646
+ }
647
+
648
+ }
649
+
650
+ }
651
+
652
+ }
653
+
659
654
  .e-gantt.e-device {
660
655
  .e-left-resize-gripper,
661
656
  .e-right-resize-gripper {