PageSourceSearch

https://intranet.arrossaires.com/build/assets/Login-66a27897.js

js arrossaires.com collected 2026-09-24 10:01:30 UTC 2,580 bytes, 1 lines download raw bytes

1import{T as w,o as i,e as d,b as o,u as t,w as l,F as _,Z as x,t as y,f as u,a,c as k,g as c,j as v,n as V,i as C}from"./app-f77acba6.js";import{A as h}from"./AuthenticationCard-9187d0de.js";import{A as B}from"./AuthenticationCardLogo-b6ad995e.js";import{_ as $}from"./Checkbox-7488c5b4.js";import{_ as f,a as p}from"./TextInput-d9881cad.js";import{_ as g}from"./InputLabel-1ab457c0.js";import{_ as A}from"./PrimaryButton-9c3304e6.js";/* empty css            */import"./_plugin-vue_export-helper-c27b6911.js";import"./logo-arrossaires-320e372a.js";const N={key:0,class:"mb-4 font-medium text-sm text-green-600"},q={class:"mt-4"},F={class:"block mt-4"},L={class:"flex items-center"},R={class:"flex items-center justify-end mt-4"},Z={__name:"Login",props:{canResetPassword:Boolean,status:String},setup(m){const e=w({email:"",password:"",remember:!1}),b=()=>{console.log(route("login")),e.transform(n=>({...n,remember:e.remember?"on":""})).post(route("login"),{onFinish:()=>e.reset("password")})};return(n,s)=>(i(),d(_,null,[o(t(x),{title:"Log in"}),o(h,null,{logo:l(()=>[o(B)]),default:l(()=>[m.status?(i(),d("div",N,y(m.status),1)):u("",!0),a("form",{onSubmit:C(b,["prevent"])},[a("div",null,[o(g,{for:"email",value:"Correu electrònic"}),o(f,{id:"email",modelValue:t(e).email,"onUpdate:modelValue":s[0]||(s[0]=r=>t(e).email=r),type:"email",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.email},null,8,["message"])]),a("div",q,[o(g,{for:"password",value:"Contrasenya"}),o(f,{id:"password",modelValue:t(e).password,"onUpdate:modelValue":s[1]||(s[1]=r=>t(e).password=r),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"current-password"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.password},null,8,["message"])]),a("div",F,[a("label",L,[o($,{checked:t(e).remember,"onUpdate:checked":s[2]||(s[2]=r=>t(e).remember=r),name:"remember"},null,8,["checked"]),s[3]||(s[3]=a("span",{class:"ml-2 text-sm text-gray-600"},"Recorda'm",-1))])]),a("div",R,[m.canResetPassword?(i(),k(t(v),{key:0,href:n.route("password.request"),class:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:l(()=>s[4]||(s[4]=[c(" Has oblidat la teva contrasenya? ")])),_:1},8,["href"])):u("",!0),o(A,{class:V(["ml-4",{"opacity-25":t(e).processing}]),disabled:t(e).processing},{default:l(()=>s[5]||(s[5]=[c(" Entrar ")])),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{Z 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.