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>
2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
import{d as m,j as g,o as y,x as b,c as o,p as e,z as c,M as h,g as d,i as t,F as _,b as l,r as k,I as C,l as P,f as x,E as B,h as F,B as V,C as w,_ as S}from"./index-A5mMuyrx.js";import{P as I}from"./PageBar-DywP6W8w.js";import{S as N}from"./SectionHead-kC2XiYoH.js";import{P as $}from"./ProductCard-DR1T6WVY.js";const z={class:"favs"},E={class:"favs__grid"},M={key:1,class:"favs__empty"},R=m({__name:"FavoritesView",setup(j){const v=B(),f=g(),a=d(!1),i=d([]),n=F(()=>i.value.filter(u=>f.isFavorite(u.id)));return y(async()=>{a.value=!0;try{i.value=await b.listProducts()}finally{a.value=!1}}),(u,s)=>{const p=V("container");return t(),o("div",z,[e(I,{title:"علاقهمندی","back-to":"userPage::hasSubRoute"}),e(h,{spinning:a.value,tip:"در حال دریافت اطلاعات"},{default:c(()=>[e(p,{class:"favs__body"},{default:c(()=>[n.value.length?(t(),o(_,{key:0},[e(N,{title:"ذخیرهشدهها",subtitle:`${n.value.length} محصول`},null,8,["subtitle"]),l("div",E,[(t(!0),o(_,null,k(n.value,r=>(t(),w($,{key:r.id,value:r},null,8,["value"]))),128))])],64)):a.value?x("",!0):(t(),o("section",M,[e(C,{icon:"vuesax-linear:heart",size:"26"}),s[1]||(s[1]=l("p",null,"هنوز محصولی را به علاقهمندیها اضافه نکردهاید.",-1)),l("button",{type:"button",class:"favs__emptyCta",onClick:s[0]||(s[0]=r=>P(v).push({name:"home"}))}," دیدن محصولات ")]))]),_:1})]),_:1},8,["spinning"])])}}}),D=S(R,[["__scopeId","data-v-c69512ae"]]);export{D as default};
|