devexpress-gantt 4.1.59 → 4.1.60

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.59
4
- * Build date: Mon Mar 03 2025
3
+ * Version: 4.1.60
4
+ * Build date: Thu Mar 13 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 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.59
4
- * Build date: Mon Mar 03 2025
3
+ * Version: 4.1.60
4
+ * Build date: Thu Mar 13 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -18119,7 +18119,7 @@ var CustomTaskRender = (function () {
18119
18119
  viewItem.size.width = this.taskElements[taskIndex].offsetWidth;
18120
18120
  this.destroyTemplate(this.taskElements[taskIndex]);
18121
18121
  this._taskRender.removeTaskElement(taskIndex);
18122
- if (viewItem.visible) {
18122
+ if (viewItem.visible && viewItem.task.isValid()) {
18123
18123
  var taskWrapperInfo = this.gridLayoutCalculator.getTaskWrapperElementInfo(taskIndex);
18124
18124
  this.createCustomTaskWrapperElement(taskIndex, taskWrapperInfo);
18125
18125
  this.taskElements[taskIndex].appendChild(taskTemplateContainer);
@@ -19732,15 +19732,16 @@ var TaskRender = (function () {
19732
19732
  var viewItem = this.getViewItem(index);
19733
19733
  if (taskTemplateFunction)
19734
19734
  this.customTaskRender.createCustomTaskElement(index, taskTemplateFunction);
19735
- if (!viewItem.task.isValid() || !viewItem.visible) {
19736
- var taskDependencies = this.getTaskDependencies(viewItem.task.internalId);
19737
- this.addInvalidTaskDependencies(taskDependencies);
19738
- if (viewItem.selected)
19739
- this.createTaskSelectionElement(index);
19740
- return;
19741
- }
19742
- if (!viewItem.isCustom)
19735
+ else {
19736
+ if (!viewItem.task.isValid() || !viewItem.visible) {
19737
+ var taskDependencies = this.getTaskDependencies(viewItem.task.internalId);
19738
+ this.addInvalidTaskDependencies(taskDependencies);
19739
+ if (viewItem.selected)
19740
+ this.createTaskSelectionElement(index);
19741
+ return;
19742
+ }
19743
19743
  this.createDefaultTaskElement(index);
19744
+ }
19744
19745
  };
19745
19746
  TaskRender.prototype.createTaskVisualElement = function (index) {
19746
19747
  var taskElementInfo = this.gridLayoutCalculator.getTaskElementInfo(index, this.taskTitlePosition !== Enums_1.TaskTitlePosition.Inside);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.1.59
4
- * Build date: Mon Mar 03 2025
3
+ * Version: 4.1.60
4
+ * Build date: Thu Mar 13 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs