@syncfusion/ej2-gantt 23.1.38 → 23.1.39

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.38
3
+ * version : 23.1.39
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.36",
3
+ "_id": "@syncfusion/ej2-gantt@23.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-DaqtJNvLhh2v2HifwcrFvSwefaOTuNX8n/XbdImEEiQKiUe47Evc6TY5Ff72S6UPKgXDBG1xOC5voL16bmnFHg==",
5
+ "_integrity": "sha512-7gcsnl8UCmPwQ8UMfRICkbO+c6bVWKCw8aeDruiAH6VIGcNiE7AwTZsdD1thlipSjcyQfv5AY1Gn6msXsXGZJw==",
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.36.tgz",
27
- "_shasum": "13d8042a95ff4d2241be46c4d53bb29609be61eb",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.38.tgz",
27
+ "_shasum": "687573c3bc5e36955859695499fa0e61ef623863",
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.38",
39
- "@syncfusion/ej2-buttons": "~23.1.36",
39
+ "@syncfusion/ej2-buttons": "~23.1.39",
40
40
  "@syncfusion/ej2-calendars": "~23.1.38",
41
41
  "@syncfusion/ej2-data": "~23.1.36",
42
- "@syncfusion/ej2-dropdowns": "~23.1.38",
43
- "@syncfusion/ej2-grids": "~23.1.38",
42
+ "@syncfusion/ej2-dropdowns": "~23.1.39",
43
+ "@syncfusion/ej2-grids": "~23.1.39",
44
44
  "@syncfusion/ej2-inputs": "~23.1.38",
45
45
  "@syncfusion/ej2-layouts": "~23.1.36",
46
46
  "@syncfusion/ej2-lists": "~23.1.36",
47
- "@syncfusion/ej2-navigations": "~23.1.36",
47
+ "@syncfusion/ej2-navigations": "~23.1.39",
48
48
  "@syncfusion/ej2-notifications": "~23.1.36",
49
49
  "@syncfusion/ej2-popups": "~23.1.38",
50
- "@syncfusion/ej2-richtexteditor": "~23.1.36",
50
+ "@syncfusion/ej2-richtexteditor": "~23.1.39",
51
51
  "@syncfusion/ej2-svg-base": "~23.1.36",
52
- "@syncfusion/ej2-treegrid": "~23.1.36"
52
+ "@syncfusion/ej2-treegrid": "~23.1.39"
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.38",
77
+ "version": "23.1.39",
78
78
  "sideEffects": false
79
79
  }
@@ -1099,7 +1099,7 @@ var DialogEdit = /** @class */ (function () {
1099
1099
  else {
1100
1100
  if (value === "") {
1101
1101
  this.parent.setRecordValue('duration', null, ganttProp, true);
1102
- if (ganttProp.endDate) {
1102
+ if (ganttProp.endDate && ganttProp.startDate) {
1103
1103
  this.parent.setRecordValue('endDate', null, ganttProp, true);
1104
1104
  }
1105
1105
  }
@@ -1,5 +1,5 @@
1
1
  import { isNullOrUndefined, isUndefined, extend, setValue, getValue, deleteObject, createElement } from '@syncfusion/ej2-base';
2
- import { DataManager, Query, ODataAdaptor, WebApiAdaptor } from '@syncfusion/ej2-data';
2
+ import { DataManager, Query, ODataAdaptor, WebApiAdaptor, ODataV4Adaptor } from '@syncfusion/ej2-data';
3
3
  import { getUid } from '@syncfusion/ej2-grids';
4
4
  import { getSwapKey, isScheduledTask, getTaskData, isRemoteData, getIndex, isCountRequired, updateDates } from '../base/utils';
5
5
  import { CellEdit } from './cell-edit';
@@ -3008,8 +3008,7 @@ var Edit = /** @class */ (function () {
3008
3008
  /* tslint:disable-next-line */
3009
3009
  var query = _this.parent.query instanceof Query ? _this.parent.query : new Query();
3010
3010
  var adaptor = data_2.adaptor;
3011
- var moduleName = adaptor.getModuleName();
3012
- if (!(moduleName == "WebApiAdaptor" || moduleName == "ODataAdaptor" || moduleName == "ODataV4Adaptor") || data_2.dataSource.batchUrl) {
3011
+ if (!(adaptor instanceof WebApiAdaptor || adaptor instanceof ODataAdaptor || adaptor instanceof ODataV4Adaptor) || data_2.dataSource.batchUrl) {
3013
3012
  /* tslint:disable-next-line */
3014
3013
  var crud = data_2.saveChanges(updatedData_2, _this.parent.taskFields.id, null, query);
3015
3014
  crud.then(function (e) {
@@ -24,7 +24,7 @@ var Tooltip = /** @class */ (function () {
24
24
  '.e-gantt-parent-taskbar, .e-gantt-milestone, .e-gantt-unscheduled-taskbar' +
25
25
  '.e-event-markers, .e-baseline-bar, .e-event-markers,' +
26
26
  '.e-connector-line-container, .e-indicator-span, .e-notes-info, .e-gantt-manualparent-milestone,' +
27
- '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone, .e-gantt-manualparenttaskbar';
27
+ '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone-container, .e-gantt-manualparenttaskbar';
28
28
  this.toolTipObj.position = 'BottomCenter';
29
29
  this.toolTipObj.openDelay = 700;
30
30
  this.toolTipObj.enableRtl = this.parent.enableRtl;
@@ -92,7 +92,7 @@ var Tooltip = /** @class */ (function () {
92
92
  parent.tooltipModule.getTooltipContent((data.ganttProperties.isMilestone ? 'milestone' : 'taskbar'), data, parent, args) : "";
93
93
  }
94
94
  else if (args.target.classList.contains('e-baseline-bar') ||
95
- args.target.classList.contains('e-baseline-gantt-milestone')) {
95
+ args.target.classList.contains('e-baseline-gantt-milestone-container')) {
96
96
  var baseLineTemplateNode = void 0;
97
97
  if ((parent.tooltipSettings.baseline)) {
98
98
  baseLineTemplateNode = parent.tooltipModule.templateCompiler(parent.tooltipSettings.baseline, parent, data, 'TooltipBaselineTemplate');
@@ -263,7 +263,7 @@ var Tooltip = /** @class */ (function () {
263
263
  case 'milestone':
264
264
  {
265
265
  var milestoneStartDate = void 0;
266
- if (args.target.className.includes('e-baseline-gantt-milestone') && !isNullOrUndefined(data.baselineStartDate)) {
266
+ if (args.target.className.includes('e-baseline-gantt-milestone-container') && !isNullOrUndefined(data.baselineStartDate)) {
267
267
  milestoneStartDate = data.baselineStartDate;
268
268
  }
269
269
  else if (!isNullOrUndefined(data.startDate)) {