@tapni/auth 0.0.163 → 0.0.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +6 -6
- package/dist/{Account-rIITKRRa.js → Account-NBsbAR99.js} +12 -10
- package/dist/{QR-CyFd5BF-.js → QR-F20LHHzG.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/{install-ZmqL5ixy.js → install-NIpDjitq.js} +241 -246
- package/dist/style.css +1 -1
- package/package.json +4 -2
- package/src/main.js +4 -0
- package/src/mixins/auth.mixin.js +0 -1
- package/src/mixins/global.mixin.js +1 -1
- package/src/mixins/qr-auth.mixin.js +1 -1
- package/src/store/auth.js +14 -22
- package/src/views/Account.vue +3 -0
- package/src/views/Register.vue +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_install-
|
|
3
|
-
"file": "install-
|
|
2
|
+
"_install-NIpDjitq.js": {
|
|
3
|
+
"file": "install-NIpDjitq.js",
|
|
4
4
|
"dynamicImports": [
|
|
5
5
|
"src/views/Account.vue",
|
|
6
6
|
"src/views/QR.vue",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"isEntry": true
|
|
37
37
|
},
|
|
38
38
|
"src/views/Account.vue": {
|
|
39
|
-
"file": "Account-
|
|
39
|
+
"file": "Account-NBsbAR99.js",
|
|
40
40
|
"src": "src/views/Account.vue",
|
|
41
41
|
"isDynamicEntry": true,
|
|
42
42
|
"imports": [
|
|
43
|
-
"_install-
|
|
43
|
+
"_install-NIpDjitq.js"
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
"src/views/QR.vue": {
|
|
47
|
-
"file": "QR-
|
|
47
|
+
"file": "QR-F20LHHzG.js",
|
|
48
48
|
"src": "src/views/QR.vue",
|
|
49
49
|
"isDynamicEntry": true,
|
|
50
50
|
"imports": [
|
|
51
|
-
"_install-
|
|
51
|
+
"_install-NIpDjitq.js"
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"style.css": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as l, A as d, E as r } from "./install-
|
|
2
|
-
import { openBlock as g, createElementBlock as
|
|
1
|
+
import { _ as l, A as d, E as r } from "./install-NIpDjitq.js";
|
|
2
|
+
import { openBlock as g, createElementBlock as u, createElementVNode as t, toDisplayString as i, createCommentVNode as a, pushScopeId as p, popScopeId as _ } from "vue";
|
|
3
3
|
var h = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
4
4
|
const m = {
|
|
5
5
|
mixins: [d],
|
|
@@ -11,6 +11,8 @@ const m = {
|
|
|
11
11
|
};
|
|
12
12
|
},
|
|
13
13
|
async mounted() {
|
|
14
|
+
if (!this.isLoggedIn)
|
|
15
|
+
return this.$router.push("/");
|
|
14
16
|
this.getAccountSettings();
|
|
15
17
|
},
|
|
16
18
|
methods: {
|
|
@@ -33,7 +35,7 @@ const m = {
|
|
|
33
35
|
this.logout({ refreshToken: this.refreshTokens[0], sendRequest: !0 });
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
|
-
}, o = (e) => (
|
|
38
|
+
}, o = (e) => (p("data-v-992c1e64"), e = e(), _(), e), f = {
|
|
37
39
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
38
40
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
39
41
|
}, v = /* @__PURE__ */ o(() => /* @__PURE__ */ t("br", null, null, -1)), A = { class: "bold full-top no-bottom center-text" }, E = { class: "full-bottom half-top center-text color-black font-16" };
|
|
@@ -49,9 +51,9 @@ const L = { class: "container" }, P = { class: "settingsCard pointer left-text"
|
|
|
49
51
|
src: "https://cdn.tapni.co/icons/newPublicProfile.svg",
|
|
50
52
|
style: { width: "50px", "border-radius": "20px" }
|
|
51
53
|
})
|
|
52
|
-
], -1)),
|
|
54
|
+
], -1)), I = { class: "middle" }, O = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "right" }, [
|
|
53
55
|
/* @__PURE__ */ t("img", { src: "https://cdn.tapni.co/icons/newArrowRight.svg" })
|
|
54
|
-
], -1)),
|
|
56
|
+
], -1)), V = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "divider" }, null, -1)), T = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "left" }, [
|
|
55
57
|
/* @__PURE__ */ t("img", {
|
|
56
58
|
src: "https://cdn.tapni.co/icons/newLogout.svg",
|
|
57
59
|
style: { width: "50px", "border-radius": "20px" }
|
|
@@ -60,7 +62,7 @@ const L = { class: "container" }, P = { class: "settingsCard pointer left-text"
|
|
|
60
62
|
/* @__PURE__ */ t("img", { src: "https://cdn.tapni.co/icons/newArrowRight.svg" })
|
|
61
63
|
], -1));
|
|
62
64
|
function y(e, n, C, D, M, c) {
|
|
63
|
-
return g(),
|
|
65
|
+
return g(), u("div", f, [
|
|
64
66
|
v,
|
|
65
67
|
t("h1", A, i(e.ssoLang[e.appLanguage].welcome), 1),
|
|
66
68
|
t("p", E, i(e.account.email), 1),
|
|
@@ -84,12 +86,12 @@ function y(e, n, C, D, M, c) {
|
|
|
84
86
|
onClick: n[5] || (n[5] = (...s) => c.toggleLanguageModal && c.toggleLanguageModal(...s))
|
|
85
87
|
}, [
|
|
86
88
|
x,
|
|
87
|
-
t("div",
|
|
89
|
+
t("div", I, [
|
|
88
90
|
t("h4", null, i(e.ssoLang[e.appLanguage].change_language), 1)
|
|
89
91
|
]),
|
|
90
|
-
|
|
92
|
+
O
|
|
91
93
|
]),
|
|
92
|
-
|
|
94
|
+
V,
|
|
93
95
|
t("div", {
|
|
94
96
|
class: "device",
|
|
95
97
|
onClick: n[6] || (n[6] = (...s) => c.logoutAccount && c.logoutAccount(...s))
|
|
@@ -105,7 +107,7 @@ function y(e, n, C, D, M, c) {
|
|
|
105
107
|
])
|
|
106
108
|
]);
|
|
107
109
|
}
|
|
108
|
-
const U = /* @__PURE__ */ l(m, [["render", y], ["__scopeId", "data-v-
|
|
110
|
+
const U = /* @__PURE__ */ l(m, [["render", y], ["__scopeId", "data-v-992c1e64"]]);
|
|
109
111
|
export {
|
|
110
112
|
U as default
|
|
111
113
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, A as a, Q as i } from "./install-
|
|
1
|
+
import { _ as s, A as a, Q as i } from "./install-NIpDjitq.js";
|
|
2
2
|
import { resolveComponent as l, openBlock as _, createElementBlock as r, createElementVNode as n, toDisplayString as o, createVNode as d, withCtx as u, createTextVNode as p } from "vue";
|
|
3
3
|
const g = {
|
|
4
4
|
name: "AuthQR",
|
package/dist/TapniAuth.es.js
CHANGED