Files
tehran_taj/apps/admin-panel/dist/assets/newsletters-DiDRe9Uh.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
949 B
JavaScript

import{a as l,b as t,X as c}from"./model-qEyXFzcU.js";import{d,a as i,w as a,r as m,o as _,c as p,p as f,t as u,h as w,m as b,_ as x}from"./index-D8Sl1lAu.js";import"./filters-DgXlZ4wf.js";import"./index-DBCPuYKo.js";import"./SettingOutlined-BVtVPkyH.js";function h(){const e=new l("admin/misc/newsletter/list","لیست خبرنامه");return e.add(new t("name","نام").filterKey("email").filterText()),e.add(new t("mobile","شماره موبایل").filterNumber()),e.add(new t("op","عملیات").noSort().renderSlot("actions")),e}const N={class:"muted"},X=d({__name:"newsletters",setup(e){const s=h(),o=b(null);return(k,y)=>{const r=m("a-card");return _(),i(r,{title:"لیست خبرنامه",class:"page-card"},{default:a(()=>[p(c,{ref_key:"newsletter",ref:o,model:w(s),"mobile-cards":""},{actions:a(({record:n})=>[f("span",N,u(n.email??"-"),1)]),_:1},8,["model"])]),_:1})}}}),v=x(X,[["__scopeId","data-v-c5c2159a"]]);export{v as default};