/*
    *
    * Wijmo Library 5.20181.462
    * 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/
    *
    */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const wjcGauge=require("wijmo/wijmo.gauge"),core_1=require("@angular/core"),core_2=require("@angular/core"),core_3=require("@angular/core"),common_1=require("@angular/common"),forms_1=require("@angular/forms"),wijmo_angular2_directiveBase_1=require("wijmo/wijmo.angular2.directiveBase");exports.wjLinearGaugeMeta={selector:"wj-linear-gauge",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","value","min","max","origin","isReadOnly","step","format","thickness","hasShadow","isAnimated","showText","showTicks","showRanges","thumbSize","tickSpacing","getText","direction"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjLinearGauge extends wjcGauge.LinearGauge{constructor(e,t,a){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,a);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,a,r=!1){let o=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,i=o.ngZone;i&&o.outsideZoneEvents[t]?i.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}}WjLinearGauge.meta={outputs:exports.wjLinearGaugeMeta.outputs,changeEvents:{valueChanged:["value"]}},WjLinearGauge.decorators=[{type:core_1.Component,args:[{selector:exports.wjLinearGaugeMeta.selector,template:exports.wjLinearGaugeMeta.template,inputs:exports.wjLinearGaugeMeta.inputs,outputs:exports.wjLinearGaugeMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjLinearGauge)},...exports.wjLinearGaugeMeta.providers]}]}],WjLinearGauge.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjLinearGauge=WjLinearGauge,exports.wjBulletGraphMeta={selector:"wj-bullet-graph",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","value","min","max","origin","isReadOnly","step","format","thickness","hasShadow","isAnimated","showText","showTicks","showRanges","thumbSize","tickSpacing","getText","direction","target","good","bad"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjBulletGraph extends wjcGauge.BulletGraph{constructor(e,t,a){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,a);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,a,r=!1){let o=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,i=o.ngZone;i&&o.outsideZoneEvents[t]?i.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}}WjBulletGraph.meta={outputs:exports.wjBulletGraphMeta.outputs,changeEvents:{valueChanged:["value"]}},WjBulletGraph.decorators=[{type:core_1.Component,args:[{selector:exports.wjBulletGraphMeta.selector,template:exports.wjBulletGraphMeta.template,inputs:exports.wjBulletGraphMeta.inputs,outputs:exports.wjBulletGraphMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjBulletGraph)},...exports.wjBulletGraphMeta.providers]}]}],WjBulletGraph.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjBulletGraph=WjBulletGraph,exports.wjRadialGaugeMeta={selector:"wj-radial-gauge",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","value","min","max","origin","isReadOnly","step","format","thickness","hasShadow","isAnimated","showText","showTicks","showRanges","thumbSize","tickSpacing","getText","autoScale","startAngle","sweepAngle"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjRadialGauge extends wjcGauge.RadialGauge{constructor(e,t,a){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,a);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,a,r=!1){let o=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,i=o.ngZone;i&&o.outsideZoneEvents[t]?i.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}}WjRadialGauge.meta={outputs:exports.wjRadialGaugeMeta.outputs,changeEvents:{valueChanged:["value"]}},WjRadialGauge.decorators=[{type:core_1.Component,args:[{selector:exports.wjRadialGaugeMeta.selector,template:exports.wjRadialGaugeMeta.template,inputs:exports.wjRadialGaugeMeta.inputs,outputs:exports.wjRadialGaugeMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjRadialGauge)},...exports.wjRadialGaugeMeta.providers]}]}],WjRadialGauge.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjRadialGauge=WjRadialGauge,exports.wjRangeMeta={selector:"wj-range",template:``,inputs:["wjProperty","color","min","max","name","thickness"],outputs:["initialized"],providers:[]};class WjRange extends wjcGauge.Range{constructor(e,t,a){super(),this.isInitialized=!1,this.wjProperty="ranges";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,a);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}}WjRange.meta={outputs:exports.wjRangeMeta.outputs},WjRange.decorators=[{type:core_1.Component,args:[{selector:exports.wjRangeMeta.selector,template:exports.wjRangeMeta.template,inputs:exports.wjRangeMeta.inputs,outputs:exports.wjRangeMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjRange)},...exports.wjRangeMeta.providers]}]}],WjRange.ctorParameters=(()=>[{type:core_2.ElementRef,decorators:[{type:core_3.Inject,args:[core_2.ElementRef]}]},{type:core_2.Injector,decorators:[{type:core_3.Inject,args:[core_2.Injector]}]},{type:void 0,decorators:[{type:core_3.Inject,args:["WjComponent"]},{type:core_3.SkipSelf},{type:core_2.Optional}]}]),exports.WjRange=WjRange;let moduleExports=[WjLinearGauge,WjBulletGraph,WjRadialGauge,WjRange];class WjGaugeModule{}WjGaugeModule.decorators=[{type:core_1.NgModule,args:[{imports:[wijmo_angular2_directiveBase_1.WjDirectiveBaseModule,common_1.CommonModule],declarations:[...moduleExports],exports:[...moduleExports]}]}],WjGaugeModule.ctorParameters=(()=>[]),exports.WjGaugeModule=WjGaugeModule;