@tapni/auth 0.0.170 → 0.0.171
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/README.md +2 -0
- package/dist/.vite/manifest.json +18 -10
- package/dist/.well-known/assetlinks.json +10 -12
- package/dist/.well-known/microsoft-identity-association.json +5 -5
- package/dist/{Account-6F9eRo1R.js → Account-BB71UmF3.js} +31 -32
- package/dist/{QR-2Izy5Dj4.js → QR-BJnR_0ci.js} +3 -3
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +9 -9
- package/dist/blank.html +31 -0
- package/dist/{install-co2F1hxN.js → install-Cx9Gi17U.js} +752 -996
- package/dist/site.webmanifest +11 -1
- package/dist/style.css +1 -1
- package/dist/{web-NrPZl3qD.js → web-XbruGdlD.js} +2 -5
- package/package.json +64 -55
- package/src/.prettierrc.json +16 -0
- package/src/App.vue +249 -265
- package/src/components/Language.vue +66 -143
- package/src/components/LinkIcon.vue +174 -225
- package/src/components/ModalOverlay.vue +47 -50
- package/src/components/OTP.vue +64 -94
- package/src/components/SSO.vue +80 -111
- package/src/components/SSOPick.vue +93 -148
- package/src/eslint.config.js +15 -0
- package/src/install.js +9 -10
- package/src/main.js +54 -57
- package/src/mixins/apple.mixin.js +56 -54
- package/src/mixins/auth.mixin.js +21 -74
- package/src/mixins/facebook.mixin.js +67 -66
- package/src/mixins/global.mixin.js +107 -109
- package/src/mixins/google.mixin.js +53 -54
- package/src/mixins/mfa-auth.mixin.js +68 -68
- package/src/mixins/microsoft.mixin.js +67 -75
- package/src/mixins/okta.mixin.js +50 -57
- package/src/mixins/qr-auth.mixin.js +111 -107
- package/src/mixins/saml.mixin.js +97 -48
- package/src/router/index.js +6 -6
- package/src/routes.js +60 -66
- package/src/services/Api.js +55 -57
- package/src/services/AuthService.js +75 -75
- package/src/services/CompanyService.js +10 -10
- package/src/services/DeviceService.js +3 -3
- package/src/services/UserService.js +45 -45
- package/src/services/UtilService.js +256 -218
- package/src/store/auth.js +471 -543
- package/src/store/constants.js +1 -1
- package/src/store/event-bus.js +22 -22
- package/src/store/locales/cn.js +442 -458
- package/src/store/locales/de.js +438 -517
- package/src/store/locales/en.js +449 -510
- package/src/store/locales/es.js +442 -524
- package/src/store/locales/fr.js +442 -516
- package/src/store/locales/it.js +442 -514
- package/src/store/locales/kr.js +442 -491
- package/src/store/locales/lang.js +43 -43
- package/src/store/locales/sr.js +439 -492
- package/src/store/locales/tr.js +436 -487
- package/src/store/store.js +6 -6
- package/src/views/Account.vue +169 -207
- package/src/views/Callback.vue +36 -33
- package/src/views/Login.vue +220 -392
- package/src/views/MFA.vue +89 -103
- package/src/views/QR.vue +25 -28
- package/src/views/Register.vue +201 -205
- package/src/views/Reset.vue +132 -135
- package/src/views/Verify.vue +153 -151
- package/src/views/Welcome.vue +61 -60
- /package/dist/{web-L3jORB19.js → web-AXRKjAOB.js} +0 -0
- /package/dist/{web-5VtGcKeU.js → web-IFGkBi0t.js} +0 -0
- /package/dist/{web-AImUTDQQ.js → web-LIfHmYL2.js} +0 -0
package/README.md
CHANGED
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_install-
|
|
3
|
-
"file": "install-
|
|
2
|
+
"_install-Cx9Gi17U.js": {
|
|
3
|
+
"file": "install-Cx9Gi17U.js",
|
|
4
|
+
"name": "install",
|
|
4
5
|
"dynamicImports": [
|
|
5
6
|
"src/views/Account.vue",
|
|
6
7
|
"src/views/QR.vue",
|
|
@@ -11,44 +12,51 @@
|
|
|
11
12
|
]
|
|
12
13
|
},
|
|
13
14
|
"node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js": {
|
|
14
|
-
"file": "web-
|
|
15
|
+
"file": "web-XbruGdlD.js",
|
|
16
|
+
"name": "web",
|
|
15
17
|
"src": "node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
|
|
16
18
|
"isDynamicEntry": true
|
|
17
19
|
},
|
|
18
20
|
"node_modules/@capacitor-community/facebook-login/dist/esm/web.js": {
|
|
19
|
-
"file": "web-
|
|
21
|
+
"file": "web-AXRKjAOB.js",
|
|
22
|
+
"name": "web",
|
|
20
23
|
"src": "node_modules/@capacitor-community/facebook-login/dist/esm/web.js",
|
|
21
24
|
"isDynamicEntry": true
|
|
22
25
|
},
|
|
23
26
|
"node_modules/@capacitor/preferences/dist/esm/web.js": {
|
|
24
|
-
"file": "web-
|
|
27
|
+
"file": "web-LIfHmYL2.js",
|
|
28
|
+
"name": "web",
|
|
25
29
|
"src": "node_modules/@capacitor/preferences/dist/esm/web.js",
|
|
26
30
|
"isDynamicEntry": true
|
|
27
31
|
},
|
|
28
32
|
"node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js": {
|
|
29
|
-
"file": "web-
|
|
33
|
+
"file": "web-IFGkBi0t.js",
|
|
34
|
+
"name": "web",
|
|
30
35
|
"src": "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
|
|
31
36
|
"isDynamicEntry": true
|
|
32
37
|
},
|
|
33
38
|
"src/install.js": {
|
|
34
39
|
"file": "TapniAuth.umd.js",
|
|
40
|
+
"name": "install",
|
|
35
41
|
"src": "src/install.js",
|
|
36
42
|
"isEntry": true
|
|
37
43
|
},
|
|
38
44
|
"src/views/Account.vue": {
|
|
39
|
-
"file": "Account-
|
|
45
|
+
"file": "Account-BB71UmF3.js",
|
|
46
|
+
"name": "Account",
|
|
40
47
|
"src": "src/views/Account.vue",
|
|
41
48
|
"isDynamicEntry": true,
|
|
42
49
|
"imports": [
|
|
43
|
-
"_install-
|
|
50
|
+
"_install-Cx9Gi17U.js"
|
|
44
51
|
]
|
|
45
52
|
},
|
|
46
53
|
"src/views/QR.vue": {
|
|
47
|
-
"file": "QR-
|
|
54
|
+
"file": "QR-BJnR_0ci.js",
|
|
55
|
+
"name": "QR",
|
|
48
56
|
"src": "src/views/QR.vue",
|
|
49
57
|
"isDynamicEntry": true,
|
|
50
58
|
"imports": [
|
|
51
|
-
"_install-
|
|
59
|
+
"_install-Cx9Gi17U.js"
|
|
52
60
|
]
|
|
53
61
|
},
|
|
54
62
|
"style.css": {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
}]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
4
|
+
"target": {
|
|
5
|
+
"namespace": "android_app",
|
|
6
|
+
"package_name": "co.tapni.app",
|
|
7
|
+
"sha256_cert_fingerprints": ["B5:E6:1C:2F:E6:57:A8:A8:53:E9:10:4D:40:7C:A4:1C:61:A6:05:B1:67:19:3B:87:BA:5D:FD:F7:62:1B:E7:94", "54:D6:D1:9A:91:74:AD:8E:51:C3:63:53:55:CB:A1:B3:D2:A4:79:AF:5E:93:A0:DC:9E:01:8A:4E:60:4D:C3:60"]
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
]
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { _ as l, A as d, E as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const m = {
|
|
1
|
+
import { _ as l, A as d, E as g } from "./install-Cx9Gi17U.js";
|
|
2
|
+
import { createElementBlock as r, openBlock as u, createElementVNode as t, createCommentVNode as a, toDisplayString as i, pushScopeId as p, popScopeId as h } from "vue";
|
|
3
|
+
const _ = {
|
|
5
4
|
mixins: [d],
|
|
6
5
|
data() {
|
|
7
6
|
return {
|
|
8
7
|
expanded: !1,
|
|
9
8
|
addAccountReady: !1,
|
|
10
|
-
appVersion:
|
|
9
|
+
appVersion: void 0
|
|
11
10
|
};
|
|
12
11
|
},
|
|
13
12
|
async mounted() {
|
|
@@ -29,85 +28,85 @@ const m = {
|
|
|
29
28
|
this.$router.push("/mfa");
|
|
30
29
|
},
|
|
31
30
|
toggleLanguageModal() {
|
|
32
|
-
|
|
31
|
+
g.$emit("toggleSSOLanguageModal");
|
|
33
32
|
},
|
|
34
33
|
logoutAccount() {
|
|
35
34
|
this.logout({ refreshToken: this.refreshTokens[0], sendRequest: !0 });
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
|
-
}, o = (e) => (p("data-v-
|
|
37
|
+
}, o = (e) => (p("data-v-a8acf931"), e = e(), h(), e), m = {
|
|
39
38
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
40
39
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
41
|
-
},
|
|
42
|
-
const L = { class: "container" },
|
|
40
|
+
}, f = /* @__PURE__ */ o(() => /* @__PURE__ */ t("br", null, null, -1)), v = { class: "bold full-top no-bottom center-text" }, b = { class: "full-bottom half-top center-text color-black font-16" };
|
|
41
|
+
const L = { class: "container" }, w = { class: "settingsCard pointer left-text" }, x = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "left" }, [
|
|
43
42
|
/* @__PURE__ */ t("img", {
|
|
44
43
|
src: "https://cdn.tapni.co/icons/newSettings.svg",
|
|
45
44
|
style: { width: "50px", "border-radius": "20px" }
|
|
46
45
|
})
|
|
47
|
-
], -1)),
|
|
46
|
+
], -1)), A = { class: "middle" }, k = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "right" }, [
|
|
48
47
|
/* @__PURE__ */ t("img", { src: "https://cdn.tapni.co/icons/newArrowRight.svg" })
|
|
49
|
-
], -1)),
|
|
48
|
+
], -1)), S = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "divider" }, null, -1)), y = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "left" }, [
|
|
50
49
|
/* @__PURE__ */ t("img", {
|
|
51
50
|
src: "https://cdn.tapni.co/icons/newPublicProfile.svg",
|
|
52
51
|
style: { width: "50px", "border-radius": "20px" }
|
|
53
52
|
})
|
|
54
|
-
], -1)),
|
|
53
|
+
], -1)), E = { class: "middle" }, V = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "right" }, [
|
|
55
54
|
/* @__PURE__ */ t("img", { src: "https://cdn.tapni.co/icons/newArrowRight.svg" })
|
|
56
|
-
], -1)),
|
|
55
|
+
], -1)), N = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "divider" }, null, -1)), M = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "left" }, [
|
|
57
56
|
/* @__PURE__ */ t("img", {
|
|
58
57
|
src: "https://cdn.tapni.co/icons/newLogout.svg",
|
|
59
58
|
style: { width: "50px", "border-radius": "20px" }
|
|
60
59
|
})
|
|
61
|
-
], -1)),
|
|
60
|
+
], -1)), C = { class: "middle" }, T = /* @__PURE__ */ o(() => /* @__PURE__ */ t("div", { class: "right" }, [
|
|
62
61
|
/* @__PURE__ */ t("img", { src: "https://cdn.tapni.co/icons/newArrowRight.svg" })
|
|
63
62
|
], -1));
|
|
64
|
-
function
|
|
65
|
-
return
|
|
66
|
-
|
|
67
|
-
t("h1",
|
|
68
|
-
t("p",
|
|
63
|
+
function $(e, n, B, I, R, c) {
|
|
64
|
+
return u(), r("div", m, [
|
|
65
|
+
f,
|
|
66
|
+
t("h1", v, i(e.ssoLang[e.appLanguage].welcome), 1),
|
|
67
|
+
t("p", b, i(e.account.email), 1),
|
|
69
68
|
(e.display, a("", !0)),
|
|
70
69
|
t("div", L, [
|
|
71
70
|
a("", !0),
|
|
72
|
-
t("div",
|
|
71
|
+
t("div", w, [
|
|
73
72
|
t("div", {
|
|
74
73
|
class: "device",
|
|
75
74
|
onClick: n[4] || (n[4] = (...s) => c.toggleAccountSettingsModal && c.toggleAccountSettingsModal(...s))
|
|
76
75
|
}, [
|
|
77
|
-
|
|
78
|
-
t("div",
|
|
76
|
+
x,
|
|
77
|
+
t("div", A, [
|
|
79
78
|
t("h4", null, i(e.ssoLang[e.appLanguage].mfa), 1)
|
|
80
79
|
]),
|
|
81
80
|
k
|
|
82
81
|
]),
|
|
83
|
-
|
|
82
|
+
S,
|
|
84
83
|
t("div", {
|
|
85
84
|
class: "device",
|
|
86
85
|
onClick: n[5] || (n[5] = (...s) => c.toggleLanguageModal && c.toggleLanguageModal(...s))
|
|
87
86
|
}, [
|
|
88
|
-
|
|
89
|
-
t("div",
|
|
87
|
+
y,
|
|
88
|
+
t("div", E, [
|
|
90
89
|
t("h4", null, i(e.ssoLang[e.appLanguage].change_language), 1)
|
|
91
90
|
]),
|
|
92
|
-
|
|
91
|
+
V
|
|
93
92
|
]),
|
|
94
|
-
|
|
93
|
+
N,
|
|
95
94
|
t("div", {
|
|
96
95
|
class: "device",
|
|
97
96
|
onClick: n[6] || (n[6] = (...s) => c.logoutAccount && c.logoutAccount(...s))
|
|
98
97
|
}, [
|
|
99
|
-
|
|
100
|
-
t("div",
|
|
98
|
+
M,
|
|
99
|
+
t("div", C, [
|
|
101
100
|
t("h4", null, i(e.ssoLang[e.appLanguage].logout), 1)
|
|
102
101
|
]),
|
|
103
|
-
|
|
102
|
+
T
|
|
104
103
|
]),
|
|
105
104
|
a("", !0)
|
|
106
105
|
])
|
|
107
106
|
])
|
|
108
107
|
]);
|
|
109
108
|
}
|
|
110
|
-
const
|
|
109
|
+
const O = /* @__PURE__ */ l(_, [["render", $], ["__scopeId", "data-v-a8acf931"]]);
|
|
111
110
|
export {
|
|
112
|
-
|
|
111
|
+
O as default
|
|
113
112
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as s, A as a, Q as i } from "./install-
|
|
2
|
-
import { resolveComponent as l,
|
|
1
|
+
import { _ as s, A as a, Q as i } from "./install-Cx9Gi17U.js";
|
|
2
|
+
import { resolveComponent as l, createElementBlock as _, openBlock 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",
|
|
5
5
|
mixins: [a, i]
|
|
@@ -10,7 +10,7 @@ const g = {
|
|
|
10
10
|
}, null, -1), f = /* @__PURE__ */ n("br", null, null, -1), y = /* @__PURE__ */ n("br", null, null, -1), C = { style: { margin: "0 auto", width: "85%", "text-align": "left" } }, v = { class: "center-text" }, k = /* @__PURE__ */ n("br", null, null, -1), q = /* @__PURE__ */ n("br", null, null, -1), w = /* @__PURE__ */ n("br", null, null, -1);
|
|
11
11
|
function x(e, A, Q, R, $, N) {
|
|
12
12
|
const t = l("router-link");
|
|
13
|
-
return
|
|
13
|
+
return r(), _("div", h, [
|
|
14
14
|
n("h5", c, o(e.ssoLang[e.appLanguage].use_tapni_on_the_web), 1),
|
|
15
15
|
m,
|
|
16
16
|
n("div", L, [
|
package/dist/TapniAuth.es.js
CHANGED