PageSourceSearch

https://technomancer.biz/build/assets/StepOne.d7cdc1a9.js

js technomancer.biz collected 2026-10-09 22:42:45 UTC 5,840 bytes, 1 lines download raw bytes

1import{bf as y,bF as V,E as P,o as p,f,F as c,i as h,j as s,c4 as _,a as l,t as $,$ as u,c as N,g as C,b as n}from"./app.0910bc5f.js";import{F as t}from"./FormError.d57359a0.js";import"./_plugin-vue_export-helper.cdc0426e.js";const A={class:"form-check"},k=["name","value","id"],x=["for"],U={class:"row g-3"},w={class:"col-3"},E={class:"form-check"},M=["name","value","id"],S=["for"],O={class:"col-9"},D=["disabled"],g={__name:"FormRadio",props:y({name:String,choices:Array,fieldName:String,fieldAttribute:String,formErrors:{type:Object,default:{}}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const r=m,e=V(m,"modelValue"),v=e.value&&e.value.id===null?e.value:{id:null,[r.fieldAttribute]:null},o=P(v);return(a,d)=>{var b;return p(),f(c,null,[(p(!0),f(c,null,h(m.choices,i=>(p(),f("div",A,[s(l("input",{type:"radio",class:"form-check-input",name:r.name,value:i,id:`${r.name}${i.id}`,"onUpdate:modelValue":d[0]||(d[0]=q=>e.value=q)},null,8,k),[[_,e.value]]),l("label",{class:"form-check-label",for:`${r.name}${i.id}`},$(i[r.fieldAttribute]),9,x)]))),256)),l("div",U,[l("div",w,[l("div",E,[s(l("input",{type:"radio",class:"form-check-input",name:r.name,value:o.value,id:`${r.name}Other`,"onUpdate:modelValue":d[1]||(d[1]=i=>e.value=i)},null,8,M),[[_,e.value]]),l("label",{class:"form-check-label",for:`${r.name}Other`}," Other ",8,S)])]),l("div",O,[s(l("input",{type:"text",class:"form-control form-control-sm",placeholder:"Please specify...","onUpdate:modelValue":d[2]||(d[2]=i=>o.value[r.fieldAttribute]=i),disabled:e.value==null||e.value.id!=null,required:""},null,8,D),[[u,o.value[r.fieldAttribute]]])])]),((b=e.value)==null?void 0:b.id)===null?(p(),N(t,{key:0,errors:[r.formErrors[`${r.fieldName}.${r.fieldAttribute}`]]},null,8,["errors"])):C("",!0)],64)}}},F={class:"form-group required mb-3"},z={class:"form-group required mb-3"},B={class:"form-group required mb-3"},j={class:"form-group required mb-3"},T={class:"form-group required mb-3"},R={class:"form-group required mb-3"},W={class:"form-group required mb-3"},J={class:"form-group required mb-3"},H={__name:"StepOne",props:y({quotationCommunicationChannels:Array,quotationPlatforms:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(m){const r=m,e=V(m,"modelValue");return(v,o)=>(p(),f(c,null,[l("div",F,[o[8]||(o[8]=l("label",{for:"companyName",class:"field-label ttu"}," Company Name ",-1)),s(l("input",{type:"text",class:"form-control",id:"companyName",name:"companyName",placeholder:"e.g., Technomancer","onUpdate:modelValue":o[0]||(o[0]=a=>e.value.company_name=a),required:""},null,512),[[u,e.value.company_name]]),n(t,{errors:[e.value.errors.company_name]},null,8,["errors"])]),l("div",z,[o[9]||(o[9]=l("label",{for:"companyAddress",class:"field-label ttu"}," Company Address ",-1)),s(l("input",{type:"text",class:"form-control",id:"companyAddress",name:"companyAddress",placeholder:"e.g., 59 Samonte St, Quezon City","onUpdate:modelValue":o[1]||(o[1]=a=>e.value.company_address=a),required:""},null,512),[[u,e.value.company_address]]),n(t,{errors:[e.value.errors.company_address]},null,8,["errors"])]),l("div",B,[o[10]||(o[10]=l("label",{for:"pointPersonName",class:"field-label ttu"}," Point Person Name ",-1)),s(l("input",{type:"text",class:"form-control",id:"pointPersonName",name:"pointPersonName",placeholder:"e.g., Juan dela Cruz","onUpdate:modelValue":o[2]||(o[2]=a=>e.value.point_person_name=a),required:""},null,512),[[u,e.value.point_person_name]]),n(t,{errors:[e.value.errors.point_person_name]},null,8,["errors"])]),l("div",j,[o[11]||(o[11]=l("label",{for:"pointPersonEmail",class:"field-label ttu"}," Point Person Email ",-1)),s(l("input",{type:"text",class:"form-control",id:"pointPersonEmail",name:"pointPersonEmail",placeholder:"e.g., [email protected]","onUpdate:modelValue":o[3]||(o[3]=a=>e.value.point_person_email=a),required:""},null,512),[[u,e.value.point_person_email]]),n(t,{errors:[e.value.errors.point_person_email]},null,8,["errors"])]),l("div",T,[o[12]||(o[12]=l("label",{for:"pointPersonDesignation",class:"field-label ttu"}," Point Person Designation ",-1)),s(l("input",{type:"text",class:"form-control",id:"pointPersonDesignation",name:"pointPersonDesignation",placeholder:"e.g., Marketing Manager","onUpdate:modelValue":o[4]||(o[4]=a=>e.value.point_person_designation=a),required:""},null,512),[[u,e.value.point_person_designation]]),n(t,{errors:[e.value.errors.point_person_designation]},null,8,["errors"])]),l("div",R,[o[13]||(o[13]=l("label",{class:"field-label ttu"}," Preferred communication channels ",-1)),n(g,{name:"quotationCommunicationChannel",choices:r.quotationCommunicationChannels,modelValue:e.value.communication_channel,"onUpdate:modelValue":o[5]||(o[5]=a=>e.value.communication_channel=a),"field-name":"communication_channel","field-attribute":"name","form-errors":e.value.errors},null,8,["choices","modelValue","form-errors"]),n(t,{errors:[e.value.errors.communication_channel]},null,8,["errors"])]),l("div",W,[o[14]||(o[14]=l("label",{for:"websiteName",class:"field-label ttu"}," Website Name ",-1)),s(l("input",{type:"text",class:"form-control",id:"websiteName",name:"websiteName",placeholder:"e.g., Technomancer Official Site","onUpdate:modelValue":o[6]||(o[6]=a=>e.value.website_name=a)},null,512),[[u,e.value.website_name]]),n(t,{errors:[e.value.errors.website_name]},null,8,["errors"])]),l("div",J,[o[15]||(o[15]=l("label",{class:"field-label ttu"}," What platform/CMS will be used? ",-1)),n(g,{name:"quotationPlatform",choices:r.quotationPlatforms,modelValue:e.value.platform,"onUpdate:modelValue":o[7]||(o[7]=a=>
1e.value.platform=a),"field-name":"platform","field-attribute":"name","form-errors":e.value.errors},null,8,["choices","modelValue","form-errors"]),n(t,{errors:[e.value.errors.platform]},null,8,["errors"])])],64))}};export{H 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.