/*
    *
    * Wijmo Library 5.20182.500
    * 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/
    *
    */
import*as wjcGauge from"wijmo/wijmo.gauge";import{Component,NgModule}from"@angular/core";import{ElementRef,Injector,Optional,forwardRef}from"@angular/core";import{Inject,SkipSelf}from"@angular/core";import{CommonModule}from"@angular/common";import{NG_VALUE_ACCESSOR}from"@angular/forms";import{WjDirectiveBehavior,WjDirectiveBaseModule,WjValueAccessorFactory}from"wijmo/wijmo.angular2.directiveBase";export var 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","stackRanges","thumbSize","tickSpacing","getText","direction"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjLinearGauge extends wjcGauge.LinearGauge{constructor(e,t,a){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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=WjDirectiveBehavior,n=o.ngZone;n&&o.outsideZoneEvents[t]?n.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}};WjLinearGauge.meta={outputs:wjLinearGaugeMeta.outputs,changeEvents:{valueChanged:["value"]}},WjLinearGauge.decorators=[{type:Component,args:[{selector:wjLinearGaugeMeta.selector,template:wjLinearGaugeMeta.template,inputs:wjLinearGaugeMeta.inputs,outputs:wjLinearGaugeMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjLinearGauge)},...wjLinearGaugeMeta.providers]}]}],WjLinearGauge.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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","stackRanges","thumbSize","tickSpacing","getText","direction","target","good","bad"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjBulletGraph extends wjcGauge.BulletGraph{constructor(e,t,a){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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=WjDirectiveBehavior,n=o.ngZone;n&&o.outsideZoneEvents[t]?n.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}};WjBulletGraph.meta={outputs:wjBulletGraphMeta.outputs,changeEvents:{valueChanged:["value"]}},WjBulletGraph.decorators=[{type:Component,args:[{selector:wjBulletGraphMeta.selector,template:wjBulletGraphMeta.template,inputs:wjBulletGraphMeta.inputs,outputs:wjBulletGraphMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjBulletGraph)},...wjBulletGraphMeta.providers]}]}],WjBulletGraph.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var 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","stackRanges","thumbSize","tickSpacing","getText","autoScale","startAngle","sweepAngle"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","valueChangedNg: valueChanged","valueChangePC: valueChange"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjRadialGauge extends wjcGauge.RadialGauge{constructor(e,t,a){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1,this.wjModelProperty="value";this._wjBehaviour=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=WjDirectiveBehavior,n=o.ngZone;n&&o.outsideZoneEvents[t]?n.runOutsideAngular(()=>{super.addEventListener(e,t,a,r)}):super.addEventListener(e,t,a,r)}};WjRadialGauge.meta={outputs:wjRadialGaugeMeta.outputs,changeEvents:{valueChanged:["value"]}},WjRadialGauge.decorators=[{type:Component,args:[{selector:wjRadialGaugeMeta.selector,template:wjRadialGaugeMeta.template,inputs:wjRadialGaugeMeta.inputs,outputs:wjRadialGaugeMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjRadialGauge)},...wjRadialGaugeMeta.providers]}]}],WjRadialGauge.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);export var wjRangeMeta={selector:"wj-range",template:``,inputs:["wjProperty","color","min","max","name","thickness"],outputs:["initialized"],providers:[]};export class WjRange extends wjcGauge.Range{constructor(e,t,a){super(),this.isInitialized=!1,this.wjProperty="ranges";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,a);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjRange.meta={outputs:wjRangeMeta.outputs},WjRange.decorators=[{type:Component,args:[{selector:wjRangeMeta.selector,template:wjRangeMeta.template,inputs:wjRangeMeta.inputs,outputs:wjRangeMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjRange)},...wjRangeMeta.providers]}]}],WjRange.ctorParameters=(()=>[{type:ElementRef,decorators:[{type:Inject,args:[ElementRef]}]},{type:Injector,decorators:[{type:Inject,args:[Injector]}]},{type:void 0,decorators:[{type:Inject,args:["WjComponent"]},{type:SkipSelf},{type:Optional}]}]);let moduleExports=[WjLinearGauge,WjBulletGraph,WjRadialGauge,WjRange];export class WjGaugeModule{};WjGaugeModule.decorators=[{type:NgModule,args:[{imports:[WjDirectiveBaseModule,CommonModule],declarations:[...moduleExports],exports:[...moduleExports]}]}],WjGaugeModule.ctorParameters=(()=>[]);