bootstrap-vue-next 0.9.24 → 0.9.25
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/bootstrap-vue-next.mjs +537 -536
- package/dist/bootstrap-vue-next.mjs.map +1 -1
- package/dist/bootstrap-vue-next.umd.js +1 -1
- package/dist/bootstrap-vue-next.umd.js.map +1 -1
- package/dist/src/components/BNav/BNavItem.vue.d.ts +6 -2
- package/dist/src/utils/object.d.ts +4 -11
- package/dist/src/utils/props.d.ts +0 -9
- package/package.json +1 -1
- package/src/components/BAvatar/BAvatar.vue +20 -27
- package/src/components/BBadge/BBadge.vue +22 -22
- package/src/components/BBreadcrumb/BBreadcrumbItem.vue +22 -22
- package/src/components/BNav/BNavItem.vue +27 -22
- package/src/components/BNav/BNavItemDropdown.vue +1 -1
- package/src/components/BNavbar/BNavbarBrand.vue +22 -22
- package/src/utils/object.ts +21 -26
- package/src/utils/props.ts +0 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Nn = Object.defineProperty;
|
|
2
2
|
var zn = (e, t, l) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
|
|
3
3
|
var Te = (e, t, l) => (zn(e, typeof t != "symbol" ? t + "" : t, l), l);
|
|
4
|
-
import { unref as $, computed as u, ref as R, shallowRef as xa, watch as oe, getCurrentScope as oo, onScopeDispose as no, shallowReadonly as vt, watchEffect as Ht, readonly as ye, effectScope as so, isRef as La, toRef as ke, customRef as Hn, getCurrentInstance as ia, onMounted as He, nextTick as Ce, reactive as St, defineComponent as N, h as ie, Teleport as Na, toValue as Qe, onActivated as Rn, onBeforeUnmount as ro, openBlock as g, createElementBlock as P, Fragment as ce, createElementVNode as K, renderSlot as O, normalizeProps as Be, guardReactiveProps as Ve, createVNode as be, withCtx as j, mergeProps as ee, normalizeClass as H, normalizeStyle as ze, createTextVNode as ne, toDisplayString as Y, createCommentVNode as J, createApp as Mn, provide as De, createBlock as M, resolveDynamicComponent as le, inject as Oe, toHandlers as io, Transition as Dn, useSlots as Fe, useAttrs as za, withModifiers as
|
|
4
|
+
import { unref as $, computed as u, ref as R, shallowRef as xa, watch as oe, getCurrentScope as oo, onScopeDispose as no, shallowReadonly as vt, watchEffect as Ht, readonly as ye, effectScope as so, isRef as La, toRef as ke, customRef as Hn, getCurrentInstance as ia, onMounted as He, nextTick as Ce, reactive as St, defineComponent as N, h as ie, Teleport as Na, toValue as Qe, onActivated as Rn, onBeforeUnmount as ro, openBlock as g, createElementBlock as P, Fragment as ce, createElementVNode as K, renderSlot as O, normalizeProps as Be, guardReactiveProps as Ve, createVNode as be, withCtx as j, mergeProps as ee, normalizeClass as H, normalizeStyle as ze, createTextVNode as ne, toDisplayString as Y, createCommentVNode as J, createApp as Mn, provide as De, createBlock as M, resolveDynamicComponent as le, inject as Oe, toHandlers as io, Transition as Dn, useSlots as Fe, useAttrs as za, withModifiers as ot, renderList as he, withKeys as It, TransitionGroup as jn, withDirectives as rt, vShow as ua, isReactive as qn, onUnmounted as Gn, vModelCheckbox as Wn, vModelRadio as Un, vModelSelect as Xn, createSlots as Ha } from "vue";
|
|
5
5
|
const Kn = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false", Ra = (e) => typeof e == "boolean" ? e : e === "" || e === "true";
|
|
6
6
|
class Ge {
|
|
7
7
|
constructor(t, l = {}) {
|
|
@@ -158,7 +158,7 @@ const Da = typeof window < "u", cs = typeof document < "u", fs = typeof navigato
|
|
|
158
158
|
return !1;
|
|
159
159
|
const t = ms(e);
|
|
160
160
|
return !!(t && t.height > 0 && t.width > 0);
|
|
161
|
-
}, Ae = (e) => ((e == null ? void 0 : e()) ?? []).length === 0, go = (e, t) => (Ue(t) ? t : Ma).querySelector(e) || null, Ss = (e, t) => Array.from([(Ue(t) ? t : Ma).querySelectorAll(e)]), qa = (e, t) => t && Ue(e) ? e.getAttribute(t) : null,
|
|
161
|
+
}, Ae = (e) => ((e == null ? void 0 : e()) ?? []).length === 0, go = (e, t) => (Ue(t) ? t : Ma).querySelector(e) || null, Ss = (e, t) => Array.from([(Ue(t) ? t : Ma).querySelectorAll(e)]), qa = (e, t) => t && Ue(e) ? e.getAttribute(t) : null, ws = (e) => Ma.getElementById(/^#/.test(e) ? e.slice(1) : e) || null, _s = (e, t, l) => {
|
|
162
162
|
t && Ue(e) && e.setAttribute(t, l);
|
|
163
163
|
}, $s = (e, t) => {
|
|
164
164
|
t && Ue(e) && e.removeAttribute(t);
|
|
@@ -184,7 +184,7 @@ const Da = typeof window < "u", cs = typeof document < "u", fs = typeof navigato
|
|
|
184
184
|
return o + n;
|
|
185
185
|
}, da = (e, t, l) => t.concat(["sm", "md", "lg", "xl", "xxl"]).reduce((a, o) => (a[e ? `${e}${o.charAt(0).toUpperCase() + o.slice(1)}` : o] = l, a), /* @__PURE__ */ Object.create(null)), bo = (e, t, l, a = l) => Object.keys(t).reduce((o, n) => (e[n] && o.push(
|
|
186
186
|
[a, n.replace(l, ""), e[n]].filter((s) => s && typeof s != "boolean").join("-").toLowerCase()
|
|
187
|
-
), o), []), at = (e = "") => `__BVID__${Math.random().toString().slice(2, 8)}___BV_${e}__`,
|
|
187
|
+
), o), []), at = (e = "") => `__BVID__${Math.random().toString().slice(2, 8)}___BV_${e}__`, wt = (e) => !!(e.href || e.to), Ne = (e, t = {}, l = {}) => {
|
|
188
188
|
const a = [e];
|
|
189
189
|
let o;
|
|
190
190
|
for (let n = 0; n < a.length && !o; n++) {
|
|
@@ -198,10 +198,9 @@ const Da = typeof window < "u", cs = typeof document < "u", fs = typeof navigato
|
|
|
198
198
|
}, Et = (e, t = NaN) => {
|
|
199
199
|
const l = Number.parseFloat(e.toString());
|
|
200
200
|
return Number.isNaN(l) ? t : l;
|
|
201
|
-
}, Vs = (e, t) => Object.keys(e).filter(
|
|
202
|
-
(l
|
|
203
|
-
|
|
204
|
-
), ca = (e, t) => e === !0 || e === "true" || e === "" ? "true" : e === "grammar" || e === "spelling" ? e : t === !1 ? "true" : e === !1 || e === "false" ? "false" : void 0, ho = Symbol("carousel"), Bo = Symbol("tabs"), So = Symbol("progress"), _o = Symbol("listGroup"), wo = Symbol("avatarGroup"), $o = Symbol("accordion"), Co = Symbol("checkboxGroup"), ko = Symbol("radioGroup"), Ga = Symbol("collapse"), To = Symbol("collapse"), Wa = Symbol("navbar"), Ba = (e, t) => ((e == null ? void 0 : e()) ?? []).reduce((l, a) => (typeof a.type == "symbol" ? l = l.concat(a.children) : l.push(a), l), []).filter((l) => {
|
|
201
|
+
}, Vs = (e, t) => Object.keys(e).filter(
|
|
202
|
+
(l) => !t.map((a) => typeof a == "string" ? a : a.toString()).includes(l)
|
|
203
|
+
).reduce((l, a) => ({ ...l, [a]: e[a] }), {}), Mt = (e, t) => [...t].reduce((l, a) => (l[a] = e[a], l), {}), vl = (e, t) => t + (e ? os(e) : ""), ca = (e, t) => e === !0 || e === "true" || e === "" ? "true" : e === "grammar" || e === "spelling" ? e : t === !1 ? "true" : e === !1 || e === "false" ? "false" : void 0, ho = Symbol("carousel"), Bo = Symbol("tabs"), So = Symbol("progress"), wo = Symbol("listGroup"), _o = Symbol("avatarGroup"), $o = Symbol("accordion"), Co = Symbol("checkboxGroup"), ko = Symbol("radioGroup"), Ga = Symbol("collapse"), To = Symbol("collapse"), Wa = Symbol("navbar"), Ba = (e, t) => ((e == null ? void 0 : e()) ?? []).reduce((l, a) => (typeof a.type == "symbol" ? l = l.concat(a.children) : l.push(a), l), []).filter((l) => {
|
|
205
204
|
var a;
|
|
206
205
|
return ((a = l.type) == null ? void 0 : a.__name) === t;
|
|
207
206
|
});
|
|
@@ -250,12 +249,12 @@ const As = async (e, t, l) => {
|
|
|
250
249
|
const { placement: a = "bottom", strategy: o = "absolute", middleware: n = [], platform: s } = l, r = n.filter(Boolean), i = await (s.isRTL == null ? void 0 : s.isRTL(t));
|
|
251
250
|
let v = await s.getElementRects({ reference: e, floating: t, strategy: o }), { x: b, y: h } = pl(v, a, i), p = a, B = {}, S = 0;
|
|
252
251
|
for (let m = 0; m < r.length; m++) {
|
|
253
|
-
const { name: A, fn: y } = r[m], { x: k, y:
|
|
254
|
-
b = k ?? b, h =
|
|
252
|
+
const { name: A, fn: y } = r[m], { x: k, y: w, data: _, reset: C } = await y({ x: b, y: h, initialPlacement: a, placement: p, strategy: o, middlewareData: B, rects: v, platform: s, elements: { reference: e, floating: t } });
|
|
253
|
+
b = k ?? b, h = w ?? h, B = { ...B, [A]: { ...B[A], ..._ } }, C && S <= 50 && (S++, typeof C == "object" && (C.placement && (p = C.placement), C.rects && (v = C.rects === !0 ? await s.getElementRects({ reference: e, floating: t, strategy: o }) : C.rects), { x: b, y: h } = pl(v, p, i)), m = -1);
|
|
255
254
|
}
|
|
256
255
|
return { x: b, y: h, placement: p, strategy: o, middlewareData: B };
|
|
257
256
|
};
|
|
258
|
-
function
|
|
257
|
+
function it(e, t) {
|
|
259
258
|
return typeof e == "function" ? e(t) : e;
|
|
260
259
|
}
|
|
261
260
|
function Xa(e) {
|
|
@@ -263,27 +262,27 @@ function Xa(e) {
|
|
|
263
262
|
return { top: 0, right: 0, bottom: 0, left: 0, ...t };
|
|
264
263
|
}(e) : { top: e, right: e, bottom: e, left: e };
|
|
265
264
|
}
|
|
266
|
-
function
|
|
265
|
+
function _t(e) {
|
|
267
266
|
return { ...e, top: e.y, left: e.x, right: e.x + e.width, bottom: e.y + e.height };
|
|
268
267
|
}
|
|
269
268
|
async function xt(e, t) {
|
|
270
269
|
var l;
|
|
271
270
|
t === void 0 && (t = {});
|
|
272
|
-
const { x: a, y: o, platform: n, rects: s, elements: r, strategy: i } = e, { boundary: v = "clippingAncestors", rootBoundary: b = "viewport", elementContext: h = "floating", altBoundary: p = !1, padding: B = 0 } =
|
|
273
|
-
return { top: (A.top -
|
|
271
|
+
const { x: a, y: o, platform: n, rects: s, elements: r, strategy: i } = e, { boundary: v = "clippingAncestors", rootBoundary: b = "viewport", elementContext: h = "floating", altBoundary: p = !1, padding: B = 0 } = it(t, e), S = Xa(B), m = r[p ? h === "floating" ? "reference" : "floating" : h], A = _t(await n.getClippingRect({ element: (l = await (n.isElement == null ? void 0 : n.isElement(m))) == null || l ? m : m.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(r.floating)), boundary: v, rootBoundary: b, strategy: i })), y = h === "floating" ? { ...s.floating, x: a, y: o } : s.reference, k = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(r.floating)), w = await (n.isElement == null ? void 0 : n.isElement(k)) && await (n.getScale == null ? void 0 : n.getScale(k)) || { x: 1, y: 1 }, _ = _t(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: y, offsetParent: k, strategy: i }) : y);
|
|
272
|
+
return { top: (A.top - _.top + S.top) / w.y, bottom: (_.bottom - A.bottom + S.bottom) / w.y, left: (A.left - _.left + S.left) / w.x, right: (_.right - A.right + S.right) / w.x };
|
|
274
273
|
}
|
|
275
274
|
const $t = Math.min, Qt = Math.max;
|
|
276
275
|
function Sa(e, t, l) {
|
|
277
276
|
return Qt(e, $t(t, l));
|
|
278
277
|
}
|
|
279
278
|
const Os = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
280
|
-
const { x: l, y: a, placement: o, rects: n, platform: s, elements: r } = t, { element: i, padding: v = 0 } =
|
|
279
|
+
const { x: l, y: a, placement: o, rects: n, platform: s, elements: r } = t, { element: i, padding: v = 0 } = it(e, t) || {};
|
|
281
280
|
if (i == null)
|
|
282
281
|
return {};
|
|
283
|
-
const b = Xa(v), h = { x: l, y: a }, p = Tt(o), B = Ua(p), S = await s.getDimensions(i), m = p === "y", A = m ? "top" : "left", y = m ? "bottom" : "right", k = m ? "clientHeight" : "clientWidth",
|
|
282
|
+
const b = Xa(v), h = { x: l, y: a }, p = Tt(o), B = Ua(p), S = await s.getDimensions(i), m = p === "y", A = m ? "top" : "left", y = m ? "bottom" : "right", k = m ? "clientHeight" : "clientWidth", w = n.reference[B] + n.reference[p] - h[p] - n.floating[B], _ = h[p] - n.reference[p], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(i));
|
|
284
283
|
let T = C ? C[k] : 0;
|
|
285
284
|
T && await (s.isElement == null ? void 0 : s.isElement(C)) || (T = r.floating[k] || n.floating[B]);
|
|
286
|
-
const c =
|
|
285
|
+
const c = w / 2 - _ / 2, V = T / 2 - S[B] / 2 - 1, F = $t(b[A], V), f = $t(b[y], V), I = F, E = T - S[B] - f, z = T / 2 - S[B] / 2 + c, Z = Sa(I, z, E), te = qe(o) != null && z != Z && n.reference[B] / 2 - (z < I ? F : f) - S[B] / 2 < 0 ? z < I ? I - z : E - z : 0;
|
|
287
286
|
return { [p]: h[p] - te, data: { [p]: Z, centerOffset: z - Z + te } };
|
|
288
287
|
} }), Vo = ["top", "right", "bottom", "left"], ml = Vo.reduce((e, t) => e.concat(t, t + "-start", t + "-end"), []), Fs = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
289
288
|
function ea(e) {
|
|
@@ -302,15 +301,15 @@ function Yt(e) {
|
|
|
302
301
|
const Es = function(e) {
|
|
303
302
|
return e === void 0 && (e = {}), { name: "autoPlacement", options: e, async fn(t) {
|
|
304
303
|
var l, a, o;
|
|
305
|
-
const { rects: n, middlewareData: s, placement: r, platform: i, elements: v } = t, { crossAxis: b = !1, alignment: h, allowedPlacements: p = ml, autoAlignment: B = !0, ...S } =
|
|
304
|
+
const { rects: n, middlewareData: s, placement: r, platform: i, elements: v } = t, { crossAxis: b = !1, alignment: h, allowedPlacements: p = ml, autoAlignment: B = !0, ...S } = it(e, t), m = h !== void 0 || p === ml ? function(f, I, E) {
|
|
306
305
|
return (f ? [...E.filter((z) => qe(z) === f), ...E.filter((z) => qe(z) !== f)] : E.filter((z) => Re(z) === z)).filter((z) => !f || qe(z) === f || !!I && Yt(z) !== z);
|
|
307
306
|
}(h || null, B, p) : p, A = await xt(t, S), y = ((l = s.autoPlacement) == null ? void 0 : l.index) || 0, k = m[y];
|
|
308
307
|
if (k == null)
|
|
309
308
|
return {};
|
|
310
|
-
const { main:
|
|
309
|
+
const { main: w, cross: _ } = Ao(k, n, await (i.isRTL == null ? void 0 : i.isRTL(v.floating)));
|
|
311
310
|
if (r !== k)
|
|
312
311
|
return { reset: { placement: m[0] } };
|
|
313
|
-
const C = [A[Re(k)], A[
|
|
312
|
+
const C = [A[Re(k)], A[w], A[_]], T = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], { placement: k, overflows: C }], c = m[y + 1];
|
|
314
313
|
if (c)
|
|
315
314
|
return { data: { index: y + 1, overflows: T }, reset: { placement: c } };
|
|
316
315
|
const V = T.map((f) => {
|
|
@@ -322,11 +321,11 @@ const Es = function(e) {
|
|
|
322
321
|
}, Oo = function(e) {
|
|
323
322
|
return e === void 0 && (e = {}), { name: "flip", options: e, async fn(t) {
|
|
324
323
|
var l;
|
|
325
|
-
const { placement: a, middlewareData: o, rects: n, initialPlacement: s, platform: r, elements: i } = t, { mainAxis: v = !0, crossAxis: b = !0, fallbackPlacements: h, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: B = "none", flipAlignment: S = !0, ...m } =
|
|
324
|
+
const { placement: a, middlewareData: o, rects: n, initialPlacement: s, platform: r, elements: i } = t, { mainAxis: v = !0, crossAxis: b = !0, fallbackPlacements: h, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: B = "none", flipAlignment: S = !0, ...m } = it(e, t), A = Re(a), y = Re(s) === s, k = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), w = h || (y || !S ? [ea(s)] : function(I) {
|
|
326
325
|
const E = ea(I);
|
|
327
326
|
return [Yt(I), E, Yt(E)];
|
|
328
327
|
}(s));
|
|
329
|
-
h || B === "none" ||
|
|
328
|
+
h || B === "none" || w.push(...function(I, E, z, Z) {
|
|
330
329
|
const te = qe(I);
|
|
331
330
|
let G = function(W, X, ve) {
|
|
332
331
|
const ge = ["left", "right"], pe = ["right", "left"], me = ["top", "bottom"], q = ["bottom", "top"];
|
|
@@ -343,7 +342,7 @@ const Es = function(e) {
|
|
|
343
342
|
}(Re(I), z === "start", Z);
|
|
344
343
|
return te && (G = G.map((W) => W + "-" + te), E && (G = G.concat(G.map(Yt)))), G;
|
|
345
344
|
}(s, S, B, k));
|
|
346
|
-
const
|
|
345
|
+
const _ = [s, ...w], C = await xt(t, m), T = [];
|
|
347
346
|
let c = ((l = o.flip) == null ? void 0 : l.overflows) || [];
|
|
348
347
|
if (v && T.push(C[A]), b) {
|
|
349
348
|
const { main: I, cross: E } = Ao(a, n, k);
|
|
@@ -351,7 +350,7 @@ const Es = function(e) {
|
|
|
351
350
|
}
|
|
352
351
|
if (c = [...c, { placement: a, overflows: T }], !T.every((I) => I <= 0)) {
|
|
353
352
|
var V, F;
|
|
354
|
-
const I = (((V = o.flip) == null ? void 0 : V.index) || 0) + 1, E =
|
|
353
|
+
const I = (((V = o.flip) == null ? void 0 : V.index) || 0) + 1, E = _[I];
|
|
355
354
|
if (E)
|
|
356
355
|
return { data: { index: I, overflows: c }, reset: { placement: E } };
|
|
357
356
|
let z = (F = c.filter((Z) => Z.overflows[0] <= 0).sort((Z, te) => Z.overflows[1] - te.overflows[1])[0]) == null ? void 0 : F.placement;
|
|
@@ -380,7 +379,7 @@ function yl(e) {
|
|
|
380
379
|
}
|
|
381
380
|
const Is = function(e) {
|
|
382
381
|
return e === void 0 && (e = {}), { name: "hide", options: e, async fn(t) {
|
|
383
|
-
const { rects: l } = t, { strategy: a = "referenceHidden", ...o } =
|
|
382
|
+
const { rects: l } = t, { strategy: a = "referenceHidden", ...o } = it(e, t);
|
|
384
383
|
switch (a) {
|
|
385
384
|
case "referenceHidden": {
|
|
386
385
|
const n = gl(await xt(t, { ...o, elementContext: "reference" }), l.reference);
|
|
@@ -401,15 +400,15 @@ function bl(e) {
|
|
|
401
400
|
}
|
|
402
401
|
const xs = function(e) {
|
|
403
402
|
return e === void 0 && (e = {}), { name: "inline", options: e, async fn(t) {
|
|
404
|
-
const { placement: l, elements: a, rects: o, platform: n, strategy: s } = t, { padding: r = 2, x: i, y: v } =
|
|
405
|
-
const A = m.slice().sort((
|
|
403
|
+
const { placement: l, elements: a, rects: o, platform: n, strategy: s } = t, { padding: r = 2, x: i, y: v } = it(e, t), b = Array.from(await (n.getClientRects == null ? void 0 : n.getClientRects(a.reference)) || []), h = function(m) {
|
|
404
|
+
const A = m.slice().sort((w, _) => w.y - _.y), y = [];
|
|
406
405
|
let k = null;
|
|
407
|
-
for (let
|
|
408
|
-
const
|
|
409
|
-
!k ||
|
|
406
|
+
for (let w = 0; w < A.length; w++) {
|
|
407
|
+
const _ = A[w];
|
|
408
|
+
!k || _.y - k.y > k.height / 2 ? y.push([_]) : y[y.length - 1].push(_), k = _;
|
|
410
409
|
}
|
|
411
|
-
return y.map((
|
|
412
|
-
}(b), p =
|
|
410
|
+
return y.map((w) => _t(bl(w)));
|
|
411
|
+
}(b), p = _t(bl(b)), B = Xa(r), S = await n.getElementRects({ reference: { getBoundingClientRect: function() {
|
|
413
412
|
if (h.length === 2 && h[0].left > h[1].right && i != null && v != null)
|
|
414
413
|
return h.find((m) => i > m.left - B.left && i < m.right + B.right && v > m.top - B.top && v < m.bottom + B.bottom) || p;
|
|
415
414
|
if (h.length >= 2) {
|
|
@@ -417,8 +416,8 @@ const xs = function(e) {
|
|
|
417
416
|
const C = h[0], T = h[h.length - 1], c = Re(l) === "top", V = C.top, F = T.bottom, f = c ? C.left : T.left, I = c ? C.right : T.right;
|
|
418
417
|
return { top: V, bottom: F, left: f, right: I, width: I - f, height: F - V, x: f, y: V };
|
|
419
418
|
}
|
|
420
|
-
const m = Re(l) === "left", A = Qt(...h.map((C) => C.right)), y = $t(...h.map((C) => C.left)), k = h.filter((C) => m ? C.left === y : C.right === A),
|
|
421
|
-
return { top:
|
|
419
|
+
const m = Re(l) === "left", A = Qt(...h.map((C) => C.right)), y = $t(...h.map((C) => C.left)), k = h.filter((C) => m ? C.left === y : C.right === A), w = k[0].top, _ = k[k.length - 1].bottom;
|
|
420
|
+
return { top: w, bottom: _, left: y, right: A, width: A - y, height: _ - w, x: y, y: w };
|
|
422
421
|
}
|
|
423
422
|
return p;
|
|
424
423
|
} }, floating: a.floating, strategy: s });
|
|
@@ -427,9 +426,9 @@ const xs = function(e) {
|
|
|
427
426
|
}, Fo = function(e) {
|
|
428
427
|
return e === void 0 && (e = 0), { name: "offset", options: e, async fn(t) {
|
|
429
428
|
const { x: l, y: a } = t, o = await async function(n, s) {
|
|
430
|
-
const { placement: r, platform: i, elements: v } = n, b = await (i.isRTL == null ? void 0 : i.isRTL(v.floating)), h = Re(r), p = qe(r), B = Tt(r) === "x", S = ["left", "top"].includes(h) ? -1 : 1, m = b && B ? -1 : 1, A =
|
|
431
|
-
let { mainAxis: y, crossAxis: k, alignmentAxis:
|
|
432
|
-
return p && typeof
|
|
429
|
+
const { placement: r, platform: i, elements: v } = n, b = await (i.isRTL == null ? void 0 : i.isRTL(v.floating)), h = Re(r), p = qe(r), B = Tt(r) === "x", S = ["left", "top"].includes(h) ? -1 : 1, m = b && B ? -1 : 1, A = it(s, n);
|
|
430
|
+
let { mainAxis: y, crossAxis: k, alignmentAxis: w } = typeof A == "number" ? { mainAxis: A, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...A };
|
|
431
|
+
return p && typeof w == "number" && (k = p === "end" ? -1 * w : w), B ? { x: k * m, y: y * S } : { x: y * S, y: k * m };
|
|
433
432
|
}(t, e);
|
|
434
433
|
return { x: l + o.x, y: a + o.y, data: o };
|
|
435
434
|
} };
|
|
@@ -442,7 +441,7 @@ const Po = function(e) {
|
|
|
442
441
|
const { x: l, y: a, placement: o } = t, { mainAxis: n = !0, crossAxis: s = !1, limiter: r = { fn: (A) => {
|
|
443
442
|
let { x: y, y: k } = A;
|
|
444
443
|
return { x: y, y: k };
|
|
445
|
-
} }, ...i } =
|
|
444
|
+
} }, ...i } = it(e, t), v = { x: l, y: a }, b = await xt(t, i), h = Tt(Re(o)), p = Ls(h);
|
|
446
445
|
let B = v[h], S = v[p];
|
|
447
446
|
if (n) {
|
|
448
447
|
const A = h === "y" ? "bottom" : "right";
|
|
@@ -466,7 +465,7 @@ function We(e) {
|
|
|
466
465
|
function Eo(e) {
|
|
467
466
|
return e instanceof Pe(e).Node;
|
|
468
467
|
}
|
|
469
|
-
function
|
|
468
|
+
function nt(e) {
|
|
470
469
|
return Eo(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
471
470
|
}
|
|
472
471
|
function Me(e) {
|
|
@@ -480,9 +479,9 @@ function Lt(e) {
|
|
|
480
479
|
return /auto|scroll|overlay|hidden|clip/.test(t + a + l) && !["inline", "contents"].includes(o);
|
|
481
480
|
}
|
|
482
481
|
function Ns(e) {
|
|
483
|
-
return ["table", "td", "th"].includes(
|
|
482
|
+
return ["table", "td", "th"].includes(nt(e));
|
|
484
483
|
}
|
|
485
|
-
function
|
|
484
|
+
function wa(e) {
|
|
486
485
|
const t = Ka(), l = We(e);
|
|
487
486
|
return l.transform !== "none" || l.perspective !== "none" || !!l.containerType && l.containerType !== "normal" || !t && !!l.backdropFilter && l.backdropFilter !== "none" || !t && !!l.filter && l.filter !== "none" || ["transform", "perspective", "filter"].some((a) => (l.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (l.contain || "").includes(a));
|
|
488
487
|
}
|
|
@@ -490,9 +489,9 @@ function Ka() {
|
|
|
490
489
|
return !(typeof CSS > "u" || !CSS.supports) && CSS.supports("-webkit-backdrop-filter", "none");
|
|
491
490
|
}
|
|
492
491
|
function fa(e) {
|
|
493
|
-
return ["html", "body", "#document"].includes(
|
|
492
|
+
return ["html", "body", "#document"].includes(nt(e));
|
|
494
493
|
}
|
|
495
|
-
const
|
|
494
|
+
const _a = Math.min, ht = Math.max, ta = Math.round, qt = Math.floor, st = (e) => ({ x: e, y: e });
|
|
496
495
|
function Io(e) {
|
|
497
496
|
const t = We(e);
|
|
498
497
|
let l = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
|
|
@@ -508,12 +507,12 @@ function Ya(e) {
|
|
|
508
507
|
function Bt(e) {
|
|
509
508
|
const t = Ya(e);
|
|
510
509
|
if (!Me(t))
|
|
511
|
-
return
|
|
510
|
+
return st(1);
|
|
512
511
|
const l = t.getBoundingClientRect(), { width: a, height: o, $: n } = Io(t);
|
|
513
512
|
let s = (n ? ta(l.width) : l.width) / a, r = (n ? ta(l.height) : l.height) / o;
|
|
514
513
|
return s && Number.isFinite(s) || (s = 1), r && Number.isFinite(r) || (r = 1), { x: s, y: r };
|
|
515
514
|
}
|
|
516
|
-
const zs =
|
|
515
|
+
const zs = st(0);
|
|
517
516
|
function xo(e) {
|
|
518
517
|
const t = Pe(e);
|
|
519
518
|
return Ka() && t.visualViewport ? { x: t.visualViewport.offsetLeft, y: t.visualViewport.offsetTop } : zs;
|
|
@@ -521,21 +520,21 @@ function xo(e) {
|
|
|
521
520
|
function dt(e, t, l, a) {
|
|
522
521
|
t === void 0 && (t = !1), l === void 0 && (l = !1);
|
|
523
522
|
const o = e.getBoundingClientRect(), n = Ya(e);
|
|
524
|
-
let s =
|
|
523
|
+
let s = st(1);
|
|
525
524
|
t && (a ? Ye(a) && (s = Bt(a)) : s = Bt(e));
|
|
526
525
|
const r = function(p, B, S) {
|
|
527
526
|
return B === void 0 && (B = !1), !(!S || B && S !== Pe(p)) && B;
|
|
528
|
-
}(n, l, a) ? xo(n) :
|
|
527
|
+
}(n, l, a) ? xo(n) : st(0);
|
|
529
528
|
let i = (o.left + r.x) / s.x, v = (o.top + r.y) / s.y, b = o.width / s.x, h = o.height / s.y;
|
|
530
529
|
if (n) {
|
|
531
530
|
const p = Pe(n), B = a && Ye(a) ? Pe(a) : a;
|
|
532
531
|
let S = p.frameElement;
|
|
533
532
|
for (; S && a && B !== p; ) {
|
|
534
|
-
const m = Bt(S), A = S.getBoundingClientRect(), y = getComputedStyle(S), k = A.left + (S.clientLeft + parseFloat(y.paddingLeft)) * m.x,
|
|
535
|
-
i *= m.x, v *= m.y, b *= m.x, h *= m.y, i += k, v +=
|
|
533
|
+
const m = Bt(S), A = S.getBoundingClientRect(), y = getComputedStyle(S), k = A.left + (S.clientLeft + parseFloat(y.paddingLeft)) * m.x, w = A.top + (S.clientTop + parseFloat(y.paddingTop)) * m.y;
|
|
534
|
+
i *= m.x, v *= m.y, b *= m.x, h *= m.y, i += k, v += w, S = Pe(S).frameElement;
|
|
536
535
|
}
|
|
537
536
|
}
|
|
538
|
-
return
|
|
537
|
+
return _t({ width: b, height: h, x: i, y: v });
|
|
539
538
|
}
|
|
540
539
|
function va(e) {
|
|
541
540
|
return Ye(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
|
|
@@ -548,7 +547,7 @@ function Lo(e) {
|
|
|
548
547
|
return dt(Je(e)).left + va(e).scrollLeft;
|
|
549
548
|
}
|
|
550
549
|
function Ct(e) {
|
|
551
|
-
if (
|
|
550
|
+
if (nt(e) === "html")
|
|
552
551
|
return e;
|
|
553
552
|
const t = e.assignedSlot || e.parentNode || hl(e) && e.host || Je(e);
|
|
554
553
|
return hl(t) ? t.host : t;
|
|
@@ -585,14 +584,14 @@ function Bl(e, t, l) {
|
|
|
585
584
|
}(Je(e));
|
|
586
585
|
else if (Ye(t))
|
|
587
586
|
a = function(o, n) {
|
|
588
|
-
const s = dt(o, !0, n === "fixed"), r = s.top + o.clientTop, i = s.left + o.clientLeft, v = Me(o) ? Bt(o) :
|
|
587
|
+
const s = dt(o, !0, n === "fixed"), r = s.top + o.clientTop, i = s.left + o.clientLeft, v = Me(o) ? Bt(o) : st(1);
|
|
589
588
|
return { width: o.clientWidth * v.x, height: o.clientHeight * v.y, x: i * v.x, y: r * v.y };
|
|
590
589
|
}(t, l);
|
|
591
590
|
else {
|
|
592
591
|
const o = xo(e);
|
|
593
592
|
a = { ...t, x: t.x - o.x, y: t.y - o.y };
|
|
594
593
|
}
|
|
595
|
-
return
|
|
594
|
+
return _t(a);
|
|
596
595
|
}
|
|
597
596
|
function zo(e, t) {
|
|
598
597
|
const l = Ct(e);
|
|
@@ -601,9 +600,9 @@ function zo(e, t) {
|
|
|
601
600
|
function Hs(e, t, l) {
|
|
602
601
|
const a = Me(t), o = Je(t), n = l === "fixed", s = dt(e, !0, n, t);
|
|
603
602
|
let r = { scrollLeft: 0, scrollTop: 0 };
|
|
604
|
-
const i =
|
|
603
|
+
const i = st(0);
|
|
605
604
|
if (a || !a && !n)
|
|
606
|
-
if ((
|
|
605
|
+
if ((nt(t) !== "body" || Lt(o)) && (r = va(t)), Me(t)) {
|
|
607
606
|
const v = dt(t, !0, n, t);
|
|
608
607
|
i.x = v.x + t.clientLeft, i.y = v.y + t.clientTop;
|
|
609
608
|
} else
|
|
@@ -613,17 +612,17 @@ function Hs(e, t, l) {
|
|
|
613
612
|
function Sl(e, t) {
|
|
614
613
|
return Me(e) && We(e).position !== "fixed" ? t ? t(e) : e.offsetParent : null;
|
|
615
614
|
}
|
|
616
|
-
function
|
|
615
|
+
function wl(e, t) {
|
|
617
616
|
const l = Pe(e);
|
|
618
617
|
if (!Me(e))
|
|
619
618
|
return l;
|
|
620
619
|
let a = Sl(e, t);
|
|
621
620
|
for (; a && Ns(a) && We(a).position === "static"; )
|
|
622
621
|
a = Sl(a, t);
|
|
623
|
-
return a && (
|
|
622
|
+
return a && (nt(a) === "html" || nt(a) === "body" && We(a).position === "static" && !wa(a)) ? l : a || function(o) {
|
|
624
623
|
let n = Ct(o);
|
|
625
624
|
for (; Me(n) && !fa(n); ) {
|
|
626
|
-
if (
|
|
625
|
+
if (wa(n))
|
|
627
626
|
return n;
|
|
628
627
|
n = Ct(n);
|
|
629
628
|
}
|
|
@@ -635,9 +634,9 @@ const Rs = { convertOffsetParentRelativeRectToViewportRelativeRect: function(e)
|
|
|
635
634
|
const o = Me(l), n = Je(l);
|
|
636
635
|
if (l === n)
|
|
637
636
|
return t;
|
|
638
|
-
let s = { scrollLeft: 0, scrollTop: 0 }, r =
|
|
639
|
-
const i =
|
|
640
|
-
if ((o || !o && a !== "fixed") && ((
|
|
637
|
+
let s = { scrollLeft: 0, scrollTop: 0 }, r = st(1);
|
|
638
|
+
const i = st(0);
|
|
639
|
+
if ((o || !o && a !== "fixed") && ((nt(l) !== "body" || Lt(n)) && (s = va(l)), Me(l))) {
|
|
641
640
|
const v = dt(l);
|
|
642
641
|
r = Bt(l), i.x = v.x + l.clientLeft, i.y = v.y + l.clientTop;
|
|
643
642
|
}
|
|
@@ -648,22 +647,22 @@ const Rs = { convertOffsetParentRelativeRectToViewportRelativeRect: function(e)
|
|
|
648
647
|
const b = v.get(i);
|
|
649
648
|
if (b)
|
|
650
649
|
return b;
|
|
651
|
-
let h = aa(i).filter((m) => Ye(m) &&
|
|
650
|
+
let h = aa(i).filter((m) => Ye(m) && nt(m) !== "body"), p = null;
|
|
652
651
|
const B = We(i).position === "fixed";
|
|
653
652
|
let S = B ? Ct(i) : i;
|
|
654
653
|
for (; Ye(S) && !fa(S); ) {
|
|
655
|
-
const m = We(S), A =
|
|
654
|
+
const m = We(S), A = wa(S);
|
|
656
655
|
A || m.position !== "fixed" || (p = null), (B ? !A && !p : !A && m.position === "static" && p && ["absolute", "fixed"].includes(p.position) || Lt(S) && !A && zo(i, S)) ? h = h.filter((y) => y !== S) : p = m, S = Ct(S);
|
|
657
656
|
}
|
|
658
657
|
return v.set(i, h), h;
|
|
659
658
|
}(t, this._c) : [].concat(l), a], s = n[0], r = n.reduce((i, v) => {
|
|
660
659
|
const b = Bl(t, v, o);
|
|
661
|
-
return i.top = ht(b.top, i.top), i.right =
|
|
660
|
+
return i.top = ht(b.top, i.top), i.right = _a(b.right, i.right), i.bottom = _a(b.bottom, i.bottom), i.left = ht(b.left, i.left), i;
|
|
662
661
|
}, Bl(t, s, o));
|
|
663
662
|
return { width: r.right - r.left, height: r.bottom - r.top, x: r.left, y: r.top };
|
|
664
|
-
}, getOffsetParent:
|
|
663
|
+
}, getOffsetParent: wl, getElementRects: async function(e) {
|
|
665
664
|
let { reference: t, floating: l, strategy: a } = e;
|
|
666
|
-
const o = this.getOffsetParent ||
|
|
665
|
+
const o = this.getOffsetParent || wl, n = this.getDimensions;
|
|
667
666
|
return { reference: Hs(t, await o(l), a), floating: { x: 0, y: 0, ...await n(l) } };
|
|
668
667
|
}, getClientRects: function(e) {
|
|
669
668
|
return Array.from(e.getClientRects());
|
|
@@ -679,17 +678,17 @@ function Ms(e, t, l, a) {
|
|
|
679
678
|
o && A.addEventListener("scroll", l, { passive: !0 }), n && A.addEventListener("resize", l);
|
|
680
679
|
});
|
|
681
680
|
const h = v && r ? function(A, y) {
|
|
682
|
-
let k,
|
|
683
|
-
const
|
|
681
|
+
let k, w = null;
|
|
682
|
+
const _ = Je(A);
|
|
684
683
|
function C() {
|
|
685
|
-
clearTimeout(k),
|
|
684
|
+
clearTimeout(k), w && w.disconnect(), w = null;
|
|
686
685
|
}
|
|
687
686
|
return function T(c, V) {
|
|
688
687
|
c === void 0 && (c = !1), V === void 0 && (V = 1), C();
|
|
689
688
|
const { left: F, top: f, width: I, height: E } = A.getBoundingClientRect();
|
|
690
689
|
if (c || y(), !I || !E)
|
|
691
690
|
return;
|
|
692
|
-
const z = { rootMargin: -qt(f) + "px " + -qt(
|
|
691
|
+
const z = { rootMargin: -qt(f) + "px " + -qt(_.clientWidth - (F + I)) + "px " + -qt(_.clientHeight - (f + E)) + "px " + -qt(F) + "px", threshold: ht(0, _a(1, V)) || 1 };
|
|
693
692
|
let Z = !0;
|
|
694
693
|
function te(G) {
|
|
695
694
|
const W = G[0].intersectionRatio;
|
|
@@ -703,11 +702,11 @@ function Ms(e, t, l, a) {
|
|
|
703
702
|
Z = !1;
|
|
704
703
|
}
|
|
705
704
|
try {
|
|
706
|
-
|
|
705
|
+
w = new IntersectionObserver(te, { ...z, root: _.ownerDocument });
|
|
707
706
|
} catch {
|
|
708
|
-
|
|
707
|
+
w = new IntersectionObserver(te, z);
|
|
709
708
|
}
|
|
710
|
-
|
|
709
|
+
w.observe(A);
|
|
711
710
|
}(!0), C;
|
|
712
711
|
}(v, l) : null;
|
|
713
712
|
let p, B = -1, S = null;
|
|
@@ -751,7 +750,7 @@ function js(e) {
|
|
|
751
750
|
function Ho(e) {
|
|
752
751
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
753
752
|
}
|
|
754
|
-
function
|
|
753
|
+
function _l(e, t) {
|
|
755
754
|
const l = Ho(e);
|
|
756
755
|
return Math.round(t * l) / l;
|
|
757
756
|
}
|
|
@@ -777,7 +776,7 @@ function Ro(e, t, l) {
|
|
|
777
776
|
};
|
|
778
777
|
if (!b.value)
|
|
779
778
|
return c;
|
|
780
|
-
const V =
|
|
779
|
+
const V = _l(b.value, h.value), F = _l(b.value, p.value);
|
|
781
780
|
return i.value ? {
|
|
782
781
|
...c,
|
|
783
782
|
transform: "translate(" + V + "px, " + F + "px)",
|
|
@@ -791,7 +790,7 @@ function Ro(e, t, l) {
|
|
|
791
790
|
};
|
|
792
791
|
});
|
|
793
792
|
let k;
|
|
794
|
-
function
|
|
793
|
+
function w() {
|
|
795
794
|
v.value == null || b.value == null || Ds(v.value, b.value, {
|
|
796
795
|
middleware: n.value,
|
|
797
796
|
placement: s.value,
|
|
@@ -800,29 +799,29 @@ function Ro(e, t, l) {
|
|
|
800
799
|
h.value = c.x, p.value = c.y, B.value = c.strategy, S.value = c.placement, m.value = c.middlewareData, A.value = !0;
|
|
801
800
|
});
|
|
802
801
|
}
|
|
803
|
-
function
|
|
802
|
+
function _() {
|
|
804
803
|
typeof k == "function" && (k(), k = void 0);
|
|
805
804
|
}
|
|
806
805
|
function C() {
|
|
807
|
-
if (
|
|
808
|
-
|
|
806
|
+
if (_(), a === void 0) {
|
|
807
|
+
w();
|
|
809
808
|
return;
|
|
810
809
|
}
|
|
811
810
|
if (v.value != null && b.value != null) {
|
|
812
|
-
k = a(v.value, b.value,
|
|
811
|
+
k = a(v.value, b.value, w);
|
|
813
812
|
return;
|
|
814
813
|
}
|
|
815
814
|
}
|
|
816
815
|
function T() {
|
|
817
816
|
o.value || (A.value = !1);
|
|
818
817
|
}
|
|
819
|
-
return oe([n, s, r],
|
|
818
|
+
return oe([n, s, r], w, {
|
|
820
819
|
flush: "sync"
|
|
821
820
|
}), oe([v, b], C, {
|
|
822
821
|
flush: "sync"
|
|
823
822
|
}), oe(o, T, {
|
|
824
823
|
flush: "sync"
|
|
825
|
-
}), oo() && no(
|
|
824
|
+
}), oo() && no(_), {
|
|
826
825
|
x: vt(h),
|
|
827
826
|
y: vt(p),
|
|
828
827
|
strategy: vt(B),
|
|
@@ -830,7 +829,7 @@ function Ro(e, t, l) {
|
|
|
830
829
|
middlewareData: vt(m),
|
|
831
830
|
isPositioned: vt(A),
|
|
832
831
|
floatingStyles: y,
|
|
833
|
-
update:
|
|
832
|
+
update: w
|
|
834
833
|
};
|
|
835
834
|
}
|
|
836
835
|
const qs = /* @__PURE__ */ new Set([
|
|
@@ -1074,7 +1073,7 @@ function Ke(e) {
|
|
|
1074
1073
|
return (t = l == null ? void 0 : l.$el) != null ? t : l;
|
|
1075
1074
|
}
|
|
1076
1075
|
const Ze = la ? window : void 0;
|
|
1077
|
-
function
|
|
1076
|
+
function we(...e) {
|
|
1078
1077
|
let t, l, a, o;
|
|
1079
1078
|
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([l, a, o] = e, t = Ze) : [t, l, a, o] = e, !t)
|
|
1080
1079
|
return Nt;
|
|
@@ -1109,7 +1108,7 @@ function Wo(e, t, l = {}) {
|
|
|
1109
1108
|
return S && (p.target === S || p.composedPath().includes(S));
|
|
1110
1109
|
}
|
|
1111
1110
|
}), b = [
|
|
1112
|
-
|
|
1111
|
+
we(a, "click", (p) => {
|
|
1113
1112
|
const B = Ke(e);
|
|
1114
1113
|
if (!(!B || B === p.target || p.composedPath().includes(B))) {
|
|
1115
1114
|
if (p.detail === 0 && (r = !i(p)), !r) {
|
|
@@ -1119,11 +1118,11 @@ function Wo(e, t, l = {}) {
|
|
|
1119
1118
|
t(p);
|
|
1120
1119
|
}
|
|
1121
1120
|
}, { passive: !0, capture: n }),
|
|
1122
|
-
|
|
1121
|
+
we(a, "pointerdown", (p) => {
|
|
1123
1122
|
const B = Ke(e);
|
|
1124
1123
|
B && (r = !p.composedPath().includes(B) && !i(p));
|
|
1125
1124
|
}, { passive: !0 }),
|
|
1126
|
-
s &&
|
|
1125
|
+
s && we(a, "blur", (p) => {
|
|
1127
1126
|
setTimeout(() => {
|
|
1128
1127
|
var B;
|
|
1129
1128
|
const S = Ke(e);
|
|
@@ -1139,12 +1138,12 @@ function Sr() {
|
|
|
1139
1138
|
e.value = !0;
|
|
1140
1139
|
}), e;
|
|
1141
1140
|
}
|
|
1142
|
-
function
|
|
1141
|
+
function wr(e) {
|
|
1143
1142
|
const t = Sr();
|
|
1144
1143
|
return u(() => (t.value, !!e()));
|
|
1145
1144
|
}
|
|
1146
|
-
function
|
|
1147
|
-
const { window: l = Ze } = t, a =
|
|
1145
|
+
function _r(e, t = {}) {
|
|
1146
|
+
const { window: l = Ze } = t, a = wr(() => l && "matchMedia" in l && typeof l.matchMedia == "function");
|
|
1148
1147
|
let o;
|
|
1149
1148
|
const n = R(!1), s = () => {
|
|
1150
1149
|
o && ("removeEventListener" in o ? o.removeEventListener("change", r) : o.removeListener(r));
|
|
@@ -1234,13 +1233,13 @@ function Pr(e, t, l, a = {}) {
|
|
|
1234
1233
|
}
|
|
1235
1234
|
if (!l)
|
|
1236
1235
|
return S;
|
|
1237
|
-
const m = ft(t), A = Tr(m), y = (o = a.serializer) != null ? o : Fr[A], { pause: k, resume:
|
|
1236
|
+
const m = ft(t), A = Tr(m), y = (o = a.serializer) != null ? o : Fr[A], { pause: k, resume: w } = Br(
|
|
1238
1237
|
S,
|
|
1239
|
-
() =>
|
|
1238
|
+
() => _(S.value),
|
|
1240
1239
|
{ flush: n, deep: s, eventFilter: p }
|
|
1241
1240
|
);
|
|
1242
|
-
return h && r && (
|
|
1243
|
-
function
|
|
1241
|
+
return h && r && (we(h, "storage", c), we(h, Pl, T)), c(), S;
|
|
1242
|
+
function _(V) {
|
|
1244
1243
|
try {
|
|
1245
1244
|
if (V == null)
|
|
1246
1245
|
l.removeItem(e);
|
|
@@ -1285,14 +1284,14 @@ function Pr(e, t, l, a = {}) {
|
|
|
1285
1284
|
} catch (F) {
|
|
1286
1285
|
B(F);
|
|
1287
1286
|
} finally {
|
|
1288
|
-
V ? Ce(
|
|
1287
|
+
V ? Ce(w) : w();
|
|
1289
1288
|
}
|
|
1290
1289
|
}
|
|
1291
1290
|
}
|
|
1292
1291
|
}
|
|
1293
1292
|
}
|
|
1294
1293
|
function Er(e) {
|
|
1295
|
-
return
|
|
1294
|
+
return _r("(prefers-color-scheme: dark)", e);
|
|
1296
1295
|
}
|
|
1297
1296
|
var Ir = Object.defineProperty, El = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Il = (e, t, l) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, Nr = (e, t) => {
|
|
1298
1297
|
for (var l in t || (t = {}))
|
|
@@ -1322,8 +1321,8 @@ function zr(e = {}) {
|
|
|
1322
1321
|
() => S.value === "auto" ? B.value : S.value
|
|
1323
1322
|
), A = Za(
|
|
1324
1323
|
"updateHTMLAttrs",
|
|
1325
|
-
(
|
|
1326
|
-
const c = typeof
|
|
1324
|
+
(_, C, T) => {
|
|
1325
|
+
const c = typeof _ == "string" ? o == null ? void 0 : o.document.querySelector(_) : Ke(_);
|
|
1327
1326
|
if (!c)
|
|
1328
1327
|
return;
|
|
1329
1328
|
let V;
|
|
@@ -1342,31 +1341,31 @@ function zr(e = {}) {
|
|
|
1342
1341
|
b && (o.getComputedStyle(V).opacity, document.head.removeChild(V));
|
|
1343
1342
|
}
|
|
1344
1343
|
);
|
|
1345
|
-
function y(
|
|
1344
|
+
function y(_) {
|
|
1346
1345
|
var C;
|
|
1347
|
-
A(t, l, (C = h[
|
|
1346
|
+
A(t, l, (C = h[_]) != null ? C : _);
|
|
1348
1347
|
}
|
|
1349
|
-
function k(
|
|
1350
|
-
e.onChanged ? e.onChanged(
|
|
1348
|
+
function k(_) {
|
|
1349
|
+
e.onChanged ? e.onChanged(_, y) : y(_);
|
|
1351
1350
|
}
|
|
1352
1351
|
oe(m, k, { flush: "post", immediate: !0 }), ir(() => k(m.value));
|
|
1353
|
-
const
|
|
1352
|
+
const w = u({
|
|
1354
1353
|
get() {
|
|
1355
1354
|
return v ? S.value : m.value;
|
|
1356
1355
|
},
|
|
1357
|
-
set(
|
|
1358
|
-
S.value =
|
|
1356
|
+
set(_) {
|
|
1357
|
+
S.value = _;
|
|
1359
1358
|
}
|
|
1360
1359
|
});
|
|
1361
1360
|
try {
|
|
1362
|
-
return Object.assign(
|
|
1361
|
+
return Object.assign(w, { store: S, system: B, state: m });
|
|
1363
1362
|
} catch {
|
|
1364
|
-
return
|
|
1363
|
+
return w;
|
|
1365
1364
|
}
|
|
1366
1365
|
}
|
|
1367
1366
|
function Ee(e, t = {}) {
|
|
1368
1367
|
const { initialValue: l = !1 } = t, a = R(!1), o = u(() => Ke(e));
|
|
1369
|
-
|
|
1368
|
+
we(o, "focus", () => a.value = !0), we(o, "blur", () => a.value = !1);
|
|
1370
1369
|
const n = u({
|
|
1371
1370
|
get: () => a.value,
|
|
1372
1371
|
set(s) {
|
|
@@ -1408,7 +1407,7 @@ function Rr(e = {}) {
|
|
|
1408
1407
|
}, S = () => {
|
|
1409
1408
|
i.value = o.x, v.value = o.y;
|
|
1410
1409
|
}, m = r ? (y) => r(() => p(y), {}) : (y) => p(y), A = r ? (y) => r(() => B(y), {}) : (y) => B(y);
|
|
1411
|
-
return s && (
|
|
1410
|
+
return s && (we(s, "mousemove", m, { passive: !0 }), we(s, "dragover", m, { passive: !0 }), l && t !== "movement" && (we(s, "touchstart", A, { passive: !0 }), we(s, "touchmove", A, { passive: !0 }), a && we(s, "touchend", S, { passive: !0 }))), {
|
|
1412
1411
|
x: i,
|
|
1413
1412
|
y: v,
|
|
1414
1413
|
sourceType: b
|
|
@@ -1430,15 +1429,15 @@ function xl(e, t = {}) {
|
|
|
1430
1429
|
const {
|
|
1431
1430
|
left: y,
|
|
1432
1431
|
top: k,
|
|
1433
|
-
width:
|
|
1434
|
-
height:
|
|
1432
|
+
width: w,
|
|
1433
|
+
height: _
|
|
1435
1434
|
} = A.getBoundingClientRect();
|
|
1436
|
-
b.value = y + a.pageXOffset, h.value = k + a.pageYOffset, p.value =
|
|
1435
|
+
b.value = y + a.pageXOffset, h.value = k + a.pageYOffset, p.value = _, B.value = w;
|
|
1437
1436
|
const C = o.value - b.value, T = n.value - h.value;
|
|
1438
|
-
S.value =
|
|
1437
|
+
S.value = w === 0 || _ === 0 || C < 0 || T < 0 || C > w || T > _, (l || !S.value) && (i.value = C, v.value = T);
|
|
1439
1438
|
},
|
|
1440
1439
|
{ immediate: !0 }
|
|
1441
|
-
),
|
|
1440
|
+
), we(document, "mouseleave", () => {
|
|
1442
1441
|
S.value = !0;
|
|
1443
1442
|
})), {
|
|
1444
1443
|
x: o,
|
|
@@ -1480,7 +1479,7 @@ function Dr(e, t = !1) {
|
|
|
1480
1479
|
});
|
|
1481
1480
|
const n = () => {
|
|
1482
1481
|
const r = ft(e);
|
|
1483
|
-
!r || l.value || (Ca && (a =
|
|
1482
|
+
!r || l.value || (Ca && (a = we(
|
|
1484
1483
|
r,
|
|
1485
1484
|
"touchmove",
|
|
1486
1485
|
(i) => {
|
|
@@ -1511,30 +1510,30 @@ function jr(e, t = {}) {
|
|
|
1511
1510
|
window: r = Ze
|
|
1512
1511
|
} = t, i = St({ x: 0, y: 0 }), v = St({ x: 0, y: 0 }), b = u(() => i.x - v.x), h = u(() => i.y - v.y), { max: p, abs: B } = Math, S = u(() => p(B(b.value), B(h.value)) >= l), m = R(!1), A = u(() => S.value ? B(b.value) > B(h.value) ? b.value > 0 ? "left" : "right" : h.value > 0 ? "up" : "down" : "none"), y = (F) => [F.touches[0].clientX, F.touches[0].clientY], k = (F, f) => {
|
|
1513
1512
|
i.x = F, i.y = f;
|
|
1514
|
-
},
|
|
1513
|
+
}, w = (F, f) => {
|
|
1515
1514
|
v.x = F, v.y = f;
|
|
1516
1515
|
};
|
|
1517
|
-
let
|
|
1516
|
+
let _;
|
|
1518
1517
|
const C = qr(r == null ? void 0 : r.document);
|
|
1519
|
-
s ?
|
|
1518
|
+
s ? _ = C ? { passive: !0 } : { capture: !1 } : _ = C ? { passive: !1, capture: !0 } : { capture: !0 };
|
|
1520
1519
|
const T = (F) => {
|
|
1521
1520
|
m.value && (o == null || o(F, A.value)), m.value = !1;
|
|
1522
1521
|
}, c = [
|
|
1523
|
-
|
|
1522
|
+
we(e, "touchstart", (F) => {
|
|
1524
1523
|
if (F.touches.length !== 1)
|
|
1525
1524
|
return;
|
|
1526
|
-
|
|
1525
|
+
_.capture && !_.passive && F.preventDefault();
|
|
1527
1526
|
const [f, I] = y(F);
|
|
1528
|
-
k(f, I),
|
|
1529
|
-
},
|
|
1530
|
-
|
|
1527
|
+
k(f, I), w(f, I), n == null || n(F);
|
|
1528
|
+
}, _),
|
|
1529
|
+
we(e, "touchmove", (F) => {
|
|
1531
1530
|
if (F.touches.length !== 1)
|
|
1532
1531
|
return;
|
|
1533
1532
|
const [f, I] = y(F);
|
|
1534
|
-
|
|
1535
|
-
},
|
|
1536
|
-
|
|
1537
|
-
|
|
1533
|
+
w(f, I), !m.value && S.value && (m.value = !0), m.value && (a == null || a(F));
|
|
1534
|
+
}, _),
|
|
1535
|
+
we(e, "touchend", T, _),
|
|
1536
|
+
we(e, "touchcancel", T, _)
|
|
1538
1537
|
];
|
|
1539
1538
|
return {
|
|
1540
1539
|
isPassiveEventSupported: C,
|
|
@@ -1570,28 +1569,28 @@ function Se(e, t, l, a = {}) {
|
|
|
1570
1569
|
} = a, B = ia(), S = l || (B == null ? void 0 : B.emit) || ((o = B == null ? void 0 : B.$emit) == null ? void 0 : o.bind(B)) || ((s = (n = B == null ? void 0 : B.proxy) == null ? void 0 : n.$emit) == null ? void 0 : s.bind(B == null ? void 0 : B.proxy));
|
|
1571
1570
|
let m = v;
|
|
1572
1571
|
t || (t = "modelValue"), m = m || `update:${t.toString()}`;
|
|
1573
|
-
const A = (
|
|
1574
|
-
p ? p(
|
|
1572
|
+
const A = (w) => r ? typeof r == "function" ? r(w) : $r(w) : w, y = () => or(e[t]) ? A(e[t]) : h, k = (w) => {
|
|
1573
|
+
p ? p(w) && S(m, w) : S(m, w);
|
|
1575
1574
|
};
|
|
1576
1575
|
if (i) {
|
|
1577
|
-
const
|
|
1576
|
+
const w = y(), _ = R(w);
|
|
1578
1577
|
return oe(
|
|
1579
1578
|
() => e[t],
|
|
1580
|
-
(C) =>
|
|
1579
|
+
(C) => _.value = A(C)
|
|
1581
1580
|
), oe(
|
|
1582
|
-
|
|
1581
|
+
_,
|
|
1583
1582
|
(C) => {
|
|
1584
1583
|
(C !== e[t] || b) && k(C);
|
|
1585
1584
|
},
|
|
1586
1585
|
{ deep: b }
|
|
1587
|
-
),
|
|
1586
|
+
), _;
|
|
1588
1587
|
} else
|
|
1589
1588
|
return u({
|
|
1590
1589
|
get() {
|
|
1591
1590
|
return y();
|
|
1592
1591
|
},
|
|
1593
|
-
set(
|
|
1594
|
-
k(
|
|
1592
|
+
set(w) {
|
|
1593
|
+
k(w);
|
|
1595
1594
|
}
|
|
1596
1595
|
});
|
|
1597
1596
|
}
|
|
@@ -1715,7 +1714,7 @@ const Xo = ar(() => {
|
|
|
1715
1714
|
}), en = (e, t) => {
|
|
1716
1715
|
const l = R(null);
|
|
1717
1716
|
let a = null, o = !0;
|
|
1718
|
-
const n =
|
|
1717
|
+
const n = _e(() => e.id, "input"), s = d(() => e.autofocus), r = d(() => e.disabled), i = d(() => e.lazy), v = d(() => e.lazyFormatter), b = d(() => e.number);
|
|
1719
1718
|
d(() => e.plaintext), d(() => e.readonly), d(() => e.required);
|
|
1720
1719
|
const h = d(() => e.state), p = d(() => e.trim), { focused: B } = Ee(l, {
|
|
1721
1720
|
initialValue: s.value
|
|
@@ -1741,7 +1740,7 @@ const Xo = ar(() => {
|
|
|
1741
1740
|
return;
|
|
1742
1741
|
const f = m(F);
|
|
1743
1742
|
e.modelValue !== f && (a = V, t("update:modelValue", f)), t("input", F);
|
|
1744
|
-
},
|
|
1743
|
+
}, w = (c) => {
|
|
1745
1744
|
const { value: V } = c.target, F = S(V, c);
|
|
1746
1745
|
if (F === !1 || c.defaultPrevented) {
|
|
1747
1746
|
c.preventDefault();
|
|
@@ -1752,7 +1751,7 @@ const Xo = ar(() => {
|
|
|
1752
1751
|
a = V, t("update:modelValue", F);
|
|
1753
1752
|
const f = m(F);
|
|
1754
1753
|
e.modelValue !== f && t("change", F);
|
|
1755
|
-
},
|
|
1754
|
+
}, _ = (c) => {
|
|
1756
1755
|
if (t("blur", c), !i.value && !v.value)
|
|
1757
1756
|
return;
|
|
1758
1757
|
const { value: V } = c.target, F = S(V, c, !0);
|
|
@@ -1773,8 +1772,8 @@ const Xo = ar(() => {
|
|
|
1773
1772
|
computedId: n,
|
|
1774
1773
|
computedAriaInvalid: y,
|
|
1775
1774
|
onInput: k,
|
|
1776
|
-
onChange:
|
|
1777
|
-
onBlur:
|
|
1775
|
+
onChange: w,
|
|
1776
|
+
onBlur: _,
|
|
1778
1777
|
focus: C,
|
|
1779
1778
|
blur: T
|
|
1780
1779
|
};
|
|
@@ -1813,7 +1812,7 @@ const Xo = ar(() => {
|
|
|
1813
1812
|
default:
|
|
1814
1813
|
return ga(o, String(a), t, l);
|
|
1815
1814
|
}
|
|
1816
|
-
})) : [],
|
|
1815
|
+
})) : [], _e = (e, t) => u(() => Qe(e) || at(t)), ya = "modal-open", Ur = lr(() => {
|
|
1817
1816
|
const { count: e, inc: t, dec: l } = ur(), a = Za("updateHTMLAttrs", (o, n, s) => {
|
|
1818
1817
|
const r = typeof o == "string" ? window == null ? void 0 : window.document.querySelector(o) : Ke(o);
|
|
1819
1818
|
r && (n === "class" ? r.classList.toggle(ya, s === ya) : r.setAttribute(n, s));
|
|
@@ -1933,7 +1932,7 @@ const Xo = ar(() => {
|
|
|
1933
1932
|
}), oe(o, () => {
|
|
1934
1933
|
o.value !== n.value && (o.value ? x() : D(new Event("update:modelValue")));
|
|
1935
1934
|
});
|
|
1936
|
-
const r =
|
|
1935
|
+
const r = _e(() => a.id, "popover"), i = d(() => a.click), v = d(() => a.manual), b = d(() => a.noShift), h = d(() => a.noFlip), p = d(() => a.noFade), B = d(() => a.noAutoClose), S = d(() => a.hide), m = d(() => a.realtime), A = d(() => a.inline), y = d(() => a.tooltip), k = d(() => a.html), w = R(!1), _ = R(null), C = R(null), T = R(null), c = R(null), V = R(null), F = (U) => {
|
|
1937
1936
|
if (typeof U == "string" || U instanceof HTMLElement)
|
|
1938
1937
|
return U;
|
|
1939
1938
|
if (typeof U == "function")
|
|
@@ -1963,7 +1962,7 @@ const Xo = ar(() => {
|
|
|
1963
1962
|
), b.value === !1 && se.push(Po()), S.value === !0 && se.push(Is({ padding: 10 })), A.value === !0 && se.push(xs()), se.push(js({ element: T, padding: 10 })), se;
|
|
1964
1963
|
}), te = u(
|
|
1965
1964
|
() => z.value ? void 0 : a.placement
|
|
1966
|
-
), { x: G, y: W, strategy: X, middlewareData: ve, placement: ge, update: pe } = Ro(C,
|
|
1965
|
+
), { x: G, y: W, strategy: X, middlewareData: ve, placement: ge, update: pe } = Ro(C, _, {
|
|
1967
1966
|
placement: te,
|
|
1968
1967
|
middleware: Z,
|
|
1969
1968
|
strategy: a.strategy,
|
|
@@ -1971,7 +1970,7 @@ const Xo = ar(() => {
|
|
|
1971
1970
|
}), me = R({ position: "absolute" });
|
|
1972
1971
|
oe(ve, () => {
|
|
1973
1972
|
var U;
|
|
1974
|
-
if (S.value === !0 && ((U = ve.value.hide) != null && U.referenceHidden ?
|
|
1973
|
+
if (S.value === !0 && ((U = ve.value.hide) != null && U.referenceHidden ? w.value = !0 : w.value = !1), ve.value.arrow) {
|
|
1975
1974
|
const { x: se, y: Ie } = ve.value.arrow;
|
|
1976
1975
|
me.value = {
|
|
1977
1976
|
position: "absolute",
|
|
@@ -1987,7 +1986,7 @@ const Xo = ar(() => {
|
|
|
1987
1986
|
`b-${U}`,
|
|
1988
1987
|
{
|
|
1989
1988
|
[`b-${U}-${a.variant}`]: a.variant !== null,
|
|
1990
|
-
show: n.value && !
|
|
1989
|
+
show: n.value && !w.value,
|
|
1991
1990
|
["pe-none"]: !n.value,
|
|
1992
1991
|
fade: !p.value,
|
|
1993
1992
|
["d-none"]: !n.value && p.value,
|
|
@@ -1995,12 +1994,12 @@ const Xo = ar(() => {
|
|
|
1995
1994
|
[`bs-${U}-${li(ge.value)}`]: ge.value !== void 0
|
|
1996
1995
|
}
|
|
1997
1996
|
];
|
|
1998
|
-
}), { isOutside: Q } = xl(
|
|
1997
|
+
}), { isOutside: Q } = xl(_), { isOutside: re } = xl(c), de = (U) => {
|
|
1999
1998
|
const se = U ?? new Event("click");
|
|
2000
1999
|
n.value ? D(se) : x();
|
|
2001
2000
|
}, L = (U, se = {}) => new Rt(U, {
|
|
2002
2001
|
cancelable: !1,
|
|
2003
|
-
target:
|
|
2002
|
+
target: _.value || null,
|
|
2004
2003
|
relatedTarget: null,
|
|
2005
2004
|
trigger: null,
|
|
2006
2005
|
...se,
|
|
@@ -2032,12 +2031,12 @@ const Xo = ar(() => {
|
|
|
2032
2031
|
const Ie = typeof a.delay == "number" ? a.delay : ((et = a.delay) == null ? void 0 : et.hide) || 100;
|
|
2033
2032
|
setTimeout(() => {
|
|
2034
2033
|
var tt;
|
|
2035
|
-
(U == null ? void 0 : U.type) === "click" || (U == null ? void 0 : U.type) === "update:modelValue" && v.value || Q.value && re.value && !((tt =
|
|
2034
|
+
(U == null ? void 0 : U.type) === "click" || (U == null ? void 0 : U.type) === "update:modelValue" && v.value || Q.value && re.value && !((tt = _.value) != null && tt.contains(document == null ? void 0 : document.activeElement)) ? (n.value = !1, Ce(() => {
|
|
2036
2035
|
setTimeout(
|
|
2037
2036
|
() => {
|
|
2038
2037
|
s.value = !1;
|
|
2039
2038
|
},
|
|
2040
|
-
|
|
2039
|
+
_.value ? ha(_.value) : 150
|
|
2041
2040
|
), l("hidden", L("hidden"));
|
|
2042
2041
|
})) : setTimeout(() => {
|
|
2043
2042
|
D(U);
|
|
@@ -2066,7 +2065,7 @@ const Xo = ar(() => {
|
|
|
2066
2065
|
c.value && (c.value.removeEventListener("click", de), c.value.removeEventListener("pointerenter", x), c.value.removeEventListener("pointerleave", D), c.value.removeEventListener("focus", x), c.value.removeEventListener("blur", D));
|
|
2067
2066
|
};
|
|
2068
2067
|
return Wo(
|
|
2069
|
-
|
|
2068
|
+
_,
|
|
2070
2069
|
() => {
|
|
2071
2070
|
n.value && i.value && !B.value && !v.value && D(new Event("clickOutside"));
|
|
2072
2071
|
},
|
|
@@ -2090,7 +2089,7 @@ const Xo = ar(() => {
|
|
|
2090
2089
|
id: U.id
|
|
2091
2090
|
}, U.$attrs, {
|
|
2092
2091
|
ref_key: "element",
|
|
2093
|
-
ref:
|
|
2092
|
+
ref: _,
|
|
2094
2093
|
class: q.value,
|
|
2095
2094
|
role: "tooltip",
|
|
2096
2095
|
tabindex: "-1",
|
|
@@ -2216,7 +2215,7 @@ const Xo = ar(() => {
|
|
|
2216
2215
|
},
|
|
2217
2216
|
emits: ["update:modelValue"],
|
|
2218
2217
|
setup(e, { emit: t }) {
|
|
2219
|
-
const l = e, a = Se(l, "modelValue", t, { passive: !0 }), o =
|
|
2218
|
+
const l = e, a = Se(l, "modelValue", t, { passive: !0 }), o = _e(() => l.id, "accordion"), n = d(() => l.flush), s = d(() => l.free), r = u(() => ({
|
|
2220
2219
|
"accordion-flush": n.value
|
|
2221
2220
|
}));
|
|
2222
2221
|
return De($o, {
|
|
@@ -2253,7 +2252,7 @@ const Xo = ar(() => {
|
|
|
2253
2252
|
trigger: null,
|
|
2254
2253
|
...T,
|
|
2255
2254
|
componentId: h.value
|
|
2256
|
-
}), n = Se(a, "modelValue", l, { passive: !0 }), s = d(n), r = d(() => a.toggle), i = d(() => a.horizontal), v = d(() => a.isNav), b = d(() => a.visible), h =
|
|
2255
|
+
}), n = Se(a, "modelValue", l, { passive: !0 }), s = d(n), r = d(() => a.toggle), i = d(() => a.horizontal), v = d(() => a.isNav), b = d(() => a.visible), h = _e(() => a.id, "collapse"), p = R(null), B = R(!1), S = R(s.value), m = u(() => ({
|
|
2257
2256
|
show: S.value,
|
|
2258
2257
|
"navbar-collapse": v.value,
|
|
2259
2258
|
collapsing: B.value,
|
|
@@ -2265,7 +2264,7 @@ const Xo = ar(() => {
|
|
|
2265
2264
|
n.value = !0;
|
|
2266
2265
|
}, k = () => {
|
|
2267
2266
|
n.value = !s.value;
|
|
2268
|
-
},
|
|
2267
|
+
}, w = () => {
|
|
2269
2268
|
S.value = !0, B.value = !0;
|
|
2270
2269
|
const C = o("show", { cancelable: !0 });
|
|
2271
2270
|
if (l("show", C), C.defaultPrevented) {
|
|
@@ -2277,7 +2276,7 @@ const Xo = ar(() => {
|
|
|
2277
2276
|
B.value = !1, l("shown", o("shown")), p.value !== null && (p.value.style.height = "", p.value.style.width = "");
|
|
2278
2277
|
}, ha(p.value)));
|
|
2279
2278
|
});
|
|
2280
|
-
},
|
|
2279
|
+
}, _ = () => {
|
|
2281
2280
|
const C = o("hide", { cancelable: !0 });
|
|
2282
2281
|
if (l("hide", C), C.defaultPrevented) {
|
|
2283
2282
|
l("hide-prevented");
|
|
@@ -2293,17 +2292,17 @@ const Xo = ar(() => {
|
|
|
2293
2292
|
if (s.value === !0) {
|
|
2294
2293
|
if (S.value)
|
|
2295
2294
|
return;
|
|
2296
|
-
|
|
2295
|
+
w();
|
|
2297
2296
|
return;
|
|
2298
2297
|
}
|
|
2299
|
-
|
|
2298
|
+
_();
|
|
2300
2299
|
}), He(() => {
|
|
2301
2300
|
p.value !== null && !s.value && r.value && Ce(() => {
|
|
2302
2301
|
n.value = !0;
|
|
2303
2302
|
});
|
|
2304
2303
|
}), b.value && (n.value = !0, S.value = !0), oe(b, (C) => {
|
|
2305
2304
|
C ? y() : A();
|
|
2306
|
-
}),
|
|
2305
|
+
}), we(p, "bv-toggle", () => {
|
|
2307
2306
|
n.value = !s.value;
|
|
2308
2307
|
}), t({
|
|
2309
2308
|
close: A,
|
|
@@ -2358,7 +2357,7 @@ const Xo = ar(() => {
|
|
|
2358
2357
|
hidden: (r) => t("hidden", r),
|
|
2359
2358
|
"hide-prevented": () => t("hide-prevented"),
|
|
2360
2359
|
"show-prevented": () => t("show-prevented")
|
|
2361
|
-
}, o = Se(l, "modelValue", t, { passive: !0 }), n = Oe($o, null), s =
|
|
2360
|
+
}, o = Se(l, "modelValue", t, { passive: !0 }), n = Oe($o, null), s = _e(() => l.id, "accordion_item");
|
|
2362
2361
|
return He(() => {
|
|
2363
2362
|
o.value && !(n != null && n.free.value) && (n == null || n.setOpenItem(s.value)), !o.value && (n == null ? void 0 : n.openItem.value) === s.value && (o.value = !0);
|
|
2364
2363
|
}), oe(
|
|
@@ -2563,7 +2562,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2563
2562
|
var y;
|
|
2564
2563
|
i !== null && ((y = r == null ? void 0 : r.close) == null || y.call(r));
|
|
2565
2564
|
}, b = ia(), h = u(() => {
|
|
2566
|
-
const y = l.routerComponentName.split("-").map((
|
|
2565
|
+
const y = l.routerComponentName.split("-").map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join("");
|
|
2567
2566
|
return !((b == null ? void 0 : b.appContext.app.component(y)) !== void 0) || s.value || !l.to ? "a" : l.routerComponentName;
|
|
2568
2567
|
}), p = u(() => {
|
|
2569
2568
|
const y = "#";
|
|
@@ -2573,8 +2572,8 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2573
2572
|
return l.to || y;
|
|
2574
2573
|
const k = l.to;
|
|
2575
2574
|
if (Object.prototype.toString.call(k) === "[object Object]" && (k.path || k.query || k.hash)) {
|
|
2576
|
-
const
|
|
2577
|
-
return `${
|
|
2575
|
+
const w = k.path || "", _ = k.query ? `?${Object.keys(k.query).map((T) => `${T}=${k.query[T]}`).join("=")}` : "", C = !k.hash || k.hash.charAt(0) === "#" ? k.hash || "" : `#${k.hash}`;
|
|
2576
|
+
return `${w}${_}${C}` || y;
|
|
2578
2577
|
}
|
|
2579
2578
|
return y;
|
|
2580
2579
|
}), B = u(() => ({
|
|
@@ -2607,13 +2606,13 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2607
2606
|
(k = r == null ? void 0 : r.close) == null || k.call(r), t("click", y);
|
|
2608
2607
|
};
|
|
2609
2608
|
return (y, k) => h.value === "router-link" ? (g(), M(le(h.value), ee({ key: 0 }, S.value, { custom: "" }), {
|
|
2610
|
-
default: j(({ href:
|
|
2609
|
+
default: j(({ href: w, navigate: _, isActive: C }) => [
|
|
2611
2610
|
(g(), M(le(y.routerTag), ee({
|
|
2612
|
-
href:
|
|
2611
|
+
href: w,
|
|
2613
2612
|
class: [($(o) ?? C) && y.activeClass]
|
|
2614
2613
|
}, y.$attrs, {
|
|
2615
2614
|
onClick: (T) => {
|
|
2616
|
-
|
|
2615
|
+
_(T), v(), A(T);
|
|
2617
2616
|
}
|
|
2618
2617
|
}), {
|
|
2619
2618
|
default: j(() => [
|
|
@@ -2671,7 +2670,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2671
2670
|
setup(e, { emit: t }) {
|
|
2672
2671
|
const l = e, a = Se(l, "pressed", t), o = d(() => l.active), n = d(() => l.block), s = d(() => l.disabled), r = d(() => l.pill), i = d(() => l.pressed), v = d(() => l.squared), b = d(() => l.loading), h = u(() => typeof i.value == "boolean"), p = u(
|
|
2673
2672
|
() => l.tag === "button" && l.href === void 0 && l.to === void 0
|
|
2674
|
-
), B = u(() =>
|
|
2673
|
+
), B = u(() => wt(l)), S = u(() => l.to !== void 0), m = u(() => l.href !== void 0 ? !1 : !p.value), A = u(() => [
|
|
2675
2674
|
[`btn-${l.size}`],
|
|
2676
2675
|
{
|
|
2677
2676
|
[`btn-${l.variant}`]: l.variant !== null,
|
|
@@ -2700,32 +2699,32 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2700
2699
|
routerTag: S.value ? l.routerTag : null
|
|
2701
2700
|
})), k = u(
|
|
2702
2701
|
() => S.value ? Xe : l.href ? "a" : l.tag
|
|
2703
|
-
),
|
|
2702
|
+
), w = (_) => {
|
|
2704
2703
|
if (s.value) {
|
|
2705
|
-
|
|
2704
|
+
_.preventDefault(), _.stopPropagation();
|
|
2706
2705
|
return;
|
|
2707
2706
|
}
|
|
2708
|
-
t("click",
|
|
2707
|
+
t("click", _), h.value && (a.value = !i.value);
|
|
2709
2708
|
};
|
|
2710
|
-
return (
|
|
2709
|
+
return (_, C) => (g(), M(le(k.value), ee({
|
|
2711
2710
|
class: ["btn", A.value]
|
|
2712
|
-
}, y.value, { onClick:
|
|
2711
|
+
}, y.value, { onClick: w }), {
|
|
2713
2712
|
default: j(() => [
|
|
2714
2713
|
$(b) ? (g(), P("div", {
|
|
2715
2714
|
key: 0,
|
|
2716
|
-
class: H(["btn-loading", { "mode-fill":
|
|
2715
|
+
class: H(["btn-loading", { "mode-fill": _.loadingMode === "fill", "mode-inline": _.loadingMode === "inline" }])
|
|
2717
2716
|
}, [
|
|
2718
|
-
O(
|
|
2717
|
+
O(_.$slots, "loading", {}, () => [
|
|
2719
2718
|
be(pa, {
|
|
2720
2719
|
class: "btn-spinner",
|
|
2721
|
-
small:
|
|
2720
|
+
small: _.size !== "lg"
|
|
2722
2721
|
}, null, 8, ["small"])
|
|
2723
2722
|
])
|
|
2724
2723
|
], 2)) : J("", !0),
|
|
2725
2724
|
K("div", {
|
|
2726
|
-
class: H(["btn-content", { "btn-loading-fill": $(b) &&
|
|
2725
|
+
class: H(["btn-content", { "btn-loading-fill": $(b) && _.loadingMode === "fill" }])
|
|
2727
2726
|
}, [
|
|
2728
|
-
O(
|
|
2727
|
+
O(_.$slots, "default")
|
|
2729
2728
|
], 2)
|
|
2730
2729
|
]),
|
|
2731
2730
|
_: 3
|
|
@@ -2759,17 +2758,17 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2759
2758
|
restart: A,
|
|
2760
2759
|
resume: y,
|
|
2761
2760
|
stop: k,
|
|
2762
|
-
isPaused:
|
|
2763
|
-
value:
|
|
2761
|
+
isPaused: w,
|
|
2762
|
+
value: _
|
|
2764
2763
|
} = Wr(p, () => a.interval, {
|
|
2765
2764
|
immediate: typeof n.value == "number" && i.value
|
|
2766
2765
|
}), C = u(
|
|
2767
|
-
() => typeof n.value == "boolean" ? n.value : S.value || v.value &&
|
|
2766
|
+
() => typeof n.value == "boolean" ? n.value : S.value || v.value && w.value
|
|
2768
2767
|
), T = u(() => ({
|
|
2769
2768
|
variant: a.closeVariant,
|
|
2770
2769
|
type: "button"
|
|
2771
2770
|
}));
|
|
2772
|
-
Ht(() => l("close-countdown",
|
|
2771
|
+
Ht(() => l("close-countdown", _.value));
|
|
2773
2772
|
const c = () => {
|
|
2774
2773
|
typeof n.value == "boolean" ? n.value = !1 : (n.value = 0, k()), l("closed");
|
|
2775
2774
|
}, V = () => {
|
|
@@ -2786,8 +2785,8 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2786
2785
|
role: "alert",
|
|
2787
2786
|
"aria-live": "polite",
|
|
2788
2787
|
"aria-atomic": "true",
|
|
2789
|
-
onMouseenter:
|
|
2790
|
-
onMouseleave: f[0] || (f[0] =
|
|
2788
|
+
onMouseenter: ot(V, ["stop"]),
|
|
2789
|
+
onMouseleave: f[0] || (f[0] = ot(
|
|
2791
2790
|
//@ts-ignore
|
|
2792
2791
|
(...I) => $(y) && $(y)(...I),
|
|
2793
2792
|
["stop"]
|
|
@@ -2861,34 +2860,34 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2861
2860
|
},
|
|
2862
2861
|
emits: ["click", "img-error"],
|
|
2863
2862
|
setup(e, { emit: t }) {
|
|
2864
|
-
const l = e, a = Fe(), o = Oe(
|
|
2863
|
+
const l = e, a = Fe(), o = Oe(_o, null), n = ["sm", null, "lg"], s = 0.4, r = s * 0.7, i = d(() => l.badgeLeft), v = d(() => l.badgeTop), b = d(() => l.button), h = d(() => l.disabled), p = d(() => l.square), B = u(() => !Ae(a.default)), S = u(() => !Ae(a.badge)), m = u(() => !!l.badge || l.badge === "" || S.value), A = u(() => wt(l)), y = u(
|
|
2865
2864
|
() => (o == null ? void 0 : o.size.value) ?? ka(l.size)
|
|
2866
2865
|
), k = u(
|
|
2867
2866
|
() => (o == null ? void 0 : o.variant.value) ?? l.variant
|
|
2868
|
-
),
|
|
2867
|
+
), w = u(() => (o == null ? void 0 : o.rounded.value) ?? l.rounded), _ = u(() => ({
|
|
2869
2868
|
type: b.value && !A.value ? l.buttonType : void 0,
|
|
2870
2869
|
"aria-label": l.ariaLabel || null,
|
|
2871
2870
|
disabled: h.value || null,
|
|
2872
2871
|
// Link props
|
|
2873
|
-
...A.value ? Mt(l,
|
|
2874
|
-
active
|
|
2875
|
-
activeClass
|
|
2876
|
-
append
|
|
2877
|
-
href
|
|
2878
|
-
rel
|
|
2879
|
-
replace
|
|
2880
|
-
routerComponentName
|
|
2881
|
-
target
|
|
2882
|
-
to
|
|
2883
|
-
variant
|
|
2884
|
-
opacity
|
|
2885
|
-
opacityHover
|
|
2886
|
-
underlineVariant
|
|
2887
|
-
underlineOffset
|
|
2888
|
-
underlineOffsetHover
|
|
2889
|
-
underlineOpacity
|
|
2890
|
-
underlineOpacityHover
|
|
2891
|
-
|
|
2872
|
+
...A.value ? Mt(l, [
|
|
2873
|
+
"active",
|
|
2874
|
+
"activeClass",
|
|
2875
|
+
"append",
|
|
2876
|
+
"href",
|
|
2877
|
+
"rel",
|
|
2878
|
+
"replace",
|
|
2879
|
+
"routerComponentName",
|
|
2880
|
+
"target",
|
|
2881
|
+
"to",
|
|
2882
|
+
"variant",
|
|
2883
|
+
"opacity",
|
|
2884
|
+
"opacityHover",
|
|
2885
|
+
"underlineVariant",
|
|
2886
|
+
"underlineOffset",
|
|
2887
|
+
"underlineOffsetHover",
|
|
2888
|
+
"underlineOpacity",
|
|
2889
|
+
"underlineOpacityHover"
|
|
2890
|
+
]) : {}
|
|
2892
2891
|
})), C = u(() => ({
|
|
2893
2892
|
[`bg-${l.badgeVariant}`]: l.badgeVariant !== null
|
|
2894
2893
|
})), T = u(() => l.badge === !0 ? "" : l.badge), c = u(() => ({
|
|
@@ -2897,15 +2896,15 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2897
2896
|
[`b-avatar-${l.size}`]: !!l.size && n.indexOf(ka(l.size)) !== -1,
|
|
2898
2897
|
[`bg-${k.value}`]: k.value !== null,
|
|
2899
2898
|
badge: !b.value && k.value !== null && B.value,
|
|
2900
|
-
rounded:
|
|
2901
|
-
["rounded-circle"]: !p.value &&
|
|
2902
|
-
["rounded-0"]: p.value ||
|
|
2903
|
-
["rounded-1"]: !p.value &&
|
|
2904
|
-
["rounded-3"]: !p.value &&
|
|
2905
|
-
["rounded-top"]: !p.value &&
|
|
2906
|
-
["rounded-bottom"]: !p.value &&
|
|
2907
|
-
["rounded-start"]: !p.value &&
|
|
2908
|
-
["rounded-end"]: !p.value &&
|
|
2899
|
+
rounded: w.value === "" || w.value === !0,
|
|
2900
|
+
["rounded-circle"]: !p.value && w.value === "circle",
|
|
2901
|
+
["rounded-0"]: p.value || w.value === "0",
|
|
2902
|
+
["rounded-1"]: !p.value && w.value === "sm",
|
|
2903
|
+
["rounded-3"]: !p.value && w.value === "lg",
|
|
2904
|
+
["rounded-top"]: !p.value && w.value === "top",
|
|
2905
|
+
["rounded-bottom"]: !p.value && w.value === "bottom",
|
|
2906
|
+
["rounded-start"]: !p.value && w.value === "left",
|
|
2907
|
+
["rounded-end"]: !p.value && w.value === "right",
|
|
2909
2908
|
btn: b.value,
|
|
2910
2909
|
[`btn-${k.value}`]: b.value ? k.value !== null : !1
|
|
2911
2910
|
})), F = u(() => ({
|
|
@@ -2938,7 +2937,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2938
2937
|
return (X, ve) => (g(), M(le(z.value), ee({
|
|
2939
2938
|
class: ["b-avatar", V.value],
|
|
2940
2939
|
style: Z.value
|
|
2941
|
-
},
|
|
2940
|
+
}, _.value, { onClick: G }), {
|
|
2942
2941
|
default: j(() => [
|
|
2943
2942
|
B.value ? (g(), P("span", mi, [
|
|
2944
2943
|
O(X.$slots, "default")
|
|
@@ -2984,7 +2983,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
2984
2983
|
const r = a.value ? `calc(${a.value} * ${o.value})` : null;
|
|
2985
2984
|
return r ? { paddingLeft: r, paddingRight: r } : {};
|
|
2986
2985
|
}), s = (r) => typeof r == "string" && co(r) ? Et(r, 0) : r || 0;
|
|
2987
|
-
return De(
|
|
2986
|
+
return De(_o, {
|
|
2988
2987
|
overlapScale: o,
|
|
2989
2988
|
size: ye(ke(t, "size")),
|
|
2990
2989
|
square: l,
|
|
@@ -3033,7 +3032,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3033
3032
|
icon: { type: [String, Boolean], default: !1 }
|
|
3034
3033
|
},
|
|
3035
3034
|
setup(e) {
|
|
3036
|
-
const t = e, l = d(() => t.pill), a = d(() => t.textIndicator), o = d(() => t.dotIndicator), n = d(() => t.active), s = d(() => t.disabled), r = u(() =>
|
|
3035
|
+
const t = e, l = d(() => t.pill), a = d(() => t.textIndicator), o = d(() => t.dotIndicator), n = d(() => t.active), s = d(() => t.disabled), r = u(() => wt(t)), i = u(() => r.value ? Xe : t.tag), v = u(() => ({
|
|
3037
3036
|
[`bg-${t.variant}`]: t.variant !== null,
|
|
3038
3037
|
active: n.value,
|
|
3039
3038
|
disabled: s.value,
|
|
@@ -3043,27 +3042,27 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3043
3042
|
"p-2 border border-light rounded-circle": o.value,
|
|
3044
3043
|
"text-decoration-none": r.value
|
|
3045
3044
|
})), b = u(
|
|
3046
|
-
() => r.value ? Mt(t,
|
|
3047
|
-
active
|
|
3048
|
-
activeClass
|
|
3049
|
-
append
|
|
3050
|
-
disabled
|
|
3051
|
-
href
|
|
3052
|
-
rel
|
|
3053
|
-
replace
|
|
3054
|
-
routerComponentName
|
|
3055
|
-
target
|
|
3056
|
-
to
|
|
3057
|
-
variant
|
|
3058
|
-
opacity
|
|
3059
|
-
opacityHover
|
|
3060
|
-
underlineVariant
|
|
3061
|
-
underlineOffset
|
|
3062
|
-
underlineOffsetHover
|
|
3063
|
-
underlineOpacity
|
|
3064
|
-
underlineOpacityHover
|
|
3065
|
-
icon
|
|
3066
|
-
|
|
3045
|
+
() => r.value ? Mt(t, [
|
|
3046
|
+
"active",
|
|
3047
|
+
"activeClass",
|
|
3048
|
+
"append",
|
|
3049
|
+
"disabled",
|
|
3050
|
+
"href",
|
|
3051
|
+
"rel",
|
|
3052
|
+
"replace",
|
|
3053
|
+
"routerComponentName",
|
|
3054
|
+
"target",
|
|
3055
|
+
"to",
|
|
3056
|
+
"variant",
|
|
3057
|
+
"opacity",
|
|
3058
|
+
"opacityHover",
|
|
3059
|
+
"underlineVariant",
|
|
3060
|
+
"underlineOffset",
|
|
3061
|
+
"underlineOffsetHover",
|
|
3062
|
+
"underlineOpacity",
|
|
3063
|
+
"underlineOpacityHover",
|
|
3064
|
+
"icon"
|
|
3065
|
+
]) : {}
|
|
3067
3066
|
);
|
|
3068
3067
|
return (h, p) => (g(), M(le(i.value), ee({
|
|
3069
3068
|
class: ["badge", v.value]
|
|
@@ -3104,27 +3103,27 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3104
3103
|
const l = e, a = d(() => l.active), o = d(() => l.disabled), n = u(() => ({
|
|
3105
3104
|
active: a.value
|
|
3106
3105
|
})), s = u(() => a.value ? "span" : Xe), r = u(() => a.value ? l.ariaCurrent : void 0), i = u(
|
|
3107
|
-
() => s.value !== "span" ? Mt(l,
|
|
3108
|
-
active
|
|
3109
|
-
activeClass
|
|
3110
|
-
append
|
|
3111
|
-
disabled
|
|
3112
|
-
href
|
|
3113
|
-
rel
|
|
3114
|
-
replace
|
|
3115
|
-
routerComponentName
|
|
3116
|
-
target
|
|
3117
|
-
to
|
|
3118
|
-
variant
|
|
3119
|
-
opacity
|
|
3120
|
-
opacityHover
|
|
3121
|
-
underlineVariant
|
|
3122
|
-
underlineOffset
|
|
3123
|
-
underlineOffsetHover
|
|
3124
|
-
underlineOpacity
|
|
3125
|
-
underlineOpacityHover
|
|
3126
|
-
icon
|
|
3127
|
-
|
|
3106
|
+
() => s.value !== "span" ? Mt(l, [
|
|
3107
|
+
"active",
|
|
3108
|
+
"activeClass",
|
|
3109
|
+
"append",
|
|
3110
|
+
"disabled",
|
|
3111
|
+
"href",
|
|
3112
|
+
"rel",
|
|
3113
|
+
"replace",
|
|
3114
|
+
"routerComponentName",
|
|
3115
|
+
"target",
|
|
3116
|
+
"to",
|
|
3117
|
+
"variant",
|
|
3118
|
+
"opacity",
|
|
3119
|
+
"opacityHover",
|
|
3120
|
+
"underlineVariant",
|
|
3121
|
+
"underlineOffset",
|
|
3122
|
+
"underlineOffsetHover",
|
|
3123
|
+
"underlineOpacity",
|
|
3124
|
+
"underlineOpacityHover",
|
|
3125
|
+
"icon"
|
|
3126
|
+
]) : {}
|
|
3128
3127
|
), v = (b) => {
|
|
3129
3128
|
if (o.value || a.value) {
|
|
3130
3129
|
b.preventDefault(), b.stopImmediatePropagation();
|
|
@@ -3145,7 +3144,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3145
3144
|
}, 16, ["aria-current"]))
|
|
3146
3145
|
], 2));
|
|
3147
3146
|
}
|
|
3148
|
-
}), Si = { "aria-label": "breadcrumb" },
|
|
3147
|
+
}), Si = { "aria-label": "breadcrumb" }, wi = { class: "breadcrumb" }, _i = /* @__PURE__ */ N({
|
|
3149
3148
|
__name: "BBreadcrumb",
|
|
3150
3149
|
props: {
|
|
3151
3150
|
items: { default: void 0 }
|
|
@@ -3157,7 +3156,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3157
3156
|
return o.map((r, i) => (typeof r == "string" && (r = { text: r }, i < o.length - 1 && (r.href = "#")), r.active && (n = !0), !r.active && !n && (r.active = i + 1 === o.length), r));
|
|
3158
3157
|
});
|
|
3159
3158
|
return (o, n) => (g(), P("nav", Si, [
|
|
3160
|
-
K("ol",
|
|
3159
|
+
K("ol", wi, [
|
|
3161
3160
|
O(o.$slots, "prepend"),
|
|
3162
3161
|
(g(!0), P(ce, null, he(a.value, (s, r) => (g(), M(nn, ee({ key: r }, s), {
|
|
3163
3162
|
default: j(() => [
|
|
@@ -3237,21 +3236,21 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3237
3236
|
},
|
|
3238
3237
|
setup(e) {
|
|
3239
3238
|
const t = e, l = d(() => t.lazy), a = d(() => t.blank), o = d(() => t.block), n = d(() => t.center), s = d(() => t.fluid), r = d(() => t.fluidGrow), i = d(() => t.start), v = d(() => t.end), b = d(() => t.thumbnail), h = u(
|
|
3240
|
-
() => typeof t.srcset == "string" ? t.srcset.split(",").filter((
|
|
3239
|
+
() => typeof t.srcset == "string" ? t.srcset.split(",").filter((w) => w).join(",") : Array.isArray(t.srcset) ? t.srcset.filter((w) => w).join(",") : void 0
|
|
3241
3240
|
), p = u(
|
|
3242
|
-
() => typeof t.sizes == "string" ? t.sizes.split(",").filter((
|
|
3241
|
+
() => typeof t.sizes == "string" ? t.sizes.split(",").filter((w) => w).join(",") : Array.isArray(t.sizes) ? t.sizes.filter((w) => w).join(",") : void 0
|
|
3243
3242
|
), B = u(() => {
|
|
3244
|
-
const
|
|
3243
|
+
const w = (T) => T === void 0 ? void 0 : typeof T == "number" ? T : Number.parseInt(T, 10) || void 0, _ = w(t.width), C = w(t.height);
|
|
3245
3244
|
if (a.value) {
|
|
3246
|
-
if (
|
|
3247
|
-
return { height:
|
|
3248
|
-
if (
|
|
3245
|
+
if (_ !== void 0 && C === void 0)
|
|
3246
|
+
return { height: _, width: _ };
|
|
3247
|
+
if (_ === void 0 && C !== void 0)
|
|
3249
3248
|
return { height: C, width: C };
|
|
3250
|
-
if (
|
|
3249
|
+
if (_ === void 0 && C === void 0)
|
|
3251
3250
|
return { height: 1, width: 1 };
|
|
3252
3251
|
}
|
|
3253
3252
|
return {
|
|
3254
|
-
width:
|
|
3253
|
+
width: _,
|
|
3255
3254
|
height: C
|
|
3256
3255
|
};
|
|
3257
3256
|
}), S = u(
|
|
@@ -3274,10 +3273,10 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3274
3273
|
[`rounded-${t.rounded}`]: typeof t.rounded == "string" && t.rounded !== "",
|
|
3275
3274
|
[`${A.value}`]: A.value !== void 0,
|
|
3276
3275
|
"d-block": o.value || n.value
|
|
3277
|
-
})), k = (
|
|
3278
|
-
Ti.replace("%{w}", String(
|
|
3276
|
+
})), k = (w, _, C) => `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(
|
|
3277
|
+
Ti.replace("%{w}", String(w)).replace("%{h}", String(_)).replace("%{f}", C)
|
|
3279
3278
|
)}`;
|
|
3280
|
-
return (
|
|
3279
|
+
return (w, _) => (g(), P("img", ee({ class: y.value }, m.value), null, 16));
|
|
3281
3280
|
}
|
|
3282
3281
|
}), ra = /* @__PURE__ */ N({
|
|
3283
3282
|
__name: "BCardImg",
|
|
@@ -3670,10 +3669,10 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3670
3669
|
},
|
|
3671
3670
|
emits: ["slid", "slide", "update:modelValue"],
|
|
3672
3671
|
setup(e, { expose: t, emit: l }) {
|
|
3673
|
-
const a = e, o = Fe(), n =
|
|
3672
|
+
const a = e, o = Fe(), n = _e(() => a.id, "carousel"), s = Se(a, "modelValue", l, { passive: !0 }), r = d(() => a.keyboard), i = d(() => a.rideReverse), v = d(() => a.noHoverPause), b = d(() => a.fade), h = d(() => a.controls), p = d(() => a.indicators), B = d(() => a.noTouch), S = d(() => a.noWrap), m = bt(() => a.touchThreshold, {
|
|
3674
3673
|
nanToZero: !0,
|
|
3675
3674
|
method: "parseInt"
|
|
3676
|
-
}), A = R(!1), y = R(!1), k = R(!0),
|
|
3675
|
+
}), A = R(!1), y = R(!1), k = R(!0), w = R(null), _ = R(null), C = R(s.value), T = u(
|
|
3677
3676
|
() => Kn(a.ride) ? Ra(a.ride) : a.ride
|
|
3678
3677
|
), c = u(
|
|
3679
3678
|
() => `carousel-item carousel-item-${k.value ? "prev" : "next"} carousel-item-${k.value ? "end" : "start"}`
|
|
@@ -3697,11 +3696,11 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3697
3696
|
return new uo(Q, {
|
|
3698
3697
|
componentId: n.value,
|
|
3699
3698
|
cancelable: !1,
|
|
3700
|
-
target:
|
|
3699
|
+
target: _.value,
|
|
3701
3700
|
direction: k.value ? "right" : "left",
|
|
3702
3701
|
from: C.value,
|
|
3703
3702
|
to: s.value,
|
|
3704
|
-
relatedTarget: ((re =
|
|
3703
|
+
relatedTarget: ((re = w.value) == null ? void 0 : re.children[s.value]) ?? null
|
|
3705
3704
|
});
|
|
3706
3705
|
}, te = (Q) => {
|
|
3707
3706
|
if (A.value !== !0) {
|
|
@@ -3729,7 +3728,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3729
3728
|
v.value || F();
|
|
3730
3729
|
}, ge = () => {
|
|
3731
3730
|
I.value && f();
|
|
3732
|
-
}, { lengthX: pe } = jr(
|
|
3731
|
+
}, { lengthX: pe } = jr(_, {
|
|
3733
3732
|
passive: !0,
|
|
3734
3733
|
onSwipeStart() {
|
|
3735
3734
|
B.value !== !0 && F();
|
|
@@ -3763,14 +3762,14 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3763
3762
|
}), (Q, re) => (g(), P("div", {
|
|
3764
3763
|
id: $(n),
|
|
3765
3764
|
ref_key: "element",
|
|
3766
|
-
ref:
|
|
3765
|
+
ref: _,
|
|
3767
3766
|
class: H(z.value),
|
|
3768
3767
|
onKeydown: [
|
|
3769
3768
|
re[0] || (re[0] = It((de) => X(G), ["left"])),
|
|
3770
3769
|
re[1] || (re[1] = It((de) => X(W), ["right"]))
|
|
3771
3770
|
],
|
|
3772
|
-
onMouseenter:
|
|
3773
|
-
onMouseleave:
|
|
3771
|
+
onMouseenter: ot(ve, ["stop"]),
|
|
3772
|
+
onMouseleave: ot(ge, ["stop"])
|
|
3774
3773
|
}, [
|
|
3775
3774
|
$(p) ? (g(), P("div", Pi, [
|
|
3776
3775
|
(g(!0), P(ce, null, he(E.value.length, (de, L) => (g(), P("button", {
|
|
@@ -3785,7 +3784,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3785
3784
|
])) : J("", !0),
|
|
3786
3785
|
K("div", {
|
|
3787
3786
|
ref_key: "relatedTarget",
|
|
3788
|
-
ref:
|
|
3787
|
+
ref: w,
|
|
3789
3788
|
class: "carousel-inner"
|
|
3790
3789
|
}, [
|
|
3791
3790
|
be(jn, {
|
|
@@ -3799,7 +3798,7 @@ const di = ["type", "disabled", "aria-label"], Ot = /* @__PURE__ */ N({
|
|
|
3799
3798
|
onAfterLeave: q
|
|
3800
3799
|
}, {
|
|
3801
3800
|
default: j(() => [
|
|
3802
|
-
(g(!0), P(ce, null, he(E.value, (de, L) =>
|
|
3801
|
+
(g(!0), P(ce, null, he(E.value, (de, L) => rt((g(), M(le(de), {
|
|
3803
3802
|
key: L,
|
|
3804
3803
|
class: H({ active: L === $(s) && A.value === !1 })
|
|
3805
3804
|
}, null, 8, ["class"])), [
|
|
@@ -4113,13 +4112,13 @@ const gn = {
|
|
|
4113
4112
|
i.value && (S = m = 0, A(), b.value = !0, jt(() => {
|
|
4114
4113
|
h.value = !1;
|
|
4115
4114
|
}));
|
|
4116
|
-
},
|
|
4115
|
+
}, w = () => {
|
|
4117
4116
|
A(), t("update:modelValue", !0), S = m = 0, b.value = !1, Ce(() => {
|
|
4118
4117
|
jt(() => {
|
|
4119
4118
|
h.value = !0;
|
|
4120
4119
|
});
|
|
4121
4120
|
});
|
|
4122
|
-
},
|
|
4121
|
+
}, _ = () => {
|
|
4123
4122
|
if (!o.value || r.value || !B || m)
|
|
4124
4123
|
return;
|
|
4125
4124
|
const E = Date.now() - S;
|
|
@@ -4128,7 +4127,7 @@ const gn = {
|
|
|
4128
4127
|
(!o.value || r.value || !m) && (m = S = 0), T();
|
|
4129
4128
|
};
|
|
4130
4129
|
oe(i, (E) => {
|
|
4131
|
-
E ?
|
|
4130
|
+
E ? w() : k();
|
|
4132
4131
|
});
|
|
4133
4132
|
const T = () => {
|
|
4134
4133
|
A(), o.value && (B = setTimeout(k, m || y.value), S = Date.now(), m = 0);
|
|
@@ -4146,7 +4145,7 @@ const gn = {
|
|
|
4146
4145
|
}), He(() => {
|
|
4147
4146
|
Ce(() => {
|
|
4148
4147
|
i.value && jt(() => {
|
|
4149
|
-
|
|
4148
|
+
w();
|
|
4150
4149
|
});
|
|
4151
4150
|
});
|
|
4152
4151
|
});
|
|
@@ -4179,10 +4178,10 @@ const gn = {
|
|
|
4179
4178
|
)
|
|
4180
4179
|
), Ne("default", { hide: k }, l) || e.body) {
|
|
4181
4180
|
const G = ie(
|
|
4182
|
-
|
|
4181
|
+
wt(e) ? "b-link" : "div",
|
|
4183
4182
|
{
|
|
4184
4183
|
class: ["toast-body", e.bodyClass],
|
|
4185
|
-
onClick:
|
|
4184
|
+
onClick: wt(e) ? { click: I } : {}
|
|
4186
4185
|
},
|
|
4187
4186
|
Ne("default", { hide: k }, l) || e.body
|
|
4188
4187
|
);
|
|
@@ -4205,7 +4204,7 @@ const gn = {
|
|
|
4205
4204
|
role: b.value ? null : a.value ? "status" : "alert",
|
|
4206
4205
|
"aria-live": b.value ? null : a.value ? "polite" : "assertive",
|
|
4207
4206
|
"aria-atomic": b.value ? null : !0,
|
|
4208
|
-
onmouseenter:
|
|
4207
|
+
onmouseenter: _,
|
|
4209
4208
|
onmouseleave: C
|
|
4210
4209
|
},
|
|
4211
4210
|
[
|
|
@@ -4344,7 +4343,7 @@ const gn = {
|
|
|
4344
4343
|
},
|
|
4345
4344
|
emits: ["show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "click", "toggle", "update:modelValue"],
|
|
4346
4345
|
setup(e, { expose: t, emit: l }) {
|
|
4347
|
-
const a = e, o =
|
|
4346
|
+
const a = e, o = _e(() => a.id, "dropdown"), n = Se(a, "modelValue", l, { passive: !0 }), s = d(n), r = d(() => a.block), i = d(() => a.dark), v = d(() => a.dropup), b = d(() => a.dropend), h = d(() => a.isNav), p = d(() => a.dropstart), B = d(() => a.center), S = d(() => a.end), m = d(() => a.split), A = d(() => a.noCaret), y = d(() => a.noFlip), k = d(() => a.noShift), w = d(() => a.lazy), _ = d(() => a.splitDisabled), C = u(
|
|
4348
4347
|
() => typeof a.offset == "string" || typeof a.offset == "number" ? a.offset : NaN
|
|
4349
4348
|
), T = bt(C, { method: "parseInt", nanToZero: !0 }), c = R(null), V = R(null), F = R(null), f = u(() => m.value ? V.value : F.value), I = u(
|
|
4350
4349
|
() => ai({
|
|
@@ -4438,7 +4437,7 @@ const gn = {
|
|
|
4438
4437
|
variant: L.splitVariant || L.variant,
|
|
4439
4438
|
size: L.size,
|
|
4440
4439
|
class: X.value,
|
|
4441
|
-
disabled: $(
|
|
4440
|
+
disabled: $(_) || L.disabled,
|
|
4442
4441
|
type: L.splitButtonType
|
|
4443
4442
|
}, ge.value, {
|
|
4444
4443
|
onClick: me,
|
|
@@ -4473,7 +4472,7 @@ const gn = {
|
|
|
4473
4472
|
_: 3
|
|
4474
4473
|
}, 8, ["variant", "size", "disabled", "class", "aria-expanded"])) : J("", !0)
|
|
4475
4474
|
], 16),
|
|
4476
|
-
!$(
|
|
4475
|
+
!$(w) || $(s) ? rt((g(), P("ul", {
|
|
4477
4476
|
key: 0,
|
|
4478
4477
|
ref_key: "floating",
|
|
4479
4478
|
ref: c,
|
|
@@ -4490,7 +4489,7 @@ const gn = {
|
|
|
4490
4489
|
}, [
|
|
4491
4490
|
O(L.$slots, "default")
|
|
4492
4491
|
], 14, Zi)), [
|
|
4493
|
-
[ua, $(
|
|
4492
|
+
[ua, $(w) || $(s)]
|
|
4494
4493
|
]) : J("", !0)
|
|
4495
4494
|
], 64));
|
|
4496
4495
|
}
|
|
@@ -4688,7 +4687,7 @@ const gn = {
|
|
|
4688
4687
|
id: i.id,
|
|
4689
4688
|
novalidate: $(o),
|
|
4690
4689
|
class: H(s.value),
|
|
4691
|
-
onSubmit:
|
|
4690
|
+
onSubmit: ot(r, ["prevent"])
|
|
4692
4691
|
}, [
|
|
4693
4692
|
O(i.$slots, "default")
|
|
4694
4693
|
], 42, mu));
|
|
@@ -4847,9 +4846,9 @@ const gn = {
|
|
|
4847
4846
|
},
|
|
4848
4847
|
emits: ["update:modelValue", "input", "change"],
|
|
4849
4848
|
setup(e, { expose: t, emit: l }) {
|
|
4850
|
-
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s =
|
|
4849
|
+
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s = _e(() => a.id, "form-check"), r = d(() => a.indeterminate), i = d(() => a.autofocus), v = d(() => a.plain), b = d(() => a.button), h = d(() => a.buttonGroup), p = d(() => a.switch), B = d(() => a.disabled), S = d(() => a.inline), m = d(() => a.required), A = d(() => a.state), y = Oe(Co, null), k = R(null), { focused: w } = Ee(k, {
|
|
4851
4850
|
initialValue: i.value
|
|
4852
|
-
}),
|
|
4851
|
+
}), _ = u(() => !Ae(o.default)), C = u({
|
|
4853
4852
|
get: () => y !== null ? y.modelValue.value.map((E) => JSON.stringify(E)).includes(JSON.stringify(a.value)) : JSON.stringify(n.value) === JSON.stringify(a.value),
|
|
4854
4853
|
set: (E) => {
|
|
4855
4854
|
const z = E ? a.value : a.uncheckedValue;
|
|
@@ -4884,10 +4883,10 @@ const gn = {
|
|
|
4884
4883
|
})), F = Ko(V), f = Yo(V), I = Jo(V);
|
|
4885
4884
|
return t({
|
|
4886
4885
|
focus: () => {
|
|
4887
|
-
|
|
4886
|
+
w.value = !0;
|
|
4888
4887
|
},
|
|
4889
4888
|
blur: () => {
|
|
4890
|
-
|
|
4889
|
+
w.value = !1;
|
|
4891
4890
|
}
|
|
4892
4891
|
}), (E, z) => (g(), M(Qa, {
|
|
4893
4892
|
skip: c.value,
|
|
@@ -4896,7 +4895,7 @@ const gn = {
|
|
|
4896
4895
|
default: j(() => {
|
|
4897
4896
|
var Z, te, G;
|
|
4898
4897
|
return [
|
|
4899
|
-
|
|
4898
|
+
rt(K("input", ee({ id: $(s) }, E.$attrs, {
|
|
4900
4899
|
ref_key: "input",
|
|
4901
4900
|
ref: k,
|
|
4902
4901
|
"onUpdate:modelValue": z[0] || (z[0] = (W) => C.value = W),
|
|
@@ -4914,7 +4913,7 @@ const gn = {
|
|
|
4914
4913
|
}), null, 16, hu), [
|
|
4915
4914
|
[Wn, C.value]
|
|
4916
4915
|
]),
|
|
4917
|
-
|
|
4916
|
+
_.value || $(v) === !1 ? (g(), P("label", {
|
|
4918
4917
|
key: 0,
|
|
4919
4918
|
for: $(s),
|
|
4920
4919
|
class: H($(I))
|
|
@@ -4926,7 +4925,7 @@ const gn = {
|
|
|
4926
4925
|
_: 3
|
|
4927
4926
|
}, 8, ["skip", "class"]));
|
|
4928
4927
|
}
|
|
4929
|
-
}), Su = ["id"],
|
|
4928
|
+
}), Su = ["id"], wu = ["innerHTML"], _u = ["textContent"], $u = /* @__PURE__ */ N({
|
|
4930
4929
|
__name: "BFormCheckboxGroup",
|
|
4931
4930
|
props: {
|
|
4932
4931
|
id: { default: void 0 },
|
|
@@ -4953,7 +4952,7 @@ const gn = {
|
|
|
4953
4952
|
},
|
|
4954
4953
|
emits: ["input", "update:modelValue", "change"],
|
|
4955
4954
|
setup(e, { expose: t, emit: l }) {
|
|
4956
|
-
const a = e, o = Se(a, "modelValue", l), n =
|
|
4955
|
+
const a = e, o = Se(a, "modelValue", l), n = _e(() => a.id, "checkbox"), s = _e(() => a.name, "checkbox"), r = d(() => a.autofocus), i = d(() => a.buttons), v = d(() => a.disabled), b = d(() => a.plain), h = d(() => a.required), p = d(() => a.stacked), B = d(() => a.state), S = d(() => a.switches), m = d(() => a.validated), A = R(null), { focused: y } = Ee(A, {
|
|
4957
4956
|
initialValue: r.value
|
|
4958
4957
|
});
|
|
4959
4958
|
De(Co, {
|
|
@@ -5003,7 +5002,7 @@ const gn = {
|
|
|
5003
5002
|
self: Symbol(`checkboxGroupOptionItem${c}`)
|
|
5004
5003
|
}
|
|
5005
5004
|
)
|
|
5006
|
-
),
|
|
5005
|
+
), w = u(() => ({
|
|
5007
5006
|
required: h.value,
|
|
5008
5007
|
ariaInvalid: a.ariaInvalid,
|
|
5009
5008
|
state: B.value,
|
|
@@ -5011,7 +5010,7 @@ const gn = {
|
|
|
5011
5010
|
buttons: i.value,
|
|
5012
5011
|
stacked: p.value,
|
|
5013
5012
|
size: a.size
|
|
5014
|
-
})),
|
|
5013
|
+
})), _ = Zo(w), C = Qo(w);
|
|
5015
5014
|
return t({
|
|
5016
5015
|
focus: () => {
|
|
5017
5016
|
y.value = !0;
|
|
@@ -5019,7 +5018,7 @@ const gn = {
|
|
|
5019
5018
|
blur: () => {
|
|
5020
5019
|
y.value = !1;
|
|
5021
5020
|
}
|
|
5022
|
-
}), (T, c) => (g(), P("div", ee($(
|
|
5021
|
+
}), (T, c) => (g(), P("div", ee($(_), {
|
|
5023
5022
|
id: $(n),
|
|
5024
5023
|
ref_key: "element",
|
|
5025
5024
|
ref: A,
|
|
@@ -5035,10 +5034,10 @@ const gn = {
|
|
|
5035
5034
|
V.html ? (g(), P("span", {
|
|
5036
5035
|
key: 0,
|
|
5037
5036
|
innerHTML: V.html
|
|
5038
|
-
}, null, 8,
|
|
5037
|
+
}, null, 8, wu)) : (g(), P("span", {
|
|
5039
5038
|
key: 1,
|
|
5040
5039
|
textContent: Y(V.text)
|
|
5041
|
-
}, null, 8,
|
|
5040
|
+
}, null, 8, _u))
|
|
5042
5041
|
]),
|
|
5043
5042
|
_: 2
|
|
5044
5043
|
}, 1040))), 128)),
|
|
@@ -5069,13 +5068,13 @@ const gn = {
|
|
|
5069
5068
|
},
|
|
5070
5069
|
emits: ["update:modelValue", "change"],
|
|
5071
5070
|
setup(e, { expose: t, emit: l }) {
|
|
5072
|
-
const a = e, o = Fe(), n = Se(a, "modelValue", l), s =
|
|
5071
|
+
const a = e, o = Fe(), n = Se(a, "modelValue", l), s = _e(() => a.id), r = d(() => a.autofocus), i = d(() => a.directory), v = d(() => a.disabled), b = d(() => a.multiple), h = d(() => a.noDrop);
|
|
5073
5072
|
d(() => a.noTraverse);
|
|
5074
5073
|
const p = d(() => a.required), B = d(() => a.state), S = Vt(B), m = R(null), { focused: A } = Ee(m, { initialValue: r.value }), y = u(() => !Ae(o.label)), k = u(
|
|
5075
5074
|
() => typeof a.accept == "string" ? a.accept : a.accept.join(",")
|
|
5076
|
-
),
|
|
5075
|
+
), w = u(
|
|
5077
5076
|
() => a.capture === "user" || a.capture === "environment" ? a.capture : Ra(a.capture)
|
|
5078
|
-
),
|
|
5077
|
+
), _ = u(() => [
|
|
5079
5078
|
S.value,
|
|
5080
5079
|
{
|
|
5081
5080
|
[`form-control-${a.size}`]: a.size !== void 0
|
|
@@ -5113,12 +5112,12 @@ const gn = {
|
|
|
5113
5112
|
ref_key: "input",
|
|
5114
5113
|
ref: m,
|
|
5115
5114
|
type: "file",
|
|
5116
|
-
class: ["form-control",
|
|
5115
|
+
class: ["form-control", _.value],
|
|
5117
5116
|
form: V.form,
|
|
5118
5117
|
name: V.name,
|
|
5119
5118
|
multiple: $(b),
|
|
5120
5119
|
disabled: $(v),
|
|
5121
|
-
capture:
|
|
5120
|
+
capture: w.value,
|
|
5122
5121
|
accept: k.value || void 0,
|
|
5123
5122
|
required: $(p) || void 0,
|
|
5124
5123
|
"aria-required": $(p) || void 0,
|
|
@@ -5176,7 +5175,7 @@ const gn = {
|
|
|
5176
5175
|
const c = go(`#${rs(e.labelFor)}`, p);
|
|
5177
5176
|
if (c) {
|
|
5178
5177
|
const V = "aria-describedby", F = (C || "").split(Kt), f = (T || "").split(Kt), I = (qa(c, V) || "").split(Kt).filter((E) => !f.includes(E)).concat(F).filter((E, z, Z) => Z.indexOf(E) === z).filter((E) => E).join(" ").trim();
|
|
5179
|
-
I ?
|
|
5178
|
+
I ? _s(c, V, I) : $s(c, V);
|
|
5180
5179
|
}
|
|
5181
5180
|
}
|
|
5182
5181
|
}, S = u(() => h(e, "content")), m = u(() => b(e, "label")), A = u(() => h(e, "label")), y = u(
|
|
@@ -5185,7 +5184,7 @@ const gn = {
|
|
|
5185
5184
|
// based on the existence of 'content-col' or 'label-col' props
|
|
5186
5185
|
Object.keys(S.value).length > 0 || Object.keys(A.value).length > 0
|
|
5187
5186
|
)
|
|
5188
|
-
), k = Vt(o),
|
|
5187
|
+
), k = Vt(o), w = u(
|
|
5189
5188
|
() => ca(t.ariaInvalid, o.value)
|
|
5190
5189
|
);
|
|
5191
5190
|
return oe(
|
|
@@ -5205,7 +5204,7 @@ const gn = {
|
|
|
5205
5204
|
validatedBoolean: s,
|
|
5206
5205
|
floatingBoolean: r,
|
|
5207
5206
|
ariaDescribedby: i,
|
|
5208
|
-
computedAriaInvalid:
|
|
5207
|
+
computedAriaInvalid: w,
|
|
5209
5208
|
contentColProps: S,
|
|
5210
5209
|
isHorizontal: y,
|
|
5211
5210
|
labelAlignClasses: m,
|
|
@@ -5223,14 +5222,14 @@ const gn = {
|
|
|
5223
5222
|
};
|
|
5224
5223
|
},
|
|
5225
5224
|
render() {
|
|
5226
|
-
const e = this.$props, t = this.$slots, l =
|
|
5225
|
+
const e = this.$props, t = this.$slots, l = _e(), a = !e.labelFor;
|
|
5227
5226
|
let o = null;
|
|
5228
5227
|
const n = Ne(Ou, {}, t) || e.label, s = n ? at("_BV_label_") : null;
|
|
5229
5228
|
if (n || this.isHorizontal) {
|
|
5230
|
-
const
|
|
5229
|
+
const _ = a ? "legend" : "label";
|
|
5231
5230
|
if (this.labelSrOnlyBoolean)
|
|
5232
5231
|
n && (o = ie(
|
|
5233
|
-
|
|
5232
|
+
_,
|
|
5234
5233
|
{
|
|
5235
5234
|
class: "visually-hidden",
|
|
5236
5235
|
id: s,
|
|
@@ -5242,7 +5241,7 @@ const gn = {
|
|
|
5242
5241
|
const C = {
|
|
5243
5242
|
onClick: a ? this.onLegendClick : null,
|
|
5244
5243
|
...this.isHorizontal ? this.labelColProps : {},
|
|
5245
|
-
tag: this.isHorizontal ?
|
|
5244
|
+
tag: this.isHorizontal ? _ : null,
|
|
5246
5245
|
id: s,
|
|
5247
5246
|
for: e.labelFor || null,
|
|
5248
5247
|
tabIndex: a ? "-1" : null,
|
|
@@ -5259,7 +5258,7 @@ const gn = {
|
|
|
5259
5258
|
e.labelClass
|
|
5260
5259
|
]
|
|
5261
5260
|
};
|
|
5262
|
-
this.isHorizontal ? o = ie(Pt, C, { default: () => n }) : o = ie(
|
|
5261
|
+
this.isHorizontal ? o = ie(Pt, C, { default: () => n }) : o = ie(_, C, n);
|
|
5263
5262
|
}
|
|
5264
5263
|
}
|
|
5265
5264
|
let r = null;
|
|
@@ -5300,7 +5299,7 @@ const gn = {
|
|
|
5300
5299
|
m,
|
|
5301
5300
|
this.stateBoolean === !1 ? v : null,
|
|
5302
5301
|
this.stateBoolean === !0 ? p : null
|
|
5303
|
-
].filter((
|
|
5302
|
+
].filter((_) => _).join(" ") || null, y = [
|
|
5304
5303
|
Ne(Iu, { ariaDescribedby: A, descriptionId: m, id: l, labelId: s }, t) || "",
|
|
5305
5304
|
r,
|
|
5306
5305
|
b,
|
|
@@ -5320,14 +5319,14 @@ const gn = {
|
|
|
5320
5319
|
y
|
|
5321
5320
|
);
|
|
5322
5321
|
this.isHorizontal && (k = ie(Pt, { ref: "content", ...this.contentColProps }, { default: () => y }));
|
|
5323
|
-
const
|
|
5322
|
+
const w = {
|
|
5324
5323
|
class: [
|
|
5325
5324
|
this.stateClass,
|
|
5326
5325
|
{
|
|
5327
5326
|
"was-validated": this.validatedBoolean
|
|
5328
5327
|
}
|
|
5329
5328
|
],
|
|
5330
|
-
id:
|
|
5329
|
+
id: _e(() => e.id).value,
|
|
5331
5330
|
disabled: a ? this.disabledBoolean : null,
|
|
5332
5331
|
role: a ? null : "group",
|
|
5333
5332
|
"aria-invalid": this.computedAriaInvalid,
|
|
@@ -5335,9 +5334,9 @@ const gn = {
|
|
|
5335
5334
|
// as the legend is no longer a direct child of fieldset
|
|
5336
5335
|
"aria-labelledby": a && this.isHorizontal ? s : null
|
|
5337
5336
|
};
|
|
5338
|
-
return this.isHorizontal && !a ? ie(Jt,
|
|
5337
|
+
return this.isHorizontal && !a ? ie(Jt, w, { default: () => [o, k] }) : ie(
|
|
5339
5338
|
a ? "fieldset" : "div",
|
|
5340
|
-
|
|
5339
|
+
w,
|
|
5341
5340
|
this.isHorizontal && a ? [ie(Jt, null, { default: () => [o, k] })] : this.isHorizontal || !this.floatingBoolean ? [o, k] : [k]
|
|
5342
5341
|
);
|
|
5343
5342
|
}
|
|
@@ -5371,16 +5370,16 @@ const gn = {
|
|
|
5371
5370
|
},
|
|
5372
5371
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
5373
5372
|
setup(e, { expose: t, emit: l }) {
|
|
5374
|
-
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: v, focus: b, blur: h } = en(a, l), p = d(() => a.disabled), B = d(() => a.required), S = d(() => a.readonly), m = d(() => a.plaintext), A = d(() => a.state), y = Vt(A), k = R(!1),
|
|
5375
|
-
const
|
|
5373
|
+
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: v, focus: b, blur: h } = en(a, l), p = d(() => a.disabled), B = d(() => a.required), S = d(() => a.readonly), m = d(() => a.plaintext), A = d(() => a.state), y = Vt(A), k = R(!1), w = u(() => {
|
|
5374
|
+
const _ = a.type === "range", C = a.type === "color";
|
|
5376
5375
|
return [
|
|
5377
5376
|
y.value,
|
|
5378
5377
|
{
|
|
5379
5378
|
"form-control-highlighted": k.value,
|
|
5380
|
-
"form-range":
|
|
5381
|
-
"form-control": C || !a.plaintext && !
|
|
5379
|
+
"form-range": _,
|
|
5380
|
+
"form-control": C || !a.plaintext && !_,
|
|
5382
5381
|
"form-control-color": C,
|
|
5383
|
-
"form-control-plaintext": a.plaintext && !
|
|
5382
|
+
"form-control-plaintext": a.plaintext && !_ && !C,
|
|
5384
5383
|
[`form-control-${a.size}`]: !!a.size
|
|
5385
5384
|
}
|
|
5386
5385
|
];
|
|
@@ -5388,23 +5387,23 @@ const gn = {
|
|
|
5388
5387
|
return t({
|
|
5389
5388
|
focus: b,
|
|
5390
5389
|
blur: h
|
|
5391
|
-
}), (
|
|
5390
|
+
}), (_, C) => (g(), P("input", {
|
|
5392
5391
|
id: $(n),
|
|
5393
5392
|
ref_key: "input",
|
|
5394
5393
|
ref: o,
|
|
5395
|
-
class: H(
|
|
5396
|
-
name:
|
|
5397
|
-
form:
|
|
5398
|
-
type:
|
|
5394
|
+
class: H(w.value),
|
|
5395
|
+
name: _.name || void 0,
|
|
5396
|
+
form: _.form || void 0,
|
|
5397
|
+
type: _.type,
|
|
5399
5398
|
disabled: $(p),
|
|
5400
|
-
placeholder:
|
|
5399
|
+
placeholder: _.placeholder,
|
|
5401
5400
|
required: $(B) || void 0,
|
|
5402
|
-
autocomplete:
|
|
5401
|
+
autocomplete: _.autocomplete || void 0,
|
|
5403
5402
|
readonly: $(S) || $(m),
|
|
5404
|
-
min:
|
|
5405
|
-
max:
|
|
5406
|
-
step:
|
|
5407
|
-
list:
|
|
5403
|
+
min: _.min,
|
|
5404
|
+
max: _.max,
|
|
5405
|
+
step: _.step,
|
|
5406
|
+
list: _.type !== "password" ? _.list : void 0,
|
|
5408
5407
|
"aria-required": $(B) || void 0,
|
|
5409
5408
|
"aria-invalid": $(s),
|
|
5410
5409
|
onInput: C[0] || (C[0] = (T) => $(r)(T)),
|
|
@@ -5412,7 +5411,7 @@ const gn = {
|
|
|
5412
5411
|
onBlur: C[2] || (C[2] = (T) => $(v)(T))
|
|
5413
5412
|
}, null, 42, Lu));
|
|
5414
5413
|
}
|
|
5415
|
-
}), zu = ["id", "checked", "disabled", "required", "name", "form", "aria-label", "aria-labelledby", "value", "aria-required"], Hu = ["for"],
|
|
5414
|
+
}), zu = ["id", "checked", "disabled", "required", "name", "form", "aria-label", "aria-labelledby", "value", "aria-required"], Hu = ["for"], wn = /* @__PURE__ */ N({
|
|
5416
5415
|
inheritAttrs: !1,
|
|
5417
5416
|
__name: "BFormRadio",
|
|
5418
5417
|
props: {
|
|
@@ -5436,9 +5435,9 @@ const gn = {
|
|
|
5436
5435
|
},
|
|
5437
5436
|
emits: ["input", "change", "update:modelValue"],
|
|
5438
5437
|
setup(e, { expose: t, emit: l }) {
|
|
5439
|
-
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s =
|
|
5438
|
+
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s = _e(() => a.id, "form-check"), r = d(() => a.autofocus), i = d(() => a.plain), v = d(() => a.button), b = d(() => a.buttonGroup), h = d(() => a.disabled), p = d(() => a.inline), B = d(() => a.required), S = d(() => a.state), m = Oe(ko, null), A = R(null), { focused: y } = Ee(A, {
|
|
5440
5439
|
initialValue: r.value
|
|
5441
|
-
}), k = u(() => !Ae(o.default)),
|
|
5440
|
+
}), k = u(() => !Ae(o.default)), w = u({
|
|
5442
5441
|
get: () => m !== null ? JSON.stringify(m.modelValue.value) === JSON.stringify(a.value) : JSON.stringify(n.value) === JSON.stringify(a.value),
|
|
5443
5442
|
set: (f) => {
|
|
5444
5443
|
const I = f || f === "" || f === 0 ? a.value : !1;
|
|
@@ -5450,12 +5449,12 @@ const gn = {
|
|
|
5450
5449
|
oe(
|
|
5451
5450
|
() => m == null ? void 0 : m.modelValue.value,
|
|
5452
5451
|
(f) => {
|
|
5453
|
-
JSON.stringify(f) === JSON.stringify(a.value) !== !0 && (
|
|
5452
|
+
JSON.stringify(f) === JSON.stringify(a.value) !== !0 && (w.value = !1);
|
|
5454
5453
|
}
|
|
5455
5454
|
), oe(n, (f) => {
|
|
5456
5455
|
m === null || f === !1 || m.set(a.value);
|
|
5457
5456
|
});
|
|
5458
|
-
const
|
|
5457
|
+
const _ = u(
|
|
5459
5458
|
() => !!(a.name ?? (m == null ? void 0 : m.name.value)) && (B.value || (m == null ? void 0 : m.required.value))
|
|
5460
5459
|
), C = u(
|
|
5461
5460
|
() => b.value || ((m == null ? void 0 : m.buttons.value) ?? !1)
|
|
@@ -5483,23 +5482,23 @@ const gn = {
|
|
|
5483
5482
|
default: j(() => {
|
|
5484
5483
|
var E, z, Z;
|
|
5485
5484
|
return [
|
|
5486
|
-
|
|
5485
|
+
rt(K("input", ee({ id: $(s) }, f.$attrs, {
|
|
5487
5486
|
ref_key: "input",
|
|
5488
5487
|
ref: A,
|
|
5489
|
-
"onUpdate:modelValue": I[0] || (I[0] = (te) =>
|
|
5490
|
-
checked:
|
|
5488
|
+
"onUpdate:modelValue": I[0] || (I[0] = (te) => w.value = te),
|
|
5489
|
+
checked: w.value,
|
|
5491
5490
|
class: $(V),
|
|
5492
5491
|
type: "radio",
|
|
5493
5492
|
disabled: $(h) || ((E = $(m)) == null ? void 0 : E.disabled.value),
|
|
5494
|
-
required:
|
|
5493
|
+
required: _.value || void 0,
|
|
5495
5494
|
name: f.name || ((z = $(m)) == null ? void 0 : z.name.value),
|
|
5496
5495
|
form: f.form || ((Z = $(m)) == null ? void 0 : Z.form.value),
|
|
5497
5496
|
"aria-label": f.ariaLabel,
|
|
5498
5497
|
"aria-labelledby": f.ariaLabelledby,
|
|
5499
5498
|
value: f.value,
|
|
5500
|
-
"aria-required":
|
|
5499
|
+
"aria-required": _.value || void 0
|
|
5501
5500
|
}), null, 16, zu), [
|
|
5502
|
-
[Un,
|
|
5501
|
+
[Un, w.value]
|
|
5503
5502
|
]),
|
|
5504
5503
|
k.value || $(i) === !1 ? (g(), P("label", {
|
|
5505
5504
|
key: 0,
|
|
@@ -5539,7 +5538,7 @@ const gn = {
|
|
|
5539
5538
|
},
|
|
5540
5539
|
emits: ["input", "update:modelValue", "change"],
|
|
5541
5540
|
setup(e, { expose: t, emit: l }) {
|
|
5542
|
-
const a = e, o = Se(a, "modelValue", l), n =
|
|
5541
|
+
const a = e, o = Se(a, "modelValue", l), n = _e(() => a.id, "radio"), s = _e(() => a.name, "checkbox"), r = d(() => a.autofocus), i = d(() => a.buttons), v = d(() => a.disabled), b = d(() => a.plain), h = d(() => a.required), p = d(() => a.stacked), B = d(() => a.state), S = d(() => a.validated), m = R(null), { focused: A } = Ee(m, {
|
|
5543
5542
|
initialValue: r.value
|
|
5544
5543
|
});
|
|
5545
5544
|
De(ko, {
|
|
@@ -5589,7 +5588,7 @@ const gn = {
|
|
|
5589
5588
|
buttons: i.value,
|
|
5590
5589
|
stacked: p.value,
|
|
5591
5590
|
size: a.size
|
|
5592
|
-
})),
|
|
5591
|
+
})), w = Zo(k), _ = Qo(k);
|
|
5593
5592
|
return t({
|
|
5594
5593
|
focus: () => {
|
|
5595
5594
|
A.value = !0;
|
|
@@ -5597,16 +5596,16 @@ const gn = {
|
|
|
5597
5596
|
blur: () => {
|
|
5598
5597
|
A.value = !1;
|
|
5599
5598
|
}
|
|
5600
|
-
}), (C, T) => (g(), P("div", ee($(
|
|
5599
|
+
}), (C, T) => (g(), P("div", ee($(w), {
|
|
5601
5600
|
id: $(n),
|
|
5602
5601
|
ref_key: "element",
|
|
5603
5602
|
ref: m,
|
|
5604
5603
|
role: "radiogroup",
|
|
5605
|
-
class: [$(
|
|
5604
|
+
class: [$(_), "bv-no-focus-ring"],
|
|
5606
5605
|
tabindex: "-1"
|
|
5607
5606
|
}), [
|
|
5608
5607
|
O(C.$slots, "first"),
|
|
5609
|
-
(g(!0), P(ce, null, he(y.value, (c) => (g(), M(
|
|
5608
|
+
(g(!0), P(ce, null, he(y.value, (c) => (g(), M(wn, ee({
|
|
5610
5609
|
key: c.self
|
|
5611
5610
|
}, c.props), {
|
|
5612
5611
|
default: j(() => [
|
|
@@ -5638,7 +5637,7 @@ const gn = {
|
|
|
5638
5637
|
O(a.$slots, "default")
|
|
5639
5638
|
], 8, qu));
|
|
5640
5639
|
}
|
|
5641
|
-
}), Gu = ["label"],
|
|
5640
|
+
}), Gu = ["label"], _n = /* @__PURE__ */ N({
|
|
5642
5641
|
__name: "BFormSelectOptionGroup",
|
|
5643
5642
|
props: {
|
|
5644
5643
|
label: { default: void 0 },
|
|
@@ -5690,7 +5689,7 @@ const gn = {
|
|
|
5690
5689
|
},
|
|
5691
5690
|
emits: ["input", "update:modelValue", "change"],
|
|
5692
5691
|
setup(e, { expose: t, emit: l }) {
|
|
5693
|
-
const a = e, o = Se(a, "modelValue", l), n =
|
|
5692
|
+
const a = e, o = Se(a, "modelValue", l), n = _e(() => a.id, "input"), s = d(() => a.autofocus), r = d(() => a.disabled), i = d(() => a.multiple), v = d(() => a.plain), b = d(() => a.required), h = d(() => a.state), p = Vt(h), B = R(), { focused: S } = Ee(B, {
|
|
5694
5693
|
initialValue: s.value
|
|
5695
5694
|
}), m = u(() => [
|
|
5696
5695
|
p.value,
|
|
@@ -5704,12 +5703,12 @@ const gn = {
|
|
|
5704
5703
|
() => a.selectSize || v.value ? a.selectSize : void 0
|
|
5705
5704
|
), y = u(
|
|
5706
5705
|
() => ca(a.ariaInvalid, h.value)
|
|
5707
|
-
), k = u(() => el(a.options, "BFormSelect", a)),
|
|
5706
|
+
), k = u(() => el(a.options, "BFormSelect", a)), w = u({
|
|
5708
5707
|
get: () => o.value,
|
|
5709
5708
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5710
|
-
set: (
|
|
5711
|
-
l("input",
|
|
5712
|
-
l("change",
|
|
5709
|
+
set: (_) => {
|
|
5710
|
+
l("input", _), o.value = _, Ce(() => {
|
|
5711
|
+
l("change", _);
|
|
5713
5712
|
});
|
|
5714
5713
|
}
|
|
5715
5714
|
});
|
|
@@ -5720,15 +5719,15 @@ const gn = {
|
|
|
5720
5719
|
blur: () => {
|
|
5721
5720
|
S.value = !1;
|
|
5722
5721
|
}
|
|
5723
|
-
}), (
|
|
5722
|
+
}), (_, C) => rt((g(), P("select", ee({
|
|
5724
5723
|
id: $(n),
|
|
5725
5724
|
ref_key: "input",
|
|
5726
5725
|
ref: B
|
|
5727
|
-
},
|
|
5728
|
-
"onUpdate:modelValue": C[0] || (C[0] = (T) =>
|
|
5726
|
+
}, _.$attrs, {
|
|
5727
|
+
"onUpdate:modelValue": C[0] || (C[0] = (T) => w.value = T),
|
|
5729
5728
|
class: m.value,
|
|
5730
|
-
name:
|
|
5731
|
-
form:
|
|
5729
|
+
name: _.name,
|
|
5730
|
+
form: _.form || void 0,
|
|
5732
5731
|
multiple: $(i) || void 0,
|
|
5733
5732
|
size: A.value,
|
|
5734
5733
|
disabled: $(r),
|
|
@@ -5736,9 +5735,9 @@ const gn = {
|
|
|
5736
5735
|
"aria-required": $(b) || void 0,
|
|
5737
5736
|
"aria-invalid": y.value
|
|
5738
5737
|
}), [
|
|
5739
|
-
O(
|
|
5738
|
+
O(_.$slots, "first"),
|
|
5740
5739
|
(g(!0), P(ce, null, he(k.value, (T, c) => (g(), P(ce, { key: c }, [
|
|
5741
|
-
Array.isArray(T.options) ? (g(), M(
|
|
5740
|
+
Array.isArray(T.options) ? (g(), M(_n, {
|
|
5742
5741
|
key: 0,
|
|
5743
5742
|
label: T.label,
|
|
5744
5743
|
options: T.options
|
|
@@ -5749,9 +5748,9 @@ const gn = {
|
|
|
5749
5748
|
innerHTML: T.html || T.text
|
|
5750
5749
|
}, null, 8, ["value", "disabled", "innerHTML"]))
|
|
5751
5750
|
], 64))), 128)),
|
|
5752
|
-
O(
|
|
5751
|
+
O(_.$slots, "default")
|
|
5753
5752
|
], 16, Wu)), [
|
|
5754
|
-
[Xn,
|
|
5753
|
+
[Xn, w.value]
|
|
5755
5754
|
]);
|
|
5756
5755
|
}
|
|
5757
5756
|
}), Dl = [
|
|
@@ -5851,7 +5850,7 @@ const gn = {
|
|
|
5851
5850
|
), k = u(() => {
|
|
5852
5851
|
const q = h.value;
|
|
5853
5852
|
return Math.floor(q) === q ? 0 : (q.toString().split(".")[1] || "").length;
|
|
5854
|
-
}),
|
|
5853
|
+
}), w = u(() => Math.pow(10, k.value || 0)), _ = u(() => {
|
|
5855
5854
|
const { value: q } = r;
|
|
5856
5855
|
return q === null ? "" : q.toFixed(k.value);
|
|
5857
5856
|
}), C = u(() => {
|
|
@@ -5894,7 +5893,7 @@ const gn = {
|
|
|
5894
5893
|
})), E = (q) => {
|
|
5895
5894
|
let { value: Q } = r;
|
|
5896
5895
|
if (!e.disabled && Q !== null) {
|
|
5897
|
-
const re = h.value * q, de = p.value, L = B.value, x =
|
|
5896
|
+
const re = h.value * q, de = p.value, L = B.value, x = w.value, { wrap: D } = e;
|
|
5898
5897
|
Q = Math.round((Q - de) / re) * re + de + re, Q = Math.round(Q * x) / x, r.value = Q > L ? D ? de : L : Q < de ? D ? L : de : Q;
|
|
5899
5898
|
}
|
|
5900
5899
|
}, z = (q = 1) => {
|
|
@@ -6012,7 +6011,7 @@ const gn = {
|
|
|
6012
6011
|
name: e.name,
|
|
6013
6012
|
form: e.form || null,
|
|
6014
6013
|
// TODO: Should this be set to '' if value is out of range?
|
|
6015
|
-
value:
|
|
6014
|
+
value: _.value,
|
|
6016
6015
|
key: "hidden"
|
|
6017
6016
|
})
|
|
6018
6017
|
);
|
|
@@ -6083,7 +6082,7 @@ const gn = {
|
|
|
6083
6082
|
},
|
|
6084
6083
|
emits: ["remove"],
|
|
6085
6084
|
setup(e, { emit: t }) {
|
|
6086
|
-
const l = e, a = Fe(), o =
|
|
6085
|
+
const l = e, a = Fe(), o = _e(() => l.id), n = d(() => l.disabled), s = d(() => l.noRemove), r = d(() => l.pill), i = u(
|
|
6087
6086
|
() => {
|
|
6088
6087
|
var h;
|
|
6089
6088
|
return ((((h = a.default) == null ? void 0 : h.call(a)[0].children) ?? "").toString() || l.title) ?? "";
|
|
@@ -6175,18 +6174,18 @@ const gn = {
|
|
|
6175
6174
|
},
|
|
6176
6175
|
emits: ["update:modelValue", "input", "tag-state", "focus", "focusin", "focusout", "blur"],
|
|
6177
6176
|
setup(e, { expose: t, emit: l }) {
|
|
6178
|
-
const a = e, o = Se(a, "modelValue", l), n =
|
|
6177
|
+
const a = e, o = Se(a, "modelValue", l), n = _e(), s = d(() => a.addOnChange), r = d(() => a.autofocus), i = d(() => a.disabled), v = d(() => a.noAddOnEnter), b = d(() => a.noOuterFocus), h = d(() => a.noTagRemove), p = d(() => a.removeOnDelete), B = d(() => a.required), S = d(() => a.state), m = d(() => a.tagPills), A = Vt(S), y = R(null), { focused: k } = Ee(y, {
|
|
6179
6178
|
initialValue: r.value
|
|
6180
|
-
}),
|
|
6179
|
+
}), w = u(() => a.inputId || `${n.value}input__`), _ = R(o.value), C = R(""), T = R(o.value.length > 0), c = R(""), V = R([]), F = R([]), f = R([]), I = u(() => [
|
|
6181
6180
|
A.value,
|
|
6182
6181
|
{
|
|
6183
6182
|
[`form-control-${a.size}`]: a.size !== "md",
|
|
6184
6183
|
disabled: i.value,
|
|
6185
6184
|
focus: k.value
|
|
6186
6185
|
}
|
|
6187
|
-
]), E = u(() =>
|
|
6186
|
+
]), E = u(() => _.value.includes(C.value)), z = u(
|
|
6188
6187
|
() => C.value === "" ? !1 : !a.tagValidator(C.value)
|
|
6189
|
-
), Z = u(() =>
|
|
6188
|
+
), Z = u(() => _.value.length === a.limit), te = u(() => !z.value && !E.value), G = u(() => ({
|
|
6190
6189
|
addButtonText: a.addButtonText,
|
|
6191
6190
|
addButtonVariant: a.addButtonVariant,
|
|
6192
6191
|
addTag: re,
|
|
@@ -6199,7 +6198,7 @@ const gn = {
|
|
|
6199
6198
|
...a.inputAttrs,
|
|
6200
6199
|
disabled: i.value,
|
|
6201
6200
|
form: a.form,
|
|
6202
|
-
id:
|
|
6201
|
+
id: w,
|
|
6203
6202
|
value: C
|
|
6204
6203
|
},
|
|
6205
6204
|
inputHandlers: {
|
|
@@ -6207,7 +6206,7 @@ const gn = {
|
|
|
6207
6206
|
keydown: me,
|
|
6208
6207
|
change: pe
|
|
6209
6208
|
},
|
|
6210
|
-
inputId:
|
|
6209
|
+
inputId: w,
|
|
6211
6210
|
inputType: a.inputType,
|
|
6212
6211
|
invalidTagText: a.invalidTagText,
|
|
6213
6212
|
invalidTags: F.value,
|
|
@@ -6227,10 +6226,10 @@ const gn = {
|
|
|
6227
6226
|
tagPills: m.value,
|
|
6228
6227
|
tagRemoveLabel: a.tagRemoveLabel,
|
|
6229
6228
|
tagVariant: a.tagVariant,
|
|
6230
|
-
tags:
|
|
6229
|
+
tags: _.value
|
|
6231
6230
|
}));
|
|
6232
6231
|
oe(o, (L) => {
|
|
6233
|
-
|
|
6232
|
+
_.value = L;
|
|
6234
6233
|
});
|
|
6235
6234
|
const W = (L) => {
|
|
6236
6235
|
if (i.value) {
|
|
@@ -6261,7 +6260,7 @@ const gn = {
|
|
|
6261
6260
|
re(C.value);
|
|
6262
6261
|
return;
|
|
6263
6262
|
}
|
|
6264
|
-
(L.key === "Backspace" || L.key === "Delete") && p.value && C.value === "" && T.value &&
|
|
6263
|
+
(L.key === "Backspace" || L.key === "Delete") && p.value && C.value === "" && T.value && _.value.length > 0 ? de(_.value[_.value.length - 1]) : T.value = !0;
|
|
6265
6264
|
}, q = u(() => {
|
|
6266
6265
|
if (a.separator)
|
|
6267
6266
|
return typeof a.separator == "string" ? a.separator : a.separator.join("");
|
|
@@ -6280,8 +6279,8 @@ const gn = {
|
|
|
6280
6279
|
const ae = [...o.value, ...D];
|
|
6281
6280
|
C.value = "", T.value = !0, o.value = ae, l("input", ae), k.value = !0;
|
|
6282
6281
|
}, de = (L) => {
|
|
6283
|
-
const x =
|
|
6284
|
-
c.value =
|
|
6282
|
+
const x = _.value.indexOf((L == null ? void 0 : L.toString()) ?? "");
|
|
6283
|
+
c.value = _.value.splice(x, 1).toString(), o.value = _.value;
|
|
6285
6284
|
};
|
|
6286
6285
|
return t({
|
|
6287
6286
|
focus: () => {
|
|
@@ -6301,11 +6300,11 @@ const gn = {
|
|
|
6301
6300
|
K("output", {
|
|
6302
6301
|
id: `${$(n)}selected_tags__`,
|
|
6303
6302
|
class: "visually-hidden",
|
|
6304
|
-
for:
|
|
6303
|
+
for: w.value,
|
|
6305
6304
|
"aria-live": $(k) ? "polite" : "off",
|
|
6306
6305
|
"aria-atomic": "true",
|
|
6307
6306
|
"aria-relevant": "additions text"
|
|
6308
|
-
}, Y(
|
|
6307
|
+
}, Y(_.value.join(", ")), 9, td),
|
|
6309
6308
|
K("div", {
|
|
6310
6309
|
id: `${$(n)}removed_tags__`,
|
|
6311
6310
|
role: "status",
|
|
@@ -6318,7 +6317,7 @@ const gn = {
|
|
|
6318
6317
|
id: `${$(n)}tag_list__`,
|
|
6319
6318
|
class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
|
|
6320
6319
|
}, [
|
|
6321
|
-
(g(!0), P(ce, null, he(
|
|
6320
|
+
(g(!0), P(ce, null, he(_.value, (D, ae) => O(L.$slots, "tag", Be(ee({ key: ae }, { tag: D, tagClass: L.tagClass, tagVariant: L.tagVariant, tagPills: $(m), removeTag: de })), () => [
|
|
6322
6321
|
(g(), M(Vn, {
|
|
6323
6322
|
key: D,
|
|
6324
6323
|
class: H(L.tagClass),
|
|
@@ -6341,7 +6340,7 @@ const gn = {
|
|
|
6341
6340
|
}, [
|
|
6342
6341
|
K("div", nd, [
|
|
6343
6342
|
K("input", ee({
|
|
6344
|
-
id:
|
|
6343
|
+
id: w.value,
|
|
6345
6344
|
ref_key: "input",
|
|
6346
6345
|
ref: y,
|
|
6347
6346
|
disabled: $(i),
|
|
@@ -6384,10 +6383,10 @@ const gn = {
|
|
|
6384
6383
|
K("div", id, [
|
|
6385
6384
|
z.value ? (g(), P("div", ud, Y(L.invalidTagText) + ": " + Y(C.value), 1)) : J("", !0),
|
|
6386
6385
|
E.value ? (g(), P("small", dd, Y(L.duplicateTagText) + ": " + Y(C.value), 1)) : J("", !0),
|
|
6387
|
-
|
|
6386
|
+
_.value.length === L.limit ? (g(), P("small", cd, "Tag limit reached")) : J("", !0)
|
|
6388
6387
|
])
|
|
6389
6388
|
]),
|
|
6390
|
-
L.name ? (g(!0), P(ce, { key: 0 }, he(
|
|
6389
|
+
L.name ? (g(!0), P(ce, { key: 0 }, he(_.value, (D, ae) => (g(), P("input", {
|
|
6391
6390
|
key: ae,
|
|
6392
6391
|
type: "hidden",
|
|
6393
6392
|
name: L.name,
|
|
@@ -6424,14 +6423,14 @@ const gn = {
|
|
|
6424
6423
|
},
|
|
6425
6424
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
6426
6425
|
setup(e, { expose: t, emit: l }) {
|
|
6427
|
-
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: v, focus: b, blur: h } = en(a, l), p = d(() => a.disabled), B = d(() => a.required), S = d(() => a.readonly), m = d(() => a.plaintext), A = d(() => a.noResize), y = d(() => a.state), k = Vt(y),
|
|
6426
|
+
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: v, focus: b, blur: h } = en(a, l), p = d(() => a.disabled), B = d(() => a.required), S = d(() => a.readonly), m = d(() => a.plaintext), A = d(() => a.noResize), y = d(() => a.state), k = Vt(y), w = u(() => [
|
|
6428
6427
|
k.value,
|
|
6429
6428
|
{
|
|
6430
6429
|
"form-control": !a.plaintext,
|
|
6431
6430
|
"form-control-plaintext": a.plaintext,
|
|
6432
6431
|
[`form-control-${a.size}`]: !!a.size
|
|
6433
6432
|
}
|
|
6434
|
-
]),
|
|
6433
|
+
]), _ = u(() => ({
|
|
6435
6434
|
resize: A.value ? "none" : void 0
|
|
6436
6435
|
}));
|
|
6437
6436
|
return t({
|
|
@@ -6441,7 +6440,7 @@ const gn = {
|
|
|
6441
6440
|
id: $(n),
|
|
6442
6441
|
ref_key: "input",
|
|
6443
6442
|
ref: o,
|
|
6444
|
-
class: H(
|
|
6443
|
+
class: H(w.value),
|
|
6445
6444
|
name: C.name || void 0,
|
|
6446
6445
|
form: C.form || void 0,
|
|
6447
6446
|
disabled: $(p),
|
|
@@ -6452,7 +6451,7 @@ const gn = {
|
|
|
6452
6451
|
"aria-required": C.required || void 0,
|
|
6453
6452
|
"aria-invalid": $(s),
|
|
6454
6453
|
rows: C.rows,
|
|
6455
|
-
style: ze(
|
|
6454
|
+
style: ze(_.value),
|
|
6456
6455
|
wrap: C.wrap || void 0,
|
|
6457
6456
|
onInput: T[0] || (T[0] = (c) => $(r)(c)),
|
|
6458
6457
|
onChange: T[1] || (T[1] = (c) => $(i)(c)),
|
|
@@ -6465,7 +6464,7 @@ const gn = {
|
|
|
6465
6464
|
}, yd = ["innerHTML"], bd = { key: 1 }, hd = {
|
|
6466
6465
|
key: 0,
|
|
6467
6466
|
class: "input-group-text"
|
|
6468
|
-
}, Bd = ["innerHTML"], Sd = { key: 1 },
|
|
6467
|
+
}, Bd = ["innerHTML"], Sd = { key: 1 }, wd = /* @__PURE__ */ N({
|
|
6469
6468
|
__name: "BInputGroup",
|
|
6470
6469
|
props: {
|
|
6471
6470
|
append: { default: void 0 },
|
|
@@ -6537,7 +6536,7 @@ const gn = {
|
|
|
6537
6536
|
_: 3
|
|
6538
6537
|
})) : O(a.$slots, "default", { key: 1 });
|
|
6539
6538
|
}
|
|
6540
|
-
}),
|
|
6539
|
+
}), _d = /* @__PURE__ */ N({
|
|
6541
6540
|
__name: "BInputGroupAppend",
|
|
6542
6541
|
props: {
|
|
6543
6542
|
isText: { type: [String, Boolean], default: !1 }
|
|
@@ -6581,7 +6580,7 @@ const gn = {
|
|
|
6581
6580
|
"list-group-numbered": a.value
|
|
6582
6581
|
};
|
|
6583
6582
|
}), n = u(() => a.value === !0 ? "ol" : t.tag);
|
|
6584
|
-
return De(
|
|
6583
|
+
return De(wo, {
|
|
6585
6584
|
numbered: a
|
|
6586
6585
|
}), (s, r) => (g(), M(le(n.value), {
|
|
6587
6586
|
class: H(["list-group", o.value])
|
|
@@ -6606,7 +6605,7 @@ const gn = {
|
|
|
6606
6605
|
variant: { default: null }
|
|
6607
6606
|
},
|
|
6608
6607
|
setup(e) {
|
|
6609
|
-
const t = e, l = za(), a = Oe(
|
|
6608
|
+
const t = e, l = za(), a = Oe(wo, null), o = d(() => t.action), n = d(() => t.active), s = d(() => t.button), r = d(() => t.disabled), i = u(() => !s.value && (!!t.href || !!t.to)), v = u(
|
|
6610
6609
|
() => a != null && a.numbered.value ? "li" : s.value ? "button" : i.value ? Xe : t.tag
|
|
6611
6610
|
), b = u(
|
|
6612
6611
|
() => o.value || i.value || s.value || ["a", "router-link", "button", "b-link"].includes(t.tag)
|
|
@@ -6689,7 +6688,7 @@ const gn = {
|
|
|
6689
6688
|
},
|
|
6690
6689
|
emits: ["update:modelValue", "show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "ok", "cancel", "close"],
|
|
6691
6690
|
setup(e, { expose: t, emit: l }) {
|
|
6692
|
-
const a = e, o = Fe(), n =
|
|
6691
|
+
const a = e, o = Fe(), n = _e(() => a.id, "modal"), s = Se(a, "modelValue", l), r = d(() => a.busy), i = d(() => a.lazy), v = d(() => a.cancelDisabled), b = d(() => a.centered), h = d(() => a.hideBackdrop), p = d(() => a.hideFooter), B = d(() => a.hideHeader), S = d(() => a.hideHeaderClose), m = d(s), A = d(() => a.noCloseOnBackdrop), y = d(() => a.noCloseOnEsc), k = d(() => a.noFade), w = d(() => a.autoFocus), _ = d(() => a.okDisabled), C = d(() => a.okOnly), T = d(() => a.scrollable), c = d(() => a.titleSrOnly), V = d(() => a.teleportDisabled), F = d(() => a.bodyScrolling), f = R(null), I = R(null), E = R(null), z = R(null), Z = R(m.value), te = R(!1);
|
|
6693
6692
|
tn(m, F);
|
|
6694
6693
|
const { focused: G } = Ee(f, {
|
|
6695
6694
|
initialValue: m.value && a.autoFocusButton === void 0
|
|
@@ -6741,7 +6740,7 @@ const gn = {
|
|
|
6741
6740
|
{
|
|
6742
6741
|
["visually-hidden"]: c.value
|
|
6743
6742
|
}
|
|
6744
|
-
]), x = u(() => v.value || r.value), D = u(() =>
|
|
6743
|
+
]), x = u(() => v.value || r.value), D = u(() => _.value || r.value), ae = (fe, $e = {}) => new Rt(fe, {
|
|
6745
6744
|
cancelable: !1,
|
|
6746
6745
|
target: f.value || null,
|
|
6747
6746
|
relatedTarget: null,
|
|
@@ -6763,15 +6762,15 @@ const gn = {
|
|
|
6763
6762
|
}
|
|
6764
6763
|
s.value = !0;
|
|
6765
6764
|
}, se = () => {
|
|
6766
|
-
|
|
6765
|
+
w.value !== !1 && (a.autoFocusButton === "ok" ? W.value = !0 : a.autoFocusButton === "close" ? ve.value = !0 : a.autoFocusButton === "cancel" ? X.value = !0 : G.value = !0);
|
|
6767
6766
|
}, Ie = () => U(), et = () => {
|
|
6768
6767
|
Z.value = !0, se(), l("shown", ae("shown")), i.value === !0 && (te.value = !0);
|
|
6769
6768
|
}, tt = () => {
|
|
6770
6769
|
Z.value = !1;
|
|
6771
|
-
},
|
|
6770
|
+
}, ut = () => {
|
|
6772
6771
|
l("hidden", ae("hidden")), i.value === !0 && (te.value = !1);
|
|
6773
6772
|
};
|
|
6774
|
-
return Xr(Z),
|
|
6773
|
+
return Xr(Z), we(f, "bv-toggle", () => {
|
|
6775
6774
|
m.value ? ue() : U();
|
|
6776
6775
|
}), t({
|
|
6777
6776
|
hide: ue,
|
|
@@ -6786,10 +6785,10 @@ const gn = {
|
|
|
6786
6785
|
onBeforeEnter: Ie,
|
|
6787
6786
|
onAfterEnter: et,
|
|
6788
6787
|
onLeave: tt,
|
|
6789
|
-
onAfterLeave:
|
|
6788
|
+
onAfterLeave: ut
|
|
6790
6789
|
}, {
|
|
6791
6790
|
default: j(() => [
|
|
6792
|
-
|
|
6791
|
+
rt(K("div", ee({
|
|
6793
6792
|
id: $(n),
|
|
6794
6793
|
ref_key: "element",
|
|
6795
6794
|
ref: f,
|
|
@@ -6959,7 +6958,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
6959
6958
|
})), o = (n) => t("submit", n);
|
|
6960
6959
|
return (n, s) => (g(), M(hn, ee(a.value, {
|
|
6961
6960
|
class: "d-flex",
|
|
6962
|
-
onSubmit:
|
|
6961
|
+
onSubmit: ot(o, ["prevent"])
|
|
6963
6962
|
}), {
|
|
6964
6963
|
default: j(() => [
|
|
6965
6964
|
O(n.$slots, "default")
|
|
@@ -6992,40 +6991,42 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
6992
6991
|
underlineOpacityHover: { default: void 0 },
|
|
6993
6992
|
icon: { type: [String, Boolean], default: !1 }
|
|
6994
6993
|
},
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
6994
|
+
emits: ["click"],
|
|
6995
|
+
setup(e, { emit: t }) {
|
|
6996
|
+
const l = e, a = d(() => l.disabled), o = u(
|
|
6997
|
+
() => Mt(l, [
|
|
6998
|
+
"active",
|
|
6999
|
+
"activeClass",
|
|
7000
|
+
"append",
|
|
7001
|
+
"disabled",
|
|
7002
|
+
"href",
|
|
7003
|
+
"icon",
|
|
7004
|
+
"opacity",
|
|
7005
|
+
"opacityHover",
|
|
7006
|
+
"rel",
|
|
7007
|
+
"replace",
|
|
7008
|
+
"routerComponentName",
|
|
7009
|
+
"target",
|
|
7010
|
+
"to",
|
|
7011
|
+
"underlineOffset",
|
|
7012
|
+
"underlineOffsetHover",
|
|
7013
|
+
"underlineOpacity",
|
|
7014
|
+
"underlineOpacityHover",
|
|
7015
|
+
"underlineVariant",
|
|
7016
|
+
"variant"
|
|
7017
|
+
])
|
|
7018
7018
|
);
|
|
7019
|
-
return (
|
|
7019
|
+
return (n, s) => (g(), P("li", Ed, [
|
|
7020
7020
|
be(Xe, ee({
|
|
7021
|
-
class: ["nav-link",
|
|
7022
|
-
}, { ...
|
|
7023
|
-
"active-class":
|
|
7024
|
-
tabindex: $(
|
|
7025
|
-
"aria-disabled": $(
|
|
7021
|
+
class: ["nav-link", n.linkClasses]
|
|
7022
|
+
}, { ...o.value, ...n.linkAttrs }, {
|
|
7023
|
+
"active-class": n.activeClass ?? "active",
|
|
7024
|
+
tabindex: $(a) ? -1 : void 0,
|
|
7025
|
+
"aria-disabled": $(a) ? !0 : void 0,
|
|
7026
|
+
onClick: s[0] || (s[0] = ot((r) => t("click", r), ["stop"]))
|
|
7026
7027
|
}), {
|
|
7027
7028
|
default: j(() => [
|
|
7028
|
-
O(
|
|
7029
|
+
O(n.$slots, "default")
|
|
7029
7030
|
]),
|
|
7030
7031
|
_: 3
|
|
7031
7032
|
}, 16, ["class", "active-class", "tabindex", "aria-disabled"])
|
|
@@ -7174,28 +7175,28 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7174
7175
|
icon: { type: [String, Boolean], default: !1 }
|
|
7175
7176
|
},
|
|
7176
7177
|
setup(e) {
|
|
7177
|
-
const t = e, l = u(() =>
|
|
7178
|
-
() => l.value ? Mt(t,
|
|
7179
|
-
active
|
|
7180
|
-
activeClass
|
|
7181
|
-
append
|
|
7182
|
-
disabled
|
|
7183
|
-
href
|
|
7184
|
-
rel
|
|
7185
|
-
replace
|
|
7186
|
-
routerComponentName
|
|
7187
|
-
target
|
|
7188
|
-
to
|
|
7189
|
-
variant
|
|
7190
|
-
opacity
|
|
7191
|
-
opacityHover
|
|
7192
|
-
underlineVariant
|
|
7193
|
-
underlineOffset
|
|
7194
|
-
underlineOffsetHover
|
|
7195
|
-
underlineOpacity
|
|
7196
|
-
underlineOpacityHover
|
|
7197
|
-
icon
|
|
7198
|
-
|
|
7178
|
+
const t = e, l = u(() => wt(t)), a = u(() => l.value ? Xe : t.tag), o = u(
|
|
7179
|
+
() => l.value ? Mt(t, [
|
|
7180
|
+
"active",
|
|
7181
|
+
"activeClass",
|
|
7182
|
+
"append",
|
|
7183
|
+
"disabled",
|
|
7184
|
+
"href",
|
|
7185
|
+
"rel",
|
|
7186
|
+
"replace",
|
|
7187
|
+
"routerComponentName",
|
|
7188
|
+
"target",
|
|
7189
|
+
"to",
|
|
7190
|
+
"variant",
|
|
7191
|
+
"opacity",
|
|
7192
|
+
"opacityHover",
|
|
7193
|
+
"underlineVariant",
|
|
7194
|
+
"underlineOffset",
|
|
7195
|
+
"underlineOffsetHover",
|
|
7196
|
+
"underlineOpacity",
|
|
7197
|
+
"underlineOpacityHover",
|
|
7198
|
+
"icon"
|
|
7199
|
+
]) : {}
|
|
7199
7200
|
);
|
|
7200
7201
|
return (n, s) => (g(), M(le(a.value), ee({ class: "navbar-brand" }, o.value), {
|
|
7201
7202
|
default: j(() => [
|
|
@@ -7331,7 +7332,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7331
7332
|
})), s = (r) => {
|
|
7332
7333
|
a.value || t("click", r);
|
|
7333
7334
|
};
|
|
7334
|
-
return (r, i) =>
|
|
7335
|
+
return (r, i) => rt((g(), P("button", ee({
|
|
7335
7336
|
class: ["navbar-toggler", n.value],
|
|
7336
7337
|
type: "button"
|
|
7337
7338
|
}, o.value, { onClick: s }), [
|
|
@@ -7394,25 +7395,25 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7394
7395
|
transform: "translateX(-50%) translateY(-50%)"
|
|
7395
7396
|
}
|
|
7396
7397
|
);
|
|
7397
|
-
return (
|
|
7398
|
+
return (w, _) => (g(), M(le(w.wrapTag), {
|
|
7398
7399
|
class: "b-overlay-wrap position-relative",
|
|
7399
7400
|
"aria-busy": p.value
|
|
7400
7401
|
}, {
|
|
7401
7402
|
default: j(() => [
|
|
7402
|
-
O(
|
|
7403
|
+
O(w.$slots, "default"),
|
|
7403
7404
|
be(At, {
|
|
7404
|
-
"no-fade":
|
|
7405
|
+
"no-fade": w.noFade,
|
|
7405
7406
|
"trans-props": { enterToClass: "show" },
|
|
7406
7407
|
name: "fade",
|
|
7407
|
-
onOnAfterEnter:
|
|
7408
|
-
onOnAfterLeave:
|
|
7408
|
+
onOnAfterEnter: _[1] || (_[1] = (C) => t("shown")),
|
|
7409
|
+
onOnAfterLeave: _[2] || (_[2] = (C) => t("hidden"))
|
|
7409
7410
|
}, {
|
|
7410
7411
|
default: j(() => [
|
|
7411
|
-
$(i) ? (g(), M(le(
|
|
7412
|
+
$(i) ? (g(), M(le(w.overlayTag), {
|
|
7412
7413
|
key: 0,
|
|
7413
7414
|
class: H(m.value),
|
|
7414
7415
|
style: ze(S.value),
|
|
7415
|
-
onClick:
|
|
7416
|
+
onClick: _[0] || (_[0] = (C) => t("click", C))
|
|
7416
7417
|
}, {
|
|
7417
7418
|
default: j(() => [
|
|
7418
7419
|
K("div", {
|
|
@@ -7423,7 +7424,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7423
7424
|
class: "position-absolute",
|
|
7424
7425
|
style: ze(k.value)
|
|
7425
7426
|
}, [
|
|
7426
|
-
O(
|
|
7427
|
+
O(w.$slots, "overlay", Be(Ve(B.value)), () => [
|
|
7427
7428
|
$(n) ? J("", !0) : (g(), M(pa, Be(ee({ key: 0 }, B.value)), null, 16))
|
|
7428
7429
|
])
|
|
7429
7430
|
], 4)
|
|
@@ -7463,21 +7464,21 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7463
7464
|
},
|
|
7464
7465
|
emits: ["update:modelValue", "show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "esc", "close"],
|
|
7465
7466
|
setup(e, { expose: t, emit: l }) {
|
|
7466
|
-
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s = d(n), r = d(() => a.bodyScrolling), i = d(() => a.backdrop), v = d(() => a.noHeaderClose), b = d(() => a.noHeader), h = d(() => a.noFocus), p = d(() => a.noCloseOnBackdrop), B = d(() => a.noCloseOnEsc), S = d(() => a.lazy), m = d(() => a.teleportDisabled), A =
|
|
7467
|
+
const a = e, o = Fe(), n = Se(a, "modelValue", l, { passive: !0 }), s = d(n), r = d(() => a.bodyScrolling), i = d(() => a.backdrop), v = d(() => a.noHeaderClose), b = d(() => a.noHeader), h = d(() => a.noFocus), p = d(() => a.noCloseOnBackdrop), B = d(() => a.noCloseOnEsc), S = d(() => a.lazy), m = d(() => a.teleportDisabled), A = _e(() => a.id, "offcanvas");
|
|
7467
7468
|
tn(s, r);
|
|
7468
7469
|
const y = R(null), { focused: k } = Ee(y, {
|
|
7469
7470
|
initialValue: s.value && h.value === !1
|
|
7470
|
-
}),
|
|
7471
|
+
}), w = R(s.value), _ = R(!1), C = u(
|
|
7471
7472
|
() => i.value === !0 && s.value === !0
|
|
7472
7473
|
), T = u(
|
|
7473
|
-
() => S.value === !1 || S.value === !0 &&
|
|
7474
|
+
() => S.value === !1 || S.value === !0 && _.value === !0 || S.value === !0 && s.value === !0
|
|
7474
7475
|
), c = u(() => !Ae(o.footer)), V = u(() => [
|
|
7475
7476
|
// props.responsive === undefined ? 'offcanvas' : `offcanvas-${props.responsive}`,
|
|
7476
7477
|
"offcanvas",
|
|
7477
7478
|
// Remove when above check is fixed
|
|
7478
7479
|
`offcanvas-${a.placement}`,
|
|
7479
7480
|
{
|
|
7480
|
-
show: s.value &&
|
|
7481
|
+
show: s.value && w.value === !0
|
|
7481
7482
|
}
|
|
7482
7483
|
]), F = (W, X = {}) => new Rt(W, {
|
|
7483
7484
|
cancelable: !1,
|
|
@@ -7505,13 +7506,13 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7505
7506
|
h.value === !1 && (k.value = !0);
|
|
7506
7507
|
});
|
|
7507
7508
|
}, z = () => I(), Z = () => {
|
|
7508
|
-
|
|
7509
|
+
w.value = !0, E(), l("shown", F("shown")), S.value === !0 && (_.value = !0);
|
|
7509
7510
|
}, te = () => {
|
|
7510
|
-
|
|
7511
|
+
w.value = !1;
|
|
7511
7512
|
}, G = () => {
|
|
7512
|
-
l("hidden", F("hidden")), S.value === !0 && (
|
|
7513
|
+
l("hidden", F("hidden")), S.value === !0 && (_.value = !1);
|
|
7513
7514
|
};
|
|
7514
|
-
return
|
|
7515
|
+
return we(y, "bv-toggle", () => {
|
|
7515
7516
|
s.value ? f() : I();
|
|
7516
7517
|
}), t({
|
|
7517
7518
|
hide: f,
|
|
@@ -7534,7 +7535,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7534
7535
|
onAfterLeave: G
|
|
7535
7536
|
}, {
|
|
7536
7537
|
default: j(() => [
|
|
7537
|
-
|
|
7538
|
+
rt(K("div", ee({
|
|
7538
7539
|
id: $(A),
|
|
7539
7540
|
ref_key: "element",
|
|
7540
7541
|
ref: y,
|
|
@@ -7669,7 +7670,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7669
7670
|
target: V
|
|
7670
7671
|
});
|
|
7671
7672
|
t("page-click", F, c), !F.defaultPrevented && (a.value = c);
|
|
7672
|
-
},
|
|
7673
|
+
}, w = u(() => e.size ? `pagination-${e.size}` : ""), _ = u(() => v.value ? "b-pagination-pills" : "");
|
|
7673
7674
|
oe(a, (T) => {
|
|
7674
7675
|
const c = oc(T, p.value);
|
|
7675
7676
|
c !== a.value && (a.value = c);
|
|
@@ -7823,7 +7824,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
7823
7824
|
return ie(
|
|
7824
7825
|
"ul",
|
|
7825
7826
|
{
|
|
7826
|
-
class: ["pagination",
|
|
7827
|
+
class: ["pagination", w.value, h.value, _.value],
|
|
7827
7828
|
role: "menubar",
|
|
7828
7829
|
"aria-disabled": o.value,
|
|
7829
7830
|
"aria-label": e.ariaLabel || null
|
|
@@ -8091,7 +8092,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
8091
8092
|
$(m) ? J("", !0) : O(y.$slots, "thead", { key: 0 }, () => [
|
|
8092
8093
|
K("thead", null, [
|
|
8093
8094
|
K("tr", null, [
|
|
8094
|
-
(g(!0), P(ce, null, he(b.value, (
|
|
8095
|
+
(g(!0), P(ce, null, he(b.value, (w, _) => (g(), P("th", { key: _ }, [
|
|
8095
8096
|
be(Le, Be(Ve(B.value)), null, 16)
|
|
8096
8097
|
]))), 128))
|
|
8097
8098
|
])
|
|
@@ -8099,7 +8100,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
8099
8100
|
]),
|
|
8100
8101
|
O(y.$slots, "default", {}, () => [
|
|
8101
8102
|
K("tbody", null, [
|
|
8102
|
-
(g(!0), P(ce, null, he(v.value, (
|
|
8103
|
+
(g(!0), P(ce, null, he(v.value, (w, _) => (g(), P("tr", { key: _ }, [
|
|
8103
8104
|
(g(!0), P(ce, null, he(i.value, (C, T) => (g(), P("td", { key: T }, [
|
|
8104
8105
|
be(Le, Be(Ve(p.value)), null, 16)
|
|
8105
8106
|
]))), 128))
|
|
@@ -8109,7 +8110,7 @@ const Od = /* @__PURE__ */ ll(Ad, [["__scopeId", "data-v-b5795927"]]), Fd = /* @
|
|
|
8109
8110
|
$(A) ? O(y.$slots, "tfoot", { key: 1 }, () => [
|
|
8110
8111
|
K("tfoot", null, [
|
|
8111
8112
|
K("tr", null, [
|
|
8112
|
-
(g(!0), P(ce, null, he(h.value, (
|
|
8113
|
+
(g(!0), P(ce, null, he(h.value, (w, _) => (g(), P("th", { key: _ }, [
|
|
8113
8114
|
be(Le, Be(Ve(S.value)), null, 16)
|
|
8114
8115
|
]))), 128))
|
|
8115
8116
|
])
|
|
@@ -8275,7 +8276,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8275
8276
|
return !0;
|
|
8276
8277
|
const l = t.tagName === "LABEL" ? t : fl("label", t);
|
|
8277
8278
|
if (l) {
|
|
8278
|
-
const a = qa(l, "for"), o = a ?
|
|
8279
|
+
const a = qa(l, "for"), o = a ? ws(a) : go("input, select, textarea", l);
|
|
8279
8280
|
if (o && !o.disabled)
|
|
8280
8281
|
return !0;
|
|
8281
8282
|
}
|
|
@@ -8283,10 +8284,10 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8283
8284
|
}, gc = ["title", "abbr", "onClick"], yc = { class: "d-inline-flex flex-nowrap align-items-center gap-1" }, bc = { key: 1 }, hc = ["onClick", "onDblclick", "onMouseenter", "onMouseleave"], Bc = {
|
|
8284
8285
|
key: 0,
|
|
8285
8286
|
class: "b-table-stacked-label"
|
|
8286
|
-
}, Sc = ["colspan"],
|
|
8287
|
+
}, Sc = ["colspan"], wc = {
|
|
8287
8288
|
key: 0,
|
|
8288
8289
|
class: "b-table-empty-slot"
|
|
8289
|
-
},
|
|
8290
|
+
}, _c = ["colspan"], $c = { key: 0 }, Cc = ["title", "abbr", "onClick"], kc = { key: 1 }, Tc = { key: 2 }, Vc = { key: 3 }, Ln = /* @__PURE__ */ N({
|
|
8290
8291
|
__name: "BTableLite",
|
|
8291
8292
|
props: {
|
|
8292
8293
|
align: { default: void 0 },
|
|
@@ -8347,9 +8348,9 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8347
8348
|
t("head-clicked", f, c, V, F);
|
|
8348
8349
|
}, m = (c, V, F) => {
|
|
8349
8350
|
t("row-clicked", c, V, F);
|
|
8350
|
-
}, A = (c, V, F) => t("row-dbl-clicked", c, V, F), y = (c, V, F) => t("row-hovered", c, V, F), k = (c, V, F) => t("row-unhovered", c, V, F),
|
|
8351
|
+
}, A = (c, V, F) => t("row-dbl-clicked", c, V, F), y = (c, V, F) => t("row-hovered", c, V, F), k = (c, V, F) => t("row-unhovered", c, V, F), w = (c) => {
|
|
8351
8352
|
c._showDetails = !c._showDetails;
|
|
8352
|
-
},
|
|
8353
|
+
}, _ = (c) => [
|
|
8353
8354
|
c.class,
|
|
8354
8355
|
c.thClass,
|
|
8355
8356
|
{
|
|
@@ -8387,7 +8388,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8387
8388
|
(g(!0), P(ce, null, he(i.value, (f) => (g(), P("th", ee({
|
|
8388
8389
|
key: f.key,
|
|
8389
8390
|
scope: "col",
|
|
8390
|
-
class:
|
|
8391
|
+
class: _(f),
|
|
8391
8392
|
title: f.headerTitle,
|
|
8392
8393
|
abbr: f.headerAbbr,
|
|
8393
8394
|
style: f.thStyle
|
|
@@ -8448,7 +8449,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8448
8449
|
item: f,
|
|
8449
8450
|
field: E,
|
|
8450
8451
|
items: c.items,
|
|
8451
|
-
toggleDetails: () =>
|
|
8452
|
+
toggleDetails: () => w(f),
|
|
8452
8453
|
detailsShowing: f._showDetails
|
|
8453
8454
|
}) : (g(), P(ce, { key: 2 }, [
|
|
8454
8455
|
ne(Y(B(f, E)), 1)
|
|
@@ -8462,18 +8463,18 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8462
8463
|
K("td", { colspan: v.value }, [
|
|
8463
8464
|
O(c.$slots, "row-details", {
|
|
8464
8465
|
item: f,
|
|
8465
|
-
toggleDetails: () =>
|
|
8466
|
+
toggleDetails: () => w(f)
|
|
8466
8467
|
})
|
|
8467
8468
|
], 8, Sc)
|
|
8468
8469
|
], 2)) : J("", !0)
|
|
8469
8470
|
], 64))), 128)),
|
|
8470
8471
|
O(c.$slots, "tbody-prefix", { fieldsTotal: v.value }),
|
|
8471
|
-
$(n) && c.items.length === 0 ? (g(), P("tr",
|
|
8472
|
+
$(n) && c.items.length === 0 ? (g(), P("tr", wc, [
|
|
8472
8473
|
K("td", { colspan: v.value }, [
|
|
8473
8474
|
O(c.$slots, "empty", { items: c.items }, () => [
|
|
8474
8475
|
ne(Y(c.emptyText), 1)
|
|
8475
8476
|
])
|
|
8476
|
-
], 8,
|
|
8477
|
+
], 8, _c)
|
|
8477
8478
|
])) : J("", !0)
|
|
8478
8479
|
]),
|
|
8479
8480
|
$(a) ? (g(), P("tfoot", $c, [
|
|
@@ -8552,15 +8553,15 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8552
8553
|
},
|
|
8553
8554
|
emits: ["head-clicked", "row-clicked", "row-dbl-clicked", "row-hovered", "row-unhovered", "row-selected", "row-unselected", "selection", "update:busy", "update:sortBy", "update:sortDesc", "sorted", "filtered"],
|
|
8554
8555
|
setup(e, { expose: t, emit: l }) {
|
|
8555
|
-
const a = e, o = Se(a, "sortBy", l, { passive: !0 }), n = Se(a, "busy", l, { passive: !0 }), s = Se(a, "sortDesc", l, { passive: !0 }), r = Fe(), i = R(null), v = d(s), b = d(() => a.sortInternal), h = d(n), p = d(() => a.noProviderPaging), B = d(() => a.noProviderSorting), S = d(() => a.noProviderFiltering), m = d(() => a.selectable), A = d(() => a.stickySelect), y = u(() => a.filter !== void 0 && a.filter !== ""), k = R(/* @__PURE__ */ new Set([])),
|
|
8556
|
-
"b-table-sortable":
|
|
8557
|
-
"b-table-sort-desc":
|
|
8558
|
-
"b-table-sort-asc":
|
|
8556
|
+
const a = e, o = Se(a, "sortBy", l, { passive: !0 }), n = Se(a, "busy", l, { passive: !0 }), s = Se(a, "sortDesc", l, { passive: !0 }), r = Fe(), i = R(null), v = d(s), b = d(() => a.sortInternal), h = d(n), p = d(() => a.noProviderPaging), B = d(() => a.noProviderSorting), S = d(() => a.noProviderFiltering), m = d(() => a.selectable), A = d(() => a.stickySelect), y = u(() => a.filter !== void 0 && a.filter !== ""), k = R(/* @__PURE__ */ new Set([])), w = u(() => k.value.size > 0), _ = u(() => a.fields.filter((D) => typeof D == "string" ? !1 : D.sortable).length > 0 || a.sortBy !== void 0), C = u(() => a.provider !== void 0), T = u(() => ({
|
|
8557
|
+
"b-table-sortable": _.value,
|
|
8558
|
+
"b-table-sort-desc": _.value && v.value === !0,
|
|
8559
|
+
"b-table-sort-asc": _.value && v.value === !1,
|
|
8559
8560
|
"b-table-busy": h.value,
|
|
8560
8561
|
"b-table-selectable": m.value,
|
|
8561
8562
|
[`b-table-select-${a.selectMode}`]: m.value,
|
|
8562
|
-
"b-table-selecting user-select-none": m.value &&
|
|
8563
|
-
})), c = u(() =>
|
|
8563
|
+
"b-table-selecting user-select-none": m.value && w.value
|
|
8564
|
+
})), c = u(() => _.value && b.value === !0), V = u(
|
|
8564
8565
|
() => m.value && (!!a.selectHead || r.selectHead !== void 0)
|
|
8565
8566
|
), {
|
|
8566
8567
|
computedItems: F,
|
|
@@ -8574,7 +8575,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8574
8575
|
sortInternalBoolean: b,
|
|
8575
8576
|
isFilterableTable: y,
|
|
8576
8577
|
noProviderPagingBoolean: p,
|
|
8577
|
-
isSortable:
|
|
8578
|
+
isSortable: _,
|
|
8578
8579
|
requireItemsMapping: c,
|
|
8579
8580
|
sortDescBoolean: v
|
|
8580
8581
|
},
|
|
@@ -8593,10 +8594,10 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8593
8594
|
}, te = (x, D, ae, ue = !1) => {
|
|
8594
8595
|
l("head-clicked", x, D, ae, ue), G(D);
|
|
8595
8596
|
}, G = (x) => {
|
|
8596
|
-
if (!
|
|
8597
|
+
if (!_.value)
|
|
8597
8598
|
return;
|
|
8598
8599
|
const D = typeof x == "string" ? x : x.key, ae = typeof x == "string" ? !1 : x.sortable;
|
|
8599
|
-
if (
|
|
8600
|
+
if (_.value === !0 && ae === !0) {
|
|
8600
8601
|
const ue = !v.value;
|
|
8601
8602
|
o.value = D, s.value = ue, l("sorted", D, ue);
|
|
8602
8603
|
}
|
|
@@ -8633,7 +8634,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8633
8634
|
}
|
|
8634
8635
|
}, X = (x) => [
|
|
8635
8636
|
{
|
|
8636
|
-
"b-table-sortable-column":
|
|
8637
|
+
"b-table-sortable-column": _.value && x.sortable
|
|
8637
8638
|
}
|
|
8638
8639
|
], ve = (x, D) => {
|
|
8639
8640
|
const ae = [
|
|
@@ -8656,9 +8657,9 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8656
8657
|
}, me = (x, D, ae = !1, ue = !1, U = !1) => {
|
|
8657
8658
|
if (m.value) {
|
|
8658
8659
|
if (ae && a.selectMode === "range" && k.value.size > 0) {
|
|
8659
|
-
const se = Array.from(k.value).pop(), Ie = a.items.findIndex((
|
|
8660
|
-
a.items.slice(et, tt + 1).forEach((
|
|
8661
|
-
k.value.has(
|
|
8660
|
+
const se = Array.from(k.value).pop(), Ie = a.items.findIndex((ut) => ut === se), et = Math.min(Ie, D), tt = Math.max(Ie, D);
|
|
8661
|
+
a.items.slice(et, tt + 1).forEach((ut) => {
|
|
8662
|
+
k.value.has(ut) || (k.value.add(ut), l("row-selected", ut));
|
|
8662
8663
|
});
|
|
8663
8664
|
} else
|
|
8664
8665
|
ue || U ? k.value.has(x) ? (k.value.delete(x), l("row-unselected", x)) : a.selectMode === "range" || a.selectMode === "multi" ? (k.value.add(x), l("row-selected", x)) : (k.value.forEach((se) => l("row-unselected", se)), k.value.clear(), k.value.add(x), l("row-selected", x)) : (k.value.forEach((se) => l("row-unselected", se)), k.value.clear(), k.value.add(x), l("row-selected", x));
|
|
@@ -8740,7 +8741,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8740
8741
|
isDesc: $(v),
|
|
8741
8742
|
direction: $(v) ? "desc" : "asc"
|
|
8742
8743
|
}, () => [
|
|
8743
|
-
|
|
8744
|
+
_.value && ae.field.sortable ? (g(), P("span", {
|
|
8744
8745
|
key: 0,
|
|
8745
8746
|
class: H(["b-table-sort-icon", {
|
|
8746
8747
|
sorted: ae.field.key === $(o),
|
|
@@ -8991,7 +8992,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
8991
8992
|
const l = e, a = Se(l, "modelValue", t), o = Fe(), n = d(() => l.card), s = d(() => l.end), r = d(() => l.fill), i = d(() => l.justified), v = d(() => l.lazy), b = d(() => l.noFade), h = d(() => l.noNavStyle), p = d(() => l.pills), B = d(() => l.small), S = d(() => l.vertical), m = R(a.value), A = R(""), y = u({
|
|
8992
8993
|
get: () => m.value,
|
|
8993
8994
|
set: (f) => {
|
|
8994
|
-
m.value = f,
|
|
8995
|
+
m.value = f, w.value.length > 0 && f >= 0 && f < w.value.length ? A.value = w.value[f].buttonId : A.value = "", a.value = f;
|
|
8995
8996
|
}
|
|
8996
8997
|
}), k = R([]);
|
|
8997
8998
|
oe(
|
|
@@ -9019,7 +9020,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9019
9020
|
},
|
|
9020
9021
|
{ immediate: !0 }
|
|
9021
9022
|
);
|
|
9022
|
-
const
|
|
9023
|
+
const w = u(
|
|
9023
9024
|
() => k.value.map((f, I) => {
|
|
9024
9025
|
const { tab: E } = f;
|
|
9025
9026
|
E.props || (E.props = {});
|
|
@@ -9043,7 +9044,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9043
9044
|
]
|
|
9044
9045
|
};
|
|
9045
9046
|
})
|
|
9046
|
-
),
|
|
9047
|
+
), _ = u(() => !(w != null && w.value && w.value.length > 0)), C = u(() => ({
|
|
9047
9048
|
"d-flex": S.value,
|
|
9048
9049
|
"align-items-start": S.value
|
|
9049
9050
|
})), T = Dt(() => l.align), c = u(() => ({
|
|
@@ -9057,44 +9058,44 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9057
9058
|
small: B.value
|
|
9058
9059
|
})), V = (f) => {
|
|
9059
9060
|
let I = !1;
|
|
9060
|
-
if (f !== void 0 && f > -1 && f <
|
|
9061
|
+
if (f !== void 0 && f > -1 && f < w.value.length && !w.value[f].disabled && (y.value < 0 || w.value[f].buttonId !== A.value)) {
|
|
9061
9062
|
const E = new Ge("activate-tab", { cancelable: !0 });
|
|
9062
9063
|
t("activate-tab", f, y.value, E), E.defaultPrevented || (y.value = f, I = !0);
|
|
9063
9064
|
}
|
|
9064
9065
|
return !I && a.value !== y.value && (a.value = y.value), I;
|
|
9065
9066
|
}, F = (f, I) => {
|
|
9066
9067
|
var E;
|
|
9067
|
-
V(I), I >= 0 && !
|
|
9068
|
+
V(I), I >= 0 && !w.value[I].disabled && ((E = w.value[I]) != null && E.onClick) && typeof w.value[I].onClick == "function" && w.value[I].onClick(f);
|
|
9068
9069
|
};
|
|
9069
9070
|
return V(m.value), oe(a, (f, I) => {
|
|
9070
9071
|
if (f === I)
|
|
9071
9072
|
return;
|
|
9072
|
-
if (f = Math.max(f, -1), I = Math.max(I, -1),
|
|
9073
|
+
if (f = Math.max(f, -1), I = Math.max(I, -1), w.value.length <= 0) {
|
|
9073
9074
|
y.value = -1;
|
|
9074
9075
|
return;
|
|
9075
9076
|
}
|
|
9076
9077
|
const E = f > I;
|
|
9077
9078
|
let z = f;
|
|
9078
|
-
const Z =
|
|
9079
|
-
for (; z >= 0 && z <= Z &&
|
|
9079
|
+
const Z = w.value.length - 1;
|
|
9080
|
+
for (; z >= 0 && z <= Z && w.value[z].disabled; )
|
|
9080
9081
|
z += E ? 1 : -1;
|
|
9081
9082
|
if (z < 0) {
|
|
9082
9083
|
V(0);
|
|
9083
9084
|
return;
|
|
9084
9085
|
}
|
|
9085
|
-
if (z >=
|
|
9086
|
-
V(
|
|
9086
|
+
if (z >= w.value.length) {
|
|
9087
|
+
V(w.value.length - 1);
|
|
9087
9088
|
return;
|
|
9088
9089
|
}
|
|
9089
9090
|
V(z);
|
|
9090
|
-
}), oe(
|
|
9091
|
-
let f =
|
|
9092
|
-
f < 0 && (y.value >=
|
|
9091
|
+
}), oe(w, () => {
|
|
9092
|
+
let f = w.value.map((I) => I.active && !I.disabled).lastIndexOf(!0);
|
|
9093
|
+
f < 0 && (y.value >= w.value.length ? f = w.value.map((I) => !I.disabled).lastIndexOf(!0) : w.value[y.value] && !w.value[y.value].disabled && (f = y.value)), f < 0 && (f = w.value.map((I) => !I.disabled).indexOf(!0)), w.value.forEach((I, E) => {
|
|
9093
9094
|
I.active = E === f;
|
|
9094
9095
|
}), V(f);
|
|
9095
9096
|
}), He(() => {
|
|
9096
|
-
if (y.value < 0 &&
|
|
9097
|
-
const f =
|
|
9097
|
+
if (y.value < 0 && w.value.length > 0 && !w.value.some((f) => f.active)) {
|
|
9098
|
+
const f = w.value.map((I) => !I.disabled).indexOf(!0);
|
|
9098
9099
|
V(f >= 0 ? f : -1);
|
|
9099
9100
|
}
|
|
9100
9101
|
}), De(Bo, {
|
|
@@ -9109,13 +9110,13 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9109
9110
|
key: 0,
|
|
9110
9111
|
class: H(["tab-content", f.contentClass])
|
|
9111
9112
|
}, [
|
|
9112
|
-
(g(!0), P(ce, null, he(
|
|
9113
|
+
(g(!0), P(ce, null, he(w.value, ({ tabComponent: E, contentId: z, tabClasses: Z, active: te }, G) => (g(), M(le(E()), {
|
|
9113
9114
|
id: z,
|
|
9114
9115
|
key: G,
|
|
9115
9116
|
class: H(Z),
|
|
9116
9117
|
active: te
|
|
9117
9118
|
}, null, 8, ["id", "class", "active"]))), 128)),
|
|
9118
|
-
|
|
9119
|
+
_.value ? (g(), P("div", {
|
|
9119
9120
|
key: "bv-empty-tab",
|
|
9120
9121
|
class: H(["tab-pane active", { "card-body": $(n) }])
|
|
9121
9122
|
}, [
|
|
@@ -9130,7 +9131,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9130
9131
|
role: "tablist"
|
|
9131
9132
|
}, [
|
|
9132
9133
|
O(f.$slots, "tabs-start"),
|
|
9133
|
-
(g(!0), P(ce, null, he(
|
|
9134
|
+
(g(!0), P(ce, null, he(w.value, ({ tab: E, buttonId: z, contentId: Z, navItemClasses: te, active: G, target: W }, X) => {
|
|
9134
9135
|
var ve, ge, pe;
|
|
9135
9136
|
return g(), P("li", {
|
|
9136
9137
|
key: X,
|
|
@@ -9146,7 +9147,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9146
9147
|
"aria-controls": Z,
|
|
9147
9148
|
"aria-selected": G
|
|
9148
9149
|
}, (ge = E == null ? void 0 : E.props) == null ? void 0 : ge["title-link-attributes"], {
|
|
9149
|
-
onClick:
|
|
9150
|
+
onClick: ot((me) => F(me, X), ["stop", "prevent"])
|
|
9150
9151
|
}), [
|
|
9151
9152
|
E.children && E.children.title ? (g(), M(le(E.children.title), { key: 0 })) : (g(), P(ce, { key: 1 }, [
|
|
9152
9153
|
ne(Y((pe = E == null ? void 0 : E.props) == null ? void 0 : pe.title), 1)
|
|
@@ -9161,13 +9162,13 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9161
9162
|
key: 1,
|
|
9162
9163
|
class: H(["tab-content", f.contentClass])
|
|
9163
9164
|
}, [
|
|
9164
|
-
(g(!0), P(ce, null, he(
|
|
9165
|
+
(g(!0), P(ce, null, he(w.value, ({ tabComponent: E, contentId: z, tabClasses: Z, active: te }, G) => (g(), M(le(E()), {
|
|
9165
9166
|
id: z,
|
|
9166
9167
|
key: G,
|
|
9167
9168
|
class: H(Z),
|
|
9168
9169
|
active: te
|
|
9169
9170
|
}, null, 8, ["id", "class", "active"]))), 128)),
|
|
9170
|
-
|
|
9171
|
+
_.value ? (g(), P("div", {
|
|
9171
9172
|
key: "bv-empty-tab",
|
|
9172
9173
|
class: H(["tab-pane active", { "card-body": $(n) }])
|
|
9173
9174
|
}, [
|
|
@@ -9208,7 +9209,7 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9208
9209
|
BAvatar: bi,
|
|
9209
9210
|
BAvatarGroup: hi,
|
|
9210
9211
|
BBadge: Bi,
|
|
9211
|
-
BBreadcrumb:
|
|
9212
|
+
BBreadcrumb: _i,
|
|
9212
9213
|
BBreadcrumbItem: nn,
|
|
9213
9214
|
BButton: kt,
|
|
9214
9215
|
BButtonGroup: $i,
|
|
@@ -9244,12 +9245,12 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9244
9245
|
BFormGroup: xu,
|
|
9245
9246
|
BFormInput: Nu,
|
|
9246
9247
|
BFormInvalidFeedback: Aa,
|
|
9247
|
-
BFormRadio:
|
|
9248
|
+
BFormRadio: wn,
|
|
9248
9249
|
BFormRadioGroup: ju,
|
|
9249
9250
|
BFormRow: Jt,
|
|
9250
9251
|
BFormSelect: Uu,
|
|
9251
9252
|
BFormSelectOption: ol,
|
|
9252
|
-
BFormSelectOptionGroup:
|
|
9253
|
+
BFormSelectOptionGroup: _n,
|
|
9253
9254
|
BFormSpinButton: Zu,
|
|
9254
9255
|
BFormTag: Vn,
|
|
9255
9256
|
BFormTags: vd,
|
|
@@ -9257,9 +9258,9 @@ const vc = /* @__PURE__ */ ll(cc, [["render", fc]]), pc = ["TD", "TH", "TR"], mc
|
|
|
9257
9258
|
BFormTextarea: md,
|
|
9258
9259
|
BFormValidFeedback: Fa,
|
|
9259
9260
|
BImg: al,
|
|
9260
|
-
BInputGroup:
|
|
9261
|
+
BInputGroup: wd,
|
|
9261
9262
|
BInputGroupAddon: nl,
|
|
9262
|
-
BInputGroupAppend:
|
|
9263
|
+
BInputGroupAppend: _d,
|
|
9263
9264
|
BInputGroupPrepend: $d,
|
|
9264
9265
|
BInputGroupText: An,
|
|
9265
9266
|
BLink: Xe,
|
|
@@ -9338,7 +9339,7 @@ export {
|
|
|
9338
9339
|
bi as BAvatar,
|
|
9339
9340
|
hi as BAvatarGroup,
|
|
9340
9341
|
Bi as BBadge,
|
|
9341
|
-
|
|
9342
|
+
_i as BBreadcrumb,
|
|
9342
9343
|
nn as BBreadcrumbItem,
|
|
9343
9344
|
kt as BButton,
|
|
9344
9345
|
$i as BButtonGroup,
|
|
@@ -9374,12 +9375,12 @@ export {
|
|
|
9374
9375
|
xu as BFormGroup,
|
|
9375
9376
|
Nu as BFormInput,
|
|
9376
9377
|
Aa as BFormInvalidFeedback,
|
|
9377
|
-
|
|
9378
|
+
wn as BFormRadio,
|
|
9378
9379
|
ju as BFormRadioGroup,
|
|
9379
9380
|
Jt as BFormRow,
|
|
9380
9381
|
Uu as BFormSelect,
|
|
9381
9382
|
ol as BFormSelectOption,
|
|
9382
|
-
|
|
9383
|
+
_n as BFormSelectOptionGroup,
|
|
9383
9384
|
Zu as BFormSpinButton,
|
|
9384
9385
|
Vn as BFormTag,
|
|
9385
9386
|
vd as BFormTags,
|
|
@@ -9387,9 +9388,9 @@ export {
|
|
|
9387
9388
|
md as BFormTextarea,
|
|
9388
9389
|
Fa as BFormValidFeedback,
|
|
9389
9390
|
al as BImg,
|
|
9390
|
-
|
|
9391
|
+
wd as BInputGroup,
|
|
9391
9392
|
nl as BInputGroupAddon,
|
|
9392
|
-
|
|
9393
|
+
_d as BInputGroupAppend,
|
|
9393
9394
|
$d as BInputGroupPrepend,
|
|
9394
9395
|
An as BInputGroupText,
|
|
9395
9396
|
Xe as BLink,
|