@masterteam/task-schedule 0.0.15 → 0.0.17
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.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/task-schedule",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"primeng": "21.1.5",
|
|
22
22
|
"tailwindcss": "^4.2.2",
|
|
23
23
|
"tailwindcss-primeui": "^0.6.1",
|
|
24
|
-
"@masterteam/components": "^0.0.
|
|
25
|
-
"@masterteam/
|
|
26
|
-
"@masterteam/
|
|
24
|
+
"@masterteam/components": "^0.0.189",
|
|
25
|
+
"@masterteam/icons": "^0.0.16",
|
|
26
|
+
"@masterteam/forms": "^0.0.90"
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"exports": {
|
|
@@ -34,6 +34,9 @@ interface TaskScheduleContext {
|
|
|
34
34
|
allowSetBaseline?: boolean;
|
|
35
35
|
hasTasks?: boolean;
|
|
36
36
|
baselinePending?: boolean;
|
|
37
|
+
mppRequestTimeoutMs?: number;
|
|
38
|
+
mppPreviewMaxRows?: number;
|
|
39
|
+
mppKeepRawPayload?: boolean;
|
|
37
40
|
resources?: Array<Record<string, unknown>>;
|
|
38
41
|
endpoints?: TaskScheduleContextEndpoints;
|
|
39
42
|
pdfFonts?: TaskSchedulePdfFonts;
|
|
@@ -134,6 +137,7 @@ interface TaskScheduleCustomProperty {
|
|
|
134
137
|
name: string;
|
|
135
138
|
viewType: TaskSchedulePropertyViewType;
|
|
136
139
|
normalizedKey?: string;
|
|
140
|
+
sourceKey?: string;
|
|
137
141
|
isRequired?: boolean;
|
|
138
142
|
isCalculated?: boolean;
|
|
139
143
|
dependsOn?: TaskSchedulePropertyDependency[];
|
|
@@ -262,6 +266,7 @@ interface TaskScheduleDataResult {
|
|
|
262
266
|
interface TaskScheduleFetchDataAdapter {
|
|
263
267
|
load(modelType: TaskScheduleModelType, context: TaskScheduleContext): Observable<TaskScheduleDataResult>;
|
|
264
268
|
importTasks?(context: TaskScheduleContext, file: File): Observable<TaskScheduleImportResult>;
|
|
269
|
+
exportTasks?(context: TaskScheduleContext): Observable<Blob>;
|
|
265
270
|
loadBaselineSnapshot?(context: TaskScheduleContext, version?: number | 'latest'): Observable<TaskScheduleBaselineSnapshot>;
|
|
266
271
|
}
|
|
267
272
|
interface TaskScheduleActionDataAdapter {
|
|
@@ -310,6 +315,7 @@ declare class TaskSchedule implements OnInit, OnDestroy {
|
|
|
310
315
|
private readonly fetchService;
|
|
311
316
|
private readonly actionService;
|
|
312
317
|
private readonly modal;
|
|
318
|
+
private readonly dateFormats;
|
|
313
319
|
private readonly queueService;
|
|
314
320
|
private readonly injector;
|
|
315
321
|
private loadEffect?;
|
|
@@ -392,6 +398,7 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
392
398
|
private readonly http;
|
|
393
399
|
load(modelType: TaskScheduleModelType, context: TaskScheduleContext): Observable<TaskScheduleDataResult>;
|
|
394
400
|
importTasks(context: TaskScheduleContext, file: File): Observable<TaskScheduleImportResult>;
|
|
401
|
+
exportTasks(context: TaskScheduleContext): Observable<Blob>;
|
|
395
402
|
loadBaselineSnapshot(context: TaskScheduleContext, version?: number | 'latest'): Observable<TaskScheduleBaselineSnapshot>;
|
|
396
403
|
private loadReadResult;
|
|
397
404
|
private loadBaselineResult;
|
|
@@ -401,7 +408,11 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
401
408
|
private mapGroupedTasks;
|
|
402
409
|
private mapLooseTasks;
|
|
403
410
|
private mapTaskSource;
|
|
411
|
+
private mapTaskChildren;
|
|
404
412
|
private mapCustomProperties;
|
|
413
|
+
private mapPropertyAliases;
|
|
414
|
+
private resolveNativePropertyKey;
|
|
415
|
+
private addPropertyAlias;
|
|
405
416
|
private mapCustomValues;
|
|
406
417
|
private buildBaselineTasks;
|
|
407
418
|
private buildTree;
|
|
@@ -415,11 +426,15 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
415
426
|
private readData;
|
|
416
427
|
private levelEndpoint;
|
|
417
428
|
private requireId;
|
|
429
|
+
private resolveMppRequestTimeoutMs;
|
|
430
|
+
private resolveMppPreviewMaxRows;
|
|
418
431
|
private readEndpoint;
|
|
419
432
|
private interpolateEndpointTemplate;
|
|
420
433
|
private extractTaskRows;
|
|
421
434
|
private extractArray;
|
|
422
435
|
private readObjectValue;
|
|
436
|
+
private readNativeValue;
|
|
437
|
+
private readNativeRawValue;
|
|
423
438
|
private readSourceValue;
|
|
424
439
|
private readNestedValue;
|
|
425
440
|
private readSourceRawValue;
|
|
@@ -438,6 +453,8 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
438
453
|
private normalizeProgress;
|
|
439
454
|
private readNamedString;
|
|
440
455
|
private toDate;
|
|
456
|
+
private parseDateOnly;
|
|
457
|
+
private toLocalDate;
|
|
441
458
|
private readLegacyHolidays;
|
|
442
459
|
private readId;
|
|
443
460
|
private toNullableString;
|
|
@@ -503,6 +520,7 @@ declare class TaskScheduleActionService implements TaskScheduleActionDataAdapter
|
|
|
503
520
|
private readEndpoint;
|
|
504
521
|
private interpolateEndpointTemplate;
|
|
505
522
|
private requireId;
|
|
523
|
+
private resolveMppRequestTimeoutMs;
|
|
506
524
|
private requireProcessId;
|
|
507
525
|
private readId;
|
|
508
526
|
private toTaskId;
|
|
@@ -604,12 +622,14 @@ declare class TaskScheduleImportDialog {
|
|
|
604
622
|
toProgressEntity(task: TaskScheduleTask): EntityData;
|
|
605
623
|
private updateRowTask;
|
|
606
624
|
private findTaskByRowKey;
|
|
625
|
+
private findTaskByPath;
|
|
607
626
|
private readPathFromRowKey;
|
|
608
627
|
private markImportResultDirty;
|
|
609
628
|
private buildApplyPayloadData;
|
|
629
|
+
private buildApplyPayloadTask;
|
|
630
|
+
private resolveParentGuidForPreviewRow;
|
|
610
631
|
private resolveChildTasks;
|
|
611
632
|
private resolveTaskKey;
|
|
612
|
-
private collectTaskKeys;
|
|
613
633
|
private resolveAssignedTo;
|
|
614
634
|
private resolveContextResourceIdByName;
|
|
615
635
|
private readAssignedToLabel;
|