bootstrap-vue-next 0.10.8 → 0.10.10
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 +422 -389
- 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/BAvatar/BAvatar.vue.d.ts +2 -2
- package/dist/src/components/BBadge/BBadge.vue.d.ts +2 -2
- package/dist/src/components/BBreadcrumb/BBreadcrumbItem.vue.d.ts +2 -2
- package/dist/src/components/BButton/BButton.vue.d.ts +2 -2
- package/dist/src/components/BCarousel/BCarouselSlide.vue.d.ts +9 -0
- package/dist/src/components/BDropdown/BDropdownItem.vue.d.ts +122 -15
- package/dist/src/components/BLink/BLink.vue.d.ts +3 -3
- package/dist/src/components/BNav/BNavItem.vue.d.ts +2 -2
- package/dist/src/components/BNavbar/BNavbarBrand.vue.d.ts +2 -2
- package/dist/src/components/BToast/BToast.vue.d.ts +2 -2
- package/package.json +1 -1
- package/src/components/BAvatar/BAvatar.vue +1 -1
- package/src/components/BBadge/BBadge.vue +1 -1
- package/src/components/BBreadcrumb/BBreadcrumbItem.vue +1 -1
- package/src/components/BButton/BButton.vue +1 -1
- package/src/components/BCarousel/BCarouselSlide.vue +3 -0
- package/src/components/BDropdown/BDropdownItem.vue +64 -29
- package/src/components/BLink/BLink.vue +3 -3
- package/src/components/BNav/BNavItem.vue +2 -2
- package/src/components/BNavbar/BNavbarBrand.vue +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var jn = Object.defineProperty;
|
|
2
2
|
var qn = (e, t, l) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l;
|
|
3
3
|
var Ve = (e, t, l) => (qn(e, typeof t != "symbol" ? t + "" : t, l), l);
|
|
4
|
-
import { unref as w, computed as u, ref as x, shallowRef as Ha, watch as se, getCurrentScope as
|
|
5
|
-
const ts = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false",
|
|
4
|
+
import { unref as w, computed as u, ref as x, shallowRef as Ha, watch as se, getCurrentScope as io, onScopeDispose as uo, shallowReadonly as yt, watchEffect as Ht, readonly as Ee, effectScope as co, isRef as xa, toRef as Se, customRef as Gn, getCurrentInstance as da, onMounted as Re, nextTick as Ce, reactive as _t, defineComponent as H, h as ue, Teleport as Ra, toValue as it, onActivated as Wn, onBeforeUnmount as fo, openBlock as g, createElementBlock as P, Fragment as ce, createElementVNode as Z, renderSlot as O, createVNode as ye, withCtx as D, mergeProps as te, normalizeClass as z, normalizeStyle as He, createTextVNode as re, toDisplayString as Y, createCommentVNode as J, createApp as Un, provide as Ge, createBlock as M, resolveDynamicComponent as ae, inject as Ae, Transition as Xn, normalizeProps as xe, guardReactiveProps as mt, useSlots as Pe, useAttrs as vo, renderList as be, TransitionGroup as Kn, withDirectives as ut, vShow as ca, isReactive as Yn, onUnmounted as Jn, withModifiers as Ma, vModelCheckbox as Zn, vModelRadio as Qn, vModelSelect as es, createSlots as Da } from "vue";
|
|
5
|
+
const ts = (e) => typeof e == "boolean" || e === "" || e === "true" || e === "false", ja = (e) => typeof e == "boolean" ? e : e === "" || e === "true";
|
|
6
6
|
class Ke {
|
|
7
7
|
constructor(t, l = {}) {
|
|
8
8
|
Ve(this, "cancelable", !0);
|
|
@@ -51,7 +51,7 @@ class Ke {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
class
|
|
54
|
+
class xt extends Ke {
|
|
55
55
|
constructor(l, a = {}) {
|
|
56
56
|
super(l, a);
|
|
57
57
|
Ve(this, "trigger", null);
|
|
@@ -80,7 +80,7 @@ class po extends Ke {
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
const Sa = (e) => e !== null && typeof e == "object", as = (e) => /^[0-9]*\.?[0-9]+$/.test(String(e)), ls = (e) => Object.prototype.toString.call(e) === "[object Object]", mo = /_/g, go = /([a-z])([A-Z])/g, os = /(\s|^)(\w)/g, ns = /(\s|^)(\w)/, Yt = /\s+/, ss = /^#/, rs = /^#[A-Za-z]+[\w\-:.]*$/, is = /-u-.+/, us = /[-/\\^$*+?.()|[\]{}]/g, ds = /[\s\uFEFF\xA0]+/g, ea = (e, t = 2) => typeof e == "string" ? e : e == null ? "" : Array.isArray(e) || ls(e) && e.toString === Object.prototype.toString ? JSON.stringify(e, null, t) : String(e),
|
|
83
|
+
const Sa = (e) => e !== null && typeof e == "object", as = (e) => /^[0-9]*\.?[0-9]+$/.test(String(e)), ls = (e) => Object.prototype.toString.call(e) === "[object Object]", mo = /_/g, go = /([a-z])([A-Z])/g, os = /(\s|^)(\w)/g, ns = /(\s|^)(\w)/, Yt = /\s+/, ss = /^#/, rs = /^#[A-Za-z]+[\w\-:.]*$/, is = /-u-.+/, us = /[-/\\^$*+?.()|[\]{}]/g, ds = /[\s\uFEFF\xA0]+/g, ea = (e, t = 2) => typeof e == "string" ? e : e == null ? "" : Array.isArray(e) || ls(e) && e.toString === Object.prototype.toString ? JSON.stringify(e, null, t) : String(e), cl = (e) => e.replace(mo, " ").replace(go, (t, l, a) => `${l} ${a}`).replace(ns, (t, l, a) => l + a.toUpperCase()), fl = (e) => e.replace(mo, " ").replace(go, (t, l, a) => `${l} ${a}`).replace(os, (t, l, a) => l + a.toUpperCase()), cs = (e) => {
|
|
84
84
|
const t = e.trim();
|
|
85
85
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
86
86
|
}, fs = (e) => e.replace(us, "\\$&"), vs = (e) => fs(e).replace(ds, "\\s"), ba = (e) => `\\${e}`, ps = (e) => {
|
|
@@ -109,7 +109,7 @@ const Sa = (e) => e !== null && typeof e == "object", as = (e) => /^[0-9]*\.?[0-
|
|
|
109
109
|
)
|
|
110
110
|
);
|
|
111
111
|
}, "");
|
|
112
|
-
}, yo = typeof window < "u", bo = typeof document < "u", ms = typeof Element < "u", gs = typeof navigator < "u", ys = yo && bo && gs,
|
|
112
|
+
}, yo = typeof window < "u", bo = typeof document < "u", ms = typeof Element < "u", gs = typeof navigator < "u", ys = yo && bo && gs, vl = yo ? window : {}, qa = bo ? document : {};
|
|
113
113
|
(() => {
|
|
114
114
|
let e = !1;
|
|
115
115
|
if (ys)
|
|
@@ -121,15 +121,15 @@ const Sa = (e) => e !== null && typeof e == "object", as = (e) => /^[0-9]*\.?[0-
|
|
|
121
121
|
return e = !0, e;
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
vl.addEventListener("test", t, t), vl.removeEventListener("test", t, t);
|
|
125
125
|
} catch {
|
|
126
126
|
e = !1;
|
|
127
127
|
}
|
|
128
128
|
return e;
|
|
129
129
|
})();
|
|
130
|
-
const
|
|
130
|
+
const Ga = typeof window < "u", bs = typeof document < "u", hs = typeof navigator < "u", Wa = Ga && bs && hs, pl = Ga ? window : {}, Bs = (() => {
|
|
131
131
|
let e = !1;
|
|
132
|
-
if (
|
|
132
|
+
if (Wa)
|
|
133
133
|
try {
|
|
134
134
|
const t = {
|
|
135
135
|
// This function will be called when the browser
|
|
@@ -138,7 +138,7 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
138
138
|
e = !0;
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
pl.addEventListener("test", t, t), pl.removeEventListener("test", t, t);
|
|
142
142
|
} catch {
|
|
143
143
|
e = !1;
|
|
144
144
|
}
|
|
@@ -158,11 +158,11 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
158
158
|
return !1;
|
|
159
159
|
const t = ws(e);
|
|
160
160
|
return !!(t && t.height > 0 && t.width > 0);
|
|
161
|
-
}, Oe = (e) => ((e == null ? void 0 : e()) ?? []).length === 0, ho = (e, t) => (Ze(t) ? t :
|
|
161
|
+
}, Oe = (e) => ((e == null ? void 0 : e()) ?? []).length === 0, ho = (e, t) => (Ze(t) ? t : qa).querySelector(e) || null, Vs = (e, t) => Array.from([(Ze(t) ? t : qa).querySelectorAll(e)]), Ua = (e, t) => t && Ze(e) ? e.getAttribute(t) : null, Os = (e) => qa.getElementById(/^#/.test(e) ? e.slice(1) : e) || null, As = (e, t, l) => {
|
|
162
162
|
t && Ze(e) && e.setAttribute(t, l);
|
|
163
163
|
}, Ps = (e, t) => {
|
|
164
164
|
t && Ze(e) && e.removeAttribute(t);
|
|
165
|
-
}, Es = (e, t) => ea(e).toLowerCase() === ea(t).toLowerCase(), qt =
|
|
165
|
+
}, Es = (e, t) => ea(e).toLowerCase() === ea(t).toLowerCase(), qt = Ga ? window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || // Fallback, but not a true polyfill
|
|
166
166
|
// Only needed for Opera Mini
|
|
167
167
|
((e) => setTimeout(e, 16)) : (e) => setTimeout(e, 0), Bo = (e, t) => Ze(e) ? Ss.call(e, t) : !1, Fs = (Le == null ? void 0 : Le.closest) || function(e) {
|
|
168
168
|
let t = this;
|
|
@@ -174,7 +174,7 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
174
174
|
t = t.parentElement || t.parentNode;
|
|
175
175
|
} while (t !== null && t.nodeType === Node.ELEMENT_NODE);
|
|
176
176
|
return null;
|
|
177
|
-
},
|
|
177
|
+
}, ml = (e, t, l = !1) => {
|
|
178
178
|
if (!Ze(t))
|
|
179
179
|
return null;
|
|
180
180
|
const a = Fs.call(t, e);
|
|
@@ -184,7 +184,7 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
184
184
|
return o + n;
|
|
185
185
|
}, fa = (e, t, l) => t.concat(["sm", "md", "lg", "xl", "xxl"]).reduce((a, o) => (a[e ? `${e}${o.charAt(0).toUpperCase() + o.slice(1)}` : o] = l, a), /* @__PURE__ */ Object.create(null)), So = (e, t, l, a = l) => Object.keys(t).reduce((o, n) => (e[n] && o.push(
|
|
186
186
|
[a, n.replace(l, ""), e[n]].filter((s) => s && typeof s != "boolean").join("-").toLowerCase()
|
|
187
|
-
), o), []), lt = (e = "") => `__BVID__${Math.random().toString().slice(2, 8)}___BV_${e}__`,
|
|
187
|
+
), o), []), lt = (e = "") => `__BVID__${Math.random().toString().slice(2, 8)}___BV_${e}__`, ct = (e) => !!(e.href || e.to), ze = (e, t = {}, l = {}) => {
|
|
188
188
|
const a = [e];
|
|
189
189
|
let o;
|
|
190
190
|
for (let n = 0; n < a.length && !o; n++) {
|
|
@@ -198,10 +198,10 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
198
198
|
}, Jt = (e, t = NaN) => {
|
|
199
199
|
const l = Number.parseFloat(e.toString());
|
|
200
200
|
return Number.isNaN(l) ? t : l;
|
|
201
|
-
}, wo = (e, t) => Object.keys(e).filter((l) => !t.map((a) => a.toString()).includes(l)).reduce((l, a) => ({ ...l, [a]: e[a] }), {}),
|
|
201
|
+
}, wo = (e, t) => Object.keys(e).filter((l) => !t.map((a) => a.toString()).includes(l)).reduce((l, a) => ({ ...l, [a]: e[a] }), {}), At = (e, t) => [...t].reduce(
|
|
202
202
|
(l, a) => (l[a] = e[a], l),
|
|
203
203
|
{}
|
|
204
|
-
),
|
|
204
|
+
), gl = (e, t, l) => {
|
|
205
205
|
const a = t.split(/[.[\]]/g);
|
|
206
206
|
let o = e;
|
|
207
207
|
for (const n of a) {
|
|
@@ -210,25 +210,25 @@ const Wa = typeof window < "u", bs = typeof document < "u", hs = typeof navigato
|
|
|
210
210
|
n.trim() !== "" && (o = o[n]);
|
|
211
211
|
}
|
|
212
212
|
return o === void 0 ? l : o;
|
|
213
|
-
},
|
|
213
|
+
}, yl = (e, t) => t + (e ? cs(e) : ""), va = (e, t) => e === !0 || e === "true" || e === "" ? "true" : e === "grammar" || e === "spelling" ? e : t === !1 ? "true" : e === !1 || e === "false" ? "false" : void 0, $o = Symbol("carousel"), Co = Symbol("tabs"), _o = Symbol("progress"), ko = Symbol("listGroup"), To = Symbol("avatarGroup"), Vo = Symbol("accordion"), Oo = Symbol("checkboxGroup"), Ao = Symbol("radioGroup"), Xa = Symbol("collapse"), Po = Symbol("collapse"), Ka = Symbol("navbar"), $a = (e, t) => ((e == null ? void 0 : e()) ?? []).reduce((l, a) => (typeof a.type == "symbol" ? l = l.concat(a.children) : l.push(a), l), []).filter((l) => {
|
|
214
214
|
var a;
|
|
215
215
|
return ((a = l.type) == null ? void 0 : a.__name) === t;
|
|
216
216
|
});
|
|
217
217
|
function Xe(e) {
|
|
218
218
|
return e.split("-")[1];
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Ya(e) {
|
|
221
221
|
return e === "y" ? "height" : "width";
|
|
222
222
|
}
|
|
223
223
|
function De(e) {
|
|
224
224
|
return e.split("-")[0];
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Pt(e) {
|
|
227
227
|
return ["top", "bottom"].includes(De(e)) ? "x" : "y";
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function bl(e, t, l) {
|
|
230
230
|
let { reference: a, floating: o } = e;
|
|
231
|
-
const n = a.x + a.width / 2 - o.width / 2, s = a.y + a.height / 2 - o.height / 2, r =
|
|
231
|
+
const n = a.x + a.width / 2 - o.width / 2, s = a.y + a.height / 2 - o.height / 2, r = Pt(t), i = Ya(r), p = a[i] / 2 - o[i] / 2, h = r === "x";
|
|
232
232
|
let v;
|
|
233
233
|
switch (De(t)) {
|
|
234
234
|
case "top":
|
|
@@ -257,17 +257,17 @@ function hl(e, t, l) {
|
|
|
257
257
|
}
|
|
258
258
|
const Ls = async (e, t, l) => {
|
|
259
259
|
const { placement: a = "bottom", strategy: o = "absolute", middleware: n = [], platform: s } = l, r = n.filter(Boolean), i = await (s.isRTL == null ? void 0 : s.isRTL(t));
|
|
260
|
-
let p = await s.getElementRects({ reference: e, floating: t, strategy: o }), { x: h, y: v } =
|
|
260
|
+
let p = await s.getElementRects({ reference: e, floating: t, strategy: o }), { x: h, y: v } = bl(p, a, i), m = a, S = {}, B = 0;
|
|
261
261
|
for (let y = 0; y < r.length; y++) {
|
|
262
262
|
const { name: A, fn: b } = r[y], { x: T, y: C, data: _, reset: $ } = await b({ x: h, y: v, initialPlacement: a, placement: m, strategy: o, middlewareData: S, rects: p, platform: s, elements: { reference: e, floating: t } });
|
|
263
|
-
h = T ?? h, v = C ?? v, S = { ...S, [A]: { ...S[A], ..._ } }, $ && B <= 50 && (B++, typeof $ == "object" && ($.placement && (m = $.placement), $.rects && (p = $.rects === !0 ? await s.getElementRects({ reference: e, floating: t, strategy: o }) : $.rects), { x: h, y: v } =
|
|
263
|
+
h = T ?? h, v = C ?? v, S = { ...S, [A]: { ...S[A], ..._ } }, $ && B <= 50 && (B++, typeof $ == "object" && ($.placement && (m = $.placement), $.rects && (p = $.rects === !0 ? await s.getElementRects({ reference: e, floating: t, strategy: o }) : $.rects), { x: h, y: v } = bl(p, m, i)), y = -1);
|
|
264
264
|
}
|
|
265
265
|
return { x: h, y: v, placement: m, strategy: o, middlewareData: S };
|
|
266
266
|
};
|
|
267
267
|
function dt(e, t) {
|
|
268
268
|
return typeof e == "function" ? e(t) : e;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Ja(e) {
|
|
271
271
|
return typeof e != "number" ? function(t) {
|
|
272
272
|
return { top: 0, right: 0, bottom: 0, left: 0, ...t };
|
|
273
273
|
}(e) : { top: e, right: e, bottom: e, left: e };
|
|
@@ -275,10 +275,10 @@ function Za(e) {
|
|
|
275
275
|
function kt(e) {
|
|
276
276
|
return { ...e, top: e.y, left: e.x, right: e.x + e.width, bottom: e.y + e.height };
|
|
277
277
|
}
|
|
278
|
-
async function
|
|
278
|
+
async function Lt(e, t) {
|
|
279
279
|
var l;
|
|
280
280
|
t === void 0 && (t = {});
|
|
281
|
-
const { x: a, y: o, platform: n, rects: s, elements: r, strategy: i } = e, { boundary: p = "clippingAncestors", rootBoundary: h = "viewport", elementContext: v = "floating", altBoundary: m = !1, padding: S = 0 } = dt(t, e), B =
|
|
281
|
+
const { x: a, y: o, platform: n, rects: s, elements: r, strategy: i } = e, { boundary: p = "clippingAncestors", rootBoundary: h = "viewport", elementContext: v = "floating", altBoundary: m = !1, padding: S = 0 } = dt(t, e), B = Ja(S), y = r[m ? v === "floating" ? "reference" : "floating" : v], A = kt(await n.getClippingRect({ element: (l = await (n.isElement == null ? void 0 : n.isElement(y))) == null || l ? y : y.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(r.floating)), boundary: p, rootBoundary: h, strategy: i })), b = v === "floating" ? { ...s.floating, x: a, y: o } : s.reference, T = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(r.floating)), C = await (n.isElement == null ? void 0 : n.isElement(T)) && await (n.getScale == null ? void 0 : n.getScale(T)) || { x: 1, y: 1 }, _ = kt(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: b, offsetParent: T, strategy: i }) : b);
|
|
282
282
|
return { top: (A.top - _.top + B.top) / C.y, bottom: (_.bottom - A.bottom + B.bottom) / C.y, left: (A.left - _.left + B.left) / C.x, right: (_.right - A.right + B.right) / C.x };
|
|
283
283
|
}
|
|
284
284
|
const Tt = Math.min, ta = Math.max;
|
|
@@ -289,18 +289,18 @@ const Ns = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
|
289
289
|
const { x: l, y: a, placement: o, rects: n, platform: s, elements: r } = t, { element: i, padding: p = 0 } = dt(e, t) || {};
|
|
290
290
|
if (i == null)
|
|
291
291
|
return {};
|
|
292
|
-
const h =
|
|
292
|
+
const h = Ja(p), v = { x: l, y: a }, m = Pt(o), S = Ya(m), B = await s.getDimensions(i), y = m === "y", A = y ? "top" : "left", b = y ? "bottom" : "right", T = y ? "clientHeight" : "clientWidth", C = n.reference[S] + n.reference[m] - v[m] - n.floating[S], _ = v[m] - n.reference[m], $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(i));
|
|
293
293
|
let k = $ ? $[T] : 0;
|
|
294
294
|
k && await (s.isElement == null ? void 0 : s.isElement($)) || (k = r.floating[T] || n.floating[S]);
|
|
295
295
|
const c = C / 2 - _ / 2, V = k / 2 - B[S] / 2 - 1, L = Tt(h[A], V), f = Tt(h[b], V), N = L, I = k - B[S] - f, E = k / 2 - B[S] / 2 + c, j = Ca(N, E, I), K = Xe(o) != null && E != j && n.reference[S] / 2 - (E < N ? L : f) - B[S] / 2 < 0 ? E < N ? N - E : I - E : 0;
|
|
296
296
|
return { [m]: v[m] - K, data: { [m]: j, centerOffset: E - j + K } };
|
|
297
|
-
} }), Eo = ["top", "right", "bottom", "left"],
|
|
297
|
+
} }), Eo = ["top", "right", "bottom", "left"], hl = Eo.reduce((e, t) => e.concat(t, t + "-start", t + "-end"), []), zs = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
298
298
|
function aa(e) {
|
|
299
299
|
return e.replace(/left|right|bottom|top/g, (t) => zs[t]);
|
|
300
300
|
}
|
|
301
301
|
function Fo(e, t, l) {
|
|
302
302
|
l === void 0 && (l = !1);
|
|
303
|
-
const a = Xe(e), o =
|
|
303
|
+
const a = Xe(e), o = Pt(e), n = Ya(o);
|
|
304
304
|
let s = o === "x" ? a === (l ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
|
|
305
305
|
return t.reference[n] > t.floating[n] && (s = aa(s)), { main: s, cross: aa(s) };
|
|
306
306
|
}
|
|
@@ -311,9 +311,9 @@ function Zt(e) {
|
|
|
311
311
|
const xs = function(e) {
|
|
312
312
|
return e === void 0 && (e = {}), { name: "autoPlacement", options: e, async fn(t) {
|
|
313
313
|
var l, a, o;
|
|
314
|
-
const { rects: n, middlewareData: s, placement: r, platform: i, elements: p } = t, { crossAxis: h = !1, alignment: v, allowedPlacements: m =
|
|
314
|
+
const { rects: n, middlewareData: s, placement: r, platform: i, elements: p } = t, { crossAxis: h = !1, alignment: v, allowedPlacements: m = hl, autoAlignment: S = !0, ...B } = dt(e, t), y = v !== void 0 || m === hl ? function(f, N, I) {
|
|
315
315
|
return (f ? [...I.filter((E) => Xe(E) === f), ...I.filter((E) => Xe(E) !== f)] : I.filter((E) => De(E) === E)).filter((E) => !f || Xe(E) === f || !!N && Zt(E) !== E);
|
|
316
|
-
}(v || null, S, m) : m, A = await
|
|
316
|
+
}(v || null, S, m) : m, A = await Lt(t, B), b = ((l = s.autoPlacement) == null ? void 0 : l.index) || 0, T = y[b];
|
|
317
317
|
if (T == null)
|
|
318
318
|
return {};
|
|
319
319
|
const { main: C, cross: _ } = Fo(T, n, await (i.isRTL == null ? void 0 : i.isRTL(p.floating)));
|
|
@@ -352,7 +352,7 @@ const xs = function(e) {
|
|
|
352
352
|
}(De(N), E === "start", j);
|
|
353
353
|
return K && (U = U.map((ie) => ie + "-" + K), I && (U = U.concat(U.map(Zt)))), U;
|
|
354
354
|
}(s, B, S, T));
|
|
355
|
-
const _ = [s, ...C], $ = await
|
|
355
|
+
const _ = [s, ...C], $ = await Lt(t, y), k = [];
|
|
356
356
|
let c = ((l = o.flip) == null ? void 0 : l.overflows) || [];
|
|
357
357
|
if (p && k.push($[A]), h) {
|
|
358
358
|
const { main: N, cross: I } = Fo(a, n, T);
|
|
@@ -381,10 +381,10 @@ const xs = function(e) {
|
|
|
381
381
|
return {};
|
|
382
382
|
} };
|
|
383
383
|
};
|
|
384
|
-
function
|
|
384
|
+
function Bl(e, t) {
|
|
385
385
|
return { top: e.top - t.height, right: e.right - t.width, bottom: e.bottom - t.height, left: e.left - t.width };
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Sl(e) {
|
|
388
388
|
return Eo.some((t) => e[t] >= 0);
|
|
389
389
|
}
|
|
390
390
|
const Rs = function(e) {
|
|
@@ -392,19 +392,19 @@ const Rs = function(e) {
|
|
|
392
392
|
const { rects: l } = t, { strategy: a = "referenceHidden", ...o } = dt(e, t);
|
|
393
393
|
switch (a) {
|
|
394
394
|
case "referenceHidden": {
|
|
395
|
-
const n =
|
|
396
|
-
return { data: { referenceHiddenOffsets: n, referenceHidden:
|
|
395
|
+
const n = Bl(await Lt(t, { ...o, elementContext: "reference" }), l.reference);
|
|
396
|
+
return { data: { referenceHiddenOffsets: n, referenceHidden: Sl(n) } };
|
|
397
397
|
}
|
|
398
398
|
case "escaped": {
|
|
399
|
-
const n =
|
|
400
|
-
return { data: { escapedOffsets: n, escaped:
|
|
399
|
+
const n = Bl(await Lt(t, { ...o, altBoundary: !0 }), l.floating);
|
|
400
|
+
return { data: { escapedOffsets: n, escaped: Sl(n) } };
|
|
401
401
|
}
|
|
402
402
|
default:
|
|
403
403
|
return {};
|
|
404
404
|
}
|
|
405
405
|
} };
|
|
406
406
|
};
|
|
407
|
-
function
|
|
407
|
+
function wl(e) {
|
|
408
408
|
const t = Tt(...e.map((a) => a.left)), l = Tt(...e.map((a) => a.top));
|
|
409
409
|
return { x: t, y: l, width: ta(...e.map((a) => a.right)) - t, height: ta(...e.map((a) => a.bottom)) - l };
|
|
410
410
|
}
|
|
@@ -417,12 +417,12 @@ const Ms = function(e) {
|
|
|
417
417
|
const _ = A[C];
|
|
418
418
|
!T || _.y - T.y > T.height / 2 ? b.push([_]) : b[b.length - 1].push(_), T = _;
|
|
419
419
|
}
|
|
420
|
-
return b.map((C) => kt(
|
|
421
|
-
}(h), m = kt(
|
|
420
|
+
return b.map((C) => kt(wl(C)));
|
|
421
|
+
}(h), m = kt(wl(h)), S = Ja(r), B = await n.getElementRects({ reference: { getBoundingClientRect: function() {
|
|
422
422
|
if (v.length === 2 && v[0].left > v[1].right && i != null && p != null)
|
|
423
423
|
return v.find((y) => i > y.left - S.left && i < y.right + S.right && p > y.top - S.top && p < y.bottom + S.bottom) || m;
|
|
424
424
|
if (v.length >= 2) {
|
|
425
|
-
if (
|
|
425
|
+
if (Pt(l) === "x") {
|
|
426
426
|
const $ = v[0], k = v[v.length - 1], c = De(l) === "top", V = $.top, L = k.bottom, f = c ? $.left : k.left, N = c ? $.right : k.right;
|
|
427
427
|
return { top: V, bottom: L, left: f, right: N, width: N - f, height: L - V, x: f, y: V };
|
|
428
428
|
}
|
|
@@ -436,7 +436,7 @@ const Ms = function(e) {
|
|
|
436
436
|
}, Lo = function(e) {
|
|
437
437
|
return e === void 0 && (e = 0), { name: "offset", options: e, async fn(t) {
|
|
438
438
|
const { x: l, y: a } = t, o = await async function(n, s) {
|
|
439
|
-
const { placement: r, platform: i, elements: p } = n, h = await (i.isRTL == null ? void 0 : i.isRTL(p.floating)), v = De(r), m = Xe(r), S =
|
|
439
|
+
const { placement: r, platform: i, elements: p } = n, h = await (i.isRTL == null ? void 0 : i.isRTL(p.floating)), v = De(r), m = Xe(r), S = Pt(r) === "x", B = ["left", "top"].includes(v) ? -1 : 1, y = h && S ? -1 : 1, A = dt(s, n);
|
|
440
440
|
let { mainAxis: b, crossAxis: T, alignmentAxis: C } = typeof A == "number" ? { mainAxis: A, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...A };
|
|
441
441
|
return m && typeof C == "number" && (T = m === "end" ? -1 * C : C), S ? { x: T * y, y: b * B } : { x: b * B, y: T * y };
|
|
442
442
|
}(t, e);
|
|
@@ -451,7 +451,7 @@ const No = function(e) {
|
|
|
451
451
|
const { x: l, y: a, placement: o } = t, { mainAxis: n = !0, crossAxis: s = !1, limiter: r = { fn: (A) => {
|
|
452
452
|
let { x: b, y: T } = A;
|
|
453
453
|
return { x: b, y: T };
|
|
454
|
-
} }, ...i } = dt(e, t), p = { x: l, y: a }, h = await
|
|
454
|
+
} }, ...i } = dt(e, t), p = { x: l, y: a }, h = await Lt(t, i), v = Pt(De(o)), m = Ds(v);
|
|
455
455
|
let S = p[v], B = p[m];
|
|
456
456
|
if (n) {
|
|
457
457
|
const A = v === "y" ? "bottom" : "right";
|
|
@@ -481,10 +481,10 @@ function st(e) {
|
|
|
481
481
|
function je(e) {
|
|
482
482
|
return e instanceof HTMLElement || e instanceof Fe(e).HTMLElement;
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function $l(e) {
|
|
485
485
|
return typeof ShadowRoot < "u" && (e instanceof Fe(e).ShadowRoot || e instanceof ShadowRoot);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Nt(e) {
|
|
488
488
|
const { overflow: t, overflowX: l, overflowY: a, display: o } = Ye(e);
|
|
489
489
|
return /auto|scroll|overlay|hidden|clip/.test(t + a + l) && !["inline", "contents"].includes(o);
|
|
490
490
|
}
|
|
@@ -492,16 +492,16 @@ function js(e) {
|
|
|
492
492
|
return ["table", "td", "th"].includes(st(e));
|
|
493
493
|
}
|
|
494
494
|
function _a(e) {
|
|
495
|
-
const t =
|
|
495
|
+
const t = Za(), l = Ye(e);
|
|
496
496
|
return l.transform !== "none" || l.perspective !== "none" || !!l.containerType && l.containerType !== "normal" || !t && !!l.backdropFilter && l.backdropFilter !== "none" || !t && !!l.filter && l.filter !== "none" || ["transform", "perspective", "filter"].some((a) => (l.willChange || "").includes(a)) || ["paint", "layout", "strict", "content"].some((a) => (l.contain || "").includes(a));
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Za() {
|
|
499
499
|
return !(typeof CSS > "u" || !CSS.supports) && CSS.supports("-webkit-backdrop-filter", "none");
|
|
500
500
|
}
|
|
501
501
|
function pa(e) {
|
|
502
502
|
return ["html", "body", "#document"].includes(st(e));
|
|
503
503
|
}
|
|
504
|
-
const ka = Math.min,
|
|
504
|
+
const ka = Math.min, wt = Math.max, la = Math.round, Gt = Math.floor, rt = (e) => ({ x: e, y: e });
|
|
505
505
|
function Ho(e) {
|
|
506
506
|
const t = Ye(e);
|
|
507
507
|
let l = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
|
|
@@ -511,11 +511,11 @@ function Ho(e) {
|
|
|
511
511
|
function tt(e) {
|
|
512
512
|
return e instanceof Element || e instanceof Fe(e).Element;
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function Qa(e) {
|
|
515
515
|
return tt(e) ? e : e.contextElement;
|
|
516
516
|
}
|
|
517
|
-
function
|
|
518
|
-
const t =
|
|
517
|
+
function $t(e) {
|
|
518
|
+
const t = Qa(e);
|
|
519
519
|
if (!je(t))
|
|
520
520
|
return rt(1);
|
|
521
521
|
const l = t.getBoundingClientRect(), { width: a, height: o, $: n } = Ho(t);
|
|
@@ -525,13 +525,13 @@ function wt(e) {
|
|
|
525
525
|
const qs = rt(0);
|
|
526
526
|
function xo(e) {
|
|
527
527
|
const t = Fe(e);
|
|
528
|
-
return
|
|
528
|
+
return Za() && t.visualViewport ? { x: t.visualViewport.offsetLeft, y: t.visualViewport.offsetTop } : qs;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function ft(e, t, l, a) {
|
|
531
531
|
t === void 0 && (t = !1), l === void 0 && (l = !1);
|
|
532
|
-
const o = e.getBoundingClientRect(), n =
|
|
532
|
+
const o = e.getBoundingClientRect(), n = Qa(e);
|
|
533
533
|
let s = rt(1);
|
|
534
|
-
t && (a ? tt(a) && (s =
|
|
534
|
+
t && (a ? tt(a) && (s = $t(a)) : s = $t(e));
|
|
535
535
|
const r = function(m, S, B) {
|
|
536
536
|
return S === void 0 && (S = !1), !(!B || S && B !== Fe(m)) && S;
|
|
537
537
|
}(n, l, a) ? xo(n) : rt(0);
|
|
@@ -540,7 +540,7 @@ function ct(e, t, l, a) {
|
|
|
540
540
|
const m = Fe(n), S = a && tt(a) ? Fe(a) : a;
|
|
541
541
|
let B = m.frameElement;
|
|
542
542
|
for (; B && a && S !== m; ) {
|
|
543
|
-
const y =
|
|
543
|
+
const y = $t(B), A = B.getBoundingClientRect(), b = getComputedStyle(B), T = A.left + (B.clientLeft + parseFloat(b.paddingLeft)) * y.x, C = A.top + (B.clientTop + parseFloat(b.paddingTop)) * y.y;
|
|
544
544
|
i *= y.x, p *= y.y, h *= y.x, v *= y.y, i += T, p += C, B = Fe(B).frameElement;
|
|
545
545
|
}
|
|
546
546
|
}
|
|
@@ -554,25 +554,25 @@ function at(e) {
|
|
|
554
554
|
return (t = (zo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
555
555
|
}
|
|
556
556
|
function Ro(e) {
|
|
557
|
-
return
|
|
557
|
+
return ft(at(e)).left + ma(e).scrollLeft;
|
|
558
558
|
}
|
|
559
559
|
function Vt(e) {
|
|
560
560
|
if (st(e) === "html")
|
|
561
561
|
return e;
|
|
562
|
-
const t = e.assignedSlot || e.parentNode ||
|
|
563
|
-
return
|
|
562
|
+
const t = e.assignedSlot || e.parentNode || $l(e) && e.host || at(e);
|
|
563
|
+
return $l(t) ? t.host : t;
|
|
564
564
|
}
|
|
565
565
|
function Mo(e) {
|
|
566
566
|
const t = Vt(e);
|
|
567
|
-
return pa(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : je(t) &&
|
|
567
|
+
return pa(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : je(t) && Nt(t) ? t : Mo(t);
|
|
568
568
|
}
|
|
569
569
|
function oa(e, t) {
|
|
570
570
|
var l;
|
|
571
571
|
t === void 0 && (t = []);
|
|
572
572
|
const a = Mo(e), o = a === ((l = e.ownerDocument) == null ? void 0 : l.body), n = Fe(a);
|
|
573
|
-
return o ? t.concat(n, n.visualViewport || [],
|
|
573
|
+
return o ? t.concat(n, n.visualViewport || [], Nt(a) ? a : []) : t.concat(a, oa(a));
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function Cl(e, t, l) {
|
|
576
576
|
let a;
|
|
577
577
|
if (t === "viewport")
|
|
578
578
|
a = function(o, n) {
|
|
@@ -580,21 +580,21 @@ function _l(e, t, l) {
|
|
|
580
580
|
let p = r.clientWidth, h = r.clientHeight, v = 0, m = 0;
|
|
581
581
|
if (i) {
|
|
582
582
|
p = i.width, h = i.height;
|
|
583
|
-
const S =
|
|
583
|
+
const S = Za();
|
|
584
584
|
(!S || S && n === "fixed") && (v = i.offsetLeft, m = i.offsetTop);
|
|
585
585
|
}
|
|
586
586
|
return { width: p, height: h, x: v, y: m };
|
|
587
587
|
}(e, l);
|
|
588
588
|
else if (t === "document")
|
|
589
589
|
a = function(o) {
|
|
590
|
-
const n = at(o), s = ma(o), r = o.ownerDocument.body, i =
|
|
590
|
+
const n = at(o), s = ma(o), r = o.ownerDocument.body, i = wt(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), p = wt(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
|
|
591
591
|
let h = -s.scrollLeft + Ro(o);
|
|
592
592
|
const v = -s.scrollTop;
|
|
593
|
-
return Ye(r).direction === "rtl" && (h +=
|
|
593
|
+
return Ye(r).direction === "rtl" && (h += wt(n.clientWidth, r.clientWidth) - i), { width: i, height: p, x: h, y: v };
|
|
594
594
|
}(at(e));
|
|
595
595
|
else if (tt(t))
|
|
596
596
|
a = function(o, n) {
|
|
597
|
-
const s =
|
|
597
|
+
const s = ft(o, !0, n === "fixed"), r = s.top + o.clientTop, i = s.left + o.clientLeft, p = je(o) ? $t(o) : rt(1);
|
|
598
598
|
return { width: o.clientWidth * p.x, height: o.clientHeight * p.y, x: i * p.x, y: r * p.y };
|
|
599
599
|
}(t, l);
|
|
600
600
|
else {
|
|
@@ -608,27 +608,27 @@ function Do(e, t) {
|
|
|
608
608
|
return !(l === t || !tt(l) || pa(l)) && (Ye(l).position === "fixed" || Do(l, t));
|
|
609
609
|
}
|
|
610
610
|
function Gs(e, t, l) {
|
|
611
|
-
const a = je(t), o = at(t), n = l === "fixed", s =
|
|
611
|
+
const a = je(t), o = at(t), n = l === "fixed", s = ft(e, !0, n, t);
|
|
612
612
|
let r = { scrollLeft: 0, scrollTop: 0 };
|
|
613
613
|
const i = rt(0);
|
|
614
614
|
if (a || !a && !n)
|
|
615
|
-
if ((st(t) !== "body" ||
|
|
616
|
-
const p =
|
|
615
|
+
if ((st(t) !== "body" || Nt(o)) && (r = ma(t)), je(t)) {
|
|
616
|
+
const p = ft(t, !0, n, t);
|
|
617
617
|
i.x = p.x + t.clientLeft, i.y = p.y + t.clientTop;
|
|
618
618
|
} else
|
|
619
619
|
o && (i.x = Ro(o));
|
|
620
620
|
return { x: s.left + r.scrollLeft - i.x, y: s.top + r.scrollTop - i.y, width: s.width, height: s.height };
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function _l(e, t) {
|
|
623
623
|
return je(e) && Ye(e).position !== "fixed" ? t ? t(e) : e.offsetParent : null;
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function kl(e, t) {
|
|
626
626
|
const l = Fe(e);
|
|
627
627
|
if (!je(e))
|
|
628
628
|
return l;
|
|
629
|
-
let a =
|
|
629
|
+
let a = _l(e, t);
|
|
630
630
|
for (; a && js(a) && Ye(a).position === "static"; )
|
|
631
|
-
a =
|
|
631
|
+
a = _l(a, t);
|
|
632
632
|
return a && (st(a) === "html" || st(a) === "body" && Ye(a).position === "static" && !_a(a)) ? l : a || function(o) {
|
|
633
633
|
let n = Vt(o);
|
|
634
634
|
for (; je(n) && !pa(n); ) {
|
|
@@ -646,9 +646,9 @@ const Ws = { convertOffsetParentRelativeRectToViewportRelativeRect: function(e)
|
|
|
646
646
|
return t;
|
|
647
647
|
let s = { scrollLeft: 0, scrollTop: 0 }, r = rt(1);
|
|
648
648
|
const i = rt(0);
|
|
649
|
-
if ((o || !o && a !== "fixed") && ((st(l) !== "body" ||
|
|
650
|
-
const p =
|
|
651
|
-
r =
|
|
649
|
+
if ((o || !o && a !== "fixed") && ((st(l) !== "body" || Nt(n)) && (s = ma(l)), je(l))) {
|
|
650
|
+
const p = ft(l);
|
|
651
|
+
r = $t(l), i.x = p.x + l.clientLeft, i.y = p.y + l.clientTop;
|
|
652
652
|
}
|
|
653
653
|
return { width: t.width * r.x, height: t.height * r.y, x: t.x * r.x - s.scrollLeft * r.x + i.x, y: t.y * r.y - s.scrollTop * r.y + i.y };
|
|
654
654
|
}, getDocumentElement: at, getClippingRect: function(e) {
|
|
@@ -662,28 +662,28 @@ const Ws = { convertOffsetParentRelativeRectToViewportRelativeRect: function(e)
|
|
|
662
662
|
let B = S ? Vt(i) : i;
|
|
663
663
|
for (; tt(B) && !pa(B); ) {
|
|
664
664
|
const y = Ye(B), A = _a(B);
|
|
665
|
-
A || y.position !== "fixed" || (m = null), (S ? !A && !m : !A && y.position === "static" && m && ["absolute", "fixed"].includes(m.position) ||
|
|
665
|
+
A || y.position !== "fixed" || (m = null), (S ? !A && !m : !A && y.position === "static" && m && ["absolute", "fixed"].includes(m.position) || Nt(B) && !A && Do(i, B)) ? v = v.filter((b) => b !== B) : m = y, B = Vt(B);
|
|
666
666
|
}
|
|
667
667
|
return p.set(i, v), v;
|
|
668
668
|
}(t, this._c) : [].concat(l), a], s = n[0], r = n.reduce((i, p) => {
|
|
669
|
-
const h =
|
|
670
|
-
return i.top =
|
|
671
|
-
},
|
|
669
|
+
const h = Cl(t, p, o);
|
|
670
|
+
return i.top = wt(h.top, i.top), i.right = ka(h.right, i.right), i.bottom = ka(h.bottom, i.bottom), i.left = wt(h.left, i.left), i;
|
|
671
|
+
}, Cl(t, s, o));
|
|
672
672
|
return { width: r.right - r.left, height: r.bottom - r.top, x: r.left, y: r.top };
|
|
673
|
-
}, getOffsetParent:
|
|
673
|
+
}, getOffsetParent: kl, getElementRects: async function(e) {
|
|
674
674
|
let { reference: t, floating: l, strategy: a } = e;
|
|
675
|
-
const o = this.getOffsetParent ||
|
|
675
|
+
const o = this.getOffsetParent || kl, n = this.getDimensions;
|
|
676
676
|
return { reference: Gs(t, await o(l), a), floating: { x: 0, y: 0, ...await n(l) } };
|
|
677
677
|
}, getClientRects: function(e) {
|
|
678
678
|
return Array.from(e.getClientRects());
|
|
679
679
|
}, getDimensions: function(e) {
|
|
680
680
|
return Ho(e);
|
|
681
|
-
}, getScale:
|
|
681
|
+
}, getScale: $t, isElement: tt, isRTL: function(e) {
|
|
682
682
|
return getComputedStyle(e).direction === "rtl";
|
|
683
683
|
} };
|
|
684
684
|
function jo(e, t, l, a) {
|
|
685
685
|
a === void 0 && (a = {});
|
|
686
|
-
const { ancestorScroll: o = !0, ancestorResize: n = !0, elementResize: s = typeof ResizeObserver == "function", layoutShift: r = typeof IntersectionObserver == "function", animationFrame: i = !1 } = a, p =
|
|
686
|
+
const { ancestorScroll: o = !0, ancestorResize: n = !0, elementResize: s = typeof ResizeObserver == "function", layoutShift: r = typeof IntersectionObserver == "function", animationFrame: i = !1 } = a, p = Qa(e), h = o || n ? [...p ? oa(p) : [], ...oa(t)] : [];
|
|
687
687
|
h.forEach((A) => {
|
|
688
688
|
o && A.addEventListener("scroll", l, { passive: !0 }), n && A.addEventListener("resize", l);
|
|
689
689
|
});
|
|
@@ -698,7 +698,7 @@ function jo(e, t, l, a) {
|
|
|
698
698
|
const { left: L, top: f, width: N, height: I } = A.getBoundingClientRect();
|
|
699
699
|
if (c || b(), !N || !I)
|
|
700
700
|
return;
|
|
701
|
-
const E = { rootMargin: -Gt(f) + "px " + -Gt(_.clientWidth - (L + N)) + "px " + -Gt(_.clientHeight - (f + I)) + "px " + -Gt(L) + "px", threshold:
|
|
701
|
+
const E = { rootMargin: -Gt(f) + "px " + -Gt(_.clientWidth - (L + N)) + "px " + -Gt(_.clientHeight - (f + I)) + "px " + -Gt(L) + "px", threshold: wt(0, ka(1, V)) || 1 };
|
|
702
702
|
let j = !0;
|
|
703
703
|
function K(U) {
|
|
704
704
|
const ie = U[0].intersectionRatio;
|
|
@@ -726,9 +726,9 @@ function jo(e, t, l, a) {
|
|
|
726
726
|
B && B.observe(t);
|
|
727
727
|
})), l();
|
|
728
728
|
}), p && !i && B.observe(p), B.observe(t));
|
|
729
|
-
let y = i ?
|
|
729
|
+
let y = i ? ft(e) : null;
|
|
730
730
|
return i && function A() {
|
|
731
|
-
const b =
|
|
731
|
+
const b = ft(e);
|
|
732
732
|
!y || b.x === y.x && b.y === y.y && b.width === y.width && b.height === y.height || l(), y = b, m = requestAnimationFrame(A);
|
|
733
733
|
}(), l(), () => {
|
|
734
734
|
h.forEach((A) => {
|
|
@@ -760,7 +760,7 @@ function Xs(e) {
|
|
|
760
760
|
function qo(e) {
|
|
761
761
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Tl(e, t) {
|
|
764
764
|
const l = qo(e);
|
|
765
765
|
return Math.round(t * l) / l;
|
|
766
766
|
}
|
|
@@ -786,7 +786,7 @@ function Go(e, t, l) {
|
|
|
786
786
|
};
|
|
787
787
|
if (!h.value)
|
|
788
788
|
return c;
|
|
789
|
-
const V =
|
|
789
|
+
const V = Tl(h.value, v.value), L = Tl(h.value, m.value);
|
|
790
790
|
return i.value ? {
|
|
791
791
|
...c,
|
|
792
792
|
transform: "translate(" + V + "px, " + L + "px)",
|
|
@@ -831,13 +831,13 @@ function Go(e, t, l) {
|
|
|
831
831
|
flush: "sync"
|
|
832
832
|
}), se(o, k, {
|
|
833
833
|
flush: "sync"
|
|
834
|
-
}),
|
|
835
|
-
x:
|
|
836
|
-
y:
|
|
837
|
-
strategy:
|
|
838
|
-
placement:
|
|
839
|
-
middlewareData:
|
|
840
|
-
isPositioned:
|
|
834
|
+
}), io() && uo(_), {
|
|
835
|
+
x: yt(v),
|
|
836
|
+
y: yt(m),
|
|
837
|
+
strategy: yt(S),
|
|
838
|
+
placement: yt(B),
|
|
839
|
+
middlewareData: yt(y),
|
|
840
|
+
isPositioned: yt(A),
|
|
841
841
|
floatingStyles: b,
|
|
842
842
|
update: C
|
|
843
843
|
};
|
|
@@ -854,7 +854,7 @@ const Ks = /* @__PURE__ */ new Set([
|
|
|
854
854
|
]), Ys = /^aria-[\w-]*$/i, Js = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i, Zs = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, Qs = (e, t) => {
|
|
855
855
|
const l = e.nodeName.toLowerCase();
|
|
856
856
|
return t.includes(l) ? Ks.has(l) ? !!(Js.test(e.nodeValue || "") || Zs.test(e.nodeValue || "")) : !0 : t.filter((a) => a instanceof RegExp).some((a) => a.test(l));
|
|
857
|
-
},
|
|
857
|
+
}, Bt = {
|
|
858
858
|
// Global attributes allowed on any supplied element below.
|
|
859
859
|
"*": ["class", "dir", "id", "lang", "role", Ys],
|
|
860
860
|
a: ["target", "href", "title", "rel"],
|
|
@@ -886,7 +886,7 @@ const Ks = /* @__PURE__ */ new Set([
|
|
|
886
886
|
strong: [],
|
|
887
887
|
u: [],
|
|
888
888
|
ul: []
|
|
889
|
-
},
|
|
889
|
+
}, St = (e, t, l) => {
|
|
890
890
|
if (!e.length)
|
|
891
891
|
return e;
|
|
892
892
|
if (l && typeof l == "function")
|
|
@@ -904,29 +904,29 @@ const Ks = /* @__PURE__ */ new Set([
|
|
|
904
904
|
}
|
|
905
905
|
return o.body.innerHTML;
|
|
906
906
|
};
|
|
907
|
-
var er = Object.defineProperty, tr = Object.defineProperties, ar = Object.getOwnPropertyDescriptors,
|
|
907
|
+
var er = Object.defineProperty, tr = Object.defineProperties, ar = Object.getOwnPropertyDescriptors, Vl = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Ol = (e, t, l) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, nr = (e, t) => {
|
|
908
908
|
for (var l in t || (t = {}))
|
|
909
|
-
lr.call(t, l) &&
|
|
910
|
-
if (
|
|
911
|
-
for (var l of
|
|
912
|
-
or.call(t, l) &&
|
|
909
|
+
lr.call(t, l) && Ol(e, l, t[l]);
|
|
910
|
+
if (Vl)
|
|
911
|
+
for (var l of Vl(t))
|
|
912
|
+
or.call(t, l) && Ol(e, l, t[l]);
|
|
913
913
|
return e;
|
|
914
914
|
}, sr = (e, t) => tr(e, ar(t));
|
|
915
915
|
function Wo(e, t) {
|
|
916
916
|
var l;
|
|
917
917
|
const a = Ha();
|
|
918
|
-
return
|
|
918
|
+
return Ht(() => {
|
|
919
919
|
a.value = e();
|
|
920
920
|
}, sr(nr({}, t), {
|
|
921
921
|
flush: (l = t == null ? void 0 : t.flush) != null ? l : "sync"
|
|
922
922
|
})), Ee(a);
|
|
923
923
|
}
|
|
924
|
-
function
|
|
925
|
-
return
|
|
924
|
+
function vt(e) {
|
|
925
|
+
return io() ? (uo(e), !0) : !1;
|
|
926
926
|
}
|
|
927
927
|
function rr(e) {
|
|
928
928
|
let t = !1, l;
|
|
929
|
-
const a =
|
|
929
|
+
const a = co(!0);
|
|
930
930
|
return (...o) => (t || (l = a.run(() => e(...o)), t = !0), l);
|
|
931
931
|
}
|
|
932
932
|
function ir(e) {
|
|
@@ -934,12 +934,12 @@ function ir(e) {
|
|
|
934
934
|
const o = () => {
|
|
935
935
|
t -= 1, a && t <= 0 && (a.stop(), l = void 0, a = void 0);
|
|
936
936
|
};
|
|
937
|
-
return (...n) => (t += 1, l || (a =
|
|
937
|
+
return (...n) => (t += 1, l || (a = co(!0), l = a.run(() => e(...n))), vt(o), l);
|
|
938
938
|
}
|
|
939
939
|
function Je(e) {
|
|
940
940
|
return typeof e == "function" ? e() : w(e);
|
|
941
941
|
}
|
|
942
|
-
const na = typeof window < "u", ur = (e) => typeof e < "u",
|
|
942
|
+
const na = typeof window < "u", ur = (e) => typeof e < "u", pt = () => {
|
|
943
943
|
}, Va = /* @__PURE__ */ dr();
|
|
944
944
|
function dr() {
|
|
945
945
|
var e;
|
|
@@ -955,9 +955,9 @@ function Uo(e, t) {
|
|
|
955
955
|
}
|
|
956
956
|
const Xo = (e) => e();
|
|
957
957
|
function cr(e, t = {}) {
|
|
958
|
-
let l, a, o =
|
|
958
|
+
let l, a, o = pt;
|
|
959
959
|
const n = (r) => {
|
|
960
|
-
clearTimeout(r), o(), o =
|
|
960
|
+
clearTimeout(r), o(), o = pt;
|
|
961
961
|
};
|
|
962
962
|
return (r) => {
|
|
963
963
|
const i = Je(e), p = Je(t.maxWait);
|
|
@@ -983,11 +983,11 @@ function fr(e = Xo) {
|
|
|
983
983
|
};
|
|
984
984
|
return { isActive: Ee(t), pause: l, resume: a, eventFilter: o };
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function el(...e) {
|
|
987
987
|
if (e.length !== 1)
|
|
988
988
|
return Se(...e);
|
|
989
989
|
const t = e[0];
|
|
990
|
-
return typeof t == "function" ? Ee(Gn(() => ({ get: t, set:
|
|
990
|
+
return typeof t == "function" ? Ee(Gn(() => ({ get: t, set: pt }))) : x(t);
|
|
991
991
|
}
|
|
992
992
|
function vr(e, t = 200, l = {}) {
|
|
993
993
|
return Uo(
|
|
@@ -1026,9 +1026,9 @@ function Ko(e, t = 1e3, l = {}) {
|
|
|
1026
1026
|
const h = se(t, () => {
|
|
1027
1027
|
s.value && na && p();
|
|
1028
1028
|
});
|
|
1029
|
-
|
|
1029
|
+
vt(h);
|
|
1030
1030
|
}
|
|
1031
|
-
return
|
|
1031
|
+
return vt(i), {
|
|
1032
1032
|
isActive: s,
|
|
1033
1033
|
pause: i,
|
|
1034
1034
|
resume: p
|
|
@@ -1045,12 +1045,12 @@ function we(e, t = {}) {
|
|
|
1045
1045
|
return typeof n == "string" && (n = Number[l](n, a)), o && Number.isNaN(n) && (n = 0), n;
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
|
-
var
|
|
1048
|
+
var Al = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, br = (e, t) => {
|
|
1049
1049
|
var l = {};
|
|
1050
1050
|
for (var a in e)
|
|
1051
1051
|
gr.call(e, a) && t.indexOf(a) < 0 && (l[a] = e[a]);
|
|
1052
|
-
if (e != null &&
|
|
1053
|
-
for (var a of
|
|
1052
|
+
if (e != null && Al)
|
|
1053
|
+
for (var a of Al(e))
|
|
1054
1054
|
t.indexOf(a) < 0 && yr.call(e, a) && (l[a] = e[a]);
|
|
1055
1055
|
return l;
|
|
1056
1056
|
};
|
|
@@ -1069,12 +1069,12 @@ function hr(e, t, l = {}) {
|
|
|
1069
1069
|
n
|
|
1070
1070
|
);
|
|
1071
1071
|
}
|
|
1072
|
-
var Br = Object.defineProperty, Sr = Object.defineProperties, wr = Object.getOwnPropertyDescriptors, sa = Object.getOwnPropertySymbols, Yo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable,
|
|
1072
|
+
var Br = Object.defineProperty, Sr = Object.defineProperties, wr = Object.getOwnPropertyDescriptors, sa = Object.getOwnPropertySymbols, Yo = Object.prototype.hasOwnProperty, Jo = Object.prototype.propertyIsEnumerable, Pl = (e, t, l) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, $r = (e, t) => {
|
|
1073
1073
|
for (var l in t || (t = {}))
|
|
1074
|
-
Yo.call(t, l) &&
|
|
1074
|
+
Yo.call(t, l) && Pl(e, l, t[l]);
|
|
1075
1075
|
if (sa)
|
|
1076
1076
|
for (var l of sa(t))
|
|
1077
|
-
Jo.call(t, l) &&
|
|
1077
|
+
Jo.call(t, l) && Pl(e, l, t[l]);
|
|
1078
1078
|
return e;
|
|
1079
1079
|
}, Cr = (e, t) => Sr(e, wr(t)), _r = (e, t) => {
|
|
1080
1080
|
var l = {};
|
|
@@ -1108,7 +1108,7 @@ const qe = na ? window : void 0;
|
|
|
1108
1108
|
function he(...e) {
|
|
1109
1109
|
let t, l, a, o;
|
|
1110
1110
|
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([l, a, o] = e, t = qe) : [t, l, a, o] = e, !t)
|
|
1111
|
-
return
|
|
1111
|
+
return pt;
|
|
1112
1112
|
Array.isArray(l) || (l = [l]), Array.isArray(a) || (a = [a]);
|
|
1113
1113
|
const n = [], s = () => {
|
|
1114
1114
|
n.forEach((h) => h()), n.length = 0;
|
|
@@ -1123,14 +1123,14 @@ function he(...e) {
|
|
|
1123
1123
|
), p = () => {
|
|
1124
1124
|
i(), s();
|
|
1125
1125
|
};
|
|
1126
|
-
return
|
|
1126
|
+
return vt(p), p;
|
|
1127
1127
|
}
|
|
1128
|
-
let
|
|
1128
|
+
let El = !1;
|
|
1129
1129
|
function Zo(e, t, l = {}) {
|
|
1130
1130
|
const { window: a = qe, ignore: o = [], capture: n = !0, detectIframe: s = !1 } = l;
|
|
1131
1131
|
if (!a)
|
|
1132
1132
|
return;
|
|
1133
|
-
Va && !
|
|
1133
|
+
Va && !El && (El = !0, Array.from(a.document.body.children).forEach((m) => m.addEventListener("click", pt)));
|
|
1134
1134
|
let r = !0;
|
|
1135
1135
|
const i = (m) => o.some((S) => {
|
|
1136
1136
|
if (typeof S == "string")
|
|
@@ -1196,9 +1196,9 @@ function Ar(e, t = {}) {
|
|
|
1196
1196
|
const n = x(!1), s = () => {
|
|
1197
1197
|
o && ("removeEventListener" in o ? o.removeEventListener("change", r) : o.removeListener(r));
|
|
1198
1198
|
}, r = () => {
|
|
1199
|
-
a.value && (s(), o = l.matchMedia(
|
|
1199
|
+
a.value && (s(), o = l.matchMedia(el(e).value), n.value = !!(o != null && o.matches), o && ("addEventListener" in o ? o.addEventListener("change", r) : o.addListener(r)));
|
|
1200
1200
|
};
|
|
1201
|
-
return
|
|
1201
|
+
return Ht(r), vt(() => s()), n;
|
|
1202
1202
|
}
|
|
1203
1203
|
function Pr(e) {
|
|
1204
1204
|
return JSON.parse(JSON.stringify(e));
|
|
@@ -1207,18 +1207,18 @@ const Wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window :
|
|
|
1207
1207
|
function Fr() {
|
|
1208
1208
|
return Ut in Wt || (Wt[Ut] = Wt[Ut] || {}), Wt[Ut];
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function tl(e, t) {
|
|
1211
1211
|
return Er[e] || t;
|
|
1212
1212
|
}
|
|
1213
1213
|
function Ir(e) {
|
|
1214
1214
|
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
1215
1215
|
}
|
|
1216
|
-
var Lr = Object.defineProperty,
|
|
1216
|
+
var Lr = Object.defineProperty, Fl = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Il = (e, t, l) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, Ll = (e, t) => {
|
|
1217
1217
|
for (var l in t || (t = {}))
|
|
1218
|
-
Nr.call(t, l) &&
|
|
1219
|
-
if (
|
|
1220
|
-
for (var l of
|
|
1221
|
-
zr.call(t, l) &&
|
|
1218
|
+
Nr.call(t, l) && Il(e, l, t[l]);
|
|
1219
|
+
if (Fl)
|
|
1220
|
+
for (var l of Fl(t))
|
|
1221
|
+
zr.call(t, l) && Il(e, l, t[l]);
|
|
1222
1222
|
return e;
|
|
1223
1223
|
};
|
|
1224
1224
|
const Hr = {
|
|
@@ -1254,7 +1254,7 @@ const Hr = {
|
|
|
1254
1254
|
read: (e) => new Date(e),
|
|
1255
1255
|
write: (e) => e.toISOString()
|
|
1256
1256
|
}
|
|
1257
|
-
},
|
|
1257
|
+
}, Nl = "vueuse-storage";
|
|
1258
1258
|
function xr(e, t, l, a = {}) {
|
|
1259
1259
|
var o;
|
|
1260
1260
|
const {
|
|
@@ -1272,7 +1272,7 @@ function xr(e, t, l, a = {}) {
|
|
|
1272
1272
|
} = a, B = (h ? Ha : x)(t);
|
|
1273
1273
|
if (!l)
|
|
1274
1274
|
try {
|
|
1275
|
-
l =
|
|
1275
|
+
l = tl("getDefaultStorage", () => {
|
|
1276
1276
|
var V;
|
|
1277
1277
|
return (V = qe) == null ? void 0 : V.localStorage;
|
|
1278
1278
|
})();
|
|
@@ -1286,14 +1286,14 @@ function xr(e, t, l, a = {}) {
|
|
|
1286
1286
|
() => _(B.value),
|
|
1287
1287
|
{ flush: n, deep: s, eventFilter: m }
|
|
1288
1288
|
);
|
|
1289
|
-
return v && r && (he(v, "storage", c), he(v,
|
|
1289
|
+
return v && r && (he(v, "storage", c), he(v, Nl, k)), c(), B;
|
|
1290
1290
|
function _(V) {
|
|
1291
1291
|
try {
|
|
1292
1292
|
if (V == null)
|
|
1293
1293
|
l.removeItem(e);
|
|
1294
1294
|
else {
|
|
1295
1295
|
const L = b.write(V), f = l.getItem(e);
|
|
1296
|
-
f !== L && (l.setItem(e, L), v && v.dispatchEvent(new CustomEvent(
|
|
1296
|
+
f !== L && (l.setItem(e, L), v && v.dispatchEvent(new CustomEvent(Nl, {
|
|
1297
1297
|
detail: {
|
|
1298
1298
|
key: e,
|
|
1299
1299
|
oldValue: f,
|
|
@@ -1312,7 +1312,7 @@ function xr(e, t, l, a = {}) {
|
|
|
1312
1312
|
return i && y !== null && l.setItem(e, b.write(y)), y;
|
|
1313
1313
|
if (!V && p) {
|
|
1314
1314
|
const f = b.read(L);
|
|
1315
|
-
return typeof p == "function" ? p(f, y) : A === "object" && !Array.isArray(f) ?
|
|
1315
|
+
return typeof p == "function" ? p(f, y) : A === "object" && !Array.isArray(f) ? Ll(Ll({}, y), f) : f;
|
|
1316
1316
|
} else
|
|
1317
1317
|
return typeof L != "string" ? L : b.read(L);
|
|
1318
1318
|
}
|
|
@@ -1341,12 +1341,12 @@ function xr(e, t, l, a = {}) {
|
|
|
1341
1341
|
function Rr(e) {
|
|
1342
1342
|
return Ar("(prefers-color-scheme: dark)", e);
|
|
1343
1343
|
}
|
|
1344
|
-
var Mr = Object.defineProperty,
|
|
1344
|
+
var Mr = Object.defineProperty, zl = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, Hl = (e, t, l) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, qr = (e, t) => {
|
|
1345
1345
|
for (var l in t || (t = {}))
|
|
1346
|
-
Dr.call(t, l) &&
|
|
1347
|
-
if (
|
|
1348
|
-
for (var l of
|
|
1349
|
-
jr.call(t, l) &&
|
|
1346
|
+
Dr.call(t, l) && Hl(e, l, t[l]);
|
|
1347
|
+
if (zl)
|
|
1348
|
+
for (var l of zl(t))
|
|
1349
|
+
jr.call(t, l) && Hl(e, l, t[l]);
|
|
1350
1350
|
return e;
|
|
1351
1351
|
};
|
|
1352
1352
|
function Gr(e = {}) {
|
|
@@ -1365,9 +1365,9 @@ function Gr(e = {}) {
|
|
|
1365
1365
|
auto: "",
|
|
1366
1366
|
light: "light",
|
|
1367
1367
|
dark: "dark"
|
|
1368
|
-
}, e.modes || {}), m = Rr({ window: o }), S = u(() => m.value ? "dark" : "light"), B = i || (s == null ?
|
|
1368
|
+
}, e.modes || {}), m = Rr({ window: o }), S = u(() => m.value ? "dark" : "light"), B = i || (s == null ? el(a) : xr(s, a, n, { window: o, listenToStorageChanges: r })), y = u(
|
|
1369
1369
|
() => B.value === "auto" ? S.value : B.value
|
|
1370
|
-
), A =
|
|
1370
|
+
), A = tl(
|
|
1371
1371
|
"updateHTMLAttrs",
|
|
1372
1372
|
(_, $, k) => {
|
|
1373
1373
|
const c = typeof _ == "string" ? o == null ? void 0 : o.document.querySelector(_) : et(_);
|
|
@@ -1474,7 +1474,7 @@ function Ur(e = {}) {
|
|
|
1474
1474
|
sourceType: h
|
|
1475
1475
|
};
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function xl(e, t = {}) {
|
|
1478
1478
|
const {
|
|
1479
1479
|
handleOutside: l = !0,
|
|
1480
1480
|
window: a = qe
|
|
@@ -1530,7 +1530,7 @@ function Xr(e) {
|
|
|
1530
1530
|
function Kr(e, t = !1) {
|
|
1531
1531
|
const l = x(t);
|
|
1532
1532
|
let a = null, o;
|
|
1533
|
-
se(
|
|
1533
|
+
se(el(e), (r) => {
|
|
1534
1534
|
if (r) {
|
|
1535
1535
|
const i = r;
|
|
1536
1536
|
o = i.style.overflow, l.value && (i.style.overflow = "hidden");
|
|
@@ -1552,7 +1552,7 @@ function Kr(e, t = !1) {
|
|
|
1552
1552
|
const r = Je(e);
|
|
1553
1553
|
!r || !l.value || (Va && (a == null || a()), r.style.overflow = o, l.value = !1);
|
|
1554
1554
|
};
|
|
1555
|
-
return
|
|
1555
|
+
return vt(s), u({
|
|
1556
1556
|
get() {
|
|
1557
1557
|
return l.value;
|
|
1558
1558
|
},
|
|
@@ -1569,7 +1569,7 @@ function Yr(e, t = {}) {
|
|
|
1569
1569
|
onSwipeStart: n,
|
|
1570
1570
|
passive: s = !0,
|
|
1571
1571
|
window: r = qe
|
|
1572
|
-
} = t, i =
|
|
1572
|
+
} = t, i = _t({ x: 0, y: 0 }), p = _t({ x: 0, y: 0 }), h = u(() => i.x - p.x), v = u(() => i.y - p.y), { max: m, abs: S } = Math, B = u(() => m(S(h.value), S(v.value)) >= l), y = x(!1), A = u(() => B.value ? S(h.value) > S(v.value) ? h.value > 0 ? "left" : "right" : v.value > 0 ? "up" : "down" : "none"), b = (L) => [L.touches[0].clientX, L.touches[0].clientY], T = (L, f) => {
|
|
1573
1573
|
i.x = L, i.y = f;
|
|
1574
1574
|
}, C = (L, f) => {
|
|
1575
1575
|
p.x = L, p.y = f;
|
|
@@ -1616,7 +1616,7 @@ function Jr(e) {
|
|
|
1616
1616
|
return t = !0, !1;
|
|
1617
1617
|
}
|
|
1618
1618
|
};
|
|
1619
|
-
return e.addEventListener("x",
|
|
1619
|
+
return e.addEventListener("x", pt, l), e.removeEventListener("x", pt), t;
|
|
1620
1620
|
}
|
|
1621
1621
|
function Be(e, t, l, a = {}) {
|
|
1622
1622
|
var o, n, s;
|
|
@@ -1655,7 +1655,7 @@ function Be(e, t, l, a = {}) {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
});
|
|
1657
1657
|
}
|
|
1658
|
-
const
|
|
1658
|
+
const al = H({
|
|
1659
1659
|
name: "ComponentOrEmpty",
|
|
1660
1660
|
slots: Object,
|
|
1661
1661
|
props: {
|
|
@@ -1685,11 +1685,11 @@ const ll = H({
|
|
|
1685
1685
|
function d(e) {
|
|
1686
1686
|
return Wo(() => {
|
|
1687
1687
|
const t = it(e);
|
|
1688
|
-
return t == null ? t :
|
|
1688
|
+
return t == null ? t : ja(t);
|
|
1689
1689
|
});
|
|
1690
1690
|
}
|
|
1691
1691
|
const tn = rr(() => {
|
|
1692
|
-
const e =
|
|
1692
|
+
const e = _t([]);
|
|
1693
1693
|
return { items: e, reset: () => {
|
|
1694
1694
|
e.splice(0, e.length);
|
|
1695
1695
|
} };
|
|
@@ -1715,7 +1715,7 @@ const tn = rr(() => {
|
|
|
1715
1715
|
}, S = () => {
|
|
1716
1716
|
n.value = !1, s.value = r.value;
|
|
1717
1717
|
};
|
|
1718
|
-
|
|
1718
|
+
Ht(() => {
|
|
1719
1719
|
s.value > r.value && (s.value = r.value), s.value === r.value && p();
|
|
1720
1720
|
}), se([o, a], () => {
|
|
1721
1721
|
S(), m();
|
|
@@ -1734,7 +1734,7 @@ const tn = rr(() => {
|
|
|
1734
1734
|
resume: y,
|
|
1735
1735
|
value: i
|
|
1736
1736
|
};
|
|
1737
|
-
},
|
|
1737
|
+
}, gt = (e) => u(() => {
|
|
1738
1738
|
const t = it(e);
|
|
1739
1739
|
return t === !0 ? "is-valid" : t === !1 ? "is-invalid" : null;
|
|
1740
1740
|
}), an = (e) => u(() => {
|
|
@@ -1746,7 +1746,7 @@ const tn = rr(() => {
|
|
|
1746
1746
|
[`form-control-${t.size}`]: t.size !== void 0 && t.size !== "md" && t.button === !1
|
|
1747
1747
|
};
|
|
1748
1748
|
}), ln = (e) => {
|
|
1749
|
-
const t = Se(e), l =
|
|
1749
|
+
const t = Se(e), l = gt(u(() => t.value.state ?? null));
|
|
1750
1750
|
return u(() => [
|
|
1751
1751
|
l.value,
|
|
1752
1752
|
{
|
|
@@ -1840,19 +1840,19 @@ const tn = rr(() => {
|
|
|
1840
1840
|
focus: N,
|
|
1841
1841
|
blur: I
|
|
1842
1842
|
};
|
|
1843
|
-
},
|
|
1843
|
+
}, ht = (e, t) => {
|
|
1844
1844
|
if (!e)
|
|
1845
1845
|
return e;
|
|
1846
1846
|
if (t in e)
|
|
1847
1847
|
return e[t];
|
|
1848
1848
|
const l = t.split(".");
|
|
1849
|
-
return
|
|
1849
|
+
return ht(e[l[0]], l.splice(1).join("."));
|
|
1850
1850
|
}, ha = (e, t = null, l, a) => {
|
|
1851
1851
|
if (Object.prototype.toString.call(e) === "[object Object]") {
|
|
1852
|
-
const o =
|
|
1852
|
+
const o = ht(e, a.valueField), n = ht(e, a.textField), s = ht(e, a.htmlField), r = ht(e, a.disabledField), i = e[a.optionsField] || null;
|
|
1853
1853
|
return i !== null ? {
|
|
1854
|
-
label: String(
|
|
1855
|
-
options:
|
|
1854
|
+
label: String(ht(e, a.labelField) || n),
|
|
1855
|
+
options: ll(i, l, a)
|
|
1856
1856
|
} : {
|
|
1857
1857
|
value: typeof o > "u" ? t || n : o,
|
|
1858
1858
|
text: String(typeof n > "u" ? t : n),
|
|
@@ -1865,7 +1865,7 @@ const tn = rr(() => {
|
|
|
1865
1865
|
text: String(e),
|
|
1866
1866
|
disabled: !1
|
|
1867
1867
|
};
|
|
1868
|
-
},
|
|
1868
|
+
}, ll = (e, t, l) => Array.isArray(e) ? e.map((a) => ha(a, null, t, l)) : Object.prototype.toString.call(e) === "[object Object]" ? (console.warn(
|
|
1869
1869
|
`[BootstrapVue warn]: ${t} - Setting prop "options" to an object is deprecated. Use the array format instead.`
|
|
1870
1870
|
), Object.keys(e).map((a) => {
|
|
1871
1871
|
const o = e[a];
|
|
@@ -1876,11 +1876,11 @@ const tn = rr(() => {
|
|
|
1876
1876
|
return ha(o, String(a), t, l);
|
|
1877
1877
|
}
|
|
1878
1878
|
})) : [], $e = (e, t) => u(() => it(e) || lt(t)), Ba = "modal-open", ei = ir(() => {
|
|
1879
|
-
const { count: e, inc: t, dec: l } = mr(), a =
|
|
1879
|
+
const { count: e, inc: t, dec: l } = mr(), a = tl("updateHTMLAttrs", (o, n, s) => {
|
|
1880
1880
|
const r = typeof o == "string" ? window == null ? void 0 : window.document.querySelector(o) : et(o);
|
|
1881
1881
|
r && (n === "class" ? r.classList.toggle(Ba, s === Ba) : r.setAttribute(n, s));
|
|
1882
1882
|
});
|
|
1883
|
-
return
|
|
1883
|
+
return vt(() => {
|
|
1884
1884
|
a("body", "class", "");
|
|
1885
1885
|
}), se(e, (o) => {
|
|
1886
1886
|
a("body", "class", o > 0 ? Ba : "");
|
|
@@ -1956,7 +1956,7 @@ const tn = rr(() => {
|
|
|
1956
1956
|
},
|
|
1957
1957
|
computedDisplayItems: i
|
|
1958
1958
|
};
|
|
1959
|
-
}, si = ["id"], ri = ["innerHTML"], ii = ["innerHTML"],
|
|
1959
|
+
}, si = ["id"], ri = ["innerHTML"], ii = ["innerHTML"], ol = /* @__PURE__ */ H({
|
|
1960
1960
|
inheritAttrs: !1,
|
|
1961
1961
|
__name: "BPopover",
|
|
1962
1962
|
props: {
|
|
@@ -1989,7 +1989,7 @@ const tn = rr(() => {
|
|
|
1989
1989
|
emits: ["show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "update:modelValue"],
|
|
1990
1990
|
setup(e, { expose: t, emit: l }) {
|
|
1991
1991
|
const a = e, o = d(() => a.modelValue), n = x(o.value), s = x(o.value);
|
|
1992
|
-
|
|
1992
|
+
Ht(() => {
|
|
1993
1993
|
l("update:modelValue", n.value);
|
|
1994
1994
|
}), se(o, () => {
|
|
1995
1995
|
o.value !== n.value && (o.value ? W() : ne(new Event("update:modelValue")));
|
|
@@ -2010,9 +2010,9 @@ const tn = rr(() => {
|
|
|
2010
2010
|
return X;
|
|
2011
2011
|
}
|
|
2012
2012
|
}, N = u(
|
|
2013
|
-
() => a.title ?
|
|
2013
|
+
() => a.title ? St(a.title, Bt) : ""
|
|
2014
2014
|
), I = u(
|
|
2015
|
-
() => a.content ?
|
|
2015
|
+
() => a.content ? St(a.content, Bt) : ""
|
|
2016
2016
|
), E = u(() => a.placement.startsWith("auto")), j = we(u(() => a.offset ?? NaN)), K = u(() => {
|
|
2017
2017
|
if (a.floatingMiddleware !== void 0)
|
|
2018
2018
|
return a.floatingMiddleware;
|
|
@@ -2056,10 +2056,10 @@ const tn = rr(() => {
|
|
|
2056
2056
|
[`bs-${X}-${di(le.value)}`]: le.value !== void 0
|
|
2057
2057
|
}
|
|
2058
2058
|
];
|
|
2059
|
-
}), { isOutside: ge } =
|
|
2059
|
+
}), { isOutside: ge } = xl(_), { isOutside: fe } = xl(c), G = (X) => {
|
|
2060
2060
|
const de = X ?? new Event("click");
|
|
2061
2061
|
n.value ? ne(de) : W();
|
|
2062
|
-
}, F = (X, de = {}) => new
|
|
2062
|
+
}, F = (X, de = {}) => new xt(X, {
|
|
2063
2063
|
cancelable: !1,
|
|
2064
2064
|
target: _.value || null,
|
|
2065
2065
|
relatedTarget: null,
|
|
@@ -2125,7 +2125,7 @@ const tn = rr(() => {
|
|
|
2125
2125
|
de ? $.value = de : console.warn("Reference element not found", a.reference);
|
|
2126
2126
|
} else
|
|
2127
2127
|
$.value = c.value;
|
|
2128
|
-
!c.value || p.value ||
|
|
2128
|
+
!c.value || p.value || Wa && (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));
|
|
2129
2129
|
}, ke = () => {
|
|
2130
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));
|
|
2131
2131
|
};
|
|
@@ -2137,7 +2137,7 @@ const tn = rr(() => {
|
|
|
2137
2137
|
{ ignore: [c] }
|
|
2138
2138
|
), se([() => a.click, () => a.target, () => a.reference], () => {
|
|
2139
2139
|
ke(), _e();
|
|
2140
|
-
}), Re(_e),
|
|
2140
|
+
}), Re(_e), fo(ke), (X, de) => (g(), P(ce, null, [
|
|
2141
2141
|
Z("span", {
|
|
2142
2142
|
ref_key: "placeholder",
|
|
2143
2143
|
ref: V
|
|
@@ -2148,7 +2148,7 @@ const tn = rr(() => {
|
|
|
2148
2148
|
toggle: G,
|
|
2149
2149
|
showState: n.value
|
|
2150
2150
|
}),
|
|
2151
|
-
ye(
|
|
2151
|
+
ye(al, {
|
|
2152
2152
|
tag: "Teleport",
|
|
2153
2153
|
to: X.container,
|
|
2154
2154
|
skip: !X.container
|
|
@@ -2230,19 +2230,19 @@ const tn = rr(() => {
|
|
|
2230
2230
|
default:
|
|
2231
2231
|
return t;
|
|
2232
2232
|
}
|
|
2233
|
-
},
|
|
2234
|
-
if (!
|
|
2233
|
+
}, zt = (e) => typeof e != "object" || e.active !== !1, ra = (e, t) => {
|
|
2234
|
+
if (!zt(e))
|
|
2235
2235
|
return {};
|
|
2236
2236
|
const a = typeof e > "u" || typeof e == "object" && !e.title && !e.content, o = t.getAttribute("title") || t.getAttribute("data-original-title");
|
|
2237
2237
|
return a ? o ? (t.removeAttribute("title"), t.setAttribute("data-original-title", o), {
|
|
2238
|
-
content:
|
|
2238
|
+
content: St(o, Bt)
|
|
2239
2239
|
}) : {} : typeof e == "string" ? {
|
|
2240
|
-
content:
|
|
2240
|
+
content: St(e, Bt)
|
|
2241
2241
|
} : {
|
|
2242
|
-
title: e != null && e.title ?
|
|
2243
|
-
content: e != null && e.content ?
|
|
2242
|
+
title: e != null && e.title ? St(e == null ? void 0 : e.title, Bt) : void 0,
|
|
2243
|
+
content: e != null && e.content ? St(e == null ? void 0 : e.content, Bt) : void 0
|
|
2244
2244
|
};
|
|
2245
|
-
},
|
|
2245
|
+
}, Ct = (e, t) => ({
|
|
2246
2246
|
target: () => t,
|
|
2247
2247
|
modelValue: e.modifiers.show,
|
|
2248
2248
|
inline: e.modifiers.inline,
|
|
@@ -2258,7 +2258,7 @@ const tn = rr(() => {
|
|
|
2258
2258
|
const l = document.createElement("span");
|
|
2259
2259
|
t.modifiers.body ? document.body.appendChild(l) : t.modifiers.child ? e.appendChild(l) : (a = e.parentNode) == null || a.insertBefore(l, e.nextSibling), e.$__app = Un({ render: () => {
|
|
2260
2260
|
var o;
|
|
2261
|
-
return ue(
|
|
2261
|
+
return ue(ol, { ...(o = e.$__state) == null ? void 0 : o.value });
|
|
2262
2262
|
} }), e.$__app.mount(l), e.$__element = l;
|
|
2263
2263
|
}, dn = (e) => {
|
|
2264
2264
|
var l;
|
|
@@ -2266,7 +2266,7 @@ const tn = rr(() => {
|
|
|
2266
2266
|
(l = e.$__app) == null || l.unmount(), delete e.$__app, delete e.$__state, setTimeout(() => {
|
|
2267
2267
|
t == null || t.remove();
|
|
2268
2268
|
}, 0), delete e.$__element;
|
|
2269
|
-
},
|
|
2269
|
+
}, Rl = (e, t) => {
|
|
2270
2270
|
const { all: l, ...a } = e, o = {};
|
|
2271
2271
|
l && t.forEach((s) => {
|
|
2272
2272
|
o[s] = l;
|
|
@@ -2313,7 +2313,7 @@ const tn = rr(() => {
|
|
|
2313
2313
|
},
|
|
2314
2314
|
emits: ["show", "shown", "hide", "hidden", "hide-prevented", "show-prevented", "update:modelValue"],
|
|
2315
2315
|
setup(e, { expose: t, emit: l }) {
|
|
2316
|
-
const a = e, o = ($, k = {}) => new
|
|
2316
|
+
const a = e, o = ($, k = {}) => new xt($, {
|
|
2317
2317
|
cancelable: !1,
|
|
2318
2318
|
target: m.value || null,
|
|
2319
2319
|
relatedTarget: null,
|
|
@@ -2378,7 +2378,7 @@ const tn = rr(() => {
|
|
|
2378
2378
|
toggle: T,
|
|
2379
2379
|
visible: Ee(B),
|
|
2380
2380
|
isNav: p
|
|
2381
|
-
}), Ge(
|
|
2381
|
+
}), Ge(Xa, {
|
|
2382
2382
|
id: v,
|
|
2383
2383
|
close: A,
|
|
2384
2384
|
open: b,
|
|
@@ -2493,7 +2493,7 @@ const tn = rr(() => {
|
|
|
2493
2493
|
}, 16, ["id", "modelValue", "aria-labelledby", "tag", "toggle", "horizontal", "visible", "is-nav"])
|
|
2494
2494
|
]));
|
|
2495
2495
|
}
|
|
2496
|
-
}),
|
|
2496
|
+
}), Et = /* @__PURE__ */ H({
|
|
2497
2497
|
__name: "BTransition",
|
|
2498
2498
|
props: {
|
|
2499
2499
|
appear: { type: [String, Boolean], default: !1 },
|
|
@@ -2530,7 +2530,7 @@ const tn = rr(() => {
|
|
|
2530
2530
|
appearToClass: o.value.enterToClass
|
|
2531
2531
|
} : n.value
|
|
2532
2532
|
);
|
|
2533
|
-
return (r, i) => (g(), M(Xn, xe(
|
|
2533
|
+
return (r, i) => (g(), M(Xn, xe(mt(s.value)), {
|
|
2534
2534
|
default: D(() => [
|
|
2535
2535
|
O(r.$slots, "default")
|
|
2536
2536
|
]),
|
|
@@ -2538,7 +2538,7 @@ const tn = rr(() => {
|
|
|
2538
2538
|
}, 16));
|
|
2539
2539
|
}
|
|
2540
2540
|
});
|
|
2541
|
-
const yi = ["type", "disabled", "aria-label"],
|
|
2541
|
+
const yi = ["type", "disabled", "aria-label"], Ft = /* @__PURE__ */ H({
|
|
2542
2542
|
__name: "BCloseButton",
|
|
2543
2543
|
props: {
|
|
2544
2544
|
ariaLabel: { default: "Close" },
|
|
@@ -2594,7 +2594,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2594
2594
|
}
|
|
2595
2595
|
}), hi = {
|
|
2596
2596
|
active: { type: [Boolean, String, void 0], default: void 0 },
|
|
2597
|
-
activeClass: { type: String, default:
|
|
2597
|
+
activeClass: { type: String, default: void 0 },
|
|
2598
2598
|
append: { type: [Boolean, String], default: !1 },
|
|
2599
2599
|
disabled: { type: [Boolean, String], default: !1 },
|
|
2600
2600
|
event: { type: [String, Array], default: "click" },
|
|
@@ -2612,7 +2612,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2612
2612
|
__name: "BLink",
|
|
2613
2613
|
props: {
|
|
2614
2614
|
active: { type: [String, Boolean], default: void 0 },
|
|
2615
|
-
activeClass: { default:
|
|
2615
|
+
activeClass: { default: void 0 },
|
|
2616
2616
|
append: { type: [String, Boolean], default: !1 },
|
|
2617
2617
|
disabled: { type: [String, Boolean], default: !1 },
|
|
2618
2618
|
event: { default: "click" },
|
|
@@ -2635,11 +2635,11 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2635
2635
|
},
|
|
2636
2636
|
emits: ["click"],
|
|
2637
2637
|
setup(e, { emit: t }) {
|
|
2638
|
-
const l = e, a =
|
|
2638
|
+
const l = e, a = vo(), o = d(() => l.active), n = d(() => l.icon);
|
|
2639
2639
|
d(() => l.append);
|
|
2640
2640
|
const s = d(() => l.disabled);
|
|
2641
2641
|
d(() => l.replace);
|
|
2642
|
-
const r = Ae(
|
|
2642
|
+
const r = Ae(Xa, null), i = Ae(Ka, null), p = () => {
|
|
2643
2643
|
var b;
|
|
2644
2644
|
i !== null && ((b = r == null ? void 0 : r.close) == null || b.call(r));
|
|
2645
2645
|
}, h = da(), v = u(() => {
|
|
@@ -2676,7 +2676,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2676
2676
|
tabindex: s.value ? "-1" : typeof a.tabindex > "u" ? null : a.tabindex,
|
|
2677
2677
|
"aria-disabled": s.value ? !0 : null
|
|
2678
2678
|
})), y = u(() => ({
|
|
2679
|
-
[l.activeClass]: o.value,
|
|
2679
|
+
[l.activeClass ?? "active"]: o.value,
|
|
2680
2680
|
disabled: s.value
|
|
2681
2681
|
})), A = (b) => {
|
|
2682
2682
|
var T, C;
|
|
@@ -2728,7 +2728,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2728
2728
|
block: { type: [String, Boolean], default: !1 },
|
|
2729
2729
|
loadingText: { default: "Loading..." },
|
|
2730
2730
|
active: { type: [String, Boolean], default: !1 },
|
|
2731
|
-
activeClass: { default:
|
|
2731
|
+
activeClass: { default: void 0 },
|
|
2732
2732
|
append: { type: [String, Boolean], default: !1 },
|
|
2733
2733
|
disabled: { type: [String, Boolean], default: !1 },
|
|
2734
2734
|
event: { default: "click" },
|
|
@@ -2752,7 +2752,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2752
2752
|
setup(e, { emit: t }) {
|
|
2753
2753
|
const l = e, a = Be(l, "pressed", t), o = d(() => l.active), n = d(() => l.block), s = d(() => l.disabled), r = d(() => l.pill), i = d(() => l.pressed), p = d(() => l.squared), h = d(() => l.loading), v = d(() => l.loadingFill), m = u(() => typeof i.value == "boolean"), S = u(
|
|
2754
2754
|
() => l.tag === "button" && l.href === void 0 && l.to === void 0
|
|
2755
|
-
), B = u(() =>
|
|
2755
|
+
), B = u(() => ct(l)), y = u(() => l.to !== void 0), A = u(() => l.href !== void 0 ? !1 : !S.value), b = u(() => [
|
|
2756
2756
|
[`btn-${l.size}`],
|
|
2757
2757
|
{
|
|
2758
2758
|
[`btn-${l.variant}`]: l.variant !== null,
|
|
@@ -2846,7 +2846,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2846
2846
|
variant: B.value ? a.closeVariant : void 0,
|
|
2847
2847
|
class: b.value
|
|
2848
2848
|
}));
|
|
2849
|
-
|
|
2849
|
+
Ht(() => {
|
|
2850
2850
|
l("close-countdown", V.value);
|
|
2851
2851
|
});
|
|
2852
2852
|
const N = () => {
|
|
@@ -2860,7 +2860,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2860
2860
|
return;
|
|
2861
2861
|
}
|
|
2862
2862
|
$();
|
|
2863
|
-
}),
|
|
2863
|
+
}), fo(k), t({ pause: C, resume: $, restart: _, stop: k }), (E, j) => (g(), M(Et, {
|
|
2864
2864
|
"no-fade": !w(p),
|
|
2865
2865
|
"trans-props": { enterToClass: "show" }
|
|
2866
2866
|
}, {
|
|
@@ -2883,7 +2883,7 @@ const yi = ["type", "disabled", "aria-label"], Et = /* @__PURE__ */ H({
|
|
|
2883
2883
|
], !0)
|
|
2884
2884
|
]),
|
|
2885
2885
|
_: 3
|
|
2886
|
-
}, 16)) : (g(), M(
|
|
2886
|
+
}, 16)) : (g(), M(Ft, te({
|
|
2887
2887
|
key: 1,
|
|
2888
2888
|
"aria-label": E.closeLabel
|
|
2889
2889
|
}, f.value, { onClick: N }), null, 16, ["aria-label"]))
|
|
@@ -2929,7 +2929,7 @@ const ya = (e, t) => {
|
|
|
2929
2929
|
textVariant: { default: null },
|
|
2930
2930
|
variant: { default: "secondary" },
|
|
2931
2931
|
active: { type: [String, Boolean], default: void 0 },
|
|
2932
|
-
activeClass: { default:
|
|
2932
|
+
activeClass: { default: void 0 },
|
|
2933
2933
|
append: { type: [String, Boolean], default: !1 },
|
|
2934
2934
|
href: { default: void 0 },
|
|
2935
2935
|
rel: { default: void 0 },
|
|
@@ -2947,12 +2947,12 @@ const ya = (e, t) => {
|
|
|
2947
2947
|
},
|
|
2948
2948
|
emits: ["click", "img-error"],
|
|
2949
2949
|
setup(e, { emit: t }) {
|
|
2950
|
-
const l = e, a = Pe(), o = Ae(To, null), n = ["sm", null, "lg"], s = 0.4, r = s * 0.7, i = d(() => l.badgeLeft), p = d(() => l.badgeTop), h = d(() => l.button), v = d(() => l.disabled), m = d(() => l.square), S = u(() => !Oe(a.default)), B = u(() => !Oe(a.badge)), y = u(() => !!l.badge || l.badge === "" || B.value), A = u(() =>
|
|
2950
|
+
const l = e, a = Pe(), o = Ae(To, null), n = ["sm", null, "lg"], s = 0.4, r = s * 0.7, i = d(() => l.badgeLeft), p = d(() => l.badgeTop), h = d(() => l.button), v = d(() => l.disabled), m = d(() => l.square), S = u(() => !Oe(a.default)), B = u(() => !Oe(a.badge)), y = u(() => !!l.badge || l.badge === "" || B.value), A = u(() => ct(l)), b = u(
|
|
2951
2951
|
() => (o == null ? void 0 : o.size.value) ?? Oa(l.size)
|
|
2952
2952
|
), T = u(
|
|
2953
2953
|
() => (o == null ? void 0 : o.variant.value) ?? l.variant
|
|
2954
2954
|
), C = u(() => (o == null ? void 0 : o.rounded.value) ?? l.rounded), _ = u(
|
|
2955
|
-
() => A.value ?
|
|
2955
|
+
() => A.value ? At(l, [
|
|
2956
2956
|
"active",
|
|
2957
2957
|
"activeClass",
|
|
2958
2958
|
"append",
|
|
@@ -3099,7 +3099,7 @@ const ya = (e, t) => {
|
|
|
3099
3099
|
textIndicator: { type: [String, Boolean], default: !1 },
|
|
3100
3100
|
dotIndicator: { type: [String, Boolean], default: !1 },
|
|
3101
3101
|
active: { type: [String, Boolean], default: void 0 },
|
|
3102
|
-
activeClass: { default:
|
|
3102
|
+
activeClass: { default: void 0 },
|
|
3103
3103
|
append: { type: [String, Boolean], default: !1 },
|
|
3104
3104
|
disabled: { type: [String, Boolean], default: !1 },
|
|
3105
3105
|
href: { default: void 0 },
|
|
@@ -3119,7 +3119,7 @@ const ya = (e, t) => {
|
|
|
3119
3119
|
icon: { type: [String, Boolean], default: !1 }
|
|
3120
3120
|
},
|
|
3121
3121
|
setup(e) {
|
|
3122
|
-
const t = e, l = d(() => t.pill), a = d(() => t.textIndicator), o = d(() => t.dotIndicator), n = d(() => t.active), s = d(() => t.disabled), r = u(() =>
|
|
3122
|
+
const t = e, l = d(() => t.pill), a = d(() => t.textIndicator), o = d(() => t.dotIndicator), n = d(() => t.active), s = d(() => t.disabled), r = u(() => ct(t)), i = u(() => r.value ? Qe : t.tag), p = u(() => ({
|
|
3123
3123
|
[`bg-${t.variant}`]: t.variant !== null,
|
|
3124
3124
|
active: n.value,
|
|
3125
3125
|
disabled: s.value,
|
|
@@ -3129,7 +3129,7 @@ const ya = (e, t) => {
|
|
|
3129
3129
|
"p-2 border border-light rounded-circle": o.value,
|
|
3130
3130
|
"text-decoration-none": r.value
|
|
3131
3131
|
})), h = u(
|
|
3132
|
-
() => r.value ?
|
|
3132
|
+
() => r.value ? At(t, [
|
|
3133
3133
|
"active",
|
|
3134
3134
|
"activeClass",
|
|
3135
3135
|
"append",
|
|
@@ -3166,7 +3166,7 @@ const ya = (e, t) => {
|
|
|
3166
3166
|
ariaCurrent: { default: "location" },
|
|
3167
3167
|
text: { default: void 0 },
|
|
3168
3168
|
active: { type: [String, Boolean], default: !1 },
|
|
3169
|
-
activeClass: { default:
|
|
3169
|
+
activeClass: { default: void 0 },
|
|
3170
3170
|
append: { type: [String, Boolean], default: !1 },
|
|
3171
3171
|
disabled: { type: [String, Boolean], default: !1 },
|
|
3172
3172
|
href: { default: void 0 },
|
|
@@ -3190,7 +3190,7 @@ const ya = (e, t) => {
|
|
|
3190
3190
|
const l = e, a = d(() => l.active), o = d(() => l.disabled), n = u(() => ({
|
|
3191
3191
|
active: a.value
|
|
3192
3192
|
})), s = u(() => a.value ? "span" : Qe), r = u(() => a.value ? l.ariaCurrent : void 0), i = u(
|
|
3193
|
-
() => s.value !== "span" ?
|
|
3193
|
+
() => s.value !== "span" ? At(l, [
|
|
3194
3194
|
"active",
|
|
3195
3195
|
"activeClass",
|
|
3196
3196
|
"append",
|
|
@@ -3300,7 +3300,7 @@ const ya = (e, t) => {
|
|
|
3300
3300
|
O(o.$slots, "default")
|
|
3301
3301
|
], 10, Ei));
|
|
3302
3302
|
}
|
|
3303
|
-
}), Ii = ["src", "width", "height", "srcset", "sizes", "loading"], Li = '<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',
|
|
3303
|
+
}), Ii = ["src", "width", "height", "srcset", "sizes", "loading"], Li = '<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>', nl = /* @__PURE__ */ H({
|
|
3304
3304
|
__name: "BImg",
|
|
3305
3305
|
props: {
|
|
3306
3306
|
blank: { type: [String, Boolean], default: !1 },
|
|
@@ -3390,7 +3390,7 @@ const ya = (e, t) => {
|
|
|
3390
3390
|
const t = e, l = d(() => t.bottom), a = d(() => t.end), o = d(() => t.start), n = d(() => t.top), s = u(
|
|
3391
3391
|
() => n.value ? "card-img-top" : a.value ? "card-img-right" : l.value ? "card-img-bottom" : o.value ? "card-img-left" : "card-img"
|
|
3392
3392
|
), r = u(() => wo(t, ["bottom", "top", "end", "start"]));
|
|
3393
|
-
return (i, p) => (g(), M(
|
|
3393
|
+
return (i, p) => (g(), M(nl, te(r.value, { class: s.value }), null, 16, ["class"]));
|
|
3394
3394
|
}
|
|
3395
3395
|
}), Ni = ["innerHTML"], vn = /* @__PURE__ */ H({
|
|
3396
3396
|
__name: "BCardHeadFoot",
|
|
@@ -3754,7 +3754,7 @@ const ya = (e, t) => {
|
|
|
3754
3754
|
emits: ["slid", "slide", "update:modelValue"],
|
|
3755
3755
|
setup(e, { expose: t, emit: l }) {
|
|
3756
3756
|
const a = e, o = Pe(), n = $e(() => a.id, "carousel"), s = Be(a, "modelValue", l, { passive: !0 }), r = d(() => a.keyboard), i = d(() => a.rideReverse), p = d(() => a.noHoverPause), h = d(() => a.fade), v = d(() => a.controls), m = d(() => a.indicators), S = d(() => a.noTouch), B = d(() => a.noWrap), y = we(() => a.touchThreshold), A = we(() => a.interval), b = x(!1), T = x(!1), C = x(!0), _ = x(null), $ = x(null), k = x(s.value), c = Qo($), V = u(
|
|
3757
|
-
() => ts(a.ride) ?
|
|
3757
|
+
() => ts(a.ride) ? ja(a.ride) : a.ride
|
|
3758
3758
|
), L = u(
|
|
3759
3759
|
() => `carousel-item carousel-item-${C.value ? "prev" : "next"} carousel-item-${C.value ? "end" : "start"}`
|
|
3760
3760
|
), f = u(
|
|
@@ -3933,6 +3933,7 @@ const ya = (e, t) => {
|
|
|
3933
3933
|
contentTag: { default: "div" },
|
|
3934
3934
|
contentVisibleUp: { default: void 0 },
|
|
3935
3935
|
id: { default: void 0 },
|
|
3936
|
+
imgSrcset: { default: void 0 },
|
|
3936
3937
|
imgAlt: { default: void 0 },
|
|
3937
3938
|
imgBlank: { type: [String, Boolean], default: !1 },
|
|
3938
3939
|
imgBlankColor: { default: "transparent" },
|
|
@@ -3954,15 +3955,16 @@ const ya = (e, t) => {
|
|
|
3954
3955
|
O(p.$slots, "img", {}, () => {
|
|
3955
3956
|
var v, m;
|
|
3956
3957
|
return [
|
|
3957
|
-
ye(
|
|
3958
|
+
ye(nl, {
|
|
3958
3959
|
class: "d-block w-100",
|
|
3959
3960
|
alt: p.imgAlt,
|
|
3961
|
+
srcset: p.imgSrcset,
|
|
3960
3962
|
src: p.imgSrc,
|
|
3961
3963
|
width: p.imgWidth || ((v = w(a)) == null ? void 0 : v.width.value),
|
|
3962
3964
|
height: p.imgHeight || ((m = w(a)) == null ? void 0 : m.height.value),
|
|
3963
3965
|
blank: p.imgBlank,
|
|
3964
3966
|
"blank-color": p.imgBlankColor
|
|
3965
|
-
}, null, 8, ["alt", "src", "width", "height", "blank", "blank-color"])
|
|
3967
|
+
}, null, 8, ["alt", "srcset", "src", "width", "height", "blank", "blank-color"])
|
|
3966
3968
|
];
|
|
3967
3969
|
}),
|
|
3968
3970
|
s.value ? (g(), M(ae(p.contentTag), {
|
|
@@ -3998,7 +4000,7 @@ const ya = (e, t) => {
|
|
|
3998
4000
|
}, 8, ["class"])) : J("", !0)
|
|
3999
4001
|
], 4));
|
|
4000
4002
|
}
|
|
4001
|
-
}),
|
|
4003
|
+
}), Ml = fa("", [], { type: [Boolean, String, Number], default: !1 }), Dl = fa("offset", [""], { type: [String, Number], default: null }), jl = fa("order", [""], { type: [String, Number], default: null }), Zi = H({
|
|
4002
4004
|
name: "BCol",
|
|
4003
4005
|
slots: Object,
|
|
4004
4006
|
props: {
|
|
@@ -4006,19 +4008,19 @@ const ya = (e, t) => {
|
|
|
4006
4008
|
// Generic flexbox .col (xs)
|
|
4007
4009
|
cols: { type: [String, Number], default: null },
|
|
4008
4010
|
// .col-[1-12]|auto (xs)
|
|
4009
|
-
...
|
|
4011
|
+
...Ml,
|
|
4010
4012
|
offset: { type: [String, Number], default: null },
|
|
4011
|
-
...
|
|
4013
|
+
...Dl,
|
|
4012
4014
|
order: { type: [String, Number], default: null },
|
|
4013
|
-
...
|
|
4015
|
+
...jl,
|
|
4014
4016
|
alignSelf: { type: String, default: null },
|
|
4015
4017
|
tag: { type: String, default: "div" }
|
|
4016
4018
|
},
|
|
4017
4019
|
setup(e) {
|
|
4018
4020
|
const t = [
|
|
4019
|
-
{ content:
|
|
4020
|
-
{ content:
|
|
4021
|
-
{ content:
|
|
4021
|
+
{ content: Ml, propPrefix: "cols", classPrefix: "col" },
|
|
4022
|
+
{ content: Dl, propPrefix: "offset" },
|
|
4023
|
+
{ content: jl, propPrefix: "order" }
|
|
4022
4024
|
], l = d(() => e.col), a = u(
|
|
4023
4025
|
() => t.flatMap((n) => So(e, n.content, n.propPrefix, n.classPrefix))
|
|
4024
4026
|
);
|
|
@@ -4046,18 +4048,18 @@ function Qi(e, t, l, a, o, n) {
|
|
|
4046
4048
|
_: 3
|
|
4047
4049
|
}, 8, ["class"]);
|
|
4048
4050
|
}
|
|
4049
|
-
const
|
|
4051
|
+
const It = /* @__PURE__ */ ya(Zi, [["render", Qi]]), bt = {
|
|
4050
4052
|
autoHide: !0,
|
|
4051
4053
|
delay: 5e3,
|
|
4052
4054
|
noCloseButton: !1,
|
|
4053
4055
|
pos: "top-right",
|
|
4054
4056
|
value: !0
|
|
4055
4057
|
};
|
|
4056
|
-
class
|
|
4058
|
+
class ql {
|
|
4057
4059
|
constructor(t) {
|
|
4058
4060
|
Ve(this, "vm");
|
|
4059
4061
|
Ve(this, "containerPositions");
|
|
4060
|
-
Yn(t) ? this.vm = t : this.vm =
|
|
4062
|
+
Yn(t) ? this.vm = t : this.vm = _t(t), this.containerPositions = u(() => {
|
|
4061
4063
|
const l = /* @__PURE__ */ new Set([]);
|
|
4062
4064
|
return this.vm.toasts.map((a) => {
|
|
4063
4065
|
a.options.pos && l.add(a.options.pos);
|
|
@@ -4081,23 +4083,23 @@ class Gl {
|
|
|
4081
4083
|
isRoot() {
|
|
4082
4084
|
return this.vm.root ?? !1;
|
|
4083
4085
|
}
|
|
4084
|
-
show(t, l =
|
|
4085
|
-
const a = { id: lt(), ...
|
|
4086
|
-
options:
|
|
4086
|
+
show(t, l = bt) {
|
|
4087
|
+
const a = { id: lt(), ...bt, ...l }, o = {
|
|
4088
|
+
options: _t(a),
|
|
4087
4089
|
content: t
|
|
4088
4090
|
};
|
|
4089
4091
|
return this.vm.toasts.push(o), o;
|
|
4090
4092
|
}
|
|
4091
|
-
info(t, l =
|
|
4093
|
+
info(t, l = bt) {
|
|
4092
4094
|
return this.show(t, { variant: "info", ...l });
|
|
4093
4095
|
}
|
|
4094
|
-
danger(t, l =
|
|
4096
|
+
danger(t, l = bt) {
|
|
4095
4097
|
return this.show(t, { variant: "danger", ...l });
|
|
4096
4098
|
}
|
|
4097
|
-
warning(t, l =
|
|
4099
|
+
warning(t, l = bt) {
|
|
4098
4100
|
return this.show(t, { variant: "warning", ...l });
|
|
4099
4101
|
}
|
|
4100
|
-
success(t, l =
|
|
4102
|
+
success(t, l = bt) {
|
|
4101
4103
|
return this.show(t, { variant: "success", ...l });
|
|
4102
4104
|
}
|
|
4103
4105
|
hide() {
|
|
@@ -4142,9 +4144,9 @@ function au() {
|
|
|
4142
4144
|
function Sn(e, t = Aa) {
|
|
4143
4145
|
const l = Ae(au());
|
|
4144
4146
|
if (!e)
|
|
4145
|
-
return new
|
|
4147
|
+
return new ql(l.getOrCreateViewModel());
|
|
4146
4148
|
const a = { id: Symbol("toastInstance") }, o = { ...tu, ...a, ...e }, n = l.getOrCreateViewModel(o);
|
|
4147
|
-
return new
|
|
4149
|
+
return new ql(n);
|
|
4148
4150
|
}
|
|
4149
4151
|
const wn = {
|
|
4150
4152
|
install: (e, t) => {
|
|
@@ -4152,7 +4154,7 @@ const wn = {
|
|
|
4152
4154
|
const l = typeof (t == null ? void 0 : t.BToast) == "object" ? ((a = t == null ? void 0 : t.BToast) == null ? void 0 : a.injectkey) ?? Aa : Aa;
|
|
4153
4155
|
e.provide(Bn, l), e.provide(l, new eu());
|
|
4154
4156
|
}
|
|
4155
|
-
}, lu = "toast-title",
|
|
4157
|
+
}, lu = "toast-title", Gl = 1e3, $n = H({
|
|
4156
4158
|
components: { BLink: Qe },
|
|
4157
4159
|
props: {
|
|
4158
4160
|
...hi,
|
|
@@ -4192,7 +4194,7 @@ const wn = {
|
|
|
4192
4194
|
}, b = u(
|
|
4193
4195
|
() => (
|
|
4194
4196
|
// Minimum supported duration is 1 second
|
|
4195
|
-
Math.max(ot(e.delay, 0),
|
|
4197
|
+
Math.max(ot(e.delay, 0), Gl)
|
|
4196
4198
|
)
|
|
4197
4199
|
), T = () => {
|
|
4198
4200
|
i.value && (B = y = 0, A(), h.value = !0, qt(() => {
|
|
@@ -4208,7 +4210,7 @@ const wn = {
|
|
|
4208
4210
|
if (!o.value || r.value || !S || y)
|
|
4209
4211
|
return;
|
|
4210
4212
|
const I = Date.now() - B;
|
|
4211
|
-
I > 0 && (A(), y = Math.max(b.value - I,
|
|
4213
|
+
I > 0 && (A(), y = Math.max(b.value - I, Gl));
|
|
4212
4214
|
}, $ = () => {
|
|
4213
4215
|
(!o.value || r.value || !y) && (y = B = 0), k();
|
|
4214
4216
|
};
|
|
@@ -4246,7 +4248,7 @@ const wn = {
|
|
|
4246
4248
|
const I = () => {
|
|
4247
4249
|
const E = [], j = ze(lu, { hide: T }, l);
|
|
4248
4250
|
j ? E.push(ue(j)) : e.title && E.push(ue("strong", { class: "me-auto" }, e.title)), !n.value && E.length !== 0 && E.push(
|
|
4249
|
-
ue(
|
|
4251
|
+
ue(Ft, {
|
|
4250
4252
|
class: ["btn-close"],
|
|
4251
4253
|
onClick: () => {
|
|
4252
4254
|
T();
|
|
@@ -4264,10 +4266,10 @@ const wn = {
|
|
|
4264
4266
|
)
|
|
4265
4267
|
), ze("default", { hide: T }, l) || e.body) {
|
|
4266
4268
|
const U = ue(
|
|
4267
|
-
|
|
4269
|
+
ct(e) ? "b-link" : "div",
|
|
4268
4270
|
{
|
|
4269
4271
|
class: ["toast-body", e.bodyClass],
|
|
4270
|
-
onClick:
|
|
4272
|
+
onClick: ct(e) ? { click: N } : {}
|
|
4271
4273
|
},
|
|
4272
4274
|
ze("default", { hide: T }, l) || e.body
|
|
4273
4275
|
);
|
|
@@ -4295,7 +4297,7 @@ const wn = {
|
|
|
4295
4297
|
},
|
|
4296
4298
|
[
|
|
4297
4299
|
ue(
|
|
4298
|
-
|
|
4300
|
+
Et,
|
|
4299
4301
|
{
|
|
4300
4302
|
noFade: s.value,
|
|
4301
4303
|
onAfterEnter: V,
|
|
@@ -4674,34 +4676,65 @@ const wn = {
|
|
|
4674
4676
|
inheritAttrs: !1,
|
|
4675
4677
|
__name: "BDropdownItem",
|
|
4676
4678
|
props: {
|
|
4677
|
-
href: { default: void 0 },
|
|
4678
4679
|
linkClass: { default: void 0 },
|
|
4679
|
-
active: { type: [String, Boolean], default:
|
|
4680
|
-
|
|
4680
|
+
active: { type: [String, Boolean], default: void 0 },
|
|
4681
|
+
activeClass: { default: void 0 },
|
|
4682
|
+
append: { type: [String, Boolean], default: !1 },
|
|
4683
|
+
disabled: { type: [String, Boolean] },
|
|
4684
|
+
href: { default: void 0 },
|
|
4681
4685
|
rel: { default: void 0 },
|
|
4686
|
+
replace: { type: [String, Boolean], default: !1 },
|
|
4687
|
+
routerComponentName: { default: "router-link" },
|
|
4682
4688
|
target: { default: "_self" },
|
|
4683
|
-
|
|
4689
|
+
to: { default: void 0 },
|
|
4690
|
+
variant: {},
|
|
4691
|
+
opacity: { default: void 0 },
|
|
4692
|
+
opacityHover: { default: void 0 },
|
|
4693
|
+
underlineVariant: { default: null },
|
|
4694
|
+
underlineOffset: { default: void 0 },
|
|
4695
|
+
underlineOffsetHover: { default: void 0 },
|
|
4696
|
+
underlineOpacity: { default: void 0 },
|
|
4697
|
+
underlineOpacityHover: { default: void 0 },
|
|
4698
|
+
icon: { type: [String, Boolean] }
|
|
4684
4699
|
},
|
|
4685
4700
|
emits: ["click"],
|
|
4686
4701
|
setup(e, { emit: t }) {
|
|
4687
|
-
const l = e, a = d(() => l.active), o = d(() => l.disabled), n =
|
|
4702
|
+
const l = e, a = d(() => l.active), o = d(() => l.disabled), n = u(() => [
|
|
4688
4703
|
l.linkClass,
|
|
4689
4704
|
{
|
|
4690
4705
|
active: a.value,
|
|
4691
4706
|
disabled: o.value,
|
|
4692
4707
|
[`text-${l.variant}`]: l.variant !== null
|
|
4693
4708
|
}
|
|
4694
|
-
]), r = u(
|
|
4695
|
-
() =>
|
|
4696
|
-
), i = u(
|
|
4697
|
-
|
|
4698
|
-
|
|
4709
|
+
]), s = u(() => ct(l)), r = u(
|
|
4710
|
+
() => s.value ? Qe : l.href ? "a" : "button"
|
|
4711
|
+
), i = u(
|
|
4712
|
+
() => s.value ? At(l, [
|
|
4713
|
+
"active",
|
|
4714
|
+
"activeClass",
|
|
4715
|
+
"append",
|
|
4716
|
+
"href",
|
|
4717
|
+
"rel",
|
|
4718
|
+
"replace",
|
|
4719
|
+
"routerComponentName",
|
|
4720
|
+
"target",
|
|
4721
|
+
"to",
|
|
4722
|
+
"variant",
|
|
4723
|
+
"opacity",
|
|
4724
|
+
"opacityHover",
|
|
4725
|
+
"underlineVariant",
|
|
4726
|
+
"underlineOffset",
|
|
4727
|
+
"underlineOffsetHover",
|
|
4728
|
+
"underlineOpacity",
|
|
4729
|
+
"underlineOpacityHover"
|
|
4730
|
+
]) : {}
|
|
4731
|
+
), p = Ae(Xa, null), h = Ae(Po, null), v = Ae(Ka, null), m = (S) => {
|
|
4699
4732
|
var B, y;
|
|
4700
4733
|
t("click", S), v !== null && ((B = p == null ? void 0 : p.close) == null || B.call(p)), (y = h == null ? void 0 : h.close) == null || y.call(h);
|
|
4701
4734
|
};
|
|
4702
4735
|
return (S, B) => (g(), P("li", yu, [
|
|
4703
4736
|
(g(), M(ae(r.value), te({
|
|
4704
|
-
class: ["dropdown-item",
|
|
4737
|
+
class: ["dropdown-item", n.value],
|
|
4705
4738
|
disabled: w(o),
|
|
4706
4739
|
"aria-disabled": w(o) ? !0 : null,
|
|
4707
4740
|
"aria-current": w(a) ? !0 : null,
|
|
@@ -4785,7 +4818,7 @@ const wn = {
|
|
|
4785
4818
|
id: i.id,
|
|
4786
4819
|
novalidate: w(o),
|
|
4787
4820
|
class: z(s.value),
|
|
4788
|
-
onSubmit:
|
|
4821
|
+
onSubmit: Ma(r, ["prevent"])
|
|
4789
4822
|
}, [
|
|
4790
4823
|
O(i.$slots, "default")
|
|
4791
4824
|
], 42, _u));
|
|
@@ -4987,7 +5020,7 @@ const wn = {
|
|
|
4987
5020
|
blur: () => {
|
|
4988
5021
|
C.value = !1;
|
|
4989
5022
|
}
|
|
4990
|
-
}), (I, E) => (g(), M(
|
|
5023
|
+
}), (I, E) => (g(), M(al, {
|
|
4991
5024
|
skip: c.value,
|
|
4992
5025
|
class: z(w(L))
|
|
4993
5026
|
}, {
|
|
@@ -5169,10 +5202,10 @@ const wn = {
|
|
|
5169
5202
|
setup(e, { expose: t, emit: l }) {
|
|
5170
5203
|
const a = e, o = Pe(), n = Be(a, "modelValue", l), s = $e(() => a.id), r = d(() => a.autofocus), i = d(() => a.directory), p = d(() => a.disabled), h = d(() => a.multiple), v = d(() => a.noDrop);
|
|
5171
5204
|
d(() => a.noTraverse);
|
|
5172
|
-
const m = d(() => a.required), S = d(() => a.state), B =
|
|
5205
|
+
const m = d(() => a.required), S = d(() => a.state), B = gt(S), y = x(null), { focused: A } = Ie(y, { initialValue: r.value }), b = u(() => !Oe(o.label)), T = u(
|
|
5173
5206
|
() => typeof a.accept == "string" ? a.accept : a.accept.join(",")
|
|
5174
5207
|
), C = u(
|
|
5175
|
-
() => a.capture === "user" || a.capture === "environment" ? a.capture :
|
|
5208
|
+
() => a.capture === "user" || a.capture === "environment" ? a.capture : ja(a.capture)
|
|
5176
5209
|
), _ = u(() => [
|
|
5177
5210
|
B.value,
|
|
5178
5211
|
{
|
|
@@ -5228,7 +5261,7 @@ const wn = {
|
|
|
5228
5261
|
], 64));
|
|
5229
5262
|
}
|
|
5230
5263
|
}), Tn = ["input", "select", "textarea"], Hu = Tn.map((e) => `${e}:not([disabled])`).join(), xu = [...Tn, "a", "button", "label"], Ru = "label", Mu = "invalid-feedback", Du = "valid-feedback", ju = "description", qu = "default", Gu = H({
|
|
5231
|
-
components: { BCol:
|
|
5264
|
+
components: { BCol: It, BFormInvalidFeedback: Ea, BFormRow: Qt, BFormText: Fa, BFormValidFeedback: Ia },
|
|
5232
5265
|
props: {
|
|
5233
5266
|
contentCols: { type: [Boolean, String, Number], default: void 0 },
|
|
5234
5267
|
contentColsLg: { type: [Boolean, String, Number], default: void 0 },
|
|
@@ -5263,17 +5296,17 @@ const wn = {
|
|
|
5263
5296
|
},
|
|
5264
5297
|
setup(e, { attrs: t }) {
|
|
5265
5298
|
const l = d(() => e.disabled), a = d(() => e.labelSrOnly), o = d(() => e.state), n = d(() => e.tooltip), s = d(() => e.validated), r = d(() => e.floating), i = null, p = ["xs", "sm", "md", "lg", "xl"], h = ($, k) => p.reduce((c, V) => {
|
|
5266
|
-
const L =
|
|
5299
|
+
const L = yl(V === "xs" ? "" : V, `${k}Align`), f = $[L] || null;
|
|
5267
5300
|
return f && (V === "xs" ? c.push(`text-${f}`) : c.push(`text-${V}-${f}`)), c;
|
|
5268
5301
|
}, []), v = ($, k) => p.reduce((c, V) => {
|
|
5269
|
-
const L =
|
|
5302
|
+
const L = yl(V === "xs" ? "" : V, `${k}Cols`);
|
|
5270
5303
|
let f = $[L];
|
|
5271
5304
|
return f = f === "" ? !0 : f || !1, typeof f != "boolean" && f !== "auto" && (f = Is(f, 0), f = f > 0 ? f : !1), f && (V === "xs" ? c[typeof f == "boolean" ? "col" : "cols"] = f : c[V || (typeof f == "boolean" ? "col" : "cols")] = f), c;
|
|
5272
5305
|
}, {}), m = x(), S = ($, k = null) => {
|
|
5273
|
-
if (
|
|
5306
|
+
if (Wa && e.labelFor) {
|
|
5274
5307
|
const c = ho(`#${ps(e.labelFor)}`, m);
|
|
5275
5308
|
if (c) {
|
|
5276
|
-
const V = "aria-describedby", L = ($ || "").split(Yt), f = (k || "").split(Yt), N = (
|
|
5309
|
+
const V = "aria-describedby", L = ($ || "").split(Yt), f = (k || "").split(Yt), N = (Ua(c, V) || "").split(Yt).filter((I) => !f.includes(I)).concat(L).filter((I, E, j) => j.indexOf(I) === E).filter((I) => I).join(" ").trim();
|
|
5277
5310
|
N ? As(c, V, N) : Ps(c, V);
|
|
5278
5311
|
}
|
|
5279
5312
|
}
|
|
@@ -5283,7 +5316,7 @@ const wn = {
|
|
|
5283
5316
|
// based on the existence of 'content-col' or 'label-col' props
|
|
5284
5317
|
Object.keys(B.value).length > 0 || Object.keys(A.value).length > 0
|
|
5285
5318
|
)
|
|
5286
|
-
), T =
|
|
5319
|
+
), T = gt(o), C = u(
|
|
5287
5320
|
() => va(t.ariaInvalid, o.value)
|
|
5288
5321
|
);
|
|
5289
5322
|
return se(
|
|
@@ -5335,7 +5368,7 @@ const wn = {
|
|
|
5335
5368
|
for: e.labelFor || null
|
|
5336
5369
|
},
|
|
5337
5370
|
n
|
|
5338
|
-
)), this.isHorizontal ? o = ue(
|
|
5371
|
+
)), this.isHorizontal ? o = ue(It, this.labelColProps, { default: () => o }) : o = ue("div", {}, [o]);
|
|
5339
5372
|
else {
|
|
5340
5373
|
const $ = {
|
|
5341
5374
|
onClick: a ? this.onLegendClick : null,
|
|
@@ -5357,7 +5390,7 @@ const wn = {
|
|
|
5357
5390
|
e.labelClass
|
|
5358
5391
|
]
|
|
5359
5392
|
};
|
|
5360
|
-
this.isHorizontal ? o = ue(
|
|
5393
|
+
this.isHorizontal ? o = ue(It, $, { default: () => n }) : o = ue(_, $, n);
|
|
5361
5394
|
}
|
|
5362
5395
|
}
|
|
5363
5396
|
let r = null;
|
|
@@ -5417,7 +5450,7 @@ const wn = {
|
|
|
5417
5450
|
},
|
|
5418
5451
|
b
|
|
5419
5452
|
);
|
|
5420
|
-
this.isHorizontal && (T = ue(
|
|
5453
|
+
this.isHorizontal && (T = ue(It, { ref: "content", ...this.contentColProps }, { default: () => b }));
|
|
5421
5454
|
const C = {
|
|
5422
5455
|
class: [
|
|
5423
5456
|
this.stateClass,
|
|
@@ -5471,7 +5504,7 @@ const wn = {
|
|
|
5471
5504
|
},
|
|
5472
5505
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
5473
5506
|
setup(e, { expose: t, emit: l }) {
|
|
5474
|
-
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: p, focus: h, blur: v } = rn(a, l), m = d(() => a.disabled), S = d(() => a.required), B = d(() => a.readonly), y = d(() => a.plaintext), A = d(() => a.state), b =
|
|
5507
|
+
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: p, focus: h, blur: v } = rn(a, l), m = d(() => a.disabled), S = d(() => a.required), B = d(() => a.readonly), y = d(() => a.plaintext), A = d(() => a.state), b = gt(A), T = x(!1), C = u(() => {
|
|
5475
5508
|
const _ = a.type === "range", $ = a.type === "color";
|
|
5476
5509
|
return [
|
|
5477
5510
|
b.value,
|
|
@@ -5576,7 +5609,7 @@ const wn = {
|
|
|
5576
5609
|
blur: () => {
|
|
5577
5610
|
b.value = !1;
|
|
5578
5611
|
}
|
|
5579
|
-
}), (f, N) => (g(), M(
|
|
5612
|
+
}), (f, N) => (g(), M(al, {
|
|
5580
5613
|
skip: $.value,
|
|
5581
5614
|
class: z(w(c))
|
|
5582
5615
|
}, {
|
|
@@ -5723,7 +5756,7 @@ const wn = {
|
|
|
5723
5756
|
O($.$slots, "default")
|
|
5724
5757
|
], 16, Yu));
|
|
5725
5758
|
}
|
|
5726
|
-
}), ed = ["value", "disabled"],
|
|
5759
|
+
}), ed = ["value", "disabled"], sl = /* @__PURE__ */ H({
|
|
5727
5760
|
__name: "BFormSelectOption",
|
|
5728
5761
|
props: {
|
|
5729
5762
|
value: { default: void 0 },
|
|
@@ -5750,11 +5783,11 @@ const wn = {
|
|
|
5750
5783
|
},
|
|
5751
5784
|
setup(e) {
|
|
5752
5785
|
const t = e, l = u(
|
|
5753
|
-
() =>
|
|
5786
|
+
() => ll(t.options, "BFormSelectOptionGroup", t)
|
|
5754
5787
|
);
|
|
5755
5788
|
return (a, o) => (g(), P("optgroup", { label: a.label }, [
|
|
5756
5789
|
O(a.$slots, "first"),
|
|
5757
|
-
(g(!0), P(ce, null, be(l.value, (n, s) => (g(), M(
|
|
5790
|
+
(g(!0), P(ce, null, be(l.value, (n, s) => (g(), M(sl, te({
|
|
5758
5791
|
key: s,
|
|
5759
5792
|
value: n.value,
|
|
5760
5793
|
disabled: n.disabled
|
|
@@ -5790,7 +5823,7 @@ const wn = {
|
|
|
5790
5823
|
},
|
|
5791
5824
|
emits: ["input", "update:modelValue", "change"],
|
|
5792
5825
|
setup(e, { expose: t, emit: l }) {
|
|
5793
|
-
const a = e, o = Be(a, "modelValue", l), n = $e(() => a.id, "input"), s = d(() => a.autofocus), r = d(() => a.disabled), i = d(() => a.multiple), p = d(() => a.plain), h = d(() => a.required), v = d(() => a.state), m = we(() => a.selectSize), S =
|
|
5826
|
+
const a = e, o = Be(a, "modelValue", l), n = $e(() => a.id, "input"), s = d(() => a.autofocus), r = d(() => a.disabled), i = d(() => a.multiple), p = d(() => a.plain), h = d(() => a.required), v = d(() => a.state), m = we(() => a.selectSize), S = gt(v), B = x(), { focused: y } = Ie(B, {
|
|
5794
5827
|
initialValue: s.value
|
|
5795
5828
|
}), A = u(() => [
|
|
5796
5829
|
S.value,
|
|
@@ -5804,7 +5837,7 @@ const wn = {
|
|
|
5804
5837
|
() => m.value || p.value ? m.value : void 0
|
|
5805
5838
|
), T = u(
|
|
5806
5839
|
() => va(a.ariaInvalid, v.value)
|
|
5807
|
-
), C = u(() =>
|
|
5840
|
+
), C = u(() => ll(a.options, "BFormSelect", a)), _ = u({
|
|
5808
5841
|
get: () => o.value,
|
|
5809
5842
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5810
5843
|
set: ($) => {
|
|
@@ -5841,7 +5874,7 @@ const wn = {
|
|
|
5841
5874
|
key: 0,
|
|
5842
5875
|
label: c.label,
|
|
5843
5876
|
options: c.options
|
|
5844
|
-
}, null, 8, ["label", "options"])) : (g(), M(
|
|
5877
|
+
}, null, 8, ["label", "options"])) : (g(), M(sl, {
|
|
5845
5878
|
key: 1,
|
|
5846
5879
|
value: c.value,
|
|
5847
5880
|
disabled: c.disabled,
|
|
@@ -5853,7 +5886,7 @@ const wn = {
|
|
|
5853
5886
|
[es, _.value]
|
|
5854
5887
|
]);
|
|
5855
5888
|
}
|
|
5856
|
-
}),
|
|
5889
|
+
}), Wl = [
|
|
5857
5890
|
"ar",
|
|
5858
5891
|
"az",
|
|
5859
5892
|
"ckb",
|
|
@@ -5870,16 +5903,16 @@ const wn = {
|
|
|
5870
5903
|
"yi"
|
|
5871
5904
|
].map((e) => e.toLowerCase()), od = (e) => {
|
|
5872
5905
|
const t = ea(e).toLowerCase().replace(is, "").split("-"), l = t.slice(0, 2).join("-"), [a] = t;
|
|
5873
|
-
return
|
|
5906
|
+
return Wl.includes(l) || Wl.includes(a);
|
|
5874
5907
|
}, nd = (e) => Bs ? Sa(e) ? e : { capture: !!e || !1 } : !!(Sa(e) ? e.capture : e), sd = (e, t, l, a) => {
|
|
5875
5908
|
e && e.addEventListener && e.addEventListener(t, l, nd(a));
|
|
5876
5909
|
}, rd = (e, t, l, a) => {
|
|
5877
5910
|
e && e.removeEventListener && e.removeEventListener(t, l, a);
|
|
5878
|
-
},
|
|
5911
|
+
}, Ul = (e, t) => {
|
|
5879
5912
|
(e ? sd : rd)(...t);
|
|
5880
5913
|
}, Xt = (e, { preventDefault: t = !0, propagation: l = !0, immediatePropagation: a = !1 } = {}) => {
|
|
5881
5914
|
t && e.preventDefault(), l && e.stopPropagation(), a && e.stopImmediatePropagation();
|
|
5882
|
-
}, La = "ArrowDown", An = "End", Pn = "Home", En = "PageDown", Fn = "PageUp", Na = "ArrowUp",
|
|
5915
|
+
}, La = "ArrowDown", An = "End", Pn = "Home", En = "PageDown", Fn = "PageUp", Na = "ArrowUp", Xl = 1, Kl = 100, Yl = 1, Jl = 500, Zl = 100, Ql = 10, eo = 4, to = [Na, La, Pn, An, Fn, En], id = H({
|
|
5883
5916
|
props: {
|
|
5884
5917
|
ariaControls: { type: String, default: void 0 },
|
|
5885
5918
|
ariaLabel: { type: String, default: void 0 },
|
|
@@ -5902,24 +5935,24 @@ const wn = {
|
|
|
5902
5935
|
vertical: { type: Boolean, default: !1 },
|
|
5903
5936
|
repeatDelay: {
|
|
5904
5937
|
type: [String, Number],
|
|
5905
|
-
default:
|
|
5938
|
+
default: Jl
|
|
5906
5939
|
},
|
|
5907
5940
|
repeatInterval: {
|
|
5908
5941
|
type: [String, Number],
|
|
5909
|
-
default:
|
|
5942
|
+
default: Zl
|
|
5910
5943
|
},
|
|
5911
5944
|
repeatStepMultiplier: {
|
|
5912
5945
|
type: [String, Number],
|
|
5913
|
-
default:
|
|
5946
|
+
default: eo
|
|
5914
5947
|
},
|
|
5915
5948
|
repeatThreshold: {
|
|
5916
5949
|
type: [String, Number],
|
|
5917
|
-
default:
|
|
5950
|
+
default: Ql
|
|
5918
5951
|
},
|
|
5919
5952
|
required: { type: [Boolean, String], default: !1 },
|
|
5920
|
-
step: { type: [String, Number], default:
|
|
5921
|
-
min: { type: [String, Number], default:
|
|
5922
|
-
max: { type: [String, Number], default:
|
|
5953
|
+
step: { type: [String, Number], default: Yl },
|
|
5954
|
+
min: { type: [String, Number], default: Xl },
|
|
5955
|
+
max: { type: [String, Number], default: Kl },
|
|
5923
5956
|
wrap: { type: Boolean, default: !1 },
|
|
5924
5957
|
state: { type: [Boolean, String], default: null }
|
|
5925
5958
|
},
|
|
@@ -5934,19 +5967,19 @@ const wn = {
|
|
|
5934
5967
|
}
|
|
5935
5968
|
});
|
|
5936
5969
|
let i, p, h = !1;
|
|
5937
|
-
const v = u(() => Jt(e.step,
|
|
5938
|
-
const q = Jt(e.max,
|
|
5970
|
+
const v = u(() => Jt(e.step, Yl)), m = u(() => Jt(e.min, Xl)), S = u(() => {
|
|
5971
|
+
const q = Jt(e.max, Kl), oe = v.value, ge = m.value;
|
|
5939
5972
|
return Math.floor((q - ge) / oe) * oe + ge;
|
|
5940
5973
|
}), B = u(() => {
|
|
5941
5974
|
const q = ot(e.repeatDelay, 0);
|
|
5942
|
-
return q > 0 ? q :
|
|
5975
|
+
return q > 0 ? q : Jl;
|
|
5943
5976
|
}), y = u(() => {
|
|
5944
5977
|
const q = ot(e.repeatInterval, 0);
|
|
5945
|
-
return q > 0 ? q :
|
|
5978
|
+
return q > 0 ? q : Zl;
|
|
5946
5979
|
}), A = u(
|
|
5947
|
-
() => Math.max(ot(e.repeatThreshold,
|
|
5980
|
+
() => Math.max(ot(e.repeatThreshold, Ql), 1)
|
|
5948
5981
|
), b = u(
|
|
5949
|
-
() => Math.max(ot(e.repeatStepMultiplier,
|
|
5982
|
+
() => Math.max(ot(e.repeatStepMultiplier, eo), 1)
|
|
5950
5983
|
), T = u(() => {
|
|
5951
5984
|
const q = v.value;
|
|
5952
5985
|
return Math.floor(q) === q ? 0 : (q.toString().split(".")[1] || "").length;
|
|
@@ -6002,14 +6035,14 @@ const wn = {
|
|
|
6002
6035
|
r.value === null ? r.value = e.wrap ? S.value : m.value : I(-1 * q);
|
|
6003
6036
|
}, K = (q) => {
|
|
6004
6037
|
const { code: oe, altKey: ge, ctrlKey: fe, metaKey: G } = q;
|
|
6005
|
-
if (!(e.disabled || e.readonly || ge || fe || G) &&
|
|
6038
|
+
if (!(e.disabled || e.readonly || ge || fe || G) && to.includes(oe)) {
|
|
6006
6039
|
if (Xt(q, { propagation: !1 }), h)
|
|
6007
6040
|
return;
|
|
6008
6041
|
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);
|
|
6009
6042
|
}
|
|
6010
6043
|
}, U = (q) => {
|
|
6011
6044
|
const { code: oe, altKey: ge, ctrlKey: fe, metaKey: G } = q;
|
|
6012
|
-
e.disabled || e.readonly || ge || fe || G ||
|
|
6045
|
+
e.disabled || e.readonly || ge || fe || G || to.includes(oe) && (Xt(q, { propagation: !1 }), le(), h = !1, n());
|
|
6013
6046
|
}, ie = (q, oe) => {
|
|
6014
6047
|
const { type: ge } = q || {};
|
|
6015
6048
|
if (!e.disabled && !e.readonly) {
|
|
@@ -6032,7 +6065,7 @@ const wn = {
|
|
|
6032
6065
|
ee(q) && q.type === "mouseup" && q.button || (Xt(q, { propagation: !1 }), le(), Q(!1), n());
|
|
6033
6066
|
}, Q = (q) => {
|
|
6034
6067
|
try {
|
|
6035
|
-
|
|
6068
|
+
Ul(q, [document.body, "mouseup", pe, !1]), Ul(q, [document.body, "touchend", pe, !1]);
|
|
6036
6069
|
} catch {
|
|
6037
6070
|
return 0;
|
|
6038
6071
|
}
|
|
@@ -6208,7 +6241,7 @@ const wn = {
|
|
|
6208
6241
|
re(Y(i.value), 1)
|
|
6209
6242
|
])
|
|
6210
6243
|
], 8, ud),
|
|
6211
|
-
!w(n) && !w(s) ? (g(), M(
|
|
6244
|
+
!w(n) && !w(s) ? (g(), M(Ft, {
|
|
6212
6245
|
key: 0,
|
|
6213
6246
|
"aria-keyshortcuts": "Delete",
|
|
6214
6247
|
"aria-label": v.removeLabel,
|
|
@@ -6273,7 +6306,7 @@ const wn = {
|
|
|
6273
6306
|
},
|
|
6274
6307
|
emits: ["update:modelValue", "input", "tag-state", "focus", "focusin", "focusout", "blur"],
|
|
6275
6308
|
setup(e, { expose: t, emit: l }) {
|
|
6276
|
-
const a = e, o = Be(a, "modelValue", l), n = $e(), s = d(() => a.addOnChange), r = d(() => a.autofocus), i = d(() => a.disabled), p = d(() => a.noAddOnEnter), h = d(() => a.noOuterFocus), v = d(() => a.noTagRemove), m = d(() => a.removeOnDelete), S = d(() => a.required), B = d(() => a.state), y = d(() => a.tagPills), A = we(u(() => a.limit ?? NaN)), b =
|
|
6309
|
+
const a = e, o = Be(a, "modelValue", l), n = $e(), s = d(() => a.addOnChange), r = d(() => a.autofocus), i = d(() => a.disabled), p = d(() => a.noAddOnEnter), h = d(() => a.noOuterFocus), v = d(() => a.noTagRemove), m = d(() => a.removeOnDelete), S = d(() => a.required), B = d(() => a.state), y = d(() => a.tagPills), A = we(u(() => a.limit ?? NaN)), b = gt(B), T = x(null), { focused: C } = Ie(T, {
|
|
6277
6310
|
initialValue: r.value
|
|
6278
6311
|
}), _ = u(() => a.inputId || `${n.value}input__`), $ = x(o.value), k = x(""), c = x(o.value.length > 0), V = x(""), L = x([]), f = x([]), N = x([]), I = u(() => [
|
|
6279
6312
|
b.value,
|
|
@@ -6413,7 +6446,7 @@ const wn = {
|
|
|
6413
6446
|
"aria-atomic": "true",
|
|
6414
6447
|
class: "visually-hidden"
|
|
6415
6448
|
}, " (" + Y(F.tagRemovedLabel) + ") " + Y(V.value), 9, fd),
|
|
6416
|
-
O(F.$slots, "default", xe(
|
|
6449
|
+
O(F.$slots, "default", xe(mt(ie.value)), () => [
|
|
6417
6450
|
Z("ul", {
|
|
6418
6451
|
id: `${w(n)}tag_list__`,
|
|
6419
6452
|
class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
|
|
@@ -6532,7 +6565,7 @@ const wn = {
|
|
|
6532
6565
|
},
|
|
6533
6566
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
6534
6567
|
setup(e, { expose: t, emit: l }) {
|
|
6535
|
-
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: p, focus: h, blur: v } = rn(a, l), m = d(() => a.disabled), S = d(() => a.required), B = d(() => a.readonly), y = d(() => a.plaintext), A = d(() => a.noResize), b = d(() => a.state), T =
|
|
6568
|
+
const a = e, { input: o, computedId: n, computedAriaInvalid: s, onInput: r, onChange: i, onBlur: p, focus: h, blur: v } = rn(a, l), m = d(() => a.disabled), S = d(() => a.required), B = d(() => a.readonly), y = d(() => a.plaintext), A = d(() => a.noResize), b = d(() => a.state), T = gt(b), C = u(() => [
|
|
6536
6569
|
T.value,
|
|
6537
6570
|
{
|
|
6538
6571
|
"form-control": !a.plaintext,
|
|
@@ -6631,7 +6664,7 @@ const wn = {
|
|
|
6631
6664
|
_: 3
|
|
6632
6665
|
}));
|
|
6633
6666
|
}
|
|
6634
|
-
}),
|
|
6667
|
+
}), rl = /* @__PURE__ */ H({
|
|
6635
6668
|
__name: "BInputGroupAddon",
|
|
6636
6669
|
props: {
|
|
6637
6670
|
isText: { type: [String, Boolean], default: !1 }
|
|
@@ -6651,7 +6684,7 @@ const wn = {
|
|
|
6651
6684
|
isText: { type: [String, Boolean], default: !1 }
|
|
6652
6685
|
},
|
|
6653
6686
|
setup(e) {
|
|
6654
|
-
return (t, l) => (g(), M(
|
|
6687
|
+
return (t, l) => (g(), M(rl, xe(mt(t.$props)), {
|
|
6655
6688
|
default: D(() => [
|
|
6656
6689
|
O(t.$slots, "default")
|
|
6657
6690
|
]),
|
|
@@ -6664,7 +6697,7 @@ const wn = {
|
|
|
6664
6697
|
isText: { type: [String, Boolean], default: !1 }
|
|
6665
6698
|
},
|
|
6666
6699
|
setup(e) {
|
|
6667
|
-
return (t, l) => (g(), M(
|
|
6700
|
+
return (t, l) => (g(), M(rl, xe(mt(t.$props)), {
|
|
6668
6701
|
default: D(() => [
|
|
6669
6702
|
O(t.$slots, "default")
|
|
6670
6703
|
]),
|
|
@@ -6714,7 +6747,7 @@ const wn = {
|
|
|
6714
6747
|
variant: { default: null }
|
|
6715
6748
|
},
|
|
6716
6749
|
setup(e) {
|
|
6717
|
-
const t = e, l =
|
|
6750
|
+
const t = e, l = vo(), a = Ae(ko, null), o = d(() => t.action), n = d(() => t.active), s = d(() => t.button), r = d(() => t.disabled), i = u(() => !s.value && (!!t.href || !!t.to)), p = u(
|
|
6718
6751
|
() => a != null && a.numbered.value ? "li" : s.value ? "button" : i.value ? Qe : t.tag
|
|
6719
6752
|
), h = u(
|
|
6720
6753
|
() => o.value || i.value || s.value || ["a", "router-link", "button", "b-link"].includes(t.tag)
|
|
@@ -6741,7 +6774,7 @@ const wn = {
|
|
|
6741
6774
|
_: 3
|
|
6742
6775
|
}, 16, ["class", "aria-current", "aria-disabled", "target", "href", "to"]));
|
|
6743
6776
|
}
|
|
6744
|
-
}),
|
|
6777
|
+
}), il = /* @__PURE__ */ H({
|
|
6745
6778
|
__name: "BOverlay",
|
|
6746
6779
|
props: {
|
|
6747
6780
|
bgColor: { default: void 0 },
|
|
@@ -6796,7 +6829,7 @@ const wn = {
|
|
|
6796
6829
|
}, {
|
|
6797
6830
|
default: D(() => [
|
|
6798
6831
|
O(C.$slots, "default"),
|
|
6799
|
-
ye(
|
|
6832
|
+
ye(Et, {
|
|
6800
6833
|
"no-fade": C.noFade,
|
|
6801
6834
|
"trans-props": { enterToClass: "show" },
|
|
6802
6835
|
name: "fade",
|
|
@@ -6819,7 +6852,7 @@ const wn = {
|
|
|
6819
6852
|
class: "position-absolute",
|
|
6820
6853
|
style: He(T.value)
|
|
6821
6854
|
}, [
|
|
6822
|
-
O(C.$slots, "overlay", xe(
|
|
6855
|
+
O(C.$slots, "overlay", xe(mt(S.value)), () => [
|
|
6823
6856
|
w(n) ? J("", !0) : (g(), M(ga, xe(te({ key: 0 }, S.value)), null, 16))
|
|
6824
6857
|
])
|
|
6825
6858
|
], 4)
|
|
@@ -6954,7 +6987,7 @@ const wn = {
|
|
|
6954
6987
|
{
|
|
6955
6988
|
"visually-hidden": c.value
|
|
6956
6989
|
}
|
|
6957
|
-
]), ne = u(() => p.value || r.value), _e = u(() => _.value || r.value), ke = (ve, Te = {}) => new
|
|
6990
|
+
]), ne = u(() => p.value || r.value), _e = u(() => _.value || r.value), ke = (ve, Te = {}) => new xt(ve, {
|
|
6958
6991
|
cancelable: !1,
|
|
6959
6992
|
target: f.value || null,
|
|
6960
6993
|
relatedTarget: null,
|
|
@@ -6993,7 +7026,7 @@ const wn = {
|
|
|
6993
7026
|
to: ve.teleportTo,
|
|
6994
7027
|
disabled: w(V)
|
|
6995
7028
|
}, [
|
|
6996
|
-
ye(
|
|
7029
|
+
ye(Et, {
|
|
6997
7030
|
"no-fade": !0,
|
|
6998
7031
|
"trans-props": { enterToClass: "show" },
|
|
6999
7032
|
onBeforeEnter: We,
|
|
@@ -7043,7 +7076,7 @@ const wn = {
|
|
|
7043
7076
|
O(ve.$slots, "header-close", {}, void 0, !0)
|
|
7044
7077
|
]),
|
|
7045
7078
|
_: 3
|
|
7046
|
-
}, 16)) : (g(), M(
|
|
7079
|
+
}, 16)) : (g(), M(Ft, te({
|
|
7047
7080
|
key: 1,
|
|
7048
7081
|
"aria-label": ve.headerCloseLabel
|
|
7049
7082
|
}, F.value, {
|
|
@@ -7099,7 +7132,7 @@ const wn = {
|
|
|
7099
7132
|
], 2)) : J("", !0)
|
|
7100
7133
|
], 2),
|
|
7101
7134
|
O(ve.$slots, "backdrop", {}, () => [
|
|
7102
|
-
ye(
|
|
7135
|
+
ye(il, {
|
|
7103
7136
|
variant: me.value,
|
|
7104
7137
|
show: w(y),
|
|
7105
7138
|
"no-spinner": "",
|
|
@@ -7177,7 +7210,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7177
7210
|
novalidate: a.novalidate,
|
|
7178
7211
|
validated: a.validated,
|
|
7179
7212
|
class: "d-flex",
|
|
7180
|
-
onSubmit:
|
|
7213
|
+
onSubmit: Ma(l, ["prevent"])
|
|
7181
7214
|
}), {
|
|
7182
7215
|
default: D(() => [
|
|
7183
7216
|
O(a.$slots, "default")
|
|
@@ -7192,7 +7225,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7192
7225
|
linkClass: { default: void 0 },
|
|
7193
7226
|
linkAttrs: { default: void 0 },
|
|
7194
7227
|
active: { type: [String, Boolean], default: void 0 },
|
|
7195
|
-
activeClass: { default:
|
|
7228
|
+
activeClass: { default: void 0 },
|
|
7196
7229
|
append: { type: [String, Boolean], default: !1 },
|
|
7197
7230
|
disabled: { type: [String, Boolean], default: !1 },
|
|
7198
7231
|
href: { default: void 0 },
|
|
@@ -7214,7 +7247,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7214
7247
|
emits: ["click"],
|
|
7215
7248
|
setup(e, { emit: t }) {
|
|
7216
7249
|
const l = e, a = d(() => l.disabled), o = u(
|
|
7217
|
-
() =>
|
|
7250
|
+
() => At(l, [
|
|
7218
7251
|
"active",
|
|
7219
7252
|
"activeClass",
|
|
7220
7253
|
"append",
|
|
@@ -7240,7 +7273,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7240
7273
|
ye(Qe, te({
|
|
7241
7274
|
class: ["nav-link", n.linkClass]
|
|
7242
7275
|
}, { ...o.value, ...n.linkAttrs }, {
|
|
7243
|
-
"active-class": n.activeClass
|
|
7276
|
+
"active-class": n.activeClass,
|
|
7244
7277
|
tabindex: w(a) ? -1 : void 0,
|
|
7245
7278
|
"aria-disabled": w(a) ? !0 : void 0,
|
|
7246
7279
|
onClick: s[0] || (s[0] = (r) => t("click", r))
|
|
@@ -7348,7 +7381,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7348
7381
|
[`fixed-${t.fixed}`]: t.fixed !== void 0,
|
|
7349
7382
|
[`${o.value}`]: o.value !== void 0
|
|
7350
7383
|
}));
|
|
7351
|
-
return Ge(
|
|
7384
|
+
return Ge(Ka, {
|
|
7352
7385
|
tag: Se(() => t.tag)
|
|
7353
7386
|
}), (r, i) => (g(), M(ae(r.tag), {
|
|
7354
7387
|
class: z(["navbar", s.value]),
|
|
@@ -7370,7 +7403,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7370
7403
|
props: {
|
|
7371
7404
|
tag: { default: "div" },
|
|
7372
7405
|
active: { type: [String, Boolean], default: void 0 },
|
|
7373
|
-
activeClass: { default:
|
|
7406
|
+
activeClass: { default: void 0 },
|
|
7374
7407
|
append: { type: [String, Boolean], default: !1 },
|
|
7375
7408
|
disabled: { type: [String, Boolean], default: !1 },
|
|
7376
7409
|
href: { default: void 0 },
|
|
@@ -7390,8 +7423,8 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7390
7423
|
icon: { type: [String, Boolean], default: !1 }
|
|
7391
7424
|
},
|
|
7392
7425
|
setup(e) {
|
|
7393
|
-
const t = e, l = u(() =>
|
|
7394
|
-
() => l.value ?
|
|
7426
|
+
const t = e, l = u(() => ct(t)), a = u(() => l.value ? Qe : t.tag), o = u(
|
|
7427
|
+
() => l.value ? At(t, [
|
|
7395
7428
|
"active",
|
|
7396
7429
|
"activeClass",
|
|
7397
7430
|
"append",
|
|
@@ -7442,27 +7475,27 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7442
7475
|
O(r.$slots, "default")
|
|
7443
7476
|
], 2));
|
|
7444
7477
|
}
|
|
7445
|
-
}),
|
|
7478
|
+
}), ao = (e, t) => e.setAttribute("data-bs-theme", t), Qd = {
|
|
7446
7479
|
mounted(e, t) {
|
|
7447
|
-
|
|
7480
|
+
ao(e, t.value);
|
|
7448
7481
|
},
|
|
7449
7482
|
updated(e, t) {
|
|
7450
|
-
|
|
7483
|
+
ao(e, t.value);
|
|
7451
7484
|
}
|
|
7452
|
-
},
|
|
7485
|
+
}, ul = (e, t) => {
|
|
7453
7486
|
const { modifiers: l, arg: a, value: o } = e, n = Object.keys(l || {}), s = typeof o == "string" ? o.split(Yt) : o;
|
|
7454
7487
|
if (Es(t.tagName, "a")) {
|
|
7455
|
-
const r =
|
|
7488
|
+
const r = Ua(t, "href") || "";
|
|
7456
7489
|
rs.test(r) && n.push(r.replace(ss, ""));
|
|
7457
7490
|
}
|
|
7458
7491
|
return Array.prototype.concat.apply([], [a, s]).forEach((r) => typeof r == "string" && n.push(r)), n.filter((r, i, p) => r && p.indexOf(r) === i);
|
|
7459
7492
|
}, ec = (e, t) => {
|
|
7460
|
-
|
|
7493
|
+
ul(e, t).forEach((a) => {
|
|
7461
7494
|
const o = document.getElementById(a);
|
|
7462
7495
|
o !== null && o.dispatchEvent(new Event("bv-toggle"));
|
|
7463
7496
|
}), setTimeout(() => Nn(e, t), 50);
|
|
7464
7497
|
}, Nn = (e, t) => {
|
|
7465
|
-
const l =
|
|
7498
|
+
const l = ul(e, t);
|
|
7466
7499
|
let a = !1;
|
|
7467
7500
|
l.forEach((o) => {
|
|
7468
7501
|
const n = document.getElementById(o);
|
|
@@ -7470,35 +7503,35 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7470
7503
|
}), t.setAttribute("aria-expanded", a ? "true" : "false"), t.classList.remove(a ? "collapsed" : "not-collapsed"), t.classList.add(a ? "not-collapsed" : "collapsed");
|
|
7471
7504
|
}, za = {
|
|
7472
7505
|
mounted(e, t) {
|
|
7473
|
-
e.__toggle = () => ec(t, e), e.addEventListener("click", e.__toggle), Nn(t, e), e.setAttribute("aria-controls",
|
|
7506
|
+
e.__toggle = () => ec(t, e), e.addEventListener("click", e.__toggle), Nn(t, e), e.setAttribute("aria-controls", ul(t, e).join(" "));
|
|
7474
7507
|
},
|
|
7475
7508
|
unmounted(e) {
|
|
7476
7509
|
e.removeEventListener("click", e.__toggle), e.removeAttribute("aria-controls"), e.removeAttribute("aria-expanded");
|
|
7477
7510
|
}
|
|
7478
7511
|
}, tc = {
|
|
7479
7512
|
mounted(e, t) {
|
|
7480
|
-
if (!
|
|
7513
|
+
if (!zt(t.value))
|
|
7481
7514
|
return;
|
|
7482
7515
|
const a = ra(t.value, e);
|
|
7483
7516
|
!a.content && !a.title || (e.$__state = x({
|
|
7484
|
-
|
|
7517
|
+
...Ct(t, e),
|
|
7485
7518
|
...a
|
|
7486
7519
|
}), ia(e, t));
|
|
7487
7520
|
},
|
|
7488
7521
|
updated(e, t) {
|
|
7489
|
-
if (!
|
|
7522
|
+
if (!zt(t.value))
|
|
7490
7523
|
return;
|
|
7491
7524
|
const a = ra(t.value, e);
|
|
7492
7525
|
if (!(!a.content && !a.title)) {
|
|
7493
7526
|
if (!e.$__state) {
|
|
7494
7527
|
e.$__state = x({
|
|
7495
|
-
|
|
7528
|
+
...Ct(t, e),
|
|
7496
7529
|
...a
|
|
7497
7530
|
}), ia(e, t);
|
|
7498
7531
|
return;
|
|
7499
7532
|
}
|
|
7500
7533
|
e.$__state.value = {
|
|
7501
|
-
|
|
7534
|
+
...Ct(t, e),
|
|
7502
7535
|
...a
|
|
7503
7536
|
};
|
|
7504
7537
|
}
|
|
@@ -7508,32 +7541,32 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7508
7541
|
}
|
|
7509
7542
|
}, ac = {
|
|
7510
7543
|
mounted(e, t) {
|
|
7511
|
-
const l =
|
|
7544
|
+
const l = zt(t.value);
|
|
7512
7545
|
if (!l)
|
|
7513
7546
|
return;
|
|
7514
7547
|
const a = ra(t.value, e);
|
|
7515
7548
|
!a.content && !a.title || (e.$__state = x({
|
|
7516
|
-
|
|
7549
|
+
...Ct(t, e),
|
|
7517
7550
|
title: a.title ?? a.content ?? "",
|
|
7518
7551
|
tooltip: l
|
|
7519
7552
|
}), ia(e, t));
|
|
7520
7553
|
},
|
|
7521
7554
|
updated(e, t) {
|
|
7522
|
-
const l =
|
|
7555
|
+
const l = zt(t.value);
|
|
7523
7556
|
if (!l)
|
|
7524
7557
|
return;
|
|
7525
7558
|
const a = ra(t.value, e);
|
|
7526
7559
|
if (!(!a.content && !a.title)) {
|
|
7527
7560
|
if (!e.$__state) {
|
|
7528
7561
|
e.$__state = x({
|
|
7529
|
-
|
|
7562
|
+
...Ct(t, e),
|
|
7530
7563
|
title: a.title ?? a.content ?? "",
|
|
7531
7564
|
tooltip: l
|
|
7532
7565
|
}), ia(e, t);
|
|
7533
7566
|
return;
|
|
7534
7567
|
}
|
|
7535
7568
|
e.$__state.value = {
|
|
7536
|
-
|
|
7569
|
+
...Ct(t, e),
|
|
7537
7570
|
title: a.title ?? a.content ?? "",
|
|
7538
7571
|
tooltip: l
|
|
7539
7572
|
};
|
|
@@ -7542,7 +7575,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7542
7575
|
beforeUnmount(e) {
|
|
7543
7576
|
dn(e);
|
|
7544
7577
|
}
|
|
7545
|
-
},
|
|
7578
|
+
}, lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7546
7579
|
__proto__: null,
|
|
7547
7580
|
vBColorMode: Qd,
|
|
7548
7581
|
vBModal: za,
|
|
@@ -7635,7 +7668,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7635
7668
|
{
|
|
7636
7669
|
show: s.value && C.value === !0
|
|
7637
7670
|
}
|
|
7638
|
-
]), I = (Q, le = {}) => new
|
|
7671
|
+
]), I = (Q, le = {}) => new xt(Q, {
|
|
7639
7672
|
cancelable: !1,
|
|
7640
7673
|
target: b.value || null,
|
|
7641
7674
|
relatedTarget: null,
|
|
@@ -7676,7 +7709,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7676
7709
|
to: Q.teleportTo,
|
|
7677
7710
|
disabled: w(y)
|
|
7678
7711
|
}, [
|
|
7679
|
-
ye(
|
|
7712
|
+
ye(Et, {
|
|
7680
7713
|
"no-fade": !0,
|
|
7681
7714
|
"trans-props": {
|
|
7682
7715
|
enterToClass: "showing",
|
|
@@ -7727,7 +7760,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7727
7760
|
O(Q.$slots, "header-close")
|
|
7728
7761
|
]),
|
|
7729
7762
|
_: 3
|
|
7730
|
-
}, 16)) : (g(), M(
|
|
7763
|
+
}, 16)) : (g(), M(Ft, te({
|
|
7731
7764
|
key: 1,
|
|
7732
7765
|
"aria-label": Q.headerCloseLabel
|
|
7733
7766
|
}, L.value, {
|
|
@@ -7759,7 +7792,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7759
7792
|
_: 3
|
|
7760
7793
|
}),
|
|
7761
7794
|
O(Q.$slots, "backdrop", {}, () => [
|
|
7762
|
-
ye(
|
|
7795
|
+
ye(il, {
|
|
7763
7796
|
variant: Q.backdropVariant,
|
|
7764
7797
|
show: $.value,
|
|
7765
7798
|
fixed: "",
|
|
@@ -7770,7 +7803,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7770
7803
|
])
|
|
7771
7804
|
], 8, ["to", "disabled"]));
|
|
7772
7805
|
}
|
|
7773
|
-
}), uc = 5, zn = 20, Hn = 0, Ue = 3, dc = "ellipsis-text", cc = "first-text", fc = "last-text", vc = "next-text", pc = "page", mc = "prev-text",
|
|
7806
|
+
}), uc = 5, zn = 20, Hn = 0, Ue = 3, dc = "ellipsis-text", cc = "first-text", fc = "last-text", vc = "next-text", pc = "page", mc = "prev-text", oo = (e) => Math.max(ot(e) || zn, 1), no = (e) => Math.max(ot(e) || Hn, 0), gc = (e, t) => {
|
|
7774
7807
|
const l = ot(e) || 1;
|
|
7775
7808
|
return l > t ? t : l < 1 ? 1 : l;
|
|
7776
7809
|
}, yc = H({
|
|
@@ -7813,7 +7846,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7813
7846
|
const a = Be(e, "modelValue", t), o = d(() => e.disabled), n = d(() => e.firstNumber), s = d(() => e.hideEllipsis), r = d(() => e.hideGotoEndButtons), i = d(() => e.lastNumber), p = d(() => e.pills), h = u(
|
|
7814
7847
|
() => e.align === "fill" ? "start" : e.align
|
|
7815
7848
|
), v = Rt(h), m = u(
|
|
7816
|
-
() => Math.ceil(
|
|
7849
|
+
() => Math.ceil(no(e.totalRows) / oo(e.perPage))
|
|
7817
7850
|
), S = u(() => {
|
|
7818
7851
|
let k;
|
|
7819
7852
|
return m.value - a.value + 2 < e.limit && e.limit > Ue ? k = m.value - y.value + 1 : k = a.value - Math.floor(y.value / 2), k < 1 ? k = 1 : k > m.value - y.value && (k = m.value - y.value + 1), e.limit <= Ue && i.value && m.value === k + y.value - 1 && (k = Math.max(k - 1, 1)), k;
|
|
@@ -7830,9 +7863,9 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7830
7863
|
a.value < e.limit - 1 && e.limit > Ue ? (!s.value || i.value) && (c = !0) : e.limit > Ue && (c = !!(!s.value || i.value)), S.value > k && (c = !1);
|
|
7831
7864
|
const V = S.value + y.value - 1;
|
|
7832
7865
|
return c && i.value && V > m.value - 3 && (c = !1), c;
|
|
7833
|
-
}), b =
|
|
7834
|
-
pageSize:
|
|
7835
|
-
totalRows:
|
|
7866
|
+
}), b = _t({
|
|
7867
|
+
pageSize: oo(e.perPage),
|
|
7868
|
+
totalRows: no(e.totalRows),
|
|
7836
7869
|
numberOfPages: m.value
|
|
7837
7870
|
}), T = (k, c) => {
|
|
7838
7871
|
if (c === a.value)
|
|
@@ -8098,7 +8131,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8098
8131
|
size: t.size,
|
|
8099
8132
|
variant: t.variant
|
|
8100
8133
|
}));
|
|
8101
|
-
return (i, p) => (g(), M(hn, { "img-bottom": i.imgBottom },
|
|
8134
|
+
return (i, p) => (g(), M(hn, { "img-bottom": i.imgBottom }, Da({
|
|
8102
8135
|
default: D(() => [
|
|
8103
8136
|
O(i.$slots, "default", {}, () => [
|
|
8104
8137
|
ye(Ne, te({ cols: "7" }, r.value), null, 16),
|
|
@@ -8151,7 +8184,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8151
8184
|
}
|
|
8152
8185
|
]), 1032, ["img-bottom"]));
|
|
8153
8186
|
}
|
|
8154
|
-
}),
|
|
8187
|
+
}), dl = /* @__PURE__ */ H({
|
|
8155
8188
|
__name: "BTableSimple",
|
|
8156
8189
|
props: {
|
|
8157
8190
|
bordered: { type: [String, Boolean], default: !1 },
|
|
@@ -8235,7 +8268,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8235
8268
|
), v = u(
|
|
8236
8269
|
() => t.footerColumns === void 0 ? i.value : r.value
|
|
8237
8270
|
), m = d(() => t.hideHeader), S = d(() => t.showFooter);
|
|
8238
|
-
return (B, y) => (g(), M(
|
|
8271
|
+
return (B, y) => (g(), M(dl, null, {
|
|
8239
8272
|
default: D(() => [
|
|
8240
8273
|
w(m) ? J("", !0) : O(B.$slots, "thead", { key: 0 }, () => [
|
|
8241
8274
|
Z("thead", null, [
|
|
@@ -8368,7 +8401,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8368
8401
|
])
|
|
8369
8402
|
], 4));
|
|
8370
8403
|
}
|
|
8371
|
-
}),
|
|
8404
|
+
}), so = fa("cols", [""], { type: [String, Number], default: null }), $c = H({
|
|
8372
8405
|
name: "BRow",
|
|
8373
8406
|
slots: Object,
|
|
8374
8407
|
props: {
|
|
@@ -8379,10 +8412,10 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8379
8412
|
alignV: { type: String, default: null },
|
|
8380
8413
|
alignH: { type: String, default: null },
|
|
8381
8414
|
alignContent: { type: String, default: null },
|
|
8382
|
-
...
|
|
8415
|
+
...so
|
|
8383
8416
|
},
|
|
8384
8417
|
setup(e) {
|
|
8385
|
-
const t = d(() => e.noGutters), l = Rt(() => e.alignH), a = u(() => So(e,
|
|
8418
|
+
const t = d(() => e.noGutters), l = Rt(() => e.alignH), a = u(() => So(e, so, "cols", "row-cols"));
|
|
8386
8419
|
return {
|
|
8387
8420
|
computedClasses: u(() => [
|
|
8388
8421
|
a.value,
|
|
@@ -8429,11 +8462,11 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8429
8462
|
const t = e.target;
|
|
8430
8463
|
if ("disabled" in t && t.disabled || kc.indexOf(t.tagName) !== -1)
|
|
8431
8464
|
return !1;
|
|
8432
|
-
if (
|
|
8465
|
+
if (ml(".dropdown-menu", t))
|
|
8433
8466
|
return !0;
|
|
8434
|
-
const l = t.tagName === "LABEL" ? t :
|
|
8467
|
+
const l = t.tagName === "LABEL" ? t : ml("label", t);
|
|
8435
8468
|
if (l) {
|
|
8436
|
-
const a =
|
|
8469
|
+
const a = Ua(l, "for"), o = a ? Os(a) : ho("input, select, textarea", l);
|
|
8437
8470
|
if (o && !o.disabled)
|
|
8438
8471
|
return !0;
|
|
8439
8472
|
}
|
|
@@ -8480,13 +8513,13 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8480
8513
|
{
|
|
8481
8514
|
[`align-${l.align}`]: l.align !== void 0
|
|
8482
8515
|
}
|
|
8483
|
-
]), i = u(() => v(l.fields, l.items)), p = u(() => i.value.length + s.value), h = (c) => typeof c == "string" ?
|
|
8516
|
+
]), i = u(() => v(l.fields, l.items)), p = u(() => i.value.length + s.value), h = (c) => typeof c == "string" ? fl(c) : c.label !== void 0 ? c.label : typeof c.key == "string" ? fl(c.key) : c.key, v = (c, V) => {
|
|
8484
8517
|
const L = [];
|
|
8485
|
-
return !(c != null && c.length) && (V != null && V.length) ? (Object.keys(V[0]).forEach((f) => L.push({ key: f, label:
|
|
8486
|
-
typeof f == "string" ? L.push({ key: f, label:
|
|
8518
|
+
return !(c != null && c.length) && (V != null && V.length) ? (Object.keys(V[0]).forEach((f) => L.push({ key: f, label: cl(f) })), L) : (Array.isArray(c) && c.forEach((f) => {
|
|
8519
|
+
typeof f == "string" ? L.push({ key: f, label: cl(f) }) : Sa(f) && f.key && typeof f.key == "string" && L.push({ ...f });
|
|
8487
8520
|
}), L);
|
|
8488
8521
|
}, m = (c, V, L) => {
|
|
8489
|
-
const f =
|
|
8522
|
+
const f = gl(c, V);
|
|
8490
8523
|
return L && typeof L == "function" ? L(f, V, c) : f;
|
|
8491
8524
|
}, S = (c, V) => m(c, V.key, V.formatter), B = (c, V, L = !1) => {
|
|
8492
8525
|
const f = typeof c == "string" ? c : c.key;
|
|
@@ -8522,7 +8555,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8522
8555
|
}
|
|
8523
8556
|
return L;
|
|
8524
8557
|
};
|
|
8525
|
-
return (c, V) => (g(), M(
|
|
8558
|
+
return (c, V) => (g(), M(dl, {
|
|
8526
8559
|
bordered: c.bordered,
|
|
8527
8560
|
borderless: c.borderless,
|
|
8528
8561
|
"border-variant": c.borderVariant,
|
|
@@ -8606,7 +8639,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8606
8639
|
c.stacked && w(o) ? (g(), P("label", Fc, Y(h(I)), 1)) : J("", !0),
|
|
8607
8640
|
c.$slots[`cell(${I.key})`] || c.$slots["cell()"] ? O(c.$slots, c.$slots[`cell(${I.key})`] ? `cell(${I.key})` : "cell()", {
|
|
8608
8641
|
key: 1,
|
|
8609
|
-
value: w(
|
|
8642
|
+
value: w(gl)(f, I.key),
|
|
8610
8643
|
index: N,
|
|
8611
8644
|
item: f,
|
|
8612
8645
|
field: I,
|
|
@@ -8901,7 +8934,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8901
8934
|
"virtual-fields": w(y) ? 1 : 0,
|
|
8902
8935
|
onHeadClicked: K,
|
|
8903
8936
|
onRowClicked: j
|
|
8904
|
-
}),
|
|
8937
|
+
}), Da({
|
|
8905
8938
|
"field-prefix": D((W) => [
|
|
8906
8939
|
O(F.$slots, "sort-icon", {
|
|
8907
8940
|
field: W.field,
|
|
@@ -8967,7 +9000,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8967
9000
|
be(F.$slots, (W, ne) => ({
|
|
8968
9001
|
name: ne,
|
|
8969
9002
|
fn: D((_e) => [
|
|
8970
|
-
O(F.$slots, ne, xe(
|
|
9003
|
+
O(F.$slots, ne, xe(mt(_e)))
|
|
8971
9004
|
])
|
|
8972
9005
|
}))
|
|
8973
9006
|
]), 1040, ["busy", "items", "table-classes", "virtual-fields"]));
|
|
@@ -9316,7 +9349,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9316
9349
|
"aria-controls": j,
|
|
9317
9350
|
"aria-selected": U
|
|
9318
9351
|
}, (Q = I == null ? void 0 : I.props) == null ? void 0 : Q["title-link-attributes"], {
|
|
9319
|
-
onClick:
|
|
9352
|
+
onClick: Ma((me) => L(me, ee), ["stop", "prevent"])
|
|
9320
9353
|
}), [
|
|
9321
9354
|
I.children && I.children.title ? (g(), M(ae(I.children.title), { key: 0 })) : (g(), P(ce, { key: 1 }, [
|
|
9322
9355
|
re(Y((le = I == null ? void 0 : I.props) == null ? void 0 : le.title), 1)
|
|
@@ -9357,20 +9390,20 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9357
9390
|
hide: (a = l.value) == null ? void 0 : a.hideFn,
|
|
9358
9391
|
show: (o = l.value) == null ? void 0 : o.show,
|
|
9359
9392
|
toggle: (n = l.value) == null ? void 0 : n.toggle
|
|
9360
|
-
}), (s, r) => (g(), M(
|
|
9393
|
+
}), (s, r) => (g(), M(ol, {
|
|
9361
9394
|
ref_key: "popover",
|
|
9362
9395
|
ref: l,
|
|
9363
9396
|
tooltip: ""
|
|
9364
|
-
},
|
|
9397
|
+
}, Da({ _: 2 }, [
|
|
9365
9398
|
be(s.$slots, (i, p) => ({
|
|
9366
9399
|
name: p,
|
|
9367
9400
|
fn: D((h) => [
|
|
9368
|
-
O(s.$slots, p, xe(
|
|
9401
|
+
O(s.$slots, p, xe(mt(h)))
|
|
9369
9402
|
])
|
|
9370
9403
|
}))
|
|
9371
9404
|
]), 1536));
|
|
9372
9405
|
}
|
|
9373
|
-
}),
|
|
9406
|
+
}), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9374
9407
|
__proto__: null,
|
|
9375
9408
|
BAccordion: fi,
|
|
9376
9409
|
BAccordionItem: gi,
|
|
@@ -9394,8 +9427,8 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9394
9427
|
BCardTitle: mn,
|
|
9395
9428
|
BCarousel: Wi,
|
|
9396
9429
|
BCarouselSlide: Ji,
|
|
9397
|
-
BCloseButton:
|
|
9398
|
-
BCol:
|
|
9430
|
+
BCloseButton: Ft,
|
|
9431
|
+
BCol: It,
|
|
9399
9432
|
BCollapse: cn,
|
|
9400
9433
|
BContainer: ou,
|
|
9401
9434
|
BDropdown: Cn,
|
|
@@ -9418,7 +9451,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9418
9451
|
BFormRadioGroup: Qu,
|
|
9419
9452
|
BFormRow: Qt,
|
|
9420
9453
|
BFormSelect: ld,
|
|
9421
|
-
BFormSelectOption:
|
|
9454
|
+
BFormSelectOption: sl,
|
|
9422
9455
|
BFormSelectOptionGroup: On,
|
|
9423
9456
|
BFormSpinButton: id,
|
|
9424
9457
|
BFormTag: In,
|
|
@@ -9426,9 +9459,9 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9426
9459
|
BFormText: Fa,
|
|
9427
9460
|
BFormTextarea: _d,
|
|
9428
9461
|
BFormValidFeedback: Ia,
|
|
9429
|
-
BImg:
|
|
9462
|
+
BImg: nl,
|
|
9430
9463
|
BInputGroup: Ed,
|
|
9431
|
-
BInputGroupAddon:
|
|
9464
|
+
BInputGroupAddon: rl,
|
|
9432
9465
|
BInputGroupAppend: Fd,
|
|
9433
9466
|
BInputGroupPrepend: Id,
|
|
9434
9467
|
BInputGroupText: Ln,
|
|
@@ -9446,14 +9479,14 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9446
9479
|
BNavbarNav: Zd,
|
|
9447
9480
|
BNavbarToggle: nc,
|
|
9448
9481
|
BOffcanvas: ic,
|
|
9449
|
-
BOverlay:
|
|
9482
|
+
BOverlay: il,
|
|
9450
9483
|
BPagination: yc,
|
|
9451
9484
|
BPlaceholder: Ne,
|
|
9452
9485
|
BPlaceholderButton: xn,
|
|
9453
9486
|
BPlaceholderCard: bc,
|
|
9454
9487
|
BPlaceholderTable: hc,
|
|
9455
9488
|
BPlaceholderWrapper: Bc,
|
|
9456
|
-
BPopover:
|
|
9489
|
+
BPopover: ol,
|
|
9457
9490
|
BProgress: wc,
|
|
9458
9491
|
BProgressBar: Rn,
|
|
9459
9492
|
BRow: _c,
|
|
@@ -9461,7 +9494,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9461
9494
|
BTab: af,
|
|
9462
9495
|
BTable: Gc,
|
|
9463
9496
|
BTableLite: Mn,
|
|
9464
|
-
BTableSimple:
|
|
9497
|
+
BTableSimple: dl,
|
|
9465
9498
|
BTabs: of,
|
|
9466
9499
|
BTbody: Wc,
|
|
9467
9500
|
BTd: Kc,
|
|
@@ -9474,7 +9507,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9474
9507
|
BToaster: Pa,
|
|
9475
9508
|
BTooltip: nf,
|
|
9476
9509
|
BTr: tf,
|
|
9477
|
-
BTransition:
|
|
9510
|
+
BTransition: Et
|
|
9478
9511
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9479
9512
|
const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9480
9513
|
__proto__: null,
|
|
@@ -9484,19 +9517,19 @@ const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9484
9517
|
__proto__: null,
|
|
9485
9518
|
BvCarouselEvent: po,
|
|
9486
9519
|
BvEvent: Ke,
|
|
9487
|
-
BvTriggerableEvent:
|
|
9520
|
+
BvTriggerableEvent: xt
|
|
9488
9521
|
}, Symbol.toStringTag, { value: "Module" })), cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9489
9522
|
__proto__: null
|
|
9490
9523
|
}, Symbol.toStringTag, { value: "Module" })), ff = {
|
|
9491
9524
|
install(e, t = { components: !0, directives: !0 }) {
|
|
9492
|
-
const l = typeof t.components == "boolean" || typeof t.components > "u" ? { all: !0 } : t.components, a = Object.keys(
|
|
9493
|
-
|
|
9494
|
-
const r =
|
|
9525
|
+
const l = typeof t.components == "boolean" || typeof t.components > "u" ? { all: !0 } : t.components, a = Object.keys(ro);
|
|
9526
|
+
Rl(l, a).forEach((s) => {
|
|
9527
|
+
const r = ro[s];
|
|
9495
9528
|
e.component(s, r);
|
|
9496
9529
|
});
|
|
9497
|
-
const o = typeof (t == null ? void 0 : t.directives) == "boolean" || typeof t.directives > "u" ? { all: !0 } : t == null ? void 0 : t.directives, n = Object.keys(
|
|
9498
|
-
|
|
9499
|
-
const r = s.toLowerCase().startsWith("v") ? s.slice(1) : s, i =
|
|
9530
|
+
const o = typeof (t == null ? void 0 : t.directives) == "boolean" || typeof t.directives > "u" ? { all: !0 } : t == null ? void 0 : t.directives, n = Object.keys(lo);
|
|
9531
|
+
Rl(o, n).forEach((s) => {
|
|
9532
|
+
const r = s.toLowerCase().startsWith("v") ? s.slice(1) : s, i = lo[s];
|
|
9500
9533
|
e.directive(r, i);
|
|
9501
9534
|
}), t != null && t.BToast && e.use(wn, t);
|
|
9502
9535
|
}
|
|
@@ -9524,8 +9557,8 @@ export {
|
|
|
9524
9557
|
mn as BCardTitle,
|
|
9525
9558
|
Wi as BCarousel,
|
|
9526
9559
|
Ji as BCarouselSlide,
|
|
9527
|
-
|
|
9528
|
-
|
|
9560
|
+
Ft as BCloseButton,
|
|
9561
|
+
It as BCol,
|
|
9529
9562
|
cn as BCollapse,
|
|
9530
9563
|
ou as BContainer,
|
|
9531
9564
|
Cn as BDropdown,
|
|
@@ -9548,7 +9581,7 @@ export {
|
|
|
9548
9581
|
Qu as BFormRadioGroup,
|
|
9549
9582
|
Qt as BFormRow,
|
|
9550
9583
|
ld as BFormSelect,
|
|
9551
|
-
|
|
9584
|
+
sl as BFormSelectOption,
|
|
9552
9585
|
On as BFormSelectOptionGroup,
|
|
9553
9586
|
id as BFormSpinButton,
|
|
9554
9587
|
In as BFormTag,
|
|
@@ -9556,9 +9589,9 @@ export {
|
|
|
9556
9589
|
Fa as BFormText,
|
|
9557
9590
|
_d as BFormTextarea,
|
|
9558
9591
|
Ia as BFormValidFeedback,
|
|
9559
|
-
|
|
9592
|
+
nl as BImg,
|
|
9560
9593
|
Ed as BInputGroup,
|
|
9561
|
-
|
|
9594
|
+
rl as BInputGroupAddon,
|
|
9562
9595
|
Fd as BInputGroupAppend,
|
|
9563
9596
|
Id as BInputGroupPrepend,
|
|
9564
9597
|
Ln as BInputGroupText,
|
|
@@ -9576,14 +9609,14 @@ export {
|
|
|
9576
9609
|
Zd as BNavbarNav,
|
|
9577
9610
|
nc as BNavbarToggle,
|
|
9578
9611
|
ic as BOffcanvas,
|
|
9579
|
-
|
|
9612
|
+
il as BOverlay,
|
|
9580
9613
|
yc as BPagination,
|
|
9581
9614
|
Ne as BPlaceholder,
|
|
9582
9615
|
xn as BPlaceholderButton,
|
|
9583
9616
|
bc as BPlaceholderCard,
|
|
9584
9617
|
hc as BPlaceholderTable,
|
|
9585
9618
|
Bc as BPlaceholderWrapper,
|
|
9586
|
-
|
|
9619
|
+
ol as BPopover,
|
|
9587
9620
|
wc as BProgress,
|
|
9588
9621
|
Rn as BProgressBar,
|
|
9589
9622
|
_c as BRow,
|
|
@@ -9591,7 +9624,7 @@ export {
|
|
|
9591
9624
|
af as BTab,
|
|
9592
9625
|
Gc as BTable,
|
|
9593
9626
|
Mn as BTableLite,
|
|
9594
|
-
|
|
9627
|
+
dl as BTableSimple,
|
|
9595
9628
|
of as BTabs,
|
|
9596
9629
|
Wc as BTbody,
|
|
9597
9630
|
Kc as BTd,
|
|
@@ -9604,14 +9637,14 @@ export {
|
|
|
9604
9637
|
Pa as BToaster,
|
|
9605
9638
|
nf as BTooltip,
|
|
9606
9639
|
tf as BTr,
|
|
9607
|
-
|
|
9640
|
+
Et as BTransition,
|
|
9608
9641
|
ff as BootstrapVueNext,
|
|
9609
9642
|
po as BvCarouselEvent,
|
|
9610
9643
|
Ke as BvEvent,
|
|
9611
|
-
|
|
9612
|
-
|
|
9644
|
+
xt as BvTriggerableEvent,
|
|
9645
|
+
ro as Components,
|
|
9613
9646
|
uf as Composables,
|
|
9614
|
-
|
|
9647
|
+
lo as Directives,
|
|
9615
9648
|
cf as Types,
|
|
9616
9649
|
df as Utils,
|
|
9617
9650
|
ff as default,
|