import { defineComponent as r, ref as t, createBlock as n, openBlock as i, mergeProps as a } from "vue";
import u from "../../../../../commons/components/Chart/index.vue.mjs";
const p = r({ name: "ShjTreeLine" }), h = /* @__PURE__ */ r({
  ...p,
  props: {
    option: {},
    sources: {},
    useEvents: {}
  },
  setup(f, { expose: o }) {
    const s = t();
    return o({
      getEchartsInstance: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.getEchartsInstance();
      },
      refresh: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refresh();
      },
      refreshView: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refreshView();
      },
      refreshData: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refreshData();
      }
    }), (e, c) => (i(), n(u, a({
      ref_key: "componentRef",
      ref: s,
      option: e.option,
      sources: e.sources,
      "use-events": e.useEvents,
      "is-parse-other": !0,
      "is-multi-series": e.option.isMultiSeries
    }, e.$attrs), null, 16, ["option", "sources", "use-events", "is-multi-series"]));
  }
});
export {
  h as default
};
