@syncfusion/ej2-gantt 20.1.52 → 20.1.55

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.1.52
3
+ * version : 20.1.55
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.1.51",
3
+ "_id": "@syncfusion/ej2-gantt@20.1.52",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-hpuh4ikvObS1mKA45ZSDNduWBKdILWzPS0UzBbIdnVZcrLka7ba2hfAGx7Lp5wkRp7iUOHW/jHD/KB8qDm1LQg==",
5
+ "_integrity": "sha512-/wTVnjMzpT390P2JRzawyNbDFHg0Wpc8duptpxTelUIBcwZ0G4HhwiNBDmzn5bIyYRGeFHu71fEbDQCLqsMwFQ==",
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.1.51.tgz",
27
- "_shasum": "64b61c584db9ce4752fe43078762a9c14bba20f7",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.1.52.tgz",
27
+ "_shasum": "3d1f066bd806ba43e8e6272345b12e2838cde804",
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.1.50",
39
- "@syncfusion/ej2-buttons": "~20.1.52",
40
- "@syncfusion/ej2-calendars": "~20.1.52",
41
- "@syncfusion/ej2-data": "~20.1.47",
42
- "@syncfusion/ej2-dropdowns": "~20.1.52",
43
- "@syncfusion/ej2-grids": "~20.1.52",
44
- "@syncfusion/ej2-inputs": "~20.1.48",
45
- "@syncfusion/ej2-layouts": "~20.1.47",
46
- "@syncfusion/ej2-lists": "~20.1.47",
47
- "@syncfusion/ej2-navigations": "~20.1.51",
48
- "@syncfusion/ej2-popups": "~20.1.47",
49
- "@syncfusion/ej2-richtexteditor": "~20.1.52",
50
- "@syncfusion/ej2-treegrid": "~20.1.52"
38
+ "@syncfusion/ej2-base": "~20.1.55",
39
+ "@syncfusion/ej2-buttons": "~20.1.55",
40
+ "@syncfusion/ej2-calendars": "~20.1.55",
41
+ "@syncfusion/ej2-data": "~20.1.55",
42
+ "@syncfusion/ej2-dropdowns": "~20.1.55",
43
+ "@syncfusion/ej2-grids": "~20.1.55",
44
+ "@syncfusion/ej2-inputs": "~20.1.55",
45
+ "@syncfusion/ej2-layouts": "~20.1.55",
46
+ "@syncfusion/ej2-lists": "~20.1.55",
47
+ "@syncfusion/ej2-navigations": "~20.1.55",
48
+ "@syncfusion/ej2-popups": "~20.1.55",
49
+ "@syncfusion/ej2-richtexteditor": "~20.1.55",
50
+ "@syncfusion/ej2-treegrid": "~20.1.55"
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.1.52",
78
+ "version": "20.1.55",
79
79
  "sideEffects": false
80
80
  }
@@ -353,6 +353,9 @@ var Edit = /** @class */ (function () {
353
353
  if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
354
354
  this.parent.isOnEdit = true;
355
355
  this.validateUpdateValues(data, ganttData, true);
356
+ if (data[this.parent.taskFields.resourceInfo]) {
357
+ this.updateResourceRelatedFields(ganttData, 'resource');
358
+ }
356
359
  var keys = Object.keys(data);
357
360
  if (keys.indexOf(tasks.startDate) !== -1 || keys.indexOf(tasks.endDate) !== -1 ||
358
361
  keys.indexOf(tasks.duration) !== -1) {
@@ -247,7 +247,7 @@ var Filter = /** @class */ (function () {
247
247
  };
248
248
  Filter.prototype.updateFilterMenuPosition = function (element, args) {
249
249
  addClass([element], 'e-gantt');
250
- document.body.appendChild(element);
250
+ document.querySelector('#' + this.parent.controlId).appendChild(element);
251
251
  var targetElement;
252
252
  if (this.parent.showColumnMenu) {
253
253
  targetElement = document.querySelector('#treeGrid' + this.parent.controlId + '_gridcontrol_colmenu_Filter');
@@ -963,7 +963,7 @@ var GanttChart = /** @class */ (function () {
963
963
  this.parent.treeGrid.grid.notify('key-pressed', e);
964
964
  }
965
965
  }
966
- if (!this.parent.editModule.cellEditModule.isCellEdit) {
966
+ if (!isInEditedState) {
967
967
  if (nextElement) {
968
968
  if ($target.classList.contains('e-rowcell')) {
969
969
  this.manageFocus($target, 'remove', false);