Files
tehran_taj/apps/admin-panel/dist/assets/myData-DgnGovvY.js
T
s.esmaeiliandClaude Haiku 5.5 6ccdbc06f0 build: release build of admin, user apps and api
Rebuilt dist/ and api release bundle, with the migration for catalog paging indexes.

Fix Less build error: fade(@token, N%) on theme tokens failed in both user-app
and user-app-v2 CustomerChoiceView; use alpha(), the project's token-aware helper.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-12 15:37:03 +03:30

2 lines
1.1 KiB
JavaScript

import{u as v}from"./auth-CMV0CrrG.js";import{d as h,v as x,x as y,a as b,w as t,l as g,r as u,o as w,c as s,f as l,t as c,p as i}from"./index-CfCEpnEw.js";const B=h({__name:"myData",setup(C){const d=v(),_=g(null),o=i(()=>_.value??d.user),p=i(()=>{var a,r;return(r=(a=o.value)==null?void 0:a.user_type)==null?void 0:r.title});return x(async()=>{try{const{data:a}=await y.get("admin/users/me");_.value=a}catch(a){console.log(a)}}),(a,r)=>{const n=u("a-descriptions-item"),m=u("a-descriptions"),f=u("a-card");return w(),b(f,{title:"اطلاعات کاربری"},{default:t(()=>[s(m,null,{default:t(()=>[s(n,{label:"نام"},{default:t(()=>{var e;return[l(c(((e=o.value)==null?void 0:e.fname)||"-"),1)]}),_:1}),s(n,{label:"نام خانوادگی"},{default:t(()=>{var e;return[l(c(((e=o.value)==null?void 0:e.lname)||"-"),1)]}),_:1}),s(n,{label:"شماره تلفن"},{default:t(()=>{var e;return[l(c(((e=o.value)==null?void 0:e.mobile)||"-"),1)]}),_:1}),s(n,{label:"نوع کاربری"},{default:t(()=>[l(c(p.value||"آنلاین"),1)]),_:1})]),_:1})]),_:1})}}});export{B as default};