@ozdao/prometheus-framework 0.1.79 → 0.1.80

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  3. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  5. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  7. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  9. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +77 -78
  11. package/dist/prometheus-framework/src/modules/auth/router/auth.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/auth/router/auth.js +114 -111
  13. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  17. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  18. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +62 -2
  19. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  20. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -62
  21. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  29. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  47. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  49. package/dist/style.css +1 -1
  50. package/package.json +1 -1
  51. package/src/modules/auth/components/pages/SignIn.vue +9 -7
  52. package/src/modules/auth/router/auth.js +95 -86
  53. package/src/modules/middlewares/client/inputs.validation.js +1 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),i=require("vue-i18n"),c=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue2.cjs");const d={key:"popup-content",class:"pd-small popup-wrapper"},m={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(t,{emit:l}){const u=t;function s(){l("close-popup")}e.watch(()=>u.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const a={messages:{en:{},ru:{}}};return i.useI18n(a),(o,n)=>t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},o.$attrs),[e.createElementVNode("button",{onClick:n[0]||(n[0]=p=>s()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[e.createVNode(c.default)]),e.renderSlot(o.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:n[1]||(n[1]=p=>s()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=m;
@@ -1,4 +1,74 @@
1
- const e = "";
1
+ import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as a, createElementBlock as u, mergeProps as P, createElementVNode as i, renderSlot as k, createCommentVNode as p, normalizeClass as b } from "vue";
2
+ import { useRoute as x, useRouter as C } from "vue-router";
3
+ import { useI18n as O } from "vue-i18n";
4
+ import T from "../../modules/icons/navigation/IconCross.vue.js";
5
+ import "./Popup.vue2.js";
6
+ const g = {
7
+ key: "popup-content",
8
+ class: "pd-small popup-wrapper"
9
+ }, E = {
10
+ __name: "Popup",
11
+ props: {
12
+ isPopupOpen: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ style: String
17
+ },
18
+ emits: ["close-popup"],
19
+ setup(e, { emit: c }) {
20
+ const m = e;
21
+ function r() {
22
+ c("close-popup");
23
+ }
24
+ return f(() => m.isPopupOpen, (o) => {
25
+ o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
26
+ }), x(), C(), O({
27
+ messages: {
28
+ en: {},
29
+ ru: {}
30
+ }
31
+ }), (o, t) => e.isPopupOpen ? (s(), v(y, {
32
+ key: 0,
33
+ to: "body"
34
+ }, [
35
+ n(l, {
36
+ name: "TransitionTranslateY",
37
+ appear: ""
38
+ }, {
39
+ default: a(() => [
40
+ e.isPopupOpen ? (s(), u("div", g, [
41
+ n(l, {
42
+ name: "TransitionTranslateY",
43
+ mode: "out-in"
44
+ }, {
45
+ default: a(() => [
46
+ e.isPopupOpen ? (s(), u("section", P({
47
+ key: 0,
48
+ class: "pos-relative z-index-4"
49
+ }, o.$attrs), [
50
+ i("button", {
51
+ onClick: t[0] || (t[0] = (d) => r()),
52
+ class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
53
+ }, [
54
+ n(T)
55
+ ]),
56
+ k(o.$slots, "default")
57
+ ], 16)) : p("", !0)
58
+ ]),
59
+ _: 3
60
+ }),
61
+ i("div", {
62
+ onClick: t[1] || (t[1] = (d) => r()),
63
+ class: b([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
64
+ }, null, 2)
65
+ ])) : p("", !0)
66
+ ]),
67
+ _: 3
68
+ })
69
+ ])) : p("", !0);
70
+ }
71
+ };
2
72
  export {
3
- e as default
73
+ E as default
4
74
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),i=require("vue-i18n"),c=require("../../modules/icons/navigation/IconCross.vue.cjs");require("./Popup.vue.cjs");const d={key:"popup-content",class:"pd-small popup-wrapper"},m={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(t,{emit:l}){const u=t;function s(){l("close-popup")}e.watch(()=>u.isPopupOpen,o=>{o?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),r.useRoute(),r.useRouter();const a={messages:{en:{},ru:{}}};return i.useI18n(a),(o,n)=>t.isPopupOpen?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:"body"},[e.createVNode(e.Transition,{name:"TransitionTranslateY",appear:""},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.Transition,{name:"TransitionTranslateY",mode:"out-in"},{default:e.withCtx(()=>[t.isPopupOpen?(e.openBlock(),e.createElementBlock("section",e.mergeProps({key:0,class:"pos-relative z-index-4"},o.$attrs),[e.createElementVNode("button",{onClick:n[0]||(n[0]=p=>s()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},[e.createVNode(c.default)]),e.renderSlot(o.$slots,"default")],16)):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("div",{onClick:n[1]||(n[1]=p=>s()),class:e.normalizeClass([{active:t.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)])):e.createCommentVNode("",!0)]),_:3})])):e.createCommentVNode("",!0)}};exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,74 +1,4 @@
1
- import { watch as f, openBlock as s, createBlock as v, Teleport as y, createVNode as n, Transition as l, withCtx as a, createElementBlock as u, mergeProps as P, createElementVNode as i, renderSlot as k, createCommentVNode as p, normalizeClass as b } from "vue";
2
- import { useRoute as x, useRouter as C } from "vue-router";
3
- import { useI18n as O } from "vue-i18n";
4
- import T from "../../modules/icons/navigation/IconCross.vue.js";
5
- import "./Popup.vue.js";
6
- const g = {
7
- key: "popup-content",
8
- class: "pd-small popup-wrapper"
9
- }, E = {
10
- __name: "Popup",
11
- props: {
12
- isPopupOpen: {
13
- type: Boolean,
14
- default: !1
15
- },
16
- style: String
17
- },
18
- emits: ["close-popup"],
19
- setup(e, { emit: c }) {
20
- const m = e;
21
- function r() {
22
- c("close-popup");
23
- }
24
- return f(() => m.isPopupOpen, (o) => {
25
- o ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
26
- }), x(), C(), O({
27
- messages: {
28
- en: {},
29
- ru: {}
30
- }
31
- }), (o, t) => e.isPopupOpen ? (s(), v(y, {
32
- key: 0,
33
- to: "body"
34
- }, [
35
- n(l, {
36
- name: "TransitionTranslateY",
37
- appear: ""
38
- }, {
39
- default: a(() => [
40
- e.isPopupOpen ? (s(), u("div", g, [
41
- n(l, {
42
- name: "TransitionTranslateY",
43
- mode: "out-in"
44
- }, {
45
- default: a(() => [
46
- e.isPopupOpen ? (s(), u("section", P({
47
- key: 0,
48
- class: "pos-relative z-index-4"
49
- }, o.$attrs), [
50
- i("button", {
51
- onClick: t[0] || (t[0] = (d) => r()),
52
- class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
53
- }, [
54
- n(T)
55
- ]),
56
- k(o.$slots, "default")
57
- ], 16)) : p("", !0)
58
- ]),
59
- _: 3
60
- }),
61
- i("div", {
62
- onClick: t[1] || (t[1] = (d) => r()),
63
- class: b([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
64
- }, null, 2)
65
- ])) : p("", !0)
66
- ]),
67
- _: 3
68
- })
69
- ])) : p("", !0);
70
- }
71
- };
1
+ const e = "";
72
2
  export {
73
- E as default
3
+ e as default
74
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Select.vue2.cjs");const m=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),p=["onClick"],k={key:0,class:"t-transp mn-r-small"},f={class:"w-100"},v=["onClick"],h={key:0,class:"w-100"},g={key:0,class:"mn-t-thin invalid-feedback"},B={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(l,{emit:c}){const n=l,o=e.ref(n.select),a=e.ref(!1);e.watch(()=>n.select,t=>{o.value=t});const u=e.computed(()=>n.select?n.options.filter(t=>t!==n.select):n.options),r=()=>{a.value=!a.value,c(a.value?"focus":"blur")},d=t=>{o.value=t,r(),c("update:select",o.value)};return(t,y)=>{var i;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{onClick:e.withModifiers(r,["stop"]),class:e.normalizeClass([t.$attrs.class,"cursor-pointer flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",f,[e.createElementVNode("span",null,e.toDisplayString(((i=o.value)==null?void 0:i.name)||o.value||l.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[a.value?(e.openBlock(),e.createElementBlock("ul",{key:0,class:e.normalizeClass([t.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),s=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(C=>d(s),["stop"])},[s?(e.openBlock(),e.createElementBlock("span",h,e.toDisplayString(s.name||s),1)):e.createCommentVNode("",!0)],8,v))),256))],2)):e.createCommentVNode("",!0)]),_:1})],10,p),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",g," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},_=m.default(B,[["__scopeId","data-v-dfe03dc2"]]);exports.default=_;
@@ -1,4 +1,80 @@
1
- const e = "";
1
+ import { ref as f, watch as C, computed as S, openBlock as t, createElementBlock as l, Fragment as v, createElementVNode as i, withModifiers as h, normalizeClass as _, toDisplayString as r, createCommentVNode as u, createVNode as k, Transition as b, withCtx as g, renderList as x, unref as B } from "vue";
2
+ import "./Select.vue2.js";
3
+ import M from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const N = ["onClick"], O = {
5
+ key: 0,
6
+ class: "t-transp mn-r-small"
7
+ }, T = { class: "w-100" }, V = ["onClick"], $ = {
8
+ key: 0,
9
+ class: "w-100"
10
+ }, z = {
11
+ key: 0,
12
+ class: "mn-t-thin invalid-feedback"
13
+ }, E = {
14
+ __name: "Select",
15
+ props: {
16
+ label: String,
17
+ select: [String, Object],
18
+ placeholder: { type: String, default: "Please select an item" },
19
+ options: { type: Array, default: () => [] },
20
+ validation: Boolean
21
+ },
22
+ emits: ["update:select", "focus", "blur"],
23
+ setup(s, { emit: d }) {
24
+ const a = s, n = f(a.select), o = f(!1);
25
+ C(() => a.select, (e) => {
26
+ n.value = e;
27
+ });
28
+ const w = S(() => a.select ? a.options.filter((e) => e !== a.select) : a.options), m = () => {
29
+ o.value = !o.value, d(o.value ? "focus" : "blur");
30
+ }, y = (e) => {
31
+ n.value = e, m(), d("update:select", n.value);
32
+ };
33
+ return (e, L) => {
34
+ var p;
35
+ return t(), l(v, null, [
36
+ i("div", {
37
+ onClick: h(m, ["stop"]),
38
+ class: _([e.$attrs.class, "cursor-pointer flex-nowrap flex"])
39
+ }, [
40
+ s.label ? (t(), l("div", O, [
41
+ i("span", null, r(s.label), 1)
42
+ ])) : u("", !0),
43
+ i("li", T, [
44
+ i("span", null, r(((p = n.value) == null ? void 0 : p.name) || n.value || s.placeholder), 1)
45
+ ]),
46
+ k(b, {
47
+ mode: "out-in",
48
+ name: "TransitionTranslateY"
49
+ }, {
50
+ default: g(() => [
51
+ o.value ? (t(), l("ul", {
52
+ key: 0,
53
+ class: _([e.$attrs.class, "pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])
54
+ }, [
55
+ (t(!0), l(v, null, x(B(w), (c) => (t(), l("li", {
56
+ onClick: h((j) => y(c), ["stop"])
57
+ }, [
58
+ c ? (t(), l("span", $, r(c.name || c), 1)) : u("", !0)
59
+ ], 8, V))), 256))
60
+ ], 2)) : u("", !0)
61
+ ]),
62
+ _: 1
63
+ })
64
+ ], 10, N),
65
+ k(b, {
66
+ mode: "out-in",
67
+ name: "fade"
68
+ }, {
69
+ default: g(() => [
70
+ s.validation ? (t(), l("div", z, " * " + r(s.validation.message), 1)) : u("", !0)
71
+ ]),
72
+ _: 1
73
+ })
74
+ ], 64);
75
+ };
76
+ }
77
+ }, I = /* @__PURE__ */ M(E, [["__scopeId", "data-v-dfe03dc2"]]);
2
78
  export {
3
- e as default
79
+ I as default
4
80
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Select.vue.cjs");const m=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),p=["onClick"],k={key:0,class:"t-transp mn-r-small"},f={class:"w-100"},v=["onClick"],h={key:0,class:"w-100"},g={key:0,class:"mn-t-thin invalid-feedback"},B={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(l,{emit:c}){const n=l,o=e.ref(n.select),a=e.ref(!1);e.watch(()=>n.select,t=>{o.value=t});const u=e.computed(()=>n.select?n.options.filter(t=>t!==n.select):n.options),r=()=>{a.value=!a.value,c(a.value?"focus":"blur")},d=t=>{o.value=t,r(),c("update:select",o.value)};return(t,y)=>{var i;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{onClick:e.withModifiers(r,["stop"]),class:e.normalizeClass([t.$attrs.class,"cursor-pointer flex-nowrap flex"])},[l.label?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",null,e.toDisplayString(l.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",f,[e.createElementVNode("span",null,e.toDisplayString(((i=o.value)==null?void 0:i.name)||o.value||l.placeholder),1)]),e.createVNode(e.Transition,{mode:"out-in",name:"TransitionTranslateY"},{default:e.withCtx(()=>[a.value?(e.openBlock(),e.createElementBlock("ul",{key:0,class:e.normalizeClass([t.$attrs.class,"pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(u),s=>(e.openBlock(),e.createElementBlock("li",{onClick:e.withModifiers(C=>d(s),["stop"])},[s?(e.openBlock(),e.createElementBlock("span",h,e.toDisplayString(s.name||s),1)):e.createCommentVNode("",!0)],8,v))),256))],2)):e.createCommentVNode("",!0)]),_:1})],10,p),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[l.validation?(e.openBlock(),e.createElementBlock("div",g," * "+e.toDisplayString(l.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64)}}},_=m.default(B,[["__scopeId","data-v-dfe03dc2"]]);exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,80 +1,4 @@
1
- import { ref as f, watch as C, computed as S, openBlock as t, createElementBlock as l, Fragment as v, createElementVNode as i, withModifiers as h, normalizeClass as _, toDisplayString as r, createCommentVNode as u, createVNode as k, Transition as b, withCtx as g, renderList as x, unref as B } from "vue";
2
- import "./Select.vue.js";
3
- import M from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const N = ["onClick"], O = {
5
- key: 0,
6
- class: "t-transp mn-r-small"
7
- }, T = { class: "w-100" }, V = ["onClick"], $ = {
8
- key: 0,
9
- class: "w-100"
10
- }, z = {
11
- key: 0,
12
- class: "mn-t-thin invalid-feedback"
13
- }, E = {
14
- __name: "Select",
15
- props: {
16
- label: String,
17
- select: [String, Object],
18
- placeholder: { type: String, default: "Please select an item" },
19
- options: { type: Array, default: () => [] },
20
- validation: Boolean
21
- },
22
- emits: ["update:select", "focus", "blur"],
23
- setup(s, { emit: d }) {
24
- const a = s, n = f(a.select), o = f(!1);
25
- C(() => a.select, (e) => {
26
- n.value = e;
27
- });
28
- const w = S(() => a.select ? a.options.filter((e) => e !== a.select) : a.options), m = () => {
29
- o.value = !o.value, d(o.value ? "focus" : "blur");
30
- }, y = (e) => {
31
- n.value = e, m(), d("update:select", n.value);
32
- };
33
- return (e, L) => {
34
- var p;
35
- return t(), l(v, null, [
36
- i("div", {
37
- onClick: h(m, ["stop"]),
38
- class: _([e.$attrs.class, "cursor-pointer flex-nowrap flex"])
39
- }, [
40
- s.label ? (t(), l("div", O, [
41
- i("span", null, r(s.label), 1)
42
- ])) : u("", !0),
43
- i("li", T, [
44
- i("span", null, r(((p = n.value) == null ? void 0 : p.name) || n.value || s.placeholder), 1)
45
- ]),
46
- k(b, {
47
- mode: "out-in",
48
- name: "TransitionTranslateY"
49
- }, {
50
- default: g(() => [
51
- o.value ? (t(), l("ul", {
52
- key: 0,
53
- class: _([e.$attrs.class, "pos-absolute pos-t-100 pos-l-0 z-index-5 w-100 mn-t-thin"])
54
- }, [
55
- (t(!0), l(v, null, x(B(w), (c) => (t(), l("li", {
56
- onClick: h((j) => y(c), ["stop"])
57
- }, [
58
- c ? (t(), l("span", $, r(c.name || c), 1)) : u("", !0)
59
- ], 8, V))), 256))
60
- ], 2)) : u("", !0)
61
- ]),
62
- _: 1
63
- })
64
- ], 10, N),
65
- k(b, {
66
- mode: "out-in",
67
- name: "fade"
68
- }, {
69
- default: g(() => [
70
- s.validation ? (t(), l("div", z, " * " + r(s.validation.message), 1)) : u("", !0)
71
- ]),
72
- _: 1
73
- })
74
- ], 64);
75
- };
76
- }
77
- }, I = /* @__PURE__ */ M(E, [["__scopeId", "data-v-dfe03dc2"]]);
1
+ const e = "";
78
2
  export {
79
- I as default
3
+ e as default
80
4
  };
@@ -1 +1 @@
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
+ "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"),r=require("../../../middlewares/client/inputs.validation.cjs");require("./SignIn.vue2.cjs");const y={class:""},S=["src"],E={class:"mn-medium"},q=e.createElementVNode("br",null,null,-1),x={class:"t-semi"},C={class:"mn-big"},D={class:"mn-small p-small uppercase t-semi bg-grey radius-big o-hidden"},P={class:""},T={class:"mn-thin radius-small"},I={class:"mn-thin radius-small o-hidden"},U={class:"w-100 mn-big"},k={__name:"SignIn",setup(j){const d=e.ref(null),m=e.ref(null),u=e.ref(null);p.useRoute();const h=p.useRouter(),{t:l}=N.useI18n(b.default),n=e.ref("phone"),f=o=>new Promise((s,i)=>{const t=document.createElement("script");t.type="text/javascript",t.src=o,t.onload=s,t.onerror=i,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{n.value==="phone"&&await r.validateInputs(d,r.validatePhone,a.state.user.phone,"Некорректный телефон"),n.value==="email"&&await r.validateInputs(u,r.validateEmail,a.state.user.email,"Некорректный email")}catch{throw new Error}const o={...a.state.user};o.phone=a.state.user.phone.number,await a.actions.login(o,n.value)}function _(){h.push({name:"User Profile",params:{_id:a.state.user._id},query:{afterAuth:"true"}})}return(o,s)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",y,[e.createElementVNode("img",{src:"/logo/logo_square.svg",class:"i-extra mn-small"},null,8,S),e.createElementVNode("h3",E,[e.createTextVNode(e.toDisplayString(e.unref(l)("title"))+" ",1),q,e.createElementVNode("span",x,e.toDisplayString(e.unref(l)("subtitle")),1)]),e.createElementVNode("p",C,[e.createVNode(i,{to:{name:"Sign Up"},class:"underline t-second"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signup")),1)]),_:1})]),e.createElementVNode("div",D,[e.createVNode(g.default,{selected:n.value,"onUpdate:selected":s[0]||(s[0]=t=>n.value=t),tabs:[{name:e.unref(l)("phone"),value:"phone"},{name:e.unref(l)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",P,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",T,[e.createVNode(V.default,{modelValue:a.state.user.phone,"onUpdate:modelValue":s[1]||(s[1]=t=>a.state.user.phone=t),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:d.value,mode:"national",inputOptions:{placeholder:e.unref(l)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,n.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",I,[e.createVNode(c.default,{field:a.state.user.email,"onUpdate:field":s[2]||(s[2]=t=>a.state.user.email=t),placeholder:e.unref(l)("emailPlaceholder"),validation:u.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,n.value==="email"]])]),_:1})]),e.createVNode(c.default,{field:a.state.user.password,"onUpdate:field":s[3]||(s[3]=t=>a.state.user.password=t),type:"password",validation:m.value,placeholder:e.unref(l)("passwordPlaceholder"),class:"bg-grey pd-medium radius-small mn-semi"},null,8,["field","validation","placeholder"]),e.createElementVNode("div",U,[e.createVNode(i,{to:"/auth/reset-password",class:"underline d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("forgotPassword")),1)]),_:1})]),e.createVNode(w.default,{submit:v,callback:_,class:"mn-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signin")),1)]),_:1})])}}};exports.default=k;
@@ -1,95 +1,94 @@
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";
1
+ import { ref as p, onMounted as U, resolveComponent as k, openBlock as C, createElementBlock as E, createElementVNode as l, createTextVNode as c, toDisplayString as d, unref as a, createVNode as i, withCtx as u, Transition as f, withDirectives as v, vShow as g } from "vue";
2
+ import I from "../../../../components/Tab/Tab.vue2.js";
3
+ import w from "../../../../components/Field/Field.vue2.js";
4
+ import D from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
+ import j from "../../../../components/Button/Button.vue2.js";
6
+ import { useRoute as F, useRouter as N } from "vue-router";
7
+ import { useI18n as O } from "vue-i18n";
8
+ import T from "../../localization/SignIn.json.js";
9
+ import { state as o, actions as q } from "../../store/auth.js";
10
+ import { validateInputs as b, validatePhone as A, validateEmail as B } from "../../../middlewares/client/inputs.validation.js";
11
11
  import "./SignIn.vue2.js";
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 = {
12
+ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE__ */ l("br", null, null, -1), z = { class: "t-semi" }, G = { class: "mn-big" }, H = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, J = { class: "" }, K = { class: "mn-thin radius-small" }, Q = { class: "mn-thin radius-small o-hidden" }, W = { class: "w-100 mn-big" }, de = {
13
13
  __name: "SignIn",
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) => {
14
+ setup(X) {
15
+ const h = p(null), y = p(null), _ = p(null);
16
+ F();
17
+ const V = N(), { t: s } = O(T), n = p("phone"), x = (r) => new Promise((t, m) => {
20
18
  const e = document.createElement("script");
21
- e.type = "text/javascript", e.src = c, e.onload = a, e.onerror = u, document.head.appendChild(e);
19
+ e.type = "text/javascript", e.src = r, e.onload = t, e.onerror = m, document.head.appendChild(e);
22
20
  });
23
- S(async () => {
24
- await V("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js");
21
+ U(async () => {
22
+ await x("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js");
25
23
  });
26
- async function x() {
24
+ async function P() {
27
25
  try {
28
- n.value === "phone" && await P(
26
+ n.value === "phone" && await b(
29
27
  h,
30
- O,
31
- t.user.phone,
28
+ A,
29
+ o.user.phone,
32
30
  "Некорректный телефон"
33
- ), n.value === "email" && await P(
31
+ ), n.value === "email" && await b(
34
32
  _,
35
- q,
36
- t.user.email,
33
+ B,
34
+ o.user.email,
37
35
  "Некорректный email"
38
36
  );
39
37
  } catch {
40
38
  throw new Error();
41
39
  }
42
- t.user.phone = t.user.phone.number, await F.login(t.user, n.value);
40
+ const r = { ...o.user };
41
+ r.phone = o.user.phone.number, await q.login(r, n.value);
43
42
  }
44
- function I() {
45
- E.push({
43
+ function S() {
44
+ V.push({
46
45
  name: "User Profile",
47
46
  params: {
48
- _id: t.user._id
47
+ _id: o.user._id
49
48
  },
50
49
  query: { afterAuth: "true" }
51
50
  });
52
51
  }
53
- return (c, a) => {
54
- const u = U("router-link");
55
- return C(), k("section", B, [
52
+ return (r, t) => {
53
+ const m = k("router-link");
54
+ return C(), E("section", R, [
56
55
  l("img", {
57
56
  src: "/logo/logo_square.svg",
58
57
  class: "i-extra mn-small"
59
58
  }, null, 8, $),
60
- l("h3", M, [
61
- p(r(o(s)("title")) + " ", 1),
62
- z,
63
- l("span", G, r(o(s)("subtitle")), 1)
59
+ l("h3", L, [
60
+ c(d(a(s)("title")) + " ", 1),
61
+ M,
62
+ l("span", z, d(a(s)("subtitle")), 1)
64
63
  ]),
65
- l("p", H, [
66
- i(u, {
64
+ l("p", G, [
65
+ i(m, {
67
66
  to: { name: "Sign Up" },
68
67
  class: "underline t-second"
69
68
  }, {
70
- default: d(() => [
71
- p(r(o(s)("signup")), 1)
69
+ default: u(() => [
70
+ c(d(a(s)("signup")), 1)
72
71
  ]),
73
72
  _: 1
74
73
  })
75
74
  ]),
76
- l("div", J, [
77
- i(D, {
75
+ l("div", H, [
76
+ i(I, {
78
77
  selected: n.value,
79
- "onUpdate:selected": a[0] || (a[0] = (e) => n.value = e),
78
+ "onUpdate:selected": t[0] || (t[0] = (e) => n.value = e),
80
79
  tabs: [
81
- { name: o(s)("phone"), value: "phone" },
82
- { name: o(s)("email"), value: "email" }
80
+ { name: a(s)("phone"), value: "phone" },
81
+ { name: a(s)("email"), value: "email" }
83
82
  ]
84
83
  }, null, 8, ["selected", "tabs"])
85
84
  ]),
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),
85
+ l("div", J, [
86
+ i(f, { name: "slide-fade" }, {
87
+ default: u(() => [
88
+ v(l("div", K, [
89
+ i(D, {
90
+ modelValue: o.user.phone,
91
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => o.user.phone = e),
93
92
  dropdownOptions: {
94
93
  showDialCodeInSelection: !0,
95
94
  showFlags: !0,
@@ -97,58 +96,58 @@ const B = { class: "" }, $ = ["src"], M = { class: "mn-medium" }, z = /* @__PURE
97
96
  },
98
97
  validation: h.value,
99
98
  mode: "national",
100
- inputOptions: { placeholder: o(s)("phonePlaceholder") },
99
+ inputOptions: { placeholder: a(s)("phonePlaceholder") },
101
100
  class: "bg-grey pd-small radius-small mn-thin"
102
101
  }, null, 8, ["modelValue", "validation", "inputOptions"])
103
102
  ], 512), [
104
- [w, n.value === "phone"]
103
+ [g, n.value === "phone"]
105
104
  ])
106
105
  ]),
107
106
  _: 1
108
107
  }),
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"),
108
+ i(f, { name: "slide-fade" }, {
109
+ default: u(() => [
110
+ v(l("div", Q, [
111
+ i(w, {
112
+ field: o.user.email,
113
+ "onUpdate:field": t[2] || (t[2] = (e) => o.user.email = e),
114
+ placeholder: a(s)("emailPlaceholder"),
116
115
  validation: _.value,
117
116
  class: "bg-grey pd-medium radius-small"
118
117
  }, null, 8, ["field", "placeholder", "validation"])
119
118
  ], 512), [
120
- [w, n.value === "email"]
119
+ [g, n.value === "email"]
121
120
  ])
122
121
  ]),
123
122
  _: 1
124
123
  })
125
124
  ]),
126
- i(b, {
127
- field: t.user.password,
128
- "onUpdate:field": a[3] || (a[3] = (e) => t.user.password = e),
125
+ i(w, {
126
+ field: o.user.password,
127
+ "onUpdate:field": t[3] || (t[3] = (e) => o.user.password = e),
129
128
  type: "password",
130
129
  validation: y.value,
131
- placeholder: o(s)("passwordPlaceholder"),
130
+ placeholder: a(s)("passwordPlaceholder"),
132
131
  class: "bg-grey pd-medium radius-small mn-semi"
133
132
  }, null, 8, ["field", "validation", "placeholder"]),
134
- l("div", X, [
135
- i(u, {
133
+ l("div", W, [
134
+ i(m, {
136
135
  to: "/auth/reset-password",
137
136
  class: "underline d-block t-blue"
138
137
  }, {
139
- default: d(() => [
140
- p(r(o(s)("forgotPassword")), 1)
138
+ default: u(() => [
139
+ c(d(a(s)("forgotPassword")), 1)
141
140
  ]),
142
141
  _: 1
143
142
  })
144
143
  ]),
145
- i(R, {
146
- submit: x,
147
- callback: I,
144
+ i(j, {
145
+ submit: P,
146
+ callback: S,
148
147
  class: "mn-thin"
149
148
  }, {
150
- default: d(() => [
151
- p(r(o(s)("signin")), 1)
149
+ default: u(() => [
150
+ c(d(a(s)("signin")), 1)
152
151
  ]),
153
152
  _: 1
154
153
  })
@@ -157,5 +156,5 @@ const B = { class: "" }, $ = ["src"], M = { class: "mn-medium" }, z = /* @__PURE
157
156
  }
158
157
  };
159
158
  export {
160
- ue as default
159
+ de as default
161
160
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../components/layouts/Auth.vue.cjs"),e=require("../../middlewares/client/states.validation.cjs"),t=require("../../middlewares/client/auth.validation.cjs"),n=[{path:"auth",name:"Authentication",meta:{title:{en:"Sign In",ru:"Вход"}},component:r.default,children:[{path:"signin",name:"Sign In",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Sign In",ru:"Вход"}},component:()=>Promise.resolve().then(()=>require("../components/pages/SignIn.vue.cjs"))},{path:"reset-password",name:"Reset Password",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Reset Password",ru:"Сбросить Пароль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/ResetPassword.vue.cjs"))},{path:"signup",name:"Sign Up",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Sign Up",ru:"Регистрация"}},component:()=>Promise.resolve().then(()=>require("../components/pages/SignUp.vue.cjs"))},{path:"enter-code",name:"Enter Code",beforeEnter:[t.requiresNoAuth,e.checkUser],meta:{title:{en:"Enter Code",ru:"Введите Код"}},component:()=>Promise.resolve().then(()=>require("../components/pages/EnterCode.vue.cjs"))},{path:"enter-password",name:"Enter Password",beforeEnter:[t.requiresNoAuth,e.checkUser],meta:{title:{en:"Enter Password",ru:"Введите Пароль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/EnterPassword.vue.cjs"))},{path:"invite",name:"Invite",meta:{title:{en:"Invite",ru:"Приглашение"}},component:()=>Promise.resolve().then(()=>require("../components/pages/Invite.vue.cjs"))}]}];exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../components/layouts/Auth.vue.cjs"),e=require("../../middlewares/client/states.validation.cjs"),t=require("../../middlewares/client/auth.validation.cjs");function o(r){return[{path:"auth",name:"Authentication",meta:{title:{en:"Аутентификация",ru:"Authentication"},options:r},component:n.default,children:[{path:"signin",name:"Sign In",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Sign In",ru:"Вход"}},component:()=>Promise.resolve().then(()=>require("../components/pages/SignIn.vue.cjs"))},{path:"reset-password",name:"Reset Password",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Reset Password",ru:"Сбросить Пароль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/ResetPassword.vue.cjs"))},{path:"signup",name:"Sign Up",beforeEnter:[t.requiresNoAuth,e.resetUser],meta:{title:{en:"Sign Up",ru:"Регистрация"}},component:()=>Promise.resolve().then(()=>require("../components/pages/SignUp.vue.cjs"))},{path:"enter-code",name:"Enter Code",beforeEnter:[t.requiresNoAuth,e.checkUser],meta:{title:{en:"Enter Code",ru:"Введите Код"}},component:()=>Promise.resolve().then(()=>require("../components/pages/EnterCode.vue.cjs"))},{path:"enter-password",name:"Enter Password",beforeEnter:[t.requiresNoAuth,e.checkUser],meta:{title:{en:"Enter Password",ru:"Введите Пароль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/EnterPassword.vue.cjs"))},{path:"invite",name:"Invite",meta:{title:{en:"Invite",ru:"Приглашение"}},component:()=>Promise.resolve().then(()=>require("../components/pages/Invite.vue.cjs"))}]}]}exports.default=o;