devexpress-gantt 4.1.11 → 4.1.12
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 +19 -18
- package/dist/dx-gantt.min.css +2 -2
- package/dist/dx-gantt.min.js +4 -4
- package/package.json +2 -2
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.12
|
|
4
|
+
* Build date: Tue Feb 08 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 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.12
|
|
4
|
+
* Build date: Tue Feb 08 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|
|
@@ -1626,9 +1626,6 @@ var Browser = (function () {
|
|
|
1626
1626
|
Browser.WindowsPhonePlatform = platform === 'WinPhone';
|
|
1627
1627
|
Browser.WebKitFamily = Browser.Safari || Browser.Chrome || Browser.Opera && Browser.MajorVersion >= 15;
|
|
1628
1628
|
Browser.NetscapeFamily = Browser.Netscape || Browser.Mozilla || Browser.Firefox;
|
|
1629
|
-
Browser.HardwareAcceleration = (Browser.IE && Browser.MajorVersion >= 9) || (Browser.Firefox && Browser.MajorVersion >= 4) ||
|
|
1630
|
-
(Browser.AndroidMobilePlatform && Browser.Chrome) || (Browser.Chrome && Browser.MajorVersion >= 37) ||
|
|
1631
|
-
(Browser.Safari && !Browser.WindowsPlatform) || Browser.Edge || (Browser.Opera && Browser.MajorVersion >= 46);
|
|
1632
1629
|
Browser.WebKitTouchUI = Browser.MacOSMobilePlatform || Browser.AndroidMobilePlatform;
|
|
1633
1630
|
var isIETouchUI = Browser.IE && Browser.MajorVersion > 9 && Browser.WindowsPlatform && Browser.UserAgent.toLowerCase().indexOf('touch') >= 0;
|
|
1634
1631
|
Browser.MSTouchUI = isIETouchUI || (Browser.Edge && !!window.navigator.maxTouchPoints);
|
|
@@ -6335,6 +6332,10 @@ var GanttView = (function () {
|
|
|
6335
6332
|
GanttView.prototype.destroyTemplate = function (container) {
|
|
6336
6333
|
this.ganttOwner.destroyTemplate ? this.ganttOwner.destroyTemplate(container) : container.innerHTML = "";
|
|
6337
6334
|
};
|
|
6335
|
+
GanttView.prototype.onTaskAreaSizeChanged = function (info) {
|
|
6336
|
+
if (this.ganttOwner.onTaskAreaSizeChanged)
|
|
6337
|
+
this.ganttOwner.onTaskAreaSizeChanged(info);
|
|
6338
|
+
};
|
|
6338
6339
|
GanttView.prototype.showTaskEditDialog = function () {
|
|
6339
6340
|
this.commandManager.showTaskEditDialog.execute();
|
|
6340
6341
|
};
|
|
@@ -16143,7 +16144,16 @@ var RenderHelper = (function () {
|
|
|
16143
16144
|
parent.appendChild(this._taskArea);
|
|
16144
16145
|
};
|
|
16145
16146
|
RenderHelper.prototype.setSizeForTaskArea = function () {
|
|
16146
|
-
this.
|
|
16147
|
+
var width = this.getTaskAreaWidth();
|
|
16148
|
+
var height = this.getTaskAreaHeight();
|
|
16149
|
+
this._taskAreaRender.setSizeForTaskArea(width, height);
|
|
16150
|
+
this._ganttView.onTaskAreaSizeChanged({ width: width, height: height });
|
|
16151
|
+
};
|
|
16152
|
+
RenderHelper.prototype.getTaskAreaWidth = function () {
|
|
16153
|
+
return this.gridLayoutCalculator.getTotalWidth();
|
|
16154
|
+
};
|
|
16155
|
+
RenderHelper.prototype.getTaskAreaHeight = function () {
|
|
16156
|
+
return this.gridLayoutCalculator.getVerticalGridLineHeight();
|
|
16147
16157
|
};
|
|
16148
16158
|
RenderHelper.prototype.getTaskAreaContainerScrollLeft = function () {
|
|
16149
16159
|
return this._taskAreaRender.taskAreaContainer.scrollLeft;
|
|
@@ -16169,9 +16179,6 @@ var RenderHelper = (function () {
|
|
|
16169
16179
|
RenderHelper.prototype.getSmallTaskWidth = function (etalonPaddingLeft) {
|
|
16170
16180
|
return this._taskRender.getSmallTaskWidth(etalonPaddingLeft);
|
|
16171
16181
|
};
|
|
16172
|
-
RenderHelper.prototype.getTaskAreaWidth = function () {
|
|
16173
|
-
return this._taskAreaRender.getTaskAreaWidth();
|
|
16174
|
-
};
|
|
16175
16182
|
RenderHelper.prototype.createTaskElement = function (index) {
|
|
16176
16183
|
this._taskRender.createTaskElement(index, this._ganttView.settings.taskContentTemplate);
|
|
16177
16184
|
};
|
|
@@ -18451,15 +18458,9 @@ var TaskAreaRender = (function () {
|
|
|
18451
18458
|
TaskAreaRender.prototype.getTaskAreaBordersDictionary = function (isVertical) {
|
|
18452
18459
|
return isVertical ? this.vertTaskAreaBorders : this.horTaskAreaBorders;
|
|
18453
18460
|
};
|
|
18454
|
-
TaskAreaRender.prototype.setSizeForTaskArea = function () {
|
|
18455
|
-
this.taskArea.style.width =
|
|
18456
|
-
this.taskArea.style.height =
|
|
18457
|
-
};
|
|
18458
|
-
TaskAreaRender.prototype.getTaskAreaWidth = function () {
|
|
18459
|
-
return this.gridLayoutCalculator.getTotalWidth();
|
|
18460
|
-
};
|
|
18461
|
-
TaskAreaRender.prototype.getTaskAreaHeight = function () {
|
|
18462
|
-
return this.gridLayoutCalculator.getVerticalGridLineHeight();
|
|
18461
|
+
TaskAreaRender.prototype.setSizeForTaskArea = function (width, height) {
|
|
18462
|
+
this.taskArea.style.width = width + "px";
|
|
18463
|
+
this.taskArea.style.height = height + "px";
|
|
18463
18464
|
};
|
|
18464
18465
|
TaskAreaRender.prototype.createHighlightRowElement = function (index) {
|
|
18465
18466
|
var hlRowInfo = this.gridLayoutCalculator.getHighlightRowInfo(index);
|
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.12
|
|
4
|
+
* Build date: Tue Feb 08 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
* Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
|