@syncfusion/ej2-gantt 23.2.7 → 24.1.41

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 (112) hide show
  1. package/CHANGELOG.md +0 -10
  2. package/dist/ej2-gantt.min.js +2 -2
  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 +2939 -324
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +2993 -358
  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 +21 -21
  13. package/src/gantt/actions/cell-edit.js +7 -3
  14. package/src/gantt/actions/chart-scroll.d.ts +9 -1
  15. package/src/gantt/actions/chart-scroll.js +111 -3
  16. package/src/gantt/actions/connector-line-edit.js +8 -1
  17. package/src/gantt/actions/context-menu.js +2 -2
  18. package/src/gantt/actions/day-markers.d.ts +2 -1
  19. package/src/gantt/actions/dependency.js +2 -2
  20. package/src/gantt/actions/dialog-edit.d.ts +24 -0
  21. package/src/gantt/actions/dialog-edit.js +383 -1
  22. package/src/gantt/actions/edit.js +68 -21
  23. package/src/gantt/actions/keyboard.js +5 -1
  24. package/src/gantt/actions/pdf-export.js +12 -4
  25. package/src/gantt/actions/rowdragdrop.js +20 -9
  26. package/src/gantt/actions/selection.js +6 -3
  27. package/src/gantt/actions/taskbar-edit.d.ts +14 -0
  28. package/src/gantt/actions/taskbar-edit.js +517 -82
  29. package/src/gantt/actions/toolbar.js +4 -1
  30. package/src/gantt/base/css-constants.d.ts +2 -0
  31. package/src/gantt/base/css-constants.js +2 -0
  32. package/src/gantt/base/enum.d.ts +22 -0
  33. package/src/gantt/base/gantt-chart.js +63 -21
  34. package/src/gantt/base/gantt-model.d.ts +9 -1
  35. package/src/gantt/base/gantt.d.ts +11 -1
  36. package/src/gantt/base/gantt.js +46 -18
  37. package/src/gantt/base/interface.d.ts +135 -3
  38. package/src/gantt/base/splitter.js +6 -0
  39. package/src/gantt/base/task-processor.d.ts +1 -1
  40. package/src/gantt/base/task-processor.js +37 -9
  41. package/src/gantt/export/export-helper.d.ts +12 -0
  42. package/src/gantt/export/export-helper.js +316 -9
  43. package/src/gantt/export/pdf-base/pdf-grid-table.js +14 -1
  44. package/src/gantt/export/pdf-base/pdf-style/gantt-theme.js +36 -0
  45. package/src/gantt/export/pdf-connector-line.js +137 -32
  46. package/src/gantt/export/pdf-event-marker.d.ts +10 -0
  47. package/src/gantt/export/pdf-event-marker.js +57 -0
  48. package/src/gantt/export/pdf-gantt.d.ts +2 -0
  49. package/src/gantt/export/pdf-gantt.js +30 -10
  50. package/src/gantt/export/pdf-taskbar.d.ts +23 -2
  51. package/src/gantt/export/pdf-taskbar.js +771 -43
  52. package/src/gantt/export/pdf-timeline.d.ts +9 -0
  53. package/src/gantt/export/pdf-timeline.js +98 -20
  54. package/src/gantt/models/column.d.ts +12 -0
  55. package/src/gantt/renderer/chart-rows.d.ts +1 -1
  56. package/src/gantt/renderer/chart-rows.js +29 -16
  57. package/src/gantt/renderer/connector-line.js +8 -5
  58. package/src/gantt/renderer/edit-tooltip.js +3 -0
  59. package/src/gantt/renderer/event-marker.js +4 -1
  60. package/src/gantt/renderer/nonworking-day.js +18 -5
  61. package/src/gantt/renderer/timeline.d.ts +9 -0
  62. package/src/gantt/renderer/timeline.js +164 -21
  63. package/styles/bootstrap-dark.css +77 -16
  64. package/styles/bootstrap.css +78 -17
  65. package/styles/bootstrap4.css +78 -17
  66. package/styles/bootstrap5-dark.css +78 -17
  67. package/styles/bootstrap5.css +78 -17
  68. package/styles/fabric-dark.css +78 -17
  69. package/styles/fabric.css +78 -17
  70. package/styles/fluent-dark.css +78 -17
  71. package/styles/fluent.css +78 -17
  72. package/styles/gantt/_bootstrap-dark-definition.scss +7 -2
  73. package/styles/gantt/_bootstrap-definition.scss +7 -2
  74. package/styles/gantt/_bootstrap4-definition.scss +7 -2
  75. package/styles/gantt/_bootstrap5-definition.scss +7 -2
  76. package/styles/gantt/_fabric-dark-definition.scss +7 -2
  77. package/styles/gantt/_fabric-definition.scss +7 -2
  78. package/styles/gantt/_fluent-definition.scss +7 -2
  79. package/styles/gantt/_fusionnew-definition.scss +6 -2
  80. package/styles/gantt/_highcontrast-definition.scss +7 -2
  81. package/styles/gantt/_highcontrast-light-definition.scss +7 -2
  82. package/styles/gantt/_layout.scss +92 -20
  83. package/styles/gantt/_material-dark-definition.scss +7 -2
  84. package/styles/gantt/_material-definition.scss +7 -2
  85. package/styles/gantt/_material3-definition.scss +7 -2
  86. package/styles/gantt/_tailwind-definition.scss +6 -1
  87. package/styles/gantt/_theme.scss +11 -0
  88. package/styles/gantt/bootstrap-dark.css +77 -16
  89. package/styles/gantt/bootstrap.css +78 -17
  90. package/styles/gantt/bootstrap4.css +78 -17
  91. package/styles/gantt/bootstrap5-dark.css +78 -17
  92. package/styles/gantt/bootstrap5.css +78 -17
  93. package/styles/gantt/fabric-dark.css +78 -17
  94. package/styles/gantt/fabric.css +78 -17
  95. package/styles/gantt/fluent-dark.css +78 -17
  96. package/styles/gantt/fluent.css +78 -17
  97. package/styles/gantt/highcontrast-light.css +78 -17
  98. package/styles/gantt/highcontrast.css +78 -17
  99. package/styles/gantt/material-dark.css +78 -17
  100. package/styles/gantt/material.css +78 -17
  101. package/styles/gantt/material3-dark.css +77 -16
  102. package/styles/gantt/material3.css +77 -16
  103. package/styles/gantt/tailwind-dark.css +78 -17
  104. package/styles/gantt/tailwind.css +78 -17
  105. package/styles/highcontrast-light.css +78 -17
  106. package/styles/highcontrast.css +78 -17
  107. package/styles/material-dark.css +78 -17
  108. package/styles/material.css +78 -17
  109. package/styles/material3-dark.css +77 -16
  110. package/styles/material3.css +77 -16
  111. package/styles/tailwind-dark.css +78 -17
  112. package/styles/tailwind.css +78 -17
@@ -264,6 +264,22 @@
264
264
  content: "\e7f9";
265
265
  }
266
266
 
267
+ .e-bigger .e-gantt .e-gantt-chart .e-taskbar-left-resizer,
268
+ .e-bigger .e-gantt .e-gantt-chart .e-taskbar-right-resizer {
269
+ display: inline-block;
270
+ position: absolute;
271
+ top: 0;
272
+ width: 25px;
273
+ z-index: 4;
274
+ }
275
+ .e-bigger .e-gantt .e-gantt-chart .e-left-resize-gripper,
276
+ .e-bigger .e-gantt .e-gantt-chart .e-right-resize-gripper {
277
+ -ms-flex-align: center;
278
+ align-items: center;
279
+ cursor: ew-resize;
280
+ display: -ms-inline-flexbox;
281
+ display: inline-flex;
282
+ }
267
283
  .e-bigger .e-gantt .e-gantt-chart .e-timeline-header-container {
268
284
  height: 64px;
269
285
  }
@@ -343,7 +359,8 @@
343
359
  padding: 16px 4px 16px 24px !important; /* stylelint-disable-line declaration-no-important */
344
360
  }
345
361
  .e-bigger .e-gantt .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
346
- left: -2px !important;
362
+ left: -11px;
363
+ top: 3px;
347
364
  }
348
365
  .e-bigger .e-gantt .e-dialog .e-dlg-header-content {
349
366
  height: 68px !important; /* stylelint-disable-line declaration-no-important */
@@ -358,8 +375,8 @@
358
375
  .e-bigger .e-gantt .e-dialog .e-footer-content .e-btn {
359
376
  margin-left: 12px;
360
377
  }
361
- .e-bigger .e-gantt .e-dialog .e-dlg-header {
362
- line-height: 28px;
378
+ .e-bigger .e-gantt .e-dialog .e-dlg-header:not(.e-gantt-adaptive-dialog .e-dialog .e-dlg-header) {
379
+ line-height: 37px;
363
380
  }
364
381
  .e-bigger .e-gantt .e-grid .e-flmenu-valuediv {
365
382
  padding: 24px 0 0 !important;
@@ -373,6 +390,7 @@
373
390
  }
374
391
  .e-bigger .e-gantt-dialog .e-dialog {
375
392
  border-radius: 6px;
393
+ width: 564px !important;
376
394
  }
377
395
  .e-bigger .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
378
396
  padding: 0 16px !important; /* stylelint-disable-line declaration-no-important */
@@ -402,7 +420,7 @@
402
420
  border-radius: 6px 6px 0px 0px;
403
421
  padding-bottom: 12px;
404
422
  }
405
- .e-bigger .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
423
+ .e-bigger .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:not(.e-gantt-adaptive-dialog .e-dialog .e-dlg-closeicon-btn) {
406
424
  border-radius: 50%;
407
425
  height: auto !important; /* stylelint-disable-line declaration-no-important */
408
426
  width: auto;
@@ -455,6 +473,16 @@
455
473
  .e-bigger .e-gantt-dialog .e-input-group.e-control-wrapper .e-input-group-icon {
456
474
  padding: 7px 0 !important; /* stylelint-disable-line declaration-no-important */
457
475
  }
476
+ .e-bigger .e-gantt-dialog .e-gantt-adaptive-dialog .e-dialog {
477
+ position: absolute !important; /* stylelint-disable-line declaration-no-important */
478
+ left: 0 !important; /* stylelint-disable-line declaration-no-important */
479
+ }
480
+ .e-bigger .e-gantt-dialog .e-gantt-adaptive-dialog .e-dialog .e-dlg-header-content {
481
+ padding: 16px !important; /* stylelint-disable-line declaration-no-important */
482
+ }
483
+ .e-bigger .e-gantt-dialog .e-gantt-adaptive-dialog .e-dialog td {
484
+ width: 100% !important; /* stylelint-disable-line declaration-no-important */
485
+ }
458
486
  .e-bigger .e-predecessor-tooltip .e-arrow-tip-outer.e-tip-bottom {
459
487
  border-top: 8px solid #000;
460
488
  }
@@ -680,9 +708,6 @@
680
708
  .e-gantt .e-gantt-tree-grid-pane .e-gridcontent .e-content {
681
709
  overflow-x: scroll !important; /* stylelint-disable-line declaration-no-important */
682
710
  }
683
- .e-gantt .e-gantt-tree-grid-pane .e-gridcontent .e-gantt-frozen {
684
- overflow-x: hidden !important; /* stylelint-disable-line declaration-no-important */
685
- }
686
711
  .e-gantt .e-gantt-tree-grid-pane .e-gridcontent .e-content.e-gantt-scroll-padding {
687
712
  width: calc(100% + 17px);
688
713
  }
@@ -805,7 +830,7 @@
805
830
  box-sizing: border-box;
806
831
  }
807
832
  .e-gantt .e-gantt-chart .e-zero-spacing {
808
- border-spacing: 0;
833
+ border-spacing: 0.25px;
809
834
  }
810
835
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
811
836
  border-top: 0;
@@ -838,9 +863,6 @@
838
863
  vertical-align: middle;
839
864
  z-index: 3;
840
865
  }
841
- .e-gantt .e-gantt-chart .e-taskbar-main-container:hover {
842
- z-index: 4;
843
- }
844
866
  .e-gantt .e-gantt-chart .e-taskbar-main-container.e-gantt-multi-taskbar:hover {
845
867
  z-index: 4;
846
868
  }
@@ -1317,7 +1339,7 @@
1317
1339
  border-spacing: 0;
1318
1340
  }
1319
1341
  .e-gantt-dialog .e-item {
1320
- height: 240px;
1342
+ height: 100%;
1321
1343
  }
1322
1344
  .e-gantt-dialog .e-dependent-div {
1323
1345
  border-bottom-width: 1px;
@@ -1377,6 +1399,9 @@
1377
1399
  padding: 0 !important; /* stylelint-disable-line declaration-no-important */
1378
1400
  height: 291px;
1379
1401
  }
1402
+ .e-gantt-dialog .e-dlg-header {
1403
+ line-height: 30px;
1404
+ }
1380
1405
  .e-gantt-dialog .e-dlg-header-content {
1381
1406
  border-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
1382
1407
  }
@@ -1384,6 +1409,10 @@
1384
1409
  border-radius: 6px;
1385
1410
  padding-bottom: 12px;
1386
1411
  }
1412
+ .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
1413
+ left: -11px;
1414
+ top: 3px !important;
1415
+ }
1387
1416
  .e-gantt-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
1388
1417
  border-radius: 50%;
1389
1418
  height: auto !important; /* stylelint-disable-line declaration-no-important */
@@ -1448,13 +1477,14 @@
1448
1477
  font-size: 16px;
1449
1478
  }
1450
1479
 
1451
- .e-bigger .e-gantt .e-gantt-chart .e-timeline-single-header-outer-div {
1452
- height: 64px !important; /* stylelint-disable-line declaration-no-important */
1480
+ .e-bigger .e-filter-popup .e-control .e-dialog .e-lib .e-popup .e-popup-open .e-excelfilter .e-gantt,
1481
+ .e-bigger .e-gantt .e-excelfilter .e-dialog .e-dlg-content {
1482
+ padding: 0 18px 0 0 !important; /* stylelint-disable-line declaration-no-important */
1453
1483
  }
1454
1484
 
1455
- .e-bigger .e-timeline-single-header-cell {
1456
- height: 64px !important; /* stylelint-disable-line declaration-no-important */
1457
- line-height: 64px !important; /* stylelint-disable-line declaration-no-important */
1485
+ .e-bigger .e-filter-popup .e-control .e-dialog .e-lib .e-popup .e-popup-open .e-excelfilter .e-gantt,
1486
+ .e-bigger .e-gantt .e-contextmenu-wrapper ul {
1487
+ padding: 0 !important; /* stylelint-disable-line declaration-no-important */
1458
1488
  }
1459
1489
 
1460
1490
  .e-gantt-tooltip-label {
@@ -1569,6 +1599,29 @@
1569
1599
  z-index: 1;
1570
1600
  }
1571
1601
 
1602
+ .e-gantt .e-gantt-chart .e-chart-root-container .e-content td.e-chart-row-cell.e-droptop {
1603
+ border-top: 2px solid #4f46e5;
1604
+ border-width: 2px 0 0;
1605
+ }
1606
+
1607
+ .e-gantt .e-gantt-chart .e-chart-root-container .e-content td.e-chart-row-cell.e-dropbottom {
1608
+ border-bottom: 2px solid #4f46e5;
1609
+ box-shadow: #4f46e5;
1610
+ }
1611
+
1612
+ .e-gantt .e-gantt-chart .e-chart-root-container .e-content td.e-chart-row-cell.e-childborder {
1613
+ border-bottom: 2px solid #4f46e5;
1614
+ border-top: 2px solid #4f46e5;
1615
+ box-shadow: #4f46e5;
1616
+ }
1617
+
1618
+ @media (max-width: 767px) {
1619
+ .e-bigger .e-gantt .e-dialog .e-edit-form-column:nth-child(odd), .e-bigger .e-gantt .e-dialog .e-edit-form-column:nth-child(even) {
1620
+ float: none;
1621
+ padding: 16px 12px 0 16px;
1622
+ width: 100%;
1623
+ }
1624
+ }
1572
1625
  /*! Gantt theme */
1573
1626
  .e-gantt .e-gantt-splitter {
1574
1627
  border-color: #e5e7eb;
@@ -1621,6 +1674,13 @@
1621
1674
  background: #e5e7eb;
1622
1675
  opacity: 0.9;
1623
1676
  }
1677
+ .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active.e-leftfreeze,
1678
+ .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active.e-unfreeze,
1679
+ .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active.e-rightfreeze,
1680
+ .e-gantt .e-gantt-tree-grid-pane .e-grid td.e-active.e-fixedfreeze {
1681
+ background: #e5e7eb;
1682
+ opacity: 1;
1683
+ }
1624
1684
  .e-gantt .e-taskbar-resize-div {
1625
1685
  border-color: #4f46e5;
1626
1686
  }
@@ -1937,6 +1997,7 @@
1937
1997
  }
1938
1998
  .e-gantt-dialog .e-dlg-header {
1939
1999
  color: #111827;
2000
+ position: relative;
1940
2001
  }
1941
2002
  .e-gantt-dialog .e-dlg-header-content {
1942
2003
  background: #f9fafb;