1import{_ as H}from"./AppStepper-CEuIR75P.js";import{d as I,a4 as w,aK as N,aQ as T,_ as F,x as c,y as B,z as l,B as s,b4 as f,ar as t,au as d,aw as u,as as P,V as k,C as x,b8 as J,bg as K,ax as U,at as g,a3 as b,aB as _,aR as L,bd as z,aC as $,b3 as j,X as Q,a$ as C,ba as q,ae as G,aM as X}from"./same-chunk-name-CYm4I15d.js";import{_ as Z}from"./CustomRadiosWithIcon-fCKP05ui.js";import{_ as ee}from"./CustomRadios-CRVapW-C.js";import{V as D}from"./VChip-BTPUF2te.js";import{V as te,a as ae,c as se}from"./VList-djLbhS1f.js";import{V as E,a as R}from"./VAlert-DnyCob6F.js";import{V as le}from"./VRating-w5buqoDl.js";import{V as oe,a as O}from"./VTabs-Jh20DsvB.js";import{V as W}from"./VWindow-D213enri.js";import{V as A}from"./VWindowItem-MzEa1-ng.js";import{V as M}from"./VForm-CuAdX82E.js";import{V as re}from"./VTooltip-C5tA_Mlr.js";import{V as de}from"./VSwitch-9NycIGXQ.js";import"./VSlideGroupItem-By6qQow9.js";import"./VSlideGroup-B1cFjYZw.js";import"./VRadioGroup-BxUmnNCL.js";import"./VSelectionControl-CnpbgEHy.js";import"./ssrBoot-fxKZtGCb.js";const ne=I({__name:"Address",props:{currentStep:{type:Number,required:!1},checkoutData:{type:Object,required:!0}},emits:["update:currentStep","update:checkout-data"],setup(m,{expose:e,emit:v}){e();const a=m,p=v,i=w(a.checkoutData),n=[{icon:{icon:"tabler-user"},title:"Standard",desc:"Get your product in 1 Week.",value:"free"},{icon:{icon:"tabler-crown"},title:"Express",desc:"Get your product in 3-4 days.",value:"express"},{icon:{icon:"tabler-rocket"},title:"Overnight",desc:"Get your product in 1 day.",value:"overnight"}],o={home:"primary",office:"success"},r={free:{color:"success",price:"Free"},express:{color:"secondary",price:10},overnight:{color:"secondary",price:15}},S=N(()=>(i.value.deliveryCharges=0,i.value.deliverySpeed!=="free"&&(i.value.deliveryCharges=r[i.value.deliverySpeed].price),i.value.orderAmount+i.value.deliveryCharges)),y=()=>{p("update:checkout-data",i.value)},V=()=>{y(),p("update:currentStep",a.currentStep?a.currentStep+1:1)};T(()=>a.currentStep,y);const h={props:a,emit:p,checkoutAddressDataLocal:i,deliveryOptions:n,resolveAddressBadgeColor:o,resolveDeliveryBadgeData:r,totalPriceWithDeliveryCharges:S,updateAddressData:y,nextStep:V};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}}),ie={class:"w-100"},ue={class:"d-flex justify-space-between mb-3"},ce={class:"text-base font-weight-medium"},me={class:"mb-0 text-sm"},pe={class:"text-sm"},fe={class:"d-flex flex-column align-center gap-2 w-100"},ve={class:"d-flex justify-end w-100 mb-n3"},be={class:"text-base font-weight-medium"},ye={class:"text-sm text-center mb-0"},he={class:"font-weight-medium text-sm"},xe={class:"d-flex align-center justify-space-between mb-2"},ge={class:"d-flex align-center justify-space-between"},_e={class:"text-end"},ke={key:0,class:"text-decoration-line-through me-1 text-disabled"},De={key:2},Ce={class:"text-base font-weight-medium"};function we(m,e,v,a,p,i){const n=ee,o=Z;return c(),B(j,null,{default:l(()=>[s(f,{cols:"12",md:"8"},{default:l(()=>[e[4]||(e[4]=t("h6",{class:"text-base font-weight-regular mb-4"}," Select your preferable address ",-1)),s(n,{"selected-radio":a.checkoutAddressDataLocal.deliveryAddress,"onUpdate:selectedRadio":e[0]||(e[0]=r=>a.checkoutAddressDataLocal.deliveryAddress=r),"radio-content":a.checkoutAddressDataLocal.addresses,"grid-column":{cols:"12",sm:"6"}},{default:l(({item:r})=>[t("div",ie,[t("div",ue,[t("h6",ce,d(r.title),1),s(D,{color:a.resolveAddressBadgeColor[r.value],label:"",class:"text-capitalize"},{default:l(()=>[u(d(r.value),1)]),_:2},1032,["color"])]),t("p",me,d(r.desc),1),t("p",pe," Mobile: "+d(r.subtitle),1),s(P),e[2]||(e[2]=t("div",{class:"pt-4"},[t("a",{href:"#",class:"me-3"},"Edit"),t("a",{href:"#"},"Remove")],-1))])]),_:1},8,["selected-radio","radio-content"]),s(k,{variant:"tonal",class:"mt-5 mb-8"},{default:l(()=>[...e[3]||(e[3]=[u(" Add New Address ",-1)])]),_:1}),e[5]||(e[5]=t("h6",{class:"text-base font-weight-regular mb-4"}," Choose Delivery Speed ",-1)),s(o,{"selected-radio":a.checkoutAddressDataLocal.deliverySpeed,"onUpdate:selectedRadio":e[1]||(e[1]=r=>a.checkoutAddressDataLocal.deliverySpeed=r),"radio-content":a.deliveryOptions,"grid-column":{cols:"12",sm:"4"}},{default:l(({item:r})=>[t("div",fe,[t("div",ve,[s(D,{color:a.resolveDeliveryBadgeData[r.value].color,label:""},{default:l(()=>[u(d(a.resolveDeliveryBadgeData[r.value].price==="Free"?a.resolveDeliveryBadgeData[r.value].price:`$${a.resolveDeliveryBadgeData[r.value].price}`),1)]),_:2},1032,["color"])]),s(x,J(K(r.icon)),null,16),t("h6",be,d(r.title),
11),t("p",ye,d(r.desc),1)])]),_:1},8,["selected-radio"])]),_:1}),s(f,{cols:"12",md:"4"},{default:l(()=>[s(U,{flat:"",variant:"outlined"},{default:l(()=>[s(g,null,{default:l(()=>[e[6]||(e[6]=t("h6",{class:"text-base font-weight-medium mb-5"}," Estimated Delivery Date ",-1)),s(te,{class:"card-list"},{default:l(()=>[(c(!0),b(_,null,L(a.checkoutAddressDataLocal.cartItems,r=>(c(),B(ae,{key:r.name},{prepend:l(()=>[s(z,{width:"60",src:r.image,class:"me-2"},null,8,["src"])]),default:l(()=>[s(se,null,{default:l(()=>[u(d(r.name),1)]),_:2},1024),t("span",he,d(r.estimatedDelivery),1)]),_:2},1024))),128))]),_:1})]),_:1}),s(P),s(g,null,{default:l(()=>[e[10]||(e[10]=t("h6",{class:"text-base font-weight-medium mb-5"}," Price Details ",-1)),t("div",xe,[e[7]||(e[7]=t("span",{class:"text-high-emphasis"},"Order Total",-1)),t("span",null,"$"+d(a.checkoutAddressDataLocal.orderAmount),1)]),t("div",ge,[e[9]||(e[9]=t("span",{class:"text-high-emphasis"},"Delivery Charges",-1)),t("div",_e,[a.checkoutAddressDataLocal.deliverySpeed==="free"?(c(),b("span",ke," $5.00 ")):$("",!0),a.checkoutAddressDataLocal.deliverySpeed==="free"?(c(),B(D,{key:1,color:"success",label:""},{default:l(()=>[...e[8]||(e[8]=[u(" Free ",-1)])]),_:1})):(c(),b("span",De,"$"+d(a.resolveDeliveryBadgeData[a.checkoutAddressDataLocal.deliverySpeed].price)+".00",1))])])]),_:1}),s(P),s(g,{class:"d-flex align-center justify-space-between text-high-emphasis py-3"},{default:l(()=>[e[11]||(e[11]=t("span",{class:"text-base font-weight-medium"},"Total",-1)),t("span",Ce," $"+d(a.totalPriceWithDeliveryCharges),1)]),_:1})]),_:1}),s(k,{block:"",class:"mt-4",onClick:a.nextStep},{default:l(()=>[...e[12]||(e[12]=[u(" Place Order ",-1)])]),_:1})]),_:1})]),_:1})}const Se=F(ne,[["render",we],["__file","/opt/buildhome/repo/src/views/wizard-examples/checkout/Address.vue"]]),Ve=I({__name:"Cart",props:{currentStep:{type:Number,required:!1},checkoutData:{type:Object,required:!0}},emits:["update:currentStep","update:checkout-data"],setup(m,{expose:e,emit:v}){e();const a=m,p=v,i=w(a.checkoutData),n=V=>{i.value.cartItems=i.value.cartItems.filter(h=>h.id!==V.id)},o=N(()=>i.value.orderAmount=i.value.cartItems.reduce((V,h)=>V+h.price*h.quantity,0)),r=()=>{p("update:checkout-data",i.value)},S=()=>{r(),p("update:currentStep",a.currentStep?a.currentStep+1:1)};T(()=>a.currentStep,r);const y={props:a,emit:p,checkoutCartDataLocal:i,removeItem:n,totalCost:o,updateCartData:r,nextStep:S};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),Ae={class:"text-h6 my-4"},Pe={class:"border rounded"},je={class:"text-base font-weight-regular mb-4"},Be={class:"d-flex align-center text-no-wrap gap-2 text-base"},Le={class:"text-primary"},Ne={class:"text-xs font-weight-medium"},Ie={class:"mt-1"},Fe={class:"text-base mt-4"},Ue={class:"text-primary"},Oe={class:"text-decoration-line-through text-disabled"},Te={class:"d-flex align-center justify-space-between border rounded py-2 px-5 text-base mt-4"},ze={class:"d-flex align-center gap-4"},Me={class:"text-high-emphasis"},$e={class:"d-flex justify-space-between mb-2"},qe={class:"d-flex justify-space-between mb-2"},Ge={class:"d-flex justify-space-between"},Ee={class:"text-base font-weight-medium"};function Re(m,e,v,a,p,i){const n=Q("IconBtn"),o=q;return a.checkoutCartDataLocal?(c(),B(j,{key:0},{default:l(()=>[s(f,{cols:"12",md:"8"},{default:l(()=>[s(E,{color:"success",variant:"tonal"},{prepend:l(()=>[s(x,{size:"34",icon:"tabler-bookmarks"})]),default:l(()=>[s(R,{class:"text-success mb-3"},{default:l(()=>[...e[1]||(e[1]=[u(" Available Offers ",-1)])]),_:1}),e[2]||(e[2]=t("p",{class:"mb-1"}," - 10% Instant Discount on Bank of America Corp Bank Debit and Credit cards ",-1)),e[3]||(e[3]=t("p",{class:"mb-0"}," - 25% Cashback Voucher of up to $60 on first ever PayPal transaction. TCA ",-1))]),_:1}),t("h6",Ae," My Shopping Bag ("+d(a.checkoutCartDataLocal.cartItems.length)+" Items) ",1),t("div",Pe,[(c(!0),b(_,null,L(a.checkoutCartDataLocal.cartItems,(r,S)=>(c(),b("div",{key:r.name,class:C(["d-flex align-center gap-3 pa-5 position-relative flex-column flex-sm-row",S?"border-t":""])},[s(n,{class:"checkout-item-remove-btn",onClick:y=>a.removeItem(r)},{default:l(()=>[s(x,{size:"20",icon:"tabler-x"})]),_:1},8,["onClick"]),t("div",null,[s(z,{width:"140",src:r.image},null,8,["src"])]),t("div",{class:C(["d-flex w-100",m.$vuetify.display.width<=700?"flex-column":"flex-row"])},[t("div",null,[t("h6",je,d(r.name),1),t("div",Be,[e[4]||(e[4]=t("span",{class:"text-disabled"},"Sold by:",-1)),t("span",Le,d(r.seller),1),s(D,{color:r.inStock?"success":"error",label:""},{default:l(()=>[t("span",Ne,d(r.inStock?"In Stock":"Out of Stock"),1)]),_:2},1032,["color"])]),t("div",Ie,[s(le,{density:"compact","model-value":r.rating,readonly:""},null,8,["model-value"])]),s(o,{modelValue:r.quantity,"onUpdate:modelValue":y=>r.quantity=y,type:"number",style:{width:"7.5rem"},density:"compact"},null,8,["modelValue","onUpdate:modelValue"])]),s(G),t("div",{class:C(["d-flex flex-column justify-space-between mt-5",m.$vuetify.display.width<=700?"text-start":"text-end"])},[t("p",Fe,[t("span",Ue,"$"+d(r.price),1),e[5]||(e[5]=t("span",null,"/",-1)),t("span",Oe,"$"+d(r.discountPrice),1)]),t("div",null,[s(k,{variant:"tonal"},{default:l(()=>[...e[6]||(e[6]=[u(" move to wishlist ",-1)])]),_:1}
1)])],2)],2)],2))),128))]),t("div",Te,[e[7]||(e[7]=t("a",{href:"#"},"Add more products from wishlist",-1)),s(x,{icon:"tabler-chevron-right",class:"flip-in-rtl"})])]),_:1}),s(f,{cols:"12",md:"4"},{default:l(()=>[s(U,{flat:"",variant:"outlined"},{default:l(()=>[s(g,null,{default:l(()=>[e[9]||(e[9]=t("h6",{class:"text-base font-weight-medium mb-3"}," Offer ",-1)),t("div",ze,[s(o,{modelValue:a.checkoutCartDataLocal.promoCode,"onUpdate:modelValue":e[0]||(e[0]=r=>a.checkoutCartDataLocal.promoCode=r),density:"compact",placeholder:"Enter Promo Code"},null,8,["modelValue"]),s(k,{variant:"tonal",onClick:a.updateCartData},{default:l(()=>[...e[8]||(e[8]=[u(" Apply ",-1)])]),_:1})]),e[10]||(e[10]=t("div",{class:"bg-var-theme-background rounded pa-5 mt-4"},[t("h6",{class:"text-base font-weight-medium mb-1"}," Buying gift for a loved one? "),t("p",null," Gift wrap and personalized message on card, Only for $2. "),t("a",{href:"#",class:"font-weight-medium"},"Add a gift wrap")],-1))]),_:1}),s(P),s(g,null,{default:l(()=>[e[17]||(e[17]=t("h6",{class:"text-base font-weight-medium mb-3"}," Price Details ",-1)),t("div",Me,[t("div",$e,[e[11]||(e[11]=t("span",null,"Bag Total",-1)),t("span",null,"$"+d(a.totalCost)+".00",1)]),e[16]||(e[16]=t("div",{class:"d-flex justify-space-between mb-2"},[t("span",null,"Coupon Discount"),t("a",{href:"#",class:"font-weight-medium"},"Apply Coupon")],-1)),t("div",qe,[e[12]||(e[12]=t("span",null,"Order Total",-1)),t("span",null,"$"+d(a.totalCost)+".00",1)]),t("div",Ge,[e[15]||(e[15]=t("span",null,"Delivery Charges",-1)),t("div",null,[e[14]||(e[14]=t("span",{class:"text-decoration-line-through text-disabled me-2"},"$5.00",-1)),s(D,{label:"",color:"success"},{default:l(()=>[...e[13]||(e[13]=[u(" Free ",-1)])]),_:1})])])])]),_:1}),s(P),s(g,{class:"d-flex justify-space-between py-4"},{default:l(()=>[e[18]||(e[18]=t("h6",{class:"text-base font-weight-medium"}," Total ",-1)),t("h6",Ee," $"+d(a.totalCost)+".00 ",1)]),_:1})]),_:1}),s(k,{block:"",class:"mt-4",onClick:a.nextStep},{default:l(()=>[...e[19]||(e[19]=[u(" Place Order ",-1)])]),_:1})]),_:1})]),_:1})):$("",!0)}const We=F(Ve,[["render",Re],["__scopeId","data-v-c86a7666"],["__file","/opt/buildhome/repo/src/views/wizard-examples/checkout/Cart.vue"]]),Ye=I({__name:"Confirmation",props:{currentStep:{type:Number,required:!1},checkoutData:{type:Object,required:!0}},emits:["update:currentStep","update:checkout-data"],setup(m,{expose:e}){e();const v=m,a=N(()=>v.checkoutData.addresses.filter(n=>n.value===v.checkoutData.deliveryAddress)),p=N(()=>v.checkoutData.deliverySpeed==="overnight"?{method:"Overnight Delivery",desc:"In 1 business day."}:v.checkoutData.deliverySpeed==="express"?{method:"Express Delivery",desc:"Normally in 3-4 business days"}:{method:"Standard Delivery",desc:"Normally in 1 Week"}),i={props:v,selectedDeliveryAddress:a,resolveDeliveryMethod:p};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),He={class:"text-base"},Je={class:"text-center"},Ke={class:"d-flex align-center gap-2 justify-center"},Qe={class:"d-flex align-center gap-2 text-high-emphasis mb-4"},Xe={class:"mb-1"},Ze={class:"mb-4"},et={class:"font-weight-medium"},tt={class:"d-flex align-center gap-2 text-high-emphasis mb-4"},at={class:"mb-1"},st={class:"mb-4"},lt={class:"font-weight-medium"},ot={class:"d-flex align-center gap-2 text-high-emphasis mb-4"},rt={class:"mb-0"},dt={class:"border rounded"},nt={class:"text-base font-weight-regular mb-4"},it={class:"d-flex align-center text-no-wrap gap-2 text-base"},ut={class:"text-primary"},ct={class:"text-base mb-0"},mt={class:"text-primary"},pt={class:"text-decoration-line-through text-disabled"},ft={class:"border rounded"},vt={class:"border-b pa-5"},bt={class:"d-flex align-center justify-space-between text-sm mb-3"},yt={class:"d-flex align-center justify-space-between text-sm"},ht={key:0},xt={key:1},gt={class:"d-flex align-center justify-space-between text-high-emphasis font-weight-medium px-5 py-3"};function _t(m,e,v,a,p,i){return c(),b("section",He,[t("div",Je,[e[1]||(e[1]=t("h5",{class:"text-h5 mb-3"}," Thank You! ð ",-1)),e[2]||(e[2]=t("p",null,[u(" Your order "),t("span",{class:"text-primary"},"#1536548131"),u(" has been placed! ")],-1)),e[3]||(e[3]=t("p",{class:"mb-0"},[u(" We sent an email to "),t("span",{class:"text-primary"}
1,"[email protected]"),u(" with your order confirmation and receipt. ")],-1)),e[4]||(e[4]=t("p",null,"If the email hasn't arrived within two minutes, please check your spam folder to see if the email was routed there.",-1)),t("div",Ke,[s(x,{size:"20",icon:"tabler-clock"}),e[0]||(e[0]=t("span",null,"Time placed: 25/05/2020 13:35pm",-1))])]),s(j,{class:"border rounded ma-0 mt-6"},{default:l(()=>[s(f,{cols:"12",md:"4",class:C(["pa-5",m.$vuetify.display.mdAndUp?"border-e":"border-b"])},{default:l(()=>[t("div",Qe,[s(x,{icon:"tabler-map-pin"}),e[5]||(e[5]=t("span",{class:"text-base font-weight-medium"}," Shipping ",-1))]),(c(!0),b(_,null,L(a.selectedDeliveryAddress,n=>(c(),b(_,{key:n.value},[t("p",Xe,d(n.title),1),t("p",Ze,d(n.desc),1),t("span",et,"+"+d(n.subtitle),1)],64))),128))]),_:1},8,["class"]),s(f,{cols:"12",md:"4",class:C(["pa-5",m.$vuetify.display.mdAndUp?"border-e":"border-b"])},{default:l(()=>[t("div",tt,[s(x,{icon:"tabler-credit-card"}),e[6]||(e[6]=t("span",{class:"text-base font-weight-medium"}," Billing Address ",-1))]),(c(!0),b(_,null,L(a.selectedDeliveryAddress,n=>(c(),b(_,{key:n.value},[t("p",at,d(n.title),1),t("p",st,d(n.desc),1),t("span",lt,"+"+d(n.subtitle),1)],64))),128))]),_:1},8,["class"]),s(f,{cols:"12",md:"4",class:"pa-5"},{default:l(()=>[t("div",ot,[s(x,{icon:"tabler-ship"}),e[7]||(e[7]=t("span",{class:"text-base font-weight-medium"}," Shipping Method ",-1))]),e[8]||(e[8]=t("p",{class:"font-weight-medium"}," Preferred Method: ",-1)),t("p",rt,d(a.resolveDeliveryMethod.method),1),t("span",null,"( "+d(a.resolveDeliveryMethod.desc)+" )",1)]),_:1})]),_:1}),s(j,null,{default:l(()=>[s(f,{cols:"12",md:"9"},{default:l(()=>[t("div",dt,[(c(!0),b(_,null,L(a.props.checkoutData.cartItems,(n,o)=>(c(),b("div",{key:n.name,class:C(["d-flex align-start gap-3 pa-5 position-relative flex-column flex-sm-row",o?"border-t":""])},[t("div",null,[s(z,{width:"80",src:n.image},null,8,["src"])]),t("div",{class:C(["d-flex w-100 pt-3",m.$vuetify.display.width<=700?"flex-column":"flex-row"])},[t("div",null,[t("h6",nt,d(n.name),1),t("div",it,[e[9]||(e[9]=t("span",{class:"text-disabled"},"Sold by:",-1)),t("span",ut,d(n.seller),1),s(D,{color:n.inStock?"success":"error",label:""},{default:l(()=>[t("span",null,d(n.inStock?"In Stock":"Out of Stock"),1)]),_:2},1032,["color"])])]),s(G),t("div",{class:C(["d-flex flex-column justify-space-between mt-3",m.$vuetify.display.width<=700?"text-start":"text-end"])},[t("p",ct,[t("span",mt,"$"+d(n.price),1),e[10]||(e[10]=t("span",null,"/",-1)),t("span",pt,"$"+d(n.discountPrice),1)])],2)],2)
1],2))),128))])]),_:1}),s(f,{cols:"12",md:"3"},{default:l(()=>[t("div",ft,[t("div",vt,[e[15]||(e[15]=t("h6",{class:"text-base font-weight-medium mb-3"}," Price Details ",-1)),t("div",bt,[e[11]||(e[11]=t("span",{class:"text-high-emphasis"},"Order Total",-1)),t("span",null,"$"+d(a.props.checkoutData.orderAmount)+".00",1)]),t("div",yt,[e[14]||(e[14]=t("span",{class:"text-high-emphasis"},"Delivery Charges",-1)),a.props.checkoutData.deliverySpeed==="free"?(c(),b("div",ht,[e[13]||(e[13]=t("span",{class:"text-decoration-line-through text-disabled me-2"},"$5.00",-1)),s(D,{color:"success",label:""},{default:l(()=>[...e[12]||(e[12]=[u(" Free ",-1)])]),_:1})])):(c(),b("div",xt,[t("span",null,"$"+d(a.props.checkoutData.deliveryCharges),1)]))])]),t("div",gt,[e[16]||(e[16]=t("span",null,"Total",-1)),t("span",null,"$"+d(a.props.checkoutData.orderAmount+a.props.checkoutData.deliveryCharges)+".00",1)])])]),_:1})]),_:1})])}const kt=F(Ye,[["render",_t],["__file","/opt/buildhome/repo/src/views/wizard-examples/checkout/Confirmation.vue"]]),Dt=I({__name:"Payment",props:{currentStep:{type:Number,required:!1},checkoutData:{type:Object,required:!0}},emits:["update:currentStep","update:checkout-data"],setup(m,{expose:e,emit:v}){e();const a=m,p=v,i=w(a.checkoutData),n=w("card"),o=w({cardNumber:null,cardName:"",cardExpiry:"",cardCvv:null,isCardSave:!0}),r=w({giftCardNumber:null,giftCardPin:null}),S=N(()=>i.value.addresses.filter(Y=>Y.value===i.value.deliveryAddress)),y=()=>{p("update:checkout-data",i.value)},V=()=>{y(),p("update:currentStep",a.currentStep?a.currentStep+1:1)};T(()=>a.currentStep,y);const h={prop:a,emit:p,checkoutPaymentDataLocal:i,selectedPaymentMethod:n,cardFormData:o,giftCardFormData:r,selectedDeliveryAddress:S,updateCartData:y,nextStep:V};return Object.defineProperty(h,"__isScriptSetup",{enumerable:!1,value:!0}),h}}),Ct={class:"mt-4"},wt={class:"d-flex justify-space-between text-base mb-2"},St={class:"d-flex justify-space-between text-base"},Vt={key:0},At={key:1},Pt={class:"d-flex justify-space-between text-base mb-2"},jt={class:"d-flex justify-space-between text-base mb-4"},Bt={class:"text-base font-weight-medium"},Lt={class:"text-base mb-1"},Nt={class:"text-base mb-3"};function It(m,e,v,a,p,i){const n=q;return c(),B(j,null,{default:l(()=>[s(f,{cols:"12",md:"8"},{default:l(()=>[s(E,{color:"success",variant:"tonal",class:"mb-4"},{prepend:l(()=>[s(x,{icon:"tabler-bookmarks",size:"34"})]),default:l(()=>[s(R,{class:"text-success mb-3"},{default:l(()=>[...e[9]||(e[9]=[u(" Bank Offers ",-1)])]),_:1}),e[10]||(e[10]=t("p",{class:"mb-1"}," - 10% Instant Discount on Bank of America Corp Bank Debit and Credit cards ",-1))]),_:1}),s(oe,{modelValue:a.selectedPaymentMethod,"onUpdate:modelValue":e[0]||(e[0]=o=>a.selectedPaymentMethod=o),class:"v-tabs-pill",density:"comfortable"},{default:l(()=>[s(O,{value:"card"},{default:l(()=>[...e[11]||(e[11]=[u(" Card ",-1)])]),_:1}),s(O,{value:"cash-on-delivery"},{default:l(()=>[...e[12]||(e[12]=[u(" Cash on Delivery ",-1)])]),_:1}),s(O,{value:"gift-card"},{default:l(()=>[...e[13]||(e[13]=[u(" Gift Card ",-1)])]),_:1})]),_:1},8,["modelValue"]),s(W,{modelValue:a.selectedPaymentMethod,"onUpdate:modelValue":e[8]||(e[8]=o=>a.selectedPaymentMethod=o),class:"mt-5",style:{"max-width":"600px"}},{default:l(()=>[s(A,{value:"card"},{default:l(()=>[s(M,{class:"mt-3"},{default:l(()=>[s(j,null,{default:l(()=>[s(f,{cols:"12"},{default:l(()=>[s(n,{modelValue:a.cardFormData.cardNumber,"onUpdate:modelValue":e[1]||(e[1]=o=>a.cardFormData.cardNumber=o),type:"number",label:"Card Number"},null,8,["modelValue"])]),_:1}),s(f,{cols:"12",md:"6"},{default:l(()=>[s(n,{modelValue:a.cardFormData.cardName,"onUpdate:modelValue":e[2]||(e[2]=o=>a.cardFormData.cardName=o),label:"Name"},null,8,["modelValue"])]),_:1}),s(f,{cols:"6",md:"3"},{default:l(()=>[s(n,{modelValue:a.cardFormData.cardExpiry,"onUpdate:modelValue":e[3]||(e[3]=o=>a.cardFormData.cardExpiry=o),label:"Expiry"},null,8,["modelValue"])]),_:1}),s(f,{cols:"6",md:"3"},{default:l(()=>[s(n,{modelValue:a.cardFormData.cardCvv,"onUpdate:modelValue":e[4]||(e[4]=o=>a.cardFormData.cardCvv=o),label:"CVV",type:"number"},{"append-inner":l(()=>[s(re,{text:"Card Verification Value",location:"bottom"},{activator:l(({props:o})=>[s(x,X(o,{size:"20",icon:"tabler-help"}),null,16)]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(f,{cols:"12"},{default:l(()=>[s(de,{modelValue:a.cardFormData.isCardSave,"onUpdate:modelValue":e[5]||(e[5]=o=>a.cardFormData.isCardSave=o),label:"Save Card for future billing?"},null,8,["modelValue"]),t("div",Ct,[s(k,{class:"me-3",onClick:a.nextStep},{default:l(()=>[...e[14]||(e[14]=[u(" Checkout ",-1)])]),_:1}),s(k,{variant:"tonal",color:"secondary"},{default:l(()=>[...e[15]||(e[15]=[u(" Reset ",-1)])]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1}),s(A,{value:"cash-on-delivery"},{default:l(()=>[e[17]||(e[17]=t("p",{class:"text-base text-high-emphasis"}," Cash on Delivery is a type of payment method where the recipient make payment for the order at the time of delivery rather than
1in advance. ",-1)),s(k,{onClick:a.nextStep},{default:l(()=>[...e[16]||(e[16]=[u(" Pay on delivery ",-1)])]),_:1})]),_:1}),s(A,{value:"gift-card"},{default:l(()=>[e[19]||(e[19]=t("h6",{class:"text-base font-weight-medium mb-4"}," Enter Gift Card Details ",-1)),s(M,null,{default:l(()=>[s(j,null,{default:l(()=>[s(f,{cols:"12"},{default:l(()=>[s(n,{modelValue:a.giftCardFormData.giftCardNumber,"onUpdate:modelValue":e[6]||(e[6]=o=>a.giftCardFormData.giftCardNumber=o),label:"Gift Card Number"},null,8,["modelValue"])]),_:1}),s(f,{cols:"12"},{default:l(()=>[s(n,{modelValue:a.giftCardFormData.giftCardPin,"onUpdate:modelValue":e[7]||(e[7]=o=>a.giftCardFormData.giftCardPin=o),label:"Gift Card Pin"},null,8,["modelValue"])]),_:1}),s(f,{cols:"12"},{default:l(()=>[s(k,{onClick:a.nextStep},{default:l(()=>[...e[18]||(e[18]=[u(" Redeem Gift Card ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(f,{cols:"12",md:"4"},{default:l(()=>[s(U,{flat:"",variant:"outlined"},{default:l(()=>[s(g,null,{default:l(()=>[e[24]||(e[24]=t("h6",{class:"text-base font-weight-medium mb-4"}," Price Details ",-1)),t("div",wt,[e[20]||(e[20]=t("span",{class:"text-high-emphasis"},"Order Total",-1)),t("span",null,"$"+d(a.checkoutPaymentDataLocal.orderAmount)+".00",1)]),t("div",St,[e[23]||(e[23]=t("span",{class:"text-high-emphasis"},"Delivery Charges",-1)),a.checkoutPaymentDataLocal.deliverySpeed==="free"?(c(),b("div",Vt,[e[22]||(e[22]=t("span",{class:"text-decoration-line-through text-disabled me-2"},"$5.00",-1)),s(D,{color:"success",label:""},{default:l(()=>[...e[21]||(e[21]=[u(" Free ",-1)])]),_:1})])):(c(),b("div",At,[t("span",null,"$"+d(a.checkoutPaymentDataLocal.deliveryCharges),1)]))])]),_:1}),s(P),s(g,null,{default:l(()=>[t("div",Pt,[e[25]||(e[25]=t("span",{class:"text-high-emphasis font-weight-medium"},"Total",-1)),t("span",null,"$"+d(a.checkoutPaymentDataLocal.orderAmount+a.checkoutPaymentDataLocal.deliveryCharges)+".00",1)]),t("div",jt,[e[26]||(e[26]=t("span",{class:"text-high-emphasis font-weight-medium"},"Deliver to:",-1)),s(D,{color:"primary",class:"text-capitalize",label:""},{default:l(()=>[u(d(a.checkoutPaymentDataLocal.deliveryAddress),1)]),_:1})]),(c(!0),b(_,null,L(a.selectedDeliveryAddress,o=>(c(),b(_,{key:o.value},[t("h6",Bt,d(o.title),1),t("p",Lt,d(o.desc),1),t("p",Nt," Mobile : "+d(o.subtitle),1)],64))),128)),e[27]||(e[27]=t("a",{href:"#",class:"font-weight-medium text-base"},"Change address",-1))]),_:1})]),_:1})]),_:1})]),_:1})}const Ft=F(Dt,[["render",It],["__file","/opt/buildhome/repo/src/views/wizard-examples/checkout/Payment.vue"]]),Ut="/assets/google-home-vPNqMwty.png",Ot="/assets/iphone-11-BZSCwolv.png",Tt=I({__name:"checkout",setup(m,{expose:e}){e();const v=[{title:"Cart",icon:"custom-cart"},{title:"Address",icon:"custom-address"},{title:"Payment",icon:"custom-payment"},{title:"Confirmation",icon:"custom-trending"}],a=w({cartItems:[{id:1,name:"Google - Google Home - White",seller:"Google",inStock:!0,rating:4,price:299,discountPrice:359,image:Ut,quantity:1,estimatedDelivery:"18th Nov 2021"},{id:2,name:"Apple iPhone 11 (64GB, Black)",seller:"Apple",inStock:!0,rating:4,price:899,discountPrice:999,image:Ot,quantity:1,estimatedDelivery:"20th Nov 2021"}],promoCode:"",orderAmount:1198,deliveryAddress:"home",deliverySpeed:"free",deliveryCharges:0,addresses:[{title:"John Doe (Default)",desc:"4135 Parkway Street, Los Angeles, CA, 90017",subtitle:"1234567890",value:"home"},{title:"ACME Inc.",desc:"87 Hoffman Avenue, New York, NY, 10016",subtitle:"1234567890",value:"office"}]}),p=w(0),i={checkoutSteps:v,checkoutData:a,currentStep:p,AddressContent:Se,CartContent:We,ConfirmationContent:kt,PaymentContent:Ft};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function zt(m,e,v,a,p,i){const n=H;return c(),B(U,null,{default:l(()=>[s(g,null,{default:l(()=>[s(n,{"current-step":a.currentStep,"onUpdate:currentStep":e[0]||(e[0]=o=>a.currentStep=o),class:"checkout-stepper",items:a.checkoutSteps,direction:m.$vuetify.display.smAndUp?"horizontal":"vertical"},null,8,["current-step","direction"])]),_:1}),s(P),s(g,null,{default:l(()=>[s(W,{modelValue:a.currentStep,"onUpdate:modelValue":e[8]||(e[8]=o=>a.currentStep=o),class:"disable-tab-transition"},{default:l(()=>[s(A,null,{default:l(()=>[s(a.CartContent,{"current-step":a.currentStep,"onUpdate:currentStep":e[1]||(e[1]=o=>a.currentStep=o),"checkout-data":a.checkoutData,"onUpdate:checkoutData":e[2]||(e[2]=o=>a.checkoutData=o)},null,8,["current-step","checkout-data"])]),_:1}),s(A,null,{default:l(()=>[s(a.AddressContent,{"current-step":a.currentStep,"onUpdate:currentStep":e[3]||(e[3]=o=>a.currentStep=o),"checkout-data":a.checkoutData,"onUpdate:checkoutData":e[4]||(e[4]=o=>a.checkoutData=o)},null,8,["current-step","checkout-data"])]),_:1}),s(A,null,{default:l(()=>[s(a.PaymentContent,{"current-step":a.currentStep,"onUpdate:currentStep":e[5]||(e[5]=o=>a.currentStep=o),"checkout-data":a.checkoutData,"onUpdate:checkoutData":e[6]||(e[6]=o=>a.checkoutData=o)},null,8,["current-step","checkout-data"])]),_:1}),s(A,null,{default:l(()=>[s(a.ConfirmationContent,{"checkout-data":a.checkoutData,"onUpdate:checkoutData":e[7]||(e[7]=o=>a.checkoutData=o)},null,8,["checkout-data"])]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})}const oa=F(Tt,[["render",zt],["__file","/opt/buildhome/repo/src/pages/wizard-examples/checkout.vue"]]);export{oa 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.