turmag-vue-components 0.0.20 → 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 -127
- 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,
|
|
@@ -1093,11 +1093,10 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1093
1093
|
emits: ["update:modelValue", "update:isSavedDarkMode"],
|
|
1094
1094
|
setup(e) {
|
|
1095
1095
|
const n = Dn(e, "modelValue"), t = Dn(e, "isSavedDarkMode"), a = () => {
|
|
1096
|
-
console.log("onToggle");
|
|
1097
1096
|
const o = document.body.classList;
|
|
1098
1097
|
o.contains("dark") ? o.remove("dark") : o.add("dark"), n.value = o.contains("dark"), t.value = !0;
|
|
1099
1098
|
}, r = () => {
|
|
1100
|
-
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;
|
|
1101
1100
|
};
|
|
1102
1101
|
return (o, p) => (ie(), Be(te(Ln), {
|
|
1103
1102
|
"align-items": "center",
|
|
@@ -1201,11 +1200,11 @@ const Dr = /* @__PURE__ */ Ee(Er, [["render", Ar]]), Mr = {
|
|
|
1201
1200
|
}, $o = {
|
|
1202
1201
|
$style: To
|
|
1203
1202
|
}, vt = /* @__PURE__ */ Ee(xo, [["__cssModules", $o]]);
|
|
1204
|
-
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) {
|
|
1205
1204
|
return e.concat([n + "-" + Re, n + "-" + Je]);
|
|
1206
|
-
}, []), ht = /* @__PURE__ */ [].concat(en, [
|
|
1205
|
+
}, []), ht = /* @__PURE__ */ [].concat(en, [Un]).reduce(function(e, n) {
|
|
1207
1206
|
return e.concat([n, n + "-" + Re, n + "-" + Je]);
|
|
1208
|
-
}, []), 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];
|
|
1209
1208
|
function re(e) {
|
|
1210
1209
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
1211
1210
|
}
|
|
@@ -1232,7 +1231,7 @@ function yt(e) {
|
|
|
1232
1231
|
var n = K(e).ShadowRoot;
|
|
1233
1232
|
return e instanceof n || e instanceof ShadowRoot;
|
|
1234
1233
|
}
|
|
1235
|
-
function
|
|
1234
|
+
function Ho(e) {
|
|
1236
1235
|
var n = e.state;
|
|
1237
1236
|
Object.keys(n.elements).forEach(function(t) {
|
|
1238
1237
|
var a = n.styles[t] || {}, r = n.attributes[t] || {}, o = n.elements[t];
|
|
@@ -1270,7 +1269,7 @@ var kt = {
|
|
|
1270
1269
|
name: "applyStyles",
|
|
1271
1270
|
enabled: !0,
|
|
1272
1271
|
phase: "write",
|
|
1273
|
-
fn:
|
|
1272
|
+
fn: Ho,
|
|
1274
1273
|
effect: Vo,
|
|
1275
1274
|
requires: ["computeStyles"]
|
|
1276
1275
|
};
|
|
@@ -1278,7 +1277,7 @@ function ae(e) {
|
|
|
1278
1277
|
return e.split("-")[0];
|
|
1279
1278
|
}
|
|
1280
1279
|
var Te = Math.max, bn = Math.min, Ie = Math.round;
|
|
1281
|
-
function
|
|
1280
|
+
function Ue(e, n) {
|
|
1282
1281
|
n === void 0 && (n = !1);
|
|
1283
1282
|
var t = e.getBoundingClientRect(), a = 1, r = 1;
|
|
1284
1283
|
if (W(e) && n) {
|
|
@@ -1296,8 +1295,8 @@ function He(e, n) {
|
|
|
1296
1295
|
y: t.top / r
|
|
1297
1296
|
};
|
|
1298
1297
|
}
|
|
1299
|
-
function
|
|
1300
|
-
var n =
|
|
1298
|
+
function Hn(e) {
|
|
1299
|
+
var n = Ue(e), t = e.offsetWidth, a = e.offsetHeight;
|
|
1301
1300
|
return Math.abs(n.width - t) <= 1 && (t = n.width), Math.abs(n.height - a) <= 1 && (a = n.height), {
|
|
1302
1301
|
x: e.offsetLeft,
|
|
1303
1302
|
y: e.offsetTop,
|
|
@@ -1401,7 +1400,7 @@ var Fo = function(n, t) {
|
|
|
1401
1400
|
function zo(e) {
|
|
1402
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";
|
|
1403
1402
|
if (!(!o || !p)) {
|
|
1404
|
-
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;
|
|
1405
1404
|
t.modifiersData[a] = (n = {}, n[f] = l, n.centerOffset = l - c, n);
|
|
1406
1405
|
}
|
|
1407
1406
|
}
|
|
@@ -1418,7 +1417,7 @@ var Yo = {
|
|
|
1418
1417
|
requires: ["popperOffsets"],
|
|
1419
1418
|
requiresIfExists: ["preventOverflow"]
|
|
1420
1419
|
};
|
|
1421
|
-
function
|
|
1420
|
+
function He(e) {
|
|
1422
1421
|
return e.split("-")[1];
|
|
1423
1422
|
}
|
|
1424
1423
|
var Go = {
|
|
@@ -1448,26 +1447,26 @@ function et(e) {
|
|
|
1448
1447
|
}
|
|
1449
1448
|
if (r === q || (r === V || r === F) && o === Je) {
|
|
1450
1449
|
E = z;
|
|
1451
|
-
var
|
|
1450
|
+
var M = b && y.visualViewport ? y.visualViewport.width : (
|
|
1452
1451
|
// $FlowFixMe[prop-missing]
|
|
1453
1452
|
c[f]
|
|
1454
1453
|
);
|
|
1455
|
-
m -=
|
|
1454
|
+
m -= M - a.width, m *= d ? 1 : -1;
|
|
1456
1455
|
}
|
|
1457
1456
|
}
|
|
1458
1457
|
var j = Object.assign({
|
|
1459
1458
|
position: s
|
|
1460
1459
|
}, w && Go);
|
|
1461
1460
|
if (d) {
|
|
1462
|
-
var
|
|
1463
|
-
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));
|
|
1464
1463
|
}
|
|
1465
1464
|
return Object.assign({}, j, (n = {}, n[i] = T ? x + "px" : "", n[E] = u ? m + "px" : "", n.transform = "", n));
|
|
1466
1465
|
}
|
|
1467
1466
|
function Jo(e) {
|
|
1468
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 = {
|
|
1469
1468
|
placement: ae(n.placement),
|
|
1470
|
-
variation:
|
|
1469
|
+
variation: He(n.placement),
|
|
1471
1470
|
popper: n.elements.popper,
|
|
1472
1471
|
popperRect: n.rects.popper,
|
|
1473
1472
|
gpuAcceleration: r,
|
|
@@ -1542,7 +1541,7 @@ function qn(e) {
|
|
|
1542
1541
|
};
|
|
1543
1542
|
}
|
|
1544
1543
|
function Nn(e) {
|
|
1545
|
-
return
|
|
1544
|
+
return Ue(ve(e)).left + qn(e).scrollLeft;
|
|
1546
1545
|
}
|
|
1547
1546
|
function ap(e) {
|
|
1548
1547
|
var n = K(e), t = ve(e), a = n.visualViewport, r = t.clientWidth, o = t.clientHeight, p = 0, s = 0;
|
|
@@ -1578,7 +1577,7 @@ function Ge(e, n) {
|
|
|
1578
1577
|
s.concat(Ge(On(p)))
|
|
1579
1578
|
);
|
|
1580
1579
|
}
|
|
1581
|
-
function
|
|
1580
|
+
function Sn(e) {
|
|
1582
1581
|
return Object.assign({}, e, {
|
|
1583
1582
|
left: e.x,
|
|
1584
1583
|
top: e.y,
|
|
@@ -1587,11 +1586,11 @@ function Mn(e) {
|
|
|
1587
1586
|
});
|
|
1588
1587
|
}
|
|
1589
1588
|
function rp(e) {
|
|
1590
|
-
var n =
|
|
1589
|
+
var n = Ue(e);
|
|
1591
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;
|
|
1592
1591
|
}
|
|
1593
1592
|
function tt(e, n) {
|
|
1594
|
-
return n === bt ?
|
|
1593
|
+
return n === bt ? Sn(ap(e)) : Le(n) ? rp(n) : Sn(ip(ve(e)));
|
|
1595
1594
|
}
|
|
1596
1595
|
function op(e) {
|
|
1597
1596
|
var n = Ge(On(e)), t = ["absolute", "fixed"].indexOf(oe(e).position) >= 0, a = t && W(e) ? nn(e) : e;
|
|
@@ -1607,7 +1606,7 @@ function pp(e, n, t) {
|
|
|
1607
1606
|
return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
|
|
1608
1607
|
}
|
|
1609
1608
|
function Et(e) {
|
|
1610
|
-
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;
|
|
1611
1610
|
switch (r) {
|
|
1612
1611
|
case V:
|
|
1613
1612
|
d = {
|
|
@@ -1655,29 +1654,29 @@ function Et(e) {
|
|
|
1655
1654
|
}
|
|
1656
1655
|
function Qe(e, n) {
|
|
1657
1656
|
n === void 0 && (n = {});
|
|
1658
|
-
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({
|
|
1659
1658
|
reference: i,
|
|
1660
1659
|
element: u,
|
|
1661
1660
|
placement: r
|
|
1662
|
-
}), c =
|
|
1661
|
+
}), c = Sn(Object.assign({}, u, y)), l = _ === Xe ? c : i, f = {
|
|
1663
1662
|
top: E.top - l.top + v.top,
|
|
1664
1663
|
bottom: l.bottom - E.bottom + v.bottom,
|
|
1665
1664
|
left: E.left - l.left + v.left,
|
|
1666
1665
|
right: l.right - E.right + v.right
|
|
1667
1666
|
}, A = e.modifiersData.offset;
|
|
1668
1667
|
if (_ === Xe && A) {
|
|
1669
|
-
var
|
|
1668
|
+
var M = A[r];
|
|
1670
1669
|
Object.keys(f).forEach(function(j) {
|
|
1671
|
-
var
|
|
1672
|
-
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;
|
|
1673
1672
|
});
|
|
1674
1673
|
}
|
|
1675
1674
|
return f;
|
|
1676
1675
|
}
|
|
1677
1676
|
function sp(e, n) {
|
|
1678
1677
|
n === void 0 && (n = {});
|
|
1679
|
-
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, _ =
|
|
1680
|
-
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) === _;
|
|
1681
1680
|
}) : en, C = b.filter(function(m) {
|
|
1682
1681
|
return w.indexOf(m) >= 0;
|
|
1683
1682
|
});
|
|
@@ -1695,7 +1694,7 @@ function sp(e, n) {
|
|
|
1695
1694
|
});
|
|
1696
1695
|
}
|
|
1697
1696
|
function dp(e) {
|
|
1698
|
-
if (ae(e) ===
|
|
1697
|
+
if (ae(e) === Un)
|
|
1699
1698
|
return [];
|
|
1700
1699
|
var n = vn(e);
|
|
1701
1700
|
return [nt(e), n, nt(n)];
|
|
@@ -1704,7 +1703,7 @@ function gp(e) {
|
|
|
1704
1703
|
var n = e.state, t = e.options, a = e.name;
|
|
1705
1704
|
if (!n.modifiersData[a]._skip) {
|
|
1706
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) {
|
|
1707
|
-
return pe.concat(ae(Y) ===
|
|
1706
|
+
return pe.concat(ae(Y) === Un ? sp(n, {
|
|
1708
1707
|
placement: Y,
|
|
1709
1708
|
boundary: _,
|
|
1710
1709
|
rootBoundary: b,
|
|
@@ -1712,17 +1711,17 @@ function gp(e) {
|
|
|
1712
1711
|
flipVariations: m,
|
|
1713
1712
|
allowedAutoPlacements: v
|
|
1714
1713
|
}) : Y);
|
|
1715
|
-
}, []), y = n.rects.reference, c = n.rects.popper, l = /* @__PURE__ */ new Map(), f = !0, A = i[0],
|
|
1716
|
-
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, {
|
|
1717
1716
|
placement: j,
|
|
1718
1717
|
boundary: _,
|
|
1719
1718
|
rootBoundary: b,
|
|
1720
1719
|
altBoundary: C,
|
|
1721
1720
|
padding: w
|
|
1722
|
-
}), I =
|
|
1721
|
+
}), I = H ? B ? z : q : B ? F : V;
|
|
1723
1722
|
y[X] > c[X] && (I = vn(I));
|
|
1724
1723
|
var R = vn(I), J = [];
|
|
1725
|
-
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) {
|
|
1726
1725
|
return pe;
|
|
1727
1726
|
})) {
|
|
1728
1727
|
A = j, f = !1;
|
|
@@ -1846,31 +1845,31 @@ function hp(e) {
|
|
|
1846
1845
|
rootBoundary: w,
|
|
1847
1846
|
padding: b,
|
|
1848
1847
|
altBoundary: _
|
|
1849
|
-
}), 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, {
|
|
1850
1849
|
placement: n.placement
|
|
1851
|
-
})) : v,
|
|
1850
|
+
})) : v, M = typeof A == "number" ? {
|
|
1852
1851
|
mainAxis: A,
|
|
1853
1852
|
altAxis: A
|
|
1854
1853
|
} : Object.assign({
|
|
1855
1854
|
mainAxis: 0,
|
|
1856
1855
|
altAxis: 0
|
|
1857
|
-
}, A), j = n.modifiersData.offset ? n.modifiersData.offset[n.placement] : null,
|
|
1856
|
+
}, A), j = n.modifiersData.offset ? n.modifiersData.offset[n.placement] : null, S = {
|
|
1858
1857
|
x: 0,
|
|
1859
1858
|
y: 0
|
|
1860
1859
|
};
|
|
1861
1860
|
if (c) {
|
|
1862
1861
|
if (o) {
|
|
1863
|
-
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) : {
|
|
1864
1863
|
width: 0,
|
|
1865
1864
|
height: 0
|
|
1866
|
-
}, Y = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : xt(), se = Y[
|
|
1867
|
-
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;
|
|
1868
1867
|
}
|
|
1869
1868
|
if (s) {
|
|
1870
|
-
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 +
|
|
1871
|
-
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;
|
|
1872
1871
|
}
|
|
1873
|
-
n.modifiersData[a] =
|
|
1872
|
+
n.modifiersData[a] = S;
|
|
1874
1873
|
}
|
|
1875
1874
|
}
|
|
1876
1875
|
var yp = {
|
|
@@ -1895,7 +1894,7 @@ function xp(e) {
|
|
|
1895
1894
|
}
|
|
1896
1895
|
function Cp(e, n, t) {
|
|
1897
1896
|
t === void 0 && (t = !1);
|
|
1898
|
-
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 = {
|
|
1899
1898
|
scrollLeft: 0,
|
|
1900
1899
|
scrollTop: 0
|
|
1901
1900
|
}, d = {
|
|
@@ -1903,7 +1902,7 @@ function Cp(e, n, t) {
|
|
|
1903
1902
|
y: 0
|
|
1904
1903
|
};
|
|
1905
1904
|
return (a || !a && !t) && ((re(n) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1906
|
-
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))), {
|
|
1907
1906
|
x: p.left + s.scrollLeft - d.x,
|
|
1908
1907
|
y: p.top + s.scrollTop - d.y,
|
|
1909
1908
|
width: p.width,
|
|
@@ -1931,7 +1930,7 @@ function Tp(e) {
|
|
|
1931
1930
|
}
|
|
1932
1931
|
function $p(e) {
|
|
1933
1932
|
var n = Tp(e);
|
|
1934
|
-
return
|
|
1933
|
+
return Uo.reduce(function(t, a) {
|
|
1935
1934
|
return t.concat(n.filter(function(r) {
|
|
1936
1935
|
return r.phase === a;
|
|
1937
1936
|
}));
|
|
@@ -2011,9 +2010,9 @@ function Ap(e) {
|
|
|
2011
2010
|
if (ot(T, E)) {
|
|
2012
2011
|
_.rects = {
|
|
2013
2012
|
reference: Cp(T, nn(E), _.options.strategy === "fixed"),
|
|
2014
|
-
popper:
|
|
2015
|
-
}, _.reset = !1, _.placement = _.options.placement, _.orderedModifiers.forEach(function(
|
|
2016
|
-
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);
|
|
2017
2016
|
});
|
|
2018
2017
|
for (var i = 0; i < _.orderedModifiers.length; i++) {
|
|
2019
2018
|
if (_.reset === !0) {
|
|
@@ -2070,12 +2069,12 @@ function Ap(e) {
|
|
|
2070
2069
|
return h;
|
|
2071
2070
|
};
|
|
2072
2071
|
}
|
|
2073
|
-
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({
|
|
2074
2073
|
defaultModifiers: Dp
|
|
2075
|
-
}),
|
|
2074
|
+
}), Mp = "tippy-box", Pt = "tippy-content", At = "tippy-backdrop", Dt = "tippy-arrow", St = "tippy-svg-arrow", Oe = {
|
|
2076
2075
|
passive: !0,
|
|
2077
2076
|
capture: !0
|
|
2078
|
-
},
|
|
2077
|
+
}, Mt = function() {
|
|
2079
2078
|
return document.body;
|
|
2080
2079
|
};
|
|
2081
2080
|
function $n(e, n, t) {
|
|
@@ -2150,7 +2149,7 @@ function zn(e) {
|
|
|
2150
2149
|
function Ip(e) {
|
|
2151
2150
|
return !!(e && e._tippy && e._tippy.reference === e);
|
|
2152
2151
|
}
|
|
2153
|
-
function
|
|
2152
|
+
function Up(e) {
|
|
2154
2153
|
return xn(e) ? [e] : Lp(e) ? Ve(e) : Array.isArray(e) ? e : Ve(document.querySelectorAll(e));
|
|
2155
2154
|
}
|
|
2156
2155
|
function En(e, n) {
|
|
@@ -2167,7 +2166,7 @@ function Rt(e) {
|
|
|
2167
2166
|
var n, t = xe(e), a = t[0];
|
|
2168
2167
|
return a != null && (n = a.ownerDocument) != null && n.body ? a.ownerDocument : document;
|
|
2169
2168
|
}
|
|
2170
|
-
function
|
|
2169
|
+
function Hp(e, n) {
|
|
2171
2170
|
var t = n.clientX, a = n.clientY;
|
|
2172
2171
|
return e.every(function(r) {
|
|
2173
2172
|
var o = r.popperRect, p = r.popperState, s = r.props, d = s.interactiveBorder, w = Bt(p.placement), _ = p.modifiersData.offset;
|
|
@@ -2231,7 +2230,7 @@ var Wp = typeof window < "u" && typeof document < "u", Fp = Wp ? (
|
|
|
2231
2230
|
theme: "",
|
|
2232
2231
|
zIndex: 9999
|
|
2233
2232
|
}, G = Object.assign({
|
|
2234
|
-
appendTo:
|
|
2233
|
+
appendTo: Mt,
|
|
2235
2234
|
aria: {
|
|
2236
2235
|
content: "auto",
|
|
2237
2236
|
expanded: "auto"
|
|
@@ -2326,15 +2325,15 @@ function lt(e, n) {
|
|
|
2326
2325
|
var Jp = function() {
|
|
2327
2326
|
return "innerHTML";
|
|
2328
2327
|
};
|
|
2329
|
-
function
|
|
2328
|
+
function Mn(e, n) {
|
|
2330
2329
|
e[Jp()] = n;
|
|
2331
2330
|
}
|
|
2332
2331
|
function wt(e) {
|
|
2333
2332
|
var n = $e();
|
|
2334
|
-
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;
|
|
2335
2334
|
}
|
|
2336
2335
|
function ct(e, n) {
|
|
2337
|
-
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);
|
|
2338
2337
|
}
|
|
2339
2338
|
function hn(e) {
|
|
2340
2339
|
var n = e.firstElementChild, t = Ve(n.children);
|
|
@@ -2344,16 +2343,16 @@ function hn(e) {
|
|
|
2344
2343
|
return a.classList.contains(Pt);
|
|
2345
2344
|
}),
|
|
2346
2345
|
arrow: t.find(function(a) {
|
|
2347
|
-
return a.classList.contains(Dt) || a.classList.contains(
|
|
2346
|
+
return a.classList.contains(Dt) || a.classList.contains(St);
|
|
2348
2347
|
}),
|
|
2349
2348
|
backdrop: t.find(function(a) {
|
|
2350
2349
|
return a.classList.contains(At);
|
|
2351
2350
|
})
|
|
2352
2351
|
};
|
|
2353
2352
|
}
|
|
2354
|
-
function
|
|
2353
|
+
function Ut(e) {
|
|
2355
2354
|
var n = $e(), t = $e();
|
|
2356
|
-
t.className =
|
|
2355
|
+
t.className = Mp, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
|
|
2357
2356
|
var a = $e();
|
|
2358
2357
|
a.className = Pt, a.setAttribute("data-state", "hidden"), ct(a, e.props), n.appendChild(t), t.appendChild(a), r(e.props, e.props);
|
|
2359
2358
|
function r(o, p) {
|
|
@@ -2365,7 +2364,7 @@ function Ht(e) {
|
|
|
2365
2364
|
onUpdate: r
|
|
2366
2365
|
};
|
|
2367
2366
|
}
|
|
2368
|
-
|
|
2367
|
+
Ut.$$tippy = !0;
|
|
2369
2368
|
var Qp = 1, un = [], An = [];
|
|
2370
2369
|
function Zp(e, n) {
|
|
2371
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 = {
|
|
@@ -2410,23 +2409,23 @@ function Zp(e, n) {
|
|
|
2410
2409
|
return De(), Q(), I(), R("onCreate", [i]), t.showOnCreate && Fe(), c.addEventListener("mouseenter", function() {
|
|
2411
2410
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
2412
2411
|
}), c.addEventListener("mouseleave", function() {
|
|
2413
|
-
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
2412
|
+
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && H().addEventListener("mousemove", m);
|
|
2414
2413
|
}), i;
|
|
2415
|
-
function
|
|
2414
|
+
function M() {
|
|
2416
2415
|
var g = i.props.touch;
|
|
2417
2416
|
return Array.isArray(g) ? g : [g, 0];
|
|
2418
2417
|
}
|
|
2419
2418
|
function j() {
|
|
2420
|
-
return
|
|
2419
|
+
return M()[0] === "hold";
|
|
2421
2420
|
}
|
|
2422
|
-
function
|
|
2421
|
+
function S() {
|
|
2423
2422
|
var g;
|
|
2424
2423
|
return !!((g = i.props.render) != null && g.$$tippy);
|
|
2425
2424
|
}
|
|
2426
2425
|
function B() {
|
|
2427
2426
|
return v || e;
|
|
2428
2427
|
}
|
|
2429
|
-
function
|
|
2428
|
+
function H() {
|
|
2430
2429
|
var g = B().parentNode;
|
|
2431
2430
|
return g ? Rt(g) : document;
|
|
2432
2431
|
}
|
|
@@ -2452,11 +2451,11 @@ function Zp(e, n) {
|
|
|
2452
2451
|
if (g.content) {
|
|
2453
2452
|
var k = "aria-" + g.content, $ = c.id, D = xe(i.props.triggerTarget || e);
|
|
2454
2453
|
D.forEach(function(P) {
|
|
2455
|
-
var
|
|
2454
|
+
var U = P.getAttribute(k);
|
|
2456
2455
|
if (i.state.isVisible)
|
|
2457
|
-
P.setAttribute(k,
|
|
2456
|
+
P.setAttribute(k, U ? U + " " + $ : $);
|
|
2458
2457
|
else {
|
|
2459
|
-
var N =
|
|
2458
|
+
var N = U && U.replace($, "").trim();
|
|
2460
2459
|
N ? P.setAttribute(k, N) : P.removeAttribute(k);
|
|
2461
2460
|
}
|
|
2462
2461
|
});
|
|
@@ -2471,7 +2470,7 @@ function Zp(e, n) {
|
|
|
2471
2470
|
}
|
|
2472
2471
|
}
|
|
2473
2472
|
function be() {
|
|
2474
|
-
|
|
2473
|
+
H().removeEventListener("mousemove", m), un = un.filter(function(g) {
|
|
2475
2474
|
return g !== m;
|
|
2476
2475
|
});
|
|
2477
2476
|
}
|
|
@@ -2499,11 +2498,11 @@ function Zp(e, n) {
|
|
|
2499
2498
|
d = !1;
|
|
2500
2499
|
}
|
|
2501
2500
|
function Y() {
|
|
2502
|
-
var g =
|
|
2501
|
+
var g = H();
|
|
2503
2502
|
g.addEventListener("mousedown", Z, !0), g.addEventListener("touchend", Z, Oe), g.addEventListener("touchstart", pe, Oe), g.addEventListener("touchmove", he, Oe);
|
|
2504
2503
|
}
|
|
2505
2504
|
function se() {
|
|
2506
|
-
var g =
|
|
2505
|
+
var g = H();
|
|
2507
2506
|
g.removeEventListener("mousedown", Z, !0), g.removeEventListener("touchend", Z, Oe), g.removeEventListener("touchstart", pe, Oe), g.removeEventListener("touchmove", he, Oe);
|
|
2508
2507
|
}
|
|
2509
2508
|
function Pe(g, k) {
|
|
@@ -2574,14 +2573,14 @@ function Zp(e, n) {
|
|
|
2574
2573
|
var k = g.target, $ = B().contains(k) || c.contains(k);
|
|
2575
2574
|
if (!(g.type === "mousemove" && $)) {
|
|
2576
2575
|
var D = ce().concat(c).map(function(P) {
|
|
2577
|
-
var
|
|
2578
|
-
return
|
|
2576
|
+
var U, N = P._tippy, Se = (U = N.popperInstance) == null ? void 0 : U.state;
|
|
2577
|
+
return Se ? {
|
|
2579
2578
|
popperRect: P.getBoundingClientRect(),
|
|
2580
|
-
popperState:
|
|
2579
|
+
popperState: Se,
|
|
2581
2580
|
props: t
|
|
2582
2581
|
} : null;
|
|
2583
2582
|
}).filter(Boolean);
|
|
2584
|
-
|
|
2583
|
+
Hp(D, g) && (be(), ye(g));
|
|
2585
2584
|
}
|
|
2586
2585
|
}
|
|
2587
2586
|
function rn(g) {
|
|
@@ -2602,7 +2601,7 @@ function Zp(e, n) {
|
|
|
2602
2601
|
}
|
|
2603
2602
|
function on() {
|
|
2604
2603
|
pn();
|
|
2605
|
-
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 ? {
|
|
2606
2605
|
getBoundingClientRect: P,
|
|
2607
2606
|
contextElement: P.contextElement || B()
|
|
2608
2607
|
} : e, Xn = {
|
|
@@ -2611,12 +2610,12 @@ function Zp(e, n) {
|
|
|
2611
2610
|
phase: "beforeWrite",
|
|
2612
2611
|
requires: ["computeStyles"],
|
|
2613
2612
|
fn: function(ln) {
|
|
2614
|
-
var
|
|
2615
|
-
if (
|
|
2613
|
+
var Me = ln.state;
|
|
2614
|
+
if (S()) {
|
|
2616
2615
|
var Xt = X(), Tn = Xt.box;
|
|
2617
2616
|
["placement", "reference-hidden", "escaped"].forEach(function(wn) {
|
|
2618
|
-
wn === "placement" ? Tn.setAttribute("data-placement",
|
|
2619
|
-
}),
|
|
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 = {};
|
|
2620
2619
|
}
|
|
2621
2620
|
}
|
|
2622
2621
|
}, ke = [{
|
|
@@ -2642,16 +2641,16 @@ function Zp(e, n) {
|
|
|
2642
2641
|
}, {
|
|
2643
2642
|
name: "computeStyles",
|
|
2644
2643
|
options: {
|
|
2645
|
-
adaptive: !
|
|
2644
|
+
adaptive: !U
|
|
2646
2645
|
}
|
|
2647
2646
|
}, Xn];
|
|
2648
|
-
|
|
2647
|
+
S() && N && ke.push({
|
|
2649
2648
|
name: "arrow",
|
|
2650
2649
|
options: {
|
|
2651
2650
|
element: N,
|
|
2652
2651
|
padding: 3
|
|
2653
2652
|
}
|
|
2654
|
-
}), ke.push.apply(ke, k?.modifiers || []), i.popperInstance =
|
|
2653
|
+
}), ke.push.apply(ke, k?.modifiers || []), i.popperInstance = Sp(Se, c, Object.assign({}, k, {
|
|
2655
2654
|
placement: $,
|
|
2656
2655
|
onFirstUpdate: C,
|
|
2657
2656
|
modifiers: ke
|
|
@@ -2662,14 +2661,14 @@ function Zp(e, n) {
|
|
|
2662
2661
|
}
|
|
2663
2662
|
function ge() {
|
|
2664
2663
|
var g = i.props.appendTo, k, $ = B();
|
|
2665
|
-
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();
|
|
2666
2665
|
}
|
|
2667
2666
|
function ce() {
|
|
2668
2667
|
return Ve(c.querySelectorAll("[data-tippy-root]"));
|
|
2669
2668
|
}
|
|
2670
2669
|
function Fe(g) {
|
|
2671
2670
|
i.clearDelayTimeouts(), g && R("onTrigger", [i, g]), Y();
|
|
2672
|
-
var k = L(!0), $ =
|
|
2671
|
+
var k = L(!0), $ = M(), D = $[0], P = $[1];
|
|
2673
2672
|
ee.isTouch && D === "hold" && P && (k = P), k ? a = setTimeout(function() {
|
|
2674
2673
|
i.show();
|
|
2675
2674
|
}, k) : i.show();
|
|
@@ -2718,18 +2717,18 @@ function Zp(e, n) {
|
|
|
2718
2717
|
function qt() {
|
|
2719
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);
|
|
2720
2719
|
if (!(g || k || $ || D) && !B().hasAttribute("disabled") && (R("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
2721
|
-
if (i.state.isVisible = !0,
|
|
2722
|
-
var
|
|
2723
|
-
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);
|
|
2724
2723
|
}
|
|
2725
2724
|
C = function() {
|
|
2726
2725
|
var ke;
|
|
2727
2726
|
if (!(!i.state.isVisible || w)) {
|
|
2728
|
-
if (w = !0, c.offsetHeight, c.style.transition = i.props.moveTransition,
|
|
2729
|
-
var Cn = X(), ln = Cn.box,
|
|
2730
|
-
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");
|
|
2731
2730
|
}
|
|
2732
|
-
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() {
|
|
2733
2732
|
i.state.isShown = !0, R("onShown", [i]);
|
|
2734
2733
|
});
|
|
2735
2734
|
}
|
|
@@ -2739,15 +2738,15 @@ function Zp(e, n) {
|
|
|
2739
2738
|
function Nt() {
|
|
2740
2739
|
var g = !i.state.isVisible, k = i.state.isDestroyed, $ = !i.state.isEnabled, D = $n(i.props.duration, 1, G.duration);
|
|
2741
2740
|
if (!(g || k || $) && (R("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
2742
|
-
if (i.state.isVisible = !1, i.state.isShown = !1, w = !1, p = !1,
|
|
2743
|
-
var P = X(),
|
|
2744
|
-
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"));
|
|
2745
2744
|
}
|
|
2746
|
-
J(), Q(), i.props.animation ?
|
|
2745
|
+
J(), Q(), i.props.animation ? S() && Pe(D, i.unmount) : i.unmount();
|
|
2747
2746
|
}
|
|
2748
2747
|
}
|
|
2749
2748
|
function Wt(g) {
|
|
2750
|
-
|
|
2749
|
+
H().addEventListener("mousemove", m), st(un, m), m(g);
|
|
2751
2750
|
}
|
|
2752
2751
|
function Ft() {
|
|
2753
2752
|
i.state.isVisible && i.hide(), i.state.isMounted && (pn(), ce().forEach(function(g) {
|
|
@@ -2766,7 +2765,7 @@ function O(e, n) {
|
|
|
2766
2765
|
Np();
|
|
2767
2766
|
var a = Object.assign({}, n, {
|
|
2768
2767
|
plugins: t
|
|
2769
|
-
}), r =
|
|
2768
|
+
}), r = Up(e), o = r.reduce(function(p, s) {
|
|
2770
2769
|
var d = s && Zp(s, a);
|
|
2771
2770
|
return d && p.push(d), p;
|
|
2772
2771
|
}, []);
|
|
@@ -2939,7 +2938,7 @@ var jn = {
|
|
|
2939
2938
|
clientX: 0,
|
|
2940
2939
|
clientY: 0
|
|
2941
2940
|
}, mn = [];
|
|
2942
|
-
function
|
|
2941
|
+
function Ht(e) {
|
|
2943
2942
|
var n = e.clientX, t = e.clientY;
|
|
2944
2943
|
jn = {
|
|
2945
2944
|
clientX: n,
|
|
@@ -2947,10 +2946,10 @@ function Ut(e) {
|
|
|
2947
2946
|
};
|
|
2948
2947
|
}
|
|
2949
2948
|
function is(e) {
|
|
2950
|
-
e.addEventListener("mousemove",
|
|
2949
|
+
e.addEventListener("mousemove", Ht);
|
|
2951
2950
|
}
|
|
2952
2951
|
function rs(e) {
|
|
2953
|
-
e.removeEventListener("mousemove",
|
|
2952
|
+
e.removeEventListener("mousemove", Ht);
|
|
2954
2953
|
}
|
|
2955
2954
|
var os = {
|
|
2956
2955
|
name: "followCursor",
|
|
@@ -2976,16 +2975,16 @@ var os = {
|
|
|
2976
2975
|
(x || !n.props.interactive) && n.setProps({
|
|
2977
2976
|
// @ts-ignore - unneeded DOMRect properties
|
|
2978
2977
|
getReferenceClientRect: function() {
|
|
2979
|
-
var f = t.getBoundingClientRect(), A = T,
|
|
2980
|
-
u === "initial" && (A = f.left + y,
|
|
2981
|
-
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;
|
|
2982
2981
|
return {
|
|
2983
|
-
width:
|
|
2982
|
+
width: S - H,
|
|
2984
2983
|
height: B - j,
|
|
2985
2984
|
top: j,
|
|
2986
|
-
right:
|
|
2985
|
+
right: S,
|
|
2987
2986
|
bottom: B,
|
|
2988
|
-
left:
|
|
2987
|
+
left: H
|
|
2989
2988
|
};
|
|
2990
2989
|
}
|
|
2991
2990
|
});
|
|
@@ -3154,7 +3153,7 @@ function ut(e, n) {
|
|
|
3154
3153
|
return e && n ? e.top !== n.top || e.right !== n.right || e.bottom !== n.bottom || e.left !== n.left : !0;
|
|
3155
3154
|
}
|
|
3156
3155
|
O.setDefaultProps({
|
|
3157
|
-
render:
|
|
3156
|
+
render: Ut
|
|
3158
3157
|
});
|
|
3159
3158
|
O.setDefaultProps({
|
|
3160
3159
|
//@ts-ignore
|
|
@@ -3571,6 +3570,7 @@ const vs = /* @__PURE__ */ fe({
|
|
|
3571
3570
|
}, Cs = { install: Os };
|
|
3572
3571
|
export {
|
|
3573
3572
|
Ln as UiFlex,
|
|
3573
|
+
Br as UiIcon,
|
|
3574
3574
|
In as UiText,
|
|
3575
3575
|
Oo as UiThemeToggler,
|
|
3576
3576
|
vt as UiTooltipContent,
|