@syncfusion/ej2-gantt 20.4.48 → 20.4.50

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.
@@ -3723,8 +3723,10 @@ class TaskProcessor extends DateProcessor {
3723
3723
  progressValues = this.getParentProgress(childData);
3724
3724
  totalProgress += getValue('totalProgress', progressValues);
3725
3725
  if (childData[this.parent.taskFields.duration] < 1) {
3726
- totalDuration += getValue('totalDuration', progressValues);
3727
- totalDuration = Number(totalDuration.toFixed(4));
3726
+ if (typeof (getValue('totalDuration', progressValues)) != 'object') {
3727
+ totalDuration += getValue('totalDuration', progressValues);
3728
+ totalDuration = Number(totalDuration.toFixed(4));
3729
+ }
3728
3730
  }
3729
3731
  else {
3730
3732
  totalDuration += getValue('totalDuration', progressValues);
@@ -5162,7 +5164,7 @@ class GanttChart {
5162
5164
  const isTab = (e.action === 'tab') ? true : false;
5163
5165
  const nextElement = this.getNextElement($target, isTab, isInEditedState);
5164
5166
  this.tempNextElement = nextElement;
5165
- if (!isNullOrUndefined(nextElement['cellIndex'])) {
5167
+ if (!isNullOrUndefined(nextElement) && !isNullOrUndefined(nextElement['cellIndex'])) {
5166
5168
  if (this.parent.allowRowDragAndDrop) {
5167
5169
  this.childrenIndex = nextElement['cellIndex'];
5168
5170
  this.nextElementIndex = nextElement['cellIndex'] - 1;
@@ -20421,6 +20423,8 @@ class DialogEdit {
20421
20423
  if (taskSettings.duration === columnName) {
20422
20424
  if (!isNullOrUndefined(value) && value !== '') {
20423
20425
  ganttObj.dataOperation.updateDurationValue(value, ganttProp);
20426
+ this.parent.setRecordValue(taskSettings.duration, value, currentData);
20427
+ this.parent.setRecordValue('taskData.' + taskSettings.duration, ganttProp.duration, currentData);
20424
20428
  }
20425
20429
  else {
20426
20430
  if (ganttObj.allowUnscheduledTasks) {
@@ -23401,7 +23405,7 @@ class Edit$2 {
23401
23405
  this.parent.predecessorModule.isValidatedParentTaskID = '';
23402
23406
  }
23403
23407
  if (ganttRecord.hasChildRecords && this.parent.previousRecords[ganttRecord.uniqueID].ganttProperties.startDate &&
23404
- (args.action === "DrawConnectorLine" || args.action === "CellEditing" || args.action === "DialogEditing")) {
23408
+ (args.action === "DrawConnectorLine")) {
23405
23409
  this.updateChildItems(ganttRecord);
23406
23410
  }
23407
23411
  this.updateParentItemOnEditing();
@@ -31272,7 +31276,8 @@ class PdfPaddings {
31272
31276
  /**
31273
31277
  * Base class for the `treegrid style`,
31274
31278
  */
31275
-
31279
+ class PdfTreeGridStyleBase {
31280
+ }
31276
31281
  /**
31277
31282
  * `PdfTreeGridStyle` class provides customization of the appearance for the 'PdfGrid'.
31278
31283
  *
@@ -34898,5 +34903,5 @@ class VirtualScroll$1 {
34898
34903
  * Gantt index file
34899
34904
  */
34900
34905
 
34901
- export { Gantt, PdfHorizontalOverflowType, parentsUntil$1 as parentsUntil, isScheduledTask, isCountRequired, getSwapKey, isRemoteData, getTaskData, updateDates, formatString, getIndex, pixelToPoint, pointToPixel, getUid$1 as getUid, load, rowDataBound, queryCellInfo, toolbarClick, keyPressed, Edit$2 as Edit, Reorder$1 as Reorder, Resize$1 as Resize, Filter$1 as Filter, Sort$1 as Sort, Dependency, Selection$1 as Selection, Toolbar$3 as Toolbar, DayMarkers, CriticalPath, ContextMenu$2 as ContextMenu, ExcelExport$1 as ExcelExport, ColumnMenu$1 as ColumnMenu, RowDD$1 as RowDD, PdfExport, VirtualScroll$1 as VirtualScroll, Column, DayWorkingTime, AddDialogFieldSettings, EditDialogFieldSettings, EditSettings, EventMarker, FilterSettings, SearchSettings, Holiday, LabelSettings, SelectionSettings, SplitterSettings, TaskFields, TimelineTierSettings, TimelineSettings, TooltipSettings, SortDescriptor, SortSettings, ResourceFields, LoadingIndicator };
34906
+ export { Gantt, PdfHorizontalOverflowType, parentsUntil$1 as parentsUntil, isScheduledTask, isCountRequired, getSwapKey, isRemoteData, getTaskData, updateDates, formatString, getIndex, pixelToPoint, pointToPixel, getUid$1 as getUid, load, rowDataBound, queryCellInfo, toolbarClick, keyPressed, Edit$2 as Edit, Reorder$1 as Reorder, Resize$1 as Resize, Filter$1 as Filter, Sort$1 as Sort, Dependency, Selection$1 as Selection, Toolbar$3 as Toolbar, DayMarkers, CriticalPath, ContextMenu$2 as ContextMenu, ExcelExport$1 as ExcelExport, ColumnMenu$1 as ColumnMenu, RowDD$1 as RowDD, PdfExport, VirtualScroll$1 as VirtualScroll, Column, DayWorkingTime, AddDialogFieldSettings, EditDialogFieldSettings, EditSettings, EventMarker, FilterSettings, SearchSettings, Holiday, LabelSettings, SelectionSettings, SplitterSettings, TaskFields, TimelineTierSettings, TimelineSettings, TooltipSettings, SortDescriptor, SortSettings, ResourceFields, LoadingIndicator, TemporaryDictionary, PdfBorders, PdfPaddings, PdfTreeGridStyleBase, PdfTreeGridStyle, PdfGanttTheme, PdfTreeGridLayouter, PdfTreeGridLayoutResult, PdfTreeGridLayoutFormat, PdfTreeGridCell, PdfTreeGridCellCollection, PdfTreeGridRow, PdfTreeGridRowCollection, PdfTreeGridHeaderCollection, PdfTreeGridColumn, PdfTreeGridColumnCollection };
34902
34907
  //# sourceMappingURL=ej2-gantt.es2015.js.map