Files
tehran_taj/apps/user-app/dist/assets/PageBar-uwR8fLB1.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
928 B
JavaScript

import{d,bo as u,c as t,e as a,q as b,I as p,t as k,O as i,b as o,G as h,_ as m}from"./index-CcUem5HC.js";const f={class:"bar"},B={class:"bar__inner"},v={key:1,class:"bar__spacer","aria-hidden":"true"},g={class:"bar__title"},y={class:"bar__trailing"},I=d({__name:"PageBar",props:{title:{},back:{type:Boolean,default:!0},backTo:{}},setup(e){const r=e,s=h(),l=u();function _(){if(l.canGoBack){s.back();return}if(r.backTo){s.push({name:r.backTo});return}s.push({name:"home"})}return(n,c)=>(o(),t("header",f,[a("div",B,[e.back?(o(),t("button",{key:0,type:"button",class:"bar__btn","aria-label":"بازگشت",onClick:_},[b(p,{icon:"vuesax-linear:arrow-right-1",size:"20"})])):(o(),t("span",v)),a("h1",g,k(e.title),1),a("div",y,[i(n.$slots,"trailing",{},()=>[c[0]||(c[0]=a("span",{class:"bar__spacer","aria-hidden":"true"},null,-1))],!0)])]),i(n.$slots,"below",{},void 0,!0)]))}}),P=m(I,[["__scopeId","data-v-0aad3a48"]]);export{P};