@syncfusion/ej2-gantt 19.4.56 → 20.1.47-1460716

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 (211) hide show
  1. package/CHANGELOG.md +1072 -1060
  2. package/README.md +75 -75
  3. package/dist/ej2-gantt.umd.min.js +1 -10
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +274 -176
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +642 -534
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +1 -10
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +0 -9
  12. package/dist/ts/components.ts +4 -0
  13. package/dist/ts/gantt/actions/actions.ts +18 -0
  14. package/dist/ts/gantt/actions/cell-edit.ts +606 -0
  15. package/dist/ts/gantt/actions/chart-scroll.ts +167 -0
  16. package/dist/ts/gantt/actions/column-menu.ts +35 -0
  17. package/dist/ts/gantt/actions/column-reorder.ts +52 -0
  18. package/dist/ts/gantt/actions/column-resize.ts +52 -0
  19. package/dist/ts/gantt/actions/connector-line-edit.ts +829 -0
  20. package/dist/ts/gantt/actions/context-menu.ts +754 -0
  21. package/dist/ts/gantt/actions/day-markers.ts +80 -0
  22. package/dist/ts/gantt/actions/dependency.ts +692 -0
  23. package/dist/ts/gantt/actions/dialog-edit.ts +2208 -0
  24. package/dist/ts/gantt/actions/edit.ts +3499 -0
  25. package/dist/ts/gantt/actions/excel-export.ts +61 -0
  26. package/dist/ts/gantt/actions/filter.ts +302 -0
  27. package/dist/ts/gantt/actions/keyboard.ts +306 -0
  28. package/dist/ts/gantt/actions/pdf-export.ts +214 -0
  29. package/dist/ts/gantt/actions/rowdragdrop.ts +839 -0
  30. package/dist/ts/gantt/actions/selection.ts +536 -0
  31. package/dist/ts/gantt/actions/sort.ts +98 -0
  32. package/dist/ts/gantt/actions/taskbar-edit.ts +1940 -0
  33. package/dist/ts/gantt/actions/toolbar.ts +489 -0
  34. package/dist/ts/gantt/actions/virtual-scroll.ts +60 -0
  35. package/dist/ts/gantt/base/common.ts +9 -0
  36. package/dist/ts/gantt/base/constant.ts +13 -0
  37. package/dist/ts/gantt/base/css-constants.ts +148 -0
  38. package/dist/ts/gantt/base/date-processor.ts +1257 -0
  39. package/dist/ts/gantt/base/enum.ts +372 -0
  40. package/dist/ts/gantt/base/gantt-chart.ts +1248 -0
  41. package/dist/ts/gantt/base/gantt.ts +4069 -0
  42. package/dist/ts/gantt/base/interface.ts +955 -0
  43. package/dist/ts/gantt/base/splitter.ts +174 -0
  44. package/dist/ts/gantt/base/task-processor.ts +2217 -0
  45. package/dist/ts/gantt/base/tree-grid.ts +694 -0
  46. package/dist/ts/gantt/base/utils.ts +208 -0
  47. package/dist/ts/gantt/export/export-helper.ts +552 -0
  48. package/dist/ts/gantt/export/pdf-base/dictionary.ts +152 -0
  49. package/dist/ts/gantt/export/pdf-base/pdf-borders.ts +277 -0
  50. package/dist/ts/gantt/export/pdf-base/pdf-grid-table.ts +901 -0
  51. package/dist/ts/gantt/export/pdf-base/pdf-style/gantt-theme.ts +131 -0
  52. package/dist/ts/gantt/export/pdf-base/pdf-style/style.ts +91 -0
  53. package/dist/ts/gantt/export/pdf-base/treegrid-layouter.ts +414 -0
  54. package/dist/ts/gantt/export/pdf-connector-line.ts +422 -0
  55. package/dist/ts/gantt/export/pdf-gantt.ts +282 -0
  56. package/dist/ts/gantt/export/pdf-taskbar.ts +395 -0
  57. package/dist/ts/gantt/export/pdf-timeline.ts +202 -0
  58. package/dist/ts/gantt/export/pdf-treegrid.ts +406 -0
  59. package/dist/ts/gantt/models/add-dialog-field-settings.ts +33 -0
  60. package/dist/ts/gantt/models/column.ts +464 -0
  61. package/dist/ts/gantt/models/day-working-time.ts +22 -0
  62. package/dist/ts/gantt/models/edit-dialog-field-settings.ts +33 -0
  63. package/dist/ts/gantt/models/edit-settings.ts +79 -0
  64. package/dist/ts/gantt/models/event-marker.ts +27 -0
  65. package/dist/ts/gantt/models/filter-settings.ts +53 -0
  66. package/dist/ts/gantt/models/holiday.ts +34 -0
  67. package/dist/ts/gantt/models/label-settings.ts +30 -0
  68. package/dist/ts/gantt/models/models.ts +36 -0
  69. package/dist/ts/gantt/models/resource-fields.ts +38 -0
  70. package/dist/ts/gantt/models/search-settings.ts +77 -0
  71. package/dist/ts/gantt/models/selection-settings.ts +56 -0
  72. package/dist/ts/gantt/models/sort-settings.ts +50 -0
  73. package/dist/ts/gantt/models/splitter-settings.ts +47 -0
  74. package/dist/ts/gantt/models/task-fields.ts +171 -0
  75. package/dist/ts/gantt/models/timeline-settings.ts +112 -0
  76. package/dist/ts/gantt/models/tooltip-settings.ts +46 -0
  77. package/dist/ts/gantt/renderer/chart-rows.ts +1838 -0
  78. package/dist/ts/gantt/renderer/connector-line.ts +1025 -0
  79. package/dist/ts/gantt/renderer/edit-tooltip.ts +228 -0
  80. package/dist/ts/gantt/renderer/event-marker.ts +96 -0
  81. package/dist/ts/gantt/renderer/nonworking-day.ts +205 -0
  82. package/dist/ts/gantt/renderer/render.ts +5 -0
  83. package/dist/ts/gantt/renderer/timeline.ts +1397 -0
  84. package/dist/ts/gantt/renderer/tooltip.ts +450 -0
  85. package/dist/ts/gantt/renderer/virtual-content-render.ts +50 -0
  86. package/license +9 -9
  87. package/package.json +80 -80
  88. package/src/gantt/actions/cell-edit.js +2 -1
  89. package/src/gantt/actions/dialog-edit.js +2 -1
  90. package/src/gantt/actions/edit.js +11 -2
  91. package/src/gantt/actions/rowdragdrop.js +37 -15
  92. package/src/gantt/actions/taskbar-edit.js +24 -24
  93. package/src/gantt/base/date-processor.js +0 -1
  94. package/src/gantt/base/gantt-chart.js +9 -4
  95. package/src/gantt/base/gantt-model.d.ts +779 -779
  96. package/src/gantt/base/gantt.d.ts +27 -27
  97. package/src/gantt/base/gantt.js +22 -22
  98. package/src/gantt/base/splitter.js +1 -0
  99. package/src/gantt/base/task-processor.js +13 -13
  100. package/src/gantt/base/tree-grid.js +3 -1
  101. package/src/gantt/export/pdf-base/treegrid-layouter.js +13 -13
  102. package/src/gantt/export/pdf-connector-line.js +11 -11
  103. package/src/gantt/export/pdf-gantt.js +24 -24
  104. package/src/gantt/export/pdf-taskbar.js +11 -11
  105. package/src/gantt/export/pdf-treegrid.js +13 -13
  106. package/src/gantt/models/add-dialog-field-settings-model.d.ts +21 -21
  107. package/src/gantt/models/add-dialog-field-settings.js +19 -19
  108. package/src/gantt/models/day-working-time-model.d.ts +11 -11
  109. package/src/gantt/models/day-working-time.js +19 -19
  110. package/src/gantt/models/edit-dialog-field-settings-model.d.ts +21 -21
  111. package/src/gantt/models/edit-dialog-field-settings.js +19 -19
  112. package/src/gantt/models/edit-settings-model.d.ts +50 -50
  113. package/src/gantt/models/edit-settings.js +19 -19
  114. package/src/gantt/models/event-marker-model.d.ts +16 -16
  115. package/src/gantt/models/event-marker.js +19 -19
  116. package/src/gantt/models/filter-settings-model.d.ts +34 -34
  117. package/src/gantt/models/filter-settings.js +19 -19
  118. package/src/gantt/models/holiday-model.d.ts +21 -21
  119. package/src/gantt/models/holiday.js +19 -19
  120. package/src/gantt/models/label-settings-model.d.ts +16 -16
  121. package/src/gantt/models/label-settings.js +19 -19
  122. package/src/gantt/models/resource-fields-model.d.ts +21 -21
  123. package/src/gantt/models/resource-fields.js +19 -19
  124. package/src/gantt/models/search-settings-model.d.ts +56 -56
  125. package/src/gantt/models/search-settings.js +19 -19
  126. package/src/gantt/models/selection-settings-model.d.ts +35 -35
  127. package/src/gantt/models/selection-settings.js +19 -19
  128. package/src/gantt/models/sort-settings-model.d.ts +24 -24
  129. package/src/gantt/models/sort-settings.js +19 -19
  130. package/src/gantt/models/splitter-settings-model.d.ts +30 -30
  131. package/src/gantt/models/splitter-settings.js +19 -19
  132. package/src/gantt/models/task-fields-model.d.ts +110 -110
  133. package/src/gantt/models/task-fields.js +19 -19
  134. package/src/gantt/models/timeline-settings-model.d.ts +71 -71
  135. package/src/gantt/models/timeline-settings.js +19 -19
  136. package/src/gantt/models/tooltip-settings-model.d.ts +26 -26
  137. package/src/gantt/models/tooltip-settings.js +19 -19
  138. package/src/gantt/renderer/chart-rows.js +49 -37
  139. package/src/gantt/renderer/connector-line.js +22 -18
  140. package/src/gantt/renderer/event-marker.js +1 -0
  141. package/src/gantt/renderer/nonworking-day.js +13 -6
  142. package/src/gantt/renderer/timeline.d.ts +1 -0
  143. package/src/gantt/renderer/timeline.js +48 -12
  144. package/src/gantt/renderer/tooltip.js +11 -3
  145. package/styles/bootstrap-dark.css +442 -427
  146. package/styles/bootstrap.css +442 -433
  147. package/styles/bootstrap4.css +454 -479
  148. package/styles/bootstrap5-dark.css +457 -433
  149. package/styles/bootstrap5.css +457 -433
  150. package/styles/fabric-dark.css +438 -421
  151. package/styles/fabric.css +445 -428
  152. package/styles/fluent-dark.css +1938 -0
  153. package/styles/fluent-dark.scss +1 -0
  154. package/styles/fluent.css +1938 -0
  155. package/styles/fluent.scss +1 -0
  156. package/styles/gantt/_all.scss +2 -2
  157. package/styles/gantt/_bootstrap-dark-definition.scss +210 -156
  158. package/styles/gantt/_bootstrap-definition.scss +211 -157
  159. package/styles/gantt/_bootstrap4-definition.scss +213 -158
  160. package/styles/gantt/_bootstrap5-definition.scss +215 -162
  161. package/styles/gantt/_fabric-dark-definition.scss +211 -157
  162. package/styles/gantt/_fabric-definition.scss +211 -157
  163. package/styles/gantt/_fluent-dark-definition.scss +1 -0
  164. package/styles/gantt/_fluent-definition.scss +215 -162
  165. package/styles/gantt/_fusionnew-definition.scss +214 -0
  166. package/styles/gantt/_highcontrast-definition.scss +211 -157
  167. package/styles/gantt/_highcontrast-light-definition.scss +211 -157
  168. package/styles/gantt/_layout.scss +1446 -1027
  169. package/styles/gantt/_material-dark-definition.scss +212 -157
  170. package/styles/gantt/_material-definition.scss +212 -157
  171. package/styles/gantt/_material3-definition.scss +215 -0
  172. package/styles/gantt/_tailwind-definition.scss +215 -161
  173. package/styles/gantt/_theme.scss +702 -668
  174. package/styles/gantt/bootstrap-dark.css +442 -427
  175. package/styles/gantt/bootstrap.css +442 -433
  176. package/styles/gantt/bootstrap4.css +454 -479
  177. package/styles/gantt/bootstrap5-dark.css +457 -433
  178. package/styles/gantt/bootstrap5.css +457 -433
  179. package/styles/gantt/fabric-dark.css +438 -421
  180. package/styles/gantt/fabric.css +445 -428
  181. package/styles/gantt/fluent-dark.css +1938 -0
  182. package/styles/gantt/fluent-dark.scss +22 -0
  183. package/styles/gantt/fluent.css +1938 -0
  184. package/styles/gantt/fluent.scss +22 -0
  185. package/styles/gantt/highcontrast-light.css +405 -405
  186. package/styles/gantt/highcontrast.css +444 -456
  187. package/styles/gantt/icons/_bootstrap-dark.scss +124 -113
  188. package/styles/gantt/icons/_bootstrap.scss +124 -113
  189. package/styles/gantt/icons/_bootstrap4.scss +124 -113
  190. package/styles/gantt/icons/_bootstrap5.scss +124 -112
  191. package/styles/gantt/icons/_fabric-dark.scss +124 -112
  192. package/styles/gantt/icons/_fabric.scss +124 -112
  193. package/styles/gantt/icons/_fluent-dark.scss +1 -0
  194. package/styles/gantt/icons/_fluent.scss +124 -112
  195. package/styles/gantt/icons/_fusionnew.scss +120 -0
  196. package/styles/gantt/icons/_highcontrast.scss +124 -112
  197. package/styles/gantt/icons/_material-dark.scss +124 -112
  198. package/styles/gantt/icons/_material.scss +124 -112
  199. package/styles/gantt/icons/_material3.scss +124 -0
  200. package/styles/gantt/icons/_tailwind-dark.scss +124 -113
  201. package/styles/gantt/icons/_tailwind.scss +124 -113
  202. package/styles/gantt/material-dark.css +446 -417
  203. package/styles/gantt/material.css +445 -419
  204. package/styles/gantt/tailwind-dark.css +452 -482
  205. package/styles/gantt/tailwind.css +449 -479
  206. package/styles/highcontrast-light.css +405 -405
  207. package/styles/highcontrast.css +444 -456
  208. package/styles/material-dark.css +446 -417
  209. package/styles/material.css +445 -419
  210. package/styles/tailwind-dark.css +452 -482
  211. package/styles/tailwind.css +449 -479
@@ -484,7 +484,6 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
484
484
  tDuration = this.parent.editModule.taskbarEditModule.sumOfDuration(ganttProperties.segments);
485
485
  }
486
486
  else {
487
- // eslint-disable-next-line
488
487
  if (!isNullOrUndefined(ganttProperties.startDate) && !isNullOrUndefined(ganttProperties.endDate) &&
489
488
  (ganttProperties.startDate).getTime() === (ganttProperties.endDate).getTime() && !isNullOrUndefined(ganttData.taskData[this.parent.taskFields.milestone])) {
490
489
  tDuration = 1;
@@ -1506,19 +1505,19 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
1506
1505
  return DateProcessor;
1507
1506
  }());
1508
1507
 
1509
- var __extends$1 = (undefined && undefined.__extends) || (function () {
1510
- var extendStatics = function (d, b) {
1511
- extendStatics = Object.setPrototypeOf ||
1512
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1513
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1514
- return extendStatics(d, b);
1515
- };
1516
- return function (d, b) {
1517
- extendStatics(d, b);
1518
- function __() { this.constructor = d; }
1519
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1520
- };
1521
- })();
1508
+ var __extends$1 = (undefined && undefined.__extends) || (function () {
1509
+ var extendStatics = function (d, b) {
1510
+ extendStatics = Object.setPrototypeOf ||
1511
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1512
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1513
+ return extendStatics(d, b);
1514
+ };
1515
+ return function (d, b) {
1516
+ extendStatics(d, b);
1517
+ function __() { this.constructor = d; }
1518
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1519
+ };
1520
+ })();
1522
1521
  /**
1523
1522
  * To calculate and update task related values
1524
1523
  */
@@ -4130,6 +4129,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
4130
4129
  this.chartTimelineContainer = null;
4131
4130
  this.rangeViewContainer =
4132
4131
  createElement('div', { className: rangeContainer });
4132
+ this.rangeViewContainer.setAttribute("role", "RangeContainer");
4133
4133
  this.virtualRender = new VirtualContentRenderer(this.parent);
4134
4134
  this.addEventListener();
4135
4135
  }
@@ -4284,6 +4284,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
4284
4284
  GanttChart.prototype.renderTimelineContainer = function () {
4285
4285
  this.chartTimelineContainer =
4286
4286
  createElement('div', { className: timelineHeaderContainer });
4287
+ this.chartTimelineContainer.setAttribute("role", "TimelineHeader");
4287
4288
  this.chartElement.appendChild(this.chartTimelineContainer);
4288
4289
  };
4289
4290
  /**
@@ -4335,8 +4336,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
4335
4336
  else {
4336
4337
  this.chartBodyContent.style.height = contentElement['offsetHeight'] + 'px';
4337
4338
  }
4338
- }
4339
- //let element: HTMLElement = this.chartTimelineContainer.querySelector('.' + cls.timelineHeaderTableContainer);
4339
+ } //let element: HTMLElement = this.chartTimelineContainer.querySelector('.' + cls.timelineHeaderTableContainer);
4340
4340
  this.chartBodyContent.style.width = formatUnit(this.parent.timelineModule.totalTimelineWidth);
4341
4341
  this.setVirtualHeight();
4342
4342
  this.parent.notify('updateHeight', {});
@@ -4514,7 +4514,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
4514
4514
  var target = e.target;
4515
4515
  var isOnTaskbarElement = e.target.classList.contains(taskBarMainContainer)
4516
4516
  || closest(e.target, '.' + taskBarMainContainer);
4517
- if (closest(target, '.e-gantt-parent-taskbar')) {
4517
+ if (closest(target, '.e-gantt-parent-taskbar') && !this.parent.editSettings.allowEditing) {
4518
4518
  this.chartExpandCollapseRequest(e);
4519
4519
  }
4520
4520
  else if (!isOnTaskbarElement && this.parent.autoFocusTasks) {
@@ -5038,6 +5038,10 @@ var GanttChart = /** @__PURE__ @class */ (function () {
5038
5038
  $target.classList.contains('e-headercell') || $target.closest('.e-segmented-taskbar')) {
5039
5039
  e.preventDefault();
5040
5040
  }
5041
+ if (isTab && $target.classList.contains('e-rowdragdrop')) {
5042
+ this.parent.treeGrid.grid.notify('key-pressed', e);
5043
+ return;
5044
+ }
5041
5045
  if ($target.classList.contains('e-rowcell') && (nextElement && nextElement.classList.contains('e-rowcell')) ||
5042
5046
  $target.classList.contains('e-headercell')) { // eslint-disable-line
5043
5047
  if (isTab) {
@@ -5080,7 +5084,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
5080
5084
  else {
5081
5085
  this.manageFocus($target, 'remove', true);
5082
5086
  }
5083
- if (nextElement.classList.contains('e-rowcell')) {
5087
+ if (nextElement.classList.contains('e-rowcell') && $target.nextElementSibling) {
5084
5088
  if (!$target.classList.contains('e-rowcell')) {
5085
5089
  this.parent.treeGrid.grid.notify('key-pressed', e);
5086
5090
  var fmodule = getValue('focusModule', this.parent.treeGrid.grid);
@@ -5337,17 +5341,17 @@ var GanttChart = /** @__PURE__ @class */ (function () {
5337
5341
  return GanttChart;
5338
5342
  }());
5339
5343
 
5340
- var __assign = (undefined && undefined.__assign) || function () {
5341
- __assign = Object.assign || function(t) {
5342
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5343
- s = arguments[i];
5344
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
5345
- t[p] = s[p];
5346
- }
5347
- return t;
5348
- };
5349
- return __assign.apply(this, arguments);
5350
- };
5344
+ var __assign = (undefined && undefined.__assign) || function () {
5345
+ __assign = Object.assign || function(t) {
5346
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5347
+ s = arguments[i];
5348
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
5349
+ t[p] = s[p];
5350
+ }
5351
+ return t;
5352
+ };
5353
+ return __assign.apply(this, arguments);
5354
+ };
5351
5355
  /**
5352
5356
  * Configures the `Timeline` of the gantt.
5353
5357
  */
@@ -6179,6 +6183,40 @@ var Timeline = /** @__PURE__ @class */ (function () {
6179
6183
  } while ((startDate < endDate));
6180
6184
  return parentTh;
6181
6185
  };
6186
+ Timeline.prototype.updateTimelineAfterZooming = function (endDate, resized) {
6187
+ var timeDiff;
6188
+ var perDayWidth;
6189
+ var totWidth;
6190
+ var contentElement = document.getElementsByClassName('e-chart-scroll-container e-content')[0];
6191
+ if (!isNullOrUndefined(contentElement)) {
6192
+ var contentWidth = contentElement['offsetWidth'];
6193
+ var contentHeight = contentElement['offsetHeight'];
6194
+ var scrollHeight = document.getElementsByClassName('e-chart-rows-container')[0]['offsetHeight'];
6195
+ timeDiff = Math.abs(this.timelineStartDate.getTime() - endDate.getTime());
6196
+ timeDiff = timeDiff / (1000 * 3600 * 24);
6197
+ if (this.bottomTier === 'None') {
6198
+ perDayWidth = this.getPerDayWidth(this.customTimelineSettings.timelineUnitSize, this.customTimelineSettings.topTier.count, this.topTier);
6199
+ }
6200
+ else {
6201
+ perDayWidth = this.getPerDayWidth(this.customTimelineSettings.timelineUnitSize, this.customTimelineSettings.bottomTier.count, this.bottomTier);
6202
+ }
6203
+ if (contentHeight < scrollHeight) {
6204
+ totWidth = (perDayWidth * timeDiff) + 17;
6205
+ }
6206
+ else {
6207
+ totWidth = (perDayWidth * timeDiff);
6208
+ }
6209
+ if (contentWidth >= totWidth) {
6210
+ var widthDiff = contentWidth - totWidth;
6211
+ widthDiff = Math.round(widthDiff / perDayWidth);
6212
+ endDate.setDate(endDate.getDate() + widthDiff);
6213
+ this.parent.timelineModule.timelineEndDate = endDate;
6214
+ if (resized) {
6215
+ this.parent.updateProjectDates(this.timelineStartDate, this.timelineEndDate, this.parent.isTimelineRoundOff);
6216
+ }
6217
+ }
6218
+ }
6219
+ };
6182
6220
  Timeline.prototype.getTimelineRoundOffEndDate = function (date) {
6183
6221
  var tierMode = this.topTier === 'None' ? this.bottomTier : this.topTier;
6184
6222
  var endDate = new Date(date.toString());
@@ -6193,6 +6231,9 @@ var Timeline = /** @__PURE__ @class */ (function () {
6193
6231
  endDate.setHours(24, 0, 0, 0);
6194
6232
  }
6195
6233
  }
6234
+ if (this.isZooming || this.parent.isLoad) {
6235
+ this.updateTimelineAfterZooming(endDate, false);
6236
+ }
6196
6237
  return endDate;
6197
6238
  };
6198
6239
  /**
@@ -6262,7 +6303,6 @@ var Timeline = /** @__PURE__ @class */ (function () {
6262
6303
  }
6263
6304
  return increment;
6264
6305
  };
6265
-
6266
6306
  /**
6267
6307
  * Method to find header cell was weekend or not
6268
6308
  *
@@ -6844,6 +6884,8 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
6844
6884
  GanttTreeGrid.prototype.renderTreeGrid = function () {
6845
6885
  this.composeProperties();
6846
6886
  this.bindEvents();
6887
+ var root = 'root';
6888
+ this.parent.treeGrid[root] = this.parent[root] ? this.parent[root] : this.parent;
6847
6889
  this.parent.treeGrid.appendTo(this.treeGridElement);
6848
6890
  this.wireEvents();
6849
6891
  };
@@ -6907,7 +6949,7 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
6907
6949
  var scrollWidth = this.getScrollbarWidth();
6908
6950
  var isMobile = /Android|Mac|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
6909
6951
  if (scrollWidth !== 0) {
6910
- content.style.cssText += 'width: calc(100% + ' + scrollWidth + 'px);';
6952
+ content.style.cssText += 'width: calc(100% + ' + (scrollWidth + 1) + 'px);';
6911
6953
  }
6912
6954
  else {
6913
6955
  content.classList.add('e-gantt-scroll-padding');
@@ -7441,25 +7483,25 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
7441
7483
  return GanttTreeGrid;
7442
7484
  }());
7443
7485
 
7444
- var __extends$2 = (undefined && undefined.__extends) || (function () {
7445
- var extendStatics = function (d, b) {
7446
- extendStatics = Object.setPrototypeOf ||
7447
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7448
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7449
- return extendStatics(d, b);
7450
- };
7451
- return function (d, b) {
7452
- extendStatics(d, b);
7453
- function __() { this.constructor = d; }
7454
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7455
- };
7456
- })();
7457
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7458
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7459
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7460
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7461
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7462
- };
7486
+ var __extends$2 = (undefined && undefined.__extends) || (function () {
7487
+ var extendStatics = function (d, b) {
7488
+ extendStatics = Object.setPrototypeOf ||
7489
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7490
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7491
+ return extendStatics(d, b);
7492
+ };
7493
+ return function (d, b) {
7494
+ extendStatics(d, b);
7495
+ function __() { this.constructor = d; }
7496
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7497
+ };
7498
+ })();
7499
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7500
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7501
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7502
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7503
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7504
+ };
7463
7505
  /**
7464
7506
  * Defines working time of day in project.
7465
7507
  */
@@ -7477,25 +7519,25 @@ var DayWorkingTime = /** @__PURE__ @class */ (function (_super) {
7477
7519
  return DayWorkingTime;
7478
7520
  }(ChildProperty));
7479
7521
 
7480
- var __extends$3 = (undefined && undefined.__extends) || (function () {
7481
- var extendStatics = function (d, b) {
7482
- extendStatics = Object.setPrototypeOf ||
7483
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7484
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7485
- return extendStatics(d, b);
7486
- };
7487
- return function (d, b) {
7488
- extendStatics(d, b);
7489
- function __() { this.constructor = d; }
7490
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7491
- };
7492
- })();
7493
- var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7494
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7495
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7496
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7497
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7498
- };
7522
+ var __extends$3 = (undefined && undefined.__extends) || (function () {
7523
+ var extendStatics = function (d, b) {
7524
+ extendStatics = Object.setPrototypeOf ||
7525
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7526
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7527
+ return extendStatics(d, b);
7528
+ };
7529
+ return function (d, b) {
7530
+ extendStatics(d, b);
7531
+ function __() { this.constructor = d; }
7532
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7533
+ };
7534
+ })();
7535
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7536
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7537
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7538
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7539
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7540
+ };
7499
7541
  /**
7500
7542
  * Defines dialog fields of add dialog.
7501
7543
  */
@@ -7516,25 +7558,25 @@ var AddDialogFieldSettings = /** @__PURE__ @class */ (function (_super) {
7516
7558
  return AddDialogFieldSettings;
7517
7559
  }(ChildProperty));
7518
7560
 
7519
- var __extends$4 = (undefined && undefined.__extends) || (function () {
7520
- var extendStatics = function (d, b) {
7521
- extendStatics = Object.setPrototypeOf ||
7522
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7523
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7524
- return extendStatics(d, b);
7525
- };
7526
- return function (d, b) {
7527
- extendStatics(d, b);
7528
- function __() { this.constructor = d; }
7529
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7530
- };
7531
- })();
7532
- var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7533
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7534
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7535
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7536
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7537
- };
7561
+ var __extends$4 = (undefined && undefined.__extends) || (function () {
7562
+ var extendStatics = function (d, b) {
7563
+ extendStatics = Object.setPrototypeOf ||
7564
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7565
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7566
+ return extendStatics(d, b);
7567
+ };
7568
+ return function (d, b) {
7569
+ extendStatics(d, b);
7570
+ function __() { this.constructor = d; }
7571
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7572
+ };
7573
+ })();
7574
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7575
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7576
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7577
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7578
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7579
+ };
7538
7580
  /**
7539
7581
  * Defines dialog fields of edit dialog.
7540
7582
  */
@@ -7555,25 +7597,25 @@ var EditDialogFieldSettings = /** @__PURE__ @class */ (function (_super) {
7555
7597
  return EditDialogFieldSettings;
7556
7598
  }(ChildProperty));
7557
7599
 
7558
- var __extends$5 = (undefined && undefined.__extends) || (function () {
7559
- var extendStatics = function (d, b) {
7560
- extendStatics = Object.setPrototypeOf ||
7561
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7562
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7563
- return extendStatics(d, b);
7564
- };
7565
- return function (d, b) {
7566
- extendStatics(d, b);
7567
- function __() { this.constructor = d; }
7568
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7569
- };
7570
- })();
7571
- var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7572
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7573
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7574
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7575
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7576
- };
7600
+ var __extends$5 = (undefined && undefined.__extends) || (function () {
7601
+ var extendStatics = function (d, b) {
7602
+ extendStatics = Object.setPrototypeOf ||
7603
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7604
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7605
+ return extendStatics(d, b);
7606
+ };
7607
+ return function (d, b) {
7608
+ extendStatics(d, b);
7609
+ function __() { this.constructor = d; }
7610
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7611
+ };
7612
+ })();
7613
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7614
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7615
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7616
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7617
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7618
+ };
7577
7619
  /**
7578
7620
  * Configures edit settings of Gantt.
7579
7621
  */
@@ -7609,25 +7651,25 @@ var EditSettings = /** @__PURE__ @class */ (function (_super) {
7609
7651
  return EditSettings;
7610
7652
  }(ChildProperty));
7611
7653
 
7612
- var __extends$6 = (undefined && undefined.__extends) || (function () {
7613
- var extendStatics = function (d, b) {
7614
- extendStatics = Object.setPrototypeOf ||
7615
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7616
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7617
- return extendStatics(d, b);
7618
- };
7619
- return function (d, b) {
7620
- extendStatics(d, b);
7621
- function __() { this.constructor = d; }
7622
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7623
- };
7624
- })();
7625
- var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7626
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7627
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7628
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7629
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7630
- };
7654
+ var __extends$6 = (undefined && undefined.__extends) || (function () {
7655
+ var extendStatics = function (d, b) {
7656
+ extendStatics = Object.setPrototypeOf ||
7657
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7658
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7659
+ return extendStatics(d, b);
7660
+ };
7661
+ return function (d, b) {
7662
+ extendStatics(d, b);
7663
+ function __() { this.constructor = d; }
7664
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7665
+ };
7666
+ })();
7667
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7668
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7669
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7670
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7671
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7672
+ };
7631
7673
  /**
7632
7674
  * Defines event marker collection in Gantt.
7633
7675
  */
@@ -7648,25 +7690,25 @@ var EventMarker = /** @__PURE__ @class */ (function (_super) {
7648
7690
  return EventMarker;
7649
7691
  }(ChildProperty));
7650
7692
 
7651
- var __extends$7 = (undefined && undefined.__extends) || (function () {
7652
- var extendStatics = function (d, b) {
7653
- extendStatics = Object.setPrototypeOf ||
7654
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7655
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7656
- return extendStatics(d, b);
7657
- };
7658
- return function (d, b) {
7659
- extendStatics(d, b);
7660
- function __() { this.constructor = d; }
7661
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7662
- };
7663
- })();
7664
- var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7665
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7666
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7667
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7668
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7669
- };
7693
+ var __extends$7 = (undefined && undefined.__extends) || (function () {
7694
+ var extendStatics = function (d, b) {
7695
+ extendStatics = Object.setPrototypeOf ||
7696
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7697
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7698
+ return extendStatics(d, b);
7699
+ };
7700
+ return function (d, b) {
7701
+ extendStatics(d, b);
7702
+ function __() { this.constructor = d; }
7703
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7704
+ };
7705
+ })();
7706
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7707
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7708
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7709
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7710
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7711
+ };
7670
7712
  /**
7671
7713
  * Configures the filtering behavior of the Gantt.
7672
7714
  */
@@ -7693,25 +7735,25 @@ var FilterSettings = /** @__PURE__ @class */ (function (_super) {
7693
7735
  return FilterSettings;
7694
7736
  }(ChildProperty));
7695
7737
 
7696
- var __extends$8 = (undefined && undefined.__extends) || (function () {
7697
- var extendStatics = function (d, b) {
7698
- extendStatics = Object.setPrototypeOf ||
7699
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7700
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7701
- return extendStatics(d, b);
7702
- };
7703
- return function (d, b) {
7704
- extendStatics(d, b);
7705
- function __() { this.constructor = d; }
7706
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7707
- };
7708
- })();
7709
- var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7710
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7711
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7712
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7713
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7714
- };
7738
+ var __extends$8 = (undefined && undefined.__extends) || (function () {
7739
+ var extendStatics = function (d, b) {
7740
+ extendStatics = Object.setPrototypeOf ||
7741
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7742
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7743
+ return extendStatics(d, b);
7744
+ };
7745
+ return function (d, b) {
7746
+ extendStatics(d, b);
7747
+ function __() { this.constructor = d; }
7748
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7749
+ };
7750
+ })();
7751
+ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7752
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7753
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7754
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7755
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7756
+ };
7715
7757
  /**
7716
7758
  * Configures the searching behavior of the Gantt.
7717
7759
  */
@@ -7738,25 +7780,25 @@ var SearchSettings = /** @__PURE__ @class */ (function (_super) {
7738
7780
  return SearchSettings;
7739
7781
  }(ChildProperty));
7740
7782
 
7741
- var __extends$9 = (undefined && undefined.__extends) || (function () {
7742
- var extendStatics = function (d, b) {
7743
- extendStatics = Object.setPrototypeOf ||
7744
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7745
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7746
- return extendStatics(d, b);
7747
- };
7748
- return function (d, b) {
7749
- extendStatics(d, b);
7750
- function __() { this.constructor = d; }
7751
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7752
- };
7753
- })();
7754
- var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7755
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7756
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7757
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7758
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7759
- };
7783
+ var __extends$9 = (undefined && undefined.__extends) || (function () {
7784
+ var extendStatics = function (d, b) {
7785
+ extendStatics = Object.setPrototypeOf ||
7786
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7787
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7788
+ return extendStatics(d, b);
7789
+ };
7790
+ return function (d, b) {
7791
+ extendStatics(d, b);
7792
+ function __() { this.constructor = d; }
7793
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7794
+ };
7795
+ })();
7796
+ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7797
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7798
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7799
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7800
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7801
+ };
7760
7802
  /**
7761
7803
  * Defines holidays of project.
7762
7804
  */
@@ -7780,25 +7822,25 @@ var Holiday = /** @__PURE__ @class */ (function (_super) {
7780
7822
  return Holiday;
7781
7823
  }(ChildProperty));
7782
7824
 
7783
- var __extends$10 = (undefined && undefined.__extends) || (function () {
7784
- var extendStatics = function (d, b) {
7785
- extendStatics = Object.setPrototypeOf ||
7786
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7787
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7788
- return extendStatics(d, b);
7789
- };
7790
- return function (d, b) {
7791
- extendStatics(d, b);
7792
- function __() { this.constructor = d; }
7793
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7794
- };
7795
- })();
7796
- var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7797
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7798
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7799
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7800
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7801
- };
7825
+ var __extends$10 = (undefined && undefined.__extends) || (function () {
7826
+ var extendStatics = function (d, b) {
7827
+ extendStatics = Object.setPrototypeOf ||
7828
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7829
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7830
+ return extendStatics(d, b);
7831
+ };
7832
+ return function (d, b) {
7833
+ extendStatics(d, b);
7834
+ function __() { this.constructor = d; }
7835
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7836
+ };
7837
+ })();
7838
+ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7839
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7840
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7841
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7842
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7843
+ };
7802
7844
  /**
7803
7845
  * Defines labels for task, this will be placed right, left and inner side of taskbar.
7804
7846
  */
@@ -7819,25 +7861,25 @@ var LabelSettings = /** @__PURE__ @class */ (function (_super) {
7819
7861
  return LabelSettings;
7820
7862
  }(ChildProperty));
7821
7863
 
7822
- var __extends$11 = (undefined && undefined.__extends) || (function () {
7823
- var extendStatics = function (d, b) {
7824
- extendStatics = Object.setPrototypeOf ||
7825
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7826
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7827
- return extendStatics(d, b);
7828
- };
7829
- return function (d, b) {
7830
- extendStatics(d, b);
7831
- function __() { this.constructor = d; }
7832
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7833
- };
7834
- })();
7835
- var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7836
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7837
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7838
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7839
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7840
- };
7864
+ var __extends$11 = (undefined && undefined.__extends) || (function () {
7865
+ var extendStatics = function (d, b) {
7866
+ extendStatics = Object.setPrototypeOf ||
7867
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7868
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7869
+ return extendStatics(d, b);
7870
+ };
7871
+ return function (d, b) {
7872
+ extendStatics(d, b);
7873
+ function __() { this.constructor = d; }
7874
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7875
+ };
7876
+ })();
7877
+ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7878
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7879
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7880
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7881
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7882
+ };
7841
7883
  /**
7842
7884
  * Configures the selection behavior of the Gantt.
7843
7885
  */
@@ -7864,25 +7906,25 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
7864
7906
  return SelectionSettings;
7865
7907
  }(ChildProperty));
7866
7908
 
7867
- var __extends$12 = (undefined && undefined.__extends) || (function () {
7868
- var extendStatics = function (d, b) {
7869
- extendStatics = Object.setPrototypeOf ||
7870
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7871
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7872
- return extendStatics(d, b);
7873
- };
7874
- return function (d, b) {
7875
- extendStatics(d, b);
7876
- function __() { this.constructor = d; }
7877
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7878
- };
7879
- })();
7880
- var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7881
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7882
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7883
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7884
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7885
- };
7909
+ var __extends$12 = (undefined && undefined.__extends) || (function () {
7910
+ var extendStatics = function (d, b) {
7911
+ extendStatics = Object.setPrototypeOf ||
7912
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7913
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7914
+ return extendStatics(d, b);
7915
+ };
7916
+ return function (d, b) {
7917
+ extendStatics(d, b);
7918
+ function __() { this.constructor = d; }
7919
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7920
+ };
7921
+ })();
7922
+ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7923
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7924
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7925
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7926
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7927
+ };
7886
7928
  /**
7887
7929
  * Configures splitter position and splitter bar.
7888
7930
  */
@@ -7909,25 +7951,25 @@ var SplitterSettings = /** @__PURE__ @class */ (function (_super) {
7909
7951
  return SplitterSettings;
7910
7952
  }(ChildProperty));
7911
7953
 
7912
- var __extends$13 = (undefined && undefined.__extends) || (function () {
7913
- var extendStatics = function (d, b) {
7914
- extendStatics = Object.setPrototypeOf ||
7915
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7916
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7917
- return extendStatics(d, b);
7918
- };
7919
- return function (d, b) {
7920
- extendStatics(d, b);
7921
- function __() { this.constructor = d; }
7922
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7923
- };
7924
- })();
7925
- var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7926
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7927
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7928
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7929
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7930
- };
7954
+ var __extends$13 = (undefined && undefined.__extends) || (function () {
7955
+ var extendStatics = function (d, b) {
7956
+ extendStatics = Object.setPrototypeOf ||
7957
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
7958
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7959
+ return extendStatics(d, b);
7960
+ };
7961
+ return function (d, b) {
7962
+ extendStatics(d, b);
7963
+ function __() { this.constructor = d; }
7964
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
7965
+ };
7966
+ })();
7967
+ var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
7968
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7969
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7970
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7971
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7972
+ };
7931
7973
  /**
7932
7974
  * Defines mapping property to get task details from data source.
7933
7975
  */
@@ -8008,25 +8050,25 @@ var TaskFields = /** @__PURE__ @class */ (function (_super) {
8008
8050
  return TaskFields;
8009
8051
  }(ChildProperty));
8010
8052
 
8011
- var __extends$14 = (undefined && undefined.__extends) || (function () {
8012
- var extendStatics = function (d, b) {
8013
- extendStatics = Object.setPrototypeOf ||
8014
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8015
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8016
- return extendStatics(d, b);
8017
- };
8018
- return function (d, b) {
8019
- extendStatics(d, b);
8020
- function __() { this.constructor = d; }
8021
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8022
- };
8023
- })();
8024
- var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8025
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8026
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8027
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8028
- return c > 3 && r && Object.defineProperty(target, key, r), r;
8029
- };
8053
+ var __extends$14 = (undefined && undefined.__extends) || (function () {
8054
+ var extendStatics = function (d, b) {
8055
+ extendStatics = Object.setPrototypeOf ||
8056
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8057
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8058
+ return extendStatics(d, b);
8059
+ };
8060
+ return function (d, b) {
8061
+ extendStatics(d, b);
8062
+ function __() { this.constructor = d; }
8063
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8064
+ };
8065
+ })();
8066
+ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8067
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8068
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8069
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8070
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8071
+ };
8030
8072
  /**
8031
8073
  * Configures timeline settings of Gantt.
8032
8074
  */
@@ -8084,25 +8126,25 @@ var TimelineSettings = /** @__PURE__ @class */ (function (_super) {
8084
8126
  return TimelineSettings;
8085
8127
  }(ChildProperty));
8086
8128
 
8087
- var __extends$15 = (undefined && undefined.__extends) || (function () {
8088
- var extendStatics = function (d, b) {
8089
- extendStatics = Object.setPrototypeOf ||
8090
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8091
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8092
- return extendStatics(d, b);
8093
- };
8094
- return function (d, b) {
8095
- extendStatics(d, b);
8096
- function __() { this.constructor = d; }
8097
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8098
- };
8099
- })();
8100
- var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8101
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8102
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8103
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8104
- return c > 3 && r && Object.defineProperty(target, key, r), r;
8105
- };
8129
+ var __extends$15 = (undefined && undefined.__extends) || (function () {
8130
+ var extendStatics = function (d, b) {
8131
+ extendStatics = Object.setPrototypeOf ||
8132
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8133
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8134
+ return extendStatics(d, b);
8135
+ };
8136
+ return function (d, b) {
8137
+ extendStatics(d, b);
8138
+ function __() { this.constructor = d; }
8139
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8140
+ };
8141
+ })();
8142
+ var __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8143
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8144
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8145
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8146
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8147
+ };
8106
8148
  /**
8107
8149
  * Configures tooltip settings for Gantt.
8108
8150
  */
@@ -8129,25 +8171,25 @@ var TooltipSettings = /** @__PURE__ @class */ (function (_super) {
8129
8171
  return TooltipSettings;
8130
8172
  }(ChildProperty));
8131
8173
 
8132
- var __extends$16 = (undefined && undefined.__extends) || (function () {
8133
- var extendStatics = function (d, b) {
8134
- extendStatics = Object.setPrototypeOf ||
8135
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8136
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8137
- return extendStatics(d, b);
8138
- };
8139
- return function (d, b) {
8140
- extendStatics(d, b);
8141
- function __() { this.constructor = d; }
8142
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8143
- };
8144
- })();
8145
- var __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8146
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8147
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8148
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8149
- return c > 3 && r && Object.defineProperty(target, key, r), r;
8150
- };
8174
+ var __extends$16 = (undefined && undefined.__extends) || (function () {
8175
+ var extendStatics = function (d, b) {
8176
+ extendStatics = Object.setPrototypeOf ||
8177
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8178
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8179
+ return extendStatics(d, b);
8180
+ };
8181
+ return function (d, b) {
8182
+ extendStatics(d, b);
8183
+ function __() { this.constructor = d; }
8184
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8185
+ };
8186
+ })();
8187
+ var __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8188
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8189
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8190
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8191
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8192
+ };
8151
8193
  /**
8152
8194
  * Represents the field name and direction of sort column.
8153
8195
  */
@@ -8181,25 +8223,25 @@ var SortSettings = /** @__PURE__ @class */ (function (_super) {
8181
8223
  return SortSettings;
8182
8224
  }(ChildProperty));
8183
8225
 
8184
- var __extends$17 = (undefined && undefined.__extends) || (function () {
8185
- var extendStatics = function (d, b) {
8186
- extendStatics = Object.setPrototypeOf ||
8187
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8188
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8189
- return extendStatics(d, b);
8190
- };
8191
- return function (d, b) {
8192
- extendStatics(d, b);
8193
- function __() { this.constructor = d; }
8194
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8195
- };
8196
- })();
8197
- var __decorate$16 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8198
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8199
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8200
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8201
- return c > 3 && r && Object.defineProperty(target, key, r), r;
8202
- };
8226
+ var __extends$17 = (undefined && undefined.__extends) || (function () {
8227
+ var extendStatics = function (d, b) {
8228
+ extendStatics = Object.setPrototypeOf ||
8229
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8230
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8231
+ return extendStatics(d, b);
8232
+ };
8233
+ return function (d, b) {
8234
+ extendStatics(d, b);
8235
+ function __() { this.constructor = d; }
8236
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8237
+ };
8238
+ })();
8239
+ var __decorate$16 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8240
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8241
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8242
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8243
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8244
+ };
8203
8245
  /**
8204
8246
  * Defines mapping property to get resource details from resource collection.
8205
8247
  */
@@ -8227,19 +8269,19 @@ var ResourceFields = /** @__PURE__ @class */ (function (_super) {
8227
8269
  * Export all generated models for complex settings
8228
8270
  */
8229
8271
 
8230
- var __extends$18 = (undefined && undefined.__extends) || (function () {
8231
- var extendStatics = function (d, b) {
8232
- extendStatics = Object.setPrototypeOf ||
8233
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8234
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8235
- return extendStatics(d, b);
8236
- };
8237
- return function (d, b) {
8238
- extendStatics(d, b);
8239
- function __() { this.constructor = d; }
8240
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8241
- };
8242
- })();
8272
+ var __extends$18 = (undefined && undefined.__extends) || (function () {
8273
+ var extendStatics = function (d, b) {
8274
+ extendStatics = Object.setPrototypeOf ||
8275
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8276
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8277
+ return extendStatics(d, b);
8278
+ };
8279
+ return function (d, b) {
8280
+ extendStatics(d, b);
8281
+ function __() { this.constructor = d; }
8282
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8283
+ };
8284
+ })();
8243
8285
  /**
8244
8286
  * To render the chart rows in Gantt
8245
8287
  */
@@ -8251,7 +8293,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8251
8293
  _this.milestoneHeight = 0;
8252
8294
  _this.milesStoneRadius = 0;
8253
8295
  _this.baselineTop = 0;
8254
- _this.baselineHeight = 3;
8296
+ _this.baselineHeight = 8;
8255
8297
  _this.touchLeftConnectorpoint = '';
8256
8298
  _this.touchRightConnectorpoint = '';
8257
8299
  _this.dropSplit = false;
@@ -8334,7 +8376,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8334
8376
  * @private
8335
8377
  */
8336
8378
  ChartRows.prototype.getIndicatorNode = function (indicator) {
8337
- var templateString = '<label class="' + label + ' ' + taskIndicatorDiv + '" style="line-height:'
8379
+ var templateString = '<label class="' + label + ' ' + taskIndicatorDiv + '" role="LabelIndicator" style="line-height:'
8338
8380
  + (this.parent.rowHeight) + 'px;' +
8339
8381
  'left:' + this.getIndicatorleft(indicator.date) + 'px;"><i class="' + indicator.iconClass + '"></i> </label>';
8340
8382
  return this.createDivElement(templateString);
@@ -8407,9 +8449,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8407
8449
  }
8408
8450
  else {
8409
8451
  taskLabel$$1 = '<span class="' + taskLabel + '" style="line-height:' +
8410
- (this.taskBarHeight - 1) + 'px; text-align:' + (this.parent.viewType === 'ResourceView' ? 'left;' : ';') +
8411
- 'display:' + (this.parent.viewType === 'ResourceView' ? 'inline-flex;' : ';') +
8412
- 'width:' + (this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : '') + 'px; height:' +
8452
+ (this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'text-align: left;' : '') +
8453
+ +(this.parent.viewType === 'ResourceView' ? 'display:inline-flex;' : '') +
8454
+ +(this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : '') + 'px; height:' +
8413
8455
  this.taskBarHeight + 'px;">' + labelString + '</span>';
8414
8456
  }
8415
8457
  }
@@ -8826,7 +8868,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8826
8868
  */
8827
8869
  ChartRows.prototype.getTaskBaselineNode = function () {
8828
8870
  var data = this.templateData;
8829
- var template = '<div class="' + baselineBar + ' ' + '" style="margin-top:' + this.baselineTop +
8871
+ var template = '<div class="' + baselineBar + ' ' + '" role="BaselineBar" style="margin-top:' + this.baselineTop +
8830
8872
  'px;left:' + data.ganttProperties.baselineLeft + 'px;' +
8831
8873
  'width:' + data.ganttProperties.baselineWidth + 'px;height:' +
8832
8874
  this.baselineHeight + 'px;' + (this.baselineColor ? 'background-color: ' + this.baselineColor + ';' : '') + '"></div>';
@@ -8840,9 +8882,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8840
8882
  */
8841
8883
  ChartRows.prototype.getMilestoneBaselineNode = function () {
8842
8884
  var data = this.templateData;
8885
+ var baselineMilestoneHeight = this.parent.renderBaseline ? 5 : 2;
8843
8886
  var template = '<div class="' + baselineMilestoneContainer + ' ' + '" style="' +
8844
8887
  'left:' + (data.ganttProperties.baselineLeft - this.milesStoneRadius) + 'px;' +
8845
- 'margin-top:' + (-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) + 2) +
8888
+ 'margin-top:' + (-Math.floor(this.parent.rowHeight - this.milestoneMarginTop) + baselineMilestoneHeight) +
8846
8889
  'px">' + '<div class="' + baselineMilestoneDiv + '">' + '<div class="' + baselineMilestoneDiv +
8847
8890
  ' ' + baselineMilestoneTop + '" ' +
8848
8891
  'style="top:' + (-this.milestoneHeight) + 'px;border-right:' + this.milesStoneRadius +
@@ -8870,7 +8913,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8870
8913
  */
8871
8914
  ChartRows.prototype.getLeftLabelNode = function (i) {
8872
8915
  var leftLabelNode = this.leftLabelContainer();
8873
- leftLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('left'));
8916
+ if (this.generateTaskLabelAriaLabel('left') !== "") {
8917
+ leftLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('left'));
8918
+ }
8874
8919
  var leftLabelTemplateNode = null;
8875
8920
  if (this.leftTaskLabelTemplateFunction) {
8876
8921
  leftLabelTemplateNode = this.leftTaskLabelTemplateFunction(extend({ index: i }, this.templateData), this.parent, 'LeftLabelTemplate', this.getTemplateID('LeftLabelTemplate'), false, undefined, leftLabelNode[0], this.parent.treeGrid['root']);
@@ -8892,9 +8937,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8892
8937
  return leftLabelNode;
8893
8938
  };
8894
8939
  ChartRows.prototype.getLableText = function (labelString, labelDiv) {
8940
+ var leftLabelHeight = this.parent.renderBaseline ? ((this.parent.rowHeight - this.taskBarHeight) / 2) : this.taskBarMarginTop;
8895
8941
  var templateString = createElement('div', {
8896
8942
  className: labelDiv, styles: 'height:' + (this.taskBarHeight) + 'px;' +
8897
- 'margin-top:' + this.taskBarMarginTop + 'px;'
8943
+ 'margin-top:' + leftLabelHeight + 'px;'
8898
8944
  });
8899
8945
  var spanElem = createElement('span', { className: label });
8900
8946
  var property = this.parent.disableHtmlEncode ? 'textContent' : 'innerHTML';
@@ -8913,7 +8959,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8913
8959
  */
8914
8960
  ChartRows.prototype.getRightLabelNode = function (i) {
8915
8961
  var rightLabelNode = this.rightLabelContainer();
8916
- rightLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('right'));
8962
+ if (this.generateTaskLabelAriaLabel('right') !== "") {
8963
+ rightLabelNode[0].setAttribute('aria-label', this.generateTaskLabelAriaLabel('right'));
8964
+ }
8917
8965
  var rightLabelTemplateNode = null;
8918
8966
  if (this.rightTaskLabelTemplateFunction) {
8919
8967
  rightLabelTemplateNode = this.rightTaskLabelTemplateFunction(extend({ index: i }, this.templateData), this.parent, 'RightLabelTemplate', this.getTemplateID('RightLabelTemplate'), false, undefined, rightLabelNode[0], this.parent.treeGrid['root']);
@@ -9026,8 +9074,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9026
9074
  else {
9027
9075
  labelDiv = this.createDivElement('<span class="' +
9028
9076
  taskLabel + '" style="line-height:' +
9029
- (this.taskBarHeight - 1) + 'px; display:' + (this.parent.viewType === 'ResourceView' ? 'inline-flex;' : ';') + 'width:' +
9030
- (this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : ';') + 'px; height:' +
9077
+ (this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'display:inline-flex;' : '') +
9078
+ (this.parent.viewType === 'ResourceView' ? 'width:' + (data.ganttProperties.width - 10) : '') + 'px; height:' +
9079
+ (this.taskBarHeight - 1) + 'px;' + (this.parent.viewType === 'ResourceView' ? 'display: inline-flex;' : '') +
9080
+ (this.parent.viewType === 'ResourceView' ? 'width:' + (data.ganttProperties.width - 10) : '') + 'px; height:' +
9031
9081
  this.taskBarHeight + 'px;">' + labelString + '</span>');
9032
9082
  }
9033
9083
  progressBarInnerDiv[0].appendChild([].slice.call(labelDiv)[0]);
@@ -9056,10 +9106,10 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9056
9106
  var className = (this.parent.gridLines === 'Horizontal' || this.parent.gridLines === 'Both') ?
9057
9107
  'e-chart-row-border' : '';
9058
9108
  table.innerHTML = '<tr class="' + this.getRowClassName(this.templateData) + ' ' + chartRow + '"' +
9059
- 'style="display:' + this.getExpandDisplayProp(this.templateData) + ';height:' +
9109
+ 'role="ChartRow" style="display:' + this.getExpandDisplayProp(this.templateData) + ';height:' +
9060
9110
  this.parent.rowHeight + 'px;">' +
9061
9111
  '<td class="' + chartRowCell + ' ' + className
9062
- + '" style="width:' + this.parent.timelineModule.totalTimelineWidth + 'px;"></td></tr>';
9112
+ + '" role="ChartCell" style="width:' + this.parent.timelineModule.totalTimelineWidth + 'px;"></td></tr>';
9063
9113
  return table.childNodes;
9064
9114
  };
9065
9115
  /**
@@ -9124,7 +9174,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9124
9174
  };
9125
9175
  ChartRows.prototype.leftLabelContainer = function () {
9126
9176
  var template = '<div class="' + ((this.leftTaskLabelTemplateFunction) ? leftLabelTempContainer :
9127
- leftLabelContainer) + ' ' + '" tabindex="-1" style="height:' +
9177
+ leftLabelContainer) + ' ' + '" tabindex="-1" role="LeftLabel" style="height:' +
9128
9178
  (this.parent.rowHeight - 2) + 'px;width:' + this.taskNameWidth(this.templateData) + '"></div>';
9129
9179
  return this.createDivElement(template);
9130
9180
  };
@@ -9136,7 +9186,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9136
9186
  var template = '<div class="' + taskBarMainContainer + ' ' +
9137
9187
  this.parent.getUnscheduledTaskClass(data.ganttProperties) + ' ' +
9138
9188
  ((data.ganttProperties.cssClass) ? data.ganttProperties.cssClass : '') + '" ' +
9139
- ' tabindex="-1" style="' + ((data.ganttProperties.isMilestone && !manualParent) ?
9189
+ ' tabindex="-1" role="TaskBar" style="' + ((data.ganttProperties.isMilestone && !manualParent) ?
9140
9190
  ('width:' + this.milestoneHeight + 'px;height:' +
9141
9191
  this.milestoneHeight + 'px;margin-top:' + this.milestoneMarginTop + 'px;left:' + (data.ganttProperties.left -
9142
9192
  (this.milestoneHeight / 2)) + 'px;') : ('width:' + data.ganttProperties.width +
@@ -9147,26 +9197,26 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9147
9197
  };
9148
9198
  ChartRows.prototype.rightLabelContainer = function () {
9149
9199
  var template = '<div class="' + ((this.rightTaskLabelTemplateFunction) ? rightLabelTempContainer :
9150
- rightLabelContainer) + '" ' + ' tabindex="-1" style="left:' + this.getRightLabelLeft(this.templateData) + 'px;height:'
9200
+ rightLabelContainer) + '" ' + ' tabindex="-1" role="RightLabel" style="left:' + this.getRightLabelLeft(this.templateData) + 'px; height:'
9151
9201
  + (this.parent.rowHeight - 2) + 'px;"></div>';
9152
9202
  return this.createDivElement(template);
9153
9203
  };
9154
9204
  ChartRows.prototype.childTaskbarLeftResizer = function () {
9155
9205
  var lResizerLeft = -(this.parent.isAdaptive ? 12 : 2);
9156
9206
  var template = '<div class="' + taskBarLeftResizer + ' ' + icon + '"' +
9157
- ' style="left:' + lResizerLeft + 'px;height:' + (this.taskBarHeight) + 'px;"></div>';
9207
+ ' role="LeftResizer" style="left:' + lResizerLeft + 'px;height:' + (this.taskBarHeight) + 'px;"></div>';
9158
9208
  return this.createDivElement(template);
9159
9209
  };
9160
9210
  ChartRows.prototype.childTaskbarRightResizer = function () {
9161
9211
  var rResizerLeft = this.parent.isAdaptive ? -2 : -10;
9162
9212
  var template = '<div class="' + taskBarRightResizer + ' ' + icon + '"' +
9163
- ' style="left:' + (this.templateData.ganttProperties.width + rResizerLeft) + 'px;' +
9213
+ ' role="RightResizer" style="left:' + (this.templateData.ganttProperties.width + rResizerLeft) + 'px;' +
9164
9214
  'height:' + (this.taskBarHeight) + 'px;"></div>';
9165
9215
  return this.createDivElement(template);
9166
9216
  };
9167
9217
  ChartRows.prototype.childTaskbarProgressResizer = function () {
9168
9218
  var template = '<div class="' + childProgressResizer + '"' +
9169
- ' style="left:' + (this.templateData.ganttProperties.progressWidth - 6) + 'px;margin-top:' +
9219
+ ' role="ProgressResizer" style="left:' + (this.templateData.ganttProperties.progressWidth - 6) + 'px;margin-top:' +
9170
9220
  (this.taskBarHeight - 4) + 'px;"><div class="' + progressBarHandler + '"' +
9171
9221
  '><div class="' + progressHandlerElement + '"></div>' +
9172
9222
  '<div class="' + progressBarHandlerAfter + '"></div></div>';
@@ -9364,10 +9414,13 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9364
9414
  * @private
9365
9415
  */
9366
9416
  ChartRows.prototype.initChartHelperPrivateVariable = function () {
9417
+ var taskbarHeightValue = this.parent.renderBaseline ? 0.45 : 0.62;
9418
+ var taskBarMarginTopValue = this.parent.renderBaseline ? 4 : 2;
9419
+ var milestoneHeightValue = this.parent.renderBaseline ? 1.13 : 0.82;
9367
9420
  this.baselineColor = !isNullOrUndefined(this.parent.baselineColor) &&
9368
9421
  this.parent.baselineColor !== '' ? this.parent.baselineColor : null;
9369
9422
  this.taskBarHeight = isNullOrUndefined(this.parent.taskbarHeight) || this.parent.taskbarHeight >= this.parent.rowHeight ?
9370
- Math.floor(this.parent.rowHeight * 0.62) : this.parent.taskbarHeight; // 0.62 -- Standard Ratio.
9423
+ Math.floor(this.parent.rowHeight * taskbarHeightValue) : this.parent.taskbarHeight; // 0.62 -- Standard Ratio.
9371
9424
  if (this.parent.renderBaseline) {
9372
9425
  var height = void 0;
9373
9426
  if ((this.taskBarHeight + this.baselineHeight) <= this.parent.rowHeight) {
@@ -9378,11 +9431,11 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9378
9431
  }
9379
9432
  this.taskBarHeight = height;
9380
9433
  }
9381
- this.milestoneHeight = Math.floor(this.taskBarHeight * 0.82); // 0.82 -- Standard Ratio.
9382
- this.taskBarMarginTop = Math.floor((this.parent.rowHeight - this.taskBarHeight) / 2);
9434
+ this.milestoneHeight = Math.floor(this.taskBarHeight * milestoneHeightValue); // 0.82 -- Standard Ratio.
9435
+ this.taskBarMarginTop = Math.floor((this.parent.rowHeight - this.taskBarHeight) / taskBarMarginTopValue);
9383
9436
  this.milestoneMarginTop = Math.floor((this.parent.rowHeight - this.milestoneHeight) / 2);
9384
9437
  this.milesStoneRadius = Math.floor((this.milestoneHeight) / 2);
9385
- this.baselineTop = -(Math.floor((this.parent.rowHeight - (this.taskBarHeight + this.taskBarMarginTop))) - 1);
9438
+ this.baselineTop = -(Math.floor((this.parent.rowHeight - (this.taskBarHeight + this.taskBarMarginTop))) - 4);
9386
9439
  this.connectorPointWidth = this.parent.isAdaptive ? Math.round(this.taskBarHeight / 2) : 8;
9387
9440
  this.connectorPointMargin = Math.floor((this.taskBarHeight / 2) - (this.connectorPointWidth / 2));
9388
9441
  };
@@ -9576,6 +9629,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
9576
9629
  var indicators = this.templateData.ganttProperties.indicators;
9577
9630
  for (var indicatorIndex = 0; indicatorIndex < indicators.length; indicatorIndex++) {
9578
9631
  taskIndicatorNode = this.getIndicatorNode(indicators[indicatorIndex]);
9632
+ taskIndicatorNode[0].setAttribute('aria-label', indicators[indicatorIndex].name);
9579
9633
  if (indicators[indicatorIndex].name.indexOf('$') > -1 || indicators[indicatorIndex].name.indexOf('#') > -1) {
9580
9634
  taskIndicatorTextFunction = this.templateCompiler(indicators[indicatorIndex].name);
9581
9635
  taskIndicatorTextNode = taskIndicatorTextFunction(extend({ index: i }, this.templateData), this.parent, 'indicatorLabelText');
@@ -10800,7 +10854,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
10800
10854
  for (var i = 0; i < childNodes.length; i++) {
10801
10855
  var innerChild = childNodes[i].childNodes;
10802
10856
  for (var j = 0; j < innerChild.length; j++) {
10803
- var ariaString = this.parent.connectorLineModule.generateAriaLabel(ariaConnector[i]);
10857
+ var ariaString = 'Connector Line ' + this.parent.connectorLineModule.generateAriaLabel(ariaConnector[i]);
10804
10858
  innerChild[j].setAttribute('aria-label', ariaString);
10805
10859
  }
10806
10860
  }
@@ -11057,7 +11111,11 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11057
11111
  var connectorContainer = '';
11058
11112
  var isVirtual = this.parent.virtualScrollModule && this.parent.enableVirtualization;
11059
11113
  var connectorLine$$1 = this.getPosition(data, this.getParentPosition(data), height);
11060
- var heightValue = isVirtual ? connectorLine$$1.height : height;
11114
+ var isMilestoneValue = 0;
11115
+ if (this.parent.renderBaseline) {
11116
+ isMilestoneValue = (data.milestoneParent && data.milestoneChild) ? 0 : data.milestoneParent ? -5 : data.milestoneChild ? 5 : 0;
11117
+ }
11118
+ var heightValue = isVirtual ? connectorLine$$1.height : (height + isMilestoneValue);
11061
11119
  if (this.getParentPosition(data)) {
11062
11120
  connectorContainer = '<div id="ConnectorLine' + data.connectorLineId + '" style="background-color:black">';
11063
11121
  var div = '<div class="' + connectorLineContainer +
@@ -11085,7 +11143,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11085
11143
  this.getBorderStyles('top', this.lineStroke) + 'position:relative;"></div>';
11086
11144
  if (this.getParentPosition(data) === 'FSType1') {
11087
11145
  div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11088
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11146
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11089
11147
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType1">';
11090
11148
  div = div + eLine;
11091
11149
  div = div + 'left:' + (isMilestoneParent ? -1 : 0) + 'px;width:' + (isMilestoneParent ?
@@ -11106,7 +11164,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11106
11164
  }
11107
11165
  if (this.getParentPosition(data) === 'FSType2') {
11108
11166
  div = div + 'left:' + data.parentLeft + 'px;top:' + (isVirtual ? connectorLine$$1.top : ((data.parentIndex * data.rowHeight) +
11109
- this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11167
+ this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11110
11168
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType2">';
11111
11169
  div = div + eLine;
11112
11170
  div = div + 'left:' + (isMilestoneParent ? data.parentWidth - 1 : data.parentWidth) + 'px;width:' +
@@ -11137,7 +11195,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11137
11195
  }
11138
11196
  if (this.getParentPosition(data) === 'FSType3') {
11139
11197
  div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11140
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11198
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11141
11199
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType3">';
11142
11200
  div = div + rightArrow;
11143
11201
  div = div + 'left:10px;' + this.getBorderStyles('left', 10) +
@@ -11167,7 +11225,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11167
11225
  }
11168
11226
  if (this.getParentPosition(data) === 'FSType4') {
11169
11227
  div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11170
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11228
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11171
11229
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FSType4">';
11172
11230
  div = div + rightArrow;
11173
11231
  div = div + 'left:' + (data.childLeft - (data.parentLeft + data.parentWidth + 10)) + 'px;' +
@@ -11193,7 +11251,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11193
11251
  }
11194
11252
  if (this.getParentPosition(data) === 'SSType4') {
11195
11253
  div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11196
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11254
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11197
11255
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType4">';
11198
11256
  div = div + rightArrow;
11199
11257
  div = div + 'left:' + (data.childLeft - data.parentLeft) + 'px;' + duplicateStingTwo;
@@ -11206,7 +11264,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11206
11264
  }
11207
11265
  if (this.getParentPosition(data) === 'SSType3') {
11208
11266
  div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11209
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11267
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11210
11268
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType3">';
11211
11269
  div = div + rightArrow;
11212
11270
  div = div + 'left:10px;' + duplicateStingTwo;
@@ -11219,7 +11277,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11219
11277
  }
11220
11278
  if (this.getParentPosition(data) === 'SSType2') {
11221
11279
  div = div + 'left:' + setInnerElementLeftSSType2 + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11222
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11280
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11223
11281
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType2">';
11224
11282
  div = div + eLine;
11225
11283
  div = div + 'width:' + (setInnerChildWidthSSType2 + 1) + 'px;' +
@@ -11240,7 +11298,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11240
11298
  if (this.getParentPosition(data) === 'SSType1') {
11241
11299
  div = div + 'left:' + (data.childLeft - 20) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11242
11300
  ((data.parentIndex * data.rowHeight) +
11243
- this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11301
+ this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11244
11302
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SSType1">';
11245
11303
  div = div + eLine;
11246
11304
  div = div + 'width:' + (data.parentLeft - data.childLeft + 21) + 'px;' +
@@ -11257,7 +11315,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11257
11315
  }
11258
11316
  if (this.getParentPosition(data) === 'FFType1') {
11259
11317
  div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11260
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11318
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11261
11319
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType1">';
11262
11320
  div = div + eLine;
11263
11321
  div = div + 'left:' + (isMilestoneParent ? (((data.parentLeft + data.parentWidth) -
@@ -11281,7 +11339,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11281
11339
  }
11282
11340
  if (this.getParentPosition(data) === 'FFType2') {
11283
11341
  div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11284
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11342
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11285
11343
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType2">';
11286
11344
  div = div + eLine;
11287
11345
  div = div + (isMilestoneParent ? 'left:-1px;' : '') + 'width:' +
@@ -11307,7 +11365,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11307
11365
  }
11308
11366
  if (this.getParentPosition(data) === 'FFType3') {
11309
11367
  div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11310
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11368
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11311
11369
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType3">';
11312
11370
  div = div + duplicateStingOne;
11313
11371
  div = div + eLine;
@@ -11330,7 +11388,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11330
11388
  }
11331
11389
  if (this.getParentPosition(data) === 'FFType4') {
11332
11390
  div = div + 'left:' + (data.parentLeft + data.parentWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11333
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11391
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11334
11392
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="FFType4">';
11335
11393
  div = div + leftArrow;
11336
11394
  div = div + ('left:' + ((data.childLeft + data.childWidth) -
@@ -11359,7 +11417,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11359
11417
  }
11360
11418
  if (this.getParentPosition(data) === 'SFType4') {
11361
11419
  div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11362
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;width:1px;' +
11420
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;width:1px;' +
11363
11421
  'height:' + heightValue + 'px;position:absolute" data-connectortype="SFType4">';
11364
11422
  div = div + duplicateStingFour + 'top:' + (-5 - this.lineStroke + (this.lineStroke - 1)) + 'px;' +
11365
11423
  'border-bottom-width:' + (5 + this.lineStroke) +
@@ -11387,7 +11445,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11387
11445
  }
11388
11446
  if (this.getParentPosition(data) === 'SFType3') {
11389
11447
  div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11390
- ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11448
+ ((data.childIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11391
11449
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType3">';
11392
11450
  div = div + duplicateStingOne;
11393
11451
  div = div + eLine;
@@ -11405,7 +11463,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11405
11463
  }
11406
11464
  if (this.getParentPosition(data) === 'SFType1') {
11407
11465
  div = div + 'left:' + (data.parentLeft - 10) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11408
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1))) + 'px;' +
11466
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestone) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11409
11467
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType1">';
11410
11468
  div = div + eLine;
11411
11469
  div = div + 'width:11px;' + this.getBorderStyles('top', this.lineStroke) + 'position:relative;"></div>';
@@ -11430,7 +11488,7 @@ var ConnectorLine = /** @__PURE__ @class */ (function () {
11430
11488
  }
11431
11489
  if (this.getParentPosition(data) === 'SFType2') {
11432
11490
  div = div + 'left:' + (data.childLeft + data.childWidth) + 'px;top:' + (isVirtual ? connectorLine$$1.top :
11433
- ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1))) + 'px;' +
11491
+ ((data.parentIndex * data.rowHeight) + this.getTaskbarMidpoint(isMilestoneParent) - (this.lineStroke - 1) - isMilestoneValue)) + 'px;' +
11434
11492
  'width:1px;height:' + heightValue + 'px;position:absolute" data-connectortype="SFType2">';
11435
11493
  div = div + eLine;
11436
11494
  div = div + 'left:' + (((data.parentLeft) - (data.childLeft + data.childWidth)) - 10) +
@@ -11674,6 +11732,7 @@ var Splitter$1 = /** @__PURE__ @class */ (function () {
11674
11732
  _this.splitterObject.paneSettings[1].size = null;
11675
11733
  _this.splitterObject.paneSettings[1].size = _this.getSpliterPositionInPercentage(_this.splitterPreviousPositionChart);
11676
11734
  }
11735
+ _this.parent.timelineModule.updateTimelineAfterZooming(_this.parent.timelineModule.timelineEndDate, true);
11677
11736
  callBackPromise.resolve(splitterResizedArgs);
11678
11737
  });
11679
11738
  return callBackPromise;
@@ -11930,6 +11989,7 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
11930
11989
  args.cancel = true;
11931
11990
  }
11932
11991
  });
11992
+ this.toolTipObj.content = argsData.content;
11933
11993
  if (!this.parent.isAdaptive && args.event.type === 'mouseover') {
11934
11994
  this.currentTarget = args.target;
11935
11995
  EventHandler.add(this.currentTarget, 'mousemove', this.mouseMoveHandler.bind(this));
@@ -11956,6 +12016,7 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
11956
12016
  * @returns {void} .
11957
12017
  */
11958
12018
  Tooltip$$1.prototype.updateTooltipPosition = function (args) {
12019
+ args.element.style.visibility = 'visible';
11959
12020
  if (isNullOrUndefined(this.tooltipMouseEvent) || args.target.classList.contains('e-notes-info')) {
11960
12021
  return;
11961
12022
  }
@@ -11985,7 +12046,6 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
11985
12046
  tooltipPositionY = tooltipPositionY + 10;
11986
12047
  }
11987
12048
  args.element.style.top = tooltipPositionY + 'px';
11988
- args.element.style.visibility = 'visible';
11989
12049
  };
11990
12050
  /**
11991
12051
  * Method to get mouse pointor position
@@ -12027,9 +12087,16 @@ var Tooltip$1 = /** @__PURE__ @class */ (function () {
12027
12087
  switch (elementType) {
12028
12088
  case 'milestone':
12029
12089
  {
12030
- var sDate = !isNullOrUndefined(data.startDate) ? '<tr><td class = "e-gantt-tooltip-label"> Date</td><td>:</td>' +
12090
+ var milestoneStartDate = void 0;
12091
+ if (args.target.className.includes('e-baseline-gantt-milestone') && !isNullOrUndefined(data.baselineStartDate)) {
12092
+ milestoneStartDate = data.baselineStartDate;
12093
+ }
12094
+ else if (!isNullOrUndefined(data.startDate)) {
12095
+ milestoneStartDate = data.startDate;
12096
+ }
12097
+ var sDate = !isNullOrUndefined(milestoneStartDate) ? '<tr><td class = "e-gantt-tooltip-label"> Date</td><td>:</td>' +
12031
12098
  '<td class = "e-gantt-tooltip-value">' +
12032
- this.parent.getFormatedDate(data.startDate, this.parent.getDateFormat()) + '</td></tr>' : '';
12099
+ this.parent.getFormatedDate(milestoneStartDate, this.parent.getDateFormat()) + '</td></tr>' : '';
12033
12100
  content$$1 = '<table class = "e-gantt-tooltiptable"><tbody>' +
12034
12101
  taskName + sDate + '</tbody></table>';
12035
12102
  break;
@@ -12502,25 +12569,25 @@ var FocusModule = /** @__PURE__ @class */ (function () {
12502
12569
  return FocusModule;
12503
12570
  }());
12504
12571
 
12505
- var __extends = (undefined && undefined.__extends) || (function () {
12506
- var extendStatics = function (d, b) {
12507
- extendStatics = Object.setPrototypeOf ||
12508
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12509
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12510
- return extendStatics(d, b);
12511
- };
12512
- return function (d, b) {
12513
- extendStatics(d, b);
12514
- function __() { this.constructor = d; }
12515
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12516
- };
12517
- })();
12518
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12519
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12520
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12521
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12522
- return c > 3 && r && Object.defineProperty(target, key, r), r;
12523
- };
12572
+ var __extends = (undefined && undefined.__extends) || (function () {
12573
+ var extendStatics = function (d, b) {
12574
+ extendStatics = Object.setPrototypeOf ||
12575
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12576
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12577
+ return extendStatics(d, b);
12578
+ };
12579
+ return function (d, b) {
12580
+ extendStatics(d, b);
12581
+ function __() { this.constructor = d; }
12582
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12583
+ };
12584
+ })();
12585
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12586
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12587
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12588
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12589
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12590
+ };
12524
12591
  /**
12525
12592
  *
12526
12593
  * Represents the Gantt chart component.
@@ -13265,7 +13332,7 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
13265
13332
  gridHeight = 'calc(100% - ' + timelineContainer + 'px)';
13266
13333
  // eslint-disable-next-line
13267
13334
  this.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['style'].height = 'calc(100% - ' + timelineContainer + 'px)';
13268
- if (!isNullOrUndefined(this.toolbarModule)) {
13335
+ if (!isNullOrUndefined(this.toolbarModule) && !isNullOrUndefined(this.toolbarModule.element)) {
13269
13336
  this.splitterElement.style.height = 'calc(100% - ' + this.toolbarModule.element.offsetHeight + 'px)';
13270
13337
  }
13271
13338
  else {
@@ -13801,7 +13868,7 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
13801
13868
  */
13802
13869
  Gantt.prototype.updateGridLineContainerHeight = function () {
13803
13870
  if (this.chartVerticalLineContainer) {
13804
- this.chartVerticalLineContainer.style.height = formatUnit(this.getContentHeight());
13871
+ this.chartVerticalLineContainer.style.height = formatUnit(this.contentHeight);
13805
13872
  }
13806
13873
  };
13807
13874
  /**
@@ -15712,7 +15779,8 @@ var CellEdit = /** @__PURE__ @class */ (function () {
15712
15779
  args.cancel = true;
15713
15780
  return;
15714
15781
  }
15715
- if (data.hasChildRecords && (field === taskSettings.endDate || field === taskSettings.duration
15782
+ if (data.hasChildRecords && ((field === taskSettings.endDate && ((!isNullOrUndefined(data['isManual']) &&
15783
+ data['isManual'] == false) || this.parent.taskMode == 'Auto')) || field === taskSettings.duration
15716
15784
  || field === taskSettings.dependency || field === taskSettings.progress
15717
15785
  || field === taskSettings.work || field === 'taskType')) {
15718
15786
  args.cancel = true;
@@ -16440,30 +16508,30 @@ var EditTooltip = /** @__PURE__ @class */ (function () {
16440
16508
  return EditTooltip;
16441
16509
  }());
16442
16510
 
16443
- var __extends$19 = (undefined && undefined.__extends) || (function () {
16444
- var extendStatics = function (d, b) {
16445
- extendStatics = Object.setPrototypeOf ||
16446
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16447
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
16448
- return extendStatics(d, b);
16449
- };
16450
- return function (d, b) {
16451
- extendStatics(d, b);
16452
- function __() { this.constructor = d; }
16453
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16454
- };
16455
- })();
16456
- var __assign$1 = (undefined && undefined.__assign) || function () {
16457
- __assign$1 = Object.assign || function(t) {
16458
- for (var s, i = 1, n = arguments.length; i < n; i++) {
16459
- s = arguments[i];
16460
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
16461
- t[p] = s[p];
16462
- }
16463
- return t;
16464
- };
16465
- return __assign$1.apply(this, arguments);
16466
- };
16511
+ var __extends$19 = (undefined && undefined.__extends) || (function () {
16512
+ var extendStatics = function (d, b) {
16513
+ extendStatics = Object.setPrototypeOf ||
16514
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16515
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
16516
+ return extendStatics(d, b);
16517
+ };
16518
+ return function (d, b) {
16519
+ extendStatics(d, b);
16520
+ function __() { this.constructor = d; }
16521
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16522
+ };
16523
+ })();
16524
+ var __assign$1 = (undefined && undefined.__assign) || function () {
16525
+ __assign$1 = Object.assign || function(t) {
16526
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
16527
+ s = arguments[i];
16528
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
16529
+ t[p] = s[p];
16530
+ }
16531
+ return t;
16532
+ };
16533
+ return __assign$1.apply(this, arguments);
16534
+ };
16467
16535
  /**
16468
16536
  * File for handling taskbar editing operation in Gantt.
16469
16537
  */
@@ -19854,7 +19922,8 @@ var DialogEdit = /** @__PURE__ @class */ (function () {
19854
19922
  disabled = true;
19855
19923
  }
19856
19924
  if (this.editedRecord.hasChildRecords) {
19857
- if (column.field === this.parent.taskFields.endDate || column.field === this.parent.taskFields.duration ||
19925
+ if ((column.field === this.parent.taskFields.endDate && ((!isNullOrUndefined(this.editedRecord['isManual']) &&
19926
+ this.editedRecord['isManual'] == false) || this.parent.taskMode == 'Auto')) || column.field === this.parent.taskFields.duration ||
19858
19927
  column.field === this.parent.taskFields.progress || column.field === this.parent.taskFields.work ||
19859
19928
  column.field === 'taskType') {
19860
19929
  disabled = true;
@@ -23697,14 +23766,20 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
23697
23766
  }
23698
23767
  else {
23699
23768
  childIndex = parentItem.childRecords.length;
23700
- } /*Child collection update*/
23769
+ }
23770
+ /*Child collection update*/
23701
23771
  parentItem.childRecords.splice(childIndex, 0, record);
23702
23772
  if ((this.parent.dataSource instanceof DataManager &&
23703
23773
  isNullOrUndefined(parentItem.taskData[this.parent.taskFields.parentID])) ||
23704
23774
  !isNullOrUndefined(this.parent.dataSource)) {
23705
23775
  var child = this.parent.taskFields.child;
23706
23776
  if (parentItem.taskData[child] && parentItem.taskData[child].length > 0) {
23707
- parentItem.taskData[child].splice(childIndex, 0, record.taskData);
23777
+ if (rowPosition === 'Above' || rowPosition === 'Below') {
23778
+ parentItem.taskData[child].splice(childIndex, 0, record.taskData);
23779
+ }
23780
+ else {
23781
+ parentItem.taskData[child].push(record.taskData);
23782
+ }
23708
23783
  }
23709
23784
  else {
23710
23785
  parentItem.taskData[child] = [];
@@ -24165,6 +24240,9 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
24165
24240
  }
24166
24241
  this.addSuccess(args);
24167
24242
  args = this.constructTaskAddedEventArgs(cAddedRecord, args.modifiedRecords, 'add');
24243
+ if (this.dialogModule.isAddNewResource && !this.parent.isEdit && this.parent.taskFields.work) {
24244
+ this.parent.dataOperation.updateWorkWithDuration(cAddedRecord[0]);
24245
+ }
24168
24246
  this.parent.trigger('actionComplete', args);
24169
24247
  if (this.dialogModule.dialog && !this.dialogModule.dialogObj.isDestroyed) {
24170
24248
  this.dialogModule.dialogObj.hide();
@@ -26298,6 +26376,7 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
26298
26376
  this.nonworkingContainer = createElement('div', {
26299
26377
  className: nonworkingContainer
26300
26378
  });
26379
+ this.nonworkingContainer.setAttribute("role", "NonWorkingDays");
26301
26380
  this.parent.ganttChartModule.chartBodyContent.appendChild(this.nonworkingContainer);
26302
26381
  }
26303
26382
  };
@@ -26335,8 +26414,11 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
26335
26414
  var toDate;
26336
26415
  var container = createElement('div');
26337
26416
  var height = this.parent.contentHeight;
26338
- var scrollElement = this.parent.ganttChartModule.scrollElement;
26339
- var viewportHeight = parseInt(scrollElement.style.height, 10);
26417
+ var toolbarHeight = 0;
26418
+ if (!isNullOrUndefined(this.parent.toolbarModule)) {
26419
+ toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
26420
+ }
26421
+ var viewportHeight = this.parent.ganttHeight - toolbarHeight - this.parent.ganttChartModule.chartTimelineContainer.offsetHeight;
26340
26422
  for (var i = 0; i < this.parent.holidays.length; i++) {
26341
26423
  if (this.parent.holidays[i].from && this.parent.holidays[i].to) {
26342
26424
  fromDate = this.parent.dateValidationModule.getDateFromFormat(this.parent.holidays[i].from);
@@ -26429,9 +26511,12 @@ var NonWorkingDay = /** @__PURE__ @class */ (function () {
26429
26511
  return container;
26430
26512
  };
26431
26513
  NonWorkingDay.prototype.updateHolidayLabelHeight = function () {
26432
- var height = this.parent.contentHeight;
26433
- var scrollElement = this.parent.ganttChartModule.scrollElement;
26434
- var viewportHeight = parseInt(scrollElement.style.height, 10);
26514
+ var height = this.parent.getContentHeight();
26515
+ var toolbarHeight = 0;
26516
+ if (!isNullOrUndefined(this.parent.toolbarModule) && !isNullOrUndefined(this.parent.toolbarModule.element)) {
26517
+ toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
26518
+ }
26519
+ var viewportHeight = this.parent.ganttHeight - toolbarHeight - this.parent.ganttChartModule.chartTimelineContainer.offsetHeight;
26435
26520
  var top = (viewportHeight < height) ? viewportHeight / 2 : height / 2;
26436
26521
  var labels = this.holidayContainer.querySelectorAll('.' + holidayLabel);
26437
26522
  for (var i = 0; i < labels.length; i++) {
@@ -26488,6 +26573,7 @@ var EventMarker$1 = /** @__PURE__ @class */ (function () {
26488
26573
  this.eventMarkersContainer = createElement('div', {
26489
26574
  className: eventMarkersContainer
26490
26575
  });
26576
+ this.eventMarkersContainer.setAttribute("role", "EventMarker");
26491
26577
  this.parent.ganttChartModule.chartBodyContent.appendChild(this.eventMarkersContainer);
26492
26578
  }
26493
26579
  this.eventMarkersContainer.innerHTML = '';
@@ -27671,33 +27757,55 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
27671
27757
  var data_1 = gObj.flatData;
27672
27758
  var startIndex = void 0;
27673
27759
  var endIndex = void 0;
27760
+ var ganttData_1 = this_1.parent.dataSource;
27761
+ var uniqueTaskID_1 = this_1.parent.taskFields.id;
27674
27762
  if (draggedRecord.index < droppedRecord.index) {
27675
27763
  startIndex = draggedRecord.index;
27676
- endIndex = droppedRecord.index;
27764
+ var _loop_2 = function (i_1) {
27765
+ var currentData = this_1.parent.currentViewData.filter(function (e) {
27766
+ return e[uniqueTaskID_1] === ganttData_1[i_1][uniqueTaskID_1];
27767
+ })[0];
27768
+ if (currentData.index > droppedRecord.index) {
27769
+ endIndex = currentData.index;
27770
+ return "break";
27771
+ }
27772
+ };
27773
+ for (var i_1 = 0; i_1 < ganttData_1.length; i_1++) {
27774
+ var state_2 = _loop_2(i_1);
27775
+ if (state_2 === "break")
27776
+ break;
27777
+ }
27677
27778
  }
27678
27779
  else {
27679
27780
  startIndex = droppedRecord.index;
27680
- var rootChildRecord = draggedRecord;
27681
- if (rootChildRecord.childRecords.length > 0) {
27682
- do {
27683
- rootChildRecord = rootChildRecord.childRecords[rootChildRecord.childRecords.length - 1];
27684
- } while (rootChildRecord.childRecords.length > 0);
27781
+ var _loop_3 = function (i_2) {
27782
+ var currentData = this_1.parent.currentViewData.filter(function (e) {
27783
+ return e[uniqueTaskID_1] === ganttData_1[i_2][uniqueTaskID_1];
27784
+ })[0];
27785
+ if (currentData.index > draggedRecord.index) {
27786
+ endIndex = currentData.index;
27787
+ return "break";
27788
+ }
27789
+ };
27790
+ for (var i_2 = 0; i_2 < ganttData_1.length; i_2++) {
27791
+ var state_3 = _loop_3(i_2);
27792
+ if (state_3 === "break")
27793
+ break;
27685
27794
  }
27686
- endIndex = rootChildRecord.index;
27687
27795
  }
27688
- var _loop_2 = function (i_1) {
27689
- if (!isNullOrUndefined(data_1[i_1])) {
27690
- data_1[i_1].index = i_1;
27691
- if (!isNullOrUndefined(data_1[i_1].parentItem)) {
27796
+ var _loop_4 = function (i_3) {
27797
+ if (!isNullOrUndefined(data_1[i_3])) {
27798
+ data_1[i_3].index = i_3;
27799
+ if (!isNullOrUndefined(data_1[i_3].parentItem)) {
27692
27800
  var updatedParent = data_1.filter(function (e) {
27693
- return e.uniqueID === data_1[i_1].parentUniqueID;
27801
+ return e.uniqueID === data_1[i_3].parentUniqueID;
27694
27802
  })[0];
27695
- data_1[i_1].parentItem.index = updatedParent.index;
27803
+ data_1[i_3].parentItem.index = updatedParent.index;
27696
27804
  }
27697
27805
  }
27698
27806
  };
27699
- for (var i_1 = startIndex; i_1 <= endIndex; i_1++) {
27700
- _loop_2(i_1);
27807
+ for (var i_3 = startIndex; i_3 <= endIndex; i_3++) {
27808
+ _loop_4(i_3);
27701
27809
  }
27702
27810
  }
27703
27811
  gObj.rowDragAndDropModule.refreshDataSource();
@@ -28835,19 +28943,19 @@ var PdfTreeGridStyle = /** @__PURE__ @class */ (function () {
28835
28943
  return PdfTreeGridStyle;
28836
28944
  }());
28837
28945
 
28838
- var __extends$20 = (undefined && undefined.__extends) || (function () {
28839
- var extendStatics = function (d, b) {
28840
- extendStatics = Object.setPrototypeOf ||
28841
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
28842
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
28843
- return extendStatics(d, b);
28844
- };
28845
- return function (d, b) {
28846
- extendStatics(d, b);
28847
- function __() { this.constructor = d; }
28848
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28849
- };
28850
- })();
28946
+ var __extends$20 = (undefined && undefined.__extends) || (function () {
28947
+ var extendStatics = function (d, b) {
28948
+ extendStatics = Object.setPrototypeOf ||
28949
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
28950
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
28951
+ return extendStatics(d, b);
28952
+ };
28953
+ return function (d, b) {
28954
+ extendStatics(d, b);
28955
+ function __() { this.constructor = d; }
28956
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28957
+ };
28958
+ })();
28851
28959
  /**
28852
28960
  *
28853
28961
  */
@@ -29262,19 +29370,19 @@ var PdfTreeGridLayoutFormat = /** @__PURE__ @class */ (function (_super) {
29262
29370
  return PdfTreeGridLayoutFormat;
29263
29371
  }(PdfLayoutFormat));
29264
29372
 
29265
- var __extends$21 = (undefined && undefined.__extends) || (function () {
29266
- var extendStatics = function (d, b) {
29267
- extendStatics = Object.setPrototypeOf ||
29268
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
29269
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
29270
- return extendStatics(d, b);
29271
- };
29272
- return function (d, b) {
29273
- extendStatics(d, b);
29274
- function __() { this.constructor = d; }
29275
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29276
- };
29277
- })();
29373
+ var __extends$21 = (undefined && undefined.__extends) || (function () {
29374
+ var extendStatics = function (d, b) {
29375
+ extendStatics = Object.setPrototypeOf ||
29376
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
29377
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
29378
+ return extendStatics(d, b);
29379
+ };
29380
+ return function (d, b) {
29381
+ extendStatics(d, b);
29382
+ function __() { this.constructor = d; }
29383
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29384
+ };
29385
+ })();
29278
29386
  /**
29279
29387
  * PdfTreeGrid Class for EJ2-PDF
29280
29388
  */
@@ -31064,17 +31172,17 @@ var ExportValueFormatter = /** @__PURE__ @class */ (function () {
31064
31172
  return ExportValueFormatter;
31065
31173
  }());
31066
31174
 
31067
- var __assign$3 = (undefined && undefined.__assign) || function () {
31068
- __assign$3 = Object.assign || function(t) {
31069
- for (var s, i = 1, n = arguments.length; i < n; i++) {
31070
- s = arguments[i];
31071
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
31072
- t[p] = s[p];
31073
- }
31074
- return t;
31075
- };
31076
- return __assign$3.apply(this, arguments);
31077
- };
31175
+ var __assign$3 = (undefined && undefined.__assign) || function () {
31176
+ __assign$3 = Object.assign || function(t) {
31177
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
31178
+ s = arguments[i];
31179
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
31180
+ t[p] = s[p];
31181
+ }
31182
+ return t;
31183
+ };
31184
+ return __assign$3.apply(this, arguments);
31185
+ };
31078
31186
  /**
31079
31187
  * @hidden
31080
31188
  */
@@ -31590,17 +31698,17 @@ var PdfTimeline = /** @__PURE__ @class */ (function () {
31590
31698
  return PdfTimeline;
31591
31699
  }());
31592
31700
 
31593
- var __assign$4 = (undefined && undefined.__assign) || function () {
31594
- __assign$4 = Object.assign || function(t) {
31595
- for (var s, i = 1, n = arguments.length; i < n; i++) {
31596
- s = arguments[i];
31597
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
31598
- t[p] = s[p];
31599
- }
31600
- return t;
31601
- };
31602
- return __assign$4.apply(this, arguments);
31603
- };
31701
+ var __assign$4 = (undefined && undefined.__assign) || function () {
31702
+ __assign$4 = Object.assign || function(t) {
31703
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
31704
+ s = arguments[i];
31705
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
31706
+ t[p] = s[p];
31707
+ }
31708
+ return t;
31709
+ };
31710
+ return __assign$4.apply(this, arguments);
31711
+ };
31604
31712
  /**
31605
31713
  * @hidden
31606
31714
  */
@@ -32025,30 +32133,30 @@ var PdfGanttPredecessor = /** @__PURE__ @class */ (function () {
32025
32133
  return PdfGanttPredecessor;
32026
32134
  }());
32027
32135
 
32028
- var __extends$22 = (undefined && undefined.__extends) || (function () {
32029
- var extendStatics = function (d, b) {
32030
- extendStatics = Object.setPrototypeOf ||
32031
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32032
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32033
- return extendStatics(d, b);
32034
- };
32035
- return function (d, b) {
32036
- extendStatics(d, b);
32037
- function __() { this.constructor = d; }
32038
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32039
- };
32040
- })();
32041
- var __assign$2 = (undefined && undefined.__assign) || function () {
32042
- __assign$2 = Object.assign || function(t) {
32043
- for (var s, i = 1, n = arguments.length; i < n; i++) {
32044
- s = arguments[i];
32045
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
32046
- t[p] = s[p];
32047
- }
32048
- return t;
32049
- };
32050
- return __assign$2.apply(this, arguments);
32051
- };
32136
+ var __extends$22 = (undefined && undefined.__extends) || (function () {
32137
+ var extendStatics = function (d, b) {
32138
+ extendStatics = Object.setPrototypeOf ||
32139
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32140
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32141
+ return extendStatics(d, b);
32142
+ };
32143
+ return function (d, b) {
32144
+ extendStatics(d, b);
32145
+ function __() { this.constructor = d; }
32146
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32147
+ };
32148
+ })();
32149
+ var __assign$2 = (undefined && undefined.__assign) || function () {
32150
+ __assign$2 = Object.assign || function(t) {
32151
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32152
+ s = arguments[i];
32153
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
32154
+ t[p] = s[p];
32155
+ }
32156
+ return t;
32157
+ };
32158
+ return __assign$2.apply(this, arguments);
32159
+ };
32052
32160
  /**
32053
32161
  *
32054
32162
  */