@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
|
@@ -8531,8 +8531,8 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
|
|
|
8531
8531
|
}
|
|
8532
8532
|
}; // eslint-disable-next-line
|
|
8533
8533
|
GanttTreeGrid.prototype.durationValueAccessor = function (field, data, column) {
|
|
8534
|
-
|
|
8535
|
-
|
|
8534
|
+
if (!isNullOrUndefined(data) && !isNullOrUndefined(data.ganttProperties)) {
|
|
8535
|
+
var ganttProp = data.ganttProperties;
|
|
8536
8536
|
return this.parent.dataOperation.getDurationString(ganttProp.duration, ganttProp.durationUnit);
|
|
8537
8537
|
}
|
|
8538
8538
|
else if (!this.parent.loadChildOnDemand && this.parent.taskFields.hasChildMapping) {
|
|
@@ -11703,7 +11703,7 @@ var Dependency = /** @__PURE__ @class */ (function () {
|
|
|
11703
11703
|
elSplit[4] = elSplit[4] + '-' + elSplit[5];
|
|
11704
11704
|
elSplit.pop();
|
|
11705
11705
|
}
|
|
11706
|
-
if (elSplit.length === 5 && elSplit[4].length
|
|
11706
|
+
if (elSplit.length === 5 && elSplit[4].length >= 12) {
|
|
11707
11707
|
id = el.substring(0, 36);
|
|
11708
11708
|
if (regex.test(id)) {
|
|
11709
11709
|
isGUId = true;
|
|
@@ -23932,7 +23932,7 @@ var ConnectorLineEdit = /** @__PURE__ @class */ (function () {
|
|
|
23932
23932
|
elSplit[4] = elSplit[4] + '-' + elSplit[5];
|
|
23933
23933
|
elSplit.pop();
|
|
23934
23934
|
}
|
|
23935
|
-
if (elSplit.length === 5 && elSplit[4].length
|
|
23935
|
+
if (elSplit.length === 5 && elSplit[4].length >= 12) {
|
|
23936
23936
|
id = preArray[j].substring(0, 36);
|
|
23937
23937
|
if (regex.test(id)) {
|
|
23938
23938
|
isGUId = true;
|
|
@@ -29005,7 +29005,7 @@ var Filter$1 = /** @__PURE__ @class */ (function () {
|
|
|
29005
29005
|
var ganttElement = closest(element, '#' + this.parent.element.id)
|
|
29006
29006
|
|| element.querySelector('#' + this.parent.element.id);
|
|
29007
29007
|
if ((!(this.filterMenuElement.contains(element)) && !isNullOrUndefined(ganttElement)) || (!(this.filterMenuElement.contains(element)) && (isNullOrUndefined(datePickerElement))
|
|
29008
|
-
&& (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON')))) {
|
|
29008
|
+
&& (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON'))) && !element.classList.contains('e-dropdownbase')) {
|
|
29009
29009
|
remove(this.filterMenuElement);
|
|
29010
29010
|
this.parent.treeGrid.grid.notify('filter-menu-close', { isOpen: false });
|
|
29011
29011
|
this.filterMenuElement = null;
|
|
@@ -29155,6 +29155,10 @@ var Filter$1 = /** @__PURE__ @class */ (function () {
|
|
|
29155
29155
|
if (this.parent.treeGrid.filterSettings.type === 'Menu') {
|
|
29156
29156
|
element.querySelector('.e-valid-input').focus();
|
|
29157
29157
|
}
|
|
29158
|
+
if (this.parent.treeGrid.filterSettings.type === 'Excel') {
|
|
29159
|
+
var inputElement = document.querySelector('.e-searchinput');
|
|
29160
|
+
inputElement.focus();
|
|
29161
|
+
}
|
|
29158
29162
|
};
|
|
29159
29163
|
Filter$$1.prototype.removeEventListener = function () {
|
|
29160
29164
|
if (this.parent.isDestroyed) {
|