@alfresco/adf-process-services-cloud 8.2.0-18186380146 → 8.2.1
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 -13
- package/bundles/assets/adf-process-services-cloud/i18n/cs.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/da.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/de.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/en.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/es.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/fi.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/fr.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/it.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/ja.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/nb.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/nl.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/pl.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/pt-BR.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/pt.json +0 -12
- package/bundles/assets/adf-process-services-cloud/i18n/ru.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/sv.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/zh-CN.json +1 -13
- package/fesm2022/adf-process-services-cloud.mjs +629 -704
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/app/models/application-instance.model.d.ts +2 -2
- package/lib/app/public-api.d.ts +0 -3
- package/lib/form/components/form-cloud.component.d.ts +1 -1
- package/lib/form/components/form-cloud.component.scss +40 -7
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +6 -6
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +2 -0
- package/lib/form/form-cloud.module.d.ts +8 -10
- package/lib/form/public-api.d.ts +0 -2
- package/lib/form/services/form-cloud.service.d.ts +1 -0
- package/lib/form/services/rich-text-parser.service.d.ts +12 -0
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +25 -24
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +2 -1
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +1 -0
- package/lib/process/process-list/services/process-list-cloud.service.d.ts +4 -1
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +14 -5
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +1 -1
- package/lib/process-services-cloud.module.d.ts +19 -22
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +31 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +13 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.scss +8 -0
- package/lib/{form/services/form-definition-selector-cloud.service.interface.d.ts → screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts} +9 -5
- package/lib/screen/components/screen-cloud/{screen-cloud.component.d.ts → user-task-screen/screen-cloud.component.d.ts} +7 -13
- package/lib/screen/public-api.d.ts +2 -1
- package/lib/services/form-fields.interfaces.d.ts +2 -1
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +1 -2
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +6 -11
- package/lib/task/task-list/services/task-list-cloud.service.d.ts +1 -0
- package/package.json +6 -5
- package/lib/app/app-list-cloud.module.d.ts +0 -19
- package/lib/app/components/app-details-cloud/app-details-cloud.component.d.ts +0 -43
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +0 -162
- package/lib/app/components/app-list-cloud/app-list-cloud.component.d.ts +0 -67
- package/lib/app/components/app-list-cloud/app-list-cloud.component.scss +0 -41
- package/lib/form/components/form-definition-selector-cloud.component.d.ts +0 -35
- package/lib/form/components/form-definition-selector-cloud.component.scss +0 -5
- package/lib/form/services/form-definition-selector-cloud.service.d.ts +0 -23
- /package/lib/screen/components/screen-cloud/{screen-cloud.model.d.ts → user-task-screen/screen-cloud.model.d.ts} +0 -0
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export declare const DEFAULT_APP_INSTANCE_THEME = "theme-2";
|
|
18
|
-
export declare const DEFAULT_APP_INSTANCE_ICON = "favorite_border";
|
|
19
17
|
export interface ApplicationInstanceModel {
|
|
20
18
|
name?: string;
|
|
21
19
|
displayName?: string;
|
|
@@ -30,6 +28,8 @@ export interface ApplicationInstanceModel {
|
|
|
30
28
|
descriptor?: Descriptor;
|
|
31
29
|
environmentId?: string;
|
|
32
30
|
environment?: string;
|
|
31
|
+
lastModifiedAt?: Date;
|
|
32
|
+
quickRunDeployment?: boolean;
|
|
33
33
|
}
|
|
34
34
|
export interface Descriptor {
|
|
35
35
|
name?: string;
|
package/lib/app/public-api.d.ts
CHANGED
|
@@ -14,8 +14,5 @@
|
|
|
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
|
-
export * from './app-list-cloud.module';
|
|
@@ -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
|
/**
|
|
@@ -10,7 +10,18 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.adf-cloud-form {
|
|
13
|
+
&-content-standalone-fullscreen {
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
border-radius: 14px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-content-toolbar {
|
|
19
|
+
padding-top: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
13
22
|
&-container {
|
|
23
|
+
border-radius: 14px;
|
|
24
|
+
|
|
14
25
|
.adf-cloud-form-content {
|
|
15
26
|
@extend .adf-full-screen;
|
|
16
27
|
|
|
@@ -22,21 +33,38 @@
|
|
|
22
33
|
}
|
|
23
34
|
|
|
24
35
|
&-fullscreen-container {
|
|
36
|
+
position: fixed;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
z-index: 100000;
|
|
40
|
+
background-color: var(--adf-theme-mat-grey-color-a400);
|
|
41
|
+
display: block;
|
|
42
|
+
height: 100%;
|
|
43
|
+
width: 100vw;
|
|
44
|
+
overflow-y: auto;
|
|
45
|
+
border-radius: 0 0 14px;
|
|
46
|
+
|
|
25
47
|
.adf-cloud-form-content {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
48
|
+
width: calc(100% - 80px);
|
|
49
|
+
max-width: 1366px;
|
|
50
|
+
height: auto;
|
|
51
|
+
margin: 40px auto;
|
|
52
|
+
border-radius: 14px;
|
|
30
53
|
}
|
|
31
54
|
}
|
|
32
55
|
|
|
33
56
|
&-inline-container {
|
|
34
57
|
@extend .adf-full-screen;
|
|
58
|
+
|
|
59
|
+
.adf-cloud-form-content {
|
|
60
|
+
border-radius: 14px;
|
|
61
|
+
}
|
|
35
62
|
}
|
|
36
63
|
|
|
37
|
-
&-toolbar {
|
|
64
|
+
&-toolbar ::ng-deep {
|
|
38
65
|
#{ms.$mat-toolbar} {
|
|
39
66
|
background-color: var(--adf-theme-background-card-color-087);
|
|
67
|
+
border-radius: 14px 14px 0 0;
|
|
40
68
|
}
|
|
41
69
|
}
|
|
42
70
|
|
|
@@ -68,17 +96,22 @@
|
|
|
68
96
|
}
|
|
69
97
|
|
|
70
98
|
&-content-card {
|
|
71
|
-
padding-bottom:
|
|
99
|
+
padding-bottom: 2rem;
|
|
72
100
|
overflow-y: auto;
|
|
73
101
|
position: static;
|
|
74
102
|
height: 70%;
|
|
103
|
+
border-radius: 14px;
|
|
75
104
|
|
|
76
105
|
&-fullscreen {
|
|
77
|
-
padding: 0;
|
|
106
|
+
padding-top: 0;
|
|
78
107
|
height: 100%;
|
|
79
108
|
width: 100%;
|
|
80
109
|
position: relative;
|
|
81
110
|
|
|
111
|
+
&-toolbar {
|
|
112
|
+
border-radius: 0 0 14px 14px;
|
|
113
|
+
}
|
|
114
|
+
|
|
82
115
|
&-container {
|
|
83
116
|
display: flex;
|
|
84
117
|
flex-direction: column;
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { OnInit } from '@angular/core';
|
|
17
|
+
import { InjectionToken, OnInit } from '@angular/core';
|
|
18
18
|
import { WidgetComponent, FormService } from '@alfresco/adf-core';
|
|
19
|
-
import {
|
|
19
|
+
import { RichTextParserService } from '../../../services/rich-text-parser.service';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
|
+
export declare const RICH_TEXT_PARSER_TOKEN: InjectionToken<RichTextParserService>;
|
|
21
22
|
export declare class DisplayRichTextWidgetComponent extends WidgetComponent implements OnInit {
|
|
22
|
-
|
|
23
|
+
parsedHTML: string | Error;
|
|
24
|
+
private readonly richTextParserService;
|
|
23
25
|
private readonly sanitizer;
|
|
24
|
-
|
|
25
|
-
private static readonly CUSTOM_PARSER;
|
|
26
|
-
constructor(formService: FormService, sanitizer: DomSanitizer);
|
|
26
|
+
constructor(formService: FormService);
|
|
27
27
|
ngOnInit(): void;
|
|
28
28
|
private sanitizeHtmlContent;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplayRichTextWidgetComponent, never>;
|
|
@@ -24,6 +24,7 @@ export declare const DEFAULT_OPTION: {
|
|
|
24
24
|
name: string;
|
|
25
25
|
};
|
|
26
26
|
export declare const HIDE_FILTER_LIMIT = 5;
|
|
27
|
+
export declare const DROPDOWN_CLOUD_WIDGET_SET_VALUE_DEBOUNCE = 100;
|
|
27
28
|
export declare class DropdownCloudWidgetComponent extends WidgetComponent implements OnInit, ReactiveFormWidget {
|
|
28
29
|
formService: FormService;
|
|
29
30
|
private readonly formCloudService;
|
|
@@ -42,6 +43,7 @@ export declare class DropdownCloudWidgetComponent extends WidgetComponent implem
|
|
|
42
43
|
private readonly defaultVariableOptionId;
|
|
43
44
|
private readonly defaultVariableOptionLabel;
|
|
44
45
|
private readonly defaultVariableOptionPath;
|
|
46
|
+
private debounceSetValue;
|
|
45
47
|
get showRequiredMessage(): boolean;
|
|
46
48
|
get isReadOnlyType(): boolean;
|
|
47
49
|
private get isLinkedWidget();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FormCloudComponent } from './components/form-cloud.component';
|
|
2
|
-
import { FormDefinitionSelectorCloudComponent } from './components/form-definition-selector-cloud.component';
|
|
3
2
|
import { FormCustomOutcomesComponent } from './components/form-cloud-custom-outcomes.component';
|
|
4
3
|
import { GroupCloudWidgetComponent } from './components/widgets/group/group-cloud.widget';
|
|
5
4
|
import { PeopleCloudWidgetComponent } from './components/widgets/people/people-cloud.widget';
|
|
@@ -20,17 +19,16 @@ import * as i4 from "./components/widgets/display-rich-text/display-rich-text.wi
|
|
|
20
19
|
import * as i5 from "./components/widgets/file-viewer/file-viewer.widget";
|
|
21
20
|
import * as i6 from "./components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
22
21
|
import * as i7 from "./components/form-cloud-custom-outcomes.component";
|
|
23
|
-
import * as i8 from "./components/
|
|
24
|
-
import * as i9 from "./components/widgets/
|
|
25
|
-
import * as i10 from "./components/widgets/
|
|
26
|
-
import * as i11 from "./components/widgets/
|
|
27
|
-
import * as i12 from "./components/widgets/
|
|
28
|
-
import * as i13 from "./components/
|
|
29
|
-
|
|
30
|
-
export declare const FORM_CLOUD_DIRECTIVES: readonly [typeof FormSpinnerComponent, typeof PropertiesViewerWrapperComponent, typeof PropertiesViewerWidgetComponent, typeof DisplayRichTextWidgetComponent, typeof FileViewerWidgetComponent, typeof FilePropertiesTableCloudComponent, typeof FormCustomOutcomesComponent, typeof FormDefinitionSelectorCloudComponent, typeof RadioButtonsCloudWidgetComponent, typeof AttachFileCloudWidgetComponent, typeof UploadCloudWidgetComponent, typeof PeopleCloudWidgetComponent, typeof GroupCloudWidgetComponent, typeof FormCloudComponent];
|
|
22
|
+
import * as i8 from "./components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
23
|
+
import * as i9 from "./components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
24
|
+
import * as i10 from "./components/widgets/upload/upload-cloud.widget";
|
|
25
|
+
import * as i11 from "./components/widgets/people/people-cloud.widget";
|
|
26
|
+
import * as i12 from "./components/widgets/group/group-cloud.widget";
|
|
27
|
+
import * as i13 from "./components/form-cloud.component";
|
|
28
|
+
export declare const FORM_CLOUD_DIRECTIVES: readonly [typeof FormSpinnerComponent, typeof PropertiesViewerWrapperComponent, typeof PropertiesViewerWidgetComponent, typeof DisplayRichTextWidgetComponent, typeof FileViewerWidgetComponent, typeof FilePropertiesTableCloudComponent, typeof FormCustomOutcomesComponent, typeof RadioButtonsCloudWidgetComponent, typeof AttachFileCloudWidgetComponent, typeof UploadCloudWidgetComponent, typeof PeopleCloudWidgetComponent, typeof GroupCloudWidgetComponent, typeof FormCloudComponent];
|
|
31
29
|
/** @deprecated use ...FORM_CLOUD_DIRECTIVES instead */
|
|
32
30
|
export declare class FormCloudModule {
|
|
33
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormCloudModule, never, [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormCloudModule, never, [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.RadioButtonsCloudWidgetComponent, typeof i9.AttachFileCloudWidgetComponent, typeof i10.UploadCloudWidgetComponent, typeof i11.PeopleCloudWidgetComponent, typeof i12.GroupCloudWidgetComponent, typeof i13.FormCloudComponent], [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.RadioButtonsCloudWidgetComponent, typeof i9.AttachFileCloudWidgetComponent, typeof i10.UploadCloudWidgetComponent, typeof i11.PeopleCloudWidgetComponent, typeof i12.GroupCloudWidgetComponent, typeof i13.FormCloudComponent]>;
|
|
35
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormCloudModule>;
|
|
36
34
|
}
|
package/lib/form/public-api.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from './models/task-variable-cloud.model';
|
|
|
18
18
|
export * from './components/spinner/form-spinner.component';
|
|
19
19
|
export * from './components/form-cloud-custom-outcomes.component';
|
|
20
20
|
export * from './components/form-cloud.component';
|
|
21
|
-
export * from './components/form-definition-selector-cloud.component';
|
|
22
21
|
export * from './components/cloud-form-rendering.service';
|
|
23
22
|
export * from './components/widgets/attach-file/attach-file-cloud-widget.component';
|
|
24
23
|
export * from './components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component';
|
|
@@ -35,7 +34,6 @@ export * from './components/widgets/radio-buttons/radio-buttons-cloud.widget';
|
|
|
35
34
|
export * from './components/widgets/radio-buttons/radio-buttons-cloud.schema';
|
|
36
35
|
export * from './services/content-cloud-node-selector.service';
|
|
37
36
|
export * from './services/form-cloud.service';
|
|
38
|
-
export * from './services/form-definition-selector-cloud.service';
|
|
39
37
|
export * from './services/content-cloud-node-selector.service';
|
|
40
38
|
export * from './services/process-cloud-content.service';
|
|
41
39
|
export * from './services/display-mode.service';
|
|
@@ -29,6 +29,7 @@ export declare const FORM_CLOUD_SERVICE_FIELD_VALIDATORS_TOKEN: InjectionToken<F
|
|
|
29
29
|
export declare class FormCloudService extends BaseCloudService implements FormCloudServiceInterface {
|
|
30
30
|
private _uploadApi;
|
|
31
31
|
private fieldValidators;
|
|
32
|
+
private formService;
|
|
32
33
|
get uploadApi(): UploadApi;
|
|
33
34
|
constructor(adfHttpClient: AdfHttpClient, injectedFieldValidators?: FormFieldValidator[]);
|
|
34
35
|
/**
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface OutputData {
|
|
3
|
+
version?: string;
|
|
4
|
+
time?: number;
|
|
5
|
+
blocks: any[];
|
|
6
|
+
}
|
|
7
|
+
export declare class RichTextParserService {
|
|
8
|
+
private static readonly CUSTOM_PARSER;
|
|
9
|
+
parse(richText: OutputData): string | Error;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextParserService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RichTextParserService>;
|
|
12
|
+
}
|
|
@@ -19,31 +19,31 @@ import { ComponentSelectionMode } from '../../../types';
|
|
|
19
19
|
import { ProcessVariableFilterModel } from '../../../models/process-variable-filter.model';
|
|
20
20
|
export declare class ProcessFilterCloudModel {
|
|
21
21
|
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
key: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
index: number;
|
|
26
|
-
appName: string;
|
|
22
|
+
name: string | null;
|
|
23
|
+
key: string | null;
|
|
24
|
+
icon: string | null;
|
|
25
|
+
index: number | null;
|
|
26
|
+
appName: string | null;
|
|
27
27
|
appVersion?: number | number[];
|
|
28
|
-
parentId
|
|
29
|
-
processName: string;
|
|
30
|
-
processInstanceId: string;
|
|
31
|
-
initiator: string;
|
|
32
|
-
status: string;
|
|
33
|
-
sort: string;
|
|
34
|
-
order: string;
|
|
35
|
-
processDefinitionId: string;
|
|
36
|
-
processDefinitionName
|
|
37
|
-
processDefinitionKey: string;
|
|
38
|
-
lastModified: Date;
|
|
39
|
-
lastModifiedTo: Date;
|
|
40
|
-
lastModifiedFrom: Date;
|
|
41
|
-
startedDate: Date;
|
|
42
|
-
completedDateType: DateCloudFilterType;
|
|
43
|
-
startedDateType: DateCloudFilterType;
|
|
44
|
-
suspendedDateType: DateCloudFilterType;
|
|
45
|
-
completedDate: Date;
|
|
46
|
-
environmentId
|
|
28
|
+
parentId: string;
|
|
29
|
+
processName: string | null;
|
|
30
|
+
processInstanceId: string | null;
|
|
31
|
+
initiator: string | null;
|
|
32
|
+
status: string | null;
|
|
33
|
+
sort: string | null;
|
|
34
|
+
order: string | null;
|
|
35
|
+
processDefinitionId: string | null;
|
|
36
|
+
processDefinitionName: string | null;
|
|
37
|
+
processDefinitionKey: string | null;
|
|
38
|
+
lastModified: Date | null;
|
|
39
|
+
lastModifiedTo: Date | null;
|
|
40
|
+
lastModifiedFrom: Date | null;
|
|
41
|
+
startedDate: Date | null;
|
|
42
|
+
completedDateType: DateCloudFilterType | null;
|
|
43
|
+
startedDateType: DateCloudFilterType | null;
|
|
44
|
+
suspendedDateType: DateCloudFilterType | null;
|
|
45
|
+
completedDate: Date | null;
|
|
46
|
+
environmentId: string | null;
|
|
47
47
|
showCounter: boolean;
|
|
48
48
|
processDefinitionNames: string[] | null;
|
|
49
49
|
processNames: string[] | null;
|
|
@@ -52,6 +52,7 @@ export declare class ProcessFilterCloudModel {
|
|
|
52
52
|
initiators: string[] | null;
|
|
53
53
|
appVersions: string[] | null;
|
|
54
54
|
statuses: string[] | null;
|
|
55
|
+
excludeByProcessCategoryName: string | null;
|
|
55
56
|
processVariableFilters?: ProcessVariableFilterModel[];
|
|
56
57
|
private dateRangeFilterService;
|
|
57
58
|
private _completedFrom;
|
|
@@ -145,6 +145,7 @@ export declare class ProcessListCloudComponent extends DataTableSchema<ProcessLi
|
|
|
145
145
|
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
146
146
|
*/
|
|
147
147
|
processVariables: ProcessVariableFilterModel[];
|
|
148
|
+
excludeByProcessCategoryName: string;
|
|
148
149
|
/** Emitted when a row in the process list is clicked. */
|
|
149
150
|
rowClick: EventEmitter<string>;
|
|
150
151
|
/** Emitted when rows are selected/unselected. */
|
|
@@ -211,5 +212,5 @@ export declare class ProcessListCloudComponent extends DataTableSchema<ProcessLi
|
|
|
211
212
|
isValidSorting(sorting: ProcessListCloudSortingModel[]): string;
|
|
212
213
|
private getVariableDefinitionsRequestModel;
|
|
213
214
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessListCloudComponent, never>;
|
|
214
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessListCloudComponent, "adf-cloud-process-list", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "initiator": { "alias": "initiator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "processDefinitionKey": { "alias": "processDefinitionKey"; "required": false; }; "status": { "alias": "status"; "required": false; }; "businessKey": { "alias": "businessKey"; "required": false; }; "lastModifiedFrom": { "alias": "lastModifiedFrom"; "required": false; }; "lastModifiedTo": { "alias": "lastModifiedTo"; "required": false; }; "startFrom": { "alias": "startFrom"; "required": false; }; "startTo": { "alias": "startTo"; "required": false; }; "completedFrom": { "alias": "completedFrom"; "required": false; }; "completedTo": { "alias": "completedTo"; "required": false; }; "completedDate": { "alias": "completedDate"; "required": false; }; "suspendedFrom": { "alias": "suspendedFrom"; "required": false; }; "suspendedTo": { "alias": "suspendedTo"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showProvidedActions": { "alias": "showProvidedActions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "showMainDatatableActions": { "alias": "showMainDatatableActions"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "searchApiMethod": { "alias": "searchApiMethod"; "required": false; }; "names": { "alias": "names"; "required": false; }; "ids": { "alias": "ids"; "required": false; }; "parentIds": { "alias": "parentIds"; "required": false; }; "processDefinitionNames": { "alias": "processDefinitionNames"; "required": false; }; "initiators": { "alias": "initiators"; "required": false; }; "appVersions": { "alias": "appVersions"; "required": false; }; "statuses": { "alias": "statuses"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; }, { "rowClick": "rowClick"; "rowsSelected": "rowsSelected"; "showRowContextMenu": "showRowContextMenu"; "showRowActionsMenu": "showRowActionsMenu"; "executeRowAction": "executeRowAction"; "error": "error"; "success": "success"; }, ["emptyCustomContent", "customLoadingContent"], ["adf-custom-loading-content-template", "adf-custom-empty-content-template"], true, never>;
|
|
215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessListCloudComponent, "adf-cloud-process-list", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "initiator": { "alias": "initiator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "processDefinitionKey": { "alias": "processDefinitionKey"; "required": false; }; "status": { "alias": "status"; "required": false; }; "businessKey": { "alias": "businessKey"; "required": false; }; "lastModifiedFrom": { "alias": "lastModifiedFrom"; "required": false; }; "lastModifiedTo": { "alias": "lastModifiedTo"; "required": false; }; "startFrom": { "alias": "startFrom"; "required": false; }; "startTo": { "alias": "startTo"; "required": false; }; "completedFrom": { "alias": "completedFrom"; "required": false; }; "completedTo": { "alias": "completedTo"; "required": false; }; "completedDate": { "alias": "completedDate"; "required": false; }; "suspendedFrom": { "alias": "suspendedFrom"; "required": false; }; "suspendedTo": { "alias": "suspendedTo"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showProvidedActions": { "alias": "showProvidedActions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "showMainDatatableActions": { "alias": "showMainDatatableActions"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "searchApiMethod": { "alias": "searchApiMethod"; "required": false; }; "names": { "alias": "names"; "required": false; }; "ids": { "alias": "ids"; "required": false; }; "parentIds": { "alias": "parentIds"; "required": false; }; "processDefinitionNames": { "alias": "processDefinitionNames"; "required": false; }; "initiators": { "alias": "initiators"; "required": false; }; "appVersions": { "alias": "appVersions"; "required": false; }; "statuses": { "alias": "statuses"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; "excludeByProcessCategoryName": { "alias": "excludeByProcessCategoryName"; "required": false; }; }, { "rowClick": "rowClick"; "rowsSelected": "rowsSelected"; "showRowContextMenu": "showRowContextMenu"; "showRowActionsMenu": "showRowActionsMenu"; "executeRowAction": "executeRowAction"; "error": "error"; "success": "success"; }, ["emptyCustomContent", "customLoadingContent"], ["adf-custom-loading-content-template", "adf-custom-empty-content-template"], true, never>;
|
|
215
216
|
}
|
|
@@ -67,6 +67,7 @@ export declare class ProcessListRequestModel {
|
|
|
67
67
|
completedTo?: string;
|
|
68
68
|
suspendedFrom?: string;
|
|
69
69
|
suspendedTo?: string;
|
|
70
|
+
excludeByProcessCategoryName?: string;
|
|
70
71
|
processVariableFilters?: ProcessVariableFilterModel[];
|
|
71
72
|
processVariableKeys?: string[];
|
|
72
73
|
constructor(obj: Partial<ProcessListRequestModel>);
|
|
@@ -23,7 +23,9 @@ export declare class ProcessListCloudService extends BaseCloudService {
|
|
|
23
23
|
* @returns List of processes
|
|
24
24
|
*/
|
|
25
25
|
fetchProcessList(requestNode: ProcessListRequestModel, queryUrl?: string): Observable<any>;
|
|
26
|
-
protected buildQueryData(requestNode: ProcessListRequestModel):
|
|
26
|
+
protected buildQueryData(requestNode: ProcessListRequestModel): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
27
29
|
getProcessListCounter(requestNode: ProcessListRequestModel): Observable<number>;
|
|
28
30
|
/**
|
|
29
31
|
* Finds a process using an object with optional query properties.
|
|
@@ -41,6 +43,7 @@ export declare class ProcessListCloudService extends BaseCloudService {
|
|
|
41
43
|
* @returns Process information
|
|
42
44
|
*/
|
|
43
45
|
getAdminProcessByRequest(requestNode: ProcessQueryCloudRequestModel, queryUrl?: string): Observable<any>;
|
|
46
|
+
getProcessListCount(requestNode: ProcessListRequestModel): Observable<number>;
|
|
44
47
|
private getVariableKeysFromQueryParams;
|
|
45
48
|
protected isPropertyValueValid(requestNode: ProcessQueryCloudRequestModel, property: string): boolean;
|
|
46
49
|
protected buildQueryParams(requestNode: ProcessQueryCloudRequestModel): any;
|
|
@@ -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,11 +69,13 @@ 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;
|
|
75
77
|
processDefinitionLoaded: boolean;
|
|
78
|
+
disableStartProcessForScreen: boolean;
|
|
76
79
|
showStartProcessButton$: Observable<boolean>;
|
|
77
80
|
startProcessButtonLabel: string;
|
|
78
81
|
cancelButtonLabel: string;
|
|
@@ -87,6 +90,8 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
87
90
|
private readonly displayStartSubject;
|
|
88
91
|
private readonly hasVisibleOutcomesSubject;
|
|
89
92
|
private readonly dialog;
|
|
93
|
+
private readonly taskTypeResolverService;
|
|
94
|
+
private screenSubmitPayload;
|
|
90
95
|
showSaveButton: boolean;
|
|
91
96
|
showCompleteButton: boolean;
|
|
92
97
|
get isProcessFormValid(): boolean;
|
|
@@ -95,6 +100,8 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
95
100
|
get processInstanceName(): FormControl<string>;
|
|
96
101
|
get processDefinition(): FormControl<string>;
|
|
97
102
|
get hasForm(): boolean;
|
|
103
|
+
get hasScreen(): boolean;
|
|
104
|
+
get screenId(): string;
|
|
98
105
|
get defaultStartProcessButtonLabel(): string;
|
|
99
106
|
get defaultCancelProcessButtonLabel(): string;
|
|
100
107
|
constructor(translateService: TranslationService);
|
|
@@ -102,6 +109,8 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
102
109
|
ngOnChanges(changes: SimpleChanges): void;
|
|
103
110
|
onKeyDown(event: KeyboardEvent): void;
|
|
104
111
|
onFormLoaded(form: FormModel): void;
|
|
112
|
+
onDisableStartProcessButtonForScreen(disable: boolean): void;
|
|
113
|
+
onScreenStartProcessPayloadChange(payload: unknown): void;
|
|
105
114
|
private getMaxNameLength;
|
|
106
115
|
private selectProcessDefinitionByProcessDefinitionName;
|
|
107
116
|
setProcessDefinitionOnForm(selectedProcessDefinitionName: string): void;
|
|
@@ -113,7 +122,7 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
113
122
|
private isValidName;
|
|
114
123
|
private getProcessDefinition;
|
|
115
124
|
buildProcessCloudPayload(): void;
|
|
116
|
-
onCustomOutcomeClicked(outcome:
|
|
125
|
+
onCustomOutcomeClicked(outcome: FormOutcomeEvent): void;
|
|
117
126
|
startProcessWithoutConfirmation(): void;
|
|
118
127
|
startProcess(): void;
|
|
119
128
|
cancelStartProcess(): void;
|
|
@@ -128,5 +137,5 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
128
137
|
setDefaultProcessName(processDefinitionName: string): void;
|
|
129
138
|
getDefaultProcessName(processNameFormat: string, processInstance?: ProcessInstanceCloud): string;
|
|
130
139
|
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>;
|
|
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; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; "formContentClicked": "formContentClicked"; "processDefinitionSelection": "processDefinitionSelection"; "customOutcomeSelected": "customOutcomeSelected"; }, never, never, true, never>;
|
|
132
141
|
}
|
|
@@ -6,7 +6,7 @@ import { BaseCloudService } from '../../../services/base-cloud.service';
|
|
|
6
6
|
import { TaskVariableCloud } from '../../../form/models/task-variable-cloud.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface QueryParams {
|
|
9
|
-
include:
|
|
9
|
+
include: string;
|
|
10
10
|
excludedCategory?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare class StartProcessCloudService extends BaseCloudService {
|
|
@@ -21,27 +21,24 @@ import * as i0 from "@angular/core";
|
|
|
21
21
|
import * as i1 from "./process/process-cloud.module";
|
|
22
22
|
import * as i2 from "./task/task-cloud.module";
|
|
23
23
|
import * as i3 from "./group/components/group-cloud.component";
|
|
24
|
-
import * as i4 from "./
|
|
25
|
-
import * as i5 from "./
|
|
26
|
-
import * as i6 from "./form/components/
|
|
27
|
-
import * as i7 from "./form/components/widgets/
|
|
28
|
-
import * as i8 from "./form/components/widgets/
|
|
29
|
-
import * as i9 from "./form/components/widgets/
|
|
30
|
-
import * as i10 from "./form/components/
|
|
31
|
-
import * as i11 from "./form/components/widgets/
|
|
32
|
-
import * as i12 from "./form/components/
|
|
33
|
-
import * as i13 from "./form/components/
|
|
34
|
-
import * as i14 from "./form/components/widgets/
|
|
35
|
-
import * as i15 from "./form/components/widgets/
|
|
36
|
-
import * as i16 from "./form/components/
|
|
37
|
-
import * as i17 from "./form/components/
|
|
38
|
-
import * as i18 from "./form/components/
|
|
39
|
-
import * as i19 from "./form/components/
|
|
40
|
-
import * as i20 from "./
|
|
41
|
-
import
|
|
42
|
-
import * as i22 from "./task/task-form/components/user-task-cloud/user-task-cloud.component";
|
|
43
|
-
import * as i23 from "./people/components/people-cloud.component";
|
|
44
|
-
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 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];
|
|
24
|
+
import * as i4 from "./form/components/spinner/form-spinner.component";
|
|
25
|
+
import * as i5 from "./form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component";
|
|
26
|
+
import * as i6 from "./form/components/widgets/properties-viewer/properties-viewer.widget";
|
|
27
|
+
import * as i7 from "./form/components/widgets/display-rich-text/display-rich-text.widget";
|
|
28
|
+
import * as i8 from "./form/components/widgets/file-viewer/file-viewer.widget";
|
|
29
|
+
import * as i9 from "./form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
30
|
+
import * as i10 from "./form/components/form-cloud-custom-outcomes.component";
|
|
31
|
+
import * as i11 from "./form/components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
32
|
+
import * as i12 from "./form/components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
33
|
+
import * as i13 from "./form/components/widgets/upload/upload-cloud.widget";
|
|
34
|
+
import * as i14 from "./form/components/widgets/people/people-cloud.widget";
|
|
35
|
+
import * as i15 from "./form/components/widgets/group/group-cloud.widget";
|
|
36
|
+
import * as i16 from "./form/components/form-cloud.component";
|
|
37
|
+
import * as i17 from "./task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component";
|
|
38
|
+
import * as i18 from "./task/task-form/components/task-form-cloud/task-form-cloud.component";
|
|
39
|
+
import * as i19 from "./task/task-form/components/user-task-cloud/user-task-cloud.component";
|
|
40
|
+
import * as i20 from "./people/components/people-cloud.component";
|
|
41
|
+
export declare const PROCESS_SERVICES_CLOUD_DIRECTIVES: readonly [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").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];
|
|
45
42
|
/**
|
|
46
43
|
* @deprecated this module is deprecated and will be removed in the future versions
|
|
47
44
|
*
|
|
@@ -59,6 +56,6 @@ export declare class ProcessServicesCloudModule {
|
|
|
59
56
|
static forRoot(filterPreferenceServiceInstance?: PreferenceCloudServiceInterface, listPreferenceServiceInstance?: PreferenceCloudServiceInterface): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
60
57
|
static forChild(): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
61
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessServicesCloudModule, never>;
|
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.
|
|
59
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.FormSpinnerComponent, typeof i5.PropertiesViewerWrapperComponent, typeof i6.PropertiesViewerWidgetComponent, typeof i7.DisplayRichTextWidgetComponent, typeof i8.FileViewerWidgetComponent, typeof i9.FilePropertiesTableCloudComponent, typeof i10.FormCustomOutcomesComponent, typeof i11.RadioButtonsCloudWidgetComponent, typeof i12.AttachFileCloudWidgetComponent, typeof i13.UploadCloudWidgetComponent, typeof i14.PeopleCloudWidgetComponent, typeof i15.GroupCloudWidgetComponent, typeof i16.FormCloudComponent, typeof i17.UserTaskCloudButtonsComponent, typeof i18.TaskFormCloudComponent, typeof i19.UserTaskCloudComponent, typeof i20.PeopleCloudComponent], [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.FormSpinnerComponent, typeof i5.PropertiesViewerWrapperComponent, typeof i6.PropertiesViewerWidgetComponent, typeof i7.DisplayRichTextWidgetComponent, typeof i8.FileViewerWidgetComponent, typeof i9.FilePropertiesTableCloudComponent, typeof i10.FormCustomOutcomesComponent, typeof i11.RadioButtonsCloudWidgetComponent, typeof i12.AttachFileCloudWidgetComponent, typeof i13.UploadCloudWidgetComponent, typeof i14.PeopleCloudWidgetComponent, typeof i15.GroupCloudWidgetComponent, typeof i16.FormCloudComponent, typeof i17.UserTaskCloudButtonsComponent, typeof i18.TaskFormCloudComponent, typeof i19.UserTaskCloudComponent, typeof i20.PeopleCloudComponent]>;
|
|
63
60
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessServicesCloudModule>;
|
|
64
61
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { ComponentRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
18
|
+
import { ScreenRenderingService } from '../../../services/screen-rendering.service';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
export declare abstract class BaseScreenCloudComponent<TScreenComponent = unknown> implements OnInit {
|
|
21
|
+
screenId: string;
|
|
22
|
+
container: ViewContainerRef;
|
|
23
|
+
protected componentRef: ComponentRef<TScreenComponent>;
|
|
24
|
+
protected readonly screenRenderingService: ScreenRenderingService;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private createDynamicComponent;
|
|
27
|
+
protected abstract setInputsForDynamicComponent(): void;
|
|
28
|
+
protected abstract subscribeToOutputs(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseScreenCloudComponent<any>, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseScreenCloudComponent<any>, "ng-component", never, { "screenId": { "alias": "screenId"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseScreenCloudComponent } from '../base-screen/base-screen-cloud.component';
|
|
2
|
+
import { StartProcessScreenCloud } from './start-process-screen.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StartProcessScreenCloudComponent extends BaseScreenCloudComponent<StartProcessScreenCloud> {
|
|
5
|
+
processDefinitionId: import("@angular/core").InputSignal<string>;
|
|
6
|
+
screenStartProcessPayloadChange: import("@angular/core").OutputEmitterRef<unknown>;
|
|
7
|
+
disableStartProcessButton: import("@angular/core").OutputEmitterRef<boolean>;
|
|
8
|
+
showStartProcessButtons: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
protected setInputsForDynamicComponent(): void;
|
|
10
|
+
protected subscribeToOutputs(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessScreenCloudComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessScreenCloudComponent, "adf-cloud-start-process-screen-cloud", never, { "processDefinitionId": { "alias": "processDefinitionId"; "required": false; "isSignal": true; }; }, { "screenStartProcessPayloadChange": "screenStartProcessPayloadChange"; "disableStartProcessButton": "disableStartProcessButton"; }, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
@@ -14,9 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
import { InputSignal, OutputEmitterRef } from '@angular/core';
|
|
18
|
+
export interface StartProcessScreenDefaultButtons {
|
|
19
|
+
show: boolean;
|
|
20
|
+
disable: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface StartProcessScreenCloud {
|
|
23
|
+
processDefinitionId: InputSignal<string>;
|
|
24
|
+
defaultStartProcessButtonsConfigurationChange: OutputEmitterRef<StartProcessScreenDefaultButtons>;
|
|
25
|
+
startProcessPayloadChanged: OutputEmitterRef<unknown>;
|
|
22
26
|
}
|