@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
package/index.d.ts
CHANGED
|
@@ -1,5 +1,4488 @@
|
|
|
1
|
+
import { DataTableSchema, PaginatedComponent, CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, DataTableAdapter, DataCellEvent, DataRow, DataColumn, ObjectDataRow, PaginationModel, DataRowEvent, FormFieldValidator, FormModel, ContentLinkModel, FormOutcomeEvent, FormFieldModel, CardViewSelectItemOption, CardViewItem, ErrorMessageModel, FormFieldEvent, ExternalContent, FormFieldOption, FormValues, TaskProcessVariableModel, FormBaseComponent, FormService, WidgetVisibilityService, FormOutcomeModel, FormWidgetModel, WidgetComponent, BaseViewerWidgetComponent, ThumbnailService, LoginDialogPanelComponent, GroupModel, ReactiveFormWidget, FormRenderingService, EmptyListComponent, CommentsService, CommentModel, DataColumnListComponent, DataTableComponent } from '@alfresco/adf-core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnChanges, AfterContentInit, EventEmitter, SimpleChanges, OnInit, TemplateRef, ElementRef, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import * as rxjs from 'rxjs';
|
|
5
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
6
|
+
import { ProcessInstanceQueryRepresentationState, ProcessInstanceQueryRepresentationSort, ResultListDataRepresentationProcessInstanceRepresentation, ProcessInstanceQueryRepresentation, UserProcessInstanceFilterRepresentation, ProcessInstanceFilterRepresentation, TaskRepresentation, UserRepresentation, UserTaskFilterRepresentation, TaskQueryRepresentation, LightUserRepresentation, ModelsApi, TasksApi, TaskActionsApi, ChecklistsApi, ResultListDataRepresentationTaskRepresentation, TaskUpdateRepresentation, ActivitiContentApi, RelatedContentRepresentation, UserFiltersApi, ProcessInstanceRepresentation, FormSaveRepresentation, IntegrationAlfrescoOnPremiseApi, AlfrescoContentRepresentation, AlfrescoEndpointRepresentation, Node, CustomModelApi, FormModelsApi, FormRepresentation, ResultListDataRepresentationRelatedContentRepresentation, ResultListDataRepresentationRelatedProcessTask, ProcessDefinitionsApi, TaskFormsApi, ProcessInstancesApi, ProcessInstanceVariablesApi, ProcessInstanceAuditInfoRepresentation, FormDefinitionRepresentation, ProcessDefinitionRepresentation, RestVariable, NodeChildAssociation, UsersApi, ActivitiGroupsApi, UserProfileApi, AppDefinitionRepresentation, ResultListDataRepresentationUserProcessInstanceFilterRepresentation, RuntimeAppDefinitionsApi, ActivitiCommentsApi } from '@alfresco/js-api';
|
|
7
|
+
import { UntypedFormControl, UntypedFormGroup, AbstractControl, FormControl } from '@angular/forms';
|
|
8
|
+
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
9
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
10
|
+
import { AlfrescoApiService, UploadService, NodesApiService } from '@alfresco/adf-content-services';
|
|
11
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
12
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
13
|
+
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
14
|
+
import { MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
19
|
+
*
|
|
20
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
21
|
+
* you may not use this file except in compliance with the License.
|
|
22
|
+
* You may obtain a copy of the License at
|
|
23
|
+
*
|
|
24
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
25
|
+
*
|
|
26
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
28
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
+
* See the License for the specific language governing permissions and
|
|
30
|
+
* limitations under the License.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
declare const processPresetsDefaultModel: {
|
|
34
|
+
default: ({
|
|
35
|
+
key: string;
|
|
36
|
+
type: string;
|
|
37
|
+
title: string;
|
|
38
|
+
sortable: boolean;
|
|
39
|
+
cssClass?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
key: string;
|
|
42
|
+
type: string;
|
|
43
|
+
title: string;
|
|
44
|
+
cssClass: string;
|
|
45
|
+
sortable: boolean;
|
|
46
|
+
})[];
|
|
47
|
+
};
|
|
48
|
+
declare class ProcessInstanceListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent {
|
|
49
|
+
private readonly processService;
|
|
50
|
+
private readonly userPreferences;
|
|
51
|
+
customEmptyContent: CustomEmptyContentTemplateDirective;
|
|
52
|
+
customLoadingContent: CustomLoadingContentTemplateDirective;
|
|
53
|
+
/** The id of the app. */
|
|
54
|
+
appId: number;
|
|
55
|
+
/** The Definition Id of the process. */
|
|
56
|
+
processDefinitionId: string;
|
|
57
|
+
/** The id of the process instance. */
|
|
58
|
+
processInstanceId: string;
|
|
59
|
+
/** Defines the state of the processes. */
|
|
60
|
+
state: ProcessInstanceQueryRepresentationState;
|
|
61
|
+
/**
|
|
62
|
+
* Defines the sort ordering of the list.
|
|
63
|
+
*/
|
|
64
|
+
sort: ProcessInstanceQueryRepresentationSort;
|
|
65
|
+
/** The page number of the processes to fetch. */
|
|
66
|
+
page: number;
|
|
67
|
+
/** The number of processes to fetch in each page. */
|
|
68
|
+
size: number;
|
|
69
|
+
/** Data source to define the datatable. */
|
|
70
|
+
data: DataTableAdapter;
|
|
71
|
+
/** Toggles multiple row selection, which renders checkboxes at the beginning of each row */
|
|
72
|
+
multiselect: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode,
|
|
75
|
+
* you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for
|
|
76
|
+
* multiple rows.
|
|
77
|
+
*/
|
|
78
|
+
selectionMode: string;
|
|
79
|
+
/** Toggles default selection of the first row */
|
|
80
|
+
selectFirstRow: boolean;
|
|
81
|
+
/** Toggles the sticky header mode. */
|
|
82
|
+
stickyHeader: boolean;
|
|
83
|
+
/** Toggles custom context menu for the component. */
|
|
84
|
+
showContextMenu: boolean;
|
|
85
|
+
/** Enables column resizing for datatable */
|
|
86
|
+
isResizingEnabled: boolean;
|
|
87
|
+
/** Enables blur when resizing datatable columns */
|
|
88
|
+
blurOnResize: boolean;
|
|
89
|
+
/** Emitted before the context menu is displayed for a row. */
|
|
90
|
+
showRowContextMenu: EventEmitter<DataCellEvent>;
|
|
91
|
+
/**
|
|
92
|
+
* Resolver function is used to show dynamic complex column objects
|
|
93
|
+
* see the docs to learn how to configure a resolverFn.
|
|
94
|
+
*/
|
|
95
|
+
resolverFn: (row: DataRow, col: DataColumn) => any;
|
|
96
|
+
/** Emitted when a row in the process list is clicked. */
|
|
97
|
+
rowClick: EventEmitter<string>;
|
|
98
|
+
/** Emitted when the list of process instances has been loaded successfully from the server. */
|
|
99
|
+
success: EventEmitter<ResultListDataRepresentationProcessInstanceRepresentation>;
|
|
100
|
+
/** Emitted when an error occurs while loading the list of process instances from the server. */
|
|
101
|
+
error: EventEmitter<any>;
|
|
102
|
+
/** Emitted when rows are selected/unselected */
|
|
103
|
+
rowsSelected: EventEmitter<ObjectDataRow[]>;
|
|
104
|
+
requestNode: ProcessInstanceQueryRepresentation;
|
|
105
|
+
currentInstanceId: string;
|
|
106
|
+
isLoading: boolean;
|
|
107
|
+
rows: any[];
|
|
108
|
+
sorting: any[];
|
|
109
|
+
pagination: BehaviorSubject<PaginationModel>;
|
|
110
|
+
constructor();
|
|
111
|
+
ngAfterContentInit(): void;
|
|
112
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
113
|
+
reload(): void;
|
|
114
|
+
/**
|
|
115
|
+
* Select the first instance of a list if present
|
|
116
|
+
*/
|
|
117
|
+
selectFirst(): void;
|
|
118
|
+
/**
|
|
119
|
+
* Get the id of the current instance
|
|
120
|
+
*
|
|
121
|
+
* @returns instance id
|
|
122
|
+
*/
|
|
123
|
+
getCurrentId(): string;
|
|
124
|
+
/**
|
|
125
|
+
* Check if the list is empty
|
|
126
|
+
*
|
|
127
|
+
* @returns `true` if list is empty, otherwise `false`
|
|
128
|
+
*/
|
|
129
|
+
isListEmpty(): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Emit the event rowClick passing the current task id when the row is clicked
|
|
132
|
+
*
|
|
133
|
+
* @param event input event
|
|
134
|
+
*/
|
|
135
|
+
onRowClick(event: DataRowEvent): void;
|
|
136
|
+
onRowCheckboxToggle(event: CustomEvent): void;
|
|
137
|
+
/**
|
|
138
|
+
* Emit the event rowClick passing the current task id when pressed the Enter key on the selected row
|
|
139
|
+
*
|
|
140
|
+
* @param event keyboard event
|
|
141
|
+
*/
|
|
142
|
+
onRowKeyUp(event: CustomEvent<any>): void;
|
|
143
|
+
onShowRowContextMenu(event: DataCellEvent): void;
|
|
144
|
+
updatePagination(params: PaginationModel): void;
|
|
145
|
+
currentPage(skipCount: number, maxItems: number): number;
|
|
146
|
+
private createRequestNode;
|
|
147
|
+
private isSortChanged;
|
|
148
|
+
private isPropertyChanged;
|
|
149
|
+
private load;
|
|
150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceListComponent, never>;
|
|
151
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceListComponent, "adf-process-instance-list", never, { "appId": { "alias": "appId"; "required": false; }; "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "state": { "alias": "state"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "page": { "alias": "page"; "required": false; }; "size": { "alias": "size"; "required": false; }; "data": { "alias": "data"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selectFirstRow": { "alias": "selectFirstRow"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "showContextMenu": { "alias": "showContextMenu"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "blurOnResize": { "alias": "blurOnResize"; "required": false; }; "resolverFn": { "alias": "resolverFn"; "required": false; }; }, { "showRowContextMenu": "showRowContextMenu"; "rowClick": "rowClick"; "success": "success"; "error": "error"; "rowsSelected": "rowsSelected"; }, ["customEmptyContent", "customLoadingContent"], ["adf-custom-loading-content-template", "adf-custom-empty-content-template"], true, never>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*!
|
|
155
|
+
* @license
|
|
156
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
157
|
+
*
|
|
158
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
159
|
+
* you may not use this file except in compliance with the License.
|
|
160
|
+
* You may obtain a copy of the License at
|
|
161
|
+
*
|
|
162
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
163
|
+
*
|
|
164
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
165
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
166
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
167
|
+
* See the License for the specific language governing permissions and
|
|
168
|
+
* limitations under the License.
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
declare class ProcessFiltersComponent implements OnInit, OnChanges {
|
|
172
|
+
private readonly processFilterService;
|
|
173
|
+
private readonly appsProcessService;
|
|
174
|
+
private readonly router;
|
|
175
|
+
private readonly location;
|
|
176
|
+
/**
|
|
177
|
+
* The parameters to filter the task filter. If there is no match then the default one
|
|
178
|
+
* (ie, the first filter in the list) is selected.
|
|
179
|
+
*/
|
|
180
|
+
filterParam: UserProcessInstanceFilterRepresentation;
|
|
181
|
+
/** Emitted when a filter is being clicked from the UI. */
|
|
182
|
+
filterClicked: EventEmitter<UserProcessInstanceFilterRepresentation>;
|
|
183
|
+
/** Emitted when the list of filters has been successfully loaded from the server. */
|
|
184
|
+
success: EventEmitter<ProcessInstanceFilterRepresentation[]>;
|
|
185
|
+
/** Emitted when an error occurs. */
|
|
186
|
+
error: EventEmitter<any>;
|
|
187
|
+
/** Display filters available to the current user for the application with the specified ID. */
|
|
188
|
+
appId: number;
|
|
189
|
+
/** Display filters available to the current user for the application with the specified name. */
|
|
190
|
+
appName: string;
|
|
191
|
+
/** Toggle to show or hide the filter's icon. */
|
|
192
|
+
showIcon: boolean;
|
|
193
|
+
/** Emitted when a filter is being selected based on the filterParam input. */
|
|
194
|
+
filterSelected: EventEmitter<UserProcessInstanceFilterRepresentation>;
|
|
195
|
+
currentFilter: ProcessInstanceFilterRepresentation;
|
|
196
|
+
filters: UserProcessInstanceFilterRepresentation[];
|
|
197
|
+
active: boolean;
|
|
198
|
+
isProcessRoute: boolean;
|
|
199
|
+
isProcessActive: boolean;
|
|
200
|
+
private iconsMDL;
|
|
201
|
+
private readonly destroyRef;
|
|
202
|
+
ngOnInit(): void;
|
|
203
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
204
|
+
isActiveRoute(filterActive: ProcessInstanceFilterRepresentation): boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Return the filter list filtered by appId
|
|
207
|
+
*
|
|
208
|
+
* @param appId - optional
|
|
209
|
+
*/
|
|
210
|
+
getFiltersByAppId(appId?: number): void;
|
|
211
|
+
/**
|
|
212
|
+
* Return the filter list filtered by appName
|
|
213
|
+
*
|
|
214
|
+
* @param appName application name
|
|
215
|
+
*/
|
|
216
|
+
getFiltersByAppName(appName: string): void;
|
|
217
|
+
/**
|
|
218
|
+
* Pass the selected filter as next
|
|
219
|
+
*
|
|
220
|
+
* @param filterModel filter model
|
|
221
|
+
*/
|
|
222
|
+
selectFilter(filterModel: ProcessInstanceFilterRepresentation): void;
|
|
223
|
+
/**
|
|
224
|
+
* Select the first filter of a list if present
|
|
225
|
+
*
|
|
226
|
+
* @param filterParam filter parameter
|
|
227
|
+
*/
|
|
228
|
+
selectProcessFilter(filterParam: UserProcessInstanceFilterRepresentation): void;
|
|
229
|
+
/**
|
|
230
|
+
* Select the Running filter
|
|
231
|
+
*
|
|
232
|
+
* @deprecated in 3.9.0, Use the filterParam Input() with a running filter instance instead
|
|
233
|
+
*/
|
|
234
|
+
selectRunningFilter(): void;
|
|
235
|
+
/**
|
|
236
|
+
* Get the current task
|
|
237
|
+
*
|
|
238
|
+
* @returns process instance filter
|
|
239
|
+
*/
|
|
240
|
+
getCurrentFilter(): ProcessInstanceFilterRepresentation;
|
|
241
|
+
/**
|
|
242
|
+
* Check if the filter list is empty
|
|
243
|
+
*
|
|
244
|
+
* @returns `true` if filter list is empty, otherwise `false`
|
|
245
|
+
*/
|
|
246
|
+
isFilterListEmpty(): boolean;
|
|
247
|
+
/**
|
|
248
|
+
* Get the material icons equivalent of the glyphicon icon
|
|
249
|
+
*
|
|
250
|
+
* @param icon glyphicon name
|
|
251
|
+
* @returns material icons equivalent of the icon
|
|
252
|
+
*/
|
|
253
|
+
getFilterIcon(icon: string): string;
|
|
254
|
+
/**
|
|
255
|
+
* Reset the filters properties
|
|
256
|
+
*/
|
|
257
|
+
private resetFilter;
|
|
258
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFiltersComponent, never>;
|
|
259
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessFiltersComponent, "adf-process-instance-filters", never, { "filterParam": { "alias": "filterParam"; "required": false; }; "appId": { "alias": "appId"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; }, { "filterClicked": "filterClicked"; "success": "success"; "error": "error"; "filterSelected": "filterSelected"; }, never, never, true, never>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/*!
|
|
263
|
+
* @license
|
|
264
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
265
|
+
*
|
|
266
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
267
|
+
* you may not use this file except in compliance with the License.
|
|
268
|
+
* You may obtain a copy of the License at
|
|
269
|
+
*
|
|
270
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
271
|
+
*
|
|
272
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
273
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
274
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
275
|
+
* See the License for the specific language governing permissions and
|
|
276
|
+
* limitations under the License.
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
declare class ClaimTaskDirective implements OnInit {
|
|
280
|
+
private readonly taskListService;
|
|
281
|
+
/** (Required) The id of the task. */
|
|
282
|
+
taskId: string;
|
|
283
|
+
/** Emitted when the task is claimed. */
|
|
284
|
+
success: EventEmitter<any>;
|
|
285
|
+
/** Emitted when the task cannot be claimed. */
|
|
286
|
+
error: EventEmitter<any>;
|
|
287
|
+
invalidParams: string[];
|
|
288
|
+
onClick(): void;
|
|
289
|
+
ngOnInit(): void;
|
|
290
|
+
validateInputs(): void;
|
|
291
|
+
isTaskValid(): boolean;
|
|
292
|
+
private claimTask;
|
|
293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClaimTaskDirective, never>;
|
|
294
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClaimTaskDirective, "[adf-claim-task]", never, { "taskId": { "alias": "taskId"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/*!
|
|
298
|
+
* @license
|
|
299
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
300
|
+
*
|
|
301
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
302
|
+
* you may not use this file except in compliance with the License.
|
|
303
|
+
* You may obtain a copy of the License at
|
|
304
|
+
*
|
|
305
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
306
|
+
*
|
|
307
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
308
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
309
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
310
|
+
* See the License for the specific language governing permissions and
|
|
311
|
+
* limitations under the License.
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
declare class UnclaimTaskDirective implements OnInit {
|
|
315
|
+
private readonly taskListService;
|
|
316
|
+
/** (Required) The id of the task. */
|
|
317
|
+
taskId: string;
|
|
318
|
+
/** Emitted when the task is released. */
|
|
319
|
+
success: EventEmitter<any>;
|
|
320
|
+
/** Emitted when the task cannot be released. */
|
|
321
|
+
error: EventEmitter<any>;
|
|
322
|
+
invalidParams: string[];
|
|
323
|
+
onClick(): void;
|
|
324
|
+
ngOnInit(): void;
|
|
325
|
+
validateInputs(): void;
|
|
326
|
+
isTaskValid(): boolean;
|
|
327
|
+
private unclaimTask;
|
|
328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnclaimTaskDirective, never>;
|
|
329
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UnclaimTaskDirective, "[adf-unclaim-task]", never, { "taskId": { "alias": "taskId"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/*!
|
|
333
|
+
* @license
|
|
334
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
335
|
+
*
|
|
336
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
337
|
+
* you may not use this file except in compliance with the License.
|
|
338
|
+
* You may obtain a copy of the License at
|
|
339
|
+
*
|
|
340
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
341
|
+
*
|
|
342
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
343
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
344
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
345
|
+
* See the License for the specific language governing permissions and
|
|
346
|
+
* limitations under the License.
|
|
347
|
+
*/
|
|
348
|
+
|
|
349
|
+
declare class TaskFormComponent implements OnInit, OnChanges {
|
|
350
|
+
/** (**required**) The id of the task whose details we are asking for. */
|
|
351
|
+
taskId: string;
|
|
352
|
+
/** Toggles rendering of the form title. */
|
|
353
|
+
showFormTitle: boolean;
|
|
354
|
+
/** Toggles rendering of the `Complete` outcome button. */
|
|
355
|
+
showFormCompleteButton: boolean;
|
|
356
|
+
/** Toggles rendering of the `Save` outcome button. */
|
|
357
|
+
showFormSaveButton: boolean;
|
|
358
|
+
/** Toggle rendering of the `Cancel` button. */
|
|
359
|
+
showCancelButton: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Toggles read-only state of the form. All form widgets render as read-only if enabled.
|
|
362
|
+
*/
|
|
363
|
+
readOnlyForm: boolean;
|
|
364
|
+
/** Toggles rendering of the `Refresh` button. */
|
|
365
|
+
showFormRefreshButton: boolean;
|
|
366
|
+
/** Toggle rendering of the validation icon next to the form title. */
|
|
367
|
+
showFormValidationIcon: boolean;
|
|
368
|
+
/** Field validators for use with the form. */
|
|
369
|
+
fieldValidators: FormFieldValidator[];
|
|
370
|
+
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
371
|
+
formSaved: EventEmitter<FormModel>;
|
|
372
|
+
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
373
|
+
formCompleted: EventEmitter<FormModel>;
|
|
374
|
+
/** Emitted when the form field content is clicked. */
|
|
375
|
+
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
376
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
377
|
+
formLoaded: EventEmitter<FormModel>;
|
|
378
|
+
/** Emitted when the form associated with the form task is attached. */
|
|
379
|
+
showAttachForm: EventEmitter<void>;
|
|
380
|
+
/**
|
|
381
|
+
* Emitted when any outcome is executed. Default behaviour can be prevented
|
|
382
|
+
* via `event.preventDefault()`.
|
|
383
|
+
*/
|
|
384
|
+
executeOutcome: EventEmitter<FormOutcomeEvent>;
|
|
385
|
+
/** Emitted when the form associated with the task is completed. */
|
|
386
|
+
completed: EventEmitter<void>;
|
|
387
|
+
/** Emitted when the supplied form values have a validation error. */
|
|
388
|
+
formError: EventEmitter<FormFieldModel[]>;
|
|
389
|
+
/** Emitted when an error occurs. */
|
|
390
|
+
error: EventEmitter<any>;
|
|
391
|
+
/** Emitted when the "Cancel" button is clicked. */
|
|
392
|
+
cancel: EventEmitter<void>;
|
|
393
|
+
/** Emitted when the task is claimed. */
|
|
394
|
+
taskClaimed: EventEmitter<string>;
|
|
395
|
+
/** Emitted when the task is unclaimed (ie, requeued).. */
|
|
396
|
+
taskUnclaimed: EventEmitter<string>;
|
|
397
|
+
taskDetails: TaskRepresentation;
|
|
398
|
+
currentLoggedUser: UserRepresentation;
|
|
399
|
+
loading: boolean;
|
|
400
|
+
internalReadOnlyForm: boolean;
|
|
401
|
+
private readonly taskListService;
|
|
402
|
+
private readonly peopleProcessService;
|
|
403
|
+
private readonly translationService;
|
|
404
|
+
ngOnInit(): void;
|
|
405
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
406
|
+
loadTask(taskId: string): void;
|
|
407
|
+
onFormSaved(savedForm: FormModel): void;
|
|
408
|
+
onFormCompleted(form: FormModel): void;
|
|
409
|
+
onFormLoaded(form: FormModel): void;
|
|
410
|
+
onFormContentClick(content: ContentLinkModel): void;
|
|
411
|
+
onFormExecuteOutcome(outcome: FormOutcomeEvent): void;
|
|
412
|
+
onFormError(error: any): void;
|
|
413
|
+
onError(error: any): void;
|
|
414
|
+
onCompleteTask(): void;
|
|
415
|
+
onCancel(): void;
|
|
416
|
+
onShowAttachForm(): void;
|
|
417
|
+
hasFormKey(): boolean;
|
|
418
|
+
isStandaloneTask(): boolean;
|
|
419
|
+
isCompletedTask(): boolean;
|
|
420
|
+
isCompleteButtonVisible(): boolean;
|
|
421
|
+
isTaskActive(): boolean;
|
|
422
|
+
isAssigned(): boolean;
|
|
423
|
+
isAssignedToMe(): boolean;
|
|
424
|
+
isCompleteButtonEnabled(): boolean;
|
|
425
|
+
canInitiatorComplete(): boolean;
|
|
426
|
+
isReadOnlyForm(): boolean;
|
|
427
|
+
isCurrentUserInvolved(): boolean;
|
|
428
|
+
canCurrentUserAsInitiatorComplete(): boolean;
|
|
429
|
+
isProcessInitiator(): boolean;
|
|
430
|
+
isSaveButtonVisible(): boolean;
|
|
431
|
+
canCompleteNoFormTask(): boolean;
|
|
432
|
+
getCompletedTaskTranslatedMessage(): Observable<string>;
|
|
433
|
+
isCandidateMember(): boolean;
|
|
434
|
+
isTaskClaimable(): boolean;
|
|
435
|
+
isTaskClaimedByCandidateMember(): boolean;
|
|
436
|
+
reloadTask(): void;
|
|
437
|
+
onClaimTask(taskId: string): void;
|
|
438
|
+
onClaimTaskError(error: any): void;
|
|
439
|
+
onUnclaimTask(taskId: string): void;
|
|
440
|
+
onUnclaimTaskError(error: any): void;
|
|
441
|
+
private hasEmailAddress;
|
|
442
|
+
private isEmailEqual;
|
|
443
|
+
private isExternalIdEqual;
|
|
444
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormComponent, never>;
|
|
445
|
+
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>;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/*!
|
|
449
|
+
* @license
|
|
450
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
451
|
+
*
|
|
452
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
453
|
+
* you may not use this file except in compliance with the License.
|
|
454
|
+
* You may obtain a copy of the License at
|
|
455
|
+
*
|
|
456
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
457
|
+
*
|
|
458
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
459
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
460
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
461
|
+
* See the License for the specific language governing permissions and
|
|
462
|
+
* limitations under the License.
|
|
463
|
+
*/
|
|
464
|
+
/**
|
|
465
|
+
* This object represent of the Form.
|
|
466
|
+
*/
|
|
467
|
+
declare class Form {
|
|
468
|
+
id: number;
|
|
469
|
+
name: string;
|
|
470
|
+
constructor(id: number, name: string);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/*!
|
|
474
|
+
* @license
|
|
475
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
476
|
+
*
|
|
477
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
478
|
+
* you may not use this file except in compliance with the License.
|
|
479
|
+
* You may obtain a copy of the License at
|
|
480
|
+
*
|
|
481
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
482
|
+
*
|
|
483
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
484
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
485
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
486
|
+
* See the License for the specific language governing permissions and
|
|
487
|
+
* limitations under the License.
|
|
488
|
+
*/
|
|
489
|
+
|
|
490
|
+
declare class AttachFormComponent implements OnInit, OnChanges {
|
|
491
|
+
private readonly taskService;
|
|
492
|
+
private readonly modelService;
|
|
493
|
+
private readonly taskFormService;
|
|
494
|
+
/** Id of the task. */
|
|
495
|
+
taskId: any;
|
|
496
|
+
/** Identifier of the form to attach. */
|
|
497
|
+
formKey: any;
|
|
498
|
+
/** Emitted when the "Cancel" button is clicked. */
|
|
499
|
+
cancelAttachForm: EventEmitter<void>;
|
|
500
|
+
/** Emitted when the form is attached successfully. */
|
|
501
|
+
success: EventEmitter<void>;
|
|
502
|
+
/** Emitted when an error occurs. */
|
|
503
|
+
error: EventEmitter<any>;
|
|
504
|
+
forms: Form[];
|
|
505
|
+
formId: number;
|
|
506
|
+
disableSubmit: boolean;
|
|
507
|
+
selectedFormId: number;
|
|
508
|
+
attachFormControl: UntypedFormControl;
|
|
509
|
+
ngOnInit(): void;
|
|
510
|
+
ngOnChanges(): void;
|
|
511
|
+
onCancelButtonClick(): void;
|
|
512
|
+
onRemoveButtonClick(): void;
|
|
513
|
+
onAttachFormButtonClick(): void;
|
|
514
|
+
private loadFormsTask;
|
|
515
|
+
private onFormAttached;
|
|
516
|
+
private attachForm;
|
|
517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachFormComponent, never>;
|
|
518
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachFormComponent, "adf-attach-form", never, { "taskId": { "alias": "taskId"; "required": true; }; "formKey": { "alias": "formKey"; "required": false; }; }, { "cancelAttachForm": "cancelAttachForm"; "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/*!
|
|
522
|
+
* @license
|
|
523
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
524
|
+
*
|
|
525
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
526
|
+
* you may not use this file except in compliance with the License.
|
|
527
|
+
* You may obtain a copy of the License at
|
|
528
|
+
*
|
|
529
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
530
|
+
*
|
|
531
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
532
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
533
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
534
|
+
* See the License for the specific language governing permissions and
|
|
535
|
+
* limitations under the License.
|
|
536
|
+
*/
|
|
537
|
+
|
|
538
|
+
declare class ChecklistComponent implements OnChanges {
|
|
539
|
+
private readonly taskListService;
|
|
540
|
+
private readonly dialog;
|
|
541
|
+
/**
|
|
542
|
+
* The id of the parent task to which subtasks are attached.
|
|
543
|
+
*/
|
|
544
|
+
taskId: string;
|
|
545
|
+
/**
|
|
546
|
+
* Toggle readonly state of the form.
|
|
547
|
+
* All form widgets will render as readonly if enabled.
|
|
548
|
+
*/
|
|
549
|
+
readOnly: boolean;
|
|
550
|
+
/** (required) The assignee id that the subtasks are assigned to. */
|
|
551
|
+
assignee: number;
|
|
552
|
+
/** Emitted when a new checklist task is created. */
|
|
553
|
+
checklistTaskCreated: EventEmitter<TaskRepresentation>;
|
|
554
|
+
/** Emitted when a checklist task is deleted. */
|
|
555
|
+
checklistTaskDeleted: EventEmitter<string>;
|
|
556
|
+
/** Emitted when an error occurs. */
|
|
557
|
+
error: EventEmitter<any>;
|
|
558
|
+
addNewDialog: any;
|
|
559
|
+
taskName: string;
|
|
560
|
+
checklist: TaskRepresentation[];
|
|
561
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
562
|
+
getTaskChecklist(): void;
|
|
563
|
+
showDialog(): void;
|
|
564
|
+
add(): void;
|
|
565
|
+
delete(taskId: string): void;
|
|
566
|
+
cancel(): void;
|
|
567
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistComponent, never>;
|
|
568
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChecklistComponent, "adf-checklist", never, { "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "assignee": { "alias": "assignee"; "required": false; }; }, { "checklistTaskCreated": "checklistTaskCreated"; "checklistTaskDeleted": "checklistTaskDeleted"; "error": "error"; }, never, never, true, never>;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
declare class TaskFiltersComponent implements OnInit, OnChanges {
|
|
572
|
+
private readonly taskFilterService;
|
|
573
|
+
private readonly taskListService;
|
|
574
|
+
private readonly appsProcessService;
|
|
575
|
+
private readonly router;
|
|
576
|
+
private readonly activatedRoute;
|
|
577
|
+
/**
|
|
578
|
+
* Parameters to use for the task filter. If there is no match then
|
|
579
|
+
* the default filter (the first one the list) is selected.
|
|
580
|
+
*/
|
|
581
|
+
filterParam: UserTaskFilterRepresentation;
|
|
582
|
+
/** Emitted when a filter is being clicked from the UI. */
|
|
583
|
+
filterClicked: EventEmitter<UserTaskFilterRepresentation>;
|
|
584
|
+
/** Emitted when a filter is being selected based on the filterParam input. */
|
|
585
|
+
filterSelected: EventEmitter<UserTaskFilterRepresentation>;
|
|
586
|
+
/** Emitted when the list is loaded. */
|
|
587
|
+
success: EventEmitter<any>;
|
|
588
|
+
/** Emitted when an error occurs during loading. */
|
|
589
|
+
error: EventEmitter<any>;
|
|
590
|
+
/** Display filters available to the current user for the application with the specified ID. */
|
|
591
|
+
appId: number;
|
|
592
|
+
/** Display filters available to the current user for the application with the specified name. */
|
|
593
|
+
appName: string;
|
|
594
|
+
/** Toggles display of the filter's icon. */
|
|
595
|
+
showIcon: boolean;
|
|
596
|
+
currentFilter: UserTaskFilterRepresentation;
|
|
597
|
+
filters: UserTaskFilterRepresentation[];
|
|
598
|
+
isTaskRoute: boolean;
|
|
599
|
+
isTaskActive: boolean;
|
|
600
|
+
private iconsMDL;
|
|
601
|
+
private readonly destroyRef;
|
|
602
|
+
ngOnInit(): void;
|
|
603
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
604
|
+
isActiveRoute(filterActive: UserTaskFilterRepresentation): boolean;
|
|
605
|
+
/**
|
|
606
|
+
* Return the filter list filtered by appId
|
|
607
|
+
*
|
|
608
|
+
* @param appId - optional
|
|
609
|
+
*/
|
|
610
|
+
getFiltersByAppId(appId?: number): void;
|
|
611
|
+
/**
|
|
612
|
+
* Return the filter list filtered by appName
|
|
613
|
+
*
|
|
614
|
+
* @param appName application name
|
|
615
|
+
*/
|
|
616
|
+
getFiltersByAppName(appName: string): void;
|
|
617
|
+
/**
|
|
618
|
+
* Create default filters by appId
|
|
619
|
+
*
|
|
620
|
+
* @param appId application id
|
|
621
|
+
*/
|
|
622
|
+
private createFiltersByAppId;
|
|
623
|
+
/**
|
|
624
|
+
* Pass the selected filter as next
|
|
625
|
+
*
|
|
626
|
+
* @param newFilter new filter model
|
|
627
|
+
*/
|
|
628
|
+
selectFilter(newFilter: UserTaskFilterRepresentation): void;
|
|
629
|
+
private selectFilterAndEmit;
|
|
630
|
+
/**
|
|
631
|
+
* Selects and emits the clicked filter.
|
|
632
|
+
*
|
|
633
|
+
* @param filterParams filter parameters model
|
|
634
|
+
*/
|
|
635
|
+
onFilterClick(filterParams: UserTaskFilterRepresentation): void;
|
|
636
|
+
/**
|
|
637
|
+
* Select filter with task
|
|
638
|
+
*
|
|
639
|
+
* @param taskId task id
|
|
640
|
+
*/
|
|
641
|
+
selectFilterWithTask(taskId: string): void;
|
|
642
|
+
/**
|
|
643
|
+
* Get the current filter
|
|
644
|
+
*
|
|
645
|
+
* @returns filter model
|
|
646
|
+
*/
|
|
647
|
+
getCurrentFilter(): UserTaskFilterRepresentation;
|
|
648
|
+
/**
|
|
649
|
+
* Check if the filter list is empty
|
|
650
|
+
*
|
|
651
|
+
* @returns `true` if filter list is empty, otherwise `false`
|
|
652
|
+
*/
|
|
653
|
+
isFilterListEmpty(): boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Get the material icons equivalent of the glyphicon icon
|
|
656
|
+
*
|
|
657
|
+
* @param icon glyphicon name
|
|
658
|
+
* @returns material icons equivalent of the icon
|
|
659
|
+
*/
|
|
660
|
+
getFilterIcon(icon: string): string;
|
|
661
|
+
/**
|
|
662
|
+
* Reset the filters properties
|
|
663
|
+
*/
|
|
664
|
+
private resetFilter;
|
|
665
|
+
/**
|
|
666
|
+
* Migrate "Involved" and "Queued" filters to "Overdue" and "Unassigned" filters
|
|
667
|
+
*
|
|
668
|
+
* @param filters - list of filters to migrate
|
|
669
|
+
* @returns list of observables for each migrated filter
|
|
670
|
+
*/
|
|
671
|
+
private migrateObsoleteFilters;
|
|
672
|
+
private setTaskFilters;
|
|
673
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFiltersComponent, never>;
|
|
674
|
+
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>;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/*!
|
|
678
|
+
* @license
|
|
679
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
680
|
+
*
|
|
681
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
682
|
+
* you may not use this file except in compliance with the License.
|
|
683
|
+
* You may obtain a copy of the License at
|
|
684
|
+
*
|
|
685
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
686
|
+
*
|
|
687
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
688
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
689
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
690
|
+
* See the License for the specific language governing permissions and
|
|
691
|
+
* limitations under the License.
|
|
692
|
+
*/
|
|
693
|
+
|
|
694
|
+
declare const PRESET_KEY = "adf-task-list.presets";
|
|
695
|
+
declare class TaskListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent, OnInit {
|
|
696
|
+
private readonly taskListService;
|
|
697
|
+
private readonly userPreferences;
|
|
698
|
+
customEmptyContent: CustomEmptyContentTemplateDirective;
|
|
699
|
+
customLoadingContent: CustomLoadingContentTemplateDirective;
|
|
700
|
+
/** The id of the app. */
|
|
701
|
+
appId: number;
|
|
702
|
+
/** The Instance Id of the process. */
|
|
703
|
+
processInstanceId: string;
|
|
704
|
+
/** The Definition Id of the process. */
|
|
705
|
+
processDefinitionId: string;
|
|
706
|
+
/** Current state of the process. Possible values are: `completed`, `active`. */
|
|
707
|
+
state: string;
|
|
708
|
+
/**
|
|
709
|
+
* The assignment of the process. Possible values are: "assignee" (the current user
|
|
710
|
+
* is the assignee), "candidate" (the current user is a task candidate, "group_x" (the task
|
|
711
|
+
* is assigned to a group where the current user is a member,
|
|
712
|
+
* no value (the current user is involved).
|
|
713
|
+
*/
|
|
714
|
+
assignment: string;
|
|
715
|
+
/**
|
|
716
|
+
* Define the sort order of the tasks. Possible values are : `created-desc`,
|
|
717
|
+
* `created-asc`, `due-desc`, `due-asc`
|
|
718
|
+
*/
|
|
719
|
+
sort: string;
|
|
720
|
+
/** Name of the tasklist. */
|
|
721
|
+
name: string;
|
|
722
|
+
/**
|
|
723
|
+
* Define which task id should be selected after reloading. If the task id doesn't
|
|
724
|
+
* exist or nothing is passed then the first task will be selected.
|
|
725
|
+
*/
|
|
726
|
+
landingTaskId: string;
|
|
727
|
+
/**
|
|
728
|
+
* Data source object that represents the number and the type of the columns that
|
|
729
|
+
* you want to show.
|
|
730
|
+
*/
|
|
731
|
+
data: DataTableAdapter;
|
|
732
|
+
/**
|
|
733
|
+
* Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode,
|
|
734
|
+
* you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for
|
|
735
|
+
* multiple rows.
|
|
736
|
+
*/
|
|
737
|
+
selectionMode: string;
|
|
738
|
+
/** Toggles multiple row selection, renders checkboxes at the beginning of each row */
|
|
739
|
+
multiselect: boolean;
|
|
740
|
+
/** Toggles default selection of the first row */
|
|
741
|
+
selectFirstRow: boolean;
|
|
742
|
+
/** The id of a task */
|
|
743
|
+
taskId: string;
|
|
744
|
+
/** Toggles inclusion of Process Instances */
|
|
745
|
+
includeProcessInstance: boolean;
|
|
746
|
+
/** Starting point of the list within the full set of tasks. */
|
|
747
|
+
start: number;
|
|
748
|
+
/** Toggles custom context menu for the component. */
|
|
749
|
+
showContextMenu: boolean;
|
|
750
|
+
/** Toggles the sticky header mode. */
|
|
751
|
+
stickyHeader: boolean;
|
|
752
|
+
/** Enables column resizing for datatable */
|
|
753
|
+
isResizingEnabled: boolean;
|
|
754
|
+
/** Enables blur when resizing datatable columns */
|
|
755
|
+
blurOnResize: boolean;
|
|
756
|
+
/** Emitted before the context menu is displayed for a row. */
|
|
757
|
+
showRowContextMenu: EventEmitter<DataCellEvent>;
|
|
758
|
+
/** Emitted when a task in the list is clicked */
|
|
759
|
+
rowClick: EventEmitter<string>;
|
|
760
|
+
/** Emitted when rows are selected/unselected */
|
|
761
|
+
rowsSelected: EventEmitter<any[]>;
|
|
762
|
+
/** Emitted when the task list is loaded */
|
|
763
|
+
success: EventEmitter<any>;
|
|
764
|
+
/** Emitted when an error occurs. */
|
|
765
|
+
error: EventEmitter<any>;
|
|
766
|
+
/** The page number of the tasks to fetch. */
|
|
767
|
+
page: number;
|
|
768
|
+
/** The number of tasks to fetch. Default value: 25. */
|
|
769
|
+
size: number;
|
|
770
|
+
/** Filter the tasks. Display only tasks with `created_date` after `dueAfter`. */
|
|
771
|
+
dueAfter: string;
|
|
772
|
+
/** Filter the tasks. Display only tasks with `created_date` before `dueBefore`. */
|
|
773
|
+
dueBefore: string;
|
|
774
|
+
requestNode: TaskQueryRepresentation;
|
|
775
|
+
currentInstanceId: string;
|
|
776
|
+
selectedInstances: any[];
|
|
777
|
+
pagination: BehaviorSubject<PaginationModel>;
|
|
778
|
+
rows: any[];
|
|
779
|
+
isLoading: boolean;
|
|
780
|
+
sorting: any[];
|
|
781
|
+
/**
|
|
782
|
+
* Toggles custom data source mode.
|
|
783
|
+
* When enabled the component reloads data from it's current source instead of the server side.
|
|
784
|
+
* This allows generating and displaying custom data sets (i.e. filtered out content).
|
|
785
|
+
*/
|
|
786
|
+
hasCustomDataSource: boolean;
|
|
787
|
+
private readonly destroyRef;
|
|
788
|
+
constructor();
|
|
789
|
+
ngAfterContentInit(): void;
|
|
790
|
+
ngOnInit(): void;
|
|
791
|
+
setCustomDataSource(rows: any[]): void;
|
|
792
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
793
|
+
reload(): void;
|
|
794
|
+
/**
|
|
795
|
+
* Select the task given in input if present
|
|
796
|
+
*
|
|
797
|
+
* @param taskIdSelected selected task id
|
|
798
|
+
*/
|
|
799
|
+
selectTask(taskIdSelected: string): void;
|
|
800
|
+
/**
|
|
801
|
+
* Return the current instance id
|
|
802
|
+
*
|
|
803
|
+
* @returns the current instance id
|
|
804
|
+
*/
|
|
805
|
+
getCurrentId(): string;
|
|
806
|
+
/**
|
|
807
|
+
* Check if the taskId is the same of the selected task
|
|
808
|
+
*
|
|
809
|
+
* @param taskId task id
|
|
810
|
+
* @returns `true` if current instance id is the same as task id, otherwise `false`
|
|
811
|
+
*/
|
|
812
|
+
isEqualToCurrentId(taskId: string): boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Check if the list is empty
|
|
815
|
+
*
|
|
816
|
+
* @returns `true` if list is empty, otherwise `false`
|
|
817
|
+
*/
|
|
818
|
+
isListEmpty(): boolean;
|
|
819
|
+
onRowClick(item: DataRowEvent): void;
|
|
820
|
+
onRowSelect(event: CustomEvent): void;
|
|
821
|
+
onRowUnselect(event: CustomEvent): void;
|
|
822
|
+
onRowKeyUp(event: CustomEvent): void;
|
|
823
|
+
onShowRowContextMenu(event: DataCellEvent): void;
|
|
824
|
+
updatePagination(params: PaginationModel): void;
|
|
825
|
+
currentPage(skipCount: number, maxItems: number): number;
|
|
826
|
+
private isSortChanged;
|
|
827
|
+
private isPropertyChanged;
|
|
828
|
+
private load;
|
|
829
|
+
/**
|
|
830
|
+
* Optimize name field
|
|
831
|
+
*
|
|
832
|
+
* @param instances task detail models
|
|
833
|
+
* @returns list of task detail models
|
|
834
|
+
*/
|
|
835
|
+
private optimizeTaskDetails;
|
|
836
|
+
private createRequestNode;
|
|
837
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListComponent, never>;
|
|
838
|
+
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>;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/*!
|
|
842
|
+
* @license
|
|
843
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
844
|
+
*
|
|
845
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
846
|
+
* you may not use this file except in compliance with the License.
|
|
847
|
+
* You may obtain a copy of the License at
|
|
848
|
+
*
|
|
849
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
850
|
+
*
|
|
851
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
852
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
853
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
854
|
+
* See the License for the specific language governing permissions and
|
|
855
|
+
* limitations under the License.
|
|
856
|
+
*/
|
|
857
|
+
|
|
858
|
+
/** @deprecated no longer used anywhere, and can be safely removed */
|
|
859
|
+
declare class TaskDetailsComponent implements OnInit, OnChanges {
|
|
860
|
+
private readonly taskListService;
|
|
861
|
+
private readonly peopleProcessService;
|
|
862
|
+
private readonly cardViewUpdateService;
|
|
863
|
+
private readonly dialog;
|
|
864
|
+
private readonly destroyRef;
|
|
865
|
+
errorDialog: TemplateRef<any>;
|
|
866
|
+
taskFormComponent: TaskFormComponent;
|
|
867
|
+
/** (**required**) The id of the task whose details we are asking for. */
|
|
868
|
+
taskId: string;
|
|
869
|
+
/** Automatically renders the next task when the current one is completed. */
|
|
870
|
+
showNextTask: boolean;
|
|
871
|
+
/** Toggles task details Header component. */
|
|
872
|
+
showHeader: boolean;
|
|
873
|
+
/** Toggles collapsed/expanded state of the Header component. */
|
|
874
|
+
showHeaderContent: boolean;
|
|
875
|
+
/** Toggles `Involve People` feature for the Header component. */
|
|
876
|
+
showInvolvePeople: boolean;
|
|
877
|
+
/** Toggles `Comments` feature for the Header component. */
|
|
878
|
+
showComments: boolean;
|
|
879
|
+
/** Toggles `Checklist` feature for the Header component. */
|
|
880
|
+
showChecklist: boolean;
|
|
881
|
+
/** Toggles rendering of the form title. */
|
|
882
|
+
showFormTitle: boolean;
|
|
883
|
+
/** Toggles rendering of the `Complete` outcome button. */
|
|
884
|
+
showFormCompleteButton: boolean;
|
|
885
|
+
/** Toggles rendering of the `Save` outcome button. */
|
|
886
|
+
showFormSaveButton: boolean;
|
|
887
|
+
/**
|
|
888
|
+
* Toggles read-only state of the form. All form widgets render as read-only
|
|
889
|
+
* if enabled.
|
|
890
|
+
*/
|
|
891
|
+
readOnlyForm: boolean;
|
|
892
|
+
/** Toggles rendering of the `Refresh` button. */
|
|
893
|
+
showFormRefreshButton: boolean;
|
|
894
|
+
/** Field validators for use with the form. */
|
|
895
|
+
fieldValidators: FormFieldValidator[];
|
|
896
|
+
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
897
|
+
formSaved: EventEmitter<FormModel>;
|
|
898
|
+
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
899
|
+
formCompleted: EventEmitter<FormModel>;
|
|
900
|
+
/** Emitted when the form field content is clicked. */
|
|
901
|
+
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
902
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
903
|
+
formLoaded: EventEmitter<FormModel>;
|
|
904
|
+
/** Emitted when a checklist task is created. */
|
|
905
|
+
taskCreated: EventEmitter<TaskRepresentation>;
|
|
906
|
+
/** Emitted when a checklist task is deleted. */
|
|
907
|
+
taskDeleted: EventEmitter<string>;
|
|
908
|
+
/** Emitted when an error occurs. */
|
|
909
|
+
error: EventEmitter<any>;
|
|
910
|
+
/**
|
|
911
|
+
* Emitted when any outcome is executed. Default behaviour can be prevented
|
|
912
|
+
* via `event.preventDefault()`.
|
|
913
|
+
*/
|
|
914
|
+
executeOutcome: EventEmitter<FormOutcomeEvent>;
|
|
915
|
+
/** Emitted when a task is assigned. */
|
|
916
|
+
assignTask: EventEmitter<void>;
|
|
917
|
+
/** Emitted when a task is claimed. */
|
|
918
|
+
claimedTask: EventEmitter<string>;
|
|
919
|
+
/** Emitted when a task is unclaimed. */
|
|
920
|
+
unClaimedTask: EventEmitter<string>;
|
|
921
|
+
taskDetails: TaskRepresentation;
|
|
922
|
+
taskFormName: string;
|
|
923
|
+
taskPeople: LightUserRepresentation[];
|
|
924
|
+
noTaskDetailsTemplateComponent: TemplateRef<any>;
|
|
925
|
+
showAssignee: boolean;
|
|
926
|
+
showAttachForm: boolean;
|
|
927
|
+
internalReadOnlyForm: boolean;
|
|
928
|
+
errorDialogRef: MatDialogRef<TemplateRef<any>>;
|
|
929
|
+
peopleSearch: Observable<LightUserRepresentation[]>;
|
|
930
|
+
data: any;
|
|
931
|
+
private peopleSearchObserver;
|
|
932
|
+
ngOnInit(): void;
|
|
933
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
934
|
+
isAssigned(): boolean;
|
|
935
|
+
/**
|
|
936
|
+
* Complete button clicked
|
|
937
|
+
*/
|
|
938
|
+
onComplete(): void;
|
|
939
|
+
onShowAttachForm(): void;
|
|
940
|
+
onCancelAttachForm(): void;
|
|
941
|
+
onCompleteAttachForm(): void;
|
|
942
|
+
onFormContentClick(content: ContentLinkModel): void;
|
|
943
|
+
onFormSaved(form: FormModel): void;
|
|
944
|
+
onFormCompleted(form: FormModel): void;
|
|
945
|
+
onFormLoaded(form: FormModel): void;
|
|
946
|
+
onChecklistTaskCreated(task: TaskRepresentation): void;
|
|
947
|
+
onChecklistTaskDeleted(taskId: string): void;
|
|
948
|
+
onFormError(error: any): void;
|
|
949
|
+
onFormExecuteOutcome(event: FormOutcomeEvent): void;
|
|
950
|
+
closeErrorDialog(): void;
|
|
951
|
+
onClaimAction(taskId: string): void;
|
|
952
|
+
onUnclaimAction(taskId: string): void;
|
|
953
|
+
searchUser(searchedWord: string): void;
|
|
954
|
+
onCloseSearch(): void;
|
|
955
|
+
assignTaskToUser(selectedUser: LightUserRepresentation): void;
|
|
956
|
+
getTaskHeaderViewClass(): string;
|
|
957
|
+
isReadOnlyComment(): boolean;
|
|
958
|
+
private reset;
|
|
959
|
+
private updateTaskDetails;
|
|
960
|
+
private clickTaskDetails;
|
|
961
|
+
private loadDetails;
|
|
962
|
+
private loadNextTask;
|
|
963
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskDetailsComponent, never>;
|
|
964
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskDetailsComponent, "adf-task-details", never, { "taskId": { "alias": "taskId"; "required": true; }; "showNextTask": { "alias": "showNextTask"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showHeaderContent": { "alias": "showHeaderContent"; "required": false; }; "showInvolvePeople": { "alias": "showInvolvePeople"; "required": false; }; "showComments": { "alias": "showComments"; "required": false; }; "showChecklist": { "alias": "showChecklist"; "required": false; }; "showFormTitle": { "alias": "showFormTitle"; "required": false; }; "showFormCompleteButton": { "alias": "showFormCompleteButton"; "required": false; }; "showFormSaveButton": { "alias": "showFormSaveButton"; "required": false; }; "readOnlyForm": { "alias": "readOnlyForm"; "required": false; }; "showFormRefreshButton": { "alias": "showFormRefreshButton"; "required": false; }; "fieldValidators": { "alias": "fieldValidators"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "taskCreated": "taskCreated"; "taskDeleted": "taskDeleted"; "error": "error"; "executeOutcome": "executeOutcome"; "assignTask": "assignTask"; "claimedTask": "claimedTask"; "unClaimedTask": "unClaimedTask"; }, never, never, true, never>;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/*!
|
|
968
|
+
* @license
|
|
969
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
970
|
+
*
|
|
971
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
972
|
+
* you may not use this file except in compliance with the License.
|
|
973
|
+
* You may obtain a copy of the License at
|
|
974
|
+
*
|
|
975
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
976
|
+
*
|
|
977
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
978
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
979
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
980
|
+
* See the License for the specific language governing permissions and
|
|
981
|
+
* limitations under the License.
|
|
982
|
+
*/
|
|
983
|
+
|
|
984
|
+
declare class TaskHeaderComponent implements OnChanges, OnInit {
|
|
985
|
+
private readonly peopleProcessService;
|
|
986
|
+
private readonly translationService;
|
|
987
|
+
private readonly appConfig;
|
|
988
|
+
private readonly cardViewUpdateService;
|
|
989
|
+
/** The name of the form. */
|
|
990
|
+
formName: string;
|
|
991
|
+
/** (required) Details related to the task. */
|
|
992
|
+
taskDetails: TaskRepresentation;
|
|
993
|
+
/** Toggles display of the claim/release button. */
|
|
994
|
+
showClaimRelease: boolean;
|
|
995
|
+
/**
|
|
996
|
+
* (optional) This flag sets read-only mode, preventing changes.
|
|
997
|
+
*/
|
|
998
|
+
readOnly: boolean;
|
|
999
|
+
/**
|
|
1000
|
+
* Refreshes the card data when an event emitted.
|
|
1001
|
+
*/
|
|
1002
|
+
resetChanges: Subject<void>;
|
|
1003
|
+
/** Emitted when the task is claimed. */
|
|
1004
|
+
claim: EventEmitter<any>;
|
|
1005
|
+
/** Emitted when the task is unclaimed (ie, requeue). */
|
|
1006
|
+
unclaim: EventEmitter<any>;
|
|
1007
|
+
properties: any[];
|
|
1008
|
+
displayDateClearAction: boolean;
|
|
1009
|
+
dateFormat: string;
|
|
1010
|
+
dateLocale: string;
|
|
1011
|
+
private currentUserId;
|
|
1012
|
+
private readonly usersSubject$;
|
|
1013
|
+
users$: Observable<CardViewSelectItemOption<number>[]>;
|
|
1014
|
+
private readonly destroyRef;
|
|
1015
|
+
constructor();
|
|
1016
|
+
ngOnInit(): void;
|
|
1017
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1018
|
+
/**
|
|
1019
|
+
* Refresh the card data
|
|
1020
|
+
*/
|
|
1021
|
+
initData(): void;
|
|
1022
|
+
/**
|
|
1023
|
+
* Refresh the card data
|
|
1024
|
+
*/
|
|
1025
|
+
refreshData(): void;
|
|
1026
|
+
/**
|
|
1027
|
+
* Get the process parent information
|
|
1028
|
+
*
|
|
1029
|
+
* @returns a map of process instance and definition
|
|
1030
|
+
*/
|
|
1031
|
+
private getParentInfo;
|
|
1032
|
+
/**
|
|
1033
|
+
* Check if the task has an assignee
|
|
1034
|
+
*
|
|
1035
|
+
* @returns `true` if the task has an assignee, otherwise `false`
|
|
1036
|
+
*/
|
|
1037
|
+
hasAssignee(): boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* Check if the task is assigned to a user
|
|
1040
|
+
*
|
|
1041
|
+
* @param userId the id of the user to check
|
|
1042
|
+
* @returns `true` if the task assigned to a user, otherwise `false`
|
|
1043
|
+
*/
|
|
1044
|
+
isAssignedTo(userId: number): boolean;
|
|
1045
|
+
/**
|
|
1046
|
+
* Check if the task is assigned to the current user
|
|
1047
|
+
*
|
|
1048
|
+
* @returns `true` if the task assigned to current user, otherwise `false`
|
|
1049
|
+
*/
|
|
1050
|
+
isAssignedToCurrentUser(): boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* Check if the user is a candidate member
|
|
1053
|
+
*
|
|
1054
|
+
* @returns `true` if user is a candidate member, otherwise false
|
|
1055
|
+
*/
|
|
1056
|
+
isCandidateMember(): boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* Check if the task is claimable
|
|
1059
|
+
*
|
|
1060
|
+
* @returns `true` if task can be claimed, otherwise `false`
|
|
1061
|
+
*/
|
|
1062
|
+
isTaskClaimable(): boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* Return true if the task claimed by candidate member.
|
|
1065
|
+
*
|
|
1066
|
+
* @returns `true` if the task is claimed, otherwise `false`
|
|
1067
|
+
*/
|
|
1068
|
+
isTaskClaimedByCandidateMember(): boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* Get the status of the task
|
|
1071
|
+
*
|
|
1072
|
+
* @returns `Completed` or `Running`
|
|
1073
|
+
*/
|
|
1074
|
+
getTaskStatus(): 'Completed' | 'Running';
|
|
1075
|
+
/**
|
|
1076
|
+
* Emit the claim event
|
|
1077
|
+
*
|
|
1078
|
+
* @param taskId the id of the task to claim
|
|
1079
|
+
*/
|
|
1080
|
+
onClaimTask(taskId: string): void;
|
|
1081
|
+
/**
|
|
1082
|
+
* Emit the unclaim event
|
|
1083
|
+
*
|
|
1084
|
+
* @param taskId the id of the task to unclaim
|
|
1085
|
+
*/
|
|
1086
|
+
onUnclaimTask(taskId: string): void;
|
|
1087
|
+
/**
|
|
1088
|
+
* Returns the task completion state
|
|
1089
|
+
*
|
|
1090
|
+
* @returns `true` if the task is completed, otherwise `false`
|
|
1091
|
+
*/
|
|
1092
|
+
isCompleted(): boolean;
|
|
1093
|
+
/**
|
|
1094
|
+
* Check if the form is clickable
|
|
1095
|
+
*
|
|
1096
|
+
* @returns `true` if the form is clickable, otherwise `false`
|
|
1097
|
+
*/
|
|
1098
|
+
isFormClickable(): boolean;
|
|
1099
|
+
/**
|
|
1100
|
+
* Get the task duration
|
|
1101
|
+
*
|
|
1102
|
+
* @returns the task duration in milliseconds
|
|
1103
|
+
*/
|
|
1104
|
+
getTaskDuration(): string;
|
|
1105
|
+
private getUsers;
|
|
1106
|
+
private initDefaultProperties;
|
|
1107
|
+
private isValidSelection;
|
|
1108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskHeaderComponent, never>;
|
|
1109
|
+
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>;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
/*!
|
|
1113
|
+
* @license
|
|
1114
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1115
|
+
*
|
|
1116
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1117
|
+
* you may not use this file except in compliance with the License.
|
|
1118
|
+
* You may obtain a copy of the License at
|
|
1119
|
+
*
|
|
1120
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1121
|
+
*
|
|
1122
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1123
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1124
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1125
|
+
* See the License for the specific language governing permissions and
|
|
1126
|
+
* limitations under the License.
|
|
1127
|
+
*/
|
|
1128
|
+
|
|
1129
|
+
declare class StartTaskComponent implements OnInit {
|
|
1130
|
+
private readonly taskService;
|
|
1131
|
+
private readonly formBuilder;
|
|
1132
|
+
/** (required) The id of the app. */
|
|
1133
|
+
appId: number;
|
|
1134
|
+
/** Default Task Name. */
|
|
1135
|
+
name: string;
|
|
1136
|
+
/** Emitted when the task is successfully created. */
|
|
1137
|
+
success: EventEmitter<any>;
|
|
1138
|
+
/** Emitted when the cancel button is clicked by the user. */
|
|
1139
|
+
cancel: EventEmitter<void>;
|
|
1140
|
+
/** Emitted when an error occurs. */
|
|
1141
|
+
error: EventEmitter<any>;
|
|
1142
|
+
taskDetailsModel: TaskRepresentation;
|
|
1143
|
+
forms$: Observable<Form[]>;
|
|
1144
|
+
assigneeId: number;
|
|
1145
|
+
field: FormFieldModel;
|
|
1146
|
+
taskForm: UntypedFormGroup;
|
|
1147
|
+
dateError: boolean;
|
|
1148
|
+
maxTaskNameLength: number;
|
|
1149
|
+
loading: boolean;
|
|
1150
|
+
dateErrorStateMatcher: ErrorStateMatcher;
|
|
1151
|
+
private readonly destroyRef;
|
|
1152
|
+
ngOnInit(): void;
|
|
1153
|
+
buildForm(): void;
|
|
1154
|
+
private whitespaceValidator;
|
|
1155
|
+
setTaskDetails(form: any): void;
|
|
1156
|
+
isFormValid(): boolean;
|
|
1157
|
+
saveTask(): void;
|
|
1158
|
+
setAssigneeId(userId: number): void;
|
|
1159
|
+
onCancel(): void;
|
|
1160
|
+
getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
|
|
1161
|
+
onDateChanged(newDateValue: Date | string): void;
|
|
1162
|
+
private validateMaxTaskNameLength;
|
|
1163
|
+
get nameController(): AbstractControl;
|
|
1164
|
+
get descriptionController(): AbstractControl;
|
|
1165
|
+
private attachForm;
|
|
1166
|
+
private assignTaskByUserId;
|
|
1167
|
+
private loadFormsTask;
|
|
1168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartTaskComponent, never>;
|
|
1169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartTaskComponent, "adf-start-task", never, { "appId": { "alias": "appId"; "required": true; }; "name": { "alias": "name"; "required": false; }; }, { "success": "success"; "cancel": "cancel"; "error": "error"; }, never, never, true, never>;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/*!
|
|
1173
|
+
* @license
|
|
1174
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1175
|
+
*
|
|
1176
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1177
|
+
* you may not use this file except in compliance with the License.
|
|
1178
|
+
* You may obtain a copy of the License at
|
|
1179
|
+
*
|
|
1180
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1181
|
+
*
|
|
1182
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1183
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1184
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1185
|
+
* See the License for the specific language governing permissions and
|
|
1186
|
+
* limitations under the License.
|
|
1187
|
+
*/
|
|
1188
|
+
|
|
1189
|
+
declare class TaskStandaloneComponent {
|
|
1190
|
+
/** Name of the task. */
|
|
1191
|
+
taskName: string;
|
|
1192
|
+
/** Id of the task. */
|
|
1193
|
+
taskId: string;
|
|
1194
|
+
/** If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden. */
|
|
1195
|
+
isCompleted: boolean;
|
|
1196
|
+
/** Toggles rendering of the `Complete` button. */
|
|
1197
|
+
hasCompletePermission: boolean;
|
|
1198
|
+
/** Toggles rendering of the `Cancel` button. */
|
|
1199
|
+
hideCancelButton: boolean;
|
|
1200
|
+
/** Emitted when the "Cancel" button is clicked. */
|
|
1201
|
+
cancel: EventEmitter<void>;
|
|
1202
|
+
/** Emitted when the form associated with the task is completed. */
|
|
1203
|
+
complete: EventEmitter<void>;
|
|
1204
|
+
/** Emitted when the form associated with the form task is attached. */
|
|
1205
|
+
showAttachForm: EventEmitter<void>;
|
|
1206
|
+
onCancelButtonClick(): void;
|
|
1207
|
+
onCompleteButtonClick(): void;
|
|
1208
|
+
hasCompleteButton(): boolean;
|
|
1209
|
+
hasCancelButton(): boolean;
|
|
1210
|
+
hasAttachFormButton(): boolean;
|
|
1211
|
+
onShowAttachForm(): void;
|
|
1212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStandaloneComponent, never>;
|
|
1213
|
+
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>;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
declare class TaskListService {
|
|
1217
|
+
protected apiService: AlfrescoApiService;
|
|
1218
|
+
readonly modelsApi: ModelsApi;
|
|
1219
|
+
readonly tasksApi: TasksApi;
|
|
1220
|
+
readonly taskActionsApi: TaskActionsApi;
|
|
1221
|
+
readonly checklistsApi: ChecklistsApi;
|
|
1222
|
+
/**
|
|
1223
|
+
* Gets all the filters in the list that belong to a task.
|
|
1224
|
+
*
|
|
1225
|
+
* @param taskId ID of the target task
|
|
1226
|
+
* @param filterList List of filters to search through
|
|
1227
|
+
* @returns Filters belonging to the task
|
|
1228
|
+
*/
|
|
1229
|
+
getFilterForTaskById(taskId: string, filterList: UserTaskFilterRepresentation[]): Observable<UserTaskFilterRepresentation>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Checks if a taskId is filtered with the given filter.
|
|
1232
|
+
*
|
|
1233
|
+
* @param taskId ID of the target task
|
|
1234
|
+
* @param filterModel The filter you want to check
|
|
1235
|
+
* @returns The filter if it is related or null otherwise
|
|
1236
|
+
*/
|
|
1237
|
+
isTaskRelatedToFilter(taskId: string, filterModel: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Gets all the tasks matching the supplied query.
|
|
1240
|
+
*
|
|
1241
|
+
* @param requestNode Query to search for tasks
|
|
1242
|
+
* @returns List of tasks
|
|
1243
|
+
*/
|
|
1244
|
+
getTasks(requestNode: TaskQueryRepresentation): Observable<ResultListDataRepresentationTaskRepresentation>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Gets tasks matching a query and state value.
|
|
1247
|
+
*
|
|
1248
|
+
* @param requestNode Query to search for tasks
|
|
1249
|
+
* @returns List of tasks
|
|
1250
|
+
*/
|
|
1251
|
+
findTasksByState(requestNode: TaskQueryRepresentation): Observable<ResultListDataRepresentationTaskRepresentation>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Gets details for a task.
|
|
1254
|
+
*
|
|
1255
|
+
* @param taskId ID of the target task.
|
|
1256
|
+
* @returns Task details
|
|
1257
|
+
*/
|
|
1258
|
+
getTaskDetails(taskId: string): Observable<TaskRepresentation>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Gets the checklist for a task.
|
|
1261
|
+
*
|
|
1262
|
+
* @param id ID of the target task
|
|
1263
|
+
* @returns Array of checklist task details
|
|
1264
|
+
*/
|
|
1265
|
+
getTaskChecklist(id: string): Observable<TaskRepresentation[]>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Gets all available reusable forms.
|
|
1268
|
+
*
|
|
1269
|
+
* @returns Array of form details
|
|
1270
|
+
*/
|
|
1271
|
+
getFormList(): Observable<Form[]>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Attaches a form to a task.
|
|
1274
|
+
*
|
|
1275
|
+
* @param taskId ID of the target task
|
|
1276
|
+
* @param formId ID of the form to add
|
|
1277
|
+
* @returns Null response notifying when the operation is complete
|
|
1278
|
+
*/
|
|
1279
|
+
attachFormToATask(taskId: string, formId: number): Observable<any>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Adds a subtask (ie, a checklist task) to a parent task.
|
|
1282
|
+
*
|
|
1283
|
+
* @param task The task to add
|
|
1284
|
+
* @returns The subtask that was added
|
|
1285
|
+
*/
|
|
1286
|
+
addTask(task: TaskRepresentation): Observable<TaskRepresentation>;
|
|
1287
|
+
/**
|
|
1288
|
+
* Deletes a subtask (ie, a checklist task) from a parent task.
|
|
1289
|
+
*
|
|
1290
|
+
* @param taskId The task to delete
|
|
1291
|
+
* @returns Null response notifying when the operation is complete
|
|
1292
|
+
*/
|
|
1293
|
+
deleteTask(taskId: string): Observable<any>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Deletes a form from a task.
|
|
1296
|
+
*
|
|
1297
|
+
* @param taskId Task id related to form
|
|
1298
|
+
* @returns Null response notifying when the operation is complete
|
|
1299
|
+
*/
|
|
1300
|
+
deleteForm(taskId: string): Observable<any>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Gives completed status to a task.
|
|
1303
|
+
*
|
|
1304
|
+
* @param taskId ID of the target task
|
|
1305
|
+
* @returns Null response notifying when the operation is complete
|
|
1306
|
+
*/
|
|
1307
|
+
completeTask(taskId: string): Observable<any>;
|
|
1308
|
+
/**
|
|
1309
|
+
* Creates a new standalone task.
|
|
1310
|
+
*
|
|
1311
|
+
* @param task Details of the new task
|
|
1312
|
+
* @returns Details of the newly created task
|
|
1313
|
+
*/
|
|
1314
|
+
createNewTask(task: TaskRepresentation): Observable<TaskRepresentation>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Assigns a task to a user or group.
|
|
1317
|
+
*
|
|
1318
|
+
* @param taskId The task to assign
|
|
1319
|
+
* @param requestNode User or group to assign the task to
|
|
1320
|
+
* @returns Details of the assigned task
|
|
1321
|
+
*/
|
|
1322
|
+
assignTask(taskId: string, requestNode: any): Observable<TaskRepresentation>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Assigns a task to a user.
|
|
1325
|
+
*
|
|
1326
|
+
* @param taskId ID of the task to assign
|
|
1327
|
+
* @param userId ID of the user to assign the task to
|
|
1328
|
+
* @returns Details of the assigned task
|
|
1329
|
+
*/
|
|
1330
|
+
assignTaskByUserId(taskId: string, userId: string): Observable<TaskRepresentation>;
|
|
1331
|
+
/**
|
|
1332
|
+
* Claims a task for the current user.
|
|
1333
|
+
*
|
|
1334
|
+
* @param taskId ID of the task to claim
|
|
1335
|
+
* @returns Details of the claimed task
|
|
1336
|
+
*/
|
|
1337
|
+
claimTask(taskId: string): Observable<TaskRepresentation>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Un-claims a task for the current user.
|
|
1340
|
+
*
|
|
1341
|
+
* @param taskId ID of the task to unclaim
|
|
1342
|
+
* @returns Null response notifying when the operation is complete
|
|
1343
|
+
*/
|
|
1344
|
+
unclaimTask(taskId: string): Observable<TaskRepresentation>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Updates the details (name, description, due date) for a task.
|
|
1347
|
+
*
|
|
1348
|
+
* @param taskId ID of the task to update
|
|
1349
|
+
* @param updated Data to update the task (as a `TaskUpdateRepresentation` instance).
|
|
1350
|
+
* @returns Updated task details
|
|
1351
|
+
*/
|
|
1352
|
+
updateTask(taskId: string, updated: TaskUpdateRepresentation): Observable<TaskRepresentation>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Fetches the Task Audit information in PDF format.
|
|
1355
|
+
*
|
|
1356
|
+
* @param taskId ID of the target task
|
|
1357
|
+
* @returns Binary PDF data
|
|
1358
|
+
*/
|
|
1359
|
+
fetchTaskAuditPdfById(taskId: string): Observable<Blob>;
|
|
1360
|
+
/**
|
|
1361
|
+
* Fetch the Task Audit information in JSON format
|
|
1362
|
+
*
|
|
1363
|
+
* @param taskId ID of the target task
|
|
1364
|
+
* @returns JSON data
|
|
1365
|
+
*/
|
|
1366
|
+
fetchTaskAuditJsonById(taskId: string): Observable<any>;
|
|
1367
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListService, never>;
|
|
1368
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskListService>;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/*!
|
|
1372
|
+
* @license
|
|
1373
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1374
|
+
*
|
|
1375
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1376
|
+
* you may not use this file except in compliance with the License.
|
|
1377
|
+
* You may obtain a copy of the License at
|
|
1378
|
+
*
|
|
1379
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1380
|
+
*
|
|
1381
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1382
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1383
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1384
|
+
* See the License for the specific language governing permissions and
|
|
1385
|
+
* limitations under the License.
|
|
1386
|
+
*/
|
|
1387
|
+
|
|
1388
|
+
declare class ProcessUploadService extends UploadService {
|
|
1389
|
+
readonly contentApi: ActivitiContentApi;
|
|
1390
|
+
getUploadPromise(file: any): Promise<RelatedContentRepresentation>;
|
|
1391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessUploadService, never>;
|
|
1392
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessUploadService>;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/*!
|
|
1396
|
+
* @license
|
|
1397
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1398
|
+
*
|
|
1399
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1400
|
+
* you may not use this file except in compliance with the License.
|
|
1401
|
+
* You may obtain a copy of the License at
|
|
1402
|
+
*
|
|
1403
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1404
|
+
*
|
|
1405
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1406
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1407
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1408
|
+
* See the License for the specific language governing permissions and
|
|
1409
|
+
* limitations under the License.
|
|
1410
|
+
*/
|
|
1411
|
+
|
|
1412
|
+
declare class TaskUploadService extends UploadService {
|
|
1413
|
+
readonly contentApi: ActivitiContentApi;
|
|
1414
|
+
getUploadPromise(file: any): Promise<RelatedContentRepresentation>;
|
|
1415
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskUploadService, never>;
|
|
1416
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskUploadService>;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
declare class TaskFilterService {
|
|
1420
|
+
protected apiService: AlfrescoApiService;
|
|
1421
|
+
readonly userFiltersApi: UserFiltersApi;
|
|
1422
|
+
/**
|
|
1423
|
+
* Creates and returns the default filters for a process app.
|
|
1424
|
+
*
|
|
1425
|
+
* @param appId ID of the target app
|
|
1426
|
+
* @returns Array of default filters just created
|
|
1427
|
+
*/
|
|
1428
|
+
createDefaultFilters(appId: number): Observable<UserTaskFilterRepresentation[]>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Gets all task filters for a process app.
|
|
1431
|
+
*
|
|
1432
|
+
* @param appId Optional ID for a specific app
|
|
1433
|
+
* @returns Array of task filter details
|
|
1434
|
+
*/
|
|
1435
|
+
getTaskListFilters(appId?: number): Observable<UserTaskFilterRepresentation[]>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Checks if a filter with the given name already exists in the list of filters.
|
|
1438
|
+
*
|
|
1439
|
+
* @param filters - An array of objects representing the existing filters.
|
|
1440
|
+
* @param filterName - The name of the filter to check for existence.
|
|
1441
|
+
* @returns - True if a filter with the specified name already exists, false otherwise.
|
|
1442
|
+
*/
|
|
1443
|
+
isFilterAlreadyExisting(filters: UserTaskFilterRepresentation[], filterName: string): boolean;
|
|
1444
|
+
/**
|
|
1445
|
+
* Gets a task filter by ID.
|
|
1446
|
+
*
|
|
1447
|
+
* @param filterId ID of the filter
|
|
1448
|
+
* @param appId ID of the app for the filter
|
|
1449
|
+
* @returns Details of task filter
|
|
1450
|
+
*/
|
|
1451
|
+
getTaskFilterById(filterId: number, appId?: number): Observable<UserTaskFilterRepresentation>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Gets a task filter by name.
|
|
1454
|
+
*
|
|
1455
|
+
* @param taskName Name of the filter
|
|
1456
|
+
* @param appId ID of the app for the filter
|
|
1457
|
+
* @returns Details of task filter
|
|
1458
|
+
*/
|
|
1459
|
+
getTaskFilterByName(taskName: string, appId?: number): Observable<UserTaskFilterRepresentation>;
|
|
1460
|
+
/**
|
|
1461
|
+
* Adds a new task filter
|
|
1462
|
+
*
|
|
1463
|
+
* @param filter The new filter to add
|
|
1464
|
+
* @returns Details of task filter just added
|
|
1465
|
+
*/
|
|
1466
|
+
addFilter(filter: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
1467
|
+
/**
|
|
1468
|
+
* Update a task filter
|
|
1469
|
+
*
|
|
1470
|
+
* @param filterId existing filter id
|
|
1471
|
+
* @param updatedFilter updated filter body
|
|
1472
|
+
* @returns Observable<UserTaskFilterRepresentation>
|
|
1473
|
+
*/
|
|
1474
|
+
updateTaskFilter(filterId: number, updatedFilter: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
1475
|
+
/**
|
|
1476
|
+
* Calls `getUserTaskFilters` from the Alfresco JS API.
|
|
1477
|
+
*
|
|
1478
|
+
* @param appId ID of the target app
|
|
1479
|
+
* @returns List of task filters
|
|
1480
|
+
*/
|
|
1481
|
+
callApiTaskFilters(appId?: number): Promise<any>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Creates and returns a filter for "My Tasks" task instances.
|
|
1484
|
+
*
|
|
1485
|
+
* @param appId ID of the target app
|
|
1486
|
+
* @param index of the filter (optional)
|
|
1487
|
+
* @returns The newly created filter
|
|
1488
|
+
*/
|
|
1489
|
+
getMyTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
1490
|
+
/**
|
|
1491
|
+
* Creates and returns a filter for "Overdue" task instances.
|
|
1492
|
+
*
|
|
1493
|
+
* @param appId ID of the target app
|
|
1494
|
+
* @param index of the filter (optional)
|
|
1495
|
+
* @returns The newly created filter
|
|
1496
|
+
*/
|
|
1497
|
+
getOverdueTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
1498
|
+
/**
|
|
1499
|
+
* Creates and returns a filter for "Unassigned Tasks" task instances.
|
|
1500
|
+
*
|
|
1501
|
+
* @param appId ID of the target app
|
|
1502
|
+
* @param index of the filter (optional)
|
|
1503
|
+
* @returns The newly created filter
|
|
1504
|
+
*/
|
|
1505
|
+
getUnassignedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
1506
|
+
/**
|
|
1507
|
+
* Creates and returns a filter for "Completed" task instances.
|
|
1508
|
+
*
|
|
1509
|
+
* @param appId ID of the target app
|
|
1510
|
+
* @param index of the filter (optional)
|
|
1511
|
+
* @returns The newly created filter
|
|
1512
|
+
*/
|
|
1513
|
+
getCompletedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
1514
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFilterService, never>;
|
|
1515
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskFilterService>;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/*!
|
|
1519
|
+
* @license
|
|
1520
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1521
|
+
*
|
|
1522
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1523
|
+
* you may not use this file except in compliance with the License.
|
|
1524
|
+
* You may obtain a copy of the License at
|
|
1525
|
+
*
|
|
1526
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1527
|
+
*
|
|
1528
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1529
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1530
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1531
|
+
* See the License for the specific language governing permissions and
|
|
1532
|
+
* limitations under the License.
|
|
1533
|
+
*/
|
|
1534
|
+
|
|
1535
|
+
declare class TaskDetailsEvent {
|
|
1536
|
+
private readonly _value;
|
|
1537
|
+
private _defaultPrevented;
|
|
1538
|
+
get value(): TaskRepresentation;
|
|
1539
|
+
get defaultPrevented(): boolean;
|
|
1540
|
+
constructor(value: TaskRepresentation);
|
|
1541
|
+
preventDefault(): void;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/*!
|
|
1545
|
+
* @license
|
|
1546
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1547
|
+
*
|
|
1548
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1549
|
+
* you may not use this file except in compliance with the License.
|
|
1550
|
+
* You may obtain a copy of the License at
|
|
1551
|
+
*
|
|
1552
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1553
|
+
*
|
|
1554
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1555
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1556
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1557
|
+
* See the License for the specific language governing permissions and
|
|
1558
|
+
* limitations under the License.
|
|
1559
|
+
*/
|
|
1
1560
|
/**
|
|
2
|
-
*
|
|
1561
|
+
* This object represent the User Event.
|
|
1562
|
+
*/
|
|
1563
|
+
interface UserEventModel {
|
|
1564
|
+
type: string;
|
|
1565
|
+
value: any;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/*!
|
|
1569
|
+
* @license
|
|
1570
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1571
|
+
*
|
|
1572
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1573
|
+
* you may not use this file except in compliance with the License.
|
|
1574
|
+
* You may obtain a copy of the License at
|
|
1575
|
+
*
|
|
1576
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1577
|
+
*
|
|
1578
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1579
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1580
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1581
|
+
* See the License for the specific language governing permissions and
|
|
1582
|
+
* limitations under the License.
|
|
1583
|
+
*/
|
|
1584
|
+
/**
|
|
1585
|
+
* This object represent the process service user group.*
|
|
1586
|
+
*/
|
|
1587
|
+
interface UserGroupModel {
|
|
1588
|
+
id?: number;
|
|
1589
|
+
name?: string;
|
|
1590
|
+
externalId?: string;
|
|
1591
|
+
status?: string;
|
|
1592
|
+
groups?: any;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/*!
|
|
1596
|
+
* @license
|
|
1597
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1598
|
+
*
|
|
1599
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1600
|
+
* you may not use this file except in compliance with the License.
|
|
1601
|
+
* You may obtain a copy of the License at
|
|
1602
|
+
*
|
|
1603
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1604
|
+
*
|
|
1605
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1606
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1607
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1608
|
+
* See the License for the specific language governing permissions and
|
|
1609
|
+
* limitations under the License.
|
|
1610
|
+
*/
|
|
1611
|
+
|
|
1612
|
+
declare const TASK_LIST_DIRECTIVES: readonly [typeof TaskFormComponent, typeof AttachFormComponent, typeof ChecklistComponent, typeof TaskFiltersComponent, typeof TaskListComponent, typeof TaskDetailsComponent, typeof TaskHeaderComponent, typeof StartTaskComponent, typeof TaskStandaloneComponent, typeof ClaimTaskDirective, typeof UnclaimTaskDirective];
|
|
1613
|
+
|
|
1614
|
+
/*!
|
|
1615
|
+
* @license
|
|
1616
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1617
|
+
*
|
|
1618
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1619
|
+
* you may not use this file except in compliance with the License.
|
|
1620
|
+
* You may obtain a copy of the License at
|
|
1621
|
+
*
|
|
1622
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1623
|
+
*
|
|
1624
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1625
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1626
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1627
|
+
* See the License for the specific language governing permissions and
|
|
1628
|
+
* limitations under the License.
|
|
1629
|
+
*/
|
|
1630
|
+
|
|
1631
|
+
declare class ProcessInstanceHeaderComponent implements OnChanges {
|
|
1632
|
+
private readonly translationService;
|
|
1633
|
+
private readonly appConfig;
|
|
1634
|
+
/** (**required**) Full details of the process instance to display information about. */
|
|
1635
|
+
processInstance: ProcessInstanceRepresentation;
|
|
1636
|
+
properties: CardViewItem[];
|
|
1637
|
+
dateFormat: string;
|
|
1638
|
+
dateLocale: string;
|
|
1639
|
+
constructor();
|
|
1640
|
+
ngOnChanges(): void;
|
|
1641
|
+
refreshData(): void;
|
|
1642
|
+
getProcessStatus(): string;
|
|
1643
|
+
getStartedByFullName(): string;
|
|
1644
|
+
isRunning(): boolean;
|
|
1645
|
+
private initDefaultProperties;
|
|
1646
|
+
private isValidSelection;
|
|
1647
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceHeaderComponent, never>;
|
|
1648
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceHeaderComponent, "adf-process-instance-header", never, { "processInstance": { "alias": "processInstance"; "required": true; }; }, {}, never, never, true, never>;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
declare class ProcessInstanceTasksComponent implements OnInit, OnChanges {
|
|
1652
|
+
private readonly processService;
|
|
1653
|
+
private readonly dialog;
|
|
1654
|
+
/** The ID of the process instance to display tasks for. */
|
|
1655
|
+
processInstanceDetails: ProcessInstanceRepresentation;
|
|
1656
|
+
/**
|
|
1657
|
+
* Toggles whether to show a refresh button next to the list of tasks to allow
|
|
1658
|
+
* it to be updated from the server.
|
|
1659
|
+
*/
|
|
1660
|
+
showRefreshButton: boolean;
|
|
1661
|
+
/** Emitted when an error occurs. */
|
|
1662
|
+
error: EventEmitter<any>;
|
|
1663
|
+
startDialog: any;
|
|
1664
|
+
taskDetails: any;
|
|
1665
|
+
/** Emitted when a task is clicked. */
|
|
1666
|
+
taskClick: EventEmitter<TaskDetailsEvent>;
|
|
1667
|
+
activeTasks: TaskRepresentation[];
|
|
1668
|
+
completedTasks: TaskRepresentation[];
|
|
1669
|
+
task$: Observable<TaskRepresentation>;
|
|
1670
|
+
completedTask$: Observable<TaskRepresentation>;
|
|
1671
|
+
message: string;
|
|
1672
|
+
processId: string;
|
|
1673
|
+
private taskObserver;
|
|
1674
|
+
private completedTaskObserver;
|
|
1675
|
+
private readonly destroyRef;
|
|
1676
|
+
constructor();
|
|
1677
|
+
ngOnInit(): void;
|
|
1678
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1679
|
+
load(processInstanceId: string): void;
|
|
1680
|
+
loadActive(processInstanceId: string): void;
|
|
1681
|
+
loadCompleted(processInstanceId: string): void;
|
|
1682
|
+
hasStartFormDefined(): boolean;
|
|
1683
|
+
getUserFullName(user: any): string;
|
|
1684
|
+
getFormatDate(value: any, format: string): any;
|
|
1685
|
+
clickTask(task: TaskRepresentation): void;
|
|
1686
|
+
clickStartTask(): void;
|
|
1687
|
+
showStartDialog(): void;
|
|
1688
|
+
closeStartDialog(): void;
|
|
1689
|
+
onRefreshClicked(): void;
|
|
1690
|
+
onFormContentClick(): void;
|
|
1691
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceTasksComponent, never>;
|
|
1692
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceTasksComponent, "adf-process-instance-tasks", never, { "processInstanceDetails": { "alias": "processInstanceDetails"; "required": true; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; }, { "error": "error"; "taskClick": "taskClick"; }, never, never, true, never>;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
declare class ProcessInstanceDetailsComponent implements OnChanges {
|
|
1696
|
+
private readonly processService;
|
|
1697
|
+
/** (required) The numeric ID of the process instance to display. */
|
|
1698
|
+
processInstanceId: string;
|
|
1699
|
+
processInstanceHeader: ProcessInstanceHeaderComponent;
|
|
1700
|
+
tasksList: ProcessInstanceTasksComponent;
|
|
1701
|
+
/** Toggles whether to show or hide the title. */
|
|
1702
|
+
showTitle: boolean;
|
|
1703
|
+
/** Toggles whether to show or hide the refresh button. */
|
|
1704
|
+
showRefreshButton: boolean;
|
|
1705
|
+
/** Emitted when the current process is cancelled by the user from within the component. */
|
|
1706
|
+
processCancelled: EventEmitter<any>;
|
|
1707
|
+
/** Emitted when an error occurs. */
|
|
1708
|
+
error: EventEmitter<any>;
|
|
1709
|
+
/** Emitted when a task is clicked. */
|
|
1710
|
+
taskClick: EventEmitter<TaskDetailsEvent>;
|
|
1711
|
+
/** Emitted when the "show diagram" button is clicked. */
|
|
1712
|
+
showProcessDiagram: EventEmitter<any>;
|
|
1713
|
+
processInstanceDetails: ProcessInstanceRepresentation;
|
|
1714
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1715
|
+
/**
|
|
1716
|
+
* Reset the task detail
|
|
1717
|
+
*/
|
|
1718
|
+
reset(): void;
|
|
1719
|
+
load(processId: string): void;
|
|
1720
|
+
isRunning(): boolean;
|
|
1721
|
+
cancelProcess(): void;
|
|
1722
|
+
onTaskClicked(event: TaskDetailsEvent): void;
|
|
1723
|
+
getProcessNameOrDescription(dateFormat: string): string;
|
|
1724
|
+
getFormatDate(value: any, format: string): any;
|
|
1725
|
+
onShowProcessDiagram(): void;
|
|
1726
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessInstanceDetailsComponent, never>;
|
|
1727
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessInstanceDetailsComponent, "adf-process-instance-details", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; }, { "processCancelled": "processCancelled"; "error": "error"; "taskClick": "taskClick"; "showProcessDiagram": "showProcessDiagram"; }, never, never, true, never>;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
declare class FormCustomOutcomesComponent {
|
|
1731
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormCustomOutcomesComponent, never>;
|
|
1732
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCustomOutcomesComponent, "adf-form-custom-outcomes", never, {}, {}, never, ["*"], true, never>;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
/*!
|
|
1736
|
+
* @license
|
|
1737
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1738
|
+
*
|
|
1739
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1740
|
+
* you may not use this file except in compliance with the License.
|
|
1741
|
+
* You may obtain a copy of the License at
|
|
1742
|
+
*
|
|
1743
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1744
|
+
*
|
|
1745
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1746
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1747
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1748
|
+
* See the License for the specific language governing permissions and
|
|
1749
|
+
* limitations under the License.
|
|
1750
|
+
*/
|
|
1751
|
+
|
|
1752
|
+
declare class DynamicRowValidationSummary extends ErrorMessageModel {
|
|
1753
|
+
isValid: boolean;
|
|
1754
|
+
constructor(json?: any);
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/*!
|
|
1758
|
+
* @license
|
|
1759
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1760
|
+
*
|
|
1761
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1762
|
+
* you may not use this file except in compliance with the License.
|
|
1763
|
+
* You may obtain a copy of the License at
|
|
1764
|
+
*
|
|
1765
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1766
|
+
*
|
|
1767
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1768
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1769
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1770
|
+
* See the License for the specific language governing permissions and
|
|
1771
|
+
* limitations under the License.
|
|
1772
|
+
*/
|
|
1773
|
+
interface DynamicTableRow {
|
|
1774
|
+
isNew: boolean;
|
|
1775
|
+
selected: boolean;
|
|
1776
|
+
value: any;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/*!
|
|
1780
|
+
* @license
|
|
1781
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1782
|
+
*
|
|
1783
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1784
|
+
* you may not use this file except in compliance with the License.
|
|
1785
|
+
* You may obtain a copy of the License at
|
|
1786
|
+
*
|
|
1787
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1788
|
+
*
|
|
1789
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1790
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1791
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1792
|
+
* See the License for the specific language governing permissions and
|
|
1793
|
+
* limitations under the License.
|
|
1794
|
+
*/
|
|
1795
|
+
|
|
1796
|
+
declare class ValidateDynamicTableRowEvent extends FormFieldEvent {
|
|
1797
|
+
row: DynamicTableRow;
|
|
1798
|
+
summary: DynamicRowValidationSummary;
|
|
1799
|
+
isValid: boolean;
|
|
1800
|
+
constructor(form: FormModel, field: FormFieldModel, row: DynamicTableRow, summary: DynamicRowValidationSummary);
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
declare class ModelService {
|
|
1804
|
+
private readonly apiService;
|
|
1805
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
1806
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
1807
|
+
readonly modelsApi: ModelsApi;
|
|
1808
|
+
/**
|
|
1809
|
+
* Create a Form.
|
|
1810
|
+
*
|
|
1811
|
+
* @param formName Name of the new form
|
|
1812
|
+
* @returns The new form
|
|
1813
|
+
*/
|
|
1814
|
+
createForm(formName: string): Observable<any>;
|
|
1815
|
+
/**
|
|
1816
|
+
* Gets all the forms.
|
|
1817
|
+
*
|
|
1818
|
+
* @returns List of form models
|
|
1819
|
+
*/
|
|
1820
|
+
getForms(): Observable<any>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Creates a JSON array representation of form data.
|
|
1823
|
+
*
|
|
1824
|
+
* @param res Object representing form data
|
|
1825
|
+
* @returns JSON data
|
|
1826
|
+
*/
|
|
1827
|
+
toJsonArray(res: any): any;
|
|
1828
|
+
/**
|
|
1829
|
+
* Searches for a form by name.
|
|
1830
|
+
*
|
|
1831
|
+
* @param name The form name to search for
|
|
1832
|
+
* @returns Form model(s) matching the search name
|
|
1833
|
+
*/
|
|
1834
|
+
searchFrom(name: string): Observable<any>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Gets the form definition with a given name.
|
|
1837
|
+
*
|
|
1838
|
+
* @param name The form name
|
|
1839
|
+
* @returns Form definition
|
|
1840
|
+
*/
|
|
1841
|
+
getFormDefinitionByName(name: string): Observable<any>;
|
|
1842
|
+
/**
|
|
1843
|
+
* Gets the ID of a form.
|
|
1844
|
+
*
|
|
1845
|
+
* @param form Object representing a form
|
|
1846
|
+
* @returns ID string
|
|
1847
|
+
*/
|
|
1848
|
+
getFormId(form: any): string;
|
|
1849
|
+
/**
|
|
1850
|
+
* Reports an error message.
|
|
1851
|
+
*
|
|
1852
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
1853
|
+
* @returns Error message
|
|
1854
|
+
*/
|
|
1855
|
+
private handleError;
|
|
1856
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelService, never>;
|
|
1857
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModelService>;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/*!
|
|
1861
|
+
* @license
|
|
1862
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1863
|
+
*
|
|
1864
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1865
|
+
* you may not use this file except in compliance with the License.
|
|
1866
|
+
* You may obtain a copy of the License at
|
|
1867
|
+
*
|
|
1868
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1869
|
+
*
|
|
1870
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1871
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1872
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1873
|
+
* See the License for the specific language governing permissions and
|
|
1874
|
+
* limitations under the License.
|
|
1875
|
+
*/
|
|
1876
|
+
|
|
1877
|
+
declare class FormListComponent implements OnChanges {
|
|
1878
|
+
protected modelService: ModelService;
|
|
1879
|
+
/** The array that contains the information to show inside the list. */
|
|
1880
|
+
forms: any[];
|
|
1881
|
+
ngOnChanges(): void;
|
|
1882
|
+
isEmpty(): boolean;
|
|
1883
|
+
getForms(): void;
|
|
1884
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormListComponent, never>;
|
|
1885
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormListComponent, "adf-form-list", never, { "forms": { "alias": "forms"; "required": false; }; }, {}, never, never, true, never>;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
/*!
|
|
1889
|
+
* @license
|
|
1890
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
1891
|
+
*
|
|
1892
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1893
|
+
* you may not use this file except in compliance with the License.
|
|
1894
|
+
* You may obtain a copy of the License at
|
|
1895
|
+
*
|
|
1896
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1897
|
+
*
|
|
1898
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1899
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1900
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1901
|
+
* See the License for the specific language governing permissions and
|
|
1902
|
+
* limitations under the License.
|
|
1903
|
+
*/
|
|
1904
|
+
|
|
1905
|
+
declare class FormDefinitionModel extends FormSaveRepresentation {
|
|
1906
|
+
reusable: boolean;
|
|
1907
|
+
newVersion: boolean;
|
|
1908
|
+
formRepresentation: any;
|
|
1909
|
+
formImageBase64: string;
|
|
1910
|
+
constructor(id: string, name: any, lastUpdatedByFullName: string, lastUpdated: string, metadata: any);
|
|
1911
|
+
private metadataToFields;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
declare class ActivitiContentService {
|
|
1915
|
+
private readonly apiService;
|
|
1916
|
+
private readonly sitesService;
|
|
1917
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
1918
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
1919
|
+
readonly integrationAlfrescoOnPremiseApi: IntegrationAlfrescoOnPremiseApi;
|
|
1920
|
+
readonly contentApi: ActivitiContentApi;
|
|
1921
|
+
/**
|
|
1922
|
+
* Returns a list of child nodes below the specified folder
|
|
1923
|
+
*
|
|
1924
|
+
* @param accountId account id
|
|
1925
|
+
* @param folderId folder id
|
|
1926
|
+
* @returns list of external content instances
|
|
1927
|
+
*/
|
|
1928
|
+
getAlfrescoNodes(accountId: string, folderId: string): Observable<AlfrescoContentRepresentation[]>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Returns a list of all the repositories configured
|
|
1931
|
+
*
|
|
1932
|
+
* @param tenantId tenant id
|
|
1933
|
+
* @param includeAccount include accounts
|
|
1934
|
+
* @returns list of endpoints
|
|
1935
|
+
*/
|
|
1936
|
+
getAlfrescoRepositories(tenantId?: string, includeAccount?: boolean): Observable<AlfrescoEndpointRepresentation[]>;
|
|
1937
|
+
/**
|
|
1938
|
+
* Returns a list of child nodes below the specified folder
|
|
1939
|
+
*
|
|
1940
|
+
* @param accountId account id
|
|
1941
|
+
* @param node node details
|
|
1942
|
+
* @param siteId site id
|
|
1943
|
+
* @returns link to external content
|
|
1944
|
+
*/
|
|
1945
|
+
linkAlfrescoNode(accountId: string, node: ExternalContent, siteId: string): Observable<RelatedContentRepresentation>;
|
|
1946
|
+
applyAlfrescoNode(node: Node, siteId: string, accountId: string): Observable<RelatedContentRepresentation>;
|
|
1947
|
+
private handleError;
|
|
1948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivitiContentService, never>;
|
|
1949
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActivitiContentService>;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
declare class EcmModelService {
|
|
1953
|
+
private readonly apiService;
|
|
1954
|
+
static MODEL_NAMESPACE: string;
|
|
1955
|
+
static MODEL_NAME: string;
|
|
1956
|
+
static TYPE_MODEL: string;
|
|
1957
|
+
error: EventEmitter<any>;
|
|
1958
|
+
readonly customModelApi: CustomModelApi;
|
|
1959
|
+
createEcmTypeForActivitiForm(formName: string, form: FormModel): Observable<any>;
|
|
1960
|
+
searchActivitiEcmModel(): Observable<any>;
|
|
1961
|
+
createActivitiEcmModel(formName: string, form: FormModel): Observable<any>;
|
|
1962
|
+
saveFomType(formName: string, form: FormModel): Observable<any>;
|
|
1963
|
+
createEcmTypeWithProperties(formName: string, form: FormModel): Observable<any>;
|
|
1964
|
+
searchEcmType(typeName: string, modelName: string): Observable<any>;
|
|
1965
|
+
activeEcmModel(modelName: string): Observable<any>;
|
|
1966
|
+
createEcmModel(modelName: string, nameSpace: string): Observable<any>;
|
|
1967
|
+
getEcmModels(): Observable<any>;
|
|
1968
|
+
getEcmType(modelName: string): Observable<any>;
|
|
1969
|
+
createEcmType(typeName: string, modelName: string, parentType: string): Observable<any>;
|
|
1970
|
+
addPropertyToAType(modelName: string, typeName: string, formFields: any): Observable<any>;
|
|
1971
|
+
cleanNameType(name: string): string;
|
|
1972
|
+
toJson(res: any): any;
|
|
1973
|
+
private handleError;
|
|
1974
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcmModelService, never>;
|
|
1975
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EcmModelService>;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
declare class EditorService {
|
|
1979
|
+
private readonly apiService;
|
|
1980
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
1981
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
1982
|
+
readonly editorApi: FormModelsApi;
|
|
1983
|
+
/**
|
|
1984
|
+
* Saves a form.
|
|
1985
|
+
*
|
|
1986
|
+
* @param formId ID of the form to save
|
|
1987
|
+
* @param formModel Model data for the form
|
|
1988
|
+
* @returns Data for the saved form
|
|
1989
|
+
*/
|
|
1990
|
+
saveForm(formId: number, formModel: FormDefinitionModel): Observable<FormRepresentation>;
|
|
1991
|
+
/**
|
|
1992
|
+
* Gets a form definition.
|
|
1993
|
+
*
|
|
1994
|
+
* @param formId ID of the target form
|
|
1995
|
+
* @returns Form definition
|
|
1996
|
+
*/
|
|
1997
|
+
getFormDefinitionById(formId: number): Observable<any>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Creates a JSON representation of form data.
|
|
2000
|
+
*
|
|
2001
|
+
* @param res Object representing form data
|
|
2002
|
+
* @returns JSON data
|
|
2003
|
+
*/
|
|
2004
|
+
toJson(res: any): any;
|
|
2005
|
+
/**
|
|
2006
|
+
* Reports an error message.
|
|
2007
|
+
*
|
|
2008
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
2009
|
+
* @returns Error message
|
|
2010
|
+
*/
|
|
2011
|
+
private handleError;
|
|
2012
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
|
|
2013
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
declare class ExternalAlfrescoApiService extends AlfrescoApiService {
|
|
2017
|
+
init(ecmHost: string, contextRoot: string): void;
|
|
2018
|
+
private setup;
|
|
2019
|
+
private createPrefixFromHost;
|
|
2020
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalAlfrescoApiService, never>;
|
|
2021
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalAlfrescoApiService>;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
declare class ProcessContentService {
|
|
2025
|
+
private readonly apiService;
|
|
2026
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
2027
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
2028
|
+
readonly contentApi: ActivitiContentApi;
|
|
2029
|
+
/**
|
|
2030
|
+
* Create temporary related content from an uploaded file.
|
|
2031
|
+
*
|
|
2032
|
+
* @param file File to use for content
|
|
2033
|
+
* @returns The created content data
|
|
2034
|
+
*/
|
|
2035
|
+
createTemporaryRawRelatedContent(file: any): Observable<RelatedContentRepresentation>;
|
|
2036
|
+
/**
|
|
2037
|
+
* Gets the metadata for a related content item.
|
|
2038
|
+
*
|
|
2039
|
+
* @param contentId ID of the content item
|
|
2040
|
+
* @returns Metadata for the content
|
|
2041
|
+
*/
|
|
2042
|
+
getFileContent(contentId: number): Observable<RelatedContentRepresentation>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Gets raw binary content data for a related content file.
|
|
2045
|
+
*
|
|
2046
|
+
* @param contentId ID of the related content
|
|
2047
|
+
* @returns Binary data of the related content
|
|
2048
|
+
*/
|
|
2049
|
+
getFileRawContent(contentId: number): Observable<Blob>;
|
|
2050
|
+
/**
|
|
2051
|
+
* Gets the preview for a related content file.
|
|
2052
|
+
*
|
|
2053
|
+
* @param contentId ID of the related content
|
|
2054
|
+
* @returns Binary data of the content preview
|
|
2055
|
+
*/
|
|
2056
|
+
getContentPreview(contentId: number): Observable<Blob>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Gets a URL for direct access to a related content file.
|
|
2059
|
+
*
|
|
2060
|
+
* @param contentId ID of the related content
|
|
2061
|
+
* @returns URL to access the content
|
|
2062
|
+
*/
|
|
2063
|
+
getFileRawContentUrl(contentId: number): string;
|
|
2064
|
+
/**
|
|
2065
|
+
* Gets the thumbnail for a related content file.
|
|
2066
|
+
*
|
|
2067
|
+
* @param contentId ID of the related content
|
|
2068
|
+
* @returns Binary data of the thumbnail image
|
|
2069
|
+
*/
|
|
2070
|
+
getContentThumbnail(contentId: number): Observable<Blob>;
|
|
2071
|
+
/**
|
|
2072
|
+
* Gets the preview rendition for a related content file.
|
|
2073
|
+
*
|
|
2074
|
+
* @param contentId ID of the related content
|
|
2075
|
+
* @returns Binary data of the related content
|
|
2076
|
+
*/
|
|
2077
|
+
getContentRenditionTypePreview(contentId: number): Observable<Blob>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Gets related content items for a task instance.
|
|
2080
|
+
*
|
|
2081
|
+
* @param taskId ID of the target task
|
|
2082
|
+
* @param opts Options supported by JS-API
|
|
2083
|
+
* @returns Metadata for the content
|
|
2084
|
+
*/
|
|
2085
|
+
getTaskRelatedContent(taskId: string, opts?: any): Observable<ResultListDataRepresentationRelatedContentRepresentation>;
|
|
2086
|
+
/**
|
|
2087
|
+
* Gets related content items for a process instance.
|
|
2088
|
+
*
|
|
2089
|
+
* @param processId ID of the target process
|
|
2090
|
+
* @param opts Options supported by JS-API
|
|
2091
|
+
* @returns Metadata for the content
|
|
2092
|
+
*/
|
|
2093
|
+
getProcessRelatedContent(processId: string, opts?: any): Observable<ResultListDataRepresentationRelatedContentRepresentation>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Deletes related content.
|
|
2096
|
+
*
|
|
2097
|
+
* @param contentId Identifier of the content to delete
|
|
2098
|
+
* @returns Null response that notifies when the deletion is complete
|
|
2099
|
+
*/
|
|
2100
|
+
deleteRelatedContent(contentId: number): Observable<any>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Associates an uploaded file with a process instance.
|
|
2103
|
+
*
|
|
2104
|
+
* @param processInstanceId ID of the target process instance
|
|
2105
|
+
* @param content File to associate
|
|
2106
|
+
* @param opts Options supported by JS-API
|
|
2107
|
+
* @returns Details of created content
|
|
2108
|
+
*/
|
|
2109
|
+
createProcessRelatedContent(processInstanceId: string, content: any, opts?: any): Observable<RelatedContentRepresentation>;
|
|
2110
|
+
/**
|
|
2111
|
+
* Associates an uploaded file with a task instance.
|
|
2112
|
+
*
|
|
2113
|
+
* @param taskId ID of the target task
|
|
2114
|
+
* @param file File to associate
|
|
2115
|
+
* @param opts Options supported by JS-API
|
|
2116
|
+
* @returns Details of created content
|
|
2117
|
+
*/
|
|
2118
|
+
createTaskRelatedContent(taskId: string, file: any, opts?: any): Observable<RelatedContentRepresentation>;
|
|
2119
|
+
/**
|
|
2120
|
+
* Lists processes and tasks on workflow started with provided document
|
|
2121
|
+
*
|
|
2122
|
+
* @param sourceId - id of the document that workflow or task has been started with
|
|
2123
|
+
* @param source - source of the document that workflow or task has been started with
|
|
2124
|
+
* @param size - size of the entries to get
|
|
2125
|
+
* @param page - page number
|
|
2126
|
+
* @returns Promise<ResultListDataRepresentationRelatedProcessTask>
|
|
2127
|
+
*/
|
|
2128
|
+
getProcessesAndTasksOnContent(sourceId: string, source: string, size?: number, page?: number): Observable<ResultListDataRepresentationRelatedProcessTask>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Creates a JSON representation of data.
|
|
2131
|
+
*
|
|
2132
|
+
* @param res Object representing data
|
|
2133
|
+
* @returns JSON object
|
|
2134
|
+
*/
|
|
2135
|
+
toJson(res: any): any;
|
|
2136
|
+
/**
|
|
2137
|
+
* Creates a JSON array representation of data.
|
|
2138
|
+
*
|
|
2139
|
+
* @param res Object representing data
|
|
2140
|
+
* @returns JSON array object
|
|
2141
|
+
*/
|
|
2142
|
+
toJsonArray(res: any): any;
|
|
2143
|
+
/**
|
|
2144
|
+
* Reports an error message.
|
|
2145
|
+
*
|
|
2146
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
2147
|
+
* @returns Callback when an error occurs
|
|
2148
|
+
*/
|
|
2149
|
+
handleError(error: any): Observable<any>;
|
|
2150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessContentService, never>;
|
|
2151
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessContentService>;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
/*!
|
|
2155
|
+
* @license
|
|
2156
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2157
|
+
*
|
|
2158
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2159
|
+
* you may not use this file except in compliance with the License.
|
|
2160
|
+
* You may obtain a copy of the License at
|
|
2161
|
+
*
|
|
2162
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2163
|
+
*
|
|
2164
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2165
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2166
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2167
|
+
* See the License for the specific language governing permissions and
|
|
2168
|
+
* limitations under the License.
|
|
2169
|
+
*/
|
|
2170
|
+
interface DynamicTableColumnOption {
|
|
2171
|
+
id: string;
|
|
2172
|
+
name: string;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare class ProcessDefinitionService {
|
|
2176
|
+
private readonly apiService;
|
|
2177
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
2178
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
2179
|
+
readonly processDefinitionsApi: ProcessDefinitionsApi;
|
|
2180
|
+
/**
|
|
2181
|
+
* Gets values of fields populated by a REST backend using a process ID.
|
|
2182
|
+
*
|
|
2183
|
+
* @param processDefinitionId Process identifier
|
|
2184
|
+
* @param field Field identifier
|
|
2185
|
+
* @returns Field values
|
|
2186
|
+
*/
|
|
2187
|
+
getRestFieldValuesByProcessId(processDefinitionId: string, field: string): Observable<FormFieldOption[]>;
|
|
2188
|
+
/**
|
|
2189
|
+
* Gets column values of fields populated by a REST backend using a process ID.
|
|
2190
|
+
*
|
|
2191
|
+
* @param processDefinitionId Process identifier
|
|
2192
|
+
* @param field Field identifier
|
|
2193
|
+
* @param column Column identifier
|
|
2194
|
+
* @returns Field values
|
|
2195
|
+
*/
|
|
2196
|
+
getRestFieldValuesColumnByProcessId(processDefinitionId: string, field: string, column?: string): Observable<DynamicTableColumnOption[]>;
|
|
2197
|
+
/**
|
|
2198
|
+
* Creates a JSON representation of form data.
|
|
2199
|
+
*
|
|
2200
|
+
* @param res Object representing form data
|
|
2201
|
+
* @returns JSON data
|
|
2202
|
+
*/
|
|
2203
|
+
toJson(res: any): any;
|
|
2204
|
+
/**
|
|
2205
|
+
* Reports an error message.
|
|
2206
|
+
*
|
|
2207
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
2208
|
+
* @returns Error message
|
|
2209
|
+
*/
|
|
2210
|
+
private handleError;
|
|
2211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessDefinitionService, never>;
|
|
2212
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessDefinitionService>;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
declare class TaskService {
|
|
2216
|
+
private readonly apiService;
|
|
2217
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
2218
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
2219
|
+
readonly taskApi: TasksApi;
|
|
2220
|
+
/**
|
|
2221
|
+
* Gets a task.
|
|
2222
|
+
*
|
|
2223
|
+
* @param taskId Task Id
|
|
2224
|
+
* @returns Task info
|
|
2225
|
+
*/
|
|
2226
|
+
getTask(taskId: string): Observable<TaskRepresentation>;
|
|
2227
|
+
/**
|
|
2228
|
+
* Creates a JSON representation of form data.
|
|
2229
|
+
*
|
|
2230
|
+
* @param res Object representing form data
|
|
2231
|
+
* @returns JSON data
|
|
2232
|
+
*/
|
|
2233
|
+
toJson(res: any): any;
|
|
2234
|
+
/**
|
|
2235
|
+
* Reports an error message.
|
|
2236
|
+
*
|
|
2237
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
2238
|
+
* @returns Error message
|
|
2239
|
+
*/
|
|
2240
|
+
private handleError;
|
|
2241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskService, never>;
|
|
2242
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskService>;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
declare class TaskFormService {
|
|
2246
|
+
private readonly apiService;
|
|
2247
|
+
static UNKNOWN_ERROR_MESSAGE: string;
|
|
2248
|
+
static GENERIC_ERROR_MESSAGE: string;
|
|
2249
|
+
readonly taskFormsApi: TaskFormsApi;
|
|
2250
|
+
/**
|
|
2251
|
+
* Saves a task form.
|
|
2252
|
+
*
|
|
2253
|
+
* @param taskId Task Id
|
|
2254
|
+
* @param formValues Form Values
|
|
2255
|
+
* @returns Null response when the operation is complete
|
|
2256
|
+
*/
|
|
2257
|
+
saveTaskForm(taskId: string, formValues: FormValues): Observable<any>;
|
|
2258
|
+
/**
|
|
2259
|
+
* Completes a Task Form.
|
|
2260
|
+
*
|
|
2261
|
+
* @param taskId Task Id
|
|
2262
|
+
* @param formValues Form Values
|
|
2263
|
+
* @param outcome Form Outcome
|
|
2264
|
+
* @returns Null response when the operation is complete
|
|
2265
|
+
*/
|
|
2266
|
+
completeTaskForm(taskId: string, formValues: FormValues, outcome?: string): Observable<any>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Gets a form related to a task.
|
|
2269
|
+
*
|
|
2270
|
+
* @param taskId ID of the target task
|
|
2271
|
+
* @returns Form definition
|
|
2272
|
+
*/
|
|
2273
|
+
getTaskForm(taskId: string): Observable<any>;
|
|
2274
|
+
/**
|
|
2275
|
+
* Gets values of fields populated by a REST backend.
|
|
2276
|
+
*
|
|
2277
|
+
* @param taskId Task identifier
|
|
2278
|
+
* @param field Field identifier
|
|
2279
|
+
* @returns Field values
|
|
2280
|
+
*/
|
|
2281
|
+
getRestFieldValues(taskId: string, field: string): Observable<FormFieldOption[]>;
|
|
2282
|
+
/**
|
|
2283
|
+
* Gets column values of fields populated by a REST backend.
|
|
2284
|
+
*
|
|
2285
|
+
* @param taskId Task identifier
|
|
2286
|
+
* @param field Field identifier
|
|
2287
|
+
* @param column Column identifier
|
|
2288
|
+
* @returns Field values
|
|
2289
|
+
*/
|
|
2290
|
+
getRestFieldValuesColumn(taskId: string, field: string, column?: string): Observable<DynamicTableColumnOption[]>;
|
|
2291
|
+
getTaskProcessVariable(taskId: string): Observable<TaskProcessVariableModel[]>;
|
|
2292
|
+
/**
|
|
2293
|
+
* Creates a JSON representation of form data.
|
|
2294
|
+
*
|
|
2295
|
+
* @param res Object representing form data
|
|
2296
|
+
* @returns JSON data
|
|
2297
|
+
*/
|
|
2298
|
+
toJson(res: any): any;
|
|
2299
|
+
/**
|
|
2300
|
+
* Reports an error message.
|
|
2301
|
+
*
|
|
2302
|
+
* @param error Data object with optional `message` and `status` fields for the error
|
|
2303
|
+
* @returns Error message
|
|
2304
|
+
*/
|
|
2305
|
+
private handleError;
|
|
2306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormService, never>;
|
|
2307
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskFormService>;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
/*!
|
|
2311
|
+
* @license
|
|
2312
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2313
|
+
*
|
|
2314
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2315
|
+
* you may not use this file except in compliance with the License.
|
|
2316
|
+
* You may obtain a copy of the License at
|
|
2317
|
+
*
|
|
2318
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2319
|
+
*
|
|
2320
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2321
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2322
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2323
|
+
* See the License for the specific language governing permissions and
|
|
2324
|
+
* limitations under the License.
|
|
2325
|
+
*/
|
|
2326
|
+
|
|
2327
|
+
declare class FormComponent extends FormBaseComponent implements OnInit, OnChanges {
|
|
2328
|
+
protected formService: FormService;
|
|
2329
|
+
protected taskFormService: TaskFormService;
|
|
2330
|
+
protected taskService: TaskService;
|
|
2331
|
+
protected editorService: EditorService;
|
|
2332
|
+
protected modelService: ModelService;
|
|
2333
|
+
protected visibilityService: WidgetVisibilityService;
|
|
2334
|
+
protected ecmModelService: EcmModelService;
|
|
2335
|
+
protected nodeService: NodesApiService;
|
|
2336
|
+
private readonly cdRef;
|
|
2337
|
+
/** Task id to fetch corresponding form and values. */
|
|
2338
|
+
taskId: string;
|
|
2339
|
+
/** Content Services node ID for the form metadata. */
|
|
2340
|
+
nodeId: string;
|
|
2341
|
+
/** The id of the form definition to load and display with custom values. */
|
|
2342
|
+
formId: number;
|
|
2343
|
+
/** Name of the form definition to load and display with custom values. */
|
|
2344
|
+
formName: string;
|
|
2345
|
+
/** Toggle saving of form metadata. */
|
|
2346
|
+
saveMetadata: boolean;
|
|
2347
|
+
/** Custom form values map to be used with the rendered form. */
|
|
2348
|
+
data: FormValues;
|
|
2349
|
+
/** The form will set a prefixed space for invisible fields. */
|
|
2350
|
+
enableFixedSpacedForm: boolean;
|
|
2351
|
+
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
2352
|
+
formSaved: EventEmitter<FormModel>;
|
|
2353
|
+
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
2354
|
+
formCompleted: EventEmitter<FormModel>;
|
|
2355
|
+
/** Emitted when form content is clicked. */
|
|
2356
|
+
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
2357
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
2358
|
+
formLoaded: EventEmitter<FormModel>;
|
|
2359
|
+
/** Emitted when form values are refreshed due to a data property change. */
|
|
2360
|
+
formDataRefreshed: EventEmitter<FormModel>;
|
|
2361
|
+
debugMode: boolean;
|
|
2362
|
+
private readonly destroyRef;
|
|
2363
|
+
constructor();
|
|
2364
|
+
ngOnInit(): void;
|
|
2365
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2366
|
+
/**
|
|
2367
|
+
* Invoked when user clicks form refresh button.
|
|
2368
|
+
*/
|
|
2369
|
+
onRefreshClicked(): void;
|
|
2370
|
+
loadForm(): void;
|
|
2371
|
+
findProcessVariablesByTaskId(taskId: string): Observable<TaskProcessVariableModel[]>;
|
|
2372
|
+
isAProcessTask(taskRepresentation: any): boolean;
|
|
2373
|
+
getFormByTaskId(taskId: string): Promise<FormModel>;
|
|
2374
|
+
getFormDefinitionByFormId(formId: number): void;
|
|
2375
|
+
getFormDefinitionByFormName(formName: string): void;
|
|
2376
|
+
saveTaskForm(): void;
|
|
2377
|
+
completeTaskForm(outcome?: string): void;
|
|
2378
|
+
handleError(err: any): any;
|
|
2379
|
+
parseForm(formRepresentationJSON: any): FormModel;
|
|
2380
|
+
/**
|
|
2381
|
+
* Get custom set of outcomes for a Form Definition.
|
|
2382
|
+
*
|
|
2383
|
+
* @param form Form definition model.
|
|
2384
|
+
* @returns list of form outcomes
|
|
2385
|
+
*/
|
|
2386
|
+
getFormDefinitionOutcomes(form: FormModel): FormOutcomeModel[];
|
|
2387
|
+
checkVisibility(field: FormFieldModel): void;
|
|
2388
|
+
loadFormFromActiviti(nodeType: string): any;
|
|
2389
|
+
/**
|
|
2390
|
+
* Creates a Form with a field for each metadata property.
|
|
2391
|
+
*
|
|
2392
|
+
* @param formName Name of the new form
|
|
2393
|
+
* @returns The new form
|
|
2394
|
+
*/
|
|
2395
|
+
createFormFromANode(formName: string): Observable<any>;
|
|
2396
|
+
protected storeFormAsMetadata(): void;
|
|
2397
|
+
protected onFormLoaded(form: FormModel): void;
|
|
2398
|
+
protected onFormDataRefreshed(form: FormModel): void;
|
|
2399
|
+
protected onTaskSaved(form: FormModel): void;
|
|
2400
|
+
protected onTaskSavedError(form: FormModel, error: any): void;
|
|
2401
|
+
protected onTaskCompleted(form: FormModel): void;
|
|
2402
|
+
protected onTaskCompletedError(form: FormModel, error: any): void;
|
|
2403
|
+
protected onExecuteOutcome(outcome: FormOutcomeModel): boolean;
|
|
2404
|
+
private refreshFormData;
|
|
2405
|
+
private loadFormForEcmNode;
|
|
2406
|
+
private loadFormFromFormId;
|
|
2407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
2408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "adf-form", never, { "taskId": { "alias": "taskId"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "formName": { "alias": "formName"; "required": false; }; "saveMetadata": { "alias": "saveMetadata"; "required": false; }; "data": { "alias": "data"; "required": false; }; "enableFixedSpacedForm": { "alias": "enableFixedSpacedForm"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; }, never, ["[empty-form]", "adf-form-custom-outcomes"], true, never>;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
/*!
|
|
2412
|
+
* @license
|
|
2413
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2414
|
+
*
|
|
2415
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2416
|
+
* you may not use this file except in compliance with the License.
|
|
2417
|
+
* You may obtain a copy of the License at
|
|
2418
|
+
*
|
|
2419
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2420
|
+
*
|
|
2421
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2422
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2423
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2424
|
+
* See the License for the specific language governing permissions and
|
|
2425
|
+
* limitations under the License.
|
|
2426
|
+
*/
|
|
2427
|
+
|
|
2428
|
+
declare class ProcessService {
|
|
2429
|
+
private readonly alfrescoApiService;
|
|
2430
|
+
readonly tasksApi: TasksApi;
|
|
2431
|
+
readonly processDefinitionsApi: ProcessDefinitionsApi;
|
|
2432
|
+
readonly processInstancesApi: ProcessInstancesApi;
|
|
2433
|
+
readonly processInstanceVariablesApi: ProcessInstanceVariablesApi;
|
|
2434
|
+
/**
|
|
2435
|
+
* Gets process instances for a filter and optionally a process definition.
|
|
2436
|
+
*
|
|
2437
|
+
* @param requestNode Filter for instances
|
|
2438
|
+
* @param processDefinitionKey Limits returned instances to a process definition
|
|
2439
|
+
* @returns List of process instances
|
|
2440
|
+
*/
|
|
2441
|
+
getProcessInstances(requestNode: ProcessInstanceQueryRepresentation, processDefinitionKey?: string): Observable<ResultListDataRepresentationProcessInstanceRepresentation>;
|
|
2442
|
+
/**
|
|
2443
|
+
* Gets processes for a filter and optionally a process definition.
|
|
2444
|
+
*
|
|
2445
|
+
* @param requestNode Filter for instances
|
|
2446
|
+
* @param processDefinitionKey Limits returned instances to a process definition
|
|
2447
|
+
* @returns List of processes
|
|
2448
|
+
*/
|
|
2449
|
+
getProcesses(requestNode: ProcessInstanceQueryRepresentation, processDefinitionKey?: string): Observable<ResultListDataRepresentationProcessInstanceRepresentation>;
|
|
2450
|
+
/**
|
|
2451
|
+
* @deprecated This api is no longer used and will be removed in future releases.
|
|
2452
|
+
* Fetches the Process Audit information as a PDF.
|
|
2453
|
+
*
|
|
2454
|
+
* @param processId ID of the target process
|
|
2455
|
+
* @returns Binary PDF data
|
|
2456
|
+
*/
|
|
2457
|
+
fetchProcessAuditPdfById(processId: string): Observable<Blob>;
|
|
2458
|
+
/**
|
|
2459
|
+
* @deprecated This api is no longer used and will be removed in future releases.
|
|
2460
|
+
* Fetches the Process Audit information in a JSON format.
|
|
2461
|
+
*
|
|
2462
|
+
* @param processId ID of the target process
|
|
2463
|
+
* @returns JSON data
|
|
2464
|
+
*/
|
|
2465
|
+
fetchProcessAuditJsonById(processId: string): Observable<ProcessInstanceAuditInfoRepresentation>;
|
|
2466
|
+
/**
|
|
2467
|
+
* Gets Process Instance metadata.
|
|
2468
|
+
*
|
|
2469
|
+
* @param processInstanceId ID of the target process
|
|
2470
|
+
* @returns Metadata for the instance
|
|
2471
|
+
*/
|
|
2472
|
+
getProcess(processInstanceId: string): Observable<ProcessInstanceRepresentation>;
|
|
2473
|
+
/**
|
|
2474
|
+
* Gets the start form definition for a given process.
|
|
2475
|
+
*
|
|
2476
|
+
* @param processId Process definition ID
|
|
2477
|
+
* @returns Form definition
|
|
2478
|
+
*/
|
|
2479
|
+
getStartFormDefinition(processId: string): Observable<any>;
|
|
2480
|
+
/**
|
|
2481
|
+
* Gets the start form instance for a given process.
|
|
2482
|
+
*
|
|
2483
|
+
* @param processId Process definition ID
|
|
2484
|
+
* @returns Form definition
|
|
2485
|
+
*/
|
|
2486
|
+
getStartFormInstance(processId: string): Observable<FormDefinitionRepresentation>;
|
|
2487
|
+
/**
|
|
2488
|
+
* Creates a JSON representation of form data.
|
|
2489
|
+
*
|
|
2490
|
+
* @param res Object representing form data
|
|
2491
|
+
* @returns JSON data
|
|
2492
|
+
*/
|
|
2493
|
+
private toJson;
|
|
2494
|
+
/**
|
|
2495
|
+
* Gets task instances for a process instance.
|
|
2496
|
+
*
|
|
2497
|
+
* @param processInstanceId ID of the process instance
|
|
2498
|
+
* @param state Task state filter (can be "active" or "completed")
|
|
2499
|
+
* @returns Array of task instance details
|
|
2500
|
+
*/
|
|
2501
|
+
getProcessTasks(processInstanceId: string, state?: string): Observable<TaskRepresentation[]>;
|
|
2502
|
+
/**
|
|
2503
|
+
* Gets process definitions associated with an app.
|
|
2504
|
+
*
|
|
2505
|
+
* @param appId ID of a target app
|
|
2506
|
+
* @returns Array of process definitions
|
|
2507
|
+
*/
|
|
2508
|
+
getProcessDefinitions(appId?: number): Observable<ProcessDefinitionRepresentation[]>;
|
|
2509
|
+
/**
|
|
2510
|
+
* Starts a process based on a process definition, name, form values or variables.
|
|
2511
|
+
*
|
|
2512
|
+
* @param processDefinitionId Process definition ID
|
|
2513
|
+
* @param name Process name
|
|
2514
|
+
* @param outcome Process outcome
|
|
2515
|
+
* @param startFormValues Values for the start form
|
|
2516
|
+
* @param variables Array of process instance variables
|
|
2517
|
+
* @returns Details of the process instance just started
|
|
2518
|
+
*/
|
|
2519
|
+
startProcess(processDefinitionId: string, name: string, outcome?: string, startFormValues?: FormValues, variables?: RestVariable[]): Observable<ProcessInstanceRepresentation>;
|
|
2520
|
+
/**
|
|
2521
|
+
* Cancels a process instance.
|
|
2522
|
+
*
|
|
2523
|
+
* @param processInstanceId ID of process to cancel
|
|
2524
|
+
* @returns Null response notifying when the operation is complete
|
|
2525
|
+
*/
|
|
2526
|
+
cancelProcess(processInstanceId: string): Observable<void>;
|
|
2527
|
+
/**
|
|
2528
|
+
* Gets the variables for a process instance.
|
|
2529
|
+
*
|
|
2530
|
+
* @param processInstanceId ID of the target process
|
|
2531
|
+
* @returns Array of instance variable info
|
|
2532
|
+
*/
|
|
2533
|
+
getProcessInstanceVariables(processInstanceId: string): Observable<RestVariable[]>;
|
|
2534
|
+
/**
|
|
2535
|
+
* Creates or updates variables for a process instance.
|
|
2536
|
+
*
|
|
2537
|
+
* @param processInstanceId ID of the target process
|
|
2538
|
+
* @param variables Variables to update
|
|
2539
|
+
* @returns Array of instance variable info
|
|
2540
|
+
*/
|
|
2541
|
+
createOrUpdateProcessInstanceVariables(processInstanceId: string, variables: RestVariable[]): Observable<RestVariable[]>;
|
|
2542
|
+
/**
|
|
2543
|
+
* Deletes a variable for a process instance.
|
|
2544
|
+
*
|
|
2545
|
+
* @param processInstanceId ID of the target process
|
|
2546
|
+
* @param variableName Name of the variable to delete
|
|
2547
|
+
* @returns Null response notifying when the operation is complete
|
|
2548
|
+
*/
|
|
2549
|
+
deleteProcessInstanceVariable(processInstanceId: string, variableName: string): Observable<void>;
|
|
2550
|
+
private extractData;
|
|
2551
|
+
private getProcessNameOrDescription;
|
|
2552
|
+
private getFormatDate;
|
|
2553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessService, never>;
|
|
2554
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessService>;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
/*!
|
|
2558
|
+
* @license
|
|
2559
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2560
|
+
*
|
|
2561
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2562
|
+
* you may not use this file except in compliance with the License.
|
|
2563
|
+
* You may obtain a copy of the License at
|
|
2564
|
+
*
|
|
2565
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2566
|
+
*
|
|
2567
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2568
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2569
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2570
|
+
* See the License for the specific language governing permissions and
|
|
2571
|
+
* limitations under the License.
|
|
2572
|
+
*/
|
|
2573
|
+
|
|
2574
|
+
declare class StartFormComponent extends FormComponent implements OnChanges, OnInit {
|
|
2575
|
+
processService: ProcessService;
|
|
2576
|
+
/** Definition ID of the process to start, this parameter can not be use in combination with processId */
|
|
2577
|
+
processDefinitionId: string;
|
|
2578
|
+
/** Process ID of the process to start, this parameter can not be use in combination with processDefinitionId */
|
|
2579
|
+
processId: string;
|
|
2580
|
+
/** Should form outcome buttons be shown? */
|
|
2581
|
+
showOutcomeButtons: boolean;
|
|
2582
|
+
/** Should the refresh button be shown? */
|
|
2583
|
+
showRefreshButton: boolean;
|
|
2584
|
+
/** Is the form read-only (ie, can't be edited)? */
|
|
2585
|
+
readOnlyForm: boolean;
|
|
2586
|
+
/** Emitted when the user clicks one of the outcome buttons that completes the form. */
|
|
2587
|
+
outcomeClick: EventEmitter<any>;
|
|
2588
|
+
/** Emitted when a field of the form is clicked. */
|
|
2589
|
+
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
2590
|
+
outcomesContainer: ElementRef;
|
|
2591
|
+
constructor();
|
|
2592
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2593
|
+
loadStartForm(processId: string): void;
|
|
2594
|
+
getStartFormDefinition(processId: string): void;
|
|
2595
|
+
parseRefreshVisibilityValidateForm(form: any): void;
|
|
2596
|
+
isOutcomeButtonVisible(outcome: FormOutcomeModel, isFormReadOnly: boolean): boolean;
|
|
2597
|
+
saveTaskForm(): void;
|
|
2598
|
+
onRefreshClicked(): void;
|
|
2599
|
+
completeTaskForm(outcome?: string): void;
|
|
2600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartFormComponent, never>;
|
|
2601
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartFormComponent, "adf-start-form", never, { "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processId": { "alias": "processId"; "required": false; }; "showOutcomeButtons": { "alias": "showOutcomeButtons"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "readOnlyForm": { "alias": "readOnlyForm"; "required": false; }; }, { "outcomeClick": "outcomeClick"; "formContentClicked": "formContentClicked"; }, never, ["[adf-form-custom-button], [form-custom-button]"], true, never>;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/*!
|
|
2605
|
+
* @license
|
|
2606
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2607
|
+
*
|
|
2608
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2609
|
+
* you may not use this file except in compliance with the License.
|
|
2610
|
+
* You may obtain a copy of the License at
|
|
2611
|
+
*
|
|
2612
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2613
|
+
*
|
|
2614
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2615
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2616
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2617
|
+
* See the License for the specific language governing permissions and
|
|
2618
|
+
* limitations under the License.
|
|
2619
|
+
*/
|
|
2620
|
+
|
|
2621
|
+
interface DynamicTableColumn {
|
|
2622
|
+
id: string;
|
|
2623
|
+
name: string;
|
|
2624
|
+
type: string;
|
|
2625
|
+
value: any;
|
|
2626
|
+
optionType: string;
|
|
2627
|
+
options: DynamicTableColumnOption[];
|
|
2628
|
+
restResponsePath: string;
|
|
2629
|
+
restUrl: string;
|
|
2630
|
+
restIdProperty: string;
|
|
2631
|
+
restLabelProperty: string;
|
|
2632
|
+
amountCurrency: string;
|
|
2633
|
+
amountEnableFractions: boolean;
|
|
2634
|
+
required: boolean;
|
|
2635
|
+
editable: boolean;
|
|
2636
|
+
sortable: boolean;
|
|
2637
|
+
visible: boolean;
|
|
2638
|
+
endpoint: any;
|
|
2639
|
+
requestHeaders: any;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
/*!
|
|
2643
|
+
* @license
|
|
2644
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2645
|
+
*
|
|
2646
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2647
|
+
* you may not use this file except in compliance with the License.
|
|
2648
|
+
* You may obtain a copy of the License at
|
|
2649
|
+
*
|
|
2650
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2651
|
+
*
|
|
2652
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2653
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2654
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2655
|
+
* See the License for the specific language governing permissions and
|
|
2656
|
+
* limitations under the License.
|
|
2657
|
+
*/
|
|
2658
|
+
|
|
2659
|
+
declare class DynamicTableModel extends FormWidgetModel {
|
|
2660
|
+
private readonly formService;
|
|
2661
|
+
field: FormFieldModel;
|
|
2662
|
+
columns: DynamicTableColumn[];
|
|
2663
|
+
visibleColumns: DynamicTableColumn[];
|
|
2664
|
+
rows: DynamicTableRow[];
|
|
2665
|
+
private _selectedRow;
|
|
2666
|
+
private readonly _validators;
|
|
2667
|
+
get selectedRow(): DynamicTableRow;
|
|
2668
|
+
set selectedRow(value: DynamicTableRow);
|
|
2669
|
+
constructor(field: FormFieldModel, formService: FormService);
|
|
2670
|
+
private getColumns;
|
|
2671
|
+
flushValue(): void;
|
|
2672
|
+
moveRow(row: DynamicTableRow, offset: number): void;
|
|
2673
|
+
deleteRow(row: DynamicTableRow): void;
|
|
2674
|
+
addRow(row: DynamicTableRow): void;
|
|
2675
|
+
validateRow(row: DynamicTableRow): DynamicRowValidationSummary;
|
|
2676
|
+
getCellValue(row: DynamicTableRow, column: DynamicTableColumn): any;
|
|
2677
|
+
getDisplayText(column: DynamicTableColumn): string;
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
/*!
|
|
2681
|
+
* @license
|
|
2682
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2683
|
+
*
|
|
2684
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2685
|
+
* you may not use this file except in compliance with the License.
|
|
2686
|
+
* You may obtain a copy of the License at
|
|
2687
|
+
*
|
|
2688
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2689
|
+
*
|
|
2690
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2691
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2692
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2693
|
+
* See the License for the specific language governing permissions and
|
|
2694
|
+
* limitations under the License.
|
|
2695
|
+
*/
|
|
2696
|
+
|
|
2697
|
+
declare class DropdownEditorComponent implements OnInit {
|
|
2698
|
+
formService: FormService;
|
|
2699
|
+
private readonly taskFormService;
|
|
2700
|
+
private readonly processDefinitionService;
|
|
2701
|
+
value: any;
|
|
2702
|
+
options: DynamicTableColumnOption[];
|
|
2703
|
+
table: DynamicTableModel;
|
|
2704
|
+
row: DynamicTableRow;
|
|
2705
|
+
column: DynamicTableColumn;
|
|
2706
|
+
ngOnInit(): void;
|
|
2707
|
+
getValuesByTaskId(field: FormFieldModel): void;
|
|
2708
|
+
getValuesByProcessDefinitionId(field: FormFieldModel): void;
|
|
2709
|
+
onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
|
|
2710
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownEditorComponent, never>;
|
|
2711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownEditorComponent, "adf-dropdown-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
/*!
|
|
2715
|
+
* @license
|
|
2716
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2717
|
+
*
|
|
2718
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2719
|
+
* you may not use this file except in compliance with the License.
|
|
2720
|
+
* You may obtain a copy of the License at
|
|
2721
|
+
*
|
|
2722
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2723
|
+
*
|
|
2724
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2725
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2726
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2727
|
+
* See the License for the specific language governing permissions and
|
|
2728
|
+
* limitations under the License.
|
|
2729
|
+
*/
|
|
2730
|
+
|
|
2731
|
+
declare class AmountEditorComponent implements OnInit {
|
|
2732
|
+
table: DynamicTableModel;
|
|
2733
|
+
row: DynamicTableRow;
|
|
2734
|
+
column: DynamicTableColumn;
|
|
2735
|
+
displayName: string;
|
|
2736
|
+
ngOnInit(): void;
|
|
2737
|
+
onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
|
|
2738
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmountEditorComponent, never>;
|
|
2739
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmountEditorComponent, "adf-amount-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
declare class BooleanEditorComponent {
|
|
2743
|
+
table: DynamicTableModel;
|
|
2744
|
+
row: DynamicTableRow;
|
|
2745
|
+
column: DynamicTableColumn;
|
|
2746
|
+
onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
|
|
2747
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanEditorComponent, never>;
|
|
2748
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanEditorComponent, "adf-boolean-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
declare class DateEditorComponent implements OnInit {
|
|
2752
|
+
private readonly dateAdapter;
|
|
2753
|
+
DATE_FORMAT: string;
|
|
2754
|
+
value: Date;
|
|
2755
|
+
table: DynamicTableModel;
|
|
2756
|
+
row: DynamicTableRow;
|
|
2757
|
+
column: DynamicTableColumn;
|
|
2758
|
+
minDate: Date;
|
|
2759
|
+
maxDate: Date;
|
|
2760
|
+
ngOnInit(): void;
|
|
2761
|
+
onDateChanged(newDateValue: MatDatepickerInputEvent<Date> | string): void;
|
|
2762
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateEditorComponent, never>;
|
|
2763
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateEditorComponent, "adf-date-editor", never, { "value": { "alias": "value"; "required": false; }; "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
/*!
|
|
2767
|
+
* @license
|
|
2768
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2769
|
+
*
|
|
2770
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2771
|
+
* you may not use this file except in compliance with the License.
|
|
2772
|
+
* You may obtain a copy of the License at
|
|
2773
|
+
*
|
|
2774
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2775
|
+
*
|
|
2776
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2777
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2778
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2779
|
+
* See the License for the specific language governing permissions and
|
|
2780
|
+
* limitations under the License.
|
|
2781
|
+
*/
|
|
2782
|
+
|
|
2783
|
+
interface RowEditorReturnType {
|
|
2784
|
+
table: DynamicTableModel;
|
|
2785
|
+
row: DynamicTableRow;
|
|
2786
|
+
column: DynamicTableColumn;
|
|
2787
|
+
}
|
|
2788
|
+
declare class RowEditorComponent {
|
|
2789
|
+
table: DynamicTableModel;
|
|
2790
|
+
row: DynamicTableRow;
|
|
2791
|
+
column: DynamicTableColumn;
|
|
2792
|
+
save: EventEmitter<RowEditorReturnType>;
|
|
2793
|
+
cancel: EventEmitter<RowEditorReturnType>;
|
|
2794
|
+
validationSummary: DynamicRowValidationSummary;
|
|
2795
|
+
constructor();
|
|
2796
|
+
onCancelChanges(): void;
|
|
2797
|
+
onSaveChanges(): void;
|
|
2798
|
+
private isValid;
|
|
2799
|
+
private validate;
|
|
2800
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowEditorComponent, never>;
|
|
2801
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowEditorComponent, "row-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, { "save": "save"; "cancel": "cancel"; }, never, never, true, never>;
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
/*!
|
|
2805
|
+
* @license
|
|
2806
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2807
|
+
*
|
|
2808
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2809
|
+
* you may not use this file except in compliance with the License.
|
|
2810
|
+
* You may obtain a copy of the License at
|
|
2811
|
+
*
|
|
2812
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2813
|
+
*
|
|
2814
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2815
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2816
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2817
|
+
* See the License for the specific language governing permissions and
|
|
2818
|
+
* limitations under the License.
|
|
2819
|
+
*/
|
|
2820
|
+
|
|
2821
|
+
declare class TextEditorComponent implements OnInit {
|
|
2822
|
+
table: DynamicTableModel;
|
|
2823
|
+
row: DynamicTableRow;
|
|
2824
|
+
column: DynamicTableColumn;
|
|
2825
|
+
displayName: string;
|
|
2826
|
+
ngOnInit(): void;
|
|
2827
|
+
onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
|
|
2828
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
2829
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "adf-text-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
declare class DateTimeEditorComponent implements OnInit {
|
|
2833
|
+
private readonly dateAdapter;
|
|
2834
|
+
DATE_TIME_FORMAT: string;
|
|
2835
|
+
value: Date;
|
|
2836
|
+
table: DynamicTableModel;
|
|
2837
|
+
row: DynamicTableRow;
|
|
2838
|
+
column: DynamicTableColumn;
|
|
2839
|
+
minDate: Date;
|
|
2840
|
+
maxDate: Date;
|
|
2841
|
+
ngOnInit(): void;
|
|
2842
|
+
onDateChanged(newDateValue: MatDatetimepickerInputEvent<Date> | string): void;
|
|
2843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeEditorComponent, never>;
|
|
2844
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeEditorComponent, "adf-datetime-editor", never, { "value": { "alias": "value"; "required": false; }; "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
/*!
|
|
2848
|
+
* @license
|
|
2849
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2850
|
+
*
|
|
2851
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2852
|
+
* you may not use this file except in compliance with the License.
|
|
2853
|
+
* You may obtain a copy of the License at
|
|
2854
|
+
*
|
|
2855
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2856
|
+
*
|
|
2857
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2858
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2859
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2860
|
+
* See the License for the specific language governing permissions and
|
|
2861
|
+
* limitations under the License.
|
|
2862
|
+
*/
|
|
2863
|
+
|
|
2864
|
+
declare class DynamicTableWidgetComponent extends WidgetComponent implements OnInit {
|
|
2865
|
+
content: DynamicTableModel;
|
|
2866
|
+
editMode: boolean;
|
|
2867
|
+
editRow: DynamicTableRow;
|
|
2868
|
+
private readonly selectArrayCode;
|
|
2869
|
+
elementRef: ElementRef<any>;
|
|
2870
|
+
private readonly visibilityService;
|
|
2871
|
+
private readonly cd;
|
|
2872
|
+
ngOnInit(): void;
|
|
2873
|
+
forceFocusOnAddButton(): void;
|
|
2874
|
+
private isDynamicTableReady;
|
|
2875
|
+
isValid(): boolean;
|
|
2876
|
+
onRowClicked(row: DynamicTableRow): void;
|
|
2877
|
+
onKeyPressed($event: KeyboardEvent, row: DynamicTableRow): void;
|
|
2878
|
+
private isEnterOrSpacePressed;
|
|
2879
|
+
hasSelection(): boolean;
|
|
2880
|
+
moveSelectionUp(): boolean;
|
|
2881
|
+
moveSelectionDown(): boolean;
|
|
2882
|
+
deleteSelection(): boolean;
|
|
2883
|
+
addNewRow(): boolean;
|
|
2884
|
+
editSelection(): boolean;
|
|
2885
|
+
getCellValue(row: DynamicTableRow, column: DynamicTableColumn): any;
|
|
2886
|
+
onSaveChanges(): void;
|
|
2887
|
+
onCancelChanges(): void;
|
|
2888
|
+
copyRow(row: DynamicTableRow): DynamicTableRow;
|
|
2889
|
+
private copyObject;
|
|
2890
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableWidgetComponent, never>;
|
|
2891
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableWidgetComponent, "dynamic-table-widget", never, {}, {}, never, never, true, never>;
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
/*!
|
|
2895
|
+
* @license
|
|
2896
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2897
|
+
*
|
|
2898
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2899
|
+
* you may not use this file except in compliance with the License.
|
|
2900
|
+
* You may obtain a copy of the License at
|
|
2901
|
+
*
|
|
2902
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2903
|
+
*
|
|
2904
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2905
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2906
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2907
|
+
* See the License for the specific language governing permissions and
|
|
2908
|
+
* limitations under the License.
|
|
2909
|
+
*/
|
|
2910
|
+
|
|
2911
|
+
declare const DYNAMIC_TABLE_WIDGET_DIRECTIVES: readonly [typeof DynamicTableWidgetComponent, typeof DropdownEditorComponent, typeof AmountEditorComponent, typeof BooleanEditorComponent, typeof DateEditorComponent, typeof DateTimeEditorComponent, typeof RowEditorComponent, typeof TextEditorComponent];
|
|
2912
|
+
|
|
2913
|
+
/*!
|
|
2914
|
+
* @license
|
|
2915
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2916
|
+
*
|
|
2917
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2918
|
+
* you may not use this file except in compliance with the License.
|
|
2919
|
+
* You may obtain a copy of the License at
|
|
2920
|
+
*
|
|
2921
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2922
|
+
*
|
|
2923
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2924
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2925
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2926
|
+
* See the License for the specific language governing permissions and
|
|
2927
|
+
* limitations under the License.
|
|
2928
|
+
*/
|
|
2929
|
+
|
|
2930
|
+
declare class ContentWidgetComponent implements OnChanges {
|
|
2931
|
+
protected formService: FormService;
|
|
2932
|
+
private readonly downloadService;
|
|
2933
|
+
private readonly urlService;
|
|
2934
|
+
private readonly processContentService;
|
|
2935
|
+
/** The content id to show. */
|
|
2936
|
+
id: string;
|
|
2937
|
+
/** Toggles showing document content. */
|
|
2938
|
+
showDocumentContent: boolean;
|
|
2939
|
+
/** Emitted when the content is clicked. */
|
|
2940
|
+
contentClick: EventEmitter<any>;
|
|
2941
|
+
/** Emitted when the thumbnail has loaded. */
|
|
2942
|
+
thumbnailLoaded: EventEmitter<any>;
|
|
2943
|
+
/** Emitted when the content has loaded. */
|
|
2944
|
+
contentLoaded: EventEmitter<any>;
|
|
2945
|
+
/** Emitted when an error occurs. */
|
|
2946
|
+
error: EventEmitter<any>;
|
|
2947
|
+
content: ContentLinkModel;
|
|
2948
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2949
|
+
loadContent(id: number): void;
|
|
2950
|
+
loadThumbnailUrl(content: ContentLinkModel): void;
|
|
2951
|
+
openViewer(content: ContentLinkModel): void;
|
|
2952
|
+
/**
|
|
2953
|
+
* Invoke content download.
|
|
2954
|
+
*
|
|
2955
|
+
* @param content content link model
|
|
2956
|
+
*/
|
|
2957
|
+
download(content: ContentLinkModel): void;
|
|
2958
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentWidgetComponent, never>;
|
|
2959
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentWidgetComponent, "adf-content", never, { "id": { "alias": "id"; "required": false; }; "showDocumentContent": { "alias": "showDocumentContent"; "required": false; }; }, { "contentClick": "contentClick"; "thumbnailLoaded": "thumbnailLoaded"; "contentLoaded": "contentLoaded"; "error": "error"; }, never, never, true, never>;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
/*!
|
|
2963
|
+
* @license
|
|
2964
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2965
|
+
*
|
|
2966
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2967
|
+
* you may not use this file except in compliance with the License.
|
|
2968
|
+
* You may obtain a copy of the License at
|
|
2969
|
+
*
|
|
2970
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2971
|
+
*
|
|
2972
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2973
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2974
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2975
|
+
* See the License for the specific language governing permissions and
|
|
2976
|
+
* limitations under the License.
|
|
2977
|
+
*/
|
|
2978
|
+
|
|
2979
|
+
declare class FileViewerWidgetComponent extends BaseViewerWidgetComponent {
|
|
2980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileViewerWidgetComponent, never>;
|
|
2981
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileViewerWidgetComponent, "file-viewer-widget", never, {}, {}, never, never, true, never>;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
/*!
|
|
2985
|
+
* @license
|
|
2986
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
2987
|
+
*
|
|
2988
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2989
|
+
* you may not use this file except in compliance with the License.
|
|
2990
|
+
* You may obtain a copy of the License at
|
|
2991
|
+
*
|
|
2992
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2993
|
+
*
|
|
2994
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2995
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2996
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2997
|
+
* See the License for the specific language governing permissions and
|
|
2998
|
+
* limitations under the License.
|
|
2999
|
+
*/
|
|
3000
|
+
|
|
3001
|
+
declare class UploadWidgetComponent extends WidgetComponent implements OnInit {
|
|
3002
|
+
hasFile: boolean;
|
|
3003
|
+
displayText: string;
|
|
3004
|
+
multipleOption: string;
|
|
3005
|
+
mimeTypeIcon: string;
|
|
3006
|
+
fileInput: ElementRef;
|
|
3007
|
+
protected thumbnailService: ThumbnailService;
|
|
3008
|
+
protected processContentService: ProcessContentService;
|
|
3009
|
+
ngOnInit(): void;
|
|
3010
|
+
removeFile(file: any): void;
|
|
3011
|
+
onFileChanged(event: any): void;
|
|
3012
|
+
private uploadRawContent;
|
|
3013
|
+
getMultipleFileParam(): void;
|
|
3014
|
+
private removeElementFromList;
|
|
3015
|
+
getIcon(mimeType: string): string;
|
|
3016
|
+
fileClicked(contentLinkModel: any): void;
|
|
3017
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadWidgetComponent, never>;
|
|
3018
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadWidgetComponent, "upload-widget", never, {}, {}, never, never, true, never>;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
/*!
|
|
3022
|
+
* @license
|
|
3023
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3024
|
+
*
|
|
3025
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3026
|
+
* you may not use this file except in compliance with the License.
|
|
3027
|
+
* You may obtain a copy of the License at
|
|
3028
|
+
*
|
|
3029
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3030
|
+
*
|
|
3031
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3032
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3033
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3034
|
+
* See the License for the specific language governing permissions and
|
|
3035
|
+
* limitations under the License.
|
|
3036
|
+
*/
|
|
3037
|
+
|
|
3038
|
+
declare class AttachFileWidgetComponent extends UploadWidgetComponent implements OnInit {
|
|
3039
|
+
private readonly activitiContentService;
|
|
3040
|
+
private readonly contentService;
|
|
3041
|
+
private readonly contentDialog;
|
|
3042
|
+
private readonly appConfigService;
|
|
3043
|
+
private readonly downloadService;
|
|
3044
|
+
private readonly router;
|
|
3045
|
+
private readonly activatedRoute;
|
|
3046
|
+
private readonly attachDialogService;
|
|
3047
|
+
typeId: string;
|
|
3048
|
+
repositoryList: AlfrescoEndpointRepresentation[];
|
|
3049
|
+
isStartProcessPage: boolean;
|
|
3050
|
+
private tempFilesList;
|
|
3051
|
+
private readonly destroyRef;
|
|
3052
|
+
ngOnInit(): void;
|
|
3053
|
+
isFileSourceConfigured(): boolean;
|
|
3054
|
+
isMultipleSourceUpload(): boolean;
|
|
3055
|
+
isAllFileSourceSelected(): boolean;
|
|
3056
|
+
isOnlyLocalSourceSelected(): boolean;
|
|
3057
|
+
isSimpleUploadButton(): boolean;
|
|
3058
|
+
isUploadButtonVisible(): boolean;
|
|
3059
|
+
isDefinedSourceFolder(): boolean;
|
|
3060
|
+
isTemporaryFile(file: {
|
|
3061
|
+
name?: string;
|
|
3062
|
+
}): boolean;
|
|
3063
|
+
getNodeFromTempFile(file: {
|
|
3064
|
+
name?: string;
|
|
3065
|
+
}): NodeChildAssociation;
|
|
3066
|
+
openSelectDialogFromFileSource(): void;
|
|
3067
|
+
onAttachFileChanged(event: any): void;
|
|
3068
|
+
onRemoveAttachFile(file: File | RelatedContentRepresentation): void;
|
|
3069
|
+
onAttachFileClicked(file: any): void;
|
|
3070
|
+
downloadContent(file: any | RelatedContentRepresentation): void;
|
|
3071
|
+
openSelectDialog(repository: AlfrescoEndpointRepresentation): void;
|
|
3072
|
+
isSelected(): boolean;
|
|
3073
|
+
private isExternalHost;
|
|
3074
|
+
private findSource;
|
|
3075
|
+
private uploadFileFromExternalCS;
|
|
3076
|
+
private uploadFileFromCS;
|
|
3077
|
+
private updateNodesParams;
|
|
3078
|
+
private getDomainHost;
|
|
3079
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetComponent, never>;
|
|
3080
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachFileWidgetComponent, "attach-widget", never, {}, {}, never, never, true, never>;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
/*!
|
|
3084
|
+
* @license
|
|
3085
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3086
|
+
*
|
|
3087
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3088
|
+
* you may not use this file except in compliance with the License.
|
|
3089
|
+
* You may obtain a copy of the License at
|
|
3090
|
+
*
|
|
3091
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3092
|
+
*
|
|
3093
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3094
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3095
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3096
|
+
* See the License for the specific language governing permissions and
|
|
3097
|
+
* limitations under the License.
|
|
3098
|
+
*/
|
|
3099
|
+
|
|
3100
|
+
declare class AttachFolderWidgetComponent extends WidgetComponent implements OnInit {
|
|
3101
|
+
private readonly contentDialog;
|
|
3102
|
+
formService: FormService;
|
|
3103
|
+
private readonly nodeService;
|
|
3104
|
+
typeId: string;
|
|
3105
|
+
hasFolder: boolean;
|
|
3106
|
+
selectedFolderName: string;
|
|
3107
|
+
ngOnInit(): void;
|
|
3108
|
+
isDefinedSourceFolder(): boolean;
|
|
3109
|
+
openSelectDialogFromFileSource(): void;
|
|
3110
|
+
removeFolder(): void;
|
|
3111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachFolderWidgetComponent, never>;
|
|
3112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachFolderWidgetComponent, "attach-folder-widget", never, {}, {}, never, never, true, never>;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
/*!
|
|
3116
|
+
* @license
|
|
3117
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3118
|
+
*
|
|
3119
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3120
|
+
* you may not use this file except in compliance with the License.
|
|
3121
|
+
* You may obtain a copy of the License at
|
|
3122
|
+
*
|
|
3123
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3124
|
+
*
|
|
3125
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3126
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3127
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3128
|
+
* See the License for the specific language governing permissions and
|
|
3129
|
+
* limitations under the License.
|
|
3130
|
+
*/
|
|
3131
|
+
|
|
3132
|
+
interface AttachFileWidgetDialogComponentData {
|
|
3133
|
+
title: string;
|
|
3134
|
+
actionName?: string;
|
|
3135
|
+
selected: Subject<Node[]>;
|
|
3136
|
+
currentFolderId: string;
|
|
3137
|
+
ecmHost: string;
|
|
3138
|
+
context?: string;
|
|
3139
|
+
isSelectionValid?: (entry: Node) => boolean;
|
|
3140
|
+
showFilesInResult?: boolean;
|
|
3141
|
+
loginOnly?: boolean;
|
|
3142
|
+
accountIdentifier?: string;
|
|
3143
|
+
registerExternalHost?: (...args: any[]) => void;
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
/*!
|
|
3147
|
+
* @license
|
|
3148
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3149
|
+
*
|
|
3150
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3151
|
+
* you may not use this file except in compliance with the License.
|
|
3152
|
+
* You may obtain a copy of the License at
|
|
3153
|
+
*
|
|
3154
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3155
|
+
*
|
|
3156
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3157
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3158
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3159
|
+
* See the License for the specific language governing permissions and
|
|
3160
|
+
* limitations under the License.
|
|
3161
|
+
*/
|
|
3162
|
+
|
|
3163
|
+
declare class AttachFileWidgetDialogComponent implements OnInit {
|
|
3164
|
+
private readonly translation;
|
|
3165
|
+
data: AttachFileWidgetDialogComponentData;
|
|
3166
|
+
private readonly externalApiService;
|
|
3167
|
+
private readonly authenticationService;
|
|
3168
|
+
private readonly matDialogRef;
|
|
3169
|
+
loginPanel: LoginDialogPanelComponent;
|
|
3170
|
+
title: string;
|
|
3171
|
+
action: string;
|
|
3172
|
+
buttonActionName: string;
|
|
3173
|
+
chosenNode: Node[];
|
|
3174
|
+
private readonly destroyRef;
|
|
3175
|
+
constructor();
|
|
3176
|
+
ngOnInit(): void;
|
|
3177
|
+
isLoggedIn(): boolean;
|
|
3178
|
+
performLogin(): void;
|
|
3179
|
+
close(): void;
|
|
3180
|
+
onSelect(nodeList: Node[]): void;
|
|
3181
|
+
onSiteChange(siteTitle: string): void;
|
|
3182
|
+
onClick(): void;
|
|
3183
|
+
updateTitle(siteTitle: string): void;
|
|
3184
|
+
getTitleTranslation(action: string, name?: string): string;
|
|
3185
|
+
hasNodeSelected(): boolean;
|
|
3186
|
+
private registerAndClose;
|
|
3187
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetDialogComponent, never>;
|
|
3188
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachFileWidgetDialogComponent, "adf-attach-file-widget-dialog", never, {}, {}, never, never, true, never>;
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
/*!
|
|
3192
|
+
* @license
|
|
3193
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3194
|
+
*
|
|
3195
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3196
|
+
* you may not use this file except in compliance with the License.
|
|
3197
|
+
* You may obtain a copy of the License at
|
|
3198
|
+
*
|
|
3199
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3200
|
+
*
|
|
3201
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3202
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3203
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3204
|
+
* See the License for the specific language governing permissions and
|
|
3205
|
+
* limitations under the License.
|
|
3206
|
+
*/
|
|
3207
|
+
|
|
3208
|
+
declare class AttachFileWidgetDialogService {
|
|
3209
|
+
private readonly dialog;
|
|
3210
|
+
private readonly translation;
|
|
3211
|
+
/** Emitted when an error occurs. */
|
|
3212
|
+
error: EventEmitter<any>;
|
|
3213
|
+
private externalApis;
|
|
3214
|
+
/**
|
|
3215
|
+
* Opens a dialog to choose a file to upload.
|
|
3216
|
+
*
|
|
3217
|
+
* @param repository Alfresco endpoint that represents the content service
|
|
3218
|
+
* @param currentFolderId Upload file from specific folder
|
|
3219
|
+
* @param accountIdentifier account identifier
|
|
3220
|
+
* @returns Information about the chosen file(s)
|
|
3221
|
+
*/
|
|
3222
|
+
openLogin(repository: AlfrescoEndpointRepresentation, currentFolderId?: string, accountIdentifier?: string): Observable<Node[]>;
|
|
3223
|
+
downloadURL(repository: AlfrescoEndpointRepresentation, sourceId: string): Observable<string>;
|
|
3224
|
+
addService(accountIdentifier: string, apiService: AlfrescoApiService): void;
|
|
3225
|
+
/** Closes the currently open dialog. */
|
|
3226
|
+
close(): void;
|
|
3227
|
+
private openLoginDialog;
|
|
3228
|
+
private showExternalHostLoginDialog;
|
|
3229
|
+
private constructPayload;
|
|
3230
|
+
private getLoginTitleTranslation;
|
|
3231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetDialogService, never>;
|
|
3232
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AttachFileWidgetDialogService>;
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
/*!
|
|
3236
|
+
* @license
|
|
3237
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3238
|
+
*
|
|
3239
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3240
|
+
* you may not use this file except in compliance with the License.
|
|
3241
|
+
* You may obtain a copy of the License at
|
|
3242
|
+
*
|
|
3243
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3244
|
+
*
|
|
3245
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3246
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3247
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3248
|
+
* See the License for the specific language governing permissions and
|
|
3249
|
+
* limitations under the License.
|
|
3250
|
+
*/
|
|
3251
|
+
|
|
3252
|
+
declare class DocumentWidgetComponent extends WidgetComponent implements OnInit {
|
|
3253
|
+
fileId: string;
|
|
3254
|
+
hasFile: boolean;
|
|
3255
|
+
ngOnInit(): void;
|
|
3256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentWidgetComponent, never>;
|
|
3257
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentWidgetComponent, "adf-form-document-widget", never, {}, {}, never, never, true, never>;
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
declare class PeopleProcessService {
|
|
3261
|
+
private readonly apiService;
|
|
3262
|
+
readonly taskActionsApi: TaskActionsApi;
|
|
3263
|
+
readonly userApi: UsersApi;
|
|
3264
|
+
readonly groupsApi: ActivitiGroupsApi;
|
|
3265
|
+
readonly profileApi: UserProfileApi;
|
|
3266
|
+
/**
|
|
3267
|
+
* Gets information about the current user.
|
|
3268
|
+
*
|
|
3269
|
+
* @returns User information object
|
|
3270
|
+
*/
|
|
3271
|
+
getCurrentUserInfo(): Observable<UserRepresentation>;
|
|
3272
|
+
/**
|
|
3273
|
+
* Gets the current user's profile image as a URL.
|
|
3274
|
+
*
|
|
3275
|
+
* @returns URL string
|
|
3276
|
+
*/
|
|
3277
|
+
getCurrentUserProfileImage(): string;
|
|
3278
|
+
/**
|
|
3279
|
+
* Gets a list of groups in a workflow.
|
|
3280
|
+
*
|
|
3281
|
+
* @param filter Filter to select specific groups
|
|
3282
|
+
* @param groupId Group ID for the search
|
|
3283
|
+
* @returns Array of groups
|
|
3284
|
+
*/
|
|
3285
|
+
getWorkflowGroups(filter: string, groupId?: string): Observable<GroupModel[]>;
|
|
3286
|
+
/**
|
|
3287
|
+
* Gets information about users across all tasks.
|
|
3288
|
+
*
|
|
3289
|
+
* @param taskId ID of the task
|
|
3290
|
+
* @param searchWord Filter text to search for
|
|
3291
|
+
* @param groupId group id
|
|
3292
|
+
* @returns Array of user information objects
|
|
3293
|
+
*/
|
|
3294
|
+
getWorkflowUsers(taskId?: string, searchWord?: string, groupId?: number): Observable<LightUserRepresentation[]>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Gets the profile picture URL for the specified user.
|
|
3297
|
+
*
|
|
3298
|
+
* @param userId The target user
|
|
3299
|
+
* @returns Profile picture URL
|
|
3300
|
+
*/
|
|
3301
|
+
getUserImage(userId: string): string;
|
|
3302
|
+
/**
|
|
3303
|
+
* Sets a user to be involved with a task.
|
|
3304
|
+
*
|
|
3305
|
+
* @param taskId ID of the target task
|
|
3306
|
+
* @param idToInvolve ID of the user to involve
|
|
3307
|
+
* @returns Empty response when the update completes
|
|
3308
|
+
*/
|
|
3309
|
+
involveUserWithTask(taskId: string, idToInvolve: string): Observable<LightUserRepresentation[]>;
|
|
3310
|
+
/**
|
|
3311
|
+
* Removes a user who is currently involved with a task.
|
|
3312
|
+
*
|
|
3313
|
+
* @param taskId ID of the target task
|
|
3314
|
+
* @param idToRemove ID of the user to remove
|
|
3315
|
+
* @returns Empty response when the update completes
|
|
3316
|
+
*/
|
|
3317
|
+
removeInvolvedUser(taskId: string, idToRemove: string): Observable<LightUserRepresentation[]>;
|
|
3318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleProcessService, never>;
|
|
3319
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PeopleProcessService>;
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
/*!
|
|
3323
|
+
* @license
|
|
3324
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3325
|
+
*
|
|
3326
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3327
|
+
* you may not use this file except in compliance with the License.
|
|
3328
|
+
* You may obtain a copy of the License at
|
|
3329
|
+
*
|
|
3330
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3331
|
+
*
|
|
3332
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3333
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3334
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3335
|
+
* See the License for the specific language governing permissions and
|
|
3336
|
+
* limitations under the License.
|
|
3337
|
+
*/
|
|
3338
|
+
|
|
3339
|
+
declare class PeopleWidgetComponent extends WidgetComponent implements OnInit {
|
|
3340
|
+
input: ElementRef;
|
|
3341
|
+
/** Emitted when a valid user has been highlighted */
|
|
3342
|
+
peopleSelected: EventEmitter<number>;
|
|
3343
|
+
selectedUsers: LightUserRepresentation[];
|
|
3344
|
+
multiSelect: boolean;
|
|
3345
|
+
groupId: number;
|
|
3346
|
+
searchTerm: UntypedFormControl;
|
|
3347
|
+
searchTerms$: Observable<any>;
|
|
3348
|
+
users$: Observable<LightUserRepresentation[]>;
|
|
3349
|
+
peopleProcessService: PeopleProcessService;
|
|
3350
|
+
errorStateMatcher: ErrorStateMatcher;
|
|
3351
|
+
ngOnInit(): void;
|
|
3352
|
+
checkUserAndValidateForm(list: LightUserRepresentation[], value: string): void;
|
|
3353
|
+
isValidUser(users: LightUserRepresentation[], name: string): boolean;
|
|
3354
|
+
getDisplayName(model: LightUserRepresentation): string;
|
|
3355
|
+
onRemove(user: LightUserRepresentation): void;
|
|
3356
|
+
onItemSelect(user: LightUserRepresentation): void;
|
|
3357
|
+
private initErrorStateMatcher;
|
|
3358
|
+
isUserAlreadySelected(user: LightUserRepresentation): boolean;
|
|
3359
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleWidgetComponent, never>;
|
|
3360
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleWidgetComponent, "people-widget", never, {}, { "peopleSelected": "peopleSelected"; }, never, never, true, never>;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
/*!
|
|
3364
|
+
* @license
|
|
3365
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3366
|
+
*
|
|
3367
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3368
|
+
* you may not use this file except in compliance with the License.
|
|
3369
|
+
* You may obtain a copy of the License at
|
|
3370
|
+
*
|
|
3371
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3372
|
+
*
|
|
3373
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3374
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3375
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3376
|
+
* See the License for the specific language governing permissions and
|
|
3377
|
+
* limitations under the License.
|
|
3378
|
+
*/
|
|
3379
|
+
|
|
3380
|
+
declare class RadioButtonsWidgetComponent extends WidgetComponent implements OnInit {
|
|
3381
|
+
private readonly taskFormService;
|
|
3382
|
+
private readonly processDefinitionService;
|
|
3383
|
+
ngOnInit(): void;
|
|
3384
|
+
getOptionsByTaskId(): void;
|
|
3385
|
+
getOptionsByProcessDefinitionId(): void;
|
|
3386
|
+
onOptionClick(optionSelected: any): void;
|
|
3387
|
+
private isRestType;
|
|
3388
|
+
private isReadOnlyForm;
|
|
3389
|
+
private hasRestUrl;
|
|
3390
|
+
private isValidRestConfig;
|
|
3391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsWidgetComponent, never>;
|
|
3392
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsWidgetComponent, "radio-buttons-widget", never, {}, {}, never, never, true, never>;
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
declare class FunctionalGroupWidgetComponent extends WidgetComponent implements OnInit {
|
|
3396
|
+
minTermLength: number;
|
|
3397
|
+
groupId: string;
|
|
3398
|
+
searchTerm: UntypedFormControl;
|
|
3399
|
+
groups$: rxjs.Observable<any[]>;
|
|
3400
|
+
selectedGroups: GroupModel[];
|
|
3401
|
+
multiSelect: boolean;
|
|
3402
|
+
input: ElementRef;
|
|
3403
|
+
peopleProcessService: PeopleProcessService;
|
|
3404
|
+
elementRef: ElementRef<any>;
|
|
3405
|
+
ngOnInit(): void;
|
|
3406
|
+
updateOption(option?: GroupModel): void;
|
|
3407
|
+
validateGroup(valid: boolean, empty: boolean): void;
|
|
3408
|
+
getDisplayName(model: GroupModel | string): string;
|
|
3409
|
+
onRemove(group: GroupModel): void;
|
|
3410
|
+
isGroupAlreadySelected(group: GroupModel): boolean;
|
|
3411
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionalGroupWidgetComponent, never>;
|
|
3412
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FunctionalGroupWidgetComponent, "functional-group-widget", never, {}, {}, never, never, true, never>;
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
/*!
|
|
3416
|
+
* @license
|
|
3417
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3418
|
+
*
|
|
3419
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3420
|
+
* you may not use this file except in compliance with the License.
|
|
3421
|
+
* You may obtain a copy of the License at
|
|
3422
|
+
*
|
|
3423
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3424
|
+
*
|
|
3425
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3426
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3427
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3428
|
+
* See the License for the specific language governing permissions and
|
|
3429
|
+
* limitations under the License.
|
|
3430
|
+
*/
|
|
3431
|
+
|
|
3432
|
+
declare class TypeaheadWidgetComponent extends WidgetComponent implements OnInit {
|
|
3433
|
+
minTermLength: number;
|
|
3434
|
+
value: string;
|
|
3435
|
+
oldValue: string;
|
|
3436
|
+
options: FormFieldOption[];
|
|
3437
|
+
errorStateMatcher: ErrorStateMatcher;
|
|
3438
|
+
private readonly taskFormService;
|
|
3439
|
+
private readonly processDefinitionService;
|
|
3440
|
+
ngOnInit(): void;
|
|
3441
|
+
getValuesByTaskId(): void;
|
|
3442
|
+
getValuesByProcessDefinitionId(): void;
|
|
3443
|
+
getOptions(): FormFieldOption[];
|
|
3444
|
+
isValidOptionName(optionName: string): boolean;
|
|
3445
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
3446
|
+
onItemSelect(item: FormFieldOption): void;
|
|
3447
|
+
validate(): void;
|
|
3448
|
+
isValueDefined(): boolean;
|
|
3449
|
+
isReadOnlyType(): boolean;
|
|
3450
|
+
private initErrorStateMatcher;
|
|
3451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TypeaheadWidgetComponent, never>;
|
|
3452
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TypeaheadWidgetComponent, "typeahead-widget", never, {}, {}, never, never, true, never>;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
/*!
|
|
3456
|
+
* @license
|
|
3457
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3458
|
+
*
|
|
3459
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3460
|
+
* you may not use this file except in compliance with the License.
|
|
3461
|
+
* You may obtain a copy of the License at
|
|
3462
|
+
*
|
|
3463
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3464
|
+
*
|
|
3465
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3466
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3467
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3468
|
+
* See the License for the specific language governing permissions and
|
|
3469
|
+
* limitations under the License.
|
|
3470
|
+
*/
|
|
3471
|
+
|
|
3472
|
+
declare class DropdownWidgetComponent extends WidgetComponent implements OnInit, ReactiveFormWidget {
|
|
3473
|
+
formService: FormService;
|
|
3474
|
+
taskFormService: TaskFormService;
|
|
3475
|
+
processDefinitionService: ProcessDefinitionService;
|
|
3476
|
+
private readonly destroyRef;
|
|
3477
|
+
dropdownControl: FormControl<string | FormFieldOption>;
|
|
3478
|
+
get isReadOnlyType(): boolean;
|
|
3479
|
+
get isReadOnlyField(): boolean;
|
|
3480
|
+
private get isRestType();
|
|
3481
|
+
private get hasRestUrl();
|
|
3482
|
+
private get isValidRestConfig();
|
|
3483
|
+
ngOnInit(): void;
|
|
3484
|
+
updateReactiveFormControl(): void;
|
|
3485
|
+
getValuesByTaskId(): void;
|
|
3486
|
+
getValuesByProcessDefinitionId(): void;
|
|
3487
|
+
private isReadOnlyForm;
|
|
3488
|
+
private subscribeToInputChanges;
|
|
3489
|
+
private setFormControlValue;
|
|
3490
|
+
private updateFormControlState;
|
|
3491
|
+
private handleErrors;
|
|
3492
|
+
private setOptionValue;
|
|
3493
|
+
private getOptionValue;
|
|
3494
|
+
private customRequiredValidator;
|
|
3495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownWidgetComponent, never>;
|
|
3496
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownWidgetComponent, "dropdown-widget", never, {}, {}, never, never, true, never>;
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
declare const WIDGET_DIRECTIVES: (typeof ContentWidgetComponent | typeof FileViewerWidgetComponent | typeof BooleanEditorComponent | typeof DateEditorComponent | typeof DateTimeEditorComponent | typeof RowEditorComponent | typeof AttachFileWidgetDialogComponent)[];
|
|
3500
|
+
|
|
3501
|
+
declare class ProcessFormRenderingService extends FormRenderingService {
|
|
3502
|
+
constructor();
|
|
3503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFormRenderingService, never>;
|
|
3504
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessFormRenderingService>;
|
|
3505
|
+
}
|
|
3506
|
+
|
|
3507
|
+
/*!
|
|
3508
|
+
* @license
|
|
3509
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3510
|
+
*
|
|
3511
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3512
|
+
* you may not use this file except in compliance with the License.
|
|
3513
|
+
* You may obtain a copy of the License at
|
|
3514
|
+
*
|
|
3515
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3516
|
+
*
|
|
3517
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3518
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3519
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3520
|
+
* See the License for the specific language governing permissions and
|
|
3521
|
+
* limitations under the License.
|
|
3522
|
+
*/
|
|
3523
|
+
|
|
3524
|
+
declare const FORM_DIRECTIVES: (typeof FormCustomOutcomesComponent)[];
|
|
3525
|
+
|
|
3526
|
+
/*!
|
|
3527
|
+
* @license
|
|
3528
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3529
|
+
*
|
|
3530
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3531
|
+
* you may not use this file except in compliance with the License.
|
|
3532
|
+
* You may obtain a copy of the License at
|
|
3533
|
+
*
|
|
3534
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3535
|
+
*
|
|
3536
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3537
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3538
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3539
|
+
* See the License for the specific language governing permissions and
|
|
3540
|
+
* limitations under the License.
|
|
3541
|
+
*/
|
|
3542
|
+
|
|
3543
|
+
declare class StartProcessInstanceComponent implements OnChanges, OnInit {
|
|
3544
|
+
private readonly processService;
|
|
3545
|
+
private readonly contentService;
|
|
3546
|
+
private readonly appsProcessService;
|
|
3547
|
+
private readonly appConfig;
|
|
3548
|
+
private readonly datePipe;
|
|
3549
|
+
/**
|
|
3550
|
+
* Limit the list of processes that can be started to those
|
|
3551
|
+
* contained in the specified app.
|
|
3552
|
+
*/
|
|
3553
|
+
appId?: number;
|
|
3554
|
+
/** Define the header of the component. */
|
|
3555
|
+
title?: string;
|
|
3556
|
+
/** Definition name of the process to start. */
|
|
3557
|
+
processDefinitionName?: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* Variables in the input to the process
|
|
3560
|
+
* [RestVariable](https://github.com/Alfresco/alfresco-js-api/tree/master/src/alfresco-activiti-rest-api/docs/RestVariable.md).
|
|
3561
|
+
*/
|
|
3562
|
+
variables: RestVariable[];
|
|
3563
|
+
/** Parameter to pass form field values in the start form if one is associated. */
|
|
3564
|
+
values: FormValues;
|
|
3565
|
+
/** Name to assign to the current process. */
|
|
3566
|
+
name?: string;
|
|
3567
|
+
/** Hide or show the process selection dropdown. */
|
|
3568
|
+
showSelectProcessDropdown: boolean;
|
|
3569
|
+
/** Hide or show application selection dropdown. */
|
|
3570
|
+
showSelectApplicationDropdown?: boolean;
|
|
3571
|
+
/** Parameter to enable selection of process when filtering. */
|
|
3572
|
+
processFilterSelector?: boolean;
|
|
3573
|
+
/** Emitted when the process starts. */
|
|
3574
|
+
start: EventEmitter<ProcessInstanceRepresentation>;
|
|
3575
|
+
/** Emitted when the process is canceled. */
|
|
3576
|
+
cancel: EventEmitter<void>;
|
|
3577
|
+
/** Emitted when an error occurs. */
|
|
3578
|
+
error: EventEmitter<any>;
|
|
3579
|
+
/** Emitted when process definition selection changes. */
|
|
3580
|
+
processDefinitionSelection: EventEmitter<ProcessDefinitionRepresentation>;
|
|
3581
|
+
/** Emitted when application selection changes. */
|
|
3582
|
+
applicationSelection: EventEmitter<AppDefinitionRepresentation>;
|
|
3583
|
+
startForm: StartFormComponent;
|
|
3584
|
+
inputAutocomplete: MatAutocompleteTrigger;
|
|
3585
|
+
processDefinitions: ProcessDefinitionRepresentation[];
|
|
3586
|
+
selectedProcessDef: ProcessDefinitionRepresentation;
|
|
3587
|
+
processNameInput: UntypedFormControl;
|
|
3588
|
+
processDefinitionInput: UntypedFormControl;
|
|
3589
|
+
filteredProcessesDefinitions$: Observable<ProcessDefinitionRepresentation[]>;
|
|
3590
|
+
maxProcessNameLength: number;
|
|
3591
|
+
alfrescoRepositoryName: string;
|
|
3592
|
+
applications: AppDefinitionRepresentation[];
|
|
3593
|
+
selectedApplication: AppDefinitionRepresentation;
|
|
3594
|
+
isProcessDefinitionsLoading: boolean;
|
|
3595
|
+
isAppsLoading: boolean;
|
|
3596
|
+
populatedFormData: FormValues;
|
|
3597
|
+
private readonly destroyRef;
|
|
3598
|
+
ngOnInit(): void;
|
|
3599
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3600
|
+
private getSelectedProcess;
|
|
3601
|
+
private load;
|
|
3602
|
+
loadProcessDefinitions(appId: number): void;
|
|
3603
|
+
private filterProcessDefinitionByName;
|
|
3604
|
+
private loadApps;
|
|
3605
|
+
private loadProcessDefinitionsBasedOnSelectedApp;
|
|
3606
|
+
onAppSelectionChange(selectedApplication: MatSelectChange): void;
|
|
3607
|
+
hasApplications(): boolean;
|
|
3608
|
+
hasProcessDefinitions(): boolean;
|
|
3609
|
+
isProcessDefinitionSelected(): boolean;
|
|
3610
|
+
isDropdownDisabled(): boolean;
|
|
3611
|
+
getAlfrescoRepositoryName(): string;
|
|
3612
|
+
populateFormData(): void;
|
|
3613
|
+
startProcess(outcome?: string): void;
|
|
3614
|
+
cancelStartProcess(): void;
|
|
3615
|
+
hasStartForm(): boolean;
|
|
3616
|
+
private isStartFormMissingOrValid;
|
|
3617
|
+
validateForm(): boolean;
|
|
3618
|
+
onOutcomeClick(outcome: string): void;
|
|
3619
|
+
reset(): void;
|
|
3620
|
+
displayFn(process: any): string;
|
|
3621
|
+
displayDropdown(event: Event): void;
|
|
3622
|
+
get nameController(): AbstractControl;
|
|
3623
|
+
get processDefinitionController(): AbstractControl;
|
|
3624
|
+
processDefinitionSelectionChanged(processDefinition: ProcessDefinitionRepresentation): void;
|
|
3625
|
+
isLoading(): boolean;
|
|
3626
|
+
private isAppSelected;
|
|
3627
|
+
private resetSelectedProcessDefinition;
|
|
3628
|
+
private resetProcessDefinitions;
|
|
3629
|
+
private toggleProcessNameAndDefinitionsDropdown;
|
|
3630
|
+
private _filter;
|
|
3631
|
+
private formatProcessName;
|
|
3632
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartProcessInstanceComponent, never>;
|
|
3633
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StartProcessInstanceComponent, "adf-start-process", never, { "appId": { "alias": "appId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "processDefinitionName": { "alias": "processDefinitionName"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "values": { "alias": "values"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showSelectProcessDropdown": { "alias": "showSelectProcessDropdown"; "required": false; }; "showSelectApplicationDropdown": { "alias": "showSelectApplicationDropdown"; "required": false; }; "processFilterSelector": { "alias": "processFilterSelector"; "required": false; }; }, { "start": "start"; "cancel": "cancel"; "error": "error"; "processDefinitionSelection": "processDefinitionSelection"; "applicationSelection": "applicationSelection"; }, never, never, true, never>;
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
declare class ProcessFilterService {
|
|
3637
|
+
private readonly alfrescoApiService;
|
|
3638
|
+
readonly userFiltersApi: UserFiltersApi;
|
|
3639
|
+
/**
|
|
3640
|
+
* Gets all filters defined for a Process App.
|
|
3641
|
+
*
|
|
3642
|
+
* @param appId ID of the target app
|
|
3643
|
+
* @returns Array of filter details
|
|
3644
|
+
*/
|
|
3645
|
+
getProcessFilters(appId: number): Observable<UserProcessInstanceFilterRepresentation[]>;
|
|
3646
|
+
/**
|
|
3647
|
+
* Retrieves the process filter by ID.
|
|
3648
|
+
*
|
|
3649
|
+
* @param filterId ID of the filter
|
|
3650
|
+
* @param appId ID of the target app
|
|
3651
|
+
* @returns Details of the filter
|
|
3652
|
+
*/
|
|
3653
|
+
getProcessFilterById(filterId: number, appId?: number): Observable<UserProcessInstanceFilterRepresentation>;
|
|
3654
|
+
/**
|
|
3655
|
+
* Retrieves the process filter by name.
|
|
3656
|
+
*
|
|
3657
|
+
* @param filterName Name of the filter
|
|
3658
|
+
* @param appId ID of the target app
|
|
3659
|
+
* @returns Details of the filter
|
|
3660
|
+
*/
|
|
3661
|
+
getProcessFilterByName(filterName: string, appId?: number): Observable<UserProcessInstanceFilterRepresentation>;
|
|
3662
|
+
/**
|
|
3663
|
+
* Creates and returns the default filters for an app.
|
|
3664
|
+
*
|
|
3665
|
+
* @param appId ID of the target app
|
|
3666
|
+
* @returns Default filters just created
|
|
3667
|
+
*/
|
|
3668
|
+
createDefaultFilters(appId: number): Observable<UserProcessInstanceFilterRepresentation[]>;
|
|
3669
|
+
/**
|
|
3670
|
+
* Checks if a filter with the given name already exists in the list of filters.
|
|
3671
|
+
*
|
|
3672
|
+
* @param filters - An array of objects representing the existing filters.
|
|
3673
|
+
* @param filterName - The name of the filter to check for existence.
|
|
3674
|
+
* @returns - True if a filter with the specified name already exists, false otherwise.
|
|
3675
|
+
*/
|
|
3676
|
+
isFilterAlreadyExisting(filters: Partial<{
|
|
3677
|
+
name: string;
|
|
3678
|
+
}>[], filterName: string): boolean;
|
|
3679
|
+
/**
|
|
3680
|
+
* Creates and returns a filter that matches "running" process instances.
|
|
3681
|
+
*
|
|
3682
|
+
* @param appId ID of the target app
|
|
3683
|
+
* @param index of the filter (optional)
|
|
3684
|
+
* @returns Filter just created
|
|
3685
|
+
*/
|
|
3686
|
+
getRunningFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation;
|
|
3687
|
+
/**
|
|
3688
|
+
* Adds a filter.
|
|
3689
|
+
*
|
|
3690
|
+
* @param filter The filter to add
|
|
3691
|
+
* @returns The filter just added
|
|
3692
|
+
*/
|
|
3693
|
+
addProcessFilter(filter: UserProcessInstanceFilterRepresentation): Observable<UserProcessInstanceFilterRepresentation>;
|
|
3694
|
+
/**
|
|
3695
|
+
* Calls `getUserProcessInstanceFilters` from the Alfresco JS API.
|
|
3696
|
+
*
|
|
3697
|
+
* @param appId ID of the target app
|
|
3698
|
+
* @returns List of filter details
|
|
3699
|
+
*/
|
|
3700
|
+
callApiProcessFilters(appId?: number): Promise<ResultListDataRepresentationUserProcessInstanceFilterRepresentation>;
|
|
3701
|
+
getCompletedFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation;
|
|
3702
|
+
getAllFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation;
|
|
3703
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessFilterService, never>;
|
|
3704
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessFilterService>;
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3707
|
+
/*!
|
|
3708
|
+
* @license
|
|
3709
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3710
|
+
*
|
|
3711
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3712
|
+
* you may not use this file except in compliance with the License.
|
|
3713
|
+
* You may obtain a copy of the License at
|
|
3714
|
+
*
|
|
3715
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3716
|
+
*
|
|
3717
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3718
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3719
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3720
|
+
* See the License for the specific language governing permissions and
|
|
3721
|
+
* limitations under the License.
|
|
3722
|
+
*/
|
|
3723
|
+
|
|
3724
|
+
declare const PROCESS_LIST_DIRECTIVES: readonly [typeof ProcessInstanceListComponent, typeof ProcessFiltersComponent, typeof ProcessInstanceDetailsComponent, typeof ProcessInstanceHeaderComponent, typeof ProcessInstanceTasksComponent, typeof StartProcessInstanceComponent];
|
|
3725
|
+
|
|
3726
|
+
/*!
|
|
3727
|
+
* @license
|
|
3728
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3729
|
+
*
|
|
3730
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3731
|
+
* you may not use this file except in compliance with the License.
|
|
3732
|
+
* You may obtain a copy of the License at
|
|
3733
|
+
*
|
|
3734
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3735
|
+
*
|
|
3736
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3737
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3738
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3739
|
+
* See the License for the specific language governing permissions and
|
|
3740
|
+
* limitations under the License.
|
|
3741
|
+
*/
|
|
3742
|
+
|
|
3743
|
+
declare const APP_LIST_LAYOUT_LIST: string;
|
|
3744
|
+
declare const APP_LIST_LAYOUT_GRID: string;
|
|
3745
|
+
declare class AppsListComponent implements OnInit, AfterContentInit {
|
|
3746
|
+
private readonly appsProcessService;
|
|
3747
|
+
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
3748
|
+
/**
|
|
3749
|
+
* Defines the layout of the apps. There are two possible
|
|
3750
|
+
* values, "GRID" and "LIST".
|
|
3751
|
+
*/
|
|
3752
|
+
layoutType: string;
|
|
3753
|
+
/** The default app to show when the component is loaded. */
|
|
3754
|
+
defaultAppId: string;
|
|
3755
|
+
/** Provides a way to filter the apps to show. */
|
|
3756
|
+
filtersAppId: AppDefinitionRepresentation[];
|
|
3757
|
+
/** Emitted when an app entry is clicked. */
|
|
3758
|
+
appClick: EventEmitter<AppDefinitionRepresentation>;
|
|
3759
|
+
/** Emitted when an error occurs. */
|
|
3760
|
+
error: EventEmitter<any>;
|
|
3761
|
+
currentApp: AppDefinitionRepresentation;
|
|
3762
|
+
appList: AppDefinitionRepresentation[];
|
|
3763
|
+
loading: boolean;
|
|
3764
|
+
hasEmptyCustomContentTemplate: boolean;
|
|
3765
|
+
private iconsMDL;
|
|
3766
|
+
ngOnInit(): void;
|
|
3767
|
+
ngAfterContentInit(): void;
|
|
3768
|
+
private isDefaultApp;
|
|
3769
|
+
getAppName(app: AppDefinitionRepresentation): string;
|
|
3770
|
+
/**
|
|
3771
|
+
* Pass the selected app as next
|
|
3772
|
+
*
|
|
3773
|
+
* @param app application model
|
|
3774
|
+
*/
|
|
3775
|
+
selectApp(app: AppDefinitionRepresentation): void;
|
|
3776
|
+
/**
|
|
3777
|
+
* Return true if the appId is the current app
|
|
3778
|
+
*
|
|
3779
|
+
* @param appId application id
|
|
3780
|
+
* @returns `true` if application is selected, otherwise `false`
|
|
3781
|
+
*/
|
|
3782
|
+
isSelected(appId: number): boolean;
|
|
3783
|
+
/**
|
|
3784
|
+
* Check if the value of the layoutType property is an allowed value
|
|
3785
|
+
*
|
|
3786
|
+
* @returns `true` if layout type is valid, otherwise `false`
|
|
3787
|
+
*/
|
|
3788
|
+
isValidType(): boolean;
|
|
3789
|
+
/**
|
|
3790
|
+
* Assign the default value to LayoutType
|
|
3791
|
+
*/
|
|
3792
|
+
setDefaultLayoutType(): void;
|
|
3793
|
+
/**
|
|
3794
|
+
* Check if the layout type is LIST
|
|
3795
|
+
*
|
|
3796
|
+
* @returns `true` if current layout is in the list mode, otherwise `false`
|
|
3797
|
+
*/
|
|
3798
|
+
isList(): boolean;
|
|
3799
|
+
/**
|
|
3800
|
+
* Check if the layout type is GRID
|
|
3801
|
+
*
|
|
3802
|
+
* @returns `true` if current layout is in the grid mode, otherwise `false`
|
|
3803
|
+
*/
|
|
3804
|
+
isGrid(): boolean;
|
|
3805
|
+
isEmpty(): boolean;
|
|
3806
|
+
isLoading(): boolean;
|
|
3807
|
+
getTheme(app: AppDefinitionRepresentation): string;
|
|
3808
|
+
getBackgroundIcon(app: AppDefinitionRepresentation): string;
|
|
3809
|
+
private load;
|
|
3810
|
+
filterApps(apps: AppDefinitionRepresentation[], filter: Partial<AppDefinitionRepresentation>[]): AppDefinitionRepresentation[];
|
|
3811
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppsListComponent, never>;
|
|
3812
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppsListComponent, "adf-apps", never, { "layoutType": { "alias": "layoutType"; "required": false; }; "defaultAppId": { "alias": "defaultAppId"; "required": false; }; "filtersAppId": { "alias": "filtersAppId"; "required": false; }; }, { "appClick": "appClick"; "error": "error"; }, ["emptyCustomContent"], ["adf-custom-empty-content-template"], true, never>;
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3815
|
+
declare class SelectAppsDialogComponent {
|
|
3816
|
+
private readonly appsProcessService;
|
|
3817
|
+
dialogRef: MatDialogRef<SelectAppsDialogComponent, any>;
|
|
3818
|
+
data: any;
|
|
3819
|
+
processApps: any;
|
|
3820
|
+
selectedProcess: any;
|
|
3821
|
+
constructor();
|
|
3822
|
+
onStart(): void;
|
|
3823
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAppsDialogComponent, never>;
|
|
3824
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectAppsDialogComponent, "adf-select-apps-dialog", never, {}, {}, never, never, true, never>;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
declare class AppsProcessService {
|
|
3828
|
+
private readonly apiService;
|
|
3829
|
+
readonly appsApi: RuntimeAppDefinitionsApi;
|
|
3830
|
+
/**
|
|
3831
|
+
* Gets a list of deployed apps for this user.
|
|
3832
|
+
*
|
|
3833
|
+
* @returns The list of deployed apps
|
|
3834
|
+
*/
|
|
3835
|
+
getDeployedApplications(): Observable<AppDefinitionRepresentation[]>;
|
|
3836
|
+
/**
|
|
3837
|
+
* Gets a list of deployed apps for this user, where the app name is `name`.
|
|
3838
|
+
*
|
|
3839
|
+
* @param name Name of the app
|
|
3840
|
+
* @returns The list of deployed apps
|
|
3841
|
+
*/
|
|
3842
|
+
getDeployedApplicationsByName(name: string): Observable<AppDefinitionRepresentation>;
|
|
3843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppsProcessService, never>;
|
|
3844
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppsProcessService>;
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
/*!
|
|
3848
|
+
* @license
|
|
3849
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3850
|
+
*
|
|
3851
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3852
|
+
* you may not use this file except in compliance with the License.
|
|
3853
|
+
* You may obtain a copy of the License at
|
|
3854
|
+
*
|
|
3855
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3856
|
+
*
|
|
3857
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3858
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3859
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3860
|
+
* See the License for the specific language governing permissions and
|
|
3861
|
+
* limitations under the License.
|
|
3862
|
+
*/
|
|
3863
|
+
|
|
3864
|
+
declare const APPS_LIST_DIRECTIVES: readonly [typeof AppsListComponent, typeof SelectAppsDialogComponent];
|
|
3865
|
+
|
|
3866
|
+
/*!
|
|
3867
|
+
* @license
|
|
3868
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3869
|
+
*
|
|
3870
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3871
|
+
* you may not use this file except in compliance with the License.
|
|
3872
|
+
* You may obtain a copy of the License at
|
|
3873
|
+
*
|
|
3874
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3875
|
+
*
|
|
3876
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3877
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3878
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3879
|
+
* See the License for the specific language governing permissions and
|
|
3880
|
+
* limitations under the License.
|
|
3881
|
+
*/
|
|
3882
|
+
|
|
3883
|
+
declare class TaskAttachmentListComponent implements OnChanges, AfterContentInit {
|
|
3884
|
+
private readonly activitiContentService;
|
|
3885
|
+
private readonly downloadService;
|
|
3886
|
+
private readonly thumbnailService;
|
|
3887
|
+
private readonly ngZone;
|
|
3888
|
+
emptyTemplate: EmptyListComponent;
|
|
3889
|
+
/** (**required**) The ID of the task to display. */
|
|
3890
|
+
taskId: string;
|
|
3891
|
+
/** Disable/Enable read only mode for attachment list. */
|
|
3892
|
+
disabled: boolean;
|
|
3893
|
+
/**
|
|
3894
|
+
* Emitted when the attachment is double-clicked or a view
|
|
3895
|
+
* option is selected from the context menu by the user from within the component.
|
|
3896
|
+
* Returns a Blob representing the clicked object.
|
|
3897
|
+
*/
|
|
3898
|
+
attachmentClick: EventEmitter<any>;
|
|
3899
|
+
/**
|
|
3900
|
+
* Emitted when the attachment list has fetched all the attachments.
|
|
3901
|
+
* Returns a list of attachments.
|
|
3902
|
+
*/
|
|
3903
|
+
success: EventEmitter<any>;
|
|
3904
|
+
/** Emitted when an error occurs while fetching the attachments. */
|
|
3905
|
+
error: EventEmitter<any>;
|
|
3906
|
+
hasCustomTemplate: boolean;
|
|
3907
|
+
attachments: any[];
|
|
3908
|
+
isLoading: boolean;
|
|
3909
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3910
|
+
ngAfterContentInit(): void;
|
|
3911
|
+
reset(): void;
|
|
3912
|
+
reload(): void;
|
|
3913
|
+
add(content: any): void;
|
|
3914
|
+
deleteAttachmentById(contentId: number): void;
|
|
3915
|
+
onShowRowActionsMenu(event: any): void;
|
|
3916
|
+
onExecuteRowAction(event: any): void;
|
|
3917
|
+
openContent(event: any): void;
|
|
3918
|
+
emitDocumentContent(content: any): void;
|
|
3919
|
+
downloadContent(content: any): void;
|
|
3920
|
+
private loadAttachmentsByTaskId;
|
|
3921
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskAttachmentListComponent, never>;
|
|
3922
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskAttachmentListComponent, "adf-task-attachment-list", never, { "taskId": { "alias": "taskId"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "attachmentClick": "attachmentClick"; "success": "success"; "error": "error"; }, ["emptyTemplate"], ["*"], true, never>;
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
/*!
|
|
3926
|
+
* @license
|
|
3927
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3928
|
+
*
|
|
3929
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3930
|
+
* you may not use this file except in compliance with the License.
|
|
3931
|
+
* You may obtain a copy of the License at
|
|
3932
|
+
*
|
|
3933
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3934
|
+
*
|
|
3935
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3936
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3937
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3938
|
+
* See the License for the specific language governing permissions and
|
|
3939
|
+
* limitations under the License.
|
|
3940
|
+
*/
|
|
3941
|
+
|
|
3942
|
+
declare class ProcessAttachmentListComponent implements OnChanges, AfterContentInit {
|
|
3943
|
+
private readonly processContentService;
|
|
3944
|
+
private readonly downloadService;
|
|
3945
|
+
private readonly thumbnailService;
|
|
3946
|
+
private readonly ngZone;
|
|
3947
|
+
emptyTemplate: EmptyListComponent;
|
|
3948
|
+
/** (**required**) The ID of the process instance to display. */
|
|
3949
|
+
processInstanceId: string;
|
|
3950
|
+
/** Disable/Enable read-only mode for attachment list. */
|
|
3951
|
+
disabled: boolean;
|
|
3952
|
+
/**
|
|
3953
|
+
* Emitted when the attachment is double-clicked or the
|
|
3954
|
+
* view option is selected from the context menu by the user from
|
|
3955
|
+
* within the component. Returns a Blob representing the object
|
|
3956
|
+
* that was clicked.
|
|
3957
|
+
*/
|
|
3958
|
+
attachmentClick: EventEmitter<any>;
|
|
3959
|
+
/**
|
|
3960
|
+
* Emitted when the attachment list has fetched all the attachments.
|
|
3961
|
+
* Returns a list of attachments.
|
|
3962
|
+
*/
|
|
3963
|
+
success: EventEmitter<any>;
|
|
3964
|
+
/**
|
|
3965
|
+
* Emitted when the attachment list is not able to fetch the attachments
|
|
3966
|
+
* (eg, following a network error).
|
|
3967
|
+
*/
|
|
3968
|
+
error: EventEmitter<any>;
|
|
3969
|
+
hasCustomTemplate: boolean;
|
|
3970
|
+
attachments: any[];
|
|
3971
|
+
isLoading: boolean;
|
|
3972
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3973
|
+
ngAfterContentInit(): void;
|
|
3974
|
+
reset(): void;
|
|
3975
|
+
reload(): void;
|
|
3976
|
+
add(content: any): void;
|
|
3977
|
+
onShowRowActionsMenu(event: any): void;
|
|
3978
|
+
onExecuteRowAction(event: any): void;
|
|
3979
|
+
openContent(event: any): void;
|
|
3980
|
+
emitDocumentContent(content: any): void;
|
|
3981
|
+
downloadContent(content: any): void;
|
|
3982
|
+
private loadAttachmentsByProcessInstanceId;
|
|
3983
|
+
private deleteAttachmentById;
|
|
3984
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessAttachmentListComponent, never>;
|
|
3985
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessAttachmentListComponent, "adf-process-attachment-list", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "attachmentClick": "attachmentClick"; "success": "success"; "error": "error"; }, ["emptyTemplate"], ["*"], true, never>;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
/*!
|
|
3989
|
+
* @license
|
|
3990
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3991
|
+
*
|
|
3992
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3993
|
+
* you may not use this file except in compliance with the License.
|
|
3994
|
+
* You may obtain a copy of the License at
|
|
3995
|
+
*
|
|
3996
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3997
|
+
*
|
|
3998
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3999
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4000
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4001
|
+
* See the License for the specific language governing permissions and
|
|
4002
|
+
* limitations under the License.
|
|
4003
|
+
*/
|
|
4004
|
+
|
|
4005
|
+
declare class CreateProcessAttachmentComponent implements OnChanges {
|
|
4006
|
+
private readonly processContentService;
|
|
4007
|
+
/** (required) The ID of the process instance to display. */
|
|
4008
|
+
processInstanceId: string;
|
|
4009
|
+
/**
|
|
4010
|
+
* Emitted when an error occurs while creating or uploading an attachment
|
|
4011
|
+
* from the user within the component.
|
|
4012
|
+
*/
|
|
4013
|
+
error: EventEmitter<any>;
|
|
4014
|
+
/**
|
|
4015
|
+
* Emitted when an attachment is successfully created or uploaded
|
|
4016
|
+
* from within the component.
|
|
4017
|
+
*/
|
|
4018
|
+
success: EventEmitter<RelatedContentRepresentation>;
|
|
4019
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
4020
|
+
onFileUpload(event: any): void;
|
|
4021
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CreateProcessAttachmentComponent, never>;
|
|
4022
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateProcessAttachmentComponent, "adf-create-process-attachment", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; }, { "error": "error"; "success": "success"; }, never, never, true, never>;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
/*!
|
|
4026
|
+
* @license
|
|
4027
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4028
|
+
*
|
|
4029
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4030
|
+
* you may not use this file except in compliance with the License.
|
|
4031
|
+
* You may obtain a copy of the License at
|
|
4032
|
+
*
|
|
4033
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4034
|
+
*
|
|
4035
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4036
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4037
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4038
|
+
* See the License for the specific language governing permissions and
|
|
4039
|
+
* limitations under the License.
|
|
4040
|
+
*/
|
|
4041
|
+
|
|
4042
|
+
declare class AttachmentComponent implements OnChanges {
|
|
4043
|
+
private readonly processContentService;
|
|
4044
|
+
/** (required) The numeric ID of the task to display. */
|
|
4045
|
+
taskId: string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Emitted when an error occurs while creating or uploading an
|
|
4048
|
+
* attachment from the user within the component.
|
|
4049
|
+
*/
|
|
4050
|
+
error: EventEmitter<any>;
|
|
4051
|
+
/**
|
|
4052
|
+
* Emitted when an attachment is created or uploaded successfully
|
|
4053
|
+
* from within the component.
|
|
4054
|
+
*/
|
|
4055
|
+
success: EventEmitter<RelatedContentRepresentation>;
|
|
4056
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
4057
|
+
onFileUpload(event: any): void;
|
|
4058
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentComponent, never>;
|
|
4059
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentComponent, "adf-create-task-attachment", never, { "taskId": { "alias": "taskId"; "required": true; }; }, { "error": "error"; "success": "success"; }, never, never, true, never>;
|
|
4060
|
+
}
|
|
4061
|
+
|
|
4062
|
+
/*!
|
|
4063
|
+
* @license
|
|
4064
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4065
|
+
*
|
|
4066
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4067
|
+
* you may not use this file except in compliance with the License.
|
|
4068
|
+
* You may obtain a copy of the License at
|
|
4069
|
+
*
|
|
4070
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4071
|
+
*
|
|
4072
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4073
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4074
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4075
|
+
* See the License for the specific language governing permissions and
|
|
4076
|
+
* limitations under the License.
|
|
4077
|
+
*/
|
|
4078
|
+
|
|
4079
|
+
declare const ATTACHMENT_DIRECTIVES: readonly [typeof TaskAttachmentListComponent, typeof ProcessAttachmentListComponent, typeof CreateProcessAttachmentComponent, typeof AttachmentComponent];
|
|
4080
|
+
|
|
4081
|
+
declare class ProcessCommentsComponent {
|
|
4082
|
+
/** (**required**) The numeric ID of the process instance to display comments for. */
|
|
4083
|
+
processInstanceId: string;
|
|
4084
|
+
/** Should the comments be read-only? */
|
|
4085
|
+
readOnly: boolean;
|
|
4086
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessCommentsComponent, never>;
|
|
4087
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcessCommentsComponent, "adf-process-instance-comments", never, { "processInstanceId": { "alias": "processInstanceId"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
declare class CommentProcessService implements CommentsService {
|
|
4091
|
+
private readonly apiService;
|
|
4092
|
+
private readonly peopleProcessService;
|
|
4093
|
+
readonly commentsApi: ActivitiCommentsApi;
|
|
4094
|
+
/**
|
|
4095
|
+
* Gets all comments that have been added to a process instance.
|
|
4096
|
+
*
|
|
4097
|
+
* @param id ID of the target process instance
|
|
4098
|
+
* @returns Details for each comment
|
|
4099
|
+
*/
|
|
4100
|
+
get(id: string): Observable<CommentModel[]>;
|
|
4101
|
+
/**
|
|
4102
|
+
* Adds a comment to a process instance.
|
|
4103
|
+
*
|
|
4104
|
+
* @param id ID of the target process instance
|
|
4105
|
+
* @param message Text for the comment
|
|
4106
|
+
* @returns Details of the comment added
|
|
4107
|
+
*/
|
|
4108
|
+
add(id: string, message: string): Observable<CommentModel>;
|
|
4109
|
+
getUserImage(userId: string): string;
|
|
4110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentProcessService, never>;
|
|
4111
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommentProcessService>;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
/*!
|
|
4115
|
+
* @license
|
|
4116
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4117
|
+
*
|
|
4118
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4119
|
+
* you may not use this file except in compliance with the License.
|
|
4120
|
+
* You may obtain a copy of the License at
|
|
4121
|
+
*
|
|
4122
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4123
|
+
*
|
|
4124
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4125
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4126
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4127
|
+
* See the License for the specific language governing permissions and
|
|
4128
|
+
* limitations under the License.
|
|
4129
|
+
*/
|
|
4130
|
+
|
|
4131
|
+
declare const PROCESS_COMMENTS_DIRECTIVES: readonly [typeof ProcessCommentsComponent];
|
|
4132
|
+
|
|
4133
|
+
/*!
|
|
4134
|
+
* @license
|
|
4135
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4136
|
+
*
|
|
4137
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4138
|
+
* you may not use this file except in compliance with the License.
|
|
4139
|
+
* You may obtain a copy of the License at
|
|
4140
|
+
*
|
|
4141
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4142
|
+
*
|
|
4143
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4144
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4145
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4146
|
+
* See the License for the specific language governing permissions and
|
|
4147
|
+
* limitations under the License.
|
|
4148
|
+
*/
|
|
4149
|
+
|
|
4150
|
+
type PerformSearchCallback = (searchWord: string) => Observable<LightUserRepresentation[]>;
|
|
4151
|
+
|
|
4152
|
+
/*!
|
|
4153
|
+
* @license
|
|
4154
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4155
|
+
*
|
|
4156
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4157
|
+
* you may not use this file except in compliance with the License.
|
|
4158
|
+
* You may obtain a copy of the License at
|
|
4159
|
+
*
|
|
4160
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4161
|
+
*
|
|
4162
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4163
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4164
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4165
|
+
* See the License for the specific language governing permissions and
|
|
4166
|
+
* limitations under the License.
|
|
4167
|
+
*/
|
|
4168
|
+
|
|
4169
|
+
declare class PeopleSearchComponent implements OnInit {
|
|
4170
|
+
headerTitle?: string;
|
|
4171
|
+
actionLabel?: string;
|
|
4172
|
+
/** Parameters for displaying the list. */
|
|
4173
|
+
results: Observable<LightUserRepresentation[]>;
|
|
4174
|
+
/** Emitted when a search is performed with a new keyword. */
|
|
4175
|
+
searchPeople: EventEmitter<any>;
|
|
4176
|
+
/** Emitted when a user is selected and the action button is clicked. */
|
|
4177
|
+
success: EventEmitter<LightUserRepresentation>;
|
|
4178
|
+
/** Emitted when the "close" button is clicked. */
|
|
4179
|
+
closeSearch: EventEmitter<any>;
|
|
4180
|
+
filteredResults$: Observable<LightUserRepresentation[]>;
|
|
4181
|
+
selectedUser: LightUserRepresentation;
|
|
4182
|
+
performSearch: PerformSearchCallback;
|
|
4183
|
+
ngOnInit(): void;
|
|
4184
|
+
onRowClick(user: LightUserRepresentation): void;
|
|
4185
|
+
closeSearchList(): void;
|
|
4186
|
+
involveUserAndClose(): void;
|
|
4187
|
+
involveUser(): void;
|
|
4188
|
+
private performSearchCallback;
|
|
4189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSearchComponent, never>;
|
|
4190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSearchComponent, "adf-people-search", never, { "headerTitle": { "alias": "headerTitle"; "required": false; }; "actionLabel": { "alias": "actionLabel"; "required": false; }; "results": { "alias": "results"; "required": true; }; }, { "searchPeople": "searchPeople"; "success": "success"; "closeSearch": "closeSearch"; }, never, never, true, never>;
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
/*!
|
|
4194
|
+
* @license
|
|
4195
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4196
|
+
*
|
|
4197
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4198
|
+
* you may not use this file except in compliance with the License.
|
|
4199
|
+
* You may obtain a copy of the License at
|
|
4200
|
+
*
|
|
4201
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4202
|
+
*
|
|
4203
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4204
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4205
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4206
|
+
* See the License for the specific language governing permissions and
|
|
4207
|
+
* limitations under the License.
|
|
4208
|
+
*/
|
|
4209
|
+
|
|
4210
|
+
declare class PeopleComponent {
|
|
4211
|
+
peopleProcessService: PeopleProcessService;
|
|
4212
|
+
/** The array of User objects to display. */
|
|
4213
|
+
people: LightUserRepresentation[];
|
|
4214
|
+
/** The numeric ID of the task. */
|
|
4215
|
+
taskId: string;
|
|
4216
|
+
/** Should the data be read-only? */
|
|
4217
|
+
readOnly: boolean;
|
|
4218
|
+
peopleSearch: PeopleSearchComponent;
|
|
4219
|
+
error: EventEmitter<any>;
|
|
4220
|
+
showAssignment: boolean;
|
|
4221
|
+
peopleSearch$: Observable<LightUserRepresentation[]>;
|
|
4222
|
+
private peopleSearchObserver;
|
|
4223
|
+
constructor();
|
|
4224
|
+
searchUser(searchedWord: string): void;
|
|
4225
|
+
involveUser(user: LightUserRepresentation): void;
|
|
4226
|
+
removeInvolvedUser(user: LightUserRepresentation): void;
|
|
4227
|
+
getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
|
|
4228
|
+
getInitialUserName(firstName: string, lastName: string): string;
|
|
4229
|
+
onAddAssignment(): void;
|
|
4230
|
+
onClickAction(event: UserEventModel): void;
|
|
4231
|
+
hasPeople(): boolean;
|
|
4232
|
+
isEditMode(): boolean;
|
|
4233
|
+
onCloseSearch(): void;
|
|
4234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleComponent, never>;
|
|
4235
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleComponent, "adf-people", never, { "people": { "alias": "people"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "error": "error"; }, never, never, true, never>;
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
declare class PeopleSearchFieldComponent {
|
|
4239
|
+
peopleProcessService: PeopleProcessService;
|
|
4240
|
+
private readonly translationService;
|
|
4241
|
+
performSearch: PerformSearchCallback;
|
|
4242
|
+
placeholder: string;
|
|
4243
|
+
rowClick: EventEmitter<LightUserRepresentation>;
|
|
4244
|
+
users$: Observable<LightUserRepresentation[]>;
|
|
4245
|
+
searchUser: UntypedFormControl;
|
|
4246
|
+
defaultPlaceholder: string;
|
|
4247
|
+
constructor();
|
|
4248
|
+
reset(): void;
|
|
4249
|
+
get searchPlaceholder(): string;
|
|
4250
|
+
onRowClick(model: LightUserRepresentation): void;
|
|
4251
|
+
getDisplayUser(firstName: string, lastName: string, delimiter?: string): string;
|
|
4252
|
+
getInitialUserName(firstName: string, lastName: string): string;
|
|
4253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSearchFieldComponent, never>;
|
|
4254
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSearchFieldComponent, "adf-people-search-field", never, { "performSearch": { "alias": "performSearch"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "rowClick": "rowClick"; }, never, never, true, never>;
|
|
4255
|
+
}
|
|
4256
|
+
|
|
4257
|
+
/*!
|
|
4258
|
+
* @license
|
|
4259
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4260
|
+
*
|
|
4261
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4262
|
+
* you may not use this file except in compliance with the License.
|
|
4263
|
+
* You may obtain a copy of the License at
|
|
4264
|
+
*
|
|
4265
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4266
|
+
*
|
|
4267
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4268
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4269
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4270
|
+
* See the License for the specific language governing permissions and
|
|
4271
|
+
* limitations under the License.
|
|
4272
|
+
*/
|
|
4273
|
+
|
|
4274
|
+
declare class PeopleSelectorComponent {
|
|
4275
|
+
private readonly peopleProcessService;
|
|
4276
|
+
private readonly translationService;
|
|
4277
|
+
peopleId: LightUserRepresentation;
|
|
4278
|
+
peopleIdChange: EventEmitter<number>;
|
|
4279
|
+
searchFieldComponent: PeopleSearchFieldComponent;
|
|
4280
|
+
performSearch: PerformSearchCallback;
|
|
4281
|
+
selectedUser: LightUserRepresentation;
|
|
4282
|
+
defaultPlaceholder: string;
|
|
4283
|
+
constructor();
|
|
4284
|
+
searchUser(searchWord: string): Observable<any | LightUserRepresentation[]>;
|
|
4285
|
+
userSelected(user: LightUserRepresentation): void;
|
|
4286
|
+
userDeselected(): void;
|
|
4287
|
+
private updateUserSelection;
|
|
4288
|
+
get placeholder(): string;
|
|
4289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleSelectorComponent, never>;
|
|
4290
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleSelectorComponent, "adf-people-selector", never, { "peopleId": { "alias": "peopleId"; "required": false; }; }, { "peopleIdChange": "peopleIdChange"; }, never, never, true, never>;
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
/*!
|
|
4294
|
+
* @license
|
|
4295
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4296
|
+
*
|
|
4297
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4298
|
+
* you may not use this file except in compliance with the License.
|
|
4299
|
+
* You may obtain a copy of the License at
|
|
4300
|
+
*
|
|
4301
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4302
|
+
*
|
|
4303
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4304
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4305
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4306
|
+
* See the License for the specific language governing permissions and
|
|
4307
|
+
* limitations under the License.
|
|
4308
|
+
*/
|
|
4309
|
+
|
|
4310
|
+
declare class PeopleListComponent implements AfterContentInit {
|
|
4311
|
+
columnList: DataColumnListComponent;
|
|
4312
|
+
peopleDataTable: DataTableComponent;
|
|
4313
|
+
/** The array of user data used to populate the people list. */
|
|
4314
|
+
users: LightUserRepresentation[];
|
|
4315
|
+
/** Toggles if actions should be visible, i.e. the 'Three-Dots' menu. */
|
|
4316
|
+
actions: boolean;
|
|
4317
|
+
/** Emitted when the user clicks a row in the people list. */
|
|
4318
|
+
clickRow: EventEmitter<LightUserRepresentation>;
|
|
4319
|
+
/** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */
|
|
4320
|
+
clickAction: EventEmitter<UserEventModel>;
|
|
4321
|
+
user: LightUserRepresentation;
|
|
4322
|
+
showHeader: "never";
|
|
4323
|
+
ngAfterContentInit(): void;
|
|
4324
|
+
selectUser(event: any): void;
|
|
4325
|
+
hasActions(): boolean;
|
|
4326
|
+
onShowRowActionsMenu(event: DataCellEvent): void;
|
|
4327
|
+
onExecuteRowAction(event: any): void;
|
|
4328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleListComponent, never>;
|
|
4329
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleListComponent, "adf-people-list", never, { "users": { "alias": "users"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "clickRow": "clickRow"; "clickAction": "clickAction"; }, ["columnList"], never, true, never>;
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
/*!
|
|
4333
|
+
* @license
|
|
4334
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4335
|
+
*
|
|
4336
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4337
|
+
* you may not use this file except in compliance with the License.
|
|
4338
|
+
* You may obtain a copy of the License at
|
|
4339
|
+
*
|
|
4340
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4341
|
+
*
|
|
4342
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4343
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4344
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4345
|
+
* See the License for the specific language governing permissions and
|
|
4346
|
+
* limitations under the License.
|
|
4347
|
+
*/
|
|
4348
|
+
|
|
4349
|
+
declare const PEOPLE_DIRECTIVES: readonly [typeof PeopleComponent, typeof PeopleSearchComponent, typeof PeopleSearchFieldComponent, typeof PeopleSelectorComponent, typeof PeopleListComponent];
|
|
4350
|
+
|
|
4351
|
+
declare class TaskCommentsComponent {
|
|
4352
|
+
/** The numeric ID of the task. */
|
|
4353
|
+
taskId: string;
|
|
4354
|
+
/** Determines if comments are read only. */
|
|
4355
|
+
readOnly: boolean;
|
|
4356
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCommentsComponent, never>;
|
|
4357
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskCommentsComponent, "adf-task-comments", never, { "taskId": { "alias": "taskId"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
/*!
|
|
4361
|
+
* @license
|
|
4362
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4363
|
+
*
|
|
4364
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4365
|
+
* you may not use this file except in compliance with the License.
|
|
4366
|
+
* You may obtain a copy of the License at
|
|
4367
|
+
*
|
|
4368
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4369
|
+
*
|
|
4370
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4371
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4372
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4373
|
+
* See the License for the specific language governing permissions and
|
|
4374
|
+
* limitations under the License.
|
|
4375
|
+
*/
|
|
4376
|
+
|
|
4377
|
+
declare class TaskCommentsService implements CommentsService {
|
|
4378
|
+
readonly commentsApi: ActivitiCommentsApi;
|
|
4379
|
+
protected apiService: AlfrescoApiService;
|
|
4380
|
+
protected peopleProcessService: PeopleProcessService;
|
|
4381
|
+
/**
|
|
4382
|
+
* Gets all comments that have been added to a task.
|
|
4383
|
+
*
|
|
4384
|
+
* @param id ID of the target task
|
|
4385
|
+
* @returns Details for each comment
|
|
4386
|
+
*/
|
|
4387
|
+
get(id: string): Observable<CommentModel[]>;
|
|
4388
|
+
/**
|
|
4389
|
+
* Adds a comment to a task.
|
|
4390
|
+
*
|
|
4391
|
+
* @param id ID of the target task
|
|
4392
|
+
* @param message Text for the comment
|
|
4393
|
+
* @returns Details about the comment
|
|
4394
|
+
*/
|
|
4395
|
+
add(id: string, message: string): Observable<CommentModel>;
|
|
4396
|
+
getUserImage(userId: string): string;
|
|
4397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCommentsService, never>;
|
|
4398
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskCommentsService>;
|
|
4399
|
+
}
|
|
4400
|
+
|
|
4401
|
+
/*!
|
|
4402
|
+
* @license
|
|
4403
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4404
|
+
*
|
|
4405
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4406
|
+
* you may not use this file except in compliance with the License.
|
|
4407
|
+
* You may obtain a copy of the License at
|
|
4408
|
+
*
|
|
4409
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4410
|
+
*
|
|
4411
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4412
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4413
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4414
|
+
* See the License for the specific language governing permissions and
|
|
4415
|
+
* limitations under the License.
|
|
4416
|
+
*/
|
|
4417
|
+
|
|
4418
|
+
declare const TASK_COMMENTS_DIRECTIVES: readonly [typeof TaskCommentsComponent];
|
|
4419
|
+
|
|
4420
|
+
/*!
|
|
4421
|
+
* @license
|
|
4422
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4423
|
+
*
|
|
4424
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4425
|
+
* you may not use this file except in compliance with the License.
|
|
4426
|
+
* You may obtain a copy of the License at
|
|
4427
|
+
*
|
|
4428
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4429
|
+
*
|
|
4430
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4431
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4432
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4433
|
+
* See the License for the specific language governing permissions and
|
|
4434
|
+
* limitations under the License.
|
|
4435
|
+
*/
|
|
4436
|
+
|
|
4437
|
+
/**
|
|
4438
|
+
* @deprecated use provider api instead, for example:
|
|
4439
|
+
* ```
|
|
4440
|
+
* providers: [
|
|
4441
|
+
* provideTranslations('adf-process-services', 'assets/adf-process-services'),
|
|
4442
|
+
* { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { floatLabel: 'never' } }
|
|
4443
|
+
* FormRenderingService,
|
|
4444
|
+
* { provide: FormRenderingService, useClass: ProcessFormRenderingService }
|
|
4445
|
+
* ]
|
|
4446
|
+
* ```
|
|
4447
|
+
*/
|
|
4448
|
+
declare class ProcessModule {
|
|
4449
|
+
static forRoot(): ModuleWithProviders<ProcessModule>;
|
|
4450
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessModule, never>;
|
|
4451
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessModule, never, [typeof ProcessCommentsComponent, typeof ProcessInstanceListComponent, typeof ProcessFiltersComponent, typeof ProcessInstanceDetailsComponent, typeof ProcessInstanceHeaderComponent, typeof ProcessInstanceTasksComponent, typeof StartProcessInstanceComponent, typeof TaskFormComponent, typeof AttachFormComponent, typeof ChecklistComponent, typeof TaskFiltersComponent, typeof TaskListComponent, typeof TaskDetailsComponent, typeof TaskHeaderComponent, typeof StartTaskComponent, typeof TaskStandaloneComponent, typeof ClaimTaskDirective, typeof UnclaimTaskDirective, typeof TaskCommentsComponent, typeof AppsListComponent, typeof SelectAppsDialogComponent, typeof TaskAttachmentListComponent, typeof ProcessAttachmentListComponent, typeof CreateProcessAttachmentComponent, typeof AttachmentComponent, typeof PeopleComponent, typeof PeopleSearchComponent, typeof PeopleSearchFieldComponent, typeof PeopleSelectorComponent, typeof PeopleListComponent, typeof FormListComponent, typeof FormCustomOutcomesComponent, typeof StartFormComponent, typeof FormComponent, typeof AttachFileWidgetComponent, typeof AttachFolderWidgetComponent, typeof AttachFileWidgetDialogComponent, typeof ContentWidgetComponent, typeof DocumentWidgetComponent, typeof DropdownWidgetComponent, typeof DynamicTableWidgetComponent, typeof DropdownEditorComponent, typeof AmountEditorComponent, typeof BooleanEditorComponent, typeof DateEditorComponent, typeof DateTimeEditorComponent, typeof RowEditorComponent, typeof TextEditorComponent, typeof FileViewerWidgetComponent, typeof FunctionalGroupWidgetComponent, typeof PeopleWidgetComponent, typeof RadioButtonsWidgetComponent, typeof TypeaheadWidgetComponent, typeof UploadWidgetComponent], [typeof ProcessCommentsComponent, typeof ProcessInstanceListComponent, typeof ProcessFiltersComponent, typeof ProcessInstanceDetailsComponent, typeof ProcessInstanceHeaderComponent, typeof ProcessInstanceTasksComponent, typeof StartProcessInstanceComponent, typeof TaskFormComponent, typeof AttachFormComponent, typeof ChecklistComponent, typeof TaskFiltersComponent, typeof TaskListComponent, typeof TaskDetailsComponent, typeof TaskHeaderComponent, typeof StartTaskComponent, typeof TaskStandaloneComponent, typeof ClaimTaskDirective, typeof UnclaimTaskDirective, typeof TaskCommentsComponent, typeof AppsListComponent, typeof SelectAppsDialogComponent, typeof TaskAttachmentListComponent, typeof ProcessAttachmentListComponent, typeof CreateProcessAttachmentComponent, typeof AttachmentComponent, typeof PeopleComponent, typeof PeopleSearchComponent, typeof PeopleSearchFieldComponent, typeof PeopleSelectorComponent, typeof PeopleListComponent, typeof FormListComponent, typeof FormCustomOutcomesComponent, typeof StartFormComponent, typeof FormComponent, typeof AttachFileWidgetComponent, typeof AttachFolderWidgetComponent, typeof AttachFileWidgetDialogComponent, typeof ContentWidgetComponent, typeof DocumentWidgetComponent, typeof DropdownWidgetComponent, typeof DynamicTableWidgetComponent, typeof DropdownEditorComponent, typeof AmountEditorComponent, typeof BooleanEditorComponent, typeof DateEditorComponent, typeof DateTimeEditorComponent, typeof RowEditorComponent, typeof TextEditorComponent, typeof FileViewerWidgetComponent, typeof FunctionalGroupWidgetComponent, typeof PeopleWidgetComponent, typeof RadioButtonsWidgetComponent, typeof TypeaheadWidgetComponent, typeof UploadWidgetComponent]>;
|
|
4452
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessModule>;
|
|
4453
|
+
}
|
|
4454
|
+
|
|
4455
|
+
/*!
|
|
4456
|
+
* @license
|
|
4457
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4458
|
+
*
|
|
4459
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4460
|
+
* you may not use this file except in compliance with the License.
|
|
4461
|
+
* You may obtain a copy of the License at
|
|
4462
|
+
*
|
|
4463
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4464
|
+
*
|
|
4465
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4466
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4467
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4468
|
+
* See the License for the specific language governing permissions and
|
|
4469
|
+
* limitations under the License.
|
|
3
4470
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4471
|
+
|
|
4472
|
+
/** @deprecated use js-api/ProcessInstanceRepresentation instead */
|
|
4473
|
+
type ProcessInstance = ProcessInstanceRepresentation;
|
|
4474
|
+
/** @deprecated use js-api/UserTaskFilterRepresentation instead */
|
|
4475
|
+
type FilterRepresentationModel = UserTaskFilterRepresentation;
|
|
4476
|
+
/** @deprecated use js-api/UserTaskFilterRepresentation instead */
|
|
4477
|
+
type FilterParamsModel = UserTaskFilterRepresentation;
|
|
4478
|
+
/** @deprecated use js-api/UserRepresentation instead */
|
|
4479
|
+
type BpmUserModel = UserRepresentation;
|
|
4480
|
+
/** @deprecated use js-api/AppDefinitionRepresentation instead */
|
|
4481
|
+
type AppDefinitionRepresentationModel = AppDefinitionRepresentation;
|
|
4482
|
+
/** @deprecated use js-api/LightUserRepresentation instead */
|
|
4483
|
+
type UserProcessModel = LightUserRepresentation;
|
|
4484
|
+
/** @deprecated use js-api/RestVariable instead */
|
|
4485
|
+
type ProcessInstanceVariable = RestVariable;
|
|
4486
|
+
|
|
4487
|
+
export { APPS_LIST_DIRECTIVES, APP_LIST_LAYOUT_GRID, APP_LIST_LAYOUT_LIST, ATTACHMENT_DIRECTIVES, ActivitiContentService, AmountEditorComponent, AppsListComponent, AppsProcessService, AttachFileWidgetComponent, AttachFileWidgetDialogComponent, AttachFileWidgetDialogService, AttachFolderWidgetComponent, AttachFormComponent, AttachmentComponent, BooleanEditorComponent, ChecklistComponent, ClaimTaskDirective, CommentProcessService, ContentWidgetComponent, CreateProcessAttachmentComponent, DYNAMIC_TABLE_WIDGET_DIRECTIVES, DateEditorComponent, DateTimeEditorComponent, DocumentWidgetComponent, DropdownEditorComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, EcmModelService, EditorService, ExternalAlfrescoApiService, FORM_DIRECTIVES, FileViewerWidgetComponent, Form, FormComponent, FormCustomOutcomesComponent, FormDefinitionModel, FormListComponent, FunctionalGroupWidgetComponent, ModelService, PEOPLE_DIRECTIVES, PRESET_KEY, PROCESS_COMMENTS_DIRECTIVES, PROCESS_LIST_DIRECTIVES, PeopleComponent, PeopleListComponent, PeopleProcessService, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleWidgetComponent, ProcessAttachmentListComponent, ProcessCommentsComponent, ProcessContentService, ProcessDefinitionService, ProcessFilterService, ProcessFiltersComponent, ProcessFormRenderingService, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceListComponent, ProcessInstanceTasksComponent, ProcessModule, ProcessService, ProcessUploadService, RadioButtonsWidgetComponent, RowEditorComponent, SelectAppsDialogComponent, StartFormComponent, StartProcessInstanceComponent, StartTaskComponent, TASK_COMMENTS_DIRECTIVES, TASK_LIST_DIRECTIVES, TaskAttachmentListComponent, TaskCommentsComponent, TaskCommentsService, TaskDetailsComponent, TaskDetailsEvent, TaskFilterService, TaskFiltersComponent, TaskFormComponent, TaskFormService, TaskHeaderComponent, TaskListComponent, TaskListService, TaskService, TaskStandaloneComponent, TaskUploadService, TextEditorComponent, TypeaheadWidgetComponent, UnclaimTaskDirective, UploadWidgetComponent, ValidateDynamicTableRowEvent, WIDGET_DIRECTIVES, processPresetsDefaultModel };
|
|
4488
|
+
export type { AppDefinitionRepresentationModel, AttachFileWidgetDialogComponentData, BpmUserModel, DynamicTableRow, FilterParamsModel, FilterRepresentationModel, PerformSearchCallback, ProcessInstance, ProcessInstanceVariable, RowEditorReturnType, UserEventModel, UserGroupModel, UserProcessModel };
|