@alfresco/adf-process-services-cloud 8.6.0-27406412358 → 9.0.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 (174) hide show
  1. package/fesm2022/adf-process-services-cloud.mjs +547 -358
  2. package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
  3. package/index.d.ts +6395 -3
  4. package/lib/_mixins.scss +7 -0
  5. package/lib/form/components/widgets/date/date-cloud.widget.scss +5 -0
  6. package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +6 -0
  7. package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +5 -0
  8. package/lib/group/components/group-cloud.component.scss +6 -0
  9. package/lib/people/components/people-cloud.component.scss +6 -0
  10. package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +5 -0
  11. package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +5 -0
  12. package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +5 -0
  13. package/package.json +14 -14
  14. package/lib/app/models/application-instance.model.d.ts +0 -67
  15. package/lib/app/public-api.d.ts +0 -18
  16. package/lib/app/services/apps-process-cloud.service.d.ts +0 -25
  17. package/lib/common/date-range-filter/date-range-filter.component.d.ts +0 -49
  18. package/lib/common/date-range-filter/date-range-filter.service.d.ts +0 -17
  19. package/lib/common/index.d.ts +0 -17
  20. package/lib/common/interface/environment.interface.d.ts +0 -20
  21. package/lib/common/interface/index.d.ts +0 -17
  22. package/lib/common/interface/public-api.d.ts +0 -17
  23. package/lib/common/public-api.d.ts +0 -18
  24. package/lib/form/components/cloud-form-rendering.service.d.ts +0 -7
  25. package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +0 -5
  26. package/lib/form/components/form-cloud.component.d.ts +0 -155
  27. package/lib/form/components/spinner/form-spinner.component.d.ts +0 -6
  28. package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +0 -62
  29. package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +0 -49
  30. package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +0 -42
  31. package/lib/form/components/widgets/data-table/data-table.widget.d.ts +0 -43
  32. package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +0 -29
  33. package/lib/form/components/widgets/date/date-cloud.widget.d.ts +0 -47
  34. package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +0 -39
  35. package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +0 -37
  36. package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +0 -105
  37. package/lib/form/components/widgets/dropdown/validators.d.ts +0 -19
  38. package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +0 -6
  39. package/lib/form/components/widgets/group/group-cloud.widget.d.ts +0 -37
  40. package/lib/form/components/widgets/people/people-cloud.widget.d.ts +0 -40
  41. package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +0 -53
  42. package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +0 -26
  43. package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +0 -18
  44. package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +0 -41
  45. package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +0 -55
  46. package/lib/form/form-cloud.module.d.ts +0 -34
  47. package/lib/form/models/form-cloud-representation.model.d.ts +0 -48
  48. package/lib/form/models/task-variable-cloud.model.d.ts +0 -24
  49. package/lib/form/public-api.d.ts +0 -40
  50. package/lib/form/services/content-cloud-node-selector.service.d.ts +0 -21
  51. package/lib/form/services/display-mode.service.d.ts +0 -22
  52. package/lib/form/services/form-cloud.service.d.ts +0 -104
  53. package/lib/form/services/form-cloud.service.interface.d.ts +0 -34
  54. package/lib/form/services/form-utils.service.d.ts +0 -11
  55. package/lib/form/services/process-cloud-content.service.d.ts +0 -18
  56. package/lib/form/services/rich-text-parser.service.d.ts +0 -12
  57. package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +0 -26
  58. package/lib/group/components/group-cloud.component.d.ts +0 -123
  59. package/lib/group/group-cloud.module.d.ts +0 -8
  60. package/lib/group/models/identity-group.model.d.ts +0 -21
  61. package/lib/group/public-api.d.ts +0 -20
  62. package/lib/group/services/identity-group.service.d.ts +0 -28
  63. package/lib/models/application-version.model.d.ts +0 -30
  64. package/lib/models/constant-values.type.d.ts +0 -20
  65. package/lib/models/data-column-custom-data.d.ts +0 -22
  66. package/lib/models/date-cloud-filter.model.d.ts +0 -36
  67. package/lib/models/date-format-cloud.model.d.ts +0 -17
  68. package/lib/models/engine-event-cloud.model.d.ts +0 -21
  69. package/lib/models/filter-cloud-model.d.ts +0 -92
  70. package/lib/models/process-definition-cloud.model.d.ts +0 -32
  71. package/lib/models/process-instance-variable.model.d.ts +0 -38
  72. package/lib/models/process-variable-filter.model.d.ts +0 -24
  73. package/lib/models/task-cloud.model.d.ts +0 -57
  74. package/lib/models/task-list-sorting.model.d.ts +0 -31
  75. package/lib/models/variable-definition.d.ts +0 -24
  76. package/lib/people/components/people-cloud.component.d.ts +0 -167
  77. package/lib/people/models/identity-user.model.d.ts +0 -24
  78. package/lib/people/people-cloud.module.d.ts +0 -8
  79. package/lib/people/public-api.d.ts +0 -20
  80. package/lib/people/services/identity-user.service.d.ts +0 -45
  81. package/lib/process/process-cloud.module.d.ts +0 -16
  82. package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +0 -182
  83. package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +0 -16
  84. package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +0 -146
  85. package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +0 -110
  86. package/lib/process/process-filters/process-filters-cloud.module.d.ts +0 -14
  87. package/lib/process/process-filters/public-api.d.ts +0 -22
  88. package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +0 -163
  89. package/lib/process/process-header/components/process-header-cloud.component.d.ts +0 -48
  90. package/lib/process/process-header/process-header-cloud.module.d.ts +0 -8
  91. package/lib/process/process-header/public-api.d.ts +0 -18
  92. package/lib/process/process-list/components/process-list-cloud.component.d.ts +0 -228
  93. package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +0 -23
  94. package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +0 -19
  95. package/lib/process/process-list/models/process-cloud-preferences.d.ts +0 -22
  96. package/lib/process/process-list/models/process-cloud-preset.model.d.ts +0 -35
  97. package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +0 -80
  98. package/lib/process/process-list/models/process-list-sorting.model.d.ts +0 -31
  99. package/lib/process/process-list/process-list-cloud.module.d.ts +0 -7
  100. package/lib/process/process-list/public-api.d.ts +0 -24
  101. package/lib/process/process-list/services/process-list-cloud.service.d.ts +0 -56
  102. package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +0 -30
  103. package/lib/process/public-api.d.ts +0 -22
  104. package/lib/process/services/process-cloud.service.d.ts +0 -41
  105. package/lib/process/start-process/components/start-process-cloud.component.d.ts +0 -146
  106. package/lib/process/start-process/models/process-instance-cloud.model.d.ts +0 -48
  107. package/lib/process/start-process/models/process-payload-cloud.model.d.ts +0 -35
  108. package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +0 -24
  109. package/lib/process/start-process/public-api.d.ts +0 -20
  110. package/lib/process/start-process/services/start-process-cloud.service.d.ts +0 -64
  111. package/lib/process-services-cloud.module.d.ts +0 -61
  112. package/lib/providers.d.ts +0 -36
  113. package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +0 -33
  114. package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +0 -16
  115. package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +0 -29
  116. package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +0 -48
  117. package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +0 -38
  118. package/lib/screen/public-api.d.ts +0 -20
  119. package/lib/screen/services/provide-screen.d.ts +0 -37
  120. package/lib/screen/services/screen-rendering.service.d.ts +0 -51
  121. package/lib/services/base-cloud.service.d.ts +0 -37
  122. package/lib/services/cloud-token.service.d.ts +0 -24
  123. package/lib/services/form-fields.interfaces.d.ts +0 -246
  124. package/lib/services/local-preference-cloud.service.d.ts +0 -51
  125. package/lib/services/notification-cloud.service.d.ts +0 -7
  126. package/lib/services/preference-cloud.interface.d.ts +0 -24
  127. package/lib/services/public-api.d.ts +0 -26
  128. package/lib/services/task-list-cloud.service.interface.d.ts +0 -47
  129. package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +0 -15
  130. package/lib/services/user-preference-cloud.service.d.ts +0 -49
  131. package/lib/services/variable-mapper.sevice.d.ts +0 -13
  132. package/lib/services/web-socket.service.d.ts +0 -28
  133. package/lib/task/models/start-task-cloud-request.model.d.ts +0 -28
  134. package/lib/task/models/task-details-cloud.model.d.ts +0 -62
  135. package/lib/task/models/task.model.d.ts +0 -22
  136. package/lib/task/public-api.d.ts +0 -25
  137. package/lib/task/services/task-cloud.service.d.ts +0 -145
  138. package/lib/task/task-cloud.module.d.ts +0 -18
  139. package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +0 -44
  140. package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +0 -152
  141. package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +0 -21
  142. package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +0 -24
  143. package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +0 -69
  144. package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +0 -53
  145. package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +0 -35
  146. package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +0 -106
  147. package/lib/task/task-filters/models/filter-cloud.model.d.ts +0 -168
  148. package/lib/task/task-filters/public-api.d.ts +0 -26
  149. package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +0 -127
  150. package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +0 -158
  151. package/lib/task/task-filters/task-filters-cloud.module.d.ts +0 -20
  152. package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +0 -126
  153. package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +0 -39
  154. package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +0 -138
  155. package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +0 -41
  156. package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +0 -39
  157. package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +0 -49
  158. package/lib/task/task-form/public-api.d.ts +0 -20
  159. package/lib/task/task-form/task-form.module.d.ts +0 -14
  160. package/lib/task/task-header/components/task-header-cloud.component.d.ts +0 -86
  161. package/lib/task/task-header/public-api.d.ts +0 -18
  162. package/lib/task/task-header/task-header-cloud.module.d.ts +0 -8
  163. package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +0 -131
  164. package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +0 -16
  165. package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +0 -23
  166. package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +0 -135
  167. package/lib/task/task-list/models/service-task-cloud.model.d.ts +0 -126
  168. package/lib/task/task-list/models/task-cloud-view.model.d.ts +0 -19
  169. package/lib/task/task-list/public-api.d.ts +0 -22
  170. package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +0 -51
  171. package/lib/task/task-list/services/task-list-cloud.service.d.ts +0 -36
  172. package/lib/task/task-list/task-list-cloud.module.d.ts +0 -12
  173. package/lib/types.d.ts +0 -17
  174. package/public-api.d.ts +0 -39
@@ -1,167 +0,0 @@
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
- }
@@ -1,24 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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';
@@ -1,45 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,182 +0,0 @@
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, OnChanges, SimpleChanges } from '@angular/core';
18
- import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
19
- import { MatDialog } from '@angular/material/dialog';
20
- import { Observable } from 'rxjs';
21
- import { ProcessFilterAction, ProcessFilterCloudModel, ProcessFilterOptions, ProcessFilterProperties } from '../../models/process-filter-cloud.model';
22
- import { DateCloudFilterType, DateRangeFilter } from '../../../../models/date-cloud-filter.model';
23
- import { IdentityUserModel } from '../../../../people/models/identity-user.model';
24
- import { Environment } from '../../../../common/interface/environment.interface';
25
- import * as i0 from "@angular/core";
26
- export declare const PROCESS_FILTER_ACTION_SAVE = "save";
27
- export declare const PROCESS_FILTER_ACTION_SAVE_AS = "saveAs";
28
- export declare const PROCESS_FILTER_ACTION_DELETE = "delete";
29
- export declare const PROCESS_FILTER_ACTION_SAVE_DEFAULT = "saveDefaultFilter";
30
- export declare const PROCESS_FILTER_ACTION_RESTORE = "restoreDefaultFilter";
31
- export interface DropdownOption {
32
- value: string;
33
- label: string;
34
- }
35
- interface ProcessFilterFormProps {
36
- appName?: FormControl<string>;
37
- appVersion?: FormControl<number | number[]>;
38
- processDefinitionName?: FormControl<string>;
39
- lastModifiedFrom?: FormControl<Date>;
40
- lastModifiedTo?: FormControl<Date>;
41
- status?: FormControl<string>;
42
- order?: FormControl<string>;
43
- sort?: FormControl<string>;
44
- completedDateType?: FormControl<DateCloudFilterType>;
45
- [x: string]: FormControl<unknown>;
46
- }
47
- export declare class EditProcessFilterCloudComponent implements OnChanges {
48
- private readonly formBuilder;
49
- dialog: MatDialog;
50
- private readonly dateAdapter;
51
- private readonly userPreferencesService;
52
- private readonly translateService;
53
- private readonly processFilterCloudService;
54
- private readonly appsProcessCloudService;
55
- private readonly processCloudService;
56
- /** The name of the application. */
57
- appName: string;
58
- /** roles to filter the apps */
59
- role: string;
60
- /** Id of the process instance filter. */
61
- id: string;
62
- /** List of process filter properties to display */
63
- filterProperties: string[];
64
- /** List of sort properties to display. */
65
- sortProperties: string[];
66
- /** List of sort actions. */
67
- actions: string[];
68
- /** Environment ID of the application. */
69
- environmentId: string;
70
- /** List of environments. */
71
- environmentList: Environment[];
72
- /** Toggles editing of process filter actions. */
73
- showFilterActions: boolean;
74
- /** Toggles editing of the process filter title. */
75
- showTitle: boolean;
76
- /** Toggles the appearance of the process filter name . */
77
- showProcessFilterName: boolean;
78
- /** Emitted when a process instance filter property changes. */
79
- filterChange: EventEmitter<ProcessFilterCloudModel>;
80
- /** Emitted when a filter action occurs i.e Save, SaveAs, Delete. */
81
- action: EventEmitter<ProcessFilterAction>;
82
- private _filter;
83
- protected filterHasBeenChanged: boolean;
84
- get processFilter(): ProcessFilterCloudModel;
85
- /** Process filter */
86
- set processFilter(value: ProcessFilterCloudModel);
87
- status: Array<DropdownOption>;
88
- directions: Array<DropdownOption>;
89
- actionDisabledForDefault: string[];
90
- applicationNames: any[];
91
- allProcessDefinitionNamesOption: DropdownOption;
92
- processDefinitionNames: any[];
93
- editProcessFilterForm: FormGroup<ProcessFilterFormProps>;
94
- processFilterProperties: ProcessFilterProperties[];
95
- processFilterActions: ProcessFilterAction[];
96
- toggleFilterActions: boolean;
97
- appVersionOptions: ProcessFilterOptions[];
98
- initiatorOptions: IdentityUserModel[];
99
- isLoading: boolean;
100
- private filterChangeSub;
101
- private readonly destroyRef;
102
- constructor();
103
- ngOnChanges(changes: SimpleChanges): void;
104
- filterTracker(_index: number, item: ProcessFilterProperties): string;
105
- buildForm(processFilterProperties: ProcessFilterProperties[]): void;
106
- getFormControlsConfig(processFilterProperties: ProcessFilterProperties[]): any;
107
- get lastModifiedFrom(): AbstractControl<Date>;
108
- get lastModifiedTo(): AbstractControl<Date>;
109
- get completedDateType(): AbstractControl<DateCloudFilterType>;
110
- private getAttributesControlConfig;
111
- /**
112
- * Fetches process instance filter by application name and filter id and creates filter properties, build form
113
- */
114
- retrieveProcessFilterAndBuildForm(): void;
115
- /**
116
- * Check process instance filter changes
117
- */
118
- onFilterChange(): void;
119
- createAndFilterProperties(): ProcessFilterProperties[];
120
- checkMandatoryFilterProperties(): void;
121
- private isValidProperty;
122
- get createSortProperties(): ProcessFilterOptions[];
123
- getAppVersionOptions(): void;
124
- checkMandatorySortProperties(): void;
125
- createAndFilterActions(): ProcessFilterAction[];
126
- checkMandatoryActions(): void;
127
- private isValidAction;
128
- isFormValid(): boolean;
129
- getPropertyController(property: ProcessFilterProperties): AbstractControl;
130
- onDateChanged(newDateValue: Date | string, dateProperty: ProcessFilterProperties): void;
131
- onDateTypeChange(dateType: DateCloudFilterType, property: ProcessFilterProperties): void;
132
- onDateRangeFilterChanged(dateRange: DateRangeFilter, property: ProcessFilterProperties): void;
133
- onChangedUser(users: IdentityUserModel[], processProperty: ProcessFilterProperties): void;
134
- hasError(property: ProcessFilterProperties): boolean;
135
- compareFilters(editedQuery: ProcessFilterCloudModel, currentQuery: ProcessFilterCloudModel): boolean;
136
- getDeployedApplications(): void;
137
- getProcessDefinitions(): void;
138
- executeFilterActions(event: Event, action: ProcessFilterAction): void;
139
- save(saveAction: ProcessFilterAction): void;
140
- /**
141
- * Delete a process instance filter
142
- *
143
- * @param deleteAction filter action
144
- */
145
- delete(deleteAction: ProcessFilterAction): void;
146
- /**
147
- * Save As a process instance filter
148
- *
149
- * @param saveAsAction filter action
150
- */
151
- saveAs(saveAsAction: ProcessFilterAction): void;
152
- reset(resetAction: ProcessFilterAction): void;
153
- /**
154
- * Get sanitized filter name
155
- *
156
- * @param filterName filter name
157
- * @returns sanitized filter name
158
- */
159
- getSanitizeFilterName(filterName: string): string;
160
- /**
161
- * Return name with hyphen
162
- *
163
- * @param name name
164
- * @returns updated value
165
- */
166
- replaceSpaceWithHyphen(name: string): string;
167
- restoreDefaultProcessFilters(): Observable<ProcessFilterCloudModel[]>;
168
- onExpand(): void;
169
- onClose(): void;
170
- isDisabledAction(action: ProcessFilterAction): boolean;
171
- hasFilterChanged(action: ProcessFilterAction): boolean;
172
- private setLastModifiedToFilter;
173
- private setLastModifiedFromFilter;
174
- private createFilterActions;
175
- private createLastModifiedProperty;
176
- private createProcessSortProperties;
177
- private isFilterChanged;
178
- private createProcessFilterProperties;
179
- static ɵfac: i0.ɵɵFactoryDeclaration<EditProcessFilterCloudComponent, never>;
180
- static ɵcmp: i0.ɵɵComponentDeclaration<EditProcessFilterCloudComponent, "adf-cloud-edit-process-filter", never, { "appName": { "alias": "appName"; "required": false; }; "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "filterProperties": { "alias": "filterProperties"; "required": false; }; "sortProperties": { "alias": "sortProperties"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "environmentList": { "alias": "environmentList"; "required": false; }; "showFilterActions": { "alias": "showFilterActions"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showProcessFilterName": { "alias": "showProcessFilterName"; "required": false; }; "processFilter": { "alias": "processFilter"; "required": false; }; }, { "filterChange": "filterChange"; "action": "action"; }, never, never, true, never>;
181
- }
182
- export {};
@@ -1,16 +0,0 @@
1
- import { FormControl, FormGroup } from '@angular/forms';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- export declare class ProcessFilterDialogCloudComponent {
5
- readonly dialogRef: MatDialogRef<any, any>;
6
- readonly data: any;
7
- static ACTION_SAVE: string;
8
- defaultIcon: string;
9
- filterForm: FormGroup<{
10
- name: FormControl<any>;
11
- }>;
12
- onSaveClick(): void;
13
- onCancelClick(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFilterDialogCloudComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessFilterDialogCloudComponent, "adf-cloud-process-filter-dialog-cloud", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,146 +0,0 @@
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, OnChanges, OnInit, SimpleChanges } from '@angular/core';
18
- import { Observable } from 'rxjs';
19
- import { ProcessFilterCloudModel } from '../../models/process-filter-cloud.model';
20
- import { FilterParamsModel } from '../../../../task/task-filters/models/filter-cloud.model';
21
- import * as i0 from "@angular/core";
22
- export declare class ProcessFiltersCloudComponent implements OnInit, OnChanges {
23
- protected readonly PROCESSES_ROUTE = "/process-list-cloud";
24
- /** (required) The application name */
25
- appName: string;
26
- /** (optional) From Activiti 8.7.0 forward, use the 'POST' method to get the process count */
27
- searchApiMethod: 'GET' | 'POST';
28
- /** (optional) The filter to be selected by default */
29
- filterParam: FilterParamsModel;
30
- /** (optional) Toggles showing an icon by the side of each filter */
31
- showIcons: boolean;
32
- /** Emitted when a filter is being selected based on the filterParam input. */
33
- filterSelected: EventEmitter<ProcessFilterCloudModel>;
34
- /** Emitted when a filter is being clicked from the UI. */
35
- filterClicked: EventEmitter<ProcessFilterCloudModel>;
36
- /** Emitted when filters are loaded successfully */
37
- success: EventEmitter<any>;
38
- /** Emitted when any error occurs while loading the filters */
39
- error: EventEmitter<any>;
40
- /** Emitted when filter is updated. */
41
- updatedFilter: EventEmitter<string>;
42
- filters$: Observable<ProcessFilterCloudModel[]>;
43
- currentFilter?: ProcessFilterCloudModel;
44
- filters: ProcessFilterCloudModel[];
45
- counters: {
46
- [key: string]: number;
47
- };
48
- enableNotifications: boolean;
49
- currentFiltersValues: {
50
- [key: string]: number;
51
- };
52
- updatedFiltersSet: Set<string>;
53
- private readonly destroyRef;
54
- private readonly processFilterCloudService;
55
- private readonly translationService;
56
- private readonly appConfigService;
57
- private readonly processListCloudService;
58
- private readonly activatedRoute;
59
- protected readonly currentRouteFilterId: import("@angular/core").Signal<string>;
60
- ngOnInit(): void;
61
- ngOnChanges(changes: SimpleChanges): void;
62
- /**
63
- * Fetch the filter list based on appName
64
- *
65
- * @param appName application name
66
- */
67
- getFilters(appName: string): void;
68
- /**
69
- * Initialize counter collection for filters
70
- */
71
- initFilterCounters(): void;
72
- /**
73
- * Pass the selected filter as next
74
- *
75
- * @param paramFilter filter model
76
- */
77
- selectFilter(paramFilter: FilterParamsModel): void;
78
- /**
79
- * Check equality of the filter names by translating the given name strings
80
- *
81
- * @param name1 source name
82
- * @param name2 target name
83
- * @returns `true` if filter names are equal, otherwise `false`
84
- */
85
- private checkFilterNamesEquality;
86
- /**
87
- * Selects and emits the given filter
88
- *
89
- * @param newParamFilter new parameter filter
90
- */
91
- selectFilterAndEmit(newParamFilter: FilterParamsModel): void;
92
- /**
93
- * Select filter with the id
94
- *
95
- * @param id filter id
96
- */
97
- selectFilterById(id: string): void;
98
- /**
99
- * Selects and emits the clicked filter
100
- *
101
- * @param filter filter model
102
- */
103
- onFilterClick(filter: ProcessFilterCloudModel): void;
104
- /**
105
- * Select as default process filter the first in the list
106
- */
107
- selectDefaultProcessFilter(): void;
108
- /**
109
- * Get current filter
110
- *
111
- * @returns filter model
112
- */
113
- getCurrentFilter(): ProcessFilterCloudModel;
114
- /**
115
- * Check if the filter list is empty
116
- *
117
- * @returns `true` if filter list is empty, otherwise `false`
118
- */
119
- isFilterListEmpty(): boolean;
120
- /**
121
- * Reset the filters
122
- */
123
- private resetFilter;
124
- isActiveFilter(filter: ProcessFilterCloudModel): boolean;
125
- initProcessNotification(): void;
126
- /**
127
- * Iterate over filters and update counters
128
- */
129
- updateFilterCounters(): void;
130
- /**
131
- * Get current value for filter and check if value has changed
132
- *
133
- * @param filter filter
134
- */
135
- updateFilterCounter(filter: ProcessFilterCloudModel): void;
136
- checkIfFilterValuesHasBeenUpdated(filterKey: string, filterValue: number): void;
137
- isFilterUpdated(filterName: string): boolean;
138
- /**
139
- * Get filer key when filter was refreshed by external action
140
- *
141
- */
142
- getFilterKeysAfterExternalRefreshing(): void;
143
- private fetchProcessFilterCounter;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFiltersCloudComponent, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcessFiltersCloudComponent, "adf-cloud-process-filters", never, { "appName": { "alias": "appName"; "required": false; }; "searchApiMethod": { "alias": "searchApiMethod"; "required": false; }; "filterParam": { "alias": "filterParam"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; }, { "filterSelected": "filterSelected"; "filterClicked": "filterClicked"; "success": "success"; "error": "error"; "updatedFilter": "updatedFilter"; }, never, never, true, never>;
146
- }