@blueprint-chart/ui 2.2.1 → 2.2.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/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var er = Object.defineProperty;
|
|
|
2
2
|
var tr = (e, t, n) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Ge = (e, t, n) => tr(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as Fa from "vue";
|
|
5
|
-
import { ref as ue, provide as nn, inject as Ve, getCurrentInstance as Ln, onMounted as An, watch as Me, onBeforeUnmount as fo, computed as
|
|
5
|
+
import { ref as ue, provide as nn, inject as Ve, getCurrentInstance as Ln, onMounted as An, watch as Me, onBeforeUnmount as fo, computed as g, shallowRef as Te, watchEffect as nr, toValue as fe, effectScope as or, getCurrentScope as ar, onScopeDispose as lr, isRef as Tn, unref as f, readonly as Ae, toRef as mt, defineComponent as S, useAttrs as on, openBlock as v, createBlock as R, resolveDynamicComponent as Be, mergeProps as _e, withCtx as F, renderSlot as M, useSlots as xt, normalizeClass as O, createElementBlock as y, createTextVNode as re, toDisplayString as L, createCommentVNode as D, useTemplateRef as ke, useModel as ae, Fragment as le, createVNode as Y, mergeModels as Q, useId as Da, nextTick as Ue, onUnmounted as Pn, h as Ra, Teleport as rr, createElementVNode as p, normalizeProps as at, guardReactiveProps as lt, Transition as vo, withDirectives as Lt, normalizeStyle as Ce, vShow as Va, createSlots as vt, markRaw as xe, renderList as we, vModelCheckbox as Oa, withKeys as Mt, useCssVars as Ea, withModifiers as rt, onActivated as ir, reactive as sr, vModelText as no, resolveComponent as po } from "vue";
|
|
6
6
|
import { useMediaQuery as ur, onClickOutside as cr, useElementBounding as dr, useResizeObserver as fr, useEventListener as Uo } from "@vueuse/core";
|
|
7
7
|
import { BPopover as vr, BTooltip as pr, BBadge as mr, BButton as Hn } from "bootstrap-vue-next";
|
|
8
8
|
var hr = /* @__PURE__ */ ((e) => (e.Xxs = "2xs", e.Xs = "xs", e.Sm = "sm", e.Md = "md", e.Lg = "lg", e.Xl = "xl", e.Xxl = "2xl", e))(hr || {}), de = /* @__PURE__ */ ((e) => (e.BarVertical = "bar-vertical", e.BarHorizontal = "bar-horizontal", e.BarMulti = "bar-multi", e.ColumnStacked = "column-stacked", e.BarStacked = "bar-stacked", e.BarSplit = "bar-split", e.BarGrouped = "bar-grouped", e.Line = "line", e.LineMulti = "line-multi", e.Area = "area", e.AreaStacked = "area-stacked", e.Donut = "donut", e.Pie = "pie", e))(de || {});
|
|
@@ -84,13 +84,13 @@ var xr = (e, t) => {
|
|
|
84
84
|
function $r(e = {}, t) {
|
|
85
85
|
const n = Ve(zn, ue({})), o = Za("useDefaults");
|
|
86
86
|
if (t = t ?? o.type.name ?? o.type.__name, !t) throw new Error("[Bvn] Could not determine component name");
|
|
87
|
-
const a =
|
|
87
|
+
const a = g(() => {
|
|
88
88
|
var s;
|
|
89
89
|
return (s = n.value) == null ? void 0 : s[e._as ?? t];
|
|
90
90
|
}), l = new Proxy(e, { get(s, i) {
|
|
91
|
-
var c, m,
|
|
91
|
+
var c, m, w, x;
|
|
92
92
|
const d = Reflect.get(s, i);
|
|
93
|
-
return i === "class" || i === "style" ? [(c = a.value) == null ? void 0 : c[i], d].filter((k) => k != null) : typeof i == "string" && !xr(o.vnode, i) ? ((m = a.value) == null ? void 0 : m[i]) ?? ((x = (
|
|
93
|
+
return i === "class" || i === "style" ? [(c = a.value) == null ? void 0 : c[i], d].filter((k) => k != null) : typeof i == "string" && !xr(o.vnode, i) ? ((m = a.value) == null ? void 0 : m[i]) ?? ((x = (w = n.value) == null ? void 0 : w.global) == null ? void 0 : x[i]) ?? d : d;
|
|
94
94
|
} }), r = Te();
|
|
95
95
|
nr(() => {
|
|
96
96
|
if (a.value) {
|
|
@@ -100,7 +100,7 @@ function $r(e = {}, t) {
|
|
|
100
100
|
});
|
|
101
101
|
function u() {
|
|
102
102
|
const s = wr(zn, o);
|
|
103
|
-
nn(zn,
|
|
103
|
+
nn(zn, g(() => r.value ? Qa((s == null ? void 0 : s.value) ?? {}, r.value) : s == null ? void 0 : s.value));
|
|
104
104
|
}
|
|
105
105
|
return {
|
|
106
106
|
props: l,
|
|
@@ -141,12 +141,12 @@ function Tr(...e) {
|
|
|
141
141
|
n && (clearTimeout(n), n = void 0, a(), a = wt);
|
|
142
142
|
};
|
|
143
143
|
return (m) => {
|
|
144
|
-
const
|
|
145
|
-
return d(),
|
|
144
|
+
const w = fe(r), x = Date.now() - t, k = () => l = m();
|
|
145
|
+
return d(), w <= 0 ? (t = Date.now(), k()) : (x > w ? (t = Date.now(), (s || !o) && k()) : u && (l = new Promise((b, h) => {
|
|
146
146
|
a = i ? h : b, n = setTimeout(() => {
|
|
147
147
|
t = Date.now(), o = !0, b(k()), d();
|
|
148
|
-
}, Math.max(0,
|
|
149
|
-
})), !s && !n && (n = setTimeout(() => o = !0,
|
|
148
|
+
}, Math.max(0, w - x));
|
|
149
|
+
})), !s && !n && (n = setTimeout(() => o = !0, w)), o = !1, l);
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
function Un(e) {
|
|
@@ -168,7 +168,7 @@ function Wo(e, t = 200, n = !1, o = !0, a = !1) {
|
|
|
168
168
|
// @__NO_SIDE_EFFECTS__
|
|
169
169
|
function gn(e, t = {}) {
|
|
170
170
|
const { method: n = "parseFloat", radix: o, nanToZero: a } = t;
|
|
171
|
-
return
|
|
171
|
+
return g(() => {
|
|
172
172
|
let l = fe(e);
|
|
173
173
|
return typeof n == "function" ? l = n(l) : typeof l == "string" && (l = Number[n](l, o)), a && Number.isNaN(l) && (l = 0), l;
|
|
174
174
|
});
|
|
@@ -186,7 +186,7 @@ function Et(e) {
|
|
|
186
186
|
return (t = n == null ? void 0 : n.$el) !== null && t !== void 0 ? t : n;
|
|
187
187
|
}
|
|
188
188
|
function Ke(...e) {
|
|
189
|
-
const t = (o, a, l, r) => (o.addEventListener(a, l, r), () => o.removeEventListener(a, l, r)), n =
|
|
189
|
+
const t = (o, a, l, r) => (o.addEventListener(a, l, r), () => o.removeEventListener(a, l, r)), n = g(() => {
|
|
190
190
|
const o = Un(fe(e[0])).filter((a) => a != null);
|
|
191
191
|
return o.every((a) => typeof a != "string") ? o : void 0;
|
|
192
192
|
});
|
|
@@ -200,7 +200,7 @@ function Ke(...e) {
|
|
|
200
200
|
];
|
|
201
201
|
}, ([o, a, l, r], u, s) => {
|
|
202
202
|
if (!(o != null && o.length) || !(a != null && a.length) || !(l != null && l.length)) return;
|
|
203
|
-
const i = Sr(r) ? { ...r } : r, d = o.flatMap((c) => a.flatMap((m) => l.map((
|
|
203
|
+
const i = Sr(r) ? { ...r } : r, d = o.flatMap((c) => a.flatMap((m) => l.map((w) => t(c, m, w, i))));
|
|
204
204
|
s(() => {
|
|
205
205
|
d.forEach((c) => c());
|
|
206
206
|
});
|
|
@@ -221,10 +221,10 @@ function Ja(e, t, n = {}) {
|
|
|
221
221
|
}
|
|
222
222
|
let s = !0;
|
|
223
223
|
const i = (b) => fe(a).some((h) => {
|
|
224
|
-
if (typeof h == "string") return Array.from(o.document.querySelectorAll(h)).some((
|
|
224
|
+
if (typeof h == "string") return Array.from(o.document.querySelectorAll(h)).some((C) => C === b.target || b.composedPath().includes(C));
|
|
225
225
|
{
|
|
226
|
-
const
|
|
227
|
-
return
|
|
226
|
+
const C = Et(h);
|
|
227
|
+
return C && (b.target === C || b.composedPath().includes(C));
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
function d(b) {
|
|
@@ -232,8 +232,8 @@ function Ja(e, t, n = {}) {
|
|
|
232
232
|
return h && h.$.subTree.shapeFlag === 16;
|
|
233
233
|
}
|
|
234
234
|
function c(b, h) {
|
|
235
|
-
const
|
|
236
|
-
return
|
|
235
|
+
const C = fe(b), _ = C.$.subTree && C.$.subTree.children;
|
|
236
|
+
return _ == null || !Array.isArray(_) ? !1 : _.some(($) => $.el === h.target || h.composedPath().includes($.el));
|
|
237
237
|
}
|
|
238
238
|
const m = (b) => {
|
|
239
239
|
const h = Et(e);
|
|
@@ -245,11 +245,11 @@ function Ja(e, t, n = {}) {
|
|
|
245
245
|
t(b);
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
|
-
let
|
|
248
|
+
let w = !1;
|
|
249
249
|
const x = [
|
|
250
250
|
Ke(o, "click", (b) => {
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
w || (w = !0, setTimeout(() => {
|
|
252
|
+
w = !1;
|
|
253
253
|
}, 0), m(b));
|
|
254
254
|
}, {
|
|
255
255
|
passive: !0,
|
|
@@ -262,8 +262,8 @@ function Ja(e, t, n = {}) {
|
|
|
262
262
|
r && Ke(o, "blur", (b) => {
|
|
263
263
|
setTimeout(() => {
|
|
264
264
|
var h;
|
|
265
|
-
const
|
|
266
|
-
((h = o.document.activeElement) === null || h === void 0 ? void 0 : h.tagName) === "IFRAME" && !(
|
|
265
|
+
const C = Et(e);
|
|
266
|
+
((h = o.document.activeElement) === null || h === void 0 ? void 0 : h.tagName) === "IFRAME" && !(C != null && C.contains(o.document.activeElement)) && t(b);
|
|
267
267
|
}, 0);
|
|
268
268
|
}, { passive: !0 })
|
|
269
269
|
].filter(Boolean), k = () => x.forEach((b) => b());
|
|
@@ -289,12 +289,12 @@ function Bt(...e) {
|
|
|
289
289
|
}, r);
|
|
290
290
|
}
|
|
291
291
|
function el(e, t = {}) {
|
|
292
|
-
const { initialValue: n = !1, focusVisible: o = !1, preventScroll: a = !1 } = t, l = Te(!1), r =
|
|
292
|
+
const { initialValue: n = !1, focusVisible: o = !1, preventScroll: a = !1 } = t, l = Te(!1), r = g(() => Et(e)), u = { passive: !0 };
|
|
293
293
|
Ke(r, "focus", (i) => {
|
|
294
294
|
var d, c;
|
|
295
295
|
(!o || !((d = (c = i.target).matches) === null || d === void 0) && d.call(c, ":focus-visible")) && (l.value = !0);
|
|
296
296
|
}, u), Ke(r, "blur", () => l.value = !1, u);
|
|
297
|
-
const s =
|
|
297
|
+
const s = g({
|
|
298
298
|
get: () => l.value,
|
|
299
299
|
set(i) {
|
|
300
300
|
var d, c;
|
|
@@ -320,28 +320,28 @@ function Rr(e = {}) {
|
|
|
320
320
|
y: 0
|
|
321
321
|
}, window: l = In, target: r = l, scroll: u = !0, eventFilter: s } = e;
|
|
322
322
|
let i = null, d = 0, c = 0;
|
|
323
|
-
const m = Te(a.x),
|
|
323
|
+
const m = Te(a.x), w = Te(a.y), x = Te(null), k = typeof t == "function" ? t : Dr[t], b = (B) => {
|
|
324
324
|
const I = k(B);
|
|
325
|
-
i = B, I && ([m.value,
|
|
325
|
+
i = B, I && ([m.value, w.value] = I, x.value = "mouse"), l && (d = l.scrollX, c = l.scrollY);
|
|
326
326
|
}, h = (B) => {
|
|
327
327
|
if (B.touches.length > 0) {
|
|
328
328
|
const I = k(B.touches[0]);
|
|
329
|
-
I && ([m.value,
|
|
329
|
+
I && ([m.value, w.value] = I, x.value = "touch");
|
|
330
330
|
}
|
|
331
|
-
},
|
|
331
|
+
}, C = () => {
|
|
332
332
|
if (!i || !l) return;
|
|
333
333
|
const B = k(i);
|
|
334
|
-
i instanceof MouseEvent && B && (m.value = B[0] + l.scrollX - d,
|
|
335
|
-
},
|
|
336
|
-
m.value = a.x,
|
|
337
|
-
},
|
|
334
|
+
i instanceof MouseEvent && B && (m.value = B[0] + l.scrollX - d, w.value = B[1] + l.scrollY - c);
|
|
335
|
+
}, _ = () => {
|
|
336
|
+
m.value = a.x, w.value = a.y;
|
|
337
|
+
}, $ = s ? (B) => s(() => b(B), {}) : (B) => b(B), W = s ? (B) => s(() => h(B), {}) : (B) => h(B), P = s ? () => s(() => C(), {}) : () => C();
|
|
338
338
|
if (r) {
|
|
339
339
|
const B = { passive: !0 };
|
|
340
|
-
Ke(r, ["mousemove", "dragover"],
|
|
340
|
+
Ke(r, ["mousemove", "dragover"], $, B), n && t !== "movement" && (Ke(r, ["touchstart", "touchmove"], W, B), o && Ke(r, "touchend", _, B)), u && t === "page" && Ke(l, "scroll", P, B);
|
|
341
341
|
}
|
|
342
342
|
return {
|
|
343
343
|
x: m,
|
|
344
|
-
y,
|
|
344
|
+
y: w,
|
|
345
345
|
sourceType: x
|
|
346
346
|
};
|
|
347
347
|
}
|
|
@@ -349,10 +349,10 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
349
349
|
const t = e.trim();
|
|
350
350
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
351
351
|
}, Er = (e) => e.replace(/-./g, (t) => t.charAt(1).toUpperCase()).replace(/\b\w/g, (t) => t.toUpperCase()).replace(/\s+/g, ""), Nr = (e) => !!(e.href || e.to), go = (e, t) => {
|
|
352
|
-
const n = Ae(mt(t)), o = Ae(mt(e)), a =
|
|
352
|
+
const n = Ae(mt(t)), o = Ae(mt(e)), a = g(() => Nr(o.value));
|
|
353
353
|
return {
|
|
354
354
|
computedLink: a,
|
|
355
|
-
computedLinkProps:
|
|
355
|
+
computedLinkProps: g(() => a.value ? Vr(o.value, n.value ?? [
|
|
356
356
|
"active",
|
|
357
357
|
"activeClass",
|
|
358
358
|
"disabled",
|
|
@@ -382,31 +382,31 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
382
382
|
]) : {})
|
|
383
383
|
};
|
|
384
384
|
}, Hr = ({ to: e, disabled: t, href: n, replace: o, routerComponentName: a }) => {
|
|
385
|
-
var
|
|
386
|
-
const l = Ln(), r = (I = (B = (P = (
|
|
385
|
+
var W, P, B, I, V, j, te, T;
|
|
386
|
+
const l = Ln(), r = (I = (B = (P = (W = l == null ? void 0 : l.appContext) == null ? void 0 : W.app) == null ? void 0 : P.config) == null ? void 0 : B.globalProperties) == null ? void 0 : I.$router, u = (T = (te = (j = (V = l == null ? void 0 : l.appContext) == null ? void 0 : V.app) == null ? void 0 : j.config) == null ? void 0 : te.globalProperties) == null ? void 0 : T.$route, s = Be("RouterLink"), i = g(() => fe(e) || ""), d = Ae(mt(o)), c = g(() => {
|
|
387
387
|
const E = fe(a);
|
|
388
388
|
return typeof E == "string" ? Er(E) : E;
|
|
389
|
-
}), m = typeof c.value != "string" && "useLink" in c.value ? c.value.useLink : typeof s != "string" && "useLink" in s ? s.useLink : null,
|
|
389
|
+
}), m = typeof c.value != "string" && "useLink" in c.value ? c.value.useLink : typeof s != "string" && "useLink" in s ? s.useLink : null, w = g(() => {
|
|
390
390
|
var E, H;
|
|
391
391
|
return typeof ((H = (E = l == null ? void 0 : l.appContext) == null ? void 0 : E.app) == null ? void 0 : H.$nuxt) < "u";
|
|
392
|
-
}), x =
|
|
392
|
+
}), x = g(() => c.value === "RouterLink"), k = g(() => {
|
|
393
393
|
var E, H;
|
|
394
394
|
return fe(t) || !i.value ? "a" : typeof c.value != "string" ? c.value : x.value && typeof s != "string" ? s : ((H = (E = l == null ? void 0 : l.appContext) == null ? void 0 : E.app) == null ? void 0 : H.component(c.value)) || "a";
|
|
395
|
-
}), b =
|
|
395
|
+
}), b = g(() => k.value !== "a" && !x.value && !w.value), h = g(() => x.value || w.value), C = g(() => ({
|
|
396
396
|
to: i.value,
|
|
397
397
|
replace: d.value
|
|
398
|
-
})),
|
|
398
|
+
})), _ = m == null ? void 0 : m({
|
|
399
399
|
to: i,
|
|
400
400
|
replace: d
|
|
401
|
-
}),
|
|
401
|
+
}), $ = g(() => h.value && fe(e) ? _ : null);
|
|
402
402
|
return {
|
|
403
403
|
isNonStandardTag: b,
|
|
404
404
|
tag: k,
|
|
405
405
|
isRouterLink: x,
|
|
406
|
-
isNuxtLink:
|
|
407
|
-
computedHref:
|
|
408
|
-
var
|
|
409
|
-
if ((
|
|
406
|
+
isNuxtLink: w,
|
|
407
|
+
computedHref: g(() => {
|
|
408
|
+
var q;
|
|
409
|
+
if ((q = $.value) != null && q.href.value && i.value) return $.value.href.value;
|
|
410
410
|
const E = "#", H = fe(n);
|
|
411
411
|
if (H) return H;
|
|
412
412
|
if (typeof i.value == "string") return i.value || E;
|
|
@@ -419,10 +419,10 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
419
419
|
routerName: c,
|
|
420
420
|
router: r,
|
|
421
421
|
route: u,
|
|
422
|
-
link:
|
|
423
|
-
linkProps:
|
|
422
|
+
link: $,
|
|
423
|
+
linkProps: C
|
|
424
424
|
};
|
|
425
|
-
}, tl = (e) =>
|
|
425
|
+
}, tl = (e) => g(() => {
|
|
426
426
|
const t = fe(e);
|
|
427
427
|
return {
|
|
428
428
|
[`link-${t.variant}`]: t.variant !== null,
|
|
@@ -498,7 +498,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
498
498
|
to: () => n.to,
|
|
499
499
|
replace: () => n.replace,
|
|
500
500
|
href: () => n.href
|
|
501
|
-
}), m = Ve(qa, null),
|
|
501
|
+
}), m = Ve(qa, null), w = Ve(Ga, null), x = tl(n), k = g(() => {
|
|
502
502
|
var P, B;
|
|
503
503
|
return [
|
|
504
504
|
x.value,
|
|
@@ -511,7 +511,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
511
511
|
"stretched-link": n.stretched
|
|
512
512
|
}
|
|
513
513
|
];
|
|
514
|
-
}), b =
|
|
514
|
+
}), b = g(() => ({
|
|
515
515
|
[jo]: n.active,
|
|
516
516
|
disabled: n.disabled
|
|
517
517
|
})), h = (P) => {
|
|
@@ -520,24 +520,24 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
520
520
|
P.preventDefault(), P.stopImmediatePropagation();
|
|
521
521
|
return;
|
|
522
522
|
}
|
|
523
|
-
(((B = m == null ? void 0 : m.isNav) == null ? void 0 : B.value) === !0 &&
|
|
524
|
-
},
|
|
523
|
+
(((B = m == null ? void 0 : m.isNav) == null ? void 0 : B.value) === !0 && w === null || w !== null && ((I = w.noAutoClose) == null ? void 0 : I.value) !== !0) && ((V = m == null ? void 0 : m.hide) == null || V.call(m)), o("click", P);
|
|
524
|
+
}, C = g(() => n.target === "_blank" ? !n.rel && n.noRel ? "noopener" : n.rel : void 0), _ = g(() => n.disabled ? "-1" : typeof a.tabindex > "u" ? null : a.tabindex), $ = g(() => ({
|
|
525
525
|
...n.noPrefetch ? { noPrefetch: n.noPrefetch } : { prefetch: n.prefetch },
|
|
526
526
|
prefetchOn: n.prefetchOn,
|
|
527
527
|
prefetchedClass: n.prefetchedClass,
|
|
528
528
|
...d.value
|
|
529
|
-
})),
|
|
529
|
+
})), W = g(() => ({
|
|
530
530
|
...i.value ? d.value : void 0,
|
|
531
|
-
...s.value || c.value ?
|
|
531
|
+
...s.value || c.value ? $.value : void 0
|
|
532
532
|
}));
|
|
533
533
|
return (P, B) => (v(), R(Be(f(r)), _e({
|
|
534
534
|
class: k.value,
|
|
535
535
|
target: f(n).target,
|
|
536
536
|
href: f(l),
|
|
537
|
-
rel:
|
|
538
|
-
tabindex:
|
|
537
|
+
rel: C.value,
|
|
538
|
+
tabindex: _.value,
|
|
539
539
|
"aria-disabled": f(n).disabled ? !0 : null
|
|
540
|
-
},
|
|
540
|
+
}, W.value, { onClick: B[0] || (B[0] = (I) => {
|
|
541
541
|
var V;
|
|
542
542
|
h(I), (V = f(u)) == null || V.navigate(I);
|
|
543
543
|
}) }), {
|
|
@@ -569,7 +569,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
569
569
|
if (e.getAttribute("display") === "none") return !1;
|
|
570
570
|
const t = e.getBoundingClientRect();
|
|
571
571
|
return t && t.height > 0 && t.width > 0;
|
|
572
|
-
}, rn = (e) =>
|
|
572
|
+
}, rn = (e) => g(() => {
|
|
573
573
|
let t = fe(e);
|
|
574
574
|
return t = {
|
|
575
575
|
variant: t.variant ?? null,
|
|
@@ -599,17 +599,17 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
599
599
|
variant: { default: null }
|
|
600
600
|
},
|
|
601
601
|
setup(e) {
|
|
602
|
-
const t = Pe(e, "BSpinner"), n = xt(), o = rn(
|
|
602
|
+
const t = Pe(e, "BSpinner"), n = xt(), o = rn(g(() => ({ textVariant: t.variant }))), a = g(() => [
|
|
603
603
|
`spinner-${t.type}`,
|
|
604
604
|
o.value,
|
|
605
605
|
{ [`spinner-${t.type}-sm`]: t.small }
|
|
606
|
-
]), l =
|
|
606
|
+
]), l = g(() => !nl(n.label));
|
|
607
607
|
return (r, u) => (v(), R(Be(f(t).tag), {
|
|
608
608
|
class: O(a.value),
|
|
609
609
|
role: f(t).label || l.value ? f(t).role : null,
|
|
610
610
|
"aria-hidden": f(t).label || l.value ? null : !0
|
|
611
611
|
}, {
|
|
612
|
-
default: F(() => [f(t).label || l.value ? (v(),
|
|
612
|
+
default: F(() => [f(t).label || l.value ? (v(), y("span", Wr, [M(r.$slots, "label", {}, () => [re(L(f(t).label), 1)])])) : D("", !0)]),
|
|
613
613
|
_: 3
|
|
614
614
|
}, 8, [
|
|
615
615
|
"class",
|
|
@@ -700,14 +700,14 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
700
700
|
"prefetch",
|
|
701
701
|
"prefetchOn",
|
|
702
702
|
"prefetchedClass"
|
|
703
|
-
]), s =
|
|
704
|
-
var
|
|
705
|
-
return ((
|
|
706
|
-
}), k =
|
|
707
|
-
var
|
|
708
|
-
return ((
|
|
709
|
-
}), b = tl(
|
|
710
|
-
var
|
|
703
|
+
]), s = g(() => typeof l.value == "boolean"), i = g(() => n.tag === "button" && n.href === void 0 && n.to === void 0), d = g(() => n.to !== void 0), c = g(() => n.href !== void 0 ? !1 : !i.value), m = g(() => d.value ? u.value : []), w = g(() => n.href === "#" && n.disabled ? !0 : c.value ? n.disabled : null), x = g(() => {
|
|
704
|
+
var $;
|
|
705
|
+
return (($ = n.variant) == null ? void 0 : $.startsWith("link")) || !1;
|
|
706
|
+
}), k = g(() => {
|
|
707
|
+
var $;
|
|
708
|
+
return (($ = n.variant) == null ? void 0 : $.startsWith("link-")) || !1;
|
|
709
|
+
}), b = tl(g(() => {
|
|
710
|
+
var $;
|
|
711
711
|
return { ...x.value ? {
|
|
712
712
|
icon: n.icon,
|
|
713
713
|
opacity: n.opacity,
|
|
@@ -717,31 +717,31 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
717
717
|
underlineOpacity: n.underlineOpacity,
|
|
718
718
|
underlineOpacityHover: n.underlineOpacityHover,
|
|
719
719
|
underlineVariant: n.underlineVariant,
|
|
720
|
-
variant: k.value === !0 ? (
|
|
720
|
+
variant: k.value === !0 ? ($ = n.variant) == null ? void 0 : $.slice(5) : null
|
|
721
721
|
} : void 0 };
|
|
722
|
-
})), h =
|
|
722
|
+
})), h = g(() => [x.value === !0 && r.value === !1 ? b.value : void 0, {
|
|
723
723
|
[`btn-${n.size}`]: n.size !== void 0,
|
|
724
724
|
[`btn-${n.variant}`]: n.variant !== null && k.value === !1,
|
|
725
725
|
active: n.active || l.value,
|
|
726
726
|
"rounded-pill": n.pill,
|
|
727
727
|
"rounded-0": n.squared,
|
|
728
728
|
disabled: n.disabled
|
|
729
|
-
}]),
|
|
729
|
+
}]), C = g(() => d.value ? yo : n.href ? "a" : n.tag), _ = ($) => {
|
|
730
730
|
if (n.disabled) {
|
|
731
|
-
|
|
731
|
+
$.preventDefault(), $.stopPropagation();
|
|
732
732
|
return;
|
|
733
733
|
}
|
|
734
|
-
o("click",
|
|
734
|
+
o("click", $), s.value && (l.value = !l.value);
|
|
735
735
|
};
|
|
736
|
-
return Bt([" ", "enter"], (
|
|
737
|
-
var
|
|
738
|
-
n.href === "#" && (
|
|
739
|
-
}, { target: a }), (
|
|
736
|
+
return Bt([" ", "enter"], ($) => {
|
|
737
|
+
var W;
|
|
738
|
+
n.href === "#" && ($.preventDefault(), (W = a.value) == null || W.click());
|
|
739
|
+
}, { target: a }), ($, W) => (v(), R(Be(C.value), _e({
|
|
740
740
|
ref: "_element",
|
|
741
741
|
class: "btn"
|
|
742
742
|
}, m.value, {
|
|
743
743
|
class: h.value,
|
|
744
|
-
"aria-disabled":
|
|
744
|
+
"aria-disabled": w.value,
|
|
745
745
|
"aria-pressed": s.value ? l.value : null,
|
|
746
746
|
autocomplete: s.value ? "off" : null,
|
|
747
747
|
disabled: i.value ? f(n).disabled : null,
|
|
@@ -751,12 +751,12 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
751
751
|
target: f(r) ? f(n).target : null,
|
|
752
752
|
type: i.value ? f(n).type : null,
|
|
753
753
|
to: i.value ? null : f(n).to,
|
|
754
|
-
onClick:
|
|
754
|
+
onClick: _
|
|
755
755
|
}), {
|
|
756
|
-
default: F(() => [f(n).loading ? M(
|
|
756
|
+
default: F(() => [f(n).loading ? M($.$slots, "loading", { key: 0 }, () => [f(n).loadingFill ? D("", !0) : (v(), y(le, { key: 0 }, [re(L(f(n).loadingText), 1)], 64)), M($.$slots, "loading-spinner", {}, () => [Y(qr, {
|
|
757
757
|
small: f(n).size !== "lg",
|
|
758
758
|
label: f(n).loadingFill ? f(n).loadingText : void 0
|
|
759
|
-
}, null, 8, ["small", "label"])])]) : M(
|
|
759
|
+
}, null, 8, ["small", "label"])])]) : M($.$slots, "default", { key: 1 })]),
|
|
760
760
|
_: 3
|
|
761
761
|
}, 16, [
|
|
762
762
|
"class",
|
|
@@ -785,7 +785,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
785
785
|
},
|
|
786
786
|
setup(e) {
|
|
787
787
|
nn(Ka, !0);
|
|
788
|
-
const t = Pe(e, "BButtonGroup"), n =
|
|
788
|
+
const t = Pe(e, "BButtonGroup"), n = g(() => ({
|
|
789
789
|
"btn-group": !t.vertical,
|
|
790
790
|
[`btn-group-${t.size}`]: t.size !== void 0,
|
|
791
791
|
"btn-group-vertical": t.vertical
|
|
@@ -801,7 +801,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
801
801
|
}
|
|
802
802
|
}), pt = (e, t) => {
|
|
803
803
|
const n = Da();
|
|
804
|
-
return
|
|
804
|
+
return g(() => fe(e) || mo(n || "", t));
|
|
805
805
|
}, Xo = class ol {
|
|
806
806
|
constructor(t, n = {}) {
|
|
807
807
|
Ge(this, "cancelable", !0);
|
|
@@ -881,7 +881,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
881
881
|
}
|
|
882
882
|
e.value ? P() : I("modelValue", !0);
|
|
883
883
|
});
|
|
884
|
-
const m = ue(u),
|
|
884
|
+
const m = ue(u), w = ue(!1), x = g(() => t.noAnimation || t.noFade || m.value || !1);
|
|
885
885
|
let k = !1;
|
|
886
886
|
An(() => {
|
|
887
887
|
var X;
|
|
@@ -910,17 +910,17 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
910
910
|
...ge,
|
|
911
911
|
componentId: a == null ? void 0 : a.value
|
|
912
912
|
});
|
|
913
|
-
let h,
|
|
913
|
+
let h, C, _, $, W;
|
|
914
914
|
const P = (X = !1) => {
|
|
915
|
-
if (s.value &&
|
|
916
|
-
if (
|
|
917
|
-
|
|
918
|
-
|
|
915
|
+
if (s.value && !C && !$) return Promise.resolve(!0);
|
|
916
|
+
if (W = X, s.value && !C && $) return $;
|
|
917
|
+
$ = new Promise((dt) => {
|
|
918
|
+
_ = dt;
|
|
919
919
|
});
|
|
920
920
|
const ge = b("show", { cancelable: !0 });
|
|
921
921
|
return n("show", ge), ge.defaultPrevented ? (n("show-prevented", b("show-prevented")), ee.value && (ee.value = !1), e.value && !c && (r = !0, Ue(() => {
|
|
922
922
|
e.value = !1;
|
|
923
|
-
})),
|
|
923
|
+
})), _ == null || _("show-prevented"), $) : (C && (clearTimeout(C), C = void 0), i.value = !0, d.value = !0, requestAnimationFrame(() => {
|
|
924
924
|
var dt, _t;
|
|
925
925
|
if (m.value || t.delay === void 0) {
|
|
926
926
|
if (!k) return;
|
|
@@ -935,14 +935,14 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
935
935
|
e.value = !0;
|
|
936
936
|
})));
|
|
937
937
|
}, typeof t.delay == "number" ? t.delay : ((_t = t.delay) == null ? void 0 : _t.show) || 0);
|
|
938
|
-
}),
|
|
938
|
+
}), $);
|
|
939
939
|
};
|
|
940
940
|
let B;
|
|
941
941
|
const I = (X, ge) => {
|
|
942
942
|
var nt;
|
|
943
943
|
if (!s.value && !h && !i.value) return Promise.resolve("");
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
$ || ($ = new Promise((cn) => {
|
|
945
|
+
_ = cn;
|
|
946
946
|
})), typeof X != "string" && (X = void 0), B = X;
|
|
947
947
|
const dt = b("hide", {
|
|
948
948
|
cancelable: !0,
|
|
@@ -951,13 +951,13 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
951
951
|
cancelable: !0,
|
|
952
952
|
trigger: X
|
|
953
953
|
});
|
|
954
|
-
return X === "backdrop" && t.noCloseOnBackdrop || X === "esc" && t.noCloseOnEsc ? (n("hide-prevented", b("hide-prevented", { trigger: X })),
|
|
954
|
+
return X === "backdrop" && t.noCloseOnBackdrop || X === "esc" && t.noCloseOnEsc ? (n("hide-prevented", b("hide-prevented", { trigger: X })), _ == null || _("hide-prevented"), $) : (h && (clearTimeout(h), h = void 0), X && !ge && n(X, _t), n("hide", dt), dt.defaultPrevented || _t.defaultPrevented ? (n("hide-prevented", b("hide-prevented", { trigger: X })), e.value || Ue(() => {
|
|
955
955
|
r = !0, e.value = !0;
|
|
956
|
-
}),
|
|
956
|
+
}), _ == null || _("hide-prevented"), $) : (K.value = !1, h && (clearTimeout(h), h = void 0, w.value || (i.value = !1), d.value = !1), C = setTimeout(() => {
|
|
957
957
|
var cn;
|
|
958
|
-
k && (
|
|
959
|
-
}, m.value ? 0 : typeof t.delay == "number" ? t.delay : ((nt = t.delay) == null ? void 0 : nt.hide) || 0),
|
|
960
|
-
}, V = /* @__PURE__ */ Wo((X) => I(X), 500),
|
|
958
|
+
k && (C = void 0, me.value = !0, s.value = !1, (cn = l.hideFn) == null || cn.call(l), e.value && (r = !0, e.value = c ? 0 : !1));
|
|
959
|
+
}, m.value ? 0 : typeof t.delay == "number" ? t.delay : ((nt = t.delay) == null ? void 0 : nt.hide) || 0), $));
|
|
960
|
+
}, V = /* @__PURE__ */ Wo((X) => I(X), 500), j = /* @__PURE__ */ Wo(() => P(), 500), te = (X = !1) => {
|
|
961
961
|
const ge = b("toggle", { cancelable: !0 });
|
|
962
962
|
return n("toggle", ge), ge.defaultPrevented ? (n("toggle-prevented", b("toggle-prevented")), Promise.resolve("toggle-prevented")) : s.value ? I("toggle-function", !0) : P(X);
|
|
963
963
|
}, T = () => {
|
|
@@ -975,7 +975,7 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
975
975
|
}, G = (X, ge, dt = !0) => {
|
|
976
976
|
const _t = E.findIndex((nt) => (nt == null ? void 0 : nt.trigger) === X && nt.el === ge);
|
|
977
977
|
_t > -1 && (E.splice(_t, 1), ge.removeEventListener(X, T), dt && (ge.removeAttribute("aria-expanded"), ge.classList.remove("collapsed"), ge.classList.remove("not-collapsed")));
|
|
978
|
-
},
|
|
978
|
+
}, q = (oe = Ve(_r, null)) == null ? void 0 : oe.register({
|
|
979
979
|
id: a.value,
|
|
980
980
|
toggle: te,
|
|
981
981
|
show: P,
|
|
@@ -992,13 +992,13 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
992
992
|
ne(X.el);
|
|
993
993
|
});
|
|
994
994
|
}), Me(a, (X, ge) => {
|
|
995
|
-
|
|
995
|
+
q == null || q.updateId(X, ge);
|
|
996
996
|
}), fo(() => {
|
|
997
|
-
|
|
997
|
+
q == null || q.unregister(), E.forEach((X) => {
|
|
998
998
|
X.el.removeEventListener(X.trigger, T);
|
|
999
999
|
});
|
|
1000
1000
|
}), Pn(() => {
|
|
1001
|
-
k = !1, clearTimeout(h), clearTimeout(
|
|
1001
|
+
k = !1, clearTimeout(h), clearTimeout(C), h = void 0, C = void 0;
|
|
1002
1002
|
});
|
|
1003
1003
|
const se = ue(!1), ve = () => {
|
|
1004
1004
|
t.lazy === !0 && (se.value = !0);
|
|
@@ -1016,11 +1016,11 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
1016
1016
|
() => {
|
|
1017
1017
|
m.value && requestAnimationFrame(() => {
|
|
1018
1018
|
m.value = !1;
|
|
1019
|
-
}),
|
|
1019
|
+
}), w.value && (w.value = !1), requestAnimationFrame(() => {
|
|
1020
1020
|
K.value = !0, Ue(() => {
|
|
1021
1021
|
n("shown", b("shown", { cancelable: !1 }));
|
|
1022
1022
|
});
|
|
1023
|
-
}),
|
|
1023
|
+
}), W || (_ == null || _(!0), $ = void 0, _ = void 0);
|
|
1024
1024
|
}
|
|
1025
1025
|
], Ee = [
|
|
1026
1026
|
() => {
|
|
@@ -1044,10 +1044,10 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
1044
1044
|
me.value = !1, We.value = !1, m.value && requestAnimationFrame(() => {
|
|
1045
1045
|
m.value = !1;
|
|
1046
1046
|
}), requestAnimationFrame(() => {
|
|
1047
|
-
|
|
1048
|
-
}),
|
|
1047
|
+
w.value || (i.value = !1);
|
|
1048
|
+
}), _ == null || _(B || ""), $ = void 0, _ = void 0, B = void 0;
|
|
1049
1049
|
}
|
|
1050
|
-
], N =
|
|
1050
|
+
], N = g(() => w.value === !0 || We.value === !0 || t.lazy === !1 || t.lazy === !0 && se.value === !0 && t.unmountLazy === !1), K = ue(!1), J = ue(!1), A = ue(!1), be = {
|
|
1051
1051
|
...l.transitionProps,
|
|
1052
1052
|
onBeforeEnter: Oe,
|
|
1053
1053
|
onEnter: $e,
|
|
@@ -1067,16 +1067,16 @@ var Vr = (e, t) => [...t].reduce((n, o) => (n[o] = e[o], n), {}), Or = (e) => {
|
|
|
1067
1067
|
hide: I,
|
|
1068
1068
|
toggle: te,
|
|
1069
1069
|
throttleHide: V,
|
|
1070
|
-
throttleShow:
|
|
1070
|
+
throttleShow: j,
|
|
1071
1071
|
buildTriggerableEvent: b,
|
|
1072
1072
|
computedNoAnimation: x,
|
|
1073
1073
|
localNoAnimation: Ae(m),
|
|
1074
1074
|
setLocalNoAnimation: (X) => {
|
|
1075
1075
|
m.value = X;
|
|
1076
1076
|
},
|
|
1077
|
-
localTemporaryHide: Ae(
|
|
1077
|
+
localTemporaryHide: Ae(w),
|
|
1078
1078
|
setLocalTemporaryHide: (X) => {
|
|
1079
|
-
|
|
1079
|
+
w.value = X;
|
|
1080
1080
|
},
|
|
1081
1081
|
isLeaving: Ae(me),
|
|
1082
1082
|
transitionProps: {
|
|
@@ -1259,52 +1259,52 @@ function Ht(e) {
|
|
|
1259
1259
|
function ta(e, t, n) {
|
|
1260
1260
|
let { reference: o, floating: a } = e;
|
|
1261
1261
|
const l = ot(t), r = wo(t), u = _o(r), s = Ye(t), i = l === "y", d = o.x + o.width / 2 - a.width / 2, c = o.y + o.height / 2 - a.height / 2, m = o[u] / 2 - a[u] / 2;
|
|
1262
|
-
let
|
|
1262
|
+
let w;
|
|
1263
1263
|
switch (s) {
|
|
1264
1264
|
case "top":
|
|
1265
|
-
|
|
1265
|
+
w = {
|
|
1266
1266
|
x: d,
|
|
1267
1267
|
y: o.y - a.height
|
|
1268
1268
|
};
|
|
1269
1269
|
break;
|
|
1270
1270
|
case "bottom":
|
|
1271
|
-
|
|
1271
|
+
w = {
|
|
1272
1272
|
x: d,
|
|
1273
1273
|
y: o.y + o.height
|
|
1274
1274
|
};
|
|
1275
1275
|
break;
|
|
1276
1276
|
case "right":
|
|
1277
|
-
|
|
1277
|
+
w = {
|
|
1278
1278
|
x: o.x + o.width,
|
|
1279
1279
|
y: c
|
|
1280
1280
|
};
|
|
1281
1281
|
break;
|
|
1282
1282
|
case "left":
|
|
1283
|
-
|
|
1283
|
+
w = {
|
|
1284
1284
|
x: o.x - a.width,
|
|
1285
1285
|
y: c
|
|
1286
1286
|
};
|
|
1287
1287
|
break;
|
|
1288
1288
|
default:
|
|
1289
|
-
|
|
1289
|
+
w = {
|
|
1290
1290
|
x: o.x,
|
|
1291
1291
|
y: o.y
|
|
1292
1292
|
};
|
|
1293
1293
|
}
|
|
1294
1294
|
switch (Qe(t)) {
|
|
1295
1295
|
case "start":
|
|
1296
|
-
|
|
1296
|
+
w[r] -= m * (n && i ? -1 : 1);
|
|
1297
1297
|
break;
|
|
1298
1298
|
case "end":
|
|
1299
|
-
|
|
1299
|
+
w[r] += m * (n && i ? -1 : 1);
|
|
1300
1300
|
break;
|
|
1301
1301
|
}
|
|
1302
|
-
return
|
|
1302
|
+
return w;
|
|
1303
1303
|
}
|
|
1304
1304
|
async function si(e, t) {
|
|
1305
1305
|
var n;
|
|
1306
1306
|
t === void 0 && (t = {});
|
|
1307
|
-
const { x: o, y: a, platform: l, rects: r, elements: u, strategy: s } = e, { boundary: i = "clippingAncestors", rootBoundary: d = "viewport", elementContext: c = "floating", altBoundary: m = !1, padding:
|
|
1307
|
+
const { x: o, y: a, platform: l, rects: r, elements: u, strategy: s } = e, { boundary: i = "clippingAncestors", rootBoundary: d = "viewport", elementContext: c = "floating", altBoundary: m = !1, padding: w = 0 } = ht(t, e), x = ko(w), k = u[m ? c === "floating" ? "reference" : "floating" : c], b = Ht(await l.getClippingRect({
|
|
1308
1308
|
element: (n = await (l.isElement == null ? void 0 : l.isElement(k))) == null || n ? k : k.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(u.floating)),
|
|
1309
1309
|
boundary: i,
|
|
1310
1310
|
rootBoundary: d,
|
|
@@ -1314,23 +1314,23 @@ async function si(e, t) {
|
|
|
1314
1314
|
y: a,
|
|
1315
1315
|
width: r.floating.width,
|
|
1316
1316
|
height: r.floating.height
|
|
1317
|
-
} : r.reference,
|
|
1317
|
+
} : r.reference, C = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u.floating)), _ = await (l.isElement == null ? void 0 : l.isElement(C)) ? await (l.getScale == null ? void 0 : l.getScale(C)) || {
|
|
1318
1318
|
x: 1,
|
|
1319
1319
|
y: 1
|
|
1320
1320
|
} : {
|
|
1321
1321
|
x: 1,
|
|
1322
1322
|
y: 1
|
|
1323
|
-
},
|
|
1323
|
+
}, $ = Ht(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1324
1324
|
elements: u,
|
|
1325
1325
|
rect: h,
|
|
1326
|
-
offsetParent:
|
|
1326
|
+
offsetParent: C,
|
|
1327
1327
|
strategy: s
|
|
1328
1328
|
}) : h);
|
|
1329
1329
|
return {
|
|
1330
|
-
top: (b.top -
|
|
1331
|
-
bottom: (
|
|
1332
|
-
left: (b.left -
|
|
1333
|
-
right: (
|
|
1330
|
+
top: (b.top - $.top + x.top) / _.y,
|
|
1331
|
+
bottom: ($.bottom - b.bottom + x.bottom) / _.y,
|
|
1332
|
+
left: (b.left - $.left + x.left) / _.x,
|
|
1333
|
+
right: ($.right - b.right + x.right) / _.x
|
|
1334
1334
|
};
|
|
1335
1335
|
}
|
|
1336
1336
|
var ui = 50, ci = async (e, t, n) => {
|
|
@@ -1342,12 +1342,12 @@ var ui = 50, ci = async (e, t, n) => {
|
|
|
1342
1342
|
reference: e,
|
|
1343
1343
|
floating: t,
|
|
1344
1344
|
strategy: a
|
|
1345
|
-
}), { x: d, y: c } = ta(i, o, s), m = o,
|
|
1345
|
+
}), { x: d, y: c } = ta(i, o, s), m = o, w = 0;
|
|
1346
1346
|
const x = {};
|
|
1347
1347
|
for (let k = 0; k < l.length; k++) {
|
|
1348
1348
|
const b = l[k];
|
|
1349
1349
|
if (!b) continue;
|
|
1350
|
-
const { name: h, fn:
|
|
1350
|
+
const { name: h, fn: C } = b, { x: _, y: $, data: W, reset: P } = await C({
|
|
1351
1351
|
x: d,
|
|
1352
1352
|
y: c,
|
|
1353
1353
|
initialPlacement: o,
|
|
@@ -1361,10 +1361,10 @@ var ui = 50, ci = async (e, t, n) => {
|
|
|
1361
1361
|
floating: t
|
|
1362
1362
|
}
|
|
1363
1363
|
});
|
|
1364
|
-
d =
|
|
1364
|
+
d = _ ?? d, c = $ ?? c, x[h] = {
|
|
1365
1365
|
...x[h],
|
|
1366
|
-
...
|
|
1367
|
-
}, P &&
|
|
1366
|
+
...W
|
|
1367
|
+
}, P && w < ui && (w++, typeof P == "object" && (P.placement && (m = P.placement), P.rects && (i = P.rects === !0 ? await r.getElementRects({
|
|
1368
1368
|
reference: e,
|
|
1369
1369
|
floating: t,
|
|
1370
1370
|
strategy: a
|
|
@@ -1386,18 +1386,18 @@ var ui = 50, ci = async (e, t, n) => {
|
|
|
1386
1386
|
const c = ko(d), m = {
|
|
1387
1387
|
x: n,
|
|
1388
1388
|
y: o
|
|
1389
|
-
},
|
|
1390
|
-
let B = P ? P[
|
|
1391
|
-
(!B || !await (r.isElement == null ? void 0 : r.isElement(P))) && (B = u.floating[
|
|
1392
|
-
const I =
|
|
1389
|
+
}, w = wo(a), x = _o(w), k = await r.getDimensions(i), b = w === "y", h = b ? "top" : "left", C = b ? "bottom" : "right", _ = b ? "clientHeight" : "clientWidth", $ = l.reference[x] + l.reference[w] - m[w] - l.floating[x], W = m[w] - l.reference[w], P = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i));
|
|
1390
|
+
let B = P ? P[_] : 0;
|
|
1391
|
+
(!B || !await (r.isElement == null ? void 0 : r.isElement(P))) && (B = u.floating[_] || l.floating[x]);
|
|
1392
|
+
const I = $ / 2 - W / 2, V = B / 2 - k[x] / 2 - 1, j = Je(c[h], V), te = Je(c[C], V), T = j, E = B - k[x] - te, H = B / 2 - k[x] / 2 + I, G = ao(T, H, E), q = !s.arrow && Qe(a) != null && H !== G && l.reference[x] / 2 - (H < T ? j : te) - k[x] / 2 < 0, ne = q ? H < T ? H - T : H - E : 0;
|
|
1393
1393
|
return {
|
|
1394
|
-
[
|
|
1394
|
+
[w]: m[w] + ne,
|
|
1395
1395
|
data: {
|
|
1396
|
-
[
|
|
1396
|
+
[w]: G,
|
|
1397
1397
|
centerOffset: H - G - ne,
|
|
1398
|
-
...
|
|
1398
|
+
...q && { alignmentOffset: ne }
|
|
1399
1399
|
},
|
|
1400
|
-
reset:
|
|
1400
|
+
reset: q
|
|
1401
1401
|
};
|
|
1402
1402
|
}
|
|
1403
1403
|
});
|
|
@@ -1410,37 +1410,37 @@ var vi = function(e) {
|
|
|
1410
1410
|
options: e,
|
|
1411
1411
|
async fn(t) {
|
|
1412
1412
|
var n, o, a;
|
|
1413
|
-
const { rects: l, middlewareData: r, placement: u, platform: s, elements: i } = t, { crossAxis: d = !1, alignment: c, allowedPlacements: m = Qo, autoAlignment:
|
|
1414
|
-
if (
|
|
1415
|
-
const
|
|
1416
|
-
if (u !==
|
|
1417
|
-
const
|
|
1418
|
-
b[Ye(
|
|
1419
|
-
b[
|
|
1420
|
-
b[
|
|
1421
|
-
],
|
|
1422
|
-
placement:
|
|
1423
|
-
overflows:
|
|
1413
|
+
const { rects: l, middlewareData: r, placement: u, platform: s, elements: i } = t, { crossAxis: d = !1, alignment: c, allowedPlacements: m = Qo, autoAlignment: w = !0, ...x } = ht(e, t), k = c !== void 0 || m === Qo ? fi(c || null, w, m) : m, b = await s.detectOverflow(t, x), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, C = k[h];
|
|
1414
|
+
if (C == null) return {};
|
|
1415
|
+
const _ = sl(C, l, await (s.isRTL == null ? void 0 : s.isRTL(i.floating)));
|
|
1416
|
+
if (u !== C) return { reset: { placement: k[0] } };
|
|
1417
|
+
const $ = [
|
|
1418
|
+
b[Ye(C)],
|
|
1419
|
+
b[_[0]],
|
|
1420
|
+
b[_[1]]
|
|
1421
|
+
], W = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
1422
|
+
placement: C,
|
|
1423
|
+
overflows: $
|
|
1424
1424
|
}], P = k[h + 1];
|
|
1425
1425
|
if (P) return {
|
|
1426
1426
|
data: {
|
|
1427
1427
|
index: h + 1,
|
|
1428
|
-
overflows:
|
|
1428
|
+
overflows: W
|
|
1429
1429
|
},
|
|
1430
1430
|
reset: { placement: P }
|
|
1431
1431
|
};
|
|
1432
|
-
const B =
|
|
1433
|
-
const
|
|
1432
|
+
const B = W.map((V) => {
|
|
1433
|
+
const j = Qe(V.placement);
|
|
1434
1434
|
return [
|
|
1435
1435
|
V.placement,
|
|
1436
|
-
|
|
1436
|
+
j && d ? V.overflows.slice(0, 2).reduce((te, T) => te + T, 0) : V.overflows[0],
|
|
1437
1437
|
V.overflows
|
|
1438
1438
|
];
|
|
1439
|
-
}).sort((V,
|
|
1439
|
+
}).sort((V, j) => V[1] - j[1]), I = ((a = B.filter((V) => V[2].slice(0, Qe(V[0]) ? 2 : 3).every((j) => j <= 0))[0]) == null ? void 0 : a[0]) || B[0][0];
|
|
1440
1440
|
return I !== u ? {
|
|
1441
1441
|
data: {
|
|
1442
1442
|
index: h + 1,
|
|
1443
|
-
overflows:
|
|
1443
|
+
overflows: W
|
|
1444
1444
|
},
|
|
1445
1445
|
reset: { placement: I }
|
|
1446
1446
|
} : {};
|
|
@@ -1452,49 +1452,49 @@ var vi = function(e) {
|
|
|
1452
1452
|
options: e,
|
|
1453
1453
|
async fn(t) {
|
|
1454
1454
|
var n, o;
|
|
1455
|
-
const { placement: a, middlewareData: l, rects: r, initialPlacement: u, platform: s, elements: i } = t, { mainAxis: d = !0, crossAxis: c = !0, fallbackPlacements: m, fallbackStrategy:
|
|
1455
|
+
const { placement: a, middlewareData: l, rects: r, initialPlacement: u, platform: s, elements: i } = t, { mainAxis: d = !0, crossAxis: c = !0, fallbackPlacements: m, fallbackStrategy: w = "bestFit", fallbackAxisSideDirection: x = "none", flipAlignment: k = !0, ...b } = ht(e, t);
|
|
1456
1456
|
if ((n = l.arrow) != null && n.alignmentOffset) return {};
|
|
1457
|
-
const h = Ye(a),
|
|
1458
|
-
!m && P &&
|
|
1459
|
-
const B = [u, ...
|
|
1460
|
-
let
|
|
1457
|
+
const h = Ye(a), C = ot(u), _ = Ye(u) === u, $ = await (s.isRTL == null ? void 0 : s.isRTL(i.floating)), W = m || (_ || !k ? [kn(u)] : ni(u)), P = x !== "none";
|
|
1458
|
+
!m && P && W.push(...ri(u, k, x, $));
|
|
1459
|
+
const B = [u, ...W], I = await s.detectOverflow(t, b), V = [];
|
|
1460
|
+
let j = ((o = l.flip) == null ? void 0 : o.overflows) || [];
|
|
1461
1461
|
if (d && V.push(I[h]), c) {
|
|
1462
|
-
const H = sl(a, r,
|
|
1462
|
+
const H = sl(a, r, $);
|
|
1463
1463
|
V.push(I[H[0]], I[H[1]]);
|
|
1464
1464
|
}
|
|
1465
|
-
if (
|
|
1465
|
+
if (j = [...j, {
|
|
1466
1466
|
placement: a,
|
|
1467
1467
|
overflows: V
|
|
1468
1468
|
}], !V.every((H) => H <= 0)) {
|
|
1469
1469
|
var te, T;
|
|
1470
1470
|
const H = (((te = l.flip) == null ? void 0 : te.index) || 0) + 1, G = B[H];
|
|
1471
|
-
if (G && (!(c === "alignment" &&
|
|
1471
|
+
if (G && (!(c === "alignment" && C !== ot(G)) || j.every((ne) => ot(ne.placement) === C ? ne.overflows[0] > 0 : !0)))
|
|
1472
1472
|
return {
|
|
1473
1473
|
data: {
|
|
1474
1474
|
index: H,
|
|
1475
|
-
overflows:
|
|
1475
|
+
overflows: j
|
|
1476
1476
|
},
|
|
1477
1477
|
reset: { placement: G }
|
|
1478
1478
|
};
|
|
1479
|
-
let
|
|
1480
|
-
if (!
|
|
1479
|
+
let q = (T = j.filter((ne) => ne.overflows[0] <= 0).sort((ne, se) => ne.overflows[1] - se.overflows[1])[0]) == null ? void 0 : T.placement;
|
|
1480
|
+
if (!q) switch (w) {
|
|
1481
1481
|
case "bestFit": {
|
|
1482
1482
|
var E;
|
|
1483
|
-
const ne = (E =
|
|
1483
|
+
const ne = (E = j.filter((se) => {
|
|
1484
1484
|
if (P) {
|
|
1485
1485
|
const ve = ot(se.placement);
|
|
1486
|
-
return ve ===
|
|
1486
|
+
return ve === C || ve === "y";
|
|
1487
1487
|
}
|
|
1488
1488
|
return !0;
|
|
1489
1489
|
}).map((se) => [se.placement, se.overflows.filter((ve) => ve > 0).reduce((ve, me) => ve + me, 0)]).sort((se, ve) => se[1] - ve[1])[0]) == null ? void 0 : E[0];
|
|
1490
|
-
ne && (
|
|
1490
|
+
ne && (q = ne);
|
|
1491
1491
|
break;
|
|
1492
1492
|
}
|
|
1493
1493
|
case "initialPlacement":
|
|
1494
|
-
|
|
1494
|
+
q = u;
|
|
1495
1495
|
break;
|
|
1496
1496
|
}
|
|
1497
|
-
if (a !==
|
|
1497
|
+
if (a !== q) return { reset: { placement: q } };
|
|
1498
1498
|
}
|
|
1499
1499
|
return {};
|
|
1500
1500
|
}
|
|
@@ -1567,12 +1567,12 @@ var bi = function(e) {
|
|
|
1567
1567
|
name: "inline",
|
|
1568
1568
|
options: e,
|
|
1569
1569
|
async fn(t) {
|
|
1570
|
-
const { placement: n, elements: o, rects: a, platform: l, strategy: r } = t, { padding: u = 2, x: s, y: i } = ht(e, t), d = Array.from(await (l.getClientRects == null ? void 0 : l.getClientRects(o.reference)) || []), c = hi(d), m = Ht(ul(d)),
|
|
1570
|
+
const { placement: n, elements: o, rects: a, platform: l, strategy: r } = t, { padding: u = 2, x: s, y: i } = ht(e, t), d = Array.from(await (l.getClientRects == null ? void 0 : l.getClientRects(o.reference)) || []), c = hi(d), m = Ht(ul(d)), w = ko(u);
|
|
1571
1571
|
function x() {
|
|
1572
|
-
if (c.length === 2 && c[0].left > c[1].right && s != null && i != null) return c.find((b) => s > b.left -
|
|
1572
|
+
if (c.length === 2 && c[0].left > c[1].right && s != null && i != null) return c.find((b) => s > b.left - w.left && s < b.right + w.right && i > b.top - w.top && i < b.bottom + w.bottom) || m;
|
|
1573
1573
|
if (c.length >= 2) {
|
|
1574
1574
|
if (ot(n) === "y") {
|
|
1575
|
-
const I = c[0], V = c[c.length - 1],
|
|
1575
|
+
const I = c[0], V = c[c.length - 1], j = Ye(n) === "top", te = I.top, T = V.bottom, E = j ? I.left : V.left, H = j ? I.right : V.right;
|
|
1576
1576
|
return {
|
|
1577
1577
|
top: te,
|
|
1578
1578
|
bottom: T,
|
|
@@ -1584,16 +1584,16 @@ var bi = function(e) {
|
|
|
1584
1584
|
y: te
|
|
1585
1585
|
};
|
|
1586
1586
|
}
|
|
1587
|
-
const b = Ye(n) === "left", h = Re(...c.map((I) => I.right)),
|
|
1587
|
+
const b = Ye(n) === "left", h = Re(...c.map((I) => I.right)), C = Je(...c.map((I) => I.left)), _ = c.filter((I) => b ? I.left === C : I.right === h), $ = _[0].top, W = _[_.length - 1].bottom, P = C, B = h;
|
|
1588
1588
|
return {
|
|
1589
|
-
top:
|
|
1590
|
-
bottom:
|
|
1589
|
+
top: $,
|
|
1590
|
+
bottom: W,
|
|
1591
1591
|
left: P,
|
|
1592
1592
|
right: B,
|
|
1593
1593
|
width: B - P,
|
|
1594
|
-
height:
|
|
1594
|
+
height: W - $,
|
|
1595
1595
|
x: P,
|
|
1596
|
-
y:
|
|
1596
|
+
y: $
|
|
1597
1597
|
};
|
|
1598
1598
|
}
|
|
1599
1599
|
return m;
|
|
@@ -1609,7 +1609,7 @@ var bi = function(e) {
|
|
|
1609
1609
|
}, gi = /* @__PURE__ */ new Set(["left", "top"]);
|
|
1610
1610
|
async function yi(e, t) {
|
|
1611
1611
|
const { placement: n, platform: o, elements: a } = e, l = await (o.isRTL == null ? void 0 : o.isRTL(a.floating)), r = Ye(n), u = Qe(n), s = ot(n) === "y", i = gi.has(r) ? -1 : 1, d = l && s ? -1 : 1, c = ht(t, e);
|
|
1612
|
-
let { mainAxis: m, crossAxis:
|
|
1612
|
+
let { mainAxis: m, crossAxis: w, alignmentAxis: x } = typeof c == "number" ? {
|
|
1613
1613
|
mainAxis: c,
|
|
1614
1614
|
crossAxis: 0,
|
|
1615
1615
|
alignmentAxis: null
|
|
@@ -1618,12 +1618,12 @@ async function yi(e, t) {
|
|
|
1618
1618
|
crossAxis: c.crossAxis || 0,
|
|
1619
1619
|
alignmentAxis: c.alignmentAxis
|
|
1620
1620
|
};
|
|
1621
|
-
return u && typeof x == "number" && (
|
|
1622
|
-
x:
|
|
1621
|
+
return u && typeof x == "number" && (w = u === "end" ? x * -1 : x), s ? {
|
|
1622
|
+
x: w * d,
|
|
1623
1623
|
y: m * i
|
|
1624
1624
|
} : {
|
|
1625
1625
|
x: m * i,
|
|
1626
|
-
y:
|
|
1626
|
+
y: w * d
|
|
1627
1627
|
};
|
|
1628
1628
|
}
|
|
1629
1629
|
var _i = function(e) {
|
|
@@ -1649,27 +1649,27 @@ var _i = function(e) {
|
|
|
1649
1649
|
options: e,
|
|
1650
1650
|
async fn(t) {
|
|
1651
1651
|
const { x: n, y: o, placement: a, platform: l } = t, { mainAxis: r = !0, crossAxis: u = !1, limiter: s = { fn: (h) => {
|
|
1652
|
-
let { x:
|
|
1652
|
+
let { x: C, y: _ } = h;
|
|
1653
1653
|
return {
|
|
1654
|
-
x:
|
|
1655
|
-
y:
|
|
1654
|
+
x: C,
|
|
1655
|
+
y: _
|
|
1656
1656
|
};
|
|
1657
1657
|
} }, ...i } = ht(e, t), d = {
|
|
1658
1658
|
x: n,
|
|
1659
1659
|
y: o
|
|
1660
|
-
}, c = await l.detectOverflow(t, i), m = ot(Ye(a)),
|
|
1661
|
-
let x = d[
|
|
1660
|
+
}, c = await l.detectOverflow(t, i), m = ot(Ye(a)), w = il(m);
|
|
1661
|
+
let x = d[w], k = d[m];
|
|
1662
1662
|
if (r) {
|
|
1663
|
-
const h =
|
|
1664
|
-
x = ao(
|
|
1663
|
+
const h = w === "y" ? "top" : "left", C = w === "y" ? "bottom" : "right", _ = x + c[h], $ = x - c[C];
|
|
1664
|
+
x = ao(_, x, $);
|
|
1665
1665
|
}
|
|
1666
1666
|
if (u) {
|
|
1667
|
-
const h = m === "y" ? "top" : "left",
|
|
1668
|
-
k = ao(
|
|
1667
|
+
const h = m === "y" ? "top" : "left", C = m === "y" ? "bottom" : "right", _ = k + c[h], $ = k - c[C];
|
|
1668
|
+
k = ao(_, k, $);
|
|
1669
1669
|
}
|
|
1670
1670
|
const b = s.fn({
|
|
1671
1671
|
...t,
|
|
1672
|
-
[
|
|
1672
|
+
[w]: x,
|
|
1673
1673
|
[m]: k
|
|
1674
1674
|
});
|
|
1675
1675
|
return {
|
|
@@ -1678,7 +1678,7 @@ var _i = function(e) {
|
|
|
1678
1678
|
x: b.x - n,
|
|
1679
1679
|
y: b.y - o,
|
|
1680
1680
|
enabled: {
|
|
1681
|
-
[
|
|
1681
|
+
[w]: r,
|
|
1682
1682
|
[m]: u
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
@@ -1692,14 +1692,14 @@ var _i = function(e) {
|
|
|
1692
1692
|
async fn(t) {
|
|
1693
1693
|
var n, o;
|
|
1694
1694
|
const { placement: a, rects: l, platform: r, elements: u } = t, { apply: s = () => {
|
|
1695
|
-
}, ...i } = ht(e, t), d = await r.detectOverflow(t, i), c = Ye(a), m = Qe(a),
|
|
1695
|
+
}, ...i } = ht(e, t), d = await r.detectOverflow(t, i), c = Ye(a), m = Qe(a), w = ot(a) === "y", { width: x, height: k } = l.floating;
|
|
1696
1696
|
let b, h;
|
|
1697
1697
|
c === "top" || c === "bottom" ? (b = c, h = m === (await (r.isRTL == null ? void 0 : r.isRTL(u.floating)) ? "start" : "end") ? "left" : "right") : (h = c, b = m === "end" ? "top" : "bottom");
|
|
1698
|
-
const
|
|
1699
|
-
let B =
|
|
1700
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (I =
|
|
1701
|
-
const
|
|
1702
|
-
|
|
1698
|
+
const C = k - d.top - d.bottom, _ = x - d.left - d.right, $ = Je(k - d[b], C), W = Je(x - d[h], _), P = !t.middlewareData.shift;
|
|
1699
|
+
let B = $, I = W;
|
|
1700
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (I = _), (o = t.middlewareData.shift) != null && o.enabled.y && (B = C), P && !m) {
|
|
1701
|
+
const j = Re(d.left, 0), te = Re(d.right, 0), T = Re(d.top, 0), E = Re(d.bottom, 0);
|
|
1702
|
+
w ? I = x - 2 * (j !== 0 || te !== 0 ? j + te : Re(d.left, d.right)) : B = k - 2 * (T !== 0 || E !== 0 ? T + E : Re(d.top, d.bottom));
|
|
1703
1703
|
}
|
|
1704
1704
|
await s({
|
|
1705
1705
|
...t,
|
|
@@ -1850,11 +1850,11 @@ function At(e, t, n, o) {
|
|
|
1850
1850
|
const u = Mi(l, n, o) ? fl(l) : it(0);
|
|
1851
1851
|
let s = (a.left + u.x) / r.x, i = (a.top + u.y) / r.y, d = a.width / r.x, c = a.height / r.y;
|
|
1852
1852
|
if (l) {
|
|
1853
|
-
const m = ze(l),
|
|
1853
|
+
const m = ze(l), w = o && et(o) ? ze(o) : o;
|
|
1854
1854
|
let x = m, k = lo(x);
|
|
1855
|
-
for (; k && o &&
|
|
1856
|
-
const b = Nt(k), h = k.getBoundingClientRect(),
|
|
1857
|
-
s *= b.x, i *= b.y, d *= b.x, c *= b.y, s +=
|
|
1855
|
+
for (; k && o && w !== x; ) {
|
|
1856
|
+
const b = Nt(k), h = k.getBoundingClientRect(), C = tt(k), _ = h.left + (k.clientLeft + parseFloat(C.paddingLeft)) * b.x, $ = h.top + (k.clientTop + parseFloat(C.paddingTop)) * b.y;
|
|
1857
|
+
s *= b.x, i *= b.y, d *= b.x, c *= b.y, s += _, i += $, x = ze(k), k = lo(x);
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
1860
1860
|
return Ht({
|
|
@@ -1885,8 +1885,8 @@ function Li(e) {
|
|
|
1885
1885
|
}, i = it(1);
|
|
1886
1886
|
const d = it(0), c = bt(o);
|
|
1887
1887
|
if ((c || !c && !l) && ((Ft(o) !== "body" || sn(r)) && (s = Rn(o)), c)) {
|
|
1888
|
-
const
|
|
1889
|
-
i = Nt(o), d.x =
|
|
1888
|
+
const w = At(o);
|
|
1889
|
+
i = Nt(o), d.x = w.x + o.clientLeft, d.y = w.y + o.clientTop;
|
|
1890
1890
|
}
|
|
1891
1891
|
const m = r && !c && !l ? vl(r, s) : it(0);
|
|
1892
1892
|
return {
|
|
@@ -1921,7 +1921,7 @@ function Pi(e, t) {
|
|
|
1921
1921
|
}
|
|
1922
1922
|
const i = Vn(o);
|
|
1923
1923
|
if (i <= 0) {
|
|
1924
|
-
const d = o.ownerDocument, c = d.body, m = getComputedStyle(c),
|
|
1924
|
+
const d = o.ownerDocument, c = d.body, m = getComputedStyle(c), w = d.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, x = Math.abs(o.clientWidth - c.clientWidth - w);
|
|
1925
1925
|
x <= la && (l -= x);
|
|
1926
1926
|
} else i <= la && (l += i);
|
|
1927
1927
|
return {
|
|
@@ -2081,30 +2081,30 @@ function Hi(e, t) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
function r(u, s) {
|
|
2083
2083
|
u === void 0 && (u = !1), s === void 0 && (s = 1), l();
|
|
2084
|
-
const i = e.getBoundingClientRect(), { left: d, top: c, width: m, height:
|
|
2085
|
-
if (u || t(), !m || !
|
|
2086
|
-
const x = dn(c), k = dn(a.clientWidth - (d + m)), b = dn(a.clientHeight - (c +
|
|
2084
|
+
const i = e.getBoundingClientRect(), { left: d, top: c, width: m, height: w } = i;
|
|
2085
|
+
if (u || t(), !m || !w) return;
|
|
2086
|
+
const x = dn(c), k = dn(a.clientWidth - (d + m)), b = dn(a.clientHeight - (c + w)), h = dn(d), C = {
|
|
2087
2087
|
rootMargin: -x + "px " + -k + "px " + -b + "px " + -h + "px",
|
|
2088
2088
|
threshold: Re(0, Je(1, s)) || 1
|
|
2089
2089
|
};
|
|
2090
|
-
let
|
|
2091
|
-
function
|
|
2092
|
-
const P =
|
|
2090
|
+
let _ = !0;
|
|
2091
|
+
function $(W) {
|
|
2092
|
+
const P = W[0].intersectionRatio;
|
|
2093
2093
|
if (P !== s) {
|
|
2094
|
-
if (!
|
|
2094
|
+
if (!_) return r();
|
|
2095
2095
|
P ? r(!1, P) : o = setTimeout(() => {
|
|
2096
2096
|
r(!1, 1e-7);
|
|
2097
2097
|
}, 1e3);
|
|
2098
2098
|
}
|
|
2099
|
-
P === 1 && !hl(i, e.getBoundingClientRect()) && r(),
|
|
2099
|
+
P === 1 && !hl(i, e.getBoundingClientRect()) && r(), _ = !1;
|
|
2100
2100
|
}
|
|
2101
2101
|
try {
|
|
2102
|
-
n = new IntersectionObserver(
|
|
2103
|
-
|
|
2102
|
+
n = new IntersectionObserver($, {
|
|
2103
|
+
...C,
|
|
2104
2104
|
root: a.ownerDocument
|
|
2105
2105
|
});
|
|
2106
2106
|
} catch {
|
|
2107
|
-
n = new IntersectionObserver(C
|
|
2107
|
+
n = new IntersectionObserver($, C);
|
|
2108
2108
|
}
|
|
2109
2109
|
n.observe(e);
|
|
2110
2110
|
}
|
|
@@ -2117,14 +2117,14 @@ function bl(e, t, n, o) {
|
|
|
2117
2117
|
a && h.addEventListener("scroll", n, { passive: !0 }), l && h.addEventListener("resize", n);
|
|
2118
2118
|
});
|
|
2119
2119
|
const c = i && u ? Hi(i, n) : null;
|
|
2120
|
-
let m = -1,
|
|
2121
|
-
r && (
|
|
2122
|
-
let [
|
|
2123
|
-
|
|
2124
|
-
var
|
|
2125
|
-
(
|
|
2120
|
+
let m = -1, w = null;
|
|
2121
|
+
r && (w = new ResizeObserver((h) => {
|
|
2122
|
+
let [C] = h;
|
|
2123
|
+
C && C.target === i && w && t && (w.unobserve(t), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
2124
|
+
var _;
|
|
2125
|
+
(_ = w) == null || _.observe(t);
|
|
2126
2126
|
})), n();
|
|
2127
|
-
}), i && !s &&
|
|
2127
|
+
}), i && !s && w.observe(i), t && w.observe(t));
|
|
2128
2128
|
let x, k = s ? At(e) : null;
|
|
2129
2129
|
s && b();
|
|
2130
2130
|
function b() {
|
|
@@ -2133,9 +2133,9 @@ function bl(e, t, n, o) {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
return n(), () => {
|
|
2135
2135
|
var h;
|
|
2136
|
-
d.forEach((
|
|
2137
|
-
a &&
|
|
2138
|
-
}), c == null || c(), (h =
|
|
2136
|
+
d.forEach((C) => {
|
|
2137
|
+
a && C.removeEventListener("scroll", n), l && C.removeEventListener("resize", n);
|
|
2138
|
+
}), c == null || c(), (h = w) == null || h.disconnect(), w = null, s && cancelAnimationFrame(x);
|
|
2139
2139
|
};
|
|
2140
2140
|
}
|
|
2141
2141
|
var gl = _i, zi = vi, yl = wi, _l = pi, wl = ki, Ui = mi, Yi = di, Wi = bi, qi = (e, t, n) => {
|
|
@@ -2220,9 +2220,9 @@ function xl(e, t, n) {
|
|
|
2220
2220
|
}), s = (0, ce.computed)(() => {
|
|
2221
2221
|
var B;
|
|
2222
2222
|
return (B = Ot(n.transform)) != null ? B : !0;
|
|
2223
|
-
}), i = (0, ce.computed)(() => ro(e.value)), d = (0, ce.computed)(() => ro(t.value)), c = (0, ce.ref)(0), m = (0, ce.ref)(0),
|
|
2223
|
+
}), i = (0, ce.computed)(() => ro(e.value)), d = (0, ce.computed)(() => ro(t.value)), c = (0, ce.ref)(0), m = (0, ce.ref)(0), w = (0, ce.ref)(u.value), x = (0, ce.ref)(r.value), k = (0, ce.shallowRef)({}), b = (0, ce.ref)(!1), h = (0, ce.computed)(() => {
|
|
2224
2224
|
const B = {
|
|
2225
|
-
position:
|
|
2225
|
+
position: w.value,
|
|
2226
2226
|
left: "0",
|
|
2227
2227
|
top: "0"
|
|
2228
2228
|
};
|
|
@@ -2233,13 +2233,13 @@ function xl(e, t, n) {
|
|
|
2233
2233
|
transform: "translate(" + I + "px, " + V + "px)",
|
|
2234
2234
|
...kl(d.value) >= 1.5 && { willChange: "transform" }
|
|
2235
2235
|
} : {
|
|
2236
|
-
position:
|
|
2236
|
+
position: w.value,
|
|
2237
2237
|
left: I + "px",
|
|
2238
2238
|
top: V + "px"
|
|
2239
2239
|
};
|
|
2240
2240
|
});
|
|
2241
|
-
let
|
|
2242
|
-
function
|
|
2241
|
+
let C;
|
|
2242
|
+
function _() {
|
|
2243
2243
|
if (i.value == null || d.value == null) return;
|
|
2244
2244
|
const B = a.value;
|
|
2245
2245
|
qi(i.value, d.value, {
|
|
@@ -2247,19 +2247,19 @@ function xl(e, t, n) {
|
|
|
2247
2247
|
placement: r.value,
|
|
2248
2248
|
strategy: u.value
|
|
2249
2249
|
}).then((I) => {
|
|
2250
|
-
c.value = I.x, m.value = I.y,
|
|
2250
|
+
c.value = I.x, m.value = I.y, w.value = I.strategy, x.value = I.placement, k.value = I.middlewareData, b.value = B !== !1;
|
|
2251
2251
|
});
|
|
2252
2252
|
}
|
|
2253
|
-
function
|
|
2254
|
-
typeof
|
|
2253
|
+
function $() {
|
|
2254
|
+
typeof C == "function" && (C(), C = void 0);
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2257
|
-
if (
|
|
2258
|
-
|
|
2256
|
+
function W() {
|
|
2257
|
+
if ($(), o === void 0) {
|
|
2258
|
+
_();
|
|
2259
2259
|
return;
|
|
2260
2260
|
}
|
|
2261
2261
|
if (i.value != null && d.value != null) {
|
|
2262
|
-
|
|
2262
|
+
C = o(i.value, d.value, _);
|
|
2263
2263
|
return;
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
@@ -2271,15 +2271,15 @@ function xl(e, t, n) {
|
|
|
2271
2271
|
r,
|
|
2272
2272
|
u,
|
|
2273
2273
|
a
|
|
2274
|
-
],
|
|
2274
|
+
], _, { flush: "sync" }), (0, ce.watch)([i, d], W, { flush: "sync" }), (0, ce.watch)(a, P, { flush: "sync" }), (0, ce.getCurrentScope)() && (0, ce.onScopeDispose)($), {
|
|
2275
2275
|
x: (0, ce.shallowReadonly)(c),
|
|
2276
2276
|
y: (0, ce.shallowReadonly)(m),
|
|
2277
|
-
strategy: (0, ce.shallowReadonly)(
|
|
2277
|
+
strategy: (0, ce.shallowReadonly)(w),
|
|
2278
2278
|
placement: (0, ce.shallowReadonly)(x),
|
|
2279
2279
|
middlewareData: (0, ce.shallowReadonly)(k),
|
|
2280
2280
|
isPositioned: (0, ce.shallowReadonly)(b),
|
|
2281
2281
|
floatingStyles: h,
|
|
2282
|
-
update:
|
|
2282
|
+
update: _
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
2285
|
var xn = (e, t = Jt()) => {
|
|
@@ -2434,48 +2434,48 @@ var xn = (e, t = Jt()) => {
|
|
|
2434
2434
|
"toggle-prevented"
|
|
2435
2435
|
], ["update:modelValue"]),
|
|
2436
2436
|
setup(e, { expose: t, emit: n }) {
|
|
2437
|
-
const o = Pe(e, "BPopover"), a = n, l = xt(), r = on(), u = ae(e, "modelValue"), s = pt(() => o.id, "popover"), i = ue(!1), d = ke("_element"), c = ke("_content"), m = ke("_arrow"),
|
|
2437
|
+
const o = Pe(e, "BPopover"), a = n, l = xt(), r = on(), u = ae(e, "modelValue"), s = pt(() => o.id, "popover"), i = ue(!1), d = ke("_element"), c = ke("_content"), m = ke("_arrow"), w = ke("_placeholder"), x = ue(null), k = ue(null), b = g(() => o.placement.startsWith("auto")), h = /* @__PURE__ */ gn(() => o.offset ?? NaN), C = g(() => So(o.boundary) ? o.boundary : void 0), _ = g(() => $l(o.boundary) ? o.boundary : void 0), $ = ue({}), W = g(() => {
|
|
2438
2438
|
if (o.floatingMiddleware !== void 0) return o.floatingMiddleware;
|
|
2439
2439
|
const Z = [gl(o.offset !== null ? h.value : o.tooltip ? 6 : 8)];
|
|
2440
2440
|
return !o.noFlip && !b.value && Z.push(_l({
|
|
2441
|
-
boundary:
|
|
2442
|
-
rootBoundary:
|
|
2441
|
+
boundary: C.value,
|
|
2442
|
+
rootBoundary: _.value,
|
|
2443
2443
|
padding: o.boundaryPadding
|
|
2444
2444
|
})), b.value && Z.push(zi({
|
|
2445
2445
|
alignment: o.placement.split("-")[1] || void 0,
|
|
2446
|
-
boundary:
|
|
2447
|
-
rootBoundary:
|
|
2446
|
+
boundary: C.value,
|
|
2447
|
+
rootBoundary: _.value,
|
|
2448
2448
|
padding: o.boundaryPadding
|
|
2449
2449
|
})), o.noShift || Z.push(yl({
|
|
2450
|
-
boundary:
|
|
2451
|
-
rootBoundary:
|
|
2450
|
+
boundary: C.value,
|
|
2451
|
+
rootBoundary: _.value,
|
|
2452
2452
|
padding: o.boundaryPadding
|
|
2453
2453
|
})), o.noHide || Z.push(Ui({
|
|
2454
|
-
boundary:
|
|
2455
|
-
rootBoundary:
|
|
2454
|
+
boundary: C.value,
|
|
2455
|
+
rootBoundary: _.value,
|
|
2456
2456
|
padding: o.boundaryPadding
|
|
2457
2457
|
})), o.inline && Z.push(Wi()), Z.push(Zi({
|
|
2458
2458
|
element: m,
|
|
2459
2459
|
padding: 10
|
|
2460
2460
|
})), o.noSize || Z.push(wl({
|
|
2461
|
-
boundary:
|
|
2462
|
-
rootBoundary:
|
|
2461
|
+
boundary: C.value,
|
|
2462
|
+
rootBoundary: _.value,
|
|
2463
2463
|
padding: o.boundaryPadding,
|
|
2464
2464
|
apply({ availableWidth: he, availableHeight: pe }) {
|
|
2465
2465
|
var Fe, De;
|
|
2466
|
-
|
|
2466
|
+
$.value = {
|
|
2467
2467
|
"--bv-floating-max-height": pe >= (((Fe = c.value) == null ? void 0 : Fe.scrollHeight) ?? 0) ? void 0 : pe ? `${Math.max(0, pe)}px` : void 0,
|
|
2468
2468
|
"--bv-floating-max-width": he >= (((De = c.value) == null ? void 0 : De.scrollWidth) ?? 0) ? void 0 : he ? `${Math.max(0, he)}px` : void 0
|
|
2469
2469
|
};
|
|
2470
2470
|
}
|
|
2471
2471
|
})), Z;
|
|
2472
2472
|
}), { floatingStyles: P, middlewareData: B, placement: I, update: V } = xl(x, d, {
|
|
2473
|
-
placement:
|
|
2474
|
-
middleware:
|
|
2473
|
+
placement: g(() => b.value ? void 0 : o.placement),
|
|
2474
|
+
middleware: W,
|
|
2475
2475
|
strategy: mt(() => o.strategy)
|
|
2476
|
-
}),
|
|
2476
|
+
}), j = ue({ position: "absolute" });
|
|
2477
2477
|
let te;
|
|
2478
|
-
const { showRef: T, hide: E, show: H, toggle: G, throttleHide:
|
|
2478
|
+
const { showRef: T, hide: E, show: H, toggle: G, throttleHide: q, computedNoAnimation: ne, transitionProps: se, contentShowing: ve, isVisible: me, isActive: We, renderRef: ee, localTemporaryHide: Oe, setLocalTemporaryHide: $e } = al(u, o, a, d, s, {
|
|
2479
2479
|
showFn: () => {
|
|
2480
2480
|
V(), Ue(() => {
|
|
2481
2481
|
te = bl(x.value, d.value, V, { animationFrame: o.realtime });
|
|
@@ -2487,16 +2487,16 @@ var xn = (e, t = Jt()) => {
|
|
|
2487
2487
|
});
|
|
2488
2488
|
Me(B, (Z) => {
|
|
2489
2489
|
var he, pe;
|
|
2490
|
-
if (o.noHide || ((he = Z.hide) != null && he.referenceHidden && !i.value && T.value ? o.closeOnHide && !o.noAutoClose && !o.manual ?
|
|
2490
|
+
if (o.noHide || ((he = Z.hide) != null && he.referenceHidden && !i.value && T.value ? o.closeOnHide && !o.noAutoClose && !o.manual ? q("close-on-hide") : ($e(!0), i.value = !0) : Oe.value && !((pe = Z.hide) != null && pe.referenceHidden) && ($e(!1), i.value = !1)), Z.arrow) {
|
|
2491
2491
|
const { x: Fe, y: De } = Z.arrow;
|
|
2492
|
-
|
|
2492
|
+
j.value = {
|
|
2493
2493
|
position: "absolute",
|
|
2494
2494
|
top: De ? `${De}px` : "",
|
|
2495
2495
|
left: Fe ? `${Fe}px` : ""
|
|
2496
2496
|
};
|
|
2497
2497
|
}
|
|
2498
2498
|
});
|
|
2499
|
-
const qe =
|
|
2499
|
+
const qe = g(() => {
|
|
2500
2500
|
const Z = o.tooltip ? "tooltip" : "popover";
|
|
2501
2501
|
return [
|
|
2502
2502
|
Z,
|
|
@@ -2534,7 +2534,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2534
2534
|
T.value ? E(Z.type === "click" ? "click" : "toggle") : H();
|
|
2535
2535
|
}, A = () => {
|
|
2536
2536
|
H();
|
|
2537
|
-
}, be =
|
|
2537
|
+
}, be = g(() => o.manual ? {
|
|
2538
2538
|
hover: !1,
|
|
2539
2539
|
focus: !1,
|
|
2540
2540
|
click: !1
|
|
@@ -2551,7 +2551,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2551
2551
|
if (o.target) {
|
|
2552
2552
|
const pe = xn(fe(o.target));
|
|
2553
2553
|
pe ? k.value = pe : console.warn("Target element not found", o.target);
|
|
2554
|
-
} else k.value = (he =
|
|
2554
|
+
} else k.value = (he = w.value) == null ? void 0 : he.nextElementSibling;
|
|
2555
2555
|
if (o.reference) {
|
|
2556
2556
|
const pe = xn(fe(o.reference));
|
|
2557
2557
|
pe ? x.value = pe : console.warn("Reference element not found", o.reference);
|
|
@@ -2574,7 +2574,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2574
2574
|
], () => {
|
|
2575
2575
|
Le(), oe();
|
|
2576
2576
|
});
|
|
2577
|
-
const Se =
|
|
2577
|
+
const Se = g(() => ({
|
|
2578
2578
|
toggle: G,
|
|
2579
2579
|
show: H,
|
|
2580
2580
|
hide: E,
|
|
@@ -2586,7 +2586,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2586
2586
|
oe(), Ue(() => {
|
|
2587
2587
|
V();
|
|
2588
2588
|
});
|
|
2589
|
-
}), fo(Le), (Z, he) => (v(),
|
|
2589
|
+
}), fo(Le), (Z, he) => (v(), y(le, null, [
|
|
2590
2590
|
p("span", {
|
|
2591
2591
|
id: f(s) + "_placeholder",
|
|
2592
2592
|
ref: "_placeholder",
|
|
@@ -2607,16 +2607,16 @@ var xn = (e, t = Jt()) => {
|
|
|
2607
2607
|
}), [p("div", {
|
|
2608
2608
|
ref: "_arrow",
|
|
2609
2609
|
class: O(`${f(o).tooltip ? "tooltip" : "popover"}-arrow`),
|
|
2610
|
-
style: Ce(
|
|
2610
|
+
style: Ce(j.value),
|
|
2611
2611
|
"data-popper-arrow": ""
|
|
2612
2612
|
}, null, 6), p("div", {
|
|
2613
2613
|
ref: "_content",
|
|
2614
2614
|
class: "overflow-auto b-floating-size",
|
|
2615
|
-
style: Ce(
|
|
2616
|
-
}, [f(o).title || l.title ? (v(),
|
|
2615
|
+
style: Ce($.value)
|
|
2616
|
+
}, [f(o).title || l.title ? (v(), y("div", {
|
|
2617
2617
|
key: 0,
|
|
2618
2618
|
class: O(["position-sticky top-0", [f(o).tooltip ? "tooltip-inner" : "popover-header", f(o).titleClass]])
|
|
2619
|
-
}, [M(Z.$slots, "title", at(lt(Se.value)), () => [re(L(f(o).title), 1)])], 2)) : D("", !0), f(o).tooltip && !l.title && !f(o).title || !f(o).tooltip ? (v(),
|
|
2619
|
+
}, [M(Z.$slots, "title", at(lt(Se.value)), () => [re(L(f(o).title), 1)])], 2)) : D("", !0), f(o).tooltip && !l.title && !f(o).title || !f(o).tooltip ? (v(), y("div", {
|
|
2620
2620
|
key: 1,
|
|
2621
2621
|
class: O([f(o).tooltip ? "tooltip-inner" : "popover-body", f(o).bodyClass])
|
|
2622
2622
|
}, [M(Z.$slots, "default", at(lt(Se.value)), () => [re(L(f(o).body) + L(f(r).content), 1)])], 2)) : D("", !0)], 4)], 16, es), [[Va, f(T) && !i.value]])]),
|
|
@@ -2788,7 +2788,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2788
2788
|
"toggle-prevented"
|
|
2789
2789
|
], ["update:modelValue"]),
|
|
2790
2790
|
setup(e, { expose: t, emit: n }) {
|
|
2791
|
-
const o = Pe(e, "BTooltip"), a = n, l = xt(), r = ae(e, "modelValue"), u =
|
|
2791
|
+
const o = Pe(e, "BTooltip"), a = n, l = xt(), r = ae(e, "modelValue"), u = g(() => {
|
|
2792
2792
|
const { interactive: i, noninteractive: d, ...c } = o;
|
|
2793
2793
|
return {
|
|
2794
2794
|
noninteractive: d !== void 0 ? d : !i,
|
|
@@ -2944,7 +2944,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2944
2944
|
"underlineOpacity",
|
|
2945
2945
|
"underlineOpacityHover",
|
|
2946
2946
|
"underlineVariant"
|
|
2947
|
-
]), a =
|
|
2947
|
+
]), a = g(() => n.value ? yo : t.tag), l = g(() => {
|
|
2948
2948
|
const s = t.placement ?? (t.dotIndicator ? "top-end" : void 0);
|
|
2949
2949
|
return [
|
|
2950
2950
|
"position-absolute",
|
|
@@ -2960,7 +2960,7 @@ var xn = (e, t = Jt()) => {
|
|
|
2960
2960
|
"start-100 top-100": s === "bottom-end"
|
|
2961
2961
|
}
|
|
2962
2962
|
];
|
|
2963
|
-
}), r = rn(t), u =
|
|
2963
|
+
}), r = rn(t), u = g(() => [
|
|
2964
2964
|
r.value,
|
|
2965
2965
|
t.placement !== void 0 || t.dotIndicator ? l.value : void 0,
|
|
2966
2966
|
{
|
|
@@ -3030,10 +3030,10 @@ const rs = /* @__PURE__ */ S({
|
|
|
3030
3030
|
n.value = t.hover;
|
|
3031
3031
|
}
|
|
3032
3032
|
Me(() => t.hover, o, { immediate: !0 });
|
|
3033
|
-
const a =
|
|
3033
|
+
const a = g(() => {
|
|
3034
3034
|
let d = "currentColor";
|
|
3035
3035
|
return t.variant && (d = `var(--bs-${t.variant}, currentColor)`), n.value && t.hoverVariant && (d = `var(--bs-${t.hoverVariant}, ${d})`), d;
|
|
3036
|
-
}), l =
|
|
3036
|
+
}), l = g(() => typeof t.size == "string" && t.size.endsWith("%")), r = g(() => !["2xs", "xs", "sm", "md", "lg", "xl", "2xl", void 0].includes(t.size) && !l.value), u = g(() => ["2xs", "xs", "sm", "md", "lg", "xl", "2xl"].includes(t.size ?? "")), s = g(() => ({
|
|
3037
3037
|
"--app-icon-color": a.value,
|
|
3038
3038
|
"--app-icon-raw-size": r.value ? t.size : void 0,
|
|
3039
3039
|
"--app-icon-percent-size": l.value ? t.size : void 0,
|
|
@@ -3042,7 +3042,7 @@ const rs = /* @__PURE__ */ S({
|
|
|
3042
3042
|
"--app-icon-spin-duration": t.spinDuration,
|
|
3043
3043
|
"--app-icon-beat-duration": t.beatDuration,
|
|
3044
3044
|
"--app-icon-fade-duration": t.fadeDuration
|
|
3045
|
-
})), i =
|
|
3045
|
+
})), i = g(() => ({
|
|
3046
3046
|
[`app-icon--size-${t.size}`]: u.value,
|
|
3047
3047
|
"app-icon--has-size": u.value,
|
|
3048
3048
|
"app-icon--raw-size": r.value,
|
|
@@ -3053,7 +3053,7 @@ const rs = /* @__PURE__ */ S({
|
|
|
3053
3053
|
"app-icon--beat": t.beat,
|
|
3054
3054
|
"app-icon--fade": t.fade
|
|
3055
3055
|
}));
|
|
3056
|
-
return (d, c) => (v(),
|
|
3056
|
+
return (d, c) => (v(), y("span", {
|
|
3057
3057
|
class: O(["app-icon", f(i)]),
|
|
3058
3058
|
style: Ce(f(s)),
|
|
3059
3059
|
onMouseenter: c[0] || (c[0] = (m) => n.value = !0),
|
|
@@ -3073,7 +3073,7 @@ const rs = /* @__PURE__ */ S({
|
|
|
3073
3073
|
height: "1.2em"
|
|
3074
3074
|
};
|
|
3075
3075
|
function us(e, t) {
|
|
3076
|
-
return v(),
|
|
3076
|
+
return v(), y("svg", ss, [...t[0] || (t[0] = [
|
|
3077
3077
|
p("path", {
|
|
3078
3078
|
fill: "currentColor",
|
|
3079
3079
|
d: "M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128"
|
|
@@ -3123,17 +3123,17 @@ const cs = xe({ name: "ph-circle-notch", render: us }), ds = {
|
|
|
3123
3123
|
setup(e, { emit: t }) {
|
|
3124
3124
|
let n = 0;
|
|
3125
3125
|
const o = Ve("variant", "action"), a = Ve("size", "md"), l = ke("element"), r = e, u = t;
|
|
3126
|
-
function s(
|
|
3127
|
-
u(`click:${
|
|
3126
|
+
function s(C) {
|
|
3127
|
+
u(`click:${C}`);
|
|
3128
3128
|
}
|
|
3129
|
-
const i = Te(!1), d =
|
|
3129
|
+
const i = Te(!1), d = g(() => r.id ?? `button-icon-${++n}`), c = g(() => ({
|
|
3130
3130
|
"button-icon--square": r.square,
|
|
3131
3131
|
"button-icon--loading": r.loading,
|
|
3132
3132
|
"button-icon--truncate": r.truncate,
|
|
3133
3133
|
"button-icon--hover": i.value,
|
|
3134
3134
|
"button-icon--use-injected-variant": !r.variant,
|
|
3135
3135
|
"button-icon--use-injected-size": !r.size
|
|
3136
|
-
})), m =
|
|
3136
|
+
})), m = g(() => r.loading ? r.iconSpinner : r.iconLeft), w = g(() => r.loading ? r.iconSpinner : r.iconRight), x = g(() => r.loading && r.loadingText ? r.loadingText : r.label), k = g(() => r.tooltipLabel ?? r.label), b = g(() => !!k.value && !r.hideTooltip && (r.showTooltipForce || r.hideLabel)), h = g(() => ({
|
|
3137
3137
|
pill: r.pill,
|
|
3138
3138
|
pressed: r.pressed,
|
|
3139
3139
|
size: r.size ?? a,
|
|
@@ -3141,19 +3141,19 @@ const cs = xe({ name: "ph-circle-notch", render: us }), ds = {
|
|
|
3141
3141
|
type: r.type,
|
|
3142
3142
|
variant: r.variant ?? o
|
|
3143
3143
|
}));
|
|
3144
|
-
return (
|
|
3145
|
-
const
|
|
3144
|
+
return (C, _) => {
|
|
3145
|
+
const $ = On, W = rs, P = as, B = yn;
|
|
3146
3146
|
return v(), R(B, _e(f(h), {
|
|
3147
3147
|
id: f(d),
|
|
3148
3148
|
ref: "element",
|
|
3149
3149
|
class: ["button-icon", f(c)],
|
|
3150
3150
|
"aria-label": f(k),
|
|
3151
|
-
onMouseenter:
|
|
3152
|
-
onMouseleave:
|
|
3151
|
+
onMouseenter: _[1] || (_[1] = (I) => i.value = !0),
|
|
3152
|
+
onMouseleave: _[2] || (_[2] = (I) => i.value = !1)
|
|
3153
3153
|
}), {
|
|
3154
3154
|
default: F(() => [
|
|
3155
|
-
M(
|
|
3156
|
-
e.iconLeft || !e.iconLeft && !e.iconRight && e.loading ? (v(), R(
|
|
3155
|
+
M(C.$slots, "start", {}, void 0, !0),
|
|
3156
|
+
e.iconLeft || !e.iconLeft && !e.iconRight && e.loading ? (v(), R($, {
|
|
3157
3157
|
key: 0,
|
|
3158
3158
|
name: f(m),
|
|
3159
3159
|
size: e.iconLeftSize,
|
|
@@ -3164,14 +3164,14 @@ const cs = xe({ name: "ph-circle-notch", render: us }), ds = {
|
|
|
3164
3164
|
hover: f(i),
|
|
3165
3165
|
class: "button-icon__icon-left"
|
|
3166
3166
|
}, null, 8, ["name", "size", "spin", "spin-duration", "variant", "hover-variant", "hover"])) : D("", !0),
|
|
3167
|
-
e.hideLabel ? D("", !0) : (v(),
|
|
3168
|
-
M(
|
|
3167
|
+
e.hideLabel ? D("", !0) : (v(), y("span", ds, [
|
|
3168
|
+
M(C.$slots, "default", at(lt({ labelOrLoadingText: f(x) })), () => [
|
|
3169
3169
|
re(L(f(x)), 1)
|
|
3170
3170
|
], !0)
|
|
3171
3171
|
])),
|
|
3172
|
-
e.iconRight ? (v(), R(
|
|
3172
|
+
e.iconRight ? (v(), R($, {
|
|
3173
3173
|
key: 2,
|
|
3174
|
-
name: f(
|
|
3174
|
+
name: f(w),
|
|
3175
3175
|
size: e.iconRightSize,
|
|
3176
3176
|
spin: e.loading,
|
|
3177
3177
|
"spin-duration": e.loadingDuration,
|
|
@@ -3179,15 +3179,15 @@ const cs = xe({ name: "ph-circle-notch", render: us }), ds = {
|
|
|
3179
3179
|
"hover-variant": e.iconRightHoverVariant,
|
|
3180
3180
|
hover: f(i),
|
|
3181
3181
|
class: "button-icon__icon-right",
|
|
3182
|
-
onClick:
|
|
3182
|
+
onClick: _[0] || (_[0] = (I) => s("icon-right"))
|
|
3183
3183
|
}, null, 8, ["name", "size", "spin", "spin-duration", "variant", "hover-variant", "hover"])) : D("", !0),
|
|
3184
|
-
e.counter !== null ? (v(), R(
|
|
3184
|
+
e.counter !== null ? (v(), R(W, {
|
|
3185
3185
|
key: 3,
|
|
3186
3186
|
counter: e.counter,
|
|
3187
3187
|
variant: e.counterVariant,
|
|
3188
3188
|
style: Ce(e.counterStyle)
|
|
3189
3189
|
}, null, 8, ["counter", "variant", "style"])) : D("", !0),
|
|
3190
|
-
M(
|
|
3190
|
+
M(C.$slots, "end", {}, void 0, !0),
|
|
3191
3191
|
f(b) ? (v(), R(P, {
|
|
3192
3192
|
key: 4,
|
|
3193
3193
|
"teleport-to": "body",
|
|
@@ -3208,7 +3208,7 @@ const cs = xe({ name: "ph-circle-notch", render: us }), ds = {
|
|
|
3208
3208
|
height: "1.2em"
|
|
3209
3209
|
};
|
|
3210
3210
|
function ps(e, t) {
|
|
3211
|
-
return v(),
|
|
3211
|
+
return v(), y("svg", vs, [...t[0] || (t[0] = [
|
|
3212
3212
|
p("path", {
|
|
3213
3213
|
fill: "currentColor",
|
|
3214
3214
|
d: "M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8m-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z"
|
|
@@ -3221,7 +3221,7 @@ const ms = xe({ name: "ph-copy", render: ps }), hs = {
|
|
|
3221
3221
|
height: "1.2em"
|
|
3222
3222
|
};
|
|
3223
3223
|
function bs(e, t) {
|
|
3224
|
-
return v(),
|
|
3224
|
+
return v(), y("svg", hs, [...t[0] || (t[0] = [
|
|
3225
3225
|
p("path", {
|
|
3226
3226
|
fill: "currentColor",
|
|
3227
3227
|
d: "m229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69L218.34 66.34a8 8 0 0 1 11.32 11.32"
|
|
@@ -3264,13 +3264,13 @@ const Cl = xe({ name: "ph-check", render: bs }), Jh = /* @__PURE__ */ S({
|
|
|
3264
3264
|
size: { default: "md" }
|
|
3265
3265
|
},
|
|
3266
3266
|
setup(e) {
|
|
3267
|
-
const t = e, n =
|
|
3267
|
+
const t = e, n = g(() => !["2xs", "xs", "sm", "md", "lg", "xl", "2xl"].includes(t.size)), o = g(() => ({
|
|
3268
3268
|
"--app-icon-layers-raw-size": n.value ? t.size : void 0,
|
|
3269
3269
|
"--app-icon-layers-size": n.value ? void 0 : t.size
|
|
3270
|
-
})), a =
|
|
3270
|
+
})), a = g(() => ({
|
|
3271
3271
|
[`app-icon-layers--size-${t.size}`]: !n.value
|
|
3272
3272
|
}));
|
|
3273
|
-
return (l, r) => (v(),
|
|
3273
|
+
return (l, r) => (v(), y("span", {
|
|
3274
3274
|
class: O(["app-icon-layers", f(a)]),
|
|
3275
3275
|
style: Ce(f(o))
|
|
3276
3276
|
}, [
|
|
@@ -3293,9 +3293,9 @@ const Cl = xe({ name: "ph-check", render: bs }), Jh = /* @__PURE__ */ S({
|
|
|
3293
3293
|
{ id: "bc-stipple-b", seed: 31, freq: 0.65, amp: 1.9, exp: 1.6 },
|
|
3294
3294
|
{ id: "bc-stipple-c", seed: 12, freq: 0.6, amp: 1.8, exp: 1.5 }
|
|
3295
3295
|
];
|
|
3296
|
-
return (n, o) => (v(),
|
|
3296
|
+
return (n, o) => (v(), y("svg", ys, [
|
|
3297
3297
|
p("defs", null, [
|
|
3298
|
-
(v(),
|
|
3298
|
+
(v(), y(le, null, we(t, (a) => p("filter", {
|
|
3299
3299
|
id: a.id,
|
|
3300
3300
|
key: a.id,
|
|
3301
3301
|
x: "-30%",
|
|
@@ -3345,10 +3345,10 @@ const Cl = xe({ name: "ph-check", render: bs }), Jh = /* @__PURE__ */ S({
|
|
|
3345
3345
|
},
|
|
3346
3346
|
setup(e) {
|
|
3347
3347
|
const t = Da(), n = `bc-ring-field-${t}`, o = `bc-ring-paper-${t}`;
|
|
3348
|
-
return (a, l) => (v(),
|
|
3348
|
+
return (a, l) => (v(), y("div", {
|
|
3349
3349
|
class: O(["bc-ring", { "bc-ring--inline": e.inline }])
|
|
3350
3350
|
}, [
|
|
3351
|
-
(v(),
|
|
3351
|
+
(v(), y("svg", $s, [
|
|
3352
3352
|
p("defs", null, [
|
|
3353
3353
|
p("linearGradient", {
|
|
3354
3354
|
id: n,
|
|
@@ -3405,10 +3405,10 @@ const Cl = xe({ name: "ph-check", render: bs }), Jh = /* @__PURE__ */ S({
|
|
|
3405
3405
|
], 2));
|
|
3406
3406
|
}
|
|
3407
3407
|
}), nb = /* @__PURE__ */ z(Ss, [["__scopeId", "data-v-0cc2eca8"]]);
|
|
3408
|
-
var Bl = (e, t) =>
|
|
3408
|
+
var Bl = (e, t) => g(() => {
|
|
3409
3409
|
const n = fe(e), o = fe(t);
|
|
3410
3410
|
return n === !0 ? "true" : typeof n == "string" ? n : o === !1 ? "true" : n === !1 ? "false" : void 0;
|
|
3411
|
-
}), Lo = (e) =>
|
|
3411
|
+
}), Lo = (e) => g(() => {
|
|
3412
3412
|
const t = fe(e);
|
|
3413
3413
|
return t === !0 ? "is-valid" : t === !1 ? "is-invalid" : null;
|
|
3414
3414
|
}), qn = (e, t, n, o = n) => t.reduce((a, l) => (e[l] && a.push([
|
|
@@ -3479,7 +3479,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3479
3479
|
}
|
|
3480
3480
|
},
|
|
3481
3481
|
setup(e) {
|
|
3482
|
-
const t = Pe(e, "BCol"), n =
|
|
3482
|
+
const t = Pe(e, "BCol"), n = g(() => [
|
|
3483
3483
|
...qn({
|
|
3484
3484
|
sm: t.sm,
|
|
3485
3485
|
md: t.md,
|
|
@@ -3523,7 +3523,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3523
3523
|
"offsetXl",
|
|
3524
3524
|
"offsetXxl"
|
|
3525
3525
|
], "offset")
|
|
3526
|
-
]), o =
|
|
3526
|
+
]), o = g(() => [n.value, {
|
|
3527
3527
|
col: t.col || !n.value.some((a) => a.startsWith("col-")) && !t.cols,
|
|
3528
3528
|
[`col-${t.cols}`]: t.cols !== void 0,
|
|
3529
3529
|
[`offset-${t.offset}`]: t.offset !== void 0,
|
|
@@ -3551,7 +3551,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3551
3551
|
state: e,
|
|
3552
3552
|
disabled: t,
|
|
3553
3553
|
track: o
|
|
3554
|
-
})), { singleLabelTargetId:
|
|
3554
|
+
})), { singleLabelTargetId: g(() => {
|
|
3555
3555
|
let a = null;
|
|
3556
3556
|
for (const l of n.value) {
|
|
3557
3557
|
const r = l.value;
|
|
@@ -3584,7 +3584,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3584
3584
|
}
|
|
3585
3585
|
},
|
|
3586
3586
|
setup(e) {
|
|
3587
|
-
const t = Pe(e, "BFormInvalidFeedback"), n =
|
|
3587
|
+
const t = Pe(e, "BFormInvalidFeedback"), n = g(() => t.forceShow || t.state === !1), o = g(() => ({
|
|
3588
3588
|
"d-block": n.value,
|
|
3589
3589
|
"invalid-feedback": !t.tooltip,
|
|
3590
3590
|
"invalid-tooltip": t.tooltip
|
|
@@ -3629,7 +3629,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3629
3629
|
textVariant: { default: "body-secondary" }
|
|
3630
3630
|
},
|
|
3631
3631
|
setup(e) {
|
|
3632
|
-
const t = Pe(e, "BFormText"), n = rn(t), o =
|
|
3632
|
+
const t = Pe(e, "BFormText"), n = rn(t), o = g(() => [n.value, { "form-text": !t.inline }]);
|
|
3633
3633
|
return (a, l) => (v(), R(Be(f(t).tag), {
|
|
3634
3634
|
id: f(t).id,
|
|
3635
3635
|
class: O(o.value)
|
|
@@ -3660,7 +3660,7 @@ var Bl = (e, t) => w(() => {
|
|
|
3660
3660
|
}
|
|
3661
3661
|
},
|
|
3662
3662
|
setup(e) {
|
|
3663
|
-
const t = Pe(e, "BFormInvalidFeedback"), n =
|
|
3663
|
+
const t = Pe(e, "BFormInvalidFeedback"), n = g(() => t.forceShow === !0 || t.state === !0), o = g(() => ({
|
|
3664
3664
|
"d-block": n.value,
|
|
3665
3665
|
"valid-feedback": !t.tooltip,
|
|
3666
3666
|
"valid-tooltip": t.tooltip
|
|
@@ -3696,8 +3696,8 @@ var Bl = (e, t) => w(() => {
|
|
|
3696
3696
|
descriptionId: {}
|
|
3697
3697
|
},
|
|
3698
3698
|
setup(e) {
|
|
3699
|
-
const t = xt(), n =
|
|
3700
|
-
return (l, r) => (v(),
|
|
3699
|
+
const t = xt(), n = g(() => !!t["invalid-feedback"]), o = g(() => !!t["valid-feedback"]), a = g(() => !!t.description);
|
|
3700
|
+
return (l, r) => (v(), y(le, null, [
|
|
3701
3701
|
n.value || e.invalidFeedback ? (v(), R(As, {
|
|
3702
3702
|
key: 0,
|
|
3703
3703
|
id: e.invalidFeedbackId,
|
|
@@ -3930,23 +3930,23 @@ var Bl = (e, t) => w(() => {
|
|
|
3930
3930
|
], n = Pe(e, "BFormGroup"), o = xt(), a = mt(() => n.state), { singleLabelTargetId: l } = Ls({
|
|
3931
3931
|
state: a,
|
|
3932
3932
|
disabled: mt(() => n.disabled)
|
|
3933
|
-
}), r =
|
|
3933
|
+
}), r = g(() => n.labelFor ?? l.value), u = [
|
|
3934
3934
|
"xs",
|
|
3935
3935
|
"sm",
|
|
3936
3936
|
"md",
|
|
3937
3937
|
"lg",
|
|
3938
3938
|
"xl"
|
|
3939
3939
|
], s = (T, E) => u.reduce((H, G) => {
|
|
3940
|
-
let
|
|
3941
|
-
if (
|
|
3942
|
-
const ne = Number.parseInt(
|
|
3943
|
-
|
|
3940
|
+
let q = T[ua(G === "xs" ? "" : G, `${E}Cols`)];
|
|
3941
|
+
if (q = q === "" ? !0 : q || !1, typeof q != "boolean" && q !== "auto") {
|
|
3942
|
+
const ne = Number.parseInt(q);
|
|
3943
|
+
q = Number.isNaN(ne) ? 0 : ne, q = q > 0 ? q : !1;
|
|
3944
3944
|
}
|
|
3945
|
-
return
|
|
3946
|
-
}, {}), i = ke("_content"), d =
|
|
3947
|
-
const
|
|
3948
|
-
return
|
|
3949
|
-
}, []))(n, "label")), m =
|
|
3945
|
+
return q && (G === "xs" ? H[typeof q == "boolean" ? "col" : "cols"] = q : H[G || (typeof q == "boolean" ? "col" : "cols")] = q), H;
|
|
3946
|
+
}, {}), i = ke("_content"), d = g(() => s(n, "content")), c = g(() => ((T, E) => u.reduce((H, G) => {
|
|
3947
|
+
const q = T[ua(G === "xs" ? "" : G, `${E}Align`)] || null;
|
|
3948
|
+
return q && (G === "xs" ? H.push(`text-${q}`) : H.push(`text-${G}-${q}`)), H;
|
|
3949
|
+
}, []))(n, "label")), m = g(() => s(n, "label")), w = g(() => Object.keys(d.value).length > 0 || Object.keys(m.value).length > 0), x = Lo(a), k = Bl(() => n.ariaInvalid, a), b = (T) => {
|
|
3950
3950
|
if (r.value || i.value === null) return;
|
|
3951
3951
|
const { target: E } = T, H = E ? E.tagName : "";
|
|
3952
3952
|
if ([
|
|
@@ -3955,50 +3955,50 @@ var Bl = (e, t) => w(() => {
|
|
|
3955
3955
|
"button",
|
|
3956
3956
|
"label"
|
|
3957
3957
|
].indexOf(H) !== -1) return;
|
|
3958
|
-
const G =
|
|
3958
|
+
const G = w.value && i.value && "$el" in i.value ? i.value.$el : i.value;
|
|
3959
3959
|
if (!G) return;
|
|
3960
|
-
const
|
|
3961
|
-
|
|
3962
|
-
}, h = pt(() => n.id),
|
|
3963
|
-
|
|
3960
|
+
const q = [...G.querySelectorAll(t.map((se) => `${se}:not([disabled])`).join())].filter(Yr), [ne] = q;
|
|
3961
|
+
q.length === 1 && ne instanceof HTMLElement && Ur(ne);
|
|
3962
|
+
}, h = pt(() => n.id), C = pt(void 0, "_BV_label_"), _ = g(() => r.value ? "label" : "legend"), $ = g(() => [
|
|
3963
|
+
w.value ? "col-form-label" : "form-label",
|
|
3964
3964
|
{
|
|
3965
3965
|
"bv-no-focus-ring": !r.value,
|
|
3966
|
-
"col-form-label":
|
|
3967
|
-
"pt-0": !
|
|
3968
|
-
"d-block": !
|
|
3966
|
+
"col-form-label": w.value || !r.value,
|
|
3967
|
+
"pt-0": !w.value && !r.value,
|
|
3968
|
+
"d-block": !w.value && r.value,
|
|
3969
3969
|
[`col-form-label-${n.labelSize}`]: !!n.labelSize,
|
|
3970
3970
|
"visually-hidden": n.labelVisuallyHidden
|
|
3971
3971
|
},
|
|
3972
|
-
|
|
3972
|
+
w.value ? null : c.value,
|
|
3973
3973
|
n.labelClass
|
|
3974
|
-
]),
|
|
3974
|
+
]), W = pt(void 0, "_BV_feedback_invalid_"), P = pt(void 0, "_BV_feedback_valid_"), B = pt(void 0, "_BV_description_"), I = g(() => !r.value), V = g(() => !!o.label || !!n.label || w.value), j = g(() => ({
|
|
3975
3975
|
label: n.label,
|
|
3976
|
-
labelTag:
|
|
3977
|
-
labelId:
|
|
3976
|
+
labelTag: _.value,
|
|
3977
|
+
labelId: C.value,
|
|
3978
3978
|
computedLabelFor: r.value,
|
|
3979
3979
|
isFieldset: I.value,
|
|
3980
|
-
isHorizontal:
|
|
3980
|
+
isHorizontal: w.value,
|
|
3981
3981
|
labelColProps: m.value,
|
|
3982
3982
|
labelAlignClasses: c.value,
|
|
3983
|
-
labelClasses:
|
|
3984
|
-
})), te =
|
|
3983
|
+
labelClasses: $.value
|
|
3984
|
+
})), te = g(() => ({
|
|
3985
3985
|
invalidFeedback: n.invalidFeedback,
|
|
3986
3986
|
validFeedback: n.validFeedback,
|
|
3987
3987
|
description: n.description,
|
|
3988
3988
|
feedbackAriaLive: n.feedbackAriaLive,
|
|
3989
3989
|
state: a.value,
|
|
3990
3990
|
tooltip: n.tooltip,
|
|
3991
|
-
invalidFeedbackId:
|
|
3991
|
+
invalidFeedbackId: W.value,
|
|
3992
3992
|
validFeedbackId: P.value,
|
|
3993
3993
|
descriptionId: B.value
|
|
3994
3994
|
}));
|
|
3995
|
-
return (T, E) => (v(),
|
|
3995
|
+
return (T, E) => (v(), y("fieldset", _e({
|
|
3996
3996
|
id: f(h),
|
|
3997
3997
|
disabled: f(n).disabled,
|
|
3998
3998
|
"aria-invalid": f(k),
|
|
3999
|
-
"aria-labelledby": I.value &&
|
|
4000
|
-
}, T.$attrs, { class: [[f(x), { "was-validated": f(n).validated }], "b-form-group"] }), [
|
|
4001
|
-
default: F(() => [V.value ? (v(), R(Gn, _e({ key: 0 },
|
|
3999
|
+
"aria-labelledby": I.value && w.value ? f(C) : void 0
|
|
4000
|
+
}, T.$attrs, { class: [[f(x), { "was-validated": f(n).validated }], "b-form-group"] }), [w.value ? (v(), R(Ts, { key: 0 }, {
|
|
4001
|
+
default: F(() => [V.value ? (v(), R(Gn, _e({ key: 0 }, j.value, { onLegendClick: b }), vt({ _: 2 }, [o.label ? {
|
|
4002
4002
|
name: "label",
|
|
4003
4003
|
fn: F(() => [M(T.$slots, "label")]),
|
|
4004
4004
|
key: "0"
|
|
@@ -4007,7 +4007,7 @@ var Bl = (e, t) => w(() => {
|
|
|
4007
4007
|
id: f(h),
|
|
4008
4008
|
ariaDescribedby: null,
|
|
4009
4009
|
descriptionId: f(B),
|
|
4010
|
-
labelId: f(
|
|
4010
|
+
labelId: f(C)
|
|
4011
4011
|
}), Y(jn, at(lt(te.value)), vt({ _: 2 }, [
|
|
4012
4012
|
o["invalid-feedback"] ? {
|
|
4013
4013
|
name: "invalid-feedback",
|
|
@@ -4028,14 +4028,14 @@ var Bl = (e, t) => w(() => {
|
|
|
4028
4028
|
_: 3
|
|
4029
4029
|
}, 16)]),
|
|
4030
4030
|
_: 3
|
|
4031
|
-
})) : (v(),
|
|
4031
|
+
})) : (v(), y(le, { key: 1 }, [f(n).floating && !w.value ? (v(), y("div", Ds, [
|
|
4032
4032
|
M(T.$slots, "default", {
|
|
4033
4033
|
id: f(h),
|
|
4034
4034
|
ariaDescribedby: null,
|
|
4035
4035
|
descriptionId: f(B),
|
|
4036
|
-
labelId: f(
|
|
4036
|
+
labelId: f(C)
|
|
4037
4037
|
}),
|
|
4038
|
-
V.value ? (v(), R(Gn, _e({ key: 0 },
|
|
4038
|
+
V.value ? (v(), R(Gn, _e({ key: 0 }, j.value, { onLegendClick: b }), vt({ _: 2 }, [o.label ? {
|
|
4039
4039
|
name: "label",
|
|
4040
4040
|
fn: F(() => [M(T.$slots, "label")]),
|
|
4041
4041
|
key: "0"
|
|
@@ -4057,8 +4057,8 @@ var Bl = (e, t) => w(() => {
|
|
|
4057
4057
|
key: "2"
|
|
4058
4058
|
} : void 0
|
|
4059
4059
|
]), 1040)
|
|
4060
|
-
], 512)) : (v(),
|
|
4061
|
-
V.value ? (v(), R(Gn, _e({ key: 0 },
|
|
4060
|
+
], 512)) : (v(), y(le, { key: 1 }, [
|
|
4061
|
+
V.value ? (v(), R(Gn, _e({ key: 0 }, j.value, { onLegendClick: b }), vt({ _: 2 }, [o.label ? {
|
|
4062
4062
|
name: "label",
|
|
4063
4063
|
fn: F(() => [M(T.$slots, "label")]),
|
|
4064
4064
|
key: "0"
|
|
@@ -4067,7 +4067,7 @@ var Bl = (e, t) => w(() => {
|
|
|
4067
4067
|
id: f(h),
|
|
4068
4068
|
ariaDescribedby: null,
|
|
4069
4069
|
descriptionId: f(B),
|
|
4070
|
-
labelId: f(
|
|
4070
|
+
labelId: f(C)
|
|
4071
4071
|
}),
|
|
4072
4072
|
Y(jn, at(lt(te.value)), vt({ _: 2 }, [
|
|
4073
4073
|
o["invalid-feedback"] ? {
|
|
@@ -4088,7 +4088,7 @@ var Bl = (e, t) => w(() => {
|
|
|
4088
4088
|
]), 1040)
|
|
4089
4089
|
], 64))], 64))], 16, Fs));
|
|
4090
4090
|
}
|
|
4091
|
-
}), Rs = (e) =>
|
|
4091
|
+
}), Rs = (e) => g(() => {
|
|
4092
4092
|
const t = fe(e);
|
|
4093
4093
|
return {
|
|
4094
4094
|
"form-check": !t.plain && !t.button && t.hasDefaultSlot,
|
|
@@ -4099,11 +4099,11 @@ var Bl = (e, t) => w(() => {
|
|
|
4099
4099
|
};
|
|
4100
4100
|
}), Vs = (e) => {
|
|
4101
4101
|
const t = Ae(mt(e)), n = Lo(() => t.value.state ?? null);
|
|
4102
|
-
return
|
|
4102
|
+
return g(() => [n.value, {
|
|
4103
4103
|
"form-check-input": !t.value.plain && !t.value.button,
|
|
4104
4104
|
"btn-check": t.value.button === !0
|
|
4105
4105
|
}]);
|
|
4106
|
-
}, Os = (e) =>
|
|
4106
|
+
}, Os = (e) => g(() => {
|
|
4107
4107
|
const t = fe(e);
|
|
4108
4108
|
return {
|
|
4109
4109
|
"form-check-label": !t.plain && !t.button,
|
|
@@ -4224,13 +4224,13 @@ var Bl = (e, t) => w(() => {
|
|
|
4224
4224
|
emits: ["update:modelValue", "update:indeterminate"],
|
|
4225
4225
|
setup(e, { expose: t }) {
|
|
4226
4226
|
var T;
|
|
4227
|
-
const n = Pe(e, "BFormCheckbox"), o = xt(), a = on(), l = ae(e, "modelValue"), r = ae(e, "indeterminate"), u =
|
|
4227
|
+
const n = Pe(e, "BFormCheckbox"), o = xt(), a = on(), l = ae(e, "modelValue"), r = ae(e, "indeterminate"), u = g(() => {
|
|
4228
4228
|
const { class: E, ...H } = a;
|
|
4229
4229
|
return {
|
|
4230
4230
|
wrapperClass: E,
|
|
4231
4231
|
inputAttrs: H
|
|
4232
4232
|
};
|
|
4233
|
-
}), s = pt(() => n.id, "form-check"), i = Ve(yr, null), d = ke("_input"), { focused: c } = el(d, { initialValue: n.autofocus }), m =
|
|
4233
|
+
}), s = pt(() => n.id, "form-check"), i = Ve(yr, null), d = ke("_input"), { focused: c } = el(d, { initialValue: n.autofocus }), m = g(() => !nl(o.default)), w = {
|
|
4234
4234
|
plain: !1,
|
|
4235
4235
|
button: !1,
|
|
4236
4236
|
inline: !1,
|
|
@@ -4239,18 +4239,18 @@ var Bl = (e, t) => w(() => {
|
|
|
4239
4239
|
size: void 0,
|
|
4240
4240
|
buttonVariant: "secondary",
|
|
4241
4241
|
state: null
|
|
4242
|
-
}, x =
|
|
4243
|
-
plain: n.plain ?? (i == null ? void 0 : i.plain.value) ??
|
|
4244
|
-
button: n.button ?? (i == null ? void 0 : i.buttons.value) ??
|
|
4245
|
-
inline: n.inline ?? (i == null ? void 0 : i.inline.value) ??
|
|
4246
|
-
reverse: n.reverse ?? (i == null ? void 0 : i.reverse.value) ??
|
|
4247
|
-
switch: n.switch ?? (i == null ? void 0 : i.switch.value) ??
|
|
4248
|
-
state: n.state ?? (i == null ? void 0 : i.state.value) ??
|
|
4249
|
-
size: n.size ?? (i == null ? void 0 : i.size.value) ??
|
|
4250
|
-
buttonVariant: n.buttonVariant ?? (i == null ? void 0 : i.buttonVariant.value) ??
|
|
4251
|
-
})), k =
|
|
4252
|
-
|
|
4253
|
-
const
|
|
4242
|
+
}, x = g(() => ({
|
|
4243
|
+
plain: n.plain ?? (i == null ? void 0 : i.plain.value) ?? w.plain,
|
|
4244
|
+
button: n.button ?? (i == null ? void 0 : i.buttons.value) ?? w.button,
|
|
4245
|
+
inline: n.inline ?? (i == null ? void 0 : i.inline.value) ?? w.inline,
|
|
4246
|
+
reverse: n.reverse ?? (i == null ? void 0 : i.reverse.value) ?? w.reverse,
|
|
4247
|
+
switch: n.switch ?? (i == null ? void 0 : i.switch.value) ?? w.switch,
|
|
4248
|
+
state: n.state ?? (i == null ? void 0 : i.state.value) ?? w.state,
|
|
4249
|
+
size: n.size ?? (i == null ? void 0 : i.size.value) ?? w.size,
|
|
4250
|
+
buttonVariant: n.buttonVariant ?? (i == null ? void 0 : i.buttonVariant.value) ?? w.buttonVariant
|
|
4251
|
+
})), k = g(() => x.value.plain), b = g(() => m.value || !k.value), h = g(() => b.value ? null : s.value), C = (T = Ve(ho, null)) == null ? void 0 : T();
|
|
4252
|
+
C == null || C.track(h);
|
|
4253
|
+
const _ = g({
|
|
4254
4254
|
get: () => i ? i.modelValue.value : l.value,
|
|
4255
4255
|
set: (E) => {
|
|
4256
4256
|
if (E !== void 0) {
|
|
@@ -4261,10 +4261,10 @@ var Bl = (e, t) => w(() => {
|
|
|
4261
4261
|
l.value = E;
|
|
4262
4262
|
}
|
|
4263
4263
|
}
|
|
4264
|
-
}),
|
|
4264
|
+
}), $ = g(() => !!(n.name ?? (i == null ? void 0 : i.name.value)) && (n.required || (i == null ? void 0 : i.required.value))), W = g(() => n.buttonGroup || ((i == null ? void 0 : i.buttons.value) ?? !1)), P = g(() => ({
|
|
4265
4265
|
...x.value,
|
|
4266
4266
|
hasDefaultSlot: m.value
|
|
4267
|
-
})), B = Rs(P), I =
|
|
4267
|
+
})), B = Rs(P), I = g(() => [B.value, u.value.wrapperClass]), V = Vs(P), j = g(() => [V.value, n.inputClass]), te = Os(P);
|
|
4268
4268
|
return t({
|
|
4269
4269
|
blur: () => {
|
|
4270
4270
|
c.value = !1;
|
|
@@ -4273,27 +4273,27 @@ var Bl = (e, t) => w(() => {
|
|
|
4273
4273
|
focus: () => {
|
|
4274
4274
|
c.value = !0;
|
|
4275
4275
|
}
|
|
4276
|
-
}), (E, H) => (v(), R(Mo, _e({ skip:
|
|
4276
|
+
}), (E, H) => (v(), R(Mo, _e({ skip: W.value }, f(n).wrapperAttrs, { class: I.value }), {
|
|
4277
4277
|
default: F(() => {
|
|
4278
|
-
var G,
|
|
4278
|
+
var G, q, ne, se;
|
|
4279
4279
|
return [Lt(p("input", _e({
|
|
4280
4280
|
id: f(s),
|
|
4281
4281
|
ref: "_input",
|
|
4282
|
-
"onUpdate:modelValue": H[0] || (H[0] = (ve) =>
|
|
4283
|
-
class:
|
|
4282
|
+
"onUpdate:modelValue": H[0] || (H[0] = (ve) => _.value = ve),
|
|
4283
|
+
class: j.value,
|
|
4284
4284
|
type: "checkbox",
|
|
4285
|
-
disabled: f(n).disabled || ((G = f(i)) == null ? void 0 : G.disabled.value) || ((
|
|
4286
|
-
required:
|
|
4285
|
+
disabled: f(n).disabled || ((G = f(i)) == null ? void 0 : G.disabled.value) || ((q = f(C)) == null ? void 0 : q.disabled.value),
|
|
4286
|
+
required: $.value || void 0,
|
|
4287
4287
|
name: f(n).name || ((ne = f(i)) == null ? void 0 : ne.name.value),
|
|
4288
4288
|
form: f(n).form || ((se = f(i)) == null ? void 0 : se.form.value),
|
|
4289
4289
|
"aria-label": f(n).ariaLabel,
|
|
4290
4290
|
"aria-labelledby": f(n).ariaLabelledby,
|
|
4291
|
-
"aria-required":
|
|
4291
|
+
"aria-required": $.value || void 0,
|
|
4292
4292
|
value: f(n).value,
|
|
4293
4293
|
"true-value": f(n).value,
|
|
4294
4294
|
"false-value": f(n).uncheckedValue,
|
|
4295
4295
|
indeterminate: r.value || void 0
|
|
4296
|
-
}, u.value.inputAttrs), null, 16, Es), [[Oa,
|
|
4296
|
+
}, u.value.inputAttrs), null, 16, Es), [[Oa, _.value]]), b.value ? (v(), y("label", {
|
|
4297
4297
|
key: 0,
|
|
4298
4298
|
for: f(s),
|
|
4299
4299
|
class: O(f(te))
|
|
@@ -5073,7 +5073,7 @@ const ha = (e, t, n = !1) => {
|
|
|
5073
5073
|
}, Xn = (e, t) => !!(Object.prototype.hasOwnProperty.call(e, t) && typeof e[t] < "u"), fn = (e) => typeof e > "u", Ao = ["update:tinyColor", "update:modelValue", "input"];
|
|
5074
5074
|
function To(e, t, n) {
|
|
5075
5075
|
let o, a;
|
|
5076
|
-
const l =
|
|
5076
|
+
const l = g({
|
|
5077
5077
|
get: () => {
|
|
5078
5078
|
const { modelValue: u, tinyColor: s, value: i } = e, d = s ?? u ?? i;
|
|
5079
5079
|
return fn(a) && (fn(i) || (a = U(i).getFormat()), fn(u) || (a = U(u).getFormat())), fn(o) && (typeof i == "object" && !(i instanceof U) && (o = !0), typeof u == "object" && (o = !0)), U(d);
|
|
@@ -5132,27 +5132,27 @@ const Il = (e, t = 20) => {
|
|
|
5132
5132
|
},
|
|
5133
5133
|
emits: ["change"].concat(Ao),
|
|
5134
5134
|
setup(e, { emit: t }) {
|
|
5135
|
-
const n = t, o = e, a = ue(0), l = To(o, n), r =
|
|
5136
|
-
function m(
|
|
5137
|
-
const
|
|
5138
|
-
if (
|
|
5135
|
+
const n = t, o = e, a = ue(0), l = To(o, n), r = g(() => l.value.toHsv()), u = g(() => o.hue ?? r.value.h), s = g(() => `hsl(${u.value}, 100%, 50%)`), i = g(() => -(r.value.v * 100) + 1 + 100 + "%"), d = g(() => r.value.v <= 0.01 ? a.value * 100 + "%" : r.value.s * 100 + "%"), c = ue(null);
|
|
5136
|
+
function m(_) {
|
|
5137
|
+
const $ = c.value;
|
|
5138
|
+
if (!$)
|
|
5139
5139
|
return;
|
|
5140
|
-
const
|
|
5140
|
+
const W = $.clientWidth, P = $.clientHeight, { x: B, y: I } = Pl($), { x: V, y: j } = Tl(_), te = Kn(V - B, 0, W), T = Kn(j - I, 0, P), E = te / W, H = Kn(1 - T / P, 0, 1);
|
|
5141
5141
|
a.value = E;
|
|
5142
|
-
let G = Math.round(E * 100),
|
|
5143
|
-
G === 1 && (G = 0.01),
|
|
5142
|
+
let G = Math.round(E * 100), q = Math.round(H * 100);
|
|
5143
|
+
G === 1 && (G = 0.01), q === 1 && (q = 0.01), w({
|
|
5144
5144
|
h: u.value,
|
|
5145
5145
|
s: G,
|
|
5146
|
-
v:
|
|
5146
|
+
v: q,
|
|
5147
5147
|
a: r.value.a
|
|
5148
5148
|
});
|
|
5149
5149
|
}
|
|
5150
|
-
function
|
|
5151
|
-
l.value =
|
|
5150
|
+
function w(_) {
|
|
5151
|
+
l.value = _;
|
|
5152
5152
|
}
|
|
5153
5153
|
const x = Il(m, 20);
|
|
5154
|
-
function k(
|
|
5155
|
-
|
|
5154
|
+
function k(_) {
|
|
5155
|
+
_.preventDefault(), _.type.startsWith("mouse") ? (window.addEventListener("mousemove", x), window.addEventListener("mouseup", x), window.addEventListener("mouseup", b)) : _.type.startsWith("touch") && (window.addEventListener("touchmove", x), window.addEventListener("touchend", x), window.addEventListener("touchend", b));
|
|
5156
5156
|
}
|
|
5157
5157
|
function b() {
|
|
5158
5158
|
h();
|
|
@@ -5160,37 +5160,37 @@ const Il = (e, t = 20) => {
|
|
|
5160
5160
|
function h() {
|
|
5161
5161
|
window.removeEventListener("mousemove", x), window.removeEventListener("mouseup", x), window.removeEventListener("mouseup", b), window.removeEventListener("touchmove", x), window.removeEventListener("touchend", x), window.removeEventListener("touchend", b);
|
|
5162
5162
|
}
|
|
5163
|
-
function
|
|
5164
|
-
switch (
|
|
5163
|
+
function C(_) {
|
|
5164
|
+
switch (_.preventDefault(), Po(_)) {
|
|
5165
5165
|
case "left": {
|
|
5166
|
-
const
|
|
5167
|
-
|
|
5166
|
+
const $ = r.value.s - 0.01;
|
|
5167
|
+
w({
|
|
5168
5168
|
...r.value,
|
|
5169
|
-
s:
|
|
5169
|
+
s: $ >= 0 ? $ : 0
|
|
5170
5170
|
});
|
|
5171
5171
|
break;
|
|
5172
5172
|
}
|
|
5173
5173
|
case "right": {
|
|
5174
|
-
const
|
|
5175
|
-
|
|
5174
|
+
const $ = r.value.s + 0.01;
|
|
5175
|
+
w({
|
|
5176
5176
|
...r.value,
|
|
5177
|
-
s:
|
|
5177
|
+
s: $ > 1 ? 1 : $
|
|
5178
5178
|
});
|
|
5179
5179
|
break;
|
|
5180
5180
|
}
|
|
5181
5181
|
case "up": {
|
|
5182
|
-
const
|
|
5183
|
-
|
|
5182
|
+
const $ = r.value.v + 0.01;
|
|
5183
|
+
w({
|
|
5184
5184
|
...r.value,
|
|
5185
|
-
v:
|
|
5185
|
+
v: $ > 1 ? 1 : $
|
|
5186
5186
|
});
|
|
5187
5187
|
break;
|
|
5188
5188
|
}
|
|
5189
5189
|
case "down": {
|
|
5190
|
-
const
|
|
5191
|
-
|
|
5190
|
+
const $ = r.value.v - 0.01;
|
|
5191
|
+
w({
|
|
5192
5192
|
...r.value,
|
|
5193
|
-
v:
|
|
5193
|
+
v: $ < 0 ? 0 : $
|
|
5194
5194
|
});
|
|
5195
5195
|
break;
|
|
5196
5196
|
}
|
|
@@ -5198,7 +5198,7 @@ const Il = (e, t = 20) => {
|
|
|
5198
5198
|
}
|
|
5199
5199
|
return Pn(() => {
|
|
5200
5200
|
h();
|
|
5201
|
-
}), (
|
|
5201
|
+
}), (_, $) => (v(), y("div", {
|
|
5202
5202
|
class: "vc-saturation-slider bg",
|
|
5203
5203
|
style: Ce({ background: s.value }),
|
|
5204
5204
|
ref_key: "containerRef",
|
|
@@ -5208,8 +5208,8 @@ const Il = (e, t = 20) => {
|
|
|
5208
5208
|
role: "application",
|
|
5209
5209
|
"aria-label": "Saturation and brightness picker"
|
|
5210
5210
|
}, [
|
|
5211
|
-
|
|
5212
|
-
|
|
5211
|
+
$[1] || ($[1] = p("div", { class: "bg white" }, null, -1)),
|
|
5212
|
+
$[2] || ($[2] = p("div", { class: "bg black" }, null, -1)),
|
|
5213
5213
|
p("div", {
|
|
5214
5214
|
class: "picker-wrap",
|
|
5215
5215
|
style: Ce({ top: i.value, left: d.value }),
|
|
@@ -5220,8 +5220,8 @@ const Il = (e, t = 20) => {
|
|
|
5220
5220
|
"aria-label": "press arrow to change saturation or brightness",
|
|
5221
5221
|
"aria-valuenow": "?",
|
|
5222
5222
|
"aria-valuetext": `saturation: ${r.value.s.toFixed(0)}%, brightness: ${r.value.v.toFixed(0)}%`,
|
|
5223
|
-
onKeydown:
|
|
5224
|
-
},
|
|
5223
|
+
onKeydown: C
|
|
5224
|
+
}, $[0] || ($[0] = [
|
|
5225
5225
|
p("div", { class: "picker" }, null, -1)
|
|
5226
5226
|
]), 44, vu)
|
|
5227
5227
|
], 36));
|
|
@@ -5246,7 +5246,7 @@ const Il = (e, t = 20) => {
|
|
|
5246
5246
|
},
|
|
5247
5247
|
emits: ["input", "update:modelValue"],
|
|
5248
5248
|
setup(e, { emit: t }) {
|
|
5249
|
-
const n = e, o = t, a =
|
|
5249
|
+
const n = e, o = t, a = g(() => n.modelValue ?? n.value), l = g(() => {
|
|
5250
5250
|
let x = a.value / n.max;
|
|
5251
5251
|
return n.direction === "vertical" && (x = 1 - x), 100 * x + "%";
|
|
5252
5252
|
}), r = ue(null);
|
|
@@ -5257,9 +5257,9 @@ const Il = (e, t = 20) => {
|
|
|
5257
5257
|
const { direction: k, max: b } = n, h = r.value;
|
|
5258
5258
|
if (!h)
|
|
5259
5259
|
return;
|
|
5260
|
-
const
|
|
5261
|
-
let
|
|
5262
|
-
k === "vertical" ? V < 0 ?
|
|
5260
|
+
const C = h.clientWidth, _ = h.clientHeight, { x: $, y: W } = Pl(h), { x: P, y: B } = Tl(x), I = P - $, V = B - W;
|
|
5261
|
+
let j;
|
|
5262
|
+
k === "vertical" ? V < 0 ? j = b : V > _ ? j = 0 : j = (1 - V / _) * b : I < 0 ? j = 0 : I > C ? j = b : j = I / C * b, u(j);
|
|
5263
5263
|
}
|
|
5264
5264
|
const i = Il(s);
|
|
5265
5265
|
function d(x) {
|
|
@@ -5271,42 +5271,42 @@ const Il = (e, t = 20) => {
|
|
|
5271
5271
|
function m() {
|
|
5272
5272
|
window.removeEventListener("mousemove", i), window.removeEventListener("mouseup", c), window.removeEventListener("touchmove", i), window.removeEventListener("touchend", c);
|
|
5273
5273
|
}
|
|
5274
|
-
function
|
|
5274
|
+
function w(x) {
|
|
5275
5275
|
x.preventDefault();
|
|
5276
|
-
const { direction: k, max: b } = n, h = Po(x),
|
|
5277
|
-
let
|
|
5276
|
+
const { direction: k, max: b } = n, h = Po(x), C = n.step ?? b / 100, _ = a.value;
|
|
5277
|
+
let $;
|
|
5278
5278
|
switch (h) {
|
|
5279
5279
|
case "left": {
|
|
5280
5280
|
if (k !== "horizontal")
|
|
5281
5281
|
return;
|
|
5282
|
-
|
|
5282
|
+
$ = _ - C < 0 ? 0 : _ - C;
|
|
5283
5283
|
break;
|
|
5284
5284
|
}
|
|
5285
5285
|
case "right": {
|
|
5286
5286
|
if (k !== "horizontal")
|
|
5287
5287
|
return;
|
|
5288
|
-
|
|
5288
|
+
$ = _ + C > b ? b : _ + C;
|
|
5289
5289
|
break;
|
|
5290
5290
|
}
|
|
5291
5291
|
case "down": {
|
|
5292
5292
|
if (k !== "vertical")
|
|
5293
5293
|
return;
|
|
5294
|
-
|
|
5294
|
+
$ = _ - C < 0 ? 0 : _ - C;
|
|
5295
5295
|
break;
|
|
5296
5296
|
}
|
|
5297
5297
|
case "up": {
|
|
5298
5298
|
if (k !== "vertical")
|
|
5299
5299
|
return;
|
|
5300
|
-
|
|
5300
|
+
$ = _ + C > b ? b : _ + C;
|
|
5301
5301
|
break;
|
|
5302
5302
|
}
|
|
5303
5303
|
}
|
|
5304
|
-
u(
|
|
5304
|
+
u($);
|
|
5305
5305
|
}
|
|
5306
5306
|
return Pn(() => {
|
|
5307
5307
|
m();
|
|
5308
|
-
}), (x, k) => (v(),
|
|
5309
|
-
x.$slots.background ? (v(),
|
|
5308
|
+
}), (x, k) => (v(), y("div", hu, [
|
|
5309
|
+
x.$slots.background ? (v(), y("div", bu, [
|
|
5310
5310
|
M(x.$slots, "background", {}, void 0, !0)
|
|
5311
5311
|
])) : D("", !0),
|
|
5312
5312
|
p("div", {
|
|
@@ -5325,7 +5325,7 @@ const Il = (e, t = 20) => {
|
|
|
5325
5325
|
"aria-valuemin": "0",
|
|
5326
5326
|
"aria-valuenow": a.value.toFixed(1),
|
|
5327
5327
|
tabindex: "0",
|
|
5328
|
-
onKeydown:
|
|
5328
|
+
onKeydown: w
|
|
5329
5329
|
}, [
|
|
5330
5330
|
p("div", {
|
|
5331
5331
|
class: "picker-wrap",
|
|
@@ -5353,14 +5353,14 @@ const Il = (e, t = 20) => {
|
|
|
5353
5353
|
Ea((d) => ({
|
|
5354
5354
|
"2f44f39d": a.value
|
|
5355
5355
|
}));
|
|
5356
|
-
const n = e, o = t, a =
|
|
5356
|
+
const n = e, o = t, a = g(() => `linear-gradient(to ${n.direction === "horizontal" ? "right" : "top"}, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)`), l = g(() => {
|
|
5357
5357
|
const d = Number(n.modelValue);
|
|
5358
5358
|
return Number.isNaN(d) ? 0 : d;
|
|
5359
5359
|
}), r = ue();
|
|
5360
5360
|
Me(l, (d, c) => {
|
|
5361
5361
|
d !== 0 && d - c > 0 && (r.value = "right"), d !== 0 && d - c < 0 && (r.value = "left");
|
|
5362
5362
|
});
|
|
5363
|
-
const u =
|
|
5363
|
+
const u = g(() => n.direction === "vertical" ? l.value === 0 && r.value === "right" ? 0 : l.value : n.direction === "horizontal" ? l.value === 0 && r.value === "right" ? 360 : l.value : 0);
|
|
5364
5364
|
function s(d) {
|
|
5365
5365
|
i(Math.round(d));
|
|
5366
5366
|
}
|
|
@@ -5405,9 +5405,9 @@ const Il = (e, t = 20) => {
|
|
|
5405
5405
|
var d;
|
|
5406
5406
|
const n = e, o = t, a = ((d = n.a11y) == null ? void 0 : d.label) ?? n.label, l = `input__label__${a}__${Math.random().toString().slice(2, 5)}`;
|
|
5407
5407
|
function r(c) {
|
|
5408
|
-
const { min: m, max:
|
|
5409
|
-
if (so(
|
|
5410
|
-
o("change",
|
|
5408
|
+
const { min: m, max: w } = n;
|
|
5409
|
+
if (so(w) && +c > w) {
|
|
5410
|
+
o("change", w);
|
|
5411
5411
|
return;
|
|
5412
5412
|
}
|
|
5413
5413
|
if (so(m) && +c < m) {
|
|
@@ -5426,12 +5426,12 @@ const Il = (e, t = 20) => {
|
|
|
5426
5426
|
function i(c) {
|
|
5427
5427
|
let m = Number(n.value);
|
|
5428
5428
|
if (!isNaN(m)) {
|
|
5429
|
-
let
|
|
5430
|
-
const x = fu(
|
|
5431
|
-
k === "up" && (r((m +
|
|
5429
|
+
let w = n.step;
|
|
5430
|
+
const x = fu(w), k = Po(c);
|
|
5431
|
+
k === "up" && (r((m + w).toFixed(x)), c.preventDefault()), k === "down" && (r((m - w).toFixed(x)), c.preventDefault());
|
|
5432
5432
|
}
|
|
5433
5433
|
}
|
|
5434
|
-
return (c, m) => (v(),
|
|
5434
|
+
return (c, m) => (v(), y("div", ku, [
|
|
5435
5435
|
p("input", {
|
|
5436
5436
|
class: "vc-input-input",
|
|
5437
5437
|
value: n.value,
|
|
@@ -5446,7 +5446,7 @@ const Il = (e, t = 20) => {
|
|
|
5446
5446
|
class: "vc-input-label",
|
|
5447
5447
|
"aria-hidden": "true"
|
|
5448
5448
|
}, L(n.label), 1),
|
|
5449
|
-
c.desc ? (v(),
|
|
5449
|
+
c.desc ? (v(), y("span", $u, L(c.desc), 1)) : D("", !0)
|
|
5450
5450
|
]));
|
|
5451
5451
|
}
|
|
5452
5452
|
}), St = /* @__PURE__ */ Wt(Cu, [["__scopeId", "data-v-9c267b2b"]]), ba = (e) => U(e).isValid(), Dl = /* @__PURE__ */ S({
|
|
@@ -5553,12 +5553,12 @@ const zu = {
|
|
|
5553
5553
|
},
|
|
5554
5554
|
emits: Ao,
|
|
5555
5555
|
setup(e, { emit: t }) {
|
|
5556
|
-
const n = e, o = To(n, t), a =
|
|
5556
|
+
const n = e, o = To(n, t), a = g(() => o.value.toHexString()), l = (s) => s.toLowerCase() === a.value.toLowerCase(), r = (s) => {
|
|
5557
5557
|
o.value = s;
|
|
5558
5558
|
}, u = (s) => {
|
|
5559
5559
|
o.value = s;
|
|
5560
5560
|
};
|
|
5561
|
-
return (s, i) => (v(),
|
|
5561
|
+
return (s, i) => (v(), y("div", {
|
|
5562
5562
|
class: O(["vc-twitter-picker", {
|
|
5563
5563
|
tri_hide: n.triangle === "hide",
|
|
5564
5564
|
tri_top_left: n.triangle === "top-left",
|
|
@@ -5573,7 +5573,7 @@ const zu = {
|
|
|
5573
5573
|
i[2] || (i[2] = p("div", { class: "triangle_shadow" }, null, -1)),
|
|
5574
5574
|
i[3] || (i[3] = p("div", { class: "triangle" }, null, -1)),
|
|
5575
5575
|
p("div", zu, [
|
|
5576
|
-
(v(!0),
|
|
5576
|
+
(v(!0), y(le, null, we(s.presetColors, (d, c) => (v(), y("span", {
|
|
5577
5577
|
key: c,
|
|
5578
5578
|
class: "swatch",
|
|
5579
5579
|
style: Ce({
|
|
@@ -5611,9 +5611,9 @@ const zu = {
|
|
|
5611
5611
|
Ea((u) => ({
|
|
5612
5612
|
"46ac36b6": r.value
|
|
5613
5613
|
}));
|
|
5614
|
-
const n = t, o = e, a =
|
|
5614
|
+
const n = t, o = e, a = g(() => o.modelValue ?? o.value ?? 0), l = (u) => {
|
|
5615
5615
|
n("input", u), n("update:modelValue", u);
|
|
5616
|
-
}, r =
|
|
5616
|
+
}, r = g(() => `hsl(${a.value}, 100%, 50%)`);
|
|
5617
5617
|
return (u, s) => (v(), R(Fl, _e({ class: "vc-hue-wrap" }, u.$attrs, {
|
|
5618
5618
|
modelValue: a.value,
|
|
5619
5619
|
"onUpdate:modelValue": l
|
|
@@ -5639,7 +5639,7 @@ const zu = {
|
|
|
5639
5639
|
detectIframe: !0,
|
|
5640
5640
|
ignore: () => [n.target]
|
|
5641
5641
|
});
|
|
5642
|
-
const r =
|
|
5642
|
+
const r = g(() => U(t.value).toHsv().h);
|
|
5643
5643
|
function u(s) {
|
|
5644
5644
|
const i = U({ h: s, s: 1, v: 1 }).toHexString();
|
|
5645
5645
|
t.value = i;
|
|
@@ -5740,8 +5740,8 @@ const zu = {
|
|
|
5740
5740
|
},
|
|
5741
5741
|
emits: ["select"],
|
|
5742
5742
|
setup(e) {
|
|
5743
|
-
const t = e, n =
|
|
5744
|
-
return (o, a) => (v(),
|
|
5743
|
+
const t = e, n = g(() => `direction-picker-handle--${t.shape}`);
|
|
5744
|
+
return (o, a) => (v(), y("button", {
|
|
5745
5745
|
type: "button",
|
|
5746
5746
|
class: O(["direction-picker-handle", [f(n), { "direction-picker-handle--active": e.active }]]),
|
|
5747
5747
|
"data-d": e.pos,
|
|
@@ -5756,11 +5756,11 @@ const zu = {
|
|
|
5756
5756
|
y: {}
|
|
5757
5757
|
},
|
|
5758
5758
|
setup(e) {
|
|
5759
|
-
const t = e, n =
|
|
5759
|
+
const t = e, n = g(() => `${t.x * 100}%`), o = g(() => `${t.y * 100}%`), a = g(() => {
|
|
5760
5760
|
let l, r;
|
|
5761
5761
|
return t.x === 0 ? l = "-1px" : t.x === 1 ? l = "calc(100% - var(--rect-w) + 1px)" : l = `calc(var(--rect-pad) + ${t.x} * (100% - 2 * var(--rect-pad) - var(--rect-w)))`, t.y === 0 ? r = "-1px" : t.y === 1 ? r = "calc(100% - var(--rect-h) + 1px)" : r = `calc(var(--rect-pad) + ${t.y} * (100% - 2 * var(--rect-pad) - var(--rect-h)))`, { left: l, top: r };
|
|
5762
5762
|
});
|
|
5763
|
-
return (l, r) => (v(),
|
|
5763
|
+
return (l, r) => (v(), y("div", tc, [
|
|
5764
5764
|
p("div", {
|
|
5765
5765
|
class: "direction-picker-field__crosshair-h",
|
|
5766
5766
|
style: Ce({ top: f(o) })
|
|
@@ -5796,7 +5796,7 @@ const zu = {
|
|
|
5796
5796
|
{ value: "SW", pos: "sw", label: "Bottom left", shape: "corner", x: 0, y: 1 },
|
|
5797
5797
|
{ value: "S", pos: "s", label: "Bottom", shape: "edge-h", x: 0.5, y: 1 },
|
|
5798
5798
|
{ value: "SE", pos: "se", label: "Bottom right", shape: "corner", x: 1, y: 1 }
|
|
5799
|
-
], a =
|
|
5799
|
+
], a = g(() => o.find((r) => r.value === t.value) ?? o[4]), l = g(() => `direction-picker__anchor--${n.size}`);
|
|
5800
5800
|
return (r, u) => {
|
|
5801
5801
|
const s = oc, i = ec, d = ut;
|
|
5802
5802
|
return v(), R(d, {
|
|
@@ -5811,7 +5811,7 @@ const zu = {
|
|
|
5811
5811
|
x: f(a).x,
|
|
5812
5812
|
y: f(a).y
|
|
5813
5813
|
}, null, 8, ["x", "y"]),
|
|
5814
|
-
(v(),
|
|
5814
|
+
(v(), y(le, null, we(o, (c) => Y(i, {
|
|
5815
5815
|
key: c.value,
|
|
5816
5816
|
pos: c.pos,
|
|
5817
5817
|
label: c.label,
|
|
@@ -5833,11 +5833,11 @@ const zu = {
|
|
|
5833
5833
|
size: { default: "md" }
|
|
5834
5834
|
},
|
|
5835
5835
|
setup(e) {
|
|
5836
|
-
const t = e, n =
|
|
5836
|
+
const t = e, n = g(() => ({
|
|
5837
5837
|
"display-color-swatch--sm": t.size === "sm",
|
|
5838
5838
|
"display-color-swatch--bordered": t.bordered
|
|
5839
5839
|
}));
|
|
5840
|
-
return (o, a) => (v(),
|
|
5840
|
+
return (o, a) => (v(), y("span", {
|
|
5841
5841
|
class: O(["display-color-swatch", f(n)]),
|
|
5842
5842
|
style: Ce({ backgroundColor: e.color })
|
|
5843
5843
|
}, null, 6));
|
|
@@ -5848,7 +5848,7 @@ const zu = {
|
|
|
5848
5848
|
height: "1.2em"
|
|
5849
5849
|
};
|
|
5850
5850
|
function ic(e, t) {
|
|
5851
|
-
return v(),
|
|
5851
|
+
return v(), y("svg", rc, [...t[0] || (t[0] = [
|
|
5852
5852
|
p("path", {
|
|
5853
5853
|
fill: "currentColor",
|
|
5854
5854
|
d: "M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8"
|
|
@@ -5910,7 +5910,7 @@ const sc = xe({ name: "ph-plus", render: ic }), uc = /* @__PURE__ */ S({
|
|
|
5910
5910
|
t.value = [...t.value, c], r.value = !1;
|
|
5911
5911
|
}
|
|
5912
5912
|
return (c, m) => {
|
|
5913
|
-
const
|
|
5913
|
+
const w = Io, x = Rl, k = ut;
|
|
5914
5914
|
return v(), R(k, {
|
|
5915
5915
|
class: "form-control-colors-input",
|
|
5916
5916
|
label: e.label,
|
|
@@ -5918,16 +5918,16 @@ const sc = xe({ name: "ph-plus", render: ic }), uc = /* @__PURE__ */ S({
|
|
|
5918
5918
|
}, {
|
|
5919
5919
|
default: F(() => [
|
|
5920
5920
|
p("div", cc, [
|
|
5921
|
-
(v(!0),
|
|
5921
|
+
(v(!0), y(le, null, we(t.value, (b, h) => (v(), y("span", {
|
|
5922
5922
|
key: h,
|
|
5923
5923
|
class: "form-control-colors-input__tag"
|
|
5924
5924
|
}, [
|
|
5925
5925
|
p("button", {
|
|
5926
5926
|
type: "button",
|
|
5927
5927
|
class: "form-control-colors-input__tag__swatch-btn",
|
|
5928
|
-
onClick: (
|
|
5928
|
+
onClick: (C) => u(h, C)
|
|
5929
5929
|
}, [
|
|
5930
|
-
Y(
|
|
5930
|
+
Y(w, {
|
|
5931
5931
|
color: b,
|
|
5932
5932
|
size: "sm"
|
|
5933
5933
|
}, null, 8, ["color"])
|
|
@@ -5937,7 +5937,7 @@ const sc = xe({ name: "ph-plus", render: ic }), uc = /* @__PURE__ */ S({
|
|
|
5937
5937
|
type: "button",
|
|
5938
5938
|
class: "form-control-colors-input__tag__remove",
|
|
5939
5939
|
"aria-label": `Remove ${b}`,
|
|
5940
|
-
onClick: (
|
|
5940
|
+
onClick: (C) => i(h)
|
|
5941
5941
|
}, " × ", 8, vc)
|
|
5942
5942
|
]))), 128)),
|
|
5943
5943
|
Y(Vl, {
|
|
@@ -6085,9 +6085,9 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6085
6085
|
"toggle-prevented"
|
|
6086
6086
|
], ["update:modelValue"]),
|
|
6087
6087
|
setup(e, { expose: t, emit: n }) {
|
|
6088
|
-
const o = Pe(e, "BDropdown"), a = n, l = pt(() => o.id, "dropdown"), r = ae(e, "modelValue"), u = Ve(Xa, !1), s = Ve(Ka, !1), i = /* @__PURE__ */ gn(
|
|
6088
|
+
const o = Pe(e, "BDropdown"), a = n, l = pt(() => o.id, "dropdown"), r = ae(e, "modelValue"), u = Ve(Xa, !1), s = Ve(Ka, !1), i = /* @__PURE__ */ gn(g(() => typeof o.offset == "string" || typeof o.offset == "number" ? o.offset : NaN)), d = ke("_floating"), c = ke("_button"), m = ke("_splitButton"), w = g(() => So(o.boundary) ? o.boundary : void 0), x = g(() => $l(o.boundary) ? o.boundary : void 0), k = g(() => o.split ? c.value : m.value);
|
|
6089
6089
|
let b;
|
|
6090
|
-
const { showRef: h, renderRef:
|
|
6090
|
+
const { showRef: h, renderRef: C, hide: _, show: $, toggle: W, computedNoAnimation: P, transitionProps: B, contentShowing: I, isVisible: V, isActive: j } = al(r, o, a, k, l, {
|
|
6091
6091
|
showFn: () => {
|
|
6092
6092
|
H(), Ue(() => {
|
|
6093
6093
|
b = bl(k.value, d.value, H, { animationFrame: !1 });
|
|
@@ -6096,16 +6096,16 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6096
6096
|
hideFn: () => {
|
|
6097
6097
|
b && (b(), b = void 0);
|
|
6098
6098
|
}
|
|
6099
|
-
}), te =
|
|
6099
|
+
}), te = g(() => [{
|
|
6100
6100
|
show: V.value,
|
|
6101
6101
|
fade: !P.value
|
|
6102
6102
|
}]);
|
|
6103
6103
|
Bt("Escape", () => {
|
|
6104
6104
|
var ee;
|
|
6105
|
-
|
|
6105
|
+
_(), (ee = xn(k.value)) == null || ee.focus();
|
|
6106
6106
|
}, { target: k }), Bt("Escape", () => {
|
|
6107
6107
|
var ee;
|
|
6108
|
-
|
|
6108
|
+
_(), (ee = xn(k.value)) == null || ee.focus();
|
|
6109
6109
|
}, {
|
|
6110
6110
|
target: d,
|
|
6111
6111
|
passive: !0
|
|
@@ -6114,7 +6114,7 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6114
6114
|
var Ee, je, gt, N, K, J, A;
|
|
6115
6115
|
if ((je = d.value) != null && je.contains((Ee = ee.target) == null ? void 0 : Ee.closest("form")) || /input|select|option|textarea|form/i.test((gt = ee.target) == null ? void 0 : gt.tagName)) return;
|
|
6116
6116
|
if (ee.preventDefault(), !h.value) {
|
|
6117
|
-
|
|
6117
|
+
$();
|
|
6118
6118
|
const be = setInterval(() => {
|
|
6119
6119
|
V.value && (clearInterval(be), Ue(() => T(ee, Oe)));
|
|
6120
6120
|
}, 16);
|
|
@@ -6130,19 +6130,19 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6130
6130
|
Bt("ArrowUp", (ee) => T(ee, -1), { target: k }), Bt("ArrowDown", (ee) => T(ee, 1), { target: k }), Bt("ArrowUp", (ee) => T(ee, -1), { target: d }), Bt("ArrowDown", (ee) => T(ee, 1), { target: d });
|
|
6131
6131
|
const E = ue({}), { update: H, floatingStyles: G } = xl(k, d, {
|
|
6132
6132
|
placement: () => o.placement,
|
|
6133
|
-
middleware:
|
|
6133
|
+
middleware: g(() => {
|
|
6134
6134
|
if (o.floatingMiddleware !== void 0) return o.floatingMiddleware;
|
|
6135
6135
|
const ee = [gl(typeof o.offset == "string" || typeof o.offset == "number" ? i.value : o.offset)];
|
|
6136
6136
|
return o.noFlip || ee.push(_l({
|
|
6137
|
-
boundary:
|
|
6137
|
+
boundary: w.value,
|
|
6138
6138
|
rootBoundary: x.value,
|
|
6139
6139
|
padding: o.boundaryPadding
|
|
6140
6140
|
})), o.noShift || ee.push(yl({
|
|
6141
|
-
boundary:
|
|
6141
|
+
boundary: w.value,
|
|
6142
6142
|
rootBoundary: x.value,
|
|
6143
6143
|
padding: o.boundaryPadding
|
|
6144
6144
|
})), o.noSize || ee.push(wl({
|
|
6145
|
-
boundary:
|
|
6145
|
+
boundary: w.value,
|
|
6146
6146
|
rootBoundary: x.value,
|
|
6147
6147
|
padding: o.boundaryPadding,
|
|
6148
6148
|
apply({ availableWidth: Oe, availableHeight: $e }) {
|
|
@@ -6155,24 +6155,24 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6155
6155
|
})), ee;
|
|
6156
6156
|
}),
|
|
6157
6157
|
strategy: mt(() => o.strategy)
|
|
6158
|
-
}),
|
|
6158
|
+
}), q = s ? {
|
|
6159
6159
|
class: "btn-group",
|
|
6160
6160
|
role: "group"
|
|
6161
|
-
} : void 0, ne =
|
|
6162
|
-
|
|
6161
|
+
} : void 0, ne = g(() => [
|
|
6162
|
+
q == null ? void 0 : q.class,
|
|
6163
6163
|
o.wrapperClass,
|
|
6164
6164
|
{
|
|
6165
6165
|
"btn-group": !o.wrapperClass && o.split,
|
|
6166
6166
|
[`drop${os(o.placement)}`]: !o.wrapperClass,
|
|
6167
6167
|
"position-static": o.boundary !== "clippingAncestors" && !o.isNav
|
|
6168
6168
|
}
|
|
6169
|
-
]), se =
|
|
6169
|
+
]), se = g(() => [o.split ? o.splitClass : o.toggleClass, {
|
|
6170
6170
|
"nav-link": o.isNav,
|
|
6171
6171
|
"dropdown-toggle": !o.split,
|
|
6172
6172
|
"dropdown-toggle-no-caret": o.noCaret && !o.split,
|
|
6173
6173
|
show: o.split ? void 0 : h.value
|
|
6174
6174
|
}]), ve = () => {
|
|
6175
|
-
|
|
6175
|
+
W();
|
|
6176
6176
|
}, me = (ee) => {
|
|
6177
6177
|
if (o.split) {
|
|
6178
6178
|
a("split-click", ee);
|
|
@@ -6181,22 +6181,22 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6181
6181
|
ve();
|
|
6182
6182
|
};
|
|
6183
6183
|
Ja(d, () => {
|
|
6184
|
-
h.value && (o.autoClose === !0 || o.autoClose === "outside") &&
|
|
6184
|
+
h.value && (o.autoClose === !0 || o.autoClose === "outside") && _();
|
|
6185
6185
|
}, { ignore: [c, m] });
|
|
6186
6186
|
const We = () => {
|
|
6187
|
-
h.value && (o.autoClose === !0 || o.autoClose === "inside") &&
|
|
6187
|
+
h.value && (o.autoClose === !0 || o.autoClose === "inside") && _();
|
|
6188
6188
|
};
|
|
6189
6189
|
return Me(V, () => {
|
|
6190
6190
|
H();
|
|
6191
6191
|
}), t({
|
|
6192
|
-
hide:
|
|
6193
|
-
show:
|
|
6194
|
-
toggle:
|
|
6192
|
+
hide: _,
|
|
6193
|
+
show: $,
|
|
6194
|
+
toggle: W
|
|
6195
6195
|
}), nn(ja, {
|
|
6196
6196
|
id: l,
|
|
6197
|
-
show:
|
|
6198
|
-
hide:
|
|
6199
|
-
toggle:
|
|
6197
|
+
show: $,
|
|
6198
|
+
hide: _,
|
|
6199
|
+
toggle: W,
|
|
6200
6200
|
visible: Ae(h),
|
|
6201
6201
|
isNav: mt(() => o.isNav)
|
|
6202
6202
|
}), (ee, Oe) => {
|
|
@@ -6204,7 +6204,7 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6204
6204
|
return v(), R(Mo, {
|
|
6205
6205
|
skip: f(u) || f(o).noWrapper,
|
|
6206
6206
|
class: O(ne.value),
|
|
6207
|
-
role: ($e = f(
|
|
6207
|
+
role: ($e = f(q)) == null ? void 0 : $e.role
|
|
6208
6208
|
}, {
|
|
6209
6209
|
default: F(() => [
|
|
6210
6210
|
Y(yn, _e({
|
|
@@ -6263,14 +6263,14 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6263
6263
|
to: f(o).teleportTo,
|
|
6264
6264
|
disabled: !f(o).teleportTo || f(o).teleportDisabled
|
|
6265
6265
|
}, {
|
|
6266
|
-
default: F(() => [f(
|
|
6266
|
+
default: F(() => [f(C) || f(I) ? (v(), R(vo, _e({ key: 0 }, f(B), { appear: r.value || f(o).visible }), {
|
|
6267
6267
|
default: F(() => [Lt(p("ul", {
|
|
6268
6268
|
id: f(l) + "-menu",
|
|
6269
6269
|
ref: "_floating",
|
|
6270
6270
|
style: Ce([
|
|
6271
6271
|
f(G),
|
|
6272
6272
|
E.value,
|
|
6273
|
-
{ display: f(h) || f(
|
|
6273
|
+
{ display: f(h) || f(j) ? "block" : "none" }
|
|
6274
6274
|
]),
|
|
6275
6275
|
class: O(["dropdown-menu overflow-auto b-floating-size", [f(o).menuClass, te.value]]),
|
|
6276
6276
|
"aria-labelledby": f(l),
|
|
@@ -6279,8 +6279,8 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6279
6279
|
}, [f(I) ? M(ee.$slots, "default", {
|
|
6280
6280
|
key: 0,
|
|
6281
6281
|
id: f(l),
|
|
6282
|
-
hide: f(
|
|
6283
|
-
show: f(
|
|
6282
|
+
hide: f(_),
|
|
6283
|
+
show: f($),
|
|
6284
6284
|
visible: f(h),
|
|
6285
6285
|
click: We,
|
|
6286
6286
|
toggle: ve,
|
|
@@ -6348,24 +6348,24 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6348
6348
|
},
|
|
6349
6349
|
emits: ["click"],
|
|
6350
6350
|
setup(e, { emit: t }) {
|
|
6351
|
-
const n = Pe(e, "BDropdownItem"), o = t, a = on(), l =
|
|
6351
|
+
const n = Pe(e, "BDropdownItem"), o = t, a = on(), l = g(() => {
|
|
6352
6352
|
const { class: k, ...b } = a;
|
|
6353
6353
|
return {
|
|
6354
6354
|
wrapperClass: k,
|
|
6355
6355
|
dropdownItemAttrs: b
|
|
6356
6356
|
};
|
|
6357
|
-
}), { computedLink: r, computedLinkProps: u } = go(n), s = rn(
|
|
6357
|
+
}), { computedLink: r, computedLinkProps: u } = go(n), s = rn(g(() => ({ textVariant: n.variant }))), i = g(() => [
|
|
6358
6358
|
n.linkClass,
|
|
6359
6359
|
s.value,
|
|
6360
6360
|
{
|
|
6361
6361
|
active: n.active,
|
|
6362
6362
|
disabled: n.disabled
|
|
6363
6363
|
}
|
|
6364
|
-
]), d =
|
|
6365
|
-
var b, h,
|
|
6366
|
-
o("click", k),
|
|
6364
|
+
]), d = g(() => r.value ? yo : n.href ? "a" : "button"), c = Ve(qa, null), m = Ve(ja, null), w = Ve(Ga, null), x = (k) => {
|
|
6365
|
+
var b, h, C;
|
|
6366
|
+
o("click", k), w !== null && ((b = w == null ? void 0 : w.noAutoClose) == null ? void 0 : b.value) !== !0 && ((h = c == null ? void 0 : c.hide) == null || h.call(c)), (C = m == null ? void 0 : m.hide) == null || C.call(m);
|
|
6367
6367
|
};
|
|
6368
|
-
return (k, b) => (v(),
|
|
6368
|
+
return (k, b) => (v(), y("li", _e({
|
|
6369
6369
|
role: "presentation",
|
|
6370
6370
|
class: l.value.wrapperClass
|
|
6371
6371
|
}, f(n).wrapperAttrs), [(v(), R(Be(d.value), _e({
|
|
@@ -6414,13 +6414,13 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6414
6414
|
},
|
|
6415
6415
|
emits: ["click"],
|
|
6416
6416
|
setup(e, { emit: t }) {
|
|
6417
|
-
const n = Pe(e, "BDropdownItemButton"), o = t, a = on(), l =
|
|
6417
|
+
const n = Pe(e, "BDropdownItemButton"), o = t, a = on(), l = g(() => {
|
|
6418
6418
|
const { class: i, ...d } = a;
|
|
6419
6419
|
return {
|
|
6420
6420
|
wrapperClass: i,
|
|
6421
6421
|
buttonAttrs: d
|
|
6422
6422
|
};
|
|
6423
|
-
}), r = rn(
|
|
6423
|
+
}), r = rn(g(() => ({ textVariant: n.variant }))), u = g(() => [
|
|
6424
6424
|
n.buttonClass,
|
|
6425
6425
|
r.value,
|
|
6426
6426
|
{
|
|
@@ -6434,7 +6434,7 @@ var mc = { class: "visually-hidden" }, hc = [
|
|
|
6434
6434
|
}
|
|
6435
6435
|
o("click", i);
|
|
6436
6436
|
};
|
|
6437
|
-
return (i, d) => (v(),
|
|
6437
|
+
return (i, d) => (v(), y("li", _e({
|
|
6438
6438
|
role: "presentation",
|
|
6439
6439
|
class: l.value.wrapperClass
|
|
6440
6440
|
}, f(n).wrapperAttrs), [p("button", _e({
|
|
@@ -6460,9 +6460,9 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6460
6460
|
},
|
|
6461
6461
|
emits: ["select"],
|
|
6462
6462
|
setup(e) {
|
|
6463
|
-
const t = e, n =
|
|
6463
|
+
const t = e, n = g(() => ({
|
|
6464
6464
|
"form-control-dropdown-item__content__text__label--bold": !t.lightLabel && t.label && t.description
|
|
6465
|
-
})), o =
|
|
6465
|
+
})), o = g(() => ({
|
|
6466
6466
|
"text-white-50": t.active,
|
|
6467
6467
|
"text-secondary": !t.active
|
|
6468
6468
|
}));
|
|
@@ -6484,16 +6484,16 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6484
6484
|
p("span", {
|
|
6485
6485
|
class: O(["form-control-dropdown-item__content__text__label", f(n)])
|
|
6486
6486
|
}, L(e.label), 3),
|
|
6487
|
-
e.description ? (v(),
|
|
6487
|
+
e.description ? (v(), y("small", {
|
|
6488
6488
|
key: 0,
|
|
6489
6489
|
class: O(["form-control-dropdown-item__content__text__description", f(o)])
|
|
6490
6490
|
}, L(e.description), 3)) : D("", !0)
|
|
6491
6491
|
]),
|
|
6492
|
-
e.visual ? (v(),
|
|
6492
|
+
e.visual ? (v(), y("div", wc, [
|
|
6493
6493
|
typeof e.visual != "string" ? (v(), R(Be(e.visual), {
|
|
6494
6494
|
key: 0,
|
|
6495
6495
|
class: "form-control-dropdown-item__content__visual__image bg-body rounded-1"
|
|
6496
|
-
})) : (v(),
|
|
6496
|
+
})) : (v(), y("img", {
|
|
6497
6497
|
key: 1,
|
|
6498
6498
|
src: e.visual,
|
|
6499
6499
|
alt: "",
|
|
@@ -6529,86 +6529,86 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6529
6529
|
}),
|
|
6530
6530
|
emits: ["update:modelValue"],
|
|
6531
6531
|
setup(e) {
|
|
6532
|
-
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ha), a =
|
|
6532
|
+
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ha), a = g(() => n.size === "md" ? void 0 : n.size), l = g(
|
|
6533
6533
|
() => o.value.length > 0 ? o.value : n.options
|
|
6534
|
-
),
|
|
6535
|
-
function
|
|
6536
|
-
var
|
|
6537
|
-
const { id:
|
|
6538
|
-
if (!
|
|
6534
|
+
), r = ke("elementRef"), u = dr(r), s = ke("dropdownRef");
|
|
6535
|
+
function i() {
|
|
6536
|
+
var b, h;
|
|
6537
|
+
const { id: x = null } = ((h = (b = s.value) == null ? void 0 : b.$el) == null ? void 0 : h.querySelector(".dropdown-toggle")) ?? {};
|
|
6538
|
+
if (!x)
|
|
6539
6539
|
return;
|
|
6540
|
-
const
|
|
6541
|
-
|
|
6540
|
+
const k = document.getElementById(`${x}-menu`);
|
|
6541
|
+
k && (k.style.width = `${Math.max(u.width.value, n.minMenuWidth)}px`);
|
|
6542
6542
|
}
|
|
6543
|
-
Me(
|
|
6544
|
-
const
|
|
6543
|
+
Me(u.width, i);
|
|
6544
|
+
const d = g(() => ({
|
|
6545
6545
|
"form-control-dropdown--light-label": n.lightLabel
|
|
6546
|
-
})),
|
|
6546
|
+
})), c = g(() => ({
|
|
6547
6547
|
"form-control-dropdown__toggle--block": n.block
|
|
6548
|
-
})),
|
|
6549
|
-
() =>
|
|
6548
|
+
})), m = g(
|
|
6549
|
+
() => l.value.find((x) => x.value === t.value)
|
|
6550
6550
|
);
|
|
6551
|
-
function
|
|
6552
|
-
var
|
|
6553
|
-
t.value =
|
|
6551
|
+
function w(x) {
|
|
6552
|
+
var k;
|
|
6553
|
+
t.value = x, (k = s.value) == null || k.hide();
|
|
6554
6554
|
}
|
|
6555
|
-
return (
|
|
6556
|
-
const
|
|
6557
|
-
return v(), R(
|
|
6555
|
+
return (x, k) => {
|
|
6556
|
+
const b = $c, h = Fo, C = ut;
|
|
6557
|
+
return v(), R(C, {
|
|
6558
6558
|
ref_key: "elementRef",
|
|
6559
|
-
ref:
|
|
6560
|
-
class: O(["form-control-dropdown", f(
|
|
6559
|
+
ref: r,
|
|
6560
|
+
class: O(["form-control-dropdown", f(d)]),
|
|
6561
6561
|
label: e.label,
|
|
6562
6562
|
"label-for": e.id,
|
|
6563
6563
|
size: e.size
|
|
6564
6564
|
}, {
|
|
6565
6565
|
default: F(() => {
|
|
6566
|
-
var
|
|
6566
|
+
var _;
|
|
6567
6567
|
return [
|
|
6568
|
-
M(
|
|
6569
|
-
Y(
|
|
6568
|
+
M(x.$slots, "default", {}, void 0, !0),
|
|
6569
|
+
Y(h, {
|
|
6570
6570
|
ref_key: "dropdownRef",
|
|
6571
|
-
ref:
|
|
6572
|
-
class: O(["form-control-dropdown__toggle", f(
|
|
6573
|
-
size:
|
|
6571
|
+
ref: s,
|
|
6572
|
+
class: O(["form-control-dropdown__toggle", f(c)]),
|
|
6573
|
+
size: f(a),
|
|
6574
6574
|
"menu-class": e.menuClass ?? "form-control-dropdown-menu",
|
|
6575
|
-
text: ((
|
|
6575
|
+
text: ((_ = f(m)) == null ? void 0 : _.label) ?? e.placeholder ?? "",
|
|
6576
6576
|
disabled: e.disabled,
|
|
6577
6577
|
"teleport-to": "body",
|
|
6578
6578
|
variant: "outline-secondary",
|
|
6579
6579
|
"auto-close": e.autoClose,
|
|
6580
|
-
onShow:
|
|
6581
|
-
onShown:
|
|
6580
|
+
onShow: i,
|
|
6581
|
+
onShown: i
|
|
6582
6582
|
}, {
|
|
6583
6583
|
"button-content": F(() => [
|
|
6584
|
-
M(
|
|
6585
|
-
var
|
|
6584
|
+
M(x.$slots, "button-content", {}, () => {
|
|
6585
|
+
var $, W;
|
|
6586
6586
|
return [
|
|
6587
|
-
(
|
|
6588
|
-
(v(), R(Be(f(
|
|
6589
|
-
re(" " + L(f(
|
|
6590
|
-
])) : (v(),
|
|
6591
|
-
re(L(((
|
|
6587
|
+
($ = f(m)) != null && $.icon ? (v(), y("span", Cc, [
|
|
6588
|
+
(v(), R(Be(f(m).icon), { class: "form-control-dropdown__toggle__icon" })),
|
|
6589
|
+
re(" " + L(f(m).label), 1)
|
|
6590
|
+
])) : (v(), y(le, { key: 1 }, [
|
|
6591
|
+
re(L(((W = f(m)) == null ? void 0 : W.label) ?? e.placeholder ?? ""), 1)
|
|
6592
6592
|
], 64))
|
|
6593
6593
|
];
|
|
6594
6594
|
}, !0)
|
|
6595
6595
|
]),
|
|
6596
6596
|
default: F(() => [
|
|
6597
|
-
M(
|
|
6597
|
+
M(x.$slots, "menu", {
|
|
6598
6598
|
hide: () => {
|
|
6599
|
-
var
|
|
6600
|
-
return (
|
|
6599
|
+
var $;
|
|
6600
|
+
return ($ = f(s)) == null ? void 0 : $.hide();
|
|
6601
6601
|
}
|
|
6602
6602
|
}, () => [
|
|
6603
|
-
(v(!0),
|
|
6604
|
-
key:
|
|
6605
|
-
label:
|
|
6606
|
-
description:
|
|
6607
|
-
visual:
|
|
6608
|
-
icon:
|
|
6609
|
-
active:
|
|
6603
|
+
(v(!0), y(le, null, we(f(l), ($) => (v(), R(b, {
|
|
6604
|
+
key: $.value,
|
|
6605
|
+
label: $.label,
|
|
6606
|
+
description: $.description,
|
|
6607
|
+
visual: $.visual,
|
|
6608
|
+
icon: $.icon,
|
|
6609
|
+
active: $.value === t.value,
|
|
6610
6610
|
"light-label": e.lightLabel,
|
|
6611
|
-
onSelect: (
|
|
6611
|
+
onSelect: (W) => w($.value)
|
|
6612
6612
|
}, null, 8, ["label", "description", "visual", "icon", "active", "light-label", "onSelect"]))), 128))
|
|
6613
6613
|
], !0)
|
|
6614
6614
|
]),
|
|
@@ -6620,7 +6620,7 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6620
6620
|
}, 8, ["class", "label", "label-for", "size"]);
|
|
6621
6621
|
};
|
|
6622
6622
|
}
|
|
6623
|
-
}), Nn = /* @__PURE__ */ z(Bc, [["__scopeId", "data-v-
|
|
6623
|
+
}), Nn = /* @__PURE__ */ z(Bc, [["__scopeId", "data-v-240c22e4"]]), Sc = { class: "form-control-button-group__container__buttons__visual bg-body rounded-1" }, Mc = ["src"], Lc = /* @__PURE__ */ S({
|
|
6624
6624
|
__name: "FormControlButtonGroup",
|
|
6625
6625
|
props: /* @__PURE__ */ Q({
|
|
6626
6626
|
label: {},
|
|
@@ -6632,14 +6632,14 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6632
6632
|
}),
|
|
6633
6633
|
emits: ["update:modelValue"],
|
|
6634
6634
|
setup(e) {
|
|
6635
|
-
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Na), a =
|
|
6635
|
+
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Na), a = g(
|
|
6636
6636
|
() => o.value.length > 0 ? o.value : n.options
|
|
6637
|
-
), l = ke("containerRef"), r = Te(!1), u =
|
|
6637
|
+
), l = ke("containerRef"), r = Te(!1), u = g(() => ({
|
|
6638
6638
|
"form-control-button-group__container--block": n.block,
|
|
6639
6639
|
"form-control-button-group__container--collapsed": r.value
|
|
6640
|
-
})), s =
|
|
6640
|
+
})), s = g(() => ({
|
|
6641
6641
|
"form-control-button-group__container__buttons--block": n.block
|
|
6642
|
-
})), i =
|
|
6642
|
+
})), i = g(
|
|
6643
6643
|
() => a.value.map((c) => ({
|
|
6644
6644
|
value: c.value,
|
|
6645
6645
|
label: c.text,
|
|
@@ -6652,17 +6652,17 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6652
6652
|
const c = l.value;
|
|
6653
6653
|
if (!c)
|
|
6654
6654
|
return;
|
|
6655
|
-
const m = c.querySelectorAll(".btn"),
|
|
6656
|
-
r.value =
|
|
6655
|
+
const m = c.querySelectorAll(".btn"), w = Array.from(m).some((x) => x.scrollWidth > x.clientWidth + 1);
|
|
6656
|
+
r.value = w || c.scrollWidth > c.clientWidth + 1;
|
|
6657
6657
|
}
|
|
6658
6658
|
return fr(l, d), (c, m) => {
|
|
6659
|
-
const
|
|
6659
|
+
const w = Nn, x = $t, k = jr, b = ut;
|
|
6660
6660
|
return v(), R(b, {
|
|
6661
6661
|
class: "form-control-button-group",
|
|
6662
6662
|
label: e.label
|
|
6663
6663
|
}, {
|
|
6664
6664
|
default: F(() => [
|
|
6665
|
-
f(r) ? (v(), R(
|
|
6665
|
+
f(r) ? (v(), R(w, {
|
|
6666
6666
|
key: 0,
|
|
6667
6667
|
modelValue: t.value,
|
|
6668
6668
|
"onUpdate:modelValue": m[0] || (m[0] = (h) => t.value = h),
|
|
@@ -6680,7 +6680,7 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6680
6680
|
class: O(["form-control-button-group__container__buttons", f(s)])
|
|
6681
6681
|
}, {
|
|
6682
6682
|
default: F(() => [
|
|
6683
|
-
(v(!0),
|
|
6683
|
+
(v(!0), y(le, null, we(f(a), (h) => (v(), R(x, {
|
|
6684
6684
|
key: h.value,
|
|
6685
6685
|
"icon-left": h.icon ?? h.iconLeft,
|
|
6686
6686
|
label: h.text,
|
|
@@ -6690,7 +6690,7 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6690
6690
|
"show-tooltip-force": !!h.description,
|
|
6691
6691
|
variant: t.value === h.value ? "primary" : "outline-primary",
|
|
6692
6692
|
tabindex: f(r) ? -1 : void 0,
|
|
6693
|
-
onClick: (
|
|
6693
|
+
onClick: (C) => t.value = h.value
|
|
6694
6694
|
}, vt({ _: 2 }, [
|
|
6695
6695
|
h.visual ? {
|
|
6696
6696
|
name: "start",
|
|
@@ -6699,7 +6699,7 @@ const yc = { class: "form-control-dropdown-item__content" }, _c = { class: "form
|
|
|
6699
6699
|
typeof h.visual != "string" ? (v(), R(Be(h.visual), {
|
|
6700
6700
|
key: 0,
|
|
6701
6701
|
class: "form-control-button-group__container__buttons__visual__content"
|
|
6702
|
-
})) : (v(),
|
|
6702
|
+
})) : (v(), y("img", {
|
|
6703
6703
|
key: 1,
|
|
6704
6704
|
src: h.visual,
|
|
6705
6705
|
alt: "",
|
|
@@ -6790,9 +6790,9 @@ var Ic = (e, t) => {
|
|
|
6790
6790
|
var P;
|
|
6791
6791
|
const a = pt(() => e.id, "input"), l = /* @__PURE__ */ gn(() => e.debounce ?? 0, { nanToZero: !0 }), r = /* @__PURE__ */ gn(() => e.debounceMaxWait ?? NaN), u = (P = Ve(ho, null)) == null ? void 0 : P();
|
|
6792
6792
|
u == null || u.track(a);
|
|
6793
|
-
const s =
|
|
6793
|
+
const s = g(() => e.state !== void 0 ? e.state : (u == null ? void 0 : u.state.value) ?? null), i = g(() => e.disabled || ((u == null ? void 0 : u.disabled.value) ?? !1)), d = Bl(() => e.ariaInvalid, s), c = Lo(s), m = Pc((B) => {
|
|
6794
6794
|
n.value = B;
|
|
6795
|
-
}, () => o.lazy === !0 ? 0 : l.value, { maxWait: () => o.lazy === !0 ? NaN : r.value }),
|
|
6795
|
+
}, () => o.lazy === !0 ? 0 : l.value, { maxWait: () => o.lazy === !0 ? NaN : r.value }), w = (B, I = !1, V = !1) => {
|
|
6796
6796
|
o.lazy === !0 && I === !1 || (V ? n.value = B : m(B));
|
|
6797
6797
|
}, { focused: x } = el(t, { initialValue: e.autofocus }), k = (B, I, V = !1) => e.formatter !== void 0 && (!e.lazyFormatter || V) ? e.formatter(B, I) : B;
|
|
6798
6798
|
An(() => {
|
|
@@ -6816,7 +6816,7 @@ var Ic = (e, t) => {
|
|
|
6816
6816
|
B.preventDefault();
|
|
6817
6817
|
return;
|
|
6818
6818
|
}
|
|
6819
|
-
|
|
6819
|
+
w(V), V !== I && b(V);
|
|
6820
6820
|
},
|
|
6821
6821
|
onChange: (B) => {
|
|
6822
6822
|
const { value: I } = B.target, V = k(I, B);
|
|
@@ -6824,13 +6824,13 @@ var Ic = (e, t) => {
|
|
|
6824
6824
|
B.preventDefault();
|
|
6825
6825
|
return;
|
|
6826
6826
|
}
|
|
6827
|
-
const
|
|
6828
|
-
n.value !==
|
|
6827
|
+
const j = V;
|
|
6828
|
+
n.value !== j && w(V, !0);
|
|
6829
6829
|
},
|
|
6830
6830
|
onBlur: (B) => {
|
|
6831
6831
|
if (!o.lazy && !e.lazyFormatter && !o.trim && l.value <= 0) return;
|
|
6832
|
-
const { value: I } = B.target, V = k(I, B, !0),
|
|
6833
|
-
m.cancel(), n.value !==
|
|
6832
|
+
const { value: I } = B.target, V = k(I, B, !0), j = o.trim ? V.trim() : V;
|
|
6833
|
+
m.cancel(), n.value !== j && w(j, !0, !0), j !== I && b(j);
|
|
6834
6834
|
},
|
|
6835
6835
|
focus: () => {
|
|
6836
6836
|
i.value || (x.value = !0);
|
|
@@ -6916,13 +6916,13 @@ var Ic = (e, t) => {
|
|
|
6916
6916
|
}),
|
|
6917
6917
|
emits: ["update:modelValue"],
|
|
6918
6918
|
setup(e, { expose: t }) {
|
|
6919
|
-
const n = Pe(e, "BFormInput"), [o, a] = ae(e, "modelValue", { set: (h) => Ic(h, a) }), l = ke("_input"), r = Ve(Xa, !1), { computedId: u, computedAriaInvalid: s, onInput: i, onChange: d, onBlur: c, stateClass: m, focus:
|
|
6920
|
-
const h = n.type === "range",
|
|
6919
|
+
const n = Pe(e, "BFormInput"), [o, a] = ae(e, "modelValue", { set: (h) => Ic(h, a) }), l = ke("_input"), r = Ve(Xa, !1), { computedId: u, computedAriaInvalid: s, onInput: i, onChange: d, onBlur: c, stateClass: m, focus: w, blur: x, isDisabled: k } = Fc(n, l, o, a), b = g(() => {
|
|
6920
|
+
const h = n.type === "range", C = n.type === "color";
|
|
6921
6921
|
return [m.value, {
|
|
6922
6922
|
"form-range": h,
|
|
6923
|
-
"form-control":
|
|
6924
|
-
"form-control-color":
|
|
6925
|
-
"form-control-plaintext": n.plaintext && !h &&
|
|
6923
|
+
"form-control": C || !n.plaintext && !h || h && r,
|
|
6924
|
+
"form-control-color": C,
|
|
6925
|
+
"form-control-plaintext": n.plaintext && !h && !C,
|
|
6926
6926
|
[`form-control-${n.size}`]: !!n.size
|
|
6927
6927
|
}];
|
|
6928
6928
|
});
|
|
@@ -6930,8 +6930,8 @@ var Ic = (e, t) => {
|
|
|
6930
6930
|
blur: x,
|
|
6931
6931
|
element: l,
|
|
6932
6932
|
flushDebounce: c,
|
|
6933
|
-
focus:
|
|
6934
|
-
}), (h,
|
|
6933
|
+
focus: w
|
|
6934
|
+
}), (h, C) => (v(), y("input", {
|
|
6935
6935
|
id: f(u),
|
|
6936
6936
|
ref: "_input",
|
|
6937
6937
|
value: f(o),
|
|
@@ -6950,9 +6950,9 @@ var Ic = (e, t) => {
|
|
|
6950
6950
|
list: f(n).type !== "password" ? f(n).list : void 0,
|
|
6951
6951
|
"aria-required": f(n).required || void 0,
|
|
6952
6952
|
"aria-invalid": f(s),
|
|
6953
|
-
onInput:
|
|
6954
|
-
onChange:
|
|
6955
|
-
onBlur:
|
|
6953
|
+
onInput: C[0] || (C[0] = (..._) => f(i) && f(i)(..._)),
|
|
6954
|
+
onChange: C[1] || (C[1] = (..._) => f(d) && f(d)(..._)),
|
|
6955
|
+
onBlur: C[2] || (C[2] = (..._) => f(c) && f(c)(..._))
|
|
6956
6956
|
}, null, 42, Dc));
|
|
6957
6957
|
}
|
|
6958
6958
|
});
|
|
@@ -7001,7 +7001,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7001
7001
|
"onUpdate:modelValue": o[1] || (o[1] = (r) => t.value = String(r))
|
|
7002
7002
|
}, null, 8, ["model-value"]),
|
|
7003
7003
|
M(n.$slots, "suffix", {}, () => [
|
|
7004
|
-
e.suffix ? (v(),
|
|
7004
|
+
e.suffix ? (v(), y("small", Vc, L(e.suffix), 1)) : D("", !0)
|
|
7005
7005
|
], !0)
|
|
7006
7006
|
])
|
|
7007
7007
|
]),
|
|
@@ -7009,7 +7009,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7009
7009
|
}, 8, ["label", "label-for"]);
|
|
7010
7010
|
};
|
|
7011
7011
|
}
|
|
7012
|
-
}), ub = /* @__PURE__ */ z(Oc, [["__scopeId", "data-v-
|
|
7012
|
+
}), ub = /* @__PURE__ */ z(Oc, [["__scopeId", "data-v-7277a268"]]), Ec = { class: "form-control-units-input__row" }, Nc = { class: "form-control-units-input__row__group" }, Hc = /* @__PURE__ */ S({
|
|
7013
7013
|
__name: "FormControlUnitsInput",
|
|
7014
7014
|
props: /* @__PURE__ */ Q({
|
|
7015
7015
|
label: {},
|
|
@@ -7031,17 +7031,17 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7031
7031
|
const d = i.match(/^(-?\d*\.?\d+)\s*(%|[a-z]+)?$/i);
|
|
7032
7032
|
return d ? { num: d[1], unit: d[2] || n.units[0] } : { num: "0", unit: n.units[0] };
|
|
7033
7033
|
}
|
|
7034
|
-
const a =
|
|
7034
|
+
const a = g(() => o(t.value).num), l = g(() => o(t.value).unit), r = g(() => l.value === "%" ? "100" : n.max);
|
|
7035
7035
|
function u(i) {
|
|
7036
7036
|
t.value = `${String(i ?? "")}${l.value}`;
|
|
7037
7037
|
}
|
|
7038
7038
|
function s(i) {
|
|
7039
7039
|
const d = l.value, c = parseFloat(a.value), m = parseFloat(n.max);
|
|
7040
|
-
let
|
|
7041
|
-
d !== i && m > 0 && (n.centerRelative ? d === "px" && i === "%" ?
|
|
7040
|
+
let w = c;
|
|
7041
|
+
d !== i && m > 0 && (n.centerRelative ? d === "px" && i === "%" ? w = +((c / m - 0.5) * 100).toFixed(1) : d === "%" && i === "px" && (w = Math.round((c / 100 + 0.5) * m)) : d === "px" && i === "%" ? w = Math.round(c / m * 100) : d === "%" && i === "px" && (w = Math.round(c / 100 * m))), t.value = `${w}${i}`;
|
|
7042
7042
|
}
|
|
7043
7043
|
return (i, d) => {
|
|
7044
|
-
const c = Do, m = bc,
|
|
7044
|
+
const c = Do, m = bc, w = Fo, x = ut;
|
|
7045
7045
|
return v(), R(x, {
|
|
7046
7046
|
class: "form-control-units-input",
|
|
7047
7047
|
label: e.label,
|
|
@@ -7067,7 +7067,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7067
7067
|
size: "sm",
|
|
7068
7068
|
"onUpdate:modelValue": u
|
|
7069
7069
|
}, null, 8, ["model-value"]),
|
|
7070
|
-
Y(
|
|
7070
|
+
Y(w, {
|
|
7071
7071
|
class: "form-control-units-input__row__group__dropdown",
|
|
7072
7072
|
text: f(l),
|
|
7073
7073
|
size: "sm",
|
|
@@ -7075,7 +7075,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7075
7075
|
end: ""
|
|
7076
7076
|
}, {
|
|
7077
7077
|
default: F(() => [
|
|
7078
|
-
(v(!0),
|
|
7078
|
+
(v(!0), y(le, null, we(e.units, (k) => (v(), R(m, {
|
|
7079
7079
|
key: k,
|
|
7080
7080
|
active: k === f(l),
|
|
7081
7081
|
onClick: (b) => s(k)
|
|
@@ -7147,7 +7147,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7147
7147
|
class: "form-control-text-input__row__input",
|
|
7148
7148
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => t.value = String(r))
|
|
7149
7149
|
}, null, 8, ["id", "model-value", "placeholder"]),
|
|
7150
|
-
e.suffix ? (v(),
|
|
7150
|
+
e.suffix ? (v(), y("small", Uc, L(e.suffix), 1)) : D("", !0)
|
|
7151
7151
|
])
|
|
7152
7152
|
]),
|
|
7153
7153
|
_: 1
|
|
@@ -7163,8 +7163,8 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7163
7163
|
setup(e) {
|
|
7164
7164
|
return (t, n) => {
|
|
7165
7165
|
const o = Io;
|
|
7166
|
-
return v(),
|
|
7167
|
-
(v(!0),
|
|
7166
|
+
return v(), y("span", Wc, [
|
|
7167
|
+
(v(!0), y(le, null, we(e.colors, (a, l) => (v(), R(o, {
|
|
7168
7168
|
key: l,
|
|
7169
7169
|
color: a,
|
|
7170
7170
|
bordered: e.bordered,
|
|
@@ -7185,7 +7185,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7185
7185
|
}),
|
|
7186
7186
|
emits: ["update:modelValue"],
|
|
7187
7187
|
setup(e) {
|
|
7188
|
-
const t = ae(e, "modelValue"), n = e, { entries: o } = an(za), a =
|
|
7188
|
+
const t = ae(e, "modelValue"), n = e, { entries: o } = an(za), a = g(
|
|
7189
7189
|
() => o.value.length > 0 ? o.value : n.palettes
|
|
7190
7190
|
), l = ke("dropdownRef");
|
|
7191
7191
|
function r() {
|
|
@@ -7199,7 +7199,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7199
7199
|
const c = document.getElementById(`${d.id}-menu`);
|
|
7200
7200
|
c && (c.style.width = `${d.offsetWidth}px`);
|
|
7201
7201
|
}
|
|
7202
|
-
const u =
|
|
7202
|
+
const u = g(
|
|
7203
7203
|
() => a.value.find((i) => i.value === t.value)
|
|
7204
7204
|
);
|
|
7205
7205
|
function s(i) {
|
|
@@ -7207,7 +7207,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7207
7207
|
t.value = i, (d = l.value) == null || d.hide();
|
|
7208
7208
|
}
|
|
7209
7209
|
return (i, d) => {
|
|
7210
|
-
const c = jc, m = Ol,
|
|
7210
|
+
const c = jc, m = Ol, w = Fo, x = ut;
|
|
7211
7211
|
return v(), R(x, {
|
|
7212
7212
|
class: "form-control-palette",
|
|
7213
7213
|
label: e.label,
|
|
@@ -7215,7 +7215,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7215
7215
|
}, {
|
|
7216
7216
|
default: F(() => [
|
|
7217
7217
|
M(i.$slots, "default", {}, void 0, !0),
|
|
7218
|
-
Y(
|
|
7218
|
+
Y(w, {
|
|
7219
7219
|
ref_key: "dropdownRef",
|
|
7220
7220
|
ref: l,
|
|
7221
7221
|
class: "form-control-palette__toggle",
|
|
@@ -7239,7 +7239,7 @@ const Rc = { class: "form-control-slider-input__row" }, Vc = {
|
|
|
7239
7239
|
];
|
|
7240
7240
|
}),
|
|
7241
7241
|
default: F(() => [
|
|
7242
|
-
(v(!0),
|
|
7242
|
+
(v(!0), y(le, null, we(f(a), (k) => (v(), R(m, {
|
|
7243
7243
|
key: k.value,
|
|
7244
7244
|
active: t.value === k.value,
|
|
7245
7245
|
onClick: (b) => s(k.value)
|
|
@@ -7412,28 +7412,28 @@ function rd(e) {
|
|
|
7412
7412
|
var t = e.grouping === void 0 || e.thousands === void 0 ? _a : td(wa.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", o = e.currency === void 0 ? "" : e.currency[1] + "", a = e.decimal === void 0 ? "." : e.decimal + "", l = e.numerals === void 0 ? _a : nd(wa.call(e.numerals, String)), r = e.percent === void 0 ? "%" : e.percent + "", u = e.minus === void 0 ? "−" : e.minus + "", s = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
7413
7413
|
function i(c, m) {
|
|
7414
7414
|
c = uo(c);
|
|
7415
|
-
var
|
|
7416
|
-
P === "n" ? (
|
|
7417
|
-
var B = (m && m.prefix !== void 0 ? m.prefix : "") + (b === "$" ? n : b === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : ""), I = (b === "$" ? o : /[%p]/.test(P) ? r : "") + (m && m.suffix !== void 0 ? m.suffix : ""), V = ya[P],
|
|
7418
|
-
|
|
7415
|
+
var w = c.fill, x = c.align, k = c.sign, b = c.symbol, h = c.zero, C = c.width, _ = c.comma, $ = c.precision, W = c.trim, P = c.type;
|
|
7416
|
+
P === "n" ? (_ = !0, P = "g") : ya[P] || ($ === void 0 && ($ = 12), W = !0, P = "g"), (h || w === "0" && x === "=") && (h = !0, w = "0", x = "=");
|
|
7417
|
+
var B = (m && m.prefix !== void 0 ? m.prefix : "") + (b === "$" ? n : b === "#" && /[boxX]/.test(P) ? "0" + P.toLowerCase() : ""), I = (b === "$" ? o : /[%p]/.test(P) ? r : "") + (m && m.suffix !== void 0 ? m.suffix : ""), V = ya[P], j = /[defgprs%]/.test(P);
|
|
7418
|
+
$ = $ === void 0 ? 6 : /[gprs]/.test(P) ? Math.max(1, Math.min(21, $)) : Math.max(0, Math.min(20, $));
|
|
7419
7419
|
function te(T) {
|
|
7420
|
-
var E = B, H = I, G,
|
|
7420
|
+
var E = B, H = I, G, q, ne;
|
|
7421
7421
|
if (P === "c")
|
|
7422
7422
|
H = V(T) + H, T = "";
|
|
7423
7423
|
else {
|
|
7424
7424
|
T = +T;
|
|
7425
7425
|
var se = T < 0 || 1 / T < 0;
|
|
7426
|
-
if (T = isNaN(T) ? s : V(Math.abs(T),
|
|
7427
|
-
for (G = -1,
|
|
7426
|
+
if (T = isNaN(T) ? s : V(Math.abs(T), $), W && (T = ad(T)), se && +T == 0 && k !== "+" && (se = !1), E = (se ? k === "(" ? k : u : k === "-" || k === "(" ? "" : k) + E, H = (P === "s" && !isNaN(T) && Bn !== void 0 ? ka[8 + Bn / 3] : "") + H + (se && k === "(" ? ")" : ""), j) {
|
|
7427
|
+
for (G = -1, q = T.length; ++G < q; )
|
|
7428
7428
|
if (ne = T.charCodeAt(G), 48 > ne || ne > 57) {
|
|
7429
7429
|
H = (ne === 46 ? a + T.slice(G + 1) : T.slice(G)) + H, T = T.slice(0, G);
|
|
7430
7430
|
break;
|
|
7431
7431
|
}
|
|
7432
7432
|
}
|
|
7433
7433
|
}
|
|
7434
|
-
|
|
7435
|
-
var ve = E.length + T.length + H.length, me = ve <
|
|
7436
|
-
switch (
|
|
7434
|
+
_ && !h && (T = t(T, 1 / 0));
|
|
7435
|
+
var ve = E.length + T.length + H.length, me = ve < C ? new Array(C - ve + 1).join(w) : "";
|
|
7436
|
+
switch (_ && h && (T = t(me + T, me.length ? C - H.length : 1 / 0), me = ""), x) {
|
|
7437
7437
|
case "<":
|
|
7438
7438
|
T = E + T + H + me;
|
|
7439
7439
|
break;
|
|
@@ -7454,7 +7454,7 @@ function rd(e) {
|
|
|
7454
7454
|
}, te;
|
|
7455
7455
|
}
|
|
7456
7456
|
function d(c, m) {
|
|
7457
|
-
var
|
|
7457
|
+
var w = Math.max(-8, Math.min(8, Math.floor(ed(m) / 3))) * 3, x = Math.pow(10, -w), k = i((c = uo(c), c.type = "f", c), { suffix: ka[8 + w / 3] });
|
|
7458
7458
|
return function(b) {
|
|
7459
7459
|
return k(x * b);
|
|
7460
7460
|
};
|
|
@@ -7545,7 +7545,7 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7545
7545
|
Me(() => t.value, (b) => {
|
|
7546
7546
|
b !== Zn(r) && Object.assign(r, sd(b ?? ""));
|
|
7547
7547
|
}, { immediate: !0 });
|
|
7548
|
-
const s =
|
|
7548
|
+
const s = g(() => Vo(r)), i = g(() => t.value || "auto");
|
|
7549
7549
|
function d() {
|
|
7550
7550
|
u.value = null, t.value = Zn(r);
|
|
7551
7551
|
}
|
|
@@ -7555,24 +7555,24 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7555
7555
|
function m(b) {
|
|
7556
7556
|
r.negStyle = b, d();
|
|
7557
7557
|
}
|
|
7558
|
-
function
|
|
7558
|
+
function w(b) {
|
|
7559
7559
|
Object.assign(r, { ...b.config }), u.value = b.label, t.value = Zn(r);
|
|
7560
7560
|
}
|
|
7561
7561
|
function x(b) {
|
|
7562
7562
|
return ud(b, r);
|
|
7563
7563
|
}
|
|
7564
|
-
const k =
|
|
7564
|
+
const k = g(
|
|
7565
7565
|
() => a.map((b) => ({
|
|
7566
7566
|
...b,
|
|
7567
7567
|
formatted: x(b.value)
|
|
7568
7568
|
}))
|
|
7569
7569
|
);
|
|
7570
7570
|
return (b, h) => {
|
|
7571
|
-
const
|
|
7572
|
-
return v(), R(
|
|
7571
|
+
const C = Nn;
|
|
7572
|
+
return v(), R(C, {
|
|
7573
7573
|
id: e.id,
|
|
7574
7574
|
modelValue: t.value,
|
|
7575
|
-
"onUpdate:modelValue": h[4] || (h[4] = (
|
|
7575
|
+
"onUpdate:modelValue": h[4] || (h[4] = (_) => t.value = _),
|
|
7576
7576
|
label: e.label,
|
|
7577
7577
|
block: e.block,
|
|
7578
7578
|
placeholder: "auto",
|
|
@@ -7588,25 +7588,25 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7588
7588
|
menu: F(() => [
|
|
7589
7589
|
p("div", cd, [
|
|
7590
7590
|
p("div", dd, [
|
|
7591
|
-
(v(!0),
|
|
7592
|
-
key:
|
|
7591
|
+
(v(!0), y(le, null, we(f(k), (_, $) => (v(), y("div", {
|
|
7592
|
+
key: $,
|
|
7593
7593
|
class: "form-control-number-format__popover__preview__cell"
|
|
7594
7594
|
}, [
|
|
7595
|
-
p("div", fd, L(
|
|
7595
|
+
p("div", fd, L(_.label), 1),
|
|
7596
7596
|
p("div", {
|
|
7597
|
-
class: O(["form-control-number-format__popover__preview__cell__value",
|
|
7598
|
-
}, L(
|
|
7597
|
+
class: O(["form-control-number-format__popover__preview__cell__value", _.cls])
|
|
7598
|
+
}, L(_.formatted), 3)
|
|
7599
7599
|
]))), 128))
|
|
7600
7600
|
]),
|
|
7601
7601
|
p("div", vd, [
|
|
7602
7602
|
p("div", null, [
|
|
7603
7603
|
h[5] || (h[5] = p("div", { class: "form-control-number-format__popover__body__section-label" }, " Presets ", -1)),
|
|
7604
7604
|
p("div", pd, [
|
|
7605
|
-
(v(),
|
|
7606
|
-
key:
|
|
7607
|
-
class: O(["form-control-number-format__popover__body__chips__chip", { "form-control-number-format__popover__body__chips__chip--active": f(u) ===
|
|
7608
|
-
onClick: (
|
|
7609
|
-
}, L(
|
|
7605
|
+
(v(), y(le, null, we(l, (_) => p("button", {
|
|
7606
|
+
key: _.label,
|
|
7607
|
+
class: O(["form-control-number-format__popover__body__chips__chip", { "form-control-number-format__popover__body__chips__chip--active": f(u) === _.label }]),
|
|
7608
|
+
onClick: ($) => w(_)
|
|
7609
|
+
}, L(_.label), 11, md)), 64))
|
|
7610
7610
|
])
|
|
7611
7611
|
]),
|
|
7612
7612
|
h[12] || (h[12] = p("hr", { class: "form-control-number-format__popover__body__sep" }, null, -1)),
|
|
@@ -7614,7 +7614,7 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7614
7614
|
p("div", null, [
|
|
7615
7615
|
h[6] || (h[6] = p("div", { class: "form-control-number-format__popover__body__grid-2__field-label" }, " Prefix ", -1)),
|
|
7616
7616
|
Lt(p("input", {
|
|
7617
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
7617
|
+
"onUpdate:modelValue": h[0] || (h[0] = (_) => f(r).prefix = _),
|
|
7618
7618
|
class: "form-control-number-format__popover__body__grid-2__input",
|
|
7619
7619
|
placeholder: "e.g. $",
|
|
7620
7620
|
onInput: d
|
|
@@ -7625,7 +7625,7 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7625
7625
|
p("div", null, [
|
|
7626
7626
|
h[7] || (h[7] = p("div", { class: "form-control-number-format__popover__body__grid-2__field-label" }, " Suffix ", -1)),
|
|
7627
7627
|
Lt(p("input", {
|
|
7628
|
-
"onUpdate:modelValue": h[1] || (h[1] = (
|
|
7628
|
+
"onUpdate:modelValue": h[1] || (h[1] = (_) => f(r).suffix = _),
|
|
7629
7629
|
class: "form-control-number-format__popover__body__grid-2__input",
|
|
7630
7630
|
placeholder: "e.g. %",
|
|
7631
7631
|
onInput: d
|
|
@@ -7637,29 +7637,29 @@ const cd = { class: "form-control-number-format__popover" }, dd = { class: "form
|
|
|
7637
7637
|
p("div", null, [
|
|
7638
7638
|
h[8] || (h[8] = p("div", { class: "form-control-number-format__popover__body__section-label" }, " Decimal places ", -1)),
|
|
7639
7639
|
p("div", bd, [
|
|
7640
|
-
(v(),
|
|
7641
|
-
key:
|
|
7642
|
-
class: O(["form-control-number-format__popover__body__btn-group__btn", { "form-control-number-format__popover__body__btn-group__btn--active": f(r).decimals ===
|
|
7643
|
-
onClick: (
|
|
7644
|
-
}, L(
|
|
7640
|
+
(v(), y(le, null, we(n, (_) => p("button", {
|
|
7641
|
+
key: _,
|
|
7642
|
+
class: O(["form-control-number-format__popover__body__btn-group__btn", { "form-control-number-format__popover__body__btn-group__btn--active": f(r).decimals === _ }]),
|
|
7643
|
+
onClick: ($) => c(_)
|
|
7644
|
+
}, L(_), 11, gd)), 64))
|
|
7645
7645
|
])
|
|
7646
7646
|
]),
|
|
7647
7647
|
p("div", null, [
|
|
7648
7648
|
h[9] || (h[9] = p("div", { class: "form-control-number-format__popover__body__section-label" }, " Negatives ", -1)),
|
|
7649
7649
|
p("div", yd, [
|
|
7650
|
-
(v(),
|
|
7651
|
-
key:
|
|
7652
|
-
class: O(["form-control-number-format__popover__body__btn-group__btn", { "form-control-number-format__popover__body__btn-group__btn--active": f(r).negStyle ===
|
|
7653
|
-
onClick: (
|
|
7654
|
-
}, L(
|
|
7650
|
+
(v(), y(le, null, we(o, (_) => p("button", {
|
|
7651
|
+
key: _.id,
|
|
7652
|
+
class: O(["form-control-number-format__popover__body__btn-group__btn", { "form-control-number-format__popover__body__btn-group__btn--active": f(r).negStyle === _.id }]),
|
|
7653
|
+
onClick: ($) => m(_.id)
|
|
7654
|
+
}, L(_.label), 11, _d)), 64))
|
|
7655
7655
|
])
|
|
7656
7656
|
]),
|
|
7657
7657
|
p("label", wd, [
|
|
7658
7658
|
Lt(p("input", {
|
|
7659
|
-
"onUpdate:modelValue": h[2] || (h[2] = (
|
|
7659
|
+
"onUpdate:modelValue": h[2] || (h[2] = (_) => f(r).thousandsSep = _),
|
|
7660
7660
|
type: "checkbox",
|
|
7661
7661
|
class: "form-control-number-format__popover__body__check-row__checkbox",
|
|
7662
|
-
onChange: h[3] || (h[3] = (
|
|
7662
|
+
onChange: h[3] || (h[3] = (_) => d())
|
|
7663
7663
|
}, null, 544), [
|
|
7664
7664
|
[Oa, f(r).thousandsSep]
|
|
7665
7665
|
]),
|
|
@@ -7794,7 +7794,7 @@ function Xt(e, t, n) {
|
|
|
7794
7794
|
return { y: e, m: t, d: n, H: 0, M: 0, S: 0, L: 0 };
|
|
7795
7795
|
}
|
|
7796
7796
|
function Rd(e) {
|
|
7797
|
-
var t = e.dateTime, n = e.date, o = e.time, a = e.periods, l = e.days, r = e.shortDays, u = e.months, s = e.shortMonths, i = Kt(a), d = Zt(a), c = Kt(l), m = Zt(l),
|
|
7797
|
+
var t = e.dateTime, n = e.date, o = e.time, a = e.periods, l = e.days, r = e.shortDays, u = e.months, s = e.shortMonths, i = Kt(a), d = Zt(a), c = Kt(l), m = Zt(l), w = Kt(r), x = Zt(r), k = Kt(u), b = Zt(u), h = Kt(s), C = Zt(s), _ = {
|
|
7798
7798
|
a: ne,
|
|
7799
7799
|
A: se,
|
|
7800
7800
|
b: ve,
|
|
@@ -7827,7 +7827,7 @@ function Rd(e) {
|
|
|
7827
7827
|
Y: bf,
|
|
7828
7828
|
Z: yf,
|
|
7829
7829
|
"%": Aa
|
|
7830
|
-
},
|
|
7830
|
+
}, $ = {
|
|
7831
7831
|
a: Oe,
|
|
7832
7832
|
A: $e,
|
|
7833
7833
|
b: qe,
|
|
@@ -7860,8 +7860,8 @@ function Rd(e) {
|
|
|
7860
7860
|
Y: Ff,
|
|
7861
7861
|
Z: Rf,
|
|
7862
7862
|
"%": Aa
|
|
7863
|
-
},
|
|
7864
|
-
a:
|
|
7863
|
+
}, W = {
|
|
7864
|
+
a: j,
|
|
7865
7865
|
A: te,
|
|
7866
7866
|
b: T,
|
|
7867
7867
|
B: E,
|
|
@@ -7888,13 +7888,13 @@ function Rd(e) {
|
|
|
7888
7888
|
w: Nd,
|
|
7889
7889
|
W: Yd,
|
|
7890
7890
|
x: G,
|
|
7891
|
-
X:
|
|
7891
|
+
X: q,
|
|
7892
7892
|
y: Ca,
|
|
7893
7893
|
Y: $a,
|
|
7894
7894
|
Z: Wd,
|
|
7895
7895
|
"%": Jd
|
|
7896
7896
|
};
|
|
7897
|
-
|
|
7897
|
+
_.x = P(n, _), _.X = P(o, _), _.c = P(t, _), $.x = P(n, $), $.X = P(o, $), $.c = P(t, $);
|
|
7898
7898
|
function P(N, K) {
|
|
7899
7899
|
return function(J) {
|
|
7900
7900
|
var A = [], be = -1, oe = 0, Le = N.length, Se, Z, he;
|
|
@@ -7920,7 +7920,7 @@ function Rd(e) {
|
|
|
7920
7920
|
for (var be = 0, oe = K.length, Le = J.length, Se, Z; be < oe; ) {
|
|
7921
7921
|
if (A >= Le) return -1;
|
|
7922
7922
|
if (Se = K.charCodeAt(be++), Se === 37) {
|
|
7923
|
-
if (Se = K.charAt(be++), Z =
|
|
7923
|
+
if (Se = K.charAt(be++), Z = W[Se in xa ? K.charAt(be++) : Se], !Z || (A = Z(N, J, A)) < 0) return -1;
|
|
7924
7924
|
} else if (Se != J.charCodeAt(A++))
|
|
7925
7925
|
return -1;
|
|
7926
7926
|
}
|
|
@@ -7930,8 +7930,8 @@ function Rd(e) {
|
|
|
7930
7930
|
var A = i.exec(K.slice(J));
|
|
7931
7931
|
return A ? (N.p = d.get(A[0].toLowerCase()), J + A[0].length) : -1;
|
|
7932
7932
|
}
|
|
7933
|
-
function
|
|
7934
|
-
var A =
|
|
7933
|
+
function j(N, K, J) {
|
|
7934
|
+
var A = w.exec(K.slice(J));
|
|
7935
7935
|
return A ? (N.w = x.get(A[0].toLowerCase()), J + A[0].length) : -1;
|
|
7936
7936
|
}
|
|
7937
7937
|
function te(N, K, J) {
|
|
@@ -7940,7 +7940,7 @@ function Rd(e) {
|
|
|
7940
7940
|
}
|
|
7941
7941
|
function T(N, K, J) {
|
|
7942
7942
|
var A = h.exec(K.slice(J));
|
|
7943
|
-
return A ? (N.m =
|
|
7943
|
+
return A ? (N.m = C.get(A[0].toLowerCase()), J + A[0].length) : -1;
|
|
7944
7944
|
}
|
|
7945
7945
|
function E(N, K, J) {
|
|
7946
7946
|
var A = k.exec(K.slice(J));
|
|
@@ -7952,7 +7952,7 @@ function Rd(e) {
|
|
|
7952
7952
|
function G(N, K, J) {
|
|
7953
7953
|
return I(N, n, K, J);
|
|
7954
7954
|
}
|
|
7955
|
-
function
|
|
7955
|
+
function q(N, K, J) {
|
|
7956
7956
|
return I(N, o, K, J);
|
|
7957
7957
|
}
|
|
7958
7958
|
function ne(N) {
|
|
@@ -7993,7 +7993,7 @@ function Rd(e) {
|
|
|
7993
7993
|
}
|
|
7994
7994
|
return {
|
|
7995
7995
|
format: function(N) {
|
|
7996
|
-
var K = P(N += "",
|
|
7996
|
+
var K = P(N += "", _);
|
|
7997
7997
|
return K.toString = function() {
|
|
7998
7998
|
return N;
|
|
7999
7999
|
}, K;
|
|
@@ -8005,7 +8005,7 @@ function Rd(e) {
|
|
|
8005
8005
|
}, K;
|
|
8006
8006
|
},
|
|
8007
8007
|
utcFormat: function(N) {
|
|
8008
|
-
var K = P(N += "",
|
|
8008
|
+
var K = P(N += "", $);
|
|
8009
8009
|
return K.toString = function() {
|
|
8010
8010
|
return N;
|
|
8011
8011
|
}, K;
|
|
@@ -8346,7 +8346,7 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8346
8346
|
}),
|
|
8347
8347
|
emits: ["update:modelValue"],
|
|
8348
8348
|
setup(e) {
|
|
8349
|
-
const t = ae(e, "modelValue"), n = Te("(automatic)"), o = Te(""), a =
|
|
8349
|
+
const t = ae(e, "modelValue"), n = Te("(automatic)"), o = Te(""), a = g(() => Ef(o.value)), l = g(() => Nf(t.value, n.value, o.value));
|
|
8350
8350
|
function r(s, i) {
|
|
8351
8351
|
n.value = s, s !== "(custom)" && (t.value = Of(s), i());
|
|
8352
8352
|
}
|
|
@@ -8377,19 +8377,19 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8377
8377
|
menu: F(({ hide: c }) => [
|
|
8378
8378
|
p("div", zf, [
|
|
8379
8379
|
p("div", Uf, [
|
|
8380
|
-
(v(!0),
|
|
8380
|
+
(v(!0), y(le, null, we(f(un), (m) => (v(), y("div", {
|
|
8381
8381
|
key: m.fmt,
|
|
8382
8382
|
class: O(["form-control-date-format__popover__list__item", { "form-control-date-format__popover__list__item--active": f(n) === m.fmt }]),
|
|
8383
|
-
onClick: (
|
|
8383
|
+
onClick: (w) => r(m.fmt, c)
|
|
8384
8384
|
}, [
|
|
8385
8385
|
p("div", Wf, [
|
|
8386
8386
|
p("div", qf, L(m.label), 1),
|
|
8387
|
-
f(Ia)(m.fmt) ? (v(),
|
|
8387
|
+
f(Ia)(m.fmt) ? (v(), y("div", jf, L(f(Ia)(m.fmt)), 1)) : D("", !0)
|
|
8388
8388
|
]),
|
|
8389
|
-
f(n) === m.fmt ? (v(),
|
|
8389
|
+
f(n) === m.fmt ? (v(), y("span", Gf, "✓")) : D("", !0)
|
|
8390
8390
|
], 10, Yf))), 128))
|
|
8391
8391
|
]),
|
|
8392
|
-
f(n) === "(custom)" ? (v(),
|
|
8392
|
+
f(n) === "(custom)" ? (v(), y("div", Xf, [
|
|
8393
8393
|
i[3] || (i[3] = p("div", { class: "form-control-date-format__popover__custom__section-label" }, " Custom d3-time-format string ", -1)),
|
|
8394
8394
|
Lt(p("input", {
|
|
8395
8395
|
"onUpdate:modelValue": i[0] || (i[0] = (m) => Tn(o) ? o.value = m : null),
|
|
@@ -8421,14 +8421,14 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8421
8421
|
size: { default: "md" }
|
|
8422
8422
|
},
|
|
8423
8423
|
setup(e) {
|
|
8424
|
-
const t = e, n =
|
|
8424
|
+
const t = e, n = g(() => ({
|
|
8425
8425
|
"display-value--sm": t.size === "sm"
|
|
8426
8426
|
}));
|
|
8427
|
-
return (o, a) => (v(),
|
|
8427
|
+
return (o, a) => (v(), y("span", {
|
|
8428
8428
|
class: O(["display-value", f(n)])
|
|
8429
8429
|
}, [
|
|
8430
8430
|
p("span", Jf, L(e.value), 1),
|
|
8431
|
-
e.unit ? (v(),
|
|
8431
|
+
e.unit ? (v(), y("span", ev, L(e.unit), 1)) : D("", !0)
|
|
8432
8432
|
], 2));
|
|
8433
8433
|
}
|
|
8434
8434
|
}), gb = /* @__PURE__ */ z(tv, [["__scopeId", "data-v-d11c1e64"]]), nv = { class: "display-date" }, ov = /* @__PURE__ */ S({
|
|
@@ -8438,11 +8438,11 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8438
8438
|
format: { default: "short" }
|
|
8439
8439
|
},
|
|
8440
8440
|
setup(e) {
|
|
8441
|
-
const t = e, n =
|
|
8441
|
+
const t = e, n = g(() => {
|
|
8442
8442
|
const o = new Date(t.value);
|
|
8443
8443
|
return Number.isNaN(o.getTime()) ? t.value : t.format === "long" ? o.toLocaleDateString(void 0, { year: "numeric", month: "long", day: "numeric" }) : o.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" });
|
|
8444
8444
|
});
|
|
8445
|
-
return (o, a) => (v(),
|
|
8445
|
+
return (o, a) => (v(), y("span", nv, L(f(n)), 1));
|
|
8446
8446
|
}
|
|
8447
8447
|
}), yb = /* @__PURE__ */ z(ov, [["__scopeId", "data-v-8d8eab36"]]), av = { class: "display-range" }, lv = { class: "display-range__text" }, rv = { class: "display-range__text" }, iv = {
|
|
8448
8448
|
key: 0,
|
|
@@ -8455,11 +8455,11 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8455
8455
|
unit: {}
|
|
8456
8456
|
},
|
|
8457
8457
|
setup(e) {
|
|
8458
|
-
return (t, n) => (v(),
|
|
8458
|
+
return (t, n) => (v(), y("span", av, [
|
|
8459
8459
|
p("span", lv, L(e.min), 1),
|
|
8460
8460
|
n[0] || (n[0] = p("span", { class: "display-range__separator" }, "–", -1)),
|
|
8461
8461
|
p("span", rv, L(e.max), 1),
|
|
8462
|
-
e.unit ? (v(),
|
|
8462
|
+
e.unit ? (v(), y("span", iv, L(e.unit), 1)) : D("", !0)
|
|
8463
8463
|
]));
|
|
8464
8464
|
}
|
|
8465
8465
|
}), _b = /* @__PURE__ */ z(sv, [["__scopeId", "data-v-500dac2f"]]), uv = { class: "display-number" }, cv = { class: "display-number__text" }, dv = {
|
|
@@ -8473,10 +8473,10 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8473
8473
|
unit: {}
|
|
8474
8474
|
},
|
|
8475
8475
|
setup(e) {
|
|
8476
|
-
const t = e, n =
|
|
8477
|
-
return (o, a) => (v(),
|
|
8476
|
+
const t = e, n = g(() => t.precision != null ? t.value.toFixed(t.precision) : String(t.value));
|
|
8477
|
+
return (o, a) => (v(), y("span", uv, [
|
|
8478
8478
|
p("span", cv, L(f(n)), 1),
|
|
8479
|
-
e.unit ? (v(),
|
|
8479
|
+
e.unit ? (v(), y("span", dv, L(e.unit), 1)) : D("", !0)
|
|
8480
8480
|
]));
|
|
8481
8481
|
}
|
|
8482
8482
|
}), wb = /* @__PURE__ */ z(fv, [["__scopeId", "data-v-0bb9515b"]]), vv = {
|
|
@@ -8485,7 +8485,7 @@ const zf = { class: "form-control-date-format__popover" }, Uf = { class: "form-c
|
|
|
8485
8485
|
height: "1.2em"
|
|
8486
8486
|
};
|
|
8487
8487
|
function pv(e, t) {
|
|
8488
|
-
return v(),
|
|
8488
|
+
return v(), y("svg", vv, [...t[0] || (t[0] = [
|
|
8489
8489
|
p("path", {
|
|
8490
8490
|
fill: "currentColor",
|
|
8491
8491
|
d: "M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12a12 12 0 0 1-12-12"
|
|
@@ -8499,11 +8499,11 @@ const mv = xe({ name: "ph-info", render: pv }), hv = { class: "display-contrast-
|
|
|
8499
8499
|
ratio: {}
|
|
8500
8500
|
},
|
|
8501
8501
|
setup(e) {
|
|
8502
|
-
const t = e, n = ke("badgeRef"), o =
|
|
8502
|
+
const t = e, n = ke("badgeRef"), o = g(() => ({
|
|
8503
8503
|
"display-contrast-badge--aaa": t.level === "AAA",
|
|
8504
8504
|
"display-contrast-badge--aa": t.level === "AA",
|
|
8505
8505
|
"display-contrast-badge--fail": t.level === "Fail"
|
|
8506
|
-
})), a =
|
|
8506
|
+
})), a = g(() => {
|
|
8507
8507
|
switch (t.level) {
|
|
8508
8508
|
case "AAA":
|
|
8509
8509
|
return "WCAG AAA — Ratio ≥ 7:1. Enhanced contrast, meets the highest accessibility standard.";
|
|
@@ -8513,7 +8513,7 @@ const mv = xe({ name: "ph-info", render: pv }), hv = { class: "display-contrast-
|
|
|
8513
8513
|
return "Below WCAG AA — Ratio < 4.5:1. Insufficient contrast. May be hard to read for some users.";
|
|
8514
8514
|
}
|
|
8515
8515
|
});
|
|
8516
|
-
return (l, r) => (v(),
|
|
8516
|
+
return (l, r) => (v(), y("span", {
|
|
8517
8517
|
ref_key: "badgeRef",
|
|
8518
8518
|
ref: n,
|
|
8519
8519
|
class: O(["display-contrast-badge", f(o)])
|
|
@@ -8553,8 +8553,8 @@ const yv = { class: "display-chart-type" }, _v = /* @__PURE__ */ S({
|
|
|
8553
8553
|
chartType: {}
|
|
8554
8554
|
},
|
|
8555
8555
|
setup(e) {
|
|
8556
|
-
const t = e, n =
|
|
8557
|
-
return (o, a) => (v(),
|
|
8556
|
+
const t = e, n = g(() => Kl(t.chartType));
|
|
8557
|
+
return (o, a) => (v(), y("span", yv, L(f(n)), 1));
|
|
8558
8558
|
}
|
|
8559
8559
|
}), xb = /* @__PURE__ */ z(_v, [["__scopeId", "data-v-0f586baf"]]), wv = {
|
|
8560
8560
|
viewBox: "0 0 256 256",
|
|
@@ -8562,7 +8562,7 @@ const yv = { class: "display-chart-type" }, _v = /* @__PURE__ */ S({
|
|
|
8562
8562
|
height: "1.2em"
|
|
8563
8563
|
};
|
|
8564
8564
|
function kv(e, t) {
|
|
8565
|
-
return v(),
|
|
8565
|
+
return v(), y("svg", wv, [...t[0] || (t[0] = [
|
|
8566
8566
|
p("path", {
|
|
8567
8567
|
fill: "currentColor",
|
|
8568
8568
|
d: "M224 200h-8V40a8 8 0 0 0-8-8h-56a8 8 0 0 0-8 8v40H96a8 8 0 0 0-8 8v40H48a8 8 0 0 0-8 8v64h-8a8 8 0 0 0 0 16h192a8 8 0 0 0 0-16M160 48h40v152h-40Zm-56 48h40v104h-40Zm-48 48h32v56H56Z"
|
|
@@ -8575,7 +8575,7 @@ const pn = xe({ name: "ph-chart-bar", render: kv }), xv = {
|
|
|
8575
8575
|
height: "1.2em"
|
|
8576
8576
|
};
|
|
8577
8577
|
function $v(e, t) {
|
|
8578
|
-
return v(),
|
|
8578
|
+
return v(), y("svg", xv, [...t[0] || (t[0] = [
|
|
8579
8579
|
p("path", {
|
|
8580
8580
|
fill: "currentColor",
|
|
8581
8581
|
d: "M224 96h-40V56a8 8 0 0 0-8-8H56v-8a8 8 0 0 0-16 0v176a8 8 0 0 0 16 0v-8h88a8 8 0 0 0 8-8v-40h72a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8m-56-32v32H56V64Zm-32 128H56v-32h80Zm80-48H56v-32h160Z"
|
|
@@ -8588,7 +8588,7 @@ const mn = xe({ name: "ph-chart-bar-horizontal", render: $v }), Cv = {
|
|
|
8588
8588
|
height: "1.2em"
|
|
8589
8589
|
};
|
|
8590
8590
|
function Bv(e, t) {
|
|
8591
|
-
return v(),
|
|
8591
|
+
return v(), y("svg", Cv, [...t[0] || (t[0] = [
|
|
8592
8592
|
p("path", {
|
|
8593
8593
|
fill: "currentColor",
|
|
8594
8594
|
d: "M232 208a8 8 0 0 1-8 8H32a8 8 0 0 1-8-8V48a8 8 0 0 1 16 0v108.69l50.34-50.35a8 8 0 0 1 11.32 0L128 132.69L180.69 80H160a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8v40a8 8 0 0 1-16 0V91.31l-58.34 58.35a8 8 0 0 1-11.32 0L96 123.31l-56 56V200h184a8 8 0 0 1 8 8"
|
|
@@ -8601,7 +8601,7 @@ const hn = xe({ name: "ph-chart-line-up", render: Bv }), Sv = {
|
|
|
8601
8601
|
height: "1.2em"
|
|
8602
8602
|
};
|
|
8603
8603
|
function Mv(e, t) {
|
|
8604
|
-
return v(),
|
|
8604
|
+
return v(), y("svg", Sv, [...t[0] || (t[0] = [
|
|
8605
8605
|
p("path", {
|
|
8606
8606
|
fill: "currentColor",
|
|
8607
8607
|
d: "M100 116.43a8 8 0 0 0 4-6.93v-72A8 8 0 0 0 93.34 30a104.06 104.06 0 0 0-67.61 117a8 8 0 0 0 4.52 5.81a7.9 7.9 0 0 0 3.35.74a8 8 0 0 0 4-1.07ZM88 49.62v55.26l-47.88 27.63C40 131 40 129.48 40 128a88.12 88.12 0 0 1 48-78.38M128 24a8 8 0 0 0-8 8v91.82l-78.81 45.91a8 8 0 0 0-2.87 11A104 104 0 1 0 128 24m0 192a88.47 88.47 0 0 1-71.49-36.68l75.52-44a8 8 0 0 0 4-6.92V40.36A88 88 0 0 1 128 216"
|
|
@@ -8614,7 +8614,7 @@ const Lv = xe({ name: "ph-chart-pie-slice", render: Mv }), Av = {
|
|
|
8614
8614
|
height: "1.2em"
|
|
8615
8615
|
};
|
|
8616
8616
|
function Tv(e, t) {
|
|
8617
|
-
return v(),
|
|
8617
|
+
return v(), y("svg", Av, [...t[0] || (t[0] = [
|
|
8618
8618
|
p("path", {
|
|
8619
8619
|
fill: "currentColor",
|
|
8620
8620
|
d: "M128 24a8 8 0 0 0-8 8v56a8 8 0 0 0 8 8a32 32 0 1 1-27.72 16a8 8 0 0 0-2.93-10.93l-48.5-28A8 8 0 0 0 37.92 76A104 104 0 1 0 128 24M48.09 91.1L83 111.26A48.1 48.1 0 0 0 80 128c0 1.53.08 3 .22 4.52L41.28 143a88.16 88.16 0 0 1 6.81-51.9m-2.67 67.31l39-10.44A48.1 48.1 0 0 0 120 175.32v40.31a88.2 88.2 0 0 1-74.58-57.22M136 215.63v-40.31a48 48 0 0 0 0-94.65V40.36a88 88 0 0 1 0 175.27"
|
|
@@ -8628,7 +8628,7 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8628
8628
|
theme: { default: "light" }
|
|
8629
8629
|
},
|
|
8630
8630
|
setup(e) {
|
|
8631
|
-
const t = e, n =
|
|
8631
|
+
const t = e, n = g(() => Kl(t.chartType)), o = g(() => t.theme === "dark" ? "dark" : "light"), a = {
|
|
8632
8632
|
[de.BarVertical]: pn,
|
|
8633
8633
|
[de.BarHorizontal]: mn,
|
|
8634
8634
|
[de.BarMulti]: pn,
|
|
@@ -8642,7 +8642,7 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8642
8642
|
[de.AreaStacked]: hn,
|
|
8643
8643
|
[de.Donut]: Pv,
|
|
8644
8644
|
[de.Pie]: Lv
|
|
8645
|
-
}, l =
|
|
8645
|
+
}, l = g(() => a[t.chartType] ?? pn);
|
|
8646
8646
|
return (r, u) => (v(), R(f(mr), {
|
|
8647
8647
|
variant: f(o),
|
|
8648
8648
|
pill: "",
|
|
@@ -8665,10 +8665,10 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8665
8665
|
eyebrow: { default: void 0 }
|
|
8666
8666
|
},
|
|
8667
8667
|
setup(e) {
|
|
8668
|
-
const t = e, n =
|
|
8668
|
+
const t = e, n = g(() => ({
|
|
8669
8669
|
"section-title--flush": t.flush
|
|
8670
8670
|
}));
|
|
8671
|
-
return (o, a) => e.eyebrow ? (v(),
|
|
8671
|
+
return (o, a) => e.eyebrow ? (v(), y("div", Fv, [
|
|
8672
8672
|
p("div", Dv, [
|
|
8673
8673
|
a[0] || (a[0] = p("span", {
|
|
8674
8674
|
class: "bc-eyebrow__hash",
|
|
@@ -8681,7 +8681,7 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8681
8681
|
}, [
|
|
8682
8682
|
M(o.$slots, "default", {}, void 0, !0)
|
|
8683
8683
|
], 2)
|
|
8684
|
-
])) : (v(),
|
|
8684
|
+
])) : (v(), y("h6", {
|
|
8685
8685
|
key: 1,
|
|
8686
8686
|
class: O(["section-title", f(n)])
|
|
8687
8687
|
}, [
|
|
@@ -8697,7 +8697,7 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8697
8697
|
setup(e) {
|
|
8698
8698
|
return (t, n) => {
|
|
8699
8699
|
const o = Vv;
|
|
8700
|
-
return v(),
|
|
8700
|
+
return v(), y("section", Ov, [
|
|
8701
8701
|
Y(o, { flush: e.flush }, {
|
|
8702
8702
|
default: F(() => [
|
|
8703
8703
|
re(L(e.title), 1)
|
|
@@ -8722,23 +8722,23 @@ const Pv = xe({ name: "ph-chart-donut", render: Tv }), Iv = /* @__PURE__ */ S({
|
|
|
8722
8722
|
label: {}
|
|
8723
8723
|
},
|
|
8724
8724
|
setup(e) {
|
|
8725
|
-
return (t, n) => (v(),
|
|
8726
|
-
e.label ? (v(),
|
|
8725
|
+
return (t, n) => (v(), y("div", Hv, [
|
|
8726
|
+
e.label ? (v(), y("div", zv, L(e.label), 1)) : D("", !0),
|
|
8727
8727
|
M(t.$slots, "header", {}, void 0, !0),
|
|
8728
|
-
t.$slots.default ? (v(),
|
|
8728
|
+
t.$slots.default ? (v(), y("div", Uv, [
|
|
8729
8729
|
M(t.$slots, "default", {}, void 0, !0)
|
|
8730
8730
|
])) : D("", !0)
|
|
8731
8731
|
]));
|
|
8732
8732
|
}
|
|
8733
8733
|
}), Bb = /* @__PURE__ */ z(Yv, [["__scopeId", "data-v-c4970a7e"]]), Wv = {}, qv = { class: "settings-section-description" };
|
|
8734
8734
|
function jv(e, t) {
|
|
8735
|
-
return v(),
|
|
8735
|
+
return v(), y("p", qv, [
|
|
8736
8736
|
M(e.$slots, "default", {}, void 0, !0)
|
|
8737
8737
|
]);
|
|
8738
8738
|
}
|
|
8739
8739
|
const Gv = /* @__PURE__ */ z(Wv, [["render", jv], ["__scopeId", "data-v-305c0b8f"]]), Xv = {}, Kv = { class: "settings-section-title" };
|
|
8740
8740
|
function Zv(e, t) {
|
|
8741
|
-
return v(),
|
|
8741
|
+
return v(), y("h6", Kv, [
|
|
8742
8742
|
M(e.$slots, "default", {}, void 0, !0)
|
|
8743
8743
|
]);
|
|
8744
8744
|
}
|
|
@@ -8750,7 +8750,7 @@ const Qv = /* @__PURE__ */ z(Xv, [["render", Zv], ["__scopeId", "data-v-d623ff81
|
|
|
8750
8750
|
setup(e) {
|
|
8751
8751
|
return (t, n) => {
|
|
8752
8752
|
const o = On;
|
|
8753
|
-
return v(),
|
|
8753
|
+
return v(), y("div", Jv, [
|
|
8754
8754
|
Y(o, { name: e.icon }, null, 8, ["name"])
|
|
8755
8755
|
]);
|
|
8756
8756
|
};
|
|
@@ -8768,7 +8768,7 @@ const Qv = /* @__PURE__ */ z(Xv, [["render", Zv], ["__scopeId", "data-v-d623ff81
|
|
|
8768
8768
|
setup(e) {
|
|
8769
8769
|
return (t, n) => {
|
|
8770
8770
|
const o = tp, a = Qv, l = Gv;
|
|
8771
|
-
return v(),
|
|
8771
|
+
return v(), y("section", np, [
|
|
8772
8772
|
p("div", op, [
|
|
8773
8773
|
e.icon ? (v(), R(o, {
|
|
8774
8774
|
key: 0,
|
|
@@ -8791,7 +8791,7 @@ const Qv = /* @__PURE__ */ z(Xv, [["render", Zv], ["__scopeId", "data-v-d623ff81
|
|
|
8791
8791
|
]),
|
|
8792
8792
|
_: 3
|
|
8793
8793
|
})) : D("", !0),
|
|
8794
|
-
t.$slots.default ? (v(),
|
|
8794
|
+
t.$slots.default ? (v(), y("div", lp, [
|
|
8795
8795
|
M(t.$slots, "default", {}, void 0, !0)
|
|
8796
8796
|
])) : D("", !0)
|
|
8797
8797
|
]);
|
|
@@ -8803,7 +8803,7 @@ const Qv = /* @__PURE__ */ z(Xv, [["render", Zv], ["__scopeId", "data-v-d623ff81
|
|
|
8803
8803
|
height: "1.2em"
|
|
8804
8804
|
};
|
|
8805
8805
|
function sp(e, t) {
|
|
8806
|
-
return v(),
|
|
8806
|
+
return v(), y("svg", ip, [...t[0] || (t[0] = [
|
|
8807
8807
|
p("path", {
|
|
8808
8808
|
fill: "currentColor",
|
|
8809
8809
|
d: "M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128L50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z"
|
|
@@ -8834,7 +8834,7 @@ const Zl = xe({ name: "ph-x", render: sp }), up = /* @__PURE__ */ S({
|
|
|
8834
8834
|
height: "1.2em"
|
|
8835
8835
|
};
|
|
8836
8836
|
function dp(e, t) {
|
|
8837
|
-
return v(),
|
|
8837
|
+
return v(), y("svg", cp, [...t[0] || (t[0] = [
|
|
8838
8838
|
p("path", {
|
|
8839
8839
|
fill: "currentColor",
|
|
8840
8840
|
d: "M240 56v48a8 8 0 0 1-8 8h-48a8 8 0 0 1 0-16h27.4l-26.59-24.36l-.25-.24a80 80 0 1 0-1.67 114.78a8 8 0 0 1 11 11.63A95.44 95.44 0 0 1 128 224h-1.32a96 96 0 1 1 69.07-164L224 85.8V56a8 8 0 1 1 16 0"
|
|
@@ -8868,7 +8868,7 @@ const fp = xe({ name: "ph-arrow-clockwise", render: dp }), Lb = /* @__PURE__ */
|
|
|
8868
8868
|
height: "1.2em"
|
|
8869
8869
|
};
|
|
8870
8870
|
function pp(e, t) {
|
|
8871
|
-
return v(),
|
|
8871
|
+
return v(), y("svg", vp, [...t[0] || (t[0] = [
|
|
8872
8872
|
p("path", {
|
|
8873
8873
|
fill: "currentColor",
|
|
8874
8874
|
d: "M224 128a96 96 0 0 1-94.71 96H128a95.38 95.38 0 0 1-65.9-26.2a8 8 0 0 1 11-11.63a80 80 0 1 0-1.67-114.78a3 3 0 0 1-.26.25L44.59 96H72a8 8 0 0 1 0 16H24a8 8 0 0 1-8-8V56a8 8 0 0 1 16 0v29.8L60.25 60A96 96 0 0 1 224 128"
|
|
@@ -8902,7 +8902,7 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
8902
8902
|
message: {}
|
|
8903
8903
|
},
|
|
8904
8904
|
setup(e) {
|
|
8905
|
-
return (t, n) => (v(),
|
|
8905
|
+
return (t, n) => (v(), y("div", hp, [
|
|
8906
8906
|
p("p", bp, [
|
|
8907
8907
|
M(t.$slots, "default", {}, () => [
|
|
8908
8908
|
re(L(e.message), 1)
|
|
@@ -8920,12 +8920,12 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
8920
8920
|
animated: { type: Boolean, default: !0 }
|
|
8921
8921
|
},
|
|
8922
8922
|
setup(e) {
|
|
8923
|
-
const t = e, n =
|
|
8923
|
+
const t = e, n = g(() => ({
|
|
8924
8924
|
width: t.width,
|
|
8925
8925
|
height: t.height,
|
|
8926
8926
|
borderRadius: t.circle ? "50%" : t.radius
|
|
8927
8927
|
}));
|
|
8928
|
-
return (o, a) => (v(),
|
|
8928
|
+
return (o, a) => (v(), y("div", {
|
|
8929
8929
|
class: O(["feedback-skeleton", {
|
|
8930
8930
|
"feedback-skeleton--animated": e.animated,
|
|
8931
8931
|
"feedback-skeleton--circle": e.circle
|
|
@@ -8965,8 +8965,8 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
8965
8965
|
b.preventDefault();
|
|
8966
8966
|
return;
|
|
8967
8967
|
}
|
|
8968
|
-
const
|
|
8969
|
-
b.shiftKey && (
|
|
8968
|
+
const C = h[0], _ = h[h.length - 1], $ = document.activeElement;
|
|
8969
|
+
b.shiftKey && ($ === C || $ === a.value) ? (b.preventDefault(), _.focus()) : !b.shiftKey && $ === _ && (b.preventDefault(), C.focus());
|
|
8970
8970
|
}
|
|
8971
8971
|
Me(t, async (b) => {
|
|
8972
8972
|
var h;
|
|
@@ -8976,27 +8976,27 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
8976
8976
|
}
|
|
8977
8977
|
r == null || r.focus(), r = null;
|
|
8978
8978
|
}, { immediate: !0 });
|
|
8979
|
-
const i =
|
|
8979
|
+
const i = g(() => ({
|
|
8980
8980
|
"layout-bottom-drawer--dragging": o.value
|
|
8981
8981
|
}));
|
|
8982
8982
|
let d = 0, c = !1;
|
|
8983
8983
|
function m(b) {
|
|
8984
|
-
d = b.clientY, n.value = 0, c = !1, document.addEventListener("pointermove",
|
|
8984
|
+
d = b.clientY, n.value = 0, c = !1, document.addEventListener("pointermove", w), document.addEventListener("pointerup", x, { once: !0 }), document.addEventListener("pointercancel", x, { once: !0 });
|
|
8985
8985
|
}
|
|
8986
|
-
function
|
|
8986
|
+
function w(b) {
|
|
8987
8987
|
const h = b.clientY - d;
|
|
8988
8988
|
!o.value && Math.abs(h) > 4 && (o.value = !0), o.value && (c = !0, n.value = Math.max(0, h));
|
|
8989
8989
|
}
|
|
8990
8990
|
function x() {
|
|
8991
|
-
document.removeEventListener("pointermove",
|
|
8991
|
+
document.removeEventListener("pointermove", w), document.removeEventListener("pointercancel", x), o.value && n.value >= $p ? t.value = !1 : c || (t.value = !1), n.value = 0, o.value = !1;
|
|
8992
8992
|
}
|
|
8993
|
-
const k =
|
|
8993
|
+
const k = g(
|
|
8994
8994
|
() => n.value > 0 ? { transform: `translateY(${n.value}px)` } : {}
|
|
8995
8995
|
);
|
|
8996
|
-
return (b, h) => (v(),
|
|
8996
|
+
return (b, h) => (v(), y(le, null, [
|
|
8997
8997
|
Y(vo, { name: "drawer" }, {
|
|
8998
8998
|
default: F(() => [
|
|
8999
|
-
t.value ? (v(),
|
|
8999
|
+
t.value ? (v(), y("div", {
|
|
9000
9000
|
key: 0,
|
|
9001
9001
|
ref_key: "drawerRef",
|
|
9002
9002
|
ref: a,
|
|
@@ -9015,14 +9015,14 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
9015
9015
|
p("div", { class: "layout-bottom-drawer__handle__bar" }, null, -1)
|
|
9016
9016
|
])], 32),
|
|
9017
9017
|
p("div", wp, [
|
|
9018
|
-
e.title ? (v(),
|
|
9018
|
+
e.title ? (v(), y("h2", kp, L(e.title), 1)) : D("", !0),
|
|
9019
9019
|
p("button", {
|
|
9020
9020
|
ref_key: "closeRef",
|
|
9021
9021
|
ref: l,
|
|
9022
9022
|
type: "button",
|
|
9023
9023
|
class: "layout-bottom-drawer__header__close",
|
|
9024
9024
|
"aria-label": "Close panel",
|
|
9025
|
-
onClick: h[0] || (h[0] = (
|
|
9025
|
+
onClick: h[0] || (h[0] = (C) => t.value = !1)
|
|
9026
9026
|
}, " × ", 512)
|
|
9027
9027
|
]),
|
|
9028
9028
|
p("div", xp, [
|
|
@@ -9032,11 +9032,11 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
9032
9032
|
]),
|
|
9033
9033
|
_: 3
|
|
9034
9034
|
}),
|
|
9035
|
-
t.value ? (v(),
|
|
9035
|
+
t.value ? (v(), y("div", {
|
|
9036
9036
|
key: 0,
|
|
9037
9037
|
class: "layout-bottom-drawer__backdrop",
|
|
9038
9038
|
"aria-hidden": "true",
|
|
9039
|
-
onClick: h[1] || (h[1] = (
|
|
9039
|
+
onClick: h[1] || (h[1] = (C) => t.value = !1)
|
|
9040
9040
|
})) : D("", !0)
|
|
9041
9041
|
], 64));
|
|
9042
9042
|
}
|
|
@@ -9055,20 +9055,20 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
9055
9055
|
title: {}
|
|
9056
9056
|
},
|
|
9057
9057
|
setup(e) {
|
|
9058
|
-
return (t, n) => (v(),
|
|
9058
|
+
return (t, n) => (v(), y("div", Sp, [
|
|
9059
9059
|
p("div", Mp, [
|
|
9060
9060
|
p("h2", Lp, L(e.title), 1),
|
|
9061
|
-
t.$slots.actions ? (v(),
|
|
9061
|
+
t.$slots.actions ? (v(), y("div", Ap, [
|
|
9062
9062
|
M(t.$slots, "actions", {}, void 0, !0)
|
|
9063
9063
|
])) : D("", !0)
|
|
9064
9064
|
]),
|
|
9065
|
-
t.$slots.toolbar ? (v(),
|
|
9065
|
+
t.$slots.toolbar ? (v(), y("div", Tp, [
|
|
9066
9066
|
M(t.$slots, "toolbar", {}, void 0, !0)
|
|
9067
9067
|
])) : D("", !0),
|
|
9068
9068
|
p("div", Pp, [
|
|
9069
9069
|
M(t.$slots, "default", {}, void 0, !0)
|
|
9070
9070
|
]),
|
|
9071
|
-
t.$slots.footer ? (v(),
|
|
9071
|
+
t.$slots.footer ? (v(), y("div", Ip, [
|
|
9072
9072
|
M(t.$slots, "footer", {}, void 0, !0)
|
|
9073
9073
|
])) : D("", !0)
|
|
9074
9074
|
]));
|
|
@@ -9079,7 +9079,7 @@ const mp = xe({ name: "ph-arrow-counter-clockwise", render: pp }), Ab = /* @__PU
|
|
|
9079
9079
|
"aria-orientation": "vertical"
|
|
9080
9080
|
};
|
|
9081
9081
|
function Vp(e, t) {
|
|
9082
|
-
return v(),
|
|
9082
|
+
return v(), y("div", Rp);
|
|
9083
9083
|
}
|
|
9084
9084
|
const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b"]]), Op = ["aria-label"], Ep = ["disabled", "title", "aria-label", "aria-current", "onClick"], Np = { class: "navigation-segmented-control__option__label" }, Hp = /* @__PURE__ */ S({
|
|
9085
9085
|
__name: "NavigationSegmentedControl",
|
|
@@ -9091,16 +9091,16 @@ const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b
|
|
|
9091
9091
|
},
|
|
9092
9092
|
emits: ["select"],
|
|
9093
9093
|
setup(e, { emit: t }) {
|
|
9094
|
-
const n = e, o = t, a =
|
|
9094
|
+
const n = e, o = t, a = g(() => `navigation-segmented-control--${n.size}`);
|
|
9095
9095
|
function l(r) {
|
|
9096
9096
|
r.disabled || o("select", r.key);
|
|
9097
9097
|
}
|
|
9098
|
-
return (r, u) => (v(),
|
|
9098
|
+
return (r, u) => (v(), y("nav", {
|
|
9099
9099
|
class: O(["navigation-segmented-control", [f(a), { "navigation-segmented-control--icon-only": e.iconOnly }]]),
|
|
9100
9100
|
"aria-label": e.ariaLabel
|
|
9101
9101
|
}, [
|
|
9102
9102
|
M(r.$slots, "default", {}, void 0, !0),
|
|
9103
|
-
(v(!0),
|
|
9103
|
+
(v(!0), y(le, null, we(e.items, (s) => (v(), y("button", {
|
|
9104
9104
|
key: s.key,
|
|
9105
9105
|
class: O(["navigation-segmented-control__option", {
|
|
9106
9106
|
"navigation-segmented-control__option--active": s.active,
|
|
@@ -9182,17 +9182,17 @@ const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b
|
|
|
9182
9182
|
}
|
|
9183
9183
|
if (s.preventDefault(), m === null)
|
|
9184
9184
|
return;
|
|
9185
|
-
const
|
|
9186
|
-
if (!
|
|
9185
|
+
const w = s.currentTarget.closest('[role="tablist"]');
|
|
9186
|
+
if (!w)
|
|
9187
9187
|
return;
|
|
9188
|
-
(k =
|
|
9188
|
+
(k = w.querySelectorAll('[role="tab"]')[m]) == null || k.focus();
|
|
9189
9189
|
}
|
|
9190
|
-
return (s, i) => (v(),
|
|
9190
|
+
return (s, i) => (v(), y("div", {
|
|
9191
9191
|
class: O(["navigation-stepper-tabs", `navigation-stepper-tabs--${e.layout}`]),
|
|
9192
9192
|
role: "tablist",
|
|
9193
9193
|
"aria-label": "Progress"
|
|
9194
9194
|
}, [
|
|
9195
|
-
(v(!0),
|
|
9195
|
+
(v(!0), y(le, null, we(e.steps, (d, c) => (v(), y(le, {
|
|
9196
9196
|
key: d.key ?? c
|
|
9197
9197
|
}, [
|
|
9198
9198
|
p("button", {
|
|
@@ -9210,12 +9210,12 @@ const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b
|
|
|
9210
9210
|
onClick: (m) => r(c),
|
|
9211
9211
|
onKeydown: (m) => u(m, c)
|
|
9212
9212
|
}, [
|
|
9213
|
-
l(d, c) ? (v(),
|
|
9213
|
+
l(d, c) ? (v(), y("span", Yp, [
|
|
9214
9214
|
(v(), R(Be(l(d, c))))
|
|
9215
9215
|
])) : D("", !0),
|
|
9216
9216
|
p("span", Wp, L(d.label), 1)
|
|
9217
9217
|
], 42, Up),
|
|
9218
|
-
e.layout === "inline" && e.separator && c < e.steps.length - 1 ? (v(),
|
|
9218
|
+
e.layout === "inline" && e.separator && c < e.steps.length - 1 ? (v(), y("span", qp, "›")) : D("", !0)
|
|
9219
9219
|
], 64))), 128))
|
|
9220
9220
|
], 2));
|
|
9221
9221
|
}
|
|
@@ -9231,9 +9231,9 @@ const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b
|
|
|
9231
9231
|
}),
|
|
9232
9232
|
emits: ["update:modelValue"],
|
|
9233
9233
|
setup(e) {
|
|
9234
|
-
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ya), a =
|
|
9234
|
+
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ya), a = g(
|
|
9235
9235
|
() => o.value.length > 0 ? o.value : n.options
|
|
9236
|
-
), l =
|
|
9236
|
+
), l = g(
|
|
9237
9237
|
() => a.value.map((u) => ({
|
|
9238
9238
|
key: u.value,
|
|
9239
9239
|
text: u.text,
|
|
@@ -9283,7 +9283,7 @@ const Fb = /* @__PURE__ */ z(Dp, [["render", Vp], ["__scopeId", "data-v-0ffa8b6b
|
|
|
9283
9283
|
height: "1.2em"
|
|
9284
9284
|
};
|
|
9285
9285
|
function Xp(e, t) {
|
|
9286
|
-
return v(),
|
|
9286
|
+
return v(), y("svg", Gp, [...t[0] || (t[0] = [
|
|
9287
9287
|
p("path", {
|
|
9288
9288
|
fill: "currentColor",
|
|
9289
9289
|
d: "m229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72"
|
|
@@ -9305,7 +9305,7 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9305
9305
|
},
|
|
9306
9306
|
emits: ["click"],
|
|
9307
9307
|
setup(e) {
|
|
9308
|
-
return (t, n) => (v(),
|
|
9308
|
+
return (t, n) => (v(), y("button", {
|
|
9309
9309
|
type: "button",
|
|
9310
9310
|
class: O(["navigation-command-bar", { "navigation-command-bar--collapsed": e.collapsed }]),
|
|
9311
9311
|
"aria-label": e.placeholder,
|
|
@@ -9315,8 +9315,8 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9315
9315
|
class: "navigation-command-bar__icon",
|
|
9316
9316
|
"aria-hidden": "true"
|
|
9317
9317
|
}),
|
|
9318
|
-
e.collapsed ? D("", !0) : (v(),
|
|
9319
|
-
e.shortcutLabel && !e.collapsed ? (v(),
|
|
9318
|
+
e.collapsed ? D("", !0) : (v(), y("span", Zp, L(e.placeholder), 1)),
|
|
9319
|
+
e.shortcutLabel && !e.collapsed ? (v(), y("span", Qp, L(e.shortcutLabel), 1)) : D("", !0)
|
|
9320
9320
|
], 10, Kp));
|
|
9321
9321
|
}
|
|
9322
9322
|
}), Ob = /* @__PURE__ */ z(Jp, [["__scopeId", "data-v-e61b62b9"]]), em = {
|
|
@@ -9337,18 +9337,18 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9337
9337
|
}, lm = /* @__PURE__ */ S({
|
|
9338
9338
|
__name: "NavigationDocsBar",
|
|
9339
9339
|
setup(e) {
|
|
9340
|
-
return (t, n) => (v(),
|
|
9341
|
-
t.$slots.brand ? (v(),
|
|
9340
|
+
return (t, n) => (v(), y("header", em, [
|
|
9341
|
+
t.$slots.brand ? (v(), y("div", tm, [
|
|
9342
9342
|
M(t.$slots, "brand", {}, void 0, !0)
|
|
9343
9343
|
])) : D("", !0),
|
|
9344
|
-
t.$slots.actions ? (v(),
|
|
9344
|
+
t.$slots.actions ? (v(), y("div", nm, [
|
|
9345
9345
|
M(t.$slots, "actions", {}, void 0, !0)
|
|
9346
9346
|
])) : D("", !0),
|
|
9347
9347
|
n[0] || (n[0] = p("div", { class: "navigation-docs-bar__spacer" }, null, -1)),
|
|
9348
|
-
t.$slots["cta-primary"] ? (v(),
|
|
9348
|
+
t.$slots["cta-primary"] ? (v(), y("div", om, [
|
|
9349
9349
|
M(t.$slots, "cta-primary", {}, void 0, !0)
|
|
9350
9350
|
])) : D("", !0),
|
|
9351
|
-
t.$slots["cta-secondary"] ? (v(),
|
|
9351
|
+
t.$slots["cta-secondary"] ? (v(), y("div", am, [
|
|
9352
9352
|
M(t.$slots, "cta-secondary", {}, void 0, !0)
|
|
9353
9353
|
])) : D("", !0)
|
|
9354
9354
|
]));
|
|
@@ -9366,7 +9366,7 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9366
9366
|
}),
|
|
9367
9367
|
emits: ["update:modelValue"],
|
|
9368
9368
|
setup(e) {
|
|
9369
|
-
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ua), a =
|
|
9369
|
+
const t = ae(e, "modelValue"), n = e, { entries: o } = an(Ua), a = g(
|
|
9370
9370
|
() => o.value.length > 0 ? o.value : n.items
|
|
9371
9371
|
);
|
|
9372
9372
|
function l(r) {
|
|
@@ -9374,9 +9374,9 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9374
9374
|
}
|
|
9375
9375
|
return (r, u) => {
|
|
9376
9376
|
const s = $t;
|
|
9377
|
-
return v(),
|
|
9377
|
+
return v(), y("nav", rm, [
|
|
9378
9378
|
M(r.$slots, "default", {}, void 0, !0),
|
|
9379
|
-
(v(!0),
|
|
9379
|
+
(v(!0), y(le, null, we(f(a), (i) => (v(), R(s, {
|
|
9380
9380
|
key: i.value,
|
|
9381
9381
|
"icon-left": i.icon,
|
|
9382
9382
|
label: i.tooltip,
|
|
@@ -9390,7 +9390,7 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9390
9390
|
onClick: (d) => t.value = i.value
|
|
9391
9391
|
}, null, 8, ["icon-left", "label", "class", "aria-pressed", "onClick"]))), 128)),
|
|
9392
9392
|
u[0] || (u[0] = p("div", { class: "navigation-icon-rail__spacer" }, null, -1)),
|
|
9393
|
-
r.$slots.footer ? (v(),
|
|
9393
|
+
r.$slots.footer ? (v(), y("div", im, [
|
|
9394
9394
|
M(r.$slots, "footer", {}, void 0, !0)
|
|
9395
9395
|
])) : D("", !0)
|
|
9396
9396
|
]);
|
|
@@ -9417,7 +9417,7 @@ const Ql = xe({ name: "ph-magnifying-glass", render: Xp }), Kp = ["aria-label"],
|
|
|
9417
9417
|
height: "1.2em"
|
|
9418
9418
|
};
|
|
9419
9419
|
function cm(e, t) {
|
|
9420
|
-
return v(),
|
|
9420
|
+
return v(), y("svg", um, [...t[0] || (t[0] = [
|
|
9421
9421
|
p("path", {
|
|
9422
9422
|
fill: "currentColor",
|
|
9423
9423
|
d: "M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8"
|
|
@@ -9484,22 +9484,22 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9484
9484
|
}, wm = /* @__PURE__ */ S({
|
|
9485
9485
|
__name: "NavigationMarketingBar",
|
|
9486
9486
|
setup(e) {
|
|
9487
|
-
return (t, n) => (v(),
|
|
9487
|
+
return (t, n) => (v(), y("header", pm, [
|
|
9488
9488
|
p("div", mm, [
|
|
9489
9489
|
p("div", hm, [
|
|
9490
9490
|
M(t.$slots, "brand")
|
|
9491
9491
|
]),
|
|
9492
|
-
t.$slots.menu ? (v(),
|
|
9492
|
+
t.$slots.menu ? (v(), y("nav", bm, [
|
|
9493
9493
|
M(t.$slots, "menu")
|
|
9494
9494
|
])) : D("", !0),
|
|
9495
9495
|
n[0] || (n[0] = p("div", { class: "navigation-marketing-bar__spacer" }, null, -1)),
|
|
9496
|
-
t.$slots.actions ? (v(),
|
|
9496
|
+
t.$slots.actions ? (v(), y("div", gm, [
|
|
9497
9497
|
M(t.$slots, "actions")
|
|
9498
9498
|
])) : D("", !0),
|
|
9499
|
-
t.$slots["cta-secondary"] ? (v(),
|
|
9499
|
+
t.$slots["cta-secondary"] ? (v(), y("div", ym, [
|
|
9500
9500
|
M(t.$slots, "cta-secondary")
|
|
9501
9501
|
])) : D("", !0),
|
|
9502
|
-
t.$slots["cta-primary"] ? (v(),
|
|
9502
|
+
t.$slots["cta-primary"] ? (v(), y("div", _m, [
|
|
9503
9503
|
M(t.$slots, "cta-primary")
|
|
9504
9504
|
])) : D("", !0)
|
|
9505
9505
|
])
|
|
@@ -9522,13 +9522,13 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9522
9522
|
},
|
|
9523
9523
|
emits: ["click"],
|
|
9524
9524
|
setup(e) {
|
|
9525
|
-
const t = e, n =
|
|
9525
|
+
const t = e, n = g(() => ({
|
|
9526
9526
|
"navigation-search-pill": !0,
|
|
9527
9527
|
"navigation-search-pill--compact": t.compact
|
|
9528
9528
|
}));
|
|
9529
9529
|
return (o, a) => {
|
|
9530
9530
|
const l = Ql;
|
|
9531
|
-
return v(),
|
|
9531
|
+
return v(), y("button", {
|
|
9532
9532
|
type: "button",
|
|
9533
9533
|
class: O(f(n)),
|
|
9534
9534
|
"aria-haspopup": "dialog",
|
|
@@ -9540,8 +9540,8 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9540
9540
|
class: "navigation-search-pill__icon",
|
|
9541
9541
|
"aria-hidden": "true"
|
|
9542
9542
|
}),
|
|
9543
|
-
e.compact ? D("", !0) : (v(),
|
|
9544
|
-
e.compact ? D("", !0) : (v(),
|
|
9543
|
+
e.compact ? D("", !0) : (v(), y("span", xm, L(e.placeholder), 1)),
|
|
9544
|
+
e.compact ? D("", !0) : (v(), y("kbd", $m, L(e.shortcutLabel), 1))
|
|
9545
9545
|
], 10, km);
|
|
9546
9546
|
};
|
|
9547
9547
|
}
|
|
@@ -9553,11 +9553,11 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9553
9553
|
ariaLabel: { default: "Documentation sections" }
|
|
9554
9554
|
},
|
|
9555
9555
|
setup(e) {
|
|
9556
|
-
return (t, n) => (v(),
|
|
9556
|
+
return (t, n) => (v(), y("nav", {
|
|
9557
9557
|
class: "navigation-section-tabs",
|
|
9558
9558
|
"aria-label": e.ariaLabel
|
|
9559
9559
|
}, [
|
|
9560
|
-
(v(!0),
|
|
9560
|
+
(v(!0), y(le, null, we(e.sections, (o) => (v(), y("a", {
|
|
9561
9561
|
key: o.link,
|
|
9562
9562
|
href: o.link,
|
|
9563
9563
|
class: O(["navigation-section-tabs__tab", { "navigation-section-tabs__tab--active": o.link === e.activeLink }]),
|
|
@@ -9577,7 +9577,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9577
9577
|
triggerLabel: { default: "Switch section" }
|
|
9578
9578
|
},
|
|
9579
9579
|
setup(e) {
|
|
9580
|
-
const t = e, n = ue(!1), o = ue(null), a = ue(null), l =
|
|
9580
|
+
const t = e, n = ue(!1), o = ue(null), a = ue(null), l = g(() => {
|
|
9581
9581
|
const s = t.sections.find((i) => i.link === t.activeLink);
|
|
9582
9582
|
return (s == null ? void 0 : s.text) ?? t.triggerLabel;
|
|
9583
9583
|
});
|
|
@@ -9595,7 +9595,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9595
9595
|
return;
|
|
9596
9596
|
const i = s.target;
|
|
9597
9597
|
i && o.value && !o.value.contains(i) && u();
|
|
9598
|
-
}), (s, i) => (v(),
|
|
9598
|
+
}), (s, i) => (v(), y("div", {
|
|
9599
9599
|
ref_key: "root",
|
|
9600
9600
|
ref: o,
|
|
9601
9601
|
class: "navigation-section-dropdown"
|
|
@@ -9610,7 +9610,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9610
9610
|
onClick: r
|
|
9611
9611
|
}, [
|
|
9612
9612
|
p("span", Am, L(l.value), 1),
|
|
9613
|
-
(v(),
|
|
9613
|
+
(v(), y("svg", {
|
|
9614
9614
|
class: O(["navigation-section-dropdown__caret", { "navigation-section-dropdown__caret--open": n.value }]),
|
|
9615
9615
|
width: "12",
|
|
9616
9616
|
height: "12",
|
|
@@ -9627,8 +9627,8 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9627
9627
|
}, null, -1)
|
|
9628
9628
|
])], 2))
|
|
9629
9629
|
], 8, Lm),
|
|
9630
|
-
n.value ? (v(),
|
|
9631
|
-
(v(!0),
|
|
9630
|
+
n.value ? (v(), y("menu", Tm, [
|
|
9631
|
+
(v(!0), y(le, null, we(e.sections, (d) => (v(), y("a", {
|
|
9632
9632
|
key: d.link,
|
|
9633
9633
|
href: d.link,
|
|
9634
9634
|
role: "menuitem",
|
|
@@ -9648,11 +9648,11 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9648
9648
|
ariaLabel: { default: "Sidebar" }
|
|
9649
9649
|
},
|
|
9650
9650
|
setup(e) {
|
|
9651
|
-
return (t, n) => (v(),
|
|
9651
|
+
return (t, n) => (v(), y("nav", {
|
|
9652
9652
|
class: "navigation-sidebar",
|
|
9653
9653
|
"aria-label": e.ariaLabel
|
|
9654
9654
|
}, [
|
|
9655
|
-
t.$slots.header ? (v(),
|
|
9655
|
+
t.$slots.header ? (v(), y("div", Dm, [
|
|
9656
9656
|
M(t.$slots, "header", {}, void 0, !0)
|
|
9657
9657
|
])) : D("", !0),
|
|
9658
9658
|
p("div", Rm, [
|
|
@@ -9669,8 +9669,8 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9669
9669
|
eyebrow: {}
|
|
9670
9670
|
},
|
|
9671
9671
|
setup(e) {
|
|
9672
|
-
return (t, n) => (v(),
|
|
9673
|
-
e.eyebrow ? (v(),
|
|
9672
|
+
return (t, n) => (v(), y("div", Om, [
|
|
9673
|
+
e.eyebrow ? (v(), y("div", Em, L(e.eyebrow), 1)) : D("", !0),
|
|
9674
9674
|
p("div", Nm, [
|
|
9675
9675
|
M(t.$slots, "default", {}, void 0, !0)
|
|
9676
9676
|
])
|
|
@@ -9692,7 +9692,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9692
9692
|
count: { default: void 0 }
|
|
9693
9693
|
},
|
|
9694
9694
|
setup(e) {
|
|
9695
|
-
const t = e, n =
|
|
9695
|
+
const t = e, n = g(() => t.href !== void 0);
|
|
9696
9696
|
if (t.to === void 0 && t.href === void 0)
|
|
9697
9697
|
throw new Error("NavigationSidebarItem requires either `to` or `href`.");
|
|
9698
9698
|
if (t.to !== void 0 && t.href !== void 0)
|
|
@@ -9705,7 +9705,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9705
9705
|
}
|
|
9706
9706
|
return (a, l) => {
|
|
9707
9707
|
const r = po("router-link");
|
|
9708
|
-
return f(n) ? (v(),
|
|
9708
|
+
return f(n) ? (v(), y("a", {
|
|
9709
9709
|
key: 0,
|
|
9710
9710
|
href: e.href,
|
|
9711
9711
|
class: O(o(!1)),
|
|
@@ -9735,7 +9735,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9735
9735
|
M(a.$slots, "icon", {}, void 0, !0)
|
|
9736
9736
|
]),
|
|
9737
9737
|
p("span", Gm, L(e.label), 1),
|
|
9738
|
-
e.count !== void 0 ? (v(),
|
|
9738
|
+
e.count !== void 0 ? (v(), y("span", Xm, L(e.count), 1)) : D("", !0)
|
|
9739
9739
|
], 10, qm)
|
|
9740
9740
|
]),
|
|
9741
9741
|
_: 3
|
|
@@ -9766,7 +9766,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9766
9766
|
},
|
|
9767
9767
|
emits: ["click"],
|
|
9768
9768
|
setup(e) {
|
|
9769
|
-
const t = e, n =
|
|
9769
|
+
const t = e, n = g(() => t.name.trim().charAt(0).toUpperCase());
|
|
9770
9770
|
return (o, a) => {
|
|
9771
9771
|
const l = po("router-link");
|
|
9772
9772
|
return e.to ? (v(), R(l, {
|
|
@@ -9781,30 +9781,30 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9781
9781
|
"aria-label": e.name,
|
|
9782
9782
|
onClick: r
|
|
9783
9783
|
}, [
|
|
9784
|
-
e.logoSrc ? (v(),
|
|
9784
|
+
e.logoSrc ? (v(), y("img", {
|
|
9785
9785
|
key: 0,
|
|
9786
9786
|
src: e.logoSrc,
|
|
9787
9787
|
alt: e.name,
|
|
9788
9788
|
class: "navigation-workspace-switcher__logo"
|
|
9789
|
-
}, null, 8, Qm)) : (v(),
|
|
9790
|
-
e.hideName ? D("", !0) : (v(),
|
|
9789
|
+
}, null, 8, Qm)) : (v(), y("span", Jm, L(n.value), 1)),
|
|
9790
|
+
e.hideName ? D("", !0) : (v(), y("span", e0, L(e.name), 1))
|
|
9791
9791
|
], 8, Zm)
|
|
9792
9792
|
]),
|
|
9793
9793
|
_: 1
|
|
9794
|
-
}, 8, ["to"])) : (v(),
|
|
9794
|
+
}, 8, ["to"])) : (v(), y("button", {
|
|
9795
9795
|
key: 1,
|
|
9796
9796
|
type: "button",
|
|
9797
9797
|
class: "navigation-workspace-switcher",
|
|
9798
9798
|
"aria-label": e.name,
|
|
9799
9799
|
onClick: a[0] || (a[0] = (r) => o.$emit("click"))
|
|
9800
9800
|
}, [
|
|
9801
|
-
e.logoSrc ? (v(),
|
|
9801
|
+
e.logoSrc ? (v(), y("img", {
|
|
9802
9802
|
key: 0,
|
|
9803
9803
|
src: e.logoSrc,
|
|
9804
9804
|
alt: e.name,
|
|
9805
9805
|
class: "navigation-workspace-switcher__logo"
|
|
9806
|
-
}, null, 8, n0)) : (v(),
|
|
9807
|
-
e.hideName ? D("", !0) : (v(),
|
|
9806
|
+
}, null, 8, n0)) : (v(), y("span", o0, L(n.value), 1)),
|
|
9807
|
+
e.hideName ? D("", !0) : (v(), y("span", a0, L(e.name), 1))
|
|
9808
9808
|
], 8, t0));
|
|
9809
9809
|
};
|
|
9810
9810
|
}
|
|
@@ -9816,10 +9816,10 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9816
9816
|
},
|
|
9817
9817
|
emits: ["click"],
|
|
9818
9818
|
setup(e) {
|
|
9819
|
-
const t = e, n =
|
|
9819
|
+
const t = e, n = g(() => ({
|
|
9820
9820
|
"list-item-row--active": t.active
|
|
9821
9821
|
}));
|
|
9822
|
-
return (o, a) => (v(),
|
|
9822
|
+
return (o, a) => (v(), y("div", {
|
|
9823
9823
|
class: O(["list-item-row", f(n)]),
|
|
9824
9824
|
onClick: a[0] || (a[0] = (l) => o.$emit("click", l))
|
|
9825
9825
|
}, [
|
|
@@ -9834,7 +9834,7 @@ const Jl = xe({ name: "ph-arrow-square-out", render: cm }), dm = ["href", "aria-
|
|
|
9834
9834
|
height: "1.2em"
|
|
9835
9835
|
};
|
|
9836
9836
|
function c0(e, t) {
|
|
9837
|
-
return v(),
|
|
9837
|
+
return v(), y("svg", u0, [...t[0] || (t[0] = [
|
|
9838
9838
|
p("path", {
|
|
9839
9839
|
fill: "currentColor",
|
|
9840
9840
|
d: "M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16M96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0m48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0"
|
|
@@ -9850,7 +9850,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
9850
9850
|
setup(e) {
|
|
9851
9851
|
return (t, n) => {
|
|
9852
9852
|
const o = yn, a = On;
|
|
9853
|
-
return v(),
|
|
9853
|
+
return v(), y("div", f0, [
|
|
9854
9854
|
e.actions.includes("duplicate") ? (v(), R(o, {
|
|
9855
9855
|
key: 0,
|
|
9856
9856
|
variant: "link",
|
|
@@ -9910,7 +9910,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
9910
9910
|
}
|
|
9911
9911
|
return (s, i) => {
|
|
9912
9912
|
const d = s0;
|
|
9913
|
-
return v(),
|
|
9913
|
+
return v(), y("div", p0, [
|
|
9914
9914
|
p("div", m0, [
|
|
9915
9915
|
Y(f(Hn), {
|
|
9916
9916
|
variant: "outline-secondary",
|
|
@@ -9946,11 +9946,11 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
9946
9946
|
p("div", {
|
|
9947
9947
|
style: Ce({ maxHeight: e.maxHeight, overflowY: "auto" })
|
|
9948
9948
|
}, [
|
|
9949
|
-
(v(!0),
|
|
9949
|
+
(v(!0), y(le, null, we(e.items, (c, m) => (v(), R(d, {
|
|
9950
9950
|
key: c,
|
|
9951
9951
|
label: c,
|
|
9952
9952
|
active: t.value.includes(c),
|
|
9953
|
-
onClick: (
|
|
9953
|
+
onClick: (w) => o(c, m, w)
|
|
9954
9954
|
}, vt({ _: 2 }, [
|
|
9955
9955
|
s.$slots["item-leading"] ? {
|
|
9956
9956
|
name: "leading",
|
|
@@ -9991,7 +9991,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
9991
9991
|
const t = ae(e, "modelValue");
|
|
9992
9992
|
return (n, o) => {
|
|
9993
9993
|
const a = Ml;
|
|
9994
|
-
return v(),
|
|
9994
|
+
return v(), y("div", h0, [
|
|
9995
9995
|
Y(Io, { color: e.color }, null, 8, ["color"]),
|
|
9996
9996
|
p("span", b0, L(e.name), 1),
|
|
9997
9997
|
Y(a, {
|
|
@@ -10024,7 +10024,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10024
10024
|
},
|
|
10025
10025
|
emits: ["click"],
|
|
10026
10026
|
setup(e, { emit: t }) {
|
|
10027
|
-
const n = e, o = t, a =
|
|
10027
|
+
const n = e, o = t, a = g(() => ({
|
|
10028
10028
|
"gallery-card--selected": n.selected,
|
|
10029
10029
|
"gallery-card--row": n.layout === "row",
|
|
10030
10030
|
"gallery-card--loading": n.loading
|
|
@@ -10032,7 +10032,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10032
10032
|
function l() {
|
|
10033
10033
|
n.loading || o("click");
|
|
10034
10034
|
}
|
|
10035
|
-
return (r, u) => (v(),
|
|
10035
|
+
return (r, u) => (v(), y("div", {
|
|
10036
10036
|
class: O(["gallery-card", f(a)]),
|
|
10037
10037
|
role: e.loading ? void 0 : "button",
|
|
10038
10038
|
tabindex: e.loading ? -1 : 0,
|
|
@@ -10053,13 +10053,13 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10053
10053
|
width: "100%",
|
|
10054
10054
|
height: "100%",
|
|
10055
10055
|
radius: "0"
|
|
10056
|
-
})) : e.thumbSrc ? (v(),
|
|
10056
|
+
})) : e.thumbSrc ? (v(), y("img", {
|
|
10057
10057
|
key: 1,
|
|
10058
10058
|
src: e.thumbSrc,
|
|
10059
10059
|
alt: "",
|
|
10060
10060
|
class: "gallery-card__thumb__img"
|
|
10061
10061
|
}, null, 8, w0)) : D("", !0),
|
|
10062
|
-
r.$slots.status && !e.loading ? (v(),
|
|
10062
|
+
r.$slots.status && !e.loading ? (v(), y("div", {
|
|
10063
10063
|
key: 2,
|
|
10064
10064
|
class: "gallery-card__thumb__status",
|
|
10065
10065
|
onClick: u[0] || (u[0] = rt(() => {
|
|
@@ -10067,7 +10067,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10067
10067
|
}, [
|
|
10068
10068
|
M(r.$slots, "status", {}, void 0, !0)
|
|
10069
10069
|
])) : D("", !0),
|
|
10070
|
-
r.$slots.actions && !e.loading ? (v(),
|
|
10070
|
+
r.$slots.actions && !e.loading ? (v(), y("div", {
|
|
10071
10071
|
key: 3,
|
|
10072
10072
|
class: "gallery-card__thumb__actions",
|
|
10073
10073
|
onClick: u[1] || (u[1] = rt(() => {
|
|
@@ -10077,7 +10077,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10077
10077
|
])) : D("", !0)
|
|
10078
10078
|
], 8, _0),
|
|
10079
10079
|
p("div", k0, [
|
|
10080
|
-
e.loading ? (v(),
|
|
10080
|
+
e.loading ? (v(), y(le, { key: 0 }, [
|
|
10081
10081
|
Y(bn, {
|
|
10082
10082
|
class: "gallery-card__skeleton-line",
|
|
10083
10083
|
width: "70%",
|
|
@@ -10094,12 +10094,12 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10094
10094
|
height: "0.7rem"
|
|
10095
10095
|
})
|
|
10096
10096
|
])
|
|
10097
|
-
], 64)) : (v(),
|
|
10097
|
+
], 64)) : (v(), y(le, { key: 1 }, [
|
|
10098
10098
|
p("div", {
|
|
10099
10099
|
class: O(["gallery-card__meta__title", { "bc-display": e.serifTitle }])
|
|
10100
10100
|
}, L(e.title), 3),
|
|
10101
|
-
e.subtitle ? (v(),
|
|
10102
|
-
r.$slots.footer ? (v(),
|
|
10101
|
+
e.subtitle ? (v(), y("div", $0, L(e.subtitle), 1)) : D("", !0),
|
|
10102
|
+
r.$slots.footer ? (v(), y("div", C0, [
|
|
10103
10103
|
M(r.$slots, "footer", {}, void 0, !0)
|
|
10104
10104
|
])) : D("", !0)
|
|
10105
10105
|
], 64))
|
|
@@ -10112,10 +10112,10 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10112
10112
|
layout: { default: "grid" }
|
|
10113
10113
|
},
|
|
10114
10114
|
setup(e) {
|
|
10115
|
-
const t = e, n =
|
|
10115
|
+
const t = e, n = g(() => ({
|
|
10116
10116
|
"gallery-grid--row": t.layout === "row"
|
|
10117
10117
|
}));
|
|
10118
|
-
return (o, a) => (v(),
|
|
10118
|
+
return (o, a) => (v(), y("div", {
|
|
10119
10119
|
class: O(["gallery-grid", f(n)])
|
|
10120
10120
|
}, [
|
|
10121
10121
|
M(o.$slots, "default", {}, void 0, !0)
|
|
@@ -10135,12 +10135,12 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10135
10135
|
},
|
|
10136
10136
|
emits: ["select", "remove"],
|
|
10137
10137
|
setup(e) {
|
|
10138
|
-
return (t, n) => (v(),
|
|
10138
|
+
return (t, n) => (v(), y("button", {
|
|
10139
10139
|
class: O(["scene-timeline-item", { "scene-timeline-item--active": e.active }]),
|
|
10140
10140
|
type: "button",
|
|
10141
10141
|
onClick: n[1] || (n[1] = (o) => t.$emit("select"))
|
|
10142
10142
|
}, [
|
|
10143
|
-
e.removable ? (v(),
|
|
10143
|
+
e.removable ? (v(), y("span", {
|
|
10144
10144
|
key: 0,
|
|
10145
10145
|
class: "scene-timeline-item__remove",
|
|
10146
10146
|
role: "button",
|
|
@@ -10152,7 +10152,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10152
10152
|
class: "scene-timeline-item__preview",
|
|
10153
10153
|
innerHTML: e.thumbnail
|
|
10154
10154
|
}, null, 8, L0),
|
|
10155
|
-
e.name ? (v(),
|
|
10155
|
+
e.name ? (v(), y("span", A0, L(e.name), 1)) : D("", !0)
|
|
10156
10156
|
], 2));
|
|
10157
10157
|
}
|
|
10158
10158
|
}), P0 = /* @__PURE__ */ z(T0, [["__scopeId", "data-v-4e7644c2"]]), I0 = {
|
|
@@ -10161,7 +10161,7 @@ const d0 = xe({ name: "ph-trash", render: c0 }), f0 = { class: "list-item-action
|
|
|
10161
10161
|
height: "1.2em"
|
|
10162
10162
|
};
|
|
10163
10163
|
function F0(e, t) {
|
|
10164
|
-
return v(),
|
|
10164
|
+
return v(), y("svg", I0, [...t[0] || (t[0] = [
|
|
10165
10165
|
p("path", {
|
|
10166
10166
|
fill: "currentColor",
|
|
10167
10167
|
d: "M240 128a15.74 15.74 0 0 1-7.6 13.51L88.32 229.65a16 16 0 0 1-16.2.3A15.86 15.86 0 0 1 64 216.13V39.87a15.86 15.86 0 0 1 8.12-13.82a16 16 0 0 1 16.2.3l144.08 88.14A15.74 15.74 0 0 1 240 128"
|
|
@@ -10174,7 +10174,7 @@ const D0 = xe({ name: "ph-play-fill", render: F0 }), R0 = {
|
|
|
10174
10174
|
height: "1.2em"
|
|
10175
10175
|
};
|
|
10176
10176
|
function V0(e, t) {
|
|
10177
|
-
return v(),
|
|
10177
|
+
return v(), y("svg", R0, [...t[0] || (t[0] = [
|
|
10178
10178
|
p("path", {
|
|
10179
10179
|
fill: "currentColor",
|
|
10180
10180
|
d: "M216 48v160a16 16 0 0 1-16 16h-40a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h40a16 16 0 0 1 16 16M96 32H56a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h40a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16"
|
|
@@ -10187,7 +10187,7 @@ const O0 = xe({ name: "ph-pause-fill", render: V0 }), E0 = {
|
|
|
10187
10187
|
height: "1.2em"
|
|
10188
10188
|
};
|
|
10189
10189
|
function N0(e, t) {
|
|
10190
|
-
return v(),
|
|
10190
|
+
return v(), y("svg", E0, [...t[0] || (t[0] = [
|
|
10191
10191
|
p("path", {
|
|
10192
10192
|
fill: "currentColor",
|
|
10193
10193
|
d: "M165.66 202.34a8 8 0 0 1-11.32 11.32l-80-80a8 8 0 0 1 0-11.32l80-80a8 8 0 0 1 11.32 11.32L91.31 128Z"
|
|
@@ -10200,7 +10200,7 @@ const H0 = xe({ name: "ph-caret-left", render: N0 }), z0 = {
|
|
|
10200
10200
|
height: "1.2em"
|
|
10201
10201
|
};
|
|
10202
10202
|
function U0(e, t) {
|
|
10203
|
-
return v(),
|
|
10203
|
+
return v(), y("svg", z0, [...t[0] || (t[0] = [
|
|
10204
10204
|
p("path", {
|
|
10205
10205
|
fill: "currentColor",
|
|
10206
10206
|
d: "m181.66 133.66l-80 80a8 8 0 0 1-11.32-11.32L164.69 128L90.34 53.66a8 8 0 0 1 11.32-11.32l80 80a8 8 0 0 1 0 11.32"
|
|
@@ -10222,10 +10222,10 @@ const Y0 = xe({ name: "ph-caret-right", render: U0 }), W0 = { class: "scene-time
|
|
|
10222
10222
|
}),
|
|
10223
10223
|
emits: /* @__PURE__ */ Q(["play", "pause"], ["update:activeIndex"]),
|
|
10224
10224
|
setup(e) {
|
|
10225
|
-
const t = ae(e, "activeIndex"), n = e, o =
|
|
10225
|
+
const t = ae(e, "activeIndex"), n = e, o = g(() => n.total === 0), a = g(() => t.value < 0 ? 1 : t.value + 1), l = g(() => n.total === 0 ? 0 : t.value <= 0 ? n.total - 1 : t.value - 1), r = g(() => n.total === 0 || t.value >= n.total - 1 ? 0 : t.value + 1);
|
|
10226
10226
|
return (u, s) => {
|
|
10227
10227
|
const i = On;
|
|
10228
|
-
return v(),
|
|
10228
|
+
return v(), y("div", W0, [
|
|
10229
10229
|
p("button", {
|
|
10230
10230
|
class: "scene-timeline-controls__nav-btn",
|
|
10231
10231
|
type: "button",
|
|
@@ -10262,7 +10262,7 @@ const Y0 = xe({ name: "ph-caret-right", render: U0 }), W0 = { class: "scene-time
|
|
|
10262
10262
|
size: "1em"
|
|
10263
10263
|
}, null, 8, ["name"])
|
|
10264
10264
|
], 8, G0),
|
|
10265
|
-
!f(o) && !e.hideCounter ? (v(),
|
|
10265
|
+
!f(o) && !e.hideCounter ? (v(), y("span", X0, L(f(a)) + " / " + L(e.total), 1)) : D("", !0)
|
|
10266
10266
|
]);
|
|
10267
10267
|
};
|
|
10268
10268
|
}
|
|
@@ -10281,7 +10281,7 @@ const Y0 = xe({ name: "ph-caret-right", render: U0 }), W0 = { class: "scene-time
|
|
|
10281
10281
|
const t = ae(e, "activeIndex");
|
|
10282
10282
|
return (n, o) => {
|
|
10283
10283
|
const a = Ho, l = P0, r = Vl;
|
|
10284
|
-
return v(),
|
|
10284
|
+
return v(), y("div", {
|
|
10285
10285
|
class: O(["scene-timeline", { "scene-timeline--floating": e.floating }])
|
|
10286
10286
|
}, [
|
|
10287
10287
|
Y(a, {
|
|
@@ -10293,7 +10293,7 @@ const Y0 = xe({ name: "ph-caret-right", render: U0 }), W0 = { class: "scene-time
|
|
|
10293
10293
|
onPause: o[2] || (o[2] = (u) => n.$emit("pause"))
|
|
10294
10294
|
}, null, 8, ["active-index", "total", "playing"]),
|
|
10295
10295
|
p("div", Z0, [
|
|
10296
|
-
(v(!0),
|
|
10296
|
+
(v(!0), y(le, null, we(e.scenes, (u) => (v(), R(l, {
|
|
10297
10297
|
key: u.index,
|
|
10298
10298
|
name: u.name,
|
|
10299
10299
|
index: u.index,
|
|
@@ -10318,7 +10318,7 @@ const Y0 = xe({ name: "ph-caret-right", render: U0 }), W0 = { class: "scene-time
|
|
|
10318
10318
|
height: "1.2em"
|
|
10319
10319
|
};
|
|
10320
10320
|
function th(e, t) {
|
|
10321
|
-
return v(),
|
|
10321
|
+
return v(), y("svg", eh, [...t[0] || (t[0] = [
|
|
10322
10322
|
p("path", {
|
|
10323
10323
|
fill: "currentColor",
|
|
10324
10324
|
d: "M213.66 165.66a8 8 0 0 1-11.32 0L128 91.31l-74.34 74.35a8 8 0 0 1-11.32-11.32l80-80a8 8 0 0 1 11.32 0l80 80a8 8 0 0 1 0 11.32"
|
|
@@ -10337,11 +10337,11 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10337
10337
|
}),
|
|
10338
10338
|
emits: /* @__PURE__ */ Q(["play", "pause", "expand"], ["update:activeIndex"]),
|
|
10339
10339
|
setup(e) {
|
|
10340
|
-
const t = ae(e, "activeIndex"), n = e, o =
|
|
10340
|
+
const t = ae(e, "activeIndex"), n = e, o = g(() => t.value < 0 ? null : n.scenes.find((u) => u.index === t.value) ?? null), a = g(() => {
|
|
10341
10341
|
var u;
|
|
10342
10342
|
return ((u = o.value) == null ? void 0 : u.name) || " ";
|
|
10343
|
-
}), l =
|
|
10344
|
-
return (u, s) => (v(),
|
|
10343
|
+
}), l = g(() => n.scenes.length), r = g(() => t.value < 0 || l.value === 0 ? 1 : Math.max(1, Math.min(l.value, t.value + 1)));
|
|
10344
|
+
return (u, s) => (v(), y("div", oh, [
|
|
10345
10345
|
Y(Ho, {
|
|
10346
10346
|
"active-index": t.value,
|
|
10347
10347
|
"onUpdate:activeIndex": s[0] || (s[0] = (i) => t.value = i),
|
|
@@ -10391,7 +10391,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10391
10391
|
},
|
|
10392
10392
|
emits: ["select", "remove"],
|
|
10393
10393
|
setup(e) {
|
|
10394
|
-
return (t, n) => (v(),
|
|
10394
|
+
return (t, n) => (v(), y("li", {
|
|
10395
10395
|
class: O(["scene-list-item-row", { "scene-list-item-row--active": e.active }])
|
|
10396
10396
|
}, [
|
|
10397
10397
|
p("button", {
|
|
@@ -10400,18 +10400,18 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10400
10400
|
"aria-current": e.active ? "true" : void 0,
|
|
10401
10401
|
onClick: n[0] || (n[0] = (o) => t.$emit("select"))
|
|
10402
10402
|
}, [
|
|
10403
|
-
e.thumbnail ? (v(),
|
|
10403
|
+
e.thumbnail ? (v(), y("span", {
|
|
10404
10404
|
key: 0,
|
|
10405
10405
|
class: "scene-list-item__thumb",
|
|
10406
10406
|
innerHTML: e.thumbnail
|
|
10407
|
-
}, null, 8, sh)) : (v(),
|
|
10407
|
+
}, null, 8, sh)) : (v(), y("span", uh)),
|
|
10408
10408
|
p("span", ch, [
|
|
10409
10409
|
p("span", dh, "SCENE " + L(e.index), 1),
|
|
10410
|
-
e.name ? (v(),
|
|
10411
|
-
e.hint ? (v(),
|
|
10410
|
+
e.name ? (v(), y("span", fh, L(e.name), 1)) : D("", !0),
|
|
10411
|
+
e.hint ? (v(), y("span", vh, L(e.hint), 1)) : D("", !0)
|
|
10412
10412
|
])
|
|
10413
10413
|
], 10, ih),
|
|
10414
|
-
e.removable ? (v(),
|
|
10414
|
+
e.removable ? (v(), y("button", {
|
|
10415
10415
|
key: 0,
|
|
10416
10416
|
type: "button",
|
|
10417
10417
|
class: "scene-list-item__remove",
|
|
@@ -10443,7 +10443,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10443
10443
|
function l(r) {
|
|
10444
10444
|
o("remove", r);
|
|
10445
10445
|
}
|
|
10446
|
-
return (r, u) => (v(),
|
|
10446
|
+
return (r, u) => (v(), y("div", hh, [
|
|
10447
10447
|
Y(Ho, {
|
|
10448
10448
|
"active-index": n.value,
|
|
10449
10449
|
"onUpdate:activeIndex": u[0] || (u[0] = (s) => n.value = s),
|
|
@@ -10453,7 +10453,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10453
10453
|
onPause: u[2] || (u[2] = (s) => r.$emit("pause"))
|
|
10454
10454
|
}, null, 8, ["active-index", "total", "playing"]),
|
|
10455
10455
|
p("ul", bh, [
|
|
10456
|
-
(v(!0),
|
|
10456
|
+
(v(!0), y(le, null, we(e.scenes, (s) => (v(), R(mh, {
|
|
10457
10457
|
key: s.index,
|
|
10458
10458
|
index: s.index,
|
|
10459
10459
|
name: s.name,
|
|
@@ -10500,14 +10500,14 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10500
10500
|
emits: /* @__PURE__ */ Q(["play", "pause"], ["update:current"]),
|
|
10501
10501
|
setup(e) {
|
|
10502
10502
|
const t = ae(e, "current");
|
|
10503
|
-
return (n, o) => (v(),
|
|
10503
|
+
return (n, o) => (v(), y("div", yh, [
|
|
10504
10504
|
p("button", {
|
|
10505
10505
|
type: "button",
|
|
10506
10506
|
class: "bc-scene-player__play-btn",
|
|
10507
10507
|
"aria-label": e.playing ? "Pause" : "Play",
|
|
10508
10508
|
onClick: o[0] || (o[0] = (a) => e.playing ? n.$emit("pause") : n.$emit("play"))
|
|
10509
10509
|
}, [
|
|
10510
|
-
e.playing ? (v(),
|
|
10510
|
+
e.playing ? (v(), y("svg", wh, [...o[1] || (o[1] = [
|
|
10511
10511
|
p("rect", {
|
|
10512
10512
|
x: "1.5",
|
|
10513
10513
|
y: "1",
|
|
@@ -10522,12 +10522,12 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10522
10522
|
height: "10",
|
|
10523
10523
|
rx: "0.8"
|
|
10524
10524
|
}, null, -1)
|
|
10525
|
-
])])) : (v(),
|
|
10525
|
+
])])) : (v(), y("svg", kh, [...o[2] || (o[2] = [
|
|
10526
10526
|
p("path", { d: "M2.5 1v10l8-5z" }, null, -1)
|
|
10527
10527
|
])]))
|
|
10528
10528
|
], 8, _h),
|
|
10529
10529
|
p("div", xh, [
|
|
10530
|
-
(v(!0),
|
|
10530
|
+
(v(!0), y(le, null, we(e.total, (a) => (v(), y("button", {
|
|
10531
10531
|
key: a,
|
|
10532
10532
|
type: "button",
|
|
10533
10533
|
class: O(["bc-scene-player__segments__segment", {
|
|
@@ -10567,7 +10567,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10567
10567
|
emits: /* @__PURE__ */ Q(["play", "pause", "previous", "next"], ["update:current"]),
|
|
10568
10568
|
setup(e) {
|
|
10569
10569
|
const t = ae(e, "current");
|
|
10570
|
-
return (n, o) => (v(),
|
|
10570
|
+
return (n, o) => (v(), y("div", {
|
|
10571
10571
|
class: O(["bc-scene-player bc-scene-player--dot-stepper", `bc-scene-player--${e.position}`]),
|
|
10572
10572
|
"data-scene-player": ""
|
|
10573
10573
|
}, [
|
|
@@ -10597,7 +10597,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10597
10597
|
"aria-label": e.playing ? "Pause" : "Play",
|
|
10598
10598
|
onClick: o[1] || (o[1] = (a) => e.playing ? n.$emit("pause") : n.$emit("play"))
|
|
10599
10599
|
}, [
|
|
10600
|
-
e.playing ? (v(),
|
|
10600
|
+
e.playing ? (v(), y("svg", Lh, [...o[4] || (o[4] = [
|
|
10601
10601
|
p("rect", {
|
|
10602
10602
|
x: "1.5",
|
|
10603
10603
|
y: "1",
|
|
@@ -10612,12 +10612,12 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10612
10612
|
height: "10",
|
|
10613
10613
|
rx: "0.8"
|
|
10614
10614
|
}, null, -1)
|
|
10615
|
-
])])) : (v(),
|
|
10615
|
+
])])) : (v(), y("svg", Ah, [...o[5] || (o[5] = [
|
|
10616
10616
|
p("path", { d: "M2.5 1v10l8-5z" }, null, -1)
|
|
10617
10617
|
])]))
|
|
10618
10618
|
], 8, Mh),
|
|
10619
10619
|
p("div", Th, [
|
|
10620
|
-
(v(!0),
|
|
10620
|
+
(v(!0), y(le, null, we(e.total, (a) => (v(), y("button", {
|
|
10621
10621
|
key: a,
|
|
10622
10622
|
type: "button",
|
|
10623
10623
|
class: O(["bc-scene-player__dots__dot", {
|
|
@@ -10685,11 +10685,11 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10685
10685
|
emits: /* @__PURE__ */ Q(["play", "pause", "previous", "next"], ["update:current"]),
|
|
10686
10686
|
setup(e) {
|
|
10687
10687
|
const t = ae(e, "current");
|
|
10688
|
-
return (n, o) => (v(),
|
|
10688
|
+
return (n, o) => (v(), y("div", {
|
|
10689
10689
|
class: O(["bc-scene-player bc-scene-player--minimal-arrows", `bc-scene-player--${e.position}`]),
|
|
10690
10690
|
"data-scene-player": ""
|
|
10691
10691
|
}, [
|
|
10692
|
-
e.showCounter && e.order === "counter-first" ? (v(),
|
|
10692
|
+
e.showCounter && e.order === "counter-first" ? (v(), y("span", Dh, L(t.value) + "/" + L(e.total), 1)) : D("", !0),
|
|
10693
10693
|
p("button", {
|
|
10694
10694
|
type: "button",
|
|
10695
10695
|
class: "bc-scene-player__nav-btn",
|
|
@@ -10716,7 +10716,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10716
10716
|
"aria-label": e.playing ? "Pause" : "Play",
|
|
10717
10717
|
onClick: o[1] || (o[1] = (a) => e.playing ? n.$emit("pause") : n.$emit("play"))
|
|
10718
10718
|
}, [
|
|
10719
|
-
e.playing ? (v(),
|
|
10719
|
+
e.playing ? (v(), y("svg", Oh, [...o[4] || (o[4] = [
|
|
10720
10720
|
p("rect", {
|
|
10721
10721
|
x: "1.5",
|
|
10722
10722
|
y: "1",
|
|
@@ -10731,7 +10731,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10731
10731
|
height: "10",
|
|
10732
10732
|
rx: "0.8"
|
|
10733
10733
|
}, null, -1)
|
|
10734
|
-
])])) : (v(),
|
|
10734
|
+
])])) : (v(), y("svg", Eh, [...o[5] || (o[5] = [
|
|
10735
10735
|
p("path", { d: "M2.5 1v10l8-5z" }, null, -1)
|
|
10736
10736
|
])]))
|
|
10737
10737
|
], 8, Vh),
|
|
@@ -10755,7 +10755,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10755
10755
|
p("path", { d: "M3.5 2L6.5 5l-3 3" })
|
|
10756
10756
|
], -1)
|
|
10757
10757
|
])], 8, Nh),
|
|
10758
|
-
e.showCounter && e.order === "controls-first" ? (v(),
|
|
10758
|
+
e.showCounter && e.order === "controls-first" ? (v(), y("span", Hh, L(t.value) + "/" + L(e.total), 1)) : D("", !0)
|
|
10759
10759
|
], 2));
|
|
10760
10760
|
}
|
|
10761
10761
|
}), ig = /* @__PURE__ */ z(zh, [["__scopeId", "data-v-3652f69c"]]), Uh = { class: "bc-scene-player__btn-group" }, Yh = ["disabled"], Wh = ["disabled"], qh = { class: "bc-scene-player__counter" }, jh = /* @__PURE__ */ S({
|
|
@@ -10771,7 +10771,7 @@ const nh = xe({ name: "ph-caret-up", render: th }), oh = { class: "scene-timelin
|
|
|
10771
10771
|
emits: /* @__PURE__ */ Q(["play", "pause", "previous", "next"], ["update:current"]),
|
|
10772
10772
|
setup(e) {
|
|
10773
10773
|
const t = ae(e, "current");
|
|
10774
|
-
return (n, o) => (v(),
|
|
10774
|
+
return (n, o) => (v(), y("div", {
|
|
10775
10775
|
class: O(["bc-scene-player bc-scene-player--buttons", `bc-scene-player--${e.position}`]),
|
|
10776
10776
|
"data-scene-player": ""
|
|
10777
10777
|
}, [
|