import{_ as v}from"./myImg-B3XMH9SK.js";import{d as h,a as l,z as x,r as D,B as m,x as I,w as g,y,f as w,h as t,k as u,t as s,i as p,J as S,W as N,j as P,G as $,_ as b}from"./index-N7CMQwFv.js";import"./VRow-CGgRlzLk.js";/* empty css */import"./VCol-xRADuXqd.js";const C={class:"find-item-top"},F={class:"ml-5"},V={class:"d-flex align-center mt-5 flex-wrap"},B={class:"find-item-product-name d-flex align-center justify-space-between"},O={class:"item-name"},R={class:"find-item-text mt-5"},U={class:"find-item-text mt-3"},k={class:"find-item-text mt-3"},z={class:"find-item-text mt-3"},E={class:"find-item-text mt-3"},j={class:"find-item-service mt-6"},A=h({__name:"findProductOrderItem",props:{ItemData:{}},setup(_){const e=_,d=a=>{if(a===1)return{color:"#6777F8",text:"Pending"};if(a===2)return{color:"#78D73F",text:"Complete"}};l().$state.currentData;const f=x(()=>a=>{const i=localStorage.getItem("ChooseCurrency"),o=JSON.parse(i),n=l().$state.currentData,r=D(0),c=a||0;return n.currencyRate?(r.value=new m(c).times(n.currencyRate).toNumber().toFixed(2),`${n.name} ${r.value}`):o&&o.currencyRate?(r.value=new m(c).times(o.currencyRate).toNumber().toFixed(2),`${o.name} ${r.value}`):(r.value=new m(c).times(1).toNumber().toFixed(2),`$ ${r.value}`)});return(a,i)=>{const o=v;return w(),I(y,{class:"pa-5 mb-5"},{default:g(()=>[t("div",C,[u(" Item No.: "+s(e.ItemData.id)+" ",1),t("span",F,s(e.ItemData.addDate),1)]),t("div",V,[p(o,{src:e.ItemData.imageUrls[0],height:200,width:200,"no-compress":!0,"is-preview":!0,previewList:[e.ItemData.imageUrls]},null,8,["src","previewList"]),t("div",{class:S(["ml-5 find-item-right",e.ItemData.imageUrls[0]?"":"find-item-right2"])},[t("div",B,[t("div",O," Product Name: "+s(e.ItemData.title),1),t("div",{class:"item-status",style:N({"--status-color":d(e.ItemData.status).color})},s(d(e.ItemData.status).text),5)]),t("div",R," Expected Approach: "+s(e.ItemData.deliveryOption),1),t("div",U,"Expected Unit Price: "+s(P(f)(e.ItemData.minPrice)),1),t("div",k," Email: "+s(e.ItemData.email),1),t("div",z," What's App : "+s(e.ItemData.whatsapp),1),i[0]||(i[0]=t("div",{class:"find-item-text mt-3"}," Product Description/Product Requirements: ",-1)),t("div",E,s(e.ItemData.content),1)],2)]),t("div",j,[p($,{icon:"custom-customer-service-2-line mr-2"}),i[1]||(i[1]=u("Our staff will contact you through the contact information you provided "))])]),_:1})}}}),H=b(A,[["__scopeId","data-v-8542b9b8"]]);export{H as default};