devexpress-gantt 4.1.60 → 4.1.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/dist/dx-gantt.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.1.60
4
- * Build date: Thu Mar 13 2025
3
+ * Version: 4.1.61
4
+ * Build date: Fri May 16 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.60
4
- * Build date: Thu Mar 13 2025
3
+ * Version: 4.1.61
4
+ * Build date: Fri May 16 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
@@ -16760,7 +16760,7 @@ var GridLayoutCalculator = (function () {
16760
16760
  GridLayoutCalculator.prototype.getTaskWrapperClassName = function (index) {
16761
16761
  var result = "dx-gantt-taskWrapper";
16762
16762
  var viewItem = this.getViewItem(index);
16763
- if (viewItem.task.isMilestone() && !viewItem.isCustom)
16763
+ if (viewItem.task.isMilestone())
16764
16764
  result = "dx-gantt-milestoneWrapper";
16765
16765
  if (viewItem.selected)
16766
16766
  result += " dx-gantt-selectedTask";
@@ -16770,10 +16770,11 @@ var GridLayoutCalculator = (function () {
16770
16770
  if (!(0, common_1.isDefined)(this._taskWrapperPoints[index])) {
16771
16771
  var viewItem = this.getViewItem(index);
16772
16772
  var height = this.getTaskHeight(index);
16773
+ var width = this.getTaskWidth(index);
16773
16774
  var y = index * this.tickSize.height + (this.tickSize.height - height) / 2;
16774
16775
  var result = new point_1.Point(this.getPosByDate(viewItem.task.start), y);
16775
- if (viewItem.task.isMilestone() && !viewItem.isCustom)
16776
- result.x -= height / 2;
16776
+ if (viewItem.task.isMilestone())
16777
+ result.x -= width / 2;
16777
16778
  this._taskWrapperPoints[index] = result;
16778
16779
  }
16779
16780
  return this._taskWrapperPoints[index].clone();
@@ -18143,15 +18144,17 @@ var CustomTaskRender = (function () {
18143
18144
  var taskWrapperInfo = this.gridLayoutCalculator.getTaskWrapperElementInfo(index);
18144
18145
  var taskElementInfo = this.gridLayoutCalculator.getTaskElementInfo(index, this.taskTitlePosition !== Enums_1.TaskTitlePosition.Inside);
18145
18146
  this.createCustomTaskWrapperElement(index, taskWrapperInfo);
18146
- var taskVisualElement = this.createCustomTaskVisualElement(index, taskElementInfo);
18147
- this._taskRender.createTaskTextElement(index, taskVisualElement);
18147
+ var taskParent = this.taskElements[index];
18148
+ if (this._renderHelper.taskTitlePosition === Enums_1.TaskTitlePosition.Outside)
18149
+ this._taskRender.createTaskTextElement(index, taskParent);
18150
+ this.createCustomTaskVisualElement(index, taskElementInfo);
18148
18151
  var taskResources = this.getTaskResources(task.id);
18149
18152
  var taskInformation = {
18150
18153
  cellSize: this.tickSize,
18151
18154
  isMilestone: task.isMilestone(),
18152
18155
  isParent: !!(viewItem === null || viewItem === void 0 ? void 0 : viewItem.children.length),
18153
18156
  taskData: task,
18154
- taskHTML: taskVisualElement,
18157
+ taskHTML: taskParent.children,
18155
18158
  taskPosition: taskWrapperInfo.position,
18156
18159
  taskResources: taskResources,
18157
18160
  taskSize: taskElementInfo.size,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.1.60
4
- * Build date: Thu Mar 13 2025
3
+ * Version: 4.1.61
4
+ * Build date: Fri May 16 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