@syncfusion/ej2-gantt 20.3.60 → 20.3.61
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 +9 -0
- package/dist/ej2-gantt.min.js +2 -2
- 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 +10 -0
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +10 -0
- 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 +8 -8
- package/src/gantt/base/date-processor.js +4 -0
- package/src/gantt/base/gantt-chart.js +7 -1
|
@@ -413,6 +413,10 @@ class DateProcessor {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
+
if (ganttProp && ganttProp.baselineStartDate && cloneDate &&
|
|
417
|
+
ganttProp.baselineStartDate.getTime() > cloneDate.getTime()) {
|
|
418
|
+
cloneDate.setDate(cloneDate.getDate() + 1);
|
|
419
|
+
}
|
|
416
420
|
return cloneDate;
|
|
417
421
|
}
|
|
418
422
|
}
|
|
@@ -4514,6 +4518,12 @@ class GanttChart {
|
|
|
4514
4518
|
*/
|
|
4515
4519
|
documentMouseUp(e) {
|
|
4516
4520
|
this.isGanttElement = true;
|
|
4521
|
+
if (e.target.classList.contains('e-treegridexpand') ||
|
|
4522
|
+
e.target.classList.contains('e-treegridcollapse')) {
|
|
4523
|
+
if (getValue('isEditCollapse', this.parent.treeGrid) === true) {
|
|
4524
|
+
setValue('isEditCollapse', false, this.parent.treeGrid);
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4517
4527
|
if (this.parent.allowRowDragAndDrop) {
|
|
4518
4528
|
const ganttDragElemet = this.parent.element.querySelector('.e-ganttdrag');
|
|
4519
4529
|
if (ganttDragElemet) {
|