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