@syncfusion/ej2-gantt 20.3.60 → 20.3.61

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.3.60
3
+ * version : 20.3.61
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-gantt@*",
3
- "_id": "@syncfusion/ej2-gantt@20.3.59",
3
+ "_id": "@syncfusion/ej2-gantt@20.3.60",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-M/3WZzVzpwkLFh9alL80AIe56TOTDDu80diB+JLOv7KcX67eEf0IgJMkLHxNdolxu9+WBtb0TZdJtymYcW5jxQ==",
5
+ "_integrity": "sha512-r4ZVyKzjd8LePO6v6CESdNoXi8+jRiPhnRaZFr0jaIo6ZJhRxae8Hot3n16/s3vUZ8QFEsz0NWFuO0gD6f56gQ==",
6
6
  "_location": "/@syncfusion/ej2-gantt",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-gantt",
24
24
  "/@syncfusion/ej2-vue-gantt"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.3.59.tgz",
27
- "_shasum": "5afb3c74c9dccee345b8c8bdd1692f089fba2a6e",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.3.60.tgz",
27
+ "_shasum": "8aac2f8a497d74ae0b6757829a0920d91655163b",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
30
30
  "author": {
@@ -40,14 +40,14 @@
40
40
  "@syncfusion/ej2-calendars": "~20.3.59",
41
41
  "@syncfusion/ej2-data": "~20.3.60",
42
42
  "@syncfusion/ej2-dropdowns": "~20.3.60",
43
- "@syncfusion/ej2-grids": "~20.3.60",
43
+ "@syncfusion/ej2-grids": "~20.3.61",
44
44
  "@syncfusion/ej2-inputs": "~20.3.57",
45
45
  "@syncfusion/ej2-layouts": "~20.3.58",
46
46
  "@syncfusion/ej2-lists": "~20.3.56",
47
47
  "@syncfusion/ej2-navigations": "~20.3.60",
48
48
  "@syncfusion/ej2-popups": "~20.3.60",
49
- "@syncfusion/ej2-richtexteditor": "~20.3.60",
50
- "@syncfusion/ej2-treegrid": "~20.3.60"
49
+ "@syncfusion/ej2-richtexteditor": "~20.3.61",
50
+ "@syncfusion/ej2-treegrid": "~20.3.61"
51
51
  },
52
52
  "deprecated": false,
53
53
  "description": "Essential JS 2 Gantt Component",
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "20.3.60",
78
+ "version": "20.3.61",
79
79
  "sideEffects": false
80
80
  }
@@ -212,6 +212,10 @@ var DateProcessor = /** @class */ (function () {
212
212
  }
213
213
  }
214
214
  }
215
+ if (ganttProp && ganttProp.baselineStartDate && cloneDate &&
216
+ ganttProp.baselineStartDate.getTime() > cloneDate.getTime()) {
217
+ cloneDate.setDate(cloneDate.getDate() + 1);
218
+ }
215
219
  return cloneDate;
216
220
  }
217
221
  };
@@ -1,5 +1,5 @@
1
1
  import { createElement, formatUnit, EventHandler, Browser } from '@syncfusion/ej2-base';
2
- import { isNullOrUndefined, closest, addClass, removeClass, getValue } from '@syncfusion/ej2-base';
2
+ import { isNullOrUndefined, closest, addClass, removeClass, getValue, setValue } from '@syncfusion/ej2-base';
3
3
  import * as cls from '../base/css-constants';
4
4
  import { ChartScroll } from '../actions/chart-scroll';
5
5
  import { click } from '@syncfusion/ej2-grids';
@@ -382,6 +382,12 @@ var GanttChart = /** @class */ (function () {
382
382
  */
383
383
  GanttChart.prototype.documentMouseUp = function (e) {
384
384
  this.isGanttElement = true;
385
+ if (e.target.classList.contains('e-treegridexpand') ||
386
+ e.target.classList.contains('e-treegridcollapse')) {
387
+ if (getValue('isEditCollapse', this.parent.treeGrid) === true) {
388
+ setValue('isEditCollapse', false, this.parent.treeGrid);
389
+ }
390
+ }
385
391
  if (this.parent.allowRowDragAndDrop) {
386
392
  var ganttDragElemet = this.parent.element.querySelector('.e-ganttdrag');
387
393
  if (ganttDragElemet) {