@tapni/auth 0.0.9 → 0.0.10

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.
@@ -1,19 +1,19 @@
1
- import { reactive as Se, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as i, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as je, nextTick as Z, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as U, vShow as I, createBlock as P, normalizeClass as b, unref as Pe } from "vue";
2
- import { RouterView as Ae } from "vue-router";
1
+ import { reactive as Ce, readonly as Se, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as i, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as Te, nextTick as Z, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as U, vShow as I, createBlock as P, normalizeClass as b, unref as je } from "vue";
2
+ import { RouterView as Pe } from "vue-router";
3
3
  import g from "await-to-js";
4
4
  import K from "axios";
5
5
  import { jwtDecode as ae } from "jwt-decode";
6
6
  import { Device as H } from "@capacitor/device";
7
- import { StorageMixin as ne } from "@tapni/capacitor-reactive-localstorage-vue3";
7
+ import { StorageMixin as Ae } from "@tapni/capacitor-reactive-localstorage-vue3";
8
8
  import { GoogleAuth as J } from "@codetrix-studio/capacitor-google-auth";
9
9
  import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
10
10
  import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
11
11
  import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
12
- import { Capacitor as ie } from "@capacitor/core";
12
+ import { Capacitor as ne } from "@capacitor/core";
13
13
  import { Browser as F } from "@capacitor/browser";
14
14
  import qe from "qr-code-styling";
15
15
  import { sanitizeUrl as Me } from "@braintree/sanitize-url";
16
- const Re = "0.0.9", m = (e, a = !1) => {
16
+ const Re = "0.0.10", m = (e, a = !1) => {
17
17
  const n = Re;
18
18
  let o = K.create({
19
19
  baseURL: "https://api.tapni.co/v1/",
@@ -158,7 +158,7 @@ const w = {
158
158
  qrCodePooling(e, a) {
159
159
  return m(a).post("/company/login/qr", e);
160
160
  }
161
- }, D = Se(/* @__PURE__ */ new Map()), d = {
161
+ }, D = Ce(/* @__PURE__ */ new Map()), d = {
162
162
  $on(e, a) {
163
163
  let n = D.get(e);
164
164
  n || (n = /* @__PURE__ */ new Set(), D.set(e, n)), n.add(a);
@@ -174,8 +174,8 @@ const w = {
174
174
  n && n.delete(a);
175
175
  }
176
176
  };
177
- Te(d);
178
- const te = {
177
+ Se(d);
178
+ const ie = {
179
179
  state: {
180
180
  english: "English",
181
181
  spanish: "Spanish",
@@ -632,7 +632,7 @@ const te = {
632
632
  choose_other_login_methods: "Choose other login methods",
633
633
  no_sso_logins: "Your company does not use SSO login, please contact your administrator"
634
634
  }
635
- }, oe = {
635
+ }, te = {
636
636
  state: {
637
637
  english: "Englisch",
638
638
  spanish: "Spanisch",
@@ -1084,7 +1084,7 @@ const te = {
1084
1084
  choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
1085
1085
  no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
1086
1086
  }
1087
- }, re = {
1087
+ }, oe = {
1088
1088
  state: {
1089
1089
  english: "Inglés",
1090
1090
  spanish: "Español",
@@ -1540,7 +1540,7 @@ const te = {
1540
1540
  choose_other_login_methods: "Elige otros métodos de inicio de sesión",
1541
1541
  no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
1542
1542
  }
1543
- }, se = {
1543
+ }, re = {
1544
1544
  state: {
1545
1545
  english: "Anglais",
1546
1546
  spanish: "Espagnol",
@@ -1998,7 +1998,7 @@ Il n'y a aucun lien dans votre profil.`,
1998
1998
  choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
1999
1999
  no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
2000
2000
  }
2001
- }, ce = {
2001
+ }, se = {
2002
2002
  state: {
2003
2003
  english: "Inglese",
2004
2004
  spanish: "Spagnolo",
@@ -2451,7 +2451,7 @@ Il n'y a aucun lien dans votre profil.`,
2451
2451
  choose_other_login_methods: "Scegli altri metodi di accesso",
2452
2452
  no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
2453
2453
  }
2454
- }, le = {
2454
+ }, ce = {
2455
2455
  state: {
2456
2456
  english: "Engleski",
2457
2457
  spanish: "Španski",
@@ -2896,7 +2896,7 @@ Il n'y a aucun lien dans votre profil.`,
2896
2896
  choose_other_login_methods: "Izaberite druge metode prijavljivanja",
2897
2897
  no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
2898
2898
  }
2899
- }, de = {
2899
+ }, le = {
2900
2900
  state: {
2901
2901
  english: "İngilizce",
2902
2902
  spanish: "İspanyolca",
@@ -3794,7 +3794,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3794
3794
  choose_other_login_methods: "选择其他登录方法",
3795
3795
  no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
3796
3796
  }
3797
- }, pe = {
3797
+ }, de = {
3798
3798
  state: {
3799
3799
  english: "영어",
3800
3800
  spanish: "스페인어",
@@ -4254,7 +4254,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4254
4254
  };
4255
4255
  var Ve = { 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 };
4256
4256
  const z = {
4257
- mixins: [ne],
4257
+ mixins: [Ae],
4258
4258
  data() {
4259
4259
  return {
4260
4260
  appLanguage: "en",
@@ -4266,15 +4266,15 @@ const z = {
4266
4266
  device: {},
4267
4267
  loggedInAccounts: {},
4268
4268
  ssoLang: {
4269
- en: te.state,
4270
- de: oe.state,
4271
- es: re.state,
4272
- fr: se.state,
4273
- it: ce.state,
4274
- sr: le.state,
4275
- tr: de.state,
4269
+ en: ie.state,
4270
+ de: te.state,
4271
+ es: oe.state,
4272
+ fr: re.state,
4273
+ it: se.state,
4274
+ sr: ce.state,
4275
+ tr: le.state,
4276
4276
  cn: Ne.state,
4277
- kr: pe.state
4277
+ kr: de.state
4278
4278
  },
4279
4279
  display: "npm",
4280
4280
  redirect_uri: "https://t.link/callback/auth",
@@ -4553,7 +4553,7 @@ const z = {
4553
4553
  e && !a.includes(e) ? a.unshift(e) : a = a.filter((n) => n !== this.refreshToken), a.length >= 1 ? this.refreshToken = a[0] : this.refreshToken = e, this.storage.refreshTokens = a.join(","), d.$emit("ssoEvent", { name: "setRefreshToken", data: e });
4554
4554
  },
4555
4555
  setToken(e) {
4556
- this.storage.token = e, this.token = e, d.$emit("ssoEvent", { name: "setToken", data: e });
4556
+ console.log("setup token"), this.storage.token = e, this.token = e, d.$emit("ssoEvent", { name: "setToken", data: e });
4557
4557
  },
4558
4558
  setUserID(e) {
4559
4559
  this.storage.UserId = e;
@@ -4589,18 +4589,18 @@ const z = {
4589
4589
  }, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4590
4590
  },
4591
4591
  methods: {}
4592
- }, ue = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Be = {
4592
+ }, pe = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Be = {
4593
4593
  class: "page-login content-boxed content-boxed-padding center-text",
4594
4594
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4595
- }, De = ["autoplay"], Ue = /* @__PURE__ */ ue(() => /* @__PURE__ */ i("source", {
4595
+ }, De = ["autoplay"], Ue = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("source", {
4596
4596
  src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
4597
4597
  type: "video/mp4"
4598
4598
  }, null, -1)), Ke = [
4599
4599
  Ue
4600
- ], He = { class: "bold full-top no-bottom center-text" }, Fe = { class: "full-bottom half-top center-text color-black font-16" }, Qe = { class: "page-login-links center-text" }, $e = /* @__PURE__ */ ue(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), Ge = {
4600
+ ], He = { class: "bold full-top no-bottom center-text" }, Fe = { class: "full-bottom half-top center-text color-black font-16" }, Qe = { class: "page-login-links center-text" }, $e = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), Ge = {
4601
4601
  key: 2,
4602
4602
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4603
- }, We = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ye = [
4603
+ }, We = /* @__PURE__ */ Te('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ye = [
4604
4604
  We
4605
4605
  ];
4606
4606
  function Xe(e, a, n, o, t, r) {
@@ -4642,7 +4642,7 @@ function Xe(e, a, n, o, t, r) {
4642
4642
  this.isNative ? h("", !0) : (c(), l("div", Ge, Ye))
4643
4643
  ]);
4644
4644
  }
4645
- const _e = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5"]]), me = {
4645
+ const ue = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5"]]), _e = {
4646
4646
  data() {
4647
4647
  return {
4648
4648
  googleLoad: !1
@@ -4697,7 +4697,7 @@ window.fbAsyncInit = function() {
4697
4697
  var o, t = e.getElementsByTagName(a)[0];
4698
4698
  e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", t.parentNode.insertBefore(o, t));
4699
4699
  })(document, "script", "facebook-jssdk");
4700
- const ge = {
4700
+ const me = {
4701
4701
  data() {
4702
4702
  return {
4703
4703
  facebookLoad: !1
@@ -4734,7 +4734,7 @@ const ge = {
4734
4734
  this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4735
4735
  }
4736
4736
  }
4737
- }, he = {
4737
+ }, ge = {
4738
4738
  data() {
4739
4739
  return {
4740
4740
  appleLoad: !1
@@ -4844,7 +4844,7 @@ const Q = {
4844
4844
  return null;
4845
4845
  },
4846
4846
  compareLangKeys() {
4847
- const e = Object.keys(te.default.state), a = Object.keys(oe.default.state), n = Object.keys(re.default.state), o = Object.keys(pe.default.state), t = Object.keys(ce.default.state), r = Object.keys(se.default.state), u = Object.keys(le.default.state), s = Object.keys(de.default.state);
4847
+ const e = Object.keys(ie.default.state), a = Object.keys(te.default.state), n = Object.keys(oe.default.state), o = Object.keys(de.default.state), t = Object.keys(se.default.state), r = Object.keys(re.default.state), u = Object.keys(ce.default.state), s = Object.keys(le.default.state);
4848
4848
  console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !t.includes(_))), console.log("In it but not in en", t.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in fr", e.filter((_) => !r.includes(_))), console.log("In fr but not in en", r.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in sr", e.filter((_) => !u.includes(_))), console.log("In sr but not in en", u.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in tr", e.filter((_) => !s.includes(_))), console.log("In tr but not in en", s.filter((_) => !e.includes(_))), console.log();
4849
4849
  },
4850
4850
  base64ImageToBlob(e) {
@@ -4951,7 +4951,7 @@ const Q = {
4951
4951
  this.errorSnack(this.ssoLang[this.appLang].unexpected_err);
4952
4952
  },
4953
4953
  async oktaLogin(e) {
4954
- const a = ie.getPlatform() || "web";
4954
+ const a = ne.getPlatform() || "web";
4955
4955
  let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
4956
4956
  localStorage.setItem("pkce_code_verifier", o);
4957
4957
  let t = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
@@ -4991,7 +4991,7 @@ const Q = {
4991
4991
  methods: {
4992
4992
  async samlLogin(e) {
4993
4993
  this.code_verifier = N.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await N.pkceChallengeFromVerifier(this.code_verifier);
4994
- const a = ie.getPlatform();
4994
+ const a = ne.getPlatform();
4995
4995
  let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.storage.realm}`).toString("base64");
4996
4996
  e = `${e}&RelayState=${n}`;
4997
4997
  let o = this;
@@ -5099,7 +5099,7 @@ const Q = {
5099
5099
  }
5100
5100
  }, ea = {
5101
5101
  name: "AuthLogin",
5102
- mixins: [me, ge, he, Q, $, G, z, Je],
5102
+ mixins: [_e, me, ge, Q, $, G, z, Je],
5103
5103
  props: {
5104
5104
  isModal: {
5105
5105
  type: Boolean,
@@ -5421,9 +5421,9 @@ function Wa(e, a, n, o, t, r) {
5421
5421
  ]))
5422
5422
  ], 36);
5423
5423
  }
5424
- const fe = /* @__PURE__ */ T(ea, [["render", Wa]]), Ya = {
5424
+ const he = /* @__PURE__ */ T(ea, [["render", Wa]]), Ya = {
5425
5425
  name: "AuthRegister",
5426
- mixins: [me, ge, he, Q, z],
5426
+ mixins: [_e, me, ge, Q, z],
5427
5427
  props: {
5428
5428
  isModal: {
5429
5429
  type: Boolean,
@@ -5717,7 +5717,7 @@ function Kn(e, a, n, o, t, r) {
5717
5717
  ]))
5718
5718
  ], 36);
5719
5719
  }
5720
- const ve = /* @__PURE__ */ T(Ya, [["render", Kn]]), Hn = {
5720
+ const fe = /* @__PURE__ */ T(Ya, [["render", Kn]]), Hn = {
5721
5721
  name: "AuthVerify",
5722
5722
  mixins: [z],
5723
5723
  props: {
@@ -5906,7 +5906,7 @@ function hi(e, a, n, o, t, r) {
5906
5906
  ]))
5907
5907
  ], 36);
5908
5908
  }
5909
- const ke = /* @__PURE__ */ T(Hn, [["render", hi], ["__scopeId", "data-v-2fd511e2"]]), fi = {
5909
+ const ve = /* @__PURE__ */ T(Hn, [["render", hi], ["__scopeId", "data-v-2fd511e2"]]), fi = {
5910
5910
  name: "AuthReset",
5911
5911
  mixins: [z],
5912
5912
  data() {
@@ -6138,7 +6138,7 @@ function Ji(e, a, n, o, t, r) {
6138
6138
  ])
6139
6139
  ], 32));
6140
6140
  }
6141
- const be = /* @__PURE__ */ T(fi, [["render", Ji], ["__scopeId", "data-v-220c28f9"]]), et = {
6141
+ const ke = /* @__PURE__ */ T(fi, [["render", Ji], ["__scopeId", "data-v-220c28f9"]]), et = {
6142
6142
  name: "AuthCallback",
6143
6143
  mixins: [$, G, z],
6144
6144
  data() {
@@ -6179,7 +6179,7 @@ function tt(e, a, n, o, t, r) {
6179
6179
  ])) : (c(), l("h4", it, p(e.ssoLang[this.appLang].please_wait), 1))
6180
6180
  ]);
6181
6181
  }
6182
- const ye = /* @__PURE__ */ T(et, [["render", tt]]), ot = {
6182
+ const be = /* @__PURE__ */ T(et, [["render", tt]]), ot = {
6183
6183
  name: "ModalOverlay",
6184
6184
  mixins: [z],
6185
6185
  data() {
@@ -6210,7 +6210,7 @@ function rt(e, a, n, o, t, r) {
6210
6210
  onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
6211
6211
  }, null, 2);
6212
6212
  }
6213
- const we = /* @__PURE__ */ T(ot, [["render", rt], ["__scopeId", "data-v-a128c2fa"]]), st = {
6213
+ const ye = /* @__PURE__ */ T(ot, [["render", rt], ["__scopeId", "data-v-a128c2fa"]]), st = {
6214
6214
  name: "SSO",
6215
6215
  mixins: [Q, $, G, z],
6216
6216
  data() {
@@ -6304,7 +6304,7 @@ function ht(e, a, n, o, t, r) {
6304
6304
  ])
6305
6305
  ], 34);
6306
6306
  }
6307
- const ze = /* @__PURE__ */ T(st, [["render", ht], ["__scopeId", "data-v-256337c2"]]), ft = {
6307
+ const we = /* @__PURE__ */ T(st, [["render", ht], ["__scopeId", "data-v-256337c2"]]), ft = {
6308
6308
  name: "SSOPick",
6309
6309
  mixins: [Q, $, G, z],
6310
6310
  data() {
@@ -6406,7 +6406,7 @@ function At(e, a, n, o, t, r) {
6406
6406
  ])) : h("", !0)
6407
6407
  ], 34);
6408
6408
  }
6409
- const Le = /* @__PURE__ */ T(ft, [["render", At], ["__scopeId", "data-v-33bfb54b"]]), It = {
6409
+ const ze = /* @__PURE__ */ T(ft, [["render", At], ["__scopeId", "data-v-33bfb54b"]]), It = {
6410
6410
  name: "LinkIcon",
6411
6411
  mixins: [z],
6412
6412
  props: {
@@ -6651,7 +6651,7 @@ function Ht(e, a, n, o, t, r) {
6651
6651
  }, null, 8, ["data"])
6652
6652
  ], 2);
6653
6653
  }
6654
- const Ce = /* @__PURE__ */ T(Ot, [["render", Ht], ["__scopeId", "data-v-e5a7ac07"]]);
6654
+ const Le = /* @__PURE__ */ T(Ot, [["render", Ht], ["__scopeId", "data-v-e5a7ac07"]]);
6655
6655
  var Ft = { 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 };
6656
6656
  const Qt = { id: "ssoapp" }, $t = {
6657
6657
  key: 0,
@@ -6684,23 +6684,23 @@ const Qt = { id: "ssoapp" }, $t = {
6684
6684
  to
6685
6685
  ], ro = {
6686
6686
  name: "TapniAuth",
6687
- mixins: [z, ne],
6687
+ mixins: [z],
6688
6688
  data() {
6689
6689
  return {
6690
6690
  initialized: !1
6691
6691
  };
6692
6692
  },
6693
6693
  components: {
6694
- Language: Ce,
6695
- SSOPick: Le,
6696
- SSO: ze,
6697
- ModalOverlay: we,
6698
- AuthCallback: ye,
6699
- AuthReset: be,
6700
- AuthVerify: ke,
6701
- AuthRegister: ve,
6702
- AuthLogin: fe,
6703
- AuthWelcome: _e
6694
+ Language: Le,
6695
+ SSOPick: ze,
6696
+ SSO: we,
6697
+ ModalOverlay: ye,
6698
+ AuthCallback: be,
6699
+ AuthReset: ke,
6700
+ AuthVerify: ve,
6701
+ AuthRegister: fe,
6702
+ AuthLogin: he,
6703
+ AuthWelcome: ue
6704
6704
  },
6705
6705
  props: {
6706
6706
  view: {
@@ -6713,15 +6713,7 @@ const Qt = { id: "ssoapp" }, $t = {
6713
6713
  }
6714
6714
  },
6715
6715
  async mounted() {
6716
- await this.initializeStorage({
6717
- realm: "",
6718
- token: "",
6719
- refreshTokens: "",
6720
- username: "",
6721
- UserId: "",
6722
- verifyEmail: "",
6723
- subdomain: ""
6724
- }), this.applyBgStyle(), d.$on("ssoEvent", this.ssoOutgoingEvent), d.$on("ssoLogout", (e) => this.logout(e)), d.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), d.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
6716
+ this.applyBgStyle(), d.$on("ssoEvent", this.ssoOutgoingEvent), d.$on("ssoLogout", (e) => this.logout(e)), d.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), d.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
6725
6717
  },
6726
6718
  methods: {
6727
6719
  async init() {
@@ -6765,20 +6757,20 @@ const Qt = { id: "ssoapp" }, $t = {
6765
6757
  }, [
6766
6758
  i("span", Yt, p(a.appLang.toUpperCase()), 1)
6767
6759
  ])) : h("", !0),
6760
+ v(ye),
6761
+ v(Le),
6768
6762
  v(we),
6769
- v(Ce),
6770
6763
  v(ze),
6771
- v(Le),
6772
- a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
6764
+ a.initialized && a.renderView === "AuthWelcome" ? (c(), P(ue, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(he, {
6773
6765
  key: 3,
6774
6766
  isModal: e.isModal
6775
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(ve, {
6767
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(fe, {
6776
6768
  key: 4,
6777
6769
  isModal: e.isModal
6778
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ke, {
6770
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ve, {
6779
6771
  key: 5,
6780
6772
  isModal: e.isModal
6781
- }, 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 })),
6773
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(ke, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(be, { key: 7 })) : (c(), P(je(Pe), { key: 8 })),
6782
6774
  i("div", Xt, [
6783
6775
  i("p", Zt, [
6784
6776
  i("span", Jt, p(a.ssoLang[a.appLang].error), 1),