UNPKG

mss-doc-viewer

Version:

A simple typehead library developed by MSS development team to be used for document viewer

27 lines (26 loc) 1.27 kB
import { AfterViewInit, ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core'; import { MssDocViewerService } from './mss-doc-viewer.service'; import { Document } from './_helpers/document.model'; import * as i0 from "@angular/core"; export declare class MssDocViewerComponent implements OnInit, OnChanges, AfterViewInit { private cd; private _doc_viewer; dynamicViewerContainer: ViewContainerRef; document: Document; documents: Document[]; apiDoc: any; activeDoc: Document; constructor(cd: ChangeDetectorRef, _doc_viewer: MssDocViewerService); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnInit(): void; getDocument(doc: Document): void; get_url_extension(url: string): string | undefined; get_filename(url: string): string; private registerDynamicViewer; getComponentByType(type: string): any; download(uri: string): void; print(url: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<MssDocViewerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MssDocViewerComponent, "lib-mss-doc-viewer", never, { "document": "document"; "documents": "documents"; }, {}, never, never, false>; }