@syncfusion/ej2-gantt 20.4.48 → 20.4.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.4.48
3
+ * version : 20.4.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.4.43",
3
+ "_id": "@syncfusion/ej2-gantt@20.4.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-O2Ug+BtJwnnaZQE1MYtgayS8NwcBBBLEQ9eLSJiW1d5okDHDf1hDy1xUYCJ0wTkt1Y79uXmEeiAqrKVrogE4EA==",
5
+ "_integrity": "sha512-rnjgY2upWShDlY1g0oKjWptfQekBILXmySKAGiE8Oq0H40jaapxjF79SZQYYkrWbAaymi8mDLCeBZRUflj7Esg==",
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.4.43.tgz",
27
- "_shasum": "31627e64ff0537667adbc2f5931e47ce0ce0d471",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.4.48.tgz",
27
+ "_shasum": "b3eca9c7f1d969c339fbf495dc1863495564854b",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
30
30
  "author": {
@@ -36,19 +36,19 @@
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~20.4.48",
39
- "@syncfusion/ej2-buttons": "~20.4.48",
39
+ "@syncfusion/ej2-buttons": "~20.4.49",
40
40
  "@syncfusion/ej2-calendars": "~20.4.48",
41
41
  "@syncfusion/ej2-data": "~20.4.48",
42
- "@syncfusion/ej2-dropdowns": "~20.4.48",
43
- "@syncfusion/ej2-grids": "~20.4.48",
42
+ "@syncfusion/ej2-dropdowns": "~20.4.49",
43
+ "@syncfusion/ej2-grids": "~20.4.49",
44
44
  "@syncfusion/ej2-inputs": "~20.4.48",
45
45
  "@syncfusion/ej2-layouts": "~20.4.48",
46
46
  "@syncfusion/ej2-lists": "~20.4.48",
47
- "@syncfusion/ej2-navigations": "~20.4.48",
47
+ "@syncfusion/ej2-navigations": "~20.4.49",
48
48
  "@syncfusion/ej2-notifications": "~20.4.48",
49
- "@syncfusion/ej2-popups": "~20.4.48",
50
- "@syncfusion/ej2-richtexteditor": "~20.4.48",
51
- "@syncfusion/ej2-treegrid": "~20.4.48"
49
+ "@syncfusion/ej2-popups": "~20.4.49",
50
+ "@syncfusion/ej2-richtexteditor": "~20.4.49",
51
+ "@syncfusion/ej2-treegrid": "~20.4.49"
52
52
  },
53
53
  "deprecated": false,
54
54
  "description": "Essential JS 2 Gantt Component",
@@ -73,6 +73,6 @@
73
73
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
74
74
  },
75
75
  "typings": "index.d.ts",
76
- "version": "20.4.48",
76
+ "version": "20.4.49",
77
77
  "sideEffects": false
78
78
  }
@@ -1081,6 +1081,8 @@ var DialogEdit = /** @class */ (function () {
1081
1081
  if (taskSettings.duration === columnName) {
1082
1082
  if (!isNullOrUndefined(value) && value !== '') {
1083
1083
  ganttObj.dataOperation.updateDurationValue(value, ganttProp);
1084
+ this.parent.setRecordValue(taskSettings.duration, value, currentData);
1085
+ this.parent.setRecordValue('taskData.' + taskSettings.duration, ganttProp.duration, currentData);
1084
1086
  }
1085
1087
  else {
1086
1088
  if (ganttObj.allowUnscheduledTasks) {
@@ -817,7 +817,7 @@ var Edit = /** @class */ (function () {
817
817
  this.parent.predecessorModule.isValidatedParentTaskID = '';
818
818
  }
819
819
  if (ganttRecord.hasChildRecords && this.parent.previousRecords[ganttRecord.uniqueID].ganttProperties.startDate &&
820
- (args.action === "DrawConnectorLine" || args.action === "CellEditing" || args.action === "DialogEditing")) {
820
+ (args.action === "DrawConnectorLine")) {
821
821
  this.updateChildItems(ganttRecord);
822
822
  }
823
823
  this.updateParentItemOnEditing();
@@ -2247,8 +2247,10 @@ var TaskProcessor = /** @class */ (function (_super) {
2247
2247
  progressValues = this.getParentProgress(childData);
2248
2248
  totalProgress += getValue('totalProgress', progressValues);
2249
2249
  if (childData[this.parent.taskFields.duration] < 1) {
2250
- totalDuration += getValue('totalDuration', progressValues);
2251
- totalDuration = Number(totalDuration.toFixed(4));
2250
+ if (typeof (getValue('totalDuration', progressValues)) != 'object') {
2251
+ totalDuration += getValue('totalDuration', progressValues);
2252
+ totalDuration = Number(totalDuration.toFixed(4));
2253
+ }
2252
2254
  }
2253
2255
  else {
2254
2256
  totalDuration += getValue('totalDuration', progressValues);
@@ -4,3 +4,4 @@
4
4
  export * from './base/common';
5
5
  export * from './actions/actions';
6
6
  export * from './models/models';
7
+ export * from './export/pdf-base/index';
@@ -4,3 +4,4 @@
4
4
  export * from './base/common';
5
5
  export * from './actions/actions';
6
6
  export * from './models/models';
7
+ export * from './export/pdf-base/index';