PageSourceSearch

https://utanvet-ellenor.hu/dist/assets/PasswordResetForm.9f5cad88.js

js utanvet-ellenor.hu collected 2026-09-24 18:52:15 UTC 1,801 bytes, 2 lines download raw bytes

1import{o as n,c as l,a as t,d as a,t as m,S as d,F as p}from"./app.a816cb64.js";import{a as u}from"./axios.f1f32898.js";import{n as i}from"./notification.1528931b.js";import{_ as f}from"./TextField.5877dd14.js";import{L as c}from"./LoadingOverlay.03494e6c.js";import"./event-bus.8f912ae3.js";import"./Base.857045cd.js";import"./plugin-vue_export-helper.21dcd24c.js";import"./XMarkIcon.85e7adf4.js";const g={class:"w-full px-12 text-center"},h={type:"submit",class:"button is-primary"},w={name:"PasswordResetForm",emits:["close"],data(){return{loginName:"",loading:!1,response:null}},computed:{payload(){return{loginName:this.loginName,CRAFT_CSRF_TOKEN:window.csrfToken}},errors(){return this.response?this.response.error?{loginName:[this.response.error]}:{}:{}}},methods:{async submit(){this.response=null,this.loading=!0,await u.post(window.endpoints.users.password.reset,this.payload).then(s=>{this.response=s.data,this.$emit("close"),i({title:"Password reset successful!",message:"We have sent a password reset email to the provided address.",type:"success"})}).catch(s=>{this.loading=!1,i({title:"An error occurred during password reset!",message:s.response.data.message,type:"error"})}).finally(()=>{this.loading=!1})}}},k=Object.assign(w,{setup(s){return(e,o)=>(n(),l(p,null,[t("form",{onSubmit:o[1]||(o[1]=d((...r)=>e.submit&&e.submit(...r),["prevent"])),class:"flex flex-col space-y-6"},[a(f,{label:"E-mail",type:"email",handle:"loginName",placeholder:"[email protected]",modelValue:e.loginName,"onUpdate:modelValue":o[0]||(o[0]=r=>e.loginName=r),errors:e.errors,required:!0},null,8,["modelValue","errors"]),t("div",g,[t("button",h,m(e.$t("Reset password")),1)])],32),a(c,{loading:e.loading},null,8,["loading"])],64))}});export{k as default};
2//# sourceMappingURL=PasswordResetForm.9f5cad88.js.map

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.