@syncfusion/ej2-gantt 19.4.47 → 19.4.48
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 +3 -0
- 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 +23 -0
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +23 -0
- 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 +18 -18
- package/src/gantt/actions/edit.d.ts +1 -0
- package/src/gantt/actions/edit.js +23 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.4.
|
|
3
|
+
* version : 19.4.48
|
|
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@19.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@19.4.47",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-l+YvQm0Z1/+Ef512h3b/XR3IJztpcCbx86DtxzQub3wgvn6hiCp9VWkVaaRVr+aQHi0X0dKkFM6UI2LwgnfX9A==",
|
|
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-19.4.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-19.4.47.tgz",
|
|
27
|
+
"_shasum": "c0c21390db81e46ad8a05f50c02046c286b88b98",
|
|
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": "~19.4.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~19.4.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~19.4.
|
|
41
|
-
"@syncfusion/ej2-data": "~19.4.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~19.4.
|
|
43
|
-
"@syncfusion/ej2-grids": "~19.4.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~19.4.
|
|
45
|
-
"@syncfusion/ej2-layouts": "~19.4.
|
|
46
|
-
"@syncfusion/ej2-lists": "~19.4.
|
|
47
|
-
"@syncfusion/ej2-navigations": "~19.4.
|
|
48
|
-
"@syncfusion/ej2-popups": "~19.4.
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~19.4.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~19.4.
|
|
38
|
+
"@syncfusion/ej2-base": "~19.4.48",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~19.4.48",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~19.4.48",
|
|
41
|
+
"@syncfusion/ej2-data": "~19.4.48",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~19.4.48",
|
|
43
|
+
"@syncfusion/ej2-grids": "~19.4.48",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~19.4.48",
|
|
45
|
+
"@syncfusion/ej2-layouts": "~19.4.48",
|
|
46
|
+
"@syncfusion/ej2-lists": "~19.4.48",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~19.4.48",
|
|
48
|
+
"@syncfusion/ej2-popups": "~19.4.48",
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~19.4.48",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~19.4.48"
|
|
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": "19.4.
|
|
78
|
+
"version": "19.4.48",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -3150,6 +3150,25 @@ var Edit = /** @class */ (function () {
|
|
|
3150
3150
|
var delRow = this.parent.getTaskByUniqueID(this.draggedRecord.uniqueID);
|
|
3151
3151
|
this.removeRecords(delRow);
|
|
3152
3152
|
};
|
|
3153
|
+
Edit.prototype.updateIndentedChildRecords = function (indentedRecord) {
|
|
3154
|
+
var createParentItem = {
|
|
3155
|
+
uniqueID: indentedRecord.uniqueID,
|
|
3156
|
+
expanded: indentedRecord.expanded,
|
|
3157
|
+
level: indentedRecord.level,
|
|
3158
|
+
index: indentedRecord.index,
|
|
3159
|
+
taskId: indentedRecord.ganttProperties.rowUniqueID
|
|
3160
|
+
};
|
|
3161
|
+
for (var i = 0; i < indentedRecord.childRecords.length; i++) {
|
|
3162
|
+
this.parent.setRecordValue('parentItem', createParentItem, indentedRecord.childRecords[i]);
|
|
3163
|
+
this.parent.setRecordValue('parentUniqueID', indentedRecord.uniqueID, indentedRecord.childRecords[i]);
|
|
3164
|
+
}
|
|
3165
|
+
if (indentedRecord.hasChildRecords) {
|
|
3166
|
+
indentedRecord = indentedRecord.childRecords;
|
|
3167
|
+
for (var j = 0; j < indentedRecord['length']; j++) {
|
|
3168
|
+
this.updateIndentedChildRecords(indentedRecord[j]);
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3171
|
+
};
|
|
3153
3172
|
Edit.prototype.dropMiddle = function (recordIndex1) {
|
|
3154
3173
|
var obj = this.parent;
|
|
3155
3174
|
var childRec = this.parent.editModule.getChildCount(this.droppedRecord, 0);
|
|
@@ -3165,6 +3184,10 @@ var Edit = /** @class */ (function () {
|
|
|
3165
3184
|
this.recordLevel();
|
|
3166
3185
|
if (this.draggedRecord.hasChildRecords) {
|
|
3167
3186
|
this.updateChildRecord(this.draggedRecord, childRecordsLength, this.droppedRecord.expanded);
|
|
3187
|
+
if (this.parent.enableImmutableMode) {
|
|
3188
|
+
var indentedRecord = this.draggedRecord;
|
|
3189
|
+
this.updateIndentedChildRecords(indentedRecord);
|
|
3190
|
+
}
|
|
3168
3191
|
}
|
|
3169
3192
|
if (isNullOrUndefined(this.draggedRecord.parentItem &&
|
|
3170
3193
|
this.updateParentRecords.indexOf(this.draggedRecord.parentItem) !== -1)) {
|