/*
    *
    * Wijmo Library 5.20173.409
    * 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/
    *
    */
var __extends=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)}}();define(["require","exports","wijmo/wijmo.viewer","wijmo/wijmo","@angular/core","@angular/core","@angular/core","@angular/common","@angular/forms","wijmo/wijmo.angular2.directiveBase"],function(e,t,o,n,r,a,i,s,d,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wjReportViewerMeta={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"]}]};var u=function(e){function o(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 __extends(o,e),o.prototype.created=function(){},o.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},o.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},o.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},o.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)},o.prototype.onSelectMouseModeChanged=function(e){(this.selectMouseModeChanged._handlers.length>1||this.selectMouseModeChangedNg.observers.length>0)&&n._deprecated("selectMouseModeChanged","mouseModeChanged"),this.selectMouseModeChanged.raise(this,e)},o.meta={outputs:t.wjReportViewerMeta.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],selectMouseModeChanged:["selectMouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"]}},o.decorators=[{type:r.Component,args:[{selector:t.wjReportViewerMeta.selector,template:t.wjReportViewerMeta.template,inputs:t.wjReportViewerMeta.inputs,outputs:t.wjReportViewerMeta.outputs,providers:[{provide:"WjComponent",useExisting:a.forwardRef(function(){return o})}].concat(t.wjReportViewerMeta.providers)}]}],o.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}]}]},o}(o.ReportViewer);t.WjReportViewer=u,t.wjPdfViewerMeta={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"]}]};var g=function(e){function o(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 __extends(o,e),o.prototype.created=function(){},o.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},o.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},o.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},o.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)},o.prototype.onSelectMouseModeChanged=function(e){(this.selectMouseModeChanged._handlers.length>1||this.selectMouseModeChangedNg.observers.length>0)&&n._deprecated("selectMouseModeChanged","mouseModeChanged"),this.selectMouseModeChanged.raise(this,e)},o.meta={outputs:t.wjPdfViewerMeta.outputs,changeEvents:{viewModeChanged:["viewMode"],mouseModeChanged:["mouseMode"],selectMouseModeChanged:["selectMouseMode"],fullScreenChanged:["fullScreen"],zoomFactorChanged:["zoomFactor"]}},o.decorators=[{type:r.Component,args:[{selector:t.wjPdfViewerMeta.selector,template:t.wjPdfViewerMeta.template,inputs:t.wjPdfViewerMeta.inputs,outputs:t.wjPdfViewerMeta.outputs,providers:[{provide:"WjComponent",useExisting:a.forwardRef(function(){return o})}].concat(t.wjPdfViewerMeta.providers)}]}],o.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}]}]},o}(o.PdfViewer);t.WjPdfViewer=g;var p=[u,g],l=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[c.WjDirectiveBaseModule,s.CommonModule],declarations:p.slice(),exports:p.slice()}]}],e.ctorParameters=function(){return[]},e}();t.WjViewerModule=l});