@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
17 lines (16 loc) • 2.02 kB
TypeScript
import { OnInit } from '@angular/core';
import { I18nService } from '../../i18n.service';
import { SharedService } from '../../services/shared.service';
import * as i0 from "@angular/core";
export declare class FileViewComponent implements OnInit {
private SharedService;
i18nService: I18nService;
documentData: any;
api: any;
constructor(SharedService: SharedService, i18nService: I18nService);
ngOnInit(): void;
viewDoc(link: any): void;
getDocIcon(docName: any): "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PDF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLSX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOCX.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-AVI.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-DOC.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-GIF.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-JPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MOV.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP3.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MP4.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPEG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-MPG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PNG.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-PPT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-TXT.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/img-file-XLS.png" | "https://rnxt.s3.amazonaws.com/Icons/fileTypeIcons/ic_document.svg";
static ɵfac: i0.ɵɵFactoryDeclaration<FileViewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<FileViewComponent, "app-file-view", never, { "documentData": { "alias": "documentData"; "required": false; }; "api": { "alias": "api"; "required": false; }; }, {}, never, never, false, never>;
}