devexpress-gantt 4.1.52 → 4.1.54

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,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.1.52
4
- * Build date: Wed Mar 13 2024
3
+ * Version: 4.1.54
4
+ * Build date: Fri Apr 26 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 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.52
4
- * Build date: Wed Mar 13 2024
3
+ * Version: 4.1.54
4
+ * Build date: Fri Apr 26 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -997,21 +997,6 @@ var DomUtils = (function () {
997
997
  function getAbsolutePositionY_FF3(element) {
998
998
  return Math.round(element.getBoundingClientRect().top + DomUtils.getDocumentScrollTop());
999
999
  }
1000
- function getAbsolutePositionY_Opera(curEl) {
1001
- var isFirstCycle = true;
1002
- if (curEl && DomUtils.isHTMLTableRowElement(curEl) && curEl.cells.length > 0)
1003
- curEl = curEl.cells[0];
1004
- var pos = getAbsoluteScrollOffset_OperaFF(curEl, false);
1005
- while (curEl != null) {
1006
- pos += curEl.offsetTop;
1007
- if (!isFirstCycle)
1008
- pos -= curEl.scrollTop;
1009
- curEl = curEl.offsetParent;
1010
- isFirstCycle = false;
1011
- }
1012
- pos += document.body.scrollTop;
1013
- return pos;
1014
- }
1015
1000
  function getAbsolutePositionY_NS(curEl) {
1016
1001
  var pos = getAbsoluteScrollOffset_OperaFF(curEl, false);
1017
1002
  var isFirstCycle = true;
@@ -1047,8 +1032,6 @@ var DomUtils = (function () {
1047
1032
  return getAbsolutePositionY_IE(element);
1048
1033
  else if (browser_1.Browser.Firefox && browser_1.Browser.Version >= 3)
1049
1034
  return getAbsolutePositionY_FF3(element);
1050
- else if (browser_1.Browser.Opera)
1051
- return getAbsolutePositionY_Opera(element);
1052
1035
  else if (browser_1.Browser.NetscapeFamily && (!browser_1.Browser.Firefox || browser_1.Browser.Version < 3))
1053
1036
  return getAbsolutePositionY_NS(element);
1054
1037
  else if (browser_1.Browser.WebKitFamily || browser_1.Browser.Edge)
@@ -16080,7 +16063,7 @@ var GanttView = (function () {
16080
16063
  GanttView.prototype.getTaskResources = function (key) {
16081
16064
  var model = this.viewModel;
16082
16065
  var task = model.getItemByPublicId("task", key);
16083
- return task && model.getAssignedResources(task).items;
16066
+ return (task && model.getAssignedResources(task).items) || [];
16084
16067
  };
16085
16068
  GanttView.prototype.getVisibleTaskKeys = function () { return this.viewModel.getVisibleTasks().map(function (t) { return t.id; }); };
16086
16069
  GanttView.prototype.getVisibleDependencyKeys = function () { return this.viewModel.getVisibleDependencies().map(function (d) { return d.id; }); };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.1.52
4
- * Build date: Wed Mar 13 2024
3
+ * Version: 4.1.54
4
+ * Build date: Fri Apr 26 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs