import{az as w,d as b,r as l,b as h,k as y,a as e,o as g,A as v,B as n,f as a,X as x,Y as A,Z as I,__tla as S}from"./index-92ad187a.js";import{_ as N,__tla as T}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as M,__tla as O}from"./dict-221f3e01.js";import{d as U,__tla as k}from"./formatTime-c7f253d6.js";let o,q=Promise.all([(()=>{try{return S}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{o=b({__name:"UserAddressList",props:{userId:{type:Number,required:!0}},setup(i){const{userId:_}=i,r=l(!0);l(0);const s=l([]),d=async()=>{r.value=!0;try{s.value=await(async p=>await w.get({url:"/member/address/list",params:p}))({userId:_})}finally{r.value=!1}};return h(()=>{d()}),(p,z)=>{const t=x,u=N,c=A,m=I;return y((g(),v(c,{data:e(s),stripe:!0,"show-overflow-tooltip":!0},{default:n(()=>[a(t,{label:"\u5730\u5740\u7F16\u53F7",align:"center",prop:"id",width:"150px"}),a(t,{label:"\u6536\u4EF6\u4EBA\u540D\u79F0",align:"center",prop:"name",width:"150px"}),a(t,{label:"\u624B\u673A\u53F7",align:"center",prop:"mobile",width:"150px"}),a(t,{label:"\u5730\u533A\u7F16\u7801",align:"center",prop:"areaId",width:"150px"}),a(t,{label:"\u6536\u4EF6\u8BE6\u7EC6\u5730\u5740",align:"center",prop:"detailAddress"}),a(t,{label:"\u662F\u5426\u9ED8\u8BA4",align:"center",prop:"defaultStatus",width:"150px"},{default:n(f=>[a(u,{type:e(M).COMMON_STATUS,value:Number(f.row.defaultStatus)},null,8,["type","value"])]),_:1}),a(t,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:e(U),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[m,e(r)]])}}})});export{o as _,q as __tla};
