turmag-vue-components 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +53 -2
- package/dist/turmag-vue-components.es.js +127 -126
- package/dist/turmag-vue-components.umd.js +1 -1
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ const ra = /* @__PURE__ */ fe({
|
|
|
61
61
|
_: 3
|
|
62
62
|
}, 8, ["class"]));
|
|
63
63
|
}
|
|
64
|
-
}), oa = "_container_1wwsm_1", pa = "_hfull_1wwsm_17", sa = "_wfull_1wwsm_21", da = "_r0_1wwsm_201", ga = "_r2_1wwsm_229", _a = "_r4_1wwsm_257", la = "_r6_1wwsm_285", wa = "_r8_1wwsm_313", ca = "_r10_1wwsm_341", ua = "_r12_1wwsm_369", ma = "_r14_1wwsm_397", fa = "_r16_1wwsm_425", va = "_r18_1wwsm_453", ba = "_r20_1wwsm_481", ha = "_r22_1wwsm_509", ya = "_r24_1wwsm_537", ka = "_r26_1wwsm_565", Oa = "_r28_1wwsm_593", xa = "_r30_1wwsm_621", Ca = "_r32_1wwsm_649", Ta = "_r34_1wwsm_677", $a = "_r36_1wwsm_705", Ea = "_r38_1wwsm_733", Pa = "_r40_1wwsm_761", Aa = "_r42_1wwsm_789", Da = "_r44_1wwsm_817",
|
|
64
|
+
}), oa = "_container_1wwsm_1", pa = "_hfull_1wwsm_17", sa = "_wfull_1wwsm_21", da = "_r0_1wwsm_201", ga = "_r2_1wwsm_229", _a = "_r4_1wwsm_257", la = "_r6_1wwsm_285", wa = "_r8_1wwsm_313", ca = "_r10_1wwsm_341", ua = "_r12_1wwsm_369", ma = "_r14_1wwsm_397", fa = "_r16_1wwsm_425", va = "_r18_1wwsm_453", ba = "_r20_1wwsm_481", ha = "_r22_1wwsm_509", ya = "_r24_1wwsm_537", ka = "_r26_1wwsm_565", Oa = "_r28_1wwsm_593", xa = "_r30_1wwsm_621", Ca = "_r32_1wwsm_649", Ta = "_r34_1wwsm_677", $a = "_r36_1wwsm_705", Ea = "_r38_1wwsm_733", Pa = "_r40_1wwsm_761", Aa = "_r42_1wwsm_789", Da = "_r44_1wwsm_817", Sa = "_r46_1wwsm_845", Ma = "_r48_1wwsm_873", ja = "_r50_1wwsm_901", Ba = "_r52_1wwsm_929", Ra = "_r54_1wwsm_957", La = "_r56_1wwsm_985", Ia = "_r58_1wwsm_1013", Ua = "_r60_1wwsm_1041", Ha = "_r62_1wwsm_1069", Va = "_r64_1wwsm_1097", qa = "_r66_1wwsm_1125", Na = "_r68_1wwsm_1153", Wa = "_r70_1wwsm_1181", Fa = "_r72_1wwsm_1209", za = "_r74_1wwsm_1237", Xa = "_r76_1wwsm_1265", Ya = "_r78_1wwsm_1293", Ga = "_r80_1wwsm_1321", Ka = "_r82_1wwsm_1349", Ja = "_r84_1wwsm_1377", Qa = "_r86_1wwsm_1405", Za = "_r88_1wwsm_1433", ei = "_r90_1wwsm_1461", ni = "_r92_1wwsm_1489", ti = "_r94_1wwsm_1517", ai = "_r96_1wwsm_1545", ii = "_r98_1wwsm_1573", ri = "_r100_1wwsm_1601", oi = "_r102_1wwsm_1629", pi = "_r104_1wwsm_1657", si = "_r106_1wwsm_1685", di = "_r108_1wwsm_1713", gi = "_r110_1wwsm_1741", _i = "_r112_1wwsm_1769", li = "_r114_1wwsm_1797", wi = "_r116_1wwsm_1825", ci = "_r118_1wwsm_1853", ui = "_r120_1wwsm_1881", mi = "_r122_1wwsm_1909", fi = "_r124_1wwsm_1937", vi = "_r126_1wwsm_1965", bi = "_r128_1wwsm_1993", hi = "_r130_1wwsm_2021", yi = "_r132_1wwsm_2049", ki = "_r134_1wwsm_2077", Oi = "_r136_1wwsm_2105", xi = "_r138_1wwsm_2133", Ci = "_r140_1wwsm_2161", Ti = "_r142_1wwsm_2189", $i = "_r144_1wwsm_2217", Ei = "_r146_1wwsm_2245", Pi = "_r148_1wwsm_2273", Ai = "_r150_1wwsm_2301", Di = "_r152_1wwsm_2329", Si = "_r154_1wwsm_2357", Mi = "_r156_1wwsm_2385", ji = "_r158_1wwsm_2413", Bi = "_r160_1wwsm_2441", Ri = "_r162_1wwsm_2469", Li = "_r164_1wwsm_2497", Ii = "_r166_1wwsm_2525", Ui = "_r168_1wwsm_2553", Hi = "_r170_1wwsm_2581", Vi = "_r172_1wwsm_2609", qi = "_r174_1wwsm_2637", Ni = "_r176_1wwsm_2665", Wi = "_r178_1wwsm_2693", Fi = "_r180_1wwsm_2721", zi = "_r182_1wwsm_2749", Xi = "_r184_1wwsm_2777", Yi = "_r186_1wwsm_2805", Gi = "_r188_1wwsm_2833", Ki = "_r190_1wwsm_2861", Ji = "_r192_1wwsm_2889", Qi = "_r194_1wwsm_2917", Zi = "_r196_1wwsm_2945", er = "_r198_1wwsm_2973", nr = "_r200_1wwsm_3001", tr = "_r202_1wwsm_3029", ar = "_r204_1wwsm_3057", ir = "_r206_1wwsm_3085", rr = "_r208_1wwsm_3113", or = "_r210_1wwsm_3141", pr = "_r212_1wwsm_3169", sr = "_r214_1wwsm_3197", dr = "_r216_1wwsm_3225", gr = "_r218_1wwsm_3253", _r = "_r220_1wwsm_3281", lr = "_r222_1wwsm_3309", wr = "_r224_1wwsm_3337", cr = "_r226_1wwsm_3365", ur = "_r228_1wwsm_3393", mr = "_r230_1wwsm_3421", fr = "_r232_1wwsm_3449", vr = "_r234_1wwsm_3477", br = "_r236_1wwsm_3505", hr = "_r238_1wwsm_3533", yr = "_grow_1wwsm_3561", kr = {
|
|
65
65
|
container: oa,
|
|
66
66
|
"direction-col": "_direction-col_1wwsm_5",
|
|
67
67
|
"direction-reverse": "_direction-reverse_1wwsm_9",
|
|
@@ -273,14 +273,14 @@ const ra = /* @__PURE__ */ fe({
|
|
|
273
273
|
"padding-p44": "_padding-p44_1wwsm_833",
|
|
274
274
|
"padding-inline-p44": "_padding-inline-p44_1wwsm_837",
|
|
275
275
|
"padding-block-p44": "_padding-block-p44_1wwsm_841",
|
|
276
|
-
r46:
|
|
276
|
+
r46: Sa,
|
|
277
277
|
"gap-g46": "_gap-g46_1wwsm_849",
|
|
278
278
|
"column-gap-g46": "_column-gap-g46_1wwsm_853",
|
|
279
279
|
"row-gap-g46": "_row-gap-g46_1wwsm_857",
|
|
280
280
|
"padding-p46": "_padding-p46_1wwsm_861",
|
|
281
281
|
"padding-inline-p46": "_padding-inline-p46_1wwsm_865",
|
|
282
282
|
"padding-block-p46": "_padding-block-p46_1wwsm_869",
|
|
283
|
-
r48:
|
|
283
|
+
r48: Ma,
|
|
284
284
|
"gap-g48": "_gap-g48_1wwsm_877",
|
|
285
285
|
"column-gap-g48": "_column-gap-g48_1wwsm_881",
|
|
286
286
|
"row-gap-g48": "_row-gap-g48_1wwsm_885",
|
|
@@ -322,14 +322,14 @@ const ra = /* @__PURE__ */ fe({
|
|
|
322
322
|
"padding-p58": "_padding-p58_1wwsm_1029",
|
|
323
323
|
"padding-inline-p58": "_padding-inline-p58_1wwsm_1033",
|
|
324
324
|
"padding-block-p58": "_padding-block-p58_1wwsm_1037",
|
|
325
|
-
r60:
|
|
325
|
+
r60: Ua,
|
|
326
326
|
"gap-g60": "_gap-g60_1wwsm_1045",
|
|
327
327
|
"column-gap-g60": "_column-gap-g60_1wwsm_1049",
|
|
328
328
|
"row-gap-g60": "_row-gap-g60_1wwsm_1053",
|
|
329
329
|
"padding-p60": "_padding-p60_1wwsm_1057",
|
|
330
330
|
"padding-inline-p60": "_padding-inline-p60_1wwsm_1061",
|
|
331
331
|
"padding-block-p60": "_padding-block-p60_1wwsm_1065",
|
|
332
|
-
r62:
|
|
332
|
+
r62: Ha,
|
|
333
333
|
"gap-g62": "_gap-g62_1wwsm_1073",
|
|
334
334
|
"column-gap-g62": "_column-gap-g62_1wwsm_1077",
|
|
335
335
|
"row-gap-g62": "_row-gap-g62_1wwsm_1081",
|
|
@@ -651,14 +651,14 @@ const ra = /* @__PURE__ */ fe({
|
|
|
651
651
|
"padding-p152": "_padding-p152_1wwsm_2345",
|
|
652
652
|
"padding-inline-p152": "_padding-inline-p152_1wwsm_2349",
|
|
653
653
|
"padding-block-p152": "_padding-block-p152_1wwsm_2353",
|
|
654
|
-
r154:
|
|
654
|
+
r154: Si,
|
|
655
655
|
"gap-g154": "_gap-g154_1wwsm_2361",
|
|
656
656
|
"column-gap-g154": "_column-gap-g154_1wwsm_2365",
|
|
657
657
|
"row-gap-g154": "_row-gap-g154_1wwsm_2369",
|
|
658
658
|
"padding-p154": "_padding-p154_1wwsm_2373",
|
|
659
659
|
"padding-inline-p154": "_padding-inline-p154_1wwsm_2377",
|
|
660
660
|
"padding-block-p154": "_padding-block-p154_1wwsm_2381",
|
|
661
|
-
r156:
|
|
661
|
+
r156: Mi,
|
|
662
662
|
"gap-g156": "_gap-g156_1wwsm_2389",
|
|
663
663
|
"column-gap-g156": "_column-gap-g156_1wwsm_2393",
|
|
664
664
|
"row-gap-g156": "_row-gap-g156_1wwsm_2397",
|
|
@@ -700,14 +700,14 @@ const ra = /* @__PURE__ */ fe({
|
|
|
700
700
|
"padding-p166": "_padding-p166_1wwsm_2541",
|
|
701
701
|
"padding-inline-p166": "_padding-inline-p166_1wwsm_2545",
|
|
702
702
|
"padding-block-p166": "_padding-block-p166_1wwsm_2549",
|
|
703
|
-
r168:
|
|
703
|
+
r168: Ui,
|
|
704
704
|
"gap-g168": "_gap-g168_1wwsm_2557",
|
|
705
705
|
"column-gap-g168": "_column-gap-g168_1wwsm_2561",
|
|
706
706
|
"row-gap-g168": "_row-gap-g168_1wwsm_2565",
|
|
707
707
|
"padding-p168": "_padding-p168_1wwsm_2569",
|
|
708
708
|
"padding-inline-p168": "_padding-inline-p168_1wwsm_2573",
|
|
709
709
|
"padding-block-p168": "_padding-block-p168_1wwsm_2577",
|
|
710
|
-
r170:
|
|
710
|
+
r170: Hi,
|
|
711
711
|
"gap-g170": "_gap-g170_1wwsm_2585",
|
|
712
712
|
"column-gap-g170": "_column-gap-g170_1wwsm_2589",
|
|
713
713
|
"row-gap-g170": "_row-gap-g170_1wwsm_2593",
|
|
@@ -981,10 +981,10 @@ const $r = /* @__PURE__ */ Ee(xr, [["render", Tr]]), Er = {}, Pr = {
|
|
|
981
981
|
function Ar(e, n) {
|
|
982
982
|
return ie(), yn("path", Pr);
|
|
983
983
|
}
|
|
984
|
-
const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]),
|
|
984
|
+
const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Sr = {
|
|
985
985
|
loader: $r,
|
|
986
986
|
reset: Dr
|
|
987
|
-
},
|
|
987
|
+
}, Mr = ["width", "height", "viewBox"], jr = ["fill"], Br = /* @__PURE__ */ fe({
|
|
988
988
|
__name: "UiIcon",
|
|
989
989
|
props: {
|
|
990
990
|
color: { default: "currentColor" },
|
|
@@ -1004,9 +1004,9 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1004
1004
|
role: "presentation"
|
|
1005
1005
|
}, [
|
|
1006
1006
|
Ce("g", { fill: e.color }, [
|
|
1007
|
-
(ie(), Be(Rn(te(
|
|
1007
|
+
(ie(), Be(Rn(te(Sr)[e.iconName])))
|
|
1008
1008
|
], 8, jr)
|
|
1009
|
-
], 12,
|
|
1009
|
+
], 12, Mr));
|
|
1010
1010
|
}
|
|
1011
1011
|
}), Rr = /* @__PURE__ */ fe({
|
|
1012
1012
|
__name: "UiText",
|
|
@@ -1042,12 +1042,12 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1042
1042
|
_: 3
|
|
1043
1043
|
}, 8, ["class"]));
|
|
1044
1044
|
}
|
|
1045
|
-
}), Lr = "_text_18sq5_1", Ir = "_block_18sq5_5",
|
|
1045
|
+
}), Lr = "_text_18sq5_1", Ir = "_block_18sq5_5", Ur = "_hover_18sq5_13", Hr = "_active_18sq5_17", Vr = "_secondary_18sq5_21", qr = "_fs12_18sq5_25", Nr = "_fs14_18sq5_29", Wr = "_fs16_18sq5_33", Fr = "_fs18_18sq5_37", zr = "_fs20_18sq5_41", Xr = "_fs24_18sq5_45", Yr = "_fs28_18sq5_49", Gr = "_fs32_18sq5_53", Kr = "_fs36_18sq5_57", Jr = "_fs40_18sq5_61", Qr = "_fs42_18sq5_65", Zr = "_fs48_18sq5_69", eo = "_fs64_18sq5_73", no = "_fw400_18sq5_77", to = "_fw500_18sq5_81", ao = "_fw600_18sq5_85", io = "_fw700_18sq5_89", ro = "_lh100_18sq5_93", oo = "_lh110_18sq5_97", po = "_lh120_18sq5_101", so = "_lh130_18sq5_105", go = "_lh140_18sq5_109", _o = "_lh150_18sq5_113", lo = "_nowrap_18sq5_141", wo = "_balance_18sq5_145", co = {
|
|
1046
1046
|
text: Lr,
|
|
1047
1047
|
block: Ir,
|
|
1048
1048
|
default: "_default_18sq5_9",
|
|
1049
|
-
hover:
|
|
1050
|
-
active:
|
|
1049
|
+
hover: Ur,
|
|
1050
|
+
active: Hr,
|
|
1051
1051
|
secondary: Vr,
|
|
1052
1052
|
fs12: qr,
|
|
1053
1053
|
fs14: Nr,
|
|
@@ -1096,7 +1096,7 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1096
1096
|
const o = document.body.classList;
|
|
1097
1097
|
o.contains("dark") ? o.remove("dark") : o.add("dark"), n.value = o.contains("dark"), t.value = !0;
|
|
1098
1098
|
}, r = () => {
|
|
1099
|
-
n.value = window.matchMedia("(prefers-color-scheme: dark)").matches,
|
|
1099
|
+
n.value = window.matchMedia("(prefers-color-scheme: dark)").matches, n.value ? document.body.classList.add("dark") : document.body.classList.remove("dark"), console.log("isDarkMode.value", n.value), console.log("isDarkMode.value 2", n.value), t.value = !1;
|
|
1100
1100
|
};
|
|
1101
1101
|
return (o, p) => (ie(), Be(te(Ln), {
|
|
1102
1102
|
"align-items": "center",
|
|
@@ -1200,11 +1200,11 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1200
1200
|
}, $o = {
|
|
1201
1201
|
$style: To
|
|
1202
1202
|
}, vt = /* @__PURE__ */ Ee(xo, [["__cssModules", $o]]);
|
|
1203
|
-
var V = "top", F = "bottom", z = "right", q = "left",
|
|
1203
|
+
var V = "top", F = "bottom", z = "right", q = "left", Un = "auto", en = [V, F, z, q], Re = "start", Je = "end", Eo = "clippingParents", bt = "viewport", Xe = "popper", Po = "reference", Qn = /* @__PURE__ */ en.reduce(function(e, n) {
|
|
1204
1204
|
return e.concat([n + "-" + Re, n + "-" + Je]);
|
|
1205
|
-
}, []), ht = /* @__PURE__ */ [].concat(en, [
|
|
1205
|
+
}, []), ht = /* @__PURE__ */ [].concat(en, [Un]).reduce(function(e, n) {
|
|
1206
1206
|
return e.concat([n, n + "-" + Re, n + "-" + Je]);
|
|
1207
|
-
}, []), Ao = "beforeRead", Do = "read",
|
|
1207
|
+
}, []), Ao = "beforeRead", Do = "read", So = "afterRead", Mo = "beforeMain", jo = "main", Bo = "afterMain", Ro = "beforeWrite", Lo = "write", Io = "afterWrite", Uo = [Ao, Do, So, Mo, jo, Bo, Ro, Lo, Io];
|
|
1208
1208
|
function re(e) {
|
|
1209
1209
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
1210
1210
|
}
|
|
@@ -1231,7 +1231,7 @@ function yt(e) {
|
|
|
1231
1231
|
var n = K(e).ShadowRoot;
|
|
1232
1232
|
return e instanceof n || e instanceof ShadowRoot;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function Ho(e) {
|
|
1235
1235
|
var n = e.state;
|
|
1236
1236
|
Object.keys(n.elements).forEach(function(t) {
|
|
1237
1237
|
var a = n.styles[t] || {}, r = n.attributes[t] || {}, o = n.elements[t];
|
|
@@ -1269,7 +1269,7 @@ var kt = {
|
|
|
1269
1269
|
name: "applyStyles",
|
|
1270
1270
|
enabled: !0,
|
|
1271
1271
|
phase: "write",
|
|
1272
|
-
fn:
|
|
1272
|
+
fn: Ho,
|
|
1273
1273
|
effect: Vo,
|
|
1274
1274
|
requires: ["computeStyles"]
|
|
1275
1275
|
};
|
|
@@ -1277,7 +1277,7 @@ function ae(e) {
|
|
|
1277
1277
|
return e.split("-")[0];
|
|
1278
1278
|
}
|
|
1279
1279
|
var Te = Math.max, bn = Math.min, Ie = Math.round;
|
|
1280
|
-
function
|
|
1280
|
+
function Ue(e, n) {
|
|
1281
1281
|
n === void 0 && (n = !1);
|
|
1282
1282
|
var t = e.getBoundingClientRect(), a = 1, r = 1;
|
|
1283
1283
|
if (W(e) && n) {
|
|
@@ -1295,8 +1295,8 @@ function He(e, n) {
|
|
|
1295
1295
|
y: t.top / r
|
|
1296
1296
|
};
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1299
|
-
var n =
|
|
1298
|
+
function Hn(e) {
|
|
1299
|
+
var n = Ue(e), t = e.offsetWidth, a = e.offsetHeight;
|
|
1300
1300
|
return Math.abs(n.width - t) <= 1 && (t = n.width), Math.abs(n.height - a) <= 1 && (a = n.height), {
|
|
1301
1301
|
x: e.offsetLeft,
|
|
1302
1302
|
y: e.offsetTop,
|
|
@@ -1400,7 +1400,7 @@ var Fo = function(n, t) {
|
|
|
1400
1400
|
function zo(e) {
|
|
1401
1401
|
var n, t = e.state, a = e.name, r = e.options, o = t.elements.arrow, p = t.modifiersData.popperOffsets, s = ae(t.placement), d = Vn(s), w = [q, z].indexOf(s) >= 0, _ = w ? "height" : "width";
|
|
1402
1402
|
if (!(!o || !p)) {
|
|
1403
|
-
var b = Fo(r.padding, t), C =
|
|
1403
|
+
var b = Fo(r.padding, t), C = Hn(o), h = d === "y" ? V : q, m = d === "y" ? F : z, v = t.rects.reference[_] + t.rects.reference[d] - p[d] - t.rects.popper[_], x = p[d] - t.rects.reference[d], u = nn(o), T = u ? d === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0, E = v / 2 - x / 2, i = b[h], y = T - C[_] - b[m], c = T / 2 - C[_] / 2 + E, l = Ye(i, c, y), f = d;
|
|
1404
1404
|
t.modifiersData[a] = (n = {}, n[f] = l, n.centerOffset = l - c, n);
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
@@ -1417,7 +1417,7 @@ var Yo = {
|
|
|
1417
1417
|
requires: ["popperOffsets"],
|
|
1418
1418
|
requiresIfExists: ["preventOverflow"]
|
|
1419
1419
|
};
|
|
1420
|
-
function
|
|
1420
|
+
function He(e) {
|
|
1421
1421
|
return e.split("-")[1];
|
|
1422
1422
|
}
|
|
1423
1423
|
var Go = {
|
|
@@ -1447,26 +1447,26 @@ function et(e) {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
if (r === q || (r === V || r === F) && o === Je) {
|
|
1449
1449
|
E = z;
|
|
1450
|
-
var
|
|
1450
|
+
var M = b && y.visualViewport ? y.visualViewport.width : (
|
|
1451
1451
|
// $FlowFixMe[prop-missing]
|
|
1452
1452
|
c[f]
|
|
1453
1453
|
);
|
|
1454
|
-
m -=
|
|
1454
|
+
m -= M - a.width, m *= d ? 1 : -1;
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
var j = Object.assign({
|
|
1458
1458
|
position: s
|
|
1459
1459
|
}, w && Go);
|
|
1460
1460
|
if (d) {
|
|
1461
|
-
var
|
|
1462
|
-
return Object.assign({}, j, (
|
|
1461
|
+
var S;
|
|
1462
|
+
return Object.assign({}, j, (S = {}, S[i] = T ? "0" : "", S[E] = u ? "0" : "", S.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + x + "px)" : "translate3d(" + m + "px, " + x + "px, 0)", S));
|
|
1463
1463
|
}
|
|
1464
1464
|
return Object.assign({}, j, (n = {}, n[i] = T ? x + "px" : "", n[E] = u ? m + "px" : "", n.transform = "", n));
|
|
1465
1465
|
}
|
|
1466
1466
|
function Jo(e) {
|
|
1467
1467
|
var n = e.state, t = e.options, a = t.gpuAcceleration, r = a === void 0 ? !0 : a, o = t.adaptive, p = o === void 0 ? !0 : o, s = t.roundOffsets, d = s === void 0 ? !0 : s, w = {
|
|
1468
1468
|
placement: ae(n.placement),
|
|
1469
|
-
variation:
|
|
1469
|
+
variation: He(n.placement),
|
|
1470
1470
|
popper: n.elements.popper,
|
|
1471
1471
|
popperRect: n.rects.popper,
|
|
1472
1472
|
gpuAcceleration: r,
|
|
@@ -1541,7 +1541,7 @@ function qn(e) {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
function Nn(e) {
|
|
1544
|
-
return
|
|
1544
|
+
return Ue(ve(e)).left + qn(e).scrollLeft;
|
|
1545
1545
|
}
|
|
1546
1546
|
function ap(e) {
|
|
1547
1547
|
var n = K(e), t = ve(e), a = n.visualViewport, r = t.clientWidth, o = t.clientHeight, p = 0, s = 0;
|
|
@@ -1577,7 +1577,7 @@ function Ge(e, n) {
|
|
|
1577
1577
|
s.concat(Ge(On(p)))
|
|
1578
1578
|
);
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function Sn(e) {
|
|
1581
1581
|
return Object.assign({}, e, {
|
|
1582
1582
|
left: e.x,
|
|
1583
1583
|
top: e.y,
|
|
@@ -1586,11 +1586,11 @@ function Mn(e) {
|
|
|
1586
1586
|
});
|
|
1587
1587
|
}
|
|
1588
1588
|
function rp(e) {
|
|
1589
|
-
var n =
|
|
1589
|
+
var n = Ue(e);
|
|
1590
1590
|
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
1591
1591
|
}
|
|
1592
1592
|
function tt(e, n) {
|
|
1593
|
-
return n === bt ?
|
|
1593
|
+
return n === bt ? Sn(ap(e)) : Le(n) ? rp(n) : Sn(ip(ve(e)));
|
|
1594
1594
|
}
|
|
1595
1595
|
function op(e) {
|
|
1596
1596
|
var n = Ge(On(e)), t = ["absolute", "fixed"].indexOf(oe(e).position) >= 0, a = t && W(e) ? nn(e) : e;
|
|
@@ -1606,7 +1606,7 @@ function pp(e, n, t) {
|
|
|
1606
1606
|
return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
|
|
1607
1607
|
}
|
|
1608
1608
|
function Et(e) {
|
|
1609
|
-
var n = e.reference, t = e.element, a = e.placement, r = a ? ae(a) : null, o = a ?
|
|
1609
|
+
var n = e.reference, t = e.element, a = e.placement, r = a ? ae(a) : null, o = a ? He(a) : null, p = n.x + n.width / 2 - t.width / 2, s = n.y + n.height / 2 - t.height / 2, d;
|
|
1610
1610
|
switch (r) {
|
|
1611
1611
|
case V:
|
|
1612
1612
|
d = {
|
|
@@ -1654,29 +1654,29 @@ function Et(e) {
|
|
|
1654
1654
|
}
|
|
1655
1655
|
function Qe(e, n) {
|
|
1656
1656
|
n === void 0 && (n = {});
|
|
1657
|
-
var t = n, a = t.placement, r = a === void 0 ? e.placement : a, o = t.boundary, p = o === void 0 ? Eo : o, s = t.rootBoundary, d = s === void 0 ? bt : s, w = t.elementContext, _ = w === void 0 ? Xe : w, b = t.altBoundary, C = b === void 0 ? !1 : b, h = t.padding, m = h === void 0 ? 0 : h, v = Ct(typeof m != "number" ? m : Tt(m, en)), x = _ === Xe ? Po : Xe, u = e.rects.popper, T = e.elements[C ? x : _], E = pp(Le(T) ? T : T.contextElement || ve(e.elements.popper), p, d), i =
|
|
1657
|
+
var t = n, a = t.placement, r = a === void 0 ? e.placement : a, o = t.boundary, p = o === void 0 ? Eo : o, s = t.rootBoundary, d = s === void 0 ? bt : s, w = t.elementContext, _ = w === void 0 ? Xe : w, b = t.altBoundary, C = b === void 0 ? !1 : b, h = t.padding, m = h === void 0 ? 0 : h, v = Ct(typeof m != "number" ? m : Tt(m, en)), x = _ === Xe ? Po : Xe, u = e.rects.popper, T = e.elements[C ? x : _], E = pp(Le(T) ? T : T.contextElement || ve(e.elements.popper), p, d), i = Ue(e.elements.reference), y = Et({
|
|
1658
1658
|
reference: i,
|
|
1659
1659
|
element: u,
|
|
1660
1660
|
placement: r
|
|
1661
|
-
}), c =
|
|
1661
|
+
}), c = Sn(Object.assign({}, u, y)), l = _ === Xe ? c : i, f = {
|
|
1662
1662
|
top: E.top - l.top + v.top,
|
|
1663
1663
|
bottom: l.bottom - E.bottom + v.bottom,
|
|
1664
1664
|
left: E.left - l.left + v.left,
|
|
1665
1665
|
right: l.right - E.right + v.right
|
|
1666
1666
|
}, A = e.modifiersData.offset;
|
|
1667
1667
|
if (_ === Xe && A) {
|
|
1668
|
-
var
|
|
1668
|
+
var M = A[r];
|
|
1669
1669
|
Object.keys(f).forEach(function(j) {
|
|
1670
|
-
var
|
|
1671
|
-
f[j] +=
|
|
1670
|
+
var S = [z, F].indexOf(j) >= 0 ? 1 : -1, B = [V, F].indexOf(j) >= 0 ? "y" : "x";
|
|
1671
|
+
f[j] += M[B] * S;
|
|
1672
1672
|
});
|
|
1673
1673
|
}
|
|
1674
1674
|
return f;
|
|
1675
1675
|
}
|
|
1676
1676
|
function sp(e, n) {
|
|
1677
1677
|
n === void 0 && (n = {});
|
|
1678
|
-
var t = n, a = t.placement, r = t.boundary, o = t.rootBoundary, p = t.padding, s = t.flipVariations, d = t.allowedAutoPlacements, w = d === void 0 ? ht : d, _ =
|
|
1679
|
-
return
|
|
1678
|
+
var t = n, a = t.placement, r = t.boundary, o = t.rootBoundary, p = t.padding, s = t.flipVariations, d = t.allowedAutoPlacements, w = d === void 0 ? ht : d, _ = He(a), b = _ ? s ? Qn : Qn.filter(function(m) {
|
|
1679
|
+
return He(m) === _;
|
|
1680
1680
|
}) : en, C = b.filter(function(m) {
|
|
1681
1681
|
return w.indexOf(m) >= 0;
|
|
1682
1682
|
});
|
|
@@ -1694,7 +1694,7 @@ function sp(e, n) {
|
|
|
1694
1694
|
});
|
|
1695
1695
|
}
|
|
1696
1696
|
function dp(e) {
|
|
1697
|
-
if (ae(e) ===
|
|
1697
|
+
if (ae(e) === Un)
|
|
1698
1698
|
return [];
|
|
1699
1699
|
var n = vn(e);
|
|
1700
1700
|
return [nt(e), n, nt(n)];
|
|
@@ -1703,7 +1703,7 @@ function gp(e) {
|
|
|
1703
1703
|
var n = e.state, t = e.options, a = e.name;
|
|
1704
1704
|
if (!n.modifiersData[a]._skip) {
|
|
1705
1705
|
for (var r = t.mainAxis, o = r === void 0 ? !0 : r, p = t.altAxis, s = p === void 0 ? !0 : p, d = t.fallbackPlacements, w = t.padding, _ = t.boundary, b = t.rootBoundary, C = t.altBoundary, h = t.flipVariations, m = h === void 0 ? !0 : h, v = t.allowedAutoPlacements, x = n.options.placement, u = ae(x), T = u === x, E = d || (T || !m ? [vn(x)] : dp(x)), i = [x].concat(E).reduce(function(pe, Y) {
|
|
1706
|
-
return pe.concat(ae(Y) ===
|
|
1706
|
+
return pe.concat(ae(Y) === Un ? sp(n, {
|
|
1707
1707
|
placement: Y,
|
|
1708
1708
|
boundary: _,
|
|
1709
1709
|
rootBoundary: b,
|
|
@@ -1711,17 +1711,17 @@ function gp(e) {
|
|
|
1711
1711
|
flipVariations: m,
|
|
1712
1712
|
allowedAutoPlacements: v
|
|
1713
1713
|
}) : Y);
|
|
1714
|
-
}, []), y = n.rects.reference, c = n.rects.popper, l = /* @__PURE__ */ new Map(), f = !0, A = i[0],
|
|
1715
|
-
var j = i[
|
|
1714
|
+
}, []), y = n.rects.reference, c = n.rects.popper, l = /* @__PURE__ */ new Map(), f = !0, A = i[0], M = 0; M < i.length; M++) {
|
|
1715
|
+
var j = i[M], S = ae(j), B = He(j) === Re, H = [V, F].indexOf(S) >= 0, X = H ? "width" : "height", L = Qe(n, {
|
|
1716
1716
|
placement: j,
|
|
1717
1717
|
boundary: _,
|
|
1718
1718
|
rootBoundary: b,
|
|
1719
1719
|
altBoundary: C,
|
|
1720
1720
|
padding: w
|
|
1721
|
-
}), I =
|
|
1721
|
+
}), I = H ? B ? z : q : B ? F : V;
|
|
1722
1722
|
y[X] > c[X] && (I = vn(I));
|
|
1723
1723
|
var R = vn(I), J = [];
|
|
1724
|
-
if (o && J.push(L[
|
|
1724
|
+
if (o && J.push(L[S] <= 0), s && J.push(L[I] <= 0, L[R] <= 0), J.every(function(pe) {
|
|
1725
1725
|
return pe;
|
|
1726
1726
|
})) {
|
|
1727
1727
|
A = j, f = !1;
|
|
@@ -1845,31 +1845,31 @@ function hp(e) {
|
|
|
1845
1845
|
rootBoundary: w,
|
|
1846
1846
|
padding: b,
|
|
1847
1847
|
altBoundary: _
|
|
1848
|
-
}), u = ae(n.placement), T =
|
|
1848
|
+
}), u = ae(n.placement), T = He(n.placement), E = !T, i = Vn(u), y = bp(i), c = n.modifiersData.popperOffsets, l = n.rects.reference, f = n.rects.popper, A = typeof v == "function" ? v(Object.assign({}, n.rects, {
|
|
1849
1849
|
placement: n.placement
|
|
1850
|
-
})) : v,
|
|
1850
|
+
})) : v, M = typeof A == "number" ? {
|
|
1851
1851
|
mainAxis: A,
|
|
1852
1852
|
altAxis: A
|
|
1853
1853
|
} : Object.assign({
|
|
1854
1854
|
mainAxis: 0,
|
|
1855
1855
|
altAxis: 0
|
|
1856
|
-
}, A), j = n.modifiersData.offset ? n.modifiersData.offset[n.placement] : null,
|
|
1856
|
+
}, A), j = n.modifiersData.offset ? n.modifiersData.offset[n.placement] : null, S = {
|
|
1857
1857
|
x: 0,
|
|
1858
1858
|
y: 0
|
|
1859
1859
|
};
|
|
1860
1860
|
if (c) {
|
|
1861
1861
|
if (o) {
|
|
1862
|
-
var B,
|
|
1862
|
+
var B, H = i === "y" ? V : q, X = i === "y" ? F : z, L = i === "y" ? "height" : "width", I = c[i], R = I + x[H], J = I - x[X], Q = h ? -f[L] / 2 : 0, be = T === Re ? l[L] : f[L], Z = T === Re ? -f[L] : -l[L], he = n.elements.arrow, pe = h && he ? Hn(he) : {
|
|
1863
1863
|
width: 0,
|
|
1864
1864
|
height: 0
|
|
1865
|
-
}, Y = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : xt(), se = Y[
|
|
1866
|
-
c[i] = Ne,
|
|
1865
|
+
}, Y = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : xt(), se = Y[H], Pe = Y[X], de = Ye(0, l[L], pe[L]), Ae = E ? l[L] / 2 - Q - de - se - M.mainAxis : be - de - se - M.mainAxis, we = E ? -l[L] / 2 + Q + de + Pe + M.mainAxis : Z + de + Pe + M.mainAxis, De = n.elements.arrow && nn(n.elements.arrow), tn = De ? i === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, qe = (B = j?.[i]) != null ? B : 0, an = I + Ae - qe - tn, rn = I + we - qe, Ne = Ye(h ? bn(R, an) : R, I, h ? Te(J, rn) : J);
|
|
1866
|
+
c[i] = Ne, S[i] = Ne - I;
|
|
1867
1867
|
}
|
|
1868
1868
|
if (s) {
|
|
1869
|
-
var We, on = i === "x" ? V : q, pn = i === "x" ? F : z, ge = c[y], ce = y === "y" ? "height" : "width", Fe = ge + x[on], ye = ge - x[pn], ze = [V, q].indexOf(u) !== -1, sn = (We = j?.[y]) != null ? We : 0, dn = ze ? Fe : ge - l[ce] - f[ce] - sn +
|
|
1870
|
-
c[y] = _n,
|
|
1869
|
+
var We, on = i === "x" ? V : q, pn = i === "x" ? F : z, ge = c[y], ce = y === "y" ? "height" : "width", Fe = ge + x[on], ye = ge - x[pn], ze = [V, q].indexOf(u) !== -1, sn = (We = j?.[y]) != null ? We : 0, dn = ze ? Fe : ge - l[ce] - f[ce] - sn + M.altAxis, gn = ze ? ge + l[ce] + f[ce] - sn - M.altAxis : ye, _n = h && ze ? Wo(dn, ge, gn) : Ye(h ? dn : Fe, ge, h ? gn : ye);
|
|
1870
|
+
c[y] = _n, S[y] = _n - ge;
|
|
1871
1871
|
}
|
|
1872
|
-
n.modifiersData[a] =
|
|
1872
|
+
n.modifiersData[a] = S;
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
1875
|
var yp = {
|
|
@@ -1894,7 +1894,7 @@ function xp(e) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
function Cp(e, n, t) {
|
|
1896
1896
|
t === void 0 && (t = !1);
|
|
1897
|
-
var a = W(n), r = W(n) && xp(n), o = ve(n), p =
|
|
1897
|
+
var a = W(n), r = W(n) && xp(n), o = ve(n), p = Ue(e, r), s = {
|
|
1898
1898
|
scrollLeft: 0,
|
|
1899
1899
|
scrollTop: 0
|
|
1900
1900
|
}, d = {
|
|
@@ -1902,7 +1902,7 @@ function Cp(e, n, t) {
|
|
|
1902
1902
|
y: 0
|
|
1903
1903
|
};
|
|
1904
1904
|
return (a || !a && !t) && ((re(n) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1905
|
-
Wn(o)) && (s = Op(n)), W(n) ? (d =
|
|
1905
|
+
Wn(o)) && (s = Op(n)), W(n) ? (d = Ue(n, !0), d.x += n.clientLeft, d.y += n.clientTop) : o && (d.x = Nn(o))), {
|
|
1906
1906
|
x: p.left + s.scrollLeft - d.x,
|
|
1907
1907
|
y: p.top + s.scrollTop - d.y,
|
|
1908
1908
|
width: p.width,
|
|
@@ -1930,7 +1930,7 @@ function Tp(e) {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
function $p(e) {
|
|
1932
1932
|
var n = Tp(e);
|
|
1933
|
-
return
|
|
1933
|
+
return Uo.reduce(function(t, a) {
|
|
1934
1934
|
return t.concat(n.filter(function(r) {
|
|
1935
1935
|
return r.phase === a;
|
|
1936
1936
|
}));
|
|
@@ -2010,9 +2010,9 @@ function Ap(e) {
|
|
|
2010
2010
|
if (ot(T, E)) {
|
|
2011
2011
|
_.rects = {
|
|
2012
2012
|
reference: Cp(T, nn(E), _.options.strategy === "fixed"),
|
|
2013
|
-
popper:
|
|
2014
|
-
}, _.reset = !1, _.placement = _.options.placement, _.orderedModifiers.forEach(function(
|
|
2015
|
-
return _.modifiersData[
|
|
2013
|
+
popper: Hn(E)
|
|
2014
|
+
}, _.reset = !1, _.placement = _.options.placement, _.orderedModifiers.forEach(function(M) {
|
|
2015
|
+
return _.modifiersData[M.name] = Object.assign({}, M.data);
|
|
2016
2016
|
});
|
|
2017
2017
|
for (var i = 0; i < _.orderedModifiers.length; i++) {
|
|
2018
2018
|
if (_.reset === !0) {
|
|
@@ -2069,12 +2069,12 @@ function Ap(e) {
|
|
|
2069
2069
|
return h;
|
|
2070
2070
|
};
|
|
2071
2071
|
}
|
|
2072
|
-
var Dp = [ep, vp, Qo, kt, mp, _p, yp, Yo, wp],
|
|
2072
|
+
var Dp = [ep, vp, Qo, kt, mp, _p, yp, Yo, wp], Sp = /* @__PURE__ */ Ap({
|
|
2073
2073
|
defaultModifiers: Dp
|
|
2074
|
-
}),
|
|
2074
|
+
}), Mp = "tippy-box", Pt = "tippy-content", At = "tippy-backdrop", Dt = "tippy-arrow", St = "tippy-svg-arrow", Oe = {
|
|
2075
2075
|
passive: !0,
|
|
2076
2076
|
capture: !0
|
|
2077
|
-
},
|
|
2077
|
+
}, Mt = function() {
|
|
2078
2078
|
return document.body;
|
|
2079
2079
|
};
|
|
2080
2080
|
function $n(e, n, t) {
|
|
@@ -2149,7 +2149,7 @@ function zn(e) {
|
|
|
2149
2149
|
function Ip(e) {
|
|
2150
2150
|
return !!(e && e._tippy && e._tippy.reference === e);
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function Up(e) {
|
|
2153
2153
|
return xn(e) ? [e] : Lp(e) ? Ve(e) : Array.isArray(e) ? e : Ve(document.querySelectorAll(e));
|
|
2154
2154
|
}
|
|
2155
2155
|
function En(e, n) {
|
|
@@ -2166,7 +2166,7 @@ function Rt(e) {
|
|
|
2166
2166
|
var n, t = xe(e), a = t[0];
|
|
2167
2167
|
return a != null && (n = a.ownerDocument) != null && n.body ? a.ownerDocument : document;
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function Hp(e, n) {
|
|
2170
2170
|
var t = n.clientX, a = n.clientY;
|
|
2171
2171
|
return e.every(function(r) {
|
|
2172
2172
|
var o = r.popperRect, p = r.popperState, s = r.props, d = s.interactiveBorder, w = Bt(p.placement), _ = p.modifiersData.offset;
|
|
@@ -2230,7 +2230,7 @@ var Wp = typeof window < "u" && typeof document < "u", Fp = Wp ? (
|
|
|
2230
2230
|
theme: "",
|
|
2231
2231
|
zIndex: 9999
|
|
2232
2232
|
}, G = Object.assign({
|
|
2233
|
-
appendTo:
|
|
2233
|
+
appendTo: Mt,
|
|
2234
2234
|
aria: {
|
|
2235
2235
|
content: "auto",
|
|
2236
2236
|
expanded: "auto"
|
|
@@ -2325,15 +2325,15 @@ function lt(e, n) {
|
|
|
2325
2325
|
var Jp = function() {
|
|
2326
2326
|
return "innerHTML";
|
|
2327
2327
|
};
|
|
2328
|
-
function
|
|
2328
|
+
function Mn(e, n) {
|
|
2329
2329
|
e[Jp()] = n;
|
|
2330
2330
|
}
|
|
2331
2331
|
function wt(e) {
|
|
2332
2332
|
var n = $e();
|
|
2333
|
-
return e === !0 ? n.className = Dt : (n.className =
|
|
2333
|
+
return e === !0 ? n.className = Dt : (n.className = St, xn(e) ? n.appendChild(e) : Mn(n, e)), n;
|
|
2334
2334
|
}
|
|
2335
2335
|
function ct(e, n) {
|
|
2336
|
-
xn(n.content) ? (
|
|
2336
|
+
xn(n.content) ? (Mn(e, ""), e.appendChild(n.content)) : typeof n.content != "function" && (n.allowHTML ? Mn(e, n.content) : e.textContent = n.content);
|
|
2337
2337
|
}
|
|
2338
2338
|
function hn(e) {
|
|
2339
2339
|
var n = e.firstElementChild, t = Ve(n.children);
|
|
@@ -2343,16 +2343,16 @@ function hn(e) {
|
|
|
2343
2343
|
return a.classList.contains(Pt);
|
|
2344
2344
|
}),
|
|
2345
2345
|
arrow: t.find(function(a) {
|
|
2346
|
-
return a.classList.contains(Dt) || a.classList.contains(
|
|
2346
|
+
return a.classList.contains(Dt) || a.classList.contains(St);
|
|
2347
2347
|
}),
|
|
2348
2348
|
backdrop: t.find(function(a) {
|
|
2349
2349
|
return a.classList.contains(At);
|
|
2350
2350
|
})
|
|
2351
2351
|
};
|
|
2352
2352
|
}
|
|
2353
|
-
function
|
|
2353
|
+
function Ut(e) {
|
|
2354
2354
|
var n = $e(), t = $e();
|
|
2355
|
-
t.className =
|
|
2355
|
+
t.className = Mp, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
|
|
2356
2356
|
var a = $e();
|
|
2357
2357
|
a.className = Pt, a.setAttribute("data-state", "hidden"), ct(a, e.props), n.appendChild(t), t.appendChild(a), r(e.props, e.props);
|
|
2358
2358
|
function r(o, p) {
|
|
@@ -2364,7 +2364,7 @@ function Ht(e) {
|
|
|
2364
2364
|
onUpdate: r
|
|
2365
2365
|
};
|
|
2366
2366
|
}
|
|
2367
|
-
|
|
2367
|
+
Ut.$$tippy = !0;
|
|
2368
2368
|
var Qp = 1, un = [], An = [];
|
|
2369
2369
|
function Zp(e, n) {
|
|
2370
2370
|
var t = lt(e, Object.assign({}, G, It(dt(n)))), a, r, o, p = !1, s = !1, d = !1, w = !1, _, b, C, h = [], m = pt(an, t.interactiveDebounce), v, x = Qp++, u = null, T = Rp(t.plugins), E = {
|
|
@@ -2409,23 +2409,23 @@ function Zp(e, n) {
|
|
|
2409
2409
|
return De(), Q(), I(), R("onCreate", [i]), t.showOnCreate && Fe(), c.addEventListener("mouseenter", function() {
|
|
2410
2410
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
2411
2411
|
}), c.addEventListener("mouseleave", function() {
|
|
2412
|
-
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
2412
|
+
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && H().addEventListener("mousemove", m);
|
|
2413
2413
|
}), i;
|
|
2414
|
-
function
|
|
2414
|
+
function M() {
|
|
2415
2415
|
var g = i.props.touch;
|
|
2416
2416
|
return Array.isArray(g) ? g : [g, 0];
|
|
2417
2417
|
}
|
|
2418
2418
|
function j() {
|
|
2419
|
-
return
|
|
2419
|
+
return M()[0] === "hold";
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function S() {
|
|
2422
2422
|
var g;
|
|
2423
2423
|
return !!((g = i.props.render) != null && g.$$tippy);
|
|
2424
2424
|
}
|
|
2425
2425
|
function B() {
|
|
2426
2426
|
return v || e;
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function H() {
|
|
2429
2429
|
var g = B().parentNode;
|
|
2430
2430
|
return g ? Rt(g) : document;
|
|
2431
2431
|
}
|
|
@@ -2451,11 +2451,11 @@ function Zp(e, n) {
|
|
|
2451
2451
|
if (g.content) {
|
|
2452
2452
|
var k = "aria-" + g.content, $ = c.id, D = xe(i.props.triggerTarget || e);
|
|
2453
2453
|
D.forEach(function(P) {
|
|
2454
|
-
var
|
|
2454
|
+
var U = P.getAttribute(k);
|
|
2455
2455
|
if (i.state.isVisible)
|
|
2456
|
-
P.setAttribute(k,
|
|
2456
|
+
P.setAttribute(k, U ? U + " " + $ : $);
|
|
2457
2457
|
else {
|
|
2458
|
-
var N =
|
|
2458
|
+
var N = U && U.replace($, "").trim();
|
|
2459
2459
|
N ? P.setAttribute(k, N) : P.removeAttribute(k);
|
|
2460
2460
|
}
|
|
2461
2461
|
});
|
|
@@ -2470,7 +2470,7 @@ function Zp(e, n) {
|
|
|
2470
2470
|
}
|
|
2471
2471
|
}
|
|
2472
2472
|
function be() {
|
|
2473
|
-
|
|
2473
|
+
H().removeEventListener("mousemove", m), un = un.filter(function(g) {
|
|
2474
2474
|
return g !== m;
|
|
2475
2475
|
});
|
|
2476
2476
|
}
|
|
@@ -2498,11 +2498,11 @@ function Zp(e, n) {
|
|
|
2498
2498
|
d = !1;
|
|
2499
2499
|
}
|
|
2500
2500
|
function Y() {
|
|
2501
|
-
var g =
|
|
2501
|
+
var g = H();
|
|
2502
2502
|
g.addEventListener("mousedown", Z, !0), g.addEventListener("touchend", Z, Oe), g.addEventListener("touchstart", pe, Oe), g.addEventListener("touchmove", he, Oe);
|
|
2503
2503
|
}
|
|
2504
2504
|
function se() {
|
|
2505
|
-
var g =
|
|
2505
|
+
var g = H();
|
|
2506
2506
|
g.removeEventListener("mousedown", Z, !0), g.removeEventListener("touchend", Z, Oe), g.removeEventListener("touchstart", pe, Oe), g.removeEventListener("touchmove", he, Oe);
|
|
2507
2507
|
}
|
|
2508
2508
|
function Pe(g, k) {
|
|
@@ -2573,14 +2573,14 @@ function Zp(e, n) {
|
|
|
2573
2573
|
var k = g.target, $ = B().contains(k) || c.contains(k);
|
|
2574
2574
|
if (!(g.type === "mousemove" && $)) {
|
|
2575
2575
|
var D = ce().concat(c).map(function(P) {
|
|
2576
|
-
var
|
|
2577
|
-
return
|
|
2576
|
+
var U, N = P._tippy, Se = (U = N.popperInstance) == null ? void 0 : U.state;
|
|
2577
|
+
return Se ? {
|
|
2578
2578
|
popperRect: P.getBoundingClientRect(),
|
|
2579
|
-
popperState:
|
|
2579
|
+
popperState: Se,
|
|
2580
2580
|
props: t
|
|
2581
2581
|
} : null;
|
|
2582
2582
|
}).filter(Boolean);
|
|
2583
|
-
|
|
2583
|
+
Hp(D, g) && (be(), ye(g));
|
|
2584
2584
|
}
|
|
2585
2585
|
}
|
|
2586
2586
|
function rn(g) {
|
|
@@ -2601,7 +2601,7 @@ function Zp(e, n) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
function on() {
|
|
2603
2603
|
pn();
|
|
2604
|
-
var g = i.props, k = g.popperOptions, $ = g.placement, D = g.offset, P = g.getReferenceClientRect,
|
|
2604
|
+
var g = i.props, k = g.popperOptions, $ = g.placement, D = g.offset, P = g.getReferenceClientRect, U = g.moveTransition, N = S() ? hn(c).arrow : null, Se = P ? {
|
|
2605
2605
|
getBoundingClientRect: P,
|
|
2606
2606
|
contextElement: P.contextElement || B()
|
|
2607
2607
|
} : e, Xn = {
|
|
@@ -2610,12 +2610,12 @@ function Zp(e, n) {
|
|
|
2610
2610
|
phase: "beforeWrite",
|
|
2611
2611
|
requires: ["computeStyles"],
|
|
2612
2612
|
fn: function(ln) {
|
|
2613
|
-
var
|
|
2614
|
-
if (
|
|
2613
|
+
var Me = ln.state;
|
|
2614
|
+
if (S()) {
|
|
2615
2615
|
var Xt = X(), Tn = Xt.box;
|
|
2616
2616
|
["placement", "reference-hidden", "escaped"].forEach(function(wn) {
|
|
2617
|
-
wn === "placement" ? Tn.setAttribute("data-placement",
|
|
2618
|
-
}),
|
|
2617
|
+
wn === "placement" ? Tn.setAttribute("data-placement", Me.placement) : Me.attributes.popper["data-popper-" + wn] ? Tn.setAttribute("data-" + wn, "") : Tn.removeAttribute("data-" + wn);
|
|
2618
|
+
}), Me.attributes.popper = {};
|
|
2619
2619
|
}
|
|
2620
2620
|
}
|
|
2621
2621
|
}, ke = [{
|
|
@@ -2641,16 +2641,16 @@ function Zp(e, n) {
|
|
|
2641
2641
|
}, {
|
|
2642
2642
|
name: "computeStyles",
|
|
2643
2643
|
options: {
|
|
2644
|
-
adaptive: !
|
|
2644
|
+
adaptive: !U
|
|
2645
2645
|
}
|
|
2646
2646
|
}, Xn];
|
|
2647
|
-
|
|
2647
|
+
S() && N && ke.push({
|
|
2648
2648
|
name: "arrow",
|
|
2649
2649
|
options: {
|
|
2650
2650
|
element: N,
|
|
2651
2651
|
padding: 3
|
|
2652
2652
|
}
|
|
2653
|
-
}), ke.push.apply(ke, k?.modifiers || []), i.popperInstance =
|
|
2653
|
+
}), ke.push.apply(ke, k?.modifiers || []), i.popperInstance = Sp(Se, c, Object.assign({}, k, {
|
|
2654
2654
|
placement: $,
|
|
2655
2655
|
onFirstUpdate: C,
|
|
2656
2656
|
modifiers: ke
|
|
@@ -2661,14 +2661,14 @@ function Zp(e, n) {
|
|
|
2661
2661
|
}
|
|
2662
2662
|
function ge() {
|
|
2663
2663
|
var g = i.props.appendTo, k, $ = B();
|
|
2664
|
-
i.props.interactive && g ===
|
|
2664
|
+
i.props.interactive && g === Mt || g === "parent" ? k = $.parentNode : k = jt(g, [$]), k.contains(c) || k.appendChild(c), i.state.isMounted = !0, on();
|
|
2665
2665
|
}
|
|
2666
2666
|
function ce() {
|
|
2667
2667
|
return Ve(c.querySelectorAll("[data-tippy-root]"));
|
|
2668
2668
|
}
|
|
2669
2669
|
function Fe(g) {
|
|
2670
2670
|
i.clearDelayTimeouts(), g && R("onTrigger", [i, g]), Y();
|
|
2671
|
-
var k = L(!0), $ =
|
|
2671
|
+
var k = L(!0), $ = M(), D = $[0], P = $[1];
|
|
2672
2672
|
ee.isTouch && D === "hold" && P && (k = P), k ? a = setTimeout(function() {
|
|
2673
2673
|
i.show();
|
|
2674
2674
|
}, k) : i.show();
|
|
@@ -2717,18 +2717,18 @@ function Zp(e, n) {
|
|
|
2717
2717
|
function qt() {
|
|
2718
2718
|
var g = i.state.isVisible, k = i.state.isDestroyed, $ = !i.state.isEnabled, D = ee.isTouch && !i.props.touch, P = $n(i.props.duration, 0, G.duration);
|
|
2719
2719
|
if (!(g || k || $ || D) && !B().hasAttribute("disabled") && (R("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
2720
|
-
if (i.state.isVisible = !0,
|
|
2721
|
-
var
|
|
2722
|
-
En([N,
|
|
2720
|
+
if (i.state.isVisible = !0, S() && (c.style.visibility = "visible"), I(), Y(), i.state.isMounted || (c.style.transition = "none"), S()) {
|
|
2721
|
+
var U = X(), N = U.box, Se = U.content;
|
|
2722
|
+
En([N, Se], 0);
|
|
2723
2723
|
}
|
|
2724
2724
|
C = function() {
|
|
2725
2725
|
var ke;
|
|
2726
2726
|
if (!(!i.state.isVisible || w)) {
|
|
2727
|
-
if (w = !0, c.offsetHeight, c.style.transition = i.props.moveTransition,
|
|
2728
|
-
var Cn = X(), ln = Cn.box,
|
|
2729
|
-
En([ln,
|
|
2727
|
+
if (w = !0, c.offsetHeight, c.style.transition = i.props.moveTransition, S() && i.props.animation) {
|
|
2728
|
+
var Cn = X(), ln = Cn.box, Me = Cn.content;
|
|
2729
|
+
En([ln, Me], P), Ze([ln, Me], "visible");
|
|
2730
2730
|
}
|
|
2731
|
-
J(), Q(), st(An, i), (ke = i.popperInstance) == null || ke.forceUpdate(), R("onMount", [i]), i.props.animation &&
|
|
2731
|
+
J(), Q(), st(An, i), (ke = i.popperInstance) == null || ke.forceUpdate(), R("onMount", [i]), i.props.animation && S() && de(P, function() {
|
|
2732
2732
|
i.state.isShown = !0, R("onShown", [i]);
|
|
2733
2733
|
});
|
|
2734
2734
|
}
|
|
@@ -2738,15 +2738,15 @@ function Zp(e, n) {
|
|
|
2738
2738
|
function Nt() {
|
|
2739
2739
|
var g = !i.state.isVisible, k = i.state.isDestroyed, $ = !i.state.isEnabled, D = $n(i.props.duration, 1, G.duration);
|
|
2740
2740
|
if (!(g || k || $) && (R("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
2741
|
-
if (i.state.isVisible = !1, i.state.isShown = !1, w = !1, p = !1,
|
|
2742
|
-
var P = X(),
|
|
2743
|
-
i.props.animation && (En([
|
|
2741
|
+
if (i.state.isVisible = !1, i.state.isShown = !1, w = !1, p = !1, S() && (c.style.visibility = "hidden"), be(), se(), I(!0), S()) {
|
|
2742
|
+
var P = X(), U = P.box, N = P.content;
|
|
2743
|
+
i.props.animation && (En([U, N], D), Ze([U, N], "hidden"));
|
|
2744
2744
|
}
|
|
2745
|
-
J(), Q(), i.props.animation ?
|
|
2745
|
+
J(), Q(), i.props.animation ? S() && Pe(D, i.unmount) : i.unmount();
|
|
2746
2746
|
}
|
|
2747
2747
|
}
|
|
2748
2748
|
function Wt(g) {
|
|
2749
|
-
|
|
2749
|
+
H().addEventListener("mousemove", m), st(un, m), m(g);
|
|
2750
2750
|
}
|
|
2751
2751
|
function Ft() {
|
|
2752
2752
|
i.state.isVisible && i.hide(), i.state.isMounted && (pn(), ce().forEach(function(g) {
|
|
@@ -2765,7 +2765,7 @@ function O(e, n) {
|
|
|
2765
2765
|
Np();
|
|
2766
2766
|
var a = Object.assign({}, n, {
|
|
2767
2767
|
plugins: t
|
|
2768
|
-
}), r =
|
|
2768
|
+
}), r = Up(e), o = r.reduce(function(p, s) {
|
|
2769
2769
|
var d = s && Zp(s, a);
|
|
2770
2770
|
return d && p.push(d), p;
|
|
2771
2771
|
}, []);
|
|
@@ -2938,7 +2938,7 @@ var jn = {
|
|
|
2938
2938
|
clientX: 0,
|
|
2939
2939
|
clientY: 0
|
|
2940
2940
|
}, mn = [];
|
|
2941
|
-
function
|
|
2941
|
+
function Ht(e) {
|
|
2942
2942
|
var n = e.clientX, t = e.clientY;
|
|
2943
2943
|
jn = {
|
|
2944
2944
|
clientX: n,
|
|
@@ -2946,10 +2946,10 @@ function Ut(e) {
|
|
|
2946
2946
|
};
|
|
2947
2947
|
}
|
|
2948
2948
|
function is(e) {
|
|
2949
|
-
e.addEventListener("mousemove",
|
|
2949
|
+
e.addEventListener("mousemove", Ht);
|
|
2950
2950
|
}
|
|
2951
2951
|
function rs(e) {
|
|
2952
|
-
e.removeEventListener("mousemove",
|
|
2952
|
+
e.removeEventListener("mousemove", Ht);
|
|
2953
2953
|
}
|
|
2954
2954
|
var os = {
|
|
2955
2955
|
name: "followCursor",
|
|
@@ -2975,16 +2975,16 @@ var os = {
|
|
|
2975
2975
|
(x || !n.props.interactive) && n.setProps({
|
|
2976
2976
|
// @ts-ignore - unneeded DOMRect properties
|
|
2977
2977
|
getReferenceClientRect: function() {
|
|
2978
|
-
var f = t.getBoundingClientRect(), A = T,
|
|
2979
|
-
u === "initial" && (A = f.left + y,
|
|
2980
|
-
var j = u === "horizontal" ? f.top :
|
|
2978
|
+
var f = t.getBoundingClientRect(), A = T, M = E;
|
|
2979
|
+
u === "initial" && (A = f.left + y, M = f.top + c);
|
|
2980
|
+
var j = u === "horizontal" ? f.top : M, S = u === "vertical" ? f.right : A, B = u === "horizontal" ? f.bottom : M, H = u === "vertical" ? f.left : A;
|
|
2981
2981
|
return {
|
|
2982
|
-
width:
|
|
2982
|
+
width: S - H,
|
|
2983
2983
|
height: B - j,
|
|
2984
2984
|
top: j,
|
|
2985
|
-
right:
|
|
2985
|
+
right: S,
|
|
2986
2986
|
bottom: B,
|
|
2987
|
-
left:
|
|
2987
|
+
left: H
|
|
2988
2988
|
};
|
|
2989
2989
|
}
|
|
2990
2990
|
});
|
|
@@ -3153,7 +3153,7 @@ function ut(e, n) {
|
|
|
3153
3153
|
return e && n ? e.top !== n.top || e.right !== n.right || e.bottom !== n.bottom || e.left !== n.left : !0;
|
|
3154
3154
|
}
|
|
3155
3155
|
O.setDefaultProps({
|
|
3156
|
-
render:
|
|
3156
|
+
render: Ut
|
|
3157
3157
|
});
|
|
3158
3158
|
O.setDefaultProps({
|
|
3159
3159
|
//@ts-ignore
|
|
@@ -3570,6 +3570,7 @@ const vs = /* @__PURE__ */ fe({
|
|
|
3570
3570
|
}, Cs = { install: Os };
|
|
3571
3571
|
export {
|
|
3572
3572
|
Ln as UiFlex,
|
|
3573
|
+
Br as UiIcon,
|
|
3573
3574
|
In as UiText,
|
|
3574
3575
|
Oo as UiThemeToggler,
|
|
3575
3576
|
vt as UiTooltipContent,
|