@syncfusion/ej2-gantt 20.2.50 → 20.3.48
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.
- package/CHANGELOG.md +23 -0
- package/dist/ej2-gantt.min.js +10 -0
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +959 -346
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +989 -365
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +19 -19
- package/src/gantt/actions/cell-edit.js +1 -2
- package/src/gantt/actions/connector-line-edit.d.ts +2 -0
- package/src/gantt/actions/connector-line-edit.js +104 -10
- package/src/gantt/actions/context-menu.js +6 -1
- package/src/gantt/actions/critical-path.d.ts +1 -1
- package/src/gantt/actions/critical-path.js +105 -30
- package/src/gantt/actions/dependency.d.ts +2 -0
- package/src/gantt/actions/dependency.js +68 -12
- package/src/gantt/actions/dialog-edit.d.ts +3 -0
- package/src/gantt/actions/dialog-edit.js +124 -19
- package/src/gantt/actions/edit.js +72 -11
- package/src/gantt/actions/filter.d.ts +3 -0
- package/src/gantt/actions/filter.js +30 -6
- package/src/gantt/actions/keyboard.js +1 -1
- package/src/gantt/actions/rowdragdrop.js +68 -8
- package/src/gantt/actions/taskbar-edit.js +15 -3
- package/src/gantt/base/enum.d.ts +3 -1
- package/src/gantt/base/gantt-chart.js +11 -6
- package/src/gantt/base/gantt.d.ts +6 -6
- package/src/gantt/base/gantt.js +13 -4
- package/src/gantt/base/interface.d.ts +4 -0
- package/src/gantt/base/splitter.d.ts +2 -2
- package/src/gantt/base/splitter.js +6 -7
- package/src/gantt/base/task-processor.js +13 -7
- package/src/gantt/base/tree-grid.js +21 -2
- package/src/gantt/export/pdf-connector-line.js +187 -185
- package/src/gantt/models/edit-settings-model.d.ts +2 -2
- package/src/gantt/models/edit-settings.d.ts +2 -2
- package/src/gantt/models/filter-settings-model.d.ts +1 -1
- package/src/gantt/models/filter-settings.d.ts +1 -1
- package/src/gantt/renderer/chart-rows.d.ts +1 -0
- package/src/gantt/renderer/chart-rows.js +47 -16
- package/src/gantt/renderer/connector-line.js +101 -33
- package/src/gantt/renderer/event-marker.js +1 -1
- package/src/gantt/renderer/nonworking-day.js +0 -1
- package/src/gantt/renderer/timeline.js +1 -1
- package/src/gantt/renderer/tooltip.js +3 -1
- package/styles/bootstrap-dark.css +115 -62
- package/styles/bootstrap.css +115 -62
- package/styles/bootstrap4.css +115 -62
- package/styles/bootstrap5-dark.css +119 -63
- package/styles/bootstrap5.css +119 -63
- package/styles/fabric-dark.css +115 -62
- package/styles/fabric.css +115 -62
- package/styles/fluent-dark.css +126 -66
- package/styles/fluent.css +124 -64
- package/styles/gantt/_all.scss +1 -1
- package/styles/gantt/_bootstrap-dark-definition.scss +4 -1
- package/styles/gantt/_bootstrap-definition.scss +4 -1
- package/styles/gantt/_bootstrap4-definition.scss +4 -1
- package/styles/gantt/_bootstrap5-definition.scss +4 -2
- package/styles/gantt/_fabric-dark-definition.scss +4 -1
- package/styles/gantt/_fabric-definition.scss +4 -1
- package/styles/gantt/_fluent-definition.scss +6 -4
- package/styles/gantt/_fusionnew-definition.scss +12 -10
- package/styles/gantt/_highcontrast-definition.scss +4 -1
- package/styles/gantt/_highcontrast-light-definition.scss +4 -1
- package/styles/gantt/_layout.scss +143 -51
- package/styles/gantt/_material-dark-definition.scss +4 -1
- package/styles/gantt/_material-definition.scss +4 -1
- package/styles/gantt/_material3-definition.scss +13 -11
- package/styles/gantt/_tailwind-definition.scss +4 -2
- package/styles/gantt/_theme.scss +29 -29
- package/styles/gantt/bootstrap-dark.css +115 -62
- package/styles/gantt/bootstrap.css +115 -62
- package/styles/gantt/bootstrap4.css +115 -62
- package/styles/gantt/bootstrap5-dark.css +119 -63
- package/styles/gantt/bootstrap5.css +119 -63
- package/styles/gantt/fabric-dark.css +115 -62
- package/styles/gantt/fabric.css +115 -62
- package/styles/gantt/fluent-dark.css +126 -66
- package/styles/gantt/fluent.css +124 -64
- package/styles/gantt/highcontrast-light.css +120 -62
- package/styles/gantt/highcontrast.css +120 -62
- package/styles/gantt/material-dark.css +120 -65
- package/styles/gantt/material.css +118 -65
- package/styles/gantt/tailwind-dark.css +117 -64
- package/styles/gantt/tailwind.css +117 -64
- package/styles/highcontrast-light.css +120 -62
- package/styles/highcontrast.css +120 -62
- package/styles/material-dark.css +120 -65
- package/styles/material.css +118 -65
- package/styles/tailwind-dark.css +117 -64
- package/styles/tailwind.css +117 -64
|
@@ -587,11 +587,30 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
587
587
|
*/
|
|
588
588
|
GanttTreeGrid.prototype.composeIDColumn = function (column) {
|
|
589
589
|
var isProjectView = this.parent.viewType === 'ProjectView';
|
|
590
|
+
var lengthDataSource = this.parent.dataSource['length'];
|
|
591
|
+
var taskIDName;
|
|
590
592
|
column.isPrimaryKey = isProjectView ? true : false;
|
|
591
593
|
column.headerText = column.headerText ? column.headerText : this.parent.localeObj.getConstant('id');
|
|
592
594
|
column.width = column.width ? column.width : 100;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
+
for (var i = 0; i < lengthDataSource; i++) {
|
|
596
|
+
if (!isNullOrUndefined(this.parent.dataSource[i][this.parent.taskFields.id])) {
|
|
597
|
+
taskIDName = this.parent.dataSource[i][this.parent.taskFields.id];
|
|
598
|
+
break;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
if (typeof (taskIDName) === "string") {
|
|
602
|
+
if (this.parent.viewType === 'ResourceView') {
|
|
603
|
+
column.allowEditing = column.allowEditing ? column.allowEditing : false;
|
|
604
|
+
}
|
|
605
|
+
else {
|
|
606
|
+
column.allowEditing = column.allowEditing ? column.allowEditing : true;
|
|
607
|
+
}
|
|
608
|
+
column.editType = column.editType ? column.editType : 'stringedit';
|
|
609
|
+
}
|
|
610
|
+
else {
|
|
611
|
+
column.allowEditing = column.allowEditing ? column.allowEditing : false;
|
|
612
|
+
column.editType = column.editType ? column.editType : 'numericedit';
|
|
613
|
+
}
|
|
595
614
|
column.valueAccessor = isProjectView ? null : this.idValueAccessor.bind(this);
|
|
596
615
|
};
|
|
597
616
|
GanttTreeGrid.prototype.composeUniqueIDColumn = function (column) {
|
|
@@ -46,215 +46,217 @@ var PdfGanttPredecessor = /** @class */ (function () {
|
|
|
46
46
|
var childPageData;
|
|
47
47
|
var parentY = 0;
|
|
48
48
|
var childY = 0;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
startPage
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if (this.
|
|
58
|
-
|
|
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
|
-
|
|
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
|
-
|
|
66
|
-
predecessorType = 'FSType3';
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
predecessorType = 'FSType4';
|
|
70
|
-
}
|
|
75
|
+
return;
|
|
71
76
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
-
|
|
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
|
-
|
|
93
|
-
predecessorType = 'SFType3';
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
predecessorType = 'SFType4';
|
|
97
|
-
}
|
|
102
|
+
return;
|
|
98
103
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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
|
-
|
|
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
|
-
|
|
120
|
-
predecessorType = 'FFType3';
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
predecessorType = 'FFType4';
|
|
124
|
-
}
|
|
129
|
+
return;
|
|
125
130
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
|
|
147
|
+
if (this.parentLeft >= this.childLeft) {
|
|
148
|
+
predecessorType = 'SSType3';
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
predecessorType = 'SSType4';
|
|
152
|
+
}
|
|
143
153
|
}
|
|
144
154
|
}
|
|
145
155
|
else {
|
|
146
|
-
|
|
147
|
-
predecessorType = 'SSType3';
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
predecessorType = 'SSType4';
|
|
151
|
-
}
|
|
156
|
+
return;
|
|
152
157
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
*
|
|
60
|
-
*
|
|
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
|
-
*
|
|
53
|
-
*
|
|
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
|
*/
|
|
@@ -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
|
}
|