%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/
Upload File :
Create Path :
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/8ddb550.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{474:function(t,e,r){"use strict";r.r(e);var n=r(0),o=(r(3),{auth:"guest",head:function(){return{titleTemplate:"Forgot your password? | %s"}},data:function(){return{working:!1,email:null}},methods:{sendResetEmail:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$refs.form.validate().then((function(e){e&&(t.working=!0,t.$axios.post("/password/email",{email:t.email}).then((function(e){t.working=!1,t.$toast.success(e.data).goAway(3e3)})).catch((function(e){t.working=!1,t.$toast.error(e.response.data).goAway(3e3),t.$refs.form.setErrors(e.response.data.errors)})))}));case 1:case"end":return e.stop()}}),e)})))()}}}),l=r(10),component=Object(l.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-wrapper"},[r("section",{staticClass:"bg-gray py-20 px-8"},[r("div",{staticClass:"max-w-xl mx-auto w-full"},[t._m(0),t._v(" "),r("ValidationObserver",{ref:"form"},[r("form",{attrs:{role:"form",method:"POST"},on:{submit:function(e){return e.preventDefault(),t.sendResetEmail(e)}}},[r("div",{staticClass:"relative mb-4"},[r("label",{staticClass:"form-label",attrs:{for:"email"}},[t._v("Email")]),t._v(" "),r("ValidationProvider",{attrs:{name:"email",rules:"required|email"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[r("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",attrs:{type:"email",id:"email",placeholder:"Enter your email address..."},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),n[0]?r("span",{staticClass:"field-invalid"},[t._v(t._s(n[0]))]):t._e()]}}])})],1),t._v(" "),r("button",{staticClass:"w-full btn btn-primary rounded-full",attrs:{disabled:1==t.working,type:"submit"}},[0==t.working?r("span",[t._v("Send Reset Email")]):r("span",{staticClass:"flex items-center justify-center"},[r("svg",{staticClass:"animate-spin -ml-1 mr-3 h-5 w-5 text-current",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}},[r("circle",{staticClass:"opacity-25",attrs:{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}}),t._v(" "),r("path",{staticClass:"opacity-75",attrs:{fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}})]),t._v(" "),r("span",[t._v("Processing")])])])])])],1)])])}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("header",{staticClass:"text-center mb-10"},[r("h1",{staticClass:"text-4xl font-bold"},[t._v("Forgot your password?")])])}],!1,null,null,null);e.default=component.exports;installComponents(component,{Header:r(101).default})}}]);

Zerion Mini Shell 1.0