@wwtdev/bsds-components-vue3 2.40.0 → 2.40.1
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 +198 -191
- package/lib/bsds-components.js.map +1 -1
- package/lib/components.css +1 -1
- package/package.json +6 -2
package/lib/bsds-components.js
CHANGED
|
@@ -701,7 +701,7 @@ const wa = {
|
|
|
701
701
|
type: String,
|
|
702
702
|
typeDef: "string"
|
|
703
703
|
}
|
|
704
|
-
},
|
|
704
|
+
}, Pa = {}, Ea = {
|
|
705
705
|
"call-to-action": {
|
|
706
706
|
description: "Custom call-to-action content, typically a button or link."
|
|
707
707
|
},
|
|
@@ -713,9 +713,9 @@ const wa = {
|
|
|
713
713
|
}
|
|
714
714
|
}, hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
715
715
|
__proto__: null,
|
|
716
|
-
emitDefinitions:
|
|
716
|
+
emitDefinitions: Pa,
|
|
717
717
|
propDefinitions: Dt,
|
|
718
|
-
slotDefinitions:
|
|
718
|
+
slotDefinitions: Ea
|
|
719
719
|
}, Symbol.toStringTag, { value: "Module" })), bn = {
|
|
720
720
|
// REQUIRED
|
|
721
721
|
title: {
|
|
@@ -1359,6 +1359,12 @@ const wa = {
|
|
|
1359
1359
|
description: "Custom width of the vertical navigation. This will override\n the `variant` prop.",
|
|
1360
1360
|
type: String,
|
|
1361
1361
|
typeDef: "string"
|
|
1362
|
+
},
|
|
1363
|
+
sticky: {
|
|
1364
|
+
default: !1,
|
|
1365
|
+
description: "If `true`, the navigation will use sticky positioning instead\n of fixed positioning on desktop viewports (min-width: 1166px). This is primarily\n used in combination with the App Header component.",
|
|
1366
|
+
type: Boolean,
|
|
1367
|
+
typeDef: "boolean"
|
|
1362
1368
|
}
|
|
1363
1369
|
}, Sn = {
|
|
1364
1370
|
"nav-link-clicked": {
|
|
@@ -2208,7 +2214,7 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2208
2214
|
}
|
|
2209
2215
|
return I;
|
|
2210
2216
|
}
|
|
2211
|
-
function
|
|
2217
|
+
function E(g) {
|
|
2212
2218
|
!t.isRange || i.value.contains(g.relatedTarget) || a.value.hidePopover();
|
|
2213
2219
|
}
|
|
2214
2220
|
function B() {
|
|
@@ -2221,7 +2227,7 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2221
2227
|
class: "bs-calendar",
|
|
2222
2228
|
"data-component": "bs-calendar",
|
|
2223
2229
|
"data-range": g.isRange,
|
|
2224
|
-
onFocusout:
|
|
2230
|
+
onFocusout: E
|
|
2225
2231
|
}, f(c)), [
|
|
2226
2232
|
g.label || g.$slots.label ? (l(), D(pe, {
|
|
2227
2233
|
key: 0,
|
|
@@ -2249,18 +2255,18 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2249
2255
|
popover: { visibility: "focus" },
|
|
2250
2256
|
rows: 1,
|
|
2251
2257
|
step: r.value,
|
|
2252
|
-
"onUpdate:modelValue": I[2] || (I[2] = (
|
|
2258
|
+
"onUpdate:modelValue": I[2] || (I[2] = (P) => g.$emit("update:modelValue", P))
|
|
2253
2259
|
}, f(d)), gt({ _: 2 }, [
|
|
2254
2260
|
g.inputMode ? {
|
|
2255
2261
|
name: "default",
|
|
2256
|
-
fn: q(({ inputValue:
|
|
2262
|
+
fn: q(({ inputValue: P, inputEvents: N, showPopover: G }) => [
|
|
2257
2263
|
g.isRange ? (l(), D(ko, {
|
|
2258
2264
|
key: 1,
|
|
2259
2265
|
disabled: g.disabled,
|
|
2260
2266
|
error: g.error,
|
|
2261
2267
|
"input-id": v.value,
|
|
2262
|
-
"input-value":
|
|
2263
|
-
"input-value-fmt": b(
|
|
2268
|
+
"input-value": P,
|
|
2269
|
+
"input-value-fmt": b(P),
|
|
2264
2270
|
listeners: N,
|
|
2265
2271
|
placeholder: g.placeholder,
|
|
2266
2272
|
"show-clear": O.value,
|
|
@@ -2274,7 +2280,7 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2274
2280
|
error: g.error,
|
|
2275
2281
|
"input-id": v.value,
|
|
2276
2282
|
listeners: N,
|
|
2277
|
-
"model-value": b(
|
|
2283
|
+
"model-value": b(P),
|
|
2278
2284
|
placeholder: g.placeholder,
|
|
2279
2285
|
"show-clear": O.value,
|
|
2280
2286
|
required: g.required,
|
|
@@ -2413,7 +2419,7 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2413
2419
|
return (n.xAxisType === "time" || n.xAxisType === "linear") && v.sort((O, k) => (typeof O == "string" && typeof k == "string" && (O = O.toLowerCase(), k = k.toLowerCase()), O < k ? -1 : O > k ? 1 : 0)), v.map((O) => {
|
|
2414
2420
|
const k = { rowLabel: O }, y = [];
|
|
2415
2421
|
return c.forEach((S) => {
|
|
2416
|
-
const b = { datasetLabel: S.label }, M = S.data.find((
|
|
2422
|
+
const b = { datasetLabel: S.label }, M = S.data.find((E) => E.x === O);
|
|
2417
2423
|
b.value = M ? M.y : null, y.push(b);
|
|
2418
2424
|
}), k.dataCells = y, n.xAxisType === "time" && (k.rowLabelFmt = a(O)), k;
|
|
2419
2425
|
});
|
|
@@ -2505,9 +2511,9 @@ function Ao(e, n) {
|
|
|
2505
2511
|
}
|
|
2506
2512
|
}
|
|
2507
2513
|
function v(y, S) {
|
|
2508
|
-
var
|
|
2514
|
+
var E;
|
|
2509
2515
|
const b = `[data-dataset-index="${y}"][data-label-index="${S}"]`, M = o.value.querySelector(b);
|
|
2510
|
-
(
|
|
2516
|
+
(E = M == null ? void 0 : M.focus) == null || E.call(M);
|
|
2511
2517
|
}
|
|
2512
2518
|
function $(...y) {
|
|
2513
2519
|
!d || !t.value || (rt.register(...y), rt.defaults.font.family = "'Roobert', sans-serif", r = new rt(t.value, d));
|
|
@@ -2627,10 +2633,10 @@ function xt(e, n = 1) {
|
|
|
2627
2633
|
], a = t[e % t.length], o = Math.floor(e / t.length) + n;
|
|
2628
2634
|
return `rgba(${a.toString()}, ${1 / o})`;
|
|
2629
2635
|
}
|
|
2630
|
-
function
|
|
2636
|
+
function Po(e) {
|
|
2631
2637
|
return xt(e);
|
|
2632
2638
|
}
|
|
2633
|
-
function
|
|
2639
|
+
function Eo(e) {
|
|
2634
2640
|
return {
|
|
2635
2641
|
maintainAspectRatio: !1,
|
|
2636
2642
|
plugins: {
|
|
@@ -2769,7 +2775,7 @@ class Lo extends Tn {
|
|
|
2769
2775
|
return n.map((t, a) => ({
|
|
2770
2776
|
...t,
|
|
2771
2777
|
backgroundColor: xt(a, 2),
|
|
2772
|
-
borderColor:
|
|
2778
|
+
borderColor: Po(a),
|
|
2773
2779
|
borderWidth: 4
|
|
2774
2780
|
}));
|
|
2775
2781
|
}
|
|
@@ -2803,7 +2809,7 @@ class Mo {
|
|
|
2803
2809
|
*/
|
|
2804
2810
|
setCommonConfigs(n) {
|
|
2805
2811
|
const { data: t } = n;
|
|
2806
|
-
return this.commonOptionsBasic =
|
|
2812
|
+
return this.commonOptionsBasic = Eo(n), this.commonOptionsStrict = At(), this.datasets = t, this;
|
|
2807
2813
|
}
|
|
2808
2814
|
setCustomOptions(n) {
|
|
2809
2815
|
return this.customOptions = n.customOptions, this;
|
|
@@ -3203,7 +3209,7 @@ const No = {
|
|
|
3203
3209
|
var s;
|
|
3204
3210
|
e && !u && ((s = document.getElementById(a.value)) == null || s.remove());
|
|
3205
3211
|
}), { breakoutId: a, breakoutStub: o, breakoutMounted: i };
|
|
3206
|
-
},
|
|
3212
|
+
}, Pt = (e, n) => {
|
|
3207
3213
|
const t = (a) => {
|
|
3208
3214
|
e.some((o) => {
|
|
3209
3215
|
var i;
|
|
@@ -3272,7 +3278,7 @@ const No = {
|
|
|
3272
3278
|
],
|
|
3273
3279
|
setup(e, { emit: n }) {
|
|
3274
3280
|
const t = e, a = n, o = C(null), i = C(null), u = C(!1), s = C(!1), r = C(null), d = m(() => t.breakout ? p.value : t.containerId ? document.getElementById(t.containerId) : o.value.internalContainerRef), c = m(() => t.width === "anchor" ? void 0 : t.width);
|
|
3275
|
-
|
|
3281
|
+
Pt([i, r], () => {
|
|
3276
3282
|
s.value && a("close");
|
|
3277
3283
|
}), Ae(["Escape"], () => {
|
|
3278
3284
|
s.value && a("close");
|
|
@@ -3296,15 +3302,15 @@ const No = {
|
|
|
3296
3302
|
}
|
|
3297
3303
|
}
|
|
3298
3304
|
function y(B, g, I) {
|
|
3299
|
-
const
|
|
3305
|
+
const P = g.left - B.left;
|
|
3300
3306
|
if (t.position === "center") {
|
|
3301
3307
|
const N = (g.width - I.width) / 2;
|
|
3302
|
-
$("--dropdown-wscreen-left", `${
|
|
3308
|
+
$("--dropdown-wscreen-left", `${P + N}px`), $("--dropdown-wscreen-right", "auto");
|
|
3303
3309
|
} else if (t.position === "right") {
|
|
3304
3310
|
const N = B.right - g.right;
|
|
3305
3311
|
$("--dropdown-wscreen-left", "auto"), $("--dropdown-wscreen-right", `${N}px`);
|
|
3306
3312
|
} else
|
|
3307
|
-
$("--dropdown-wscreen-left", `${
|
|
3313
|
+
$("--dropdown-wscreen-left", `${P}px`), $("--dropdown-wscreen-right", "auto");
|
|
3308
3314
|
}
|
|
3309
3315
|
function S() {
|
|
3310
3316
|
if (t.width === "anchor") {
|
|
@@ -3319,7 +3325,7 @@ const No = {
|
|
|
3319
3325
|
function M() {
|
|
3320
3326
|
s.value = !0, a("after-enter");
|
|
3321
3327
|
}
|
|
3322
|
-
function
|
|
3328
|
+
function E() {
|
|
3323
3329
|
u.value = !1, s.value = !1, a("after-leave");
|
|
3324
3330
|
}
|
|
3325
3331
|
return (B, g) => (l(), h(J, null, [
|
|
@@ -3339,7 +3345,7 @@ const No = {
|
|
|
3339
3345
|
shown: e.shown,
|
|
3340
3346
|
onAfterEnter: M,
|
|
3341
3347
|
onEnter: b,
|
|
3342
|
-
onAfterLeave:
|
|
3348
|
+
onAfterLeave: E
|
|
3343
3349
|
}, {
|
|
3344
3350
|
default: q(() => [
|
|
3345
3351
|
w("div", H({
|
|
@@ -3650,7 +3656,7 @@ const No = {
|
|
|
3650
3656
|
var o;
|
|
3651
3657
|
const a = typeof n == "object" ? (o = n == null ? void 0 : n[t]) == null ? void 0 : o.toString().replace(/\s/g, "-") : n == null ? void 0 : n.toString().replace(/\s/g, "-");
|
|
3652
3658
|
return `${e}-option-${a}`;
|
|
3653
|
-
}, ti = ["data-value", "data-value-id-key", "data-value-type", "data-variant", "id"],
|
|
3659
|
+
}, ti = ["data-value", "data-value-id-key", "data-value-type", "data-variant", "id"], Et = {
|
|
3654
3660
|
__name: "BsDropdownOption",
|
|
3655
3661
|
props: {
|
|
3656
3662
|
valueIdKey: {
|
|
@@ -3741,7 +3747,7 @@ const No = {
|
|
|
3741
3747
|
return !!a && a !== o;
|
|
3742
3748
|
}
|
|
3743
3749
|
return (a, o) => (l(), h(J, null, [
|
|
3744
|
-
(l(!0), h(J, null, de(a.options, (i) => (l(), D(
|
|
3750
|
+
(l(!0), h(J, null, de(a.options, (i) => (l(), D(Et, {
|
|
3745
3751
|
"aria-checked": i.checkbox ? i.checkbox.checked : void 0,
|
|
3746
3752
|
key: i.value,
|
|
3747
3753
|
"value-id-key": a.valueIdKey,
|
|
@@ -3911,13 +3917,13 @@ const No = {
|
|
|
3911
3917
|
const $ = ue("dropdownEnter", C(!1)), O = ue("dropdownAfterEnter", C(!1)), k = ue("dropdownShown", C(!1));
|
|
3912
3918
|
me("optionsId", m(() => a.optionsId)), me("handleOptionSelect", $e), me("registerOptionById", ({ id: U, val: K }) => {
|
|
3913
3919
|
v[U] = K;
|
|
3914
|
-
}), ui(u,
|
|
3920
|
+
}), ui(u, E, { childList: !0 }), Ae([" ", "Enter", "NumpadEnter"], ge, u), Ae(["ArrowDown", "ArrowUp", "Home", "End"], Ie);
|
|
3915
3921
|
const b = [/^[a-zA-Z0-9]{1}$/], M = {
|
|
3916
3922
|
keys: "",
|
|
3917
3923
|
lastTyped: 0
|
|
3918
3924
|
};
|
|
3919
|
-
Ae(b, (U) =>
|
|
3920
|
-
|
|
3925
|
+
Ae(b, (U) => Pe(U, M)), ee(() => {
|
|
3926
|
+
E(), G(k.value);
|
|
3921
3927
|
}), De(() => {
|
|
3922
3928
|
v = null;
|
|
3923
3929
|
}), Z(
|
|
@@ -3931,7 +3937,7 @@ const No = {
|
|
|
3931
3937
|
), Z(O, (U) => {
|
|
3932
3938
|
U && (B(), g());
|
|
3933
3939
|
}), Z(k, (U) => G(U));
|
|
3934
|
-
function
|
|
3940
|
+
function E() {
|
|
3935
3941
|
c.value = Array.from(
|
|
3936
3942
|
u.value.querySelectorAll('[data-component="bs-dropdown-option"]')
|
|
3937
3943
|
);
|
|
@@ -3947,7 +3953,7 @@ const No = {
|
|
|
3947
3953
|
var U, K;
|
|
3948
3954
|
r.value > -1 && ((U = c.value[r.value]) == null || U.setAttribute("data-active", ""), s.value = (K = c.value[r.value]) == null ? void 0 : K.id, g());
|
|
3949
3955
|
}
|
|
3950
|
-
function
|
|
3956
|
+
function P() {
|
|
3951
3957
|
var U;
|
|
3952
3958
|
r.value > -1 && ((U = c.value[r.value]) == null || U.removeAttribute("data-active"));
|
|
3953
3959
|
}
|
|
@@ -3968,13 +3974,13 @@ const No = {
|
|
|
3968
3974
|
function he() {
|
|
3969
3975
|
c.value.forEach((U) => {
|
|
3970
3976
|
U.removeAttribute("data-selected"), U.setAttribute("aria-selected", "false");
|
|
3971
|
-
}),
|
|
3977
|
+
}), P(), d.value = -1, r.value = -1, s.value = null;
|
|
3972
3978
|
}
|
|
3973
3979
|
function $e(U) {
|
|
3974
3980
|
var ie;
|
|
3975
3981
|
(ie = U.querySelector("a")) == null || ie.click();
|
|
3976
3982
|
let K = U.dataset.valueIdKey ? v[U.id] : U.dataset.value;
|
|
3977
|
-
U.dataset.valueType == "number" && (K = Number(K)), s.value = U.id,
|
|
3983
|
+
U.dataset.valueType == "number" && (K = Number(K)), s.value = U.id, P(), i("update:modelValue", K), i("close");
|
|
3978
3984
|
}
|
|
3979
3985
|
function ge(U) {
|
|
3980
3986
|
$e(c.value[r.value]), U.preventDefault();
|
|
@@ -4014,20 +4020,20 @@ const No = {
|
|
|
4014
4020
|
}
|
|
4015
4021
|
Oe(K);
|
|
4016
4022
|
}
|
|
4017
|
-
function
|
|
4023
|
+
function Pe(U, K) {
|
|
4018
4024
|
if (!k.value) return;
|
|
4019
4025
|
K.keys = U.timeStamp - K.lastTyped > 500 ? U.key : K.keys + U.key, K.lastTyped = U.timeStamp;
|
|
4020
4026
|
const ie = c.value.findIndex((Y) => Y.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(K.keys));
|
|
4021
4027
|
ie > -1 && Oe(ie, !1);
|
|
4022
4028
|
}
|
|
4023
4029
|
function Oe(U, K = !0) {
|
|
4024
|
-
|
|
4030
|
+
P(), r.value = U, document.activeElement !== u.value && K ? u.value.focus() : I();
|
|
4025
4031
|
}
|
|
4026
4032
|
return n({
|
|
4027
4033
|
activeIndex: r,
|
|
4028
4034
|
optionEls: c,
|
|
4029
4035
|
optionsRef: u,
|
|
4030
|
-
refreshOptions:
|
|
4036
|
+
refreshOptions: E,
|
|
4031
4037
|
setCurrentActive: I
|
|
4032
4038
|
}), (U, K) => (l(), h("ul", {
|
|
4033
4039
|
ref_key: "optionsRef",
|
|
@@ -4041,7 +4047,7 @@ const No = {
|
|
|
4041
4047
|
id: e.optionsId,
|
|
4042
4048
|
role: "listbox",
|
|
4043
4049
|
tabindex: f(k) ? 0 : void 0,
|
|
4044
|
-
onBlur:
|
|
4050
|
+
onBlur: P,
|
|
4045
4051
|
onFocus: N,
|
|
4046
4052
|
onKeydown: [
|
|
4047
4053
|
K[0] || (K[0] = Ye(Ce((ie) => i("options-list-shift-tab"), ["shift"]), ["tab"])),
|
|
@@ -4124,13 +4130,13 @@ const No = {
|
|
|
4124
4130
|
o.value && (o.value.refreshOptions(), o.value.setCurrentActive());
|
|
4125
4131
|
}
|
|
4126
4132
|
function v(k = []) {
|
|
4127
|
-
var
|
|
4128
|
-
const y = ((
|
|
4133
|
+
var E;
|
|
4134
|
+
const y = ((E = k[0]) == null ? void 0 : E[t.valueIdKey]) !== void 0;
|
|
4129
4135
|
y && (k = k.map((B) => B[t.valueIdKey]));
|
|
4130
4136
|
const S = new Set(k), b = [], M = [];
|
|
4131
4137
|
t.options.forEach((B) => {
|
|
4132
|
-
const g = { ...B }, I = y ? B.value[t.valueIdKey] : B.value,
|
|
4133
|
-
S.has(y ? B.value[t.valueIdKey] : B.value) ? (g.checkbox = { inputId:
|
|
4138
|
+
const g = { ...B }, I = y ? B.value[t.valueIdKey] : B.value, P = `${t.optionsId}-${I}-cb`;
|
|
4139
|
+
S.has(y ? B.value[t.valueIdKey] : B.value) ? (g.checkbox = { inputId: P, checked: !0 }, b.push(g)) : (g.checkbox = { inputId: P, checked: !1 }, M.push(g));
|
|
4134
4140
|
}), i.value = b, Re(() => {
|
|
4135
4141
|
u.value = M, Re(() => {
|
|
4136
4142
|
d && p(), d = !1;
|
|
@@ -4331,7 +4337,7 @@ const No = {
|
|
|
4331
4337
|
function M() {
|
|
4332
4338
|
s.value = !0;
|
|
4333
4339
|
}
|
|
4334
|
-
function
|
|
4340
|
+
function E(N) {
|
|
4335
4341
|
const G = t.selectedOptions.filter((te) => te !== N);
|
|
4336
4342
|
a("update:selectedOptions", G), a("uncheck-option", N);
|
|
4337
4343
|
}
|
|
@@ -4345,7 +4351,7 @@ const No = {
|
|
|
4345
4351
|
function I() {
|
|
4346
4352
|
r.value = "";
|
|
4347
4353
|
}
|
|
4348
|
-
function
|
|
4354
|
+
function P(N) {
|
|
4349
4355
|
r.value = N;
|
|
4350
4356
|
}
|
|
4351
4357
|
return (N, G) => (l(), h("div", {
|
|
@@ -4397,7 +4403,7 @@ const No = {
|
|
|
4397
4403
|
"aria-label": e.filterLabel,
|
|
4398
4404
|
"model-value": r.value,
|
|
4399
4405
|
placeholder: e.filterPlaceholder,
|
|
4400
|
-
"onUpdate:modelValue":
|
|
4406
|
+
"onUpdate:modelValue": P,
|
|
4401
4407
|
onClear: I
|
|
4402
4408
|
}, null, 8, ["aria-label", "model-value", "placeholder"])
|
|
4403
4409
|
])) : x("", !0),
|
|
@@ -4414,7 +4420,7 @@ const No = {
|
|
|
4414
4420
|
onClose: G[1] || (G[1] = (te) => e.multiselect ? void 0 : b()),
|
|
4415
4421
|
onOptionsListShiftTab: G[2] || (G[2] = (te) => N.$emit("options-list-shift-tab")),
|
|
4416
4422
|
onOptionsListTab: G[3] || (G[3] = (te) => N.$emit("options-list-tab")),
|
|
4417
|
-
onUncheckOption:
|
|
4423
|
+
onUncheckOption: E,
|
|
4418
4424
|
"onUpdate:modelValue": g
|
|
4419
4425
|
}, {
|
|
4420
4426
|
default: q(() => [
|
|
@@ -4515,14 +4521,14 @@ const No = {
|
|
|
4515
4521
|
function v() {
|
|
4516
4522
|
return p || (p = d.value.$el.querySelector("input")), p;
|
|
4517
4523
|
}
|
|
4518
|
-
function $(
|
|
4519
|
-
a("combobox:change",
|
|
4524
|
+
function $(E) {
|
|
4525
|
+
a("combobox:change", E.target.value), a("update:modelValue", E.target.value);
|
|
4520
4526
|
}
|
|
4521
4527
|
function O() {
|
|
4522
4528
|
v().focus(), a("combobox:change", ""), a("update:modelValue", "");
|
|
4523
4529
|
}
|
|
4524
|
-
function k(
|
|
4525
|
-
a("combobox:input",
|
|
4530
|
+
function k(E) {
|
|
4531
|
+
a("combobox:input", E.target.value), t.updateOnInput && a("update:modelValue", E.target.value);
|
|
4526
4532
|
}
|
|
4527
4533
|
function y() {
|
|
4528
4534
|
s.value = !1, document.activeElement !== v() && (r.value = !0);
|
|
@@ -4536,7 +4542,7 @@ const No = {
|
|
|
4536
4542
|
function M() {
|
|
4537
4543
|
r.value ? r.value = !1 : s.value = !0;
|
|
4538
4544
|
}
|
|
4539
|
-
return (
|
|
4545
|
+
return (E, B) => (l(), D(An, {
|
|
4540
4546
|
"anchor-id": f(i),
|
|
4541
4547
|
disabled: e.disabled,
|
|
4542
4548
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -4548,18 +4554,18 @@ const No = {
|
|
|
4548
4554
|
options: e.options,
|
|
4549
4555
|
"options-id": f(u),
|
|
4550
4556
|
"selected-option": e.modelValue,
|
|
4551
|
-
"toggle-id":
|
|
4557
|
+
"toggle-id": E.$attrs.id || c.value,
|
|
4552
4558
|
"use-mobile-style": e.useMobileStyle,
|
|
4553
4559
|
"value-id-key": e.valueIdKey,
|
|
4554
4560
|
onClose: y,
|
|
4555
4561
|
onOptionsListTab: B[2] || (B[2] = (g) => s.value = !1),
|
|
4556
|
-
"onUpdate:selectedOption": B[3] || (B[3] = (g) =>
|
|
4562
|
+
"onUpdate:selectedOption": B[3] || (B[3] = (g) => E.$emit("update:modelValue", g))
|
|
4557
4563
|
}, {
|
|
4558
4564
|
toggle: q(() => [
|
|
4559
4565
|
R(Jo, H({
|
|
4560
4566
|
ref_key: "inputComboboxRef",
|
|
4561
4567
|
ref: d,
|
|
4562
|
-
id:
|
|
4568
|
+
id: E.$attrs.id || c.value,
|
|
4563
4569
|
"container-id": f(i),
|
|
4564
4570
|
disabled: e.disabled,
|
|
4565
4571
|
error: e.error,
|
|
@@ -4577,7 +4583,7 @@ const No = {
|
|
|
4577
4583
|
onInputMouseup: b,
|
|
4578
4584
|
onInputShiftTab: B[0] || (B[0] = (g) => s.value = !1),
|
|
4579
4585
|
onToggled: B[1] || (B[1] = (g) => s.value = !s.value)
|
|
4580
|
-
},
|
|
4586
|
+
}, E.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
|
|
4581
4587
|
]),
|
|
4582
4588
|
_: 1
|
|
4583
4589
|
}, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id", "use-mobile-style", "value-id-key"]));
|
|
@@ -4823,7 +4829,7 @@ const No = {
|
|
|
4823
4829
|
_: 3
|
|
4824
4830
|
}, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
|
|
4825
4831
|
}
|
|
4826
|
-
},
|
|
4832
|
+
}, Pn = {
|
|
4827
4833
|
__name: "BsDropdownWithOptions",
|
|
4828
4834
|
props: {
|
|
4829
4835
|
anchorId: {
|
|
@@ -5027,7 +5033,7 @@ const No = {
|
|
|
5027
5033
|
emits: ["close"],
|
|
5028
5034
|
setup(e, { emit: n }) {
|
|
5029
5035
|
const t = e, a = n, o = C(null), i = m(() => document.getElementById(t.toggleId));
|
|
5030
|
-
|
|
5036
|
+
Pt([o, i], u), Ae(["Escape"], u);
|
|
5031
5037
|
function u() {
|
|
5032
5038
|
var r;
|
|
5033
5039
|
const s = ((r = o.value) == null ? void 0 : r.querySelector('[data-shown="true"]')) !== null;
|
|
@@ -5136,7 +5142,7 @@ const No = {
|
|
|
5136
5142
|
}, Bi = ["data-inactive"], Ti = { class: "bs-form-container-header-wrapper" }, Ci = { class: "bs-form-container-header" }, Di = { class: "bs-form-container-title-wrapper" }, Oi = {
|
|
5137
5143
|
key: 0,
|
|
5138
5144
|
class: "bs-form-container-header-icon"
|
|
5139
|
-
}, xi = ["data-inactive"], Ai = { class: "bs-form-container-title-addon" }, zi = ["data-inactive"],
|
|
5145
|
+
}, xi = ["data-inactive"], Ai = { class: "bs-form-container-title-addon" }, zi = ["data-inactive"], Pi = ["data-open"], Ei = ["data-open"], Pr = {
|
|
5140
5146
|
__name: "BsFormContainer",
|
|
5141
5147
|
props: bn,
|
|
5142
5148
|
setup(e) {
|
|
@@ -5189,14 +5195,14 @@ const No = {
|
|
|
5189
5195
|
class: "bs-form-container-header-actions"
|
|
5190
5196
|
}, [
|
|
5191
5197
|
z(n.$slots, "header-actions")
|
|
5192
|
-
], 8,
|
|
5198
|
+
], 8, Pi)
|
|
5193
5199
|
]),
|
|
5194
5200
|
w("main", {
|
|
5195
5201
|
"data-open": n.expanded,
|
|
5196
5202
|
class: "bs-form-container-content"
|
|
5197
5203
|
}, [
|
|
5198
5204
|
z(n.$slots, "default")
|
|
5199
|
-
], 8,
|
|
5205
|
+
], 8, Ei)
|
|
5200
5206
|
], 8, Bi));
|
|
5201
5207
|
}
|
|
5202
5208
|
};
|
|
@@ -5294,7 +5300,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5294
5300
|
}, Gi = { key: 1 }, Yi = { key: 0 }, Xi = ["id", "aria-expanded", "aria-controls", "data-active", "data-expanded", "title", "onClick"], Zi = { key: 1 }, Qi = {
|
|
5295
5301
|
key: 1,
|
|
5296
5302
|
class: "bs-horizontal-nav-end-items"
|
|
5297
|
-
},
|
|
5303
|
+
}, Er = {
|
|
5298
5304
|
__name: "BsHorizontalNavigation",
|
|
5299
5305
|
props: hn,
|
|
5300
5306
|
emits: Object.keys(vn),
|
|
@@ -5344,7 +5350,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5344
5350
|
b.ctrlKey || b.metaKey || $(M.id), a("nav-link-clicked", { ev: b, payload: M });
|
|
5345
5351
|
}
|
|
5346
5352
|
return (b, M) => {
|
|
5347
|
-
const
|
|
5353
|
+
const E = en("router-link");
|
|
5348
5354
|
return p.value ? (l(), h("nav", {
|
|
5349
5355
|
key: 0,
|
|
5350
5356
|
class: "bs-horizontal-nav-mobile",
|
|
@@ -5406,7 +5412,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5406
5412
|
R(Me, {
|
|
5407
5413
|
item: I,
|
|
5408
5414
|
router: b.router,
|
|
5409
|
-
onNavLinkClicked: (
|
|
5415
|
+
onNavLinkClicked: (P) => a("nav-link-clicked", { ev: P, payload: I })
|
|
5410
5416
|
}, {
|
|
5411
5417
|
default: q(() => [
|
|
5412
5418
|
_(L(I.text), 1)
|
|
@@ -5453,7 +5459,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5453
5459
|
], 64)) : x("", !0),
|
|
5454
5460
|
w("ul", null, [
|
|
5455
5461
|
b.title ? (l(), h("li", Hi, [
|
|
5456
|
-
b.titleUrl ? (l(), D(
|
|
5462
|
+
b.titleUrl ? (l(), D(E, {
|
|
5457
5463
|
key: 0,
|
|
5458
5464
|
"aria-current": f(s)({ to: b.titleUrl }) || void 0,
|
|
5459
5465
|
to: b.titleUrl,
|
|
@@ -5481,7 +5487,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5481
5487
|
"data-active": k(B),
|
|
5482
5488
|
"data-expanded": f(r)(B),
|
|
5483
5489
|
title: f(i)(B),
|
|
5484
|
-
onClick: (
|
|
5490
|
+
onClick: (P) => $(B.id)
|
|
5485
5491
|
}, [
|
|
5486
5492
|
w("span", null, L(B.text), 1),
|
|
5487
5493
|
R(f(Le), { class: "bs-horizontal-nav-nested-toggle-caret" })
|
|
@@ -5494,20 +5500,20 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5494
5500
|
shown: f(r)(B),
|
|
5495
5501
|
"use-mobile-style": !1,
|
|
5496
5502
|
width: "content",
|
|
5497
|
-
onClose: (
|
|
5503
|
+
onClose: (P) => f(o)[B.id] = !0
|
|
5498
5504
|
}, {
|
|
5499
5505
|
default: q(() => [
|
|
5500
5506
|
w("ul", null, [
|
|
5501
|
-
(l(!0), h(J, null, de(B.navItems, (
|
|
5502
|
-
key:
|
|
5507
|
+
(l(!0), h(J, null, de(B.navItems, (P) => (l(), h("li", {
|
|
5508
|
+
key: P.id
|
|
5503
5509
|
}, [
|
|
5504
5510
|
R(Me, {
|
|
5505
|
-
item:
|
|
5511
|
+
item: P,
|
|
5506
5512
|
router: b.router,
|
|
5507
|
-
onNavLinkClicked: (N) => S(N,
|
|
5513
|
+
onNavLinkClicked: (N) => S(N, P)
|
|
5508
5514
|
}, {
|
|
5509
5515
|
default: q(() => [
|
|
5510
|
-
_(L(
|
|
5516
|
+
_(L(P.text), 1)
|
|
5511
5517
|
]),
|
|
5512
5518
|
_: 2
|
|
5513
5519
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -5520,7 +5526,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5520
5526
|
R(Me, {
|
|
5521
5527
|
item: B,
|
|
5522
5528
|
router: b.router,
|
|
5523
|
-
onNavLinkClicked: (
|
|
5529
|
+
onNavLinkClicked: (P) => a("nav-link-clicked", { ev: P, payload: B })
|
|
5524
5530
|
}, {
|
|
5525
5531
|
default: q(() => [
|
|
5526
5532
|
w("span", null, L(B.text), 1)
|
|
@@ -5580,11 +5586,11 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5580
5586
|
], 8, Ji))
|
|
5581
5587
|
], 64));
|
|
5582
5588
|
}
|
|
5583
|
-
}),
|
|
5589
|
+
}), En = Symbol("InlineTabs"), Lr = {
|
|
5584
5590
|
__name: "BsInlineTab",
|
|
5585
5591
|
props: Ze,
|
|
5586
5592
|
setup(e) {
|
|
5587
|
-
const n = e, t = ue(
|
|
5593
|
+
const n = e, t = ue(En, null), a = m(() => (t == null ? void 0 : t.isSelected(n.value)) || n.selected), o = m(() => (t == null ? void 0 : t.props.disabled) || n.disabled), i = m(() => (t == null ? void 0 : t.props.variant) || n.variant), u = m(() => ({
|
|
5588
5594
|
...n,
|
|
5589
5595
|
disabled: o.value
|
|
5590
5596
|
})), { rootTag: s, attrsToBind: r, btnRef: d } = Ke(u, Se(), "button");
|
|
@@ -5621,7 +5627,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5621
5627
|
emits: /* @__PURE__ */ qt(Object.keys(mn), ["update:modelValue"]),
|
|
5622
5628
|
setup(e) {
|
|
5623
5629
|
const n = e, t = Kn(e, "modelValue");
|
|
5624
|
-
me(
|
|
5630
|
+
me(En, {
|
|
5625
5631
|
props: n,
|
|
5626
5632
|
model: t,
|
|
5627
5633
|
setModel: u,
|
|
@@ -5876,12 +5882,12 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5876
5882
|
$,
|
|
5877
5883
|
O,
|
|
5878
5884
|
k
|
|
5879
|
-
] = re(4), y = C(!1), S = C(""), b = C(""), M = C(!1),
|
|
5885
|
+
] = re(4), y = C(!1), S = C(""), b = C(""), M = C(!1), E = C(!1), B = C(!0);
|
|
5880
5886
|
n({
|
|
5881
5887
|
validationErr: M,
|
|
5882
5888
|
validationErrMsg: b
|
|
5883
5889
|
});
|
|
5884
|
-
const g = m(() => S.value ? `+${d.value}${S.value}` : ""), I = m(() => `Country code: ${d.value}. Click to change.`),
|
|
5890
|
+
const g = m(() => S.value ? `+${d.value}${S.value}` : ""), I = m(() => `Country code: ${d.value}. Click to change.`), P = m(() => B.value ? a.errorMsg || b.value : ""), N = m(() => a.error || M.value), G = m(() => a.hint || N.value && P.value), te = m(() => B.value && N.value);
|
|
5885
5891
|
Z(g, (Y) => {
|
|
5886
5892
|
o("update:modelValue", Y), ie(Y);
|
|
5887
5893
|
}), Z(() => a.modelValue, he), Oe(), ee(() => y.value = !0);
|
|
@@ -5890,11 +5896,11 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5890
5896
|
}
|
|
5891
5897
|
function $e() {
|
|
5892
5898
|
var Y;
|
|
5893
|
-
|
|
5899
|
+
E.value && (E.value = !1, (Y = r.value) == null || Y.focus());
|
|
5894
5900
|
}
|
|
5895
5901
|
function ge(Y) {
|
|
5896
5902
|
var oe;
|
|
5897
|
-
d.value = Y,
|
|
5903
|
+
d.value = Y, E.value = !1, (oe = r.value) == null || oe.focus(), K(Y);
|
|
5898
5904
|
}
|
|
5899
5905
|
function Ie() {
|
|
5900
5906
|
a.deferValidation && (B.value = !0), o("input-blur");
|
|
@@ -5902,7 +5908,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5902
5908
|
function we(Y) {
|
|
5903
5909
|
S.value = Y.target.value, a.deferValidation && (B.value = !1);
|
|
5904
5910
|
}
|
|
5905
|
-
function
|
|
5911
|
+
function Pe(Y) {
|
|
5906
5912
|
var oe, le;
|
|
5907
5913
|
!((le = (oe = Y.key) == null ? void 0 : oe.match) != null && le.call(oe, /[0-9]/)) && !i.includes(Y.key) && !Y.ctrlKey && !Y.metaKey && Y.preventDefault();
|
|
5908
5914
|
}
|
|
@@ -5912,9 +5918,9 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5912
5918
|
function U() {
|
|
5913
5919
|
var oe, le;
|
|
5914
5920
|
let Y = Ft(a.modelValue);
|
|
5915
|
-
Y.valid || Y.countryCode && ((le = (oe = a.modelValue) == null ? void 0 : oe.startsWith) != null && le.call(oe, "+")) ? (d.value = Y.countryCode, S.value = Y.number.significant) : S.value = a.modelValue, c.value = dt.data.allCountries.map((
|
|
5916
|
-
...
|
|
5917
|
-
isSelected: d.value ===
|
|
5921
|
+
Y.valid || Y.countryCode && ((le = (oe = a.modelValue) == null ? void 0 : oe.startsWith) != null && le.call(oe, "+")) ? (d.value = Y.countryCode, S.value = Y.number.significant) : S.value = a.modelValue, c.value = dt.data.allCountries.map((Ee) => ({
|
|
5922
|
+
...Ee,
|
|
5923
|
+
isSelected: d.value === Ee
|
|
5918
5924
|
}));
|
|
5919
5925
|
}
|
|
5920
5926
|
function K(Y) {
|
|
@@ -5952,12 +5958,12 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5952
5958
|
ref_key: "countryCodesToggle",
|
|
5953
5959
|
ref: r,
|
|
5954
5960
|
"aria-controls": f($),
|
|
5955
|
-
"aria-expanded":
|
|
5961
|
+
"aria-expanded": E.value,
|
|
5956
5962
|
"aria-haspopup": "listbox",
|
|
5957
5963
|
"aria-label": I.value,
|
|
5958
5964
|
disabled: e.disabled,
|
|
5959
5965
|
type: "button",
|
|
5960
|
-
onClick: oe[0] || (oe[0] = (
|
|
5966
|
+
onClick: oe[0] || (oe[0] = (Ee) => E.value = !E.value)
|
|
5961
5967
|
}, [
|
|
5962
5968
|
w("span", null, L((le = p.value) == null ? void 0 : le.flag), 1),
|
|
5963
5969
|
w("span", null, "+" + L(d.value), 1),
|
|
@@ -5977,7 +5983,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5977
5983
|
}, f(s), {
|
|
5978
5984
|
onInput: we,
|
|
5979
5985
|
onFocusout: Ie,
|
|
5980
|
-
onKeydown:
|
|
5986
|
+
onKeydown: Pe
|
|
5981
5987
|
}), null, 16, ["id", "disabled", "hint-id", "placeholder", "value"])
|
|
5982
5988
|
];
|
|
5983
5989
|
}),
|
|
@@ -5985,27 +5991,27 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5985
5991
|
}, 8, ["disabled", "error"]),
|
|
5986
5992
|
fe(R(ze, {
|
|
5987
5993
|
error: N.value,
|
|
5988
|
-
"error-msg":
|
|
5994
|
+
"error-msg": P.value,
|
|
5989
5995
|
hint: e.hint,
|
|
5990
5996
|
"hint-id": f(O)
|
|
5991
5997
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
5992
5998
|
[be, G.value]
|
|
5993
5999
|
]),
|
|
5994
6000
|
y.value ? (l(), h("div", nl, [
|
|
5995
|
-
R(
|
|
6001
|
+
R(Pn, {
|
|
5996
6002
|
"anchor-id": f(v),
|
|
5997
6003
|
"helper-text": "Country Code",
|
|
5998
6004
|
label: "Country Code",
|
|
5999
6005
|
"model-value": d.value,
|
|
6000
6006
|
"options-id": f($),
|
|
6001
6007
|
preloaded: "",
|
|
6002
|
-
shown:
|
|
6008
|
+
shown: E.value,
|
|
6003
6009
|
width: "content",
|
|
6004
6010
|
onClose: $e,
|
|
6005
6011
|
"onUpdate:modelValue": ge
|
|
6006
6012
|
}, {
|
|
6007
6013
|
default: q(() => [
|
|
6008
|
-
y.value ? (l(!0), h(J, { key: 0 }, de(c.value, (le) => (l(), D(
|
|
6014
|
+
y.value ? (l(!0), h(J, { key: 0 }, de(c.value, (le) => (l(), D(Et, {
|
|
6009
6015
|
"aria-label": le.value,
|
|
6010
6016
|
key: le.value,
|
|
6011
6017
|
value: `${le.value}`,
|
|
@@ -6169,20 +6175,20 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6169
6175
|
const d = m(() => t.typeaheadId || u.value), c = m(() => t.error && t.errorMsg || t.hint || void 0), p = m(() => `${d.value}-input-container`), v = m(() => `${d.value}-input`), $ = m(() => `${d.value}-options`), O = m(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), k = m(() => {
|
|
6170
6176
|
if (o.value) {
|
|
6171
6177
|
let I = t.options;
|
|
6172
|
-
const
|
|
6173
|
-
return t.inputValue.length >= t.characterThreshold && (I = y(I,
|
|
6178
|
+
const P = t.inputValue.toLowerCase(), N = t.filterType === "includes" ? "includes" : "startsWith";
|
|
6179
|
+
return t.inputValue.length >= t.characterThreshold && (I = y(I, P, N), I = I.slice(0, t.maxOptions), I = S(I, P, N), r = I), I;
|
|
6174
6180
|
} else
|
|
6175
6181
|
return r;
|
|
6176
6182
|
});
|
|
6177
|
-
function y(I,
|
|
6178
|
-
return t.internalFiltering ? I.filter((G) => G.label.toLowerCase()[N](
|
|
6183
|
+
function y(I, P, N) {
|
|
6184
|
+
return t.internalFiltering ? I.filter((G) => G.label.toLowerCase()[N](P)) : I;
|
|
6179
6185
|
}
|
|
6180
|
-
function S(I,
|
|
6186
|
+
function S(I, P, N) {
|
|
6181
6187
|
return I.map((G) => {
|
|
6182
6188
|
let te = G.label;
|
|
6183
|
-
if (
|
|
6184
|
-
const he = `<span style="color: var(--bs-blue-base)">${
|
|
6185
|
-
N === "includes" ? te = G.label.replaceAll(
|
|
6189
|
+
if (P !== "") {
|
|
6190
|
+
const he = `<span style="color: var(--bs-blue-base)">${P}</span>`;
|
|
6191
|
+
N === "includes" ? te = G.label.replaceAll(P, he) : te = G.label.replace(P, he);
|
|
6186
6192
|
}
|
|
6187
6193
|
return { ...G, labelHtml: te };
|
|
6188
6194
|
});
|
|
@@ -6193,20 +6199,20 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6193
6199
|
function M() {
|
|
6194
6200
|
a("update:inputValue", ""), t.multiselect || a("update:optionsValue", ""), document.getElementById(v.value).focus();
|
|
6195
6201
|
}
|
|
6196
|
-
function
|
|
6202
|
+
function E(I) {
|
|
6197
6203
|
i.value = !0;
|
|
6198
|
-
const
|
|
6199
|
-
a("update:inputValue",
|
|
6204
|
+
const P = k.value.find((N) => N.value === I);
|
|
6205
|
+
a("update:inputValue", P.label), a("update:optionsValue", I);
|
|
6200
6206
|
}
|
|
6201
6207
|
function B(I) {
|
|
6202
|
-
const
|
|
6203
|
-
a("update:optionsValue",
|
|
6208
|
+
const P = [...O.value, I];
|
|
6209
|
+
a("update:optionsValue", P);
|
|
6204
6210
|
}
|
|
6205
6211
|
function g(I) {
|
|
6206
|
-
const
|
|
6207
|
-
a("update:optionsValue",
|
|
6212
|
+
const P = O.value.filter((N) => N !== I);
|
|
6213
|
+
a("update:optionsValue", P);
|
|
6208
6214
|
}
|
|
6209
|
-
return (I,
|
|
6215
|
+
return (I, P) => (l(), h(J, null, [
|
|
6210
6216
|
e.label || I.$slots.label ? (l(), D(pe, {
|
|
6211
6217
|
key: 0,
|
|
6212
6218
|
for: v.value,
|
|
@@ -6241,7 +6247,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6241
6247
|
}, I.$attrs, {
|
|
6242
6248
|
onClear: M,
|
|
6243
6249
|
onFocusin: b,
|
|
6244
|
-
"onUpdate:modelValue":
|
|
6250
|
+
"onUpdate:modelValue": P[0] || (P[0] = (N) => a("update:inputValue", N))
|
|
6245
6251
|
}), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "disabled", "error", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
|
|
6246
6252
|
], 8, rl),
|
|
6247
6253
|
R(lt, {
|
|
@@ -6251,7 +6257,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6251
6257
|
shown: o.value,
|
|
6252
6258
|
"use-mobile-style": !1,
|
|
6253
6259
|
width: "anchor",
|
|
6254
|
-
onClose:
|
|
6260
|
+
onClose: P[2] || (P[2] = (N) => o.value = !1)
|
|
6255
6261
|
}, {
|
|
6256
6262
|
default: q(() => [
|
|
6257
6263
|
e.multiselect ? (l(), D(xn, {
|
|
@@ -6277,7 +6283,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6277
6283
|
} : {
|
|
6278
6284
|
name: "no-options",
|
|
6279
6285
|
fn: q(() => [
|
|
6280
|
-
|
|
6286
|
+
P[3] || (P[3] = _("No results found"))
|
|
6281
6287
|
]),
|
|
6282
6288
|
key: "1"
|
|
6283
6289
|
}
|
|
@@ -6287,8 +6293,8 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6287
6293
|
"model-value": O.value,
|
|
6288
6294
|
"options-id": $.value,
|
|
6289
6295
|
shown: o.value,
|
|
6290
|
-
"onUpdate:modelValue":
|
|
6291
|
-
onClose:
|
|
6296
|
+
"onUpdate:modelValue": E,
|
|
6297
|
+
onClose: P[1] || (P[1] = (N) => o.value = !1)
|
|
6292
6298
|
}, {
|
|
6293
6299
|
default: q(() => [
|
|
6294
6300
|
R(_e, {
|
|
@@ -6306,7 +6312,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6306
6312
|
} : {
|
|
6307
6313
|
name: "no-options",
|
|
6308
6314
|
fn: q(() => [
|
|
6309
|
-
|
|
6315
|
+
P[4] || (P[4] = _("No results found"))
|
|
6310
6316
|
]),
|
|
6311
6317
|
key: "1"
|
|
6312
6318
|
}
|
|
@@ -6430,7 +6436,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6430
6436
|
const a = n, o = C(null);
|
|
6431
6437
|
let i = !1;
|
|
6432
6438
|
const { transition: u } = We(t), [s] = re(), [r] = re(), d = et();
|
|
6433
|
-
|
|
6439
|
+
Pt([o], () => k("backdrop-clicked-close")), Ae(["Escape"], () => k("escape-pressed-close"));
|
|
6434
6440
|
const c = m(() => !!(t.title || d.title)), p = m(() => !!(t.subtitle || d.subtitle)), v = m(() => !!d.progress), $ = m(() => !t.fullHeight && c.value), O = m(() => !t.fullHeight && !!d.footer);
|
|
6435
6441
|
function k(y, S = !0) {
|
|
6436
6442
|
var M;
|
|
@@ -6533,7 +6539,7 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6533
6539
|
}, Tl = ["aria-label", "title", "disabled"], Cl = { key: 0 }, Dl = ["aria-label", "title", "disabled"], Ol = { key: 0 }, xl = {
|
|
6534
6540
|
key: 1,
|
|
6535
6541
|
class: "bs-pagination-page-numbers"
|
|
6536
|
-
}, Al = ["title", "disabled", "data-selected", "onClick"], zl = { key: 2 },
|
|
6542
|
+
}, Al = ["title", "disabled", "data-selected", "onClick"], zl = { key: 2 }, Pl = { key: 3 }, El = { class: "bs-pagination-results-numbers" }, Vl = ["data-selected", "disabled", "onClick"], Ll = {
|
|
6537
6543
|
key: 5,
|
|
6538
6544
|
class: "bs-pagination-carets"
|
|
6539
6545
|
}, Ml = ["aria-label", "title", "disabled"], Nl = { key: 0 }, ql = ["aria-label", "title", "disabled"], Rl = { key: 0 }, Ur = {
|
|
@@ -6660,8 +6666,8 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6660
6666
|
const y = [1], S = (t.pageRange - 1) / 2;
|
|
6661
6667
|
let b = i.value - S, M = i.value + S;
|
|
6662
6668
|
b < 1 && (M += 1 - b, b = 1), M > t.pageCount && (b -= M - t.pageCount, M = t.pageCount), b = Math.max(b, 2), M = Math.min(M, t.pageCount - 1), b > 2 && y.push(t.breakText);
|
|
6663
|
-
for (let
|
|
6664
|
-
y.push(
|
|
6669
|
+
for (let E = b; E <= M; E++)
|
|
6670
|
+
y.push(E);
|
|
6665
6671
|
return M < t.pageCount - 1 && y.push(t.breakText), y.push(t.pageCount), y;
|
|
6666
6672
|
}), $ = m(() => `${t.centerLabel ?? "Page"} ${i.value} of ${u.value}`), O = m(() => {
|
|
6667
6673
|
const y = (i.value - 1) * t.itemsPerGroup + 1, S = Math.min(y - 1 + t.itemsPerGroup, t.itemsCount);
|
|
@@ -6709,10 +6715,10 @@ const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6709
6715
|
}, L(b), 9, Al))), 128))
|
|
6710
6716
|
])) : x("", !0),
|
|
6711
6717
|
t.variant === "base" && t.centerDisplay === "text" ? (l(), h("span", zl, L($.value), 1)) : x("", !0),
|
|
6712
|
-
t.variant === "group" ? (l(), h("span",
|
|
6718
|
+
t.variant === "group" ? (l(), h("span", Pl, L(O.value), 1)) : x("", !0),
|
|
6713
6719
|
t.variant === "results" ? (l(), h(J, { key: 4 }, [
|
|
6714
6720
|
S[0] || (S[0] = w("span", null, "Results Per Page:", -1)),
|
|
6715
|
-
w("div",
|
|
6721
|
+
w("div", El, [
|
|
6716
6722
|
(l(!0), h(J, null, de(k.value, (b) => (l(), h("button", {
|
|
6717
6723
|
type: "button",
|
|
6718
6724
|
key: `results-${b}`,
|
|
@@ -7488,8 +7494,8 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7488
7494
|
emits: ["tabChange", "update:modelValue"],
|
|
7489
7495
|
setup(e, { emit: n }) {
|
|
7490
7496
|
const t = e, a = n, o = C(!1), i = C(!1), u = C([]), s = C(!1), r = C(!1), d = C(), c = C(), p = C([]), v = C(!1), $ = C([]), O = C(), k = C([]), y = C(), S = C(), [b, M] = re(2);
|
|
7491
|
-
let
|
|
7492
|
-
const B = m(() => t.activeTabId ? $.value.findIndex((A) => A.id === t.activeTabId) : 0), g = m(() => u.value.some((A) => A.id === t.activeTabId)), I = m(() => `${M.value}-options`),
|
|
7497
|
+
let E;
|
|
7498
|
+
const B = m(() => t.activeTabId ? $.value.findIndex((A) => A.id === t.activeTabId) : 0), g = m(() => u.value.some((A) => A.id === t.activeTabId)), I = m(() => `${M.value}-options`), P = m(() => `${M.value}-toggle`), N = m(() => {
|
|
7493
7499
|
var A;
|
|
7494
7500
|
return g.value ? (A = $.value[B.value]) == null ? void 0 : A.textContent : "More";
|
|
7495
7501
|
}), G = m(() => g.value ? p.value[B.value] - p.value[B.value - 1] + fs + ut : ps + ut);
|
|
@@ -7508,16 +7514,16 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7508
7514
|
}
|
|
7509
7515
|
j.dataset.hidden = "false", j.setAttribute("tabindex", "0");
|
|
7510
7516
|
}
|
|
7511
|
-
r.value = A, u.value = Be, o.value || Re(() => o.value = !0),
|
|
7517
|
+
r.value = A, u.value = Be, o.value || Re(() => o.value = !0), E = setTimeout(() => {
|
|
7512
7518
|
d.value && (Q(), le(), v.value = !0);
|
|
7513
7519
|
}, v.value ? 25 : 1e3);
|
|
7514
7520
|
}
|
|
7515
7521
|
}
|
|
7516
7522
|
function he() {
|
|
7517
|
-
clearTimeout(
|
|
7523
|
+
clearTimeout(E);
|
|
7518
7524
|
}
|
|
7519
7525
|
function $e() {
|
|
7520
|
-
he(),
|
|
7526
|
+
he(), Ee();
|
|
7521
7527
|
}
|
|
7522
7528
|
function ge(A) {
|
|
7523
7529
|
a("tabChange", A), a("update:modelValue", A);
|
|
@@ -7531,7 +7537,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7531
7537
|
var A;
|
|
7532
7538
|
(A = $.value[B.value]) == null || A.setAttribute("aria-selected", "true"), te();
|
|
7533
7539
|
}
|
|
7534
|
-
function
|
|
7540
|
+
function Pe() {
|
|
7535
7541
|
var A;
|
|
7536
7542
|
(A = O.value) == null || A.focus(), s.value = !1;
|
|
7537
7543
|
}
|
|
@@ -7572,7 +7578,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7572
7578
|
let X = 300, ne = ((Te = (xe = k.value) == null ? void 0 : xe[B.value]) == null ? void 0 : Te.offsetLeft) || 0, Be = Ie(B.value);
|
|
7573
7579
|
r.value && g.value && (ne = (Mt = O.value) == null ? void 0 : Mt.offsetLeft, Be = (Nt = O.value) == null ? void 0 : Nt.offsetWidth), X = Math.max(Math.abs((ne - A) / j * 300), 100), d.value.style.setProperty("--active-line-max-width", `${j}px`), d.value.style.setProperty("--active-line-scale", `${Be / j}`), d.value.style.setProperty("--active-line-offset", `${ne}px`), d.value.style.setProperty("--active-line-transition-duration", `${X}ms`);
|
|
7574
7580
|
}
|
|
7575
|
-
function
|
|
7581
|
+
function Ee() {
|
|
7576
7582
|
var A, j;
|
|
7577
7583
|
(j = (A = y.value) == null ? void 0 : A.disconnect) == null || j.call(A), y.value = null;
|
|
7578
7584
|
}
|
|
@@ -7634,7 +7640,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7634
7640
|
class: "bs-tab-list-toggle",
|
|
7635
7641
|
"data-active": g.value || void 0,
|
|
7636
7642
|
"data-hidden": !r.value,
|
|
7637
|
-
id:
|
|
7643
|
+
id: P.value,
|
|
7638
7644
|
ref_key: "dropdownToggle",
|
|
7639
7645
|
ref: O,
|
|
7640
7646
|
onClick: Oe
|
|
@@ -7642,8 +7648,8 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7642
7648
|
R(f(Jn), { size: "sm" }),
|
|
7643
7649
|
_(" " + L(N.value), 1)
|
|
7644
7650
|
], 8, cs),
|
|
7645
|
-
R(
|
|
7646
|
-
"anchor-id":
|
|
7651
|
+
R(Pn, {
|
|
7652
|
+
"anchor-id": P.value,
|
|
7647
7653
|
"container-id": A.$attrs.id || f(b),
|
|
7648
7654
|
"helper-description": e.helperDescription || void 0,
|
|
7649
7655
|
"helper-text": e.helperText,
|
|
@@ -7653,11 +7659,11 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7653
7659
|
preloaded: "",
|
|
7654
7660
|
shown: s.value,
|
|
7655
7661
|
width: "content",
|
|
7656
|
-
onClose:
|
|
7662
|
+
onClose: Pe,
|
|
7657
7663
|
"onUpdate:modelValue": U
|
|
7658
7664
|
}, {
|
|
7659
7665
|
default: q(() => [
|
|
7660
|
-
(l(!0), h(J, null, de(u.value, (X) => (l(), D(
|
|
7666
|
+
(l(!0), h(J, null, de(u.value, (X) => (l(), D(Et, {
|
|
7661
7667
|
key: X.id,
|
|
7662
7668
|
value: X.id,
|
|
7663
7669
|
"options-id": I.value
|
|
@@ -7896,26 +7902,26 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
7896
7902
|
if (r.value)
|
|
7897
7903
|
return I.target === a.value || k();
|
|
7898
7904
|
if (v(I.target.closest("[data-bs-table-col-resize-id]")), !s.value.el) return;
|
|
7899
|
-
const
|
|
7900
|
-
if (!(
|
|
7901
|
-
if (i =
|
|
7905
|
+
const P = I.clientX <= s.value.rect.left + Zt, N = I.clientX >= s.value.rect.right - Zt;
|
|
7906
|
+
if (!(P && I.target.dataset.bsTableColResize === "right") && (P || N)) {
|
|
7907
|
+
if (i = P ? s.value.rect.left : s.value.rect.right, P && v(p()), !s.value.el) return;
|
|
7902
7908
|
O();
|
|
7903
7909
|
}
|
|
7904
7910
|
}
|
|
7905
7911
|
function p() {
|
|
7906
7912
|
const I = s.value.el.previousElementSibling;
|
|
7907
7913
|
if (!I) return;
|
|
7908
|
-
const
|
|
7909
|
-
return
|
|
7914
|
+
const P = I.classList.contains("bs-table-cols-frozen-left") ? s.value.el.previousElementSibling.lastElementChild : s.value.el.previousElementSibling;
|
|
7915
|
+
return P.dataset.bsTableColResizeId ? P : null;
|
|
7910
7916
|
}
|
|
7911
7917
|
function v(I) {
|
|
7912
7918
|
s.value = I ? { el: I, rect: I.getBoundingClientRect(), minWidth: $(I) } : { el: null, rect: null };
|
|
7913
7919
|
}
|
|
7914
7920
|
function $(I) {
|
|
7915
7921
|
var N;
|
|
7916
|
-
const
|
|
7917
|
-
if (
|
|
7918
|
-
return parseInt(
|
|
7922
|
+
const P = (N = I.dataset.bsTableColResizeMin) == null ? void 0 : N.replace("px", "");
|
|
7923
|
+
if (P)
|
|
7924
|
+
return parseInt(P, 10);
|
|
7919
7925
|
}
|
|
7920
7926
|
function O() {
|
|
7921
7927
|
M(), a.value.style.setProperty("--bs-table-col-resizer-y", `${s.value.rect.top}px`), a.value.style.setProperty("--bs-table-col-resizer-handle-height", `${s.value.rect.height}px`), r.value = !0;
|
|
@@ -7925,8 +7931,8 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
7925
7931
|
}
|
|
7926
7932
|
function y(I) {
|
|
7927
7933
|
I.target.setPointerCapture(I.pointerId);
|
|
7928
|
-
const
|
|
7929
|
-
a.value.style.setProperty("--bs-table-col-resizer-tail-height", `${
|
|
7934
|
+
const P = a.value.closest(".bs-table-scroll-wrap");
|
|
7935
|
+
a.value.style.setProperty("--bs-table-col-resizer-tail-height", `${P.offsetHeight}px`), d.value = !0, o = i, a.value.addEventListener("pointermove", S), a.value.addEventListener("pointerup", E, { once: !0 });
|
|
7930
7936
|
}
|
|
7931
7937
|
function S(I) {
|
|
7932
7938
|
i = b(I) ? s.value.rect.left + s.value.minWidth : I.clientX, !u && (u = requestAnimationFrame(() => {
|
|
@@ -7939,7 +7945,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
7939
7945
|
function M() {
|
|
7940
7946
|
a.value.style.setProperty("--bs-table-col-resizer-x", `${i}px`);
|
|
7941
7947
|
}
|
|
7942
|
-
function
|
|
7948
|
+
function E() {
|
|
7943
7949
|
a.value.removeEventListener("pointermove", S), setTimeout(() => d.value = !1);
|
|
7944
7950
|
const I = i - o;
|
|
7945
7951
|
I !== 0 && B(Math.round(s.value.rect.width + I));
|
|
@@ -7954,10 +7960,10 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
7954
7960
|
function g() {
|
|
7955
7961
|
B(), k();
|
|
7956
7962
|
}
|
|
7957
|
-
return (I,
|
|
7963
|
+
return (I, P) => fe((l(), h("div", {
|
|
7958
7964
|
ref: "resizer",
|
|
7959
7965
|
class: ve(["bs-table-col-resizer", d.value && "bs-table-col-resizer-active"]),
|
|
7960
|
-
onDragstart:
|
|
7966
|
+
onDragstart: P[0] || (P[0] = Ce(() => {
|
|
7961
7967
|
}, ["prevent"])),
|
|
7962
7968
|
onPointerdown: Ce(y, ["prevent", "stop"]),
|
|
7963
7969
|
onDblclick: Ce(g, ["prevent", "stop"])
|
|
@@ -8051,9 +8057,9 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8051
8057
|
center: [],
|
|
8052
8058
|
right: []
|
|
8053
8059
|
}), o = C({}), i = m(() => Object.values(a.value).flat().map((T) => {
|
|
8054
|
-
const V =
|
|
8060
|
+
const V = P(T);
|
|
8055
8061
|
return o.value[V] ?? ie(T);
|
|
8056
|
-
}).join(" ")), u = m(() => `--bs-table-cell-padding: ${["xs", "sm", "md", "lg", "xl", "none"].includes(e.cellPadding) ? `var(--bs-table-cell-padding-${e.cellPadding})` : e.cellPadding}`), s = m(() => typeof e.rowHover != "string" || e.rowHover === "true" ? "" : `--bs-table-row-hover: ${e.rowHover}`), r = m(() => Object.values(a.value).flat().some(
|
|
8062
|
+
}).join(" ")), u = m(() => `--bs-table-cell-padding: ${["xs", "sm", "md", "lg", "xl", "none"].includes(e.cellPadding) ? `var(--bs-table-cell-padding-${e.cellPadding})` : e.cellPadding}`), s = m(() => typeof e.rowHover != "string" || e.rowHover === "true" ? "" : `--bs-table-row-hover: ${e.rowHover}`), r = m(() => Object.values(a.value).flat().some(P));
|
|
8057
8063
|
function d(T = []) {
|
|
8058
8064
|
const V = [
|
|
8059
8065
|
"bs-table-wrap",
|
|
@@ -8091,7 +8097,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8091
8097
|
}
|
|
8092
8098
|
function $() {
|
|
8093
8099
|
return v(
|
|
8094
|
-
|
|
8100
|
+
E(
|
|
8095
8101
|
Ie(g)
|
|
8096
8102
|
)
|
|
8097
8103
|
);
|
|
@@ -8106,7 +8112,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8106
8112
|
return se(pt, { kind: "body" }, () => T);
|
|
8107
8113
|
}
|
|
8108
8114
|
function y() {
|
|
8109
|
-
const T = e.rows.map((V, F) =>
|
|
8115
|
+
const T = e.rows.map((V, F) => E(
|
|
8110
8116
|
Ie(he, { row: V, rowIndex: F })
|
|
8111
8117
|
));
|
|
8112
8118
|
return k(T);
|
|
@@ -8130,7 +8136,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8130
8136
|
B(T, g)
|
|
8131
8137
|
);
|
|
8132
8138
|
}
|
|
8133
|
-
function
|
|
8139
|
+
function E(T = []) {
|
|
8134
8140
|
return se(bt, null, () => T);
|
|
8135
8141
|
}
|
|
8136
8142
|
function B(T = [], V, F = {}) {
|
|
@@ -8157,7 +8163,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8157
8163
|
});
|
|
8158
8164
|
}
|
|
8159
8165
|
function I(T) {
|
|
8160
|
-
const V =
|
|
8166
|
+
const V = P(T);
|
|
8161
8167
|
if (!V) return {};
|
|
8162
8168
|
const F = T.props["resize-min"] || T.props.resizeMin, Q = T.props["resize-max"] || T.props.resizeMax;
|
|
8163
8169
|
return {
|
|
@@ -8167,7 +8173,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8167
8173
|
"data-bs-table-col-resize-max": Q === void 0 ? e.resizeColsMax : Q
|
|
8168
8174
|
};
|
|
8169
8175
|
}
|
|
8170
|
-
function
|
|
8176
|
+
function P(T) {
|
|
8171
8177
|
const V = T.props["resize-id"] || T.props.resizeId;
|
|
8172
8178
|
if (V) return V;
|
|
8173
8179
|
const F = T.props["resize-key"] || T.props.resizeKey;
|
|
@@ -8222,11 +8228,11 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8222
8228
|
];
|
|
8223
8229
|
}
|
|
8224
8230
|
function we() {
|
|
8225
|
-
return se(Is, { onResize:
|
|
8231
|
+
return se(Is, { onResize: Pe });
|
|
8226
8232
|
}
|
|
8227
|
-
function
|
|
8233
|
+
function Pe({ el: T, id: V, width: F }) {
|
|
8228
8234
|
const Q = Object.values(a.value).flat().reduce((j, X) => {
|
|
8229
|
-
const ne =
|
|
8235
|
+
const ne = P(X) || X.props.id;
|
|
8230
8236
|
return ne === V || o.value[ne] || ie(X).endsWith("px") || j.push({ id: ne, width: null }), j;
|
|
8231
8237
|
}, []);
|
|
8232
8238
|
if (Q.length) {
|
|
@@ -8277,7 +8283,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8277
8283
|
return F.center.push(V(Q)), F;
|
|
8278
8284
|
}, { left: [], center: [], right: [] });
|
|
8279
8285
|
}
|
|
8280
|
-
function
|
|
8286
|
+
function Ee(T) {
|
|
8281
8287
|
return T.reduce((V, F) => {
|
|
8282
8288
|
if (F.type === gs)
|
|
8283
8289
|
return V.header = F, V;
|
|
@@ -8290,7 +8296,7 @@ const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
|
8290
8296
|
}, { columns: [], header: null, footer: null, other: [] });
|
|
8291
8297
|
}
|
|
8292
8298
|
return () => {
|
|
8293
|
-
const { columns: T, header: V, footer: F, other: Q } =
|
|
8299
|
+
const { columns: T, header: V, footer: F, other: Q } = Ee(n.default());
|
|
8294
8300
|
return a.value = le(T), d([
|
|
8295
8301
|
V,
|
|
8296
8302
|
p([
|
|
@@ -8533,8 +8539,8 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8533
8539
|
const S = [];
|
|
8534
8540
|
let b = !1;
|
|
8535
8541
|
for (let M = 0; M < 24 && !b; M++)
|
|
8536
|
-
for (let
|
|
8537
|
-
const B = v(M,
|
|
8542
|
+
for (let E = 0; E < 60; E += a.step) {
|
|
8543
|
+
const B = v(M, E), g = p(B);
|
|
8538
8544
|
if (g !== Qt) {
|
|
8539
8545
|
if (g === Jt) {
|
|
8540
8546
|
b = !0;
|
|
@@ -8749,7 +8755,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8749
8755
|
])
|
|
8750
8756
|
], 16));
|
|
8751
8757
|
}
|
|
8752
|
-
}), As = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], zs = ["data-status"],
|
|
8758
|
+
}), As = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], zs = ["data-status"], Ps = { class: "visually-hidden" }, ad = {
|
|
8753
8759
|
__name: "BsTimeline",
|
|
8754
8760
|
props: {
|
|
8755
8761
|
/** @type {Status} */
|
|
@@ -8810,12 +8816,12 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8810
8816
|
})),
|
|
8811
8817
|
w("p", null, [
|
|
8812
8818
|
_(L(d.label || d) + " ", 1),
|
|
8813
|
-
w("span",
|
|
8819
|
+
w("span", Ps, " : " + L(f(i)(d.status, c) || "not started"), 1)
|
|
8814
8820
|
])
|
|
8815
8821
|
], 8, zs))), 128))
|
|
8816
8822
|
], 8, As));
|
|
8817
8823
|
}
|
|
8818
|
-
},
|
|
8824
|
+
}, Es = ["data-variant", "data-shown", "data-stacked"], od = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
8819
8825
|
__name: "BsToast",
|
|
8820
8826
|
props: {
|
|
8821
8827
|
shown: {
|
|
@@ -8887,7 +8893,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8887
8893
|
role: "alert"
|
|
8888
8894
|
}, d.$attrs), [
|
|
8889
8895
|
z(d.$slots, "default")
|
|
8890
|
-
], 16,
|
|
8896
|
+
], 16, Es)
|
|
8891
8897
|
]),
|
|
8892
8898
|
_: 3
|
|
8893
8899
|
}, 8, ["shown", "preloaded"]));
|
|
@@ -9026,7 +9032,7 @@ const ld = /* @__PURE__ */ Lt(Ls, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9026
9032
|
], 10, Fs)
|
|
9027
9033
|
], 40, js));
|
|
9028
9034
|
}
|
|
9029
|
-
}, Us = ["data-bg-variant"], Ws = ["aria-expanded", "title", "data-collapsed", "data-narrow"], Ks = ["data-narrow", "data-collapsed", "data-collapsible"], Hs = {
|
|
9035
|
+
}, Us = ["data-bg-variant"], Ws = ["aria-expanded", "title", "data-collapsed", "data-narrow"], Ks = ["data-narrow", "data-collapsed", "data-collapsible", "data-sticky"], Hs = {
|
|
9030
9036
|
key: 0,
|
|
9031
9037
|
class: "bs-vertical-nav-top-content"
|
|
9032
9038
|
}, Gs = ["data-collapsed", "data-divider-only", "data-app-links"], Ys = ["aria-expanded", "aria-controls", "title", "onClick"], Xs = { key: 0 }, Zs = ["id"], Qs = { key: 1 }, Js = {
|
|
@@ -9058,17 +9064,17 @@ const ld = /* @__PURE__ */ Lt(Ls, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9058
9064
|
v.value = b;
|
|
9059
9065
|
}), Z(
|
|
9060
9066
|
[() => v.value, $, () => t.width, O, p],
|
|
9061
|
-
([b, M,
|
|
9067
|
+
([b, M, E, B, g]) => {
|
|
9062
9068
|
let I = "0px";
|
|
9063
|
-
B && !g && b ? I = "4rem" :
|
|
9069
|
+
B && !g && b ? I = "4rem" : E ? I = E : M ? I = "4.5rem" : I = "9.875rem", document.body.style.setProperty("--bs-page-nav-width", I);
|
|
9064
9070
|
},
|
|
9065
9071
|
{ immediate: !0 }
|
|
9066
9072
|
), Z(() => t.width, (b) => {
|
|
9067
9073
|
b ? (d.value.style.setProperty("--bs-vertical-nav-width", b), c.value && c.value.style.setProperty("--bs-vertical-nav-width", b)) : (d.value.style.removeProperty("--bs-vertical-nav-width"), c.value && c.value.style.removeProperty("--bs-vertical-nav-width"));
|
|
9068
9074
|
}), Z(() => t.mobileOpen, (b) => {
|
|
9069
|
-
b ? (document.body.style.overflow = "hidden", d.value.style.setProperty("visibility", "visible"), setTimeout(() => {
|
|
9075
|
+
b ? (document.body.style.overflow = "hidden", d.value.style.setProperty("visibility", "visible"), d.value.style.setProperty("pointer-events", "auto"), setTimeout(() => {
|
|
9070
9076
|
d.value.style.setProperty("opacity", "1");
|
|
9071
|
-
}, 0)) : (document.body.style.overflow = "", d.value.style.removeProperty("opacity"), setTimeout(() => {
|
|
9077
|
+
}, 0)) : (document.body.style.overflow = "", d.value.style.removeProperty("opacity"), d.value.style.setProperty("pointer-events", "none"), setTimeout(() => {
|
|
9072
9078
|
d.value.style.removeProperty("visibility");
|
|
9073
9079
|
}, 200));
|
|
9074
9080
|
});
|
|
@@ -9109,40 +9115,41 @@ const ld = /* @__PURE__ */ Lt(Ls, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9109
9115
|
"data-narrow": $.value,
|
|
9110
9116
|
"data-collapsed": k.value,
|
|
9111
9117
|
"data-collapsible": O.value,
|
|
9118
|
+
"data-sticky": t.sticky || void 0,
|
|
9112
9119
|
style: tn(t.width && !k.value ? { width: t.width } : void 0)
|
|
9113
9120
|
}, [
|
|
9114
9121
|
w("ul", null, [
|
|
9115
9122
|
b.$slots["top-content"] ? (l(), h("li", Hs, [
|
|
9116
9123
|
z(b.$slots, "top-content")
|
|
9117
9124
|
])) : x("", !0),
|
|
9118
|
-
(l(!0), h(J, null, de(f(r), (
|
|
9125
|
+
(l(!0), h(J, null, de(f(r), (E) => {
|
|
9119
9126
|
var B;
|
|
9120
9127
|
return l(), h(J, {
|
|
9121
|
-
key:
|
|
9128
|
+
key: E.id
|
|
9122
9129
|
}, [
|
|
9123
|
-
((B =
|
|
9130
|
+
((B = E.navItems) == null ? void 0 : B.length) > 0 ? (l(), h("li", {
|
|
9124
9131
|
key: 0,
|
|
9125
9132
|
class: "bs-vertical-nav-section",
|
|
9126
|
-
"data-collapsed": !
|
|
9127
|
-
"data-divider-only":
|
|
9128
|
-
"data-app-links":
|
|
9133
|
+
"data-collapsed": !E.dividerOnly && !f(s)(E),
|
|
9134
|
+
"data-divider-only": E.dividerOnly,
|
|
9135
|
+
"data-app-links": E.appLinks
|
|
9129
9136
|
}, [
|
|
9130
|
-
!
|
|
9137
|
+
!E.dividerOnly && !$.value && !k.value ? (l(), h("button", {
|
|
9131
9138
|
key: 0,
|
|
9132
9139
|
class: "bs-vertical-nav-section-toggle",
|
|
9133
|
-
"aria-expanded": f(s)(
|
|
9134
|
-
"aria-controls": `${
|
|
9135
|
-
title: f(i)(
|
|
9140
|
+
"aria-expanded": f(s)(E),
|
|
9141
|
+
"aria-controls": `${E.id}-nested-section`,
|
|
9142
|
+
title: f(i)(E),
|
|
9136
9143
|
type: "button",
|
|
9137
|
-
onClick: (g) => y(
|
|
9144
|
+
onClick: (g) => y(E.id)
|
|
9138
9145
|
}, [
|
|
9139
|
-
k.value ? x("", !0) : (l(), h("span", Xs, L(
|
|
9146
|
+
k.value ? x("", !0) : (l(), h("span", Xs, L(E.text), 1)),
|
|
9140
9147
|
R(f(ra), { class: "bs-vertical-nav-section-toggle-caret" })
|
|
9141
9148
|
], 8, Ys)) : x("", !0),
|
|
9142
9149
|
fe(w("ul", {
|
|
9143
|
-
id: `${
|
|
9150
|
+
id: `${E.id}-nested-section`
|
|
9144
9151
|
}, [
|
|
9145
|
-
(l(!0), h(J, null, de(
|
|
9152
|
+
(l(!0), h(J, null, de(E.navItems, (g) => (l(), h("li", {
|
|
9146
9153
|
key: g.id
|
|
9147
9154
|
}, [
|
|
9148
9155
|
R(Me, {
|
|
@@ -9166,25 +9173,25 @@ const ld = /* @__PURE__ */ Lt(Ls, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9166
9173
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
9167
9174
|
]))), 128))
|
|
9168
9175
|
], 8, Zs), [
|
|
9169
|
-
[be,
|
|
9176
|
+
[be, E.dividerOnly || f(s)(E) || k.value]
|
|
9170
9177
|
])
|
|
9171
9178
|
], 8, Gs)) : (l(), h("li", Qs, [
|
|
9172
9179
|
R(Me, {
|
|
9173
|
-
item:
|
|
9180
|
+
item: E,
|
|
9174
9181
|
router: b.router,
|
|
9175
|
-
onNavLinkClicked: (g) => a("nav-link-clicked", { ev: g, payload:
|
|
9176
|
-
"aria-label":
|
|
9182
|
+
onNavLinkClicked: (g) => a("nav-link-clicked", { ev: g, payload: E }),
|
|
9183
|
+
"aria-label": E.text
|
|
9177
9184
|
}, {
|
|
9178
9185
|
default: q(() => [
|
|
9179
|
-
typeof
|
|
9186
|
+
typeof E.icon == "string" ? (l(), D(f(ce), {
|
|
9180
9187
|
key: 0,
|
|
9181
9188
|
class: "bs-vertical-nav-link-icon",
|
|
9182
|
-
name:
|
|
9183
|
-
}, null, 8, ["name"])) : (l(), D(ae(
|
|
9189
|
+
name: E.icon
|
|
9190
|
+
}, null, 8, ["name"])) : (l(), D(ae(E.icon), {
|
|
9184
9191
|
key: 1,
|
|
9185
9192
|
class: "bs-vertical-nav-link-icon"
|
|
9186
9193
|
})),
|
|
9187
|
-
w("span", null, L(
|
|
9194
|
+
w("span", null, L(E.text), 1)
|
|
9188
9195
|
]),
|
|
9189
9196
|
_: 2
|
|
9190
9197
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
@@ -9222,11 +9229,11 @@ export {
|
|
|
9222
9229
|
zn as BsDropdownCombobox,
|
|
9223
9230
|
xr as BsDropdownComboboxField,
|
|
9224
9231
|
xn as BsDropdownMultiselect,
|
|
9225
|
-
|
|
9232
|
+
Et as BsDropdownOption,
|
|
9226
9233
|
_e as BsDropdownOptionBuilder,
|
|
9227
9234
|
br as BsDropdownOptionBuilderDefinitions,
|
|
9228
9235
|
st as BsDropdownOptionList,
|
|
9229
|
-
|
|
9236
|
+
Pn as BsDropdownWithOptions,
|
|
9230
9237
|
An as BsDropdownWithToggle,
|
|
9231
9238
|
Ar as BsEmptyState,
|
|
9232
9239
|
hr as BsEmptyStateDefinitions,
|
|
@@ -9234,9 +9241,9 @@ export {
|
|
|
9234
9241
|
ei as BsFilterButton,
|
|
9235
9242
|
zr as BsFlyout,
|
|
9236
9243
|
Ii as BsFocusGuard,
|
|
9237
|
-
|
|
9244
|
+
Pr as BsFormContainer,
|
|
9238
9245
|
vr as BsFormContainerDefinitions,
|
|
9239
|
-
|
|
9246
|
+
Er as BsHorizontalNavigation,
|
|
9240
9247
|
mr as BsHorizontalNavigationDefinitions,
|
|
9241
9248
|
Vr as BsIconGradientWrapper,
|
|
9242
9249
|
Lr as BsInlineTab,
|