@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,182 @@
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 {};
@@ -15,16 +15,8 @@
15
15
  .adf-error-text {
16
16
  padding-right: 8px;
17
17
  height: 16px;
18
- font-size: var(--theme-caption-font-size);
19
- line-height: 1.33;
20
- color: var(--theme-warn-color);
21
18
  width: auto;
22
19
  }
23
-
24
- .adf-error-icon {
25
- font-size: var(--theme-subheading-2-font-size);
26
- color: var(--theme-warn-color);
27
- }
28
20
  }
29
21
 
30
22
  .adf {
@@ -64,24 +56,9 @@
64
56
  &-header {
65
57
  height: 48px;
66
58
 
67
- &__title {
68
- color: var(--adf-theme-foreground-text-color);
69
- }
70
-
71
59
  &__description {
72
- color: var(--adf-theme-foreground-secondary-text-color);
73
60
  place-content: center space-between;
74
61
  }
75
62
  }
76
-
77
- &-content {
78
- &__text-label {
79
- color: var(--adf-theme-foreground-secondary-text-color);
80
- }
81
-
82
- &__select-label {
83
- color: var(--adf-theme-foreground-secondary-text-color);
84
- }
85
- }
86
63
  }
87
64
  }
@@ -0,0 +1,16 @@
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
+ }
@@ -0,0 +1,146 @@
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
+ }
@@ -3,14 +3,14 @@
3
3
  .adf-process-filters {
4
4
  &__entry-counter {
5
5
  padding: 0 5px;
6
- border-radius: var(--mat-sys-corner-large, 15px);
6
+ border-radius: var(--mat-sys-corner-large);
7
7
 
8
8
  &.adf-active {
9
- background-color: var(--mat-sys-secondary, var(--theme-accent-color));
9
+ background-color: var(--mat-sys-secondary);
10
10
 
11
11
  @include mat.list-overrides(
12
12
  (
13
- list-item-trailing-supporting-text-color: var(--mat-sys-on-secondary, var(--theme-accent-color-default-contrast))
13
+ list-item-trailing-supporting-text-color: var(--mat-sys-on-secondary)
14
14
  )
15
15
  );
16
16
  }
@@ -0,0 +1,110 @@
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 { DateCloudFilterType } from '../../../models/date-cloud-filter.model';
18
+ import { ComponentSelectionMode } from '../../../types';
19
+ import { ProcessVariableFilterModel } from '../../../models/process-variable-filter.model';
20
+ export declare class ProcessFilterCloudModel {
21
+ id: string;
22
+ name: string | null;
23
+ key: string | null;
24
+ icon: string | null;
25
+ index: number | null;
26
+ appName: string | null;
27
+ appVersion?: number | number[];
28
+ parentId: string;
29
+ processName: string | null;
30
+ processInstanceId: string | null;
31
+ initiator: string | null;
32
+ status: string | null;
33
+ sort: string | null;
34
+ order: string | null;
35
+ processDefinitionId: string | null;
36
+ processDefinitionName: string | null;
37
+ processDefinitionKey: string | null;
38
+ lastModified: Date | null;
39
+ lastModifiedTo: Date | null;
40
+ lastModifiedFrom: Date | null;
41
+ startedDate: Date | null;
42
+ completedDateType: DateCloudFilterType | null;
43
+ startedDateType: DateCloudFilterType | null;
44
+ suspendedDateType: DateCloudFilterType | null;
45
+ includeSubprocesses: boolean | null;
46
+ includeUnlinkedProcesses: boolean | null;
47
+ includeLinkedProcesses: boolean | null;
48
+ completedDate: Date | null;
49
+ environmentId: string | null;
50
+ showCounter: boolean;
51
+ processDefinitionNames: string[] | null;
52
+ processNames: string[] | null;
53
+ processInstanceIds: string[] | null;
54
+ parentIds: string[] | null;
55
+ initiators: string[] | null;
56
+ appVersions: string[] | null;
57
+ statuses: string[] | null;
58
+ processVariableFilters?: ProcessVariableFilterModel[];
59
+ private readonly dateRangeFilterService;
60
+ private _completedFrom;
61
+ private _completedTo;
62
+ private _startFrom;
63
+ private _startTo;
64
+ private _suspendedFrom;
65
+ private _suspendedTo;
66
+ constructor(obj?: any);
67
+ private initArrayProperties;
68
+ set completedFrom(completedFrom: string);
69
+ get completedFrom(): string;
70
+ set completedTo(completedTo: string);
71
+ get completedTo(): string;
72
+ set startFrom(startFrom: string);
73
+ get startFrom(): string;
74
+ set startTo(startTo: string);
75
+ get startTo(): string;
76
+ set suspendedFrom(suspendedFrom: string);
77
+ get suspendedFrom(): string;
78
+ set suspendedTo(suspendedTo: string);
79
+ get suspendedTo(): string;
80
+ private getStartDate;
81
+ private getEndDate;
82
+ private isDateRangeType;
83
+ }
84
+ export interface ProcessFilterAction {
85
+ actionType?: string;
86
+ icon?: string;
87
+ tooltip?: string;
88
+ filter?: ProcessFilterCloudModel;
89
+ }
90
+ export interface ProcessFilterOptions {
91
+ label?: string;
92
+ value?: string | any;
93
+ }
94
+ export interface ProcessFilterProperties {
95
+ label?: string;
96
+ type?: string;
97
+ value?: any;
98
+ key?: string;
99
+ attributes?: {
100
+ [key: string]: string;
101
+ };
102
+ options?: ProcessFilterOptions[];
103
+ dateFilterOptions?: DateCloudFilterType[];
104
+ selectionMode?: ComponentSelectionMode;
105
+ }
106
+ export interface ProcessSortFilterProperty {
107
+ label: string;
108
+ value: string | any;
109
+ key: string;
110
+ }
@@ -0,0 +1,14 @@
1
+ import { ProcessFiltersCloudComponent } from './components/process-filters/process-filters-cloud.component';
2
+ import { EditProcessFilterCloudComponent } from './components/edit-process-filter/edit-process-filter-cloud.component';
3
+ import { ProcessFilterDialogCloudComponent } from './components/process-filter-dialog/process-filter-dialog-cloud.component';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./components/process-filters/process-filters-cloud.component";
6
+ import * as i2 from "./components/edit-process-filter/edit-process-filter-cloud.component";
7
+ import * as i3 from "./components/process-filter-dialog/process-filter-dialog-cloud.component";
8
+ export declare const PROCESS_FILTERS_CLOUD_DIRECTIVES: readonly [typeof ProcessFiltersCloudComponent, typeof EditProcessFilterCloudComponent, typeof ProcessFilterDialogCloudComponent];
9
+ /** @deprecated use standalone components or PROCESS_FILTERS_CLOUD_DIRECTIVES instead */
10
+ export declare class ProcessFiltersCloudModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFiltersCloudModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessFiltersCloudModule, never, [typeof i1.ProcessFiltersCloudComponent, typeof i2.EditProcessFilterCloudComponent, typeof i3.ProcessFilterDialogCloudComponent], [typeof i1.ProcessFiltersCloudComponent, typeof i2.EditProcessFilterCloudComponent, typeof i3.ProcessFilterDialogCloudComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProcessFiltersCloudModule>;
14
+ }
@@ -0,0 +1,22 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export * from './components/process-filters/process-filters-cloud.component';
18
+ export * from './components/edit-process-filter/edit-process-filter-cloud.component';
19
+ export * from './components/process-filter-dialog/process-filter-dialog-cloud.component';
20
+ export * from './models/process-filter-cloud.model';
21
+ export * from './services/process-filter-cloud.service';
22
+ export * from './process-filters-cloud.module';