Files
tehran_tala/apps/user-app/dist/assets/CollectionView-BYD8y-Qv.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.4 KiB
JavaScript

import{d as f,o as v,x as g,c as s,p as e,z as u,M as y,g as d,h as _,i as t,F as C,r as P,I as k,b as x,f as b,B as h,V as B,C as V,_ as w}from"./index-A5mMuyrx.js";import{P as I}from"./PageBar-DywP6W8w.js";import{S as N}from"./SectionHead-kC2XiYoH.js";import{P as z}from"./ProductCard-DR1T6WVY.js";const F={class:"coll"},M={key:0,class:"coll__grid"},S={key:1,class:"coll__empty"},q=f({__name:"CollectionView",setup(E){const l=B(),o=d(!1),n=d([]),p=_(()=>l.query.page||"مجموعه"),c=_(()=>n.value.filter(i=>i.collections.some(a=>a.collectionId===l.params.id)));return v(async()=>{o.value=!0;try{n.value=await g.listProducts()}finally{o.value=!1}}),(i,a)=>{const m=h("container");return t(),s("div",F,[e(I,{title:p.value,"back-to":"search"},null,8,["title"]),e(y,{spinning:o.value,tip:"درحال دریافت اطلاعات"},{default:u(()=>[e(m,{class:"coll__body"},{default:u(()=>[e(N,{title:"محصولات این مجموعه",subtitle:"برای دیدن جزئیات، روی محصول ضربه بزنید"}),c.value.length?(t(),s("div",M,[(t(!0),s(C,null,P(c.value,r=>(t(),V(z,{key:r.id,value:r},null,8,["value"]))),128))])):o.value?b("",!0):(t(),s("section",S,[e(k,{icon:"vuesax-linear:box",size:"26"}),a[0]||(a[0]=x("p",null,"در این مجموعه محصولی ثبت نشده است.",-1))]))]),_:1})]),_:1},8,["spinning"])])}}}),$=w(q,[["__scopeId","data-v-d80f3c4b"]]);export{$ as default};