PageSourceSearch

https://enrollment.addu.edu.ph/build/assets/RecommendationForm-4BJ82oor.js

js addu.edu.ph collected 2026-10-01 12:23:32 UTC 10,409 bytes, 1 lines download raw bytes

1import{X as u,G as p,j as e}from"./app-xGiSYlLH.js";import{I as i}from"./InputLabel-DeAYA2Ld.js";import{l as f}from"./sealImage-B_LKgBDI.js";import{F as n}from"./Form-CLxnCrpY.js";import{m as g}from"./proxy-Bjnbpbz3.js";import"./ThemeProvider-p0sQOPHG.js";import"./index-BtvG4S9m.js";function R({reference:o,applicant:t}){const{flash:j}=u().props,{data:a,setData:r,post:c,processing:d,errors:l}=p({firstname:"",lastname:"",relationship:(o==null?void 0:o.relationship)??"",position:"",organization:"",academic_competence:"",personal_qualities:"",grad_potential:"",endorsment_level:""}),x=[{value:"Strongly Recommended",label:"Strongly Recommended"},{value:"Recommended with Reservations",label:"Recommended with Reservations"},{value:"Not Recommended",label:"Not Recommended"}],m=s=>{s.preventDefault(),c(`/store-recommendation/${o.id}`)};return e.jsxs("section",{className:"w-full min-h-screen flex flex-col gap-8 justify-center bg-gray-100",children:[e.jsxs("div",{className:"w-full md:p-6 p-4 bg-blue-950 flex md:flex-row flex-col items-center justify-start gap-2",children:[e.jsx("img",{src:f,alt:"background",className:"w-20 h-20 object-cover"}),e.jsxs("h1",{className:"flex flex-col md:justify-start md:items-start justify-center items-center md:text-left text-center font-trajanpro uppercase text-white md:text-3xl text-xl",children:["ateneo de davao university",e.jsx("span",{className:"uppercase md:text-sm text-[10px]",children:"Graduate School — Reference Evaluation Form"})]})]}),e.jsxs(n,{onSubmit:m,className:"w-full flex flex-col gap-4 justify-center items-center p-4",children:[e.jsxs("div",{className:"w-full bg-white rounded-none shadow-md p-4",children:[e.jsxs("div",{className:"inline-flex gap-2 text-blue-950 mb-3",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-7 h-7",children:e.jsx("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"})}),e.jsx("h3",{className:"text-blue-950",children:"Applicant Information"})]}),e.jsxs("div",{className:"w-full bg-blue-50 border-l-4 border-blue-950 p-4 rounded",children:[e.jsx("p",{className:"text-sm text-gray-600",children:"You are completing a reference evaluation for:"}),e.jsxs("p",{className:"text-lg font-bold text-blue-950",children:[t==null?void 0:t.firstname," ",t==null?void 0:t.lastname]}),e.jsxs("p",{className:"text-sm text-gray-600 mt-1",children:["Program Applied:"," ",e.jsx("span",{className:"font-semibold text-gray-800",children:t==null?void 0:t.program_1})]})]})]}),e.jsxs("div",{className:"w-full bg-white rounded-none shadow-md p-4 flex flex-col gap-4",children:[e.jsxs("div",{className:"inline-flex gap-2 text-blue-950",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-7 h-7",children:e.jsx("path",{fillRule:"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z",clipRule:"evenodd"})}),e.jsx("h3",{className:"text-blue-950",children:"Your Information"})]}),e.jsxs("div",{className:"w-full flex flex-col md:flex-row gap-2",children:[e.jsxs("div",{className:"flex flex-col md:w-[33%] w-full",children:[e.jsxs(i,{children:["First Name"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(n.Control,{type:"text",value:a.firstname,onChange:s=>r("firstname",s.target.value),placeholder:"Your first name",required:!0}),l.firstname&&e.jsx("span",{className:"text-red-500 text-sm",children:l.firstname})]}),e.jsxs("div",{className:"flex flex-col md:w-[33%] w-full",children:[e.jsxs(i,{children:["Last Name"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(n.Control,{type:"text",value:a.lastname,onChange:s=>r("lastname",s.target.value),placeholder:"Your last name",required:!0}),l.lastname&&e.jsx("span",{className:"text-red-500 text-sm",children:l.lastname})]}),e.jsxs("div",{className:"flex flex-col md:w-[33%] w-full",children:[e.jsxs(i,{children:["Relationship to Applicant"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(n.Control,{type:"text",value:a.relationship,onChange:s=>r("relationship",s.target.value),placeholder:"e.g., Former Professor, Supervisor",required:!0}),l.relationship&&e.jsx("span",{className:"text-red-500 text-sm",children:l.relationship})]})]}),e.jsxs("div",{className:"w-full flex flex-col md:flex-row gap-2",children:[e.jsxs("div",{className:"flex flex-col md:w-[50%] w-full",children:[e.jsxs(i,{children:["Position / Title"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(n.Control,{type:"text",value:a.position,onChange:s=>r("position",s.target.value),placeholder:"e.g., Professor, Department Head",required:!0}),l.position&&e.jsx("span",{className:"text-red-500 text-sm",children:l.position})]}),e.jsxs("div",{className:"flex flex-col md:w-[50%] w-full",children:[e.jsxs(i,{children:["Organization / Institution"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(n.Control,{type:"text",value:a.organization,onChange:s=>r("organization",s.target.value),placeholder:"e.g., University of the Philippines",required:!0}),l.organization&&e.jsx("span",{className:"text-red-500 text-sm",children:l.organization})]})]})]}),e.jsxs("div",{className:"w-full bg-white rounded-none shadow-md p-4 flex flex-col gap-4",children:[e.jsxs("div",{className:"inline-flex gap-2 text-blue-950",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor",className:"w-7 h-7",children:e.jsx("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"})}),e.jsx("h3",{className:"text-blue-950",children:"Evaluation Ratings"})]}),e.jsx("p",{className:"text-sm text-gray-500 italic",children:"Please evaluate the applicant on the following criteria:"}),e.jsx("div",{className:"w-full h-[1px] bg-blue-950"}),e.jsxs("div",{className:"w-full flex flex-col gap-1",children:[e.jsxs(i,{children:["Academic & Professional Competence"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("p",{className:"text-xs text-gray-500",children:"Highlight specific skills relevant to graduate-level work such as ability to understand, analyze, and apply academic concepts. Provide concrete examples (projects, reports, presentations, or achievements)."}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-1",children:e.jsx(n.Control,{as:"textarea",placeholder:"Input your answer here",value:a.academic_competence,onChange:s=>r("academic_competence",s.target.value),style:{height:"100px"},required:!0})}),l.academic_competence&&e.jsx("span",{className:"text-red-500 text-sm",children:l.academic_competence})]}),e.jsx("div",{className:"w-full h-[1px] bg-gray-200"}),e.jsxs("div",{className:"w-full flex flex-col gap-1",children:[e.jsxs(i,{children:["Personal Qualities"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("p",{className:"text-xs text-gray-500",children:"Describe their character, integrity, interpersonal skills, and professionalism."}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-1",children:e.jsx(n.Control,{as:"textarea",placeholder:"Input your answer here",value:a.personal_qualities,onChange:s=>r("personal_qualities",s.target.value),style:{height:"100px"},required:!0})}),l.personal_qualities&&e.jsx("span",{className:"text-red-500 text-sm",children:l.personal_qualities})]}),e.jsx("div",{className:"w-full h-[1px] bg-gray-200"}),e.jsxs("div",{className:"w-full flex flex-col gap-1",children:[e.jsxs(i,{children:["Graduate Study Potential"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("p",{className:"text-xs text-gray-500",children:"Assess their capacity and readiness to succeed in graduate-level studies. Explain why they are well-suited for advanced academic work."}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-1",children:e.jsx(n.Control,{as:"textarea",placeholder:"Input your answer here",value:a.grad_potential,onChange:s=>r("grad_potential",s.target.value),style:{height:"100px"},required:!0})}),l.grad_potential&&e.jsx("span",{className:"text-red-500 text-sm",children:l.grad_potential})]}),e.jsx("div",{className:"w-full h-[1px] bg-blue-950"}),e.jsxs("div",{className:"w-full flex flex-col gap-1",children:[e.jsxs(i,{children:["Overall Endorsement"," ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("p",{className:"text-xs text-gray-500",children:"Your overall recommendation for this applicant's admission."}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-1",children:x.map(s=>e.jsxs("label",{className:`cursor-pointer px-3 py-1 rounded border text-sm font-medium transition-all ${a.endorsment_level===s.value?"bg-blue-950 text-white border-blue-950":"bg-white text-gray-700 border-gray-300 hover:border-blue-950"}`,children:[e.jsx("input",{type:"radio",name:"endorsment_level",value:s.value,checked:a.endorsment_level===s.value,onChange:h=>r("endorsment_level",h.target.value),className:"hidden",required:!0}),s.label]},s.value))}),l.endorsment_level&&e.jsx("span",{className:"text-red-500 text-sm",children:l.endorsment_level})]})]}),e.jsxs("div",{className:"w-full bg-blue-50 border-l-4 border-blue-950 p-4 rounded text-sm text-blue-950",children:[e.jsx("strong",{className:"block mb-1",children:"Confidentiality Notice"}),"All information provided in this form will be treated with strict confidentiality and used solely for evaluating the applicant's admission to the ADDU Graduate School."]}),e.jsx(g.button,{initial:{scale:1},whileHover:{scale:1.05},whileTap:{scale:.9},type:"submit",disabled:d,className:"w-3/4 rounded-lg bg-[#003399] text-white tracking-wide font-semibold uppercase text-lg p-2 disabled:opacity-60",children:d?"Submitting...":"Submit Recommendation"})]})]})}export{R 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.