@ozdao/prometheus-framework 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs +1945 -0
- package/dist/ButtonFollow-f0cefb85.mjs +131 -0
- package/dist/CardOrganization-522845c7.mjs +230 -0
- package/dist/Feed-a7a6bd2e.mjs +368 -0
- package/dist/Feed-f3b2bd74.mjs +439 -0
- package/dist/Image-58efaf35.mjs +477 -0
- package/dist/Popup-709634dc.mjs +76 -0
- package/dist/Product-2c6df98d.mjs +838 -0
- package/dist/ProductEdit-ab5d71ce.mjs +350 -0
- package/dist/ProfileBlogposts-3aea0091.mjs +64 -0
- package/dist/ProfileComments-9398be62.mjs +44 -0
- package/dist/ProfileEvents-82517a3b.mjs +56 -0
- package/dist/ProfileLikes-0c8a7255.mjs +44 -0
- package/dist/ProfileOrganizations-5b5480d5.mjs +212 -0
- package/dist/Publics-bed70f0c.mjs +123 -0
- package/dist/UploadImage-86fda95d.mjs +83 -0
- package/dist/auth-962e3b73.mjs +1836 -0
- package/dist/auth.client.cjs +8 -8
- package/dist/auth.client.js +410 -408
- package/dist/auth.validation-1b60cef5.mjs +20 -0
- package/dist/community.client.js +10 -10
- package/dist/events.client.js +8 -8
- package/dist/organizations-8408770b.mjs +121 -0
- package/dist/organizations.client-6f1f8b73.mjs +3017 -0
- package/dist/organizations.client.js +10 -10
- package/dist/users.client.js +9 -9
- package/package.json +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +25 -27
@@ -1,24 +1,24 @@
|
|
1
|
-
import { o as f, e as z, D as l, l as x, x as M, k as O, m as y, t as A, v as E, i as P, n as T, q as U, w as _, u as h, d as v, g as w, h as B, f as C, y as R, P as j, p as k, r as q, j as F, U as L, z as G, A as H } from "./organizations.client-
|
2
|
-
import { _ as J } from "./CardOrganization-
|
1
|
+
import { o as f, e as z, D as l, l as x, x as M, k as O, m as y, t as A, v as E, i as P, n as T, q as U, w as _, u as h, d as v, g as w, h as B, f as C, y as R, P as j, p as k, r as q, j as F, U as L, z as G, A as H } from "./organizations.client-6f1f8b73.mjs";
|
2
|
+
import { _ as J } from "./CardOrganization-522845c7.mjs";
|
3
3
|
import { _ as N } from "./Socials-8193477c.mjs";
|
4
|
-
import { _ as V } from "./Publics-
|
5
|
-
import { B as X, b as Y } from "./ButtonFollow-
|
6
|
-
import { o as $ } from "./organizations-
|
4
|
+
import { _ as V } from "./Publics-bed70f0c.mjs";
|
5
|
+
import { B as X, b as Y } from "./ButtonFollow-f0cefb85.mjs";
|
6
|
+
import { o as $ } from "./organizations-8408770b.mjs";
|
7
7
|
import "vue";
|
8
8
|
import "vue-router";
|
9
9
|
import "vue-i18n";
|
10
10
|
import "./globals-96ba60e4.mjs";
|
11
|
-
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-
|
12
|
-
import "./auth-
|
11
|
+
import "./Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs";
|
12
|
+
import "./auth-962e3b73.mjs";
|
13
13
|
import "./_plugin-vue_export-helper-dad06003.mjs";
|
14
14
|
import "./Tab-a243605d.mjs";
|
15
15
|
import "./inputs.validation-14e8e01f.mjs";
|
16
|
-
import "./Feed-
|
16
|
+
import "./Feed-a7a6bd2e.mjs";
|
17
17
|
import "./EmptyState-34d85f10.mjs";
|
18
18
|
import "./Chips-03ff0c34.mjs";
|
19
19
|
import "./IconEdit-eacf3856.mjs";
|
20
|
-
import "./Feed-
|
21
|
-
import "./UploadImage-
|
20
|
+
import "./Feed-f3b2bd74.mjs";
|
21
|
+
import "./UploadImage-86fda95d.mjs";
|
22
22
|
export {
|
23
23
|
X as ButtonFollow,
|
24
24
|
J as CardOrganization,
|
package/dist/users.client.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { openBlock as d, createElementBlock as p, renderSlot as O, createElementVNode as o, defineComponent as B, h as x, ref as U, resolveComponent as R, toDisplayString as w, createBlock as y, withCtx as g, createTextVNode as Z, createCommentVNode as $, reactive as F, onMounted as j, unref as m, Fragment as A, renderList as T, normalizeClass as D, createVNode as a, withAsyncContext as G } from "vue";
|
2
|
-
import { a as Y, s as f, b as L, F as b, _ as S } from "./auth-
|
2
|
+
import { a as Y, s as f, b as L, F as b, _ as S } from "./auth-962e3b73.mjs";
|
3
3
|
import { _ as H } from "./_plugin-vue_export-helper-dad06003.mjs";
|
4
|
-
import { B as q, m as J } from "./ButtonFollow-
|
4
|
+
import { B as q, m as J } from "./ButtonFollow-f0cefb85.mjs";
|
5
5
|
import { _ as K } from "./Socials-8193477c.mjs";
|
6
6
|
import { I as Q, P as W } from "./IconEdit-eacf3856.mjs";
|
7
7
|
import { useRoute as N, useRouter as I } from "vue-router";
|
8
8
|
import "./inputs.validation-14e8e01f.mjs";
|
9
|
-
import { _ as X } from "./UploadImage-
|
10
|
-
import "./auth.validation-
|
9
|
+
import { _ as X } from "./UploadImage-86fda95d.mjs";
|
10
|
+
import "./auth.validation-1b60cef5.mjs";
|
11
11
|
import "./globals-96ba60e4.mjs";
|
12
12
|
import "vue-i18n";
|
13
13
|
const ee = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium bg-grey radius-medium" }, E = {
|
@@ -570,7 +570,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
|
|
570
570
|
},
|
571
571
|
component: () => import(
|
572
572
|
/* webpackChunkName: "profile" */
|
573
|
-
"./ProfileBlogposts-
|
573
|
+
"./ProfileBlogposts-3aea0091.mjs"
|
574
574
|
)
|
575
575
|
}, {
|
576
576
|
path: "profile/:_id/comments",
|
@@ -583,7 +583,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
|
|
583
583
|
},
|
584
584
|
component: () => import(
|
585
585
|
/* webpackChunkName: "profile" */
|
586
|
-
"./ProfileComments-
|
586
|
+
"./ProfileComments-9398be62.mjs"
|
587
587
|
)
|
588
588
|
}, {
|
589
589
|
path: "profile/:_id/edit",
|
@@ -606,7 +606,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
|
|
606
606
|
},
|
607
607
|
component: () => import(
|
608
608
|
/* webpackChunkName: "profile" */
|
609
|
-
"./ProfileEvents-
|
609
|
+
"./ProfileEvents-82517a3b.mjs"
|
610
610
|
)
|
611
611
|
}, {
|
612
612
|
path: "profile/:_id/likes",
|
@@ -619,7 +619,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
|
|
619
619
|
},
|
620
620
|
component: () => import(
|
621
621
|
/* webpackChunkName: "profile" */
|
622
|
-
"./ProfileLikes-
|
622
|
+
"./ProfileLikes-0c8a7255.mjs"
|
623
623
|
)
|
624
624
|
}, {
|
625
625
|
path: "profile/:_id/organizations",
|
@@ -632,7 +632,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ o("
|
|
632
632
|
},
|
633
633
|
component: () => import(
|
634
634
|
/* webpackChunkName: "profile" */
|
635
|
-
"./ProfileOrganizations-
|
635
|
+
"./ProfileOrganizations-5b5480d5.mjs"
|
636
636
|
)
|
637
637
|
}];
|
638
638
|
export {
|
package/package.json
CHANGED
@@ -33,7 +33,6 @@
|
|
33
33
|
@input="onInput(0)"
|
34
34
|
@paste="($event) => onPaste($event, 0)"
|
35
35
|
@keydown="($event) => onKeyDown($event, 0)"
|
36
|
-
@focus="onFocus($event, 0)"
|
37
36
|
class="w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
|
38
37
|
>
|
39
38
|
<input type="number" v-model="state.digits[1]" maxlength="1" @input="onInput(1)" @paste="($event) => onPaste($event, 1)" @keydown="($event) => onKeyDown($event, 1)" class="w-100 h1 pd-small t-center bg-grey radius-small mn-r-small">
|
@@ -50,7 +49,7 @@
|
|
50
49
|
// Import components
|
51
50
|
import Field from '@pf/src/components/Field/Field.vue'
|
52
51
|
// Import libs
|
53
|
-
import { computed,reactive,ref, onMounted, onBeforeMount } from 'vue'
|
52
|
+
import { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'
|
54
53
|
import { useRoute,useRouter } from 'vue-router'
|
55
54
|
import { useI18n } from 'vue-i18n'
|
56
55
|
// Import state
|
@@ -71,6 +70,18 @@
|
|
71
70
|
error: null,
|
72
71
|
});
|
73
72
|
|
73
|
+
watch(
|
74
|
+
() => state.digits[0],
|
75
|
+
(newVal) => {
|
76
|
+
if (newVal && newVal.length === 4) {
|
77
|
+
for (let i = 0; i < 4; i++) {
|
78
|
+
state.digits[i] = newVal[i];
|
79
|
+
}
|
80
|
+
onInput(3);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
);
|
84
|
+
|
74
85
|
const firstInput = ref(null);
|
75
86
|
|
76
87
|
const resendTimer = ref(0);
|
@@ -96,19 +107,21 @@
|
|
96
107
|
}
|
97
108
|
}
|
98
109
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
110
|
+
|
111
|
+
const onKeyDown = (event, index) => {
|
112
|
+
if (event.key === "Backspace" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {
|
113
|
+
event.preventDefault();
|
114
|
+
|
115
|
+
const inputs = document.querySelectorAll('input');
|
116
|
+
const prevInput = index > 0 ? inputs[index - 1] : null;
|
117
|
+
|
118
|
+
if (prevInput) {
|
119
|
+
prevInput.focus();
|
120
|
+
prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);
|
121
|
+
}
|
107
122
|
}
|
108
|
-
});
|
109
123
|
};
|
110
124
|
|
111
|
-
|
112
125
|
const onPaste = (event, index) => {
|
113
126
|
event.preventDefault();
|
114
127
|
const pastedData = event.clipboardData.getData('text/plain');
|
@@ -124,21 +137,6 @@
|
|
124
137
|
}
|
125
138
|
};
|
126
139
|
|
127
|
-
const onKeyDown = (event, index) => {
|
128
|
-
if (event.key === "Backspace" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {
|
129
|
-
event.preventDefault();
|
130
|
-
|
131
|
-
const inputs = document.querySelectorAll('input');
|
132
|
-
const prevInput = index > 0 ? inputs[index - 1] : null;
|
133
|
-
|
134
|
-
if (prevInput) {
|
135
|
-
prevInput.focus();
|
136
|
-
prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);
|
137
|
-
}
|
138
|
-
}
|
139
|
-
};
|
140
|
-
|
141
|
-
|
142
140
|
const onInput = (index) => {
|
143
141
|
const inputs = document.querySelectorAll('input');
|
144
142
|
const nextInput = inputs[index + 1];
|