@syncfusion/ej2-gantt 21.1.35 → 21.1.37
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 +9 -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 -4
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +10 -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 +19 -19
- package/src/gantt/base/gantt.js +8 -3
- package/src/gantt/export/pdf-gantt.js +1 -1
- package/src/gantt/export/pdf-taskbar.js +1 -0
|
@@ -16202,12 +16202,17 @@ var Gantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
16202
16202
|
var id = ganttData.rowUniqueID;
|
|
16203
16203
|
var task = this.getRecordByID(id);
|
|
16204
16204
|
var isValid = false;
|
|
16205
|
-
if (isNullOrUndefined(value) || (!isNullOrUndefined(value) && !isNullOrUndefined(
|
|
16206
|
-
|
|
16205
|
+
if (isNullOrUndefined(value) || (!isNullOrUndefined(value) && !isNullOrUndefined(record["" + field]) && (value instanceof Date ? value.getTime() !==
|
|
16206
|
+
record["" + field].getTime() : record["" + field] !== value))) {
|
|
16207
16207
|
isValid = true;
|
|
16208
16208
|
}
|
|
16209
16209
|
if (task && ((this.editedRecords.indexOf(task) === -1 && isValid) || this.editedRecords.length === 0)) {
|
|
16210
|
-
this.
|
|
16210
|
+
if (this.editModule['draggedRecord'] && this.editModule['draggedRecord'].ganttProperties.taskId === ganttData.taskId) {
|
|
16211
|
+
this.editedRecords.splice(0, 0, task);
|
|
16212
|
+
}
|
|
16213
|
+
else {
|
|
16214
|
+
this.editedRecords.push(task);
|
|
16215
|
+
}
|
|
16211
16216
|
if (this.enableImmutableMode) {
|
|
16212
16217
|
this.modifiedRecords.push(task);
|
|
16213
16218
|
}
|
|
@@ -35287,6 +35292,7 @@ var PdfGanttTaskbarCollection = /** @__PURE__ @class */ (function () {
|
|
|
35287
35292
|
}
|
|
35288
35293
|
else {
|
|
35289
35294
|
taskGraphics.drawRectangle(taskbarPen, taskBrush, startPoint.x + pixelToPoint(this.left - cumulativeWidth) + 0.5, startPoint.y + adjustHeight, pixelToPoint(renderWidth), pixelToPoint(taskbar.height));
|
|
35295
|
+
taskbar.width = taskbar.width - renderWidth;
|
|
35290
35296
|
if (this.isScheduledTask) {
|
|
35291
35297
|
var progressBoundsWidth = 0;
|
|
35292
35298
|
if (this.progressWidth <= renderWidth) {
|
|
@@ -36273,7 +36279,7 @@ var PdfGantt = /** @__PURE__ @class */ (function (_super) {
|
|
|
36273
36279
|
&& this.parent.cloneProjectStartDate.getSeconds() === 0) {
|
|
36274
36280
|
this.parent.cloneProjectStartDate.setHours(8);
|
|
36275
36281
|
}
|
|
36276
|
-
var timelineStartDate = this.parent.dataOperation.getDateFromFormat(this.parent.
|
|
36282
|
+
var timelineStartDate = this.parent.dataOperation.getDateFromFormat(this.parent.timelineModule.timelineStartDate);
|
|
36277
36283
|
var count = isNullOrUndefined(timelineSettings.customTimelineSettings.bottomTier.count) ?
|
|
36278
36284
|
timelineSettings.customTimelineSettings.topTier.count : timelineSettings.customTimelineSettings.bottomTier.count;
|
|
36279
36285
|
var scheduleType = timelineSettings.customTimelineSettings.bottomTier.unit === 'None' ?
|