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