import{i as c,m as v,b as w,E as s,y,a as e,h as a,v as o,w as l,g as i,e as j,t as $,F as k,s as V}from"./index-DF5uCdwt.js";import{_ as B}from"./AdminLayout.vue_vue_type_script_setup_true_lang-DtHb-1yq.js";import{_ as f}from"./Button.vue_vue_type_script_setup_true_lang-CKPSvBok.js";import{_ as r}from"./Card.vue_vue_type_script_setup_true_lang-D4PxcbNb.js";import{_ as x}from"./Badge.vue_vue_type_script_setup_true_lang-Ciy8TpTM.js";import{_ as N,a as u,b as m,c as R}from"./TabPanel.vue_vue_type_script_setup_true_lang-CU8uqOaq.js";import"./cn-2dOUpm6k.js";const C={class:"grid lg:grid-cols-[300px_1fr] gap-5"},D={class:"text-center"},E={class:"w-20 h-20 rounded-full mx-auto bg-gradient-to-br from-[#fed7aa] to-[#c2410c] text-white text-3xl font-black grid place-items-center"},F={class:"text-xl font-extrabold mt-4 mb-1"},L={class:"text-[13px] text-[var(--wdot-fg-muted)] m-0 mb-4"},O={class:"flex justify-center gap-2 mb-5"},P={class:"grid grid-cols-1 gap-3 mt-3 pt-4 border-t border-[var(--wdot-border)]"},S={class:"flex justify-between text-[12.5px]"},I={class:"flex justify-between text-[12.5px]"},M={class:"flex justify-between text-[12.5px]"},T={class:"font-mono"},U={class:"flex justify-between text-[12.5px]"},q={class:"flex flex-col gap-3"},z={class:"flex-1"},A={class:"text-[13.5px] font-semibold"},G={class:"text-[11.5px] text-[var(--wdot-fg-muted)] mt-1"},et=c({__name:"MemberDetail",setup(H){const _=y().params.id,p=V("activity"),d={id:_,name:"박지원",email:"jiwon@studio.kr",phone:"010-2****-1129",plan:"PRO",status:"active",joined:"2024-08-12",ltv:1287e3,orders:12},b=[{time:"3분 전",action:"대시보드 접속",ip:"112.162.17.116"},{time:"어제 14:32",action:"결제 ₩99,000 완료",detail:"PRO 월간 갱신"},{time:"2일 전",action:"프로필 사진 변경",detail:"—"},{time:"5일 전",action:'"5월 행사" 페이지 발행',detail:"draft → published"}];return(K,t)=>(v(),w(B,null,{breadcrumb:s(()=>[t[1]||(t[1]=i("홈 · 회원 · ",-1)),e("b",null,o(d.name),1)]),title:s(()=>[i(o(d.name),1)]),actions:s(()=>[a(l(f),{variant:"outline"},{default:s(()=>[...t[2]||(t[2]=[i("📧 메일 보내기",-1)])]),_:1}),a(l(f),{variant:"outline"},{default:s(()=>[...t[3]||(t[3]=[i("🔒 계정 정지",-1)])]),_:1}),a(l(f),{variant:"primary"},{default:s(()=>[...t[4]||(t[4]=[i("편집",-1)])]),_:1})]),default:s(()=>[e("div",C,[a(l(r),null,{default:s(()=>[e("div",D,[e("span",E,o(d.name.slice(0,1)),1),e("h2",F,o(d.name),1),e("p",L,o(d.email),1),e("div",O,[a(l(x),{variant:"primary"},{default:s(()=>[i(o(d.plan),1)]),_:1}),a(l(x),{variant:"success",dot:""},{default:s(()=>[...t[5]||(t[5]=[i("활성",-1)])]),_:1})])]),e("div",P,[e("div",S,[t[6]||(t[6]=e("span",{class:"text-[var(--wdot-fg-muted)]"},"연락처",-1)),e("b",null,o(d.phone),1)]),e("div",I,[t[7]||(t[7]=e("span",{class:"text-[var(--wdot-fg-muted)]"},"가입일",-1)),e("b",null,o(d.joined),1)]),e("div",M,[t[8]||(t[8]=e("span",{class:"text-[var(--wdot-fg-muted)]"},"총 결제액",-1)),e("b",T,"₩"+o(d.ltv.toLocaleString()),1)]),e("div",U,[t[9]||(t[9]=e("span",{class:"text-[var(--wdot-fg-muted)]"},"주문 횟수",-1)),e("b",null,o(d.orders)+"회",1)])])]),_:1}),e("div",null,[a(l(R),{modelValue:p.value,"onUpdate:modelValue":t[0]||(t[0]=n=>p.value=n)},{default:s(()=>[a(l(N),null,{default:s(()=>[a(l(u),{value:"activity"},{default:s(()=>[...t[10]||(t[10]=[i("활동 로그",-1)])]),_:1}),a(l(u),{value:"orders"},{default:s(()=>[...t[11]||(t[11]=[i("주문 내역",-1)])]),_:1}),a(l(u),{value:"notes"},{default:s(()=>[...t[12]||(t[12]=[i("메모",-1)])]),_:1}),a(l(u),{value:"permissions"},{default:s(()=>[...t[13]||(t[13]=[i("권한",-1)])]),_:1})]),_:1}),a(l(m),{value:"activity"},{default:s(()=>[a(l(r),null,{default:s(()=>[e("div",q,[(v(),j(k,null,$(b,(n,g)=>e("div",{key:g,class:"flex items-start gap-3 py-3 border-b border-[var(--wdot-border)] last:border-b-0"},[t[14]||(t[14]=e("span",{class:"w-2 h-2 rounded-full bg-[var(--wdot-color-primary-500)] mt-2 flex-shrink-0"},null,-1)),e("div",z,[e("div",A,o(n.action),1),e("div",G,o(n.time)+" · "+o(n.detail??n.ip),1)])])),64))])]),_:1})]),_:1}),a(l(m),{value:"orders"},{default:s(()=>[a(l(r),null,{default:s(()=>[...t[15]||(t[15]=[e("div",{class:"py-8 text-center text-[var(--wdot-fg-muted)]"},"주문 내역이 여기 표시됩니다.",-1)])]),_:1})]),_:1}),a(l(m),{value:"notes"},{default:s(()=>[a(l(r),null,{default:s(()=>[...t[16]||(t[16]=[e("div",{class:"py-8 text-center text-[var(--wdot-fg-muted)]"},"관리자 메모가 여기 표시됩니다.",-1)])]),_:1})]),_:1}),a(l(m),{value:"permissions"},{default:s(()=>[a(l(r),null,{default:s(()=>[...t[17]||(t[17]=[e("div",{class:"py-8 text-center text-[var(--wdot-fg-muted)]"},"역할·권한 설정.",-1)])]),_:1})]),_:1})]),_:1},8,["modelValue"])])])]),_:1}))}});export{et as default};
