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