@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,145 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,44 +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 { 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
- }
@@ -1,152 +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 { DestroyRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
18
- import { AssignmentType, FilterOptions, TaskFilterAction, TaskFilterProperties, TaskStatusFilter } from '../../models/filter-cloud.model';
19
- import { TaskCloudService } from './../../../services/task-cloud.service';
20
- import { AppsProcessCloudService } from './../../../../app/services/apps-process-cloud.service';
21
- import { DateCloudFilterType, DateRangeFilter } from '../../../../models/date-cloud-filter.model';
22
- import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
23
- import { Observable } from 'rxjs';
24
- import { DateAdapter } from '@angular/material/core';
25
- import { TranslationService, UserPreferencesService } from '@alfresco/adf-core';
26
- import { MatDialog } from '@angular/material/dialog';
27
- import { IdentityUserModel } from '../../../../people/models/identity-user.model';
28
- import { IdentityGroupModel } from '../../../../group/models/identity-group.model';
29
- import { MatSelectChange } from '@angular/material/select';
30
- import { Environment } from '../../../../common/interface/environment.interface';
31
- import * as i0 from "@angular/core";
32
- export interface DropdownOption {
33
- value: string;
34
- label: string;
35
- }
36
- export declare abstract class BaseEditTaskFilterCloudComponent<T> implements OnChanges {
37
- static ACTIONS_DISABLED_BY_DEFAULT: string[];
38
- /** (required) Name of the app. */
39
- appName: string;
40
- /** (required) ID of the task filter. */
41
- id: string;
42
- /** List of environments. */
43
- environmentList: Environment[];
44
- /** processInstanceId of the task filter. */
45
- processInstanceId: string;
46
- /** Toggles the title. */
47
- showTitle: boolean;
48
- /** Toggles display of task filter name */
49
- showTaskFilterName: boolean;
50
- /** List of task filter properties to display. */
51
- filterProperties: string[];
52
- /** user role. */
53
- role: string;
54
- /** Toggles the filter actions. */
55
- showFilterActions: boolean;
56
- /** List of task filter actions. */
57
- actions: string[];
58
- /** List of sort properties to display. */
59
- sortProperties: string[];
60
- /** Emitted when a filter action occurs (i.e Save, Save As, Delete). */
61
- action: EventEmitter<TaskFilterAction>;
62
- protected applicationNames: DropdownOption[];
63
- protected processDefinitionNames: DropdownOption[];
64
- protected formHasBeenChanged: boolean;
65
- editTaskFilterForm: UntypedFormGroup;
66
- taskFilterProperties: TaskFilterProperties[];
67
- taskFilterActions: TaskFilterAction[];
68
- toggleFilterActions: boolean;
69
- selectedStatus: TaskStatusFilter;
70
- sortDirections: DropdownOption[];
71
- allProcessDefinitionNamesOption: DropdownOption;
72
- /** Task Filter to use. */
73
- taskFilter: T;
74
- changedTaskFilter: T;
75
- /** Emitted when a task filter property changes. */
76
- filterChange: EventEmitter<T>;
77
- isLoading: boolean;
78
- protected destroyRef: DestroyRef;
79
- protected translateService: TranslationService;
80
- protected taskCloudService: TaskCloudService;
81
- protected userPreferencesService: UserPreferencesService;
82
- protected appsProcessCloudService: AppsProcessCloudService;
83
- protected dialog: MatDialog;
84
- protected formBuilder: UntypedFormBuilder;
85
- protected dateAdapter: DateAdapter<Date, any>;
86
- constructor();
87
- ngOnChanges(changes: SimpleChanges): void;
88
- createFilterActions(): TaskFilterAction[];
89
- hasFormChanged(action: TaskFilterAction): boolean;
90
- onExpand(): void;
91
- onClose(): void;
92
- isDisabledAction(action: TaskFilterAction): boolean;
93
- protected deepCompare(left: any, right: any): boolean;
94
- /**
95
- * Get the sanitized filter name
96
- *
97
- * @param filterName filter name
98
- * @returns sanitized filter name
99
- */
100
- getSanitizeFilterName(filterName: string): string;
101
- private replaceSpaceWithHyphen;
102
- executeFilterActions(action: TaskFilterAction): void;
103
- getDeployedApplications(): void;
104
- getProcessDefinitions(): void;
105
- checkMandatoryActions(): void;
106
- private isValidAction;
107
- isFormValid(): boolean;
108
- getPropertyController(property: TaskFilterProperties): AbstractControl;
109
- onDateChanged(newDateValue: string | Date, dateProperty: TaskFilterProperties): void;
110
- onDateRangeFilterChanged(dateRange: DateRangeFilter, property: TaskFilterProperties): void;
111
- onChangedUser(users: IdentityUserModel[], userProperty: TaskFilterProperties): void;
112
- onAssignedUsersChange(assignedUsers: IdentityUserModel[]): void;
113
- onAssignedGroupsChange(groups: IdentityGroupModel[]): void;
114
- onAssignmentTypeChange(assignmentType: AssignmentType): void;
115
- onStatusChange(status: MatSelectChange): void;
116
- private resetAssignmentTypeValues;
117
- hasError(property: TaskFilterProperties): boolean;
118
- hasLastModifiedProperty(): boolean;
119
- get createSortProperties(): FilterOptions[];
120
- createAndFilterActions(): TaskFilterAction[];
121
- isValidProperty(filterProperties: string[], key: string): boolean;
122
- checkForProperty(property: string): boolean;
123
- hasSortProperty(): boolean;
124
- removeOrderProperty(filteredProperties: TaskFilterProperties[]): TaskFilterProperties[];
125
- createAndFilterProperties(): TaskFilterProperties[];
126
- /**
127
- * Check for edit task filter form changes
128
- */
129
- onFilterChange(): void;
130
- getFormControlsConfig(taskFilterProperties: TaskFilterProperties[]): any;
131
- private getAttributesControlConfig;
132
- buildForm(taskFilterProperties: TaskFilterProperties[]): void;
133
- onDateTypeChange(dateType: DateCloudFilterType, property: TaskFilterProperties): void;
134
- protected retrieveTaskFilterAndBuildForm(): void;
135
- delete(deleteAction: TaskFilterAction): void;
136
- save(saveAction: TaskFilterAction): void;
137
- saveAs(saveAsAction: TaskFilterAction): void;
138
- checkMandatoryFilterProperties(): void;
139
- checkMandatorySortProperties(): void;
140
- abstract getDefaultFilterProperties(): string[];
141
- abstract getDefaultSortProperties(): string[];
142
- abstract isDisabledForDefaultFilters(action: TaskFilterAction): boolean;
143
- abstract createTaskFilterProperties(): TaskFilterProperties[];
144
- protected abstract getTaskFilterById(appName: string, id: string): any;
145
- abstract assignNewFilter(formValues: any): void;
146
- protected abstract restoreDefaultTaskFilters(): Observable<T[]>;
147
- protected abstract addFilter(filterToAdd: T): Observable<any>;
148
- protected abstract deleteFilter(filterToDelete: T): Observable<T[]>;
149
- protected abstract updateFilter(filterToUpdate: T): Observable<any>;
150
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseEditTaskFilterCloudComponent<any>, never>;
151
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEditTaskFilterCloudComponent<any>, never, never, { "appName": { "alias": "appName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "environmentList": { "alias": "environmentList"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showTaskFilterName": { "alias": "showTaskFilterName"; "required": false; }; "filterProperties": { "alias": "filterProperties"; "required": false; }; "role": { "alias": "role"; "required": false; }; "showFilterActions": { "alias": "showFilterActions"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "sortProperties": { "alias": "sortProperties"; "required": false; }; "taskFilter": { "alias": "taskFilter"; "required": false; }; }, { "action": "action"; "filterChange": "filterChange"; }, never, never, true, never>;
152
- }
@@ -1,21 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { ServiceTaskFilterCloudModel, TaskFilterAction, TaskFilterProperties } from '../../../models/filter-cloud.model';
3
- import { BaseEditTaskFilterCloudComponent } from '../base-edit-task-filter-cloud.component';
4
- import * as i0 from "@angular/core";
5
- export declare class EditServiceTaskFilterCloudComponent extends BaseEditTaskFilterCloudComponent<ServiceTaskFilterCloudModel> {
6
- private readonly serviceTaskFilterCloudService;
7
- constructor();
8
- assignNewFilter(model: ServiceTaskFilterCloudModel): void;
9
- protected getTaskFilterById(appName: string, id: string): Observable<ServiceTaskFilterCloudModel>;
10
- getDefaultFilterProperties(): string[];
11
- getDefaultSortProperties(): string[];
12
- protected updateFilter(filterToUpdate: ServiceTaskFilterCloudModel): Observable<ServiceTaskFilterCloudModel[]>;
13
- protected deleteFilter(filterToDelete: ServiceTaskFilterCloudModel): Observable<ServiceTaskFilterCloudModel[]>;
14
- protected addFilter(filterToAdd: ServiceTaskFilterCloudModel): Observable<any>;
15
- isDisabledForDefaultFilters(action: TaskFilterAction): boolean;
16
- restoreDefaultTaskFilters(): Observable<ServiceTaskFilterCloudModel[]>;
17
- private getStatusOptions;
18
- createTaskFilterProperties(): TaskFilterProperties[];
19
- static ɵfac: i0.ɵɵFactoryDeclaration<EditServiceTaskFilterCloudComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<EditServiceTaskFilterCloudComponent, "adf-cloud-edit-service-task-filter", never, {}, {}, never, never, true, never>;
21
- }
@@ -1,24 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { TaskFilterAction, TaskFilterCloudModel, TaskFilterProperties } from '../../../models/filter-cloud.model';
3
- import { BaseEditTaskFilterCloudComponent } from '../base-edit-task-filter-cloud.component';
4
- import * as i0 from "@angular/core";
5
- export declare class EditTaskFilterCloudComponent extends BaseEditTaskFilterCloudComponent<TaskFilterCloudModel> {
6
- private readonly taskFilterCloudService;
7
- constructor();
8
- assignNewFilter(model: TaskFilterCloudModel): void;
9
- protected getTaskFilterById(appName: string, id: string): Observable<TaskFilterCloudModel>;
10
- createAndFilterProperties(): TaskFilterProperties[];
11
- getDefaultFilterProperties(): string[];
12
- getDefaultSortProperties(): string[];
13
- private setLastModifiedToFilter;
14
- protected updateFilter(filterToUpdate: TaskFilterCloudModel): Observable<TaskFilterCloudModel[]>;
15
- protected deleteFilter(filterToDelete: TaskFilterCloudModel): Observable<TaskFilterCloudModel[]>;
16
- protected addFilter(filterToAdd: TaskFilterCloudModel): Observable<any>;
17
- isDisabledForDefaultFilters(action: TaskFilterAction): boolean;
18
- restoreDefaultTaskFilters(): Observable<TaskFilterCloudModel[]>;
19
- private createLastModifiedProperty;
20
- private getStatusOptions;
21
- createTaskFilterProperties(): TaskFilterProperties[];
22
- static ɵfac: i0.ɵɵFactoryDeclaration<EditTaskFilterCloudComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<EditTaskFilterCloudComponent, "adf-cloud-edit-task-filter", never, {}, {}, never, never, true, never>;
24
- }
@@ -1,69 +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 { FilterParamsModel, ServiceTaskFilterCloudModel } from '../../models/filter-cloud.model';
20
- import { BaseTaskFiltersCloudComponent } from '../base-task-filters-cloud.component';
21
- import * as i0 from "@angular/core";
22
- export declare class ServiceTaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent implements OnInit, OnChanges {
23
- /** Emitted when a filter is being selected based on the filterParam input. */
24
- filterSelected: EventEmitter<ServiceTaskFilterCloudModel>;
25
- /** Emitted when a filter is being clicked from the UI. */
26
- filterClicked: EventEmitter<ServiceTaskFilterCloudModel>;
27
- filters$: Observable<ServiceTaskFilterCloudModel[]>;
28
- filters: ServiceTaskFilterCloudModel[];
29
- currentFilter: ServiceTaskFilterCloudModel;
30
- private readonly serviceTaskFilterCloudService;
31
- private readonly translationService;
32
- ngOnInit(): void;
33
- ngOnChanges(changes: SimpleChanges): void;
34
- /**
35
- * Load the filter list filtered by appName
36
- *
37
- * @param appName application name
38
- */
39
- getFilters(appName: string): void;
40
- /**
41
- * Select filter
42
- *
43
- * @param paramFilter filter model
44
- */
45
- selectFilter(paramFilter: FilterParamsModel): void;
46
- selectFilterAndEmit(newParamFilter: FilterParamsModel): void;
47
- /**
48
- * Selects and emits the clicked filter.
49
- *
50
- * @param filter filter to select
51
- */
52
- onFilterClick(filter: FilterParamsModel): void;
53
- /**
54
- * Select as default task filter the first in the list
55
- */
56
- selectDefaultTaskFilter(): void;
57
- /**
58
- * Check if the filter list is empty
59
- *
60
- * @returns `true` if filter list is empty, otherwise `false`
61
- */
62
- isFilterListEmpty(): boolean;
63
- /**
64
- * Reset the filters properties
65
- */
66
- private resetFilter;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<ServiceTaskFiltersCloudComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<ServiceTaskFiltersCloudComponent, "adf-cloud-service-task-filters", never, {}, { "filterSelected": "filterSelected"; "filterClicked": "filterClicked"; }, never, never, true, never>;
69
- }
@@ -1,53 +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, OnInit, OnChanges, SimpleChanges } from '@angular/core';
18
- import { MatSelectChange } from '@angular/material/select';
19
- import { AssignmentType, TaskFilterProperties, TaskStatusFilter } from '../../models/filter-cloud.model';
20
- import { IdentityUserModel } from '../../../../people/models/identity-user.model';
21
- import { IdentityGroupModel } from '../../../../group/models/identity-group.model';
22
- import { DropdownOption } from '../edit-task-filters/base-edit-task-filter-cloud.component';
23
- import { FormControl } from '@angular/forms';
24
- import * as i0 from "@angular/core";
25
- export declare class TaskAssignmentFilterCloudComponent implements OnInit, OnChanges {
26
- private readonly identityUserService;
27
- appName: string;
28
- taskFilterProperty: TaskFilterProperties;
29
- status: TaskStatusFilter;
30
- assignedUsersChange: EventEmitter<IdentityUserModel[]>;
31
- assignedGroupsChange: EventEmitter<IdentityGroupModel[]>;
32
- assignmentTypeChange: EventEmitter<AssignmentType>;
33
- assignmentType: AssignmentType;
34
- assignedUsers: IdentityUserModel[];
35
- candidateGroups: IdentityGroupModel[];
36
- groupForm: FormControl<string>;
37
- assignmentTypeOptions: DropdownOption[];
38
- ngOnChanges(changes: SimpleChanges): void;
39
- ngOnInit(): void;
40
- isCandidateGroupsType(): boolean;
41
- isAssignedToType(): boolean;
42
- onAssignmentTypeChange(assignmentChange: MatSelectChange): void;
43
- onChangedGroups(groups: IdentityGroupModel[]): void;
44
- onChangedAssignedUsers(users: IdentityUserModel[]): void;
45
- private changeAssignmentTypeByStatus;
46
- private getAssignmentTypeOptions;
47
- private setDefaultAssignmentType;
48
- private setInitialCandidateGroups;
49
- private setInitialAssignedUsers;
50
- private isFilterPropertyDefined;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskAssignmentFilterCloudComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<TaskAssignmentFilterCloudComponent, "adf-cloud-task-assignment-filter", never, { "appName": { "alias": "appName"; "required": false; }; "taskFilterProperty": { "alias": "taskFilterProperty"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, { "assignedUsersChange": "assignedUsersChange"; "assignedGroupsChange": "assignedGroupsChange"; "assignmentTypeChange": "assignmentTypeChange"; }, never, never, true, never>;
53
- }
@@ -1,35 +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 { OnInit } from '@angular/core';
18
- import { MatDialogRef } from '@angular/material/dialog';
19
- import { AbstractControl, UntypedFormGroup } from '@angular/forms';
20
- import * as i0 from "@angular/core";
21
- export declare class TaskFilterDialogCloudComponent implements OnInit {
22
- private readonly fb;
23
- dialogRef: MatDialogRef<TaskFilterDialogCloudComponent, any>;
24
- data: any;
25
- static ACTION_SAVE: string;
26
- defaultIcon: string;
27
- filterForm: UntypedFormGroup;
28
- ngOnInit(): void;
29
- onSaveClick(): void;
30
- onCancelClick(): void;
31
- get nameController(): AbstractControl;
32
- isValid(): boolean;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskFilterDialogCloudComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<TaskFilterDialogCloudComponent, "adf-cloud-task-filter-dialog", never, {}, {}, never, never, true, never>;
35
- }