@alfresco/adf-process-services-cloud 8.5.0-25850979174 → 8.5.0
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/LICENSE +177 -0
- package/bundles/assets/adf-process-services-cloud/i18n/en-AU.json +386 -0
- package/fesm2022/adf-process-services-cloud.mjs +654 -369
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/index.d.ts +3 -6257
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +168 -0
- package/lib/app/models/application-instance.model.d.ts +67 -0
- package/lib/app/public-api.d.ts +18 -0
- package/lib/app/services/apps-process-cloud.service.d.ts +25 -0
- package/lib/common/date-range-filter/date-range-filter.component.d.ts +49 -0
- package/lib/common/date-range-filter/date-range-filter.service.d.ts +17 -0
- package/lib/common/index.d.ts +17 -0
- package/lib/common/interface/environment.interface.d.ts +20 -0
- package/lib/common/interface/index.d.ts +17 -0
- package/lib/common/interface/public-api.d.ts +17 -0
- package/lib/common/public-api.d.ts +18 -0
- package/lib/form/components/cloud-form-rendering.service.d.ts +7 -0
- package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +5 -0
- package/lib/form/components/form-cloud.component.d.ts +155 -0
- package/lib/form/components/form-cloud.component.scss +40 -11
- package/lib/form/components/spinner/form-spinner.component.d.ts +6 -0
- package/lib/form/components/spinner/form-spinner.component.scss +1 -1
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +62 -0
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.scss +3 -20
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +49 -0
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.scss +1 -1
- package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +42 -0
- package/lib/form/components/widgets/data-table/data-table.widget.d.ts +43 -0
- package/lib/form/components/widgets/data-table/data-table.widget.scss +0 -1
- package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +29 -0
- package/lib/form/components/widgets/date/date-cloud.widget.d.ts +47 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +39 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +0 -1
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +37 -0
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.scss +0 -9
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +105 -0
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +0 -4
- package/lib/form/components/widgets/dropdown/validators.d.ts +19 -0
- package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +6 -0
- package/lib/form/components/widgets/group/group-cloud.widget.d.ts +37 -0
- package/lib/form/components/widgets/people/people-cloud.widget.d.ts +40 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +53 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +26 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.scss +1 -1
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +18 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +41 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.scss +0 -9
- package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +55 -0
- package/lib/form/form-cloud.module.d.ts +34 -0
- package/lib/form/models/form-cloud-representation.model.d.ts +48 -0
- package/lib/form/models/task-variable-cloud.model.d.ts +24 -0
- package/lib/form/public-api.d.ts +40 -0
- package/lib/form/services/content-cloud-node-selector.service.d.ts +21 -0
- package/lib/form/services/display-mode.service.d.ts +22 -0
- package/lib/form/services/form-cloud.service.d.ts +104 -0
- package/lib/form/services/form-cloud.service.interface.d.ts +34 -0
- package/lib/form/services/form-utils.service.d.ts +11 -0
- package/lib/form/services/process-cloud-content.service.d.ts +18 -0
- package/lib/form/services/rich-text-parser.service.d.ts +12 -0
- package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +26 -0
- package/lib/group/components/group-cloud.component.d.ts +123 -0
- package/lib/group/components/group-cloud.component.scss +3 -14
- package/lib/group/group-cloud.module.d.ts +8 -0
- package/lib/group/models/identity-group.model.d.ts +21 -0
- package/lib/group/public-api.d.ts +20 -0
- package/lib/group/services/identity-group.service.d.ts +28 -0
- package/lib/models/application-version.model.d.ts +30 -0
- package/lib/models/constant-values.type.d.ts +20 -0
- package/lib/models/data-column-custom-data.d.ts +22 -0
- package/lib/models/date-cloud-filter.model.d.ts +36 -0
- package/lib/models/date-format-cloud.model.d.ts +17 -0
- package/lib/models/engine-event-cloud.model.d.ts +21 -0
- package/lib/models/filter-cloud-model.d.ts +92 -0
- package/lib/models/process-definition-cloud.model.d.ts +32 -0
- package/lib/models/process-instance-variable.model.d.ts +38 -0
- package/lib/models/process-variable-filter.model.d.ts +24 -0
- package/lib/models/task-cloud.model.d.ts +57 -0
- package/lib/models/task-list-sorting.model.d.ts +31 -0
- package/lib/models/variable-definition.d.ts +24 -0
- package/lib/people/components/people-cloud.component.d.ts +167 -0
- package/lib/people/components/people-cloud.component.scss +3 -22
- package/lib/people/models/identity-user.model.d.ts +24 -0
- package/lib/people/people-cloud.module.d.ts +8 -0
- package/lib/people/public-api.d.ts +20 -0
- package/lib/people/services/identity-user.service.d.ts +45 -0
- package/lib/process/process-cloud.module.d.ts +16 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +182 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +0 -23
- package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +16 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +146 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.scss +3 -3
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +110 -0
- package/lib/process/process-filters/process-filters-cloud.module.d.ts +14 -0
- package/lib/process/process-filters/public-api.d.ts +22 -0
- package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +163 -0
- package/lib/process/process-header/components/process-header-cloud.component.d.ts +48 -0
- package/lib/process/process-header/process-header-cloud.module.d.ts +8 -0
- package/lib/process/process-header/public-api.d.ts +18 -0
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +228 -0
- package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +23 -0
- package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +19 -0
- package/lib/process/process-list/models/process-cloud-preferences.d.ts +22 -0
- package/lib/process/process-list/models/process-cloud-preset.model.d.ts +35 -0
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +80 -0
- package/lib/process/process-list/models/process-list-sorting.model.d.ts +31 -0
- package/lib/process/process-list/process-list-cloud.module.d.ts +7 -0
- package/lib/process/process-list/public-api.d.ts +24 -0
- package/lib/process/process-list/services/process-list-cloud.service.d.ts +56 -0
- package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +30 -0
- package/lib/process/public-api.d.ts +22 -0
- package/lib/process/services/process-cloud.service.d.ts +41 -0
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +146 -0
- package/lib/process/start-process/components/start-process-cloud.component.scss +0 -4
- package/lib/process/start-process/models/process-instance-cloud.model.d.ts +48 -0
- package/lib/process/start-process/models/process-payload-cloud.model.d.ts +35 -0
- package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +24 -0
- package/lib/process/start-process/public-api.d.ts +20 -0
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +64 -0
- package/lib/process-services-cloud.module.d.ts +61 -0
- package/lib/providers.d.ts +36 -0
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +33 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +16 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +29 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +48 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +38 -0
- package/lib/screen/public-api.d.ts +20 -0
- package/lib/screen/services/provide-screen.d.ts +37 -0
- package/lib/screen/services/screen-rendering.service.d.ts +51 -0
- package/lib/services/base-cloud.service.d.ts +37 -0
- package/lib/services/cloud-token.service.d.ts +24 -0
- package/lib/services/form-fields.interfaces.d.ts +246 -0
- package/lib/services/local-preference-cloud.service.d.ts +51 -0
- package/lib/services/notification-cloud.service.d.ts +7 -0
- package/lib/services/preference-cloud.interface.d.ts +24 -0
- package/lib/services/public-api.d.ts +26 -0
- package/lib/services/task-list-cloud.service.interface.d.ts +47 -0
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
- package/lib/services/user-preference-cloud.service.d.ts +49 -0
- package/lib/services/variable-mapper.sevice.d.ts +13 -0
- package/lib/services/web-socket.service.d.ts +28 -0
- package/lib/task/models/start-task-cloud-request.model.d.ts +28 -0
- package/lib/task/models/task-details-cloud.model.d.ts +62 -0
- package/lib/task/models/task.model.d.ts +22 -0
- package/lib/task/public-api.d.ts +25 -0
- package/lib/task/services/task-cloud.service.d.ts +145 -0
- package/lib/task/task-cloud.module.d.ts +18 -0
- package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +44 -0
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +152 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +21 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +24 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +69 -0
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.scss +8 -8
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +53 -0
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss +0 -16
- package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +35 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +106 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.scss +3 -3
- package/lib/task/task-filters/models/filter-cloud.model.d.ts +168 -0
- package/lib/task/task-filters/public-api.d.ts +26 -0
- package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +127 -0
- package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +158 -0
- package/lib/task/task-filters/task-filters-cloud.module.d.ts +20 -0
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +126 -0
- package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +138 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +41 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +49 -0
- package/lib/task/task-form/public-api.d.ts +20 -0
- package/lib/task/task-form/task-form.module.d.ts +14 -0
- package/lib/task/task-header/components/task-header-cloud.component.d.ts +86 -0
- package/lib/task/task-header/components/task-header-cloud.component.scss +2 -2
- package/lib/task/task-header/public-api.d.ts +18 -0
- package/lib/task/task-header/task-header-cloud.module.d.ts +8 -0
- package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +131 -0
- package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +16 -0
- package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +23 -0
- package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +135 -0
- package/lib/task/task-list/models/service-task-cloud.model.d.ts +126 -0
- package/lib/task/task-list/models/task-cloud-view.model.d.ts +19 -0
- package/lib/task/task-list/public-api.d.ts +22 -0
- package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +51 -0
- package/lib/task/task-list/services/task-list-cloud.service.d.ts +36 -0
- package/lib/task/task-list/task-list-cloud.module.d.ts +12 -0
- package/lib/types.d.ts +17 -0
- package/package.json +4 -4
- package/public-api.d.ts +39 -0
- package/lib/process/process-header/components/process-header-cloud.component.scss +0 -3
|
@@ -0,0 +1,168 @@
|
|
|
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
|
+
|
|
22
|
+
/* stylelint-enable */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
$tile-themes: (
|
|
26
|
+
theme-1: (
|
|
27
|
+
bg: #269abc,
|
|
28
|
+
color: #168aac
|
|
29
|
+
),
|
|
30
|
+
theme-2: (
|
|
31
|
+
bg: #7da9b0,
|
|
32
|
+
color: #6d99a0
|
|
33
|
+
),
|
|
34
|
+
theme-3: (
|
|
35
|
+
bg: #7689ab,
|
|
36
|
+
color: #66799b
|
|
37
|
+
),
|
|
38
|
+
theme-4: (
|
|
39
|
+
bg: #c74e3e,
|
|
40
|
+
color: #b73e2e
|
|
41
|
+
),
|
|
42
|
+
theme-5: (
|
|
43
|
+
bg: #fab96c,
|
|
44
|
+
color: #eaa95c
|
|
45
|
+
),
|
|
46
|
+
theme-6: (
|
|
47
|
+
bg: #759d4c,
|
|
48
|
+
color: #658d3c
|
|
49
|
+
),
|
|
50
|
+
theme-7: (
|
|
51
|
+
bg: #b1b489,
|
|
52
|
+
color: #a1a479
|
|
53
|
+
),
|
|
54
|
+
theme-8: (
|
|
55
|
+
bg: #a17299,
|
|
56
|
+
color: #916289
|
|
57
|
+
),
|
|
58
|
+
theme-9: (
|
|
59
|
+
bg: #696c67,
|
|
60
|
+
color: #595c57
|
|
61
|
+
),
|
|
62
|
+
theme-10: (
|
|
63
|
+
bg: #cabb33,
|
|
64
|
+
color: #baab23
|
|
65
|
+
)
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
adf-cloud-app-details {
|
|
69
|
+
.adf-app-listgrid {
|
|
70
|
+
padding: 8px;
|
|
71
|
+
display: block;
|
|
72
|
+
|
|
73
|
+
.adf-app-listgrid-item {
|
|
74
|
+
outline: none;
|
|
75
|
+
padding: 8px;
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
flex: unset;
|
|
78
|
+
max-width: unset;
|
|
79
|
+
|
|
80
|
+
&-card {
|
|
81
|
+
@for $i from 1 through 10 {
|
|
82
|
+
&.theme-#{$i} {
|
|
83
|
+
$tile-theme: map-get($tile-themes, theme-#{$i});
|
|
84
|
+
|
|
85
|
+
background-color: map-get($tile-theme, bg);
|
|
86
|
+
|
|
87
|
+
.adf-app-listgrid-item-card-logo-icon {
|
|
88
|
+
color: map-get($tile-theme, color);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
outline: none;
|
|
94
|
+
transition:
|
|
95
|
+
transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
96
|
+
box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
97
|
+
min-height: 200px;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
display: flex;
|
|
101
|
+
padding: 0;
|
|
102
|
+
max-width: unset;
|
|
103
|
+
|
|
104
|
+
&:hover {
|
|
105
|
+
box-shadow:
|
|
106
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
107
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
|
108
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
transform: scale(1.015);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&-logo {
|
|
114
|
+
position: absolute;
|
|
115
|
+
right: 20px;
|
|
116
|
+
top: 20px;
|
|
117
|
+
padding: 16px;
|
|
118
|
+
z-index: 9;
|
|
119
|
+
|
|
120
|
+
.adf-app-listgrid-item-card-logo-icon {
|
|
121
|
+
font-size: 70px;
|
|
122
|
+
width: 1em;
|
|
123
|
+
height: 1em;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&-title:has(.adf-app-listgrid-item-card-title-text) {
|
|
128
|
+
padding: 16px;
|
|
129
|
+
margin-bottom: 0;
|
|
130
|
+
z-index: 9999;
|
|
131
|
+
|
|
132
|
+
h1 {
|
|
133
|
+
color: white;
|
|
134
|
+
width: 80%;
|
|
135
|
+
font-size: var(--mat-sys-headline-small-size);
|
|
136
|
+
margin: 0;
|
|
137
|
+
line-height: normal;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&-subtitle:has(.adf-line-clamp) {
|
|
145
|
+
color: white;
|
|
146
|
+
z-index: 9999;
|
|
147
|
+
padding: 16px;
|
|
148
|
+
flex: 1 0 auto;
|
|
149
|
+
|
|
150
|
+
.adf-line-clamp {
|
|
151
|
+
@include adf-line-clamp(1.25, 3);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&-actions {
|
|
156
|
+
padding: 0 16px 16px;
|
|
157
|
+
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
158
|
+
min-height: 48px;
|
|
159
|
+
box-sizing: border-box;
|
|
160
|
+
|
|
161
|
+
&-icon {
|
|
162
|
+
color: #e9f1f3;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
export interface ApplicationInstanceModel {
|
|
18
|
+
name?: string;
|
|
19
|
+
displayName?: string;
|
|
20
|
+
canAccessAudit?: boolean;
|
|
21
|
+
createdAt?: any;
|
|
22
|
+
status?: string;
|
|
23
|
+
theme?: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
connectors?: any;
|
|
27
|
+
rollback?: boolean;
|
|
28
|
+
descriptor?: Descriptor;
|
|
29
|
+
environmentId?: string;
|
|
30
|
+
environment?: string;
|
|
31
|
+
lastModifiedAt?: Date;
|
|
32
|
+
quickRunDeployment?: boolean;
|
|
33
|
+
deploymentCompletion?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface Descriptor {
|
|
36
|
+
name?: string;
|
|
37
|
+
displayName?: string;
|
|
38
|
+
projectId?: string;
|
|
39
|
+
releaseId?: string;
|
|
40
|
+
releaseVersion?: number;
|
|
41
|
+
security?: DescriptorSecurity[];
|
|
42
|
+
infrastructure?: DescriptorInfrastructure;
|
|
43
|
+
variables?: DescriptorVariables;
|
|
44
|
+
version?: string;
|
|
45
|
+
runtimeBundleVersion?: string;
|
|
46
|
+
enableLocalDevelopment?: boolean;
|
|
47
|
+
customUIAuthFlowType?: DescriptorCustomUIAuthFlowType;
|
|
48
|
+
}
|
|
49
|
+
export declare const DescriptorCustomUIAuthFlowType: {
|
|
50
|
+
readonly CODE: "CODE";
|
|
51
|
+
readonly IMPLICIT: "IMPLICIT";
|
|
52
|
+
};
|
|
53
|
+
export type DescriptorCustomUIAuthFlowType = (typeof DescriptorCustomUIAuthFlowType)[keyof typeof DescriptorCustomUIAuthFlowType];
|
|
54
|
+
export interface DescriptorSecurity {
|
|
55
|
+
role: string;
|
|
56
|
+
groups: string[];
|
|
57
|
+
users: string[];
|
|
58
|
+
}
|
|
59
|
+
export interface DescriptorVariables {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
connectors?: {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface DescriptorInfrastructure {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export * from './services/apps-process-cloud.service';
|
|
18
|
+
export * from './models/application-instance.model';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ApplicationInstanceModel } from '../models/application-instance.model';
|
|
3
|
+
import { Environment } from '../../common/interface/environment.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AppsProcessCloudService {
|
|
6
|
+
private readonly adfHttpClient;
|
|
7
|
+
private readonly appConfigService;
|
|
8
|
+
deployedApps: ApplicationInstanceModel[];
|
|
9
|
+
constructor();
|
|
10
|
+
/**
|
|
11
|
+
* Gets a list of deployed apps for this user by status.
|
|
12
|
+
*
|
|
13
|
+
* @param status Required status value
|
|
14
|
+
* @param roles to filter the apps
|
|
15
|
+
* @returns The list of deployed apps
|
|
16
|
+
*/
|
|
17
|
+
getDeployedApplicationsByStatus(status: string, roles?: string | string[]): Observable<ApplicationInstanceModel[]>;
|
|
18
|
+
hasDeployedApps(): boolean;
|
|
19
|
+
loadApps(): void;
|
|
20
|
+
getApplicationLabel(application: ApplicationInstanceModel, environmentList?: Environment[]): string;
|
|
21
|
+
private getApplicationsByStatus;
|
|
22
|
+
private getApplicationUrl;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppsProcessCloudService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppsProcessCloudService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { MatSelectChange } from '@angular/material/select';
|
|
19
|
+
import { ProcessFilterProperties, ProcessFilterOptions } from '../../process/process-filters/models/process-filter-cloud.model';
|
|
20
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
21
|
+
import { DateRangeFilter, DateCloudFilterType } from '../../models/date-cloud-filter.model';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
interface DateRangeFormProps {
|
|
24
|
+
from: FormControl<Date>;
|
|
25
|
+
to: FormControl<Date>;
|
|
26
|
+
}
|
|
27
|
+
export declare class DateRangeFilterComponent implements OnInit {
|
|
28
|
+
processFilterProperty: ProcessFilterProperties;
|
|
29
|
+
options: DateCloudFilterType[];
|
|
30
|
+
dateChanged: EventEmitter<DateRangeFilter>;
|
|
31
|
+
dateTypeChange: EventEmitter<DateCloudFilterType>;
|
|
32
|
+
type: DateCloudFilterType;
|
|
33
|
+
filteredProperties: ProcessFilterOptions[];
|
|
34
|
+
dateRangeForm: FormGroup<DateRangeFormProps>;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
onSelectionChange(option: MatSelectChange): void;
|
|
37
|
+
isDateRangeType(): boolean;
|
|
38
|
+
onDateRangeClosed(): void;
|
|
39
|
+
private hasPreselectedValues;
|
|
40
|
+
private setPreselectedValues;
|
|
41
|
+
private getFilterAttribute;
|
|
42
|
+
private getFilterValue;
|
|
43
|
+
private isValidProperty;
|
|
44
|
+
private createDefaultRangeOptions;
|
|
45
|
+
private createDefaultDateOptions;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeFilterComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeFilterComponent, "adf-cloud-date-range-filter", never, { "processFilterProperty": { "alias": "processFilterProperty"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "dateChanged": "dateChanged"; "dateTypeChange": "dateTypeChange"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DateRangeFilter, DateCloudFilterType } from '../../models/date-cloud-filter.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateRangeFilterService {
|
|
4
|
+
currentDate: Date;
|
|
5
|
+
getDateRange(type: DateCloudFilterType): DateRangeFilter;
|
|
6
|
+
isDateRangeType(type: DateCloudFilterType): type is "RANGE";
|
|
7
|
+
private resetDateRange;
|
|
8
|
+
private getNext7DaysDateRange;
|
|
9
|
+
private getTomorrowDateRange;
|
|
10
|
+
private getCurrentYearDateRange;
|
|
11
|
+
private getTodayDateRange;
|
|
12
|
+
private getCurrentWeekRange;
|
|
13
|
+
private getCurrentMonthDateRange;
|
|
14
|
+
private getQuarterDateRange;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeFilterService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateRangeFilterService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export * from './public-api';
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export interface Environment {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export * from './public-api';
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export * from './environment.interface';
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export * from './interface/index';
|
|
18
|
+
export * from './date-range-filter/date-range-filter.service';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormRenderingService } from '@alfresco/adf-core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CloudFormRenderingService extends FormRenderingService {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CloudFormRenderingService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CloudFormRenderingService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormCustomOutcomesComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormCustomOutcomesComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCustomOutcomesComponent, "adf-cloud-form-custom-outcomes", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
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 { ChangeDetectorRef, EventEmitter, InjectionToken, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
+
import { Observable, Subscription } from 'rxjs';
|
|
19
|
+
import { ContentLinkModel, FormBaseComponent, FormFieldModel, FormFieldValidator, FormModel, FormOutcomeModel, FormRendererComponent, FormService, WidgetVisibilityService } from '@alfresco/adf-core';
|
|
20
|
+
import { FormCloudService } from '../services/form-cloud.service';
|
|
21
|
+
import { TaskVariableCloud } from '../models/task-variable-cloud.model';
|
|
22
|
+
import { TaskDetailsCloudModel } from '../../task/models/task-details-cloud.model';
|
|
23
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
24
|
+
import { FormCloudDisplayModeConfiguration } from '../../services/form-fields.interfaces';
|
|
25
|
+
import { FormCloudSpinnerService } from '../services/spinner/form-cloud-spinner.service';
|
|
26
|
+
import { DisplayModeService } from '../services/display-mode.service';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
export declare const FORM_CLOUD_FIELD_VALIDATORS_TOKEN: InjectionToken<FormFieldValidator[]>;
|
|
29
|
+
export declare const ADF_FORM_TAB_NAV_ENABLED: InjectionToken<boolean | Observable<boolean>>;
|
|
30
|
+
export declare class FormCloudComponent extends FormBaseComponent implements OnChanges, OnInit {
|
|
31
|
+
/** App name to fetch corresponding form and values. */
|
|
32
|
+
appName: string;
|
|
33
|
+
/** The application version to use when fetching data */
|
|
34
|
+
appVersion?: number;
|
|
35
|
+
/** Task id to fetch corresponding form and values. */
|
|
36
|
+
formId: string;
|
|
37
|
+
/** ProcessInstanceId id to fetch corresponding form and values. */
|
|
38
|
+
processInstanceId: string;
|
|
39
|
+
/** Task id to fetch corresponding form and values. */
|
|
40
|
+
taskId: string;
|
|
41
|
+
/** Custom form values map to be used with the rendered form. */
|
|
42
|
+
data: TaskVariableCloud[];
|
|
43
|
+
/** The available display configurations for the form */
|
|
44
|
+
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
45
|
+
/** Toggle rendering of the `Complete` button. */
|
|
46
|
+
showCompleteButton: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Custom text for the `Save` button.
|
|
49
|
+
* If not provided, the default text will be used.
|
|
50
|
+
*/
|
|
51
|
+
customSaveButtonText: string;
|
|
52
|
+
/**
|
|
53
|
+
* Custom text for the `Complete` button.
|
|
54
|
+
* If not provided, the default text will be used.
|
|
55
|
+
*/
|
|
56
|
+
customCompleteButtonText: string;
|
|
57
|
+
/**
|
|
58
|
+
* Toggle to enable parent visibility check for validation.
|
|
59
|
+
* When enabled, fields inside hidden groups/sections will skip validation.
|
|
60
|
+
*/
|
|
61
|
+
enableParentVisibilityCheck: boolean;
|
|
62
|
+
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
63
|
+
formSaved: EventEmitter<FormModel>;
|
|
64
|
+
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
65
|
+
formCompleted: EventEmitter<FormModel>;
|
|
66
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
67
|
+
formLoaded: EventEmitter<FormModel>;
|
|
68
|
+
/** Emitted when form values are refreshed due to a data property change. */
|
|
69
|
+
formDataRefreshed: EventEmitter<FormModel>;
|
|
70
|
+
/** Emitted when form content is clicked. */
|
|
71
|
+
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
72
|
+
/** Emitted when a display mode configuration is turned on. */
|
|
73
|
+
displayModeOn: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
74
|
+
/** Emitted when a display mode configuration is turned off. */
|
|
75
|
+
displayModeOff: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
76
|
+
protected subscriptions: Subscription[];
|
|
77
|
+
nodeId: string;
|
|
78
|
+
formCloudRepresentationJSON: any;
|
|
79
|
+
fieldValidators: FormFieldValidator[];
|
|
80
|
+
/** Pre-computed list of outcome buttons to render, filtered by visibility rules. */
|
|
81
|
+
visibleOutcomes: FormOutcomeModel[];
|
|
82
|
+
get form(): FormModel;
|
|
83
|
+
set form(form: FormModel);
|
|
84
|
+
readonly id: string;
|
|
85
|
+
displayMode: string;
|
|
86
|
+
displayConfiguration: FormCloudDisplayModeConfiguration;
|
|
87
|
+
style: string;
|
|
88
|
+
formRenderer: FormRendererComponent<any>;
|
|
89
|
+
private tabNavEnabledByHost;
|
|
90
|
+
get shouldShowTabNavigation(): boolean;
|
|
91
|
+
get canNavigatePreviousTab(): boolean;
|
|
92
|
+
get canNavigateNextTab(): boolean;
|
|
93
|
+
protected formCloudService: FormCloudService;
|
|
94
|
+
protected formService: FormService;
|
|
95
|
+
protected visibilityService: WidgetVisibilityService;
|
|
96
|
+
protected dialog: MatDialog;
|
|
97
|
+
protected spinnerService: FormCloudSpinnerService;
|
|
98
|
+
protected displayModeService: DisplayModeService;
|
|
99
|
+
protected changeDetector: ChangeDetectorRef;
|
|
100
|
+
private readonly destroyRef;
|
|
101
|
+
private get currentForm();
|
|
102
|
+
private get visibleTabCount();
|
|
103
|
+
navigateToPreviousTab(): void;
|
|
104
|
+
navigateToNextTab(): void;
|
|
105
|
+
constructor();
|
|
106
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
107
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
108
|
+
ngOnInit(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Invoked when user clicks form refresh button.
|
|
111
|
+
*/
|
|
112
|
+
onRefreshClicked(): void;
|
|
113
|
+
loadForm(): void;
|
|
114
|
+
findProcessVariablesByTaskId(appName: string, taskId: string): Observable<TaskVariableCloud[]>;
|
|
115
|
+
getCustomOutcomeButtonText(outcome: FormOutcomeModel): string;
|
|
116
|
+
isAProcessTask(taskRepresentation: TaskDetailsCloudModel): boolean;
|
|
117
|
+
getFormByTaskId(appName: string, taskId: string, version?: number): Promise<FormModel>;
|
|
118
|
+
getFormById(appName: string, formId: string, appVersion?: number): void;
|
|
119
|
+
saveTaskForm(): void;
|
|
120
|
+
completeTaskForm(outcome?: string, outcomeId?: string): void;
|
|
121
|
+
private completeForm;
|
|
122
|
+
parseForm(formCloudRepresentationJSON?: any): FormModel | null;
|
|
123
|
+
/**
|
|
124
|
+
* Get custom set of outcomes for a Form Definition.
|
|
125
|
+
*
|
|
126
|
+
* @param form Form definition model.
|
|
127
|
+
* @returns list of form outcomes
|
|
128
|
+
*/
|
|
129
|
+
getFormDefinitionOutcomes(form: FormModel): FormOutcomeModel[];
|
|
130
|
+
checkVisibility(field: FormFieldModel): void;
|
|
131
|
+
private refreshFormData;
|
|
132
|
+
private snapshotRuntimeState;
|
|
133
|
+
private getChangedFieldIds;
|
|
134
|
+
private restoreRuntimeState;
|
|
135
|
+
private recomputeVisibleOutcomes;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the parent visibility check flag on all form fields.
|
|
138
|
+
* When enabled, fields inside hidden groups/sections will skip validation.
|
|
139
|
+
* When disabled, resets flags to false to revert to default behavior.
|
|
140
|
+
*/
|
|
141
|
+
private setCheckParentVisibilityForValidationOnFields;
|
|
142
|
+
protected onFormLoaded(form: FormModel): void;
|
|
143
|
+
protected onFormDataRefreshed(form: FormModel): void;
|
|
144
|
+
protected onTaskSaved(form: FormModel): void;
|
|
145
|
+
protected onTaskSavedError(error: any): void;
|
|
146
|
+
protected onTaskCompleted(form: FormModel): void;
|
|
147
|
+
protected onTaskCompletedError(error: any): void;
|
|
148
|
+
protected onExecuteOutcome(outcome: FormOutcomeModel): boolean;
|
|
149
|
+
protected storeFormAsMetadata(): void;
|
|
150
|
+
switchToDisplayMode(newDisplayMode?: string): void;
|
|
151
|
+
findDisplayConfiguration(displayMode?: string): FormCloudDisplayModeConfiguration;
|
|
152
|
+
loadInjectedFieldValidators(injectedFieldValidators: FormFieldValidator[]): void;
|
|
153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudComponent, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCloudComponent, "adf-cloud-form", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "enableParentVisibilityCheck": { "alias": "enableParentVisibilityCheck"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; "formContentClicked": "formContentClicked"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, ["[empty-form]", "adf-cloud-form-custom-outcomes"], true, never>;
|
|
155
|
+
}
|