Files
tehran_tala/apps/user-app/dist/assets/ProductCard-DR1T6WVY.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.6 KiB
JavaScript

import{d as P,j as z,k as F,q as D,i as s,c as t,b as a,l as e,w as B,p as v,I as f,m as I,e as N,f as h,t as n,g as S,D as V,h as q,_ as E}from"./index-A5mMuyrx.js";const j={class:"pc__art"},L=["alt"],M={key:1,class:"pc__artEmpty","aria-hidden":"true"},O=["aria-label"],$={key:2,class:"pc__flag"},A={key:3,class:"pc__flag pc__flag--soft"},G={class:"pc__body"},H={class:"pc__title"},J={class:"pc__meta"},K={class:"pc__weight"},Q={key:0,class:"pc__wage"},R=P({__name:"ProductCard",props:{value:{}},setup(m){const r=m,i=z(),{image:l,id:c,title:_,min_gram:g,wage:d,is_exist:y,qty:k,isPreOrder:w}=F(r.value),p=S(null);function x(){V(r.value,p.value)}const b=q(()=>{const o=d.value;return o==null?"":o%1===0?String(o):o.toFixed(2)});return(o,u)=>{const C=D("lazy");return s(),t("article",{ref_key:"root",ref:p,class:"pc","data-product-origin":"",onClick:x},[a("div",j,[e(l)?B((s(),t("img",{key:0,alt:e(_)},null,8,L)),[[C,e(l)]]):(s(),t("div",M,[v(f,{icon:"vuesax-linear:diamonds",size:"26"})])),a("button",{type:"button",class:N(["pc__fav",{"is-on":e(i).isFavorite(e(c))}]),"aria-label":e(i).isFavorite(e(c))?"حذف از علاقه‌مندی":"افزودن به علاقه‌مندی",onClick:u[0]||(u[0]=I(T=>e(i).toggle(e(c)),["stop"]))},[v(f,{icon:e(i).isFavorite(e(c))?"vuesax-linear:heart-fill":"vuesax-linear:heart",size:"16"},null,8,["icon"])],10,O),e(y)?e(w)&&e(k)===0?(s(),t("span",A,"پیش‌سفارش")):h("",!0):(s(),t("span",$,"ناموجود"))]),a("div",G,[a("h3",H,n(e(_)),1),a("div",J,[a("span",K,n(e(g))+" گرم",1),e(d)!=null?(s(),t("span",Q,"اجرت "+n(b.value)+"٪",1)):h("",!0)])])],512)}}}),W=E(R,[["__scopeId","data-v-233139a3"]]);export{W as P};