2 lines
25 KiB
JavaScript
2 lines
25 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["reset"],{"0395":function(t,e,r){"use strict";r("caad");var n=r("7a23"),c=Object(n["withScopeId"])("data-v-06a2ad44");Object(n["pushScopeId"])("data-v-06a2ad44");var o={id:"user-auth-form"},a={id:"user-form"},i={class:"form-items"},s={key:1},l=Object(n["createTextVNode"])(" - "),u={key:2},d={class:"account"};Object(n["popScopeId"])();var p=c((function(t,e,r,p,f,h){var b=Object(n["resolveComponent"])("AlertMessage"),O=Object(n["resolveComponent"])("router-link"),v=Object(n["resolveComponent"])("ErrorMessage");return Object(n["openBlock"])(),Object(n["createBlock"])("div",o,[Object(n["createVNode"])("div",a,[Object(n["createVNode"])("div",{class:["form-box",{disabled:t.registration_disabled}]},[t.registration_disabled?(Object(n["openBlock"])(),Object(n["createBlock"])(b,{key:0,message:"user.REGISTER_DISABLED"})):Object(n["createCommentVNode"])("",!0),Object(n["createVNode"])("form",{onSubmit:e[5]||(e[5]=Object(n["withModifiers"])((function(e){return t.onSubmit(t.action)}),["prevent"]))},[Object(n["createVNode"])("div",i,["register"===t.action?Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createBlock"])("input",{key:0,id:"username",disabled:t.registration_disabled,required:"","onUpdate:modelValue":e[1]||(e[1]=function(e){return t.formData.username=e}),placeholder:t.$t("user.USERNAME")},null,8,["disabled","placeholder"])),[[n["vModelText"],t.formData.username]]):Object(n["createCommentVNode"])("",!0),"reset"!==t.action?Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createBlock"])("input",{key:1,id:"email",disabled:t.registration_disabled,required:"",type:"email","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.formData.email=e}),placeholder:"reset-request"===t.action?t.$t("user.ENTER_EMAIL"):t.$t("user.EMAIL")},null,8,["disabled","placeholder"])),[[n["vModelText"],t.formData.email]]):Object(n["createCommentVNode"])("",!0),"reset-request"!==t.action?Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createBlock"])("input",{key:2,id:"password",disabled:t.registration_disabled,required:"",type:"password","onUpdate:modelValue":e[3]||(e[3]=function(e){return t.formData.password=e}),placeholder:"reset"===t.action?t.$t("user.ENTER_PASSWORD"):t.$t("user.PASSWORD")},null,8,["disabled","placeholder"])),[[n["vModelText"],t.formData.password]]):Object(n["createCommentVNode"])("",!0),["register","reset"].includes(t.action)?Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createBlock"])("input",{key:3,id:"confirm-password",disabled:t.registration_disabled,type:"password",required:"","onUpdate:modelValue":e[4]||(e[4]=function(e){return t.formData.password_conf=e}),placeholder:"reset"===t.action?t.$t("user.ENTER_PASSWORD_CONFIRMATION"):t.$t("user.PASSWORD_CONFIRM")},null,8,["disabled","placeholder"])),[[n["vModelText"],t.formData.password_conf]]):Object(n["createCommentVNode"])("",!0)]),Object(n["createVNode"])("button",{type:"submit",disabled:t.registration_disabled},Object(n["toDisplayString"])(t.$t(t.buttonText)),9,["disabled"])],32),"login"===t.action?(Object(n["openBlock"])(),Object(n["createBlock"])("div",s,[Object(n["createVNode"])(O,{class:"links",to:"/register"},{default:c((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(t.$t("user.REGISTER")),1)]})),_:1}),l,Object(n["createVNode"])(O,{class:"links",to:"/password-reset/request"},{default:c((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(t.$t("user.PASSWORD_FORGOTTEN")),1)]})),_:1})])):(Object(n["openBlock"])(),Object(n["createBlock"])("div",u,[Object(n["createVNode"])("span",d,Object(n["toDisplayString"])(t.$t("user.ALREADY_HAVE_ACCOUNT")),1),Object(n["createVNode"])(O,{class:"links",to:"/login"},{default:c((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(t.$t("user.LOGIN")),1)]})),_:1})])),t.errorMessages?(Object(n["openBlock"])(),Object(n["createBlock"])(v,{key:3,message:t.errorMessages},null,8,["message"])):Object(n["createCommentVNode"])("",!0)],2)])])})),f=r("1da1"),
|
||
|
//# sourceMappingURL=reset.8adc8d46.js.map
|