<<<<<<<< HEAD:dist/assets/index-eee816c8.js
import{d as l,r as n,w as r,y as d,z as i,a as s}from"./index-4228b913.js";import{b as g}from"./browser-e949d08f.js";const f=""+new URL("smallLogo-517ff5bd.png",import.meta.url).href,m="_qrcode_1bxz6_1",u="_qrcodeCanvas_1bxz6_4",q="_qrcodeLogo_1bxz6_8",_="_small_1bxz6_22",e={qrcode:m,qrcodeCanvas:u,qrcodeLogo:q,small:_},v=l({props:{text:{type:String,default:""},size:{type:String,default:"200px"},logoSrc:{type:String,default:void 0},logoSize:{type:String,default:"default"}},setup(o){const t=n(),a=()=>{g.toCanvas(t.value,o.text,{margin:1},c=>{c&&console.log(c),console.log("success")})};return r(()=>o.text,()=>{a()}),d(()=>{i(()=>{a()})}),()=>s("div",{class:e.qrcode,style:{width:o.size,height:o.size}},[s("canvas",{ref:t,class:e.qrcodeCanvas},null),s("img",{src:o.logoSrc||f,class:[e.qrcodeLogo,o.logoSize==="small"&&e.small]},null)])}});export{v as M};
========
import{d as l,r as n,w as r,y as d,z as i,a as s}from"./index-c4313132.js";import{b as g}from"./browser-e949d08f.js";const f=""+new URL("smallLogo-517ff5bd.png",import.meta.url).href,m="_qrcode_1bxz6_1",u="_qrcodeCanvas_1bxz6_4",q="_qrcodeLogo_1bxz6_8",_="_small_1bxz6_22",e={qrcode:m,qrcodeCanvas:u,qrcodeLogo:q,small:_},v=l({props:{text:{type:String,default:""},size:{type:String,default:"200px"},logoSrc:{type:String,default:void 0},logoSize:{type:String,default:"default"}},setup(o){const t=n(),a=()=>{g.toCanvas(t.value,o.text,{margin:1},c=>{c&&console.log(c),console.log("success")})};return r(()=>o.text,()=>{a()}),d(()=>{i(()=>{a()})}),()=>s("div",{class:e.qrcode,style:{width:o.size,height:o.size}},[s("canvas",{ref:t,class:e.qrcodeCanvas},null),s("img",{src:o.logoSrc||f,class:[e.qrcodeLogo,o.logoSize==="small"&&e.small]},null)])}});export{v as M};
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-02769f6b.js
