devexpress-gantt 4.1.60 → 4.1.62
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 +2 -2
- package/dist/dx-gantt.js +12 -9
- package/dist/dx-gantt.min.css +2 -2
- package/dist/dx-gantt.min.js +1 -1
- package/dist/dx-gantt.min.js.LICENSE.txt +2 -2
- package/dist/lib/package.json +1 -1
- package/dist/lib/src/Export/Pdf/TaskAreaHelper.ts +1 -1
- package/dist/lib/src/View/Helpers/GridLayoutCalculator.ts +4 -3
- package/dist/lib/src/View/Render/CustomTaskRender.ts +5 -3
- package/package.json +1 -1
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.62
|
|
4
|
+
* Build date: Wed Jun 04 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.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.62
|
|
4
|
+
* Build date: Wed Jun 04 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
|
|
@@ -7790,7 +7790,7 @@ var TaskAreaExportHelper = (function () {
|
|
|
7790
7790
|
Object.defineProperty(TaskAreaExportHelper.prototype, "headerRowHeight", {
|
|
7791
7791
|
get: function () {
|
|
7792
7792
|
if (!this._headerRowHeight) {
|
|
7793
|
-
var element = this.scaleElements[0].filter(function (el) { return !!el; })[0];
|
|
7793
|
+
var element = this.scaleElements[0].filter(function (el) { return !!el && el.offsetHeight; })[0];
|
|
7794
7794
|
this._headerRowHeight = element === null || element === void 0 ? void 0 : element.offsetHeight;
|
|
7795
7795
|
}
|
|
7796
7796
|
return this._headerRowHeight;
|
|
@@ -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()
|
|
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()
|
|
16776
|
-
result.x -=
|
|
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
|
|
18147
|
-
this.
|
|
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:
|
|
18157
|
+
taskHTML: taskParent.children,
|
|
18155
18158
|
taskPosition: taskWrapperInfo.position,
|
|
18156
18159
|
taskResources: taskResources,
|
|
18157
18160
|
taskSize: taskElementInfo.size,
|
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.62
|
|
4
|
+
* Build date: Wed Jun 04 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
|