@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
|
@@ -414,6 +414,10 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
+
if (ganttProp && ganttProp.baselineStartDate && cloneDate &&
|
|
418
|
+
ganttProp.baselineStartDate.getTime() > cloneDate.getTime()) {
|
|
419
|
+
cloneDate.setDate(cloneDate.getDate() + 1);
|
|
420
|
+
}
|
|
417
421
|
return cloneDate;
|
|
418
422
|
}
|
|
419
423
|
};
|
|
@@ -4558,6 +4562,12 @@ var GanttChart = /** @__PURE__ @class */ (function () {
|
|
|
4558
4562
|
*/
|
|
4559
4563
|
GanttChart.prototype.documentMouseUp = function (e) {
|
|
4560
4564
|
this.isGanttElement = true;
|
|
4565
|
+
if (e.target.classList.contains('e-treegridexpand') ||
|
|
4566
|
+
e.target.classList.contains('e-treegridcollapse')) {
|
|
4567
|
+
if (getValue('isEditCollapse', this.parent.treeGrid) === true) {
|
|
4568
|
+
setValue('isEditCollapse', false, this.parent.treeGrid);
|
|
4569
|
+
}
|
|
4570
|
+
}
|
|
4561
4571
|
if (this.parent.allowRowDragAndDrop) {
|
|
4562
4572
|
var ganttDragElemet = this.parent.element.querySelector('.e-ganttdrag');
|
|
4563
4573
|
if (ganttDragElemet) {
|