ngx-viewerjs
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -86,3 +86,3 @@ (function (global, factory) { | ||
imports: [], | ||
exports: [], | ||
exports: [NgxViewerjsDirective], | ||
},] } | ||
@@ -89,0 +89,0 @@ ]; |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("viewerjs")):"function"==typeof define&&define.amd?define("ngx-viewerjs",["exports","@angular/core","viewerjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ngx-viewerjs"]={},e.ng.core,e.Viewer)}(this,(function(e,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(i),o=function(){function e(e){this.elementRef=e,this.viewerOptions={},this.viewerReady=new t.EventEmitter,this.viewerShow=new t.EventEmitter,this.viewerShown=new t.EventEmitter,this.viewerHide=new t.EventEmitter,this.viewerHidden=new t.EventEmitter,this.viewerView=new t.EventEmitter,this.viewerViewed=new t.EventEmitter,this.viewerZoom=new t.EventEmitter,this.viewerZoomed=new t.EventEmitter,this.nativeElement=this.elementRef.nativeElement}return e.prototype.ngAfterViewInit=function(){this.initViewer()},e.prototype.initViewer=function(){var e=this;this.instance&&this.instance.destroy(),this.instance=new r.default(this.nativeElement,Object.assign({transition:!1},this.viewerOptions)),this.nativeElement.addEventListener("ready",(function(t){return e.viewerReady.emit(t)}),!1),this.nativeElement.addEventListener("show",(function(t){return e.viewerShow.emit(t)}),!1),this.nativeElement.addEventListener("shown",(function(t){return e.viewerShown.emit(t)}),!1),this.nativeElement.addEventListener("hide",(function(t){return e.viewerHide.emit(t)}),!1),this.nativeElement.addEventListener("hidden",(function(t){return e.viewerHidden.emit(t)}),!1),this.nativeElement.addEventListener("view",(function(t){return e.viewerView.emit(t)}),!1),this.nativeElement.addEventListener("viewed",(function(t){return e.viewerViewed.emit(t)}),!1),this.nativeElement.addEventListener("zoom",(function(t){return e.viewerZoom.emit(t)}),!1),this.nativeElement.addEventListener("zoomed",(function(t){return e.viewerZoomed.emit(t)}),!1)},e.prototype.ngOnDestroy=function(){this.instance&&this.instance.destroy()},e}();o.decorators=[{type:t.Directive,args:[{selector:"[ngxViewerjs]"}]}],o.ctorParameters=function(){return[{type:t.ElementRef}]},o.propDecorators={viewerOptions:[{type:t.Input}],viewerReady:[{type:t.Output}],viewerShow:[{type:t.Output}],viewerShown:[{type:t.Output}],viewerHide:[{type:t.Output}],viewerHidden:[{type:t.Output}],viewerView:[{type:t.Output}],viewerViewed:[{type:t.Output}],viewerZoom:[{type:t.Output}],viewerZoomed:[{type:t.Output}]};var s=function(){};s.decorators=[{type:t.NgModule,args:[{declarations:[o],imports:[],exports:[]}]}],e.NgxViewerjsDirective=o,e.NgxViewerjsModule=s,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("viewerjs")):"function"==typeof define&&define.amd?define("ngx-viewerjs",["exports","@angular/core","viewerjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ngx-viewerjs"]={},e.ng.core,e.Viewer)}(this,(function(e,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(i),o=function(){function e(e){this.elementRef=e,this.viewerOptions={},this.viewerReady=new t.EventEmitter,this.viewerShow=new t.EventEmitter,this.viewerShown=new t.EventEmitter,this.viewerHide=new t.EventEmitter,this.viewerHidden=new t.EventEmitter,this.viewerView=new t.EventEmitter,this.viewerViewed=new t.EventEmitter,this.viewerZoom=new t.EventEmitter,this.viewerZoomed=new t.EventEmitter,this.nativeElement=this.elementRef.nativeElement}return e.prototype.ngAfterViewInit=function(){this.initViewer()},e.prototype.initViewer=function(){var e=this;this.instance&&this.instance.destroy(),this.instance=new r.default(this.nativeElement,Object.assign({transition:!1},this.viewerOptions)),this.nativeElement.addEventListener("ready",(function(t){return e.viewerReady.emit(t)}),!1),this.nativeElement.addEventListener("show",(function(t){return e.viewerShow.emit(t)}),!1),this.nativeElement.addEventListener("shown",(function(t){return e.viewerShown.emit(t)}),!1),this.nativeElement.addEventListener("hide",(function(t){return e.viewerHide.emit(t)}),!1),this.nativeElement.addEventListener("hidden",(function(t){return e.viewerHidden.emit(t)}),!1),this.nativeElement.addEventListener("view",(function(t){return e.viewerView.emit(t)}),!1),this.nativeElement.addEventListener("viewed",(function(t){return e.viewerViewed.emit(t)}),!1),this.nativeElement.addEventListener("zoom",(function(t){return e.viewerZoom.emit(t)}),!1),this.nativeElement.addEventListener("zoomed",(function(t){return e.viewerZoomed.emit(t)}),!1)},e.prototype.ngOnDestroy=function(){this.instance&&this.instance.destroy()},e}();o.decorators=[{type:t.Directive,args:[{selector:"[ngxViewerjs]"}]}],o.ctorParameters=function(){return[{type:t.ElementRef}]},o.propDecorators={viewerOptions:[{type:t.Input}],viewerReady:[{type:t.Output}],viewerShow:[{type:t.Output}],viewerShown:[{type:t.Output}],viewerHide:[{type:t.Output}],viewerHidden:[{type:t.Output}],viewerView:[{type:t.Output}],viewerViewed:[{type:t.Output}],viewerZoom:[{type:t.Output}],viewerZoomed:[{type:t.Output}]};var s=function(){};s.decorators=[{type:t.NgModule,args:[{declarations:[o],imports:[],exports:[o]}]}],e.NgxViewerjsDirective=o,e.NgxViewerjsModule=s,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngx-viewerjs.umd.min.js.map |
@@ -9,5 +9,5 @@ import { NgModule } from '@angular/core'; | ||
imports: [], | ||
exports: [], | ||
exports: [NgxViewerjsDirective], | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXZpZXdlcmpzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC12aWV3ZXJqcy9zcmMvbGliL25neC12aWV3ZXJqcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJ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VksRUFBRSxDQUFDLG9CQUFvQixDQUFDO2dCQUNwQyxPQUFPLEVBQUUsRUFBRTtnQkFDWCxPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQzthQUNoQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBOZ3hWaWV3ZXJqc0RpcmVjdGl2ZSB9IGZyb20gJy4vbmd4LXZpZXdlcmpzLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW05neFZpZXdlcmpzRGlyZWN0aXZlXSxcbiAgaW1wb3J0czogW10sXG4gIGV4cG9ydHM6IFtOZ3hWaWV3ZXJqc0RpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIE5neFZpZXdlcmpzTW9kdWxlIHt9XG4iXX0= |
@@ -73,3 +73,3 @@ import { EventEmitter, Directive, ElementRef, Input, Output, NgModule } from '@angular/core'; | ||
imports: [], | ||
exports: [], | ||
exports: [NgxViewerjsDirective], | ||
},] } | ||
@@ -76,0 +76,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NgxViewerjsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxViewerjsDirective"}],"imports":[],"exports":[]}]}],"members":{}},"NgxViewerjsDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"[ngxViewerjs]"}]}],"members":{"viewerOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"viewerReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":3}}]}],"viewerShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":21,"character":3}}]}],"viewerShown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":22,"character":3}}]}],"viewerHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":24,"character":3}}]}],"viewerHidden":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":3}}]}],"viewerView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":3}}]}],"viewerViewed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":3}}]}],"viewerZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":30,"character":3}}]}],"viewerZoomed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":38,"character":34}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"initViewer":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NgxViewerjsModule":"./lib/ngx-viewerjs.module","NgxViewerjsDirective":"./lib/ngx-viewerjs.directive"},"importAs":"ngx-viewerjs"} | ||
{"__symbolic":"module","version":4,"metadata":{"NgxViewerjsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgxViewerjsDirective"}],"imports":[],"exports":[{"__symbolic":"reference","name":"NgxViewerjsDirective"}]}]}],"members":{}},"NgxViewerjsDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"[ngxViewerjs]"}]}],"members":{"viewerOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"viewerReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":3}}]}],"viewerShow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":21,"character":3}}]}],"viewerShown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":22,"character":3}}]}],"viewerHide":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":24,"character":3}}]}],"viewerHidden":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":3}}]}],"viewerView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":3}}]}],"viewerViewed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":3}}]}],"viewerZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":30,"character":3}}]}],"viewerZoomed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":31,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":38,"character":34}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"initViewer":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NgxViewerjsModule":"./lib/ngx-viewerjs.module","NgxViewerjsDirective":"./lib/ngx-viewerjs.directive"},"importAs":"ngx-viewerjs"} |
{ | ||
"name": "ngx-viewerjs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Angular 11+ directive for the Viewer.js library. A fork of the ngx-viewer to update both the Viewer.js and angular compatibility.", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47612