@wwtdev/bsds-components-vue3 3.0.11 → 3.0.12
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 +572 -519
- 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,24 +1,30 @@
|
|
|
1
|
-
import { shallowRef as ut, ref as I, computed as f, readonly as ye, shallowReadonly as Ki, useId as Ce, useAttrs as We, inject as ce, unref as
|
|
1
|
+
import { shallowRef as ut, ref as I, computed as f, readonly as ye, shallowReadonly as Ki, useId as Ce, useAttrs as We, inject as ce, unref as h, warn as ct, watch as G, createElementBlock as y, openBlock as d, createElementVNode as C, createCommentVNode as O, createVNode as F, renderSlot as A, createBlock as P, resolveDynamicComponent as ie, createTextVNode as Q, toDisplayString as j, onMounted as oe, useSlots as kt, mergeProps as X, withCtx as V, Fragment as ee, onUnmounted as Oe, Transition as wt, normalizeStyle as Tt, normalizeClass as Ee, normalizeProps as $e, guardReactiveProps as Ie, withDirectives as me, toHandlers as wn, vShow as Pe, onBeforeUnmount as $t, onBeforeMount as $n, createSlots as St, renderList as ue, withModifiers as Se, provide as Be, useTemplateRef as it, nextTick as Ve, Teleport as So, mergeModels as Le, useModel as Me, toHandlerKey as Gi, withKeys as Et, toRaw as Xi, resolveComponent as Bo, isRef as Yi, h as de, cloneVNode as Qi } from "vue";
|
|
2
2
|
import { BsIcon as ze, BsIconCaretDown as Ge, BsIconSmallCaretLeft as Do, BsIconCaretLeft as Xt, BsIconSmallCaretRight as ko, BsIconCaretRight as Yt, BsIconCircleExclamation as In, BsIconClose as xe, BsIconWarning as Sn, BsIconCalendar as To, BsIconSearch as $o, BsIconCaretSort as Io, BsIconCaretLeftDouble as Zi, BsIconCaretRightDouble as Ji, BsIconCaretSortDown as _i, BsIconCaretSortUp as ea, BsIconActionEllipsis as ta, BsIconCirclePause as na, BsIconCirclePlay as oa, BsIconGraphPieEmpty as no, BsIconCircleEllipsis as ia, BsIconCircleX as aa, BsIconCircleCheck as sa, BsIconCircleStop as la, BsIconThumbsUpStroke as ra, BsIconCaretUp as da } from "@wwtdev/bsds-icons-vue3";
|
|
3
3
|
import { DatePicker as ua } from "v-calendar";
|
|
4
4
|
import pt from "debounce";
|
|
5
|
-
import { Filler as ca, Chart as dn, BarController as pa, BarElement as fa, CategoryScale as
|
|
5
|
+
import { Filler as ca, Chart as dn, BarController as pa, BarElement as fa, CategoryScale as ba, LinearScale as ha, Legend as va, TimeScale as ya, Tooltip as ma } from "chart.js";
|
|
6
6
|
import "chartjs-adapter-date-fns";
|
|
7
7
|
import Qt from "lodash.merge";
|
|
8
8
|
import { useFloating as ga, autoUpdate as wa, offset as Sa, flip as Ba, shift as Da } from "@floating-ui/vue";
|
|
9
9
|
import { getSupportedCallingCodes as ka, getRegionCodeForCountryCode as Ta, parsePhoneNumber as oo } from "awesome-phonenumber";
|
|
10
10
|
const $a = {
|
|
11
11
|
accordion: "[data-component=bs-accordion]",
|
|
12
|
+
alert: "[data-component=bs-alert]",
|
|
13
|
+
backdrop: "[data-component=bs-backdrop]",
|
|
12
14
|
badge: "[data-component=bs-badge]",
|
|
13
15
|
banner: "[data-component=bs-banner]",
|
|
14
16
|
button: "[data-component=bs-button]",
|
|
15
17
|
calendar: "[data-component=bs-calendar]",
|
|
18
|
+
caretButton: "[data-component=bs-caret-button]",
|
|
19
|
+
caretTextButton: "[data-component=bs-caret-text-button]",
|
|
16
20
|
chartBar: "[data-component=bs-chart-bar]",
|
|
17
21
|
chartLine: "[data-component=bs-chart-line]",
|
|
18
22
|
chartTable: "[data-component=bs-chart-table]",
|
|
19
23
|
checkbox: "[data-component=bs-checkbox]",
|
|
20
24
|
circleButton: "[data-component=bs-circle-button]",
|
|
25
|
+
dropdown: "[data-component=bs-dropdown]",
|
|
21
26
|
dropdownComboboxField: "[data-component=bs-dropdown-combobox-field]",
|
|
27
|
+
dropdownFilter: "[data-component=bs-dropdown-filter]",
|
|
22
28
|
dropdownMultiselect: "[data-component=bs-dropdown-multiselect]",
|
|
23
29
|
dropdownOption: "[data-component=bs-dropdown-option]",
|
|
24
30
|
dropdownOptionList: "[data-component=bs-dropdown-option-list]",
|
|
@@ -27,14 +33,25 @@ const $a = {
|
|
|
27
33
|
filterButton: "[data-component=bs-filter-button]",
|
|
28
34
|
flyout: "[data-component=bs-flyout]",
|
|
29
35
|
flyoutDeprecated: "[data-component=bs-flyout-deprecated]",
|
|
36
|
+
formContainer: "[data-component=bs-form-container]",
|
|
37
|
+
horizontalNavigation: "[data-component=bs-horizontal-navigation]",
|
|
38
|
+
iconGradientWrapper: "[data-component=bs-icon-gradient-wrapper]",
|
|
39
|
+
inlineTab: "[data-component=bs-inline-tab]",
|
|
40
|
+
inlineTabGroup: "[data-component=bs-inline-tab-group]",
|
|
30
41
|
input: "[data-component=bs-input]",
|
|
31
42
|
inputAddon: "[data-component=bs-input-addon]",
|
|
43
|
+
inputButton: "[data-component=bs-input-button]",
|
|
44
|
+
inputDateRange: "[data-component=bs-input-date-range]",
|
|
45
|
+
inputDateSingle: "[data-component=bs-input-date-single]",
|
|
32
46
|
inputField: "[data-component=bs-input-field]",
|
|
33
47
|
inputPhone: "[data-component=bs-input-phone]",
|
|
34
48
|
inputSearch: "[data-component=bs-input-search]",
|
|
35
49
|
label: "[data-component=bs-label]",
|
|
36
50
|
modal: "[data-component=bs-modal]",
|
|
37
51
|
modalDeprecated: "[data-component=bs-modal-deprecated]",
|
|
52
|
+
option: "[data-component=bs-option]",
|
|
53
|
+
optionGroup: "[data-component=bs-option-group]",
|
|
54
|
+
overlay: "[data-component=bs-overlay]",
|
|
38
55
|
pagination: {
|
|
39
56
|
component: "[data-component=bs-pagination]",
|
|
40
57
|
pageNumbers: ".bs-pagination-page-numbers",
|
|
@@ -44,6 +61,13 @@ const $a = {
|
|
|
44
61
|
last: '[aria-label="Last Page"]'
|
|
45
62
|
},
|
|
46
63
|
pill: "[data-component=bs-pill]",
|
|
64
|
+
popBody: "[data-component=bs-pop-body]",
|
|
65
|
+
popFooter: "[data-component=bs-pop-footer]",
|
|
66
|
+
popHeader: "[data-component=bs-pop-header]",
|
|
67
|
+
popSubtitle: "[data-component=bs-pop-subtitle]",
|
|
68
|
+
popTitle: "[data-component=bs-pop-title]",
|
|
69
|
+
popXButton: "[data-component=bs-pop-x-button]",
|
|
70
|
+
popover: "[data-component=bs-popover]",
|
|
47
71
|
profile: "[data-component=bs-profile]",
|
|
48
72
|
profileDetails: "[data-component=bs-profile-details]",
|
|
49
73
|
profileImg: "[data-component=bs-profile-img]",
|
|
@@ -60,15 +84,21 @@ const $a = {
|
|
|
60
84
|
tabPanel: "[data-component=bs-tab-panel]",
|
|
61
85
|
textarea: "[data-component=bs-textarea]",
|
|
62
86
|
textareaField: "[data-component=bs-textarea-field]",
|
|
87
|
+
textButton: "[data-component=bs-text-button]",
|
|
88
|
+
timePicker: "[data-component=bs-time-picker]",
|
|
63
89
|
timePickerField: "[data-component=bs-time-picker-field]",
|
|
64
90
|
timeline: "[data-component=bs-timeline]",
|
|
65
91
|
toast: "[data-component=bs-toast]",
|
|
66
92
|
toastActionsDeprecated: "[data-component=bs-toast-actions-deprecated]",
|
|
67
93
|
toastBodyDeprecated: "[data-component=bs-toast-body-deprecated]",
|
|
94
|
+
toastDeprecated: "[data-component=bs-toast-deprecated]",
|
|
68
95
|
toastHeaderDeprecated: "[data-component=bs-toast-header-deprecated]",
|
|
69
96
|
toasterDeprecated: "[data-component=bs-toaster-deprecated]",
|
|
70
97
|
tooltip: "[data-component=bs-tooltip]",
|
|
71
|
-
tooltipDeprecated: "[data-component=bs-tooltip-deprecated]"
|
|
98
|
+
tooltipDeprecated: "[data-component=bs-tooltip-deprecated]",
|
|
99
|
+
typeahead: "[data-component=bs-typeahead]",
|
|
100
|
+
typeaheadField: "[data-component=bs-typeahead-field]",
|
|
101
|
+
verticalNavigation: "[data-component=bs-vertical-navigation]"
|
|
72
102
|
}, Lp = {
|
|
73
103
|
bsSelectors: $a
|
|
74
104
|
}, Co = {
|
|
@@ -564,22 +594,22 @@ const It = {
|
|
|
564
594
|
}
|
|
565
595
|
};
|
|
566
596
|
function Zt(e) {
|
|
567
|
-
const n = at(), t = Ce(), o = We(), i = ce(An, null), a = f(() =>
|
|
597
|
+
const n = at(), t = Ce(), o = We(), i = ce(An, null), a = f(() => h(e)), l = f(() => Object.keys(It).find((b) => a.value[b] !== void 0)), s = f(() => {
|
|
568
598
|
if (!l.value) return;
|
|
569
|
-
const
|
|
570
|
-
return
|
|
599
|
+
const b = a.value[l.value];
|
|
600
|
+
return b ? b === "self" ? (i == null ? void 0 : i.id) || ct('Invalid prop: The value "self" can only be used when inside of a popover.') : b : ct(`Invalid prop: The "${l.value}" prop must have a value.`);
|
|
571
601
|
}), r = f(() => {
|
|
572
|
-
var
|
|
602
|
+
var b;
|
|
573
603
|
if (l.value)
|
|
574
|
-
return (
|
|
604
|
+
return (b = n.popsById.value[s.value]) == null ? void 0 : b.props;
|
|
575
605
|
}), c = f(() => n.openIds.value.includes(s.value)), u = f(() => l.value ? {
|
|
576
606
|
isPopOpen: c.value
|
|
577
607
|
} : {}), p = f(() => l.value ? a.value.id || o.id || t : void 0), v = f(() => {
|
|
578
608
|
if (!l.value) return {};
|
|
579
609
|
if (!r.value) return {};
|
|
580
|
-
const { role:
|
|
581
|
-
return
|
|
582
|
-
"aria-haspopup":
|
|
610
|
+
const { role: b } = r.value;
|
|
611
|
+
return b === "tooltip" ? { "aria-describedby": s.value } : s.value === (i == null ? void 0 : i.id) ? {} : {
|
|
612
|
+
"aria-haspopup": b,
|
|
583
613
|
"aria-controls": s.value,
|
|
584
614
|
"aria-expanded": c.value
|
|
585
615
|
};
|
|
@@ -589,16 +619,16 @@ function Zt(e) {
|
|
|
589
619
|
...B.value,
|
|
590
620
|
[`data-bs-${l.value}`]: s.value
|
|
591
621
|
} : {});
|
|
592
|
-
G(s, (
|
|
593
|
-
if (!
|
|
622
|
+
G(s, (b, D, $) => {
|
|
623
|
+
if (!b) return;
|
|
594
624
|
const N = l.value;
|
|
595
|
-
n.registerPopTrigger(N,
|
|
625
|
+
n.registerPopTrigger(N, b), $(() => n.unregisterPopTrigger(N, b));
|
|
596
626
|
}, { immediate: !0 });
|
|
597
|
-
function g(
|
|
598
|
-
if (
|
|
599
|
-
const N =
|
|
627
|
+
function g(b) {
|
|
628
|
+
if (b.target.tagName !== "BUTTON") {
|
|
629
|
+
const N = b.target.closest('[data-bs-pop-faux-button="true"]');
|
|
600
630
|
if ((N == null ? void 0 : N.ariaDisabled) === "true") {
|
|
601
|
-
|
|
631
|
+
b.preventDefault(), b.stopImmediatePropagation();
|
|
602
632
|
return;
|
|
603
633
|
}
|
|
604
634
|
}
|
|
@@ -609,10 +639,10 @@ function Zt(e) {
|
|
|
609
639
|
popCancel: n.cancel,
|
|
610
640
|
popConfirm: n.confirm
|
|
611
641
|
}[l.value] || n.toggle;
|
|
612
|
-
|
|
642
|
+
b.stopPropagation(), $(s.value);
|
|
613
643
|
}
|
|
614
|
-
function m(
|
|
615
|
-
|
|
644
|
+
function m(b) {
|
|
645
|
+
b.target.dataset.bsPopFauxButton !== "true" || !["Space", "Enter", "NumpadEnter"].includes(b.code) || g(b);
|
|
616
646
|
}
|
|
617
647
|
return {
|
|
618
648
|
popAttrs: w,
|
|
@@ -1168,9 +1198,9 @@ function xn(e) {
|
|
|
1168
1198
|
const n = Object.entries(e).filter(([t]) => !t.startsWith("on"));
|
|
1169
1199
|
return Object.fromEntries(n);
|
|
1170
1200
|
}
|
|
1171
|
-
const
|
|
1201
|
+
const bt = {
|
|
1172
1202
|
...xn(Vt)
|
|
1173
|
-
},
|
|
1203
|
+
}, ht = {
|
|
1174
1204
|
...Wo,
|
|
1175
1205
|
...zn(Jt())
|
|
1176
1206
|
}, st = {
|
|
@@ -1197,8 +1227,8 @@ const ht = {
|
|
|
1197
1227
|
}
|
|
1198
1228
|
}, Np = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1199
1229
|
__proto__: null,
|
|
1200
|
-
emitDefinitions:
|
|
1201
|
-
propDefinitions:
|
|
1230
|
+
emitDefinitions: ht,
|
|
1231
|
+
propDefinitions: bt,
|
|
1202
1232
|
slotDefinitions: st
|
|
1203
1233
|
}, Symbol.toStringTag, { value: "Module" })), Ho = {
|
|
1204
1234
|
debounce: {
|
|
@@ -1424,7 +1454,7 @@ const ss = {}, ls = {
|
|
|
1424
1454
|
}, rs = {
|
|
1425
1455
|
...le({
|
|
1426
1456
|
name: "BsDropdown",
|
|
1427
|
-
defs:
|
|
1457
|
+
defs: bt,
|
|
1428
1458
|
keysToOmit: [
|
|
1429
1459
|
"backdrop",
|
|
1430
1460
|
"preventAutoClose",
|
|
@@ -1456,7 +1486,7 @@ const ss = {}, ls = {
|
|
|
1456
1486
|
}, ds = {
|
|
1457
1487
|
...le({
|
|
1458
1488
|
name: "BsDropdown",
|
|
1459
|
-
defs:
|
|
1489
|
+
defs: ht,
|
|
1460
1490
|
keysToOmit: ["first-shift-tab", "last-tab"]
|
|
1461
1491
|
}),
|
|
1462
1492
|
...ss,
|
|
@@ -1569,7 +1599,7 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1569
1599
|
return jn.size.typeOptions.includes(e);
|
|
1570
1600
|
}
|
|
1571
1601
|
}
|
|
1572
|
-
},
|
|
1602
|
+
}, bs = {}, hs = {
|
|
1573
1603
|
"call-to-action": {
|
|
1574
1604
|
description: "Custom call-to-action content, typically a button or link."
|
|
1575
1605
|
},
|
|
@@ -1581,9 +1611,9 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1581
1611
|
}
|
|
1582
1612
|
}, Up = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1583
1613
|
__proto__: null,
|
|
1584
|
-
emitDefinitions:
|
|
1614
|
+
emitDefinitions: bs,
|
|
1585
1615
|
propDefinitions: jn,
|
|
1586
|
-
slotDefinitions:
|
|
1616
|
+
slotDefinitions: hs
|
|
1587
1617
|
}, Symbol.toStringTag, { value: "Module" })), Vn = {
|
|
1588
1618
|
// REQUIRED
|
|
1589
1619
|
// none
|
|
@@ -1672,7 +1702,7 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1672
1702
|
}, gs = {
|
|
1673
1703
|
...le({
|
|
1674
1704
|
name: "BsFlyout",
|
|
1675
|
-
defs:
|
|
1705
|
+
defs: bt,
|
|
1676
1706
|
keysToOmit: [
|
|
1677
1707
|
"anchor",
|
|
1678
1708
|
"delay",
|
|
@@ -1686,7 +1716,7 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1686
1716
|
}, ws = {
|
|
1687
1717
|
...le({
|
|
1688
1718
|
name: "BsFlyout",
|
|
1689
|
-
defs:
|
|
1719
|
+
defs: ht,
|
|
1690
1720
|
keysToOmit: ["first-shift-tab", "last-tab"]
|
|
1691
1721
|
}),
|
|
1692
1722
|
...ms
|
|
@@ -2075,7 +2105,7 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2075
2105
|
}, Es = {
|
|
2076
2106
|
...le({
|
|
2077
2107
|
name: "BsModal",
|
|
2078
|
-
defs:
|
|
2108
|
+
defs: bt,
|
|
2079
2109
|
keysToOmit: [
|
|
2080
2110
|
"anchor",
|
|
2081
2111
|
"delay",
|
|
@@ -2090,7 +2120,7 @@ const Wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2090
2120
|
}, Ls = {
|
|
2091
2121
|
...le({
|
|
2092
2122
|
name: "BsModal",
|
|
2093
|
-
defs:
|
|
2123
|
+
defs: ht,
|
|
2094
2124
|
keysToOmit: ["first-shift-tab", "last-tab"]
|
|
2095
2125
|
}),
|
|
2096
2126
|
...As
|
|
@@ -3175,7 +3205,7 @@ const di = {
|
|
|
3175
3205
|
default: {
|
|
3176
3206
|
description: "Button label content."
|
|
3177
3207
|
}
|
|
3178
|
-
},
|
|
3208
|
+
}, bf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3179
3209
|
__proto__: null,
|
|
3180
3210
|
emitDefinitions: rl,
|
|
3181
3211
|
propDefinitions: gt,
|
|
@@ -3204,7 +3234,7 @@ const di = {
|
|
|
3204
3234
|
typeOptions: ["base", "warning", "positive", "negative"],
|
|
3205
3235
|
validator: (e) => Rn.variant.typeOptions.includes(e)
|
|
3206
3236
|
}
|
|
3207
|
-
},
|
|
3237
|
+
}, bi = {
|
|
3208
3238
|
open: {
|
|
3209
3239
|
description: "Fires when BsToast opens.",
|
|
3210
3240
|
payloadType: "{ id }"
|
|
@@ -3216,7 +3246,7 @@ const di = {
|
|
|
3216
3246
|
}, ul = {
|
|
3217
3247
|
...le({
|
|
3218
3248
|
name: "BsToast",
|
|
3219
|
-
defs:
|
|
3249
|
+
defs: bt,
|
|
3220
3250
|
keysToOmit: [
|
|
3221
3251
|
"anchor",
|
|
3222
3252
|
"backdrop",
|
|
@@ -3241,10 +3271,10 @@ const di = {
|
|
|
3241
3271
|
}, cl = {
|
|
3242
3272
|
...le({
|
|
3243
3273
|
name: "BsToast",
|
|
3244
|
-
defs:
|
|
3274
|
+
defs: ht,
|
|
3245
3275
|
keysToOmit: ["first-shift-tab", "last-tab"]
|
|
3246
3276
|
}),
|
|
3247
|
-
...
|
|
3277
|
+
...bi
|
|
3248
3278
|
}, pl = {
|
|
3249
3279
|
default: {
|
|
3250
3280
|
description: "The content of the toast (BsPopHeader, BsPopBody, BsPopFooter).",
|
|
@@ -3255,7 +3285,7 @@ const di = {
|
|
|
3255
3285
|
})
|
|
3256
3286
|
}
|
|
3257
3287
|
}
|
|
3258
|
-
},
|
|
3288
|
+
}, hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3259
3289
|
__proto__: null,
|
|
3260
3290
|
emitDefinitions: cl,
|
|
3261
3291
|
propDefinitions: ul,
|
|
@@ -3306,10 +3336,10 @@ const di = {
|
|
|
3306
3336
|
}
|
|
3307
3337
|
}, fl = {
|
|
3308
3338
|
// None specific to BsTooltip
|
|
3309
|
-
},
|
|
3339
|
+
}, bl = {
|
|
3310
3340
|
...le({
|
|
3311
3341
|
name: "BsTooltip",
|
|
3312
|
-
defs:
|
|
3342
|
+
defs: bt,
|
|
3313
3343
|
keysToOmit: [
|
|
3314
3344
|
"backdrop",
|
|
3315
3345
|
"persist",
|
|
@@ -3325,10 +3355,10 @@ const di = {
|
|
|
3325
3355
|
]
|
|
3326
3356
|
}),
|
|
3327
3357
|
...Wn
|
|
3328
|
-
},
|
|
3358
|
+
}, hl = {
|
|
3329
3359
|
...le({
|
|
3330
3360
|
name: "BsTooltip",
|
|
3331
|
-
defs:
|
|
3361
|
+
defs: ht,
|
|
3332
3362
|
keysToOmit: [
|
|
3333
3363
|
"beforeCancel",
|
|
3334
3364
|
"beforeConfirm",
|
|
@@ -3352,8 +3382,8 @@ const di = {
|
|
|
3352
3382
|
}
|
|
3353
3383
|
}, vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3354
3384
|
__proto__: null,
|
|
3355
|
-
emitDefinitions:
|
|
3356
|
-
propDefinitions:
|
|
3385
|
+
emitDefinitions: hl,
|
|
3386
|
+
propDefinitions: bl,
|
|
3357
3387
|
slotDefinitions: vl
|
|
3358
3388
|
}, Symbol.toStringTag, { value: "Module" })), Ht = {
|
|
3359
3389
|
id: {
|
|
@@ -3505,7 +3535,7 @@ function yl() {
|
|
|
3505
3535
|
onQuery: t
|
|
3506
3536
|
};
|
|
3507
3537
|
}
|
|
3508
|
-
const
|
|
3538
|
+
const hi = {
|
|
3509
3539
|
open: {
|
|
3510
3540
|
description: "Fires when the BsTypeahead dropdown opens.",
|
|
3511
3541
|
payloadType: "{ id }"
|
|
@@ -3538,7 +3568,7 @@ const bi = {
|
|
|
3538
3568
|
typeDef: "string"
|
|
3539
3569
|
}
|
|
3540
3570
|
}, yi = {
|
|
3541
|
-
...
|
|
3571
|
+
...hi,
|
|
3542
3572
|
// these don't need to be defined as an emit in the component since using defineModel()
|
|
3543
3573
|
"update:model-value": {
|
|
3544
3574
|
description: "Fires when the model changes. Emits the updated model value.",
|
|
@@ -3752,7 +3782,7 @@ const Dl = ["id", "data-stacked"], kl = ["data-open"], Tl = ["aria-controls", "a
|
|
|
3752
3782
|
o("toggled", l.value), t.controlled || (a.value = !a.value);
|
|
3753
3783
|
}
|
|
3754
3784
|
return (v, B) => (d(), y("div", {
|
|
3755
|
-
id:
|
|
3785
|
+
id: h(l),
|
|
3756
3786
|
ref_key: "containerRef",
|
|
3757
3787
|
ref: i,
|
|
3758
3788
|
class: "bs-accordion",
|
|
@@ -3772,7 +3802,7 @@ const Dl = ["id", "data-stacked"], kl = ["data-open"], Tl = ["aria-controls", "a
|
|
|
3772
3802
|
}, [
|
|
3773
3803
|
v.icon || v.$slots.icon ? (d(), y("span", $l, [
|
|
3774
3804
|
A(v.$slots, "icon", {}, () => [
|
|
3775
|
-
typeof v.icon == "string" ? (d(), P(
|
|
3805
|
+
typeof v.icon == "string" ? (d(), P(h(ze), {
|
|
3776
3806
|
key: 0,
|
|
3777
3807
|
name: v.icon
|
|
3778
3808
|
}, null, 8, ["name"])) : (d(), P(ie(v.icon), { key: 1 }))
|
|
@@ -3783,7 +3813,7 @@ const Dl = ["id", "data-stacked"], kl = ["data-open"], Tl = ["aria-controls", "a
|
|
|
3783
3813
|
Q(j(v.headerText), 1)
|
|
3784
3814
|
])
|
|
3785
3815
|
], 8, Il),
|
|
3786
|
-
F(
|
|
3816
|
+
F(h(Ge), {
|
|
3787
3817
|
size: "md",
|
|
3788
3818
|
"data-position": "end"
|
|
3789
3819
|
})
|
|
@@ -3805,7 +3835,7 @@ const Dl = ["id", "data-stacked"], kl = ["data-open"], Tl = ["aria-controls", "a
|
|
|
3805
3835
|
}
|
|
3806
3836
|
};
|
|
3807
3837
|
function vt(e, n = "button") {
|
|
3808
|
-
const t = f(() =>
|
|
3838
|
+
const t = f(() => h(e)), o = f(() => t.value.as || a(t.value)), i = f(() => s(o.value, t.value));
|
|
3809
3839
|
function a(r) {
|
|
3810
3840
|
const c = { linkTo: "a", href: "a", onClick: "button" }, u = Object.keys(c).find((p) => r[p]);
|
|
3811
3841
|
return c[u] || n;
|
|
@@ -3832,18 +3862,18 @@ function vt(e, n = "button") {
|
|
|
3832
3862
|
function en(e) {
|
|
3833
3863
|
const n = f(() => {
|
|
3834
3864
|
var l, s;
|
|
3835
|
-
const a =
|
|
3865
|
+
const a = h(e);
|
|
3836
3866
|
return a.linkTo && typeof a.linkTo == "object" ? ((s = (l = a.router) == null ? void 0 : l.resolve(a.linkTo)) == null ? void 0 : s.path) || "" : a.linkTo || a.href || "";
|
|
3837
3867
|
}), t = f(() => {
|
|
3838
3868
|
var a, l;
|
|
3839
3869
|
return ((l = (a = n.value) == null ? void 0 : a.startsWith) == null ? void 0 : l.call(a, "/")) || !1;
|
|
3840
3870
|
}), o = f(() => {
|
|
3841
3871
|
var l, s;
|
|
3842
|
-
const a =
|
|
3872
|
+
const a = h(e);
|
|
3843
3873
|
return t.value && ((l = a.router) == null ? void 0 : l.navigateTo) || ((s = a.router) == null ? void 0 : s.push) || null;
|
|
3844
3874
|
});
|
|
3845
3875
|
function i(a) {
|
|
3846
|
-
if (
|
|
3876
|
+
if (h(e).disabled) {
|
|
3847
3877
|
a.preventDefault(), a.stopImmediatePropagation();
|
|
3848
3878
|
return;
|
|
3849
3879
|
}
|
|
@@ -3886,7 +3916,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
3886
3916
|
if (n.hoverEffect)
|
|
3887
3917
|
return n.iconPosition;
|
|
3888
3918
|
}), r = f(() => n.icon ? n.icon : n.iconPosition === "left" ? n.textBtn || n.size === "sm" ? Do : Xt : n.textBtn || n.size === "sm" ? ko : Yt), c = f(() => n.textBtn || !!(t != null && t.default)), u = f(() => c.value && n.iconPosition !== "left"), p = f(() => c.value && n.iconPosition === "left"), v = f(() => n.variant ? `color-${n.variant}` : void 0);
|
|
3889
|
-
return (B, w) => (d(), P(ie(
|
|
3919
|
+
return (B, w) => (d(), P(ie(h(o)), X({
|
|
3890
3920
|
class: "bs-circle-button",
|
|
3891
3921
|
"data-disabled": B.disabled,
|
|
3892
3922
|
"data-direction": s.value,
|
|
@@ -3895,7 +3925,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
3895
3925
|
"data-text": c.value || void 0,
|
|
3896
3926
|
"data-variant": v.value,
|
|
3897
3927
|
"data-component": "bs-circle-button"
|
|
3898
|
-
}, { ...
|
|
3928
|
+
}, { ...h(i), ...l.value }, { onClick: h(a) }), {
|
|
3899
3929
|
default: V(() => [
|
|
3900
3930
|
u.value ? (d(), y("span", Ol, [
|
|
3901
3931
|
A(B.$slots, "default", {}, () => [
|
|
@@ -3904,7 +3934,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
3904
3934
|
])) : O("", !0),
|
|
3905
3935
|
C("span", Pl, [
|
|
3906
3936
|
A(B.$slots, "icon", {}, () => [
|
|
3907
|
-
typeof r.value == "string" ? (d(), P(
|
|
3937
|
+
typeof r.value == "string" ? (d(), P(h(ze), {
|
|
3908
3938
|
key: 0,
|
|
3909
3939
|
name: r.value
|
|
3910
3940
|
}, null, 8, ["name"])) : (d(), P(ie(r.value), { key: 1 }))
|
|
@@ -3966,6 +3996,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
3966
3996
|
},
|
|
3967
3997
|
setup(e) {
|
|
3968
3998
|
return J(e, "router", void 0, "If client-side rendering is desired, use 'RouterLink' or 'NuxtLink' instead."), (t, o) => (d(), P(Bi, {
|
|
3999
|
+
"data-component": "bs-caret-text-button",
|
|
3969
4000
|
disabled: e.disabled,
|
|
3970
4001
|
"ghost-btn": e.ghostBtn,
|
|
3971
4002
|
"hover-effect": e.hoverEffect,
|
|
@@ -3978,7 +4009,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
3978
4009
|
variant: e.variant
|
|
3979
4010
|
}, {
|
|
3980
4011
|
icon: V(() => [
|
|
3981
|
-
e.direction == "right" ? (d(), P(
|
|
4012
|
+
e.direction == "right" ? (d(), P(h(ko), { key: 0 })) : (d(), P(h(Do), { key: 1 }))
|
|
3982
4013
|
]),
|
|
3983
4014
|
default: V(() => [
|
|
3984
4015
|
A(t.$slots, "default", {}, () => [
|
|
@@ -4012,6 +4043,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4012
4043
|
}), a = f(() => t.actionLinkTo ? typeof t.actionLinkTo == "object" ? !1 : !!t.actionLinkTo.startsWith("http") : !0);
|
|
4013
4044
|
return (l, s) => (d(), y("div", {
|
|
4014
4045
|
class: "bs-alert",
|
|
4046
|
+
"data-component": "bs-alert",
|
|
4015
4047
|
"data-horizontal": l.horizontal ? "true" : void 0,
|
|
4016
4048
|
"data-variant": l.variant,
|
|
4017
4049
|
role: "alert"
|
|
@@ -4019,7 +4051,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4019
4051
|
C("div", Ll, [
|
|
4020
4052
|
A(l.$slots, "icon", {}, () => [
|
|
4021
4053
|
l.icon ? (d(), y(ee, { key: 0 }, [
|
|
4022
|
-
typeof l.icon == "string" ? (d(), P(
|
|
4054
|
+
typeof l.icon == "string" ? (d(), P(h(ze), {
|
|
4023
4055
|
key: 0,
|
|
4024
4056
|
name: l.icon,
|
|
4025
4057
|
size: "auto"
|
|
@@ -4027,7 +4059,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4027
4059
|
key: 1,
|
|
4028
4060
|
size: "auto"
|
|
4029
4061
|
}))
|
|
4030
|
-
], 64)) : (d(), P(
|
|
4062
|
+
], 64)) : (d(), P(h(In), {
|
|
4031
4063
|
key: 1,
|
|
4032
4064
|
size: "auto"
|
|
4033
4065
|
}))
|
|
@@ -4051,7 +4083,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4051
4083
|
type: "button",
|
|
4052
4084
|
onClick: s[0] || (s[0] = (r) => o("close"))
|
|
4053
4085
|
}, [
|
|
4054
|
-
F(
|
|
4086
|
+
F(h(xe))
|
|
4055
4087
|
])),
|
|
4056
4088
|
l.actionLabel ? (d(), y(ee, { key: 2 }, [
|
|
4057
4089
|
a.value ? (d(), P(so, {
|
|
@@ -4152,6 +4184,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4152
4184
|
w.active ? (d(), y("div", {
|
|
4153
4185
|
key: 0,
|
|
4154
4186
|
class: "bs-backdrop",
|
|
4187
|
+
"data-component": "bs-backdrop",
|
|
4155
4188
|
style: Tt(`--bs-backdrop-transition-duration: ${a.value}`),
|
|
4156
4189
|
"aria-hidden": "true"
|
|
4157
4190
|
}, null, 4)) : O("", !0)
|
|
@@ -4206,7 +4239,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4206
4239
|
C("div", Nl, [
|
|
4207
4240
|
A(a.$slots, "icon", {}, () => [
|
|
4208
4241
|
a.icon ? (d(), y(ee, { key: 0 }, [
|
|
4209
|
-
typeof a.icon == "string" ? (d(), P(
|
|
4242
|
+
typeof a.icon == "string" ? (d(), P(h(ze), {
|
|
4210
4243
|
key: 0,
|
|
4211
4244
|
name: a.icon,
|
|
4212
4245
|
size: "md"
|
|
@@ -4214,7 +4247,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4214
4247
|
key: 1,
|
|
4215
4248
|
size: "md"
|
|
4216
4249
|
}))
|
|
4217
|
-
], 64)) : (d(), P(
|
|
4250
|
+
], 64)) : (d(), P(h(Sn), {
|
|
4218
4251
|
key: 1,
|
|
4219
4252
|
size: "md"
|
|
4220
4253
|
}))
|
|
@@ -4228,7 +4261,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4228
4261
|
title: "Close Banner",
|
|
4229
4262
|
onClick: i
|
|
4230
4263
|
}, [
|
|
4231
|
-
F(
|
|
4264
|
+
F(h(xe))
|
|
4232
4265
|
])
|
|
4233
4266
|
])
|
|
4234
4267
|
], 8, Fl));
|
|
@@ -4240,16 +4273,16 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4240
4273
|
const n = e;
|
|
4241
4274
|
J(n, "router", void 0, "If client-side rendering is desired, use 'RouterLink' or 'NuxtLink' instead."), J(n, "textBtn", void 0, "Use the 'BsTextButton' component instead.");
|
|
4242
4275
|
const { rootTag: t, buttonOrLinkAttrs: o } = vt(n), { onLinkClick: i } = en(n), { popAttrs: a, popSlotProps: l } = Zt(n);
|
|
4243
|
-
return (s, r) => (d(), P(ie(
|
|
4276
|
+
return (s, r) => (d(), P(ie(h(t)), X({
|
|
4244
4277
|
class: !s.unstyled && "bs-button",
|
|
4245
4278
|
"data-component": "bs-button",
|
|
4246
4279
|
"data-ghost": s.ghostBtn || void 0,
|
|
4247
4280
|
"data-size": s.size || void 0,
|
|
4248
4281
|
"data-text": s.textBtn || void 0,
|
|
4249
4282
|
"data-variant": s.variant || void 0
|
|
4250
|
-
}, { ...
|
|
4283
|
+
}, { ...h(o), ...h(a) }, { onClick: h(i) }), {
|
|
4251
4284
|
default: V(() => [
|
|
4252
|
-
A(s.$slots, "default", $e(Ie(
|
|
4285
|
+
A(s.$slots, "default", $e(Ie(h(l))))
|
|
4253
4286
|
]),
|
|
4254
4287
|
_: 3
|
|
4255
4288
|
}, 16, ["class", "data-ghost", "data-size", "data-text", "data-variant", "onClick"]));
|
|
@@ -4410,11 +4443,12 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4410
4443
|
emits: ["clear"],
|
|
4411
4444
|
setup(e, { emit: n }) {
|
|
4412
4445
|
return (t, o) => (d(), P(on, {
|
|
4446
|
+
"data-component": "bs-input-date-single",
|
|
4413
4447
|
disabled: e.disabled,
|
|
4414
4448
|
error: e.error
|
|
4415
4449
|
}, {
|
|
4416
4450
|
default: V(() => [
|
|
4417
|
-
F(
|
|
4451
|
+
F(h(To)),
|
|
4418
4452
|
F(lt, X({
|
|
4419
4453
|
"data-autowidth": "",
|
|
4420
4454
|
disabled: e.disabled,
|
|
@@ -4429,7 +4463,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4429
4463
|
class: "bs-calendar-clear-btn",
|
|
4430
4464
|
onClick: o[0] || (o[0] = (i) => t.$emit("clear"))
|
|
4431
4465
|
}, [
|
|
4432
|
-
F(
|
|
4466
|
+
F(h(xe), {
|
|
4433
4467
|
size: "sm",
|
|
4434
4468
|
class: "bs-text-black"
|
|
4435
4469
|
})
|
|
@@ -4496,11 +4530,12 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4496
4530
|
}
|
|
4497
4531
|
const u = f(() => t.listeners.start ? t.listeners.start : {}), p = f(() => t.listeners.end ? t.listeners.end : {});
|
|
4498
4532
|
return (v, B) => (d(), P(on, {
|
|
4533
|
+
"data-component": "bs-input-date-range",
|
|
4499
4534
|
disabled: e.disabled,
|
|
4500
4535
|
error: e.error
|
|
4501
4536
|
}, {
|
|
4502
4537
|
default: V(() => [
|
|
4503
|
-
F(
|
|
4538
|
+
F(h(To)),
|
|
4504
4539
|
F(lt, {
|
|
4505
4540
|
"data-autowidth": "",
|
|
4506
4541
|
disabled: e.disabled,
|
|
@@ -4534,7 +4569,7 @@ const Ol = { key: 0 }, Pl = {
|
|
|
4534
4569
|
class: "bs-calendar-clear-btn",
|
|
4535
4570
|
onClick: B[1] || (B[1] = (w) => v.$emit("clear"))
|
|
4536
4571
|
}, [
|
|
4537
|
-
F(
|
|
4572
|
+
F(h(xe), {
|
|
4538
4573
|
size: "sm",
|
|
4539
4574
|
class: "bs-text-black"
|
|
4540
4575
|
})
|
|
@@ -4574,7 +4609,7 @@ function ot(e, n, t = []) {
|
|
|
4574
4609
|
}), t.length && G(t, () => n(o));
|
|
4575
4610
|
}
|
|
4576
4611
|
function Ae(e = []) {
|
|
4577
|
-
const n = We(), t = (l) =>
|
|
4612
|
+
const n = We(), t = (l) => h(e).includes(l), o = f(() => Object.entries(n)), i = f(() => Object.fromEntries(
|
|
4578
4613
|
o.value.filter(([l]) => t(l))
|
|
4579
4614
|
)), a = f(() => Object.fromEntries(
|
|
4580
4615
|
o.value.filter(([l]) => !t(l))
|
|
@@ -4591,15 +4626,15 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4591
4626
|
var S;
|
|
4592
4627
|
return (S = t.exclusiveDates) != null && S.length ? $(t.exclusiveDates) : t.disabledDates;
|
|
4593
4628
|
}
|
|
4594
|
-
), v = f(() => t.inputId || l.value), B = f(() => ({ range: t.isRange })), w = f(() => t.showClear && t.modelValue && !t.disabled), g = f(() => !!(t.error && t.errorMsg || t.hint)), m = f(() => t.step),
|
|
4629
|
+
), v = f(() => t.inputId || l.value), B = f(() => ({ range: t.isRange })), w = f(() => t.showClear && t.modelValue && !t.disabled), g = f(() => !!(t.error && t.errorMsg || t.hint)), m = f(() => t.step), b = f(() => t.variant);
|
|
4595
4630
|
Jl(a), ot(
|
|
4596
4631
|
lo,
|
|
4597
|
-
(S) => i.value = S != null && S.matches &&
|
|
4598
|
-
[
|
|
4632
|
+
(S) => i.value = S != null && S.matches && b.value == "2-col" ? 2 : 1,
|
|
4633
|
+
[b]
|
|
4599
4634
|
), ot(
|
|
4600
4635
|
lo,
|
|
4601
|
-
(S) => r.value = S != null && S.matches &&
|
|
4602
|
-
[m,
|
|
4636
|
+
(S) => r.value = S != null && S.matches && b.value == "2-col" ? m.value : 1,
|
|
4637
|
+
[m, b]
|
|
4603
4638
|
), oe(() => {
|
|
4604
4639
|
t.inputMode || setTimeout(k, 100);
|
|
4605
4640
|
}), G(() => {
|
|
@@ -4637,7 +4672,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4637
4672
|
"data-component": "bs-calendar",
|
|
4638
4673
|
"data-range": S.isRange,
|
|
4639
4674
|
onFocusout: N
|
|
4640
|
-
},
|
|
4675
|
+
}, h(c)), [
|
|
4641
4676
|
S.label || S.$slots.label ? (d(), P(De, {
|
|
4642
4677
|
key: 0,
|
|
4643
4678
|
for: v.value,
|
|
@@ -4651,7 +4686,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4651
4686
|
]),
|
|
4652
4687
|
_: 3
|
|
4653
4688
|
}, 8, ["for", "disabled", "required"])) : O("", !0),
|
|
4654
|
-
F(
|
|
4689
|
+
F(h(ua), X({
|
|
4655
4690
|
ref_key: "calendar",
|
|
4656
4691
|
ref: o,
|
|
4657
4692
|
columns: i.value,
|
|
@@ -4665,7 +4700,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4665
4700
|
rows: 1,
|
|
4666
4701
|
step: r.value,
|
|
4667
4702
|
"onUpdate:modelValue": T[2] || (T[2] = (L) => S.$emit("update:modelValue", L))
|
|
4668
|
-
},
|
|
4703
|
+
}, h(u)), St({ _: 2 }, [
|
|
4669
4704
|
S.inputMode ? {
|
|
4670
4705
|
name: "default",
|
|
4671
4706
|
fn: V(({ inputValue: L, inputEvents: W, showPopover: Y }) => [
|
|
@@ -4704,7 +4739,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4704
4739
|
error: S.error,
|
|
4705
4740
|
"error-msg": S.errorMsg,
|
|
4706
4741
|
hint: S.hint,
|
|
4707
|
-
"hint-id":
|
|
4742
|
+
"hint-id": h(s)
|
|
4708
4743
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
4709
4744
|
], 16, _l));
|
|
4710
4745
|
}
|
|
@@ -4743,6 +4778,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4743
4778
|
},
|
|
4744
4779
|
setup(e) {
|
|
4745
4780
|
return J(e, "router", void 0, "If client-side rendering is desired, use 'RouterLink' or 'NuxtLink' instead."), (t, o) => (d(), P(Bi, {
|
|
4781
|
+
"data-component": "bs-caret-button",
|
|
4746
4782
|
disabled: e.disabled,
|
|
4747
4783
|
"ghost-btn": e.ghostBtn,
|
|
4748
4784
|
"hover-effect": e.hoverEffect,
|
|
@@ -4754,7 +4790,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4754
4790
|
"text-btn": !1
|
|
4755
4791
|
}, {
|
|
4756
4792
|
icon: V(() => [
|
|
4757
|
-
e.direction == "right" ? (d(), P(
|
|
4793
|
+
e.direction == "right" ? (d(), P(h(Yt), { key: 0 })) : (d(), P(h(Xt), { key: 1 }))
|
|
4758
4794
|
]),
|
|
4759
4795
|
_: 1
|
|
4760
4796
|
}, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
|
|
@@ -4822,13 +4858,13 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4822
4858
|
function l(u) {
|
|
4823
4859
|
try {
|
|
4824
4860
|
const p = u.reduce((w, g) => {
|
|
4825
|
-
const m = g.data.map((
|
|
4861
|
+
const m = g.data.map((b) => b == null ? void 0 : b.x);
|
|
4826
4862
|
return [...w, ...m];
|
|
4827
4863
|
}, []), v = Array.from(new Set(p));
|
|
4828
4864
|
return (n.xAxisType === "time" || n.xAxisType === "linear") && v.sort((w, g) => (typeof w == "string" && typeof g == "string" && (w = w.toLowerCase(), g = g.toLowerCase()), w < g ? -1 : w > g ? 1 : 0)), v.map((w) => {
|
|
4829
4865
|
const g = { rowLabel: w }, m = [];
|
|
4830
|
-
return u.forEach((
|
|
4831
|
-
const D = { datasetLabel:
|
|
4866
|
+
return u.forEach((b) => {
|
|
4867
|
+
const D = { datasetLabel: b.label }, $ = b.data.find((N) => N.x === w);
|
|
4832
4868
|
D.value = $ ? $.y : null, m.push(D);
|
|
4833
4869
|
}), g.dataCells = m, n.xAxisType === "time" && (g.rowLabelFmt = o(w)), g;
|
|
4834
4870
|
});
|
|
@@ -4897,7 +4933,7 @@ const _l = ["data-range"], lo = "(min-width: 752px)", Df = /* @__PURE__ */ Objec
|
|
|
4897
4933
|
function lr(e, n) {
|
|
4898
4934
|
const t = I(null), o = I(!1), i = I(null), a = "(min-width: 1166px)", l = { tickSize: Dt }, s = { tickSize: sr };
|
|
4899
4935
|
let r, c;
|
|
4900
|
-
function u(m,
|
|
4936
|
+
function u(m, b) {
|
|
4901
4937
|
let D;
|
|
4902
4938
|
switch (m) {
|
|
4903
4939
|
case "bar":
|
|
@@ -4909,19 +4945,19 @@ function lr(e, n) {
|
|
|
4909
4945
|
default:
|
|
4910
4946
|
throw new Error(`Unsupported chart type: ${m}`);
|
|
4911
4947
|
}
|
|
4912
|
-
return new fr().setCommonConfigs(
|
|
4948
|
+
return new fr().setCommonConfigs(b).setCustomOptions(b)[D](b).setPlugins([rr(i), ca]).build();
|
|
4913
4949
|
}
|
|
4914
4950
|
function p(m) {
|
|
4915
4951
|
m.preventDefault(), m.stopImmediatePropagation();
|
|
4916
|
-
const
|
|
4917
|
-
if (
|
|
4918
|
-
const { labelIndex: D, datasetIndex: $ } =
|
|
4952
|
+
const b = m.target.closest("li");
|
|
4953
|
+
if (b && r) {
|
|
4954
|
+
const { labelIndex: D, datasetIndex: $ } = b.dataset;
|
|
4919
4955
|
r.setDatasetVisibility($, !r.isDatasetVisible($)), r.update(), m.preventDefault(), m.stopImmediatePropagation(), v($, D);
|
|
4920
4956
|
}
|
|
4921
4957
|
}
|
|
4922
|
-
function v(m,
|
|
4958
|
+
function v(m, b) {
|
|
4923
4959
|
var N;
|
|
4924
|
-
const D = `[data-dataset-index="${m}"][data-label-index="${
|
|
4960
|
+
const D = `[data-dataset-index="${m}"][data-label-index="${b}"]`, $ = i.value.querySelector(D);
|
|
4925
4961
|
(N = $ == null ? void 0 : $.focus) == null || N.call($);
|
|
4926
4962
|
}
|
|
4927
4963
|
function B(...m) {
|
|
@@ -4940,8 +4976,8 @@ function lr(e, n) {
|
|
|
4940
4976
|
var m;
|
|
4941
4977
|
try {
|
|
4942
4978
|
c = u(e, n), (m = i.value) == null || m.addEventListener("click", p);
|
|
4943
|
-
} catch (
|
|
4944
|
-
console.error("Error creating chart config",
|
|
4979
|
+
} catch (b) {
|
|
4980
|
+
console.error("Error creating chart config", b), c = null;
|
|
4945
4981
|
}
|
|
4946
4982
|
}), Xe([" ", "Enter"], p, i), $t(() => {
|
|
4947
4983
|
var m;
|
|
@@ -5278,10 +5314,10 @@ class fr {
|
|
|
5278
5314
|
}
|
|
5279
5315
|
}
|
|
5280
5316
|
}
|
|
5281
|
-
const
|
|
5317
|
+
const br = {
|
|
5282
5318
|
class: "bs-chart bs-chart-bar",
|
|
5283
5319
|
"data-component": "bs-chart-bar"
|
|
5284
|
-
},
|
|
5320
|
+
}, hr = ["aria-label"], vr = ["data-hidden"], Tf = {
|
|
5285
5321
|
__name: "BsChartBar",
|
|
5286
5322
|
props: {
|
|
5287
5323
|
chartTitle: {
|
|
@@ -5356,12 +5392,12 @@ const hr = {
|
|
|
5356
5392
|
return oe(() => i(
|
|
5357
5393
|
pa,
|
|
5358
5394
|
fa,
|
|
5359
|
-
ha,
|
|
5360
5395
|
ba,
|
|
5396
|
+
ha,
|
|
5361
5397
|
va,
|
|
5362
5398
|
ya,
|
|
5363
5399
|
ma
|
|
5364
|
-
)), (l, s) => (d(), y("div",
|
|
5400
|
+
)), (l, s) => (d(), y("div", br, [
|
|
5365
5401
|
C("figure", null, [
|
|
5366
5402
|
C("div", null, [
|
|
5367
5403
|
C("canvas", {
|
|
@@ -5369,7 +5405,7 @@ const hr = {
|
|
|
5369
5405
|
ref_key: "canvasRef",
|
|
5370
5406
|
ref: t,
|
|
5371
5407
|
role: "img"
|
|
5372
|
-
}, null, 8,
|
|
5408
|
+
}, null, 8, hr)
|
|
5373
5409
|
]),
|
|
5374
5410
|
C("div", null, [
|
|
5375
5411
|
F(ar, {
|
|
@@ -5449,44 +5485,44 @@ const hr = {
|
|
|
5449
5485
|
function B() {
|
|
5450
5486
|
s.value && (s.value.indeterminate = u.value && !c.value);
|
|
5451
5487
|
}
|
|
5452
|
-
function w(
|
|
5453
|
-
o("update:modelValue",
|
|
5488
|
+
function w(b) {
|
|
5489
|
+
o("update:modelValue", b);
|
|
5454
5490
|
}
|
|
5455
|
-
function g(
|
|
5491
|
+
function g(b) {
|
|
5456
5492
|
const D = [...t.modelValue];
|
|
5457
|
-
|
|
5493
|
+
b ? D.push(t.value) : D.splice(D.indexOf(t.value), 1), o("update:modelValue", D);
|
|
5458
5494
|
}
|
|
5459
|
-
function m(
|
|
5460
|
-
const { checked: D } =
|
|
5495
|
+
function m(b) {
|
|
5496
|
+
const { checked: D } = b.target;
|
|
5461
5497
|
p.value ? g(D) : w(D);
|
|
5462
5498
|
}
|
|
5463
|
-
return G(c, B), G(u, B), oe(B), (
|
|
5499
|
+
return G(c, B), G(u, B), oe(B), (b, D) => (d(), y("div", X({
|
|
5464
5500
|
class: "bs-boolean",
|
|
5465
5501
|
"data-component": "bs-checkbox",
|
|
5466
5502
|
"data-disabled": e.disabled,
|
|
5467
5503
|
"data-error": e.error,
|
|
5468
5504
|
"data-size": e.size
|
|
5469
|
-
},
|
|
5505
|
+
}, h(a)), [
|
|
5470
5506
|
C("input", X({
|
|
5471
5507
|
ref_key: "inputEl",
|
|
5472
5508
|
ref: s,
|
|
5473
5509
|
checked: c.value,
|
|
5474
5510
|
"data-error": e.error,
|
|
5475
5511
|
disabled: e.disabled,
|
|
5476
|
-
id:
|
|
5512
|
+
id: b.$attrs.id || r.value,
|
|
5477
5513
|
required: e.required,
|
|
5478
5514
|
value: e.value || "on",
|
|
5479
5515
|
type: "checkbox",
|
|
5480
5516
|
onChange: m
|
|
5481
|
-
},
|
|
5482
|
-
e.label ||
|
|
5517
|
+
}, h(l)), null, 16, mr),
|
|
5518
|
+
e.label || b.$slots.label ? (d(), P(De, {
|
|
5483
5519
|
key: 0,
|
|
5484
|
-
for:
|
|
5520
|
+
for: b.$attrs.id || r.value,
|
|
5485
5521
|
disabled: e.disabled,
|
|
5486
5522
|
required: e.required
|
|
5487
5523
|
}, {
|
|
5488
5524
|
default: V(() => [
|
|
5489
|
-
A(
|
|
5525
|
+
A(b.$slots, "label", {}, () => [
|
|
5490
5526
|
Q(j(e.label), 1)
|
|
5491
5527
|
])
|
|
5492
5528
|
]),
|
|
@@ -5507,7 +5543,7 @@ const hr = {
|
|
|
5507
5543
|
}, {
|
|
5508
5544
|
default: V(() => [
|
|
5509
5545
|
A(n.$slots, "default", {}, () => [
|
|
5510
|
-
F(
|
|
5546
|
+
F(h(xe), { "aria-hidden": "true" })
|
|
5511
5547
|
])
|
|
5512
5548
|
]),
|
|
5513
5549
|
_: 3
|
|
@@ -5596,10 +5632,10 @@ G(() => Tn.value > 0, (e) => {
|
|
|
5596
5632
|
e ? kr() : Tr();
|
|
5597
5633
|
});
|
|
5598
5634
|
function Dr({ props: e, shouldListen: n = !0 }) {
|
|
5599
|
-
G(() =>
|
|
5635
|
+
G(() => h(n), (t, o, i) => {
|
|
5600
5636
|
t && (++Tn.value, i(() => --Tn.value));
|
|
5601
5637
|
}, { immediate: !0 }), G(ft, (t, o, i) => {
|
|
5602
|
-
if (!t || !
|
|
5638
|
+
if (!t || !h(n) || !$r(t.popTriggerEl, e)) return;
|
|
5603
5639
|
let a;
|
|
5604
5640
|
const { delay: l = 0 } = e || {};
|
|
5605
5641
|
if (l && t.event.type === "pointerover") {
|
|
@@ -5685,12 +5721,12 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5685
5721
|
`#${t.teleportTargetId}`,
|
|
5686
5722
|
"#bs-toast-teleport-target",
|
|
5687
5723
|
"script"
|
|
5688
|
-
].join(",")})`, B = I(), w = I(""), g = f(() => a.openIds.value.includes(t.id)), m = f(() => t.anchor || a.anchorsByPopId.value[t.id]),
|
|
5724
|
+
].join(",")})`, B = I(), w = I(""), g = f(() => a.openIds.value.includes(t.id)), m = f(() => t.anchor || a.anchorsByPopId.value[t.id]), b = f(() => m.value === "viewport"), D = f(() => {
|
|
5689
5725
|
if (i["aria-label"]) return;
|
|
5690
5726
|
const x = i["aria-labelledby"];
|
|
5691
|
-
return x || (B.value ? B.value :
|
|
5727
|
+
return x || (B.value ? B.value : b.value ? a.anchorsByPopId.value[t.id] : m.value);
|
|
5692
5728
|
}), $ = f(() => {
|
|
5693
|
-
const x =
|
|
5729
|
+
const x = b.value ? "center" : "top";
|
|
5694
5730
|
return t.place || x;
|
|
5695
5731
|
}), N = f(() => {
|
|
5696
5732
|
const x = t.transitionDuration.toString();
|
|
@@ -5703,16 +5739,16 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5703
5739
|
})), S = f(() => {
|
|
5704
5740
|
var x;
|
|
5705
5741
|
return ((x = a.popIdsByTrigger.value.popHover) == null ? void 0 : x.includes(t.id)) || t.type === "tooltip";
|
|
5706
|
-
}), T = f(() =>
|
|
5742
|
+
}), T = f(() => b.value ? null : u.value), L = f(() => b.value ? null : c.value);
|
|
5707
5743
|
G(g, () => {
|
|
5708
5744
|
we(), g.value ? ae() : z();
|
|
5709
|
-
}), G(m, we), G(a.lastCancelledId, (x) => t.id === x &&
|
|
5745
|
+
}), G(m, we), G(a.lastCancelledId, (x) => t.id === x && be("cancel")), G(a.lastConfirmedId, (x) => t.id === x && be("confirm")), G(() => t.anchor, ge, { immediate: !0 }), G(() => t.preventAutoClose, Z, { immediate: !0 }), G(() => t.preventClose, ke, { immediate: !0 }), G(() => t.preventCloseEsc, Te, { immediate: !0 }), G(() => t.preventCloseOutside, H, { immediate: !0 }), G(() => t.id, (x, M) => {
|
|
5710
5746
|
te(M), Y(x), ge(), Z(), ke(), Te(), H();
|
|
5711
5747
|
}), Dr({
|
|
5712
5748
|
props: t,
|
|
5713
5749
|
shouldListen: S
|
|
5714
5750
|
}), oe(Y), Oe(() => {
|
|
5715
|
-
te(), window.removeEventListener("resize",
|
|
5751
|
+
te(), window.removeEventListener("resize", he);
|
|
5716
5752
|
});
|
|
5717
5753
|
const { floatingStyles: W } = ga(T, L, {
|
|
5718
5754
|
placement: $,
|
|
@@ -5734,26 +5770,26 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5734
5770
|
function re(x) {
|
|
5735
5771
|
B.value = x;
|
|
5736
5772
|
}
|
|
5737
|
-
function
|
|
5773
|
+
function be(x) {
|
|
5738
5774
|
o(x, { id: t.id });
|
|
5739
5775
|
}
|
|
5740
5776
|
function ge() {
|
|
5741
|
-
const x =
|
|
5777
|
+
const x = b.value || !t.anchor ? null : m.value;
|
|
5742
5778
|
a.setAnchorId(t.id, x);
|
|
5743
5779
|
}
|
|
5744
5780
|
function we() {
|
|
5745
|
-
if (!g.value ||
|
|
5746
|
-
u.value = null,
|
|
5781
|
+
if (!g.value || b.value || !m.value) {
|
|
5782
|
+
u.value = null, he();
|
|
5747
5783
|
return;
|
|
5748
5784
|
}
|
|
5749
5785
|
const x = document.getElementById(m.value);
|
|
5750
5786
|
if (u.value !== x) {
|
|
5751
5787
|
if (!x)
|
|
5752
5788
|
throw new Error(`[BsPopover] No element found for given "anchor" id, "${m.value}".`);
|
|
5753
|
-
u.value = x,
|
|
5789
|
+
u.value = x, he();
|
|
5754
5790
|
}
|
|
5755
5791
|
}
|
|
5756
|
-
function
|
|
5792
|
+
function he() {
|
|
5757
5793
|
w.value = t.size === "anchor" && u.value ? `--bs-popover-width: ${u.value.offsetWidth}px` : "";
|
|
5758
5794
|
}
|
|
5759
5795
|
function ke() {
|
|
@@ -5773,10 +5809,10 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5773
5809
|
t.preventAutoClose && a.removeAutoClose(t.id);
|
|
5774
5810
|
}
|
|
5775
5811
|
function ae() {
|
|
5776
|
-
|
|
5812
|
+
be("open"), q(), r = b.value ? a.anchorsByPopId.value[t.id] : m.value, window.addEventListener("resize", he);
|
|
5777
5813
|
}
|
|
5778
5814
|
function z() {
|
|
5779
|
-
|
|
5815
|
+
be("close"), U(), E(), window.removeEventListener("resize", he);
|
|
5780
5816
|
}
|
|
5781
5817
|
function K() {
|
|
5782
5818
|
a.close(t.id);
|
|
@@ -5790,7 +5826,7 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5790
5826
|
async function E() {
|
|
5791
5827
|
if (a.wasOutsideClick.value && !t.backdrop || S.value) return;
|
|
5792
5828
|
const x = document.getElementById(r);
|
|
5793
|
-
|
|
5829
|
+
be("return-focus"), await Ve(), x == null || x.focus();
|
|
5794
5830
|
}
|
|
5795
5831
|
function q() {
|
|
5796
5832
|
var x, M;
|
|
@@ -5800,9 +5836,9 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5800
5836
|
var x;
|
|
5801
5837
|
(x = u.value) == null || x.classList.remove("bs-button-no-scale");
|
|
5802
5838
|
}
|
|
5803
|
-
return (x, M) =>
|
|
5839
|
+
return (x, M) => h(l) ? (d(), P(So, {
|
|
5804
5840
|
key: 0,
|
|
5805
|
-
to:
|
|
5841
|
+
to: h(s)
|
|
5806
5842
|
}, [
|
|
5807
5843
|
F(wt, {
|
|
5808
5844
|
name: x.transitionName,
|
|
@@ -5827,8 +5863,8 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5827
5863
|
ref: "popover",
|
|
5828
5864
|
class: "bs-popover",
|
|
5829
5865
|
"data-size": x.size,
|
|
5830
|
-
"data-place-self":
|
|
5831
|
-
style: [!
|
|
5866
|
+
"data-place-self": b.value ? $.value : void 0,
|
|
5867
|
+
style: [!b.value && h(W), w.value],
|
|
5832
5868
|
role: x.role,
|
|
5833
5869
|
"aria-labelledby": D.value,
|
|
5834
5870
|
"aria-modal": x.backdrop || void 0,
|
|
@@ -5842,7 +5878,7 @@ const Er = ["id"], Lr = ["id", "data-size", "data-place-self", "role", "aria-lab
|
|
|
5842
5878
|
"pop-cancel": "self"
|
|
5843
5879
|
})) : O("", !0)
|
|
5844
5880
|
], 16, Lr)), [
|
|
5845
|
-
[
|
|
5881
|
+
[h(Br), k.value]
|
|
5846
5882
|
])
|
|
5847
5883
|
], 8, Er)), [
|
|
5848
5884
|
[Pe, x.persist ? g.value : !0]
|
|
@@ -5936,7 +5972,7 @@ const xr = ["data-hide-input"], Mr = {
|
|
|
5936
5972
|
t.value = o.filter.value.query.value;
|
|
5937
5973
|
return;
|
|
5938
5974
|
}
|
|
5939
|
-
o.registerFilter({ query: u, onDropdownOpen:
|
|
5975
|
+
o.registerFilter({ query: u, onDropdownOpen: b, onDropdownClose: D });
|
|
5940
5976
|
}), Oe(() => {
|
|
5941
5977
|
o.unregisterFilter();
|
|
5942
5978
|
});
|
|
@@ -5950,7 +5986,7 @@ const xr = ["data-hide-input"], Mr = {
|
|
|
5950
5986
|
function m() {
|
|
5951
5987
|
s.value = !0;
|
|
5952
5988
|
}
|
|
5953
|
-
function
|
|
5989
|
+
function b() {
|
|
5954
5990
|
m();
|
|
5955
5991
|
}
|
|
5956
5992
|
function D() {
|
|
@@ -5969,11 +6005,14 @@ const xr = ["data-hide-input"], Mr = {
|
|
|
5969
6005
|
W.isVisible.value = c.value ? L(W).toLowerCase().includes(t.value.toLowerCase()) : !0;
|
|
5970
6006
|
}), g();
|
|
5971
6007
|
}
|
|
5972
|
-
return (k, S) => (d(), y("div", X({
|
|
6008
|
+
return (k, S) => (d(), y("div", X({
|
|
6009
|
+
class: "bs-dropdown-filter",
|
|
6010
|
+
"data-component": "bs-dropdown-filter"
|
|
6011
|
+
}, h(a), {
|
|
5973
6012
|
"data-hide-input": k.hideInput || void 0
|
|
5974
6013
|
}), [
|
|
5975
6014
|
k.hideInput ? O("", !0) : (d(), y("div", Mr, [
|
|
5976
|
-
F(
|
|
6015
|
+
F(h($o), {
|
|
5977
6016
|
class: "bs-dropdown-filter-icon",
|
|
5978
6017
|
"aria-hidden": "true"
|
|
5979
6018
|
}),
|
|
@@ -5983,11 +6022,11 @@ const xr = ["data-hide-input"], Mr = {
|
|
|
5983
6022
|
modelValue: t.value,
|
|
5984
6023
|
"onUpdate:modelValue": S[0] || (S[0] = (T) => t.value = T),
|
|
5985
6024
|
modelModifiers: { trim: !0 }
|
|
5986
|
-
},
|
|
6025
|
+
}, h(l), {
|
|
5987
6026
|
placeholder: k.placeholder,
|
|
5988
6027
|
onBlur: S[1] || (S[1] = (T) => s.value = !1)
|
|
5989
6028
|
}), null, 16, ["modelValue", "placeholder"]), [
|
|
5990
|
-
[
|
|
6029
|
+
[h($i), s.value]
|
|
5991
6030
|
]),
|
|
5992
6031
|
t.value ? (d(), y("button", {
|
|
5993
6032
|
key: 0,
|
|
@@ -5996,7 +6035,7 @@ const xr = ["data-hide-input"], Mr = {
|
|
|
5996
6035
|
"aria-label": "Clear",
|
|
5997
6036
|
onClick: Se($, ["stop"])
|
|
5998
6037
|
}, [
|
|
5999
|
-
F(
|
|
6038
|
+
F(h(xe), { size: "sm" })
|
|
6000
6039
|
])) : O("", !0)
|
|
6001
6040
|
])),
|
|
6002
6041
|
w.value ? (d(), y("p", jr, j(w.value), 1)) : O("", !0)
|
|
@@ -6008,37 +6047,37 @@ function Fr(e, n, t, o) {
|
|
|
6008
6047
|
keysTyped: "",
|
|
6009
6048
|
lastTypedTimestamp: 0
|
|
6010
6049
|
}, l = f(() => {
|
|
6011
|
-
const m = Object.values(n.value),
|
|
6050
|
+
const m = Object.values(n.value), b = [], D = [];
|
|
6012
6051
|
let $;
|
|
6013
6052
|
for (let N = 0; N < m.length; N++) {
|
|
6014
6053
|
const k = m[N];
|
|
6015
|
-
k.isVisible.value && !k.props.disabled && (k.groupId !== $ && (
|
|
6054
|
+
k.isVisible.value && !k.props.disabled && (k.groupId !== $ && (b.push(...D), D.length = 0, $ = k.groupId), k.isSelectedToTop.value ? b.push(k.templateRef.value) : D.push(k.templateRef.value));
|
|
6016
6055
|
}
|
|
6017
|
-
return
|
|
6056
|
+
return b.push(...D), b;
|
|
6018
6057
|
}), s = f(() => i.value !== -1 ? l.value[i.value].getAttribute("id") : null);
|
|
6019
6058
|
Oe(() => {
|
|
6020
6059
|
w();
|
|
6021
6060
|
});
|
|
6022
6061
|
function r(m = -1) {
|
|
6023
6062
|
if (i.value === -1) {
|
|
6024
|
-
let
|
|
6025
|
-
for (; !e.multiple &&
|
|
6026
|
-
l.value[D].getAttribute("aria-selected") === "true" && (
|
|
6027
|
-
i.value =
|
|
6063
|
+
let b = m, D = 0;
|
|
6064
|
+
for (; !e.multiple && b === m && D < l.value.length; )
|
|
6065
|
+
l.value[D].getAttribute("aria-selected") === "true" && (b = D), D++;
|
|
6066
|
+
i.value = b;
|
|
6028
6067
|
}
|
|
6029
6068
|
}
|
|
6030
6069
|
function c(m) {
|
|
6031
|
-
const
|
|
6070
|
+
const b = {
|
|
6032
6071
|
root: t.value,
|
|
6033
6072
|
rootMargin: "0px 0px 0px 0px"
|
|
6034
6073
|
}, D = new IntersectionObserver((N) => {
|
|
6035
6074
|
const k = N.reduce((S, T) => T.isIntersecting ? S + 1 : S, 0);
|
|
6036
6075
|
m(k - 1), D.disconnect();
|
|
6037
|
-
},
|
|
6076
|
+
}, b);
|
|
6038
6077
|
t.value.querySelectorAll('.bs-option[data-visible="true"]').forEach((N) => D.observe(N));
|
|
6039
6078
|
}
|
|
6040
6079
|
function u(m) {
|
|
6041
|
-
const
|
|
6080
|
+
const b = [
|
|
6042
6081
|
"ArrowDown",
|
|
6043
6082
|
"ArrowUp",
|
|
6044
6083
|
"ArrowRight",
|
|
@@ -6048,7 +6087,7 @@ function Fr(e, n, t, o) {
|
|
|
6048
6087
|
"PageUp",
|
|
6049
6088
|
"PageDown"
|
|
6050
6089
|
];
|
|
6051
|
-
if (l.value.length > 0 &&
|
|
6090
|
+
if (l.value.length > 0 && b.includes(m.key)) {
|
|
6052
6091
|
switch (r(), m.key) {
|
|
6053
6092
|
case "ArrowDown":
|
|
6054
6093
|
i.value = Math.min(i.value + 1, l.value.length - 1);
|
|
@@ -6083,8 +6122,8 @@ function Fr(e, n, t, o) {
|
|
|
6083
6122
|
[" ", "Enter", "NumpadEnter"].includes(m.key) && i.value !== -1 && (l.value[i.value].click(), m.preventDefault());
|
|
6084
6123
|
}
|
|
6085
6124
|
function v(m) {
|
|
6086
|
-
const
|
|
6087
|
-
if (l.value.length > 0 && !o.value &&
|
|
6125
|
+
const b = /^[a-zA-Z0-9]{1}$/;
|
|
6126
|
+
if (l.value.length > 0 && !o.value && b.test(m.key)) {
|
|
6088
6127
|
m.timeStamp - a.lastTypedTimestamp > 500 ? a.keysTyped = m.key.toLowerCase() : a.keysTyped += m.key.toLowerCase(), a.lastTypedTimestamp = m.timeStamp;
|
|
6089
6128
|
let D = !1, $ = 0;
|
|
6090
6129
|
for (; !D && $ < l.value.length; )
|
|
@@ -6147,7 +6186,7 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6147
6186
|
if (D.value.length > 0 && l.isOpen(n.id))
|
|
6148
6187
|
return 0;
|
|
6149
6188
|
}), w = f(() => n.mobileSheet === "tablet" && u.value || n.mobileSheet === "mobile" && c.value), g = f(() => w.value ? "viewport" : n.anchor), m = f(() => w.value ? "bottom" : n.place), {
|
|
6150
|
-
activeOptionId:
|
|
6189
|
+
activeOptionId: b,
|
|
6151
6190
|
filteredOptions: D,
|
|
6152
6191
|
addTraverseListListener: $,
|
|
6153
6192
|
initActiveIndex: N,
|
|
@@ -6160,12 +6199,12 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6160
6199
|
model: t,
|
|
6161
6200
|
setModel: Z,
|
|
6162
6201
|
isSelected: ke,
|
|
6163
|
-
wasPreviouslySelected:
|
|
6202
|
+
wasPreviouslySelected: he,
|
|
6164
6203
|
showPreviouslySelectedSeparator: we,
|
|
6165
6204
|
// BsOption
|
|
6166
6205
|
registerOption: T,
|
|
6167
6206
|
unregisterOption: L,
|
|
6168
|
-
activeOptionId:
|
|
6207
|
+
activeOptionId: b,
|
|
6169
6208
|
optionsById: s,
|
|
6170
6209
|
// BsDropdownFilter
|
|
6171
6210
|
registerFilter: W,
|
|
@@ -6197,14 +6236,14 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6197
6236
|
var z, K;
|
|
6198
6237
|
(K = (z = r.value).onDropdownClose) == null || K.call(z), k(), S();
|
|
6199
6238
|
}
|
|
6200
|
-
function
|
|
6239
|
+
function be() {
|
|
6201
6240
|
l.close(n.id);
|
|
6202
6241
|
}
|
|
6203
6242
|
const ge = f(() => we());
|
|
6204
6243
|
function we(z) {
|
|
6205
6244
|
return Object.values(s.value).some((K) => K.groupId === z && K.isSelectedToTop.value && K.isVisible.value) && Object.values(s.value).some((K) => K.groupId === z && !K.isSelectedToTop.value && K.isVisible.value);
|
|
6206
6245
|
}
|
|
6207
|
-
function
|
|
6246
|
+
function he(z) {
|
|
6208
6247
|
return Te(o.value, z);
|
|
6209
6248
|
}
|
|
6210
6249
|
function ke(z) {
|
|
@@ -6222,8 +6261,8 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6222
6261
|
return ve(z) && ve(K) ? typeof _ == "function" ? _(z) === _(K) : z[_] === K[_] : z === K;
|
|
6223
6262
|
}
|
|
6224
6263
|
function Z(z) {
|
|
6225
|
-
if (!n.multiple && ke(z)) return
|
|
6226
|
-
t.value = n.multiple ? ae(z) : z, n.multiple ||
|
|
6264
|
+
if (!n.multiple && ke(z)) return be();
|
|
6265
|
+
t.value = n.multiple ? ae(z) : z, n.multiple || be();
|
|
6227
6266
|
}
|
|
6228
6267
|
function ae(z) {
|
|
6229
6268
|
return t.value ? ke(z) ? t.value.filter((K) => !H(K, z)) : [...t.value, z] : [z];
|
|
@@ -6242,10 +6281,10 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6242
6281
|
"prevent-last-tab": "",
|
|
6243
6282
|
"trap-focus": "",
|
|
6244
6283
|
type: "dropdown",
|
|
6245
|
-
onAfterOpen:
|
|
6284
|
+
onAfterOpen: h($)
|
|
6246
6285
|
}, { [Gi(p.value)]: re }, {
|
|
6247
|
-
onFirstShiftTab: K[4] || (K[4] = (_) =>
|
|
6248
|
-
onLastTab: K[5] || (K[5] = (_) =>
|
|
6286
|
+
onFirstShiftTab: K[4] || (K[4] = (_) => h(l).close(z.id)),
|
|
6287
|
+
onLastTab: K[5] || (K[5] = (_) => h(l).close(z.id)),
|
|
6249
6288
|
onOpen: te
|
|
6250
6289
|
}), {
|
|
6251
6290
|
default: V(({ id: _, cancel: ve, confirm: E, close: q }) => [
|
|
@@ -6274,14 +6313,14 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6274
6313
|
C("div", {
|
|
6275
6314
|
class: "bs-dropdown-list",
|
|
6276
6315
|
ref: "listContainer",
|
|
6277
|
-
"aria-activedescendant": b
|
|
6316
|
+
"aria-activedescendant": h(b) || void 0,
|
|
6278
6317
|
"aria-label": z.ariaLabel,
|
|
6279
6318
|
"aria-live": "polite",
|
|
6280
6319
|
"aria-multiselectable": z.multiple || void 0,
|
|
6281
6320
|
role: z.role,
|
|
6282
6321
|
tabindex: B.value,
|
|
6283
|
-
onFocus: K[1] || (K[1] = (U) =>
|
|
6284
|
-
onBlur: K[2] || (K[2] = (U) =>
|
|
6322
|
+
onFocus: K[1] || (K[1] = (U) => h(N)(0)),
|
|
6323
|
+
onBlur: K[2] || (K[2] = (U) => h(S)()),
|
|
6285
6324
|
onMousedown: K[3] || (K[3] = Se(() => {
|
|
6286
6325
|
}, ["prevent"]))
|
|
6287
6326
|
}, [
|
|
@@ -6396,17 +6435,17 @@ const qr = { class: "bs-dropdown-mobile-header" }, Nr = {
|
|
|
6396
6435
|
"data-open": s.value ? void 0 : e.open,
|
|
6397
6436
|
"data-part": "right",
|
|
6398
6437
|
disabled: e.disabled,
|
|
6399
|
-
id:
|
|
6438
|
+
id: h(a),
|
|
6400
6439
|
style: { cursor: "pointer" },
|
|
6401
6440
|
type: "button",
|
|
6402
6441
|
onClick: r
|
|
6403
6442
|
}, [
|
|
6404
6443
|
C("span", Kr, j(l.value.text), 1),
|
|
6405
|
-
s.value ? (d(), P(
|
|
6444
|
+
s.value ? (d(), P(h(xe), {
|
|
6406
6445
|
key: 0,
|
|
6407
6446
|
role: "presentation",
|
|
6408
6447
|
size: "md"
|
|
6409
|
-
})) : (d(), P(
|
|
6448
|
+
})) : (d(), P(h(Ge), {
|
|
6410
6449
|
key: 1,
|
|
6411
6450
|
role: "presentation",
|
|
6412
6451
|
size: "md"
|
|
@@ -6443,7 +6482,7 @@ const Xr = {
|
|
|
6443
6482
|
disabled: l.disabled,
|
|
6444
6483
|
type: "button",
|
|
6445
6484
|
unstyled: ""
|
|
6446
|
-
}, { ...i.value, ...
|
|
6485
|
+
}, { ...i.value, ...h(t) }), {
|
|
6447
6486
|
default: V(() => [
|
|
6448
6487
|
a.value ? (d(), P(Di, {
|
|
6449
6488
|
key: 0,
|
|
@@ -6456,8 +6495,8 @@ const Xr = {
|
|
|
6456
6495
|
A(l.$slots, "label", {}, () => [
|
|
6457
6496
|
Q(j(l.label), 1)
|
|
6458
6497
|
]),
|
|
6459
|
-
F(
|
|
6460
|
-
A(l.$slots, "default", $e(Ie(
|
|
6498
|
+
F(h(Ge)),
|
|
6499
|
+
A(l.$slots, "default", $e(Ie(h(o))))
|
|
6461
6500
|
]),
|
|
6462
6501
|
_: 3
|
|
6463
6502
|
}, 16, ["data-open", "data-size", "disabled"]));
|
|
@@ -6683,7 +6722,7 @@ const Xr = {
|
|
|
6683
6722
|
} else
|
|
6684
6723
|
B("--dropdown-wscreen-left", `${L}px`), B("--dropdown-wscreen-right", "auto");
|
|
6685
6724
|
}
|
|
6686
|
-
function
|
|
6725
|
+
function b() {
|
|
6687
6726
|
if (t.width === "anchor") {
|
|
6688
6727
|
const k = r.value.getBoundingClientRect();
|
|
6689
6728
|
B("--dropdown-wscreen-width", `${k.width}px`);
|
|
@@ -6691,7 +6730,7 @@ const Xr = {
|
|
|
6691
6730
|
B("--dropdown-wscreen-width", "");
|
|
6692
6731
|
}
|
|
6693
6732
|
function D() {
|
|
6694
|
-
l.value = !0, r.value = document.getElementById(t.anchorId), w(),
|
|
6733
|
+
l.value = !0, r.value = document.getElementById(t.anchorId), w(), b(), o("enter");
|
|
6695
6734
|
}
|
|
6696
6735
|
function $() {
|
|
6697
6736
|
s.value = !0, o("after-enter");
|
|
@@ -6705,8 +6744,8 @@ const Xr = {
|
|
|
6705
6744
|
ref_key: "dropdownContainerRef",
|
|
6706
6745
|
ref: i,
|
|
6707
6746
|
breakout: e.breakout,
|
|
6708
|
-
breakoutMounted:
|
|
6709
|
-
breakoutStub:
|
|
6747
|
+
breakoutMounted: h(v),
|
|
6748
|
+
breakoutStub: h(p),
|
|
6710
6749
|
containerId: e.containerId
|
|
6711
6750
|
}, {
|
|
6712
6751
|
default: V(() => [
|
|
@@ -6737,7 +6776,7 @@ const Xr = {
|
|
|
6737
6776
|
title: "close",
|
|
6738
6777
|
onClick: S[0] || (S[0] = () => o("close"))
|
|
6739
6778
|
}, [
|
|
6740
|
-
F(
|
|
6779
|
+
F(h(xe))
|
|
6741
6780
|
])
|
|
6742
6781
|
])) : O("", !0),
|
|
6743
6782
|
A(k.$slots, "default")
|
|
@@ -6836,7 +6875,7 @@ const Xr = {
|
|
|
6836
6875
|
"helper-text": e.helperText,
|
|
6837
6876
|
position: l.value,
|
|
6838
6877
|
preloaded: e.preloaded,
|
|
6839
|
-
shown:
|
|
6878
|
+
shown: h(i),
|
|
6840
6879
|
"use-mobile-style": e.useMobileStyle,
|
|
6841
6880
|
width: a.value,
|
|
6842
6881
|
onClose: c[0] || (c[0] = () => o("close")),
|
|
@@ -6946,7 +6985,7 @@ const Xr = {
|
|
|
6946
6985
|
return !!a && a !== l;
|
|
6947
6986
|
}
|
|
6948
6987
|
return (a, l) => (d(), y(ee, null, [
|
|
6949
|
-
(d(!0), y(ee, null, ue(
|
|
6988
|
+
(d(!0), y(ee, null, ue(h(t), (s) => (d(), P(Qn, {
|
|
6950
6989
|
"aria-checked": s.checkbox ? s.checkbox.checked : void 0,
|
|
6951
6990
|
key: s.value,
|
|
6952
6991
|
"value-id-key": a.valueIdKey,
|
|
@@ -6962,7 +7001,7 @@ const Xr = {
|
|
|
6962
7001
|
"data-checked": s.checkbox.checked
|
|
6963
7002
|
}, null, 8, ad)) : O("", !0),
|
|
6964
7003
|
s.icon ? (d(), y("span", sd, [
|
|
6965
|
-
typeof s.icon == "string" ? (d(), P(
|
|
7004
|
+
typeof s.icon == "string" ? (d(), P(h(ze), {
|
|
6966
7005
|
key: 0,
|
|
6967
7006
|
name: s.icon
|
|
6968
7007
|
}, null, 8, ["name"])) : (d(), P(ie(s.icon), { key: 1 }))
|
|
@@ -6983,7 +7022,7 @@ const Xr = {
|
|
|
6983
7022
|
]),
|
|
6984
7023
|
_: 2
|
|
6985
7024
|
}, 1032, ["aria-checked", "value-id-key", "value", "variant"]))), 128)),
|
|
6986
|
-
a.showNoOptions &&
|
|
7025
|
+
a.showNoOptions && h(t).length === 0 ? (d(), y("li", ud, [
|
|
6987
7026
|
A(a.$slots, "no-options", {}, () => [
|
|
6988
7027
|
l[0] || (l[0] = Q("No options", -1))
|
|
6989
7028
|
])
|
|
@@ -7014,11 +7053,11 @@ const Xr = {
|
|
|
7014
7053
|
"data-component": "bs-input-search",
|
|
7015
7054
|
"data-variant": g.variant,
|
|
7016
7055
|
id: p.value
|
|
7017
|
-
},
|
|
7056
|
+
}, h(r), {
|
|
7018
7057
|
tabindex: "-1",
|
|
7019
|
-
onFocus: m[2] || (m[2] = (
|
|
7058
|
+
onFocus: m[2] || (m[2] = (b) => v.value = !0)
|
|
7020
7059
|
}), [
|
|
7021
|
-
g.hideSearchIcon ? O("", !0) : (d(), P(
|
|
7060
|
+
g.hideSearchIcon ? O("", !0) : (d(), P(h($o), {
|
|
7022
7061
|
key: 0,
|
|
7023
7062
|
class: "bs-input-search-icon",
|
|
7024
7063
|
"aria-hidden": "true"
|
|
@@ -7031,11 +7070,11 @@ const Xr = {
|
|
|
7031
7070
|
error: g.error,
|
|
7032
7071
|
placeholder: g.placeholder,
|
|
7033
7072
|
modelValue: l.value,
|
|
7034
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
7035
|
-
},
|
|
7036
|
-
onBlur: m[1] || (m[1] = (
|
|
7073
|
+
"onUpdate:modelValue": m[0] || (m[0] = (b) => l.value = b)
|
|
7074
|
+
}, h(c), {
|
|
7075
|
+
onBlur: m[1] || (m[1] = (b) => v.value = !1)
|
|
7037
7076
|
}), null, 16, ["id", "disabled", "error", "placeholder", "modelValue"]), [
|
|
7038
|
-
[
|
|
7077
|
+
[h($i), v.value]
|
|
7039
7078
|
]),
|
|
7040
7079
|
B.value ? (d(), y("button", {
|
|
7041
7080
|
key: 1,
|
|
@@ -7044,7 +7083,7 @@ const Xr = {
|
|
|
7044
7083
|
"aria-label": "Clear",
|
|
7045
7084
|
onClick: Se(w, ["stop"])
|
|
7046
7085
|
}, [
|
|
7047
|
-
F(
|
|
7086
|
+
F(h(xe), {
|
|
7048
7087
|
size: "sm",
|
|
7049
7088
|
"aria-hidden": "true"
|
|
7050
7089
|
})
|
|
@@ -7099,7 +7138,7 @@ const Xr = {
|
|
|
7099
7138
|
const i = kn(o, "selectedValue", "modelValue"), a = t, l = I(null), s = I(null), r = I(-1), c = I(-1), u = I(null), p = I(!1);
|
|
7100
7139
|
let v = {};
|
|
7101
7140
|
const B = ce("dropdownEnter", I(!1)), w = ce("dropdownAfterEnter", I(!1)), g = ce("dropdownShown", I(!1));
|
|
7102
|
-
Be("optionsId", f(() => o.optionsId)), Be("handleOptionSelect",
|
|
7141
|
+
Be("optionsId", f(() => o.optionsId)), Be("handleOptionSelect", be), Be("registerOptionById", ({ id: H, val: Z }) => {
|
|
7103
7142
|
v[H] = Z;
|
|
7104
7143
|
}), pd(l, N, { childList: !0 }), Xe([" ", "Enter", "NumpadEnter"], ge, l), Xe(["ArrowDown", "ArrowUp", "Home", "End"], we);
|
|
7105
7144
|
const D = [/^[a-zA-Z0-9]{1}$/], $ = {
|
|
@@ -7160,33 +7199,33 @@ const Xr = {
|
|
|
7160
7199
|
H.removeAttribute("data-selected"), H.setAttribute("aria-selected", "false");
|
|
7161
7200
|
}), L(), c.value = -1, r.value = -1, s.value = null;
|
|
7162
7201
|
}
|
|
7163
|
-
function
|
|
7202
|
+
function be(H) {
|
|
7164
7203
|
var ae;
|
|
7165
7204
|
(ae = H.querySelector("a")) == null || ae.click();
|
|
7166
7205
|
let Z = H.dataset.valueIdKey ? v[H.id] : H.dataset.value;
|
|
7167
7206
|
H.dataset.valueType == "number" && (Z = Number(Z)), s.value = H.id, L(), a("update:modelValue", Z), a("close");
|
|
7168
7207
|
}
|
|
7169
7208
|
function ge(H) {
|
|
7170
|
-
|
|
7209
|
+
be(u.value[r.value]), H.preventDefault();
|
|
7171
7210
|
}
|
|
7172
7211
|
function we(H) {
|
|
7173
7212
|
if (g.value)
|
|
7174
7213
|
switch (H.key) {
|
|
7175
7214
|
case "ArrowDown":
|
|
7176
|
-
|
|
7215
|
+
he("down"), H.preventDefault();
|
|
7177
7216
|
break;
|
|
7178
7217
|
case "ArrowUp":
|
|
7179
|
-
|
|
7218
|
+
he("up"), H.preventDefault();
|
|
7180
7219
|
break;
|
|
7181
7220
|
case "Home":
|
|
7182
|
-
|
|
7221
|
+
he("home"), H.preventDefault();
|
|
7183
7222
|
break;
|
|
7184
7223
|
case "End":
|
|
7185
|
-
|
|
7224
|
+
he("end"), H.preventDefault();
|
|
7186
7225
|
break;
|
|
7187
7226
|
}
|
|
7188
7227
|
}
|
|
7189
|
-
function
|
|
7228
|
+
function he(H) {
|
|
7190
7229
|
let Z;
|
|
7191
7230
|
switch (H) {
|
|
7192
7231
|
case "up":
|
|
@@ -7230,7 +7269,7 @@ const Xr = {
|
|
|
7230
7269
|
"data-overflow": p.value,
|
|
7231
7270
|
id: e.optionsId,
|
|
7232
7271
|
role: "listbox",
|
|
7233
|
-
tabindex:
|
|
7272
|
+
tabindex: h(g) ? 0 : void 0,
|
|
7234
7273
|
onBlur: L,
|
|
7235
7274
|
onFocus: W,
|
|
7236
7275
|
onKeydown: [
|
|
@@ -7243,10 +7282,10 @@ const Xr = {
|
|
|
7243
7282
|
A(H.$slots, "default")
|
|
7244
7283
|
], 40, fd));
|
|
7245
7284
|
}
|
|
7246
|
-
},
|
|
7285
|
+
}, bd = {
|
|
7247
7286
|
"aria-label": "separator",
|
|
7248
7287
|
role: "option"
|
|
7249
|
-
},
|
|
7288
|
+
}, hd = {
|
|
7250
7289
|
key: 1,
|
|
7251
7290
|
role: "option",
|
|
7252
7291
|
"data-no-hover": "true"
|
|
@@ -7291,11 +7330,11 @@ const Xr = {
|
|
|
7291
7330
|
],
|
|
7292
7331
|
setup(e, { emit: n }) {
|
|
7293
7332
|
const t = e, o = n, i = I(null), a = I([]), l = I([]), s = f(() => {
|
|
7294
|
-
var m,
|
|
7295
|
-
return ((m = a.value) == null ? void 0 : m.length) && ((
|
|
7333
|
+
var m, b;
|
|
7334
|
+
return ((m = a.value) == null ? void 0 : m.length) && ((b = l.value) == null ? void 0 : b.length);
|
|
7296
7335
|
}), r = f(() => {
|
|
7297
|
-
var m,
|
|
7298
|
-
return ((m = a.value) == null ? void 0 : m.length) || ((
|
|
7336
|
+
var m, b;
|
|
7337
|
+
return ((m = a.value) == null ? void 0 : m.length) || ((b = l.value) == null ? void 0 : b.length);
|
|
7299
7338
|
});
|
|
7300
7339
|
let c = !1;
|
|
7301
7340
|
const u = Xn(t);
|
|
@@ -7316,12 +7355,12 @@ const Xr = {
|
|
|
7316
7355
|
}
|
|
7317
7356
|
function B(m = []) {
|
|
7318
7357
|
var k;
|
|
7319
|
-
const
|
|
7320
|
-
|
|
7358
|
+
const b = ((k = m[0]) == null ? void 0 : k[t.valueIdKey]) !== void 0;
|
|
7359
|
+
b && (m = m.map((S) => S[t.valueIdKey]));
|
|
7321
7360
|
const D = new Set(m), $ = [], N = [];
|
|
7322
7361
|
u.value.forEach((S) => {
|
|
7323
|
-
const T = { ...S }, L =
|
|
7324
|
-
D.has(
|
|
7362
|
+
const T = { ...S }, L = b ? S.value[t.valueIdKey] : S.value, W = `${t.optionsId}-${L}-cb`;
|
|
7363
|
+
D.has(b ? S.value[t.valueIdKey] : S.value) ? (T.checkbox = { inputId: W, checked: !0 }, $.push(T)) : (T.checkbox = { inputId: W, checked: !1 }, N.push(T));
|
|
7325
7364
|
}), a.value = $, Ve(() => {
|
|
7326
7365
|
l.value = N, Ve(() => {
|
|
7327
7366
|
c && v(), c = !1;
|
|
@@ -7329,16 +7368,16 @@ const Xr = {
|
|
|
7329
7368
|
});
|
|
7330
7369
|
}
|
|
7331
7370
|
function w(m = []) {
|
|
7332
|
-
const
|
|
7371
|
+
const b = new Set(m), D = [];
|
|
7333
7372
|
return u.value.forEach(($) => {
|
|
7334
|
-
|
|
7373
|
+
b.has($.value) && D.push($.value);
|
|
7335
7374
|
}), D;
|
|
7336
7375
|
}
|
|
7337
7376
|
function g(m) {
|
|
7338
|
-
let
|
|
7339
|
-
t.selectedOptions.includes(m) ? (
|
|
7377
|
+
let b = [];
|
|
7378
|
+
t.selectedOptions.includes(m) ? (b = t.selectedOptions.filter((D) => D !== m), o("uncheck-option", m)) : (b = w([...t.selectedOptions, m]), o("check-option", m)), c = !0, o("update:selectedOptions", b);
|
|
7340
7379
|
}
|
|
7341
|
-
return (m,
|
|
7380
|
+
return (m, b) => (d(), P(rn, {
|
|
7342
7381
|
ref_key: "optlist",
|
|
7343
7382
|
ref: i,
|
|
7344
7383
|
"aria-multiselectable": "true",
|
|
@@ -7347,8 +7386,8 @@ const Xr = {
|
|
|
7347
7386
|
multiselect: "",
|
|
7348
7387
|
"options-id": e.optionsId,
|
|
7349
7388
|
shown: e.shown,
|
|
7350
|
-
onOptionsListShiftTab:
|
|
7351
|
-
onOptionsListTab:
|
|
7389
|
+
onOptionsListShiftTab: b[0] || (b[0] = (D) => o("options-list-shift-tab")),
|
|
7390
|
+
onOptionsListTab: b[1] || (b[1] = (D) => o("options-list-tab")),
|
|
7352
7391
|
"onUpdate:modelValue": g
|
|
7353
7392
|
}, {
|
|
7354
7393
|
default: V(() => [
|
|
@@ -7358,7 +7397,7 @@ const Xr = {
|
|
|
7358
7397
|
"show-no-options": !1,
|
|
7359
7398
|
"value-id-key": e.valueIdKey
|
|
7360
7399
|
}, null, 8, ["options", "value-id-key"]),
|
|
7361
|
-
me(C("li",
|
|
7400
|
+
me(C("li", bd, [...b[2] || (b[2] = [
|
|
7362
7401
|
C("hr", null, null, -1)
|
|
7363
7402
|
])], 512), [
|
|
7364
7403
|
[Pe, s.value]
|
|
@@ -7368,9 +7407,9 @@ const Xr = {
|
|
|
7368
7407
|
"show-no-options": !1,
|
|
7369
7408
|
"value-id-key": e.valueIdKey
|
|
7370
7409
|
}, null, 8, ["options", "value-id-key"])
|
|
7371
|
-
], 64)) : (d(), y("li",
|
|
7410
|
+
], 64)) : (d(), y("li", hd, [
|
|
7372
7411
|
A(m.$slots, "no-options", {}, () => [
|
|
7373
|
-
|
|
7412
|
+
b[3] || (b[3] = Q("No options", -1))
|
|
7374
7413
|
])
|
|
7375
7414
|
]))
|
|
7376
7415
|
]),
|
|
@@ -7508,13 +7547,13 @@ const Xr = {
|
|
|
7508
7547
|
), p = f(() => t.optionsId || l.value), v = f(() => t.toggleId || a.value), B = Xn(t), w = f(() => r.value ? B.value.filter(
|
|
7509
7548
|
(Y) => Y.label.toLowerCase().startsWith(r.value.toLowerCase())
|
|
7510
7549
|
) : B.value), g = f(() => t.filter ? w.value : B.value), m = () => i || (i = document.getElementById(v.value));
|
|
7511
|
-
function
|
|
7550
|
+
function b() {
|
|
7512
7551
|
const Y = document.activeElement;
|
|
7513
7552
|
return !Y || Y.tagName === "BODY" || Y.id === p.value;
|
|
7514
7553
|
}
|
|
7515
7554
|
function D() {
|
|
7516
7555
|
var Y, te;
|
|
7517
|
-
s.value = !1, o("close"),
|
|
7556
|
+
s.value = !1, o("close"), b() && ((te = (Y = m()) == null ? void 0 : Y.focus) == null || te.call(Y));
|
|
7518
7557
|
}
|
|
7519
7558
|
function $() {
|
|
7520
7559
|
s.value && D();
|
|
@@ -7592,7 +7631,7 @@ const Xr = {
|
|
|
7592
7631
|
onClear: L
|
|
7593
7632
|
}, null, 8, ["aria-label", "model-value", "placeholder"])
|
|
7594
7633
|
])) : O("", !0),
|
|
7595
|
-
F(
|
|
7634
|
+
F(h(u), {
|
|
7596
7635
|
class: Ee({ "filterable-options": e.filter }),
|
|
7597
7636
|
label: e.dropdownLabel,
|
|
7598
7637
|
"model-value": e.selectedOption,
|
|
@@ -7718,7 +7757,7 @@ const Xr = {
|
|
|
7718
7757
|
function m() {
|
|
7719
7758
|
s.value = !1, document.activeElement !== v() && (r.value = !0);
|
|
7720
7759
|
}
|
|
7721
|
-
function
|
|
7760
|
+
function b() {
|
|
7722
7761
|
r.value = !0;
|
|
7723
7762
|
}
|
|
7724
7763
|
function D() {
|
|
@@ -7728,7 +7767,7 @@ const Xr = {
|
|
|
7728
7767
|
r.value ? r.value = !1 : s.value = !0;
|
|
7729
7768
|
}
|
|
7730
7769
|
return (N, k) => (d(), P(Ai, {
|
|
7731
|
-
"anchor-id":
|
|
7770
|
+
"anchor-id": h(a),
|
|
7732
7771
|
disabled: e.disabled,
|
|
7733
7772
|
"dropdown-position": e.dropdownPosition,
|
|
7734
7773
|
"dropdown-width": e.dropdownWidth,
|
|
@@ -7737,7 +7776,7 @@ const Xr = {
|
|
|
7737
7776
|
multiselect: !1,
|
|
7738
7777
|
open: s.value,
|
|
7739
7778
|
options: e.options,
|
|
7740
|
-
"options-id":
|
|
7779
|
+
"options-id": h(l),
|
|
7741
7780
|
"selected-option": e.modelValue,
|
|
7742
7781
|
"toggle-id": N.$attrs.id || u.value,
|
|
7743
7782
|
"use-mobile-style": e.useMobileStyle,
|
|
@@ -7751,20 +7790,20 @@ const Xr = {
|
|
|
7751
7790
|
ref_key: "inputComboboxRef",
|
|
7752
7791
|
ref: c,
|
|
7753
7792
|
id: N.$attrs.id || u.value,
|
|
7754
|
-
"container-id":
|
|
7793
|
+
"container-id": h(a),
|
|
7755
7794
|
disabled: e.disabled,
|
|
7756
7795
|
error: e.error,
|
|
7757
7796
|
"hint-id": e.hintId,
|
|
7758
7797
|
"model-value": e.displayValue || e.modelValue,
|
|
7759
7798
|
open: s.value,
|
|
7760
|
-
"options-id":
|
|
7799
|
+
"options-id": h(l),
|
|
7761
7800
|
placeholder: e.placeholder,
|
|
7762
7801
|
required: e.required,
|
|
7763
7802
|
onChange: B,
|
|
7764
7803
|
onClear: w,
|
|
7765
7804
|
onInput: g,
|
|
7766
7805
|
onInputFocus: $,
|
|
7767
|
-
onInputMousedown:
|
|
7806
|
+
onInputMousedown: b,
|
|
7768
7807
|
onInputMouseup: D,
|
|
7769
7808
|
onInputShiftTab: k[0] || (k[0] = (S) => s.value = !1),
|
|
7770
7809
|
onToggled: k[1] || (k[1] = (S) => s.value = !s.value)
|
|
@@ -7850,7 +7889,7 @@ const Xr = {
|
|
|
7850
7889
|
emits: ["update:modelValue", "combobox:change", "combobox:input"],
|
|
7851
7890
|
setup(e, { emit: n }) {
|
|
7852
7891
|
const t = e, [o, i] = fe(2), { filtered: a, remaining: l } = Ae(["class", "style"]), s = f(() => t.error && t.errorMsg || t.hint || void 0), r = f(() => t.inputId || o.value);
|
|
7853
|
-
return (c, u) => (d(), y("div", X({ "data-component": "bs-dropdown-combobox-field" },
|
|
7892
|
+
return (c, u) => (d(), y("div", X({ "data-component": "bs-dropdown-combobox-field" }, h(a)), [
|
|
7854
7893
|
e.label || c.$slots.label ? (d(), P(De, {
|
|
7855
7894
|
key: 0,
|
|
7856
7895
|
for: c.$attrs.id || r.value,
|
|
@@ -7872,7 +7911,7 @@ const Xr = {
|
|
|
7872
7911
|
error: e.error,
|
|
7873
7912
|
"helper-text": e.helperText,
|
|
7874
7913
|
"helper-description": e.helperDescription,
|
|
7875
|
-
"hint-id":
|
|
7914
|
+
"hint-id": h(i),
|
|
7876
7915
|
"input-id": c.$attrs.id || r.value,
|
|
7877
7916
|
"model-value": e.modelValue,
|
|
7878
7917
|
options: e.options,
|
|
@@ -7884,13 +7923,13 @@ const Xr = {
|
|
|
7884
7923
|
"onCombobox:change": u[0] || (u[0] = (p) => c.$emit("combobox:change", p)),
|
|
7885
7924
|
"onCombobox:input": u[1] || (u[1] = (p) => c.$emit("combobox:input", p)),
|
|
7886
7925
|
"onUpdate:modelValue": u[2] || (u[2] = (p) => c.$emit("update:modelValue", p))
|
|
7887
|
-
},
|
|
7926
|
+
}, h(l)), null, 16, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-text", "helper-description", "hint-id", "input-id", "model-value", "options", "placeholder", "required", "update-on-input", "use-mobile-style", "value-id-key"]),
|
|
7888
7927
|
s.value ? (d(), P(qe, {
|
|
7889
7928
|
key: 1,
|
|
7890
7929
|
error: e.error,
|
|
7891
7930
|
"error-msg": e.errorMsg,
|
|
7892
7931
|
hint: e.hint,
|
|
7893
|
-
"hint-id":
|
|
7932
|
+
"hint-id": h(i)
|
|
7894
7933
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
7895
7934
|
], 16));
|
|
7896
7935
|
}
|
|
@@ -8127,7 +8166,7 @@ const Xr = {
|
|
|
8127
8166
|
position: l.value,
|
|
8128
8167
|
preloaded: e.preloaded,
|
|
8129
8168
|
"prevent-tab": e.preventTab,
|
|
8130
|
-
shown:
|
|
8169
|
+
shown: h(i),
|
|
8131
8170
|
"use-mobile-style": e.useMobileStyle,
|
|
8132
8171
|
width: a.value,
|
|
8133
8172
|
onClose: p[0] || (p[0] = (v) => o("close")),
|
|
@@ -8156,7 +8195,7 @@ const Xr = {
|
|
|
8156
8195
|
}, [
|
|
8157
8196
|
C("div", Sd, [
|
|
8158
8197
|
A(l.$slots, "icon", {}, () => [
|
|
8159
|
-
typeof i.value == "string" ? (d(), P(
|
|
8198
|
+
typeof i.value == "string" ? (d(), P(h(ze), {
|
|
8160
8199
|
key: 0,
|
|
8161
8200
|
name: i.value,
|
|
8162
8201
|
size: "auto",
|
|
@@ -8274,7 +8313,7 @@ const Xr = {
|
|
|
8274
8313
|
"aria-label": "Close",
|
|
8275
8314
|
onClick: l
|
|
8276
8315
|
}, [
|
|
8277
|
-
F(
|
|
8316
|
+
F(h(xe))
|
|
8278
8317
|
])
|
|
8279
8318
|
]),
|
|
8280
8319
|
A(s.$slots, "default")
|
|
@@ -8360,6 +8399,7 @@ const Xr = {
|
|
|
8360
8399
|
setup(e) {
|
|
8361
8400
|
return (n, t) => (d(), y("div", {
|
|
8362
8401
|
class: "bs-form-container",
|
|
8402
|
+
"data-component": "bs-form-container",
|
|
8363
8403
|
"data-inactive": n.inactive
|
|
8364
8404
|
}, [
|
|
8365
8405
|
C("header", Cd, [
|
|
@@ -8367,7 +8407,7 @@ const Xr = {
|
|
|
8367
8407
|
C("div", Pd, [
|
|
8368
8408
|
n.icon || n.$slots.icon ? (d(), y("div", Ad, [
|
|
8369
8409
|
A(n.$slots, "icon", {}, () => [
|
|
8370
|
-
typeof n.icon == "string" ? (d(), P(
|
|
8410
|
+
typeof n.icon == "string" ? (d(), P(h(ze), {
|
|
8371
8411
|
key: 0,
|
|
8372
8412
|
name: n.icon,
|
|
8373
8413
|
size: "auto"
|
|
@@ -8476,21 +8516,21 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8476
8516
|
const t = e, o = n, { isAbsoluteTo: i, isActivePath: a, getTo: l, getTarget: s } = Jn(t);
|
|
8477
8517
|
return (r, c) => {
|
|
8478
8518
|
const u = Bo("router-link");
|
|
8479
|
-
return
|
|
8519
|
+
return h(i)(e.item) ? (d(), y("a", {
|
|
8480
8520
|
key: 0,
|
|
8481
|
-
"aria-current":
|
|
8482
|
-
"data-active":
|
|
8483
|
-
href:
|
|
8484
|
-
target:
|
|
8521
|
+
"aria-current": h(a)(e.item) || void 0,
|
|
8522
|
+
"data-active": h(a)(e.item),
|
|
8523
|
+
href: h(l)(e.item),
|
|
8524
|
+
target: h(s)(e.item),
|
|
8485
8525
|
onClick: c[0] || (c[0] = (p) => o("nav-link-clicked", p))
|
|
8486
8526
|
}, [
|
|
8487
8527
|
A(r.$slots, "default")
|
|
8488
8528
|
], 8, jd)) : (d(), P(u, {
|
|
8489
8529
|
key: 1,
|
|
8490
|
-
"aria-current":
|
|
8491
|
-
"data-active":
|
|
8492
|
-
to:
|
|
8493
|
-
target:
|
|
8530
|
+
"aria-current": h(a)(e.item) || void 0,
|
|
8531
|
+
"data-active": h(a)(e.item),
|
|
8532
|
+
to: h(l)(e.item),
|
|
8533
|
+
target: h(s)(e.item),
|
|
8494
8534
|
onClick: c[1] || (c[1] = (p) => o("nav-link-clicked", p))
|
|
8495
8535
|
}, {
|
|
8496
8536
|
default: V(() => [
|
|
@@ -8505,7 +8545,8 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8505
8545
|
class: "bs-horizontal-nav-mobile-end-items"
|
|
8506
8546
|
}, Gd = {
|
|
8507
8547
|
key: 1,
|
|
8508
|
-
class: "bs-horizontal-nav"
|
|
8548
|
+
class: "bs-horizontal-nav",
|
|
8549
|
+
"data-component": "bs-horizontal-navigation"
|
|
8509
8550
|
}, Xd = {
|
|
8510
8551
|
key: 0,
|
|
8511
8552
|
class: "bs-horizontal-nav-title"
|
|
@@ -8558,7 +8599,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8558
8599
|
i.value[D] = !0;
|
|
8559
8600
|
});
|
|
8560
8601
|
}
|
|
8561
|
-
function
|
|
8602
|
+
function b(D, $) {
|
|
8562
8603
|
D.ctrlKey || D.metaKey || B($.id), o("nav-link-clicked", { ev: D, payload: $ });
|
|
8563
8604
|
}
|
|
8564
8605
|
return (D, $) => {
|
|
@@ -8566,6 +8607,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8566
8607
|
return p.value ? (d(), y("nav", {
|
|
8567
8608
|
key: 0,
|
|
8568
8609
|
class: "bs-horizontal-nav-mobile",
|
|
8610
|
+
"data-component": "bs-horizontal-navigation",
|
|
8569
8611
|
"data-shown": v.value,
|
|
8570
8612
|
"data-hide-toggle": D.hideMobileToggle
|
|
8571
8613
|
}, [
|
|
@@ -8574,12 +8616,12 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8574
8616
|
type: "button",
|
|
8575
8617
|
class: "bs-horizontal-nav-mobile-toggle",
|
|
8576
8618
|
"aria-expanded": D.mobileOpen,
|
|
8577
|
-
"aria-controls": `horizontal-nav-mobile-${
|
|
8619
|
+
"aria-controls": `horizontal-nav-mobile-${h(u)}`,
|
|
8578
8620
|
title: w(),
|
|
8579
8621
|
onClick: $[0] || ($[0] = (k) => v.value = !v.value)
|
|
8580
8622
|
}, [
|
|
8581
8623
|
C("div", qd, [
|
|
8582
|
-
typeof D.titleIcon == "string" ? (d(), P(
|
|
8624
|
+
typeof D.titleIcon == "string" ? (d(), P(h(ze), {
|
|
8583
8625
|
key: 0,
|
|
8584
8626
|
class: "bs-horizontal-nav-mobile-toggle-title-icon",
|
|
8585
8627
|
name: D.titleIcon
|
|
@@ -8589,35 +8631,35 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8589
8631
|
})),
|
|
8590
8632
|
C("span", null, j(D.mobileToggleText), 1)
|
|
8591
8633
|
]),
|
|
8592
|
-
F(
|
|
8634
|
+
F(h(Ge), { class: "bs-horizontal-nav-mobile-toggle-caret" })
|
|
8593
8635
|
], 8, Fd)),
|
|
8594
8636
|
F(wt, { name: "bs-horizontal-nav-mobile" }, {
|
|
8595
8637
|
default: V(() => [
|
|
8596
8638
|
me(C("div", {
|
|
8597
8639
|
class: "bs-horizontal-nav-mobile-menu",
|
|
8598
|
-
id: `horizontal-nav-mobile-${
|
|
8640
|
+
id: `horizontal-nav-mobile-${h(u)}`
|
|
8599
8641
|
}, [
|
|
8600
8642
|
C("ul", null, [
|
|
8601
|
-
(d(!0), y(ee, null, ue(
|
|
8643
|
+
(d(!0), y(ee, null, ue(h(c), (k) => {
|
|
8602
8644
|
var S;
|
|
8603
8645
|
return d(), y(ee, {
|
|
8604
8646
|
key: k.id
|
|
8605
8647
|
}, [
|
|
8606
8648
|
((S = k.navItems) == null ? void 0 : S.length) > 0 ? (d(), y("li", {
|
|
8607
8649
|
key: 0,
|
|
8608
|
-
"data-expanded":
|
|
8650
|
+
"data-expanded": h(r)(k)
|
|
8609
8651
|
}, [
|
|
8610
8652
|
C("button", {
|
|
8611
8653
|
type: "button",
|
|
8612
8654
|
class: "bs-horizontal-nav-mobile-nested-toggle",
|
|
8613
|
-
"aria-expanded":
|
|
8655
|
+
"aria-expanded": h(r)(k),
|
|
8614
8656
|
"aria-controls": `${k.id}-nested-menu`,
|
|
8615
8657
|
"data-active": g(k),
|
|
8616
|
-
title:
|
|
8658
|
+
title: h(a)(k),
|
|
8617
8659
|
onClick: (T) => B(k.id)
|
|
8618
8660
|
}, [
|
|
8619
8661
|
C("span", null, j(k.text), 1),
|
|
8620
|
-
F(
|
|
8662
|
+
F(h(Ge), { class: "bs-horizontal-nav-mobile-nested-toggle-caret" })
|
|
8621
8663
|
], 8, Wd),
|
|
8622
8664
|
C("ul", Hd, [
|
|
8623
8665
|
(d(!0), y(ee, null, ue(k.navItems, (T) => (d(), y("li", null, [
|
|
@@ -8660,7 +8702,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8660
8702
|
], 8, Vd)) : (d(), y("div", Gd, [
|
|
8661
8703
|
C("nav", null, [
|
|
8662
8704
|
!D.title && D.titleIcon ? (d(), y(ee, { key: 0 }, [
|
|
8663
|
-
typeof D.titleIcon == "string" ? (d(), P(
|
|
8705
|
+
typeof D.titleIcon == "string" ? (d(), P(h(ze), {
|
|
8664
8706
|
key: 0,
|
|
8665
8707
|
class: "bs-horizontal-nav-title-icon",
|
|
8666
8708
|
name: D.titleIcon
|
|
@@ -8673,9 +8715,9 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8673
8715
|
D.title ? (d(), y("li", Xd, [
|
|
8674
8716
|
D.titleUrl ? (d(), P(N, {
|
|
8675
8717
|
key: 0,
|
|
8676
|
-
"aria-current":
|
|
8718
|
+
"aria-current": h(s)({ to: D.titleUrl }) || void 0,
|
|
8677
8719
|
to: D.titleUrl,
|
|
8678
|
-
"data-active":
|
|
8720
|
+
"data-active": h(s)({ to: D.titleUrl }),
|
|
8679
8721
|
onClick: $[1] || ($[1] = (k) => o("nav-link-clicked", { ev: k, payload: { resource: { url: D.titleUrl }, text: D.title } }))
|
|
8680
8722
|
}, {
|
|
8681
8723
|
default: V(() => [
|
|
@@ -8684,7 +8726,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8684
8726
|
_: 1
|
|
8685
8727
|
}, 8, ["aria-current", "to", "data-active"])) : (d(), y("span", Yd, j(D.title), 1))
|
|
8686
8728
|
])) : O("", !0),
|
|
8687
|
-
(d(!0), y(ee, null, ue(
|
|
8729
|
+
(d(!0), y(ee, null, ue(h(c), (k, S) => {
|
|
8688
8730
|
var T;
|
|
8689
8731
|
return d(), y(ee, {
|
|
8690
8732
|
key: k.id
|
|
@@ -8694,25 +8736,25 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8694
8736
|
id: `${k.id}-toggle`,
|
|
8695
8737
|
type: "button",
|
|
8696
8738
|
class: "bs-horizontal-nav-nested-toggle",
|
|
8697
|
-
"aria-expanded":
|
|
8739
|
+
"aria-expanded": h(r)(k),
|
|
8698
8740
|
"aria-controls": `${k.id}-nested-section`,
|
|
8699
8741
|
"data-active": g(k),
|
|
8700
|
-
"data-expanded":
|
|
8701
|
-
title:
|
|
8742
|
+
"data-expanded": h(r)(k),
|
|
8743
|
+
title: h(a)(k),
|
|
8702
8744
|
onClick: (L) => B(k.id)
|
|
8703
8745
|
}, [
|
|
8704
8746
|
C("span", null, j(k.text), 1),
|
|
8705
|
-
F(
|
|
8747
|
+
F(h(Ge), { class: "bs-horizontal-nav-nested-toggle-caret" })
|
|
8706
8748
|
], 8, Zd),
|
|
8707
8749
|
F(ln, {
|
|
8708
8750
|
id: `${k.id}-nested-section`,
|
|
8709
8751
|
class: "bs-horizontal-nav-nested-menu",
|
|
8710
8752
|
"anchor-id": `${k.id}-toggle`,
|
|
8711
8753
|
position: "right",
|
|
8712
|
-
shown:
|
|
8754
|
+
shown: h(r)(k),
|
|
8713
8755
|
"use-mobile-style": !1,
|
|
8714
8756
|
width: "content",
|
|
8715
|
-
onClose: (L) =>
|
|
8757
|
+
onClose: (L) => h(i)[k.id] = !0
|
|
8716
8758
|
}, {
|
|
8717
8759
|
default: V(() => [
|
|
8718
8760
|
C("ul", null, [
|
|
@@ -8722,7 +8764,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8722
8764
|
F(rt, {
|
|
8723
8765
|
item: L,
|
|
8724
8766
|
router: D.router,
|
|
8725
|
-
onNavLinkClicked: (W) =>
|
|
8767
|
+
onNavLinkClicked: (W) => b(W, L)
|
|
8726
8768
|
}, {
|
|
8727
8769
|
default: V(() => [
|
|
8728
8770
|
Q(j(L.text), 1)
|
|
@@ -8771,7 +8813,8 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8771
8813
|
ref_key: "svgWrapperRef",
|
|
8772
8814
|
ref: n,
|
|
8773
8815
|
class: "bs-icon-gradient-wrapper",
|
|
8774
|
-
|
|
8816
|
+
"data-component": "bs-icon-gradient-wrapper",
|
|
8817
|
+
style: `fill: url(#${h(i)});`
|
|
8775
8818
|
}, a.$attrs), [
|
|
8776
8819
|
A(a.$slots, "default")
|
|
8777
8820
|
], 16),
|
|
@@ -8782,7 +8825,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8782
8825
|
height: "0"
|
|
8783
8826
|
}, [
|
|
8784
8827
|
C("linearGradient", {
|
|
8785
|
-
id:
|
|
8828
|
+
id: h(i),
|
|
8786
8829
|
x1: "0",
|
|
8787
8830
|
y1: "0",
|
|
8788
8831
|
x2: "100%",
|
|
@@ -8812,12 +8855,13 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8812
8855
|
function u() {
|
|
8813
8856
|
t && (o.value && !t.props.multiple || t.setModel(n.value));
|
|
8814
8857
|
}
|
|
8815
|
-
return (p, v) => (d(), P(ie(
|
|
8858
|
+
return (p, v) => (d(), P(ie(h(s)), X({
|
|
8816
8859
|
class: "bs-inline-tab",
|
|
8860
|
+
"data-component": "bs-inline-tab",
|
|
8817
8861
|
"data-variant": a.value,
|
|
8818
8862
|
"data-selected": o.value || void 0,
|
|
8819
|
-
"aria-pressed":
|
|
8820
|
-
},
|
|
8863
|
+
"aria-pressed": h(s) === "button" ? o.value : void 0
|
|
8864
|
+
}, h(r), { onClick: c }), {
|
|
8821
8865
|
default: V(() => [
|
|
8822
8866
|
A(p.$slots, "default", { isSelected: o.value })
|
|
8823
8867
|
]),
|
|
@@ -8863,7 +8907,10 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8863
8907
|
function s(r) {
|
|
8864
8908
|
return t.value ? o(r) ? t.value.filter((c) => !i(c, r)) : [...t.value, r] : [r];
|
|
8865
8909
|
}
|
|
8866
|
-
return (r, c) => (d(), P(ie(r.as), {
|
|
8910
|
+
return (r, c) => (d(), P(ie(r.as), {
|
|
8911
|
+
class: "bs-inline-tab-group",
|
|
8912
|
+
"data-component": "bs-inline-tab-group"
|
|
8913
|
+
}, {
|
|
8867
8914
|
default: V(() => [
|
|
8868
8915
|
A(r.$slots, "default")
|
|
8869
8916
|
]),
|
|
@@ -8917,7 +8964,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8917
8964
|
return ((p = (u = t.hints) == null ? void 0 : u.join) == null ? void 0 : p.call(u, `
|
|
8918
8965
|
`)) || t.hints;
|
|
8919
8966
|
}), r = f(() => t.error && t.errorMsg || t.hint || s.value || void 0), c = f(() => t.inputId || o.value);
|
|
8920
|
-
return (u, p) => (d(), y("div", X({ "data-component": "bs-input-field" },
|
|
8967
|
+
return (u, p) => (d(), y("div", X({ "data-component": "bs-input-field" }, h(a)), [
|
|
8921
8968
|
e.label || u.$slots.label ? (d(), P(De, {
|
|
8922
8969
|
key: 0,
|
|
8923
8970
|
for: u.$attrs.id || c.value,
|
|
@@ -8934,20 +8981,20 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
8934
8981
|
F(lt, X({
|
|
8935
8982
|
disabled: e.disabled,
|
|
8936
8983
|
error: e.error,
|
|
8937
|
-
"hint-id":
|
|
8984
|
+
"hint-id": h(i),
|
|
8938
8985
|
id: u.$attrs.id || c.value,
|
|
8939
8986
|
placeholder: e.placeholder,
|
|
8940
8987
|
required: e.required,
|
|
8941
8988
|
type: e.type,
|
|
8942
8989
|
value: e.value || e.modelValue,
|
|
8943
8990
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => u.$emit("update:modelValue", v))
|
|
8944
|
-
},
|
|
8991
|
+
}, h(l)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
|
|
8945
8992
|
r.value ? (d(), P(qe, {
|
|
8946
8993
|
key: 1,
|
|
8947
8994
|
error: e.error,
|
|
8948
8995
|
"error-msg": e.errorMsg,
|
|
8949
8996
|
hint: e.hint || s.value,
|
|
8950
|
-
"hint-id":
|
|
8997
|
+
"hint-id": h(i)
|
|
8951
8998
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
8952
8999
|
], 16));
|
|
8953
9000
|
}
|
|
@@ -9090,19 +9137,19 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9090
9137
|
B,
|
|
9091
9138
|
w,
|
|
9092
9139
|
g
|
|
9093
|
-
] = fe(4), m = I(!1),
|
|
9140
|
+
] = fe(4), m = I(!1), b = I(""), D = I(""), $ = I(!1), N = I(!1), k = I(!0);
|
|
9094
9141
|
n({
|
|
9095
9142
|
validationErr: $,
|
|
9096
9143
|
validationErrMsg: D
|
|
9097
9144
|
});
|
|
9098
|
-
const S = f(() =>
|
|
9145
|
+
const S = f(() => b.value ? `+${c.value}${b.value}` : ""), T = f(() => `Country code: ${c.value}. Click to change.`), L = f(() => k.value ? o.errorMsg || D.value : ""), W = f(() => o.error || $.value), Y = f(() => o.hint || W.value && L.value), te = f(() => k.value && W.value);
|
|
9099
9146
|
G(S, (z) => {
|
|
9100
9147
|
i("update:modelValue", z), ae(z);
|
|
9101
9148
|
}), G(() => o.modelValue, re), Te(), oe(() => m.value = !0);
|
|
9102
9149
|
function re(z, K) {
|
|
9103
|
-
z === "" && z !== K && (
|
|
9150
|
+
z === "" && z !== K && (b.value = "");
|
|
9104
9151
|
}
|
|
9105
|
-
function
|
|
9152
|
+
function be() {
|
|
9106
9153
|
var z;
|
|
9107
9154
|
N.value && (N.value = !1, (z = r.value) == null || z.focus());
|
|
9108
9155
|
}
|
|
@@ -9113,8 +9160,8 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9113
9160
|
function we() {
|
|
9114
9161
|
o.deferValidation && (k.value = !0), i("input-blur");
|
|
9115
9162
|
}
|
|
9116
|
-
function
|
|
9117
|
-
|
|
9163
|
+
function he(z) {
|
|
9164
|
+
b.value = z.target.value, o.deferValidation && (k.value = !1);
|
|
9118
9165
|
}
|
|
9119
9166
|
function ke(z) {
|
|
9120
9167
|
var K, _;
|
|
@@ -9126,7 +9173,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9126
9173
|
function H() {
|
|
9127
9174
|
var K, _;
|
|
9128
9175
|
let z = oo(o.modelValue);
|
|
9129
|
-
z.valid || z.countryCode && ((_ = (K = o.modelValue) == null ? void 0 : K.startsWith) != null && _.call(K, "+")) ? (c.value = z.countryCode,
|
|
9176
|
+
z.valid || z.countryCode && ((_ = (K = o.modelValue) == null ? void 0 : K.startsWith) != null && _.call(K, "+")) ? (c.value = z.countryCode, b.value = z.number.significant) : b.value = o.modelValue, u.value = cn.data.allCountries.map((ve) => ({
|
|
9130
9177
|
...ve,
|
|
9131
9178
|
isSelected: c.value === ve
|
|
9132
9179
|
}));
|
|
@@ -9140,9 +9187,9 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9140
9187
|
return (z, K) => (d(), y("div", X({
|
|
9141
9188
|
class: "bs-input-phone",
|
|
9142
9189
|
"data-component": "bs-input-phone"
|
|
9143
|
-
},
|
|
9190
|
+
}, h(l)), [
|
|
9144
9191
|
F(De, {
|
|
9145
|
-
for: z.$attrs.id || e.inputId ||
|
|
9192
|
+
for: z.$attrs.id || e.inputId || h(g),
|
|
9146
9193
|
required: e.required,
|
|
9147
9194
|
disabled: e.disabled,
|
|
9148
9195
|
class: Ee({ "bs-visually-hidden": e.hideLabel })
|
|
@@ -9162,10 +9209,10 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9162
9209
|
var _;
|
|
9163
9210
|
return [
|
|
9164
9211
|
C("button", {
|
|
9165
|
-
id:
|
|
9212
|
+
id: h(v),
|
|
9166
9213
|
ref_key: "countryCodesToggle",
|
|
9167
9214
|
ref: r,
|
|
9168
|
-
"aria-controls":
|
|
9215
|
+
"aria-controls": h(B),
|
|
9169
9216
|
"aria-expanded": N.value,
|
|
9170
9217
|
"aria-haspopup": "listbox",
|
|
9171
9218
|
"aria-label": T.value,
|
|
@@ -9175,21 +9222,21 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9175
9222
|
}, [
|
|
9176
9223
|
C("span", null, j((_ = p.value) == null ? void 0 : _.flag), 1),
|
|
9177
9224
|
C("span", null, "+" + j(c.value), 1),
|
|
9178
|
-
e.disabled ? O("", !0) : (d(), P(
|
|
9225
|
+
e.disabled ? O("", !0) : (d(), P(h(Io), {
|
|
9179
9226
|
key: 0,
|
|
9180
9227
|
size: "sm"
|
|
9181
9228
|
}))
|
|
9182
9229
|
], 8, ou),
|
|
9183
9230
|
F(lt, X({
|
|
9184
|
-
id: z.$attrs.id || e.inputId ||
|
|
9231
|
+
id: z.$attrs.id || e.inputId || h(g),
|
|
9185
9232
|
disabled: e.disabled,
|
|
9186
|
-
"hint-id":
|
|
9233
|
+
"hint-id": h(w),
|
|
9187
9234
|
placeholder: e.placeholder,
|
|
9188
|
-
value:
|
|
9235
|
+
value: b.value,
|
|
9189
9236
|
"data-autowidth": "",
|
|
9190
9237
|
type: "tel"
|
|
9191
|
-
},
|
|
9192
|
-
onInput:
|
|
9238
|
+
}, h(s), {
|
|
9239
|
+
onInput: he,
|
|
9193
9240
|
onFocusout: we,
|
|
9194
9241
|
onKeydown: ke
|
|
9195
9242
|
}), null, 16, ["id", "disabled", "hint-id", "placeholder", "value"])
|
|
@@ -9201,21 +9248,21 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9201
9248
|
error: W.value,
|
|
9202
9249
|
"error-msg": L.value,
|
|
9203
9250
|
hint: e.hint,
|
|
9204
|
-
"hint-id":
|
|
9251
|
+
"hint-id": h(w)
|
|
9205
9252
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
9206
9253
|
[Pe, Y.value]
|
|
9207
9254
|
]),
|
|
9208
9255
|
m.value ? (d(), y("div", iu, [
|
|
9209
9256
|
F(Li, {
|
|
9210
|
-
"anchor-id":
|
|
9257
|
+
"anchor-id": h(v),
|
|
9211
9258
|
"helper-text": "Country Code",
|
|
9212
9259
|
label: "Country Code",
|
|
9213
9260
|
"model-value": c.value,
|
|
9214
|
-
"options-id":
|
|
9261
|
+
"options-id": h(B),
|
|
9215
9262
|
preloaded: "",
|
|
9216
9263
|
shown: N.value,
|
|
9217
9264
|
width: "content",
|
|
9218
|
-
onClose:
|
|
9265
|
+
onClose: be,
|
|
9219
9266
|
"onUpdate:modelValue": ge
|
|
9220
9267
|
}, {
|
|
9221
9268
|
default: V(() => [
|
|
@@ -9237,7 +9284,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9237
9284
|
])) : O("", !0)
|
|
9238
9285
|
], 16));
|
|
9239
9286
|
}
|
|
9240
|
-
}), lu = ["data-size", "data-variant"], ru = ["stroke"], du = { key: 0 },
|
|
9287
|
+
}), lu = ["data-size", "data-variant"], ru = ["stroke"], du = { key: 0 }, bo = {
|
|
9241
9288
|
__name: "BsSpinner",
|
|
9242
9289
|
props: {
|
|
9243
9290
|
label: {
|
|
@@ -9384,14 +9431,14 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9384
9431
|
if (i.value) {
|
|
9385
9432
|
let T = t.options;
|
|
9386
9433
|
const L = t.inputValue.toLowerCase(), W = t.filterType === "includes" ? "includes" : "startsWith";
|
|
9387
|
-
return t.inputValue.length >= t.characterThreshold && (T = m(T, L, W), T = T.slice(0, t.maxOptions), T =
|
|
9434
|
+
return t.inputValue.length >= t.characterThreshold && (T = m(T, L, W), T = T.slice(0, t.maxOptions), T = b(T, L, W), r = T), T;
|
|
9388
9435
|
} else
|
|
9389
9436
|
return r;
|
|
9390
9437
|
});
|
|
9391
9438
|
function m(T, L, W) {
|
|
9392
9439
|
return t.internalFiltering ? T.filter((Y) => Y.label.toLowerCase()[W](L)) : T;
|
|
9393
9440
|
}
|
|
9394
|
-
function
|
|
9441
|
+
function b(T, L, W) {
|
|
9395
9442
|
return T.map((Y) => {
|
|
9396
9443
|
let te = Y.label;
|
|
9397
9444
|
if (L !== "") {
|
|
@@ -9440,7 +9487,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9440
9487
|
}, [
|
|
9441
9488
|
F(Zn, X({
|
|
9442
9489
|
"aria-controls": B.value,
|
|
9443
|
-
"aria-describedby": u.value ?
|
|
9490
|
+
"aria-describedby": u.value ? h(s) : void 0,
|
|
9444
9491
|
"aria-expanded": i.value,
|
|
9445
9492
|
"aria-haspopup": "listbox",
|
|
9446
9493
|
autocomplete: "off",
|
|
@@ -9484,7 +9531,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9484
9531
|
name: "no-options",
|
|
9485
9532
|
fn: V(() => [
|
|
9486
9533
|
C("span", cu, [
|
|
9487
|
-
F(
|
|
9534
|
+
F(bo, { size: "sm" })
|
|
9488
9535
|
])
|
|
9489
9536
|
]),
|
|
9490
9537
|
key: "0"
|
|
@@ -9513,7 +9560,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9513
9560
|
name: "no-options",
|
|
9514
9561
|
fn: V(() => [
|
|
9515
9562
|
C("span", pu, [
|
|
9516
|
-
F(
|
|
9563
|
+
F(bo, { size: "sm" })
|
|
9517
9564
|
])
|
|
9518
9565
|
]),
|
|
9519
9566
|
key: "0"
|
|
@@ -9537,12 +9584,12 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9537
9584
|
error: e.error,
|
|
9538
9585
|
"error-msg": e.errorMsg,
|
|
9539
9586
|
hint: e.hint,
|
|
9540
|
-
"hint-id":
|
|
9587
|
+
"hint-id": h(s)
|
|
9541
9588
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
9542
9589
|
])
|
|
9543
9590
|
], 64));
|
|
9544
9591
|
}
|
|
9545
|
-
},
|
|
9592
|
+
}, bu = ["data-size", "data-variant"], Ff = {
|
|
9546
9593
|
__name: "BsLoaderDeprecated",
|
|
9547
9594
|
props: {
|
|
9548
9595
|
size: {
|
|
@@ -9567,7 +9614,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9567
9614
|
C("span", null, null, -1),
|
|
9568
9615
|
C("span", null, null, -1),
|
|
9569
9616
|
C("span", { class: "bs-visually-hidden" }, "Loading", -1)
|
|
9570
|
-
])], 8,
|
|
9617
|
+
])], 8, bu));
|
|
9571
9618
|
}
|
|
9572
9619
|
}, qf = {
|
|
9573
9620
|
__name: "BsModal",
|
|
@@ -9589,7 +9636,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9589
9636
|
_: 3
|
|
9590
9637
|
}, 8, ["size", "transition-name"]));
|
|
9591
9638
|
}
|
|
9592
|
-
},
|
|
9639
|
+
}, hu = ["data-shown"], vu = {
|
|
9593
9640
|
__name: "BsOverlay",
|
|
9594
9641
|
props: {
|
|
9595
9642
|
shown: {
|
|
@@ -9634,8 +9681,9 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9634
9681
|
default: V(() => [
|
|
9635
9682
|
C("div", {
|
|
9636
9683
|
class: "bs-overlay",
|
|
9684
|
+
"data-component": "bs-overlay",
|
|
9637
9685
|
"data-shown": e.shown
|
|
9638
|
-
}, null, 8,
|
|
9686
|
+
}, null, 8, hu)
|
|
9639
9687
|
]),
|
|
9640
9688
|
_: 1
|
|
9641
9689
|
}, 8, ["shown", "preloaded"]));
|
|
@@ -9664,26 +9712,26 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9664
9712
|
const { transition: l } = tn(t), [s] = fe(), [r] = fe(), c = kt();
|
|
9665
9713
|
Yn([i], () => g("backdrop-clicked-close")), Xe(["Escape"], () => g("escape-pressed-close"));
|
|
9666
9714
|
const u = f(() => !!(t.title || c.title)), p = f(() => !!(t.subtitle || c.subtitle)), v = f(() => !!c.progress), B = f(() => !t.fullHeight && u.value), w = f(() => !t.fullHeight && !!c.footer);
|
|
9667
|
-
function g(m,
|
|
9715
|
+
function g(m, b = !0) {
|
|
9668
9716
|
var $;
|
|
9669
|
-
const D =
|
|
9717
|
+
const D = b && (($ = i.value) == null ? void 0 : $.querySelector('[data-shown="true"]')) !== null;
|
|
9670
9718
|
a && !D && (o("close", t.modalId), o(m, t.modalId));
|
|
9671
9719
|
}
|
|
9672
|
-
return (m,
|
|
9720
|
+
return (m, b) => (d(), y(ee, null, [
|
|
9673
9721
|
F(vu, {
|
|
9674
9722
|
"enter-controlled": m.enterControlled,
|
|
9675
9723
|
"enter-trigger": m.enterTrigger,
|
|
9676
9724
|
"leave-trigger": m.leaveTrigger,
|
|
9677
9725
|
preloaded: m.preloaded,
|
|
9678
|
-
shown:
|
|
9726
|
+
shown: h(l)
|
|
9679
9727
|
}, null, 8, ["enter-controlled", "enter-trigger", "leave-trigger", "preloaded", "shown"]),
|
|
9680
9728
|
F(Pt, {
|
|
9681
9729
|
name: "bs-modal-deprecated",
|
|
9682
9730
|
preloaded: m.preloaded,
|
|
9683
|
-
shown:
|
|
9684
|
-
onAfterEnter:
|
|
9685
|
-
onAfterLeave:
|
|
9686
|
-
onEnter:
|
|
9731
|
+
shown: h(l),
|
|
9732
|
+
onAfterEnter: b[2] || (b[2] = (D) => o("after-enter")),
|
|
9733
|
+
onAfterLeave: b[3] || (b[3] = (D) => o("after-leave")),
|
|
9734
|
+
onEnter: b[4] || (b[4] = (D) => Yi(a) ? a.value = !0 : a = !0)
|
|
9687
9735
|
}, {
|
|
9688
9736
|
default: V(() => [
|
|
9689
9737
|
C("div", X({
|
|
@@ -9691,7 +9739,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9691
9739
|
id: m.modalId,
|
|
9692
9740
|
ref_key: "modalRef",
|
|
9693
9741
|
ref: i,
|
|
9694
|
-
"aria-labelledby": m.title && !m.$attrs["aria-label"] ?
|
|
9742
|
+
"aria-labelledby": m.title && !m.$attrs["aria-label"] ? h(s) : void 0,
|
|
9695
9743
|
"aria-modal": "true",
|
|
9696
9744
|
"data-body-background-contrast": m.bodyBackgroundContrast,
|
|
9697
9745
|
"data-component": "bs-modal-deprecated",
|
|
@@ -9699,11 +9747,11 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9699
9747
|
"data-full-height": m.fullHeight,
|
|
9700
9748
|
"data-full-width": m.fullWidth,
|
|
9701
9749
|
"data-header-border": m.headerBorder,
|
|
9702
|
-
"data-shown":
|
|
9750
|
+
"data-shown": h(l),
|
|
9703
9751
|
"data-size": m.size,
|
|
9704
9752
|
role: m.alert ? "alertdialog" : "dialog"
|
|
9705
9753
|
}, m.$attrs), [
|
|
9706
|
-
F($d, { active:
|
|
9754
|
+
F($d, { active: h(l) }, {
|
|
9707
9755
|
default: V(() => [
|
|
9708
9756
|
B.value ? (d(), y("header", mu, [
|
|
9709
9757
|
C("div", gu, [
|
|
@@ -9711,7 +9759,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9711
9759
|
m.title ? (d(), y("span", {
|
|
9712
9760
|
key: 0,
|
|
9713
9761
|
class: "bs-modal-deprecated-title",
|
|
9714
|
-
id:
|
|
9762
|
+
id: h(s)
|
|
9715
9763
|
}, j(m.title), 9, wu)) : O("", !0)
|
|
9716
9764
|
]) : O("", !0),
|
|
9717
9765
|
m.closeButton ? (d(), y("button", {
|
|
@@ -9720,14 +9768,14 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9720
9768
|
"aria-label": "Close Modal",
|
|
9721
9769
|
title: "Close Modal",
|
|
9722
9770
|
type: "button",
|
|
9723
|
-
onClick:
|
|
9771
|
+
onClick: b[0] || (b[0] = (D) => g("x-clicked-close", !1))
|
|
9724
9772
|
}, [
|
|
9725
|
-
F(
|
|
9773
|
+
F(h(xe))
|
|
9726
9774
|
])) : O("", !0)
|
|
9727
9775
|
]),
|
|
9728
9776
|
p.value ? (d(), y("div", Su, [
|
|
9729
9777
|
A(m.$slots, "subtitle", {}, () => [
|
|
9730
|
-
C("span", { id:
|
|
9778
|
+
C("span", { id: h(r) }, j(m.subtitle), 9, Bu)
|
|
9731
9779
|
])
|
|
9732
9780
|
])) : O("", !0),
|
|
9733
9781
|
v.value ? (d(), y("div", Du, [
|
|
@@ -9740,9 +9788,9 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9740
9788
|
"aria-label": "Close Modal",
|
|
9741
9789
|
title: "Close Modal",
|
|
9742
9790
|
type: "button",
|
|
9743
|
-
onClick:
|
|
9791
|
+
onClick: b[1] || (b[1] = (D) => g("x-clicked-close", !1))
|
|
9744
9792
|
}, [
|
|
9745
|
-
F(
|
|
9793
|
+
F(h(xe))
|
|
9746
9794
|
])) : O("", !0),
|
|
9747
9795
|
C("div", ku, [
|
|
9748
9796
|
A(m.$slots, "default")
|
|
@@ -9770,8 +9818,8 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9770
9818
|
t == null || t.unregisterOption(r.value), o == null || o.unregisterOption(r.value);
|
|
9771
9819
|
}), G(B, (g) => {
|
|
9772
9820
|
g && Ve(() => {
|
|
9773
|
-
var m,
|
|
9774
|
-
return (
|
|
9821
|
+
var m, b;
|
|
9822
|
+
return (b = (m = i.value) == null ? void 0 : m.scrollIntoView) == null ? void 0 : b.call(m, { block: "start", behavior: "smooth" });
|
|
9775
9823
|
});
|
|
9776
9824
|
});
|
|
9777
9825
|
function w(g) {
|
|
@@ -9929,9 +9977,9 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9929
9977
|
if (t.pageCount <= t.pageRange)
|
|
9930
9978
|
return [...Array(t.pageCount + 1).keys()].slice(1);
|
|
9931
9979
|
const g = [1], m = (t.pageRange - 1) / 2;
|
|
9932
|
-
let
|
|
9933
|
-
|
|
9934
|
-
for (let $ =
|
|
9980
|
+
let b = i.value - m, D = i.value + m;
|
|
9981
|
+
b < 1 && (D += 1 - b, b = 1), D > t.pageCount && (b -= D - t.pageCount, D = t.pageCount), b = Math.max(b, 2), D = Math.min(D, t.pageCount - 1), b > 2 && g.push(t.breakText);
|
|
9982
|
+
for (let $ = b; $ <= D; $++)
|
|
9935
9983
|
g.push($);
|
|
9936
9984
|
return D < t.pageCount - 1 && g.push(t.breakText), g.push(t.pageCount), g;
|
|
9937
9985
|
}), v = f(() => `${t.centerLabel ?? "Page"} ${i.value} of ${a.value}`), B = f(() => {
|
|
@@ -9954,7 +10002,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9954
10002
|
disabled: i.value === 1,
|
|
9955
10003
|
onClick: s
|
|
9956
10004
|
}, [
|
|
9957
|
-
F(
|
|
10005
|
+
F(h(Zi)),
|
|
9958
10006
|
g.firstPageText ? (d(), y("span", Mu, j(g.firstPageText), 1)) : O("", !0)
|
|
9959
10007
|
], 10, xu)) : O("", !0),
|
|
9960
10008
|
C("button", {
|
|
@@ -9965,32 +10013,32 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
9965
10013
|
disabled: i.value === 1,
|
|
9966
10014
|
onClick: r
|
|
9967
10015
|
}, [
|
|
9968
|
-
F(
|
|
10016
|
+
F(h(Xt)),
|
|
9969
10017
|
g.prevPageText ? (d(), y("span", Vu, j(g.prevPageText), 1)) : O("", !0)
|
|
9970
10018
|
], 10, ju)
|
|
9971
10019
|
])) : O("", !0),
|
|
9972
10020
|
g.variant === "base" && g.centerDisplay === "numbers" ? (d(), y("div", Fu, [
|
|
9973
|
-
(d(!0), y(ee, null, ue(p.value, (
|
|
9974
|
-
key: `page-${
|
|
10021
|
+
(d(!0), y(ee, null, ue(p.value, (b) => (d(), y("button", {
|
|
10022
|
+
key: `page-${b}-button`,
|
|
9975
10023
|
type: "button",
|
|
9976
|
-
title: `Page ${
|
|
9977
|
-
disabled: i.value ===
|
|
9978
|
-
"data-selected":
|
|
9979
|
-
onClick: (D) => i.value =
|
|
9980
|
-
}, j(
|
|
10024
|
+
title: `Page ${b}`,
|
|
10025
|
+
disabled: i.value === b || g.breakText === b,
|
|
10026
|
+
"data-selected": b === i.value,
|
|
10027
|
+
onClick: (D) => i.value = b
|
|
10028
|
+
}, j(b.toLocaleString()), 9, qu))), 128))
|
|
9981
10029
|
])) : O("", !0),
|
|
9982
10030
|
t.variant === "base" && t.centerDisplay === "text" ? (d(), y("span", Nu, j(v.value), 1)) : O("", !0),
|
|
9983
10031
|
t.variant === "group" ? (d(), y("span", Ru, j(B.value), 1)) : O("", !0),
|
|
9984
10032
|
t.variant === "results" ? (d(), y(ee, { key: 4 }, [
|
|
9985
10033
|
m[0] || (m[0] = C("span", null, "Results Per Page:", -1)),
|
|
9986
10034
|
C("div", Wu, [
|
|
9987
|
-
(d(!0), y(ee, null, ue(w.value, (
|
|
10035
|
+
(d(!0), y(ee, null, ue(w.value, (b) => (d(), y("button", {
|
|
9988
10036
|
type: "button",
|
|
9989
|
-
key: `results-${
|
|
9990
|
-
"data-selected":
|
|
9991
|
-
disabled: i.value ===
|
|
9992
|
-
onClick: (D) => i.value =
|
|
9993
|
-
}, j(
|
|
10037
|
+
key: `results-${b}`,
|
|
10038
|
+
"data-selected": b === i.value,
|
|
10039
|
+
disabled: i.value === b || g.breakText === b,
|
|
10040
|
+
onClick: (D) => i.value = b
|
|
10041
|
+
}, j(b.toLocaleString()), 9, Hu))), 128))
|
|
9994
10042
|
])
|
|
9995
10043
|
], 64)) : O("", !0),
|
|
9996
10044
|
g.variant === "base" || g.variant === "group" ? (d(), y("div", Uu, [
|
|
@@ -10003,7 +10051,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10003
10051
|
onClick: c
|
|
10004
10052
|
}, [
|
|
10005
10053
|
g.nextPageText ? (d(), y("span", Gu, j(g.nextPageText), 1)) : O("", !0),
|
|
10006
|
-
F(
|
|
10054
|
+
F(h(Yt))
|
|
10007
10055
|
], 10, Ku),
|
|
10008
10056
|
g.showFirstLastButtons ? (d(), y("button", {
|
|
10009
10057
|
key: 0,
|
|
@@ -10015,7 +10063,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10015
10063
|
onClick: u
|
|
10016
10064
|
}, [
|
|
10017
10065
|
g.lastPageText ? (d(), y("span", Yu, j(g.lastPageText), 1)) : O("", !0),
|
|
10018
|
-
F(
|
|
10066
|
+
F(h(Ji))
|
|
10019
10067
|
], 10, Xu)) : O("", !0)
|
|
10020
10068
|
])) : O("", !0)
|
|
10021
10069
|
], 8, Lu));
|
|
@@ -10033,14 +10081,14 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10033
10081
|
function a(l) {
|
|
10034
10082
|
n.onClick && n.onClick(l), t(l);
|
|
10035
10083
|
}
|
|
10036
|
-
return (l, s) => (d(), P(ie(
|
|
10084
|
+
return (l, s) => (d(), P(ie(h(o)), X({
|
|
10037
10085
|
class: "bs-pill",
|
|
10038
10086
|
"data-active": l.active,
|
|
10039
10087
|
"data-component": "bs-pill",
|
|
10040
10088
|
"data-status": l.status || void 0,
|
|
10041
10089
|
"data-variant": l.variant || void 0,
|
|
10042
10090
|
disabled: l.disabled
|
|
10043
|
-
},
|
|
10091
|
+
}, h(i), { onClick: a }), {
|
|
10044
10092
|
default: V(() => [
|
|
10045
10093
|
l.truncate ? (d(), y("span", Qu, [
|
|
10046
10094
|
A(l.$slots, "default")
|
|
@@ -10066,14 +10114,14 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10066
10114
|
props: gt,
|
|
10067
10115
|
setup(e) {
|
|
10068
10116
|
const n = e, { rootTag: t, buttonOrLinkAttrs: o } = vt(n), { popAttrs: i, popSlotProps: a } = Zt(n);
|
|
10069
|
-
return (l, s) => (d(), P(ie(
|
|
10117
|
+
return (l, s) => (d(), P(ie(h(t)), X({
|
|
10070
10118
|
class: !l.unstyled && "bs-text-button",
|
|
10071
10119
|
"data-component": "bs-text-button",
|
|
10072
10120
|
"data-size": l.size || void 0,
|
|
10073
10121
|
"data-variant": l.variant || void 0
|
|
10074
|
-
}, { ...
|
|
10122
|
+
}, { ...h(o), ...h(i) }), {
|
|
10075
10123
|
default: V(() => [
|
|
10076
|
-
A(l.$slots, "default", $e(Ie(
|
|
10124
|
+
A(l.$slots, "default", $e(Ie(h(a))))
|
|
10077
10125
|
]),
|
|
10078
10126
|
_: 3
|
|
10079
10127
|
}, 16, ["class", "data-size", "data-variant"]));
|
|
@@ -10089,7 +10137,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10089
10137
|
"data-component": "bs-pop-footer"
|
|
10090
10138
|
}, [
|
|
10091
10139
|
A(i.$slots, "default", {}, () => [
|
|
10092
|
-
|
|
10140
|
+
h(t) ? (d(), P(ji, {
|
|
10093
10141
|
key: 0,
|
|
10094
10142
|
"pop-cancel": "self"
|
|
10095
10143
|
}, {
|
|
@@ -10139,6 +10187,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10139
10187
|
setup(e) {
|
|
10140
10188
|
return (n, t) => (d(), y("div", {
|
|
10141
10189
|
class: "bs-pop-header",
|
|
10190
|
+
"data-component": "bs-pop-header",
|
|
10142
10191
|
"data-border": n.border || void 0
|
|
10143
10192
|
}, [
|
|
10144
10193
|
A(n.$slots, "default", {}, () => [
|
|
@@ -10198,7 +10247,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10198
10247
|
}, [
|
|
10199
10248
|
A(i.$slots, "action", {}, () => [
|
|
10200
10249
|
e.actionIcon ? (d(), y(ee, { key: 0 }, [
|
|
10201
|
-
typeof e.actionIcon == "string" ? (d(), P(
|
|
10250
|
+
typeof e.actionIcon == "string" ? (d(), P(h(ze), {
|
|
10202
10251
|
key: 0,
|
|
10203
10252
|
name: e.actionIcon,
|
|
10204
10253
|
class: "bs-icon"
|
|
@@ -10217,7 +10266,7 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10217
10266
|
e.miscMeta || i.$slots.misc ? (d(), y("span", lc, [
|
|
10218
10267
|
A(i.$slots, "misc", {}, () => [
|
|
10219
10268
|
e.miscMetaIcon ? (d(), y(ee, { key: 0 }, [
|
|
10220
|
-
typeof e.miscMetaIcon == "string" ? (d(), P(
|
|
10269
|
+
typeof e.miscMetaIcon == "string" ? (d(), P(h(ze), {
|
|
10221
10270
|
key: 0,
|
|
10222
10271
|
name: e.miscMetaIcon,
|
|
10223
10272
|
class: "bs-icon"
|
|
@@ -10237,11 +10286,11 @@ const jd = ["aria-current", "data-active", "href", "target"], rt = {
|
|
|
10237
10286
|
emits: Object.keys(li),
|
|
10238
10287
|
setup(e, { emit: n }) {
|
|
10239
10288
|
const t = e, o = n, { onLinkClick: i } = en(t), { rootTag: a, buttonOrLinkAttrs: l } = vt(t, "div");
|
|
10240
|
-
return (s, r) => (d(), P(ie(
|
|
10289
|
+
return (s, r) => (d(), P(ie(h(a)), X({
|
|
10241
10290
|
class: "bs-profile",
|
|
10242
10291
|
"data-component": "bs-profile",
|
|
10243
10292
|
"data-layout": s.layout
|
|
10244
|
-
},
|
|
10293
|
+
}, h(l), { onClick: h(i) }), {
|
|
10245
10294
|
default: V(() => [
|
|
10246
10295
|
F(Oi, {
|
|
10247
10296
|
src: s.imageSrc,
|
|
@@ -10330,20 +10379,20 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10330
10379
|
const n = e, { progressStep: t, progressText: o, getStatus: i } = Vi(n);
|
|
10331
10380
|
return (a, l) => (d(), y("div", {
|
|
10332
10381
|
"aria-valuemax": e.steps.length,
|
|
10333
|
-
"aria-valuenow":
|
|
10334
|
-
"aria-valuetext":
|
|
10382
|
+
"aria-valuenow": h(t),
|
|
10383
|
+
"aria-valuetext": h(o),
|
|
10335
10384
|
class: "bs-progress-bar",
|
|
10336
10385
|
"data-component": "bs-progress-bar",
|
|
10337
10386
|
role: "progressbar"
|
|
10338
10387
|
}, [
|
|
10339
10388
|
(d(!0), y(ee, null, ue(e.steps, (s, r) => (d(), y("div", {
|
|
10340
10389
|
class: "bs-step-item",
|
|
10341
|
-
"data-status":
|
|
10390
|
+
"data-status": h(i)(s.status, r),
|
|
10342
10391
|
"data-variant": "progress",
|
|
10343
10392
|
key: s.id || s.label,
|
|
10344
10393
|
role: "status"
|
|
10345
10394
|
}, [
|
|
10346
|
-
C("span", null, j(s.label || s) + " : " + j(
|
|
10395
|
+
C("span", null, j(s.label || s) + " : " + j(h(i)(s.status, r) || "not started"), 1)
|
|
10347
10396
|
], 8, uc))), 128))
|
|
10348
10397
|
], 8, dc));
|
|
10349
10398
|
}
|
|
@@ -10393,7 +10442,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10393
10442
|
"data-disabled": e.disabled,
|
|
10394
10443
|
"data-error": e.error,
|
|
10395
10444
|
"data-size": e.size
|
|
10396
|
-
},
|
|
10445
|
+
}, h(i)), [
|
|
10397
10446
|
C("input", X({
|
|
10398
10447
|
checked: s.value,
|
|
10399
10448
|
disabled: e.disabled,
|
|
@@ -10402,7 +10451,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10402
10451
|
type: "radio",
|
|
10403
10452
|
value: e.value,
|
|
10404
10453
|
"data-error": e.error
|
|
10405
|
-
},
|
|
10454
|
+
}, h(a), {
|
|
10406
10455
|
onChange: c[0] || (c[0] = (u) => r.$emit("update:modelValue", u.target.value))
|
|
10407
10456
|
}), null, 16, pc),
|
|
10408
10457
|
e.label || r.$slots.label ? (d(), P(De, {
|
|
@@ -10488,7 +10537,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10488
10537
|
description: "For optional use with the `multiple` prop. Shows the selection count when greater than zero.",
|
|
10489
10538
|
typeDef: "boolean"
|
|
10490
10539
|
}
|
|
10491
|
-
},
|
|
10540
|
+
}, bc = ["aria-invalid", "aria-disabled", "aria-required", "data-error", "id", "tabindex"], hc = {
|
|
10492
10541
|
key: 1,
|
|
10493
10542
|
class: "bs-input-button-placeholder"
|
|
10494
10543
|
}, vc = {
|
|
@@ -10529,6 +10578,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10529
10578
|
"aria-disabled": w.disabled || void 0,
|
|
10530
10579
|
"aria-required": w.required || void 0,
|
|
10531
10580
|
class: "bs-input bs-input-button",
|
|
10581
|
+
"data-component": "bs-input-button",
|
|
10532
10582
|
"data-bs-pop-faux-button": "true",
|
|
10533
10583
|
"data-error": w.error || void 0,
|
|
10534
10584
|
id: s.value,
|
|
@@ -10542,9 +10592,9 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10542
10592
|
count: t.value.length,
|
|
10543
10593
|
variant: "notext"
|
|
10544
10594
|
}, null, 8, ["count"])) : O("", !0),
|
|
10545
|
-
u.value ? O("", !0) : (d(), y("div",
|
|
10595
|
+
u.value ? O("", !0) : (d(), y("div", hc, j(w.placeholder), 1)),
|
|
10546
10596
|
u.value ? (d(), y("div", vc, [
|
|
10547
|
-
A(w.$slots, "default", $e(Ie({ displayText: u.value, ...
|
|
10597
|
+
A(w.$slots, "default", $e(Ie({ displayText: u.value, ...h(i) })), () => [
|
|
10548
10598
|
Q(j(u.value), 1)
|
|
10549
10599
|
])
|
|
10550
10600
|
])) : O("", !0),
|
|
@@ -10555,16 +10605,16 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10555
10605
|
"aria-label": "Clear",
|
|
10556
10606
|
onClick: Se(B, ["stop"])
|
|
10557
10607
|
}, [
|
|
10558
|
-
F(
|
|
10608
|
+
F(h(xe), {
|
|
10559
10609
|
size: "sm",
|
|
10560
10610
|
"aria-hidden": "true"
|
|
10561
10611
|
})
|
|
10562
10612
|
])) : O("", !0),
|
|
10563
|
-
F(
|
|
10613
|
+
F(h(Ge), {
|
|
10564
10614
|
class: "bs-input-button-caret",
|
|
10565
10615
|
"aria-hidden": "true"
|
|
10566
10616
|
})
|
|
10567
|
-
], 16,
|
|
10617
|
+
], 16, bc);
|
|
10568
10618
|
};
|
|
10569
10619
|
}
|
|
10570
10620
|
}, mc = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
@@ -10690,7 +10740,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10690
10740
|
emits: ["update:modelValue"],
|
|
10691
10741
|
setup(e) {
|
|
10692
10742
|
const n = e, t = Me(e, "modelValue"), { filtered: o, remaining: i } = Ae(["class", "style"]), a = Ce(), l = f(() => n.id || a), s = f(() => `${l.value}-label`), r = f(() => `${l.value}-hint`), c = f(() => n.error && n.errorMsg || n.hint || "");
|
|
10693
|
-
return (u, p) => (d(), y("div", X({ "data-component": "bs-select-field" },
|
|
10743
|
+
return (u, p) => (d(), y("div", X({ "data-component": "bs-select-field" }, h(o)), [
|
|
10694
10744
|
u.label || u.$slots.label ? (d(), P(De, {
|
|
10695
10745
|
key: 0,
|
|
10696
10746
|
id: s.value,
|
|
@@ -10712,7 +10762,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10712
10762
|
"hint-id": r.value,
|
|
10713
10763
|
id: l.value,
|
|
10714
10764
|
required: u.required
|
|
10715
|
-
},
|
|
10765
|
+
}, h(i), {
|
|
10716
10766
|
modelValue: t.value,
|
|
10717
10767
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => t.value = v)
|
|
10718
10768
|
}), St({ _: 2 }, [
|
|
@@ -10780,7 +10830,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10780
10830
|
return ((p = (u = n.hints) == null ? void 0 : u.join) == null ? void 0 : p.call(u, `
|
|
10781
10831
|
`)) || n.hints;
|
|
10782
10832
|
}), s = f(() => n.error && n.errorMsg || n.hint || l.value || void 0), r = f(() => n.inputId || t.value), c = f(() => n.value || n.modelValue);
|
|
10783
|
-
return (u, p) => (d(), y("div", X({ "data-component": "bs-select-field-deprecated" },
|
|
10833
|
+
return (u, p) => (d(), y("div", X({ "data-component": "bs-select-field-deprecated" }, h(i)), [
|
|
10784
10834
|
e.label || u.$slots.label ? (d(), P(De, {
|
|
10785
10835
|
key: 0,
|
|
10786
10836
|
for: u.$attrs.id || r.value,
|
|
@@ -10797,12 +10847,12 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10797
10847
|
F(wc, X({
|
|
10798
10848
|
disabled: e.disabled,
|
|
10799
10849
|
error: e.error,
|
|
10800
|
-
"hint-id":
|
|
10850
|
+
"hint-id": h(o),
|
|
10801
10851
|
"input-id": u.$attrs.id || r.value,
|
|
10802
10852
|
required: e.required,
|
|
10803
10853
|
value: c.value,
|
|
10804
10854
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => u.$emit("update:modelValue", v))
|
|
10805
|
-
},
|
|
10855
|
+
}, h(a)), {
|
|
10806
10856
|
default: V(() => [
|
|
10807
10857
|
C("option", {
|
|
10808
10858
|
selected: !c.value,
|
|
@@ -10824,11 +10874,11 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10824
10874
|
error: e.error,
|
|
10825
10875
|
"error-msg": e.errorMsg,
|
|
10826
10876
|
hint: e.hint || l.value,
|
|
10827
|
-
"hint-id":
|
|
10877
|
+
"hint-id": h(o)
|
|
10828
10878
|
}, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
10829
10879
|
], 16));
|
|
10830
10880
|
}
|
|
10831
|
-
}), Dc = ["id", "name", "value"], kc = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"],
|
|
10881
|
+
}), Dc = ["id", "name", "value"], kc = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], eb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
10832
10882
|
__name: "BsSelectWithDropdownDeprecated",
|
|
10833
10883
|
props: {
|
|
10834
10884
|
breakout: {
|
|
@@ -10979,7 +11029,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10979
11029
|
onClick: B[0] || (B[0] = Se((w) => s.value = !s.value, ["prevent"]))
|
|
10980
11030
|
}), [
|
|
10981
11031
|
C("span", null, j(u.value), 1),
|
|
10982
|
-
e.disabled ? O("", !0) : (d(), P(
|
|
11032
|
+
e.disabled ? O("", !0) : (d(), P(h(Ge), {
|
|
10983
11033
|
key: 0,
|
|
10984
11034
|
size: "md"
|
|
10985
11035
|
}))
|
|
@@ -10989,7 +11039,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
10989
11039
|
}, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id", "value-id-key"])
|
|
10990
11040
|
]));
|
|
10991
11041
|
}
|
|
10992
|
-
}), Tc = ["data-disabled", "data-size"], $c = ["data-disabled", "data-size"], Ic = ["checked", "disabled", "id"], Cc = ["data-inner-on-label", "data-inner-off-label"],
|
|
11042
|
+
}), Tc = ["data-disabled", "data-size"], $c = ["data-disabled", "data-size"], Ic = ["checked", "disabled", "id"], Cc = ["data-inner-on-label", "data-inner-off-label"], tb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
10993
11043
|
__name: "BsSwitch",
|
|
10994
11044
|
props: {
|
|
10995
11045
|
checked: {
|
|
@@ -11033,7 +11083,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
11033
11083
|
"data-component": "bs-switch",
|
|
11034
11084
|
"data-disabled": e.disabled,
|
|
11035
11085
|
"data-size": e.size
|
|
11036
|
-
},
|
|
11086
|
+
}, h(a)), [
|
|
11037
11087
|
e.label || c.$slots.label ? (d(), P(De, {
|
|
11038
11088
|
key: 0,
|
|
11039
11089
|
for: c.$attrs.id || s.value,
|
|
@@ -11057,7 +11107,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
11057
11107
|
disabled: e.disabled,
|
|
11058
11108
|
id: c.$attrs.id || s.value,
|
|
11059
11109
|
type: "checkbox"
|
|
11060
|
-
},
|
|
11110
|
+
}, h(l), {
|
|
11061
11111
|
onChange: u[0] || (u[0] = (p) => o("update:modelValue", p.target.checked))
|
|
11062
11112
|
}), null, 16, Ic),
|
|
11063
11113
|
C("span", {
|
|
@@ -11068,7 +11118,7 @@ const dc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], uc = ["data-sta
|
|
|
11068
11118
|
], 8, $c)
|
|
11069
11119
|
], 16, Tc));
|
|
11070
11120
|
}
|
|
11071
|
-
}), Oc = ["aria-controls", "aria-selected", "data-hidden"],
|
|
11121
|
+
}), Oc = ["aria-controls", "aria-selected", "data-hidden"], nb = {
|
|
11072
11122
|
__name: "BsTab",
|
|
11073
11123
|
props: {
|
|
11074
11124
|
activeTabId: {
|
|
@@ -11208,10 +11258,10 @@ Wi.props = {
|
|
|
11208
11258
|
validator: (e) => ["left", "right"].includes(e)
|
|
11209
11259
|
}
|
|
11210
11260
|
};
|
|
11211
|
-
const
|
|
11261
|
+
const bn = Wi, Pc = {
|
|
11212
11262
|
class: "bs-table-row",
|
|
11213
11263
|
role: "row"
|
|
11214
|
-
},
|
|
11264
|
+
}, hn = {
|
|
11215
11265
|
__name: "TableRow",
|
|
11216
11266
|
setup(e) {
|
|
11217
11267
|
const n = ce(Ni, null) || ce(qi, null) || ce(Ri);
|
|
@@ -11227,7 +11277,7 @@ function Hi(e, { slots: n }) {
|
|
|
11227
11277
|
}, n);
|
|
11228
11278
|
}
|
|
11229
11279
|
Hi.props = {};
|
|
11230
|
-
const
|
|
11280
|
+
const ho = Hi;
|
|
11231
11281
|
function Ui(e, { slots: n }) {
|
|
11232
11282
|
return de("div", {
|
|
11233
11283
|
class: "bs-table-cell",
|
|
@@ -11287,7 +11337,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11287
11337
|
A(l.$slots, "default", {}, () => [
|
|
11288
11338
|
s[0] || (s[0] = C("span", { class: "bs-visually-hidden" }, "sort toggle", -1))
|
|
11289
11339
|
]),
|
|
11290
|
-
(d(), P(ie(i[o.order] ||
|
|
11340
|
+
(d(), P(ie(i[o.order] || h(Io)), {
|
|
11291
11341
|
size: e.size,
|
|
11292
11342
|
"aria-hidden": "true"
|
|
11293
11343
|
}, null, 8, ["size"]))
|
|
@@ -11340,9 +11390,9 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11340
11390
|
function m(T) {
|
|
11341
11391
|
T.target.setPointerCapture(T.pointerId);
|
|
11342
11392
|
const L = o.value.closest(".bs-table-scroll-wrap");
|
|
11343
|
-
o.value.style.setProperty("--bs-table-col-resizer-tail-height", `${L.offsetHeight}px`), c.value = !0, i = a, o.value.addEventListener("pointermove",
|
|
11393
|
+
o.value.style.setProperty("--bs-table-col-resizer-tail-height", `${L.offsetHeight}px`), c.value = !0, i = a, o.value.addEventListener("pointermove", b), o.value.addEventListener("pointerup", N, { once: !0 });
|
|
11344
11394
|
}
|
|
11345
|
-
function
|
|
11395
|
+
function b(T) {
|
|
11346
11396
|
a = D(T) ? s.value.rect.left + s.value.minWidth : T.clientX, !l && (l = requestAnimationFrame(() => {
|
|
11347
11397
|
l = null, $();
|
|
11348
11398
|
}));
|
|
@@ -11354,7 +11404,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11354
11404
|
o.value.style.setProperty("--bs-table-col-resizer-x", `${a}px`);
|
|
11355
11405
|
}
|
|
11356
11406
|
function N() {
|
|
11357
|
-
o.value.removeEventListener("pointermove",
|
|
11407
|
+
o.value.removeEventListener("pointermove", b), setTimeout(() => c.value = !1);
|
|
11358
11408
|
const T = a - i;
|
|
11359
11409
|
T !== 0 && k(Math.round(s.value.rect.width + T));
|
|
11360
11410
|
}
|
|
@@ -11379,7 +11429,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11379
11429
|
[Pe, r.value]
|
|
11380
11430
|
]);
|
|
11381
11431
|
}
|
|
11382
|
-
},
|
|
11432
|
+
}, ob = {
|
|
11383
11433
|
props: {
|
|
11384
11434
|
rows: {
|
|
11385
11435
|
type: Array,
|
|
@@ -11525,7 +11575,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11525
11575
|
));
|
|
11526
11576
|
return g(E);
|
|
11527
11577
|
}
|
|
11528
|
-
function
|
|
11578
|
+
function b() {
|
|
11529
11579
|
const E = e.rows.map((q, U) => {
|
|
11530
11580
|
const x = n.body({ row: q, rowIndex: U });
|
|
11531
11581
|
return k(x, re, { row: q, rowIndex: U });
|
|
@@ -11545,17 +11595,17 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11545
11595
|
);
|
|
11546
11596
|
}
|
|
11547
11597
|
function N(E = []) {
|
|
11548
|
-
return de(
|
|
11598
|
+
return de(hn, null, () => E);
|
|
11549
11599
|
}
|
|
11550
11600
|
function k(E = [], q, U = {}) {
|
|
11551
|
-
return z(E, [
|
|
11601
|
+
return z(E, [hn]).map(
|
|
11552
11602
|
(M) => Te(M) ? de(M, null, () => we(q, U)) : de(M)
|
|
11553
11603
|
);
|
|
11554
11604
|
}
|
|
11555
11605
|
function S(E = {}) {
|
|
11556
11606
|
var M;
|
|
11557
|
-
const q = (M = E.slots) == null ? void 0 : M.default({}).find((R) => R.type ===
|
|
11558
|
-
class: e.truncate &&
|
|
11607
|
+
const q = (M = E.slots) == null ? void 0 : M.default({}).find((R) => R.type === ho), U = te(E), x = {
|
|
11608
|
+
class: e.truncate && be(E),
|
|
11559
11609
|
"data-bs-table-col-id": E.props.id,
|
|
11560
11610
|
// TODO: only added here for col resize reasons, could be on all cells
|
|
11561
11611
|
...T(E),
|
|
@@ -11565,7 +11615,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11565
11615
|
const R = q.children.default().map((ne) => ne.type === yo ? Qi(ne, { ...W(E) }) : de(ne));
|
|
11566
11616
|
return de(q, x, () => R);
|
|
11567
11617
|
}
|
|
11568
|
-
return q ? de(q, x) : de(
|
|
11618
|
+
return q ? de(q, x) : de(ho, x, () => {
|
|
11569
11619
|
var R;
|
|
11570
11620
|
return Y(E) || ((R = E.props) == null ? void 0 : R.name);
|
|
11571
11621
|
});
|
|
@@ -11616,10 +11666,10 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11616
11666
|
}
|
|
11617
11667
|
function re(E = {}, q = {}) {
|
|
11618
11668
|
var M;
|
|
11619
|
-
const U = (M = E.slots) == null ? void 0 : M.default(q).find((R) => R.type === vo), x = { class: e.truncate &&
|
|
11669
|
+
const U = (M = E.slots) == null ? void 0 : M.default(q).find((R) => R.type === vo), x = { class: e.truncate && be(E) };
|
|
11620
11670
|
return U ? de(U, x) : de(vo, x, () => H(q.row, E));
|
|
11621
11671
|
}
|
|
11622
|
-
function
|
|
11672
|
+
function be(E) {
|
|
11623
11673
|
const q = E.props.truncate === void 0 ? e.truncate : E.props.truncate === "" || E.props.truncate;
|
|
11624
11674
|
return E.props.truncate !== "false" && q && "bs-table-truncate";
|
|
11625
11675
|
}
|
|
@@ -11635,7 +11685,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11635
11685
|
ge("right", E, q)
|
|
11636
11686
|
];
|
|
11637
11687
|
}
|
|
11638
|
-
function
|
|
11688
|
+
function he() {
|
|
11639
11689
|
return de(Fc, { onResize: ke });
|
|
11640
11690
|
}
|
|
11641
11691
|
function ke({ el: E, id: q, width: U }) {
|
|
@@ -11654,7 +11704,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11654
11704
|
M.forEach((R) => i.value[R.id] = R.width), t("resize-col", { target: M[0], updated: [...M] });
|
|
11655
11705
|
}
|
|
11656
11706
|
function Te(E) {
|
|
11657
|
-
return E.type ===
|
|
11707
|
+
return E.type === hn && !E.children;
|
|
11658
11708
|
}
|
|
11659
11709
|
function H(E, q) {
|
|
11660
11710
|
return (q.props["row-key"] || q.props.rowKey || q.props.id || "").split(".").reduce((M, R) => M && M[R], E);
|
|
@@ -11684,7 +11734,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11684
11734
|
slots: U.children
|
|
11685
11735
|
});
|
|
11686
11736
|
return E.reduce((U, x) => {
|
|
11687
|
-
if (x.type ===
|
|
11737
|
+
if (x.type === bn) {
|
|
11688
11738
|
const { place: M, frozenCols: R } = K(x);
|
|
11689
11739
|
return U[M] = U[M].concat(R.map(q)), U;
|
|
11690
11740
|
}
|
|
@@ -11697,9 +11747,9 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11697
11747
|
return q.header = U, q;
|
|
11698
11748
|
if (U.type === Vc)
|
|
11699
11749
|
return q.footer = U, q;
|
|
11700
|
-
if ([
|
|
11750
|
+
if ([bn, pn].includes(U.type))
|
|
11701
11751
|
return q.columns.push(U), q;
|
|
11702
|
-
const x = z([U], [
|
|
11752
|
+
const x = z([U], [bn, pn]);
|
|
11703
11753
|
return x != null && x.length ? q.columns = [...q.columns, ...x] : q.other.push(U), q;
|
|
11704
11754
|
}, { columns: [], header: null, footer: null, other: [] });
|
|
11705
11755
|
}
|
|
@@ -11710,18 +11760,18 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11710
11760
|
p([
|
|
11711
11761
|
u([
|
|
11712
11762
|
n.header ? w() : B(),
|
|
11713
|
-
n.body ?
|
|
11763
|
+
n.body ? b() : m(),
|
|
11714
11764
|
n.footer && $()
|
|
11715
11765
|
]),
|
|
11716
11766
|
x,
|
|
11717
11767
|
// non-Table related slot content, e.g. consumers could add a loading spinner or empty state message
|
|
11718
|
-
r.value &&
|
|
11768
|
+
r.value && he()
|
|
11719
11769
|
]),
|
|
11720
11770
|
U
|
|
11721
11771
|
]);
|
|
11722
11772
|
};
|
|
11723
11773
|
}
|
|
11724
|
-
}, qc = ["id", "data-resizing"], Nc = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Rc = 73, Wc = 20, vn = 16,
|
|
11774
|
+
}, qc = ["id", "data-resizing"], Nc = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Rc = 73, Wc = 20, vn = 16, ib = {
|
|
11725
11775
|
__name: "BsTabList",
|
|
11726
11776
|
props: {
|
|
11727
11777
|
activeTabId: { type: String, required: !0 },
|
|
@@ -11732,7 +11782,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11732
11782
|
},
|
|
11733
11783
|
emits: ["tabChange", "update:modelValue"],
|
|
11734
11784
|
setup(e, { emit: n }) {
|
|
11735
|
-
const t = e, o = n, i = I(!1), a = I(!1), l = I([]), s = I(!1), r = I(!1), c = I(), u = I(), p = I([]), v = I(!1), B = I([]), w = I(), g = I([]), m = I(),
|
|
11785
|
+
const t = e, o = n, i = I(!1), a = I(!1), l = I([]), s = I(!1), r = I(!1), c = I(), u = I(), p = I([]), v = I(!1), B = I([]), w = I(), g = I([]), m = I(), b = I(), [D, $] = fe(2);
|
|
11736
11786
|
let N;
|
|
11737
11787
|
const k = f(() => t.activeTabId ? B.value.findIndex((M) => M.id === t.activeTabId) : 0), S = f(() => l.value.some((M) => M.id === t.activeTabId)), T = f(() => `${$.value}-options`), L = f(() => `${$.value}-toggle`), W = f(() => {
|
|
11738
11788
|
var M;
|
|
@@ -11747,7 +11797,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11747
11797
|
R.dataset.hidden = "true", Ne.push(R);
|
|
11748
11798
|
continue;
|
|
11749
11799
|
}
|
|
11750
|
-
if (ne = Re < B.value.length - 1 ?
|
|
11800
|
+
if (ne = Re < B.value.length - 1 ? b.value - Y.value : b.value, p.value[Re] > ne) {
|
|
11751
11801
|
R.dataset.hidden = "true", Ne.push(R), M = !0, se = !0;
|
|
11752
11802
|
continue;
|
|
11753
11803
|
}
|
|
@@ -11761,7 +11811,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11761
11811
|
function re() {
|
|
11762
11812
|
clearTimeout(N);
|
|
11763
11813
|
}
|
|
11764
|
-
function
|
|
11814
|
+
function be() {
|
|
11765
11815
|
re(), ve();
|
|
11766
11816
|
}
|
|
11767
11817
|
function ge(M) {
|
|
@@ -11772,7 +11822,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11772
11822
|
const R = (He = (Ne = (se = B.value[M]) == null ? void 0 : se.getBoundingClientRect) == null ? void 0 : Ne.call(se)) == null ? void 0 : He.width;
|
|
11773
11823
|
return R || (M === 0 ? p.value[0] : p.value[M] - p.value[M - 1]) || 0;
|
|
11774
11824
|
}
|
|
11775
|
-
function
|
|
11825
|
+
function he() {
|
|
11776
11826
|
var M;
|
|
11777
11827
|
(M = B.value[k.value]) == null || M.setAttribute("aria-selected", "true"), te();
|
|
11778
11828
|
}
|
|
@@ -11813,7 +11863,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11813
11863
|
}
|
|
11814
11864
|
function _() {
|
|
11815
11865
|
var He, Re, eo, to;
|
|
11816
|
-
const M = parseInt(c.value.style.getPropertyValue("--active-line-offset")) || 0, R =
|
|
11866
|
+
const M = parseInt(c.value.style.getPropertyValue("--active-line-offset")) || 0, R = b.value;
|
|
11817
11867
|
let ne = 300, se = ((Re = (He = g.value) == null ? void 0 : He[k.value]) == null ? void 0 : Re.offsetLeft) || 0, Ne = we(k.value);
|
|
11818
11868
|
r.value && S.value && (se = (eo = w.value) == null ? void 0 : eo.offsetLeft, Ne = (to = w.value) == null ? void 0 : to.offsetWidth), ne = Math.max(Math.abs((se - M) / R * 300), 100), c.value.style.setProperty("--active-line-max-width", `${R}px`), c.value.style.setProperty("--active-line-scale", `${Ne / R}`), c.value.style.setProperty("--active-line-offset", `${se}px`), c.value.style.setProperty("--active-line-transition-duration", `${ne}ms`);
|
|
11819
11869
|
}
|
|
@@ -11824,7 +11874,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11824
11874
|
function E() {
|
|
11825
11875
|
const M = pt(() => {
|
|
11826
11876
|
var R;
|
|
11827
|
-
|
|
11877
|
+
b.value = (R = c == null ? void 0 : c.value) == null ? void 0 : R.clientWidth, te();
|
|
11828
11878
|
}, 25);
|
|
11829
11879
|
m.value = new ResizeObserver(M), m.value.observe(document.body), c.value && m.value.observe(c.value);
|
|
11830
11880
|
}
|
|
@@ -11847,18 +11897,18 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11847
11897
|
}
|
|
11848
11898
|
r.value && M.push(c.value.querySelector(".bs-tab-list-toggle")), g.value = M;
|
|
11849
11899
|
}
|
|
11850
|
-
return G(() => t.activeTabId,
|
|
11900
|
+
return G(() => t.activeTabId, he), oe(() => {
|
|
11851
11901
|
var M;
|
|
11852
11902
|
try {
|
|
11853
|
-
q(), U(), E(),
|
|
11903
|
+
q(), U(), E(), b.value = c.value.getBoundingClientRect().width, te(), t.withBsTabs || (M = B.value[k.value]) == null || M.setAttribute("aria-selected", "true");
|
|
11854
11904
|
} catch (R) {
|
|
11855
11905
|
console.log("tab error", R);
|
|
11856
11906
|
}
|
|
11857
|
-
}), Oe(
|
|
11907
|
+
}), Oe(be), (M, R) => (d(), y("div", {
|
|
11858
11908
|
class: "bs-tab-list",
|
|
11859
11909
|
ref_key: "hostEl",
|
|
11860
11910
|
ref: c,
|
|
11861
|
-
id: M.$attrs.id ||
|
|
11911
|
+
id: M.$attrs.id || h(D),
|
|
11862
11912
|
"data-component": "bs-tab-list",
|
|
11863
11913
|
"data-resizing": !i.value || void 0
|
|
11864
11914
|
}, [
|
|
@@ -11874,7 +11924,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11874
11924
|
A(M.$slots, "default")
|
|
11875
11925
|
], 544),
|
|
11876
11926
|
C("button", {
|
|
11877
|
-
"aria-controls":
|
|
11927
|
+
"aria-controls": h($),
|
|
11878
11928
|
"aria-expanded": s.value,
|
|
11879
11929
|
class: "bs-tab-list-toggle",
|
|
11880
11930
|
"data-active": S.value || void 0,
|
|
@@ -11884,15 +11934,15 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11884
11934
|
ref: w,
|
|
11885
11935
|
onClick: Te
|
|
11886
11936
|
}, [
|
|
11887
|
-
F(
|
|
11937
|
+
F(h(ta), { size: "sm" }),
|
|
11888
11938
|
Q(" " + j(W.value), 1)
|
|
11889
11939
|
], 8, Nc),
|
|
11890
11940
|
F(Li, {
|
|
11891
11941
|
"anchor-id": L.value,
|
|
11892
|
-
"container-id": M.$attrs.id ||
|
|
11942
|
+
"container-id": M.$attrs.id || h(D),
|
|
11893
11943
|
"helper-description": e.helperDescription || void 0,
|
|
11894
11944
|
"helper-text": e.helperText,
|
|
11895
|
-
id:
|
|
11945
|
+
id: h($),
|
|
11896
11946
|
"options-id": T.value,
|
|
11897
11947
|
position: "right",
|
|
11898
11948
|
preloaded: "",
|
|
@@ -11917,7 +11967,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11917
11967
|
}, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
|
|
11918
11968
|
], 8, qc));
|
|
11919
11969
|
}
|
|
11920
|
-
}, Hc = ["aria-labelledby", "data-active", "id"],
|
|
11970
|
+
}, Hc = ["aria-labelledby", "data-active", "id"], ab = {
|
|
11921
11971
|
__name: "BsTabPanel",
|
|
11922
11972
|
props: {
|
|
11923
11973
|
activeTabId: {
|
|
@@ -11964,7 +12014,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
11964
12014
|
onInput: a[0] || (a[0] = (l) => i.$emit("update:modelValue", l.target.value))
|
|
11965
12015
|
}, o.value), null, 16, Uc));
|
|
11966
12016
|
}
|
|
11967
|
-
},
|
|
12017
|
+
}, sb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
11968
12018
|
__name: "BsTextareaField",
|
|
11969
12019
|
props: {
|
|
11970
12020
|
/** Sets the maximum value this textarea will allow. Will also display character count if present. This does not set maxlength, so users are able to enter text that is longer and edit it down. Enforcement of length must be by the developer. */
|
|
@@ -12018,7 +12068,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
12018
12068
|
return ((v = (p = t.hints) == null ? void 0 : p.join) == null ? void 0 : v.call(p, `
|
|
12019
12069
|
`)) || t.hints;
|
|
12020
12070
|
}), c = f(() => t.error && t.errorMsg || t.hint || r.value || void 0), u = f(() => t.inputId || o.value);
|
|
12021
|
-
return (p, v) => (d(), y("div", X({ "data-component": "bs-textarea-field" },
|
|
12071
|
+
return (p, v) => (d(), y("div", X({ "data-component": "bs-textarea-field" }, h(a)), [
|
|
12022
12072
|
e.label || p.$slots.label ? (d(), P(De, {
|
|
12023
12073
|
key: 0,
|
|
12024
12074
|
for: p.$attrs.id || u.value,
|
|
@@ -12035,14 +12085,14 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
12035
12085
|
F(Kc, X({
|
|
12036
12086
|
disabled: e.disabled,
|
|
12037
12087
|
error: e.error,
|
|
12038
|
-
"hint-id":
|
|
12088
|
+
"hint-id": h(i),
|
|
12039
12089
|
id: p.$attrs.id || u.value,
|
|
12040
12090
|
placeholder: e.placeholder,
|
|
12041
12091
|
required: e.required,
|
|
12042
12092
|
rows: e.rows,
|
|
12043
12093
|
value: e.value || e.modelValue,
|
|
12044
12094
|
"onUpdate:modelValue": v[0] || (v[0] = (B) => p.$emit("update:modelValue", B))
|
|
12045
|
-
},
|
|
12095
|
+
}, h(l)), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
|
|
12046
12096
|
c.value || e.charMax ? (d(), P(qe, {
|
|
12047
12097
|
key: 1,
|
|
12048
12098
|
"char-count": s.value,
|
|
@@ -12051,11 +12101,11 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
12051
12101
|
error: e.error,
|
|
12052
12102
|
"error-msg": e.errorMsg,
|
|
12053
12103
|
hint: e.hint || r.value,
|
|
12054
|
-
"hint-id":
|
|
12104
|
+
"hint-id": h(i)
|
|
12055
12105
|
}, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
12056
12106
|
], 16));
|
|
12057
12107
|
}
|
|
12058
|
-
}), Gc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Xc = ["data-status"], Yc = { class: "bs-visually-hidden" },
|
|
12108
|
+
}), Gc = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Xc = ["data-status"], Yc = { class: "bs-visually-hidden" }, lb = {
|
|
12059
12109
|
__name: "BsTimeline",
|
|
12060
12110
|
props: {
|
|
12061
12111
|
/** @type {Status} */
|
|
@@ -12098,15 +12148,15 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
12098
12148
|
}
|
|
12099
12149
|
return (s, r) => (d(), y("div", {
|
|
12100
12150
|
"aria-valuemax": e.steps.length,
|
|
12101
|
-
"aria-valuenow":
|
|
12102
|
-
"aria-valuetext":
|
|
12151
|
+
"aria-valuenow": h(o),
|
|
12152
|
+
"aria-valuetext": h(i),
|
|
12103
12153
|
class: "bs-timeline",
|
|
12104
12154
|
"data-component": "bs-timeline",
|
|
12105
12155
|
role: "progressbar"
|
|
12106
12156
|
}, [
|
|
12107
12157
|
(d(!0), y(ee, null, ue(e.steps, (c, u) => (d(), y("div", {
|
|
12108
12158
|
class: "bs-step-item",
|
|
12109
|
-
"data-status":
|
|
12159
|
+
"data-status": h(a)(c.status, u),
|
|
12110
12160
|
key: c.id || c.label,
|
|
12111
12161
|
role: "status"
|
|
12112
12162
|
}, [
|
|
@@ -12116,7 +12166,7 @@ const Vc = /* @__PURE__ */ _n(xc, [["render", jc]]), yo = {
|
|
|
12116
12166
|
})),
|
|
12117
12167
|
C("p", null, [
|
|
12118
12168
|
Q(j(c.label || c) + " ", 1),
|
|
12119
|
-
C("span", Yc, " : " + j(
|
|
12169
|
+
C("span", Yc, " : " + j(h(a)(c.status, u) || "not started"), 1)
|
|
12120
12170
|
])
|
|
12121
12171
|
], 8, Xc))), 128))
|
|
12122
12172
|
], 8, Gc));
|
|
@@ -12224,7 +12274,7 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12224
12274
|
J(o, "inputId", void 0, "Set 'id' directly on the component instead.");
|
|
12225
12275
|
const i = t, a = I(Qe(o.modelValue)), l = I([]), s = I(""), r = I(!1);
|
|
12226
12276
|
function c() {
|
|
12227
|
-
const
|
|
12277
|
+
const b = [];
|
|
12228
12278
|
let D = !1;
|
|
12229
12279
|
for (let $ = 0; $ < 24 && !D; $++)
|
|
12230
12280
|
for (let N = 0; N < 60; N += o.step) {
|
|
@@ -12234,19 +12284,19 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12234
12284
|
D = !0;
|
|
12235
12285
|
break;
|
|
12236
12286
|
}
|
|
12237
|
-
|
|
12287
|
+
b.push({
|
|
12238
12288
|
label: Qe(k),
|
|
12239
12289
|
value: k
|
|
12240
12290
|
});
|
|
12241
12291
|
}
|
|
12242
12292
|
}
|
|
12243
|
-
return
|
|
12293
|
+
return b;
|
|
12244
12294
|
}
|
|
12245
|
-
function u(
|
|
12246
|
-
return
|
|
12295
|
+
function u(b) {
|
|
12296
|
+
return b ? o.minTime && b < o.minTime ? gn : o.maxTime && b > o.maxTime ? mn : o.disabledTimes.includes(b) ? yn : "" : "";
|
|
12247
12297
|
}
|
|
12248
|
-
function p(
|
|
12249
|
-
switch (u(
|
|
12298
|
+
function p(b) {
|
|
12299
|
+
switch (u(b)) {
|
|
12250
12300
|
case mn:
|
|
12251
12301
|
return wo;
|
|
12252
12302
|
case gn:
|
|
@@ -12256,21 +12306,21 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12256
12306
|
return "";
|
|
12257
12307
|
}
|
|
12258
12308
|
}
|
|
12259
|
-
function v(
|
|
12260
|
-
return
|
|
12309
|
+
function v(b, D) {
|
|
12310
|
+
return b = b.toString().padStart(2, "0"), D = D.toString().padStart(2, "0"), `${b}:${D}`;
|
|
12261
12311
|
}
|
|
12262
|
-
function B(
|
|
12263
|
-
const D = Jc(
|
|
12312
|
+
function B(b) {
|
|
12313
|
+
const D = Jc(b);
|
|
12264
12314
|
D === o.modelValue && (a.value = Qe(o.modelValue)), g(D);
|
|
12265
12315
|
}
|
|
12266
12316
|
function w() {
|
|
12267
12317
|
l.value = c();
|
|
12268
12318
|
}
|
|
12269
|
-
function g(
|
|
12270
|
-
m(
|
|
12319
|
+
function g(b) {
|
|
12320
|
+
m(b), i("update:modelValue", b);
|
|
12271
12321
|
}
|
|
12272
|
-
function m(
|
|
12273
|
-
switch (u(
|
|
12322
|
+
function m(b) {
|
|
12323
|
+
switch (u(b)) {
|
|
12274
12324
|
case mn:
|
|
12275
12325
|
s.value = `Time must be before ${Qe(o.maxTime)}`, r.value = !0;
|
|
12276
12326
|
break;
|
|
@@ -12294,12 +12344,13 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12294
12344
|
() => o.maxTime,
|
|
12295
12345
|
() => o.minTime,
|
|
12296
12346
|
() => o.modelValue
|
|
12297
|
-
], () => m(o.modelValue)), G(() => o.modelValue, (
|
|
12298
|
-
a.value = o.modelValue ? Qe(
|
|
12347
|
+
], () => m(o.modelValue)), G(() => o.modelValue, (b) => {
|
|
12348
|
+
a.value = o.modelValue ? Qe(b) : "";
|
|
12299
12349
|
}), n({
|
|
12300
12350
|
validationErr: r,
|
|
12301
12351
|
validationErrMsg: s
|
|
12302
|
-
}), (
|
|
12352
|
+
}), (b, D) => (d(), P(Ei, {
|
|
12353
|
+
"data-component": "bs-time-picker",
|
|
12303
12354
|
disabled: e.disabled,
|
|
12304
12355
|
"display-value": a.value,
|
|
12305
12356
|
"dropdown-position": e.dropdownPosition,
|
|
@@ -12317,7 +12368,7 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12317
12368
|
"onUpdate:modelValue": B
|
|
12318
12369
|
}, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
|
|
12319
12370
|
}
|
|
12320
|
-
}),
|
|
12371
|
+
}), rb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
12321
12372
|
__name: "BsTimePickerField",
|
|
12322
12373
|
props: {
|
|
12323
12374
|
disabled: {
|
|
@@ -12400,7 +12451,7 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12400
12451
|
}), (g, m) => (d(), y("div", X({
|
|
12401
12452
|
"aria-live": "polite",
|
|
12402
12453
|
"data-component": "bs-time-picker-field"
|
|
12403
|
-
},
|
|
12454
|
+
}, h(l)), [
|
|
12404
12455
|
e.label || g.$slots.label ? (d(), P(De, {
|
|
12405
12456
|
key: 0,
|
|
12406
12457
|
for: g.$attrs.id || p.value,
|
|
@@ -12424,7 +12475,7 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12424
12475
|
error: u.value,
|
|
12425
12476
|
"helper-description": e.helperDescription,
|
|
12426
12477
|
"helper-text": e.helperText,
|
|
12427
|
-
"hint-id":
|
|
12478
|
+
"hint-id": h(a),
|
|
12428
12479
|
id: g.$attrs.id || p.value,
|
|
12429
12480
|
"max-time": e.maxTime,
|
|
12430
12481
|
"min-time": e.minTime,
|
|
@@ -12432,13 +12483,13 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12432
12483
|
placeholder: e.placeholder,
|
|
12433
12484
|
required: e.required,
|
|
12434
12485
|
step: e.step,
|
|
12435
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
12436
|
-
},
|
|
12486
|
+
"onUpdate:modelValue": m[0] || (m[0] = (b) => g.$emit("update:modelValue", b))
|
|
12487
|
+
}, h(s)), null, 16, ["disabled-times", "disabled", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
|
|
12437
12488
|
me(F(qe, {
|
|
12438
12489
|
error: u.value,
|
|
12439
12490
|
"error-msg": c.value,
|
|
12440
12491
|
hint: e.hint,
|
|
12441
|
-
"hint-id":
|
|
12492
|
+
"hint-id": h(a)
|
|
12442
12493
|
}, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
|
|
12443
12494
|
[Pe, v.value]
|
|
12444
12495
|
])
|
|
@@ -12448,10 +12499,10 @@ const yn = "excluded", mn = "over", go = "skip", wo = "stop", gn = "under", _c =
|
|
|
12448
12499
|
function tp() {
|
|
12449
12500
|
return { activeToastIds: ep };
|
|
12450
12501
|
}
|
|
12451
|
-
const
|
|
12502
|
+
const db = {
|
|
12452
12503
|
__name: "BsToast",
|
|
12453
12504
|
props: Rn,
|
|
12454
|
-
emits: Object.keys(
|
|
12505
|
+
emits: Object.keys(bi),
|
|
12455
12506
|
setup(e, { emit: n }) {
|
|
12456
12507
|
const t = e, o = n, i = at(), { activeToastIds: a } = tp();
|
|
12457
12508
|
Be(Mi, {});
|
|
@@ -12492,7 +12543,7 @@ const dh = {
|
|
|
12492
12543
|
_: 3
|
|
12493
12544
|
}, 8, ["id", "style", "data-variant"]));
|
|
12494
12545
|
}
|
|
12495
|
-
}, np = ["data-stacked"],
|
|
12546
|
+
}, np = ["data-stacked"], ub = {
|
|
12496
12547
|
__name: "BsToastActionsDeprecated",
|
|
12497
12548
|
setup(e) {
|
|
12498
12549
|
const n = ce("handleDismiss", () => {
|
|
@@ -12510,7 +12561,7 @@ const dh = {
|
|
|
12510
12561
|
F(ji, {
|
|
12511
12562
|
size: "sm",
|
|
12512
12563
|
"text-btn": "",
|
|
12513
|
-
onClick:
|
|
12564
|
+
onClick: h(n)
|
|
12514
12565
|
}, {
|
|
12515
12566
|
default: V(() => [...i[0] || (i[0] = [
|
|
12516
12567
|
Q(" Dismiss ", -1)
|
|
@@ -12529,7 +12580,7 @@ function ap(e, n) {
|
|
|
12529
12580
|
A(e.$slots, "default")
|
|
12530
12581
|
]);
|
|
12531
12582
|
}
|
|
12532
|
-
const
|
|
12583
|
+
const cb = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data-shown", "data-stacked"], pb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
12533
12584
|
__name: "BsToastDeprecated",
|
|
12534
12585
|
props: {
|
|
12535
12586
|
shown: {
|
|
@@ -12586,7 +12637,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12586
12637
|
}
|
|
12587
12638
|
return (c, u) => (d(), P(Pt, {
|
|
12588
12639
|
name: "bs-toast-deprecated",
|
|
12589
|
-
shown:
|
|
12640
|
+
shown: h(i),
|
|
12590
12641
|
preloaded: e.preloaded,
|
|
12591
12642
|
onAfterEnter: r,
|
|
12592
12643
|
onAfterLeave: u[0] || (u[0] = (p) => o("after-leave"))
|
|
@@ -12596,8 +12647,8 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12596
12647
|
class: "bs-toast-deprecated",
|
|
12597
12648
|
"data-component": "bs-toast-deprecated",
|
|
12598
12649
|
"data-variant": e.variant,
|
|
12599
|
-
"data-shown":
|
|
12600
|
-
"data-stacked":
|
|
12650
|
+
"data-shown": h(i),
|
|
12651
|
+
"data-stacked": h(l) || void 0,
|
|
12601
12652
|
role: "alert"
|
|
12602
12653
|
}, c.$attrs), [
|
|
12603
12654
|
A(c.$slots, "default")
|
|
@@ -12609,14 +12660,14 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12609
12660
|
}), lp = {
|
|
12610
12661
|
class: "bs-toaster-deprecated",
|
|
12611
12662
|
"data-component": "bs-toaster-deprecated"
|
|
12612
|
-
},
|
|
12663
|
+
}, fb = {
|
|
12613
12664
|
__name: "BsToasterDeprecated",
|
|
12614
12665
|
setup(e) {
|
|
12615
12666
|
return Be("stacked", !0), (n, t) => (d(), y("div", lp, [
|
|
12616
12667
|
A(n.$slots, "default")
|
|
12617
12668
|
]));
|
|
12618
12669
|
}
|
|
12619
|
-
}, rp = ["data-variant"], dp = { class: "bs-toast-header-deprecated-text" },
|
|
12670
|
+
}, rp = ["data-variant"], dp = { class: "bs-toast-header-deprecated-text" }, bb = {
|
|
12620
12671
|
__name: "BsToastHeaderDeprecated",
|
|
12621
12672
|
setup(e) {
|
|
12622
12673
|
const n = ce("variant", void 0), t = f(() => {
|
|
@@ -12634,7 +12685,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12634
12685
|
return (o, i) => (d(), y("div", {
|
|
12635
12686
|
class: "bs-toast-header-deprecated",
|
|
12636
12687
|
"data-component": "bs-toast-header-deprecated",
|
|
12637
|
-
"data-variant":
|
|
12688
|
+
"data-variant": h(n)
|
|
12638
12689
|
}, [
|
|
12639
12690
|
(d(), P(ie(t.value), { class: "bs-toast-header-deprecated-icon" })),
|
|
12640
12691
|
C("div", dp, [
|
|
@@ -12647,7 +12698,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12647
12698
|
ref: "locator",
|
|
12648
12699
|
"data-bs-tooltip-locator": "",
|
|
12649
12700
|
hidden: ""
|
|
12650
|
-
},
|
|
12701
|
+
}, hb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
12651
12702
|
__name: "BsTooltip",
|
|
12652
12703
|
props: Wn,
|
|
12653
12704
|
setup(e) {
|
|
@@ -12689,7 +12740,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12689
12740
|
a.value && u.value ? (d(), y("span", up, null, 512)) : O("", !0)
|
|
12690
12741
|
], 64));
|
|
12691
12742
|
}
|
|
12692
|
-
}), cp = ["data-position"], pp = ["id"],
|
|
12743
|
+
}), cp = ["data-position"], pp = ["id"], vb = {
|
|
12693
12744
|
__name: "BsTooltipDeprecated",
|
|
12694
12745
|
props: {
|
|
12695
12746
|
tooltipId: {
|
|
@@ -12765,18 +12816,18 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12765
12816
|
},
|
|
12766
12817
|
filterInputModifiers: {}
|
|
12767
12818
|
}),
|
|
12768
|
-
emits: /* @__PURE__ */ Le(Object.keys(
|
|
12819
|
+
emits: /* @__PURE__ */ Le(Object.keys(hi), ["update:modelValue", "update:filterInput"]),
|
|
12769
12820
|
setup(e, { emit: n }) {
|
|
12770
12821
|
const t = e, o = Me(e, "modelValue"), i = Me(e, "filterInput"), a = {
|
|
12771
|
-
onInput:
|
|
12822
|
+
onInput: b
|
|
12772
12823
|
}, l = {
|
|
12773
12824
|
onFocus: D,
|
|
12774
|
-
onClick:
|
|
12825
|
+
onClick: b
|
|
12775
12826
|
}, s = Ce(), r = We(), c = it("inputSearch"), u = at(), p = I(!1), v = f(() => t.id || s), B = f(() => `${v.value}-dropdown`), w = f(() => {
|
|
12776
12827
|
var S;
|
|
12777
12828
|
return (S = c.value) == null ? void 0 : S.$el.id;
|
|
12778
12829
|
}), g = { ...l, ...a }, m = f(() => X(g, r));
|
|
12779
|
-
function
|
|
12830
|
+
function b() {
|
|
12780
12831
|
u.open(B.value);
|
|
12781
12832
|
}
|
|
12782
12833
|
function D() {
|
|
@@ -12784,7 +12835,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12784
12835
|
p.value = !1;
|
|
12785
12836
|
return;
|
|
12786
12837
|
}
|
|
12787
|
-
|
|
12838
|
+
b();
|
|
12788
12839
|
}
|
|
12789
12840
|
async function $(S) {
|
|
12790
12841
|
t.multiple || (await Ve(), i.value = t.displayValue ? N(o.value) : o.value);
|
|
@@ -12799,6 +12850,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12799
12850
|
F(Zn, X({
|
|
12800
12851
|
ref: "inputSearch",
|
|
12801
12852
|
autocomplete: "off",
|
|
12853
|
+
"data-component": "bs-typeahead",
|
|
12802
12854
|
disabled: S.disabled,
|
|
12803
12855
|
error: S.error,
|
|
12804
12856
|
"hide-search-icon": S.hideSearchIcon,
|
|
@@ -12850,7 +12902,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12850
12902
|
}, 8, ["anchor", "class", "debounce", "equate-by", "filter", "filter-key", "filter-external", "id", "persist", "place", "min-chars", "multiple", "size", "modelValue", "filter-input", "onBeforeClose", "onBeforeOpen", "onQuery"])
|
|
12851
12903
|
], 64));
|
|
12852
12904
|
}
|
|
12853
|
-
}),
|
|
12905
|
+
}), yb = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
12854
12906
|
__name: "BsTypeaheadField",
|
|
12855
12907
|
props: /* @__PURE__ */ Le(gi, {
|
|
12856
12908
|
modelValue: {
|
|
@@ -12863,7 +12915,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12863
12915
|
emits: ["update:modelValue"],
|
|
12864
12916
|
setup(e) {
|
|
12865
12917
|
const n = e, t = Me(e, "modelValue"), { filtered: o, remaining: i } = Ae(["class", "style"]), a = Ce(), l = f(() => n.id || a), s = f(() => `${l.value}-label`), r = f(() => `${l.value}-hint`), c = f(() => n.error && n.errorMsg || n.hint || "");
|
|
12866
|
-
return (u, p) => (d(), y("div", X({ "data-component": "bs-typeahead-field" },
|
|
12918
|
+
return (u, p) => (d(), y("div", X({ "data-component": "bs-typeahead-field" }, h(o)), [
|
|
12867
12919
|
u.label || u.$slots.label ? (d(), P(De, {
|
|
12868
12920
|
key: 0,
|
|
12869
12921
|
id: s.value,
|
|
@@ -12885,7 +12937,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12885
12937
|
"hint-id": r.value,
|
|
12886
12938
|
id: l.value,
|
|
12887
12939
|
required: u.required
|
|
12888
|
-
},
|
|
12940
|
+
}, h(i), {
|
|
12889
12941
|
modelValue: t.value,
|
|
12890
12942
|
"onUpdate:modelValue": p[0] || (p[0] = (v) => t.value = v)
|
|
12891
12943
|
}), St({ _: 2 }, [
|
|
@@ -12906,13 +12958,13 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12906
12958
|
}, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : O("", !0)
|
|
12907
12959
|
], 16));
|
|
12908
12960
|
}
|
|
12909
|
-
}),
|
|
12961
|
+
}), bp = ["data-bg-variant"], hp = ["aria-expanded", "title", "data-collapsed", "data-narrow"], vp = ["data-narrow", "data-collapsed", "data-collapsible", "data-sticky"], yp = {
|
|
12910
12962
|
key: 0,
|
|
12911
12963
|
class: "bs-vertical-nav-top-content"
|
|
12912
12964
|
}, mp = ["data-collapsed", "data-divider-only", "data-app-links"], gp = ["aria-expanded", "aria-controls", "title", "onClick"], wp = { key: 0 }, Sp = ["id"], Bp = { key: 1 }, Dp = {
|
|
12913
12965
|
key: 0,
|
|
12914
12966
|
class: "bs-vertical-nav-end-items"
|
|
12915
|
-
},
|
|
12967
|
+
}, mb = {
|
|
12916
12968
|
__name: "BsVerticalNavigation",
|
|
12917
12969
|
props: wi,
|
|
12918
12970
|
emits: Object.keys(Si),
|
|
@@ -12954,7 +13006,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12954
13006
|
c.value.style.removeProperty("visibility");
|
|
12955
13007
|
}, 200)));
|
|
12956
13008
|
});
|
|
12957
|
-
function
|
|
13009
|
+
function b($) {
|
|
12958
13010
|
i.value[$] = !i.value[$];
|
|
12959
13011
|
}
|
|
12960
13012
|
function D() {
|
|
@@ -12962,6 +13014,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12962
13014
|
}
|
|
12963
13015
|
return ($, N) => (d(), y("div", {
|
|
12964
13016
|
class: "bs-vertical-nav-wrapper",
|
|
13017
|
+
"data-component": "bs-vertical-navigation",
|
|
12965
13018
|
"data-bg-variant": t.bgVariant || void 0
|
|
12966
13019
|
}, [
|
|
12967
13020
|
w.value && !p.value ? (d(), y("button", {
|
|
@@ -12976,14 +13029,14 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12976
13029
|
"data-narrow": B.value,
|
|
12977
13030
|
onClick: D
|
|
12978
13031
|
}, [
|
|
12979
|
-
v.value ? (d(), P(
|
|
13032
|
+
v.value ? (d(), P(h(Yt), {
|
|
12980
13033
|
key: 0,
|
|
12981
13034
|
class: "bs-vertical-nav-toggle-icon"
|
|
12982
|
-
})) : (d(), P(
|
|
13035
|
+
})) : (d(), P(h(Xt), {
|
|
12983
13036
|
key: 1,
|
|
12984
13037
|
class: "bs-vertical-nav-toggle-icon"
|
|
12985
13038
|
}))
|
|
12986
|
-
], 8,
|
|
13039
|
+
], 8, hp)) : O("", !0),
|
|
12987
13040
|
C("nav", {
|
|
12988
13041
|
class: "bs-vertical-nav",
|
|
12989
13042
|
ref_key: "verticalNav",
|
|
@@ -12998,7 +13051,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
12998
13051
|
$.$slots["top-content"] ? (d(), y("li", yp, [
|
|
12999
13052
|
A($.$slots, "top-content")
|
|
13000
13053
|
])) : O("", !0),
|
|
13001
|
-
(d(!0), y(ee, null, ue(
|
|
13054
|
+
(d(!0), y(ee, null, ue(h(r), (k) => {
|
|
13002
13055
|
var S;
|
|
13003
13056
|
return d(), y(ee, {
|
|
13004
13057
|
key: k.id
|
|
@@ -13006,21 +13059,21 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
13006
13059
|
((S = k.navItems) == null ? void 0 : S.length) > 0 ? (d(), y("li", {
|
|
13007
13060
|
key: 0,
|
|
13008
13061
|
class: "bs-vertical-nav-section",
|
|
13009
|
-
"data-collapsed": !k.dividerOnly && !
|
|
13062
|
+
"data-collapsed": !k.dividerOnly && !h(s)(k),
|
|
13010
13063
|
"data-divider-only": k.dividerOnly,
|
|
13011
13064
|
"data-app-links": k.appLinks
|
|
13012
13065
|
}, [
|
|
13013
13066
|
!k.dividerOnly && !B.value && !g.value ? (d(), y("button", {
|
|
13014
13067
|
key: 0,
|
|
13015
13068
|
class: "bs-vertical-nav-section-toggle",
|
|
13016
|
-
"aria-expanded":
|
|
13069
|
+
"aria-expanded": h(s)(k),
|
|
13017
13070
|
"aria-controls": `${k.id}-nested-section`,
|
|
13018
|
-
title:
|
|
13071
|
+
title: h(a)(k),
|
|
13019
13072
|
type: "button",
|
|
13020
|
-
onClick: (T) =>
|
|
13073
|
+
onClick: (T) => b(k.id)
|
|
13021
13074
|
}, [
|
|
13022
13075
|
g.value ? O("", !0) : (d(), y("span", wp, j(k.text), 1)),
|
|
13023
|
-
F(
|
|
13076
|
+
F(h(da), { class: "bs-vertical-nav-section-toggle-caret" })
|
|
13024
13077
|
], 8, gp)) : O("", !0),
|
|
13025
13078
|
me(C("ul", {
|
|
13026
13079
|
id: `${k.id}-nested-section`
|
|
@@ -13035,7 +13088,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
13035
13088
|
"aria-label": T.text
|
|
13036
13089
|
}, {
|
|
13037
13090
|
default: V(() => [
|
|
13038
|
-
typeof T.icon == "string" ? (d(), P(
|
|
13091
|
+
typeof T.icon == "string" ? (d(), P(h(ze), {
|
|
13039
13092
|
key: 0,
|
|
13040
13093
|
class: "bs-vertical-nav-link-icon",
|
|
13041
13094
|
name: T.icon
|
|
@@ -13049,7 +13102,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
13049
13102
|
}, 1032, ["item", "router", "onNavLinkClicked", "aria-label"])
|
|
13050
13103
|
]))), 128))
|
|
13051
13104
|
], 8, Sp), [
|
|
13052
|
-
[Pe, k.dividerOnly ||
|
|
13105
|
+
[Pe, k.dividerOnly || h(s)(k) || g.value]
|
|
13053
13106
|
])
|
|
13054
13107
|
], 8, mp)) : (d(), y("li", Bp, [
|
|
13055
13108
|
F(rt, {
|
|
@@ -13059,7 +13112,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
13059
13112
|
"aria-label": k.text
|
|
13060
13113
|
}, {
|
|
13061
13114
|
default: V(() => [
|
|
13062
|
-
typeof k.icon == "string" ? (d(), P(
|
|
13115
|
+
typeof k.icon == "string" ? (d(), P(h(ze), {
|
|
13063
13116
|
key: 0,
|
|
13064
13117
|
class: "bs-vertical-nav-link-icon",
|
|
13065
13118
|
name: k.icon
|
|
@@ -13079,7 +13132,7 @@ const ch = /* @__PURE__ */ _n(op, [["render", ap]]), sp = ["data-variant", "data
|
|
|
13079
13132
|
A($.$slots, "end-items")
|
|
13080
13133
|
])) : O("", !0)
|
|
13081
13134
|
], 12, vp)
|
|
13082
|
-
], 8,
|
|
13135
|
+
], 8, bp));
|
|
13083
13136
|
}
|
|
13084
13137
|
};
|
|
13085
13138
|
export {
|
|
@@ -13179,43 +13232,43 @@ export {
|
|
|
13179
13232
|
Jf as BsSelectField,
|
|
13180
13233
|
ff as BsSelectFieldDefinitions,
|
|
13181
13234
|
_f as BsSelectFieldDeprecated,
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13235
|
+
eb as BsSelectWithDropdownDeprecated,
|
|
13236
|
+
bo as BsSpinner,
|
|
13237
|
+
tb as BsSwitch,
|
|
13238
|
+
nb as BsTab,
|
|
13239
|
+
ib as BsTabList,
|
|
13240
|
+
ab as BsTabPanel,
|
|
13241
|
+
ob as BsTable,
|
|
13189
13242
|
vo as BsTableCell,
|
|
13190
13243
|
pn as BsTableCol,
|
|
13191
13244
|
Vc as BsTableFooter,
|
|
13192
|
-
|
|
13193
|
-
|
|
13245
|
+
bn as BsTableFrozenCols,
|
|
13246
|
+
ho as BsTableHeadCell,
|
|
13194
13247
|
zc as BsTableHeader,
|
|
13195
|
-
|
|
13248
|
+
hn as BsTableRow,
|
|
13196
13249
|
yo as BsTableSortToggle,
|
|
13197
13250
|
ji as BsTextButton,
|
|
13198
|
-
|
|
13251
|
+
bf as BsTextButtonDefinitions,
|
|
13199
13252
|
Kc as BsTextarea,
|
|
13200
|
-
|
|
13253
|
+
sb as BsTextareaField,
|
|
13201
13254
|
_c as BsTimePicker,
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13211
|
-
|
|
13255
|
+
rb as BsTimePickerField,
|
|
13256
|
+
lb as BsTimeline,
|
|
13257
|
+
db as BsToast,
|
|
13258
|
+
ub as BsToastActionsDeprecated,
|
|
13259
|
+
cb as BsToastBodyDeprecated,
|
|
13260
|
+
hf as BsToastDefinitions,
|
|
13261
|
+
pb as BsToastDeprecated,
|
|
13262
|
+
bb as BsToastHeaderDeprecated,
|
|
13263
|
+
fb as BsToasterDeprecated,
|
|
13264
|
+
hb as BsTooltip,
|
|
13212
13265
|
vf as BsTooltipDefinitions,
|
|
13213
|
-
|
|
13266
|
+
vb as BsTooltipDeprecated,
|
|
13214
13267
|
fp as BsTypeahead,
|
|
13215
13268
|
yf as BsTypeaheadDefinitions,
|
|
13216
|
-
|
|
13269
|
+
yb as BsTypeaheadField,
|
|
13217
13270
|
mf as BsTypeaheadFieldDefinitions,
|
|
13218
|
-
|
|
13271
|
+
mb as BsVerticalNavigation,
|
|
13219
13272
|
gf as BsVerticalNavigationDefinitions,
|
|
13220
13273
|
Lp as bsSelectors,
|
|
13221
13274
|
It as popTriggerProps,
|