1import k from"./E684lmfX.js";import v from"./CR5qBJtQ.js";import C from"./CaGRamzn.js";import O from"./CX-0vcT6.js";import{aV as T,aX as V,ba as B,b2 as L,aP as n,b4 as s,aS as o,aT as l,b7 as d,aQ as f,aR as a,b8 as N,bc as c,aO as r,aU as u}from"./Cx0yNN-t.js";import"./hSZV-AEA.js";import"./CWSnhNOK.js";import"./DlSyj8Pv.js";import"./Dk76xUxT.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8af5329c-b6b2-44be-8bb0-ead4de2a7a8e",e._sentryDebugIdIdentifier="sentry-dbid-8af5329c-b6b2-44be-8bb0-ead4de2a7a8e")}catch{}const S={key:0,class:"space-y-6"},E={key:0,class:"space-y-4"},j={key:1,class:"space-y-4"},z={key:2,class:"space-y-4"},F={class:"bg-muted/50 rounded-lg p-4"},H={class:"text-sm text-muted-foreground whitespace-pre-wrap"},P={key:3,class:"space-y-4"},Q=T({__name:"OrderDetails",props:{order:{},expanded:{type:Boolean,default:!1},sections:{default:()=>["documents","lineItems","summary","metadata"]}},setup(e){const t=e,{t:m}=V(),_=B(t.expanded);L(()=>t.expanded,b=>{_.value=b});const p=c(()=>t.sections.includes("documents")),y=c(()=>t.sections.includes("lineItems")),h=c(()=>t.sections.includes("summary")),g=c(()=>t.order.documents&&t.order.documents.length>0),x=c(()=>t.order.lineItems&&t.order.lineItems.length>0);return(b,R)=>{const i=k,w=v,I=C,D=O;return r(),n("div",{class:N({"border-t border-border md:p-6":s(_)})},[s(_)?(r(),n("div",S,[s(p)&&s(g)?(r(),n("div",E,[o(i,{tag:"h4",class:"text-lg font-semibold"},{default:l(()=>[u(a(s(m)("orders.details.documents")),1)]),_:1}),o(w,{documents:e.order.documents||[],"order-id":e.order.id},null,8,["documents","order-id"])])):d("",!0),s(y)&&s(x)?(r(),n("div",j,[o(i,{tag:"h4",class:"text-lg font-semibold"},{default:l(()=>[u(a(s(m)("orders.details.items")),1)]),_:1}),o(I,{"line-items":e.order.lineItems||[],currency:e.order.currency},null,8,["line-items","currency"])])):d("",!0),e.order.customerComment?(r(),n("div",z,[o(i,{tag:"h4",class:"text-lg font-semibold"},{default:l(()=>[u(a(s(m)("orders.details.customerComment")),1)]),_:1}),f("div",F,[f("p",H,a(e.order.customerComment),1)])])):d("",!0),s(h)?(r(),n("div",P,[o(i,{tag:"h4",class:"text-lg font-semibold"},{default:l(()=>[u(a(s(m)("orders.details.summary")),1)]),_:1}),o(D,{order:e.order,"show-taxes":!0,"show-tracking":!0,"show-addresses":!0},null,8,["order"])])):d("",!0)])):d("",!0)],2)}}}),Y=Object.assign(Q,{__name:"OrderDetails"});export{Y as default}; 2//# sourceMappingURL=BY4ErO6D.js.map
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.