@alfresco/adf-process-services 8.6.0-27406412358 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/adf-process-services.mjs +704 -771
- package/fesm2022/adf-process-services.mjs.map +1 -1
- package/index.d.ts +4486 -3
- package/lib/form/widgets/dropdown/dropdown.widget.scss +6 -0
- package/lib/form/widgets/functional-group/functional-group.widget.scss +6 -0
- package/lib/form/widgets/people/people.widget.scss +6 -0
- package/lib/form/widgets/typeahead/typeahead.widget.scss +6 -0
- package/lib/styles/_mixins.scss +7 -0
- package/lib/task-list/components/start-task/start-task.component.scss +5 -5
- package/package.json +14 -14
- package/lib/app-list/apps-list.component.d.ts +0 -91
- package/lib/app-list/icon.model.d.ts +0 -27
- package/lib/app-list/index.d.ts +0 -17
- package/lib/app-list/public-api.d.ts +0 -22
- package/lib/app-list/select-apps-dialog/select-apps-dialog.component.d.ts +0 -13
- package/lib/attachment/create-process-attachment/create-process-attachment.component.d.ts +0 -38
- package/lib/attachment/create-task-attachment/create-task-attachment.component.d.ts +0 -38
- package/lib/attachment/index.d.ts +0 -17
- package/lib/attachment/process-attachment-list/process-attachment-list.component.d.ts +0 -64
- package/lib/attachment/public-api.d.ts +0 -25
- package/lib/attachment/task-attachment-list/task-attachment-list.component.d.ts +0 -60
- package/lib/compat/types.d.ts +0 -31
- package/lib/form/events/validate-dynamic-table-row.event.d.ts +0 -25
- package/lib/form/form-custom-outcomes.component.d.ts +0 -5
- package/lib/form/form-list/form-list.component.d.ts +0 -29
- package/lib/form/form.component.d.ts +0 -109
- package/lib/form/index.d.ts +0 -17
- package/lib/form/model/form-definition.model.d.ts +0 -25
- package/lib/form/process-form-rendering.service.d.ts +0 -7
- package/lib/form/public-api.d.ts +0 -27
- package/lib/form/services/activiti-alfresco.service.d.ts +0 -41
- package/lib/form/services/ecm-model.service.d.ts +0 -30
- package/lib/form/services/editor.service.d.ts +0 -41
- package/lib/form/services/external-alfresco-api.service.d.ts +0 -9
- package/lib/form/services/index.d.ts +0 -25
- package/lib/form/services/model.service.d.ts +0 -59
- package/lib/form/services/process-content.service.d.ts +0 -132
- package/lib/form/services/process-definition.service.d.ts +0 -44
- package/lib/form/services/task-form.service.d.ts +0 -69
- package/lib/form/services/task.service.d.ts +0 -32
- package/lib/form/start-form/start-form.component.d.ts +0 -50
- package/lib/form/widgets/content-widget/attach-file-widget-dialog-component.interface.d.ts +0 -31
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.component.d.ts +0 -48
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.service.d.ts +0 -47
- package/lib/form/widgets/content-widget/attach-file-widget.component.d.ts +0 -64
- package/lib/form/widgets/content-widget/attach-folder-widget.component.d.ts +0 -33
- package/lib/form/widgets/content-widget/index.d.ts +0 -17
- package/lib/form/widgets/content-widget/public-api.d.ts +0 -21
- package/lib/form/widgets/document/content.widget.d.ts +0 -50
- package/lib/form/widgets/document/document.widget.d.ts +0 -26
- package/lib/form/widgets/dropdown/dropdown.widget.d.ts +0 -48
- package/lib/form/widgets/dynamic-table/dynamic-table.widget.d.ts +0 -51
- package/lib/form/widgets/dynamic-table/editors/amount/amount.editor.d.ts +0 -31
- package/lib/form/widgets/dynamic-table/editors/boolean/boolean.editor.d.ts +0 -12
- package/lib/form/widgets/dynamic-table/editors/date/date.editor.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/datetime/datetime.editor.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/dropdown/dropdown.editor.d.ts +0 -39
- package/lib/form/widgets/dynamic-table/editors/models/cell-validator.model.d.ts +0 -23
- package/lib/form/widgets/dynamic-table/editors/models/date-cell-validator-model.d.ts +0 -26
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-row-validation-summary.model.d.ts +0 -21
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column-option.model.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column.model.d.ts +0 -37
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-row.model.d.ts +0 -21
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table.widget.model.d.ts +0 -40
- package/lib/form/widgets/dynamic-table/editors/models/number-cell-validator.model.d.ts +0 -26
- package/lib/form/widgets/dynamic-table/editors/models/required-cell-validator.model.d.ts +0 -25
- package/lib/form/widgets/dynamic-table/editors/row-editor/row.editor.d.ts +0 -42
- package/lib/form/widgets/dynamic-table/editors/text/text.editor.d.ts +0 -31
- package/lib/form/widgets/dynamic-table/index.d.ts +0 -17
- package/lib/form/widgets/dynamic-table/public-api.d.ts +0 -34
- package/lib/form/widgets/file-viewer/file-viewer.widget.d.ts +0 -22
- package/lib/form/widgets/functional-group/functional-group.widget.d.ts +0 -40
- package/lib/form/widgets/index.d.ts +0 -17
- package/lib/form/widgets/people/people.widget.d.ts +0 -44
- package/lib/form/widgets/public-api.d.ts +0 -31
- package/lib/form/widgets/radio-buttons/radio-buttons.widget.d.ts +0 -33
- package/lib/form/widgets/typeahead/typeahead.widget.d.ts +0 -39
- package/lib/form/widgets/upload/upload.widget.d.ts +0 -39
- package/lib/people/components/people/people.component.d.ts +0 -50
- package/lib/people/components/people-list/people-list.component.d.ts +0 -42
- package/lib/people/components/people-search/people-search.component.d.ts +0 -44
- package/lib/people/components/people-search-field/people-search-field.component.d.ts +0 -25
- package/lib/people/components/people-selector/people-selector.component.d.ts +0 -40
- package/lib/people/helpers/get-display-user.d.ts +0 -17
- package/lib/people/index.d.ts +0 -17
- package/lib/people/interfaces/perform-search-callback.interface.d.ts +0 -19
- package/lib/people/public-api.d.ts +0 -28
- package/lib/process-comments/index.d.ts +0 -20
- package/lib/process-comments/process-comments.component.d.ts +0 -9
- package/lib/process-comments/services/comment-process.service.d.ts +0 -27
- package/lib/process-list/components/process-filters/process-filters.component.d.ts +0 -109
- package/lib/process-list/components/process-instance-details/process-instance-details.component.d.ts +0 -40
- package/lib/process-list/components/process-instance-header/process-instance-header.component.d.ts +0 -39
- package/lib/process-list/components/process-instance-tasks/process-instance-tasks.component.d.ts +0 -48
- package/lib/process-list/components/process-list/process-list.component.d.ts +0 -141
- package/lib/process-list/components/start-process/start-process.component.d.ts +0 -117
- package/lib/process-list/index.d.ts +0 -17
- package/lib/process-list/public-api.d.ts +0 -31
- package/lib/process-list/services/process-filter.service.d.ts +0 -73
- package/lib/process-list/services/process.service.d.ts +0 -148
- package/lib/process.module.d.ts +0 -89
- package/lib/services/apps-process.service.d.ts +0 -22
- package/lib/services/people-process.service.d.ts +0 -65
- package/lib/services/task-comments.service.d.ts +0 -45
- package/lib/task-comments/index.d.ts +0 -20
- package/lib/task-comments/task-comments.component.d.ts +0 -9
- package/lib/task-list/components/attach-form/attach-form.component.d.ts +0 -50
- package/lib/task-list/components/checklist/checklist.component.d.ts +0 -51
- package/lib/task-list/components/start-task/start-task.component.d.ts +0 -64
- package/lib/task-list/components/task-details/task-details.component.d.ts +0 -131
- package/lib/task-list/components/task-filters/task-filters.component.d.ts +0 -108
- package/lib/task-list/components/task-form/claim-task.directive.d.ts +0 -35
- package/lib/task-list/components/task-form/task-form.component.d.ts +0 -119
- package/lib/task-list/components/task-form/unclaim-task.directive.d.ts +0 -35
- package/lib/task-list/components/task-header/task-header.component.d.ts +0 -148
- package/lib/task-list/components/task-list/task-list.component.d.ts +0 -167
- package/lib/task-list/components/task-standalone/task-standalone.component.d.ts +0 -44
- package/lib/task-list/index.d.ts +0 -17
- package/lib/task-list/models/form.model.d.ts +0 -24
- package/lib/task-list/models/task-details.event.d.ts +0 -25
- package/lib/task-list/models/task-preset.model.d.ts +0 -31
- package/lib/task-list/models/user-event.model.d.ts +0 -23
- package/lib/task-list/models/user-group.model.d.ts +0 -26
- package/lib/task-list/public-api.d.ts +0 -47
- package/lib/task-list/services/process-upload.service.d.ts +0 -25
- package/lib/task-list/services/task-filter.service.d.ts +0 -102
- package/lib/task-list/services/task-upload.service.d.ts +0 -25
- package/lib/task-list/services/tasklist.service.d.ts +0 -159
- package/lib/task-list/validators/task-description.validator.d.ts +0 -21
- package/public-api.d.ts +0 -29
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UserTaskFilterRepresentation } from '@alfresco/js-api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TaskFiltersComponent implements OnInit, OnChanges {
|
|
5
|
-
private readonly taskFilterService;
|
|
6
|
-
private readonly taskListService;
|
|
7
|
-
private readonly appsProcessService;
|
|
8
|
-
private readonly router;
|
|
9
|
-
private readonly activatedRoute;
|
|
10
|
-
/**
|
|
11
|
-
* Parameters to use for the task filter. If there is no match then
|
|
12
|
-
* the default filter (the first one the list) is selected.
|
|
13
|
-
*/
|
|
14
|
-
filterParam: UserTaskFilterRepresentation;
|
|
15
|
-
/** Emitted when a filter is being clicked from the UI. */
|
|
16
|
-
filterClicked: EventEmitter<UserTaskFilterRepresentation>;
|
|
17
|
-
/** Emitted when a filter is being selected based on the filterParam input. */
|
|
18
|
-
filterSelected: EventEmitter<UserTaskFilterRepresentation>;
|
|
19
|
-
/** Emitted when the list is loaded. */
|
|
20
|
-
success: EventEmitter<any>;
|
|
21
|
-
/** Emitted when an error occurs during loading. */
|
|
22
|
-
error: EventEmitter<any>;
|
|
23
|
-
/** Display filters available to the current user for the application with the specified ID. */
|
|
24
|
-
appId: number;
|
|
25
|
-
/** Display filters available to the current user for the application with the specified name. */
|
|
26
|
-
appName: string;
|
|
27
|
-
/** Toggles display of the filter's icon. */
|
|
28
|
-
showIcon: boolean;
|
|
29
|
-
currentFilter: UserTaskFilterRepresentation;
|
|
30
|
-
filters: UserTaskFilterRepresentation[];
|
|
31
|
-
isTaskRoute: boolean;
|
|
32
|
-
isTaskActive: boolean;
|
|
33
|
-
private iconsMDL;
|
|
34
|
-
private readonly destroyRef;
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
-
isActiveRoute(filterActive: UserTaskFilterRepresentation): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Return the filter list filtered by appId
|
|
40
|
-
*
|
|
41
|
-
* @param appId - optional
|
|
42
|
-
*/
|
|
43
|
-
getFiltersByAppId(appId?: number): void;
|
|
44
|
-
/**
|
|
45
|
-
* Return the filter list filtered by appName
|
|
46
|
-
*
|
|
47
|
-
* @param appName application name
|
|
48
|
-
*/
|
|
49
|
-
getFiltersByAppName(appName: string): void;
|
|
50
|
-
/**
|
|
51
|
-
* Create default filters by appId
|
|
52
|
-
*
|
|
53
|
-
* @param appId application id
|
|
54
|
-
*/
|
|
55
|
-
private createFiltersByAppId;
|
|
56
|
-
/**
|
|
57
|
-
* Pass the selected filter as next
|
|
58
|
-
*
|
|
59
|
-
* @param newFilter new filter model
|
|
60
|
-
*/
|
|
61
|
-
selectFilter(newFilter: UserTaskFilterRepresentation): void;
|
|
62
|
-
private selectFilterAndEmit;
|
|
63
|
-
/**
|
|
64
|
-
* Selects and emits the clicked filter.
|
|
65
|
-
*
|
|
66
|
-
* @param filterParams filter parameters model
|
|
67
|
-
*/
|
|
68
|
-
onFilterClick(filterParams: UserTaskFilterRepresentation): void;
|
|
69
|
-
/**
|
|
70
|
-
* Select filter with task
|
|
71
|
-
*
|
|
72
|
-
* @param taskId task id
|
|
73
|
-
*/
|
|
74
|
-
selectFilterWithTask(taskId: string): void;
|
|
75
|
-
/**
|
|
76
|
-
* Get the current filter
|
|
77
|
-
*
|
|
78
|
-
* @returns filter model
|
|
79
|
-
*/
|
|
80
|
-
getCurrentFilter(): UserTaskFilterRepresentation;
|
|
81
|
-
/**
|
|
82
|
-
* Check if the filter list is empty
|
|
83
|
-
*
|
|
84
|
-
* @returns `true` if filter list is empty, otherwise `false`
|
|
85
|
-
*/
|
|
86
|
-
isFilterListEmpty(): boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Get the material icons equivalent of the glyphicon icon
|
|
89
|
-
*
|
|
90
|
-
* @param icon glyphicon name
|
|
91
|
-
* @returns material icons equivalent of the icon
|
|
92
|
-
*/
|
|
93
|
-
getFilterIcon(icon: string): string;
|
|
94
|
-
/**
|
|
95
|
-
* Reset the filters properties
|
|
96
|
-
*/
|
|
97
|
-
private resetFilter;
|
|
98
|
-
/**
|
|
99
|
-
* Migrate "Involved" and "Queued" filters to "Overdue" and "Unassigned" filters
|
|
100
|
-
*
|
|
101
|
-
* @param filters - list of filters to migrate
|
|
102
|
-
* @returns list of observables for each migrated filter
|
|
103
|
-
*/
|
|
104
|
-
private migrateObsoleteFilters;
|
|
105
|
-
private setTaskFilters;
|
|
106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFiltersComponent, never>;
|
|
107
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFiltersComponent, "adf-task-filters", never, { "filterParam": { "alias": "filterParam"; "required": false; }; "appId": { "alias": "appId"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; }, { "filterClicked": "filterClicked"; "filterSelected": "filterSelected"; "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
108
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class ClaimTaskDirective implements OnInit {
|
|
20
|
-
private readonly taskListService;
|
|
21
|
-
/** (Required) The id of the task. */
|
|
22
|
-
taskId: string;
|
|
23
|
-
/** Emitted when the task is claimed. */
|
|
24
|
-
success: EventEmitter<any>;
|
|
25
|
-
/** Emitted when the task cannot be claimed. */
|
|
26
|
-
error: EventEmitter<any>;
|
|
27
|
-
invalidParams: string[];
|
|
28
|
-
onClick(): void;
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
validateInputs(): void;
|
|
31
|
-
isTaskValid(): boolean;
|
|
32
|
-
private claimTask;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClaimTaskDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClaimTaskDirective, "[adf-claim-task]", never, { "taskId": { "alias": "taskId"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import { ContentLinkModel, FormFieldModel, FormFieldValidator, FormModel, FormOutcomeEvent } from '@alfresco/adf-core';
|
|
19
|
-
import { TaskRepresentation, UserRepresentation } from '@alfresco/js-api';
|
|
20
|
-
import { Observable } from 'rxjs';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class TaskFormComponent implements OnInit, OnChanges {
|
|
23
|
-
/** (**required**) The id of the task whose details we are asking for. */
|
|
24
|
-
taskId: string;
|
|
25
|
-
/** Toggles rendering of the form title. */
|
|
26
|
-
showFormTitle: boolean;
|
|
27
|
-
/** Toggles rendering of the `Complete` outcome button. */
|
|
28
|
-
showFormCompleteButton: boolean;
|
|
29
|
-
/** Toggles rendering of the `Save` outcome button. */
|
|
30
|
-
showFormSaveButton: boolean;
|
|
31
|
-
/** Toggle rendering of the `Cancel` button. */
|
|
32
|
-
showCancelButton: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Toggles read-only state of the form. All form widgets render as read-only if enabled.
|
|
35
|
-
*/
|
|
36
|
-
readOnlyForm: boolean;
|
|
37
|
-
/** Toggles rendering of the `Refresh` button. */
|
|
38
|
-
showFormRefreshButton: boolean;
|
|
39
|
-
/** Toggle rendering of the validation icon next to the form title. */
|
|
40
|
-
showFormValidationIcon: boolean;
|
|
41
|
-
/** Field validators for use with the form. */
|
|
42
|
-
fieldValidators: FormFieldValidator[];
|
|
43
|
-
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
44
|
-
formSaved: EventEmitter<FormModel>;
|
|
45
|
-
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
46
|
-
formCompleted: EventEmitter<FormModel>;
|
|
47
|
-
/** Emitted when the form field content is clicked. */
|
|
48
|
-
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
49
|
-
/** Emitted when the form is loaded or reloaded. */
|
|
50
|
-
formLoaded: EventEmitter<FormModel>;
|
|
51
|
-
/** Emitted when the form associated with the form task is attached. */
|
|
52
|
-
showAttachForm: EventEmitter<void>;
|
|
53
|
-
/**
|
|
54
|
-
* Emitted when any outcome is executed. Default behaviour can be prevented
|
|
55
|
-
* via `event.preventDefault()`.
|
|
56
|
-
*/
|
|
57
|
-
executeOutcome: EventEmitter<FormOutcomeEvent>;
|
|
58
|
-
/** Emitted when the form associated with the task is completed. */
|
|
59
|
-
completed: EventEmitter<void>;
|
|
60
|
-
/** Emitted when the supplied form values have a validation error. */
|
|
61
|
-
formError: EventEmitter<FormFieldModel[]>;
|
|
62
|
-
/** Emitted when an error occurs. */
|
|
63
|
-
error: EventEmitter<any>;
|
|
64
|
-
/** Emitted when the "Cancel" button is clicked. */
|
|
65
|
-
cancel: EventEmitter<void>;
|
|
66
|
-
/** Emitted when the task is claimed. */
|
|
67
|
-
taskClaimed: EventEmitter<string>;
|
|
68
|
-
/** Emitted when the task is unclaimed (ie, requeued).. */
|
|
69
|
-
taskUnclaimed: EventEmitter<string>;
|
|
70
|
-
taskDetails: TaskRepresentation;
|
|
71
|
-
currentLoggedUser: UserRepresentation;
|
|
72
|
-
loading: boolean;
|
|
73
|
-
internalReadOnlyForm: boolean;
|
|
74
|
-
private readonly taskListService;
|
|
75
|
-
private readonly peopleProcessService;
|
|
76
|
-
private readonly translationService;
|
|
77
|
-
ngOnInit(): void;
|
|
78
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
-
loadTask(taskId: string): void;
|
|
80
|
-
onFormSaved(savedForm: FormModel): void;
|
|
81
|
-
onFormCompleted(form: FormModel): void;
|
|
82
|
-
onFormLoaded(form: FormModel): void;
|
|
83
|
-
onFormContentClick(content: ContentLinkModel): void;
|
|
84
|
-
onFormExecuteOutcome(outcome: FormOutcomeEvent): void;
|
|
85
|
-
onFormError(error: any): void;
|
|
86
|
-
onError(error: any): void;
|
|
87
|
-
onCompleteTask(): void;
|
|
88
|
-
onCancel(): void;
|
|
89
|
-
onShowAttachForm(): void;
|
|
90
|
-
hasFormKey(): boolean;
|
|
91
|
-
isStandaloneTask(): boolean;
|
|
92
|
-
isCompletedTask(): boolean;
|
|
93
|
-
isCompleteButtonVisible(): boolean;
|
|
94
|
-
isTaskActive(): boolean;
|
|
95
|
-
isAssigned(): boolean;
|
|
96
|
-
isAssignedToMe(): boolean;
|
|
97
|
-
isCompleteButtonEnabled(): boolean;
|
|
98
|
-
canInitiatorComplete(): boolean;
|
|
99
|
-
isReadOnlyForm(): boolean;
|
|
100
|
-
isCurrentUserInvolved(): boolean;
|
|
101
|
-
canCurrentUserAsInitiatorComplete(): boolean;
|
|
102
|
-
isProcessInitiator(): boolean;
|
|
103
|
-
isSaveButtonVisible(): boolean;
|
|
104
|
-
canCompleteNoFormTask(): boolean;
|
|
105
|
-
getCompletedTaskTranslatedMessage(): Observable<string>;
|
|
106
|
-
isCandidateMember(): boolean;
|
|
107
|
-
isTaskClaimable(): boolean;
|
|
108
|
-
isTaskClaimedByCandidateMember(): boolean;
|
|
109
|
-
reloadTask(): void;
|
|
110
|
-
onClaimTask(taskId: string): void;
|
|
111
|
-
onClaimTaskError(error: any): void;
|
|
112
|
-
onUnclaimTask(taskId: string): void;
|
|
113
|
-
onUnclaimTaskError(error: any): void;
|
|
114
|
-
private hasEmailAddress;
|
|
115
|
-
private isEmailEqual;
|
|
116
|
-
private isExternalIdEqual;
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormComponent, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormComponent, "adf-task-form", never, { "taskId": { "alias": "taskId"; "required": true; }; "showFormTitle": { "alias": "showFormTitle"; "required": false; }; "showFormCompleteButton": { "alias": "showFormCompleteButton"; "required": false; }; "showFormSaveButton": { "alias": "showFormSaveButton"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "readOnlyForm": { "alias": "readOnlyForm"; "required": false; }; "showFormRefreshButton": { "alias": "showFormRefreshButton"; "required": false; }; "showFormValidationIcon": { "alias": "showFormValidationIcon"; "required": false; }; "fieldValidators": { "alias": "fieldValidators"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "showAttachForm": "showAttachForm"; "executeOutcome": "executeOutcome"; "completed": "completed"; "formError": "formError"; "error": "error"; "cancel": "cancel"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; }, never, never, true, never>;
|
|
119
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class UnclaimTaskDirective implements OnInit {
|
|
20
|
-
private readonly taskListService;
|
|
21
|
-
/** (Required) The id of the task. */
|
|
22
|
-
taskId: string;
|
|
23
|
-
/** Emitted when the task is released. */
|
|
24
|
-
success: EventEmitter<any>;
|
|
25
|
-
/** Emitted when the task cannot be released. */
|
|
26
|
-
error: EventEmitter<any>;
|
|
27
|
-
invalidParams: string[];
|
|
28
|
-
onClick(): void;
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
validateInputs(): void;
|
|
31
|
-
isTaskValid(): boolean;
|
|
32
|
-
private unclaimTask;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnclaimTaskDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UnclaimTaskDirective, "[adf-unclaim-task]", never, { "taskId": { "alias": "taskId"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import { CardViewSelectItemOption } from '@alfresco/adf-core';
|
|
19
|
-
import { TaskRepresentation } from '@alfresco/js-api';
|
|
20
|
-
import { Observable, Subject } from 'rxjs';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class TaskHeaderComponent implements OnChanges, OnInit {
|
|
23
|
-
private readonly peopleProcessService;
|
|
24
|
-
private readonly translationService;
|
|
25
|
-
private readonly appConfig;
|
|
26
|
-
private readonly cardViewUpdateService;
|
|
27
|
-
/** The name of the form. */
|
|
28
|
-
formName: string;
|
|
29
|
-
/** (required) Details related to the task. */
|
|
30
|
-
taskDetails: TaskRepresentation;
|
|
31
|
-
/** Toggles display of the claim/release button. */
|
|
32
|
-
showClaimRelease: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* (optional) This flag sets read-only mode, preventing changes.
|
|
35
|
-
*/
|
|
36
|
-
readOnly: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Refreshes the card data when an event emitted.
|
|
39
|
-
*/
|
|
40
|
-
resetChanges: Subject<void>;
|
|
41
|
-
/** Emitted when the task is claimed. */
|
|
42
|
-
claim: EventEmitter<any>;
|
|
43
|
-
/** Emitted when the task is unclaimed (ie, requeue). */
|
|
44
|
-
unclaim: EventEmitter<any>;
|
|
45
|
-
properties: any[];
|
|
46
|
-
displayDateClearAction: boolean;
|
|
47
|
-
dateFormat: string;
|
|
48
|
-
dateLocale: string;
|
|
49
|
-
private currentUserId;
|
|
50
|
-
private readonly usersSubject$;
|
|
51
|
-
users$: Observable<CardViewSelectItemOption<number>[]>;
|
|
52
|
-
private readonly destroyRef;
|
|
53
|
-
constructor();
|
|
54
|
-
ngOnInit(): void;
|
|
55
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
56
|
-
/**
|
|
57
|
-
* Refresh the card data
|
|
58
|
-
*/
|
|
59
|
-
initData(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Refresh the card data
|
|
62
|
-
*/
|
|
63
|
-
refreshData(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Get the process parent information
|
|
66
|
-
*
|
|
67
|
-
* @returns a map of process instance and definition
|
|
68
|
-
*/
|
|
69
|
-
private getParentInfo;
|
|
70
|
-
/**
|
|
71
|
-
* Check if the task has an assignee
|
|
72
|
-
*
|
|
73
|
-
* @returns `true` if the task has an assignee, otherwise `false`
|
|
74
|
-
*/
|
|
75
|
-
hasAssignee(): boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Check if the task is assigned to a user
|
|
78
|
-
*
|
|
79
|
-
* @param userId the id of the user to check
|
|
80
|
-
* @returns `true` if the task assigned to a user, otherwise `false`
|
|
81
|
-
*/
|
|
82
|
-
isAssignedTo(userId: number): boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Check if the task is assigned to the current user
|
|
85
|
-
*
|
|
86
|
-
* @returns `true` if the task assigned to current user, otherwise `false`
|
|
87
|
-
*/
|
|
88
|
-
isAssignedToCurrentUser(): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Check if the user is a candidate member
|
|
91
|
-
*
|
|
92
|
-
* @returns `true` if user is a candidate member, otherwise false
|
|
93
|
-
*/
|
|
94
|
-
isCandidateMember(): boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Check if the task is claimable
|
|
97
|
-
*
|
|
98
|
-
* @returns `true` if task can be claimed, otherwise `false`
|
|
99
|
-
*/
|
|
100
|
-
isTaskClaimable(): boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Return true if the task claimed by candidate member.
|
|
103
|
-
*
|
|
104
|
-
* @returns `true` if the task is claimed, otherwise `false`
|
|
105
|
-
*/
|
|
106
|
-
isTaskClaimedByCandidateMember(): boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Get the status of the task
|
|
109
|
-
*
|
|
110
|
-
* @returns `Completed` or `Running`
|
|
111
|
-
*/
|
|
112
|
-
getTaskStatus(): 'Completed' | 'Running';
|
|
113
|
-
/**
|
|
114
|
-
* Emit the claim event
|
|
115
|
-
*
|
|
116
|
-
* @param taskId the id of the task to claim
|
|
117
|
-
*/
|
|
118
|
-
onClaimTask(taskId: string): void;
|
|
119
|
-
/**
|
|
120
|
-
* Emit the unclaim event
|
|
121
|
-
*
|
|
122
|
-
* @param taskId the id of the task to unclaim
|
|
123
|
-
*/
|
|
124
|
-
onUnclaimTask(taskId: string): void;
|
|
125
|
-
/**
|
|
126
|
-
* Returns the task completion state
|
|
127
|
-
*
|
|
128
|
-
* @returns `true` if the task is completed, otherwise `false`
|
|
129
|
-
*/
|
|
130
|
-
isCompleted(): boolean;
|
|
131
|
-
/**
|
|
132
|
-
* Check if the form is clickable
|
|
133
|
-
*
|
|
134
|
-
* @returns `true` if the form is clickable, otherwise `false`
|
|
135
|
-
*/
|
|
136
|
-
isFormClickable(): boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Get the task duration
|
|
139
|
-
*
|
|
140
|
-
* @returns the task duration in milliseconds
|
|
141
|
-
*/
|
|
142
|
-
getTaskDuration(): string;
|
|
143
|
-
private getUsers;
|
|
144
|
-
private initDefaultProperties;
|
|
145
|
-
private isValidSelection;
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskHeaderComponent, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskHeaderComponent, "adf-task-header", never, { "formName": { "alias": "formName"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": true; }; "showClaimRelease": { "alias": "showClaimRelease"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "resetChanges": { "alias": "resetChanges"; "required": false; }; }, { "claim": "claim"; "unclaim": "unclaim"; }, never, never, true, never>;
|
|
148
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, DataCellEvent, DataRowEvent, DataTableAdapter, DataTableSchema, PaginatedComponent, PaginationModel } from '@alfresco/adf-core';
|
|
18
|
-
import { AfterContentInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
19
|
-
import { BehaviorSubject } from 'rxjs';
|
|
20
|
-
import { TaskQueryRepresentation } from '@alfresco/js-api';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export declare const PRESET_KEY = "adf-task-list.presets";
|
|
23
|
-
export declare class TaskListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent, OnInit {
|
|
24
|
-
private readonly taskListService;
|
|
25
|
-
private readonly userPreferences;
|
|
26
|
-
customEmptyContent: CustomEmptyContentTemplateDirective;
|
|
27
|
-
customLoadingContent: CustomLoadingContentTemplateDirective;
|
|
28
|
-
/** The id of the app. */
|
|
29
|
-
appId: number;
|
|
30
|
-
/** The Instance Id of the process. */
|
|
31
|
-
processInstanceId: string;
|
|
32
|
-
/** The Definition Id of the process. */
|
|
33
|
-
processDefinitionId: string;
|
|
34
|
-
/** Current state of the process. Possible values are: `completed`, `active`. */
|
|
35
|
-
state: string;
|
|
36
|
-
/**
|
|
37
|
-
* The assignment of the process. Possible values are: "assignee" (the current user
|
|
38
|
-
* is the assignee), "candidate" (the current user is a task candidate, "group_x" (the task
|
|
39
|
-
* is assigned to a group where the current user is a member,
|
|
40
|
-
* no value (the current user is involved).
|
|
41
|
-
*/
|
|
42
|
-
assignment: string;
|
|
43
|
-
/**
|
|
44
|
-
* Define the sort order of the tasks. Possible values are : `created-desc`,
|
|
45
|
-
* `created-asc`, `due-desc`, `due-asc`
|
|
46
|
-
*/
|
|
47
|
-
sort: string;
|
|
48
|
-
/** Name of the tasklist. */
|
|
49
|
-
name: string;
|
|
50
|
-
/**
|
|
51
|
-
* Define which task id should be selected after reloading. If the task id doesn't
|
|
52
|
-
* exist or nothing is passed then the first task will be selected.
|
|
53
|
-
*/
|
|
54
|
-
landingTaskId: string;
|
|
55
|
-
/**
|
|
56
|
-
* Data source object that represents the number and the type of the columns that
|
|
57
|
-
* you want to show.
|
|
58
|
-
*/
|
|
59
|
-
data: DataTableAdapter;
|
|
60
|
-
/**
|
|
61
|
-
* Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode,
|
|
62
|
-
* you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for
|
|
63
|
-
* multiple rows.
|
|
64
|
-
*/
|
|
65
|
-
selectionMode: string;
|
|
66
|
-
/** Toggles multiple row selection, renders checkboxes at the beginning of each row */
|
|
67
|
-
multiselect: boolean;
|
|
68
|
-
/** Toggles default selection of the first row */
|
|
69
|
-
selectFirstRow: boolean;
|
|
70
|
-
/** The id of a task */
|
|
71
|
-
taskId: string;
|
|
72
|
-
/** Toggles inclusion of Process Instances */
|
|
73
|
-
includeProcessInstance: boolean;
|
|
74
|
-
/** Starting point of the list within the full set of tasks. */
|
|
75
|
-
start: number;
|
|
76
|
-
/** Toggles custom context menu for the component. */
|
|
77
|
-
showContextMenu: boolean;
|
|
78
|
-
/** Toggles the sticky header mode. */
|
|
79
|
-
stickyHeader: boolean;
|
|
80
|
-
/** Enables column resizing for datatable */
|
|
81
|
-
isResizingEnabled: boolean;
|
|
82
|
-
/** Enables blur when resizing datatable columns */
|
|
83
|
-
blurOnResize: boolean;
|
|
84
|
-
/** Emitted before the context menu is displayed for a row. */
|
|
85
|
-
showRowContextMenu: EventEmitter<DataCellEvent>;
|
|
86
|
-
/** Emitted when a task in the list is clicked */
|
|
87
|
-
rowClick: EventEmitter<string>;
|
|
88
|
-
/** Emitted when rows are selected/unselected */
|
|
89
|
-
rowsSelected: EventEmitter<any[]>;
|
|
90
|
-
/** Emitted when the task list is loaded */
|
|
91
|
-
success: EventEmitter<any>;
|
|
92
|
-
/** Emitted when an error occurs. */
|
|
93
|
-
error: EventEmitter<any>;
|
|
94
|
-
/** The page number of the tasks to fetch. */
|
|
95
|
-
page: number;
|
|
96
|
-
/** The number of tasks to fetch. Default value: 25. */
|
|
97
|
-
size: number;
|
|
98
|
-
/** Filter the tasks. Display only tasks with `created_date` after `dueAfter`. */
|
|
99
|
-
dueAfter: string;
|
|
100
|
-
/** Filter the tasks. Display only tasks with `created_date` before `dueBefore`. */
|
|
101
|
-
dueBefore: string;
|
|
102
|
-
requestNode: TaskQueryRepresentation;
|
|
103
|
-
currentInstanceId: string;
|
|
104
|
-
selectedInstances: any[];
|
|
105
|
-
pagination: BehaviorSubject<PaginationModel>;
|
|
106
|
-
rows: any[];
|
|
107
|
-
isLoading: boolean;
|
|
108
|
-
sorting: any[];
|
|
109
|
-
/**
|
|
110
|
-
* Toggles custom data source mode.
|
|
111
|
-
* When enabled the component reloads data from it's current source instead of the server side.
|
|
112
|
-
* This allows generating and displaying custom data sets (i.e. filtered out content).
|
|
113
|
-
*/
|
|
114
|
-
hasCustomDataSource: boolean;
|
|
115
|
-
private readonly destroyRef;
|
|
116
|
-
constructor();
|
|
117
|
-
ngAfterContentInit(): void;
|
|
118
|
-
ngOnInit(): void;
|
|
119
|
-
setCustomDataSource(rows: any[]): void;
|
|
120
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
121
|
-
reload(): void;
|
|
122
|
-
/**
|
|
123
|
-
* Select the task given in input if present
|
|
124
|
-
*
|
|
125
|
-
* @param taskIdSelected selected task id
|
|
126
|
-
*/
|
|
127
|
-
selectTask(taskIdSelected: string): void;
|
|
128
|
-
/**
|
|
129
|
-
* Return the current instance id
|
|
130
|
-
*
|
|
131
|
-
* @returns the current instance id
|
|
132
|
-
*/
|
|
133
|
-
getCurrentId(): string;
|
|
134
|
-
/**
|
|
135
|
-
* Check if the taskId is the same of the selected task
|
|
136
|
-
*
|
|
137
|
-
* @param taskId task id
|
|
138
|
-
* @returns `true` if current instance id is the same as task id, otherwise `false`
|
|
139
|
-
*/
|
|
140
|
-
isEqualToCurrentId(taskId: string): boolean;
|
|
141
|
-
/**
|
|
142
|
-
* Check if the list is empty
|
|
143
|
-
*
|
|
144
|
-
* @returns `true` if list is empty, otherwise `false`
|
|
145
|
-
*/
|
|
146
|
-
isListEmpty(): boolean;
|
|
147
|
-
onRowClick(item: DataRowEvent): void;
|
|
148
|
-
onRowSelect(event: CustomEvent): void;
|
|
149
|
-
onRowUnselect(event: CustomEvent): void;
|
|
150
|
-
onRowKeyUp(event: CustomEvent): void;
|
|
151
|
-
onShowRowContextMenu(event: DataCellEvent): void;
|
|
152
|
-
updatePagination(params: PaginationModel): void;
|
|
153
|
-
currentPage(skipCount: number, maxItems: number): number;
|
|
154
|
-
private isSortChanged;
|
|
155
|
-
private isPropertyChanged;
|
|
156
|
-
private load;
|
|
157
|
-
/**
|
|
158
|
-
* Optimize name field
|
|
159
|
-
*
|
|
160
|
-
* @param instances task detail models
|
|
161
|
-
* @returns list of task detail models
|
|
162
|
-
*/
|
|
163
|
-
private optimizeTaskDetails;
|
|
164
|
-
private createRequestNode;
|
|
165
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListComponent, never>;
|
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskListComponent, "adf-tasklist", never, { "appId": { "alias": "appId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "state": { "alias": "state"; "required": false; }; "assignment": { "alias": "assignment"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "name": { "alias": "name"; "required": false; }; "landingTaskId": { "alias": "landingTaskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "selectFirstRow": { "alias": "selectFirstRow"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "includeProcessInstance": { "alias": "includeProcessInstance"; "required": false; }; "start": { "alias": "start"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "blurOnResize": { "alias": "blurOnResize"; "required": false; }; "page": { "alias": "page"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dueAfter": { "alias": "dueAfter"; "required": false; }; "dueBefore": { "alias": "dueBefore"; "required": false; }; }, { "showRowContextMenu": "showRowContextMenu"; "rowClick": "rowClick"; "rowsSelected": "rowsSelected"; "success": "success"; "error": "error"; }, ["customEmptyContent", "customLoadingContent"], ["adf-custom-loading-content-template", "adf-custom-empty-content-template"], true, never>;
|
|
167
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter } from '@angular/core';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class TaskStandaloneComponent {
|
|
20
|
-
/** Name of the task. */
|
|
21
|
-
taskName: string;
|
|
22
|
-
/** Id of the task. */
|
|
23
|
-
taskId: string;
|
|
24
|
-
/** If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden. */
|
|
25
|
-
isCompleted: boolean;
|
|
26
|
-
/** Toggles rendering of the `Complete` button. */
|
|
27
|
-
hasCompletePermission: boolean;
|
|
28
|
-
/** Toggles rendering of the `Cancel` button. */
|
|
29
|
-
hideCancelButton: boolean;
|
|
30
|
-
/** Emitted when the "Cancel" button is clicked. */
|
|
31
|
-
cancel: EventEmitter<void>;
|
|
32
|
-
/** Emitted when the form associated with the task is completed. */
|
|
33
|
-
complete: EventEmitter<void>;
|
|
34
|
-
/** Emitted when the form associated with the form task is attached. */
|
|
35
|
-
showAttachForm: EventEmitter<void>;
|
|
36
|
-
onCancelButtonClick(): void;
|
|
37
|
-
onCompleteButtonClick(): void;
|
|
38
|
-
hasCompleteButton(): boolean;
|
|
39
|
-
hasCancelButton(): boolean;
|
|
40
|
-
hasAttachFormButton(): boolean;
|
|
41
|
-
onShowAttachForm(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStandaloneComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskStandaloneComponent, "adf-task-standalone", never, { "taskName": { "alias": "taskName"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "isCompleted": { "alias": "isCompleted"; "required": false; }; "hasCompletePermission": { "alias": "hasCompletePermission"; "required": false; }; "hideCancelButton": { "alias": "hideCancelButton"; "required": false; }; }, { "cancel": "cancel"; "complete": "complete"; "showAttachForm": "showAttachForm"; }, never, never, true, never>;
|
|
44
|
-
}
|