import{_ as w}from"./Cf-yiqoR.js";import{z as p,A as _,r as m,g as b,B as u,c as V,o as x,a as d,b as l,w as n,i as o}from"./DzTg5x6T.js";const U={class:"min-h-screen flex items-center justify-center bg-gradient-to-r from-blue-500 to-indigo-500"},g={class:"grid grid-cols-1 md:grid-cols-2"},P={class:"bg-white p-8 rounded shadow-md w-full max-w-md"},B=p({__name:"index",setup(v){_(),m(""),m(""),m("");const c=[{label:"Account",icon:"i-lucide-user",slot:"account"},{label:"Password",icon:"i-lucide-lock",slot:"password"}],s=b({name:"Benjamin Canac",username:"benjamincanac",currentPassword:"",newPassword:"",confirmPassword:""});return(C,e)=>{const t=u("UInput"),r=u("UFormField"),i=u("UForm"),f=u("UTabs");return x(),V("div",U,[d("div",g,[e[6]||(e[6]=d("div",null,[d("img",{src:w,alt:"Login Image",class:"w-full h-full object-cover"})],-1)),d("div",P,[e[5]||(e[5]=d("h2",{class:"text-4xl font-bold mb-6 text-center text-blue-600"},"Connexion",-1)),l(f,{items:c},{account:n(()=>[l(i,{state:o(s),class:"flex flex-col gap-4"},{default:n(()=>[l(r,{label:"Name",name:"name"},{default:n(()=>[l(t,{modelValue:o(s).name,"onUpdate:modelValue":e[0]||(e[0]=a=>o(s).name=a),class:"w-full"},null,8,["modelValue"])]),_:1}),l(r,{label:"Username",name:"username"},{default:n(()=>[l(t,{modelValue:o(s).username,"onUpdate:modelValue":e[1]||(e[1]=a=>o(s).username=a),class:"w-full"},null,8,["modelValue"])]),_:1})]),_:1},8,["state"])]),password:n(()=>[l(i,{state:o(s),class:"flex flex-col gap-4"},{default:n(()=>[l(r,{label:"Current Password",name:"current",required:""},{default:n(()=>[l(t,{modelValue:o(s).currentPassword,"onUpdate:modelValue":e[2]||(e[2]=a=>o(s).currentPassword=a),type:"password",required:"",class:"w-full"},null,8,["modelValue"])]),_:1}),l(r,{label:"New Password",name:"new",required:""},{default:n(()=>[l(t,{modelValue:o(s).newPassword,"onUpdate:modelValue":e[3]||(e[3]=a=>o(s).newPassword=a),type:"password",required:"",class:"w-full"},null,8,["modelValue"])]),_:1}),l(r,{label:"Confirm Password",name:"confirm",required:""},{default:n(()=>[l(t,{modelValue:o(s).confirmPassword,"onUpdate:modelValue":e[4]||(e[4]=a=>o(s).confirmPassword=a),type:"password",required:"",class:"w-full"},null,8,["modelValue"])]),_:1})]),_:1},8,["state"])]),_:1})])])])}}});export{B as default};
