1import{_ as l}from"./Alert-B8l1nT2N.js";import p from"./Order-D37twRKx.js";import{v as d,s as c,d as e,o as r,a as t,c as n,e as u,w as x,t as _,F as h,h as y}from"./app-CImSBo07.js";import"./Lettering-BVA_2a8h.js";import"./Order-BsyMgp_n.js";import"./DetailColumns-CwaUrjw8.js";import"./Currency-DVHloGaS.js";import"./Cart-ByiLmm5U.js";import"./AddToCart-CmWA1C0h.js";/* empty css */import"./Custom-DiUUe3QZ.js";import"./ConfirmationModal-J1Zq7SEI.js";import"./Modal-C8nJqEBB.js";import"./SecondaryButton-DlYnI03q.js";import"./User-IlBbYjBW.js";import"./Canvas-CqB00uFP.js";import"./Upload-CXeTqPN0.js";import"./Simple-CfeENTln.js";const f={class:""},g={class:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 lg:pb-24"},v={key:0},k={key:1},w={class:"mt-6"},b={class:"space-y-8"},G={__name:"Table",props:{orders:Array},setup(m){const o=d(()=>c().props?.searchQuery);console.log(o.value);const a=m;return(N,s)=>(r(),e("div",f,[t("div",g,[s[2]||(s[2]=t("div",{class:"max-w-xl"},[t("h1",{class:"text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl"},"Order history"),t("p",{class:"mt-2 text-sm text-gray-500"},"Check the status of recent orders, search order history, and download invoices.")],-1)),a.orders.length===0?(r(),n(l,{key:0,class:"mt-5",type:"warning"},{default:x(()=>[o.value?.length>0?(r(),e("span",v," No orders found for '"+_(o.value)+"' ",1)):(r(),e("span",k," No recent orders found. "))]),_:1})):u("",!0),t("div",w,[s[0]||(s[0]=t("hr",{class:"mb-2"},null,-1)),s[1]||(s[1]=t("h2",{class:"sr-only"},"Recent orders",-1)),t("div",b,[(r(!0),e(h,null,y(a.orders,i=>(r(),n(p,{key:i.OrderNumber,order:i},null,8,["order"]))),128))])])])]))}};export{G 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.