import { defineComponent as c, toRefs as a, openBlock as r, createElementBlock as p, createVNode as o, unref as n, createElementVNode as t } from "vue";
import e from "../../../NComponents/configCommon/refConfig.vue_vue_type_script_setup_true_lang.mjs";
const u = { class: "com_18" }, d = { class: "com_18_1" }, C = { class: "com_18_2" }, h = c({ name: "EComponent18" }), E = /* @__PURE__ */ c({
  ...h,
  props: {
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(i) {
    const s = i, { titleConfig: f, imageConfig: l, valueConfig: g, bgImgConfig: _, unitConfig: m } = a(s.chartConfig.option);
    return (y, b) => (r(), p("div", u, [
      o(e, {
        type: "img",
        config: n(_),
        class: "com_18_bg"
      }, null, 8, ["config"]),
      t("div", d, [
        o(e, {
          type: "number",
          config: n(g),
          class: "num"
        }, null, 8, ["config"]),
        o(e, {
          type: "text",
          config: n(m),
          class: "unit"
        }, null, 8, ["config"])
      ]),
      t("div", C, [
        o(e, {
          type: "img",
          config: n(l),
          class: "img"
        }, null, 8, ["config"]),
        o(e, {
          type: "text",
          config: n(f)
        }, null, 8, ["config"])
      ])
    ]));
  }
});
export {
  E as default
};
