Files
tehran_taj/apps/user-app/dist/assets/RateStrip-Cu-pXRqJ.js
T
mahmoodandClaude Sonnet 5.5 5ddb225813 fix(ui): act-as strip no longer covers headers; customer type and slider permission
- apps: the fixed «در حال مشاهده به‌عنوان» strip (38px) sat over the fixed page
  headers, which still sat at top: 0 (the old 30px body padding was shorter than
  the strip too). The strip's height is now one variable, --aab-h, that the
  fixed headers (PageBar, home, dashboard, toasts) use as their top.
- admin: the customer form offers only «مغازه دار اپلیکیشن» to anyone but the
  super admin; bankers and walk-in shopkeepers are listed by super-admin-only
  endpoints, so ordinary admins lost the customers they created under them.
- admin: the mobile slider rid (custom.config.statics.slider) was only under the
  «سفارشی» branch, which the permission screen hides outside level 104. Same rid,
  now listed under «مدیریت ثابت ها». Display only: the slider routes are still
  gated by config.statics.

Rebuilds admin-panel, user-app and user-app-v2 dist.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 11:16:23 +03:30

2 lines
981 B
JavaScript

import{p as c,j as d}from"./filters-DIq6V4-2.js";import{d as _,b as s,c as a,f as l,e as r,S as u,t as i,m as n,g as m,i as v,_ as f}from"./index-CcUem5HC.js";const q={key:0,class:"rate-strip__value"},k={class:"rate-strip__num"},y={key:1,class:"rate-strip__value rate-strip__value--muted"},x={key:2,class:"rate-strip__time"},R=_({__name:"RateStrip",props:{quote:{}},setup(t){const o=t,p=v(()=>o.quote?o.quote.pricePerGramRial.split(".")[0]:"");return(S,e)=>(s(),a("div",{class:l(["rate-strip",{"is-empty":!t.quote}])},[e[1]||(e[1]=r("div",{class:"rate-strip__label"},[r("span",{class:"rate-strip__dot","aria-hidden":"true"}),u(" نرخ طلای ۱۸ عیار ")],-1)),t.quote?(s(),a("div",q,[r("span",k,i(n(c)(p.value)),1),e[0]||(e[0]=r("span",{class:"rate-strip__unit"},"ریال / گرم",-1))])):(s(),a("div",y,"در انتظار اعلام نرخ")),t.quote?(s(),a("div",x,i(n(d)(t.quote.quotedAt)),1)):m("",!0)],2))}}),N=f(R,[["__scopeId","data-v-38f94712"]]);export{N as R};