UNPKG

@hmcts/media-viewer

Version:
69 lines 3.16 kB
import { ConnectionPositionPair } from '@angular/cdk/overlay'; import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core'; import { ToolbarEventService } from '../toolbar-event.service'; import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service'; import { NumberHelperService } from '../../../lib/shared/util/services/number.helper.service'; import { IcpEventService } from '../icp-event.service'; import * as i0 from "@angular/core"; export declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit { readonly toolbarEvents: ToolbarEventService; readonly toolbarButtons: ToolbarButtonVisibilityService; private readonly cdr; private readonly numberHelper; private readonly icpEventService; enableAnnotations: boolean; enableRedactions: boolean; enableICP: boolean; contentType: any; zoomSelect: ElementRef; mvToolbarMain: ElementRef<HTMLElement>; mvMenuItems: ElementRef<HTMLElement>; private readonly subscriptions; icpEnabled: boolean; redactionEnabled: boolean; showCommentsPanel: boolean; redactAllInProgress: boolean; pageNumber: number; pageCount: number; isDropdownMenuOpen: boolean; isBookmarksOpen: boolean; isIndexOpen: boolean; isRedactOpen: boolean; isCommentsOpen: boolean; dropdownMenuPositions: ConnectionPositionPair[]; zoomScales: number[]; allButtonsWidth: number; widthRequiredForBtn: { [id: string]: number; }; constructor(toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, cdr: ChangeDetectorRef, numberHelper: NumberHelperService, icpEventService: IcpEventService); ngOnInit(): void; ngOnDestroy(): void; ngAfterViewInit(): void; onResize(): void; onControlPrint(event: KeyboardEvent): void; onClickHighlightToggle(): void; onClickDrawToggle(): void; toggleIndexSideBar(): void; onToolBarOffSetChange(buttonId: string): "button-hidden-on-toolbar" | "button-hidden-on-dropdown"; toggleBookmarksSideBar(): void; togglePresentBar(): void; increasePageNumber(): void; decreasePageNumber(): void; onPageNumberInputChange(pageNumber: string): void; private setCurrentPage; rotate(rotation: number): void; printFile(): void; downloadFile(): void; zoom(zoomFactor: string): void; stepZoom(zoomFactor: number): void; toggleCommentsPanel(): void; toggleRedactBar(): void; toggleGrabNDrag(): void; isPdf(): boolean; toggleSearchBar(): void; toggleMoreOptions(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MainToolbarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MainToolbarComponent, "mv-main-toolbar", never, { "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, {}, never, never, false, never>; } //# sourceMappingURL=main-toolbar.component.d.ts.map