import { defineComponent as n, computed as o, openBlock as i, createElementBlock as l, createVNode as p, unref as r, normalizeStyle as s } from "vue";
import m from "../../../NComponents/echartsContainer/EchartsContainer.mjs";
const h = n({ name: "EHeatmap" }), y = /* @__PURE__ */ n({
  ...h,
  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), a = o(() => ({
      height: e.chartConfig.attr.h,
      width: e.chartConfig.attr.w
    }));
    return (u, f) => (i(), l("div", null, [
      p(m, {
        options: r(c),
        style: s(r(a)),
        theme: t.themeColor
      }, null, 8, ["options", "style", "theme"])
    ]));
  }
});
export {
  y as default
};
