@netgrif/components-core 6.0.2-rc.3 → 6.0.2
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/bundles/netgrif-components-core.umd.js +68 -11
- package/bundles/netgrif-components-core.umd.js.map +1 -1
- package/bundles/netgrif-components-core.umd.min.js +1 -1
- package/bundles/netgrif-components-core.umd.min.js.map +1 -1
- package/esm2015/lib/panel/abstract/panel-with-immediate-data.js +5 -1
- package/esm2015/lib/resources/engine-endpoint/task-resource.service.js +2 -1
- package/esm2015/lib/resources/interface/data-groups.js +1 -1
- package/esm2015/lib/resources/interface/immediate-data.js +1 -1
- package/esm2015/lib/task/services/task-data.service.js +10 -4
- package/esm2015/lib/task-content/model/task-fields.js +2 -0
- package/esm2015/lib/task-content/public-api.js +2 -1
- package/esm2015/lib/task-content/services/task-content.service.js +46 -9
- package/esm5/lib/panel/abstract/panel-with-immediate-data.js +7 -1
- package/esm5/lib/resources/engine-endpoint/task-resource.service.js +2 -1
- package/esm5/lib/resources/interface/data-groups.js +1 -1
- package/esm5/lib/resources/interface/immediate-data.js +1 -1
- package/esm5/lib/task/services/task-data.service.js +10 -4
- package/esm5/lib/task-content/model/task-fields.js +2 -0
- package/esm5/lib/task-content/public-api.js +2 -1
- package/esm5/lib/task-content/services/task-content.service.js +53 -9
- package/fesm2015/netgrif-components-core.js +59 -11
- package/fesm2015/netgrif-components-core.js.map +1 -1
- package/fesm5/netgrif-components-core.js +68 -11
- package/fesm5/netgrif-components-core.js.map +1 -1
- package/lib/resources/interface/data-groups.d.ts +4 -0
- package/lib/resources/interface/immediate-data.d.ts +6 -0
- package/lib/task-content/model/task-fields.d.ts +7 -0
- package/lib/task-content/public-api.d.ts +1 -0
- package/lib/task-content/services/task-content.service.d.ts +6 -6
- package/netgrif-components-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,10 @@ export interface DataGroup {
|
|
|
28
28
|
* String id of parent task, only set if dataGroup is loaded by {@link TaskRefField}
|
|
29
29
|
*/
|
|
30
30
|
parentTaskId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* String id of parent task, only set if dataGroup is loaded by {@link TaskRefField}
|
|
33
|
+
*/
|
|
34
|
+
parentTransitionId?: string;
|
|
31
35
|
/**
|
|
32
36
|
* String id of parent case, only set if dataGroup is loaded by {@link TaskRefField}
|
|
33
37
|
*/
|
|
@@ -13,5 +13,6 @@ export * from './model/async-rendering-configuration';
|
|
|
13
13
|
export * from './model/async-rendering-configuration-injection-token';
|
|
14
14
|
export * from './model/subgrid';
|
|
15
15
|
export * from './model/split-data-group';
|
|
16
|
+
export * from './model/task-fields';
|
|
16
17
|
export * from './task-content/abstract-task-content.component';
|
|
17
18
|
export * from './field-component-resolver/abstract-field-component-resolver.component';
|
|
@@ -9,6 +9,7 @@ import { ChangedFields, FrontendActions } from '../../data-fields/models/changed
|
|
|
9
9
|
import { FieldConverterService } from './field-converter.service';
|
|
10
10
|
import { TaskEventOutcome } from '../../event/model/event-outcomes/task-outcomes/task-event-outcome';
|
|
11
11
|
import { DataField } from '../../data-fields/models/abstract-data-field';
|
|
12
|
+
import { TaskFields } from '../model/task-fields';
|
|
12
13
|
/**
|
|
13
14
|
* Acts as a communication interface between the Component that renders Task content and it's parent Component.
|
|
14
15
|
* Also provides some general functionality that is needed when working with task content.
|
|
@@ -53,14 +54,10 @@ export declare abstract class TaskContentService implements OnDestroy {
|
|
|
53
54
|
*/
|
|
54
55
|
get taskDataReloadRequest$(): Observable<FrontendActions>;
|
|
55
56
|
get taskFieldsIndex(): {
|
|
56
|
-
[p: string]:
|
|
57
|
-
[p: string]: DataField<any>;
|
|
58
|
-
};
|
|
57
|
+
[p: string]: TaskFields;
|
|
59
58
|
};
|
|
60
59
|
set taskFieldsIndex(value: {
|
|
61
|
-
[p: string]:
|
|
62
|
-
[p: string]: DataField<any>;
|
|
63
|
-
};
|
|
60
|
+
[p: string]: TaskFields;
|
|
64
61
|
});
|
|
65
62
|
get referencedTaskAndCaseIds(): {
|
|
66
63
|
[p: string]: Array<string>;
|
|
@@ -112,6 +109,7 @@ export declare abstract class TaskContentService implements OnDestroy {
|
|
|
112
109
|
*/
|
|
113
110
|
updateFromChangedFields(chFields: ChangedFields): void;
|
|
114
111
|
private updateField;
|
|
112
|
+
private updateReferencedField;
|
|
115
113
|
/**
|
|
116
114
|
* Performs the specific frontend action.
|
|
117
115
|
*
|
|
@@ -123,4 +121,6 @@ export declare abstract class TaskContentService implements OnDestroy {
|
|
|
123
121
|
*/
|
|
124
122
|
performFrontendAction(frontendAction: FrontendActions): void;
|
|
125
123
|
private isFieldInTaskRef;
|
|
124
|
+
private getReferencedTransitionId;
|
|
125
|
+
private getReferencedTaskId;
|
|
126
126
|
}
|