/*
    *
    * 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/
    *
    */
define(["require","exports","wijmo/wijmo.vue2.base","wijmo/wijmo.chart","wijmo/wijmo","wijmo/wijmo.vue2.chart","vue","vue"],function(e,t,i,o,r,n,s,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n||t;window.wijmo=window.wijmo||{},window.wijmo.vue2=window.wijmo.vue2||{},window.wijmo.vue2.chart=l,t.Vue=s.default||a,t.WjFlexChart=t.Vue.component("wj-flex-chart",{template:"<div><slot/></div>",props:i._getProps("wijmo.chart.FlexChart",["tooltipContent"]),mounted:function(){var e=new o.FlexChart(this.$el);this.$children.forEach(function(t){switch(t.$options.name){case"wj-flex-chart-series":var n=i._initialize(t,new o.Series);if(t.$el.style.cssText.length){var s={};t.$el.style.cssText.split(";").forEach(function(e){var t=e.split(":");2==t.length&&(s[t[0].trim()]=t[1].trim())}),n.style=s}e.series.push(n);break;case"wj-flex-chart-legend":var a=i._initialize(t,new o.Legend(null));e.legend=a;break;case"wj-flex-chart-axis":var l=i._initialize(t,new o.Axis);t.wjProperty?e[t.wjProperty]=l:e.axes.push(l)}r.removeChild(t.$el)}),this.tooltipContent&&(e.tooltip.content=this.tooltipContent),i._initialize(this,e)}}),t.WjFlexChartAxis=t.Vue.component("wj-flex-chart-axis",{template:"<div/>",props:i._getProps("wijmo.chart.Axis",["wjProperty"])}),t.WjFlexChartLegend=t.Vue.component("wj-flex-chart-legend",{template:"<div/>",props:i._getProps("wijmo.chart.Legend")}),t.WjFlexChartSeries=t.Vue.component("wj-flex-chart-series",{template:"<div/>",props:i._getProps("wijmo.chart.Series")})});