@alfresco/adf-process-services-cloud 8.4.0-17724113611 → 8.4.0-17729412276
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/fesm2022/adf-process-services-cloud.mjs +16 -12
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/form/components/form-cloud.component.d.ts +1 -1
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +6 -4
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +1 -2
- package/package.json +4 -4
|
@@ -98,7 +98,7 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
98
98
|
getFormByTaskId(appName: string, taskId: string, version?: number): Promise<FormModel>;
|
|
99
99
|
getFormById(appName: string, formId: string, appVersion?: number): void;
|
|
100
100
|
saveTaskForm(): void;
|
|
101
|
-
completeTaskForm(outcome?: string): void;
|
|
101
|
+
completeTaskForm(outcome?: string, outcomeId?: string): void;
|
|
102
102
|
private completeForm;
|
|
103
103
|
parseForm(formCloudRepresentationJSON?: any): FormModel | null;
|
|
104
104
|
/**
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import { ContentLinkModel, FormModel, TranslationService } from '@alfresco/adf-core';
|
|
18
|
+
import { ContentLinkModel, FormModel, FormOutcomeEvent, TranslationService } from '@alfresco/adf-core';
|
|
19
19
|
import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
20
20
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
21
21
|
import { ProcessInstanceCloud } from '../models/process-instance-cloud.model';
|
|
@@ -61,6 +61,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
61
61
|
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
62
62
|
/** Emitted when process definition selection changes. */
|
|
63
63
|
processDefinitionSelection: EventEmitter<ProcessDefinitionCloud>;
|
|
64
|
+
customOutcomeSelected: EventEmitter<string>;
|
|
64
65
|
processDefinitionList: ProcessDefinitionCloud[];
|
|
65
66
|
processDefinitionCurrent?: ProcessDefinitionCloud;
|
|
66
67
|
errorMessageId: string;
|
|
@@ -68,7 +69,8 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
68
69
|
filteredProcesses: ProcessDefinitionCloud[];
|
|
69
70
|
staticMappings: TaskVariableCloud[];
|
|
70
71
|
resolvedValues?: TaskVariableCloud[];
|
|
71
|
-
|
|
72
|
+
customOutcomeName: string;
|
|
73
|
+
customOutcomeId: string;
|
|
72
74
|
isProcessStarting: boolean;
|
|
73
75
|
isFormCloudLoaded: boolean;
|
|
74
76
|
isFormCloudLoading: boolean;
|
|
@@ -113,7 +115,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
113
115
|
private isValidName;
|
|
114
116
|
private getProcessDefinition;
|
|
115
117
|
buildProcessCloudPayload(): void;
|
|
116
|
-
onCustomOutcomeClicked(outcome:
|
|
118
|
+
onCustomOutcomeClicked(outcome: FormOutcomeEvent): void;
|
|
117
119
|
startProcessWithoutConfirmation(): void;
|
|
118
120
|
startProcess(): void;
|
|
119
121
|
cancelStartProcess(): void;
|
|
@@ -128,5 +130,5 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
128
130
|
setDefaultProcessName(processDefinitionName: string): void;
|
|
129
131
|
getDefaultProcessName(processNameFormat: string, processInstance?: ProcessInstanceCloud): string;
|
|
130
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessCloudComponent, never>;
|
|
131
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessCloudComponent, "adf-cloud-start-process", never, { "appName": { "alias": "appName"; "required": false; }; "maxNameLength": { "alias": "maxNameLength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "values": { "alias": "values"; "required": false; }; "showSelectProcessDropdown": { "alias": "showSelectProcessDropdown"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; "formContentClicked": "formContentClicked"; "processDefinitionSelection": "processDefinitionSelection"; }, never, never, true, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessCloudComponent, "adf-cloud-start-process", never, { "appName": { "alias": "appName"; "required": false; }; "maxNameLength": { "alias": "maxNameLength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "values": { "alias": "values"; "required": false; }; "showSelectProcessDropdown": { "alias": "showSelectProcessDropdown"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; "formContentClicked": "formContentClicked"; "processDefinitionSelection": "processDefinitionSelection"; "customOutcomeSelected": "customOutcomeSelected"; }, never, never, true, never>;
|
|
132
134
|
}
|
|
@@ -74,7 +74,7 @@ export declare class TaskFormCloudComponent {
|
|
|
74
74
|
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
75
75
|
formCompleted: EventEmitter<FormModel>;
|
|
76
76
|
/** Emitted when the task is completed. */
|
|
77
|
-
taskCompleted: EventEmitter<
|
|
77
|
+
taskCompleted: EventEmitter<FormModel>;
|
|
78
78
|
/** Emitted when the task is claimed. */
|
|
79
79
|
taskClaimed: EventEmitter<string>;
|
|
80
80
|
/** Emitted when the task is unclaimed. */
|
|
@@ -105,7 +105,6 @@ export declare class TaskFormCloudComponent {
|
|
|
105
105
|
hasCandidateGroups(): boolean;
|
|
106
106
|
hasCandidateUsersOrGroups(): boolean;
|
|
107
107
|
isReadOnly(): boolean;
|
|
108
|
-
onCompleteTask(): void;
|
|
109
108
|
onClaimTask(): void;
|
|
110
109
|
onUnclaimTask(): void;
|
|
111
110
|
onCancelClick(): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-process-services-cloud",
|
|
3
3
|
"description": "Alfresco ADF process services cloud",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-17729412276",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
23
23
|
"@angular/router": ">=14.1.3",
|
|
24
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
25
|
-
"@alfresco/adf-core": ">=8.4.0-
|
|
26
|
-
"@alfresco/adf-content-services": ">=8.4.0-
|
|
24
|
+
"@alfresco/js-api": ">=9.4.0-17729412276",
|
|
25
|
+
"@alfresco/adf-core": ">=8.4.0-17729412276",
|
|
26
|
+
"@alfresco/adf-content-services": ">=8.4.0-17729412276",
|
|
27
27
|
"@apollo/client": ">=3.7.2",
|
|
28
28
|
"@ngx-translate/core": ">=14.0.0",
|
|
29
29
|
"apollo-angular": ">=4.0.1",
|