@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.
- package/CHANGELOG.md +10 -0
- package/dist/ej2-gantt.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +10 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +16 -4
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/gantt/actions/dialog-edit.js +2 -0
- package/src/gantt/actions/edit.js +1 -1
- package/src/gantt/base/task-processor.js +4 -2
- package/src/gantt/index.d.ts +1 -0
- package/src/gantt/index.js +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@20.4.48",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
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.
|
|
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.
|
|
43
|
-
"@syncfusion/ej2-grids": "~20.4.
|
|
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.
|
|
47
|
+
"@syncfusion/ej2-navigations": "~20.4.49",
|
|
48
48
|
"@syncfusion/ej2-notifications": "~20.4.48",
|
|
49
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
50
|
-
"@syncfusion/ej2-richtexteditor": "~20.4.
|
|
51
|
-
"@syncfusion/ej2-treegrid": "~20.4.
|
|
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.
|
|
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"
|
|
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
|
-
|
|
2251
|
-
|
|
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);
|
package/src/gantt/index.d.ts
CHANGED
package/src/gantt/index.js
CHANGED