@alfresco/adf-process-services-cloud 8.4.0-17799840184 → 8.4.0-17806466306

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.
@@ -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, outcomeId?: string): void;
101
+ completeTaskForm(outcome?: 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, FormOutcomeEvent, TranslationService } from '@alfresco/adf-core';
18
+ import { ContentLinkModel, FormModel, 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';
@@ -26,7 +26,7 @@ import { TaskVariableCloud } from '../../../form/models/task-variable-cloud.mode
26
26
  import { FormCloudDisplayModeConfiguration } from '../../../services/form-fields.interfaces';
27
27
  import * as i0 from "@angular/core";
28
28
  export declare class StartProcessCloudComponent implements OnChanges, OnInit {
29
- private readonly translateService;
29
+ private translateService;
30
30
  inputAutocomplete: MatAutocompleteTrigger;
31
31
  /** (required) Name of the app. */
32
32
  appName: string;
@@ -61,7 +61,6 @@ 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>;
65
64
  processDefinitionList: ProcessDefinitionCloud[];
66
65
  processDefinitionCurrent?: ProcessDefinitionCloud;
67
66
  errorMessageId: string;
@@ -69,8 +68,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
69
68
  filteredProcesses: ProcessDefinitionCloud[];
70
69
  staticMappings: TaskVariableCloud[];
71
70
  resolvedValues?: TaskVariableCloud[];
72
- customOutcomeName: string;
73
- customOutcomeId: string;
71
+ customOutcome: string;
74
72
  isProcessStarting: boolean;
75
73
  isFormCloudLoaded: boolean;
76
74
  isFormCloudLoading: boolean;
@@ -115,7 +113,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
115
113
  private isValidName;
116
114
  private getProcessDefinition;
117
115
  buildProcessCloudPayload(): void;
118
- onCustomOutcomeClicked(outcome: FormOutcomeEvent): void;
116
+ onCustomOutcomeClicked(outcome: string): void;
119
117
  startProcessWithoutConfirmation(): void;
120
118
  startProcess(): void;
121
119
  cancelStartProcess(): void;
@@ -130,5 +128,5 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
130
128
  setDefaultProcessName(processDefinitionName: string): void;
131
129
  getDefaultProcessName(processNameFormat: string, processInstance?: ProcessInstanceCloud): string;
132
130
  static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessCloudComponent, 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>;
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>;
134
132
  }
@@ -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<FormModel>;
77
+ taskCompleted: EventEmitter<string>;
78
78
  /** Emitted when the task is claimed. */
79
79
  taskClaimed: EventEmitter<string>;
80
80
  /** Emitted when the task is unclaimed. */
@@ -105,6 +105,7 @@ export declare class TaskFormCloudComponent {
105
105
  hasCandidateGroups(): boolean;
106
106
  hasCandidateUsersOrGroups(): boolean;
107
107
  isReadOnly(): boolean;
108
+ onCompleteTask(): void;
108
109
  onClaimTask(): void;
109
110
  onUnclaimTask(): void;
110
111
  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-17799840184",
4
+ "version": "8.4.0-17806466306",
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-17799840184",
25
- "@alfresco/adf-core": ">=8.4.0-17799840184",
26
- "@alfresco/adf-content-services": ">=8.4.0-17799840184",
24
+ "@alfresco/js-api": ">=9.4.0-17806466306",
25
+ "@alfresco/adf-core": ">=8.4.0-17806466306",
26
+ "@alfresco/adf-content-services": ">=8.4.0-17806466306",
27
27
  "@apollo/client": ">=3.7.2",
28
28
  "@ngx-translate/core": ">=14.0.0",
29
29
  "apollo-angular": ">=4.0.1",