@wwtdev/bsds-components-vue3 2.9.3 → 2.9.5

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.
Files changed (2) hide show
  1. package/lib/bsds-components.js +543 -532
  2. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { computed as p, ref as I, onMounted as Y, onUnmounted as $e, shallowRef as Pt, watch as j, defineAsyncComponent as Qe, openBlock as u, createElementBlock as v, unref as c, createElementVNode as k, renderSlot as D, createBlock as O, resolveDynamicComponent as te, createCommentVNode as x, toDisplayString as V, createVNode as L, normalizeClass as ie, useAttrs as ve, mergeProps as z, withCtx as E, Fragment as G, toHandlers as Ke, onBeforeUnmount as Je, onBeforeMount as gt, nextTick as Ae, createTextVNode as W, createSlots as Ye, useSlots as yt, renderList as ee, Teleport as qt, withDirectives as de, Transition as st, vShow as ue, provide as ce, inject as fe, withModifiers as Mt, isRef as Nt } from "vue";
1
+ import { computed as p, ref as I, onMounted as H, onUnmounted as Be, shallowRef as Pt, watch as j, defineAsyncComponent as Qe, openBlock as u, createElementBlock as v, unref as c, createElementVNode as k, renderSlot as D, createBlock as O, resolveDynamicComponent as te, createCommentVNode as x, toDisplayString as V, createVNode as L, normalizeClass as ie, useAttrs as ve, mergeProps as z, withCtx as E, Fragment as G, toHandlers as Ke, onBeforeUnmount as Je, onBeforeMount as gt, nextTick as Ae, createTextVNode as W, createSlots as Ye, useSlots as yt, renderList as ee, Teleport as qt, withDirectives as de, Transition as st, vShow as ue, provide as ce, inject as fe, withModifiers as Mt, isRef as Nt } from "vue";
2
2
  import { v4 as St } from "uuid";
3
- import { BsIconCaretDown as _e, BsIconWarning as Ze, BsIconClose as Be, BsIconCalendar as wt, BsIconCaretRight as $t, BsIconCaretLeft as Bt, BsIconSmallCaretRight as zt, BsIconSmallCaretLeft as Rt, BsIconCaretSort as Ft, BsIconSearch as jt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Wt, BsIconActionEllipsis as Gt, BsIconGraphPieEmpty as dt, BsIconCircleStop as Ht, BsIconCircleCheck as Kt, BsIconCircleX as Yt, BsIconCircleEllipsis as Zt, BsIconCirclePlay as Xt, BsIconCirclePause as Qt, BsIconCircleExclamation as It, BsIconThumbsUpStroke as Jt } from "@wwtdev/bsds-icons-vue3";
3
+ import { BsIconCaretDown as _e, BsIconWarning as Ze, BsIconClose as $e, BsIconCalendar as wt, BsIconCaretRight as Bt, BsIconCaretLeft as $t, BsIconSmallCaretRight as zt, BsIconSmallCaretLeft as Rt, BsIconCaretSort as Ft, BsIconSearch as jt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Wt, BsIconActionEllipsis as Gt, BsIconGraphPieEmpty as dt, BsIconCircleStop as Ht, BsIconCircleCheck as Kt, BsIconCircleX as Yt, BsIconCircleEllipsis as Zt, BsIconCirclePlay as Xt, BsIconCirclePause as Qt, BsIconCircleExclamation as It, BsIconThumbsUpStroke as Jt } from "@wwtdev/bsds-icons-vue3";
4
4
  import { DatePicker as _t } from "v-calendar";
5
5
  import { Filler as ea, Chart as Fe, BarController as ta, BarElement as aa, CategoryScale as na, LinearScale as la, Legend as oa, TimeScale as ia, Tooltip as ra } from "chart.js";
6
6
  import "chartjs-adapter-date-fns";
@@ -15,13 +15,13 @@ const ct = {
15
15
  };
16
16
  function Ne(e, a, t = "button") {
17
17
  const l = ua(e, a, t), n = p(() => {
18
- const i = l.value === "button", d = {};
19
- return i ? (d.type = a.type || "button", d.autocomplete = "off", e.disabled && (d.disabled = !0)) : e.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1"), d;
20
- }), o = p(() => {
21
- const i = { ...a, ...n.value };
22
- return delete i.href, i;
18
+ const o = l.value === "button", d = {};
19
+ return o ? (d.type = a.type || "button", d.autocomplete = "off", e.disabled && (d.disabled = !0)) : e.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1"), d;
20
+ }), i = p(() => {
21
+ const o = { ...a, ...n.value };
22
+ return delete o.href, o;
23
23
  }), s = p(() => e.linkTo || e.href);
24
- return { rootTag: l, attrsToBind: o, hrefUrl: s };
24
+ return { rootTag: l, attrsToBind: i, hrefUrl: s };
25
25
  }
26
26
  function ua(e, a, t) {
27
27
  const l = Object.keys(ct).find((n) => ca(e, a, n));
@@ -33,32 +33,32 @@ function ca(e, a, t) {
33
33
  const kt = (e, a) => {
34
34
  const t = (l) => {
35
35
  e.some((n) => {
36
- var o;
37
- return (o = n.value) == null ? void 0 : o.contains(l.target);
36
+ var i;
37
+ return (i = n.value) == null ? void 0 : i.contains(l.target);
38
38
  }) || a(l);
39
39
  };
40
- Y(() => {
40
+ H(() => {
41
41
  document.addEventListener("mouseup", t);
42
- }), $e(() => {
42
+ }), Be(() => {
43
43
  document.removeEventListener("mouseup", t);
44
44
  });
45
45
  };
46
46
  function ze(e) {
47
47
  const a = p(() => e.linkTo || e.href || ""), t = p(() => {
48
- var o, s;
49
- return ((s = (o = a.value) == null ? void 0 : o.startsWith) == null ? void 0 : s.call(o, "/")) || !1;
48
+ var i, s;
49
+ return ((s = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : s.call(i, "/")) || !1;
50
50
  }), l = p(() => {
51
- var o, s;
52
- return t.value && ((o = e.router) == null ? void 0 : o.navigateTo) || ((s = e.router) == null ? void 0 : s.push) || null;
51
+ var i, s;
52
+ return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((s = e.router) == null ? void 0 : s.push) || null;
53
53
  });
54
- function n(o) {
54
+ function n(i) {
55
55
  if (e.disabled) {
56
- o.preventDefault(), o.stopImmediatePropagation();
56
+ i.preventDefault(), i.stopImmediatePropagation();
57
57
  return;
58
58
  }
59
59
  if (!a.value || !l.value)
60
60
  return;
61
- o.target.closest("a").href === `${window.location.origin}${a.value}` && (o.preventDefault(), l.value(a.value));
61
+ i.target.closest("a").href === `${window.location.origin}${a.value}` && (i.preventDefault(), l.value(a.value));
62
62
  }
63
63
  return { onLinkClick: n };
64
64
  }
@@ -66,17 +66,17 @@ function ft(e) {
66
66
  return e.split("-").map((l) => l.charAt(0).toUpperCase() + l.slice(1)).join("");
67
67
  }
68
68
  const Pe = (e, a) => {
69
- var o;
69
+ var i;
70
70
  function t(s) {
71
71
  if (!s)
72
72
  return null;
73
- const i = s.startsWith("bs-") ? ft(s) : `BsIcon${ft(s)}`;
73
+ const o = s.startsWith("bs-") ? ft(s) : `BsIcon${ft(s)}`;
74
74
  return Qe(async () => {
75
- const { [i]: d } = await import("@wwtdev/bsds-icons-vue3");
75
+ const { [o]: d } = await import("@wwtdev/bsds-icons-vue3");
76
76
  return d;
77
77
  });
78
78
  }
79
- const l = Pt(), n = e[a] || ((o = e == null ? void 0 : e.value) == null ? void 0 : o[a]);
79
+ const l = Pt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
80
80
  return l.value = t(n), j(
81
81
  [
82
82
  () => e[a],
@@ -85,40 +85,40 @@ const Pe = (e, a) => {
85
85
  return (s = e == null ? void 0 : e.value) == null ? void 0 : s[a];
86
86
  }
87
87
  ],
88
- async ([s, i]) => l.value = t(s || i)
88
+ async ([s, o]) => l.value = t(s || o)
89
89
  ), { icon: l };
90
90
  };
91
91
  function X(e = 1) {
92
92
  const a = [];
93
93
  for (let t = 0; t < e; t++)
94
94
  a.push(I(""));
95
- return Y(() => {
95
+ return H(() => {
96
96
  a.forEach((t) => t.value = `id-${St()}`);
97
97
  }), a;
98
98
  }
99
99
  const pe = (e, a, t = void 0) => {
100
100
  const l = (n) => {
101
- var o, s;
102
- ((o = e == null ? void 0 : e.includes) != null && o.call(e, n.key) || (s = e == null ? void 0 : e.some) != null && s.call(e, (i) => {
101
+ var i, s;
102
+ ((i = e == null ? void 0 : e.includes) != null && i.call(e, n.key) || (s = e == null ? void 0 : e.some) != null && s.call(e, (o) => {
103
103
  var d;
104
- return (d = i == null ? void 0 : i.test) == null ? void 0 : d.call(i, n.key);
104
+ return (d = o == null ? void 0 : o.test) == null ? void 0 : d.call(o, n.key);
105
105
  })) && a(n);
106
106
  };
107
- Y(() => {
107
+ H(() => {
108
108
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
109
- }), $e(() => {
109
+ }), Be(() => {
110
110
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
111
111
  });
112
112
  }, fa = (e, a, t) => {
113
113
  let l = null;
114
- Y(() => {
114
+ H(() => {
115
115
  l = new MutationObserver(a), l.observe(e.value, t);
116
- }), $e(() => {
116
+ }), Be(() => {
117
117
  l.disconnect();
118
118
  });
119
119
  }, Ee = (e) => {
120
120
  const a = I(!1);
121
- return Y(() => {
121
+ return H(() => {
122
122
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
123
123
  }), j(() => e.shown, (t) => {
124
124
  a.value = t;
@@ -148,12 +148,12 @@ const pe = (e, a, t = void 0) => {
148
148
  },
149
149
  emits: ["toggled"],
150
150
  setup(e, { emit: a }) {
151
- const t = e, l = a, n = I(null), o = I(!1), { icon: s } = Pe(t, "icon"), [i] = X(), d = p(() => i.value + "-content"), r = p(() => i.value + "-title"), f = p(() => t.openItemId && t.openItemId === i.value || t.openItem === !0), m = p(() => t.controlled ? f.value : o.value);
151
+ const t = e, l = a, n = I(null), i = I(!1), { icon: s } = Pe(t, "icon"), [o] = X(), d = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), m = p(() => t.controlled ? f.value : i.value);
152
152
  function b() {
153
- l("toggled", i.value), t.controlled || (o.value = !o.value);
153
+ l("toggled", o.value), t.controlled || (i.value = !i.value);
154
154
  }
155
155
  return (S, w) => (u(), v("div", {
156
- id: c(i),
156
+ id: c(o),
157
157
  ref_key: "containerRef",
158
158
  ref: n,
159
159
  class: "bs-accordion",
@@ -245,13 +245,13 @@ const pe = (e, a, t = void 0) => {
245
245
  setup(e) {
246
246
  const a = e, t = I(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
247
247
  var d, r;
248
- const o = ((r = (d = t.value) == null ? void 0 : d.textContent) == null ? void 0 : r.trim()) || "", s = l.value ? l.value + " " : "";
248
+ const i = ((r = (d = t.value) == null ? void 0 : d.textContent) == null ? void 0 : r.trim()) || "", s = l.value ? l.value + " " : "";
249
249
  if (!s && !a.dot)
250
- return o;
251
- const i = a.count !== 1 ? "s" : "";
252
- return `${o ? `${o}, ` : ""}${s}${a.label}${i}`;
250
+ return i;
251
+ const o = a.count !== 1 ? "s" : "";
252
+ return `${i ? `${i}, ` : ""}${s}${a.label}${o}`;
253
253
  });
254
- return (o, s) => (u(), v("span", {
254
+ return (i, s) => (u(), v("span", {
255
255
  ref_key: "hostRef",
256
256
  ref: t,
257
257
  "aria-label": n.value,
@@ -264,14 +264,14 @@ const pe = (e, a, t = void 0) => {
264
264
  "data-variant": e.variant,
265
265
  role: "status"
266
266
  }, [
267
- e.variant !== "notext" ? D(o.$slots, "default", { key: 0 }) : x("", !0)
267
+ e.variant !== "notext" ? D(i.$slots, "default", { key: 0 }) : x("", !0)
268
268
  ], 10, ya));
269
269
  }
270
270
  }, wa = {
271
271
  key: 0,
272
272
  role: "alert",
273
273
  class: "bs-banner"
274
- }, $a = { class: "bs-banner-content" }, Ba = { class: "bs-banner-warning-icon" }, Po = {
274
+ }, Ba = { class: "bs-banner-content" }, $a = { class: "bs-banner-warning-icon" }, Po = {
275
275
  __name: "BsBanner",
276
276
  emits: ["dismiss"],
277
277
  setup(e, { emit: a }) {
@@ -279,20 +279,20 @@ const pe = (e, a, t = void 0) => {
279
279
  function n() {
280
280
  l.value = !0, t("dismiss");
281
281
  }
282
- return (o, s) => l.value ? x("", !0) : (u(), v("div", wa, [
283
- k("div", $a, [
284
- k("div", Ba, [
282
+ return (i, s) => l.value ? x("", !0) : (u(), v("div", wa, [
283
+ k("div", Ba, [
284
+ k("div", $a, [
285
285
  L(c(Ze), { size: "lg" })
286
286
  ]),
287
287
  k("p", null, [
288
- D(o.$slots, "default")
288
+ D(i.$slots, "default")
289
289
  ]),
290
290
  k("button", {
291
291
  type: "button",
292
292
  title: "Close Banner",
293
293
  onClick: n
294
294
  }, [
295
- L(c(Be))
295
+ L(c($e))
296
296
  ])
297
297
  ])
298
298
  ]));
@@ -328,18 +328,18 @@ const pe = (e, a, t = void 0) => {
328
328
  href: { type: String }
329
329
  },
330
330
  setup(e) {
331
- const a = e, t = ve(), { rootTag: l, attrsToBind: n, hrefUrl: o } = Ne(a, t), { onLinkClick: s } = ze(a);
332
- return (i, d) => (u(), O(te(c(l)), z({
331
+ const a = e, t = ve(), { rootTag: l, attrsToBind: n, hrefUrl: i } = Ne(a, t), { onLinkClick: s } = ze(a);
332
+ return (o, d) => (u(), O(te(c(l)), z({
333
333
  class: "bs-button",
334
334
  "data-component": "bs-button",
335
335
  "data-ghost": e.ghostBtn,
336
336
  "data-size": e.size,
337
337
  "data-text": e.textBtn,
338
338
  "data-variant": e.variant,
339
- ".href": c(o)
339
+ ".href": c(i)
340
340
  }, c(n), { onClick: c(s) }), {
341
341
  default: E(() => [
342
- D(i.$slots, "default")
342
+ D(o.$slots, "default")
343
343
  ]),
344
344
  _: 3
345
345
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
@@ -425,19 +425,19 @@ const pe = (e, a, t = void 0) => {
425
425
  },
426
426
  emits: ["update:modelValue"],
427
427
  setup(e, { emit: a }) {
428
- const t = e, l = a, n = ve(), o = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
429
- function s(i) {
430
- const d = n.type === "number" ? parseInt(i.target.value) : i.target.value;
428
+ const t = e, l = a, n = ve(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
429
+ function s(o) {
430
+ const d = n.type === "number" ? parseInt(o.target.value) : o.target.value;
431
431
  l("update:modelValue", d);
432
432
  }
433
- return (i, d) => (u(), v("input", z({
433
+ return (o, d) => (u(), v("input", z({
434
434
  class: "bs-input",
435
435
  "data-component": "bs-input",
436
436
  "data-error": e.error,
437
- id: i.$attrs.id || e.inputId,
437
+ id: o.$attrs.id || e.inputId,
438
438
  value: e.value || e.modelValue,
439
439
  onInput: s
440
- }, o.value), null, 16, Oa));
440
+ }, i.value), null, 16, Oa));
441
441
  }
442
442
  }, Ea = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], Le = {
443
443
  __name: "BsInputAddon",
@@ -518,9 +518,9 @@ const pe = (e, a, t = void 0) => {
518
518
  function Ve(e, a, t) {
519
519
  let l;
520
520
  return function() {
521
- let n = this, o = arguments;
522
- clearTimeout(l), t && !l && e.apply(n, o), l = setTimeout(function() {
523
- l = null, t || e.apply(n, o);
521
+ let n = this, i = arguments;
522
+ clearTimeout(l), t && !l && e.apply(n, i), l = setTimeout(function() {
523
+ l = null, t || e.apply(n, i);
524
524
  }, a);
525
525
  };
526
526
  }
@@ -562,17 +562,17 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
562
562
  emits: ["ui-focusin", "ui-input"],
563
563
  setup(e, { emit: a }) {
564
564
  const t = a, l = I(null), n = I(null);
565
- function o(r) {
565
+ function i(r) {
566
566
  const f = new Event("change", { bubbles: !0, cancelable: !0 });
567
567
  r.dispatchEvent(f);
568
568
  }
569
569
  function s(r) {
570
570
  const { value: f } = r.target, [m, b] = f.split(/ to | - /);
571
- l.value.value = m || "", n.value.value = b || "", o(l.value), o(n.value);
571
+ l.value.value = m || "", n.value.value = b || "", i(l.value), i(n.value);
572
572
  }
573
- const i = Ve(s, 1e3);
573
+ const o = Ve(s, 1e3);
574
574
  function d(r) {
575
- t("ui-input"), i(r);
575
+ t("ui-input"), o(r);
576
576
  }
577
577
  return (r, f) => (u(), O(Le, {
578
578
  disabled: e.disabled,
@@ -614,8 +614,8 @@ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
614
614
  };
615
615
  function Ma(e) {
616
616
  function a(n) {
617
- var o, s;
618
- return ((s = (o = n == null ? void 0 : n.classList) == null ? void 0 : o.contains) == null ? void 0 : s.call(o, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
617
+ var i, s;
618
+ return ((s = (i = n == null ? void 0 : n.classList) == null ? void 0 : i.contains) == null ? void 0 : s.call(i, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
619
619
  }
620
620
  function t(n) {
621
621
  return n === " " || n === "Spacebar" || n === "Enter";
@@ -623,12 +623,12 @@ function Ma(e) {
623
623
  function l(n) {
624
624
  a(n == null ? void 0 : n.target) && t(n == null ? void 0 : n.key) && n.preventDefault();
625
625
  }
626
- Y(() => {
627
- var n, o;
628
- (o = (n = e.value) == null ? void 0 : n.addEventListener) == null || o.call(n, "keydown", l);
626
+ H(() => {
627
+ var n, i;
628
+ (i = (n = e.value) == null ? void 0 : n.addEventListener) == null || i.call(n, "keydown", l);
629
629
  }), Je(() => {
630
- var n, o;
631
- (o = (n = e.value) == null ? void 0 : n.removeEventListener) == null || o.call(n, "keydown", l);
630
+ var n, i;
631
+ (i = (n = e.value) == null ? void 0 : n.removeEventListener) == null || i.call(n, "keydown", l);
632
632
  });
633
633
  }
634
634
  function Xe(e, a, t = []) {
@@ -698,7 +698,7 @@ const et = [
698
698
  "size",
699
699
  "step"
700
700
  ];
701
- function K(e, a = []) {
701
+ function Y(e, a = []) {
702
702
  const t = {}, l = {};
703
703
  return Object.keys(e).forEach((n) => {
704
704
  a.includes(n) ? t[n] = e[n] : l[n] = e[n];
@@ -771,7 +771,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
771
771
  },
772
772
  emits: ["update:modelValue"],
773
773
  setup(e, { emit: a }) {
774
- const t = e, l = I(null), n = I(1), o = I(null), [s, i] = X(2), d = I(1), { filtered: r, remaining: f } = K(ve(), [
774
+ const t = e, l = I(null), n = I(1), i = I(null), [s, o] = X(2), d = I(1), { filtered: r, remaining: f } = Y(ve(), [
775
775
  "attributes",
776
776
  "data-cy",
777
777
  "expanded",
@@ -780,16 +780,16 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
780
780
  "masks",
781
781
  "rows",
782
782
  "trim-weeks"
783
- ]), m = p(() => t.inputId || s.value), b = p(() => ({ range: t.isRange })), S = p(() => !!(t.error && t.errorMsg || t.hint)), w = p(() => t.step), B = p(() => t.variant);
784
- Ma(o), Xe(
783
+ ]), m = p(() => t.inputId || s.value), b = p(() => ({ range: t.isRange })), S = p(() => !!(t.error && t.errorMsg || t.hint)), w = p(() => t.step), $ = p(() => t.variant);
784
+ Ma(i), Xe(
785
785
  pt,
786
- (g) => n.value = g != null && g.matches && B.value == "2-col" ? 2 : 1,
787
- [B]
786
+ (g) => n.value = g != null && g.matches && $.value == "2-col" ? 2 : 1,
787
+ [$]
788
788
  ), Xe(
789
789
  pt,
790
- (g) => d.value = g != null && g.matches && B.value == "2-col" ? w.value : 1,
791
- [w, B]
792
- ), Y(() => {
790
+ (g) => d.value = g != null && g.matches && $.value == "2-col" ? w.value : 1,
791
+ [w, $]
792
+ ), H(() => {
793
793
  t.inputMode || y();
794
794
  }), j(() => {
795
795
  var g, M;
@@ -800,19 +800,19 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
800
800
  function h(g) {
801
801
  return t.isRange && g.start && g.end ? `${g.start} to ${g.end}` : !t.isRange && g ? g : "";
802
802
  }
803
- function $(g) {
804
- !t.isRange || o.value.contains(g.relatedTarget) || l.value.hidePopover();
803
+ function B(g) {
804
+ !t.isRange || i.value.contains(g.relatedTarget) || l.value.hidePopover();
805
805
  }
806
806
  function y() {
807
- const g = o.value.querySelector("button.vc-prev"), M = o.value.querySelector("button.vc-next");
807
+ const g = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
808
808
  g && g.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
809
809
  }
810
810
  return (g, M) => (u(), v("div", z({
811
811
  ref_key: "container",
812
- ref: o,
812
+ ref: i,
813
813
  class: "bs-calendar",
814
814
  "data-range": e.isRange,
815
- onFocusout: $
815
+ onFocusout: B
816
816
  }, c(f)), [
817
817
  e.label || g.$slots.label ? (u(), O(ae, {
818
818
  key: 0,
@@ -876,7 +876,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
876
876
  error: e.error,
877
877
  "error-msg": e.errorMsg,
878
878
  hint: e.hint,
879
- "hint-id": c(i)
879
+ "hint-id": c(o)
880
880
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
881
881
  ], 16, Ra));
882
882
  }
@@ -931,7 +931,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
931
931
  }
932
932
  },
933
933
  setup(e) {
934
- const a = e, t = ve(), l = yt(), { rootTag: n, attrsToBind: o, hrefUrl: s } = Ne(a, t), { onLinkClick: i } = ze(a), d = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
934
+ const a = e, t = ve(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: s } = Ne(a, t), { onLinkClick: o } = ze(a), d = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
935
935
  if (a.hoverEffect)
936
936
  return a.iconPosition;
937
937
  }), f = p(() => {
@@ -939,8 +939,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
939
939
  return {
940
940
  icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${h}` : h)
941
941
  };
942
- }), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), S = p(() => m.value && a.iconPosition === "left"), w = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Pe(f, "icon");
943
- return (h, $) => (u(), O(te(c(n)), z({
942
+ }), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), S = p(() => m.value && a.iconPosition === "left"), w = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: $ } = Pe(f, "icon");
943
+ return (h, B) => (u(), O(te(c(n)), z({
944
944
  class: "bs-circle-button",
945
945
  "data-disabled": e.disabled,
946
946
  "data-direction": r.value,
@@ -949,7 +949,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
949
949
  "data-text": m.value,
950
950
  "data-variant": w.value,
951
951
  ".href": c(s)
952
- }, { ...c(o), ...d.value }, { onClick: c(i) }), {
952
+ }, { ...c(i), ...d.value }, { onClick: c(o) }), {
953
953
  default: E(() => [
954
954
  b.value ? (u(), v("span", Fa, [
955
955
  D(h.$slots, "default", {}, () => [
@@ -958,7 +958,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
958
958
  ])) : x("", !0),
959
959
  k("span", ja, [
960
960
  D(h.$slots, "icon", {}, () => [
961
- (u(), O(te(c(B))))
961
+ (u(), O(te(c($))))
962
962
  ])
963
963
  ]),
964
964
  S.value ? (u(), v("span", Ua, [
@@ -1016,7 +1016,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
1016
1016
  "text-btn": !1
1017
1017
  }, {
1018
1018
  icon: E(() => [
1019
- e.direction == "right" ? (u(), O(c($t), { key: 0 })) : (u(), O(c(Bt), { key: 1 }))
1019
+ e.direction == "right" ? (u(), O(c(Bt), { key: 0 })) : (u(), O(c($t), { key: 1 }))
1020
1020
  ]),
1021
1021
  _: 1
1022
1022
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
@@ -1127,14 +1127,14 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
1127
1127
  var f;
1128
1128
  return !((f = a.dataIdxLabels) != null && f.length);
1129
1129
  });
1130
- function o(f) {
1130
+ function i(f) {
1131
1131
  try {
1132
1132
  return f.map((m) => {
1133
1133
  const b = m.label;
1134
1134
  let S = [];
1135
1135
  if (m.data.some((w) => (w == null ? void 0 : w.x) && (w == null ? void 0 : w.y))) {
1136
- const w = m.data.reduce((B, h) => (B[h.x] = h.y, B), {});
1137
- S = a.dataIdxLabels.map((B) => ({ value: w[B] ?? null }));
1136
+ const w = m.data.reduce(($, h) => ($[h.x] = h.y, $), {});
1137
+ S = a.dataIdxLabels.map(($) => ({ value: w[$] ?? null }));
1138
1138
  } else
1139
1139
  S = m.data.map((w) => ({ value: w }));
1140
1140
  return { rowLabel: b, dataCells: S };
@@ -1145,32 +1145,32 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
1145
1145
  }
1146
1146
  function s(f) {
1147
1147
  try {
1148
- const m = f.reduce((w, B) => {
1149
- const h = B.data.map(($) => $ == null ? void 0 : $.x);
1148
+ const m = f.reduce((w, $) => {
1149
+ const h = $.data.map((B) => B == null ? void 0 : B.x);
1150
1150
  return [...w, ...h];
1151
1151
  }, []), b = Array.from(new Set(m));
1152
- return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((w, B) => (typeof w == "string" && typeof B == "string" && (w = w.toLowerCase(), B = B.toLowerCase()), w < B ? -1 : w > B ? 1 : 0)), b.map((w) => {
1153
- const B = { rowLabel: w }, h = [];
1154
- return f.forEach(($) => {
1155
- const y = { datasetLabel: $.label }, g = $.data.find((M) => M.x === w);
1152
+ return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((w, $) => (typeof w == "string" && typeof $ == "string" && (w = w.toLowerCase(), $ = $.toLowerCase()), w < $ ? -1 : w > $ ? 1 : 0)), b.map((w) => {
1153
+ const $ = { rowLabel: w }, h = [];
1154
+ return f.forEach((B) => {
1155
+ const y = { datasetLabel: B.label }, g = B.data.find((M) => M.x === w);
1156
1156
  y.value = g ? g.y : null, h.push(y);
1157
- }), B.dataCells = h, a.xAxisType === "time" && (B.rowLabelFmt = l(w)), B;
1157
+ }), $.dataCells = h, a.xAxisType === "time" && ($.rowLabelFmt = l(w)), $;
1158
1158
  });
1159
1159
  } catch {
1160
1160
  return [];
1161
1161
  }
1162
1162
  }
1163
- const i = p(() => n.value ? s(a.data) : o(a.data)), d = p(() => ({
1163
+ const o = p(() => n.value ? s(a.data) : i(a.data)), d = p(() => ({
1164
1164
  colspan: n.value ? a.data.length + 1 : a.dataIdxLabels.length + 1,
1165
1165
  title: a.tableTitle,
1166
1166
  colHeadingFirst: n.value ? a.xLabel : "Dataset",
1167
1167
  colHeadings: n.value ? a.data.map((f) => f.label) : a.dataIdxLabels,
1168
- rows: i.value
1168
+ rows: o.value
1169
1169
  })), r = p(() => {
1170
1170
  var f;
1171
- return t.value && !!((f = i.value) != null && f.length);
1171
+ return t.value && !!((f = o.value) != null && f.length);
1172
1172
  });
1173
- return Y(() => {
1173
+ return H(() => {
1174
1174
  t.value = !0;
1175
1175
  }), (f, m) => (u(), v("div", Wa, [
1176
1176
  r.value ? (u(), v("table", {
@@ -1206,9 +1206,9 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", qo = /* @__PURE__ */ Objec
1206
1206
  }
1207
1207
  }, Oe = 16, Xa = 20;
1208
1208
  function Qa(e, a) {
1209
- const t = I(null), l = I(!1), n = I(null), o = "(min-width: 1166px)", s = { tickSize: Oe }, i = { tickSize: Xa };
1209
+ const t = I(null), l = I(!1), n = I(null), i = "(min-width: 1166px)", s = { tickSize: Oe }, o = { tickSize: Xa };
1210
1210
  let d, r;
1211
- function f(h, $) {
1211
+ function f(h, B) {
1212
1212
  let y;
1213
1213
  switch (h) {
1214
1214
  case "bar":
@@ -1220,19 +1220,19 @@ function Qa(e, a) {
1220
1220
  default:
1221
1221
  throw new Error(`Unsupported chart type: ${h}`);
1222
1222
  }
1223
- return new nn().setCommonConfigs($).setCustomOptions($)[y]($).setPlugins([Ja(n), ea]).build();
1223
+ return new nn().setCommonConfigs(B).setCustomOptions(B)[y](B).setPlugins([Ja(n), ea]).build();
1224
1224
  }
1225
1225
  function m(h) {
1226
1226
  h.preventDefault(), h.stopImmediatePropagation();
1227
- const $ = h.target.closest("li");
1228
- if ($ && d) {
1229
- const { labelIndex: y, datasetIndex: g } = $.dataset;
1227
+ const B = h.target.closest("li");
1228
+ if (B && d) {
1229
+ const { labelIndex: y, datasetIndex: g } = B.dataset;
1230
1230
  e === "pie" || e === "doughnut" ? d.toggleDataVisibility(y) : d.setDatasetVisibility(g, !d.isDatasetVisible(g)), d.update(), h.preventDefault(), h.stopImmediatePropagation(), b(g, y);
1231
1231
  }
1232
1232
  }
1233
- function b(h, $) {
1233
+ function b(h, B) {
1234
1234
  var M;
1235
- const y = `[data-dataset-index="${h}"][data-label-index="${$}"]`, g = n.value.querySelector(y);
1235
+ const y = `[data-dataset-index="${h}"][data-label-index="${B}"]`, g = n.value.querySelector(y);
1236
1236
  (M = g == null ? void 0 : g.focus) == null || M.call(g);
1237
1237
  }
1238
1238
  function S(...h) {
@@ -1240,19 +1240,19 @@ function Qa(e, a) {
1240
1240
  }
1241
1241
  const w = Ve(function(h) {
1242
1242
  r && (r.updateOptions(h), d.options = r.options, d.update());
1243
- }, 100), B = Ve(function(h) {
1243
+ }, 100), $ = Ve(function(h) {
1244
1244
  r && (r.updateData(h), d.data = r.data, d.update());
1245
1245
  }, 100);
1246
1246
  return Xe(
1247
- o,
1247
+ i,
1248
1248
  (h) => l.value = h == null ? void 0 : h.matches,
1249
1249
  [l]
1250
- ), Y(() => {
1250
+ ), H(() => {
1251
1251
  var h;
1252
1252
  try {
1253
1253
  r = f(e, a), (h = n.value) == null || h.addEventListener("click", m);
1254
- } catch ($) {
1255
- console.error("Error creating chart config", $), r = null;
1254
+ } catch (B) {
1255
+ console.error("Error creating chart config", B), r = null;
1256
1256
  }
1257
1257
  }), pe([" ", "Enter"], m, n), Je(() => {
1258
1258
  var h;
@@ -1272,14 +1272,14 @@ function Qa(e, a) {
1272
1272
  (h) => w(Me(
1273
1273
  {},
1274
1274
  a,
1275
- h ? i : s
1275
+ h ? o : s
1276
1276
  ))
1277
1277
  ), j(
1278
1278
  [
1279
1279
  () => a.data,
1280
1280
  () => a.dataIdxLabels
1281
1281
  ],
1282
- () => B(a),
1282
+ () => $(a),
1283
1283
  { deep: !0 }
1284
1284
  ), {
1285
1285
  canvasRef: t,
@@ -1293,10 +1293,10 @@ const Ja = (e) => ({
1293
1293
  e.value.innerHTML = "", e.value.style.setProperty("--cjs-legend-padding-inline", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
1294
1294
  const n = document.createElement("li");
1295
1295
  n.setAttribute("tabindex", "0"), n.dataset.datasetIndex = l.datasetIndex, n.dataset.labelIndex = l.index;
1296
- const o = document.createElement("span");
1297
- o.style.setProperty("--legend-item-box-fill", l.fillStyle), o.style.setProperty("--legend-item-box-stroke", l.strokeStyle);
1298
- const s = document.createTextNode(l.text), i = document.createElement("p");
1299
- i.style.setProperty("--legend-item-text-color", "var(--bs-ink-base)"), i.style.setProperty("--legend-item-text-decoration", l.hidden ? "line-through" : "none"), i.appendChild(s), n.appendChild(o), n.appendChild(i), e.value.appendChild(n);
1296
+ const i = document.createElement("span");
1297
+ i.style.setProperty("--legend-item-box-fill", l.fillStyle), i.style.setProperty("--legend-item-box-stroke", l.strokeStyle);
1298
+ const s = document.createTextNode(l.text), o = document.createElement("p");
1299
+ o.style.setProperty("--legend-item-text-color", "var(--bs-ink-base)"), o.style.setProperty("--legend-item-text-decoration", l.hidden ? "line-through" : "none"), o.appendChild(s), n.appendChild(i), n.appendChild(o), e.value.appendChild(n);
1300
1300
  });
1301
1301
  }
1302
1302
  });
@@ -1384,9 +1384,9 @@ function nt(e) {
1384
1384
  showXGrid: t,
1385
1385
  showYGrid: l,
1386
1386
  stacked: n,
1387
- xAxisType: o,
1387
+ xAxisType: i,
1388
1388
  xLabel: s,
1389
- yLabel: i,
1389
+ yLabel: o,
1390
1390
  yMax: d,
1391
1391
  yMin: r,
1392
1392
  customOptions: f,
@@ -1407,7 +1407,7 @@ function nt(e) {
1407
1407
  display: !!s,
1408
1408
  text: s
1409
1409
  },
1410
- type: o || "category"
1410
+ type: i || "category"
1411
1411
  },
1412
1412
  y: {
1413
1413
  beginAtZero: !0,
@@ -1424,12 +1424,12 @@ function nt(e) {
1424
1424
  }
1425
1425
  },
1426
1426
  title: {
1427
- display: !!i,
1428
- text: i
1427
+ display: !!o,
1428
+ text: o
1429
1429
  }
1430
1430
  }
1431
1431
  };
1432
- return (o === "time" || ((w = (S = f == null ? void 0 : f.scales) == null ? void 0 : S.x) == null ? void 0 : w.type) === "time") && (b.x.ticks.source = a != null && a.length ? "labels" : "auto", b.x.time = {
1432
+ return (i === "time" || ((w = (S = f == null ? void 0 : f.scales) == null ? void 0 : S.x) == null ? void 0 : w.type) === "time") && (b.x.ticks.source = a != null && a.length ? "labels" : "auto", b.x.time = {
1433
1433
  tooltipFormat: "dd MMM yyyy : h:mm bbb"
1434
1434
  }), b;
1435
1435
  }
@@ -1663,8 +1663,8 @@ const ln = {
1663
1663
  }
1664
1664
  },
1665
1665
  setup(e) {
1666
- const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Qa("bar", a), o = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1667
- return Y(() => n(
1666
+ const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Qa("bar", a), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1667
+ return H(() => n(
1668
1668
  ta,
1669
1669
  aa,
1670
1670
  na,
@@ -1672,11 +1672,11 @@ const ln = {
1672
1672
  oa,
1673
1673
  ia,
1674
1674
  ra
1675
- )), (s, i) => (u(), v("div", ln, [
1675
+ )), (s, o) => (u(), v("div", ln, [
1676
1676
  k("figure", null, [
1677
1677
  k("div", null, [
1678
1678
  k("canvas", {
1679
- "aria-label": o.value,
1679
+ "aria-label": i.value,
1680
1680
  ref_key: "canvasRef",
1681
1681
  ref: t,
1682
1682
  role: "img"
@@ -1687,7 +1687,7 @@ const ln = {
1687
1687
  "chart-type": "bar",
1688
1688
  data: e.data,
1689
1689
  "data-idx-labels": e.dataIdxLabels,
1690
- "table-title": o.value,
1690
+ "table-title": i.value,
1691
1691
  "x-axis-type": e.xAxisType,
1692
1692
  "x-label": e.xLabel,
1693
1693
  "y-label": e.yLabel
@@ -1767,7 +1767,7 @@ const ln = {
1767
1767
  },
1768
1768
  emits: ["update:modelValue"],
1769
1769
  setup(e, { emit: a }) {
1770
- const t = e, l = a, [n] = X(), o = p(() => et.concat(t.passAttrs.split(","))), s = I(null), i = p(() => t.inputId || n.value), d = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1770
+ const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = I(null), o = p(() => t.inputId || n.value), d = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1771
1771
  function b() {
1772
1772
  s.value && (s.value.indeterminate = r.value && !d.value);
1773
1773
  }
@@ -1775,35 +1775,35 @@ const ln = {
1775
1775
  l("update:modelValue", h);
1776
1776
  }
1777
1777
  function w(h) {
1778
- const $ = [...t.modelValue];
1779
- h ? $.push(t.value) : $.splice($.indexOf(t.value), 1), l("update:modelValue", $);
1778
+ const B = [...t.modelValue];
1779
+ h ? B.push(t.value) : B.splice(B.indexOf(t.value), 1), l("update:modelValue", B);
1780
1780
  }
1781
- function B(h) {
1782
- const { checked: $ } = h.target;
1783
- f.value ? w($) : S($);
1781
+ function $(h) {
1782
+ const { checked: B } = h.target;
1783
+ f.value ? w(B) : S(B);
1784
1784
  }
1785
- return j(d, b), j(r, b), Y(b), (h, $) => (u(), v("div", z({
1785
+ return j(d, b), j(r, b), H(b), (h, B) => (u(), v("div", z({
1786
1786
  class: "bs-boolean",
1787
1787
  "data-component": "bs-checkbox",
1788
1788
  "data-disabled": e.disabled,
1789
1789
  "data-error": e.error,
1790
1790
  "data-size": e.size
1791
- }, c(K)(h.$attrs, o.value).remaining), [
1791
+ }, c(Y)(h.$attrs, i.value).remaining), [
1792
1792
  k("input", z({
1793
1793
  ref_key: "inputEl",
1794
1794
  ref: s,
1795
1795
  checked: d.value,
1796
1796
  "data-error": e.error,
1797
1797
  disabled: e.disabled,
1798
- id: h.$attrs.id || i.value,
1798
+ id: h.$attrs.id || o.value,
1799
1799
  required: e.required,
1800
1800
  value: e.value || "on",
1801
1801
  type: "checkbox",
1802
- onChange: B
1803
- }, c(K)(h.$attrs, o.value).filtered), null, 16, dn),
1802
+ onChange: $
1803
+ }, c(Y)(h.$attrs, i.value).filtered), null, 16, dn),
1804
1804
  e.label || h.$slots.label ? (u(), O(ae, {
1805
1805
  key: 0,
1806
- for: h.$attrs.id || i.value,
1806
+ for: h.$attrs.id || o.value,
1807
1807
  disabled: e.disabled,
1808
1808
  required: e.required
1809
1809
  }, {
@@ -1892,14 +1892,14 @@ const ln = {
1892
1892
  return (l, n) => e.preloaded ? de((u(), O(st, {
1893
1893
  key: 0,
1894
1894
  name: e.name,
1895
- onBeforeEnter: n[0] || (n[0] = (o) => t("before-enter")),
1896
- onEnter: n[1] || (n[1] = (o) => t("enter")),
1897
- onAfterEnter: n[2] || (n[2] = (o) => t("after-enter")),
1898
- onEnterCancelled: n[3] || (n[3] = (o) => t("enter-cancelled")),
1899
- onBeforeLeave: n[4] || (n[4] = (o) => t("before-leave")),
1900
- onLeave: n[5] || (n[5] = (o) => t("leave")),
1901
- onAfterLeave: n[6] || (n[6] = (o) => t("after-leave")),
1902
- onLeaveCancelled: n[7] || (n[7] = (o) => t("leave-cancelled"))
1895
+ onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
1896
+ onEnter: n[1] || (n[1] = (i) => t("enter")),
1897
+ onAfterEnter: n[2] || (n[2] = (i) => t("after-enter")),
1898
+ onEnterCancelled: n[3] || (n[3] = (i) => t("enter-cancelled")),
1899
+ onBeforeLeave: n[4] || (n[4] = (i) => t("before-leave")),
1900
+ onLeave: n[5] || (n[5] = (i) => t("leave")),
1901
+ onAfterLeave: n[6] || (n[6] = (i) => t("after-leave")),
1902
+ onLeaveCancelled: n[7] || (n[7] = (i) => t("leave-cancelled"))
1903
1903
  }, {
1904
1904
  default: E(() => [
1905
1905
  D(l.$slots, "default")
@@ -1910,14 +1910,14 @@ const ln = {
1910
1910
  ]) : (u(), O(st, {
1911
1911
  key: 1,
1912
1912
  name: e.name,
1913
- onBeforeEnter: n[8] || (n[8] = (o) => t("before-enter")),
1914
- onEnter: n[9] || (n[9] = (o) => t("enter")),
1915
- onAfterEnter: n[10] || (n[10] = (o) => t("after-enter")),
1916
- onEnterCancelled: n[11] || (n[11] = (o) => t("enter-cancelled")),
1917
- onBeforeLeave: n[12] || (n[12] = (o) => t("before-leave")),
1918
- onLeave: n[13] || (n[13] = (o) => t("leave")),
1919
- onAfterLeave: n[14] || (n[14] = (o) => t("after-leave")),
1920
- onLeaveCancelled: n[15] || (n[15] = (o) => t("leave-cancelled"))
1913
+ onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
1914
+ onEnter: n[9] || (n[9] = (i) => t("enter")),
1915
+ onAfterEnter: n[10] || (n[10] = (i) => t("after-enter")),
1916
+ onEnterCancelled: n[11] || (n[11] = (i) => t("enter-cancelled")),
1917
+ onBeforeLeave: n[12] || (n[12] = (i) => t("before-leave")),
1918
+ onLeave: n[13] || (n[13] = (i) => t("leave")),
1919
+ onAfterLeave: n[14] || (n[14] = (i) => t("after-leave")),
1920
+ onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
1921
1921
  }, {
1922
1922
  default: E(() => [
1923
1923
  e.shown ? D(l.$slots, "default", { key: 0 }) : x("", !0)
@@ -1926,14 +1926,14 @@ const ln = {
1926
1926
  }, 8, ["name"]));
1927
1927
  }
1928
1928
  }, cn = (e, a = void 0, t = "relative") => {
1929
- const l = I(null), n = I(null), o = I(!1);
1929
+ const l = I(null), n = I(null), i = I(!1);
1930
1930
  let s = !1;
1931
- return Y(() => {
1932
- e && (l.value = a || St(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), s = !0) : (n.value = document.createElement("div"), n.value.id = l.value, n.value.style.position = t, document.body.insertAdjacentElement("afterbegin", n.value)), o.value = !0);
1933
- }), $e(() => {
1934
- var i;
1935
- e && !s && ((i = document.getElementById(l.value)) == null || i.remove());
1936
- }), { breakoutId: l, breakoutStub: n, breakoutMounted: o };
1931
+ return H(() => {
1932
+ e && (l.value = a || St(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), s = !0) : (n.value = document.createElement("div"), n.value.id = l.value, n.value.style.position = t, document.body.insertAdjacentElement("afterbegin", n.value)), i.value = !0);
1933
+ }), Be(() => {
1934
+ var o;
1935
+ e && !s && ((o = document.getElementById(l.value)) == null || o.remove());
1936
+ }), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
1937
1937
  }, fn = {
1938
1938
  key: 0,
1939
1939
  class: "bs-dropdown-backdrop"
@@ -1990,22 +1990,22 @@ const ln = {
1990
1990
  "after-leave"
1991
1991
  ],
1992
1992
  setup(e, { emit: a }) {
1993
- const t = e, l = a, n = I(null), o = I(null), s = I(!1), i = I(!1), d = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1994
- kt([o, d], () => {
1995
- i.value && l("close");
1993
+ const t = e, l = a, n = I(null), i = I(null), s = I(!1), o = I(!1), d = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1994
+ kt([i, d], () => {
1995
+ o.value && l("close");
1996
1996
  }), pe(["Escape"], () => {
1997
- i.value && l("close");
1997
+ o.value && l("close");
1998
1998
  });
1999
1999
  const { breakoutStub: m, breakoutMounted: b } = cn(t.breakout, t.containerId);
2000
- ce("dropdownEnter", s), ce("dropdownAfterEnter", i), ce("dropdownShown", p(() => t.shown));
2000
+ ce("dropdownEnter", s), ce("dropdownAfterEnter", o), ce("dropdownShown", p(() => t.shown));
2001
2001
  const S = (T, P) => {
2002
- o.value.style.setProperty(T, P);
2002
+ i.value.style.setProperty(T, P);
2003
2003
  };
2004
2004
  function w() {
2005
- const T = r.value.getBoundingClientRect(), P = d.value.getBoundingClientRect(), R = o.value.getBoundingClientRect();
2006
- B(T, P), h(T, P, R);
2005
+ const T = r.value.getBoundingClientRect(), P = d.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
2006
+ $(T, P), h(T, P, R);
2007
2007
  }
2008
- function B(T, P) {
2008
+ function $(T, P) {
2009
2009
  if (t.position === "top") {
2010
2010
  const R = T.bottom - P.bottom;
2011
2011
  S("--dropdown-wscreen-top", "auto"), S("--dropdown-wscreen-bottom", `${R + P.height + 8}px`);
@@ -2027,7 +2027,7 @@ const ln = {
2027
2027
  S("--dropdown-wscreen-left", `${_}px`), S("--dropdown-wscreen-right", "auto");
2028
2028
  }
2029
2029
  }
2030
- function $() {
2030
+ function B() {
2031
2031
  if (t.width === "anchor") {
2032
2032
  const T = d.value.getBoundingClientRect();
2033
2033
  S("--dropdown-wscreen-width", `${T.width}px`);
@@ -2035,13 +2035,13 @@ const ln = {
2035
2035
  S("--dropdown-wscreen-width", "");
2036
2036
  }
2037
2037
  function y() {
2038
- s.value = !0, w(), $(), l("enter");
2038
+ s.value = !0, w(), B(), l("enter");
2039
2039
  }
2040
2040
  function g() {
2041
- i.value = !0, l("after-enter");
2041
+ o.value = !0, l("after-enter");
2042
2042
  }
2043
2043
  function M() {
2044
- s.value = !1, i.value = !1, l("after-leave");
2044
+ s.value = !1, o.value = !1, l("after-leave");
2045
2045
  }
2046
2046
  return (T, P) => (u(), v(G, null, [
2047
2047
  e.useMobileStyle && e.shown ? (u(), v("div", fn)) : x("", !0),
@@ -2065,7 +2065,7 @@ const ln = {
2065
2065
  default: E(() => [
2066
2066
  k("div", z({
2067
2067
  ref_key: "dropdownRef",
2068
- ref: o,
2068
+ ref: i,
2069
2069
  class: "bs-dropdown",
2070
2070
  "data-width": f.value,
2071
2071
  "data-shown": e.shown,
@@ -2081,7 +2081,7 @@ const ln = {
2081
2081
  title: "close",
2082
2082
  onClick: P[0] || (P[0] = () => l("close"))
2083
2083
  }, [
2084
- L(c(Be))
2084
+ L(c($e))
2085
2085
  ])
2086
2086
  ])) : x("", !0),
2087
2087
  D(T.$slots, "default")
@@ -2184,9 +2184,9 @@ const ln = {
2184
2184
  "after-leave"
2185
2185
  ],
2186
2186
  setup(e, { emit: a }) {
2187
- const t = e, l = a, { transition: n } = Ee(t), o = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), i = p(() => t.toggleId ? t.toggleId : t.anchorId);
2187
+ const t = e, l = a, { transition: n } = Ee(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
2188
2188
  return (d, r) => (u(), O(mn, {
2189
- "anchor-id": i.value,
2189
+ "anchor-id": o.value,
2190
2190
  breakout: e.breakout,
2191
2191
  "container-id": e.containerId,
2192
2192
  "helper-description": e.helperDescription,
@@ -2195,7 +2195,7 @@ const ln = {
2195
2195
  preloaded: e.preloaded,
2196
2196
  shown: c(n),
2197
2197
  "use-mobile-style": e.useMobileStyle,
2198
- width: o.value,
2198
+ width: i.value,
2199
2199
  onClose: r[0] || (r[0] = () => l("close")),
2200
2200
  onEnter: r[1] || (r[1] = () => l("enter")),
2201
2201
  onAfterEnter: r[2] || (r[2] = () => l("after-enter")),
@@ -2249,18 +2249,18 @@ const ln = {
2249
2249
  setup(e, { emit: a }) {
2250
2250
  const t = e, l = a;
2251
2251
  let n = !1;
2252
- const o = I(null), [s] = X(1), i = p(() => ({
2252
+ const i = I(null), [s] = X(1), o = p(() => ({
2253
2253
  icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
2254
2254
  show: !!(t.modelValue || t.optionsId),
2255
2255
  text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
2256
2256
  }));
2257
2257
  function d() {
2258
- t.modelValue && l("clear"), n = !0, o.value.$el.focus();
2258
+ t.modelValue && l("clear"), n = !0, i.value.$el.focus();
2259
2259
  }
2260
2260
  function r(m) {
2261
- var w, B;
2261
+ var w, $;
2262
2262
  const b = ((w = m.relatedTarget) == null ? void 0 : w.id) === s.value;
2263
- !(((B = m.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
2263
+ !((($ = m.relatedTarget) == null ? void 0 : $.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
2264
2264
  }
2265
2265
  const f = Ve((m) => l("toggled", m), 200, !0);
2266
2266
  return (m, b) => (u(), O(Le, {
@@ -2275,7 +2275,7 @@ const ln = {
2275
2275
  default: E(() => [
2276
2276
  L(Ie, z({
2277
2277
  ref_key: "inputRef",
2278
- ref: o,
2278
+ ref: i,
2279
2279
  "aria-controls": e.optionsId,
2280
2280
  "aria-describedby": e.hintId,
2281
2281
  "aria-expanded": e.optionsId ? e.open : void 0,
@@ -2302,21 +2302,21 @@ const ln = {
2302
2302
  type: "button",
2303
2303
  onClick: d
2304
2304
  }, [
2305
- k("span", gn, V(i.value.text), 1),
2305
+ k("span", gn, V(o.value.text), 1),
2306
2306
  de(L(c(_e), {
2307
2307
  role: "presentation",
2308
2308
  size: "md"
2309
2309
  }, null, 512), [
2310
- [ue, i.value.icon == "caret-down"]
2310
+ [ue, o.value.icon == "caret-down"]
2311
2311
  ]),
2312
- de(L(c(Be), {
2312
+ de(L(c($e), {
2313
2313
  role: "presentation",
2314
2314
  size: "md"
2315
2315
  }, null, 512), [
2316
- [ue, i.value.icon == "close"]
2316
+ [ue, o.value.icon == "close"]
2317
2317
  ])
2318
2318
  ], 8, bn), [
2319
- [ue, i.value.show]
2319
+ [ue, o.value.show]
2320
2320
  ])
2321
2321
  ]),
2322
2322
  _: 1
@@ -2376,7 +2376,7 @@ const ln = {
2376
2376
  L(c(_e))
2377
2377
  ], 8, Sn));
2378
2378
  }
2379
- }, $n = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2379
+ }, Bn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2380
2380
  __name: "BsDropdownOption",
2381
2381
  props: {
2382
2382
  value: {
@@ -2390,25 +2390,25 @@ const ln = {
2390
2390
  },
2391
2391
  setup(e) {
2392
2392
  const a = e, t = I(null), l = fe("optionsId", ""), n = fe("handleOptionSelect", () => {
2393
- }), o = p(() => `${l.value}-option-${a.value}`);
2394
- function s(i) {
2395
- n(t.value), i.stopPropagation();
2393
+ }), i = p(() => `${l.value}-option-${a.value}`);
2394
+ function s(o) {
2395
+ n(t.value), o.stopPropagation();
2396
2396
  }
2397
- return (i, d) => (u(), v("li", {
2397
+ return (o, d) => (u(), v("li", {
2398
2398
  ref_key: "optionRef",
2399
2399
  ref: t,
2400
2400
  "data-component": "bs-dropdown-option",
2401
2401
  "data-value": a.value,
2402
2402
  "data-value-type": typeof a.value,
2403
2403
  "data-variant": e.variant || void 0,
2404
- id: o.value,
2404
+ id: i.value,
2405
2405
  role: "option",
2406
2406
  onClick: s
2407
2407
  }, [
2408
- D(i.$slots, "default")
2409
- ], 8, $n));
2408
+ D(o.$slots, "default")
2409
+ ], 8, Bn));
2410
2410
  }
2411
- }, Bn = ["data-img-size", "data-initials", "data-no-img"], In = ["src", "alt"], Tt = {
2411
+ }, $n = ["data-img-size", "data-initials", "data-no-img"], In = ["src", "alt"], Tt = {
2412
2412
  __name: "BsProfileImg",
2413
2413
  props: {
2414
2414
  src: String,
@@ -2428,7 +2428,7 @@ const ln = {
2428
2428
  },
2429
2429
  setup(e) {
2430
2430
  const a = e, t = I(!1), l = I(!!a.src);
2431
- return Y(() => t.value = !0), (n, o) => (u(), v("div", {
2431
+ return H(() => t.value = !0), (n, i) => (u(), v("div", {
2432
2432
  class: "bs-profile-img",
2433
2433
  "data-img-size": e.size,
2434
2434
  "data-initials": e.initials,
@@ -2438,9 +2438,9 @@ const ln = {
2438
2438
  key: 0,
2439
2439
  src: e.src,
2440
2440
  alt: e.useAltText ? e.profileName : "",
2441
- onError: o[0] || (o[0] = (s) => l.value = !1)
2441
+ onError: i[0] || (i[0] = (s) => l.value = !1)
2442
2442
  }, null, 40, In)) : x("", !0)
2443
- ], 8, Bn));
2443
+ ], 8, $n));
2444
2444
  }
2445
2445
  }, kn = ["id", "data-checked"], Cn = { key: 1 }, xn = ["innerHTML"], Tn = { key: 4 }, An = { key: 5 }, Vn = {
2446
2446
  key: 0,
@@ -2485,25 +2485,25 @@ const ln = {
2485
2485
  l();
2486
2486
  });
2487
2487
  function l() {
2488
- a.options.forEach((i) => {
2489
- const { icon: d } = i;
2490
- d && !t[d] && (t[d] = o(d));
2488
+ a.options.forEach((o) => {
2489
+ const { icon: d } = o;
2490
+ d && !t[d] && (t[d] = i(d));
2491
2491
  });
2492
2492
  }
2493
- function n(i) {
2493
+ function n(o) {
2494
2494
  let d = "", r = 1;
2495
- return r += i.checkbox ? 1 : 0, r += i.icon ? 1 : 0, r += i.profileImg ? 1 : 0, r > 1 && (d += ` ${r}-col`), i.checkbox && (d += " checkbox"), i.description && (d += " description"), i.negative && (d += " negative"), d;
2495
+ return r += o.checkbox ? 1 : 0, r += o.icon ? 1 : 0, r += o.profileImg ? 1 : 0, r > 1 && (d += ` ${r}-col`), o.checkbox && (d += " checkbox"), o.description && (d += " description"), o.negative && (d += " negative"), d;
2496
2496
  }
2497
- function o(i) {
2497
+ function i(o) {
2498
2498
  return Qe(async () => {
2499
- const { [`BsIcon${i}`]: d } = await import("@wwtdev/bsds-icons-vue3");
2499
+ const { [`BsIcon${o}`]: d } = await import("@wwtdev/bsds-icons-vue3");
2500
2500
  return d;
2501
2501
  });
2502
2502
  }
2503
- function s(i, d) {
2504
- return !!i && i !== d;
2503
+ function s(o, d) {
2504
+ return !!o && o !== d;
2505
2505
  }
2506
- return (i, d) => (u(), v(G, null, [
2506
+ return (o, d) => (u(), v(G, null, [
2507
2507
  (u(!0), v(G, null, ee(e.options, (r) => (u(), O(ot, {
2508
2508
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
2509
2509
  key: r.value,
@@ -2538,7 +2538,7 @@ const ln = {
2538
2538
  _: 2
2539
2539
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2540
2540
  e.showNoOptions && e.options.length === 0 ? (u(), v("li", Vn, [
2541
- D(i.$slots, "no-options", {}, () => [
2541
+ D(o.$slots, "no-options", {}, () => [
2542
2542
  W("No options")
2543
2543
  ])
2544
2544
  ])) : x("", !0)
@@ -2618,25 +2618,25 @@ const ln = {
2618
2618
  setup(e, { emit: a }) {
2619
2619
  const t = e, l = a;
2620
2620
  let n = null;
2621
- const [o, s] = X(2), i = I(!1), d = () => n || (n = document.getElementById(m.value)), r = p(() => Qe(async () => await (t.multiselect ? Promise.resolve().then(() => zn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || s.value), m = p(() => t.toggleId || o.value);
2621
+ const [i, s] = X(2), o = I(!1), d = () => n || (n = document.getElementById(m.value)), r = p(() => Qe(async () => await (t.multiselect ? Promise.resolve().then(() => zn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || s.value), m = p(() => t.toggleId || i.value);
2622
2622
  function b() {
2623
2623
  const y = document.activeElement;
2624
2624
  return !y || y.tagName === "BODY" || y.id === f.value;
2625
2625
  }
2626
2626
  function S() {
2627
2627
  var y, g;
2628
- i.value = !1, l("close"), b() && ((g = (y = d()) == null ? void 0 : y.focus) == null || g.call(y));
2628
+ o.value = !1, l("close"), b() && ((g = (y = d()) == null ? void 0 : y.focus) == null || g.call(y));
2629
2629
  }
2630
2630
  function w() {
2631
- i.value && S();
2631
+ o.value && S();
2632
2632
  }
2633
- function B() {
2634
- i.value = !0;
2633
+ function $() {
2634
+ o.value = !0;
2635
2635
  }
2636
2636
  function h(y) {
2637
2637
  l("update:selectedOptions", y);
2638
2638
  }
2639
- function $(y) {
2639
+ function B(y) {
2640
2640
  t.multiselect || (l("update:selectedOption", y), S());
2641
2641
  }
2642
2642
  return (y, g) => (u(), v("div", {
@@ -2677,7 +2677,7 @@ const ln = {
2677
2677
  "use-mobile-style": e.useMobileStyle,
2678
2678
  width: e.dropdownWidth,
2679
2679
  onClose: w,
2680
- onEnter: B
2680
+ onEnter: $
2681
2681
  }, {
2682
2682
  default: E(() => [
2683
2683
  L(c(r), {
@@ -2687,7 +2687,7 @@ const ln = {
2687
2687
  "options-id": f.value,
2688
2688
  "selected-options": e.selectedOptions,
2689
2689
  shown: e.open,
2690
- "onUpdate:modelValue": $,
2690
+ "onUpdate:modelValue": B,
2691
2691
  "onUpdate:selectedOptions": h,
2692
2692
  onClose: g[1] || (g[1] = (M) => e.multiselect ? void 0 : w())
2693
2693
  }, {
@@ -2763,7 +2763,7 @@ const ln = {
2763
2763
  },
2764
2764
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2765
2765
  setup(e, { emit: a }) {
2766
- const t = e, l = a, [n, o, s] = X(3), i = I(!1), d = p(() => t.inputId || n.value);
2766
+ const t = e, l = a, [n, i, s] = X(3), o = I(!1), d = p(() => t.inputId || n.value);
2767
2767
  function r(w) {
2768
2768
  l("combobox:change", w.target.value), l("update:modelValue", w.target.value);
2769
2769
  }
@@ -2771,41 +2771,41 @@ const ln = {
2771
2771
  l("combobox:change", ""), l("update:modelValue", "");
2772
2772
  }
2773
2773
  function m(w) {
2774
- var B, h;
2775
- (B = w.relatedTarget) != null && B.closest(`#${s.value}`) || (h = w.relatedTarget) != null && h.closest(`#${o.value}`) || (i.value = !1);
2774
+ var $, h;
2775
+ ($ = w.relatedTarget) != null && $.closest(`#${s.value}`) || (h = w.relatedTarget) != null && h.closest(`#${i.value}`) || (o.value = !1);
2776
2776
  }
2777
2777
  function b(w) {
2778
2778
  l("combobox:input", w.target.value), t.updateOnInput && l("update:modelValue", w.target.value);
2779
2779
  }
2780
2780
  function S(w) {
2781
- w === !0 || w === !1 ? i.value = w : i.value = !i.value;
2781
+ w === !0 || w === !1 ? o.value = w : o.value = !o.value;
2782
2782
  }
2783
- return (w, B) => (u(), O(En, {
2784
- "anchor-id": c(o),
2783
+ return (w, $) => (u(), O(En, {
2784
+ "anchor-id": c(i),
2785
2785
  disabled: e.disabled,
2786
2786
  "dropdown-position": e.dropdownPosition,
2787
2787
  "dropdown-width": e.dropdownWidth,
2788
2788
  "helper-description": e.helperDescription,
2789
2789
  "helper-text": e.helperText,
2790
2790
  multiselect: !1,
2791
- open: i.value,
2791
+ open: o.value,
2792
2792
  options: e.options,
2793
2793
  "options-id": c(s),
2794
2794
  "selected-option": e.modelValue,
2795
2795
  "toggle-id": w.$attrs.id || d.value,
2796
- onClose: B[0] || (B[0] = (h) => i.value = !1),
2796
+ onClose: $[0] || ($[0] = (h) => o.value = !1),
2797
2797
  onFocusout: m,
2798
- "onUpdate:selectedOption": B[1] || (B[1] = (h) => w.$emit("update:modelValue", h))
2798
+ "onUpdate:selectedOption": $[1] || ($[1] = (h) => w.$emit("update:modelValue", h))
2799
2799
  }, {
2800
2800
  toggle: E(() => [
2801
2801
  L(yn, z({
2802
2802
  id: w.$attrs.id || d.value,
2803
- "container-id": c(o),
2803
+ "container-id": c(i),
2804
2804
  disabled: e.disabled,
2805
2805
  error: e.error,
2806
2806
  "hint-id": e.hintId,
2807
2807
  "model-value": e.displayValue || e.modelValue,
2808
- open: i.value,
2808
+ open: o.value,
2809
2809
  "options-id": c(s),
2810
2810
  placeholder: e.placeholder,
2811
2811
  required: e.required,
@@ -2886,16 +2886,16 @@ const ln = {
2886
2886
  },
2887
2887
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2888
2888
  setup(e, { emit: a }) {
2889
- const t = e, [l, n] = X(2), o = p(() => t.error && t.errorMsg || t.hint || void 0), s = p(() => t.inputId || l.value);
2890
- return (i, d) => (u(), v("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(K)(i.$attrs, c(he)).remaining), [
2891
- e.label || i.$slots.label ? (u(), O(ae, {
2889
+ const t = e, [l, n] = X(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), s = p(() => t.inputId || l.value);
2890
+ return (o, d) => (u(), v("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(he)).remaining), [
2891
+ e.label || o.$slots.label ? (u(), O(ae, {
2892
2892
  key: 0,
2893
- for: i.$attrs.id || s.value,
2893
+ for: o.$attrs.id || s.value,
2894
2894
  disabled: e.disabled,
2895
2895
  required: e.required
2896
2896
  }, {
2897
2897
  default: E(() => [
2898
- D(i.$slots, "label", {}, () => [
2898
+ D(o.$slots, "label", {}, () => [
2899
2899
  W(V(e.label), 1)
2900
2900
  ])
2901
2901
  ]),
@@ -2910,21 +2910,21 @@ const ln = {
2910
2910
  "helper-text": e.helperText,
2911
2911
  "helper-description": e.helperDescription,
2912
2912
  "hint-id": c(n),
2913
- "input-id": i.$attrs.id || s.value,
2913
+ "input-id": o.$attrs.id || s.value,
2914
2914
  "model-value": e.modelValue,
2915
2915
  options: e.options,
2916
2916
  placeholder: e.placeholder,
2917
2917
  required: e.required,
2918
2918
  "update-on-input": e.updateOnInput,
2919
- "onCombobox:change": d[0] || (d[0] = (r) => i.$emit("combobox:change", r)),
2920
- "onCombobox:input": d[1] || (d[1] = (r) => i.$emit("combobox:input", r)),
2921
- "onUpdate:modelValue": d[2] || (d[2] = (r) => i.$emit("update:modelValue", r))
2922
- }, c(K)(i.$attrs, c(he)).filtered), 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"]),
2923
- o.value ? (u(), O(ge, {
2919
+ "onCombobox:change": d[0] || (d[0] = (r) => o.$emit("combobox:change", r)),
2920
+ "onCombobox:input": d[1] || (d[1] = (r) => o.$emit("combobox:input", r)),
2921
+ "onUpdate:modelValue": d[2] || (d[2] = (r) => o.$emit("update:modelValue", r))
2922
+ }, c(Y)(o.$attrs, c(he)).filtered), 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"]),
2923
+ i.value ? (u(), O(ge, {
2924
2924
  key: 1,
2925
2925
  error: e.error,
2926
2926
  "error-msg": e.errorMsg,
2927
- hint: e.hint || i.hintDeprecated,
2927
+ hint: e.hint || o.hintDeprecated,
2928
2928
  "hint-id": c(n)
2929
2929
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
2930
2930
  ], 16));
@@ -2965,13 +2965,13 @@ const ln = {
2965
2965
  "update:modelValue"
2966
2966
  ],
2967
2967
  setup(e, { expose: a, emit: t }) {
2968
- const l = e, n = t, o = I(null), s = I(null), i = I(-1), d = I(-1), r = I(null), f = I(!1), m = fe("dropdownEnter", I(!1)), b = fe("dropdownAfterEnter", I(!1)), S = fe("dropdownShown", I(!1));
2969
- ce("optionsId", p(() => l.optionsId)), ce("handleOptionSelect", ye), fa(o, g, { childList: !0 }), pe([" ", "Enter", "NumpadEnter"], ke, o), pe(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2970
- const h = [/^[a-zA-Z0-9]{1}$/], $ = {
2968
+ const l = e, n = t, i = I(null), s = I(null), o = I(-1), d = I(-1), r = I(null), f = I(!1), m = fe("dropdownEnter", I(!1)), b = fe("dropdownAfterEnter", I(!1)), S = fe("dropdownShown", I(!1));
2969
+ ce("optionsId", p(() => l.optionsId)), ce("handleOptionSelect", ye), fa(i, g, { childList: !0 }), pe([" ", "Enter", "NumpadEnter"], ke, i), pe(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2970
+ const h = [/^[a-zA-Z0-9]{1}$/], B = {
2971
2971
  keys: "",
2972
2972
  lastTyped: 0
2973
2973
  };
2974
- pe(h, (A) => xe(A, $)), Y(() => {
2974
+ pe(h, (A) => xe(A, B)), H(() => {
2975
2975
  g(), J(S.value);
2976
2976
  }), j(
2977
2977
  [m, () => {
@@ -2979,7 +2979,7 @@ const ln = {
2979
2979
  return (A = r.value) == null ? void 0 : A.length;
2980
2980
  }],
2981
2981
  ([A, F]) => {
2982
- (A || F > 0) && (f.value = o.value.scrollHeight > o.value.clientHeight);
2982
+ (A || F > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2983
2983
  }
2984
2984
  ), j(b, (A) => {
2985
2985
  A && (M(), T());
@@ -2987,27 +2987,27 @@ const ln = {
2987
2987
  const y = p(() => l.modelValue || l.selectedValue);
2988
2988
  function g() {
2989
2989
  r.value = Array.from(
2990
- o.value.querySelectorAll('[data-component="bs-dropdown-option"]')
2990
+ i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
2991
2991
  );
2992
2992
  }
2993
2993
  function M() {
2994
- o.value.getBoundingClientRect().bottom > window.innerHeight && o.value.scrollIntoView({ block: "nearest" });
2994
+ i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
2995
2995
  }
2996
2996
  function T() {
2997
2997
  var A;
2998
- i.value > -1 && (M(), (A = r.value[i.value]) == null || A.scrollIntoView({ block: "nearest" }));
2998
+ o.value > -1 && (M(), (A = r.value[o.value]) == null || A.scrollIntoView({ block: "nearest" }));
2999
2999
  }
3000
3000
  function P() {
3001
3001
  var A, F;
3002
- i.value > -1 && ((A = r.value[i.value]) == null || A.setAttribute("data-active", ""), s.value = (F = r.value[i.value]) == null ? void 0 : F.id, T());
3002
+ o.value > -1 && ((A = r.value[o.value]) == null || A.setAttribute("data-active", ""), s.value = (F = r.value[o.value]) == null ? void 0 : F.id, T());
3003
3003
  }
3004
3004
  function R() {
3005
3005
  var A;
3006
- i.value > -1 && ((A = r.value[i.value]) == null || A.removeAttribute("data-active"));
3006
+ o.value > -1 && ((A = r.value[o.value]) == null || A.removeAttribute("data-active"));
3007
3007
  }
3008
3008
  function _() {
3009
3009
  var A;
3010
- i.value < 0 && (i.value = 0, s.value = (A = r.value[0]) == null ? void 0 : A.id), P();
3010
+ o.value < 0 && (o.value = 0, s.value = (A = r.value[0]) == null ? void 0 : A.id), P();
3011
3011
  }
3012
3012
  function J(A) {
3013
3013
  A ? ne() : me();
@@ -3016,12 +3016,12 @@ const ln = {
3016
3016
  var A, F;
3017
3017
  l.multiselect || (d.value = r.value.findIndex(
3018
3018
  (q) => q.getAttribute("data-value") === String(y.value)
3019
- ), !l.multiselect && d.value > -1 && ((A = r.value[d.value]) == null || A.setAttribute("data-selected", ""), (F = r.value[d.value]) == null || F.setAttribute("aria-selected", "true")), i.value = d.value);
3019
+ ), !l.multiselect && d.value > -1 && ((A = r.value[d.value]) == null || A.setAttribute("data-selected", ""), (F = r.value[d.value]) == null || F.setAttribute("aria-selected", "true")), o.value = d.value);
3020
3020
  }
3021
3021
  function me() {
3022
3022
  r.value.forEach((A) => {
3023
3023
  A.removeAttribute("data-selected"), A.setAttribute("aria-selected", "false");
3024
- }), R(), d.value = -1, i.value = -1, s.value = null;
3024
+ }), R(), d.value = -1, o.value = -1, s.value = null;
3025
3025
  }
3026
3026
  function ye(A) {
3027
3027
  var q;
@@ -3030,7 +3030,7 @@ const ln = {
3030
3030
  A.getAttribute("data-value-type") === "number" && (F = Number(F)), s.value = A.id, R(), n("optselected", F), n("update:modelValue", F), n("close");
3031
3031
  }
3032
3032
  function ke(A) {
3033
- ye(r.value[i.value]), A.preventDefault();
3033
+ ye(r.value[o.value]), A.preventDefault();
3034
3034
  }
3035
3035
  function Ce(A) {
3036
3036
  if (S.value)
@@ -3053,10 +3053,10 @@ const ln = {
3053
3053
  let F;
3054
3054
  switch (A) {
3055
3055
  case "up":
3056
- F = i.value - 1 < 0 ? r.value.length - 1 : i.value - 1;
3056
+ F = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3057
3057
  break;
3058
3058
  case "down":
3059
- F = (i.value + 1) % r.value.length;
3059
+ F = (o.value + 1) % r.value.length;
3060
3060
  break;
3061
3061
  case "home":
3062
3062
  F = 0;
@@ -3071,21 +3071,21 @@ const ln = {
3071
3071
  if (!S.value)
3072
3072
  return;
3073
3073
  F.keys = A.timeStamp - F.lastTyped > 500 ? A.key : F.keys + A.key, F.lastTyped = A.timeStamp;
3074
- const q = r.value.findIndex((H) => H.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(F.keys));
3074
+ const q = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(F.keys));
3075
3075
  q > -1 && Se(q, !1);
3076
3076
  }
3077
3077
  function Se(A, F = !0) {
3078
- R(), i.value = A, document.activeElement !== o.value && F ? o.value.focus() : P();
3078
+ R(), o.value = A, document.activeElement !== i.value && F ? i.value.focus() : P();
3079
3079
  }
3080
3080
  return a({
3081
- activeIndex: i,
3081
+ activeIndex: o,
3082
3082
  optionEls: r,
3083
- optionsRef: o,
3083
+ optionsRef: i,
3084
3084
  refreshOptions: g,
3085
3085
  setCurrentActive: P
3086
3086
  }), (A, F) => (u(), v("ul", {
3087
3087
  ref_key: "optionsRef",
3088
- ref: o,
3088
+ ref: i,
3089
3089
  "aria-activedescendant": s.value || void 0,
3090
3090
  "aria-label": e.label,
3091
3091
  "aria-live": "polite",
@@ -3114,6 +3114,10 @@ const ln = {
3114
3114
  }, Vt = {
3115
3115
  __name: "BsDropdownMultiselect",
3116
3116
  props: {
3117
+ focusOnOpen: {
3118
+ type: Boolean,
3119
+ default: !0
3120
+ },
3117
3121
  label: {
3118
3122
  type: String,
3119
3123
  default: "Select an option"
@@ -3141,12 +3145,12 @@ const ln = {
3141
3145
  "uncheck-option"
3142
3146
  ],
3143
3147
  setup(e, { emit: a }) {
3144
- const t = e, l = a, n = I(null), o = I([]), s = I([]), i = p(() => {
3145
- var B, h;
3146
- return ((B = o.value) == null ? void 0 : B.length) && ((h = s.value) == null ? void 0 : h.length);
3148
+ const t = e, l = a, n = I(null), i = I([]), s = I([]), o = p(() => {
3149
+ var $, h;
3150
+ return (($ = i.value) == null ? void 0 : $.length) && ((h = s.value) == null ? void 0 : h.length);
3147
3151
  }), d = p(() => {
3148
- var B, h;
3149
- return ((B = o.value) == null ? void 0 : B.length) || ((h = s.value) == null ? void 0 : h.length);
3152
+ var $, h;
3153
+ return (($ = i.value) == null ? void 0 : $.length) || ((h = s.value) == null ? void 0 : h.length);
3150
3154
  });
3151
3155
  let r = !1;
3152
3156
  j(() => t.options, () => {
@@ -3155,8 +3159,8 @@ const ln = {
3155
3159
  () => t.selectedOptions,
3156
3160
  b,
3157
3161
  { immediate: !0 }
3158
- ), j(() => t.shown, (B) => {
3159
- B && Ae(f);
3162
+ ), j(() => t.shown, ($) => {
3163
+ $ && t.focusOnOpen && Ae(f);
3160
3164
  });
3161
3165
  function f() {
3162
3166
  n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
@@ -3164,28 +3168,28 @@ const ln = {
3164
3168
  function m() {
3165
3169
  n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
3166
3170
  }
3167
- function b(B = []) {
3168
- const h = new Set(B), $ = [], y = [];
3171
+ function b($ = []) {
3172
+ const h = new Set($), B = [], y = [];
3169
3173
  t.options.forEach((g) => {
3170
3174
  const M = { ...g }, T = `${t.optionsId}-${g.value}-cb`;
3171
- h.has(g.value) ? (M.checkbox = { inputId: T, checked: !0 }, $.push(M)) : (M.checkbox = { inputId: T, checked: !1 }, y.push(M));
3172
- }), o.value = $, Ae(() => {
3175
+ h.has(g.value) ? (M.checkbox = { inputId: T, checked: !0 }, B.push(M)) : (M.checkbox = { inputId: T, checked: !1 }, y.push(M));
3176
+ }), i.value = B, Ae(() => {
3173
3177
  s.value = y, Ae(() => {
3174
3178
  r && m(), r = !1;
3175
3179
  });
3176
3180
  });
3177
3181
  }
3178
- function S(B = []) {
3179
- const h = new Set(B), $ = [];
3182
+ function S($ = []) {
3183
+ const h = new Set($), B = [];
3180
3184
  return t.options.forEach((y) => {
3181
- h.has(y.value) && $.push(y.value);
3182
- }), $;
3185
+ h.has(y.value) && B.push(y.value);
3186
+ }), B;
3183
3187
  }
3184
- function w(B) {
3188
+ function w($) {
3185
3189
  let h = [];
3186
- t.selectedOptions.includes(B) ? (h = t.selectedOptions.filter(($) => $ !== B), l("uncheck-option", B)) : (h = S([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", h);
3190
+ t.selectedOptions.includes($) ? (h = t.selectedOptions.filter((B) => B !== $), l("uncheck-option", $)) : (h = S([...t.selectedOptions, $]), l("check-option", $)), r = !0, l("update:selectedOptions", h);
3187
3191
  }
3188
- return (B, h) => (u(), O(Re, {
3192
+ return ($, h) => (u(), O(Re, {
3189
3193
  ref_key: "optlist",
3190
3194
  ref: n,
3191
3195
  "aria-multiselectable": "true",
@@ -3199,18 +3203,18 @@ const ln = {
3199
3203
  default: E(() => [
3200
3204
  d.value ? (u(), v(G, { key: 0 }, [
3201
3205
  L(qe, {
3202
- options: o.value,
3206
+ options: i.value,
3203
3207
  "show-no-options": !1
3204
3208
  }, null, 8, ["options"]),
3205
3209
  de(k("li", Pn, Mn, 512), [
3206
- [ue, i.value]
3210
+ [ue, o.value]
3207
3211
  ]),
3208
3212
  L(qe, {
3209
3213
  options: s.value,
3210
3214
  "show-no-options": !1
3211
3215
  }, null, 8, ["options"])
3212
3216
  ], 64)) : (u(), v("li", Nn, [
3213
- D(B.$slots, "no-options", {}, () => [
3217
+ D($.$slots, "no-options", {}, () => [
3214
3218
  W("No options")
3215
3219
  ])
3216
3220
  ]))
@@ -3300,13 +3304,13 @@ const ln = {
3300
3304
  function n() {
3301
3305
  l.value = !0;
3302
3306
  }
3303
- function o(i) {
3304
- l.value = !1, t("update:modelValue", i), t("close");
3307
+ function i(o) {
3308
+ l.value = !1, t("update:modelValue", o), t("close");
3305
3309
  }
3306
3310
  function s() {
3307
3311
  l.value && (l.value = !1, t("close"));
3308
3312
  }
3309
- return (i, d) => (u(), O(c(lt), {
3313
+ return (o, d) => (u(), O(c(lt), {
3310
3314
  "anchor-id": e.anchorId,
3311
3315
  breakout: e.breakout,
3312
3316
  "container-id": e.containerId,
@@ -3329,11 +3333,11 @@ const ln = {
3329
3333
  "options-id": e.optionsId,
3330
3334
  "prevent-tab": e.preventTab,
3331
3335
  "type-to-focus": e.typeToFocus,
3332
- "onUpdate:modelValue": o,
3336
+ "onUpdate:modelValue": i,
3333
3337
  onClose: s
3334
3338
  }, {
3335
3339
  default: E(() => [
3336
- D(i.$slots, "default")
3340
+ D(o.$slots, "default")
3337
3341
  ]),
3338
3342
  _: 3
3339
3343
  }, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
@@ -3455,12 +3459,12 @@ const ln = {
3455
3459
  "after-leave"
3456
3460
  ],
3457
3461
  setup(e, { emit: a }) {
3458
- const t = e, l = a, { transition: n } = Ee(t), o = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), i = p(() => t.toggleId ? t.toggleId : t.anchorId), d = p(() => t.selectedValue || t.modelValue);
3462
+ const t = e, l = a, { transition: n } = Ee(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId), d = p(() => t.selectedValue || t.modelValue);
3459
3463
  function r(f) {
3460
3464
  l("optselected", f), l("update:modelValue", f);
3461
3465
  }
3462
3466
  return (f, m) => (u(), O(Rn, {
3463
- "anchor-id": i.value,
3467
+ "anchor-id": o.value,
3464
3468
  breakout: e.breakout,
3465
3469
  "container-id": e.containerId,
3466
3470
  "helper-description": e.helperDescription,
@@ -3473,7 +3477,7 @@ const ln = {
3473
3477
  "prevent-tab": e.preventTab,
3474
3478
  shown: c(n),
3475
3479
  "use-mobile-style": e.useMobileStyle,
3476
- width: o.value,
3480
+ width: i.value,
3477
3481
  onClose: m[0] || (m[0] = (b) => l("close")),
3478
3482
  onAfterEnter: m[1] || (m[1] = (b) => l("after-enter")),
3479
3483
  onAfterLeave: m[2] || (m[2] = (b) => l("after-leave")),
@@ -3521,12 +3525,12 @@ const ln = {
3521
3525
  },
3522
3526
  emits: ["close"],
3523
3527
  setup(e, { emit: a }) {
3524
- const t = e, l = a, n = I(null), o = p(() => document.getElementById(t.toggleId));
3525
- kt([n, o], s), pe(["Escape"], s);
3528
+ const t = e, l = a, n = I(null), i = p(() => document.getElementById(t.toggleId));
3529
+ kt([n, i], s), pe(["Escape"], s);
3526
3530
  function s() {
3527
3531
  t.shown && l("close");
3528
3532
  }
3529
- return (i, d) => (u(), O(De, {
3533
+ return (o, d) => (u(), O(De, {
3530
3534
  name: "bs-flyout",
3531
3535
  preloaded: e.preloaded,
3532
3536
  shown: e.shown
@@ -3540,7 +3544,7 @@ const ln = {
3540
3544
  "data-position": e.position,
3541
3545
  "data-shown": e.shown,
3542
3546
  "data-size": e.size
3543
- }, i.$attrs), [
3547
+ }, o.$attrs), [
3544
3548
  k("div", jn, [
3545
3549
  k("button", {
3546
3550
  type: "button",
@@ -3548,10 +3552,10 @@ const ln = {
3548
3552
  "aria-label": "Close",
3549
3553
  onClick: s
3550
3554
  }, [
3551
- L(c(Be))
3555
+ L(c($e))
3552
3556
  ])
3553
3557
  ]),
3554
- D(i.$slots, "default")
3558
+ D(o.$slots, "default")
3555
3559
  ], 16, Fn)
3556
3560
  ]),
3557
3561
  _: 3
@@ -3565,16 +3569,16 @@ const ln = {
3565
3569
  { offset: 0.5466, color: "#1C0087" },
3566
3570
  { offset: 0.9715, color: "#0086EA" }
3567
3571
  ], [n] = X();
3568
- return Y(() => {
3572
+ return H(() => {
3569
3573
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
3570
- }), (o, s) => (u(), v(G, null, [
3574
+ }), (i, s) => (u(), v(G, null, [
3571
3575
  k("span", z({
3572
3576
  ref_key: "svgWrapperRef",
3573
3577
  ref: a,
3574
3578
  class: "bs-icon-gradient-wrapper",
3575
3579
  style: `fill: url(#${c(n)});`
3576
- }, o.$attrs), [
3577
- D(o.$slots, "default")
3580
+ }, i.$attrs), [
3581
+ D(i.$slots, "default")
3578
3582
  ], 16),
3579
3583
  (u(), v("svg", {
3580
3584
  xmlns: "http://www.w3.org/2000/svg",
@@ -3590,10 +3594,10 @@ const ln = {
3590
3594
  y2: "100%",
3591
3595
  "gradient-units": "userSpaceOnUse"
3592
3596
  }, [
3593
- (u(), v(G, null, ee(l, (i) => k("stop", {
3594
- key: i.offset,
3595
- offset: i.offset,
3596
- "stop-color": i.color
3597
+ (u(), v(G, null, ee(l, (o) => k("stop", {
3598
+ key: o.offset,
3599
+ offset: o.offset,
3600
+ "stop-color": o.color
3597
3601
  }, null, 8, Gn)), 64))
3598
3602
  ], 8, Wn)
3599
3603
  ], 8, Un))
@@ -3646,12 +3650,12 @@ const ln = {
3646
3650
  },
3647
3651
  emits: ["update:modelValue"],
3648
3652
  setup(e, { emit: a }) {
3649
- const t = e, [l, n] = X(2), o = p(() => he.concat(t.passAttrs.split(",")).concat("type")), s = p(() => {
3653
+ const t = e, [l, n] = X(2), i = p(() => he.concat(t.passAttrs.split(",")).concat("type")), s = p(() => {
3650
3654
  var r, f;
3651
3655
  return ((f = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
3652
3656
  `)) || t.hints;
3653
- }), i = p(() => t.error && t.errorMsg || t.hint || s.value || void 0), d = p(() => t.inputId || l.value);
3654
- return (r, f) => (u(), v("div", z({ "data-component": "bs-input-field" }, c(K)(r.$attrs, o.value).remaining), [
3657
+ }), o = p(() => t.error && t.errorMsg || t.hint || s.value || void 0), d = p(() => t.inputId || l.value);
3658
+ return (r, f) => (u(), v("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3655
3659
  e.label || r.$slots.label ? (u(), O(ae, {
3656
3660
  key: 0,
3657
3661
  for: r.$attrs.id || d.value,
@@ -3675,8 +3679,8 @@ const ln = {
3675
3679
  type: e.type,
3676
3680
  value: e.value || e.modelValue,
3677
3681
  "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
3678
- }, c(K)(r.$attrs, o.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3679
- i.value ? (u(), O(ge, {
3682
+ }, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3683
+ o.value ? (u(), O(ge, {
3680
3684
  key: 1,
3681
3685
  error: e.error,
3682
3686
  "error-msg": e.errorMsg,
@@ -3806,7 +3810,7 @@ const ln = {
3806
3810
  },
3807
3811
  emits: ["update:modelValue", "input-blur"],
3808
3812
  setup(e, { expose: a, emit: t }) {
3809
- const l = e, n = t, o = [
3813
+ const l = e, n = t, i = [
3810
3814
  "ArrowDown",
3811
3815
  "ArrowLeft",
3812
3816
  "ArrowRight",
@@ -3818,62 +3822,62 @@ const ln = {
3818
3822
  "Escape",
3819
3823
  "Home",
3820
3824
  "Tab"
3821
- ], s = I(null), i = I(1), d = I([]), r = I(null), [
3825
+ ], s = I(null), o = I(1), d = I([]), r = I(null), [
3822
3826
  f,
3823
3827
  m,
3824
3828
  b,
3825
3829
  S
3826
- ] = X(4), w = I(!1), B = I(""), h = I(""), $ = I(!1), y = I(!1), g = I(!0);
3830
+ ] = X(4), w = I(!1), $ = I(""), h = I(""), B = I(!1), y = I(!1), g = I(!0);
3827
3831
  a({
3828
- validationErr: $,
3832
+ validationErr: B,
3829
3833
  validationErrMsg: h
3830
3834
  });
3831
- const M = p(() => B.value ? `+${i.value}${B.value}` : ""), T = p(() => `Country code: ${i.value}. Click to change.`), P = p(() => g.value ? l.errorMsg || h.value : ""), R = p(() => l.error || $.value), _ = p(() => l.hint || R.value && P.value), J = p(() => g.value && R.value);
3835
+ const M = p(() => $.value ? `+${o.value}${$.value}` : ""), T = p(() => `Country code: ${o.value}. Click to change.`), P = p(() => g.value ? l.errorMsg || h.value : ""), R = p(() => l.error || B.value), _ = p(() => l.hint || R.value && P.value), J = p(() => g.value && R.value);
3832
3836
  j(M, (q) => {
3833
3837
  n("update:modelValue", q), F(q);
3834
- }), j(() => l.modelValue, ne), xe(), Y(() => w.value = !0);
3835
- function ne(q, H) {
3836
- q === "" && q !== H && (B.value = "");
3838
+ }), j(() => l.modelValue, ne), xe(), H(() => w.value = !0);
3839
+ function ne(q, K) {
3840
+ q === "" && q !== K && ($.value = "");
3837
3841
  }
3838
3842
  function me() {
3839
3843
  var q;
3840
3844
  y.value && (y.value = !1, (q = s.value) == null || q.focus());
3841
3845
  }
3842
3846
  function ye(q) {
3843
- var H;
3844
- i.value = q, y.value = !1, (H = s.value) == null || H.focus(), A(q);
3847
+ var K;
3848
+ o.value = q, y.value = !1, (K = s.value) == null || K.focus(), A(q);
3845
3849
  }
3846
3850
  function ke() {
3847
3851
  l.deferValidation && (g.value = !0), n("input-blur");
3848
3852
  }
3849
3853
  function Ce(q) {
3850
- B.value = q.target.value, l.deferValidation && (g.value = !1);
3854
+ $.value = q.target.value, l.deferValidation && (g.value = !1);
3851
3855
  }
3852
3856
  function re(q) {
3853
- var H, Z;
3854
- !((Z = (H = q.key) == null ? void 0 : H.match) != null && Z.call(H, /[0-9]/)) && !o.includes(q.key) && !q.ctrlKey && !q.metaKey && q.preventDefault();
3857
+ var K, Z;
3858
+ !((Z = (K = q.key) == null ? void 0 : K.match) != null && Z.call(K, /[0-9]/)) && !i.includes(q.key) && !q.ctrlKey && !q.metaKey && q.preventDefault();
3855
3859
  }
3856
3860
  function xe() {
3857
- je.initSourceData(), Se(), A(i.value), F(M.value);
3861
+ je.initSourceData(), Se(), A(o.value), F(M.value);
3858
3862
  }
3859
3863
  function Se() {
3860
- var H, Z;
3864
+ var K, Z;
3861
3865
  let q = ut(l.modelValue);
3862
- q.valid || q.countryCode && ((Z = (H = l.modelValue) == null ? void 0 : H.startsWith) != null && Z.call(H, "+")) ? (i.value = q.countryCode, B.value = q.number.significant) : B.value = l.modelValue, d.value = je.data.allCountries.map((Te) => ({
3866
+ q.valid || q.countryCode && ((Z = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && Z.call(K, "+")) ? (o.value = q.countryCode, $.value = q.number.significant) : $.value = l.modelValue, d.value = je.data.allCountries.map((Te) => ({
3863
3867
  ...Te,
3864
- isSelected: i.value === Te
3868
+ isSelected: o.value === Te
3865
3869
  }));
3866
3870
  }
3867
3871
  function A(q) {
3868
3872
  r.value = je.getCountryByCountryCode(q);
3869
3873
  }
3870
3874
  function F(q) {
3871
- $.value = q ? !ut(q).valid : !1, h.value = $.value ? "Invalid phone number" : "";
3875
+ B.value = q ? !ut(q).valid : !1, h.value = B.value ? "Invalid phone number" : "";
3872
3876
  }
3873
- return (q, H) => (u(), v("div", z({
3877
+ return (q, K) => (u(), v("div", z({
3874
3878
  class: "bs-input-phone",
3875
3879
  "data-component": "bs-input-phone"
3876
- }, c(K)(q.$attrs, c(he)).remaining), [
3880
+ }, c(Y)(q.$attrs, c(he)).remaining), [
3877
3881
  L(ae, {
3878
3882
  for: q.$attrs.id || e.inputId || c(S),
3879
3883
  required: e.required,
@@ -3904,10 +3908,10 @@ const ln = {
3904
3908
  "aria-label": T.value,
3905
3909
  disabled: e.disabled,
3906
3910
  type: "button",
3907
- onClick: H[0] || (H[0] = (Te) => y.value = !y.value)
3911
+ onClick: K[0] || (K[0] = (Te) => y.value = !y.value)
3908
3912
  }, [
3909
3913
  k("span", null, V((Z = r.value) == null ? void 0 : Z.flag), 1),
3910
- k("span", null, "+" + V(i.value), 1),
3914
+ k("span", null, "+" + V(o.value), 1),
3911
3915
  L(c(Ft), { size: "sm" })
3912
3916
  ], 8, Hn),
3913
3917
  L(Ie, z({
@@ -3915,10 +3919,10 @@ const ln = {
3915
3919
  disabled: e.disabled,
3916
3920
  "hint-id": c(b),
3917
3921
  placeholder: e.placeholder,
3918
- value: B.value,
3922
+ value: $.value,
3919
3923
  "data-autowidth": "",
3920
3924
  type: "tel"
3921
- }, c(K)(q.$attrs, c(he)).filtered, {
3925
+ }, c(Y)(q.$attrs, c(he)).filtered, {
3922
3926
  onInput: Ce,
3923
3927
  onFocusout: ke,
3924
3928
  onKeydown: re
@@ -3940,7 +3944,7 @@ const ln = {
3940
3944
  "anchor-id": c(f),
3941
3945
  "helper-text": "Country Code",
3942
3946
  label: "Country Code",
3943
- "model-value": i.value,
3947
+ "model-value": o.value,
3944
3948
  "options-id": c(m),
3945
3949
  preloaded: "",
3946
3950
  shown: y.value,
@@ -4013,29 +4017,29 @@ const ln = {
4013
4017
  emits: ["clear", "update:modelValue"],
4014
4018
  setup(e, { emit: a }) {
4015
4019
  const t = e, l = p(() => he.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4016
- return (o, s) => (u(), O(Le, z({
4020
+ return (i, s) => (u(), O(Le, z({
4017
4021
  class: "bs-input-search",
4018
4022
  "data-component": "bs-input-search",
4019
4023
  "data-variant": e.variant,
4020
4024
  disabled: e.disabled
4021
- }, c(K)(o.$attrs, l.value).remaining), {
4025
+ }, c(Y)(i.$attrs, l.value).remaining), {
4022
4026
  default: E(() => [
4023
4027
  e.hideSearchIcon ? x("", !0) : (u(), O(c(jt), { key: 0 })),
4024
4028
  L(Ie, z({
4025
4029
  "data-autowidth": "",
4026
4030
  disabled: e.disabled,
4027
- "input-id": o.$attrs.id || e.inputId,
4031
+ "input-id": i.$attrs.id || e.inputId,
4028
4032
  placeholder: e.placeholder,
4029
4033
  value: e.value || e.modelValue
4030
- }, c(K)(o.$attrs, l.value).filtered, {
4031
- "onUpdate:modelValue": s[0] || (s[0] = (i) => o.$emit("update:modelValue", i))
4034
+ }, c(Y)(i.$attrs, l.value).filtered, {
4035
+ "onUpdate:modelValue": s[0] || (s[0] = (o) => i.$emit("update:modelValue", o))
4032
4036
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
4033
4037
  de(k("button", {
4034
4038
  title: "Clear",
4035
4039
  type: "button",
4036
- onClick: s[1] || (s[1] = (i) => o.$emit("clear"))
4040
+ onClick: s[1] || (s[1] = (o) => i.$emit("clear"))
4037
4041
  }, [
4038
- L(c(Be), { size: "sm" })
4042
+ L(c($e), { size: "sm" })
4039
4043
  ], 512), [
4040
4044
  [ue, n.value]
4041
4045
  ])
@@ -4158,23 +4162,23 @@ const ln = {
4158
4162
  },
4159
4163
  emits: ["update:inputValue", "update:optionsValue"],
4160
4164
  setup(e, { emit: a }) {
4161
- const t = e, l = a, n = I(!1), o = I(!1), [s] = X();
4162
- let i = [];
4165
+ const t = e, l = a, n = I(!1), i = I(!1), [s] = X();
4166
+ let o = [];
4163
4167
  j(() => t.inputValue, () => {
4164
- o.value ? o.value = !1 : h();
4168
+ i.value ? i.value = !1 : h();
4165
4169
  });
4166
4170
  const d = p(() => t.typeaheadId || s.value), r = p(() => `${d.value}-input-container`), f = p(() => `${d.value}-input`), m = p(() => `${d.value}-options`), b = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), S = p(() => {
4167
4171
  if (n.value) {
4168
4172
  let T = t.options;
4169
4173
  const P = t.inputValue.toLowerCase(), R = t.filterType === "includes" ? "includes" : "startsWith";
4170
- return t.inputValue.length >= t.characterThreshold && (T = w(T, P, R), T = T.slice(0, t.maxOptions), T = B(T, P, R), i = T), T;
4174
+ return t.inputValue.length >= t.characterThreshold && (T = w(T, P, R), T = T.slice(0, t.maxOptions), T = $(T, P, R), o = T), T;
4171
4175
  } else
4172
- return i;
4176
+ return o;
4173
4177
  });
4174
4178
  function w(T, P, R) {
4175
4179
  return t.internalFiltering ? T.filter((_) => _.label.toLowerCase()[R](P)) : T;
4176
4180
  }
4177
- function B(T, P, R) {
4181
+ function $(T, P, R) {
4178
4182
  return T.map((_) => {
4179
4183
  let J = _.label;
4180
4184
  if (P !== "") {
@@ -4187,11 +4191,11 @@ const ln = {
4187
4191
  function h() {
4188
4192
  t.showDropdownOnFocus || t.inputValue.length >= t.characterThreshold ? n.value = !0 : n.value = !1;
4189
4193
  }
4190
- function $() {
4194
+ function B() {
4191
4195
  l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(f.value).focus();
4192
4196
  }
4193
4197
  function y(T) {
4194
- o.value = !0;
4198
+ i.value = !0;
4195
4199
  const P = S.value.find((R) => R.value === T);
4196
4200
  l("update:inputValue", P.label), l("update:optionsValue", T);
4197
4201
  }
@@ -4235,7 +4239,7 @@ const ln = {
4235
4239
  role: "combobox",
4236
4240
  value: e.inputValue
4237
4241
  }, T.$attrs, {
4238
- onClear: $,
4242
+ onClear: B,
4239
4243
  onFocusin: h,
4240
4244
  "onUpdate:modelValue": P[0] || (P[0] = (R) => l("update:inputValue", R))
4241
4245
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
@@ -4251,6 +4255,7 @@ const ln = {
4251
4255
  default: E(() => [
4252
4256
  e.multiselect ? (u(), O(Vt, {
4253
4257
  key: 0,
4258
+ "focus-on-open": !1,
4254
4259
  label: e.label,
4255
4260
  options: S.value,
4256
4261
  "options-id": m.value,
@@ -4366,14 +4371,20 @@ const ln = {
4366
4371
  emits: ["after-enter", "after-leave"],
4367
4372
  setup(e, { emit: a }) {
4368
4373
  const t = e, l = a, { transition: n } = Ee(t);
4369
- return j(n, (o) => {
4370
- o ? document == null || document.body.setAttribute("data-scroll", "false") : document == null || document.body.removeAttribute("data-scroll");
4371
- }, { immediate: !0 }), (o, s) => (u(), O(De, {
4374
+ H(() => {
4375
+ i();
4376
+ }), j(n, () => {
4377
+ i();
4378
+ });
4379
+ function i() {
4380
+ n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
4381
+ }
4382
+ return (s, o) => (u(), O(De, {
4372
4383
  name: "bs-overlay",
4373
4384
  shown: c(n),
4374
4385
  preloaded: e.preloaded,
4375
- onAfterEnter: s[0] || (s[0] = (i) => l("after-enter")),
4376
- onAfterLeave: s[1] || (s[1] = (i) => l("after-leave"))
4386
+ onAfterEnter: o[0] || (o[0] = (d) => l("after-enter")),
4387
+ onAfterLeave: o[1] || (o[1] = (d) => l("after-leave"))
4377
4388
  }, {
4378
4389
  default: E(() => [
4379
4390
  k("div", {
@@ -4429,14 +4440,14 @@ const ln = {
4429
4440
  },
4430
4441
  emits: ["close", "after-enter", "after-leave"],
4431
4442
  setup(e, { emit: a }) {
4432
- const t = e, l = a, { transition: n } = Ee(t), [o] = X();
4443
+ const t = e, l = a, { transition: n } = Ee(t), [i] = X();
4433
4444
  let s = !1;
4434
- const i = I(null), d = (m) => {
4435
- i.value && m.target.closest(".bs-overlay") && l("close", t.modalId);
4445
+ const o = I(null), d = (m) => {
4446
+ o.value && m.target.closest(".bs-overlay") && l("close", t.modalId);
4436
4447
  };
4437
- Y(() => {
4448
+ H(() => {
4438
4449
  document.addEventListener("click", d);
4439
- }), $e(() => {
4450
+ }), Be(() => {
4440
4451
  document.removeEventListener("click", d);
4441
4452
  }), pe(["Escape"], () => {
4442
4453
  s && l("close", t.modalId);
@@ -4463,11 +4474,11 @@ const ln = {
4463
4474
  id: e.modalId,
4464
4475
  class: "bs-modal",
4465
4476
  role: e.alert ? "alertdialog" : "dialog",
4466
- "aria-labelledby": e.title && !m.$attrs["aria-label"] ? c(o) : void 0,
4477
+ "aria-labelledby": e.title && !m.$attrs["aria-label"] ? c(i) : void 0,
4467
4478
  "aria-modal": "true"
4468
4479
  }, m.$attrs, {
4469
4480
  ref_key: "modalRef",
4470
- ref: i,
4481
+ ref: o,
4471
4482
  "data-shown": c(n)
4472
4483
  }), [
4473
4484
  e.title || e.closeButton ? (u(), v("header", {
@@ -4479,7 +4490,7 @@ const ln = {
4479
4490
  }, [
4480
4491
  e.title ? (u(), v("span", {
4481
4492
  key: 0,
4482
- id: c(o),
4493
+ id: c(i),
4483
4494
  class: "modal-title"
4484
4495
  }, V(e.title), 9, vl)) : x("", !0),
4485
4496
  e.closeButton ? (u(), v("button", {
@@ -4489,7 +4500,7 @@ const ln = {
4489
4500
  "aria-label": "Close Modal",
4490
4501
  onClick: b[0] || (b[0] = (S) => l("close", e.modalId))
4491
4502
  }, [
4492
- L(c(Be), { class: "close-button" })
4503
+ L(c($e), { class: "close-button" })
4493
4504
  ])) : x("", !0)
4494
4505
  ], 2)) : x("", !0),
4495
4506
  D(m.$slots, "default")
@@ -4502,10 +4513,10 @@ const ln = {
4502
4513
  }), ml = ["data-variant", "data-fixed"], bl = {
4503
4514
  key: 0,
4504
4515
  class: "bs-pagination-carets"
4505
- }, gl = ["aria-label", "title", "disabled"], yl = { key: 0 }, Sl = ["aria-label", "title", "disabled"], wl = { key: 0 }, $l = {
4516
+ }, gl = ["aria-label", "title", "disabled"], yl = { key: 0 }, Sl = ["aria-label", "title", "disabled"], wl = { key: 0 }, Bl = {
4506
4517
  key: 1,
4507
4518
  class: "bs-pagination-page-numbers"
4508
- }, Bl = ["title", "data-selected", "onClick"], Il = { key: 2 }, kl = { key: 3 }, Cl = /* @__PURE__ */ k("span", null, "Results Per Page:", -1), xl = { class: "bs-pagination-results-numbers" }, Tl = ["data-selected", "disabled", "onClick"], Al = {
4519
+ }, $l = ["title", "data-selected", "onClick"], Il = { key: 2 }, kl = { key: 3 }, Cl = /* @__PURE__ */ k("span", null, "Results Per Page:", -1), xl = { class: "bs-pagination-results-numbers" }, Tl = ["data-selected", "disabled", "onClick"], Al = {
4509
4520
  key: 5,
4510
4521
  class: "bs-pagination-carets"
4511
4522
  }, Vl = ["aria-label", "title", "disabled"], Ol = { key: 0 }, El = ["aria-label", "title", "disabled"], Ll = { key: 0 }, Zo = {
@@ -4595,23 +4606,23 @@ const ln = {
4595
4606
  emits: ["selchange", "update:modelValue"],
4596
4607
  setup(e, { emit: a }) {
4597
4608
  const t = e, l = a, n = I(null);
4598
- Y(() => {
4599
- o.value ? n.value = o.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
4609
+ H(() => {
4610
+ i.value ? n.value = i.value : t.variant === "results" ? n.value = $.value[0] : n.value = 1;
4600
4611
  });
4601
- const o = p(() => t.modelValue || t.selection);
4612
+ const i = p(() => t.modelValue || t.selection);
4602
4613
  j(() => t.selection, (h) => {
4603
4614
  n.value = h;
4604
4615
  }), j(() => t.modelValue, (h) => {
4605
4616
  n.value = h;
4606
- }), j(n, (h, $) => {
4607
- $ !== null && (l("selchange", h), l("update:modelValue", h));
4617
+ }), j(n, (h, B) => {
4618
+ B !== null && (l("selchange", h), l("update:modelValue", h));
4608
4619
  });
4609
4620
  const s = p(() => {
4610
4621
  if (t.variant === "group")
4611
4622
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
4612
4623
  if (t.variant === "base")
4613
4624
  return t.pageCount;
4614
- }), i = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
4625
+ }), o = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
4615
4626
  function d() {
4616
4627
  n.value = 1;
4617
4628
  }
@@ -4630,19 +4641,19 @@ const ln = {
4630
4641
  const b = p(() => {
4631
4642
  if (t.pageCount <= t.pageRange)
4632
4643
  return [...Array(t.pageCount + 1).keys()].slice(1);
4633
- const h = [1], $ = (t.pageRange - 1) / 2;
4634
- let y = n.value - $, g = n.value + $;
4644
+ const h = [1], B = (t.pageRange - 1) / 2;
4645
+ let y = n.value - B, g = n.value + B;
4635
4646
  y < 1 && (g += 1 - y, y = 1), g > t.pageCount && (y -= g - t.pageCount, g = t.pageCount), y = Math.max(y, 2), g = Math.min(g, t.pageCount - 1), y > 2 && h.push(t.breakText);
4636
4647
  for (let M = y; M <= g; M++)
4637
4648
  h.push(M);
4638
4649
  return g < t.pageCount - 1 && h.push(t.breakText), h.push(t.pageCount), h;
4639
4650
  }), S = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${s.value}`), w = p(() => {
4640
- const h = (n.value - 1) * t.itemsPerGroup + 1, $ = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
4641
- return `${t.centerLabel ?? "Results"} ${h} - ${$} of ${t.itemsCount}`;
4642
- }), B = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
4643
- return (h, $) => (u(), v("div", {
4651
+ const h = (n.value - 1) * t.itemsPerGroup + 1, B = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
4652
+ return `${t.centerLabel ?? "Results"} ${h} - ${B} of ${t.itemsCount}`;
4653
+ }), $ = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
4654
+ return (h, B) => (u(), v("div", {
4644
4655
  class: "bs-pagination",
4645
- "data-variant": i.value,
4656
+ "data-variant": o.value,
4646
4657
  "data-fixed": t.fixed
4647
4658
  }, [
4648
4659
  e.variant === "base" || e.variant === "group" ? (u(), v("div", bl, [
@@ -4666,25 +4677,25 @@ const ln = {
4666
4677
  disabled: n.value === 1,
4667
4678
  onClick: r
4668
4679
  }, [
4669
- L(c(Bt)),
4680
+ L(c($t)),
4670
4681
  e.prevPageText ? (u(), v("span", wl, V(e.prevPageText), 1)) : x("", !0)
4671
4682
  ], 10, Sl)
4672
4683
  ])) : x("", !0),
4673
- e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", $l, [
4684
+ e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", Bl, [
4674
4685
  (u(!0), v(G, null, ee(b.value, (y) => (u(), v("button", {
4675
4686
  key: `page-${y}-button`,
4676
4687
  type: "button",
4677
4688
  title: `Page ${y}`,
4678
4689
  "data-selected": y === n.value,
4679
4690
  onClick: (g) => n.value = y
4680
- }, V(y), 9, Bl))), 128))
4691
+ }, V(y), 9, $l))), 128))
4681
4692
  ])) : x("", !0),
4682
4693
  t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Il, V(S.value), 1)) : x("", !0),
4683
4694
  t.variant === "group" ? (u(), v("span", kl, V(w.value), 1)) : x("", !0),
4684
4695
  t.variant === "results" ? (u(), v(G, { key: 4 }, [
4685
4696
  Cl,
4686
4697
  k("div", xl, [
4687
- (u(!0), v(G, null, ee(B.value, (y) => (u(), v("button", {
4698
+ (u(!0), v(G, null, ee($.value, (y) => (u(), v("button", {
4688
4699
  type: "button",
4689
4700
  key: `results-${y}`,
4690
4701
  "data-selected": y === n.value,
@@ -4703,7 +4714,7 @@ const ln = {
4703
4714
  onClick: f
4704
4715
  }, [
4705
4716
  e.nextPageText ? (u(), v("span", Ol, V(e.nextPageText), 1)) : x("", !0),
4706
- L(c($t))
4717
+ L(c(Bt))
4707
4718
  ], 10, Vl),
4708
4719
  e.showFirstLastButtons ? (u(), v("button", {
4709
4720
  key: 0,
@@ -4744,8 +4755,8 @@ const ln = {
4744
4755
  }
4745
4756
  },
4746
4757
  setup(e) {
4747
- const a = e, { onLinkClick: t } = ze(a), l = ve(), { rootTag: n, attrsToBind: o, hrefUrl: s } = Ne(a, l, "span");
4748
- return (i, d) => (u(), O(te(c(n)), z({
4758
+ const a = e, { onLinkClick: t } = ze(a), l = ve(), { rootTag: n, attrsToBind: i, hrefUrl: s } = Ne(a, l, "span");
4759
+ return (o, d) => (u(), O(te(c(n)), z({
4749
4760
  class: "bs-pill",
4750
4761
  "data-active": e.active,
4751
4762
  "data-component": "bs-pill",
@@ -4753,10 +4764,10 @@ const ln = {
4753
4764
  "data-variant": e.variant || void 0,
4754
4765
  disabled: e.disabled,
4755
4766
  ".href": c(s)
4756
- }, c(o), { onClick: c(t) }), {
4767
+ }, c(i), { onClick: c(t) }), {
4757
4768
  default: E(() => [
4758
4769
  k("span", { "data-truncate": e.truncate }, [
4759
- D(i.$slots, "default")
4770
+ D(o.$slots, "default")
4760
4771
  ], 8, Dl)
4761
4772
  ]),
4762
4773
  _: 3
@@ -4789,17 +4800,17 @@ const ln = {
4789
4800
  },
4790
4801
  emits: ["action-toggled"],
4791
4802
  setup(e, { emit: a }) {
4792
- const t = e, l = a, { icon: n } = Pe(t, "actionIcon"), { icon: o } = Pe(t, "miscMetaIcon");
4793
- function s(i) {
4794
- i.target.tagName === "BUTTON" && (i.preventDefault(), i.stopImmediatePropagation(), l("action-toggled"));
4803
+ const t = e, l = a, { icon: n } = Pe(t, "actionIcon"), { icon: i } = Pe(t, "miscMetaIcon");
4804
+ function s(o) {
4805
+ o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
4795
4806
  }
4796
- return (i, d) => (u(), v("div", Pl, [
4797
- e.action || i.$slots.action ? (u(), v("button", {
4807
+ return (o, d) => (u(), v("div", Pl, [
4808
+ e.action || o.$slots.action ? (u(), v("button", {
4798
4809
  key: 0,
4799
4810
  "data-icon": "true",
4800
4811
  onClick: s
4801
4812
  }, [
4802
- D(i.$slots, "action", {}, () => [
4813
+ D(o.$slots, "action", {}, () => [
4803
4814
  e.actionIcon ? (u(), O(te(c(n) ? c(n) : "span"), {
4804
4815
  key: 0,
4805
4816
  class: "bs-icon"
@@ -4811,9 +4822,9 @@ const ln = {
4811
4822
  e.company ? (u(), v("span", Ml, V(e.company), 1)) : x("", !0),
4812
4823
  e.jobTitle ? (u(), v("span", Nl, V(e.jobTitle), 1)) : x("", !0),
4813
4824
  e.email ? (u(), v("span", zl, V(e.email), 1)) : x("", !0),
4814
- e.miscMeta || i.$slots.misc ? (u(), v("span", Rl, [
4815
- D(i.$slots, "misc", {}, () => [
4816
- e.miscMetaIcon ? (u(), O(te(c(o) ? c(o) : "span"), {
4825
+ e.miscMeta || o.$slots.misc ? (u(), v("span", Rl, [
4826
+ D(o.$slots, "misc", {}, () => [
4827
+ e.miscMetaIcon ? (u(), O(te(c(i) ? c(i) : "span"), {
4817
4828
  key: 0,
4818
4829
  class: "bs-icon"
4819
4830
  })) : x("", !0),
@@ -4852,12 +4863,12 @@ const ln = {
4852
4863
  },
4853
4864
  emits: ["action-toggled"],
4854
4865
  setup(e, { emit: a }) {
4855
- const t = e, l = a, n = ve(), { onLinkClick: o } = ze(t), { rootTag: s, attrsToBind: i, hrefUrl: d } = Ne(t, n, "div");
4866
+ const t = e, l = a, n = ve(), { onLinkClick: i } = ze(t), { rootTag: s, attrsToBind: o, hrefUrl: d } = Ne(t, n, "div");
4856
4867
  return (r, f) => (u(), O(te(c(s)), z({
4857
4868
  class: "bs-profile",
4858
4869
  ".href": c(d),
4859
4870
  "data-layout": e.layout
4860
- }, c(i), { onClick: c(o) }), {
4871
+ }, c(o), { onClick: c(i) }), {
4861
4872
  default: E(() => [
4862
4873
  L(Tt, {
4863
4874
  src: e.imageSrc,
@@ -4897,7 +4908,7 @@ function Et(e) {
4897
4908
  case void 0:
4898
4909
  case null:
4899
4910
  case "":
4900
- return (n = e.steps.filter((o) => o.status === "complete")) == null ? void 0 : n.length;
4911
+ return (n = e.steps.filter((i) => i.status === "complete")) == null ? void 0 : n.length;
4901
4912
  case "complete":
4902
4913
  return e.steps.length;
4903
4914
  case "in-progress":
@@ -4906,8 +4917,8 @@ function Et(e) {
4906
4917
  return e.currentStep;
4907
4918
  }
4908
4919
  }), t = p(() => `${a.value} of ${e.steps.length} completed.`);
4909
- function l(n, o) {
4910
- return n || (e.currentStatus ? o < e.currentStep ? "complete" : o === e.currentStep ? e.currentStatus : "not-started" : "not-started");
4920
+ function l(n, i) {
4921
+ return n || (e.currentStatus ? i < e.currentStep ? "complete" : i === e.currentStep ? e.currentStatus : "not-started" : "not-started");
4911
4922
  }
4912
4923
  return {
4913
4924
  progressStep: a,
@@ -4944,21 +4955,21 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
4944
4955
  },
4945
4956
  setup(e) {
4946
4957
  const a = e, { progressStep: t, progressText: l, getStatus: n } = Et(a);
4947
- return (o, s) => (u(), v("div", {
4958
+ return (i, s) => (u(), v("div", {
4948
4959
  "aria-valuemax": e.steps.length,
4949
4960
  "aria-valuenow": c(t),
4950
4961
  "aria-valuetext": c(l),
4951
4962
  class: "bs-progress-bar",
4952
4963
  role: "progressbar"
4953
4964
  }, [
4954
- (u(!0), v(G, null, ee(e.steps, (i, d) => (u(), v("div", {
4965
+ (u(!0), v(G, null, ee(e.steps, (o, d) => (u(), v("div", {
4955
4966
  class: "bs-step-item",
4956
- "data-status": c(n)(i.status, d),
4967
+ "data-status": c(n)(o.status, d),
4957
4968
  "data-variant": "progress",
4958
- key: i.id || i.label,
4969
+ key: o.id || o.label,
4959
4970
  role: "status"
4960
4971
  }, [
4961
- k("span", null, V(i.label || i) + " : " + V(c(n)(i.status, d) || "not started"), 1)
4972
+ k("span", null, V(o.label || o) + " : " + V(c(n)(o.status, d) || "not started"), 1)
4962
4973
  ], 8, Ul))), 128))
4963
4974
  ], 8, jl));
4964
4975
  }
@@ -5006,33 +5017,33 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5006
5017
  },
5007
5018
  emits: ["update:modelValue"],
5008
5019
  setup(e, { emit: a }) {
5009
- const t = e, [l] = X(), n = p(() => et.concat(t.passAttrs.split(","))), o = p(() => t.inputId || l.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
5010
- return (i, d) => (u(), v("div", z({
5020
+ const t = e, [l] = X(), n = p(() => et.concat(t.passAttrs.split(","))), i = p(() => t.inputId || l.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
5021
+ return (o, d) => (u(), v("div", z({
5011
5022
  class: "bs-boolean",
5012
5023
  "data-component": "bs-radio",
5013
5024
  "data-disabled": e.disabled,
5014
5025
  "data-error": e.error,
5015
5026
  "data-size": e.size
5016
- }, c(K)(i.$attrs, n.value).remaining), [
5027
+ }, c(Y)(o.$attrs, n.value).remaining), [
5017
5028
  k("input", z({
5018
5029
  checked: s.value,
5019
5030
  disabled: e.disabled,
5020
- id: i.$attrs.id || o.value,
5031
+ id: o.$attrs.id || i.value,
5021
5032
  required: e.required,
5022
5033
  type: "radio",
5023
5034
  value: e.value,
5024
5035
  "data-error": e.error
5025
- }, c(K)(i.$attrs, n.value).filtered, {
5026
- onChange: d[0] || (d[0] = (r) => i.$emit("update:modelValue", r.target.value))
5036
+ }, c(Y)(o.$attrs, n.value).filtered, {
5037
+ onChange: d[0] || (d[0] = (r) => o.$emit("update:modelValue", r.target.value))
5027
5038
  }), null, 16, Gl),
5028
- e.label || i.$slots.label ? (u(), O(ae, {
5039
+ e.label || o.$slots.label ? (u(), O(ae, {
5029
5040
  key: 0,
5030
- for: i.$attrs.id || o.value,
5041
+ for: o.$attrs.id || i.value,
5031
5042
  disabled: e.disabled,
5032
5043
  required: e.required
5033
5044
  }, {
5034
5045
  default: E(() => [
5035
- D(i.$slots, "label", {}, () => [
5046
+ D(o.$slots, "label", {}, () => [
5036
5047
  W(V(e.label), 1)
5037
5048
  ])
5038
5049
  ]),
@@ -5054,7 +5065,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5054
5065
  emits: ["update:modelValue"],
5055
5066
  setup(e, { emit: a }) {
5056
5067
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5057
- return (n, o) => (u(), v("select", z({
5068
+ return (n, i) => (u(), v("select", z({
5058
5069
  id: n.$attrs.id || e.inputId,
5059
5070
  class: "bs-select",
5060
5071
  "data-component": "bs-select",
@@ -5063,7 +5074,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5063
5074
  "data-error": e.error,
5064
5075
  value: e.value || e.modelValue
5065
5076
  }, l.value, {
5066
- onChange: o[0] || (o[0] = (s) => n.$emit("update:modelValue", s.target.value))
5077
+ onChange: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
5067
5078
  }), [
5068
5079
  D(n.$slots, "default")
5069
5080
  ], 16, Hl));
@@ -5112,15 +5123,15 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5112
5123
  modelValue: [String, Number]
5113
5124
  },
5114
5125
  setup(e) {
5115
- const a = e, [t, l] = X(2), n = p(() => Na.concat(a.passAttrs.split(","))), o = p(() => {
5126
+ const a = e, [t, l] = X(2), n = p(() => Na.concat(a.passAttrs.split(","))), i = p(() => {
5116
5127
  var r, f;
5117
5128
  return ((f = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
5118
5129
  `)) || a.hints;
5119
- }), s = p(() => a.error && a.errorMsg || a.hint || o.value || void 0), i = p(() => a.inputId || t.value), d = p(() => a.value || a.modelValue);
5120
- return (r, f) => (u(), v("div", z({ "data-component": "bs-select-field" }, c(K)(r.$attrs, n.value).remaining), [
5130
+ }), s = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), d = p(() => a.value || a.modelValue);
5131
+ return (r, f) => (u(), v("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5121
5132
  e.label || r.$slots.label ? (u(), O(ae, {
5122
5133
  key: 0,
5123
- for: r.$attrs.id || i.value,
5134
+ for: r.$attrs.id || o.value,
5124
5135
  disabled: e.disabled,
5125
5136
  required: e.required
5126
5137
  }, {
@@ -5135,11 +5146,11 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5135
5146
  disabled: e.disabled,
5136
5147
  error: e.error,
5137
5148
  "hint-id": c(l),
5138
- "input-id": r.$attrs.id || i.value,
5149
+ "input-id": r.$attrs.id || o.value,
5139
5150
  required: e.required,
5140
5151
  value: d.value,
5141
5152
  "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
5142
- }, c(K)(r.$attrs, n.value).filtered), {
5153
+ }, c(Y)(r.$attrs, n.value).filtered), {
5143
5154
  default: E(() => [
5144
5155
  k("option", {
5145
5156
  selected: !d.value,
@@ -5160,7 +5171,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5160
5171
  "data-disabled": e.disabled,
5161
5172
  error: e.error,
5162
5173
  "error-msg": e.errorMsg,
5163
- hint: e.hint || o.value,
5174
+ hint: e.hint || i.value,
5164
5175
  "hint-id": c(l)
5165
5176
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5166
5177
  ], 16));
@@ -5211,13 +5222,13 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5211
5222
  },
5212
5223
  emits: ["update:modelValue"],
5213
5224
  setup(e, { emit: a }) {
5214
- const t = e, l = a, [n] = X(), o = p(() => et.concat(t.passAttrs.split(","))), s = p(() => t.inputId || n.value), i = p(() => t.checked || t.modelValue);
5225
+ const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = p(() => t.inputId || n.value), o = p(() => t.checked || t.modelValue);
5215
5226
  return (d, r) => (u(), v("div", z({
5216
5227
  class: "bs-boolean",
5217
5228
  "data-component": "bs-switch",
5218
5229
  "data-disabled": e.disabled,
5219
5230
  "data-size": e.size
5220
- }, c(K)(d.$attrs, o.value).remaining), [
5231
+ }, c(Y)(d.$attrs, i.value).remaining), [
5221
5232
  e.label || d.$slots.label ? (u(), O(ae, {
5222
5233
  key: 0,
5223
5234
  for: d.$attrs.id || s.value,
@@ -5238,11 +5249,11 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5238
5249
  "data-size": e.size
5239
5250
  }, [
5240
5251
  k("input", z({
5241
- checked: i.value,
5252
+ checked: o.value,
5242
5253
  disabled: e.disabled,
5243
5254
  id: d.$attrs.id || s.value,
5244
5255
  type: "checkbox"
5245
- }, c(K)(d.$attrs, o.value).filtered, {
5256
+ }, c(Y)(d.$attrs, i.value).filtered, {
5246
5257
  onChange: r[0] || (r[0] = (f) => l("update:modelValue", f.target.checked))
5247
5258
  }), null, 16, Jl),
5248
5259
  k("span", {
@@ -5270,8 +5281,8 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5270
5281
  },
5271
5282
  emits: ["tabClick"],
5272
5283
  setup(e, { emit: a }) {
5273
- const t = e, l = ve(), n = I(), o = p(() => t.activeTabId === l.id), s = p(() => t.panelId || `${l.id}-panel`);
5274
- function i(r) {
5284
+ const t = e, l = ve(), n = I(), i = p(() => t.activeTabId === l.id), s = p(() => t.panelId || `${l.id}-panel`);
5285
+ function o(r) {
5275
5286
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), d());
5276
5287
  }
5277
5288
  function d() {
@@ -5282,7 +5293,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5282
5293
  }
5283
5294
  return (r, f) => (u(), v("div", {
5284
5295
  "aria-controls": s.value,
5285
- "aria-selected": o.value ? "true" : "false",
5296
+ "aria-selected": i.value ? "true" : "false",
5286
5297
  "data-hidden": e.hidden || void 0,
5287
5298
  "data-component": "bs-tab",
5288
5299
  role: "tab",
@@ -5290,7 +5301,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5290
5301
  ref_key: "hostEl",
5291
5302
  ref: n,
5292
5303
  onClick: d,
5293
- onKeydown: i
5304
+ onKeydown: o
5294
5305
  }, [
5295
5306
  D(r.$slots, "default")
5296
5307
  ], 40, eo));
@@ -5306,7 +5317,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5306
5317
  },
5307
5318
  emits: ["tabChange", "update:modelValue"],
5308
5319
  setup(e, { emit: a }) {
5309
- const t = e, l = a, n = I(!1), o = I(!1), s = I([]), i = I(!1), d = I(!1), r = I(), f = I([]), m = I(!1), b = I([]), S = I(), w = I([]), B = I(), h = I(), [$, y] = X(2), g = p(() => t.activeTabId ? b.value.findIndex((C) => C.id === t.activeTabId) : 0), M = p(() => s.value.some((C) => C.id === t.activeTabId)), T = p(() => `${y.value}-options`), P = p(() => `${y.value}-toggle`), R = p(() => {
5320
+ const t = e, l = a, n = I(!1), i = I(!1), s = I([]), o = I(!1), d = I(!1), r = I(), f = I([]), m = I(!1), b = I([]), S = I(), w = I([]), $ = I(), h = I(), [B, y] = X(2), g = p(() => t.activeTabId ? b.value.findIndex((C) => C.id === t.activeTabId) : 0), M = p(() => s.value.some((C) => C.id === t.activeTabId)), T = p(() => `${y.value}-options`), P = p(() => `${y.value}-toggle`), R = p(() => {
5310
5321
  var C;
5311
5322
  return M.value ? (C = b.value[g.value]) == null ? void 0 : C.textContent : "More";
5312
5323
  }), _ = p(() => M.value ? f.value[g.value] - f.value[g.value - 1] + lo + Ue : no + Ue);
@@ -5344,14 +5355,14 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5344
5355
  }
5345
5356
  function ke() {
5346
5357
  var C;
5347
- (C = S.value) == null || C.focus(), i.value = !1;
5358
+ (C = S.value) == null || C.focus(), o.value = !1;
5348
5359
  }
5349
5360
  function Ce() {
5350
- i.value = !i.value, o.value || (o.value = !0);
5361
+ o.value = !o.value, i.value || (i.value = !0);
5351
5362
  }
5352
5363
  function re(C) {
5353
5364
  var N;
5354
- i.value = !1, (N = S.value) == null || N.focus(), ne(C);
5365
+ o.value = !1, (N = S.value) == null || N.focus(), ne(C);
5355
5366
  }
5356
5367
  function xe(C) {
5357
5368
  if (t.withBsTabs)
@@ -5386,15 +5397,15 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5386
5397
  let U = 300, Q = ((oe = (se = w.value) == null ? void 0 : se[g.value]) == null ? void 0 : oe.offsetLeft) || 0, le = me(g.value);
5387
5398
  d.value && M.value && (Q = (it = S.value) == null ? void 0 : it.offsetLeft, le = (rt = S.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - C) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${le / N}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
5388
5399
  }
5389
- function H() {
5400
+ function K() {
5390
5401
  var C, N;
5391
- (N = (C = B.value) == null ? void 0 : C.disconnect) == null || N.call(C), B.value = null;
5402
+ (N = (C = $.value) == null ? void 0 : C.disconnect) == null || N.call(C), $.value = null;
5392
5403
  }
5393
5404
  function Z() {
5394
5405
  const C = Ve(() => {
5395
5406
  h.value = r.value.clientWidth, J();
5396
5407
  }, 25);
5397
- B.value = new ResizeObserver(C), B.value.observe(document.body);
5408
+ $.value = new ResizeObserver(C), $.value.observe(document.body);
5398
5409
  }
5399
5410
  function Te() {
5400
5411
  b.value = Array.from(r.value.children).filter((C) => C.role === "tab");
@@ -5417,17 +5428,17 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5417
5428
  }
5418
5429
  d.value && C.push(r.value.querySelector(".bs-tab-list-toggle")), w.value = C;
5419
5430
  }
5420
- return j(() => t.activeTabId, ye), Y(() => {
5431
+ return j(() => t.activeTabId, ye), H(() => {
5421
5432
  var C;
5422
5433
  try {
5423
5434
  Te(), Lt(), Z(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (C = b.value[g.value]) == null || C.setAttribute("aria-selected", "true");
5424
5435
  } catch (N) {
5425
5436
  console.log("tab error", N);
5426
5437
  }
5427
- }), $e(H), (C, N) => (u(), v("div", {
5438
+ }), Be(K), (C, N) => (u(), v("div", {
5428
5439
  class: "bs-tab-list",
5429
5440
  "data-component": "bs-tab-list",
5430
- id: C.$attrs.id || c($),
5441
+ id: C.$attrs.id || c(B),
5431
5442
  ref_key: "hostEl",
5432
5443
  ref: r,
5433
5444
  role: "tablist",
@@ -5439,7 +5450,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5439
5450
  D(C.$slots, "default"),
5440
5451
  k("button", {
5441
5452
  "aria-controls": c(y),
5442
- "aria-expanded": i.value,
5453
+ "aria-expanded": o.value,
5443
5454
  class: "bs-tab-list-toggle",
5444
5455
  "data-active": M.value || void 0,
5445
5456
  "data-hidden": !d.value,
@@ -5454,14 +5465,14 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5454
5465
  L(Ot, {
5455
5466
  "anchor-id": P.value,
5456
5467
  breakout: "",
5457
- "container-id": C.$attrs.id || c($),
5468
+ "container-id": C.$attrs.id || c(B),
5458
5469
  "helper-description": e.helperDescription || void 0,
5459
5470
  "helper-text": e.helperText,
5460
5471
  id: c(y),
5461
5472
  "options-id": T.value,
5462
5473
  position: "right",
5463
5474
  preloaded: "",
5464
- shown: i.value,
5475
+ shown: o.value,
5465
5476
  width: "content",
5466
5477
  onClose: ke,
5467
5478
  "onUpdate:modelValue": re
@@ -5496,14 +5507,14 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5496
5507
  },
5497
5508
  setup(e) {
5498
5509
  const a = e, t = ve(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
5499
- return (o, s) => (u(), v("section", {
5510
+ return (i, s) => (u(), v("section", {
5500
5511
  "aria-labelledby": e.tabId,
5501
5512
  "data-active": l.value,
5502
5513
  "data-component": "bs-tab-panel",
5503
5514
  id: n.value,
5504
5515
  role: "tabpanel"
5505
5516
  }, [
5506
- D(o.$slots, "default")
5517
+ D(i.$slots, "default")
5507
5518
  ], 8, oo));
5508
5519
  }
5509
5520
  }, io = ["data-error", "id", "rows", "value"], ro = {
@@ -5522,14 +5533,14 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5522
5533
  emits: ["update:modelValue"],
5523
5534
  setup(e, { emit: a }) {
5524
5535
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5525
- return (n, o) => (u(), v("textarea", z({
5536
+ return (n, i) => (u(), v("textarea", z({
5526
5537
  class: "bs-textarea",
5527
5538
  "data-component": "bs-textarea",
5528
5539
  "data-error": e.error,
5529
5540
  id: n.$attrs.id || e.inputId,
5530
5541
  rows: n.$attrs.rows || 6,
5531
5542
  value: e.value || e.modelValue,
5532
- onInput: o[0] || (o[0] = (s) => n.$emit("update:modelValue", s.target.value))
5543
+ onInput: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
5533
5544
  }, l.value), null, 16, io));
5534
5545
  }
5535
5546
  }, oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -5581,15 +5592,15 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5581
5592
  },
5582
5593
  emits: ["update:modelValue"],
5583
5594
  setup(e, { emit: a }) {
5584
- const t = e, [l, n] = X(2), o = p(() => za.concat(t.passAttrs.split(","))), s = p(() => {
5595
+ const t = e, [l, n] = X(2), i = p(() => za.concat(t.passAttrs.split(","))), s = p(() => {
5585
5596
  var f;
5586
5597
  return ((f = t.value || t.modelValue) == null ? void 0 : f.length) || 0;
5587
- }), i = p(() => {
5598
+ }), o = p(() => {
5588
5599
  var f, m;
5589
5600
  return ((m = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : m.call(f, `
5590
5601
  `)) || t.hints;
5591
- }), d = p(() => t.error && t.errorMsg || t.hint || i.value || void 0), r = p(() => t.inputId || l.value);
5592
- return (f, m) => (u(), v("div", z({ "data-component": "bs-textarea-field" }, c(K)(f.$attrs, o.value).remaining), [
5602
+ }), d = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
5603
+ return (f, m) => (u(), v("div", z({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
5593
5604
  e.label || f.$slots.label ? (u(), O(ae, {
5594
5605
  key: 0,
5595
5606
  for: f.$attrs.id || r.value,
@@ -5613,7 +5624,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5613
5624
  rows: e.rows,
5614
5625
  value: e.value || e.modelValue,
5615
5626
  "onUpdate:modelValue": m[0] || (m[0] = (b) => f.$emit("update:modelValue", b))
5616
- }, c(K)(f.$attrs, o.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5627
+ }, c(Y)(f.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5617
5628
  d.value || e.charMax ? (u(), O(ge, {
5618
5629
  key: 1,
5619
5630
  "char-count": s.value,
@@ -5621,7 +5632,7 @@ const jl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Ul = ["data-sta
5621
5632
  "data-disabled": e.disabled,
5622
5633
  error: e.error,
5623
5634
  "error-msg": e.errorMsg,
5624
- hint: e.hint || i.value,
5635
+ hint: e.hint || o.value,
5625
5636
  "hint-id": c(n)
5626
5637
  }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5627
5638
  ], 16));
@@ -5642,8 +5653,8 @@ function uo(e = "") {
5642
5653
  break;
5643
5654
  case "amPm":
5644
5655
  case "amPmNoColon":
5645
- const o = e.split(/(a|p|am|pm)/), s = e.includes("p");
5646
- l = we(o[0].slice(-2)), t = we(o[0].slice(0, -2)), t < 12 && s && (t += 12), t === 12 && !s && (t = 0), t === 24 && (t = 0);
5656
+ const i = e.split(/(a|p|am|pm)/), s = e.includes("p");
5657
+ l = we(i[0].slice(-2)), t = we(i[0].slice(0, -2)), t < 12 && s && (t += 12), t === 12 && !s && (t = 0), t === 24 && (t = 0);
5647
5658
  break;
5648
5659
  }
5649
5660
  return {
@@ -5655,8 +5666,8 @@ function be(e = "") {
5655
5666
  const a = /[^0-9:]/g;
5656
5667
  if (e = e.replaceAll(a, ""), !e)
5657
5668
  return "";
5658
- const [t, l] = e.split(":"), n = we(t), o = we(l), s = n < 12 ? "AM" : "PM";
5659
- return isNaN(n) || isNaN(o) || n > 23 || o > 59 ? "" : `${n % 12 || 12}:${l} ${s}`;
5669
+ const [t, l] = e.split(":"), n = we(t), i = we(l), s = n < 12 ? "AM" : "PM";
5670
+ return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${s}`;
5660
5671
  }
5661
5672
  function co(e = "") {
5662
5673
  const { hours: a, minutes: t } = uo(e);
@@ -5727,9 +5738,9 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5727
5738
  },
5728
5739
  emits: ["update:modelValue"],
5729
5740
  setup(e, { expose: a, emit: t }) {
5730
- const l = e, n = t, o = I(be(l.modelValue)), s = I([]), i = I(""), d = I(!1);
5741
+ const l = e, n = t, i = I(be(l.modelValue)), s = I([]), o = I(""), d = I(!1);
5731
5742
  function r() {
5732
- const $ = [];
5743
+ const B = [];
5733
5744
  let y = !1;
5734
5745
  for (let g = 0; g < 24 && !y; g++)
5735
5746
  for (let M = 0; M < 60; M += l.step) {
@@ -5739,19 +5750,19 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5739
5750
  y = !0;
5740
5751
  break;
5741
5752
  }
5742
- $.push({
5753
+ B.push({
5743
5754
  label: be(T),
5744
5755
  value: T
5745
5756
  });
5746
5757
  }
5747
5758
  }
5748
- return $;
5759
+ return B;
5749
5760
  }
5750
- function f($) {
5751
- return $ ? l.minTime && $ < l.minTime ? He : l.maxTime && $ > l.maxTime ? Ge : l.disabledTimes.includes($) ? We : "" : "";
5761
+ function f(B) {
5762
+ return B ? l.minTime && B < l.minTime ? He : l.maxTime && B > l.maxTime ? Ge : l.disabledTimes.includes(B) ? We : "" : "";
5752
5763
  }
5753
- function m($) {
5754
- switch (f($)) {
5764
+ function m(B) {
5765
+ switch (f(B)) {
5755
5766
  case Ge:
5756
5767
  return bt;
5757
5768
  case He:
@@ -5761,35 +5772,35 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5761
5772
  return "";
5762
5773
  }
5763
5774
  }
5764
- function b($, y) {
5765
- return $ = $.toString().padStart(2, "0"), y = y.toString().padStart(2, "0"), `${$}:${y}`;
5775
+ function b(B, y) {
5776
+ return B = B.toString().padStart(2, "0"), y = y.toString().padStart(2, "0"), `${B}:${y}`;
5766
5777
  }
5767
- function S($) {
5768
- const y = co($);
5769
- y === l.modelValue && (o.value = be(l.modelValue)), B(y);
5778
+ function S(B) {
5779
+ const y = co(B);
5780
+ y === l.modelValue && (i.value = be(l.modelValue)), $(y);
5770
5781
  }
5771
5782
  function w() {
5772
5783
  s.value = r();
5773
5784
  }
5774
- function B($) {
5775
- h($), n("update:modelValue", $);
5785
+ function $(B) {
5786
+ h(B), n("update:modelValue", B);
5776
5787
  }
5777
- function h($) {
5778
- switch (f($)) {
5788
+ function h(B) {
5789
+ switch (f(B)) {
5779
5790
  case Ge:
5780
- i.value = `Time must be before ${be(l.maxTime)}`, d.value = !0;
5791
+ o.value = `Time must be before ${be(l.maxTime)}`, d.value = !0;
5781
5792
  break;
5782
5793
  case He:
5783
- i.value = `Time must be after ${be(l.minTime)}`, d.value = !0;
5794
+ o.value = `Time must be after ${be(l.minTime)}`, d.value = !0;
5784
5795
  break;
5785
5796
  case We:
5786
- i.value = `The following times are disabled: ${l.disabledTimes.map((g) => be(g)).join(", ")}`, d.value = !0;
5797
+ o.value = `The following times are disabled: ${l.disabledTimes.map((g) => be(g)).join(", ")}`, d.value = !0;
5787
5798
  break;
5788
5799
  default:
5789
- i.value = "", d.value = !1;
5800
+ o.value = "", d.value = !1;
5790
5801
  }
5791
5802
  }
5792
- return Y(w), j([
5803
+ return H(w), j([
5793
5804
  () => l.disabledTimes,
5794
5805
  () => l.maxTime,
5795
5806
  () => l.minTime,
@@ -5799,14 +5810,14 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5799
5810
  () => l.maxTime,
5800
5811
  () => l.minTime,
5801
5812
  () => l.modelValue
5802
- ], () => h(l.modelValue)), j(() => l.modelValue, ($) => {
5803
- o.value = l.modelValue ? be($) : "";
5813
+ ], () => h(l.modelValue)), j(() => l.modelValue, (B) => {
5814
+ i.value = l.modelValue ? be(B) : "";
5804
5815
  }), a({
5805
5816
  validationErr: d,
5806
- validationErrMsg: i
5807
- }), ($, y) => (u(), O(At, {
5817
+ validationErrMsg: o
5818
+ }), (B, y) => (u(), O(At, {
5808
5819
  disabled: e.disabled,
5809
- "display-value": o.value,
5820
+ "display-value": i.value,
5810
5821
  "dropdown-position": e.dropdownPosition,
5811
5822
  "dropdown-width": e.dropdownWidth,
5812
5823
  error: e.error || d.value,
@@ -5891,7 +5902,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5891
5902
  },
5892
5903
  emits: ["update:modelValue"],
5893
5904
  setup(e, { expose: a, emit: t }) {
5894
- const l = e, [n, o] = X(2), s = I(null), i = p(() => l.errorMsg || m.value), d = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || d.value && i.value), m = p(() => {
5905
+ const l = e, [n, i] = X(2), s = I(null), o = p(() => l.errorMsg || m.value), d = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || d.value && o.value), m = p(() => {
5895
5906
  var S;
5896
5907
  return (S = s.value) == null ? void 0 : S.validationErrMsg;
5897
5908
  }), b = p(() => {
@@ -5904,7 +5915,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5904
5915
  }), (S, w) => (u(), v("div", z({
5905
5916
  "aria-live": "polite",
5906
5917
  "data-component": "bs-time-picker-field"
5907
- }, c(K)(S.$attrs, c(he)).remaining), [
5918
+ }, c(Y)(S.$attrs, c(he)).remaining), [
5908
5919
  e.label || S.$slots.label ? (u(), O(ae, {
5909
5920
  key: 0,
5910
5921
  for: S.$attrs.id || r.value,
@@ -5928,7 +5939,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5928
5939
  error: d.value,
5929
5940
  "helper-description": e.helperDescription,
5930
5941
  "helper-text": e.helperText,
5931
- "hint-id": c(o),
5942
+ "hint-id": c(i),
5932
5943
  "input-id": S.$attrs.id || r.value,
5933
5944
  "max-time": e.maxTime,
5934
5945
  "min-time": e.minTime,
@@ -5936,13 +5947,13 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5936
5947
  placeholder: e.placeholder,
5937
5948
  required: e.required,
5938
5949
  step: e.step,
5939
- "onUpdate:modelValue": w[0] || (w[0] = (B) => S.$emit("update:modelValue", B))
5940
- }, c(K)(S.$attrs, c(he)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
5950
+ "onUpdate:modelValue": w[0] || (w[0] = ($) => S.$emit("update:modelValue", $))
5951
+ }, c(Y)(S.$attrs, c(he)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
5941
5952
  de(L(ge, {
5942
5953
  error: d.value,
5943
- "error-msg": i.value,
5954
+ "error-msg": o.value,
5944
5955
  hint: e.hint,
5945
- "hint-id": c(o)
5956
+ "hint-id": c(i)
5946
5957
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
5947
5958
  [ue, f.value]
5948
5959
  ])
@@ -5985,11 +5996,11 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5985
5996
  ongoing: Xt,
5986
5997
  paused: Qt,
5987
5998
  warning: It
5988
- }, { progressStep: l, progressText: n, getStatus: o } = Et(a);
5989
- function s(i, d) {
5990
- return i = o(i, d), t[i] || dt;
5999
+ }, { progressStep: l, progressText: n, getStatus: i } = Et(a);
6000
+ function s(o, d) {
6001
+ return o = i(o, d), t[o] || dt;
5991
6002
  }
5992
- return (i, d) => (u(), v("div", {
6003
+ return (o, d) => (u(), v("div", {
5993
6004
  "aria-valuemax": e.steps.length,
5994
6005
  "aria-valuenow": c(l),
5995
6006
  "aria-valuetext": c(n),
@@ -5998,7 +6009,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
5998
6009
  }, [
5999
6010
  (u(!0), v(G, null, ee(e.steps, (r, f) => (u(), v("div", {
6000
6011
  class: "bs-step-item",
6001
- "data-status": c(o)(r.status, f),
6012
+ "data-status": c(i)(r.status, f),
6002
6013
  key: r.id || r.label,
6003
6014
  role: "status"
6004
6015
  }, [
@@ -6008,7 +6019,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
6008
6019
  })),
6009
6020
  k("p", null, [
6010
6021
  W(V(r.label || r) + " ", 1),
6011
- k("span", vo, " : " + V(c(o)(r.status, f) || "not started"), 1)
6022
+ k("span", vo, " : " + V(c(i)(r.status, f) || "not started"), 1)
6012
6023
  ])
6013
6024
  ], 8, ho))), 128))
6014
6025
  ], 8, po));
@@ -6060,15 +6071,15 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
6060
6071
  emits: ["dismiss", "after-enter", "after-leave"],
6061
6072
  setup(e, { emit: a }) {
6062
6073
  const t = e, l = a, { transition: n } = Ee(t);
6063
- let o = null;
6064
- ce("variant", t.variant), ce("handleDismiss", i);
6074
+ let i = null;
6075
+ ce("variant", t.variant), ce("handleDismiss", o);
6065
6076
  const s = fe("stacked", t.stacked);
6066
- function i() {
6067
- o && (clearTimeout(o), o = null), l("dismiss", t.toastId);
6077
+ function o() {
6078
+ i && (clearTimeout(i), i = null), l("dismiss", t.toastId);
6068
6079
  }
6069
6080
  function d() {
6070
- t.duration > 0 && (o = setTimeout(() => {
6071
- i();
6081
+ t.duration > 0 && (i = setTimeout(() => {
6082
+ o();
6072
6083
  }, t.duration)), l("after-enter");
6073
6084
  }
6074
6085
  return (r, f) => (u(), O(De, {
@@ -6096,7 +6107,7 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", fo =
6096
6107
  __name: "BsToastActions",
6097
6108
  setup(e) {
6098
6109
  const a = I(!1);
6099
- Y(() => {
6110
+ H(() => {
6100
6111
  var n;
6101
6112
  const l = yt();
6102
6113
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
@@ -6131,7 +6142,7 @@ function wo(e, a) {
6131
6142
  D(e.$slots, "default")
6132
6143
  ]);
6133
6144
  }
6134
- const ui = /* @__PURE__ */ go(yo, [["render", wo]]), $o = ["data-variant"], ci = {
6145
+ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), Bo = ["data-variant"], ci = {
6135
6146
  __name: "BsToastHeader",
6136
6147
  setup(e) {
6137
6148
  const a = fe("variant"), t = p(() => {
@@ -6154,12 +6165,12 @@ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), $o = ["data-variant"], ci =
6154
6165
  k("h5", null, [
6155
6166
  D(l.$slots, "default")
6156
6167
  ])
6157
- ], 8, $o));
6168
+ ], 8, Bo));
6158
6169
  }
6159
- }, Bo = { class: "bs-toaster" }, fi = {
6170
+ }, $o = { class: "bs-toaster" }, fi = {
6160
6171
  __name: "BsToaster",
6161
6172
  setup(e) {
6162
- return ce("stacked", !0), (a, t) => (u(), v("div", Bo, [
6173
+ return ce("stacked", !0), (a, t) => (u(), v("div", $o, [
6163
6174
  D(a.$slots, "default")
6164
6175
  ]));
6165
6176
  }
@@ -6191,28 +6202,28 @@ const ui = /* @__PURE__ */ go(yo, [["render", wo]]), $o = ["data-variant"], ci =
6191
6202
  },
6192
6203
  setup(e) {
6193
6204
  const a = e, t = I(!1), l = I(!1), n = p(() => {
6194
- let i = "bs-tooltip-text";
6195
- return l.value && (a.position === void 0 || a.position === "top" || a.position === "bottom" ? i += " escaped-x" : a.position === "left" || a.position === "right" ? i += " escaped-y" : i += " escaped"), i;
6205
+ let o = "bs-tooltip-text";
6206
+ return l.value && (a.position === void 0 || a.position === "top" || a.position === "bottom" ? o += " escaped-x" : a.position === "left" || a.position === "right" ? o += " escaped-y" : o += " escaped"), o;
6196
6207
  });
6197
6208
  pe(["Escape"], () => {
6198
6209
  t.value && (t.value = !1, l.value = !0);
6199
6210
  });
6200
- function o() {
6211
+ function i() {
6201
6212
  t.value = !0;
6202
6213
  }
6203
6214
  function s() {
6204
6215
  t.value = !1, l.value = !1;
6205
6216
  }
6206
- return (i, d) => (u(), v("div", {
6217
+ return (o, d) => (u(), v("div", {
6207
6218
  class: "bs-tooltip",
6208
6219
  "data-position": e.position || void 0,
6209
6220
  "data-component": "bs-tooltip",
6210
- onMouseenter: o,
6211
- onFocusin: o,
6221
+ onMouseenter: i,
6222
+ onFocusin: i,
6212
6223
  onMouseleave: s,
6213
6224
  onFocusout: s
6214
6225
  }, [
6215
- D(i.$slots, "default"),
6226
+ D(o.$slots, "default"),
6216
6227
  e.content ? (u(), v("div", {
6217
6228
  key: 0,
6218
6229
  class: ie(n.value),