@syncfusion/ej2-gantt 19.2.62 → 19.3.46

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 (83) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +38 -0
  3. package/dist/ej2-gantt.umd.min.js +2 -2
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +124 -105
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +127 -107
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +2 -2
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +18 -18
  13. package/src/gantt/actions/cell-edit.js +1 -0
  14. package/src/gantt/actions/dialog-edit.js +6 -1
  15. package/src/gantt/actions/edit.js +12 -5
  16. package/src/gantt/actions/filter.js +1 -1
  17. package/src/gantt/actions/taskbar-edit.js +3 -3
  18. package/src/gantt/base/gantt-chart.js +1 -1
  19. package/src/gantt/base/gantt-model.d.ts +3 -30
  20. package/src/gantt/base/gantt.d.ts +2 -30
  21. package/src/gantt/base/gantt.js +59 -4
  22. package/src/gantt/base/interface.d.ts +4 -22
  23. package/src/gantt/base/splitter.js +7 -2
  24. package/src/gantt/base/task-processor.js +11 -3
  25. package/src/gantt/base/tree-grid.js +8 -2
  26. package/src/gantt/base/utils.js +2 -2
  27. package/src/gantt/export/export-helper.js +12 -14
  28. package/src/gantt/models/column.d.ts +11 -6
  29. package/src/gantt/models/day-working-time-model.d.ts +0 -4
  30. package/src/gantt/models/day-working-time.d.ts +0 -4
  31. package/src/gantt/models/selection-settings-model.d.ts +0 -4
  32. package/src/gantt/models/selection-settings.d.ts +0 -4
  33. package/src/gantt/renderer/chart-rows.d.ts +0 -1
  34. package/src/gantt/renderer/chart-rows.js +3 -71
  35. package/src/gantt/renderer/nonworking-day.js +1 -1
  36. package/styles/bootstrap-dark.css +17 -0
  37. package/styles/bootstrap.css +17 -0
  38. package/styles/bootstrap4.css +22 -0
  39. package/styles/bootstrap5-dark.css +1922 -0
  40. package/styles/bootstrap5-dark.scss +1 -0
  41. package/styles/bootstrap5.css +1922 -0
  42. package/styles/bootstrap5.scss +1 -0
  43. package/styles/fabric-dark.css +17 -0
  44. package/styles/fabric.css +17 -0
  45. package/styles/gantt/_bootstrap-dark-definition.scss +3 -0
  46. package/styles/gantt/_bootstrap-definition.scss +3 -0
  47. package/styles/gantt/_bootstrap4-definition.scss +3 -0
  48. package/styles/gantt/_bootstrap5-dark-definition.scss +1 -0
  49. package/styles/gantt/_bootstrap5-definition.scss +164 -0
  50. package/styles/gantt/_fabric-dark-definition.scss +3 -0
  51. package/styles/gantt/_fabric-definition.scss +3 -0
  52. package/styles/gantt/_highcontrast-definition.scss +3 -0
  53. package/styles/gantt/_highcontrast-light-definition.scss +3 -0
  54. package/styles/gantt/_layout.scss +15 -3
  55. package/styles/gantt/_material-dark-definition.scss +3 -0
  56. package/styles/gantt/_material-definition.scss +3 -0
  57. package/styles/gantt/_tailwind-dark-definition.scss +1 -156
  58. package/styles/gantt/_tailwind-definition.scss +67 -60
  59. package/styles/gantt/_theme.scss +8 -1
  60. package/styles/gantt/bootstrap-dark.css +17 -0
  61. package/styles/gantt/bootstrap.css +17 -0
  62. package/styles/gantt/bootstrap4.css +22 -0
  63. package/styles/gantt/bootstrap5-dark.css +1922 -0
  64. package/styles/gantt/bootstrap5-dark.scss +22 -0
  65. package/styles/gantt/bootstrap5.css +1922 -0
  66. package/styles/gantt/bootstrap5.scss +22 -0
  67. package/styles/gantt/fabric-dark.css +17 -0
  68. package/styles/gantt/fabric.css +17 -0
  69. package/styles/gantt/highcontrast-light.css +17 -0
  70. package/styles/gantt/highcontrast.css +17 -0
  71. package/styles/gantt/icons/_bootstrap5-dark.scss +1 -0
  72. package/styles/gantt/icons/_bootstrap5.scss +112 -0
  73. package/styles/gantt/icons/_tailwind-dark.scss +112 -112
  74. package/styles/gantt/material-dark.css +19 -2
  75. package/styles/gantt/material.css +17 -0
  76. package/styles/gantt/tailwind-dark.css +41 -25
  77. package/styles/gantt/tailwind.css +39 -23
  78. package/styles/highcontrast-light.css +17 -0
  79. package/styles/highcontrast.css +17 -0
  80. package/styles/material-dark.css +19 -2
  81. package/styles/material.css +17 -0
  82. package/styles/tailwind-dark.css +41 -25
  83. package/styles/tailwind.css +39 -23
@@ -180,7 +180,7 @@
180
180
  height: 100%;
181
181
  }
182
182
 
183
- /*! Tailwind-dark theme definition's */
183
+ /*! Tailwind theme definition's */
184
184
  /*! component's theme wise override definitions and variables */
185
185
  /*! Horizontal Tab */
186
186
  @keyframes tbar-alt-popup-shadow {
@@ -223,7 +223,6 @@
223
223
  }
224
224
  }
225
225
 
226
- /*! component's default definitions and variables */
227
226
  .e-gantt .e-add::before {
228
227
  content: '\e78a';
229
228
  }
@@ -797,6 +796,10 @@
797
796
  user-select: none;
798
797
  }
799
798
 
799
+ .e-gantt .e-gantt-chart .e-chart-rows-container {
800
+ line-height: initial;
801
+ }
802
+
800
803
  .e-gantt .e-gantt-chart .e-taskbar-left-resizer,
801
804
  .e-gantt .e-gantt-chart .e-taskbar-right-resizer {
802
805
  display: inline-block;
@@ -1243,6 +1246,14 @@
1243
1246
  opacity: 1;
1244
1247
  }
1245
1248
 
1249
+ .e-gantt .e-cloneproperties.e-draganddrop .e-row .e-rowcell .e-treecolumn-container .e-icons.e-none::before {
1250
+ content: '';
1251
+ }
1252
+
1253
+ .e-bigger .e-gantt .e-gantt-chart .e-label {
1254
+ font-size: 16px;
1255
+ }
1256
+
1246
1257
  .e-gantt-tooltip-label {
1247
1258
  padding-bottom: 2px;
1248
1259
  padding-right: 2px;
@@ -1332,6 +1343,10 @@
1332
1343
  border-radius: 0px;
1333
1344
  }
1334
1345
 
1346
+ .e-gantt .e-gantt-splitter-height {
1347
+ height: calc(100% - 38px) !important;
1348
+ }
1349
+
1335
1350
  .e-gantt .e-cloneproperties.e-draganddrop {
1336
1351
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
1337
1352
  opacity: .95;
@@ -1441,6 +1456,7 @@
1441
1456
 
1442
1457
  .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active {
1443
1458
  background: #6b7280;
1459
+ opacity: 0.9;
1444
1460
  }
1445
1461
 
1446
1462
  .e-gantt .e-gantt-chart .e-timeline-header-container {
@@ -1545,16 +1561,16 @@
1545
1561
  }
1546
1562
 
1547
1563
  .e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
1548
- background-color: #C4B5FD;
1549
- border: 1px solid #8B5CF6;
1564
+ background-color: #dcfce7;
1565
+ border: 1px solid #22c55e;
1550
1566
  }
1551
1567
 
1552
1568
  .e-gantt .e-gantt-chart .e-gantt-unscheduled-taskbar.e-gantt-child-manualtaskbar {
1553
- background: linear-gradient(to right, #C4B5FD, #8B5CF6 30%, #8B5CF6 70%, #8B5CF6 70%, #C4B5FD 100%);
1569
+ background: linear-gradient(to right, #dcfce7, #22c55e 30%, #22c55e 70%, #22c55e 70%, #dcfce7 100%);
1554
1570
  }
1555
1571
 
1556
1572
  .e-gantt .e-gantt-chart .e-gantt-child-manualprogressbar {
1557
- background-color: #8B5CF6;
1573
+ background-color: #22c55e;
1558
1574
  border: 0px;
1559
1575
  }
1560
1576
 
@@ -1576,7 +1592,7 @@
1576
1592
  }
1577
1593
 
1578
1594
  .e-gantt .e-gantt-chart .e-rangecontainer .e-rg-rangdiv {
1579
- border: 2px solid #FC7A05;
1595
+ border: 2px solid #f97316;
1580
1596
  width: 5px;
1581
1597
  z-index: 6;
1582
1598
  }
@@ -1596,7 +1612,7 @@
1596
1612
  }
1597
1613
 
1598
1614
  .e-gantt .e-gantt-chart .e-gantt-unscheduled-taskbar {
1599
- background: linear-gradient(to right, #22d3ee, #0891b2 30%, #0891b2 70%, #0891b2 70%, #22d3ee 100%);
1615
+ background: linear-gradient(to right, #0891b2, #22d3ee 30%, #22d3ee 70%, #22d3ee 70%, #0891b2 100%);
1600
1616
  background-color: rgba(63, 81, 181, 0.2);
1601
1617
  border: 0px;
1602
1618
  border-radius: 2px;
@@ -1611,7 +1627,7 @@
1611
1627
  }
1612
1628
 
1613
1629
  .e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler {
1614
- background: #222;
1630
+ background: #fff;
1615
1631
  border-color: #fff;
1616
1632
  }
1617
1633
 
@@ -1620,7 +1636,7 @@
1620
1636
  }
1621
1637
 
1622
1638
  .e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-after {
1623
- border-bottom-color: #222;
1639
+ border-bottom-color: #fff;
1624
1640
  }
1625
1641
 
1626
1642
  .e-gantt .e-gantt-chart .e-gantt-dependency-view-container {
@@ -1772,7 +1788,7 @@
1772
1788
  .e-gantt .e-gantt-chart .e-active {
1773
1789
  background: #6b7280;
1774
1790
  color: #fff;
1775
- opacity: 1;
1791
+ opacity: 0.9;
1776
1792
  }
1777
1793
 
1778
1794
  .e-gantt .e-gantt-chart .e-active .e-label {
@@ -1792,7 +1808,7 @@
1792
1808
  }
1793
1809
 
1794
1810
  .e-gantt .e-gantt-chart .e-uptail::before {
1795
- border-bottom-color: #e0e0e0;
1811
+ border-bottom-color: #4b5563;
1796
1812
  }
1797
1813
 
1798
1814
  .e-gantt .e-gantt-chart .e-downtail::after {
@@ -1800,12 +1816,12 @@
1800
1816
  }
1801
1817
 
1802
1818
  .e-gantt .e-gantt-chart .e-downtail::before {
1803
- border-top-color: #e0e0e0;
1819
+ border-top-color: #4b5563;
1804
1820
  }
1805
1821
 
1806
1822
  .e-gantt .e-gantt-chart .e-ganttpopup .e-content {
1807
1823
  background-color: #fff;
1808
- border-color: #e0e0e0;
1824
+ border-color: #4b5563;
1809
1825
  }
1810
1826
 
1811
1827
  .e-gantt .e-gantt-chart .e-spanclicked,
@@ -1837,20 +1853,20 @@
1837
1853
  }
1838
1854
 
1839
1855
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-line {
1840
- border-color: #8A8A8A !important;
1856
+ border-color: #6b7280 !important;
1841
1857
  }
1842
1858
 
1843
1859
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-connector-line-right-arrow {
1844
- border-left-color: #8A8A8A !important;
1860
+ border-left-color: #6b7280 !important;
1845
1861
  }
1846
1862
 
1847
1863
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-connector-line-left-arrow {
1848
- border-right-color: #8A8A8A !important;
1864
+ border-right-color: #6b7280 !important;
1849
1865
  }
1850
1866
 
1851
1867
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-child-taskbar-inner-div {
1852
- background: #D5D5D5 !important;
1853
- border: #D5D5D5 !important;
1868
+ background: #0891b2 !important;
1869
+ border: #0891b2 !important;
1854
1870
  }
1855
1871
 
1856
1872
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-child-progressbar-inner-div {
@@ -1859,16 +1875,16 @@
1859
1875
  }
1860
1876
 
1861
1877
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-milestone-top {
1862
- border-bottom-color: #D5D5D5 !important;
1878
+ border-bottom-color: #0891b2 !important;
1863
1879
  }
1864
1880
 
1865
1881
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-milestone-bottom {
1866
- border-top-color: #D5D5D5 !important;
1882
+ border-top-color: #0891b2 !important;
1867
1883
  }
1868
1884
 
1869
1885
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-parent-taskbar-inner-div {
1870
- background-color: #8A8A8A !important;
1871
- border: #8A8A8A !important;
1886
+ background-color: #6b7280 !important;
1887
+ border: #6b7280 !important;
1872
1888
  }
1873
1889
 
1874
1890
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-parent-progressbar-inner-div {
@@ -1924,8 +1940,8 @@
1924
1940
 
1925
1941
  .e-gantt.e-device .e-left-resize-gripper,
1926
1942
  .e-gantt.e-device .e-right-resize-gripper {
1927
- border-color: #9e9e9e;
1928
- color: #eee;
1943
+ border-color: #6b7280;
1944
+ color: #000;
1929
1945
  }
1930
1946
 
1931
1947
  .e-gantt.e-device .e-backarrowspan {
@@ -223,7 +223,6 @@
223
223
  }
224
224
  }
225
225
 
226
- /*! component's default definitions and variables */
227
226
  .e-gantt .e-add::before {
228
227
  content: '\e78a';
229
228
  }
@@ -797,6 +796,10 @@
797
796
  user-select: none;
798
797
  }
799
798
 
799
+ .e-gantt .e-gantt-chart .e-chart-rows-container {
800
+ line-height: initial;
801
+ }
802
+
800
803
  .e-gantt .e-gantt-chart .e-taskbar-left-resizer,
801
804
  .e-gantt .e-gantt-chart .e-taskbar-right-resizer {
802
805
  display: inline-block;
@@ -1243,6 +1246,14 @@
1243
1246
  opacity: 1;
1244
1247
  }
1245
1248
 
1249
+ .e-gantt .e-cloneproperties.e-draganddrop .e-row .e-rowcell .e-treecolumn-container .e-icons.e-none::before {
1250
+ content: '';
1251
+ }
1252
+
1253
+ .e-bigger .e-gantt .e-gantt-chart .e-label {
1254
+ font-size: 16px;
1255
+ }
1256
+
1246
1257
  .e-gantt-tooltip-label {
1247
1258
  padding-bottom: 2px;
1248
1259
  padding-right: 2px;
@@ -1332,6 +1343,10 @@
1332
1343
  border-radius: 0px;
1333
1344
  }
1334
1345
 
1346
+ .e-gantt .e-gantt-splitter-height {
1347
+ height: calc(100% - 38px) !important;
1348
+ }
1349
+
1335
1350
  .e-gantt .e-cloneproperties.e-draganddrop {
1336
1351
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
1337
1352
  opacity: .95;
@@ -1441,6 +1456,7 @@
1441
1456
 
1442
1457
  .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active {
1443
1458
  background: #e5e7eb;
1459
+ opacity: 0.9;
1444
1460
  }
1445
1461
 
1446
1462
  .e-gantt .e-gantt-chart .e-timeline-header-container {
@@ -1545,16 +1561,16 @@
1545
1561
  }
1546
1562
 
1547
1563
  .e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
1548
- background-color: #77E4C0;
1549
- border: 1px solid #10B981;
1564
+ background-color: #dcfce7;
1565
+ border: 1px solid #15803d;
1550
1566
  }
1551
1567
 
1552
1568
  .e-gantt .e-gantt-chart .e-gantt-unscheduled-taskbar.e-gantt-child-manualtaskbar {
1553
- background: linear-gradient(to right, #77E4C0, #10B981 30%, #10B981 70%, #10B981 70%, #77E4C0 100%);
1569
+ background: linear-gradient(to right, #dcfce7, #15803d 30%, #15803d 70%, #15803d 70%, #dcfce7 100%);
1554
1570
  }
1555
1571
 
1556
1572
  .e-gantt .e-gantt-chart .e-gantt-child-manualprogressbar {
1557
- background-color: #10B981;
1573
+ background-color: #15803d;
1558
1574
  border: 0px;
1559
1575
  }
1560
1576
 
@@ -1576,7 +1592,7 @@
1576
1592
  }
1577
1593
 
1578
1594
  .e-gantt .e-gantt-chart .e-rangecontainer .e-rg-rangdiv {
1579
- border: 2px solid #FC7A05;
1595
+ border: 2px solid #c2410c;
1580
1596
  width: 5px;
1581
1597
  z-index: 6;
1582
1598
  }
@@ -1611,7 +1627,7 @@
1611
1627
  }
1612
1628
 
1613
1629
  .e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler {
1614
- background: #222;
1630
+ background: #111827;
1615
1631
  border-color: #fff;
1616
1632
  }
1617
1633
 
@@ -1620,7 +1636,7 @@
1620
1636
  }
1621
1637
 
1622
1638
  .e-gantt .e-gantt-chart .e-progress-resize-gripper .e-progressbar-handler-after {
1623
- border-bottom-color: #222;
1639
+ border-bottom-color: #111827;
1624
1640
  }
1625
1641
 
1626
1642
  .e-gantt .e-gantt-chart .e-gantt-dependency-view-container {
@@ -1772,7 +1788,7 @@
1772
1788
  .e-gantt .e-gantt-chart .e-active {
1773
1789
  background: #e5e7eb;
1774
1790
  color: #111827;
1775
- opacity: 1;
1791
+ opacity: 0.9;
1776
1792
  }
1777
1793
 
1778
1794
  .e-gantt .e-gantt-chart .e-active .e-label {
@@ -1792,7 +1808,7 @@
1792
1808
  }
1793
1809
 
1794
1810
  .e-gantt .e-gantt-chart .e-uptail::before {
1795
- border-bottom-color: #e0e0e0;
1811
+ border-bottom-color: #e5e7eb;
1796
1812
  }
1797
1813
 
1798
1814
  .e-gantt .e-gantt-chart .e-downtail::after {
@@ -1800,12 +1816,12 @@
1800
1816
  }
1801
1817
 
1802
1818
  .e-gantt .e-gantt-chart .e-downtail::before {
1803
- border-top-color: #e0e0e0;
1819
+ border-top-color: #e5e7eb;
1804
1820
  }
1805
1821
 
1806
1822
  .e-gantt .e-gantt-chart .e-ganttpopup .e-content {
1807
1823
  background-color: #fff;
1808
- border-color: #e0e0e0;
1824
+ border-color: #e5e7eb;
1809
1825
  }
1810
1826
 
1811
1827
  .e-gantt .e-gantt-chart .e-spanclicked,
@@ -1837,20 +1853,20 @@
1837
1853
  }
1838
1854
 
1839
1855
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-line {
1840
- border-color: #8A8A8A !important;
1856
+ border-color: #d1d5db !important;
1841
1857
  }
1842
1858
 
1843
1859
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-connector-line-right-arrow {
1844
- border-left-color: #8A8A8A !important;
1860
+ border-left-color: #d1d5db !important;
1845
1861
  }
1846
1862
 
1847
1863
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-connector-line-left-arrow {
1848
- border-right-color: #8A8A8A !important;
1864
+ border-right-color: #d1d5db !important;
1849
1865
  }
1850
1866
 
1851
1867
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-child-taskbar-inner-div {
1852
- background: #D5D5D5 !important;
1853
- border: #D5D5D5 !important;
1868
+ background: #818cf8 !important;
1869
+ border: #818cf8 !important;
1854
1870
  }
1855
1871
 
1856
1872
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-child-progressbar-inner-div {
@@ -1859,16 +1875,16 @@
1859
1875
  }
1860
1876
 
1861
1877
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-milestone-top {
1862
- border-bottom-color: #D5D5D5 !important;
1878
+ border-bottom-color: #818cf8 !important;
1863
1879
  }
1864
1880
 
1865
1881
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-milestone-bottom {
1866
- border-top-color: #D5D5D5 !important;
1882
+ border-top-color: #818cf8 !important;
1867
1883
  }
1868
1884
 
1869
1885
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-parent-taskbar-inner-div {
1870
- background-color: #8A8A8A !important;
1871
- border: #8A8A8A !important;
1886
+ background-color: #d1d5db !important;
1887
+ border: #d1d5db !important;
1872
1888
  }
1873
1889
 
1874
1890
  .e-gantt .e-gantt-chart .e-predecessor-touch-mode .e-gantt-parent-progressbar-inner-div {
@@ -1924,8 +1940,8 @@
1924
1940
 
1925
1941
  .e-gantt.e-device .e-left-resize-gripper,
1926
1942
  .e-gantt.e-device .e-right-resize-gripper {
1927
- border-color: #9e9e9e;
1928
- color: #eee;
1943
+ border-color: #d1d5db;
1944
+ color: #fff;
1929
1945
  }
1930
1946
 
1931
1947
  .e-gantt.e-device .e-backarrowspan {