PageSourceSearch

https://fonds.lv/build/assets/UpdateProfileInformationForm-DdSsBojO.js

js fonds.lv collected 2026-09-24 10:04:27 UTC 2,564 bytes, 1 lines download raw bytes

1import{V as y,T as x,f as r,b as i,g as p,a,u as t,l as V,e as n,w as m,i as _,z as b,o as u,k,d as w}from"./app-B9KORyBa.js";import{_ as c}from"./InputError-BH5ciAU3.js";import{_ as g}from"./InputLabel-C-zTQq7X.js";import{P as S}from"./PrimaryButton-vaEit9c1.js";import{_ as v}from"./TextInput-C7OaZZNQ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const E={key:0},B={class:"text-sm mt-2 text-gray-800"},h={class:"mt-2 font-medium text-sm text-green-600"},N={class:"flex items-center gap-4"},P={key:0,class:"text-sm text-gray-600"},C={__name:"UpdateProfileInformationForm",props:{mustVerifyEmail:{type:Boolean},status:{type:String}},setup(d){const l=y().props.auth.user,s=x({name:l.name,email:l.email});return(f,e)=>(u(),r("section",null,[e[6]||(e[6]=i("header",null,[i("h2",{class:"text-lg font-medium text-gray-900"},"Profila informācija")],-1)),i("form",{onSubmit:e[2]||(e[2]=w(o=>t(s).patch(f.route("assessor.profile.update")),["prevent"])),class:"mt-6 space-y-6"},[i("div",null,[a(g,{for:"name",value:"Vārds"}),a(v,{id:"name",type:"text",class:"mt-1 block w-full",modelValue:t(s).name,"onUpdate:modelValue":e[0]||(e[0]=o=>t(s).name=o),required:"",autofocus:"",autocomplete:"name"},null,8,["modelValue"]),a(c,{class:"mt-2",message:t(s).errors.name},null,8,["message"])]),i("div",null,[a(g,{for:"email",value:"Epasts"}),a(v,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:t(s).email,"onUpdate:modelValue":e[1]||(e[1]=o=>t(s).email=o),required:"",autocomplete:"username"},null,8,["modelValue"]),a(c,{class:"mt-2",message:t(s).errors.email},null,8,["message"])]),d.mustVerifyEmail&&t(l).email_verified_at===null?(u(),r("div",E,[i("p",B,[e[4]||(e[4]=n(" Epasts nav apstiprināts. ",-1)),a(t(_),{href:f.route("verification.send"),method:"post",as:"button",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:m(()=>[...e[3]||(e[3]=[n(" Spiežat šeit lai apstiprinātu epastu. ",-1)])]),_:1},8,["href"])]),V(i("div",h," Epasts ar apstiprinājuma saiti ir nosūtīts uz Jūsu epastu. ",512),[[b,d.status==="verification-link-sent"]])])):p("",!0),i("div",N,[a(S,{disabled:t(s).processing},{default:m(()=>[...e[5]||(e[5]=[n("Saglabāt",-1)])]),_:1},8,["disabled"]),a(k,{"enter-active-class":"transition ease-in-out","enter-from-class":"opacity-0","leave-active-class":"transition ease-in-out","leave-to-class":"opacity-0"},{default:m(()=>[t(s).recentlySuccessful?(u(),r("p",P,"Saglabāts.")):p("",!0)]),_:1})])],32)]))}};export{C 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.