devexpress-gantt 3.1.29 → 3.1.30

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: 3.1.29
4
- * Build date: Thu Nov 11 2021
3
+ * Version: 3.1.30
4
+ * Build date: Tue Nov 16 2021
5
5
  *
6
6
  * Copyright (c) 2012 - 2021 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: 3.1.29
4
- * Build date: Thu Nov 11 2021
3
+ * Version: 3.1.30
4
+ * Build date: Tue Nov 16 2021
5
5
  *
6
6
  * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -3927,7 +3927,7 @@ var TaskAreaStateBase = (function () {
3927
3927
  TaskAreaStateBase.prototype.processPointerUp = function (evt) {
3928
3928
  if (!this.checkAndProcessTouchOutsideArea(evt)) {
3929
3929
  evt.preventDefault();
3930
- if (evt instanceof TouchEvent)
3930
+ if (this.isTouchEvent(evt))
3931
3931
  this.onTouchEndInternal(evt);
3932
3932
  else
3933
3933
  this.onDocumentPointerUpInternal(evt);
@@ -17307,7 +17307,7 @@ var TaskAreaStateController = (function () {
17307
17307
  if (this._getActivePointersCount(evt) > 1)
17308
17308
  return false;
17309
17309
  var isMouse = TaskAreaDomHelper_1.TaskAreaDomHelper.isMousePointer(evt);
17310
- if (isMouse && !evt_1.EvtUtils.isLeftButtonPressed(evt))
17310
+ if (isMouse && evt.buttons !== 1)
17311
17311
  return false;
17312
17312
  if (TaskAreaDomHelper_1.TaskAreaDomHelper.isConnectorLine(evt))
17313
17313
  return false;
@@ -17587,10 +17587,12 @@ var TaskAreaDefaultState = (function (_super) {
17587
17587
  var rowIndex = this.getClickedRowIndex(evt);
17588
17588
  var now = new Date();
17589
17589
  if (!this._lastEmulatedClickTime) {
17590
- this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_AREA_CLICK, evt, rowIndex);
17591
- this._lastEmulatedClickTime = now;
17590
+ var clickCanceled = !this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_AREA_CLICK, evt, rowIndex);
17592
17591
  clearTimeout(this._dblClickClearTimer);
17593
- this._dblClickClearTimer = setTimeout(function () { delete _this._lastEmulatedClickTime; }, TaskAreaDefaultState.defaultDblClickClearTimeout);
17592
+ if (!clickCanceled) {
17593
+ this._lastEmulatedClickTime = now;
17594
+ this._dblClickClearTimer = setTimeout(function () { delete _this._lastEmulatedClickTime; }, TaskAreaDefaultState.defaultDblClickClearTimeout);
17595
+ }
17594
17596
  }
17595
17597
  else if (now.getTime() - this._lastEmulatedClickTime.getTime() < TaskAreaDefaultState.defaultDblClickTimeout) {
17596
17598
  this.raiseEvent(TaskAreaStateEventNames_1.TaskAreaStateEventNames.TASK_AREA_DBLCLICK, evt, rowIndex);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 3.1.29
4
- * Build date: Thu Nov 11 2021
3
+ * Version: 3.1.30
4
+ * Build date: Tue Nov 16 2021
5
5
  *
6
6
  * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs