@wwtdev/bsds-components-vue3 2.39.0 → 2.40.0
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 +215 -200
- package/lib/bsds-components.js.map +1 -1
- package/lib/components.css +1 -1
- package/package.json +2 -2
package/lib/bsds-components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as C, useId as St, onMounted as ee, watch as Z, computed as m, createElementBlock as h, openBlock as l, unref as f, createElementVNode as w, createCommentVNode as x, createVNode as R, renderSlot as z, createBlock as D, resolveDynamicComponent as ae, createTextVNode as _, toDisplayString as
|
|
2
|
-
import { BsIcon as ce, BsIconCaretDown as
|
|
1
|
+
import { ref as C, useId as St, onMounted as ee, watch as Z, computed as m, createElementBlock as h, openBlock as l, unref as f, createElementVNode as w, createCommentVNode as x, createVNode as R, renderSlot as z, createBlock as D, resolveDynamicComponent as ae, createTextVNode as _, toDisplayString as L, useAttrs as Se, useSlots as et, mergeProps as H, withCtx as q, Fragment as J, normalizeClass as ve, withDirectives as fe, toHandlers as yt, vShow as be, onBeforeUnmount as tt, onBeforeMount as _t, createSlots as gt, renderList as de, onUnmounted as De, Teleport as Un, Transition as wt, provide as me, withKeys as Ye, withModifiers as Ce, inject as ue, nextTick as Re, toRaw as Wn, resolveComponent as en, mergeModels as qt, useModel as Kn, isRef as Hn, normalizeStyle as tn, h as se, useTemplateRef as Gn, shallowRef as nn, readonly as Rt, cloneVNode as Yn } from "vue";
|
|
2
|
+
import { BsIcon as ce, BsIconCaretDown as Le, BsIconSmallCaretLeft as an, BsIconCaretLeft as nt, BsIconSmallCaretRight as on, BsIconCaretRight as at, BsIconCircleExclamation as $t, BsIconClose as ke, BsIconWarning as kt, BsIconCalendar as ln, BsIconSearch as Xn, BsIconCaretSort as sn, BsIconCaretLeftDouble as Zn, BsIconCaretRightDouble as Qn, BsIconActionEllipsis as Jn, BsIconCaretSortDown as _n, BsIconCaretSortUp as ea, BsIconCirclePause as ta, BsIconCirclePlay as na, BsIconGraphPieEmpty as jt, BsIconCircleEllipsis as aa, BsIconCircleX as oa, BsIconCircleCheck as ia, BsIconCircleStop as la, BsIconThumbsUpStroke as sa, BsIconCaretUp as ra } from "@wwtdev/bsds-icons-vue3";
|
|
3
3
|
import { DatePicker as da } from "v-calendar";
|
|
4
4
|
import { Filler as ua, Chart as rt, BarController as ca, BarElement as pa, CategoryScale as fa, LinearScale as ba, Legend as ha, TimeScale as va, Tooltip as ma } from "chart.js";
|
|
5
5
|
import "chartjs-adapter-date-fns";
|
|
@@ -756,7 +756,7 @@ const wa = {
|
|
|
756
756
|
type: String,
|
|
757
757
|
typeDef: "string"
|
|
758
758
|
}
|
|
759
|
-
},
|
|
759
|
+
}, Va = {}, La = {
|
|
760
760
|
default: {
|
|
761
761
|
description: "The content of the form container."
|
|
762
762
|
},
|
|
@@ -773,9 +773,9 @@ const wa = {
|
|
|
773
773
|
}
|
|
774
774
|
}, vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
775
775
|
__proto__: null,
|
|
776
|
-
emitDefinitions:
|
|
776
|
+
emitDefinitions: Va,
|
|
777
777
|
propDefinitions: bn,
|
|
778
|
-
slotDefinitions:
|
|
778
|
+
slotDefinitions: La
|
|
779
779
|
}, Symbol.toStringTag, { value: "Module" })), hn = {
|
|
780
780
|
hideMobileToggle: {
|
|
781
781
|
default: !1,
|
|
@@ -1291,7 +1291,7 @@ const wa = {
|
|
|
1291
1291
|
{
|
|
1292
1292
|
// If true, creates a divider-only section without toggle button or title (only when navItems present)
|
|
1293
1293
|
dividerOnly?: boolean,
|
|
1294
|
-
// If true, styles the nav item as
|
|
1294
|
+
// If true, styles the nav item as app links (used on digital transformation project)
|
|
1295
1295
|
appLinks?: boolean,
|
|
1296
1296
|
// If true, positions the nav item at the end (right for horizontal, bottom for vertical) and treats as an external link
|
|
1297
1297
|
external?: boolean,
|
|
@@ -1347,6 +1347,13 @@ const wa = {
|
|
|
1347
1347
|
typeDef: "'wide'|'narrow'|'collapsible'",
|
|
1348
1348
|
validator: (e) => ["wide", "narrow", "collapsible"].includes(e)
|
|
1349
1349
|
},
|
|
1350
|
+
bgVariant: {
|
|
1351
|
+
default: "",
|
|
1352
|
+
description: "The background color variant of the vertical navigation.\n When set to `'bg-base'`, the background color will use `bg-base` instead\n of the default `bg-navy-base`. Leave empty or omit for default styling.",
|
|
1353
|
+
type: String,
|
|
1354
|
+
typeDef: "''|'bg-base'",
|
|
1355
|
+
validator: (e) => ["", "bg-base"].includes(e)
|
|
1356
|
+
},
|
|
1350
1357
|
width: {
|
|
1351
1358
|
default: "",
|
|
1352
1359
|
description: "Custom width of the vertical navigation. This will override\n the `variant` prop.",
|
|
@@ -1448,10 +1455,10 @@ const Wa = ["id", "data-stacked"], Ka = ["data-open"], Ha = ["aria-controls", "a
|
|
|
1448
1455
|
])) : x("", !0),
|
|
1449
1456
|
w("span", { id: r.value }, [
|
|
1450
1457
|
z(v.$slots, "header", {}, () => [
|
|
1451
|
-
_(
|
|
1458
|
+
_(L(v.headerText), 1)
|
|
1452
1459
|
])
|
|
1453
1460
|
], 8, Ya),
|
|
1454
|
-
R(f(
|
|
1461
|
+
R(f(Le), {
|
|
1455
1462
|
size: "md",
|
|
1456
1463
|
"data-position": "end"
|
|
1457
1464
|
})
|
|
@@ -1556,7 +1563,7 @@ const Ja = { key: 0 }, _a = {
|
|
|
1556
1563
|
default: q(() => [
|
|
1557
1564
|
v.value ? (l(), h("span", Ja, [
|
|
1558
1565
|
z(k.$slots, "default", {}, () => [
|
|
1559
|
-
_(
|
|
1566
|
+
_(L(k.label), 1)
|
|
1560
1567
|
])
|
|
1561
1568
|
])) : x("", !0),
|
|
1562
1569
|
w("span", _a, [
|
|
@@ -1569,7 +1576,7 @@ const Ja = { key: 0 }, _a = {
|
|
|
1569
1576
|
]),
|
|
1570
1577
|
$.value ? (l(), h("span", eo, [
|
|
1571
1578
|
z(k.$slots, "default", {}, () => [
|
|
1572
|
-
_(
|
|
1579
|
+
_(L(k.label), 1)
|
|
1573
1580
|
])
|
|
1574
1581
|
])) : x("", !0)
|
|
1575
1582
|
]),
|
|
@@ -1632,7 +1639,7 @@ const Ja = { key: 0 }, _a = {
|
|
|
1632
1639
|
]),
|
|
1633
1640
|
default: q(() => [
|
|
1634
1641
|
z(n.$slots, "default", {}, () => [
|
|
1635
|
-
_(
|
|
1642
|
+
_(L(e.label), 1)
|
|
1636
1643
|
])
|
|
1637
1644
|
]),
|
|
1638
1645
|
_: 3
|
|
@@ -1683,12 +1690,12 @@ const Ja = { key: 0 }, _a = {
|
|
|
1683
1690
|
]),
|
|
1684
1691
|
w("div", oo, [
|
|
1685
1692
|
z(i.$slots, "title", {}, () => [
|
|
1686
|
-
_(
|
|
1693
|
+
_(L(i.title), 1)
|
|
1687
1694
|
])
|
|
1688
1695
|
]),
|
|
1689
1696
|
i.description || i.$slots.description ? (l(), h("div", io, [
|
|
1690
1697
|
z(i.$slots, "description", {}, () => [
|
|
1691
|
-
_(
|
|
1698
|
+
_(L(i.description), 1)
|
|
1692
1699
|
])
|
|
1693
1700
|
])) : x("", !0),
|
|
1694
1701
|
i.hideDismiss ? x("", !0) : (l(), h("button", {
|
|
@@ -1840,13 +1847,13 @@ const Ja = { key: 0 }, _a = {
|
|
|
1840
1847
|
id: e.hintId,
|
|
1841
1848
|
class: "bs-hint",
|
|
1842
1849
|
"data-error": e.error
|
|
1843
|
-
},
|
|
1850
|
+
}, L(t.value), 9, fo)) : x("", !0),
|
|
1844
1851
|
e.charMax ? (l(), h("span", {
|
|
1845
1852
|
key: 1,
|
|
1846
1853
|
"aria-description": "character count over character limit for the preceding text field",
|
|
1847
1854
|
class: "bs-character-count",
|
|
1848
1855
|
"data-error": n.charCount > n.charMax
|
|
1849
|
-
},
|
|
1856
|
+
}, L(n.charCount || "0") + " / " + L(n.charMax), 9, bo)) : x("", !0)
|
|
1850
1857
|
]));
|
|
1851
1858
|
}
|
|
1852
1859
|
}, ho = ["data-disabled", "for"], pe = {
|
|
@@ -2224,7 +2231,7 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2224
2231
|
}, {
|
|
2225
2232
|
default: q(() => [
|
|
2226
2233
|
z(g.$slots, "label", {}, () => [
|
|
2227
|
-
_(
|
|
2234
|
+
_(L(g.label), 1)
|
|
2228
2235
|
])
|
|
2229
2236
|
]),
|
|
2230
2237
|
_: 3
|
|
@@ -2435,24 +2442,24 @@ const $o = ["data-range"], Wt = "(min-width: 752px)", Tr = /* @__PURE__ */ Objec
|
|
|
2435
2442
|
w("tr", null, [
|
|
2436
2443
|
w("th", {
|
|
2437
2444
|
colspan: r.value.colspan
|
|
2438
|
-
},
|
|
2445
|
+
}, L(r.value.title), 9, To)
|
|
2439
2446
|
]),
|
|
2440
2447
|
w("tr", null, [
|
|
2441
|
-
w("th", Co,
|
|
2448
|
+
w("th", Co, L(r.value.colHeadingFirst), 1),
|
|
2442
2449
|
(l(!0), h(J, null, de(r.value.colHeadings, (v) => (l(), h("th", {
|
|
2443
2450
|
key: v,
|
|
2444
2451
|
scope: "col"
|
|
2445
|
-
},
|
|
2452
|
+
}, L(v), 1))), 128))
|
|
2446
2453
|
])
|
|
2447
2454
|
]),
|
|
2448
2455
|
w("tbody", null, [
|
|
2449
2456
|
(l(!0), h(J, null, de(r.value.rows, (v) => (l(), h("tr", {
|
|
2450
2457
|
key: v.rowLabelFmt || v.rowLabel
|
|
2451
2458
|
}, [
|
|
2452
|
-
w("th", Do,
|
|
2459
|
+
w("th", Do, L(v.rowLabelFmt || v.rowLabel), 1),
|
|
2453
2460
|
(l(!0), h(J, null, de(v.dataCells, ($) => (l(), h("td", {
|
|
2454
2461
|
key: `${v.rowLabelFmt || v.rowLabel}${$.datasetLabel}${$.value}`
|
|
2455
|
-
},
|
|
2462
|
+
}, L($.value), 1))), 128))
|
|
2456
2463
|
]))), 128))
|
|
2457
2464
|
])
|
|
2458
2465
|
], 8, Bo)) : x("", !0)
|
|
@@ -2730,7 +2737,7 @@ class Tn {
|
|
|
2730
2737
|
return n;
|
|
2731
2738
|
}
|
|
2732
2739
|
}
|
|
2733
|
-
class
|
|
2740
|
+
class Vo extends Tn {
|
|
2734
2741
|
constructor({ data: n, options: t, plugins: a }) {
|
|
2735
2742
|
super({ type: "bar", data: n, options: t, plugins: a });
|
|
2736
2743
|
}
|
|
@@ -2754,7 +2761,7 @@ class Lo extends Tn {
|
|
|
2754
2761
|
this.options = o;
|
|
2755
2762
|
}
|
|
2756
2763
|
}
|
|
2757
|
-
class
|
|
2764
|
+
class Lo extends Tn {
|
|
2758
2765
|
constructor({ data: n, options: t, plugins: a }) {
|
|
2759
2766
|
super({ type: "line", data: n, options: t, plugins: a });
|
|
2760
2767
|
}
|
|
@@ -2848,9 +2855,9 @@ class Mo {
|
|
|
2848
2855
|
};
|
|
2849
2856
|
switch (this.type) {
|
|
2850
2857
|
case "bar":
|
|
2851
|
-
return new Lo(n);
|
|
2852
|
-
case "line":
|
|
2853
2858
|
return new Vo(n);
|
|
2859
|
+
case "line":
|
|
2860
|
+
return new Lo(n);
|
|
2854
2861
|
default:
|
|
2855
2862
|
throw new Error(`Unsupported chart type: ${this.type}`);
|
|
2856
2863
|
}
|
|
@@ -3071,7 +3078,7 @@ const No = {
|
|
|
3071
3078
|
}, {
|
|
3072
3079
|
default: q(() => [
|
|
3073
3080
|
z(S.$slots, "label", {}, () => [
|
|
3074
|
-
_(
|
|
3081
|
+
_(L(e.label), 1)
|
|
3075
3082
|
])
|
|
3076
3083
|
]),
|
|
3077
3084
|
_: 3
|
|
@@ -3345,8 +3352,8 @@ const No = {
|
|
|
3345
3352
|
}, B.$attrs), [
|
|
3346
3353
|
e.helperText ? (l(), h("header", Go, [
|
|
3347
3354
|
w("div", null, [
|
|
3348
|
-
w("h3", null,
|
|
3349
|
-
e.helperDescription ? (l(), h("p", Yo,
|
|
3355
|
+
w("h3", null, L(e.helperText), 1),
|
|
3356
|
+
e.helperDescription ? (l(), h("p", Yo, L(e.helperDescription), 1)) : x("", !0)
|
|
3350
3357
|
]),
|
|
3351
3358
|
w("button", {
|
|
3352
3359
|
type: "button",
|
|
@@ -3567,12 +3574,12 @@ const No = {
|
|
|
3567
3574
|
type: "button",
|
|
3568
3575
|
onClick: r
|
|
3569
3576
|
}, [
|
|
3570
|
-
w("span", Qo,
|
|
3577
|
+
w("span", Qo, L(u.value.text), 1),
|
|
3571
3578
|
s.value ? (l(), D(f(ke), {
|
|
3572
3579
|
key: 0,
|
|
3573
3580
|
role: "presentation",
|
|
3574
3581
|
size: "md"
|
|
3575
|
-
})) : (l(), D(f(
|
|
3582
|
+
})) : (l(), D(f(Le), {
|
|
3576
3583
|
key: 1,
|
|
3577
3584
|
role: "presentation",
|
|
3578
3585
|
size: "md"
|
|
@@ -3634,9 +3641,9 @@ const No = {
|
|
|
3634
3641
|
variant: "notext"
|
|
3635
3642
|
}, null, 8, ["count"])) : x("", !0),
|
|
3636
3643
|
z(a.$slots, "label", {}, () => [
|
|
3637
|
-
_(
|
|
3644
|
+
_(L(e.label), 1)
|
|
3638
3645
|
]),
|
|
3639
|
-
R(f(
|
|
3646
|
+
R(f(Le))
|
|
3640
3647
|
], 8, _o));
|
|
3641
3648
|
}
|
|
3642
3649
|
}, Cn = (e, n, t = "id") => {
|
|
@@ -3766,8 +3773,8 @@ const No = {
|
|
|
3766
3773
|
i.labelHtml ? (l(), h("span", {
|
|
3767
3774
|
key: 3,
|
|
3768
3775
|
innerHTML: i.labelHtml
|
|
3769
|
-
}, null, 8, li)) : (l(), h("span", si,
|
|
3770
|
-
i.description ? (l(), h("span", ri,
|
|
3776
|
+
}, null, 8, li)) : (l(), h("span", si, L(i.label), 1)),
|
|
3777
|
+
i.description ? (l(), h("span", ri, L(i.description), 1)) : x("", !0)
|
|
3771
3778
|
]),
|
|
3772
3779
|
_: 2
|
|
3773
3780
|
}, 1032, ["aria-checked", "value-id-key", "value", "variant"]))), 128)),
|
|
@@ -4196,6 +4203,10 @@ const No = {
|
|
|
4196
4203
|
type: Boolean,
|
|
4197
4204
|
default: !1
|
|
4198
4205
|
},
|
|
4206
|
+
containerId: {
|
|
4207
|
+
type: String,
|
|
4208
|
+
default: ""
|
|
4209
|
+
},
|
|
4199
4210
|
disabled: {
|
|
4200
4211
|
type: Boolean,
|
|
4201
4212
|
default: !1
|
|
@@ -4359,7 +4370,7 @@ const No = {
|
|
|
4359
4370
|
}, {
|
|
4360
4371
|
label: q(() => [
|
|
4361
4372
|
z(N.$slots, "toggle-label", {}, () => [
|
|
4362
|
-
_(
|
|
4373
|
+
_(L(e.toggleLabel), 1)
|
|
4363
4374
|
])
|
|
4364
4375
|
]),
|
|
4365
4376
|
_: 3
|
|
@@ -4368,6 +4379,7 @@ const No = {
|
|
|
4368
4379
|
R(lt, {
|
|
4369
4380
|
"anchor-id": e.anchorId || v.value,
|
|
4370
4381
|
breakout: e.breakout,
|
|
4382
|
+
"container-id": e.containerId,
|
|
4371
4383
|
"helper-text": e.helperText,
|
|
4372
4384
|
"helper-description": e.helperDescription,
|
|
4373
4385
|
position: e.dropdownPosition,
|
|
@@ -4421,14 +4433,14 @@ const No = {
|
|
|
4421
4433
|
onClick: G[4] || (G[4] = () => a("close"))
|
|
4422
4434
|
}, {
|
|
4423
4435
|
default: q(() => [
|
|
4424
|
-
_(
|
|
4436
|
+
_(L(e.filterButtonText), 1)
|
|
4425
4437
|
]),
|
|
4426
4438
|
_: 1
|
|
4427
4439
|
}, 8, ["title"])
|
|
4428
4440
|
])) : x("", !0)
|
|
4429
4441
|
]),
|
|
4430
4442
|
_: 1
|
|
4431
|
-
}, 8, ["anchor-id", "breakout", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
|
|
4443
|
+
}, 8, ["anchor-id", "breakout", "container-id", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
|
|
4432
4444
|
], 8, bi));
|
|
4433
4445
|
}
|
|
4434
4446
|
}, zn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
@@ -4656,7 +4668,7 @@ const No = {
|
|
|
4656
4668
|
}, {
|
|
4657
4669
|
default: q(() => [
|
|
4658
4670
|
z(d.$slots, "label", {}, () => [
|
|
4659
|
-
_(
|
|
4671
|
+
_(L(e.label), 1)
|
|
4660
4672
|
])
|
|
4661
4673
|
]),
|
|
4662
4674
|
_: 3
|
|
@@ -4966,10 +4978,10 @@ const No = {
|
|
|
4966
4978
|
])
|
|
4967
4979
|
]),
|
|
4968
4980
|
w("div", null, [
|
|
4969
|
-
w("p", wi,
|
|
4981
|
+
w("p", wi, L(u.title), 1),
|
|
4970
4982
|
u.size !== "xs" ? (l(), h("p", ki, [
|
|
4971
4983
|
z(u.$slots, "description", {}, () => [
|
|
4972
|
-
_(
|
|
4984
|
+
_(L(u.description), 1)
|
|
4973
4985
|
])
|
|
4974
4986
|
])) : x("", !0),
|
|
4975
4987
|
z(u.$slots, "call-to-action")
|
|
@@ -5156,7 +5168,7 @@ const No = {
|
|
|
5156
5168
|
w("span", {
|
|
5157
5169
|
class: "bs-form-container-title",
|
|
5158
5170
|
"data-inactive": n.inactive
|
|
5159
|
-
},
|
|
5171
|
+
}, L(n.title), 9, xi)
|
|
5160
5172
|
]),
|
|
5161
5173
|
_: 1
|
|
5162
5174
|
}, 8, ["required", "disabled"]),
|
|
@@ -5169,7 +5181,7 @@ const No = {
|
|
|
5169
5181
|
class: "bs-form-container-subtitle",
|
|
5170
5182
|
"data-inactive": n.inactive
|
|
5171
5183
|
}, [
|
|
5172
|
-
w("span", null,
|
|
5184
|
+
w("span", null, L(n.subTitle), 1)
|
|
5173
5185
|
], 8, zi)) : x("", !0)
|
|
5174
5186
|
]),
|
|
5175
5187
|
w("div", {
|
|
@@ -5188,7 +5200,7 @@ const No = {
|
|
|
5188
5200
|
], 8, Bi));
|
|
5189
5201
|
}
|
|
5190
5202
|
};
|
|
5191
|
-
function
|
|
5203
|
+
function Vt(e) {
|
|
5192
5204
|
const n = C({}), t = m(() => Wn(e.navData));
|
|
5193
5205
|
function a(c) {
|
|
5194
5206
|
t.value.forEach((p) => {
|
|
@@ -5229,7 +5241,7 @@ function Lt(e) {
|
|
|
5229
5241
|
rawNavData: t
|
|
5230
5242
|
};
|
|
5231
5243
|
}
|
|
5232
|
-
const
|
|
5244
|
+
const Vi = ["aria-current", "data-active", "href", "target"], Me = {
|
|
5233
5245
|
__name: "NavigationLink",
|
|
5234
5246
|
props: {
|
|
5235
5247
|
item: {
|
|
@@ -5243,7 +5255,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5243
5255
|
},
|
|
5244
5256
|
emits: ["nav-link-clicked"],
|
|
5245
5257
|
setup(e, { emit: n }) {
|
|
5246
|
-
const t = e, a = n, { isAbsoluteTo: o, isActivePath: i, getTo: u, getTarget: s } =
|
|
5258
|
+
const t = e, a = n, { isAbsoluteTo: o, isActivePath: i, getTo: u, getTarget: s } = Vt(t);
|
|
5247
5259
|
return (r, d) => {
|
|
5248
5260
|
const c = en("router-link");
|
|
5249
5261
|
return f(o)(e.item) ? (l(), h("a", {
|
|
@@ -5255,7 +5267,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5255
5267
|
onClick: d[0] || (d[0] = (p) => a("nav-link-clicked", p))
|
|
5256
5268
|
}, [
|
|
5257
5269
|
z(r.$slots, "default")
|
|
5258
|
-
], 8,
|
|
5270
|
+
], 8, Vi)) : (l(), D(c, {
|
|
5259
5271
|
key: 1,
|
|
5260
5272
|
"aria-current": f(i)(e.item) || void 0,
|
|
5261
5273
|
"data-active": f(i)(e.item),
|
|
@@ -5270,7 +5282,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5270
5282
|
}, 8, ["aria-current", "data-active", "to", "target"]));
|
|
5271
5283
|
};
|
|
5272
5284
|
}
|
|
5273
|
-
},
|
|
5285
|
+
}, Li = ["data-shown", "data-hide-toggle"], Mi = ["aria-expanded", "aria-controls", "title"], Ni = { class: "bs-horizontal-nav-mobile-toggle-title" }, qi = ["id"], Ri = ["data-expanded"], ji = ["aria-expanded", "aria-controls", "data-active", "title", "onClick"], Fi = { class: "bs-horizontal-nav-mobile-nested-menu" }, Ui = { key: 1 }, Wi = {
|
|
5274
5286
|
key: 0,
|
|
5275
5287
|
class: "bs-horizontal-nav-mobile-end-items"
|
|
5276
5288
|
}, Ki = {
|
|
@@ -5294,7 +5306,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5294
5306
|
isActivePath: s,
|
|
5295
5307
|
isExpanded: r,
|
|
5296
5308
|
rawNavData: d
|
|
5297
|
-
} =
|
|
5309
|
+
} = Vt(t), c = St();
|
|
5298
5310
|
Fe("(max-width: 1165px)", (b) => {
|
|
5299
5311
|
p.value = b.matches;
|
|
5300
5312
|
});
|
|
@@ -5357,9 +5369,9 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5357
5369
|
key: 1,
|
|
5358
5370
|
class: "bs-horizontal-nav-mobile-toggle-title-icon"
|
|
5359
5371
|
})),
|
|
5360
|
-
w("span", null,
|
|
5372
|
+
w("span", null, L(b.mobileToggleText), 1)
|
|
5361
5373
|
]),
|
|
5362
|
-
R(f(
|
|
5374
|
+
R(f(Le), { class: "bs-horizontal-nav-mobile-toggle-caret" })
|
|
5363
5375
|
], 8, Mi)),
|
|
5364
5376
|
R(wt, { name: "bs-horizontal-nav-mobile" }, {
|
|
5365
5377
|
default: q(() => [
|
|
@@ -5386,8 +5398,8 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5386
5398
|
title: f(i)(B),
|
|
5387
5399
|
onClick: (I) => $(B.id)
|
|
5388
5400
|
}, [
|
|
5389
|
-
w("span", null,
|
|
5390
|
-
R(f(
|
|
5401
|
+
w("span", null, L(B.text), 1),
|
|
5402
|
+
R(f(Le), { class: "bs-horizontal-nav-mobile-nested-toggle-caret" })
|
|
5391
5403
|
], 8, ji),
|
|
5392
5404
|
w("ul", Fi, [
|
|
5393
5405
|
(l(!0), h(J, null, de(B.navItems, (I) => (l(), h("li", null, [
|
|
@@ -5397,7 +5409,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5397
5409
|
onNavLinkClicked: (E) => a("nav-link-clicked", { ev: E, payload: I })
|
|
5398
5410
|
}, {
|
|
5399
5411
|
default: q(() => [
|
|
5400
|
-
_(
|
|
5412
|
+
_(L(I.text), 1)
|
|
5401
5413
|
]),
|
|
5402
5414
|
_: 2
|
|
5403
5415
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -5410,7 +5422,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5410
5422
|
onNavLinkClicked: (I) => a("nav-link-clicked", { ev: I, payload: B })
|
|
5411
5423
|
}, {
|
|
5412
5424
|
default: q(() => [
|
|
5413
|
-
_(
|
|
5425
|
+
_(L(B.text), 1)
|
|
5414
5426
|
]),
|
|
5415
5427
|
_: 2
|
|
5416
5428
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -5427,7 +5439,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5427
5439
|
]),
|
|
5428
5440
|
_: 3
|
|
5429
5441
|
})
|
|
5430
|
-
], 8,
|
|
5442
|
+
], 8, Li)) : (l(), h("div", Ki, [
|
|
5431
5443
|
w("nav", null, [
|
|
5432
5444
|
!b.title && b.titleIcon ? (l(), h(J, { key: 0 }, [
|
|
5433
5445
|
typeof b.titleIcon == "string" ? (l(), D(f(ce), {
|
|
@@ -5449,10 +5461,10 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5449
5461
|
onClick: M[1] || (M[1] = (B) => a("nav-link-clicked", { ev: B, payload: { resource: { url: b.titleUrl }, text: b.title } }))
|
|
5450
5462
|
}, {
|
|
5451
5463
|
default: q(() => [
|
|
5452
|
-
w("span", null,
|
|
5464
|
+
w("span", null, L(b.title), 1)
|
|
5453
5465
|
]),
|
|
5454
5466
|
_: 1
|
|
5455
|
-
}, 8, ["aria-current", "to", "data-active"])) : (l(), h("span", Gi,
|
|
5467
|
+
}, 8, ["aria-current", "to", "data-active"])) : (l(), h("span", Gi, L(b.title), 1))
|
|
5456
5468
|
])) : x("", !0),
|
|
5457
5469
|
(l(!0), h(J, null, de(f(d), (B, g) => {
|
|
5458
5470
|
var I;
|
|
@@ -5471,8 +5483,8 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5471
5483
|
title: f(i)(B),
|
|
5472
5484
|
onClick: (E) => $(B.id)
|
|
5473
5485
|
}, [
|
|
5474
|
-
w("span", null,
|
|
5475
|
-
R(f(
|
|
5486
|
+
w("span", null, L(B.text), 1),
|
|
5487
|
+
R(f(Le), { class: "bs-horizontal-nav-nested-toggle-caret" })
|
|
5476
5488
|
], 8, Xi),
|
|
5477
5489
|
R(lt, {
|
|
5478
5490
|
id: `${B.id}-nested-section`,
|
|
@@ -5495,7 +5507,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5495
5507
|
onNavLinkClicked: (N) => S(N, E)
|
|
5496
5508
|
}, {
|
|
5497
5509
|
default: q(() => [
|
|
5498
|
-
_(
|
|
5510
|
+
_(L(E.text), 1)
|
|
5499
5511
|
]),
|
|
5500
5512
|
_: 2
|
|
5501
5513
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -5511,7 +5523,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5511
5523
|
onNavLinkClicked: (E) => a("nav-link-clicked", { ev: E, payload: B })
|
|
5512
5524
|
}, {
|
|
5513
5525
|
default: q(() => [
|
|
5514
|
-
w("span", null,
|
|
5526
|
+
w("span", null, L(B.text), 1)
|
|
5515
5527
|
]),
|
|
5516
5528
|
_: 2
|
|
5517
5529
|
}, 1032, ["item", "router", "onNavLinkClicked"])
|
|
@@ -5526,7 +5538,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5526
5538
|
]));
|
|
5527
5539
|
};
|
|
5528
5540
|
}
|
|
5529
|
-
}, Ji = ["view-box"], _i = ["id"], el = ["offset", "stop-color"],
|
|
5541
|
+
}, Ji = ["view-box"], _i = ["id"], el = ["offset", "stop-color"], Vr = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
5530
5542
|
__name: "BsIconGradientWrapper",
|
|
5531
5543
|
setup(e) {
|
|
5532
5544
|
const n = C(null), t = C(null), a = [
|
|
@@ -5568,7 +5580,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5568
5580
|
], 8, Ji))
|
|
5569
5581
|
], 64));
|
|
5570
5582
|
}
|
|
5571
|
-
}), Pn = Symbol("InlineTabs"),
|
|
5583
|
+
}), Pn = Symbol("InlineTabs"), Lr = {
|
|
5572
5584
|
__name: "BsInlineTab",
|
|
5573
5585
|
props: Ze,
|
|
5574
5586
|
setup(e) {
|
|
@@ -5701,7 +5713,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5701
5713
|
}, {
|
|
5702
5714
|
default: q(() => [
|
|
5703
5715
|
z(c.$slots, "label", {}, () => [
|
|
5704
|
-
_(
|
|
5716
|
+
_(L(e.label), 1)
|
|
5705
5717
|
])
|
|
5706
5718
|
]),
|
|
5707
5719
|
_: 3
|
|
@@ -5922,7 +5934,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5922
5934
|
class: ve({ "visually-hidden": e.hideLabel })
|
|
5923
5935
|
}, {
|
|
5924
5936
|
default: q(() => [
|
|
5925
|
-
_(
|
|
5937
|
+
_(L(e.label), 1)
|
|
5926
5938
|
]),
|
|
5927
5939
|
_: 1
|
|
5928
5940
|
}, 8, ["for", "required", "disabled", "class"]),
|
|
@@ -5947,8 +5959,8 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
5947
5959
|
type: "button",
|
|
5948
5960
|
onClick: oe[0] || (oe[0] = (Pe) => P.value = !P.value)
|
|
5949
5961
|
}, [
|
|
5950
|
-
w("span", null,
|
|
5951
|
-
w("span", null, "+" +
|
|
5962
|
+
w("span", null, L((le = p.value) == null ? void 0 : le.flag), 1),
|
|
5963
|
+
w("span", null, "+" + L(d.value), 1),
|
|
5952
5964
|
e.disabled ? x("", !0) : (l(), D(f(sn), {
|
|
5953
5965
|
key: 0,
|
|
5954
5966
|
size: "sm"
|
|
@@ -6000,8 +6012,8 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6000
6012
|
variant: "2-col"
|
|
6001
6013
|
}, {
|
|
6002
6014
|
default: q(() => [
|
|
6003
|
-
w("span", al,
|
|
6004
|
-
w("span", ol,
|
|
6015
|
+
w("span", al, L(le == null ? void 0 : le.flag), 1),
|
|
6016
|
+
w("span", ol, L(le.label), 1)
|
|
6005
6017
|
]),
|
|
6006
6018
|
_: 2
|
|
6007
6019
|
}, 1032, ["aria-label", "value"]))), 128)) : x("", !0)
|
|
@@ -6038,7 +6050,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6038
6050
|
viewBox: "0 0 100 100",
|
|
6039
6051
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6040
6052
|
}, [
|
|
6041
|
-
w("title", null,
|
|
6053
|
+
w("title", null, L(e.label), 1),
|
|
6042
6054
|
w("circle", {
|
|
6043
6055
|
cx: "50",
|
|
6044
6056
|
cy: "50",
|
|
@@ -6203,7 +6215,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6203
6215
|
}, {
|
|
6204
6216
|
default: q(() => [
|
|
6205
6217
|
z(I.$slots, "label", {}, () => [
|
|
6206
|
-
_(
|
|
6218
|
+
_(L(e.label), 1)
|
|
6207
6219
|
])
|
|
6208
6220
|
]),
|
|
6209
6221
|
_: 3
|
|
@@ -6468,7 +6480,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6468
6480
|
key: 0,
|
|
6469
6481
|
class: "bs-modal-title",
|
|
6470
6482
|
id: f(s)
|
|
6471
|
-
},
|
|
6483
|
+
}, L(y.title), 9, yl)) : x("", !0)
|
|
6472
6484
|
]) : x("", !0),
|
|
6473
6485
|
y.closeButton ? (l(), h("button", {
|
|
6474
6486
|
key: 1,
|
|
@@ -6483,7 +6495,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6483
6495
|
]),
|
|
6484
6496
|
p.value ? (l(), h("div", gl, [
|
|
6485
6497
|
z(y.$slots, "subtitle", {}, () => [
|
|
6486
|
-
w("span", { id: f(r) },
|
|
6498
|
+
w("span", { id: f(r) }, L(y.subtitle), 9, wl)
|
|
6487
6499
|
])
|
|
6488
6500
|
])) : x("", !0),
|
|
6489
6501
|
v.value ? (l(), h("div", kl, [
|
|
@@ -6521,7 +6533,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6521
6533
|
}, Tl = ["aria-label", "title", "disabled"], Cl = { key: 0 }, Dl = ["aria-label", "title", "disabled"], Ol = { key: 0 }, xl = {
|
|
6522
6534
|
key: 1,
|
|
6523
6535
|
class: "bs-pagination-page-numbers"
|
|
6524
|
-
}, Al = ["title", "disabled", "data-selected", "onClick"], zl = { key: 2 }, El = { key: 3 }, Pl = { class: "bs-pagination-results-numbers" },
|
|
6536
|
+
}, Al = ["title", "disabled", "data-selected", "onClick"], zl = { key: 2 }, El = { key: 3 }, Pl = { class: "bs-pagination-results-numbers" }, Vl = ["data-selected", "disabled", "onClick"], Ll = {
|
|
6525
6537
|
key: 5,
|
|
6526
6538
|
class: "bs-pagination-carets"
|
|
6527
6539
|
}, Ml = ["aria-label", "title", "disabled"], Nl = { key: 0 }, ql = ["aria-label", "title", "disabled"], Rl = { key: 0 }, Ur = {
|
|
@@ -6672,7 +6684,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6672
6684
|
onClick: r
|
|
6673
6685
|
}, [
|
|
6674
6686
|
R(f(Zn)),
|
|
6675
|
-
e.firstPageText ? (l(), h("span", Cl,
|
|
6687
|
+
e.firstPageText ? (l(), h("span", Cl, L(e.firstPageText), 1)) : x("", !0)
|
|
6676
6688
|
], 10, Tl)) : x("", !0),
|
|
6677
6689
|
w("button", {
|
|
6678
6690
|
type: "button",
|
|
@@ -6683,7 +6695,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6683
6695
|
onClick: d
|
|
6684
6696
|
}, [
|
|
6685
6697
|
R(f(nt)),
|
|
6686
|
-
e.prevPageText ? (l(), h("span", Ol,
|
|
6698
|
+
e.prevPageText ? (l(), h("span", Ol, L(e.prevPageText), 1)) : x("", !0)
|
|
6687
6699
|
], 10, Dl)
|
|
6688
6700
|
])) : x("", !0),
|
|
6689
6701
|
e.variant === "base" && e.centerDisplay === "numbers" ? (l(), h("div", xl, [
|
|
@@ -6694,10 +6706,10 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6694
6706
|
disabled: i.value === b || e.breakText === b,
|
|
6695
6707
|
"data-selected": b === i.value,
|
|
6696
6708
|
onClick: (M) => i.value = b
|
|
6697
|
-
},
|
|
6709
|
+
}, L(b), 9, Al))), 128))
|
|
6698
6710
|
])) : x("", !0),
|
|
6699
|
-
t.variant === "base" && t.centerDisplay === "text" ? (l(), h("span", zl,
|
|
6700
|
-
t.variant === "group" ? (l(), h("span", El,
|
|
6711
|
+
t.variant === "base" && t.centerDisplay === "text" ? (l(), h("span", zl, L($.value), 1)) : x("", !0),
|
|
6712
|
+
t.variant === "group" ? (l(), h("span", El, L(O.value), 1)) : x("", !0),
|
|
6701
6713
|
t.variant === "results" ? (l(), h(J, { key: 4 }, [
|
|
6702
6714
|
S[0] || (S[0] = w("span", null, "Results Per Page:", -1)),
|
|
6703
6715
|
w("div", Pl, [
|
|
@@ -6707,10 +6719,10 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6707
6719
|
"data-selected": b === i.value,
|
|
6708
6720
|
disabled: i.value === b || e.breakText === b,
|
|
6709
6721
|
onClick: (M) => i.value = b
|
|
6710
|
-
},
|
|
6722
|
+
}, L(b), 9, Vl))), 128))
|
|
6711
6723
|
])
|
|
6712
6724
|
], 64)) : x("", !0),
|
|
6713
|
-
e.variant === "base" || e.variant === "group" ? (l(), h("div",
|
|
6725
|
+
e.variant === "base" || e.variant === "group" ? (l(), h("div", Ll, [
|
|
6714
6726
|
w("button", {
|
|
6715
6727
|
type: "button",
|
|
6716
6728
|
class: ve(e.nextPageText ? "bs-pagination-word-caret" : void 0),
|
|
@@ -6719,7 +6731,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6719
6731
|
disabled: i.value === u.value,
|
|
6720
6732
|
onClick: c
|
|
6721
6733
|
}, [
|
|
6722
|
-
e.nextPageText ? (l(), h("span", Nl,
|
|
6734
|
+
e.nextPageText ? (l(), h("span", Nl, L(e.nextPageText), 1)) : x("", !0),
|
|
6723
6735
|
R(f(at))
|
|
6724
6736
|
], 10, Ml),
|
|
6725
6737
|
e.showFirstLastButtons ? (l(), h("button", {
|
|
@@ -6731,7 +6743,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6731
6743
|
disabled: i.value === u.value,
|
|
6732
6744
|
onClick: p
|
|
6733
6745
|
}, [
|
|
6734
|
-
e.lastPageText ? (l(), h("span", Rl,
|
|
6746
|
+
e.lastPageText ? (l(), h("span", Rl, L(e.lastPageText), 1)) : x("", !0),
|
|
6735
6747
|
R(f(Qn))
|
|
6736
6748
|
], 10, ql)) : x("", !0)
|
|
6737
6749
|
])) : x("", !0)
|
|
@@ -6832,13 +6844,13 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6832
6844
|
class: "bs-icon"
|
|
6833
6845
|
}))
|
|
6834
6846
|
], 64)) : x("", !0),
|
|
6835
|
-
_(" " +
|
|
6847
|
+
_(" " + L(e.action), 1)
|
|
6836
6848
|
])
|
|
6837
6849
|
])) : x("", !0),
|
|
6838
|
-
w("span", Ul,
|
|
6839
|
-
e.company ? (l(), h("span", Wl,
|
|
6840
|
-
e.jobTitle ? (l(), h("span", Kl,
|
|
6841
|
-
e.email ? (l(), h("span", Hl,
|
|
6850
|
+
w("span", Ul, L(e.profileName), 1),
|
|
6851
|
+
e.company ? (l(), h("span", Wl, L(e.company), 1)) : x("", !0),
|
|
6852
|
+
e.jobTitle ? (l(), h("span", Kl, L(e.jobTitle), 1)) : x("", !0),
|
|
6853
|
+
e.email ? (l(), h("span", Hl, L(e.email), 1)) : x("", !0),
|
|
6842
6854
|
e.miscMeta || o.$slots.misc ? (l(), h("span", Gl, [
|
|
6843
6855
|
z(o.$slots, "misc", {}, () => [
|
|
6844
6856
|
e.miscMetaIcon ? (l(), h(J, { key: 0 }, [
|
|
@@ -6851,7 +6863,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6851
6863
|
class: "bs-icon"
|
|
6852
6864
|
}))
|
|
6853
6865
|
], 64)) : x("", !0),
|
|
6854
|
-
_(" " +
|
|
6866
|
+
_(" " + L(e.miscMeta), 1)
|
|
6855
6867
|
])
|
|
6856
6868
|
])) : x("", !0)
|
|
6857
6869
|
]));
|
|
@@ -6903,7 +6915,7 @@ const Li = ["aria-current", "data-active", "href", "target"], Me = {
|
|
|
6903
6915
|
}, 16, ["data-layout", "onClick"]));
|
|
6904
6916
|
}
|
|
6905
6917
|
});
|
|
6906
|
-
function
|
|
6918
|
+
function Vn(e) {
|
|
6907
6919
|
const n = m(() => {
|
|
6908
6920
|
var o;
|
|
6909
6921
|
switch (e.currentStatus) {
|
|
@@ -6956,7 +6968,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
6956
6968
|
}
|
|
6957
6969
|
},
|
|
6958
6970
|
setup(e) {
|
|
6959
|
-
const n = e, { progressStep: t, progressText: a, getStatus: o } =
|
|
6971
|
+
const n = e, { progressStep: t, progressText: a, getStatus: o } = Vn(n);
|
|
6960
6972
|
return (i, u) => (l(), h("div", {
|
|
6961
6973
|
"aria-valuemax": e.steps.length,
|
|
6962
6974
|
"aria-valuenow": f(t),
|
|
@@ -6972,7 +6984,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
6972
6984
|
key: s.id || s.label,
|
|
6973
6985
|
role: "status"
|
|
6974
6986
|
}, [
|
|
6975
|
-
w("span", null,
|
|
6987
|
+
w("span", null, L(s.label || s) + " : " + L(f(o)(s.status, r) || "not started"), 1)
|
|
6976
6988
|
], 8, Zl))), 128))
|
|
6977
6989
|
], 8, Xl));
|
|
6978
6990
|
}
|
|
@@ -7047,7 +7059,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7047
7059
|
}, {
|
|
7048
7060
|
default: q(() => [
|
|
7049
7061
|
z(r.$slots, "label", {}, () => [
|
|
7050
|
-
_(
|
|
7062
|
+
_(L(e.label), 1)
|
|
7051
7063
|
])
|
|
7052
7064
|
]),
|
|
7053
7065
|
_: 3
|
|
@@ -7139,7 +7151,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7139
7151
|
}, {
|
|
7140
7152
|
default: q(() => [
|
|
7141
7153
|
z(c.$slots, "label", {}, () => [
|
|
7142
|
-
_(
|
|
7154
|
+
_(L(e.label), 1)
|
|
7143
7155
|
])
|
|
7144
7156
|
]),
|
|
7145
7157
|
_: 3
|
|
@@ -7158,13 +7170,13 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7158
7170
|
selected: !d.value,
|
|
7159
7171
|
value: "",
|
|
7160
7172
|
disabled: !!d.value
|
|
7161
|
-
},
|
|
7173
|
+
}, L(e.disabled ? "" : e.placeholder), 9, ts),
|
|
7162
7174
|
(l(!0), h(J, null, de(e.data, (v) => (l(), h("option", {
|
|
7163
7175
|
key: v.value,
|
|
7164
7176
|
disabled: v.disabled,
|
|
7165
7177
|
selected: d.value === v.value,
|
|
7166
7178
|
value: v.value
|
|
7167
|
-
},
|
|
7179
|
+
}, L(v.label), 9, ns))), 128))
|
|
7168
7180
|
]),
|
|
7169
7181
|
_: 1
|
|
7170
7182
|
}, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
|
|
@@ -7278,7 +7290,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7278
7290
|
}, {
|
|
7279
7291
|
default: q(() => [
|
|
7280
7292
|
z(v.$slots, "label", {}, () => [
|
|
7281
|
-
_(
|
|
7293
|
+
_(L(e.label), 1)
|
|
7282
7294
|
])
|
|
7283
7295
|
]),
|
|
7284
7296
|
_: 3
|
|
@@ -7328,8 +7340,8 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7328
7340
|
}, v.$attrs, {
|
|
7329
7341
|
onClick: $[0] || ($[0] = Ce((O) => s.value = !s.value, ["prevent"]))
|
|
7330
7342
|
}), [
|
|
7331
|
-
w("span", null,
|
|
7332
|
-
e.disabled ? x("", !0) : (l(), D(f(
|
|
7343
|
+
w("span", null, L(c.value), 1),
|
|
7344
|
+
e.disabled ? x("", !0) : (l(), D(f(Le), {
|
|
7333
7345
|
key: 0,
|
|
7334
7346
|
size: "md"
|
|
7335
7347
|
}))
|
|
@@ -7396,7 +7408,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7396
7408
|
}, {
|
|
7397
7409
|
default: q(() => [
|
|
7398
7410
|
z(d.$slots, "label", {}, () => [
|
|
7399
|
-
_(
|
|
7411
|
+
_(L(e.label), 1)
|
|
7400
7412
|
])
|
|
7401
7413
|
]),
|
|
7402
7414
|
_: 3
|
|
@@ -7571,7 +7583,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7571
7583
|
}, 25);
|
|
7572
7584
|
y.value = new ResizeObserver(A), y.value.observe(document.body), d.value && y.value.observe(d.value);
|
|
7573
7585
|
}
|
|
7574
|
-
function
|
|
7586
|
+
function V() {
|
|
7575
7587
|
$.value = Array.from(c.value.children).filter((A) => A.role === "tab");
|
|
7576
7588
|
}
|
|
7577
7589
|
function F() {
|
|
@@ -7593,7 +7605,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7593
7605
|
return Z(() => t.activeTabId, we), ee(() => {
|
|
7594
7606
|
var A;
|
|
7595
7607
|
try {
|
|
7596
|
-
|
|
7608
|
+
V(), F(), T(), S.value = d.value.getBoundingClientRect().width, te(), t.withBsTabs || (A = $.value[B.value]) == null || A.setAttribute("aria-selected", "true");
|
|
7597
7609
|
} catch (j) {
|
|
7598
7610
|
console.log("tab error", j);
|
|
7599
7611
|
}
|
|
@@ -7628,7 +7640,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7628
7640
|
onClick: Oe
|
|
7629
7641
|
}, [
|
|
7630
7642
|
R(f(Jn), { size: "sm" }),
|
|
7631
|
-
_(" " +
|
|
7643
|
+
_(" " + L(N.value), 1)
|
|
7632
7644
|
], 8, cs),
|
|
7633
7645
|
R(En, {
|
|
7634
7646
|
"anchor-id": E.value,
|
|
@@ -7651,7 +7663,7 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7651
7663
|
"options-id": I.value
|
|
7652
7664
|
}, {
|
|
7653
7665
|
default: q(() => [
|
|
7654
|
-
_(
|
|
7666
|
+
_(L(X.textContent), 1)
|
|
7655
7667
|
]),
|
|
7656
7668
|
_: 2
|
|
7657
7669
|
}, 1032, ["value", "options-id"]))), 128))
|
|
@@ -7685,10 +7697,10 @@ const Xl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Zl = ["data-sta
|
|
|
7685
7697
|
], 8, bs));
|
|
7686
7698
|
}
|
|
7687
7699
|
};
|
|
7688
|
-
function
|
|
7700
|
+
function Ln() {
|
|
7689
7701
|
return null;
|
|
7690
7702
|
}
|
|
7691
|
-
|
|
7703
|
+
Ln.props = {
|
|
7692
7704
|
id: {
|
|
7693
7705
|
// TODO: Change to "required", use as cell loop key, and update all docs after getting resizing working ORCA app okay
|
|
7694
7706
|
type: String,
|
|
@@ -7741,7 +7753,7 @@ Vn.props = {
|
|
|
7741
7753
|
// default width is set in Table.vue
|
|
7742
7754
|
}
|
|
7743
7755
|
};
|
|
7744
|
-
const ct =
|
|
7756
|
+
const ct = Ln, Mn = Symbol("TableHeaderProvider"), Nn = Symbol("TableBodyProvider"), qn = Symbol("TableFooterProvider"), pt = {
|
|
7745
7757
|
__name: "TableRowGroup",
|
|
7746
7758
|
props: {
|
|
7747
7759
|
kind: {
|
|
@@ -7809,7 +7821,7 @@ function Fn(e, { slots: n }) {
|
|
|
7809
7821
|
}, n);
|
|
7810
7822
|
}
|
|
7811
7823
|
Fn.props = {};
|
|
7812
|
-
const Yt = Fn,
|
|
7824
|
+
const Yt = Fn, Lt = (e, n) => {
|
|
7813
7825
|
const t = e.__vccOpts || e;
|
|
7814
7826
|
for (const [a, o] of n)
|
|
7815
7827
|
t[a] = o;
|
|
@@ -7820,13 +7832,13 @@ function ys(e, n) {
|
|
|
7820
7832
|
z(e.$slots, "default")
|
|
7821
7833
|
]);
|
|
7822
7834
|
}
|
|
7823
|
-
const gs = /* @__PURE__ */
|
|
7835
|
+
const gs = /* @__PURE__ */ Lt(vs, [["render", ys]]), ws = {}, ks = { class: "bs-table-wrap-footer" };
|
|
7824
7836
|
function Ss(e, n) {
|
|
7825
7837
|
return l(), h("div", ks, [
|
|
7826
7838
|
z(e.$slots, "default")
|
|
7827
7839
|
]);
|
|
7828
7840
|
}
|
|
7829
|
-
const $s = /* @__PURE__ */
|
|
7841
|
+
const $s = /* @__PURE__ */ Lt(ws, [["render", Ss]]), Xt = {
|
|
7830
7842
|
__name: "SortToggle",
|
|
7831
7843
|
props: {
|
|
7832
7844
|
order: {
|
|
@@ -8039,30 +8051,30 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8039
8051
|
center: [],
|
|
8040
8052
|
right: []
|
|
8041
8053
|
}), o = C({}), i = m(() => Object.values(a.value).flat().map((T) => {
|
|
8042
|
-
const
|
|
8043
|
-
return o.value[
|
|
8054
|
+
const V = E(T);
|
|
8055
|
+
return o.value[V] ?? ie(T);
|
|
8044
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(E));
|
|
8045
8057
|
function d(T = []) {
|
|
8046
|
-
const
|
|
8058
|
+
const V = [
|
|
8047
8059
|
"bs-table-wrap",
|
|
8048
8060
|
`bs-table-border-${e.borders}`,
|
|
8049
8061
|
e.striped && "bs-table-striped",
|
|
8050
8062
|
e.rowHover && "bs-table-row-hover"
|
|
8051
8063
|
];
|
|
8052
8064
|
return se("div", {
|
|
8053
|
-
class:
|
|
8065
|
+
class: V,
|
|
8054
8066
|
style: [u.value, s.value]
|
|
8055
8067
|
}, T);
|
|
8056
8068
|
}
|
|
8057
8069
|
function c(T = []) {
|
|
8058
|
-
const
|
|
8070
|
+
const V = [
|
|
8059
8071
|
`--bs-table-col-widths: ${i.value}`,
|
|
8060
8072
|
`--bs-table-frozen-left-count: ${a.value.left.length}`,
|
|
8061
8073
|
`--bs-table-frozen-right-count: ${a.value.right.length}`
|
|
8062
8074
|
];
|
|
8063
8075
|
return se("div", {
|
|
8064
8076
|
class: "bs-table",
|
|
8065
|
-
style:
|
|
8077
|
+
style: V,
|
|
8066
8078
|
role: e.role,
|
|
8067
8079
|
ariaLabel: e.ariaLabel,
|
|
8068
8080
|
ariaDescribedby: e.ariaDescribedby
|
|
@@ -8094,15 +8106,15 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8094
8106
|
return se(pt, { kind: "body" }, () => T);
|
|
8095
8107
|
}
|
|
8096
8108
|
function y() {
|
|
8097
|
-
const T = e.rows.map((
|
|
8098
|
-
Ie(he, { row:
|
|
8109
|
+
const T = e.rows.map((V, F) => P(
|
|
8110
|
+
Ie(he, { row: V, rowIndex: F })
|
|
8099
8111
|
));
|
|
8100
8112
|
return k(T);
|
|
8101
8113
|
}
|
|
8102
8114
|
function S() {
|
|
8103
|
-
const T = e.rows.map((
|
|
8104
|
-
const Q = n.body({ row:
|
|
8105
|
-
return B(Q, he, { row:
|
|
8115
|
+
const T = e.rows.map((V, F) => {
|
|
8116
|
+
const Q = n.body({ row: V, rowIndex: F });
|
|
8117
|
+
return B(Q, he, { row: V, rowIndex: F });
|
|
8106
8118
|
});
|
|
8107
8119
|
return k(T);
|
|
8108
8120
|
}
|
|
@@ -8121,43 +8133,43 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8121
8133
|
function P(T = []) {
|
|
8122
8134
|
return se(bt, null, () => T);
|
|
8123
8135
|
}
|
|
8124
|
-
function B(T = [],
|
|
8136
|
+
function B(T = [], V, F = {}) {
|
|
8125
8137
|
return Y(T, [bt]).map(
|
|
8126
|
-
(A) => Oe(A) ? se(A, null, () => Ie(
|
|
8138
|
+
(A) => Oe(A) ? se(A, null, () => Ie(V, F)) : se(A)
|
|
8127
8139
|
);
|
|
8128
8140
|
}
|
|
8129
8141
|
function g(T = {}) {
|
|
8130
8142
|
var A;
|
|
8131
|
-
const
|
|
8143
|
+
const V = (A = T.slots) == null ? void 0 : A.default({}).find((j) => j.type === Gt), F = te(T), Q = {
|
|
8132
8144
|
class: e.truncate && $e(T),
|
|
8133
8145
|
"data-bs-table-col-id": T.props.id,
|
|
8134
8146
|
// TODO: only added here for col resize reasons, could be on all cells
|
|
8135
8147
|
...I(T),
|
|
8136
8148
|
...F && F === e.sortKey && { "aria-sort": `${e.sortOrder}ending` }
|
|
8137
8149
|
};
|
|
8138
|
-
if (F && (
|
|
8139
|
-
const j =
|
|
8140
|
-
return se(
|
|
8150
|
+
if (F && (V != null && V.children)) {
|
|
8151
|
+
const j = V.children.default().map((X) => X.type === Xt ? Yn(X, { ...N(T) }) : se(X));
|
|
8152
|
+
return se(V, Q, () => j);
|
|
8141
8153
|
}
|
|
8142
|
-
return
|
|
8154
|
+
return V ? se(V, Q) : se(Gt, Q, () => {
|
|
8143
8155
|
var j;
|
|
8144
8156
|
return G(T) || ((j = T.props) == null ? void 0 : j.name);
|
|
8145
8157
|
});
|
|
8146
8158
|
}
|
|
8147
8159
|
function I(T) {
|
|
8148
|
-
const
|
|
8149
|
-
if (!
|
|
8160
|
+
const V = E(T);
|
|
8161
|
+
if (!V) return {};
|
|
8150
8162
|
const F = T.props["resize-min"] || T.props.resizeMin, Q = T.props["resize-max"] || T.props.resizeMax;
|
|
8151
8163
|
return {
|
|
8152
|
-
"data-bs-table-col-resize-id":
|
|
8164
|
+
"data-bs-table-col-resize-id": V,
|
|
8153
8165
|
"data-bs-table-col-resize": ["right", "left"].includes(T.props.resize) ? T.props.resize : void 0,
|
|
8154
8166
|
"data-bs-table-col-resize-min": F === void 0 ? e.resizeColsMin : F,
|
|
8155
8167
|
"data-bs-table-col-resize-max": Q === void 0 ? e.resizeColsMax : Q
|
|
8156
8168
|
};
|
|
8157
8169
|
}
|
|
8158
8170
|
function E(T) {
|
|
8159
|
-
const
|
|
8160
|
-
if (
|
|
8171
|
+
const V = T.props["resize-id"] || T.props.resizeId;
|
|
8172
|
+
if (V) return V;
|
|
8161
8173
|
const F = T.props["resize-key"] || T.props.resizeKey;
|
|
8162
8174
|
if (F)
|
|
8163
8175
|
throw new Error(`[BsTable] BsTableCol does not have a "resize-key" prop. Instead, use: resize-id="${F}".`);
|
|
@@ -8167,10 +8179,10 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8167
8179
|
}
|
|
8168
8180
|
}
|
|
8169
8181
|
function N(T = {}) {
|
|
8170
|
-
const
|
|
8182
|
+
const V = te(T);
|
|
8171
8183
|
return {
|
|
8172
|
-
order: e.sortKey ===
|
|
8173
|
-
onToggle: (F) => t("sort", { sortKey:
|
|
8184
|
+
order: e.sortKey === V ? e.sortOrder : null,
|
|
8185
|
+
onToggle: (F) => t("sort", { sortKey: V, sortOrder: F })
|
|
8174
8186
|
};
|
|
8175
8187
|
}
|
|
8176
8188
|
function G(T = {}) {
|
|
@@ -8181,41 +8193,41 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8181
8193
|
});
|
|
8182
8194
|
}
|
|
8183
8195
|
function te(T) {
|
|
8184
|
-
const
|
|
8185
|
-
if (
|
|
8196
|
+
const V = T.props["sort-key"] || T.props.sortKey;
|
|
8197
|
+
if (V) return V;
|
|
8186
8198
|
if (K(T, "sort")) {
|
|
8187
8199
|
if (!T.props.id) throw new Error(`[BsTable] BsTableCol "sort" prop is missing key identifier. Must use either approach...single prop: 'sort-key="mySortKey"', or both props: 'sort id="myTableColId"'`);
|
|
8188
8200
|
return T.props.id;
|
|
8189
8201
|
}
|
|
8190
8202
|
}
|
|
8191
|
-
function he(T = {},
|
|
8203
|
+
function he(T = {}, V = {}) {
|
|
8192
8204
|
var A;
|
|
8193
|
-
const F = (A = T.slots) == null ? void 0 : A.default(
|
|
8194
|
-
return F ? se(F, Q) : se(Yt, Q, () => U(
|
|
8205
|
+
const F = (A = T.slots) == null ? void 0 : A.default(V).find((j) => j.type === Yt), Q = { class: e.truncate && $e(T) };
|
|
8206
|
+
return F ? se(F, Q) : se(Yt, Q, () => U(V.row, T));
|
|
8195
8207
|
}
|
|
8196
8208
|
function $e(T) {
|
|
8197
|
-
const
|
|
8198
|
-
return T.props.truncate !== "false" &&
|
|
8209
|
+
const V = T.props.truncate === void 0 ? e.truncate : T.props.truncate === "" || T.props.truncate;
|
|
8210
|
+
return T.props.truncate !== "false" && V && "bs-table-truncate";
|
|
8199
8211
|
}
|
|
8200
|
-
function ge(T,
|
|
8212
|
+
function ge(T, V, F) {
|
|
8201
8213
|
if (!a.value[T].length) return;
|
|
8202
|
-
const Q = a.value[T].map((A) =>
|
|
8214
|
+
const Q = a.value[T].map((A) => V(A, F));
|
|
8203
8215
|
return se("div", { class: `bs-table-cols-frozen-${T}` }, Q);
|
|
8204
8216
|
}
|
|
8205
|
-
function Ie(T,
|
|
8217
|
+
function Ie(T, V = {}) {
|
|
8206
8218
|
return [
|
|
8207
|
-
ge("left", T,
|
|
8208
|
-
a.value.center.map((F) => T(F,
|
|
8209
|
-
ge("right", T,
|
|
8219
|
+
ge("left", T, V),
|
|
8220
|
+
a.value.center.map((F) => T(F, V)),
|
|
8221
|
+
ge("right", T, V)
|
|
8210
8222
|
];
|
|
8211
8223
|
}
|
|
8212
8224
|
function we() {
|
|
8213
8225
|
return se(Is, { onResize: Ee });
|
|
8214
8226
|
}
|
|
8215
|
-
function Ee({ el: T, id:
|
|
8227
|
+
function Ee({ el: T, id: V, width: F }) {
|
|
8216
8228
|
const Q = Object.values(a.value).flat().reduce((j, X) => {
|
|
8217
8229
|
const ne = E(X) || X.props.id;
|
|
8218
|
-
return ne ===
|
|
8230
|
+
return ne === V || o.value[ne] || ie(X).endsWith("px") || j.push({ id: ne, width: null }), j;
|
|
8219
8231
|
}, []);
|
|
8220
8232
|
if (Q.length) {
|
|
8221
8233
|
const j = T.closest(".bs-table-row");
|
|
@@ -8224,63 +8236,63 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8224
8236
|
ne && (X.width = `${ne.offsetWidth}px`);
|
|
8225
8237
|
});
|
|
8226
8238
|
}
|
|
8227
|
-
const A = [{ id:
|
|
8239
|
+
const A = [{ id: V, width: F ? `${F}px` : void 0 }, ...Q];
|
|
8228
8240
|
A.forEach((j) => o.value[j.id] = j.width), t("resize-col", { target: A[0], updated: [...A] });
|
|
8229
8241
|
}
|
|
8230
8242
|
function Oe(T) {
|
|
8231
8243
|
return T.type === bt && !T.children;
|
|
8232
8244
|
}
|
|
8233
|
-
function U(T,
|
|
8234
|
-
return (
|
|
8245
|
+
function U(T, V) {
|
|
8246
|
+
return (V.props["row-key"] || V.props.rowKey || V.props.id || "").split(".").reduce((A, j) => A && A[j], T);
|
|
8235
8247
|
}
|
|
8236
|
-
function K(T,
|
|
8237
|
-
const F = T.props[
|
|
8248
|
+
function K(T, V) {
|
|
8249
|
+
const F = T.props[V];
|
|
8238
8250
|
return F === "" || F && F !== "false";
|
|
8239
8251
|
}
|
|
8240
8252
|
function ie(T) {
|
|
8241
|
-
var
|
|
8242
|
-
return ((
|
|
8253
|
+
var V;
|
|
8254
|
+
return ((V = T.props) == null ? void 0 : V.width) ?? e.colWidth;
|
|
8243
8255
|
}
|
|
8244
|
-
function Y(T,
|
|
8245
|
-
return T.reduce((F, Q) =>
|
|
8256
|
+
function Y(T, V = []) {
|
|
8257
|
+
return T.reduce((F, Q) => V.includes(Q.type) ? [...F, Q] : Array.isArray(Q.children) ? [...F, ...Y(Q.children, V)] : F, []);
|
|
8246
8258
|
}
|
|
8247
8259
|
function oe(T) {
|
|
8248
8260
|
var F;
|
|
8249
|
-
const
|
|
8250
|
-
return T.type.props.place.validator(
|
|
8251
|
-
place:
|
|
8261
|
+
const V = ((F = T.props) == null ? void 0 : F.place) || T.type.props.place.default;
|
|
8262
|
+
return T.type.props.place.validator(V) || console.warn(`[BsTable warn] Invalid prop: BsFrozenCols prop "place" must be set to "left" or "right". Yours: "${V}".`), {
|
|
8263
|
+
place: V,
|
|
8252
8264
|
frozenCols: Y(T.children.default(), [ct])
|
|
8253
8265
|
};
|
|
8254
8266
|
}
|
|
8255
8267
|
function le(T = []) {
|
|
8256
|
-
const
|
|
8268
|
+
const V = (F) => ({
|
|
8257
8269
|
props: F.props || { name: "" },
|
|
8258
8270
|
slots: F.children
|
|
8259
8271
|
});
|
|
8260
8272
|
return T.reduce((F, Q) => {
|
|
8261
8273
|
if (Q.type === ft) {
|
|
8262
8274
|
const { place: A, frozenCols: j } = oe(Q);
|
|
8263
|
-
return F[A] = F[A].concat(j.map(
|
|
8275
|
+
return F[A] = F[A].concat(j.map(V)), F;
|
|
8264
8276
|
}
|
|
8265
|
-
return F.center.push(
|
|
8277
|
+
return F.center.push(V(Q)), F;
|
|
8266
8278
|
}, { left: [], center: [], right: [] });
|
|
8267
8279
|
}
|
|
8268
8280
|
function Pe(T) {
|
|
8269
|
-
return T.reduce((
|
|
8281
|
+
return T.reduce((V, F) => {
|
|
8270
8282
|
if (F.type === gs)
|
|
8271
|
-
return
|
|
8283
|
+
return V.header = F, V;
|
|
8272
8284
|
if (F.type === $s)
|
|
8273
|
-
return
|
|
8285
|
+
return V.footer = F, V;
|
|
8274
8286
|
if ([ft, ct].includes(F.type))
|
|
8275
|
-
return
|
|
8287
|
+
return V.columns.push(F), V;
|
|
8276
8288
|
const Q = Y([F], [ft, ct]);
|
|
8277
|
-
return Q != null && Q.length ?
|
|
8289
|
+
return Q != null && Q.length ? V.columns = [...V.columns, ...Q] : V.other.push(F), V;
|
|
8278
8290
|
}, { columns: [], header: null, footer: null, other: [] });
|
|
8279
8291
|
}
|
|
8280
8292
|
return () => {
|
|
8281
|
-
const { columns: T, header:
|
|
8293
|
+
const { columns: T, header: V, footer: F, other: Q } = Pe(n.default());
|
|
8282
8294
|
return a.value = le(T), d([
|
|
8283
|
-
|
|
8295
|
+
V,
|
|
8284
8296
|
p([
|
|
8285
8297
|
c([
|
|
8286
8298
|
n.header ? O() : $(),
|
|
@@ -8388,7 +8400,7 @@ const $s = /* @__PURE__ */ Vt(ws, [["render", Ss]]), Xt = {
|
|
|
8388
8400
|
}, {
|
|
8389
8401
|
default: q(() => [
|
|
8390
8402
|
z(p.$slots, "label", {}, () => [
|
|
8391
|
-
_(
|
|
8403
|
+
_(L(e.label), 1)
|
|
8392
8404
|
])
|
|
8393
8405
|
]),
|
|
8394
8406
|
_: 3
|
|
@@ -8441,7 +8453,7 @@ function Ds(e = "") {
|
|
|
8441
8453
|
minutes: a
|
|
8442
8454
|
};
|
|
8443
8455
|
}
|
|
8444
|
-
function
|
|
8456
|
+
function Ve(e = "") {
|
|
8445
8457
|
const n = /[^0-9:]/g;
|
|
8446
8458
|
if (e = e.replaceAll(n, ""), !e) return "";
|
|
8447
8459
|
const [t, a] = e.split(":"), o = Ne(t), i = Ne(a), u = o < 12 ? "AM" : "PM";
|
|
@@ -8516,7 +8528,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8516
8528
|
},
|
|
8517
8529
|
emits: ["update:modelValue"],
|
|
8518
8530
|
setup(e, { expose: n, emit: t }) {
|
|
8519
|
-
const a = e, o = t, i = C(
|
|
8531
|
+
const a = e, o = t, i = C(Ve(a.modelValue)), u = C([]), s = C(""), r = C(!1);
|
|
8520
8532
|
function d() {
|
|
8521
8533
|
const S = [];
|
|
8522
8534
|
let b = !1;
|
|
@@ -8529,7 +8541,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8529
8541
|
break;
|
|
8530
8542
|
}
|
|
8531
8543
|
S.push({
|
|
8532
|
-
label:
|
|
8544
|
+
label: Ve(B),
|
|
8533
8545
|
value: B
|
|
8534
8546
|
});
|
|
8535
8547
|
}
|
|
@@ -8555,7 +8567,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8555
8567
|
}
|
|
8556
8568
|
function $(S) {
|
|
8557
8569
|
const b = Os(S);
|
|
8558
|
-
b === a.modelValue && (i.value =
|
|
8570
|
+
b === a.modelValue && (i.value = Ve(a.modelValue)), k(b);
|
|
8559
8571
|
}
|
|
8560
8572
|
function O() {
|
|
8561
8573
|
u.value = d();
|
|
@@ -8566,13 +8578,13 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8566
8578
|
function y(S) {
|
|
8567
8579
|
switch (c(S)) {
|
|
8568
8580
|
case vt:
|
|
8569
|
-
s.value = `Time must be before ${
|
|
8581
|
+
s.value = `Time must be before ${Ve(a.maxTime)}`, r.value = !0;
|
|
8570
8582
|
break;
|
|
8571
8583
|
case mt:
|
|
8572
|
-
s.value = `Time must be after ${
|
|
8584
|
+
s.value = `Time must be after ${Ve(a.minTime)}`, r.value = !0;
|
|
8573
8585
|
break;
|
|
8574
8586
|
case ht:
|
|
8575
|
-
s.value = `The following times are disabled: ${a.disabledTimes.map((M) =>
|
|
8587
|
+
s.value = `The following times are disabled: ${a.disabledTimes.map((M) => Ve(M)).join(", ")}`, r.value = !0;
|
|
8576
8588
|
break;
|
|
8577
8589
|
default:
|
|
8578
8590
|
s.value = "", r.value = !1;
|
|
@@ -8589,7 +8601,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8589
8601
|
() => a.minTime,
|
|
8590
8602
|
() => a.modelValue
|
|
8591
8603
|
], () => y(a.modelValue)), Z(() => a.modelValue, (S) => {
|
|
8592
|
-
i.value = a.modelValue ?
|
|
8604
|
+
i.value = a.modelValue ? Ve(S) : "";
|
|
8593
8605
|
}), n({
|
|
8594
8606
|
validationErr: r,
|
|
8595
8607
|
validationErrMsg: s
|
|
@@ -8702,7 +8714,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8702
8714
|
}, {
|
|
8703
8715
|
default: q(() => [
|
|
8704
8716
|
z(k.$slots, "label", {}, () => [
|
|
8705
|
-
_(
|
|
8717
|
+
_(L(e.label), 1)
|
|
8706
8718
|
])
|
|
8707
8719
|
]),
|
|
8708
8720
|
_: 3
|
|
@@ -8774,7 +8786,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8774
8786
|
ongoing: na,
|
|
8775
8787
|
paused: ta,
|
|
8776
8788
|
warning: $t
|
|
8777
|
-
}, { progressStep: a, progressText: o, getStatus: i } =
|
|
8789
|
+
}, { progressStep: a, progressText: o, getStatus: i } = Vn(n);
|
|
8778
8790
|
function u(s, r) {
|
|
8779
8791
|
return s = i(s, r), t[s] || jt;
|
|
8780
8792
|
}
|
|
@@ -8797,8 +8809,8 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8797
8809
|
role: "presentation"
|
|
8798
8810
|
})),
|
|
8799
8811
|
w("p", null, [
|
|
8800
|
-
_(
|
|
8801
|
-
w("span", Es, " : " +
|
|
8812
|
+
_(L(d.label || d) + " ", 1),
|
|
8813
|
+
w("span", Es, " : " + L(f(i)(d.status, c) || "not started"), 1)
|
|
8802
8814
|
])
|
|
8803
8815
|
], 8, zs))), 128))
|
|
8804
8816
|
], 8, As));
|
|
@@ -8880,7 +8892,7 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8880
8892
|
_: 3
|
|
8881
8893
|
}, 8, ["shown", "preloaded"]));
|
|
8882
8894
|
}
|
|
8883
|
-
}),
|
|
8895
|
+
}), Vs = ["data-stacked"], id = {
|
|
8884
8896
|
__name: "BsToastActions",
|
|
8885
8897
|
setup(e) {
|
|
8886
8898
|
const n = ue("handleDismiss", () => {
|
|
@@ -8906,9 +8918,9 @@ const ht = "excluded", vt = "over", Qt = "skip", Jt = "stop", mt = "under", xs =
|
|
|
8906
8918
|
_: 1
|
|
8907
8919
|
}, 8, ["onClick"])
|
|
8908
8920
|
])
|
|
8909
|
-
], 8,
|
|
8921
|
+
], 8, Vs));
|
|
8910
8922
|
}
|
|
8911
|
-
},
|
|
8923
|
+
}, Ls = {}, Ms = {
|
|
8912
8924
|
class: "bs-toast-body",
|
|
8913
8925
|
"data-component": "bs-toast-body"
|
|
8914
8926
|
};
|
|
@@ -8917,7 +8929,7 @@ function Ns(e, n) {
|
|
|
8917
8929
|
z(e.$slots, "default")
|
|
8918
8930
|
]);
|
|
8919
8931
|
}
|
|
8920
|
-
const ld = /* @__PURE__ */
|
|
8932
|
+
const ld = /* @__PURE__ */ Lt(Ls, [["render", Ns]]), qs = ["data-variant"], sd = {
|
|
8921
8933
|
__name: "BsToastHeader",
|
|
8922
8934
|
setup(e) {
|
|
8923
8935
|
const n = ue("variant", void 0), t = m(() => {
|
|
@@ -9009,12 +9021,12 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9009
9021
|
role: "tooltip"
|
|
9010
9022
|
}, [
|
|
9011
9023
|
z(s.$slots, "content", {}, () => [
|
|
9012
|
-
_(
|
|
9024
|
+
_(L(e.content), 1)
|
|
9013
9025
|
])
|
|
9014
9026
|
], 10, Fs)
|
|
9015
9027
|
], 40, js));
|
|
9016
9028
|
}
|
|
9017
|
-
}, Us =
|
|
9029
|
+
}, Us = ["data-bg-variant"], Ws = ["aria-expanded", "title", "data-collapsed", "data-narrow"], Ks = ["data-narrow", "data-collapsed", "data-collapsible"], Hs = {
|
|
9018
9030
|
key: 0,
|
|
9019
9031
|
class: "bs-vertical-nav-top-content"
|
|
9020
9032
|
}, 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 = {
|
|
@@ -9031,7 +9043,7 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9031
9043
|
initializeSections: u,
|
|
9032
9044
|
isExpanded: s,
|
|
9033
9045
|
rawNavData: r
|
|
9034
|
-
} =
|
|
9046
|
+
} = Vt(t);
|
|
9035
9047
|
Fe("(max-width: 1165px)", (b) => {
|
|
9036
9048
|
p.value = b.matches;
|
|
9037
9049
|
});
|
|
@@ -9066,7 +9078,10 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9066
9078
|
function S() {
|
|
9067
9079
|
v.value = !v.value, a("update:collapsed", v.value);
|
|
9068
9080
|
}
|
|
9069
|
-
return (b, M) => (l(), h("div",
|
|
9081
|
+
return (b, M) => (l(), h("div", {
|
|
9082
|
+
class: "bs-vertical-nav-wrapper",
|
|
9083
|
+
"data-bg-variant": t.bgVariant || void 0
|
|
9084
|
+
}, [
|
|
9070
9085
|
O.value && !p.value ? (l(), h("button", {
|
|
9071
9086
|
key: 0,
|
|
9072
9087
|
ref_key: "toggleButton",
|
|
@@ -9121,7 +9136,7 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9121
9136
|
type: "button",
|
|
9122
9137
|
onClick: (g) => y(P.id)
|
|
9123
9138
|
}, [
|
|
9124
|
-
k.value ? x("", !0) : (l(), h("span", Xs,
|
|
9139
|
+
k.value ? x("", !0) : (l(), h("span", Xs, L(P.text), 1)),
|
|
9125
9140
|
R(f(ra), { class: "bs-vertical-nav-section-toggle-caret" })
|
|
9126
9141
|
], 8, Ys)) : x("", !0),
|
|
9127
9142
|
fe(w("ul", {
|
|
@@ -9145,7 +9160,7 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9145
9160
|
key: 1,
|
|
9146
9161
|
class: "bs-vertical-nav-link-icon"
|
|
9147
9162
|
})),
|
|
9148
|
-
w("span", null,
|
|
9163
|
+
w("span", null, L(g.text), 1)
|
|
9149
9164
|
]),
|
|
9150
9165
|
_: 2
|
|
9151
9166
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
@@ -9169,7 +9184,7 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9169
9184
|
key: 1,
|
|
9170
9185
|
class: "bs-vertical-nav-link-icon"
|
|
9171
9186
|
})),
|
|
9172
|
-
w("span", null,
|
|
9187
|
+
w("span", null, L(P.text), 1)
|
|
9173
9188
|
]),
|
|
9174
9189
|
_: 2
|
|
9175
9190
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
@@ -9181,7 +9196,7 @@ const ld = /* @__PURE__ */ Vt(Vs, [["render", Ns]]), qs = ["data-variant"], sd =
|
|
|
9181
9196
|
z(b.$slots, "end-items")
|
|
9182
9197
|
])) : x("", !0)
|
|
9183
9198
|
], 12, Ks)
|
|
9184
|
-
]));
|
|
9199
|
+
], 8, Us));
|
|
9185
9200
|
}
|
|
9186
9201
|
};
|
|
9187
9202
|
export {
|
|
@@ -9223,8 +9238,8 @@ export {
|
|
|
9223
9238
|
vr as BsFormContainerDefinitions,
|
|
9224
9239
|
Pr as BsHorizontalNavigation,
|
|
9225
9240
|
mr as BsHorizontalNavigationDefinitions,
|
|
9226
|
-
|
|
9227
|
-
|
|
9241
|
+
Vr as BsIconGradientWrapper,
|
|
9242
|
+
Lr as BsInlineTab,
|
|
9228
9243
|
yr as BsInlineTabDefinitions,
|
|
9229
9244
|
Mr as BsInlineTabGroup,
|
|
9230
9245
|
gr as BsInlineTabGroupDefinitions,
|