1import{d as l,o as s,c as a,e,t as o,n as r}from"./DYb_uK4R.js";const m={class:"mt-8 bg-white p-6 rounded-lg shadow"},u={class:"text-lg font-semibold text-gray-900 mb-4"},g={key:0,class:"flex items-center justify-between"},h={class:"flex items-center"},y={class:"text-sm font-medium text-gray-900"},f={key:1,class:"animate-pulse"},p=l({name:"AccountOrderDetailPaymentMethodCard",__name:"PaymentMethodCard",props:{paymentMethod:{},paymentChangeable:{type:Boolean},statusTechnicalName:{},isLoading:{type:Boolean}},emits:["changeRequested"],setup(t,{emit:d}){const c=d;return(i,n)=>(s(),a("div",m,[e("h3",u,o(i.$t("account.orderDetails.paymentMethod")),1),t.isLoading?(s(),a("div",f,[...n[1]||(n[1]=[e("div",{class:"flex items-center justify-between"},[e("div",{class:"flex items-center"},[e("div",{class:"w-32 h-4 bg-gray-200 rounded"})]),e("div",{class:"w-24 h-8 bg-gray-200 rounded"})],-1)])])):(s(),a("div",g,[e("div",h,[e("div",null,[e("p",y,o(t.paymentMethod?.translated.name),1)])]),t.paymentChangeable&&t.statusTechnicalName==="open"?(s(),a("button",{key:0,class:"px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2",onClick:n[0]||(n[0]=b=>c("changeRequested"))},o(i.$t("account.orderDetails.change")),1)):r("",!0)]))]))}}),v=Object.assign(p,{__name:"AccountOrderDetailPaymentMethodCard"});export{v 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.