import { defineComponent as _, toRefs as f, openBlock as t, createElementBlock as n, Fragment as r, renderList as c, unref as a, createElementVNode as e, normalizeStyle as h, createTextVNode as i, toDisplayString as o } from "vue";
const y = { class: "com_16" }, g = { class: "com_12" }, v = ["src"], k = {
  class: "com_12_2",
  style: {}
}, C = _({ name: "EComponent16" }), B = /* @__PURE__ */ _({
  ...C,
  props: {
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(u) {
    const d = u, { titleStyle: p, dataset: m } = f(d.chartConfig.option);
    return (S, x) => (t(), n("div", y, [
      (t(!0), n(r, null, c(a(m), (s) => (t(), n("div", g, [
        e("div", {
          class: "com_12_1",
          style: h({ ...a(p) })
        }, [
          e("img", {
            src: s.imgSrc,
            alt: ""
          }, null, 8, v),
          i(" " + o(s.key), 1)
        ], 4),
        e("div", k, [
          (t(!0), n(r, null, c(s.children, (l) => (t(), n("div", null, [
            e("span", null, o(l.key), 1),
            e("span", null, [
              i(o(l.value) + " ", 1),
              e("span", null, o(l.unit), 1)
            ])
          ]))), 256))
        ])
      ]))), 256))
    ]));
  }
});
export {
  B as default
};
