@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.
@@ -13163,7 +13163,7 @@ class Tooltip$1 {
13163
13163
  '.e-gantt-parent-taskbar, .e-gantt-milestone, .e-gantt-unscheduled-taskbar' +
13164
13164
  '.e-event-markers, .e-baseline-bar, .e-event-markers,' +
13165
13165
  '.e-connector-line-container, .e-indicator-span, .e-notes-info, .e-gantt-manualparent-milestone,' +
13166
- '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone, .e-gantt-manualparenttaskbar';
13166
+ '.e-taskbar-left-resizer, .e-taskbar-right-resizer, .e-baseline-gantt-milestone-container, .e-gantt-manualparenttaskbar';
13167
13167
  this.toolTipObj.position = 'BottomCenter';
13168
13168
  this.toolTipObj.openDelay = 700;
13169
13169
  this.toolTipObj.enableRtl = this.parent.enableRtl;
@@ -13231,7 +13231,7 @@ class Tooltip$1 {
13231
13231
  parent.tooltipModule.getTooltipContent((data.ganttProperties.isMilestone ? 'milestone' : 'taskbar'), data, parent, args) : "";
13232
13232
  }
13233
13233
  else if (args.target.classList.contains('e-baseline-bar') ||
13234
- args.target.classList.contains('e-baseline-gantt-milestone')) {
13234
+ args.target.classList.contains('e-baseline-gantt-milestone-container')) {
13235
13235
  let baseLineTemplateNode;
13236
13236
  if ((parent.tooltipSettings.baseline)) {
13237
13237
  baseLineTemplateNode = parent.tooltipModule.templateCompiler(parent.tooltipSettings.baseline, parent, data, 'TooltipBaselineTemplate');
@@ -13402,7 +13402,7 @@ class Tooltip$1 {
13402
13402
  case 'milestone':
13403
13403
  {
13404
13404
  let milestoneStartDate;
13405
- if (args.target.className.includes('e-baseline-gantt-milestone') && !isNullOrUndefined(data.baselineStartDate)) {
13405
+ if (args.target.className.includes('e-baseline-gantt-milestone-container') && !isNullOrUndefined(data.baselineStartDate)) {
13406
13406
  milestoneStartDate = data.baselineStartDate;
13407
13407
  }
13408
13408
  else if (!isNullOrUndefined(data.startDate)) {
@@ -21929,7 +21929,7 @@ class DialogEdit {
21929
21929
  else {
21930
21930
  if (value === "") {
21931
21931
  this.parent.setRecordValue('duration', null, ganttProp, true);
21932
- if (ganttProp.endDate) {
21932
+ if (ganttProp.endDate && ganttProp.startDate) {
21933
21933
  this.parent.setRecordValue('endDate', null, ganttProp, true);
21934
21934
  }
21935
21935
  }
@@ -27189,8 +27189,7 @@ class Edit$2 {
27189
27189
  /* tslint:disable-next-line */
27190
27190
  const query = this.parent.query instanceof Query ? this.parent.query : new Query();
27191
27191
  const adaptor = data.adaptor;
27192
- const moduleName = adaptor.getModuleName();
27193
- if (!(moduleName == "WebApiAdaptor" || moduleName == "ODataAdaptor" || moduleName == "ODataV4Adaptor") || data.dataSource.batchUrl) {
27192
+ if (!(adaptor instanceof WebApiAdaptor || adaptor instanceof ODataAdaptor || adaptor instanceof ODataV4Adaptor) || data.dataSource.batchUrl) {
27194
27193
  /* tslint:disable-next-line */
27195
27194
  const crud = data.saveChanges(updatedData, this.parent.taskFields.id, null, query);
27196
27195
  crud.then((e) => {