@ozdao/prometheus-framework 0.1.78 → 0.1.79
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +33 -30
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +41 -43
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +33 -35
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +44 -46
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +87 -84
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +44 -46
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +38 -0
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +93 -75
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +5 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +62 -2
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +15 -13
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +10 -10
- package/dist/prometheus-framework.es.js +8 -5
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/src/components/Field/Field.vue +4 -1
- package/src/modules/auth/components/layouts/Auth.vue +45 -36
- package/src/modules/auth/components/pages/EnterCode.vue +0 -17
- package/src/modules/auth/components/pages/EnterPassword.vue +0 -23
- package/src/modules/auth/components/pages/ResetPassword.vue +0 -27
- package/src/modules/auth/components/pages/SignIn.vue +17 -47
- package/src/modules/auth/components/pages/SignUp.vue +0 -29
- package/src/modules/auth/localization/EnterCode.json +14 -0
- package/src/modules/auth/localization/EnterPassword.json +20 -0
- package/src/modules/auth/localization/ResetPassword.json +24 -0
- package/src/modules/auth/localization/SignIn.json +34 -0
- package/src/modules/auth/localization/SignUp.json +26 -0
- package/src/modules/auth/store/auth.js +20 -20
- package/src/modules/constructor/components/elements/Bullets.vue +1 -0
- package/src/modules/constructor/components/elements/Caption.vue +1 -0
- package/src/modules/constructor/components/elements/H2.vue +1 -0
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/constructor/components/elements/Textarea.vue +1 -0
- package/src/modules/globals/localization/methods/get-app-locales.js +13 -0
- package/src/modules/globals/localization/vue-i18n.js +20 -14
- package/src/modules/globals/localization/vue-i18n.singleton.js +1 -1
- package/src/modules/globals/localization/vue-i18n-new.js +0 -70
@@ -1,40 +1,39 @@
|
|
1
|
-
import { ref as u, openBlock as o, createElementBlock as a, createElementVNode as p, toDisplayString as n, unref as e, createVNode as l, createTextVNode as
|
1
|
+
import { ref as u, openBlock as o, createElementBlock as a, createElementVNode as p, toDisplayString as n, unref as e, createVNode as l, createTextVNode as g, createCommentVNode as P, withCtx as k } from "vue";
|
2
2
|
import "../../../../components/Tab/Tab.vue.js";
|
3
3
|
import c from "../../../../components/Field/Field.vue2.js";
|
4
|
-
import q from "../../../../components/Button/Button.
|
5
|
-
import { useRoute as
|
6
|
-
import { useI18n as
|
4
|
+
import q from "../../../../components/Button/Button.vue2.js";
|
5
|
+
import { useRoute as b, useRouter as v } from "vue-router";
|
6
|
+
import { useI18n as E } from "vue-i18n";
|
7
7
|
import { state as s, actions as h } from "../../store/auth.js";
|
8
|
-
import { validateInputs as
|
8
|
+
import { validateInputs as B, validatePassword as U } from "../../../middlewares/client/inputs.validation.js";
|
9
9
|
import "./EnterPassword.vue2.js";
|
10
|
-
|
11
|
-
const x = { class: "t-left pd-medium" }, N = { class: "mn-small" }, R = {
|
10
|
+
const V = { class: "t-left pd-medium" }, x = { class: "mn-small" }, N = {
|
12
11
|
key: 0,
|
13
12
|
class: "mn-semi t-transp"
|
14
|
-
},
|
13
|
+
}, R = {
|
15
14
|
key: 1,
|
16
15
|
class: "mn-semi t-transp"
|
17
|
-
},
|
16
|
+
}, A = { class: "mn-semi radius-small o-hidden" }, L = {
|
18
17
|
key: 2,
|
19
18
|
class: "p-medium t-semi mn-semi"
|
20
|
-
},
|
19
|
+
}, S = /* @__PURE__ */ p("a", {
|
21
20
|
class: "t-second",
|
22
21
|
href: "https://thecommunephuket.com/legal/eula",
|
23
22
|
target: "_blank",
|
24
23
|
rel: "noopener noreferrer"
|
25
|
-
}, "End User License Agreement (EULA)", -1),
|
24
|
+
}, "End User License Agreement (EULA)", -1), C = { key: 0 }, D = { key: 1 }, M = {
|
26
25
|
__name: "EnterPassword",
|
27
|
-
setup(
|
28
|
-
const m = u(null), { t } =
|
26
|
+
setup(I) {
|
27
|
+
const m = u(null), { t } = E({
|
29
28
|
inheritLocale: !0,
|
30
29
|
useScope: "local"
|
31
|
-
}), r =
|
30
|
+
}), r = b(), f = v();
|
32
31
|
u("phone");
|
33
|
-
async function
|
32
|
+
async function w() {
|
34
33
|
try {
|
35
|
-
await
|
34
|
+
await B(
|
36
35
|
m,
|
37
|
-
|
36
|
+
U,
|
38
37
|
s.user.password,
|
39
38
|
"Некорректный пароль"
|
40
39
|
);
|
@@ -43,8 +42,8 @@ const x = { class: "t-left pd-medium" }, N = { class: "mn-small" }, R = {
|
|
43
42
|
}
|
44
43
|
r.query.method === "reset-password" && await h.updatePassword(s.user, r.query.type), r.query.method !== "reset-password" && await h.signup(s.user, r.query.type);
|
45
44
|
}
|
46
|
-
function
|
47
|
-
|
45
|
+
function _() {
|
46
|
+
f.push({
|
48
47
|
name: "User Profile",
|
49
48
|
params: {
|
50
49
|
_id: s.user._id
|
@@ -52,13 +51,13 @@ const x = { class: "t-left pd-medium" }, N = { class: "mn-small" }, R = {
|
|
52
51
|
query: { afterAuth: "true" }
|
53
52
|
});
|
54
53
|
}
|
55
|
-
return (
|
56
|
-
p("h3",
|
57
|
-
e(r).query.method === "reset-password" ? (o(), a("p",
|
58
|
-
p("div",
|
54
|
+
return (y, d) => (o(), a("section", V, [
|
55
|
+
p("h3", x, n(e(t)("almostDone")), 1),
|
56
|
+
e(r).query.method === "reset-password" ? (o(), a("p", N, n(e(t)("newPasswordPrompt")), 1)) : (o(), a("p", R, n(e(t)("registrationPasswordPrompt")), 1)),
|
57
|
+
p("div", A, [
|
59
58
|
l(c, {
|
60
59
|
field: s.user.password,
|
61
|
-
"onUpdate:field":
|
60
|
+
"onUpdate:field": d[0] || (d[0] = (i) => s.user.password = i),
|
62
61
|
type: "password",
|
63
62
|
validation: m.value,
|
64
63
|
placeholder: e(t)("passwordPlaceholder"),
|
@@ -66,30 +65,29 @@ const x = { class: "t-left pd-medium" }, N = { class: "mn-small" }, R = {
|
|
66
65
|
}, null, 8, ["field", "validation", "placeholder"]),
|
67
66
|
l(c, {
|
68
67
|
field: s.user.passwordRepeat,
|
69
|
-
"onUpdate:field":
|
68
|
+
"onUpdate:field": d[1] || (d[1] = (i) => s.user.passwordRepeat = i),
|
70
69
|
type: "password",
|
71
70
|
placeholder: e(t)("repeatPasswordPlaceholder"),
|
72
71
|
class: "bg-grey pd-small radius-small mn-thin"
|
73
72
|
}, null, 8, ["field", "placeholder"])
|
74
73
|
]),
|
75
|
-
e(r).query.method !== "reset-password" ? (o(), a("div",
|
76
|
-
|
77
|
-
|
78
|
-
])) :
|
74
|
+
e(r).query.method !== "reset-password" ? (o(), a("div", L, [
|
75
|
+
g(" By registering, you agree to our "),
|
76
|
+
S
|
77
|
+
])) : P("", !0),
|
79
78
|
l(q, {
|
80
|
-
submit:
|
81
|
-
callback:
|
79
|
+
submit: w,
|
80
|
+
callback: _,
|
82
81
|
class: "mn-big"
|
83
82
|
}, {
|
84
|
-
default:
|
85
|
-
e(r).query.method === "reset-password" ? (o(), a("span",
|
83
|
+
default: k(() => [
|
84
|
+
e(r).query.method === "reset-password" ? (o(), a("span", C, n(e(t)("changePasswordBtn")), 1)) : (o(), a("span", D, n(e(t)("registerBtn")), 1))
|
86
85
|
]),
|
87
86
|
_: 1
|
88
87
|
})
|
89
88
|
]));
|
90
89
|
}
|
91
90
|
};
|
92
|
-
typeof f == "function" && f(T);
|
93
91
|
export {
|
94
|
-
|
92
|
+
M as default
|
95
93
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs"),f=require("../../../../components/Button/Button.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs"),f=require("../../../../components/Button/Button.vue2.cjs"),d=require("vue-router"),t=require("../../store/auth.cjs"),u=require("../../store/invites.cjs"),c=require("../../../middlewares/client/inputs.validation.cjs");require("./Invite.vue2.cjs");const h={class:"t-left pd-medium"},v=e.createElementVNode("h3",{class:"mn-small"},"Вы были пригилашены в организацию",-1),y=e.createElementVNode("p",{class:"mn-semi t-transp"},"Пожалуйста, укажите пароль, на этом регистрация будет закочена.",-1),b={class:"mn-semi radius-small o-hidden"},q={key:0},k={key:1},B={__name:"Invite",async setup(E){let r,n;const i=e.ref(null),s=d.useRoute(),p=d.useRouter();[r,n]=e.withAsyncContext(()=>u.actions.readOne(s.query.inviteCode)),await r,n();async function m(){try{await c.validateInputs(i,c.validatePassword,t.state.user.password,"Некорректный пароль")}catch{throw new Error}await t.actions.signup(t.state.user,s.query.type,s.query.inviteCode)}function _(){p.push({name:"Dashboard"})}return(w,a)=>(e.openBlock(),e.createElementBlock("section",h,[v,y,e.createElementVNode("div",b,[e.createVNode(l.default,{field:t.state.user.password,"onUpdate:field":a[0]||(a[0]=o=>t.state.user.password=o),type:"password",validation:i.value,label:"Пароль",placeholder:"******",class:"bg-white radius-small mn-small"},null,8,["field","validation"]),e.createVNode(l.default,{field:t.state.user.passwordRepeat,"onUpdate:field":a[1]||(a[1]=o=>t.state.user.passwordRepeat=o),type:"password",label:"Повторите пароль",placeholder:"******",class:"bg-white radius-small mn-semi"},null,8,["field"])]),e.createVNode(f.default,{disabled:u.state.invite===null,submit:m,callback:_,class:"mn-big"},{default:e.withCtx(()=>[e.unref(s).query.method==="reset-password"?(e.openBlock(),e.createElementBlock("span",q,"Поменять пароль")):(e.openBlock(),e.createElementBlock("span",k,"Зарегистрироваться"))]),_:1},8,["disabled"])]))}};exports.default=B;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as w, withAsyncContext as h, openBlock as o, createElementBlock as r, createElementVNode as n, createVNode as i, withCtx as y, unref as b } from "vue";
|
2
2
|
import "../../../../components/Tab/Tab.vue.js";
|
3
3
|
import p from "../../../../components/Field/Field.vue2.js";
|
4
|
-
import v from "../../../../components/Button/Button.
|
4
|
+
import v from "../../../../components/Button/Button.vue2.js";
|
5
5
|
import { useRoute as k, useRouter as g } from "vue-router";
|
6
6
|
import { state as e, actions as q } from "../../store/auth.js";
|
7
7
|
import { actions as x, state as C } from "../../store/invites.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("../../../../components/Tab/Tab.vue2.cjs"),f=require("../../../../components/Field/Field.vue2.cjs"),v=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),_=require("../../../../components/Button/Button.vue2.cjs"),d=require("vue-router"),V=require("vue-i18n"),l=require("../../store/auth.cjs");require("../../store/twofa.cjs");const n=require("../../../middlewares/client/inputs.validation.cjs");require("./ResetPassword.vue2.cjs");const w={class:"t-left pd-medium"},g={class:"mn-small"},y={class:"mn-small t-transp"},N={class:"mn-small p-small uppercase t-semi bg-grey radius-big o-hidden"},b={key:0,class:"mn-semi radius-small o-hidden"},E={class:"mn-small t-transp"},q={key:0,class:"mn-semi radius-small o-hidden"},S={class:"mn-small t-transp"},k={__name:"ResetPassword",setup(C){const{t}=V.useI18n({inheritLocale:!0,useScope:"local"}),i=e.ref(null),u=e.ref(null);d.useRoute();const c=d.useRouter(),a=e.ref("phone");async function m(){try{a.value==="phone"&&await n.validateInputs(i,n.validatePhone,l.state.user.phone,"Некорректный телефон"),a.value==="email"&&await n.validateInputs(u,n.validateEmail,l.state.user.email,"Некорректный email")}catch{throw new Error}try{await l.actions.resetPassword(l.state.user,a.value,"reset-password")}catch(r){throw console.log(r),new Error}}function p(){c.push({name:"Enter Code",query:{type:a.value,method:"reset-password"}})}return(r,o)=>(e.openBlock(),e.createElementBlock("section",w,[e.createElementVNode("h3",g,e.toDisplayString(e.unref(t)("forgotPasswordTitle")),1),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("instructions")),1),e.createElementVNode("div",N,[e.createVNode(h.default,{selected:a.value,"onUpdate:selected":o[0]||(o[0]=s=>a.value=s),tabs:[{name:e.unref(t)("phone"),value:"phone"},{name:e.unref(t)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",null,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[a.value==="phone"?(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("p",E,e.toDisplayString(e.unref(t)("smsInfo")),1),e.createVNode(v.default,{modelValue:l.state.user.phone,"onUpdate:modelValue":o[1]||(o[1]=s=>l.state.user.phone=s),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:i.value,mode:"national",inputOptions:{placeholder:e.unref(t)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-thin"},null,8,["modelValue","validation","inputOptions"])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[a.value==="email"?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",S,e.toDisplayString(e.unref(t)("emailInfo")),1),e.createVNode(f.default,{field:l.state.user.email,"onUpdate:field":o[2]||(o[2]=s=>l.state.user.email=s),placeholder:e.unref(t)("emailPlaceholder"),validation:u.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])])):e.createCommentVNode("",!0)]),_:1})]),e.createVNode(_.default,{submit:m,callback:p,class:"mn-big"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("sendCode")),1)]),_:1})]))}};exports.default=k;
|
@@ -1,40 +1,39 @@
|
|
1
|
-
import { ref as m, openBlock as u, createElementBlock as p, createElementVNode as
|
2
|
-
import
|
1
|
+
import { ref as m, openBlock as u, createElementBlock as p, createElementVNode as l, toDisplayString as r, unref as t, createVNode as i, Transition as _, withCtx as c, createCommentVNode as v, createTextVNode as V } from "vue";
|
2
|
+
import P from "../../../../components/Tab/Tab.vue2.js";
|
3
3
|
import C from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import E from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import I from "../../../../components/Button/Button.
|
6
|
-
import { useRoute as
|
7
|
-
import { useI18n as
|
8
|
-
import { state as a, actions as
|
5
|
+
import I from "../../../../components/Button/Button.vue2.js";
|
6
|
+
import { useRoute as k, useRouter as x } from "vue-router";
|
7
|
+
import { useI18n as N } from "vue-i18n";
|
8
|
+
import { state as a, actions as S } from "../../store/auth.js";
|
9
9
|
import "../../store/twofa.js";
|
10
|
-
import { validateInputs as w, validatePhone as
|
10
|
+
import { validateInputs as w, validatePhone as T, validateEmail as D } from "../../../middlewares/client/inputs.validation.js";
|
11
11
|
import "./ResetPassword.vue2.js";
|
12
|
-
|
13
|
-
const O = { class: "t-left pd-medium" }, R = { class: "mn-small" }, U = { class: "mn-small t-transp" }, B = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, L = {
|
12
|
+
const F = { class: "t-left pd-medium" }, O = { class: "mn-small" }, R = { class: "mn-small t-transp" }, U = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, B = {
|
14
13
|
key: 0,
|
15
14
|
class: "mn-semi radius-small o-hidden"
|
16
|
-
},
|
15
|
+
}, L = { class: "mn-small t-transp" }, $ = {
|
17
16
|
key: 0,
|
18
17
|
class: "mn-semi radius-small o-hidden"
|
19
|
-
},
|
18
|
+
}, q = { class: "mn-small t-transp" }, Z = {
|
20
19
|
__name: "ResetPassword",
|
21
|
-
setup(
|
22
|
-
const { t: e } =
|
20
|
+
setup(A) {
|
21
|
+
const { t: e } = N({
|
23
22
|
inheritLocale: !0,
|
24
23
|
useScope: "local"
|
25
24
|
}), h = m(null), f = m(null);
|
26
|
-
|
27
|
-
const g =
|
28
|
-
async function
|
25
|
+
k();
|
26
|
+
const g = x(), o = m("phone");
|
27
|
+
async function b() {
|
29
28
|
try {
|
30
|
-
|
29
|
+
o.value === "phone" && await w(
|
31
30
|
h,
|
32
|
-
|
31
|
+
T,
|
33
32
|
a.user.phone,
|
34
33
|
"Некорректный телефон"
|
35
|
-
),
|
34
|
+
), o.value === "email" && await w(
|
36
35
|
f,
|
37
|
-
|
36
|
+
D,
|
38
37
|
a.user.email,
|
39
38
|
"Некорректный email"
|
40
39
|
);
|
@@ -42,35 +41,35 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-small" }, U = { class:
|
|
42
41
|
throw new Error();
|
43
42
|
}
|
44
43
|
try {
|
45
|
-
await
|
44
|
+
await S.resetPassword(a.user, o.value, "reset-password");
|
46
45
|
} catch (d) {
|
47
46
|
throw console.log(d), new Error();
|
48
47
|
}
|
49
48
|
}
|
50
|
-
function
|
51
|
-
g.push({ name: "Enter Code", query: { type:
|
49
|
+
function y() {
|
50
|
+
g.push({ name: "Enter Code", query: { type: o.value, method: "reset-password" } });
|
52
51
|
}
|
53
|
-
return (d,
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
i(
|
58
|
-
selected:
|
59
|
-
"onUpdate:selected":
|
52
|
+
return (d, s) => (u(), p("section", F, [
|
53
|
+
l("h3", O, r(t(e)("forgotPasswordTitle")), 1),
|
54
|
+
l("p", R, r(t(e)("instructions")), 1),
|
55
|
+
l("div", U, [
|
56
|
+
i(P, {
|
57
|
+
selected: o.value,
|
58
|
+
"onUpdate:selected": s[0] || (s[0] = (n) => o.value = n),
|
60
59
|
tabs: [
|
61
|
-
{ name:
|
62
|
-
{ name:
|
60
|
+
{ name: t(e)("phone"), value: "phone" },
|
61
|
+
{ name: t(e)("email"), value: "email" }
|
63
62
|
]
|
64
63
|
}, null, 8, ["selected", "tabs"])
|
65
64
|
]),
|
66
|
-
|
65
|
+
l("div", null, [
|
67
66
|
i(_, { name: "slide-fade" }, {
|
68
67
|
default: c(() => [
|
69
|
-
|
70
|
-
|
68
|
+
o.value === "phone" ? (u(), p("div", B, [
|
69
|
+
l("p", L, r(t(e)("smsInfo")), 1),
|
71
70
|
i(E, {
|
72
71
|
modelValue: a.user.phone,
|
73
|
-
"onUpdate:modelValue":
|
72
|
+
"onUpdate:modelValue": s[1] || (s[1] = (n) => a.user.phone = n),
|
74
73
|
dropdownOptions: {
|
75
74
|
showDialCodeInSelection: !0,
|
76
75
|
showFlags: !0,
|
@@ -78,7 +77,7 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-small" }, U = { class:
|
|
78
77
|
},
|
79
78
|
validation: h.value,
|
80
79
|
mode: "national",
|
81
|
-
inputOptions: { placeholder:
|
80
|
+
inputOptions: { placeholder: t(e)("phonePlaceholder") },
|
82
81
|
class: "bg-grey pd-small radius-small mn-thin"
|
83
82
|
}, null, 8, ["modelValue", "validation", "inputOptions"])
|
84
83
|
])) : v("", !0)
|
@@ -87,12 +86,12 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-small" }, U = { class:
|
|
87
86
|
}),
|
88
87
|
i(_, { name: "slide-fade" }, {
|
89
88
|
default: c(() => [
|
90
|
-
|
91
|
-
|
89
|
+
o.value === "email" ? (u(), p("div", $, [
|
90
|
+
l("p", q, r(t(e)("emailInfo")), 1),
|
92
91
|
i(C, {
|
93
92
|
field: a.user.email,
|
94
|
-
"onUpdate:field":
|
95
|
-
placeholder:
|
93
|
+
"onUpdate:field": s[2] || (s[2] = (n) => a.user.email = n),
|
94
|
+
placeholder: t(e)("emailPlaceholder"),
|
96
95
|
validation: f.value,
|
97
96
|
class: "bg-grey pd-medium radius-small"
|
98
97
|
}, null, 8, ["field", "placeholder", "validation"])
|
@@ -102,19 +101,18 @@ const O = { class: "t-left pd-medium" }, R = { class: "mn-small" }, U = { class:
|
|
102
101
|
})
|
103
102
|
]),
|
104
103
|
i(I, {
|
105
|
-
submit:
|
106
|
-
callback:
|
104
|
+
submit: b,
|
105
|
+
callback: y,
|
107
106
|
class: "mn-big"
|
108
107
|
}, {
|
109
108
|
default: c(() => [
|
110
|
-
|
109
|
+
V(r(t(e)("sendCode")), 1)
|
111
110
|
]),
|
112
111
|
_: 1
|
113
112
|
})
|
114
113
|
]));
|
115
114
|
}
|
116
115
|
};
|
117
|
-
typeof b == "function" && b(j);
|
118
116
|
export {
|
119
|
-
|
117
|
+
Z as default
|
120
118
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Tab/Tab.vue2.cjs"),c=require("../../../../components/Field/Field.vue2.cjs"),V=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),w=require("../../../../components/Button/Button.vue2.cjs"),p=require("vue-router"),N=require("vue-i18n"),b=require("../../localization/SignIn.json.cjs"),a=require("../../store/auth.cjs"),i=require("../../../middlewares/client/inputs.validation.cjs");require("./SignIn.vue2.cjs");const E={class:""},y=["src"],S={class:"mn-medium"},q=e.createElementVNode("br",null,null,-1),x={class:"t-semi"},P={class:"mn-big"},C={class:"mn-small p-small uppercase t-semi bg-grey radius-big o-hidden"},D={class:""},I={class:"mn-thin radius-small"},T={class:"mn-thin radius-small o-hidden"},U={class:"w-100 mn-big"},j={__name:"SignIn",setup(k){const d=e.ref(null),m=e.ref(null),u=e.ref(null);p.useRoute();const h=p.useRouter(),{t:s}=N.useI18n(b.default),l=e.ref("phone");e.inject("APPLE_CLIENTID"),e.inject("APPLE_REDIRECT_URL");const f=r=>new Promise((n,o)=>{const t=document.createElement("script");t.type="text/javascript",t.src=r,t.onload=n,t.onerror=o,document.head.appendChild(t)});e.onMounted(async()=>{await f("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js")});async function v(){try{l.value==="phone"&&await i.validateInputs(d,i.validatePhone,a.state.user.phone,"Некорректный телефон"),l.value==="email"&&await i.validateInputs(u,i.validateEmail,a.state.user.email,"Некорректный email")}catch{throw new Error}a.state.user.phone=a.state.user.phone.number,await a.actions.login(a.state.user,l.value)}function _(){h.push({name:"User Profile",params:{_id:a.state.user._id},query:{afterAuth:"true"}})}return(r,n)=>{const o=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",E,[e.createElementVNode("img",{src:"/logo/logo_square.svg",class:"i-extra mn-small"},null,8,y),e.createElementVNode("h3",S,[e.createTextVNode(e.toDisplayString(e.unref(s)("title"))+" ",1),q,e.createElementVNode("span",x,e.toDisplayString(e.unref(s)("subtitle")),1)]),e.createElementVNode("p",P,[e.createVNode(o,{to:{name:"Sign Up"},class:"underline t-second"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("signup")),1)]),_:1})]),e.createElementVNode("div",C,[e.createVNode(g.default,{selected:l.value,"onUpdate:selected":n[0]||(n[0]=t=>l.value=t),tabs:[{name:e.unref(s)("phone"),value:"phone"},{name:e.unref(s)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",D,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",I,[e.createVNode(V.default,{modelValue:a.state.user.phone,"onUpdate:modelValue":n[1]||(n[1]=t=>a.state.user.phone=t),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:d.value,mode:"national",inputOptions:{placeholder:e.unref(s)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,l.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",T,[e.createVNode(c.default,{field:a.state.user.email,"onUpdate:field":n[2]||(n[2]=t=>a.state.user.email=t),placeholder:e.unref(s)("emailPlaceholder"),validation:u.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,l.value==="email"]])]),_:1})]),e.createVNode(c.default,{field:a.state.user.password,"onUpdate:field":n[3]||(n[3]=t=>a.state.user.password=t),type:"password",validation:m.value,placeholder:e.unref(s)("passwordPlaceholder"),class:"bg-grey pd-medium radius-small mn-semi"},null,8,["field","validation","placeholder"]),e.createElementVNode("div",U,[e.createVNode(o,{to:"/auth/reset-password",class:"underline d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("forgotPassword")),1)]),_:1})]),e.createVNode(w.default,{submit:v,callback:_,class:"mn-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("signin")),1)]),_:1})])}}};exports.default=j;
|
@@ -1,150 +1,154 @@
|
|
1
|
-
import { ref as
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import { useRoute as
|
7
|
-
import "vue-i18n";
|
8
|
-
import
|
9
|
-
import {
|
1
|
+
import { ref as m, inject as f, onMounted as S, resolveComponent as U, openBlock as C, createElementBlock as k, createElementVNode as l, createTextVNode as p, toDisplayString as r, unref as o, createVNode as i, withCtx as d, Transition as v, withDirectives as g, vShow as w } from "vue";
|
2
|
+
import D from "../../../../components/Tab/Tab.vue2.js";
|
3
|
+
import b from "../../../../components/Field/Field.vue2.js";
|
4
|
+
import L from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
+
import R from "../../../../components/Button/Button.vue2.js";
|
6
|
+
import { useRoute as T, useRouter as j } from "vue-router";
|
7
|
+
import { useI18n as A } from "vue-i18n";
|
8
|
+
import N from "../../localization/SignIn.json.js";
|
9
|
+
import { state as t, actions as F } from "../../store/auth.js";
|
10
|
+
import { validateInputs as P, validatePhone as O, validateEmail as q } from "../../../middlewares/client/inputs.validation.js";
|
10
11
|
import "./SignIn.vue2.js";
|
11
|
-
|
12
|
-
const F = { class: "" }, O = { class: "mn-medium" }, B = /* @__PURE__ */ s("br", null, null, -1), q = { class: "t-semi" }, M = { class: "mn-big" }, z = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, G = { class: "" }, H = { class: "mn-thin radius-small" }, J = { class: "mn-thin radius-small o-hidden" }, K = { class: "w-100 mn-big" }, Q = {
|
12
|
+
const B = { class: "" }, $ = ["src"], M = { class: "mn-medium" }, z = /* @__PURE__ */ l("br", null, null, -1), G = { class: "t-semi" }, H = { class: "mn-big" }, J = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, K = { class: "" }, Q = { class: "mn-thin radius-small" }, W = { class: "mn-thin radius-small o-hidden" }, X = { class: "w-100 mn-big" }, ue = {
|
13
13
|
__name: "SignIn",
|
14
|
-
setup(
|
15
|
-
const
|
16
|
-
|
17
|
-
const
|
18
|
-
|
19
|
-
const
|
20
|
-
const
|
21
|
-
|
14
|
+
setup(Y) {
|
15
|
+
const h = m(null), y = m(null), _ = m(null);
|
16
|
+
T();
|
17
|
+
const E = j(), { t: s } = A(N), n = m("phone");
|
18
|
+
f("APPLE_CLIENTID"), f("APPLE_REDIRECT_URL");
|
19
|
+
const V = (c) => new Promise((a, u) => {
|
20
|
+
const e = document.createElement("script");
|
21
|
+
e.type = "text/javascript", e.src = c, e.onload = a, e.onerror = u, document.head.appendChild(e);
|
22
22
|
});
|
23
23
|
S(async () => {
|
24
|
-
await
|
24
|
+
await V("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js");
|
25
25
|
});
|
26
|
-
async function
|
26
|
+
async function x() {
|
27
27
|
try {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
n.value === "phone" && await P(
|
29
|
+
h,
|
30
|
+
O,
|
31
|
+
t.user.phone,
|
32
32
|
"Некорректный телефон"
|
33
|
-
),
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
), n.value === "email" && await P(
|
34
|
+
_,
|
35
|
+
q,
|
36
|
+
t.user.email,
|
37
37
|
"Некорректный email"
|
38
38
|
);
|
39
39
|
} catch {
|
40
40
|
throw new Error();
|
41
41
|
}
|
42
|
-
|
42
|
+
t.user.phone = t.user.phone.number, await F.login(t.user, n.value);
|
43
43
|
}
|
44
|
-
function
|
45
|
-
|
44
|
+
function I() {
|
45
|
+
E.push({
|
46
46
|
name: "User Profile",
|
47
47
|
params: {
|
48
|
-
_id:
|
48
|
+
_id: t.user._id
|
49
49
|
},
|
50
50
|
query: { afterAuth: "true" }
|
51
51
|
});
|
52
52
|
}
|
53
|
-
return (
|
54
|
-
const
|
55
|
-
return
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
53
|
+
return (c, a) => {
|
54
|
+
const u = U("router-link");
|
55
|
+
return C(), k("section", B, [
|
56
|
+
l("img", {
|
57
|
+
src: "/logo/logo_square.svg",
|
58
|
+
class: "i-extra mn-small"
|
59
|
+
}, null, 8, $),
|
60
|
+
l("h3", M, [
|
61
|
+
p(r(o(s)("title")) + " ", 1),
|
62
|
+
z,
|
63
|
+
l("span", G, r(o(s)("subtitle")), 1)
|
60
64
|
]),
|
61
|
-
|
62
|
-
|
65
|
+
l("p", H, [
|
66
|
+
i(u, {
|
63
67
|
to: { name: "Sign Up" },
|
64
68
|
class: "underline t-second"
|
65
69
|
}, {
|
66
|
-
default:
|
67
|
-
p(
|
70
|
+
default: d(() => [
|
71
|
+
p(r(o(s)("signup")), 1)
|
68
72
|
]),
|
69
73
|
_: 1
|
70
74
|
})
|
71
75
|
]),
|
72
|
-
|
73
|
-
|
74
|
-
selected:
|
75
|
-
"onUpdate:selected":
|
76
|
+
l("div", J, [
|
77
|
+
i(D, {
|
78
|
+
selected: n.value,
|
79
|
+
"onUpdate:selected": a[0] || (a[0] = (e) => n.value = e),
|
76
80
|
tabs: [
|
77
|
-
{ name:
|
78
|
-
{ name:
|
81
|
+
{ name: o(s)("phone"), value: "phone" },
|
82
|
+
{ name: o(s)("email"), value: "email" }
|
79
83
|
]
|
80
84
|
}, null, 8, ["selected", "tabs"])
|
81
85
|
]),
|
82
|
-
|
83
|
-
|
84
|
-
default:
|
85
|
-
|
86
|
-
|
87
|
-
modelValue:
|
88
|
-
"onUpdate:modelValue":
|
86
|
+
l("div", K, [
|
87
|
+
i(v, { name: "slide-fade" }, {
|
88
|
+
default: d(() => [
|
89
|
+
g(l("div", Q, [
|
90
|
+
i(L, {
|
91
|
+
modelValue: t.user.phone,
|
92
|
+
"onUpdate:modelValue": a[1] || (a[1] = (e) => t.user.phone = e),
|
89
93
|
dropdownOptions: {
|
90
94
|
showDialCodeInSelection: !0,
|
91
95
|
showFlags: !0,
|
92
96
|
showDialCodeInList: !0
|
93
97
|
},
|
94
|
-
validation:
|
98
|
+
validation: h.value,
|
95
99
|
mode: "national",
|
96
|
-
inputOptions: { placeholder:
|
100
|
+
inputOptions: { placeholder: o(s)("phonePlaceholder") },
|
97
101
|
class: "bg-grey pd-small radius-small mn-thin"
|
98
102
|
}, null, 8, ["modelValue", "validation", "inputOptions"])
|
99
103
|
], 512), [
|
100
|
-
[
|
104
|
+
[w, n.value === "phone"]
|
101
105
|
])
|
102
106
|
]),
|
103
107
|
_: 1
|
104
108
|
}),
|
105
|
-
|
106
|
-
default:
|
107
|
-
|
108
|
-
|
109
|
-
field:
|
110
|
-
"onUpdate:field":
|
111
|
-
placeholder:
|
112
|
-
validation:
|
109
|
+
i(v, { name: "slide-fade" }, {
|
110
|
+
default: d(() => [
|
111
|
+
g(l("div", W, [
|
112
|
+
i(b, {
|
113
|
+
field: t.user.email,
|
114
|
+
"onUpdate:field": a[2] || (a[2] = (e) => t.user.email = e),
|
115
|
+
placeholder: o(s)("emailPlaceholder"),
|
116
|
+
validation: _.value,
|
113
117
|
class: "bg-grey pd-medium radius-small"
|
114
118
|
}, null, 8, ["field", "placeholder", "validation"])
|
115
119
|
], 512), [
|
116
|
-
[
|
120
|
+
[w, n.value === "email"]
|
117
121
|
])
|
118
122
|
]),
|
119
123
|
_: 1
|
120
124
|
})
|
121
125
|
]),
|
122
|
-
|
123
|
-
field:
|
124
|
-
"onUpdate:field":
|
126
|
+
i(b, {
|
127
|
+
field: t.user.password,
|
128
|
+
"onUpdate:field": a[3] || (a[3] = (e) => t.user.password = e),
|
125
129
|
type: "password",
|
126
130
|
validation: y.value,
|
127
|
-
placeholder:
|
131
|
+
placeholder: o(s)("passwordPlaceholder"),
|
128
132
|
class: "bg-grey pd-medium radius-small mn-semi"
|
129
133
|
}, null, 8, ["field", "validation", "placeholder"]),
|
130
|
-
|
131
|
-
|
134
|
+
l("div", X, [
|
135
|
+
i(u, {
|
132
136
|
to: "/auth/reset-password",
|
133
137
|
class: "underline d-block t-blue"
|
134
138
|
}, {
|
135
|
-
default:
|
136
|
-
p(
|
139
|
+
default: d(() => [
|
140
|
+
p(r(o(s)("forgotPassword")), 1)
|
137
141
|
]),
|
138
142
|
_: 1
|
139
143
|
})
|
140
144
|
]),
|
141
|
-
|
142
|
-
submit:
|
143
|
-
callback:
|
145
|
+
i(R, {
|
146
|
+
submit: x,
|
147
|
+
callback: I,
|
144
148
|
class: "mn-thin"
|
145
149
|
}, {
|
146
|
-
default:
|
147
|
-
p(
|
150
|
+
default: d(() => [
|
151
|
+
p(r(o(s)("signin")), 1)
|
148
152
|
]),
|
149
153
|
_: 1
|
150
154
|
})
|
@@ -152,7 +156,6 @@ const F = { class: "" }, O = { class: "mn-medium" }, B = /* @__PURE__ */ s("br",
|
|
152
156
|
};
|
153
157
|
}
|
154
158
|
};
|
155
|
-
typeof g == "function" && g(Q);
|
156
159
|
export {
|
157
|
-
|
160
|
+
ue as default
|
158
161
|
};
|