Rebuilt dist/ and api release bundle, with the migration for catalog paging indexes. Fix Less build error: fade(@token, N%) on theme tokens failed in both user-app and user-app-v2 CustomerChoiceView; use alpha(), the project's token-aware helper. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2 lines
928 B
JavaScript
2 lines
928 B
JavaScript
import{d,bm as u,c as t,e as a,q as b,I as p,t as k,O as i,b as o,E as h,_ as m}from"./index-VWrANxEJ.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-db164dd4"]]);export{P};
|