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