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'; import * as i0 from '@angular/core'; import { OnChanges, AfterContentInit, EventEmitter, SimpleChanges, OnInit, TemplateRef, ElementRef, ModuleWithProviders } from '@angular/core'; import * as rxjs from 'rxjs'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; 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'; import { UntypedFormControl, UntypedFormGroup, AbstractControl, FormControl } from '@angular/forms'; import { MatAutocompleteTrigger } from '@angular/material/autocomplete'; import { MatSelectChange } from '@angular/material/select'; import { AlfrescoApiService, UploadService, NodesApiService } from '@alfresco/adf-content-services'; import { MatDialogRef } from '@angular/material/dialog'; import { ErrorStateMatcher } from '@angular/material/core'; import { MatDatepickerInputEvent } from '@angular/material/datepicker'; import { MatDatetimepickerInputEvent } from '@mat-datetimepicker/core'; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const processPresetsDefaultModel: { default: ({ key: string; type: string; title: string; sortable: boolean; cssClass?: undefined; } | { key: string; type: string; title: string; cssClass: string; sortable: boolean; })[]; }; declare class ProcessInstanceListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent { private readonly processService; private readonly userPreferences; customEmptyContent: CustomEmptyContentTemplateDirective; customLoadingContent: CustomLoadingContentTemplateDirective; /** The id of the app. */ appId: number; /** The Definition Id of the process. */ processDefinitionId: string; /** The id of the process instance. */ processInstanceId: string; /** Defines the state of the processes. */ state: ProcessInstanceQueryRepresentationState; /** * Defines the sort ordering of the list. */ sort: ProcessInstanceQueryRepresentationSort; /** The page number of the processes to fetch. */ page: number; /** The number of processes to fetch in each page. */ size: number; /** Data source to define the datatable. */ data: DataTableAdapter; /** Toggles multiple row selection, which renders checkboxes at the beginning of each row */ multiselect: boolean; /** * Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode, * you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for * multiple rows. */ selectionMode: string; /** Toggles default selection of the first row */ selectFirstRow: boolean; /** Toggles the sticky header mode. */ stickyHeader: boolean; /** Toggles custom context menu for the component. */ showContextMenu: boolean; /** Enables column resizing for datatable */ isResizingEnabled: boolean; /** Enables blur when resizing datatable columns */ blurOnResize: boolean; /** Emitted before the context menu is displayed for a row. */ showRowContextMenu: EventEmitter; /** * Resolver function is used to show dynamic complex column objects * see the docs to learn how to configure a resolverFn. */ resolverFn: (row: DataRow, col: DataColumn) => any; /** Emitted when a row in the process list is clicked. */ rowClick: EventEmitter; /** Emitted when the list of process instances has been loaded successfully from the server. */ success: EventEmitter; /** Emitted when an error occurs while loading the list of process instances from the server. */ error: EventEmitter; /** Emitted when rows are selected/unselected */ rowsSelected: EventEmitter; requestNode: ProcessInstanceQueryRepresentation; currentInstanceId: string; isLoading: boolean; rows: any[]; sorting: any[]; pagination: BehaviorSubject; constructor(); ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; reload(): void; /** * Select the first instance of a list if present */ selectFirst(): void; /** * Get the id of the current instance * * @returns instance id */ getCurrentId(): string; /** * Check if the list is empty * * @returns `true` if list is empty, otherwise `false` */ isListEmpty(): boolean; /** * Emit the event rowClick passing the current task id when the row is clicked * * @param event input event */ onRowClick(event: DataRowEvent): void; onRowCheckboxToggle(event: CustomEvent): void; /** * Emit the event rowClick passing the current task id when pressed the Enter key on the selected row * * @param event keyboard event */ onRowKeyUp(event: CustomEvent): void; onShowRowContextMenu(event: DataCellEvent): void; updatePagination(params: PaginationModel): void; currentPage(skipCount: number, maxItems: number): number; private createRequestNode; private isSortChanged; private isPropertyChanged; private load; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ProcessFiltersComponent implements OnInit, OnChanges { private readonly processFilterService; private readonly appsProcessService; private readonly router; private readonly location; /** * The parameters to filter the task filter. If there is no match then the default one * (ie, the first filter in the list) is selected. */ filterParam: UserProcessInstanceFilterRepresentation; /** Emitted when a filter is being clicked from the UI. */ filterClicked: EventEmitter; /** Emitted when the list of filters has been successfully loaded from the server. */ success: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** Display filters available to the current user for the application with the specified ID. */ appId: number; /** Display filters available to the current user for the application with the specified name. */ appName: string; /** Toggle to show or hide the filter's icon. */ showIcon: boolean; /** Emitted when a filter is being selected based on the filterParam input. */ filterSelected: EventEmitter; currentFilter: ProcessInstanceFilterRepresentation; filters: UserProcessInstanceFilterRepresentation[]; active: boolean; isProcessRoute: boolean; isProcessActive: boolean; private iconsMDL; private readonly destroyRef; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isActiveRoute(filterActive: ProcessInstanceFilterRepresentation): boolean; /** * Return the filter list filtered by appId * * @param appId - optional */ getFiltersByAppId(appId?: number): void; /** * Return the filter list filtered by appName * * @param appName application name */ getFiltersByAppName(appName: string): void; /** * Pass the selected filter as next * * @param filterModel filter model */ selectFilter(filterModel: ProcessInstanceFilterRepresentation): void; /** * Select the first filter of a list if present * * @param filterParam filter parameter */ selectProcessFilter(filterParam: UserProcessInstanceFilterRepresentation): void; /** * Select the Running filter * * @deprecated in 3.9.0, Use the filterParam Input() with a running filter instance instead */ selectRunningFilter(): void; /** * Get the current task * * @returns process instance filter */ getCurrentFilter(): ProcessInstanceFilterRepresentation; /** * Check if the filter list is empty * * @returns `true` if filter list is empty, otherwise `false` */ isFilterListEmpty(): boolean; /** * Get the material icons equivalent of the glyphicon icon * * @param icon glyphicon name * @returns material icons equivalent of the icon */ getFilterIcon(icon: string): string; /** * Reset the filters properties */ private resetFilter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ClaimTaskDirective implements OnInit { private readonly taskListService; /** (Required) The id of the task. */ taskId: string; /** Emitted when the task is claimed. */ success: EventEmitter; /** Emitted when the task cannot be claimed. */ error: EventEmitter; invalidParams: string[]; onClick(): void; ngOnInit(): void; validateInputs(): void; isTaskValid(): boolean; private claimTask; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class UnclaimTaskDirective implements OnInit { private readonly taskListService; /** (Required) The id of the task. */ taskId: string; /** Emitted when the task is released. */ success: EventEmitter; /** Emitted when the task cannot be released. */ error: EventEmitter; invalidParams: string[]; onClick(): void; ngOnInit(): void; validateInputs(): void; isTaskValid(): boolean; private unclaimTask; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskFormComponent implements OnInit, OnChanges { /** (**required**) The id of the task whose details we are asking for. */ taskId: string; /** Toggles rendering of the form title. */ showFormTitle: boolean; /** Toggles rendering of the `Complete` outcome button. */ showFormCompleteButton: boolean; /** Toggles rendering of the `Save` outcome button. */ showFormSaveButton: boolean; /** Toggle rendering of the `Cancel` button. */ showCancelButton: boolean; /** * Toggles read-only state of the form. All form widgets render as read-only if enabled. */ readOnlyForm: boolean; /** Toggles rendering of the `Refresh` button. */ showFormRefreshButton: boolean; /** Toggle rendering of the validation icon next to the form title. */ showFormValidationIcon: boolean; /** Field validators for use with the form. */ fieldValidators: FormFieldValidator[]; /** Emitted when the form is submitted with the `Save` or custom outcomes. */ formSaved: EventEmitter; /** Emitted when the form is submitted with the `Complete` outcome. */ formCompleted: EventEmitter; /** Emitted when the form field content is clicked. */ formContentClicked: EventEmitter; /** Emitted when the form is loaded or reloaded. */ formLoaded: EventEmitter; /** Emitted when the form associated with the form task is attached. */ showAttachForm: EventEmitter; /** * Emitted when any outcome is executed. Default behaviour can be prevented * via `event.preventDefault()`. */ executeOutcome: EventEmitter; /** Emitted when the form associated with the task is completed. */ completed: EventEmitter; /** Emitted when the supplied form values have a validation error. */ formError: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** Emitted when the "Cancel" button is clicked. */ cancel: EventEmitter; /** Emitted when the task is claimed. */ taskClaimed: EventEmitter; /** Emitted when the task is unclaimed (ie, requeued).. */ taskUnclaimed: EventEmitter; taskDetails: TaskRepresentation; currentLoggedUser: UserRepresentation; loading: boolean; internalReadOnlyForm: boolean; private readonly taskListService; private readonly peopleProcessService; private readonly translationService; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; loadTask(taskId: string): void; onFormSaved(savedForm: FormModel): void; onFormCompleted(form: FormModel): void; onFormLoaded(form: FormModel): void; onFormContentClick(content: ContentLinkModel): void; onFormExecuteOutcome(outcome: FormOutcomeEvent): void; onFormError(error: any): void; onError(error: any): void; onCompleteTask(): void; onCancel(): void; onShowAttachForm(): void; hasFormKey(): boolean; isStandaloneTask(): boolean; isCompletedTask(): boolean; isCompleteButtonVisible(): boolean; isTaskActive(): boolean; isAssigned(): boolean; isAssignedToMe(): boolean; isCompleteButtonEnabled(): boolean; canInitiatorComplete(): boolean; isReadOnlyForm(): boolean; isCurrentUserInvolved(): boolean; canCurrentUserAsInitiatorComplete(): boolean; isProcessInitiator(): boolean; isSaveButtonVisible(): boolean; canCompleteNoFormTask(): boolean; getCompletedTaskTranslatedMessage(): Observable; isCandidateMember(): boolean; isTaskClaimable(): boolean; isTaskClaimedByCandidateMember(): boolean; reloadTask(): void; onClaimTask(taskId: string): void; onClaimTaskError(error: any): void; onUnclaimTask(taskId: string): void; onUnclaimTaskError(error: any): void; private hasEmailAddress; private isEmailEqual; private isExternalIdEqual; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * This object represent of the Form. */ declare class Form { id: number; name: string; constructor(id: number, name: string); } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachFormComponent implements OnInit, OnChanges { private readonly taskService; private readonly modelService; private readonly taskFormService; /** Id of the task. */ taskId: any; /** Identifier of the form to attach. */ formKey: any; /** Emitted when the "Cancel" button is clicked. */ cancelAttachForm: EventEmitter; /** Emitted when the form is attached successfully. */ success: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; forms: Form[]; formId: number; disableSubmit: boolean; selectedFormId: number; attachFormControl: UntypedFormControl; ngOnInit(): void; ngOnChanges(): void; onCancelButtonClick(): void; onRemoveButtonClick(): void; onAttachFormButtonClick(): void; private loadFormsTask; private onFormAttached; private attachForm; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ChecklistComponent implements OnChanges { private readonly taskListService; private readonly dialog; /** * The id of the parent task to which subtasks are attached. */ taskId: string; /** * Toggle readonly state of the form. * All form widgets will render as readonly if enabled. */ readOnly: boolean; /** (required) The assignee id that the subtasks are assigned to. */ assignee: number; /** Emitted when a new checklist task is created. */ checklistTaskCreated: EventEmitter; /** Emitted when a checklist task is deleted. */ checklistTaskDeleted: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; addNewDialog: any; taskName: string; checklist: TaskRepresentation[]; ngOnChanges(changes: SimpleChanges): void; getTaskChecklist(): void; showDialog(): void; add(): void; delete(taskId: string): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskFiltersComponent implements OnInit, OnChanges { private readonly taskFilterService; private readonly taskListService; private readonly appsProcessService; private readonly router; private readonly activatedRoute; /** * Parameters to use for the task filter. If there is no match then * the default filter (the first one the list) is selected. */ filterParam: UserTaskFilterRepresentation; /** Emitted when a filter is being clicked from the UI. */ filterClicked: EventEmitter; /** Emitted when a filter is being selected based on the filterParam input. */ filterSelected: EventEmitter; /** Emitted when the list is loaded. */ success: EventEmitter; /** Emitted when an error occurs during loading. */ error: EventEmitter; /** Display filters available to the current user for the application with the specified ID. */ appId: number; /** Display filters available to the current user for the application with the specified name. */ appName: string; /** Toggles display of the filter's icon. */ showIcon: boolean; currentFilter: UserTaskFilterRepresentation; filters: UserTaskFilterRepresentation[]; isTaskRoute: boolean; isTaskActive: boolean; private iconsMDL; private readonly destroyRef; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isActiveRoute(filterActive: UserTaskFilterRepresentation): boolean; /** * Return the filter list filtered by appId * * @param appId - optional */ getFiltersByAppId(appId?: number): void; /** * Return the filter list filtered by appName * * @param appName application name */ getFiltersByAppName(appName: string): void; /** * Create default filters by appId * * @param appId application id */ private createFiltersByAppId; /** * Pass the selected filter as next * * @param newFilter new filter model */ selectFilter(newFilter: UserTaskFilterRepresentation): void; private selectFilterAndEmit; /** * Selects and emits the clicked filter. * * @param filterParams filter parameters model */ onFilterClick(filterParams: UserTaskFilterRepresentation): void; /** * Select filter with task * * @param taskId task id */ selectFilterWithTask(taskId: string): void; /** * Get the current filter * * @returns filter model */ getCurrentFilter(): UserTaskFilterRepresentation; /** * Check if the filter list is empty * * @returns `true` if filter list is empty, otherwise `false` */ isFilterListEmpty(): boolean; /** * Get the material icons equivalent of the glyphicon icon * * @param icon glyphicon name * @returns material icons equivalent of the icon */ getFilterIcon(icon: string): string; /** * Reset the filters properties */ private resetFilter; /** * Migrate "Involved" and "Queued" filters to "Overdue" and "Unassigned" filters * * @param filters - list of filters to migrate * @returns list of observables for each migrated filter */ private migrateObsoleteFilters; private setTaskFilters; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const PRESET_KEY = "adf-task-list.presets"; declare class TaskListComponent extends DataTableSchema implements OnChanges, AfterContentInit, PaginatedComponent, OnInit { private readonly taskListService; private readonly userPreferences; customEmptyContent: CustomEmptyContentTemplateDirective; customLoadingContent: CustomLoadingContentTemplateDirective; /** The id of the app. */ appId: number; /** The Instance Id of the process. */ processInstanceId: string; /** The Definition Id of the process. */ processDefinitionId: string; /** Current state of the process. Possible values are: `completed`, `active`. */ state: string; /** * The assignment of the process. Possible values are: "assignee" (the current user * is the assignee), "candidate" (the current user is a task candidate, "group_x" (the task * is assigned to a group where the current user is a member, * no value (the current user is involved). */ assignment: string; /** * Define the sort order of the tasks. Possible values are : `created-desc`, * `created-asc`, `due-desc`, `due-asc` */ sort: string; /** Name of the tasklist. */ name: string; /** * Define which task id should be selected after reloading. If the task id doesn't * exist or nothing is passed then the first task will be selected. */ landingTaskId: string; /** * Data source object that represents the number and the type of the columns that * you want to show. */ data: DataTableAdapter; /** * Row selection mode. Can be none, `single` or `multiple`. For `multiple` mode, * you can use Cmd (macOS) or Ctrl (Win) modifier key to toggle selection for * multiple rows. */ selectionMode: string; /** Toggles multiple row selection, renders checkboxes at the beginning of each row */ multiselect: boolean; /** Toggles default selection of the first row */ selectFirstRow: boolean; /** The id of a task */ taskId: string; /** Toggles inclusion of Process Instances */ includeProcessInstance: boolean; /** Starting point of the list within the full set of tasks. */ start: number; /** Toggles custom context menu for the component. */ showContextMenu: boolean; /** Toggles the sticky header mode. */ stickyHeader: boolean; /** Enables column resizing for datatable */ isResizingEnabled: boolean; /** Enables blur when resizing datatable columns */ blurOnResize: boolean; /** Emitted before the context menu is displayed for a row. */ showRowContextMenu: EventEmitter; /** Emitted when a task in the list is clicked */ rowClick: EventEmitter; /** Emitted when rows are selected/unselected */ rowsSelected: EventEmitter; /** Emitted when the task list is loaded */ success: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** The page number of the tasks to fetch. */ page: number; /** The number of tasks to fetch. Default value: 25. */ size: number; /** Filter the tasks. Display only tasks with `created_date` after `dueAfter`. */ dueAfter: string; /** Filter the tasks. Display only tasks with `created_date` before `dueBefore`. */ dueBefore: string; requestNode: TaskQueryRepresentation; currentInstanceId: string; selectedInstances: any[]; pagination: BehaviorSubject; rows: any[]; isLoading: boolean; sorting: any[]; /** * Toggles custom data source mode. * When enabled the component reloads data from it's current source instead of the server side. * This allows generating and displaying custom data sets (i.e. filtered out content). */ hasCustomDataSource: boolean; private readonly destroyRef; constructor(); ngAfterContentInit(): void; ngOnInit(): void; setCustomDataSource(rows: any[]): void; ngOnChanges(changes: SimpleChanges): void; reload(): void; /** * Select the task given in input if present * * @param taskIdSelected selected task id */ selectTask(taskIdSelected: string): void; /** * Return the current instance id * * @returns the current instance id */ getCurrentId(): string; /** * Check if the taskId is the same of the selected task * * @param taskId task id * @returns `true` if current instance id is the same as task id, otherwise `false` */ isEqualToCurrentId(taskId: string): boolean; /** * Check if the list is empty * * @returns `true` if list is empty, otherwise `false` */ isListEmpty(): boolean; onRowClick(item: DataRowEvent): void; onRowSelect(event: CustomEvent): void; onRowUnselect(event: CustomEvent): void; onRowKeyUp(event: CustomEvent): void; onShowRowContextMenu(event: DataCellEvent): void; updatePagination(params: PaginationModel): void; currentPage(skipCount: number, maxItems: number): number; private isSortChanged; private isPropertyChanged; private load; /** * Optimize name field * * @param instances task detail models * @returns list of task detail models */ private optimizeTaskDetails; private createRequestNode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** @deprecated no longer used anywhere, and can be safely removed */ declare class TaskDetailsComponent implements OnInit, OnChanges { private readonly taskListService; private readonly peopleProcessService; private readonly cardViewUpdateService; private readonly dialog; private readonly destroyRef; errorDialog: TemplateRef; taskFormComponent: TaskFormComponent; /** (**required**) The id of the task whose details we are asking for. */ taskId: string; /** Automatically renders the next task when the current one is completed. */ showNextTask: boolean; /** Toggles task details Header component. */ showHeader: boolean; /** Toggles collapsed/expanded state of the Header component. */ showHeaderContent: boolean; /** Toggles `Involve People` feature for the Header component. */ showInvolvePeople: boolean; /** Toggles `Comments` feature for the Header component. */ showComments: boolean; /** Toggles `Checklist` feature for the Header component. */ showChecklist: boolean; /** Toggles rendering of the form title. */ showFormTitle: boolean; /** Toggles rendering of the `Complete` outcome button. */ showFormCompleteButton: boolean; /** Toggles rendering of the `Save` outcome button. */ showFormSaveButton: boolean; /** * Toggles read-only state of the form. All form widgets render as read-only * if enabled. */ readOnlyForm: boolean; /** Toggles rendering of the `Refresh` button. */ showFormRefreshButton: boolean; /** Field validators for use with the form. */ fieldValidators: FormFieldValidator[]; /** Emitted when the form is submitted with the `Save` or custom outcomes. */ formSaved: EventEmitter; /** Emitted when the form is submitted with the `Complete` outcome. */ formCompleted: EventEmitter; /** Emitted when the form field content is clicked. */ formContentClicked: EventEmitter; /** Emitted when the form is loaded or reloaded. */ formLoaded: EventEmitter; /** Emitted when a checklist task is created. */ taskCreated: EventEmitter; /** Emitted when a checklist task is deleted. */ taskDeleted: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** * Emitted when any outcome is executed. Default behaviour can be prevented * via `event.preventDefault()`. */ executeOutcome: EventEmitter; /** Emitted when a task is assigned. */ assignTask: EventEmitter; /** Emitted when a task is claimed. */ claimedTask: EventEmitter; /** Emitted when a task is unclaimed. */ unClaimedTask: EventEmitter; taskDetails: TaskRepresentation; taskFormName: string; taskPeople: LightUserRepresentation[]; noTaskDetailsTemplateComponent: TemplateRef; showAssignee: boolean; showAttachForm: boolean; internalReadOnlyForm: boolean; errorDialogRef: MatDialogRef>; peopleSearch: Observable; data: any; private peopleSearchObserver; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isAssigned(): boolean; /** * Complete button clicked */ onComplete(): void; onShowAttachForm(): void; onCancelAttachForm(): void; onCompleteAttachForm(): void; onFormContentClick(content: ContentLinkModel): void; onFormSaved(form: FormModel): void; onFormCompleted(form: FormModel): void; onFormLoaded(form: FormModel): void; onChecklistTaskCreated(task: TaskRepresentation): void; onChecklistTaskDeleted(taskId: string): void; onFormError(error: any): void; onFormExecuteOutcome(event: FormOutcomeEvent): void; closeErrorDialog(): void; onClaimAction(taskId: string): void; onUnclaimAction(taskId: string): void; searchUser(searchedWord: string): void; onCloseSearch(): void; assignTaskToUser(selectedUser: LightUserRepresentation): void; getTaskHeaderViewClass(): string; isReadOnlyComment(): boolean; private reset; private updateTaskDetails; private clickTaskDetails; private loadDetails; private loadNextTask; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskHeaderComponent implements OnChanges, OnInit { private readonly peopleProcessService; private readonly translationService; private readonly appConfig; private readonly cardViewUpdateService; /** The name of the form. */ formName: string; /** (required) Details related to the task. */ taskDetails: TaskRepresentation; /** Toggles display of the claim/release button. */ showClaimRelease: boolean; /** * (optional) This flag sets read-only mode, preventing changes. */ readOnly: boolean; /** * Refreshes the card data when an event emitted. */ resetChanges: Subject; /** Emitted when the task is claimed. */ claim: EventEmitter; /** Emitted when the task is unclaimed (ie, requeue). */ unclaim: EventEmitter; properties: any[]; displayDateClearAction: boolean; dateFormat: string; dateLocale: string; private currentUserId; private readonly usersSubject$; users$: Observable[]>; private readonly destroyRef; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** * Refresh the card data */ initData(): void; /** * Refresh the card data */ refreshData(): void; /** * Get the process parent information * * @returns a map of process instance and definition */ private getParentInfo; /** * Check if the task has an assignee * * @returns `true` if the task has an assignee, otherwise `false` */ hasAssignee(): boolean; /** * Check if the task is assigned to a user * * @param userId the id of the user to check * @returns `true` if the task assigned to a user, otherwise `false` */ isAssignedTo(userId: number): boolean; /** * Check if the task is assigned to the current user * * @returns `true` if the task assigned to current user, otherwise `false` */ isAssignedToCurrentUser(): boolean; /** * Check if the user is a candidate member * * @returns `true` if user is a candidate member, otherwise false */ isCandidateMember(): boolean; /** * Check if the task is claimable * * @returns `true` if task can be claimed, otherwise `false` */ isTaskClaimable(): boolean; /** * Return true if the task claimed by candidate member. * * @returns `true` if the task is claimed, otherwise `false` */ isTaskClaimedByCandidateMember(): boolean; /** * Get the status of the task * * @returns `Completed` or `Running` */ getTaskStatus(): 'Completed' | 'Running'; /** * Emit the claim event * * @param taskId the id of the task to claim */ onClaimTask(taskId: string): void; /** * Emit the unclaim event * * @param taskId the id of the task to unclaim */ onUnclaimTask(taskId: string): void; /** * Returns the task completion state * * @returns `true` if the task is completed, otherwise `false` */ isCompleted(): boolean; /** * Check if the form is clickable * * @returns `true` if the form is clickable, otherwise `false` */ isFormClickable(): boolean; /** * Get the task duration * * @returns the task duration in milliseconds */ getTaskDuration(): string; private getUsers; private initDefaultProperties; private isValidSelection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class StartTaskComponent implements OnInit { private readonly taskService; private readonly formBuilder; /** (required) The id of the app. */ appId: number; /** Default Task Name. */ name: string; /** Emitted when the task is successfully created. */ success: EventEmitter; /** Emitted when the cancel button is clicked by the user. */ cancel: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; taskDetailsModel: TaskRepresentation; forms$: Observable; assigneeId: number; field: FormFieldModel; taskForm: UntypedFormGroup; dateError: boolean; maxTaskNameLength: number; loading: boolean; dateErrorStateMatcher: ErrorStateMatcher; private readonly destroyRef; ngOnInit(): void; buildForm(): void; private whitespaceValidator; setTaskDetails(form: any): void; isFormValid(): boolean; saveTask(): void; setAssigneeId(userId: number): void; onCancel(): void; getDisplayUser(firstName: string, lastName: string, delimiter?: string): string; onDateChanged(newDateValue: Date | string): void; private validateMaxTaskNameLength; get nameController(): AbstractControl; get descriptionController(): AbstractControl; private attachForm; private assignTaskByUserId; private loadFormsTask; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskStandaloneComponent { /** Name of the task. */ taskName: string; /** Id of the task. */ taskId: string; /** If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden. */ isCompleted: boolean; /** Toggles rendering of the `Complete` button. */ hasCompletePermission: boolean; /** Toggles rendering of the `Cancel` button. */ hideCancelButton: boolean; /** Emitted when the "Cancel" button is clicked. */ cancel: EventEmitter; /** Emitted when the form associated with the task is completed. */ complete: EventEmitter; /** Emitted when the form associated with the form task is attached. */ showAttachForm: EventEmitter; onCancelButtonClick(): void; onCompleteButtonClick(): void; hasCompleteButton(): boolean; hasCancelButton(): boolean; hasAttachFormButton(): boolean; onShowAttachForm(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskListService { protected apiService: AlfrescoApiService; readonly modelsApi: ModelsApi; readonly tasksApi: TasksApi; readonly taskActionsApi: TaskActionsApi; readonly checklistsApi: ChecklistsApi; /** * Gets all the filters in the list that belong to a task. * * @param taskId ID of the target task * @param filterList List of filters to search through * @returns Filters belonging to the task */ getFilterForTaskById(taskId: string, filterList: UserTaskFilterRepresentation[]): Observable; /** * Checks if a taskId is filtered with the given filter. * * @param taskId ID of the target task * @param filterModel The filter you want to check * @returns The filter if it is related or null otherwise */ isTaskRelatedToFilter(taskId: string, filterModel: UserTaskFilterRepresentation): Observable; /** * Gets all the tasks matching the supplied query. * * @param requestNode Query to search for tasks * @returns List of tasks */ getTasks(requestNode: TaskQueryRepresentation): Observable; /** * Gets tasks matching a query and state value. * * @param requestNode Query to search for tasks * @returns List of tasks */ findTasksByState(requestNode: TaskQueryRepresentation): Observable; /** * Gets details for a task. * * @param taskId ID of the target task. * @returns Task details */ getTaskDetails(taskId: string): Observable; /** * Gets the checklist for a task. * * @param id ID of the target task * @returns Array of checklist task details */ getTaskChecklist(id: string): Observable; /** * Gets all available reusable forms. * * @returns Array of form details */ getFormList(): Observable; /** * Attaches a form to a task. * * @param taskId ID of the target task * @param formId ID of the form to add * @returns Null response notifying when the operation is complete */ attachFormToATask(taskId: string, formId: number): Observable; /** * Adds a subtask (ie, a checklist task) to a parent task. * * @param task The task to add * @returns The subtask that was added */ addTask(task: TaskRepresentation): Observable; /** * Deletes a subtask (ie, a checklist task) from a parent task. * * @param taskId The task to delete * @returns Null response notifying when the operation is complete */ deleteTask(taskId: string): Observable; /** * Deletes a form from a task. * * @param taskId Task id related to form * @returns Null response notifying when the operation is complete */ deleteForm(taskId: string): Observable; /** * Gives completed status to a task. * * @param taskId ID of the target task * @returns Null response notifying when the operation is complete */ completeTask(taskId: string): Observable; /** * Creates a new standalone task. * * @param task Details of the new task * @returns Details of the newly created task */ createNewTask(task: TaskRepresentation): Observable; /** * Assigns a task to a user or group. * * @param taskId The task to assign * @param requestNode User or group to assign the task to * @returns Details of the assigned task */ assignTask(taskId: string, requestNode: any): Observable; /** * Assigns a task to a user. * * @param taskId ID of the task to assign * @param userId ID of the user to assign the task to * @returns Details of the assigned task */ assignTaskByUserId(taskId: string, userId: string): Observable; /** * Claims a task for the current user. * * @param taskId ID of the task to claim * @returns Details of the claimed task */ claimTask(taskId: string): Observable; /** * Un-claims a task for the current user. * * @param taskId ID of the task to unclaim * @returns Null response notifying when the operation is complete */ unclaimTask(taskId: string): Observable; /** * Updates the details (name, description, due date) for a task. * * @param taskId ID of the task to update * @param updated Data to update the task (as a `TaskUpdateRepresentation` instance). * @returns Updated task details */ updateTask(taskId: string, updated: TaskUpdateRepresentation): Observable; /** * Fetches the Task Audit information in PDF format. * * @param taskId ID of the target task * @returns Binary PDF data */ fetchTaskAuditPdfById(taskId: string): Observable; /** * Fetch the Task Audit information in JSON format * * @param taskId ID of the target task * @returns JSON data */ fetchTaskAuditJsonById(taskId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ProcessUploadService extends UploadService { readonly contentApi: ActivitiContentApi; getUploadPromise(file: any): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskUploadService extends UploadService { readonly contentApi: ActivitiContentApi; getUploadPromise(file: any): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class TaskFilterService { protected apiService: AlfrescoApiService; readonly userFiltersApi: UserFiltersApi; /** * Creates and returns the default filters for a process app. * * @param appId ID of the target app * @returns Array of default filters just created */ createDefaultFilters(appId: number): Observable; /** * Gets all task filters for a process app. * * @param appId Optional ID for a specific app * @returns Array of task filter details */ getTaskListFilters(appId?: number): Observable; /** * Checks if a filter with the given name already exists in the list of filters. * * @param filters - An array of objects representing the existing filters. * @param filterName - The name of the filter to check for existence. * @returns - True if a filter with the specified name already exists, false otherwise. */ isFilterAlreadyExisting(filters: UserTaskFilterRepresentation[], filterName: string): boolean; /** * Gets a task filter by ID. * * @param filterId ID of the filter * @param appId ID of the app for the filter * @returns Details of task filter */ getTaskFilterById(filterId: number, appId?: number): Observable; /** * Gets a task filter by name. * * @param taskName Name of the filter * @param appId ID of the app for the filter * @returns Details of task filter */ getTaskFilterByName(taskName: string, appId?: number): Observable; /** * Adds a new task filter * * @param filter The new filter to add * @returns Details of task filter just added */ addFilter(filter: UserTaskFilterRepresentation): Observable; /** * Update a task filter * * @param filterId existing filter id * @param updatedFilter updated filter body * @returns Observable */ updateTaskFilter(filterId: number, updatedFilter: UserTaskFilterRepresentation): Observable; /** * Calls `getUserTaskFilters` from the Alfresco JS API. * * @param appId ID of the target app * @returns List of task filters */ callApiTaskFilters(appId?: number): Promise; /** * Creates and returns a filter for "My Tasks" task instances. * * @param appId ID of the target app * @param index of the filter (optional) * @returns The newly created filter */ getMyTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation; /** * Creates and returns a filter for "Overdue" task instances. * * @param appId ID of the target app * @param index of the filter (optional) * @returns The newly created filter */ getOverdueTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation; /** * Creates and returns a filter for "Unassigned Tasks" task instances. * * @param appId ID of the target app * @param index of the filter (optional) * @returns The newly created filter */ getUnassignedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation; /** * Creates and returns a filter for "Completed" task instances. * * @param appId ID of the target app * @param index of the filter (optional) * @returns The newly created filter */ getCompletedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskDetailsEvent { private readonly _value; private _defaultPrevented; get value(): TaskRepresentation; get defaultPrevented(): boolean; constructor(value: TaskRepresentation); preventDefault(): void; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * This object represent the User Event. */ interface UserEventModel { type: string; value: any; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * This object represent the process service user group.* */ interface UserGroupModel { id?: number; name?: string; externalId?: string; status?: string; groups?: any; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 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]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ProcessInstanceHeaderComponent implements OnChanges { private readonly translationService; private readonly appConfig; /** (**required**) Full details of the process instance to display information about. */ processInstance: ProcessInstanceRepresentation; properties: CardViewItem[]; dateFormat: string; dateLocale: string; constructor(); ngOnChanges(): void; refreshData(): void; getProcessStatus(): string; getStartedByFullName(): string; isRunning(): boolean; private initDefaultProperties; private isValidSelection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProcessInstanceTasksComponent implements OnInit, OnChanges { private readonly processService; private readonly dialog; /** The ID of the process instance to display tasks for. */ processInstanceDetails: ProcessInstanceRepresentation; /** * Toggles whether to show a refresh button next to the list of tasks to allow * it to be updated from the server. */ showRefreshButton: boolean; /** Emitted when an error occurs. */ error: EventEmitter; startDialog: any; taskDetails: any; /** Emitted when a task is clicked. */ taskClick: EventEmitter; activeTasks: TaskRepresentation[]; completedTasks: TaskRepresentation[]; task$: Observable; completedTask$: Observable; message: string; processId: string; private taskObserver; private completedTaskObserver; private readonly destroyRef; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; load(processInstanceId: string): void; loadActive(processInstanceId: string): void; loadCompleted(processInstanceId: string): void; hasStartFormDefined(): boolean; getUserFullName(user: any): string; getFormatDate(value: any, format: string): any; clickTask(task: TaskRepresentation): void; clickStartTask(): void; showStartDialog(): void; closeStartDialog(): void; onRefreshClicked(): void; onFormContentClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProcessInstanceDetailsComponent implements OnChanges { private readonly processService; /** (required) The numeric ID of the process instance to display. */ processInstanceId: string; processInstanceHeader: ProcessInstanceHeaderComponent; tasksList: ProcessInstanceTasksComponent; /** Toggles whether to show or hide the title. */ showTitle: boolean; /** Toggles whether to show or hide the refresh button. */ showRefreshButton: boolean; /** Emitted when the current process is cancelled by the user from within the component. */ processCancelled: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** Emitted when a task is clicked. */ taskClick: EventEmitter; /** Emitted when the "show diagram" button is clicked. */ showProcessDiagram: EventEmitter; processInstanceDetails: ProcessInstanceRepresentation; ngOnChanges(changes: SimpleChanges): void; /** * Reset the task detail */ reset(): void; load(processId: string): void; isRunning(): boolean; cancelProcess(): void; onTaskClicked(event: TaskDetailsEvent): void; getProcessNameOrDescription(dateFormat: string): string; getFormatDate(value: any, format: string): any; onShowProcessDiagram(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FormCustomOutcomesComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicRowValidationSummary extends ErrorMessageModel { isValid: boolean; constructor(json?: any); } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface DynamicTableRow { isNew: boolean; selected: boolean; value: any; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ValidateDynamicTableRowEvent extends FormFieldEvent { row: DynamicTableRow; summary: DynamicRowValidationSummary; isValid: boolean; constructor(form: FormModel, field: FormFieldModel, row: DynamicTableRow, summary: DynamicRowValidationSummary); } declare class ModelService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly modelsApi: ModelsApi; /** * Create a Form. * * @param formName Name of the new form * @returns The new form */ createForm(formName: string): Observable; /** * Gets all the forms. * * @returns List of form models */ getForms(): Observable; /** * Creates a JSON array representation of form data. * * @param res Object representing form data * @returns JSON data */ toJsonArray(res: any): any; /** * Searches for a form by name. * * @param name The form name to search for * @returns Form model(s) matching the search name */ searchFrom(name: string): Observable; /** * Gets the form definition with a given name. * * @param name The form name * @returns Form definition */ getFormDefinitionByName(name: string): Observable; /** * Gets the ID of a form. * * @param form Object representing a form * @returns ID string */ getFormId(form: any): string; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Error message */ private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class FormListComponent implements OnChanges { protected modelService: ModelService; /** The array that contains the information to show inside the list. */ forms: any[]; ngOnChanges(): void; isEmpty(): boolean; getForms(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class FormDefinitionModel extends FormSaveRepresentation { reusable: boolean; newVersion: boolean; formRepresentation: any; formImageBase64: string; constructor(id: string, name: any, lastUpdatedByFullName: string, lastUpdated: string, metadata: any); private metadataToFields; } declare class ActivitiContentService { private readonly apiService; private readonly sitesService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly integrationAlfrescoOnPremiseApi: IntegrationAlfrescoOnPremiseApi; readonly contentApi: ActivitiContentApi; /** * Returns a list of child nodes below the specified folder * * @param accountId account id * @param folderId folder id * @returns list of external content instances */ getAlfrescoNodes(accountId: string, folderId: string): Observable; /** * Returns a list of all the repositories configured * * @param tenantId tenant id * @param includeAccount include accounts * @returns list of endpoints */ getAlfrescoRepositories(tenantId?: string, includeAccount?: boolean): Observable; /** * Returns a list of child nodes below the specified folder * * @param accountId account id * @param node node details * @param siteId site id * @returns link to external content */ linkAlfrescoNode(accountId: string, node: ExternalContent, siteId: string): Observable; applyAlfrescoNode(node: Node, siteId: string, accountId: string): Observable; private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EcmModelService { private readonly apiService; static MODEL_NAMESPACE: string; static MODEL_NAME: string; static TYPE_MODEL: string; error: EventEmitter; readonly customModelApi: CustomModelApi; createEcmTypeForActivitiForm(formName: string, form: FormModel): Observable; searchActivitiEcmModel(): Observable; createActivitiEcmModel(formName: string, form: FormModel): Observable; saveFomType(formName: string, form: FormModel): Observable; createEcmTypeWithProperties(formName: string, form: FormModel): Observable; searchEcmType(typeName: string, modelName: string): Observable; activeEcmModel(modelName: string): Observable; createEcmModel(modelName: string, nameSpace: string): Observable; getEcmModels(): Observable; getEcmType(modelName: string): Observable; createEcmType(typeName: string, modelName: string, parentType: string): Observable; addPropertyToAType(modelName: string, typeName: string, formFields: any): Observable; cleanNameType(name: string): string; toJson(res: any): any; private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EditorService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly editorApi: FormModelsApi; /** * Saves a form. * * @param formId ID of the form to save * @param formModel Model data for the form * @returns Data for the saved form */ saveForm(formId: number, formModel: FormDefinitionModel): Observable; /** * Gets a form definition. * * @param formId ID of the target form * @returns Form definition */ getFormDefinitionById(formId: number): Observable; /** * Creates a JSON representation of form data. * * @param res Object representing form data * @returns JSON data */ toJson(res: any): any; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Error message */ private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ExternalAlfrescoApiService extends AlfrescoApiService { init(ecmHost: string, contextRoot: string): void; private setup; private createPrefixFromHost; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ProcessContentService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly contentApi: ActivitiContentApi; /** * Create temporary related content from an uploaded file. * * @param file File to use for content * @returns The created content data */ createTemporaryRawRelatedContent(file: any): Observable; /** * Gets the metadata for a related content item. * * @param contentId ID of the content item * @returns Metadata for the content */ getFileContent(contentId: number): Observable; /** * Gets raw binary content data for a related content file. * * @param contentId ID of the related content * @returns Binary data of the related content */ getFileRawContent(contentId: number): Observable; /** * Gets the preview for a related content file. * * @param contentId ID of the related content * @returns Binary data of the content preview */ getContentPreview(contentId: number): Observable; /** * Gets a URL for direct access to a related content file. * * @param contentId ID of the related content * @returns URL to access the content */ getFileRawContentUrl(contentId: number): string; /** * Gets the thumbnail for a related content file. * * @param contentId ID of the related content * @returns Binary data of the thumbnail image */ getContentThumbnail(contentId: number): Observable; /** * Gets the preview rendition for a related content file. * * @param contentId ID of the related content * @returns Binary data of the related content */ getContentRenditionTypePreview(contentId: number): Observable; /** * Gets related content items for a task instance. * * @param taskId ID of the target task * @param opts Options supported by JS-API * @returns Metadata for the content */ getTaskRelatedContent(taskId: string, opts?: any): Observable; /** * Gets related content items for a process instance. * * @param processId ID of the target process * @param opts Options supported by JS-API * @returns Metadata for the content */ getProcessRelatedContent(processId: string, opts?: any): Observable; /** * Deletes related content. * * @param contentId Identifier of the content to delete * @returns Null response that notifies when the deletion is complete */ deleteRelatedContent(contentId: number): Observable; /** * Associates an uploaded file with a process instance. * * @param processInstanceId ID of the target process instance * @param content File to associate * @param opts Options supported by JS-API * @returns Details of created content */ createProcessRelatedContent(processInstanceId: string, content: any, opts?: any): Observable; /** * Associates an uploaded file with a task instance. * * @param taskId ID of the target task * @param file File to associate * @param opts Options supported by JS-API * @returns Details of created content */ createTaskRelatedContent(taskId: string, file: any, opts?: any): Observable; /** * Lists processes and tasks on workflow started with provided document * * @param sourceId - id of the document that workflow or task has been started with * @param source - source of the document that workflow or task has been started with * @param size - size of the entries to get * @param page - page number * @returns Promise */ getProcessesAndTasksOnContent(sourceId: string, source: string, size?: number, page?: number): Observable; /** * Creates a JSON representation of data. * * @param res Object representing data * @returns JSON object */ toJson(res: any): any; /** * Creates a JSON array representation of data. * * @param res Object representing data * @returns JSON array object */ toJsonArray(res: any): any; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Callback when an error occurs */ handleError(error: any): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface DynamicTableColumnOption { id: string; name: string; } declare class ProcessDefinitionService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly processDefinitionsApi: ProcessDefinitionsApi; /** * Gets values of fields populated by a REST backend using a process ID. * * @param processDefinitionId Process identifier * @param field Field identifier * @returns Field values */ getRestFieldValuesByProcessId(processDefinitionId: string, field: string): Observable; /** * Gets column values of fields populated by a REST backend using a process ID. * * @param processDefinitionId Process identifier * @param field Field identifier * @param column Column identifier * @returns Field values */ getRestFieldValuesColumnByProcessId(processDefinitionId: string, field: string, column?: string): Observable; /** * Creates a JSON representation of form data. * * @param res Object representing form data * @returns JSON data */ toJson(res: any): any; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Error message */ private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class TaskService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly taskApi: TasksApi; /** * Gets a task. * * @param taskId Task Id * @returns Task info */ getTask(taskId: string): Observable; /** * Creates a JSON representation of form data. * * @param res Object representing form data * @returns JSON data */ toJson(res: any): any; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Error message */ private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class TaskFormService { private readonly apiService; static UNKNOWN_ERROR_MESSAGE: string; static GENERIC_ERROR_MESSAGE: string; readonly taskFormsApi: TaskFormsApi; /** * Saves a task form. * * @param taskId Task Id * @param formValues Form Values * @returns Null response when the operation is complete */ saveTaskForm(taskId: string, formValues: FormValues): Observable; /** * Completes a Task Form. * * @param taskId Task Id * @param formValues Form Values * @param outcome Form Outcome * @returns Null response when the operation is complete */ completeTaskForm(taskId: string, formValues: FormValues, outcome?: string): Observable; /** * Gets a form related to a task. * * @param taskId ID of the target task * @returns Form definition */ getTaskForm(taskId: string): Observable; /** * Gets values of fields populated by a REST backend. * * @param taskId Task identifier * @param field Field identifier * @returns Field values */ getRestFieldValues(taskId: string, field: string): Observable; /** * Gets column values of fields populated by a REST backend. * * @param taskId Task identifier * @param field Field identifier * @param column Column identifier * @returns Field values */ getRestFieldValuesColumn(taskId: string, field: string, column?: string): Observable; getTaskProcessVariable(taskId: string): Observable; /** * Creates a JSON representation of form data. * * @param res Object representing form data * @returns JSON data */ toJson(res: any): any; /** * Reports an error message. * * @param error Data object with optional `message` and `status` fields for the error * @returns Error message */ private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class FormComponent extends FormBaseComponent implements OnInit, OnChanges { protected formService: FormService; protected taskFormService: TaskFormService; protected taskService: TaskService; protected editorService: EditorService; protected modelService: ModelService; protected visibilityService: WidgetVisibilityService; protected ecmModelService: EcmModelService; protected nodeService: NodesApiService; private readonly cdRef; /** Task id to fetch corresponding form and values. */ taskId: string; /** Content Services node ID for the form metadata. */ nodeId: string; /** The id of the form definition to load and display with custom values. */ formId: number; /** Name of the form definition to load and display with custom values. */ formName: string; /** Toggle saving of form metadata. */ saveMetadata: boolean; /** Custom form values map to be used with the rendered form. */ data: FormValues; /** The form will set a prefixed space for invisible fields. */ enableFixedSpacedForm: boolean; /** Emitted when the form is submitted with the `Save` or custom outcomes. */ formSaved: EventEmitter; /** Emitted when the form is submitted with the `Complete` outcome. */ formCompleted: EventEmitter; /** Emitted when form content is clicked. */ formContentClicked: EventEmitter; /** Emitted when the form is loaded or reloaded. */ formLoaded: EventEmitter; /** Emitted when form values are refreshed due to a data property change. */ formDataRefreshed: EventEmitter; debugMode: boolean; private readonly destroyRef; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** * Invoked when user clicks form refresh button. */ onRefreshClicked(): void; loadForm(): void; findProcessVariablesByTaskId(taskId: string): Observable; isAProcessTask(taskRepresentation: any): boolean; getFormByTaskId(taskId: string): Promise; getFormDefinitionByFormId(formId: number): void; getFormDefinitionByFormName(formName: string): void; saveTaskForm(): void; completeTaskForm(outcome?: string): void; handleError(err: any): any; parseForm(formRepresentationJSON: any): FormModel; /** * Get custom set of outcomes for a Form Definition. * * @param form Form definition model. * @returns list of form outcomes */ getFormDefinitionOutcomes(form: FormModel): FormOutcomeModel[]; checkVisibility(field: FormFieldModel): void; loadFormFromActiviti(nodeType: string): any; /** * Creates a Form with a field for each metadata property. * * @param formName Name of the new form * @returns The new form */ createFormFromANode(formName: string): Observable; protected storeFormAsMetadata(): void; protected onFormLoaded(form: FormModel): void; protected onFormDataRefreshed(form: FormModel): void; protected onTaskSaved(form: FormModel): void; protected onTaskSavedError(form: FormModel, error: any): void; protected onTaskCompleted(form: FormModel): void; protected onTaskCompletedError(form: FormModel, error: any): void; protected onExecuteOutcome(outcome: FormOutcomeModel): boolean; private refreshFormData; private loadFormForEcmNode; private loadFormFromFormId; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ProcessService { private readonly alfrescoApiService; readonly tasksApi: TasksApi; readonly processDefinitionsApi: ProcessDefinitionsApi; readonly processInstancesApi: ProcessInstancesApi; readonly processInstanceVariablesApi: ProcessInstanceVariablesApi; /** * Gets process instances for a filter and optionally a process definition. * * @param requestNode Filter for instances * @param processDefinitionKey Limits returned instances to a process definition * @returns List of process instances */ getProcessInstances(requestNode: ProcessInstanceQueryRepresentation, processDefinitionKey?: string): Observable; /** * Gets processes for a filter and optionally a process definition. * * @param requestNode Filter for instances * @param processDefinitionKey Limits returned instances to a process definition * @returns List of processes */ getProcesses(requestNode: ProcessInstanceQueryRepresentation, processDefinitionKey?: string): Observable; /** * @deprecated This api is no longer used and will be removed in future releases. * Fetches the Process Audit information as a PDF. * * @param processId ID of the target process * @returns Binary PDF data */ fetchProcessAuditPdfById(processId: string): Observable; /** * @deprecated This api is no longer used and will be removed in future releases. * Fetches the Process Audit information in a JSON format. * * @param processId ID of the target process * @returns JSON data */ fetchProcessAuditJsonById(processId: string): Observable; /** * Gets Process Instance metadata. * * @param processInstanceId ID of the target process * @returns Metadata for the instance */ getProcess(processInstanceId: string): Observable; /** * Gets the start form definition for a given process. * * @param processId Process definition ID * @returns Form definition */ getStartFormDefinition(processId: string): Observable; /** * Gets the start form instance for a given process. * * @param processId Process definition ID * @returns Form definition */ getStartFormInstance(processId: string): Observable; /** * Creates a JSON representation of form data. * * @param res Object representing form data * @returns JSON data */ private toJson; /** * Gets task instances for a process instance. * * @param processInstanceId ID of the process instance * @param state Task state filter (can be "active" or "completed") * @returns Array of task instance details */ getProcessTasks(processInstanceId: string, state?: string): Observable; /** * Gets process definitions associated with an app. * * @param appId ID of a target app * @returns Array of process definitions */ getProcessDefinitions(appId?: number): Observable; /** * Starts a process based on a process definition, name, form values or variables. * * @param processDefinitionId Process definition ID * @param name Process name * @param outcome Process outcome * @param startFormValues Values for the start form * @param variables Array of process instance variables * @returns Details of the process instance just started */ startProcess(processDefinitionId: string, name: string, outcome?: string, startFormValues?: FormValues, variables?: RestVariable[]): Observable; /** * Cancels a process instance. * * @param processInstanceId ID of process to cancel * @returns Null response notifying when the operation is complete */ cancelProcess(processInstanceId: string): Observable; /** * Gets the variables for a process instance. * * @param processInstanceId ID of the target process * @returns Array of instance variable info */ getProcessInstanceVariables(processInstanceId: string): Observable; /** * Creates or updates variables for a process instance. * * @param processInstanceId ID of the target process * @param variables Variables to update * @returns Array of instance variable info */ createOrUpdateProcessInstanceVariables(processInstanceId: string, variables: RestVariable[]): Observable; /** * Deletes a variable for a process instance. * * @param processInstanceId ID of the target process * @param variableName Name of the variable to delete * @returns Null response notifying when the operation is complete */ deleteProcessInstanceVariable(processInstanceId: string, variableName: string): Observable; private extractData; private getProcessNameOrDescription; private getFormatDate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class StartFormComponent extends FormComponent implements OnChanges, OnInit { processService: ProcessService; /** Definition ID of the process to start, this parameter can not be use in combination with processId */ processDefinitionId: string; /** Process ID of the process to start, this parameter can not be use in combination with processDefinitionId */ processId: string; /** Should form outcome buttons be shown? */ showOutcomeButtons: boolean; /** Should the refresh button be shown? */ showRefreshButton: boolean; /** Is the form read-only (ie, can't be edited)? */ readOnlyForm: boolean; /** Emitted when the user clicks one of the outcome buttons that completes the form. */ outcomeClick: EventEmitter; /** Emitted when a field of the form is clicked. */ formContentClicked: EventEmitter; outcomesContainer: ElementRef; constructor(); ngOnChanges(changes: SimpleChanges): void; loadStartForm(processId: string): void; getStartFormDefinition(processId: string): void; parseRefreshVisibilityValidateForm(form: any): void; isOutcomeButtonVisible(outcome: FormOutcomeModel, isFormReadOnly: boolean): boolean; saveTaskForm(): void; onRefreshClicked(): void; completeTaskForm(outcome?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface DynamicTableColumn { id: string; name: string; type: string; value: any; optionType: string; options: DynamicTableColumnOption[]; restResponsePath: string; restUrl: string; restIdProperty: string; restLabelProperty: string; amountCurrency: string; amountEnableFractions: boolean; required: boolean; editable: boolean; sortable: boolean; visible: boolean; endpoint: any; requestHeaders: any; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicTableModel extends FormWidgetModel { private readonly formService; field: FormFieldModel; columns: DynamicTableColumn[]; visibleColumns: DynamicTableColumn[]; rows: DynamicTableRow[]; private _selectedRow; private readonly _validators; get selectedRow(): DynamicTableRow; set selectedRow(value: DynamicTableRow); constructor(field: FormFieldModel, formService: FormService); private getColumns; flushValue(): void; moveRow(row: DynamicTableRow, offset: number): void; deleteRow(row: DynamicTableRow): void; addRow(row: DynamicTableRow): void; validateRow(row: DynamicTableRow): DynamicRowValidationSummary; getCellValue(row: DynamicTableRow, column: DynamicTableColumn): any; getDisplayText(column: DynamicTableColumn): string; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DropdownEditorComponent implements OnInit { formService: FormService; private readonly taskFormService; private readonly processDefinitionService; value: any; options: DynamicTableColumnOption[]; table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; ngOnInit(): void; getValuesByTaskId(field: FormFieldModel): void; getValuesByProcessDefinitionId(field: FormFieldModel): void; onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AmountEditorComponent implements OnInit { table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; displayName: string; ngOnInit(): void; onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BooleanEditorComponent { table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DateEditorComponent implements OnInit { private readonly dateAdapter; DATE_FORMAT: string; value: Date; table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; minDate: Date; maxDate: Date; ngOnInit(): void; onDateChanged(newDateValue: MatDatepickerInputEvent | string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface RowEditorReturnType { table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; } declare class RowEditorComponent { table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; save: EventEmitter; cancel: EventEmitter; validationSummary: DynamicRowValidationSummary; constructor(); onCancelChanges(): void; onSaveChanges(): void; private isValid; private validate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TextEditorComponent implements OnInit { table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; displayName: string; ngOnInit(): void; onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DateTimeEditorComponent implements OnInit { private readonly dateAdapter; DATE_TIME_FORMAT: string; value: Date; table: DynamicTableModel; row: DynamicTableRow; column: DynamicTableColumn; minDate: Date; maxDate: Date; ngOnInit(): void; onDateChanged(newDateValue: MatDatetimepickerInputEvent | string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DynamicTableWidgetComponent extends WidgetComponent implements OnInit { content: DynamicTableModel; editMode: boolean; editRow: DynamicTableRow; private readonly selectArrayCode; elementRef: ElementRef; private readonly visibilityService; private readonly cd; ngOnInit(): void; forceFocusOnAddButton(): void; private isDynamicTableReady; isValid(): boolean; onRowClicked(row: DynamicTableRow): void; onKeyPressed($event: KeyboardEvent, row: DynamicTableRow): void; private isEnterOrSpacePressed; hasSelection(): boolean; moveSelectionUp(): boolean; moveSelectionDown(): boolean; deleteSelection(): boolean; addNewRow(): boolean; editSelection(): boolean; getCellValue(row: DynamicTableRow, column: DynamicTableColumn): any; onSaveChanges(): void; onCancelChanges(): void; copyRow(row: DynamicTableRow): DynamicTableRow; private copyObject; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const DYNAMIC_TABLE_WIDGET_DIRECTIVES: readonly [typeof DynamicTableWidgetComponent, typeof DropdownEditorComponent, typeof AmountEditorComponent, typeof BooleanEditorComponent, typeof DateEditorComponent, typeof DateTimeEditorComponent, typeof RowEditorComponent, typeof TextEditorComponent]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ContentWidgetComponent implements OnChanges { protected formService: FormService; private readonly downloadService; private readonly urlService; private readonly processContentService; /** The content id to show. */ id: string; /** Toggles showing document content. */ showDocumentContent: boolean; /** Emitted when the content is clicked. */ contentClick: EventEmitter; /** Emitted when the thumbnail has loaded. */ thumbnailLoaded: EventEmitter; /** Emitted when the content has loaded. */ contentLoaded: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; content: ContentLinkModel; ngOnChanges(changes: SimpleChanges): void; loadContent(id: number): void; loadThumbnailUrl(content: ContentLinkModel): void; openViewer(content: ContentLinkModel): void; /** * Invoke content download. * * @param content content link model */ download(content: ContentLinkModel): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class FileViewerWidgetComponent extends BaseViewerWidgetComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class UploadWidgetComponent extends WidgetComponent implements OnInit { hasFile: boolean; displayText: string; multipleOption: string; mimeTypeIcon: string; fileInput: ElementRef; protected thumbnailService: ThumbnailService; protected processContentService: ProcessContentService; ngOnInit(): void; removeFile(file: any): void; onFileChanged(event: any): void; private uploadRawContent; getMultipleFileParam(): void; private removeElementFromList; getIcon(mimeType: string): string; fileClicked(contentLinkModel: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachFileWidgetComponent extends UploadWidgetComponent implements OnInit { private readonly activitiContentService; private readonly contentService; private readonly contentDialog; private readonly appConfigService; private readonly downloadService; private readonly router; private readonly activatedRoute; private readonly attachDialogService; typeId: string; repositoryList: AlfrescoEndpointRepresentation[]; isStartProcessPage: boolean; private tempFilesList; private readonly destroyRef; ngOnInit(): void; isFileSourceConfigured(): boolean; isMultipleSourceUpload(): boolean; isAllFileSourceSelected(): boolean; isOnlyLocalSourceSelected(): boolean; isSimpleUploadButton(): boolean; isUploadButtonVisible(): boolean; isDefinedSourceFolder(): boolean; isTemporaryFile(file: { name?: string; }): boolean; getNodeFromTempFile(file: { name?: string; }): NodeChildAssociation; openSelectDialogFromFileSource(): void; onAttachFileChanged(event: any): void; onRemoveAttachFile(file: File | RelatedContentRepresentation): void; onAttachFileClicked(file: any): void; downloadContent(file: any | RelatedContentRepresentation): void; openSelectDialog(repository: AlfrescoEndpointRepresentation): void; isSelected(): boolean; private isExternalHost; private findSource; private uploadFileFromExternalCS; private uploadFileFromCS; private updateNodesParams; private getDomainHost; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachFolderWidgetComponent extends WidgetComponent implements OnInit { private readonly contentDialog; formService: FormService; private readonly nodeService; typeId: string; hasFolder: boolean; selectedFolderName: string; ngOnInit(): void; isDefinedSourceFolder(): boolean; openSelectDialogFromFileSource(): void; removeFolder(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ interface AttachFileWidgetDialogComponentData { title: string; actionName?: string; selected: Subject; currentFolderId: string; ecmHost: string; context?: string; isSelectionValid?: (entry: Node) => boolean; showFilesInResult?: boolean; loginOnly?: boolean; accountIdentifier?: string; registerExternalHost?: (...args: any[]) => void; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachFileWidgetDialogComponent implements OnInit { private readonly translation; data: AttachFileWidgetDialogComponentData; private readonly externalApiService; private readonly authenticationService; private readonly matDialogRef; loginPanel: LoginDialogPanelComponent; title: string; action: string; buttonActionName: string; chosenNode: Node[]; private readonly destroyRef; constructor(); ngOnInit(): void; isLoggedIn(): boolean; performLogin(): void; close(): void; onSelect(nodeList: Node[]): void; onSiteChange(siteTitle: string): void; onClick(): void; updateTitle(siteTitle: string): void; getTitleTranslation(action: string, name?: string): string; hasNodeSelected(): boolean; private registerAndClose; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachFileWidgetDialogService { private readonly dialog; private readonly translation; /** Emitted when an error occurs. */ error: EventEmitter; private externalApis; /** * Opens a dialog to choose a file to upload. * * @param repository Alfresco endpoint that represents the content service * @param currentFolderId Upload file from specific folder * @param accountIdentifier account identifier * @returns Information about the chosen file(s) */ openLogin(repository: AlfrescoEndpointRepresentation, currentFolderId?: string, accountIdentifier?: string): Observable; downloadURL(repository: AlfrescoEndpointRepresentation, sourceId: string): Observable; addService(accountIdentifier: string, apiService: AlfrescoApiService): void; /** Closes the currently open dialog. */ close(): void; private openLoginDialog; private showExternalHostLoginDialog; private constructPayload; private getLoginTitleTranslation; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DocumentWidgetComponent extends WidgetComponent implements OnInit { fileId: string; hasFile: boolean; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PeopleProcessService { private readonly apiService; readonly taskActionsApi: TaskActionsApi; readonly userApi: UsersApi; readonly groupsApi: ActivitiGroupsApi; readonly profileApi: UserProfileApi; /** * Gets information about the current user. * * @returns User information object */ getCurrentUserInfo(): Observable; /** * Gets the current user's profile image as a URL. * * @returns URL string */ getCurrentUserProfileImage(): string; /** * Gets a list of groups in a workflow. * * @param filter Filter to select specific groups * @param groupId Group ID for the search * @returns Array of groups */ getWorkflowGroups(filter: string, groupId?: string): Observable; /** * Gets information about users across all tasks. * * @param taskId ID of the task * @param searchWord Filter text to search for * @param groupId group id * @returns Array of user information objects */ getWorkflowUsers(taskId?: string, searchWord?: string, groupId?: number): Observable; /** * Gets the profile picture URL for the specified user. * * @param userId The target user * @returns Profile picture URL */ getUserImage(userId: string): string; /** * Sets a user to be involved with a task. * * @param taskId ID of the target task * @param idToInvolve ID of the user to involve * @returns Empty response when the update completes */ involveUserWithTask(taskId: string, idToInvolve: string): Observable; /** * Removes a user who is currently involved with a task. * * @param taskId ID of the target task * @param idToRemove ID of the user to remove * @returns Empty response when the update completes */ removeInvolvedUser(taskId: string, idToRemove: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PeopleWidgetComponent extends WidgetComponent implements OnInit { input: ElementRef; /** Emitted when a valid user has been highlighted */ peopleSelected: EventEmitter; selectedUsers: LightUserRepresentation[]; multiSelect: boolean; groupId: number; searchTerm: UntypedFormControl; searchTerms$: Observable; users$: Observable; peopleProcessService: PeopleProcessService; errorStateMatcher: ErrorStateMatcher; ngOnInit(): void; checkUserAndValidateForm(list: LightUserRepresentation[], value: string): void; isValidUser(users: LightUserRepresentation[], name: string): boolean; getDisplayName(model: LightUserRepresentation): string; onRemove(user: LightUserRepresentation): void; onItemSelect(user: LightUserRepresentation): void; private initErrorStateMatcher; isUserAlreadySelected(user: LightUserRepresentation): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class RadioButtonsWidgetComponent extends WidgetComponent implements OnInit { private readonly taskFormService; private readonly processDefinitionService; ngOnInit(): void; getOptionsByTaskId(): void; getOptionsByProcessDefinitionId(): void; onOptionClick(optionSelected: any): void; private isRestType; private isReadOnlyForm; private hasRestUrl; private isValidRestConfig; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FunctionalGroupWidgetComponent extends WidgetComponent implements OnInit { minTermLength: number; groupId: string; searchTerm: UntypedFormControl; groups$: rxjs.Observable; selectedGroups: GroupModel[]; multiSelect: boolean; input: ElementRef; peopleProcessService: PeopleProcessService; elementRef: ElementRef; ngOnInit(): void; updateOption(option?: GroupModel): void; validateGroup(valid: boolean, empty: boolean): void; getDisplayName(model: GroupModel | string): string; onRemove(group: GroupModel): void; isGroupAlreadySelected(group: GroupModel): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TypeaheadWidgetComponent extends WidgetComponent implements OnInit { minTermLength: number; value: string; oldValue: string; options: FormFieldOption[]; errorStateMatcher: ErrorStateMatcher; private readonly taskFormService; private readonly processDefinitionService; ngOnInit(): void; getValuesByTaskId(): void; getValuesByProcessDefinitionId(): void; getOptions(): FormFieldOption[]; isValidOptionName(optionName: string): boolean; onKeyUp(event: KeyboardEvent): void; onItemSelect(item: FormFieldOption): void; validate(): void; isValueDefined(): boolean; isReadOnlyType(): boolean; private initErrorStateMatcher; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class DropdownWidgetComponent extends WidgetComponent implements OnInit, ReactiveFormWidget { formService: FormService; taskFormService: TaskFormService; processDefinitionService: ProcessDefinitionService; private readonly destroyRef; dropdownControl: FormControl; get isReadOnlyType(): boolean; get isReadOnlyField(): boolean; private get isRestType(); private get hasRestUrl(); private get isValidRestConfig(); ngOnInit(): void; updateReactiveFormControl(): void; getValuesByTaskId(): void; getValuesByProcessDefinitionId(): void; private isReadOnlyForm; private subscribeToInputChanges; private setFormControlValue; private updateFormControlState; private handleErrors; private setOptionValue; private getOptionValue; private customRequiredValidator; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const WIDGET_DIRECTIVES: (typeof ContentWidgetComponent | typeof FileViewerWidgetComponent | typeof BooleanEditorComponent | typeof DateEditorComponent | typeof DateTimeEditorComponent | typeof RowEditorComponent | typeof AttachFileWidgetDialogComponent)[]; declare class ProcessFormRenderingService extends FormRenderingService { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const FORM_DIRECTIVES: (typeof FormCustomOutcomesComponent)[]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class StartProcessInstanceComponent implements OnChanges, OnInit { private readonly processService; private readonly contentService; private readonly appsProcessService; private readonly appConfig; private readonly datePipe; /** * Limit the list of processes that can be started to those * contained in the specified app. */ appId?: number; /** Define the header of the component. */ title?: string; /** Definition name of the process to start. */ processDefinitionName?: string; /** * Variables in the input to the process * [RestVariable](https://github.com/Alfresco/alfresco-js-api/tree/master/src/alfresco-activiti-rest-api/docs/RestVariable.md). */ variables: RestVariable[]; /** Parameter to pass form field values in the start form if one is associated. */ values: FormValues; /** Name to assign to the current process. */ name?: string; /** Hide or show the process selection dropdown. */ showSelectProcessDropdown: boolean; /** Hide or show application selection dropdown. */ showSelectApplicationDropdown?: boolean; /** Parameter to enable selection of process when filtering. */ processFilterSelector?: boolean; /** Emitted when the process starts. */ start: EventEmitter; /** Emitted when the process is canceled. */ cancel: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; /** Emitted when process definition selection changes. */ processDefinitionSelection: EventEmitter; /** Emitted when application selection changes. */ applicationSelection: EventEmitter; startForm: StartFormComponent; inputAutocomplete: MatAutocompleteTrigger; processDefinitions: ProcessDefinitionRepresentation[]; selectedProcessDef: ProcessDefinitionRepresentation; processNameInput: UntypedFormControl; processDefinitionInput: UntypedFormControl; filteredProcessesDefinitions$: Observable; maxProcessNameLength: number; alfrescoRepositoryName: string; applications: AppDefinitionRepresentation[]; selectedApplication: AppDefinitionRepresentation; isProcessDefinitionsLoading: boolean; isAppsLoading: boolean; populatedFormData: FormValues; private readonly destroyRef; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private getSelectedProcess; private load; loadProcessDefinitions(appId: number): void; private filterProcessDefinitionByName; private loadApps; private loadProcessDefinitionsBasedOnSelectedApp; onAppSelectionChange(selectedApplication: MatSelectChange): void; hasApplications(): boolean; hasProcessDefinitions(): boolean; isProcessDefinitionSelected(): boolean; isDropdownDisabled(): boolean; getAlfrescoRepositoryName(): string; populateFormData(): void; startProcess(outcome?: string): void; cancelStartProcess(): void; hasStartForm(): boolean; private isStartFormMissingOrValid; validateForm(): boolean; onOutcomeClick(outcome: string): void; reset(): void; displayFn(process: any): string; displayDropdown(event: Event): void; get nameController(): AbstractControl; get processDefinitionController(): AbstractControl; processDefinitionSelectionChanged(processDefinition: ProcessDefinitionRepresentation): void; isLoading(): boolean; private isAppSelected; private resetSelectedProcessDefinition; private resetProcessDefinitions; private toggleProcessNameAndDefinitionsDropdown; private _filter; private formatProcessName; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProcessFilterService { private readonly alfrescoApiService; readonly userFiltersApi: UserFiltersApi; /** * Gets all filters defined for a Process App. * * @param appId ID of the target app * @returns Array of filter details */ getProcessFilters(appId: number): Observable; /** * Retrieves the process filter by ID. * * @param filterId ID of the filter * @param appId ID of the target app * @returns Details of the filter */ getProcessFilterById(filterId: number, appId?: number): Observable; /** * Retrieves the process filter by name. * * @param filterName Name of the filter * @param appId ID of the target app * @returns Details of the filter */ getProcessFilterByName(filterName: string, appId?: number): Observable; /** * Creates and returns the default filters for an app. * * @param appId ID of the target app * @returns Default filters just created */ createDefaultFilters(appId: number): Observable; /** * Checks if a filter with the given name already exists in the list of filters. * * @param filters - An array of objects representing the existing filters. * @param filterName - The name of the filter to check for existence. * @returns - True if a filter with the specified name already exists, false otherwise. */ isFilterAlreadyExisting(filters: Partial<{ name: string; }>[], filterName: string): boolean; /** * Creates and returns a filter that matches "running" process instances. * * @param appId ID of the target app * @param index of the filter (optional) * @returns Filter just created */ getRunningFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation; /** * Adds a filter. * * @param filter The filter to add * @returns The filter just added */ addProcessFilter(filter: UserProcessInstanceFilterRepresentation): Observable; /** * Calls `getUserProcessInstanceFilters` from the Alfresco JS API. * * @param appId ID of the target app * @returns List of filter details */ callApiProcessFilters(appId?: number): Promise; getCompletedFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation; getAllFilterInstance(appId: number, index?: number): UserProcessInstanceFilterRepresentation; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const PROCESS_LIST_DIRECTIVES: readonly [typeof ProcessInstanceListComponent, typeof ProcessFiltersComponent, typeof ProcessInstanceDetailsComponent, typeof ProcessInstanceHeaderComponent, typeof ProcessInstanceTasksComponent, typeof StartProcessInstanceComponent]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const APP_LIST_LAYOUT_LIST: string; declare const APP_LIST_LAYOUT_GRID: string; declare class AppsListComponent implements OnInit, AfterContentInit { private readonly appsProcessService; emptyCustomContent: CustomEmptyContentTemplateDirective; /** * Defines the layout of the apps. There are two possible * values, "GRID" and "LIST". */ layoutType: string; /** The default app to show when the component is loaded. */ defaultAppId: string; /** Provides a way to filter the apps to show. */ filtersAppId: AppDefinitionRepresentation[]; /** Emitted when an app entry is clicked. */ appClick: EventEmitter; /** Emitted when an error occurs. */ error: EventEmitter; currentApp: AppDefinitionRepresentation; appList: AppDefinitionRepresentation[]; loading: boolean; hasEmptyCustomContentTemplate: boolean; private iconsMDL; ngOnInit(): void; ngAfterContentInit(): void; private isDefaultApp; getAppName(app: AppDefinitionRepresentation): string; /** * Pass the selected app as next * * @param app application model */ selectApp(app: AppDefinitionRepresentation): void; /** * Return true if the appId is the current app * * @param appId application id * @returns `true` if application is selected, otherwise `false` */ isSelected(appId: number): boolean; /** * Check if the value of the layoutType property is an allowed value * * @returns `true` if layout type is valid, otherwise `false` */ isValidType(): boolean; /** * Assign the default value to LayoutType */ setDefaultLayoutType(): void; /** * Check if the layout type is LIST * * @returns `true` if current layout is in the list mode, otherwise `false` */ isList(): boolean; /** * Check if the layout type is GRID * * @returns `true` if current layout is in the grid mode, otherwise `false` */ isGrid(): boolean; isEmpty(): boolean; isLoading(): boolean; getTheme(app: AppDefinitionRepresentation): string; getBackgroundIcon(app: AppDefinitionRepresentation): string; private load; filterApps(apps: AppDefinitionRepresentation[], filter: Partial[]): AppDefinitionRepresentation[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SelectAppsDialogComponent { private readonly appsProcessService; dialogRef: MatDialogRef; data: any; processApps: any; selectedProcess: any; constructor(); onStart(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AppsProcessService { private readonly apiService; readonly appsApi: RuntimeAppDefinitionsApi; /** * Gets a list of deployed apps for this user. * * @returns The list of deployed apps */ getDeployedApplications(): Observable; /** * Gets a list of deployed apps for this user, where the app name is `name`. * * @param name Name of the app * @returns The list of deployed apps */ getDeployedApplicationsByName(name: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const APPS_LIST_DIRECTIVES: readonly [typeof AppsListComponent, typeof SelectAppsDialogComponent]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskAttachmentListComponent implements OnChanges, AfterContentInit { private readonly activitiContentService; private readonly downloadService; private readonly thumbnailService; private readonly ngZone; emptyTemplate: EmptyListComponent; /** (**required**) The ID of the task to display. */ taskId: string; /** Disable/Enable read only mode for attachment list. */ disabled: boolean; /** * Emitted when the attachment is double-clicked or a view * option is selected from the context menu by the user from within the component. * Returns a Blob representing the clicked object. */ attachmentClick: EventEmitter; /** * Emitted when the attachment list has fetched all the attachments. * Returns a list of attachments. */ success: EventEmitter; /** Emitted when an error occurs while fetching the attachments. */ error: EventEmitter; hasCustomTemplate: boolean; attachments: any[]; isLoading: boolean; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; reset(): void; reload(): void; add(content: any): void; deleteAttachmentById(contentId: number): void; onShowRowActionsMenu(event: any): void; onExecuteRowAction(event: any): void; openContent(event: any): void; emitDocumentContent(content: any): void; downloadContent(content: any): void; private loadAttachmentsByTaskId; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class ProcessAttachmentListComponent implements OnChanges, AfterContentInit { private readonly processContentService; private readonly downloadService; private readonly thumbnailService; private readonly ngZone; emptyTemplate: EmptyListComponent; /** (**required**) The ID of the process instance to display. */ processInstanceId: string; /** Disable/Enable read-only mode for attachment list. */ disabled: boolean; /** * Emitted when the attachment is double-clicked or the * view option is selected from the context menu by the user from * within the component. Returns a Blob representing the object * that was clicked. */ attachmentClick: EventEmitter; /** * Emitted when the attachment list has fetched all the attachments. * Returns a list of attachments. */ success: EventEmitter; /** * Emitted when the attachment list is not able to fetch the attachments * (eg, following a network error). */ error: EventEmitter; hasCustomTemplate: boolean; attachments: any[]; isLoading: boolean; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; reset(): void; reload(): void; add(content: any): void; onShowRowActionsMenu(event: any): void; onExecuteRowAction(event: any): void; openContent(event: any): void; emitDocumentContent(content: any): void; downloadContent(content: any): void; private loadAttachmentsByProcessInstanceId; private deleteAttachmentById; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class CreateProcessAttachmentComponent implements OnChanges { private readonly processContentService; /** (required) The ID of the process instance to display. */ processInstanceId: string; /** * Emitted when an error occurs while creating or uploading an attachment * from the user within the component. */ error: EventEmitter; /** * Emitted when an attachment is successfully created or uploaded * from within the component. */ success: EventEmitter; ngOnChanges(changes: SimpleChanges): void; onFileUpload(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class AttachmentComponent implements OnChanges { private readonly processContentService; /** (required) The numeric ID of the task to display. */ taskId: string; /** * Emitted when an error occurs while creating or uploading an * attachment from the user within the component. */ error: EventEmitter; /** * Emitted when an attachment is created or uploaded successfully * from within the component. */ success: EventEmitter; ngOnChanges(changes: SimpleChanges): void; onFileUpload(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const ATTACHMENT_DIRECTIVES: readonly [typeof TaskAttachmentListComponent, typeof ProcessAttachmentListComponent, typeof CreateProcessAttachmentComponent, typeof AttachmentComponent]; declare class ProcessCommentsComponent { /** (**required**) The numeric ID of the process instance to display comments for. */ processInstanceId: string; /** Should the comments be read-only? */ readOnly: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CommentProcessService implements CommentsService { private readonly apiService; private readonly peopleProcessService; readonly commentsApi: ActivitiCommentsApi; /** * Gets all comments that have been added to a process instance. * * @param id ID of the target process instance * @returns Details for each comment */ get(id: string): Observable; /** * Adds a comment to a process instance. * * @param id ID of the target process instance * @param message Text for the comment * @returns Details of the comment added */ add(id: string, message: string): Observable; getUserImage(userId: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const PROCESS_COMMENTS_DIRECTIVES: readonly [typeof ProcessCommentsComponent]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ type PerformSearchCallback = (searchWord: string) => Observable; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PeopleSearchComponent implements OnInit { headerTitle?: string; actionLabel?: string; /** Parameters for displaying the list. */ results: Observable; /** Emitted when a search is performed with a new keyword. */ searchPeople: EventEmitter; /** Emitted when a user is selected and the action button is clicked. */ success: EventEmitter; /** Emitted when the "close" button is clicked. */ closeSearch: EventEmitter; filteredResults$: Observable; selectedUser: LightUserRepresentation; performSearch: PerformSearchCallback; ngOnInit(): void; onRowClick(user: LightUserRepresentation): void; closeSearchList(): void; involveUserAndClose(): void; involveUser(): void; private performSearchCallback; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PeopleComponent { peopleProcessService: PeopleProcessService; /** The array of User objects to display. */ people: LightUserRepresentation[]; /** The numeric ID of the task. */ taskId: string; /** Should the data be read-only? */ readOnly: boolean; peopleSearch: PeopleSearchComponent; error: EventEmitter; showAssignment: boolean; peopleSearch$: Observable; private peopleSearchObserver; constructor(); searchUser(searchedWord: string): void; involveUser(user: LightUserRepresentation): void; removeInvolvedUser(user: LightUserRepresentation): void; getDisplayUser(firstName: string, lastName: string, delimiter?: string): string; getInitialUserName(firstName: string, lastName: string): string; onAddAssignment(): void; onClickAction(event: UserEventModel): void; hasPeople(): boolean; isEditMode(): boolean; onCloseSearch(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PeopleSearchFieldComponent { peopleProcessService: PeopleProcessService; private readonly translationService; performSearch: PerformSearchCallback; placeholder: string; rowClick: EventEmitter; users$: Observable; searchUser: UntypedFormControl; defaultPlaceholder: string; constructor(); reset(): void; get searchPlaceholder(): string; onRowClick(model: LightUserRepresentation): void; getDisplayUser(firstName: string, lastName: string, delimiter?: string): string; getInitialUserName(firstName: string, lastName: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PeopleSelectorComponent { private readonly peopleProcessService; private readonly translationService; peopleId: LightUserRepresentation; peopleIdChange: EventEmitter; searchFieldComponent: PeopleSearchFieldComponent; performSearch: PerformSearchCallback; selectedUser: LightUserRepresentation; defaultPlaceholder: string; constructor(); searchUser(searchWord: string): Observable; userSelected(user: LightUserRepresentation): void; userDeselected(): void; private updateUserSelection; get placeholder(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class PeopleListComponent implements AfterContentInit { columnList: DataColumnListComponent; peopleDataTable: DataTableComponent; /** The array of user data used to populate the people list. */ users: LightUserRepresentation[]; /** Toggles if actions should be visible, i.e. the 'Three-Dots' menu. */ actions: boolean; /** Emitted when the user clicks a row in the people list. */ clickRow: EventEmitter; /** Emitted when the user clicks in the 'Three Dots' drop down menu for a row. */ clickAction: EventEmitter; user: LightUserRepresentation; showHeader: "never"; ngAfterContentInit(): void; selectUser(event: any): void; hasActions(): boolean; onShowRowActionsMenu(event: DataCellEvent): void; onExecuteRowAction(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const PEOPLE_DIRECTIVES: readonly [typeof PeopleComponent, typeof PeopleSearchComponent, typeof PeopleSearchFieldComponent, typeof PeopleSelectorComponent, typeof PeopleListComponent]; declare class TaskCommentsComponent { /** The numeric ID of the task. */ taskId: string; /** Determines if comments are read only. */ readOnly: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare class TaskCommentsService implements CommentsService { readonly commentsApi: ActivitiCommentsApi; protected apiService: AlfrescoApiService; protected peopleProcessService: PeopleProcessService; /** * Gets all comments that have been added to a task. * * @param id ID of the target task * @returns Details for each comment */ get(id: string): Observable; /** * Adds a comment to a task. * * @param id ID of the target task * @param message Text for the comment * @returns Details about the comment */ add(id: string, message: string): Observable; getUserImage(userId: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ declare const TASK_COMMENTS_DIRECTIVES: readonly [typeof TaskCommentsComponent]; /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @deprecated use provider api instead, for example: * ``` * providers: [ * provideTranslations('adf-process-services', 'assets/adf-process-services'), * { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { floatLabel: 'never' } } * FormRenderingService, * { provide: FormRenderingService, useClass: ProcessFormRenderingService } * ] * ``` */ declare class ProcessModule { static forRoot(): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** @deprecated use js-api/ProcessInstanceRepresentation instead */ type ProcessInstance = ProcessInstanceRepresentation; /** @deprecated use js-api/UserTaskFilterRepresentation instead */ type FilterRepresentationModel = UserTaskFilterRepresentation; /** @deprecated use js-api/UserTaskFilterRepresentation instead */ type FilterParamsModel = UserTaskFilterRepresentation; /** @deprecated use js-api/UserRepresentation instead */ type BpmUserModel = UserRepresentation; /** @deprecated use js-api/AppDefinitionRepresentation instead */ type AppDefinitionRepresentationModel = AppDefinitionRepresentation; /** @deprecated use js-api/LightUserRepresentation instead */ type UserProcessModel = LightUserRepresentation; /** @deprecated use js-api/RestVariable instead */ type ProcessInstanceVariable = RestVariable; 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 }; export type { AppDefinitionRepresentationModel, AttachFileWidgetDialogComponentData, BpmUserModel, DynamicTableRow, FilterParamsModel, FilterRepresentationModel, PerformSearchCallback, ProcessInstance, ProcessInstanceVariable, RowEditorReturnType, UserEventModel, UserGroupModel, UserProcessModel };