@wwtdev/bsds-components-vue3 3.0.8 → 3.0.9
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/lib/bsds-components.js +492 -491
- package/lib/bsds-components.js.map +1 -1
- package/package.json +2 -2
package/lib/bsds-components.js
CHANGED
|
@@ -576,10 +576,10 @@ function An(e) {
|
|
|
576
576
|
"aria-controls": s.value,
|
|
577
577
|
"aria-expanded": c.value
|
|
578
578
|
};
|
|
579
|
-
}),
|
|
579
|
+
}), S = f(() => !l.value || l.value === "popHover" ? {} : { onClick: k, onKeydown: m }), g = f(() => l.value ? {
|
|
580
580
|
id: p.value,
|
|
581
581
|
...v.value,
|
|
582
|
-
...
|
|
582
|
+
...S.value,
|
|
583
583
|
[`data-bs-${l.value}`]: s.value
|
|
584
584
|
} : {});
|
|
585
585
|
G(s, (h, B, I) => {
|
|
@@ -587,7 +587,7 @@ function An(e) {
|
|
|
587
587
|
const N = l.value;
|
|
588
588
|
n.registerPopTrigger(N, h), I(() => n.unregisterPopTrigger(N, h));
|
|
589
589
|
}, { immediate: !0 });
|
|
590
|
-
function
|
|
590
|
+
function k(h) {
|
|
591
591
|
if (h.target.tagName !== "BUTTON") {
|
|
592
592
|
const N = h.target.closest('[data-bs-pop-faux-button="true"]');
|
|
593
593
|
if ((N == null ? void 0 : N.ariaDisabled) === "true") {
|
|
@@ -605,10 +605,10 @@ function An(e) {
|
|
|
605
605
|
h.stopPropagation(), I(s.value);
|
|
606
606
|
}
|
|
607
607
|
function m(h) {
|
|
608
|
-
h.target.dataset.bsPopFauxButton !== "true" || !["Space", "Enter", "NumpadEnter"].includes(h.code) ||
|
|
608
|
+
h.target.dataset.bsPopFauxButton !== "true" || !["Space", "Enter", "NumpadEnter"].includes(h.code) || k(h);
|
|
609
609
|
}
|
|
610
610
|
return {
|
|
611
|
-
popAttrs:
|
|
611
|
+
popAttrs: g,
|
|
612
612
|
popSlotProps: u
|
|
613
613
|
};
|
|
614
614
|
}
|
|
@@ -2426,14 +2426,14 @@ const Vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2426
2426
|
// DEPRECATED
|
|
2427
2427
|
active: {
|
|
2428
2428
|
deprecated: !0,
|
|
2429
|
-
default:
|
|
2429
|
+
default: void 0,
|
|
2430
2430
|
description: "Used with the filter prop to indicate a pill that is an active.",
|
|
2431
2431
|
type: Boolean,
|
|
2432
2432
|
typeDef: "boolean"
|
|
2433
2433
|
},
|
|
2434
2434
|
truncate: {
|
|
2435
2435
|
deprecated: !0,
|
|
2436
|
-
default:
|
|
2436
|
+
default: void 0,
|
|
2437
2437
|
description: "Will truncate and add elipses when text overflows.",
|
|
2438
2438
|
type: Boolean,
|
|
2439
2439
|
typeDef: "boolean"
|
|
@@ -3577,7 +3577,7 @@ const yl = ["id", "data-stacked"], ml = ["data-open"], gl = ["aria-controls", "a
|
|
|
3577
3577
|
function p() {
|
|
3578
3578
|
o("toggled", l.value), t.controlled || (a.value = !a.value);
|
|
3579
3579
|
}
|
|
3580
|
-
return (v,
|
|
3580
|
+
return (v, S) => (d(), y("div", {
|
|
3581
3581
|
id: b(l),
|
|
3582
3582
|
ref_key: "containerRef",
|
|
3583
3583
|
ref: i,
|
|
@@ -3641,8 +3641,8 @@ function vt(e, n = "button") {
|
|
|
3641
3641
|
return r.linkTo && typeof r.linkTo == "object" ? ((u = (c = e.router) == null ? void 0 : c.resolve(e.linkTo)) == null ? void 0 : u.path) || "" : r.linkTo || r.href;
|
|
3642
3642
|
}
|
|
3643
3643
|
function s(r, c) {
|
|
3644
|
-
const u = r === "a", p = r === "button", v = (
|
|
3645
|
-
|
|
3644
|
+
const u = r === "a", p = r === "button", v = (S) => {
|
|
3645
|
+
S.preventDefault(), S.stopImmediatePropagation();
|
|
3646
3646
|
};
|
|
3647
3647
|
return {
|
|
3648
3648
|
type: p ? c.type || "button" : void 0,
|
|
@@ -3712,24 +3712,24 @@ const kl = { key: 0 }, Dl = {
|
|
|
3712
3712
|
if (n.hoverEffect)
|
|
3713
3713
|
return n.iconPosition;
|
|
3714
3714
|
}), r = f(() => n.icon ? n.icon : n.iconPosition === "left" ? n.textBtn || n.size === "sm" ? So : Kt : n.textBtn || n.size === "sm" ? Bo : Gt), c = f(() => n.textBtn || !!(t != null && t.default)), u = f(() => c.value && n.iconPosition !== "left"), p = f(() => c.value && n.iconPosition === "left"), v = f(() => n.variant ? `color-${n.variant}` : void 0);
|
|
3715
|
-
return (
|
|
3715
|
+
return (S, g) => (d(), A(ie(b(o)), X({
|
|
3716
3716
|
class: "bs-circle-button",
|
|
3717
|
-
"data-disabled":
|
|
3717
|
+
"data-disabled": S.disabled,
|
|
3718
3718
|
"data-direction": s.value,
|
|
3719
|
-
"data-ghost":
|
|
3720
|
-
"data-size":
|
|
3719
|
+
"data-ghost": S.ghostBtn || void 0,
|
|
3720
|
+
"data-size": S.size || void 0,
|
|
3721
3721
|
"data-text": c.value || void 0,
|
|
3722
3722
|
"data-variant": v.value,
|
|
3723
3723
|
"data-component": "bs-circle-button"
|
|
3724
3724
|
}, { ...b(i), ...l.value }, { onClick: b(a) }), {
|
|
3725
3725
|
default: j(() => [
|
|
3726
3726
|
u.value ? (d(), y("span", kl, [
|
|
3727
|
-
L(
|
|
3728
|
-
Q(M(
|
|
3727
|
+
L(S.$slots, "default", {}, () => [
|
|
3728
|
+
Q(M(S.label), 1)
|
|
3729
3729
|
])
|
|
3730
3730
|
])) : P("", !0),
|
|
3731
3731
|
O("span", Dl, [
|
|
3732
|
-
L(
|
|
3732
|
+
L(S.$slots, "icon", {}, () => [
|
|
3733
3733
|
typeof r.value == "string" ? (d(), A(b(ze), {
|
|
3734
3734
|
key: 0,
|
|
3735
3735
|
name: r.value
|
|
@@ -3737,8 +3737,8 @@ const kl = { key: 0 }, Dl = {
|
|
|
3737
3737
|
])
|
|
3738
3738
|
]),
|
|
3739
3739
|
p.value ? (d(), y("span", Tl, [
|
|
3740
|
-
L(
|
|
3741
|
-
Q(M(
|
|
3740
|
+
L(S.$slots, "default", {}, () => [
|
|
3741
|
+
Q(M(S.label), 1)
|
|
3742
3742
|
])
|
|
3743
3743
|
])) : P("", !0)
|
|
3744
3744
|
]),
|
|
@@ -3936,8 +3936,8 @@ const kl = { key: 0 }, Dl = {
|
|
|
3936
3936
|
const n = e;
|
|
3937
3937
|
let t = [], o = !1, i;
|
|
3938
3938
|
const a = f(() => {
|
|
3939
|
-
const
|
|
3940
|
-
return
|
|
3939
|
+
const g = n.transitionDuration.toString();
|
|
3940
|
+
return g.startsWith("var(--") || g.startsWith("calc(") || g.endsWith("ms") ? g : g.startsWith("--") ? `var(${g})` : `${g}ms`;
|
|
3941
3941
|
});
|
|
3942
3942
|
G(() => n.active, () => {
|
|
3943
3943
|
n.active ? l() : s();
|
|
@@ -3946,36 +3946,36 @@ const kl = { key: 0 }, Dl = {
|
|
|
3946
3946
|
t = r(), o = c(), u(), v();
|
|
3947
3947
|
}
|
|
3948
3948
|
function s() {
|
|
3949
|
-
p(),
|
|
3949
|
+
p(), S();
|
|
3950
3950
|
}
|
|
3951
3951
|
function r() {
|
|
3952
|
-
const
|
|
3953
|
-
return Array.from(
|
|
3952
|
+
const g = document.querySelectorAll(n.inertSelector);
|
|
3953
|
+
return Array.from(g);
|
|
3954
3954
|
}
|
|
3955
3955
|
function c() {
|
|
3956
|
-
const
|
|
3957
|
-
if (
|
|
3958
|
-
return
|
|
3956
|
+
const g = document.scrollingElement;
|
|
3957
|
+
if (g)
|
|
3958
|
+
return g.scrollHeight > g.clientHeight;
|
|
3959
3959
|
}
|
|
3960
3960
|
function u() {
|
|
3961
|
-
t.forEach((
|
|
3961
|
+
t.forEach((g) => g.setAttribute("inert", ""));
|
|
3962
3962
|
}
|
|
3963
3963
|
function p() {
|
|
3964
|
-
t.forEach((
|
|
3964
|
+
t.forEach((g) => g.removeAttribute("inert"));
|
|
3965
3965
|
}
|
|
3966
3966
|
function v() {
|
|
3967
|
-
var
|
|
3968
|
-
o && (i = (
|
|
3967
|
+
var g;
|
|
3968
|
+
o && (i = (g = getComputedStyle(document.scrollingElement)) == null ? void 0 : g.scrollbarGutter, document.scrollingElement.style.scrollbarGutter = "stable"), document.body.setAttribute("data-scroll", !1);
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3970
|
+
function S() {
|
|
3971
3971
|
o && (document.scrollingElement.style.scrollbarGutter = i), document.body.removeAttribute("data-scroll");
|
|
3972
3972
|
}
|
|
3973
|
-
return (
|
|
3973
|
+
return (g, k) => (d(), A(wt, {
|
|
3974
3974
|
name: "bs-backdrop",
|
|
3975
3975
|
appear: ""
|
|
3976
3976
|
}, {
|
|
3977
3977
|
default: j(() => [
|
|
3978
|
-
|
|
3978
|
+
g.active ? (d(), y("div", {
|
|
3979
3979
|
key: 0,
|
|
3980
3980
|
class: "bs-backdrop",
|
|
3981
3981
|
style: Tt(`--bs-backdrop-transition-duration: ${a.value}`),
|
|
@@ -4309,19 +4309,19 @@ const kl = { key: 0 }, Dl = {
|
|
|
4309
4309
|
setup(e, { emit: n }) {
|
|
4310
4310
|
const t = e, o = n, i = C(null), a = C(null);
|
|
4311
4311
|
function l(v) {
|
|
4312
|
-
const
|
|
4313
|
-
v.dispatchEvent(
|
|
4312
|
+
const S = new Event("change", { bubbles: !0, cancelable: !0 });
|
|
4313
|
+
v.dispatchEvent(S);
|
|
4314
4314
|
}
|
|
4315
4315
|
function s(v) {
|
|
4316
|
-
const { value:
|
|
4317
|
-
i.value.value =
|
|
4316
|
+
const { value: S } = v.target, [g, k] = S.split(/ to | - /);
|
|
4317
|
+
i.value.value = g || "", a.value.value = k || "", l(i.value), l(a.value);
|
|
4318
4318
|
}
|
|
4319
4319
|
const r = pt(s, 1e3);
|
|
4320
4320
|
function c(v) {
|
|
4321
4321
|
o("ui-input"), r(v);
|
|
4322
4322
|
}
|
|
4323
4323
|
const u = f(() => t.listeners.start ? t.listeners.start : {}), p = f(() => t.listeners.end ? t.listeners.end : {});
|
|
4324
|
-
return (v,
|
|
4324
|
+
return (v, S) => (d(), A(en, {
|
|
4325
4325
|
disabled: e.disabled,
|
|
4326
4326
|
error: e.error
|
|
4327
4327
|
}, {
|
|
@@ -4334,7 +4334,7 @@ const kl = { key: 0 }, Dl = {
|
|
|
4334
4334
|
"model-value": e.inputValueFmt,
|
|
4335
4335
|
placeholder: e.placeholder,
|
|
4336
4336
|
required: e.required,
|
|
4337
|
-
onFocusin:
|
|
4337
|
+
onFocusin: S[0] || (S[0] = (g) => v.$emit("ui-focusin")),
|
|
4338
4338
|
onInput: c,
|
|
4339
4339
|
onChange: s
|
|
4340
4340
|
}, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
|
|
@@ -4358,7 +4358,7 @@ const kl = { key: 0 }, Dl = {
|
|
|
4358
4358
|
"aria-label": "Clear",
|
|
4359
4359
|
type: "button",
|
|
4360
4360
|
class: "bs-calendar-clear-btn",
|
|
4361
|
-
onClick:
|
|
4361
|
+
onClick: S[1] || (S[1] = (g) => v.$emit("clear"))
|
|
4362
4362
|
}, [
|
|
4363
4363
|
q(b(xe), {
|
|
4364
4364
|
size: "sm",
|
|
@@ -4417,7 +4417,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4417
4417
|
var w;
|
|
4418
4418
|
return (w = t.exclusiveDates) != null && w.length ? I(t.exclusiveDates) : t.disabledDates;
|
|
4419
4419
|
}
|
|
4420
|
-
), v = f(() => t.inputId || l.value),
|
|
4420
|
+
), v = f(() => t.inputId || l.value), S = f(() => ({ range: t.isRange })), g = f(() => t.showClear && t.modelValue && !t.disabled), k = f(() => !!(t.error && t.errorMsg || t.hint)), m = f(() => t.step), h = f(() => t.variant);
|
|
4421
4421
|
Kl(a), ot(
|
|
4422
4422
|
ao,
|
|
4423
4423
|
(w) => i.value = w != null && w.matches && h.value == "2-col" ? 2 : 1,
|
|
@@ -4427,12 +4427,12 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4427
4427
|
(w) => r.value = w != null && w.matches && h.value == "2-col" ? m.value : 1,
|
|
4428
4428
|
[m, h]
|
|
4429
4429
|
), oe(() => {
|
|
4430
|
-
t.inputMode || setTimeout(
|
|
4430
|
+
t.inputMode || setTimeout(D, 100);
|
|
4431
4431
|
}), G(() => {
|
|
4432
4432
|
var w, T;
|
|
4433
4433
|
return (T = (w = o.value) == null ? void 0 : w.popoverRef) == null ? void 0 : T.isVisible;
|
|
4434
4434
|
}, (w) => {
|
|
4435
|
-
w && setTimeout(
|
|
4435
|
+
w && setTimeout(D, 100);
|
|
4436
4436
|
});
|
|
4437
4437
|
function B(w) {
|
|
4438
4438
|
return t.isRange && w.start && w.end ? `${w.start} to ${w.end}` : !t.isRange && w ? w : "";
|
|
@@ -4451,7 +4451,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4451
4451
|
function N(w) {
|
|
4452
4452
|
!t.isRange || a.value.contains(w.relatedTarget) || o.value.hidePopover();
|
|
4453
4453
|
}
|
|
4454
|
-
function
|
|
4454
|
+
function D() {
|
|
4455
4455
|
const w = a.value.querySelector("button.vc-prev"), T = a.value.querySelector("button.vc-next");
|
|
4456
4456
|
w && w.setAttribute("aria-label", "Previous month"), T && T.setAttribute("aria-label", "Next month");
|
|
4457
4457
|
}
|
|
@@ -4485,7 +4485,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4485
4485
|
"min-date": w.minDate,
|
|
4486
4486
|
mode: "date",
|
|
4487
4487
|
"model-value": w.modelValue,
|
|
4488
|
-
"model-modifiers":
|
|
4488
|
+
"model-modifiers": S.value,
|
|
4489
4489
|
popover: { visibility: "focus" },
|
|
4490
4490
|
rows: 1,
|
|
4491
4491
|
step: r.value,
|
|
@@ -4503,7 +4503,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4503
4503
|
"input-value-fmt": B(x),
|
|
4504
4504
|
listeners: W,
|
|
4505
4505
|
placeholder: w.placeholder,
|
|
4506
|
-
"show-clear":
|
|
4506
|
+
"show-clear": g.value,
|
|
4507
4507
|
required: w.required,
|
|
4508
4508
|
onUiFocusin: K,
|
|
4509
4509
|
onUiInput: K,
|
|
@@ -4516,7 +4516,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4516
4516
|
listeners: W,
|
|
4517
4517
|
"model-value": B(x),
|
|
4518
4518
|
placeholder: w.placeholder,
|
|
4519
|
-
"show-clear":
|
|
4519
|
+
"show-clear": g.value,
|
|
4520
4520
|
required: w.required,
|
|
4521
4521
|
onClear: T[0] || (T[0] = (te) => w.$emit("clear"))
|
|
4522
4522
|
}, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "show-clear", "required"]))
|
|
@@ -4524,7 +4524,7 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4524
4524
|
key: "0"
|
|
4525
4525
|
} : void 0
|
|
4526
4526
|
]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
|
|
4527
|
-
|
|
4527
|
+
k.value ? (d(), A(qe, {
|
|
4528
4528
|
key: 1,
|
|
4529
4529
|
error: w.error,
|
|
4530
4530
|
"error-msg": w.errorMsg,
|
|
@@ -4622,8 +4622,8 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4622
4622
|
},
|
|
4623
4623
|
setup(e) {
|
|
4624
4624
|
const n = e, t = C(!1), o = (u) => {
|
|
4625
|
-
const p = new Date(u), v = p.toTimeString().split(" ")[0],
|
|
4626
|
-
return `${v} (${
|
|
4625
|
+
const p = new Date(u), v = p.toTimeString().split(" ")[0], S = p.toDateString().split(" ").slice(1, 3).join(" ");
|
|
4626
|
+
return `${v} (${S})`;
|
|
4627
4627
|
}, i = f(() => {
|
|
4628
4628
|
var u;
|
|
4629
4629
|
return !((u = n.dataIdxLabels) != null && u.length);
|
|
@@ -4632,13 +4632,13 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4632
4632
|
try {
|
|
4633
4633
|
return u.map((p) => {
|
|
4634
4634
|
const v = p.label;
|
|
4635
|
-
let
|
|
4636
|
-
if (p.data.some((
|
|
4637
|
-
const
|
|
4638
|
-
|
|
4635
|
+
let S = [];
|
|
4636
|
+
if (p.data.some((g) => (g == null ? void 0 : g.x) && (g == null ? void 0 : g.y))) {
|
|
4637
|
+
const g = p.data.reduce((k, m) => (k[m.x] = m.y, k), {});
|
|
4638
|
+
S = n.dataIdxLabels.map((k) => ({ value: g[k] ?? null }));
|
|
4639
4639
|
} else
|
|
4640
|
-
|
|
4641
|
-
return { rowLabel: v, dataCells:
|
|
4640
|
+
S = p.data.map((g) => ({ value: g }));
|
|
4641
|
+
return { rowLabel: v, dataCells: S };
|
|
4642
4642
|
});
|
|
4643
4643
|
} catch {
|
|
4644
4644
|
return [];
|
|
@@ -4646,16 +4646,16 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4646
4646
|
}
|
|
4647
4647
|
function l(u) {
|
|
4648
4648
|
try {
|
|
4649
|
-
const p = u.reduce((
|
|
4650
|
-
const m =
|
|
4651
|
-
return [...
|
|
4649
|
+
const p = u.reduce((g, k) => {
|
|
4650
|
+
const m = k.data.map((h) => h == null ? void 0 : h.x);
|
|
4651
|
+
return [...g, ...m];
|
|
4652
4652
|
}, []), v = Array.from(new Set(p));
|
|
4653
|
-
return (n.xAxisType === "time" || n.xAxisType === "linear") && v.sort((
|
|
4654
|
-
const
|
|
4653
|
+
return (n.xAxisType === "time" || n.xAxisType === "linear") && v.sort((g, k) => (typeof g == "string" && typeof k == "string" && (g = g.toLowerCase(), k = k.toLowerCase()), g < k ? -1 : g > k ? 1 : 0)), v.map((g) => {
|
|
4654
|
+
const k = { rowLabel: g }, m = [];
|
|
4655
4655
|
return u.forEach((h) => {
|
|
4656
|
-
const B = { datasetLabel: h.label }, I = h.data.find((N) => N.x ===
|
|
4656
|
+
const B = { datasetLabel: h.label }, I = h.data.find((N) => N.x === g);
|
|
4657
4657
|
B.value = I ? I.y : null, m.push(B);
|
|
4658
|
-
}),
|
|
4658
|
+
}), k.dataCells = m, n.xAxisType === "time" && (k.rowLabelFmt = o(g)), k;
|
|
4659
4659
|
});
|
|
4660
4660
|
} catch {
|
|
4661
4661
|
return [];
|
|
@@ -4697,9 +4697,9 @@ const Gl = ["data-range"], ao = "(min-width: 752px)", vf = /* @__PURE__ */ Objec
|
|
|
4697
4697
|
key: v.rowLabelFmt || v.rowLabel
|
|
4698
4698
|
}, [
|
|
4699
4699
|
O("th", Jl, M(v.rowLabelFmt || v.rowLabel), 1),
|
|
4700
|
-
(d(!0), y(_, null, ue(v.dataCells, (
|
|
4701
|
-
key: `${v.rowLabelFmt || v.rowLabel}${
|
|
4702
|
-
}, M(
|
|
4700
|
+
(d(!0), y(_, null, ue(v.dataCells, (S) => (d(), y("td", {
|
|
4701
|
+
key: `${v.rowLabelFmt || v.rowLabel}${S.datasetLabel}${S.value}`
|
|
4702
|
+
}, M(S.value), 1))), 128))
|
|
4703
4703
|
]))), 128))
|
|
4704
4704
|
])
|
|
4705
4705
|
], 8, Yl)) : P("", !0)
|
|
@@ -4749,12 +4749,12 @@ function tr(e, n) {
|
|
|
4749
4749
|
const B = `[data-dataset-index="${m}"][data-label-index="${h}"]`, I = i.value.querySelector(B);
|
|
4750
4750
|
(N = I == null ? void 0 : I.focus) == null || N.call(I);
|
|
4751
4751
|
}
|
|
4752
|
-
function
|
|
4752
|
+
function S(...m) {
|
|
4753
4753
|
!c || !t.value || (sn.register(...m), sn.defaults.font.family = "'Roobert', sans-serif", r = new sn(t.value, c));
|
|
4754
4754
|
}
|
|
4755
|
-
const
|
|
4755
|
+
const g = pt(function(m) {
|
|
4756
4756
|
c && (c.updateOptions(m), r.options = c.options, r.update());
|
|
4757
|
-
}, 100),
|
|
4757
|
+
}, 100), k = pt(function(m) {
|
|
4758
4758
|
c && (c.updateData(m), r.data = c.data, r.update());
|
|
4759
4759
|
}, 100);
|
|
4760
4760
|
return ot(
|
|
@@ -4781,9 +4781,9 @@ function tr(e, n) {
|
|
|
4781
4781
|
() => n.yLabel,
|
|
4782
4782
|
() => n.yMin,
|
|
4783
4783
|
() => n.yMax
|
|
4784
|
-
], () =>
|
|
4784
|
+
], () => g(n)), G(
|
|
4785
4785
|
o,
|
|
4786
|
-
(m) =>
|
|
4786
|
+
(m) => g(Xt(
|
|
4787
4787
|
{},
|
|
4788
4788
|
n,
|
|
4789
4789
|
m ? s : l
|
|
@@ -4793,12 +4793,12 @@ function tr(e, n) {
|
|
|
4793
4793
|
() => n.data,
|
|
4794
4794
|
() => n.dataIdxLabels
|
|
4795
4795
|
],
|
|
4796
|
-
() =>
|
|
4796
|
+
() => k(n),
|
|
4797
4797
|
{ deep: !0 }
|
|
4798
4798
|
), {
|
|
4799
4799
|
canvasRef: t,
|
|
4800
4800
|
legendListRef: i,
|
|
4801
|
-
registerChart:
|
|
4801
|
+
registerChart: S
|
|
4802
4802
|
};
|
|
4803
4803
|
}
|
|
4804
4804
|
const nr = (e) => ({
|
|
@@ -4892,7 +4892,7 @@ function Wn() {
|
|
|
4892
4892
|
};
|
|
4893
4893
|
}
|
|
4894
4894
|
function Hn(e) {
|
|
4895
|
-
var
|
|
4895
|
+
var S, g;
|
|
4896
4896
|
const {
|
|
4897
4897
|
dataIdxLabels: n,
|
|
4898
4898
|
showXGrid: t,
|
|
@@ -4943,7 +4943,7 @@ function Hn(e) {
|
|
|
4943
4943
|
}
|
|
4944
4944
|
}
|
|
4945
4945
|
};
|
|
4946
|
-
return (a === "time" || ((
|
|
4946
|
+
return (a === "time" || ((g = (S = u == null ? void 0 : u.scales) == null ? void 0 : S.x) == null ? void 0 : g.type) === "time") && (v.x.ticks.source = n != null && n.length ? "labels" : "auto", v.x.time = {
|
|
4947
4947
|
tooltipFormat: "dd MMM yyyy : h:mm bbb"
|
|
4948
4948
|
}), v;
|
|
4949
4949
|
}
|
|
@@ -5271,21 +5271,21 @@ const rr = {
|
|
|
5271
5271
|
const t = e;
|
|
5272
5272
|
ee(t, "inputId", void 0, "Set 'id' directly on the component instead.");
|
|
5273
5273
|
const o = n, [i] = fe(), { filtered: a, remaining: l } = Oe(["class", "style"]), s = C(null), r = f(() => t.inputId || i.value), c = f(() => t.checked || v.value), u = f(() => t.indeterminate || t.checkedPartially), p = f(() => Array.isArray(t.modelValue) && t.value), v = f(() => p.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
|
|
5274
|
-
function
|
|
5274
|
+
function S() {
|
|
5275
5275
|
s.value && (s.value.indeterminate = u.value && !c.value);
|
|
5276
5276
|
}
|
|
5277
|
-
function
|
|
5277
|
+
function g(h) {
|
|
5278
5278
|
o("update:modelValue", h);
|
|
5279
5279
|
}
|
|
5280
|
-
function
|
|
5280
|
+
function k(h) {
|
|
5281
5281
|
const B = [...t.modelValue];
|
|
5282
5282
|
h ? B.push(t.value) : B.splice(B.indexOf(t.value), 1), o("update:modelValue", B);
|
|
5283
5283
|
}
|
|
5284
5284
|
function m(h) {
|
|
5285
5285
|
const { checked: B } = h.target;
|
|
5286
|
-
p.value ?
|
|
5286
|
+
p.value ? k(B) : g(B);
|
|
5287
5287
|
}
|
|
5288
|
-
return G(c,
|
|
5288
|
+
return G(c, S), G(u, S), oe(S), (h, B) => (d(), y("div", X({
|
|
5289
5289
|
class: "bs-boolean",
|
|
5290
5290
|
"data-component": "bs-checkbox",
|
|
5291
5291
|
"data-disabled": e.disabled,
|
|
@@ -5398,8 +5398,8 @@ const vr = {
|
|
|
5398
5398
|
if (Ke.indexOf(r) === Ke.length - 1 && c.active && s.key === "Tab") {
|
|
5399
5399
|
const p = e.querySelectorAll(c.selector);
|
|
5400
5400
|
if (p.length > 0) {
|
|
5401
|
-
const v = p[0],
|
|
5402
|
-
document.activeElement === v && s.shiftKey ? t(s,
|
|
5401
|
+
const v = p[0], S = p[p.length - 1];
|
|
5402
|
+
document.activeElement === v && s.shiftKey ? t(s, S, c) : document.activeElement === S && !s.shiftKey ? o(s, v, c) : e.contains(document.activeElement) || i(s, v);
|
|
5403
5403
|
}
|
|
5404
5404
|
}
|
|
5405
5405
|
}
|
|
@@ -5510,18 +5510,18 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5510
5510
|
`#${t.teleportTargetId}`,
|
|
5511
5511
|
"#bs-toast-teleport-target",
|
|
5512
5512
|
"script"
|
|
5513
|
-
].join(",")})`,
|
|
5513
|
+
].join(",")})`, S = C(), g = C(""), k = f(() => a.openIds.value.includes(t.id)), m = f(() => t.anchor || a.anchorsByPopId.value[t.id]), h = f(() => m.value === "viewport"), B = f(() => {
|
|
5514
5514
|
if (i["aria-label"]) return;
|
|
5515
5515
|
const $ = i["aria-labelledby"];
|
|
5516
|
-
return $ || (
|
|
5516
|
+
return $ || (S.value ? S.value : h.value ? a.anchorsByPopId.value[t.id] : m.value);
|
|
5517
5517
|
}), I = f(() => {
|
|
5518
5518
|
const $ = h.value ? "center" : "top";
|
|
5519
5519
|
return t.place || $;
|
|
5520
5520
|
}), N = f(() => {
|
|
5521
5521
|
const $ = t.transitionDuration.toString();
|
|
5522
5522
|
return $.startsWith("var(--") || $.startsWith("calc(") || $.endsWith("ms") ? $ : $.startsWith("--") ? `var(${$})` : `${$}ms`;
|
|
5523
|
-
}),
|
|
5524
|
-
active: t.trapFocus &&
|
|
5523
|
+
}), D = f(() => ({
|
|
5524
|
+
active: t.trapFocus && k.value,
|
|
5525
5525
|
preventFirstShiftTab: t.preventFirstShiftTab,
|
|
5526
5526
|
preventLastTab: t.preventLastTab,
|
|
5527
5527
|
selectorPrefix: t.selectorPrefix
|
|
@@ -5529,8 +5529,8 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5529
5529
|
var $;
|
|
5530
5530
|
return (($ = a.popIdsByTrigger.value.popHover) == null ? void 0 : $.includes(t.id)) || t.type === "tooltip";
|
|
5531
5531
|
}), T = f(() => h.value ? null : u.value), x = f(() => h.value ? null : c.value);
|
|
5532
|
-
G(
|
|
5533
|
-
ge(),
|
|
5532
|
+
G(k, () => {
|
|
5533
|
+
ge(), k.value ? Z() : ae();
|
|
5534
5534
|
}), G(m, ge), G(a.lastCancelledId, ($) => t.id === $ && he("cancel")), G(a.lastConfirmedId, ($) => t.id === $ && he("confirm")), G(() => t.preventAutoClose, R, { immediate: !0 }), G(() => t.preventClose, we, { immediate: !0 }), G(() => t.preventCloseEsc, De, { immediate: !0 }), G(() => t.preventCloseOutside, Te, { immediate: !0 }), G(() => t.id, ($, Y) => {
|
|
5535
5535
|
te(Y), K($), R(), we(), De(), Te();
|
|
5536
5536
|
}), yr({
|
|
@@ -5557,13 +5557,13 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5557
5557
|
a.unregister($);
|
|
5558
5558
|
}
|
|
5559
5559
|
function re($) {
|
|
5560
|
-
|
|
5560
|
+
S.value = $;
|
|
5561
5561
|
}
|
|
5562
5562
|
function he($) {
|
|
5563
5563
|
o($, { id: t.id });
|
|
5564
5564
|
}
|
|
5565
5565
|
function ge() {
|
|
5566
|
-
if (!
|
|
5566
|
+
if (!k.value || h.value || !m.value) {
|
|
5567
5567
|
u.value = null, be();
|
|
5568
5568
|
return;
|
|
5569
5569
|
}
|
|
@@ -5575,7 +5575,7 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5575
5575
|
}
|
|
5576
5576
|
}
|
|
5577
5577
|
function be() {
|
|
5578
|
-
|
|
5578
|
+
g.value = t.size === "anchor" && u.value ? `--bs-popover-width: ${u.value.offsetWidth}px` : "";
|
|
5579
5579
|
}
|
|
5580
5580
|
function we() {
|
|
5581
5581
|
t.preventClose ? (a.removeEsc(t.id), a.removeOutsideClick(t.id)) : (a.addEsc(t.id), a.addOutsideClick(t.id));
|
|
@@ -5634,14 +5634,14 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5634
5634
|
onAfterLeave: Y[3] || (Y[3] = (V) => o("after-close", { id: $.id }))
|
|
5635
5635
|
}, {
|
|
5636
5636
|
default: j(() => [
|
|
5637
|
-
$.persist ||
|
|
5637
|
+
$.persist || k.value ? me((d(), y("div", {
|
|
5638
5638
|
key: 0,
|
|
5639
5639
|
id: `${$.id}-wrap`,
|
|
5640
5640
|
class: "bs-popover-wrap"
|
|
5641
5641
|
}, [
|
|
5642
5642
|
$.backdrop ? (d(), A(Al, {
|
|
5643
5643
|
key: 0,
|
|
5644
|
-
active:
|
|
5644
|
+
active: k.value,
|
|
5645
5645
|
"inert-selector": v
|
|
5646
5646
|
}, null, 8, ["active"])) : P("", !0),
|
|
5647
5647
|
me((d(), y("div", X({ id: $.id }, $.$attrs, {
|
|
@@ -5649,7 +5649,7 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5649
5649
|
class: "bs-popover",
|
|
5650
5650
|
"data-size": $.size,
|
|
5651
5651
|
"data-place-self": h.value ? I.value : void 0,
|
|
5652
|
-
style: [!h.value && b(W),
|
|
5652
|
+
style: [!h.value && b(W), g.value],
|
|
5653
5653
|
role: $.role,
|
|
5654
5654
|
"aria-labelledby": B.value,
|
|
5655
5655
|
"aria-modal": $.backdrop || void 0,
|
|
@@ -5663,10 +5663,10 @@ const $r = ["id"], Ir = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5663
5663
|
"pop-cancel": "self"
|
|
5664
5664
|
})) : P("", !0)
|
|
5665
5665
|
], 16, Ir)), [
|
|
5666
|
-
[b(vr),
|
|
5666
|
+
[b(vr), D.value]
|
|
5667
5667
|
])
|
|
5668
5668
|
], 8, $r)), [
|
|
5669
|
-
[Ce, $.persist ?
|
|
5669
|
+
[Ce, $.persist ? k.value : !0]
|
|
5670
5670
|
]) : P("", !0)
|
|
5671
5671
|
]),
|
|
5672
5672
|
_: 3
|
|
@@ -5734,26 +5734,26 @@ const Or = ["data-hide-input"], Pr = {
|
|
|
5734
5734
|
emits: ["update:modelValue"],
|
|
5735
5735
|
setup(e) {
|
|
5736
5736
|
const n = e, t = Me(e, "modelValue"), o = ce(nn, null), i = Cr(), { filtered: a, remaining: l } = Oe(["class", "style"]), s = C(!1), r = C(!1), c = f(() => t.value.length >= n.minChars), u = f(() => c.value ? t.value : ""), p = f(() => {
|
|
5737
|
-
const
|
|
5738
|
-
return [!0, "true"].includes(
|
|
5737
|
+
const D = n.debounce;
|
|
5738
|
+
return [!0, "true"].includes(D) ? 300 : [void 0, null, !1, "false"].includes(D) ? 0 : D;
|
|
5739
5739
|
}), v = f(() => {
|
|
5740
|
-
const
|
|
5741
|
-
return pt(
|
|
5742
|
-
}), g = f(() => {
|
|
5743
|
-
if (c.value) return "";
|
|
5744
|
-
const k = n.minChars - t.value.length;
|
|
5745
|
-
return `Please enter ${k} more character${k === 1 ? "" : "s"}.`;
|
|
5740
|
+
const D = n.filterExternal ? k : N;
|
|
5741
|
+
return pt(D, p.value);
|
|
5746
5742
|
}), S = f(() => {
|
|
5747
|
-
if (
|
|
5743
|
+
if (c.value) return "";
|
|
5744
|
+
const D = n.minChars - t.value.length;
|
|
5745
|
+
return `Please enter ${D} more character${D === 1 ? "" : "s"}.`;
|
|
5746
|
+
}), g = f(() => {
|
|
5747
|
+
if (S.value) return S.value;
|
|
5748
5748
|
if (r.value || i.isPendingRequest.value) return "Searching...";
|
|
5749
|
-
const
|
|
5750
|
-
return !r.value && u.value.length && !
|
|
5749
|
+
const D = Object.values(o.optionsById.value);
|
|
5750
|
+
return !r.value && u.value.length && !D.length || !n.filterExternal && u.value.length && !D.some((w) => w.isVisible.value) ? "No results found." : "";
|
|
5751
5751
|
});
|
|
5752
|
-
G(t, (
|
|
5753
|
-
!
|
|
5752
|
+
G(t, (D, w) => {
|
|
5753
|
+
!D && !w || (r.value = p.value > 0, t.value && c.value ? v.value() : v.value.trigger());
|
|
5754
5754
|
}, { immediate: !0 }), oe(() => {
|
|
5755
|
-
var
|
|
5756
|
-
if (n.preventReset && ((
|
|
5755
|
+
var D;
|
|
5756
|
+
if (n.preventReset && ((D = o.filter.value.query) != null && D.value)) {
|
|
5757
5757
|
t.value = o.filter.value.query.value;
|
|
5758
5758
|
return;
|
|
5759
5759
|
}
|
|
@@ -5761,10 +5761,10 @@ const Or = ["data-hide-input"], Pr = {
|
|
|
5761
5761
|
}), Ie(() => {
|
|
5762
5762
|
o.unregisterFilter();
|
|
5763
5763
|
});
|
|
5764
|
-
function D
|
|
5764
|
+
function k(D = u.value) {
|
|
5765
5765
|
if (i.abortPreviousRequest(), n.onQuery) {
|
|
5766
5766
|
const w = { abortSignal: i.getSignal() };
|
|
5767
|
-
i.trackRequest(() => n.onQuery(
|
|
5767
|
+
i.trackRequest(() => n.onQuery(D, w));
|
|
5768
5768
|
}
|
|
5769
5769
|
r.value = !1;
|
|
5770
5770
|
}
|
|
@@ -5775,25 +5775,25 @@ const Or = ["data-hide-input"], Pr = {
|
|
|
5775
5775
|
m();
|
|
5776
5776
|
}
|
|
5777
5777
|
function B() {
|
|
5778
|
-
v.value.clear(), n.preventReset || (t.value = ""),
|
|
5778
|
+
v.value.clear(), n.preventReset || (t.value = ""), k("");
|
|
5779
5779
|
}
|
|
5780
5780
|
function I() {
|
|
5781
5781
|
t.value = "", m();
|
|
5782
5782
|
}
|
|
5783
5783
|
function N() {
|
|
5784
|
-
const
|
|
5784
|
+
const D = n.filterKey, w = {
|
|
5785
5785
|
undefined: (W) => W.templateRef.value.innerText,
|
|
5786
5786
|
string: (W) => W.props.value[n.filterKey],
|
|
5787
5787
|
function: (W) => n.filterKey(W.props.value)
|
|
5788
|
-
}, T = Object.values(o.optionsById.value), x = w[typeof
|
|
5788
|
+
}, T = Object.values(o.optionsById.value), x = w[typeof D];
|
|
5789
5789
|
T.forEach((W) => {
|
|
5790
5790
|
W.isVisible.value = c.value ? x(W).toLowerCase().includes(t.value.toLowerCase()) : !0;
|
|
5791
|
-
}),
|
|
5791
|
+
}), k();
|
|
5792
5792
|
}
|
|
5793
|
-
return (
|
|
5794
|
-
"data-hide-input":
|
|
5793
|
+
return (D, w) => (d(), y("div", X({ class: "bs-dropdown-filter" }, b(a), {
|
|
5794
|
+
"data-hide-input": D.hideInput || void 0
|
|
5795
5795
|
}), [
|
|
5796
|
-
|
|
5796
|
+
D.hideInput ? P("", !0) : (d(), y("div", Pr, [
|
|
5797
5797
|
q(b(Do), {
|
|
5798
5798
|
class: "bs-dropdown-filter-icon",
|
|
5799
5799
|
"aria-hidden": "true"
|
|
@@ -5805,7 +5805,7 @@ const Or = ["data-hide-input"], Pr = {
|
|
|
5805
5805
|
"onUpdate:modelValue": w[0] || (w[0] = (T) => t.value = T),
|
|
5806
5806
|
modelModifiers: { trim: !0 }
|
|
5807
5807
|
}, b(l), {
|
|
5808
|
-
placeholder:
|
|
5808
|
+
placeholder: D.placeholder,
|
|
5809
5809
|
onBlur: w[1] || (w[1] = (T) => s.value = !1)
|
|
5810
5810
|
}), null, 16, ["modelValue", "placeholder"]), [
|
|
5811
5811
|
[b(ki), s.value]
|
|
@@ -5820,7 +5820,7 @@ const Or = ["data-hide-input"], Pr = {
|
|
|
5820
5820
|
q(b(xe), { size: "sm" })
|
|
5821
5821
|
])) : P("", !0)
|
|
5822
5822
|
])),
|
|
5823
|
-
|
|
5823
|
+
g.value ? (d(), y("p", Ar, M(g.value), 1)) : P("", !0)
|
|
5824
5824
|
], 16, Or));
|
|
5825
5825
|
}
|
|
5826
5826
|
});
|
|
@@ -5832,13 +5832,13 @@ function Lr(e, n, t, o) {
|
|
|
5832
5832
|
const m = Object.values(n.value), h = [], B = [];
|
|
5833
5833
|
let I;
|
|
5834
5834
|
for (let N = 0; N < m.length; N++) {
|
|
5835
|
-
const
|
|
5836
|
-
|
|
5835
|
+
const D = m[N];
|
|
5836
|
+
D.isVisible.value && !D.props.disabled && (D.groupId !== I && (h.push(...B), B.length = 0, I = D.groupId), D.isSelectedToTop.value ? h.push(D.templateRef.value) : B.push(D.templateRef.value));
|
|
5837
5837
|
}
|
|
5838
5838
|
return h.push(...B), h;
|
|
5839
5839
|
}), s = f(() => i.value !== -1 ? l.value[i.value].getAttribute("id") : null);
|
|
5840
5840
|
Ie(() => {
|
|
5841
|
-
|
|
5841
|
+
g();
|
|
5842
5842
|
});
|
|
5843
5843
|
function r(m = -1) {
|
|
5844
5844
|
if (i.value === -1) {
|
|
@@ -5853,8 +5853,8 @@ function Lr(e, n, t, o) {
|
|
|
5853
5853
|
root: t.value,
|
|
5854
5854
|
rootMargin: "0px 0px 0px 0px"
|
|
5855
5855
|
}, B = new IntersectionObserver((N) => {
|
|
5856
|
-
const
|
|
5857
|
-
m(
|
|
5856
|
+
const D = N.reduce((w, T) => T.isIntersecting ? w + 1 : w, 0);
|
|
5857
|
+
m(D - 1), B.disconnect();
|
|
5858
5858
|
}, h);
|
|
5859
5859
|
t.value.querySelectorAll('.bs-option[data-visible="true"]').forEach((N) => B.observe(N));
|
|
5860
5860
|
}
|
|
@@ -5912,24 +5912,24 @@ function Lr(e, n, t, o) {
|
|
|
5912
5912
|
l.value[I].textContent.trim().toLowerCase().startsWith(a.keysTyped) && (i.value = I, t.value.focus(), m.preventDefault(), B = !0), I++;
|
|
5913
5913
|
}
|
|
5914
5914
|
}
|
|
5915
|
-
function
|
|
5915
|
+
function S() {
|
|
5916
5916
|
var m;
|
|
5917
5917
|
document.addEventListener("keydown", u), document.addEventListener("keydown", v), (m = t.value) == null || m.addEventListener("keydown", p);
|
|
5918
5918
|
}
|
|
5919
|
-
function
|
|
5919
|
+
function g() {
|
|
5920
5920
|
var m;
|
|
5921
5921
|
document.removeEventListener("keydown", u), document.removeEventListener("keydown", v), (m = t.value) == null || m.removeEventListener("keydown", p);
|
|
5922
5922
|
}
|
|
5923
|
-
function
|
|
5923
|
+
function k() {
|
|
5924
5924
|
i.value = -1;
|
|
5925
5925
|
}
|
|
5926
5926
|
return {
|
|
5927
5927
|
activeOptionId: s,
|
|
5928
5928
|
filteredOptions: l,
|
|
5929
|
-
addTraverseListListener:
|
|
5929
|
+
addTraverseListListener: S,
|
|
5930
5930
|
initActiveIndex: r,
|
|
5931
|
-
removeTraverseListListener:
|
|
5932
|
-
resetActiveIndex:
|
|
5931
|
+
removeTraverseListListener: g,
|
|
5932
|
+
resetActiveIndex: k
|
|
5933
5933
|
};
|
|
5934
5934
|
}
|
|
5935
5935
|
const zr = { class: "bs-dropdown-mobile-header" }, xr = {
|
|
@@ -5964,15 +5964,15 @@ const zr = { class: "bs-dropdown-mobile-header" }, xr = {
|
|
|
5964
5964
|
}), ot("(max-width: 1165px)", (z) => {
|
|
5965
5965
|
u.value = z.matches;
|
|
5966
5966
|
});
|
|
5967
|
-
const s = ut({}), r = ut({}), c = C(!1), u = C(!1), p = f(() => n.persist ? "afterClose" : "close"), v = f(() => n.filter || n.filterKey || n.filterExternal),
|
|
5967
|
+
const s = ut({}), r = ut({}), c = C(!1), u = C(!1), p = f(() => n.persist ? "afterClose" : "close"), v = f(() => n.filter || n.filterKey || n.filterExternal), S = f(() => {
|
|
5968
5968
|
if (B.value.length > 0 && l.isOpen(n.id))
|
|
5969
5969
|
return 0;
|
|
5970
|
-
}),
|
|
5970
|
+
}), g = f(() => n.mobileSheet === "tablet" && u.value || n.mobileSheet === "mobile" && c.value), k = f(() => g.value ? "viewport" : n.anchor), m = f(() => g.value ? "bottom" : n.place), {
|
|
5971
5971
|
activeOptionId: h,
|
|
5972
5972
|
filteredOptions: B,
|
|
5973
5973
|
addTraverseListListener: I,
|
|
5974
5974
|
initActiveIndex: N,
|
|
5975
|
-
removeTraverseListListener:
|
|
5975
|
+
removeTraverseListListener: D,
|
|
5976
5976
|
resetActiveIndex: w
|
|
5977
5977
|
} = Lr(n, s, a, v);
|
|
5978
5978
|
Be(nn, {
|
|
@@ -6016,7 +6016,7 @@ const zr = { class: "bs-dropdown-mobile-header" }, xr = {
|
|
|
6016
6016
|
}
|
|
6017
6017
|
function re() {
|
|
6018
6018
|
var z, U;
|
|
6019
|
-
(U = (z = r.value).onDropdownClose) == null || U.call(z),
|
|
6019
|
+
(U = (z = r.value).onDropdownClose) == null || U.call(z), D(), w();
|
|
6020
6020
|
}
|
|
6021
6021
|
function he() {
|
|
6022
6022
|
l.close(n.id);
|
|
@@ -6052,13 +6052,13 @@ const zr = { class: "bs-dropdown-mobile-header" }, xr = {
|
|
|
6052
6052
|
return (z, U) => (d(), A(Ct, X({
|
|
6053
6053
|
id: z.id,
|
|
6054
6054
|
class: "bs-dropdown",
|
|
6055
|
-
anchor:
|
|
6056
|
-
backdrop:
|
|
6055
|
+
anchor: k.value,
|
|
6056
|
+
backdrop: g.value,
|
|
6057
6057
|
"data-component": "bs-dropdown",
|
|
6058
6058
|
"data-mobile-sheet": z.mobileSheet ? z.mobileSheet : void 0,
|
|
6059
6059
|
persist: z.persist,
|
|
6060
6060
|
place: m.value,
|
|
6061
|
-
"prevent-close-x": !
|
|
6061
|
+
"prevent-close-x": !g.value,
|
|
6062
6062
|
"prevent-first-shift-tab": "",
|
|
6063
6063
|
"prevent-last-tab": "",
|
|
6064
6064
|
"trap-focus": "",
|
|
@@ -6100,7 +6100,7 @@ const zr = { class: "bs-dropdown-mobile-header" }, xr = {
|
|
|
6100
6100
|
"aria-live": "polite",
|
|
6101
6101
|
"aria-multiselectable": z.multiple || void 0,
|
|
6102
6102
|
role: z.role,
|
|
6103
|
-
tabindex:
|
|
6103
|
+
tabindex: S.value,
|
|
6104
6104
|
onFocus: U[1] || (U[1] = ($) => b(N)(0)),
|
|
6105
6105
|
onBlur: U[2] || (U[2] = ($) => b(w)()),
|
|
6106
6106
|
onMousedown: U[3] || (U[3] = Se(() => {
|
|
@@ -6494,42 +6494,42 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6494
6494
|
});
|
|
6495
6495
|
const { breakoutStub: p, breakoutMounted: v } = Ur(t.breakout, t.containerId);
|
|
6496
6496
|
Be("dropdownEnter", l), Be("dropdownAfterEnter", s), Be("dropdownShown", f(() => t.shown));
|
|
6497
|
-
const
|
|
6498
|
-
a.value.style.setProperty(
|
|
6497
|
+
const S = (D, w) => {
|
|
6498
|
+
a.value.style.setProperty(D, w);
|
|
6499
6499
|
};
|
|
6500
|
-
function
|
|
6501
|
-
const
|
|
6502
|
-
D
|
|
6500
|
+
function g() {
|
|
6501
|
+
const D = c.value.getBoundingClientRect(), w = r.value.getBoundingClientRect(), T = a.value.getBoundingClientRect();
|
|
6502
|
+
k(D, w), m(D, w, T);
|
|
6503
6503
|
}
|
|
6504
|
-
function D
|
|
6504
|
+
function k(D, w) {
|
|
6505
6505
|
if (t.position === "top") {
|
|
6506
|
-
const T =
|
|
6507
|
-
|
|
6506
|
+
const T = D.bottom - w.bottom;
|
|
6507
|
+
S("--dropdown-wscreen-top", "auto"), S("--dropdown-wscreen-bottom", `${T + w.height + 8}px`);
|
|
6508
6508
|
} else {
|
|
6509
|
-
const T = w.top -
|
|
6510
|
-
|
|
6509
|
+
const T = w.top - D.top;
|
|
6510
|
+
S("--dropdown-wscreen-top", `${T + w.height + 8}px`), S("--dropdown-wscreen-bottom", "auto");
|
|
6511
6511
|
}
|
|
6512
6512
|
}
|
|
6513
|
-
function m(
|
|
6514
|
-
const x = w.left -
|
|
6513
|
+
function m(D, w, T) {
|
|
6514
|
+
const x = w.left - D.left;
|
|
6515
6515
|
if (t.position === "center") {
|
|
6516
6516
|
const W = (w.width - T.width) / 2;
|
|
6517
|
-
|
|
6517
|
+
S("--dropdown-wscreen-left", `${x + W}px`), S("--dropdown-wscreen-right", "auto");
|
|
6518
6518
|
} else if (t.position === "right") {
|
|
6519
|
-
const W =
|
|
6520
|
-
|
|
6519
|
+
const W = D.right - w.right;
|
|
6520
|
+
S("--dropdown-wscreen-left", "auto"), S("--dropdown-wscreen-right", `${W}px`);
|
|
6521
6521
|
} else
|
|
6522
|
-
|
|
6522
|
+
S("--dropdown-wscreen-left", `${x}px`), S("--dropdown-wscreen-right", "auto");
|
|
6523
6523
|
}
|
|
6524
6524
|
function h() {
|
|
6525
6525
|
if (t.width === "anchor") {
|
|
6526
|
-
const
|
|
6527
|
-
|
|
6526
|
+
const D = r.value.getBoundingClientRect();
|
|
6527
|
+
S("--dropdown-wscreen-width", `${D.width}px`);
|
|
6528
6528
|
} else
|
|
6529
|
-
|
|
6529
|
+
S("--dropdown-wscreen-width", "");
|
|
6530
6530
|
}
|
|
6531
6531
|
function B() {
|
|
6532
|
-
l.value = !0, r.value = document.getElementById(t.anchorId),
|
|
6532
|
+
l.value = !0, r.value = document.getElementById(t.anchorId), g(), h(), o("enter");
|
|
6533
6533
|
}
|
|
6534
6534
|
function I() {
|
|
6535
6535
|
s.value = !0, o("after-enter");
|
|
@@ -6537,7 +6537,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6537
6537
|
function N() {
|
|
6538
6538
|
l.value = !1, s.value = !1, o("after-leave");
|
|
6539
6539
|
}
|
|
6540
|
-
return (
|
|
6540
|
+
return (D, w) => (d(), y(_, null, [
|
|
6541
6541
|
e.useMobileStyle && e.shown ? (d(), y("div", Kr)) : P("", !0),
|
|
6542
6542
|
q(Hr, {
|
|
6543
6543
|
ref_key: "dropdownContainerRef",
|
|
@@ -6564,7 +6564,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6564
6564
|
"data-width": u.value,
|
|
6565
6565
|
"data-shown": e.shown,
|
|
6566
6566
|
"data-no-mobile": !e.useMobileStyle
|
|
6567
|
-
},
|
|
6567
|
+
}, D.$attrs), [
|
|
6568
6568
|
e.helperText ? (d(), y("header", Xr, [
|
|
6569
6569
|
O("div", null, [
|
|
6570
6570
|
O("h3", null, M(e.helperText), 1),
|
|
@@ -6578,7 +6578,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6578
6578
|
q(b(xe))
|
|
6579
6579
|
])
|
|
6580
6580
|
])) : P("", !0),
|
|
6581
|
-
L(
|
|
6581
|
+
L(D.$slots, "default")
|
|
6582
6582
|
], 16, Gr)
|
|
6583
6583
|
]),
|
|
6584
6584
|
_: 3
|
|
@@ -6843,20 +6843,20 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6843
6843
|
ee(o, "inputId", void 0, "Set 'id' directly on the component instead.");
|
|
6844
6844
|
const i = Sn(o, "inputId", "id");
|
|
6845
6845
|
ee(o, "hideClear", "preventClear");
|
|
6846
|
-
const a = Sn(o, "hideClear", "preventClear"), l = Me(e, "modelValue"), s = $e(), { filtered: r, remaining: c } = Oe(["class", "style"]), u = f(() => i.value || s), p = f(() => `${u.value}-wrap`), v = C(!1),
|
|
6847
|
-
function
|
|
6846
|
+
const a = Sn(o, "hideClear", "preventClear"), l = Me(e, "modelValue"), s = $e(), { filtered: r, remaining: c } = Oe(["class", "style"]), u = f(() => i.value || s), p = f(() => `${u.value}-wrap`), v = C(!1), S = f(() => l.value && !o.disabled && !a.value && o.variant !== "filter");
|
|
6847
|
+
function g() {
|
|
6848
6848
|
l.value = "", v.value = !0, t("clear");
|
|
6849
6849
|
}
|
|
6850
|
-
return (
|
|
6850
|
+
return (k, m) => (d(), y("div", X({
|
|
6851
6851
|
class: "bs-input-search",
|
|
6852
6852
|
"data-component": "bs-input-search",
|
|
6853
|
-
"data-variant":
|
|
6853
|
+
"data-variant": k.variant,
|
|
6854
6854
|
id: p.value
|
|
6855
6855
|
}, b(r), {
|
|
6856
6856
|
tabindex: "-1",
|
|
6857
6857
|
onFocus: m[2] || (m[2] = (h) => v.value = !0)
|
|
6858
6858
|
}), [
|
|
6859
|
-
|
|
6859
|
+
k.hideSearchIcon ? P("", !0) : (d(), A(b(Do), {
|
|
6860
6860
|
key: 0,
|
|
6861
6861
|
class: "bs-input-search-icon",
|
|
6862
6862
|
"aria-hidden": "true"
|
|
@@ -6865,9 +6865,9 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6865
6865
|
id: u.value,
|
|
6866
6866
|
class: "bs-input-search-input",
|
|
6867
6867
|
"aria-label": "Search",
|
|
6868
|
-
disabled:
|
|
6869
|
-
error:
|
|
6870
|
-
placeholder:
|
|
6868
|
+
disabled: k.disabled,
|
|
6869
|
+
error: k.error,
|
|
6870
|
+
placeholder: k.placeholder,
|
|
6871
6871
|
modelValue: l.value,
|
|
6872
6872
|
"onUpdate:modelValue": m[0] || (m[0] = (h) => l.value = h)
|
|
6873
6873
|
}, b(c), {
|
|
@@ -6875,12 +6875,12 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6875
6875
|
}), null, 16, ["id", "disabled", "error", "placeholder", "modelValue"]), [
|
|
6876
6876
|
[b(ki), v.value]
|
|
6877
6877
|
]),
|
|
6878
|
-
|
|
6878
|
+
S.value ? (d(), y("button", {
|
|
6879
6879
|
key: 1,
|
|
6880
6880
|
class: "bs-input-search-button",
|
|
6881
6881
|
type: "button",
|
|
6882
6882
|
"aria-label": "Clear",
|
|
6883
|
-
onClick: Se(
|
|
6883
|
+
onClick: Se(g, ["stop"])
|
|
6884
6884
|
}, [
|
|
6885
6885
|
q(b(xe), {
|
|
6886
6886
|
size: "sm",
|
|
@@ -6936,7 +6936,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6936
6936
|
ee(o, "selectedValue", void 0, "Use 'modelValue' (or 'v-model') instead");
|
|
6937
6937
|
const i = Sn(o, "selectedValue", "modelValue"), a = t, l = C(null), s = C(null), r = C(-1), c = C(-1), u = C(null), p = C(!1);
|
|
6938
6938
|
let v = {};
|
|
6939
|
-
const
|
|
6939
|
+
const S = ce("dropdownEnter", C(!1)), g = ce("dropdownAfterEnter", C(!1)), k = ce("dropdownShown", C(!1));
|
|
6940
6940
|
Be("optionsId", f(() => o.optionsId)), Be("handleOptionSelect", he), Be("registerOptionById", ({ id: R, val: Z }) => {
|
|
6941
6941
|
v[R] = Z;
|
|
6942
6942
|
}), ld(l, N, { childList: !0 }), Xe([" ", "Enter", "NumpadEnter"], ge, l), Xe(["ArrowDown", "ArrowUp", "Home", "End"], be);
|
|
@@ -6945,31 +6945,31 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
6945
6945
|
lastTyped: 0
|
|
6946
6946
|
};
|
|
6947
6947
|
Xe(B, (R) => De(R, I)), oe(() => {
|
|
6948
|
-
N(), K(
|
|
6948
|
+
N(), K(k.value);
|
|
6949
6949
|
}), Ie(() => {
|
|
6950
6950
|
v = null;
|
|
6951
6951
|
}), G(
|
|
6952
|
-
[
|
|
6952
|
+
[S, () => {
|
|
6953
6953
|
var R;
|
|
6954
6954
|
return (R = u.value) == null ? void 0 : R.length;
|
|
6955
6955
|
}],
|
|
6956
6956
|
([R, Z]) => {
|
|
6957
6957
|
R && Z > 0 && (p.value = l.value.scrollHeight > l.value.clientHeight);
|
|
6958
6958
|
}
|
|
6959
|
-
), G(
|
|
6960
|
-
R && (
|
|
6961
|
-
}), G(
|
|
6959
|
+
), G(g, (R) => {
|
|
6960
|
+
R && (D(), w());
|
|
6961
|
+
}), G(k, (R) => K(R));
|
|
6962
6962
|
function N() {
|
|
6963
6963
|
u.value = Array.from(
|
|
6964
6964
|
l.value.querySelectorAll('[data-component="bs-dropdown-option"]')
|
|
6965
6965
|
);
|
|
6966
6966
|
}
|
|
6967
|
-
function
|
|
6967
|
+
function D() {
|
|
6968
6968
|
l.value.getBoundingClientRect().bottom > window.innerHeight && l.value.scrollIntoView({ block: "nearest" });
|
|
6969
6969
|
}
|
|
6970
6970
|
function w() {
|
|
6971
6971
|
var R;
|
|
6972
|
-
r.value > -1 && (
|
|
6972
|
+
r.value > -1 && (D(), (R = u.value[r.value]) == null || R.scrollIntoView({ block: "nearest" }));
|
|
6973
6973
|
}
|
|
6974
6974
|
function T() {
|
|
6975
6975
|
var R, Z;
|
|
@@ -7008,7 +7008,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7008
7008
|
he(u.value[r.value]), R.preventDefault();
|
|
7009
7009
|
}
|
|
7010
7010
|
function be(R) {
|
|
7011
|
-
if (
|
|
7011
|
+
if (k.value)
|
|
7012
7012
|
switch (R.key) {
|
|
7013
7013
|
case "ArrowDown":
|
|
7014
7014
|
we("down"), R.preventDefault();
|
|
@@ -7043,7 +7043,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7043
7043
|
Te(Z);
|
|
7044
7044
|
}
|
|
7045
7045
|
function De(R, Z) {
|
|
7046
|
-
if (!
|
|
7046
|
+
if (!k.value) return;
|
|
7047
7047
|
Z.keys = R.timeStamp - Z.lastTyped > 500 ? R.key : Z.keys + R.key, Z.lastTyped = R.timeStamp;
|
|
7048
7048
|
const ae = u.value.findIndex((z) => z.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(Z.keys));
|
|
7049
7049
|
ae > -1 && Te(ae, !1);
|
|
@@ -7068,7 +7068,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7068
7068
|
"data-overflow": p.value,
|
|
7069
7069
|
id: e.optionsId,
|
|
7070
7070
|
role: "listbox",
|
|
7071
|
-
tabindex: b(
|
|
7071
|
+
tabindex: b(k) ? 0 : void 0,
|
|
7072
7072
|
onBlur: x,
|
|
7073
7073
|
onFocus: W,
|
|
7074
7074
|
onKeydown: [
|
|
@@ -7138,10 +7138,10 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7138
7138
|
let c = !1;
|
|
7139
7139
|
const u = Kn(t);
|
|
7140
7140
|
G(() => t.options, () => {
|
|
7141
|
-
|
|
7141
|
+
S(t.selectedOptions);
|
|
7142
7142
|
}), G(
|
|
7143
7143
|
() => t.selectedOptions,
|
|
7144
|
-
|
|
7144
|
+
S,
|
|
7145
7145
|
{ immediate: !0 }
|
|
7146
7146
|
), G(() => t.shown, (m) => {
|
|
7147
7147
|
m && t.focusOnOpen && Ve(p);
|
|
@@ -7152,9 +7152,9 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7152
7152
|
function v() {
|
|
7153
7153
|
i.value && (i.value.refreshOptions(), i.value.setCurrentActive());
|
|
7154
7154
|
}
|
|
7155
|
-
function
|
|
7156
|
-
var
|
|
7157
|
-
const h = ((
|
|
7155
|
+
function S(m = []) {
|
|
7156
|
+
var D;
|
|
7157
|
+
const h = ((D = m[0]) == null ? void 0 : D[t.valueIdKey]) !== void 0;
|
|
7158
7158
|
h && (m = m.map((w) => w[t.valueIdKey]));
|
|
7159
7159
|
const B = new Set(m), I = [], N = [];
|
|
7160
7160
|
u.value.forEach((w) => {
|
|
@@ -7166,15 +7166,15 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7166
7166
|
});
|
|
7167
7167
|
});
|
|
7168
7168
|
}
|
|
7169
|
-
function
|
|
7169
|
+
function g(m = []) {
|
|
7170
7170
|
const h = new Set(m), B = [];
|
|
7171
7171
|
return u.value.forEach((I) => {
|
|
7172
7172
|
h.has(I.value) && B.push(I.value);
|
|
7173
7173
|
}), B;
|
|
7174
7174
|
}
|
|
7175
|
-
function
|
|
7175
|
+
function k(m) {
|
|
7176
7176
|
let h = [];
|
|
7177
|
-
t.selectedOptions.includes(m) ? (h = t.selectedOptions.filter((B) => B !== m), o("uncheck-option", m)) : (h =
|
|
7177
|
+
t.selectedOptions.includes(m) ? (h = t.selectedOptions.filter((B) => B !== m), o("uncheck-option", m)) : (h = g([...t.selectedOptions, m]), o("check-option", m)), c = !0, o("update:selectedOptions", h);
|
|
7178
7178
|
}
|
|
7179
7179
|
return (m, h) => (d(), A(an, {
|
|
7180
7180
|
ref_key: "optlist",
|
|
@@ -7187,7 +7187,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7187
7187
|
shown: e.shown,
|
|
7188
7188
|
onOptionsListShiftTab: h[0] || (h[0] = (B) => o("options-list-shift-tab")),
|
|
7189
7189
|
onOptionsListTab: h[1] || (h[1] = (B) => o("options-list-tab")),
|
|
7190
|
-
"onUpdate:modelValue":
|
|
7190
|
+
"onUpdate:modelValue": k
|
|
7191
7191
|
}, {
|
|
7192
7192
|
default: j(() => [
|
|
7193
7193
|
r.value ? (d(), y(_, { key: 0 }, [
|
|
@@ -7343,9 +7343,9 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7343
7343
|
let i = null;
|
|
7344
7344
|
const [a, l] = fe(2), s = C(!1), r = C(""), c = f(() => t.selectedOptions.length), u = f(
|
|
7345
7345
|
() => t.multiselect ? Ii : an
|
|
7346
|
-
), p = f(() => t.optionsId || l.value), v = f(() => t.toggleId || a.value),
|
|
7346
|
+
), p = f(() => t.optionsId || l.value), v = f(() => t.toggleId || a.value), S = Kn(t), g = f(() => r.value ? S.value.filter(
|
|
7347
7347
|
(K) => K.label.toLowerCase().startsWith(r.value.toLowerCase())
|
|
7348
|
-
) :
|
|
7348
|
+
) : S.value), k = f(() => t.filter ? g.value : S.value), m = () => i || (i = document.getElementById(v.value));
|
|
7349
7349
|
function h() {
|
|
7350
7350
|
const K = document.activeElement;
|
|
7351
7351
|
return !K || K.tagName === "BODY" || K.id === p.value;
|
|
@@ -7360,7 +7360,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7360
7360
|
function N() {
|
|
7361
7361
|
s.value = !0;
|
|
7362
7362
|
}
|
|
7363
|
-
function
|
|
7363
|
+
function D(K) {
|
|
7364
7364
|
const te = t.selectedOptions.filter((re) => re !== K);
|
|
7365
7365
|
o("update:selectedOptions", te), o("uncheck-option", K);
|
|
7366
7366
|
}
|
|
@@ -7434,7 +7434,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7434
7434
|
class: Pe({ "filterable-options": e.filter }),
|
|
7435
7435
|
label: e.dropdownLabel,
|
|
7436
7436
|
"model-value": e.selectedOption,
|
|
7437
|
-
options: e.multiselect ?
|
|
7437
|
+
options: e.multiselect ? k.value : void 0,
|
|
7438
7438
|
"options-id": p.value,
|
|
7439
7439
|
"selected-options": e.selectedOptions,
|
|
7440
7440
|
shown: e.open,
|
|
@@ -7443,13 +7443,13 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7443
7443
|
onClose: te[1] || (te[1] = (re) => e.multiselect ? void 0 : I()),
|
|
7444
7444
|
onOptionsListShiftTab: te[2] || (te[2] = (re) => K.$emit("options-list-shift-tab")),
|
|
7445
7445
|
onOptionsListTab: te[3] || (te[3] = (re) => K.$emit("options-list-tab")),
|
|
7446
|
-
onUncheckOption:
|
|
7446
|
+
onUncheckOption: D,
|
|
7447
7447
|
"onUpdate:modelValue": T
|
|
7448
7448
|
}, {
|
|
7449
7449
|
default: j(() => [
|
|
7450
7450
|
e.multiselect ? P("", !0) : (d(), A(Ut, {
|
|
7451
7451
|
key: 0,
|
|
7452
|
-
options:
|
|
7452
|
+
options: k.value,
|
|
7453
7453
|
"value-id-key": e.valueIdKey
|
|
7454
7454
|
}, null, 8, ["options", "value-id-key"]))
|
|
7455
7455
|
]),
|
|
@@ -7544,13 +7544,13 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7544
7544
|
function v() {
|
|
7545
7545
|
return p || (p = c.value.$el.querySelector("input")), p;
|
|
7546
7546
|
}
|
|
7547
|
-
function
|
|
7547
|
+
function S(N) {
|
|
7548
7548
|
o("combobox:change", N.target.value), o("update:modelValue", N.target.value);
|
|
7549
7549
|
}
|
|
7550
|
-
function
|
|
7550
|
+
function g() {
|
|
7551
7551
|
v().focus(), o("combobox:change", ""), o("update:modelValue", "");
|
|
7552
7552
|
}
|
|
7553
|
-
function
|
|
7553
|
+
function k(N) {
|
|
7554
7554
|
o("combobox:input", N.target.value), t.updateOnInput && o("update:modelValue", N.target.value);
|
|
7555
7555
|
}
|
|
7556
7556
|
function m() {
|
|
@@ -7565,7 +7565,7 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7565
7565
|
function I() {
|
|
7566
7566
|
r.value ? r.value = !1 : s.value = !0;
|
|
7567
7567
|
}
|
|
7568
|
-
return (N,
|
|
7568
|
+
return (N, D) => (d(), A(Ci, {
|
|
7569
7569
|
"anchor-id": b(a),
|
|
7570
7570
|
disabled: e.disabled,
|
|
7571
7571
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -7581,8 +7581,8 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7581
7581
|
"use-mobile-style": e.useMobileStyle,
|
|
7582
7582
|
"value-id-key": e.valueIdKey,
|
|
7583
7583
|
onClose: m,
|
|
7584
|
-
onOptionsListTab:
|
|
7585
|
-
"onUpdate:selectedOption":
|
|
7584
|
+
onOptionsListTab: D[2] || (D[2] = (w) => s.value = !1),
|
|
7585
|
+
"onUpdate:selectedOption": D[3] || (D[3] = (w) => N.$emit("update:modelValue", w))
|
|
7586
7586
|
}, {
|
|
7587
7587
|
toggle: j(() => [
|
|
7588
7588
|
q(Nr, X({
|
|
@@ -7598,14 +7598,14 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
7598
7598
|
"options-id": b(l),
|
|
7599
7599
|
placeholder: e.placeholder,
|
|
7600
7600
|
required: e.required,
|
|
7601
|
-
onChange:
|
|
7602
|
-
onClear:
|
|
7603
|
-
onInput:
|
|
7601
|
+
onChange: S,
|
|
7602
|
+
onClear: g,
|
|
7603
|
+
onInput: k,
|
|
7604
7604
|
onInputFocus: I,
|
|
7605
7605
|
onInputMousedown: h,
|
|
7606
7606
|
onInputMouseup: B,
|
|
7607
|
-
onInputShiftTab:
|
|
7608
|
-
onToggled:
|
|
7607
|
+
onInputShiftTab: D[0] || (D[0] = (w) => s.value = !1),
|
|
7608
|
+
onToggled: D[1] || (D[1] = (w) => s.value = !s.value)
|
|
7609
7609
|
}, N.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
|
|
7610
7610
|
]),
|
|
7611
7611
|
_: 1
|
|
@@ -8169,8 +8169,8 @@ const Rr = ["aria-controls", "aria-expanded", "data-open", "data-size", "disable
|
|
|
8169
8169
|
});
|
|
8170
8170
|
function s(p) {
|
|
8171
8171
|
if (p.key === "Tab") {
|
|
8172
|
-
const v = i.value.querySelectorAll(l.value),
|
|
8173
|
-
document.activeElement ===
|
|
8172
|
+
const v = i.value.querySelectorAll(l.value), S = v[0], g = v[v.length - 1];
|
|
8173
|
+
document.activeElement === S && p.shiftKey ? r(p, g) : document.activeElement === g && !p.shiftKey ? c(p, S) : i.value.contains(document.activeElement) || u(p, S);
|
|
8174
8174
|
}
|
|
8175
8175
|
}
|
|
8176
8176
|
function r(p, v) {
|
|
@@ -8380,15 +8380,15 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8380
8380
|
}), G(p, (B, I) => {
|
|
8381
8381
|
B !== I && (v.value = !1, m());
|
|
8382
8382
|
});
|
|
8383
|
-
function
|
|
8383
|
+
function S(B) {
|
|
8384
8384
|
i.value[B] = !i.value[B], Object.keys(i.value).forEach((I) => {
|
|
8385
8385
|
I !== B && (i.value[I] = !0);
|
|
8386
8386
|
});
|
|
8387
8387
|
}
|
|
8388
|
-
function
|
|
8388
|
+
function g() {
|
|
8389
8389
|
return v.value ? "Close Menu" : "Open Menu";
|
|
8390
8390
|
}
|
|
8391
|
-
function
|
|
8391
|
+
function k(B) {
|
|
8392
8392
|
return B.navItems.some((I) => s(I));
|
|
8393
8393
|
}
|
|
8394
8394
|
function m() {
|
|
@@ -8397,7 +8397,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8397
8397
|
});
|
|
8398
8398
|
}
|
|
8399
8399
|
function h(B, I) {
|
|
8400
|
-
B.ctrlKey || B.metaKey ||
|
|
8400
|
+
B.ctrlKey || B.metaKey || S(I.id), o("nav-link-clicked", { ev: B, payload: I });
|
|
8401
8401
|
}
|
|
8402
8402
|
return (B, I) => {
|
|
8403
8403
|
const N = wo("router-link");
|
|
@@ -8413,8 +8413,8 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8413
8413
|
class: "bs-horizontal-nav-mobile-toggle",
|
|
8414
8414
|
"aria-expanded": B.mobileOpen,
|
|
8415
8415
|
"aria-controls": `horizontal-nav-mobile-${b(u)}`,
|
|
8416
|
-
title:
|
|
8417
|
-
onClick: I[0] || (I[0] = (
|
|
8416
|
+
title: g(),
|
|
8417
|
+
onClick: I[0] || (I[0] = (D) => v.value = !v.value)
|
|
8418
8418
|
}, [
|
|
8419
8419
|
O("div", xd, [
|
|
8420
8420
|
typeof B.titleIcon == "string" ? (d(), A(b(ze), {
|
|
@@ -8436,29 +8436,29 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8436
8436
|
id: `horizontal-nav-mobile-${b(u)}`
|
|
8437
8437
|
}, [
|
|
8438
8438
|
O("ul", null, [
|
|
8439
|
-
(d(!0), y(_, null, ue(b(c), (
|
|
8439
|
+
(d(!0), y(_, null, ue(b(c), (D) => {
|
|
8440
8440
|
var w;
|
|
8441
8441
|
return d(), y(_, {
|
|
8442
|
-
key:
|
|
8442
|
+
key: D.id
|
|
8443
8443
|
}, [
|
|
8444
|
-
((w =
|
|
8444
|
+
((w = D.navItems) == null ? void 0 : w.length) > 0 ? (d(), y("li", {
|
|
8445
8445
|
key: 0,
|
|
8446
|
-
"data-expanded": b(r)(
|
|
8446
|
+
"data-expanded": b(r)(D)
|
|
8447
8447
|
}, [
|
|
8448
8448
|
O("button", {
|
|
8449
8449
|
type: "button",
|
|
8450
8450
|
class: "bs-horizontal-nav-mobile-nested-toggle",
|
|
8451
|
-
"aria-expanded": b(r)(
|
|
8452
|
-
"aria-controls": `${
|
|
8453
|
-
"data-active": D
|
|
8454
|
-
title: b(a)(
|
|
8455
|
-
onClick: (T) =>
|
|
8451
|
+
"aria-expanded": b(r)(D),
|
|
8452
|
+
"aria-controls": `${D.id}-nested-menu`,
|
|
8453
|
+
"data-active": k(D),
|
|
8454
|
+
title: b(a)(D),
|
|
8455
|
+
onClick: (T) => S(D.id)
|
|
8456
8456
|
}, [
|
|
8457
|
-
O("span", null, M(
|
|
8457
|
+
O("span", null, M(D.text), 1),
|
|
8458
8458
|
q(b(Ge), { class: "bs-horizontal-nav-mobile-nested-toggle-caret" })
|
|
8459
8459
|
], 8, Vd),
|
|
8460
8460
|
O("ul", qd, [
|
|
8461
|
-
(d(!0), y(_, null, ue(
|
|
8461
|
+
(d(!0), y(_, null, ue(D.navItems, (T) => (d(), y("li", null, [
|
|
8462
8462
|
q(rt, {
|
|
8463
8463
|
item: T,
|
|
8464
8464
|
router: B.router,
|
|
@@ -8473,12 +8473,12 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8473
8473
|
])
|
|
8474
8474
|
], 8, jd)) : (d(), y("li", Fd, [
|
|
8475
8475
|
q(rt, {
|
|
8476
|
-
item:
|
|
8476
|
+
item: D,
|
|
8477
8477
|
router: B.router,
|
|
8478
|
-
onNavLinkClicked: (T) => o("nav-link-clicked", { ev: T, payload:
|
|
8478
|
+
onNavLinkClicked: (T) => o("nav-link-clicked", { ev: T, payload: D })
|
|
8479
8479
|
}, {
|
|
8480
8480
|
default: j(() => [
|
|
8481
|
-
Q(M(
|
|
8481
|
+
Q(M(D.text), 1)
|
|
8482
8482
|
]),
|
|
8483
8483
|
_: 2
|
|
8484
8484
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -8514,7 +8514,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8514
8514
|
"aria-current": b(s)({ to: B.titleUrl }) || void 0,
|
|
8515
8515
|
to: B.titleUrl,
|
|
8516
8516
|
"data-active": b(s)({ to: B.titleUrl }),
|
|
8517
|
-
onClick: I[1] || (I[1] = (
|
|
8517
|
+
onClick: I[1] || (I[1] = (D) => o("nav-link-clicked", { ev: D, payload: { resource: { url: B.titleUrl }, text: B.title } }))
|
|
8518
8518
|
}, {
|
|
8519
8519
|
default: j(() => [
|
|
8520
8520
|
O("span", null, M(B.title), 1)
|
|
@@ -8522,39 +8522,39 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8522
8522
|
_: 1
|
|
8523
8523
|
}, 8, ["aria-current", "to", "data-active"])) : (d(), y("span", Hd, M(B.title), 1))
|
|
8524
8524
|
])) : P("", !0),
|
|
8525
|
-
(d(!0), y(_, null, ue(b(c), (
|
|
8525
|
+
(d(!0), y(_, null, ue(b(c), (D, w) => {
|
|
8526
8526
|
var T;
|
|
8527
8527
|
return d(), y(_, {
|
|
8528
|
-
key:
|
|
8528
|
+
key: D.id
|
|
8529
8529
|
}, [
|
|
8530
|
-
((T =
|
|
8530
|
+
((T = D.navItems) == null ? void 0 : T.length) > 0 ? (d(), y("li", Ud, [
|
|
8531
8531
|
O("button", {
|
|
8532
|
-
id: `${
|
|
8532
|
+
id: `${D.id}-toggle`,
|
|
8533
8533
|
type: "button",
|
|
8534
8534
|
class: "bs-horizontal-nav-nested-toggle",
|
|
8535
|
-
"aria-expanded": b(r)(
|
|
8536
|
-
"aria-controls": `${
|
|
8537
|
-
"data-active": D
|
|
8538
|
-
"data-expanded": b(r)(
|
|
8539
|
-
title: b(a)(
|
|
8540
|
-
onClick: (x) =>
|
|
8535
|
+
"aria-expanded": b(r)(D),
|
|
8536
|
+
"aria-controls": `${D.id}-nested-section`,
|
|
8537
|
+
"data-active": k(D),
|
|
8538
|
+
"data-expanded": b(r)(D),
|
|
8539
|
+
title: b(a)(D),
|
|
8540
|
+
onClick: (x) => S(D.id)
|
|
8541
8541
|
}, [
|
|
8542
|
-
O("span", null, M(
|
|
8542
|
+
O("span", null, M(D.text), 1),
|
|
8543
8543
|
q(b(Ge), { class: "bs-horizontal-nav-nested-toggle-caret" })
|
|
8544
8544
|
], 8, Kd),
|
|
8545
8545
|
q(on, {
|
|
8546
|
-
id: `${
|
|
8546
|
+
id: `${D.id}-nested-section`,
|
|
8547
8547
|
class: "bs-horizontal-nav-nested-menu",
|
|
8548
|
-
"anchor-id": `${
|
|
8548
|
+
"anchor-id": `${D.id}-toggle`,
|
|
8549
8549
|
position: "right",
|
|
8550
|
-
shown: b(r)(
|
|
8550
|
+
shown: b(r)(D),
|
|
8551
8551
|
"use-mobile-style": !1,
|
|
8552
8552
|
width: "content",
|
|
8553
|
-
onClose: (x) => b(i)[
|
|
8553
|
+
onClose: (x) => b(i)[D.id] = !0
|
|
8554
8554
|
}, {
|
|
8555
8555
|
default: j(() => [
|
|
8556
8556
|
O("ul", null, [
|
|
8557
|
-
(d(!0), y(_, null, ue(
|
|
8557
|
+
(d(!0), y(_, null, ue(D.navItems, (x) => (d(), y("li", {
|
|
8558
8558
|
key: x.id
|
|
8559
8559
|
}, [
|
|
8560
8560
|
q(rt, {
|
|
@@ -8574,12 +8574,12 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8574
8574
|
}, 1032, ["id", "anchor-id", "shown", "onClose"])
|
|
8575
8575
|
])) : (d(), y("li", Gd, [
|
|
8576
8576
|
q(rt, {
|
|
8577
|
-
item:
|
|
8577
|
+
item: D,
|
|
8578
8578
|
router: B.router,
|
|
8579
|
-
onNavLinkClicked: (x) => o("nav-link-clicked", { ev: x, payload:
|
|
8579
|
+
onNavLinkClicked: (x) => o("nav-link-clicked", { ev: x, payload: D })
|
|
8580
8580
|
}, {
|
|
8581
8581
|
default: j(() => [
|
|
8582
|
-
O("span", null, M(
|
|
8582
|
+
O("span", null, M(D.text), 1)
|
|
8583
8583
|
]),
|
|
8584
8584
|
_: 2
|
|
8585
8585
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -8925,15 +8925,15 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8925
8925
|
"Tab"
|
|
8926
8926
|
], { filtered: l, remaining: s } = Oe(["class", "style"]), r = C(null), c = C(1), u = C([]), p = C(null), [
|
|
8927
8927
|
v,
|
|
8928
|
-
g,
|
|
8929
8928
|
S,
|
|
8930
|
-
|
|
8931
|
-
|
|
8929
|
+
g,
|
|
8930
|
+
k
|
|
8931
|
+
] = fe(4), m = C(!1), h = C(""), B = C(""), I = C(!1), N = C(!1), D = C(!0);
|
|
8932
8932
|
n({
|
|
8933
8933
|
validationErr: I,
|
|
8934
8934
|
validationErrMsg: B
|
|
8935
8935
|
});
|
|
8936
|
-
const w = f(() => h.value ? `+${c.value}${h.value}` : ""), T = f(() => `Country code: ${c.value}. Click to change.`), x = f(() =>
|
|
8936
|
+
const w = f(() => h.value ? `+${c.value}${h.value}` : ""), T = f(() => `Country code: ${c.value}. Click to change.`), x = f(() => D.value ? o.errorMsg || B.value : ""), W = f(() => o.error || I.value), K = f(() => o.hint || W.value && x.value), te = f(() => D.value && W.value);
|
|
8937
8937
|
G(w, (z) => {
|
|
8938
8938
|
i("update:modelValue", z), ae(z);
|
|
8939
8939
|
}), G(() => o.modelValue, re), Te(), oe(() => m.value = !0);
|
|
@@ -8949,10 +8949,10 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8949
8949
|
c.value = z, N.value = !1, (U = r.value) == null || U.focus(), Z(z);
|
|
8950
8950
|
}
|
|
8951
8951
|
function be() {
|
|
8952
|
-
o.deferValidation && (
|
|
8952
|
+
o.deferValidation && (D.value = !0), i("input-blur");
|
|
8953
8953
|
}
|
|
8954
8954
|
function we(z) {
|
|
8955
|
-
h.value = z.target.value, o.deferValidation && (
|
|
8955
|
+
h.value = z.target.value, o.deferValidation && (D.value = !1);
|
|
8956
8956
|
}
|
|
8957
8957
|
function De(z) {
|
|
8958
8958
|
var U, J;
|
|
@@ -8980,7 +8980,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8980
8980
|
"data-component": "bs-input-phone"
|
|
8981
8981
|
}, b(l)), [
|
|
8982
8982
|
q(ke, {
|
|
8983
|
-
for: z.$attrs.id || e.inputId || b(
|
|
8983
|
+
for: z.$attrs.id || e.inputId || b(k),
|
|
8984
8984
|
required: e.required,
|
|
8985
8985
|
disabled: e.disabled,
|
|
8986
8986
|
class: Pe({ "bs-visually-hidden": e.hideLabel })
|
|
@@ -9003,7 +9003,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9003
9003
|
id: b(v),
|
|
9004
9004
|
ref_key: "countryCodesToggle",
|
|
9005
9005
|
ref: r,
|
|
9006
|
-
"aria-controls": b(
|
|
9006
|
+
"aria-controls": b(S),
|
|
9007
9007
|
"aria-expanded": N.value,
|
|
9008
9008
|
"aria-haspopup": "listbox",
|
|
9009
9009
|
"aria-label": T.value,
|
|
@@ -9019,9 +9019,9 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9019
9019
|
}))
|
|
9020
9020
|
], 8, Jd),
|
|
9021
9021
|
q(lt, X({
|
|
9022
|
-
id: z.$attrs.id || e.inputId || b(
|
|
9022
|
+
id: z.$attrs.id || e.inputId || b(k),
|
|
9023
9023
|
disabled: e.disabled,
|
|
9024
|
-
"hint-id": b(
|
|
9024
|
+
"hint-id": b(g),
|
|
9025
9025
|
placeholder: e.placeholder,
|
|
9026
9026
|
value: h.value,
|
|
9027
9027
|
"data-autowidth": "",
|
|
@@ -9039,7 +9039,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9039
9039
|
error: W.value,
|
|
9040
9040
|
"error-msg": x.value,
|
|
9041
9041
|
hint: e.hint,
|
|
9042
|
-
"hint-id": b(
|
|
9042
|
+
"hint-id": b(g)
|
|
9043
9043
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
9044
9044
|
[Ce, K.value]
|
|
9045
9045
|
]),
|
|
@@ -9049,7 +9049,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9049
9049
|
"helper-text": "Country Code",
|
|
9050
9050
|
label: "Country Code",
|
|
9051
9051
|
"model-value": c.value,
|
|
9052
|
-
"options-id": b(
|
|
9052
|
+
"options-id": b(S),
|
|
9053
9053
|
preloaded: "",
|
|
9054
9054
|
shown: N.value,
|
|
9055
9055
|
width: "content",
|
|
@@ -9218,7 +9218,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9218
9218
|
}), G(i, () => {
|
|
9219
9219
|
i.value ? o("open") : o("close");
|
|
9220
9220
|
});
|
|
9221
|
-
const c = f(() => t.typeaheadId || l.value), u = f(() => t.error && t.errorMsg || t.hint || void 0), p = f(() => `${c.value}-input-container`), v = f(() => `${c.value}-input`),
|
|
9221
|
+
const c = f(() => t.typeaheadId || l.value), u = f(() => t.error && t.errorMsg || t.hint || void 0), p = f(() => `${c.value}-input-container`), v = f(() => `${c.value}-input`), S = f(() => `${c.value}-options`), g = f(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), k = f(() => {
|
|
9222
9222
|
if (i.value) {
|
|
9223
9223
|
let T = t.options;
|
|
9224
9224
|
const x = t.inputValue.toLowerCase(), W = t.filterType === "includes" ? "includes" : "startsWith";
|
|
@@ -9247,15 +9247,15 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9247
9247
|
}
|
|
9248
9248
|
function N(T) {
|
|
9249
9249
|
a.value = !0;
|
|
9250
|
-
const x =
|
|
9250
|
+
const x = k.value.find((W) => W.value === T);
|
|
9251
9251
|
o("update:inputValue", x.label), o("update:optionsValue", T);
|
|
9252
9252
|
}
|
|
9253
|
-
function
|
|
9254
|
-
const x = [...
|
|
9253
|
+
function D(T) {
|
|
9254
|
+
const x = [...g.value, T];
|
|
9255
9255
|
o("update:optionsValue", x);
|
|
9256
9256
|
}
|
|
9257
9257
|
function w(T) {
|
|
9258
|
-
const x =
|
|
9258
|
+
const x = g.value.filter((W) => W !== T);
|
|
9259
9259
|
o("update:optionsValue", x);
|
|
9260
9260
|
}
|
|
9261
9261
|
return (T, x) => (d(), y(_, null, [
|
|
@@ -9277,7 +9277,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9277
9277
|
class: "typeahead-search-wrapper"
|
|
9278
9278
|
}, [
|
|
9279
9279
|
q(Yn, X({
|
|
9280
|
-
"aria-controls":
|
|
9280
|
+
"aria-controls": S.value,
|
|
9281
9281
|
"aria-describedby": u.value ? b(s) : void 0,
|
|
9282
9282
|
"aria-expanded": i.value,
|
|
9283
9283
|
"aria-haspopup": "listbox",
|
|
@@ -9310,12 +9310,12 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9310
9310
|
key: 0,
|
|
9311
9311
|
"focus-on-open": !1,
|
|
9312
9312
|
label: e.label,
|
|
9313
|
-
options:
|
|
9314
|
-
"options-id":
|
|
9315
|
-
"selected-options":
|
|
9313
|
+
options: k.value,
|
|
9314
|
+
"options-id": S.value,
|
|
9315
|
+
"selected-options": g.value,
|
|
9316
9316
|
shown: i.value,
|
|
9317
9317
|
"value-id-key": e.valueIdKey,
|
|
9318
|
-
onCheckOption:
|
|
9318
|
+
onCheckOption: D,
|
|
9319
9319
|
onUncheckOption: w
|
|
9320
9320
|
}, St({ _: 2 }, [
|
|
9321
9321
|
e.loading ? {
|
|
@@ -9336,15 +9336,15 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9336
9336
|
]), 1032, ["label", "options", "options-id", "selected-options", "shown", "value-id-key"])) : (d(), A(an, {
|
|
9337
9337
|
key: 1,
|
|
9338
9338
|
label: e.label,
|
|
9339
|
-
"model-value":
|
|
9340
|
-
"options-id":
|
|
9339
|
+
"model-value": g.value,
|
|
9340
|
+
"options-id": S.value,
|
|
9341
9341
|
shown: i.value,
|
|
9342
9342
|
"onUpdate:modelValue": N,
|
|
9343
9343
|
onClose: x[1] || (x[1] = (W) => i.value = !1)
|
|
9344
9344
|
}, {
|
|
9345
9345
|
default: j(() => [
|
|
9346
9346
|
q(Ut, {
|
|
9347
|
-
options:
|
|
9347
|
+
options: k.value,
|
|
9348
9348
|
"value-id-key": e.valueIdKey
|
|
9349
9349
|
}, St({ _: 2 }, [
|
|
9350
9350
|
e.loading ? {
|
|
@@ -9500,9 +9500,9 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9500
9500
|
const o = n, i = C(null);
|
|
9501
9501
|
let a = !1;
|
|
9502
9502
|
const { transition: l } = _t(t), [s] = fe(), [r] = fe(), c = Dt();
|
|
9503
|
-
Gn([i], () =>
|
|
9504
|
-
const u = f(() => !!(t.title || c.title)), p = f(() => !!(t.subtitle || c.subtitle)), v = f(() => !!c.progress),
|
|
9505
|
-
function
|
|
9503
|
+
Gn([i], () => k("backdrop-clicked-close")), Xe(["Escape"], () => k("escape-pressed-close"));
|
|
9504
|
+
const u = f(() => !!(t.title || c.title)), p = f(() => !!(t.subtitle || c.subtitle)), v = f(() => !!c.progress), S = f(() => !t.fullHeight && u.value), g = f(() => !t.fullHeight && !!c.footer);
|
|
9505
|
+
function k(m, h = !0) {
|
|
9506
9506
|
var I;
|
|
9507
9507
|
const B = h && ((I = i.value) == null ? void 0 : I.querySelector('[data-shown="true"]')) !== null;
|
|
9508
9508
|
a && !B && (o("close", t.modalId), o(m, t.modalId));
|
|
@@ -9543,7 +9543,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9543
9543
|
}, m.$attrs), [
|
|
9544
9544
|
q(Sd, { active: b(l) }, {
|
|
9545
9545
|
default: j(() => [
|
|
9546
|
-
|
|
9546
|
+
S.value ? (d(), y("header", fu, [
|
|
9547
9547
|
O("div", hu, [
|
|
9548
9548
|
u.value ? L(m.$slots, "title", { key: 0 }, () => [
|
|
9549
9549
|
m.title ? (d(), y("span", {
|
|
@@ -9558,7 +9558,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9558
9558
|
"aria-label": "Close Modal",
|
|
9559
9559
|
title: "Close Modal",
|
|
9560
9560
|
type: "button",
|
|
9561
|
-
onClick: h[0] || (h[0] = (B) =>
|
|
9561
|
+
onClick: h[0] || (h[0] = (B) => k("x-clicked-close", !1))
|
|
9562
9562
|
}, [
|
|
9563
9563
|
q(b(xe))
|
|
9564
9564
|
])) : P("", !0)
|
|
@@ -9572,20 +9572,20 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9572
9572
|
L(m.$slots, "progress")
|
|
9573
9573
|
])) : P("", !0)
|
|
9574
9574
|
])) : P("", !0),
|
|
9575
|
-
m.closeButton && !
|
|
9575
|
+
m.closeButton && !S.value ? (d(), y("button", {
|
|
9576
9576
|
key: 1,
|
|
9577
9577
|
class: "bs-modal-deprecated-close-button",
|
|
9578
9578
|
"aria-label": "Close Modal",
|
|
9579
9579
|
title: "Close Modal",
|
|
9580
9580
|
type: "button",
|
|
9581
|
-
onClick: h[1] || (h[1] = (B) =>
|
|
9581
|
+
onClick: h[1] || (h[1] = (B) => k("x-clicked-close", !1))
|
|
9582
9582
|
}, [
|
|
9583
9583
|
q(b(xe))
|
|
9584
9584
|
])) : P("", !0),
|
|
9585
9585
|
O("div", gu, [
|
|
9586
9586
|
L(m.$slots, "default")
|
|
9587
9587
|
]),
|
|
9588
|
-
|
|
9588
|
+
g.value ? (d(), y("footer", wu, [
|
|
9589
9589
|
L(m.$slots, "footer")
|
|
9590
9590
|
])) : P("", !0)
|
|
9591
9591
|
]),
|
|
@@ -9601,70 +9601,70 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9601
9601
|
__name: "BsOption",
|
|
9602
9602
|
props: Zo,
|
|
9603
9603
|
setup(e) {
|
|
9604
|
-
const n = e, t = ce(nn, null), o = ce(Ei, null), i = it("option"), a = We(), l = $e(), s = C(!0), r = f(() => n.id || l), c = f(() => t.props.multiple), u = f(() => n.selected || t.isSelected(n.value)), p = f(() => c.value && (t == null ? void 0 : t.wasPreviouslySelected(n.value))), v = f(() => a.role ? a.role : t.props.role === "listbox" ? "option" : "menuitem"),
|
|
9604
|
+
const n = e, t = ce(nn, null), o = ce(Ei, null), i = it("option"), a = We(), l = $e(), s = C(!0), r = f(() => n.id || l), c = f(() => t.props.multiple), u = f(() => n.selected || t.isSelected(n.value)), p = f(() => c.value && (t == null ? void 0 : t.wasPreviouslySelected(n.value))), v = f(() => a.role ? a.role : t.props.role === "listbox" ? "option" : "menuitem"), S = f(() => t.activeOptionId.value === r.value);
|
|
9605
9605
|
oe(() => {
|
|
9606
9606
|
t == null || t.registerOption(r.value, { templateRef: i, props: n, isVisible: s, isSelectedToTop: p, groupId: o == null ? void 0 : o.id }), o == null || o.registerOption(r.value);
|
|
9607
9607
|
}), Ie(() => {
|
|
9608
9608
|
t == null || t.unregisterOption(r.value), o == null || o.unregisterOption(r.value);
|
|
9609
|
-
}), G(
|
|
9610
|
-
|
|
9609
|
+
}), G(S, (k) => {
|
|
9610
|
+
k && Ve(() => {
|
|
9611
9611
|
var m, h;
|
|
9612
9612
|
return (h = (m = i.value) == null ? void 0 : m.scrollIntoView) == null ? void 0 : h.call(m, { block: "start", behavior: "smooth" });
|
|
9613
9613
|
});
|
|
9614
9614
|
});
|
|
9615
|
-
function
|
|
9616
|
-
n.disabled || (t.setModel(n.value), n.onClick && n.onClick(
|
|
9615
|
+
function g(k) {
|
|
9616
|
+
n.disabled || (t.setModel(n.value), n.onClick && n.onClick(k));
|
|
9617
9617
|
}
|
|
9618
|
-
return (
|
|
9618
|
+
return (k, m) => me((d(), y("div", {
|
|
9619
9619
|
ref: "option",
|
|
9620
9620
|
id: r.value,
|
|
9621
9621
|
class: "bs-option",
|
|
9622
|
-
"aria-disabled":
|
|
9622
|
+
"aria-disabled": k.disabled || void 0,
|
|
9623
9623
|
"aria-selected": c.value ? u.value : u.value || void 0,
|
|
9624
9624
|
"data-selected-to-top": p.value,
|
|
9625
|
-
"data-active":
|
|
9625
|
+
"data-active": S.value || void 0,
|
|
9626
9626
|
"data-component": "bs-option",
|
|
9627
|
-
"data-negative":
|
|
9627
|
+
"data-negative": k.negative || void 0,
|
|
9628
9628
|
"data-visible": s.value || void 0,
|
|
9629
9629
|
"data-multiple": c.value || void 0,
|
|
9630
9630
|
role: v.value,
|
|
9631
|
-
onClick: Se(
|
|
9631
|
+
onClick: Se(g, ["stop"])
|
|
9632
9632
|
}, [
|
|
9633
9633
|
c.value ? (d(), y(_, { key: 0 }, [
|
|
9634
9634
|
O("span", {
|
|
9635
9635
|
class: "bs-checkbox",
|
|
9636
9636
|
"aria-hidden": "true",
|
|
9637
|
-
"data-disabled":
|
|
9637
|
+
"data-disabled": k.disabled || void 0,
|
|
9638
9638
|
"data-checked": u.value
|
|
9639
9639
|
}, null, 8, Bu),
|
|
9640
|
-
|
|
9640
|
+
k.gridLayout ? (d(), y("div", {
|
|
9641
9641
|
key: 0,
|
|
9642
9642
|
class: "bs-option-grid",
|
|
9643
|
-
"data-icon-col":
|
|
9643
|
+
"data-icon-col": k.iconColumn || void 0
|
|
9644
9644
|
}, [
|
|
9645
|
-
L(
|
|
9646
|
-
Q(M(
|
|
9645
|
+
L(k.$slots, "default", { selected: u.value }, () => [
|
|
9646
|
+
Q(M(k.value), 1)
|
|
9647
9647
|
])
|
|
9648
|
-
], 8, ku)) : L(
|
|
9648
|
+
], 8, ku)) : L(k.$slots, "default", {
|
|
9649
9649
|
key: 1,
|
|
9650
9650
|
selected: u.value
|
|
9651
9651
|
}, () => [
|
|
9652
|
-
Q(M(
|
|
9652
|
+
Q(M(k.value), 1)
|
|
9653
9653
|
])
|
|
9654
9654
|
], 64)) : (d(), y(_, { key: 1 }, [
|
|
9655
|
-
|
|
9655
|
+
k.gridLayout ? (d(), y("div", {
|
|
9656
9656
|
key: 0,
|
|
9657
9657
|
class: "bs-option-grid",
|
|
9658
|
-
"data-icon-col":
|
|
9658
|
+
"data-icon-col": k.iconColumn || void 0
|
|
9659
9659
|
}, [
|
|
9660
|
-
L(
|
|
9661
|
-
Q(M(
|
|
9660
|
+
L(k.$slots, "default", { selected: u.value }, () => [
|
|
9661
|
+
Q(M(k.value), 1)
|
|
9662
9662
|
])
|
|
9663
|
-
], 8, Du)) : L(
|
|
9663
|
+
], 8, Du)) : L(k.$slots, "default", {
|
|
9664
9664
|
key: 1,
|
|
9665
9665
|
selected: u.value
|
|
9666
9666
|
}, () => [
|
|
9667
|
-
Q(M(
|
|
9667
|
+
Q(M(k.value), 1)
|
|
9668
9668
|
])
|
|
9669
9669
|
], 64))
|
|
9670
9670
|
], 8, Su)), [
|
|
@@ -9681,7 +9681,7 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9681
9681
|
setup(e) {
|
|
9682
9682
|
const n = e, t = ce(nn), o = Dt(), i = $e(), a = C([]), l = f(() => n.id || i), s = f(() => n.title || o.title), r = f(() => {
|
|
9683
9683
|
var v;
|
|
9684
|
-
return (v = t.filter.value.query) != null && v.value ? a.value.some((
|
|
9684
|
+
return (v = t.filter.value.query) != null && v.value ? a.value.some((S) => t.optionsById.value[S].isVisible.value) : !0;
|
|
9685
9685
|
});
|
|
9686
9686
|
Be(Ei, {
|
|
9687
9687
|
id: l,
|
|
@@ -9694,10 +9694,10 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9694
9694
|
a.value = [...a.value, v];
|
|
9695
9695
|
}
|
|
9696
9696
|
function u(v) {
|
|
9697
|
-
a.value = a.value.filter((
|
|
9697
|
+
a.value = a.value.filter((S) => v !== S);
|
|
9698
9698
|
}
|
|
9699
9699
|
const p = f(() => t.showPreviouslySelectedSeparator(l));
|
|
9700
|
-
return (v,
|
|
9700
|
+
return (v, S) => s.value ? me((d(), y("div", {
|
|
9701
9701
|
key: 0,
|
|
9702
9702
|
class: "bs-option-group",
|
|
9703
9703
|
"data-component": "bs-option-group",
|
|
@@ -9812,11 +9812,11 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9812
9812
|
setup(e, { emit: n }) {
|
|
9813
9813
|
const t = e, o = n, i = C(null);
|
|
9814
9814
|
oe(() => {
|
|
9815
|
-
t.modelValue ? i.value = t.modelValue : t.variant === "results" ? i.value =
|
|
9816
|
-
}), G(() => t.modelValue, (
|
|
9817
|
-
i.value =
|
|
9818
|
-
}), G(i, (
|
|
9819
|
-
m !== null && o("update:modelValue",
|
|
9815
|
+
t.modelValue ? i.value = t.modelValue : t.variant === "results" ? i.value = g.value[0] : i.value = 1;
|
|
9816
|
+
}), G(() => t.modelValue, (k) => {
|
|
9817
|
+
i.value = k;
|
|
9818
|
+
}), G(i, (k, m) => {
|
|
9819
|
+
m !== null && o("update:modelValue", k);
|
|
9820
9820
|
});
|
|
9821
9821
|
const a = f(() => {
|
|
9822
9822
|
if (t.variant === "group")
|
|
@@ -9842,17 +9842,17 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9842
9842
|
const p = f(() => {
|
|
9843
9843
|
if (t.pageCount <= t.pageRange)
|
|
9844
9844
|
return [...Array(t.pageCount + 1).keys()].slice(1);
|
|
9845
|
-
const
|
|
9845
|
+
const k = [1], m = (t.pageRange - 1) / 2;
|
|
9846
9846
|
let h = i.value - m, B = i.value + m;
|
|
9847
|
-
h < 1 && (B += 1 - h, h = 1), B > t.pageCount && (h -= B - t.pageCount, B = t.pageCount), h = Math.max(h, 2), B = Math.min(B, t.pageCount - 1), h > 2 &&
|
|
9847
|
+
h < 1 && (B += 1 - h, h = 1), B > t.pageCount && (h -= B - t.pageCount, B = t.pageCount), h = Math.max(h, 2), B = Math.min(B, t.pageCount - 1), h > 2 && k.push(t.breakText);
|
|
9848
9848
|
for (let I = h; I <= B; I++)
|
|
9849
|
-
|
|
9850
|
-
return B < t.pageCount - 1 &&
|
|
9851
|
-
}), v = f(() => `${t.centerLabel ?? "Page"} ${i.value} of ${a.value}`),
|
|
9852
|
-
const
|
|
9853
|
-
return `${t.centerLabel ?? "Results"} ${
|
|
9854
|
-
}),
|
|
9855
|
-
return (
|
|
9849
|
+
k.push(I);
|
|
9850
|
+
return B < t.pageCount - 1 && k.push(t.breakText), k.push(t.pageCount), k;
|
|
9851
|
+
}), v = f(() => `${t.centerLabel ?? "Page"} ${i.value} of ${a.value}`), S = f(() => {
|
|
9852
|
+
const k = (i.value - 1) * t.itemsPerGroup + 1, m = Math.min(k - 1 + t.itemsPerGroup, t.itemsCount);
|
|
9853
|
+
return `${t.centerLabel ?? "Results"} ${k} - ${m} of ${t.itemsCount}`;
|
|
9854
|
+
}), g = f(() => t.resultsIncrements.split(",").map((k) => parseInt(k)));
|
|
9855
|
+
return (k, m) => (d(), y("div", {
|
|
9856
9856
|
class: "bs-pagination",
|
|
9857
9857
|
"data-component": "bs-pagination",
|
|
9858
9858
|
"data-variant": l.value,
|
|
@@ -9894,11 +9894,11 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9894
9894
|
}, M(h), 9, xu))), 128))
|
|
9895
9895
|
])) : P("", !0),
|
|
9896
9896
|
t.variant === "base" && t.centerDisplay === "text" ? (d(), y("span", Mu, M(v.value), 1)) : P("", !0),
|
|
9897
|
-
t.variant === "group" ? (d(), y("span", ju, M(
|
|
9897
|
+
t.variant === "group" ? (d(), y("span", ju, M(S.value), 1)) : P("", !0),
|
|
9898
9898
|
t.variant === "results" ? (d(), y(_, { key: 4 }, [
|
|
9899
9899
|
m[0] || (m[0] = O("span", null, "Results Per Page:", -1)),
|
|
9900
9900
|
O("div", Vu, [
|
|
9901
|
-
(d(!0), y(_, null, ue(
|
|
9901
|
+
(d(!0), y(_, null, ue(g.value, (h) => (d(), y("button", {
|
|
9902
9902
|
type: "button",
|
|
9903
9903
|
key: `results-${h}`,
|
|
9904
9904
|
"data-selected": h === i.value,
|
|
@@ -9934,7 +9934,10 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9934
9934
|
])) : P("", !0)
|
|
9935
9935
|
], 8, Cu));
|
|
9936
9936
|
}
|
|
9937
|
-
}, Uu =
|
|
9937
|
+
}, Uu = {
|
|
9938
|
+
key: 0,
|
|
9939
|
+
"data-truncate": "true"
|
|
9940
|
+
}, Vf = {
|
|
9938
9941
|
__name: "BsPill",
|
|
9939
9942
|
props: mt,
|
|
9940
9943
|
setup(e) {
|
|
@@ -9953,12 +9956,9 @@ const Ed = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9953
9956
|
disabled: l.disabled
|
|
9954
9957
|
}, b(i), { onClick: a }), {
|
|
9955
9958
|
default: j(() => [
|
|
9956
|
-
|
|
9957
|
-
class: "bs-pill-content",
|
|
9958
|
-
"data-truncate": l.truncate
|
|
9959
|
-
}, [
|
|
9959
|
+
l.truncate ? (d(), y("span", Uu, [
|
|
9960
9960
|
L(l.$slots, "default")
|
|
9961
|
-
],
|
|
9961
|
+
])) : L(l.$slots, "default", { key: 1 })
|
|
9962
9962
|
]),
|
|
9963
9963
|
_: 3
|
|
9964
9964
|
}, 16, ["data-active", "data-status", "data-variant", "disabled"]));
|
|
@@ -10422,52 +10422,52 @@ const ic = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ac = ["data-sta
|
|
|
10422
10422
|
const n = e, t = Me(e, "modelValue"), { popAttrs: o, popSlotProps: i } = An(n), a = $e(), l = it("root"), s = f(() => n.id || a), r = f(() => {
|
|
10423
10423
|
if (!n.multiple)
|
|
10424
10424
|
return n.displayValue ? v(t.value) : t.value;
|
|
10425
|
-
}), c = f(() => !n.multiple || !Array.isArray(t.value) || !t.value.length ? void 0 : (n.displayValue ? t.value.map((
|
|
10426
|
-
const
|
|
10425
|
+
}), c = f(() => !n.multiple || !Array.isArray(t.value) || !t.value.length ? void 0 : (n.displayValue ? t.value.map((k) => v(k)) : t.value).join(", ")), u = f(() => n.multiple ? c.value : r.value), p = f(() => {
|
|
10426
|
+
const g = n.error ? "aria-errormessage" : "aria-describedby";
|
|
10427
10427
|
return {
|
|
10428
10428
|
...o.value,
|
|
10429
|
-
[
|
|
10429
|
+
[g]: n.hintId
|
|
10430
10430
|
};
|
|
10431
10431
|
});
|
|
10432
|
-
function v(
|
|
10433
|
-
return
|
|
10432
|
+
function v(g) {
|
|
10433
|
+
return g && (typeof n.displayValue == "function" ? n.displayValue(g) : g[n.displayValue]);
|
|
10434
10434
|
}
|
|
10435
|
-
function
|
|
10435
|
+
function S() {
|
|
10436
10436
|
t.value = n.multiple ? [] : null, l.value.focus();
|
|
10437
10437
|
}
|
|
10438
|
-
return (
|
|
10438
|
+
return (g, k) => {
|
|
10439
10439
|
var m;
|
|
10440
10440
|
return d(), y("div", X({
|
|
10441
10441
|
ref: "root",
|
|
10442
|
-
"aria-invalid":
|
|
10443
|
-
"aria-disabled":
|
|
10444
|
-
"aria-required":
|
|
10442
|
+
"aria-invalid": g.error || void 0,
|
|
10443
|
+
"aria-disabled": g.disabled || void 0,
|
|
10444
|
+
"aria-required": g.required || void 0,
|
|
10445
10445
|
class: "bs-input bs-input-button",
|
|
10446
10446
|
"data-bs-pop-faux-button": "true",
|
|
10447
|
-
"data-error":
|
|
10447
|
+
"data-error": g.error || void 0,
|
|
10448
10448
|
id: s.value,
|
|
10449
10449
|
role: "combobox",
|
|
10450
|
-
tabindex:
|
|
10450
|
+
tabindex: g.disabled ? void 0 : 0
|
|
10451
10451
|
}, p.value), [
|
|
10452
|
-
|
|
10452
|
+
g.multiple && g.showCount && ((m = t.value) != null && m.length) ? (d(), A(wi, {
|
|
10453
10453
|
key: 0,
|
|
10454
10454
|
class: "bs-input-button-count",
|
|
10455
10455
|
color: "blue",
|
|
10456
10456
|
count: t.value.length,
|
|
10457
10457
|
variant: "notext"
|
|
10458
10458
|
}, null, 8, ["count"])) : P("", !0),
|
|
10459
|
-
u.value ? P("", !0) : (d(), y("div", uc, M(
|
|
10459
|
+
u.value ? P("", !0) : (d(), y("div", uc, M(g.placeholder), 1)),
|
|
10460
10460
|
u.value ? (d(), y("div", cc, [
|
|
10461
|
-
L(
|
|
10461
|
+
L(g.$slots, "default", Ae(Ee({ displayText: u.value, ...b(i) })), () => [
|
|
10462
10462
|
Q(M(u.value), 1)
|
|
10463
10463
|
])
|
|
10464
10464
|
])) : P("", !0),
|
|
10465
|
-
!
|
|
10465
|
+
!g.disabled && !g.preventClear && u.value ? (d(), y("button", {
|
|
10466
10466
|
key: 3,
|
|
10467
10467
|
class: "bs-input-button-clear",
|
|
10468
10468
|
type: "button",
|
|
10469
10469
|
"aria-label": "Clear",
|
|
10470
|
-
onClick: Se(
|
|
10470
|
+
onClick: Se(S, ["stop"])
|
|
10471
10471
|
}, [
|
|
10472
10472
|
q(b(xe), {
|
|
10473
10473
|
size: "sm",
|
|
@@ -10630,10 +10630,10 @@ const ic = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ac = ["data-sta
|
|
|
10630
10630
|
modelValue: t.value,
|
|
10631
10631
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => t.value = v)
|
|
10632
10632
|
}), St({ _: 2 }, [
|
|
10633
|
-
ue(u.$slots, (v,
|
|
10634
|
-
name:
|
|
10635
|
-
fn: j((
|
|
10636
|
-
L(u.$slots,
|
|
10633
|
+
ue(u.$slots, (v, S) => ({
|
|
10634
|
+
name: S,
|
|
10635
|
+
fn: j((g) => [
|
|
10636
|
+
L(u.$slots, S, Ae(Ee(g)))
|
|
10637
10637
|
])
|
|
10638
10638
|
}))
|
|
10639
10639
|
]), 1040, ["aria-labelledby", "disabled", "error", "hint-id", "id", "required", "modelValue"]),
|
|
@@ -10824,16 +10824,16 @@ const ic = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ac = ["data-sta
|
|
|
10824
10824
|
setup(e, { emit: n }) {
|
|
10825
10825
|
const t = e, o = n, [i, a] = fe(2), l = We(), s = C(!1), r = f(() => t.selectId || l.id || i.value), c = f(() => t.optionsId || a.value), u = f(() => {
|
|
10826
10826
|
if (t.modelValue) {
|
|
10827
|
-
const v = t.options.find((
|
|
10828
|
-
var
|
|
10829
|
-
return (
|
|
10827
|
+
const v = t.options.find((S) => {
|
|
10828
|
+
var g, k;
|
|
10829
|
+
return (g = S.value) != null && g[t.valueIdKey] ? S.value[t.valueIdKey] === ((k = t.modelValue) == null ? void 0 : k[t.valueIdKey]) : S.value === t.modelValue;
|
|
10830
10830
|
});
|
|
10831
10831
|
if (v)
|
|
10832
10832
|
return v.label;
|
|
10833
10833
|
}
|
|
10834
10834
|
return t.placeholder;
|
|
10835
10835
|
}), p = f(() => u.value === t.placeholder);
|
|
10836
|
-
return (v,
|
|
10836
|
+
return (v, S) => (d(), y("div", null, [
|
|
10837
10837
|
e.label || v.$slots.label ? (d(), A(ke, {
|
|
10838
10838
|
key: 0,
|
|
10839
10839
|
disabled: e.disabled,
|
|
@@ -10868,8 +10868,8 @@ const ic = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ac = ["data-sta
|
|
|
10868
10868
|
"selected-option": e.modelValue,
|
|
10869
10869
|
"toggle-id": r.value,
|
|
10870
10870
|
"value-id-key": e.valueIdKey,
|
|
10871
|
-
onClose:
|
|
10872
|
-
"onUpdate:selectedOption":
|
|
10871
|
+
onClose: S[1] || (S[1] = (g) => s.value = !1),
|
|
10872
|
+
"onUpdate:selectedOption": S[2] || (S[2] = (g) => o("update:model-value", g))
|
|
10873
10873
|
}, {
|
|
10874
10874
|
toggle: j(() => [
|
|
10875
10875
|
O("button", X({
|
|
@@ -10890,7 +10890,7 @@ const ic = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ac = ["data-sta
|
|
|
10890
10890
|
id: r.value,
|
|
10891
10891
|
role: "combobox"
|
|
10892
10892
|
}, v.$attrs, {
|
|
10893
|
-
onClick:
|
|
10893
|
+
onClick: S[0] || (S[0] = Se((g) => s.value = !s.value, ["prevent"]))
|
|
10894
10894
|
}), [
|
|
10895
10895
|
O("span", null, M(u.value), 1),
|
|
10896
10896
|
e.disabled ? P("", !0) : (d(), A(b(Ge), {
|
|
@@ -11222,12 +11222,12 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11222
11222
|
function u(T) {
|
|
11223
11223
|
if (c.value) return;
|
|
11224
11224
|
if (r.value)
|
|
11225
|
-
return T.target === o.value ||
|
|
11225
|
+
return T.target === o.value || k();
|
|
11226
11226
|
if (v(T.target.closest("[data-bs-table-col-resize-id]")), !s.value.el) return;
|
|
11227
11227
|
const x = T.clientX <= s.value.rect.left + vo, W = T.clientX >= s.value.rect.right - vo;
|
|
11228
11228
|
if (!(x && T.target.dataset.bsTableColResize === "right") && (x || W)) {
|
|
11229
11229
|
if (a = x ? s.value.rect.left : s.value.rect.right, x && v(p()), !s.value.el) return;
|
|
11230
|
-
|
|
11230
|
+
g();
|
|
11231
11231
|
}
|
|
11232
11232
|
}
|
|
11233
11233
|
function p() {
|
|
@@ -11237,18 +11237,18 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11237
11237
|
return x.dataset.bsTableColResizeId ? x : null;
|
|
11238
11238
|
}
|
|
11239
11239
|
function v(T) {
|
|
11240
|
-
s.value = T ? { el: T, rect: T.getBoundingClientRect(), minWidth:
|
|
11240
|
+
s.value = T ? { el: T, rect: T.getBoundingClientRect(), minWidth: S(T) } : { el: null, rect: null };
|
|
11241
11241
|
}
|
|
11242
|
-
function
|
|
11242
|
+
function S(T) {
|
|
11243
11243
|
var W;
|
|
11244
11244
|
const x = (W = T.dataset.bsTableColResizeMin) == null ? void 0 : W.replace("px", "");
|
|
11245
11245
|
if (x)
|
|
11246
11246
|
return parseInt(x, 10);
|
|
11247
11247
|
}
|
|
11248
|
-
function
|
|
11248
|
+
function g() {
|
|
11249
11249
|
I(), o.value.style.setProperty("--bs-table-col-resizer-y", `${s.value.rect.top}px`), o.value.style.setProperty("--bs-table-col-resizer-handle-height", `${s.value.rect.height}px`), r.value = !0;
|
|
11250
11250
|
}
|
|
11251
|
-
function
|
|
11251
|
+
function k() {
|
|
11252
11252
|
r.value = !1;
|
|
11253
11253
|
}
|
|
11254
11254
|
function m(T) {
|
|
@@ -11270,9 +11270,9 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11270
11270
|
function N() {
|
|
11271
11271
|
o.value.removeEventListener("pointermove", h), setTimeout(() => c.value = !1);
|
|
11272
11272
|
const T = a - i;
|
|
11273
|
-
T !== 0 &&
|
|
11273
|
+
T !== 0 && D(Math.round(s.value.rect.width + T));
|
|
11274
11274
|
}
|
|
11275
|
-
async function
|
|
11275
|
+
async function D(T) {
|
|
11276
11276
|
t("resize", {
|
|
11277
11277
|
el: s.value.el,
|
|
11278
11278
|
id: s.value.el.dataset.bsTableColResizeId,
|
|
@@ -11280,7 +11280,7 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11280
11280
|
}), await Ve(() => v(s.value.el));
|
|
11281
11281
|
}
|
|
11282
11282
|
function w() {
|
|
11283
|
-
|
|
11283
|
+
D(), k();
|
|
11284
11284
|
}
|
|
11285
11285
|
return (T, x) => me((d(), y("div", {
|
|
11286
11286
|
ref: "resizer",
|
|
@@ -11417,34 +11417,34 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11417
11417
|
class: e.freezeHeader && "bs-table-header-rowgroup-freeze"
|
|
11418
11418
|
}, () => E);
|
|
11419
11419
|
}
|
|
11420
|
-
function
|
|
11420
|
+
function S() {
|
|
11421
11421
|
return v(
|
|
11422
11422
|
N(
|
|
11423
11423
|
be(w)
|
|
11424
11424
|
)
|
|
11425
11425
|
);
|
|
11426
11426
|
}
|
|
11427
|
-
function
|
|
11427
|
+
function g() {
|
|
11428
11428
|
const E = n.header({ cols: ye(o.value) });
|
|
11429
11429
|
return v(
|
|
11430
|
-
|
|
11430
|
+
D(E, w)
|
|
11431
11431
|
);
|
|
11432
11432
|
}
|
|
11433
|
-
function
|
|
11433
|
+
function k(E = []) {
|
|
11434
11434
|
return de(un, { kind: "body" }, () => E);
|
|
11435
11435
|
}
|
|
11436
11436
|
function m() {
|
|
11437
11437
|
const E = e.rows.map((F, $) => N(
|
|
11438
11438
|
be(re, { row: F, rowIndex: $ })
|
|
11439
11439
|
));
|
|
11440
|
-
return
|
|
11440
|
+
return k(E);
|
|
11441
11441
|
}
|
|
11442
11442
|
function h() {
|
|
11443
11443
|
const E = e.rows.map((F, $) => {
|
|
11444
11444
|
const Y = n.body({ row: F, rowIndex: $ });
|
|
11445
|
-
return
|
|
11445
|
+
return D(Y, re, { row: F, rowIndex: $ });
|
|
11446
11446
|
});
|
|
11447
|
-
return
|
|
11447
|
+
return k(E);
|
|
11448
11448
|
}
|
|
11449
11449
|
function B(E = []) {
|
|
11450
11450
|
return de(un, {
|
|
@@ -11455,13 +11455,13 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11455
11455
|
function I() {
|
|
11456
11456
|
const E = n.footer({ cols: ye(o.value) });
|
|
11457
11457
|
return B(
|
|
11458
|
-
|
|
11458
|
+
D(E, w)
|
|
11459
11459
|
);
|
|
11460
11460
|
}
|
|
11461
11461
|
function N(E = []) {
|
|
11462
11462
|
return de(pn, null, () => E);
|
|
11463
11463
|
}
|
|
11464
|
-
function
|
|
11464
|
+
function D(E = [], F, $ = {}) {
|
|
11465
11465
|
return z(E, [pn]).map(
|
|
11466
11466
|
(V) => Te(V) ? de(V, null, () => be(F, $)) : de(V)
|
|
11467
11467
|
);
|
|
@@ -11623,7 +11623,7 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11623
11623
|
F,
|
|
11624
11624
|
p([
|
|
11625
11625
|
u([
|
|
11626
|
-
n.header ?
|
|
11626
|
+
n.header ? g() : S(),
|
|
11627
11627
|
n.body ? h() : m(),
|
|
11628
11628
|
n.footer && I()
|
|
11629
11629
|
]),
|
|
@@ -11646,22 +11646,22 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11646
11646
|
},
|
|
11647
11647
|
emits: ["tabChange", "update:modelValue"],
|
|
11648
11648
|
setup(e, { emit: n }) {
|
|
11649
|
-
const t = e, o = n, i = C(!1), a = C(!1), l = C([]), s = C(!1), r = C(!1), c = C(), u = C(), p = C([]), v = C(!1),
|
|
11649
|
+
const t = e, o = n, i = C(!1), a = C(!1), l = C([]), s = C(!1), r = C(!1), c = C(), u = C(), p = C([]), v = C(!1), S = C([]), g = C(), k = C([]), m = C(), h = C(), [B, I] = fe(2);
|
|
11650
11650
|
let N;
|
|
11651
|
-
const
|
|
11651
|
+
const D = f(() => t.activeTabId ? S.value.findIndex((V) => V.id === t.activeTabId) : 0), w = f(() => l.value.some((V) => V.id === t.activeTabId)), T = f(() => `${I.value}-options`), x = f(() => `${I.value}-toggle`), W = f(() => {
|
|
11652
11652
|
var V;
|
|
11653
|
-
return w.value ? (V =
|
|
11654
|
-
}), K = f(() => w.value ? p.value[
|
|
11653
|
+
return w.value ? (V = S.value[D.value]) == null ? void 0 : V.textContent : "More";
|
|
11654
|
+
}), K = f(() => w.value ? p.value[D.value] - p.value[D.value - 1] + Vc + fn : jc + fn);
|
|
11655
11655
|
function te() {
|
|
11656
11656
|
var He;
|
|
11657
11657
|
let V = !1, H, ne = 0, se = !1, Fe = [];
|
|
11658
|
-
if ((He =
|
|
11659
|
-
for (let Ne = 0; Ne <
|
|
11660
|
-
if (H =
|
|
11658
|
+
if ((He = S.value) != null && He.length) {
|
|
11659
|
+
for (let Ne = 0; Ne < S.value.length; Ne++) {
|
|
11660
|
+
if (H = S.value[Ne], H.setAttribute("tabindex", "-1"), se && Ne !== D.value) {
|
|
11661
11661
|
H.dataset.hidden = "true", Fe.push(H);
|
|
11662
11662
|
continue;
|
|
11663
11663
|
}
|
|
11664
|
-
if (ne = Ne <
|
|
11664
|
+
if (ne = Ne < S.value.length - 1 ? h.value - K.value : h.value, p.value[Ne] > ne) {
|
|
11665
11665
|
H.dataset.hidden = "true", Fe.push(H), V = !0, se = !0;
|
|
11666
11666
|
continue;
|
|
11667
11667
|
}
|
|
@@ -11683,23 +11683,23 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11683
11683
|
}
|
|
11684
11684
|
function be(V) {
|
|
11685
11685
|
var se, Fe, He;
|
|
11686
|
-
const H = (He = (Fe = (se =
|
|
11686
|
+
const H = (He = (Fe = (se = S.value[V]) == null ? void 0 : se.getBoundingClientRect) == null ? void 0 : Fe.call(se)) == null ? void 0 : He.width;
|
|
11687
11687
|
return H || (V === 0 ? p.value[0] : p.value[V] - p.value[V - 1]) || 0;
|
|
11688
11688
|
}
|
|
11689
11689
|
function we() {
|
|
11690
11690
|
var V;
|
|
11691
|
-
(V =
|
|
11691
|
+
(V = S.value[D.value]) == null || V.setAttribute("aria-selected", "true"), te();
|
|
11692
11692
|
}
|
|
11693
11693
|
function De() {
|
|
11694
11694
|
var V;
|
|
11695
|
-
(V =
|
|
11695
|
+
(V = g.value) == null || V.focus(), s.value = !1;
|
|
11696
11696
|
}
|
|
11697
11697
|
function Te() {
|
|
11698
11698
|
s.value = !s.value, a.value || (a.value = !0);
|
|
11699
11699
|
}
|
|
11700
11700
|
function R(V) {
|
|
11701
11701
|
var H;
|
|
11702
|
-
s.value = !1, (H =
|
|
11702
|
+
s.value = !1, (H = g.value) == null || H.focus(), ge(V);
|
|
11703
11703
|
}
|
|
11704
11704
|
function Z(V) {
|
|
11705
11705
|
if (t.withBsTabs) return;
|
|
@@ -11710,26 +11710,26 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11710
11710
|
}
|
|
11711
11711
|
function ae(V) {
|
|
11712
11712
|
if (V.key === "ArrowLeft" || V.key === "ArrowRight") {
|
|
11713
|
-
const H =
|
|
11713
|
+
const H = k.value.findIndex((ne) => ne.id === V.target.id);
|
|
11714
11714
|
if (H === -1) return;
|
|
11715
11715
|
V.preventDefault(), V.stopPropagation(), V.key === "ArrowLeft" ? U(H) : z(H);
|
|
11716
11716
|
}
|
|
11717
11717
|
}
|
|
11718
11718
|
function z(V) {
|
|
11719
11719
|
var ne;
|
|
11720
|
-
const H = (V + 1) %
|
|
11721
|
-
(ne =
|
|
11720
|
+
const H = (V + 1) % k.value.length;
|
|
11721
|
+
(ne = k.value[H]) == null || ne.focus();
|
|
11722
11722
|
}
|
|
11723
11723
|
function U(V) {
|
|
11724
11724
|
var ne;
|
|
11725
|
-
const H = V === 0 ?
|
|
11726
|
-
(ne =
|
|
11725
|
+
const H = V === 0 ? k.value.length - 1 : V - 1;
|
|
11726
|
+
(ne = k.value[H]) == null || ne.focus();
|
|
11727
11727
|
}
|
|
11728
11728
|
function J() {
|
|
11729
11729
|
var He, Ne, Jn, _n;
|
|
11730
11730
|
const V = parseInt(c.value.style.getPropertyValue("--active-line-offset")) || 0, H = h.value;
|
|
11731
|
-
let ne = 300, se = ((Ne = (He =
|
|
11732
|
-
r.value && w.value && (se = (Jn =
|
|
11731
|
+
let ne = 300, se = ((Ne = (He = k.value) == null ? void 0 : He[D.value]) == null ? void 0 : Ne.offsetLeft) || 0, Fe = be(D.value);
|
|
11732
|
+
r.value && w.value && (se = (Jn = g.value) == null ? void 0 : Jn.offsetLeft, Fe = (_n = g.value) == null ? void 0 : _n.offsetWidth), ne = Math.max(Math.abs((se - V) / H * 300), 100), c.value.style.setProperty("--active-line-max-width", `${H}px`), c.value.style.setProperty("--active-line-scale", `${Fe / H}`), c.value.style.setProperty("--active-line-offset", `${se}px`), c.value.style.setProperty("--active-line-transition-duration", `${ne}ms`);
|
|
11733
11733
|
}
|
|
11734
11734
|
function ve() {
|
|
11735
11735
|
var V, H;
|
|
@@ -11743,11 +11743,11 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11743
11743
|
m.value = new ResizeObserver(V), m.value.observe(document.body), c.value && m.value.observe(c.value);
|
|
11744
11744
|
}
|
|
11745
11745
|
function F() {
|
|
11746
|
-
|
|
11746
|
+
S.value = Array.from(u.value.children).filter((V) => V.role === "tab");
|
|
11747
11747
|
}
|
|
11748
11748
|
function $() {
|
|
11749
11749
|
let V;
|
|
11750
|
-
|
|
11750
|
+
S.value.forEach((H, ne) => {
|
|
11751
11751
|
V = H.getBoundingClientRect().width + fn, p.value.push(ne ? V + p.value[ne - 1] : V);
|
|
11752
11752
|
});
|
|
11753
11753
|
}
|
|
@@ -11755,16 +11755,16 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11755
11755
|
var H, ne;
|
|
11756
11756
|
let V = [];
|
|
11757
11757
|
if (typeof window > "u") return V;
|
|
11758
|
-
for (let se of
|
|
11758
|
+
for (let se of S.value) {
|
|
11759
11759
|
if (((H = se.dataset) == null ? void 0 : H.hidden) === "true" || ((ne = se.dataset) == null ? void 0 : ne.hidden) === "" || se.getAttribute("tabindex") === "-1") break;
|
|
11760
11760
|
V.push(se);
|
|
11761
11761
|
}
|
|
11762
|
-
r.value && V.push(c.value.querySelector(".bs-tab-list-toggle")),
|
|
11762
|
+
r.value && V.push(c.value.querySelector(".bs-tab-list-toggle")), k.value = V;
|
|
11763
11763
|
}
|
|
11764
11764
|
return G(() => t.activeTabId, we), oe(() => {
|
|
11765
11765
|
var V;
|
|
11766
11766
|
try {
|
|
11767
|
-
F(), $(), E(), h.value = c.value.getBoundingClientRect().width, te(), t.withBsTabs || (V =
|
|
11767
|
+
F(), $(), E(), h.value = c.value.getBoundingClientRect().width, te(), t.withBsTabs || (V = S.value[D.value]) == null || V.setAttribute("aria-selected", "true");
|
|
11768
11768
|
} catch (H) {
|
|
11769
11769
|
console.log("tab error", H);
|
|
11770
11770
|
}
|
|
@@ -11795,7 +11795,7 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11795
11795
|
"data-hidden": !r.value,
|
|
11796
11796
|
id: x.value,
|
|
11797
11797
|
ref_key: "dropdownToggle",
|
|
11798
|
-
ref:
|
|
11798
|
+
ref: g,
|
|
11799
11799
|
onClick: Te
|
|
11800
11800
|
}, [
|
|
11801
11801
|
q(b(Ji), { size: "sm" }),
|
|
@@ -11955,7 +11955,7 @@ const Lc = /* @__PURE__ */ Zn(Pc, [["render", Ec]]), bo = {
|
|
|
11955
11955
|
required: e.required,
|
|
11956
11956
|
rows: e.rows,
|
|
11957
11957
|
value: e.value || e.modelValue,
|
|
11958
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
11958
|
+
"onUpdate:modelValue": v[0] || (v[0] = (S) => p.$emit("update:modelValue", S))
|
|
11959
11959
|
}, b(l)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
|
|
11960
11960
|
c.value || e.charMax ? (d(), A(qe, {
|
|
11961
11961
|
key: 1,
|
|
@@ -12142,15 +12142,15 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12142
12142
|
let B = !1;
|
|
12143
12143
|
for (let I = 0; I < 24 && !B; I++)
|
|
12144
12144
|
for (let N = 0; N < 60; N += o.step) {
|
|
12145
|
-
const
|
|
12145
|
+
const D = v(I, N), w = p(D);
|
|
12146
12146
|
if (w !== yo) {
|
|
12147
12147
|
if (w === mo) {
|
|
12148
12148
|
B = !0;
|
|
12149
12149
|
break;
|
|
12150
12150
|
}
|
|
12151
12151
|
h.push({
|
|
12152
|
-
label: Qe(
|
|
12153
|
-
value:
|
|
12152
|
+
label: Qe(D),
|
|
12153
|
+
value: D
|
|
12154
12154
|
});
|
|
12155
12155
|
}
|
|
12156
12156
|
}
|
|
@@ -12173,14 +12173,14 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12173
12173
|
function v(h, B) {
|
|
12174
12174
|
return h = h.toString().padStart(2, "0"), B = B.toString().padStart(2, "0"), `${h}:${B}`;
|
|
12175
12175
|
}
|
|
12176
|
-
function
|
|
12176
|
+
function S(h) {
|
|
12177
12177
|
const B = Gc(h);
|
|
12178
|
-
B === o.modelValue && (a.value = Qe(o.modelValue)),
|
|
12178
|
+
B === o.modelValue && (a.value = Qe(o.modelValue)), k(B);
|
|
12179
12179
|
}
|
|
12180
|
-
function
|
|
12180
|
+
function g() {
|
|
12181
12181
|
l.value = c();
|
|
12182
12182
|
}
|
|
12183
|
-
function
|
|
12183
|
+
function k(h) {
|
|
12184
12184
|
m(h), i("update:modelValue", h);
|
|
12185
12185
|
}
|
|
12186
12186
|
function m(h) {
|
|
@@ -12198,12 +12198,12 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12198
12198
|
s.value = "", r.value = !1;
|
|
12199
12199
|
}
|
|
12200
12200
|
}
|
|
12201
|
-
return oe(
|
|
12201
|
+
return oe(g), G([
|
|
12202
12202
|
() => o.disabledTimes,
|
|
12203
12203
|
() => o.maxTime,
|
|
12204
12204
|
() => o.minTime,
|
|
12205
12205
|
() => o.step
|
|
12206
|
-
],
|
|
12206
|
+
], g), G([
|
|
12207
12207
|
() => o.disabledTimes,
|
|
12208
12208
|
() => o.maxTime,
|
|
12209
12209
|
() => o.minTime,
|
|
@@ -12228,7 +12228,7 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12228
12228
|
placeholder: e.placeholder,
|
|
12229
12229
|
required: e.required,
|
|
12230
12230
|
"update-on-input": !1,
|
|
12231
|
-
"onUpdate:modelValue":
|
|
12231
|
+
"onUpdate:modelValue": S
|
|
12232
12232
|
}, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
|
|
12233
12233
|
}
|
|
12234
12234
|
}), th = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
@@ -12301,28 +12301,28 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12301
12301
|
setup(e, { expose: n, emit: t }) {
|
|
12302
12302
|
const o = e;
|
|
12303
12303
|
ee(o, "inputId", void 0, "Set 'id' directly on the component instead.");
|
|
12304
|
-
const [i, a] = fe(2), { filtered: l, remaining: s } = Oe(["class", "style"]), r = C(null), c = f(() => o.errorMsg ||
|
|
12305
|
-
var
|
|
12306
|
-
return (
|
|
12307
|
-
}),
|
|
12308
|
-
var
|
|
12309
|
-
return (
|
|
12304
|
+
const [i, a] = fe(2), { filtered: l, remaining: s } = Oe(["class", "style"]), r = C(null), c = f(() => o.errorMsg || S.value), u = f(() => o.error || g.value), p = f(() => o.inputId || i.value), v = f(() => o.hint || u.value && c.value), S = f(() => {
|
|
12305
|
+
var k;
|
|
12306
|
+
return (k = r.value) == null ? void 0 : k.validationErrMsg;
|
|
12307
|
+
}), g = f(() => {
|
|
12308
|
+
var k;
|
|
12309
|
+
return (k = r.value) == null ? void 0 : k.validationErr;
|
|
12310
12310
|
});
|
|
12311
12311
|
return n({
|
|
12312
|
-
validationErr:
|
|
12313
|
-
validationErrMsg:
|
|
12314
|
-
}), (
|
|
12312
|
+
validationErr: g,
|
|
12313
|
+
validationErrMsg: S
|
|
12314
|
+
}), (k, m) => (d(), y("div", X({
|
|
12315
12315
|
"aria-live": "polite",
|
|
12316
12316
|
"data-component": "bs-time-picker-field"
|
|
12317
12317
|
}, b(l)), [
|
|
12318
|
-
e.label ||
|
|
12318
|
+
e.label || k.$slots.label ? (d(), A(ke, {
|
|
12319
12319
|
key: 0,
|
|
12320
|
-
for:
|
|
12320
|
+
for: k.$attrs.id || p.value,
|
|
12321
12321
|
disabled: e.disabled,
|
|
12322
12322
|
required: e.required
|
|
12323
12323
|
}, {
|
|
12324
12324
|
default: j(() => [
|
|
12325
|
-
L(
|
|
12325
|
+
L(k.$slots, "label", {}, () => [
|
|
12326
12326
|
Q(M(e.label), 1)
|
|
12327
12327
|
])
|
|
12328
12328
|
]),
|
|
@@ -12339,14 +12339,14 @@ const hn = "excluded", bn = "over", yo = "skip", mo = "stop", vn = "under", Xc =
|
|
|
12339
12339
|
"helper-description": e.helperDescription,
|
|
12340
12340
|
"helper-text": e.helperText,
|
|
12341
12341
|
"hint-id": b(a),
|
|
12342
|
-
id:
|
|
12342
|
+
id: k.$attrs.id || p.value,
|
|
12343
12343
|
"max-time": e.maxTime,
|
|
12344
12344
|
"min-time": e.minTime,
|
|
12345
12345
|
"model-value": e.modelValue,
|
|
12346
12346
|
placeholder: e.placeholder,
|
|
12347
12347
|
required: e.required,
|
|
12348
12348
|
step: e.step,
|
|
12349
|
-
"onUpdate:modelValue": m[0] || (m[0] = (h) =>
|
|
12349
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => k.$emit("update:modelValue", h))
|
|
12350
12350
|
}, b(s)), null, 16, ["disabled-times", "disabled", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
|
|
12351
12351
|
me(q(qe, {
|
|
12352
12352
|
error: u.value,
|
|
@@ -12400,8 +12400,8 @@ const nh = {
|
|
|
12400
12400
|
onClose: c,
|
|
12401
12401
|
onAfterClose: u
|
|
12402
12402
|
}, {
|
|
12403
|
-
default: j(({ id:
|
|
12404
|
-
L(p.$slots, "default", Ae(Ee({ id:
|
|
12403
|
+
default: j(({ id: S, close: g, cancel: k, confirm: m }) => [
|
|
12404
|
+
L(p.$slots, "default", Ae(Ee({ id: S, close: g, cancel: k, confirm: m })))
|
|
12405
12405
|
]),
|
|
12406
12406
|
_: 3
|
|
12407
12407
|
}, 8, ["id", "style", "data-variant"]));
|
|
@@ -12565,32 +12565,32 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12565
12565
|
__name: "BsTooltip",
|
|
12566
12566
|
props: Fn,
|
|
12567
12567
|
setup(e) {
|
|
12568
|
-
const n = e, t = it("locator"), o = at(), i = $e(), a = C(!1), l = f(() => n.id || i),
|
|
12568
|
+
const n = e, t = it("locator"), o = at(), i = $e(), a = C(!1), l = C(null), s = f(() => n.id || i), r = f(() => `${s.value}-bs-tooltip-anchor`), c = f(() => n.id ? Object.keys(o.popIdsByTrigger.value).some((k) => o.isTrigger(n.id, k)) : !1), u = f(() => !c.value && !n.anchor), p = f(() => {
|
|
12569
12569
|
if (n.anchor) return n.anchor;
|
|
12570
|
-
if (
|
|
12570
|
+
if (u.value) return l.value;
|
|
12571
12571
|
});
|
|
12572
|
-
G(
|
|
12573
|
-
|
|
12572
|
+
G(u, () => {
|
|
12573
|
+
u.value ? v() : S();
|
|
12574
12574
|
}), oe(() => {
|
|
12575
|
-
a.value = !0, Ve(() =>
|
|
12576
|
-
}), $t(
|
|
12577
|
-
function
|
|
12575
|
+
a.value = !0, Ve(() => u.value && v());
|
|
12576
|
+
}), $t(S);
|
|
12577
|
+
function v() {
|
|
12578
12578
|
if (!t.value) return;
|
|
12579
12579
|
const g = t.value.parentNode;
|
|
12580
|
-
g.id || (g.id =
|
|
12580
|
+
g.id || (g.id = r.value), l.value = g.id;
|
|
12581
12581
|
}
|
|
12582
|
-
function
|
|
12582
|
+
function S() {
|
|
12583
12583
|
if (!t.value) return;
|
|
12584
12584
|
const g = t.value.parentNode;
|
|
12585
|
-
g.id ===
|
|
12585
|
+
g.id === r.value && g.removeAttribute("id"), l.value = null;
|
|
12586
12586
|
}
|
|
12587
|
-
return (g,
|
|
12588
|
-
q(Ct, X({ id:
|
|
12587
|
+
return (g, k) => (d(), y(_, null, [
|
|
12588
|
+
q(Ct, X({ id: s.value }, g.$attrs, {
|
|
12589
12589
|
class: "bs-tooltip",
|
|
12590
12590
|
"data-component": "bs-tooltip",
|
|
12591
12591
|
type: "tooltip",
|
|
12592
12592
|
role: "tooltip",
|
|
12593
|
-
anchor:
|
|
12593
|
+
anchor: p.value,
|
|
12594
12594
|
delay: g.delay,
|
|
12595
12595
|
place: g.place,
|
|
12596
12596
|
"prevent-close-x": ""
|
|
@@ -12600,7 +12600,7 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12600
12600
|
]),
|
|
12601
12601
|
_: 3
|
|
12602
12602
|
}, 16, ["id", "anchor", "delay", "place"]),
|
|
12603
|
-
a.value &&
|
|
12603
|
+
a.value && u.value ? (d(), y("span", ap, null, 512)) : P("", !0)
|
|
12604
12604
|
], 64));
|
|
12605
12605
|
}
|
|
12606
12606
|
}), sp = ["data-position"], lp = ["id"], dh = {
|
|
@@ -12686,12 +12686,12 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12686
12686
|
}, l = {
|
|
12687
12687
|
onFocus: B,
|
|
12688
12688
|
onClick: h
|
|
12689
|
-
}, s = $e(), r = We(), c = it("inputSearch"), u = at(), p = C(!1), v = f(() => t.id || s),
|
|
12689
|
+
}, s = $e(), r = We(), c = it("inputSearch"), u = at(), p = C(!1), v = f(() => t.id || s), S = f(() => `${v.value}-dropdown`), g = f(() => {
|
|
12690
12690
|
var w;
|
|
12691
12691
|
return (w = c.value) == null ? void 0 : w.$el.id;
|
|
12692
|
-
}),
|
|
12692
|
+
}), k = { ...l, ...a }, m = f(() => X(k, r));
|
|
12693
12693
|
function h() {
|
|
12694
|
-
u.open(
|
|
12694
|
+
u.open(S.value);
|
|
12695
12695
|
}
|
|
12696
12696
|
function B() {
|
|
12697
12697
|
if (p.value) {
|
|
@@ -12706,12 +12706,13 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12706
12706
|
function N(w) {
|
|
12707
12707
|
return w && (typeof t.displayValue == "function" ? t.displayValue(w) : w[t.displayValue]);
|
|
12708
12708
|
}
|
|
12709
|
-
function
|
|
12709
|
+
function D() {
|
|
12710
12710
|
o.value = void 0, p.value = !0;
|
|
12711
12711
|
}
|
|
12712
12712
|
return (w, T) => (d(), y(_, null, [
|
|
12713
12713
|
q(Yn, X({
|
|
12714
12714
|
ref: "inputSearch",
|
|
12715
|
+
autocomplete: "off",
|
|
12715
12716
|
disabled: w.disabled,
|
|
12716
12717
|
error: w.error,
|
|
12717
12718
|
"hide-search-icon": w.hideSearchIcon,
|
|
@@ -12721,10 +12722,10 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12721
12722
|
}, m.value, {
|
|
12722
12723
|
modelValue: i.value,
|
|
12723
12724
|
"onUpdate:modelValue": T[0] || (T[0] = (x) => i.value = x),
|
|
12724
|
-
onClear:
|
|
12725
|
+
onClear: D
|
|
12725
12726
|
}), null, 16, ["disabled", "error", "hide-search-icon", "id", "placeholder", "prevent-clear", "modelValue"]),
|
|
12726
12727
|
q(Di, {
|
|
12727
|
-
anchor:
|
|
12728
|
+
anchor: g.value,
|
|
12728
12729
|
class: Pe(["bs-input-search-dropdown", w.dropdownClass]),
|
|
12729
12730
|
debounce: w.debounce,
|
|
12730
12731
|
"equate-by": w.equateBy,
|
|
@@ -12732,7 +12733,7 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12732
12733
|
"filter-key": w.filterKey,
|
|
12733
12734
|
"filter-external": w.filterExternal,
|
|
12734
12735
|
"hide-filter-input": "",
|
|
12735
|
-
id:
|
|
12736
|
+
id: S.value,
|
|
12736
12737
|
persist: w.persist,
|
|
12737
12738
|
place: w.dropdownPlace,
|
|
12738
12739
|
"min-chars": w.minChars,
|
|
@@ -12802,10 +12803,10 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12802
12803
|
modelValue: t.value,
|
|
12803
12804
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => t.value = v)
|
|
12804
12805
|
}), St({ _: 2 }, [
|
|
12805
|
-
ue(u.$slots, (v,
|
|
12806
|
-
name:
|
|
12807
|
-
fn: j((
|
|
12808
|
-
L(u.$slots,
|
|
12806
|
+
ue(u.$slots, (v, S) => ({
|
|
12807
|
+
name: S,
|
|
12808
|
+
fn: j((g) => [
|
|
12809
|
+
L(u.$slots, S, Ae(Ee(g)))
|
|
12809
12810
|
])
|
|
12810
12811
|
}))
|
|
12811
12812
|
]), 1040, ["aria-labelledby", "disabled", "error", "hint-id", "id", "required", "modelValue"]),
|
|
@@ -12840,10 +12841,10 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12840
12841
|
ot("(max-width: 1165px)", (I) => {
|
|
12841
12842
|
p.value = I.matches;
|
|
12842
12843
|
});
|
|
12843
|
-
const c = C(null), u = C(null), p = C(!1), v = C(t.collapsed),
|
|
12844
|
+
const c = C(null), u = C(null), p = C(!1), v = C(t.collapsed), S = f(() => !t.width && t.variant === "narrow"), g = f(() => t.variant === "collapsible"), k = f(() => !g.value || p.value ? !1 : v.value);
|
|
12844
12845
|
function m() {
|
|
12845
12846
|
let I = "0px";
|
|
12846
|
-
|
|
12847
|
+
g.value && !p.value && v.value ? I = "4rem" : t.width ? I = t.width : S.value ? I = "4.5rem" : I = "9.875rem", typeof document < "u" && document.body.style.setProperty("--bs-page-nav-width", I);
|
|
12847
12848
|
}
|
|
12848
12849
|
oe(() => {
|
|
12849
12850
|
l(t.startCollapsed), m();
|
|
@@ -12854,7 +12855,7 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12854
12855
|
}), G(() => t.collapsed, (I) => {
|
|
12855
12856
|
v.value = I;
|
|
12856
12857
|
}), G(
|
|
12857
|
-
[() => v.value,
|
|
12858
|
+
[() => v.value, S, () => t.width, g, p],
|
|
12858
12859
|
() => {
|
|
12859
12860
|
m();
|
|
12860
12861
|
}
|
|
@@ -12877,7 +12878,7 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12877
12878
|
class: "bs-vertical-nav-wrapper",
|
|
12878
12879
|
"data-bg-variant": t.bgVariant || void 0
|
|
12879
12880
|
}, [
|
|
12880
|
-
|
|
12881
|
+
g.value && !p.value ? (d(), y("button", {
|
|
12881
12882
|
key: 0,
|
|
12882
12883
|
ref_key: "toggleButton",
|
|
12883
12884
|
ref: u,
|
|
@@ -12885,8 +12886,8 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12885
12886
|
type: "button",
|
|
12886
12887
|
"aria-expanded": !v.value,
|
|
12887
12888
|
title: v.value ? "Expand navigation" : "Collapse navigation",
|
|
12888
|
-
"data-collapsed":
|
|
12889
|
-
"data-narrow":
|
|
12889
|
+
"data-collapsed": k.value,
|
|
12890
|
+
"data-narrow": S.value,
|
|
12890
12891
|
onClick: B
|
|
12891
12892
|
}, [
|
|
12892
12893
|
v.value ? (d(), A(b(Gt), {
|
|
@@ -12901,44 +12902,44 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12901
12902
|
class: "bs-vertical-nav",
|
|
12902
12903
|
ref_key: "verticalNav",
|
|
12903
12904
|
ref: c,
|
|
12904
|
-
"data-narrow":
|
|
12905
|
-
"data-collapsed":
|
|
12906
|
-
"data-collapsible":
|
|
12905
|
+
"data-narrow": S.value,
|
|
12906
|
+
"data-collapsed": k.value,
|
|
12907
|
+
"data-collapsible": g.value,
|
|
12907
12908
|
"data-sticky": t.sticky || void 0,
|
|
12908
|
-
style: Tt(t.width && !
|
|
12909
|
+
style: Tt(t.width && !k.value ? { width: t.width } : void 0)
|
|
12909
12910
|
}, [
|
|
12910
12911
|
O("ul", null, [
|
|
12911
12912
|
I.$slots["top-content"] ? (d(), y("li", pp, [
|
|
12912
12913
|
L(I.$slots, "top-content")
|
|
12913
12914
|
])) : P("", !0),
|
|
12914
|
-
(d(!0), y(_, null, ue(b(r), (
|
|
12915
|
+
(d(!0), y(_, null, ue(b(r), (D) => {
|
|
12915
12916
|
var w;
|
|
12916
12917
|
return d(), y(_, {
|
|
12917
|
-
key:
|
|
12918
|
+
key: D.id
|
|
12918
12919
|
}, [
|
|
12919
|
-
((w =
|
|
12920
|
+
((w = D.navItems) == null ? void 0 : w.length) > 0 ? (d(), y("li", {
|
|
12920
12921
|
key: 0,
|
|
12921
12922
|
class: "bs-vertical-nav-section",
|
|
12922
|
-
"data-collapsed": !
|
|
12923
|
-
"data-divider-only":
|
|
12924
|
-
"data-app-links":
|
|
12923
|
+
"data-collapsed": !D.dividerOnly && !b(s)(D),
|
|
12924
|
+
"data-divider-only": D.dividerOnly,
|
|
12925
|
+
"data-app-links": D.appLinks
|
|
12925
12926
|
}, [
|
|
12926
|
-
!
|
|
12927
|
+
!D.dividerOnly && !S.value && !k.value ? (d(), y("button", {
|
|
12927
12928
|
key: 0,
|
|
12928
12929
|
class: "bs-vertical-nav-section-toggle",
|
|
12929
|
-
"aria-expanded": b(s)(
|
|
12930
|
-
"aria-controls": `${
|
|
12931
|
-
title: b(a)(
|
|
12930
|
+
"aria-expanded": b(s)(D),
|
|
12931
|
+
"aria-controls": `${D.id}-nested-section`,
|
|
12932
|
+
title: b(a)(D),
|
|
12932
12933
|
type: "button",
|
|
12933
|
-
onClick: (T) => h(
|
|
12934
|
+
onClick: (T) => h(D.id)
|
|
12934
12935
|
}, [
|
|
12935
|
-
|
|
12936
|
+
k.value ? P("", !0) : (d(), y("span", bp, M(D.text), 1)),
|
|
12936
12937
|
q(b(sa), { class: "bs-vertical-nav-section-toggle-caret" })
|
|
12937
12938
|
], 8, hp)) : P("", !0),
|
|
12938
12939
|
me(O("ul", {
|
|
12939
|
-
id: `${
|
|
12940
|
+
id: `${D.id}-nested-section`
|
|
12940
12941
|
}, [
|
|
12941
|
-
(d(!0), y(_, null, ue(
|
|
12942
|
+
(d(!0), y(_, null, ue(D.navItems, (T) => (d(), y("li", {
|
|
12942
12943
|
key: T.id
|
|
12943
12944
|
}, [
|
|
12944
12945
|
q(rt, {
|
|
@@ -12962,25 +12963,25 @@ const ih = /* @__PURE__ */ Zn(Jc, [["render", ep]]), tp = ["data-variant", "data
|
|
|
12962
12963
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
12963
12964
|
]))), 128))
|
|
12964
12965
|
], 8, vp), [
|
|
12965
|
-
[Ce,
|
|
12966
|
+
[Ce, D.dividerOnly || b(s)(D) || k.value]
|
|
12966
12967
|
])
|
|
12967
12968
|
], 8, fp)) : (d(), y("li", yp, [
|
|
12968
12969
|
q(rt, {
|
|
12969
|
-
item:
|
|
12970
|
+
item: D,
|
|
12970
12971
|
router: I.router,
|
|
12971
|
-
onNavLinkClicked: (T) => o("nav-link-clicked", { ev: T, payload:
|
|
12972
|
-
"aria-label":
|
|
12972
|
+
onNavLinkClicked: (T) => o("nav-link-clicked", { ev: T, payload: D }),
|
|
12973
|
+
"aria-label": D.text
|
|
12973
12974
|
}, {
|
|
12974
12975
|
default: j(() => [
|
|
12975
|
-
typeof
|
|
12976
|
+
typeof D.icon == "string" ? (d(), A(b(ze), {
|
|
12976
12977
|
key: 0,
|
|
12977
12978
|
class: "bs-vertical-nav-link-icon",
|
|
12978
|
-
name:
|
|
12979
|
-
}, null, 8, ["name"])) : (d(), A(ie(
|
|
12979
|
+
name: D.icon
|
|
12980
|
+
}, null, 8, ["name"])) : (d(), A(ie(D.icon), {
|
|
12980
12981
|
key: 1,
|
|
12981
12982
|
class: "bs-vertical-nav-link-icon"
|
|
12982
12983
|
})),
|
|
12983
|
-
O("span", null, M(
|
|
12984
|
+
O("span", null, M(D.text), 1)
|
|
12984
12985
|
]),
|
|
12985
12986
|
_: 2
|
|
12986
12987
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|