1import{j as e,H as x}from"./app-Kls5WRdL.js";import{P as o}from"./pagination-DJoMJPd7.js";import{B as j}from"./button-B2Ue9nKv.js";import{C as d,c as h,d as f,a as n}from"./card-FsObhJFp.js";import{D as p,a as u,b as N,c as b,d as y,e as w}from"./scroll-area-DGKrFALP.js";import{T as v,a as C,b as m,c as r,d as T,e as l,f as g}from"./table-BgHpEMUB.js";import{_ as s,f as i}from"./toast-provider-B31Yf0DI.js";import{A as D}from"./app-layout-CVemF2P1.js";import{E as H}from"./eye-Dl1PbuHL.js";/* empty css */import"./index-B1mLQuam.js";import"./index-Dmpy5jNE.js";import"./index-9TX4buiG.js";import"./index-BdQq_4o_.js";import"./MobileBottomBar-D0DWz8b2.js";import"./price--BHpjDsg.js";import"./chevron-right-BqMNQB46.js";function Q({orders:c}){return e.jsxs(D,{title:s("orders"),children:[e.jsx(x,{title:s("orders")}),e.jsx("div",{className:"mx-auto my-5 px-5",children:e.jsxs(d,{children:[e.jsx(h,{children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsx(f,{children:s("orders")})})}),e.jsx(n,{children:e.jsxs(v,{children:[e.jsx(C,{children:e.jsxs(m,{children:[e.jsx(r,{className:"w-[100px] text-start",children:s("id")}),e.jsx(r,{className:"text-start",children:s("amount")}),e.jsx(r,{className:"text-start",children:s("status")}),e.jsx(r,{className:"text-start",children:s("delivered")}),e.jsx(r,{className:"text-start",children:s("details")})]})}),e.jsx(T,{children:c.data.map(a=>e.jsxs(m,{children:[e.jsx(l,{className:"font-medium",children:a.id}),e.jsx(l,{className:"text-right",children:s(":price price symbol",{price:i(a.price)})}),e.jsx(l,{className:"font-medium",children:a.status}),e.jsx(l,{className:"font-medium",children:a.delivered?s("yes"):s("no")}),e.jsx(l,{children:e.jsxs(p,{children:[e.jsx(u,{asChild:!0,children:e.jsx(j,{variant:"outline",size:"icon",children:e.jsx(H,{})})}),e.jsxs(N,{className:"max-w-md mx-auto h-full",children:[e.jsx(b,{className:"text-center",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("div",{className:""}),e.jsx("div",{className:"",children:e.jsx(y,{children:s("order details")})}),e.jsx(w,{className:"bg-accent rounded-full w-6 h-6",children:"x"})]})}),e.jsx("div",{className:"flex flex-col divide-y-2 px-5",children:a.items.map(t=>e.jsx(d,{className:"mb-2",children:e.jsxs(n,{className:"flex flex-col gap-2",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsx("span",{className:"text-sm font-bold",children:t.product.title})}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-bold text-foreground",children:s("quantity")}),e.jsx("span",{className:"text-sm font-bold",children:t.qty})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-bold text-foreground",children:s("price")}),e.jsxs("span",{className:"text-sm font-bold",children:[i(t.price)," ",s("price symbol")]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-bold text-foreground",children:s("sum price")}),e.jsxs("span",{className:"text-sm font-bold",children:[i(t.sumPrice)," ",s("price symbol")]})]})]})},t.id))})]})]})})]},a.id))}),e.jsx(g,{children:e.jsx(o,{links:c.links})})]})})]})})]})}export{Q 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.