1import{_ as x}from"./I999Qh2S.js";import{_ as y}from"./B1zg3z67.js";import{_ as g}from"./BdfEg9ct.js";import{_ as k}from"./CdER0cnd.js";import{U as H,G as v,bI as N,M as P,N as o,n as b,O as w,Q as e,Y as t,a1 as s,P as B}from"./Ci6g-eB0.js";import"./Df426nxw.js";import"./D8E-hhQ-.js";import"./CZLjKBVg.js";import"./88opOQSr.js";import"./B6qm20rF.js";import"./CILfpplP.js";import"./DIvO-j6F.js";import"./BbJ9ZyAw.js";import"./qsZH30g8.js";import"./DFiYHsQf.js";import"./4fMeRWNS.js";import"./D10pCsjJ.js";import"./CXr8OnUU.js";import"./BWyeQrck.js";import"./pYfKLsWL.js";import"./5qhwe9s6.js";import"./C0rf3Msd.js";import"./-ETDWhHF.js";import"./NqF9XJFp.js";import"./CEZWCVLk.js";import"./4MfDcHYF.js";import"./kRIii9yh.js";import"./ChTZklv7.js";import"./V1Vrinhz.js";import"./Bz__PLK8.js";import"./DRcNMFbm.js";import"./B8O89WGI.js";import"./_yUrLBM9.js";const _t=H({__name:"purchased-history",async setup(M){let r,n;v({title:"Purchase History - Customer Center"});const{data:i,status:a,error:p,refresh:_}=([r,n]=N(()=>b("/api/customer-center/order-history",{lazy:!0},"$Hzm_K5Ht30")),r=await r,n(),r),c=s(()=>i.value?.result??[]),u=s(()=>i.value?.meta?.linked??!1),d=s(()=>a.value==="pending");return(O,m)=>{const l=x,f=y,C=g,h=k;return w(),P(h,{title:"Purchase History","nav-title":"Orders and History",group:"customer-center-orders"},{default:o(()=>[e(C,null,{header:o(()=>[...m[0]||(m[0]=[B("h3",{class:"text-base font-semibold text-secondary"},"Your orders",-1)])]),footer:o(()=>[e(f,{records:"orders"})]),default:o(()=>[e(l,{orders:t(c),linked:t(u),"is-loading":t(d),error:t(p),refresh:t(_)},null,8,["orders","linked","is-loading","error","refresh"])]),_:1})]),_:1})}}});
1export{_t as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.