/*
    *
    * 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 wjcChartFinance=require("wijmo/wijmo.chart.finance"),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.wjFinancialChartMeta={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:forms_1.NG_VALUE_ACCESSOR,useFactory:wijmo_angular2_directiveBase_1.WjValueAccessorFactory,multi:!0,deps:["WjComponent"]}]};class WjFinancialChart extends wjcChartFinance.FinancialChart{constructor(e,t,i){super(wijmo_angular2_directiveBase_1.WjDirectiveBehavior.getHostElement(e,t)),this.isInitialized=!1;this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}addEventListener(e,t,i,r=!1){let n=wijmo_angular2_directiveBase_1.WjDirectiveBehavior,a=n.ngZone;a&&n.outsideZoneEvents[t]?a.runOutsideAngular(()=>{super.addEventListener(e,t,i,r)}):super.addEventListener(e,t,i,r)}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}}WjFinancialChart.meta={outputs:exports.wjFinancialChartMeta.outputs,changeEvents:{selectionChanged:["selection"]}},WjFinancialChart.decorators=[{type:core_1.Component,args:[{selector:exports.wjFinancialChartMeta.selector,template:exports.wjFinancialChartMeta.template,inputs:exports.wjFinancialChartMeta.inputs,outputs:exports.wjFinancialChartMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjFinancialChart)},...exports.wjFinancialChartMeta.providers]}]}],WjFinancialChart.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.WjFinancialChart=WjFinancialChart,exports.wjFinancialChartSeriesMeta={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:[]};class WjFinancialChartSeries extends wjcChartFinance.FinancialSeries{constructor(e,t,i){super(),this.isInitialized=!1,this.wjProperty="series";this._wjBehaviour=wijmo_angular2_directiveBase_1.WjDirectiveBehavior.attach(this,e,t,i);this.created()}created(){}ngOnInit(){this._wjBehaviour.ngOnInit()}ngAfterViewInit(){this._wjBehaviour.ngAfterViewInit()}ngOnDestroy(){this._wjBehaviour.ngOnDestroy()}}WjFinancialChartSeries.meta={outputs:exports.wjFinancialChartSeriesMeta.outputs,changeEvents:{"chart.seriesVisibilityChanged":["visibility"]},siblingId:"series"},WjFinancialChartSeries.decorators=[{type:core_1.Component,args:[{selector:exports.wjFinancialChartSeriesMeta.selector,template:exports.wjFinancialChartSeriesMeta.template,inputs:exports.wjFinancialChartSeriesMeta.inputs,outputs:exports.wjFinancialChartSeriesMeta.outputs,providers:[{provide:"WjComponent",useExisting:core_2.forwardRef(()=>WjFinancialChartSeries)},...exports.wjFinancialChartSeriesMeta.providers]}]}],WjFinancialChartSeries.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.WjFinancialChartSeries=WjFinancialChartSeries;let moduleExports=[WjFinancialChart,WjFinancialChartSeries];class WjChartFinanceModule{}WjChartFinanceModule.decorators=[{type:core_1.NgModule,args:[{imports:[wijmo_angular2_directiveBase_1.WjDirectiveBaseModule,common_1.CommonModule],declarations:[...moduleExports],exports:[...moduleExports]}]}],WjChartFinanceModule.ctorParameters=(()=>[]),exports.WjChartFinanceModule=WjChartFinanceModule;