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