@avakhula/ui 0.0.348 → 0.0.350

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/index.js CHANGED
@@ -3485,11 +3485,11 @@ const Od = {
3485
3485
  }
3486
3486
  },
3487
3487
  mounted() {
3488
- this.option.hasOwnProperty("children") && this.option.children && this.checkParent();
3488
+ this.option.hasOwnProperty("children") && this.option.children && this.checkParent(), this.option.showTooltipByDefault && (this.showTooltip = !0);
3489
3489
  },
3490
3490
  updated() {
3491
3491
  this.$nextTick(() => {
3492
- Ma(this.$el.querySelector(".option-label")) && (this.showTooltip = !0);
3492
+ this.option.showTooltipByDefault ? this.showTooltip = !0 : Ma(this.$el.querySelector(".option-label")) && (this.showTooltip = !0);
3493
3493
  });
3494
3494
  },
3495
3495
  data() {
@@ -3697,7 +3697,7 @@ function Ad(t, n, e, r, o, i) {
3697
3697
  [Ke, i.hasVisibleChildren && e.option.isChildrenVisible]
3698
3698
  ]) : he("", !0)
3699
3699
  ], 42, Cd)), [
3700
- [h, o.showTooltip ? e.option.title : ""]
3700
+ [h, o.showTooltip ? e.option.isDisabled ? e.option.disableTooltip : e.option.title : ""]
3701
3701
  ])
3702
3702
  ]);
3703
3703
  }
@@ -11127,7 +11127,7 @@ const A1 = {
11127
11127
  countryChanged(t) {
11128
11128
  this.$globalEvents.$on("countrySelectValue", (n) => {
11129
11129
  this.vueTel.choose(n);
11130
- }), !this.phone || this.phone.length - 1 < this.dialCode.length ? this.phone = "+" + t.dialCode : this.dialCode && (this.phone = this.phone.replace(this.dialCode, t.dialCode)), this.dialCode = t.dialCode;
11130
+ }), this.phone = "+" + t.dialCode, this.dialCode = t.dialCode;
11131
11131
  },
11132
11132
  clickOutside() {
11133
11133
  this.vueTel.open && this.vueTel.clickedOutside();
@@ -20769,11 +20769,11 @@ function I0(t, n, e, r, o, i) {
20769
20769
  }
20770
20770
  const op = /* @__PURE__ */ Ae(N0, [["render", I0]]), oo = new Na(), la = (t, n) => {
20771
20771
  if (Ma(t)) {
20772
- const e = {
20772
+ const e = Object.keys(n.modifiers)[0] || n.arg, r = {
20773
20773
  title: n.value.title || "",
20774
20774
  text: typeof n.value == "object" ? n.value.text : n.value
20775
20775
  };
20776
- oo.createTooltip(t, e);
20776
+ oo.createTooltip(t, r, e);
20777
20777
  }
20778
20778
  }, sa = () => {
20779
20779
  oo.destroyTooltip();