devexpress-gantt 4.1.10 → 4.1.11

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,6 +1,6 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.1.10
3
+ * Version: 4.1.11
4
4
  * Build date: Fri Feb 04 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
package/dist/dx-gantt.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.1.10
3
+ * Version: 4.1.11
4
4
  * Build date: Fri Feb 04 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
@@ -3091,9 +3091,6 @@ var GridLayoutCalculator = (function () {
3091
3091
  return this.getWidthByDateRange(this.range.start, date);
3092
3092
  };
3093
3093
  GridLayoutCalculator.prototype.getWidthByDateRange = function (start, end) {
3094
- return Math.max(this.getDistanceBetweenDates(start, end), 0);
3095
- };
3096
- GridLayoutCalculator.prototype.getDistanceBetweenDates = function (start, end) {
3097
3094
  return DateUtils_1.DateUtils.getRangeTickCount(start, end, this.viewType) * this.tickSize.width;
3098
3095
  };
3099
3096
  GridLayoutCalculator.prototype.getDateByPos = function (position) {
@@ -12401,7 +12398,7 @@ var TaskAreaExportHelper = (function () {
12401
12398
  Object.defineProperty(TaskAreaExportHelper.prototype, "customRangeLeftOffset", {
12402
12399
  get: function () {
12403
12400
  var _a;
12404
- (_a = this._customRangeLeftOffset) !== null && _a !== void 0 ? _a : (this._customRangeLeftOffset = this.layoutCalculator.getDistanceBetweenDates(this.startDate, this.ownerStartDate));
12401
+ (_a = this._customRangeLeftOffset) !== null && _a !== void 0 ? _a : (this._customRangeLeftOffset = this.layoutCalculator.getWidthByDateRange(this.startDate, this.ownerStartDate));
12405
12402
  return this._customRangeLeftOffset;
12406
12403
  },
12407
12404
  enumerable: false,
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.1.10
3
+ * Version: 4.1.11
4
4
  * Build date: Fri Feb 04 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED