@alfresco/adf-process-services-cloud 8.4.0-18836034786 → 8.4.0-18842642897
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/ar.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/cs.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/da.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/de.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/en.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/es.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/fi.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/fr.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/it.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/ja.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/nb.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/nl.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/pl.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/pt-BR.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/pt.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/ru.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/sv.json +12 -0
- package/bundles/assets/adf-process-services-cloud/i18n/zh-CN.json +12 -0
- package/fesm2022/adf-process-services-cloud.mjs +471 -187
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/app/app-list-cloud.module.d.ts +19 -0
- package/lib/app/components/app-details-cloud/app-details-cloud.component.d.ts +44 -0
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +167 -0
- package/lib/app/components/app-list-cloud/app-list-cloud.component.d.ts +68 -0
- package/lib/app/components/app-list-cloud/app-list-cloud.component.scss +41 -0
- package/lib/app/models/application-instance.model.d.ts +2 -0
- package/lib/app/public-api.d.ts +3 -0
- package/lib/form/components/form-definition-selector-cloud.component.d.ts +36 -0
- package/lib/form/components/form-definition-selector-cloud.component.scss +5 -0
- package/lib/form/form-cloud.module.d.ts +10 -8
- package/lib/form/public-api.d.ts +2 -0
- package/lib/form/services/form-definition-selector-cloud.service.d.ts +24 -0
- package/lib/form/services/form-definition-selector-cloud.service.interface.d.ts +22 -0
- package/lib/process-services-cloud.module.d.ts +22 -19
- package/package.json +4 -4
|
@@ -0,0 +1,19 @@
|
|
|
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];
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
21
|
+
export declare class AppDetailsCloudComponent {
|
|
22
|
+
applicationInstance: ApplicationInstanceModel;
|
|
23
|
+
selectedApp: EventEmitter<ApplicationInstanceModel>;
|
|
24
|
+
/**
|
|
25
|
+
* Pass the selected app as next
|
|
26
|
+
*
|
|
27
|
+
* @param app application model
|
|
28
|
+
*/
|
|
29
|
+
onSelectApp(app: ApplicationInstanceModel): void;
|
|
30
|
+
/**
|
|
31
|
+
* Get application instance theme
|
|
32
|
+
*
|
|
33
|
+
* @returns the name of the theme
|
|
34
|
+
*/
|
|
35
|
+
getTheme(): string;
|
|
36
|
+
/**
|
|
37
|
+
* Get application instance icon
|
|
38
|
+
*
|
|
39
|
+
* @returns the name of the icon
|
|
40
|
+
*/
|
|
41
|
+
getIcon(): string;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppDetailsCloudComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppDetailsCloudComponent, "adf-cloud-app-details", never, { "applicationInstance": { "alias": "applicationInstance"; "required": true; }; }, { "selectedApp": "selectedApp"; }, never, never, true, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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:
|
|
94
|
+
transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
95
|
+
box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
96
|
+
min-height: 200px;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
display: flex;
|
|
100
|
+
padding: 0;
|
|
101
|
+
max-width: unset;
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
box-shadow:
|
|
105
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
106
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
|
107
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
transform: scale(1.015);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&-logo {
|
|
113
|
+
position: absolute;
|
|
114
|
+
right: 20px;
|
|
115
|
+
top: 20px;
|
|
116
|
+
padding: 16px;
|
|
117
|
+
z-index: 9;
|
|
118
|
+
|
|
119
|
+
.adf-app-listgrid-item-card-logo-icon {
|
|
120
|
+
font-size: 70px;
|
|
121
|
+
width: 1em;
|
|
122
|
+
height: 1em;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&-title:has(.adf-app-listgrid-item-card-title-text) {
|
|
127
|
+
padding: 16px;
|
|
128
|
+
margin-bottom: 0;
|
|
129
|
+
z-index: 9999;
|
|
130
|
+
|
|
131
|
+
h1 {
|
|
132
|
+
color: white;
|
|
133
|
+
width: 80%;
|
|
134
|
+
font-size: var(--theme-headline-font-size);
|
|
135
|
+
margin: 0;
|
|
136
|
+
line-height: normal;
|
|
137
|
+
white-space: nowrap;
|
|
138
|
+
text-overflow: ellipsis;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&-subtitle:has(.adf-line-clamp) {
|
|
144
|
+
color: white;
|
|
145
|
+
z-index: 9999;
|
|
146
|
+
padding: 16px;
|
|
147
|
+
flex: 1 0 auto;
|
|
148
|
+
|
|
149
|
+
.adf-line-clamp {
|
|
150
|
+
@include adf-line-clamp(1.25, 3);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&-actions {
|
|
155
|
+
padding: 0 16px 16px;
|
|
156
|
+
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
157
|
+
min-height: 48px;
|
|
158
|
+
box-sizing: border-box;
|
|
159
|
+
|
|
160
|
+
&-icon {
|
|
161
|
+
color: #e9f1f3;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
27
|
+
export declare class AppListCloudComponent implements OnInit, AfterContentInit {
|
|
28
|
+
private appsProcessCloudService;
|
|
29
|
+
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
30
|
+
/**
|
|
31
|
+
* Defines the layout of the apps. There are two possible
|
|
32
|
+
* values, "GRID" and "LIST".
|
|
33
|
+
*/
|
|
34
|
+
layoutType: string;
|
|
35
|
+
/** Emitted when an app entry is clicked. */
|
|
36
|
+
appClick: EventEmitter<ApplicationInstanceModel>;
|
|
37
|
+
apps$: Observable<any>;
|
|
38
|
+
loadingError$: Subject<boolean>;
|
|
39
|
+
hasEmptyCustomContentTemplate: boolean;
|
|
40
|
+
constructor(appsProcessCloudService: AppsProcessCloudService);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngAfterContentInit(): void;
|
|
43
|
+
onSelectApp(app: ApplicationInstanceModel): void;
|
|
44
|
+
/**
|
|
45
|
+
* Check if the value of the layoutType property is an allowed value
|
|
46
|
+
*
|
|
47
|
+
* @returns `true` if layout type is valid, otherwise `false`
|
|
48
|
+
*/
|
|
49
|
+
isValidType(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Assign the default value to LayoutType
|
|
52
|
+
*/
|
|
53
|
+
setDefaultLayoutType(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Check if the layout type is LIST
|
|
56
|
+
*
|
|
57
|
+
* @returns `true` if the layout is list, otherwise `false`
|
|
58
|
+
*/
|
|
59
|
+
isList(): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Check if the layout type is GRID
|
|
62
|
+
*
|
|
63
|
+
* @returns `true` if layout is grid, otherwise `false`
|
|
64
|
+
*/
|
|
65
|
+
isGrid(): boolean;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppListCloudComponent, never>;
|
|
67
|
+
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>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
}
|
|
@@ -14,6 +14,8 @@
|
|
|
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";
|
|
17
19
|
export interface ApplicationInstanceModel {
|
|
18
20
|
name?: string;
|
|
19
21
|
displayName?: string;
|
package/lib/app/public-api.d.ts
CHANGED
|
@@ -16,3 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export * from './services/apps-process-cloud.service';
|
|
18
18
|
export * from './models/application-instance.model';
|
|
19
|
+
export * from './app-list-cloud.module';
|
|
20
|
+
export * from './components/app-list-cloud/app-list-cloud.component';
|
|
21
|
+
export * from './components/app-details-cloud/app-details-cloud.component';
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/** @deprecated this component will be removed because it's unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
24
|
+
export declare class FormDefinitionSelectorCloudComponent implements OnInit {
|
|
25
|
+
private formDefinitionCloudService;
|
|
26
|
+
/** Name of the application. If specified, this shows the users who have access to the app. */
|
|
27
|
+
appName: string;
|
|
28
|
+
/** Emitted when a form is selected. */
|
|
29
|
+
selectForm: EventEmitter<string>;
|
|
30
|
+
forms$: Observable<FormRepresentation[]>;
|
|
31
|
+
constructor(formDefinitionCloudService: FormDefinitionSelectorCloudService);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
onSelect(event: MatSelectChange): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormDefinitionSelectorCloudComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormDefinitionSelectorCloudComponent, "adf-cloud-form-definition-selector", never, { "appName": { "alias": "appName"; "required": false; }; }, { "selectForm": "selectForm"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormCloudComponent } from './components/form-cloud.component';
|
|
2
|
+
import { FormDefinitionSelectorCloudComponent } from './components/form-definition-selector-cloud.component';
|
|
2
3
|
import { FormCustomOutcomesComponent } from './components/form-cloud-custom-outcomes.component';
|
|
3
4
|
import { GroupCloudWidgetComponent } from './components/widgets/group/group-cloud.widget';
|
|
4
5
|
import { PeopleCloudWidgetComponent } from './components/widgets/people/people-cloud.widget';
|
|
@@ -19,16 +20,17 @@ import * as i4 from "./components/widgets/display-rich-text/display-rich-text.wi
|
|
|
19
20
|
import * as i5 from "./components/widgets/file-viewer/file-viewer.widget";
|
|
20
21
|
import * as i6 from "./components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
21
22
|
import * as i7 from "./components/form-cloud-custom-outcomes.component";
|
|
22
|
-
import * as i8 from "./components/
|
|
23
|
-
import * as i9 from "./components/widgets/
|
|
24
|
-
import * as i10 from "./components/widgets/
|
|
25
|
-
import * as i11 from "./components/widgets/
|
|
26
|
-
import * as i12 from "./components/widgets/
|
|
27
|
-
import * as i13 from "./components/
|
|
28
|
-
|
|
23
|
+
import * as i8 from "./components/form-definition-selector-cloud.component";
|
|
24
|
+
import * as i9 from "./components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
25
|
+
import * as i10 from "./components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
26
|
+
import * as i11 from "./components/widgets/upload/upload-cloud.widget";
|
|
27
|
+
import * as i12 from "./components/widgets/people/people-cloud.widget";
|
|
28
|
+
import * as i13 from "./components/widgets/group/group-cloud.widget";
|
|
29
|
+
import * as i14 from "./components/form-cloud.component";
|
|
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];
|
|
29
31
|
/** @deprecated use ...FORM_CLOUD_DIRECTIVES instead */
|
|
30
32
|
export declare class FormCloudModule {
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudModule, never>;
|
|
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.
|
|
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.FormDefinitionSelectorCloudComponent, typeof i9.RadioButtonsCloudWidgetComponent, typeof i10.AttachFileCloudWidgetComponent, typeof i11.UploadCloudWidgetComponent, typeof i12.PeopleCloudWidgetComponent, typeof i13.GroupCloudWidgetComponent, typeof i14.FormCloudComponent], [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.FormDefinitionSelectorCloudComponent, typeof i9.RadioButtonsCloudWidgetComponent, typeof i10.AttachFileCloudWidgetComponent, typeof i11.UploadCloudWidgetComponent, typeof i12.PeopleCloudWidgetComponent, typeof i13.GroupCloudWidgetComponent, typeof i14.FormCloudComponent]>;
|
|
33
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormCloudModule>;
|
|
34
36
|
}
|
package/lib/form/public-api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ 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';
|
|
21
22
|
export * from './components/cloud-form-rendering.service';
|
|
22
23
|
export * from './components/widgets/attach-file/attach-file-cloud-widget.component';
|
|
23
24
|
export * from './components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component';
|
|
@@ -34,6 +35,7 @@ export * from './components/widgets/radio-buttons/radio-buttons-cloud.widget';
|
|
|
34
35
|
export * from './components/widgets/radio-buttons/radio-buttons-cloud.schema';
|
|
35
36
|
export * from './services/content-cloud-node-selector.service';
|
|
36
37
|
export * from './services/form-cloud.service';
|
|
38
|
+
export * from './services/form-definition-selector-cloud.service';
|
|
37
39
|
export * from './services/content-cloud-node-selector.service';
|
|
38
40
|
export * from './services/process-cloud-content.service';
|
|
39
41
|
export * from './services/display-mode.service';
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/** @deprecated this service will be removed because it's component is unused https://hyland.atlassian.net/browse/ACS-10178 */
|
|
7
|
+
export declare class FormDefinitionSelectorCloudService extends BaseCloudService implements FormDefinitionSelectorCloudServiceInterface {
|
|
8
|
+
/**
|
|
9
|
+
* Get all forms of an app.
|
|
10
|
+
*
|
|
11
|
+
* @param appName Name of the application
|
|
12
|
+
* @returns Details of the forms
|
|
13
|
+
*/
|
|
14
|
+
getForms(appName: string): Observable<FormRepresentation[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Get all forms of an app.
|
|
17
|
+
*
|
|
18
|
+
* @param appName Name of the application
|
|
19
|
+
* @returns Details of the forms
|
|
20
|
+
*/
|
|
21
|
+
getStandAloneTaskForms(appName: string): Observable<FormRepresentation[]>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormDefinitionSelectorCloudService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormDefinitionSelectorCloudService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { Observable } from 'rxjs';
|
|
18
|
+
import { FormRepresentation } from '../../services/form-fields.interfaces';
|
|
19
|
+
export interface FormDefinitionSelectorCloudServiceInterface {
|
|
20
|
+
getForms(appName: string): Observable<FormRepresentation[]>;
|
|
21
|
+
getStandAloneTaskForms(appName: string): Observable<FormRepresentation[]>;
|
|
22
|
+
}
|
|
@@ -21,24 +21,27 @@ 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 "./
|
|
38
|
-
import * as i18 from "./
|
|
39
|
-
import * as i19 from "./
|
|
40
|
-
import * as i20 from "./
|
|
41
|
-
|
|
24
|
+
import * as i4 from "./app/components/app-list-cloud/app-list-cloud.component";
|
|
25
|
+
import * as i5 from "./app/components/app-details-cloud/app-details-cloud.component";
|
|
26
|
+
import * as i6 from "./form/components/spinner/form-spinner.component";
|
|
27
|
+
import * as i7 from "./form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component";
|
|
28
|
+
import * as i8 from "./form/components/widgets/properties-viewer/properties-viewer.widget";
|
|
29
|
+
import * as i9 from "./form/components/widgets/display-rich-text/display-rich-text.widget";
|
|
30
|
+
import * as i10 from "./form/components/widgets/file-viewer/file-viewer.widget";
|
|
31
|
+
import * as i11 from "./form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
32
|
+
import * as i12 from "./form/components/form-cloud-custom-outcomes.component";
|
|
33
|
+
import * as i13 from "./form/components/form-definition-selector-cloud.component";
|
|
34
|
+
import * as i14 from "./form/components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
35
|
+
import * as i15 from "./form/components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
36
|
+
import * as i16 from "./form/components/widgets/upload/upload-cloud.widget";
|
|
37
|
+
import * as i17 from "./form/components/widgets/people/people-cloud.widget";
|
|
38
|
+
import * as i18 from "./form/components/widgets/group/group-cloud.widget";
|
|
39
|
+
import * as i19 from "./form/components/form-cloud.component";
|
|
40
|
+
import * as i20 from "./task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component";
|
|
41
|
+
import * as i21 from "./task/task-form/components/task-form-cloud/task-form-cloud.component";
|
|
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];
|
|
42
45
|
/**
|
|
43
46
|
* @deprecated this module is deprecated and will be removed in the future versions
|
|
44
47
|
*
|
|
@@ -56,6 +59,6 @@ export declare class ProcessServicesCloudModule {
|
|
|
56
59
|
static forRoot(filterPreferenceServiceInstance?: PreferenceCloudServiceInterface, listPreferenceServiceInstance?: PreferenceCloudServiceInterface): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
57
60
|
static forChild(): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
58
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessServicesCloudModule, never>;
|
|
59
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.
|
|
62
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.AppListCloudComponent, typeof i5.AppDetailsCloudComponent, typeof i6.FormSpinnerComponent, typeof i7.PropertiesViewerWrapperComponent, typeof i8.PropertiesViewerWidgetComponent, typeof i9.DisplayRichTextWidgetComponent, typeof i10.FileViewerWidgetComponent, typeof i11.FilePropertiesTableCloudComponent, typeof i12.FormCustomOutcomesComponent, typeof i13.FormDefinitionSelectorCloudComponent, typeof i14.RadioButtonsCloudWidgetComponent, typeof i15.AttachFileCloudWidgetComponent, typeof i16.UploadCloudWidgetComponent, typeof i17.PeopleCloudWidgetComponent, typeof i18.GroupCloudWidgetComponent, typeof i19.FormCloudComponent, typeof i20.UserTaskCloudButtonsComponent, typeof i21.TaskFormCloudComponent, typeof i22.UserTaskCloudComponent, typeof i23.PeopleCloudComponent], [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.AppListCloudComponent, typeof i5.AppDetailsCloudComponent, typeof i6.FormSpinnerComponent, typeof i7.PropertiesViewerWrapperComponent, typeof i8.PropertiesViewerWidgetComponent, typeof i9.DisplayRichTextWidgetComponent, typeof i10.FileViewerWidgetComponent, typeof i11.FilePropertiesTableCloudComponent, typeof i12.FormCustomOutcomesComponent, typeof i13.FormDefinitionSelectorCloudComponent, typeof i14.RadioButtonsCloudWidgetComponent, typeof i15.AttachFileCloudWidgetComponent, typeof i16.UploadCloudWidgetComponent, typeof i17.PeopleCloudWidgetComponent, typeof i18.GroupCloudWidgetComponent, typeof i19.FormCloudComponent, typeof i20.UserTaskCloudButtonsComponent, typeof i21.TaskFormCloudComponent, typeof i22.UserTaskCloudComponent, typeof i23.PeopleCloudComponent]>;
|
|
60
63
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessServicesCloudModule>;
|
|
61
64
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-process-services-cloud",
|
|
3
3
|
"description": "Alfresco ADF process services cloud",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-18842642897",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
23
23
|
"@angular/router": ">=14.1.3",
|
|
24
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
25
|
-
"@alfresco/adf-core": ">=8.4.0-
|
|
26
|
-
"@alfresco/adf-content-services": ">=8.4.0-
|
|
24
|
+
"@alfresco/js-api": ">=9.4.0-18842642897",
|
|
25
|
+
"@alfresco/adf-core": ">=8.4.0-18842642897",
|
|
26
|
+
"@alfresco/adf-content-services": ">=8.4.0-18842642897",
|
|
27
27
|
"@apollo/client": ">=3.7.2",
|
|
28
28
|
"@ngx-translate/core": ">=14.0.0",
|
|
29
29
|
"apollo-angular": ">=4.0.1",
|