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