@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,51 @@
1
+ import { PreferenceCloudServiceInterface } from './preference-cloud.interface';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LocalPreferenceCloudService implements PreferenceCloudServiceInterface {
5
+ private readonly storage;
6
+ /**
7
+ * Gets local preferences
8
+ *
9
+ * @param _ Name of the target app
10
+ * @param key Key of the target preference
11
+ * @returns List of local preferences
12
+ */
13
+ getPreferences(_: string, key: string): Observable<any>;
14
+ /**
15
+ * Gets local preference.
16
+ *
17
+ * @param _ Name of the target app
18
+ * @param key Key of the target preference
19
+ * @returns Observable of local preference
20
+ */
21
+ getPreferenceByKey(_: string, key: string): Observable<any>;
22
+ /**
23
+ * Creates local preference.
24
+ *
25
+ * @param _ Name of the target app
26
+ * @param key Key of the target preference
27
+ * @param newPreference Details of new local preference
28
+ * @returns Observable of created local preferences
29
+ */
30
+ createPreference(_: string, key: string, newPreference: any): Observable<any>;
31
+ /**
32
+ * Updates local preference.
33
+ *
34
+ * @param _ Name of the target app
35
+ * @param key Key of the target preference
36
+ * @param updatedPreference Details of updated preference
37
+ * @returns Observable of updated local preferences
38
+ */
39
+ updatePreference(_: string, key: string, updatedPreference: any): Observable<any>;
40
+ /**
41
+ * Deletes local preference by given preference key.
42
+ *
43
+ * @param key Key of the target preference
44
+ * @param preferences Details of updated preferences
45
+ * @returns Observable of preferences without deleted preference
46
+ */
47
+ deletePreference(key: string, preferences: any): Observable<any>;
48
+ prepareLocalPreferenceResponse(key: string): any;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalPreferenceCloudService, never>;
50
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalPreferenceCloudService>;
51
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NotificationCloudService {
3
+ private readonly webSocketService;
4
+ makeGQLQuery(appName: string, gqlQuery: string): import("rxjs").Observable<import("@apollo/client/core").FetchResult<unknown>>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationCloudService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationCloudService>;
7
+ }
@@ -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 { Observable } from 'rxjs';
18
+ export interface PreferenceCloudServiceInterface {
19
+ getPreferences(appName: string, key?: string): Observable<any>;
20
+ getPreferenceByKey(appName: string, key: string): Observable<any>;
21
+ createPreference(appName: string, key: string, newPreference: any): Observable<any>;
22
+ updatePreference(appName: string, key: string, updatedPreference: any): Observable<any>;
23
+ deletePreference(appName: string, key: string): Observable<any>;
24
+ }
@@ -0,0 +1,26 @@
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 './base-cloud.service';
18
+ export * from './cloud-token.service';
19
+ export * from './form-fields.interfaces';
20
+ export * from './local-preference-cloud.service';
21
+ export * from './notification-cloud.service';
22
+ export * from './preference-cloud.interface';
23
+ export * from './task-list-cloud.service.interface';
24
+ export * from './user-preference-cloud.service';
25
+ export * from './variable-mapper.sevice';
26
+ export * from './web-socket.service';
@@ -0,0 +1,47 @@
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 { TaskListRequestModel, TaskQueryCloudRequestModel } from '../models/filter-cloud-model';
19
+ export interface TaskListCloudServiceInterface {
20
+ /**
21
+ * Finds a task using an object with optional query properties.
22
+ *
23
+ * @deprecated From Activiti 8.7.0 forward, use TaskListCloudService.fetchTaskList instead.
24
+ * @param requestNode Query object
25
+ * @param queryUrl Query url
26
+ * @returns Task information
27
+ */
28
+ getTaskByRequest(requestNode: TaskQueryCloudRequestModel, queryUrl?: string): Observable<any>;
29
+ /**
30
+ * Available from Activiti version 8.7.0 onwards.
31
+ * Retrieves a list of tasks using an object with optional query properties.
32
+ *
33
+ * @param requestNode Query object
34
+ * @param queryUrl Query url. If empty, query service will be called.
35
+ * @returns List of tasks
36
+ */
37
+ fetchTaskList(requestNode: TaskListRequestModel, queryUrl?: string): Observable<any>;
38
+ /**
39
+ * Available from Activiti version 8.7.0 onwards.
40
+ * Retrieves a list of tasks using an object with optional query properties.
41
+ * Calls runtime bundle service.
42
+ *
43
+ * @param requestNode Query object
44
+ * @returns List of tasks
45
+ */
46
+ fetchTaskList_UsingRuntimeBundleService(requestNode: TaskListRequestModel): Observable<any>;
47
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare const UserTaskContentType: {
3
+ readonly Form: "form";
4
+ readonly Screen: "screen";
5
+ readonly None: "";
6
+ };
7
+ export type UserTaskType = (typeof UserTaskContentType)[keyof typeof UserTaskContentType];
8
+ export declare class TaskTypeResolverService {
9
+ isScreenTask(formKey?: string): boolean;
10
+ isFormTask(formKey?: string): boolean;
11
+ getScreenId(formKey?: string): string;
12
+ getUserTaskType(formKey?: string): UserTaskType;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskTypeResolverService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaskTypeResolverService>;
15
+ }
@@ -0,0 +1,49 @@
1
+ import { PreferenceCloudServiceInterface } from './preference-cloud.interface';
2
+ import { Observable } from 'rxjs';
3
+ import { BaseCloudService } from './base-cloud.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class UserPreferenceCloudService extends BaseCloudService implements PreferenceCloudServiceInterface {
6
+ /**
7
+ * Gets user preferences
8
+ *
9
+ * @param appName Name of the target app
10
+ * @returns List of user preferences
11
+ */
12
+ getPreferences(appName: string): Observable<any>;
13
+ /**
14
+ * Gets user preference.
15
+ *
16
+ * @param appName Name of the target app
17
+ * @param key Key of the target preference
18
+ * @returns Observable of user preference
19
+ */
20
+ getPreferenceByKey(appName: string, key: string): Observable<any>;
21
+ /**
22
+ * Creates user preference.
23
+ *
24
+ * @param appName Name of the target app
25
+ * @param key Key of the target preference
26
+ * @param newPreference Details of new user preference
27
+ * @returns Observable of created user preferences
28
+ */
29
+ createPreference(appName: string, key: string, newPreference: any): Observable<any>;
30
+ /**
31
+ * Updates user preference.
32
+ *
33
+ * @param appName Name of the target app
34
+ * @param key Key of the target preference
35
+ * @param updatedPreference Details of updated preference
36
+ * @returns Observable of updated user preferences
37
+ */
38
+ updatePreference(appName: string, key: string, updatedPreference: any): Observable<any>;
39
+ /**
40
+ * Deletes user preference by given preference key.
41
+ *
42
+ * @param appName Name of the target app
43
+ * @param key Key of the target preference
44
+ * @returns Observable of delete operation status
45
+ */
46
+ deletePreference(appName: string, key: string): Observable<any>;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferenceCloudService, never>;
48
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferenceCloudService>;
49
+ }
@@ -0,0 +1,13 @@
1
+ import { DataColumn } from '@alfresco/adf-core';
2
+ import { ProcessListDataColumnCustomData } from '../models/data-column-custom-data';
3
+ import { ProcessInstanceVariable, WithVariablesMap } from '../models/process-instance-variable.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class VariableMapperService {
6
+ mapVariablesByColumnTitle<T extends {
7
+ variables?: ProcessInstanceVariable[];
8
+ }>(instancesList?: T[], columnsSchema?: DataColumn<ProcessListDataColumnCustomData>[]): Array<WithVariablesMap<T>>;
9
+ private mapColumnKeysByVariable;
10
+ private mapProcessVariableTypes;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<VariableMapperService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<VariableMapperService>;
13
+ }
@@ -0,0 +1,28 @@
1
+ import { FetchResult, SubscriptionOptions } from '@apollo/client/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ interface serviceOptions {
5
+ apolloClientName: string;
6
+ wsUrl: string;
7
+ httpUrl?: string;
8
+ subscriptionOptions: SubscriptionOptions;
9
+ }
10
+ export declare class WebSocketService {
11
+ private readonly apollo;
12
+ private readonly httpLink;
13
+ private readonly authService;
14
+ private readonly appConfigService;
15
+ private readonly subscriptionProtocol;
16
+ private wsLink;
17
+ private httpLinkHandler;
18
+ getSubscription<T>(options: serviceOptions): Observable<FetchResult<T>>;
19
+ private get contextRoot();
20
+ private createWsUrl;
21
+ private createHttpUrl;
22
+ private initSubscriptions;
23
+ private createGraphQLWsLink;
24
+ private createHttpLinkHandler;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<WebSocketService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<WebSocketService>;
27
+ }
28
+ export {};
@@ -0,0 +1,28 @@
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 declare class StartTaskCloudRequestModel {
18
+ name: string;
19
+ description: string;
20
+ assignee: string;
21
+ priority: string;
22
+ dueDate: Date;
23
+ candidateUsers: string[];
24
+ candidateGroups: string[];
25
+ payloadType: string;
26
+ formKey: string;
27
+ constructor(obj?: any);
28
+ }
@@ -0,0 +1,62 @@
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 TaskDetailsCloudModel {
18
+ id?: string;
19
+ name?: string;
20
+ appName?: string;
21
+ assignee?: string;
22
+ appVersion?: number;
23
+ createdDate?: Date;
24
+ claimedDate?: Date;
25
+ completedDate?: Date;
26
+ formKey?: any;
27
+ category?: any;
28
+ description?: string;
29
+ dueDate?: Date;
30
+ lastModified?: Date;
31
+ lastModifiedTo?: Date;
32
+ lastModifiedFrom?: Date;
33
+ owner?: any;
34
+ parentTaskId?: string;
35
+ permissions?: TaskPermissions[];
36
+ priority?: number;
37
+ processDefinitionId?: string;
38
+ processInstanceId?: string;
39
+ rootProcessInstanceId?: string;
40
+ status?: TaskStatus;
41
+ standalone?: boolean;
42
+ candidateUsers?: string[];
43
+ candidateGroups?: string[];
44
+ managerOfCandidateGroup?: boolean;
45
+ memberOfCandidateGroup?: boolean;
46
+ memberOfCandidateUsers?: boolean;
47
+ processDefinitionDeploymentId?: string;
48
+ }
49
+ export interface StartTaskCloudResponseModel {
50
+ entry: TaskDetailsCloudModel;
51
+ }
52
+ export type TaskStatus = 'COMPLETED' | 'CREATED' | 'ASSIGNED' | 'SUSPENDED' | 'CANCELLED';
53
+ export declare const TASK_COMPLETED_STATE: TaskStatus;
54
+ export declare const TASK_CREATED_STATE: TaskStatus;
55
+ export declare const TASK_ASSIGNED_STATE: TaskStatus;
56
+ export declare const TASK_SUSPENDED_STATE: TaskStatus;
57
+ export declare const TASK_CANCELLED_STATE: TaskStatus;
58
+ export type TaskPermissions = 'VIEW' | 'CLAIM' | 'RELEASE' | 'UPDATE';
59
+ export declare const TASK_CLAIM_PERMISSION: TaskPermissions;
60
+ export declare const TASK_RELEASE_PERMISSION: TaskPermissions;
61
+ export declare const TASK_VIEW_PERMISSION: TaskPermissions;
62
+ export declare const TASK_UPDATE_PERMISSION: TaskPermissions;
@@ -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
+ export interface TaskPriorityOption {
18
+ label: string;
19
+ key: string;
20
+ value: string;
21
+ }
22
+ export declare const DEFAULT_TASK_PRIORITIES: TaskPriorityOption[];
@@ -0,0 +1,25 @@
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 './task-list/public-api';
18
+ export * from './task-filters/public-api';
19
+ export * from './models/task-details-cloud.model';
20
+ export * from './models/task.model';
21
+ export * from './models/start-task-cloud-request.model';
22
+ export * from './task-header/public-api';
23
+ export * from './task-form/public-api';
24
+ export * from './services/task-cloud.service';
25
+ export * from './task-cloud.module';
@@ -0,0 +1,145 @@
1
+ import { CardViewArrayItem } from '@alfresco/adf-core';
2
+ import { Observable, Subject } from 'rxjs';
3
+ import { TaskDetailsCloudModel } from '../models/task-details-cloud.model';
4
+ import { BaseCloudService } from '../../services/base-cloud.service';
5
+ import { StartTaskCloudRequestModel } from '../models/start-task-cloud-request.model';
6
+ import { ProcessDefinitionCloud } from '../../models/process-definition-cloud.model';
7
+ import { TaskPriorityOption } from '../models/task.model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TaskCloudService extends BaseCloudService {
10
+ private readonly translateService;
11
+ private readonly identityUserService;
12
+ dataChangesDetected$: Subject<unknown>;
13
+ /**
14
+ * Complete a task.
15
+ *
16
+ * @param appName Name of the app
17
+ * @param taskId ID of the task to complete
18
+ * @returns Details of the task that was completed
19
+ */
20
+ completeTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>;
21
+ /**
22
+ * Validate if a task can be completed.
23
+ *
24
+ * @param taskDetails task details object
25
+ * @returns Boolean value if the task can be completed
26
+ */
27
+ canCompleteTask(taskDetails: TaskDetailsCloudModel): boolean;
28
+ /**
29
+ * Validate if a task is editable.
30
+ *
31
+ * @param taskDetails task details object
32
+ * @returns Boolean value if the task is editable
33
+ */
34
+ isTaskEditable(taskDetails: TaskDetailsCloudModel): boolean;
35
+ isAssigneePropertyClickable(taskDetails: TaskDetailsCloudModel, candidateUsers: CardViewArrayItem[], candidateGroups: CardViewArrayItem[]): boolean;
36
+ /**
37
+ * Validates if a task was completed by the current user.
38
+ *
39
+ * @param taskDetails task details object
40
+ * @returns Boolean value if the task was completed by the current user
41
+ */
42
+ wasTaskCompletedByCurrentUser(taskDetails: TaskDetailsCloudModel): boolean;
43
+ /**
44
+ * Validate if a task can be claimed.
45
+ *
46
+ * @param taskDetails task details object
47
+ * @returns Boolean value if the task can be completed
48
+ */
49
+ canClaimTask(taskDetails: TaskDetailsCloudModel): boolean;
50
+ /**
51
+ * Validate if a task can be unclaimed.
52
+ *
53
+ * @param taskDetails task details object
54
+ * @returns Boolean value if the task can be completed
55
+ */
56
+ canUnclaimTask(taskDetails: TaskDetailsCloudModel): boolean;
57
+ /**
58
+ * Returns the next recommended task to process.
59
+ *
60
+ * @param appName Name of the app
61
+ * @param strategy The task identification strategy
62
+ * @returns Details of the returned task
63
+ */
64
+ nextTask(appName: string, strategy?: string): Observable<TaskDetailsCloudModel>;
65
+ /**
66
+ * Claims a task for an assignee.
67
+ *
68
+ * @param appName Name of the app
69
+ * @param taskId ID of the task to claim
70
+ * @param assignee User to assign the task to
71
+ * @returns Details of the claimed task
72
+ */
73
+ claimTask(appName: string, taskId: string, assignee: string): Observable<TaskDetailsCloudModel>;
74
+ /**
75
+ * Un-claims a task.
76
+ *
77
+ * @param appName Name of the app
78
+ * @param taskId ID of the task to unclaim
79
+ * @returns Details of the task that was unclaimed
80
+ */
81
+ unclaimTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>;
82
+ /**
83
+ * Gets details of a task.
84
+ *
85
+ * @param appName Name of the app
86
+ * @param taskId ID of the task whose details you want
87
+ * @param service The service to call. Either Query Service or Runtime Bundle Service.
88
+ * @returns Task details
89
+ */
90
+ getTaskById(appName: string, taskId: string, service?: 'query' | 'rb'): Observable<TaskDetailsCloudModel>;
91
+ /**
92
+ * Creates a new standalone task.
93
+ *
94
+ * @param startTaskRequest request model
95
+ * @param appName application name
96
+ * @returns Details of the newly created task
97
+ */
98
+ createNewTask(startTaskRequest: StartTaskCloudRequestModel, appName: string): Observable<TaskDetailsCloudModel>;
99
+ /**
100
+ * Updates the details (name, description, due date) for a task.
101
+ *
102
+ * @param appName Name of the app
103
+ * @param taskId ID of the task to update
104
+ * @param payload Data to update the task
105
+ * @returns Updated task details
106
+ */
107
+ updateTask(appName: string, taskId: string, payload: any): Observable<TaskDetailsCloudModel>;
108
+ /**
109
+ * Gets candidate users of the task.
110
+ *
111
+ * @param appName Name of the app
112
+ * @param taskId ID of the task
113
+ * @returns Candidate users
114
+ */
115
+ getCandidateUsers(appName: string, taskId: string): Observable<string[]>;
116
+ /**
117
+ * Gets candidate groups of the task.
118
+ *
119
+ * @param appName Name of the app
120
+ * @param taskId ID of the task
121
+ * @returns Candidate groups
122
+ */
123
+ getCandidateGroups(appName: string, taskId: string): Observable<string[]>;
124
+ /**
125
+ * Gets the process definitions associated with an app.
126
+ *
127
+ * @param appName Name of the target app
128
+ * @returns Array of process definitions
129
+ */
130
+ getProcessDefinitions(appName: string): Observable<ProcessDefinitionCloud[]>;
131
+ /**
132
+ * Updates the task assignee.
133
+ *
134
+ * @param appName Name of the app
135
+ * @param taskId ID of the task to update assignee
136
+ * @param assignee assignee to update current user task assignee
137
+ * @returns Updated task details with new assignee
138
+ */
139
+ assign(appName: string, taskId: string, assignee: string): Observable<TaskDetailsCloudModel>;
140
+ getPriorityLabel(priority: number): string;
141
+ get priorities(): TaskPriorityOption[];
142
+ protected isAssignedToMe(assignee: string): boolean;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskCloudService, never>;
144
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaskCloudService>;
145
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./task-list/task-list-cloud.module";
3
+ import * as i2 from "./task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component";
4
+ import * as i3 from "./task-filters/components/task-filters/task-filters-cloud.component";
5
+ import * as i4 from "./task-filters/components/service-task-filters/service-task-filters-cloud.component";
6
+ import * as i5 from "./task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component";
7
+ import * as i6 from "./task-filters/components/task-assignment-filter/task-assignment-filter.component";
8
+ import * as i7 from "./task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component";
9
+ import * as i8 from "./task-header/components/task-header-cloud.component";
10
+ import * as i9 from "./task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component";
11
+ import * as i10 from "./task-form/components/task-form-cloud/task-form-cloud.component";
12
+ import * as i11 from "./task-form/components/user-task-cloud/user-task-cloud.component";
13
+ /** @deprecated use standalone component imports instead */
14
+ export declare class TaskCloudModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskCloudModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TaskCloudModule, never, [typeof i1.TaskListCloudModule, typeof i2.TaskFilterDialogCloudComponent, typeof i3.TaskFiltersCloudComponent, typeof i4.ServiceTaskFiltersCloudComponent, typeof i5.EditTaskFilterCloudComponent, typeof i6.TaskAssignmentFilterCloudComponent, typeof i7.EditServiceTaskFilterCloudComponent, typeof i8.TaskHeaderCloudComponent, typeof i9.UserTaskCloudButtonsComponent, typeof i10.TaskFormCloudComponent, typeof i11.UserTaskCloudComponent], [typeof i1.TaskListCloudModule, typeof i2.TaskFilterDialogCloudComponent, typeof i3.TaskFiltersCloudComponent, typeof i4.ServiceTaskFiltersCloudComponent, typeof i5.EditTaskFilterCloudComponent, typeof i6.TaskAssignmentFilterCloudComponent, typeof i7.EditServiceTaskFilterCloudComponent, typeof i8.TaskHeaderCloudComponent, typeof i9.UserTaskCloudButtonsComponent, typeof i10.TaskFormCloudComponent, typeof i11.UserTaskCloudComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<TaskCloudModule>;
18
+ }
@@ -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 { DestroyRef, EventEmitter } from '@angular/core';
18
+ import { FilterParamsModel } from '../models/filter-cloud.model';
19
+ import * as i0 from "@angular/core";
20
+ export declare abstract class BaseTaskFiltersCloudComponent {
21
+ /** Display filters available to the current user for the application with the specified name. */
22
+ appName: string;
23
+ /**
24
+ * Parameters to use for the task filter cloud. If there is no match then the default filter
25
+ * (the first one in the list) is selected.
26
+ */
27
+ filterParam: FilterParamsModel;
28
+ /** Toggles display of the filter's icons. */
29
+ showIcons: boolean;
30
+ /** Emitted when the list is loaded. */
31
+ success: EventEmitter<any>;
32
+ /** Emitted when an error occurs during loading. */
33
+ error: EventEmitter<any>;
34
+ counters: {
35
+ [key: string]: number;
36
+ };
37
+ updatedCountersSet: Set<string>;
38
+ protected destroyRef: DestroyRef;
39
+ wasFilterUpdated(filterKey: string): boolean;
40
+ addToUpdatedCounters(filterKey: string): void;
41
+ resetFilterCounter(filterKey: string): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTaskFiltersCloudComponent, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTaskFiltersCloudComponent, never, never, { "appName": { "alias": "appName"; "required": false; }; "filterParam": { "alias": "filterParam"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
44
+ }