import { defineComponent, toRefs, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode } from "vue";
import _sfc_main$1 from "../../../NComponents/configCommon/refConfig.mjs";
import "./index.vue_vue_type_style_index_0_scoped_true_lang.mjs";
import _export_sfc from "../../../../_virtual/plugin-vue_export-helper.mjs";
const _hoisted_1 = { class: "com_20" };
const _hoisted_2 = { class: "com_20_1" };
const _hoisted_3 = { class: "com_20_2" };
const __default__ = defineComponent({ name: "EComponent20" });
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    chartConfig: {
      type: Object,
      required: true
    }
  },
  setup(__props) {
    const props = __props;
    const { titleConfig, imageConfig, unitConfig, valueConfig, boxBGC, bgConfig } = toRefs(props.chartConfig.option);
    return (_ctx, _cache) => {
      return openBlock(), createBlock(_sfc_main$1, {
        type: "bgImg",
        config: unref(bgConfig),
        class: "com_20_1"
      }, {
        default: withCtx(() => [
          createElementVNode("div", _hoisted_1, [
            createElementVNode("div", _hoisted_2, [
              createVNode(_sfc_main$1, {
                type: "img",
                config: unref(imageConfig),
                class: "img"
              }, null, 8, ["config"]),
              createVNode(_sfc_main$1, {
                type: "text",
                config: unref(titleConfig)
              }, null, 8, ["config"])
            ]),
            createElementVNode("div", _hoisted_3, [
              createVNode(_sfc_main$1, {
                type: "number",
                config: unref(valueConfig),
                class: "number"
              }, null, 8, ["config"]),
              createVNode(_sfc_main$1, {
                type: "text",
                config: unref(unitConfig)
              }, null, 8, ["config"])
            ])
          ])
        ]),
        _: 1
      }, 8, ["config"]);
    };
  }
});
var _EComponent20 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-23989055"]]);
export { _EComponent20 as default };
