devexpress-gantt 4.0.3 → 4.0.4

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.0.3
4
- * Build date: Wed Jan 12 2022
3
+ * Version: 4.0.4
4
+ * Build date: Thu Jan 20 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.0.3
4
- * Build date: Wed Jan 12 2022
3
+ * Version: 4.0.4
4
+ * Build date: Thu Jan 20 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
@@ -5233,8 +5233,7 @@ var TaskEditController = (function () {
5233
5233
  enumerable: false,
5234
5234
  configurable: true
5235
5235
  });
5236
- TaskEditController.prototype.show = function (taskIndex, delay) {
5237
- if (delay === void 0) { delay = 0; }
5236
+ TaskEditController.prototype.show = function (taskIndex) {
5238
5237
  if (this.isEditingInProgress || this.disableTaskEditBox)
5239
5238
  return;
5240
5239
  this.taskIndex = taskIndex;
@@ -5247,11 +5246,10 @@ var TaskEditController = (function () {
5247
5246
  else {
5248
5247
  if (!this.isTaskUpdateAllowed())
5249
5248
  this.baseElement.className = this.baseElement.className + " hide-updating";
5250
- if (this.viewItem.isCustom) {
5249
+ if (this.viewItem.isCustom)
5251
5250
  this.baseElement.classList.add(TaskEditController.CLASSNAMES.TASK_EDIT_BOX_CUSTOM);
5252
- delay = this.showInfoDelay;
5253
- }
5254
5251
  }
5252
+ var delay = this.settings.getGanttSettings().editing.taskHoverDelay || 0;
5255
5253
  this.taskDateRange = new DateRange_1.DateRange(this.task.start, this.task.end);
5256
5254
  this.displayTaskEditBox(delay);
5257
5255
  this.displayProgressEdit();
@@ -19233,6 +19231,7 @@ var EditingSettings = (function () {
19233
19231
  this.allowResourceInsert = true;
19234
19232
  this.allowResourceUpdate = true;
19235
19233
  this.allowTaskResourceUpdate = true;
19234
+ this.taskHoverDelay = 0;
19236
19235
  }
19237
19236
  EditingSettings.parse = function (settings) {
19238
19237
  var result = new EditingSettings();
@@ -19257,6 +19256,8 @@ var EditingSettings = (function () {
19257
19256
  result.allowResourceUpdate = settings.allowResourceUpdate;
19258
19257
  if ((0, common_1.isDefined)(settings.allowTaskResourceUpdate))
19259
19258
  result.allowTaskResourceUpdate = settings.allowTaskResourceUpdate;
19259
+ if ((0, common_1.isDefined)(settings.taskHoverDelay))
19260
+ result.taskHoverDelay = settings.taskHoverDelay;
19260
19261
  }
19261
19262
  return result;
19262
19263
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.0.3
4
- * Build date: Wed Jan 12 2022
3
+ * Version: 4.0.4
4
+ * Build date: Thu Jan 20 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