@syncfusion/ej2-gantt 22.2.10 → 22.2.11

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 : 22.2.10
3
+ * version : 22.2.11
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@22.2.9",
3
+ "_id": "@syncfusion/ej2-gantt@22.2.10",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-XAHi6TwjtNdp3cjp8PIy2KaT2VANM1v4vNaQqQlnl3VhR/Rv1tLX8XJe8bHPo9jj3DYAsQRvxTgbYheAX6GduA==",
5
+ "_integrity": "sha512-OWQ3upCLGYSsF4wYB0QsSoQeluIk7sjLl13HEb3lTEd3Q5LfasrlDBkdDaoo3P6xzR3lOhZoroCDylkdVah5CA==",
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-22.2.9.tgz",
27
- "_shasum": "b9e0042efb5dace876b55536c3384e27936677c4",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-22.2.10.tgz",
27
+ "_shasum": "8b0fe3189bee207e9cc43e3712fb1b503c0be83f",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -37,16 +37,16 @@
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~22.2.10",
39
39
  "@syncfusion/ej2-buttons": "~22.2.9",
40
- "@syncfusion/ej2-calendars": "~22.2.10",
40
+ "@syncfusion/ej2-calendars": "~22.2.11",
41
41
  "@syncfusion/ej2-data": "~22.2.5",
42
- "@syncfusion/ej2-dropdowns": "~22.2.10",
43
- "@syncfusion/ej2-grids": "~22.2.10",
42
+ "@syncfusion/ej2-dropdowns": "~22.2.11",
43
+ "@syncfusion/ej2-grids": "~22.2.11",
44
44
  "@syncfusion/ej2-inputs": "~22.2.9",
45
45
  "@syncfusion/ej2-layouts": "~22.2.9",
46
- "@syncfusion/ej2-lists": "~22.2.9",
47
- "@syncfusion/ej2-navigations": "~22.2.8",
46
+ "@syncfusion/ej2-lists": "~22.2.11",
47
+ "@syncfusion/ej2-navigations": "~22.2.11",
48
48
  "@syncfusion/ej2-notifications": "~22.2.5",
49
- "@syncfusion/ej2-popups": "~22.2.9",
49
+ "@syncfusion/ej2-popups": "~22.2.11",
50
50
  "@syncfusion/ej2-richtexteditor": "~22.2.10",
51
51
  "@syncfusion/ej2-svg-base": "~22.2.8",
52
52
  "@syncfusion/ej2-treegrid": "~22.2.9"
@@ -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": "22.2.10",
77
+ "version": "22.2.11",
78
78
  "sideEffects": false
79
79
  }
@@ -2137,7 +2137,7 @@ var DialogEdit = /** @class */ (function () {
2137
2137
  }
2138
2138
  }
2139
2139
  else {
2140
- this.parent.editModule.addRecord(this.addedRecord, this.parent.editSettings.newRowPosition);
2140
+ this.parent.editModule.addRecord(this.addedRecord, this.parent.editSettings.newRowPosition, this.parent.selectedRowIndex);
2141
2141
  }
2142
2142
  }
2143
2143
  return true;
@@ -276,8 +276,13 @@ var Filter = /** @class */ (function () {
276
276
  break;
277
277
  }
278
278
  if (!isNullOrUndefined(this.parent.element.parentNode)) {
279
+ if (parentNode.parentNode instanceof HTMLDocument) {
280
+ break;
281
+ }
279
282
  parentNode = parentNode.parentNode;
280
- marginTop = parentNode.parentNode.style.marginTop;
283
+ if (parentNode.parentNode && parentNode.parentNode.style) {
284
+ marginTop = parentNode.parentNode.style.marginTop;
285
+ }
281
286
  }
282
287
  parentNodeTop = parentNode.getBoundingClientRect().top;
283
288
  }
@@ -143,7 +143,7 @@ var FocusModule = /** @class */ (function () {
143
143
  }
144
144
  else if (isNullOrUndefined(document.getElementById(this.parent.element.id + '_dialog'))) {
145
145
  e.preventDefault();
146
- ganttObj.addRecord(undefined, this.parent.editSettings.newRowPosition);
146
+ ganttObj.addRecord(undefined, this.parent.editSettings.newRowPosition, this.parent.selectedRowIndex);
147
147
  var focussedElement = ganttObj.element;
148
148
  focussedElement.focus();
149
149
  }
@@ -3262,8 +3262,8 @@ var Gantt = /** @class */ (function (_super) {
3262
3262
  if (!isNullOrUndefined(taskfields.dependency)) {
3263
3263
  data[taskfields.dependency] = null;
3264
3264
  }
3265
- var position = 'Below';
3266
- this.addRecord(data, position);
3265
+ var position = this.editSettings.newRowPosition;
3266
+ this.addRecord(data, position, this.selectedRowIndex);
3267
3267
  }
3268
3268
  else {
3269
3269
  if (!rowData.hasChildRecords && !rowData.ganttProperties.isMilestone) {
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
1
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
2
  .e-ddl.e-control-wrapper .e-ddl-icon::before {
3
3
  transform: rotate(0deg);
4
4
  transition: transform 300ms ease;
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
1
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
2
  .e-ddl.e-control-wrapper .e-ddl-icon::before {
3
3
  transform: rotate(0deg);
4
4
  transition: transform 300ms ease;