import LineCharts from './components/line-charts';
import BarReverseCharts from './components/bar-reverse-charts';
import BarCharts from './components/bar-charts';
import GaugeCharts from './components/gauge-charts';
import GraphCharts from './components/graph-charts';
import TreeCharts from './components/tree-charts';
import LiquidFillCharts from './components/liquid-fill-charts';
import PieCharts from './components/pie-charts';
const components = {
    LineCharts,
    BarReverseCharts,
    BarCharts,
    GaugeCharts,
    GraphCharts,
    TreeCharts,
    LiquidFillCharts,
    PieCharts
};
const install = function(Vue, opts = {}) {
    if (install.installed) return;
    Object.keys(components).forEach(key => {
        Vue.component(key, components[key]);
    });
};
// auto install
if (typeof window !== 'undefined' && window.Vue) {
    install(window.Vue);
}

module.exports.default = module.exports = {
    ...components,
    install
}; // eslint-disable-line no-undef
