@dialpad/dialtone-vue 2.114.1 → 2.114.3
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/CHANGELOG.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/dialtone-vue.cjs +1 -1
- package/dist/dialtone-vue.js +7 -7
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +1 -1
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +4 -4
- package/dist/{emoji_picker-G_dpCtLb.cjs → emoji_picker-Bqtgrc_-.cjs} +1 -1
- package/dist/{emoji_picker-H4Qp2wF5.js → emoji_picker-H8MCLDWD.js} +2 -2
- package/dist/{emoji_text_wrapper-B6LYaq-4.js → emoji_text_wrapper-FIY8SE_T.js} +2 -2
- package/dist/{emoji_text_wrapper-HXzlY5eZ.cjs → emoji_text_wrapper-L5BvowDe.cjs} +1 -1
- package/dist/{index-Fi4GXrPf.cjs → index-Ay3JqEew.cjs} +1 -1
- package/dist/{index-ASOzBdZi.js → index-Fb937CbY.js} +1 -1
- package/dist/message_input.cjs +1 -1
- package/dist/message_input.js +4 -4
- package/dist/{rich_text_editor-hvsobGV1.js → rich_text_editor-C4iSjnMg.js} +2 -2
- package/dist/{rich_text_editor-HGWAxljc.cjs → rich_text_editor-CJiLXSVv.cjs} +1 -1
- package/dist/{tooltip-R7LTeOZf.cjs → tooltip-SCB4w509.cjs} +5 -5
- package/dist/{tooltip-vREVnN_1.js → tooltip-ZAaMbL96.js} +288 -281
- package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12,13 +12,13 @@ const he = {
|
|
|
12
12
|
md: "",
|
|
13
13
|
lg: "d-description--lg",
|
|
14
14
|
xl: "d-description--xl"
|
|
15
|
-
},
|
|
15
|
+
}, fo = {
|
|
16
16
|
xs: "d-label--xs",
|
|
17
17
|
sm: "d-label--sm",
|
|
18
18
|
md: "",
|
|
19
19
|
lg: "d-label--lg",
|
|
20
20
|
xl: "d-label--xl"
|
|
21
|
-
},
|
|
21
|
+
}, po = {
|
|
22
22
|
esc: "Esc",
|
|
23
23
|
escape: "Escape",
|
|
24
24
|
tab: "Tab",
|
|
@@ -186,29 +186,29 @@ const vo = {
|
|
|
186
186
|
safeConcatStrings: ir,
|
|
187
187
|
capitalizeFirstLetter: or
|
|
188
188
|
};
|
|
189
|
-
function un(e, t, n, r, o,
|
|
189
|
+
function un(e, t, n, r, o, s, c, l) {
|
|
190
190
|
var a = typeof e == "function" ? e.options : e;
|
|
191
|
-
t && (a.render = t, a.staticRenderFns = n, a._compiled = !0), r && (a.functional = !0),
|
|
192
|
-
var
|
|
193
|
-
if (c ? (
|
|
191
|
+
t && (a.render = t, a.staticRenderFns = n, a._compiled = !0), r && (a.functional = !0), s && (a._scopeId = "data-v-" + s);
|
|
192
|
+
var p;
|
|
193
|
+
if (c ? (p = function(g) {
|
|
194
194
|
g = g || // cached call
|
|
195
195
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
196
196
|
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !g && typeof __VUE_SSR_CONTEXT__ < "u" && (g = __VUE_SSR_CONTEXT__), o && o.call(this, g), g && g._registeredComponents && g._registeredComponents.add(c);
|
|
197
|
-
}, a._ssrRegister =
|
|
197
|
+
}, a._ssrRegister = p) : o && (p = l ? function() {
|
|
198
198
|
o.call(
|
|
199
199
|
this,
|
|
200
200
|
(a.functional ? this.parent : this).$root.$options.shadowRoot
|
|
201
201
|
);
|
|
202
|
-
} : o),
|
|
202
|
+
} : o), p)
|
|
203
203
|
if (a.functional) {
|
|
204
|
-
a._injectStyles =
|
|
205
|
-
var
|
|
204
|
+
a._injectStyles = p;
|
|
205
|
+
var f = a.render;
|
|
206
206
|
a.render = function(h, b) {
|
|
207
|
-
return
|
|
207
|
+
return p.call(b), f(h, b);
|
|
208
208
|
};
|
|
209
209
|
} else {
|
|
210
210
|
var y = a.beforeCreate;
|
|
211
|
-
a.beforeCreate = y ? [].concat(y,
|
|
211
|
+
a.beforeCreate = y ? [].concat(y, p) : [p];
|
|
212
212
|
}
|
|
213
213
|
return {
|
|
214
214
|
exports: e,
|
|
@@ -287,7 +287,7 @@ var sr = function() {
|
|
|
287
287
|
null
|
|
288
288
|
);
|
|
289
289
|
const lr = cr.exports;
|
|
290
|
-
var V = "top", Y = "bottom", X = "right", B = "left", Et = "auto", We = [V, Y, X, B], De = "start", Ve = "end",
|
|
290
|
+
var V = "top", Y = "bottom", X = "right", B = "left", Et = "auto", We = [V, Y, X, B], De = "start", Ve = "end", fr = "clippingParents", cn = "viewport", Me = "popper", pr = "reference", Pt = /* @__PURE__ */ We.reduce(function(e, t) {
|
|
291
291
|
return e.concat([t + "-" + De, t + "-" + Ve]);
|
|
292
292
|
}, []), ln = /* @__PURE__ */ [].concat(We, [Et]).reduce(function(e, t) {
|
|
293
293
|
return e.concat([t, t + "-" + De, t + "-" + Ve]);
|
|
@@ -321,10 +321,10 @@ function Ot(e) {
|
|
|
321
321
|
function xr(e) {
|
|
322
322
|
var t = e.state;
|
|
323
323
|
Object.keys(t.elements).forEach(function(n) {
|
|
324
|
-
var r = t.styles[n] || {}, o = t.attributes[n] || {},
|
|
325
|
-
!q(
|
|
324
|
+
var r = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
|
|
325
|
+
!q(s) || !te(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(c) {
|
|
326
326
|
var l = o[c];
|
|
327
|
-
l === !1 ?
|
|
327
|
+
l === !1 ? s.removeAttribute(c) : s.setAttribute(c, l === !0 ? "" : l);
|
|
328
328
|
}));
|
|
329
329
|
});
|
|
330
330
|
}
|
|
@@ -343,16 +343,16 @@ function Tr(e) {
|
|
|
343
343
|
};
|
|
344
344
|
return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
|
|
345
345
|
Object.keys(t.elements).forEach(function(r) {
|
|
346
|
-
var o = t.elements[r],
|
|
347
|
-
return a[
|
|
346
|
+
var o = t.elements[r], s = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), l = c.reduce(function(a, p) {
|
|
347
|
+
return a[p] = "", a;
|
|
348
348
|
}, {});
|
|
349
|
-
!q(o) || !te(o) || (Object.assign(o.style, l), Object.keys(
|
|
349
|
+
!q(o) || !te(o) || (Object.assign(o.style, l), Object.keys(s).forEach(function(a) {
|
|
350
350
|
o.removeAttribute(a);
|
|
351
351
|
}));
|
|
352
352
|
});
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
|
-
const
|
|
355
|
+
const fn = {
|
|
356
356
|
name: "applyStyles",
|
|
357
357
|
enabled: !0,
|
|
358
358
|
phase: "write",
|
|
@@ -370,23 +370,23 @@ function mt() {
|
|
|
370
370
|
return t.brand + "/" + t.version;
|
|
371
371
|
}).join(" ") : navigator.userAgent;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function pn() {
|
|
374
374
|
return !/^((?!chrome|android).)*safari/i.test(mt());
|
|
375
375
|
}
|
|
376
376
|
function Ce(e, t, n) {
|
|
377
377
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
378
|
-
var r = e.getBoundingClientRect(), o = 1,
|
|
379
|
-
t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1,
|
|
380
|
-
var c = ye(e) ? F(e) : window, l = c.visualViewport, a = !
|
|
378
|
+
var r = e.getBoundingClientRect(), o = 1, s = 1;
|
|
379
|
+
t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Se(r.height) / e.offsetHeight || 1);
|
|
380
|
+
var c = ye(e) ? F(e) : window, l = c.visualViewport, a = !pn() && n, p = (r.left + (a && l ? l.offsetLeft : 0)) / o, f = (r.top + (a && l ? l.offsetTop : 0)) / s, y = r.width / o, g = r.height / s;
|
|
381
381
|
return {
|
|
382
382
|
width: y,
|
|
383
383
|
height: g,
|
|
384
|
-
top:
|
|
385
|
-
right:
|
|
386
|
-
bottom:
|
|
387
|
-
left:
|
|
388
|
-
x:
|
|
389
|
-
y:
|
|
384
|
+
top: f,
|
|
385
|
+
right: p + y,
|
|
386
|
+
bottom: f + g,
|
|
387
|
+
left: p,
|
|
388
|
+
x: p,
|
|
389
|
+
y: f
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
function xt(e) {
|
|
@@ -449,8 +449,8 @@ function Dr(e) {
|
|
|
449
449
|
}
|
|
450
450
|
var o = ct(e);
|
|
451
451
|
for (Ot(o) && (o = o.host); q(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
|
|
452
|
-
var
|
|
453
|
-
if (
|
|
452
|
+
var s = se(o);
|
|
453
|
+
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
454
454
|
return o;
|
|
455
455
|
o = o.parentNode;
|
|
456
456
|
}
|
|
@@ -493,9 +493,9 @@ var Cr = function(t, n) {
|
|
|
493
493
|
})) : t, hn(typeof t != "number" ? t : mn(t, We));
|
|
494
494
|
};
|
|
495
495
|
function Rr(e) {
|
|
496
|
-
var t, n = e.state, r = e.name, o = e.options,
|
|
497
|
-
if (!(!
|
|
498
|
-
var y = Cr(o.padding, n), g = xt(
|
|
496
|
+
var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, c = n.modifiersData.popperOffsets, l = ee(n.placement), a = Tt(l), p = [B, X].indexOf(l) >= 0, f = p ? "height" : "width";
|
|
497
|
+
if (!(!s || !c)) {
|
|
498
|
+
var y = Cr(o.padding, n), g = xt(s), h = a === "y" ? V : B, b = a === "y" ? Y : X, w = n.rects.reference[f] + n.rects.reference[a] - c[a] - n.rects.popper[f], E = c[a] - n.rects.reference[a], T = Fe(s), D = T ? a === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - E / 2, i = y[h], x = D - g[f] - y[b], d = D / 2 - g[f] / 2 + C, S = $e(i, d, x), I = a;
|
|
499
499
|
n.modifiersData[r] = (t = {}, t[I] = S, t.centerOffset = S - d, t);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
@@ -529,7 +529,7 @@ function Ir(e, t) {
|
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
531
|
function It(e) {
|
|
532
|
-
var t, n = e.popper, r = e.popperRect, o = e.placement,
|
|
532
|
+
var t, n = e.popper, r = e.popperRect, o = e.placement, s = e.variation, c = e.offsets, l = e.position, a = e.gpuAcceleration, p = e.adaptive, f = e.roundOffsets, y = e.isFixed, g = c.x, h = g === void 0 ? 0 : g, b = c.y, w = b === void 0 ? 0 : b, E = typeof f == "function" ? f({
|
|
533
533
|
x: h,
|
|
534
534
|
y: w
|
|
535
535
|
}) : {
|
|
@@ -538,9 +538,9 @@ function It(e) {
|
|
|
538
538
|
};
|
|
539
539
|
h = E.x, w = E.y;
|
|
540
540
|
var T = c.hasOwnProperty("x"), D = c.hasOwnProperty("y"), C = B, i = V, x = window;
|
|
541
|
-
if (
|
|
541
|
+
if (p) {
|
|
542
542
|
var d = Fe(n), S = "clientHeight", I = "clientWidth";
|
|
543
|
-
if (d === F(n) && (d = le(n), se(d).position !== "static" && l === "absolute" && (S = "scrollHeight", I = "scrollWidth")), d = d, o === V || (o === B || o === X) &&
|
|
543
|
+
if (d === F(n) && (d = le(n), se(d).position !== "static" && l === "absolute" && (S = "scrollHeight", I = "scrollWidth")), d = d, o === V || (o === B || o === X) && s === Ve) {
|
|
544
544
|
i = Y;
|
|
545
545
|
var _ = y && d === x && x.visualViewport ? x.visualViewport.height : (
|
|
546
546
|
// $FlowFixMe[prop-missing]
|
|
@@ -548,7 +548,7 @@ function It(e) {
|
|
|
548
548
|
);
|
|
549
549
|
w -= _ - r.height, w *= a ? 1 : -1;
|
|
550
550
|
}
|
|
551
|
-
if (o === B || (o === V || o === Y) &&
|
|
551
|
+
if (o === B || (o === V || o === Y) && s === Ve) {
|
|
552
552
|
C = X;
|
|
553
553
|
var L = y && d === x && x.visualViewport ? x.visualViewport.width : (
|
|
554
554
|
// $FlowFixMe[prop-missing]
|
|
@@ -559,7 +559,7 @@ function It(e) {
|
|
|
559
559
|
}
|
|
560
560
|
var N = Object.assign({
|
|
561
561
|
position: l
|
|
562
|
-
},
|
|
562
|
+
}, p && _r), P = f === !0 ? Ir({
|
|
563
563
|
x: h,
|
|
564
564
|
y: w
|
|
565
565
|
}, F(n)) : {
|
|
@@ -573,7 +573,7 @@ function It(e) {
|
|
|
573
573
|
return Object.assign({}, N, (t = {}, t[i] = D ? w + "px" : "", t[C] = T ? h + "px" : "", t.transform = "", t));
|
|
574
574
|
}
|
|
575
575
|
function Nr(e) {
|
|
576
|
-
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r,
|
|
576
|
+
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, s = n.adaptive, c = s === void 0 ? !0 : s, l = n.roundOffsets, a = l === void 0 ? !0 : l, p = {
|
|
577
577
|
placement: ee(t.placement),
|
|
578
578
|
variation: Re(t.placement),
|
|
579
579
|
popper: t.elements.popper,
|
|
@@ -581,12 +581,12 @@ function Nr(e) {
|
|
|
581
581
|
gpuAcceleration: o,
|
|
582
582
|
isFixed: t.options.strategy === "fixed"
|
|
583
583
|
};
|
|
584
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, It(Object.assign({},
|
|
584
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, It(Object.assign({}, p, {
|
|
585
585
|
offsets: t.modifiersData.popperOffsets,
|
|
586
586
|
position: t.options.strategy,
|
|
587
587
|
adaptive: c,
|
|
588
588
|
roundOffsets: a
|
|
589
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, It(Object.assign({},
|
|
589
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, It(Object.assign({}, p, {
|
|
590
590
|
offsets: t.modifiersData.arrow,
|
|
591
591
|
position: "absolute",
|
|
592
592
|
adaptive: !1,
|
|
@@ -606,12 +606,12 @@ var rt = {
|
|
|
606
606
|
passive: !0
|
|
607
607
|
};
|
|
608
608
|
function $r(e) {
|
|
609
|
-
var t = e.state, n = e.instance, r = e.options, o = r.scroll,
|
|
610
|
-
return
|
|
611
|
-
|
|
609
|
+
var t = e.state, n = e.instance, r = e.options, o = r.scroll, s = o === void 0 ? !0 : o, c = r.resize, l = c === void 0 ? !0 : c, a = F(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
610
|
+
return s && p.forEach(function(f) {
|
|
611
|
+
f.addEventListener("scroll", n.update, rt);
|
|
612
612
|
}), l && a.addEventListener("resize", n.update, rt), function() {
|
|
613
|
-
|
|
614
|
-
|
|
613
|
+
s && p.forEach(function(f) {
|
|
614
|
+
f.removeEventListener("scroll", n.update, rt);
|
|
615
615
|
}), l && a.removeEventListener("resize", n.update, rt);
|
|
616
616
|
};
|
|
617
617
|
}
|
|
@@ -655,23 +655,23 @@ function Dt(e) {
|
|
|
655
655
|
return Ce(le(e)).left + At(e).scrollLeft;
|
|
656
656
|
}
|
|
657
657
|
function Br(e, t) {
|
|
658
|
-
var n = F(e), r = le(e), o = n.visualViewport,
|
|
658
|
+
var n = F(e), r = le(e), o = n.visualViewport, s = r.clientWidth, c = r.clientHeight, l = 0, a = 0;
|
|
659
659
|
if (o) {
|
|
660
|
-
|
|
661
|
-
var
|
|
662
|
-
(
|
|
660
|
+
s = o.width, c = o.height;
|
|
661
|
+
var p = pn();
|
|
662
|
+
(p || !p && t === "fixed") && (l = o.offsetLeft, a = o.offsetTop);
|
|
663
663
|
}
|
|
664
664
|
return {
|
|
665
|
-
width:
|
|
665
|
+
width: s,
|
|
666
666
|
height: c,
|
|
667
667
|
x: l + Dt(e),
|
|
668
668
|
y: a
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
671
|
function Ur(e) {
|
|
672
|
-
var t, n = le(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body,
|
|
673
|
-
return se(o || n).direction === "rtl" && (l += ge(n.clientWidth, o ? o.clientWidth : 0) -
|
|
674
|
-
width:
|
|
672
|
+
var t, n = le(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -r.scrollLeft + Dt(e), a = -r.scrollTop;
|
|
673
|
+
return se(o || n).direction === "rtl" && (l += ge(n.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
674
|
+
width: s,
|
|
675
675
|
height: c,
|
|
676
676
|
x: l,
|
|
677
677
|
y: a
|
|
@@ -687,7 +687,7 @@ function gn(e) {
|
|
|
687
687
|
function ke(e, t) {
|
|
688
688
|
var n;
|
|
689
689
|
t === void 0 && (t = []);
|
|
690
|
-
var r = gn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body),
|
|
690
|
+
var r = gn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), s = F(r), c = o ? [s].concat(s.visualViewport || [], St(r) ? r : []) : r, l = t.concat(c);
|
|
691
691
|
return o ? l : (
|
|
692
692
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
693
693
|
l.concat(ke(ct(c)))
|
|
@@ -715,14 +715,14 @@ function Wr(e) {
|
|
|
715
715
|
}) : [];
|
|
716
716
|
}
|
|
717
717
|
function Fr(e, t, n, r) {
|
|
718
|
-
var o = t === "clippingParents" ? Wr(e) : [].concat(t),
|
|
719
|
-
var
|
|
720
|
-
return a.top = ge(
|
|
718
|
+
var o = t === "clippingParents" ? Wr(e) : [].concat(t), s = [].concat(o, [n]), c = s[0], l = s.reduce(function(a, p) {
|
|
719
|
+
var f = Mt(e, p, r);
|
|
720
|
+
return a.top = ge(f.top, a.top), a.right = st(f.right, a.right), a.bottom = st(f.bottom, a.bottom), a.left = ge(f.left, a.left), a;
|
|
721
721
|
}, Mt(e, c, r));
|
|
722
722
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
723
723
|
}
|
|
724
724
|
function yn(e) {
|
|
725
|
-
var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null,
|
|
725
|
+
var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, s = r ? Re(r) : null, c = t.x + t.width / 2 - n.width / 2, l = t.y + t.height / 2 - n.height / 2, a;
|
|
726
726
|
switch (o) {
|
|
727
727
|
case V:
|
|
728
728
|
a = {
|
|
@@ -754,15 +754,15 @@ function yn(e) {
|
|
|
754
754
|
y: t.y
|
|
755
755
|
};
|
|
756
756
|
}
|
|
757
|
-
var
|
|
758
|
-
if (
|
|
759
|
-
var
|
|
760
|
-
switch (
|
|
757
|
+
var p = o ? Tt(o) : null;
|
|
758
|
+
if (p != null) {
|
|
759
|
+
var f = p === "y" ? "height" : "width";
|
|
760
|
+
switch (s) {
|
|
761
761
|
case De:
|
|
762
|
-
a[
|
|
762
|
+
a[p] = a[p] - (t[f] / 2 - n[f] / 2);
|
|
763
763
|
break;
|
|
764
764
|
case Ve:
|
|
765
|
-
a[
|
|
765
|
+
a[p] = a[p] + (t[f] / 2 - n[f] / 2);
|
|
766
766
|
break;
|
|
767
767
|
}
|
|
768
768
|
}
|
|
@@ -770,7 +770,7 @@ function yn(e) {
|
|
|
770
770
|
}
|
|
771
771
|
function Be(e, t) {
|
|
772
772
|
t === void 0 && (t = {});
|
|
773
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r,
|
|
773
|
+
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, c = s === void 0 ? e.strategy : s, l = n.boundary, a = l === void 0 ? fr : l, p = n.rootBoundary, f = p === void 0 ? cn : p, y = n.elementContext, g = y === void 0 ? Me : y, h = n.altBoundary, b = h === void 0 ? !1 : h, w = n.padding, E = w === void 0 ? 0 : w, T = hn(typeof E != "number" ? E : mn(E, We)), D = g === Me ? pr : Me, C = e.rects.popper, i = e.elements[b ? D : g], x = Fr(ye(i) ? i : i.contextElement || le(e.elements.popper), a, f, c), d = Ce(e.elements.reference), S = yn({
|
|
774
774
|
reference: d,
|
|
775
775
|
element: C,
|
|
776
776
|
strategy: "absolute",
|
|
@@ -792,17 +792,17 @@ function Be(e, t) {
|
|
|
792
792
|
}
|
|
793
793
|
function zr(e, t) {
|
|
794
794
|
t === void 0 && (t = {});
|
|
795
|
-
var n = t, r = n.placement, o = n.boundary,
|
|
796
|
-
return Re(b) ===
|
|
795
|
+
var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, c = n.padding, l = n.flipVariations, a = n.allowedAutoPlacements, p = a === void 0 ? ln : a, f = Re(r), y = f ? l ? Pt : Pt.filter(function(b) {
|
|
796
|
+
return Re(b) === f;
|
|
797
797
|
}) : We, g = y.filter(function(b) {
|
|
798
|
-
return
|
|
798
|
+
return p.indexOf(b) >= 0;
|
|
799
799
|
});
|
|
800
800
|
g.length === 0 && (g = y);
|
|
801
801
|
var h = g.reduce(function(b, w) {
|
|
802
802
|
return b[w] = Be(e, {
|
|
803
803
|
placement: w,
|
|
804
804
|
boundary: o,
|
|
805
|
-
rootBoundary:
|
|
805
|
+
rootBoundary: s,
|
|
806
806
|
padding: c
|
|
807
807
|
})[ee(w)], b;
|
|
808
808
|
}, {});
|
|
@@ -819,26 +819,26 @@ function qr(e) {
|
|
|
819
819
|
function Yr(e) {
|
|
820
820
|
var t = e.state, n = e.options, r = e.name;
|
|
821
821
|
if (!t.modifiersData[r]._skip) {
|
|
822
|
-
for (var o = n.mainAxis,
|
|
822
|
+
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !0 : c, a = n.fallbackPlacements, p = n.padding, f = n.boundary, y = n.rootBoundary, g = n.altBoundary, h = n.flipVariations, b = h === void 0 ? !0 : h, w = n.allowedAutoPlacements, E = t.options.placement, T = ee(E), D = T === E, C = a || (D || !b ? [at(E)] : qr(E)), i = [E].concat(C).reduce(function(ne, G) {
|
|
823
823
|
return ne.concat(ee(G) === Et ? zr(t, {
|
|
824
824
|
placement: G,
|
|
825
|
-
boundary:
|
|
825
|
+
boundary: f,
|
|
826
826
|
rootBoundary: y,
|
|
827
|
-
padding:
|
|
827
|
+
padding: p,
|
|
828
828
|
flipVariations: b,
|
|
829
829
|
allowedAutoPlacements: w
|
|
830
830
|
}) : G);
|
|
831
831
|
}, []), x = t.rects.reference, d = t.rects.popper, S = /* @__PURE__ */ new Map(), I = !0, _ = i[0], L = 0; L < i.length; L++) {
|
|
832
832
|
var N = i[L], P = ee(N), R = Re(N) === De, U = [V, Y].indexOf(P) >= 0, H = U ? "width" : "height", $ = Be(t, {
|
|
833
833
|
placement: N,
|
|
834
|
-
boundary:
|
|
834
|
+
boundary: f,
|
|
835
835
|
rootBoundary: y,
|
|
836
836
|
altBoundary: g,
|
|
837
|
-
padding:
|
|
837
|
+
padding: p
|
|
838
838
|
}), k = U ? R ? X : B : R ? Y : V;
|
|
839
839
|
x[H] > d[H] && (k = at(k));
|
|
840
840
|
var M = at(k), K = [];
|
|
841
|
-
if (
|
|
841
|
+
if (s && K.push($[P] <= 0), l && K.push($[k] <= 0, $[M] <= 0), K.every(function(ne) {
|
|
842
842
|
return ne;
|
|
843
843
|
})) {
|
|
844
844
|
_ = N, I = !1;
|
|
@@ -847,7 +847,7 @@ function Yr(e) {
|
|
|
847
847
|
S.set(N, K);
|
|
848
848
|
}
|
|
849
849
|
if (I)
|
|
850
|
-
for (var Z = b ? 3 : 1,
|
|
850
|
+
for (var Z = b ? 3 : 1, fe = function(G) {
|
|
851
851
|
var re = i.find(function(be) {
|
|
852
852
|
var ie = S.get(be);
|
|
853
853
|
if (ie)
|
|
@@ -858,8 +858,8 @@ function Yr(e) {
|
|
|
858
858
|
if (re)
|
|
859
859
|
return _ = re, "break";
|
|
860
860
|
}, Q = Z; Q > 0; Q--) {
|
|
861
|
-
var
|
|
862
|
-
if (
|
|
861
|
+
var pe = fe(Q);
|
|
862
|
+
if (pe === "break")
|
|
863
863
|
break;
|
|
864
864
|
}
|
|
865
865
|
t.placement !== _ && (t.modifiersData[r]._skip = !0, t.placement = _, t.reset = !0);
|
|
@@ -892,18 +892,18 @@ function kt(e) {
|
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
function Gr(e) {
|
|
895
|
-
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper,
|
|
895
|
+
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, c = Be(t, {
|
|
896
896
|
elementContext: "reference"
|
|
897
897
|
}), l = Be(t, {
|
|
898
898
|
altBoundary: !0
|
|
899
|
-
}), a = $t(c, r),
|
|
899
|
+
}), a = $t(c, r), p = $t(l, o, s), f = kt(a), y = kt(p);
|
|
900
900
|
t.modifiersData[n] = {
|
|
901
901
|
referenceClippingOffsets: a,
|
|
902
|
-
popperEscapeOffsets:
|
|
903
|
-
isReferenceHidden:
|
|
902
|
+
popperEscapeOffsets: p,
|
|
903
|
+
isReferenceHidden: f,
|
|
904
904
|
hasPopperEscaped: y
|
|
905
905
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
906
|
-
"data-popper-reference-hidden":
|
|
906
|
+
"data-popper-reference-hidden": f,
|
|
907
907
|
"data-popper-escaped": y
|
|
908
908
|
});
|
|
909
909
|
}
|
|
@@ -915,9 +915,9 @@ const Kr = {
|
|
|
915
915
|
fn: Gr
|
|
916
916
|
};
|
|
917
917
|
function Zr(e, t, n) {
|
|
918
|
-
var r = ee(e), o = [B, V].indexOf(r) >= 0 ? -1 : 1,
|
|
918
|
+
var r = ee(e), o = [B, V].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
|
919
919
|
placement: e
|
|
920
|
-
})) : n, c =
|
|
920
|
+
})) : n, c = s[0], l = s[1];
|
|
921
921
|
return c = c || 0, l = (l || 0) * o, [B, X].indexOf(r) >= 0 ? {
|
|
922
922
|
x: l,
|
|
923
923
|
y: c
|
|
@@ -927,10 +927,10 @@ function Zr(e, t, n) {
|
|
|
927
927
|
};
|
|
928
928
|
}
|
|
929
929
|
function Qr(e) {
|
|
930
|
-
var t = e.state, n = e.options, r = e.name, o = n.offset,
|
|
931
|
-
return
|
|
932
|
-
}, {}), l = c[t.placement], a = l.x,
|
|
933
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y +=
|
|
930
|
+
var t = e.state, n = e.options, r = e.name, o = n.offset, s = o === void 0 ? [0, 0] : o, c = ln.reduce(function(f, y) {
|
|
931
|
+
return f[y] = Zr(y, t.rects, s), f;
|
|
932
|
+
}, {}), l = c[t.placement], a = l.x, p = l.y;
|
|
933
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += p), t.modifiersData[r] = c;
|
|
934
934
|
}
|
|
935
935
|
const Jr = {
|
|
936
936
|
name: "offset",
|
|
@@ -959,11 +959,11 @@ function ni(e) {
|
|
|
959
959
|
return e === "x" ? "y" : "x";
|
|
960
960
|
}
|
|
961
961
|
function ri(e) {
|
|
962
|
-
var t = e.state, n = e.options, r = e.name, o = n.mainAxis,
|
|
962
|
+
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !1 : c, a = n.boundary, p = n.rootBoundary, f = n.altBoundary, y = n.padding, g = n.tether, h = g === void 0 ? !0 : g, b = n.tetherOffset, w = b === void 0 ? 0 : b, E = Be(t, {
|
|
963
963
|
boundary: a,
|
|
964
|
-
rootBoundary:
|
|
964
|
+
rootBoundary: p,
|
|
965
965
|
padding: y,
|
|
966
|
-
altBoundary:
|
|
966
|
+
altBoundary: f
|
|
967
967
|
}), T = ee(t.placement), D = Re(t.placement), C = !D, i = Tt(T), x = ni(i), d = t.modifiersData.popperOffsets, S = t.rects.reference, I = t.rects.popper, _ = typeof w == "function" ? w(Object.assign({}, t.rects, {
|
|
968
968
|
placement: t.placement
|
|
969
969
|
})) : w, L = typeof _ == "number" ? {
|
|
@@ -977,11 +977,11 @@ function ri(e) {
|
|
|
977
977
|
y: 0
|
|
978
978
|
};
|
|
979
979
|
if (d) {
|
|
980
|
-
if (
|
|
981
|
-
var R, U = i === "y" ? V : B, H = i === "y" ? Y : X, $ = i === "y" ? "height" : "width", k = d[i], M = k + E[U], K = k - E[H], Z = h ? -I[$] / 2 : 0,
|
|
980
|
+
if (s) {
|
|
981
|
+
var R, U = i === "y" ? V : B, H = i === "y" ? Y : X, $ = i === "y" ? "height" : "width", k = d[i], M = k + E[U], K = k - E[H], Z = h ? -I[$] / 2 : 0, fe = D === De ? S[$] : I[$], Q = D === De ? -I[$] : -S[$], pe = t.elements.arrow, ne = h && pe ? xt(pe) : {
|
|
982
982
|
width: 0,
|
|
983
983
|
height: 0
|
|
984
|
-
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), re = G[U], be = G[H], ie = $e(0, S[$], ne[$]), we = C ? S[$] / 2 - Z - ie - re - L.mainAxis :
|
|
984
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), re = G[U], be = G[H], ie = $e(0, S[$], ne[$]), we = C ? S[$] / 2 - Z - ie - re - L.mainAxis : fe - ie - re - L.mainAxis, ue = C ? -S[$] / 2 + Z + ie + be + L.mainAxis : Q + ie + be + L.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Le = (R = N == null ? void 0 : N[i]) != null ? R : 0, Ye = k + we - Le - qe, Xe = k + ue - Le, Pe = $e(h ? st(M, Ye) : M, k, h ? ge(K, Xe) : K);
|
|
985
985
|
d[i] = Pe, P[i] = Pe - k;
|
|
986
986
|
}
|
|
987
987
|
if (l) {
|
|
@@ -1013,7 +1013,7 @@ function si(e) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
function ui(e, t, n) {
|
|
1015
1015
|
n === void 0 && (n = !1);
|
|
1016
|
-
var r = q(t), o = q(t) && si(t),
|
|
1016
|
+
var r = q(t), o = q(t) && si(t), s = le(t), c = Ce(e, o, n), l = {
|
|
1017
1017
|
scrollLeft: 0,
|
|
1018
1018
|
scrollTop: 0
|
|
1019
1019
|
}, a = {
|
|
@@ -1021,7 +1021,7 @@ function ui(e, t, n) {
|
|
|
1021
1021
|
y: 0
|
|
1022
1022
|
};
|
|
1023
1023
|
return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1024
|
-
St(
|
|
1024
|
+
St(s)) && (l = ai(t)), q(t) ? (a = Ce(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : s && (a.x = Dt(s))), {
|
|
1025
1025
|
x: c.left + l.scrollLeft - a.x,
|
|
1026
1026
|
y: c.top + l.scrollTop - a.y,
|
|
1027
1027
|
width: c.width,
|
|
@@ -1030,21 +1030,21 @@ function ui(e, t, n) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
function ci(e) {
|
|
1032
1032
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
1033
|
-
e.forEach(function(
|
|
1034
|
-
t.set(
|
|
1033
|
+
e.forEach(function(s) {
|
|
1034
|
+
t.set(s.name, s);
|
|
1035
1035
|
});
|
|
1036
|
-
function o(
|
|
1037
|
-
n.add(
|
|
1038
|
-
var c = [].concat(
|
|
1036
|
+
function o(s) {
|
|
1037
|
+
n.add(s.name);
|
|
1038
|
+
var c = [].concat(s.requires || [], s.requiresIfExists || []);
|
|
1039
1039
|
c.forEach(function(l) {
|
|
1040
1040
|
if (!n.has(l)) {
|
|
1041
1041
|
var a = t.get(l);
|
|
1042
1042
|
a && o(a);
|
|
1043
1043
|
}
|
|
1044
|
-
}), r.push(
|
|
1044
|
+
}), r.push(s);
|
|
1045
1045
|
}
|
|
1046
|
-
return e.forEach(function(
|
|
1047
|
-
n.has(
|
|
1046
|
+
return e.forEach(function(s) {
|
|
1047
|
+
n.has(s.name) || o(s);
|
|
1048
1048
|
}), r;
|
|
1049
1049
|
}
|
|
1050
1050
|
function li(e) {
|
|
@@ -1055,7 +1055,7 @@ function li(e) {
|
|
|
1055
1055
|
}));
|
|
1056
1056
|
}, []);
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function fi(e) {
|
|
1059
1059
|
var t;
|
|
1060
1060
|
return function() {
|
|
1061
1061
|
return t || (t = new Promise(function(n) {
|
|
@@ -1065,7 +1065,7 @@ function pi(e) {
|
|
|
1065
1065
|
})), t;
|
|
1066
1066
|
};
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function pi(e) {
|
|
1069
1069
|
var t = e.reduce(function(n, r) {
|
|
1070
1070
|
var o = n[r.name];
|
|
1071
1071
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -1091,13 +1091,13 @@ function Vt() {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
function di(e) {
|
|
1093
1093
|
e === void 0 && (e = {});
|
|
1094
|
-
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions,
|
|
1095
|
-
return function(l, a,
|
|
1096
|
-
|
|
1097
|
-
var
|
|
1094
|
+
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ? jt : o;
|
|
1095
|
+
return function(l, a, p) {
|
|
1096
|
+
p === void 0 && (p = s);
|
|
1097
|
+
var f = {
|
|
1098
1098
|
placement: "bottom",
|
|
1099
1099
|
orderedModifiers: [],
|
|
1100
|
-
options: Object.assign({}, jt,
|
|
1100
|
+
options: Object.assign({}, jt, s),
|
|
1101
1101
|
modifiersData: {},
|
|
1102
1102
|
elements: {
|
|
1103
1103
|
reference: l,
|
|
@@ -1106,15 +1106,15 @@ function di(e) {
|
|
|
1106
1106
|
attributes: {},
|
|
1107
1107
|
styles: {}
|
|
1108
1108
|
}, y = [], g = !1, h = {
|
|
1109
|
-
state:
|
|
1109
|
+
state: f,
|
|
1110
1110
|
setOptions: function(T) {
|
|
1111
|
-
var D = typeof T == "function" ? T(
|
|
1112
|
-
w(),
|
|
1111
|
+
var D = typeof T == "function" ? T(f.options) : T;
|
|
1112
|
+
w(), f.options = Object.assign({}, s, f.options, D), f.scrollParents = {
|
|
1113
1113
|
reference: ye(l) ? ke(l) : l.contextElement ? ke(l.contextElement) : [],
|
|
1114
1114
|
popper: ke(a)
|
|
1115
1115
|
};
|
|
1116
|
-
var C = li(
|
|
1117
|
-
return
|
|
1116
|
+
var C = li(pi([].concat(r, f.options.modifiers)));
|
|
1117
|
+
return f.orderedModifiers = C.filter(function(i) {
|
|
1118
1118
|
return i.enabled;
|
|
1119
1119
|
}), b(), h.update();
|
|
1120
1120
|
},
|
|
@@ -1125,35 +1125,35 @@ function di(e) {
|
|
|
1125
1125
|
// prefer the async Popper#update method
|
|
1126
1126
|
forceUpdate: function() {
|
|
1127
1127
|
if (!g) {
|
|
1128
|
-
var T =
|
|
1128
|
+
var T = f.elements, D = T.reference, C = T.popper;
|
|
1129
1129
|
if (Vt(D, C)) {
|
|
1130
|
-
|
|
1131
|
-
reference: ui(D, Fe(C),
|
|
1130
|
+
f.rects = {
|
|
1131
|
+
reference: ui(D, Fe(C), f.options.strategy === "fixed"),
|
|
1132
1132
|
popper: xt(C)
|
|
1133
|
-
},
|
|
1134
|
-
return
|
|
1133
|
+
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
|
|
1134
|
+
return f.modifiersData[L.name] = Object.assign({}, L.data);
|
|
1135
1135
|
});
|
|
1136
|
-
for (var i = 0; i <
|
|
1137
|
-
if (
|
|
1138
|
-
|
|
1136
|
+
for (var i = 0; i < f.orderedModifiers.length; i++) {
|
|
1137
|
+
if (f.reset === !0) {
|
|
1138
|
+
f.reset = !1, i = -1;
|
|
1139
1139
|
continue;
|
|
1140
1140
|
}
|
|
1141
|
-
var x =
|
|
1142
|
-
typeof d == "function" && (
|
|
1143
|
-
state:
|
|
1141
|
+
var x = f.orderedModifiers[i], d = x.fn, S = x.options, I = S === void 0 ? {} : S, _ = x.name;
|
|
1142
|
+
typeof d == "function" && (f = d({
|
|
1143
|
+
state: f,
|
|
1144
1144
|
options: I,
|
|
1145
1145
|
name: _,
|
|
1146
1146
|
instance: h
|
|
1147
|
-
}) ||
|
|
1147
|
+
}) || f);
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
1152
|
// Async and optimistically optimized update – it will not be executed if
|
|
1153
1153
|
// not necessary (debounced to run at most once-per-tick)
|
|
1154
|
-
update:
|
|
1154
|
+
update: fi(function() {
|
|
1155
1155
|
return new Promise(function(E) {
|
|
1156
|
-
h.forceUpdate(), E(
|
|
1156
|
+
h.forceUpdate(), E(f);
|
|
1157
1157
|
});
|
|
1158
1158
|
}),
|
|
1159
1159
|
destroy: function() {
|
|
@@ -1162,15 +1162,15 @@ function di(e) {
|
|
|
1162
1162
|
};
|
|
1163
1163
|
if (!Vt(l, a))
|
|
1164
1164
|
return h;
|
|
1165
|
-
h.setOptions(
|
|
1166
|
-
!g &&
|
|
1165
|
+
h.setOptions(p).then(function(E) {
|
|
1166
|
+
!g && p.onFirstUpdate && p.onFirstUpdate(E);
|
|
1167
1167
|
});
|
|
1168
1168
|
function b() {
|
|
1169
|
-
|
|
1169
|
+
f.orderedModifiers.forEach(function(E) {
|
|
1170
1170
|
var T = E.name, D = E.options, C = D === void 0 ? {} : D, i = E.effect;
|
|
1171
1171
|
if (typeof i == "function") {
|
|
1172
1172
|
var x = i({
|
|
1173
|
-
state:
|
|
1173
|
+
state: f,
|
|
1174
1174
|
name: T,
|
|
1175
1175
|
instance: h,
|
|
1176
1176
|
options: C
|
|
@@ -1188,7 +1188,7 @@ function di(e) {
|
|
|
1188
1188
|
return h;
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
|
-
var vi = [kr, ti, Mr,
|
|
1191
|
+
var vi = [kr, ti, Mr, fn, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
|
|
1192
1192
|
defaultModifiers: vi
|
|
1193
1193
|
}), mi = "tippy-box", bn = "tippy-content", gi = "tippy-backdrop", wn = "tippy-arrow", En = "tippy-svg-arrow", me = {
|
|
1194
1194
|
passive: !0,
|
|
@@ -1199,7 +1199,7 @@ var vi = [kr, ti, Mr, pn, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
|
|
|
1199
1199
|
function yi(e, t) {
|
|
1200
1200
|
return {}.hasOwnProperty.call(e, t);
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function pt(e, t, n) {
|
|
1203
1203
|
if (Array.isArray(e)) {
|
|
1204
1204
|
var r = e[t];
|
|
1205
1205
|
return r ?? (Array.isArray(n) ? n[t] : n);
|
|
@@ -1291,10 +1291,10 @@ function Si(e) {
|
|
|
1291
1291
|
function Ci(e, t) {
|
|
1292
1292
|
var n = t.clientX, r = t.clientY;
|
|
1293
1293
|
return e.every(function(o) {
|
|
1294
|
-
var
|
|
1295
|
-
if (!
|
|
1294
|
+
var s = o.popperRect, c = o.popperState, l = o.props, a = l.interactiveBorder, p = Oi(c.placement), f = c.modifiersData.offset;
|
|
1295
|
+
if (!f)
|
|
1296
1296
|
return !0;
|
|
1297
|
-
var y =
|
|
1297
|
+
var y = p === "bottom" ? f.top.y : 0, g = p === "top" ? f.bottom.y : 0, h = p === "right" ? f.left.x : 0, b = p === "left" ? f.right.x : 0, w = s.top - r + y > a, E = r - s.bottom - g > a, T = s.left - n + h > a, D = n - s.right - b > a;
|
|
1298
1298
|
return w || E || T || D;
|
|
1299
1299
|
});
|
|
1300
1300
|
}
|
|
@@ -1458,10 +1458,10 @@ var Dn = {
|
|
|
1458
1458
|
};
|
|
1459
1459
|
function Sn(e) {
|
|
1460
1460
|
var t = e.plugins || [], n = t.reduce(function(r, o) {
|
|
1461
|
-
var
|
|
1462
|
-
if (
|
|
1461
|
+
var s = o.name, c = o.defaultValue;
|
|
1462
|
+
if (s) {
|
|
1463
1463
|
var l;
|
|
1464
|
-
r[
|
|
1464
|
+
r[s] = e[s] !== void 0 ? e[s] : (l = W[s]) != null ? l : c;
|
|
1465
1465
|
}
|
|
1466
1466
|
return r;
|
|
1467
1467
|
}, {});
|
|
@@ -1470,17 +1470,17 @@ function Sn(e) {
|
|
|
1470
1470
|
function Bi(e, t) {
|
|
1471
1471
|
var n = t ? Object.keys(Sn(Object.assign({}, W, {
|
|
1472
1472
|
plugins: t
|
|
1473
|
-
}))) : ji, r = n.reduce(function(o,
|
|
1474
|
-
var c = (e.getAttribute("data-tippy-" +
|
|
1473
|
+
}))) : ji, r = n.reduce(function(o, s) {
|
|
1474
|
+
var c = (e.getAttribute("data-tippy-" + s) || "").trim();
|
|
1475
1475
|
if (!c)
|
|
1476
1476
|
return o;
|
|
1477
|
-
if (
|
|
1478
|
-
o[
|
|
1477
|
+
if (s === "content")
|
|
1478
|
+
o[s] = c;
|
|
1479
1479
|
else
|
|
1480
1480
|
try {
|
|
1481
|
-
o[
|
|
1481
|
+
o[s] = JSON.parse(c);
|
|
1482
1482
|
} catch {
|
|
1483
|
-
o[
|
|
1483
|
+
o[s] = c;
|
|
1484
1484
|
}
|
|
1485
1485
|
return o;
|
|
1486
1486
|
}, {});
|
|
@@ -1499,10 +1499,10 @@ function Cn(e, t) {
|
|
|
1499
1499
|
e === void 0 && (e = {}), t === void 0 && (t = []);
|
|
1500
1500
|
var n = Object.keys(e);
|
|
1501
1501
|
n.forEach(function(r) {
|
|
1502
|
-
var o = bi(W, Object.keys(Dn)),
|
|
1503
|
-
|
|
1502
|
+
var o = bi(W, Object.keys(Dn)), s = !yi(o, r);
|
|
1503
|
+
s && (s = t.filter(function(c) {
|
|
1504
1504
|
return c.name === r;
|
|
1505
|
-
}).length === 0), ae(
|
|
1505
|
+
}).length === 0), ae(s, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
1506
1506
|
|
|
1507
1507
|
`, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
1508
1508
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
@@ -1541,9 +1541,9 @@ function Rn(e) {
|
|
|
1541
1541
|
n.className = mi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
|
|
1542
1542
|
var r = je();
|
|
1543
1543
|
r.className = bn, r.setAttribute("data-state", "hidden"), Gt(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
|
|
1544
|
-
function o(
|
|
1545
|
-
var l = wt(t), a = l.box,
|
|
1546
|
-
c.theme ? a.setAttribute("data-theme", c.theme) : a.removeAttribute("data-theme"), typeof c.animation == "string" ? a.setAttribute("data-animation", c.animation) : a.removeAttribute("data-animation"), c.inertia ? a.setAttribute("data-inertia", "") : a.removeAttribute("data-inertia"), a.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? a.setAttribute("role", c.role) : a.removeAttribute("role"), (
|
|
1544
|
+
function o(s, c) {
|
|
1545
|
+
var l = wt(t), a = l.box, p = l.content, f = l.arrow;
|
|
1546
|
+
c.theme ? a.setAttribute("data-theme", c.theme) : a.removeAttribute("data-theme"), typeof c.animation == "string" ? a.setAttribute("data-animation", c.animation) : a.removeAttribute("data-animation"), c.inertia ? a.setAttribute("data-inertia", "") : a.removeAttribute("data-inertia"), a.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? a.setAttribute("role", c.role) : a.removeAttribute("role"), (s.content !== c.content || s.allowHTML !== c.allowHTML) && Gt(p, e.props), c.arrow ? f ? s.arrow !== c.arrow && (a.removeChild(f), a.appendChild(Xt(c.arrow))) : a.appendChild(Xt(c.arrow)) : f && a.removeChild(f);
|
|
1547
1547
|
}
|
|
1548
1548
|
return {
|
|
1549
1549
|
popper: t,
|
|
@@ -1553,7 +1553,7 @@ function Rn(e) {
|
|
|
1553
1553
|
Rn.$$tippy = !0;
|
|
1554
1554
|
var Hi = 1, it = [], ht = [];
|
|
1555
1555
|
function Wi(e, t) {
|
|
1556
|
-
var n = Yt(e, Object.assign({}, W, Sn(Ht(t)))), r, o,
|
|
1556
|
+
var n = Yt(e, Object.assign({}, W, Sn(Ht(t)))), r, o, s, c = !1, l = !1, a = !1, p = !1, f, y, g, h = [], b = Bt(Ye, n.interactiveDebounce), w, E = Hi++, T = null, D = Ei(n.plugins), C = {
|
|
1557
1557
|
// Is the instance currently enabled?
|
|
1558
1558
|
isEnabled: !0,
|
|
1559
1559
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1589,8 +1589,8 @@ function Wi(e, t) {
|
|
|
1589
1589
|
return process.env.NODE_ENV !== "production" && yt(!0, "render() function has not been supplied."), i;
|
|
1590
1590
|
var x = n.render(i), d = x.popper, S = x.onUpdate;
|
|
1591
1591
|
d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
|
|
1592
|
-
var I = D.map(function(
|
|
1593
|
-
return
|
|
1592
|
+
var I = D.map(function(u) {
|
|
1593
|
+
return u.fn(i);
|
|
1594
1594
|
}), _ = e.hasAttribute("aria-expanded");
|
|
1595
1595
|
return Ee(), Z(), k(), M("onCreate", [i]), n.showOnCreate && Ie(), d.addEventListener("mouseenter", function() {
|
|
1596
1596
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
@@ -1598,44 +1598,44 @@ function Wi(e, t) {
|
|
|
1598
1598
|
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", b);
|
|
1599
1599
|
}), i;
|
|
1600
1600
|
function L() {
|
|
1601
|
-
var
|
|
1602
|
-
return Array.isArray(
|
|
1601
|
+
var u = i.props.touch;
|
|
1602
|
+
return Array.isArray(u) ? u : [u, 0];
|
|
1603
1603
|
}
|
|
1604
1604
|
function N() {
|
|
1605
1605
|
return L()[0] === "hold";
|
|
1606
1606
|
}
|
|
1607
1607
|
function P() {
|
|
1608
|
-
var
|
|
1609
|
-
return !!((
|
|
1608
|
+
var u;
|
|
1609
|
+
return !!((u = i.props.render) != null && u.$$tippy);
|
|
1610
1610
|
}
|
|
1611
1611
|
function R() {
|
|
1612
1612
|
return w || e;
|
|
1613
1613
|
}
|
|
1614
1614
|
function U() {
|
|
1615
|
-
var
|
|
1616
|
-
return
|
|
1615
|
+
var u = R().parentNode;
|
|
1616
|
+
return u ? Si(u) : document;
|
|
1617
1617
|
}
|
|
1618
1618
|
function H() {
|
|
1619
1619
|
return wt(d);
|
|
1620
1620
|
}
|
|
1621
|
-
function $(
|
|
1622
|
-
return i.state.isMounted && !i.state.isVisible || J.isTouch ||
|
|
1621
|
+
function $(u) {
|
|
1622
|
+
return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, u ? 0 : 1, W.delay);
|
|
1623
1623
|
}
|
|
1624
|
-
function k(
|
|
1625
|
-
|
|
1624
|
+
function k(u) {
|
|
1625
|
+
u === void 0 && (u = !1), d.style.pointerEvents = i.props.interactive && !u ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
|
|
1626
1626
|
}
|
|
1627
|
-
function M(
|
|
1627
|
+
function M(u, v, m) {
|
|
1628
1628
|
if (m === void 0 && (m = !0), I.forEach(function(O) {
|
|
1629
|
-
O[
|
|
1629
|
+
O[u] && O[u].apply(O, v);
|
|
1630
1630
|
}), m) {
|
|
1631
1631
|
var A;
|
|
1632
|
-
(A = i.props)[
|
|
1632
|
+
(A = i.props)[u].apply(A, v);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
function K() {
|
|
1636
|
-
var
|
|
1637
|
-
if (
|
|
1638
|
-
var v = "aria-" +
|
|
1636
|
+
var u = i.props.aria;
|
|
1637
|
+
if (u.content) {
|
|
1638
|
+
var v = "aria-" + u.content, m = d.id, A = Ae(i.props.triggerTarget || e);
|
|
1639
1639
|
A.forEach(function(O) {
|
|
1640
1640
|
var j = O.getAttribute(v);
|
|
1641
1641
|
if (i.state.isVisible)
|
|
@@ -1649,20 +1649,20 @@ function Wi(e, t) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
function Z() {
|
|
1651
1651
|
if (!(_ || !i.props.aria.expanded)) {
|
|
1652
|
-
var
|
|
1653
|
-
|
|
1652
|
+
var u = Ae(i.props.triggerTarget || e);
|
|
1653
|
+
u.forEach(function(v) {
|
|
1654
1654
|
i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === R() ? "true" : "false") : v.removeAttribute("aria-expanded");
|
|
1655
1655
|
});
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1659
|
-
U().removeEventListener("mousemove", b), it = it.filter(function(
|
|
1660
|
-
return
|
|
1658
|
+
function fe() {
|
|
1659
|
+
U().removeEventListener("mousemove", b), it = it.filter(function(u) {
|
|
1660
|
+
return u !== b;
|
|
1661
1661
|
});
|
|
1662
1662
|
}
|
|
1663
|
-
function Q(
|
|
1664
|
-
if (!(J.isTouch && (a ||
|
|
1665
|
-
var v =
|
|
1663
|
+
function Q(u) {
|
|
1664
|
+
if (!(J.isTouch && (a || u.type === "mousedown"))) {
|
|
1665
|
+
var v = u.composedPath && u.composedPath()[0] || u.target;
|
|
1666
1666
|
if (!(i.props.interactive && Ft(d, v))) {
|
|
1667
1667
|
if (Ae(i.props.triggerTarget || e).some(function(m) {
|
|
1668
1668
|
return Ft(m, v);
|
|
@@ -1670,51 +1670,51 @@ function Wi(e, t) {
|
|
|
1670
1670
|
if (J.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
|
|
1671
1671
|
return;
|
|
1672
1672
|
} else
|
|
1673
|
-
M("onClickOutside", [i,
|
|
1673
|
+
M("onClickOutside", [i, u]);
|
|
1674
1674
|
i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), l = !0, setTimeout(function() {
|
|
1675
1675
|
l = !1;
|
|
1676
1676
|
}), i.state.isMounted || re());
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function pe() {
|
|
1681
1681
|
a = !0;
|
|
1682
1682
|
}
|
|
1683
1683
|
function ne() {
|
|
1684
1684
|
a = !1;
|
|
1685
1685
|
}
|
|
1686
1686
|
function G() {
|
|
1687
|
-
var
|
|
1688
|
-
|
|
1687
|
+
var u = U();
|
|
1688
|
+
u.addEventListener("mousedown", Q, !0), u.addEventListener("touchend", Q, me), u.addEventListener("touchstart", ne, me), u.addEventListener("touchmove", pe, me);
|
|
1689
1689
|
}
|
|
1690
1690
|
function re() {
|
|
1691
|
-
var
|
|
1692
|
-
|
|
1691
|
+
var u = U();
|
|
1692
|
+
u.removeEventListener("mousedown", Q, !0), u.removeEventListener("touchend", Q, me), u.removeEventListener("touchstart", ne, me), u.removeEventListener("touchmove", pe, me);
|
|
1693
1693
|
}
|
|
1694
|
-
function be(
|
|
1695
|
-
we(
|
|
1694
|
+
function be(u, v) {
|
|
1695
|
+
we(u, function() {
|
|
1696
1696
|
!i.state.isVisible && d.parentNode && d.parentNode.contains(d) && v();
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
1699
|
-
function ie(
|
|
1700
|
-
we(
|
|
1699
|
+
function ie(u, v) {
|
|
1700
|
+
we(u, v);
|
|
1701
1701
|
}
|
|
1702
|
-
function we(
|
|
1702
|
+
function we(u, v) {
|
|
1703
1703
|
var m = H().box;
|
|
1704
1704
|
function A(O) {
|
|
1705
1705
|
O.target === m && (vt(m, "remove", A), v());
|
|
1706
1706
|
}
|
|
1707
|
-
if (
|
|
1707
|
+
if (u === 0)
|
|
1708
1708
|
return v();
|
|
1709
1709
|
vt(m, "remove", y), vt(m, "add", A), y = A;
|
|
1710
1710
|
}
|
|
1711
|
-
function ue(
|
|
1711
|
+
function ue(u, v, m) {
|
|
1712
1712
|
m === void 0 && (m = !1);
|
|
1713
1713
|
var A = Ae(i.props.triggerTarget || e);
|
|
1714
1714
|
A.forEach(function(O) {
|
|
1715
|
-
O.addEventListener(
|
|
1715
|
+
O.addEventListener(u, v, m), h.push({
|
|
1716
1716
|
node: O,
|
|
1717
|
-
eventType:
|
|
1717
|
+
eventType: u,
|
|
1718
1718
|
handler: v,
|
|
1719
1719
|
options: m
|
|
1720
1720
|
});
|
|
@@ -1725,9 +1725,9 @@ function Wi(e, t) {
|
|
|
1725
1725
|
passive: !0
|
|
1726
1726
|
}), ue("touchend", Xe, {
|
|
1727
1727
|
passive: !0
|
|
1728
|
-
})), wi(i.props.trigger).forEach(function(
|
|
1729
|
-
if (
|
|
1730
|
-
switch (ue(
|
|
1728
|
+
})), wi(i.props.trigger).forEach(function(u) {
|
|
1729
|
+
if (u !== "manual")
|
|
1730
|
+
switch (ue(u, Le), u) {
|
|
1731
1731
|
case "mouseenter":
|
|
1732
1732
|
ue("mouseleave", Xe);
|
|
1733
1733
|
break;
|
|
@@ -1741,23 +1741,23 @@ function Wi(e, t) {
|
|
|
1741
1741
|
});
|
|
1742
1742
|
}
|
|
1743
1743
|
function qe() {
|
|
1744
|
-
h.forEach(function(
|
|
1745
|
-
var v =
|
|
1744
|
+
h.forEach(function(u) {
|
|
1745
|
+
var v = u.node, m = u.eventType, A = u.handler, O = u.options;
|
|
1746
1746
|
v.removeEventListener(m, A, O);
|
|
1747
1747
|
}), h = [];
|
|
1748
1748
|
}
|
|
1749
|
-
function Le(
|
|
1749
|
+
function Le(u) {
|
|
1750
1750
|
var v, m = !1;
|
|
1751
|
-
if (!(!i.state.isEnabled || _e(
|
|
1752
|
-
var A = ((v =
|
|
1753
|
-
|
|
1754
|
-
return O(
|
|
1755
|
-
}),
|
|
1751
|
+
if (!(!i.state.isEnabled || _e(u) || l)) {
|
|
1752
|
+
var A = ((v = f) == null ? void 0 : v.type) === "focus";
|
|
1753
|
+
f = u, w = u.currentTarget, Z(), !i.state.isVisible && Ti(u) && it.forEach(function(O) {
|
|
1754
|
+
return O(u);
|
|
1755
|
+
}), u.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? m = !0 : Ie(u), u.type === "click" && (c = !m), m && !A && de(u);
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
|
-
function Ye(
|
|
1759
|
-
var v =
|
|
1760
|
-
if (!(
|
|
1758
|
+
function Ye(u) {
|
|
1759
|
+
var v = u.target, m = R().contains(v) || d.contains(v);
|
|
1760
|
+
if (!(u.type === "mousemove" && m)) {
|
|
1761
1761
|
var A = ce().concat(d).map(function(O) {
|
|
1762
1762
|
var j, z = O._tippy, Oe = (j = z.popperInstance) == null ? void 0 : j.state;
|
|
1763
1763
|
return Oe ? {
|
|
@@ -1766,28 +1766,28 @@ function Wi(e, t) {
|
|
|
1766
1766
|
props: n
|
|
1767
1767
|
} : null;
|
|
1768
1768
|
}).filter(Boolean);
|
|
1769
|
-
Ci(A,
|
|
1769
|
+
Ci(A, u) && (fe(), de(u));
|
|
1770
1770
|
}
|
|
1771
1771
|
}
|
|
1772
|
-
function Xe(
|
|
1773
|
-
var v = _e(
|
|
1772
|
+
function Xe(u) {
|
|
1773
|
+
var v = _e(u) || i.props.trigger.indexOf("click") >= 0 && c;
|
|
1774
1774
|
if (!v) {
|
|
1775
1775
|
if (i.props.interactive) {
|
|
1776
|
-
i.hideWithInteractivity(
|
|
1776
|
+
i.hideWithInteractivity(u);
|
|
1777
1777
|
return;
|
|
1778
1778
|
}
|
|
1779
|
-
de(
|
|
1779
|
+
de(u);
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
|
-
function Pe(
|
|
1783
|
-
i.props.trigger.indexOf("focusin") < 0 &&
|
|
1782
|
+
function Pe(u) {
|
|
1783
|
+
i.props.trigger.indexOf("focusin") < 0 && u.target !== R() || i.props.interactive && u.relatedTarget && d.contains(u.relatedTarget) || de(u);
|
|
1784
1784
|
}
|
|
1785
|
-
function _e(
|
|
1786
|
-
return J.isTouch ? N() !==
|
|
1785
|
+
function _e(u) {
|
|
1786
|
+
return J.isTouch ? N() !== u.type.indexOf("touch") >= 0 : !1;
|
|
1787
1787
|
}
|
|
1788
1788
|
function Ge() {
|
|
1789
1789
|
Ke();
|
|
1790
|
-
var
|
|
1790
|
+
var u = i.props, v = u.popperOptions, m = u.placement, A = u.offset, O = u.getReferenceClientRect, j = u.moveTransition, z = P() ? wt(d).arrow : null, Oe = O ? {
|
|
1791
1791
|
getBoundingClientRect: O,
|
|
1792
1792
|
contextElement: O.contextElement || R()
|
|
1793
1793
|
} : e, Rt = {
|
|
@@ -1798,9 +1798,9 @@ function Wi(e, t) {
|
|
|
1798
1798
|
fn: function(tt) {
|
|
1799
1799
|
var xe = tt.state;
|
|
1800
1800
|
if (P()) {
|
|
1801
|
-
var Mn = H(),
|
|
1801
|
+
var Mn = H(), ft = Mn.box;
|
|
1802
1802
|
["placement", "reference-hidden", "escaped"].forEach(function(nt) {
|
|
1803
|
-
nt === "placement" ?
|
|
1803
|
+
nt === "placement" ? ft.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
|
|
1804
1804
|
}), xe.attributes.popper = {};
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
@@ -1846,8 +1846,8 @@ function Wi(e, t) {
|
|
|
1846
1846
|
i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
|
|
1847
1847
|
}
|
|
1848
1848
|
function oe() {
|
|
1849
|
-
var
|
|
1850
|
-
i.props.interactive &&
|
|
1849
|
+
var u = i.props.appendTo, v, m = R();
|
|
1850
|
+
i.props.interactive && u === On || u === "parent" ? v = m.parentNode : v = xn(u, [m]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ge(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && u === W.appendTo && m.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
1851
1851
|
|
|
1852
1852
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
1853
1853
|
|
|
@@ -1858,23 +1858,23 @@ function Wi(e, t) {
|
|
|
1858
1858
|
function ce() {
|
|
1859
1859
|
return ut(d.querySelectorAll("[data-tippy-root]"));
|
|
1860
1860
|
}
|
|
1861
|
-
function Ie(
|
|
1862
|
-
i.clearDelayTimeouts(),
|
|
1861
|
+
function Ie(u) {
|
|
1862
|
+
i.clearDelayTimeouts(), u && M("onTrigger", [i, u]), G();
|
|
1863
1863
|
var v = $(!0), m = L(), A = m[0], O = m[1];
|
|
1864
1864
|
J.isTouch && A === "hold" && O && (v = O), v ? r = setTimeout(function() {
|
|
1865
1865
|
i.show();
|
|
1866
1866
|
}, v) : i.show();
|
|
1867
1867
|
}
|
|
1868
|
-
function de(
|
|
1869
|
-
if (i.clearDelayTimeouts(), M("onUntrigger", [i,
|
|
1868
|
+
function de(u) {
|
|
1869
|
+
if (i.clearDelayTimeouts(), M("onUntrigger", [i, u]), !i.state.isVisible) {
|
|
1870
1870
|
re();
|
|
1871
1871
|
return;
|
|
1872
1872
|
}
|
|
1873
|
-
if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(
|
|
1873
|
+
if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(u.type) >= 0 && c)) {
|
|
1874
1874
|
var v = $(!1);
|
|
1875
1875
|
v ? o = setTimeout(function() {
|
|
1876
1876
|
i.state.isVisible && i.hide();
|
|
1877
|
-
}, v) :
|
|
1877
|
+
}, v) : s = requestAnimationFrame(function() {
|
|
1878
1878
|
i.hide();
|
|
1879
1879
|
});
|
|
1880
1880
|
}
|
|
@@ -1886,38 +1886,38 @@ function Wi(e, t) {
|
|
|
1886
1886
|
i.hide(), i.state.isEnabled = !1;
|
|
1887
1887
|
}
|
|
1888
1888
|
function Qe() {
|
|
1889
|
-
clearTimeout(r), clearTimeout(o), cancelAnimationFrame(
|
|
1889
|
+
clearTimeout(r), clearTimeout(o), cancelAnimationFrame(s);
|
|
1890
1890
|
}
|
|
1891
|
-
function Je(
|
|
1891
|
+
function Je(u) {
|
|
1892
1892
|
if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
|
|
1893
|
-
M("onBeforeUpdate", [i,
|
|
1894
|
-
var v = i.props, m = Yt(e, Object.assign({}, v, Ht(
|
|
1893
|
+
M("onBeforeUpdate", [i, u]), qe();
|
|
1894
|
+
var v = i.props, m = Yt(e, Object.assign({}, v, Ht(u), {
|
|
1895
1895
|
ignoreAttributes: !0
|
|
1896
1896
|
}));
|
|
1897
|
-
i.props = m, Ee(), v.interactiveDebounce !== m.interactiveDebounce && (
|
|
1897
|
+
i.props = m, Ee(), v.interactiveDebounce !== m.interactiveDebounce && (fe(), b = Bt(Ye, m.interactiveDebounce)), v.triggerTarget && !m.triggerTarget ? Ae(v.triggerTarget).forEach(function(A) {
|
|
1898
1898
|
A.removeAttribute("aria-expanded");
|
|
1899
1899
|
}) : m.triggerTarget && e.removeAttribute("aria-expanded"), Z(), k(), S && S(v, m), i.popperInstance && (Ge(), ce().forEach(function(A) {
|
|
1900
1900
|
requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
|
|
1901
|
-
})), M("onAfterUpdate", [i,
|
|
1901
|
+
})), M("onAfterUpdate", [i, u]);
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
|
-
function et(
|
|
1904
|
+
function et(u) {
|
|
1905
1905
|
i.setProps({
|
|
1906
|
-
content:
|
|
1906
|
+
content: u
|
|
1907
1907
|
});
|
|
1908
1908
|
}
|
|
1909
1909
|
function Ln() {
|
|
1910
1910
|
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("show"));
|
|
1911
|
-
var
|
|
1912
|
-
if (!(
|
|
1911
|
+
var u = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = J.isTouch && !i.props.touch, O = pt(i.props.duration, 0, W.duration);
|
|
1912
|
+
if (!(u || v || m || A) && !R().hasAttribute("disabled") && (M("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1913
1913
|
if (i.state.isVisible = !0, P() && (d.style.visibility = "visible"), k(), G(), i.state.isMounted || (d.style.transition = "none"), P()) {
|
|
1914
1914
|
var j = H(), z = j.box, Oe = j.content;
|
|
1915
1915
|
dt([z, Oe], 0);
|
|
1916
1916
|
}
|
|
1917
1917
|
g = function() {
|
|
1918
1918
|
var ve;
|
|
1919
|
-
if (!(!i.state.isVisible ||
|
|
1920
|
-
if (
|
|
1919
|
+
if (!(!i.state.isVisible || p)) {
|
|
1920
|
+
if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, P() && i.props.animation) {
|
|
1921
1921
|
var lt = H(), tt = lt.box, xe = lt.content;
|
|
1922
1922
|
dt([tt, xe], O), Wt([tt, xe], "visible");
|
|
1923
1923
|
}
|
|
@@ -1930,23 +1930,23 @@ function Wi(e, t) {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
function Pn() {
|
|
1932
1932
|
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hide"));
|
|
1933
|
-
var
|
|
1934
|
-
if (!(
|
|
1935
|
-
if (i.state.isVisible = !1, i.state.isShown = !1,
|
|
1933
|
+
var u = !i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = pt(i.props.duration, 1, W.duration);
|
|
1934
|
+
if (!(u || v || m) && (M("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
1935
|
+
if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, c = !1, P() && (d.style.visibility = "hidden"), fe(), re(), k(!0), P()) {
|
|
1936
1936
|
var O = H(), j = O.box, z = O.content;
|
|
1937
1937
|
i.props.animation && (dt([j, z], A), Wt([j, z], "hidden"));
|
|
1938
1938
|
}
|
|
1939
1939
|
K(), Z(), i.props.animation ? P() && be(A, i.unmount) : i.unmount();
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
|
-
function _n(
|
|
1943
|
-
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), U().addEventListener("mousemove", b), Ut(it, b), b(
|
|
1942
|
+
function _n(u) {
|
|
1943
|
+
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), U().addEventListener("mousemove", b), Ut(it, b), b(u);
|
|
1944
1944
|
}
|
|
1945
1945
|
function In() {
|
|
1946
|
-
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(
|
|
1947
|
-
|
|
1948
|
-
}), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(
|
|
1949
|
-
return
|
|
1946
|
+
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(u) {
|
|
1947
|
+
u._tippy.unmount();
|
|
1948
|
+
}), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(u) {
|
|
1949
|
+
return u !== i;
|
|
1950
1950
|
}), i.state.isMounted = !1, M("onHidden", [i]));
|
|
1951
1951
|
}
|
|
1952
1952
|
function Nn() {
|
|
@@ -1961,24 +1961,24 @@ function ze(e, t) {
|
|
|
1961
1961
|
plugins: n
|
|
1962
1962
|
}), o = Di(e);
|
|
1963
1963
|
if (process.env.NODE_ENV !== "production") {
|
|
1964
|
-
var
|
|
1965
|
-
ae(
|
|
1964
|
+
var s = Ue(r.content), c = o.length > 1;
|
|
1965
|
+
ae(s && c, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
1966
1966
|
|
|
1967
1967
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
1968
1968
|
|
|
1969
1969
|
`, `1) content: element.innerHTML
|
|
1970
1970
|
`, "2) content: () => element.cloneNode(true)"].join(" "));
|
|
1971
1971
|
}
|
|
1972
|
-
var l = o.reduce(function(a,
|
|
1973
|
-
var
|
|
1974
|
-
return
|
|
1972
|
+
var l = o.reduce(function(a, p) {
|
|
1973
|
+
var f = p && Wi(p, r);
|
|
1974
|
+
return f && a.push(f), a;
|
|
1975
1975
|
}, []);
|
|
1976
1976
|
return Ue(e) ? l[0] : l;
|
|
1977
1977
|
}
|
|
1978
1978
|
ze.defaultProps = W;
|
|
1979
1979
|
ze.setDefaultProps = Vi;
|
|
1980
1980
|
ze.currentInput = J;
|
|
1981
|
-
Object.assign({},
|
|
1981
|
+
Object.assign({}, fn, {
|
|
1982
1982
|
effect: function(t) {
|
|
1983
1983
|
var n = t.state, r = {
|
|
1984
1984
|
popper: {
|
|
@@ -2003,13 +2003,13 @@ var Fi = {
|
|
|
2003
2003
|
function o() {
|
|
2004
2004
|
return t.popperInstance ? t.popperInstance.state.elements.reference : n;
|
|
2005
2005
|
}
|
|
2006
|
-
function
|
|
2007
|
-
return t.props.sticky === !0 || t.props.sticky ===
|
|
2006
|
+
function s(p) {
|
|
2007
|
+
return t.props.sticky === !0 || t.props.sticky === p;
|
|
2008
2008
|
}
|
|
2009
2009
|
var c = null, l = null;
|
|
2010
2010
|
function a() {
|
|
2011
|
-
var
|
|
2012
|
-
(
|
|
2011
|
+
var p = s("reference") ? o().getBoundingClientRect() : null, f = s("popper") ? r.getBoundingClientRect() : null;
|
|
2012
|
+
(p && Kt(c, p) || f && Kt(l, f)) && t.popperInstance && t.popperInstance.update(), c = p, l = f, t.state.isMounted && requestAnimationFrame(a);
|
|
2013
2013
|
}
|
|
2014
2014
|
return {
|
|
2015
2015
|
onMount: function() {
|
|
@@ -2079,8 +2079,8 @@ const zi = (e) => ({
|
|
|
2079
2079
|
tether: o
|
|
2080
2080
|
}
|
|
2081
2081
|
},
|
|
2082
|
-
zi(({ state:
|
|
2083
|
-
n(
|
|
2082
|
+
zi(({ state: s }) => {
|
|
2083
|
+
n(s.placement);
|
|
2084
2084
|
})
|
|
2085
2085
|
]
|
|
2086
2086
|
}), Ki = (e) => {
|
|
@@ -2298,13 +2298,17 @@ const zi = (e) => ({
|
|
|
2298
2298
|
// to display and it uses a fallback placement.
|
|
2299
2299
|
currentPlacement: this.placement,
|
|
2300
2300
|
// reference to the anchor element
|
|
2301
|
-
anchor: null
|
|
2301
|
+
anchor: null,
|
|
2302
|
+
// flag check touch based device
|
|
2303
|
+
isTouchDevice: !1
|
|
2302
2304
|
};
|
|
2303
2305
|
},
|
|
2304
2306
|
computed: {
|
|
2305
2307
|
// whether the tooltip is visible or not.
|
|
2306
2308
|
isVisible() {
|
|
2307
|
-
|
|
2309
|
+
var o, s;
|
|
2310
|
+
const e = !!((o = this.message) != null && o.trim()), t = !!((s = this.$slots) != null && s.default), n = !this.isTouchDevice;
|
|
2311
|
+
return this.isShown && this.enabled && (e || t) && n;
|
|
2308
2312
|
},
|
|
2309
2313
|
tooltipListeners() {
|
|
2310
2314
|
return {
|
|
@@ -2317,16 +2321,14 @@ const zi = (e) => ({
|
|
|
2317
2321
|
}
|
|
2318
2322
|
};
|
|
2319
2323
|
},
|
|
2320
|
-
appendToElement() {
|
|
2321
|
-
var e, t;
|
|
2322
|
-
return this.appendTo === "body" ? (t = (e = this.anchor) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo;
|
|
2323
|
-
},
|
|
2324
2324
|
tippyProps() {
|
|
2325
|
+
var t, n;
|
|
2326
|
+
const e = this.appendTo === "body" ? (n = (t = this.anchor) == null ? void 0 : t.getRootNode()) == null ? void 0 : n.querySelector("body") : this.appendTo;
|
|
2325
2327
|
return {
|
|
2326
2328
|
offset: this.offset,
|
|
2327
2329
|
interactive: !1,
|
|
2328
2330
|
trigger: "manual",
|
|
2329
|
-
appendTo:
|
|
2331
|
+
appendTo: e,
|
|
2330
2332
|
placement: this.placement,
|
|
2331
2333
|
sticky: this.sticky,
|
|
2332
2334
|
popperOptions: Gi({
|
|
@@ -2349,10 +2351,12 @@ const zi = (e) => ({
|
|
|
2349
2351
|
immediate: !0
|
|
2350
2352
|
},
|
|
2351
2353
|
isShown(e) {
|
|
2352
|
-
|
|
2354
|
+
var t, n;
|
|
2355
|
+
e ? (this.setProps(), (t = this.tip) == null || t.show()) : (n = this.tip) == null || n.hide();
|
|
2353
2356
|
},
|
|
2354
2357
|
sticky(e) {
|
|
2355
|
-
|
|
2358
|
+
var t;
|
|
2359
|
+
(t = this.tip) == null || t.setProps({
|
|
2356
2360
|
sticky: e
|
|
2357
2361
|
});
|
|
2358
2362
|
}
|
|
@@ -2375,9 +2379,9 @@ const zi = (e) => ({
|
|
|
2375
2379
|
return this.anchor.matches(":focus-visible");
|
|
2376
2380
|
},
|
|
2377
2381
|
onEnterAnchor(e) {
|
|
2378
|
-
this.delay ? this.inTimer = setTimeout((function(t) {
|
|
2382
|
+
this.isTouchDevice && !e.relatedTarget || (this.delay ? this.inTimer = setTimeout((function(t) {
|
|
2379
2383
|
this.triggerShow(t);
|
|
2380
|
-
}).bind(this, e), to) : this.triggerShow(e);
|
|
2384
|
+
}).bind(this, e), to) : this.triggerShow(e), this.isTouchDevice = !1);
|
|
2381
2385
|
},
|
|
2382
2386
|
triggerShow(e) {
|
|
2383
2387
|
e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
|
|
@@ -2433,6 +2437,9 @@ const zi = (e) => ({
|
|
|
2433
2437
|
}), ["focusout", "mouseleave", "keydown"].forEach((e) => {
|
|
2434
2438
|
this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
|
|
2435
2439
|
});
|
|
2440
|
+
},
|
|
2441
|
+
onTouchStart() {
|
|
2442
|
+
this.isTouchDevice = !0;
|
|
2436
2443
|
}
|
|
2437
2444
|
}
|
|
2438
2445
|
};
|
|
@@ -2440,7 +2447,7 @@ var oo = function() {
|
|
|
2440
2447
|
var t = this, n = t._self._c;
|
|
2441
2448
|
return n("div", { attrs: { "data-qa": "dt-tooltip-container" } }, [t.externalAnchor ? t._e() : n("span", { ref: "anchor", attrs: { "data-qa": "dt-tooltip-anchor" }, on: { focusin: t.onEnterAnchor, focusout: t.onLeaveAnchor, mouseenter: t.onEnterAnchor, mouseleave: t.onLeaveAnchor, keydown: function(r) {
|
|
2442
2449
|
return !r.type.indexOf("key") && t._k(r.keyCode, "esc", 27, r.key, ["Esc", "Escape"]) ? null : t.onLeaveAnchor.apply(null, arguments);
|
|
2443
|
-
} } }, [t._t("anchor")], 2), n("dt-lazy-show", t._g({ ref: "content", class: [
|
|
2450
|
+
}, touchstart: t.onTouchStart } }, [t._t("anchor")], 2), n("dt-lazy-show", t._g({ ref: "content", class: [
|
|
2444
2451
|
"d-tooltip",
|
|
2445
2452
|
`d-tooltip__arrow-tippy--${t.currentPlacement}`,
|
|
2446
2453
|
{
|
|
@@ -2464,8 +2471,8 @@ const mo = so.exports;
|
|
|
2464
2471
|
export {
|
|
2465
2472
|
qi as B,
|
|
2466
2473
|
mo as D,
|
|
2467
|
-
|
|
2468
|
-
|
|
2474
|
+
po as E,
|
|
2475
|
+
fo as L,
|
|
2469
2476
|
Ji as T,
|
|
2470
2477
|
he as V,
|
|
2471
2478
|
Un as a,
|