/*! * 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 . */ import { OnInit } from '@angular/core'; import { Location } from '@angular/common'; import { ActivatedRoute } from '@angular/router'; import { AppHookService, ContentApiService, PageComponent } from '@alfresco/aca-shared'; import { ContentActionRef } from '@alfresco/adf-extensions'; import { Actions } from '@ngrx/effects'; import { NodesApiService } from '@alfresco/adf-content-services'; import { ViewerService } from '../../services/viewer.service'; import * as i0 from "@angular/core"; export declare class PreviewComponent extends PageComponent implements OnInit { private actions$; private appHookService; private contentApi; private location; private nodesApiService; private route; private viewerService; folderId: string; navigateBackAsClose: boolean; navigateMultiple: boolean; navigateSource: string; navigationSources: string[]; nextNodeId: string; nodeId: string; openWith: Array; previewLocation: string; previousNodeId: string; routesSkipNavigation: string[]; showRightSide: boolean; simplestMode: boolean; private containersSkipNavigation; constructor(actions$: Actions, appHookService: AppHookService, contentApi: ContentApiService, location: Location, nodesApiService: NodesApiService, route: ActivatedRoute, viewerService: ViewerService); ngOnInit(): void; /** * Loads the particular node into the Viewer * * @param id Unique identifier for the Node to display */ displayNode(id: string): Promise; handleKeyboardEvent(event: KeyboardEvent): void; /** * Handles the visibility change of the Viewer component. * * @param isVisible Indicator whether Viewer is visible or hidden. */ onVisibilityChanged(isVisible: boolean): void; navigateToFileLocation(shouldNavigate: boolean): void; /** Handles navigation to a previous document */ onNavigateBefore(event: MouseEvent | KeyboardEvent): void; /** Handles navigation to a next document */ onNavigateNext(event: MouseEvent | KeyboardEvent): void; /** * Generates a node preview route based on folder and node IDs. * * @param folderId Folder ID * @param nodeId Node ID */ getPreviewPath(folderId: string, nodeId: string): any[]; private getNavigationCommands; private shouldNavigate; private isChild; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }