/*
    *
    * 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/
    *
    */
import*as wjcChart from"wijmo/wijmo.chart";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 wjFlexChartMeta={selector:"wj-flex-chart",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjModelProperty","isDisabled","binding","footer","header","selectionMode","palette","plotMargin","footerStyle","headerStyle","tooltipContent","itemsSource","bindingX","interpolateNulls","legendToggle","symbolSize","options","selection","itemFormatter","labelContent","chartType","rotated","stacking"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","renderingNg: rendering","renderedNg: rendered","selectionChangedNg: selectionChanged","selectionChangePC: selectionChange","seriesVisibilityChangedNg: seriesVisibilityChanged"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjFlexChart extends wjcChart.FlexChart{constructor(e,t,r){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,r,a=!1){let i=WjDirectiveBehavior,o=i.ngZone;o&&i.outsideZoneEvents[t]?o.runOutsideAngular(()=>{super.addEventListener(e,t,r,a)}):super.addEventListener(e,t,r,a)}get tooltipContent(){return this.tooltip.content}set tooltipContent(e){this.tooltip.content=e}get labelContent(){return this.dataLabel.content}set labelContent(e){this.dataLabel.content=e}};WjFlexChart.meta={outputs:wjFlexChartMeta.outputs,changeEvents:{selectionChanged:["selection"]}},WjFlexChart.decorators=[{type:Component,args:[{selector:wjFlexChartMeta.selector,template:wjFlexChartMeta.template,inputs:wjFlexChartMeta.inputs,outputs:wjFlexChartMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChart)},...wjFlexChartMeta.providers]}]}],WjFlexChart.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 wjFlexPieMeta={selector:"wj-flex-pie",template:`<div><ng-content></ng-content></div>`,inputs:["wjModelProperty","isDisabled","binding","footer","header","selectionMode","palette","plotMargin","footerStyle","headerStyle","tooltipContent","itemsSource","bindingName","innerRadius","isAnimated","offset","reversed","startAngle","selectedItemPosition","selectedItemOffset","itemFormatter","labelContent"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","renderingNg: rendering","renderedNg: rendered","selectionChangedNg: selectionChanged"],providers:[{provide:NG_VALUE_ACCESSOR,useFactory:WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};export class WjFlexPie extends wjcChart.FlexPie{constructor(e,t,r){super(WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,r,a=!1){let i=WjDirectiveBehavior,o=i.ngZone;o&&i.outsideZoneEvents[t]?o.runOutsideAngular(()=>{super.addEventListener(e,t,r,a)}):super.addEventListener(e,t,r,a)}get tooltipContent(){return this.tooltip.content}set tooltipContent(e){this.tooltip.content=e}get labelContent(){return this.dataLabel.content}set labelContent(e){this.dataLabel.content=e}};WjFlexPie.meta={outputs:wjFlexPieMeta.outputs},WjFlexPie.decorators=[{type:Component,args:[{selector:wjFlexPieMeta.selector,template:wjFlexPieMeta.template,inputs:wjFlexPieMeta.inputs,outputs:wjFlexPieMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexPie)},...wjFlexPieMeta.providers]}]}],WjFlexPie.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 wjFlexChartAxisMeta={selector:"wj-flex-chart-axis",template:``,inputs:["wjProperty","axisLine","format","labels","majorGrid","majorTickMarks","majorUnit","max","min","position","reversed","title","labelAngle","minorGrid","minorTickMarks","minorUnit","origin","logBase","plotArea","labelAlign","name","overlappingLabels","labelPadding","itemFormatter","itemsSource","binding"],outputs:["initialized","rangeChangedNg: rangeChanged"],providers:[]};export class WjFlexChartAxis extends wjcChart.Axis{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="axes";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartAxis.meta={outputs:wjFlexChartAxisMeta.outputs},WjFlexChartAxis.decorators=[{type:Component,args:[{selector:wjFlexChartAxisMeta.selector,template:wjFlexChartAxisMeta.template,inputs:wjFlexChartAxisMeta.inputs,outputs:wjFlexChartAxisMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartAxis)},...wjFlexChartAxisMeta.providers]}]}],WjFlexChartAxis.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 wjFlexChartLegendMeta={selector:"wj-flex-chart-legend",template:``,inputs:["wjProperty","position","title","titleAlign"],outputs:["initialized"],providers:[]};export class WjFlexChartLegend extends wjcChart.Legend{constructor(e,t,r){super(r),this.isInitialized=!1,this.wjProperty="legend";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartLegend.meta={outputs:wjFlexChartLegendMeta.outputs},WjFlexChartLegend.decorators=[{type:Component,args:[{selector:wjFlexChartLegendMeta.selector,template:wjFlexChartLegendMeta.template,inputs:wjFlexChartLegendMeta.inputs,outputs:wjFlexChartLegendMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartLegend)},...wjFlexChartLegendMeta.providers]}]}],WjFlexChartLegend.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 wjFlexChartDataLabelMeta={selector:"wj-flex-chart-data-label",template:``,inputs:["wjProperty","content","border","offset","connectingLine","position"],outputs:["initialized","renderingNg: rendering"],providers:[]};export class WjFlexChartDataLabel extends wjcChart.DataLabel{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="dataLabel";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartDataLabel.meta={outputs:wjFlexChartDataLabelMeta.outputs},WjFlexChartDataLabel.decorators=[{type:Component,args:[{selector:wjFlexChartDataLabelMeta.selector,template:wjFlexChartDataLabelMeta.template,inputs:wjFlexChartDataLabelMeta.inputs,outputs:wjFlexChartDataLabelMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartDataLabel)},...wjFlexChartDataLabelMeta.providers]}]}],WjFlexChartDataLabel.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 wjFlexPieDataLabelMeta={selector:"wj-flex-pie-data-label",template:``,inputs:["wjProperty","content","border","offset","connectingLine","position"],outputs:["initialized","renderingNg: rendering"],providers:[]};export class WjFlexPieDataLabel extends wjcChart.PieDataLabel{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="dataLabel";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexPieDataLabel.meta={outputs:wjFlexPieDataLabelMeta.outputs},WjFlexPieDataLabel.decorators=[{type:Component,args:[{selector:wjFlexPieDataLabelMeta.selector,template:wjFlexPieDataLabelMeta.template,inputs:wjFlexPieDataLabelMeta.inputs,outputs:wjFlexPieDataLabelMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexPieDataLabel)},...wjFlexPieDataLabelMeta.providers]}]}],WjFlexPieDataLabel.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 wjFlexChartSeriesMeta={selector:"wj-flex-chart-series",template:`<div><ng-content></ng-content></div>`,inputs:["asyncBindings","wjProperty","axisX","axisY","binding","bindingX","cssClass","name","style","altStyle","symbolMarker","symbolSize","symbolStyle","visibility","itemsSource","chartType"],outputs:["initialized","renderingNg: rendering","renderedNg: rendered","visibilityChangePC: visibilityChange"],providers:[]};export class WjFlexChartSeries extends wjcChart.Series{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="series";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartSeries.meta={outputs:wjFlexChartSeriesMeta.outputs,changeEvents:{"chart.seriesVisibilityChanged":["visibility"]},siblingId:"series"},WjFlexChartSeries.decorators=[{type:Component,args:[{selector:wjFlexChartSeriesMeta.selector,template:wjFlexChartSeriesMeta.template,inputs:wjFlexChartSeriesMeta.inputs,outputs:wjFlexChartSeriesMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartSeries)},...wjFlexChartSeriesMeta.providers]}]}],WjFlexChartSeries.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 wjFlexChartLineMarkerMeta={selector:"wj-flex-line-marker",template:``,inputs:["wjProperty","isVisible","seriesIndex","horizontalPosition","content","verticalPosition","alignment","lines","interaction","dragLines","dragThreshold","dragContent"],outputs:["initialized","positionChangedNg: positionChanged"],providers:[]};export class WjFlexChartLineMarker extends wjcChart.LineMarker{constructor(e,t,r){super(r),this.isInitialized=!1;this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartLineMarker.meta={outputs:wjFlexChartLineMarkerMeta.outputs},WjFlexChartLineMarker.decorators=[{type:Component,args:[{selector:wjFlexChartLineMarkerMeta.selector,template:wjFlexChartLineMarkerMeta.template,inputs:wjFlexChartLineMarkerMeta.inputs,outputs:wjFlexChartLineMarkerMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartLineMarker)},...wjFlexChartLineMarkerMeta.providers]}]}],WjFlexChartLineMarker.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 wjFlexChartDataPointMeta={selector:"wj-flex-chart-data-point",template:``,inputs:["wjProperty","x","y"],outputs:["initialized"],providers:[]};export class WjFlexChartDataPoint extends wjcChart.DataPoint{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartDataPoint.meta={outputs:wjFlexChartDataPointMeta.outputs},WjFlexChartDataPoint.decorators=[{type:Component,args:[{selector:wjFlexChartDataPointMeta.selector,template:wjFlexChartDataPointMeta.template,inputs:wjFlexChartDataPointMeta.inputs,outputs:wjFlexChartDataPointMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartDataPoint)},...wjFlexChartDataPointMeta.providers]}]}],WjFlexChartDataPoint.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 wjFlexChartPlotAreaMeta={selector:"wj-flex-chart-plot-area",template:``,inputs:["wjProperty","column","height","name","row","style","width"],outputs:["initialized"],providers:[]};export class WjFlexChartPlotArea extends wjcChart.PlotArea{constructor(e,t,r){super(),this.isInitialized=!1,this.wjProperty="plotAreas";this._wjBehaviour=WjDirectiveBehavior.attach(this,e,t,r);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}};WjFlexChartPlotArea.meta={outputs:wjFlexChartPlotAreaMeta.outputs},WjFlexChartPlotArea.decorators=[{type:Component,args:[{selector:wjFlexChartPlotAreaMeta.selector,template:wjFlexChartPlotAreaMeta.template,inputs:wjFlexChartPlotAreaMeta.inputs,outputs:wjFlexChartPlotAreaMeta.outputs,providers:[{provide:"WjComponent",useExisting:forwardRef(()=>WjFlexChartPlotArea)},...wjFlexChartPlotAreaMeta.providers]}]}],WjFlexChartPlotArea.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=[WjFlexChart,WjFlexPie,WjFlexChartAxis,WjFlexChartLegend,WjFlexChartDataLabel,WjFlexPieDataLabel,WjFlexChartSeries,WjFlexChartLineMarker,WjFlexChartDataPoint,WjFlexChartPlotArea];export class WjChartModule{};WjChartModule.decorators=[{type:NgModule,args:[{imports:[WjDirectiveBaseModule,CommonModule],declarations:[...moduleExports],exports:[...moduleExports]}]}],WjChartModule.ctorParameters=(()=>[]);