import { defineComponent as n, computed as o, openBlock as a, createElementBlock as l, createVNode as p, unref as r, normalizeStyle as s } from "vue";
import h from "../../../NComponents/echartsContainer/EchartsContainer.mjs";
const m = n({ name: "ETreeMap" }), y = /* @__PURE__ */ n({
  ...m,
  props: {
    themeColor: {
      type: Object,
      required: !1
    },
    themeSetting: {
      type: Object,
      required: !1
    },
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(t) {
    const e = t, c = o(() => e.chartConfig.option), i = o(() => ({
      height: e.chartConfig.attr.h,
      width: e.chartConfig.attr.w
    }));
    return (u, f) => (a(), l("div", null, [
      p(h, {
        options: r(c),
        style: s(r(i)),
        theme: t.themeColor
      }, null, 8, ["options", "style", "theme"])
    ]));
  }
});
export {
  y as default
};
