@tapni/auth 0.0.31 → 0.0.33
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/TapniAuth.es.js +128 -131
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +3 -3
- package/src/components/Language.vue +10 -10
- package/src/components/LinkIcon.vue +2 -2
- package/src/components/SSO.vue +4 -4
- package/src/components/SSOPick.vue +4 -4
- package/src/mixins/apple.mixin.js +1 -1
- package/src/mixins/auth.mixin.js +7 -10
- package/src/mixins/facebook.mixin.js +1 -1
- package/src/mixins/global.mixin.js +1 -1
- package/src/mixins/google.mixin.js +1 -1
- package/src/mixins/microsoft.mixin.js +1 -1
- package/src/mixins/okta.mixin.js +1 -1
- package/src/services/Api.js +2 -2
- package/src/views/Callback.vue +3 -3
- package/src/views/Login.vue +19 -19
- package/src/views/QR.vue +6 -6
- package/src/views/Register.vue +20 -20
- package/src/views/Reset.vue +15 -15
- package/src/views/Verify.vue +11 -11
- package/src/views/Welcome.vue +5 -5
package/dist/TapniAuth.es.js
CHANGED
|
@@ -13,7 +13,7 @@ import { Browser as F } from "@capacitor/browser";
|
|
|
13
13
|
import qe from "qr-code-styling";
|
|
14
14
|
import { sanitizeUrl as Me } from "@braintree/sanitize-url";
|
|
15
15
|
import Re from "@tapni/capacitor-reactive-localstorage-vue3";
|
|
16
|
-
const Ne = "0.0.
|
|
16
|
+
const Ne = "0.0.32", m = (e, a = !1) => {
|
|
17
17
|
const n = Ne;
|
|
18
18
|
let o = $.create({
|
|
19
19
|
baseURL: "https://api.tapni.co/v1/",
|
|
@@ -26,11 +26,11 @@ const Ne = "0.0.30", m = (e, a = !1) => {
|
|
|
26
26
|
return o.interceptors.request.use(async function(i) {
|
|
27
27
|
if (["post", "put", "delete"].includes(i.method.toLowerCase()) ? i.data = {
|
|
28
28
|
...i.data,
|
|
29
|
-
lang: e.
|
|
29
|
+
lang: e.appLanguage,
|
|
30
30
|
realm: e.realm || "app"
|
|
31
31
|
} : i.method.toLowerCase() === "get" && (i.params = {
|
|
32
32
|
...i.params,
|
|
33
|
-
lang: e.
|
|
33
|
+
lang: e.appLanguage,
|
|
34
34
|
realm: e.realm || "app"
|
|
35
35
|
}), e.token && !a) {
|
|
36
36
|
const r = te(e.token);
|
|
@@ -4307,7 +4307,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4307
4307
|
/** Copy string to clipboard */
|
|
4308
4308
|
copy(e = "") {
|
|
4309
4309
|
const a = document.createElement("textarea");
|
|
4310
|
-
a.value = e, a.setAttribute("readonly", ""), a.style.position = "absolute", a.style.left = "-9999px", document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), this.successSnack(this.ssoLang[this.
|
|
4310
|
+
a.value = e, a.setAttribute("readonly", ""), a.style.position = "absolute", a.style.left = "-9999px", document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), this.successSnack(this.ssoLang[this.appLanguage].copied);
|
|
4311
4311
|
},
|
|
4312
4312
|
async getCaptchaToken(e) {
|
|
4313
4313
|
try {
|
|
@@ -4323,7 +4323,7 @@ const z = {
|
|
|
4323
4323
|
mixins: [Oe],
|
|
4324
4324
|
data() {
|
|
4325
4325
|
return {
|
|
4326
|
-
|
|
4326
|
+
appLanguage: "en",
|
|
4327
4327
|
token: "",
|
|
4328
4328
|
refreshToken: "",
|
|
4329
4329
|
loggedInUserId: "",
|
|
@@ -4368,9 +4368,6 @@ const z = {
|
|
|
4368
4368
|
};
|
|
4369
4369
|
},
|
|
4370
4370
|
computed: {
|
|
4371
|
-
appLang() {
|
|
4372
|
-
return this.appLang;
|
|
4373
|
-
},
|
|
4374
4371
|
isLoggedIn() {
|
|
4375
4372
|
return !!this.token && this.token !== "" && this.token !== "null";
|
|
4376
4373
|
},
|
|
@@ -4445,9 +4442,9 @@ const z = {
|
|
|
4445
4442
|
},
|
|
4446
4443
|
async loginSetup(e) {
|
|
4447
4444
|
var a, n;
|
|
4448
|
-
e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((n = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : n.ssoLang) !== this.
|
|
4445
|
+
e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((n = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : n.ssoLang) !== this.appLanguage && d.$emit("ssoEvent", {
|
|
4449
4446
|
name: "saveProfile",
|
|
4450
|
-
data: { lang: this.
|
|
4447
|
+
data: { lang: this.appLanguage, username: e.data.data.username }
|
|
4451
4448
|
}), this.setLoggedInUserId(e.data.data.id), this.$storage.UserId = e.data.data.id, this.$storage.username = e.data.data.username, e.isModal === !0 && this.setLoggedInAccounts([
|
|
4452
4449
|
{
|
|
4453
4450
|
id: e.data.data.id,
|
|
@@ -4490,7 +4487,7 @@ const z = {
|
|
|
4490
4487
|
{ code: e.data.auth_code, state: this.$route.query.state },
|
|
4491
4488
|
a
|
|
4492
4489
|
);
|
|
4493
|
-
}) : this.display === "npm" && (d.$emit("ssoEvent", { name: "setLoading", data: !0 }), d.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (d.$emit("closeModal"), this.successSnack(this.ssoLang[this.
|
|
4490
|
+
}) : this.display === "npm" && (d.$emit("ssoEvent", { name: "setLoading", data: !0 }), d.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (d.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + e.data.data.username + "#edit"));
|
|
4494
4491
|
},
|
|
4495
4492
|
async register(e) {
|
|
4496
4493
|
const [a, n] = await g(
|
|
@@ -4508,7 +4505,7 @@ const z = {
|
|
|
4508
4505
|
);
|
|
4509
4506
|
if (a)
|
|
4510
4507
|
return this.errorHandler(a);
|
|
4511
|
-
n.data.success && this.successSnack(this.ssoLang[this.
|
|
4508
|
+
n.data.success && this.successSnack(this.ssoLang[this.appLanguage].password_reset_success);
|
|
4512
4509
|
},
|
|
4513
4510
|
async exchangeAuthCode(e) {
|
|
4514
4511
|
const [a, n] = await g(
|
|
@@ -4609,7 +4606,7 @@ const z = {
|
|
|
4609
4606
|
this.loggedInUserId = e;
|
|
4610
4607
|
},
|
|
4611
4608
|
setUser(e) {
|
|
4612
|
-
this.ssoUser = e, this.$storage && this.ssoUser && this.$storage.username === this.ssoUser.username && (this.
|
|
4609
|
+
this.ssoUser = e, this.$storage && this.ssoUser && this.$storage.username === this.ssoUser.username && (this.appLanguage = e.ssoLang);
|
|
4613
4610
|
},
|
|
4614
4611
|
getRefreshTokens() {
|
|
4615
4612
|
return console.log("getRefreshTokens", this.$storage, this.$storageApp), this.$storage.refreshTokens.split(",");
|
|
@@ -4625,7 +4622,7 @@ const z = {
|
|
|
4625
4622
|
this.$storage.UserId = e;
|
|
4626
4623
|
},
|
|
4627
4624
|
updateLang(e) {
|
|
4628
|
-
this.
|
|
4625
|
+
this.appLanguage = e;
|
|
4629
4626
|
}
|
|
4630
4627
|
},
|
|
4631
4628
|
watch: {
|
|
@@ -4655,7 +4652,7 @@ const z = {
|
|
|
4655
4652
|
}, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
|
|
4656
4653
|
},
|
|
4657
4654
|
methods: {}
|
|
4658
|
-
}, ue = (e) => (O("data-v-
|
|
4655
|
+
}, ue = (e) => (O("data-v-806183a1"), e = e(), B(), e), Ue = {
|
|
4659
4656
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
4660
4657
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
4661
4658
|
}, Ke = ["autoplay"], $e = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
|
|
@@ -4666,7 +4663,7 @@ const z = {
|
|
|
4666
4663
|
], Fe = { class: "bold full-top no-bottom center-text" }, Qe = { class: "full-bottom half-top center-text color-black font-16" }, Ge = { class: "page-login-links center-text" }, We = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Xe = {
|
|
4667
4664
|
key: 2,
|
|
4668
4665
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
4669
|
-
}, Ye = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-
|
|
4666
|
+
}, Ye = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a>', 3), Ze = [
|
|
4670
4667
|
Ye
|
|
4671
4668
|
];
|
|
4672
4669
|
function Je(e, a, n, o, i, r) {
|
|
@@ -4681,8 +4678,8 @@ function Je(e, a, n, o, i, r) {
|
|
|
4681
4678
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
4682
4679
|
autoplay: e.isNative
|
|
4683
4680
|
}, He, 8, Ke),
|
|
4684
|
-
t("h1", Fe, p(e.ssoLang[this.
|
|
4685
|
-
t("p", Qe, p(e.ssoLang[this.
|
|
4681
|
+
t("h1", Fe, p(e.ssoLang[this.appLanguage].welcome), 1),
|
|
4682
|
+
t("p", Qe, p(e.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
4686
4683
|
h("", !0),
|
|
4687
4684
|
h("", !0),
|
|
4688
4685
|
v(u, {
|
|
@@ -4691,15 +4688,15 @@ function Je(e, a, n, o, i, r) {
|
|
|
4691
4688
|
class: "button-center button button-90 google-button bg-tapni-grey pointer"
|
|
4692
4689
|
}, {
|
|
4693
4690
|
default: j(() => [
|
|
4694
|
-
t("span", null, p(e.ssoLang[this.
|
|
4691
|
+
t("span", null, p(e.ssoLang[this.appLanguage].create_account), 1)
|
|
4695
4692
|
]),
|
|
4696
4693
|
_: 1
|
|
4697
4694
|
}),
|
|
4698
4695
|
t("div", Ge, [
|
|
4699
4696
|
v(u, { to: "/login" }, {
|
|
4700
4697
|
default: j(() => [
|
|
4701
|
-
f(p(e.ssoLang[this.
|
|
4702
|
-
t("b", null, p(e.ssoLang[this.
|
|
4698
|
+
f(p(e.ssoLang[this.appLanguage].already_registered) + "? ", 1),
|
|
4699
|
+
t("b", null, p(e.ssoLang[this.appLanguage].sign_in), 1)
|
|
4703
4700
|
]),
|
|
4704
4701
|
_: 1
|
|
4705
4702
|
}),
|
|
@@ -4708,7 +4705,7 @@ function Je(e, a, n, o, i, r) {
|
|
|
4708
4705
|
this.isNative ? h("", !0) : (c(), l("div", Xe, Ze))
|
|
4709
4706
|
]);
|
|
4710
4707
|
}
|
|
4711
|
-
const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-
|
|
4708
|
+
const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-806183a1"]]), me = {
|
|
4712
4709
|
data() {
|
|
4713
4710
|
return {
|
|
4714
4711
|
googleLoad: !1
|
|
@@ -4742,7 +4739,7 @@ const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-8f6eac0d
|
|
|
4742
4739
|
this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4743
4740
|
}, 1e3);
|
|
4744
4741
|
} else
|
|
4745
|
-
this.errorSnack(this.ssoLang[this.
|
|
4742
|
+
this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
4746
4743
|
} else
|
|
4747
4744
|
this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4748
4745
|
}
|
|
@@ -4795,7 +4792,7 @@ const ge = {
|
|
|
4795
4792
|
this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4796
4793
|
}, 1e3);
|
|
4797
4794
|
} else
|
|
4798
|
-
this.errorSnack(this.ssoLang[this.
|
|
4795
|
+
this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
4799
4796
|
} else
|
|
4800
4797
|
this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4801
4798
|
}
|
|
@@ -4835,7 +4832,7 @@ const ge = {
|
|
|
4835
4832
|
this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4836
4833
|
}, 1e3);
|
|
4837
4834
|
} else
|
|
4838
|
-
this.errorSnack(this.ssoLang[this.
|
|
4835
|
+
this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
4839
4836
|
} else
|
|
4840
4837
|
this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4841
4838
|
}
|
|
@@ -4888,7 +4885,7 @@ const Q = {
|
|
|
4888
4885
|
this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4889
4886
|
}, 1e3);
|
|
4890
4887
|
} else
|
|
4891
|
-
this.errorSnack(this.ssoLang[this.
|
|
4888
|
+
this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
4892
4889
|
} else
|
|
4893
4890
|
this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4894
4891
|
},
|
|
@@ -5014,7 +5011,7 @@ const Q = {
|
|
|
5014
5011
|
this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
5015
5012
|
}, 1e3);
|
|
5016
5013
|
} else
|
|
5017
|
-
this.errorSnack(this.ssoLang[this.
|
|
5014
|
+
this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
|
|
5018
5015
|
},
|
|
5019
5016
|
async oktaLogin(e) {
|
|
5020
5017
|
const a = D.getPlatform() || "web";
|
|
@@ -5340,7 +5337,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5340
5337
|
class: "bold no-bottom center-text",
|
|
5341
5338
|
style: { "margin-top": "63px" },
|
|
5342
5339
|
onClick: a[1] || (a[1] = (...s) => r.bum && r.bum(...s))
|
|
5343
|
-
}, p(this.ssoLang[this.
|
|
5340
|
+
}, p(this.ssoLang[this.appLanguage].login), 1),
|
|
5344
5341
|
oa,
|
|
5345
5342
|
r.displayFormLogin ? (c(), l("span", ra, [
|
|
5346
5343
|
t("div", sa, [
|
|
@@ -5354,7 +5351,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5354
5351
|
spellcheck: "false",
|
|
5355
5352
|
type: "text",
|
|
5356
5353
|
name: "email",
|
|
5357
|
-
placeholder: e.ssoLang[this.
|
|
5354
|
+
placeholder: e.ssoLang[this.appLanguage].email_username,
|
|
5358
5355
|
required: ""
|
|
5359
5356
|
}, null, 40, la), [
|
|
5360
5357
|
[x, i.emailOrUsername]
|
|
@@ -5366,7 +5363,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5366
5363
|
k(t("input", {
|
|
5367
5364
|
"onUpdate:modelValue": a[4] || (a[4] = (s) => i.password = s),
|
|
5368
5365
|
type: i.revealPassword ? "text" : "password",
|
|
5369
|
-
placeholder: e.ssoLang[this.
|
|
5366
|
+
placeholder: e.ssoLang[this.appLanguage].password,
|
|
5370
5367
|
name: "password",
|
|
5371
5368
|
required: "",
|
|
5372
5369
|
minlength: "8"
|
|
@@ -5386,7 +5383,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5386
5383
|
])
|
|
5387
5384
|
]),
|
|
5388
5385
|
t("button", ha, [
|
|
5389
|
-
i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, p(e.ssoLang[e.
|
|
5386
|
+
i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, p(e.ssoLang[e.appLanguage].login), 1))
|
|
5390
5387
|
])
|
|
5391
5388
|
])) : h("", !0),
|
|
5392
5389
|
ka,
|
|
@@ -5396,7 +5393,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5396
5393
|
class: "button-center button button-90 google-button pointer"
|
|
5397
5394
|
}, [
|
|
5398
5395
|
ba,
|
|
5399
|
-
e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, p(e.ssoLang[e.
|
|
5396
|
+
e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, p(e.ssoLang[e.appLanguage].sign_in_with) + " Apple", 1))
|
|
5400
5397
|
])) : h("", !0),
|
|
5401
5398
|
e.displayGoogleLogin ? (c(), l("a", {
|
|
5402
5399
|
key: 3,
|
|
@@ -5404,7 +5401,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5404
5401
|
class: "button-center button button-90 google-button pointer"
|
|
5405
5402
|
}, [
|
|
5406
5403
|
za,
|
|
5407
|
-
e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, p(e.ssoLang[e.
|
|
5404
|
+
e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, p(e.ssoLang[e.appLanguage].sign_in_with) + " Google", 1))
|
|
5408
5405
|
])) : h("", !0),
|
|
5409
5406
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5410
5407
|
key: 4,
|
|
@@ -5412,7 +5409,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5412
5409
|
class: "button-center button button-90 google-button pointer"
|
|
5413
5410
|
}, [
|
|
5414
5411
|
Ca,
|
|
5415
|
-
e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, p(e.ssoLang[e.
|
|
5412
|
+
e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, p(e.ssoLang[e.appLanguage].sign_in_with) + " Facebook", 1))
|
|
5416
5413
|
])) : h("", !0),
|
|
5417
5414
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5418
5415
|
key: 5,
|
|
@@ -5420,7 +5417,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5420
5417
|
class: "button-center button button-90 google-button pointer"
|
|
5421
5418
|
}, [
|
|
5422
5419
|
Pa,
|
|
5423
|
-
e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, p(e.ssoLang[e.
|
|
5420
|
+
e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, p(e.ssoLang[e.appLanguage].sign_in_with) + " Outlook", 1))
|
|
5424
5421
|
])),
|
|
5425
5422
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5426
5423
|
key: 6,
|
|
@@ -5428,7 +5425,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5428
5425
|
class: "button-center button button-90 google-button pointer"
|
|
5429
5426
|
}, [
|
|
5430
5427
|
Ea,
|
|
5431
|
-
e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, p(e.ssoLang[e.
|
|
5428
|
+
e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, p(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1))
|
|
5432
5429
|
])),
|
|
5433
5430
|
e.displayMicrosoftSSOLogin ? (c(), l("a", {
|
|
5434
5431
|
key: 7,
|
|
@@ -5436,7 +5433,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5436
5433
|
class: "button-center button button-90 google-button pointer"
|
|
5437
5434
|
}, [
|
|
5438
5435
|
Ma,
|
|
5439
|
-
e.microsoftSSOLoad ? (c(), l("span", Ra, p(e.ssoLang[e.
|
|
5436
|
+
e.microsoftSSOLoad ? (c(), l("span", Ra, p(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1)) : (c(), l("span", Na))
|
|
5440
5437
|
])) : h("", !0),
|
|
5441
5438
|
r.displayFormLogin ? h("", !0) : (c(), l("a", {
|
|
5442
5439
|
key: 8,
|
|
@@ -5444,15 +5441,15 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5444
5441
|
class: "button-center button button-90 google-button pointer"
|
|
5445
5442
|
}, [
|
|
5446
5443
|
Va,
|
|
5447
|
-
t("span", null, p(e.ssoLang[e.
|
|
5444
|
+
t("span", null, p(e.ssoLang[e.appLanguage].sign_in_with) + " Email", 1)
|
|
5448
5445
|
])),
|
|
5449
5446
|
Oa,
|
|
5450
5447
|
t("p", Ba, [
|
|
5451
|
-
f(p(e.ssoLang[e.
|
|
5448
|
+
f(p(e.ssoLang[e.appLanguage].terms_by_signing_in) + " ", 1),
|
|
5452
5449
|
Da,
|
|
5453
|
-
t("a", Ua, p(e.ssoLang[this.
|
|
5454
|
-
f(" " + p(e.ssoLang[e.
|
|
5455
|
-
t("a", Ka, p(e.ssoLang[this.
|
|
5450
|
+
t("a", Ua, p(e.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
5451
|
+
f(" " + p(e.ssoLang[e.appLanguage].and) + " ", 1),
|
|
5452
|
+
t("a", Ka, p(e.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
5456
5453
|
]),
|
|
5457
5454
|
$a,
|
|
5458
5455
|
n.isModal ? (c(), l("div", {
|
|
@@ -5461,9 +5458,9 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5461
5458
|
onClick: a[13] || (a[13] = (...s) => r.createAccountModal && r.createAccountModal(...s))
|
|
5462
5459
|
}, [
|
|
5463
5460
|
t("a", Qa, [
|
|
5464
|
-
f(p(e.ssoLang[e.
|
|
5461
|
+
f(p(e.ssoLang[e.appLanguage].or) + " ", 1),
|
|
5465
5462
|
Ga,
|
|
5466
|
-
f(" " + p(e.ssoLang[e.
|
|
5463
|
+
f(" " + p(e.ssoLang[e.appLanguage].create_new_account), 1)
|
|
5467
5464
|
]),
|
|
5468
5465
|
Wa
|
|
5469
5466
|
])) : (c(), l("div", Ha, [
|
|
@@ -5473,7 +5470,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5473
5470
|
to: "/register"
|
|
5474
5471
|
}, {
|
|
5475
5472
|
default: j(() => [
|
|
5476
|
-
f(p(e.ssoLang[e.
|
|
5473
|
+
f(p(e.ssoLang[e.appLanguage].create_account), 1)
|
|
5477
5474
|
]),
|
|
5478
5475
|
_: 1
|
|
5479
5476
|
})) : h("", !0),
|
|
@@ -5483,7 +5480,7 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5483
5480
|
to: "/reset"
|
|
5484
5481
|
}, {
|
|
5485
5482
|
default: j(() => [
|
|
5486
|
-
f(p(e.ssoLang[e.
|
|
5483
|
+
f(p(e.ssoLang[e.appLanguage].reset_password), 1)
|
|
5487
5484
|
]),
|
|
5488
5485
|
_: 1
|
|
5489
5486
|
})) : h("", !0),
|
|
@@ -5522,13 +5519,13 @@ const fe = /* @__PURE__ */ T(na, [["render", Xa]]), Ya = {
|
|
|
5522
5519
|
methods: {
|
|
5523
5520
|
async submit() {
|
|
5524
5521
|
if (this.password.length < 8)
|
|
5525
|
-
return this.errorSnack(this.ssoLang[this.
|
|
5522
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].password_8_chars);
|
|
5526
5523
|
if (this.password.search(/[a-z]/) < 0)
|
|
5527
|
-
return this.errorSnack(this.ssoLang[this.
|
|
5524
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_lowercase);
|
|
5528
5525
|
if (this.password.search(/[A-Z]/) < 0)
|
|
5529
|
-
return this.errorSnack(this.ssoLang[this.
|
|
5526
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_uppercase);
|
|
5530
5527
|
if (this.password.search(/[0-9]/) < 0)
|
|
5531
|
-
return this.errorSnack(this.ssoLang[this.
|
|
5528
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].password_least_one_number);
|
|
5532
5529
|
if (this.submitted)
|
|
5533
5530
|
return;
|
|
5534
5531
|
this.submitted = !0, this.email = this.email.trim(), this.username = this.username.trim();
|
|
@@ -5541,7 +5538,7 @@ const fe = /* @__PURE__ */ T(na, [["render", Xa]]), Ya = {
|
|
|
5541
5538
|
captchaToken: await this.getCaptchaToken("account_verify"),
|
|
5542
5539
|
ref: this.referral
|
|
5543
5540
|
}, a = await this.register(e);
|
|
5544
|
-
this.submitted = !1, a.data && a.data.success && (a.data.message === "SUCCESS_REGISTER" ? (this.isModal ? d.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.
|
|
5541
|
+
this.submitted = !1, a.data && a.data.success && (a.data.message === "SUCCESS_REGISTER" ? (this.isModal ? d.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : a.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...a, isModal: e.isModal }), this.getLoggedInAccounts()), await this.loginSuccess({ ...a, isModal: e.isModal })));
|
|
5545
5542
|
},
|
|
5546
5543
|
close() {
|
|
5547
5544
|
d.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
@@ -5641,10 +5638,10 @@ function $n(e, a, n, o, i, r) {
|
|
|
5641
5638
|
class: "color-black pull-right pointer",
|
|
5642
5639
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5643
5640
|
}, Ja)) : h("", !0),
|
|
5644
|
-
t("h1", en, p(e.ssoLang[this.
|
|
5641
|
+
t("h1", en, p(e.ssoLang[this.appLanguage].register), 1),
|
|
5645
5642
|
t("p", an, [
|
|
5646
5643
|
i.usernameRegister ? (c(), l("span", nn, [
|
|
5647
|
-
f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.
|
|
5644
|
+
f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
|
|
5648
5645
|
tn
|
|
5649
5646
|
])) : h("", !0)
|
|
5650
5647
|
]),
|
|
@@ -5656,7 +5653,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5656
5653
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
5657
5654
|
}, ["prevent"]), ["space"])),
|
|
5658
5655
|
type: "email",
|
|
5659
|
-
placeholder: e.ssoLang[this.
|
|
5656
|
+
placeholder: e.ssoLang[this.appLanguage].email,
|
|
5660
5657
|
name: "email",
|
|
5661
5658
|
required: ""
|
|
5662
5659
|
}, null, 40, cn), [
|
|
@@ -5674,7 +5671,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5674
5671
|
autocorrect: "off",
|
|
5675
5672
|
autocapitalize: "off",
|
|
5676
5673
|
spellcheck: "false",
|
|
5677
|
-
placeholder: e.ssoLang[this.
|
|
5674
|
+
placeholder: e.ssoLang[this.appLanguage].username,
|
|
5678
5675
|
name: "username",
|
|
5679
5676
|
required: "",
|
|
5680
5677
|
disabled: i.usernameRegister,
|
|
@@ -5689,7 +5686,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5689
5686
|
k(t("input", {
|
|
5690
5687
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.password = s),
|
|
5691
5688
|
type: i.revealPassword ? "text" : "password",
|
|
5692
|
-
placeholder: e.ssoLang[this.
|
|
5689
|
+
placeholder: e.ssoLang[this.appLanguage].password,
|
|
5693
5690
|
name: "password",
|
|
5694
5691
|
required: "",
|
|
5695
5692
|
minlength: "8"
|
|
@@ -5719,14 +5716,14 @@ function $n(e, a, n, o, i, r) {
|
|
|
5719
5716
|
class: "button-center button button-90 google-button pointer"
|
|
5720
5717
|
}, [
|
|
5721
5718
|
zn,
|
|
5722
|
-
e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, p(e.ssoLang[this.
|
|
5719
|
+
e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, p(e.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
|
|
5723
5720
|
])) : h("", !0),
|
|
5724
5721
|
t("a", {
|
|
5725
5722
|
onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5726
5723
|
class: "button-center button button-90 google-button pointer"
|
|
5727
5724
|
}, [
|
|
5728
5725
|
Cn,
|
|
5729
|
-
e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, p(e.ssoLang[this.
|
|
5726
|
+
e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, p(e.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
|
|
5730
5727
|
]),
|
|
5731
5728
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5732
5729
|
key: 3,
|
|
@@ -5734,7 +5731,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5734
5731
|
class: "button-center button button-90 google-button pointer"
|
|
5735
5732
|
}, [
|
|
5736
5733
|
Pn,
|
|
5737
|
-
e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, p(e.ssoLang[this.
|
|
5734
|
+
e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, p(e.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
|
|
5738
5735
|
])) : h("", !0),
|
|
5739
5736
|
i.emailLogin ? h("", !0) : (c(), l("a", {
|
|
5740
5737
|
key: 4,
|
|
@@ -5742,15 +5739,15 @@ function $n(e, a, n, o, i, r) {
|
|
|
5742
5739
|
class: "button-center button button-90 google-button pointer"
|
|
5743
5740
|
}, [
|
|
5744
5741
|
En,
|
|
5745
|
-
t("span", null, p(e.ssoLang[this.
|
|
5742
|
+
t("span", null, p(e.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
|
|
5746
5743
|
])),
|
|
5747
5744
|
xn,
|
|
5748
5745
|
t("p", qn, [
|
|
5749
|
-
f(p(e.ssoLang[this.
|
|
5746
|
+
f(p(e.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
|
|
5750
5747
|
Mn,
|
|
5751
|
-
t("a", Rn, p(e.ssoLang[this.
|
|
5752
|
-
f(" " + p(e.ssoLang[this.
|
|
5753
|
-
t("a", Nn, p(e.ssoLang[this.
|
|
5748
|
+
t("a", Rn, p(e.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
5749
|
+
f(" " + p(e.ssoLang[this.appLanguage].and) + " ", 1),
|
|
5750
|
+
t("a", Nn, p(e.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
5754
5751
|
]),
|
|
5755
5752
|
Vn,
|
|
5756
5753
|
n.isModal ? (c(), l("div", {
|
|
@@ -5759,9 +5756,9 @@ function $n(e, a, n, o, i, r) {
|
|
|
5759
5756
|
onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
|
|
5760
5757
|
}, [
|
|
5761
5758
|
t("a", Dn, [
|
|
5762
|
-
f(p(e.ssoLang[this.
|
|
5759
|
+
f(p(e.ssoLang[this.appLanguage].or) + " ", 1),
|
|
5763
5760
|
Un,
|
|
5764
|
-
f(" " + p(e.ssoLang[this.
|
|
5761
|
+
f(" " + p(e.ssoLang[this.appLanguage].sign_in_with_new), 1)
|
|
5765
5762
|
]),
|
|
5766
5763
|
Kn
|
|
5767
5764
|
])) : (c(), l("div", On, [
|
|
@@ -5770,7 +5767,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5770
5767
|
to: "/verify"
|
|
5771
5768
|
}, {
|
|
5772
5769
|
default: j(() => [
|
|
5773
|
-
f(p(e.ssoLang[this.
|
|
5770
|
+
f(p(e.ssoLang[this.appLanguage].verify_account), 1)
|
|
5774
5771
|
]),
|
|
5775
5772
|
_: 1
|
|
5776
5773
|
}),
|
|
@@ -5779,7 +5776,7 @@ function $n(e, a, n, o, i, r) {
|
|
|
5779
5776
|
to: "/login"
|
|
5780
5777
|
}, {
|
|
5781
5778
|
default: j(() => [
|
|
5782
|
-
f(p(e.ssoLang[this.
|
|
5779
|
+
f(p(e.ssoLang[this.appLanguage].sign_in), 1)
|
|
5783
5780
|
]),
|
|
5784
5781
|
_: 1
|
|
5785
5782
|
}),
|
|
@@ -5816,7 +5813,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
|
|
|
5816
5813
|
},
|
|
5817
5814
|
async submit() {
|
|
5818
5815
|
if (this.code.length !== 6)
|
|
5819
|
-
return this.errorSnack(this.ssoLang[this.
|
|
5816
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);
|
|
5820
5817
|
this.email = this.email.trim(), this.code = this.code.trim();
|
|
5821
5818
|
let e = {
|
|
5822
5819
|
code: this.code,
|
|
@@ -5827,7 +5824,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
|
|
|
5827
5824
|
return !1;
|
|
5828
5825
|
this.submitted = !0;
|
|
5829
5826
|
let a = await this.verify(e);
|
|
5830
|
-
this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.
|
|
5827
|
+
this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", d.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + a.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
|
|
5831
5828
|
},
|
|
5832
5829
|
registerAccountModal() {
|
|
5833
5830
|
d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
|
|
@@ -5850,7 +5847,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
|
|
|
5850
5847
|
deep: !0
|
|
5851
5848
|
}
|
|
5852
5849
|
}
|
|
5853
|
-
}, C = (e) => (O("data-v-
|
|
5850
|
+
}, C = (e) => (O("data-v-a80e9eb1"), e = e(), B(), e), Fn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5854
5851
|
/* @__PURE__ */ t("img", {
|
|
5855
5852
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5856
5853
|
class: "responsive-image",
|
|
@@ -5899,7 +5896,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5899
5896
|
class: "color-black pull-right pointer",
|
|
5900
5897
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5901
5898
|
}, Qn)) : h("", !0),
|
|
5902
|
-
t("h1", Gn, p(e.ssoLang[this.
|
|
5899
|
+
t("h1", Gn, p(e.ssoLang[this.appLanguage].verify_account), 1),
|
|
5903
5900
|
Wn,
|
|
5904
5901
|
t("div", Xn, [
|
|
5905
5902
|
Yn,
|
|
@@ -5909,7 +5906,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5909
5906
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
5910
5907
|
}, ["prevent"]), ["space"])),
|
|
5911
5908
|
type: "email",
|
|
5912
|
-
placeholder: e.ssoLang[this.
|
|
5909
|
+
placeholder: e.ssoLang[this.appLanguage].email,
|
|
5913
5910
|
required: ""
|
|
5914
5911
|
}, null, 40, Zn), [
|
|
5915
5912
|
[x, i.email]
|
|
@@ -5924,7 +5921,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5924
5921
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
5925
5922
|
}, ["prevent"]), ["space"])),
|
|
5926
5923
|
type: "tel",
|
|
5927
|
-
placeholder: e.ssoLang[this.
|
|
5924
|
+
placeholder: e.ssoLang[this.appLanguage].code,
|
|
5928
5925
|
required: ""
|
|
5929
5926
|
}, null, 40, nt), [
|
|
5930
5927
|
[x, i.code]
|
|
@@ -5932,12 +5929,12 @@ function ft(e, a, n, o, i, r) {
|
|
|
5932
5929
|
tt
|
|
5933
5930
|
]),
|
|
5934
5931
|
t("button", it, [
|
|
5935
|
-
i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, p(e.ssoLang[this.
|
|
5932
|
+
i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, p(e.ssoLang[this.appLanguage].verify_account), 1))
|
|
5936
5933
|
]),
|
|
5937
5934
|
st,
|
|
5938
5935
|
t("p", ct, [
|
|
5939
5936
|
t("span", {
|
|
5940
|
-
innerHTML: e.ssoLang[this.
|
|
5937
|
+
innerHTML: e.ssoLang[this.appLanguage].verify_account_p1
|
|
5941
5938
|
}, null, 8, lt),
|
|
5942
5939
|
dt
|
|
5943
5940
|
]),
|
|
@@ -5948,9 +5945,9 @@ function ft(e, a, n, o, i, r) {
|
|
|
5948
5945
|
onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
|
|
5949
5946
|
}, [
|
|
5950
5947
|
t("a", mt, [
|
|
5951
|
-
f(p(e.ssoLang[this.
|
|
5948
|
+
f(p(e.ssoLang[this.appLanguage].or) + " ", 1),
|
|
5952
5949
|
gt,
|
|
5953
|
-
f(" " + p(e.ssoLang[this.
|
|
5950
|
+
f(" " + p(e.ssoLang[this.appLanguage].create_new_account), 1)
|
|
5954
5951
|
]),
|
|
5955
5952
|
ht
|
|
5956
5953
|
])) : (c(), l("div", ut, [
|
|
@@ -5959,7 +5956,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5959
5956
|
to: "/register"
|
|
5960
5957
|
}, {
|
|
5961
5958
|
default: j(() => [
|
|
5962
|
-
f(p(e.ssoLang[this.
|
|
5959
|
+
f(p(e.ssoLang[this.appLanguage].register), 1)
|
|
5963
5960
|
]),
|
|
5964
5961
|
_: 1
|
|
5965
5962
|
}),
|
|
@@ -5968,7 +5965,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5968
5965
|
to: "/login"
|
|
5969
5966
|
}, {
|
|
5970
5967
|
default: j(() => [
|
|
5971
|
-
f(p(e.ssoLang[this.
|
|
5968
|
+
f(p(e.ssoLang[this.appLanguage].sign_in), 1)
|
|
5972
5969
|
]),
|
|
5973
5970
|
_: 1
|
|
5974
5971
|
}),
|
|
@@ -5976,7 +5973,7 @@ function ft(e, a, n, o, i, r) {
|
|
|
5976
5973
|
]))
|
|
5977
5974
|
], 36);
|
|
5978
5975
|
}
|
|
5979
|
-
const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-
|
|
5976
|
+
const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a80e9eb1"]]), vt = {
|
|
5980
5977
|
name: "AuthReset",
|
|
5981
5978
|
mixins: [z],
|
|
5982
5979
|
data() {
|
|
@@ -6009,9 +6006,9 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a8caa217
|
|
|
6009
6006
|
},
|
|
6010
6007
|
async changePw() {
|
|
6011
6008
|
if (this.code.length !== 6)
|
|
6012
|
-
return this.errorSnack(this.ssoLang[this.
|
|
6009
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].invalid_code);
|
|
6013
6010
|
if (this.password !== this.passwordRepeat)
|
|
6014
|
-
return this.errorSnack(this.ssoLang[this.
|
|
6011
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].password_not_match);
|
|
6015
6012
|
if (this.submitted)
|
|
6016
6013
|
return;
|
|
6017
6014
|
this.submitted = !0, this.email = this.email.trim(), this.code = this.code.trim();
|
|
@@ -6022,7 +6019,7 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a8caa217
|
|
|
6022
6019
|
passwordRepeat: this.passwordRepeat,
|
|
6023
6020
|
captchaToken: await this.getCaptchaToken("password_reset")
|
|
6024
6021
|
}, a = await this.changePassword(e);
|
|
6025
|
-
this.submitted = !1, a === !0 && (this.$router.push("/login"), this.successSnack(this.ssoLang[this.
|
|
6022
|
+
this.submitted = !1, a === !0 && (this.$router.push("/login"), this.successSnack(this.ssoLang[this.appLanguage].password_reseted_success));
|
|
6026
6023
|
}
|
|
6027
6024
|
},
|
|
6028
6025
|
watch: {
|
|
@@ -6030,7 +6027,7 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a8caa217
|
|
|
6030
6027
|
this.$storage.verifyEmail = e;
|
|
6031
6028
|
}
|
|
6032
6029
|
}
|
|
6033
|
-
}, A = (e) => (O("data-v-
|
|
6030
|
+
}, A = (e) => (O("data-v-7eff2bb3"), e = e(), B(), e), kt = {
|
|
6034
6031
|
class: "bold no-bottom center-text",
|
|
6035
6032
|
style: { "margin-top": "63px" }
|
|
6036
6033
|
}, bt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), yt = { class: "page-login-field half-top color-black" }, wt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
@@ -6092,14 +6089,14 @@ function ei(e, a, n, o, i, r) {
|
|
|
6092
6089
|
class: "page-login content-boxed content-boxed-padding",
|
|
6093
6090
|
onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
|
|
6094
6091
|
}, [
|
|
6095
|
-
t("h3", Mt, p(e.ssoLang[this.
|
|
6096
|
-
t("p", Rt, p(e.ssoLang[this.
|
|
6092
|
+
t("h3", Mt, p(e.ssoLang[this.appLanguage].password_change), 1),
|
|
6093
|
+
t("p", Rt, p(e.ssoLang[this.appLanguage].password_new), 1),
|
|
6097
6094
|
t("div", Nt, [
|
|
6098
6095
|
Vt,
|
|
6099
6096
|
k(t("input", {
|
|
6100
6097
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
|
|
6101
6098
|
type: i.revealPassword ? "text" : "password",
|
|
6102
|
-
placeholder: e.ssoLang[this.
|
|
6099
|
+
placeholder: e.ssoLang[this.appLanguage].password,
|
|
6103
6100
|
required: ""
|
|
6104
6101
|
}, null, 8, Ot), [
|
|
6105
6102
|
[K, i.password]
|
|
@@ -6120,7 +6117,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6120
6117
|
k(t("input", {
|
|
6121
6118
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.passwordRepeat = s),
|
|
6122
6119
|
type: i.revealPassword2 ? "text" : "password",
|
|
6123
|
-
placeholder: e.ssoLang[this.
|
|
6120
|
+
placeholder: e.ssoLang[this.appLanguage].password_repeat,
|
|
6124
6121
|
required: ""
|
|
6125
6122
|
}, null, 8, $t), [
|
|
6126
6123
|
[K, i.passwordRepeat]
|
|
@@ -6137,16 +6134,16 @@ function ei(e, a, n, o, i, r) {
|
|
|
6137
6134
|
])
|
|
6138
6135
|
]),
|
|
6139
6136
|
t("button", Qt, [
|
|
6140
|
-
i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, p(e.ssoLang[this.
|
|
6137
|
+
i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, p(e.ssoLang[this.appLanguage].password_change), 1))
|
|
6141
6138
|
]),
|
|
6142
6139
|
Xt,
|
|
6143
6140
|
t("p", Yt, [
|
|
6144
6141
|
t("span", {
|
|
6145
|
-
innerHTML: e.ssoLang[this.
|
|
6142
|
+
innerHTML: e.ssoLang[this.appLanguage].reset_password_p2
|
|
6146
6143
|
}, null, 8, Zt),
|
|
6147
6144
|
f(),
|
|
6148
6145
|
t("a", {
|
|
6149
|
-
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.
|
|
6146
|
+
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLanguage].password_reset_t
|
|
6150
6147
|
}, " support@tapni.co", 8, Jt)
|
|
6151
6148
|
])
|
|
6152
6149
|
], 32)) : (c(), l("form", {
|
|
@@ -6155,7 +6152,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6155
6152
|
onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
|
|
6156
6153
|
autocomplete: "on"
|
|
6157
6154
|
}, [
|
|
6158
|
-
t("h3", kt, p(e.ssoLang[this.
|
|
6155
|
+
t("h3", kt, p(e.ssoLang[this.appLanguage].reset_password), 1),
|
|
6159
6156
|
bt,
|
|
6160
6157
|
t("div", yt, [
|
|
6161
6158
|
wt,
|
|
@@ -6165,7 +6162,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6165
6162
|
onKeydown: a[1] || (a[1] = E(y(() => {
|
|
6166
6163
|
}, ["prevent"]), ["space"])),
|
|
6167
6164
|
type: "email",
|
|
6168
|
-
placeholder: e.ssoLang[this.
|
|
6165
|
+
placeholder: e.ssoLang[this.appLanguage].email,
|
|
6169
6166
|
required: ""
|
|
6170
6167
|
}, null, 40, zt), [
|
|
6171
6168
|
[x, i.email]
|
|
@@ -6173,15 +6170,15 @@ function ei(e, a, n, o, i, r) {
|
|
|
6173
6170
|
Lt
|
|
6174
6171
|
]),
|
|
6175
6172
|
t("button", St, [
|
|
6176
|
-
i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, p(e.ssoLang[this.
|
|
6173
|
+
i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, p(e.ssoLang[this.appLanguage].reset_password), 1))
|
|
6177
6174
|
]),
|
|
6178
6175
|
jt,
|
|
6179
6176
|
t("p", Pt, [
|
|
6180
6177
|
t("span", {
|
|
6181
|
-
innerHTML: e.ssoLang[this.
|
|
6178
|
+
innerHTML: e.ssoLang[this.appLanguage].reset_password_p1
|
|
6182
6179
|
}, null, 8, At),
|
|
6183
6180
|
t("a", {
|
|
6184
|
-
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.
|
|
6181
|
+
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLanguage].password_reset_t
|
|
6185
6182
|
}, " support@tapni.co", 8, It)
|
|
6186
6183
|
]),
|
|
6187
6184
|
Et,
|
|
@@ -6191,7 +6188,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6191
6188
|
to: "/verify"
|
|
6192
6189
|
}, {
|
|
6193
6190
|
default: j(() => [
|
|
6194
|
-
f(p(e.ssoLang[this.
|
|
6191
|
+
f(p(e.ssoLang[this.appLanguage].verify_account), 1)
|
|
6195
6192
|
]),
|
|
6196
6193
|
_: 1
|
|
6197
6194
|
}),
|
|
@@ -6200,7 +6197,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6200
6197
|
to: "/login"
|
|
6201
6198
|
}, {
|
|
6202
6199
|
default: j(() => [
|
|
6203
|
-
f(p(e.ssoLang[this.
|
|
6200
|
+
f(p(e.ssoLang[this.appLanguage].sign_in), 1)
|
|
6204
6201
|
]),
|
|
6205
6202
|
_: 1
|
|
6206
6203
|
}),
|
|
@@ -6208,7 +6205,7 @@ function ei(e, a, n, o, i, r) {
|
|
|
6208
6205
|
])
|
|
6209
6206
|
], 32));
|
|
6210
6207
|
}
|
|
6211
|
-
const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-
|
|
6208
|
+
const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-7eff2bb3"]]), ai = {
|
|
6212
6209
|
name: "AuthCallback",
|
|
6213
6210
|
mixins: [G, W, z],
|
|
6214
6211
|
data() {
|
|
@@ -6238,15 +6235,15 @@ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-452bcb4c
|
|
|
6238
6235
|
function oi(e, a, n, o, i, r) {
|
|
6239
6236
|
return c(), l("div", null, [
|
|
6240
6237
|
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ni, [
|
|
6241
|
-
f(p(e.ssoLang[this.
|
|
6238
|
+
f(p(e.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
6242
6239
|
ti,
|
|
6243
|
-
f(" " + p(e.ssoLang[this.
|
|
6240
|
+
f(" " + p(e.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
6244
6241
|
t("span", {
|
|
6245
6242
|
onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
|
|
6246
6243
|
style: { color: "blue", cursor: "pointer" }
|
|
6247
|
-
}, p(e.ssoLang[this.
|
|
6244
|
+
}, p(e.ssoLang[this.appLanguage].click_here), 1),
|
|
6248
6245
|
f(".")
|
|
6249
|
-
])) : (c(), l("h4", ii, p(e.ssoLang[this.
|
|
6246
|
+
])) : (c(), l("h4", ii, p(e.ssoLang[this.appLanguage].please_wait), 1))
|
|
6250
6247
|
]);
|
|
6251
6248
|
}
|
|
6252
6249
|
const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
|
|
@@ -6317,13 +6314,13 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
|
|
|
6317
6314
|
email: this.email
|
|
6318
6315
|
}));
|
|
6319
6316
|
else
|
|
6320
|
-
return this.forceClose(), this.errorSnack(this.ssoLang[this.
|
|
6317
|
+
return this.forceClose(), this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
|
|
6321
6318
|
},
|
|
6322
6319
|
toggleModal() {
|
|
6323
6320
|
this.toggle = !this.toggle;
|
|
6324
6321
|
}
|
|
6325
6322
|
}
|
|
6326
|
-
}, li = (e) => (O("data-v-
|
|
6323
|
+
}, li = (e) => (O("data-v-11f19a09"), e = e(), B(), e), di = /* @__PURE__ */ li(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6327
6324
|
/* @__PURE__ */ t("img", {
|
|
6328
6325
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6329
6326
|
class: "responsive-image",
|
|
@@ -6350,12 +6347,12 @@ function fi(e, a, n, o, i, r) {
|
|
|
6350
6347
|
class: "color-black pull-right pointer",
|
|
6351
6348
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6352
6349
|
}, pi),
|
|
6353
|
-
t("h3", ui, p(e.ssoLang[e.
|
|
6350
|
+
t("h3", ui, p(e.ssoLang[e.appLanguage].enter_company_email), 1),
|
|
6354
6351
|
t("div", null, [
|
|
6355
6352
|
k(t("input", {
|
|
6356
6353
|
type: "text",
|
|
6357
6354
|
"onUpdate:modelValue": a[1] || (a[1] = (u) => i.email = u),
|
|
6358
|
-
placeholder: e.ssoLang[this.
|
|
6355
|
+
placeholder: e.ssoLang[this.appLanguage].email,
|
|
6359
6356
|
autocomplete: "off",
|
|
6360
6357
|
autocorrect: "off",
|
|
6361
6358
|
autocapitalize: "off",
|
|
@@ -6370,11 +6367,11 @@ function fi(e, a, n, o, i, r) {
|
|
|
6370
6367
|
])
|
|
6371
6368
|
]),
|
|
6372
6369
|
t("button", mi, [
|
|
6373
|
-
i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, p(e.ssoLang[e.
|
|
6370
|
+
i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, p(e.ssoLang[e.appLanguage].continue), 1))
|
|
6374
6371
|
])
|
|
6375
6372
|
], 34);
|
|
6376
6373
|
}
|
|
6377
|
-
const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-
|
|
6374
|
+
const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09"]]), vi = {
|
|
6378
6375
|
name: "SSOPick",
|
|
6379
6376
|
mixins: [Q, G, W, z],
|
|
6380
6377
|
data() {
|
|
@@ -6409,7 +6406,7 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-256337c2
|
|
|
6409
6406
|
this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, e && (this.sso = e.sso, this.email = e.email), this.toggle = !this.toggle;
|
|
6410
6407
|
}
|
|
6411
6408
|
}
|
|
6412
|
-
}, X = (e) => (O("data-v-
|
|
6409
|
+
}, X = (e) => (O("data-v-4f821f65"), e = e(), B(), e), ki = /* @__PURE__ */ X(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6413
6410
|
/* @__PURE__ */ t("img", {
|
|
6414
6411
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6415
6412
|
class: "responsive-image",
|
|
@@ -6449,14 +6446,14 @@ function Ii(e, a, n, o, i, r) {
|
|
|
6449
6446
|
class: "color-black pull-right pointer",
|
|
6450
6447
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6451
6448
|
}, bi),
|
|
6452
|
-
t("h3", yi, p(e.ssoLang[e.
|
|
6449
|
+
t("h3", yi, p(e.ssoLang[e.appLanguage].select_sign_method), 1),
|
|
6453
6450
|
(u = i.sso) != null && u.azure ? (c(), l("a", {
|
|
6454
6451
|
key: 0,
|
|
6455
6452
|
onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
|
|
6456
6453
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6457
6454
|
}, [
|
|
6458
6455
|
wi,
|
|
6459
|
-
i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, p(e.ssoLang[e.
|
|
6456
|
+
i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, p(e.ssoLang[e.appLanguage].sign_in_with) + " Azure", 1))
|
|
6460
6457
|
])) : h("", !0),
|
|
6461
6458
|
(s = i.sso) != null && s.okta ? (c(), l("a", {
|
|
6462
6459
|
key: 1,
|
|
@@ -6464,7 +6461,7 @@ function Ii(e, a, n, o, i, r) {
|
|
|
6464
6461
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6465
6462
|
}, [
|
|
6466
6463
|
Si,
|
|
6467
|
-
i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, p(e.ssoLang[e.
|
|
6464
|
+
i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, p(e.ssoLang[e.appLanguage].sign_in_with) + " Okta", 1))
|
|
6468
6465
|
])) : h("", !0),
|
|
6469
6466
|
(_ = i.sso) != null && _.saml ? (c(), l("a", {
|
|
6470
6467
|
key: 2,
|
|
@@ -6472,11 +6469,11 @@ function Ii(e, a, n, o, i, r) {
|
|
|
6472
6469
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6473
6470
|
}, [
|
|
6474
6471
|
ji,
|
|
6475
|
-
i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, p(e.ssoLang[e.
|
|
6472
|
+
i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, p(e.ssoLang[e.appLanguage].sign_in_with) + " SAML", 1))
|
|
6476
6473
|
])) : h("", !0)
|
|
6477
6474
|
], 34);
|
|
6478
6475
|
}
|
|
6479
|
-
const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-
|
|
6476
|
+
const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-4f821f65"]]), Ei = {
|
|
6480
6477
|
name: "LinkIcon",
|
|
6481
6478
|
mixins: [z],
|
|
6482
6479
|
props: {
|
|
@@ -6544,7 +6541,7 @@ const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-33bfb54b
|
|
|
6544
6541
|
},
|
|
6545
6542
|
computed: {
|
|
6546
6543
|
linkText() {
|
|
6547
|
-
return this.
|
|
6544
|
+
return this.appLanguage !== "en" && this.data.text ? this.ssoLang[this.appLanguage]["link_text_" + this.data.text.toLowerCase().trim().replace(/ /g, "_")] || this.data.text : this.data.text;
|
|
6548
6545
|
}
|
|
6549
6546
|
},
|
|
6550
6547
|
methods: {}
|
|
@@ -6642,7 +6639,7 @@ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
|
|
|
6642
6639
|
this.toggle = !this.toggle;
|
|
6643
6640
|
}
|
|
6644
6641
|
}
|
|
6645
|
-
}, Di = (e) => (O("data-v-
|
|
6642
|
+
}, Di = (e) => (O("data-v-34a6b7b2"), e = e(), B(), e), Ui = /* @__PURE__ */ Di(() => /* @__PURE__ */ t("i", { class: "font-17 fa color-black" }, [
|
|
6646
6643
|
/* @__PURE__ */ t("img", {
|
|
6647
6644
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6648
6645
|
class: "fa responsive-image",
|
|
@@ -6662,66 +6659,66 @@ function Hi(e, a, n, o, i, r) {
|
|
|
6662
6659
|
class: "color-black pull-right pointer",
|
|
6663
6660
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6664
6661
|
}, Ki),
|
|
6665
|
-
t("h3", $i, p(e.ssoLang[e.
|
|
6662
|
+
t("h3", $i, p(e.ssoLang[e.appLanguage].app_language), 1),
|
|
6666
6663
|
v(u, {
|
|
6667
6664
|
onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
|
|
6668
6665
|
"link-style": "link-grid",
|
|
6669
|
-
data: { type: "lang/en", text: e.ssoLang[this.
|
|
6666
|
+
data: { type: "lang/en", text: e.ssoLang[this.appLanguage].english },
|
|
6670
6667
|
editing: !1,
|
|
6671
6668
|
class: b({ "add-button": !0 })
|
|
6672
6669
|
}, null, 8, ["data"]),
|
|
6673
6670
|
v(u, {
|
|
6674
6671
|
onClick: a[2] || (a[2] = (s) => r.updateLanguage("es")),
|
|
6675
6672
|
"link-style": "link-grid",
|
|
6676
|
-
data: { type: "lang/es", text: e.ssoLang[this.
|
|
6673
|
+
data: { type: "lang/es", text: e.ssoLang[this.appLanguage].spanish },
|
|
6677
6674
|
editing: !1,
|
|
6678
6675
|
class: b({ "add-button": !0 })
|
|
6679
6676
|
}, null, 8, ["data"]),
|
|
6680
6677
|
v(u, {
|
|
6681
6678
|
onClick: a[3] || (a[3] = (s) => r.updateLanguage("de")),
|
|
6682
6679
|
"link-style": "link-grid",
|
|
6683
|
-
data: { type: "lang/de", text: e.ssoLang[this.
|
|
6680
|
+
data: { type: "lang/de", text: e.ssoLang[this.appLanguage].german },
|
|
6684
6681
|
editing: !1,
|
|
6685
6682
|
class: b({ "add-button": !0 })
|
|
6686
6683
|
}, null, 8, ["data"]),
|
|
6687
6684
|
v(u, {
|
|
6688
6685
|
onClick: a[4] || (a[4] = (s) => r.updateLanguage("it")),
|
|
6689
6686
|
"link-style": "link-grid",
|
|
6690
|
-
data: { type: "lang/it", text: e.ssoLang[this.
|
|
6687
|
+
data: { type: "lang/it", text: e.ssoLang[this.appLanguage].italian },
|
|
6691
6688
|
editing: !1,
|
|
6692
6689
|
class: b({ "add-button": !0 })
|
|
6693
6690
|
}, null, 8, ["data"]),
|
|
6694
6691
|
v(u, {
|
|
6695
6692
|
onClick: a[5] || (a[5] = (s) => r.updateLanguage("fr")),
|
|
6696
6693
|
"link-style": "link-grid",
|
|
6697
|
-
data: { type: "lang/fr", text: e.ssoLang[this.
|
|
6694
|
+
data: { type: "lang/fr", text: e.ssoLang[this.appLanguage].french },
|
|
6698
6695
|
editing: !1,
|
|
6699
6696
|
class: b({ "add-button": !0 })
|
|
6700
6697
|
}, null, 8, ["data"]),
|
|
6701
6698
|
v(u, {
|
|
6702
6699
|
onClick: a[6] || (a[6] = (s) => r.updateLanguage("kr")),
|
|
6703
6700
|
"link-style": "link-grid",
|
|
6704
|
-
data: { type: "lang/kr", text: e.ssoLang[this.
|
|
6701
|
+
data: { type: "lang/kr", text: e.ssoLang[this.appLanguage].korean },
|
|
6705
6702
|
editing: !1,
|
|
6706
6703
|
class: b({ "add-button": !0 })
|
|
6707
6704
|
}, null, 8, ["data"]),
|
|
6708
6705
|
v(u, {
|
|
6709
6706
|
onClick: a[7] || (a[7] = (s) => r.updateLanguage("sr")),
|
|
6710
6707
|
"link-style": "link-grid",
|
|
6711
|
-
data: { type: "lang/sr", text: e.ssoLang[this.
|
|
6708
|
+
data: { type: "lang/sr", text: e.ssoLang[this.appLanguage].serbian },
|
|
6712
6709
|
editing: !1,
|
|
6713
6710
|
class: b({ "add-button": !0 })
|
|
6714
6711
|
}, null, 8, ["data"]),
|
|
6715
6712
|
v(u, {
|
|
6716
6713
|
onClick: a[8] || (a[8] = (s) => r.updateLanguage("tr")),
|
|
6717
6714
|
"link-style": "link-grid",
|
|
6718
|
-
data: { type: "lang/tr", text: e.ssoLang[this.
|
|
6715
|
+
data: { type: "lang/tr", text: e.ssoLang[this.appLanguage].turkish },
|
|
6719
6716
|
editing: !1,
|
|
6720
6717
|
class: b({ "add-button": !0 })
|
|
6721
6718
|
}, null, 8, ["data"])
|
|
6722
6719
|
], 2);
|
|
6723
6720
|
}
|
|
6724
|
-
const Se = /* @__PURE__ */ T(Bi, [["render", Hi], ["__scopeId", "data-v-
|
|
6721
|
+
const Se = /* @__PURE__ */ T(Bi, [["render", Hi], ["__scopeId", "data-v-34a6b7b2"]]);
|
|
6725
6722
|
var Fi = { 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 };
|
|
6726
6723
|
const Qi = { id: "ssoapp" }, Gi = {
|
|
6727
6724
|
key: 0,
|
|
@@ -6825,7 +6822,7 @@ const Qi = { id: "ssoapp" }, Gi = {
|
|
|
6825
6822
|
class: "font-18 no-border pointer color-black",
|
|
6826
6823
|
style: { position: "absolute", right: "20px", top: "-10px" }
|
|
6827
6824
|
}, [
|
|
6828
|
-
t("span", Yi, p(a.
|
|
6825
|
+
t("span", Yi, p(a.appLanguage.toUpperCase()), 1)
|
|
6829
6826
|
])) : h("", !0),
|
|
6830
6827
|
v(we),
|
|
6831
6828
|
v(Se),
|
|
@@ -6843,14 +6840,14 @@ const Qi = { id: "ssoapp" }, Gi = {
|
|
|
6843
6840
|
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(be, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(ye, { key: 7 })) : (c(), P(Pe(Ae), { key: 8 })),
|
|
6844
6841
|
t("div", Zi, [
|
|
6845
6842
|
t("p", Ji, [
|
|
6846
|
-
t("span", eo, p(a.ssoLang[a.
|
|
6843
|
+
t("span", eo, p(a.ssoLang[a.appLanguage].error), 1),
|
|
6847
6844
|
t("a", {
|
|
6848
6845
|
onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6849
6846
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6850
6847
|
}, no)
|
|
6851
6848
|
]),
|
|
6852
6849
|
t("p", to, [
|
|
6853
|
-
t("span", io, p(a.ssoLang[a.
|
|
6850
|
+
t("span", io, p(a.ssoLang[a.appLanguage].success), 1),
|
|
6854
6851
|
t("a", {
|
|
6855
6852
|
onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6856
6853
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|