@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
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { UserTaskCustomUi } from './screen-cloud.model';
|
|
3
3
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
|
+
import { BaseScreenCloudComponent } from '../base-screen/base-screen-cloud.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TaskScreenCloudComponent
|
|
6
|
+
export declare class TaskScreenCloudComponent extends BaseScreenCloudComponent<UserTaskCustomUi> {
|
|
6
7
|
/** Task id to fetch corresponding form and values. */
|
|
7
8
|
taskId: string;
|
|
8
9
|
/** App name to fetch data for dynamic component. */
|
|
@@ -12,8 +13,6 @@ export declare class TaskScreenCloudComponent implements OnInit {
|
|
|
12
13
|
/** Boolean informing if a task can be unclaimed. */
|
|
13
14
|
canUnclaimTask: boolean;
|
|
14
15
|
showCancelButton: boolean;
|
|
15
|
-
/** Screen id to create dynamic component. */
|
|
16
|
-
screenId: string;
|
|
17
16
|
/** Process Instance Id to fetch corresponding data. */
|
|
18
17
|
processInstanceId: string;
|
|
19
18
|
/** Name of the task. */
|
|
@@ -40,15 +39,10 @@ export declare class TaskScreenCloudComponent implements OnInit {
|
|
|
40
39
|
unclaimTask: EventEmitter<any>;
|
|
41
40
|
/** Emitted when the `Open next task` checkbox was toggled. */
|
|
42
41
|
nextTaskCheckboxCheckedChanged: EventEmitter<MatCheckboxChange>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
private readonly screenRenderingService;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
createDynamicComponent(): void;
|
|
49
|
-
setInputsForDynamicComponent(): void;
|
|
50
|
-
subscribeToOutputs(): void;
|
|
42
|
+
private readonly destroyRef;
|
|
43
|
+
protected setInputsForDynamicComponent(): void;
|
|
44
|
+
protected subscribeToOutputs(): void;
|
|
51
45
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
52
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskScreenCloudComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskScreenCloudComponent, "adf-cloud-task-screen", never, { "taskId": { "alias": "taskId"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "canClaimTask": { "alias": "canClaimTask"; "required": false; }; "canUnclaimTask": { "alias": "canUnclaimTask"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskScreenCloudComponent, "adf-cloud-task-screen", never, { "taskId": { "alias": "taskId"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "canClaimTask": { "alias": "canClaimTask"; "required": false; }; "canUnclaimTask": { "alias": "canUnclaimTask"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskName": { "alias": "taskName"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "rootProcessInstanceId": { "alias": "rootProcessInstanceId"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; }, { "taskSaved": "taskSaved"; "taskCompleted": "taskCompleted"; "error": "error"; "cancelTask": "cancelTask"; "claimTask": "claimTask"; "unclaimTask": "unclaimTask"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; }, never, never, true, never>;
|
|
54
48
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './components/screen-cloud/screen-cloud.model';
|
|
17
|
+
export * from './components/screen-cloud/user-task-screen/screen-cloud.model';
|
|
18
|
+
export * from './components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component';
|
|
18
19
|
export * from './services/screen-rendering.service';
|
|
19
20
|
export * from './services/provide-screen';
|
|
@@ -213,7 +213,8 @@ export declare enum FormFieldType {
|
|
|
213
213
|
uploadFolder = "uploadFolder",
|
|
214
214
|
displayValue = "readonly",
|
|
215
215
|
displayText = "readonly-text",
|
|
216
|
-
fileViewer = "file-viewer"
|
|
216
|
+
fileViewer = "file-viewer",
|
|
217
|
+
button = "button"
|
|
217
218
|
}
|
|
218
219
|
export interface FormCloudDisplayModeConfigurationOptions {
|
|
219
220
|
onCompleteTask(id?: string): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare const UserTaskContentType: {
|
|
3
|
+
readonly Form: "form";
|
|
4
|
+
readonly Screen: "screen";
|
|
5
|
+
readonly None: "";
|
|
6
|
+
};
|
|
7
|
+
export type UserTaskType = (typeof UserTaskContentType)[keyof typeof UserTaskContentType];
|
|
8
|
+
export declare class TaskTypeResolverService {
|
|
9
|
+
isScreenTask(formKey?: string): boolean;
|
|
10
|
+
isFormTask(formKey?: string): boolean;
|
|
11
|
+
getScreenId(formKey?: string): string;
|
|
12
|
+
getUserTaskType(formKey?: string): UserTaskType;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskTypeResolverService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskTypeResolverService>;
|
|
15
|
+
}
|
|
@@ -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;
|
|
@@ -19,15 +19,10 @@ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
|
19
19
|
import { FormCloudDisplayModeConfiguration } from '../../../../services/form-fields.interfaces';
|
|
20
20
|
import { TaskDetailsCloudModel } from '../../../models/task-details-cloud.model';
|
|
21
21
|
import { TaskFormCloudComponent } from '../task-form-cloud/task-form-cloud.component';
|
|
22
|
-
import { TaskScreenCloudComponent } from '../../../../screen/components/screen-cloud/screen-cloud.component';
|
|
22
|
+
import { TaskScreenCloudComponent } from '../../../../screen/components/screen-cloud/user-task-screen/screen-cloud.component';
|
|
23
23
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
24
|
+
import { UserTaskType } from '../../../../services/task-type-resolver/task-type-resolver.service';
|
|
24
25
|
import * as i0 from "@angular/core";
|
|
25
|
-
declare const TaskTypes: {
|
|
26
|
-
readonly Form: "form";
|
|
27
|
-
readonly Screen: "screen";
|
|
28
|
-
readonly None: "";
|
|
29
|
-
};
|
|
30
|
-
type TaskTypesType = (typeof TaskTypes)[keyof typeof TaskTypes];
|
|
31
26
|
export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
32
27
|
adfCloudTaskForm: TaskFormCloudComponent;
|
|
33
28
|
adfCloudTaskScreen: TaskScreenCloudComponent;
|
|
@@ -98,15 +93,16 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
98
93
|
candidateUsers: string[];
|
|
99
94
|
candidateGroups: string[];
|
|
100
95
|
loading: boolean;
|
|
101
|
-
screenId: string;
|
|
102
96
|
taskDetails: TaskDetailsCloudModel;
|
|
103
|
-
taskType:
|
|
97
|
+
taskType: UserTaskType;
|
|
104
98
|
taskTypeEnum: {
|
|
105
99
|
readonly Form: "form";
|
|
106
100
|
readonly Screen: "screen";
|
|
107
101
|
readonly None: "";
|
|
108
102
|
};
|
|
103
|
+
screenId: string;
|
|
109
104
|
private taskCloudService;
|
|
105
|
+
private readonly taskTypeResolverService;
|
|
110
106
|
private readonly destroyRef;
|
|
111
107
|
ngOnChanges(changes: SimpleChanges): void;
|
|
112
108
|
ngOnInit(): void;
|
|
@@ -120,7 +116,7 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
120
116
|
onCancelForm(): void;
|
|
121
117
|
onCancelClick(): void;
|
|
122
118
|
onClaimTask(): void;
|
|
123
|
-
onCompleteTask(openNextTask?: boolean): void;
|
|
119
|
+
onCompleteTask(openNextTask?: boolean, taskType?: UserTaskType): void;
|
|
124
120
|
onCompleteTaskForm(): void;
|
|
125
121
|
onError(data: any): void;
|
|
126
122
|
onFormLoaded(form: FormModel): void;
|
|
@@ -135,4 +131,3 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
135
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserTaskCloudComponent, never>;
|
|
136
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudComponent, "adf-cloud-user-task", never, { "appName": { "alias": "appName"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; }, { "cancelClick": "cancelClick"; "error": "error"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; "executeOutcome": "executeOutcome"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "formSaved": "formSaved"; "onTaskLoaded": "onTaskLoaded"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
|
137
133
|
}
|
|
138
|
-
export {};
|
|
@@ -24,6 +24,7 @@ export declare class TaskListCloudService extends BaseCloudService implements Ta
|
|
|
24
24
|
*/
|
|
25
25
|
fetchTaskList(requestNode: TaskListRequestModel, queryUrl?: string): Observable<any>;
|
|
26
26
|
getTaskListCounter(requestNode: TaskListRequestModel): Observable<number>;
|
|
27
|
+
getTaskListCount(requestNode: TaskListRequestModel): Observable<number>;
|
|
27
28
|
protected buildQueryData(requestNode: TaskListRequestModel): any;
|
|
28
29
|
protected buildQueryParams(requestNode: TaskQueryCloudRequestModel): any;
|
|
29
30
|
protected isExcludedField(property: string): boolean;
|
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.2.
|
|
4
|
+
"version": "8.2.1",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,12 +21,13 @@
|
|
|
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.2.
|
|
25
|
-
"@alfresco/adf-core": ">=8.2.
|
|
26
|
-
"@alfresco/adf-content-services": ">=8.2.
|
|
24
|
+
"@alfresco/js-api": ">=9.2.1",
|
|
25
|
+
"@alfresco/adf-core": ">=8.2.1",
|
|
26
|
+
"@alfresco/adf-content-services": ">=8.2.1",
|
|
27
27
|
"@apollo/client": ">=3.7.2",
|
|
28
28
|
"@ngx-translate/core": ">=14.0.0",
|
|
29
|
-
"apollo-angular": ">=4.0.1"
|
|
29
|
+
"apollo-angular": ">=4.0.1",
|
|
30
|
+
"editorjs-html": "^4.0.5"
|
|
30
31
|
},
|
|
31
32
|
"keywords": [
|
|
32
33
|
"process-services-cloud",
|
|
@@ -1,19 +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 { AppDetailsCloudComponent } from './components/app-details-cloud/app-details-cloud.component';
|
|
18
|
-
import { AppListCloudComponent } from './components/app-list-cloud/app-list-cloud.component';
|
|
19
|
-
export declare const APP_LIST_CLOUD_DIRECTIVES: readonly [typeof AppListCloudComponent, typeof AppDetailsCloudComponent];
|
|
@@ -1,43 +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 { EventEmitter } from '@angular/core';
|
|
18
|
-
import { ApplicationInstanceModel } from '../../models/application-instance.model';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class AppDetailsCloudComponent {
|
|
21
|
-
applicationInstance: ApplicationInstanceModel;
|
|
22
|
-
selectedApp: EventEmitter<ApplicationInstanceModel>;
|
|
23
|
-
/**
|
|
24
|
-
* Pass the selected app as next
|
|
25
|
-
*
|
|
26
|
-
* @param app application model
|
|
27
|
-
*/
|
|
28
|
-
onSelectApp(app: ApplicationInstanceModel): void;
|
|
29
|
-
/**
|
|
30
|
-
* Get application instance theme
|
|
31
|
-
*
|
|
32
|
-
* @returns the name of the theme
|
|
33
|
-
*/
|
|
34
|
-
getTheme(): string;
|
|
35
|
-
/**
|
|
36
|
-
* Get application instance icon
|
|
37
|
-
*
|
|
38
|
-
* @returns the name of the icon
|
|
39
|
-
*/
|
|
40
|
-
getIcon(): string;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppDetailsCloudComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppDetailsCloudComponent, "adf-cloud-app-details", never, { "applicationInstance": { "alias": "applicationInstance"; "required": true; }; }, { "selectedApp": "selectedApp"; }, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable scss/no-global-function-names */
|
|
2
|
-
@mixin adf-line-clamp($line-height: 1.25, $lines: 3) {
|
|
3
|
-
position: relative;
|
|
4
|
-
line-height: $line-height;
|
|
5
|
-
padding: 0;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
text-overflow: ellipsis;
|
|
8
|
-
|
|
9
|
-
/* stylelint-disable */
|
|
10
|
-
@supports (-webkit-line-clamp: 1) {
|
|
11
|
-
display: -webkit-box;
|
|
12
|
-
-webkit-box-orient: vertical;
|
|
13
|
-
-webkit-line-clamp: $lines;
|
|
14
|
-
height: calc(0.99em * #{$line-height} * #{$lines});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@supports not (-webkit-line-clamp: 1) {
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
/* stylelint-enable */
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
$tile-themes: (
|
|
25
|
-
theme-1: (
|
|
26
|
-
bg: #269abc,
|
|
27
|
-
color: #168aac
|
|
28
|
-
),
|
|
29
|
-
theme-2: (
|
|
30
|
-
bg: #7da9b0,
|
|
31
|
-
color: #6d99a0
|
|
32
|
-
),
|
|
33
|
-
theme-3: (
|
|
34
|
-
bg: #7689ab,
|
|
35
|
-
color: #66799b
|
|
36
|
-
),
|
|
37
|
-
theme-4: (
|
|
38
|
-
bg: #c74e3e,
|
|
39
|
-
color: #b73e2e
|
|
40
|
-
),
|
|
41
|
-
theme-5: (
|
|
42
|
-
bg: #fab96c,
|
|
43
|
-
color: #eaa95c
|
|
44
|
-
),
|
|
45
|
-
theme-6: (
|
|
46
|
-
bg: #759d4c,
|
|
47
|
-
color: #658d3c
|
|
48
|
-
),
|
|
49
|
-
theme-7: (
|
|
50
|
-
bg: #b1b489,
|
|
51
|
-
color: #a1a479
|
|
52
|
-
),
|
|
53
|
-
theme-8: (
|
|
54
|
-
bg: #a17299,
|
|
55
|
-
color: #916289
|
|
56
|
-
),
|
|
57
|
-
theme-9: (
|
|
58
|
-
bg: #696c67,
|
|
59
|
-
color: #595c57
|
|
60
|
-
),
|
|
61
|
-
theme-10: (
|
|
62
|
-
bg: #cabb33,
|
|
63
|
-
color: #baab23
|
|
64
|
-
)
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
adf-cloud-app-details {
|
|
68
|
-
.adf-app-listgrid {
|
|
69
|
-
padding: 8px;
|
|
70
|
-
display: block;
|
|
71
|
-
|
|
72
|
-
.adf-app-listgrid-item {
|
|
73
|
-
outline: none;
|
|
74
|
-
padding: 8px;
|
|
75
|
-
box-sizing: border-box;
|
|
76
|
-
flex: unset;
|
|
77
|
-
max-width: unset;
|
|
78
|
-
|
|
79
|
-
&-card {
|
|
80
|
-
@for $i from 1 through 10 {
|
|
81
|
-
&.theme-#{$i} {
|
|
82
|
-
$tile-theme: map-get($tile-themes, theme-#{$i});
|
|
83
|
-
|
|
84
|
-
background-color: map-get($tile-theme, bg);
|
|
85
|
-
|
|
86
|
-
.adf-app-listgrid-item-card-logo-icon {
|
|
87
|
-
color: map-get($tile-theme, color);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
outline: none;
|
|
93
|
-
transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
94
|
-
min-height: 200px;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
display: flex;
|
|
98
|
-
padding: 0;
|
|
99
|
-
max-width: unset;
|
|
100
|
-
|
|
101
|
-
&:hover {
|
|
102
|
-
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
transform: scale(1.015);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&-logo {
|
|
108
|
-
position: absolute;
|
|
109
|
-
right: 20px;
|
|
110
|
-
top: 20px;
|
|
111
|
-
padding: 16px;
|
|
112
|
-
z-index: 9;
|
|
113
|
-
|
|
114
|
-
.adf-app-listgrid-item-card-logo-icon {
|
|
115
|
-
font-size: 70px;
|
|
116
|
-
width: 1em;
|
|
117
|
-
height: 1em;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&-title:has(.adf-app-listgrid-item-card-title-text) {
|
|
122
|
-
padding: 16px;
|
|
123
|
-
margin-bottom: 0;
|
|
124
|
-
z-index: 9999;
|
|
125
|
-
|
|
126
|
-
h1 {
|
|
127
|
-
color: white;
|
|
128
|
-
width: 80%;
|
|
129
|
-
font-size: var(--theme-headline-font-size);
|
|
130
|
-
margin: 0;
|
|
131
|
-
line-height: normal;
|
|
132
|
-
white-space: nowrap;
|
|
133
|
-
text-overflow: ellipsis;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&-subtitle:has(.adf-line-clamp) {
|
|
139
|
-
color: white;
|
|
140
|
-
z-index: 9999;
|
|
141
|
-
padding: 16px;
|
|
142
|
-
flex: 1 0 auto;
|
|
143
|
-
|
|
144
|
-
.adf-line-clamp {
|
|
145
|
-
@include adf-line-clamp(1.25, 3);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&-actions {
|
|
150
|
-
padding: 0 16px 16px;
|
|
151
|
-
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
152
|
-
min-height: 48px;
|
|
153
|
-
box-sizing: border-box;
|
|
154
|
-
|
|
155
|
-
&-icon {
|
|
156
|
-
color: #e9f1f3;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
@@ -1,67 +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 { CustomEmptyContentTemplateDirective } from '@alfresco/adf-core';
|
|
18
|
-
import { AfterContentInit, EventEmitter, OnInit } from '@angular/core';
|
|
19
|
-
import { Observable, Subject } from 'rxjs';
|
|
20
|
-
import { AppsProcessCloudService } from '../../services/apps-process-cloud.service';
|
|
21
|
-
import { ApplicationInstanceModel } from '../../models/application-instance.model';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export declare const LAYOUT_LIST: string;
|
|
24
|
-
export declare const LAYOUT_GRID: string;
|
|
25
|
-
export declare const DEPLOYED_STATUS: string;
|
|
26
|
-
export declare class AppListCloudComponent implements OnInit, AfterContentInit {
|
|
27
|
-
private appsProcessCloudService;
|
|
28
|
-
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
29
|
-
/**
|
|
30
|
-
* Defines the layout of the apps. There are two possible
|
|
31
|
-
* values, "GRID" and "LIST".
|
|
32
|
-
*/
|
|
33
|
-
layoutType: string;
|
|
34
|
-
/** Emitted when an app entry is clicked. */
|
|
35
|
-
appClick: EventEmitter<ApplicationInstanceModel>;
|
|
36
|
-
apps$: Observable<any>;
|
|
37
|
-
loadingError$: Subject<boolean>;
|
|
38
|
-
hasEmptyCustomContentTemplate: boolean;
|
|
39
|
-
constructor(appsProcessCloudService: AppsProcessCloudService);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngAfterContentInit(): void;
|
|
42
|
-
onSelectApp(app: ApplicationInstanceModel): void;
|
|
43
|
-
/**
|
|
44
|
-
* Check if the value of the layoutType property is an allowed value
|
|
45
|
-
*
|
|
46
|
-
* @returns `true` if layout type is valid, otherwise `false`
|
|
47
|
-
*/
|
|
48
|
-
isValidType(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Assign the default value to LayoutType
|
|
51
|
-
*/
|
|
52
|
-
setDefaultLayoutType(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Check if the layout type is LIST
|
|
55
|
-
*
|
|
56
|
-
* @returns `true` if the layout is list, otherwise `false`
|
|
57
|
-
*/
|
|
58
|
-
isList(): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Check if the layout type is GRID
|
|
61
|
-
*
|
|
62
|
-
* @returns `true` if layout is grid, otherwise `false`
|
|
63
|
-
*/
|
|
64
|
-
isGrid(): boolean;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppListCloudComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppListCloudComponent, "adf-cloud-app-list", never, { "layoutType": { "alias": "layoutType"; "required": false; }; }, { "appClick": "appClick"; }, ["emptyCustomContent"], ["adf-custom-empty-content-template"], true, never>;
|
|
67
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@use '../../../flex' as flex;
|
|
2
|
-
|
|
3
|
-
adf-cloud-app-list {
|
|
4
|
-
width: 100%;
|
|
5
|
-
|
|
6
|
-
.adf-app-list-item {
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.adf-app-list-spinner,
|
|
11
|
-
.adf-app-list-empty,
|
|
12
|
-
.adf-app-list-error {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
height: 85vh;
|
|
18
|
-
|
|
19
|
-
.adf-app-list-cloud-spinner {
|
|
20
|
-
margin: 0 auto;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.adf-app-apps-grid {
|
|
25
|
-
flex-flow: row wrap;
|
|
26
|
-
display: flex;
|
|
27
|
-
|
|
28
|
-
adf-cloud-app-details {
|
|
29
|
-
flex: 1 1 100%;
|
|
30
|
-
max-width: 33.3333%;
|
|
31
|
-
|
|
32
|
-
@include flex.layout-bp(lt-md) {
|
|
33
|
-
max-width: 50%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@include flex.layout-bp(lt-sm) {
|
|
37
|
-
max-width: 100%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,35 +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 { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { Observable } from 'rxjs';
|
|
19
|
-
import { FormDefinitionSelectorCloudService } from '../services/form-definition-selector-cloud.service';
|
|
20
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
21
|
-
import { FormRepresentation } from '../../services/form-fields.interfaces';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export declare class FormDefinitionSelectorCloudComponent implements OnInit {
|
|
24
|
-
private formDefinitionCloudService;
|
|
25
|
-
/** Name of the application. If specified, this shows the users who have access to the app. */
|
|
26
|
-
appName: string;
|
|
27
|
-
/** Emitted when a form is selected. */
|
|
28
|
-
selectForm: EventEmitter<string>;
|
|
29
|
-
forms$: Observable<FormRepresentation[]>;
|
|
30
|
-
constructor(formDefinitionCloudService: FormDefinitionSelectorCloudService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
onSelect(event: MatSelectChange): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormDefinitionSelectorCloudComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormDefinitionSelectorCloudComponent, "adf-cloud-form-definition-selector", never, { "appName": { "alias": "appName"; "required": false; }; }, { "selectForm": "selectForm"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { BaseCloudService } from '../../services/base-cloud.service';
|
|
3
|
-
import { FormRepresentation } from '../../services/form-fields.interfaces';
|
|
4
|
-
import { FormDefinitionSelectorCloudServiceInterface } from './form-definition-selector-cloud.service.interface';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormDefinitionSelectorCloudService extends BaseCloudService implements FormDefinitionSelectorCloudServiceInterface {
|
|
7
|
-
/**
|
|
8
|
-
* Get all forms of an app.
|
|
9
|
-
*
|
|
10
|
-
* @param appName Name of the application
|
|
11
|
-
* @returns Details of the forms
|
|
12
|
-
*/
|
|
13
|
-
getForms(appName: string): Observable<FormRepresentation[]>;
|
|
14
|
-
/**
|
|
15
|
-
* Get all forms of an app.
|
|
16
|
-
*
|
|
17
|
-
* @param appName Name of the application
|
|
18
|
-
* @returns Details of the forms
|
|
19
|
-
*/
|
|
20
|
-
getStandAloneTaskForms(appName: string): Observable<FormRepresentation[]>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormDefinitionSelectorCloudService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormDefinitionSelectorCloudService>;
|
|
23
|
-
}
|
|
File without changes
|