@syncfusion/ej2-gantt 19.3.44 → 19.3.48

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 (63) hide show
  1. package/CHANGELOG.md +45 -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 +93 -28
  5. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  6. package/dist/es6/ej2-gantt.es5.js +146 -71
  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 +17 -17
  12. package/src/gantt/actions/cell-edit.js +1 -0
  13. package/src/gantt/actions/context-menu.js +5 -0
  14. package/src/gantt/actions/dialog-edit.js +6 -6
  15. package/src/gantt/actions/edit.js +7 -3
  16. package/src/gantt/actions/rowdragdrop.js +74 -41
  17. package/src/gantt/actions/taskbar-edit.js +3 -1
  18. package/src/gantt/base/date-processor.js +4 -1
  19. package/src/gantt/base/gantt.js +20 -0
  20. package/src/gantt/base/task-processor.js +11 -2
  21. package/src/gantt/base/utils.js +3 -3
  22. package/src/gantt/export/export-helper.js +12 -14
  23. package/styles/bootstrap-dark.css +99 -99
  24. package/styles/bootstrap.css +99 -99
  25. package/styles/bootstrap4.css +104 -99
  26. package/styles/bootstrap5-dark.css +104 -99
  27. package/styles/bootstrap5.css +104 -99
  28. package/styles/fabric-dark.css +99 -99
  29. package/styles/fabric.css +99 -99
  30. package/styles/gantt/_bootstrap-dark-definition.scss +0 -1
  31. package/styles/gantt/_bootstrap-definition.scss +0 -1
  32. package/styles/gantt/_bootstrap4-definition.scss +0 -1
  33. package/styles/gantt/_bootstrap5-definition.scss +0 -1
  34. package/styles/gantt/_fabric-dark-definition.scss +0 -1
  35. package/styles/gantt/_fabric-definition.scss +0 -1
  36. package/styles/gantt/_highcontrast-definition.scss +0 -1
  37. package/styles/gantt/_highcontrast-light-definition.scss +0 -1
  38. package/styles/gantt/_layout.scss +100 -95
  39. package/styles/gantt/_material-dark-definition.scss +0 -1
  40. package/styles/gantt/_material-definition.scss +0 -1
  41. package/styles/gantt/_tailwind-definition.scss +0 -1
  42. package/styles/gantt/_theme.scss +76 -81
  43. package/styles/gantt/bootstrap-dark.css +99 -99
  44. package/styles/gantt/bootstrap.css +99 -99
  45. package/styles/gantt/bootstrap4.css +104 -99
  46. package/styles/gantt/bootstrap5-dark.css +104 -99
  47. package/styles/gantt/bootstrap5-dark.scss +1 -0
  48. package/styles/gantt/bootstrap5.css +104 -99
  49. package/styles/gantt/bootstrap5.scss +1 -0
  50. package/styles/gantt/fabric-dark.css +99 -99
  51. package/styles/gantt/fabric.css +99 -99
  52. package/styles/gantt/highcontrast-light.css +99 -99
  53. package/styles/gantt/highcontrast.css +99 -99
  54. package/styles/gantt/material-dark.css +99 -99
  55. package/styles/gantt/material.css +99 -99
  56. package/styles/gantt/tailwind-dark.css +99 -99
  57. package/styles/gantt/tailwind.css +99 -99
  58. package/styles/highcontrast-light.css +99 -99
  59. package/styles/highcontrast.css +99 -99
  60. package/styles/material-dark.css +99 -99
  61. package/styles/material.css +99 -99
  62. package/styles/tailwind-dark.css +99 -99
  63. package/styles/tailwind.css +99 -99
@@ -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 {
@@ -383,23 +383,6 @@
383
383
  border-color: transparent;
384
384
  }
385
385
 
386
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header {
387
- padding-left: 12px;
388
- }
389
-
390
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
391
- display: block;
392
- }
393
-
394
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
395
- border-style: solid;
396
- border-width: 0px;
397
- }
398
-
399
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header:not(.e-vertical)::before {
400
- border: 0;
401
- }
402
-
403
386
  .e-gantt .e-gantt-tree-grid-pane .e-grid {
404
387
  border-width: 0;
405
388
  }
@@ -738,6 +721,10 @@
738
721
  user-select: none;
739
722
  }
740
723
 
724
+ .e-gantt .e-gantt-chart .e-chart-rows-container {
725
+ line-height: initial;
726
+ }
727
+
741
728
  .e-gantt .e-gantt-chart .e-taskbar-left-resizer,
742
729
  .e-gantt .e-gantt-chart .e-taskbar-right-resizer {
743
730
  display: inline-block;
@@ -1030,101 +1017,118 @@
1030
1017
  outline-offset: 2px;
1031
1018
  }
1032
1019
 
1033
- .e-gantt .e-gantt-dialog {
1020
+ .e-gantt-dialog .e-tab .e-tab-header {
1021
+ padding-left: 12px;
1022
+ }
1023
+
1024
+ .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
1025
+ display: block;
1026
+ }
1027
+
1028
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
1029
+ border-style: solid;
1030
+ border-width: 0px;
1031
+ }
1032
+
1033
+ .e-gantt-dialog .e-tab .e-tab-header:not(.e-vertical)::before {
1034
1034
  border: 0;
1035
1035
  }
1036
1036
 
1037
- .e-gantt .e-gantt-dialog .e-gridform .e-table {
1037
+ .e-gantt-dialog {
1038
+ border: 0;
1039
+ }
1040
+
1041
+ .e-gantt-dialog .e-gridform .e-table {
1038
1042
  border-spacing: 0;
1039
1043
  }
1040
1044
 
1041
- .e-gantt .e-gantt-dialog .e-item {
1045
+ .e-gantt-dialog .e-item {
1042
1046
  height: 241px;
1043
1047
  }
1044
1048
 
1045
- .e-gantt .e-gantt-dialog .e-dependent-div {
1049
+ .e-gantt-dialog .e-dependent-div {
1046
1050
  border-bottom-width: 0px;
1047
1051
  }
1048
1052
 
1049
- .e-gantt .e-gantt-dialog .e-icon-dlg-close {
1053
+ .e-gantt-dialog .e-icon-dlg-close {
1050
1054
  opacity: initial;
1051
1055
  }
1052
1056
 
1053
- .e-gantt .e-gantt-dialog .e-toolbar {
1057
+ .e-gantt-dialog .e-toolbar {
1054
1058
  border-top-width: 0;
1055
1059
  }
1056
1060
 
1057
- .e-gantt .e-gantt-dialog .e-resource-div {
1061
+ .e-gantt-dialog .e-resource-div {
1058
1062
  border-bottom-width: 0px;
1059
1063
  }
1060
1064
 
1061
- .e-gantt .e-gantt-dialog .e-resource-div .e-gridheader {
1065
+ .e-gantt-dialog .e-resource-div .e-gridheader {
1062
1066
  border-top-width: 0;
1063
1067
  }
1064
1068
 
1065
- .e-gantt .e-gantt-dialog .e-edit-form-row {
1069
+ .e-gantt-dialog .e-edit-form-row {
1066
1070
  height: 241px;
1067
1071
  overflow-y: auto;
1068
1072
  padding-bottom: 16px;
1069
1073
  }
1070
1074
 
1071
- .e-gantt .e-gantt-dialog .e-edit-form-column:nth-child(odd) {
1075
+ .e-gantt-dialog .e-edit-form-column:nth-child(odd) {
1072
1076
  float: left;
1073
1077
  padding: 16px 18px 0 18px;
1074
1078
  width: 50%;
1075
1079
  }
1076
1080
 
1077
- .e-gantt .e-gantt-dialog .e-edit-form-column:nth-child(even) {
1081
+ .e-gantt-dialog .e-edit-form-column:nth-child(even) {
1078
1082
  float: left;
1079
1083
  padding: 16px 16px 0 0;
1080
1084
  width: 50%;
1081
1085
  }
1082
1086
 
1083
- .e-gantt .e-gantt-dialog .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
1087
+ .e-gantt-dialog .e-edit-form-row.e-scroll .e-edit-form-column:nth-child(even) {
1084
1088
  padding: 16px 16px 0 0;
1085
1089
  }
1086
1090
 
1087
- .e-gantt .e-gantt-dialog .e-edit-form-column {
1091
+ .e-gantt-dialog .e-edit-form-column {
1088
1092
  height: 75px;
1089
1093
  }
1090
1094
 
1091
- .e-gantt .e-gantt-dialog .e-dependent-div .e-content {
1095
+ .e-gantt-dialog .e-dependent-div .e-content {
1092
1096
  height: 161px;
1093
1097
  }
1094
1098
 
1095
- .e-gantt .e-gantt-dialog .e-resource-div .e-content {
1099
+ .e-gantt-dialog .e-resource-div .e-content {
1096
1100
  height: 202px;
1097
1101
  }
1098
1102
 
1099
- .e-gantt .e-gantt-dialog .e-richtexteditor {
1103
+ .e-gantt-dialog .e-richtexteditor {
1100
1104
  border-bottom-width: 0px;
1101
1105
  height: 241px !important;
1102
1106
  overflow: hidden;
1103
1107
  }
1104
1108
 
1105
- .e-gantt .e-gantt-dialog .e-richtexteditor.e-rte-tb-expand {
1109
+ .e-gantt-dialog .e-richtexteditor.e-rte-tb-expand {
1106
1110
  border-top: 0;
1107
1111
  }
1108
1112
 
1109
- .e-gantt .e-gantt-dialog .e-richtexteditor .e-rte-content {
1113
+ .e-gantt-dialog .e-richtexteditor .e-rte-content {
1110
1114
  border-bottom-width: 0px;
1111
1115
  height: 200px;
1112
1116
  }
1113
1117
 
1114
- .e-gantt .e-gantt-dialog > .e-dlg-content {
1118
+ .e-gantt-dialog > .e-dlg-content {
1115
1119
  padding: 0 !important;
1116
1120
  }
1117
1121
 
1118
- .e-gantt .e-gantt-dialog .e-dlg-header-content {
1122
+ .e-gantt-dialog .e-dlg-header-content {
1119
1123
  border-bottom: 0 !important;
1120
1124
  }
1121
1125
 
1122
- .e-gantt .e-gantt-dialog .e-dlg-header-content {
1126
+ .e-gantt-dialog .e-dlg-header-content {
1123
1127
  border-radius: 6px 6px 0px 0px;
1124
1128
  padding-bottom: 20px;
1125
1129
  }
1126
1130
 
1127
- .e-gantt .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
1131
+ .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
1128
1132
  border-radius: 50%;
1129
1133
  }
1130
1134
 
@@ -1280,10 +1284,6 @@
1280
1284
  border-radius: 4px;
1281
1285
  }
1282
1286
 
1283
- .e-gantt .e-gantt-splitter-height {
1284
- height: calc(100% - 41px) !important;
1285
- }
1286
-
1287
1287
  .e-gantt .e-cloneproperties.e-draganddrop {
1288
1288
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
1289
1289
  opacity: .95;
@@ -1315,62 +1315,6 @@
1315
1315
  box-shadow: 0 0 0 1px #248aff inset !important;
1316
1316
  }
1317
1317
 
1318
- .e-gantt .e-gantt-dialog .e-dlg-header {
1319
- color: #fff;
1320
- }
1321
-
1322
- .e-gantt .e-gantt-dialog .e-dlg-header-content {
1323
- background: #0070f0;
1324
- }
1325
-
1326
- .e-gantt .e-gantt-dialog .e-icon-dlg-close {
1327
- color: #fff;
1328
- }
1329
-
1330
- .e-gantt .e-gantt-dialog .e-btn.e-dlg-closeicon-btn:hover {
1331
- background-color: transparent;
1332
- }
1333
-
1334
- .e-gantt .e-gantt-dialog .e-btn.e-dlg-closeicon-btn:hover .e-icon-dlg-close {
1335
- color: #f0f0f0;
1336
- }
1337
-
1338
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header {
1339
- background: #0070f0;
1340
- }
1341
-
1342
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
1343
- background: transparent;
1344
- }
1345
-
1346
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item.e-active {
1347
- background-color: #1a1a1a;
1348
- }
1349
-
1350
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap .e-tab-text {
1351
- color: #fff;
1352
- }
1353
-
1354
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
1355
- border-color: transparent;
1356
- }
1357
-
1358
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-text {
1359
- color: #fff;
1360
- }
1361
-
1362
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover {
1363
- background: #2a2a2a;
1364
- border-bottom: 0px;
1365
- border-bottom-left-radius: 0px;
1366
- border-bottom-right-radius: 0px;
1367
- border-color: transparent;
1368
- }
1369
-
1370
- .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover .e-tab-text {
1371
- color: #f0f0f0;
1372
- }
1373
-
1374
1318
  .e-gantt .e-temp-content {
1375
1319
  border-color: #484848;
1376
1320
  }
@@ -1875,6 +1819,62 @@
1875
1819
  color: #f0f0f0 !important;
1876
1820
  }
1877
1821
 
1822
+ .e-gantt-dialog .e-dlg-header {
1823
+ color: #fff;
1824
+ }
1825
+
1826
+ .e-gantt-dialog .e-dlg-header-content {
1827
+ background: #0070f0;
1828
+ }
1829
+
1830
+ .e-gantt-dialog .e-icon-dlg-close {
1831
+ color: #fff;
1832
+ }
1833
+
1834
+ .e-gantt-dialog .e-btn.e-dlg-closeicon-btn:hover {
1835
+ background-color: transparent;
1836
+ }
1837
+
1838
+ .e-gantt-dialog .e-btn.e-dlg-closeicon-btn:hover .e-icon-dlg-close {
1839
+ color: #f0f0f0;
1840
+ }
1841
+
1842
+ .e-gantt-dialog .e-tab .e-tab-header {
1843
+ background: #0070f0;
1844
+ }
1845
+
1846
+ .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
1847
+ background: transparent;
1848
+ }
1849
+
1850
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item.e-active {
1851
+ background-color: #1a1a1a;
1852
+ }
1853
+
1854
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap .e-tab-text {
1855
+ color: #fff;
1856
+ }
1857
+
1858
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
1859
+ border-color: transparent;
1860
+ }
1861
+
1862
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-text {
1863
+ color: #fff;
1864
+ }
1865
+
1866
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover {
1867
+ background: #2a2a2a;
1868
+ border-bottom: 0px;
1869
+ border-bottom-left-radius: 0px;
1870
+ border-bottom-right-radius: 0px;
1871
+ border-color: transparent;
1872
+ }
1873
+
1874
+ .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover .e-tab-text {
1875
+ color: #f0f0f0;
1876
+ }
1877
+
1878
1878
  .e-gantt.e-device .e-left-resize-gripper,
1879
1879
  .e-gantt.e-device .e-right-resize-gripper {
1880
1880
  border-color: #9e9e9e;