@syncfusion/ej2-gantt 21.2.9 → 22.1.34

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 (99) hide show
  1. package/.eslintrc.json +1 -0
  2. package/CHANGELOG.md +23 -0
  3. package/dist/ej2-gantt.min.js +2 -2
  4. package/dist/ej2-gantt.umd.min.js +2 -2
  5. package/dist/ej2-gantt.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-gantt.es2015.js +751 -715
  7. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  8. package/dist/es6/ej2-gantt.es5.js +790 -755
  9. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  10. package/dist/global/ej2-gantt.min.js +2 -2
  11. package/dist/global/ej2-gantt.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +19 -18
  14. package/src/gantt/actions/connector-line-edit.js +21 -26
  15. package/src/gantt/actions/context-menu.js +2 -2
  16. package/src/gantt/actions/critical-path.js +4 -9
  17. package/src/gantt/actions/day-markers.js +4 -1
  18. package/src/gantt/actions/edit.js +9 -6
  19. package/src/gantt/actions/pdf-export.js +1 -1
  20. package/src/gantt/actions/taskbar-edit.d.ts +6 -0
  21. package/src/gantt/actions/taskbar-edit.js +120 -45
  22. package/src/gantt/base/css-constants.d.ts +5 -10
  23. package/src/gantt/base/css-constants.js +5 -10
  24. package/src/gantt/base/date-processor.js +10 -20
  25. package/src/gantt/base/enum.d.ts +215 -231
  26. package/src/gantt/base/gantt-chart.js +112 -5
  27. package/src/gantt/base/gantt-model.d.ts +6 -3
  28. package/src/gantt/base/gantt.d.ts +7 -3
  29. package/src/gantt/base/gantt.js +17 -13
  30. package/src/gantt/base/interface.d.ts +36 -1
  31. package/src/gantt/base/task-processor.js +21 -18
  32. package/src/gantt/base/tree-grid.js +1 -1
  33. package/src/gantt/export/export-helper.js +1 -0
  34. package/src/gantt/export/pdf-connector-line.d.ts +4 -4
  35. package/src/gantt/export/pdf-connector-line.js +11 -22
  36. package/src/gantt/export/pdf-gantt.d.ts +1 -2
  37. package/src/gantt/export/pdf-gantt.js +4 -4
  38. package/src/gantt/models/column.d.ts +8 -4
  39. package/src/gantt/models/edit-settings-model.d.ts +1 -0
  40. package/src/gantt/models/edit-settings.d.ts +1 -0
  41. package/src/gantt/models/filter-settings-model.d.ts +3 -0
  42. package/src/gantt/models/filter-settings.d.ts +3 -0
  43. package/src/gantt/models/search-settings-model.d.ts +1 -0
  44. package/src/gantt/models/search-settings.d.ts +1 -0
  45. package/src/gantt/models/sort-settings-model.d.ts +1 -0
  46. package/src/gantt/models/sort-settings.d.ts +1 -0
  47. package/src/gantt/models/tooltip-settings-model.d.ts +8 -4
  48. package/src/gantt/models/tooltip-settings.d.ts +8 -4
  49. package/src/gantt/renderer/chart-rows.d.ts +1 -1
  50. package/src/gantt/renderer/chart-rows.js +27 -65
  51. package/src/gantt/renderer/connector-line.d.ts +23 -0
  52. package/src/gantt/renderer/connector-line.js +287 -384
  53. package/src/gantt/renderer/edit-tooltip.js +4 -4
  54. package/src/gantt/renderer/nonworking-day.js +2 -2
  55. package/src/gantt/renderer/tooltip.d.ts +3 -3
  56. package/src/gantt/renderer/tooltip.js +103 -76
  57. package/styles/bootstrap-dark.css +27 -47
  58. package/styles/bootstrap.css +29 -49
  59. package/styles/bootstrap4.css +29 -49
  60. package/styles/bootstrap5-dark.css +27 -47
  61. package/styles/bootstrap5.css +27 -47
  62. package/styles/fabric-dark.css +27 -47
  63. package/styles/fabric.css +27 -47
  64. package/styles/fluent-dark.css +28 -47
  65. package/styles/fluent.css +28 -47
  66. package/styles/gantt/_layout.scss +53 -7
  67. package/styles/gantt/_material3-dark-definition.scss +1 -0
  68. package/styles/gantt/_material3-definition.scss +220 -0
  69. package/styles/gantt/_theme.scss +53 -53
  70. package/styles/gantt/bootstrap-dark.css +27 -47
  71. package/styles/gantt/bootstrap.css +29 -49
  72. package/styles/gantt/bootstrap4.css +29 -49
  73. package/styles/gantt/bootstrap5-dark.css +27 -47
  74. package/styles/gantt/bootstrap5.css +27 -47
  75. package/styles/gantt/fabric-dark.css +27 -47
  76. package/styles/gantt/fabric.css +27 -47
  77. package/styles/gantt/fluent-dark.css +28 -47
  78. package/styles/gantt/fluent.css +28 -47
  79. package/styles/gantt/highcontrast-light.css +27 -47
  80. package/styles/gantt/highcontrast.css +27 -47
  81. package/styles/gantt/icons/_material3-dark.scss +1 -0
  82. package/styles/gantt/material-dark.css +27 -47
  83. package/styles/gantt/material.css +27 -47
  84. package/styles/gantt/material3-dark.css +2184 -0
  85. package/styles/gantt/material3-dark.scss +23 -0
  86. package/styles/gantt/material3.css +2240 -0
  87. package/styles/gantt/material3.scss +23 -0
  88. package/styles/gantt/tailwind-dark.css +27 -47
  89. package/styles/gantt/tailwind.css +27 -47
  90. package/styles/highcontrast-light.css +27 -47
  91. package/styles/highcontrast.css +27 -47
  92. package/styles/material-dark.css +27 -47
  93. package/styles/material.css +27 -47
  94. package/styles/material3-dark.css +2184 -0
  95. package/styles/material3-dark.scss +3 -0
  96. package/styles/material3.css +2240 -0
  97. package/styles/material3.scss +3 -0
  98. package/styles/tailwind-dark.css +27 -47
  99. package/styles/tailwind.css +27 -47
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.9
3
+ * version : 22.1.34
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "_from": "@syncfusion/ej2-gantt@*",
3
3
  "_id": "@syncfusion/ej2-gantt@21.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rJtH1w7dOjvnIkO1TroHfHAOhzDMc3E815amBKZeiz/7/lUDROTFMh/RzxT80h+fUJFrXpxDwJnCG5jUvyBnkA==",
5
+ "_integrity": "sha512-EhE/zbDbsyf8hUtXYHwZAQ3cLvRuNfdT30nDDv1DDb8zUV5h9ubQSDffrGKzcteA298ZxgqJFBXzoMnLwnTjDw==",
6
6
  "_location": "/@syncfusion/ej2-gantt",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-gantt",
24
24
  "/@syncfusion/ej2-vue-gantt"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-21.2.8.tgz",
27
- "_shasum": "479c2b0b201b74789fbb77715bc1302d27ef2d09",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-gantt/-/ej2-gantt-21.2.8.tgz",
27
+ "_shasum": "4ddaeaec8c5dd0d49ecadbbb803f5eafaca906c1",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -35,20 +35,21 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~21.2.9",
39
- "@syncfusion/ej2-buttons": "~21.2.6",
40
- "@syncfusion/ej2-calendars": "~21.2.9",
41
- "@syncfusion/ej2-data": "~21.2.9",
42
- "@syncfusion/ej2-dropdowns": "~21.2.8",
43
- "@syncfusion/ej2-grids": "~21.2.9",
44
- "@syncfusion/ej2-inputs": "~21.2.9",
45
- "@syncfusion/ej2-layouts": "~21.2.9",
46
- "@syncfusion/ej2-lists": "~21.2.9",
47
- "@syncfusion/ej2-navigations": "~21.2.9",
48
- "@syncfusion/ej2-notifications": "~21.2.3",
49
- "@syncfusion/ej2-popups": "~21.2.4",
50
- "@syncfusion/ej2-richtexteditor": "~21.2.9",
51
- "@syncfusion/ej2-treegrid": "~21.2.9"
38
+ "@syncfusion/ej2-base": "~22.1.34",
39
+ "@syncfusion/ej2-buttons": "~22.1.34",
40
+ "@syncfusion/ej2-calendars": "~22.1.34",
41
+ "@syncfusion/ej2-data": "~22.1.34",
42
+ "@syncfusion/ej2-dropdowns": "~22.1.34",
43
+ "@syncfusion/ej2-grids": "~22.1.34",
44
+ "@syncfusion/ej2-inputs": "~22.1.34",
45
+ "@syncfusion/ej2-layouts": "~22.1.34",
46
+ "@syncfusion/ej2-lists": "~22.1.34",
47
+ "@syncfusion/ej2-navigations": "~22.1.34",
48
+ "@syncfusion/ej2-notifications": "~22.1.34",
49
+ "@syncfusion/ej2-popups": "~22.1.34",
50
+ "@syncfusion/ej2-richtexteditor": "~22.1.34",
51
+ "@syncfusion/ej2-svg-base": "~22.1.34",
52
+ "@syncfusion/ej2-treegrid": "~22.1.34"
52
53
  },
53
54
  "deprecated": false,
54
55
  "description": "Essential JS 2 Gantt Component",
@@ -73,6 +74,6 @@
73
74
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
74
75
  },
75
76
  "typings": "index.d.ts",
76
- "version": "21.2.9",
77
+ "version": "22.1.34",
77
78
  "sideEffects": false
78
79
  }
@@ -1,5 +1,5 @@
1
- import { isNullOrUndefined, isUndefined, addClass } from '@syncfusion/ej2-base';
2
- import { removeClass, getValue, createElement, extend } from '@syncfusion/ej2-base';
1
+ import { isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
2
+ import { getValue, createElement, extend } from '@syncfusion/ej2-base';
3
3
  import * as cls from '../base/css-constants';
4
4
  import { parentsUntil, formatString, isScheduledTask, getIndex } from '../base/utils';
5
5
  import { Dialog } from '@syncfusion/ej2-popups';
@@ -44,10 +44,11 @@ var ConnectorLineEdit = /** @class */ (function () {
44
44
  * @private
45
45
  */
46
46
  ConnectorLineEdit.prototype.getConnectorLineHoverElement = function (target) {
47
- var isOnLine = parentsUntil(target, cls.connectorLine);
48
- var isOnRightArrow = parentsUntil(target, cls.connectorLineRightArrow);
49
- var isOnLeftArrow = parentsUntil(target, cls.connectorLineLeftArrow);
50
- if (isOnLine || isOnRightArrow || isOnLeftArrow) {
47
+ var isOnLine = parentsUntil(target, cls.connectorLineSVG);
48
+ var isArrow = parentsUntil(target, cls.connectorLineArrow);
49
+ var isCriticalLine = parentsUntil(target, cls.criticalConnectorLineSVG);
50
+ var isCriticalArrow = parentsUntil(target, cls.criticalConnectorArrowSVG);
51
+ if (isOnLine || isArrow || isCriticalLine || isCriticalArrow) {
51
52
  return parentsUntil(target, cls.connectorLineContainer);
52
53
  }
53
54
  else {
@@ -81,16 +82,13 @@ var ConnectorLineEdit = /** @class */ (function () {
81
82
  */
82
83
  ConnectorLineEdit.prototype.addHighlight = function (element) {
83
84
  this.connectorLineElement = element;
84
- addClass([element], [cls.connectorLineHoverZIndex]);
85
- if (element.querySelectorAll('.' + cls.connectorLine)[0].classList.contains('e-criticalconnector-line')) {
86
- addClass(element.querySelectorAll('.' + cls.connectorLine), [cls.criticalConnectorLineHover]);
87
- addClass(element.querySelectorAll('.' + cls.connectorLineRightArrow), [cls.criticalConnectorLineRightArrowHover]);
88
- addClass(element.querySelectorAll('.' + cls.connectorLineLeftArrow), [cls.criticalConnectorLineLeftArrowHover]);
85
+ var pathElement = element.querySelector('.' + cls.connectorLineSVG);
86
+ var criticalElement = element.querySelector('.' + cls.criticalConnectorLineSVG);
87
+ if (pathElement) {
88
+ pathElement.setAttribute('stroke-width', '2');
89
89
  }
90
90
  else {
91
- addClass(element.querySelectorAll('.' + cls.connectorLine), [cls.connectorLineHover]);
92
- addClass(element.querySelectorAll('.' + cls.connectorLineRightArrow), [cls.connectorLineRightArrowHover]);
93
- addClass(element.querySelectorAll('.' + cls.connectorLineLeftArrow), [cls.connectorLineLeftArrowHover]);
91
+ criticalElement.setAttribute('stroke-width', '2');
94
92
  }
95
93
  };
96
94
  /**
@@ -100,17 +98,14 @@ var ConnectorLineEdit = /** @class */ (function () {
100
98
  * @private
101
99
  */
102
100
  ConnectorLineEdit.prototype.removeHighlight = function () {
103
- if (!isNullOrUndefined(this.connectorLineElement)) {
104
- removeClass([this.connectorLineElement], [cls.connectorLineHoverZIndex]);
105
- if (this.connectorLineElement.querySelectorAll('.' + cls.connectorLine)[0].classList.contains(cls.criticalConnectorLineHover)) {
106
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLine), [cls.criticalConnectorLineHover]);
107
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLineRightArrow), [cls.criticalConnectorLineRightArrowHover]);
108
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLineLeftArrow), [cls.criticalConnectorLineLeftArrowHover]);
101
+ if (this.connectorLineElement) {
102
+ var pathElement = this.connectorLineElement.querySelector('.' + cls.connectorLineSVG);
103
+ var criticalElement = this.connectorLineElement.querySelector('.' + cls.criticalConnectorLineSVG);
104
+ if (pathElement) {
105
+ pathElement.setAttribute('stroke-width', '1');
109
106
  }
110
107
  else {
111
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLine), [cls.connectorLineHover]);
112
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLineRightArrow), [cls.connectorLineRightArrowHover]);
113
- removeClass(this.connectorLineElement.querySelectorAll('.' + cls.connectorLineLeftArrow), [cls.connectorLineLeftArrowHover]);
108
+ criticalElement.setAttribute('stroke-width', '1');
114
109
  }
115
110
  this.connectorLineElement = null;
116
111
  }
@@ -177,8 +172,8 @@ var ConnectorLineEdit = /** @class */ (function () {
177
172
  this.parent.connectorLineModule.expandedRecords = this.parent.virtualScrollModule && this.parent.enableVirtualization ?
178
173
  this.parent.updatedRecords : this.parent.getExpandedRecords(this.parent.updatedRecords);
179
174
  var editedConnectorLineString = this.getEditedConnectorLineString(editedRecord);
180
- this.parent.connectorLineModule.dependencyViewContainer.innerHTML =
181
- this.parent.connectorLineModule.dependencyViewContainer.innerHTML + editedConnectorLineString;
175
+ this.parent.connectorLineModule.svgObject.innerHTML =
176
+ this.parent.connectorLineModule.svgObject.innerHTML + editedConnectorLineString;
182
177
  };
183
178
  ConnectorLineEdit.prototype.idFromPredecessor = function (pre) {
184
179
  var preArray = pre.split(',');
@@ -826,9 +821,9 @@ var ConnectorLineEdit = /** @class */ (function () {
826
821
  ConnectorLineEdit.prototype.validateTypes = function (ganttRecord, data) {
827
822
  var predecessor = this.parent.predecessorModule.getValidPredecessor(ganttRecord);
828
823
  var parentGanttRecord;
829
- var ganttTaskData;
830
824
  this.validationPredecessor = [];
831
825
  var violatedParent;
826
+ var ganttTaskData;
832
827
  var violateType;
833
828
  var startDate = this.parent.predecessorModule.getPredecessorDate(ganttRecord, predecessor);
834
829
  if (data) {
@@ -281,7 +281,7 @@ var ContextMenu = /** @class */ (function () {
281
281
  splitTaskDuration = Math.ceil(currentTaskDifference / this.parent.timelineSettings.timelineUnitSize);
282
282
  splitTaskDuration -= 1;
283
283
  }
284
- var contextMenuClickDate = this.parent.dataOperation.getEndDate(startDate, splitTaskDuration, (this.parent.timelineSettings.bottomTier.unit !== "None") ? this.parent.timelineSettings.bottomTier.unit.toLocaleLowerCase() : this.parent.timelineSettings.topTier.unit.toLocaleLowerCase(), this.rowData, false);
284
+ var contextMenuClickDate = this.parent.dataOperation.getEndDate(startDate, splitTaskDuration, (this.parent.timelineModule.customTimelineSettings.bottomTier.unit !== "None") ? this.parent.timelineModule.customTimelineSettings.bottomTier.unit.toLocaleLowerCase() : this.parent.timelineModule.customTimelineSettings.topTier.unit.toLocaleLowerCase(), this.rowData, false);
285
285
  return contextMenuClickDate;
286
286
  };
287
287
  ContextMenu.prototype.contextMenuBeforeOpen = function (args) {
@@ -291,7 +291,7 @@ var ContextMenu = /** @class */ (function () {
291
291
  this.parent.ganttChartModule.targetElement;
292
292
  // Closed edited cell before opening context menu
293
293
  // eslint-disable-next-line
294
- if (!isNullOrUndefined(this.parent.editModule) && this.parent.editModule.cellEditModule && this.parent.editModule.cellEditModule.isCellEdit && target.parentElement.classList.contains('e-row') || target.parentElement.classList.contains('e-treecolumn-container')) {
294
+ if (!isNullOrUndefined(this.parent.editModule) && this.parent.editModule.cellEditModule && this.parent.editModule.cellEditModule.isCellEdit && target.parentElement.classList.contains('e-row')) {
295
295
  this.parent.treeGrid.closeEdit();
296
296
  }
297
297
  if (!isNullOrUndefined(args.element) && args.element.id === this.parent.element.id + '_contextmenu') {
@@ -737,11 +737,8 @@ var CriticalPath = /** @class */ (function () {
737
737
  }
738
738
  if (element && (this_2.parent.viewType === 'ProjectView' || (this_2.parent.viewType === 'ResourceView' &&
739
739
  !criticalData.hasChildRecords))) {
740
- if (element.getElementsByClassName('e-milestone-top')[0]) {
741
- addClass(element.querySelectorAll('.e-milestone-top'), cls.criticalMilestoneTop);
742
- }
743
- if (element.getElementsByClassName('e-milestone-bottom')[0]) {
744
- addClass(element.querySelectorAll('.e-milestone-bottom'), cls.criticalMilestoneBottom);
740
+ if (element.getElementsByClassName('e-gantt-milestone')[0]) {
741
+ addClass(element.querySelectorAll('.e-gantt-milestone'), cls.criticalMilestone);
745
742
  }
746
743
  if (element.getElementsByClassName('e-gantt-child-taskbar-inner-div').length > 0) {
747
744
  addClass(element.querySelectorAll('.e-gantt-child-taskbar-inner-div'), cls.criticalChildTaskBarInnerDiv);
@@ -783,11 +780,9 @@ var CriticalPath = /** @class */ (function () {
783
780
  currentdata['taskid'] + 'child' + checkint);
784
781
  if (lineElement.length > 0) {
785
782
  addClass(this.parent.element.querySelectorAll('#ConnectorLineparent' + currentdata['taskid'] + 'child' +
786
- checkint)[0].querySelectorAll('.e-line'), cls.criticalConnectorLine);
787
- addClass(this.parent.element.querySelectorAll('#ConnectorLineparent' + currentdata['taskid'] + 'child' +
788
- checkint)[0].querySelectorAll('.e-connector-line-right-arrow'), cls.criticalConnectorLineRightArrow);
783
+ checkint)[0].querySelectorAll('.e-connector-line'), cls.criticalConnectorLineSVG);
789
784
  addClass(this.parent.element.querySelectorAll('#ConnectorLineparent' + currentdata['taskid'] + 'child' +
790
- checkint)[0].querySelectorAll('.e-connector-line-left-arrow'), cls.criticalConnectorLineLeftArrow);
785
+ checkint)[0].querySelectorAll('.e-connector-line-arrow'), cls.criticalConnectorArrowSVG);
791
786
  }
792
787
  }
793
788
  }
@@ -37,9 +37,12 @@ var DayMarkers = /** @class */ (function () {
37
37
  }
38
38
  };
39
39
  DayMarkers.prototype.refreshMarkers = function () {
40
- this.eventMarkerRender.renderEventMarkers();
41
40
  this.nonworkingDayRender.renderWeekends();
42
41
  this.nonworkingDayRender.renderHolidays();
42
+ if (this.parent.gridLines === 'Vertical' || this.parent.gridLines === 'Both') {
43
+ this.parent['renderChartVerticalLines']();
44
+ }
45
+ this.eventMarkerRender.renderEventMarkers();
43
46
  };
44
47
  DayMarkers.prototype.updateHeight = function () {
45
48
  this.nonworkingDayRender.updateContainerHeight();
@@ -917,6 +917,10 @@ var Edit = /** @class */ (function () {
917
917
  if (data.hasChildRecords && ganttProp.isAutoSchedule) {
918
918
  this.parent.setRecordValue('startDate', ganttProp.autoStartDate, ganttProp, true);
919
919
  this.parent.setRecordValue('endDate', ganttProp.autoEndDate, ganttProp, true);
920
+ this.parent.setRecordValue('StartDate', ganttProp.autoStartDate, data, true);
921
+ this.parent.setRecordValue('EndDate', ganttProp.autoEndDate, data, true);
922
+ this.parent.setRecordValue('taskData.StartDate', ganttProp.autoStartDate, data, true);
923
+ this.parent.setRecordValue('taskData.EndDate', ganttProp.autoEndDate, data, true);
920
924
  this.parent.setRecordValue('width', this.parent.dataOperation.calculateWidth(data, true), ganttProp, true);
921
925
  this.parent.setRecordValue('left', this.parent.dataOperation.calculateLeft(ganttProp, true), ganttProp, true);
922
926
  this.parent.setRecordValue('progressWidth', this.parent.dataOperation.getProgressWidth(ganttProp.width, ganttProp.progress), ganttProp, true);
@@ -925,8 +929,8 @@ var Edit = /** @class */ (function () {
925
929
  else if (data.hasChildRecords && !ganttProp.isAutoSchedule) {
926
930
  this.parent.dataOperation.updateWidthLeft(data);
927
931
  this.parent.dataOperation.calculateDuration(data);
928
- this.parent.setRecordValue('autoStartDate', ganttProp.startDate, ganttProp, true);
929
- this.parent.setRecordValue('autoEndDate', ganttProp.endDate, ganttProp, true);
932
+ this.parent.setRecordValue('autoStartDate', ganttProp.autoStartDate, ganttProp, true);
933
+ this.parent.setRecordValue('autoEndDate', ganttProp.autoEndDate, ganttProp, true);
930
934
  this.parent.setRecordValue('autoDuration', this.parent.dataOperation.calculateAutoDuration(data), ganttProp, true);
931
935
  this.parent.dataOperation.updateAutoWidthLeft(data);
932
936
  }
@@ -1151,7 +1155,6 @@ var Edit = /** @class */ (function () {
1151
1155
  }
1152
1156
  if (childRecords.length) {
1153
1157
  this.parent.dataOperation.updateParentItems(ganttRecord, true);
1154
- this.parent.dataOperation.updateGanttData();
1155
1158
  }
1156
1159
  };
1157
1160
  /**
@@ -1364,8 +1367,8 @@ var Edit = /** @class */ (function () {
1364
1367
  }
1365
1368
  }
1366
1369
  if (this.parent.isConnectorLineUpdate && !isNullOrUndefined(this.parent.connectorLineEditModule)) {
1367
- this.parent.updatedConnectorLineCollection = [];
1368
- this.parent.connectorLineIds = [];
1370
+ // this.parent.updatedConnectorLineCollection = [];
1371
+ // this.parent.connectorLineIds = [];
1369
1372
  this.parent.connectorLineEditModule.refreshEditedRecordConnectorLine(this.parent.editedRecords);
1370
1373
  this.updateScheduleDatesOnEditing(args);
1371
1374
  }
@@ -2744,6 +2747,7 @@ var Edit = /** @class */ (function () {
2744
2747
  this.parent.treeGrid.parentData = [];
2745
2748
  this.parent.addDeleteRecord = true;
2746
2749
  this.parent.selectedRowIndex = 0;
2750
+ this.parent.treeGrid['isAddedFromGantt'] = true;
2747
2751
  this.parent.treeGrid.refresh();
2748
2752
  if (this.parent.enableImmutableMode) {
2749
2753
  this.parent.modifiedRecords = args.modifiedRecords;
@@ -2893,7 +2897,6 @@ var Edit = /** @class */ (function () {
2893
2897
  var args = {};
2894
2898
  args = this.constructTaskAddedEventArgs(cAddedRecord_1, this.parent.editedRecords, 'beforeAdd');
2895
2899
  this.parent.trigger('actionBegin', args, function (args) {
2896
- _this.parent.previousRecords = {};
2897
2900
  if (!isNullOrUndefined(_this.parent.loadingIndicator) && _this.parent.loadingIndicator.indicatorType === "Shimmer") {
2898
2901
  _this.parent.showMaskRow();
2899
2902
  }
@@ -115,7 +115,7 @@ var PdfExport = /** @class */ (function () {
115
115
  var format = new PdfTreeGridLayoutFormat();
116
116
  format.break = PdfLayoutBreakType.FitElement;
117
117
  var layouter = _this.gantt.drawGrid(pdfPage, 0, 0, format);
118
- _this.gantt.drawChart(layouter, pdfExportProperties);
118
+ _this.gantt.drawChart(layouter);
119
119
  if (!isMultipleExport) {
120
120
  if (!_this.isBlob) {
121
121
  // save the PDF
@@ -52,6 +52,12 @@ export declare class TaskbarEdit extends DateProcessor {
52
52
  topValue: number;
53
53
  draggedRecordMarginTop: number;
54
54
  dragMoveY: number;
55
+ private realTaskbarElement;
56
+ private cloneTaskbarElement;
57
+ private taskbarElement;
58
+ private taskbarResizer;
59
+ private currentIndex;
60
+ private currentData;
55
61
  constructor(ganttObj?: Gantt);
56
62
  private wireEvents;
57
63
  /**