bootstrap-vue-next 0.10.7 → 0.10.8
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.
|
@@ -337,7 +337,7 @@ const xs = function(e) {
|
|
|
337
337
|
}(s));
|
|
338
338
|
v || S === "none" || C.push(...function(N, I, E, j) {
|
|
339
339
|
const K = Xe(N);
|
|
340
|
-
let
|
|
340
|
+
let U = function(ie, ee, pe) {
|
|
341
341
|
const Q = ["left", "right"], le = ["right", "left"], me = ["top", "bottom"], q = ["bottom", "top"];
|
|
342
342
|
switch (ie) {
|
|
343
343
|
case "top":
|
|
@@ -350,7 +350,7 @@ const xs = function(e) {
|
|
|
350
350
|
return [];
|
|
351
351
|
}
|
|
352
352
|
}(De(N), E === "start", j);
|
|
353
|
-
return K && (
|
|
353
|
+
return K && (U = U.map((ie) => ie + "-" + K), I && (U = U.concat(U.map(Zt)))), U;
|
|
354
354
|
}(s, B, S, T));
|
|
355
355
|
const _ = [s, ...C], $ = await It(t, y), k = [];
|
|
356
356
|
let c = ((l = o.flip) == null ? void 0 : l.overflows) || [];
|
|
@@ -368,7 +368,7 @@ const xs = function(e) {
|
|
|
368
368
|
switch (m) {
|
|
369
369
|
case "bestFit": {
|
|
370
370
|
var f;
|
|
371
|
-
const j = (f = c.map((K) => [K.placement, K.overflows.filter((
|
|
371
|
+
const j = (f = c.map((K) => [K.placement, K.overflows.filter((U) => U > 0).reduce((U, ie) => U + ie, 0)]).sort((K, U) => K[1] - U[1])[0]) == null ? void 0 : f[0];
|
|
372
372
|
j && (E = j);
|
|
373
373
|
break;
|
|
374
374
|
}
|
|
@@ -700,8 +700,8 @@ function jo(e, t, l, a) {
|
|
|
700
700
|
return;
|
|
701
701
|
const E = { rootMargin: -Gt(f) + "px " + -Gt(_.clientWidth - (L + N)) + "px " + -Gt(_.clientHeight - (f + I)) + "px " + -Gt(L) + "px", threshold: St(0, ka(1, V)) || 1 };
|
|
702
702
|
let j = !0;
|
|
703
|
-
function K(
|
|
704
|
-
const ie =
|
|
703
|
+
function K(U) {
|
|
704
|
+
const ie = U[0].intersectionRatio;
|
|
705
705
|
if (ie !== V) {
|
|
706
706
|
if (!j)
|
|
707
707
|
return k();
|
|
@@ -1789,51 +1789,44 @@ const tn = rr(() => {
|
|
|
1789
1789
|
},
|
|
1790
1790
|
A,
|
|
1791
1791
|
{ maxWait: b }
|
|
1792
|
-
),
|
|
1792
|
+
), C = (E, j = !1) => {
|
|
1793
|
+
p.value === !0 && j === !1 || T(E);
|
|
1794
|
+
}, { focused: _ } = Ie(l, {
|
|
1793
1795
|
initialValue: r.value
|
|
1794
|
-
}),
|
|
1795
|
-
r.value && (C.value = !0);
|
|
1796
|
-
};
|
|
1796
|
+
}), $ = (E, j, K = !1) => (E = String(E), typeof e.formatter == "function" && (!h.value || K) ? (o = !1, e.formatter(E, j)) : E), k = (E) => S.value ? E.trim() : v.value ? Number.parseFloat(E) : E;
|
|
1797
1797
|
Re(() => {
|
|
1798
1798
|
l.value && (l.value.value = n.value);
|
|
1799
1799
|
}), Wn(() => {
|
|
1800
1800
|
Ce(() => {
|
|
1801
|
-
|
|
1801
|
+
r.value && (_.value = !0);
|
|
1802
1802
|
});
|
|
1803
1803
|
});
|
|
1804
1804
|
const c = u(
|
|
1805
1805
|
() => va(e.ariaInvalid, m.value)
|
|
1806
1806
|
), V = (E) => {
|
|
1807
|
-
const { value: j } = E.target, K =
|
|
1807
|
+
const { value: j } = E.target, K = $(j, E);
|
|
1808
1808
|
if (K === !1 || E.defaultPrevented) {
|
|
1809
1809
|
E.preventDefault();
|
|
1810
1810
|
return;
|
|
1811
1811
|
}
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
const W = $(K);
|
|
1815
|
-
n.value !== W && (a = j, T(W)), t("input", K);
|
|
1812
|
+
const U = k(K);
|
|
1813
|
+
a = j, C(U), t("input", K);
|
|
1816
1814
|
}, L = (E) => {
|
|
1817
|
-
const { value: j } = E.target, K =
|
|
1815
|
+
const { value: j } = E.target, K = $(j, E);
|
|
1818
1816
|
if (K === !1 || E.defaultPrevented) {
|
|
1819
1817
|
E.preventDefault();
|
|
1820
1818
|
return;
|
|
1821
1819
|
}
|
|
1822
|
-
|
|
1823
|
-
return;
|
|
1824
|
-
a = j, T(K);
|
|
1825
|
-
const W = $(K);
|
|
1826
|
-
n.value !== W && t("change", K);
|
|
1820
|
+
a = j, C(K, !0), t("change", K);
|
|
1827
1821
|
}, f = (E) => {
|
|
1828
1822
|
if (t("blur", E), !p.value && !h.value)
|
|
1829
1823
|
return;
|
|
1830
|
-
const { value: j } = E.target, K =
|
|
1831
|
-
a = j,
|
|
1824
|
+
const { value: j } = E.target, K = $(j, E, !0);
|
|
1825
|
+
a = j, C(K, !0);
|
|
1832
1826
|
}, N = () => {
|
|
1833
|
-
i.value || (
|
|
1827
|
+
i.value || (_.value = !0);
|
|
1834
1828
|
}, I = () => {
|
|
1835
|
-
|
|
1836
|
-
i.value || (E = l.value) == null || E.blur();
|
|
1829
|
+
i.value || (_.value = !1);
|
|
1837
1830
|
};
|
|
1838
1831
|
return se(n, (E) => {
|
|
1839
1832
|
l.value && (l.value.value = a && o ? a : E, a = null, o = !0);
|
|
@@ -1999,7 +1992,7 @@ const tn = rr(() => {
|
|
|
1999
1992
|
zt(() => {
|
|
2000
1993
|
l("update:modelValue", n.value);
|
|
2001
1994
|
}), se(o, () => {
|
|
2002
|
-
o.value !== n.value && (o.value ?
|
|
1995
|
+
o.value !== n.value && (o.value ? W() : ne(new Event("update:modelValue")));
|
|
2003
1996
|
});
|
|
2004
1997
|
const r = $e(() => a.id, "popover"), i = d(() => a.click), p = d(() => a.manual), h = d(() => a.noShift), v = d(() => a.noFlip), m = d(() => a.noFade), S = d(() => a.noAutoClose), B = d(() => a.hide), y = d(() => a.realtime), A = d(() => a.inline), b = d(() => a.tooltip), T = d(() => a.html), C = x(!1), _ = x(null), $ = x(null), k = x(null), c = x(null), V = x(null), L = (X) => {
|
|
2005
1998
|
if (typeof X == "string" || X instanceof HTMLElement)
|
|
@@ -2029,10 +2022,10 @@ const tn = rr(() => {
|
|
|
2029
2022
|
alignment: a.placement.split("-")[1] || void 0
|
|
2030
2023
|
})
|
|
2031
2024
|
), h.value === !1 && de.push(No()), B.value === !0 && de.push(Rs({ padding: 10 })), A.value === !0 && de.push(Ms()), de.push(Xs({ element: k, padding: 10 })), de;
|
|
2032
|
-
}),
|
|
2025
|
+
}), U = u(
|
|
2033
2026
|
() => E.value ? void 0 : a.placement
|
|
2034
2027
|
), { x: ie, y: ee, strategy: pe, middlewareData: Q, placement: le, update: me } = Go($, _, {
|
|
2035
|
-
placement:
|
|
2028
|
+
placement: U,
|
|
2036
2029
|
middleware: K,
|
|
2037
2030
|
strategy: Ee(Se(a, "strategy")),
|
|
2038
2031
|
whileElementsMounted: (...X) => jo(...X, { animationFrame: y.value })
|
|
@@ -2065,7 +2058,7 @@ const tn = rr(() => {
|
|
|
2065
2058
|
];
|
|
2066
2059
|
}), { isOutside: ge } = Rl(_), { isOutside: fe } = Rl(c), G = (X) => {
|
|
2067
2060
|
const de = X ?? new Event("click");
|
|
2068
|
-
n.value ? ne(de) :
|
|
2061
|
+
n.value ? ne(de) : W();
|
|
2069
2062
|
}, F = (X, de = {}) => new Ht(X, {
|
|
2070
2063
|
cancelable: !1,
|
|
2071
2064
|
target: _.value || null,
|
|
@@ -2075,7 +2068,7 @@ const tn = rr(() => {
|
|
|
2075
2068
|
componentId: r.value
|
|
2076
2069
|
});
|
|
2077
2070
|
let R;
|
|
2078
|
-
const
|
|
2071
|
+
const W = () => {
|
|
2079
2072
|
const X = F("show", { cancelable: !0 });
|
|
2080
2073
|
if (l("show", X), X.defaultPrevented) {
|
|
2081
2074
|
l("show-prevented");
|
|
@@ -2117,7 +2110,7 @@ const tn = rr(() => {
|
|
|
2117
2110
|
};
|
|
2118
2111
|
t({
|
|
2119
2112
|
hideFn: ne,
|
|
2120
|
-
show:
|
|
2113
|
+
show: W,
|
|
2121
2114
|
toggle: G
|
|
2122
2115
|
});
|
|
2123
2116
|
const _e = () => {
|
|
@@ -2132,9 +2125,9 @@ const tn = rr(() => {
|
|
|
2132
2125
|
de ? $.value = de : console.warn("Reference element not found", a.reference);
|
|
2133
2126
|
} else
|
|
2134
2127
|
$.value = c.value;
|
|
2135
|
-
!c.value || p.value || Ua && (i.value && c.value.addEventListener("click", G), !i.value && c.value.addEventListener("pointerenter",
|
|
2128
|
+
!c.value || p.value || Ua && (i.value && c.value.addEventListener("click", G), !i.value && c.value.addEventListener("pointerenter", W), !i.value && c.value.addEventListener("pointerleave", ne), !i.value && c.value.addEventListener("focus", W), !i.value && c.value.addEventListener("blur", ne));
|
|
2136
2129
|
}, ke = () => {
|
|
2137
|
-
c.value && (c.value.removeEventListener("click", G), c.value.removeEventListener("pointerenter",
|
|
2130
|
+
c.value && (c.value.removeEventListener("click", G), c.value.removeEventListener("pointerenter", W), c.value.removeEventListener("pointerleave", ne), c.value.removeEventListener("focus", W), c.value.removeEventListener("blur", ne));
|
|
2138
2131
|
};
|
|
2139
2132
|
return Zo(
|
|
2140
2133
|
_,
|
|
@@ -2150,7 +2143,7 @@ const tn = rr(() => {
|
|
|
2150
2143
|
ref: V
|
|
2151
2144
|
}, null, 512),
|
|
2152
2145
|
O(X.$slots, "target", {
|
|
2153
|
-
show:
|
|
2146
|
+
show: W,
|
|
2154
2147
|
hide: ne,
|
|
2155
2148
|
toggle: G,
|
|
2156
2149
|
showState: n.value
|
|
@@ -3021,7 +3014,7 @@ const ya = (e, t) => {
|
|
|
3021
3014
|
...I.value,
|
|
3022
3015
|
width: b.value ?? void 0,
|
|
3023
3016
|
height: b.value ?? void 0
|
|
3024
|
-
})), K = (ee) => ee === "light" || ee === "warning" ? "dark" : "light",
|
|
3017
|
+
})), K = (ee) => ee === "light" || ee === "warning" ? "dark" : "light", U = (ee) => {
|
|
3025
3018
|
!v.value && (A.value || h.value) && t("click", ee);
|
|
3026
3019
|
}, ie = (ee) => {
|
|
3027
3020
|
t("img-error", ee);
|
|
@@ -3032,7 +3025,7 @@ const ya = (e, t) => {
|
|
|
3032
3025
|
}, _.value, {
|
|
3033
3026
|
type: w(h) && !A.value ? l.buttonType : void 0,
|
|
3034
3027
|
disabled: w(v) || null,
|
|
3035
|
-
onClick:
|
|
3028
|
+
onClick: U
|
|
3036
3029
|
}), {
|
|
3037
3030
|
default: D(() => [
|
|
3038
3031
|
S.value ? (g(), P("span", wi, [
|
|
@@ -3774,7 +3767,7 @@ const ya = (e, t) => {
|
|
|
3774
3767
|
{ immediate: V.value === "carousel" }
|
|
3775
3768
|
), E = u(
|
|
3776
3769
|
() => V.value === !0 && T.value === !0 || V.value === "carousel"
|
|
3777
|
-
), j = u(() => $a(o.default, "BCarouselSlide")), K = u(() => ({ "carousel-fade": h.value })),
|
|
3770
|
+
), j = u(() => $a(o.default, "BCarouselSlide")), K = u(() => ({ "carousel-fade": h.value })), U = (G) => {
|
|
3778
3771
|
var F;
|
|
3779
3772
|
return new po(G, {
|
|
3780
3773
|
componentId: n.value,
|
|
@@ -3829,9 +3822,9 @@ const ya = (e, t) => {
|
|
|
3829
3822
|
q.value <= -y.value && (ee(), G());
|
|
3830
3823
|
}
|
|
3831
3824
|
}), oe = () => {
|
|
3832
|
-
l("slide",
|
|
3825
|
+
l("slide", U("slide")), b.value = !0;
|
|
3833
3826
|
}, ge = () => {
|
|
3834
|
-
l("slid",
|
|
3827
|
+
l("slid", U("slid")), b.value = !1;
|
|
3835
3828
|
}, fe = (G) => {
|
|
3836
3829
|
s.value !== 0 && G.classList.add("carousel-item");
|
|
3837
3830
|
};
|
|
@@ -3869,14 +3862,14 @@ const ya = (e, t) => {
|
|
|
3869
3862
|
class: z(["carousel slide pointer-event", K.value])
|
|
3870
3863
|
}, [
|
|
3871
3864
|
w(m) ? (g(), P("div", Ri, [
|
|
3872
|
-
(g(!0), P(ce, null, be(j.value.length, (R,
|
|
3873
|
-
key:
|
|
3865
|
+
(g(!0), P(ce, null, be(j.value.length, (R, W) => (g(), P("button", {
|
|
3866
|
+
key: W,
|
|
3874
3867
|
type: "button",
|
|
3875
3868
|
"data-bs-target": "",
|
|
3876
|
-
class: z(
|
|
3877
|
-
"aria-current":
|
|
3878
|
-
"aria-label": `${G.indicatorsButtonLabel} ${
|
|
3879
|
-
onClick: (ne) => ie(
|
|
3869
|
+
class: z(W === w(s) ? "active" : ""),
|
|
3870
|
+
"aria-current": W === w(s) ? !0 : void 0,
|
|
3871
|
+
"aria-label": `${G.indicatorsButtonLabel} ${W}`,
|
|
3872
|
+
onClick: (ne) => ie(W)
|
|
3880
3873
|
}, null, 10, Mi))), 128))
|
|
3881
3874
|
])) : J("", !0),
|
|
3882
3875
|
Z("div", {
|
|
@@ -3896,11 +3889,11 @@ const ya = (e, t) => {
|
|
|
3896
3889
|
onAfterEnter: fe
|
|
3897
3890
|
}, {
|
|
3898
3891
|
default: D(() => [
|
|
3899
|
-
(g(!0), P(ce, null, be(j.value, (R,
|
|
3900
|
-
key:
|
|
3901
|
-
class: z({ active:
|
|
3892
|
+
(g(!0), P(ce, null, be(j.value, (R, W) => ut((g(), M(ae(R), {
|
|
3893
|
+
key: W,
|
|
3894
|
+
class: z({ active: W === w(s) && b.value === !1 })
|
|
3902
3895
|
}, null, 8, ["class"])), [
|
|
3903
|
-
[ca,
|
|
3896
|
+
[ca, W === w(s)]
|
|
3904
3897
|
])), 128))
|
|
3905
3898
|
]),
|
|
3906
3899
|
_: 1
|
|
@@ -4270,7 +4263,7 @@ const wn = {
|
|
|
4270
4263
|
{ default: () => E }
|
|
4271
4264
|
)
|
|
4272
4265
|
), ze("default", { hide: T }, l) || e.body) {
|
|
4273
|
-
const
|
|
4266
|
+
const U = ue(
|
|
4274
4267
|
_t(e) ? "b-link" : "div",
|
|
4275
4268
|
{
|
|
4276
4269
|
class: ["toast-body", e.bodyClass],
|
|
@@ -4278,7 +4271,7 @@ const wn = {
|
|
|
4278
4271
|
},
|
|
4279
4272
|
ze("default", { hide: T }, l) || e.body
|
|
4280
4273
|
);
|
|
4281
|
-
K.push(
|
|
4274
|
+
K.push(U);
|
|
4282
4275
|
}
|
|
4283
4276
|
return ue(
|
|
4284
4277
|
"div",
|
|
@@ -4472,7 +4465,7 @@ const wn = {
|
|
|
4472
4465
|
rootBoundary: f.value
|
|
4473
4466
|
})
|
|
4474
4467
|
), F;
|
|
4475
|
-
}), { x: j, y: K, strategy:
|
|
4468
|
+
}), { x: j, y: K, strategy: U, update: ie } = Go(N, k, {
|
|
4476
4469
|
placement: I,
|
|
4477
4470
|
middleware: E,
|
|
4478
4471
|
strategy: Ee(Se(a, "strategy")),
|
|
@@ -4583,7 +4576,7 @@ const wn = {
|
|
|
4583
4576
|
ref_key: "floating",
|
|
4584
4577
|
ref: k,
|
|
4585
4578
|
style: He({
|
|
4586
|
-
position: w(
|
|
4579
|
+
position: w(U) === "absolute" ? void 0 : "fixed",
|
|
4587
4580
|
top: `${w(K)}px`,
|
|
4588
4581
|
left: `${w(j)}px`,
|
|
4589
4582
|
width: "max-content"
|
|
@@ -4999,7 +4992,7 @@ const wn = {
|
|
|
4999
4992
|
class: z(w(L))
|
|
5000
4993
|
}, {
|
|
5001
4994
|
default: D(() => {
|
|
5002
|
-
var j, K,
|
|
4995
|
+
var j, K, U;
|
|
5003
4996
|
return [
|
|
5004
4997
|
ut(Z("input", te({ id: w(s) }, I.$attrs, {
|
|
5005
4998
|
ref_key: "input",
|
|
@@ -5010,7 +5003,7 @@ const wn = {
|
|
|
5010
5003
|
disabled: w(S) || ((j = w(b)) == null ? void 0 : j.disabled.value),
|
|
5011
5004
|
required: k.value || void 0,
|
|
5012
5005
|
name: I.name || ((K = w(b)) == null ? void 0 : K.name.value),
|
|
5013
|
-
form: I.form || ((
|
|
5006
|
+
form: I.form || ((U = w(b)) == null ? void 0 : U.form.value),
|
|
5014
5007
|
"aria-label": I.ariaLabel,
|
|
5015
5008
|
"aria-labelledby": I.ariaLabelledBy,
|
|
5016
5009
|
"aria-required": k.value || void 0,
|
|
@@ -6014,7 +6007,7 @@ const wn = {
|
|
|
6014
6007
|
return;
|
|
6015
6008
|
le(), [Na, La].includes(oe) ? (h = !0, oe === Na ? ie(q, E) : oe === La && ie(q, j)) : oe === Fn ? E(b.value) : oe === En ? j(b.value) : oe === Pn ? r.value = m.value : oe === An && (r.value = S.value);
|
|
6016
6009
|
}
|
|
6017
|
-
},
|
|
6010
|
+
}, U = (q) => {
|
|
6018
6011
|
const { code: oe, altKey: ge, ctrlKey: fe, metaKey: G } = q;
|
|
6019
6012
|
e.disabled || e.readonly || ge || fe || G || ao.includes(oe) && (Xt(q, { propagation: !1 }), le(), h = !1, n());
|
|
6020
6013
|
}, ie = (q, oe) => {
|
|
@@ -6025,9 +6018,9 @@ const wn = {
|
|
|
6025
6018
|
le(), oe(1);
|
|
6026
6019
|
const fe = A.value, G = b.value, F = B.value, R = y.value;
|
|
6027
6020
|
i = setTimeout(() => {
|
|
6028
|
-
let
|
|
6021
|
+
let W = 0;
|
|
6029
6022
|
p = setInterval(() => {
|
|
6030
|
-
oe(
|
|
6023
|
+
oe(W < fe ? 1 : G), W++;
|
|
6031
6024
|
}, R);
|
|
6032
6025
|
}, F);
|
|
6033
6026
|
}
|
|
@@ -6046,7 +6039,7 @@ const wn = {
|
|
|
6046
6039
|
}, le = () => {
|
|
6047
6040
|
clearTimeout(i), clearInterval(p), i = void 0, p = void 0;
|
|
6048
6041
|
}, me = (q, oe, ge, fe, G, F, R) => {
|
|
6049
|
-
const
|
|
6042
|
+
const W = ue(ge, {
|
|
6050
6043
|
props: { scale: a.value ? 1.5 : 1.25 },
|
|
6051
6044
|
attrs: { "aria-hidden": !0 }
|
|
6052
6045
|
}), ne = { hasFocus: a.value }, _e = (ke) => {
|
|
@@ -6067,7 +6060,7 @@ const wn = {
|
|
|
6067
6060
|
ontouchstart: _e
|
|
6068
6061
|
// 'ref': keyRef,
|
|
6069
6062
|
},
|
|
6070
|
-
[ze(R, ne) ||
|
|
6063
|
+
[ze(R, ne) || W]
|
|
6071
6064
|
);
|
|
6072
6065
|
};
|
|
6073
6066
|
return () => {
|
|
@@ -6166,7 +6159,7 @@ const wn = {
|
|
|
6166
6159
|
],
|
|
6167
6160
|
...L.value,
|
|
6168
6161
|
onkeydown: K,
|
|
6169
|
-
onkeyup:
|
|
6162
|
+
onkeyup: U
|
|
6170
6163
|
// We use capture phase (`!` prefix) since focus and blur do not bubble
|
|
6171
6164
|
// 'focus': onFocusBlur, //TODO
|
|
6172
6165
|
// 'blur': onFocusBlur, //TODO
|
|
@@ -6291,11 +6284,11 @@ const wn = {
|
|
|
6291
6284
|
}
|
|
6292
6285
|
]), E = u(() => $.value.includes(k.value)), j = u(
|
|
6293
6286
|
() => k.value === "" ? !1 : !a.tagValidator(k.value)
|
|
6294
|
-
), K = u(() => $.value.length === A.value),
|
|
6287
|
+
), K = u(() => $.value.length === A.value), U = u(() => !j.value && !E.value), ie = u(() => ({
|
|
6295
6288
|
addButtonText: a.addButtonText,
|
|
6296
6289
|
addButtonVariant: a.addButtonVariant,
|
|
6297
6290
|
addTag: fe,
|
|
6298
|
-
disableAddButton:
|
|
6291
|
+
disableAddButton: U.value,
|
|
6299
6292
|
disabled: i.value,
|
|
6300
6293
|
duplicateTagText: a.duplicateTagText,
|
|
6301
6294
|
duplicateTags: N.value,
|
|
@@ -6348,9 +6341,9 @@ const wn = {
|
|
|
6348
6341
|
}, Q = (F) => {
|
|
6349
6342
|
C.value = !1, l("blur", F);
|
|
6350
6343
|
}, le = (F) => {
|
|
6351
|
-
var
|
|
6344
|
+
var W, ne;
|
|
6352
6345
|
const R = typeof F == "string" ? F : F.target.value;
|
|
6353
|
-
if (c.value = !1, (
|
|
6346
|
+
if (c.value = !1, (W = a.separator) != null && W.includes(R.charAt(0)) && R.length > 0) {
|
|
6354
6347
|
T.value && (T.value.value = "");
|
|
6355
6348
|
return;
|
|
6356
6349
|
}
|
|
@@ -6377,14 +6370,14 @@ const wn = {
|
|
|
6377
6370
|
return new RegExp(`[${vs(oe.value)}]+`);
|
|
6378
6371
|
}), fe = (F) => {
|
|
6379
6372
|
F = (F ?? k.value).trim();
|
|
6380
|
-
const R = ge.value ? F.split(ge.value).map((_e) => _e.trim()) : [F],
|
|
6373
|
+
const R = ge.value ? F.split(ge.value).map((_e) => _e.trim()) : [F], W = [];
|
|
6381
6374
|
for (const _e of R)
|
|
6382
6375
|
if (!(_e === "" || E.value || !a.tagValidator(_e))) {
|
|
6383
6376
|
if (A.value && K.value)
|
|
6384
6377
|
break;
|
|
6385
|
-
|
|
6378
|
+
W.push(_e);
|
|
6386
6379
|
}
|
|
6387
|
-
const ne = [...o.value, ...
|
|
6380
|
+
const ne = [...o.value, ...W];
|
|
6388
6381
|
k.value = "", c.value = !0, o.value = ne, l("input", ne), C.value = !0;
|
|
6389
6382
|
}, G = (F) => {
|
|
6390
6383
|
const R = $.value.indexOf((F == null ? void 0 : F.toString()) ?? "");
|
|
@@ -6403,7 +6396,7 @@ const wn = {
|
|
|
6403
6396
|
role: "group",
|
|
6404
6397
|
tabindex: "-1",
|
|
6405
6398
|
onFocusin: ee,
|
|
6406
|
-
onFocusout: R[1] || (R[1] = (
|
|
6399
|
+
onFocusout: R[1] || (R[1] = (W) => l("focusout", W))
|
|
6407
6400
|
}, [
|
|
6408
6401
|
Z("output", {
|
|
6409
6402
|
id: `${w(n)}selected_tags__`,
|
|
@@ -6425,16 +6418,16 @@ const wn = {
|
|
|
6425
6418
|
id: `${w(n)}tag_list__`,
|
|
6426
6419
|
class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
|
|
6427
6420
|
}, [
|
|
6428
|
-
(g(!0), P(ce, null, be($.value, (
|
|
6421
|
+
(g(!0), P(ce, null, be($.value, (W, ne) => O(F.$slots, "tag", {
|
|
6429
6422
|
key: ne,
|
|
6430
|
-
tag:
|
|
6423
|
+
tag: W,
|
|
6431
6424
|
tagClass: F.tagClass,
|
|
6432
6425
|
tagVariant: F.tagVariant,
|
|
6433
6426
|
tagPills: w(y),
|
|
6434
6427
|
removeTag: G
|
|
6435
6428
|
}, () => [
|
|
6436
6429
|
(g(), M(In, {
|
|
6437
|
-
key:
|
|
6430
|
+
key: W,
|
|
6438
6431
|
class: z(F.tagClass),
|
|
6439
6432
|
tag: "li",
|
|
6440
6433
|
variant: F.tagVariant,
|
|
@@ -6442,7 +6435,7 @@ const wn = {
|
|
|
6442
6435
|
onRemove: G
|
|
6443
6436
|
}, {
|
|
6444
6437
|
default: D(() => [
|
|
6445
|
-
re(Y(
|
|
6438
|
+
re(Y(W), 1)
|
|
6446
6439
|
]),
|
|
6447
6440
|
_: 2
|
|
6448
6441
|
}, 1032, ["class", "variant", "pill"]))
|
|
@@ -6473,7 +6466,7 @@ const wn = {
|
|
|
6473
6466
|
onFocus: pe,
|
|
6474
6467
|
onBlur: Q
|
|
6475
6468
|
}), null, 16, gd),
|
|
6476
|
-
|
|
6469
|
+
U.value ? (g(), P("button", {
|
|
6477
6470
|
key: 0,
|
|
6478
6471
|
type: "button",
|
|
6479
6472
|
class: z(["btn b-form-tags-button py-0", [
|
|
@@ -6485,7 +6478,7 @@ const wn = {
|
|
|
6485
6478
|
]]),
|
|
6486
6479
|
style: { "font-size": "90%" },
|
|
6487
6480
|
disabled: w(i) || k.value.length === 0 || K.value,
|
|
6488
|
-
onClick: R[0] || (R[0] = (
|
|
6481
|
+
onClick: R[0] || (R[0] = (W) => fe(k.value))
|
|
6489
6482
|
}, [
|
|
6490
6483
|
O(F.$slots, "add-button-text", {}, () => [
|
|
6491
6484
|
re(Y(F.addButtonText), 1)
|
|
@@ -6500,11 +6493,11 @@ const wn = {
|
|
|
6500
6493
|
$.value.length === F.limit ? (g(), P("small", Sd, "Tag limit reached")) : J("", !0)
|
|
6501
6494
|
])
|
|
6502
6495
|
]),
|
|
6503
|
-
F.name ? (g(!0), P(ce, { key: 0 }, be($.value, (
|
|
6496
|
+
F.name ? (g(!0), P(ce, { key: 0 }, be($.value, (W, ne) => (g(), P("input", {
|
|
6504
6497
|
key: ne,
|
|
6505
6498
|
type: "hidden",
|
|
6506
6499
|
name: F.name,
|
|
6507
|
-
value:
|
|
6500
|
+
value: W
|
|
6508
6501
|
}, null, 8, wd))), 128)) : J("", !0)
|
|
6509
6502
|
], 42, dd));
|
|
6510
6503
|
}
|
|
@@ -6906,7 +6899,7 @@ const wn = {
|
|
|
6906
6899
|
},
|
|
6907
6900
|
{ target: f }
|
|
6908
6901
|
), un(y, L);
|
|
6909
|
-
const { focused:
|
|
6902
|
+
const { focused: U } = Ie(f, {
|
|
6910
6903
|
initialValue: y.value && a.autoFocusButton === void 0
|
|
6911
6904
|
}), { focused: ie } = Ie(N, {
|
|
6912
6905
|
initialValue: y.value && a.autoFocusButton === "ok"
|
|
@@ -6956,7 +6949,7 @@ const wn = {
|
|
|
6956
6949
|
[`border-${a.footerBorderVariant}`]: a.footerBorderVariant !== null,
|
|
6957
6950
|
[`text-${a.footerTextVariant}`]: a.footerTextVariant !== null
|
|
6958
6951
|
}
|
|
6959
|
-
]),
|
|
6952
|
+
]), W = u(() => [
|
|
6960
6953
|
a.titleClass,
|
|
6961
6954
|
{
|
|
6962
6955
|
"visually-hidden": c.value
|
|
@@ -6983,7 +6976,7 @@ const wn = {
|
|
|
6983
6976
|
}
|
|
6984
6977
|
s.value = !0;
|
|
6985
6978
|
}, Me = () => {
|
|
6986
|
-
C.value !== !1 && (a.autoFocusButton === "ok" ? ie.value = !0 : a.autoFocusButton === "close" ? pe.value = !0 : a.autoFocusButton === "cancel" ? ee.value = !0 :
|
|
6979
|
+
C.value !== !1 && (a.autoFocusButton === "ok" ? ie.value = !0 : a.autoFocusButton === "close" ? pe.value = !0 : a.autoFocusButton === "cancel" ? ee.value = !0 : U.value = !0);
|
|
6987
6980
|
}, We = () => de(), Mt = () => {
|
|
6988
6981
|
j.value = !0, Me(), l("shown", ke("shown")), i.value === !0 && (K.value = !0);
|
|
6989
6982
|
}, Dt = () => {
|
|
@@ -7033,7 +7026,7 @@ const wn = {
|
|
|
7033
7026
|
O(ve.$slots, "header", {}, () => [
|
|
7034
7027
|
(g(), M(ae(ve.titleTag), {
|
|
7035
7028
|
id: `${w(n)}-label`,
|
|
7036
|
-
class: z(["modal-title",
|
|
7029
|
+
class: z(["modal-title", W.value])
|
|
7037
7030
|
}, {
|
|
7038
7031
|
default: D(() => [
|
|
7039
7032
|
O(ve.$slots, "title", {}, () => [
|
|
@@ -7667,7 +7660,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7667
7660
|
Ce(() => {
|
|
7668
7661
|
v.value === !1 && (T.value = !0);
|
|
7669
7662
|
});
|
|
7670
|
-
},
|
|
7663
|
+
}, U = () => j(), ie = () => {
|
|
7671
7664
|
C.value = !0, K(), l("shown", I("shown")), B.value === !0 && (_.value = !0);
|
|
7672
7665
|
}, ee = () => {
|
|
7673
7666
|
C.value = !1;
|
|
@@ -7691,7 +7684,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7691
7684
|
leaveToClass: "hiding show",
|
|
7692
7685
|
leaveFromClass: "show"
|
|
7693
7686
|
},
|
|
7694
|
-
onBeforeEnter:
|
|
7687
|
+
onBeforeEnter: U,
|
|
7695
7688
|
onAfterEnter: ie,
|
|
7696
7689
|
onLeave: ee,
|
|
7697
7690
|
onAfterLeave: pe
|
|
@@ -7863,8 +7856,8 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7863
7856
|
return k;
|
|
7864
7857
|
});
|
|
7865
7858
|
return () => {
|
|
7866
|
-
const k = [], c = $.value.map((
|
|
7867
|
-
const me = o.value || V(le) || L ||
|
|
7859
|
+
const k = [], c = $.value.map((U) => U.number), V = (U) => U === a.value, L = a.value < 1, f = e.align === "fill", N = (U, ie, ee, pe, Q, le) => {
|
|
7860
|
+
const me = o.value || V(le) || L || U < 1 || U > m.value, q = U < 1 ? 1 : U > m.value ? m.value : U, oe = { disabled: me, page: q, index: q - 1 }, ge = ze(ee, oe, l) || pe || "";
|
|
7868
7861
|
return ue(
|
|
7869
7862
|
"li",
|
|
7870
7863
|
{
|
|
@@ -7896,7 +7889,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7896
7889
|
ge
|
|
7897
7890
|
)
|
|
7898
7891
|
);
|
|
7899
|
-
}, I = (
|
|
7892
|
+
}, I = (U) => ue(
|
|
7900
7893
|
"li",
|
|
7901
7894
|
{
|
|
7902
7895
|
class: [
|
|
@@ -7907,7 +7900,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7907
7900
|
e.ellipsisClass
|
|
7908
7901
|
],
|
|
7909
7902
|
role: "separator",
|
|
7910
|
-
key: `ellipsis-${
|
|
7903
|
+
key: `ellipsis-${U ? "last" : "first"}`
|
|
7911
7904
|
},
|
|
7912
7905
|
[
|
|
7913
7906
|
ue(
|
|
@@ -7916,25 +7909,25 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7916
7909
|
ze(dc, {}, l) || e.ellipsisText || "..."
|
|
7917
7910
|
)
|
|
7918
7911
|
]
|
|
7919
|
-
), E = (
|
|
7920
|
-
const ee = V(
|
|
7912
|
+
), E = (U, ie) => {
|
|
7913
|
+
const ee = V(U.number) && !L, pe = o.value ? null : ee || L && ie === 0 ? "0" : "-1", Q = {
|
|
7921
7914
|
active: ee,
|
|
7922
7915
|
disabled: o.value,
|
|
7923
|
-
page:
|
|
7924
|
-
index:
|
|
7925
|
-
content:
|
|
7926
|
-
}, le = ze(pc, Q, l) ||
|
|
7916
|
+
page: U.number,
|
|
7917
|
+
index: U.number - 1,
|
|
7918
|
+
content: U.number
|
|
7919
|
+
}, le = ze(pc, Q, l) || U.number, me = ue(
|
|
7927
7920
|
o.value ? "span" : "button",
|
|
7928
7921
|
{
|
|
7929
7922
|
class: ["page-link", { "flex-grow-1": !o.value && f }],
|
|
7930
7923
|
"aria-controls": e.ariaControls || null,
|
|
7931
7924
|
"aria-disabled": o.value ? !0 : null,
|
|
7932
|
-
"aria-label": e.labelPage ? `${e.labelPage} ${
|
|
7925
|
+
"aria-label": e.labelPage ? `${e.labelPage} ${U.number}` : null,
|
|
7933
7926
|
role: "menuitemradio",
|
|
7934
7927
|
type: o.value ? null : "button",
|
|
7935
7928
|
tabindex: pe,
|
|
7936
7929
|
onClick: (q) => {
|
|
7937
|
-
o.value || T(q,
|
|
7930
|
+
o.value || T(q, U.number);
|
|
7938
7931
|
}
|
|
7939
7932
|
},
|
|
7940
7933
|
le
|
|
@@ -7953,13 +7946,13 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7953
7946
|
e.pageClass
|
|
7954
7947
|
],
|
|
7955
7948
|
role: "presentation",
|
|
7956
|
-
key: `page-${
|
|
7949
|
+
key: `page-${U.number}`
|
|
7957
7950
|
},
|
|
7958
7951
|
me
|
|
7959
7952
|
);
|
|
7960
7953
|
};
|
|
7961
7954
|
if (!r.value && !n.value) {
|
|
7962
|
-
const
|
|
7955
|
+
const U = N(
|
|
7963
7956
|
1,
|
|
7964
7957
|
e.labelFirstPage,
|
|
7965
7958
|
cc,
|
|
@@ -7967,7 +7960,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7967
7960
|
e.firstClass,
|
|
7968
7961
|
1
|
|
7969
7962
|
);
|
|
7970
|
-
k.push(
|
|
7963
|
+
k.push(U);
|
|
7971
7964
|
}
|
|
7972
7965
|
const j = N(
|
|
7973
7966
|
a.value - 1,
|
|
@@ -7977,9 +7970,9 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7977
7970
|
e.prevClass,
|
|
7978
7971
|
1
|
|
7979
7972
|
);
|
|
7980
|
-
k.push(j), n.value && c[0] !== 1 && k.push(E({ number: 1 }, 0)), B.value && k.push(I(!1)), $.value.forEach((
|
|
7973
|
+
k.push(j), n.value && c[0] !== 1 && k.push(E({ number: 1 }, 0)), B.value && k.push(I(!1)), $.value.forEach((U, ie) => {
|
|
7981
7974
|
const ee = B.value && n.value && c[0] !== 1 ? 1 : 0;
|
|
7982
|
-
k.push(E(
|
|
7975
|
+
k.push(E(U, ie + ee));
|
|
7983
7976
|
}), A.value && k.push(I(!0)), i.value && c[c.length - 1] !== m.value && k.push(E({ number: m.value }, -1));
|
|
7984
7977
|
const K = N(
|
|
7985
7978
|
a.value + 1,
|
|
@@ -7990,7 +7983,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7990
7983
|
m.value
|
|
7991
7984
|
);
|
|
7992
7985
|
if (k.push(K), !i.value && !r.value) {
|
|
7993
|
-
const
|
|
7986
|
+
const U = N(
|
|
7994
7987
|
m.value,
|
|
7995
7988
|
e.labelLastPage,
|
|
7996
7989
|
fc,
|
|
@@ -7998,7 +7991,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7998
7991
|
e.lastClass,
|
|
7999
7992
|
m.value
|
|
8000
7993
|
);
|
|
8001
|
-
k.push(
|
|
7994
|
+
k.push(U);
|
|
8002
7995
|
}
|
|
8003
7996
|
return ue(
|
|
8004
7997
|
"ul",
|
|
@@ -8762,15 +8755,15 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8762
8755
|
}
|
|
8763
8756
|
l("filtered", F);
|
|
8764
8757
|
};
|
|
8765
|
-
const j = (F, R,
|
|
8766
|
-
me(F, R,
|
|
8767
|
-
}, K = (F, R,
|
|
8768
|
-
l("head-clicked", F, R,
|
|
8769
|
-
},
|
|
8758
|
+
const j = (F, R, W) => {
|
|
8759
|
+
me(F, R, W.shiftKey, W.ctrlKey, W.metaKey), l("row-clicked", F, R, W);
|
|
8760
|
+
}, K = (F, R, W, ne = !1) => {
|
|
8761
|
+
l("head-clicked", F, R, W, ne), U(R);
|
|
8762
|
+
}, U = (F) => {
|
|
8770
8763
|
if (!_.value)
|
|
8771
8764
|
return;
|
|
8772
|
-
const R = typeof F == "string" ? F : F.key,
|
|
8773
|
-
if (_.value === !0 &&
|
|
8765
|
+
const R = typeof F == "string" ? F : F.key, W = typeof F == "string" ? !1 : F.sortable;
|
|
8766
|
+
if (_.value === !0 && W === !0) {
|
|
8774
8767
|
const ne = !p.value;
|
|
8775
8768
|
o.value = R, s.value = ne, l("sorted", R, ne);
|
|
8776
8769
|
}
|
|
@@ -8787,15 +8780,15 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8787
8780
|
perPage: a.perPage
|
|
8788
8781
|
},
|
|
8789
8782
|
{
|
|
8790
|
-
get: (
|
|
8783
|
+
get: (W, ne) => ne in W ? W[ne] : void 0,
|
|
8791
8784
|
set: () => (console.error("BTable provider context is a read-only object."), !0)
|
|
8792
8785
|
}
|
|
8793
8786
|
), R = a.provider(F, N);
|
|
8794
8787
|
if (R !== void 0) {
|
|
8795
8788
|
if (R instanceof Promise)
|
|
8796
8789
|
try {
|
|
8797
|
-
const
|
|
8798
|
-
return Array.isArray(
|
|
8790
|
+
const W = await R;
|
|
8791
|
+
return Array.isArray(W) ? await N(W) : void 0;
|
|
8799
8792
|
} finally {
|
|
8800
8793
|
v.value && (n.value = !1);
|
|
8801
8794
|
}
|
|
@@ -8810,14 +8803,14 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8810
8803
|
"b-table-sortable-column": _.value && F.sortable
|
|
8811
8804
|
}
|
|
8812
8805
|
], pe = (F, R) => {
|
|
8813
|
-
const
|
|
8806
|
+
const W = [
|
|
8814
8807
|
y.value && F && T.value.has(F) ? `selected table-${a.selectionVariant}` : null
|
|
8815
8808
|
];
|
|
8816
8809
|
if (a.tbodyTrClass) {
|
|
8817
8810
|
const ne = a.tbodyTrClass(F, R);
|
|
8818
|
-
ne &&
|
|
8811
|
+
ne && W.push(...typeof ne == "string" ? [ne] : ne);
|
|
8819
8812
|
}
|
|
8820
|
-
return
|
|
8813
|
+
return W;
|
|
8821
8814
|
}, Q = () => {
|
|
8822
8815
|
const F = [{ "b-table-static-busy": L.value.length === 0 }];
|
|
8823
8816
|
if (a.tbodyTrClass) {
|
|
@@ -8827,9 +8820,9 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8827
8820
|
return F;
|
|
8828
8821
|
}, le = () => {
|
|
8829
8822
|
y.value && l("selection", Array.from(T.value));
|
|
8830
|
-
}, me = (F, R,
|
|
8823
|
+
}, me = (F, R, W = !1, ne = !1, _e = !1) => {
|
|
8831
8824
|
if (y.value) {
|
|
8832
|
-
if (
|
|
8825
|
+
if (W && a.selectMode === "range" && T.value.size > 0) {
|
|
8833
8826
|
const ke = Array.from(T.value).pop(), X = a.items.findIndex((We) => We === ke), de = Math.min(X, R), Me = Math.max(X, R);
|
|
8834
8827
|
a.items.slice(de, Me + 1).forEach((We) => {
|
|
8835
8828
|
T.value.has(We) || (T.value.add(We), l("row-selected", We));
|
|
@@ -8863,8 +8856,8 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8863
8856
|
return;
|
|
8864
8857
|
const R = a.items[F];
|
|
8865
8858
|
!R || !T.value.has(R) || (T.value.delete(R), l("row-unselected", R), le());
|
|
8866
|
-
}, G = async (F, R,
|
|
8867
|
-
if (R ===
|
|
8859
|
+
}, G = async (F, R, W) => {
|
|
8860
|
+
if (R === W)
|
|
8868
8861
|
return;
|
|
8869
8862
|
const ne = (Me) => a.noProvider && a.noProvider.includes(Me), _e = !["currentPage", "perPage"].includes(F), ke = ["currentPage", "perPage"].includes(F) && (ne("paging") || m.value === !0), X = ["filter"].includes(F) && (ne("filtering") || B.value === !0), de = ["sortBy", "sortDesc"].includes(F) && (ne("sorting") || S.value === !0);
|
|
8870
8863
|
ke || X || de || (await ie(), _e && E());
|
|
@@ -8900,7 +8893,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8900
8893
|
ref: i
|
|
8901
8894
|
}, a, {
|
|
8902
8895
|
busy: w(n),
|
|
8903
|
-
"onUpdate:busy": R[0] || (R[0] = (
|
|
8896
|
+
"onUpdate:busy": R[0] || (R[0] = (W) => xa(n) ? n.value = W : null),
|
|
8904
8897
|
items: w(f),
|
|
8905
8898
|
"table-classes": k.value,
|
|
8906
8899
|
"tbody-tr-class": pe,
|
|
@@ -8909,19 +8902,19 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8909
8902
|
onHeadClicked: K,
|
|
8910
8903
|
onRowClicked: j
|
|
8911
8904
|
}), ja({
|
|
8912
|
-
"field-prefix": D((
|
|
8905
|
+
"field-prefix": D((W) => [
|
|
8913
8906
|
O(F.$slots, "sort-icon", {
|
|
8914
|
-
field:
|
|
8907
|
+
field: W.field,
|
|
8915
8908
|
sortBy: w(o),
|
|
8916
|
-
selected:
|
|
8909
|
+
selected: W.field.key === w(o),
|
|
8917
8910
|
isDesc: w(p),
|
|
8918
8911
|
direction: w(p) ? "desc" : "asc"
|
|
8919
8912
|
}, () => [
|
|
8920
|
-
_.value &&
|
|
8913
|
+
_.value && W.field.sortable ? (g(), P("span", {
|
|
8921
8914
|
key: 0,
|
|
8922
8915
|
class: z(["b-table-sort-icon", {
|
|
8923
|
-
sorted:
|
|
8924
|
-
[`sorted-${w(p) ? "desc" : "asc"}`]:
|
|
8916
|
+
sorted: W.field.key === w(o),
|
|
8917
|
+
[`sorted-${w(p) ? "desc" : "asc"}`]: W.field.key === w(o)
|
|
8925
8918
|
}])
|
|
8926
8919
|
}, null, 2)) : J("", !0)
|
|
8927
8920
|
])
|
|
@@ -8938,7 +8931,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8938
8931
|
])
|
|
8939
8932
|
], 2)) : J("", !0)
|
|
8940
8933
|
]),
|
|
8941
|
-
"tbody-tr-prefix": D((
|
|
8934
|
+
"tbody-tr-prefix": D((W) => [
|
|
8942
8935
|
V.value ? (g(), P("td", {
|
|
8943
8936
|
key: 0,
|
|
8944
8937
|
class: z(["b-table-selection-column", {
|
|
@@ -8947,18 +8940,18 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8947
8940
|
}, [
|
|
8948
8941
|
O(F.$slots, "select-cell", {}, () => [
|
|
8949
8942
|
Z("span", {
|
|
8950
|
-
class: z(["b-table-selection-icon", T.value.has(
|
|
8943
|
+
class: z(["b-table-selection-icon", T.value.has(W.item) ? `text-${a.selectionVariant} selected` : ""])
|
|
8951
8944
|
}, "🗹", 2)
|
|
8952
8945
|
])
|
|
8953
8946
|
], 2)) : J("", !0)
|
|
8954
8947
|
]),
|
|
8955
|
-
"tbody-prefix": D((
|
|
8948
|
+
"tbody-prefix": D((W) => [
|
|
8956
8949
|
w(v) ? (g(), P("tr", {
|
|
8957
8950
|
key: 0,
|
|
8958
8951
|
class: z(["b-table-busy-slot", Q()])
|
|
8959
8952
|
}, [
|
|
8960
8953
|
Z("td", {
|
|
8961
|
-
colspan:
|
|
8954
|
+
colspan: W.fieldsTotal
|
|
8962
8955
|
}, [
|
|
8963
8956
|
O(F.$slots, "table-busy", {}, () => [
|
|
8964
8957
|
Z("div", qc, [
|
|
@@ -8971,7 +8964,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8971
8964
|
]),
|
|
8972
8965
|
_: 2
|
|
8973
8966
|
}, [
|
|
8974
|
-
be(F.$slots, (
|
|
8967
|
+
be(F.$slots, (W, ne) => ({
|
|
8975
8968
|
name: ne,
|
|
8976
8969
|
fn: D((_e) => [
|
|
8977
8970
|
O(F.$slots, ne, xe(pt(_e)))
|
|
@@ -9286,9 +9279,9 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9286
9279
|
key: 0,
|
|
9287
9280
|
class: z(["tab-content", f.contentClass])
|
|
9288
9281
|
}, [
|
|
9289
|
-
(g(!0), P(ce, null, be(C.value, ({ tabComponent: I, contentId: E, tabClasses: j, active: K },
|
|
9282
|
+
(g(!0), P(ce, null, be(C.value, ({ tabComponent: I, contentId: E, tabClasses: j, active: K }, U) => (g(), M(ae(I()), {
|
|
9290
9283
|
id: E,
|
|
9291
|
-
key:
|
|
9284
|
+
key: U,
|
|
9292
9285
|
class: z(j),
|
|
9293
9286
|
active: K
|
|
9294
9287
|
}, null, 8, ["id", "class", "active"]))), 128)),
|
|
@@ -9307,7 +9300,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9307
9300
|
role: "tablist"
|
|
9308
9301
|
}, [
|
|
9309
9302
|
O(f.$slots, "tabs-start"),
|
|
9310
|
-
(g(!0), P(ce, null, be(C.value, ({ tab: I, buttonId: E, contentId: j, navItemClasses: K, active:
|
|
9303
|
+
(g(!0), P(ce, null, be(C.value, ({ tab: I, buttonId: E, contentId: j, navItemClasses: K, active: U, target: ie }, ee) => {
|
|
9311
9304
|
var pe, Q, le;
|
|
9312
9305
|
return g(), P("li", {
|
|
9313
9306
|
key: ee,
|
|
@@ -9321,7 +9314,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9321
9314
|
"data-bs-target": ie,
|
|
9322
9315
|
role: "tab",
|
|
9323
9316
|
"aria-controls": j,
|
|
9324
|
-
"aria-selected":
|
|
9317
|
+
"aria-selected": U
|
|
9325
9318
|
}, (Q = I == null ? void 0 : I.props) == null ? void 0 : Q["title-link-attributes"], {
|
|
9326
9319
|
onClick: Da((me) => L(me, ee), ["stop", "prevent"])
|
|
9327
9320
|
}), [
|
|
@@ -9338,9 +9331,9 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9338
9331
|
key: 1,
|
|
9339
9332
|
class: z(["tab-content", f.contentClass])
|
|
9340
9333
|
}, [
|
|
9341
|
-
(g(!0), P(ce, null, be(C.value, ({ tabComponent: I, contentId: E, tabClasses: j, active: K },
|
|
9334
|
+
(g(!0), P(ce, null, be(C.value, ({ tabComponent: I, contentId: E, tabClasses: j, active: K }, U) => (g(), M(ae(I()), {
|
|
9342
9335
|
id: E,
|
|
9343
|
-
key:
|
|
9336
|
+
key: U,
|
|
9344
9337
|
class: z(j),
|
|
9345
9338
|
active: K
|
|
9346
9339
|
}, null, 8, ["id", "class", "active"]))), 128)),
|