@syncfusion/ej2-gantt 20.3.49 → 20.3.50
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 +17 -6
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +17 -6
- 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 +17 -17
- package/src/gantt/actions/dialog-edit.js +1 -1
- package/src/gantt/actions/keyboard.js +8 -1
- package/src/gantt/export/pdf-taskbar.js +8 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.3.
|
|
3
|
+
* version : 20.3.50
|
|
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.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@20.3.49",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-vgFZXyGQch31nJGDvAAnaXl50XBwr1ryX8mdnEhPJU5Y4dlCk6UMXd3bREhCE0Rhl85RfoLijbLoZXA/omIjNQ==",
|
|
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-20.3.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.3.49.tgz",
|
|
27
|
+
"_shasum": "4d68747d121d9d64def512c6f2773a5a583d6b0a",
|
|
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": "~20.3.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~20.3.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.3.
|
|
41
|
-
"@syncfusion/ej2-data": "~20.3.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~20.3.
|
|
43
|
-
"@syncfusion/ej2-grids": "~20.3.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.3.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.3.50",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~20.3.50",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~20.3.50",
|
|
41
|
+
"@syncfusion/ej2-data": "~20.3.50",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~20.3.50",
|
|
43
|
+
"@syncfusion/ej2-grids": "~20.3.50",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.3.50",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~20.3.48",
|
|
46
|
-
"@syncfusion/ej2-lists": "~20.3.
|
|
47
|
-
"@syncfusion/ej2-navigations": "~20.3.
|
|
48
|
-
"@syncfusion/ej2-popups": "~20.3.
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~20.3.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~20.3.
|
|
46
|
+
"@syncfusion/ej2-lists": "~20.3.50",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~20.3.50",
|
|
48
|
+
"@syncfusion/ej2-popups": "~20.3.50",
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~20.3.50",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~20.3.50"
|
|
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": "20.3.
|
|
78
|
+
"version": "20.3.50",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -2139,7 +2139,7 @@ var DialogEdit = /** @class */ (function () {
|
|
|
2139
2139
|
if (gridObj.isEdit) {
|
|
2140
2140
|
gridObj.endEdit();
|
|
2141
2141
|
}
|
|
2142
|
-
if (isEdit) {
|
|
2142
|
+
if (isEdit && gridObj.currentViewData.length != gridObj.dataSource['length']) {
|
|
2143
2143
|
dataSource = gridObj.dataSource;
|
|
2144
2144
|
}
|
|
2145
2145
|
else {
|
|
@@ -176,7 +176,14 @@ var FocusModule = /** @class */ (function () {
|
|
|
176
176
|
|| (ganttObj.editSettings.allowTaskbarEditing && !ganttObj.editModule.taskbarEditModule.touchEdit))) {
|
|
177
177
|
if ((ganttObj.selectionSettings.mode !== 'Cell' && ganttObj.selectionModule.selectedRowIndexes.length)
|
|
178
178
|
|| (ganttObj.selectionSettings.mode === 'Cell' && ganttObj.selectionModule.getSelectedRowCellIndexes().length)) {
|
|
179
|
-
|
|
179
|
+
if (!isNullOrUndefined(e.target)) {
|
|
180
|
+
if (e.target['tagName'] !== 'INPUT') {
|
|
181
|
+
ganttObj.editModule.startDeleteAction();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
ganttObj.editModule.startDeleteAction();
|
|
186
|
+
}
|
|
180
187
|
}
|
|
181
188
|
}
|
|
182
189
|
break;
|
|
@@ -74,7 +74,8 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
|
|
|
74
74
|
this.drawLeftLabel(page, startPoint, detail, cumulativeWidth);
|
|
75
75
|
//Draw Taskbar
|
|
76
76
|
var font = new PdfStandardFont(this.fontFamily, 9, PdfFontStyle.Regular);
|
|
77
|
-
if (this.parent.pdfExportModule['helper']['exportProps'].ganttStyle
|
|
77
|
+
if (!isNullOrUndefined(this.parent.pdfExportModule['helper']['exportProps'].ganttStyle) &&
|
|
78
|
+
this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font) {
|
|
78
79
|
font = this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font;
|
|
79
80
|
}
|
|
80
81
|
var fontColor = null;
|
|
@@ -242,7 +243,8 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
|
|
|
242
243
|
!isNullOrUndefined(this.rightTaskLabel.value) && !this.rightTaskLabel.isCompleted) {
|
|
243
244
|
var result = this.getWidth(this.rightTaskLabel.value, detail.endPoint - left, 15);
|
|
244
245
|
var font = new PdfStandardFont(this.fontFamily, 9);
|
|
245
|
-
if (this.parent.pdfExportModule['helper']['exportProps'].ganttStyle
|
|
246
|
+
if (!isNullOrUndefined(this.parent.pdfExportModule['helper']['exportProps'].ganttStyle) &&
|
|
247
|
+
this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font) {
|
|
246
248
|
font = this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font;
|
|
247
249
|
}
|
|
248
250
|
var adjustHeight = (pixelToPoint(this.parent.rowHeight) - result.actualSize.height) / 2;
|
|
@@ -300,7 +302,8 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
|
|
|
300
302
|
&& !this.leftTaskLabel.isCompleted) {
|
|
301
303
|
var result = this.getWidth(this.leftTaskLabel.value, detail.endPoint - left, 15);
|
|
302
304
|
var font = new PdfStandardFont(this.fontFamily, 9);
|
|
303
|
-
if (this.parent.pdfExportModule['helper']['exportProps'].ganttStyle
|
|
305
|
+
if (!isNullOrUndefined(this.parent.pdfExportModule['helper']['exportProps'].ganttStyle) &&
|
|
306
|
+
this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font) {
|
|
304
307
|
font = this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font;
|
|
305
308
|
}
|
|
306
309
|
var adjustHeight = (pixelToPoint(this.parent.rowHeight) - result.actualSize.height) / 2;
|
|
@@ -331,7 +334,8 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
|
|
|
331
334
|
};
|
|
332
335
|
PdfGanttTaskbarCollection.prototype.getWidth = function (value, width, height) {
|
|
333
336
|
var font = new PdfStandardFont(this.fontFamily, 9);
|
|
334
|
-
if (this.parent.pdfExportModule['helper']['exportProps'].ganttStyle
|
|
337
|
+
if (!isNullOrUndefined(this.parent.pdfExportModule['helper']['exportProps'].ganttStyle) &&
|
|
338
|
+
this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font) {
|
|
335
339
|
font = this.parent.pdfExportModule['helper']['exportProps'].ganttStyle.font;
|
|
336
340
|
}
|
|
337
341
|
var layouter = new PdfStringLayouter();
|