bootstrap-vue-next 0.9.15 → 0.9.16
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 +644 -641
- 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/BFormFile/BFormFile.vue.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/BFormFile/BFormFile.vue +10 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var In = Object.defineProperty;
|
|
2
2
|
var xn = (e, t, l) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
|
|
3
3
|
var Oe = (e, t, l) => (xn(e, typeof t != "symbol" ? t + "" : t, l), l);
|
|
4
|
-
import { unref as
|
|
4
|
+
import { unref as $, computed as i, ref as j, shallowRef as La, watch as ie, getCurrentScope as to, onScopeDispose as ao, shallowReadonly as dt, watchEffect as zt, readonly as $e, effectScope as lo, isRef as oo, toRef as ke, customRef as Ln, getCurrentInstance as ra, onMounted as We, nextTick as Ae, reactive as yt, defineComponent as z, h as re, Teleport as Na, toValue as ia, onActivated as Nn, onBeforeUnmount as no, openBlock as y, createElementBlock as P, Fragment as fe, createElementVNode as J, renderSlot as A, normalizeProps as _e, guardReactiveProps as Pe, createVNode as Be, withCtx as q, mergeProps as te, normalizeClass as R, normalizeStyle as Me, createTextVNode as se, toDisplayString as Z, createCommentVNode as Y, createApp as zn, provide as Ue, createBlock as M, resolveDynamicComponent as oe, inject as Fe, toHandlers as Hn, Transition as Rn, useSlots as Ie, useAttrs as za, withModifiers as it, renderList as Se, withKeys as Et, TransitionGroup as Mn, withDirectives as st, vShow as ua, isReactive as Dn, onUnmounted as jn, vModelCheckbox as qn, vModelRadio as Gn, vModelSelect as Wn, createSlots as so } from "vue";
|
|
5
5
|
const Un = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false", Ha = (e) => typeof e == "boolean" ? e : e === "" || e === "true";
|
|
6
6
|
class Ye {
|
|
7
7
|
constructor(t, l = {}) {
|
|
@@ -250,8 +250,8 @@ const Ts = async (e, t, l) => {
|
|
|
250
250
|
const { placement: a = "bottom", strategy: o = "absolute", middleware: n = [], platform: r } = l, s = n.filter(Boolean), d = await (r.isRTL == null ? void 0 : r.isRTL(t));
|
|
251
251
|
let f = await r.getElementRects({ reference: e, floating: t, strategy: o }), { x: v, y: p } = fl(f, a, d), c = a, m = {}, S = 0;
|
|
252
252
|
for (let g = 0; g < s.length; g++) {
|
|
253
|
-
const { name: V, fn: b } = s[g], { x: T, y: w, data: h, reset:
|
|
254
|
-
v = T ?? v, p = w ?? p, m = { ...m, [V]: { ...m[V], ...h } },
|
|
253
|
+
const { name: V, fn: b } = s[g], { x: T, y: w, data: h, reset: k } = await b({ x: v, y: p, initialPlacement: a, placement: c, strategy: o, middlewareData: m, rects: f, platform: r, elements: { reference: e, floating: t } });
|
|
254
|
+
v = T ?? v, p = w ?? p, m = { ...m, [V]: { ...m[V], ...h } }, k && S <= 50 && (S++, typeof k == "object" && (k.placement && (c = k.placement), k.rects && (f = k.rects === !0 ? await r.getElementRects({ reference: e, floating: t, strategy: o }) : k.rects), { x: v, y: p } = fl(f, c, d)), g = -1);
|
|
255
255
|
}
|
|
256
256
|
return { x: v, y: p, placement: c, strategy: o, middlewareData: m };
|
|
257
257
|
};
|
|
@@ -280,10 +280,10 @@ const Vs = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
|
280
280
|
const { x: l, y: a, placement: o, rects: n, platform: r, elements: s } = t, { element: d, padding: f = 0 } = rt(e, t) || {};
|
|
281
281
|
if (d == null)
|
|
282
282
|
return {};
|
|
283
|
-
const v = Ka(f), p = { x: l, y: a }, c = wt(o), m = Ua(c), S = await r.getDimensions(d), g = c === "y", V = g ? "top" : "left", b = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", w = n.reference[m] + n.reference[c] - p[c] - n.floating[m], h = p[c] - n.reference[c],
|
|
284
|
-
let B =
|
|
285
|
-
B && await (r.isElement == null ? void 0 : r.isElement(
|
|
286
|
-
const
|
|
283
|
+
const v = Ka(f), p = { x: l, y: a }, c = wt(o), m = Ua(c), S = await r.getDimensions(d), g = c === "y", V = g ? "top" : "left", b = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", w = n.reference[m] + n.reference[c] - p[c] - n.floating[m], h = p[c] - n.reference[c], k = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
|
|
284
|
+
let B = k ? k[T] : 0;
|
|
285
|
+
B && await (r.isElement == null ? void 0 : r.isElement(k)) || (B = s.floating[T] || n.floating[m]);
|
|
286
|
+
const C = w / 2 - h / 2, O = B / 2 - S[m] / 2 - 1, F = ht(v[V], O), _ = ht(v[b], O), x = F, I = B - S[m] - _, N = B / 2 - S[m] / 2 + C, ee = $a(x, N, I), ae = Je(o) != null && N != ee && n.reference[m] / 2 - (N < x ? F : _) - S[m] / 2 < 0 ? N < x ? x - N : I - N : 0;
|
|
287
287
|
return { [c]: p[c] - ae, data: { [c]: ee, centerOffset: N - ee + ae } };
|
|
288
288
|
} }), Co = ["top", "right", "bottom", "left"], vl = Co.reduce((e, t) => e.concat(t, t + "-start", t + "-end"), []), As = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
289
289
|
function ea(e) {
|
|
@@ -310,13 +310,13 @@ const Ps = function(e) {
|
|
|
310
310
|
const { main: w, cross: h } = To(T, n, await (d.isRTL == null ? void 0 : d.isRTL(f.floating)));
|
|
311
311
|
if (s !== T)
|
|
312
312
|
return { reset: { placement: g[0] } };
|
|
313
|
-
const
|
|
314
|
-
if (
|
|
315
|
-
return { data: { index: b + 1, overflows: B }, reset: { placement:
|
|
316
|
-
const
|
|
313
|
+
const k = [V[je(T)], V[w], V[h]], B = [...((a = r.autoPlacement) == null ? void 0 : a.overflows) || [], { placement: T, overflows: k }], C = g[b + 1];
|
|
314
|
+
if (C)
|
|
315
|
+
return { data: { index: b + 1, overflows: B }, reset: { placement: C } };
|
|
316
|
+
const O = B.map((_) => {
|
|
317
317
|
const x = Je(_.placement);
|
|
318
318
|
return [_.placement, x && v ? _.overflows.slice(0, 2).reduce((I, N) => I + N, 0) : _.overflows[0], _.overflows];
|
|
319
|
-
}).sort((_, x) => _[1] - x[1]), F = ((o =
|
|
319
|
+
}).sort((_, x) => _[1] - x[1]), F = ((o = O.filter((_) => _[2].slice(0, Je(_[0]) ? 2 : 3).every((x) => x <= 0))[0]) == null ? void 0 : o[0]) || O[0][0];
|
|
320
320
|
return F !== s ? { data: { index: b + 1, overflows: B }, reset: { placement: F } } : {};
|
|
321
321
|
} };
|
|
322
322
|
}, Vo = function(e) {
|
|
@@ -343,23 +343,23 @@ const Ps = function(e) {
|
|
|
343
343
|
}(je(x), N === "start", ee);
|
|
344
344
|
return ae && (H = H.map((W) => W + "-" + ae), I && (H = H.concat(H.map(Xt)))), H;
|
|
345
345
|
}(r, S, m, T));
|
|
346
|
-
const h = [r, ...w],
|
|
347
|
-
let
|
|
348
|
-
if (f && B.push(
|
|
346
|
+
const h = [r, ...w], k = await It(t, g), B = [];
|
|
347
|
+
let C = ((l = o.flip) == null ? void 0 : l.overflows) || [];
|
|
348
|
+
if (f && B.push(k[V]), v) {
|
|
349
349
|
const { main: x, cross: I } = To(a, n, T);
|
|
350
|
-
B.push(
|
|
350
|
+
B.push(k[x], k[I]);
|
|
351
351
|
}
|
|
352
|
-
if (
|
|
353
|
-
var
|
|
354
|
-
const x = (((
|
|
352
|
+
if (C = [...C, { placement: a, overflows: B }], !B.every((x) => x <= 0)) {
|
|
353
|
+
var O, F;
|
|
354
|
+
const x = (((O = o.flip) == null ? void 0 : O.index) || 0) + 1, I = h[x];
|
|
355
355
|
if (I)
|
|
356
|
-
return { data: { index: x, overflows:
|
|
357
|
-
let N = (F =
|
|
356
|
+
return { data: { index: x, overflows: C }, reset: { placement: I } };
|
|
357
|
+
let N = (F = C.filter((ee) => ee.overflows[0] <= 0).sort((ee, ae) => ee.overflows[1] - ae.overflows[1])[0]) == null ? void 0 : F.placement;
|
|
358
358
|
if (!N)
|
|
359
359
|
switch (c) {
|
|
360
360
|
case "bestFit": {
|
|
361
361
|
var _;
|
|
362
|
-
const ee = (_ =
|
|
362
|
+
const ee = (_ = C.map((ae) => [ae.placement, ae.overflows.filter((H) => H > 0).reduce((H, W) => H + W, 0)]).sort((ae, H) => ae[1] - H[1])[0]) == null ? void 0 : _[0];
|
|
363
363
|
ee && (N = ee);
|
|
364
364
|
break;
|
|
365
365
|
}
|
|
@@ -414,10 +414,10 @@ const Fs = function(e) {
|
|
|
414
414
|
return p.find((g) => d > g.left - m.left && d < g.right + m.right && f > g.top - m.top && f < g.bottom + m.bottom) || c;
|
|
415
415
|
if (p.length >= 2) {
|
|
416
416
|
if (wt(l) === "x") {
|
|
417
|
-
const
|
|
418
|
-
return { top:
|
|
417
|
+
const k = p[0], B = p[p.length - 1], C = je(l) === "top", O = k.top, F = B.bottom, _ = C ? k.left : B.left, x = C ? k.right : B.right;
|
|
418
|
+
return { top: O, bottom: F, left: _, right: x, width: x - _, height: F - O, x: _, y: O };
|
|
419
419
|
}
|
|
420
|
-
const g = je(l) === "left", V = Qt(...p.map((
|
|
420
|
+
const g = je(l) === "left", V = Qt(...p.map((k) => k.right)), b = ht(...p.map((k) => k.left)), T = p.filter((k) => g ? k.left === b : k.right === V), w = T[0].top, h = T[T.length - 1].bottom;
|
|
421
421
|
return { top: w, bottom: h, left: b, right: V, width: V - b, height: h - w, x: b, y: w };
|
|
422
422
|
}
|
|
423
423
|
return c;
|
|
@@ -704,7 +704,7 @@ function Rs(e) {
|
|
|
704
704
|
name: "arrow",
|
|
705
705
|
options: e,
|
|
706
706
|
fn(t) {
|
|
707
|
-
const l = Ca(
|
|
707
|
+
const l = Ca($(e.element));
|
|
708
708
|
return l == null ? {} : Vs({
|
|
709
709
|
element: l,
|
|
710
710
|
padding: e.padding
|
|
@@ -722,35 +722,35 @@ function wl(e, t) {
|
|
|
722
722
|
function Ro(e, t, l) {
|
|
723
723
|
l === void 0 && (l = {});
|
|
724
724
|
const a = l.whileElementsMounted, o = i(() => {
|
|
725
|
-
var
|
|
726
|
-
return (
|
|
727
|
-
}), n = i(() =>
|
|
728
|
-
var
|
|
729
|
-
return (
|
|
725
|
+
var C;
|
|
726
|
+
return (C = $(l.open)) != null ? C : !0;
|
|
727
|
+
}), n = i(() => $(l.middleware)), r = i(() => {
|
|
728
|
+
var C;
|
|
729
|
+
return (C = $(l.placement)) != null ? C : "bottom";
|
|
730
730
|
}), s = i(() => {
|
|
731
|
-
var
|
|
732
|
-
return (
|
|
731
|
+
var C;
|
|
732
|
+
return (C = $(l.strategy)) != null ? C : "absolute";
|
|
733
733
|
}), d = i(() => {
|
|
734
|
-
var
|
|
735
|
-
return (
|
|
734
|
+
var C;
|
|
735
|
+
return (C = $(l.transform)) != null ? C : !0;
|
|
736
736
|
}), f = i(() => Ca(e.value)), v = i(() => Ca(t.value)), p = j(0), c = j(0), m = j(s.value), S = j(r.value), g = La({}), V = j(!1), b = i(() => {
|
|
737
|
-
const
|
|
737
|
+
const C = {
|
|
738
738
|
position: m.value,
|
|
739
739
|
left: "0",
|
|
740
740
|
top: "0"
|
|
741
741
|
};
|
|
742
742
|
if (!v.value)
|
|
743
|
-
return
|
|
744
|
-
const
|
|
743
|
+
return C;
|
|
744
|
+
const O = wl(v.value, p.value), F = wl(v.value, c.value);
|
|
745
745
|
return d.value ? {
|
|
746
|
-
|
|
747
|
-
transform: "translate(" +
|
|
746
|
+
...C,
|
|
747
|
+
transform: "translate(" + O + "px, " + F + "px)",
|
|
748
748
|
...Ho(v.value) >= 1.5 && {
|
|
749
749
|
willChange: "transform"
|
|
750
750
|
}
|
|
751
751
|
} : {
|
|
752
752
|
position: m.value,
|
|
753
|
-
left:
|
|
753
|
+
left: O + "px",
|
|
754
754
|
top: F + "px"
|
|
755
755
|
};
|
|
756
756
|
});
|
|
@@ -760,14 +760,14 @@ function Ro(e, t, l) {
|
|
|
760
760
|
middleware: n.value,
|
|
761
761
|
placement: r.value,
|
|
762
762
|
strategy: s.value
|
|
763
|
-
}).then((
|
|
764
|
-
p.value =
|
|
763
|
+
}).then((C) => {
|
|
764
|
+
p.value = C.x, c.value = C.y, m.value = C.strategy, S.value = C.placement, g.value = C.middlewareData, V.value = !0;
|
|
765
765
|
});
|
|
766
766
|
}
|
|
767
767
|
function h() {
|
|
768
768
|
typeof T == "function" && (T(), T = void 0);
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function k() {
|
|
771
771
|
if (h(), a === void 0) {
|
|
772
772
|
w();
|
|
773
773
|
return;
|
|
@@ -782,7 +782,7 @@ function Ro(e, t, l) {
|
|
|
782
782
|
}
|
|
783
783
|
return ie([n, r, s], w, {
|
|
784
784
|
flush: "sync"
|
|
785
|
-
}), ie([f, v],
|
|
785
|
+
}), ie([f, v], k, {
|
|
786
786
|
flush: "sync"
|
|
787
787
|
}), ie(o, B, {
|
|
788
788
|
flush: "sync"
|
|
@@ -892,7 +892,7 @@ function er(e) {
|
|
|
892
892
|
return (...n) => (t += 1, l || (a = lo(!0), l = a.run(() => e(...n))), St(o), l);
|
|
893
893
|
}
|
|
894
894
|
function Rt(e) {
|
|
895
|
-
return typeof e == "function" ? e() :
|
|
895
|
+
return typeof e == "function" ? e() : $(e);
|
|
896
896
|
}
|
|
897
897
|
const aa = typeof window < "u", tr = (e) => typeof e < "u", Lt = () => {
|
|
898
898
|
}, ar = /* @__PURE__ */ lr();
|
|
@@ -1183,18 +1183,18 @@ function Or(e, t, l, a = {}) {
|
|
|
1183
1183
|
shallow: v,
|
|
1184
1184
|
window: p = et,
|
|
1185
1185
|
eventFilter: c,
|
|
1186
|
-
onError: m = (
|
|
1187
|
-
console.error(
|
|
1186
|
+
onError: m = (O) => {
|
|
1187
|
+
console.error(O);
|
|
1188
1188
|
}
|
|
1189
1189
|
} = a, S = (v ? La : j)(t);
|
|
1190
1190
|
if (!l)
|
|
1191
1191
|
try {
|
|
1192
1192
|
l = Ja("getDefaultStorage", () => {
|
|
1193
|
-
var
|
|
1194
|
-
return (
|
|
1193
|
+
var O;
|
|
1194
|
+
return (O = et) == null ? void 0 : O.localStorage;
|
|
1195
1195
|
})();
|
|
1196
|
-
} catch (
|
|
1197
|
-
m(
|
|
1196
|
+
} catch (O) {
|
|
1197
|
+
m(O);
|
|
1198
1198
|
}
|
|
1199
1199
|
if (!l)
|
|
1200
1200
|
return S;
|
|
@@ -1203,13 +1203,13 @@ function Or(e, t, l, a = {}) {
|
|
|
1203
1203
|
() => h(S.value),
|
|
1204
1204
|
{ flush: n, deep: r, eventFilter: c }
|
|
1205
1205
|
);
|
|
1206
|
-
return p && s && (Ve(p, "storage",
|
|
1207
|
-
function h(
|
|
1206
|
+
return p && s && (Ve(p, "storage", C), Ve(p, El, B)), C(), S;
|
|
1207
|
+
function h(O) {
|
|
1208
1208
|
try {
|
|
1209
|
-
if (
|
|
1209
|
+
if (O == null)
|
|
1210
1210
|
l.removeItem(e);
|
|
1211
1211
|
else {
|
|
1212
|
-
const F = b.write(
|
|
1212
|
+
const F = b.write(O), _ = l.getItem(e);
|
|
1213
1213
|
_ !== F && (l.setItem(e, F), p && p.dispatchEvent(new CustomEvent(El, {
|
|
1214
1214
|
detail: {
|
|
1215
1215
|
key: e,
|
|
@@ -1223,33 +1223,33 @@ function Or(e, t, l, a = {}) {
|
|
|
1223
1223
|
m(F);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1227
|
-
const F =
|
|
1226
|
+
function k(O) {
|
|
1227
|
+
const F = O ? O.newValue : l.getItem(e);
|
|
1228
1228
|
if (F == null)
|
|
1229
1229
|
return d && g !== null && l.setItem(e, b.write(g)), g;
|
|
1230
|
-
if (!
|
|
1230
|
+
if (!O && f) {
|
|
1231
1231
|
const _ = b.read(F);
|
|
1232
1232
|
return typeof f == "function" ? f(_, g) : V === "object" && !Array.isArray(_) ? Pl(Pl({}, g), _) : _;
|
|
1233
1233
|
} else
|
|
1234
1234
|
return typeof F != "string" ? F : b.read(F);
|
|
1235
1235
|
}
|
|
1236
|
-
function B(
|
|
1237
|
-
|
|
1236
|
+
function B(O) {
|
|
1237
|
+
C(O.detail);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1240
|
-
if (!(
|
|
1241
|
-
if (
|
|
1239
|
+
function C(O) {
|
|
1240
|
+
if (!(O && O.storageArea !== l)) {
|
|
1241
|
+
if (O && O.key == null) {
|
|
1242
1242
|
S.value = g;
|
|
1243
1243
|
return;
|
|
1244
1244
|
}
|
|
1245
|
-
if (!(
|
|
1245
|
+
if (!(O && O.key !== e)) {
|
|
1246
1246
|
T();
|
|
1247
1247
|
try {
|
|
1248
|
-
S.value =
|
|
1248
|
+
S.value = k(O);
|
|
1249
1249
|
} catch (F) {
|
|
1250
1250
|
m(F);
|
|
1251
1251
|
} finally {
|
|
1252
|
-
|
|
1252
|
+
O ? Ae(w) : w();
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
1255
|
}
|
|
@@ -1286,29 +1286,29 @@ function Lr(e = {}) {
|
|
|
1286
1286
|
() => S.value === "auto" ? m.value : S.value
|
|
1287
1287
|
), V = Ja(
|
|
1288
1288
|
"updateHTMLAttrs",
|
|
1289
|
-
(h,
|
|
1290
|
-
const
|
|
1291
|
-
if (
|
|
1289
|
+
(h, k, B) => {
|
|
1290
|
+
const C = typeof h == "string" ? o == null ? void 0 : o.document.querySelector(h) : Qe(h);
|
|
1291
|
+
if (!C)
|
|
1292
1292
|
return;
|
|
1293
|
-
let
|
|
1293
|
+
let O;
|
|
1294
1294
|
if (v) {
|
|
1295
|
-
|
|
1295
|
+
O = o.document.createElement("style");
|
|
1296
1296
|
const F = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
1297
|
-
|
|
1297
|
+
O.appendChild(document.createTextNode(F)), o.document.head.appendChild(O);
|
|
1298
1298
|
}
|
|
1299
|
-
if (
|
|
1299
|
+
if (k === "class") {
|
|
1300
1300
|
const F = B.split(/\s/g);
|
|
1301
1301
|
Object.values(p).flatMap((_) => (_ || "").split(/\s/g)).filter(Boolean).forEach((_) => {
|
|
1302
|
-
F.includes(_) ?
|
|
1302
|
+
F.includes(_) ? C.classList.add(_) : C.classList.remove(_);
|
|
1303
1303
|
});
|
|
1304
1304
|
} else
|
|
1305
|
-
|
|
1306
|
-
v && (o.getComputedStyle(
|
|
1305
|
+
C.setAttribute(k, B);
|
|
1306
|
+
v && (o.getComputedStyle(O).opacity, document.head.removeChild(O));
|
|
1307
1307
|
}
|
|
1308
1308
|
);
|
|
1309
1309
|
function b(h) {
|
|
1310
|
-
var
|
|
1311
|
-
V(t, l, (
|
|
1310
|
+
var k;
|
|
1311
|
+
V(t, l, (k = p[h]) != null ? k : h);
|
|
1312
1312
|
}
|
|
1313
1313
|
function T(h) {
|
|
1314
1314
|
e.onChanged ? e.onChanged(h, b) : b(h);
|
|
@@ -1398,8 +1398,8 @@ function xl(e, t = {}) {
|
|
|
1398
1398
|
height: h
|
|
1399
1399
|
} = V.getBoundingClientRect();
|
|
1400
1400
|
v.value = b + a.pageXOffset, p.value = T + a.pageYOffset, c.value = h, m.value = w;
|
|
1401
|
-
const
|
|
1402
|
-
S.value = w === 0 || h === 0 ||
|
|
1401
|
+
const k = o.value - v.value, B = n.value - p.value;
|
|
1402
|
+
S.value = w === 0 || h === 0 || k < 0 || B < 0 || k > w || B > h, (l || !S.value) && (d.value = k, f.value = B);
|
|
1403
1403
|
},
|
|
1404
1404
|
{ immediate: !0 }
|
|
1405
1405
|
), Ve(document, "mouseleave", () => {
|
|
@@ -1432,11 +1432,11 @@ function Hr(e, t = {}) {
|
|
|
1432
1432
|
f.x = F, f.y = _;
|
|
1433
1433
|
};
|
|
1434
1434
|
let h;
|
|
1435
|
-
const
|
|
1436
|
-
r ? h =
|
|
1435
|
+
const k = Rr(s == null ? void 0 : s.document);
|
|
1436
|
+
r ? h = k ? { passive: !0 } : { capture: !1 } : h = k ? { passive: !1, capture: !0 } : { capture: !0 };
|
|
1437
1437
|
const B = (F) => {
|
|
1438
1438
|
g.value && (o == null || o(F, V.value)), g.value = !1;
|
|
1439
|
-
},
|
|
1439
|
+
}, C = [
|
|
1440
1440
|
Ve(e, "touchstart", (F) => {
|
|
1441
1441
|
if (F.touches.length !== 1)
|
|
1442
1442
|
return;
|
|
@@ -1454,14 +1454,14 @@ function Hr(e, t = {}) {
|
|
|
1454
1454
|
Ve(e, "touchcancel", B, h)
|
|
1455
1455
|
];
|
|
1456
1456
|
return {
|
|
1457
|
-
isPassiveEventSupported:
|
|
1457
|
+
isPassiveEventSupported: k,
|
|
1458
1458
|
isSwiping: g,
|
|
1459
1459
|
direction: V,
|
|
1460
1460
|
coordsStart: d,
|
|
1461
1461
|
coordsEnd: f,
|
|
1462
1462
|
lengthX: v,
|
|
1463
1463
|
lengthY: p,
|
|
1464
|
-
stop: () =>
|
|
1464
|
+
stop: () => C.forEach((F) => F())
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
1467
|
function Rr(e) {
|
|
@@ -1494,11 +1494,11 @@ function we(e, t, l, a = {}) {
|
|
|
1494
1494
|
const w = b(), h = j(w);
|
|
1495
1495
|
return ie(
|
|
1496
1496
|
() => e[t],
|
|
1497
|
-
(
|
|
1497
|
+
(k) => h.value = V(k)
|
|
1498
1498
|
), ie(
|
|
1499
1499
|
h,
|
|
1500
|
-
(
|
|
1501
|
-
(
|
|
1500
|
+
(k) => {
|
|
1501
|
+
(k !== e[t] || v) && T(k);
|
|
1502
1502
|
},
|
|
1503
1503
|
{ deep: v }
|
|
1504
1504
|
), h;
|
|
@@ -1636,7 +1636,7 @@ const Ko = Qs(() => {
|
|
|
1636
1636
|
u(() => e.plaintext), u(() => e.readonly), u(() => e.required);
|
|
1637
1637
|
const p = u(() => e.state), c = u(() => e.trim), { focused: m } = Le(l, {
|
|
1638
1638
|
initialValue: r.value
|
|
1639
|
-
}), S = (
|
|
1639
|
+
}), S = (C, O, F = !1) => (C = String(C), typeof e.formatter == "function" && (!f.value || F) ? (o = !1, e.formatter(C, O)) : C), g = (C) => c.value ? C.trim() : v.value ? Number.parseFloat(C) : C, V = () => {
|
|
1640
1640
|
r.value && (m.value = !0);
|
|
1641
1641
|
};
|
|
1642
1642
|
We(() => {
|
|
@@ -1648,42 +1648,42 @@ const Ko = Qs(() => {
|
|
|
1648
1648
|
});
|
|
1649
1649
|
const b = i(
|
|
1650
1650
|
() => ca(e.ariaInvalid, p.value)
|
|
1651
|
-
), T = (
|
|
1652
|
-
const { value:
|
|
1653
|
-
if (F === !1 ||
|
|
1654
|
-
|
|
1651
|
+
), T = (C) => {
|
|
1652
|
+
const { value: O } = C.target, F = S(O, C);
|
|
1653
|
+
if (F === !1 || C.defaultPrevented) {
|
|
1654
|
+
C.preventDefault();
|
|
1655
1655
|
return;
|
|
1656
1656
|
}
|
|
1657
1657
|
if (d.value)
|
|
1658
1658
|
return;
|
|
1659
1659
|
const _ = g(F);
|
|
1660
|
-
e.modelValue !== _ && (a =
|
|
1661
|
-
}, w = (
|
|
1662
|
-
const { value:
|
|
1663
|
-
if (F === !1 ||
|
|
1664
|
-
|
|
1660
|
+
e.modelValue !== _ && (a = O, t("update:modelValue", _)), t("input", F);
|
|
1661
|
+
}, w = (C) => {
|
|
1662
|
+
const { value: O } = C.target, F = S(O, C);
|
|
1663
|
+
if (F === !1 || C.defaultPrevented) {
|
|
1664
|
+
C.preventDefault();
|
|
1665
1665
|
return;
|
|
1666
1666
|
}
|
|
1667
1667
|
if (!d.value)
|
|
1668
1668
|
return;
|
|
1669
|
-
a =
|
|
1669
|
+
a = O, t("update:modelValue", F);
|
|
1670
1670
|
const _ = g(F);
|
|
1671
1671
|
e.modelValue !== _ && t("change", F);
|
|
1672
|
-
}, h = (
|
|
1673
|
-
if (t("blur",
|
|
1672
|
+
}, h = (C) => {
|
|
1673
|
+
if (t("blur", C), !d.value && !f.value)
|
|
1674
1674
|
return;
|
|
1675
|
-
const { value:
|
|
1676
|
-
a =
|
|
1677
|
-
},
|
|
1675
|
+
const { value: O } = C.target, F = S(O, C, !0);
|
|
1676
|
+
a = O, t("update:modelValue", F);
|
|
1677
|
+
}, k = () => {
|
|
1678
1678
|
s.value || (m.value = !0);
|
|
1679
1679
|
}, B = () => {
|
|
1680
|
-
var
|
|
1681
|
-
s.value || (
|
|
1680
|
+
var C;
|
|
1681
|
+
s.value || (C = l.value) == null || C.blur();
|
|
1682
1682
|
};
|
|
1683
1683
|
return ie(
|
|
1684
1684
|
() => e.modelValue,
|
|
1685
|
-
(
|
|
1686
|
-
l.value && (l.value.value = a && o ? a :
|
|
1685
|
+
(C) => {
|
|
1686
|
+
l.value && (l.value.value = a && o ? a : C, a = null, o = !0);
|
|
1687
1687
|
}
|
|
1688
1688
|
), {
|
|
1689
1689
|
input: l,
|
|
@@ -1692,7 +1692,7 @@ const Ko = Qs(() => {
|
|
|
1692
1692
|
onInput: T,
|
|
1693
1693
|
onChange: w,
|
|
1694
1694
|
onBlur: h,
|
|
1695
|
-
focus:
|
|
1695
|
+
focus: k,
|
|
1696
1696
|
blur: B
|
|
1697
1697
|
};
|
|
1698
1698
|
}, ft = (e, t) => {
|
|
@@ -1790,7 +1790,7 @@ const Ko = Qs(() => {
|
|
|
1790
1790
|
}), ie(a, () => {
|
|
1791
1791
|
a.value !== o.value && (a.value ? L() : le(new Event("update:modelValue")));
|
|
1792
1792
|
});
|
|
1793
|
-
const r = Ce(() => l.id, "popover"), s = u(() => l.click), d = u(() => l.manual), f = u(() => l.noShift), v = u(() => l.noFlip), p = u(() => l.noFade), c = u(() => l.noAutoClose), m = u(() => l.hide), S = u(() => l.realtime), g = u(() => l.inline), V = u(() => l.tooltip), b = u(() => l.html), T = j(!1), w = j(null), h = j(null),
|
|
1793
|
+
const r = Ce(() => l.id, "popover"), s = u(() => l.click), d = u(() => l.manual), f = u(() => l.noShift), v = u(() => l.noFlip), p = u(() => l.noFade), c = u(() => l.noAutoClose), m = u(() => l.hide), S = u(() => l.realtime), g = u(() => l.inline), V = u(() => l.tooltip), b = u(() => l.html), T = j(!1), w = j(null), h = j(null), k = j(null), B = j(null), C = j(null), O = (U) => {
|
|
1794
1794
|
if (typeof U == "string" || U instanceof HTMLElement)
|
|
1795
1795
|
return U;
|
|
1796
1796
|
if (typeof U == "function")
|
|
@@ -1817,7 +1817,7 @@ const Ko = Qs(() => {
|
|
|
1817
1817
|
Ps({
|
|
1818
1818
|
alignment: l.placement.split("-")[1] || void 0
|
|
1819
1819
|
})
|
|
1820
|
-
), f.value === !1 && ce.push(Oo()), m.value === !0 && ce.push(Es({ padding: 10 })), g.value === !0 && ce.push(Fs()), ce.push(Rs({ element:
|
|
1820
|
+
), f.value === !1 && ce.push(Oo()), m.value === !0 && ce.push(Es({ padding: 10 })), g.value === !0 && ce.push(Fs()), ce.push(Rs({ element: k, padding: 10 })), ce;
|
|
1821
1821
|
}), ee = i(
|
|
1822
1822
|
() => I.value ? void 0 : l.placement
|
|
1823
1823
|
), { x: ae, y: H, strategy: W, middlewareData: ue, placement: be, update: he } = Ro(h, w, {
|
|
@@ -1903,12 +1903,12 @@ const Ko = Qs(() => {
|
|
|
1903
1903
|
}, ve = () => {
|
|
1904
1904
|
var U;
|
|
1905
1905
|
if (l.target) {
|
|
1906
|
-
const ce = F(
|
|
1906
|
+
const ce = F(O(l.target));
|
|
1907
1907
|
ce ? B.value = ce : console.warn("Target element not found", l.target);
|
|
1908
1908
|
} else
|
|
1909
|
-
B.value = (U =
|
|
1909
|
+
B.value = (U = C.value) == null ? void 0 : U.nextElementSibling;
|
|
1910
1910
|
if (l.reference) {
|
|
1911
|
-
const ce = F(
|
|
1911
|
+
const ce = F(O(l.reference));
|
|
1912
1912
|
ce ? h.value = ce : console.warn("Reference element not found", l.reference);
|
|
1913
1913
|
} else
|
|
1914
1914
|
h.value = B.value;
|
|
@@ -1924,10 +1924,10 @@ const Ko = Qs(() => {
|
|
|
1924
1924
|
{ ignore: [B] }
|
|
1925
1925
|
), ie([() => l.click, () => l.target, () => l.reference], () => {
|
|
1926
1926
|
ye(), ve();
|
|
1927
|
-
}), We(ve), no(ye), (U, ce) => (y(),
|
|
1927
|
+
}), We(ve), no(ye), (U, ce) => (y(), P(fe, null, [
|
|
1928
1928
|
J("span", {
|
|
1929
1929
|
ref_key: "placeholder",
|
|
1930
|
-
ref:
|
|
1930
|
+
ref: C
|
|
1931
1931
|
}, null, 512),
|
|
1932
1932
|
A(U.$slots, "target", _e(Pe({ show: L, hide: le, toggle: ne, showState: o.value }))),
|
|
1933
1933
|
Be(Ya, {
|
|
@@ -1936,7 +1936,7 @@ const Ko = Qs(() => {
|
|
|
1936
1936
|
skip: !U.container
|
|
1937
1937
|
}, {
|
|
1938
1938
|
default: q(() => [
|
|
1939
|
-
n.value ? (y(),
|
|
1939
|
+
n.value ? (y(), P("div", te({
|
|
1940
1940
|
key: 0,
|
|
1941
1941
|
id: U.id
|
|
1942
1942
|
}, U.$attrs, {
|
|
@@ -1946,41 +1946,41 @@ const Ko = Qs(() => {
|
|
|
1946
1946
|
role: "tooltip",
|
|
1947
1947
|
tabindex: "-1",
|
|
1948
1948
|
style: {
|
|
1949
|
-
position:
|
|
1950
|
-
top: `${
|
|
1951
|
-
left: `${
|
|
1949
|
+
position: $(W),
|
|
1950
|
+
top: `${$(H)}px`,
|
|
1951
|
+
left: `${$(ae)}px`,
|
|
1952
1952
|
width: "max-content"
|
|
1953
1953
|
}
|
|
1954
1954
|
}), [
|
|
1955
1955
|
J("div", {
|
|
1956
1956
|
ref_key: "arrow",
|
|
1957
|
-
ref:
|
|
1958
|
-
class: R(`${
|
|
1957
|
+
ref: k,
|
|
1958
|
+
class: R(`${$(V) ? "tooltip" : "popover"}-arrow`),
|
|
1959
1959
|
style: Me(me.value),
|
|
1960
1960
|
"data-popper-arrow": ""
|
|
1961
1961
|
}, null, 6),
|
|
1962
|
-
U.title || U.$slots.title ? (y(),
|
|
1963
|
-
|
|
1962
|
+
U.title || U.$slots.title ? (y(), P(fe, { key: 0 }, [
|
|
1963
|
+
$(b) ? (y(), P("div", {
|
|
1964
1964
|
key: 1,
|
|
1965
|
-
class: R(
|
|
1965
|
+
class: R($(V) ? "tooltip-inner" : "popover-header"),
|
|
1966
1966
|
innerHTML: _.value
|
|
1967
|
-
}, null, 10, Wr)) : (y(),
|
|
1967
|
+
}, null, 10, Wr)) : (y(), P("div", {
|
|
1968
1968
|
key: 0,
|
|
1969
|
-
class: R(
|
|
1969
|
+
class: R($(V) ? "tooltip-inner" : "popover-header")
|
|
1970
1970
|
}, [
|
|
1971
1971
|
A(U.$slots, "title", {}, () => [
|
|
1972
1972
|
se(Z(U.title), 1)
|
|
1973
1973
|
])
|
|
1974
1974
|
], 2))
|
|
1975
1975
|
], 64)) : Y("", !0),
|
|
1976
|
-
|
|
1977
|
-
|
|
1976
|
+
$(V) && !U.$slots.title && !U.title || !$(V) ? (y(), P(fe, { key: 1 }, [
|
|
1977
|
+
$(b) ? (y(), P("div", {
|
|
1978
1978
|
key: 1,
|
|
1979
|
-
class: R(
|
|
1979
|
+
class: R($(V) ? "tooltip-inner" : "popover-body"),
|
|
1980
1980
|
innerHTML: x.value
|
|
1981
|
-
}, null, 10, Ur)) : (y(),
|
|
1981
|
+
}, null, 10, Ur)) : (y(), P("div", {
|
|
1982
1982
|
key: 0,
|
|
1983
|
-
class: R(
|
|
1983
|
+
class: R($(V) ? "tooltip-inner" : "popover-body")
|
|
1984
1984
|
}, [
|
|
1985
1985
|
A(U.$slots, "default", {}, () => [
|
|
1986
1986
|
se(Z(U.content), 1)
|
|
@@ -2069,8 +2069,8 @@ const Ko = Qs(() => {
|
|
|
2069
2069
|
setOpenItem: (d) => {
|
|
2070
2070
|
a.value = d;
|
|
2071
2071
|
}
|
|
2072
|
-
}), (d, f) => (y(),
|
|
2073
|
-
id:
|
|
2072
|
+
}), (d, f) => (y(), P("div", {
|
|
2073
|
+
id: $(o),
|
|
2074
2074
|
class: R(["accordion", s.value])
|
|
2075
2075
|
}, [
|
|
2076
2076
|
A(d.$slots, "default")
|
|
@@ -2090,7 +2090,7 @@ const Ko = Qs(() => {
|
|
|
2090
2090
|
},
|
|
2091
2091
|
emits: ["show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "update:modelValue"],
|
|
2092
2092
|
setup(e, { expose: t, emit: l }) {
|
|
2093
|
-
const a = e, o = (
|
|
2093
|
+
const a = e, o = (k, B = {}) => new Ht(k, {
|
|
2094
2094
|
cancelable: !1,
|
|
2095
2095
|
target: c.value || null,
|
|
2096
2096
|
relatedTarget: null,
|
|
@@ -2111,8 +2111,8 @@ const Ko = Qs(() => {
|
|
|
2111
2111
|
n.value = !r.value;
|
|
2112
2112
|
}, w = () => {
|
|
2113
2113
|
S.value = !0, m.value = !0;
|
|
2114
|
-
const
|
|
2115
|
-
if (l("show",
|
|
2114
|
+
const k = o("show", { cancelable: !0 });
|
|
2115
|
+
if (l("show", k), k.defaultPrevented) {
|
|
2116
2116
|
l("show-prevented");
|
|
2117
2117
|
return;
|
|
2118
2118
|
}
|
|
@@ -2122,8 +2122,8 @@ const Ko = Qs(() => {
|
|
|
2122
2122
|
}, Sa(c.value)));
|
|
2123
2123
|
});
|
|
2124
2124
|
}, h = () => {
|
|
2125
|
-
const
|
|
2126
|
-
if (l("hide",
|
|
2125
|
+
const k = o("hide", { cancelable: !0 });
|
|
2126
|
+
if (l("hide", k), k.defaultPrevented) {
|
|
2127
2127
|
l("hide-prevented");
|
|
2128
2128
|
return;
|
|
2129
2129
|
}
|
|
@@ -2145,8 +2145,8 @@ const Ko = Qs(() => {
|
|
|
2145
2145
|
c.value !== null && !r.value && s.value && Ae(() => {
|
|
2146
2146
|
n.value = !0;
|
|
2147
2147
|
});
|
|
2148
|
-
}), v.value && (n.value = !0, S.value = !0), ie(v, (
|
|
2149
|
-
|
|
2148
|
+
}), v.value && (n.value = !0, S.value = !0), ie(v, (k) => {
|
|
2149
|
+
k ? b() : V();
|
|
2150
2150
|
}), Ve(c, "bv-toggle", () => {
|
|
2151
2151
|
n.value = !r.value;
|
|
2152
2152
|
}), t({
|
|
@@ -2162,21 +2162,21 @@ const Ko = Qs(() => {
|
|
|
2162
2162
|
toggle: T,
|
|
2163
2163
|
visible: $e(S),
|
|
2164
2164
|
isNav: f
|
|
2165
|
-
}), (
|
|
2166
|
-
A(
|
|
2167
|
-
(y(), M(oe(
|
|
2168
|
-
id:
|
|
2165
|
+
}), (k, B) => (y(), P(fe, null, [
|
|
2166
|
+
A(k.$slots, "header", _e(Pe({ visible: $(r), toggle: T, open: b, close: V, id: $(p) }))),
|
|
2167
|
+
(y(), M(oe(k.tag), te({
|
|
2168
|
+
id: $(p),
|
|
2169
2169
|
ref_key: "element",
|
|
2170
2170
|
ref: c,
|
|
2171
2171
|
class: ["collapse", g.value],
|
|
2172
|
-
"is-nav":
|
|
2173
|
-
},
|
|
2172
|
+
"is-nav": $(f)
|
|
2173
|
+
}, k.$attrs), {
|
|
2174
2174
|
default: q(() => [
|
|
2175
|
-
A(
|
|
2175
|
+
A(k.$slots, "default", _e(Pe({ visible: $(r), toggle: k.toggle, open: b, close: V })))
|
|
2176
2176
|
]),
|
|
2177
2177
|
_: 3
|
|
2178
2178
|
}, 16, ["id", "class", "is-nav"])),
|
|
2179
|
-
A(
|
|
2179
|
+
A(k.$slots, "footer", _e(Pe({ visible: $(r), toggle: T, open: b, close: V, id: $(p) })))
|
|
2180
2180
|
], 64));
|
|
2181
2181
|
}
|
|
2182
2182
|
}), Zr = { class: "accordion-item" }, Qr = ["aria-expanded", "aria-controls", "onClick"], ei = { class: "accordion-body" }, ti = /* @__PURE__ */ z({
|
|
@@ -2210,14 +2210,14 @@ const Ko = Qs(() => {
|
|
|
2210
2210
|
() => o.value = (n == null ? void 0 : n.openItem.value) === r.value && !(n != null && n.free.value)
|
|
2211
2211
|
), ie(o, () => {
|
|
2212
2212
|
o.value && !(n != null && n.free.value) && (n == null || n.setOpenItem(r.value));
|
|
2213
|
-
}), (s, d) => (y(),
|
|
2213
|
+
}), (s, d) => (y(), P("div", Zr, [
|
|
2214
2214
|
Be(ln, te({
|
|
2215
|
-
id:
|
|
2216
|
-
modelValue:
|
|
2215
|
+
id: $(r),
|
|
2216
|
+
modelValue: $(o),
|
|
2217
2217
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => oo(o) ? o.value = f : null),
|
|
2218
2218
|
class: "accordion-collapse"
|
|
2219
2219
|
}, s.$attrs, {
|
|
2220
|
-
"aria-labelledby": `heading${
|
|
2220
|
+
"aria-labelledby": `heading${$(r)}`,
|
|
2221
2221
|
tag: s.tag,
|
|
2222
2222
|
toggle: s.toggle,
|
|
2223
2223
|
horizontal: s.horizontal,
|
|
@@ -2226,7 +2226,7 @@ const Ko = Qs(() => {
|
|
|
2226
2226
|
}, Hn(a)), {
|
|
2227
2227
|
header: q(({ visible: f, toggle: v }) => [
|
|
2228
2228
|
(y(), M(oe(s.headerTag), {
|
|
2229
|
-
id: `heading${
|
|
2229
|
+
id: `heading${$(r)}`,
|
|
2230
2230
|
class: "accordion-header"
|
|
2231
2231
|
}, {
|
|
2232
2232
|
default: q(() => [
|
|
@@ -2234,7 +2234,7 @@ const Ko = Qs(() => {
|
|
|
2234
2234
|
class: R(["accordion-button", { collapsed: !f }]),
|
|
2235
2235
|
type: "button",
|
|
2236
2236
|
"aria-expanded": f ? "true" : "false",
|
|
2237
|
-
"aria-controls":
|
|
2237
|
+
"aria-controls": $(r),
|
|
2238
2238
|
onClick: v
|
|
2239
2239
|
}, [
|
|
2240
2240
|
A(s.$slots, "title", {}, () => [
|
|
@@ -2312,10 +2312,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2312
2312
|
const l = e, a = u(() => l.disabled), o = u(() => l.white), n = i(() => ({
|
|
2313
2313
|
"btn-close-white": o.value
|
|
2314
2314
|
}));
|
|
2315
|
-
return (r, s) => (y(),
|
|
2315
|
+
return (r, s) => (y(), P("button", {
|
|
2316
2316
|
type: r.type,
|
|
2317
2317
|
class: R(["btn-close", n.value]),
|
|
2318
|
-
disabled:
|
|
2318
|
+
disabled: $(a),
|
|
2319
2319
|
"aria-label": r.ariaLabel,
|
|
2320
2320
|
onClick: s[0] || (s[0] = (d) => t("click", d))
|
|
2321
2321
|
}, null, 10, ai));
|
|
@@ -2347,7 +2347,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2347
2347
|
"aria-hidden": r.label || n.value ? null : !0
|
|
2348
2348
|
}, {
|
|
2349
2349
|
default: q(() => [
|
|
2350
|
-
r.label || n.value ? (y(),
|
|
2350
|
+
r.label || n.value ? (y(), P("span", li, [
|
|
2351
2351
|
A(r.$slots, "label", {}, () => [
|
|
2352
2352
|
se(Z(r.label), 1)
|
|
2353
2353
|
])
|
|
@@ -2417,8 +2417,8 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2417
2417
|
return l.to || b;
|
|
2418
2418
|
const T = l.to;
|
|
2419
2419
|
if (Object.prototype.toString.call(T) === "[object Object]" && (T.path || T.query || T.hash)) {
|
|
2420
|
-
const w = T.path || "", h = T.query ? `?${Object.keys(T.query).map((B) => `${B}=${T.query[B]}`).join("=")}` : "",
|
|
2421
|
-
return `${w}${h}${
|
|
2420
|
+
const w = T.path || "", h = T.query ? `?${Object.keys(T.query).map((B) => `${B}=${T.query[B]}`).join("=")}` : "", k = !T.hash || T.hash.charAt(0) === "#" ? T.hash || "" : `#${T.hash}`;
|
|
2421
|
+
return `${w}${h}${k}` || b;
|
|
2422
2422
|
}
|
|
2423
2423
|
return b;
|
|
2424
2424
|
}), m = i(() => ({
|
|
@@ -2451,10 +2451,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2451
2451
|
(T = s == null ? void 0 : s.close) == null || T.call(s), t("click", b);
|
|
2452
2452
|
};
|
|
2453
2453
|
return (b, T) => p.value === "router-link" ? (y(), M(oe(p.value), te({ key: 0 }, S.value, { custom: "" }), {
|
|
2454
|
-
default: q(({ href: w, navigate: h, isActive:
|
|
2454
|
+
default: q(({ href: w, navigate: h, isActive: k }) => [
|
|
2455
2455
|
(y(), M(oe(b.routerTag), te({
|
|
2456
2456
|
href: w,
|
|
2457
|
-
class: [(
|
|
2457
|
+
class: [($(o) ?? k) && b.activeClass]
|
|
2458
2458
|
}, b.$attrs, {
|
|
2459
2459
|
onClick: (B) => {
|
|
2460
2460
|
h(B), f(), V(B);
|
|
@@ -2551,11 +2551,11 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2551
2551
|
}
|
|
2552
2552
|
t("click", h), p.value && (a.value = !d.value);
|
|
2553
2553
|
};
|
|
2554
|
-
return (h,
|
|
2554
|
+
return (h, k) => (y(), M(oe(T.value), te({
|
|
2555
2555
|
class: ["btn", V.value]
|
|
2556
2556
|
}, b.value, { onClick: w }), {
|
|
2557
2557
|
default: q(() => [
|
|
2558
|
-
|
|
2558
|
+
$(v) ? (y(), P("div", {
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: R(["btn-loading", { "mode-fill": h.loadingMode === "fill", "mode-inline": h.loadingMode === "inline" }])
|
|
2561
2561
|
}, [
|
|
@@ -2567,7 +2567,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2567
2567
|
])
|
|
2568
2568
|
], 2)) : Y("", !0),
|
|
2569
2569
|
J("div", {
|
|
2570
|
-
class: R(["btn-content", { "btn-loading-fill":
|
|
2570
|
+
class: R(["btn-content", { "btn-loading-fill": $(v) && h.loadingMode === "fill" }])
|
|
2571
2571
|
}, [
|
|
2572
2572
|
A(h.$slots, "default")
|
|
2573
2573
|
], 2)
|
|
@@ -2607,39 +2607,39 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2607
2607
|
value: h
|
|
2608
2608
|
} = Dr(c, () => a.interval, {
|
|
2609
2609
|
immediate: typeof n.value == "number" && d.value
|
|
2610
|
-
}),
|
|
2610
|
+
}), k = i(
|
|
2611
2611
|
() => typeof n.value == "boolean" ? n.value : S.value || f.value && w.value
|
|
2612
2612
|
), B = i(() => ({
|
|
2613
2613
|
variant: a.closeVariant,
|
|
2614
2614
|
type: "button"
|
|
2615
2615
|
}));
|
|
2616
2616
|
zt(() => l("close-countdown", h.value));
|
|
2617
|
-
const
|
|
2617
|
+
const C = () => {
|
|
2618
2618
|
typeof n.value == "boolean" ? n.value = !1 : (n.value = 0, T()), l("closed");
|
|
2619
|
-
},
|
|
2619
|
+
}, O = () => {
|
|
2620
2620
|
v.value || g();
|
|
2621
2621
|
};
|
|
2622
2622
|
return no(T), t({ pause: g, resume: b, restart: V, stop: T }), (F, _) => (y(), M(kt, {
|
|
2623
|
-
"no-fade":
|
|
2623
|
+
"no-fade": !$(s),
|
|
2624
2624
|
"trans-props": { enterToClass: "show" }
|
|
2625
2625
|
}, {
|
|
2626
2626
|
default: q(() => [
|
|
2627
|
-
|
|
2627
|
+
k.value ? (y(), P("div", {
|
|
2628
2628
|
key: 0,
|
|
2629
2629
|
class: R(["alert", m.value]),
|
|
2630
2630
|
role: "alert",
|
|
2631
2631
|
"aria-live": "polite",
|
|
2632
2632
|
"aria-atomic": "true",
|
|
2633
|
-
onMouseenter: it(
|
|
2633
|
+
onMouseenter: it(O, ["stop"]),
|
|
2634
2634
|
onMouseleave: _[0] || (_[0] = it(
|
|
2635
2635
|
//@ts-ignore
|
|
2636
|
-
(...x) =>
|
|
2636
|
+
(...x) => $(b) && $(b)(...x),
|
|
2637
2637
|
["stop"]
|
|
2638
2638
|
))
|
|
2639
2639
|
}, [
|
|
2640
2640
|
A(F.$slots, "default"),
|
|
2641
|
-
|
|
2642
|
-
p.value || F.closeContent ? (y(), M(_t, te({ key: 0 }, B.value, { onClick:
|
|
2641
|
+
$(r) ? (y(), P(fe, { key: 0 }, [
|
|
2642
|
+
p.value || F.closeContent ? (y(), M(_t, te({ key: 0 }, B.value, { onClick: C }), {
|
|
2643
2643
|
default: q(() => [
|
|
2644
2644
|
A(F.$slots, "close", {}, () => [
|
|
2645
2645
|
se(Z(F.closeContent), 1)
|
|
@@ -2649,7 +2649,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2649
2649
|
}, 16)) : (y(), M(Ct, te({
|
|
2650
2650
|
key: 1,
|
|
2651
2651
|
"aria-label": F.dismissLabel
|
|
2652
|
-
}, B.value, { onClick:
|
|
2652
|
+
}, B.value, { onClick: C }), null, 16, ["aria-label"]))
|
|
2653
2653
|
], 64)) : Y("", !0)
|
|
2654
2654
|
], 42, ni)) : Y("", !0)
|
|
2655
2655
|
]),
|
|
@@ -2699,9 +2699,9 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2699
2699
|
disabled: p.value || null
|
|
2700
2700
|
})), h = i(() => ({
|
|
2701
2701
|
[`bg-${l.badgeVariant}`]: l.badgeVariant !== null
|
|
2702
|
-
})),
|
|
2702
|
+
})), k = i(() => l.badge === !0 ? "" : l.badge), B = i(() => ({
|
|
2703
2703
|
[`text-${l.badgeVariant !== null && ee(l.badgeVariant)}`]: l.badgeVariant !== null
|
|
2704
|
-
})),
|
|
2704
|
+
})), C = i(() => ({
|
|
2705
2705
|
[`b-avatar-${l.size}`]: !!l.size && n.indexOf(Ta(l.size)) !== -1,
|
|
2706
2706
|
[`bg-${b.value}`]: b.value !== null,
|
|
2707
2707
|
badge: !v.value && b.value !== null && m.value,
|
|
@@ -2716,7 +2716,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2716
2716
|
["rounded-end"]: !c.value && T.value === "right",
|
|
2717
2717
|
btn: v.value,
|
|
2718
2718
|
[`btn-${b.value}`]: v.value ? b.value !== null : !1
|
|
2719
|
-
})),
|
|
2719
|
+
})), O = i(() => ({
|
|
2720
2720
|
[`text-${l.textVariant || b.value !== null && ee(b.value)}`]: l.textVariant || b.value !== null
|
|
2721
2721
|
})), F = i(() => {
|
|
2722
2722
|
const W = l.badgeOffset || "0px";
|
|
@@ -2742,32 +2742,32 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2742
2742
|
!p.value && v.value && t("click", W);
|
|
2743
2743
|
}, H = (W) => t("img-error", W);
|
|
2744
2744
|
return (W, ue) => (y(), M(oe(I.value), te({
|
|
2745
|
-
class: ["b-avatar",
|
|
2745
|
+
class: ["b-avatar", C.value],
|
|
2746
2746
|
style: N.value
|
|
2747
2747
|
}, w.value, { onClick: ae }), {
|
|
2748
2748
|
default: q(() => [
|
|
2749
|
-
m.value ? (y(),
|
|
2749
|
+
m.value ? (y(), P("span", ri, [
|
|
2750
2750
|
A(W.$slots, "default")
|
|
2751
|
-
])) : W.src ? (y(),
|
|
2751
|
+
])) : W.src ? (y(), P("span", ii, [
|
|
2752
2752
|
J("img", {
|
|
2753
2753
|
src: W.src,
|
|
2754
2754
|
alt: W.alt,
|
|
2755
2755
|
onError: H
|
|
2756
2756
|
}, null, 40, ui)
|
|
2757
|
-
])) : W.text ? (y(),
|
|
2757
|
+
])) : W.text ? (y(), P("span", {
|
|
2758
2758
|
key: 2,
|
|
2759
|
-
class: R(["b-avatar-text",
|
|
2759
|
+
class: R(["b-avatar-text", O.value]),
|
|
2760
2760
|
style: Me(_.value)
|
|
2761
2761
|
}, Z(W.text), 7)) : Y("", !0),
|
|
2762
|
-
g.value ? (y(),
|
|
2762
|
+
g.value ? (y(), P("span", {
|
|
2763
2763
|
key: 3,
|
|
2764
2764
|
class: R(["b-avatar-badge", h.value]),
|
|
2765
2765
|
style: Me(F.value)
|
|
2766
2766
|
}, [
|
|
2767
|
-
S.value ? A(W.$slots, "badge", { key: 0 }) : (y(),
|
|
2767
|
+
S.value ? A(W.$slots, "badge", { key: 0 }) : (y(), P("span", {
|
|
2768
2768
|
key: 1,
|
|
2769
2769
|
class: R(B.value)
|
|
2770
|
-
}, Z(
|
|
2770
|
+
}, Z(k.value), 3))
|
|
2771
2771
|
], 6)) : Y("", !0)
|
|
2772
2772
|
]),
|
|
2773
2773
|
_: 3
|
|
@@ -2938,7 +2938,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2938
2938
|
}
|
|
2939
2939
|
o.value || t("click", v);
|
|
2940
2940
|
};
|
|
2941
|
-
return (v, p) => (y(),
|
|
2941
|
+
return (v, p) => (y(), P("li", {
|
|
2942
2942
|
class: R(["breadcrumb-item", n.value])
|
|
2943
2943
|
}, [
|
|
2944
2944
|
(y(), M(oe(r.value), te({ "aria-current": s.value }, d.value, { onClick: f }), {
|
|
@@ -2962,10 +2962,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
2962
2962
|
let n = !1;
|
|
2963
2963
|
return o.map((s, d) => (typeof s == "string" && (s = { text: s }, d < o.length - 1 && (s.href = "#")), s.active && (n = !0), !s.active && !n && (s.active = d + 1 === o.length), s));
|
|
2964
2964
|
});
|
|
2965
|
-
return (o, n) => (y(),
|
|
2965
|
+
return (o, n) => (y(), P("nav", vi, [
|
|
2966
2966
|
J("ol", pi, [
|
|
2967
2967
|
A(o.$slots, "prepend"),
|
|
2968
|
-
(y(!0),
|
|
2968
|
+
(y(!0), P(fe, null, Se(a.value, (r, s) => (y(), M(on, te({ key: s }, r), {
|
|
2969
2969
|
default: q(() => [
|
|
2970
2970
|
se(Z(r.text), 1)
|
|
2971
2971
|
]),
|
|
@@ -3012,7 +3012,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3012
3012
|
const t = e, l = u(() => t.justify), a = i(() => ({
|
|
3013
3013
|
"justify-content-between": l.value
|
|
3014
3014
|
}));
|
|
3015
|
-
return (o, n) => (y(),
|
|
3015
|
+
return (o, n) => (y(), P("div", {
|
|
3016
3016
|
class: R([a.value, "btn-toolbar"]),
|
|
3017
3017
|
role: o.role,
|
|
3018
3018
|
"aria-label": o.ariaLabel
|
|
@@ -3047,18 +3047,18 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3047
3047
|
), c = i(
|
|
3048
3048
|
() => typeof t.sizes == "string" ? t.sizes.split(",").filter((w) => w).join(",") : Array.isArray(t.sizes) ? t.sizes.filter((w) => w).join(",") : void 0
|
|
3049
3049
|
), m = i(() => {
|
|
3050
|
-
const w = (B) => B === void 0 ? void 0 : typeof B == "number" ? B : Number.parseInt(B, 10) || void 0, h = w(t.width),
|
|
3050
|
+
const w = (B) => B === void 0 ? void 0 : typeof B == "number" ? B : Number.parseInt(B, 10) || void 0, h = w(t.width), k = w(t.height);
|
|
3051
3051
|
if (a.value) {
|
|
3052
|
-
if (h !== void 0 &&
|
|
3052
|
+
if (h !== void 0 && k === void 0)
|
|
3053
3053
|
return { height: h, width: h };
|
|
3054
|
-
if (h === void 0 &&
|
|
3055
|
-
return { height:
|
|
3056
|
-
if (h === void 0 &&
|
|
3054
|
+
if (h === void 0 && k !== void 0)
|
|
3055
|
+
return { height: k, width: k };
|
|
3056
|
+
if (h === void 0 && k === void 0)
|
|
3057
3057
|
return { height: 1, width: 1 };
|
|
3058
3058
|
}
|
|
3059
3059
|
return {
|
|
3060
3060
|
width: h,
|
|
3061
|
-
height:
|
|
3061
|
+
height: k
|
|
3062
3062
|
};
|
|
3063
3063
|
}), S = i(
|
|
3064
3064
|
() => T(m.value.width, m.value.height, t.blankColor)
|
|
@@ -3080,10 +3080,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3080
3080
|
[`rounded-${t.rounded}`]: typeof t.rounded == "string" && t.rounded !== "",
|
|
3081
3081
|
[`${V.value}`]: V.value !== void 0,
|
|
3082
3082
|
"d-block": o.value || n.value
|
|
3083
|
-
})), T = (w, h,
|
|
3084
|
-
hi.replace("%{w}", String(w)).replace("%{h}", String(h)).replace("%{f}",
|
|
3083
|
+
})), T = (w, h, k) => `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(
|
|
3084
|
+
hi.replace("%{w}", String(w)).replace("%{h}", String(h)).replace("%{f}", k)
|
|
3085
3085
|
)}`;
|
|
3086
|
-
return (w, h) => (y(),
|
|
3086
|
+
return (w, h) => (y(), P("img", te({ class: b.value }, g.value), null, 16));
|
|
3087
3087
|
}
|
|
3088
3088
|
}), sa = /* @__PURE__ */ z({
|
|
3089
3089
|
__name: "BCardImg",
|
|
@@ -3141,7 +3141,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3141
3141
|
class: R(l.value)
|
|
3142
3142
|
}, {
|
|
3143
3143
|
default: q(() => [
|
|
3144
|
-
a.html ? (y(),
|
|
3144
|
+
a.html ? (y(), P("div", {
|
|
3145
3145
|
key: 0,
|
|
3146
3146
|
innerHTML: a.html
|
|
3147
3147
|
}, null, 8, Bi)) : A(a.$slots, "default", { key: 1 }, () => [
|
|
@@ -3370,7 +3370,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3370
3370
|
class: R(["card", f.value])
|
|
3371
3371
|
}, {
|
|
3372
3372
|
default: q(() => [
|
|
3373
|
-
|
|
3373
|
+
$(a) ? Y("", !0) : A(S.$slots, "img", { key: 0 }, () => [
|
|
3374
3374
|
S.imgSrc ? (y(), M(sa, _e(te({ key: 0 }, m.value)), null, 16)) : Y("", !0)
|
|
3375
3375
|
]),
|
|
3376
3376
|
S.header || s.value || S.headerHtml ? (y(), M(sn, te({ key: 1 }, v.value, { class: S.headerClass }), {
|
|
@@ -3381,7 +3381,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3381
3381
|
]),
|
|
3382
3382
|
_: 3
|
|
3383
3383
|
}, 16, ["class"])) : Y("", !0),
|
|
3384
|
-
|
|
3384
|
+
$(r) ? A(S.$slots, "default", { key: 3 }, () => [
|
|
3385
3385
|
se(Z(S.bodyText), 1)
|
|
3386
3386
|
]) : (y(), M(dn, te({ key: 2 }, p.value, { class: S.bodyClass }), {
|
|
3387
3387
|
default: q(() => [
|
|
@@ -3399,7 +3399,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3399
3399
|
]),
|
|
3400
3400
|
_: 3
|
|
3401
3401
|
}, 16, ["class"])) : Y("", !0),
|
|
3402
|
-
|
|
3402
|
+
$(a) ? A(S.$slots, "img", { key: 5 }, () => [
|
|
3403
3403
|
S.imgSrc ? (y(), M(sa, _e(te({ key: 0 }, m.value)), null, 16)) : Y("", !0)
|
|
3404
3404
|
]) : Y("", !0)
|
|
3405
3405
|
]),
|
|
@@ -3479,11 +3479,11 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3479
3479
|
const a = e, o = Ie(), n = Ce(() => a.id, "carousel"), r = we(a, "modelValue", l, { passive: !0 }), s = u(() => a.keyboard), d = u(() => a.rideReverse), f = u(() => a.noHoverPause), v = u(() => a.fade), p = u(() => a.controls), c = u(() => a.indicators), m = u(() => a.noTouch), S = u(() => a.noWrap), g = mt(() => a.touchThreshold, {
|
|
3480
3480
|
nanToZero: !0,
|
|
3481
3481
|
method: "parseInt"
|
|
3482
|
-
}), V = j(!1), b = j(!1), T = j(!0), w = j(null), h = j(null),
|
|
3482
|
+
}), V = j(!1), b = j(!1), T = j(!0), w = j(null), h = j(null), k = j(r.value), B = i(
|
|
3483
3483
|
() => Un(a.ride) ? Ha(a.ride) : a.ride
|
|
3484
|
-
),
|
|
3484
|
+
), C = i(
|
|
3485
3485
|
() => `carousel-item carousel-item-${T.value ? "prev" : "next"} carousel-item-${T.value ? "end" : "start"}`
|
|
3486
|
-
),
|
|
3486
|
+
), O = i(
|
|
3487
3487
|
() => `carousel-item active carousel-item-${T.value ? "start" : "end"}`
|
|
3488
3488
|
), { pause: F, resume: _ } = qo(
|
|
3489
3489
|
() => {
|
|
@@ -3505,7 +3505,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3505
3505
|
cancelable: !1,
|
|
3506
3506
|
target: h.value,
|
|
3507
3507
|
direction: T.value ? "right" : "left",
|
|
3508
|
-
from:
|
|
3508
|
+
from: k.value,
|
|
3509
3509
|
to: r.value,
|
|
3510
3510
|
relatedTarget: ((ne = w.value) == null ? void 0 : ne.children[r.value]) ?? null
|
|
3511
3511
|
});
|
|
@@ -3523,7 +3523,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3523
3523
|
r.value = I.value.length - 1;
|
|
3524
3524
|
return;
|
|
3525
3525
|
}
|
|
3526
|
-
|
|
3526
|
+
k.value = r.value, r.value = Q;
|
|
3527
3527
|
}
|
|
3528
3528
|
}, H = () => {
|
|
3529
3529
|
ae(r.value - 1);
|
|
@@ -3566,8 +3566,8 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3566
3566
|
background: $e(ke(a, "background")),
|
|
3567
3567
|
width: $e(ke(a, "imgWidth")),
|
|
3568
3568
|
height: $e(ke(a, "imgHeight"))
|
|
3569
|
-
}), (Q, ne) => (y(),
|
|
3570
|
-
id:
|
|
3569
|
+
}), (Q, ne) => (y(), P("div", {
|
|
3570
|
+
id: $(n),
|
|
3571
3571
|
ref_key: "element",
|
|
3572
3572
|
ref: h,
|
|
3573
3573
|
class: R(N.value),
|
|
@@ -3578,13 +3578,13 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3578
3578
|
onMouseenter: it(be, ["stop"]),
|
|
3579
3579
|
onMouseleave: it(he, ["stop"])
|
|
3580
3580
|
}, [
|
|
3581
|
-
|
|
3582
|
-
(y(!0),
|
|
3581
|
+
$(c) ? (y(), P("div", $i, [
|
|
3582
|
+
(y(!0), P(fe, null, Se(I.value.length, (de, L) => (y(), P("button", {
|
|
3583
3583
|
key: L,
|
|
3584
3584
|
type: "button",
|
|
3585
3585
|
"data-bs-target": "",
|
|
3586
|
-
class: R(L ===
|
|
3587
|
-
"aria-current": L ===
|
|
3586
|
+
class: R(L === $(r) ? "active" : ""),
|
|
3587
|
+
"aria-current": L === $(r) ? !0 : void 0,
|
|
3588
3588
|
"aria-label": `${Q.indicatorsButtonLabel} ${L}`,
|
|
3589
3589
|
onClick: (le) => ae(L)
|
|
3590
3590
|
}, null, 10, ki))), 128))
|
|
@@ -3595,27 +3595,27 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3595
3595
|
class: "carousel-inner"
|
|
3596
3596
|
}, [
|
|
3597
3597
|
Be(Mn, {
|
|
3598
|
-
"enter-from-class":
|
|
3599
|
-
"enter-active-class":
|
|
3600
|
-
"enter-to-class":
|
|
3601
|
-
"leave-from-class":
|
|
3602
|
-
"leave-active-class":
|
|
3603
|
-
"leave-to-class":
|
|
3598
|
+
"enter-from-class": C.value,
|
|
3599
|
+
"enter-active-class": C.value,
|
|
3600
|
+
"enter-to-class": C.value,
|
|
3601
|
+
"leave-from-class": O.value,
|
|
3602
|
+
"leave-active-class": O.value,
|
|
3603
|
+
"leave-to-class": O.value,
|
|
3604
3604
|
onBeforeLeave: pe,
|
|
3605
3605
|
onAfterLeave: G
|
|
3606
3606
|
}, {
|
|
3607
3607
|
default: q(() => [
|
|
3608
|
-
(y(!0),
|
|
3608
|
+
(y(!0), P(fe, null, Se(I.value, (de, L) => st((y(), M(oe(de), {
|
|
3609
3609
|
key: L,
|
|
3610
|
-
class: R({ active: L ===
|
|
3610
|
+
class: R({ active: L === $(r) && V.value === !1 })
|
|
3611
3611
|
}, null, 8, ["class"])), [
|
|
3612
|
-
[ua, L ===
|
|
3612
|
+
[ua, L === $(r)]
|
|
3613
3613
|
])), 128))
|
|
3614
3614
|
]),
|
|
3615
3615
|
_: 1
|
|
3616
3616
|
}, 8, ["enter-from-class", "enter-active-class", "enter-to-class", "leave-from-class", "leave-active-class", "leave-to-class"])
|
|
3617
3617
|
], 512),
|
|
3618
|
-
|
|
3618
|
+
$(p) ? (y(), P(fe, { key: 1 }, [
|
|
3619
3619
|
J("button", {
|
|
3620
3620
|
class: "carousel-control-prev",
|
|
3621
3621
|
type: "button",
|
|
@@ -3663,7 +3663,7 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3663
3663
|
"d-none": t.contentVisibleUp !== void 0,
|
|
3664
3664
|
[`d-${t.contentVisibleUp}-block`]: t.contentVisibleUp !== void 0
|
|
3665
3665
|
}));
|
|
3666
|
-
return (f, v) => (y(),
|
|
3666
|
+
return (f, v) => (y(), P("div", {
|
|
3667
3667
|
class: "carousel-item",
|
|
3668
3668
|
style: Me(s.value)
|
|
3669
3669
|
}, [
|
|
@@ -3674,8 +3674,8 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3674
3674
|
class: "d-block w-100",
|
|
3675
3675
|
alt: f.imgAlt,
|
|
3676
3676
|
src: f.imgSrc,
|
|
3677
|
-
width: f.imgWidth || ((p =
|
|
3678
|
-
height: f.imgHeight || ((c =
|
|
3677
|
+
width: f.imgWidth || ((p = $(a)) == null ? void 0 : p.width.value),
|
|
3678
|
+
height: f.imgHeight || ((c = $(a)) == null ? void 0 : c.height.value),
|
|
3679
3679
|
blank: f.imgBlank,
|
|
3680
3680
|
"blank-color": f.imgBlankColor
|
|
3681
3681
|
}, null, 8, ["alt", "src", "width", "height", "blank", "blank-color"])
|
|
@@ -3689,10 +3689,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3689
3689
|
n.value ? (y(), M(oe(f.captionTag), { key: 0 }, {
|
|
3690
3690
|
default: q(() => [
|
|
3691
3691
|
A(f.$slots, "caption", {}, () => [
|
|
3692
|
-
f.captionHtml ? (y(),
|
|
3692
|
+
f.captionHtml ? (y(), P("span", {
|
|
3693
3693
|
key: 0,
|
|
3694
3694
|
innerHTML: f.captionHtml
|
|
3695
|
-
}, null, 8, Pi)) : (y(),
|
|
3695
|
+
}, null, 8, Pi)) : (y(), P("span", Ei, Z(f.caption), 1))
|
|
3696
3696
|
])
|
|
3697
3697
|
]),
|
|
3698
3698
|
_: 3
|
|
@@ -3700,10 +3700,10 @@ const ai = ["type", "disabled", "aria-label"], Ct = /* @__PURE__ */ z({
|
|
|
3700
3700
|
o.value ? (y(), M(oe(f.textTag), { key: 1 }, {
|
|
3701
3701
|
default: q(() => [
|
|
3702
3702
|
A(f.$slots, "text", {}, () => [
|
|
3703
|
-
f.textHtml ? (y(),
|
|
3703
|
+
f.textHtml ? (y(), P("span", {
|
|
3704
3704
|
key: 0,
|
|
3705
3705
|
innerHTML: f.textHtml
|
|
3706
|
-
}, null, 8, Fi)) : (y(),
|
|
3706
|
+
}, null, 8, Fi)) : (y(), P("span", Ii, Z(f.text), 1))
|
|
3707
3707
|
])
|
|
3708
3708
|
]),
|
|
3709
3709
|
_: 3
|
|
@@ -3929,7 +3929,7 @@ const Mi = {
|
|
|
3929
3929
|
return;
|
|
3930
3930
|
const I = Date.now() - S;
|
|
3931
3931
|
I > 0 && (V(), g = Math.max(b.value - I, Rl));
|
|
3932
|
-
},
|
|
3932
|
+
}, k = () => {
|
|
3933
3933
|
(!o.value || s.value || !g) && (g = S = 0), B();
|
|
3934
3934
|
};
|
|
3935
3935
|
ie(d, (I) => {
|
|
@@ -3937,9 +3937,9 @@ const Mi = {
|
|
|
3937
3937
|
});
|
|
3938
3938
|
const B = () => {
|
|
3939
3939
|
V(), o.value && (m = setTimeout(T, g || b.value), S = Date.now(), g = 0);
|
|
3940
|
-
},
|
|
3940
|
+
}, C = () => {
|
|
3941
3941
|
f.value = !0, t("update:modelValue", !0);
|
|
3942
|
-
},
|
|
3942
|
+
}, O = () => {
|
|
3943
3943
|
f.value = !1, B();
|
|
3944
3944
|
}, F = () => {
|
|
3945
3945
|
f.value = !0;
|
|
@@ -4011,15 +4011,15 @@ const Mi = {
|
|
|
4011
4011
|
"aria-live": v.value ? null : a.value ? "polite" : "assertive",
|
|
4012
4012
|
"aria-atomic": v.value ? null : !0,
|
|
4013
4013
|
onmouseenter: h,
|
|
4014
|
-
onmouseleave:
|
|
4014
|
+
onmouseleave: k
|
|
4015
4015
|
},
|
|
4016
4016
|
[
|
|
4017
4017
|
re(
|
|
4018
4018
|
kt,
|
|
4019
4019
|
{
|
|
4020
4020
|
noFade: r.value,
|
|
4021
|
-
onAfterEnter:
|
|
4022
|
-
onBeforeEnter:
|
|
4021
|
+
onAfterEnter: O,
|
|
4022
|
+
onBeforeEnter: C,
|
|
4023
4023
|
onAfterLeave: _,
|
|
4024
4024
|
onBeforeLeave: F
|
|
4025
4025
|
},
|
|
@@ -4052,11 +4052,11 @@ const Mi = {
|
|
|
4052
4052
|
};
|
|
4053
4053
|
return (n, r) => {
|
|
4054
4054
|
var s;
|
|
4055
|
-
return y(),
|
|
4055
|
+
return y(), P("div", {
|
|
4056
4056
|
class: R([[a.value], "b-toaster position-fixed p-3"]),
|
|
4057
4057
|
style: { "z-index": "11" }
|
|
4058
4058
|
}, [
|
|
4059
|
-
(y(!0),
|
|
4059
|
+
(y(!0), P(fe, null, Se((s = n.instance) == null ? void 0 : s.toasts(n.position).value, (d) => (y(), M(mn, {
|
|
4060
4060
|
id: d.options.id,
|
|
4061
4061
|
key: d.options.id,
|
|
4062
4062
|
modelValue: d.options.value,
|
|
@@ -4149,9 +4149,9 @@ const Mi = {
|
|
|
4149
4149
|
},
|
|
4150
4150
|
emits: ["show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "click", "toggle", "update:modelValue"],
|
|
4151
4151
|
setup(e, { expose: t, emit: l }) {
|
|
4152
|
-
const a = e, o = Ce(() => a.id, "dropdown"), n = we(a, "modelValue", l, { passive: !0 }), r = u(n), s = u(() => a.block), d = u(() => a.dark), f = u(() => a.dropup), v = u(() => a.dropend), p = u(() => a.isNav), c = u(() => a.dropstart), m = u(() => a.center), S = u(() => a.end), g = u(() => a.split), V = u(() => a.noCaret), b = u(() => a.noFlip), T = u(() => a.noShift), w = u(() => a.lazy), h = u(() => a.splitDisabled),
|
|
4152
|
+
const a = e, o = Ce(() => a.id, "dropdown"), n = we(a, "modelValue", l, { passive: !0 }), r = u(n), s = u(() => a.block), d = u(() => a.dark), f = u(() => a.dropup), v = u(() => a.dropend), p = u(() => a.isNav), c = u(() => a.dropstart), m = u(() => a.center), S = u(() => a.end), g = u(() => a.split), V = u(() => a.noCaret), b = u(() => a.noFlip), T = u(() => a.noShift), w = u(() => a.lazy), h = u(() => a.splitDisabled), k = i(
|
|
4153
4153
|
() => typeof a.offset == "string" || typeof a.offset == "number" ? a.offset : NaN
|
|
4154
|
-
), B = mt(
|
|
4154
|
+
), B = mt(k, { method: "parseInt", nanToZero: !0 }), C = j(null), O = j(null), F = j(null), _ = i(() => g.value ? O.value : F.value), x = i(
|
|
4155
4155
|
() => Kr({
|
|
4156
4156
|
top: f.value,
|
|
4157
4157
|
start: c.value,
|
|
@@ -4164,7 +4164,7 @@ const Mi = {
|
|
|
4164
4164
|
return a.floatingMiddleware;
|
|
4165
4165
|
const L = typeof a.offset == "string" || typeof a.offset == "number" ? B.value : a.offset, le = [Ao(L)];
|
|
4166
4166
|
return b.value === !1 && le.push(Vo()), T.value === !1 && le.push(Oo()), le;
|
|
4167
|
-
}), { x: N, y: ee, strategy: ae, update: H } = Ro(_,
|
|
4167
|
+
}), { x: N, y: ee, strategy: ae, update: H } = Ro(_, C, {
|
|
4168
4168
|
placement: x,
|
|
4169
4169
|
middleware: I,
|
|
4170
4170
|
strategy: a.strategy
|
|
@@ -4206,11 +4206,11 @@ const Mi = {
|
|
|
4206
4206
|
g.value ? l("click", L) : me();
|
|
4207
4207
|
};
|
|
4208
4208
|
Uo(
|
|
4209
|
-
|
|
4209
|
+
C,
|
|
4210
4210
|
() => {
|
|
4211
4211
|
r.value && (a.autoClose === !0 || a.autoClose === "outside") && de();
|
|
4212
4212
|
},
|
|
4213
|
-
{ ignore: [
|
|
4213
|
+
{ ignore: [O, F] }
|
|
4214
4214
|
);
|
|
4215
4215
|
const G = () => {
|
|
4216
4216
|
r.value && (a.autoClose === !0 || a.autoClose === "inside") && de();
|
|
@@ -4232,22 +4232,22 @@ const Mi = {
|
|
|
4232
4232
|
toggle: de,
|
|
4233
4233
|
visible: r,
|
|
4234
4234
|
isNav: p
|
|
4235
|
-
}), (L, le) => (y(),
|
|
4235
|
+
}), (L, le) => (y(), P(fe, null, [
|
|
4236
4236
|
J("div", te({
|
|
4237
4237
|
class: [W.value, "btn-group"]
|
|
4238
4238
|
}, L.$attrs), [
|
|
4239
4239
|
Be(_t, te({
|
|
4240
|
-
id:
|
|
4240
|
+
id: $(o),
|
|
4241
4241
|
ref_key: "splitButton",
|
|
4242
4242
|
ref: F,
|
|
4243
4243
|
variant: L.splitVariant || L.variant,
|
|
4244
4244
|
size: L.size,
|
|
4245
4245
|
class: ue.value,
|
|
4246
|
-
disabled:
|
|
4246
|
+
disabled: $(h) || L.disabled,
|
|
4247
4247
|
type: L.splitButtonType
|
|
4248
4248
|
}, he.value, {
|
|
4249
4249
|
onClick: pe,
|
|
4250
|
-
onKeydown: le[0] || (le[0] = Et((ve) => n.value =
|
|
4250
|
+
onKeydown: le[0] || (le[0] = Et((ve) => n.value = !$(r), ["esc"]))
|
|
4251
4251
|
}), {
|
|
4252
4252
|
default: q(() => [
|
|
4253
4253
|
A(L.$slots, "button-content", {}, () => [
|
|
@@ -4256,15 +4256,15 @@ const Mi = {
|
|
|
4256
4256
|
]),
|
|
4257
4257
|
_: 3
|
|
4258
4258
|
}, 16, ["id", "variant", "size", "class", "disabled", "type"]),
|
|
4259
|
-
|
|
4259
|
+
$(g) ? (y(), M(_t, {
|
|
4260
4260
|
key: 0,
|
|
4261
4261
|
ref_key: "button",
|
|
4262
|
-
ref:
|
|
4262
|
+
ref: O,
|
|
4263
4263
|
variant: L.variant,
|
|
4264
4264
|
size: L.size,
|
|
4265
4265
|
disabled: L.disabled,
|
|
4266
|
-
class: R([[L.toggleClass,
|
|
4267
|
-
"aria-expanded":
|
|
4266
|
+
class: R([[L.toggleClass, $(r) ? "show" : void 0], "dropdown-toggle-split dropdown-toggle"]),
|
|
4267
|
+
"aria-expanded": $(r),
|
|
4268
4268
|
"aria-haspopup": "menu",
|
|
4269
4269
|
onClick: me
|
|
4270
4270
|
}, {
|
|
@@ -4278,24 +4278,24 @@ const Mi = {
|
|
|
4278
4278
|
_: 3
|
|
4279
4279
|
}, 8, ["variant", "size", "disabled", "class", "aria-expanded"])) : Y("", !0)
|
|
4280
4280
|
], 16),
|
|
4281
|
-
|
|
4281
|
+
!$(w) || $(r) ? st((y(), P("ul", {
|
|
4282
4282
|
key: 0,
|
|
4283
4283
|
ref_key: "floating",
|
|
4284
|
-
ref:
|
|
4284
|
+
ref: C,
|
|
4285
4285
|
style: Me({
|
|
4286
|
-
position:
|
|
4287
|
-
top: `${
|
|
4288
|
-
left: `${
|
|
4286
|
+
position: $(ae) === "absolute" ? void 0 : "fixed",
|
|
4287
|
+
top: `${$(ee)}px`,
|
|
4288
|
+
left: `${$(N)}px`,
|
|
4289
4289
|
width: "max-content"
|
|
4290
4290
|
}),
|
|
4291
4291
|
class: R(["dropdown-menu show", be.value]),
|
|
4292
|
-
"aria-labelledby":
|
|
4292
|
+
"aria-labelledby": $(o),
|
|
4293
4293
|
role: L.role,
|
|
4294
4294
|
onClick: G
|
|
4295
4295
|
}, [
|
|
4296
4296
|
A(L.$slots, "default")
|
|
4297
4297
|
], 14, Gi)), [
|
|
4298
|
-
[ua,
|
|
4298
|
+
[ua, $(w) || $(r)]
|
|
4299
4299
|
]) : Y("", !0)
|
|
4300
4300
|
], 64));
|
|
4301
4301
|
}
|
|
@@ -4305,7 +4305,7 @@ const Mi = {
|
|
|
4305
4305
|
tag: { default: "hr" }
|
|
4306
4306
|
},
|
|
4307
4307
|
setup(e) {
|
|
4308
|
-
return (t, l) => (y(),
|
|
4308
|
+
return (t, l) => (y(), P("li", Wi, [
|
|
4309
4309
|
(y(), M(oe(t.tag), {
|
|
4310
4310
|
class: "dropdown-divider",
|
|
4311
4311
|
role: "separator",
|
|
@@ -4316,7 +4316,7 @@ const Mi = {
|
|
|
4316
4316
|
}), Ki = { role: "presentation" }, Xi = { class: "px-4 py-3" }, Ji = /* @__PURE__ */ z({
|
|
4317
4317
|
__name: "BDropdownForm",
|
|
4318
4318
|
setup(e) {
|
|
4319
|
-
return (t, l) => (y(),
|
|
4319
|
+
return (t, l) => (y(), P("li", Ki, [
|
|
4320
4320
|
J("form", Xi, [
|
|
4321
4321
|
A(t.$slots, "default")
|
|
4322
4322
|
])
|
|
@@ -4344,7 +4344,7 @@ const Mi = {
|
|
|
4344
4344
|
[`text-${t.headerVariant}`]: t.headerVariant !== null
|
|
4345
4345
|
}
|
|
4346
4346
|
]);
|
|
4347
|
-
return (n, r) => (y(),
|
|
4347
|
+
return (n, r) => (y(), P("li", Yi, [
|
|
4348
4348
|
(y(), M(oe(n.headerTag), {
|
|
4349
4349
|
id: l.value,
|
|
4350
4350
|
class: R(["dropdown-header", o.value]),
|
|
@@ -4371,7 +4371,7 @@ const Mi = {
|
|
|
4371
4371
|
}), eu = { class: "dropdown-header" }, tu = /* @__PURE__ */ z({
|
|
4372
4372
|
__name: "BDropdownHeader",
|
|
4373
4373
|
setup(e) {
|
|
4374
|
-
return (t, l) => (y(),
|
|
4374
|
+
return (t, l) => (y(), P("li", null, [
|
|
4375
4375
|
J("h6", eu, [
|
|
4376
4376
|
A(t.$slots, "default")
|
|
4377
4377
|
])
|
|
@@ -4412,7 +4412,7 @@ const Mi = {
|
|
|
4412
4412
|
var S, g;
|
|
4413
4413
|
t("click", m), p !== null && ((S = f == null ? void 0 : f.close) == null || S.call(f)), (g = v == null ? void 0 : v.close) == null || g.call(v);
|
|
4414
4414
|
};
|
|
4415
|
-
return (m, S) => (y(),
|
|
4415
|
+
return (m, S) => (y(), P("li", {
|
|
4416
4416
|
role: "presentation",
|
|
4417
4417
|
class: R(m.$attrs.class)
|
|
4418
4418
|
}, [
|
|
@@ -4446,7 +4446,7 @@ const Mi = {
|
|
|
4446
4446
|
[`text-${l.variant}`]: l.variant !== null
|
|
4447
4447
|
}
|
|
4448
4448
|
]), r = (s) => t("click", s);
|
|
4449
|
-
return (s, d) => (y(),
|
|
4449
|
+
return (s, d) => (y(), P("li", {
|
|
4450
4450
|
role: "presentation",
|
|
4451
4451
|
class: R(s.$attrs.class)
|
|
4452
4452
|
}, [
|
|
@@ -4454,7 +4454,7 @@ const Mi = {
|
|
|
4454
4454
|
role: "menu",
|
|
4455
4455
|
type: "button",
|
|
4456
4456
|
class: R(["dropdown-item", n.value]),
|
|
4457
|
-
disabled:
|
|
4457
|
+
disabled: $(o),
|
|
4458
4458
|
onClick: r
|
|
4459
4459
|
}, [
|
|
4460
4460
|
A(s.$slots, "default")
|
|
@@ -4467,7 +4467,7 @@ const Mi = {
|
|
|
4467
4467
|
text: { default: "" }
|
|
4468
4468
|
},
|
|
4469
4469
|
setup(e) {
|
|
4470
|
-
return (t, l) => (y(),
|
|
4470
|
+
return (t, l) => (y(), P("li", nu, [
|
|
4471
4471
|
J("p", su, [
|
|
4472
4472
|
A(t.$slots, "default", {}, () => [
|
|
4473
4473
|
se(Z(t.text), 1)
|
|
@@ -4489,9 +4489,9 @@ const Mi = {
|
|
|
4489
4489
|
"form-floating": a.value,
|
|
4490
4490
|
"was-validated": n.value
|
|
4491
4491
|
})), s = (d) => t("submit", d);
|
|
4492
|
-
return (d, f) => (y(),
|
|
4492
|
+
return (d, f) => (y(), P("form", {
|
|
4493
4493
|
id: d.id,
|
|
4494
|
-
novalidate:
|
|
4494
|
+
novalidate: $(o),
|
|
4495
4495
|
class: R(r.value),
|
|
4496
4496
|
onSubmit: it(s, ["prevent"])
|
|
4497
4497
|
}, [
|
|
@@ -4506,7 +4506,7 @@ const Mi = {
|
|
|
4506
4506
|
text: { default: void 0 }
|
|
4507
4507
|
},
|
|
4508
4508
|
setup(e) {
|
|
4509
|
-
return (t, l) => (y(),
|
|
4509
|
+
return (t, l) => (y(), P("div", uu, [
|
|
4510
4510
|
A(t.$slots, "default", {}, () => [
|
|
4511
4511
|
se(Z(t.text), 1)
|
|
4512
4512
|
]),
|
|
@@ -4654,7 +4654,7 @@ const Mi = {
|
|
|
4654
4654
|
setup(e, { expose: t, emit: l }) {
|
|
4655
4655
|
const a = e, o = Ie(), n = we(a, "modelValue", l, { passive: !0 }), r = Ce(() => a.id, "form-check"), s = u(() => a.indeterminate), d = u(() => a.autofocus), f = u(() => a.plain), v = u(() => a.button), p = u(() => a.buttonGroup), c = u(() => a.switch), m = u(() => a.disabled), S = u(() => a.inline), g = u(() => a.required), V = u(() => a.state), b = Fe(wo, null), T = j(null), { focused: w } = Le(T, {
|
|
4656
4656
|
initialValue: d.value
|
|
4657
|
-
}), h = i(() => !Ee(o.default)),
|
|
4657
|
+
}), h = i(() => !Ee(o.default)), k = i({
|
|
4658
4658
|
get: () => b !== null ? b.modelValue.value.map((I) => JSON.stringify(I)).includes(JSON.stringify(a.value)) : JSON.stringify(n.value) === JSON.stringify(a.value),
|
|
4659
4659
|
set: (I) => {
|
|
4660
4660
|
const N = I ? a.value : a.uncheckedValue;
|
|
@@ -4674,9 +4674,9 @@ const Mi = {
|
|
|
4674
4674
|
});
|
|
4675
4675
|
const B = i(
|
|
4676
4676
|
() => !!(a.name ?? (b == null ? void 0 : b.name.value)) && (g.value || (b == null ? void 0 : b.required.value))
|
|
4677
|
-
),
|
|
4677
|
+
), C = i(
|
|
4678
4678
|
() => p.value || ((b == null ? void 0 : b.buttons.value) ?? !1)
|
|
4679
|
-
),
|
|
4679
|
+
), O = i(() => ({
|
|
4680
4680
|
plain: f.value || ((b == null ? void 0 : b.plain.value) ?? !1),
|
|
4681
4681
|
button: v.value || ((b == null ? void 0 : b.buttons.value) ?? !1),
|
|
4682
4682
|
inline: S.value || ((b == null ? void 0 : b.inline.value) ?? !1),
|
|
@@ -4686,7 +4686,7 @@ const Mi = {
|
|
|
4686
4686
|
// This is where the true default is made
|
|
4687
4687
|
buttonVariant: a.buttonVariant !== null ? a.buttonVariant : (b == null ? void 0 : b.buttonVariant.value) ?? "secondary"
|
|
4688
4688
|
// This is where the true default is made
|
|
4689
|
-
})), F = Xo(
|
|
4689
|
+
})), F = Xo(O), _ = Jo(O), x = Yo(O);
|
|
4690
4690
|
return t({
|
|
4691
4691
|
focus: () => {
|
|
4692
4692
|
w.value = !0;
|
|
@@ -4695,34 +4695,34 @@ const Mi = {
|
|
|
4695
4695
|
w.value = !1;
|
|
4696
4696
|
}
|
|
4697
4697
|
}), (I, N) => (y(), M(Ya, {
|
|
4698
|
-
skip:
|
|
4699
|
-
class: R(
|
|
4698
|
+
skip: C.value,
|
|
4699
|
+
class: R($(F))
|
|
4700
4700
|
}, {
|
|
4701
4701
|
default: q(() => {
|
|
4702
4702
|
var ee, ae, H;
|
|
4703
4703
|
return [
|
|
4704
|
-
st(J("input", te({ id:
|
|
4704
|
+
st(J("input", te({ id: $(r) }, I.$attrs, {
|
|
4705
4705
|
ref_key: "input",
|
|
4706
4706
|
ref: T,
|
|
4707
|
-
"onUpdate:modelValue": N[0] || (N[0] = (W) =>
|
|
4708
|
-
class:
|
|
4707
|
+
"onUpdate:modelValue": N[0] || (N[0] = (W) => k.value = W),
|
|
4708
|
+
class: $(_),
|
|
4709
4709
|
type: "checkbox",
|
|
4710
|
-
disabled:
|
|
4710
|
+
disabled: $(m) || ((ee = $(b)) == null ? void 0 : ee.disabled.value),
|
|
4711
4711
|
required: B.value || void 0,
|
|
4712
|
-
name: I.name || ((ae =
|
|
4713
|
-
form: I.form || ((H =
|
|
4712
|
+
name: I.name || ((ae = $(b)) == null ? void 0 : ae.name.value),
|
|
4713
|
+
form: I.form || ((H = $(b)) == null ? void 0 : H.form.value),
|
|
4714
4714
|
"aria-label": I.ariaLabel,
|
|
4715
4715
|
"aria-labelledby": I.ariaLabelledBy,
|
|
4716
4716
|
"aria-required": B.value || void 0,
|
|
4717
4717
|
value: I.value,
|
|
4718
|
-
indeterminate:
|
|
4718
|
+
indeterminate: $(s)
|
|
4719
4719
|
}), null, 16, fu), [
|
|
4720
|
-
[qn,
|
|
4720
|
+
[qn, k.value]
|
|
4721
4721
|
]),
|
|
4722
|
-
h.value ||
|
|
4722
|
+
h.value || $(f) === !1 ? (y(), P("label", {
|
|
4723
4723
|
key: 0,
|
|
4724
|
-
for:
|
|
4725
|
-
class: R(
|
|
4724
|
+
for: $(r),
|
|
4725
|
+
class: R($(x))
|
|
4726
4726
|
}, [
|
|
4727
4727
|
A(I.$slots, "default")
|
|
4728
4728
|
], 10, vu)) : Y("", !0)
|
|
@@ -4763,15 +4763,15 @@ const Mi = {
|
|
|
4763
4763
|
});
|
|
4764
4764
|
Ue(wo, {
|
|
4765
4765
|
set: (B) => {
|
|
4766
|
-
const
|
|
4767
|
-
|
|
4768
|
-
l("change",
|
|
4766
|
+
const C = [...o.value];
|
|
4767
|
+
C.push(B), l("input", C), o.value = C, Ae(() => {
|
|
4768
|
+
l("change", C);
|
|
4769
4769
|
});
|
|
4770
4770
|
},
|
|
4771
4771
|
remove: (B) => {
|
|
4772
|
-
const
|
|
4773
|
-
|
|
4774
|
-
l("change",
|
|
4772
|
+
const C = [...o.value];
|
|
4773
|
+
C.splice(o.value.indexOf(B), 1), l("input", C), o.value = C, Ae(() => {
|
|
4774
|
+
l("change", C);
|
|
4775
4775
|
});
|
|
4776
4776
|
},
|
|
4777
4777
|
modelValue: i(() => o.value),
|
|
@@ -4789,14 +4789,14 @@ const Mi = {
|
|
|
4789
4789
|
});
|
|
4790
4790
|
const T = i(
|
|
4791
4791
|
() => a.options.map(
|
|
4792
|
-
(B,
|
|
4792
|
+
(B, C) => typeof B == "string" || typeof B == "number" ? {
|
|
4793
4793
|
props: {
|
|
4794
4794
|
value: B,
|
|
4795
4795
|
disabled: f.value
|
|
4796
4796
|
},
|
|
4797
4797
|
text: B.toString(),
|
|
4798
4798
|
html: void 0,
|
|
4799
|
-
self: Symbol(`checkboxGroupOptionItem${
|
|
4799
|
+
self: Symbol(`checkboxGroupOptionItem${C}`)
|
|
4800
4800
|
} : {
|
|
4801
4801
|
props: {
|
|
4802
4802
|
value: B[a.valueField],
|
|
@@ -4805,7 +4805,7 @@ const Mi = {
|
|
|
4805
4805
|
},
|
|
4806
4806
|
text: B[a.textField],
|
|
4807
4807
|
html: B[a.htmlField],
|
|
4808
|
-
self: Symbol(`checkboxGroupOptionItem${
|
|
4808
|
+
self: Symbol(`checkboxGroupOptionItem${C}`)
|
|
4809
4809
|
}
|
|
4810
4810
|
)
|
|
4811
4811
|
), w = i(() => ({
|
|
@@ -4816,7 +4816,7 @@ const Mi = {
|
|
|
4816
4816
|
buttons: d.value,
|
|
4817
4817
|
stacked: c.value,
|
|
4818
4818
|
size: a.size
|
|
4819
|
-
})), h = Zo(w),
|
|
4819
|
+
})), h = Zo(w), k = Qo(w);
|
|
4820
4820
|
return t({
|
|
4821
4821
|
focus: () => {
|
|
4822
4822
|
b.value = !0;
|
|
@@ -4824,25 +4824,25 @@ const Mi = {
|
|
|
4824
4824
|
blur: () => {
|
|
4825
4825
|
b.value = !1;
|
|
4826
4826
|
}
|
|
4827
|
-
}), (B,
|
|
4828
|
-
id:
|
|
4827
|
+
}), (B, C) => (y(), P("div", te($(h), {
|
|
4828
|
+
id: $(n),
|
|
4829
4829
|
ref_key: "element",
|
|
4830
4830
|
ref: V,
|
|
4831
4831
|
role: "group",
|
|
4832
|
-
class: [k
|
|
4832
|
+
class: [$(k), "bv-no-focus-ring"],
|
|
4833
4833
|
tabindex: "-1"
|
|
4834
4834
|
}), [
|
|
4835
4835
|
A(B.$slots, "first"),
|
|
4836
|
-
(y(!0),
|
|
4837
|
-
key:
|
|
4838
|
-
},
|
|
4836
|
+
(y(!0), P(fe, null, Se(T.value, (O) => (y(), M(bn, te({
|
|
4837
|
+
key: O.self
|
|
4838
|
+
}, O.props), {
|
|
4839
4839
|
default: q(() => [
|
|
4840
|
-
|
|
4840
|
+
O.html ? (y(), P("span", {
|
|
4841
4841
|
key: 0,
|
|
4842
|
-
innerHTML:
|
|
4843
|
-
}, null, 8, mu)) : (y(),
|
|
4842
|
+
innerHTML: O.html
|
|
4843
|
+
}, null, 8, mu)) : (y(), P("span", {
|
|
4844
4844
|
key: 1,
|
|
4845
|
-
textContent: Z(
|
|
4845
|
+
textContent: Z(O.text)
|
|
4846
4846
|
}, null, 8, gu))
|
|
4847
4847
|
]),
|
|
4848
4848
|
_: 2
|
|
@@ -4886,12 +4886,12 @@ const Mi = {
|
|
|
4886
4886
|
{
|
|
4887
4887
|
[`form-control-${a.size}`]: a.size !== void 0
|
|
4888
4888
|
}
|
|
4889
|
-
]),
|
|
4890
|
-
var
|
|
4891
|
-
const
|
|
4892
|
-
n.value =
|
|
4893
|
-
}, B = (
|
|
4894
|
-
p.value === !0 &&
|
|
4889
|
+
]), k = (O) => {
|
|
4890
|
+
var _, x;
|
|
4891
|
+
const F = ((_ = g.value) == null ? void 0 : _.files) === null || ((x = g.value) == null ? void 0 : x.files) === void 0 ? null : [...g.value.files];
|
|
4892
|
+
n.value = F === null ? null : v.value === !0 ? F : F[0], l("change", O);
|
|
4893
|
+
}, B = (O) => {
|
|
4894
|
+
p.value === !0 && O.preventDefault();
|
|
4895
4895
|
};
|
|
4896
4896
|
return t({
|
|
4897
4897
|
focus: () => {
|
|
@@ -4899,35 +4899,38 @@ const Mi = {
|
|
|
4899
4899
|
},
|
|
4900
4900
|
blur: () => {
|
|
4901
4901
|
V.value = !1;
|
|
4902
|
+
},
|
|
4903
|
+
reset: () => {
|
|
4904
|
+
g.value !== null && (g.value.value = "");
|
|
4902
4905
|
}
|
|
4903
|
-
}), (
|
|
4904
|
-
class: R(
|
|
4906
|
+
}), (O, F) => (y(), P("div", {
|
|
4907
|
+
class: R(O.wrapperClasses)
|
|
4905
4908
|
}, [
|
|
4906
|
-
b.value ||
|
|
4909
|
+
b.value || O.label ? (y(), P("label", {
|
|
4907
4910
|
key: 0,
|
|
4908
|
-
for:
|
|
4909
|
-
class: R(["form-label",
|
|
4911
|
+
for: $(r),
|
|
4912
|
+
class: R(["form-label", O.labelClasses])
|
|
4910
4913
|
}, [
|
|
4911
|
-
A(
|
|
4912
|
-
se(Z(
|
|
4914
|
+
A(O.$slots, "label", {}, () => [
|
|
4915
|
+
se(Z(O.label), 1)
|
|
4913
4916
|
])
|
|
4914
4917
|
], 10, bu)) : Y("", !0),
|
|
4915
|
-
J("input", te({ id:
|
|
4918
|
+
J("input", te({ id: $(r) }, O.$attrs, {
|
|
4916
4919
|
ref_key: "input",
|
|
4917
4920
|
ref: g,
|
|
4918
4921
|
type: "file",
|
|
4919
4922
|
class: ["form-control", h.value],
|
|
4920
|
-
form:
|
|
4921
|
-
name:
|
|
4922
|
-
multiple:
|
|
4923
|
-
disabled:
|
|
4923
|
+
form: O.form,
|
|
4924
|
+
name: O.name,
|
|
4925
|
+
multiple: $(v),
|
|
4926
|
+
disabled: $(f),
|
|
4924
4927
|
capture: w.value,
|
|
4925
4928
|
accept: T.value || void 0,
|
|
4926
|
-
required:
|
|
4927
|
-
"aria-required":
|
|
4928
|
-
directory:
|
|
4929
|
-
webkitdirectory:
|
|
4930
|
-
onChange:
|
|
4929
|
+
required: $(c) || void 0,
|
|
4930
|
+
"aria-required": $(c) || void 0,
|
|
4931
|
+
directory: $(d),
|
|
4932
|
+
webkitdirectory: $(d),
|
|
4933
|
+
onChange: k,
|
|
4931
4934
|
onDrop: B
|
|
4932
4935
|
}), null, 16, hu)
|
|
4933
4936
|
], 2));
|
|
@@ -4967,19 +4970,19 @@ const Mi = {
|
|
|
4967
4970
|
floating: { type: [Boolean, String], default: !1 }
|
|
4968
4971
|
},
|
|
4969
4972
|
setup(e, { attrs: t }) {
|
|
4970
|
-
const l = u(() => e.disabled), a = u(() => e.labelSrOnly), o = u(() => e.state), n = u(() => e.tooltip), r = u(() => e.validated), s = u(() => e.floating), d = null, f = ["xs", "sm", "md", "lg", "xl"], v = (
|
|
4971
|
-
const F = cl(
|
|
4972
|
-
return _ && (
|
|
4973
|
-
}, []), p = (
|
|
4974
|
-
const F = cl(
|
|
4975
|
-
let _ =
|
|
4976
|
-
return _ = _ === "" ? !0 : _ || !1, typeof _ != "boolean" && _ !== "auto" && (_ = ks(_, 0), _ = _ > 0 ? _ : !1), _ && (
|
|
4977
|
-
}, {}), c = j(), m = (
|
|
4973
|
+
const l = u(() => e.disabled), a = u(() => e.labelSrOnly), o = u(() => e.state), n = u(() => e.tooltip), r = u(() => e.validated), s = u(() => e.floating), d = null, f = ["xs", "sm", "md", "lg", "xl"], v = (k, B) => f.reduce((C, O) => {
|
|
4974
|
+
const F = cl(O === "xs" ? "" : O, `${B}Align`), _ = k[F] || null;
|
|
4975
|
+
return _ && (O === "xs" ? C.push(`text-${_}`) : C.push(`text-${O}-${_}`)), C;
|
|
4976
|
+
}, []), p = (k, B) => f.reduce((C, O) => {
|
|
4977
|
+
const F = cl(O === "xs" ? "" : O, `${B}Cols`);
|
|
4978
|
+
let _ = k[F];
|
|
4979
|
+
return _ = _ === "" ? !0 : _ || !1, typeof _ != "boolean" && _ !== "auto" && (_ = ks(_, 0), _ = _ > 0 ? _ : !1), _ && (O === "xs" ? C[typeof _ == "boolean" ? "col" : "cols"] = _ : C[O || (typeof _ == "boolean" ? "col" : "cols")] = _), C;
|
|
4980
|
+
}, {}), c = j(), m = (k, B = null) => {
|
|
4978
4981
|
if (Da && e.labelFor) {
|
|
4979
|
-
const
|
|
4980
|
-
if (
|
|
4981
|
-
const
|
|
4982
|
-
x ? Ss(
|
|
4982
|
+
const C = po(`#${ns(e.labelFor)}`, c);
|
|
4983
|
+
if (C) {
|
|
4984
|
+
const O = "aria-describedby", F = (k || "").split(Kt), _ = (B || "").split(Kt), x = (ja(C, O) || "").split(Kt).filter((I) => !_.includes(I)).concat(F).filter((I, N, ee) => ee.indexOf(I) === N).filter((I) => I).join(" ").trim();
|
|
4985
|
+
x ? Ss(C, O, x) : _s(C, O);
|
|
4983
4986
|
}
|
|
4984
4987
|
}
|
|
4985
4988
|
}, S = i(() => p(e, "content")), g = i(() => v(e, "label")), V = i(() => p(e, "label")), b = i(
|
|
@@ -4993,8 +4996,8 @@ const Mi = {
|
|
|
4993
4996
|
);
|
|
4994
4997
|
return ie(
|
|
4995
4998
|
() => d,
|
|
4996
|
-
(
|
|
4997
|
-
|
|
4999
|
+
(k, B) => {
|
|
5000
|
+
k !== B && m(k, B);
|
|
4998
5001
|
}
|
|
4999
5002
|
), We(() => {
|
|
5000
5003
|
Ae(() => {
|
|
@@ -5013,14 +5016,14 @@ const Mi = {
|
|
|
5013
5016
|
isHorizontal: b,
|
|
5014
5017
|
labelAlignClasses: g,
|
|
5015
5018
|
labelColProps: V,
|
|
5016
|
-
onLegendClick: (
|
|
5019
|
+
onLegendClick: (k) => {
|
|
5017
5020
|
if (e.labelFor)
|
|
5018
5021
|
return;
|
|
5019
|
-
const { target: B } =
|
|
5020
|
-
if (_u.indexOf(
|
|
5022
|
+
const { target: B } = k, C = B ? B.tagName : "";
|
|
5023
|
+
if (_u.indexOf(C) !== -1)
|
|
5021
5024
|
return;
|
|
5022
|
-
const
|
|
5023
|
-
|
|
5025
|
+
const O = hs(Su, c).filter(bs);
|
|
5026
|
+
O.length === 1 && gs(O[0]);
|
|
5024
5027
|
},
|
|
5025
5028
|
stateClass: T
|
|
5026
5029
|
};
|
|
@@ -5042,7 +5045,7 @@ const Mi = {
|
|
|
5042
5045
|
n
|
|
5043
5046
|
)), this.isHorizontal ? o = re(Vt, this.labelColProps, { default: () => o }) : o = re("div", {}, [o]);
|
|
5044
5047
|
else {
|
|
5045
|
-
const
|
|
5048
|
+
const k = {
|
|
5046
5049
|
onClick: a ? this.onLegendClick : null,
|
|
5047
5050
|
...this.isHorizontal ? this.labelColProps : {},
|
|
5048
5051
|
tag: this.isHorizontal ? h : null,
|
|
@@ -5062,7 +5065,7 @@ const Mi = {
|
|
|
5062
5065
|
e.labelClass
|
|
5063
5066
|
]
|
|
5064
5067
|
};
|
|
5065
|
-
this.isHorizontal ? o = re(Vt,
|
|
5068
|
+
this.isHorizontal ? o = re(Vt, k, { default: () => n }) : o = re(h, k, n);
|
|
5066
5069
|
}
|
|
5067
5070
|
}
|
|
5068
5071
|
let s = null;
|
|
@@ -5175,15 +5178,15 @@ const Mi = {
|
|
|
5175
5178
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
5176
5179
|
setup(e, { expose: t, emit: l }) {
|
|
5177
5180
|
const a = e, { input: o, computedId: n, computedAriaInvalid: r, onInput: s, onChange: d, onBlur: f, focus: v, blur: p } = en(a, l), c = u(() => a.disabled), m = u(() => a.required), S = u(() => a.readonly), g = u(() => a.plaintext), V = u(() => a.state), b = $t(V), T = j(!1), w = i(() => {
|
|
5178
|
-
const h = a.type === "range",
|
|
5181
|
+
const h = a.type === "range", k = a.type === "color";
|
|
5179
5182
|
return [
|
|
5180
5183
|
b.value,
|
|
5181
5184
|
{
|
|
5182
5185
|
"form-control-highlighted": T.value,
|
|
5183
5186
|
"form-range": h,
|
|
5184
|
-
"form-control":
|
|
5185
|
-
"form-control-color":
|
|
5186
|
-
"form-control-plaintext": a.plaintext && !h && !
|
|
5187
|
+
"form-control": k || !a.plaintext && !h,
|
|
5188
|
+
"form-control-color": k,
|
|
5189
|
+
"form-control-plaintext": a.plaintext && !h && !k,
|
|
5187
5190
|
[`form-control-${a.size}`]: !!a.size
|
|
5188
5191
|
}
|
|
5189
5192
|
];
|
|
@@ -5191,28 +5194,28 @@ const Mi = {
|
|
|
5191
5194
|
return t({
|
|
5192
5195
|
focus: v,
|
|
5193
5196
|
blur: p
|
|
5194
|
-
}), (h,
|
|
5195
|
-
id:
|
|
5197
|
+
}), (h, k) => (y(), P("input", {
|
|
5198
|
+
id: $(n),
|
|
5196
5199
|
ref_key: "input",
|
|
5197
5200
|
ref: o,
|
|
5198
5201
|
class: R(w.value),
|
|
5199
5202
|
name: h.name || void 0,
|
|
5200
5203
|
form: h.form || void 0,
|
|
5201
5204
|
type: h.type,
|
|
5202
|
-
disabled:
|
|
5205
|
+
disabled: $(c),
|
|
5203
5206
|
placeholder: h.placeholder,
|
|
5204
|
-
required:
|
|
5207
|
+
required: $(m) || void 0,
|
|
5205
5208
|
autocomplete: h.autocomplete || void 0,
|
|
5206
|
-
readonly:
|
|
5209
|
+
readonly: $(S) || $(g),
|
|
5207
5210
|
min: h.min,
|
|
5208
5211
|
max: h.max,
|
|
5209
5212
|
step: h.step,
|
|
5210
5213
|
list: h.type !== "password" ? h.list : void 0,
|
|
5211
|
-
"aria-required":
|
|
5212
|
-
"aria-invalid":
|
|
5213
|
-
onInput:
|
|
5214
|
-
onChange:
|
|
5215
|
-
onBlur:
|
|
5214
|
+
"aria-required": $(m) || void 0,
|
|
5215
|
+
"aria-invalid": $(r),
|
|
5216
|
+
onInput: k[0] || (k[0] = (B) => $(s)(B)),
|
|
5217
|
+
onChange: k[1] || (k[1] = (B) => $(d)(B)),
|
|
5218
|
+
onBlur: k[2] || (k[2] = (B) => $(f)(B))
|
|
5216
5219
|
}, null, 42, Au));
|
|
5217
5220
|
}
|
|
5218
5221
|
}), Pu = ["id", "checked", "disabled", "required", "name", "form", "aria-label", "aria-labelledby", "value", "aria-required"], Eu = ["for"], Bn = /* @__PURE__ */ z({
|
|
@@ -5260,7 +5263,7 @@ const Mi = {
|
|
|
5260
5263
|
});
|
|
5261
5264
|
const h = i(
|
|
5262
5265
|
() => !!(a.name ?? (g == null ? void 0 : g.name.value)) && (m.value || (g == null ? void 0 : g.required.value))
|
|
5263
|
-
),
|
|
5266
|
+
), k = i(
|
|
5264
5267
|
() => v.value || ((g == null ? void 0 : g.buttons.value) ?? !1)
|
|
5265
5268
|
), B = i(() => ({
|
|
5266
5269
|
plain: d.value || ((g == null ? void 0 : g.plain.value) ?? !1),
|
|
@@ -5271,7 +5274,7 @@ const Mi = {
|
|
|
5271
5274
|
// This is where the true default is made
|
|
5272
5275
|
buttonVariant: a.buttonVariant !== null ? a.buttonVariant : (g == null ? void 0 : g.buttonVariant.value) ?? "secondary"
|
|
5273
5276
|
// This is where the true default is made
|
|
5274
|
-
})),
|
|
5277
|
+
})), C = Xo(B), O = Jo(B), F = Yo(B);
|
|
5275
5278
|
return t({
|
|
5276
5279
|
focus: () => {
|
|
5277
5280
|
b.value = !0;
|
|
@@ -5280,23 +5283,23 @@ const Mi = {
|
|
|
5280
5283
|
b.value = !1;
|
|
5281
5284
|
}
|
|
5282
5285
|
}), (_, x) => (y(), M(Ya, {
|
|
5283
|
-
skip:
|
|
5284
|
-
class: R(
|
|
5286
|
+
skip: k.value,
|
|
5287
|
+
class: R($(C))
|
|
5285
5288
|
}, {
|
|
5286
5289
|
default: q(() => {
|
|
5287
5290
|
var I, N, ee;
|
|
5288
5291
|
return [
|
|
5289
|
-
st(J("input", te({ id:
|
|
5292
|
+
st(J("input", te({ id: $(r) }, _.$attrs, {
|
|
5290
5293
|
ref_key: "input",
|
|
5291
5294
|
ref: V,
|
|
5292
5295
|
"onUpdate:modelValue": x[0] || (x[0] = (ae) => w.value = ae),
|
|
5293
5296
|
checked: w.value,
|
|
5294
|
-
class:
|
|
5297
|
+
class: $(O),
|
|
5295
5298
|
type: "radio",
|
|
5296
|
-
disabled:
|
|
5299
|
+
disabled: $(p) || ((I = $(g)) == null ? void 0 : I.disabled.value),
|
|
5297
5300
|
required: h.value || void 0,
|
|
5298
|
-
name: _.name || ((N =
|
|
5299
|
-
form: _.form || ((ee =
|
|
5301
|
+
name: _.name || ((N = $(g)) == null ? void 0 : N.name.value),
|
|
5302
|
+
form: _.form || ((ee = $(g)) == null ? void 0 : ee.form.value),
|
|
5300
5303
|
"aria-label": _.ariaLabel,
|
|
5301
5304
|
"aria-labelledby": _.ariaLabelledby,
|
|
5302
5305
|
value: _.value,
|
|
@@ -5304,10 +5307,10 @@ const Mi = {
|
|
|
5304
5307
|
}), null, 16, Pu), [
|
|
5305
5308
|
[Gn, w.value]
|
|
5306
5309
|
]),
|
|
5307
|
-
T.value ||
|
|
5310
|
+
T.value || $(d) === !1 ? (y(), P("label", {
|
|
5308
5311
|
key: 0,
|
|
5309
|
-
for:
|
|
5310
|
-
class: R(
|
|
5312
|
+
for: $(r),
|
|
5313
|
+
class: R($(F))
|
|
5311
5314
|
}, [
|
|
5312
5315
|
A(_.$slots, "default")
|
|
5313
5316
|
], 10, Eu)) : Y("", !0)
|
|
@@ -5346,9 +5349,9 @@ const Mi = {
|
|
|
5346
5349
|
initialValue: s.value
|
|
5347
5350
|
});
|
|
5348
5351
|
Ue($o, {
|
|
5349
|
-
set: (
|
|
5350
|
-
l("input",
|
|
5351
|
-
l("change",
|
|
5352
|
+
set: (k) => {
|
|
5353
|
+
l("input", k), o.value = k, Ae(() => {
|
|
5354
|
+
l("change", k);
|
|
5352
5355
|
});
|
|
5353
5356
|
},
|
|
5354
5357
|
modelValue: i(() => o.value),
|
|
@@ -5365,22 +5368,22 @@ const Mi = {
|
|
|
5365
5368
|
});
|
|
5366
5369
|
const b = i(
|
|
5367
5370
|
() => a.options.map(
|
|
5368
|
-
(
|
|
5371
|
+
(k, B) => typeof k == "string" || typeof k == "number" ? {
|
|
5369
5372
|
props: {
|
|
5370
|
-
value:
|
|
5373
|
+
value: k,
|
|
5371
5374
|
disabled: f.value
|
|
5372
5375
|
},
|
|
5373
|
-
text:
|
|
5376
|
+
text: k.toString(),
|
|
5374
5377
|
html: void 0,
|
|
5375
5378
|
self: Symbol(`radioGroupOptionItem${B}`)
|
|
5376
5379
|
} : {
|
|
5377
5380
|
props: {
|
|
5378
|
-
value:
|
|
5379
|
-
disabled:
|
|
5380
|
-
...
|
|
5381
|
+
value: k[a.valueField],
|
|
5382
|
+
disabled: k[a.disabledField],
|
|
5383
|
+
...k.props ? k.props : {}
|
|
5381
5384
|
},
|
|
5382
|
-
text:
|
|
5383
|
-
html:
|
|
5385
|
+
text: k[a.textField],
|
|
5386
|
+
html: k[a.htmlField],
|
|
5384
5387
|
self: Symbol(`radioGroupOptionItem${B}`)
|
|
5385
5388
|
}
|
|
5386
5389
|
)
|
|
@@ -5400,30 +5403,30 @@ const Mi = {
|
|
|
5400
5403
|
blur: () => {
|
|
5401
5404
|
V.value = !1;
|
|
5402
5405
|
}
|
|
5403
|
-
}), (
|
|
5404
|
-
id:
|
|
5406
|
+
}), (k, B) => (y(), P("div", te($(w), {
|
|
5407
|
+
id: $(n),
|
|
5405
5408
|
ref_key: "element",
|
|
5406
5409
|
ref: g,
|
|
5407
5410
|
role: "radiogroup",
|
|
5408
|
-
class: [
|
|
5411
|
+
class: [$(h), "bv-no-focus-ring"],
|
|
5409
5412
|
tabindex: "-1"
|
|
5410
5413
|
}), [
|
|
5411
|
-
A(
|
|
5412
|
-
(y(!0),
|
|
5413
|
-
key:
|
|
5414
|
-
},
|
|
5414
|
+
A(k.$slots, "first"),
|
|
5415
|
+
(y(!0), P(fe, null, Se(b.value, (C) => (y(), M(Bn, te({
|
|
5416
|
+
key: C.self
|
|
5417
|
+
}, C.props), {
|
|
5415
5418
|
default: q(() => [
|
|
5416
|
-
|
|
5419
|
+
C.html ? (y(), P("span", {
|
|
5417
5420
|
key: 0,
|
|
5418
|
-
innerHTML:
|
|
5419
|
-
}, null, 8, Iu)) : (y(),
|
|
5421
|
+
innerHTML: C.html
|
|
5422
|
+
}, null, 8, Iu)) : (y(), P("span", {
|
|
5420
5423
|
key: 1,
|
|
5421
|
-
textContent: Z(
|
|
5424
|
+
textContent: Z(C.text)
|
|
5422
5425
|
}, null, 8, xu))
|
|
5423
5426
|
]),
|
|
5424
5427
|
_: 2
|
|
5425
5428
|
}, 1040))), 128)),
|
|
5426
|
-
A(
|
|
5429
|
+
A(k.$slots, "default")
|
|
5427
5430
|
], 16, Fu));
|
|
5428
5431
|
}
|
|
5429
5432
|
}), Nu = ["value", "disabled"], al = /* @__PURE__ */ z({
|
|
@@ -5434,9 +5437,9 @@ const Mi = {
|
|
|
5434
5437
|
},
|
|
5435
5438
|
setup(e) {
|
|
5436
5439
|
const t = e, l = u(() => t.disabled);
|
|
5437
|
-
return (a, o) => (y(),
|
|
5440
|
+
return (a, o) => (y(), P("option", {
|
|
5438
5441
|
value: a.value,
|
|
5439
|
-
disabled:
|
|
5442
|
+
disabled: $(l)
|
|
5440
5443
|
}, [
|
|
5441
5444
|
A(a.$slots, "default")
|
|
5442
5445
|
], 8, Nu));
|
|
@@ -5455,9 +5458,9 @@ const Mi = {
|
|
|
5455
5458
|
const t = e, l = i(
|
|
5456
5459
|
() => Za(t.options, "BFormSelectOptionGroup", t)
|
|
5457
5460
|
);
|
|
5458
|
-
return (a, o) => (y(),
|
|
5461
|
+
return (a, o) => (y(), P("optgroup", { label: a.label }, [
|
|
5459
5462
|
A(a.$slots, "first"),
|
|
5460
|
-
(y(!0),
|
|
5463
|
+
(y(!0), P(fe, null, Se(l.value, (n, r) => (y(), M(al, te({
|
|
5461
5464
|
key: r,
|
|
5462
5465
|
value: n.value,
|
|
5463
5466
|
disabled: n.disabled
|
|
@@ -5523,24 +5526,24 @@ const Mi = {
|
|
|
5523
5526
|
blur: () => {
|
|
5524
5527
|
S.value = !1;
|
|
5525
5528
|
}
|
|
5526
|
-
}), (h,
|
|
5527
|
-
id:
|
|
5529
|
+
}), (h, k) => st((y(), P("select", te({
|
|
5530
|
+
id: $(n),
|
|
5528
5531
|
ref_key: "input",
|
|
5529
5532
|
ref: m
|
|
5530
5533
|
}, h.$attrs, {
|
|
5531
|
-
"onUpdate:modelValue":
|
|
5534
|
+
"onUpdate:modelValue": k[0] || (k[0] = (B) => w.value = B),
|
|
5532
5535
|
class: g.value,
|
|
5533
5536
|
name: h.name,
|
|
5534
5537
|
form: h.form || void 0,
|
|
5535
|
-
multiple:
|
|
5538
|
+
multiple: $(d) || void 0,
|
|
5536
5539
|
size: V.value,
|
|
5537
|
-
disabled:
|
|
5538
|
-
required:
|
|
5539
|
-
"aria-required":
|
|
5540
|
+
disabled: $(s),
|
|
5541
|
+
required: $(v) || void 0,
|
|
5542
|
+
"aria-required": $(v) || void 0,
|
|
5540
5543
|
"aria-invalid": b.value
|
|
5541
5544
|
}), [
|
|
5542
5545
|
A(h.$slots, "first"),
|
|
5543
|
-
(y(!0),
|
|
5546
|
+
(y(!0), P(fe, null, Se(T.value, (B, C) => (y(), P(fe, { key: C }, [
|
|
5544
5547
|
Array.isArray(B.options) ? (y(), M(Sn, {
|
|
5545
5548
|
key: 0,
|
|
5546
5549
|
label: B.label,
|
|
@@ -5657,17 +5660,17 @@ const Mi = {
|
|
|
5657
5660
|
}), w = i(() => Math.pow(10, T.value || 0)), h = i(() => {
|
|
5658
5661
|
const { value: G } = s;
|
|
5659
5662
|
return G === null ? "" : G.toFixed(T.value);
|
|
5660
|
-
}),
|
|
5663
|
+
}), k = i(() => {
|
|
5661
5664
|
const G = [e.locale];
|
|
5662
5665
|
return new Intl.NumberFormat(G).resolvedOptions().locale;
|
|
5663
5666
|
}), B = i(
|
|
5664
5667
|
() => (
|
|
5665
5668
|
//todo
|
|
5666
|
-
Mu(
|
|
5669
|
+
Mu(k.value)
|
|
5667
5670
|
)
|
|
5668
|
-
),
|
|
5671
|
+
), C = () => {
|
|
5669
5672
|
const G = T.value;
|
|
5670
|
-
return new Intl.NumberFormat(
|
|
5673
|
+
return new Intl.NumberFormat(k.value, {
|
|
5671
5674
|
style: "decimal",
|
|
5672
5675
|
useGrouping: !1,
|
|
5673
5676
|
minimumIntegerDigits: 1,
|
|
@@ -5675,9 +5678,9 @@ const Mi = {
|
|
|
5675
5678
|
maximumFractionDigits: G,
|
|
5676
5679
|
notation: "standard"
|
|
5677
5680
|
}).format;
|
|
5678
|
-
},
|
|
5681
|
+
}, O = i(() => e.formatterFn ?? C()), F = i(() => ({
|
|
5679
5682
|
role: "group",
|
|
5680
|
-
lang:
|
|
5683
|
+
lang: k.value,
|
|
5681
5684
|
tabindex: e.disabled ? null : "-1",
|
|
5682
5685
|
title: e.ariaLabel
|
|
5683
5686
|
})), _ = i(() => l.value !== null || r.value !== null), x = i(() => ({
|
|
@@ -5693,7 +5696,7 @@ const Mi = {
|
|
|
5693
5696
|
"aria-valuemin": c.value,
|
|
5694
5697
|
"aria-valuemax": m.value,
|
|
5695
5698
|
"aria-valuenow": s.value !== null ? s.value : null,
|
|
5696
|
-
"aria-valuetext": s.value !== null ?
|
|
5699
|
+
"aria-valuetext": s.value !== null ? O.value(s.value) : null
|
|
5697
5700
|
})), I = (G) => {
|
|
5698
5701
|
let { value: Q } = s;
|
|
5699
5702
|
if (!e.disabled && Q !== null) {
|
|
@@ -5842,7 +5845,7 @@ const Mi = {
|
|
|
5842
5845
|
"bdi",
|
|
5843
5846
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
5844
5847
|
//@ts-ignore How can we narrow this type down
|
|
5845
|
-
_.value ?
|
|
5848
|
+
_.value ? O.value(s.value) : e.placeholder || ""
|
|
5846
5849
|
)
|
|
5847
5850
|
]
|
|
5848
5851
|
);
|
|
@@ -5898,7 +5901,7 @@ const Mi = {
|
|
|
5898
5901
|
disabled: n.value
|
|
5899
5902
|
}));
|
|
5900
5903
|
return (p, c) => (y(), M(oe(p.tag), {
|
|
5901
|
-
id:
|
|
5904
|
+
id: $(o),
|
|
5902
5905
|
title: d.value,
|
|
5903
5906
|
class: R(["badge b-form-tag d-inline-flex align-items-center mw-100", v.value]),
|
|
5904
5907
|
"aria-labelledby": f.value
|
|
@@ -5912,7 +5915,7 @@ const Mi = {
|
|
|
5912
5915
|
se(Z(d.value), 1)
|
|
5913
5916
|
])
|
|
5914
5917
|
], 8, Wu),
|
|
5915
|
-
|
|
5918
|
+
!$(n) && !$(r) ? (y(), M(Ct, {
|
|
5916
5919
|
key: 0,
|
|
5917
5920
|
"aria-keyshortcuts": "Delete",
|
|
5918
5921
|
"aria-label": p.removeLabel,
|
|
@@ -5980,15 +5983,15 @@ const Mi = {
|
|
|
5980
5983
|
setup(e, { expose: t, emit: l }) {
|
|
5981
5984
|
const a = e, o = we(a, "modelValue", l), n = Ce(), r = u(() => a.addOnChange), s = u(() => a.autofocus), d = u(() => a.disabled), f = u(() => a.noAddOnEnter), v = u(() => a.noOuterFocus), p = u(() => a.noTagRemove), c = u(() => a.removeOnDelete), m = u(() => a.required), S = u(() => a.state), g = u(() => a.tagPills), V = $t(S), b = j(null), { focused: T } = Le(b, {
|
|
5982
5985
|
initialValue: s.value
|
|
5983
|
-
}), w = i(() => a.inputId || `${n.value}input__`), h = j(o.value),
|
|
5986
|
+
}), w = i(() => a.inputId || `${n.value}input__`), h = j(o.value), k = j(""), B = j(o.value.length > 0), C = j(""), O = j([]), F = j([]), _ = j([]), x = i(() => [
|
|
5984
5987
|
V.value,
|
|
5985
5988
|
{
|
|
5986
5989
|
[`form-control-${a.size}`]: a.size !== "md",
|
|
5987
5990
|
disabled: d.value,
|
|
5988
5991
|
focus: T.value
|
|
5989
5992
|
}
|
|
5990
|
-
]), I = i(() => h.value.includes(
|
|
5991
|
-
() =>
|
|
5993
|
+
]), I = i(() => h.value.includes(k.value)), N = i(
|
|
5994
|
+
() => k.value === "" ? !1 : !a.tagValidator(k.value)
|
|
5992
5995
|
), ee = i(() => h.value.length === a.limit), ae = i(() => !N.value && !I.value), H = i(() => ({
|
|
5993
5996
|
addButtonText: a.addButtonText,
|
|
5994
5997
|
addButtonVariant: a.addButtonVariant,
|
|
@@ -6003,7 +6006,7 @@ const Mi = {
|
|
|
6003
6006
|
disabled: d.value,
|
|
6004
6007
|
form: a.form,
|
|
6005
6008
|
id: w,
|
|
6006
|
-
value:
|
|
6009
|
+
value: k
|
|
6007
6010
|
},
|
|
6008
6011
|
inputHandlers: {
|
|
6009
6012
|
input: he,
|
|
@@ -6052,19 +6055,19 @@ const Mi = {
|
|
|
6052
6055
|
b.value && (b.value.value = "");
|
|
6053
6056
|
return;
|
|
6054
6057
|
}
|
|
6055
|
-
if (
|
|
6058
|
+
if (k.value = le, (ye = a.separator) != null && ye.includes(le.charAt(le.length - 1))) {
|
|
6056
6059
|
ne(le.slice(0, le.length - 1));
|
|
6057
6060
|
return;
|
|
6058
6061
|
}
|
|
6059
|
-
|
|
6062
|
+
O.value = a.tagValidator(le) && !I.value ? [le] : [], F.value = a.tagValidator(le) ? [] : [le], _.value = I.value ? [le] : [], l("tag-state", O.value, F.value, _.value);
|
|
6060
6063
|
}, me = (L) => {
|
|
6061
|
-
r.value && (he(L), I.value || ne(
|
|
6064
|
+
r.value && (he(L), I.value || ne(k.value));
|
|
6062
6065
|
}, pe = (L) => {
|
|
6063
6066
|
if (L.key === "Enter" && !f.value) {
|
|
6064
|
-
ne(
|
|
6067
|
+
ne(k.value);
|
|
6065
6068
|
return;
|
|
6066
6069
|
}
|
|
6067
|
-
(L.key === "Backspace" || L.key === "Delete") && c.value &&
|
|
6070
|
+
(L.key === "Backspace" || L.key === "Delete") && c.value && k.value === "" && B.value && h.value.length > 0 ? de(h.value[h.value.length - 1]) : B.value = !0;
|
|
6068
6071
|
}, G = i(() => {
|
|
6069
6072
|
if (a.separator)
|
|
6070
6073
|
return typeof a.separator == "string" ? a.separator : a.separator.join("");
|
|
@@ -6072,7 +6075,7 @@ const Mi = {
|
|
|
6072
6075
|
if (G.value)
|
|
6073
6076
|
return new RegExp(`[${os(G.value)}]+`);
|
|
6074
6077
|
}), ne = (L) => {
|
|
6075
|
-
L = (L ??
|
|
6078
|
+
L = (L ?? k.value).trim();
|
|
6076
6079
|
const le = Q.value ? L.split(Q.value).map((U) => U.trim()) : [L], ve = [];
|
|
6077
6080
|
for (const U of le)
|
|
6078
6081
|
if (!(U === "" || I.value || !a.tagValidator(U))) {
|
|
@@ -6081,10 +6084,10 @@ const Mi = {
|
|
|
6081
6084
|
ve.push(U);
|
|
6082
6085
|
}
|
|
6083
6086
|
const ye = [...o.value, ...ve];
|
|
6084
|
-
|
|
6087
|
+
k.value = "", B.value = !0, o.value = ye, l("input", ye), T.value = !0;
|
|
6085
6088
|
}, de = (L) => {
|
|
6086
6089
|
const le = h.value.indexOf((L == null ? void 0 : L.toString()) ?? "");
|
|
6087
|
-
|
|
6090
|
+
C.value = h.value.splice(le, 1).toString(), o.value = h.value;
|
|
6088
6091
|
};
|
|
6089
6092
|
return t({
|
|
6090
6093
|
focus: () => {
|
|
@@ -6093,8 +6096,8 @@ const Mi = {
|
|
|
6093
6096
|
blur: () => {
|
|
6094
6097
|
T.value = !1;
|
|
6095
6098
|
}
|
|
6096
|
-
}), (L, le) => (y(),
|
|
6097
|
-
id:
|
|
6099
|
+
}), (L, le) => (y(), P("div", {
|
|
6100
|
+
id: $(n),
|
|
6098
6101
|
class: R(["b-form-tags form-control h-auto", x.value]),
|
|
6099
6102
|
role: "group",
|
|
6100
6103
|
tabindex: "-1",
|
|
@@ -6102,26 +6105,26 @@ const Mi = {
|
|
|
6102
6105
|
onFocusout: le[1] || (le[1] = (ve) => l("focusout", ve))
|
|
6103
6106
|
}, [
|
|
6104
6107
|
J("output", {
|
|
6105
|
-
id: `${
|
|
6108
|
+
id: `${$(n)}selected_tags__`,
|
|
6106
6109
|
class: "visually-hidden",
|
|
6107
6110
|
for: w.value,
|
|
6108
|
-
"aria-live":
|
|
6111
|
+
"aria-live": $(T) ? "polite" : "off",
|
|
6109
6112
|
"aria-atomic": "true",
|
|
6110
6113
|
"aria-relevant": "additions text"
|
|
6111
6114
|
}, Z(h.value.join(", ")), 9, Ku),
|
|
6112
6115
|
J("div", {
|
|
6113
|
-
id: `${
|
|
6116
|
+
id: `${$(n)}removed_tags__`,
|
|
6114
6117
|
role: "status",
|
|
6115
|
-
"aria-live":
|
|
6118
|
+
"aria-live": $(T) ? "assertive" : "off",
|
|
6116
6119
|
"aria-atomic": "true",
|
|
6117
6120
|
class: "visually-hidden"
|
|
6118
|
-
}, " (" + Z(L.tagRemovedLabel) + ") " + Z(
|
|
6121
|
+
}, " (" + Z(L.tagRemovedLabel) + ") " + Z(C.value), 9, Xu),
|
|
6119
6122
|
A(L.$slots, "default", _e(Pe(H.value)), () => [
|
|
6120
6123
|
J("ul", {
|
|
6121
|
-
id: `${
|
|
6124
|
+
id: `${$(n)}tag_list__`,
|
|
6122
6125
|
class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
|
|
6123
6126
|
}, [
|
|
6124
|
-
(y(!0),
|
|
6127
|
+
(y(!0), P(fe, null, Se(h.value, (ve, ye) => A(L.$slots, "tag", _e(te({ key: ye }, { tag: ve, tagClass: L.tagClass, tagVariant: L.tagVariant, tagPills: $(g), removeTag: de })), () => [
|
|
6125
6128
|
(y(), M(Cn, {
|
|
6126
6129
|
key: ve,
|
|
6127
6130
|
class: R(L.tagClass),
|
|
@@ -6140,42 +6143,42 @@ const Mi = {
|
|
|
6140
6143
|
role: "none",
|
|
6141
6144
|
"aria-live": "off",
|
|
6142
6145
|
class: "b-from-tags-field flex-grow-1",
|
|
6143
|
-
"aria-controls": `${
|
|
6146
|
+
"aria-controls": `${$(n)}tag_list__`
|
|
6144
6147
|
}, [
|
|
6145
6148
|
J("div", Zu, [
|
|
6146
6149
|
J("input", te({
|
|
6147
6150
|
id: w.value,
|
|
6148
6151
|
ref_key: "input",
|
|
6149
6152
|
ref: b,
|
|
6150
|
-
disabled:
|
|
6151
|
-
value:
|
|
6153
|
+
disabled: $(d),
|
|
6154
|
+
value: k.value,
|
|
6152
6155
|
type: L.inputType,
|
|
6153
6156
|
placeholder: L.placeholder,
|
|
6154
6157
|
class: "b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",
|
|
6155
6158
|
style: { outline: "currentcolor none 0px", "min-width": "5rem" }
|
|
6156
6159
|
}, L.inputAttrs, {
|
|
6157
6160
|
form: L.form,
|
|
6158
|
-
required:
|
|
6159
|
-
"aria-required":
|
|
6161
|
+
required: $(m) || void 0,
|
|
6162
|
+
"aria-required": $(m) || void 0,
|
|
6160
6163
|
onInput: he,
|
|
6161
6164
|
onChange: me,
|
|
6162
6165
|
onKeydown: pe,
|
|
6163
6166
|
onFocus: ue,
|
|
6164
6167
|
onBlur: be
|
|
6165
6168
|
}), null, 16, Qu),
|
|
6166
|
-
ae.value ? (y(),
|
|
6169
|
+
ae.value ? (y(), P("button", {
|
|
6167
6170
|
key: 0,
|
|
6168
6171
|
type: "button",
|
|
6169
6172
|
class: R(["btn b-form-tags-button py-0", [
|
|
6170
6173
|
L.inputClass,
|
|
6171
6174
|
{
|
|
6172
6175
|
[`btn-${L.addButtonVariant}`]: L.addButtonVariant !== null,
|
|
6173
|
-
"disabled invisible":
|
|
6176
|
+
"disabled invisible": k.value.length === 0
|
|
6174
6177
|
}
|
|
6175
6178
|
]]),
|
|
6176
6179
|
style: { "font-size": "90%" },
|
|
6177
|
-
disabled:
|
|
6178
|
-
onClick: le[0] || (le[0] = (ve) => ne(
|
|
6180
|
+
disabled: $(d) || k.value.length === 0 || ee.value,
|
|
6181
|
+
onClick: le[0] || (le[0] = (ve) => ne(k.value))
|
|
6179
6182
|
}, [
|
|
6180
6183
|
A(L.$slots, "add-button-text", {}, () => [
|
|
6181
6184
|
se(Z(L.addButtonText), 1)
|
|
@@ -6185,12 +6188,12 @@ const Mi = {
|
|
|
6185
6188
|
], 8, Yu)
|
|
6186
6189
|
], 8, Ju),
|
|
6187
6190
|
J("div", td, [
|
|
6188
|
-
N.value ? (y(),
|
|
6189
|
-
I.value ? (y(),
|
|
6190
|
-
h.value.length === L.limit ? (y(),
|
|
6191
|
+
N.value ? (y(), P("div", ad, Z(L.invalidTagText) + ": " + Z(k.value), 1)) : Y("", !0),
|
|
6192
|
+
I.value ? (y(), P("small", ld, Z(L.duplicateTagText) + ": " + Z(k.value), 1)) : Y("", !0),
|
|
6193
|
+
h.value.length === L.limit ? (y(), P("small", od, "Tag limit reached")) : Y("", !0)
|
|
6191
6194
|
])
|
|
6192
6195
|
]),
|
|
6193
|
-
L.name ? (y(!0),
|
|
6196
|
+
L.name ? (y(!0), P(fe, { key: 0 }, Se(h.value, (ve, ye) => (y(), P("input", {
|
|
6194
6197
|
key: ye,
|
|
6195
6198
|
type: "hidden",
|
|
6196
6199
|
name: L.name,
|
|
@@ -6240,26 +6243,26 @@ const Mi = {
|
|
|
6240
6243
|
return t({
|
|
6241
6244
|
focus: v,
|
|
6242
6245
|
blur: p
|
|
6243
|
-
}), (
|
|
6244
|
-
id:
|
|
6246
|
+
}), (k, B) => (y(), P("textarea", {
|
|
6247
|
+
id: $(n),
|
|
6245
6248
|
ref_key: "input",
|
|
6246
6249
|
ref: o,
|
|
6247
6250
|
class: R(w.value),
|
|
6248
|
-
name:
|
|
6249
|
-
form:
|
|
6250
|
-
disabled:
|
|
6251
|
-
placeholder:
|
|
6252
|
-
required:
|
|
6253
|
-
autocomplete:
|
|
6254
|
-
readonly:
|
|
6255
|
-
"aria-required":
|
|
6256
|
-
"aria-invalid":
|
|
6257
|
-
rows:
|
|
6251
|
+
name: k.name || void 0,
|
|
6252
|
+
form: k.form || void 0,
|
|
6253
|
+
disabled: $(c),
|
|
6254
|
+
placeholder: k.placeholder,
|
|
6255
|
+
required: $(m) || void 0,
|
|
6256
|
+
autocomplete: k.autocomplete || void 0,
|
|
6257
|
+
readonly: $(S) || $(g),
|
|
6258
|
+
"aria-required": k.required || void 0,
|
|
6259
|
+
"aria-invalid": $(r),
|
|
6260
|
+
rows: k.rows,
|
|
6258
6261
|
style: Me(h.value),
|
|
6259
|
-
wrap:
|
|
6260
|
-
onInput: B[0] || (B[0] = (
|
|
6261
|
-
onChange: B[1] || (B[1] = (
|
|
6262
|
-
onBlur: B[2] || (B[2] = (
|
|
6262
|
+
wrap: k.wrap || void 0,
|
|
6263
|
+
onInput: B[0] || (B[0] = (C) => $(s)(C)),
|
|
6264
|
+
onChange: B[1] || (B[1] = (C) => $(d)(C)),
|
|
6265
|
+
onBlur: B[2] || (B[2] = (C) => $(f)(C))
|
|
6263
6266
|
}, null, 46, rd));
|
|
6264
6267
|
}
|
|
6265
6268
|
}), ud = {
|
|
@@ -6290,20 +6293,20 @@ const Mi = {
|
|
|
6290
6293
|
}, {
|
|
6291
6294
|
default: q(() => [
|
|
6292
6295
|
A(n.$slots, "prepend", {}, () => [
|
|
6293
|
-
o.value ? (y(),
|
|
6294
|
-
n.prependHtml ? (y(),
|
|
6296
|
+
o.value ? (y(), P("span", ud, [
|
|
6297
|
+
n.prependHtml ? (y(), P("span", {
|
|
6295
6298
|
key: 0,
|
|
6296
6299
|
innerHTML: n.prependHtml
|
|
6297
|
-
}, null, 8, dd)) : (y(),
|
|
6300
|
+
}, null, 8, dd)) : (y(), P("span", cd, Z(n.prepend), 1))
|
|
6298
6301
|
])) : Y("", !0)
|
|
6299
6302
|
]),
|
|
6300
6303
|
A(n.$slots, "default"),
|
|
6301
6304
|
A(n.$slots, "append", {}, () => [
|
|
6302
|
-
a.value ? (y(),
|
|
6303
|
-
n.appendHtml ? (y(),
|
|
6305
|
+
a.value ? (y(), P("span", fd, [
|
|
6306
|
+
n.appendHtml ? (y(), P("span", {
|
|
6304
6307
|
key: 0,
|
|
6305
6308
|
innerHTML: n.appendHtml
|
|
6306
|
-
}, null, 8, vd)) : (y(),
|
|
6309
|
+
}, null, 8, vd)) : (y(), P("span", pd, Z(n.append), 1))
|
|
6307
6310
|
])) : Y("", !0)
|
|
6308
6311
|
])
|
|
6309
6312
|
]),
|
|
@@ -6333,7 +6336,7 @@ const Mi = {
|
|
|
6333
6336
|
},
|
|
6334
6337
|
setup(e) {
|
|
6335
6338
|
const t = e, l = u(() => t.isText);
|
|
6336
|
-
return (a, o) =>
|
|
6339
|
+
return (a, o) => $(l) ? (y(), M(Tn, { key: 0 }, {
|
|
6337
6340
|
default: q(() => [
|
|
6338
6341
|
A(a.$slots, "default")
|
|
6339
6342
|
]),
|
|
@@ -6424,11 +6427,11 @@ const Mi = {
|
|
|
6424
6427
|
});
|
|
6425
6428
|
return (m, S) => (y(), M(oe(f.value), te({
|
|
6426
6429
|
class: ["list-group-item", p.value],
|
|
6427
|
-
"aria-current":
|
|
6428
|
-
"aria-disabled":
|
|
6430
|
+
"aria-current": $(n) ? !0 : void 0,
|
|
6431
|
+
"aria-disabled": $(s) ? !0 : void 0,
|
|
6429
6432
|
target: d.value ? m.target : void 0,
|
|
6430
|
-
href:
|
|
6431
|
-
to:
|
|
6433
|
+
href: $(r) ? void 0 : m.href,
|
|
6434
|
+
to: $(r) ? void 0 : m.to
|
|
6432
6435
|
}, c.value), {
|
|
6433
6436
|
default: q(() => [
|
|
6434
6437
|
A(m.$slots, "default")
|
|
@@ -6491,7 +6494,7 @@ const Mi = {
|
|
|
6491
6494
|
},
|
|
6492
6495
|
emits: ["update:modelValue", "show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "ok", "cancel", "close"],
|
|
6493
6496
|
setup(e, { expose: t, emit: l }) {
|
|
6494
|
-
const a = e, o = Ie(), n = Ce(() => a.id, "modal"), r = we(a, "modelValue", l), s = u(() => a.busy), d = u(() => a.lazy), f = u(() => a.cancelDisabled), v = u(() => a.centered), p = u(() => a.hideBackdrop), c = u(() => a.hideFooter), m = u(() => a.hideHeader), S = u(() => a.hideHeaderClose), g = u(r), V = u(() => a.noCloseOnBackdrop), b = u(() => a.noCloseOnEsc), T = u(() => a.noFade), w = u(() => a.autoFocus), h = u(() => a.okDisabled),
|
|
6497
|
+
const a = e, o = Ie(), n = Ce(() => a.id, "modal"), r = we(a, "modelValue", l), s = u(() => a.busy), d = u(() => a.lazy), f = u(() => a.cancelDisabled), v = u(() => a.centered), p = u(() => a.hideBackdrop), c = u(() => a.hideFooter), m = u(() => a.hideHeader), S = u(() => a.hideHeaderClose), g = u(r), V = u(() => a.noCloseOnBackdrop), b = u(() => a.noCloseOnEsc), T = u(() => a.noFade), w = u(() => a.autoFocus), h = u(() => a.okDisabled), k = u(() => a.okOnly), B = u(() => a.scrollable), C = u(() => a.titleSrOnly), O = u(() => a.teleportDisabled), F = j(null), _ = j(null), x = j(null), I = j(null), N = j(g.value), ee = j(!1), { focused: ae } = Le(F, {
|
|
6495
6498
|
initialValue: g.value && a.autoFocusButton === void 0
|
|
6496
6499
|
}), { focused: H } = Le(_, {
|
|
6497
6500
|
initialValue: g.value && a.autoFocusButton === "ok"
|
|
@@ -6539,7 +6542,7 @@ const Mi = {
|
|
|
6539
6542
|
]), de = i(() => [
|
|
6540
6543
|
a.titleClass,
|
|
6541
6544
|
{
|
|
6542
|
-
["visually-hidden"]:
|
|
6545
|
+
["visually-hidden"]: C.value
|
|
6543
6546
|
}
|
|
6544
6547
|
]), L = i(() => f.value || s.value), le = i(() => h.value || s.value), ve = (K, D = {}) => new Ht(K, {
|
|
6545
6548
|
cancelable: !1,
|
|
@@ -6578,7 +6581,7 @@ const Mi = {
|
|
|
6578
6581
|
show: U
|
|
6579
6582
|
}), (K, D) => (y(), M(Na, {
|
|
6580
6583
|
to: K.teleportTo,
|
|
6581
|
-
disabled:
|
|
6584
|
+
disabled: $(O)
|
|
6582
6585
|
}, [
|
|
6583
6586
|
Be(kt, {
|
|
6584
6587
|
"no-fade": !0,
|
|
@@ -6590,13 +6593,13 @@ const Mi = {
|
|
|
6590
6593
|
}, {
|
|
6591
6594
|
default: q(() => [
|
|
6592
6595
|
st(J("div", te({
|
|
6593
|
-
id:
|
|
6596
|
+
id: $(n),
|
|
6594
6597
|
ref_key: "element",
|
|
6595
6598
|
ref: F,
|
|
6596
6599
|
class: ["modal", be.value],
|
|
6597
6600
|
role: "dialog",
|
|
6598
|
-
"aria-labelledby": `${
|
|
6599
|
-
"aria-describedby": `${
|
|
6601
|
+
"aria-labelledby": `${$(n)}-label`,
|
|
6602
|
+
"aria-describedby": `${$(n)}-body`,
|
|
6600
6603
|
tabindex: "-1"
|
|
6601
6604
|
}, K.$attrs, {
|
|
6602
6605
|
onKeyup: D[5] || (D[5] = Et((Te) => ye("esc"), ["esc"]))
|
|
@@ -6604,17 +6607,17 @@ const Mi = {
|
|
|
6604
6607
|
J("div", {
|
|
6605
6608
|
class: R(["modal-dialog", pe.value])
|
|
6606
6609
|
}, [
|
|
6607
|
-
he.value ? (y(),
|
|
6610
|
+
he.value ? (y(), P("div", {
|
|
6608
6611
|
key: 0,
|
|
6609
6612
|
class: R(["modal-content", K.contentClass])
|
|
6610
6613
|
}, [
|
|
6611
|
-
|
|
6614
|
+
$(m) ? Y("", !0) : (y(), P("div", {
|
|
6612
6615
|
key: 0,
|
|
6613
6616
|
class: R(["modal-header", Q.value])
|
|
6614
6617
|
}, [
|
|
6615
6618
|
A(K.$slots, "header", {}, () => [
|
|
6616
6619
|
(y(), M(oe(K.titleTag), {
|
|
6617
|
-
id: `${
|
|
6620
|
+
id: `${$(n)}-label`,
|
|
6618
6621
|
class: R(["modal-title", de.value])
|
|
6619
6622
|
}, {
|
|
6620
6623
|
default: q(() => [
|
|
@@ -6624,8 +6627,8 @@ const Mi = {
|
|
|
6624
6627
|
]),
|
|
6625
6628
|
_: 3
|
|
6626
6629
|
}, 8, ["id", "class"])),
|
|
6627
|
-
|
|
6628
|
-
me.value ? (y(),
|
|
6630
|
+
$(S) ? Y("", !0) : (y(), P(fe, { key: 0 }, [
|
|
6631
|
+
me.value ? (y(), P("button", {
|
|
6629
6632
|
key: 0,
|
|
6630
6633
|
type: "button",
|
|
6631
6634
|
onClick: D[0] || (D[0] = (Te) => ye("close"))
|
|
@@ -6643,18 +6646,18 @@ const Mi = {
|
|
|
6643
6646
|
], !0)
|
|
6644
6647
|
], 2)),
|
|
6645
6648
|
J("div", {
|
|
6646
|
-
id: `${
|
|
6649
|
+
id: `${$(n)}-body`,
|
|
6647
6650
|
class: R(["modal-body", G.value])
|
|
6648
6651
|
}, [
|
|
6649
6652
|
A(K.$slots, "default", {}, void 0, !0)
|
|
6650
6653
|
], 10, Sd),
|
|
6651
|
-
|
|
6654
|
+
$(c) ? Y("", !0) : (y(), P("div", {
|
|
6652
6655
|
key: 1,
|
|
6653
6656
|
class: R(["modal-footer", ne.value])
|
|
6654
6657
|
}, [
|
|
6655
6658
|
A(K.$slots, "footer", {}, () => [
|
|
6656
6659
|
A(K.$slots, "cancel", {}, () => [
|
|
6657
|
-
k
|
|
6660
|
+
$(k) ? Y("", !0) : (y(), M(_t, {
|
|
6658
6661
|
key: 0,
|
|
6659
6662
|
ref_key: "cancelButton",
|
|
6660
6663
|
ref: x,
|
|
@@ -6688,14 +6691,14 @@ const Mi = {
|
|
|
6688
6691
|
], 2))
|
|
6689
6692
|
], 2)) : Y("", !0)
|
|
6690
6693
|
], 2),
|
|
6691
|
-
|
|
6694
|
+
$(p) ? Y("", !0) : A(K.$slots, "backdrop", { key: 0 }, () => [
|
|
6692
6695
|
J("div", {
|
|
6693
6696
|
class: "modal-backdrop fade show",
|
|
6694
6697
|
onClick: D[4] || (D[4] = (Te) => ye("backdrop"))
|
|
6695
6698
|
})
|
|
6696
6699
|
], !0)
|
|
6697
6700
|
], 16, Bd), [
|
|
6698
|
-
[ua,
|
|
6701
|
+
[ua, $(g)]
|
|
6699
6702
|
])
|
|
6700
6703
|
]),
|
|
6701
6704
|
_: 3
|
|
@@ -6793,13 +6796,13 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
6793
6796
|
},
|
|
6794
6797
|
setup(e) {
|
|
6795
6798
|
const t = e, l = u(() => t.disabled);
|
|
6796
|
-
return (a, o) => (y(),
|
|
6799
|
+
return (a, o) => (y(), P("li", Cd, [
|
|
6797
6800
|
Be(tt, te({
|
|
6798
6801
|
class: ["nav-link", a.linkClasses]
|
|
6799
6802
|
}, a.$props, {
|
|
6800
6803
|
"active-class": "active",
|
|
6801
|
-
tabindex:
|
|
6802
|
-
"aria-disabled":
|
|
6804
|
+
tabindex: $(l) ? -1 : void 0,
|
|
6805
|
+
"aria-disabled": $(l) ? !0 : void 0
|
|
6803
6806
|
}), {
|
|
6804
6807
|
default: q(() => [
|
|
6805
6808
|
A(a.$slots, "default")
|
|
@@ -6852,7 +6855,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
6852
6855
|
toggle: () => {
|
|
6853
6856
|
o.value = !n.value;
|
|
6854
6857
|
}
|
|
6855
|
-
}), (p, c) => (y(),
|
|
6858
|
+
}), (p, c) => (y(), P("li", Vd, [
|
|
6856
6859
|
Be(gn, te({
|
|
6857
6860
|
modelValue: r.value,
|
|
6858
6861
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => r.value = m)
|
|
@@ -6876,7 +6879,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
6876
6879
|
text: { default: void 0 }
|
|
6877
6880
|
},
|
|
6878
6881
|
setup(e) {
|
|
6879
|
-
return (t, l) => (y(),
|
|
6882
|
+
return (t, l) => (y(), P("li", Od, [
|
|
6880
6883
|
A(t.$slots, "default", {}, () => [
|
|
6881
6884
|
se(Z(t.text), 1)
|
|
6882
6885
|
])
|
|
@@ -6916,7 +6919,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
6916
6919
|
role: o.value
|
|
6917
6920
|
}, {
|
|
6918
6921
|
default: q(() => [
|
|
6919
|
-
d.container !== !1 ? (y(),
|
|
6922
|
+
d.container !== !1 ? (y(), P("div", {
|
|
6920
6923
|
key: 0,
|
|
6921
6924
|
class: R(r.value)
|
|
6922
6925
|
}, [
|
|
@@ -6997,7 +7000,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
6997
7000
|
[n.value]: t.align !== void 0,
|
|
6998
7001
|
small: o.value
|
|
6999
7002
|
}));
|
|
7000
|
-
return (s, d) => (y(),
|
|
7003
|
+
return (s, d) => (y(), P("ul", {
|
|
7001
7004
|
class: R(["navbar-nav", r.value])
|
|
7002
7005
|
}, [
|
|
7003
7006
|
A(s.$slots, "default")
|
|
@@ -7108,7 +7111,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7108
7111
|
})), r = (s) => {
|
|
7109
7112
|
a.value || t("click", s);
|
|
7110
7113
|
};
|
|
7111
|
-
return (s, d) => st((y(),
|
|
7114
|
+
return (s, d) => st((y(), P("button", te({
|
|
7112
7115
|
class: ["navbar-toggler", n.value],
|
|
7113
7116
|
type: "button"
|
|
7114
7117
|
}, o.value, { onClick: r }), [
|
|
@@ -7116,7 +7119,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7116
7119
|
Rd
|
|
7117
7120
|
])
|
|
7118
7121
|
], 16)), [
|
|
7119
|
-
[
|
|
7122
|
+
[$(xa), $(a) ? void 0 : s.target]
|
|
7120
7123
|
]);
|
|
7121
7124
|
}
|
|
7122
7125
|
}), An = /* @__PURE__ */ z({
|
|
@@ -7181,15 +7184,15 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7181
7184
|
"no-fade": w.noFade,
|
|
7182
7185
|
"trans-props": { enterToClass: "show" },
|
|
7183
7186
|
name: "fade",
|
|
7184
|
-
onOnAfterEnter: h[1] || (h[1] = (
|
|
7185
|
-
onOnAfterLeave: h[2] || (h[2] = (
|
|
7187
|
+
onOnAfterEnter: h[1] || (h[1] = (k) => t("shown")),
|
|
7188
|
+
onOnAfterLeave: h[2] || (h[2] = (k) => t("hidden"))
|
|
7186
7189
|
}, {
|
|
7187
7190
|
default: q(() => [
|
|
7188
|
-
|
|
7191
|
+
$(d) ? (y(), M(oe(w.overlayTag), {
|
|
7189
7192
|
key: 0,
|
|
7190
7193
|
class: R(g.value),
|
|
7191
7194
|
style: Me(S.value),
|
|
7192
|
-
onClick: h[0] || (h[0] = (
|
|
7195
|
+
onClick: h[0] || (h[0] = (k) => t("click", k))
|
|
7193
7196
|
}, {
|
|
7194
7197
|
default: q(() => [
|
|
7195
7198
|
J("div", {
|
|
@@ -7201,7 +7204,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7201
7204
|
style: Me(T.value)
|
|
7202
7205
|
}, [
|
|
7203
7206
|
A(w.$slots, "overlay", _e(Pe(m.value)), () => [
|
|
7204
|
-
|
|
7207
|
+
$(n) ? Y("", !0) : (y(), M(pa, _e(te({ key: 0 }, m.value)), null, 16))
|
|
7205
7208
|
])
|
|
7206
7209
|
], 4)
|
|
7207
7210
|
]),
|
|
@@ -7249,9 +7252,9 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7249
7252
|
initialValue: r.value && v.value === !1
|
|
7250
7253
|
}), T = j(r.value), w = j(!1), h = i(
|
|
7251
7254
|
() => s.value === !0 && r.value === !0
|
|
7252
|
-
),
|
|
7255
|
+
), k = i(
|
|
7253
7256
|
() => m.value === !1 || m.value === !0 && w.value === !0 || m.value === !0 && r.value === !0
|
|
7254
|
-
), B = i(() => !Ee(o.footer)),
|
|
7257
|
+
), B = i(() => !Ee(o.footer)), C = i(() => [
|
|
7255
7258
|
// props.responsive === undefined ? 'offcanvas' : `offcanvas-${props.responsive}`,
|
|
7256
7259
|
"offcanvas",
|
|
7257
7260
|
// Remove when above check is fixed
|
|
@@ -7259,7 +7262,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7259
7262
|
{
|
|
7260
7263
|
show: r.value && T.value === !0
|
|
7261
7264
|
}
|
|
7262
|
-
]),
|
|
7265
|
+
]), O = (H, W = {}) => new Ht(H, {
|
|
7263
7266
|
cancelable: !1,
|
|
7264
7267
|
target: V.value || null,
|
|
7265
7268
|
relatedTarget: null,
|
|
@@ -7267,14 +7270,14 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7267
7270
|
...W,
|
|
7268
7271
|
componentId: g.value
|
|
7269
7272
|
}), F = (H = "") => {
|
|
7270
|
-
const W =
|
|
7273
|
+
const W = O("hide", { cancelable: H !== "", trigger: H });
|
|
7271
7274
|
if (H === "close" && l(H, W), H === "esc" && l(H, W), l("hide", W), W.defaultPrevented || H === "backdrop" && p.value || H === "esc" && c.value) {
|
|
7272
7275
|
l("hide-prevented");
|
|
7273
7276
|
return;
|
|
7274
7277
|
}
|
|
7275
7278
|
n.value = !1;
|
|
7276
7279
|
}, _ = () => {
|
|
7277
|
-
const H =
|
|
7280
|
+
const H = O("show", { cancelable: !0 });
|
|
7278
7281
|
if (l("show", H), H.defaultPrevented) {
|
|
7279
7282
|
n.value = !1, l("show-prevented");
|
|
7280
7283
|
return;
|
|
@@ -7285,11 +7288,11 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7285
7288
|
v.value === !1 && (b.value = !0);
|
|
7286
7289
|
});
|
|
7287
7290
|
}, I = () => _(), N = () => {
|
|
7288
|
-
T.value = !0, x(), l("shown",
|
|
7291
|
+
T.value = !0, x(), l("shown", O("shown")), m.value === !0 && (w.value = !0);
|
|
7289
7292
|
}, ee = () => {
|
|
7290
7293
|
T.value = !1;
|
|
7291
7294
|
}, ae = () => {
|
|
7292
|
-
l("hidden",
|
|
7295
|
+
l("hidden", O("hidden")), m.value === !0 && (w.value = !1);
|
|
7293
7296
|
};
|
|
7294
7297
|
return Ve(V, "bv-toggle", () => {
|
|
7295
7298
|
r.value ? F() : _();
|
|
@@ -7298,7 +7301,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7298
7301
|
show: _
|
|
7299
7302
|
}), (H, W) => (y(), M(Na, {
|
|
7300
7303
|
to: H.teleportTo,
|
|
7301
|
-
disabled:
|
|
7304
|
+
disabled: $(S)
|
|
7302
7305
|
}, [
|
|
7303
7306
|
Be(kt, {
|
|
7304
7307
|
"no-fade": !0,
|
|
@@ -7315,30 +7318,30 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7315
7318
|
}, {
|
|
7316
7319
|
default: q(() => [
|
|
7317
7320
|
st(J("div", te({
|
|
7318
|
-
id:
|
|
7321
|
+
id: $(g),
|
|
7319
7322
|
ref_key: "element",
|
|
7320
7323
|
ref: V,
|
|
7321
7324
|
"aria-modal": "true",
|
|
7322
7325
|
role: "dialog",
|
|
7323
|
-
class:
|
|
7326
|
+
class: C.value,
|
|
7324
7327
|
tabindex: "-1",
|
|
7325
7328
|
"aria-labelledby": "offcanvasLabel",
|
|
7326
7329
|
"data-bs-backdrop": "false"
|
|
7327
7330
|
}, H.$attrs, {
|
|
7328
7331
|
onKeyup: W[1] || (W[1] = Et((ue) => F("esc"), ["esc"]))
|
|
7329
7332
|
}), [
|
|
7330
|
-
|
|
7331
|
-
|
|
7333
|
+
k.value ? (y(), P(fe, { key: 0 }, [
|
|
7334
|
+
$(f) ? Y("", !0) : (y(), P("div", {
|
|
7332
7335
|
key: 0,
|
|
7333
7336
|
class: R(["offcanvas-header", H.headerClass])
|
|
7334
7337
|
}, [
|
|
7335
|
-
A(H.$slots, "header", _e(Pe({ visible:
|
|
7338
|
+
A(H.$slots, "header", _e(Pe({ visible: $(r), placement: H.placement, hide: F })), () => [
|
|
7336
7339
|
J("h5", jd, [
|
|
7337
7340
|
A(H.$slots, "title", {}, () => [
|
|
7338
7341
|
se(Z(H.title), 1)
|
|
7339
7342
|
])
|
|
7340
7343
|
]),
|
|
7341
|
-
|
|
7344
|
+
$(d) ? Y("", !0) : (y(), M(Ct, {
|
|
7342
7345
|
key: 0,
|
|
7343
7346
|
class: "text-reset",
|
|
7344
7347
|
"aria-label": H.dismissLabel,
|
|
@@ -7351,15 +7354,15 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7351
7354
|
}, [
|
|
7352
7355
|
A(H.$slots, "default")
|
|
7353
7356
|
], 2),
|
|
7354
|
-
B.value ? (y(),
|
|
7357
|
+
B.value ? (y(), P("div", {
|
|
7355
7358
|
key: 1,
|
|
7356
7359
|
class: R(H.footerClass)
|
|
7357
7360
|
}, [
|
|
7358
|
-
A(H.$slots, "footer", _e(Pe({ visible:
|
|
7361
|
+
A(H.$slots, "footer", _e(Pe({ visible: $(r), placement: H.placement, hide: F })))
|
|
7359
7362
|
], 2)) : Y("", !0)
|
|
7360
7363
|
], 64)) : Y("", !0)
|
|
7361
7364
|
], 16, Dd), [
|
|
7362
|
-
[ua,
|
|
7365
|
+
[ua, $(n)]
|
|
7363
7366
|
])
|
|
7364
7367
|
]),
|
|
7365
7368
|
_: 3
|
|
@@ -7423,45 +7426,45 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7423
7426
|
return c.value - a.value + 2 < e.limit && e.limit > Xe ? B = c.value - g.value + 1 : B = a.value - Math.floor(g.value / 2), B < 1 ? B = 1 : B > c.value - g.value && (B = c.value - g.value + 1), e.limit <= Xe && d.value && c.value === B + g.value - 1 && (B = Math.max(B - 1, 1)), B;
|
|
7424
7427
|
}), S = i(() => {
|
|
7425
7428
|
const B = c.value - a.value;
|
|
7426
|
-
let
|
|
7427
|
-
return B + 2 < e.limit && e.limit > Xe ? e.limit > Xe && (
|
|
7429
|
+
let C = !1;
|
|
7430
|
+
return B + 2 < e.limit && e.limit > Xe ? e.limit > Xe && (C = !0) : e.limit > Xe && (C = !!(!r.value || n.value)), m.value <= 1 && (C = !1), C && n.value && m.value < 4 && (C = !1), C;
|
|
7428
7431
|
}), g = i(() => {
|
|
7429
7432
|
let B = e.limit;
|
|
7430
7433
|
return c.value <= e.limit ? B = c.value : a.value < e.limit - 1 && e.limit > Xe ? ((!r.value || d.value) && (B = e.limit - (n.value ? 0 : 1)), B = Math.min(B, e.limit)) : c.value - a.value + 2 < e.limit && e.limit > Xe ? (!r.value || n.value) && (B = e.limit - (d.value ? 0 : 1)) : e.limit > Xe && (B = e.limit - (r.value ? 0 : 2)), B;
|
|
7431
7434
|
}), V = i(() => {
|
|
7432
7435
|
const B = c.value - g.value;
|
|
7433
|
-
let
|
|
7434
|
-
a.value < e.limit - 1 && e.limit > Xe ? (!r.value || d.value) && (
|
|
7435
|
-
const
|
|
7436
|
-
return
|
|
7436
|
+
let C = !1;
|
|
7437
|
+
a.value < e.limit - 1 && e.limit > Xe ? (!r.value || d.value) && (C = !0) : e.limit > Xe && (C = !!(!r.value || d.value)), m.value > B && (C = !1);
|
|
7438
|
+
const O = m.value + g.value - 1;
|
|
7439
|
+
return C && d.value && O > c.value - 3 && (C = !1), C;
|
|
7437
7440
|
}), b = yt({
|
|
7438
7441
|
pageSize: Zl(e.perPage),
|
|
7439
7442
|
totalRows: Ql(e.totalRows),
|
|
7440
7443
|
numberOfPages: c.value
|
|
7441
|
-
}), T = (B,
|
|
7442
|
-
if (
|
|
7444
|
+
}), T = (B, C) => {
|
|
7445
|
+
if (C === a.value)
|
|
7443
7446
|
return;
|
|
7444
|
-
const { target:
|
|
7447
|
+
const { target: O } = B, F = new Ye("page-click", {
|
|
7445
7448
|
cancelable: !0,
|
|
7446
|
-
target:
|
|
7449
|
+
target: O
|
|
7447
7450
|
});
|
|
7448
|
-
t("page-click", F,
|
|
7451
|
+
t("page-click", F, C), !F.defaultPrevented && (a.value = C);
|
|
7449
7452
|
}, w = i(() => e.size ? `pagination-${e.size}` : ""), h = i(() => f.value ? "b-pagination-pills" : "");
|
|
7450
7453
|
ie(a, (B) => {
|
|
7451
|
-
const
|
|
7452
|
-
|
|
7453
|
-
}), ie(b, (B,
|
|
7454
|
-
B != null && (
|
|
7454
|
+
const C = Zd(B, c.value);
|
|
7455
|
+
C !== a.value && (a.value = C);
|
|
7456
|
+
}), ie(b, (B, C) => {
|
|
7457
|
+
B != null && (C.pageSize !== B.pageSize && C.totalRows === B.totalRows || C.numberOfPages !== B.numberOfPages && a.value > C.numberOfPages) && (a.value = 1);
|
|
7455
7458
|
});
|
|
7456
|
-
const
|
|
7459
|
+
const k = i(() => {
|
|
7457
7460
|
const B = [];
|
|
7458
|
-
for (let
|
|
7459
|
-
B.push({ number: m.value +
|
|
7461
|
+
for (let C = 0; C < g.value; C++)
|
|
7462
|
+
B.push({ number: m.value + C, classes: null });
|
|
7460
7463
|
return B;
|
|
7461
7464
|
});
|
|
7462
7465
|
return () => {
|
|
7463
|
-
const B = [],
|
|
7464
|
-
const pe = o.value ||
|
|
7466
|
+
const B = [], C = k.value.map((H) => H.number), O = (H) => H === a.value, F = a.value < 1, _ = e.align === "fill", x = (H, W, ue, be, he, me) => {
|
|
7467
|
+
const pe = o.value || O(me) || F || H < 1 || H > c.value, G = H < 1 ? 1 : H > c.value ? c.value : H, Q = { disabled: pe, page: G, index: G - 1 }, ne = Re(ue, Q, l) || be || "";
|
|
7465
7468
|
return re(
|
|
7466
7469
|
"li",
|
|
7467
7470
|
{
|
|
@@ -7514,7 +7517,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7514
7517
|
)
|
|
7515
7518
|
]
|
|
7516
7519
|
), N = (H, W) => {
|
|
7517
|
-
const ue =
|
|
7520
|
+
const ue = O(H.number) && !F, be = o.value ? null : ue || F && W === 0 ? "0" : "-1", he = {
|
|
7518
7521
|
active: ue,
|
|
7519
7522
|
disabled: o.value,
|
|
7520
7523
|
page: H.number,
|
|
@@ -7574,10 +7577,10 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7574
7577
|
e.prevClass,
|
|
7575
7578
|
1
|
|
7576
7579
|
);
|
|
7577
|
-
B.push(ee), n.value &&
|
|
7578
|
-
const ue = S.value && n.value &&
|
|
7580
|
+
B.push(ee), n.value && C[0] !== 1 && B.push(N({ number: 1 }, 0)), S.value && B.push(I(!1)), k.value.forEach((H, W) => {
|
|
7581
|
+
const ue = S.value && n.value && C[0] !== 1 ? 1 : 0;
|
|
7579
7582
|
B.push(N(H, W + ue));
|
|
7580
|
-
}), V.value && B.push(I(!0)), d.value &&
|
|
7583
|
+
}), V.value && B.push(I(!0)), d.value && C[C.length - 1] !== c.value && B.push(N({ number: c.value }, -1));
|
|
7581
7584
|
const ae = x(
|
|
7582
7585
|
a.value + 1,
|
|
7583
7586
|
e.labelNextPage,
|
|
@@ -7727,7 +7730,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7727
7730
|
]),
|
|
7728
7731
|
_: 2
|
|
7729
7732
|
}, [
|
|
7730
|
-
|
|
7733
|
+
$(n) ? void 0 : {
|
|
7731
7734
|
name: "img",
|
|
7732
7735
|
fn: q(() => [
|
|
7733
7736
|
A(v.$slots, "img", {}, () => [
|
|
@@ -7736,7 +7739,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7736
7739
|
]),
|
|
7737
7740
|
key: "0"
|
|
7738
7741
|
},
|
|
7739
|
-
|
|
7742
|
+
$(a) ? void 0 : {
|
|
7740
7743
|
name: "header",
|
|
7741
7744
|
fn: q(() => [
|
|
7742
7745
|
A(v.$slots, "header", {}, () => [
|
|
@@ -7745,11 +7748,11 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7745
7748
|
]),
|
|
7746
7749
|
key: "1"
|
|
7747
7750
|
},
|
|
7748
|
-
|
|
7751
|
+
$(o) ? void 0 : {
|
|
7749
7752
|
name: "footer",
|
|
7750
7753
|
fn: q(() => [
|
|
7751
7754
|
A(v.$slots, "footer", {}, () => [
|
|
7752
|
-
|
|
7755
|
+
$(l) ? (y(), M(He, _e(te({ key: 1 }, s.value)), null, 16)) : (y(), M(En, _e(te({ key: 0 }, s.value)), null, 16))
|
|
7753
7756
|
])
|
|
7754
7757
|
]),
|
|
7755
7758
|
key: "2"
|
|
@@ -7798,7 +7801,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7798
7801
|
"b-table-sticky-header": f.value
|
|
7799
7802
|
}
|
|
7800
7803
|
]);
|
|
7801
|
-
return (c, m) => c.responsive ? (y(),
|
|
7804
|
+
return (c, m) => c.responsive ? (y(), P("div", {
|
|
7802
7805
|
key: 1,
|
|
7803
7806
|
class: R(p.value)
|
|
7804
7807
|
}, [
|
|
@@ -7807,7 +7810,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7807
7810
|
}, [
|
|
7808
7811
|
A(c.$slots, "default")
|
|
7809
7812
|
], 2)
|
|
7810
|
-
], 2)) : (y(),
|
|
7813
|
+
], 2)) : (y(), P("table", {
|
|
7811
7814
|
key: 0,
|
|
7812
7815
|
class: R(v.value)
|
|
7813
7816
|
}, [
|
|
@@ -7865,10 +7868,10 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7865
7868
|
})), g = u(() => t.hideHeader), V = u(() => t.showFooter);
|
|
7866
7869
|
return (b, T) => (y(), M(nl, null, {
|
|
7867
7870
|
default: q(() => [
|
|
7868
|
-
|
|
7871
|
+
$(g) ? Y("", !0) : A(b.$slots, "thead", { key: 0 }, () => [
|
|
7869
7872
|
J("thead", null, [
|
|
7870
7873
|
J("tr", null, [
|
|
7871
|
-
(y(!0),
|
|
7874
|
+
(y(!0), P(fe, null, Se(v.value, (w, h) => (y(), P("th", { key: h }, [
|
|
7872
7875
|
Be(He, _e(Pe(m.value)), null, 16)
|
|
7873
7876
|
]))), 128))
|
|
7874
7877
|
])
|
|
@@ -7876,17 +7879,17 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7876
7879
|
]),
|
|
7877
7880
|
A(b.$slots, "default", {}, () => [
|
|
7878
7881
|
J("tbody", null, [
|
|
7879
|
-
(y(!0),
|
|
7880
|
-
(y(!0),
|
|
7882
|
+
(y(!0), P(fe, null, Se(f.value, (w, h) => (y(), P("tr", { key: h }, [
|
|
7883
|
+
(y(!0), P(fe, null, Se(d.value, (k, B) => (y(), P("td", { key: B }, [
|
|
7881
7884
|
Be(He, _e(Pe(c.value)), null, 16)
|
|
7882
7885
|
]))), 128))
|
|
7883
7886
|
]))), 128))
|
|
7884
7887
|
])
|
|
7885
7888
|
]),
|
|
7886
|
-
|
|
7889
|
+
$(V) ? A(b.$slots, "tfoot", { key: 1 }, () => [
|
|
7887
7890
|
J("tfoot", null, [
|
|
7888
7891
|
J("tr", null, [
|
|
7889
|
-
(y(!0),
|
|
7892
|
+
(y(!0), P(fe, null, Se(p.value, (w, h) => (y(), P("th", { key: h }, [
|
|
7890
7893
|
Be(He, _e(Pe(S.value)), null, 16)
|
|
7891
7894
|
]))), 128))
|
|
7892
7895
|
])
|
|
@@ -7903,7 +7906,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7903
7906
|
},
|
|
7904
7907
|
setup(e) {
|
|
7905
7908
|
const t = e, l = u(() => t.loading);
|
|
7906
|
-
return (a, o) =>
|
|
7909
|
+
return (a, o) => $(l) ? A(a.$slots, "loading", { key: 0 }) : A(a.$slots, "default", { key: 1 });
|
|
7907
7910
|
}
|
|
7908
7911
|
}), lc = ["aria-valuenow", "aria-valuemax"], Fn = /* @__PURE__ */ z({
|
|
7909
7912
|
__name: "BProgressBar",
|
|
@@ -7935,7 +7938,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7935
7938
|
), c = i(
|
|
7936
7939
|
() => l != null && l.max.value ? `${f.value * 100 / (typeof l.max.value == "number" ? l.max.value : Number.parseInt(l.max.value))}%` : t.max ? `${f.value * 100 / (typeof t.max == "number" ? t.max : Number.parseInt(t.max))}%` : typeof t.value == "string" ? t.value : `${t.value}%`
|
|
7937
7940
|
);
|
|
7938
|
-
return (m, S) => (y(),
|
|
7941
|
+
return (m, S) => (y(), P("div", {
|
|
7939
7942
|
class: R(["progress-bar", s.value]),
|
|
7940
7943
|
role: "progressbar",
|
|
7941
7944
|
"aria-valuenow": m.value,
|
|
@@ -7978,7 +7981,7 @@ const wd = /* @__PURE__ */ tl(_d, [["__scopeId", "data-v-00a1a184"]]), $d = /* @
|
|
|
7978
7981
|
showProgress: a,
|
|
7979
7982
|
showValue: o,
|
|
7980
7983
|
striped: n
|
|
7981
|
-
}), (s, d) => (y(),
|
|
7984
|
+
}), (s, d) => (y(), P("div", {
|
|
7982
7985
|
class: "progress",
|
|
7983
7986
|
style: Me({ height: s.height })
|
|
7984
7987
|
}, [
|
|
@@ -8168,16 +8171,16 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8168
8171
|
const X = await _a(E);
|
|
8169
8172
|
l("filtered", X);
|
|
8170
8173
|
};
|
|
8171
|
-
const h = j(/* @__PURE__ */ new Set([])),
|
|
8174
|
+
const h = j(/* @__PURE__ */ new Set([])), k = i(() => h.value.size > 0), B = i(() => ({
|
|
8172
8175
|
[`align-${a.align}`]: a.align !== void 0,
|
|
8173
8176
|
"b-table-selectable": c.value,
|
|
8174
8177
|
[`b-table-select-${a.selectMode}`]: c.value,
|
|
8175
|
-
"b-table-selecting user-select-none": c.value &&
|
|
8178
|
+
"b-table-selecting user-select-none": c.value && k.value,
|
|
8176
8179
|
"b-table-busy": g.value,
|
|
8177
8180
|
"b-table-sortable": N.value,
|
|
8178
8181
|
"b-table-sort-desc": N.value && v.value === !0,
|
|
8179
8182
|
"b-table-sort-asc": N.value && v.value === !1
|
|
8180
|
-
})),
|
|
8183
|
+
})), C = i(() => ({
|
|
8181
8184
|
bordered: a.bordered,
|
|
8182
8185
|
borderless: a.borderless,
|
|
8183
8186
|
borderVariant: a.borderVariant,
|
|
@@ -8191,8 +8194,8 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8191
8194
|
tableClass: B.value,
|
|
8192
8195
|
tableVariant: a.variant,
|
|
8193
8196
|
stickyHeader: a.stickyHeader
|
|
8194
|
-
})),
|
|
8195
|
-
() =>
|
|
8197
|
+
})), O = i(() => d.normaliseFields(a.fields, a.items)), F = i(
|
|
8198
|
+
() => O.value.length + (c.value ? 1 : 0)
|
|
8196
8199
|
), _ = i(() => a.filter !== void 0 && a.filter !== ""), x = i(() => a.provider !== void 0), I = i(
|
|
8197
8200
|
() => c.value && (!!a.selectHead || s.selectHead !== void 0)
|
|
8198
8201
|
), N = i(
|
|
@@ -8344,24 +8347,24 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8344
8347
|
selectRow: ce,
|
|
8345
8348
|
unselectRow: Ne,
|
|
8346
8349
|
refresh: ne
|
|
8347
|
-
}), (E, X) => (y(), M(nl, _e(Pe(
|
|
8350
|
+
}), (E, X) => (y(), M(nl, _e(Pe(C.value)), {
|
|
8348
8351
|
default: q(() => {
|
|
8349
8352
|
var K;
|
|
8350
8353
|
return [
|
|
8351
8354
|
J("thead", null, [
|
|
8352
8355
|
E.$slots["thead-top"] ? A(E.$slots, "thead-top", { key: 0 }) : Y("", !0),
|
|
8353
8356
|
J("tr", null, [
|
|
8354
|
-
I.value ? (y(),
|
|
8357
|
+
I.value ? (y(), P("th", {
|
|
8355
8358
|
key: 0,
|
|
8356
8359
|
class: R(["b-table-selection-column", {
|
|
8357
|
-
"b-table-sticky-column":
|
|
8360
|
+
"b-table-sticky-column": $(m)
|
|
8358
8361
|
}])
|
|
8359
8362
|
}, [
|
|
8360
8363
|
A(E.$slots, "select-head", {}, () => [
|
|
8361
8364
|
se(Z(typeof E.selectHead == "boolean" ? "Selected" : E.selectHead), 1)
|
|
8362
8365
|
])
|
|
8363
8366
|
], 2)) : Y("", !0),
|
|
8364
|
-
(y(!0),
|
|
8367
|
+
(y(!0), P(fe, null, Se(O.value, (D) => (y(), P("th", te({
|
|
8365
8368
|
key: D.key,
|
|
8366
8369
|
scope: "col",
|
|
8367
8370
|
class: L(D),
|
|
@@ -8376,14 +8379,14 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8376
8379
|
field: D,
|
|
8377
8380
|
sortBy: E.sortBy,
|
|
8378
8381
|
selected: D.key === E.sortBy,
|
|
8379
|
-
isDesc:
|
|
8380
|
-
direction:
|
|
8382
|
+
isDesc: $(v),
|
|
8383
|
+
direction: $(v) ? "desc" : "asc"
|
|
8381
8384
|
}, () => [
|
|
8382
|
-
N.value && D.sortable ? (y(),
|
|
8385
|
+
N.value && D.sortable ? (y(), P("span", {
|
|
8383
8386
|
key: 0,
|
|
8384
8387
|
class: R(["b-table-sort-icon", {
|
|
8385
8388
|
sorted: D.key === E.sortBy,
|
|
8386
|
-
[`sorted-${
|
|
8389
|
+
[`sorted-${$(v) ? "desc" : "asc"}`]: D.key === E.sortBy
|
|
8387
8390
|
}])
|
|
8388
8391
|
}, null, 2)) : Y("", !0)
|
|
8389
8392
|
]),
|
|
@@ -8396,41 +8399,41 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8396
8399
|
isFoot: !1,
|
|
8397
8400
|
selectAllRows: ye,
|
|
8398
8401
|
clearSelected: U
|
|
8399
|
-
}) : (y(),
|
|
8402
|
+
}) : (y(), P(fe, { key: 1 }, [
|
|
8400
8403
|
se(Z(H(D)), 1)
|
|
8401
8404
|
], 64))
|
|
8402
8405
|
])
|
|
8403
8406
|
])
|
|
8404
8407
|
], 16, cc))), 128))
|
|
8405
8408
|
]),
|
|
8406
|
-
E.$slots["thead-sub"] ? (y(),
|
|
8407
|
-
(y(!0),
|
|
8409
|
+
E.$slots["thead-sub"] ? (y(), P("tr", vc, [
|
|
8410
|
+
(y(!0), P(fe, null, Se(O.value, (D) => (y(), P("td", {
|
|
8408
8411
|
key: D.key,
|
|
8409
8412
|
scope: "col",
|
|
8410
8413
|
class: R([D.class, D.thClass, D.variant ? `table-${D.variant}` : ""])
|
|
8411
8414
|
}, [
|
|
8412
8415
|
E.$slots["thead-sub"] ? A(E.$slots, "thead-sub", te({
|
|
8413
8416
|
key: 0,
|
|
8414
|
-
items:
|
|
8415
|
-
}, D)) : (y(),
|
|
8417
|
+
items: O.value
|
|
8418
|
+
}, D)) : (y(), P(fe, { key: 1 }, [
|
|
8416
8419
|
se(Z(D.label), 1)
|
|
8417
8420
|
], 64))
|
|
8418
8421
|
], 2))), 128))
|
|
8419
8422
|
])) : Y("", !0)
|
|
8420
8423
|
]),
|
|
8421
8424
|
J("tbody", null, [
|
|
8422
|
-
(y(!0),
|
|
8425
|
+
(y(!0), P(fe, null, Se(ae.value, (D, Te) => (y(), P(fe, { key: Te }, [
|
|
8423
8426
|
J("tr", {
|
|
8424
8427
|
class: R(ve(D)),
|
|
8425
|
-
onClick: (ge) =>
|
|
8426
|
-
onDblclick: (ge) =>
|
|
8427
|
-
onMouseenter: (ge) =>
|
|
8428
|
-
onMouseleave: (ge) =>
|
|
8428
|
+
onClick: (ge) => !$(Ut)(ge) && ue(D, Te, ge),
|
|
8429
|
+
onDblclick: (ge) => !$(Ut)(ge) && be(D, Te, ge),
|
|
8430
|
+
onMouseenter: (ge) => !$(Ut)(ge) && he(D, Te, ge),
|
|
8431
|
+
onMouseleave: (ge) => !$(Ut)(ge) && me(D, Te, ge)
|
|
8429
8432
|
}, [
|
|
8430
|
-
I.value ? (y(),
|
|
8433
|
+
I.value ? (y(), P("td", {
|
|
8431
8434
|
key: 0,
|
|
8432
8435
|
class: R(["b-table-selection-column", {
|
|
8433
|
-
"b-table-sticky-column":
|
|
8436
|
+
"b-table-sticky-column": $(m)
|
|
8434
8437
|
}])
|
|
8435
8438
|
}, [
|
|
8436
8439
|
A(E.$slots, "select-cell", {}, () => [
|
|
@@ -8439,12 +8442,12 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8439
8442
|
}, "🗹", 2)
|
|
8440
8443
|
])
|
|
8441
8444
|
], 2)) : Y("", !0),
|
|
8442
|
-
(y(!0),
|
|
8445
|
+
(y(!0), P(fe, null, Se(O.value, (ge) => (y(), P("td", te({
|
|
8443
8446
|
key: ge.key
|
|
8444
8447
|
}, ge.tdAttr, {
|
|
8445
8448
|
class: le(ge, D)
|
|
8446
8449
|
}), [
|
|
8447
|
-
E.stacked &&
|
|
8450
|
+
E.stacked && $(S) ? (y(), P("label", mc, Z(H(ge)), 1)) : Y("", !0),
|
|
8448
8451
|
E.$slots["cell(" + ge.key + ")"] || E.$slots["cell()"] ? A(E.$slots, E.$slots["cell(" + ge.key + ")"] ? "cell(" + ge.key + ")" : "cell()", {
|
|
8449
8452
|
key: 1,
|
|
8450
8453
|
value: D[ge.key],
|
|
@@ -8454,12 +8457,12 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8454
8457
|
items: E.items,
|
|
8455
8458
|
toggleDetails: () => de(D),
|
|
8456
8459
|
detailsShowing: D._showDetails
|
|
8457
|
-
}) : (y(),
|
|
8458
|
-
se(Z(
|
|
8460
|
+
}) : (y(), P(fe, { key: 2 }, [
|
|
8461
|
+
se(Z($(d).formatItem(D, ge)), 1)
|
|
8459
8462
|
], 64))
|
|
8460
8463
|
], 16))), 128))
|
|
8461
8464
|
], 42, pc),
|
|
8462
|
-
D._showDetails === !0 && E.$slots["row-details"] ? (y(),
|
|
8465
|
+
D._showDetails === !0 && E.$slots["row-details"] ? (y(), P("tr", {
|
|
8463
8466
|
key: 0,
|
|
8464
8467
|
class: R(ve(D))
|
|
8465
8468
|
}, [
|
|
@@ -8471,7 +8474,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8471
8474
|
], 8, gc)
|
|
8472
8475
|
], 2)) : Y("", !0)
|
|
8473
8476
|
], 64))), 128)),
|
|
8474
|
-
|
|
8477
|
+
$(g) ? (y(), P("tr", {
|
|
8475
8478
|
key: 0,
|
|
8476
8479
|
class: R(["b-table-busy-slot", { "b-table-static-busy": ae.value.length === 0 }])
|
|
8477
8480
|
}, [
|
|
@@ -8484,7 +8487,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8484
8487
|
])
|
|
8485
8488
|
], 8, yc)
|
|
8486
8489
|
], 2)) : Y("", !0),
|
|
8487
|
-
|
|
8490
|
+
$(V) && ae.value.length === 0 ? (y(), P("tr", Bc, [
|
|
8488
8491
|
J("td", { colspan: F.value }, [
|
|
8489
8492
|
A(E.$slots, "empty", {
|
|
8490
8493
|
items: ae.value,
|
|
@@ -8495,9 +8498,9 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8495
8498
|
], 8, Sc)
|
|
8496
8499
|
])) : Y("", !0)
|
|
8497
8500
|
]),
|
|
8498
|
-
|
|
8501
|
+
$(f) ? (y(), P("tfoot", _c, [
|
|
8499
8502
|
J("tr", null, [
|
|
8500
|
-
(y(!0),
|
|
8503
|
+
(y(!0), P(fe, null, Se(O.value, (D) => (y(), P("th", te({
|
|
8501
8504
|
key: D.key
|
|
8502
8505
|
}, D.thAttr, {
|
|
8503
8506
|
scope: "col",
|
|
@@ -8508,16 +8511,16 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8508
8511
|
onClick: (Te) => W(D, Te, !0)
|
|
8509
8512
|
}), Z(D.label), 17, wc))), 128))
|
|
8510
8513
|
])
|
|
8511
|
-
])) : E.$slots["custom-foot"] ? (y(),
|
|
8514
|
+
])) : E.$slots["custom-foot"] ? (y(), P("tfoot", $c, [
|
|
8512
8515
|
A(E.$slots, "custom-foot", {
|
|
8513
|
-
fields:
|
|
8516
|
+
fields: O.value,
|
|
8514
8517
|
items: E.items,
|
|
8515
|
-
columns: (K =
|
|
8518
|
+
columns: (K = O.value) == null ? void 0 : K.length
|
|
8516
8519
|
})
|
|
8517
8520
|
])) : Y("", !0),
|
|
8518
|
-
E.$slots["table-caption"] ? (y(),
|
|
8521
|
+
E.$slots["table-caption"] ? (y(), P("caption", kc, [
|
|
8519
8522
|
A(E.$slots, "table-caption")
|
|
8520
|
-
])) : E.caption ? (y(),
|
|
8523
|
+
])) : E.caption ? (y(), P("caption", Cc, Z(E.caption), 1)) : Y("", !0)
|
|
8521
8524
|
];
|
|
8522
8525
|
}),
|
|
8523
8526
|
_: 3
|
|
@@ -8532,7 +8535,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8532
8535
|
const t = e, l = i(() => ({
|
|
8533
8536
|
[`thead-${t.variant}`]: t.variant !== null
|
|
8534
8537
|
}));
|
|
8535
|
-
return (a, o) => (y(),
|
|
8538
|
+
return (a, o) => (y(), P("tbody", {
|
|
8536
8539
|
class: R(l.value)
|
|
8537
8540
|
}, [
|
|
8538
8541
|
A(a.$slots, "default")
|
|
@@ -8553,14 +8556,14 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8553
8556
|
"b-table-sticky-column": l.value,
|
|
8554
8557
|
"table-b-table-default": l.value && t.variant === null
|
|
8555
8558
|
})), o = i(() => t.colspan ? "colspan" : t.rowspan ? "rowspan" : "col");
|
|
8556
|
-
return (n, r) => (y(),
|
|
8559
|
+
return (n, r) => (y(), P("td", {
|
|
8557
8560
|
scope: o.value,
|
|
8558
8561
|
class: R(a.value),
|
|
8559
8562
|
colspan: n.colspan,
|
|
8560
8563
|
rowspan: n.rowspan,
|
|
8561
8564
|
"data-label": n.stackedHeading
|
|
8562
8565
|
}, [
|
|
8563
|
-
n.stackedHeading ? (y(),
|
|
8566
|
+
n.stackedHeading ? (y(), P("div", Oc, [
|
|
8564
8567
|
A(n.$slots, "default")
|
|
8565
8568
|
])) : A(n.$slots, "default", { key: 1 })
|
|
8566
8569
|
], 10, Ac));
|
|
@@ -8574,7 +8577,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8574
8577
|
const t = e, l = i(() => ({
|
|
8575
8578
|
[`table-${t.variant}`]: t.variant !== null
|
|
8576
8579
|
}));
|
|
8577
|
-
return (a, o) => (y(),
|
|
8580
|
+
return (a, o) => (y(), P("tfoot", {
|
|
8578
8581
|
class: R(l.value)
|
|
8579
8582
|
}, [
|
|
8580
8583
|
A(a.$slots, "default")
|
|
@@ -8595,14 +8598,14 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8595
8598
|
"b-table-sticky-column": l.value,
|
|
8596
8599
|
"table-b-table-default": l.value && t.variant === null
|
|
8597
8600
|
})), o = i(() => t.colspan ? "colspan" : t.rowspan ? "rowspan" : "col");
|
|
8598
|
-
return (n, r) => (y(),
|
|
8601
|
+
return (n, r) => (y(), P("th", {
|
|
8599
8602
|
scope: o.value,
|
|
8600
8603
|
class: R(a.value),
|
|
8601
8604
|
colspan: n.colspan,
|
|
8602
8605
|
rowspan: n.rowspan,
|
|
8603
8606
|
"data-label": n.stackedHeading
|
|
8604
8607
|
}, [
|
|
8605
|
-
n.stackedHeading !== void 0 ? (y(),
|
|
8608
|
+
n.stackedHeading !== void 0 ? (y(), P("div", Ic, [
|
|
8606
8609
|
A(n.$slots, "default")
|
|
8607
8610
|
])) : A(n.$slots, "default", { key: 1 })
|
|
8608
8611
|
], 10, Fc));
|
|
@@ -8616,7 +8619,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8616
8619
|
const t = e, l = i(() => ({
|
|
8617
8620
|
[`table-${t.variant}`]: t.variant !== null
|
|
8618
8621
|
}));
|
|
8619
|
-
return (a, o) => (y(),
|
|
8622
|
+
return (a, o) => (y(), P("thead", {
|
|
8620
8623
|
class: R(l.value)
|
|
8621
8624
|
}, [
|
|
8622
8625
|
A(a.$slots, "default")
|
|
@@ -8631,7 +8634,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8631
8634
|
const t = e, l = i(() => ({
|
|
8632
8635
|
[`table-${t.variant}`]: t.variant !== null
|
|
8633
8636
|
}));
|
|
8634
|
-
return (a, o) => (y(),
|
|
8637
|
+
return (a, o) => (y(), P("tr", {
|
|
8635
8638
|
class: R(l.value)
|
|
8636
8639
|
}, [
|
|
8637
8640
|
A(a.$slots, "default")
|
|
@@ -8764,10 +8767,10 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8764
8767
|
]
|
|
8765
8768
|
};
|
|
8766
8769
|
})
|
|
8767
|
-
), h = i(() => !(w != null && w.value && w.value.length > 0)),
|
|
8770
|
+
), h = i(() => !(w != null && w.value && w.value.length > 0)), k = i(() => ({
|
|
8768
8771
|
"d-flex": S.value,
|
|
8769
8772
|
"align-items-start": S.value
|
|
8770
|
-
})), B = Mt(() => l.align),
|
|
8773
|
+
})), B = Mt(() => l.align), C = i(() => ({
|
|
8771
8774
|
"nav-pills": c.value,
|
|
8772
8775
|
"flex-column me-3": S.value,
|
|
8773
8776
|
[B.value]: l.align !== void 0,
|
|
@@ -8776,7 +8779,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8776
8779
|
"nav-justified": d.value,
|
|
8777
8780
|
"nav-tabs": !p.value && !c.value,
|
|
8778
8781
|
small: m.value
|
|
8779
|
-
})),
|
|
8782
|
+
})), O = (_) => {
|
|
8780
8783
|
let x = !1;
|
|
8781
8784
|
if (_ !== void 0 && _ > -1 && _ < w.value.length && !w.value[_].disabled && (b.value < 0 || w.value[_].buttonId !== V.value)) {
|
|
8782
8785
|
const I = new Ye("activate-tab", { cancelable: !0 });
|
|
@@ -8785,9 +8788,9 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8785
8788
|
return !x && a.value !== b.value && (a.value = b.value), x;
|
|
8786
8789
|
}, F = (_, x) => {
|
|
8787
8790
|
var I;
|
|
8788
|
-
|
|
8791
|
+
O(x), x >= 0 && !w.value[x].disabled && ((I = w.value[x]) != null && I.onClick) && typeof w.value[x].onClick == "function" && w.value[x].onClick(_);
|
|
8789
8792
|
};
|
|
8790
|
-
return
|
|
8793
|
+
return O(g.value), ie(a, (_, x) => {
|
|
8791
8794
|
if (_ === x)
|
|
8792
8795
|
return;
|
|
8793
8796
|
if (_ = Math.max(_, -1), x = Math.max(x, -1), w.value.length <= 0) {
|
|
@@ -8800,60 +8803,60 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8800
8803
|
for (; N >= 0 && N <= ee && w.value[N].disabled; )
|
|
8801
8804
|
N += I ? 1 : -1;
|
|
8802
8805
|
if (N < 0) {
|
|
8803
|
-
|
|
8806
|
+
O(0);
|
|
8804
8807
|
return;
|
|
8805
8808
|
}
|
|
8806
8809
|
if (N >= w.value.length) {
|
|
8807
|
-
|
|
8810
|
+
O(w.value.length - 1);
|
|
8808
8811
|
return;
|
|
8809
8812
|
}
|
|
8810
|
-
|
|
8813
|
+
O(N);
|
|
8811
8814
|
}), ie(w, () => {
|
|
8812
8815
|
let _ = w.value.map((x) => x.active && !x.disabled).lastIndexOf(!0);
|
|
8813
8816
|
_ < 0 && (b.value >= w.value.length ? _ = w.value.map((x) => !x.disabled).lastIndexOf(!0) : w.value[b.value] && !w.value[b.value].disabled && (_ = b.value)), _ < 0 && (_ = w.value.map((x) => !x.disabled).indexOf(!0)), w.value.forEach((x, I) => {
|
|
8814
8817
|
x.active = I === _;
|
|
8815
|
-
}),
|
|
8818
|
+
}), O(_);
|
|
8816
8819
|
}), We(() => {
|
|
8817
8820
|
if (b.value < 0 && w.value.length > 0 && !w.value.some((_) => _.active)) {
|
|
8818
8821
|
const _ = w.value.map((x) => !x.disabled).indexOf(!0);
|
|
8819
|
-
|
|
8822
|
+
O(_ >= 0 ? _ : -1);
|
|
8820
8823
|
}
|
|
8821
8824
|
}), Ue(bo, {
|
|
8822
8825
|
lazy: f,
|
|
8823
8826
|
card: n
|
|
8824
8827
|
}), (_, x) => (y(), M(oe(_.tag), {
|
|
8825
8828
|
id: _.id,
|
|
8826
|
-
class: R(["tabs",
|
|
8829
|
+
class: R(["tabs", k.value])
|
|
8827
8830
|
}, {
|
|
8828
8831
|
default: q(() => [
|
|
8829
|
-
|
|
8832
|
+
$(r) ? (y(), P("div", {
|
|
8830
8833
|
key: 0,
|
|
8831
8834
|
class: R(["tab-content", _.contentClass])
|
|
8832
8835
|
}, [
|
|
8833
|
-
(y(!0),
|
|
8836
|
+
(y(!0), P(fe, null, Se(w.value, ({ tabComponent: I, contentId: N, tabClasses: ee, active: ae }, H) => (y(), M(oe(I()), {
|
|
8834
8837
|
id: N,
|
|
8835
8838
|
key: H,
|
|
8836
8839
|
class: R(ee),
|
|
8837
8840
|
active: ae
|
|
8838
8841
|
}, null, 8, ["id", "class", "active"]))), 128)),
|
|
8839
|
-
h.value ? (y(),
|
|
8842
|
+
h.value ? (y(), P("div", {
|
|
8840
8843
|
key: "bv-empty-tab",
|
|
8841
|
-
class: R(["tab-pane active", { "card-body":
|
|
8844
|
+
class: R(["tab-pane active", { "card-body": $(n) }])
|
|
8842
8845
|
}, [
|
|
8843
8846
|
A(_.$slots, "empty")
|
|
8844
8847
|
], 2)) : Y("", !0)
|
|
8845
8848
|
], 2)) : Y("", !0),
|
|
8846
8849
|
J("div", {
|
|
8847
|
-
class: R([_.navWrapperClass, { "card-header":
|
|
8850
|
+
class: R([_.navWrapperClass, { "card-header": $(n), "ms-auto": _.vertical && $(r) }])
|
|
8848
8851
|
}, [
|
|
8849
8852
|
J("ul", {
|
|
8850
|
-
class: R(["nav", [
|
|
8853
|
+
class: R(["nav", [C.value, _.navClass]]),
|
|
8851
8854
|
role: "tablist"
|
|
8852
8855
|
}, [
|
|
8853
8856
|
A(_.$slots, "tabs-start"),
|
|
8854
|
-
(y(!0),
|
|
8857
|
+
(y(!0), P(fe, null, Se(w.value, ({ tab: I, buttonId: N, contentId: ee, navItemClasses: ae, active: H, target: W }, ue) => {
|
|
8855
8858
|
var be, he, me;
|
|
8856
|
-
return y(),
|
|
8859
|
+
return y(), P("li", {
|
|
8857
8860
|
key: ue,
|
|
8858
8861
|
class: R(["nav-item", (be = I == null ? void 0 : I.props) == null ? void 0 : be["title-item-class"]]),
|
|
8859
8862
|
role: "presentation"
|
|
@@ -8869,7 +8872,7 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8869
8872
|
}, (he = I == null ? void 0 : I.props) == null ? void 0 : he["title-link-attributes"], {
|
|
8870
8873
|
onClick: it((pe) => F(pe, ue), ["stop", "prevent"])
|
|
8871
8874
|
}), [
|
|
8872
|
-
I.children && I.children.title ? (y(), M(oe(I.children.title), { key: 0 })) : (y(),
|
|
8875
|
+
I.children && I.children.title ? (y(), M(oe(I.children.title), { key: 0 })) : (y(), P(fe, { key: 1 }, [
|
|
8873
8876
|
se(Z((me = I == null ? void 0 : I.props) == null ? void 0 : me.title), 1)
|
|
8874
8877
|
], 64))
|
|
8875
8878
|
], 16, Hc)
|
|
@@ -8878,19 +8881,19 @@ const rc = /* @__PURE__ */ tl(nc, [["render", sc]]), ic = ["TD", "TH", "TR"], uc
|
|
|
8878
8881
|
A(_.$slots, "tabs-end")
|
|
8879
8882
|
], 2)
|
|
8880
8883
|
], 2),
|
|
8881
|
-
|
|
8884
|
+
$(r) ? Y("", !0) : (y(), P("div", {
|
|
8882
8885
|
key: 1,
|
|
8883
8886
|
class: R(["tab-content", _.contentClass])
|
|
8884
8887
|
}, [
|
|
8885
|
-
(y(!0),
|
|
8888
|
+
(y(!0), P(fe, null, Se(w.value, ({ tabComponent: I, contentId: N, tabClasses: ee, active: ae }, H) => (y(), M(oe(I()), {
|
|
8886
8889
|
id: N,
|
|
8887
8890
|
key: H,
|
|
8888
8891
|
class: R(ee),
|
|
8889
8892
|
active: ae
|
|
8890
8893
|
}, null, 8, ["id", "class", "active"]))), 128)),
|
|
8891
|
-
h.value ? (y(),
|
|
8894
|
+
h.value ? (y(), P("div", {
|
|
8892
8895
|
key: "bv-empty-tab",
|
|
8893
|
-
class: R(["tab-pane active", { "card-body":
|
|
8896
|
+
class: R(["tab-pane active", { "card-body": $(n) }])
|
|
8894
8897
|
}, [
|
|
8895
8898
|
A(_.$slots, "empty")
|
|
8896
8899
|
], 2)) : Y("", !0)
|