@masterteam/task-schedule 0.0.23 → 0.0.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/task-schedule",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/task-schedule",
6
6
  "linkDirectory": false,
@@ -11,6 +11,9 @@
11
11
  "@angular/core": "^21.2.8",
12
12
  "@angular/forms": "^21.2.8",
13
13
  "@jsverse/transloco": "^8.3.0",
14
+ "@masterteam/components": "^0.0.206",
15
+ "@masterteam/forms": "^0.0.103",
16
+ "@masterteam/icons": "^0.0.17",
14
17
  "@syncfusion/ej2-angular-gantt": "^32.2.9",
15
18
  "@syncfusion/ej2-base": "^32.2.9",
16
19
  "@syncfusion/ej2-pdf-export": "^32.2.3",
@@ -20,10 +23,7 @@
20
23
  "postcss": "^8.5.9",
21
24
  "primeng": "21.1.5",
22
25
  "tailwindcss": "^4.2.2",
23
- "tailwindcss-primeui": "^0.6.1",
24
- "@masterteam/components": "^0.0.201",
25
- "@masterteam/forms": "^0.0.99",
26
- "@masterteam/icons": "^0.0.17"
26
+ "tailwindcss-primeui": "^0.6.1"
27
27
  },
28
28
  "sideEffects": false,
29
29
  "exports": {
@@ -47,4 +47,4 @@
47
47
  "dependencies": {
48
48
  "tslib": "^2.8.1"
49
49
  }
50
- }
50
+ }
@@ -374,6 +374,7 @@ declare class TaskSchedule implements OnInit, OnDestroy {
374
374
  private applyEditCustomProps;
375
375
  private openScheduleDialog;
376
376
  private handleRowDropped;
377
+ private persistCurrentOrder;
377
378
  private updateTask;
378
379
  private deleteTask;
379
380
  private pushBulkUpdate;
@@ -625,7 +626,13 @@ declare class TaskScheduleImportDialog {
625
626
  private markImportResultDirty;
626
627
  private buildApplyPayloadData;
627
628
  private buildApplyPayloadTask;
628
- private resolveParentGuidForPreviewRow;
629
+ private resolveParentExternalIdForPreviewRow;
630
+ /**
631
+ * A unique, stable external id for the import DTO. The MPP parse yields
632
+ * `guid`/`externalId` of "None" for tasks without one, which the backend
633
+ * rejects as a duplicate/reserved value — fall back to the task's unique id.
634
+ */
635
+ private toStableExternalId;
629
636
  private resolveChildTasks;
630
637
  private resolveTaskKey;
631
638
  private collectTreeNodes;
@@ -638,6 +645,14 @@ declare class TaskScheduleImportDialog {
638
645
  private readAssignedToLabel;
639
646
  private toApiDate;
640
647
  private formatDateForApi;
648
+ /**
649
+ * Submit/import payload dates must be ISO 8601 UTC timestamps ending with
650
+ * 'Z' (backend rejects bare 'YYYY-MM-DD' with VAL_001). `toApiDate` yields a
651
+ * calendar day for display/editing; this widens it to a full UTC instant for
652
+ * the import call. Date-only strings parse as UTC midnight, so the calendar
653
+ * day is preserved (no timezone shift).
654
+ */
655
+ private toApiDateTime;
641
656
  private countTasks;
642
657
  private setError;
643
658
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TaskScheduleImportDialog, never>;