/*
    *
    * Wijmo Library 5.20181.436
    * http://wijmo.com/
    *
    * Copyright(c) GrapeCity, Inc.  All rights reserved.
    *
    * Licensed under the GrapeCity Commercial License.
    * sales@wijmo.com
    * wijmo.com/products/wijmo-5/license/
    *
    */
System.register(["wijmo/wijmo.viewer","wijmo/wijmo","@angular/core","@angular/common","@angular/forms","wijmo/wijmo.angular2.directiveBase"],function(e,t){"use strict";var o,n,r,a,i,s,d,c,u,g,p,l,h,C,M=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}();t&&t.id;return{setters:[function(e){o=e},function(e){n=e},function(e){r=e,a=e,i=e},function(e){s=e},function(e){d=e},function(e){c=e}],execute:function(){e("wjReportViewerMeta",u={selector:"wj-report-viewer",template:"",inputs:["asyncBindings","wjModelProperty","serviceUrl","filePath","fullScreen","zoomFactor","mouseMode","selectMouseMode","viewMode","paginated","reportName"],outputs:["initialized","pageIndexChangedNg: pageIndexChanged","viewModeChangedNg: viewModeChanged","viewModeChangePC: viewModeChange","mouseModeChangedNg: mouseModeChanged","mouseModeChangePC: mouseModeChange","selectMouseModeChangedNg: selectMouseModeChanged","selectMouseModeChangePC: selectMouseModeChange","fullScreenChangedNg: fullScreenChanged","fullScreenChangePC: fullScreenChange","zoomFactorChangedNg: zoomFactorChanged","zoomFactorChangePC: zoomFactorChange","queryLoadingDataNg: queryLoadingData"],providers:[{provide:d.NG_VALUE_ACCESSOR,useFactory:c.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),g=function(e){function t(t,o,n){var r=e.call(this,c.WjDirectiveBehavior.getHostElement(t,o))||this;r.isInitialized=!1;r._wjBehaviour=c.WjDirectiveBehavior.attach(r,t,o,n);return r.created(),r}return M(t,e),t.prototype.created=function(){},t.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},t.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},t.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},t.prototype.addEventListener=function(t,o,n,r){var a=this;void 0===r&&(r=!1);var i=c.WjDirectiveBehavior,s=i.ngZone;s&&i.outsideZoneEvents[o]?s.runOutsideAngular(function(){e.prototype.addEventListener.call(a,t,o,n,r)}):e.prototype.addEventListener.call(this,t,o,n,r)},t.prototype.onSelectMouseModeChanged=function(e){(this.selectMouseModeChanged._handlers.length>1||this.selectMouseModeChangedNg.observers.length>0)&&n._deprecated("selectMouseModeChanged","mouseModeChanged"),this.selectMouseModeChanged.raise(this,e)},t.meta={outputs:u.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],selectMouseModeChanged:["selectMouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"]}},t.decorators=[{type:r.Component,args:[{selector:u.selector,template:u.template,inputs:u.inputs,outputs:u.outputs,providers:[{provide:"WjComponent",useExisting:a.forwardRef(function(){return t})}].concat(u.providers)}]}],t.ctorParameters=function(){return[{type:a.ElementRef,decorators:[{type:i.Inject,args:[a.ElementRef]}]},{type:a.Injector,decorators:[{type:i.Inject,args:[a.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:a.Optional}]}]},t}(o.ReportViewer),e("WjReportViewer",g),e("wjPdfViewerMeta",p={selector:"wj-pdf-viewer",template:"",inputs:["asyncBindings","wjModelProperty","serviceUrl","filePath","fullScreen","zoomFactor","mouseMode","selectMouseMode","viewMode"],outputs:["initialized","pageIndexChangedNg: pageIndexChanged","viewModeChangedNg: viewModeChanged","viewModeChangePC: viewModeChange","mouseModeChangedNg: mouseModeChanged","mouseModeChangePC: mouseModeChange","selectMouseModeChangedNg: selectMouseModeChanged","selectMouseModeChangePC: selectMouseModeChange","fullScreenChangedNg: fullScreenChanged","fullScreenChangePC: fullScreenChange","zoomFactorChangedNg: zoomFactorChanged","zoomFactorChangePC: zoomFactorChange","queryLoadingDataNg: queryLoadingData"],providers:[{provide:d.NG_VALUE_ACCESSOR,useFactory:c.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),l=function(e){function t(t,o,n){var r=e.call(this,c.WjDirectiveBehavior.getHostElement(t,o))||this;r.isInitialized=!1;r._wjBehaviour=c.WjDirectiveBehavior.attach(r,t,o,n);return r.created(),r}return M(t,e),t.prototype.created=function(){},t.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},t.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},t.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},t.prototype.addEventListener=function(t,o,n,r){var a=this;void 0===r&&(r=!1);var i=c.WjDirectiveBehavior,s=i.ngZone;s&&i.outsideZoneEvents[o]?s.runOutsideAngular(function(){e.prototype.addEventListener.call(a,t,o,n,r)}):e.prototype.addEventListener.call(this,t,o,n,r)},t.prototype.onSelectMouseModeChanged=function(e){(this.selectMouseModeChanged._handlers.length>1||this.selectMouseModeChangedNg.observers.length>0)&&n._deprecated("selectMouseModeChanged","mouseModeChanged"),this.selectMouseModeChanged.raise(this,e)},t.meta={outputs:p.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],selectMouseModeChanged:["selectMouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"]}},t.decorators=[{type:r.Component,args:[{selector:p.selector,template:p.template,inputs:p.inputs,outputs:p.outputs,providers:[{provide:"WjComponent",useExisting:a.forwardRef(function(){return t})}].concat(p.providers)}]}],t.ctorParameters=function(){return[{type:a.ElementRef,decorators:[{type:i.Inject,args:[a.ElementRef]}]},{type:a.Injector,decorators:[{type:i.Inject,args:[a.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:a.Optional}]}]},t}(o.PdfViewer),e("WjPdfViewer",l),h=[g,l],C=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[c.WjDirectiveBaseModule,s.CommonModule],declarations:h.slice(),exports:h.slice()}]}],e.ctorParameters=function(){return[]},e}(),e("WjViewerModule",C)}}});