@syncfusion/ej2-gantt 21.1.35 → 21.1.37
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/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 -4
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +10 -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 +19 -19
- package/src/gantt/base/gantt.js +8 -3
- package/src/gantt/export/pdf-gantt.js +1 -1
- package/src/gantt/export/pdf-taskbar.js +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.37
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@21.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-cP3lpOL2eAFZ2Q5R5P46k7Xp3VWmuu0bOXLdfi0RWJv9cv3ltd9gXByn3FwqoKVbDnHqTcMsfLqIbkDTkHXWEQ==",
|
|
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-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-21.1.35.tgz",
|
|
27
|
+
"_shasum": "a4de85ffeb4e0c788b3a33571de043639daa60bd",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~21.1.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~21.1.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~21.1.
|
|
41
|
-
"@syncfusion/ej2-data": "~21.1.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~21.1.
|
|
43
|
-
"@syncfusion/ej2-grids": "~21.1.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~21.1.
|
|
45
|
-
"@syncfusion/ej2-layouts": "~21.1.
|
|
46
|
-
"@syncfusion/ej2-lists": "~21.1.
|
|
47
|
-
"@syncfusion/ej2-navigations": "~21.1.
|
|
48
|
-
"@syncfusion/ej2-notifications": "~21.1.
|
|
49
|
-
"@syncfusion/ej2-popups": "~21.1.
|
|
50
|
-
"@syncfusion/ej2-richtexteditor": "~21.1.
|
|
51
|
-
"@syncfusion/ej2-treegrid": "~21.1.
|
|
38
|
+
"@syncfusion/ej2-base": "~21.1.37",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~21.1.37",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~21.1.37",
|
|
41
|
+
"@syncfusion/ej2-data": "~21.1.37",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~21.1.37",
|
|
43
|
+
"@syncfusion/ej2-grids": "~21.1.37",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~21.1.37",
|
|
45
|
+
"@syncfusion/ej2-layouts": "~21.1.37",
|
|
46
|
+
"@syncfusion/ej2-lists": "~21.1.37",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~21.1.37",
|
|
48
|
+
"@syncfusion/ej2-notifications": "~21.1.37",
|
|
49
|
+
"@syncfusion/ej2-popups": "~21.1.37",
|
|
50
|
+
"@syncfusion/ej2-richtexteditor": "~21.1.37",
|
|
51
|
+
"@syncfusion/ej2-treegrid": "~21.1.37"
|
|
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": "21.1.
|
|
76
|
+
"version": "21.1.37",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
package/src/gantt/base/gantt.js
CHANGED
|
@@ -2357,12 +2357,17 @@ var Gantt = /** @class */ (function (_super) {
|
|
|
2357
2357
|
var id = ganttData.rowUniqueID;
|
|
2358
2358
|
var task = this.getRecordByID(id);
|
|
2359
2359
|
var isValid = false;
|
|
2360
|
-
if (isNullOrUndefined(value) || (!isNullOrUndefined(value) && !isNullOrUndefined(
|
|
2361
|
-
|
|
2360
|
+
if (isNullOrUndefined(value) || (!isNullOrUndefined(value) && !isNullOrUndefined(record["" + field]) && (value instanceof Date ? value.getTime() !==
|
|
2361
|
+
record["" + field].getTime() : record["" + field] !== value))) {
|
|
2362
2362
|
isValid = true;
|
|
2363
2363
|
}
|
|
2364
2364
|
if (task && ((this.editedRecords.indexOf(task) === -1 && isValid) || this.editedRecords.length === 0)) {
|
|
2365
|
-
this.
|
|
2365
|
+
if (this.editModule['draggedRecord'] && this.editModule['draggedRecord'].ganttProperties.taskId === ganttData.taskId) {
|
|
2366
|
+
this.editedRecords.splice(0, 0, task);
|
|
2367
|
+
}
|
|
2368
|
+
else {
|
|
2369
|
+
this.editedRecords.push(task);
|
|
2370
|
+
}
|
|
2366
2371
|
if (this.enableImmutableMode) {
|
|
2367
2372
|
this.modifiedRecords.push(task);
|
|
2368
2373
|
}
|
|
@@ -120,7 +120,7 @@ var PdfGantt = /** @class */ (function (_super) {
|
|
|
120
120
|
&& this.parent.cloneProjectStartDate.getSeconds() === 0) {
|
|
121
121
|
this.parent.cloneProjectStartDate.setHours(8);
|
|
122
122
|
}
|
|
123
|
-
var timelineStartDate = this.parent.dataOperation.getDateFromFormat(this.parent.
|
|
123
|
+
var timelineStartDate = this.parent.dataOperation.getDateFromFormat(this.parent.timelineModule.timelineStartDate);
|
|
124
124
|
var count = isNullOrUndefined(timelineSettings.customTimelineSettings.bottomTier.count) ?
|
|
125
125
|
timelineSettings.customTimelineSettings.topTier.count : timelineSettings.customTimelineSettings.bottomTier.count;
|
|
126
126
|
var scheduleType = timelineSettings.customTimelineSettings.bottomTier.unit === 'None' ?
|
|
@@ -141,6 +141,7 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
|
|
|
141
141
|
}
|
|
142
142
|
else {
|
|
143
143
|
taskGraphics.drawRectangle(taskbarPen, taskBrush, startPoint.x + pixelToPoint(this.left - cumulativeWidth) + 0.5, startPoint.y + adjustHeight, pixelToPoint(renderWidth), pixelToPoint(taskbar.height));
|
|
144
|
+
taskbar.width = taskbar.width - renderWidth;
|
|
144
145
|
if (this.isScheduledTask) {
|
|
145
146
|
var progressBoundsWidth = 0;
|
|
146
147
|
if (this.progressWidth <= renderWidth) {
|