devexpress-gantt 4.0.7 → 4.0.8
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 +1 -1
- package/dist/dx-gantt.js +2 -5
- package/dist/dx-gantt.min.css +1 -1
- package/dist/dx-gantt.min.js +3 -3
- package/package.json +1 -1
package/dist/dx-gantt.css
CHANGED
package/dist/dx-gantt.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* DevExpress Gantt (dx-gantt)
|
|
3
|
-
* Version: 4.0.
|
|
3
|
+
* Version: 4.0.8
|
|
4
4
|
* Build date: Fri Feb 04 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
@@ -3078,9 +3078,6 @@ var GridLayoutCalculator = (function () {
|
|
|
3078
3078
|
return this.getWidthByDateRange(this.range.start, date);
|
|
3079
3079
|
};
|
|
3080
3080
|
GridLayoutCalculator.prototype.getWidthByDateRange = function (start, end) {
|
|
3081
|
-
return Math.max(this.getDistanceBetweenDates(start, end), 0);
|
|
3082
|
-
};
|
|
3083
|
-
GridLayoutCalculator.prototype.getDistanceBetweenDates = function (start, end) {
|
|
3084
3081
|
return DateUtils_1.DateUtils.getRangeTickCount(start, end, this.viewType) * this.tickSize.width;
|
|
3085
3082
|
};
|
|
3086
3083
|
GridLayoutCalculator.prototype.getDateByPos = function (position) {
|
|
@@ -12445,7 +12442,7 @@ var TaskAreaExportHelper = (function () {
|
|
|
12445
12442
|
Object.defineProperty(TaskAreaExportHelper.prototype, "customRangeLeftOffset", {
|
|
12446
12443
|
get: function () {
|
|
12447
12444
|
var _a;
|
|
12448
|
-
(_a = this._customRangeLeftOffset) !== null && _a !== void 0 ? _a : (this._customRangeLeftOffset = this.layoutCalculator.
|
|
12445
|
+
(_a = this._customRangeLeftOffset) !== null && _a !== void 0 ? _a : (this._customRangeLeftOffset = this.layoutCalculator.getWidthByDateRange(this.startDate, this.ownerStartDate));
|
|
12449
12446
|
return this._customRangeLeftOffset;
|
|
12450
12447
|
},
|
|
12451
12448
|
enumerable: false,
|