@syncfusion/ej2-gantt 23.1.42 → 23.1.43

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.
@@ -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
- var ganttProp = data.ganttProperties;
8535
- if (!isNullOrUndefined(ganttProp)) {
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 > 12) {
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 > 12) {
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;