PageSourceSearch

https://selfwalkembassygreensboro.web.app/assets/SetUpgradeView.cdea2e71.js

js selfwalkembassygreensboro.web.app collected 2026-10-03 12:35:47 UTC 3,953 bytes, 1 lines download raw bytes

1import{d as l,b as g}from"./runtime-dom.esm-bundler.0e07a42a.js";import{_ as m,r as s,d as S,e,h as d,c as T,p as P,g as z}from"./_plugin-vue_export-helper.f09dc1ee.js";const t=n=>(P("data-v-42456638"),n=n(),z(),n),w={class:"furniture-upgrade-form"},U=t(()=>e("h1",null,"Upgrade Your Furniture Settings",-1)),y=["onSubmit"],V={class:"form-group"},q=t(()=>e("label",{for:"roundTableSize"},"Round Table Size (in inches):",-1)),C=t(()=>e("option",{value:"",disabled:""},"Select size",-1)),x=t(()=>e("option",{value:"48"},'48" (4 ft diameter, seats 4-6)',-1)),F=t(()=>e("option",{value:"60"},'60" (5 ft diameter, seats 6-8)',-1)),R=t(()=>e("option",{value:"72"},'72" (6 ft diameter, seats 8-10)',-1)),W=[C,x,F,R],I={class:"form-group"},B=t(()=>e("label",{for:"rectangleTableSize"},"Rectangle Table Size (in inches):",-1)),E=t(()=>e("option",{value:"",disabled:""},"Select length",-1)),L=t(()=>e("option",{value:"60"},'60" (5 ft, seats 4-6)',-1)),k=t(()=>e("option",{value:"72"},'72" (6 ft, seats 6-8)',-1)),D=t(()=>e("option",{value:"96"},'96" (8 ft, seats 8-10)',-1)),M=[E,L,k,D],j=t(()=>e("option",{value:"",disabled:""},"Select width",-1)),N=t(()=>e("option",{value:"24"},'24" (2 ft wide)',-1)),O=t(()=>e("option",{value:"30"},'30" (2.5 ft wide)',-1)),Y=t(()=>e("option",{value:"36"},'36" (3 ft wide)',-1)),A=[j,N,O,Y],G={class:"form-group"},H=t(()=>e("label",{for:"chairSize"},"Chair Size (Seat Width in inches):",-1)),J=t(()=>e("option",{value:"",disabled:""},"Select size",-1)),K=t(()=>e("option",{value:"16"},'16" (Standard)',-1)),Q=t(()=>e("option",{value:"18"},'18" (Wider)',-1)),X=t(()=>e("option",{value:"20"},'20" (Extra wide)',-1)),Z=[J,K,Q,X],$={class:"form-group"},ee=t(()=>e("label",{for:"roundTablePhoto"},"Upload Round Table Photo:",-1)),oe={class:"form-group"},te=t(()=>e("label",{for:"rectangleTablePhoto"},"Upload Rectangle Table Photo:",-1)),ae={class:"form-group"},ie=t(()=>e("label",{for:"chairPhoto"},"Upload Chair Photo:",-1)),se=t(()=>e("button",{type:"submit",class:"submit-button"},"Submit",-1)),ne={__name:"SetUpgradeView",setup(n){const r=s(""),u=s(""),c=s(""),h=s(""),p=s(null),b=s(null),v=s(null),_=(i,o)=>{const a=i.target.files[0];a&&(o==="roundTablePhoto"&&(p.value=a),o==="rectangleTablePhoto"&&(b.value=a),o==="chairPhoto"&&(v.value=a))},f=()=>{console.log("Submitting form...");const i=new FormData;i.append("roundTableSize",r.value),i.append("rectangleTableLength",u.value),i.append("rectangleTableWidth",c.value),i.append("chairSize",h.value),i.append("roundTablePhoto",p.value),i.append("rectangleTablePhoto",b.value),i.append("chairPhoto",v.value),fetch("/api/upgrade-furniture",{method:"POST",body:i}).then(o=>o.json()).then(o=>{console.log("Server Response:",o),alert("Form submitted successfully!")}).catch(o=>{console.error("Submission Error:",o),alert("There was an error submitting your form.")})};return(i,o)=>(T(),S("div",w,[U,e("form",{onSubmit:g(f,["prevent"])},[e("div",V,[q,d(e("select",{id:"roundTableSize","onUpdate:modelValue":o[0]||(o[0]=a=>r.value=a),required:""},W,512),[[l,r.value]])]),e("div",I,[B,d(e("select",{id:"rectangleTableLength","onUpdate:modelValue":o[1]||(o[1]=a=>u.value=a),required:""},M,512),[[l,u.value]]),d(e("select",{id:"rectangleTableWidth","onUpdate:modelValue":o[2]||(o[2]=a=>c.value=a),required:""},A,512),[[l,c.value]])]),e("div",G,[H,d(e("select",{id:"chairSize","onUpdate:modelValue":o[3]||(o[3]=a=>h.value=a),required:""},Z,512),[[l,h.value]])]),e("div",$,[ee,e("input",{type:"file",id:"roundTablePhoto",onChange:o[4]||(o[4]=a=>_(a,"roundTablePhoto")),accept:"image/*",required:""},null,32)]),e("div",oe,[te,e("input",{type:"file",id:"rectangleTablePhoto",onChange:o[5]||(o[5]=a=>_(a,"rectangleTablePhoto")),accept:"image/*",required:""},null,32)]),e("div",ae,[ie,e("input",{type:"file",id:"chairPhoto",onChange:o[6]||(o[6]=a=>_(a,"chairPhoto")),accept:"image/*",required:""},null,32)]),se],40,y)]))}},re=m(ne,[["__scopeId","data-v-42456638"]]);export{re 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.