@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.42
3
+ * version : 23.1.43
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@23.1.41",
3
+ "_id": "@syncfusion/ej2-gantt@23.1.42",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-jcs4HoOTCFjd5sg6HO6k4E4cnFZBYamHgtWru3YhD1fcQ1cDEl5j3sxBHdh1dPqSkD/1R9mRrPPMk2EMSW+BqQ==",
5
+ "_integrity": "sha512-g+CmUUPzrTLD37FpCq/HeZ9vBjf1374Ba/UuGN7b7bWnoeCY5TbntcWc6QmZxKqYhcIOisUGTDE6RpFsuv1cYg==",
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-23.1.41.tgz",
27
- "_shasum": "a46af0dab1574ccd5e24f13fc8cff8e239743030",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.42.tgz",
27
+ "_shasum": "480266949e5700ba55acbac9e738143271aa21f4",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -36,20 +36,20 @@
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~23.1.41",
39
- "@syncfusion/ej2-buttons": "~23.1.42",
39
+ "@syncfusion/ej2-buttons": "~23.1.43",
40
40
  "@syncfusion/ej2-calendars": "~23.1.41",
41
- "@syncfusion/ej2-data": "~23.1.36",
42
- "@syncfusion/ej2-dropdowns": "~23.1.42",
43
- "@syncfusion/ej2-grids": "~23.1.42",
44
- "@syncfusion/ej2-inputs": "~23.1.42",
41
+ "@syncfusion/ej2-data": "~23.1.43",
42
+ "@syncfusion/ej2-dropdowns": "~23.1.43",
43
+ "@syncfusion/ej2-grids": "~23.1.43",
44
+ "@syncfusion/ej2-inputs": "~23.1.43",
45
45
  "@syncfusion/ej2-layouts": "~23.1.36",
46
- "@syncfusion/ej2-lists": "~23.1.42",
47
- "@syncfusion/ej2-navigations": "~23.1.41",
46
+ "@syncfusion/ej2-lists": "~23.1.43",
47
+ "@syncfusion/ej2-navigations": "~23.1.43",
48
48
  "@syncfusion/ej2-notifications": "~23.1.40",
49
- "@syncfusion/ej2-popups": "~23.1.38",
50
- "@syncfusion/ej2-richtexteditor": "~23.1.41",
49
+ "@syncfusion/ej2-popups": "~23.1.43",
50
+ "@syncfusion/ej2-richtexteditor": "~23.1.43",
51
51
  "@syncfusion/ej2-svg-base": "~23.1.36",
52
- "@syncfusion/ej2-treegrid": "~23.1.39"
52
+ "@syncfusion/ej2-treegrid": "~23.1.43"
53
53
  },
54
54
  "deprecated": false,
55
55
  "description": "Essential JS 2 Gantt Component",
@@ -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": "23.1.42",
77
+ "version": "23.1.43",
78
78
  "sideEffects": false
79
79
  }
@@ -191,7 +191,7 @@ var ConnectorLineEdit = /** @class */ (function () {
191
191
  elSplit[4] = elSplit[4] + '-' + elSplit[5];
192
192
  elSplit.pop();
193
193
  }
194
- if (elSplit.length === 5 && elSplit[4].length > 12) {
194
+ if (elSplit.length === 5 && elSplit[4].length >= 12) {
195
195
  id = preArray[j].substring(0, 36);
196
196
  if (regex.test(id)) {
197
197
  isGUId = true;
@@ -136,7 +136,7 @@ var Dependency = /** @class */ (function () {
136
136
  elSplit[4] = elSplit[4] + '-' + elSplit[5];
137
137
  elSplit.pop();
138
138
  }
139
- if (elSplit.length === 5 && elSplit[4].length > 12) {
139
+ if (elSplit.length === 5 && elSplit[4].length >= 12) {
140
140
  id = el.substring(0, 36);
141
141
  if (regex.test(id)) {
142
142
  isGUId = true;
@@ -205,7 +205,7 @@ var Filter = /** @class */ (function () {
205
205
  var ganttElement = closest(element, '#' + this.parent.element.id)
206
206
  || element.querySelector('#' + this.parent.element.id);
207
207
  if ((!(this.filterMenuElement.contains(element)) && !isNullOrUndefined(ganttElement)) || (!(this.filterMenuElement.contains(element)) && (isNullOrUndefined(datePickerElement))
208
- && (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON')))) {
208
+ && (isNullOrUndefined(dateTimePickerElement)) && ((element.nodeName === 'DIV') || (element.nodeName === 'HTML') || (element.nodeName === 'SPAN') || (element.nodeName === 'BUTTON'))) && !element.classList.contains('e-dropdownbase')) {
209
209
  remove(this.filterMenuElement);
210
210
  this.parent.treeGrid.grid.notify('filter-menu-close', { isOpen: false });
211
211
  this.filterMenuElement = null;
@@ -902,8 +902,8 @@ var GanttTreeGrid = /** @class */ (function () {
902
902
  }
903
903
  }; // eslint-disable-next-line
904
904
  GanttTreeGrid.prototype.durationValueAccessor = function (field, data, column) {
905
- var ganttProp = data.ganttProperties;
906
- if (!isNullOrUndefined(ganttProp)) {
905
+ if (!isNullOrUndefined(data) && !isNullOrUndefined(data.ganttProperties)) {
906
+ var ganttProp = data.ganttProperties;
907
907
  return this.parent.dataOperation.getDurationString(ganttProp.duration, ganttProp.durationUnit);
908
908
  }
909
909
  else if (!this.parent.loadChildOnDemand && this.parent.taskFields.hasChildMapping) {