/* empty css              */import{d as l,c as r,o as p,a as c,b as s,u as m,m as g,f as n,t,F as h}from"./app-BidmlC59.js";const w={class:"page-wrapper"},b={class:"container"},u={class:"row"},_={"x-data":"",class:"col-12 d-flex align-items-center justify-content-between mt-5"},f={class:"col-12 mt-4"},v={id:"printSendSticker",style:{direction:"rtl"}},y={class:"table",style:{border:"2px solid #eaeef2",width:"100%","min-width":"initial"}},k={class:"text-start p-3"},C={class:"d-flex align-items-center justify-content-between mb-3"},S={style:{"font-size":"18px","font-weight":"bold"}},T=["src"],L={class:"d-inline-block me-3"},N={class:"d-inline-block me-3"},A={class:"d-inline-block"},H={class:"d-flex mt-3 w-100"},M={class:"ms-4"},B={style:{background:"white !important","border-top":"2px solid #eaeef2"},class:"text-start p-3",colspan:"2"},V={class:"mb-4",style:{"font-size":"18px","font-weight":"bold"}},j={class:"d-inline-block me-3"},z={class:"d-inline-block me-3"},D={class:"d-inline-block"},F={class:"d-flex mt-3 w-100"},P={class:"ms-4"},G=l({__name:"SendSticker",props:{orderId:{},address:{}},setup(E){const i=()=>{window.top.close()},a=e=>{let o=$(e).prop("outerHTML"),d=document.body.innerHTML;document.body.innerHTML=o,$("body").addClass("bg-white"),window.print(),document.body.innerHTML=d,$("body").removeClass("bg-white"),window.location.reload()};return(e,o)=>(p(),r(h,null,[c(m(g),{title:e.$t("messages.sentence.print_send_sticker")+" - "+e.$page.props.appName},null,8,["title"]),s("div",w,[s("div",b,[s("div",u,[s("div",_,[s("button",{onClick:o[0]||(o[0]=d=>a("#printSendSticker")),class:"btn btn-primary"},[n(t(e.$t("messages.word.print"))+" ",1),o[1]||(o[1]=s("i",{class:"ri-printer-line"},null,-1))]),s("div",{onClick:i,class:"link back-to"},[n(t(e.$t("messages.word.close"))+" ",1),o[2]||(o[2]=s("i",{class:"ri-arrow-left-s-fill"},null,-1))])]),s("div",f,[s("div",v,[s("table",y,[s("tbody",null,[s("tr",null,[s("td",k,[s("div",C,[s("div",S,t(e.$t("messages.word.sender"))+": "+t(e.$page.props.appName),1),s("img",{class:"me-4",src:e.$page.props.appLogo,alt:"logo",style:{width:"80px",height:"auto","max-height":"40px"}},null,8,T)]),s("div",null,[s("div",L,t(e.$t("messages.word.town"))+": "+t(e.$page.props.shopAddressTown),1),s("div",N,t(e.$t("messages.word.city"))+": "+t(e.$page.props.shopAddressCity),1),s("div",A,t(e.$t("messages.sentence.full_address"))+": "+t(e.$page.props.shopAddress),1)]),s("div",H,[s("span",null,t(e.$t("messages.word.postal_code"))+": "+t(e.$page.props.shopAddressPostalCode),1),s("span",M,t(e.$t("messages.word.telephone"))+": "+t(e.$page.props.supportPhone),1)])])]),s("tr",null,[s("td",B,[s("div",V,t(e.$t("messages.word.receiver"))+": "+t(e.address.first_name+" "+e.address.last_name),1),s("div",null,[s("div",j,t(e.$t("messages.word.town"))+": "+t(e.address.state),1),s("div",z,t(e.$t("messages.word.city"))+": "+t(e.address.city),1),s("div",D,t(e.$t("messages.sentence.full_address"))+": "+t(e.address.full_address),1)]),s("div",F,[s("span",null,t(e.$t("messages.word.postal_code"))+": "+t(e.address.postal_code),1),s("span",P,t(e.$t("messages.word.telephone"))+": "+t(e.address.phone),1)])])])])])])])])])])],64))}});export{G as default};
