@syncfusion/ej2-gantt 23.1.42 → 23.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 +17 -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 +9 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +9 -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 +15 -15
- package/src/gantt/actions/connector-line-edit.js +1 -1
- package/src/gantt/actions/dependency.js +1 -1
- package/src/gantt/actions/filter.js +5 -1
- package/src/gantt/base/tree-grid.js +2 -2
|
@@ -8450,8 +8450,8 @@ class GanttTreeGrid {
|
|
|
8450
8450
|
}
|
|
8451
8451
|
} // eslint-disable-next-line
|
|
8452
8452
|
durationValueAccessor(field, data, column) {
|
|
8453
|
-
|
|
8454
|
-
|
|
8453
|
+
if (!isNullOrUndefined(data) && !isNullOrUndefined(data.ganttProperties)) {
|
|
8454
|
+
const ganttProp = data.ganttProperties;
|
|
8455
8455
|
return this.parent.dataOperation.getDurationString(ganttProp.duration, ganttProp.durationUnit);
|
|
8456
8456
|
}
|
|
8457
8457
|
else if (!this.parent.loadChildOnDemand && this.parent.taskFields.hasChildMapping) {
|
|
@@ -11285,7 +11285,7 @@ class Dependency {
|
|
|
11285
11285
|
elSplit[4] = elSplit[4] + '-' + elSplit[5];
|
|
11286
11286
|
elSplit.pop();
|
|
11287
11287
|
}
|
|
11288
|
-
if (elSplit.length === 5 && elSplit[4].length
|
|
11288
|
+
if (elSplit.length === 5 && elSplit[4].length >= 12) {
|
|
11289
11289
|
id = el.substring(0, 36);
|
|
11290
11290
|
if (regex.test(id)) {
|
|
11291
11291
|
isGUId = true;
|
|
@@ -23428,7 +23428,7 @@ class ConnectorLineEdit {
|
|
|
23428
23428
|
elSplit[4] = elSplit[4] + '-' + elSplit[5];
|
|
23429
23429
|
elSplit.pop();
|
|
23430
23430
|
}
|
|
23431
|
-
if (elSplit.length === 5 && elSplit[4].length
|
|
23431
|
+
if (elSplit.length === 5 && elSplit[4].length >= 12) {
|
|
23432
23432
|
id = preArray[j].substring(0, 36);
|
|
23433
23433
|
if (regex.test(id)) {
|
|
23434
23434
|
isGUId = true;
|
|
@@ -28446,7 +28446,7 @@ class Filter$1 {
|
|
|
28446
28446
|
const ganttElement = closest(element, '#' + this.parent.element.id)
|
|
28447
28447
|
|| element.querySelector('#' + this.parent.element.id);
|
|
28448
28448
|
if ((!(this.filterMenuElement.contains(element)) && !isNullOrUndefined(ganttElement)) || (!(this.filterMenuElement.contains(element)) && (isNullOrUndefined(datePickerElement))
|
|
28449
|
-
&& (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON')))) {
|
|
28449
|
+
&& (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON'))) && !element.classList.contains('e-dropdownbase')) {
|
|
28450
28450
|
remove(this.filterMenuElement);
|
|
28451
28451
|
this.parent.treeGrid.grid.notify('filter-menu-close', { isOpen: false });
|
|
28452
28452
|
this.filterMenuElement = null;
|
|
@@ -28596,6 +28596,10 @@ class Filter$1 {
|
|
|
28596
28596
|
if (this.parent.treeGrid.filterSettings.type === 'Menu') {
|
|
28597
28597
|
element.querySelector('.e-valid-input').focus();
|
|
28598
28598
|
}
|
|
28599
|
+
if (this.parent.treeGrid.filterSettings.type === 'Excel') {
|
|
28600
|
+
var inputElement = document.querySelector('.e-searchinput');
|
|
28601
|
+
inputElement.focus();
|
|
28602
|
+
}
|
|
28599
28603
|
}
|
|
28600
28604
|
removeEventListener() {
|
|
28601
28605
|
if (this.parent.isDestroyed) {
|