@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.
- package/LICENSE +177 -0
- package/bundles/assets/adf-process-services-cloud/i18n/en-AU.json +386 -0
- package/fesm2022/adf-process-services-cloud.mjs +654 -369
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/index.d.ts +3 -6257
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +168 -0
- package/lib/app/models/application-instance.model.d.ts +67 -0
- package/lib/app/public-api.d.ts +18 -0
- package/lib/app/services/apps-process-cloud.service.d.ts +25 -0
- package/lib/common/date-range-filter/date-range-filter.component.d.ts +49 -0
- package/lib/common/date-range-filter/date-range-filter.service.d.ts +17 -0
- package/lib/common/index.d.ts +17 -0
- package/lib/common/interface/environment.interface.d.ts +20 -0
- package/lib/common/interface/index.d.ts +17 -0
- package/lib/common/interface/public-api.d.ts +17 -0
- package/lib/common/public-api.d.ts +18 -0
- package/lib/form/components/cloud-form-rendering.service.d.ts +7 -0
- package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +5 -0
- package/lib/form/components/form-cloud.component.d.ts +155 -0
- package/lib/form/components/form-cloud.component.scss +40 -11
- package/lib/form/components/spinner/form-spinner.component.d.ts +6 -0
- package/lib/form/components/spinner/form-spinner.component.scss +1 -1
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +62 -0
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.scss +3 -20
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +49 -0
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.scss +1 -1
- package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +42 -0
- package/lib/form/components/widgets/data-table/data-table.widget.d.ts +43 -0
- package/lib/form/components/widgets/data-table/data-table.widget.scss +0 -1
- package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +29 -0
- package/lib/form/components/widgets/date/date-cloud.widget.d.ts +47 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +39 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +0 -1
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +37 -0
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.scss +0 -9
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +105 -0
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +0 -4
- package/lib/form/components/widgets/dropdown/validators.d.ts +19 -0
- package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +6 -0
- package/lib/form/components/widgets/group/group-cloud.widget.d.ts +37 -0
- package/lib/form/components/widgets/people/people-cloud.widget.d.ts +40 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +53 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +26 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.scss +1 -1
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +18 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +41 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.scss +0 -9
- package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +55 -0
- package/lib/form/form-cloud.module.d.ts +34 -0
- package/lib/form/models/form-cloud-representation.model.d.ts +48 -0
- package/lib/form/models/task-variable-cloud.model.d.ts +24 -0
- package/lib/form/public-api.d.ts +40 -0
- package/lib/form/services/content-cloud-node-selector.service.d.ts +21 -0
- package/lib/form/services/display-mode.service.d.ts +22 -0
- package/lib/form/services/form-cloud.service.d.ts +104 -0
- package/lib/form/services/form-cloud.service.interface.d.ts +34 -0
- package/lib/form/services/form-utils.service.d.ts +11 -0
- package/lib/form/services/process-cloud-content.service.d.ts +18 -0
- package/lib/form/services/rich-text-parser.service.d.ts +12 -0
- package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +26 -0
- package/lib/group/components/group-cloud.component.d.ts +123 -0
- package/lib/group/components/group-cloud.component.scss +3 -14
- package/lib/group/group-cloud.module.d.ts +8 -0
- package/lib/group/models/identity-group.model.d.ts +21 -0
- package/lib/group/public-api.d.ts +20 -0
- package/lib/group/services/identity-group.service.d.ts +28 -0
- package/lib/models/application-version.model.d.ts +30 -0
- package/lib/models/constant-values.type.d.ts +20 -0
- package/lib/models/data-column-custom-data.d.ts +22 -0
- package/lib/models/date-cloud-filter.model.d.ts +36 -0
- package/lib/models/date-format-cloud.model.d.ts +17 -0
- package/lib/models/engine-event-cloud.model.d.ts +21 -0
- package/lib/models/filter-cloud-model.d.ts +92 -0
- package/lib/models/process-definition-cloud.model.d.ts +32 -0
- package/lib/models/process-instance-variable.model.d.ts +38 -0
- package/lib/models/process-variable-filter.model.d.ts +24 -0
- package/lib/models/task-cloud.model.d.ts +57 -0
- package/lib/models/task-list-sorting.model.d.ts +31 -0
- package/lib/models/variable-definition.d.ts +24 -0
- package/lib/people/components/people-cloud.component.d.ts +167 -0
- package/lib/people/components/people-cloud.component.scss +3 -22
- package/lib/people/models/identity-user.model.d.ts +24 -0
- package/lib/people/people-cloud.module.d.ts +8 -0
- package/lib/people/public-api.d.ts +20 -0
- package/lib/people/services/identity-user.service.d.ts +45 -0
- package/lib/process/process-cloud.module.d.ts +16 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +182 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +0 -23
- package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +16 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +146 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.scss +3 -3
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +110 -0
- package/lib/process/process-filters/process-filters-cloud.module.d.ts +14 -0
- package/lib/process/process-filters/public-api.d.ts +22 -0
- package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +163 -0
- package/lib/process/process-header/components/process-header-cloud.component.d.ts +48 -0
- package/lib/process/process-header/process-header-cloud.module.d.ts +8 -0
- package/lib/process/process-header/public-api.d.ts +18 -0
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +228 -0
- package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +23 -0
- package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +19 -0
- package/lib/process/process-list/models/process-cloud-preferences.d.ts +22 -0
- package/lib/process/process-list/models/process-cloud-preset.model.d.ts +35 -0
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +80 -0
- package/lib/process/process-list/models/process-list-sorting.model.d.ts +31 -0
- package/lib/process/process-list/process-list-cloud.module.d.ts +7 -0
- package/lib/process/process-list/public-api.d.ts +24 -0
- package/lib/process/process-list/services/process-list-cloud.service.d.ts +56 -0
- package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +30 -0
- package/lib/process/public-api.d.ts +22 -0
- package/lib/process/services/process-cloud.service.d.ts +41 -0
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +146 -0
- package/lib/process/start-process/components/start-process-cloud.component.scss +0 -4
- package/lib/process/start-process/models/process-instance-cloud.model.d.ts +48 -0
- package/lib/process/start-process/models/process-payload-cloud.model.d.ts +35 -0
- package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +24 -0
- package/lib/process/start-process/public-api.d.ts +20 -0
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +64 -0
- package/lib/process-services-cloud.module.d.ts +61 -0
- package/lib/providers.d.ts +36 -0
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +33 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +16 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +29 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +48 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +38 -0
- package/lib/screen/public-api.d.ts +20 -0
- package/lib/screen/services/provide-screen.d.ts +37 -0
- package/lib/screen/services/screen-rendering.service.d.ts +51 -0
- package/lib/services/base-cloud.service.d.ts +37 -0
- package/lib/services/cloud-token.service.d.ts +24 -0
- package/lib/services/form-fields.interfaces.d.ts +246 -0
- package/lib/services/local-preference-cloud.service.d.ts +51 -0
- package/lib/services/notification-cloud.service.d.ts +7 -0
- package/lib/services/preference-cloud.interface.d.ts +24 -0
- package/lib/services/public-api.d.ts +26 -0
- package/lib/services/task-list-cloud.service.interface.d.ts +47 -0
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
- package/lib/services/user-preference-cloud.service.d.ts +49 -0
- package/lib/services/variable-mapper.sevice.d.ts +13 -0
- package/lib/services/web-socket.service.d.ts +28 -0
- package/lib/task/models/start-task-cloud-request.model.d.ts +28 -0
- package/lib/task/models/task-details-cloud.model.d.ts +62 -0
- package/lib/task/models/task.model.d.ts +22 -0
- package/lib/task/public-api.d.ts +25 -0
- package/lib/task/services/task-cloud.service.d.ts +145 -0
- package/lib/task/task-cloud.module.d.ts +18 -0
- package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +44 -0
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +152 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +21 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +24 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +69 -0
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.scss +8 -8
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +53 -0
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss +0 -16
- package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +35 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +106 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.scss +3 -3
- package/lib/task/task-filters/models/filter-cloud.model.d.ts +168 -0
- package/lib/task/task-filters/public-api.d.ts +26 -0
- package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +127 -0
- package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +158 -0
- package/lib/task/task-filters/task-filters-cloud.module.d.ts +20 -0
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +126 -0
- package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +138 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +41 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +49 -0
- package/lib/task/task-form/public-api.d.ts +20 -0
- package/lib/task/task-form/task-form.module.d.ts +14 -0
- package/lib/task/task-header/components/task-header-cloud.component.d.ts +86 -0
- package/lib/task/task-header/components/task-header-cloud.component.scss +2 -2
- package/lib/task/task-header/public-api.d.ts +18 -0
- package/lib/task/task-header/task-header-cloud.module.d.ts +8 -0
- package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +131 -0
- package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +16 -0
- package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +23 -0
- package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +135 -0
- package/lib/task/task-list/models/service-task-cloud.model.d.ts +126 -0
- package/lib/task/task-list/models/task-cloud-view.model.d.ts +19 -0
- package/lib/task/task-list/public-api.d.ts +22 -0
- package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +51 -0
- package/lib/task/task-list/services/task-list-cloud.service.d.ts +36 -0
- package/lib/task/task-list/task-list-cloud.module.d.ts +12 -0
- package/lib/types.d.ts +17 -0
- package/package.json +4 -4
- package/public-api.d.ts +39 -0
- package/lib/process/process-header/components/process-header-cloud.component.scss +0 -3
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ProcessFilterCloudModel } from '../models/process-filter-cloud.model';
|
|
3
|
+
import { PreferenceCloudServiceInterface } from '../../../services/preference-cloud.interface';
|
|
4
|
+
import { IdentityUserService } from '../../../people/services/identity-user.service';
|
|
5
|
+
import { TaskCloudEngineEvent } from '../../../models/engine-event-cloud.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ProcessFilterCloudService {
|
|
8
|
+
private readonly filtersSubject;
|
|
9
|
+
filters$: Observable<ProcessFilterCloudModel[]>;
|
|
10
|
+
private readonly filterKeyToBeRefreshedSource;
|
|
11
|
+
filterKeyToBeRefreshed$: Observable<string>;
|
|
12
|
+
protected readonly preferenceService: PreferenceCloudServiceInterface;
|
|
13
|
+
protected readonly identityUserService: IdentityUserService;
|
|
14
|
+
private readonly notificationCloudService;
|
|
15
|
+
constructor();
|
|
16
|
+
readQueryParams(obj: any): ProcessFilterCloudModel;
|
|
17
|
+
writeQueryParams(value: any, filterProperties: string[], appName?: string, id?: string): any;
|
|
18
|
+
/**
|
|
19
|
+
* Creates and returns the default process instance filters for a app.
|
|
20
|
+
*
|
|
21
|
+
* @param appName Name of the target app
|
|
22
|
+
*/
|
|
23
|
+
private createDefaultFilters;
|
|
24
|
+
/**
|
|
25
|
+
* Gets all process instance filters for a process app.
|
|
26
|
+
*
|
|
27
|
+
* @param appName Name of the target app
|
|
28
|
+
* @returns Observable of process filters details
|
|
29
|
+
*/
|
|
30
|
+
getProcessFilters(appName: string): Observable<ProcessFilterCloudModel[]>;
|
|
31
|
+
/**
|
|
32
|
+
* Get process instance filter for given filter id
|
|
33
|
+
*
|
|
34
|
+
* @param appName Name of the target app
|
|
35
|
+
* @param id Id of the target process instance filter
|
|
36
|
+
* @returns Observable of process instance filter details
|
|
37
|
+
*/
|
|
38
|
+
getFilterById(appName: string, id: string): Observable<ProcessFilterCloudModel>;
|
|
39
|
+
/**
|
|
40
|
+
* Adds a new process instance filter
|
|
41
|
+
*
|
|
42
|
+
* @param newFilter The new filter to add
|
|
43
|
+
* @returns Observable of process instance filters with newly added filter
|
|
44
|
+
*/
|
|
45
|
+
addFilter(newFilter: ProcessFilterCloudModel): Observable<ProcessFilterCloudModel[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Update process instance filter
|
|
48
|
+
*
|
|
49
|
+
* @param updatedFilter The new filter to update
|
|
50
|
+
* @returns Observable of process instance filters with updated filter
|
|
51
|
+
*/
|
|
52
|
+
updateFilter(updatedFilter: ProcessFilterCloudModel): Observable<ProcessFilterCloudModel[]>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete process instance filter
|
|
55
|
+
*
|
|
56
|
+
* @param deletedFilter The new filter to delete
|
|
57
|
+
* @returns Observable of process instance filters without deleted filter
|
|
58
|
+
*/
|
|
59
|
+
deleteFilter(deletedFilter: ProcessFilterCloudModel): Observable<ProcessFilterCloudModel[]>;
|
|
60
|
+
/**
|
|
61
|
+
* Checks if given filter is a default filter
|
|
62
|
+
*
|
|
63
|
+
* @param filterName Name of the target process filter
|
|
64
|
+
* @returns Boolean value for whether the filter is a default filter
|
|
65
|
+
*/
|
|
66
|
+
isDefaultFilter(filterName: string): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Reset the process filters to the default configuration if it exists and stores it.
|
|
69
|
+
* If there is no default configuration for the process cloud filter with the provided filter name,
|
|
70
|
+
* then it changes nothing but stores the current values of the filter
|
|
71
|
+
*
|
|
72
|
+
* @param appName Name of the target app
|
|
73
|
+
* @param filter The process filter to be restored to defaults
|
|
74
|
+
* @returns Observable of process filters details
|
|
75
|
+
*/
|
|
76
|
+
resetProcessFilterToDefaults(appName: string, filter: ProcessFilterCloudModel): Observable<ProcessFilterCloudModel[]>;
|
|
77
|
+
/**
|
|
78
|
+
* Checks user preference are empty or not
|
|
79
|
+
*
|
|
80
|
+
* @param preferences User preferences of the target app
|
|
81
|
+
* @returns Boolean value if the preferences are not empty
|
|
82
|
+
*/
|
|
83
|
+
private hasPreferences;
|
|
84
|
+
/**
|
|
85
|
+
* Checks for process instance filters in given user preferences
|
|
86
|
+
*
|
|
87
|
+
* @param preferences User preferences of the target app
|
|
88
|
+
* @param key Key of the process instance filters
|
|
89
|
+
* @returns Boolean value if the preference has process instance filters
|
|
90
|
+
*/
|
|
91
|
+
private hasProcessFilters;
|
|
92
|
+
/**
|
|
93
|
+
* Calls create preference api to create process instance filters
|
|
94
|
+
*
|
|
95
|
+
* @param appName Name of the target app
|
|
96
|
+
* @param key Key of the process instance filters
|
|
97
|
+
* @param filters Details of new process instance filter
|
|
98
|
+
* @returns Observable of created process instance filters
|
|
99
|
+
*/
|
|
100
|
+
private createProcessFilters;
|
|
101
|
+
/**
|
|
102
|
+
* Calls get preference api to get process instance filter by preference key
|
|
103
|
+
*
|
|
104
|
+
* @param appName Name of the target app
|
|
105
|
+
* @param key Key of the process instance filters
|
|
106
|
+
* @returns Observable of process instance filters
|
|
107
|
+
*/
|
|
108
|
+
private getProcessFiltersByKey;
|
|
109
|
+
/**
|
|
110
|
+
* Calls update preference api to update process instance filter
|
|
111
|
+
*
|
|
112
|
+
* @param appName Name of the target app
|
|
113
|
+
* @param key Key of the process instance filters
|
|
114
|
+
* @param filters Details of update filter
|
|
115
|
+
* @returns Observable of updated process instance filters
|
|
116
|
+
*/
|
|
117
|
+
private updateProcessFilters;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a uniq key with appName and username
|
|
120
|
+
*
|
|
121
|
+
* @param appName Name of the target app
|
|
122
|
+
* @returns String of process instance filters preference key
|
|
123
|
+
*/
|
|
124
|
+
protected prepareKey(appName: string): string;
|
|
125
|
+
/**
|
|
126
|
+
* Finds and returns the process instance filters from preferences
|
|
127
|
+
*
|
|
128
|
+
* @returns Array of ProcessFilterCloudModel
|
|
129
|
+
* @param preferences preferences
|
|
130
|
+
* @param key key
|
|
131
|
+
*/
|
|
132
|
+
private findFiltersByKeyInPreferences;
|
|
133
|
+
private addFiltersToStream;
|
|
134
|
+
/**
|
|
135
|
+
* Creates and returns the default filters for a process app.
|
|
136
|
+
*
|
|
137
|
+
* @param appName Name of the target app
|
|
138
|
+
* @returns Array of ProcessFilterCloudModel
|
|
139
|
+
*/
|
|
140
|
+
private defaultProcessFilters;
|
|
141
|
+
getProcessNotificationSubscription(appName: string): Observable<TaskCloudEngineEvent[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Refresh filter key
|
|
144
|
+
*
|
|
145
|
+
* @param filterKey Key of the filter
|
|
146
|
+
*/
|
|
147
|
+
refreshFilter(filterKey: string): void;
|
|
148
|
+
/**
|
|
149
|
+
* This method is run after retrieving the filter array from preferences.
|
|
150
|
+
* It handles the backwards compatibility with the new API by looking for the new properties and their counterparts in each passed filter.
|
|
151
|
+
* If the new property is not found, it is created and assigned the value constructed from the old property.
|
|
152
|
+
* The filters are then updated in the preferences and returned.
|
|
153
|
+
* Old properties are left untouched for purposes like feature toggling.
|
|
154
|
+
*
|
|
155
|
+
* @param appName Name of the target app.
|
|
156
|
+
* @param key Key of the process filters.
|
|
157
|
+
* @param filters Array of process filters to be checked for backward compatibility.
|
|
158
|
+
* @returns Observable of process filters with updated properties.
|
|
159
|
+
*/
|
|
160
|
+
private handleCreateFilterBackwardsCompatibility;
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFilterCloudService, never>;
|
|
162
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessFilterCloudService>;
|
|
163
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 } from '@angular/core';
|
|
18
|
+
import { CardViewItem } from '@alfresco/adf-core';
|
|
19
|
+
import { ProcessInstanceCloud } from '../../start-process/models/process-instance-cloud.model';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
export declare class ProcessHeaderCloudComponent implements OnChanges, OnInit {
|
|
22
|
+
private readonly processCloudService;
|
|
23
|
+
private readonly translationService;
|
|
24
|
+
private readonly appConfig;
|
|
25
|
+
/** (Required) The name of the application. */
|
|
26
|
+
appName: string;
|
|
27
|
+
/** (Required) The id of the process instance. */
|
|
28
|
+
processInstanceId: string;
|
|
29
|
+
/** Gets emitted each time a new process instance details are loaded. */
|
|
30
|
+
loaded: EventEmitter<ProcessInstanceCloud>;
|
|
31
|
+
processInstanceDetails: ProcessInstanceCloud;
|
|
32
|
+
properties: CardViewItem[];
|
|
33
|
+
dateFormat: string;
|
|
34
|
+
dateLocale: string;
|
|
35
|
+
private readonly destroyRef;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnChanges(): void;
|
|
38
|
+
private loadProcessInstanceDetails;
|
|
39
|
+
private onLoaded;
|
|
40
|
+
/**
|
|
41
|
+
* Refresh the card data
|
|
42
|
+
*/
|
|
43
|
+
refreshData(): void;
|
|
44
|
+
private initDefaultProperties;
|
|
45
|
+
private isValidSelection;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessHeaderCloudComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessHeaderCloudComponent, "adf-cloud-process-header", never, { "appName": { "alias": "appName"; "required": true; }; "processInstanceId": { "alias": "processInstanceId"; "required": true; }; }, { "loaded": "loaded"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/process-header-cloud.component";
|
|
3
|
+
/** @deprecated use ProcessHeaderCloudComponent instead */
|
|
4
|
+
export declare class ProcessHeaderCloudModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessHeaderCloudModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessHeaderCloudModule, never, [typeof i1.ProcessHeaderCloudComponent], [typeof i1.ProcessHeaderCloudComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessHeaderCloudModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 './process-header-cloud.module';
|
|
18
|
+
export * from './components/process-header-cloud.component';
|
|
@@ -0,0 +1,228 @@
|
|
|
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 { AfterContentInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
18
|
+
import { CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, DataCellEvent, DataColumn, DataRowActionEvent, DataRowEvent, DataTableComponent, DataTableSchema, PaginatedComponent, PaginationModel } from '@alfresco/adf-core';
|
|
19
|
+
import { BehaviorSubject } from 'rxjs';
|
|
20
|
+
import { ProcessListRequestModel, ProcessQueryCloudRequestModel } from '../models/process-cloud-query-request.model';
|
|
21
|
+
import { ProcessListCloudSortingModel } from '../models/process-list-sorting.model';
|
|
22
|
+
import { ProcessListDatatableAdapter } from '../datatable/process-list-datatable-adapter';
|
|
23
|
+
import { ProcessListDataColumnCustomData } from '../../../models/data-column-custom-data';
|
|
24
|
+
import { ProcessVariableFilterModel } from '../../../models/process-variable-filter.model';
|
|
25
|
+
import { PaginatedList } from '@alfresco/js-api';
|
|
26
|
+
import { ProcessInstanceCloud } from '../../start-process/models/process-instance-cloud.model';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
export declare class ProcessListCloudComponent extends DataTableSchema<ProcessListDataColumnCustomData> implements OnChanges, AfterContentInit, PaginatedComponent {
|
|
29
|
+
private readonly processListCloudService;
|
|
30
|
+
private readonly userPreferences;
|
|
31
|
+
private readonly cloudPreferenceService;
|
|
32
|
+
private readonly variableMapperService;
|
|
33
|
+
dataTable: DataTableComponent;
|
|
34
|
+
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
35
|
+
customLoadingContent: CustomLoadingContentTemplateDirective;
|
|
36
|
+
processRelatedTo: import("@angular/core").InputSignal<string[]>;
|
|
37
|
+
/** The name of the application. */
|
|
38
|
+
appName: string;
|
|
39
|
+
/** The version of the application. */
|
|
40
|
+
appVersion: number | number[];
|
|
41
|
+
/** Name of the initiator of the process. */
|
|
42
|
+
initiator: string;
|
|
43
|
+
/** Filter the processes to display only the ones with this ID. */
|
|
44
|
+
id: string;
|
|
45
|
+
/** Filter the processes to display only the ones with this environment ID. */
|
|
46
|
+
environmentId: string;
|
|
47
|
+
/** Filter the processes to display only the ones with this name. */
|
|
48
|
+
name: string;
|
|
49
|
+
/** Filter the processes to display only the ones with this parentId. */
|
|
50
|
+
parentId?: string;
|
|
51
|
+
/** Filter the processes to display only the ones with this process definition ID. */
|
|
52
|
+
processDefinitionId: string;
|
|
53
|
+
/** Filter the processes to display only the ones with this process definition name. */
|
|
54
|
+
processDefinitionName: string;
|
|
55
|
+
/** Filter the processes to display only the ones with this process definition key. */
|
|
56
|
+
processDefinitionKey: string;
|
|
57
|
+
/** Filter the processes to display only the ones with this status. */
|
|
58
|
+
status: string;
|
|
59
|
+
/** Filter the processes to display only the ones with this businessKey value. */
|
|
60
|
+
businessKey: string;
|
|
61
|
+
/** Filter the processes. Display only process with lastModifiedTo equal to the supplied date. */
|
|
62
|
+
lastModifiedFrom: Date;
|
|
63
|
+
/** Filter the processes. Display only process with lastModifiedTo equal to the supplied date. */
|
|
64
|
+
lastModifiedTo: Date;
|
|
65
|
+
/** Filter the processes. Display only process with startedDate greater then the supplied date. */
|
|
66
|
+
startFrom: string;
|
|
67
|
+
/** Filter the processes. Display only process with startedDate less than the supplied date. */
|
|
68
|
+
startTo: string;
|
|
69
|
+
/** Filter the processes. Display only process with completedFrom equal to the supplied date. */
|
|
70
|
+
completedFrom: string;
|
|
71
|
+
/** Filter the processes. Display only process with completedTo equal to the supplied date. */
|
|
72
|
+
completedTo: string;
|
|
73
|
+
/** Filter the processes. Display only process with completedDate equal to the supplied date. */
|
|
74
|
+
completedDate: string;
|
|
75
|
+
/** Filter the processes. Display only process with suspendedFrom equal to the supplied date. */
|
|
76
|
+
suspendedFrom: string;
|
|
77
|
+
/** Filter the processes. Display only process with suspendedTo equal to the supplied date. */
|
|
78
|
+
suspendedTo: string;
|
|
79
|
+
/**
|
|
80
|
+
* Row selection mode. Can be "none", "single" or "multiple".
|
|
81
|
+
* For multiple mode, you can use Cmd (macOS) or Ctrl (Win) modifier
|
|
82
|
+
* key to toggle selection for multiple rows.
|
|
83
|
+
*/
|
|
84
|
+
selectionMode: string;
|
|
85
|
+
/** Toggles multiple row selection and renders checkboxes at the beginning of each row */
|
|
86
|
+
multiselect: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Array of objects specifying the sort order and direction for the
|
|
89
|
+
* list. The sort parameters are for BE sorting.
|
|
90
|
+
*/
|
|
91
|
+
sorting: ProcessListCloudSortingModel[];
|
|
92
|
+
/** Toggles the data actions column. */
|
|
93
|
+
showActions: boolean;
|
|
94
|
+
/** Toggles the provided actions. */
|
|
95
|
+
showProvidedActions: boolean;
|
|
96
|
+
/** Position of the actions dropdown menu. Can be "left" or "right". */
|
|
97
|
+
actionsPosition: string;
|
|
98
|
+
/** Toggles the sticky header mode. */
|
|
99
|
+
stickyHeader: boolean;
|
|
100
|
+
/** Toggles custom context menu for the component. */
|
|
101
|
+
showContextMenu: boolean;
|
|
102
|
+
/** Toggle main datatable actions. */
|
|
103
|
+
showMainDatatableActions: boolean;
|
|
104
|
+
/** Toggles main datatable column resizing feature. */
|
|
105
|
+
isResizingEnabled: boolean;
|
|
106
|
+
/** From Activiti 8.7.0 forward, use 'POST' value and array inputs to enable advanced filtering. */
|
|
107
|
+
searchApiMethod: 'GET' | 'POST';
|
|
108
|
+
/**
|
|
109
|
+
* Filter the processes. Display only processes with names matching any of the supplied strings.
|
|
110
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
111
|
+
*/
|
|
112
|
+
names: string[];
|
|
113
|
+
/**
|
|
114
|
+
* Filter the processes. Display only processes with instance Ids matching any of the supplied strings.
|
|
115
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
116
|
+
*/
|
|
117
|
+
ids: string[];
|
|
118
|
+
/**
|
|
119
|
+
* Filter the processes. Display only processes with parent Ids matching any of the supplied strings.
|
|
120
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
121
|
+
*/
|
|
122
|
+
parentIds: string[];
|
|
123
|
+
/**
|
|
124
|
+
* Filter the processes. Display only processes with definition names matching any of the supplied strings.
|
|
125
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
126
|
+
*/
|
|
127
|
+
processDefinitionNames: string[];
|
|
128
|
+
/**
|
|
129
|
+
* Filter the processes. Display only processes started by any of the users whose usernames are present in the array.
|
|
130
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
131
|
+
*/
|
|
132
|
+
initiators: string[];
|
|
133
|
+
/**
|
|
134
|
+
* Filter the processes. Display only processes present in any of the specified app versions.
|
|
135
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
136
|
+
*/
|
|
137
|
+
appVersions: string[];
|
|
138
|
+
/**
|
|
139
|
+
* Filter the processes. Display only processes with provided statuses.
|
|
140
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
141
|
+
*/
|
|
142
|
+
statuses: string[];
|
|
143
|
+
/**
|
|
144
|
+
* Filter the processes. Display only processes with specific process variables.
|
|
145
|
+
* This input will be used only if searchApiMethod input is provided with 'POST' value.
|
|
146
|
+
*/
|
|
147
|
+
processVariables: ProcessVariableFilterModel[];
|
|
148
|
+
/**
|
|
149
|
+
* Enables reloading of preferences and process list when appName changes.
|
|
150
|
+
*/
|
|
151
|
+
enableAppChange: boolean;
|
|
152
|
+
/** Include subprocesses in the process list. */
|
|
153
|
+
includeSubprocesses: boolean | null;
|
|
154
|
+
/** Include unlinked processes in the process list. */
|
|
155
|
+
includeUnlinkedProcesses: boolean | null;
|
|
156
|
+
/** Include linked processes in the process list. */
|
|
157
|
+
includeLinkedProcesses: boolean | null;
|
|
158
|
+
/** Emitted when a row in the process list is clicked. */
|
|
159
|
+
rowClick: EventEmitter<string>;
|
|
160
|
+
/** Emitted when rows are selected/unselected. */
|
|
161
|
+
rowsSelected: EventEmitter<any[]>;
|
|
162
|
+
/** Emitted before the context menu is displayed for a row. */
|
|
163
|
+
showRowContextMenu: EventEmitter<DataCellEvent>;
|
|
164
|
+
/** Emitted before the actions menu is displayed for a row. */
|
|
165
|
+
showRowActionsMenu: EventEmitter<DataCellEvent>;
|
|
166
|
+
/** Emitted when the user executes a row action. */
|
|
167
|
+
executeRowAction: EventEmitter<DataRowActionEvent>;
|
|
168
|
+
/** Emitted when an error occurs while loading the list of process instances from the server. */
|
|
169
|
+
error: EventEmitter<any>;
|
|
170
|
+
/** Emitted when the list of process instances has been loaded successfully from the server. */
|
|
171
|
+
success: EventEmitter<PaginatedList<ProcessInstanceCloud>>;
|
|
172
|
+
pagination: BehaviorSubject<PaginationModel>;
|
|
173
|
+
size: number;
|
|
174
|
+
skipCount: number;
|
|
175
|
+
currentInstanceId: string;
|
|
176
|
+
selectedInstances: any[];
|
|
177
|
+
rows: any[];
|
|
178
|
+
formattedSorting: any[];
|
|
179
|
+
requestNode: ProcessQueryCloudRequestModel;
|
|
180
|
+
processListRequestNode: ProcessListRequestModel;
|
|
181
|
+
dataAdapter: ProcessListDatatableAdapter;
|
|
182
|
+
private readonly defaultSorting;
|
|
183
|
+
protected isLoadingPreferences$: BehaviorSubject<boolean>;
|
|
184
|
+
private readonly isReloadingSubject$;
|
|
185
|
+
isLoading$: import("rxjs").Observable<boolean>;
|
|
186
|
+
private readonly fetchProcessesTrigger$;
|
|
187
|
+
constructor();
|
|
188
|
+
reload(): void;
|
|
189
|
+
ngAfterContentInit(): void;
|
|
190
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
191
|
+
private retrieveProcessPreferences;
|
|
192
|
+
getCurrentId(): string;
|
|
193
|
+
private isAnyPropertyChanged;
|
|
194
|
+
private isPropertyChanged;
|
|
195
|
+
isListEmpty(): boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Resets the pagination values
|
|
198
|
+
*/
|
|
199
|
+
resetPagination(): void;
|
|
200
|
+
/**
|
|
201
|
+
* Resets the pagination values and
|
|
202
|
+
* Reloads the process list
|
|
203
|
+
*
|
|
204
|
+
* @param pagination Pagination values to be set
|
|
205
|
+
*/
|
|
206
|
+
updatePagination(pagination: PaginationModel): void;
|
|
207
|
+
onSortingChanged(event: CustomEvent): void;
|
|
208
|
+
onColumnOrderChanged(columnsWithNewOrder: DataColumn[]): void;
|
|
209
|
+
onColumnsVisibilityChange(columns: DataColumn[]): void;
|
|
210
|
+
onColumnsWidthChanged(columns: DataColumn[]): void;
|
|
211
|
+
onRowClick(item: DataRowEvent): void;
|
|
212
|
+
onRowSelect(event: CustomEvent): void;
|
|
213
|
+
onRowUnselect(event: CustomEvent): void;
|
|
214
|
+
onRowKeyUp(event: CustomEvent): void;
|
|
215
|
+
onShowRowActionsMenu(event: DataCellEvent): void;
|
|
216
|
+
onShowRowContextMenu(event: DataCellEvent): void;
|
|
217
|
+
onExecuteRowAction(row: DataRowActionEvent): void;
|
|
218
|
+
private createProcessListRequestNode;
|
|
219
|
+
private getProcessListRequestSorting;
|
|
220
|
+
private createRequestNode;
|
|
221
|
+
getAppVersions(): string;
|
|
222
|
+
setSorting(sortDetail: any): void;
|
|
223
|
+
formatSorting(sorting: ProcessListCloudSortingModel[]): void;
|
|
224
|
+
isValidSorting(sorting: ProcessListCloudSortingModel[]): string;
|
|
225
|
+
private getVariableDefinitionsRequestModel;
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessListCloudComponent, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessListCloudComponent, "adf-cloud-process-list", never, { "processRelatedTo": { "alias": "processRelatedTo"; "required": false; "isSignal": true; }; "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "initiator": { "alias": "initiator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "processDefinitionKey": { "alias": "processDefinitionKey"; "required": false; }; "status": { "alias": "status"; "required": false; }; "businessKey": { "alias": "businessKey"; "required": false; }; "lastModifiedFrom": { "alias": "lastModifiedFrom"; "required": false; }; "lastModifiedTo": { "alias": "lastModifiedTo"; "required": false; }; "startFrom": { "alias": "startFrom"; "required": false; }; "startTo": { "alias": "startTo"; "required": false; }; "completedFrom": { "alias": "completedFrom"; "required": false; }; "completedTo": { "alias": "completedTo"; "required": false; }; "completedDate": { "alias": "completedDate"; "required": false; }; "suspendedFrom": { "alias": "suspendedFrom"; "required": false; }; "suspendedTo": { "alias": "suspendedTo"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showProvidedActions": { "alias": "showProvidedActions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "showMainDatatableActions": { "alias": "showMainDatatableActions"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "searchApiMethod": { "alias": "searchApiMethod"; "required": false; }; "names": { "alias": "names"; "required": false; }; "ids": { "alias": "ids"; "required": false; }; "parentIds": { "alias": "parentIds"; "required": false; }; "processDefinitionNames": { "alias": "processDefinitionNames"; "required": false; }; "initiators": { "alias": "initiators"; "required": false; }; "appVersions": { "alias": "appVersions"; "required": false; }; "statuses": { "alias": "statuses"; "required": false; }; "processVariables": { "alias": "processVariables"; "required": false; }; "enableAppChange": { "alias": "enableAppChange"; "required": false; }; "includeSubprocesses": { "alias": "includeSubprocesses"; "required": false; }; "includeUnlinkedProcesses": { "alias": "includeUnlinkedProcesses"; "required": false; }; "includeLinkedProcesses": { "alias": "includeLinkedProcesses"; "required": false; }; }, { "rowClick": "rowClick"; "rowsSelected": "rowsSelected"; "showRowContextMenu": "showRowContextMenu"; "showRowActionsMenu": "showRowActionsMenu"; "executeRowAction": "executeRowAction"; "error": "error"; "success": "success"; }, ["emptyCustomContent", "customLoadingContent"], ["adf-custom-loading-content-template", "adf-custom-empty-content-template"], true, never>;
|
|
228
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { DataColumn, DataRow, ObjectDataTableAdapter } from '@alfresco/adf-core';
|
|
18
|
+
import { ProcessListDataColumnCustomData } from '../../../models/data-column-custom-data';
|
|
19
|
+
import { ProcessInstanceCloudListViewModel } from '../models/perocess-instance-cloud-view.model';
|
|
20
|
+
export declare class ProcessListDatatableAdapter extends ObjectDataTableAdapter {
|
|
21
|
+
constructor(data: ProcessInstanceCloudListViewModel[], schema: DataColumn<ProcessListDataColumnCustomData>[]);
|
|
22
|
+
getColumnType(row: DataRow, col: DataColumn<ProcessListDataColumnCustomData>): string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { WithVariablesMap } from '../../../models/process-instance-variable.model';
|
|
18
|
+
import { ProcessInstanceCloud } from '../../start-process/models/process-instance-cloud.model';
|
|
19
|
+
export type ProcessInstanceCloudListViewModel = WithVariablesMap<ProcessInstanceCloud>;
|
|
@@ -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 declare const ProcessListCloudPreferences: {
|
|
18
|
+
readonly columnOrder: "processes-cloud-list-columns-order";
|
|
19
|
+
readonly columnsVisibility: "processes-cloud-columns-visibility";
|
|
20
|
+
readonly columnsWidths: "processes-cloud-columns-widths";
|
|
21
|
+
};
|
|
22
|
+
export type ProcessListCloudPreferences = (typeof ProcessListCloudPreferences)[keyof typeof ProcessListCloudPreferences];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export declare const processCloudPresetsDefaultModel: {
|
|
18
|
+
default: ({
|
|
19
|
+
id: string;
|
|
20
|
+
key: string;
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
sortable: boolean;
|
|
24
|
+
cssClass?: undefined;
|
|
25
|
+
format?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
id: string;
|
|
28
|
+
key: string;
|
|
29
|
+
type: string;
|
|
30
|
+
title: string;
|
|
31
|
+
cssClass: string;
|
|
32
|
+
sortable: boolean;
|
|
33
|
+
format: string;
|
|
34
|
+
})[];
|
|
35
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Pagination } from '@alfresco/js-api';
|
|
18
|
+
import { ProcessListCloudSortingModel, ProcessListRequestSortingModel } from './process-list-sorting.model';
|
|
19
|
+
import { ProcessFilterCloudModel } from '../../process-filters/models/process-filter-cloud.model';
|
|
20
|
+
import { ProcessVariableFilterModel } from '../../../models/process-variable-filter.model';
|
|
21
|
+
export declare class ProcessQueryCloudRequestModel {
|
|
22
|
+
appName: string;
|
|
23
|
+
appVersion?: number | string;
|
|
24
|
+
initiator?: null;
|
|
25
|
+
id?: string;
|
|
26
|
+
environmentId?: string;
|
|
27
|
+
name?: string;
|
|
28
|
+
parentId?: string;
|
|
29
|
+
processDefinitionId?: string;
|
|
30
|
+
processDefinitionName?: string;
|
|
31
|
+
processDefinitionKey?: string;
|
|
32
|
+
status?: string;
|
|
33
|
+
startDate?: string;
|
|
34
|
+
businessKey?: string;
|
|
35
|
+
lastModified?: string;
|
|
36
|
+
lastModifiedTo?: string;
|
|
37
|
+
lastModifiedFrom?: string;
|
|
38
|
+
startFrom?: string;
|
|
39
|
+
startTo?: string;
|
|
40
|
+
completedFrom?: string;
|
|
41
|
+
completedTo?: string;
|
|
42
|
+
suspendedFrom?: string;
|
|
43
|
+
suspendedTo?: string;
|
|
44
|
+
completedDate?: string;
|
|
45
|
+
maxItems: number;
|
|
46
|
+
skipCount: number;
|
|
47
|
+
sorting?: ProcessListCloudSortingModel[];
|
|
48
|
+
variableKeys?: string[];
|
|
49
|
+
constructor(obj?: any);
|
|
50
|
+
}
|
|
51
|
+
export declare class ProcessListRequestModel {
|
|
52
|
+
appName: string;
|
|
53
|
+
pagination?: Pagination;
|
|
54
|
+
sorting?: ProcessListRequestSortingModel;
|
|
55
|
+
name?: string[];
|
|
56
|
+
id?: string[];
|
|
57
|
+
parentId?: string[];
|
|
58
|
+
processDefinitionName?: string[];
|
|
59
|
+
initiator?: string[];
|
|
60
|
+
appVersion?: string[];
|
|
61
|
+
status?: string[];
|
|
62
|
+
lastModifiedFrom?: string;
|
|
63
|
+
lasModifiedTo?: string;
|
|
64
|
+
startFrom?: string;
|
|
65
|
+
startTo?: string;
|
|
66
|
+
completedFrom?: string;
|
|
67
|
+
completedTo?: string;
|
|
68
|
+
suspendedFrom?: string;
|
|
69
|
+
suspendedTo?: string;
|
|
70
|
+
includeSubprocesses?: boolean;
|
|
71
|
+
includeUnlinkedProcesses?: boolean;
|
|
72
|
+
includeLinkedProcesses?: boolean;
|
|
73
|
+
processRelatedTo?: string[];
|
|
74
|
+
processVariableFilters?: ProcessVariableFilterModel[];
|
|
75
|
+
processVariableKeys?: string[];
|
|
76
|
+
constructor(obj: Partial<ProcessListRequestModel>);
|
|
77
|
+
}
|
|
78
|
+
export declare class ProcessFilterCloudAdapter extends ProcessListRequestModel {
|
|
79
|
+
constructor(filter: ProcessFilterCloudModel);
|
|
80
|
+
}
|