@syncfusion/ej2-gantt 20.2.46 → 20.2.49

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.2.46
3
+ * version : 20.2.49
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.2.45",
3
+ "_id": "@syncfusion/ej2-gantt@20.2.46",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ajQDPydpNT3nPoQsgQbNvzpYTsTRNCTDPtZiSUAwNJvMOpc7kCnsctSdfoZlO2MUz3rIGiJUIHeLjIpCytU4rw==",
5
+ "_integrity": "sha512-aGXXWkPX90LO9UIWv7jrXAgVHVBHVSx82HYWYWu+4OXSh5KxmCAmhmwc40Dvem3YA1eDpChCOWdl5QaMhWo9nA==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.2.45.tgz",
27
- "_shasum": "04dc5c6523a85ba8ecadcd80d6b9e43c7f202fd8",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.2.46.tgz",
27
+ "_shasum": "2634a07edea76e02c4da292cec2922216ca23d37",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~20.2.46",
38
+ "@syncfusion/ej2-base": "~20.2.48",
39
39
  "@syncfusion/ej2-buttons": "~20.2.46",
40
40
  "@syncfusion/ej2-calendars": "~20.2.46",
41
41
  "@syncfusion/ej2-data": "~20.2.45",
42
- "@syncfusion/ej2-dropdowns": "~20.2.46",
43
- "@syncfusion/ej2-grids": "~20.2.46",
44
- "@syncfusion/ej2-inputs": "~20.2.45",
42
+ "@syncfusion/ej2-dropdowns": "~20.2.48",
43
+ "@syncfusion/ej2-grids": "~20.2.49",
44
+ "@syncfusion/ej2-inputs": "~20.2.48",
45
45
  "@syncfusion/ej2-layouts": "~20.2.46",
46
46
  "@syncfusion/ej2-lists": "~20.2.46",
47
- "@syncfusion/ej2-navigations": "~20.2.46",
48
- "@syncfusion/ej2-popups": "~20.2.45",
49
- "@syncfusion/ej2-richtexteditor": "~20.2.46",
50
- "@syncfusion/ej2-treegrid": "~20.2.46"
47
+ "@syncfusion/ej2-navigations": "~20.2.49",
48
+ "@syncfusion/ej2-popups": "~20.2.49",
49
+ "@syncfusion/ej2-richtexteditor": "~20.2.49",
50
+ "@syncfusion/ej2-treegrid": "~20.2.49"
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.2.46",
78
+ "version": "20.2.49",
79
79
  "sideEffects": false
80
80
  }
@@ -451,6 +451,9 @@ var DateProcessor = /** @class */ (function () {
451
451
  */
452
452
  DateProcessor.prototype.getProjectStartDate = function (ganttProp, isLoad) {
453
453
  if (!isNullOrUndefined(this.parent.cloneProjectStartDate)) {
454
+ if (typeof this.parent.cloneProjectStartDate === 'string') {
455
+ this.parent.cloneProjectStartDate = this.getDateFromFormat(this.parent.cloneProjectStartDate);
456
+ }
454
457
  var cloneStartDate = this.checkStartDate(this.parent.cloneProjectStartDate);
455
458
  this.parent.cloneProjectStartDate = cloneStartDate;
456
459
  return new Date(cloneStartDate.getTime());