@syncfusion/ej2-gantt 23.1.36 → 23.1.39

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.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.36
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.39
4
+ * Copyright Syncfusion Inc. 2001 - 2023. 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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-gantt@*",
3
- "_id": "@syncfusion/ej2-gantt@22.1.67",
3
+ "_id": "@syncfusion/ej2-gantt@23.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ETYYajrjdtEfBEH0tJhOz5lKp2YvFsltIa69yOe1znQIsIjAwOyLC2v12WFIB112iB9kAdA+7UQ6fqphH9C5qQ==",
5
+ "_integrity": "sha512-7gcsnl8UCmPwQ8UMfRICkbO+c6bVWKCw8aeDruiAH6VIGcNiE7AwTZsdD1thlipSjcyQfv5AY1Gn6msXsXGZJw==",
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-release/@syncfusion/ej2-gantt/-/ej2-gantt-22.1.67.tgz",
27
- "_shasum": "2d8e8c4b09651dce94995b21015d014e2083ebd6",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.38.tgz",
27
+ "_shasum": "687573c3bc5e36955859695499fa0e61ef623863",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -35,21 +35,21 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~23.1.36",
39
- "@syncfusion/ej2-buttons": "~23.1.36",
40
- "@syncfusion/ej2-calendars": "~23.1.36",
38
+ "@syncfusion/ej2-base": "~23.1.38",
39
+ "@syncfusion/ej2-buttons": "~23.1.39",
40
+ "@syncfusion/ej2-calendars": "~23.1.38",
41
41
  "@syncfusion/ej2-data": "~23.1.36",
42
- "@syncfusion/ej2-dropdowns": "~23.1.36",
43
- "@syncfusion/ej2-grids": "~23.1.36",
44
- "@syncfusion/ej2-inputs": "~23.1.36",
42
+ "@syncfusion/ej2-dropdowns": "~23.1.39",
43
+ "@syncfusion/ej2-grids": "~23.1.39",
44
+ "@syncfusion/ej2-inputs": "~23.1.38",
45
45
  "@syncfusion/ej2-layouts": "~23.1.36",
46
46
  "@syncfusion/ej2-lists": "~23.1.36",
47
- "@syncfusion/ej2-navigations": "~23.1.36",
47
+ "@syncfusion/ej2-navigations": "~23.1.39",
48
48
  "@syncfusion/ej2-notifications": "~23.1.36",
49
- "@syncfusion/ej2-popups": "~23.1.36",
50
- "@syncfusion/ej2-richtexteditor": "~23.1.36",
49
+ "@syncfusion/ej2-popups": "~23.1.38",
50
+ "@syncfusion/ej2-richtexteditor": "~23.1.39",
51
51
  "@syncfusion/ej2-svg-base": "~23.1.36",
52
- "@syncfusion/ej2-treegrid": "~23.1.36"
52
+ "@syncfusion/ej2-treegrid": "~23.1.39"
53
53
  },
54
54
  "deprecated": false,
55
55
  "description": "Essential JS 2 Gantt Component",
@@ -74,6 +74,6 @@
74
74
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
75
75
  },
76
76
  "typings": "index.d.ts",
77
- "version": "23.1.36",
77
+ "version": "23.1.39",
78
78
  "sideEffects": false
79
79
  }
@@ -178,16 +178,58 @@ var ConnectorLineEdit = /** @class */ (function () {
178
178
  ConnectorLineEdit.prototype.idFromPredecessor = function (pre) {
179
179
  var preArray = pre.split(',');
180
180
  var preIdArray = [];
181
- var values;
181
+ var values = [];
182
182
  var offsetValue;
183
183
  var match = [];
184
184
  for (var j = 0; j < preArray.length; j++) {
185
185
  var strArray = [];
186
- values = preArray[j].split('+');
187
- offsetValue = '+';
188
- if (preArray[j].indexOf('-') >= 0) {
189
- values = preArray[j].split('-');
190
- offsetValue = '-';
186
+ var isGUId = false;
187
+ var regex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
188
+ var elSplit = preArray[j].split('-');
189
+ var id = void 0;
190
+ if (elSplit.length === 6) {
191
+ elSplit[4] = elSplit[4] + '-' + elSplit[5];
192
+ elSplit.pop();
193
+ }
194
+ if (elSplit.length === 5 && elSplit[4].length > 12) {
195
+ id = preArray[j].substring(0, 36);
196
+ if (regex.test(id)) {
197
+ isGUId = true;
198
+ }
199
+ }
200
+ if (isGUId) {
201
+ var split = void 0;
202
+ split = elSplit[4].split('+');
203
+ var spliceLength = void 0;
204
+ if (split.length === 1) {
205
+ values[0] = preArray[j];
206
+ }
207
+ else {
208
+ spliceLength = split[1].length;
209
+ values[0] = preArray[j].slice(0, -(spliceLength + 1));
210
+ values[1] = split[1];
211
+ }
212
+ offsetValue = '+';
213
+ if (elSplit[4].indexOf('-') >= 0) {
214
+ split = elSplit[4].split('-');
215
+ if (split.length === 1) {
216
+ values[0] = preArray[j];
217
+ }
218
+ else {
219
+ spliceLength = split[1].length;
220
+ values[0] = preArray[j].slice(0, -(spliceLength + 1));
221
+ values[1] = split[1];
222
+ }
223
+ offsetValue = '-';
224
+ }
225
+ }
226
+ else {
227
+ values = preArray[j].split('+');
228
+ offsetValue = '+';
229
+ if (preArray[j].indexOf('-') >= 0) {
230
+ values = preArray[j].split('-');
231
+ offsetValue = '-';
232
+ }
191
233
  }
192
234
  if (!isNullOrUndefined(values[0])) {
193
235
  var ids = this.parent.viewType === 'ResourceView' ? this.parent.getTaskIds() : this.parent.ids;
@@ -814,8 +814,6 @@ var CriticalPath = /** @class */ (function () {
814
814
  }
815
815
  if (element.getElementsByClassName('e-gantt-child-taskbar-inner-div').length > 0) {
816
816
  addClass(element.querySelectorAll('.e-gantt-child-taskbar-inner-div'), cls.criticalChildTaskBarInnerDiv);
817
- var innerDivs = document.querySelector('.e-gantt-child-taskbar-inner-div');
818
- innerDivs.style.outlineColor = "";
819
817
  }
820
818
  if (element.getElementsByClassName('e-gantt-child-progressbar-inner-div').length > 0) {
821
819
  addClass(element.querySelectorAll('.e-gantt-child-progressbar-inner-div'), taskClass);
@@ -124,15 +124,58 @@ var Dependency = /** @class */ (function () {
124
124
  var collection = [];
125
125
  var match;
126
126
  var isrelationship;
127
- var values;
127
+ var values = [];
128
128
  var offsetValue;
129
129
  var predecessorText;
130
130
  predecessor.split(',').forEach(function (el) {
131
- values = el.split('+');
132
- offsetValue = '+';
133
- if (el.indexOf('-') >= 0) {
134
- values = el.split('-');
135
- offsetValue = '-';
131
+ var isGUId = false;
132
+ var regex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
133
+ var elSplit = el.split('-');
134
+ var id;
135
+ if (elSplit.length === 6) {
136
+ elSplit[4] = elSplit[4] + '-' + elSplit[5];
137
+ elSplit.pop();
138
+ }
139
+ if (elSplit.length === 5 && elSplit[4].length > 12) {
140
+ id = el.substring(0, 36);
141
+ if (regex.test(id)) {
142
+ isGUId = true;
143
+ }
144
+ }
145
+ if (isGUId) {
146
+ var split = void 0;
147
+ split = elSplit[4].split('+');
148
+ var spliceLength = void 0;
149
+ ;
150
+ if (split.length === 1) {
151
+ values[0] = el;
152
+ }
153
+ else {
154
+ spliceLength = split[1].length;
155
+ values[0] = el.slice(0, -(spliceLength + 1));
156
+ values[1] = split[1];
157
+ }
158
+ offsetValue = '+';
159
+ if (elSplit[4].indexOf('-') >= 0) {
160
+ split = elSplit[4].split('-');
161
+ if (split.length === 1) {
162
+ values[0] = el;
163
+ }
164
+ else {
165
+ spliceLength = split[1].length;
166
+ values[0] = el.slice(0, -(spliceLength + 1));
167
+ values[1] = split[1];
168
+ }
169
+ offsetValue = '-';
170
+ }
171
+ }
172
+ else {
173
+ values = el.split('+');
174
+ offsetValue = '+';
175
+ if (el.indexOf('-') >= 0) {
176
+ values = el.split('-');
177
+ offsetValue = '-';
178
+ }
136
179
  }
137
180
  match = [];
138
181
  var ids = _this.parent.viewType === 'ResourceView' ? _this.parent.getTaskIds() : _this.parent.ids;
@@ -1099,7 +1099,7 @@ var DialogEdit = /** @class */ (function () {
1099
1099
  else {
1100
1100
  if (value === "") {
1101
1101
  this.parent.setRecordValue('duration', null, ganttProp, true);
1102
- if (ganttProp.endDate) {
1102
+ if (ganttProp.endDate && ganttProp.startDate) {
1103
1103
  this.parent.setRecordValue('endDate', null, ganttProp, true);
1104
1104
  }
1105
1105
  }
@@ -2235,7 +2235,7 @@ var DialogEdit = /** @class */ (function () {
2235
2235
  tasksData[fieldName] = column.edit.read(inputElement, controlObj.value);
2236
2236
  }
2237
2237
  }
2238
- else if (isCustom && column.editType === 'booleanedit') {
2238
+ else if (column.editType === 'booleanedit') {
2239
2239
  if (inputElement instanceof HTMLInputElement && inputElement.checked === true) {
2240
2240
  tasksData[fieldName] = true;
2241
2241
  }
@@ -1,5 +1,5 @@
1
1
  import { isNullOrUndefined, isUndefined, extend, setValue, getValue, deleteObject, createElement } from '@syncfusion/ej2-base';
2
- import { DataManager, Query, ODataAdaptor, WebApiAdaptor } from '@syncfusion/ej2-data';
2
+ import { DataManager, Query, ODataAdaptor, WebApiAdaptor, ODataV4Adaptor } from '@syncfusion/ej2-data';
3
3
  import { getUid } from '@syncfusion/ej2-grids';
4
4
  import { getSwapKey, isScheduledTask, getTaskData, isRemoteData, getIndex, isCountRequired, updateDates } from '../base/utils';
5
5
  import { CellEdit } from './cell-edit';
@@ -2987,6 +2987,9 @@ var Edit = /** @class */ (function () {
2987
2987
  _this.parent.flatData[_this.parent.getTaskIds().indexOf('T' + args.data[tasks.id])] : _this.parent.getRecordByID(args.data[tasks.id]);
2988
2988
  if (!isNullOrUndefined(ganttData)) {
2989
2989
  _this.validateUpdateValues(args.newTaskData, ganttData, true);
2990
+ _this.parent.dateValidationModule.calculateEndDate(ganttData);
2991
+ _this.parent.dataOperation.updateWidthLeft(ganttData);
2992
+ _this.parent.dataOperation.updateParentItems(ganttData);
2990
2993
  }
2991
2994
  if (!isNullOrUndefined(args.data["" + tempTaskID])) {
2992
2995
  if (args.data[tempTaskID] != args.data['ganttProperties']['taskId']) {
@@ -3005,8 +3008,7 @@ var Edit = /** @class */ (function () {
3005
3008
  /* tslint:disable-next-line */
3006
3009
  var query = _this.parent.query instanceof Query ? _this.parent.query : new Query();
3007
3010
  var adaptor = data_2.adaptor;
3008
- var moduleName = adaptor.getModuleName();
3009
- if (!(moduleName == "WebApiAdaptor" || moduleName == "ODataAdaptor" || moduleName == "ODataV4Adaptor") || data_2.dataSource.batchUrl) {
3011
+ if (!(adaptor instanceof WebApiAdaptor || adaptor instanceof ODataAdaptor || adaptor instanceof ODataV4Adaptor) || data_2.dataSource.batchUrl) {
3010
3012
  /* tslint:disable-next-line */
3011
3013
  var crud = data_2.saveChanges(updatedData_2, _this.parent.taskFields.id, null, query);
3012
3014
  crud.then(function (e) {
@@ -234,7 +234,12 @@ var TaskbarEdit = /** @class */ (function (_super) {
234
234
  };
235
235
  // eslint-disable-next-line
236
236
  TaskbarEdit.prototype.mouseLeaveHandler = function (e) {
237
- this.dragMouseLeave = true;
237
+ if (this.taskBarEditAction === "ChildDrag" || this.taskBarEditAction === "ParentDrag" || this.taskBarEditAction === "ProgressResizing" || this.taskBarEditAction === "LeftResizing" || this.taskBarEditAction === "RightResizing") {
238
+ this.dragMouseLeave = false;
239
+ }
240
+ else {
241
+ this.dragMouseLeave = true;
242
+ }
238
243
  };
239
244
  /**
240
245
  * To update taskbar edited elements on mouse down action.
@@ -1498,7 +1503,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
1498
1503
  var milliSecondsPerPixel = (24 * 60 * 60 * 1000) / this.parent.perDayWidth;
1499
1504
  pStartDate.setTime(pStartDate.getTime() + (left * milliSecondsPerPixel));
1500
1505
  /* To render the milestone in proper date while editing */
1501
- if (isMilestone && !isNullOrUndefined(property.predecessor) && property.predecessor.length > 0) {
1506
+ if (isMilestone && !isNullOrUndefined(property.predecessorsName) && property.predecessorsName !== '') {
1502
1507
  pStartDate.setDate(pStartDate.getDate() - 1);
1503
1508
  this.parent.dateValidationModule.setTime(this.parent.defaultEndTime, pStartDate);
1504
1509
  pStartDate = this.parent.dateValidationModule.checkStartDate(pStartDate, property, true);
@@ -970,6 +970,12 @@ var GanttChart = /** @class */ (function () {
970
970
  else {
971
971
  this.isCollapseAll = true;
972
972
  this.parent.treeGrid.collapseAll();
973
+ if (this.isCollapseAll && !this.parent.allowTaskbarOverlap && this.parent.viewType === 'ResourceView') {
974
+ var treeGridContentHeight = this.parent.enableRtl ? this.parent['element'].getElementsByClassName('e-content')[2].children[0]['offsetHeight'] :
975
+ this.parent['element'].getElementsByClassName('e-content')[0].children[0]['offsetHeight'];
976
+ this.parent.contentHeight = treeGridContentHeight;
977
+ document.getElementsByClassName('e-chart-rows-container')[0]['style'].height = this.parent.contentHeight + 'px';
978
+ }
973
979
  }
974
980
  this.isExpandAll = false;
975
981
  this.isCollapseAll = false;
@@ -794,8 +794,6 @@ var Gantt = /** @class */ (function (_super) {
794
794
  removeClass(ganttChartElement.querySelectorAll('.e-critical-milestone'), cls.criticalMilestone);
795
795
  removeClass(this.element.querySelectorAll('.e-connector-line'), cls.criticalConnectorLineSVG);
796
796
  removeClass(this.element.querySelectorAll('.e-connector-line-arrow'), cls.criticalConnectorArrowSVG);
797
- var innerDivs = document.querySelector('.e-gantt-child-taskbar-inner-div');
798
- innerDivs.style.outlineColor = "";
799
797
  };
800
798
  Gantt.prototype.wireEvents = function () {
801
799
  if (this.allowKeyboard) {
@@ -841,10 +839,12 @@ var Gantt = /** @class */ (function (_super) {
841
839
  var pane2 = this.splitterModule.splitterObject.element.querySelectorAll('.e-pane')[1];
842
840
  this.splitterModule.splitterPreviousPositionGrid = pane1.scrollWidth + 1 + 'px';
843
841
  this.splitterModule.splitterPreviousPositionChart = pane2.scrollWidth + 1 + 'px';
844
- this.splitterModule.splitterObject.paneSettings[0].size = this.splitterModule['getSpliterPositionInPercentage'](this.splitterModule.splitterPreviousPositionGrid);
845
- this.splitterModule.splitterObject.paneSettings[1].size = this.splitterModule.splitterPreviousPositionChart;
842
+ this.splitterModule.splitterObject.paneSettings[1].size = (this.ganttWidth - parseInt(this.splitterModule.splitterPreviousPositionGrid) - 4) + 'px';
843
+ var proxy_1 = this;
846
844
  if (this.timelineModule.isZoomToFit) {
847
- this.timelineModule.processZoomToFit();
845
+ setTimeout(function () {
846
+ proxy_1.timelineModule.processZoomToFit();
847
+ }, 0);
848
848
  }
849
849
  }
850
850
  };
@@ -71,6 +71,7 @@ var Splitter = /** @class */ (function () {
71
71
  var leftPane = args.pane[0];
72
72
  _this.splitterPreviousPositionGrid = leftPane.scrollWidth + 1 + 'px';
73
73
  _this.splitterObject.paneSettings[0].size = _this.getSpliterPositionInPercentage(_this.splitterPreviousPositionGrid);
74
+ _this.splitterObject.paneSettings[1].size = (_this.parent.ganttWidth - parseInt(_this.splitterPreviousPositionGrid) - 4) + 'px';
74
75
  var callBackPromise = new Deferred();
75
76
  _this.parent.trigger('splitterResized', args, function (splitterResizedArgs) {
76
77
  if (splitterResizedArgs.cancel === true) {
@@ -669,7 +669,7 @@ var ChartRows = /** @class */ (function (_super) {
669
669
  var baselineMilestoneHeight = this.parent.renderBaseline ? 5 : 2;
670
670
  var template = '<div class="' + cls.baselineMilestoneContainer + '" style="width:' + ((this.parent.renderBaseline ? this.taskBarHeight : this.taskBarHeight - 10)) + 'px;height:' +
671
671
  ((this.parent.renderBaseline ? this.taskBarHeight : this.taskBarHeight - 10)) + 'px;position:absolute;transform:rotate(45deg);' + (this.parent.enableRtl ? 'right:' : 'left:') + (this.parent.enableRtl ? (data.ganttProperties.left -
672
- (this.milestoneHeight / 2) + 3) : (data.ganttProperties.left - (this.milestoneHeight / 2) + 1)) + 'px;' + (this.baselineColor ? 'background-color: ' + this.baselineColor + ';' : '') + 'margin-top:' + ((-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) + baselineMilestoneHeight) + 2) + 'px"> </div>';
672
+ (this.milestoneHeight / 2) + 3) : (data.ganttProperties.baselineLeft - (this.milestoneHeight / 2) + 1)) + 'px;' + (this.baselineColor ? 'background-color: ' + this.baselineColor + ';' : '') + 'margin-top:' + ((-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) + baselineMilestoneHeight) + 2) + 'px"> </div>';
673
673
  return this.createDivElement(template);
674
674
  };
675
675
  /**
@@ -1644,7 +1644,7 @@ var ChartRows = /** @class */ (function (_super) {
1644
1644
  getComputedStyle(taskbarElement.querySelector(classCollections[0])).backgroundColor;
1645
1645
  args.taskbarBorderColor = isNullOrUndefined(childTask) ? null : taskbarElement.classList.contains(cls.traceChildTaskBar) ?
1646
1646
  getComputedStyle(taskbarElement).backgroundColor :
1647
- getComputedStyle(taskbarElement.querySelector(classCollections[0])).borderColor;
1647
+ getComputedStyle(taskbarElement.querySelector(classCollections[0])).outlineColor;
1648
1648
  args.progressBarBgColor = isNullOrUndefined(progressTask) ? null :
1649
1649
  taskbarElement.classList.contains(cls.traceChildProgressBar) ?
1650
1650
  getComputedStyle(taskbarElement).backgroundColor :
@@ -1693,7 +1693,7 @@ var ChartRows = /** @class */ (function (_super) {
1693
1693
  */
1694
1694
  ChartRows.prototype.updateQueryTaskbarInfoArgs = function (args, rowElement, taskBarElement) {
1695
1695
  var trElement = args.rowElement;
1696
- var taskbarElement = args.taskbarElement;
1696
+ var taskbarElement = this.parent.enableVirtualization ? args.rowElement : args.taskbarElement;
1697
1697
  var classCollections = this.getClassName(args);
1698
1698
  var segmentRowElement;
1699
1699
  if (args.data.ganttProperties.segments && args.data.ganttProperties.segments.length > 0) {
@@ -1714,18 +1714,6 @@ var ChartRows = /** @class */ (function (_super) {
1714
1714
  }
1715
1715
  }
1716
1716
  else if (taskbarElement) {
1717
- if (taskbarElement && this.parent.enableVirtualization && !args.data.expanded) {
1718
- var childElement = trElement.querySelector('.' + cls.collapseParent);
1719
- if (childElement) {
1720
- for (var i = 0; i < childElement.childNodes.length; i++) {
1721
- var taskbar = childElement.childNodes[i];
1722
- var mainTaskbar = taskbar.querySelector('.' + cls.traceChildTaskBar);
1723
- if (mainTaskbar) {
1724
- mainTaskbar.style.backgroundColor = args.taskbarBgColor;
1725
- }
1726
- }
1727
- }
1728
- }
1729
1717
  if (taskbarElement.querySelector(classCollections[0]) &&
1730
1718
  getComputedStyle(taskbarElement.querySelector(classCollections[0])).backgroundColor !== args.taskbarBgColor) {
1731
1719
  taskbarElement.querySelector(classCollections[0]).style.backgroundColor = args.taskbarBgColor;
@@ -1951,8 +1939,7 @@ var ChartRows = /** @class */ (function (_super) {
1951
1939
  if (!this.parent.ganttChartModule.isExpandAll && !this.parent.ganttChartModule.isCollapseAll) {
1952
1940
  this.parent.treeGrid.grid.setRowData(dataId, data);
1953
1941
  }
1954
- if (this.parent.viewType === 'ResourceView' && data.hasChildRecords && !data.expanded && this.parent.enableMultiTaskbar && !this.parent.allowTaskbarOverlap &&
1955
- !this.parent.ganttChartModule.isCollapseAll && !this.parent.ganttChartModule.isExpandAll) {
1942
+ if (this.parent.viewType === 'ResourceView' && data.hasChildRecords && !data.expanded && this.parent.enableMultiTaskbar && !this.parent.allowTaskbarOverlap) {
1956
1943
  this.updateDragDropRecords(selectedItem, tr);
1957
1944
  }
1958
1945
  if (this.parent.viewType === 'ResourceView' && data.hasChildRecords && this.parent.showOverAllocation && !this.parent.allowTaskbarOverlap) {
@@ -1975,6 +1962,10 @@ var ChartRows = /** @class */ (function (_super) {
1975
1962
  addClass([cloneElement], 'collpse-parent-border');
1976
1963
  var id = tRow.querySelector('.' + cls.taskBarMainContainer).getAttribute('rowUniqueId');
1977
1964
  var ganttData = this.parent.getRecordByID(id);
1965
+ var mainTaskbar = (cloneElement.querySelector('.e-gantt-child-taskbar'));
1966
+ if (this.parent.queryTaskbarInfo) {
1967
+ this.triggerQueryTaskbarInfoByIndex(mainTaskbar, ganttData);
1968
+ }
1978
1969
  var zIndex = "";
1979
1970
  if (ganttData && !isNullOrUndefined(ganttData.ganttProperties.eOverlapIndex)) {
1980
1971
  zIndex = (ganttData.ganttProperties.eOverlapIndex).toString();
@@ -10,6 +10,7 @@ var ConnectorLine = /** @class */ (function () {
10
10
  this.transform = '';
11
11
  this.connectorLinePath = '';
12
12
  this.arrowPath = '';
13
+ this.taskLineValue = 0;
13
14
  this.expandedRecords = [];
14
15
  this.parent = ganttObj;
15
16
  this.dependencyViewContainer =
@@ -849,10 +850,10 @@ var ConnectorLine = /** @class */ (function () {
849
850
  * @private
850
851
  */
851
852
  ConnectorLine.prototype.getConnectorLineTooltipInnerTd = function (fromTaskName, fromPredecessorText, toTaskName, toPredecessorText) {
852
- var innerTd = '<tr id="fromPredecessor"><td style="padding: 4px;">' + this.parent.localeObj.getConstant('from') + '</td><td> ';
853
+ var innerTd = '<tr id="fromPredecessor"><td style="padding: 4px;width: 30px;">' + this.parent.localeObj.getConstant('from') + '</td><td> ';
853
854
  innerTd = innerTd + fromTaskName + ' </td><td style="padding: 2px;"> ' + this.parent.localeObj.getConstant(fromPredecessorText) + ' </td> </tr>';
854
855
  innerTd = innerTd + '<tr id="toPredecessor"><td style="padding: 4px;">' + this.parent.localeObj.getConstant('to') + '</td><td> ' + toTaskName;
855
- innerTd = innerTd + ' </td><td style="padding: 2px;"> ' + this.parent.localeObj.getConstant(toPredecessorText) + ' </td></tr></tbody><table>';
856
+ innerTd = innerTd + ' </td><td style="padding: 2px;width: 30px;"> ' + this.parent.localeObj.getConstant(toPredecessorText) + ' </td></tr></tbody><table>';
856
857
  return innerTd;
857
858
  };
858
859
  /**
@@ -24,7 +24,7 @@ var Tooltip = /** @class */ (function () {
24
24
  '.e-gantt-parent-taskbar, .e-gantt-milestone, .e-gantt-unscheduled-taskbar' +
25
25
  '.e-event-markers, .e-baseline-bar, .e-event-markers,' +
26
26
  '.e-connector-line-container, .e-indicator-span, .e-notes-info, .e-gantt-manualparent-milestone,' +
27
- '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone, .e-gantt-manualparenttaskbar';
27
+ '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone-container, .e-gantt-manualparenttaskbar';
28
28
  this.toolTipObj.position = 'BottomCenter';
29
29
  this.toolTipObj.openDelay = 700;
30
30
  this.toolTipObj.enableRtl = this.parent.enableRtl;
@@ -92,7 +92,7 @@ var Tooltip = /** @class */ (function () {
92
92
  parent.tooltipModule.getTooltipContent((data.ganttProperties.isMilestone ? 'milestone' : 'taskbar'), data, parent, args) : "";
93
93
  }
94
94
  else if (args.target.classList.contains('e-baseline-bar') ||
95
- args.target.classList.contains('e-baseline-gantt-milestone')) {
95
+ args.target.classList.contains('e-baseline-gantt-milestone-container')) {
96
96
  var baseLineTemplateNode = void 0;
97
97
  if ((parent.tooltipSettings.baseline)) {
98
98
  baseLineTemplateNode = parent.tooltipModule.templateCompiler(parent.tooltipSettings.baseline, parent, data, 'TooltipBaselineTemplate');
@@ -263,7 +263,7 @@ var Tooltip = /** @class */ (function () {
263
263
  case 'milestone':
264
264
  {
265
265
  var milestoneStartDate = void 0;
266
- if (args.target.className.includes('e-baseline-gantt-milestone') && !isNullOrUndefined(data.baselineStartDate)) {
266
+ if (args.target.className.includes('e-baseline-gantt-milestone-container') && !isNullOrUndefined(data.baselineStartDate)) {
267
267
  milestoneStartDate = data.baselineStartDate;
268
268
  }
269
269
  else if (!isNullOrUndefined(data.startDate)) {