1import{u as f,c as b,a as o,_ as x}from"./object.D7vDoeAc.js";import{_ as h}from"./Input.vue.C7EFJG9s.js";import{_ as w}from"./nuxt-link.COG6dLJE.js";import{_ as g}from"./Button.vue.DD9LGeO0.js";import{f as y,u as v,o as N,c as k,a as t,b as e,w as r,d as a,l as c}from"./entry.BxrKbY13.js";import"./_commonjsHelpers.Cpj98o6Y.js";import"./Icon.DUfj3xau.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";import"./index.wBLq28id.js";const S={class:"flex items-center justify-center h-full"},V={class:"mb-5 flex gap-2 justify-between items-center"},B={class:"flex flex-wrap gap-2 items-center text-sm"},E=t("input",{type:"checkbox",class:"w-4 h-4 rounded text-primary-500 focus:ring-primary-500 transition duration-300"},null,-1),P=t("span",null," I agree with ",-1),$={class:"text-gray-600 text-sm"},L=y({__name:"register",setup(q){v({title:"Register"});const{handleSubmit:d}=f({validationSchema:b({name:o().required().label("Name"),email:o().required().email().label("Email"),password:o().required().label("Password")})}),n=d(l=>{console.log(JSON.stringify(l,null,2))});return(l,i)=>{const p=x,s=h,m=w,_=g;
1return N(),k("div",S,[t("form",{class:"rounded-lg p-8 w-full max-w-md mx-auto",onSubmit:i[0]||(i[0]=(...u)=>c(n)&&c(n)(...u))},[e(p,{title:"Register",subtitle:"Please enter your credentials"}),e(s,{"wrapper-class":"mb-4",name:"name",label:"Name",placeholder:"Name"}),e(s,{"wrapper-class":"mb-4",name:"email",label:"Email",placeholder:"Email"}),e(s,{"wrapper-class":"mb-4",name:"password",label:"Password",placeholder:"Password",type:"password"}),t("div",V,[t("label",B,[E,P,e(m,{to:"/toc",class:"text-primary-500 hover:underline font-semibold text-sm inline"},{default:r(()=>[a(" Terms and Condition ")]),_:1})])]),e(_,{type:"submit",color:"primary",block:"",class:"mb-5"},{default:r(()=>[a(" Register ")]),_:1}),t("div",$,[a(" Already have an account? "),e(m,{to:"/auth/login",class:"text-primary-500 hover:underline font-semibold text-sm"},{default:r(()=>[a(" Login ")]),_:1})])],32)])}}});export{L 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.