@alfresco/adf-process-services-cloud 8.3.0 → 8.3.1
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/bundles/assets/adf-process-services-cloud/i18n/ar.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/cs.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/da.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/de.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/en.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/es.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/fi.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/fr.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/it.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/ja.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/nb.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/nl.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/pl.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/pt-BR.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/pt.json +4 -14
- package/bundles/assets/adf-process-services-cloud/i18n/ru.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/sv.json +1 -13
- package/bundles/assets/adf-process-services-cloud/i18n/zh-CN.json +1 -13
- package/fesm2022/adf-process-services-cloud.mjs +1207 -1245
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/app/models/application-instance.model.d.ts +7 -6
- package/lib/app/public-api.d.ts +0 -3
- package/lib/app/services/apps-process-cloud.service.d.ts +1 -3
- package/lib/common/date-range-filter/date-range-filter.service.d.ts +1 -1
- package/lib/flex.scss +9 -7
- package/lib/form/components/form-cloud.component.d.ts +15 -4
- package/lib/form/components/form-cloud.component.scss +40 -7
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +6 -7
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +2 -2
- package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +3 -3
- package/lib/form/components/widgets/data-table/data-table.widget.d.ts +4 -7
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +2 -5
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +10 -4
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +3 -1
- package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +1 -2
- package/lib/form/components/widgets/group/group-cloud.widget.d.ts +1 -2
- package/lib/form/components/widgets/people/people-cloud.widget.d.ts +2 -3
- package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +2 -3
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +1 -2
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +4 -5
- package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +1 -2
- package/lib/form/form-cloud.module.d.ts +8 -10
- package/lib/form/models/form-cloud-representation.model.d.ts +11 -9
- package/lib/form/public-api.d.ts +0 -2
- package/lib/form/services/content-cloud-node-selector.service.d.ts +3 -7
- package/lib/form/services/form-cloud.service.d.ts +3 -4
- package/lib/form/services/process-cloud-content.service.d.ts +4 -7
- package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +2 -2
- package/lib/group/components/group-cloud.component.d.ts +2 -4
- package/lib/group/services/identity-group.service.d.ts +2 -4
- package/lib/models/constant-values.type.d.ts +1 -0
- package/lib/models/date-cloud-filter.model.d.ts +12 -11
- package/lib/people/components/people-cloud.component.d.ts +2 -4
- package/lib/people/services/identity-user.service.d.ts +3 -5
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +11 -17
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +3 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.scss +12 -29
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +4 -2
- package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +7 -5
- package/lib/process/process-header/components/process-header-cloud.component.d.ts +4 -6
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +28 -16
- package/lib/process/process-list/models/process-cloud-preferences.d.ts +6 -5
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +4 -1
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +20 -6
- package/lib/process/start-process/models/process-instance-cloud.model.d.ts +8 -0
- package/lib/process/start-process/models/process-payload-cloud.model.d.ts +12 -1
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +1 -2
- package/lib/process-services-cloud.module.d.ts +19 -22
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +31 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +13 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.scss +8 -0
- package/lib/{form/services/form-definition-selector-cloud.service.interface.d.ts → screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts} +9 -5
- package/lib/screen/components/screen-cloud/{screen-cloud.component.d.ts → user-task-screen/screen-cloud.component.d.ts} +7 -13
- package/lib/screen/public-api.d.ts +2 -1
- package/lib/screen/services/screen-rendering.service.d.ts +1 -1
- package/lib/services/base-cloud.service.d.ts +0 -1
- package/lib/services/form-fields.interfaces.d.ts +35 -31
- package/lib/services/local-preference-cloud.service.d.ts +1 -3
- package/lib/services/notification-cloud.service.d.ts +0 -2
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
- package/lib/services/web-socket.service.d.ts +2 -6
- package/lib/task/services/task-cloud.service.d.ts +2 -4
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +3 -3
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +1 -1
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +1 -1
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +1 -3
- package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +3 -4
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +3 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.scss +10 -31
- package/lib/task/task-filters/models/filter-cloud.model.d.ts +18 -16
- package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +5 -6
- package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +5 -8
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +11 -8
- package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +1 -3
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +13 -13
- package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +3 -6
- package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +2 -4
- package/lib/task/task-header/components/task-header-cloud.component.d.ts +6 -7
- package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +11 -9
- package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +3 -7
- package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +4 -8
- package/lib/task/task-list/models/service-task-cloud.model.d.ts +82 -2
- package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +15 -1
- package/package.json +4 -4
- package/lib/app/app-list-cloud.module.d.ts +0 -19
- package/lib/app/components/app-details-cloud/app-details-cloud.component.d.ts +0 -43
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +0 -162
- package/lib/app/components/app-list-cloud/app-list-cloud.component.d.ts +0 -67
- package/lib/app/components/app-list-cloud/app-list-cloud.component.scss +0 -41
- package/lib/form/components/form-definition-selector-cloud.component.d.ts +0 -35
- package/lib/form/components/form-definition-selector-cloud.component.scss +0 -5
- package/lib/form/services/form-definition-selector-cloud.service.d.ts +0 -23
- /package/lib/screen/components/screen-cloud/{screen-cloud.model.d.ts → user-task-screen/screen-cloud.model.d.ts} +0 -0
package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts
CHANGED
|
@@ -16,16 +16,15 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
18
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
19
|
-
import { AbstractControl,
|
|
19
|
+
import { AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export declare class TaskFilterDialogCloudComponent implements OnInit {
|
|
22
|
-
private fb;
|
|
23
|
-
dialogRef: MatDialogRef<TaskFilterDialogCloudComponent>;
|
|
22
|
+
private readonly fb;
|
|
23
|
+
dialogRef: MatDialogRef<TaskFilterDialogCloudComponent, any>;
|
|
24
24
|
data: any;
|
|
25
25
|
static ACTION_SAVE: string;
|
|
26
26
|
defaultIcon: string;
|
|
27
27
|
filterForm: UntypedFormGroup;
|
|
28
|
-
constructor(fb: UntypedFormBuilder, dialogRef: MatDialogRef<TaskFilterDialogCloudComponent>, data: any);
|
|
29
28
|
ngOnInit(): void;
|
|
30
29
|
onSaveClick(): void;
|
|
31
30
|
onCancelClick(): void;
|
|
@@ -22,6 +22,7 @@ import { TaskDetailsCloudModel } from '../../../models/task-details-cloud.model'
|
|
|
22
22
|
import { TaskCloudEngineEvent } from '../../../../models/engine-event-cloud.model';
|
|
23
23
|
import * as i0 from "@angular/core";
|
|
24
24
|
export declare class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent implements OnInit, OnChanges {
|
|
25
|
+
protected readonly TASKS_ROUTE = "/task-list-cloud";
|
|
25
26
|
/** (optional) From Activiti 8.7.0 forward, use the 'POST' method to get the task count. */
|
|
26
27
|
searchApiMethod: 'GET' | 'POST';
|
|
27
28
|
/** Emitted when a filter is being selected based on the filterParam input. */
|
|
@@ -43,6 +44,8 @@ export declare class TaskFiltersCloudComponent extends BaseTaskFiltersCloudCompo
|
|
|
43
44
|
private readonly taskListCloudService;
|
|
44
45
|
private readonly translationService;
|
|
45
46
|
private readonly appConfigService;
|
|
47
|
+
private readonly activatedRoute;
|
|
48
|
+
readonly currentRouteFilterId: import("@angular/core").Signal<string>;
|
|
46
49
|
ngOnInit(): void;
|
|
47
50
|
ngOnChanges(changes: SimpleChanges): void;
|
|
48
51
|
/**
|
|
@@ -1,39 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
margin-right: calc(-1 * var(--adf-theme-spacing));
|
|
3
|
-
|
|
4
|
-
&__entry {
|
|
5
|
-
font-size: var(--theme-body-1-font-size);
|
|
6
|
-
color: var(--adf-theme-foreground-text-color-054);
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
flex: 1;
|
|
11
|
-
height: 100%;
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
color: var(--theme-primary-color);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__entry-label {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex: 1;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: var(--adf-theme-spacing);
|
|
23
|
-
}
|
|
1
|
+
@use '@angular/material' as mat;
|
|
24
2
|
|
|
3
|
+
.adf-task-filters {
|
|
25
4
|
&__entry-counter {
|
|
26
5
|
padding: 0 5px;
|
|
27
|
-
border-radius: 15px;
|
|
6
|
+
border-radius: var(--mat-sys-corner-large, 15px);
|
|
28
7
|
|
|
29
8
|
&.adf-active {
|
|
30
|
-
background-color: var(--theme-accent-color);
|
|
31
|
-
color: var(--theme-accent-color-default-contrast);
|
|
32
|
-
font-size: smaller;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
9
|
+
background-color: var(--mat-sys-secondary, var(--theme-accent-color));
|
|
35
10
|
|
|
36
|
-
|
|
37
|
-
|
|
11
|
+
@include mat.list-overrides(
|
|
12
|
+
(
|
|
13
|
+
list-item-trailing-supporting-text-color: var(--mat-sys-on-secondary, var(--theme-accent-color-default-contrast))
|
|
14
|
+
)
|
|
15
|
+
);
|
|
16
|
+
}
|
|
38
17
|
}
|
|
39
18
|
}
|
|
@@ -69,7 +69,7 @@ export declare class TaskFilterCloudModel {
|
|
|
69
69
|
private _dueDateTo;
|
|
70
70
|
private _createdFrom;
|
|
71
71
|
private _createdTo;
|
|
72
|
-
private dateRangeFilterService;
|
|
72
|
+
private readonly dateRangeFilterService;
|
|
73
73
|
processVariableFilters?: ProcessVariableFilterModel[];
|
|
74
74
|
constructor(obj?: any);
|
|
75
75
|
private initArrayProperties;
|
|
@@ -137,21 +137,23 @@ export interface FilterOptions {
|
|
|
137
137
|
label?: string;
|
|
138
138
|
value?: string;
|
|
139
139
|
}
|
|
140
|
-
export declare
|
|
141
|
-
CURRENT_USER
|
|
142
|
-
UNASSIGNED
|
|
143
|
-
NONE
|
|
144
|
-
CANDIDATE_GROUPS
|
|
145
|
-
ASSIGNED_TO
|
|
146
|
-
}
|
|
147
|
-
export
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
140
|
+
export declare const AssignmentType: {
|
|
141
|
+
readonly CURRENT_USER: "CURRENT_USER";
|
|
142
|
+
readonly UNASSIGNED: "UNASSIGNED";
|
|
143
|
+
readonly NONE: "NONE";
|
|
144
|
+
readonly CANDIDATE_GROUPS: "CANDIDATE_GROUPS";
|
|
145
|
+
readonly ASSIGNED_TO: "ASSIGNED_TO";
|
|
146
|
+
};
|
|
147
|
+
export type AssignmentType = (typeof AssignmentType)[keyof typeof AssignmentType];
|
|
148
|
+
export declare const TaskStatusFilter: {
|
|
149
|
+
readonly ALL: "";
|
|
150
|
+
readonly CREATED: "CREATED";
|
|
151
|
+
readonly ASSIGNED: "ASSIGNED";
|
|
152
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
153
|
+
readonly CANCELLED: "CANCELLED";
|
|
154
|
+
readonly COMPLETED: "COMPLETED";
|
|
155
|
+
};
|
|
156
|
+
export type TaskStatusFilter = (typeof TaskStatusFilter)[keyof typeof TaskStatusFilter];
|
|
155
157
|
export interface TaskFilterProperties {
|
|
156
158
|
label?: string;
|
|
157
159
|
type?: string;
|
|
@@ -4,11 +4,10 @@ import { PreferenceCloudServiceInterface } from '../../../services/preference-cl
|
|
|
4
4
|
import { IdentityUserService } from '../../../people/services/identity-user.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ServiceTaskFilterCloudService {
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
constructor(identityUserService: IdentityUserService, preferenceService: PreferenceCloudServiceInterface);
|
|
7
|
+
private readonly filtersSubject;
|
|
8
|
+
readonly filters$: Observable<ServiceTaskFilterCloudModel[]>;
|
|
9
|
+
protected readonly preferenceService: PreferenceCloudServiceInterface;
|
|
10
|
+
protected readonly identityUserService: IdentityUserService;
|
|
12
11
|
/**
|
|
13
12
|
* Creates and returns the default task filters for an app.
|
|
14
13
|
*
|
|
@@ -106,7 +105,7 @@ export declare class ServiceTaskFilterCloudService {
|
|
|
106
105
|
* @param appName Name of the target app
|
|
107
106
|
* @returns String of task filters preference key
|
|
108
107
|
*/
|
|
109
|
-
|
|
108
|
+
protected prepareKey(appName: string): string;
|
|
110
109
|
/**
|
|
111
110
|
* Finds and returns the task filters from preferences
|
|
112
111
|
*
|
|
@@ -2,20 +2,17 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { TaskFilterCloudModel } from '../models/filter-cloud.model';
|
|
3
3
|
import { BaseCloudService } from '../../../services/base-cloud.service';
|
|
4
4
|
import { PreferenceCloudServiceInterface } from '../../../services/preference-cloud.interface';
|
|
5
|
-
import { NotificationCloudService } from '../../../services/notification-cloud.service';
|
|
6
5
|
import { TaskCloudEngineEvent } from '../../../models/engine-event-cloud.model';
|
|
7
6
|
import { IdentityUserService } from '../../../people/services/identity-user.service';
|
|
8
|
-
import { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class TaskFilterCloudService extends BaseCloudService {
|
|
11
|
-
private
|
|
9
|
+
private readonly notificationCloudService;
|
|
12
10
|
preferenceService: PreferenceCloudServiceInterface;
|
|
13
|
-
|
|
14
|
-
private filtersSubject;
|
|
11
|
+
protected identityUserService: IdentityUserService;
|
|
12
|
+
private readonly filtersSubject;
|
|
15
13
|
filters$: Observable<TaskFilterCloudModel[]>;
|
|
16
|
-
private filterKeyToBeRefreshedSource;
|
|
14
|
+
private readonly filterKeyToBeRefreshedSource;
|
|
17
15
|
filterKeyToBeRefreshed$: Observable<string>;
|
|
18
|
-
constructor(identityUserService: IdentityUserService, preferenceService: PreferenceCloudServiceInterface, notificationCloudService: NotificationCloudService, adfHttpClient: AdfHttpClient);
|
|
19
16
|
/**
|
|
20
17
|
* Creates and returns the default task filters for an app.
|
|
21
18
|
*
|
|
@@ -120,7 +117,7 @@ export declare class TaskFilterCloudService extends BaseCloudService {
|
|
|
120
117
|
* @param appName Name of the target app
|
|
121
118
|
* @returns String of task filters preference key
|
|
122
119
|
*/
|
|
123
|
-
|
|
120
|
+
protected prepareKey(appName: string): string;
|
|
124
121
|
/**
|
|
125
122
|
* Finds and returns the task filters from preferences
|
|
126
123
|
*
|
|
@@ -14,16 +14,15 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { ContentLinkModel, FormModel, FormOutcomeEvent
|
|
17
|
+
import { ContentLinkModel, FormModel, FormOutcomeEvent } from '@alfresco/adf-core';
|
|
18
18
|
import { EventEmitter } from '@angular/core';
|
|
19
19
|
import { FormCloudComponent } from '../../../../form/components/form-cloud.component';
|
|
20
20
|
import { FormCloudDisplayModeConfiguration } from '../../../../services/form-fields.interfaces';
|
|
21
|
-
import { TaskCloudService } from '../../../services/task-cloud.service';
|
|
22
21
|
import { TaskDetailsCloudModel } from '../../../models/task-details-cloud.model';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
export declare class TaskFormCloudComponent {
|
|
25
|
-
private taskCloudService;
|
|
26
|
-
private formRenderingService;
|
|
24
|
+
private readonly taskCloudService;
|
|
25
|
+
private readonly formRenderingService;
|
|
27
26
|
/** App id to fetch corresponding form and values. */
|
|
28
27
|
appName: string;
|
|
29
28
|
/**Candidates users*/
|
|
@@ -65,6 +64,11 @@ export declare class TaskFormCloudComponent {
|
|
|
65
64
|
* The available display configurations for the form
|
|
66
65
|
*/
|
|
67
66
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
67
|
+
/**
|
|
68
|
+
* Toggle to enable parent visibility check for validation.
|
|
69
|
+
* When enabled, fields inside hidden groups/sections will skip validation.
|
|
70
|
+
*/
|
|
71
|
+
enableParentVisibilityCheck: boolean;
|
|
68
72
|
/** Task details. */
|
|
69
73
|
taskDetails: TaskDetailsCloudModel;
|
|
70
74
|
/** Emitted when the form is loaded or reloaded. */
|
|
@@ -74,7 +78,7 @@ export declare class TaskFormCloudComponent {
|
|
|
74
78
|
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
75
79
|
formCompleted: EventEmitter<FormModel>;
|
|
76
80
|
/** Emitted when the task is completed. */
|
|
77
|
-
taskCompleted: EventEmitter<
|
|
81
|
+
taskCompleted: EventEmitter<FormModel>;
|
|
78
82
|
/** Emitted when the task is claimed. */
|
|
79
83
|
taskClaimed: EventEmitter<string>;
|
|
80
84
|
/** Emitted when the task is unclaimed. */
|
|
@@ -96,7 +100,7 @@ export declare class TaskFormCloudComponent {
|
|
|
96
100
|
displayModeOff: EventEmitter<FormCloudDisplayModeConfiguration>;
|
|
97
101
|
adfCloudForm: FormCloudComponent;
|
|
98
102
|
loading: boolean;
|
|
99
|
-
constructor(
|
|
103
|
+
constructor();
|
|
100
104
|
hasForm(): boolean;
|
|
101
105
|
canCompleteTask(): boolean;
|
|
102
106
|
canClaimTask(): boolean;
|
|
@@ -105,7 +109,6 @@ export declare class TaskFormCloudComponent {
|
|
|
105
109
|
hasCandidateGroups(): boolean;
|
|
106
110
|
hasCandidateUsersOrGroups(): boolean;
|
|
107
111
|
isReadOnly(): boolean;
|
|
108
|
-
onCompleteTask(): void;
|
|
109
112
|
onClaimTask(): void;
|
|
110
113
|
onUnclaimTask(): void;
|
|
111
114
|
onCancelClick(): void;
|
|
@@ -119,5 +122,5 @@ export declare class TaskFormCloudComponent {
|
|
|
119
122
|
onDisplayModeOff(displayModeConfiguration: FormCloudDisplayModeConfiguration): void;
|
|
120
123
|
onFormLoaded(form: FormModel): void;
|
|
121
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormCloudComponent, never>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; }, { "formLoaded": "formLoaded"; "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, never, true, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "enableParentVisibilityCheck": { "alias": "enableParentVisibilityCheck"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; }, { "formLoaded": "formLoaded"; "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, never, true, never>;
|
|
123
126
|
}
|
package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts
CHANGED
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { EventEmitter, OnInit
|
|
18
|
-
import { TaskCloudService } from '../../../../services/task-cloud.service';
|
|
17
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class CompleteTaskDirective implements OnInit {
|
|
21
20
|
private readonly el;
|
|
@@ -30,7 +29,6 @@ export declare class CompleteTaskDirective implements OnInit {
|
|
|
30
29
|
/** Emitted when the task cannot be completed. */
|
|
31
30
|
error: EventEmitter<any>;
|
|
32
31
|
invalidParams: string[];
|
|
33
|
-
constructor(el: ElementRef, renderer: Renderer2, taskListService: TaskCloudService);
|
|
34
32
|
ngOnInit(): void;
|
|
35
33
|
validateInputs(): void;
|
|
36
34
|
isTaskValid(): boolean;
|
|
@@ -19,15 +19,10 @@ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
|
19
19
|
import { FormCloudDisplayModeConfiguration } from '../../../../services/form-fields.interfaces';
|
|
20
20
|
import { TaskDetailsCloudModel } from '../../../models/task-details-cloud.model';
|
|
21
21
|
import { TaskFormCloudComponent } from '../task-form-cloud/task-form-cloud.component';
|
|
22
|
-
import { TaskScreenCloudComponent } from '../../../../screen/components/screen-cloud/screen-cloud.component';
|
|
22
|
+
import { TaskScreenCloudComponent } from '../../../../screen/components/screen-cloud/user-task-screen/screen-cloud.component';
|
|
23
23
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
24
|
+
import { UserTaskType } from '../../../../services/task-type-resolver/task-type-resolver.service';
|
|
24
25
|
import * as i0 from "@angular/core";
|
|
25
|
-
declare const TaskTypes: {
|
|
26
|
-
readonly Form: "form";
|
|
27
|
-
readonly Screen: "screen";
|
|
28
|
-
readonly None: "";
|
|
29
|
-
};
|
|
30
|
-
type TaskTypesType = (typeof TaskTypes)[keyof typeof TaskTypes];
|
|
31
26
|
export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
32
27
|
adfCloudTaskForm: TaskFormCloudComponent;
|
|
33
28
|
adfCloudTaskScreen: TaskScreenCloudComponent;
|
|
@@ -35,6 +30,11 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
35
30
|
appName: string;
|
|
36
31
|
/** The available display configurations for the form */
|
|
37
32
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
33
|
+
/**
|
|
34
|
+
* Toggle to enable parent visibility check for validation.
|
|
35
|
+
* When enabled, fields inside hidden groups/sections will skip validation.
|
|
36
|
+
*/
|
|
37
|
+
enableParentVisibilityCheck: boolean;
|
|
38
38
|
/** Toggle readonly state of the task. */
|
|
39
39
|
readOnly: boolean;
|
|
40
40
|
/** Toggle rendering of the `Cancel` button. */
|
|
@@ -98,15 +98,16 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
98
98
|
candidateUsers: string[];
|
|
99
99
|
candidateGroups: string[];
|
|
100
100
|
loading: boolean;
|
|
101
|
-
screenId: string;
|
|
102
101
|
taskDetails: TaskDetailsCloudModel;
|
|
103
|
-
taskType:
|
|
102
|
+
taskType: UserTaskType;
|
|
104
103
|
taskTypeEnum: {
|
|
105
104
|
readonly Form: "form";
|
|
106
105
|
readonly Screen: "screen";
|
|
107
106
|
readonly None: "";
|
|
108
107
|
};
|
|
109
|
-
|
|
108
|
+
screenId: string;
|
|
109
|
+
private readonly taskCloudService;
|
|
110
|
+
private readonly taskTypeResolverService;
|
|
110
111
|
private readonly destroyRef;
|
|
111
112
|
ngOnChanges(changes: SimpleChanges): void;
|
|
112
113
|
ngOnInit(): void;
|
|
@@ -120,7 +121,7 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
120
121
|
onCancelForm(): void;
|
|
121
122
|
onCancelClick(): void;
|
|
122
123
|
onClaimTask(): void;
|
|
123
|
-
onCompleteTask(openNextTask?: boolean): void;
|
|
124
|
+
onCompleteTask(openNextTask?: boolean, taskType?: UserTaskType): void;
|
|
124
125
|
onCompleteTaskForm(): void;
|
|
125
126
|
onError(data: any): void;
|
|
126
127
|
onFormLoaded(form: FormModel): void;
|
|
@@ -133,6 +134,5 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
133
134
|
private loadTask;
|
|
134
135
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
135
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserTaskCloudComponent, never>;
|
|
136
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudComponent, "adf-cloud-user-task", never, { "appName": { "alias": "appName"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; }, { "cancelClick": "cancelClick"; "error": "error"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; "executeOutcome": "executeOutcome"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "formSaved": "formSaved"; "onTaskLoaded": "onTaskLoaded"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
|
137
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudComponent, "adf-cloud-user-task", never, { "appName": { "alias": "appName"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "enableParentVisibilityCheck": { "alias": "enableParentVisibilityCheck"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; }, { "cancelClick": "cancelClick"; "error": "error"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; "executeOutcome": "executeOutcome"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "formSaved": "formSaved"; "onTaskLoaded": "onTaskLoaded"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
|
137
138
|
}
|
|
138
|
-
export {};
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { EventEmitter, OnInit
|
|
18
|
-
import { IdentityUserService } from '../../../../../people/services/identity-user.service';
|
|
19
|
-
import { TaskCloudService } from '../../../../services/task-cloud.service';
|
|
17
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
20
18
|
import * as i0 from "@angular/core";
|
|
21
19
|
export declare class ClaimTaskCloudDirective implements OnInit {
|
|
22
20
|
private readonly el;
|
|
23
21
|
private readonly renderer;
|
|
24
|
-
private taskListService;
|
|
25
|
-
private identityUserService;
|
|
22
|
+
private readonly taskListService;
|
|
23
|
+
private readonly identityUserService;
|
|
26
24
|
/** (Required) The id of the task. */
|
|
27
25
|
taskId: string;
|
|
28
26
|
/** (Required) The name of the application. */
|
|
@@ -32,7 +30,6 @@ export declare class ClaimTaskCloudDirective implements OnInit {
|
|
|
32
30
|
/** Emitted when the task cannot be completed. */
|
|
33
31
|
error: EventEmitter<any>;
|
|
34
32
|
invalidParams: string[];
|
|
35
|
-
constructor(el: ElementRef, renderer: Renderer2, taskListService: TaskCloudService, identityUserService: IdentityUserService);
|
|
36
33
|
ngOnInit(): void;
|
|
37
34
|
validateInputs(): void;
|
|
38
35
|
isTaskValid(): boolean;
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { EventEmitter, OnInit
|
|
18
|
-
import { TaskCloudService } from '../../../../services/task-cloud.service';
|
|
17
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class UnClaimTaskCloudDirective implements OnInit {
|
|
21
20
|
private readonly el;
|
|
22
21
|
private readonly renderer;
|
|
23
|
-
private taskListService;
|
|
22
|
+
private readonly taskListService;
|
|
24
23
|
/** (Required) The id of the task. */
|
|
25
24
|
taskId: string;
|
|
26
25
|
/** (Required) The name of the application. */
|
|
@@ -30,7 +29,6 @@ export declare class UnClaimTaskCloudDirective implements OnInit {
|
|
|
30
29
|
/** Emitted when the task cannot be completed. */
|
|
31
30
|
error: EventEmitter<any>;
|
|
32
31
|
invalidParams: string[];
|
|
33
|
-
constructor(el: ElementRef, renderer: Renderer2, taskListService: TaskCloudService);
|
|
34
32
|
ngOnInit(): void;
|
|
35
33
|
validateInputs(): void;
|
|
36
34
|
isTaskValid(): boolean;
|
|
@@ -15,15 +15,14 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
18
|
-
import {
|
|
18
|
+
import { CardViewArrayItem, CardViewItem } from '@alfresco/adf-core';
|
|
19
19
|
import { TaskDetailsCloudModel } from '../../models/task-details-cloud.model';
|
|
20
|
-
import { TaskCloudService } from '../../services/task-cloud.service';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
21
|
export declare class TaskHeaderCloudComponent implements OnInit, OnChanges {
|
|
23
|
-
private taskCloudService;
|
|
24
|
-
private translationService;
|
|
25
|
-
private appConfig;
|
|
26
|
-
private cardViewUpdateService;
|
|
22
|
+
private readonly taskCloudService;
|
|
23
|
+
private readonly translationService;
|
|
24
|
+
private readonly appConfig;
|
|
25
|
+
private readonly cardViewUpdateService;
|
|
27
26
|
/** (Required) The name of the application. */
|
|
28
27
|
appName: string;
|
|
29
28
|
/** (Required) The id of the task. */
|
|
@@ -48,7 +47,7 @@ export declare class TaskHeaderCloudComponent implements OnInit, OnChanges {
|
|
|
48
47
|
isLoading: boolean;
|
|
49
48
|
processInstanceId: string;
|
|
50
49
|
private readonly destroyRef;
|
|
51
|
-
constructor(
|
|
50
|
+
constructor();
|
|
52
51
|
ngOnInit(): void;
|
|
53
52
|
ngOnChanges(): void;
|
|
54
53
|
loadTaskDetailsById(appName: string, taskId: string): void;
|
|
@@ -22,15 +22,13 @@ import { TaskListCloudSortingModel } from '../../../models/task-list-sorting.mod
|
|
|
22
22
|
import { TaskCloudService } from '../../services/task-cloud.service';
|
|
23
23
|
import { PreferenceCloudServiceInterface } from '../../../services/preference-cloud.interface';
|
|
24
24
|
import * as i0 from "@angular/core";
|
|
25
|
-
export declare
|
|
26
|
-
columnOrder
|
|
27
|
-
columnsVisibility
|
|
28
|
-
columnsWidths
|
|
29
|
-
}
|
|
25
|
+
export declare const TasksListCloudPreferences: {
|
|
26
|
+
readonly columnOrder: "tasks-list-cloud-columns-order";
|
|
27
|
+
readonly columnsVisibility: "tasks-list-cloud-columns-visibility";
|
|
28
|
+
readonly columnsWidths: "tasks-list-cloud-columns-widths";
|
|
29
|
+
};
|
|
30
|
+
export type TasksListCloudPreferences = (typeof TasksListCloudPreferences)[keyof typeof TasksListCloudPreferences];
|
|
30
31
|
export declare abstract class BaseTaskListCloudComponent<T = unknown> extends DataTableSchema<T> implements OnChanges, AfterContentInit, PaginatedComponent, OnInit {
|
|
31
|
-
private taskCloudService;
|
|
32
|
-
private userPreferences;
|
|
33
|
-
private cloudPreferenceService;
|
|
34
32
|
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
35
33
|
/** The name of the application. */
|
|
36
34
|
appName: string;
|
|
@@ -91,7 +89,11 @@ export declare abstract class BaseTaskListCloudComponent<T = unknown> extends Da
|
|
|
91
89
|
protected abstract isLoading$: Observable<boolean>;
|
|
92
90
|
protected isLoadingPreferences$: BehaviorSubject<boolean>;
|
|
93
91
|
protected readonly destroyRef: DestroyRef;
|
|
94
|
-
|
|
92
|
+
protected readonly appConfigService: AppConfigService;
|
|
93
|
+
protected readonly taskCloudService: TaskCloudService;
|
|
94
|
+
protected readonly userPreferences: UserPreferencesService;
|
|
95
|
+
private readonly cloudPreferenceService;
|
|
96
|
+
constructor(presetKey: string, cloudPreferenceService: PreferenceCloudServiceInterface);
|
|
95
97
|
ngOnInit(): void;
|
|
96
98
|
ngOnChanges(changes: SimpleChanges): void;
|
|
97
99
|
private retrieveTasksPreferences;
|
package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { AppConfigService, UserPreferencesService } from '@alfresco/adf-core';
|
|
2
1
|
import { ServiceTaskQueryCloudRequestModel } from '../../models/service-task-cloud.model';
|
|
3
2
|
import { BaseTaskListCloudComponent } from '../base-task-list-cloud.component';
|
|
4
|
-
import { ServiceTaskListCloudService } from '../../services/service-task-list-cloud.service';
|
|
5
|
-
import { TaskCloudService } from '../../../services/task-cloud.service';
|
|
6
|
-
import { PreferenceCloudServiceInterface } from '../../../../services/public-api';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class ServiceTaskListCloudComponent extends BaseTaskListCloudComponent {
|
|
9
|
-
private serviceTaskListCloudService;
|
|
5
|
+
private readonly serviceTaskListCloudService;
|
|
10
6
|
queryParams: {
|
|
11
7
|
[key: string]: any;
|
|
12
8
|
};
|
|
13
|
-
private isReloadingSubject$;
|
|
9
|
+
private readonly isReloadingSubject$;
|
|
14
10
|
isLoading$: import("rxjs").Observable<boolean>;
|
|
15
|
-
constructor(
|
|
11
|
+
constructor();
|
|
16
12
|
reload(): void;
|
|
17
13
|
createRequestNode(): ServiceTaskQueryCloudRequestModel;
|
|
18
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceTaskListCloudComponent, never>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { AppConfigService, UserPreferencesService } from '@alfresco/adf-core';
|
|
2
1
|
import { BaseTaskListCloudComponent } from '../base-task-list-cloud.component';
|
|
3
|
-
import { TaskCloudService } from '../../../services/task-cloud.service';
|
|
4
|
-
import { PreferenceCloudServiceInterface } from '../../../../services/preference-cloud.interface';
|
|
5
2
|
import { TaskListCloudServiceInterface } from '../../../../services/task-list-cloud.service.interface';
|
|
6
|
-
import { VariableMapperService } from '../../../../services/variable-mapper.sevice';
|
|
7
3
|
import { ProcessListDataColumnCustomData } from '../../../../models/data-column-custom-data';
|
|
8
4
|
import { TaskInstanceCloudListViewModel } from '../../models/task-cloud-view.model';
|
|
9
5
|
import { TasksListDatatableAdapter } from './datatable/task-list-datatable-adapter';
|
|
@@ -11,7 +7,7 @@ import { ProcessVariableFilterModel } from '../../../../models/process-variable-
|
|
|
11
7
|
import * as i0 from "@angular/core";
|
|
12
8
|
export declare class TaskListCloudComponent extends BaseTaskListCloudComponent<ProcessListDataColumnCustomData> {
|
|
13
9
|
taskListCloudService: TaskListCloudServiceInterface;
|
|
14
|
-
private viewModelCreator;
|
|
10
|
+
private readonly viewModelCreator;
|
|
15
11
|
/**
|
|
16
12
|
* The assignee of the process. Possible values are: "assignee" (the current user is the assignee),
|
|
17
13
|
* "candidate" (the current user is a task candidate", "group_x" (the task is assigned to a group
|
|
@@ -125,10 +121,10 @@ export declare class TaskListCloudComponent extends BaseTaskListCloudComponent<P
|
|
|
125
121
|
processVariableFilters: ProcessVariableFilterModel[];
|
|
126
122
|
rows: TaskInstanceCloudListViewModel[];
|
|
127
123
|
dataAdapter: TasksListDatatableAdapter | undefined;
|
|
128
|
-
private isReloadingSubject$;
|
|
124
|
+
private readonly isReloadingSubject$;
|
|
129
125
|
isLoading$: import("rxjs").Observable<boolean>;
|
|
130
|
-
private fetchProcessesTrigger$;
|
|
131
|
-
constructor(
|
|
126
|
+
private readonly fetchProcessesTrigger$;
|
|
127
|
+
constructor();
|
|
132
128
|
reload(): void;
|
|
133
129
|
private createTaskListRequestNode;
|
|
134
130
|
private createRequestNode;
|
|
@@ -38,9 +38,89 @@ export interface ServiceTaskQueryCloudRequestModel {
|
|
|
38
38
|
serviceVersion?: string;
|
|
39
39
|
startedDate?: Date;
|
|
40
40
|
}
|
|
41
|
-
export interface ServiceTaskIntegrationContextCloudModel
|
|
42
|
-
|
|
41
|
+
export interface ServiceTaskIntegrationContextCloudModel {
|
|
42
|
+
id?: string;
|
|
43
|
+
status?: string;
|
|
44
|
+
appName?: string;
|
|
45
|
+
appVersion?: string;
|
|
46
|
+
serviceName?: string;
|
|
47
|
+
serviceFullName?: string;
|
|
48
|
+
serviceVersion?: string;
|
|
49
|
+
serviceType?: string;
|
|
50
|
+
processDefinitionId?: string;
|
|
51
|
+
processDefinitionKey?: string;
|
|
52
|
+
processDefinitionVersion?: number;
|
|
53
|
+
processInstanceId?: string;
|
|
54
|
+
parentProcessInstanceId?: string;
|
|
55
|
+
rootProcessInstanceId?: string;
|
|
56
|
+
executionId?: string;
|
|
57
|
+
connectorType?: string;
|
|
58
|
+
clientId?: string;
|
|
59
|
+
clientName?: string;
|
|
60
|
+
clientType?: string;
|
|
61
|
+
businessKey?: string;
|
|
62
|
+
inBoundVariables?: Record<string, any>;
|
|
63
|
+
outBoundVariables?: Record<string, any>;
|
|
64
|
+
requestDate?: string;
|
|
65
|
+
resultDate?: string;
|
|
66
|
+
errorDate?: string;
|
|
67
|
+
errorCode?: string;
|
|
68
|
+
errorClassName?: string;
|
|
69
|
+
errorMessage?: string;
|
|
70
|
+
stackTraceElements?: ServiceTaskStackTraceElement[];
|
|
71
|
+
}
|
|
72
|
+
export interface ServiceTaskStackTraceElement {
|
|
73
|
+
classLoaderName?: string;
|
|
74
|
+
moduleName?: string;
|
|
75
|
+
moduleVersion?: string;
|
|
76
|
+
methodName?: string;
|
|
77
|
+
fileName?: string;
|
|
78
|
+
lineNumber?: number;
|
|
79
|
+
className?: string;
|
|
80
|
+
nativeMethod?: boolean;
|
|
81
|
+
}
|
|
82
|
+
export interface StackTraceElement {
|
|
83
|
+
className: string;
|
|
84
|
+
fileName: string;
|
|
85
|
+
lineNumber: number;
|
|
86
|
+
}
|
|
87
|
+
export interface IntegrationContextsPaginationModel {
|
|
88
|
+
skipCount: number;
|
|
89
|
+
maxItems: number;
|
|
90
|
+
count: number;
|
|
91
|
+
hasMoreItems: boolean;
|
|
92
|
+
totalItems: number;
|
|
93
|
+
}
|
|
94
|
+
export interface IntegrationContext {
|
|
95
|
+
id: string;
|
|
96
|
+
serviceName: string;
|
|
97
|
+
serviceFullName: string;
|
|
98
|
+
serviceVersion: string;
|
|
99
|
+
appName: string;
|
|
100
|
+
inBoundVariables: Record<string, any>;
|
|
101
|
+
outBoundVariables: Record<string, any>;
|
|
102
|
+
rootProcessInstanceId: string;
|
|
103
|
+
processInstanceId: string;
|
|
104
|
+
executionId: string;
|
|
105
|
+
processDefinitionId: string;
|
|
106
|
+
processDefinitionKey: string;
|
|
107
|
+
processDefinitionVersion: number;
|
|
108
|
+
clientId: string;
|
|
109
|
+
clientName: string;
|
|
110
|
+
clientType: string;
|
|
111
|
+
connectorType: string;
|
|
112
|
+
requestDate: string;
|
|
113
|
+
resultDate?: string;
|
|
114
|
+
stackTraceElements: StackTraceElement[];
|
|
115
|
+
status: string;
|
|
116
|
+
errorDate?: string;
|
|
43
117
|
errorClassName?: string;
|
|
44
118
|
errorCode?: string;
|
|
45
119
|
errorMessage?: string;
|
|
46
120
|
}
|
|
121
|
+
export interface IntegrationContextsRequestModel {
|
|
122
|
+
appName: string;
|
|
123
|
+
maxItems: number;
|
|
124
|
+
skipCount: number;
|
|
125
|
+
sorting?: TaskListCloudSortingModel[];
|
|
126
|
+
}
|