@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,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
+ export type WithVariablesMap<T> = T & {
18
+ variablesMap?: {
19
+ [key: string]: ProcessInstanceVariable;
20
+ };
21
+ };
22
+ export interface ProcessInstanceVariable {
23
+ id: number;
24
+ variableDefinitionId: string;
25
+ processDefinitionKey: string;
26
+ value: string;
27
+ appName: string;
28
+ createTime: string;
29
+ lastUpdatedTime: string;
30
+ markedAsDeleted: boolean;
31
+ name: string;
32
+ processInstanceId: string;
33
+ serviceFullName: string;
34
+ serviceName: string;
35
+ serviceVersion: string;
36
+ taskVariable: boolean;
37
+ type: string;
38
+ }
@@ -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
+ export type ProcessFilterOperators = 'eq' | 'ne' | 'like' | 'gt' | 'gte' | 'lt' | 'lte';
18
+ export interface ProcessVariableFilterModel {
19
+ processDefinitionKey: string;
20
+ name: string;
21
+ type: string;
22
+ value: string | number;
23
+ operator: ProcessFilterOperators;
24
+ }
@@ -0,0 +1,57 @@
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 { Pagination } from '@alfresco/js-api';
18
+ import { IdentityGroupModel } from '../group/models/identity-group.model';
19
+ import { IdentityUserModel } from '../people/models/identity-user.model';
20
+ import { ProcessInstanceVariable } from './process-instance-variable.model';
21
+ import { ConstantValues } from './constant-values.type';
22
+ export declare class TaskCloudNodePaging {
23
+ list: TaskCloudPagingList;
24
+ }
25
+ export declare class TaskCloudPagingList {
26
+ pagination: Pagination;
27
+ entries: TaskCloudEntryModel[];
28
+ }
29
+ export declare class TaskCloudEntryModel {
30
+ entry: TaskCloudModel;
31
+ }
32
+ export interface TaskCloudModel {
33
+ appName: string;
34
+ appVersion: string;
35
+ assignee: string;
36
+ candidateGroups: IdentityGroupModel[];
37
+ candidateUsers: IdentityUserModel[];
38
+ createdDate: string;
39
+ formKey: string;
40
+ id: string;
41
+ inFinalState: boolean;
42
+ lastModified: string;
43
+ name: string;
44
+ priority: number;
45
+ processDefinitionId: string;
46
+ processDefinitionName: string;
47
+ processDefinitionVersion: number;
48
+ processInstanceId: string;
49
+ serviceFullName: string;
50
+ serviceName: string;
51
+ serviceVersion: string;
52
+ standalone: boolean;
53
+ status: string;
54
+ taskDefinitionKey: string;
55
+ processVariables?: ProcessInstanceVariable[];
56
+ constantValues?: ConstantValues;
57
+ }
@@ -0,0 +1,31 @@
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 TaskListCloudSortingModel {
18
+ orderBy: string;
19
+ direction: string;
20
+ constructor(obj: any);
21
+ }
22
+ export declare class TaskListRequestSortingModel extends TaskListCloudSortingModel {
23
+ orderBy: string;
24
+ direction: string;
25
+ isFieldProcessVariable: boolean;
26
+ processVariableData?: {
27
+ processDefinitionKey: string;
28
+ type: string;
29
+ };
30
+ constructor(obj: TaskListRequestSortingModel);
31
+ }
@@ -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
+ export interface ProcessVariableDefinition {
18
+ id: string;
19
+ name: string;
20
+ type: string;
21
+ required: boolean;
22
+ display: boolean;
23
+ displayName?: string;
24
+ }
@@ -0,0 +1,167 @@
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 { UntypedFormControl } from '@angular/forms';
18
+ import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
19
+ import { BehaviorSubject, Observable } from 'rxjs';
20
+ import { ComponentSelectionMode } from '../../types';
21
+ import { IdentityUserModel } from '../models/identity-user.model';
22
+ import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
23
+ import * as i0 from "@angular/core";
24
+ export declare class PeopleCloudComponent implements OnInit, OnChanges, AfterViewInit {
25
+ private readonly identityUserService;
26
+ /** Label for the user selection component. */
27
+ label: string;
28
+ /** Name of the application. If specified, this shows the users who have access to the app. */
29
+ appName: string;
30
+ /** User selection mode (single/multiple). */
31
+ mode: ComponentSelectionMode;
32
+ /** Role names of the users to be listed. */
33
+ roles: string[];
34
+ /**
35
+ * This flag enables the validation on the preSelectUsers passed as input.
36
+ * In case the flag is true the components call the identity service to verify the validity of the information passed as input.
37
+ * Otherwise, no check will be done.
38
+ */
39
+ validate: boolean;
40
+ /**
41
+ * Show the info in readonly mode
42
+ */
43
+ readOnly: boolean;
44
+ /**
45
+ * Mark this field as required
46
+ */
47
+ required: boolean;
48
+ /**
49
+ * Array of users to be pre-selected. All users in the
50
+ * array are pre-selected in multi selection mode, but only the first user
51
+ * is pre-selected in single selection mode.
52
+ * Mandatory properties are: id, email, username
53
+ */
54
+ preSelectUsers: IdentityUserModel[];
55
+ /**
56
+ * Array of users to be excluded.
57
+ * Mandatory properties are: id, email, username
58
+ */
59
+ excludedUsers: IdentityUserModel[];
60
+ /**
61
+ * Array of groups to restrict user searches.
62
+ * Mandatory property is group name
63
+ */
64
+ groupsRestriction: string[];
65
+ /** FormControl to list of users */
66
+ userChipsCtrl: UntypedFormControl;
67
+ /** FormControl to search the user */
68
+ searchUserCtrl: UntypedFormControl;
69
+ /**
70
+ * Label translation key
71
+ */
72
+ title: string;
73
+ /**
74
+ * Placeholder for the input field
75
+ */
76
+ placeholder: string;
77
+ /**
78
+ * Hide the matInput associated with the chip grid when a single user is selected in single selection mode.
79
+ * The input will be shown again when the user is removed using the icon on the chip.
80
+ */
81
+ hideInputOnSingleSelection: boolean;
82
+ /**
83
+ * Material form field appearance (fill / outline)
84
+ */
85
+ formFieldAppearance: MatFormFieldAppearance;
86
+ /**
87
+ * Material form field subscript sizing (fixed / dynamic)
88
+ */
89
+ formFieldSubscriptSizing: SubscriptSizing;
90
+ /**
91
+ * Show errors under the form field
92
+ */
93
+ showErrors: boolean;
94
+ /**
95
+ * Show the full name of the user on hover in the chips
96
+ */
97
+ showFullNameOnHover: boolean;
98
+ /** Emitted when a user is selected. */
99
+ selectUser: EventEmitter<IdentityUserModel>;
100
+ /** Emitted when a selected user is removed in multi selection mode. */
101
+ removeUser: EventEmitter<IdentityUserModel>;
102
+ /** Emitted when a user selection change. */
103
+ changedUsers: EventEmitter<IdentityUserModel[]>;
104
+ /** Emitted when an warning occurs. */
105
+ warning: EventEmitter<any>;
106
+ private readonly userInput;
107
+ private searchUsers;
108
+ selectedUsers: IdentityUserModel[];
109
+ invalidUsers: IdentityUserModel[];
110
+ searchUsers$: BehaviorSubject<IdentityUserModel[]>;
111
+ subscriptAnimationState: string;
112
+ isFocused: boolean;
113
+ touched: boolean;
114
+ validateUsersMessage: string;
115
+ searchedValue: string;
116
+ validationLoading: boolean;
117
+ searchLoading: boolean;
118
+ typingUniqueValueNotEmpty$: Observable<string>;
119
+ private readonly destroyRef;
120
+ ngOnInit(): void;
121
+ ngOnChanges(changes: SimpleChanges): void;
122
+ ngAfterViewInit(): void;
123
+ private initSearch;
124
+ private initializeStream;
125
+ private isValidationEnabled;
126
+ private isUserAlreadySelected;
127
+ private isExcludedUser;
128
+ private loadPreSelectUsers;
129
+ private getPreselectedUsers;
130
+ private validatePreselectUsers;
131
+ equalsUsers(preselectedUser: IdentityUserModel, identityUser: IdentityUserModel): boolean;
132
+ removeDuplicatedUsers(users: IdentityUserModel[]): IdentityUserModel[];
133
+ onSelect(user: IdentityUserModel): void;
134
+ onRemove(userToRemove: IdentityUserModel): void;
135
+ private checkPreselectValidationErrors;
136
+ private removeUserFromSelected;
137
+ private removeUserFromValidation;
138
+ private generateInvalidUsersMessage;
139
+ hasPreselectError(): boolean;
140
+ getDisplayName(user: any): string;
141
+ private isMultipleMode;
142
+ private isSingleMode;
143
+ private isSingleSelectionReadonly;
144
+ private hasPreSelectUsers;
145
+ private hasModeChanged;
146
+ private isValidationChanged;
147
+ private hasPreselectedUsersChanged;
148
+ private hasPreselectedUsersCleared;
149
+ private resetSearchUsers;
150
+ private setTypingError;
151
+ private userChipsControlValue;
152
+ getSelectedUsers(): IdentityUserModel[];
153
+ isReadonly(): boolean;
154
+ isValidationLoading(): boolean;
155
+ updateSearchControlState(): void;
156
+ markAsTouched(): void;
157
+ isTouched(): boolean;
158
+ isSelected(): boolean;
159
+ isDirty(): boolean;
160
+ setFocus(isFocused: boolean): void;
161
+ hasError(): boolean;
162
+ getValidationPattern(): string;
163
+ getValidationMaxLength(): string;
164
+ getValidationMinLength(): string;
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<PeopleCloudComponent, never>;
166
+ static ɵcmp: i0.ɵɵComponentDeclaration<PeopleCloudComponent, "adf-cloud-people", never, { "label": { "alias": "label"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "roles": { "alias": "roles"; "required": false; }; "validate": { "alias": "validate"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "preSelectUsers": { "alias": "preSelectUsers"; "required": false; }; "excludedUsers": { "alias": "excludedUsers"; "required": false; }; "groupsRestriction": { "alias": "groupsRestriction"; "required": false; }; "userChipsCtrl": { "alias": "userChipsCtrl"; "required": false; }; "searchUserCtrl": { "alias": "searchUserCtrl"; "required": false; }; "title": { "alias": "title"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hideInputOnSingleSelection": { "alias": "hideInputOnSingleSelection"; "required": false; }; "formFieldAppearance": { "alias": "formFieldAppearance"; "required": false; }; "formFieldSubscriptSizing": { "alias": "formFieldSubscriptSizing"; "required": false; }; "showErrors": { "alias": "showErrors"; "required": false; }; "showFullNameOnHover": { "alias": "showFullNameOnHover"; "required": false; }; }, { "selectUser": "selectUser"; "removeUser": "removeUser"; "changedUsers": "changedUsers"; "warning": "warning"; }, never, never, true, never>;
167
+ }
@@ -2,16 +2,11 @@
2
2
  &-people-cloud {
3
3
  width: 100%;
4
4
 
5
- &-option-not-active:not(&:active) {
6
- background: inherit;
7
- color: var(--adf-theme-foreground-secondary-text-color);
8
- }
9
-
10
5
  &-title {
11
- color: var(--adf-theme-foreground-secondary-text-color);
6
+ color: var(--mat-sys-on-surface-variant);
12
7
 
13
8
  &--focus {
14
- color: var(--theme-primary-color);
9
+ color: var(--mat-sys-primary);
15
10
  }
16
11
  }
17
12
  }
@@ -21,14 +16,6 @@
21
16
  padding: 10px 0;
22
17
  }
23
18
 
24
- &-people-cloud-option-active:not(&:disabled) {
25
- color: var(--adf-theme-foreground-text-color);
26
- }
27
-
28
- &-people-cloud-option-not-active:not(&:active) {
29
- color: var(--adf-theme-foreground-secondary-text-color);
30
- }
31
-
32
19
  &-people-cloud-row {
33
20
  display: flex;
34
21
  align-items: center;
@@ -36,7 +23,7 @@
36
23
  }
37
24
 
38
25
  &-people-cloud-pic {
39
- background: var(--theme-primary-color);
26
+ background: var(--mat-sys-primary);
40
27
  display: flex;
41
28
  justify-content: center;
42
29
  align-items: center;
@@ -58,10 +45,4 @@
58
45
  width: auto;
59
46
  }
60
47
  }
61
-
62
- &-error,
63
- &-error-text,
64
- &-error-icon {
65
- color: var(--theme-warn-color);
66
- }
67
48
  }
@@ -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
+ export interface IdentityUserModel {
18
+ id?: string;
19
+ username: string;
20
+ firstName?: string;
21
+ lastName?: string;
22
+ email?: string;
23
+ readonly?: boolean;
24
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/people-cloud.component";
3
+ /** @deprecated use PeopleCloudComponent instead */
4
+ export declare class PeopleCloudModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PeopleCloudModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PeopleCloudModule, never, [typeof i1.PeopleCloudComponent], [typeof i1.PeopleCloudComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PeopleCloudModule>;
8
+ }
@@ -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/people-cloud.component';
18
+ export * from './people-cloud.module';
19
+ export * from './models/identity-user.model';
20
+ export * from './services/identity-user.service';
@@ -0,0 +1,45 @@
1
+ import { Observable } from 'rxjs';
2
+ import { IdentityUserModel } from '../models/identity-user.model';
3
+ import * as i0 from "@angular/core";
4
+ export interface IdentityUserFilterInterface {
5
+ roles?: string[];
6
+ withinApplication?: string;
7
+ groups?: string[];
8
+ }
9
+ export declare class IdentityUserService {
10
+ private readonly jwtHelperService;
11
+ private readonly oAuth2Service;
12
+ private readonly appConfigService;
13
+ queryParams: {
14
+ search: string;
15
+ application?: string;
16
+ roles?: string[];
17
+ groups?: string[];
18
+ };
19
+ /**
20
+ * Gets the name and other basic details of the current user.
21
+ *
22
+ * @returns The user's details
23
+ */
24
+ getCurrentUserInfo(): IdentityUserModel;
25
+ /**
26
+ * Search users based on name input and filters.
27
+ *
28
+ * @param name Search query string
29
+ * @param [filters] Search query filters
30
+ * @returns List of users
31
+ */
32
+ search(name: string, filters?: IdentityUserFilterInterface): Observable<IdentityUserModel[]>;
33
+ private searchUsersByName;
34
+ private searchUsersWithGlobalRoles;
35
+ private searchUsersWithinApp;
36
+ private searchUsersWithGroups;
37
+ private invokeIdentityUserApi;
38
+ private buildQueryParam;
39
+ private addOptionalCommaValueToQueryParam;
40
+ private addOptionalValueToQueryParam;
41
+ private filterOutEmptyValue;
42
+ private get identityHost();
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<IdentityUserService, never>;
44
+ static ɵprov: i0.ɵɵInjectableDeclaration<IdentityUserService>;
45
+ }
@@ -0,0 +1,16 @@
1
+ import { StartProcessCloudComponent } from './start-process/components/start-process-cloud.component';
2
+ import { ProcessHeaderCloudComponent } from './process-header/components/process-header-cloud.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./process-filters/components/process-filters/process-filters-cloud.component";
5
+ import * as i2 from "./process-filters/components/edit-process-filter/edit-process-filter-cloud.component";
6
+ import * as i3 from "./process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component";
7
+ import * as i4 from "./process-list/process-list-cloud.module";
8
+ import * as i5 from "./start-process/components/start-process-cloud.component";
9
+ import * as i6 from "./process-header/components/process-header-cloud.component";
10
+ export declare const PROCESS_CLOUD_DIRECTIVES: readonly [typeof StartProcessCloudComponent, typeof ProcessHeaderCloudComponent];
11
+ /** @deprecated use standalone components or PROCESS_CLOUD_DIRECTIVES instead */
12
+ export declare class ProcessCloudModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProcessCloudModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessCloudModule, never, [typeof i1.ProcessFiltersCloudComponent, typeof i2.EditProcessFilterCloudComponent, typeof i3.ProcessFilterDialogCloudComponent, typeof i4.ProcessListCloudModule, typeof i5.StartProcessCloudComponent, typeof i6.ProcessHeaderCloudComponent], [typeof i1.ProcessFiltersCloudComponent, typeof i2.EditProcessFilterCloudComponent, typeof i3.ProcessFilterDialogCloudComponent, typeof i4.ProcessListCloudModule, typeof i5.StartProcessCloudComponent, typeof i6.ProcessHeaderCloudComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProcessCloudModule>;
16
+ }