@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.
- 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 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +10 -5
- 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 +11 -11
- package/src/gantt/actions/dialog-edit.js +1 -1
- package/src/gantt/actions/filter.js +6 -1
- package/src/gantt/actions/keyboard.js +1 -1
- package/src/gantt/base/gantt.js +2 -2
- package/styles/gantt/material.css +1 -1
- package/styles/material.css +1 -1
|
@@ -13982,7 +13982,7 @@ var FocusModule = /** @__PURE__ @class */ (function () {
|
|
|
13982
13982
|
}
|
|
13983
13983
|
else if (isNullOrUndefined(document.getElementById(this.parent.element.id + '_dialog'))) {
|
|
13984
13984
|
e.preventDefault();
|
|
13985
|
-
ganttObj.addRecord(undefined, this.parent.editSettings.newRowPosition);
|
|
13985
|
+
ganttObj.addRecord(undefined, this.parent.editSettings.newRowPosition, this.parent.selectedRowIndex);
|
|
13986
13986
|
var focussedElement = ganttObj.element;
|
|
13987
13987
|
focussedElement.focus();
|
|
13988
13988
|
}
|
|
@@ -17379,8 +17379,8 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
17379
17379
|
if (!isNullOrUndefined(taskfields.dependency)) {
|
|
17380
17380
|
data[taskfields.dependency] = null;
|
|
17381
17381
|
}
|
|
17382
|
-
var position =
|
|
17383
|
-
this.addRecord(data, position);
|
|
17382
|
+
var position = this.editSettings.newRowPosition;
|
|
17383
|
+
this.addRecord(data, position, this.selectedRowIndex);
|
|
17384
17384
|
}
|
|
17385
17385
|
else {
|
|
17386
17386
|
if (!rowData.hasChildRecords && !rowData.ganttProperties.isMilestone) {
|
|
@@ -23090,7 +23090,7 @@ var DialogEdit = /** @__PURE__ @class */ (function () {
|
|
|
23090
23090
|
}
|
|
23091
23091
|
}
|
|
23092
23092
|
else {
|
|
23093
|
-
this.parent.editModule.addRecord(this.addedRecord, this.parent.editSettings.newRowPosition);
|
|
23093
|
+
this.parent.editModule.addRecord(this.addedRecord, this.parent.editSettings.newRowPosition, this.parent.selectedRowIndex);
|
|
23094
23094
|
}
|
|
23095
23095
|
}
|
|
23096
23096
|
return true;
|
|
@@ -28524,8 +28524,13 @@ var Filter$1 = /** @__PURE__ @class */ (function () {
|
|
|
28524
28524
|
break;
|
|
28525
28525
|
}
|
|
28526
28526
|
if (!isNullOrUndefined(this.parent.element.parentNode)) {
|
|
28527
|
+
if (parentNode.parentNode instanceof HTMLDocument) {
|
|
28528
|
+
break;
|
|
28529
|
+
}
|
|
28527
28530
|
parentNode = parentNode.parentNode;
|
|
28528
|
-
|
|
28531
|
+
if (parentNode.parentNode && parentNode.parentNode.style) {
|
|
28532
|
+
marginTop = parentNode.parentNode.style.marginTop;
|
|
28533
|
+
}
|
|
28529
28534
|
}
|
|
28530
28535
|
parentNodeTop = parentNode.getBoundingClientRect().top;
|
|
28531
28536
|
}
|