@syncfusion/ej2-gantt 20.2.49 → 20.3.47

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 (96) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/ej2-gantt.min.js +10 -0
  3. package/dist/ej2-gantt.umd.min.js +2 -2
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +970 -379
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +1019 -413
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +2 -2
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +19 -19
  13. package/src/gantt/actions/cell-edit.js +1 -2
  14. package/src/gantt/actions/connector-line-edit.d.ts +2 -0
  15. package/src/gantt/actions/connector-line-edit.js +104 -10
  16. package/src/gantt/actions/context-menu.js +6 -1
  17. package/src/gantt/actions/critical-path.d.ts +1 -1
  18. package/src/gantt/actions/critical-path.js +105 -30
  19. package/src/gantt/actions/dependency.d.ts +2 -0
  20. package/src/gantt/actions/dependency.js +68 -12
  21. package/src/gantt/actions/dialog-edit.d.ts +3 -0
  22. package/src/gantt/actions/dialog-edit.js +130 -15
  23. package/src/gantt/actions/edit.js +101 -26
  24. package/src/gantt/actions/filter.d.ts +3 -1
  25. package/src/gantt/actions/filter.js +32 -44
  26. package/src/gantt/actions/keyboard.js +1 -1
  27. package/src/gantt/actions/rowdragdrop.js +68 -8
  28. package/src/gantt/actions/taskbar-edit.js +15 -3
  29. package/src/gantt/actions/toolbar.js +1 -1
  30. package/src/gantt/base/enum.d.ts +3 -1
  31. package/src/gantt/base/gantt-chart.js +8 -6
  32. package/src/gantt/base/gantt.d.ts +6 -6
  33. package/src/gantt/base/gantt.js +10 -3
  34. package/src/gantt/base/interface.d.ts +4 -0
  35. package/src/gantt/base/splitter.d.ts +2 -2
  36. package/src/gantt/base/splitter.js +6 -7
  37. package/src/gantt/base/task-processor.js +13 -7
  38. package/src/gantt/base/tree-grid.js +21 -2
  39. package/src/gantt/export/pdf-connector-line.js +187 -185
  40. package/src/gantt/models/edit-settings-model.d.ts +2 -2
  41. package/src/gantt/models/edit-settings.d.ts +2 -2
  42. package/src/gantt/models/filter-settings-model.d.ts +1 -1
  43. package/src/gantt/models/filter-settings.d.ts +1 -1
  44. package/src/gantt/renderer/chart-rows.d.ts +1 -0
  45. package/src/gantt/renderer/chart-rows.js +47 -16
  46. package/src/gantt/renderer/connector-line.js +101 -33
  47. package/src/gantt/renderer/event-marker.js +1 -1
  48. package/src/gantt/renderer/nonworking-day.js +0 -1
  49. package/src/gantt/renderer/tooltip.js +2 -1
  50. package/styles/bootstrap-dark.css +115 -62
  51. package/styles/bootstrap.css +115 -62
  52. package/styles/bootstrap4.css +115 -62
  53. package/styles/bootstrap5-dark.css +119 -63
  54. package/styles/bootstrap5.css +119 -63
  55. package/styles/fabric-dark.css +115 -62
  56. package/styles/fabric.css +115 -62
  57. package/styles/fluent-dark.css +126 -66
  58. package/styles/fluent.css +124 -64
  59. package/styles/gantt/_all.scss +1 -1
  60. package/styles/gantt/_bootstrap-dark-definition.scss +4 -1
  61. package/styles/gantt/_bootstrap-definition.scss +4 -1
  62. package/styles/gantt/_bootstrap4-definition.scss +4 -1
  63. package/styles/gantt/_bootstrap5-definition.scss +4 -2
  64. package/styles/gantt/_fabric-dark-definition.scss +4 -1
  65. package/styles/gantt/_fabric-definition.scss +4 -1
  66. package/styles/gantt/_fluent-definition.scss +6 -4
  67. package/styles/gantt/_fusionnew-definition.scss +12 -10
  68. package/styles/gantt/_highcontrast-definition.scss +4 -1
  69. package/styles/gantt/_highcontrast-light-definition.scss +4 -1
  70. package/styles/gantt/_layout.scss +143 -51
  71. package/styles/gantt/_material-dark-definition.scss +4 -1
  72. package/styles/gantt/_material-definition.scss +4 -1
  73. package/styles/gantt/_material3-definition.scss +13 -11
  74. package/styles/gantt/_tailwind-definition.scss +4 -2
  75. package/styles/gantt/_theme.scss +29 -29
  76. package/styles/gantt/bootstrap-dark.css +115 -62
  77. package/styles/gantt/bootstrap.css +115 -62
  78. package/styles/gantt/bootstrap4.css +115 -62
  79. package/styles/gantt/bootstrap5-dark.css +119 -63
  80. package/styles/gantt/bootstrap5.css +119 -63
  81. package/styles/gantt/fabric-dark.css +115 -62
  82. package/styles/gantt/fabric.css +115 -62
  83. package/styles/gantt/fluent-dark.css +126 -66
  84. package/styles/gantt/fluent.css +124 -64
  85. package/styles/gantt/highcontrast-light.css +120 -62
  86. package/styles/gantt/highcontrast.css +120 -62
  87. package/styles/gantt/material-dark.css +120 -65
  88. package/styles/gantt/material.css +118 -65
  89. package/styles/gantt/tailwind-dark.css +117 -64
  90. package/styles/gantt/tailwind.css +117 -64
  91. package/styles/highcontrast-light.css +120 -62
  92. package/styles/highcontrast.css +120 -62
  93. package/styles/material-dark.css +120 -65
  94. package/styles/material.css +118 -65
  95. package/styles/tailwind-dark.css +117 -64
  96. package/styles/tailwind.css +117 -64
@@ -46,215 +46,217 @@ var PdfGanttPredecessor = /** @class */ (function () {
46
46
  var childPageData;
47
47
  var parentY = 0;
48
48
  var childY = 0;
49
- switch (this.type) {
50
- case 'FS':
51
- if (childTask.startPage > -1 && parentTask.endPage > -1) {
52
- startPage = pages[parentTask.endPage];
53
- endPage = pages[childTask.startPage];
54
- parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
55
- childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
56
- if (this.parentIndex < this.childIndex) {
57
- if (this.parentLeft < this.childLeft && this.childLeft > (this.parentLeft + this.parentWidth + 25)) {
58
- predecessorType = 'FSType1';
49
+ if (childTask && parentTask) {
50
+ switch (this.type) {
51
+ case 'FS':
52
+ if (childTask.startPage > -1 && parentTask.endPage > -1) {
53
+ startPage = pages[parentTask.endPage];
54
+ endPage = pages[childTask.startPage];
55
+ parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
56
+ childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
57
+ if (this.parentIndex < this.childIndex) {
58
+ if (this.parentLeft < this.childLeft && this.childLeft > (this.parentLeft + this.parentWidth + 25)) {
59
+ predecessorType = 'FSType1';
60
+ }
61
+ else {
62
+ predecessorType = 'FSType2';
63
+ }
59
64
  }
60
65
  else {
61
- predecessorType = 'FSType2';
66
+ if (this.parentLeft < this.childLeft && this.childLeft > (this.parentLeft + this.parentWidth + 25)) {
67
+ predecessorType = 'FSType3';
68
+ }
69
+ else {
70
+ predecessorType = 'FSType4';
71
+ }
62
72
  }
63
73
  }
64
74
  else {
65
- if (this.parentLeft < this.childLeft && this.childLeft > (this.parentLeft + this.parentWidth + 25)) {
66
- predecessorType = 'FSType3';
67
- }
68
- else {
69
- predecessorType = 'FSType4';
70
- }
75
+ return;
71
76
  }
72
- }
73
- else {
74
- return;
75
- }
76
- break;
77
- case 'SF':
78
- if (childTask.endPage > -1 && parentTask.startPage > -1) {
79
- startPage = pages[parentTask.startPage];
80
- endPage = pages[childTask.endPage];
81
- parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
82
- childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
83
- if (this.parentIndex < this.childIndex) {
84
- if (this.parentLeft > this.childLeft + this.childWidth) {
85
- predecessorType = 'SFType1';
77
+ break;
78
+ case 'SF':
79
+ if (childTask.endPage > -1 && parentTask.startPage > -1) {
80
+ startPage = pages[parentTask.startPage];
81
+ endPage = pages[childTask.endPage];
82
+ parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
83
+ childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
84
+ if (this.parentIndex < this.childIndex) {
85
+ if (this.parentLeft > this.childLeft + this.childWidth) {
86
+ predecessorType = 'SFType1';
87
+ }
88
+ else {
89
+ predecessorType = 'SFType2';
90
+ }
86
91
  }
87
92
  else {
88
- predecessorType = 'SFType2';
93
+ if (this.parentLeft > this.childLeft + this.childWidth) {
94
+ predecessorType = 'SFType3';
95
+ }
96
+ else {
97
+ predecessorType = 'SFType4';
98
+ }
89
99
  }
90
100
  }
91
101
  else {
92
- if (this.parentLeft > this.childLeft + this.childWidth) {
93
- predecessorType = 'SFType3';
94
- }
95
- else {
96
- predecessorType = 'SFType4';
97
- }
102
+ return;
98
103
  }
99
- }
100
- else {
101
- return;
102
- }
103
- break;
104
- case 'FF':
105
- if (childTask.endPage > -1 && parentTask.endPage > -1) {
106
- startPage = pages[parentTask.endPage];
107
- endPage = pages[childTask.endPage];
108
- parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
109
- childPageData = pdfGantt.pdfPageDetail[childTask.endPage - pdfGantt.chartPageIndex];
110
- if (this.parentIndex < this.childIndex) {
111
- if ((this.childLeft + this.childWidth) >= (this.parentLeft + this.parentWidth)) {
112
- predecessorType = 'FFType1';
104
+ break;
105
+ case 'FF':
106
+ if (childTask.endPage > -1 && parentTask.endPage > -1) {
107
+ startPage = pages[parentTask.endPage];
108
+ endPage = pages[childTask.endPage];
109
+ parentPageData = pdfGantt.pdfPageDetail[parentTask.endPage - pdfGantt.chartPageIndex];
110
+ childPageData = pdfGantt.pdfPageDetail[childTask.endPage - pdfGantt.chartPageIndex];
111
+ if (this.parentIndex < this.childIndex) {
112
+ if ((this.childLeft + this.childWidth) >= (this.parentLeft + this.parentWidth)) {
113
+ predecessorType = 'FFType1';
114
+ }
115
+ else {
116
+ predecessorType = 'FFType2';
117
+ }
113
118
  }
114
119
  else {
115
- predecessorType = 'FFType2';
120
+ if ((this.childLeft + this.childWidth) >= (this.parentLeft + this.parentWidth)) {
121
+ predecessorType = 'FFType3';
122
+ }
123
+ else {
124
+ predecessorType = 'FFType4';
125
+ }
116
126
  }
117
127
  }
118
128
  else {
119
- if ((this.childLeft + this.childWidth) >= (this.parentLeft + this.parentWidth)) {
120
- predecessorType = 'FFType3';
121
- }
122
- else {
123
- predecessorType = 'FFType4';
124
- }
129
+ return;
125
130
  }
126
- }
127
- else {
128
- return;
129
- }
130
- break;
131
- case 'SS':
132
- if (childTask.startPage > -1 && parentTask.startPage > -1) {
133
- startPage = pages[parentTask.startPage];
134
- endPage = pages[childTask.startPage];
135
- parentPageData = pdfGantt.pdfPageDetail[parentTask.startPage - pdfGantt.chartPageIndex];
136
- childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
137
- if (this.parentIndex < this.childIndex) {
138
- if (this.parentLeft >= this.childLeft) {
139
- predecessorType = 'SSType1';
131
+ break;
132
+ case 'SS':
133
+ if (childTask.startPage > -1 && parentTask.startPage > -1) {
134
+ startPage = pages[parentTask.startPage];
135
+ endPage = pages[childTask.startPage];
136
+ parentPageData = pdfGantt.pdfPageDetail[parentTask.startPage - pdfGantt.chartPageIndex];
137
+ childPageData = pdfGantt.pdfPageDetail[childTask.startPage - pdfGantt.chartPageIndex];
138
+ if (this.parentIndex < this.childIndex) {
139
+ if (this.parentLeft >= this.childLeft) {
140
+ predecessorType = 'SSType1';
141
+ }
142
+ else {
143
+ predecessorType = 'SSType2';
144
+ }
140
145
  }
141
146
  else {
142
- predecessorType = 'SSType2';
147
+ if (this.parentLeft >= this.childLeft) {
148
+ predecessorType = 'SSType3';
149
+ }
150
+ else {
151
+ predecessorType = 'SSType4';
152
+ }
143
153
  }
144
154
  }
145
155
  else {
146
- if (this.parentLeft >= this.childLeft) {
147
- predecessorType = 'SSType3';
148
- }
149
- else {
150
- predecessorType = 'SSType4';
151
- }
156
+ return;
152
157
  }
153
- }
154
- else {
155
- return;
156
- }
157
- break;
158
- }
159
- var midPoint = Math.round((this.parent.rowHeight - 1) / 2.0);
160
- midPoint = pixelToPoint(midPoint);
161
- /* eslint-disable-next-line */
162
- var point1, point2, point3, point4, point5, point6;
163
- point1 = point2 = point3 = point4 = point5 = point6 = new PointF();
164
- var parentTaskpoint = __assign({}, parentTask.taskStartPoint);
165
- var childTaskpoint = __assign({}, childTask.taskStartPoint);
166
- parentY = parentTaskpoint.y + parentPageData.startPoint.y;
167
- childY = childTaskpoint.y + childPageData.startPoint.y;
168
- var ffpoint1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth), parentY + midPoint);
169
- var sspoint1 = new PointF(pixelToPoint(this.parentLeft) - 1, parentY + midPoint);
170
- var ffpoint3 = new PointF(pixelToPoint(this.childLeft - 20), childY + midPoint);
171
- var ffpoint4 = new PointF(pixelToPoint(this.childLeft - 6 - this.lineWidth) - 1, childY + midPoint);
172
- var sspoint4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 6 + this.lineWidth) + 1, childY + midPoint);
173
- switch (predecessorType) {
174
- case 'FSType1':
175
- case 'FSType3':
176
- point1 = ffpoint1;
177
- point2 = new PointF(pixelToPoint(this.childLeft - 20), parentY + midPoint);
178
- point3 = ffpoint3;
179
- point4 = ffpoint4;
180
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
181
- break;
182
- case 'FSType2':
183
- point1 = ffpoint1;
184
- point2 = new PointF(point1.x + 10, parentY + midPoint);
185
- point3 = new PointF(point1.x + 10, childY + 2);
186
- point4 = new PointF(pixelToPoint(this.childLeft - 20), childY + 2);
187
- point5 = ffpoint3;
188
- point6 = ffpoint4;
189
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
190
- break;
191
- case 'FSType4':
192
- point1 = ffpoint1;
193
- point2 = new PointF(point1.x + 10, parentY + midPoint);
194
- point3 = new PointF(point1.x + 10, parentY + 2);
195
- point4 = new PointF(pixelToPoint(this.childLeft - 20), parentY + 2);
196
- point5 = ffpoint3;
197
- point6 = ffpoint4;
198
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
199
- break;
200
- case 'FFType1':
201
- case 'FFType3':
202
- point1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth) + 1, parentY + midPoint);
203
- point2 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + midPoint);
204
- point3 = new PointF(point2.x, childY + midPoint);
205
- point4 = sspoint4;
206
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
207
- break;
208
- case 'FFType2':
209
- case 'FFType4':
210
- point1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth) + 1, parentY + midPoint);
211
- point2 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth + 20), parentY + midPoint);
212
- point3 = new PointF(point2.x, childY + midPoint);
213
- point4 = sspoint4;
214
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
215
- break;
216
- case 'SSType1':
217
- case 'SSType3':
218
- point1 = sspoint1;
219
- point2 = new PointF(pixelToPoint(this.childLeft - 20), parentY + midPoint);
220
- point3 = new PointF(point2.x, childY + midPoint);
221
- point4 = ffpoint4;
222
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
223
- break;
224
- case 'SSType2':
225
- case 'SSType4':
226
- point1 = sspoint1;
227
- point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
228
- point3 = new PointF(point2.x, childY + midPoint);
229
- point4 = ffpoint4;
230
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
231
- break;
232
- case 'SFType1':
233
- case 'SFType3':
234
- point1 = sspoint1;
235
- point2 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + midPoint);
236
- point3 = new PointF(point2.x, childY + midPoint);
237
- point4 = sspoint4;
238
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
239
- break;
240
- case 'SFType2':
241
- point1 = sspoint1;
242
- point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
243
- point3 = new PointF(point2.x, childY + 2);
244
- point4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), childY + 2);
245
- point5 = new PointF(point4.x, childY + midPoint);
246
- point6 = sspoint4;
247
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
248
- break;
249
- case 'SFType4':
250
- point1 = sspoint1;
251
- point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
252
- point3 = new PointF(point2.x, parentY + 2);
253
- point4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + 2);
254
- point5 = new PointF(point4.x, childY + midPoint);
255
- point6 = sspoint4;
256
- this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
257
- break;
158
+ break;
159
+ }
160
+ var midPoint = Math.round((this.parent.rowHeight - 1) / 2.0);
161
+ midPoint = pixelToPoint(midPoint);
162
+ /* eslint-disable-next-line */
163
+ var point1 = void 0, point2 = void 0, point3 = void 0, point4 = void 0, point5 = void 0, point6 = void 0;
164
+ point1 = point2 = point3 = point4 = point5 = point6 = new PointF();
165
+ var parentTaskpoint = __assign({}, parentTask.taskStartPoint);
166
+ var childTaskpoint = __assign({}, childTask.taskStartPoint);
167
+ parentY = parentTaskpoint.y + parentPageData.startPoint.y;
168
+ childY = childTaskpoint.y + childPageData.startPoint.y;
169
+ var ffpoint1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth), parentY + midPoint);
170
+ var sspoint1 = new PointF(pixelToPoint(this.parentLeft) - 1, parentY + midPoint);
171
+ var ffpoint3 = new PointF(pixelToPoint(this.childLeft - 20), childY + midPoint);
172
+ var ffpoint4 = new PointF(pixelToPoint(this.childLeft - 6 - this.lineWidth) - 1, childY + midPoint);
173
+ var sspoint4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 6 + this.lineWidth) + 1, childY + midPoint);
174
+ switch (predecessorType) {
175
+ case 'FSType1':
176
+ case 'FSType3':
177
+ point1 = ffpoint1;
178
+ point2 = new PointF(pixelToPoint(this.childLeft - 20), parentY + midPoint);
179
+ point3 = ffpoint3;
180
+ point4 = ffpoint4;
181
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
182
+ break;
183
+ case 'FSType2':
184
+ point1 = ffpoint1;
185
+ point2 = new PointF(point1.x + 10, parentY + midPoint);
186
+ point3 = new PointF(point1.x + 10, childY + 2);
187
+ point4 = new PointF(pixelToPoint(this.childLeft - 20), childY + 2);
188
+ point5 = ffpoint3;
189
+ point6 = ffpoint4;
190
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
191
+ break;
192
+ case 'FSType4':
193
+ point1 = ffpoint1;
194
+ point2 = new PointF(point1.x + 10, parentY + midPoint);
195
+ point3 = new PointF(point1.x + 10, parentY + 2);
196
+ point4 = new PointF(pixelToPoint(this.childLeft - 20), parentY + 2);
197
+ point5 = ffpoint3;
198
+ point6 = ffpoint4;
199
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
200
+ break;
201
+ case 'FFType1':
202
+ case 'FFType3':
203
+ point1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth) + 1, parentY + midPoint);
204
+ point2 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + midPoint);
205
+ point3 = new PointF(point2.x, childY + midPoint);
206
+ point4 = sspoint4;
207
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
208
+ break;
209
+ case 'FFType2':
210
+ case 'FFType4':
211
+ point1 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth) + 1, parentY + midPoint);
212
+ point2 = new PointF(pixelToPoint(this.parentLeft + this.parentWidth + 20), parentY + midPoint);
213
+ point3 = new PointF(point2.x, childY + midPoint);
214
+ point4 = sspoint4;
215
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
216
+ break;
217
+ case 'SSType1':
218
+ case 'SSType3':
219
+ point1 = sspoint1;
220
+ point2 = new PointF(pixelToPoint(this.childLeft - 20), parentY + midPoint);
221
+ point3 = new PointF(point2.x, childY + midPoint);
222
+ point4 = ffpoint4;
223
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
224
+ break;
225
+ case 'SSType2':
226
+ case 'SSType4':
227
+ point1 = sspoint1;
228
+ point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
229
+ point3 = new PointF(point2.x, childY + midPoint);
230
+ point4 = ffpoint4;
231
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
232
+ break;
233
+ case 'SFType1':
234
+ case 'SFType3':
235
+ point1 = sspoint1;
236
+ point2 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + midPoint);
237
+ point3 = new PointF(point2.x, childY + midPoint);
238
+ point4 = sspoint4;
239
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint);
240
+ break;
241
+ case 'SFType2':
242
+ point1 = sspoint1;
243
+ point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
244
+ point3 = new PointF(point2.x, childY + 2);
245
+ point4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), childY + 2);
246
+ point5 = new PointF(point4.x, childY + midPoint);
247
+ point6 = sspoint4;
248
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
249
+ break;
250
+ case 'SFType4':
251
+ point1 = sspoint1;
252
+ point2 = new PointF(pixelToPoint(this.parentLeft - 20), parentY + midPoint);
253
+ point3 = new PointF(point2.x, parentY + 2);
254
+ point4 = new PointF(pixelToPoint(this.childLeft + this.childWidth + 20), parentY + 2);
255
+ point5 = new PointF(point4.x, childY + midPoint);
256
+ point6 = sspoint4;
257
+ this.connectLines(startPage, endPage, point1, point2, point3, point4, childTask, midPoint, point5, point6);
258
+ break;
259
+ }
258
260
  }
259
261
  };
260
262
  /**
@@ -56,8 +56,8 @@ export interface EditSettingsModel {
56
56
  showDeleteConfirmDialog?: boolean;
57
57
 
58
58
  /**
59
- * Enabled or disables taskbar resizing, taskbar dragging, progress bar resizing and
60
- * predecessor draw action in chart side.
59
+ * Enable or disable the taskbar editing, such as updating start date, end date,
60
+ * progress and dependency tasks values, through user interaction.
61
61
  *
62
62
  * @default false
63
63
  */
@@ -49,8 +49,8 @@ export declare class EditSettings extends ChildProperty<EditSettings> {
49
49
  */
50
50
  showDeleteConfirmDialog: boolean;
51
51
  /**
52
- * Enabled or disables taskbar resizing, taskbar dragging, progress bar resizing and
53
- * predecessor draw action in chart side.
52
+ * Enable or disable the taskbar editing, such as updating start date, end date,
53
+ * progress and dependency tasks values, through user interaction.
54
54
  *
55
55
  * @default false
56
56
  */
@@ -17,7 +17,7 @@ export interface FilterSettingsModel {
17
17
  * Defines filter type of Gantt.
18
18
  * * `Menu` - Enables menu filters in Grid.
19
19
  *
20
- * @hidden
20
+ * @default Menu
21
21
  */
22
22
  type?: FilterType;
23
23
 
@@ -16,7 +16,7 @@ export declare class FilterSettings extends ChildProperty<FilterSettings> {
16
16
  * Defines filter type of Gantt.
17
17
  * * `Menu` - Enables menu filters in Grid.
18
18
  *
19
- * @hidden
19
+ * @default Menu
20
20
  */
21
21
  type: FilterType;
22
22
  /**
@@ -290,6 +290,7 @@ export declare class ChartRows extends DateProcessor {
290
290
  private removeEventListener;
291
291
  private destroy;
292
292
  private generateAriaLabel;
293
+ private generateBaselineAriaLabel;
293
294
  private generateSpiltTaskAriaLabel;
294
295
  private generateTaskLabelAriaLabel;
295
296
  }