import { defineComponent as r, ref as t, createBlock as n, openBlock as a, mergeProps as p } from "vue";
import c from "../../../../../commons/components/ChartMap/index.vue.mjs";
const f = r({ name: "ShjMapScatter" }), l = /* @__PURE__ */ r({
  ...f,
  props: {
    option: {},
    sources: {},
    useEvents: {}
  },
  setup(u, { 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, i) => (a(), n(c, p({
      ref_key: "componentRef",
      ref: s,
      option: e.option,
      sources: e.sources,
      "use-events": e.useEvents
    }, e.$attrs), null, 16, ["option", "sources", "use-events"]));
  }
});
export {
  l as default
};
