@tapni/auth 1.0.53 → 1.0.55

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.
@@ -1391,7 +1391,7 @@ function wa(n, e, t, r, o, i) {
1391
1391
  const lo = /* @__PURE__ */ an(fa, [["render", wa], ["__scopeId", "data-v-cb61958b"]]), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1392
1392
  __proto__: null,
1393
1393
  default: lo
1394
- }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.53", qn = {
1394
+ }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.55", qn = {
1395
1395
  getMe() {
1396
1396
  return pe().get("/users/me");
1397
1397
  },
@@ -5828,7 +5828,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
5828
5828
  app_region: "지역",
5829
5829
  app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
5830
5830
  }
5831
- }, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-Df7yi4HX.js"), Na = () => Promise.resolve().then(() => Ku), Oa = () => import("./Apps-CZ2op1LG.js"), La = () => import("./Billing-DV1Hs3lz.js"), za = () => import("./CustomApp-BYs5VWm4.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
5831
+ }, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-IJ_P2MoC.js"), Na = () => Promise.resolve().then(() => qu), Oa = () => import("./Apps-DzIa48pX.js"), La = () => import("./Billing-CZ9c8qXr.js"), za = () => import("./CustomApp-BlGPzlvg.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
5832
5832
  {
5833
5833
  path: "/welcome",
5834
5834
  name: "AuthWelcome",
@@ -17583,23 +17583,23 @@ const Kl = {
17583
17583
  key: 1,
17584
17584
  class: "margin-center small-top",
17585
17585
  style: { width: "100%" }
17586
- }, fu = { class: "left-text" }, mu = { key: 0 }, gu = { key: 1 }, _u = { class: "firstRow" }, vu = ["src"], yu = { class: "center-text half-top" }, bu = ["placeholder"], wu = { class: "small-text small-top-padding small-bottom" }, ku = ["placeholder"], Cu = { class: "small-text small-top-padding small-bottom" }, Eu = ["placeholder"], Tu = { class: "small-text small-top-padding small-bottom" }, Su = {
17586
+ }, fu = { class: "left-text" }, mu = { key: 0 }, gu = { key: 1 }, _u = { class: "firstRow" }, vu = ["src"], yu = ["placeholder"], bu = { class: "small-text small-top-padding small-bottom" }, wu = ["placeholder"], ku = { class: "small-text small-top-padding small-bottom" }, Cu = ["placeholder"], Eu = { class: "small-text small-top-padding small-bottom" }, Tu = {
17587
17587
  type: "submit",
17588
17588
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
17589
- }, Iu = { key: 0 }, Au = {
17589
+ }, Su = { key: 0 }, Iu = {
17590
17590
  key: 1,
17591
17591
  class: "button--loading button__loader"
17592
- }, Ru = { class: "center-text font-13 half-top half-bottom" }, Pu = ["innerHTML"], Mu = { class: "firstRow" }, Nu = { class: "red-text" }, Ou = ["src"], Lu = { class: "center-text half-top" }, zu = { class: "settingRow full-top" }, xu = { class: "firstRow" }, Uu = {
17592
+ }, Au = { class: "center-text font-13 half-top half-bottom" }, Ru = ["innerHTML"], Pu = { class: "firstRow" }, Mu = { class: "red-text" }, Nu = ["src"], Ou = { class: "center-text half-top" }, Lu = { class: "settingRow full-top" }, zu = { class: "firstRow" }, xu = {
17593
17593
  class: "ios-switch",
17594
17594
  style: { display: "inline-block" }
17595
- }, Bu = { class: "left-text small-top" }, Du = {
17595
+ }, Uu = { class: "left-text small-top" }, Bu = {
17596
17596
  type: "submit",
17597
17597
  class: "button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
17598
- }, ju = { key: 0 }, Hu = {
17598
+ }, Du = { key: 0 }, ju = {
17599
17599
  key: 1,
17600
17600
  class: "button--loading button__loader"
17601
- }, Fu = { class: "small-bottom red-text" };
17602
- function qu(n, e, t, r, o, i) {
17601
+ }, Hu = { class: "small-bottom red-text" };
17602
+ function Fu(n, e, t, r, o, i) {
17603
17603
  const a = rn("router-link");
17604
17604
  return O(), U("div", Gl, [
17605
17605
  n.isModal ? (O(), U("a", {
@@ -17619,7 +17619,7 @@ function qu(n, e, t, r, o, i) {
17619
17619
  _("div", Vl, [
17620
17620
  n.isModal ? (O(), U("div", {
17621
17621
  key: 0,
17622
- class: "button gray-button pointer left-button",
17622
+ class: "pointer left-button",
17623
17623
  onClick: e[1] || (e[1] = (s) => n.$emit("update:viewProp", "AuthAccount"))
17624
17624
  }, [
17625
17625
  _("img", {
@@ -17740,85 +17740,84 @@ function qu(n, e, t, r, o, i) {
17740
17740
  }, null, 10, vu)
17741
17741
  ])
17742
17742
  ]),
17743
- _e(_("form", yu, [
17744
- _("form", {
17745
- onSubmit: e[11] || (e[11] = Xe((...s) => i.submitChangePassword && i.submitChangePassword(...s), ["prevent"]))
17746
- }, [
17747
- _e(_("input", {
17748
- type: "password",
17749
- "onUpdate:modelValue": e[8] || (e[8] = (s) => o.currentPassword = s),
17750
- placeholder: n.ssoLang[n.appLanguage].password_current_p,
17751
- class: "edit-input h-40 lh-40",
17752
- required: "",
17753
- minlength: "8",
17754
- style: { width: "100%" }
17755
- }, null, 8, bu), [
17756
- [ct, o.currentPassword]
17757
- ]),
17758
- _("p", wu, B(n.ssoLang[n.appLanguage].password_current), 1),
17759
- _e(_("input", {
17760
- type: "password",
17761
- "onUpdate:modelValue": e[9] || (e[9] = (s) => o.password = s),
17762
- placeholder: n.ssoLang[n.appLanguage].password_new_p,
17763
- class: "bg-white edit-input h-40 lh-40",
17764
- required: "",
17765
- minlength: "8",
17766
- style: { width: "100%" }
17767
- }, null, 8, ku), [
17768
- [ct, o.password]
17769
- ]),
17770
- _("p", Cu, B(n.ssoLang[n.appLanguage].password_new), 1),
17771
- _e(_("input", {
17772
- type: "password",
17773
- "onUpdate:modelValue": e[10] || (e[10] = (s) => o.passwordRepeat = s),
17774
- placeholder: n.ssoLang[n.appLanguage].password_new_repeat_p,
17775
- class: "edit-input h-40 lh-40",
17776
- required: "",
17777
- minlength: "8",
17778
- style: { width: "100%" }
17779
- }, null, 8, Eu), [
17780
- [ct, o.passwordRepeat]
17781
- ]),
17782
- _("p", Tu, B(n.ssoLang[n.appLanguage].password_new_repeat), 1),
17783
- _("button", Su, [
17784
- o.loading ? (O(), U("span", Au)) : (O(), U("span", Iu, B(n.ssoLang[n.appLanguage].password_update), 1))
17785
- ]),
17786
- _("p", Ru, [
17787
- _("span", {
17788
- innerHTML: n.ssoLang[n.appLanguage].password_reset
17789
- }, null, 8, Pu),
17790
- gt(a, {
17791
- to: "/reset",
17792
- exact: "",
17793
- class: "color-black"
17794
- }, {
17795
- default: et(() => [
17796
- Ee(B(n.ssoLang[n.appLanguage].by_clicking_here), 1)
17797
- ]),
17798
- _: 1
17799
- })
17800
- ])
17801
- ], 32)
17802
- ], 512), [
17743
+ _e(_("form", {
17744
+ onSubmit: e[11] || (e[11] = Xe((...s) => i.submitChangePassword && i.submitChangePassword(...s), ["prevent"])),
17745
+ class: "center-text half-top"
17746
+ }, [
17747
+ _e(_("input", {
17748
+ type: "password",
17749
+ "onUpdate:modelValue": e[8] || (e[8] = (s) => o.currentPassword = s),
17750
+ placeholder: n.ssoLang[n.appLanguage].password_current_p,
17751
+ class: "edit-input h-40 lh-40",
17752
+ required: "",
17753
+ minlength: "8",
17754
+ style: { width: "100%" }
17755
+ }, null, 8, yu), [
17756
+ [ct, o.currentPassword]
17757
+ ]),
17758
+ _("p", bu, B(n.ssoLang[n.appLanguage].password_current), 1),
17759
+ _e(_("input", {
17760
+ type: "password",
17761
+ "onUpdate:modelValue": e[9] || (e[9] = (s) => o.password = s),
17762
+ placeholder: n.ssoLang[n.appLanguage].password_new_p,
17763
+ class: "bg-white edit-input h-40 lh-40",
17764
+ required: "",
17765
+ minlength: "8",
17766
+ style: { width: "100%" }
17767
+ }, null, 8, wu), [
17768
+ [ct, o.password]
17769
+ ]),
17770
+ _("p", ku, B(n.ssoLang[n.appLanguage].password_new), 1),
17771
+ _e(_("input", {
17772
+ type: "password",
17773
+ "onUpdate:modelValue": e[10] || (e[10] = (s) => o.passwordRepeat = s),
17774
+ placeholder: n.ssoLang[n.appLanguage].password_new_repeat_p,
17775
+ class: "edit-input h-40 lh-40",
17776
+ required: "",
17777
+ minlength: "8",
17778
+ style: { width: "100%" }
17779
+ }, null, 8, Cu), [
17780
+ [ct, o.passwordRepeat]
17781
+ ]),
17782
+ _("p", Eu, B(n.ssoLang[n.appLanguage].password_new_repeat), 1),
17783
+ _("button", Tu, [
17784
+ o.loading ? (O(), U("span", Iu)) : (O(), U("span", Su, B(n.ssoLang[n.appLanguage].password_update), 1))
17785
+ ]),
17786
+ _("p", Au, [
17787
+ _("span", {
17788
+ innerHTML: n.ssoLang[n.appLanguage].password_reset
17789
+ }, null, 8, Ru),
17790
+ gt(a, {
17791
+ to: "/reset",
17792
+ exact: "",
17793
+ class: "color-black"
17794
+ }, {
17795
+ default: et(() => [
17796
+ Ee(B(n.ssoLang[n.appLanguage].by_clicking_here), 1)
17797
+ ]),
17798
+ _: 1
17799
+ })
17800
+ ])
17801
+ ], 544), [
17803
17802
  [kt, o.changePassword]
17804
17803
  ]),
17805
17804
  _("div", {
17806
17805
  class: "settingRow full-top",
17807
17806
  onClick: e[12] || (e[12] = (s) => o.accountDelete = !o.accountDelete)
17808
17807
  }, [
17809
- _("div", Mu, [
17810
- _("h4", Nu, B(n.ssoLang[n.appLanguage].delete_account), 1),
17808
+ _("div", Pu, [
17809
+ _("h4", Mu, B(n.ssoLang[n.appLanguage].delete_account), 1),
17811
17810
  _("img", {
17812
17811
  class: fn(["transition-icon", { "rotate-icon": !!o.accountDelete }]),
17813
17812
  src: n.getIcon("arrow-gray-down.svg")
17814
- }, null, 10, Ou)
17813
+ }, null, 10, Nu)
17815
17814
  ])
17816
17815
  ]),
17817
- _e(_("div", Lu, [
17818
- _("div", zu, [
17819
- _("div", xu, [
17816
+ _e(_("div", Ou, [
17817
+ _("div", Lu, [
17818
+ _("div", zu, [
17820
17819
  _("h4", null, B(n.ssoLang[n.appLanguage].active_account), 1),
17821
- _("div", Uu, [
17820
+ _("div", xu, [
17822
17821
  _e(_("input", {
17823
17822
  type: "checkbox",
17824
17823
  name: "ios-switch",
@@ -17835,14 +17834,14 @@ function qu(n, e, t, r, o, i) {
17835
17834
  ])
17836
17835
  ])
17837
17836
  ]),
17838
- _("p", Bu, B(n.ssoLang[n.appLanguage].active_account_p), 1),
17837
+ _("p", Uu, B(n.ssoLang[n.appLanguage].active_account_p), 1),
17839
17838
  _("form", {
17840
17839
  onSubmit: e[14] || (e[14] = Xe((...s) => i.deleteAccountSubmit && i.deleteAccountSubmit(...s), ["prevent"]))
17841
17840
  }, [
17842
- _("button", Du, [
17843
- o.loading ? (O(), U("span", Hu)) : (O(), U("span", ju, B(n.ssoLang[n.appLanguage].permanent_delete), 1))
17841
+ _("button", Bu, [
17842
+ o.loading ? (O(), U("span", ju)) : (O(), U("span", Du, B(n.ssoLang[n.appLanguage].permanent_delete), 1))
17844
17843
  ]),
17845
- _("p", Fu, B(n.ssoLang[n.appLanguage].permanent_delete_p), 1)
17844
+ _("p", Hu, B(n.ssoLang[n.appLanguage].permanent_delete_p), 1)
17846
17845
  ], 32)
17847
17846
  ], 512), [
17848
17847
  [kt, o.accountDelete]
@@ -17851,7 +17850,7 @@ function qu(n, e, t, r, o, i) {
17851
17850
  ])
17852
17851
  ]);
17853
17852
  }
17854
- const ko = /* @__PURE__ */ an(Kl, [["render", qu], ["__scopeId", "data-v-a8c1558d"]]), Ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17853
+ const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-64ae2517"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17855
17854
  __proto__: null,
17856
17855
  default: ko
17857
17856
  }, Symbol.toStringTag, { value: "Module" }));
@@ -17870,13 +17869,13 @@ const Mr = (n, e) => {
17870
17869
  for (const [r, o] of e)
17871
17870
  t[r] = o;
17872
17871
  return t;
17873
- }, Gu = {}, Vu = {
17872
+ }, Ku = {}, Gu = {
17874
17873
  xmlns: "http://www.w3.org/2000/svg",
17875
17874
  viewBox: "0 0 20 20",
17876
17875
  fill: "currentColor"
17877
17876
  };
17878
- function Qu(n, e) {
17879
- return O(), U("svg", Vu, e[0] || (e[0] = [
17877
+ function Vu(n, e) {
17878
+ return O(), U("svg", Gu, e[0] || (e[0] = [
17880
17879
  _("path", {
17881
17880
  "fill-rule": "evenodd",
17882
17881
  d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
@@ -17884,17 +17883,17 @@ function Qu(n, e) {
17884
17883
  }, null, -1)
17885
17884
  ]));
17886
17885
  }
17887
- const $u = /* @__PURE__ */ Mr(Gu, [["render", Qu]]), Yu = {}, Wu = {
17886
+ const Qu = /* @__PURE__ */ Mr(Ku, [["render", Vu]]), $u = {}, Yu = {
17888
17887
  xmlns: "http://www.w3.org/2000/svg",
17889
17888
  viewBox: "0 0 20 20",
17890
17889
  fill: "currentColor"
17891
17890
  };
17892
- function Ju(n, e) {
17893
- return O(), U("svg", Wu, e[0] || (e[0] = [
17891
+ function Wu(n, e) {
17892
+ return O(), U("svg", Yu, e[0] || (e[0] = [
17894
17893
  _("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }, null, -1)
17895
17894
  ]));
17896
17895
  }
17897
- const Zo = /* @__PURE__ */ Mr(Yu, [["render", Ju]]), Xu = ["aria-disabled", "aria-selected"], Zu = /* @__PURE__ */ ei({
17896
+ const Zo = /* @__PURE__ */ Mr($u, [["render", Wu]]), Ju = ["aria-disabled", "aria-selected"], Xu = /* @__PURE__ */ ei({
17898
17897
  __name: "MenuOption",
17899
17898
  props: {
17900
17899
  menu: {},
@@ -17926,21 +17925,21 @@ const Zo = /* @__PURE__ */ Mr(Yu, [["render", Ju]]), Xu = ["aria-disabled", "ari
17926
17925
  onKeydown: a[1] || (a[1] = mn((s) => r("select"), ["enter"]))
17927
17926
  }, [
17928
17927
  Wt(i.$slots, "default")
17929
- ], 42, Xu));
17928
+ ], 42, Ju));
17930
17929
  }
17931
- }), ed = {}, td = { className: "spinner" };
17932
- function nd(n, e) {
17933
- return O(), U("div", td, [
17930
+ }), Zu = {}, ed = { className: "spinner" };
17931
+ function td(n, e) {
17932
+ return O(), U("div", ed, [
17934
17933
  (O(), U(Fr, null, qr(12, (t) => _("div", {
17935
17934
  key: t,
17936
17935
  class: "spinner-circle"
17937
17936
  })), 64))
17938
17937
  ]);
17939
17938
  }
17940
- const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed866313"]]), od = ["aria-expanded", "aria-describedby", "aria-description", "aria-labelledby", "aria-label", "aria-required"], id = ["onClick"], ad = ["id", "disabled", "placeholder"], sd = { class: "indicators-container" }, cd = ["disabled"], ld = ["disabled"], ud = ["aria-label", "aria-multiselectable"], dd = {
17939
+ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed866313"]]), rd = ["aria-expanded", "aria-describedby", "aria-description", "aria-labelledby", "aria-label", "aria-required"], od = ["onClick"], id = ["id", "disabled", "placeholder"], ad = { class: "indicators-container" }, sd = ["disabled"], cd = ["disabled"], ld = ["aria-label", "aria-multiselectable"], ud = {
17941
17940
  key: 0,
17942
17941
  class: "no-results"
17943
- }, pd = /* @__PURE__ */ ei({
17942
+ }, dd = /* @__PURE__ */ ei({
17944
17943
  __name: "Select",
17945
17944
  props: /* @__PURE__ */ Ao({
17946
17945
  options: {},
@@ -18100,7 +18099,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18100
18099
  }, [
18101
18100
  Ee(B(I.getMultiValueLabel(de)), 1),
18102
18101
  gt(Zo)
18103
- ], 8, id)
18102
+ ], 8, od)
18104
18103
  ], !0)), 128)) : le("", !0),
18105
18104
  _e(_("input", {
18106
18105
  id: I.inputId,
@@ -18119,11 +18118,11 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18119
18118
  placeholder: f.value.length === 0 ? I.placeholder : "",
18120
18119
  onMousedown: te[2] || (te[2] = (de) => k()),
18121
18120
  onKeydown: V
18122
- }, null, 40, ad), [
18121
+ }, null, 40, id), [
18123
18122
  [ct, l.value]
18124
18123
  ])
18125
- ], 10, od),
18126
- _("div", sd, [
18124
+ ], 10, rd),
18125
+ _("div", ad, [
18127
18126
  f.value.length > 0 && I.isClearable && !I.isLoading ? (O(), U("button", {
18128
18127
  key: 0,
18129
18128
  type: "button",
@@ -18135,7 +18134,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18135
18134
  Wt(I.$slots, "clear", {}, () => [
18136
18135
  gt(Zo)
18137
18136
  ], !0)
18138
- ], 8, cd)) : le("", !0),
18137
+ ], 8, sd)) : le("", !0),
18139
18138
  I.isLoading ? le("", !0) : (O(), U("button", {
18140
18139
  key: 1,
18141
18140
  type: "button",
@@ -18145,11 +18144,11 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18145
18144
  onClick: P
18146
18145
  }, [
18147
18146
  Wt(I.$slots, "dropdown", {}, () => [
18148
- gt($u)
18147
+ gt(Qu)
18149
18148
  ], !0)
18150
- ], 8, ld)),
18149
+ ], 8, cd)),
18151
18150
  Wt(I.$slots, "loading", {}, () => [
18152
- I.isLoading ? (O(), ze(rd, { key: 0 })) : le("", !0)
18151
+ I.isLoading ? (O(), ze(nd, { key: 0 })) : le("", !0)
18153
18152
  ], !0)
18154
18153
  ])
18155
18154
  ], 2),
@@ -18173,7 +18172,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18173
18172
  })
18174
18173
  }, [
18175
18174
  Wt(I.$slots, "menu-header", {}, void 0, !0),
18176
- (O(!0), U(Fr, null, qr(m.value, (de, Ue) => (O(), ze(Zu, {
18175
+ (O(!0), U(Fr, null, qr(m.value, (de, Ue) => (O(), ze(Xu, {
18177
18176
  key: Ue,
18178
18177
  type: "button",
18179
18178
  class: fn(["menu-option", { focused: u.value === Ue, selected: de.value === o.value }]),
@@ -18191,21 +18190,21 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18191
18190
  ]),
18192
18191
  _: 2
18193
18192
  }, 1032, ["class", "menu", "index", "is-focused", "is-selected", "is-disabled", "onSelect"]))), 128)),
18194
- m.value.length === 0 ? (O(), U("div", dd, [
18193
+ m.value.length === 0 ? (O(), U("div", ud, [
18195
18194
  Wt(I.$slots, "no-options", {}, () => [
18196
18195
  te[3] || (te[3] = Ee(" No results found "))
18197
18196
  ], !0)
18198
18197
  ])) : le("", !0)
18199
- ], 12, ud)) : le("", !0)
18198
+ ], 12, ld)) : le("", !0)
18200
18199
  ], 8, ["to", "disabled"]))
18201
18200
  ], 2);
18202
18201
  };
18203
18202
  }
18204
- }), hd = /* @__PURE__ */ Mr(pd, [["__scopeId", "data-v-7f19f42a"]]), fd = {
18203
+ }), pd = /* @__PURE__ */ Mr(dd, [["__scopeId", "data-v-7f19f42a"]]), hd = {
18205
18204
  name: "AuthGeneral",
18206
18205
  mixins: [Qt],
18207
18206
  components: {
18208
- VueSelect: hd
18207
+ VueSelect: pd
18209
18208
  },
18210
18209
  props: {
18211
18210
  isModal: {
@@ -18249,15 +18248,8 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18249
18248
  }, [e, t] = await we(qn.updateAccount(n));
18250
18249
  e ? this.errorHandler(e) : t.data.success && (this.successSnack(this.ssoLang[this.appLanguage].profile_update_success), await this.getAccountSettings()), this.loading = !1;
18251
18250
  }
18252
- },
18253
- computed: {
18254
- containerStyle() {
18255
- return {
18256
- height: this.isModal ? "90vh" : "auto"
18257
- };
18258
- }
18259
18251
  }
18260
- }, md = { class: "subheaderContainer full-top" }, gd = ["src"], _d = ["src"], vd = {
18252
+ }, fd = { class: "page-login content-boxed content-boxed-padding tapni-auth-general" }, md = { class: "subheaderContainer full-top" }, gd = ["src"], _d = ["src"], vd = {
18261
18253
  class: "center-text",
18262
18254
  style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
18263
18255
  }, yd = { class: "container left-text" }, bd = { class: "center-text" }, wd = { class: "full-top bold small-bottom" }, kd = ["placeholder"], Cd = ["placeholder"], Ed = { class: "full-top bold" }, Td = { class: "full-top bold" }, Sd = {
@@ -18269,10 +18261,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
18269
18261
  };
18270
18262
  function Rd(n, e, t, r, o, i) {
18271
18263
  const a = rn("router-link"), s = rn("VueSelect");
18272
- return O(), U("div", {
18273
- class: "page-login content-boxed content-boxed-padding tapni-auth-general",
18274
- style: or(i.containerStyle)
18275
- }, [
18264
+ return O(), U("div", fd, [
18276
18265
  t.isModal ? (O(), U("a", {
18277
18266
  key: 0,
18278
18267
  onClick: e[0] || (e[0] = (...l) => i.close && i.close(...l)),
@@ -18390,9 +18379,9 @@ function Rd(n, e, t, r, o, i) {
18390
18379
  ])
18391
18380
  ], 32)
18392
18381
  ])
18393
- ], 4);
18382
+ ]);
18394
18383
  }
18395
- const Co = /* @__PURE__ */ an(fd, [["render", Rd]]), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18384
+ const Co = /* @__PURE__ */ an(hd, [["render", Rd]]), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18396
18385
  __proto__: null,
18397
18386
  default: Co
18398
18387
  }, Symbol.toStringTag, { value: "Module" })), Md = {
@@ -18793,20 +18782,20 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18793
18782
  await jr.setRaw(e);
18794
18783
  }, { deep: !0 });
18795
18784
  }
18796
- }, hp = { id: "ssoapp" }, fp = {
18785
+ }, hp = {
18797
18786
  key: 0,
18798
18787
  href: "/",
18799
18788
  class: "header-logo"
18800
- }, mp = {
18789
+ }, fp = {
18801
18790
  class: "snackbar snackbar-boxed",
18802
18791
  id: "snackbar"
18803
- }, gp = {
18792
+ }, mp = {
18804
18793
  class: "snack-body",
18805
18794
  id: "errorSnack"
18806
- }, _p = { id: "errorMessage" }, vp = {
18795
+ }, gp = { id: "errorMessage" }, _p = {
18807
18796
  class: "snack-body",
18808
18797
  id: "successSnack"
18809
- }, yp = { id: "successMessage" }, bp = {
18798
+ }, vp = { id: "successMessage" }, yp = {
18810
18799
  store: uo,
18811
18800
  name: "TapniAuth",
18812
18801
  mixins: [pp, Qt],
@@ -18856,6 +18845,12 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18856
18845
  computed: {
18857
18846
  initialized() {
18858
18847
  return this.isSetup || this.isModal;
18848
+ },
18849
+ containerStyle() {
18850
+ return {
18851
+ maxHeight: this.isModal ? "90vh" : "auto",
18852
+ overflowY: this.isModal ? "auto" : "hidden"
18853
+ };
18859
18854
  }
18860
18855
  },
18861
18856
  async mounted() {
@@ -18898,13 +18893,16 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18898
18893
  deep: !0
18899
18894
  }
18900
18895
  }
18901
- }, wp = /* @__PURE__ */ Object.assign(bp, {
18896
+ }, bp = /* @__PURE__ */ Object.assign(yp, {
18902
18897
  setup(n) {
18903
18898
  return window.Buffer = la, document.addEventListener("DOMContentLoaded", function() {
18904
18899
  const e = document.createElement("script");
18905
18900
  e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
18906
- }), (e, t) => (O(), U("div", hp, [
18907
- e.display === "redirect" || e.renderView.includes("Auth") ? (O(), U("a", fp, t[2] || (t[2] = [
18901
+ }), (e, t) => (O(), U("div", {
18902
+ id: "ssoapp",
18903
+ style: or(e.containerStyle)
18904
+ }, [
18905
+ e.display === "redirect" || e.renderView.includes("Auth") ? (O(), U("a", hp, t[2] || (t[2] = [
18908
18906
  _("img", {
18909
18907
  src: "https://cdn.tapni.co/images/logo-dark.png",
18910
18908
  class: "header-logo-img"
@@ -18933,9 +18931,9 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18933
18931
  payload: n.payload,
18934
18932
  "onUpdate:viewProp": e.setView
18935
18933
  }, null, 8, ["isModal", "payload", "onUpdate:viewProp"])) : e.initialized && e.renderView === "AuthReset" ? (O(), ze(Eo, { key: 8 })) : e.initialized && e.renderView === "AuthCallback" ? (O(), ze(To, { key: 9 })) : e.display !== "npm" ? (O(), ze(Fi(Gi), { key: 10 })) : le("", !0),
18936
- _("div", mp, [
18937
- _("p", gp, [
18938
- _("span", _p, B(e.ssoLang[e.appLanguage].error), 1),
18934
+ _("div", fp, [
18935
+ _("p", mp, [
18936
+ _("span", gp, B(e.ssoLang[e.appLanguage].error), 1),
18939
18937
  _("a", {
18940
18938
  onClick: t[0] || (t[0] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
18941
18939
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
@@ -18946,8 +18944,8 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18946
18944
  }, null, -1)
18947
18945
  ]))
18948
18946
  ]),
18949
- _("p", vp, [
18950
- _("span", yp, B(e.ssoLang[e.appLanguage].success), 1),
18947
+ _("p", _p, [
18948
+ _("span", vp, B(e.ssoLang[e.appLanguage].success), 1),
18951
18949
  _("a", {
18952
18950
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
18953
18951
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
@@ -18959,11 +18957,11 @@ const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object
18959
18957
  ]))
18960
18958
  ])
18961
18959
  ])
18962
- ]));
18960
+ ], 4));
18963
18961
  }
18964
- }), zp = {
18962
+ }), Lp = {
18965
18963
  install: (n, { store: e, apiRoot: t }) => {
18966
- n.component("TapniAuth", wp), e.hasModule("auth") || e.registerModule("auth", uo), n.config.globalProperties.$apiRoot = t;
18964
+ n.component("TapniAuth", bp), e.hasModule("auth") || e.registerModule("auth", uo), n.config.globalProperties.$apiRoot = t;
18967
18965
  }
18968
18966
  };
18969
18967
  export {
@@ -18973,5 +18971,5 @@ export {
18973
18971
  an as _,
18974
18972
  pe as a,
18975
18973
  nt as b,
18976
- zp as i
18974
+ Lp as i
18977
18975
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .app-store-icon[data-v-cb61958b]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-7d5cdeb9],#emailInput[data-v-7d5cdeb9]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-a8c1558d]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-707a4b16]{text-align:center;padding-right:15%;font-size:17px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}
1
+ .app-store-icon[data-v-cb61958b]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-7d5cdeb9],#emailInput[data-v-7d5cdeb9]{text-align:center;padding-right:15%;font-size:17px}.firstRow img[data-v-64ae2517]{width:25px;height:25px;position:absolute;top:50%;right:0;transform:translate(-50%,-50%)}#emailInput[data-v-707a4b16]{text-align:center;padding-right:15%;font-size:17px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}@media (max-width: 768px){#bodyId{margin-top:0;border-radius:0;height:100%!important}.header-logo{margin-top:15px}}.withBackground[data-v-2f7f5584],.withBackground[data-v-4d3e1bec],.withBackground[data-v-36b27d1f]{height:50px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
package/src/App.vue CHANGED
@@ -11,7 +11,7 @@ document.addEventListener('DOMContentLoaded', function () {
11
11
  </script>
12
12
 
13
13
  <template>
14
- <div id="ssoapp">
14
+ <div id="ssoapp" :style="containerStyle">
15
15
  <a v-if="display === 'redirect' || renderView.includes('Auth')" href="/" class="header-logo"><img src="https://cdn.tapni.co/images/logo-dark.png" class="header-logo-img" /></a>
16
16
 
17
17
  <AuthWelcome v-if="initialized && renderView === 'AuthWelcome'" />
@@ -108,6 +108,12 @@ export default {
108
108
  computed: {
109
109
  initialized() {
110
110
  return this.isSetup || this.isModal;
111
+ },
112
+ containerStyle() {
113
+ return {
114
+ maxHeight: this.isModal ? '90vh' : 'auto',
115
+ overflowY: this.isModal ? 'auto' : 'hidden'
116
+ }
111
117
  }
112
118
  },
113
119
  async mounted() {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="page-login content-boxed content-boxed-padding tapni-auth-general" :style="containerStyle">
2
+ <div class="page-login content-boxed content-boxed-padding tapni-auth-general">
3
3
  <a v-if="isModal" @click="close" class="color-black pull-right pointer" style="margin-top: 0px; position: absolute; right: -20px; text-align: right;">
4
4
  <i class="font-17 color-black">
5
5
  <img src="https://cdn.tapni.co/icons/down-arrow.png" class="responsive-image" style="width: 35%;"/>
@@ -170,13 +170,6 @@ export default {
170
170
 
171
171
  this.loading = false;
172
172
  },
173
- },
174
- computed: {
175
- containerStyle() {
176
- return {
177
- height: this.isModal ? '90vh' : 'auto'
178
- }
179
- }
180
173
  }
181
174
  };
182
- </script>
175
+ </script>
@@ -7,7 +7,7 @@
7
7
  </a>
8
8
  <div class="subheaderContainer full-top">
9
9
  <!-- Back Button -->
10
- <div v-if="isModal" class="button gray-button pointer left-button" @click="$emit('update:viewProp', 'AuthAccount')">
10
+ <div v-if="isModal" class="pointer left-button" @click="$emit('update:viewProp', 'AuthAccount')">
11
11
  <img
12
12
  :src="getIcon('arrow-gray-right.svg')"
13
13
  height="20"
@@ -113,8 +113,8 @@
113
113
  <img class="transition-icon" :class="{ 'rotate-icon': !!changePassword }" :src="getIcon('arrow-gray-down.svg')" />
114
114
  </div>
115
115
  </div>
116
- <form v-show="changePassword" class="center-text half-top">
117
- <form @submit.prevent="submitChangePassword">
116
+
117
+ <form @submit.prevent="submitChangePassword" v-show="changePassword" class="center-text half-top">
118
118
  <input type="password" v-model="currentPassword" :placeholder="ssoLang[appLanguage].password_current_p"
119
119
  class="edit-input h-40 lh-40" required minlength="8" style="width: 100%"/>
120
120
  <p class="small-text small-top-padding small-bottom">{{ssoLang[appLanguage].password_current}}</p>
@@ -140,9 +140,7 @@
140
140
  <router-link to="/reset" exact class="color-black">{{ssoLang[appLanguage].by_clicking_here}}</router-link>
141
141
  </p>
142
142
  </form>
143
- </form>
144
-
145
-
143
+
146
144
  <!-- Delete Account -->
147
145
  <div class="settingRow full-top" @click="accountDelete = !accountDelete">
148
146
  <div class="firstRow">