/*
    *
    * 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/
    *
    */
System.register(["wijmo/wijmo.chart","@angular/core","@angular/common","@angular/forms","wijmo/wijmo.angular2.directiveBase"],function(t,e){"use strict";var n,o,r,i,a,s,p,c,u,l,d,g,y,f,j,h,v,m,w,I,C,O,b,B,x,_,P,W,D,E=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();e&&e.id;return{setters:[function(t){n=t},function(t){o=t,r=t,i=t},function(t){a=t},function(t){s=t},function(t){p=t}],execute:function(){t("wjFlexChartMeta",c={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:s.NG_VALUE_ACCESSOR,useFactory:p.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),u=function(t){function e(e,n,o){var r=t.call(this,p.WjDirectiveBehavior.getHostElement(e,n))||this;r.isInitialized=!1;r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.prototype.addEventListener=function(e,n,o,r){var i=this;void 0===r&&(r=!1);var a=p.WjDirectiveBehavior,s=a.ngZone;s&&a.outsideZoneEvents[n]?s.runOutsideAngular(function(){t.prototype.addEventListener.call(i,e,n,o,r)}):t.prototype.addEventListener.call(this,e,n,o,r)},Object.defineProperty(e.prototype,"tooltipContent",{get:function(){return this.tooltip.content},set:function(t){this.tooltip.content=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelContent",{get:function(){return this.dataLabel.content},set:function(t){this.dataLabel.content=t},enumerable:!0,configurable:!0}),e.meta={outputs:c.outputs,changeEvents:{selectionChanged:["selection"]}},e.decorators=[{type:o.Component,args:[{selector:c.selector,template:c.template,inputs:c.inputs,outputs:c.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(c.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.FlexChart),t("WjFlexChart",u),t("wjFlexPieMeta",l={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:s.NG_VALUE_ACCESSOR,useFactory:p.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),d=function(t){function e(e,n,o){var r=t.call(this,p.WjDirectiveBehavior.getHostElement(e,n))||this;r.isInitialized=!1;r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.prototype.addEventListener=function(e,n,o,r){var i=this;void 0===r&&(r=!1);var a=p.WjDirectiveBehavior,s=a.ngZone;s&&a.outsideZoneEvents[n]?s.runOutsideAngular(function(){t.prototype.addEventListener.call(i,e,n,o,r)}):t.prototype.addEventListener.call(this,e,n,o,r)},Object.defineProperty(e.prototype,"tooltipContent",{get:function(){return this.tooltip.content},set:function(t){this.tooltip.content=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelContent",{get:function(){return this.dataLabel.content},set:function(t){this.dataLabel.content=t},enumerable:!0,configurable:!0}),e.meta={outputs:l.outputs},e.decorators=[{type:o.Component,args:[{selector:l.selector,template:l.template,inputs:l.inputs,outputs:l.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(l.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.FlexPie),t("WjFlexPie",d),t("wjFlexChartAxisMeta",g={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:[]}),y=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="axes";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:g.outputs},e.decorators=[{type:o.Component,args:[{selector:g.selector,template:g.template,inputs:g.inputs,outputs:g.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(g.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.Axis),t("WjFlexChartAxis",y),t("wjFlexChartLegendMeta",f={selector:"wj-flex-chart-legend",template:"",inputs:["wjProperty","position","title","titleAlign"],outputs:["initialized"],providers:[]}),j=function(t){function e(e,n,o){var r=t.call(this,o)||this;r.isInitialized=!1,r.wjProperty="legend";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:f.outputs},e.decorators=[{type:o.Component,args:[{selector:f.selector,template:f.template,inputs:f.inputs,outputs:f.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(f.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.Legend),t("WjFlexChartLegend",j),t("wjFlexChartDataLabelMeta",h={selector:"wj-flex-chart-data-label",template:"",inputs:["wjProperty","content","border","offset","connectingLine","position"],outputs:["initialized","renderingNg: rendering"],providers:[]}),v=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="dataLabel";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:h.outputs},e.decorators=[{type:o.Component,args:[{selector:h.selector,template:h.template,inputs:h.inputs,outputs:h.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(h.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.DataLabel),t("WjFlexChartDataLabel",v),t("wjFlexPieDataLabelMeta",m={selector:"wj-flex-pie-data-label",template:"",inputs:["wjProperty","content","border","offset","connectingLine","position"],outputs:["initialized","renderingNg: rendering"],providers:[]}),w=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="dataLabel";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:m.outputs},e.decorators=[{type:o.Component,args:[{selector:m.selector,template:m.template,inputs:m.inputs,outputs:m.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(m.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.PieDataLabel),t("WjFlexPieDataLabel",w),t("wjFlexChartSeriesMeta",I={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:[]}),C=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="series";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:I.outputs,changeEvents:{"chart.seriesVisibilityChanged":["visibility"]},siblingId:"series"},e.decorators=[{type:o.Component,args:[{selector:I.selector,template:I.template,inputs:I.inputs,outputs:I.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(I.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.Series),t("WjFlexChartSeries",C),t("wjFlexChartLineMarkerMeta",O={selector:"wj-flex-line-marker",template:"",inputs:["wjProperty","isVisible","seriesIndex","horizontalPosition","content","verticalPosition","alignment","lines","interaction","dragLines","dragThreshold","dragContent"],outputs:["initialized","positionChangedNg: positionChanged"],providers:[]}),b=function(t){function e(e,n,o){var r=t.call(this,o)||this;r.isInitialized=!1;r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:O.outputs},e.decorators=[{type:o.Component,args:[{selector:O.selector,template:O.template,inputs:O.inputs,outputs:O.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(O.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.LineMarker),t("WjFlexChartLineMarker",b),t("wjFlexChartDataPointMeta",B={selector:"wj-flex-chart-data-point",template:"",inputs:["wjProperty","x","y"],outputs:["initialized"],providers:[]}),x=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:B.outputs},e.decorators=[{type:o.Component,args:[{selector:B.selector,template:B.template,inputs:B.inputs,outputs:B.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(B.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.DataPoint),t("WjFlexChartDataPoint",x),t("wjFlexChartPlotAreaMeta",_={selector:"wj-flex-chart-plot-area",template:"",inputs:["wjProperty","column","height","name","row","style","width"],outputs:["initialized"],providers:[]}),P=function(t){function e(e,n,o){var r=t.call(this)||this;r.isInitialized=!1,r.wjProperty="plotAreas";r._wjBehaviour=p.WjDirectiveBehavior.attach(r,e,n,o);return r.created(),r}return E(e,t),e.prototype.created=function(){},e.prototype.ngOnInit=function(){this._wjBehaviour.ngOnInit()},e.prototype.ngAfterViewInit=function(){this._wjBehaviour.ngAfterViewInit()},e.prototype.ngOnDestroy=function(){this._wjBehaviour.ngOnDestroy()},e.meta={outputs:_.outputs},e.decorators=[{type:o.Component,args:[{selector:_.selector,template:_.template,inputs:_.inputs,outputs:_.outputs,providers:[{provide:"WjComponent",useExisting:r.forwardRef(function(){return e})}].concat(_.providers)}]}],e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:i.Inject,args:[r.ElementRef]}]},{type:r.Injector,decorators:[{type:i.Inject,args:[r.Injector]}]},{type:void 0,decorators:[{type:i.Inject,args:["WjComponent"]},{type:i.SkipSelf},{type:r.Optional}]}]},e}(n.PlotArea),t("WjFlexChartPlotArea",P),W=[u,d,y,j,v,w,C,b,x,P],D=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[p.WjDirectiveBaseModule,a.CommonModule],declarations:W.slice(),exports:W.slice()}]}],t.ctorParameters=function(){return[]},t}(),t("WjChartModule",D)}}});