import { defineComponent as o, computed as n, createBlock as c, openBlock as u } from "vue";
import a from "qrcode.vue";
import { upgradeQrcode as l } from "./version.mjs";
const t = o({ name: "ShjQrcode" }), i = /* @__PURE__ */ o({
  ...t,
  props: {
    option: {},
    sources: {},
    useEvents: {}
  },
  setup(r) {
    const e = n(() => l(r.option));
    return (d, s) => (u(), c(a, {
      value: e.value.config.value,
      class: "qrcode",
      level: e.value.config.level,
      background: e.value.config.background,
      foreground: e.value.config.foreground,
      "render-as": "svg"
    }, null, 8, ["value", "level", "background", "foreground"]));
  }
});
export {
  i as default
};
