@alfresco/adf-process-services-cloud 8.4.0-17806466306 → 8.4.0-17829814673
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/README.md +0 -16
- package/bundles/assets/adf-process-services-cloud/i18n/ar.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/cs.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/da.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/fi.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/ja.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/nb.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/nl.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/pt-BR.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/ru.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/sv.json +1 -1
- package/bundles/assets/adf-process-services-cloud/i18n/zh-CN.json +1 -1
- package/fesm2022/adf-process-services-cloud.mjs +81 -57
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/app/components/app-details-cloud/app-details-cloud.component.d.ts +1 -0
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +7 -2
- package/lib/app/components/app-list-cloud/app-list-cloud.component.d.ts +1 -0
- package/lib/app/public-api.d.ts +2 -2
- package/lib/form/components/form-cloud.component.d.ts +1 -1
- package/lib/form/components/form-definition-selector-cloud.component.d.ts +1 -0
- package/lib/form/services/form-definition-selector-cloud.service.d.ts +1 -0
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +7 -5
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +1 -2
- package/package.json +4 -4
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import { EventEmitter } from '@angular/core';
|
|
18
18
|
import { ApplicationInstanceModel } from '../../models/application-instance.model';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
20
21
|
export declare class AppDetailsCloudComponent {
|
|
21
22
|
applicationInstance: ApplicationInstanceModel;
|
|
22
23
|
selectedApp: EventEmitter<ApplicationInstanceModel>;
|
|
@@ -90,7 +90,9 @@ adf-cloud-app-details {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
outline: none;
|
|
93
|
-
transition:
|
|
93
|
+
transition:
|
|
94
|
+
transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
95
|
+
box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
94
96
|
min-height: 200px;
|
|
95
97
|
flex-direction: column;
|
|
96
98
|
box-sizing: border-box;
|
|
@@ -99,7 +101,10 @@ adf-cloud-app-details {
|
|
|
99
101
|
max-width: unset;
|
|
100
102
|
|
|
101
103
|
&:hover {
|
|
102
|
-
box-shadow:
|
|
104
|
+
box-shadow:
|
|
105
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
106
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
|
107
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
|
103
108
|
cursor: pointer;
|
|
104
109
|
transform: scale(1.015);
|
|
105
110
|
}
|
|
@@ -23,6 +23,7 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
export declare const LAYOUT_LIST: string;
|
|
24
24
|
export declare const LAYOUT_GRID: string;
|
|
25
25
|
export declare const DEPLOYED_STATUS: string;
|
|
26
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
26
27
|
export declare class AppListCloudComponent implements OnInit, AfterContentInit {
|
|
27
28
|
private appsProcessCloudService;
|
|
28
29
|
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
package/lib/app/public-api.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './components/app-list-cloud/app-list-cloud.component';
|
|
18
|
-
export * from './components/app-details-cloud/app-details-cloud.component';
|
|
19
17
|
export * from './services/apps-process-cloud.service';
|
|
20
18
|
export * from './models/application-instance.model';
|
|
21
19
|
export * from './app-list-cloud.module';
|
|
20
|
+
export * from './components/app-list-cloud/app-list-cloud.component';
|
|
21
|
+
export * from './components/app-details-cloud/app-details-cloud.component';
|
|
@@ -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
|
/**
|
|
@@ -20,6 +20,7 @@ import { FormDefinitionSelectorCloudService } from '../services/form-definition-
|
|
|
20
20
|
import { MatSelectChange } from '@angular/material/select';
|
|
21
21
|
import { FormRepresentation } from '../../services/form-fields.interfaces';
|
|
22
22
|
import * as i0 from "@angular/core";
|
|
23
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
23
24
|
export declare class FormDefinitionSelectorCloudComponent implements OnInit {
|
|
24
25
|
private formDefinitionCloudService;
|
|
25
26
|
/** Name of the application. If specified, this shows the users who have access to the app. */
|
|
@@ -3,6 +3,7 @@ import { BaseCloudService } from '../../services/base-cloud.service';
|
|
|
3
3
|
import { FormRepresentation } from '../../services/form-fields.interfaces';
|
|
4
4
|
import { FormDefinitionSelectorCloudServiceInterface } from './form-definition-selector-cloud.service.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/** @deprecated this service will be removed because it's component is unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
6
7
|
export declare class FormDefinitionSelectorCloudService extends BaseCloudService implements FormDefinitionSelectorCloudServiceInterface {
|
|
7
8
|
/**
|
|
8
9
|
* Get all forms of an app.
|
|
@@ -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';
|
|
@@ -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 translateService;
|
|
29
|
+
private readonly translateService;
|
|
30
30
|
inputAutocomplete: MatAutocompleteTrigger;
|
|
31
31
|
/** (required) Name of the app. */
|
|
32
32
|
appName: string;
|
|
@@ -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-17829814673",
|
|
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-17829814673",
|
|
25
|
+
"@alfresco/adf-core": ">=8.4.0-17829814673",
|
|
26
|
+
"@alfresco/adf-content-services": ">=8.4.0-17829814673",
|
|
27
27
|
"@apollo/client": ">=3.7.2",
|
|
28
28
|
"@ngx-translate/core": ">=14.0.0",
|
|
29
29
|
"apollo-angular": ">=4.0.1",
|