UNPKG

@hmcts/media-viewer

Version:
31 lines 2.03 kB
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ResponseType, ViewerException } from '../viewer-exception.model'; import { Store } from '@ngrx/store'; import * as fromStore from '../../store/reducers/document.reducer'; import { AnnotationSet } from '../../annotations/annotation-set/annotation-set.model'; import * as i0 from "@angular/core"; export declare class ConvertibleContentViewerComponent implements OnInit, OnDestroy, OnChanges { private store; originalUrl: any; downloadFileName: string; height: any; enableAnnotations: boolean; enableRedactions: boolean; annotationSet: AnnotationSet | null; mediaLoadStatus: EventEmitter<ResponseType>; viewerException: EventEmitter<ViewerException>; documentTitle: EventEmitter<string>; private $subscription; convertedUrl: string; constructor(store: Store<fromStore.DocumentState>); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; onMediaLoad(status: ResponseType): void; onLoadException(exception: ViewerException): void; onDocumentTitleChange(title: string): void; private extractDMStoreDocId; static ɵfac: i0.ɵɵFactoryDeclaration<ConvertibleContentViewerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ConvertibleContentViewerComponent, "mv-conversion-viewer", never, { "originalUrl": { "alias": "originalUrl"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "height": { "alias": "height"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "viewerException": "viewerException"; "documentTitle": "documentTitle"; }, never, never, false, never>; } //# sourceMappingURL=convertible-content-viewer.component.d.ts.map