@syncfusion/ej2-gantt 24.1.43 → 24.1.44
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 +8 -0
- package/README.md +1 -1
- 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 +13 -2
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +13 -2
- 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 +10 -10
- package/src/gantt/actions/context-menu.js +1 -1
- package/src/gantt/actions/edit.js +2 -0
- package/src/gantt/actions/keyboard.js +4 -1
- package/src/gantt/base/gantt.js +6 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 24.1.
|
|
3
|
+
* version : 24.1.44
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@24.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@24.1.43",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-DRuve/LRz6Qjehh0PgeFggD79hE5FCpP78+kc3uNkaWxbye6xKiWpDHCuzh3GSy4Kcml0vTeIIHx2MuU+mGDRw==",
|
|
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-24.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-24.1.43.tgz",
|
|
27
|
+
"_shasum": "a7039db650d619071377c37ea25f97e8dff27972",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@syncfusion/ej2-base": "~24.1.42",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~24.1.41",
|
|
40
|
-
"@syncfusion/ej2-calendars": "~24.1.
|
|
40
|
+
"@syncfusion/ej2-calendars": "~24.1.44",
|
|
41
41
|
"@syncfusion/ej2-data": "~24.1.41",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~24.1.
|
|
43
|
-
"@syncfusion/ej2-grids": "~24.1.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~24.1.44",
|
|
43
|
+
"@syncfusion/ej2-grids": "~24.1.44",
|
|
44
44
|
"@syncfusion/ej2-inputs": "~24.1.41",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~24.1.41",
|
|
46
46
|
"@syncfusion/ej2-lists": "~24.1.41",
|
|
47
47
|
"@syncfusion/ej2-navigations": "~24.1.41",
|
|
48
48
|
"@syncfusion/ej2-notifications": "~24.1.41",
|
|
49
|
-
"@syncfusion/ej2-popups": "~24.1.
|
|
49
|
+
"@syncfusion/ej2-popups": "~24.1.44",
|
|
50
50
|
"@syncfusion/ej2-richtexteditor": "~24.1.43",
|
|
51
51
|
"@syncfusion/ej2-svg-base": "~24.1.41",
|
|
52
|
-
"@syncfusion/ej2-treegrid": "~24.1.
|
|
52
|
+
"@syncfusion/ej2-treegrid": "~24.1.44"
|
|
53
53
|
},
|
|
54
54
|
"deprecated": false,
|
|
55
55
|
"description": "Essential JS 2 Gantt Component",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"url": "git+https://github.com/syncfusion/ej2-gantt.git"
|
|
75
75
|
},
|
|
76
76
|
"typings": "index.d.ts",
|
|
77
|
-
"version": "24.1.
|
|
77
|
+
"version": "24.1.44",
|
|
78
78
|
"sideEffects": false
|
|
79
79
|
}
|
|
@@ -581,7 +581,7 @@ var ContextMenu = /** @class */ (function () {
|
|
|
581
581
|
};
|
|
582
582
|
ContextMenu.prototype.contextMenuOpen = function (args) {
|
|
583
583
|
this.isOpen = true;
|
|
584
|
-
var firstMenuItem = args.element.querySelectorAll('li:not(.e-menu-hide):not(.e-disabled)')[0];
|
|
584
|
+
var firstMenuItem = this.parent['args'] = args.element.querySelectorAll('li:not(.e-menu-hide):not(.e-disabled)')[0];
|
|
585
585
|
if (!isNullOrUndefined(firstMenuItem)) {
|
|
586
586
|
addClass([firstMenuItem], 'e-focused');
|
|
587
587
|
}
|
|
@@ -3064,6 +3064,8 @@ var Edit = /** @class */ (function () {
|
|
|
3064
3064
|
if (args.data[tempTaskID] != args.data['ganttProperties']['taskId']) {
|
|
3065
3065
|
args.data['ganttProperties']['taskId'] = args.data[tempTaskID];
|
|
3066
3066
|
args.newTaskData[tempTaskID] = args.data[tempTaskID];
|
|
3067
|
+
args.data['ganttProperties']['rowUniqueID'] = args.data[tempTaskID].toString();
|
|
3068
|
+
_this.parent.ids.push(args.data[tempTaskID].toString());
|
|
3067
3069
|
}
|
|
3068
3070
|
}
|
|
3069
3071
|
if (!args.cancel) {
|
|
@@ -264,7 +264,10 @@ var FocusModule = /** @class */ (function () {
|
|
|
264
264
|
var selectingRowIndex = expandedRecords.indexOf(selectedItem);
|
|
265
265
|
var currentSelectingRecord = e.action === 'downArrow' ? expandedRecords[selectingRowIndex + 1] :
|
|
266
266
|
expandedRecords[selectingRowIndex - 1];
|
|
267
|
-
|
|
267
|
+
var activeElement = this.parent['args'];
|
|
268
|
+
if (document.activeElement != activeElement) {
|
|
269
|
+
ganttObj.selectionModule.selectRow(ganttObj.currentViewData.indexOf(currentSelectingRecord), false, true);
|
|
270
|
+
}
|
|
268
271
|
}
|
|
269
272
|
else if (ganttObj.selectionSettings.mode === 'Cell' && ganttObj.selectionModule.getSelectedRowCellIndexes().length > 0) {
|
|
270
273
|
var selectCellIndex = ganttObj.selectionModule.getSelectedRowCellIndexes();
|
package/src/gantt/base/gantt.js
CHANGED
|
@@ -860,6 +860,12 @@ var Gantt = /** @class */ (function (_super) {
|
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
Gantt.prototype.keyActionHandler = function (e) {
|
|
863
|
+
if (this.enableContextMenu && this.contextMenuModule && (e.action === 'downArrow' || e.action === 'upArrow') && document.getElementById(this.element.id + '_contextmenu') && this['args']) {
|
|
864
|
+
var firstMenuItem = this['args'];
|
|
865
|
+
if (!isNullOrUndefined(firstMenuItem)) {
|
|
866
|
+
(firstMenuItem).focus();
|
|
867
|
+
}
|
|
868
|
+
}
|
|
863
869
|
if (e.target && (e.action === 'downArrow' || e.action === 'upArrow') && e.target === this.element.querySelector('.e-rowcell')) {
|
|
864
870
|
this.treeGrid.grid.notify('key-pressed', e);
|
|
865
871
|
}
|