@alfresco/adf-process-services-cloud 8.1.0-16342534841 → 8.1.0-16346981764
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/assets/adf-process-services-cloud/i18n/en.json +2 -1
- package/esm2022/lib/form/components/form-cloud.component.mjs +22 -4
- package/esm2022/lib/process/start-process/components/start-process-cloud.component.mjs +18 -3
- package/esm2022/lib/process-services-cloud.module.mjs +12 -24
- package/esm2022/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.mjs +18 -3
- package/esm2022/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.mjs +10 -4
- package/esm2022/lib/task/task-list/task-list-cloud.module.mjs +25 -3
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/adf-process-services-cloud.mjs +264 -246
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/form/components/form-cloud.component.d.ts +9 -1
- package/lib/form/components/form-cloud.component.scss +4 -0
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +9 -1
- package/lib/process-services-cloud.module.d.ts +0 -12
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +9 -1
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +6 -1
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.scss +4 -0
- package/package.json +4 -4
- package/public-api.d.ts +0 -1
- package/esm2022/lib/providers.mjs +0 -45
- package/lib/providers.d.ts +0 -36
|
@@ -24,6 +24,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
24
24
|
import { FormCloudDisplayModeConfiguration } from '../../services/form-fields.interfaces';
|
|
25
25
|
import { FormCloudSpinnerService } from '../services/spinner/form-cloud-spinner.service';
|
|
26
26
|
import { DisplayModeService } from '../services/display-mode.service';
|
|
27
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
27
28
|
import * as i0 from "@angular/core";
|
|
28
29
|
export declare const FORM_CLOUD_FIELD_VALIDATORS_TOKEN: InjectionToken<FormFieldValidator[]>;
|
|
29
30
|
export declare class FormCloudComponent extends FormBaseComponent implements OnChanges, OnInit {
|
|
@@ -41,6 +42,10 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
41
42
|
data: TaskVariableCloud[];
|
|
42
43
|
/** The available display configurations for the form */
|
|
43
44
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
45
|
+
/** Toggle rendering of the `Open next task` checkbox. */
|
|
46
|
+
showNextTaskCheckbox: boolean;
|
|
47
|
+
/** Whether the `Open next task` checkbox is checked by default or not. */
|
|
48
|
+
isNextTaskCheckboxChecked: boolean;
|
|
44
49
|
/** Toggle rendering of the `Complete` button. */
|
|
45
50
|
showCompleteButton: boolean;
|
|
46
51
|
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
@@ -57,6 +62,8 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
57
62
|
displayModeOn: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
58
63
|
/** Emitted when a display mode configuration is turned off. */
|
|
59
64
|
displayModeOff: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
65
|
+
/** Emitted when the `Open next task` checkbox was toggled. */
|
|
66
|
+
nextTaskCheckboxCheckedChanged: EventEmitter<MatCheckboxChange>;
|
|
60
67
|
protected subscriptions: Subscription[];
|
|
61
68
|
nodeId: string;
|
|
62
69
|
formCloudRepresentationJSON: any;
|
|
@@ -110,6 +117,7 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
110
117
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
111
118
|
findDisplayConfiguration(displayMode?: string): FormCloudDisplayModeConfiguration;
|
|
112
119
|
loadInjectedFieldValidators(injectedFieldValidators: FormFieldValidator[]): void;
|
|
120
|
+
onNextTaskCheckboxCheckedChanged(event: MatCheckboxChange): void;
|
|
113
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudComponent, [{ optional: true; }]>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormCloudComponent, "adf-cloud-form", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; "formContentClicked": "formContentClicked"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, ["[empty-form]", "adf-cloud-form-custom-outcomes"], true, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCloudComponent, "adf-cloud-form", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; "formContentClicked": "formContentClicked"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; }, never, ["[empty-form]", "adf-cloud-form-custom-outcomes"], true, never>;
|
|
115
123
|
}
|
|
@@ -24,6 +24,7 @@ import { Observable } from 'rxjs';
|
|
|
24
24
|
import { ProcessDefinitionCloud } from '../../../models/process-definition-cloud.model';
|
|
25
25
|
import { TaskVariableCloud } from '../../../form/models/task-variable-cloud.model';
|
|
26
26
|
import { FormCloudDisplayModeConfiguration } from '../../../services/form-fields.interfaces';
|
|
27
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
27
28
|
import * as i0 from "@angular/core";
|
|
28
29
|
export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
29
30
|
private translateService;
|
|
@@ -51,6 +52,10 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
51
52
|
* (start process event can have assigned form)
|
|
52
53
|
*/
|
|
53
54
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
55
|
+
/** Toggle rendering of the `Open next task` checkbox. */
|
|
56
|
+
showNextTaskCheckbox: boolean;
|
|
57
|
+
/** Whether the `Open next task` checkbox is checked by default or not. */
|
|
58
|
+
isNextTaskCheckboxChecked: boolean;
|
|
54
59
|
/** Emitted when the process is successfully started. */
|
|
55
60
|
success: EventEmitter<ProcessInstanceCloud>;
|
|
56
61
|
/** Emitted when the starting process is cancelled */
|
|
@@ -61,6 +66,8 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
61
66
|
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
62
67
|
/** Emitted when process definition selection changes. */
|
|
63
68
|
processDefinitionSelection: EventEmitter<ProcessDefinitionCloud>;
|
|
69
|
+
/** Emitted when the `Open next task` checkbox was toggled. */
|
|
70
|
+
nextTaskCheckboxCheckedChanged: EventEmitter<MatCheckboxChange>;
|
|
64
71
|
processDefinitionList: ProcessDefinitionCloud[];
|
|
65
72
|
processDefinitionCurrent?: ProcessDefinitionCloud;
|
|
66
73
|
errorMessageId: string;
|
|
@@ -128,6 +135,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
128
135
|
processDefinitionSelectionChanged(processDefinition: ProcessDefinitionCloud): void;
|
|
129
136
|
setDefaultProcessName(processDefinitionName: string): void;
|
|
130
137
|
getDefaultProcessName(processNameFormat: string, processInstance?: ProcessInstanceCloud): string;
|
|
138
|
+
onNextTaskCheckboxCheckedChanged(event: MatCheckboxChange): void;
|
|
131
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessCloudComponent, never>;
|
|
132
|
-
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>;
|
|
140
|
+
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; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; "formContentClicked": "formContentClicked"; "processDefinitionSelection": "processDefinitionSelection"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; }, never, never, true, never>;
|
|
133
141
|
}
|
|
@@ -44,18 +44,6 @@ import * as i22 from "./task/task-form/components/task-form-cloud/task-form-clou
|
|
|
44
44
|
import * as i23 from "./task/task-form/components/user-task-cloud/user-task-cloud.component";
|
|
45
45
|
import * as i24 from "./people/components/people-cloud.component";
|
|
46
46
|
export declare const PROCESS_SERVICES_CLOUD_DIRECTIVES: readonly [typeof import("@alfresco/adf-process-services-cloud").AppListCloudComponent, typeof import("@alfresco/adf-process-services-cloud").AppDetailsCloudComponent, typeof RichTextEditorComponent, typeof import("@alfresco/adf-process-services-cloud").FormSpinnerComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWrapperComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").DisplayRichTextWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FileViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FilePropertiesTableCloudComponent, typeof import("@alfresco/adf-process-services-cloud").FormCustomOutcomesComponent, typeof import("@alfresco/adf-process-services-cloud").FormDefinitionSelectorCloudComponent, typeof import("@alfresco/adf-process-services-cloud").RadioButtonsCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").AttachFileCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").UploadCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").PeopleCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").GroupCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudButtonsComponent, typeof import("@alfresco/adf-process-services-cloud").TaskFormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudComponent, typeof PeopleCloudComponent, typeof RichTextEditorComponent];
|
|
47
|
-
/**
|
|
48
|
-
* @deprecated this module is deprecated and will be removed in the future versions
|
|
49
|
-
*
|
|
50
|
-
* Instead, import the standalone components directly, or use the following provider API to replicate the behaviour:
|
|
51
|
-
*
|
|
52
|
-
* providers: [
|
|
53
|
-
* provideTranslations('adf-process-services-cloud', 'assets/adf-process-services-cloud')
|
|
54
|
-
* provideCloudPreferences()
|
|
55
|
-
* provideCloudFormRenderer(),
|
|
56
|
-
* { provide: TASK_LIST_CLOUD_TOKEN, useClass: TaskListCloudService }
|
|
57
|
-
* ]
|
|
58
|
-
*/
|
|
59
47
|
export declare class ProcessServicesCloudModule {
|
|
60
48
|
static forRoot(filterPreferenceServiceInstance?: PreferenceCloudServiceInterface, listPreferenceServiceInstance?: PreferenceCloudServiceInterface): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
61
49
|
static forChild(): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
@@ -20,6 +20,7 @@ import { FormCloudComponent } from '../../../../form/components/form-cloud.compo
|
|
|
20
20
|
import { FormCloudDisplayModeConfiguration } from '../../../../services/form-fields.interfaces';
|
|
21
21
|
import { TaskCloudService } from '../../../services/task-cloud.service';
|
|
22
22
|
import { TaskDetailsCloudModel } from '../../../models/task-details-cloud.model';
|
|
23
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class TaskFormCloudComponent {
|
|
25
26
|
private taskCloudService;
|
|
@@ -50,6 +51,10 @@ export declare class TaskFormCloudComponent {
|
|
|
50
51
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
51
52
|
/** Task details. */
|
|
52
53
|
taskDetails: TaskDetailsCloudModel;
|
|
54
|
+
/** Toggle rendering of the `Open next task` checkbox. */
|
|
55
|
+
showNextTaskCheckbox: boolean;
|
|
56
|
+
/** Whether the `Open next task` checkbox is checked by default or not. */
|
|
57
|
+
isNextTaskCheckboxChecked: boolean;
|
|
53
58
|
/** Emitted when the form is saved. */
|
|
54
59
|
formSaved: EventEmitter<FormModel>;
|
|
55
60
|
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
@@ -75,6 +80,8 @@ export declare class TaskFormCloudComponent {
|
|
|
75
80
|
displayModeOn: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
76
81
|
/** Emitted when a display mode configuration is turned off. */
|
|
77
82
|
displayModeOff: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
83
|
+
/** Emitted when the `Open next task` checkbox was toggled. */
|
|
84
|
+
nextTaskCheckboxCheckedChanged: EventEmitter<MatCheckboxChange>;
|
|
78
85
|
adfCloudForm: FormCloudComponent;
|
|
79
86
|
loading: boolean;
|
|
80
87
|
constructor(taskCloudService: TaskCloudService, formRenderingService: FormRenderingService);
|
|
@@ -98,6 +105,7 @@ export declare class TaskFormCloudComponent {
|
|
|
98
105
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
99
106
|
onDisplayModeOn(displayModeConfiguration: FormCloudDisplayModeConfiguration): void;
|
|
100
107
|
onDisplayModeOff(displayModeConfiguration: FormCloudDisplayModeConfiguration): void;
|
|
108
|
+
onNextTaskCheckboxCheckedChanged(event: MatCheckboxChange): void;
|
|
101
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormCloudComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, never, true, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; }, never, never, true, never>;
|
|
103
111
|
}
|
|
@@ -41,7 +41,7 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
41
41
|
showCancelButton: boolean;
|
|
42
42
|
/** Toggle rendering of the `Complete` button. */
|
|
43
43
|
showCompleteButton: boolean;
|
|
44
|
-
/** Toggle rendering of the `Open next task` checkbox
|
|
44
|
+
/** Toggle rendering of the `Open next task` checkbox. */
|
|
45
45
|
showNextTaskCheckbox: boolean;
|
|
46
46
|
/** Whether the `Open next task` checkbox is checked by default or not. */
|
|
47
47
|
isNextTaskCheckboxChecked: boolean;
|
|
@@ -87,6 +87,11 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
87
87
|
readonly Screen: "screen";
|
|
88
88
|
readonly None: "";
|
|
89
89
|
};
|
|
90
|
+
/**
|
|
91
|
+
* The `Open next task` feature is currently disabled for forms only.
|
|
92
|
+
* See https://hyland.atlassian.net/browse/AAE-34514 for further details.
|
|
93
|
+
*/
|
|
94
|
+
readonly nextTaskCheckboxForFormsActivated = false;
|
|
90
95
|
private taskCloudService;
|
|
91
96
|
private readonly destroyRef;
|
|
92
97
|
ngOnChanges(changes: SimpleChanges): 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.1.0-
|
|
4
|
+
"version": "8.1.0-16346981764",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@angular/platform-browser": ">=14.1.3",
|
|
38
38
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
39
39
|
"@angular/router": ">=14.1.3",
|
|
40
|
-
"@alfresco/js-api": ">=9.1.0-
|
|
41
|
-
"@alfresco/adf-core": ">=8.1.0-
|
|
42
|
-
"@alfresco/adf-content-services": ">=8.1.0-
|
|
40
|
+
"@alfresco/js-api": ">=9.1.0-16346981764",
|
|
41
|
+
"@alfresco/adf-core": ">=8.1.0-16346981764",
|
|
42
|
+
"@alfresco/adf-content-services": ">=8.1.0-16346981764",
|
|
43
43
|
"@apollo/client": ">=3.7.2",
|
|
44
44
|
"@ngx-translate/core": ">=14.0.0",
|
|
45
45
|
"apollo-angular": ">=4.0.1"
|
package/public-api.d.ts
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { PROCESS_FILTERS_SERVICE_TOKEN, PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN, TASK_FILTERS_SERVICE_TOKEN, TASK_LIST_PREFERENCES_SERVICE_TOKEN } from './services/cloud-token.service';
|
|
18
|
-
import { LocalPreferenceCloudService } from './services/local-preference-cloud.service';
|
|
19
|
-
import { FormRenderingService } from '@alfresco/adf-core';
|
|
20
|
-
import { CloudFormRenderingService } from './form/components/cloud-form-rendering.service';
|
|
21
|
-
/**
|
|
22
|
-
* Provides preferences service for the process services cloud components
|
|
23
|
-
*
|
|
24
|
-
* @param opts Optional settings
|
|
25
|
-
* @param opts.filterPreferenceServiceInstance Custom filter instance for `PROCESS_FILTERS_SERVICE_TOKEN` and `TASK_FILTERS_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
|
|
26
|
-
* @param opts.listPreferenceServiceInstance Custom filter instance for `PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN` and `TASK_LIST_PREFERENCES_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
|
|
27
|
-
* @returns list of providers
|
|
28
|
-
*/
|
|
29
|
-
export function provideCloudPreferences(opts) {
|
|
30
|
-
return [
|
|
31
|
-
{ provide: PROCESS_FILTERS_SERVICE_TOKEN, useExisting: opts?.filterPreferenceServiceInstance ?? LocalPreferenceCloudService },
|
|
32
|
-
{ provide: TASK_FILTERS_SERVICE_TOKEN, useExisting: opts?.filterPreferenceServiceInstance ?? LocalPreferenceCloudService },
|
|
33
|
-
{ provide: PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN, useExisting: opts?.listPreferenceServiceInstance ?? LocalPreferenceCloudService },
|
|
34
|
-
{ provide: TASK_LIST_PREFERENCES_SERVICE_TOKEN, useExisting: opts?.listPreferenceServiceInstance ?? LocalPreferenceCloudService }
|
|
35
|
-
];
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Provides form rendering services for process cloud components
|
|
39
|
-
*
|
|
40
|
-
* @returns list of providers
|
|
41
|
-
*/
|
|
42
|
-
export function provideCloudFormRenderer() {
|
|
43
|
-
return [FormRenderingService, { provide: FormRenderingService, useClass: CloudFormRenderingService }];
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGliL3Byb2Nlc3Mtc2VydmljZXMtY2xvdWQvc3JjL2xpYi9wcm92aWRlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7OztHQWVHO0FBSUgsT0FBTyxFQUNILDZCQUE2QixFQUM3Qix1Q0FBdUMsRUFDdkMsMEJBQTBCLEVBQzFCLG1DQUFtQyxFQUN0QyxNQUFNLGdDQUFnQyxDQUFDO0FBQ3hDLE9BQU8sRU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Xhpc3Rpbmc6IG9wdHM/Lmxpc3RQcmVmZXJlbmNlU2VydmljZUluc3RhbmNlID8/IExvY2FsUHJlZmVyZW5jZUNsb3VkU2VydmljZSB9XG4gICAgXTtcbn1cblxuLyoqXG4gKiBQcm92aWRlcyBmb3JtIHJlbmRlcmluZyBzZXJ2aWNlcyBmb3IgcHJvY2VzcyBjbG91ZCBjb21wb25lbnRzXG4gKlxuICogQHJldHVybnMgbGlzdCBvZiBwcm92aWRlcnNcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIHByb3ZpZGVDbG91ZEZvcm1SZW5kZXJlcigpOiBQcm92aWRlcltdIHtcbiAgICByZXR1cm4gW0Zvcm1SZW5kZXJpbmdTZXJ2aWNlLCB7IHByb3ZpZGU6IEZvcm1SZW5kZXJpbmdTZXJ2aWNlLCB1c2VDbGFzczogQ2xvdWRGb3JtUmVuZGVyaW5nU2VydmljZSB9XTtcbn1cbiJdfQ==
|
package/lib/providers.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { PreferenceCloudServiceInterface } from './services/preference-cloud.interface';
|
|
18
|
-
import { Provider } from '@angular/core';
|
|
19
|
-
/**
|
|
20
|
-
* Provides preferences service for the process services cloud components
|
|
21
|
-
*
|
|
22
|
-
* @param opts Optional settings
|
|
23
|
-
* @param opts.filterPreferenceServiceInstance Custom filter instance for `PROCESS_FILTERS_SERVICE_TOKEN` and `TASK_FILTERS_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
|
|
24
|
-
* @param opts.listPreferenceServiceInstance Custom filter instance for `PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN` and `TASK_LIST_PREFERENCES_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
|
|
25
|
-
* @returns list of providers
|
|
26
|
-
*/
|
|
27
|
-
export declare function provideCloudPreferences(opts?: {
|
|
28
|
-
filterPreferenceServiceInstance?: PreferenceCloudServiceInterface;
|
|
29
|
-
listPreferenceServiceInstance?: PreferenceCloudServiceInterface;
|
|
30
|
-
}): Provider[];
|
|
31
|
-
/**
|
|
32
|
-
* Provides form rendering services for process cloud components
|
|
33
|
-
*
|
|
34
|
-
* @returns list of providers
|
|
35
|
-
*/
|
|
36
|
-
export declare function provideCloudFormRenderer(): Provider[];
|