@syncfusion/ej2-gantt 20.4.48 → 20.4.49
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.
- package/CHANGELOG.md +10 -0
- package/dist/ej2-gantt.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +10 -5
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +16 -4
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/gantt/actions/dialog-edit.js +2 -0
- package/src/gantt/actions/edit.js +1 -1
- package/src/gantt/base/task-processor.js +4 -2
- package/src/gantt/index.d.ts +1 -0
- package/src/gantt/index.js +1 -0
|
@@ -3768,8 +3768,10 @@ var TaskProcessor = /** @__PURE__ @class */ (function (_super) {
|
|
|
3768
3768
|
progressValues = this.getParentProgress(childData);
|
|
3769
3769
|
totalProgress += getValue('totalProgress', progressValues);
|
|
3770
3770
|
if (childData[this.parent.taskFields.duration] < 1) {
|
|
3771
|
-
|
|
3772
|
-
|
|
3771
|
+
if (typeof (getValue('totalDuration', progressValues)) != 'object') {
|
|
3772
|
+
totalDuration += getValue('totalDuration', progressValues);
|
|
3773
|
+
totalDuration = Number(totalDuration.toFixed(4));
|
|
3774
|
+
}
|
|
3773
3775
|
}
|
|
3774
3776
|
else {
|
|
3775
3777
|
totalDuration += getValue('totalDuration', progressValues);
|
|
@@ -20898,6 +20900,8 @@ var DialogEdit = /** @__PURE__ @class */ (function () {
|
|
|
20898
20900
|
if (taskSettings.duration === columnName) {
|
|
20899
20901
|
if (!isNullOrUndefined(value) && value !== '') {
|
|
20900
20902
|
ganttObj.dataOperation.updateDurationValue(value, ganttProp);
|
|
20903
|
+
this.parent.setRecordValue(taskSettings.duration, value, currentData);
|
|
20904
|
+
this.parent.setRecordValue('taskData.' + taskSettings.duration, ganttProp.duration, currentData);
|
|
20901
20905
|
}
|
|
20902
20906
|
else {
|
|
20903
20907
|
if (ganttObj.allowUnscheduledTasks) {
|
|
@@ -23923,7 +23927,7 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
23923
23927
|
this.parent.predecessorModule.isValidatedParentTaskID = '';
|
|
23924
23928
|
}
|
|
23925
23929
|
if (ganttRecord.hasChildRecords && this.parent.previousRecords[ganttRecord.uniqueID].ganttProperties.startDate &&
|
|
23926
|
-
(args.action === "DrawConnectorLine"
|
|
23930
|
+
(args.action === "DrawConnectorLine")) {
|
|
23927
23931
|
this.updateChildItems(ganttRecord);
|
|
23928
23932
|
}
|
|
23929
23933
|
this.updateParentItemOnEditing();
|
|
@@ -31934,6 +31938,14 @@ var PdfPaddings = /** @__PURE__ @class */ (function () {
|
|
|
31934
31938
|
/**
|
|
31935
31939
|
* PdfGridStyleBase.ts class for EJ2-PDF
|
|
31936
31940
|
*/
|
|
31941
|
+
/**
|
|
31942
|
+
* Base class for the `treegrid style`,
|
|
31943
|
+
*/
|
|
31944
|
+
var PdfTreeGridStyleBase = /** @__PURE__ @class */ (function () {
|
|
31945
|
+
function PdfTreeGridStyleBase() {
|
|
31946
|
+
}
|
|
31947
|
+
return PdfTreeGridStyleBase;
|
|
31948
|
+
}());
|
|
31937
31949
|
/**
|
|
31938
31950
|
* `PdfTreeGridStyle` class provides customization of the appearance for the 'PdfGrid'.
|
|
31939
31951
|
*
|
|
@@ -35782,5 +35794,5 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
|
|
|
35782
35794
|
* Gantt index file
|
|
35783
35795
|
*/
|
|
35784
35796
|
|
|
35785
|
-
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 };
|
|
35797
|
+
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 };
|
|
35786
35798
|
//# sourceMappingURL=ej2-gantt.es5.js.map
|