@pocketprep/ui-kit 3.1.5 → 3.1.6

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.
@@ -14161,13 +14161,10 @@ let As = class extends ye {
14161
14161
  W(this, "showTooltip", !1);
14162
14162
  W(this, "textOverflows", !1);
14163
14163
  W(this, "measurementComplete", !1);
14164
- W(this, "id", null);
14165
- }
14166
- created() {
14167
- this.id = this._uid;
14164
+ W(this, "uid", Math.floor(Math.random() * 1e9));
14168
14165
  }
14169
14166
  mounted() {
14170
- const s = this.$refs[`content_${this.id}`], o = this.$refs[`content_fullwidth_${this.id}`];
14167
+ const s = this.$refs[`content_${this.uid}`], o = this.$refs[`content_fullwidth_${this.uid}`];
14171
14168
  this.$nextTick(() => {
14172
14169
  const t = s.getBoundingClientRect().width, n = o.getBoundingClientRect().width;
14173
14170
  this.textOverflows = t < n, this.measurementComplete = !0;
@@ -14195,9 +14192,9 @@ function f6(e, i, s, o, t, n) {
14195
14192
  ]),
14196
14193
  _: 3
14197
14194
  })) : be("", !0),
14198
- e.id ? (X(), ie(et, { key: 1 }, [
14195
+ e.uid ? (X(), ie(et, { key: 1 }, [
14199
14196
  oe("div", {
14200
- ref: `content_${e.id}`,
14197
+ ref: `content_${e.uid}`,
14201
14198
  class: "uikit-overflow-tooltip__content",
14202
14199
  onMouseenter: i[0] || (i[0] = (Y) => e.showTooltip = !0),
14203
14200
  onMouseleave: i[1] || (i[1] = (Y) => e.showTooltip = !1)
@@ -14206,7 +14203,7 @@ function f6(e, i, s, o, t, n) {
14206
14203
  ], 544),
14207
14204
  e.measurementComplete ? be("", !0) : (X(), ie("div", {
14208
14205
  key: 0,
14209
- ref: `content_fullwidth_${e.id}`,
14206
+ ref: `content_fullwidth_${e.uid}`,
14210
14207
  class: "uikit-overflow-tooltip__content uikit-overflow-tooltip__content--full-width"
14211
14208
  }, [
14212
14209
  Ee(e.$slots, "default")