img-pdf-viewer
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,8 +0,42 @@ | ||
import { OnInit } from '@angular/core'; | ||
import { ElementRef, OnInit } from '@angular/core'; | ||
import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'; | ||
import { DocPreviewConfig } from './docConfig'; | ||
import { ImgPdfViewerService } from './img-pdf-viewer.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ImgPdfViewerComponent implements OnInit { | ||
constructor(); | ||
private _helper; | ||
private modalService; | ||
private _docPreviewConfig; | ||
private _documentURL; | ||
private _fileName; | ||
get docPreviewConfig(): DocPreviewConfig; | ||
set docPreviewConfig(value: DocPreviewConfig); | ||
get documentURL(): string; | ||
set documentURL(value: string); | ||
get fileName(): string; | ||
set fileName(value: string); | ||
documentType: string; | ||
contentType: string; | ||
zoom_in: number; | ||
rotation: number; | ||
modalRef: NgbModalRef; | ||
isArchieved: boolean; | ||
pdfType: string; | ||
imageType: string; | ||
view_img: ElementRef; | ||
inputModelRef: NgbModalRef; | ||
constructor(_helper: ImgPdfViewerService, modalService: NgbModal); | ||
ngOnChanges(): void; | ||
ngOnInit(): void; | ||
defaultDocumentIconsSetting(): void; | ||
documentTypeDeterminer(): Promise<void>; | ||
fileTypeCheckerOnContentType(): void; | ||
archivedFileTypeChecker(url: string): Promise<void>; | ||
closeModal(): void; | ||
downloadFile(): void; | ||
upDateZoom(zoomType: string): void; | ||
rotateDoc(): void; | ||
viewInFullScreen(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImgPdfViewerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ImgPdfViewerComponent, "lib-imgPdf-viewer", never, {}, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ImgPdfViewerComponent, "ngx-imgPdf-viewer", never, { "docPreviewConfig": "docPreviewConfig"; "documentURL": "documentURL"; "fileName": "fileName"; }, { "inputModelRef": "inputModelRef"; }, never, never>; | ||
} |
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core"; | ||
import * as i4 from "@angular/forms"; | ||
import * as i5 from "@angular/common"; | ||
export declare class ImgPdfViewerModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImgPdfViewerModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ImgPdfViewerModule, [typeof i1.ImgPdfViewerComponent], [typeof i2.PdfViewerModule, typeof i3.NgbModule, typeof i4.FormsModule], [typeof i1.ImgPdfViewerComponent]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ImgPdfViewerModule, [typeof i1.ImgPdfViewerComponent], [typeof i2.PdfViewerModule, typeof i3.NgbModule, typeof i4.FormsModule, typeof i5.CommonModule], [typeof i1.ImgPdfViewerComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ImgPdfViewerModule>; | ||
} |
import * as i0 from "@angular/core"; | ||
export declare class ImgPdfViewerService { | ||
constructor(); | ||
downloadBlob(blob: string, fileName: string): void; | ||
downloadResource(url: string, fileName?: string): void; | ||
fileTypeChecker(file: string): "" | "image" | "pdf"; | ||
openBlobInNewWindow(url: string): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImgPdfViewerService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ImgPdfViewerService>; | ||
} |
{ | ||
"name": "img-pdf-viewer", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^13.3.0", |
export * from './lib/img-pdf-viewer.service'; | ||
export * from './lib/img-pdf-viewer.component'; | ||
export * from './lib/img-pdf-viewer.module'; | ||
export * from './lib/docConfig'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
154712
20
1211
7
10