Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

img-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

img-pdf-viewer - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

esm2020/lib/Common.constant.mjs

40

lib/img-pdf-viewer.component.d.ts

@@ -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>;
}

3

lib/img-pdf-viewer.module.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc