@masterteam/task-schedule 0.0.15 → 0.0.16
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.16",
|
|
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.186",
|
|
25
|
+
"@masterteam/icons": "^0.0.16",
|
|
26
|
+
"@masterteam/forms": "^0.0.88"
|
|
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 {
|
|
@@ -392,6 +397,7 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
392
397
|
private readonly http;
|
|
393
398
|
load(modelType: TaskScheduleModelType, context: TaskScheduleContext): Observable<TaskScheduleDataResult>;
|
|
394
399
|
importTasks(context: TaskScheduleContext, file: File): Observable<TaskScheduleImportResult>;
|
|
400
|
+
exportTasks(context: TaskScheduleContext): Observable<Blob>;
|
|
395
401
|
loadBaselineSnapshot(context: TaskScheduleContext, version?: number | 'latest'): Observable<TaskScheduleBaselineSnapshot>;
|
|
396
402
|
private loadReadResult;
|
|
397
403
|
private loadBaselineResult;
|
|
@@ -401,7 +407,11 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
401
407
|
private mapGroupedTasks;
|
|
402
408
|
private mapLooseTasks;
|
|
403
409
|
private mapTaskSource;
|
|
410
|
+
private mapTaskChildren;
|
|
404
411
|
private mapCustomProperties;
|
|
412
|
+
private mapPropertyAliases;
|
|
413
|
+
private resolveNativePropertyKey;
|
|
414
|
+
private addPropertyAlias;
|
|
405
415
|
private mapCustomValues;
|
|
406
416
|
private buildBaselineTasks;
|
|
407
417
|
private buildTree;
|
|
@@ -415,11 +425,15 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
415
425
|
private readData;
|
|
416
426
|
private levelEndpoint;
|
|
417
427
|
private requireId;
|
|
428
|
+
private resolveMppRequestTimeoutMs;
|
|
429
|
+
private resolveMppPreviewMaxRows;
|
|
418
430
|
private readEndpoint;
|
|
419
431
|
private interpolateEndpointTemplate;
|
|
420
432
|
private extractTaskRows;
|
|
421
433
|
private extractArray;
|
|
422
434
|
private readObjectValue;
|
|
435
|
+
private readNativeValue;
|
|
436
|
+
private readNativeRawValue;
|
|
423
437
|
private readSourceValue;
|
|
424
438
|
private readNestedValue;
|
|
425
439
|
private readSourceRawValue;
|
|
@@ -438,6 +452,8 @@ declare class TaskScheduleFetchService implements TaskScheduleFetchDataAdapter {
|
|
|
438
452
|
private normalizeProgress;
|
|
439
453
|
private readNamedString;
|
|
440
454
|
private toDate;
|
|
455
|
+
private parseDateOnly;
|
|
456
|
+
private toLocalDate;
|
|
441
457
|
private readLegacyHolidays;
|
|
442
458
|
private readId;
|
|
443
459
|
private toNullableString;
|
|
@@ -503,6 +519,7 @@ declare class TaskScheduleActionService implements TaskScheduleActionDataAdapter
|
|
|
503
519
|
private readEndpoint;
|
|
504
520
|
private interpolateEndpointTemplate;
|
|
505
521
|
private requireId;
|
|
522
|
+
private resolveMppRequestTimeoutMs;
|
|
506
523
|
private requireProcessId;
|
|
507
524
|
private readId;
|
|
508
525
|
private toTaskId;
|
|
@@ -604,12 +621,14 @@ declare class TaskScheduleImportDialog {
|
|
|
604
621
|
toProgressEntity(task: TaskScheduleTask): EntityData;
|
|
605
622
|
private updateRowTask;
|
|
606
623
|
private findTaskByRowKey;
|
|
624
|
+
private findTaskByPath;
|
|
607
625
|
private readPathFromRowKey;
|
|
608
626
|
private markImportResultDirty;
|
|
609
627
|
private buildApplyPayloadData;
|
|
628
|
+
private buildApplyPayloadTask;
|
|
629
|
+
private resolveParentGuidForPreviewRow;
|
|
610
630
|
private resolveChildTasks;
|
|
611
631
|
private resolveTaskKey;
|
|
612
|
-
private collectTaskKeys;
|
|
613
632
|
private resolveAssignedTo;
|
|
614
633
|
private resolveContextResourceIdByName;
|
|
615
634
|
private readAssignedToLabel;
|