import { defineComponent as r, useCssVars as C, unref as t, reactive as N, toRefs as I, openBlock as n, createElementBlock as c, createElementVNode as e, toDisplayString as i, Fragment as T, renderList as k, createVNode as l, createTextVNode as B, pushScopeId as V, popScopeId as j } from "vue";
import { NImage as E, NNumberAnimation as L } from "naive-ui";
const q = (o) => (V("data-v-917be213"), o = o(), j(), o), z = { class: "build" }, A = { class: "title" }, R = { class: "build_yulan" }, D = { class: "now_txt" }, F = { class: "now_t" }, O = /* @__PURE__ */ q(() => /* @__PURE__ */ e("div", { class: "now_bjt" }, null, -1)), G = { class: "now_nume" }, H = { class: "now_num" }, J = { class: "title2" }, K = r({ name: "EBoundingBox03" }), U = /* @__PURE__ */ r({
  ...K,
  props: {
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(o) {
    const d = o;
    C((S) => ({
      "04a05c5a": t(p),
      "80a8051c": t(u) + "px",
      "09e4512c": t(f) + "px",
      "8f8e2484": t(m) + "px",
      "8f6b2e82": t(x),
      "4220e842": t(b) + "px",
      "3ef30bc8": t(v) + "px",
      "5b320176": t(w) + "px"
    }));
    const a = N({
      datas: []
    }), {
      titleText: _,
      titleColor: p,
      titleSize: u,
      titleLeft: f,
      titleTop: m,
      titleText2: h,
      titleColor2: x,
      titleSize2: b,
      titleLeft2: v,
      titleTop2: w,
      datas: g
    } = I(d.chartConfig.option);
    return a.datas = g, (S, M) => (n(), c("div", z, [
      e("div", A, i(t(_)), 1),
      e("div", R, [
        (n(!0), c(T, null, k(a.datas, (s, y) => (n(), c("div", {
          key: y,
          class: "yulan_now"
        }, [
          l(t(E), {
            "object-fit": "fill",
            "preview-disabled": "",
            src: s.imgSrc,
            class: "bq"
          }, null, 8, ["src"]),
          e("div", D, [
            e("div", F, i(s.key), 1),
            O,
            e("div", G, [
              e("span", H, [
                l(t(L), {
                  ref_for: !0,
                  ref: "numberAnimationInstRef",
                  to: s.value
                }, null, 8, ["to"])
              ]),
              B("(" + i(s.unit) + ") ", 1)
            ])
          ])
        ]))), 128))
      ]),
      e("div", J, i(t(h)), 1)
    ]));
  }
});
export {
  U as default
};
