import { FunnelChart } from 'echarts/charts';
import * as echarts from 'echarts/core';
import { commonEchartsComponents, defineComponent } from '../utils/comp-factory.js';

echarts.use([...commonEchartsComponents, FunnelChart]);
const funnelOption = (props) => {
    const { data } = props;
    return {
        series: data ? [{ type: 'funnel', data }] : undefined,
    };
};
var funnel = defineComponent(echarts, 'funnel', funnelOption);

export { funnel as default };
//# sourceMappingURL=funnel.js.map
