@dialpad/dialtone 9.11.5 → 9.11.7

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.
Files changed (53) hide show
  1. package/dist/css/dialtone.css +2 -2
  2. package/dist/tokens/android/java/tokens-dark.kt +1 -1
  3. package/dist/tokens/android/java/tokens-light.kt +1 -1
  4. package/dist/tokens/android/res/values/colors-dark.xml +1 -1
  5. package/dist/tokens/android/res/values/colors-light.xml +1 -1
  6. package/dist/tokens/android/res/values/dimens.xml +1 -1
  7. package/dist/tokens/css/variables-dark.css +1 -1
  8. package/dist/tokens/css/variables-light.css +1 -1
  9. package/dist/tokens/ios/tokens-dark.swift +1 -1
  10. package/dist/tokens/ios/tokens-light.swift +1 -1
  11. package/dist/tokens/less/variables-dark.less +1 -1
  12. package/dist/tokens/less/variables-light.less +1 -1
  13. package/dist/vue2/dialtone-vue.cjs +1 -1
  14. package/dist/vue2/dialtone-vue.js +7 -7
  15. package/dist/vue2/directives.cjs +1 -1
  16. package/dist/vue2/directives.js +1 -1
  17. package/dist/vue2/emoji.cjs +1 -1
  18. package/dist/vue2/emoji.js +4 -4
  19. package/dist/vue2/{emoji_picker-G_dpCtLb.cjs → emoji_picker-Bqtgrc_-.cjs} +1 -1
  20. package/dist/vue2/{emoji_picker-H4Qp2wF5.js → emoji_picker-H8MCLDWD.js} +2 -2
  21. package/dist/vue2/{emoji_text_wrapper-B6LYaq-4.js → emoji_text_wrapper-FIY8SE_T.js} +2 -2
  22. package/dist/vue2/{emoji_text_wrapper-HXzlY5eZ.cjs → emoji_text_wrapper-L5BvowDe.cjs} +1 -1
  23. package/dist/vue2/{index-Fi4GXrPf.cjs → index-Ay3JqEew.cjs} +1 -1
  24. package/dist/vue2/{index-ASOzBdZi.js → index-Fb937CbY.js} +1 -1
  25. package/dist/vue2/message_input.cjs +1 -1
  26. package/dist/vue2/message_input.js +4 -4
  27. package/dist/vue2/{rich_text_editor-hvsobGV1.js → rich_text_editor-C4iSjnMg.js} +2 -2
  28. package/dist/vue2/{rich_text_editor-HGWAxljc.cjs → rich_text_editor-CJiLXSVv.cjs} +1 -1
  29. package/dist/vue2/{tooltip-R7LTeOZf.cjs → tooltip-SCB4w509.cjs} +5 -5
  30. package/dist/vue2/{tooltip-vREVnN_1.js → tooltip-ZAaMbL96.js} +288 -281
  31. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +2 -1
  32. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  33. package/dist/vue3/dialtone-vue.cjs +1 -1
  34. package/dist/vue3/dialtone-vue.js +7 -7
  35. package/dist/vue3/directives.cjs +1 -1
  36. package/dist/vue3/directives.js +1 -1
  37. package/dist/vue3/{emoji-BTNutvt9.js → emoji-9trlIcvP.js} +1 -1
  38. package/dist/vue3/{emoji-rlL92lZG.cjs → emoji-i0_qg0UW.cjs} +1 -1
  39. package/dist/vue3/emoji.cjs +1 -1
  40. package/dist/vue3/emoji.js +4 -4
  41. package/dist/vue3/{emoji_picker-yry3pYOn.cjs → emoji_picker-LTVMMASh.cjs} +1 -1
  42. package/dist/vue3/{emoji_picker-nmJ2h6aY.js → emoji_picker-Y2qCr8ss.js} +2 -2
  43. package/dist/vue3/{emoji_text_wrapper--VteZTud.js → emoji_text_wrapper-BDupkpRi.js} +1 -1
  44. package/dist/vue3/{emoji_text_wrapper-c3aPthCy.cjs → emoji_text_wrapper-o1rL3f2U.cjs} +1 -1
  45. package/dist/vue3/message_input.cjs +1 -1
  46. package/dist/vue3/message_input.js +4 -4
  47. package/dist/vue3/{rich_text_editor-rl8EpCt1.cjs → rich_text_editor-B6o2QYBc.cjs} +1 -1
  48. package/dist/vue3/{rich_text_editor-2sh3YgmO.js → rich_text_editor-K4i01tLL.js} +2 -2
  49. package/dist/vue3/{tooltip-3O-FaSCC.js → tooltip-p1QaufTw.js} +84 -76
  50. package/dist/vue3/{tooltip-POX7tOJg.cjs → tooltip-qNCn2WEt.cjs} +4 -4
  51. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +2 -1
  52. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -148,11 +148,11 @@ function Ar(e) {
148
148
  var t, n;
149
149
  return !e || typeof e != "string" ? !1 : ((t = cn.exec(e)) == null ? void 0 : t[0]) === e || ((n = ln.exec(e)) == null ? void 0 : n[0]) === e;
150
150
  }
151
- function Sr(e) {
151
+ function Dr(e) {
152
152
  var t;
153
153
  return !e || typeof e != "string" ? !1 : ((t = fn.exec(e)) == null ? void 0 : t[0]) === e;
154
154
  }
155
- function Dr(e) {
155
+ function Sr(e) {
156
156
  return e.filter((t) => !!t).join(" ");
157
157
  }
158
158
  function Cr(e, t = "en-US") {
@@ -174,10 +174,10 @@ const Mo = {
174
174
  isOutOfViewPort: yr,
175
175
  getPhoneNumberRegex: pn,
176
176
  linkRegex: xr,
177
- isEmailAddress: Sr,
177
+ isEmailAddress: Dr,
178
178
  isPhoneNumber: Tr,
179
179
  isURL: Ar,
180
- safeConcatStrings: Dr,
180
+ safeConcatStrings: Sr,
181
181
  capitalizeFirstLetter: Cr
182
182
  }, vn = (e, t) => {
183
183
  const n = e.__vccOpts || e;
@@ -259,10 +259,10 @@ function Rr(e, t, n, r, o, a) {
259
259
  }, 16, ["name", "appear", "css"]);
260
260
  }
261
261
  const Pr = /* @__PURE__ */ vn(Lr, [["render", Rr]]);
262
- var _ = "top", Y = "bottom", X = "right", $ = "left", xt = "auto", We = [_, Y, X, $], Se = "start", _e = "end", Ir = "clippingParents", hn = "viewport", je = "popper", Nr = "reference", Mt = /* @__PURE__ */ We.reduce(function(e, t) {
263
- return e.concat([t + "-" + Se, t + "-" + _e]);
262
+ var _ = "top", Y = "bottom", X = "right", $ = "left", xt = "auto", We = [_, Y, X, $], De = "start", _e = "end", Ir = "clippingParents", hn = "viewport", je = "popper", Nr = "reference", Mt = /* @__PURE__ */ We.reduce(function(e, t) {
263
+ return e.concat([t + "-" + De, t + "-" + _e]);
264
264
  }, []), mn = /* @__PURE__ */ [].concat(We, [xt]).reduce(function(e, t) {
265
- return e.concat([t, t + "-" + Se, t + "-" + _e]);
265
+ return e.concat([t, t + "-" + De, t + "-" + _e]);
266
266
  }, []), Mr = "beforeRead", jr = "read", kr = "afterRead", Vr = "beforeMain", Br = "main", _r = "afterMain", $r = "beforeWrite", Ur = "write", Hr = "afterWrite", Wr = [Mr, jr, kr, Vr, Br, _r, $r, Ur, Hr];
267
267
  function te(e) {
268
268
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -335,7 +335,7 @@ const gn = {
335
335
  function ee(e) {
336
336
  return e.split("-")[0];
337
337
  }
338
- var ge = Math.max, st = Math.min, De = Math.round;
338
+ var ge = Math.max, st = Math.min, Se = Math.round;
339
339
  function yt() {
340
340
  var e = navigator.userAgentData;
341
341
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -348,7 +348,7 @@ function yn() {
348
348
  function Ce(e, t, n) {
349
349
  t === void 0 && (t = !1), n === void 0 && (n = !1);
350
350
  var r = e.getBoundingClientRect(), o = 1, a = 1;
351
- t && q(e) && (o = e.offsetWidth > 0 && De(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && De(r.height) / e.offsetHeight || 1);
351
+ t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Se(r.height) / e.offsetHeight || 1);
352
352
  var l = ye(e) ? F(e) : window, u = l.visualViewport, c = !yn() && n, p = (r.left + (c && u ? u.offsetLeft : 0)) / o, f = (r.top + (c && u ? u.offsetTop : 0)) / a, b = r.width / o, O = r.height / a;
353
353
  return {
354
354
  width: b,
@@ -433,7 +433,7 @@ function Fe(e) {
433
433
  n = jt(n);
434
434
  return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Yr(e) || t;
435
435
  }
436
- function St(e) {
436
+ function Dt(e) {
437
437
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
438
438
  }
439
439
  function ke(e, t, n) {
@@ -465,10 +465,10 @@ var Kr = function(t, n) {
465
465
  })) : t, En(typeof t != "number" ? t : On(t, We));
466
466
  };
467
467
  function Gr(e) {
468
- var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, u = ee(n.placement), c = St(u), p = [$, X].indexOf(u) >= 0, f = p ? "height" : "width";
468
+ var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, u = ee(n.placement), c = Dt(u), p = [$, X].indexOf(u) >= 0, f = p ? "height" : "width";
469
469
  if (!(!a || !l)) {
470
- var b = Kr(o.padding, n), O = At(a), m = c === "y" ? _ : $, w = c === "y" ? Y : X, g = n.rects.reference[f] + n.rects.reference[c] - l[c] - n.rects.popper[f], y = l[c] - n.rects.reference[c], T = Fe(a), S = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = g / 2 - y / 2, i = b[m], x = S - O[f] - b[w], d = S / 2 - O[f] / 2 + C, D = ke(i, d, x), N = c;
471
- n.modifiersData[r] = (t = {}, t[N] = D, t.centerOffset = D - d, t);
470
+ var b = Kr(o.padding, n), O = At(a), m = c === "y" ? _ : $, w = c === "y" ? Y : X, g = n.rects.reference[f] + n.rects.reference[c] - l[c] - n.rects.popper[f], y = l[c] - n.rects.reference[c], T = Fe(a), D = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = g / 2 - y / 2, i = b[m], x = D - O[f] - b[w], d = D / 2 - O[f] / 2 + C, S = ke(i, d, x), N = c;
471
+ n.modifiersData[r] = (t = {}, t[N] = S, t.centerOffset = S - d, t);
472
472
  }
473
473
  }
474
474
  function Zr(e) {
@@ -496,8 +496,8 @@ var Jr = {
496
496
  function ei(e, t) {
497
497
  var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
498
498
  return {
499
- x: De(n * o) / o || 0,
500
- y: De(r * o) / o || 0
499
+ x: Se(n * o) / o || 0,
500
+ y: Se(r * o) / o || 0
501
501
  };
502
502
  }
503
503
  function kt(e) {
@@ -509,14 +509,14 @@ function kt(e) {
509
509
  y: g
510
510
  };
511
511
  m = y.x, g = y.y;
512
- var T = l.hasOwnProperty("x"), S = l.hasOwnProperty("y"), C = $, i = _, x = window;
512
+ var T = l.hasOwnProperty("x"), D = l.hasOwnProperty("y"), C = $, i = _, x = window;
513
513
  if (p) {
514
- var d = Fe(n), D = "clientHeight", N = "clientWidth";
515
- if (d === F(n) && (d = le(n), se(d).position !== "static" && u === "absolute" && (D = "scrollHeight", N = "scrollWidth")), d = d, o === _ || (o === $ || o === X) && a === _e) {
514
+ var d = Fe(n), S = "clientHeight", N = "clientWidth";
515
+ if (d === F(n) && (d = le(n), se(d).position !== "static" && u === "absolute" && (S = "scrollHeight", N = "scrollWidth")), d = d, o === _ || (o === $ || o === X) && a === _e) {
516
516
  i = Y;
517
517
  var I = b && d === x && x.visualViewport ? x.visualViewport.height : (
518
518
  // $FlowFixMe[prop-missing]
519
- d[D]
519
+ d[S]
520
520
  );
521
521
  g -= I - r.height, g *= c ? 1 : -1;
522
522
  }
@@ -540,9 +540,9 @@ function kt(e) {
540
540
  };
541
541
  if (m = P.x, g = P.y, c) {
542
542
  var L;
543
- return Object.assign({}, M, (L = {}, L[i] = S ? "0" : "", L[C] = T ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", L));
543
+ return Object.assign({}, M, (L = {}, L[i] = D ? "0" : "", L[C] = T ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", L));
544
544
  }
545
- return Object.assign({}, M, (t = {}, t[i] = S ? g + "px" : "", t[C] = T ? m + "px" : "", t.transform = "", t));
545
+ return Object.assign({}, M, (t = {}, t[i] = D ? g + "px" : "", t[C] = T ? m + "px" : "", t.transform = "", t));
546
546
  }
547
547
  function ti(e) {
548
548
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, l = a === void 0 ? !0 : a, u = n.roundOffsets, c = u === void 0 ? !0 : u, p = {
@@ -616,7 +616,7 @@ function Vt(e) {
616
616
  return ai[t];
617
617
  });
618
618
  }
619
- function Dt(e) {
619
+ function St(e) {
620
620
  var t = F(e), n = t.pageXOffset, r = t.pageYOffset;
621
621
  return {
622
622
  scrollLeft: n,
@@ -624,7 +624,7 @@ function Dt(e) {
624
624
  };
625
625
  }
626
626
  function Ct(e) {
627
- return Ce(le(e)).left + Dt(e).scrollLeft;
627
+ return Ce(le(e)).left + St(e).scrollLeft;
628
628
  }
629
629
  function si(e, t) {
630
630
  var n = F(e), r = le(e), o = n.visualViewport, a = r.clientWidth, l = r.clientHeight, u = 0, c = 0;
@@ -641,7 +641,7 @@ function si(e, t) {
641
641
  };
642
642
  }
643
643
  function ui(e) {
644
- var t, n = le(e), r = Dt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), l = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), u = -r.scrollLeft + Ct(e), c = -r.scrollTop;
644
+ var t, n = le(e), r = St(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), l = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), u = -r.scrollLeft + Ct(e), c = -r.scrollTop;
645
645
  return se(o || n).direction === "rtl" && (u += ge(n.clientWidth, o ? o.clientWidth : 0) - a), {
646
646
  width: a,
647
647
  height: l,
@@ -726,11 +726,11 @@ function Tn(e) {
726
726
  y: t.y
727
727
  };
728
728
  }
729
- var p = o ? St(o) : null;
729
+ var p = o ? Dt(o) : null;
730
730
  if (p != null) {
731
731
  var f = p === "y" ? "height" : "width";
732
732
  switch (a) {
733
- case Se:
733
+ case De:
734
734
  c[p] = c[p] - (t[f] / 2 - n[f] / 2);
735
735
  break;
736
736
  case _e:
@@ -742,12 +742,12 @@ function Tn(e) {
742
742
  }
743
743
  function $e(e, t) {
744
744
  t === void 0 && (t = {});
745
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, u = n.boundary, c = u === void 0 ? Ir : u, p = n.rootBoundary, f = p === void 0 ? hn : p, b = n.elementContext, O = b === void 0 ? je : b, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, y = g === void 0 ? 0 : g, T = En(typeof y != "number" ? y : On(y, We)), S = O === je ? Nr : je, C = e.rects.popper, i = e.elements[w ? S : O], x = fi(ye(i) ? i : i.contextElement || le(e.elements.popper), c, f, l), d = Ce(e.elements.reference), D = Tn({
745
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, u = n.boundary, c = u === void 0 ? Ir : u, p = n.rootBoundary, f = p === void 0 ? hn : p, b = n.elementContext, O = b === void 0 ? je : b, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, y = g === void 0 ? 0 : g, T = En(typeof y != "number" ? y : On(y, We)), D = O === je ? Nr : je, C = e.rects.popper, i = e.elements[w ? D : O], x = fi(ye(i) ? i : i.contextElement || le(e.elements.popper), c, f, l), d = Ce(e.elements.reference), S = Tn({
746
746
  reference: d,
747
747
  element: C,
748
748
  strategy: "absolute",
749
749
  placement: o
750
- }), N = bt(Object.assign({}, C, D)), I = O === je ? N : d, R = {
750
+ }), N = bt(Object.assign({}, C, S)), I = O === je ? N : d, R = {
751
751
  top: x.top - I.top + T.top,
752
752
  bottom: I.bottom - x.bottom + T.bottom,
753
753
  left: x.left - I.left + T.left,
@@ -791,7 +791,7 @@ function di(e) {
791
791
  function vi(e) {
792
792
  var t = e.state, n = e.options, r = e.name;
793
793
  if (!t.modifiersData[r]._skip) {
794
- for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !0 : l, c = n.fallbackPlacements, p = n.padding, f = n.boundary, b = n.rootBoundary, O = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, T = ee(y), S = T === y, C = c || (S || !w ? [at(y)] : di(y)), i = [y].concat(C).reduce(function(ne, K) {
794
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !0 : l, c = n.fallbackPlacements, p = n.padding, f = n.boundary, b = n.rootBoundary, O = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, T = ee(y), D = T === y, C = c || (D || !w ? [at(y)] : di(y)), i = [y].concat(C).reduce(function(ne, K) {
795
795
  return ne.concat(ee(K) === xt ? pi(t, {
796
796
  placement: K,
797
797
  boundary: f,
@@ -800,8 +800,8 @@ function vi(e) {
800
800
  flipVariations: w,
801
801
  allowedAutoPlacements: g
802
802
  }) : K);
803
- }, []), x = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), N = !0, I = i[0], R = 0; R < i.length; R++) {
804
- var M = i[R], P = ee(M), L = Le(M) === Se, U = [_, Y].indexOf(P) >= 0, H = U ? "width" : "height", k = $e(t, {
803
+ }, []), x = t.rects.reference, d = t.rects.popper, S = /* @__PURE__ */ new Map(), N = !0, I = i[0], R = 0; R < i.length; R++) {
804
+ var M = i[R], P = ee(M), L = Le(M) === De, U = [_, Y].indexOf(P) >= 0, H = U ? "width" : "height", k = $e(t, {
805
805
  placement: M,
806
806
  boundary: f,
807
807
  rootBoundary: b,
@@ -816,12 +816,12 @@ function vi(e) {
816
816
  I = M, N = !1;
817
817
  break;
818
818
  }
819
- D.set(M, G);
819
+ S.set(M, G);
820
820
  }
821
821
  if (N)
822
822
  for (var Z = w ? 3 : 1, fe = function(K) {
823
823
  var re = i.find(function(be) {
824
- var ie = D.get(be);
824
+ var ie = S.get(be);
825
825
  if (ie)
826
826
  return ie.slice(0, K).every(function(we) {
827
827
  return we;
@@ -936,7 +936,7 @@ function Ti(e) {
936
936
  rootBoundary: p,
937
937
  padding: b,
938
938
  altBoundary: f
939
- }), T = ee(t.placement), S = Le(t.placement), C = !S, i = St(T), x = xi(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, N = t.rects.popper, I = typeof g == "function" ? g(Object.assign({}, t.rects, {
939
+ }), T = ee(t.placement), D = Le(t.placement), C = !D, i = Dt(T), x = xi(i), d = t.modifiersData.popperOffsets, S = t.rects.reference, N = t.rects.popper, I = typeof g == "function" ? g(Object.assign({}, t.rects, {
940
940
  placement: t.placement
941
941
  })) : g, R = typeof I == "number" ? {
942
942
  mainAxis: I,
@@ -950,14 +950,14 @@ function Ti(e) {
950
950
  };
951
951
  if (d) {
952
952
  if (a) {
953
- var L, U = i === "y" ? _ : $, H = i === "y" ? Y : X, k = i === "y" ? "height" : "width", V = d[i], j = V + y[U], G = V - y[H], Z = m ? -N[k] / 2 : 0, fe = S === Se ? D[k] : N[k], Q = S === Se ? -N[k] : -D[k], pe = t.elements.arrow, ne = m && pe ? At(pe) : {
953
+ var L, U = i === "y" ? _ : $, H = i === "y" ? Y : X, k = i === "y" ? "height" : "width", V = d[i], j = V + y[U], G = V - y[H], Z = m ? -N[k] / 2 : 0, fe = D === De ? S[k] : N[k], Q = D === De ? -N[k] : -S[k], pe = t.elements.arrow, ne = m && pe ? At(pe) : {
954
954
  width: 0,
955
955
  height: 0
956
- }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wn(), re = K[U], be = K[H], ie = ke(0, D[k], ne[k]), we = C ? D[k] / 2 - Z - ie - re - R.mainAxis : fe - ie - re - R.mainAxis, ue = C ? -D[k] / 2 + Z + ie + be + R.mainAxis : Q + ie + be + R.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Re = (L = M == null ? void 0 : M[i]) != null ? L : 0, Ye = V + we - Re - qe, Xe = V + ue - Re, Pe = ke(m ? st(j, Ye) : j, V, m ? ge(G, Xe) : G);
956
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wn(), re = K[U], be = K[H], ie = ke(0, S[k], ne[k]), we = C ? S[k] / 2 - Z - ie - re - R.mainAxis : fe - ie - re - R.mainAxis, ue = C ? -S[k] / 2 + Z + ie + be + R.mainAxis : Q + ie + be + R.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Re = (L = M == null ? void 0 : M[i]) != null ? L : 0, Ye = V + we - Re - qe, Xe = V + ue - Re, Pe = ke(m ? st(j, Ye) : j, V, m ? ge(G, Xe) : G);
957
957
  d[i] = Pe, P[i] = Pe - V;
958
958
  }
959
959
  if (u) {
960
- var Ie, Ke = i === "x" ? _ : $, Ge = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ne = oe + y[Ke], de = oe - y[Ge], Me = [_, $].indexOf(T) !== -1, Ze = (Ie = M == null ? void 0 : M[x]) != null ? Ie : 0, Qe = Me ? Ne : oe - D[ce] - N[ce] - Ze + R.altAxis, Je = Me ? oe + D[ce] + N[ce] - Ze - R.altAxis : de, et = m && Me ? Xr(Qe, oe, Je) : ke(m ? Qe : Ne, oe, m ? Je : de);
960
+ var Ie, Ke = i === "x" ? _ : $, Ge = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ne = oe + y[Ke], de = oe - y[Ge], Me = [_, $].indexOf(T) !== -1, Ze = (Ie = M == null ? void 0 : M[x]) != null ? Ie : 0, Qe = Me ? Ne : oe - S[ce] - N[ce] - Ze + R.altAxis, Je = Me ? oe + S[ce] + N[ce] - Ze - R.altAxis : de, et = m && Me ? Xr(Qe, oe, Je) : ke(m ? Qe : Ne, oe, m ? Je : de);
961
961
  d[x] = et, P[x] = et - oe;
962
962
  }
963
963
  t.modifiersData[r] = P;
@@ -970,17 +970,17 @@ const Ai = {
970
970
  fn: Ti,
971
971
  requiresIfExists: ["offset"]
972
972
  };
973
- function Si(e) {
973
+ function Di(e) {
974
974
  return {
975
975
  scrollLeft: e.scrollLeft,
976
976
  scrollTop: e.scrollTop
977
977
  };
978
978
  }
979
- function Di(e) {
980
- return e === F(e) || !q(e) ? Dt(e) : Si(e);
979
+ function Si(e) {
980
+ return e === F(e) || !q(e) ? St(e) : Di(e);
981
981
  }
982
982
  function Ci(e) {
983
- var t = e.getBoundingClientRect(), n = De(t.width) / e.offsetWidth || 1, r = De(t.height) / e.offsetHeight || 1;
983
+ var t = e.getBoundingClientRect(), n = Se(t.width) / e.offsetWidth || 1, r = Se(t.height) / e.offsetHeight || 1;
984
984
  return n !== 1 || r !== 1;
985
985
  }
986
986
  function Li(e, t, n) {
@@ -993,7 +993,7 @@ function Li(e, t, n) {
993
993
  y: 0
994
994
  };
995
995
  return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
996
- Lt(a)) && (u = Di(t)), q(t) ? (c = Ce(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Ct(a))), {
996
+ Lt(a)) && (u = Si(t)), q(t) ? (c = Ce(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Ct(a))), {
997
997
  x: l.left + u.scrollLeft - c.x,
998
998
  y: l.top + u.scrollTop - c.y,
999
999
  width: l.width,
@@ -1080,8 +1080,8 @@ function Mi(e) {
1080
1080
  }, b = [], O = !1, m = {
1081
1081
  state: f,
1082
1082
  setOptions: function(T) {
1083
- var S = typeof T == "function" ? T(f.options) : T;
1084
- g(), f.options = Object.assign({}, a, f.options, S), f.scrollParents = {
1083
+ var D = typeof T == "function" ? T(f.options) : T;
1084
+ g(), f.options = Object.assign({}, a, f.options, D), f.scrollParents = {
1085
1085
  reference: ye(u) ? Ve(u) : u.contextElement ? Ve(u.contextElement) : [],
1086
1086
  popper: Ve(c)
1087
1087
  };
@@ -1097,10 +1097,10 @@ function Mi(e) {
1097
1097
  // prefer the async Popper#update method
1098
1098
  forceUpdate: function() {
1099
1099
  if (!O) {
1100
- var T = f.elements, S = T.reference, C = T.popper;
1101
- if (Ht(S, C)) {
1100
+ var T = f.elements, D = T.reference, C = T.popper;
1101
+ if (Ht(D, C)) {
1102
1102
  f.rects = {
1103
- reference: Li(S, Fe(C), f.options.strategy === "fixed"),
1103
+ reference: Li(D, Fe(C), f.options.strategy === "fixed"),
1104
1104
  popper: At(C)
1105
1105
  }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(R) {
1106
1106
  return f.modifiersData[R.name] = Object.assign({}, R.data);
@@ -1110,7 +1110,7 @@ function Mi(e) {
1110
1110
  f.reset = !1, i = -1;
1111
1111
  continue;
1112
1112
  }
1113
- var x = f.orderedModifiers[i], d = x.fn, D = x.options, N = D === void 0 ? {} : D, I = x.name;
1113
+ var x = f.orderedModifiers[i], d = x.fn, S = x.options, N = S === void 0 ? {} : S, I = x.name;
1114
1114
  typeof d == "function" && (f = d({
1115
1115
  state: f,
1116
1116
  options: N,
@@ -1139,7 +1139,7 @@ function Mi(e) {
1139
1139
  });
1140
1140
  function w() {
1141
1141
  f.orderedModifiers.forEach(function(y) {
1142
- var T = y.name, S = y.options, C = S === void 0 ? {} : S, i = y.effect;
1142
+ var T = y.name, D = y.options, C = D === void 0 ? {} : D, i = y.effect;
1143
1143
  if (typeof i == "function") {
1144
1144
  var x = i({
1145
1145
  state: f,
@@ -1162,7 +1162,7 @@ function Mi(e) {
1162
1162
  }
1163
1163
  var ji = [ii, Oi, ni, gn, wi, hi, Ai, Qr, gi], ki = /* @__PURE__ */ Mi({
1164
1164
  defaultModifiers: ji
1165
- }), Vi = "tippy-box", An = "tippy-content", Bi = "tippy-backdrop", Sn = "tippy-arrow", Dn = "tippy-svg-arrow", me = {
1165
+ }), Vi = "tippy-box", An = "tippy-content", Bi = "tippy-backdrop", Dn = "tippy-arrow", Sn = "tippy-svg-arrow", me = {
1166
1166
  passive: !0,
1167
1167
  capture: !0
1168
1168
  }, Cn = function() {
@@ -1266,8 +1266,8 @@ function Ki(e, t) {
1266
1266
  var a = o.popperRect, l = o.popperState, u = o.props, c = u.interactiveBorder, p = Wi(l.placement), f = l.modifiersData.offset;
1267
1267
  if (!f)
1268
1268
  return !0;
1269
- var b = p === "bottom" ? f.top.y : 0, O = p === "top" ? f.bottom.y : 0, m = p === "right" ? f.left.x : 0, w = p === "left" ? f.right.x : 0, g = a.top - r + b > c, y = r - a.bottom - O > c, T = a.left - n + m > c, S = n - a.right - w > c;
1270
- return g || y || T || S;
1269
+ var b = p === "bottom" ? f.top.y : 0, O = p === "top" ? f.bottom.y : 0, m = p === "right" ? f.left.x : 0, w = p === "left" ? f.right.x : 0, g = a.top - r + b > c, y = r - a.bottom - O > c, T = a.left - n + m > c, D = n - a.right - w > c;
1270
+ return g || y || T || D;
1271
1271
  });
1272
1272
  }
1273
1273
  function vt(e, t, n) {
@@ -1488,7 +1488,7 @@ function Et(e, t) {
1488
1488
  }
1489
1489
  function Zt(e) {
1490
1490
  var t = Be();
1491
- return e === !0 ? t.className = Sn : (t.className = Dn, Ue(e) ? t.appendChild(e) : Et(t, e)), t;
1491
+ return e === !0 ? t.className = Dn : (t.className = Sn, Ue(e) ? t.appendChild(e) : Et(t, e)), t;
1492
1492
  }
1493
1493
  function Qt(e, t) {
1494
1494
  Ue(t.content) ? (Et(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Et(e, t.content) : e.textContent = t.content);
@@ -1501,7 +1501,7 @@ function Ot(e) {
1501
1501
  return r.classList.contains(An);
1502
1502
  }),
1503
1503
  arrow: n.find(function(r) {
1504
- return r.classList.contains(Sn) || r.classList.contains(Dn);
1504
+ return r.classList.contains(Dn) || r.classList.contains(Sn);
1505
1505
  }),
1506
1506
  backdrop: n.find(function(r) {
1507
1507
  return r.classList.contains(Bi);
@@ -1525,7 +1525,7 @@ function jn(e) {
1525
1525
  jn.$$tippy = !0;
1526
1526
  var co = 1, it = [], ht = [];
1527
1527
  function lo(e, t) {
1528
- var n = Gt(e, Object.assign({}, W, Nn(zt(t)))), r, o, a, l = !1, u = !1, c = !1, p = !1, f, b, O, m = [], w = Wt(Ye, n.interactiveDebounce), g, y = co++, T = null, S = Hi(n.plugins), C = {
1528
+ var n = Gt(e, Object.assign({}, W, Nn(zt(t)))), r, o, a, l = !1, u = !1, c = !1, p = !1, f, b, O, m = [], w = Wt(Ye, n.interactiveDebounce), g, y = co++, T = null, D = Hi(n.plugins), C = {
1529
1529
  // Is the instance currently enabled?
1530
1530
  isEnabled: !0,
1531
1531
  // Is the tippy currently showing and not transitioning out?
@@ -1544,7 +1544,7 @@ function lo(e, t) {
1544
1544
  popperInstance: T,
1545
1545
  props: n,
1546
1546
  state: C,
1547
- plugins: S,
1547
+ plugins: D,
1548
1548
  // methods
1549
1549
  clearDelayTimeouts: Qe,
1550
1550
  setProps: Je,
@@ -1559,9 +1559,9 @@ function lo(e, t) {
1559
1559
  };
1560
1560
  if (!n.render)
1561
1561
  return process.env.NODE_ENV !== "production" && wt(!0, "render() function has not been supplied."), i;
1562
- var x = n.render(i), d = x.popper, D = x.onUpdate;
1562
+ var x = n.render(i), d = x.popper, S = x.onUpdate;
1563
1563
  d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1564
- var N = S.map(function(s) {
1564
+ var N = D.map(function(s) {
1565
1565
  return s.fn(i);
1566
1566
  }), I = e.hasAttribute("aria-expanded");
1567
1567
  return Ee(), Z(), V(), j("onCreate", [i]), n.showOnCreate && Ne(), d.addEventListener("mouseenter", function() {
@@ -1868,7 +1868,7 @@ function lo(e, t) {
1868
1868
  }));
1869
1869
  i.props = h, Ee(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), w = Wt(Ye, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Ae(v.triggerTarget).forEach(function(A) {
1870
1870
  A.removeAttribute("aria-expanded");
1871
- }) : h.triggerTarget && e.removeAttribute("aria-expanded"), Z(), V(), D && D(v, h), i.popperInstance && (Ke(), ce().forEach(function(A) {
1871
+ }) : h.triggerTarget && e.removeAttribute("aria-expanded"), Z(), V(), S && S(v, h), i.popperInstance && (Ke(), ce().forEach(function(A) {
1872
1872
  requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
1873
1873
  })), j("onAfterUpdate", [i, s]);
1874
1874
  }
@@ -2075,7 +2075,7 @@ const po = (e) => ({
2075
2075
  hide: "d-tooltip--hide"
2076
2076
  }, Ao = [
2077
2077
  ...ho
2078
- ], jo = [!0, !1, "toggle"], So = {
2078
+ ], jo = [!0, !1, "toggle"], Do = {
2079
2079
  name: "DtTooltip",
2080
2080
  components: {
2081
2081
  DtLazyShow: Pr
@@ -2279,13 +2279,17 @@ const po = (e) => ({
2279
2279
  // to display and it uses a fallback placement.
2280
2280
  currentPlacement: this.placement,
2281
2281
  // reference to the anchor element
2282
- anchor: null
2282
+ anchor: null,
2283
+ // flag check touch based device
2284
+ isTouchDevice: !1
2283
2285
  };
2284
2286
  },
2285
2287
  computed: {
2286
2288
  // whether the tooltip is visible or not.
2287
2289
  isVisible() {
2288
- return this.isShown && this.enabled && (!!this.message.trim() || !!this.$slots.default);
2290
+ var o, a;
2291
+ const e = !!((o = this.message) != null && o.trim()), t = !!((a = this.$slots) != null && a.default), n = !this.isTouchDevice;
2292
+ return this.isShown && this.enabled && (e || t) && n;
2289
2293
  },
2290
2294
  tooltipListeners() {
2291
2295
  return {
@@ -2297,16 +2301,14 @@ const po = (e) => ({
2297
2301
  }
2298
2302
  };
2299
2303
  },
2300
- appendToElement() {
2301
- var e, t;
2302
- return this.appendTo === "body" ? (t = (e = this.anchor) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo;
2303
- },
2304
2304
  tippyProps() {
2305
+ var t, n;
2306
+ const e = this.appendTo === "body" ? (n = (t = this.anchor) == null ? void 0 : t.getRootNode()) == null ? void 0 : n.querySelector("body") : this.appendTo;
2305
2307
  return {
2306
2308
  offset: this.offset,
2307
2309
  interactive: !1,
2308
2310
  trigger: "manual",
2309
- appendTo: this.appendToElement,
2311
+ appendTo: e,
2310
2312
  placement: this.placement,
2311
2313
  sticky: this.sticky,
2312
2314
  popperOptions: go({
@@ -2329,10 +2331,12 @@ const po = (e) => ({
2329
2331
  immediate: !0
2330
2332
  },
2331
2333
  isShown(e) {
2332
- e ? (this.setProps(), this.tip.show()) : this.tip.hide();
2334
+ var t, n;
2335
+ e ? (this.setProps(), (t = this.tip) == null || t.show()) : (n = this.tip) == null || n.hide();
2333
2336
  },
2334
2337
  sticky(e) {
2335
- this.tip.setProps({
2338
+ var t;
2339
+ (t = this.tip) == null || t.setProps({
2336
2340
  sticky: e
2337
2341
  });
2338
2342
  }
@@ -2355,9 +2359,9 @@ const po = (e) => ({
2355
2359
  return this.anchor.matches(":focus-visible");
2356
2360
  },
2357
2361
  onEnterAnchor(e) {
2358
- this.delay ? this.inTimer = setTimeout((function(t) {
2362
+ this.isTouchDevice && !e.relatedTarget || (this.delay ? this.inTimer = setTimeout((function(t) {
2359
2363
  this.triggerShow(t);
2360
- }).bind(this, e), xo) : this.triggerShow(e);
2364
+ }).bind(this, e), xo) : this.triggerShow(e), this.isTouchDevice = !1);
2361
2365
  },
2362
2366
  triggerShow(e) {
2363
2367
  e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
@@ -2413,12 +2417,15 @@ const po = (e) => ({
2413
2417
  }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
2414
2418
  this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
2415
2419
  });
2420
+ },
2421
+ onTouchStart() {
2422
+ this.isTouchDevice = !0;
2416
2423
  }
2417
2424
  }
2418
- }, Do = { "data-qa": "dt-tooltip-container" };
2425
+ }, So = { "data-qa": "dt-tooltip-container" };
2419
2426
  function Co(e, t, n, r, o, a) {
2420
2427
  const l = Qn("dt-lazy-show");
2421
- return mt(), It("div", Do, [
2428
+ return mt(), It("div", So, [
2422
2429
  n.externalAnchor ? nn("", !0) : (mt(), It("span", {
2423
2430
  key: 0,
2424
2431
  ref: "anchor",
@@ -2427,7 +2434,8 @@ function Co(e, t, n, r, o, a) {
2427
2434
  onFocusout: t[1] || (t[1] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
2428
2435
  onMouseenter: t[2] || (t[2] = (...u) => a.onEnterAnchor && a.onEnterAnchor(...u)),
2429
2436
  onMouseleave: t[3] || (t[3] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
2430
- onKeydown: t[4] || (t[4] = Jn((...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u), ["esc"]))
2437
+ onKeydown: t[4] || (t[4] = Jn((...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u), ["esc"])),
2438
+ onTouchstart: t[5] || (t[5] = (...u) => a.onTouchStart && a.onTouchStart(...u))
2431
2439
  }, [
2432
2440
  gt(e.$slots, "anchor")
2433
2441
  ], 544)),
@@ -2458,7 +2466,7 @@ function Co(e, t, n, r, o, a) {
2458
2466
  }, 16, ["id", "show", "appear", "transition", "class"])
2459
2467
  ]);
2460
2468
  }
2461
- const ko = /* @__PURE__ */ vn(So, [["render", Co]]);
2469
+ const ko = /* @__PURE__ */ vn(Do, [["render", Co]]);
2462
2470
  export {
2463
2471
  vo as B,
2464
2472
  ko as D,
@@ -2485,7 +2493,7 @@ export {
2485
2493
  Cr as p,
2486
2494
  Ro as q,
2487
2495
  ir as r,
2488
- Dr as s,
2496
+ Sr as s,
2489
2497
  ze as t,
2490
2498
  Mo as u,
2491
2499
  fr as v,