devexpress-gantt 4.1.42 → 4.1.43
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/dist/dx-gantt.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.43
|
|
4
|
+
* Build date: Thu Mar 30 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
package/dist/dx-gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.43
|
|
4
|
+
* Build date: Thu Mar 30 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
@@ -19069,14 +19069,14 @@ var ValidationController = (function () {
|
|
|
19069
19069
|
});
|
|
19070
19070
|
return result;
|
|
19071
19071
|
};
|
|
19072
|
-
ValidationController.prototype.moveEndDependTasks = function (predecessorTaskId, predecessorPreviousEndDate,
|
|
19072
|
+
ValidationController.prototype.moveEndDependTasks = function (predecessorTaskId, predecessorPreviousEndDate, moveInitiatorId) {
|
|
19073
19073
|
var _this = this;
|
|
19074
|
-
if (
|
|
19074
|
+
if (moveInitiatorId === void 0) { moveInitiatorId = null; }
|
|
19075
19075
|
var dependencies = this.viewModel.dependencies.items.filter(function (d) { return d.predecessorId === predecessorTaskId && !d.isStartDependency; });
|
|
19076
19076
|
var predecessorTask = this.viewModel.tasks.getItemById(predecessorTaskId);
|
|
19077
19077
|
dependencies.forEach(function (dependency) {
|
|
19078
19078
|
var successorTask = _this.viewModel.tasks.getItemById(dependency.successorId);
|
|
19079
|
-
var isMoveNotRequired = !successorTask || (
|
|
19079
|
+
var isMoveNotRequired = !successorTask || (moveInitiatorId && _this.viewModel.checkParent(successorTask.internalId, moveInitiatorId)) || (successorTask.parentId === predecessorTask.id);
|
|
19080
19080
|
if (isMoveNotRequired)
|
|
19081
19081
|
return;
|
|
19082
19082
|
var successorRangeBeforeMove = new DateRange_1.DateRange(new Date(successorTask.start.getTime()), new Date(successorTask.end.getTime()));
|
|
@@ -19108,14 +19108,14 @@ var ValidationController = (function () {
|
|
|
19108
19108
|
}
|
|
19109
19109
|
});
|
|
19110
19110
|
};
|
|
19111
|
-
ValidationController.prototype.moveStartDependTasks = function (predecessorTaskId, predecessorPreviousStartDate,
|
|
19111
|
+
ValidationController.prototype.moveStartDependTasks = function (predecessorTaskId, predecessorPreviousStartDate, moveInitiatorId) {
|
|
19112
19112
|
var _this = this;
|
|
19113
|
-
if (
|
|
19113
|
+
if (moveInitiatorId === void 0) { moveInitiatorId = null; }
|
|
19114
19114
|
var dependencies = this.viewModel.dependencies.items.filter(function (d) { return d.predecessorId === predecessorTaskId && d.isStartDependency; });
|
|
19115
19115
|
var predecessorTask = this.viewModel.tasks.getItemById(predecessorTaskId);
|
|
19116
19116
|
dependencies.forEach(function (dependency) {
|
|
19117
19117
|
var successorTask = _this.viewModel.tasks.getItemById(dependency.successorId);
|
|
19118
|
-
var isMoveNotRequired = !successorTask || (
|
|
19118
|
+
var isMoveNotRequired = !successorTask || (moveInitiatorId && _this.viewModel.checkParent(successorTask.internalId, moveInitiatorId)) || (successorTask.parentId === predecessorTask.id);
|
|
19119
19119
|
if (isMoveNotRequired)
|
|
19120
19120
|
return;
|
|
19121
19121
|
var successorRangeBeforeMove = new DateRange_1.DateRange(new Date(successorTask.start.getTime()), new Date(successorTask.end.getTime()));
|
|
@@ -19287,8 +19287,8 @@ var ValidationController = (function () {
|
|
|
19287
19287
|
this.updateChildRangeByParent(taskId, delta, changedTasks);
|
|
19288
19288
|
if (this.isValidateDependenciesRequired)
|
|
19289
19289
|
changedTasks.forEach(function (i) {
|
|
19290
|
-
_this.moveStartDependTasks(i.id, i.start,
|
|
19291
|
-
_this.moveEndDependTasks(i.id, i.end,
|
|
19290
|
+
_this.moveStartDependTasks(i.id, i.start, taskId);
|
|
19291
|
+
_this.moveEndDependTasks(i.id, i.end, taskId);
|
|
19292
19292
|
});
|
|
19293
19293
|
this.updateOwnerInAutoParentMode();
|
|
19294
19294
|
}
|
package/dist/dx-gantt.min.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt.min)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.43
|
|
4
|
+
* Build date: Thu Mar 30 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|