import { defineComponent, useCssVars, unref, toRefs, openBlock, createElementBlock, createElementVNode, createVNode, pushScopeId, popScopeId } 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 _withScopeId = (n) => (pushScopeId("data-v-2f9c3b26"), n = n(), popScopeId(), n);
const _hoisted_1 = { class: "icons" };
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "left" }, null, -1));
const _hoisted_3 = { class: "right" };
const _hoisted_4 = { class: "title" };
const __default__ = defineComponent({ name: "EComponent02" });
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    chartConfig: {
      type: Object,
      required: true
    }
  },
  setup(__props) {
    const props = __props;
    useCssVars((_ctx) => ({
      "4dbdcf38": unref(width) + "px",
      "b802f208": unref(color)
    }));
    const { valueConfig, imageConfig, unitConfig, lineConfig } = toRefs(props.chartConfig.option);
    const { color, width, height } = toRefs(lineConfig.value);
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        _hoisted_2,
        createElementVNode("div", _hoisted_3, [
          createVNode(_sfc_main$1, {
            config: unref(imageConfig),
            type: "img",
            class: "aaa"
          }, null, 8, ["config"]),
          createElementVNode("div", _hoisted_4, [
            createVNode(_sfc_main$1, {
              config: unref(valueConfig),
              type: "number"
            }, null, 8, ["config"]),
            createVNode(_sfc_main$1, {
              config: unref(unitConfig),
              type: "text"
            }, null, 8, ["config"])
          ])
        ])
      ]);
    };
  }
});
var _EComponent02 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2f9c3b26"]]);
export { _EComponent02 as default };
