@syncfusion/ej2-gantt 19.4.53 → 19.4.54
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 +9 -0
- package/README.md +1 -1
- 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 +11 -3
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +11 -3
- 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 +11 -11
- package/src/gantt/actions/cell-edit.js +2 -1
- package/src/gantt/actions/rowdragdrop.js +7 -1
- package/src/gantt/base/date-processor.js +2 -1
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.54
|
|
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.53",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-IrQJ1p6f4Z2J0GmYfBIv/CASjkXGH7kuvUo0hUg25Q8FIWWZjy4dvFGG8nI1tMK/VGbczWnNkCRPcMm6gyIyhw==",
|
|
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.53.tgz",
|
|
27
|
+
"_shasum": "dcec6fd0b50ceff47d2998e6a79c4c4c2d0298f1",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@syncfusion/ej2-base": "~19.4.52",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~19.4.53",
|
|
40
|
-
"@syncfusion/ej2-calendars": "~19.4.
|
|
41
|
-
"@syncfusion/ej2-data": "~19.4.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~19.4.
|
|
43
|
-
"@syncfusion/ej2-grids": "~19.4.
|
|
40
|
+
"@syncfusion/ej2-calendars": "~19.4.54",
|
|
41
|
+
"@syncfusion/ej2-data": "~19.4.54",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~19.4.54",
|
|
43
|
+
"@syncfusion/ej2-grids": "~19.4.54",
|
|
44
44
|
"@syncfusion/ej2-inputs": "~19.4.52",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~19.4.52",
|
|
46
46
|
"@syncfusion/ej2-lists": "~19.4.52",
|
|
47
47
|
"@syncfusion/ej2-navigations": "~19.4.53",
|
|
48
48
|
"@syncfusion/ej2-popups": "~19.4.53",
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~19.4.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~19.4.
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~19.4.54",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~19.4.54"
|
|
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.54",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -397,7 +397,8 @@ var CellEdit = /** @class */ (function () {
|
|
|
397
397
|
if (!ganttRecord.ganttProperties.isAutoSchedule) {
|
|
398
398
|
this.parent.setRecordValue('autoWidth', this.parent.dataOperation.calculateWidth(ganttRecord, false), ganttRecord.ganttProperties, true);
|
|
399
399
|
}
|
|
400
|
-
if (!isNullOrUndefined(args.data.ganttProperties.segments) && args.data.ganttProperties.segments.length > 0
|
|
400
|
+
if (!isNullOrUndefined(args.data.ganttProperties.segments) && args.data.ganttProperties.segments.length > 0 &&
|
|
401
|
+
!isNullOrUndefined(this.parent.editModule.taskbarEditModule)) {
|
|
401
402
|
this.parent.editModule.taskbarEditModule.updateSegmentProgress(args.data.ganttProperties);
|
|
402
403
|
}
|
|
403
404
|
if (!args.data.hasChildRecords) {
|
|
@@ -255,7 +255,13 @@ var RowDD = /** @class */ (function () {
|
|
|
255
255
|
}
|
|
256
256
|
else {
|
|
257
257
|
startIndex = droppedRecord.index;
|
|
258
|
-
|
|
258
|
+
var rootChildRecord = draggedRecord;
|
|
259
|
+
if (rootChildRecord.childRecords.length > 0) {
|
|
260
|
+
do {
|
|
261
|
+
rootChildRecord = rootChildRecord.childRecords[rootChildRecord.childRecords.length - 1];
|
|
262
|
+
} while (rootChildRecord.childRecords.length > 0);
|
|
263
|
+
}
|
|
264
|
+
endIndex = rootChildRecord.index;
|
|
259
265
|
}
|
|
260
266
|
var _loop_2 = function (i_1) {
|
|
261
267
|
if (!isNullOrUndefined(data_1[i_1])) {
|
|
@@ -277,7 +277,8 @@ var DateProcessor = /** @class */ (function () {
|
|
|
277
277
|
DateProcessor.prototype.calculateDuration = function (ganttData) {
|
|
278
278
|
var ganttProperties = ganttData.ganttProperties;
|
|
279
279
|
var tDuration;
|
|
280
|
-
if (!isNullOrUndefined(ganttProperties.segments) && ganttProperties.segments.length > 0
|
|
280
|
+
if (!isNullOrUndefined(ganttProperties.segments) && ganttProperties.segments.length > 0 &&
|
|
281
|
+
!isNullOrUndefined(this.parent.editModule.taskbarEditModule)) {
|
|
281
282
|
tDuration = this.parent.editModule.taskbarEditModule.sumOfDuration(ganttProperties.segments);
|
|
282
283
|
}
|
|
283
284
|
else {
|