-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
215 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
const routes = [ | ||
{ | ||
path: '/account/sign-in', | ||
name: 'account.login', | ||
meta: { | ||
guest: { | ||
redirect: { name: 'home' } | ||
} | ||
}, | ||
component: () => import('../views/LoginView.vue') | ||
}, | ||
{ | ||
path: '/account/register', | ||
name: 'account.register', | ||
meta: { | ||
guest: { | ||
redirect: { name: 'home' } | ||
} | ||
}, | ||
component: () => import('../views/RegisterView.vue') | ||
}, | ||
{ | ||
path: '/account/forgot-password', | ||
name: 'account.forgot-password', | ||
meta: { | ||
guest: { | ||
redirect: { name: 'home' } | ||
} | ||
}, | ||
component: () => import('../views/ForgotPasswordView.vue') | ||
}, | ||
{ | ||
path: '/account/resend-verification', | ||
name: 'account.resend-verification', | ||
meta: { | ||
guest: { | ||
redirect: { name: 'home' } | ||
} | ||
}, | ||
component: () => import('../views/ResendVerificationView.vue') | ||
} | ||
] | ||
|
||
export default routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<UFPageForgotPassword /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script setup lang="ts"> | ||
import { useRouter } from 'vue-router' | ||
const router = useRouter() | ||
</script> | ||
|
||
<template> | ||
<UFPageLogin | ||
@goto-registration="router.push({ name: 'account.register' })" | ||
@goto-forgot-password="router.push({ name: 'account.forgot-password' })" | ||
@goto-resend-verification="router.push({ name: 'account.resend-verification' })" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<script setup lang="ts"> | ||
import { useRouter } from 'vue-router' | ||
const router = useRouter() | ||
</script> | ||
|
||
<template> | ||
<UFPageRegister @goto-login="router.push({ name: 'account.login' })" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<UFPageResendVerification /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { resolveComponent as r, openBlock as e, createBlock as t } from "vue"; | ||
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js"; | ||
const c = {}; | ||
function n(a, _) { | ||
const o = r("UFPageForgotPassword"); | ||
return e(), t(o); | ||
} | ||
const p = /* @__PURE__ */ s(c, [["render", n]]); | ||
export { | ||
p as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),t={};function n(s,_){const o=e.resolveComponent("UFPageForgotPassword");return e.openBlock(),e.createBlock(o)}const c=r._export_sfc(t,[["render",n]]);exports.default=c; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { defineComponent as s, resolveComponent as i, openBlock as p, createBlock as u, unref as n } from "vue"; | ||
import { useRouter as a } from "vue-router"; | ||
const d = /* @__PURE__ */ s({ | ||
__name: "LoginView", | ||
setup(m) { | ||
const e = a(); | ||
return (f, o) => { | ||
const r = i("UFPageLogin"); | ||
return p(), u(r, { | ||
onGotoRegistration: o[0] || (o[0] = (t) => n(e).push({ name: "account.register" })), | ||
onGotoForgotPassword: o[1] || (o[1] = (t) => n(e).push({ name: "account.forgot-password" })), | ||
onGotoResendVerification: o[2] || (o[2] = (t) => n(e).push({ name: "account.resend-verification" })) | ||
}); | ||
}; | ||
} | ||
}); | ||
export { | ||
d as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("vue-router"),s=e.defineComponent({__name:"LoginView",setup(i){const n=u.useRouter();return(a,o)=>{const r=e.resolveComponent("UFPageLogin");return e.openBlock(),e.createBlock(r,{onGotoRegistration:o[0]||(o[0]=t=>e.unref(n).push({name:"account.register"})),onGotoForgotPassword:o[1]||(o[1]=t=>e.unref(n).push({name:"account.forgot-password"})),onGotoResendVerification:o[2]||(o[2]=t=>e.unref(n).push({name:"account.resend-verification"}))})}}});exports.default=s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("vue-router"),u=e.defineComponent({__name:"RegisterView",setup(s){const t=r.useRouter();return(c,o)=>{const n=e.resolveComponent("UFPageRegister");return e.openBlock(),e.createBlock(n,{onGotoLogin:o[0]||(o[0]=i=>e.unref(t).push({name:"account.login"}))})}}});exports.default=u; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { defineComponent as n, resolveComponent as r, openBlock as s, createBlock as p, unref as i } from "vue"; | ||
import { useRouter as m } from "vue-router"; | ||
const f = /* @__PURE__ */ n({ | ||
__name: "RegisterView", | ||
setup(u) { | ||
const o = m(); | ||
return (c, e) => { | ||
const t = r("UFPageRegister"); | ||
return s(), p(t, { | ||
onGotoLogin: e[0] || (e[0] = (a) => i(o).push({ name: "account.login" })) | ||
}); | ||
}; | ||
} | ||
}); | ||
export { | ||
f as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { resolveComponent as o, openBlock as n, createBlock as c } from "vue"; | ||
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js"; | ||
const t = {}; | ||
function i(s, a) { | ||
const e = o("UFPageResendVerification"); | ||
return n(), c(e); | ||
} | ||
const m = /* @__PURE__ */ r(t, [["render", i]]); | ||
export { | ||
m as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),t={};function r(i,s){const n=e.resolveComponent("UFPageResendVerification");return e.openBlock(),e.createBlock(n)}const c=o._export_sfc(t,[["render",r]]);exports.default=c; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";const e=(t,o)=>{const c=t.__vccOpts||t;for(const[r,s]of o)c[r]=s;return c};exports._export_sfc=e; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const s = (t, r) => { | ||
const o = t.__vccOpts || t; | ||
for (const [c, e] of r) | ||
o[c] = e; | ||
return o; | ||
}; | ||
export { | ||
s as _ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
declare const routes: { | ||
path: string; | ||
name: string; | ||
meta: { | ||
guest: { | ||
redirect: { | ||
name: string; | ||
}; | ||
}; | ||
}; | ||
component: () => Promise<typeof import("../views/RegisterView.vue")>; | ||
}[]; | ||
export default routes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=[{path:"/account/sign-in",name:"account.login",meta:{guest:{redirect:{name:"home"}}},component:()=>Promise.resolve().then(()=>require("./LoginView-DwEVPIza.cjs"))},{path:"/account/register",name:"account.register",meta:{guest:{redirect:{name:"home"}}},component:()=>Promise.resolve().then(()=>require("./RegisterView-BX7SoD5B.cjs"))},{path:"/account/forgot-password",name:"account.forgot-password",meta:{guest:{redirect:{name:"home"}}},component:()=>Promise.resolve().then(()=>require("./ForgotPasswordView-Do1jt-vY.cjs"))},{path:"/account/resend-verification",name:"account.resend-verification",meta:{guest:{redirect:{name:"home"}}},component:()=>Promise.resolve().then(()=>require("./ResendVerificationView-D4anMPwm.cjs"))}];exports.default=e; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
const e = [ | ||
{ | ||
path: "/account/sign-in", | ||
name: "account.login", | ||
meta: { | ||
guest: { | ||
redirect: { name: "home" } | ||
} | ||
}, | ||
component: () => import("./LoginView-DgGcaGh5.js") | ||
}, | ||
{ | ||
path: "/account/register", | ||
name: "account.register", | ||
meta: { | ||
guest: { | ||
redirect: { name: "home" } | ||
} | ||
}, | ||
component: () => import("./RegisterView-D9MTwaNP.js") | ||
}, | ||
{ | ||
path: "/account/forgot-password", | ||
name: "account.forgot-password", | ||
meta: { | ||
guest: { | ||
redirect: { name: "home" } | ||
} | ||
}, | ||
component: () => import("./ForgotPasswordView-Ct0WfO54.js") | ||
}, | ||
{ | ||
path: "/account/resend-verification", | ||
name: "account.resend-verification", | ||
meta: { | ||
guest: { | ||
redirect: { name: "home" } | ||
} | ||
}, | ||
component: () => import("./ResendVerificationView-BBUXSJO0.js") | ||
} | ||
]; | ||
export { | ||
e as default | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters