/*
    *
    * 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.finance","@angular/core","@angular/common","@angular/forms","wijmo/wijmo.angular2.directiveBase"],function(t,e){"use strict";var n,i,o,r,s,a,c,u,p,l,d,g,y,f=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 i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e&&e.id;return{setters:[function(t){n=t},function(t){i=t,o=t,r=t},function(t){s=t},function(t){a=t},function(t){c=t}],execute:function(){t("wjFinancialChartMeta",u={selector:"wj-financial-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"],outputs:["initialized","gotFocusNg: gotFocus","lostFocusNg: lostFocus","renderingNg: rendering","renderedNg: rendered","selectionChangedNg: selectionChanged","selectionChangePC: selectionChange","seriesVisibilityChangedNg: seriesVisibilityChanged"],providers:[{provide:a.NG_VALUE_ACCESSOR,useFactory:c.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]}),p=function(t){function e(e,n,i){var o=t.call(this,c.WjDirectiveBehavior.getHostElement(e,n))||this;o.isInitialized=!1;o._wjBehaviour=c.WjDirectiveBehavior.attach(o,e,n,i);return o.created(),o}return f(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,i,o){var r=this;void 0===o&&(o=!1);var s=c.WjDirectiveBehavior,a=s.ngZone;a&&s.outsideZoneEvents[n]?a.runOutsideAngular(function(){t.prototype.addEventListener.call(r,e,n,i,o)}):t.prototype.addEventListener.call(this,e,n,i,o)},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:u.outputs,changeEvents:{selectionChanged:["selection"]}},e.decorators=[{type:i.Component,args:[{selector:u.selector,template:u.template,inputs:u.inputs,outputs:u.outputs,providers:[{provide:"WjComponent",useExisting:o.forwardRef(function(){return e})}].concat(u.providers)}]}],e.ctorParameters=function(){return[{type:o.ElementRef,decorators:[{type:r.Inject,args:[o.ElementRef]}]},{type:o.Injector,decorators:[{type:r.Inject,args:[o.Injector]}]},{type:void 0,decorators:[{type:r.Inject,args:["WjComponent"]},{type:r.SkipSelf},{type:o.Optional}]}]},e}(n.FinancialChart),t("WjFinancialChart",p),t("wjFinancialChartSeriesMeta",l={selector:"wj-financial-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:[]}),d=function(t){function e(e,n,i){var o=t.call(this)||this;o.isInitialized=!1,o.wjProperty="series";o._wjBehaviour=c.WjDirectiveBehavior.attach(o,e,n,i);return o.created(),o}return f(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:l.outputs,changeEvents:{"chart.seriesVisibilityChanged":["visibility"]},siblingId:"series"},e.decorators=[{type:i.Component,args:[{selector:l.selector,template:l.template,inputs:l.inputs,outputs:l.outputs,providers:[{provide:"WjComponent",useExisting:o.forwardRef(function(){return e})}].concat(l.providers)}]}],e.ctorParameters=function(){return[{type:o.ElementRef,decorators:[{type:r.Inject,args:[o.ElementRef]}]},{type:o.Injector,decorators:[{type:r.Inject,args:[o.Injector]}]},{type:void 0,decorators:[{type:r.Inject,args:["WjComponent"]},{type:r.SkipSelf},{type:o.Optional}]}]},e}(n.FinancialSeries),t("WjFinancialChartSeries",d),g=[p,d],y=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{imports:[c.WjDirectiveBaseModule,s.CommonModule],declarations:g.slice(),exports:g.slice()}]}],t.ctorParameters=function(){return[]},t}(),t("WjChartFinanceModule",y)}}});