devexpress-gantt 4.1.64 → 4.1.65
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 +3 -3
- package/dist/dx-gantt.js +18 -10
- 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/css/system.scss +4 -4
- package/dist/lib/package.json +15 -11
- package/dist/lib/src/Export/Pdf/Calculator.ts +1 -1
- package/dist/lib/src/Export/Pdf/Settings/CustomFont.ts +1 -1
- package/dist/lib/src/Export/Pdf/Table/TableOptions.ts +1 -1
- package/dist/lib/src/Export/Pdf/TaskAreaHelper.ts +2 -2
- package/dist/lib/src/Model/History/HistoryItems/Task/CreateTaskHistoryItem.ts +1 -1
- package/dist/lib/src/Model/Manipulators/BaseManipulator.ts +1 -1
- package/dist/lib/src/Model/VisualModel/VisualModel.ts +1 -1
- package/dist/lib/src/Model/WorkingTime/DateTimeUtils.ts +3 -1
- package/dist/lib/src/View/Edit/TaskEditController.ts +1 -1
- package/dist/lib/src/View/Edit/TaskEditTooltip.ts +1 -1
- package/dist/lib/src/View/Events/States/TaskAreaDomHelper.ts +1 -1
- package/dist/lib/src/View/Events/TaskAreaManager.ts +1 -0
- package/dist/lib/src/View/GanttView.ts +5 -2
- package/dist/lib/src/View/Helpers/GridLayoutCalculator.ts +1 -1
- package/dist/lib/src/View/Render/RenderHelper.ts +1 -1
- package/dist/lib/src/View/Render/TaskAreaRender.ts +4 -2
- package/dist/lib/src/View/Render/TaskRender.ts +2 -1
- package/dist/lib/src/View/Settings/InitSettings/FullScreenHelperSettings.ts +1 -1
- package/dist/lib/src/View/Utils/DateUtils.ts +5 -2
- package/package.json +20 -15
package/dist/dx-gantt.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 4.1.65
|
|
4
|
+
* Build date: Mon Dec 22 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
|
|
8
8
|
*/
|
|
9
|
-
.dx-gantt-tsac{position:relative;overflow:hidden;background-color:white;z-index:6}.dx-gantt-tsa{position:relative}.dx-gantt-hb{position:absolute;left:0;height:0;z-index:6}.dx-gantt-vb{position:absolute;top:0;width:0;z-index:6}.dx-gantt-tm,.dx-gantt-ti,.dx-gantt-tc{position:absolute;top:0;z-index:6}.dx-gantt-tm:before,.dx-gantt-ti:before,.dx-gantt-tc:before{content:"";position:absolute;top:0;width:6px;margin-left:-3px;z-index:6;height:100%}.dx-gantt-si{position:absolute;top:0;white-space:nowrap;box-sizing:border-box}.dx-gantt-taskWrapper,.dx-gantt-milestoneWrapper,.dx-gantt-taskResWrapper{position:absolute;z-index:10;vertical-align:top;white-space:nowrap}.dx-gantt-taskWrapper>div{vertical-align:top}.dx-gantt-taskResWrapper{pointer-events:none}.dx-gantt-task{position:relative;display:inline-block;white-space:nowrap;vertical-align:top}.dx-gantt-tPrg{position:absolute;top:0;height:100%;z-index:0}.dx-gantt-taskTitle,.dx-gantt-taskRes{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dx-gantt-titleIn{position:relative;width:100%;z-index:1}.dx-gantt-titleOut{display:inline-block;width:500px;margin-left:-500px;text-align:right;text-overflow:ellipsis;padding-left:5px}.dx-gantt-taskRes{display:inline-block;overflow:hidden}.dx-gantt-task,.dx-gantt-taskTitle,.dx-gantt-titleOut,.dx-gantt-taskRes{box-sizing:border-box}.dx-gantt-sel{position:absolute;z-index:5}.dx-gantt-task.dx-gantt-milestone{transform:rotate(45deg);border-radius:0 !important;padding:0}.dx-gantt-task.dx-gantt-smallTask{text-align:center}.dx-gantt-task.dx-gantt-smallTask .dx-gantt-titleIn{padding:0;visibility:hidden}.dx-gantt-conn-h,.dx-gantt-conn-v,.dx-gantt-arrow{position:absolute;z-index:9}.dx-gantt-conn-v{top:0;width:4px;cursor:pointer;border-left-width:1px;border-left-style:solid}.dx-gantt-conn-v.active{border-left-width:2px !important}.dx-gantt-conn-h{left:0;height:4px;cursor:pointer;border-top-width:1px;border-top-style:solid}.dx-gantt-conn-h.active{border-top-width:2px !important}.dx-gantt-arrow{width:0;height:0}.dx-gantt-arrow.dx-gantt-TA{border-left-color:transparent !important;border-right-color:transparent !important;border-top-color:transparent !important}.dx-gantt-arrow.dx-gantt-RA{border-right-color:transparent !important;border-top-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-arrow.dx-gantt-BA{border-left-color:transparent !important;border-right-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-arrow.dx-gantt-LA{border-left-color:transparent !important;border-top-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-nwi{position:absolute;z-index:3}.dx-gantt-altRow{position:absolute;z-index:2}.dx-gantt-task-edit-wrapper{padding-left:1px}.dx-gantt-task-edit-wrapper,.dx-gantt-task-edit-wrapper-successor{position:absolute;z-index:11}.dx-gantt-task-edit-wrapper-custom{background-color:rgba(90,84,84,0.3)}.dx-gantt-task-edit-wrapper-custom.hide-updating{background-color:transparent;pointer-events:none}.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-frame,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-frame{border:none !important}#dx-gantt-ta.ms-pointer-active,#dx-gantt-ta.ms-pointer-active .dx-gantt-task-edit-frame,#dx-gantt-ta.ms-pointer-active .dx-gantt-task-edit-frame div{-webkit-appearance:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;-moz-user-select:none}.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-start,.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-end,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-wrapper.hide-dependency .dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-wrapper.hide-dependency .dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-start,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-end{display:none}.dx-gantt-task-edit-frame,.dx-gantt-task-edit-frame-successor{box-sizing:border-box;height:100%;width:100%;position:absolute;z-index:9}.dx-gantt-task-edit-frame{border:1px solid #269aff}.dx-gantt-task-edit-progress{position:absolute;width:0;height:0;bottom:0;cursor:pointer;border-style:solid;border-width:0 6px 9px
|
|
9
|
+
.dx-gantt-tsac{position:relative;overflow:hidden;background-color:white;z-index:6}.dx-gantt-tsa{position:relative}.dx-gantt-hb{position:absolute;left:0;height:0;z-index:6}.dx-gantt-vb{position:absolute;top:0;width:0;z-index:6}.dx-gantt-tm,.dx-gantt-ti,.dx-gantt-tc{position:absolute;top:0;z-index:6}.dx-gantt-tm:before,.dx-gantt-ti:before,.dx-gantt-tc:before{content:"";position:absolute;top:0;width:6px;margin-left:-3px;z-index:6;height:100%}.dx-gantt-si{position:absolute;top:0;white-space:nowrap;box-sizing:border-box}.dx-gantt-taskWrapper,.dx-gantt-milestoneWrapper,.dx-gantt-taskResWrapper{position:absolute;z-index:10;vertical-align:top;white-space:nowrap}.dx-gantt-taskWrapper>div{vertical-align:top}.dx-gantt-taskResWrapper{pointer-events:none}.dx-gantt-task{position:relative;display:inline-block;white-space:nowrap;vertical-align:top}.dx-gantt-tPrg{position:absolute;top:0;height:100%;z-index:0}.dx-gantt-taskTitle,.dx-gantt-taskRes{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dx-gantt-titleIn{position:relative;width:100%;z-index:1}.dx-gantt-titleOut{display:inline-block;width:500px;margin-left:-500px;text-align:right;text-overflow:ellipsis;padding-left:5px}.dx-gantt-taskRes{display:inline-block;overflow:hidden}.dx-gantt-task,.dx-gantt-taskTitle,.dx-gantt-titleOut,.dx-gantt-taskRes{box-sizing:border-box}.dx-gantt-sel{position:absolute;z-index:5}.dx-gantt-task.dx-gantt-milestone{transform:rotate(45deg);border-radius:0 !important;padding:0}.dx-gantt-task.dx-gantt-smallTask{text-align:center}.dx-gantt-task.dx-gantt-smallTask .dx-gantt-titleIn{padding:0;visibility:hidden}.dx-gantt-conn-h,.dx-gantt-conn-v,.dx-gantt-arrow{position:absolute;z-index:9}.dx-gantt-conn-v{top:0;width:4px;cursor:pointer;border-left-width:1px;border-left-style:solid}.dx-gantt-conn-v.active{border-left-width:2px !important}.dx-gantt-conn-h{left:0;height:4px;cursor:pointer;border-top-width:1px;border-top-style:solid}.dx-gantt-conn-h.active{border-top-width:2px !important}.dx-gantt-arrow{width:0;height:0}.dx-gantt-arrow.dx-gantt-TA{border-left-color:transparent !important;border-right-color:transparent !important;border-top-color:transparent !important}.dx-gantt-arrow.dx-gantt-RA{border-right-color:transparent !important;border-top-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-arrow.dx-gantt-BA{border-left-color:transparent !important;border-right-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-arrow.dx-gantt-LA{border-left-color:transparent !important;border-top-color:transparent !important;border-bottom-color:transparent !important}.dx-gantt-nwi{position:absolute;z-index:3}.dx-gantt-altRow{position:absolute;z-index:2}.dx-gantt-task-edit-wrapper{padding-left:1px}.dx-gantt-task-edit-wrapper,.dx-gantt-task-edit-wrapper-successor{position:absolute;z-index:11}.dx-gantt-task-edit-wrapper-custom{background-color:rgba(90,84,84,0.3)}.dx-gantt-task-edit-wrapper-custom.hide-updating{background-color:transparent;pointer-events:none}.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-frame,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-frame{border:none !important}#dx-gantt-ta.ms-pointer-active,#dx-gantt-ta.ms-pointer-active .dx-gantt-task-edit-frame,#dx-gantt-ta.ms-pointer-active .dx-gantt-task-edit-frame div{-webkit-appearance:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;-moz-user-select:none}.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-start,.dx-gantt-task-edit-wrapper.milestone .dx-gantt-task-edit-end,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-wrapper.move .dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-wrapper.hide-dependency .dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-wrapper.hide-dependency .dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-progress,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-start,.dx-gantt-task-edit-wrapper.hide-updating .dx-gantt-task-edit-end{display:none}.dx-gantt-task-edit-frame,.dx-gantt-task-edit-frame-successor{box-sizing:border-box;height:100%;width:100%;position:absolute;z-index:9}.dx-gantt-task-edit-frame{border:1px solid #269aff}.dx-gantt-task-edit-progress{position:absolute;width:0;height:0;bottom:0;cursor:pointer;border-style:solid;border-width:0 6px 9px;border-color:transparent transparent #269aff;z-index:10}.dx-gantt-task-edit-progress:before{content:"";width:10px;height:4px;background-color:white;position:absolute;bottom:-14px;left:-6px;border:1px solid #269aff;border-top:none}.dx-gantt-task-edit-progress div{position:absolute;bottom:0;cursor:pointer;border-style:solid;border-width:0 5px 7px;border-color:transparent transparent white;z-index:9;top:2px;left:-5px;pointer-events:none}.dx-gantt-task-edit-tooltip{position:absolute;font-family:sans-serif;width:max-content;line-height:16px;font-size:12px;border-radius:2px;display:none;z-index:12}.dx-gantt-task-edit-tooltip-default{padding:6px;color:white;background-color:rgba(0,0,0,0.64)}.dx-gantt-task-edit-tooltip-after:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid rgba(0,0,0,0.64);top:-6px;position:absolute}.dx-gantt-task-edit-tooltip-before:before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid rgba(0,0,0,0.64);bottom:-6px;position:absolute}.dx-gantt-task-edit-tooltip .dx-gantt-task-title{padding-bottom:3px}.dx-gantt-task-edit-tooltip .dx-gantt-status-time tr td:first-child{padding-right:3px}.dx-gantt-task-edit-tooltip .dx-gantt-status-time tr td:first-child,.dx-gantt-task-edit-tooltip .dx-gantt-status-time span:first-child,.dx-gantt-task-edit-tooltip .dx-gantt-task-title{font-weight:600}.dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-successor-dependency-r,.dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-successor-dependency-l{position:absolute;border-radius:50%;box-sizing:border-box;top:5px;width:10px;height:10px;background:white;border:1px solid #269aff;cursor:pointer}.dx-gantt-task-edit-dependency-r,.dx-gantt-task-edit-successor-dependency-r{left:-10px}.dx-gantt-task-edit-dependency-l,.dx-gantt-task-edit-successor-dependency-l{right:-10px}.dx-gantt-task-edit-dependency-r.dx-gantt-edit-touch,.dx-gantt-task-edit-successor-dependency-r.dx-gantt-edit-touch,.dx-gantt-task-edit-dependency-l.dx-gantt-edit-touch,.dx-gantt-task-edit-successor-dependency-l.dx-gantt-edit-touch{top:3px;width:11px;height:11px}.dx-gantt-task-edit-dependency-r.dx-gantt-edit-touch,.dx-gantt-task-edit-successor-dependency-r.dx-gantt-edit-touch{left:-15px}.dx-gantt-task-edit-dependency-l.dx-gantt-edit-touch,.dx-gantt-task-edit-successor-dependency-l.dx-gantt-edit-touch{right:-15px}.dx-gantt-task-edit-start,.dx-gantt-task-edit-end{position:absolute;height:100%;width:5px;top:0;cursor:col-resize}.dx-gantt-task-edit-end{right:0}.dx-gantt-task-edit-dependency-line{height:2px;background-color:#269aff;position:absolute;transform-origin:0% 0%;z-index:9}.dx-gantt-touch-action{touch-action:none}
|
|
10
10
|
|
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.65
|
|
4
|
+
* Build date: Mon Dec 22 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
|
|
@@ -6666,7 +6666,7 @@ var PdfCustomFontSettings = (function () {
|
|
|
6666
6666
|
pdfDoc.setFont(this.name);
|
|
6667
6667
|
}
|
|
6668
6668
|
}
|
|
6669
|
-
catch (
|
|
6669
|
+
catch (_) { }
|
|
6670
6670
|
};
|
|
6671
6671
|
return PdfCustomFontSettings;
|
|
6672
6672
|
}());
|
|
@@ -7886,8 +7886,9 @@ var DateUtils = (function () {
|
|
|
7886
7886
|
DateUtils.getNearestLeftTickTime = function (date, rangeStartTime, tickTimeSpan, viewType) {
|
|
7887
7887
|
if (viewType == Enums_1.ViewType.Months)
|
|
7888
7888
|
return new Date(date.getFullYear(), date.getMonth(), 1).getTime();
|
|
7889
|
-
var
|
|
7890
|
-
|
|
7889
|
+
var offsetDiff = DateUtils.getTimezoneOffsetDiff(new Date(rangeStartTime), date) * DateUtils.msPerMinute;
|
|
7890
|
+
var tickCountAtLeft = Math.floor((date.getTime() - rangeStartTime - offsetDiff) / tickTimeSpan);
|
|
7891
|
+
return rangeStartTime + tickCountAtLeft * tickTimeSpan + offsetDiff;
|
|
7891
7892
|
};
|
|
7892
7893
|
DateUtils.getNextTickTime = function (currentTickTime, tickTimeSpan, viewType) {
|
|
7893
7894
|
if (viewType == Enums_1.ViewType.Months) {
|
|
@@ -9160,7 +9161,9 @@ var DateTimeUtils = (function () {
|
|
|
9160
9161
|
return date;
|
|
9161
9162
|
};
|
|
9162
9163
|
DateTimeUtils.addDays = function (date, days) {
|
|
9163
|
-
|
|
9164
|
+
var result = new Date(date);
|
|
9165
|
+
result.setDate(result.getDate() + days);
|
|
9166
|
+
return result;
|
|
9164
9167
|
};
|
|
9165
9168
|
DateTimeUtils.checkDayOfMonth = function (day, date) {
|
|
9166
9169
|
return day == date.getDate();
|
|
@@ -12132,7 +12135,10 @@ var GanttView = (function () {
|
|
|
12132
12135
|
return ("0" + date.getDate()).slice(-2) + "/" + ("0" + (date.getMonth() + 1)).slice(-2) + "/" + date.getFullYear() + " " + ("0" + date.getHours()).slice(-2) + ":" + ("0" + date.getMinutes()).slice(-2);
|
|
12133
12136
|
};
|
|
12134
12137
|
GanttView.prototype.destroyTemplate = function (container) {
|
|
12135
|
-
|
|
12138
|
+
if (this.ganttOwner.destroyTemplate)
|
|
12139
|
+
this.ganttOwner.destroyTemplate(container);
|
|
12140
|
+
else
|
|
12141
|
+
container.innerHTML = "";
|
|
12136
12142
|
};
|
|
12137
12143
|
GanttView.prototype.onTaskAreaSizeChanged = function (info) {
|
|
12138
12144
|
if (this.ganttOwner.onTaskAreaSizeChanged)
|
|
@@ -16714,7 +16720,7 @@ var TaskRender = (function () {
|
|
|
16714
16720
|
var remSize = parseFloat(etalonPaddingLeft.substr(0, indexOfRem));
|
|
16715
16721
|
result = remSize * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
16716
16722
|
}
|
|
16717
|
-
catch (
|
|
16723
|
+
catch (_) { }
|
|
16718
16724
|
else
|
|
16719
16725
|
result = dom_1.DomUtils.pxToInt(etalonPaddingLeft);
|
|
16720
16726
|
}
|
|
@@ -18978,8 +18984,10 @@ var TaskAreaRender = (function () {
|
|
|
18978
18984
|
TaskAreaRender.prototype.prepareTaskAreaContainer = function () {
|
|
18979
18985
|
var className = "dx-gantt-tac-hb";
|
|
18980
18986
|
var element = this.getTaskAreaContainerElement();
|
|
18981
|
-
this.areHorizontalBordersEnabled
|
|
18982
|
-
dom_1.DomUtils.addClassName(element, className)
|
|
18987
|
+
if (this.areHorizontalBordersEnabled)
|
|
18988
|
+
dom_1.DomUtils.addClassName(element, className);
|
|
18989
|
+
else
|
|
18990
|
+
dom_1.DomUtils.removeClassName(element, className);
|
|
18983
18991
|
var marginTop = parseInt(getComputedStyle(element).getPropertyValue("margin-top")) || 0;
|
|
18984
18992
|
var height = "calc(100% - ".concat(this.etalonSizeValues.scaleItemHeight * this.scaleCount + marginTop, "px)");
|
|
18985
18993
|
if (this._isExternalTaskAreaContainer)
|
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.65
|
|
4
|
+
* Build date: Mon Dec 22 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
|