CustomerChoiceView, ChildOrdersView and ReportView bound their Drawer with v-model:open, which only exists from ant-design-vue 4. Both apps ship 3.2.20, so the drawer never opened: tapping a customer in «مشتریان من» did nothing and the "ورود به حساب این مشتری" button inside it was unreachable. Rebuilds user-app and user-app-v2 dist. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
import{d as u,b as i,c,f as r,e,_ as h,u as v,p as o,C as b,E as k,F as f,r as w,m as n,t as d,g as x,I as _,R as g}from"./index-CXfTuj1o.js";import{P as y}from"./PageBar-DANBpgdL.js";const C=u({__name:"ToggleSwitch",props:{on:{type:Boolean}},setup(p){return(a,l)=>(i(),c("span",{class:r(["tsw",{"is-on":p.on}]),"aria-hidden":"true"},[...l[0]||(l[0]=[e("span",{class:"tsw__knob"},null,-1)])],2))}}),B=h(C,[["__scopeId","data-v-a25f88d8"]]),T={class:"ap"},S={class:"ap__section"},V={class:"ap__themes",role:"radiogroup","aria-labelledby":"ap-theme"},I=["aria-checked","onClick"],L={class:"ap__themeLabel"},M={class:"ap__check","aria-hidden":"true"},z={key:0,class:"ap__note"},E={class:"ap__section"},N=["aria-checked"],$={class:"ap__rowIcon","aria-hidden":"true"},A=u({__name:"AppearanceView",setup(p){const a=v(),l=[{value:"light",label:"روشن",icon:"vuesax-linear:sun-1"},{value:"dark",label:"تیره",icon:"vuesax-linear:moon"},{value:"system",label:"مطابق سیستم",icon:"vuesax-linear:monitor-mobbile"}];return(P,s)=>{const m=k("container");return i(),c("div",T,[o(y,{title:"تنظیمات ظاهری","back-to":"userPage::hasSubRoute"}),o(m,{class:"ap__body"},{default:b(()=>[e("section",S,[s[2]||(s[2]=e("header",{class:"ap__head"},[e("h2",{id:"ap-theme",class:"ap__title"},"پوسته برنامه"),e("p",{class:"ap__sub"},"ظاهر روشن یا تیره، یا هماهنگ با تنظیمات گوشی شما")],-1)),e("div",V,[(i(),c(f,null,w(l,t=>e("button",{key:t.value,type:"button",role:"radio",class:r(["ap__theme",{"is-on":n(a).theme===t.value}]),"aria-checked":n(a).theme===t.value,onClick:R=>n(a).setTheme(t.value)},[e("span",{class:r(["ap__preview",`ap__preview--${t.value}`]),"aria-hidden":"true"},[...s[1]||(s[1]=[e("span",{class:"ap__pvBar"},null,-1),e("span",{class:"ap__pvCard"},null,-1),e("span",{class:"ap__pvLine"},null,-1),e("span",{class:"ap__pvLine ap__pvLine--short"},null,-1),e("span",{class:"ap__pvBtn"},null,-1)])],2),e("span",L,[o(_,{icon:t.icon,size:"15"},null,8,["icon"]),g(" "+d(t.label),1)]),e("span",M,[o(_,{icon:"vuesax-linear:tick-circle",size:"18"})])],10,I)),64))]),n(a).theme==="system"?(i(),c("p",z," الان "+d(n(a).resolvedTheme==="dark"?"تیره":"روشن")+" است، مطابق تنظیمات گوشی. ",1)):x("",!0)]),e("section",E,[s[4]||(s[4]=e("header",{class:"ap__head"},[e("h2",{class:"ap__title"},"انیمیشنها"),e("p",{class:"ap__sub"},"برای سرعت بیشتر روی گوشیهای ضعیفتر")],-1)),e("button",{type:"button",role:"switch",class:"ap__row","aria-checked":n(a).reduceMotion,onClick:s[0]||(s[0]=t=>n(a).setReduceMotion(!n(a).reduceMotion))},[e("span",$,[o(_,{icon:"vuesax-linear:flash",size:"18"})]),s[3]||(s[3]=e("span",{class:"ap__rowText"},[e("b",null,"حالت سبک و سریع"),e("small",null," حرکتهای سنگین، افکتهای شیشهای و اسلاید خودکار خاموش میشوند؛ بازخورد کوتاه لمسها و جابهجاییهای سریع باقی میمانند تا برنامه خشک و بیروح نشود. ")],-1)),o(B,{on:n(a).reduceMotion},null,8,["on"])],8,N)])]),_:1})])}}}),H=h(A,[["__scopeId","data-v-f5d35ecf"]]);export{H as default};
|