bootstrap-vue-next 0.10.9 → 0.10.11
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 +433 -395
- 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/BDropdown/BDropdownItem.vue.d.ts +122 -15
- package/dist/src/components/BFormCheckbox/BFormCheckbox.vue.d.ts +1 -0
- package/dist/src/components/BFormFile/BFormFile.vue.d.ts +1 -0
- package/dist/src/components/BFormInput/BFormInput.vue.d.ts +1 -0
- package/dist/src/components/BFormRadio/BFormRadio.vue.d.ts +1 -0
- package/dist/src/components/BFormSelect/BFormSelect.vue.d.ts +1 -0
- package/dist/src/components/BFormTags/BFormTags.vue.d.ts +1 -0
- package/dist/src/components/BFormTextarea/BFormTextarea.vue.d.ts +1 -0
- 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/BDropdown/BDropdownItem.vue +64 -29
- package/src/components/BFormCheckbox/BFormCheckbox.vue +1 -0
- package/src/components/BFormFile/BFormFile.vue +1 -0
- package/src/components/BFormInput/BFormInput.vue +1 -0
- package/src/components/BFormRadio/BFormRadio.vue +1 -0
- package/src/components/BFormSelect/BFormSelect.vue +1 -0
- package/src/components/BFormTags/BFormTags.vue +1 -0
- package/src/components/BFormTextarea/BFormTextarea.vue +1 -0
- 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(
|
|
@@ -3955,7 +3955,7 @@ const ya = (e, t) => {
|
|
|
3955
3955
|
O(p.$slots, "img", {}, () => {
|
|
3956
3956
|
var v, m;
|
|
3957
3957
|
return [
|
|
3958
|
-
ye(
|
|
3958
|
+
ye(nl, {
|
|
3959
3959
|
class: "d-block w-100",
|
|
3960
3960
|
alt: p.imgAlt,
|
|
3961
3961
|
srcset: p.imgSrcset,
|
|
@@ -4000,7 +4000,7 @@ const ya = (e, t) => {
|
|
|
4000
4000
|
}, 8, ["class"])) : J("", !0)
|
|
4001
4001
|
], 4));
|
|
4002
4002
|
}
|
|
4003
|
-
}),
|
|
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({
|
|
4004
4004
|
name: "BCol",
|
|
4005
4005
|
slots: Object,
|
|
4006
4006
|
props: {
|
|
@@ -4008,19 +4008,19 @@ const ya = (e, t) => {
|
|
|
4008
4008
|
// Generic flexbox .col (xs)
|
|
4009
4009
|
cols: { type: [String, Number], default: null },
|
|
4010
4010
|
// .col-[1-12]|auto (xs)
|
|
4011
|
-
...
|
|
4011
|
+
...Ml,
|
|
4012
4012
|
offset: { type: [String, Number], default: null },
|
|
4013
|
-
...
|
|
4013
|
+
...Dl,
|
|
4014
4014
|
order: { type: [String, Number], default: null },
|
|
4015
|
-
...
|
|
4015
|
+
...jl,
|
|
4016
4016
|
alignSelf: { type: String, default: null },
|
|
4017
4017
|
tag: { type: String, default: "div" }
|
|
4018
4018
|
},
|
|
4019
4019
|
setup(e) {
|
|
4020
4020
|
const t = [
|
|
4021
|
-
{ content:
|
|
4022
|
-
{ content:
|
|
4023
|
-
{ content:
|
|
4021
|
+
{ content: Ml, propPrefix: "cols", classPrefix: "col" },
|
|
4022
|
+
{ content: Dl, propPrefix: "offset" },
|
|
4023
|
+
{ content: jl, propPrefix: "order" }
|
|
4024
4024
|
], l = d(() => e.col), a = u(
|
|
4025
4025
|
() => t.flatMap((n) => So(e, n.content, n.propPrefix, n.classPrefix))
|
|
4026
4026
|
);
|
|
@@ -4048,18 +4048,18 @@ function Qi(e, t, l, a, o, n) {
|
|
|
4048
4048
|
_: 3
|
|
4049
4049
|
}, 8, ["class"]);
|
|
4050
4050
|
}
|
|
4051
|
-
const
|
|
4051
|
+
const It = /* @__PURE__ */ ya(Zi, [["render", Qi]]), bt = {
|
|
4052
4052
|
autoHide: !0,
|
|
4053
4053
|
delay: 5e3,
|
|
4054
4054
|
noCloseButton: !1,
|
|
4055
4055
|
pos: "top-right",
|
|
4056
4056
|
value: !0
|
|
4057
4057
|
};
|
|
4058
|
-
class
|
|
4058
|
+
class ql {
|
|
4059
4059
|
constructor(t) {
|
|
4060
4060
|
Ve(this, "vm");
|
|
4061
4061
|
Ve(this, "containerPositions");
|
|
4062
|
-
Yn(t) ? this.vm = t : this.vm =
|
|
4062
|
+
Yn(t) ? this.vm = t : this.vm = _t(t), this.containerPositions = u(() => {
|
|
4063
4063
|
const l = /* @__PURE__ */ new Set([]);
|
|
4064
4064
|
return this.vm.toasts.map((a) => {
|
|
4065
4065
|
a.options.pos && l.add(a.options.pos);
|
|
@@ -4083,23 +4083,23 @@ class Gl {
|
|
|
4083
4083
|
isRoot() {
|
|
4084
4084
|
return this.vm.root ?? !1;
|
|
4085
4085
|
}
|
|
4086
|
-
show(t, l =
|
|
4087
|
-
const a = { id: lt(), ...
|
|
4088
|
-
options:
|
|
4086
|
+
show(t, l = bt) {
|
|
4087
|
+
const a = { id: lt(), ...bt, ...l }, o = {
|
|
4088
|
+
options: _t(a),
|
|
4089
4089
|
content: t
|
|
4090
4090
|
};
|
|
4091
4091
|
return this.vm.toasts.push(o), o;
|
|
4092
4092
|
}
|
|
4093
|
-
info(t, l =
|
|
4093
|
+
info(t, l = bt) {
|
|
4094
4094
|
return this.show(t, { variant: "info", ...l });
|
|
4095
4095
|
}
|
|
4096
|
-
danger(t, l =
|
|
4096
|
+
danger(t, l = bt) {
|
|
4097
4097
|
return this.show(t, { variant: "danger", ...l });
|
|
4098
4098
|
}
|
|
4099
|
-
warning(t, l =
|
|
4099
|
+
warning(t, l = bt) {
|
|
4100
4100
|
return this.show(t, { variant: "warning", ...l });
|
|
4101
4101
|
}
|
|
4102
|
-
success(t, l =
|
|
4102
|
+
success(t, l = bt) {
|
|
4103
4103
|
return this.show(t, { variant: "success", ...l });
|
|
4104
4104
|
}
|
|
4105
4105
|
hide() {
|
|
@@ -4144,9 +4144,9 @@ function au() {
|
|
|
4144
4144
|
function Sn(e, t = Aa) {
|
|
4145
4145
|
const l = Ae(au());
|
|
4146
4146
|
if (!e)
|
|
4147
|
-
return new
|
|
4147
|
+
return new ql(l.getOrCreateViewModel());
|
|
4148
4148
|
const a = { id: Symbol("toastInstance") }, o = { ...tu, ...a, ...e }, n = l.getOrCreateViewModel(o);
|
|
4149
|
-
return new
|
|
4149
|
+
return new ql(n);
|
|
4150
4150
|
}
|
|
4151
4151
|
const wn = {
|
|
4152
4152
|
install: (e, t) => {
|
|
@@ -4154,7 +4154,7 @@ const wn = {
|
|
|
4154
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;
|
|
4155
4155
|
e.provide(Bn, l), e.provide(l, new eu());
|
|
4156
4156
|
}
|
|
4157
|
-
}, lu = "toast-title",
|
|
4157
|
+
}, lu = "toast-title", Gl = 1e3, $n = H({
|
|
4158
4158
|
components: { BLink: Qe },
|
|
4159
4159
|
props: {
|
|
4160
4160
|
...hi,
|
|
@@ -4194,7 +4194,7 @@ const wn = {
|
|
|
4194
4194
|
}, b = u(
|
|
4195
4195
|
() => (
|
|
4196
4196
|
// Minimum supported duration is 1 second
|
|
4197
|
-
Math.max(ot(e.delay, 0),
|
|
4197
|
+
Math.max(ot(e.delay, 0), Gl)
|
|
4198
4198
|
)
|
|
4199
4199
|
), T = () => {
|
|
4200
4200
|
i.value && (B = y = 0, A(), h.value = !0, qt(() => {
|
|
@@ -4210,7 +4210,7 @@ const wn = {
|
|
|
4210
4210
|
if (!o.value || r.value || !S || y)
|
|
4211
4211
|
return;
|
|
4212
4212
|
const I = Date.now() - B;
|
|
4213
|
-
I > 0 && (A(), y = Math.max(b.value - I,
|
|
4213
|
+
I > 0 && (A(), y = Math.max(b.value - I, Gl));
|
|
4214
4214
|
}, $ = () => {
|
|
4215
4215
|
(!o.value || r.value || !y) && (y = B = 0), k();
|
|
4216
4216
|
};
|
|
@@ -4248,7 +4248,7 @@ const wn = {
|
|
|
4248
4248
|
const I = () => {
|
|
4249
4249
|
const E = [], j = ze(lu, { hide: T }, l);
|
|
4250
4250
|
j ? E.push(ue(j)) : e.title && E.push(ue("strong", { class: "me-auto" }, e.title)), !n.value && E.length !== 0 && E.push(
|
|
4251
|
-
ue(
|
|
4251
|
+
ue(Ft, {
|
|
4252
4252
|
class: ["btn-close"],
|
|
4253
4253
|
onClick: () => {
|
|
4254
4254
|
T();
|
|
@@ -4266,10 +4266,10 @@ const wn = {
|
|
|
4266
4266
|
)
|
|
4267
4267
|
), ze("default", { hide: T }, l) || e.body) {
|
|
4268
4268
|
const U = ue(
|
|
4269
|
-
|
|
4269
|
+
ct(e) ? "b-link" : "div",
|
|
4270
4270
|
{
|
|
4271
4271
|
class: ["toast-body", e.bodyClass],
|
|
4272
|
-
onClick:
|
|
4272
|
+
onClick: ct(e) ? { click: N } : {}
|
|
4273
4273
|
},
|
|
4274
4274
|
ze("default", { hide: T }, l) || e.body
|
|
4275
4275
|
);
|
|
@@ -4297,7 +4297,7 @@ const wn = {
|
|
|
4297
4297
|
},
|
|
4298
4298
|
[
|
|
4299
4299
|
ue(
|
|
4300
|
-
|
|
4300
|
+
Et,
|
|
4301
4301
|
{
|
|
4302
4302
|
noFade: s.value,
|
|
4303
4303
|
onAfterEnter: V,
|
|
@@ -4676,34 +4676,65 @@ const wn = {
|
|
|
4676
4676
|
inheritAttrs: !1,
|
|
4677
4677
|
__name: "BDropdownItem",
|
|
4678
4678
|
props: {
|
|
4679
|
-
href: { default: void 0 },
|
|
4680
4679
|
linkClass: { default: void 0 },
|
|
4681
|
-
active: { type: [String, Boolean], default:
|
|
4682
|
-
|
|
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 },
|
|
4683
4685
|
rel: { default: void 0 },
|
|
4686
|
+
replace: { type: [String, Boolean], default: !1 },
|
|
4687
|
+
routerComponentName: { default: "router-link" },
|
|
4684
4688
|
target: { default: "_self" },
|
|
4685
|
-
|
|
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] }
|
|
4686
4699
|
},
|
|
4687
4700
|
emits: ["click"],
|
|
4688
4701
|
setup(e, { emit: t }) {
|
|
4689
|
-
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(() => [
|
|
4690
4703
|
l.linkClass,
|
|
4691
4704
|
{
|
|
4692
4705
|
active: a.value,
|
|
4693
4706
|
disabled: o.value,
|
|
4694
4707
|
[`text-${l.variant}`]: l.variant !== null
|
|
4695
4708
|
}
|
|
4696
|
-
]), r = u(
|
|
4697
|
-
() =>
|
|
4698
|
-
), i = u(
|
|
4699
|
-
|
|
4700
|
-
|
|
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) => {
|
|
4701
4732
|
var B, y;
|
|
4702
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);
|
|
4703
4734
|
};
|
|
4704
4735
|
return (S, B) => (g(), P("li", yu, [
|
|
4705
4736
|
(g(), M(ae(r.value), te({
|
|
4706
|
-
class: ["dropdown-item",
|
|
4737
|
+
class: ["dropdown-item", n.value],
|
|
4707
4738
|
disabled: w(o),
|
|
4708
4739
|
"aria-disabled": w(o) ? !0 : null,
|
|
4709
4740
|
"aria-current": w(a) ? !0 : null,
|
|
@@ -4787,7 +4818,7 @@ const wn = {
|
|
|
4787
4818
|
id: i.id,
|
|
4788
4819
|
novalidate: w(o),
|
|
4789
4820
|
class: z(s.value),
|
|
4790
|
-
onSubmit:
|
|
4821
|
+
onSubmit: Ma(r, ["prevent"])
|
|
4791
4822
|
}, [
|
|
4792
4823
|
O(i.$slots, "default")
|
|
4793
4824
|
], 42, _u));
|
|
@@ -4988,8 +5019,9 @@ const wn = {
|
|
|
4988
5019
|
},
|
|
4989
5020
|
blur: () => {
|
|
4990
5021
|
C.value = !1;
|
|
4991
|
-
}
|
|
4992
|
-
|
|
5022
|
+
},
|
|
5023
|
+
input: T
|
|
5024
|
+
}), (I, E) => (g(), M(al, {
|
|
4993
5025
|
skip: c.value,
|
|
4994
5026
|
class: z(w(L))
|
|
4995
5027
|
}, {
|
|
@@ -5171,10 +5203,10 @@ const wn = {
|
|
|
5171
5203
|
setup(e, { expose: t, emit: l }) {
|
|
5172
5204
|
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);
|
|
5173
5205
|
d(() => a.noTraverse);
|
|
5174
|
-
const m = d(() => a.required), S = d(() => a.state), B =
|
|
5206
|
+
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(
|
|
5175
5207
|
() => typeof a.accept == "string" ? a.accept : a.accept.join(",")
|
|
5176
5208
|
), C = u(
|
|
5177
|
-
() => a.capture === "user" || a.capture === "environment" ? a.capture :
|
|
5209
|
+
() => a.capture === "user" || a.capture === "environment" ? a.capture : ja(a.capture)
|
|
5178
5210
|
), _ = u(() => [
|
|
5179
5211
|
B.value,
|
|
5180
5212
|
{
|
|
@@ -5198,7 +5230,8 @@ const wn = {
|
|
|
5198
5230
|
blur: () => {
|
|
5199
5231
|
A.value = !1;
|
|
5200
5232
|
},
|
|
5201
|
-
reset: c
|
|
5233
|
+
reset: c,
|
|
5234
|
+
input: y
|
|
5202
5235
|
}), (V, L) => (g(), P(ce, null, [
|
|
5203
5236
|
b.value || V.label ? (g(), P("label", {
|
|
5204
5237
|
key: 0,
|
|
@@ -5230,7 +5263,7 @@ const wn = {
|
|
|
5230
5263
|
], 64));
|
|
5231
5264
|
}
|
|
5232
5265
|
}), 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({
|
|
5233
|
-
components: { BCol:
|
|
5266
|
+
components: { BCol: It, BFormInvalidFeedback: Ea, BFormRow: Qt, BFormText: Fa, BFormValidFeedback: Ia },
|
|
5234
5267
|
props: {
|
|
5235
5268
|
contentCols: { type: [Boolean, String, Number], default: void 0 },
|
|
5236
5269
|
contentColsLg: { type: [Boolean, String, Number], default: void 0 },
|
|
@@ -5265,17 +5298,17 @@ const wn = {
|
|
|
5265
5298
|
},
|
|
5266
5299
|
setup(e, { attrs: t }) {
|
|
5267
5300
|
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) => {
|
|
5268
|
-
const L =
|
|
5301
|
+
const L = yl(V === "xs" ? "" : V, `${k}Align`), f = $[L] || null;
|
|
5269
5302
|
return f && (V === "xs" ? c.push(`text-${f}`) : c.push(`text-${V}-${f}`)), c;
|
|
5270
5303
|
}, []), v = ($, k) => p.reduce((c, V) => {
|
|
5271
|
-
const L =
|
|
5304
|
+
const L = yl(V === "xs" ? "" : V, `${k}Cols`);
|
|
5272
5305
|
let f = $[L];
|
|
5273
5306
|
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;
|
|
5274
5307
|
}, {}), m = x(), S = ($, k = null) => {
|
|
5275
|
-
if (
|
|
5308
|
+
if (Wa && e.labelFor) {
|
|
5276
5309
|
const c = ho(`#${ps(e.labelFor)}`, m);
|
|
5277
5310
|
if (c) {
|
|
5278
|
-
const V = "aria-describedby", L = ($ || "").split(Yt), f = (k || "").split(Yt), N = (
|
|
5311
|
+
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();
|
|
5279
5312
|
N ? As(c, V, N) : Ps(c, V);
|
|
5280
5313
|
}
|
|
5281
5314
|
}
|
|
@@ -5285,7 +5318,7 @@ const wn = {
|
|
|
5285
5318
|
// based on the existence of 'content-col' or 'label-col' props
|
|
5286
5319
|
Object.keys(B.value).length > 0 || Object.keys(A.value).length > 0
|
|
5287
5320
|
)
|
|
5288
|
-
), T =
|
|
5321
|
+
), T = gt(o), C = u(
|
|
5289
5322
|
() => va(t.ariaInvalid, o.value)
|
|
5290
5323
|
);
|
|
5291
5324
|
return se(
|
|
@@ -5337,7 +5370,7 @@ const wn = {
|
|
|
5337
5370
|
for: e.labelFor || null
|
|
5338
5371
|
},
|
|
5339
5372
|
n
|
|
5340
|
-
)), this.isHorizontal ? o = ue(
|
|
5373
|
+
)), this.isHorizontal ? o = ue(It, this.labelColProps, { default: () => o }) : o = ue("div", {}, [o]);
|
|
5341
5374
|
else {
|
|
5342
5375
|
const $ = {
|
|
5343
5376
|
onClick: a ? this.onLegendClick : null,
|
|
@@ -5359,7 +5392,7 @@ const wn = {
|
|
|
5359
5392
|
e.labelClass
|
|
5360
5393
|
]
|
|
5361
5394
|
};
|
|
5362
|
-
this.isHorizontal ? o = ue(
|
|
5395
|
+
this.isHorizontal ? o = ue(It, $, { default: () => n }) : o = ue(_, $, n);
|
|
5363
5396
|
}
|
|
5364
5397
|
}
|
|
5365
5398
|
let r = null;
|
|
@@ -5419,7 +5452,7 @@ const wn = {
|
|
|
5419
5452
|
},
|
|
5420
5453
|
b
|
|
5421
5454
|
);
|
|
5422
|
-
this.isHorizontal && (T = ue(
|
|
5455
|
+
this.isHorizontal && (T = ue(It, { ref: "content", ...this.contentColProps }, { default: () => b }));
|
|
5423
5456
|
const C = {
|
|
5424
5457
|
class: [
|
|
5425
5458
|
this.stateClass,
|
|
@@ -5473,7 +5506,7 @@ const wn = {
|
|
|
5473
5506
|
},
|
|
5474
5507
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
5475
5508
|
setup(e, { expose: t, emit: l }) {
|
|
5476
|
-
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 =
|
|
5509
|
+
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(() => {
|
|
5477
5510
|
const _ = a.type === "range", $ = a.type === "color";
|
|
5478
5511
|
return [
|
|
5479
5512
|
b.value,
|
|
@@ -5489,7 +5522,8 @@ const wn = {
|
|
|
5489
5522
|
});
|
|
5490
5523
|
return t({
|
|
5491
5524
|
focus: h,
|
|
5492
|
-
blur: v
|
|
5525
|
+
blur: v,
|
|
5526
|
+
input: o
|
|
5493
5527
|
}), (_, $) => (g(), P("input", {
|
|
5494
5528
|
id: w(n),
|
|
5495
5529
|
ref_key: "input",
|
|
@@ -5577,8 +5611,9 @@ const wn = {
|
|
|
5577
5611
|
},
|
|
5578
5612
|
blur: () => {
|
|
5579
5613
|
b.value = !1;
|
|
5580
|
-
}
|
|
5581
|
-
|
|
5614
|
+
},
|
|
5615
|
+
input: A
|
|
5616
|
+
}), (f, N) => (g(), M(al, {
|
|
5582
5617
|
skip: $.value,
|
|
5583
5618
|
class: z(w(c))
|
|
5584
5619
|
}, {
|
|
@@ -5725,7 +5760,7 @@ const wn = {
|
|
|
5725
5760
|
O($.$slots, "default")
|
|
5726
5761
|
], 16, Yu));
|
|
5727
5762
|
}
|
|
5728
|
-
}), ed = ["value", "disabled"],
|
|
5763
|
+
}), ed = ["value", "disabled"], sl = /* @__PURE__ */ H({
|
|
5729
5764
|
__name: "BFormSelectOption",
|
|
5730
5765
|
props: {
|
|
5731
5766
|
value: { default: void 0 },
|
|
@@ -5752,11 +5787,11 @@ const wn = {
|
|
|
5752
5787
|
},
|
|
5753
5788
|
setup(e) {
|
|
5754
5789
|
const t = e, l = u(
|
|
5755
|
-
() =>
|
|
5790
|
+
() => ll(t.options, "BFormSelectOptionGroup", t)
|
|
5756
5791
|
);
|
|
5757
5792
|
return (a, o) => (g(), P("optgroup", { label: a.label }, [
|
|
5758
5793
|
O(a.$slots, "first"),
|
|
5759
|
-
(g(!0), P(ce, null, be(l.value, (n, s) => (g(), M(
|
|
5794
|
+
(g(!0), P(ce, null, be(l.value, (n, s) => (g(), M(sl, te({
|
|
5760
5795
|
key: s,
|
|
5761
5796
|
value: n.value,
|
|
5762
5797
|
disabled: n.disabled
|
|
@@ -5792,7 +5827,7 @@ const wn = {
|
|
|
5792
5827
|
},
|
|
5793
5828
|
emits: ["input", "update:modelValue", "change"],
|
|
5794
5829
|
setup(e, { expose: t, emit: l }) {
|
|
5795
|
-
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 =
|
|
5830
|
+
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, {
|
|
5796
5831
|
initialValue: s.value
|
|
5797
5832
|
}), A = u(() => [
|
|
5798
5833
|
S.value,
|
|
@@ -5806,7 +5841,7 @@ const wn = {
|
|
|
5806
5841
|
() => m.value || p.value ? m.value : void 0
|
|
5807
5842
|
), T = u(
|
|
5808
5843
|
() => va(a.ariaInvalid, v.value)
|
|
5809
|
-
), C = u(() =>
|
|
5844
|
+
), C = u(() => ll(a.options, "BFormSelect", a)), _ = u({
|
|
5810
5845
|
get: () => o.value,
|
|
5811
5846
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5812
5847
|
set: ($) => {
|
|
@@ -5821,7 +5856,8 @@ const wn = {
|
|
|
5821
5856
|
},
|
|
5822
5857
|
blur: () => {
|
|
5823
5858
|
y.value = !1;
|
|
5824
|
-
}
|
|
5859
|
+
},
|
|
5860
|
+
input: B
|
|
5825
5861
|
}), ($, k) => ut((g(), P("select", {
|
|
5826
5862
|
id: w(n),
|
|
5827
5863
|
ref_key: "input",
|
|
@@ -5843,7 +5879,7 @@ const wn = {
|
|
|
5843
5879
|
key: 0,
|
|
5844
5880
|
label: c.label,
|
|
5845
5881
|
options: c.options
|
|
5846
|
-
}, null, 8, ["label", "options"])) : (g(), M(
|
|
5882
|
+
}, null, 8, ["label", "options"])) : (g(), M(sl, {
|
|
5847
5883
|
key: 1,
|
|
5848
5884
|
value: c.value,
|
|
5849
5885
|
disabled: c.disabled,
|
|
@@ -5855,7 +5891,7 @@ const wn = {
|
|
|
5855
5891
|
[es, _.value]
|
|
5856
5892
|
]);
|
|
5857
5893
|
}
|
|
5858
|
-
}),
|
|
5894
|
+
}), Wl = [
|
|
5859
5895
|
"ar",
|
|
5860
5896
|
"az",
|
|
5861
5897
|
"ckb",
|
|
@@ -5872,16 +5908,16 @@ const wn = {
|
|
|
5872
5908
|
"yi"
|
|
5873
5909
|
].map((e) => e.toLowerCase()), od = (e) => {
|
|
5874
5910
|
const t = ea(e).toLowerCase().replace(is, "").split("-"), l = t.slice(0, 2).join("-"), [a] = t;
|
|
5875
|
-
return
|
|
5911
|
+
return Wl.includes(l) || Wl.includes(a);
|
|
5876
5912
|
}, nd = (e) => Bs ? Sa(e) ? e : { capture: !!e || !1 } : !!(Sa(e) ? e.capture : e), sd = (e, t, l, a) => {
|
|
5877
5913
|
e && e.addEventListener && e.addEventListener(t, l, nd(a));
|
|
5878
5914
|
}, rd = (e, t, l, a) => {
|
|
5879
5915
|
e && e.removeEventListener && e.removeEventListener(t, l, a);
|
|
5880
|
-
},
|
|
5916
|
+
}, Ul = (e, t) => {
|
|
5881
5917
|
(e ? sd : rd)(...t);
|
|
5882
5918
|
}, Xt = (e, { preventDefault: t = !0, propagation: l = !0, immediatePropagation: a = !1 } = {}) => {
|
|
5883
5919
|
t && e.preventDefault(), l && e.stopPropagation(), a && e.stopImmediatePropagation();
|
|
5884
|
-
}, La = "ArrowDown", An = "End", Pn = "Home", En = "PageDown", Fn = "PageUp", Na = "ArrowUp",
|
|
5920
|
+
}, 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({
|
|
5885
5921
|
props: {
|
|
5886
5922
|
ariaControls: { type: String, default: void 0 },
|
|
5887
5923
|
ariaLabel: { type: String, default: void 0 },
|
|
@@ -5904,24 +5940,24 @@ const wn = {
|
|
|
5904
5940
|
vertical: { type: Boolean, default: !1 },
|
|
5905
5941
|
repeatDelay: {
|
|
5906
5942
|
type: [String, Number],
|
|
5907
|
-
default:
|
|
5943
|
+
default: Jl
|
|
5908
5944
|
},
|
|
5909
5945
|
repeatInterval: {
|
|
5910
5946
|
type: [String, Number],
|
|
5911
|
-
default:
|
|
5947
|
+
default: Zl
|
|
5912
5948
|
},
|
|
5913
5949
|
repeatStepMultiplier: {
|
|
5914
5950
|
type: [String, Number],
|
|
5915
|
-
default:
|
|
5951
|
+
default: eo
|
|
5916
5952
|
},
|
|
5917
5953
|
repeatThreshold: {
|
|
5918
5954
|
type: [String, Number],
|
|
5919
|
-
default:
|
|
5955
|
+
default: Ql
|
|
5920
5956
|
},
|
|
5921
5957
|
required: { type: [Boolean, String], default: !1 },
|
|
5922
|
-
step: { type: [String, Number], default:
|
|
5923
|
-
min: { type: [String, Number], default:
|
|
5924
|
-
max: { type: [String, Number], default:
|
|
5958
|
+
step: { type: [String, Number], default: Yl },
|
|
5959
|
+
min: { type: [String, Number], default: Xl },
|
|
5960
|
+
max: { type: [String, Number], default: Kl },
|
|
5925
5961
|
wrap: { type: Boolean, default: !1 },
|
|
5926
5962
|
state: { type: [Boolean, String], default: null }
|
|
5927
5963
|
},
|
|
@@ -5936,19 +5972,19 @@ const wn = {
|
|
|
5936
5972
|
}
|
|
5937
5973
|
});
|
|
5938
5974
|
let i, p, h = !1;
|
|
5939
|
-
const v = u(() => Jt(e.step,
|
|
5940
|
-
const q = Jt(e.max,
|
|
5975
|
+
const v = u(() => Jt(e.step, Yl)), m = u(() => Jt(e.min, Xl)), S = u(() => {
|
|
5976
|
+
const q = Jt(e.max, Kl), oe = v.value, ge = m.value;
|
|
5941
5977
|
return Math.floor((q - ge) / oe) * oe + ge;
|
|
5942
5978
|
}), B = u(() => {
|
|
5943
5979
|
const q = ot(e.repeatDelay, 0);
|
|
5944
|
-
return q > 0 ? q :
|
|
5980
|
+
return q > 0 ? q : Jl;
|
|
5945
5981
|
}), y = u(() => {
|
|
5946
5982
|
const q = ot(e.repeatInterval, 0);
|
|
5947
|
-
return q > 0 ? q :
|
|
5983
|
+
return q > 0 ? q : Zl;
|
|
5948
5984
|
}), A = u(
|
|
5949
|
-
() => Math.max(ot(e.repeatThreshold,
|
|
5985
|
+
() => Math.max(ot(e.repeatThreshold, Ql), 1)
|
|
5950
5986
|
), b = u(
|
|
5951
|
-
() => Math.max(ot(e.repeatStepMultiplier,
|
|
5987
|
+
() => Math.max(ot(e.repeatStepMultiplier, eo), 1)
|
|
5952
5988
|
), T = u(() => {
|
|
5953
5989
|
const q = v.value;
|
|
5954
5990
|
return Math.floor(q) === q ? 0 : (q.toString().split(".")[1] || "").length;
|
|
@@ -6004,14 +6040,14 @@ const wn = {
|
|
|
6004
6040
|
r.value === null ? r.value = e.wrap ? S.value : m.value : I(-1 * q);
|
|
6005
6041
|
}, K = (q) => {
|
|
6006
6042
|
const { code: oe, altKey: ge, ctrlKey: fe, metaKey: G } = q;
|
|
6007
|
-
if (!(e.disabled || e.readonly || ge || fe || G) &&
|
|
6043
|
+
if (!(e.disabled || e.readonly || ge || fe || G) && to.includes(oe)) {
|
|
6008
6044
|
if (Xt(q, { propagation: !1 }), h)
|
|
6009
6045
|
return;
|
|
6010
6046
|
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);
|
|
6011
6047
|
}
|
|
6012
6048
|
}, U = (q) => {
|
|
6013
6049
|
const { code: oe, altKey: ge, ctrlKey: fe, metaKey: G } = q;
|
|
6014
|
-
e.disabled || e.readonly || ge || fe || G ||
|
|
6050
|
+
e.disabled || e.readonly || ge || fe || G || to.includes(oe) && (Xt(q, { propagation: !1 }), le(), h = !1, n());
|
|
6015
6051
|
}, ie = (q, oe) => {
|
|
6016
6052
|
const { type: ge } = q || {};
|
|
6017
6053
|
if (!e.disabled && !e.readonly) {
|
|
@@ -6034,7 +6070,7 @@ const wn = {
|
|
|
6034
6070
|
ee(q) && q.type === "mouseup" && q.button || (Xt(q, { propagation: !1 }), le(), Q(!1), n());
|
|
6035
6071
|
}, Q = (q) => {
|
|
6036
6072
|
try {
|
|
6037
|
-
|
|
6073
|
+
Ul(q, [document.body, "mouseup", pe, !1]), Ul(q, [document.body, "touchend", pe, !1]);
|
|
6038
6074
|
} catch {
|
|
6039
6075
|
return 0;
|
|
6040
6076
|
}
|
|
@@ -6210,7 +6246,7 @@ const wn = {
|
|
|
6210
6246
|
re(Y(i.value), 1)
|
|
6211
6247
|
])
|
|
6212
6248
|
], 8, ud),
|
|
6213
|
-
!w(n) && !w(s) ? (g(), M(
|
|
6249
|
+
!w(n) && !w(s) ? (g(), M(Ft, {
|
|
6214
6250
|
key: 0,
|
|
6215
6251
|
"aria-keyshortcuts": "Delete",
|
|
6216
6252
|
"aria-label": v.removeLabel,
|
|
@@ -6275,7 +6311,7 @@ const wn = {
|
|
|
6275
6311
|
},
|
|
6276
6312
|
emits: ["update:modelValue", "input", "tag-state", "focus", "focusin", "focusout", "blur"],
|
|
6277
6313
|
setup(e, { expose: t, emit: l }) {
|
|
6278
|
-
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 =
|
|
6314
|
+
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, {
|
|
6279
6315
|
initialValue: r.value
|
|
6280
6316
|
}), _ = 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(() => [
|
|
6281
6317
|
b.value,
|
|
@@ -6391,7 +6427,8 @@ const wn = {
|
|
|
6391
6427
|
},
|
|
6392
6428
|
blur: () => {
|
|
6393
6429
|
C.value = !1;
|
|
6394
|
-
}
|
|
6430
|
+
},
|
|
6431
|
+
input: T
|
|
6395
6432
|
}), (F, R) => (g(), P("div", {
|
|
6396
6433
|
id: w(n),
|
|
6397
6434
|
class: z(["b-form-tags form-control h-auto", I.value]),
|
|
@@ -6415,7 +6452,7 @@ const wn = {
|
|
|
6415
6452
|
"aria-atomic": "true",
|
|
6416
6453
|
class: "visually-hidden"
|
|
6417
6454
|
}, " (" + Y(F.tagRemovedLabel) + ") " + Y(V.value), 9, fd),
|
|
6418
|
-
O(F.$slots, "default", xe(
|
|
6455
|
+
O(F.$slots, "default", xe(mt(ie.value)), () => [
|
|
6419
6456
|
Z("ul", {
|
|
6420
6457
|
id: `${w(n)}tag_list__`,
|
|
6421
6458
|
class: "b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center"
|
|
@@ -6534,7 +6571,7 @@ const wn = {
|
|
|
6534
6571
|
},
|
|
6535
6572
|
emits: ["update:modelValue", "change", "blur", "input"],
|
|
6536
6573
|
setup(e, { expose: t, emit: l }) {
|
|
6537
|
-
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 =
|
|
6574
|
+
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(() => [
|
|
6538
6575
|
T.value,
|
|
6539
6576
|
{
|
|
6540
6577
|
"form-control": !a.plaintext,
|
|
@@ -6546,7 +6583,8 @@ const wn = {
|
|
|
6546
6583
|
}));
|
|
6547
6584
|
return t({
|
|
6548
6585
|
focus: h,
|
|
6549
|
-
blur: v
|
|
6586
|
+
blur: v,
|
|
6587
|
+
input: o
|
|
6550
6588
|
}), ($, k) => (g(), P("textarea", {
|
|
6551
6589
|
id: w(n),
|
|
6552
6590
|
ref_key: "input",
|
|
@@ -6633,7 +6671,7 @@ const wn = {
|
|
|
6633
6671
|
_: 3
|
|
6634
6672
|
}));
|
|
6635
6673
|
}
|
|
6636
|
-
}),
|
|
6674
|
+
}), rl = /* @__PURE__ */ H({
|
|
6637
6675
|
__name: "BInputGroupAddon",
|
|
6638
6676
|
props: {
|
|
6639
6677
|
isText: { type: [String, Boolean], default: !1 }
|
|
@@ -6653,7 +6691,7 @@ const wn = {
|
|
|
6653
6691
|
isText: { type: [String, Boolean], default: !1 }
|
|
6654
6692
|
},
|
|
6655
6693
|
setup(e) {
|
|
6656
|
-
return (t, l) => (g(), M(
|
|
6694
|
+
return (t, l) => (g(), M(rl, xe(mt(t.$props)), {
|
|
6657
6695
|
default: D(() => [
|
|
6658
6696
|
O(t.$slots, "default")
|
|
6659
6697
|
]),
|
|
@@ -6666,7 +6704,7 @@ const wn = {
|
|
|
6666
6704
|
isText: { type: [String, Boolean], default: !1 }
|
|
6667
6705
|
},
|
|
6668
6706
|
setup(e) {
|
|
6669
|
-
return (t, l) => (g(), M(
|
|
6707
|
+
return (t, l) => (g(), M(rl, xe(mt(t.$props)), {
|
|
6670
6708
|
default: D(() => [
|
|
6671
6709
|
O(t.$slots, "default")
|
|
6672
6710
|
]),
|
|
@@ -6716,7 +6754,7 @@ const wn = {
|
|
|
6716
6754
|
variant: { default: null }
|
|
6717
6755
|
},
|
|
6718
6756
|
setup(e) {
|
|
6719
|
-
const t = e, l =
|
|
6757
|
+
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(
|
|
6720
6758
|
() => a != null && a.numbered.value ? "li" : s.value ? "button" : i.value ? Qe : t.tag
|
|
6721
6759
|
), h = u(
|
|
6722
6760
|
() => o.value || i.value || s.value || ["a", "router-link", "button", "b-link"].includes(t.tag)
|
|
@@ -6743,7 +6781,7 @@ const wn = {
|
|
|
6743
6781
|
_: 3
|
|
6744
6782
|
}, 16, ["class", "aria-current", "aria-disabled", "target", "href", "to"]));
|
|
6745
6783
|
}
|
|
6746
|
-
}),
|
|
6784
|
+
}), il = /* @__PURE__ */ H({
|
|
6747
6785
|
__name: "BOverlay",
|
|
6748
6786
|
props: {
|
|
6749
6787
|
bgColor: { default: void 0 },
|
|
@@ -6798,7 +6836,7 @@ const wn = {
|
|
|
6798
6836
|
}, {
|
|
6799
6837
|
default: D(() => [
|
|
6800
6838
|
O(C.$slots, "default"),
|
|
6801
|
-
ye(
|
|
6839
|
+
ye(Et, {
|
|
6802
6840
|
"no-fade": C.noFade,
|
|
6803
6841
|
"trans-props": { enterToClass: "show" },
|
|
6804
6842
|
name: "fade",
|
|
@@ -6821,7 +6859,7 @@ const wn = {
|
|
|
6821
6859
|
class: "position-absolute",
|
|
6822
6860
|
style: He(T.value)
|
|
6823
6861
|
}, [
|
|
6824
|
-
O(C.$slots, "overlay", xe(
|
|
6862
|
+
O(C.$slots, "overlay", xe(mt(S.value)), () => [
|
|
6825
6863
|
w(n) ? J("", !0) : (g(), M(ga, xe(te({ key: 0 }, S.value)), null, 16))
|
|
6826
6864
|
])
|
|
6827
6865
|
], 4)
|
|
@@ -6956,7 +6994,7 @@ const wn = {
|
|
|
6956
6994
|
{
|
|
6957
6995
|
"visually-hidden": c.value
|
|
6958
6996
|
}
|
|
6959
|
-
]), ne = u(() => p.value || r.value), _e = u(() => _.value || r.value), ke = (ve, Te = {}) => new
|
|
6997
|
+
]), ne = u(() => p.value || r.value), _e = u(() => _.value || r.value), ke = (ve, Te = {}) => new xt(ve, {
|
|
6960
6998
|
cancelable: !1,
|
|
6961
6999
|
target: f.value || null,
|
|
6962
7000
|
relatedTarget: null,
|
|
@@ -6995,7 +7033,7 @@ const wn = {
|
|
|
6995
7033
|
to: ve.teleportTo,
|
|
6996
7034
|
disabled: w(V)
|
|
6997
7035
|
}, [
|
|
6998
|
-
ye(
|
|
7036
|
+
ye(Et, {
|
|
6999
7037
|
"no-fade": !0,
|
|
7000
7038
|
"trans-props": { enterToClass: "show" },
|
|
7001
7039
|
onBeforeEnter: We,
|
|
@@ -7045,7 +7083,7 @@ const wn = {
|
|
|
7045
7083
|
O(ve.$slots, "header-close", {}, void 0, !0)
|
|
7046
7084
|
]),
|
|
7047
7085
|
_: 3
|
|
7048
|
-
}, 16)) : (g(), M(
|
|
7086
|
+
}, 16)) : (g(), M(Ft, te({
|
|
7049
7087
|
key: 1,
|
|
7050
7088
|
"aria-label": ve.headerCloseLabel
|
|
7051
7089
|
}, F.value, {
|
|
@@ -7101,7 +7139,7 @@ const wn = {
|
|
|
7101
7139
|
], 2)) : J("", !0)
|
|
7102
7140
|
], 2),
|
|
7103
7141
|
O(ve.$slots, "backdrop", {}, () => [
|
|
7104
|
-
ye(
|
|
7142
|
+
ye(il, {
|
|
7105
7143
|
variant: me.value,
|
|
7106
7144
|
show: w(y),
|
|
7107
7145
|
"no-spinner": "",
|
|
@@ -7179,7 +7217,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7179
7217
|
novalidate: a.novalidate,
|
|
7180
7218
|
validated: a.validated,
|
|
7181
7219
|
class: "d-flex",
|
|
7182
|
-
onSubmit:
|
|
7220
|
+
onSubmit: Ma(l, ["prevent"])
|
|
7183
7221
|
}), {
|
|
7184
7222
|
default: D(() => [
|
|
7185
7223
|
O(a.$slots, "default")
|
|
@@ -7194,7 +7232,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7194
7232
|
linkClass: { default: void 0 },
|
|
7195
7233
|
linkAttrs: { default: void 0 },
|
|
7196
7234
|
active: { type: [String, Boolean], default: void 0 },
|
|
7197
|
-
activeClass: { default:
|
|
7235
|
+
activeClass: { default: void 0 },
|
|
7198
7236
|
append: { type: [String, Boolean], default: !1 },
|
|
7199
7237
|
disabled: { type: [String, Boolean], default: !1 },
|
|
7200
7238
|
href: { default: void 0 },
|
|
@@ -7216,7 +7254,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7216
7254
|
emits: ["click"],
|
|
7217
7255
|
setup(e, { emit: t }) {
|
|
7218
7256
|
const l = e, a = d(() => l.disabled), o = u(
|
|
7219
|
-
() =>
|
|
7257
|
+
() => At(l, [
|
|
7220
7258
|
"active",
|
|
7221
7259
|
"activeClass",
|
|
7222
7260
|
"append",
|
|
@@ -7242,7 +7280,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7242
7280
|
ye(Qe, te({
|
|
7243
7281
|
class: ["nav-link", n.linkClass]
|
|
7244
7282
|
}, { ...o.value, ...n.linkAttrs }, {
|
|
7245
|
-
"active-class": n.activeClass
|
|
7283
|
+
"active-class": n.activeClass,
|
|
7246
7284
|
tabindex: w(a) ? -1 : void 0,
|
|
7247
7285
|
"aria-disabled": w(a) ? !0 : void 0,
|
|
7248
7286
|
onClick: s[0] || (s[0] = (r) => t("click", r))
|
|
@@ -7350,7 +7388,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7350
7388
|
[`fixed-${t.fixed}`]: t.fixed !== void 0,
|
|
7351
7389
|
[`${o.value}`]: o.value !== void 0
|
|
7352
7390
|
}));
|
|
7353
|
-
return Ge(
|
|
7391
|
+
return Ge(Ka, {
|
|
7354
7392
|
tag: Se(() => t.tag)
|
|
7355
7393
|
}), (r, i) => (g(), M(ae(r.tag), {
|
|
7356
7394
|
class: z(["navbar", s.value]),
|
|
@@ -7372,7 +7410,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7372
7410
|
props: {
|
|
7373
7411
|
tag: { default: "div" },
|
|
7374
7412
|
active: { type: [String, Boolean], default: void 0 },
|
|
7375
|
-
activeClass: { default:
|
|
7413
|
+
activeClass: { default: void 0 },
|
|
7376
7414
|
append: { type: [String, Boolean], default: !1 },
|
|
7377
7415
|
disabled: { type: [String, Boolean], default: !1 },
|
|
7378
7416
|
href: { default: void 0 },
|
|
@@ -7392,8 +7430,8 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7392
7430
|
icon: { type: [String, Boolean], default: !1 }
|
|
7393
7431
|
},
|
|
7394
7432
|
setup(e) {
|
|
7395
|
-
const t = e, l = u(() =>
|
|
7396
|
-
() => l.value ?
|
|
7433
|
+
const t = e, l = u(() => ct(t)), a = u(() => l.value ? Qe : t.tag), o = u(
|
|
7434
|
+
() => l.value ? At(t, [
|
|
7397
7435
|
"active",
|
|
7398
7436
|
"activeClass",
|
|
7399
7437
|
"append",
|
|
@@ -7444,27 +7482,27 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7444
7482
|
O(r.$slots, "default")
|
|
7445
7483
|
], 2));
|
|
7446
7484
|
}
|
|
7447
|
-
}),
|
|
7485
|
+
}), ao = (e, t) => e.setAttribute("data-bs-theme", t), Qd = {
|
|
7448
7486
|
mounted(e, t) {
|
|
7449
|
-
|
|
7487
|
+
ao(e, t.value);
|
|
7450
7488
|
},
|
|
7451
7489
|
updated(e, t) {
|
|
7452
|
-
|
|
7490
|
+
ao(e, t.value);
|
|
7453
7491
|
}
|
|
7454
|
-
},
|
|
7492
|
+
}, ul = (e, t) => {
|
|
7455
7493
|
const { modifiers: l, arg: a, value: o } = e, n = Object.keys(l || {}), s = typeof o == "string" ? o.split(Yt) : o;
|
|
7456
7494
|
if (Es(t.tagName, "a")) {
|
|
7457
|
-
const r =
|
|
7495
|
+
const r = Ua(t, "href") || "";
|
|
7458
7496
|
rs.test(r) && n.push(r.replace(ss, ""));
|
|
7459
7497
|
}
|
|
7460
7498
|
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);
|
|
7461
7499
|
}, ec = (e, t) => {
|
|
7462
|
-
|
|
7500
|
+
ul(e, t).forEach((a) => {
|
|
7463
7501
|
const o = document.getElementById(a);
|
|
7464
7502
|
o !== null && o.dispatchEvent(new Event("bv-toggle"));
|
|
7465
7503
|
}), setTimeout(() => Nn(e, t), 50);
|
|
7466
7504
|
}, Nn = (e, t) => {
|
|
7467
|
-
const l =
|
|
7505
|
+
const l = ul(e, t);
|
|
7468
7506
|
let a = !1;
|
|
7469
7507
|
l.forEach((o) => {
|
|
7470
7508
|
const n = document.getElementById(o);
|
|
@@ -7472,35 +7510,35 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7472
7510
|
}), t.setAttribute("aria-expanded", a ? "true" : "false"), t.classList.remove(a ? "collapsed" : "not-collapsed"), t.classList.add(a ? "not-collapsed" : "collapsed");
|
|
7473
7511
|
}, za = {
|
|
7474
7512
|
mounted(e, t) {
|
|
7475
|
-
e.__toggle = () => ec(t, e), e.addEventListener("click", e.__toggle), Nn(t, e), e.setAttribute("aria-controls",
|
|
7513
|
+
e.__toggle = () => ec(t, e), e.addEventListener("click", e.__toggle), Nn(t, e), e.setAttribute("aria-controls", ul(t, e).join(" "));
|
|
7476
7514
|
},
|
|
7477
7515
|
unmounted(e) {
|
|
7478
7516
|
e.removeEventListener("click", e.__toggle), e.removeAttribute("aria-controls"), e.removeAttribute("aria-expanded");
|
|
7479
7517
|
}
|
|
7480
7518
|
}, tc = {
|
|
7481
7519
|
mounted(e, t) {
|
|
7482
|
-
if (!
|
|
7520
|
+
if (!zt(t.value))
|
|
7483
7521
|
return;
|
|
7484
7522
|
const a = ra(t.value, e);
|
|
7485
7523
|
!a.content && !a.title || (e.$__state = x({
|
|
7486
|
-
|
|
7524
|
+
...Ct(t, e),
|
|
7487
7525
|
...a
|
|
7488
7526
|
}), ia(e, t));
|
|
7489
7527
|
},
|
|
7490
7528
|
updated(e, t) {
|
|
7491
|
-
if (!
|
|
7529
|
+
if (!zt(t.value))
|
|
7492
7530
|
return;
|
|
7493
7531
|
const a = ra(t.value, e);
|
|
7494
7532
|
if (!(!a.content && !a.title)) {
|
|
7495
7533
|
if (!e.$__state) {
|
|
7496
7534
|
e.$__state = x({
|
|
7497
|
-
|
|
7535
|
+
...Ct(t, e),
|
|
7498
7536
|
...a
|
|
7499
7537
|
}), ia(e, t);
|
|
7500
7538
|
return;
|
|
7501
7539
|
}
|
|
7502
7540
|
e.$__state.value = {
|
|
7503
|
-
|
|
7541
|
+
...Ct(t, e),
|
|
7504
7542
|
...a
|
|
7505
7543
|
};
|
|
7506
7544
|
}
|
|
@@ -7510,32 +7548,32 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7510
7548
|
}
|
|
7511
7549
|
}, ac = {
|
|
7512
7550
|
mounted(e, t) {
|
|
7513
|
-
const l =
|
|
7551
|
+
const l = zt(t.value);
|
|
7514
7552
|
if (!l)
|
|
7515
7553
|
return;
|
|
7516
7554
|
const a = ra(t.value, e);
|
|
7517
7555
|
!a.content && !a.title || (e.$__state = x({
|
|
7518
|
-
|
|
7556
|
+
...Ct(t, e),
|
|
7519
7557
|
title: a.title ?? a.content ?? "",
|
|
7520
7558
|
tooltip: l
|
|
7521
7559
|
}), ia(e, t));
|
|
7522
7560
|
},
|
|
7523
7561
|
updated(e, t) {
|
|
7524
|
-
const l =
|
|
7562
|
+
const l = zt(t.value);
|
|
7525
7563
|
if (!l)
|
|
7526
7564
|
return;
|
|
7527
7565
|
const a = ra(t.value, e);
|
|
7528
7566
|
if (!(!a.content && !a.title)) {
|
|
7529
7567
|
if (!e.$__state) {
|
|
7530
7568
|
e.$__state = x({
|
|
7531
|
-
|
|
7569
|
+
...Ct(t, e),
|
|
7532
7570
|
title: a.title ?? a.content ?? "",
|
|
7533
7571
|
tooltip: l
|
|
7534
7572
|
}), ia(e, t);
|
|
7535
7573
|
return;
|
|
7536
7574
|
}
|
|
7537
7575
|
e.$__state.value = {
|
|
7538
|
-
|
|
7576
|
+
...Ct(t, e),
|
|
7539
7577
|
title: a.title ?? a.content ?? "",
|
|
7540
7578
|
tooltip: l
|
|
7541
7579
|
};
|
|
@@ -7544,7 +7582,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7544
7582
|
beforeUnmount(e) {
|
|
7545
7583
|
dn(e);
|
|
7546
7584
|
}
|
|
7547
|
-
},
|
|
7585
|
+
}, lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7548
7586
|
__proto__: null,
|
|
7549
7587
|
vBColorMode: Qd,
|
|
7550
7588
|
vBModal: za,
|
|
@@ -7637,7 +7675,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7637
7675
|
{
|
|
7638
7676
|
show: s.value && C.value === !0
|
|
7639
7677
|
}
|
|
7640
|
-
]), I = (Q, le = {}) => new
|
|
7678
|
+
]), I = (Q, le = {}) => new xt(Q, {
|
|
7641
7679
|
cancelable: !1,
|
|
7642
7680
|
target: b.value || null,
|
|
7643
7681
|
relatedTarget: null,
|
|
@@ -7678,7 +7716,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7678
7716
|
to: Q.teleportTo,
|
|
7679
7717
|
disabled: w(y)
|
|
7680
7718
|
}, [
|
|
7681
|
-
ye(
|
|
7719
|
+
ye(Et, {
|
|
7682
7720
|
"no-fade": !0,
|
|
7683
7721
|
"trans-props": {
|
|
7684
7722
|
enterToClass: "showing",
|
|
@@ -7729,7 +7767,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7729
7767
|
O(Q.$slots, "header-close")
|
|
7730
7768
|
]),
|
|
7731
7769
|
_: 3
|
|
7732
|
-
}, 16)) : (g(), M(
|
|
7770
|
+
}, 16)) : (g(), M(Ft, te({
|
|
7733
7771
|
key: 1,
|
|
7734
7772
|
"aria-label": Q.headerCloseLabel
|
|
7735
7773
|
}, L.value, {
|
|
@@ -7761,7 +7799,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7761
7799
|
_: 3
|
|
7762
7800
|
}),
|
|
7763
7801
|
O(Q.$slots, "backdrop", {}, () => [
|
|
7764
|
-
ye(
|
|
7802
|
+
ye(il, {
|
|
7765
7803
|
variant: Q.backdropVariant,
|
|
7766
7804
|
show: $.value,
|
|
7767
7805
|
fixed: "",
|
|
@@ -7772,7 +7810,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7772
7810
|
])
|
|
7773
7811
|
], 8, ["to", "disabled"]));
|
|
7774
7812
|
}
|
|
7775
|
-
}), 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",
|
|
7813
|
+
}), 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) => {
|
|
7776
7814
|
const l = ot(e) || 1;
|
|
7777
7815
|
return l > t ? t : l < 1 ? 1 : l;
|
|
7778
7816
|
}, yc = H({
|
|
@@ -7815,7 +7853,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7815
7853
|
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(
|
|
7816
7854
|
() => e.align === "fill" ? "start" : e.align
|
|
7817
7855
|
), v = Rt(h), m = u(
|
|
7818
|
-
() => Math.ceil(
|
|
7856
|
+
() => Math.ceil(no(e.totalRows) / oo(e.perPage))
|
|
7819
7857
|
), S = u(() => {
|
|
7820
7858
|
let k;
|
|
7821
7859
|
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;
|
|
@@ -7832,9 +7870,9 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
7832
7870
|
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);
|
|
7833
7871
|
const V = S.value + y.value - 1;
|
|
7834
7872
|
return c && i.value && V > m.value - 3 && (c = !1), c;
|
|
7835
|
-
}), b =
|
|
7836
|
-
pageSize:
|
|
7837
|
-
totalRows:
|
|
7873
|
+
}), b = _t({
|
|
7874
|
+
pageSize: oo(e.perPage),
|
|
7875
|
+
totalRows: no(e.totalRows),
|
|
7838
7876
|
numberOfPages: m.value
|
|
7839
7877
|
}), T = (k, c) => {
|
|
7840
7878
|
if (c === a.value)
|
|
@@ -8100,7 +8138,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8100
8138
|
size: t.size,
|
|
8101
8139
|
variant: t.variant
|
|
8102
8140
|
}));
|
|
8103
|
-
return (i, p) => (g(), M(hn, { "img-bottom": i.imgBottom },
|
|
8141
|
+
return (i, p) => (g(), M(hn, { "img-bottom": i.imgBottom }, Da({
|
|
8104
8142
|
default: D(() => [
|
|
8105
8143
|
O(i.$slots, "default", {}, () => [
|
|
8106
8144
|
ye(Ne, te({ cols: "7" }, r.value), null, 16),
|
|
@@ -8153,7 +8191,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8153
8191
|
}
|
|
8154
8192
|
]), 1032, ["img-bottom"]));
|
|
8155
8193
|
}
|
|
8156
|
-
}),
|
|
8194
|
+
}), dl = /* @__PURE__ */ H({
|
|
8157
8195
|
__name: "BTableSimple",
|
|
8158
8196
|
props: {
|
|
8159
8197
|
bordered: { type: [String, Boolean], default: !1 },
|
|
@@ -8237,7 +8275,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8237
8275
|
), v = u(
|
|
8238
8276
|
() => t.footerColumns === void 0 ? i.value : r.value
|
|
8239
8277
|
), m = d(() => t.hideHeader), S = d(() => t.showFooter);
|
|
8240
|
-
return (B, y) => (g(), M(
|
|
8278
|
+
return (B, y) => (g(), M(dl, null, {
|
|
8241
8279
|
default: D(() => [
|
|
8242
8280
|
w(m) ? J("", !0) : O(B.$slots, "thead", { key: 0 }, () => [
|
|
8243
8281
|
Z("thead", null, [
|
|
@@ -8370,7 +8408,7 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8370
8408
|
])
|
|
8371
8409
|
], 4));
|
|
8372
8410
|
}
|
|
8373
|
-
}),
|
|
8411
|
+
}), so = fa("cols", [""], { type: [String, Number], default: null }), $c = H({
|
|
8374
8412
|
name: "BRow",
|
|
8375
8413
|
slots: Object,
|
|
8376
8414
|
props: {
|
|
@@ -8381,10 +8419,10 @@ const Rd = /* @__PURE__ */ ya(xd, [["__scopeId", "data-v-dbb2daa1"]]), Md = /* @
|
|
|
8381
8419
|
alignV: { type: String, default: null },
|
|
8382
8420
|
alignH: { type: String, default: null },
|
|
8383
8421
|
alignContent: { type: String, default: null },
|
|
8384
|
-
...
|
|
8422
|
+
...so
|
|
8385
8423
|
},
|
|
8386
8424
|
setup(e) {
|
|
8387
|
-
const t = d(() => e.noGutters), l = Rt(() => e.alignH), a = u(() => So(e,
|
|
8425
|
+
const t = d(() => e.noGutters), l = Rt(() => e.alignH), a = u(() => So(e, so, "cols", "row-cols"));
|
|
8388
8426
|
return {
|
|
8389
8427
|
computedClasses: u(() => [
|
|
8390
8428
|
a.value,
|
|
@@ -8431,11 +8469,11 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8431
8469
|
const t = e.target;
|
|
8432
8470
|
if ("disabled" in t && t.disabled || kc.indexOf(t.tagName) !== -1)
|
|
8433
8471
|
return !1;
|
|
8434
|
-
if (
|
|
8472
|
+
if (ml(".dropdown-menu", t))
|
|
8435
8473
|
return !0;
|
|
8436
|
-
const l = t.tagName === "LABEL" ? t :
|
|
8474
|
+
const l = t.tagName === "LABEL" ? t : ml("label", t);
|
|
8437
8475
|
if (l) {
|
|
8438
|
-
const a =
|
|
8476
|
+
const a = Ua(l, "for"), o = a ? Os(a) : ho("input, select, textarea", l);
|
|
8439
8477
|
if (o && !o.disabled)
|
|
8440
8478
|
return !0;
|
|
8441
8479
|
}
|
|
@@ -8482,13 +8520,13 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8482
8520
|
{
|
|
8483
8521
|
[`align-${l.align}`]: l.align !== void 0
|
|
8484
8522
|
}
|
|
8485
|
-
]), i = u(() => v(l.fields, l.items)), p = u(() => i.value.length + s.value), h = (c) => typeof c == "string" ?
|
|
8523
|
+
]), 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) => {
|
|
8486
8524
|
const L = [];
|
|
8487
|
-
return !(c != null && c.length) && (V != null && V.length) ? (Object.keys(V[0]).forEach((f) => L.push({ key: f, label:
|
|
8488
|
-
typeof f == "string" ? L.push({ key: f, label:
|
|
8525
|
+
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) => {
|
|
8526
|
+
typeof f == "string" ? L.push({ key: f, label: cl(f) }) : Sa(f) && f.key && typeof f.key == "string" && L.push({ ...f });
|
|
8489
8527
|
}), L);
|
|
8490
8528
|
}, m = (c, V, L) => {
|
|
8491
|
-
const f =
|
|
8529
|
+
const f = gl(c, V);
|
|
8492
8530
|
return L && typeof L == "function" ? L(f, V, c) : f;
|
|
8493
8531
|
}, S = (c, V) => m(c, V.key, V.formatter), B = (c, V, L = !1) => {
|
|
8494
8532
|
const f = typeof c == "string" ? c : c.key;
|
|
@@ -8524,7 +8562,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8524
8562
|
}
|
|
8525
8563
|
return L;
|
|
8526
8564
|
};
|
|
8527
|
-
return (c, V) => (g(), M(
|
|
8565
|
+
return (c, V) => (g(), M(dl, {
|
|
8528
8566
|
bordered: c.bordered,
|
|
8529
8567
|
borderless: c.borderless,
|
|
8530
8568
|
"border-variant": c.borderVariant,
|
|
@@ -8608,7 +8646,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8608
8646
|
c.stacked && w(o) ? (g(), P("label", Fc, Y(h(I)), 1)) : J("", !0),
|
|
8609
8647
|
c.$slots[`cell(${I.key})`] || c.$slots["cell()"] ? O(c.$slots, c.$slots[`cell(${I.key})`] ? `cell(${I.key})` : "cell()", {
|
|
8610
8648
|
key: 1,
|
|
8611
|
-
value: w(
|
|
8649
|
+
value: w(gl)(f, I.key),
|
|
8612
8650
|
index: N,
|
|
8613
8651
|
item: f,
|
|
8614
8652
|
field: I,
|
|
@@ -8903,7 +8941,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8903
8941
|
"virtual-fields": w(y) ? 1 : 0,
|
|
8904
8942
|
onHeadClicked: K,
|
|
8905
8943
|
onRowClicked: j
|
|
8906
|
-
}),
|
|
8944
|
+
}), Da({
|
|
8907
8945
|
"field-prefix": D((W) => [
|
|
8908
8946
|
O(F.$slots, "sort-icon", {
|
|
8909
8947
|
field: W.field,
|
|
@@ -8969,7 +9007,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
8969
9007
|
be(F.$slots, (W, ne) => ({
|
|
8970
9008
|
name: ne,
|
|
8971
9009
|
fn: D((_e) => [
|
|
8972
|
-
O(F.$slots, ne, xe(
|
|
9010
|
+
O(F.$slots, ne, xe(mt(_e)))
|
|
8973
9011
|
])
|
|
8974
9012
|
}))
|
|
8975
9013
|
]), 1040, ["busy", "items", "table-classes", "virtual-fields"]));
|
|
@@ -9318,7 +9356,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9318
9356
|
"aria-controls": j,
|
|
9319
9357
|
"aria-selected": U
|
|
9320
9358
|
}, (Q = I == null ? void 0 : I.props) == null ? void 0 : Q["title-link-attributes"], {
|
|
9321
|
-
onClick:
|
|
9359
|
+
onClick: Ma((me) => L(me, ee), ["stop", "prevent"])
|
|
9322
9360
|
}), [
|
|
9323
9361
|
I.children && I.children.title ? (g(), M(ae(I.children.title), { key: 0 })) : (g(), P(ce, { key: 1 }, [
|
|
9324
9362
|
re(Y((le = I == null ? void 0 : I.props) == null ? void 0 : le.title), 1)
|
|
@@ -9359,20 +9397,20 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9359
9397
|
hide: (a = l.value) == null ? void 0 : a.hideFn,
|
|
9360
9398
|
show: (o = l.value) == null ? void 0 : o.show,
|
|
9361
9399
|
toggle: (n = l.value) == null ? void 0 : n.toggle
|
|
9362
|
-
}), (s, r) => (g(), M(
|
|
9400
|
+
}), (s, r) => (g(), M(ol, {
|
|
9363
9401
|
ref_key: "popover",
|
|
9364
9402
|
ref: l,
|
|
9365
9403
|
tooltip: ""
|
|
9366
|
-
},
|
|
9404
|
+
}, Da({ _: 2 }, [
|
|
9367
9405
|
be(s.$slots, (i, p) => ({
|
|
9368
9406
|
name: p,
|
|
9369
9407
|
fn: D((h) => [
|
|
9370
|
-
O(s.$slots, p, xe(
|
|
9408
|
+
O(s.$slots, p, xe(mt(h)))
|
|
9371
9409
|
])
|
|
9372
9410
|
}))
|
|
9373
9411
|
]), 1536));
|
|
9374
9412
|
}
|
|
9375
|
-
}),
|
|
9413
|
+
}), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9376
9414
|
__proto__: null,
|
|
9377
9415
|
BAccordion: fi,
|
|
9378
9416
|
BAccordionItem: gi,
|
|
@@ -9396,8 +9434,8 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9396
9434
|
BCardTitle: mn,
|
|
9397
9435
|
BCarousel: Wi,
|
|
9398
9436
|
BCarouselSlide: Ji,
|
|
9399
|
-
BCloseButton:
|
|
9400
|
-
BCol:
|
|
9437
|
+
BCloseButton: Ft,
|
|
9438
|
+
BCol: It,
|
|
9401
9439
|
BCollapse: cn,
|
|
9402
9440
|
BContainer: ou,
|
|
9403
9441
|
BDropdown: Cn,
|
|
@@ -9420,7 +9458,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9420
9458
|
BFormRadioGroup: Qu,
|
|
9421
9459
|
BFormRow: Qt,
|
|
9422
9460
|
BFormSelect: ld,
|
|
9423
|
-
BFormSelectOption:
|
|
9461
|
+
BFormSelectOption: sl,
|
|
9424
9462
|
BFormSelectOptionGroup: On,
|
|
9425
9463
|
BFormSpinButton: id,
|
|
9426
9464
|
BFormTag: In,
|
|
@@ -9428,9 +9466,9 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9428
9466
|
BFormText: Fa,
|
|
9429
9467
|
BFormTextarea: _d,
|
|
9430
9468
|
BFormValidFeedback: Ia,
|
|
9431
|
-
BImg:
|
|
9469
|
+
BImg: nl,
|
|
9432
9470
|
BInputGroup: Ed,
|
|
9433
|
-
BInputGroupAddon:
|
|
9471
|
+
BInputGroupAddon: rl,
|
|
9434
9472
|
BInputGroupAppend: Fd,
|
|
9435
9473
|
BInputGroupPrepend: Id,
|
|
9436
9474
|
BInputGroupText: Ln,
|
|
@@ -9448,14 +9486,14 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9448
9486
|
BNavbarNav: Zd,
|
|
9449
9487
|
BNavbarToggle: nc,
|
|
9450
9488
|
BOffcanvas: ic,
|
|
9451
|
-
BOverlay:
|
|
9489
|
+
BOverlay: il,
|
|
9452
9490
|
BPagination: yc,
|
|
9453
9491
|
BPlaceholder: Ne,
|
|
9454
9492
|
BPlaceholderButton: xn,
|
|
9455
9493
|
BPlaceholderCard: bc,
|
|
9456
9494
|
BPlaceholderTable: hc,
|
|
9457
9495
|
BPlaceholderWrapper: Bc,
|
|
9458
|
-
BPopover:
|
|
9496
|
+
BPopover: ol,
|
|
9459
9497
|
BProgress: wc,
|
|
9460
9498
|
BProgressBar: Rn,
|
|
9461
9499
|
BRow: _c,
|
|
@@ -9463,7 +9501,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9463
9501
|
BTab: af,
|
|
9464
9502
|
BTable: Gc,
|
|
9465
9503
|
BTableLite: Mn,
|
|
9466
|
-
BTableSimple:
|
|
9504
|
+
BTableSimple: dl,
|
|
9467
9505
|
BTabs: of,
|
|
9468
9506
|
BTbody: Wc,
|
|
9469
9507
|
BTd: Kc,
|
|
@@ -9476,7 +9514,7 @@ const _c = /* @__PURE__ */ ya($c, [["render", Cc]]), kc = ["TD", "TH", "TR"], Tc
|
|
|
9476
9514
|
BToaster: Pa,
|
|
9477
9515
|
BTooltip: nf,
|
|
9478
9516
|
BTr: tf,
|
|
9479
|
-
BTransition:
|
|
9517
|
+
BTransition: Et
|
|
9480
9518
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9481
9519
|
const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9482
9520
|
__proto__: null,
|
|
@@ -9486,19 +9524,19 @@ const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9486
9524
|
__proto__: null,
|
|
9487
9525
|
BvCarouselEvent: po,
|
|
9488
9526
|
BvEvent: Ke,
|
|
9489
|
-
BvTriggerableEvent:
|
|
9527
|
+
BvTriggerableEvent: xt
|
|
9490
9528
|
}, Symbol.toStringTag, { value: "Module" })), cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9491
9529
|
__proto__: null
|
|
9492
9530
|
}, Symbol.toStringTag, { value: "Module" })), ff = {
|
|
9493
9531
|
install(e, t = { components: !0, directives: !0 }) {
|
|
9494
|
-
const l = typeof t.components == "boolean" || typeof t.components > "u" ? { all: !0 } : t.components, a = Object.keys(
|
|
9495
|
-
|
|
9496
|
-
const r =
|
|
9532
|
+
const l = typeof t.components == "boolean" || typeof t.components > "u" ? { all: !0 } : t.components, a = Object.keys(ro);
|
|
9533
|
+
Rl(l, a).forEach((s) => {
|
|
9534
|
+
const r = ro[s];
|
|
9497
9535
|
e.component(s, r);
|
|
9498
9536
|
});
|
|
9499
|
-
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(
|
|
9500
|
-
|
|
9501
|
-
const r = s.toLowerCase().startsWith("v") ? s.slice(1) : s, i =
|
|
9537
|
+
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);
|
|
9538
|
+
Rl(o, n).forEach((s) => {
|
|
9539
|
+
const r = s.toLowerCase().startsWith("v") ? s.slice(1) : s, i = lo[s];
|
|
9502
9540
|
e.directive(r, i);
|
|
9503
9541
|
}), t != null && t.BToast && e.use(wn, t);
|
|
9504
9542
|
}
|
|
@@ -9526,8 +9564,8 @@ export {
|
|
|
9526
9564
|
mn as BCardTitle,
|
|
9527
9565
|
Wi as BCarousel,
|
|
9528
9566
|
Ji as BCarouselSlide,
|
|
9529
|
-
|
|
9530
|
-
|
|
9567
|
+
Ft as BCloseButton,
|
|
9568
|
+
It as BCol,
|
|
9531
9569
|
cn as BCollapse,
|
|
9532
9570
|
ou as BContainer,
|
|
9533
9571
|
Cn as BDropdown,
|
|
@@ -9550,7 +9588,7 @@ export {
|
|
|
9550
9588
|
Qu as BFormRadioGroup,
|
|
9551
9589
|
Qt as BFormRow,
|
|
9552
9590
|
ld as BFormSelect,
|
|
9553
|
-
|
|
9591
|
+
sl as BFormSelectOption,
|
|
9554
9592
|
On as BFormSelectOptionGroup,
|
|
9555
9593
|
id as BFormSpinButton,
|
|
9556
9594
|
In as BFormTag,
|
|
@@ -9558,9 +9596,9 @@ export {
|
|
|
9558
9596
|
Fa as BFormText,
|
|
9559
9597
|
_d as BFormTextarea,
|
|
9560
9598
|
Ia as BFormValidFeedback,
|
|
9561
|
-
|
|
9599
|
+
nl as BImg,
|
|
9562
9600
|
Ed as BInputGroup,
|
|
9563
|
-
|
|
9601
|
+
rl as BInputGroupAddon,
|
|
9564
9602
|
Fd as BInputGroupAppend,
|
|
9565
9603
|
Id as BInputGroupPrepend,
|
|
9566
9604
|
Ln as BInputGroupText,
|
|
@@ -9578,14 +9616,14 @@ export {
|
|
|
9578
9616
|
Zd as BNavbarNav,
|
|
9579
9617
|
nc as BNavbarToggle,
|
|
9580
9618
|
ic as BOffcanvas,
|
|
9581
|
-
|
|
9619
|
+
il as BOverlay,
|
|
9582
9620
|
yc as BPagination,
|
|
9583
9621
|
Ne as BPlaceholder,
|
|
9584
9622
|
xn as BPlaceholderButton,
|
|
9585
9623
|
bc as BPlaceholderCard,
|
|
9586
9624
|
hc as BPlaceholderTable,
|
|
9587
9625
|
Bc as BPlaceholderWrapper,
|
|
9588
|
-
|
|
9626
|
+
ol as BPopover,
|
|
9589
9627
|
wc as BProgress,
|
|
9590
9628
|
Rn as BProgressBar,
|
|
9591
9629
|
_c as BRow,
|
|
@@ -9593,7 +9631,7 @@ export {
|
|
|
9593
9631
|
af as BTab,
|
|
9594
9632
|
Gc as BTable,
|
|
9595
9633
|
Mn as BTableLite,
|
|
9596
|
-
|
|
9634
|
+
dl as BTableSimple,
|
|
9597
9635
|
of as BTabs,
|
|
9598
9636
|
Wc as BTbody,
|
|
9599
9637
|
Kc as BTd,
|
|
@@ -9606,14 +9644,14 @@ export {
|
|
|
9606
9644
|
Pa as BToaster,
|
|
9607
9645
|
nf as BTooltip,
|
|
9608
9646
|
tf as BTr,
|
|
9609
|
-
|
|
9647
|
+
Et as BTransition,
|
|
9610
9648
|
ff as BootstrapVueNext,
|
|
9611
9649
|
po as BvCarouselEvent,
|
|
9612
9650
|
Ke as BvEvent,
|
|
9613
|
-
|
|
9614
|
-
|
|
9651
|
+
xt as BvTriggerableEvent,
|
|
9652
|
+
ro as Components,
|
|
9615
9653
|
uf as Composables,
|
|
9616
|
-
|
|
9654
|
+
lo as Directives,
|
|
9617
9655
|
cf as Types,
|
|
9618
9656
|
df as Utils,
|
|
9619
9657
|
ff as default,
|