@tapni/auth 1.0.55 → 1.0.56

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.55", qn = {
1394
+ }, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.56", 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-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 = [
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-BrzkfUU3.js"), Na = () => Promise.resolve().then(() => qu), Oa = () => import("./Apps-NKrqklKY.js"), La = () => import("./Billing-BUzKx9xh.js"), za = () => import("./CustomApp-BsHMfNck.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
5832
5832
  {
5833
5833
  path: "/welcome",
5834
5834
  name: "AuthWelcome",
@@ -17499,6 +17499,7 @@ const Kl = {
17499
17499
  default: {}
17500
17500
  }
17501
17501
  },
17502
+ emits: ["update:viewProp"],
17502
17503
  data() {
17503
17504
  return {
17504
17505
  accountDelete: !1,
@@ -17519,7 +17520,7 @@ const Kl = {
17519
17520
  },
17520
17521
  methods: {
17521
17522
  close() {
17522
- ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
17523
+ ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 }), this.$emit("update:viewProp", "AuthAccount");
17523
17524
  },
17524
17525
  async deleteAccountSubmit() {
17525
17526
  await this.deleteAccount() === !0 && (this.successSnack(this.ssoLang[this.appLanguage].profile_delete_account_success), setTimeout(this.$store.dispatch("logout"), 1e3));
@@ -17819,11 +17820,11 @@ function Fu(n, e, t, r, o, i) {
17819
17820
  _("h4", null, B(n.ssoLang[n.appLanguage].active_account), 1),
17820
17821
  _("div", xu, [
17821
17822
  _e(_("input", {
17823
+ id: "active-open-switch",
17824
+ "onUpdate:modelValue": e[13] || (e[13] = (s) => n.account.is_active = s),
17822
17825
  type: "checkbox",
17823
17826
  name: "ios-switch",
17824
- class: "ios-switch-checkbox",
17825
- id: "active-open-switch",
17826
- "onUpdate:modelValue": e[13] || (e[13] = (s) => n.account.is_active = s)
17827
+ class: "ios-switch-checkbox"
17827
17828
  }, null, 512), [
17828
17829
  [Io, n.account.is_active]
17829
17830
  ]),
@@ -17850,7 +17851,7 @@ function Fu(n, e, t, r, o, i) {
17850
17851
  ])
17851
17852
  ]);
17852
17853
  }
17853
- const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-64ae2517"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17854
+ const ko = /* @__PURE__ */ an(Kl, [["render", Fu], ["__scopeId", "data-v-7a17de90"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17854
17855
  __proto__: null,
17855
17856
  default: ko
17856
17857
  }, Symbol.toStringTag, { value: "Module" }));
@@ -18202,10 +18203,10 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18202
18203
  }
18203
18204
  }), pd = /* @__PURE__ */ Mr(dd, [["__scopeId", "data-v-7f19f42a"]]), hd = {
18204
18205
  name: "AuthGeneral",
18205
- mixins: [Qt],
18206
18206
  components: {
18207
18207
  VueSelect: pd
18208
18208
  },
18209
+ mixins: [Qt],
18209
18210
  props: {
18210
18211
  isModal: {
18211
18212
  type: Boolean,
@@ -18216,6 +18217,7 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18216
18217
  default: {}
18217
18218
  }
18218
18219
  },
18220
+ emits: ["update:viewProp"],
18219
18221
  data() {
18220
18222
  return {
18221
18223
  loading: !1
@@ -18234,7 +18236,7 @@ const nd = /* @__PURE__ */ Mr(Zu, [["render", td], ["__scopeId", "data-v-ed86631
18234
18236
  },
18235
18237
  methods: {
18236
18238
  close() {
18237
- ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
18239
+ ne.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 }), this.$emit("update:viewProp", "AuthAccount");
18238
18240
  },
18239
18241
  async submitGeneralUpdate() {
18240
18242
  this.loading = !0, console.log(this.account);
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-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}
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-7a17de90]{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.55",
3
+ "version": "1.0.56",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -107,10 +107,10 @@ import VueSelect from "vue3-select-component";
107
107
 
108
108
  export default {
109
109
  name: "AuthGeneral",
110
- mixins: [AuthMixin],
111
110
  components: {
112
111
  VueSelect
113
112
  },
113
+ mixins: [AuthMixin],
114
114
  props: {
115
115
  isModal: {
116
116
  type: Boolean,
@@ -121,6 +121,7 @@ export default {
121
121
  default: {}
122
122
  },
123
123
  },
124
+ emits: ['update:viewProp'],
124
125
  data () {
125
126
  return {
126
127
  loading: false,
@@ -146,6 +147,7 @@ export default {
146
147
  methods: {
147
148
  close () {
148
149
  EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
150
+ this.$emit('update:viewProp', 'AuthAccount')
149
151
  },
150
152
  async submitGeneralUpdate () {
151
153
  this.loading = true;
@@ -158,11 +158,11 @@
158
158
 
159
159
  <div class="ios-switch" style="display: inline-block">
160
160
  <input
161
+ :id="'active-open-switch'"
162
+ v-model="account.is_active"
161
163
  type="checkbox"
162
164
  name="ios-switch"
163
165
  class="ios-switch-checkbox"
164
- :id="'active-open-switch'"
165
- v-model="account.is_active"
166
166
  />
167
167
  <label class="ios-switch-label" :for="'active-open-switch'"></label>
168
168
  </div>
@@ -205,6 +205,7 @@ export default {
205
205
  default: {}
206
206
  },
207
207
  },
208
+ emits: ['update:viewProp'],
208
209
  data () {
209
210
  return {
210
211
  accountDelete: false,
@@ -233,6 +234,8 @@ export default {
233
234
  methods: {
234
235
  close () {
235
236
  EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
237
+ this.$emit('update:viewProp', 'AuthAccount')
238
+
236
239
  },
237
240
  async deleteAccountSubmit() {
238
241
  const result = await this.deleteAccount();