@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.
Files changed (190) hide show
  1. package/LICENSE +177 -0
  2. package/bundles/assets/adf-process-services-cloud/i18n/en-AU.json +386 -0
  3. package/fesm2022/adf-process-services-cloud.mjs +654 -369
  4. package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
  5. package/index.d.ts +3 -6257
  6. package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +168 -0
  7. package/lib/app/models/application-instance.model.d.ts +67 -0
  8. package/lib/app/public-api.d.ts +18 -0
  9. package/lib/app/services/apps-process-cloud.service.d.ts +25 -0
  10. package/lib/common/date-range-filter/date-range-filter.component.d.ts +49 -0
  11. package/lib/common/date-range-filter/date-range-filter.service.d.ts +17 -0
  12. package/lib/common/index.d.ts +17 -0
  13. package/lib/common/interface/environment.interface.d.ts +20 -0
  14. package/lib/common/interface/index.d.ts +17 -0
  15. package/lib/common/interface/public-api.d.ts +17 -0
  16. package/lib/common/public-api.d.ts +18 -0
  17. package/lib/form/components/cloud-form-rendering.service.d.ts +7 -0
  18. package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +5 -0
  19. package/lib/form/components/form-cloud.component.d.ts +155 -0
  20. package/lib/form/components/form-cloud.component.scss +40 -11
  21. package/lib/form/components/spinner/form-spinner.component.d.ts +6 -0
  22. package/lib/form/components/spinner/form-spinner.component.scss +1 -1
  23. package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +62 -0
  24. package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.scss +3 -20
  25. package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +49 -0
  26. package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.scss +1 -1
  27. package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +42 -0
  28. package/lib/form/components/widgets/data-table/data-table.widget.d.ts +43 -0
  29. package/lib/form/components/widgets/data-table/data-table.widget.scss +0 -1
  30. package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +29 -0
  31. package/lib/form/components/widgets/date/date-cloud.widget.d.ts +47 -0
  32. package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +39 -0
  33. package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +0 -1
  34. package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +37 -0
  35. package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.scss +0 -9
  36. package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +105 -0
  37. package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +0 -4
  38. package/lib/form/components/widgets/dropdown/validators.d.ts +19 -0
  39. package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +6 -0
  40. package/lib/form/components/widgets/group/group-cloud.widget.d.ts +37 -0
  41. package/lib/form/components/widgets/people/people-cloud.widget.d.ts +40 -0
  42. package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +53 -0
  43. package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +26 -0
  44. package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.scss +1 -1
  45. package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +18 -0
  46. package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +41 -0
  47. package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.scss +0 -9
  48. package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +55 -0
  49. package/lib/form/form-cloud.module.d.ts +34 -0
  50. package/lib/form/models/form-cloud-representation.model.d.ts +48 -0
  51. package/lib/form/models/task-variable-cloud.model.d.ts +24 -0
  52. package/lib/form/public-api.d.ts +40 -0
  53. package/lib/form/services/content-cloud-node-selector.service.d.ts +21 -0
  54. package/lib/form/services/display-mode.service.d.ts +22 -0
  55. package/lib/form/services/form-cloud.service.d.ts +104 -0
  56. package/lib/form/services/form-cloud.service.interface.d.ts +34 -0
  57. package/lib/form/services/form-utils.service.d.ts +11 -0
  58. package/lib/form/services/process-cloud-content.service.d.ts +18 -0
  59. package/lib/form/services/rich-text-parser.service.d.ts +12 -0
  60. package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +26 -0
  61. package/lib/group/components/group-cloud.component.d.ts +123 -0
  62. package/lib/group/components/group-cloud.component.scss +3 -14
  63. package/lib/group/group-cloud.module.d.ts +8 -0
  64. package/lib/group/models/identity-group.model.d.ts +21 -0
  65. package/lib/group/public-api.d.ts +20 -0
  66. package/lib/group/services/identity-group.service.d.ts +28 -0
  67. package/lib/models/application-version.model.d.ts +30 -0
  68. package/lib/models/constant-values.type.d.ts +20 -0
  69. package/lib/models/data-column-custom-data.d.ts +22 -0
  70. package/lib/models/date-cloud-filter.model.d.ts +36 -0
  71. package/lib/models/date-format-cloud.model.d.ts +17 -0
  72. package/lib/models/engine-event-cloud.model.d.ts +21 -0
  73. package/lib/models/filter-cloud-model.d.ts +92 -0
  74. package/lib/models/process-definition-cloud.model.d.ts +32 -0
  75. package/lib/models/process-instance-variable.model.d.ts +38 -0
  76. package/lib/models/process-variable-filter.model.d.ts +24 -0
  77. package/lib/models/task-cloud.model.d.ts +57 -0
  78. package/lib/models/task-list-sorting.model.d.ts +31 -0
  79. package/lib/models/variable-definition.d.ts +24 -0
  80. package/lib/people/components/people-cloud.component.d.ts +167 -0
  81. package/lib/people/components/people-cloud.component.scss +3 -22
  82. package/lib/people/models/identity-user.model.d.ts +24 -0
  83. package/lib/people/people-cloud.module.d.ts +8 -0
  84. package/lib/people/public-api.d.ts +20 -0
  85. package/lib/people/services/identity-user.service.d.ts +45 -0
  86. package/lib/process/process-cloud.module.d.ts +16 -0
  87. package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +182 -0
  88. package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +0 -23
  89. package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +16 -0
  90. package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +146 -0
  91. package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.scss +3 -3
  92. package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +110 -0
  93. package/lib/process/process-filters/process-filters-cloud.module.d.ts +14 -0
  94. package/lib/process/process-filters/public-api.d.ts +22 -0
  95. package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +163 -0
  96. package/lib/process/process-header/components/process-header-cloud.component.d.ts +48 -0
  97. package/lib/process/process-header/process-header-cloud.module.d.ts +8 -0
  98. package/lib/process/process-header/public-api.d.ts +18 -0
  99. package/lib/process/process-list/components/process-list-cloud.component.d.ts +228 -0
  100. package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +23 -0
  101. package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +19 -0
  102. package/lib/process/process-list/models/process-cloud-preferences.d.ts +22 -0
  103. package/lib/process/process-list/models/process-cloud-preset.model.d.ts +35 -0
  104. package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +80 -0
  105. package/lib/process/process-list/models/process-list-sorting.model.d.ts +31 -0
  106. package/lib/process/process-list/process-list-cloud.module.d.ts +7 -0
  107. package/lib/process/process-list/public-api.d.ts +24 -0
  108. package/lib/process/process-list/services/process-list-cloud.service.d.ts +56 -0
  109. package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +30 -0
  110. package/lib/process/public-api.d.ts +22 -0
  111. package/lib/process/services/process-cloud.service.d.ts +41 -0
  112. package/lib/process/start-process/components/start-process-cloud.component.d.ts +146 -0
  113. package/lib/process/start-process/components/start-process-cloud.component.scss +0 -4
  114. package/lib/process/start-process/models/process-instance-cloud.model.d.ts +48 -0
  115. package/lib/process/start-process/models/process-payload-cloud.model.d.ts +35 -0
  116. package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +24 -0
  117. package/lib/process/start-process/public-api.d.ts +20 -0
  118. package/lib/process/start-process/services/start-process-cloud.service.d.ts +64 -0
  119. package/lib/process-services-cloud.module.d.ts +61 -0
  120. package/lib/providers.d.ts +36 -0
  121. package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +33 -0
  122. package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +16 -0
  123. package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +29 -0
  124. package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +48 -0
  125. package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +38 -0
  126. package/lib/screen/public-api.d.ts +20 -0
  127. package/lib/screen/services/provide-screen.d.ts +37 -0
  128. package/lib/screen/services/screen-rendering.service.d.ts +51 -0
  129. package/lib/services/base-cloud.service.d.ts +37 -0
  130. package/lib/services/cloud-token.service.d.ts +24 -0
  131. package/lib/services/form-fields.interfaces.d.ts +246 -0
  132. package/lib/services/local-preference-cloud.service.d.ts +51 -0
  133. package/lib/services/notification-cloud.service.d.ts +7 -0
  134. package/lib/services/preference-cloud.interface.d.ts +24 -0
  135. package/lib/services/public-api.d.ts +26 -0
  136. package/lib/services/task-list-cloud.service.interface.d.ts +47 -0
  137. package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
  138. package/lib/services/user-preference-cloud.service.d.ts +49 -0
  139. package/lib/services/variable-mapper.sevice.d.ts +13 -0
  140. package/lib/services/web-socket.service.d.ts +28 -0
  141. package/lib/task/models/start-task-cloud-request.model.d.ts +28 -0
  142. package/lib/task/models/task-details-cloud.model.d.ts +62 -0
  143. package/lib/task/models/task.model.d.ts +22 -0
  144. package/lib/task/public-api.d.ts +25 -0
  145. package/lib/task/services/task-cloud.service.d.ts +145 -0
  146. package/lib/task/task-cloud.module.d.ts +18 -0
  147. package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +44 -0
  148. package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +152 -0
  149. package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +21 -0
  150. package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +0 -24
  151. package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +24 -0
  152. package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +0 -24
  153. package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +69 -0
  154. package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.scss +8 -8
  155. package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +53 -0
  156. package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss +0 -16
  157. package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +35 -0
  158. package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +106 -0
  159. package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.scss +3 -3
  160. package/lib/task/task-filters/models/filter-cloud.model.d.ts +168 -0
  161. package/lib/task/task-filters/public-api.d.ts +26 -0
  162. package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +127 -0
  163. package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +158 -0
  164. package/lib/task/task-filters/task-filters-cloud.module.d.ts +20 -0
  165. package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +126 -0
  166. package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +39 -0
  167. package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +138 -0
  168. package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +41 -0
  169. package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +39 -0
  170. package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +49 -0
  171. package/lib/task/task-form/public-api.d.ts +20 -0
  172. package/lib/task/task-form/task-form.module.d.ts +14 -0
  173. package/lib/task/task-header/components/task-header-cloud.component.d.ts +86 -0
  174. package/lib/task/task-header/components/task-header-cloud.component.scss +2 -2
  175. package/lib/task/task-header/public-api.d.ts +18 -0
  176. package/lib/task/task-header/task-header-cloud.module.d.ts +8 -0
  177. package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +131 -0
  178. package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +16 -0
  179. package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +23 -0
  180. package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +135 -0
  181. package/lib/task/task-list/models/service-task-cloud.model.d.ts +126 -0
  182. package/lib/task/task-list/models/task-cloud-view.model.d.ts +19 -0
  183. package/lib/task/task-list/public-api.d.ts +22 -0
  184. package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +51 -0
  185. package/lib/task/task-list/services/task-list-cloud.service.d.ts +36 -0
  186. package/lib/task/task-list/task-list-cloud.module.d.ts +12 -0
  187. package/lib/types.d.ts +17 -0
  188. package/package.json +4 -4
  189. package/public-api.d.ts +39 -0
  190. package/lib/process/process-header/components/process-header-cloud.component.scss +0 -3
@@ -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 { PreferenceCloudServiceInterface } from './services/preference-cloud.interface';
18
+ import { Provider } from '@angular/core';
19
+ /**
20
+ * Provides preferences service for the process services cloud components
21
+ *
22
+ * @param opts Optional settings
23
+ * @param opts.filterPreferenceServiceInstance Custom filter instance for `PROCESS_FILTERS_SERVICE_TOKEN` and `TASK_FILTERS_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
24
+ * @param opts.listPreferenceServiceInstance Custom filter instance for `PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN` and `TASK_LIST_PREFERENCES_SERVICE_TOKEN` (default: LocalPreferenceCloudService)
25
+ * @returns list of providers
26
+ */
27
+ export declare function provideCloudPreferences(opts?: {
28
+ filterPreferenceServiceInstance?: PreferenceCloudServiceInterface;
29
+ listPreferenceServiceInstance?: PreferenceCloudServiceInterface;
30
+ }): Provider[];
31
+ /**
32
+ * Provides form rendering services for process cloud components
33
+ *
34
+ * @returns list of providers
35
+ */
36
+ export declare function provideCloudFormRenderer(): Provider[];
@@ -0,0 +1,33 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { ComponentRef, OnInit, ViewContainerRef } from '@angular/core';
18
+ import { ScreenRenderingService } from '../../../services/screen-rendering.service';
19
+ import * as i0 from "@angular/core";
20
+ export declare abstract class BaseScreenCloudComponent<TScreenComponent = unknown> implements OnInit {
21
+ screenId: string;
22
+ container: ViewContainerRef;
23
+ protected componentRef: ComponentRef<TScreenComponent>;
24
+ private readonly _componentRefChanged;
25
+ protected readonly componentRefChanged: import("@angular/core").Signal<ComponentRef<TScreenComponent>>;
26
+ protected readonly screenRenderingService: ScreenRenderingService;
27
+ ngOnInit(): void;
28
+ private createDynamicComponent;
29
+ protected setInputsForDynamicComponent(): void;
30
+ protected abstract subscribeToOutputs(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseScreenCloudComponent<any>, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseScreenCloudComponent<any>, "ng-component", never, { "screenId": { "alias": "screenId"; "required": false; }; }, {}, never, never, true, never>;
33
+ }
@@ -0,0 +1,16 @@
1
+ import { BaseScreenCloudComponent } from '../base-screen/base-screen-cloud.component';
2
+ import { StartProcessScreenCloud } from './start-process-screen.model';
3
+ import { TaskVariableCloud } from '../../../../form/models/task-variable-cloud.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StartProcessScreenCloudComponent extends BaseScreenCloudComponent<StartProcessScreenCloud> {
6
+ readonly appName: import("@angular/core").InputSignal<string>;
7
+ processDefinitionId: import("@angular/core").InputSignal<string>;
8
+ readonly resolvedValues: import("@angular/core").InputSignal<TaskVariableCloud[]>;
9
+ screenStartProcessPayloadChange: import("@angular/core").OutputEmitterRef<unknown>;
10
+ disableStartProcessButton: import("@angular/core").OutputEmitterRef<boolean>;
11
+ showStartProcessButtons: import("@angular/core").WritableSignal<boolean>;
12
+ constructor();
13
+ protected subscribeToOutputs(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessScreenCloudComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessScreenCloudComponent, "adf-cloud-start-process-screen-cloud", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; "isSignal": true; }; "resolvedValues": { "alias": "resolvedValues"; "required": false; "isSignal": true; }; }, { "screenStartProcessPayloadChange": "screenStartProcessPayloadChange"; "disableStartProcessButton": "disableStartProcessButton"; }, never, ["*"], true, never>;
16
+ }
@@ -0,0 +1,29 @@
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 { InputSignal, OutputEmitterRef } from '@angular/core';
18
+ import { TaskVariableCloud } from '../../../../form/models/task-variable-cloud.model';
19
+ export interface StartProcessScreenDefaultButtons {
20
+ show: boolean;
21
+ disable: boolean;
22
+ }
23
+ export interface StartProcessScreenCloud {
24
+ readonly appName?: InputSignal<string>;
25
+ processDefinitionId: InputSignal<string>;
26
+ readonly resolvedValues?: InputSignal<TaskVariableCloud[] | undefined>;
27
+ defaultStartProcessButtonsConfigurationChange: OutputEmitterRef<StartProcessScreenDefaultButtons>;
28
+ startProcessPayloadChanged: OutputEmitterRef<unknown>;
29
+ }
@@ -0,0 +1,48 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { UserTaskCustomUi } from './screen-cloud.model';
3
+ import { MatCheckboxChange } from '@angular/material/checkbox';
4
+ import { BaseScreenCloudComponent } from '../base-screen/base-screen-cloud.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TaskScreenCloudComponent extends BaseScreenCloudComponent<UserTaskCustomUi> {
7
+ /** Task id to fetch corresponding form and values. */
8
+ taskId: string;
9
+ /** App name to fetch data for dynamic component. */
10
+ appName: string;
11
+ /** Boolean informing if a task can be claimed. */
12
+ canClaimTask: boolean;
13
+ /** Boolean informing if a task can be unclaimed. */
14
+ canUnclaimTask: boolean;
15
+ showCancelButton: boolean;
16
+ /** Process Instance Id to fetch corresponding data. */
17
+ processInstanceId: string;
18
+ /** Name of the task. */
19
+ taskName: string;
20
+ /** Toggle readonly state of the task. */
21
+ readOnly: boolean;
22
+ /** Toggle readonly state of the task. */
23
+ rootProcessInstanceId: string;
24
+ /** Whether the `Open next task` checkbox is checked by default or not. */
25
+ isNextTaskCheckboxChecked: boolean;
26
+ /** Toggle rendering of the `Open next task` checkbox. */
27
+ showNextTaskCheckbox: boolean;
28
+ /** Emitted when the task is saved. */
29
+ taskSaved: EventEmitter<any>;
30
+ /** Emitted when the task is completed. */
31
+ taskCompleted: EventEmitter<any>;
32
+ /** Emitted when there is an error. */
33
+ error: EventEmitter<any>;
34
+ /** Emitted when the task is cancelled. */
35
+ cancelTask: EventEmitter<any>;
36
+ /** Emitted when the task is claimed. */
37
+ claimTask: EventEmitter<any>;
38
+ /** Emitted when the task is unclaimed. */
39
+ unclaimTask: EventEmitter<any>;
40
+ /** Emitted when the `Open next task` checkbox was toggled. */
41
+ nextTaskCheckboxCheckedChanged: EventEmitter<MatCheckboxChange>;
42
+ private readonly destroyRef;
43
+ protected setInputsForDynamicComponent(): void;
44
+ protected subscribeToOutputs(): void;
45
+ switchToDisplayMode(newDisplayMode?: string): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskScreenCloudComponent, never>;
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>;
48
+ }
@@ -0,0 +1,38 @@
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
+ export interface UserTaskCustomUi {
19
+ appName: string;
20
+ canClaimTask: boolean;
21
+ canUnclaimTask: boolean;
22
+ processInstanceId: string;
23
+ rootProcessInstanceId: string;
24
+ screenId: string;
25
+ showCancelButton: boolean;
26
+ taskName: string;
27
+ taskId: string;
28
+ isNextTaskCheckboxChecked: boolean;
29
+ showNextTaskCheckbox: boolean;
30
+ cancelTask: EventEmitter<any>;
31
+ claimTask: EventEmitter<any>;
32
+ error: EventEmitter<any>;
33
+ switchToDisplayMode?: (newDisplayMode?: string) => void;
34
+ taskCompleted: EventEmitter<any>;
35
+ taskSaved: EventEmitter<string>;
36
+ unclaimTask: EventEmitter<any>;
37
+ nextTaskCheckboxCheckedChanged: EventEmitter<any>;
38
+ }
@@ -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 * 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';
19
+ export * from './services/screen-rendering.service';
20
+ export * from './services/provide-screen';
@@ -0,0 +1,37 @@
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 { InjectionToken, Provider, Type } from '@angular/core';
18
+ export interface CustomScreen {
19
+ key: string;
20
+ component: Type<any>;
21
+ }
22
+ /**
23
+ * Injection token for custom screens.
24
+ * This token can be used to inject custom screen components into the application.
25
+ * It allows for multiple screen components to be registered and injected.
26
+ */
27
+ export declare const APP_CUSTOM_SCREEN_TOKEN: InjectionToken<CustomScreen>;
28
+ /**
29
+ * Provides a custom screen component to be used in the application.
30
+ * This function allows you to register a custom screen component that can be injected
31
+ * into the application using the `APP_CUSTOM_SCREEN_TOKEN`.
32
+ *
33
+ * @param key - A unique key to identify the screen component.
34
+ * @param component - The screen component to be registered.
35
+ * @returns A provider that can be used in the Angular dependency injection system.
36
+ */
37
+ export declare function provideScreen(key: string, component: Type<any>): Provider;
@@ -0,0 +1,51 @@
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 { DynamicComponentMapper } from '@alfresco/adf-core';
18
+ import * as i0 from "@angular/core";
19
+ /**
20
+ * Service for managing and rendering custom screen components.
21
+ *
22
+ * Custom screens can be registered using the {@link provideScreen} helper function
23
+ * and the {@link APP_CUSTOM_SCREEN_TOKEN} injection token.
24
+ *
25
+ * @example
26
+ * ```
27
+ * // Register a custom screen in your Angular module providers:
28
+ * import { provideScreen, ScreenRenderingService } from '@alfresco/adf-process-services-cloud';
29
+ *
30
+ * @Component({
31
+ * template: '<div>My Custom Screen</div>'
32
+ * })
33
+ * class MyCustomScreenComponent {}
34
+ *
35
+ * @NgModule({
36
+ * providers: [
37
+ * provideScreen('my-custom-screen', MyCustomScreenComponent)
38
+ * ]
39
+ * })
40
+ * export class MyModule {}
41
+ *
42
+ * // The custom screen can now be resolved and rendered by ScreenRenderingService.
43
+ * ```
44
+ */
45
+ export declare class ScreenRenderingService extends DynamicComponentMapper {
46
+ private readonly customScreens;
47
+ constructor();
48
+ private registerCustomScreens;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScreenRenderingService, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScreenRenderingService>;
51
+ }
@@ -0,0 +1,37 @@
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 { AlfrescoApiService } from '@alfresco/adf-content-services';
18
+ import { AppConfigService } from '@alfresco/adf-core';
19
+ import { Observable } from 'rxjs';
20
+ import { AdfHttpClient } from '@alfresco/adf-core/api';
21
+ import { RequestOptions } from '@alfresco/js-api';
22
+ import * as i0 from "@angular/core";
23
+ export declare class BaseCloudService {
24
+ protected adfHttpClient: AdfHttpClient;
25
+ protected apiService: AlfrescoApiService;
26
+ protected appConfigService: AppConfigService;
27
+ protected defaultParams: RequestOptions;
28
+ getBasePath(appName: string): string;
29
+ protected post<T, R>(url: string, data?: T, queryParams?: any): Observable<R>;
30
+ protected put<T, R>(url: string, data?: T): Observable<R>;
31
+ protected delete(url: string): Observable<void>;
32
+ protected get<T>(url: string, queryParams?: any): Observable<T>;
33
+ protected callApi<T>(url: string, params: RequestOptions): Promise<T>;
34
+ protected get contextRoot(): string;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseCloudService, never>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseCloudService>;
37
+ }
@@ -0,0 +1,24 @@
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 { InjectionToken } from '@angular/core';
18
+ import { PreferenceCloudServiceInterface } from './preference-cloud.interface';
19
+ import { TaskListCloudServiceInterface } from './task-list-cloud.service.interface';
20
+ export declare const PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN: InjectionToken<PreferenceCloudServiceInterface>;
21
+ export declare const TASK_LIST_PREFERENCES_SERVICE_TOKEN: InjectionToken<PreferenceCloudServiceInterface>;
22
+ export declare const PROCESS_FILTERS_SERVICE_TOKEN: InjectionToken<PreferenceCloudServiceInterface>;
23
+ export declare const TASK_FILTERS_SERVICE_TOKEN: InjectionToken<PreferenceCloudServiceInterface>;
24
+ export declare const TASK_LIST_CLOUD_TOKEN: InjectionToken<TaskListCloudServiceInterface>;
@@ -0,0 +1,246 @@
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 FormContent {
18
+ formRepresentation: FormRepresentation;
19
+ }
20
+ export interface FormRepresentation {
21
+ id: string;
22
+ name: string;
23
+ description: string;
24
+ version?: number;
25
+ formDefinition?: FormDefinition;
26
+ standAlone?: boolean;
27
+ displayMode?: string;
28
+ }
29
+ export interface FormTab {
30
+ id: string;
31
+ title: string;
32
+ visibilityCondition: VisibilityCondition | null;
33
+ }
34
+ export interface FormTheme {
35
+ form: {
36
+ [key: string]: string;
37
+ };
38
+ widgets: {
39
+ [key: string]: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ };
44
+ };
45
+ }
46
+ export interface FormOutcome {
47
+ id: string;
48
+ name: string;
49
+ }
50
+ export interface FormDefinition {
51
+ tabs: FormTab[];
52
+ fields: Container[] | HeaderRepresentation[];
53
+ outcomes: FormOutcome[];
54
+ metadata: any;
55
+ variables: any[];
56
+ theme?: FormTheme;
57
+ }
58
+ export interface Container {
59
+ id: string;
60
+ type: string;
61
+ tab: string;
62
+ name: string;
63
+ numberOfColumns: number;
64
+ fields: {
65
+ [key: string]: FormFieldRepresentation[];
66
+ };
67
+ }
68
+ export type FormFieldRepresentation = DateField | DateTimeField | TextField | AttachFileField | DropDownField | RadioField | TypeaheadField | PeopleField | AmountField | NumberField | CheckboxField | HyperlinkField;
69
+ export interface AttachFileField extends FormField {
70
+ required: boolean;
71
+ }
72
+ export interface TypeaheadField extends RestField {
73
+ required: boolean;
74
+ }
75
+ export interface RestField extends FormField {
76
+ required: boolean;
77
+ restUrl: string;
78
+ restResponsePath: string;
79
+ restIdProperty: string;
80
+ restLabelProperty: string;
81
+ }
82
+ export interface HeaderRepresentation extends Container {
83
+ numberOfColumns: number;
84
+ params: {
85
+ [key: string]: any;
86
+ };
87
+ visibilityCondition: VisibilityCondition;
88
+ }
89
+ export interface ColumnDefinitionRepresentation extends Container {
90
+ id: string;
91
+ name: string;
92
+ type: string;
93
+ value: any;
94
+ required: boolean;
95
+ editable: boolean;
96
+ sortable: boolean;
97
+ visible: boolean;
98
+ }
99
+ export interface DynamicTableRepresentation extends FormField {
100
+ required: boolean;
101
+ tab: string;
102
+ placeholder: string;
103
+ columnDefinitions: ColumnDefinitionRepresentation[];
104
+ }
105
+ export interface VisibilityCondition {
106
+ leftType: string;
107
+ leftValue: string;
108
+ operator: string;
109
+ rightValue: string | number | Date;
110
+ rightType: string;
111
+ nextConditionOperator?: string;
112
+ nextCondition?: VisibilityCondition;
113
+ }
114
+ export interface FormField {
115
+ id: string;
116
+ name: string;
117
+ value: any;
118
+ type: FormFieldType | string;
119
+ readOnly?: boolean;
120
+ colspan: number;
121
+ params: {
122
+ [anyKey: string]: any;
123
+ };
124
+ visibilityCondition: null | VisibilityCondition;
125
+ style?: string;
126
+ }
127
+ export interface FormOption {
128
+ id: string;
129
+ name: string;
130
+ }
131
+ export interface OptionsField {
132
+ value: any;
133
+ restUrl: string | null;
134
+ restResponsePath: string | null;
135
+ restIdProperty: string | null;
136
+ restLabelProperty: string | null;
137
+ optionType: 'manual' | 'rest';
138
+ options: FormOption[];
139
+ }
140
+ export interface AmountField extends FormField {
141
+ required: boolean;
142
+ placeholder: string | null;
143
+ minValue: number | null;
144
+ maxValue: number | null;
145
+ enableFractions: boolean;
146
+ currency: string;
147
+ }
148
+ export interface CheckboxField extends FormField {
149
+ required: boolean;
150
+ }
151
+ export interface DateField extends FormField {
152
+ required: boolean;
153
+ placeholder: string | null;
154
+ minValue: string | null;
155
+ maxValue: string | null;
156
+ dateDisplayFormat: string;
157
+ }
158
+ export interface DateTimeField extends FormField {
159
+ required: boolean;
160
+ placeholder: string | null;
161
+ minValue: string | null;
162
+ maxValue: string | null;
163
+ dateDisplayFormat: string;
164
+ }
165
+ export interface DropDownField extends OptionsField, FormField {
166
+ required: boolean;
167
+ }
168
+ export interface HyperlinkField extends FormField {
169
+ hyperlinkUrl: string | null;
170
+ displayText: string | null;
171
+ }
172
+ export interface NumberField extends FormField {
173
+ placeholder: string | null;
174
+ minValue: number | null;
175
+ maxValue: number | null;
176
+ required: boolean;
177
+ }
178
+ export interface RadioField extends OptionsField, FormField {
179
+ required: boolean;
180
+ }
181
+ export interface TextField extends FormField {
182
+ regexPattern: string | null;
183
+ required: boolean;
184
+ minLength: number;
185
+ maxLength: number;
186
+ placeholder: string | null;
187
+ }
188
+ export declare const PeopleModeOptions: {
189
+ readonly single: "single";
190
+ readonly multiple: "multiple";
191
+ };
192
+ export type PeopleModeOptions = (typeof PeopleModeOptions)[keyof typeof PeopleModeOptions];
193
+ export interface PeopleField extends FormField {
194
+ required: boolean;
195
+ optionType: PeopleModeOptions;
196
+ }
197
+ export declare const FormFieldType: {
198
+ readonly text: "text";
199
+ readonly multiline: "multi-line-text";
200
+ readonly number: "integer";
201
+ readonly checkbox: "boolean";
202
+ readonly date: "date";
203
+ readonly datetime: "datetime";
204
+ readonly dropdown: "dropdown";
205
+ readonly typeahead: "typeahead";
206
+ readonly amount: "amount";
207
+ readonly radio: "radio-buttons";
208
+ readonly people: "people";
209
+ readonly groupOfPeople: "functional-group";
210
+ readonly dynamicTable: "dynamicTable";
211
+ readonly hyperlink: "hyperlink";
212
+ readonly header: "group";
213
+ readonly uploadFile: "upload";
214
+ readonly uploadFolder: "uploadFolder";
215
+ readonly displayValue: "readonly";
216
+ readonly displayText: "readonly-text";
217
+ readonly fileViewer: "file-viewer";
218
+ readonly button: "button";
219
+ };
220
+ export type FormFieldType = (typeof FormFieldType)[keyof typeof FormFieldType];
221
+ export interface FormCloudDisplayModeConfigurationOptions {
222
+ onCompleteTask(id?: string): void;
223
+ onSaveTask(id?: string): void;
224
+ onDisplayModeOn(id?: string): void;
225
+ onDisplayModeOff(id?: string): void;
226
+ fullscreen?: boolean;
227
+ displayToolbar?: boolean;
228
+ displayCloseButton?: boolean;
229
+ trapFocus?: boolean;
230
+ [key: string]: any;
231
+ }
232
+ export interface FormCloudDisplayModeConfiguration {
233
+ displayMode: string;
234
+ options?: FormCloudDisplayModeConfigurationOptions;
235
+ default?: boolean;
236
+ }
237
+ export declare const FormCloudDisplayMode: {
238
+ readonly inline: "inline";
239
+ readonly fullScreen: "fullScreen";
240
+ readonly standalone: "standalone";
241
+ };
242
+ export type FormCloudDisplayMode = (typeof FormCloudDisplayMode)[keyof typeof FormCloudDisplayMode];
243
+ export interface FormCloudDisplayModeChange {
244
+ displayMode: string;
245
+ id?: string;
246
+ }