Files
tehran_tala/apps/admin-panel/dist/assets/myData-Dyg3mt0s.js
T
s.esmaeiliandClaude Opus 5.5 1bc3739e78 Merge release/delivery (IAM single sign-on) into the triage work
Brings the four release/delivery commits (IAM SSO for the admin panel,
both apps and the API; IAM env in docker-compose) onto fix/issues-triage.

Conflicts:
- customer-auth.service.ts imports: both kept.
- both apps' api/client.ts: both kept (AccountingBalance/WageQuote, and
  iamAppUrl).
- all build output (admin-panel, user-app, user-app-v2 dist, and the api
  release bundle): rebuilt from the merged source instead of picking a
  side.

Fixed while verifying:
- The IAM change calls iam.browserBootstrapUrl after every login, but
  the identity-service stand-ins in three test files lacked it. 15 tests
  failed on release/delivery itself.
- SMS relay: SMS_RELAY_PLATFORM was read but never sent, so the gateway
  never got `platform` (documented body: phone, host, text, platform).
  relayConfig() now returns it ("default" → null) and the request carries
  it. sms.service.spec now passes.

All 249 API tests pass; the three front-ends type-check and build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 09:03:53 +03:30

2 lines
1.1 KiB
JavaScript

import{u as v}from"./auth-Cu4qHRNu.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-CVG99b4v.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};