import * as i0 from '@angular/core'; import { PipeTransform } from '@angular/core'; import * as i1 from '@alfresco/adf-content-services'; import { ContentVersionService, NodeAction, ContentNodeSelectorComponentData } from '@alfresco/adf-content-services'; import * as i3 from '@angular/platform-browser'; import { ExtensionRoute } from '@alfresco/aca-shared'; import { Route } from '@angular/router'; import { DeletedNodeInfo } from '@alfresco/aca-shared/store'; export { INITIAL_APP_STATE } from '@alfresco/aca-shared/store'; import { Observable, Subject } from 'rxjs'; import { NodeEntry, Node, SiteBodyCreate, NodesApi, SharedLink, NodeChildAssociationEntry, NodeChildAssociationPaging } from '@alfresco/js-api'; declare class AppStoreModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class ContentServiceExtensionModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ declare const CONTENT_ROUTES: ExtensionRoute[]; declare const CONTENT_LAYOUT_ROUTES: Route[]; declare class ContentUrlService extends ContentVersionService { private readonly store; private readonly contentApiService; getNodeContentUrl(nodeId: string, attachment?: boolean): Observable; getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean): Observable; private isDirectAccessUrlEnabled; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ContentManagementService { private readonly notificationService; private readonly nodesApiService; private readonly store; private readonly contentApi; private readonly permission; private readonly dialogRef; private readonly nodeActionsService; private readonly translation; private readonly nodeAspectService; private readonly activatedRoute; private readonly appHookService; private readonly newVersionUploaderService; private readonly router; private readonly appSettingsService; private readonly documentListService; private readonly createMenuButtonSelector; addFavorite(nodes: Array, focusedElementOnCloseSelector?: string): void; removeFavorite(nodes: Array, focusedElementOnCloseSelector?: string): void; manageVersions(node: any, focusedElementOnCloseSelector?: string): void; manageAspects(node: any, focusedElementOnCloseSelector?: string): void; versionUpdateDialog(node: Node, file: File): void; shareNode(node: any, focusedElementOnCloseSelector?: string): void; openShareLinkDialog(node: any, focusedElementOnCloseSelector?: string): void; createFolder(parentNodeId: string): void; editFolder(folder: NodeEntry, focusedElementOnCloseSelector?: string): void; createLibrary(): Observable; deleteLibrary(id: string): void; leaveLibrary(siteId: string, focusedElementOnCloseSelector?: string): void; updateLibrary(siteId: string, siteBody: SiteBodyCreate): void; unshareNodes(links: Array): Promise; canUpdateNode(node: NodeEntry | Node): boolean; canUploadContent(folderNode: NodeEntry | Node): boolean; purgeDeletedNodes(nodes: NodeEntry[], focusedElementOnCloseSelector?: string): void; restoreDeletedNodes(selection?: NodeEntry[], focusedElementOnCloseSelector?: string): void; copyNodes(nodes: Array, focusedElementOnCloseSelector?: string): void; moveNodes(nodes: Array, focusedElementOnCloseSelector?: string): void; linkNodes(nodes: NodeEntry[], focusedElementOnCloseSelector?: string): void; navigateToLinkTarget(linkNode: NodeEntry): void; getErrorMessage(errorObject: { message: any; }): string; getNodeInfo(): Observable; unlockNode(node: NodeEntry): Promise; private showCopyMessage; private showLinkMessage; private getOperationMessageSuffix; private getSnackbarPanelClass; private undoCopyNodes; private openVersionManagerDialog; private openAspectListDialog; private undoMoveNodes; deleteNodes(items: NodeEntry[], allowUndo?: boolean, focusedElementOnCloseSelector?: string): void; private isLinkNode; private deleteNodesBatch; undoDeleteNodes(items: DeletedNodeInfo[]): void; private undoDeleteNode; private showUndoDeleteMessage; private restoreNode; private purgeNodes; private purgeDeletedNode; private processStatus; private sendPurgeMessage; private showRestoreNotification; private isSite; private isLibraryContent; private getRestoreMessageData; private diff; private deleteNode; private getDeleteMessageData; private showMoveMessage; private focusAfterClose; showNodeInformation(node: NodeEntry): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type BatchOperationType = Extract; interface LinkOperationResult { succeeded: NodeEntry[]; failed: Error[]; } declare class NodeActionsService { private readonly contentService; private readonly contentApi; private readonly dialog; private readonly documentListService; private readonly apiService; private readonly translation; private readonly thumbnailService; contentCopied: Subject; contentMoved: Subject; contentLinked: Subject; moveDeletedEntries: any[]; isSitesDestinationAvailable: boolean; nodesApi: NodesApi; /** * Copy node list * * @param contentEntities nodes to copy * @param permission permission which is needed to apply the action * @param focusedElementOnCloseSelector element's selector which should be autofocused after closing modal */ copyNodes(contentEntities: any[], permission?: string, focusedElementOnCloseSelector?: string): Subject; /** * Create links for node list * * @param contentEntities nodes to create links for * @param focusedElementOnCloseSelector element's selector which should be autofocused after closing modal */ createLinkNodes(contentEntities: any[], focusedElementOnCloseSelector?: string): Subject; /** * Move node list * * @param contentEntities nodes to move * @param permission permission which is needed to apply the action * @param focusedElementOnCloseSelector element's selector which should be autofocused after closing modal */ moveNodes(contentEntities: any[], permission?: string, focusedElementOnCloseSelector?: string): Subject; /** * General method for performing the given operation (copy|move) to multiple nodes * * @param action the action to perform (copy|move) * @param contentEntities the contentEntities which have to have the action performed on * @param permission permission which is needed to apply the action * @param focusedElementOnCloseSelector element's selector which should be autofocused after closing modal */ doBatchOperation(action: BatchOperationType, contentEntities: any[], permission?: string, focusedElementOnCloseSelector?: string): Subject; isEntryEntitiesArray(contentEntities: any[]): boolean; checkPermission(action: BatchOperationType, contentEntities: any[], permission?: string): boolean; getEntryParentId(nodeEntry: Node): string; getContentNodeSelection(action: NodeAction, contentEntities: NodeEntry[], focusedElementOnCloseSelector?: string): Subject; protected buildContentNodeSelectorData(action: NodeAction, contentEntities: NodeEntry[]): ContentNodeSelectorComponentData; getTitleTranslation(action: string, nodes?: NodeEntry[]): string; protected canCopyMoveInsideIt(entry: Node): boolean; private hasEntityCreatePermission; private isSite; close(): void; private customizeBreadcrumb; private normalizeSitePath; isSiteContainer(node: Node): boolean; copyNodeAction(nodeEntry: any, selectionId: string): Observable; linkNodeAction(nodeEntry: Node | SharedLink, destinationFolderId: string): Observable; copyContentAction(contentEntry: any, selectionId: string, oldName?: string): Observable; copyFolderAction(contentEntry: any, selectionId: string): Observable; moveNodeAction(nodeEntry: any, selectionId: string): Observable; moveFolderAction(contentEntry: any, selectionId: string): Observable; moveContentAction(contentEntry: any, selectionId: string): Observable; getChildByName(parentId: string, name: string): Subject; private isActionAllowed; private rowFilter; private imageResolver; getNewNameFrom(name: string, baseName?: string): string; /** * Get children nodes of given parent node * * @param nodeId The id of the parent node * @param params optional parameters */ getNodeChildren(nodeId: string, params?: any): Observable; /** * Copy a node to destination node * * @param nodeId The id of the node to be copied * @param targetParentId The id of the folder-node where the node have to be copied to * @param name The new name for the copy that would be added on the destination folder */ copyNode(nodeId: string, targetParentId: string, name?: string): Observable; flatten(nDimArray: any[]): any[]; processResponse(data: any): any; private focusAfterClose; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ declare abstract class ExternalNodePermissionCommentsTabService { abstract canAddComments(node: Node): boolean; } /*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ /** * Checks if string is an AND or OR operator * * @param input string to check if it is an operator * @returns boolean */ declare function isOperator(input: string): boolean; /** * Formats a search term by provided fields * * @param term search term * @param fields array of fields * @param wildcardsEnabled whether wildcards are enabled * @returns string */ declare function formatSearchTermByFields(term: string, fields: string[], wildcardsEnabled?: boolean): string; /** * Formats a search term, splits by words, skips custom queries containing ':' or '"' * * @param userInput search term * @param fields array of fields * @param searchMode regular or formula search mode * @param wildcardsEnabled whether wildcards are enabled * @returns string */ declare function formatSearchTerm(userInput: string, fields?: string[], searchMode?: 'regular' | 'formula', wildcardsEnabled?: boolean): string; /** * Decodes a query and extracts the user query * * @param encodedQuery encoded query * @returns string */ declare function extractUserQueryFromEncodedQuery(encodedQuery: string): string; /** * Decodes a query and extracts parsed query * * @param encodedQuery encoded query * @returns string */ declare function extractParsedQueryFromEncodedQuery(encodedQuery: string): string; /** * Extracts filters configuration from encoded query * * @param encodedQuery encoded query * @returns object containing filters configuration */ declare function extractFiltersFromEncodedQuery(encodedQuery: string): any; declare class IsFeatureSupportedInCurrentAcsPipe implements PipeTransform { private readonly appExtensionsService; private readonly store; transform(evaluatorId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } export { CONTENT_LAYOUT_ROUTES, CONTENT_ROUTES, ContentManagementService, ContentServiceExtensionModule, ContentUrlService, ExternalNodePermissionCommentsTabService, IsFeatureSupportedInCurrentAcsPipe, NodeActionsService, extractFiltersFromEncodedQuery, extractParsedQueryFromEncodedQuery, extractUserQueryFromEncodedQuery, formatSearchTerm, formatSearchTermByFields, isOperator }; export type { LinkOperationResult };