import{d as y,Y as V,r as x,q as w,o as l,x as u,w as n,c as g,F as h,v as L,a as o,g as M,f as S,y as k,t as z,l as U,A as j,B as q,_ as A,__tla as B}from"./index-8dc1e40a.js";import{E as D,__tla as E}from"./el-avatar-cc250104.js";import{a as F,__tla as H}from"./index-facc3340.js";let c,N=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})()]).then(async()=>{let s;s={class:"flex items-center gap-x-8px"},c=A(y({name:"MemberLevelSelect",__name:"MemberLevelSelect",props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],setup(_,{emit:d}){const p=_,i=d,a=V({get:()=>p.modelValue,set(r){i("update:modelValue",r)}}),t=x([]);return w(()=>{(async()=>t.value=await F())()}),(r,m)=>{const f=D,v=j,b=q;return l(),u(b,{modelValue:o(a),"onUpdate:modelValue":m[0]||(m[0]=e=>U(a)?a.value=e:null),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u7B49\u7EA7",clearable:"",class:"!w-240px"},{default:n(()=>[(l(!0),g(h,null,L(o(t),e=>(l(),u(v,{key:e.id,label:e.name,value:e.id},{default:n(()=>[M("span",s,[S(f,{src:e.icon,size:"small"},null,8,["src"]),k(" "+z(e.name),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/member/level/components/MemberLevelSelect.vue"]])});export{N as __tla,c as default};
