PageSourceSearch

https://cdn.bulan.sorsu.edu.ph/assets/IndividualForm-a6360059.js

js sorsu.edu.ph collected 2026-09-25 05:16:33 UTC 50,773 bytes, 1 lines download raw bytes

1var N=(x,l,t)=>new Promise((h,v)=>{var p=a=>{try{o(t.next(a))}catch(i){v(i)}},s=a=>{try{o(t.throw(a))}catch(i){v(i)}},o=a=>a.done?h(a.value):Promise.resolve(a.value).then(p,s);o((t=t.apply(x,l)).next())});import{l as A}from"./lodash-0bb9bd71.js";import{d as q,p as T,q as W,aa as U,o as I,al as P,am as _,aA as E,aB as R,a as b,c as g,e,g as d,b as n,f as r,an as f,ao as c,W as u,aq as y,n as L,w as M,aw as z,x as V,at as B,Z as C,as as S,F as G,A as j,ad as O,G as k,y as Y,ap as H,ae as F}from"./index-df5d7310.js";import{_ as Q}from"./BaseCard.vue_vue_type_script_setup_true_lang-a2cee5d0.js";import{B as Z}from"./BaseLoading-be12a28f.js";import"./doc-pdf-02375ae1.js";const J={key:0},K={class:"mb-5"},X={class:"mb-5"},ee={class:"mb-5"},te={class:"mb-5"},oe={class:"text-info"},se={class:"row"},ae={class:"col-md-6"},le={class:"mb-5"},ne={class:"col-md-6"},re={class:"mb-5"},ie=["value"],de={class:"row"},me={class:"col-md-6"},ue={class:"mb-5"},_e={class:"col-md-6"},fe={class:"mb-5"},ce={class:"row"},pe={class:"col-md-6"},be={class:"mb-5"},he={class:"col-md-6"},ve={class:"mb-5"},ye={class:"row"},ge={class:"col-md-4"},xe={class:"mb-5"},Ve={class:"col-md-4"},$e={class:"mb-5"},we={class:"col-md-4"},ke={class:"mb-5"},Se={class:"row"},Ue={class:"col-md-6"},qe={class:"mb-5"},Te={class:"col-md-6"},Ie={class:"mb-5"},Ae={class:"text-info"},Me={class:"row"},Pe={class:"col-md-6"},De={class:"mb-5"},Le={class:"form-check"},Ne={key:0,class:"row"},Ce={class:"col-md-12"},We={class:"mb-5"},Oe=q({__name:"PersonalInfo",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_fieldRequireText:"Note! This field requires validation and approval from the Registrar's Office before it can be considered complete.",_isInit:!1}),h=x,v=l,p=W(()=>{var o,a,i,m,$,D;return(a=(o=t.data.student_latest_enrollment)==null?void 0:o.degree)!=null&&a.full_degree_name&&((i=t.data.student_latest_enrollment)!=null&&i.year_level)?(($=(m=t.data.student_latest_enrollment)==null?void 0:m.degree)==null?void 0:$.full_degree_name)+" - "+((D=t.data.student_latest_enrollment)==null?void 0:D.year_level):"<none>"}),s=W(()=>{var o;if((o=t.data.user_common_information)!=null&&o.formatted_date_of_birth){const a=new Date(t.data.user_common_information.formatted_date_of_birth),i=Date.now()-a.getTime(),m=new Date(i);return Math.abs(m.getUTCFullYear()-1970)}return""});return U(()=>t.data,o=>{v("onWatched",o)},{deep:!0}),U(()=>s,o=>{var a,i;(i=(a=t.data)==null?void 0:a.user_common_information)!=null&&i.age&&(t.data.user_common_information.age=o)}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_common_information&&(t.data.user_common_information.age||(t.data.user_common_information.age=0),t.data.user_common_information.formatted_date_of_birth||(t.data.user_common_information.formatted_date_of_birth=""),t.data.user_common_information.gender&&(t.data.user_common_information.gender=t.data.user_common_information.gender.toLowerCase())),t.data.user_common_information||(t.data.user_common_information={age:0,formatted_date_of_birth:""}),t.data.user_student_information||(t.data.user_student_information={is_dorm:!1});const o=P().shape({first_name:_().required("This field is required").label("First Name"),last_name:_().required("This field is required").label("Last Name"),date_of_birth:E().required("This field is required").label("Date of Birth"),sex:_().required("This field is required").label("Sex"),nationality:_().required("This field is required").label("Nationality"),civil_status:_().required("This field is required").label("Civil Status"),permanent_addr_1:_().required("This field is required").label("Brgy."),permanent_addr_2:_().required("This field is required").label("City / Municipality"),permanent_addr_3:_().required("This field is required").label("District / Province"),religion:_().required("This field is required").label("Religion"),is_dorm:R().label("Dormitory / Boarding House"),dorm_name_address:_().when("is_dorm",{is:!0,then:()=>_().required("This field is required")})});v("onModuleLoad",o),t._isInit=!0}),(o,a)=>t._isInit?(b(),g("div",J,[a[35]||(a[35]=e("h4",{class:"mb-10 fw-bold text-dark"},"Personal Information",-1)),e("div",K,[a[14]||(a[14]=e("label",{class:"form-label"},[d("First Name: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.first_name,"onUpdate:modelValue":a[0]||(a[0]=i=>t.data.first_name=i),class:"form-control",name:"first_name",placeholder:"First Name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"first_name"})]),e("div",X,[a[15]||(a[15]=e("label",{class:"form-label"},"Middle Name:",-1)),u(e("input",{"onUpdate:modelValue":a[1]||(a[1]=i=>t.data.middle_name=i),class:"form-control",name:"middle_name",placeholder:"Middle Name",type:"text"},null,512),[[y,t.data.middle_name]])]),e("div",ee,[a[16]||(a[16]=e("label",{class:"form-label"},[d("Last Name: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.last_name,"onUpdate:modelValue":a[2]||(a[2]=i=>t.data.last_name=i),class:"form-control",name:"last_name",placeholder:"Last Name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"last_name"})]),e("div",te,[a[17]||(a[17]=e("label",{class:"form-label"},[d("Course & Year: "),e("span",{class:"text-danger"},"*")],-1)),a[18]||(a[18]=e("br",null,null,-1)),e("span",oe,L(p.value),1)]),e("div",se,[e("div",ae,[e("div",le,[a[19]||(a[19]=e("label",{class:"form-label"},[d("Date of Birth: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.formatted_date_of_birth,"onUpdate:modelValue":a[3]||(a[3]=i=>
1t.data.user_common_information.formatted_date_of_birth=i),class:"form-control",name:"date_of_birth",type:"date"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"date_of_birth"})])]),e("div",ne,[e("div",re,[a[20]||(a[20]=e("label",{class:"form-label"},"Age: ",-1)),e("input",{value:s.value,class:"form-control",readonly:"",type:"text"},null,8,ie)])])]),e("div",de,[e("div",me,[e("div",ue,[a[21]||(a[21]=e("label",{class:"form-label"},"Place of Birth:",-1)),u(e("input",{"onUpdate:modelValue":a[4]||(a[4]=i=>t.data.user_common_information.place_of_birth=i),class:"form-control",name:"place_of_birth",type:"text"},null,512),[[y,t.data.user_common_information.place_of_birth]])])]),e("div",_e,[e("div",fe,[a[23]||(a[23]=e("label",{class:"form-label"},[d("Sex: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.gender,"onUpdate:modelValue":a[5]||(a[5]=i=>t.data.user_common_information.gender=i),as:"select",class:"form-select",name:"sex"},{default:M(()=>a[22]||(a[22]=[e("option",{value:""},"-- Please select --",-1),e("option",{value:"male"},"Male",-1),e("option",{value:"female"},"Female",-1),e("option",{value:"other"},"Other",-1)])),_:1},8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"sex"})])])]),e("div",ce,[e("div",pe,[e("div",be,[a[24]||(a[24]=e("label",{class:"form-label"},[d("Nationality: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.nationality,"onUpdate:modelValue":a[6]||(a[6]=i=>t.data.user_common_information.nationality=i),class:"form-control",name:"nationality",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"nationality"})])]),e("div",he,[e("div",ve,[a[26]||(a[26]=e("label",{class:"form-label"},[d("Civil Status: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.civil_status,"onUpdate:modelValue":a[7]||(a[7]=i=>t.data.user_common_information.civil_status=i),as:"select",class:"form-select",name:"civil_status"},{default:M(()=>a[25]||(a[25]=[e("option",{value:""},"-- Please select --",-1),e("option",{value:"Single"},"Single",-1),e("option",{value:"Married"},"Married",-1),e("option",{value:"Divorced"},"Divorced",-1),e("option",{value:"Widowed"},"Widowed",-1),e("option",{value:"Separated"},"Separated",-1)])),_:1},8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"civil_status"})])])]),a[36]||(a[36]=e("div",{class:"row"},[e("div",{class:"col-md-12"},[e("div",{class:"h6"},"Home Address:")])],-1)),e("div",ye,[e("div",ge,[e("div",xe,[a[27]||(a[27]=e("label",{class:"form-label"},[d("Brgy.: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.permanent_addr_1,"onUpdate:modelValue":a[8]||(a[8]=i=>t.data.user_common_information.permanent_addr_1=i),class:"form-control",name:"permanent_addr_1",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"permanent_addr_1"})])]),e("div",Ve,[e("div",$e,[a[28]||(a[28]=e("label",{class:"form-label"},[d("City / Municipality: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.permanent_addr_2,"onUpdate:modelValue":a[9]||(a[9]=i=>t.data.user_common_information.permanent_addr_2=i),class:"form-control",name:"permanent_addr_2",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"permanent_addr_2"})])]),e("div",we,[e("div",ke,[a[29]||(a[29]=e("label",{class:"form-label"},[d("District / Province: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.permanent_addr_3,"onUpdate:modelValue":a[10]||(a[10]=i=>t.data.user_common_information.permanent_addr_3=i),class:"form-control",name:"permanent_addr_3",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"permanent_addr_3"})])])]),e("div",Se,[e("div",Ue,[e("div",qe,[a[30]||(a[30]=e("label",{class:"form-label"},[d("Religion: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_common_information.religion,"onUpdate:modelValue":a[11]||(a[11]=i=>t.data.user_common_information.religion=i),class:"form-control",name:"religion",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"religion"})])]),e("div",Te,[e("div",Ie,[a[31]||(a[31]=e("label",{class:"form-label"},"Contact No.:",-1)),a[32]||(a[32]=e("br",null,null,-1)),e("span",Ae,L(t.data.mobile_number),1)])])]),e("div",Me,[e("div",Pe,[e("div",De,[e
1("div",Le,[u(e("input",{id:"is-dorm","onUpdate:modelValue":a[12]||(a[12]=i=>t.data.user_student_information.is_dorm=i),class:"form-check-input",name:"is_dorm",type:"checkbox"},null,512),[[z,t.data.user_student_information.is_dorm]]),a[33]||(a[33]=e("label",{class:"form-check-label",for:"is-dorm"}," Dormitory / Boarding House ",-1))])])])]),t.data.user_student_information.is_dorm?(b(),g("div",Ne,[e("div",Ce,[e("div",We,[a[34]||(a[34]=e("label",{class:"form-label"},[d("Name of Landlady / Landlord and Address: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_student_information.dorm_name_address,"onUpdate:modelValue":a[13]||(a[13]=i=>t.data.user_student_information.dorm_name_address=i),class:"form-control",name:"dorm_name_address",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"dorm_name_address"})])])])):V("",!0)])):V("",!0)}}),Fe={key:0,class:"pb-5"},ze={class:"row"},Be={class:"col-md-6"},Ge={class:"mb-5"},je={class:"col-md-6"},Ee={class:"mb-5"},Re={key:0,class:"row"},Ye={class:"col-md-12"},He={class:"mb-5"},Qe={class:"row"},Ze={class:"col-md-12"},Je={class:"mb-5"},Ke={class:"row"},Xe={class:"col-md-12"},et={class:"mb-5"},tt={class:"mb-3 form-check form-check-custom form-check-solid"},ot={class:"mb-3 form-check form-check-custom form-check-solid"},st={class:"mb-3 form-check form-check-custom form-check-solid"},at={class:"mb-3 form-check form-check-custom form-check-solid"},lt=q({__name:"SpecialPopulation",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_isInit:!1}),h=x,v=l;return U(()=>t.data,p=>{v("onWatched",p)},{deep:!0}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_other_information?(t.data.user_other_information.pwd||(t.data.user_other_information.pwd=""),t.data.user_other_information.pwd_other||(t.data.user_other_information.pwd_other=""),t.data.user_other_information.gender_special||(t.data.user_other_information.gender_special=""),t.data.user_other_information.info_ip||(t.data.user_other_information.info_ip=""),t.data.user_other_information.solo_parent||(t.data.user_other_information.solo_parent="not applicable")):t.data.user_other_information={gender_special:"",pwd:"",pwd_other:"",info_ip:"",solo_parent:"not applicable"};const p=P().shape({gender_special:_().required("This field is required").label("Gender")});v("onModuleLoad",p),t._isInit=!0}),(p,s)=>t._isInit?(b(),g("div",Fe,[s[19]||(s[19]=e("h4",{class:"mb-10 font-weight-bold text-dark"},"Special Population",-1)),e("div",ze,[e("div",Be,[e("div",Ge,[s[9]||(s[9]=e("label",{class:"form-label"},[d("Gender (LGBTQ+): "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.gender_special,"onUpdate:modelValue":s[0]||(s[0]=o=>t.data.user_other_information.gender_special=o),as:"select",class:"form-select",name:"gender_special"},{default:M(()=>s[8]||(s[8]=[e("option",{value:""},"-- Please select --",-1),e("option",{value:"cisgender"},"Cisgender (straight) Male / Female",-1),e("option",{value:"gay"},"Gay",-1),e("option",{value:"lesbian"},"Lesbian",-1),e("option",{value:"transsexual"},"Transsexual",-1),e("option",{value:"transgender"},"Transgender",-1),e("option",{value:"bi-sexual"},"Bi-Sexual",-1),e("option",{value:"queer"},"Queer",-1),e("option",{value:"undecided"},"Undecided",-1)])),_:1},8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"gender_special"})])]),e("div",je,[e("div",Ee,[s[11]||(s[11]=e("label",{class:"form-label"},"PWD (Persons With Disabilities):",-1)),u(e("select",{"onUpdate:modelValue":s[1]||(s[1]=o=>t.data.user_other_information.pwd=o),class:"form-select",name:"pwd"},s[10]||(s[10]=[C('<option value="">-- Please select --</option><option value="blind">Blind and Visually Impaired</option><option value="deaf">Deaf</option><option value="deaf-mute">Deaf/Mute</option><option value="orthopedically-challenged">Orthopedically challenged</option><option value="intellectual-disability">Intellectual disability</option><option value="learning-disability">Learning disability</option><option value="autism">Autism</option><option value="multiple-disability">Multiple disability</option><option value="emotional-disorders">Serious emotional disorders</option><option value="communication-disorders">Communication disorder, speech and language impairment</option><option value="other">Other health problems</option>',12)]),512),[[B,t.data.user_other_information.pwd]])])])]),t.data.user_other_information.pwd==="other"?(b(),g("div",Re,[e("div",Ye,[e("div",He,[s[12]||(s[12]=e("label",{class:"form-label"},[d("For other health problems, please specify: "),e("span",{class:"text-danger"},"*")],-1)),u(e("input",{"onUpdate:modelValue":s[2]||(s[2]=o=>t.data.user_other_information.pwd_other=o),class:"form-control",type:"text"},null,512),[[y,t.data.user_other_information.pwd_other]])])])])):V("",!0),e("div",Qe,[e("div",Ze,[e("div",Je,[s[13]||(s[13]=e("label",{class:"form-label"},"IP (Indigenous People), please specify the group you belonged:",-1)),u(e("input",{"onUpdate:modelValue":s[3]||(s[3]=o=>t.data.user_other_information.info_ip=o),class:"form-control",type:"text"},null,512),[[y,t.data.user_other_information.info_ip]])])])]),e("div",Ke,[e("div",Xe,[e("div",et,[s[18]||(s[18]=e("label",{class:"form-label"},"Solo Parent:",-1)),e("div",tt,[u(e("input",{id:"solo_parent_1","onUpdate:modelValue":s[4]||(s[4]=o=>t.data.user_other_information.solo_parent=o),class:"form-check-input",n
1ame:"solo_parent",type:"radio",value:"not applicable"},null,512),[[S,t.data.user_other_information.solo_parent]]),s[14]||(s[14]=e("label",{class:"form-check-label",for:"solo_parent_1"}," Not Applicable ",-1))]),e("div",ot,[u(e("input",{id:"solo_parent_2","onUpdate:modelValue":s[5]||(s[5]=o=>t.data.user_other_information.solo_parent=o),class:"form-check-input",name:"solo_parent",type:"radio",value:"single_mother_father"},null,512),[[S,t.data.user_other_information.solo_parent]]),s[15]||(s[15]=e("label",{class:"form-check-label",for:"solo_parent_2"}," Single Mother / Father ",-1))]),e("div",st,[u(e("input",{id:"solo_parent_3","onUpdate:modelValue":s[6]||(s[6]=o=>t.data.user_other_information.solo_parent=o),class:"form-check-input",name:"solo_parent",type:"radio",value:"other_person"},null,512),[[S,t.data.user_other_information.solo_parent]]),s[16]||(s[16]=e("label",{class:"form-check-label",for:"solo_parent_3"}," Any other person who solely provides parental care and support to a child or children ",-1))]),e("div",at,[u(e("input",{id:"solo_parent_4","onUpdate:modelValue":s[7]||(s[7]=o=>t.data.user_other_information.solo_parent=o),class:"form-check-input",name:"solo_parent",type:"radio",value:"family_member"},null,512),[[S,t.data.user_other_information.solo_parent]]),s[17]||(s[17]=e("label",{class:"form-check-label",for:"solo_parent_4"}," Any family member who assumes the responsibility of head of family as a result of the death, abandonment, disappearance or prolonged absence of the parents or solo parent ",-1))])])])])])):V("",!0)}}),nt={key:0,class:"pb-5"},rt={class:"row"},it={class:"col-md-6"},dt={class:"mb-5"},mt={class:"col-md-3"},ut={class:"mb-5"},_t={class:"col-md-3"},ft={class:"mb-5"},ct={class:"row"},pt={class:"col-md-6"},bt={class:"mb-5"},ht={class:"col-md-6"},vt={class:"mb-5"},yt={class:"d-flex"},gt={class:"mb-3 form-check form-check-custom form-check-solid me-5"},xt={class:"mb-3 form-check form-check-custom form-check-solid"},Vt={class:"row"},$t={class:"col-md-6"},wt={class:"mb-5"},kt={class:"col-md-6"},St={class:"mb-5"},Ut={class:"row"},qt={class:"col-md-6"},Tt={class:"mb-5"},It={class:"col-md-6"},At={class:"mb-5"},Mt={class:"row"},Pt={class:"col-md-6"},Dt={class:"mb-5"},Lt={class:"col-md-3"},Nt={class:"mb-5"},Ct={class:"col-md-3"},Wt={class:"mb-5"},Ot={class:"row"},Ft={class:"col-md-6"},zt={class:"mb-5"},Bt={class:"col-md-6"},Gt={class:"mb-5"},jt={class:"radio-inline"},Et={class:"d-flex"},Rt={class:"mb-3 form-check form-check-custom form-check-solid me-5"},Yt={class:"mb-3 form-check form-check-custom form-check-solid"},Ht={class:"row"},Qt={class:"col-md-6"},Zt={class:"mb-5"},Jt={class:"col-md-6"},Kt={class:"mb-5"},Xt={class:"row"},eo={class:"col-md-6"},to={class:"mb-5"},oo={class:"col-md-6"},so={class:"mb-5"},ao={class:"table-responsive"},lo={class:"table table-hover table-bordered"},no=["onUpdate:modelValue"],ro={class:"input-group"},io=["onUpdate:modelValue"],mo=["onClick"],uo={class:"row"},_o={class:"col-md-6"},fo={class:"mb-5"},co={class:"col-md-6"},po={class:"mb-5"},bo=q({__name:"FamilyStatus",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_isInit:!1}),h=x,v=l;function p(){var s,o;(o=(s=t.data.user_other_information)==null?void 0:s.siblings_children)==null||o.push({name:"",children:""})}return U(()=>t.data,s=>{v("onWatched",s)},{deep:!0}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_student_information.monthly_fam_income||(t.data.user_student_information.monthly_fam_income=""),t.data.user_other_information?(t.data.user_other_information.siblings_children||(t.data.user_other_information.siblings_children=[]),t.data.user_other_information.marital_status||(t.data.user_other_information.marital_status="")):t.data.user_other_information={siblings_children:[],marital_status:""};const s=P().shape({father_full_name:_().required("This field is required").label("Father's name"),mother_full_name:_().required("This field is required").label("Mother's name"),monthly_fam_income:_().required("This field is required").label("Monthly Income")});v("onModuleLoad",s),t._isInit=!0}),(s,o)=>t._isInit?(b(),g("div",nt,[o[48]||(o[48]=e("h4",{class:"mb-10 font-weight-bold text-dark"}
1,"Family Status",-1)),e("div",rt,[e("div",it,[e("div",dt,[o[22]||(o[22]=e("label",{class:"form-label"},[d("Father: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_student_information.father_full_name,"onUpdate:modelValue":o[0]||(o[0]=a=>t.data.user_student_information.father_full_name=a),class:"form-control",name:"father_full_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"father_full_name"})])]),e("div",mt,[e("div",ut,[o[23]||(o[23]=e("label",{class:"form-label"},"Age: ",-1)),u(e("input",{"onUpdate:modelValue":o[1]||(o[1]=a=>t.data.user_student_information.father_age=a),class:"form-control",type:"number"},null,512),[[y,t.data.user_student_information.father_age]])])]),e("div",_t,[e("div",ft,[o[24]||(o[24]=e("label",{class:"form-label"},"Contact No.: ",-1)),u(e("input",{"onUpdate:modelValue":o[2]||(o[2]=a=>t.data.user_student_information.father_contact_number=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_contact_number]])])])]),e("div",ct,[e("div",pt,[e("div",bt,[o[25]||(o[25]=e("label",{class:"form-label"},"Educational Attainment: ",-1)),u(e("input",{"onUpdate:modelValue":o[3]||(o[3]=a=>t.data.user_student_information.father_education=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_education]])])]),e("div",ht,[e("div",vt,[e("div",yt,[e("div",gt,[u(e("input",{id:"father_status_1","onUpdate:modelValue":o[4]||(o[4]=a=>t.data.user_student_information.father_status=a),checked:"",class:"form-check-input",name:"father_status",type:"radio",value:"living"},null,512),[[S,t.data.user_student_information.father_status]]),o[26]||(o[26]=e("label",{class:"form-check-label",for:"father_status_1"},"Living",-1))]),e("div",xt,[u(e("input",{id:"father_status_2","onUpdate:modelValue":o[5]||(o[5]=a=>t.data.user_student_information.father_status=a),class:"form-check-input",name:"father_status",type:"radio",value:"deceased"},null,512),[[S,t.data.user_student_information.father_status]]),o[27]||(o[27]=e("label",{class:"form-check-label",for:"father_status_2"},"Deceased",-1))])])])])]),e("div",Vt,[e("div",$t,[e("div",wt,[o[28]||(o[28]=e("label",{class:"form-label"},"Occupation: ",-1)),u(e("input",{"onUpdate:modelValue":o[6]||(o[6]=a=>t.data.user_student_information.father_occupation=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_occupation]])])]),e("div",kt,[e("div",St,[o[29]||(o[29]=e("label",{class:"form-label"},"Address: ",-1)),u(e("input",{"onUpdate:modelValue":o[7]||(o[7]=a=>t.data.user_student_information.father_address=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_address]])])])]),e("div",Ut,[e("div",qt,[e("div",Tt,[o[30]||(o[30]=e("label",{class:"form-label"},"Marital Status: ",-1)),u(e("input",{"onUpdate:modelValue":o[8]||(o[8]=a=>t.data.user_student_information.father_marital_status=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_marital_status]])])]),e("div",It,[e("div",At,[o[31]||(o[31]=e("label",{class:"form-label"},"If OFW (what country): ",-1)),u(e("input",{"onUpdate:modelValue":o[9]||(o[9]=a=>t.data.user_student_information.father_ofw_country=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.father_ofw_country]])])])]),o[49]||(o[49]=e("hr",null,null,-1)),e("div",Mt,[e("div",Pt,[e("div",Dt,[o[32]||(o[32]=e("label",{class:"form-label"},[d("Mother: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_student_information.mother_full_name,"onUpdate:modelValue":o[10]||(o[10]=a=>t.data.user_student_information.mother_full_name=a),class:"form-control",name:"mother_full_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"mother_full_name"})])]),e("div",Lt,[e("div",Nt,[o[33]||(o[33]=e("label",{class:"form-label"},"Age: ",-1)),u(e("input",{"onUpdate:modelValue":o[11]||(o[11]=a=>t.data.user_student_information.mother_age=a),class:"form-control",type:"number"},null,512),[[y,t.data.user_student_information.mother_age]])])]),e("div",Ct,[e("div",Wt,[o[34]||(o[34]=e("label",{class:"form-label"},"Contact No.: ",-1)),u(e("input",{"onUpdate:modelValue":o[12]||(o[12]=a=>t.data.user_student_information.mother_contact_number=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_contact_number]])])])]),e("div",Ot,[e("div",Ft,[e("div",zt,[o[35]||(o[35]=e("label",{class:"form-label"},"Educational Attainment: ",-1)),u(e("input",{"onUpdate:modelValue":o[13]||(o[13]=a=>t.data.user_student_information.mother_education=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_education]])])]),e("div",Bt,[e("div",Gt,[e("div",jt,[e("div",Et,[e("div",Rt,[u(e("input",{id:"mother_status_1","onUpdate:modelValue":o[14]||(o[14]=a=>t.data.user_student_information.mother_status=a),checked:"",class:"form-check-input",n
1ame:"mother_status",type:"radio",value:"living"},null,512),[[S,t.data.user_student_information.mother_status]]),o[36]||(o[36]=e("label",{class:"form-check-label",for:"mother_status_1"},"Living",-1))]),e("div",Yt,[u(e("input",{id:"mother_status_2","onUpdate:modelValue":o[15]||(o[15]=a=>t.data.user_student_information.mother_status=a),class:"form-check-input",name:"mother_status",type:"radio",value:"deceased"},null,512),[[S,t.data.user_student_information.mother_status]]),o[37]||(o[37]=e("label",{class:"form-check-label",for:"mother_status_2"},"Deceased",-1))])])])])])]),e("div",Ht,[e("div",Qt,[e("div",Zt,[o[38]||(o[38]=e("label",{class:"form-label"},"Occupation: ",-1)),u(e("input",{"onUpdate:modelValue":o[16]||(o[16]=a=>t.data.user_student_information.mother_occupation=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_occupation]])])]),e("div",Jt,[e("div",Kt,[o[39]||(o[39]=e("label",{class:"form-label"},"Address: ",-1)),u(e("input",{"onUpdate:modelValue":o[17]||(o[17]=a=>t.data.user_student_information.mother_address=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_address]])])])]),e("div",Xt,[e("div",eo,[e("div",to,[o[40]||(o[40]=e("label",{class:"form-label"},"Marital Status: ",-1)),u(e("input",{"onUpdate:modelValue":o[18]||(o[18]=a=>t.data.user_student_information.mother_marital_status=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_marital_status]])])]),e("div",oo,[e("div",so,[o[41]||(o[41]=e("label",{class:"form-label"},"If OFW (what country): ",-1)),u(e("input",{"onUpdate:modelValue":o[19]||(o[19]=a=>t.data.user_student_information.mother_ofw_country=a),class:"form-control",type:"text"},null,512),[[y,t.data.user_student_information.mother_ofw_country]])])])]),o[50]||(o[50]=e("hr",null,null,-1)),e("div",ao,[e("table",lo,[o[43]||(o[43]=e("thead",null,[e("tr",null,[e("th",{style:{width:"50%"}},[d("Name of Siblings "),e("br"),d("(from eldest to youngest including yourself)")]),e("th",{style:{width:"50%"}},"Name of children (if married)")])],-1)),e("tbody",null,[(b(!0),g(G,null,j(t.data.user_other_information.siblings_children,(a,i)=>(b(),g("tr",{key:i},[e("td",null,[u(e("input",{"onUpdate:modelValue":m=>a.name=m,class:"form-control",placeholder:"Enter name",type:"text"},null,8,no),[[y,a.name]])]),e("td",null,[e("div",ro,[u(e("input",{"onUpdate:modelValue":m=>a.children=m,class:"form-control",placeholder:"Comma separated names",type:"text"},null,8,io),[[y,a.children]]),e("button",{class:"btn btn-danger",type:"button",onClick:m=>t.data.user_other_information.siblings_children.splice(i,1)},o[42]||(o[42]=[e("span",{class:"fas fa-trash"},null,-1)]),8,mo)])])]))),128)),e("tr",null,[e("td",{class:"text-center",colspan:"2"},[e("button",{class:"btn btn-primary btn-sm",type:"button",onClick:p},"Add")])])])])]),o[51]||(o[51]=e("hr",null,null,-1)),e("div",uo,[e("div",_o,[e("div",fo,[o[45]||(o[45]=e("label",{class:"form-label"},[d("Marital Status of Student"),e("br"),d("if married:")],-1)),u(e("select",{"onUpdate:modelValue":o[20]||(o[20]=a=>t.data.user_other_information.marital_status=a),class:"form-select",name:"marital_status"},o[44]||(o[44]=[C('<option value="">-- Please select --</option><option value="married">Married and living together</option><option value="separated-both-partners">Separated, both with partners</option><option value="separated-one-partner">Separated, one with partner</option><option value="separated-both-no-partner">Separated, both with no partner</option><option value="widow">Widow / Widower</option><option value="unmarried">Unmarried and living together</option>',7)]),512),[[B,t.data.user_other_information.marital_status]])])]),e("div",co,[e("div",po,[o[47]||(o[47]=e("label",{class:"form-label"},[d("Family Monthly Income "),e("br"),d("(monthly combined income of father & mother): "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_student_information.monthly_fam_income,"onUpdate:modelValue":o[21]||(o[21]=a=>t.data.user_student_information.monthly_fam_income=a),as:"select",class:"form-select",name:"monthly_fam_income"},{default:M(()=>o[46]||(o[46]=[e("option",{value:""},"-- Please select --",-1),e("option",{value:"below-5000"},"Below Php. 5,000",-1),e("option",{value:"5001-9000"},"Php. 5,001 - Php. 9,000",-1),e("option",{value:"9001-18000"},"Php. 9,001 - Php. 18,000",-1),e("option",{value:"18001-40000"},"Php. 18,001 - Php. 40,000",-1),e("option",{value:"40001-60000"},"Php. 40,001 - Php. 60,000",-1),e("option",{value:"60001-above"},"Php. 60,001 and above",-1)])),_:1},8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"monthly_fam_income"})])])])])):V("",!0)}}),ho={key:0,class:"pb-5"},vo={class:"row"},yo={class:"col-md-5"},go={class:"mb-5"},xo={class:"col-md-3"},Vo={class:"mb-5"},$o={class:"col-md-4"},wo={class:"mb-5"},ko={class:"row"},So={class:"col-md-5"},Uo={class:"mb-5"},qo={class:"col-md-3"},To={class:"mb-5"},Io={class:"col-md-4"},Ao={class:"mb-5"},Mo={class:"row"},Po={class:"col-md-5"},Do={class:"mb-5"},Lo={class:"col-md-3"},No={class:"mb-5"},Co={class:"col-md-4"},Wo={class:"mb-5"},Oo={class:"row"},Fo={class:"col-md-5"},zo={class:"mb-5"},Bo={class:"col-md-3"},Go={class:"mb-5"},jo={class:"col-md-4"},Eo={class:"mb-5"},Ro={class:"row"},Yo={class:"col-md-6"},Ho={class:"mb-5"},Qo={class:"col-md-6"},Zo={class:"mb-5"}
1,Jo=q({__name:"EducationalBackground",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_isInit:!1}),h=x,v=l;return U(()=>t.data,p=>{v("onWatched",p)},{deep:!0}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_other_information||(t.data.user_other_information={pre_elem_name:"",pre_elem_year:"",pre_elem_address:"",elem_name:"",elem_year:"",elem_address:"",secondary_name:"",secondary_year:"",secondary_address:"",tertiary_name:"",tertiary_year:"",tertiary_address:"",transferee_school_name:"",transferee_reason:""});const p=P().shape({pre_elem_name:_().required("This field is required").label("Name of school"),pre_elem_year:_().required("This field is required").label("Inclusive year"),pre_elem_address:_().required("This field is required").label("Address"),elem_name:_().required("This field is required").label("Name of school"),elem_year:_().required("This field is required").label("Inclusive year"),elem_address:_().required("This field is required").label("Address"),secondary_name:_().required("This field is required").label("Name of school"),secondary_year:_().required("This field is required").label("Inclusive year"),secondary_address:_().required("This field is required").label("Address"),tertiary_name:_().required("This field is required").label("Name of school"),tertiary_year:_().required("This field is required").label("Inclusive year"),tertiary_address:_().required("This field is required").label("Address")});v("onModuleLoad",p),t._isInit=!0}),(p,s)=>t._isInit?(b(),g("div",ho,[s[28]||(s[28]=e("h4",{class:"mb-10 font-weight-bold text-dark"},"Educational Background",-1)),s[29]||(s[29]=e("h5",null,"Pre-elementary",-1)),e("div",vo,[e("div",yo,[e("div",go,[s[14]||(s[14]=e("label",{class:"form-label"},[d("Name of School: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.pre_elem_name,"onUpdate:modelValue":s[0]||(s[0]=o=>t.data.user_other_information.pre_elem_name=o),class:"form-control",name:"pre_elem_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"pre_elem_name"})])]),e("div",xo,[e("div",Vo,[s[15]||(s[15]=e("label",{class:"form-label"},[d("Inclusive Year: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.pre_elem_year,"onUpdate:modelValue":s[1]||(s[1]=o=>t.data.user_other_information.pre_elem_year=o),class:"form-control",name:"pre_elem_year",type:"number"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"pre_elem_year"})])]),e("div",$o,[e("div",wo,[s[16]||(s[16]=e("label",{class:"form-label"},[d("Address: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.pre_elem_address,"onUpdate:modelValue":s[2]||(s[2]=o=>t.data.user_other_information.pre_elem_address=o),class:"form-control",name:"pre_elem_address",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"pre_elem_address"})])])]),s[30]||(s[30]=e("h5",null,"Elementary",-1)),e("div",ko,[e("div",So,[e("div",Uo,[s[17]||(s[17]=e("label",{class:"form-label"},[d("Name of School: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.elem_name,"onUpdate:modelValue":s[3]||(s[3]=o=>t.data.user_other_information.elem_name=o),class:"form-control",name:"elem_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"elem_name"})])]),e("div",qo,[e("div",To,[s[18]||(s[18]=e("label",{class:"form-label"},[d("Inclusive Year: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.elem_year,"onUpdate:modelValue":s[4]||(s[4]=o=>t.data.user_other_information.elem_year=o),class:"form-control",name:"elem_year",type:"number"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"elem_year"})])]),e("div",Io,[e("div",Ao,[s[19]||(s[19]=e("label",{class:"form-label"},[d("Address: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.elem_address,"onUpdate:modelValue":s[5]||(s[5]=o=>t.data.user_other_information.elem_address=o),class:"form-control",name:"elem_address",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"elem_address"})])])]),s[31]||(s[31]=e("h5",null,"Secondary",-1)),e("div",Mo,[e("div",Po,[e("div",Do,[s[20]||(s[20]=e("label",{class:"form-label"},[d("Name of School: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.secondary_name,"onUpdate:modelValue":s[6]||(s[6]=o=>t.data.user_other_information.secondary_name=o),class:"form-control",name:"secondary_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"secondary_name"})])]),e("div",Lo,[e("div",No,[s[21]||(s[21]=e("label",{class:"form-label"},[d("Inclusive Year: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.secondary_year,"onUpdate:modelValue":s[7]||(s[7]=o=>t.data.user_other_information.secondary_year=o),class:"form-control",name:"secondary_year",type:"number"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"secondary_year"})])]),e("div",Co,[e("div",Wo,[s[22]||(s[22]=e("label",{class:"form-label"},[d("Address: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.secondary_address,"onUpdate:modelValue":s[8]||(s[8]=o=>t.data.user_other_information.secondary_address=o),class:"form-control",name:"secondary_address",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"secondary_address"})])])]),s[32]||(s[32]=e("h5",null,"Tertiary",-1)),e("div",Oo,[e("div",Fo,[e("div",zo,[s[23]||(s[23]=e("label",{class:"form-label"},[d("Name of School: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.tertiary_name,"onUpdate:modelValue":s[9]||(s[9]=o=>t.data.user_other_information.tertiary_name=o),class:"form-control",name:"tertiary_name",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"tertiary_name"})])]),e("div",Bo,[e("div",Go,[s[24]||(s[24]=e("label",{class:"form-label"},[d("Inclusive Year: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.tertiary_year,"onUpdate:modelValue":s[10]||(s[10]=o=>t.data.user_other_information.tertiary_year=o),class:"form-control",name:"tertiary_year",type:"number"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"tertiary_year"})])]),e("div",jo,[e("div",Eo,[s[25]||(s[25]=e("label",{class:"form-label"},[d("Address: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.tertiary_address,"onUpdate:modelValue":s[11]||(s[11]=o=>t.data.user_other_information.tertiary_address=o),class:"form-control",name:"tertiary_address",type:"text"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"tertiary_address"})])])]),s[33]||(s[33]=e("hr",null,null,-1)),e("div",Ro,[e("div",Yo,[e("div",Ho,[s[26]||(s[26]=e("label",{class:"form-label"},"If transferee, your school last attended:",-1)),u(e("input",{"onUpdate:modelValue":s[12]||(s[12]=o=>t.data.user_other_information.transferee_school_name=o),class:"form-control",type:"text"},null,512),[[y,t.data.user_other_information.transferee_school_name]])])]),e("div",Qo,[e("div",Zo,[s[27]||(s[27]=e("label",{class:"form-label"},"Reason for transfer:",-1)),u(e("input",{"onUpdate:modelValue":s[13]||(s[13]=o=>t.data.user_other_information.transferee_reason=o),class:"form-control",type:"text"},null,512),[[y,t.data.user_other_information.transferee_reason]])])])])])):V("",!0)}}),Ko={key:0,class:"pb-5"},Xo={class:"row"},es={class:"col-md-12"},ts={class:"mb-5"},os={class:"row"},ss={class:"col-md-12"},as={class:"mb-5"},ls={class:"row"},ns={class:"col-md-12"},rs={class:"mb-5"},is={class:"row"},ds={class:"col-md-12"},ms={class:"mb-5"},us=q({__name:"AcademicGoals",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_isInit:!1}),h=x,v=l;return U(()=>t.data,p=>{v("onWatched",p)},{deep:!0}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_other_information||(t.data.user_other_information={reason_enroll:"",reason_enroll_program:"",reason_difficult_subjects:"",reason_plan_future:""});const p=P().shape({reason_enroll:_().required("This field is required").label("This"),reason_enroll_program:_().required("This field is required").label("This"),reason_difficult_subjects:_().required("This field is required").label("This"),reason_plan_future:_().required("This field is required").label("This")});v("onModuleLoad",p),t._isInit=!0}),(p,s)=>t._isInit?(b(),g("div",Ko,[s[8]||(s[8]=e("h4",{class:"mb-10 font-weight-bold text-dark"}
1,"Academic Goals",-1)),e("div",Xo,[e("div",es,[e("div",ts,[s[4]||(s[4]=e("label",{class:"form-label"},[d("Reason/s why you have decided to enroll in SSU: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.reason_enroll,"onUpdate:modelValue":s[0]||(s[0]=o=>t.data.user_other_information.reason_enroll=o),as:"textarea",class:"form-control",name:"reason_enroll",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"reason_enroll"})])])]),e("div",os,[e("div",ss,[e("div",as,[s[5]||(s[5]=e("label",{class:"form-label"},[d("Reason/s why you decide to enroll in your present course/program: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.reason_enroll_program,"onUpdate:modelValue":s[1]||(s[1]=o=>t.data.user_other_information.reason_enroll_program=o),as:"textarea",class:"form-control",name:"reason_enroll_program",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"reason_enroll_program"})])])]),e("div",ls,[e("div",ns,[e("div",rs,[s[6]||(s[6]=e("label",{class:"form-label"},[d("What is/are the subject/s you find very difficult?: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.reason_difficult_subjects,"onUpdate:modelValue":s[2]||(s[2]=o=>t.data.user_other_information.reason_difficult_subjects=o),as:"textarea",class:"form-control",name:"reason_difficult_subjects",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"reason_difficult_subjects"})])])]),e("div",is,[e("div",ds,[e("div",ms,[s[7]||(s[7]=e("label",{class:"form-label"},[d("What is your plan for the future?: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.reason_plan_future,"onUpdate:modelValue":s[3]||(s[3]=o=>t.data.user_other_information.reason_plan_future=o),as:"textarea",class:"form-control",name:"reason_plan_future",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"reason_plan_future"})])])])])):V("",!0)}}),_s={key:0,class:"pb-5"},fs={class:"row"},cs={class:"col-md-8"},ps={class:"mb-5"},bs={class:"col-md-4"},hs={class:"mb-5"},vs={class:"row"},ys={class:"col-md-12"},gs={class:"mb-5"},xs={class:"row"},Vs={class:"col-md-12"},$s={class:"mb-5"},ws={class:"row"},ks={class:"col-md-12"},Ss={class:"mb-5"},Us=q({__name:"VocationalInterest",props:{profile:{}},emits:["onWatched","onModuleLoad"],setup(x,{emit:l}){const t=T({data:{},originalData:{},_isInit:!1}),h=x,v=l;return U(()=>t.data,p=>{v("onWatched",p)},{deep:!0}),I(()=>{t.data=h.profile,t.originalData=A.cloneDeep(h.profile),t.data.user_other_information||(t.data.user_other_information={ambition:"",ambition_reason:"",off_campus_activities:"",hobbies:"",whose_choice:""});const p=P().shape({ambition:_().required("This field is required").label("This"),ambition_reason:_().required("This field is required").label("This"),off_campus_activities:_().required("This field is required").label("This"),hobbies:_().required("This field is required").label("This")});v("onModuleLoad",p),t._isInit=!0}),(p,s)=>t._isInit?(b(),g("div",_s,[s[10]||(s[10]=e("h4",{class:"mb-10 font-weight-bold text-dark"},"Vocational Interest",-1)),e("div",fs,[e("div",cs,[e("div",ps,[s[5]||(s[5]=e("label",{class:"form-label"},[d("Ambition: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.ambition,"onUpdate:modelValue":s[0]||(s[0]=o=>t.data.user_other_information.ambition=o),as:"textarea",class:"form-control",name:"ambition",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"ambition"})])]),e("div",bs,[e("div",hs,[s[6]||(s[6]=e("label",{class:"form-label"},"Whose choice?:",-1)),u(e("input",{"onUpdate:modelValue":s[1]||(s[1]=o=>t.data.user_other_information.whose_choice=o),class:"form-control",type:"text"},null,512),[[y,t.data.user_other_information.whose_choice]])])])]),e("div",vs,[e("div",ys,[e("div",gs,[s[7]||(s[7]=e("label",{class:"form-label"},[d("Reasons: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.ambition_reason,"onUpdate:modelValue":s[2]||(s[2]=o=>t.data.user_other_information.ambition_reason=o),as:"textarea",class:"form-control",name:"ambition_reason",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"ambition_reason"})])])]),e("div",xs,[e("div",Vs,[e("div",$s,[s[8]||(s[8]=e("label",{class:"form-label"},[d("Off Campus Activities: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.off_campus_activities,"onUpdate:modelValue":s[3]||(s[3]=o=>t.data.user_other_information.off_campus_activities=o),as:"textarea",class:"form-control",name:"off_campus_activities",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"off_campus_activities"})])])]),e("div",ws,[e("div",ks,[e("div",Ss,[s[9]||(s[9]=e("label",{class:"form-label"},[d("Hobbies?: "),e("span",{class:"text-danger"},"*")],-1)),n(r(f),{modelValue:t.data.user_other_information.hobbies,"onUpdate:modelValue":s[4]||(s[4]=o=>t.data.user_other_information.hobbies=o),as:"textarea",class:"form-control",name:"hobbies",rows:"5"},null,8,["modelValue"]),n(r(c),{class:"form-text text-danger",name:"hobbies"})])])])])):V("",!0)}}),qs="https://cdn.bulan.sorsu.edu.ph/images/illustrations/publish-article.svg",Ts={class:"pb-5"},Is={key:0,class:"h6 font-italic"},As={key:1,class:"form-group"},Ms={class:"form-check mt-6"},Ps=q({__name:"FinalReview",props:["isAuthorized","isSubmitted"],emits:["onAuthorized"],setup(x,{emit:l}){const t=T({_isAuthorized:!1}),h=x,v=l;return U(()=>t._isAuthorized,p=>{v("onAuthorized",p)}),I(()=>{t._isAuthorized=h.isAuthorized}),(p,s)=>(b(),g("div",Ts,[s[2]||(s[2]=e("h4",{class:"mb-10 fw-bold fs-2 text-dark text-center"},"Thank you for taking the time to complete this form!",-1)),s[3]||(s[3]=e("div",{class:"d-flex justify-content-center"},[e("img",{alt:"Publish article",class:"w-50",src:qs})],-1)),h.isSubmitted?V("",!0):(b(),g("div",Is,"Authorization and Consent to Release Information")),h.isSubmitted?V("",!0):(b(),g("div",As,[e("div",Ms,[u(e("input",{id:"consent","onUpdate:modelValue":s[0]||(s[0]=o=>
1t._isAuthorized=o),class:"form-check-input",name:"authorized",type:"checkbox",value:"1"},null,512),[[z,t._isAuthorized]]),s[1]||(s[1]=C('<label class="form-check-label fs-3 text-dark ps-4" for="consent"> I hereby <strong>authorize</strong> the <strong>Office of the Guidance and Counseling Services (OGCS)</strong> to <strong>release</strong> any information that may have been obtained from my <strong>Individual Profile form</strong> with the understanding that OGCS will utilize the data as it deemed necessary in my stay as an official student at SorSU. I also <strong>allow</strong> the <strong>office of the Guidance and Counseling Services</strong> to <strong>use the information for research purposes</strong>. </label>',1))])]))]))}}),Ds={key:0},Ls={class:"stepper stepper-pills stepper-column d-flex flex-column flex-xl-row flex-row-fluid my-5"},Ns={class:"d-flex justify-content-center justify-content-xl-start flex-row-auto w-100 w-xl-300px"},Cs={class:"stepper-nav ps-lg-10"},Ws=["onClick"],Os={class:"stepper-wrapper"},Fs={class:"stepper-icon w-40px h-40px"},zs={class:"stepper-number"},Bs={class:"stepper-label"},Gs={class:"stepper-title"},js={key:0,class:"stepper-line h-40px"},Es={class:"flex-row-fluid py-lg-5 px-lg-15"},Rs={key:7,class:"d-flex justify-content-between border-top mt-5 pt-10"},Ys={class:"mr-2"},Hs=["disabled"],Qs=["disabled"],Zs=["disabled"],aa=q({__name:"IndividualForm",setup(x){const l=T({profile:{},profileUpdated:{},completedSteps:[],navigations:[{label:"Personal Information",icon:"fas fa-user",isValid:!1},{label:"Special Population",icon:"fas fa-users",isValid:!1},{label:"Family Status",icon:"fas fa-users",isValid:!1},{label:"Educational Background",icon:"fas fa-graduation-cap",isValid:!1},{label:"Academic Goals",icon:"fas fa-pencil-alt",isValid:!1},{label:"Vocational Interest",icon:"fas fa-thumbs-up",isValid:!1},{label:"Submit",icon:"fas fa-clipboard-check",isValid:!1}],_currentValidationSchema:{},_currentStep:0,_isAuthorized:!1,_isLoading:!1,_isProcessing:!1,_isSubmitted:!1});function t(m=null){let $=!1;return m==="prev"?l._currentStep>0&&l._currentStep<l.navigations.length-1&&($=l.navigations[l._currentStep-1].isValid):m&&m>=0&&m<l.navigations.length&&($=l.navigations[m].isValid),l.navigations[l._currentStep].isValid||$}function h(m){t(m)&&(m<=l._currentStep||l.completedSteps.includes(m))&&(l._currentStep=m)}function v(m){l._isAuthorized=m}function p(m){m==="prev"&&l._currentStep>=1?l._currentStep--:m==="next"&&l._currentStep<l.navigations.length-1&&(l.completedSteps.push(l._currentStep),l._currentStep++)}function s(){return N(this,null,function*(){l._isProcessing=!0,yield O.put("student/profile",{profile:l.profileUpdated}).then(({data:m})=>{F.fire("Success",m.message,"success"),l._isSubmitted=!0}),l._isProcessing=!1})}function o(m){l.profileUpdated=m}function a(m){l._currentValidationSchema=m}function i(m){if(!m){F.fire("Error","Please double check your input","error");return}p("next")}return I(()=>N(this,null,function*(){l._isLoading=!0,yield O.get("student/profile","?items=all").then(({data:m})=>{l.profile=m,l.profileUpdated=A.cloneDeep(m)}),l._isLoading=!1})),(m,$)=>l._isLoading?(b(),g("span",Ds,[n(Z)])):(b(),k(Q,{key:1,"card-title":"Individual Form","hide-header":""},{default:M(()=>[e("div",Ls,[e("div",Ns,[e("div",Cs,[(b(!0),g(G,null,j(l.navigations,(D,w)=>(b(),g("div",{key:"step-"+w,class:Y([{current:w==l._currentStep,completed:(w<l._currentStep||l.completedSteps.includes(w))&&w!=l._currentStep},"stepper-item"]),onClick:Js=>h(w)},[e("div",Os,[e("div",Fs,[$[1]||($[1]=e("i",{class:"stepper-check fas fa-check"},null,-1)),e("span",zs,L(w+1),1)]),e("div",Bs,[e("h3",Gs,L(D.label),1)])]),w<l.navigations.length-1?(b(),g("div",js)):V("",!0)],10,Ws))),128))])]),e("div",Es,[n(r(H),{"validation-schema":l._currentValidationSchema,class:"mb-5",onSubmit:i},{default:M(()=>[l._currentStep===0?(b(),k(Oe,{key:0,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o},null,8,["profile"])):l._currentStep===1?(b(),k(lt,{key:1,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o},null,8,["profile"])):l._currentStep===2?(b(),k(bo,{key:2,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o}
1,null,8,["profile"])):l._currentStep===3?(b(),k(Jo,{key:3,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o},null,8,["profile"])):l._currentStep===4?(b(),k(us,{key:4,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o},null,8,["profile"])):l._currentStep===5?(b(),k(Us,{key:5,profile:l.profileUpdated,onOnModuleLoad:a,onOnWatched:o},null,8,["profile"])):l._currentStep===6?(b(),k(Ps,{key:6,"is-authorized":l._isAuthorized,"is-submitted":l._isSubmitted,onOnAuthorized:v},null,8,["is-authorized","is-submitted"])):V("",!0),l._isSubmitted?V("",!0):(b(),g("div",Rs,[e("div",Ys,[l._currentStep>=1?(b(),g("button",{key:0,disabled:l._isProcessing,class:"btn btn-light-primary fw-bolder text-uppercase px-9 py-4",type:"button",onClick:$[0]||($[0]=D=>p("prev"))}," Previous ",8,Hs)):V("",!0)]),e("div",null,[l._isAuthorized&&l._currentStep===l.navigations.length-1?(b(),g("button",{key:0,disabled:l._isProcessing,class:"btn btn-success font-weight-bolder text-uppercase px-9 py-4",type:"button",onClick:s},"Submit ",8,Qs)):V("",!0),l._currentStep<l.navigations.length-1?(b(),g("button",{key:1,disabled:l._isProcessing,class:"btn btn-primary fw-bolder text-uppercase px-9 py-4",type:"submit"}," Next ",8,Zs)):V("",!0)])]))]),_:1},8,["validation-schema"])])])]),_:1}))}});export{aa 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.