@wwtdev/bsds-components-vue3 2.14.1 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { computed as f, ref as I, onMounted as H, onUnmounted as Be, shallowRef as Mt, watch as j, defineAsyncComponent as Je, useId as gt, openBlock as u, createElementBlock as b, unref as c, createElementVNode as w, renderSlot as E, createBlock as V, resolveDynamicComponent as te, createCommentVNode as x, createTextVNode as W, toDisplayString as O, createVNode as P, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as D, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as yt, nextTick as Ae, createSlots as Ze, useSlots as St, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as wt, isRef as zt } from "vue";
2
- import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as $e, BsIconCalendar as Bt, BsIconCaretRight as $t, BsIconCaretLeft as It, BsIconSmallCaretRight as Ft, BsIconSmallCaretLeft as Rt, BsIconCaretSort as jt, BsIconSearch as Wt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Gt, BsIconActionEllipsis as Ht, BsIconGraphPieEmpty as dt, BsIconCircleStop as Kt, BsIconCircleCheck as Yt, BsIconCircleX as Zt, BsIconCircleEllipsis as Xt, BsIconCirclePlay as Qt, BsIconCirclePause as Jt, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as _t } from "@wwtdev/bsds-icons-vue3";
3
- import { DatePicker as ea } from "v-calendar";
4
- import { Filler as ta, Chart as je, BarController as aa, BarElement as na, CategoryScale as la, LinearScale as oa, Legend as ia, TimeScale as ra, Tooltip as sa } from "chart.js";
1
+ import { computed as f, ref as w, onMounted as Y, onUnmounted as Be, shallowRef as Nt, watch as U, defineAsyncComponent as Je, useId as gt, openBlock as u, createElementBlock as b, unref as c, createElementVNode as B, renderSlot as V, createBlock as O, resolveDynamicComponent as ae, createCommentVNode as C, createTextVNode as G, toDisplayString as A, createVNode as P, normalizeClass as le, useAttrs as re, mergeProps as z, withCtx as D, Fragment as K, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as yt, nextTick as Ae, createSlots as Ze, useSlots as St, renderList as te, Teleport as zt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as wt, isRef as Ft } from "vue";
2
+ import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as $e, BsIconCalendar as Bt, BsIconCaretRight as $t, BsIconCaretLeft as It, BsIconSmallCaretRight as Rt, BsIconSmallCaretLeft as jt, BsIconSearch as Wt, BsIconCaretSort as Ut, BsIconCaretLeftDouble as Gt, BsIconCaretRightDouble as Ht, BsIconActionEllipsis as Kt, BsIconGraphPieEmpty as dt, BsIconCircleStop as Yt, BsIconCircleCheck as Zt, BsIconCircleX as Xt, BsIconCircleEllipsis as Qt, BsIconCirclePlay as Jt, BsIconCirclePause as _t, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as ea } from "@wwtdev/bsds-icons-vue3";
3
+ import { DatePicker as ta } from "v-calendar";
4
+ import { Filler as aa, Chart as je, BarController as na, BarElement as la, CategoryScale as oa, LinearScale as ia, Legend as ra, TimeScale as sa, Tooltip as da } from "chart.js";
5
5
  import "chartjs-adapter-date-fns";
6
6
  import Ne from "lodash.merge";
7
- import { getSupportedCallingCodes as da, getRegionCodeForCountryCode as ua, parsePhoneNumber as ut } from "awesome-phonenumber";
7
+ import { getSupportedCallingCodes as ua, getRegionCodeForCountryCode as ca, parsePhoneNumber as ut } from "awesome-phonenumber";
8
8
  const ct = {
9
9
  href: "a",
10
10
  linkTo: "a",
@@ -13,7 +13,7 @@ const ct = {
13
13
  type: "button"
14
14
  };
15
15
  function ze(e, a, t = "button") {
16
- const l = ca(e, a, t), n = f(() => {
16
+ const l = fa(e, a, t), n = f(() => {
17
17
  const o = l.value === "button", s = {};
18
18
  return o ? (s.type = a.type || "button", s.autocomplete = "off", e.disabled && (s.disabled = !0)) : e.disabled && (s["aria-disabled"] = "true", s.tabindex = "-1"), s;
19
19
  }), i = f(() => {
@@ -22,11 +22,11 @@ function ze(e, a, t = "button") {
22
22
  }), d = f(() => e.linkTo || e.href);
23
23
  return { rootTag: l, attrsToBind: i, hrefUrl: d };
24
24
  }
25
- function ca(e, a, t) {
26
- const l = Object.keys(ct).find((n) => fa(e, a, n));
27
- return I(ct[l] || t);
28
- }
29
25
  function fa(e, a, t) {
26
+ const l = Object.keys(ct).find((n) => pa(e, a, n));
27
+ return w(ct[l] || t);
28
+ }
29
+ function pa(e, a, t) {
30
30
  return e[t] || a[t];
31
31
  }
32
32
  const Ct = (e, a) => {
@@ -36,7 +36,7 @@ const Ct = (e, a) => {
36
36
  return (i = n.value) == null ? void 0 : i.contains(l.target);
37
37
  }) || a(l);
38
38
  };
39
- H(() => {
39
+ Y(() => {
40
40
  document.addEventListener("mouseup", t);
41
41
  }), Be(() => {
42
42
  document.removeEventListener("mouseup", t);
@@ -73,8 +73,8 @@ const Oe = (e, a) => {
73
73
  return s;
74
74
  });
75
75
  }
76
- const l = Mt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
77
- return l.value = t(n), j(
76
+ const l = Nt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
77
+ return l.value = t(n), U(
78
78
  [
79
79
  () => e[a],
80
80
  () => {
@@ -85,11 +85,11 @@ const Oe = (e, a) => {
85
85
  async ([d, o]) => l.value = t(d || o)
86
86
  ), { icon: l };
87
87
  };
88
- function Z(e = 1) {
88
+ function Q(e = 1) {
89
89
  const a = [];
90
90
  for (let t = 0; t < e; t++)
91
- a.push(I(""));
92
- return H(() => {
91
+ a.push(w(""));
92
+ return Y(() => {
93
93
  a.forEach((t) => t.value = gt());
94
94
  }), a;
95
95
  }
@@ -101,34 +101,34 @@ const me = (e, a, t = void 0) => {
101
101
  return (s = o == null ? void 0 : o.test) == null ? void 0 : s.call(o, n.key);
102
102
  })) && a(n);
103
103
  };
104
- H(() => {
104
+ Y(() => {
105
105
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
106
106
  }), Be(() => {
107
107
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
108
108
  });
109
- }, pa = (e, a, t) => {
109
+ }, ma = (e, a, t) => {
110
110
  let l = null;
111
- H(() => {
111
+ Y(() => {
112
112
  l = new MutationObserver(a), l.observe(e.value, t);
113
113
  }), Be(() => {
114
114
  l.disconnect();
115
115
  });
116
116
  }, Le = (e) => {
117
- const a = I(!1);
118
- return H(() => {
117
+ const a = w(!1);
118
+ return Y(() => {
119
119
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
120
- }), j(() => e.shown, (t) => {
120
+ }), U(() => e.shown, (t) => {
121
121
  a.value = t;
122
- }), j(() => e.enterTrigger, (t) => {
122
+ }), U(() => e.enterTrigger, (t) => {
123
123
  a.value = t;
124
- }), j(() => e.leaveTrigger, (t) => {
124
+ }), U(() => e.leaveTrigger, (t) => {
125
125
  t && (a.value = !1);
126
126
  }), { transition: a };
127
- }, ma = ["id", "data-stacked"], ba = ["data-open"], ha = ["aria-controls", "aria-expanded"], va = {
127
+ }, ba = ["id", "data-stacked"], ha = ["data-open"], va = ["aria-controls", "aria-expanded"], ga = {
128
128
  key: 0,
129
129
  "data-position": "start",
130
130
  style: { display: "inline-flex" }
131
- }, ga = ["id"], ya = ["aria-labelledby", "data-open", "id"], xo = {
131
+ }, ya = ["id"], Sa = ["aria-labelledby", "data-open", "id"], To = {
132
132
  __name: "BsAccordion",
133
133
  props: {
134
134
  controlled: { type: Boolean, default: !1 },
@@ -145,7 +145,7 @@ const me = (e, a, t = void 0) => {
145
145
  },
146
146
  emits: ["toggled"],
147
147
  setup(e, { emit: a }) {
148
- const t = e, l = a, n = I(null), i = I(!1), { icon: d } = Oe(t, "icon"), [o] = Z(), s = f(() => o.value + "-content"), r = f(() => o.value + "-title"), m = f(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), h = f(() => t.controlled ? m.value : i.value);
148
+ const t = e, l = a, n = w(null), i = w(!1), { icon: d } = Oe(t, "icon"), [o] = Q(), s = f(() => o.value + "-content"), r = f(() => o.value + "-title"), m = f(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), h = f(() => t.controlled ? m.value : i.value);
149
149
  function v() {
150
150
  l("toggled", o.value), t.controlled || (i.value = !i.value);
151
151
  }
@@ -157,33 +157,33 @@ const me = (e, a, t = void 0) => {
157
157
  "data-component": "bs-accordion",
158
158
  "data-stacked": e.stacked
159
159
  }, [
160
- w("header", {
160
+ B("header", {
161
161
  part: "header",
162
162
  "data-open": h.value
163
163
  }, [
164
- w("button", {
164
+ B("button", {
165
165
  "aria-controls": s.value,
166
166
  "aria-expanded": h.value,
167
167
  type: "button",
168
168
  onClick: v
169
169
  }, [
170
- e.icon || g.$slots.icon ? (u(), b("span", va, [
171
- E(g.$slots, "icon", {}, () => [
172
- e.icon ? (u(), V(te(c(d) ? c(d) : "span"), { key: 0 })) : x("", !0)
170
+ e.icon || g.$slots.icon ? (u(), b("span", ga, [
171
+ V(g.$slots, "icon", {}, () => [
172
+ e.icon ? (u(), O(ae(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
173
173
  ])
174
- ])) : x("", !0),
175
- w("span", { id: r.value }, [
176
- E(g.$slots, "header", {}, () => [
177
- W(O(e.headerText), 1)
174
+ ])) : C("", !0),
175
+ B("span", { id: r.value }, [
176
+ V(g.$slots, "header", {}, () => [
177
+ G(A(e.headerText), 1)
178
178
  ])
179
- ], 8, ga),
179
+ ], 8, ya),
180
180
  P(c(Me), {
181
181
  size: "md",
182
182
  "data-position": "end"
183
183
  })
184
- ], 8, ha)
185
- ], 8, ba),
186
- w("div", {
184
+ ], 8, va)
185
+ ], 8, ha),
186
+ B("div", {
187
187
  "aria-labelledby": r.value,
188
188
  class: "bs-accordion-content",
189
189
  "data-open": h.value,
@@ -191,13 +191,13 @@ const me = (e, a, t = void 0) => {
191
191
  part: "content",
192
192
  role: "region"
193
193
  }, [
194
- w("div", null, [
195
- E(g.$slots, "default")
194
+ B("div", null, [
195
+ V(g.$slots, "default")
196
196
  ])
197
- ], 8, ya)
198
- ], 8, ma));
197
+ ], 8, Sa)
198
+ ], 8, ba));
199
199
  }
200
- }, Sa = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], wa = {
200
+ }, wa = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Ba = {
201
201
  __name: "BsBadge",
202
202
  props: {
203
203
  /** Pass value to set `data-badge-color`. */
@@ -244,7 +244,7 @@ const me = (e, a, t = void 0) => {
244
244
  }
245
245
  },
246
246
  setup(e) {
247
- const a = e, t = I(null), l = f(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = f(() => {
247
+ const a = e, t = w(null), l = f(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = f(() => {
248
248
  var s, r;
249
249
  const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", d = l.value ? l.value + " " : "";
250
250
  if (!d && !a.dot) return i;
@@ -255,7 +255,7 @@ const me = (e, a, t = void 0) => {
255
255
  ref_key: "hostRef",
256
256
  ref: t,
257
257
  "aria-label": n.value,
258
- class: ie({ "bs-badge": e.dot || l.value }),
258
+ class: le({ "bs-badge": e.dot || l.value }),
259
259
  "data-badge-color": e.color,
260
260
  "data-component": "bs-badge",
261
261
  "data-count": l.value,
@@ -264,31 +264,31 @@ const me = (e, a, t = void 0) => {
264
264
  "data-variant": e.variant,
265
265
  role: "status"
266
266
  }, [
267
- e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : x("", !0)
268
- ], 10, Sa));
267
+ e.variant !== "notext" ? V(i.$slots, "default", { key: 0 }) : C("", !0)
268
+ ], 10, wa));
269
269
  }
270
- }, Ba = {
270
+ }, $a = {
271
271
  key: 0,
272
272
  role: "alert",
273
273
  class: "bs-banner",
274
274
  "data-component": "bs-banner"
275
- }, $a = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, To = {
275
+ }, Ia = { class: "bs-banner-content" }, ka = { class: "bs-banner-warning-icon" }, Ao = {
276
276
  __name: "BsBanner",
277
277
  emits: ["dismiss"],
278
278
  setup(e, { emit: a }) {
279
- const t = a, l = I(!1);
279
+ const t = a, l = w(!1);
280
280
  function n() {
281
281
  l.value = !0, t("dismiss");
282
282
  }
283
- return (i, d) => l.value ? x("", !0) : (u(), b("div", Ba, [
284
- w("div", $a, [
285
- w("div", Ia, [
283
+ return (i, d) => l.value ? C("", !0) : (u(), b("div", $a, [
284
+ B("div", Ia, [
285
+ B("div", ka, [
286
286
  P(c(Xe), { size: "lg" })
287
287
  ]),
288
- w("p", null, [
289
- E(i.$slots, "default")
288
+ B("p", null, [
289
+ V(i.$slots, "default")
290
290
  ]),
291
- w("button", {
291
+ B("button", {
292
292
  type: "button",
293
293
  title: "Close Banner",
294
294
  onClick: n
@@ -298,7 +298,7 @@ const me = (e, a, t = void 0) => {
298
298
  ])
299
299
  ]));
300
300
  }
301
- }, ka = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
301
+ }, Ca = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
302
302
  __name: "BsButton",
303
303
  props: {
304
304
  disabled: {
@@ -330,7 +330,7 @@ const me = (e, a, t = void 0) => {
330
330
  },
331
331
  setup(e) {
332
332
  const a = e, t = re(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: d } = Fe(a);
333
- return (o, s) => (u(), V(te(c(l)), z({
333
+ return (o, s) => (u(), O(ae(c(l)), z({
334
334
  class: "bs-button",
335
335
  "data-component": "bs-button",
336
336
  "data-ghost": e.ghostBtn,
@@ -340,15 +340,15 @@ const me = (e, a, t = void 0) => {
340
340
  ".href": c(i)
341
341
  }, c(n), { onClick: c(d) }), {
342
342
  default: D(() => [
343
- E(o.$slots, "default")
343
+ V(o.$slots, "default")
344
344
  ]),
345
345
  _: 3
346
346
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
347
347
  }
348
- }), Ca = {
348
+ }), xa = {
349
349
  class: "bs-field-details",
350
350
  "data-component": "bs-field-details"
351
- }, xa = ["id", "data-error"], Ta = ["data-error"], ge = {
351
+ }, Ta = ["id", "data-error"], Aa = ["data-error"], ge = {
352
352
  __name: "BsFieldDetails",
353
353
  props: {
354
354
  /** The number of characters that have been entered by the user. */
@@ -369,22 +369,22 @@ const me = (e, a, t = void 0) => {
369
369
  },
370
370
  setup(e) {
371
371
  const a = e, t = f(() => a.error && a.errorMsg || a.hint);
372
- return (l, n) => (u(), b("div", Ca, [
372
+ return (l, n) => (u(), b("div", xa, [
373
373
  t.value ? (u(), b("span", {
374
374
  key: 0,
375
375
  id: e.hintId,
376
376
  class: "bs-hint",
377
377
  "data-error": e.error
378
- }, O(t.value), 9, xa)) : x("", !0),
378
+ }, A(t.value), 9, Ta)) : C("", !0),
379
379
  e.charMax ? (u(), b("span", {
380
380
  key: 1,
381
381
  "aria-description": "character count over character limit for the preceding text field",
382
382
  class: "bs-character-count",
383
383
  "data-error": a.charCount > a.charMax
384
- }, O(a.charCount || "0") + " / " + O(a.charMax), 9, Ta)) : x("", !0)
384
+ }, A(a.charCount || "0") + " / " + A(a.charMax), 9, Aa)) : C("", !0)
385
385
  ]));
386
386
  }
387
- }, Aa = ["data-disabled", "for"], ae = {
387
+ }, Oa = ["data-disabled", "for"], ne = {
388
388
  __name: "BsLabel",
389
389
  props: {
390
390
  disabled: { type: Boolean, default: !1 },
@@ -394,24 +394,24 @@ const me = (e, a, t = void 0) => {
394
394
  },
395
395
  setup(e) {
396
396
  return (a, t) => (u(), b("label", {
397
- class: ie(["bs-label", e.hide ? "visually-hidden" : ""]),
397
+ class: le(["bs-label", e.hide ? "visually-hidden" : ""]),
398
398
  "data-component": "bs-label",
399
399
  "data-disabled": e.disabled,
400
400
  for: e.for
401
401
  }, [
402
- w("span", null, [
403
- E(a.$slots, "default")
402
+ B("span", null, [
403
+ V(a.$slots, "default")
404
404
  ]),
405
- e.required ? (u(), b(G, { key: 0 }, [
406
- t[0] || (t[0] = w("span", {
405
+ e.required ? (u(), b(K, { key: 0 }, [
406
+ t[0] || (t[0] = B("span", {
407
407
  "data-required": "true",
408
408
  "aria-hidden": "true"
409
409
  }, " *", -1)),
410
- t[1] || (t[1] = w("span", { class: "visually-hidden" }, "required", -1))
411
- ], 64)) : x("", !0)
412
- ], 10, Aa));
410
+ t[1] || (t[1] = B("span", { class: "visually-hidden" }, "required", -1))
411
+ ], 64)) : C("", !0)
412
+ ], 10, Oa));
413
413
  }
414
- }, Oa = ["data-error", "id", "value"], Ie = {
414
+ }, Va = ["data-error", "id", "value"], Ie = {
415
415
  __name: "BsInput",
416
416
  props: {
417
417
  error: {
@@ -438,9 +438,9 @@ const me = (e, a, t = void 0) => {
438
438
  id: o.$attrs.id || e.inputId,
439
439
  value: e.value || e.modelValue,
440
440
  onInput: d
441
- }, i.value), null, 16, Oa));
441
+ }, i.value), null, 16, Va));
442
442
  }
443
- }, Va = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
443
+ }, Ea = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
444
444
  __name: "BsInputAddon",
445
445
  props: {
446
446
  autopad: { type: Boolean, default: !1 },
@@ -461,10 +461,10 @@ const me = (e, a, t = void 0) => {
461
461
  "data-variant": e.variant,
462
462
  "data-multifocus": e.multifocus
463
463
  }, [
464
- E(a.$slots, "default")
465
- ], 8, Va));
464
+ V(a.$slots, "default")
465
+ ], 8, Ea));
466
466
  }
467
- }, Ea = {
467
+ }, La = {
468
468
  __name: "BsInputDateSingle",
469
469
  props: {
470
470
  disabled: {
@@ -497,7 +497,7 @@ const me = (e, a, t = void 0) => {
497
497
  }
498
498
  },
499
499
  setup(e) {
500
- return (a, t) => (u(), V(De, {
500
+ return (a, t) => (u(), O(De, {
501
501
  disabled: e.disabled,
502
502
  error: e.error
503
503
  }, {
@@ -525,7 +525,7 @@ function Ve(e, a, t) {
525
525
  }, a);
526
526
  };
527
527
  }
528
- const La = ["disabled", "id", "model-value"], Da = ["disabled", "id", "model-value"], Pa = {
528
+ const Da = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-value"], qa = {
529
529
  __name: "BsInputDateRange",
530
530
  props: {
531
531
  disabled: {
@@ -562,7 +562,7 @@ const La = ["disabled", "id", "model-value"], Da = ["disabled", "id", "model-val
562
562
  },
563
563
  emits: ["ui-focusin", "ui-input"],
564
564
  setup(e, { emit: a }) {
565
- const t = a, l = I(null), n = I(null);
565
+ const t = a, l = w(null), n = w(null);
566
566
  function i(r) {
567
567
  const m = new Event("change", { bubbles: !0, cancelable: !0 });
568
568
  r.dispatchEvent(m);
@@ -575,7 +575,7 @@ const La = ["disabled", "id", "model-value"], Da = ["disabled", "id", "model-val
575
575
  function s(r) {
576
576
  t("ui-input"), o(r);
577
577
  }
578
- return (r, m) => (u(), V(De, {
578
+ return (r, m) => (u(), O(De, {
579
579
  disabled: e.disabled,
580
580
  error: e.error
581
581
  }, {
@@ -592,28 +592,28 @@ const La = ["disabled", "id", "model-value"], Da = ["disabled", "id", "model-val
592
592
  onInput: s,
593
593
  onChange: d
594
594
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
595
- w("input", z({
595
+ B("input", z({
596
596
  ref_key: "hiddenStart",
597
597
  ref: l,
598
598
  type: "hidden",
599
599
  disabled: e.disabled,
600
600
  id: `${e.inputId}-start`,
601
601
  "model-value": e.inputValue.start
602
- }, Ye(e.listeners.start, !0)), null, 16, La),
603
- w("input", z({
602
+ }, Ye(e.listeners.start, !0)), null, 16, Da),
603
+ B("input", z({
604
604
  ref_key: "hiddenEnd",
605
605
  ref: n,
606
606
  type: "hidden",
607
607
  disabled: e.disabled,
608
608
  id: `${e.inputId}-end`,
609
609
  "model-value": e.inputValue.end
610
- }, Ye(e.listeners.end, !0)), null, 16, Da)
610
+ }, Ye(e.listeners.end, !0)), null, 16, Pa)
611
611
  ]),
612
612
  _: 1
613
613
  }, 8, ["disabled", "error"]));
614
614
  }
615
615
  };
616
- function qa(e) {
616
+ function Ma(e) {
617
617
  function a(n) {
618
618
  var i, d;
619
619
  return ((d = (i = n == null ? void 0 : n.classList) == null ? void 0 : i.contains) == null ? void 0 : d.call(i, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
@@ -624,7 +624,7 @@ function qa(e) {
624
624
  function l(n) {
625
625
  a(n == null ? void 0 : n.target) && t(n == null ? void 0 : n.key) && n.preventDefault();
626
626
  }
627
- H(() => {
627
+ Y(() => {
628
628
  var n, i;
629
629
  (i = (n = e.value) == null ? void 0 : n.addEventListener) == null || i.call(n, "keydown", l);
630
630
  }), _e(() => {
@@ -638,7 +638,7 @@ function Qe(e, a, t = []) {
638
638
  l = window.matchMedia(e), l.addEventListener("change", a), a(l);
639
639
  }), _e(() => {
640
640
  l.removeEventListener("change", a), l = null;
641
- }), t.length && j(t, () => a(l));
641
+ }), t.length && U(t, () => a(l));
642
642
  }
643
643
  const et = [
644
644
  "aria-describedby",
@@ -647,7 +647,7 @@ const et = [
647
647
  "form",
648
648
  "id",
649
649
  "name"
650
- ], Ma = [
650
+ ], Na = [
651
651
  "aria-describedby",
652
652
  "aria-label",
653
653
  "autocomplete",
@@ -658,7 +658,7 @@ const et = [
658
658
  "multiple",
659
659
  "name",
660
660
  "size"
661
- ], Na = [
661
+ ], za = [
662
662
  "aria-describedby",
663
663
  "aria-label",
664
664
  "autocapitalize",
@@ -699,13 +699,13 @@ const et = [
699
699
  "size",
700
700
  "step"
701
701
  ];
702
- function Y(e, a = []) {
702
+ function X(e, a = []) {
703
703
  const t = {}, l = {};
704
704
  return Object.keys(e).forEach((n) => {
705
705
  a.includes(n) ? t[n] = e[n] : l[n] = e[n];
706
706
  }), { filtered: t, remaining: l };
707
707
  }
708
- const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
708
+ const Fa = ["data-range"], pt = "(min-width: 752px)", Oo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
709
709
  __name: "BsCalendar",
710
710
  props: {
711
711
  disabled: {
@@ -772,7 +772,7 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
772
772
  },
773
773
  emits: ["update:modelValue"],
774
774
  setup(e, { emit: a }) {
775
- const t = e, l = I(null), n = I(1), i = I(null), [d, o] = Z(2), s = I(1), { filtered: r, remaining: m } = Y(re(), [
775
+ const t = e, l = w(null), n = w(1), i = w(null), [d, o] = Q(2), s = w(1), { filtered: r, remaining: m } = X(re(), [
776
776
  "attributes",
777
777
  "data-cy",
778
778
  "expanded",
@@ -781,22 +781,22 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
781
781
  "masks",
782
782
  "rows",
783
783
  "trim-weeks"
784
- ]), h = f(() => t.inputId || d.value), v = f(() => ({ range: t.isRange })), g = f(() => !!(t.error && t.errorMsg || t.hint)), y = f(() => t.step), B = f(() => t.variant);
785
- qa(i), Qe(
784
+ ]), h = f(() => t.inputId || d.value), v = f(() => ({ range: t.isRange })), g = f(() => !!(t.error && t.errorMsg || t.hint)), y = f(() => t.step), I = f(() => t.variant);
785
+ Ma(i), Qe(
786
786
  pt,
787
- ($) => n.value = $ != null && $.matches && B.value == "2-col" ? 2 : 1,
788
- [B]
787
+ ($) => n.value = $ != null && $.matches && I.value == "2-col" ? 2 : 1,
788
+ [I]
789
789
  ), Qe(
790
790
  pt,
791
- ($) => s.value = $ != null && $.matches && B.value == "2-col" ? y.value : 1,
792
- [y, B]
793
- ), H(() => {
794
- t.inputMode || C();
795
- }), j(() => {
791
+ ($) => s.value = $ != null && $.matches && I.value == "2-col" ? y.value : 1,
792
+ [y, I]
793
+ ), Y(() => {
794
+ t.inputMode || k();
795
+ }), U(() => {
796
796
  var $, M;
797
797
  return (M = ($ = l.value) == null ? void 0 : $.popoverRef) == null ? void 0 : M.isVisible;
798
798
  }, ($) => {
799
- $ && Ae(C);
799
+ $ && Ae(k);
800
800
  });
801
801
  function p($) {
802
802
  return t.isRange && $.start && $.end ? `${$.start} to ${$.end}` : !t.isRange && $ ? $ : "";
@@ -804,7 +804,7 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
804
804
  function S($) {
805
805
  !t.isRange || i.value.contains($.relatedTarget) || l.value.hidePopover();
806
806
  }
807
- function C() {
807
+ function k() {
808
808
  const $ = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
809
809
  $ && $.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
810
810
  }
@@ -816,20 +816,20 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
816
816
  "data-range": e.isRange,
817
817
  onFocusout: S
818
818
  }, c(m)), [
819
- e.label || $.$slots.label ? (u(), V(ae, {
819
+ e.label || $.$slots.label ? (u(), O(ne, {
820
820
  key: 0,
821
821
  for: h.value,
822
822
  disabled: e.disabled,
823
823
  required: e.required
824
824
  }, {
825
825
  default: D(() => [
826
- E($.$slots, "label", {}, () => [
827
- W(O(e.label), 1)
826
+ V($.$slots, "label", {}, () => [
827
+ G(A(e.label), 1)
828
828
  ])
829
829
  ]),
830
830
  _: 3
831
- }, 8, ["for", "disabled", "required"])) : x("", !0),
832
- P(c(ea), z({
831
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
832
+ P(c(ta), z({
833
833
  ref_key: "calendar",
834
834
  ref: l,
835
835
  columns: n.value,
@@ -842,30 +842,30 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
842
842
  popover: { visibility: "focus" },
843
843
  rows: 1,
844
844
  step: s.value,
845
- "onUpdate:modelValue": M[0] || (M[0] = (k) => $.$emit("update:modelValue", k))
845
+ "onUpdate:modelValue": M[0] || (M[0] = (T) => $.$emit("update:modelValue", T))
846
846
  }, c(r)), Ze({ _: 2 }, [
847
847
  e.inputMode ? {
848
848
  name: "default",
849
- fn: D(({ inputValue: k, inputEvents: A, showPopover: F }) => [
850
- e.isRange ? (u(), V(Pa, {
849
+ fn: D(({ inputValue: T, inputEvents: E, showPopover: R }) => [
850
+ e.isRange ? (u(), O(qa, {
851
851
  key: 1,
852
852
  disabled: e.disabled,
853
853
  error: e.error,
854
854
  "input-id": h.value,
855
- "input-value": k,
856
- "input-value-fmt": p(k),
857
- listeners: A,
855
+ "input-value": T,
856
+ "input-value-fmt": p(T),
857
+ listeners: E,
858
858
  placeholder: e.placeholder,
859
859
  required: e.required,
860
- onUiFocusin: F,
861
- onUiInput: F
862
- }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), V(Ea, {
860
+ onUiFocusin: R,
861
+ onUiInput: R
862
+ }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), O(La, {
863
863
  key: 0,
864
864
  disabled: e.disabled,
865
865
  error: e.error,
866
866
  "input-id": h.value,
867
- listeners: A,
868
- "model-value": p(k),
867
+ listeners: E,
868
+ "model-value": p(T),
869
869
  placeholder: e.placeholder,
870
870
  required: e.required
871
871
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
@@ -873,19 +873,19 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
873
873
  key: "0"
874
874
  } : void 0
875
875
  ]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
876
- g.value ? (u(), V(ge, {
876
+ g.value ? (u(), O(ge, {
877
877
  key: 1,
878
878
  error: e.error,
879
879
  "error-msg": e.errorMsg,
880
880
  hint: e.hint,
881
881
  "hint-id": c(o)
882
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
883
- ], 16, za));
882
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
883
+ ], 16, Fa));
884
884
  }
885
- }), Fa = { key: 0 }, Ra = {
885
+ }), Ra = { key: 0 }, ja = {
886
886
  class: "bs-circle-button-icon",
887
887
  role: "presentation"
888
- }, ja = { key: 1 }, xt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
888
+ }, Wa = { key: 1 }, xt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
889
889
  __name: "BsCircleButton",
890
890
  props: {
891
891
  disabled: {
@@ -942,8 +942,8 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
942
942
  return {
943
943
  icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${p}` : p)
944
944
  };
945
- }), h = f(() => a.textBtn || !!(l != null && l.default)), v = f(() => h.value && a.iconPosition !== "left"), g = f(() => h.value && a.iconPosition === "left"), y = f(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Oe(m, "icon");
946
- return (p, S) => (u(), V(te(c(n)), z({
945
+ }), h = f(() => a.textBtn || !!(l != null && l.default)), v = f(() => h.value && a.iconPosition !== "left"), g = f(() => h.value && a.iconPosition === "left"), y = f(() => a.variant ? `color-${a.variant}` : void 0), { icon: I } = Oe(m, "icon");
946
+ return (p, S) => (u(), O(ae(c(n)), z({
947
947
  class: "bs-circle-button",
948
948
  "data-disabled": e.disabled,
949
949
  "data-direction": r.value,
@@ -955,26 +955,26 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
955
955
  ".href": c(d)
956
956
  }, { ...c(i), ...s.value }, { onClick: c(o) }), {
957
957
  default: D(() => [
958
- v.value ? (u(), b("span", Fa, [
959
- E(p.$slots, "default", {}, () => [
960
- W(O(e.label), 1)
958
+ v.value ? (u(), b("span", Ra, [
959
+ V(p.$slots, "default", {}, () => [
960
+ G(A(e.label), 1)
961
961
  ])
962
- ])) : x("", !0),
963
- w("span", Ra, [
964
- E(p.$slots, "icon", {}, () => [
965
- (u(), V(te(c(B))))
962
+ ])) : C("", !0),
963
+ B("span", ja, [
964
+ V(p.$slots, "icon", {}, () => [
965
+ (u(), O(ae(c(I))))
966
966
  ])
967
967
  ]),
968
- g.value ? (u(), b("span", ja, [
969
- E(p.$slots, "default", {}, () => [
970
- W(O(e.label), 1)
968
+ g.value ? (u(), b("span", Wa, [
969
+ V(p.$slots, "default", {}, () => [
970
+ G(A(e.label), 1)
971
971
  ])
972
- ])) : x("", !0)
972
+ ])) : C("", !0)
973
973
  ]),
974
974
  _: 3
975
975
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
976
976
  }
977
- }), Oo = {
977
+ }), Vo = {
978
978
  __name: "BsCaretButton",
979
979
  props: {
980
980
  direction: {
@@ -1008,7 +1008,7 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1008
1008
  }
1009
1009
  },
1010
1010
  setup(e) {
1011
- return (a, t) => (u(), V(xt, {
1011
+ return (a, t) => (u(), O(xt, {
1012
1012
  disabled: e.disabled,
1013
1013
  "ghost-btn": e.ghostBtn,
1014
1014
  "hover-effect": e.hoverEffect,
@@ -1020,12 +1020,12 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1020
1020
  "text-btn": !1
1021
1021
  }, {
1022
1022
  icon: D(() => [
1023
- e.direction == "right" ? (u(), V(c($t), { key: 0 })) : (u(), V(c(It), { key: 1 }))
1023
+ e.direction == "right" ? (u(), O(c($t), { key: 0 })) : (u(), O(c(It), { key: 1 }))
1024
1024
  ]),
1025
1025
  _: 1
1026
1026
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
1027
1027
  }
1028
- }, Vo = {
1028
+ }, Eo = {
1029
1029
  __name: "BsCaretTextButton",
1030
1030
  props: {
1031
1031
  direction: {
@@ -1064,7 +1064,7 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1064
1064
  }
1065
1065
  },
1066
1066
  setup(e) {
1067
- return (a, t) => (u(), V(xt, {
1067
+ return (a, t) => (u(), O(xt, {
1068
1068
  disabled: e.disabled,
1069
1069
  "ghost-btn": e.ghostBtn,
1070
1070
  "hover-effect": e.hoverEffect,
@@ -1077,20 +1077,20 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1077
1077
  variant: e.variant
1078
1078
  }, {
1079
1079
  icon: D(() => [
1080
- e.direction == "right" ? (u(), V(c(Ft), { key: 0 })) : (u(), V(c(Rt), { key: 1 }))
1080
+ e.direction == "right" ? (u(), O(c(Rt), { key: 0 })) : (u(), O(c(jt), { key: 1 }))
1081
1081
  ]),
1082
1082
  default: D(() => [
1083
- E(a.$slots, "default", {}, () => [
1084
- W(O(e.label), 1)
1083
+ V(a.$slots, "default", {}, () => [
1084
+ G(A(e.label), 1)
1085
1085
  ])
1086
1086
  ]),
1087
1087
  _: 3
1088
1088
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size", "variant"]));
1089
1089
  }
1090
- }, Wa = {
1090
+ }, Ua = {
1091
1091
  class: "bs-chart-table",
1092
1092
  "data-component": "bs-chart-table"
1093
- }, Ua = ["summary"], Ga = ["colspan"], Ha = { scope: "col" }, Ka = { scope: "row" }, Ya = {
1093
+ }, Ga = ["summary"], Ha = ["colspan"], Ka = { scope: "col" }, Ya = { scope: "row" }, Za = {
1094
1094
  __name: "BsChartTable",
1095
1095
  props: {
1096
1096
  chartType: {
@@ -1124,7 +1124,7 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1124
1124
  }
1125
1125
  },
1126
1126
  setup(e) {
1127
- const a = e, t = I(!1), l = (m) => {
1127
+ const a = e, t = w(!1), l = (m) => {
1128
1128
  const h = new Date(m), v = h.toTimeString().split(" ")[0], g = h.toDateString().split(" ").slice(1, 3).join(" ");
1129
1129
  return `${v} (${g})`;
1130
1130
  }, n = f(() => {
@@ -1137,8 +1137,8 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1137
1137
  const v = h.label;
1138
1138
  let g = [];
1139
1139
  if (h.data.some((y) => (y == null ? void 0 : y.x) && (y == null ? void 0 : y.y))) {
1140
- const y = h.data.reduce((B, p) => (B[p.x] = p.y, B), {});
1141
- g = a.dataIdxLabels.map((B) => ({ value: y[B] ?? null }));
1140
+ const y = h.data.reduce((I, p) => (I[p.x] = p.y, I), {});
1141
+ g = a.dataIdxLabels.map((I) => ({ value: y[I] ?? null }));
1142
1142
  } else
1143
1143
  g = h.data.map((y) => ({ value: y }));
1144
1144
  return { rowLabel: v, dataCells: g };
@@ -1149,16 +1149,16 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1149
1149
  }
1150
1150
  function d(m) {
1151
1151
  try {
1152
- const h = m.reduce((y, B) => {
1153
- const p = B.data.map((S) => S == null ? void 0 : S.x);
1152
+ const h = m.reduce((y, I) => {
1153
+ const p = I.data.map((S) => S == null ? void 0 : S.x);
1154
1154
  return [...y, ...p];
1155
1155
  }, []), v = Array.from(new Set(h));
1156
- return (a.xAxisType === "time" || a.xAxisType === "linear") && v.sort((y, B) => (typeof y == "string" && typeof B == "string" && (y = y.toLowerCase(), B = B.toLowerCase()), y < B ? -1 : y > B ? 1 : 0)), v.map((y) => {
1157
- const B = { rowLabel: y }, p = [];
1156
+ return (a.xAxisType === "time" || a.xAxisType === "linear") && v.sort((y, I) => (typeof y == "string" && typeof I == "string" && (y = y.toLowerCase(), I = I.toLowerCase()), y < I ? -1 : y > I ? 1 : 0)), v.map((y) => {
1157
+ const I = { rowLabel: y }, p = [];
1158
1158
  return m.forEach((S) => {
1159
- const C = { datasetLabel: S.label }, $ = S.data.find((M) => M.x === y);
1160
- C.value = $ ? $.y : null, p.push(C);
1161
- }), B.dataCells = p, a.xAxisType === "time" && (B.rowLabelFmt = l(y)), B;
1159
+ const k = { datasetLabel: S.label }, $ = S.data.find((M) => M.x === y);
1160
+ k.value = $ ? $.y : null, p.push(k);
1161
+ }), I.dataCells = p, a.xAxisType === "time" && (I.rowLabelFmt = l(y)), I;
1162
1162
  });
1163
1163
  } catch {
1164
1164
  return [];
@@ -1174,69 +1174,69 @@ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Objec
1174
1174
  var m;
1175
1175
  return t.value && !!((m = o.value) != null && m.length);
1176
1176
  });
1177
- return H(() => {
1177
+ return Y(() => {
1178
1178
  t.value = !0;
1179
- }), (m, h) => (u(), b("div", Wa, [
1179
+ }), (m, h) => (u(), b("div", Ua, [
1180
1180
  r.value ? (u(), b("table", {
1181
1181
  key: 0,
1182
1182
  summary: s.value.title
1183
1183
  }, [
1184
- w("thead", null, [
1185
- w("tr", null, [
1186
- w("th", {
1184
+ B("thead", null, [
1185
+ B("tr", null, [
1186
+ B("th", {
1187
1187
  colspan: s.value.colspan
1188
- }, O(s.value.title), 9, Ga)
1188
+ }, A(s.value.title), 9, Ha)
1189
1189
  ]),
1190
- w("tr", null, [
1191
- w("th", Ha, O(s.value.colHeadingFirst), 1),
1192
- (u(!0), b(G, null, ee(s.value.colHeadings, (v) => (u(), b("th", {
1190
+ B("tr", null, [
1191
+ B("th", Ka, A(s.value.colHeadingFirst), 1),
1192
+ (u(!0), b(K, null, te(s.value.colHeadings, (v) => (u(), b("th", {
1193
1193
  key: v,
1194
1194
  scope: "col"
1195
- }, O(v), 1))), 128))
1195
+ }, A(v), 1))), 128))
1196
1196
  ])
1197
1197
  ]),
1198
- w("tbody", null, [
1199
- (u(!0), b(G, null, ee(s.value.rows, (v) => (u(), b("tr", {
1198
+ B("tbody", null, [
1199
+ (u(!0), b(K, null, te(s.value.rows, (v) => (u(), b("tr", {
1200
1200
  key: v.rowLabelFmt || v.rowLabel
1201
1201
  }, [
1202
- w("th", Ka, O(v.rowLabelFmt || v.rowLabel), 1),
1203
- (u(!0), b(G, null, ee(v.dataCells, (g) => (u(), b("td", {
1202
+ B("th", Ya, A(v.rowLabelFmt || v.rowLabel), 1),
1203
+ (u(!0), b(K, null, te(v.dataCells, (g) => (u(), b("td", {
1204
1204
  key: `${v.rowLabelFmt || v.rowLabel}${g.datasetLabel}${g.value}`
1205
- }, O(g.value), 1))), 128))
1205
+ }, A(g.value), 1))), 128))
1206
1206
  ]))), 128))
1207
1207
  ])
1208
- ], 8, Ua)) : x("", !0)
1208
+ ], 8, Ga)) : C("", !0)
1209
1209
  ]));
1210
1210
  }
1211
- }, Ee = 16, Za = 20;
1212
- function Xa(e, a) {
1213
- const t = I(null), l = I(!1), n = I(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Za };
1211
+ }, Ee = 16, Xa = 20;
1212
+ function Qa(e, a) {
1213
+ const t = w(null), l = w(!1), n = w(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Xa };
1214
1214
  let s, r;
1215
1215
  function m(p, S) {
1216
- let C;
1216
+ let k;
1217
1217
  switch (p) {
1218
1218
  case "bar":
1219
- C = "setBarChartConfigs";
1219
+ k = "setBarChartConfigs";
1220
1220
  break;
1221
1221
  case "line":
1222
- C = "setLineChartConfigs";
1222
+ k = "setLineChartConfigs";
1223
1223
  break;
1224
1224
  default:
1225
1225
  throw new Error(`Unsupported chart type: ${p}`);
1226
1226
  }
1227
- return new an().setCommonConfigs(S).setCustomOptions(S)[C](S).setPlugins([Qa(n), ta]).build();
1227
+ return new nn().setCommonConfigs(S).setCustomOptions(S)[k](S).setPlugins([Ja(n), aa]).build();
1228
1228
  }
1229
1229
  function h(p) {
1230
1230
  p.preventDefault(), p.stopImmediatePropagation();
1231
1231
  const S = p.target.closest("li");
1232
1232
  if (S && s) {
1233
- const { labelIndex: C, datasetIndex: $ } = S.dataset;
1234
- s.setDatasetVisibility($, !s.isDatasetVisible($)), s.update(), p.preventDefault(), p.stopImmediatePropagation(), v($, C);
1233
+ const { labelIndex: k, datasetIndex: $ } = S.dataset;
1234
+ s.setDatasetVisibility($, !s.isDatasetVisible($)), s.update(), p.preventDefault(), p.stopImmediatePropagation(), v($, k);
1235
1235
  }
1236
1236
  }
1237
1237
  function v(p, S) {
1238
1238
  var M;
1239
- const C = `[data-dataset-index="${p}"][data-label-index="${S}"]`, $ = n.value.querySelector(C);
1239
+ const k = `[data-dataset-index="${p}"][data-label-index="${S}"]`, $ = n.value.querySelector(k);
1240
1240
  (M = $ == null ? void 0 : $.focus) == null || M.call($);
1241
1241
  }
1242
1242
  function g(...p) {
@@ -1244,14 +1244,14 @@ function Xa(e, a) {
1244
1244
  }
1245
1245
  const y = Ve(function(p) {
1246
1246
  r && (r.updateOptions(p), s.options = r.options, s.update());
1247
- }, 100), B = Ve(function(p) {
1247
+ }, 100), I = Ve(function(p) {
1248
1248
  r && (r.updateData(p), s.data = r.data, s.update());
1249
1249
  }, 100);
1250
1250
  return Qe(
1251
1251
  i,
1252
1252
  (p) => l.value = p == null ? void 0 : p.matches,
1253
1253
  [l]
1254
- ), H(() => {
1254
+ ), Y(() => {
1255
1255
  var p;
1256
1256
  try {
1257
1257
  r = m(e, a), (p = n.value) == null || p.addEventListener("click", h);
@@ -1261,7 +1261,7 @@ function Xa(e, a) {
1261
1261
  }), me([" ", "Enter"], h, n), _e(() => {
1262
1262
  var p;
1263
1263
  (p = n.value) == null || p.removeEventListener("click", h), s == null || s.destroy();
1264
- }), j([
1264
+ }), U([
1265
1265
  () => a.customOptions,
1266
1266
  () => a.showTooltips,
1267
1267
  () => a.showXGrid,
@@ -1271,19 +1271,19 @@ function Xa(e, a) {
1271
1271
  () => a.yLabel,
1272
1272
  () => a.yMin,
1273
1273
  () => a.yMax
1274
- ], () => y(a)), j(
1274
+ ], () => y(a)), U(
1275
1275
  l,
1276
1276
  (p) => y(Ne(
1277
1277
  {},
1278
1278
  a,
1279
1279
  p ? o : d
1280
1280
  ))
1281
- ), j(
1281
+ ), U(
1282
1282
  [
1283
1283
  () => a.data,
1284
1284
  () => a.dataIdxLabels
1285
1285
  ],
1286
- () => B(a),
1286
+ () => I(a),
1287
1287
  { deep: !0 }
1288
1288
  ), {
1289
1289
  canvasRef: t,
@@ -1291,7 +1291,7 @@ function Xa(e, a) {
1291
1291
  registerChart: g
1292
1292
  };
1293
1293
  }
1294
- const Qa = (e) => ({
1294
+ const Ja = (e) => ({
1295
1295
  id: "htmlLegend",
1296
1296
  afterUpdate(a) {
1297
1297
  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) => {
@@ -1357,10 +1357,10 @@ function tt(e, a = 1) {
1357
1357
  ], l = t[e % t.length], n = Math.floor(e / t.length) + a;
1358
1358
  return `rgba(${l.toString()}, ${1 / n})`;
1359
1359
  }
1360
- function Ja(e) {
1360
+ function _a(e) {
1361
1361
  return tt(e);
1362
1362
  }
1363
- function _a(e) {
1363
+ function en(e) {
1364
1364
  return {
1365
1365
  maintainAspectRatio: !1,
1366
1366
  plugins: {
@@ -1467,7 +1467,7 @@ class Tt {
1467
1467
  return a;
1468
1468
  }
1469
1469
  }
1470
- class en extends Tt {
1470
+ class tn extends Tt {
1471
1471
  constructor({ data: a, options: t, plugins: l }) {
1472
1472
  super({ type: "bar", data: a, options: t, plugins: l });
1473
1473
  }
@@ -1491,7 +1491,7 @@ class en extends Tt {
1491
1491
  this.options = n;
1492
1492
  }
1493
1493
  }
1494
- class tn extends Tt {
1494
+ class an extends Tt {
1495
1495
  constructor({ data: a, options: t, plugins: l }) {
1496
1496
  super({ type: "line", data: a, options: t, plugins: l });
1497
1497
  }
@@ -1499,7 +1499,7 @@ class tn extends Tt {
1499
1499
  return a.map((t, l) => ({
1500
1500
  ...t,
1501
1501
  backgroundColor: tt(l, 2),
1502
- borderColor: Ja(l),
1502
+ borderColor: _a(l),
1503
1503
  borderWidth: 4
1504
1504
  }));
1505
1505
  }
@@ -1516,7 +1516,7 @@ class tn extends Tt {
1516
1516
  this.options = n;
1517
1517
  }
1518
1518
  }
1519
- class an {
1519
+ class nn {
1520
1520
  constructor() {
1521
1521
  return this;
1522
1522
  }
@@ -1533,7 +1533,7 @@ class an {
1533
1533
  */
1534
1534
  setCommonConfigs(a) {
1535
1535
  const { data: t } = a;
1536
- return this.commonOptionsBasic = _a(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1536
+ return this.commonOptionsBasic = en(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1537
1537
  }
1538
1538
  setCustomOptions(a) {
1539
1539
  return this.customOptions = a.customOptions, this;
@@ -1585,18 +1585,18 @@ class an {
1585
1585
  };
1586
1586
  switch (this.type) {
1587
1587
  case "bar":
1588
- return new en(a);
1589
- case "line":
1590
1588
  return new tn(a);
1589
+ case "line":
1590
+ return new an(a);
1591
1591
  default:
1592
1592
  throw new Error(`Unsupported chart type: ${this.type}`);
1593
1593
  }
1594
1594
  }
1595
1595
  }
1596
- const nn = {
1596
+ const ln = {
1597
1597
  class: "bs-chart bs-chart-bar",
1598
1598
  "data-component": "bs-chart-bar"
1599
- }, ln = ["aria-label"], on = ["data-hidden"], Eo = {
1599
+ }, on = ["aria-label"], rn = ["data-hidden"], Lo = {
1600
1600
  __name: "BsChartBar",
1601
1601
  props: {
1602
1602
  chartTitle: {
@@ -1667,27 +1667,27 @@ const nn = {
1667
1667
  }
1668
1668
  },
1669
1669
  setup(e) {
1670
- const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Xa("bar", a), i = f(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1671
- return H(() => n(
1672
- aa,
1670
+ const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Qa("bar", a), i = f(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1671
+ return Y(() => n(
1673
1672
  na,
1674
1673
  la,
1675
1674
  oa,
1676
1675
  ia,
1677
1676
  ra,
1678
- sa
1679
- )), (d, o) => (u(), b("div", nn, [
1680
- w("figure", null, [
1681
- w("div", null, [
1682
- w("canvas", {
1677
+ sa,
1678
+ da
1679
+ )), (d, o) => (u(), b("div", ln, [
1680
+ B("figure", null, [
1681
+ B("div", null, [
1682
+ B("canvas", {
1683
1683
  "aria-label": i.value,
1684
1684
  ref_key: "canvasRef",
1685
1685
  ref: t,
1686
1686
  role: "img"
1687
- }, null, 8, ln)
1687
+ }, null, 8, on)
1688
1688
  ]),
1689
- w("div", null, [
1690
- P(Ya, {
1689
+ B("div", null, [
1690
+ P(Za, {
1691
1691
  "chart-type": "bar",
1692
1692
  data: e.data,
1693
1693
  "data-idx-labels": e.dataIdxLabels,
@@ -1696,19 +1696,19 @@ const nn = {
1696
1696
  "x-label": e.xLabel,
1697
1697
  "y-label": e.yLabel
1698
1698
  }, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
1699
- w("figcaption", {
1699
+ B("figcaption", {
1700
1700
  "data-hidden": !e.showLegend
1701
1701
  }, [
1702
- w("ul", {
1702
+ B("ul", {
1703
1703
  ref_key: "legendListRef",
1704
1704
  ref: l
1705
1705
  }, null, 512)
1706
- ], 8, on)
1706
+ ], 8, rn)
1707
1707
  ])
1708
1708
  ])
1709
1709
  ]));
1710
1710
  }
1711
- }, rn = ["data-disabled", "data-error", "data-size"], sn = ["checked", "data-error", "disabled", "id", "required", "value"], Lo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1711
+ }, sn = ["data-disabled", "data-error", "data-size"], dn = ["checked", "data-error", "disabled", "id", "required", "value"], Do = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1712
1712
  __name: "BsCheckbox",
1713
1713
  props: {
1714
1714
  /** Sets the label. */
@@ -1771,7 +1771,7 @@ const nn = {
1771
1771
  },
1772
1772
  emits: ["update:modelValue"],
1773
1773
  setup(e, { emit: a }) {
1774
- const t = e, l = a, [n] = Z(), i = f(() => et.concat(t.passAttrs.split(","))), d = I(null), o = f(() => t.inputId || n.value), s = f(() => t.checked || h.value), r = f(() => t.indeterminate || t.checkedPartially), m = f(() => Array.isArray(t.modelValue) && t.value), h = f(() => m.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1774
+ const t = e, l = a, [n] = Q(), i = f(() => et.concat(t.passAttrs.split(","))), d = w(null), o = f(() => t.inputId || n.value), s = f(() => t.checked || h.value), r = f(() => t.indeterminate || t.checkedPartially), m = f(() => Array.isArray(t.modelValue) && t.value), h = f(() => m.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1775
1775
  function v() {
1776
1776
  d.value && (d.value.indeterminate = r.value && !s.value);
1777
1777
  }
@@ -1782,18 +1782,18 @@ const nn = {
1782
1782
  const S = [...t.modelValue];
1783
1783
  p ? S.push(t.value) : S.splice(S.indexOf(t.value), 1), l("update:modelValue", S);
1784
1784
  }
1785
- function B(p) {
1785
+ function I(p) {
1786
1786
  const { checked: S } = p.target;
1787
1787
  m.value ? y(S) : g(S);
1788
1788
  }
1789
- return j(s, v), j(r, v), H(v), (p, S) => (u(), b("div", z({
1789
+ return U(s, v), U(r, v), Y(v), (p, S) => (u(), b("div", z({
1790
1790
  class: "bs-boolean",
1791
1791
  "data-component": "bs-checkbox",
1792
1792
  "data-disabled": e.disabled,
1793
1793
  "data-error": e.error,
1794
1794
  "data-size": e.size
1795
- }, c(Y)(p.$attrs, i.value).remaining), [
1796
- w("input", z({
1795
+ }, c(X)(p.$attrs, i.value).remaining), [
1796
+ B("input", z({
1797
1797
  ref_key: "inputEl",
1798
1798
  ref: d,
1799
1799
  checked: s.value,
@@ -1803,24 +1803,24 @@ const nn = {
1803
1803
  required: e.required,
1804
1804
  value: e.value || "on",
1805
1805
  type: "checkbox",
1806
- onChange: B
1807
- }, c(Y)(p.$attrs, i.value).filtered), null, 16, sn),
1808
- e.label || p.$slots.label ? (u(), V(ae, {
1806
+ onChange: I
1807
+ }, c(X)(p.$attrs, i.value).filtered), null, 16, dn),
1808
+ e.label || p.$slots.label ? (u(), O(ne, {
1809
1809
  key: 0,
1810
1810
  for: p.$attrs.id || o.value,
1811
1811
  disabled: e.disabled,
1812
1812
  required: e.required
1813
1813
  }, {
1814
1814
  default: D(() => [
1815
- E(p.$slots, "label", {}, () => [
1816
- W(O(e.label), 1)
1815
+ V(p.$slots, "label", {}, () => [
1816
+ G(A(e.label), 1)
1817
1817
  ])
1818
1818
  ]),
1819
1819
  _: 3
1820
- }, 8, ["for", "disabled", "required"])) : x("", !0)
1821
- ], 16, rn));
1820
+ }, 8, ["for", "disabled", "required"])) : C("", !0)
1821
+ ], 16, sn));
1822
1822
  }
1823
- }), dn = {
1823
+ }), un = {
1824
1824
  __name: "BsDropdownContainer",
1825
1825
  props: {
1826
1826
  breakout: {
@@ -1841,22 +1841,22 @@ const nn = {
1841
1841
  }
1842
1842
  },
1843
1843
  setup(e, { expose: a }) {
1844
- const t = I(null);
1845
- return a({ internalContainerRef: t }), (l, n) => (u(), b(G, null, [
1846
- e.breakout && e.breakoutMounted ? (u(), V(Nt, {
1844
+ const t = w(null);
1845
+ return a({ internalContainerRef: t }), (l, n) => (u(), b(K, null, [
1846
+ e.breakout && e.breakoutMounted ? (u(), O(zt, {
1847
1847
  key: 0,
1848
1848
  to: e.breakoutStub
1849
1849
  }, [
1850
- E(l.$slots, "default")
1851
- ], 8, ["to"])) : x("", !0),
1852
- e.breakout ? x("", !0) : (u(), b(G, { key: 1 }, [
1853
- e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), b("div", {
1850
+ V(l.$slots, "default")
1851
+ ], 8, ["to"])) : C("", !0),
1852
+ e.breakout ? C("", !0) : (u(), b(K, { key: 1 }, [
1853
+ e.containerId ? V(l.$slots, "default", { key: 0 }) : (u(), b("div", {
1854
1854
  key: 1,
1855
1855
  ref_key: "internalContainerRef",
1856
1856
  ref: t,
1857
1857
  style: { position: "relative" }
1858
1858
  }, [
1859
- E(l.$slots, "default")
1859
+ V(l.$slots, "default")
1860
1860
  ], 512))
1861
1861
  ], 64))
1862
1862
  ], 64));
@@ -1893,7 +1893,7 @@ const nn = {
1893
1893
  ],
1894
1894
  setup(e, { emit: a }) {
1895
1895
  const t = a;
1896
- return (l, n) => e.preloaded ? ue((u(), V(st, {
1896
+ return (l, n) => e.preloaded ? ue((u(), O(st, {
1897
1897
  key: 0,
1898
1898
  name: e.name,
1899
1899
  onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
@@ -1906,12 +1906,12 @@ const nn = {
1906
1906
  onLeaveCancelled: n[7] || (n[7] = (i) => t("leave-cancelled"))
1907
1907
  }, {
1908
1908
  default: D(() => [
1909
- E(l.$slots, "default")
1909
+ V(l.$slots, "default")
1910
1910
  ]),
1911
1911
  _: 3
1912
1912
  }, 8, ["name"])), [
1913
1913
  [ce, e.shown]
1914
- ]) : (u(), V(st, {
1914
+ ]) : (u(), O(st, {
1915
1915
  key: 1,
1916
1916
  name: e.name,
1917
1917
  onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
@@ -1924,24 +1924,24 @@ const nn = {
1924
1924
  onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
1925
1925
  }, {
1926
1926
  default: D(() => [
1927
- e.shown ? E(l.$slots, "default", { key: 0 }) : x("", !0)
1927
+ e.shown ? V(l.$slots, "default", { key: 0 }) : C("", !0)
1928
1928
  ]),
1929
1929
  _: 3
1930
1930
  }, 8, ["name"]));
1931
1931
  }
1932
- }, un = (e, a = void 0, t = "relative") => {
1933
- const l = I(null), n = I(null), i = I(!1);
1932
+ }, cn = (e, a = void 0, t = "relative") => {
1933
+ const l = w(null), n = w(null), i = w(!1);
1934
1934
  let d = !1;
1935
- return H(() => {
1935
+ return Y(() => {
1936
1936
  e && (l.value = a || gt(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), d = !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);
1937
1937
  }), Be(() => {
1938
1938
  var o;
1939
1939
  e && !d && ((o = document.getElementById(l.value)) == null || o.remove());
1940
1940
  }), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
1941
- }, cn = {
1941
+ }, fn = {
1942
1942
  key: 0,
1943
1943
  class: "bs-dropdown-backdrop"
1944
- }, fn = ["data-width", "data-shown", "data-no-mobile"], pn = { key: 0 }, mn = { key: 0 }, bn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1944
+ }, pn = ["data-width", "data-shown", "data-no-mobile"], mn = { key: 0 }, bn = { key: 0 }, hn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1945
1945
  __name: "BsDropdownNew",
1946
1946
  props: {
1947
1947
  anchorId: {
@@ -1994,49 +1994,49 @@ const nn = {
1994
1994
  "after-leave"
1995
1995
  ],
1996
1996
  setup(e, { emit: a }) {
1997
- const t = e, l = a, n = I(null), i = I(null), d = I(!1), o = I(!1), s = f(() => document.getElementById(t.anchorId)), r = f(() => t.breakout ? h.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), m = f(() => t.width === "anchor" ? void 0 : t.width);
1997
+ const t = e, l = a, n = w(null), i = w(null), d = w(!1), o = w(!1), s = f(() => document.getElementById(t.anchorId)), r = f(() => t.breakout ? h.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), m = f(() => t.width === "anchor" ? void 0 : t.width);
1998
1998
  Ct([i, s], () => {
1999
1999
  o.value && l("close");
2000
2000
  }), me(["Escape"], () => {
2001
2001
  o.value && l("close");
2002
2002
  });
2003
- const { breakoutStub: h, breakoutMounted: v } = un(t.breakout, t.containerId);
2003
+ const { breakoutStub: h, breakoutMounted: v } = cn(t.breakout, t.containerId);
2004
2004
  fe("dropdownEnter", d), fe("dropdownAfterEnter", o), fe("dropdownShown", f(() => t.shown));
2005
- const g = (k, A) => {
2006
- i.value.style.setProperty(k, A);
2005
+ const g = (T, E) => {
2006
+ i.value.style.setProperty(T, E);
2007
2007
  };
2008
2008
  function y() {
2009
- const k = r.value.getBoundingClientRect(), A = s.value.getBoundingClientRect(), F = i.value.getBoundingClientRect();
2010
- B(k, A), p(k, A, F);
2009
+ const T = r.value.getBoundingClientRect(), E = s.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
2010
+ I(T, E), p(T, E, R);
2011
2011
  }
2012
- function B(k, A) {
2012
+ function I(T, E) {
2013
2013
  if (t.position === "top") {
2014
- const F = k.bottom - A.bottom;
2015
- g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${F + A.height + 8}px`);
2014
+ const R = T.bottom - E.bottom;
2015
+ g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${R + E.height + 8}px`);
2016
2016
  } else {
2017
- const F = A.top - k.top;
2018
- g("--dropdown-wscreen-top", `${F + A.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2017
+ const R = E.top - T.top;
2018
+ g("--dropdown-wscreen-top", `${R + E.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2019
2019
  }
2020
2020
  }
2021
- function p(k, A, F) {
2022
- const _ = A.left - k.left;
2021
+ function p(T, E, R) {
2022
+ const F = E.left - T.left;
2023
2023
  if (t.position === "center") {
2024
- const J = (A.width - F.width) / 2;
2025
- g("--dropdown-wscreen-left", `${_ + J}px`), g("--dropdown-wscreen-right", "auto");
2024
+ const W = (E.width - R.width) / 2;
2025
+ g("--dropdown-wscreen-left", `${F + W}px`), g("--dropdown-wscreen-right", "auto");
2026
2026
  } else if (t.position === "right") {
2027
- const J = k.right - A.right;
2028
- g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${J}px`);
2027
+ const W = T.right - E.right;
2028
+ g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${W}px`);
2029
2029
  } else
2030
- g("--dropdown-wscreen-left", `${_}px`), g("--dropdown-wscreen-right", "auto");
2030
+ g("--dropdown-wscreen-left", `${F}px`), g("--dropdown-wscreen-right", "auto");
2031
2031
  }
2032
2032
  function S() {
2033
2033
  if (t.width === "anchor") {
2034
- const k = s.value.getBoundingClientRect();
2035
- g("--dropdown-wscreen-width", `${k.width}px`);
2034
+ const T = s.value.getBoundingClientRect();
2035
+ g("--dropdown-wscreen-width", `${T.width}px`);
2036
2036
  } else
2037
2037
  g("--dropdown-wscreen-width", "");
2038
2038
  }
2039
- function C() {
2039
+ function k() {
2040
2040
  d.value = !0, y(), S(), l("enter");
2041
2041
  }
2042
2042
  function $() {
@@ -2045,9 +2045,9 @@ const nn = {
2045
2045
  function M() {
2046
2046
  d.value = !1, o.value = !1, l("after-leave");
2047
2047
  }
2048
- return (k, A) => (u(), b(G, null, [
2049
- e.useMobileStyle && e.shown ? (u(), b("div", cn)) : x("", !0),
2050
- P(dn, {
2048
+ return (T, E) => (u(), b(K, null, [
2049
+ e.useMobileStyle && e.shown ? (u(), b("div", fn)) : C("", !0),
2050
+ P(un, {
2051
2051
  ref_key: "dropdownContainerRef",
2052
2052
  ref: n,
2053
2053
  breakout: e.breakout,
@@ -2061,33 +2061,33 @@ const nn = {
2061
2061
  preloaded: e.preloaded,
2062
2062
  shown: e.shown,
2063
2063
  onAfterEnter: $,
2064
- onEnter: C,
2064
+ onEnter: k,
2065
2065
  onAfterLeave: M
2066
2066
  }, {
2067
2067
  default: D(() => [
2068
- w("div", z({
2068
+ B("div", z({
2069
2069
  ref_key: "dropdownRef",
2070
2070
  ref: i,
2071
2071
  class: "bs-dropdown",
2072
2072
  "data-width": m.value,
2073
2073
  "data-shown": e.shown,
2074
2074
  "data-no-mobile": !e.useMobileStyle
2075
- }, k.$attrs), [
2076
- e.helperText ? (u(), b("header", pn, [
2077
- w("div", null, [
2078
- w("h3", null, O(e.helperText), 1),
2079
- e.helperDescription ? (u(), b("p", mn, O(e.helperDescription), 1)) : x("", !0)
2075
+ }, T.$attrs), [
2076
+ e.helperText ? (u(), b("header", mn, [
2077
+ B("div", null, [
2078
+ B("h3", null, A(e.helperText), 1),
2079
+ e.helperDescription ? (u(), b("p", bn, A(e.helperDescription), 1)) : C("", !0)
2080
2080
  ]),
2081
- w("button", {
2081
+ B("button", {
2082
2082
  type: "button",
2083
2083
  title: "close",
2084
- onClick: A[0] || (A[0] = () => l("close"))
2084
+ onClick: E[0] || (E[0] = () => l("close"))
2085
2085
  }, [
2086
2086
  P(c($e))
2087
2087
  ])
2088
- ])) : x("", !0),
2089
- E(k.$slots, "default")
2090
- ], 16, fn)
2088
+ ])) : C("", !0),
2089
+ V(T.$slots, "default")
2090
+ ], 16, pn)
2091
2091
  ]),
2092
2092
  _: 3
2093
2093
  }, 8, ["preloaded", "shown"])
@@ -2187,7 +2187,7 @@ const nn = {
2187
2187
  ],
2188
2188
  setup(e, { emit: a }) {
2189
2189
  const t = e, l = a, { transition: n } = Le(t), i = f(() => t.width === "toggle" ? "anchor" : t.width), d = f(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = f(() => t.toggleId ? t.toggleId : t.anchorId);
2190
- return (s, r) => (u(), V(bn, {
2190
+ return (s, r) => (u(), O(hn, {
2191
2191
  "anchor-id": o.value,
2192
2192
  breakout: e.breakout,
2193
2193
  "container-id": e.containerId,
@@ -2204,12 +2204,12 @@ const nn = {
2204
2204
  onAfterLeave: r[3] || (r[3] = () => l("after-leave"))
2205
2205
  }, {
2206
2206
  default: D(() => [
2207
- E(s.$slots, "default")
2207
+ V(s.$slots, "default")
2208
2208
  ]),
2209
2209
  _: 3
2210
2210
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
2211
2211
  }
2212
- }, hn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], vn = { class: "visually-hidden" }, gn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2212
+ }, vn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], gn = { class: "visually-hidden" }, yn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2213
2213
  __name: "BsInputCombobox",
2214
2214
  props: {
2215
2215
  containerId: {
@@ -2251,7 +2251,7 @@ const nn = {
2251
2251
  setup(e, { emit: a }) {
2252
2252
  const t = e, l = a;
2253
2253
  let n = !1;
2254
- const i = I(null), [d] = Z(1), o = f(() => ({
2254
+ const i = w(null), [d] = Q(1), o = f(() => ({
2255
2255
  icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
2256
2256
  show: !!(t.modelValue || t.optionsId),
2257
2257
  text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
@@ -2260,12 +2260,12 @@ const nn = {
2260
2260
  t.modelValue && l("clear"), n = !0, i.value.$el.focus();
2261
2261
  }
2262
2262
  function r(h) {
2263
- var y, B;
2263
+ var y, I;
2264
2264
  const v = ((y = h.relatedTarget) == null ? void 0 : y.id) === d.value;
2265
- !(((B = h.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!v || !n) && m(!0), n = !1;
2265
+ !(((I = h.relatedTarget) == null ? void 0 : I.id) === t.optionsId) && (!v || !n) && m(!0), n = !1;
2266
2266
  }
2267
2267
  const m = Ve((h) => l("toggled", h), 200, !0);
2268
- return (h, v) => (u(), V(De, {
2268
+ return (h, v) => (u(), O(De, {
2269
2269
  "aria-live": "polite",
2270
2270
  disabled: e.disabled,
2271
2271
  error: e.error,
@@ -2293,7 +2293,7 @@ const nn = {
2293
2293
  onFocus: r,
2294
2294
  onInput: v[0] || (v[0] = (g) => h.$emit("update:modelValue", g.target.value))
2295
2295
  }, h.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
2296
- ue(w("button", {
2296
+ ue(B("button", {
2297
2297
  "aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
2298
2298
  "aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
2299
2299
  "data-open": e.modelValue ? void 0 : e.open,
@@ -2304,7 +2304,7 @@ const nn = {
2304
2304
  type: "button",
2305
2305
  onClick: s
2306
2306
  }, [
2307
- w("span", vn, O(o.value.text), 1),
2307
+ B("span", gn, A(o.value.text), 1),
2308
2308
  ue(P(c(Me), {
2309
2309
  role: "presentation",
2310
2310
  size: "md"
@@ -2317,14 +2317,14 @@ const nn = {
2317
2317
  }, null, 512), [
2318
2318
  [ce, o.value.icon == "close"]
2319
2319
  ])
2320
- ], 8, hn), [
2320
+ ], 8, vn), [
2321
2321
  [ce, o.value.show]
2322
2322
  ])
2323
2323
  ]),
2324
2324
  _: 1
2325
2325
  }, 8, ["disabled", "error", "id", "onClick"]));
2326
2326
  }
2327
- }), yn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], Sn = {
2327
+ }), Sn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], wn = {
2328
2328
  __name: "BsFilterButton",
2329
2329
  props: {
2330
2330
  badgeCount: {
@@ -2365,21 +2365,21 @@ const nn = {
2365
2365
  disabled: e.disabled,
2366
2366
  type: "button"
2367
2367
  }, [
2368
- t.value ? (u(), V(wa, {
2368
+ t.value ? (u(), O(Ba, {
2369
2369
  key: 0,
2370
2370
  color: "blue",
2371
2371
  count: e.badgeCount,
2372
2372
  label: "active filter",
2373
2373
  position: "left",
2374
2374
  variant: "notext"
2375
- }, null, 8, ["count"])) : x("", !0),
2376
- E(l.$slots, "label", {}, () => [
2377
- W(O(e.label), 1)
2375
+ }, null, 8, ["count"])) : C("", !0),
2376
+ V(l.$slots, "label", {}, () => [
2377
+ G(A(e.label), 1)
2378
2378
  ]),
2379
2379
  P(c(Me))
2380
- ], 8, yn));
2380
+ ], 8, Sn));
2381
2381
  }
2382
- }, wn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2382
+ }, Bn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2383
2383
  __name: "BsDropdownOption",
2384
2384
  props: {
2385
2385
  value: {
@@ -2392,7 +2392,7 @@ const nn = {
2392
2392
  }
2393
2393
  },
2394
2394
  setup(e) {
2395
- const a = e, t = I(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2395
+ const a = e, t = w(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2396
2396
  }), i = f(() => `${l.value}-option-${a.value}`);
2397
2397
  function d(o) {
2398
2398
  n(t.value), o.stopPropagation();
@@ -2408,10 +2408,10 @@ const nn = {
2408
2408
  role: "option",
2409
2409
  onClick: d
2410
2410
  }, [
2411
- E(o.$slots, "default")
2412
- ], 8, wn));
2411
+ V(o.$slots, "default")
2412
+ ], 8, Bn));
2413
2413
  }
2414
- }, Bn = ["data-img-size", "data-initials", "data-no-img"], $n = ["src", "alt"], At = {
2414
+ }, $n = ["data-img-size", "data-initials", "data-no-img"], In = ["src", "alt"], At = {
2415
2415
  __name: "BsProfileImg",
2416
2416
  props: {
2417
2417
  src: String,
@@ -2430,8 +2430,8 @@ const nn = {
2430
2430
  }
2431
2431
  },
2432
2432
  setup(e) {
2433
- const a = e, t = I(!1), l = I(!!a.src);
2434
- return H(() => t.value = !0), (n, i) => (u(), b("div", {
2433
+ const a = e, t = w(!1), l = w(!!a.src);
2434
+ return Y(() => t.value = !0), (n, i) => (u(), b("div", {
2435
2435
  class: "bs-profile-img",
2436
2436
  "data-component": "bs-profile-img",
2437
2437
  "data-img-size": e.size,
@@ -2443,10 +2443,10 @@ const nn = {
2443
2443
  src: e.src,
2444
2444
  alt: e.useAltText ? e.profileName : "",
2445
2445
  onError: i[0] || (i[0] = (d) => l.value = !1)
2446
- }, null, 40, $n)) : x("", !0)
2447
- ], 8, Bn));
2446
+ }, null, 40, In)) : C("", !0)
2447
+ ], 8, $n));
2448
2448
  }
2449
- }, In = ["id", "data-checked"], kn = { key: 1 }, Cn = ["innerHTML"], xn = { key: 4 }, Tn = { key: 5 }, An = {
2449
+ }, kn = ["id", "data-checked"], Cn = { key: 1 }, xn = ["innerHTML"], Tn = { key: 4 }, An = { key: 5 }, On = {
2450
2450
  key: 0,
2451
2451
  role: "option",
2452
2452
  "data-no-hover": ""
@@ -2485,7 +2485,7 @@ const nn = {
2485
2485
  const a = e, t = {};
2486
2486
  yt(() => {
2487
2487
  l();
2488
- }), j(() => a.options, () => {
2488
+ }), U(() => a.options, () => {
2489
2489
  l();
2490
2490
  });
2491
2491
  function l() {
@@ -2507,8 +2507,8 @@ const nn = {
2507
2507
  function d(o, s) {
2508
2508
  return !!o && o !== s;
2509
2509
  }
2510
- return (o, s) => (u(), b(G, null, [
2511
- (u(!0), b(G, null, ee(e.options, (r) => (u(), V(ot, {
2510
+ return (o, s) => (u(), b(K, null, [
2511
+ (u(!0), b(K, null, te(e.options, (r) => (u(), O(ot, {
2512
2512
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
2513
2513
  key: r.value,
2514
2514
  value: r.value,
@@ -2521,38 +2521,118 @@ const nn = {
2521
2521
  "aria-hidden": "true",
2522
2522
  class: "bs-checkbox",
2523
2523
  "data-checked": r.checkbox.checked
2524
- }, null, 8, In)) : x("", !0),
2525
- r.icon ? (u(), b("span", kn, [
2526
- (u(), V(te(t[r.icon])))
2527
- ])) : x("", !0),
2528
- r.profileImg ? (u(), V(At, {
2524
+ }, null, 8, kn)) : C("", !0),
2525
+ r.icon ? (u(), b("span", Cn, [
2526
+ (u(), O(ae(t[r.icon])))
2527
+ ])) : C("", !0),
2528
+ r.profileImg ? (u(), O(At, {
2529
2529
  key: 2,
2530
2530
  src: r.profileImg.src,
2531
2531
  size: "xs",
2532
2532
  initials: r.profileImg.initials,
2533
2533
  "profile-name": r.profileImg.profileName,
2534
2534
  "use-alt-text": d(r.profileImg.profileName, r.label)
2535
- }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : x("", !0),
2535
+ }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : C("", !0),
2536
2536
  r.labelHtml ? (u(), b("span", {
2537
2537
  key: 3,
2538
2538
  innerHTML: r.labelHtml
2539
- }, null, 8, Cn)) : (u(), b("span", xn, O(r.label), 1)),
2540
- r.description ? (u(), b("span", Tn, O(r.description), 1)) : x("", !0)
2539
+ }, null, 8, xn)) : (u(), b("span", Tn, A(r.label), 1)),
2540
+ r.description ? (u(), b("span", An, A(r.description), 1)) : C("", !0)
2541
2541
  ]),
2542
2542
  _: 2
2543
2543
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2544
- e.showNoOptions && e.options.length === 0 ? (u(), b("li", An, [
2545
- E(o.$slots, "no-options", {}, () => [
2546
- s[0] || (s[0] = W("No options"))
2544
+ e.showNoOptions && e.options.length === 0 ? (u(), b("li", On, [
2545
+ V(o.$slots, "no-options", {}, () => [
2546
+ s[0] || (s[0] = G("No options"))
2547
2547
  ])
2548
- ])) : x("", !0)
2548
+ ])) : C("", !0)
2549
2549
  ], 64));
2550
2550
  }
2551
- }, On = ["id"], Ot = {
2551
+ }, Ot = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2552
+ __name: "BsInputSearch",
2553
+ props: {
2554
+ /** Sets the disabled state on input, disabled styles on label. */
2555
+ disabled: {
2556
+ type: Boolean,
2557
+ default: !1
2558
+ },
2559
+ hideClear: {
2560
+ type: Boolean,
2561
+ default: !1
2562
+ },
2563
+ hideSearchIcon: {
2564
+ type: Boolean,
2565
+ default: !1
2566
+ },
2567
+ inputId: {
2568
+ type: String,
2569
+ default: void 0
2570
+ },
2571
+ modelValue: {
2572
+ type: String,
2573
+ default: ""
2574
+ },
2575
+ passAttrs: {
2576
+ type: String,
2577
+ default: ""
2578
+ },
2579
+ placeholder: {
2580
+ type: String,
2581
+ default: "Search Items"
2582
+ },
2583
+ /** Sets the input value - do not use if using `v-model`. */
2584
+ value: {
2585
+ type: String,
2586
+ default: ""
2587
+ },
2588
+ variant: {
2589
+ type: String,
2590
+ // we may be getting at least one more variant so we'll validate against arr
2591
+ validator: (e) => ["filter"].includes(e)
2592
+ }
2593
+ },
2594
+ emits: ["clear", "update:modelValue"],
2595
+ setup(e, { emit: a }) {
2596
+ const t = e, l = f(() => be.concat(t.passAttrs.split(","))), n = f(() => !t.disabled && !t.hideClear && t.variant !== "filter");
2597
+ return (i, d) => (u(), O(De, z({
2598
+ class: "bs-input-search",
2599
+ "data-component": "bs-input-search",
2600
+ "data-variant": e.variant,
2601
+ disabled: e.disabled
2602
+ }, c(X)(i.$attrs, l.value).remaining), {
2603
+ default: D(() => [
2604
+ e.hideSearchIcon ? C("", !0) : (u(), O(c(Wt), { key: 0 })),
2605
+ P(Ie, z({
2606
+ "data-autowidth": "",
2607
+ disabled: e.disabled,
2608
+ "input-id": i.$attrs.id || e.inputId,
2609
+ placeholder: e.placeholder,
2610
+ value: e.value || e.modelValue
2611
+ }, c(X)(i.$attrs, l.value).filtered, {
2612
+ "onUpdate:modelValue": d[0] || (d[0] = (o) => i.$emit("update:modelValue", o))
2613
+ }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
2614
+ ue(B("button", {
2615
+ title: "Clear",
2616
+ type: "button",
2617
+ onClick: d[1] || (d[1] = (o) => i.$emit("clear"))
2618
+ }, [
2619
+ P(c($e), { size: "sm" })
2620
+ ], 512), [
2621
+ [ce, n.value]
2622
+ ])
2623
+ ]),
2624
+ _: 1
2625
+ }, 16, ["data-variant", "disabled"]));
2626
+ }
2627
+ }), Vn = ["id"], En = {
2628
+ key: 0,
2629
+ class: "filter-input-container"
2630
+ }, Vt = {
2552
2631
  __name: "BsDropdownWithToggle",
2553
2632
  props: {
2554
2633
  anchorId: {
2555
- type: String
2634
+ type: String,
2635
+ default: ""
2556
2636
  },
2557
2637
  breakout: {
2558
2638
  type: Boolean,
@@ -2568,17 +2648,33 @@ const nn = {
2568
2648
  },
2569
2649
  dropdownPosition: {
2570
2650
  type: String,
2571
- validator: (e) => ["", "top", "center", "right"].includes(e)
2651
+ validator: (e) => ["", "top", "center", "right"].includes(e),
2652
+ default: ""
2572
2653
  },
2573
2654
  dropdownWidth: {
2574
2655
  type: String,
2575
- validator: (e) => ["", "sm", "md", "lg", "content", "anchor", "toggle"].includes(e)
2656
+ validator: (e) => ["", "sm", "md", "lg", "content", "anchor", "toggle"].includes(e),
2657
+ default: "md"
2658
+ },
2659
+ filter: {
2660
+ type: Boolean,
2661
+ default: !1
2662
+ },
2663
+ filterLabel: {
2664
+ type: String,
2665
+ default: ""
2666
+ },
2667
+ filterPlaceholder: {
2668
+ type: String,
2669
+ default: "Search..."
2576
2670
  },
2577
2671
  helperText: {
2578
- type: String
2672
+ type: String,
2673
+ default: ""
2579
2674
  },
2580
2675
  helperDescription: {
2581
- type: String
2676
+ type: String,
2677
+ default: ""
2582
2678
  },
2583
2679
  multiselect: {
2584
2680
  type: Boolean,
@@ -2593,10 +2689,12 @@ const nn = {
2593
2689
  default: () => []
2594
2690
  },
2595
2691
  optionsId: {
2596
- type: String
2692
+ type: String,
2693
+ default: ""
2597
2694
  },
2598
2695
  selectedOption: {
2599
- type: [String, Number]
2696
+ type: [String, Number],
2697
+ default: ""
2600
2698
  },
2601
2699
  selectedOptions: {
2602
2700
  type: Array,
@@ -2607,7 +2705,8 @@ const nn = {
2607
2705
  default: !1
2608
2706
  },
2609
2707
  toggleId: {
2610
- type: String
2708
+ type: String,
2709
+ default: ""
2611
2710
  },
2612
2711
  toggleLabel: {
2613
2712
  type: String,
@@ -2615,74 +2714,90 @@ const nn = {
2615
2714
  },
2616
2715
  toggleSize: {
2617
2716
  type: String,
2618
- validator: (e) => ["", "sm", "xs"].includes(e)
2717
+ validator: (e) => ["", "sm", "xs"].includes(e),
2718
+ default: ""
2619
2719
  },
2620
2720
  useMobileStyle: {
2621
2721
  type: Boolean,
2622
2722
  default: !0
2623
2723
  }
2624
2724
  },
2625
- emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close", "check-option", "uncheck-option"],
2725
+ emits: [
2726
+ "update:selectedOptions",
2727
+ "update:selectedOption",
2728
+ "toggled",
2729
+ "close",
2730
+ "check-option",
2731
+ "uncheck-option"
2732
+ ],
2626
2733
  setup(e, { emit: a }) {
2627
- const t = e, l = a, n = f(() => t.selectedOptions.length);
2628
- let i = null;
2629
- const [d, o] = Z(2), s = I(!1), r = () => i || (i = document.getElementById(v.value)), m = f(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => Pn) : Promise.resolve().then(() => En)))), h = f(() => t.optionsId || o.value), v = f(() => t.toggleId || d.value);
2630
- function g() {
2631
- const k = document.activeElement;
2632
- return !k || k.tagName === "BODY" || k.id === h.value;
2734
+ const t = e, l = a;
2735
+ let n = null;
2736
+ const [i, d] = Q(2), o = w(!1), s = w(""), r = w([...t.options]), m = f(() => t.selectedOptions.length), h = f(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => Mn) : Promise.resolve().then(() => Dn)))), v = f(() => t.optionsId || d.value), g = f(() => t.toggleId || i.value), y = () => n || (n = document.getElementById(g.value));
2737
+ function I() {
2738
+ const F = document.activeElement;
2739
+ return !F || F.tagName === "BODY" || F.id === v.value;
2633
2740
  }
2634
- function y() {
2635
- var k, A;
2636
- s.value = !1, l("close"), g() && ((A = (k = r()) == null ? void 0 : k.focus) == null || A.call(k));
2741
+ function p() {
2742
+ var F, W;
2743
+ o.value = !1, l("close"), I() && ((W = (F = y()) == null ? void 0 : F.focus) == null || W.call(F));
2637
2744
  }
2638
- function B() {
2639
- s.value && y();
2745
+ function S() {
2746
+ o.value && p();
2640
2747
  }
2641
- function p() {
2642
- s.value = !0;
2748
+ function k() {
2749
+ o.value = !0;
2643
2750
  }
2644
- function S(k) {
2645
- l("uncheck-option", k);
2751
+ function $(F) {
2752
+ const W = t.selectedOptions.filter((_) => _ !== F);
2753
+ l("update:selectedOptions", W), l("uncheck-option", F);
2646
2754
  }
2647
- function C(k) {
2648
- l("check-option", k);
2755
+ function M(F) {
2756
+ const W = [...t.selectedOptions, F];
2757
+ l("update:selectedOptions", W), l("check-option", F);
2649
2758
  }
2650
- function $(k) {
2651
- l("update:selectedOptions", k);
2759
+ function T(F) {
2760
+ t.multiselect || (l("update:selectedOption", F), p());
2652
2761
  }
2653
- function M(k) {
2654
- t.multiselect || (l("update:selectedOption", k), y());
2762
+ function E() {
2763
+ s.value = "", r.value = t.options;
2655
2764
  }
2656
- return (k, A) => (u(), b("div", {
2765
+ function R(F) {
2766
+ s.value = F, r.value = t.options.filter((W) => {
2767
+ var _;
2768
+ return W.label.toLowerCase().startsWith((_ = s.value) == null ? void 0 : _.toLowerCase());
2769
+ });
2770
+ }
2771
+ return (F, W) => (u(), b("div", {
2657
2772
  class: "bs-dropdown-with-toggle",
2658
- id: k.$attrs.id
2773
+ id: F.$attrs.id
2659
2774
  }, [
2660
- E(k.$slots, "toggle", {
2775
+ V(F.$slots, "toggle", {
2661
2776
  anchorId: e.anchorId,
2662
- optionsId: h.value,
2663
- toggleId: v.value
2777
+ optionsId: v.value,
2778
+ toggleId: g.value
2664
2779
  }, () => [
2665
- P(Sn, {
2666
- "aria-controls": h.value,
2780
+ P(wn, {
2781
+ "aria-controls": v.value,
2667
2782
  "aria-expanded": e.open,
2668
2783
  disabled: e.disabled,
2669
- id: v.value,
2784
+ id: g.value,
2670
2785
  open: e.open,
2671
- "options-id": h.value,
2786
+ "options-id": v.value,
2672
2787
  size: e.toggleSize,
2673
- "badge-count": e.showBadgeCount && e.multiselect ? n.value : void 0,
2674
- onClick: A[0] || (A[0] = (F) => k.$emit("toggled"))
2788
+ "badge-count": e.showBadgeCount && e.multiselect ? m.value : void 0,
2789
+ onClick: W[0] || (W[0] = (_) => F.$emit("toggled"))
2675
2790
  }, {
2676
2791
  label: D(() => [
2677
- E(k.$slots, "toggle-label", {}, () => [
2678
- W(O(e.toggleLabel), 1)
2792
+ V(F.$slots, "toggle-label", {}, () => [
2793
+ G(A(e.toggleLabel), 1)
2679
2794
  ])
2680
2795
  ]),
2681
2796
  _: 3
2682
2797
  }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size", "badge-count"])
2683
2798
  ]),
2684
2799
  P(lt, {
2685
- "anchor-id": e.anchorId || v.value,
2800
+ "anchor-id": e.anchorId || g.value,
2686
2801
  breakout: e.breakout,
2687
2802
  "helper-text": e.helperText,
2688
2803
  "helper-description": e.helperDescription,
@@ -2691,37 +2806,46 @@ const nn = {
2691
2806
  shown: e.open,
2692
2807
  "use-mobile-style": e.useMobileStyle,
2693
2808
  width: e.dropdownWidth,
2694
- onClose: B,
2695
- onEnter: p
2809
+ onClose: S,
2810
+ onEnter: k
2696
2811
  }, {
2697
2812
  default: D(() => [
2698
- P(c(m), {
2813
+ e.filter ? (u(), b("div", En, [
2814
+ P(Ot, {
2815
+ "aria-label": e.filterLabel,
2816
+ "model-value": s.value,
2817
+ placeholder: e.filterPlaceholder,
2818
+ "onUpdate:modelValue": R,
2819
+ onClear: E
2820
+ }, null, 8, ["aria-label", "model-value", "placeholder"])
2821
+ ])) : C("", !0),
2822
+ P(c(h), {
2823
+ class: le({ "filterable-options": e.filter }),
2699
2824
  label: e.dropdownLabel,
2700
2825
  "model-value": e.selectedOption,
2701
- options: e.multiselect ? e.options : void 0,
2702
- "options-id": h.value,
2826
+ options: e.multiselect ? r.value : void 0,
2827
+ "options-id": v.value,
2703
2828
  "selected-options": e.selectedOptions,
2704
2829
  shown: e.open,
2705
- "onUpdate:modelValue": M,
2706
- "onUpdate:selectedOptions": $,
2707
- onCheckOption: C,
2708
- onUncheckOption: S,
2709
- onClose: A[1] || (A[1] = (F) => e.multiselect ? void 0 : B())
2830
+ "onUpdate:modelValue": T,
2831
+ onCheckOption: M,
2832
+ onUncheckOption: $,
2833
+ onClose: W[1] || (W[1] = (_) => e.multiselect ? void 0 : S())
2710
2834
  }, {
2711
2835
  default: D(() => [
2712
- e.multiselect ? x("", !0) : (u(), V(qe, {
2836
+ e.multiselect ? C("", !0) : (u(), O(qe, {
2713
2837
  key: 0,
2714
- options: e.options
2838
+ options: r.value
2715
2839
  }, null, 8, ["options"]))
2716
2840
  ]),
2717
2841
  _: 1
2718
- }, 8, ["label", "model-value", "options", "options-id", "selected-options", "shown"])
2842
+ }, 8, ["class", "label", "model-value", "options", "options-id", "selected-options", "shown"])
2719
2843
  ]),
2720
2844
  _: 1
2721
2845
  }, 8, ["anchor-id", "breakout", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
2722
- ], 8, On));
2846
+ ], 8, Vn));
2723
2847
  }
2724
- }, Vt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2848
+ }, Et = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2725
2849
  __name: "BsDropdownCombobox",
2726
2850
  props: {
2727
2851
  disabled: {
@@ -2780,7 +2904,7 @@ const nn = {
2780
2904
  },
2781
2905
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2782
2906
  setup(e, { emit: a }) {
2783
- const t = e, l = a, [n, i, d] = Z(3), o = I(!1), s = f(() => t.inputId || n.value);
2907
+ const t = e, l = a, [n, i, d] = Q(3), o = w(!1), s = f(() => t.inputId || n.value);
2784
2908
  function r(y) {
2785
2909
  l("combobox:change", y.target.value), l("update:modelValue", y.target.value);
2786
2910
  }
@@ -2788,8 +2912,8 @@ const nn = {
2788
2912
  l("combobox:change", ""), l("update:modelValue", "");
2789
2913
  }
2790
2914
  function h(y) {
2791
- var B, p;
2792
- (B = y.relatedTarget) != null && B.closest(`#${d.value}`) || (p = y.relatedTarget) != null && p.closest(`#${i.value}`) || (o.value = !1);
2915
+ var I, p;
2916
+ (I = y.relatedTarget) != null && I.closest(`#${d.value}`) || (p = y.relatedTarget) != null && p.closest(`#${i.value}`) || (o.value = !1);
2793
2917
  }
2794
2918
  function v(y) {
2795
2919
  l("combobox:input", y.target.value), t.updateOnInput && l("update:modelValue", y.target.value);
@@ -2797,7 +2921,7 @@ const nn = {
2797
2921
  function g(y) {
2798
2922
  y === !0 || y === !1 ? o.value = y : o.value = !o.value;
2799
2923
  }
2800
- return (y, B) => (u(), V(Ot, {
2924
+ return (y, I) => (u(), O(Vt, {
2801
2925
  "anchor-id": c(i),
2802
2926
  disabled: e.disabled,
2803
2927
  "dropdown-position": e.dropdownPosition,
@@ -2810,12 +2934,12 @@ const nn = {
2810
2934
  "options-id": c(d),
2811
2935
  "selected-option": e.modelValue,
2812
2936
  "toggle-id": y.$attrs.id || s.value,
2813
- onClose: B[0] || (B[0] = (p) => o.value = !1),
2937
+ onClose: I[0] || (I[0] = (p) => o.value = !1),
2814
2938
  onFocusout: h,
2815
- "onUpdate:selectedOption": B[1] || (B[1] = (p) => y.$emit("update:modelValue", p))
2939
+ "onUpdate:selectedOption": I[1] || (I[1] = (p) => y.$emit("update:modelValue", p))
2816
2940
  }, {
2817
2941
  toggle: D(() => [
2818
- P(gn, z({
2942
+ P(yn, z({
2819
2943
  id: y.$attrs.id || s.value,
2820
2944
  "container-id": c(i),
2821
2945
  disabled: e.disabled,
@@ -2835,7 +2959,7 @@ const nn = {
2835
2959
  _: 1
2836
2960
  }, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
2837
2961
  }
2838
- }), Do = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2962
+ }), Po = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2839
2963
  __name: "BsDropdownComboboxField",
2840
2964
  props: {
2841
2965
  disabled: {
@@ -2903,22 +3027,22 @@ const nn = {
2903
3027
  },
2904
3028
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2905
3029
  setup(e, { emit: a }) {
2906
- const t = e, [l, n] = Z(2), i = f(() => t.error && t.errorMsg || t.hint || void 0), d = f(() => t.inputId || l.value);
2907
- return (o, s) => (u(), b("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(be)).remaining), [
2908
- e.label || o.$slots.label ? (u(), V(ae, {
3030
+ const t = e, [l, n] = Q(2), i = f(() => t.error && t.errorMsg || t.hint || void 0), d = f(() => t.inputId || l.value);
3031
+ return (o, s) => (u(), b("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(X)(o.$attrs, c(be)).remaining), [
3032
+ e.label || o.$slots.label ? (u(), O(ne, {
2909
3033
  key: 0,
2910
3034
  for: o.$attrs.id || d.value,
2911
3035
  disabled: e.disabled,
2912
3036
  required: e.required
2913
3037
  }, {
2914
3038
  default: D(() => [
2915
- E(o.$slots, "label", {}, () => [
2916
- W(O(e.label), 1)
3039
+ V(o.$slots, "label", {}, () => [
3040
+ G(A(e.label), 1)
2917
3041
  ])
2918
3042
  ]),
2919
3043
  _: 3
2920
- }, 8, ["for", "disabled", "required"])) : x("", !0),
2921
- P(Vt, z({
3044
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
3045
+ P(Et, z({
2922
3046
  disabled: e.disabled,
2923
3047
  "display-value": e.displayValue,
2924
3048
  "dropdown-position": e.dropdownPosition,
@@ -2936,17 +3060,17 @@ const nn = {
2936
3060
  "onCombobox:change": s[0] || (s[0] = (r) => o.$emit("combobox:change", r)),
2937
3061
  "onCombobox:input": s[1] || (s[1] = (r) => o.$emit("combobox:input", r)),
2938
3062
  "onUpdate:modelValue": s[2] || (s[2] = (r) => o.$emit("update:modelValue", r))
2939
- }, c(Y)(o.$attrs, c(be)).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"]),
2940
- i.value ? (u(), V(ge, {
3063
+ }, c(X)(o.$attrs, c(be)).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"]),
3064
+ i.value ? (u(), O(ge, {
2941
3065
  key: 1,
2942
3066
  error: e.error,
2943
3067
  "error-msg": e.errorMsg,
2944
3068
  hint: e.hint || o.hintDeprecated,
2945
3069
  "hint-id": c(n)
2946
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
3070
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
2947
3071
  ], 16));
2948
3072
  }
2949
- }), Vn = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
3073
+ }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
2950
3074
  __name: "BsDropdownOptionList",
2951
3075
  props: {
2952
3076
  optionsId: {
@@ -2982,26 +3106,26 @@ const nn = {
2982
3106
  "update:modelValue"
2983
3107
  ],
2984
3108
  setup(e, { expose: a, emit: t }) {
2985
- const l = e, n = t, i = I(null), d = I(null), o = I(-1), s = I(-1), r = I(null), m = I(!1), h = pe("dropdownEnter", I(!1)), v = pe("dropdownAfterEnter", I(!1)), g = pe("dropdownShown", I(!1));
2986
- fe("optionsId", f(() => l.optionsId)), fe("handleOptionSelect", ye), pa(i, $, { childList: !0 }), me([" ", "Enter", "NumpadEnter"], ke, i), me(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
3109
+ const l = e, n = t, i = w(null), d = w(null), o = w(-1), s = w(-1), r = w(null), m = w(!1), h = pe("dropdownEnter", w(!1)), v = pe("dropdownAfterEnter", w(!1)), g = pe("dropdownShown", w(!1));
3110
+ fe("optionsId", f(() => l.optionsId)), fe("handleOptionSelect", ye), ma(i, $, { childList: !0 }), me([" ", "Enter", "NumpadEnter"], ke, i), me(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2987
3111
  const p = [/^[a-zA-Z0-9]{1}$/], S = {
2988
3112
  keys: "",
2989
3113
  lastTyped: 0
2990
3114
  };
2991
- me(p, (L) => xe(L, S)), H(() => {
2992
- $(), J(g.value);
2993
- }), j(
3115
+ me(p, (L) => xe(L, S)), Y(() => {
3116
+ $(), W(g.value);
3117
+ }), U(
2994
3118
  [h, () => {
2995
3119
  var L;
2996
3120
  return (L = r.value) == null ? void 0 : L.length;
2997
3121
  }],
2998
- ([L, R]) => {
2999
- (L || R > 0) && (m.value = i.value.scrollHeight > i.value.clientHeight);
3122
+ ([L, j]) => {
3123
+ (L || j > 0) && (m.value = i.value.scrollHeight > i.value.clientHeight);
3000
3124
  }
3001
- ), j(v, (L) => {
3002
- L && (M(), k());
3003
- }), j(g, (L) => J(L));
3004
- const C = f(() => l.modelValue || l.selectedValue);
3125
+ ), U(v, (L) => {
3126
+ L && (M(), T());
3127
+ }), U(g, (L) => W(L));
3128
+ const k = f(() => l.modelValue || l.selectedValue);
3005
3129
  function $() {
3006
3130
  r.value = Array.from(
3007
3131
  i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
@@ -3010,41 +3134,41 @@ const nn = {
3010
3134
  function M() {
3011
3135
  i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
3012
3136
  }
3013
- function k() {
3137
+ function T() {
3014
3138
  var L;
3015
3139
  o.value > -1 && (M(), (L = r.value[o.value]) == null || L.scrollIntoView({ block: "nearest" }));
3016
3140
  }
3017
- function A() {
3018
- var L, R;
3019
- o.value > -1 && ((L = r.value[o.value]) == null || L.setAttribute("data-active", ""), d.value = (R = r.value[o.value]) == null ? void 0 : R.id, k());
3141
+ function E() {
3142
+ var L, j;
3143
+ o.value > -1 && ((L = r.value[o.value]) == null || L.setAttribute("data-active", ""), d.value = (j = r.value[o.value]) == null ? void 0 : j.id, T());
3020
3144
  }
3021
- function F() {
3145
+ function R() {
3022
3146
  var L;
3023
3147
  o.value > -1 && ((L = r.value[o.value]) == null || L.removeAttribute("data-active"));
3024
3148
  }
3025
- function _() {
3149
+ function F() {
3026
3150
  var L;
3027
- o.value < 0 && (o.value = 0, d.value = (L = r.value[0]) == null ? void 0 : L.id), A();
3151
+ o.value < 0 && (o.value = 0, d.value = (L = r.value[0]) == null ? void 0 : L.id), E();
3028
3152
  }
3029
- function J(L) {
3030
- L ? ne() : he();
3153
+ function W(L) {
3154
+ L ? _() : he();
3031
3155
  }
3032
- function ne() {
3033
- var L, R;
3156
+ function _() {
3157
+ var L, j;
3034
3158
  l.multiselect || (s.value = r.value.findIndex(
3035
- (q) => q.getAttribute("data-value") === String(C.value)
3036
- ), !l.multiselect && s.value > -1 && ((L = r.value[s.value]) == null || L.setAttribute("data-selected", ""), (R = r.value[s.value]) == null || R.setAttribute("aria-selected", "true")), o.value = s.value);
3159
+ (q) => q.getAttribute("data-value") === String(k.value)
3160
+ ), !l.multiselect && s.value > -1 && ((L = r.value[s.value]) == null || L.setAttribute("data-selected", ""), (j = r.value[s.value]) == null || j.setAttribute("aria-selected", "true")), o.value = s.value);
3037
3161
  }
3038
3162
  function he() {
3039
3163
  r.value.forEach((L) => {
3040
3164
  L.removeAttribute("data-selected"), L.setAttribute("aria-selected", "false");
3041
- }), F(), s.value = -1, o.value = -1, d.value = null;
3165
+ }), R(), s.value = -1, o.value = -1, d.value = null;
3042
3166
  }
3043
3167
  function ye(L) {
3044
3168
  var q;
3045
3169
  (q = L.querySelector("a")) == null || q.click();
3046
- let R = L.getAttribute("data-value");
3047
- L.getAttribute("data-value-type") === "number" && (R = Number(R)), d.value = L.id, F(), n("optselected", R), n("update:modelValue", R), n("close");
3170
+ let j = L.getAttribute("data-value");
3171
+ L.getAttribute("data-value-type") === "number" && (j = Number(j)), d.value = L.id, R(), n("optselected", j), n("update:modelValue", j), n("close");
3048
3172
  }
3049
3173
  function ke(L) {
3050
3174
  ye(r.value[o.value]), L.preventDefault();
@@ -3067,39 +3191,39 @@ const nn = {
3067
3191
  }
3068
3192
  }
3069
3193
  function se(L) {
3070
- let R;
3194
+ let j;
3071
3195
  switch (L) {
3072
3196
  case "up":
3073
- R = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3197
+ j = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3074
3198
  break;
3075
3199
  case "down":
3076
- R = (o.value + 1) % r.value.length;
3200
+ j = (o.value + 1) % r.value.length;
3077
3201
  break;
3078
3202
  case "home":
3079
- R = 0;
3203
+ j = 0;
3080
3204
  break;
3081
3205
  case "end":
3082
- R = r.value.length - 1;
3206
+ j = r.value.length - 1;
3083
3207
  break;
3084
3208
  }
3085
- Se(R);
3209
+ Se(j);
3086
3210
  }
3087
- function xe(L, R) {
3211
+ function xe(L, j) {
3088
3212
  if (!g.value) return;
3089
- R.keys = L.timeStamp - R.lastTyped > 500 ? L.key : R.keys + L.key, R.lastTyped = L.timeStamp;
3090
- const q = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(R.keys));
3213
+ j.keys = L.timeStamp - j.lastTyped > 500 ? L.key : j.keys + L.key, j.lastTyped = L.timeStamp;
3214
+ const q = r.value.findIndex((Z) => Z.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(j.keys));
3091
3215
  q > -1 && Se(q, !1);
3092
3216
  }
3093
- function Se(L, R = !0) {
3094
- F(), o.value = L, document.activeElement !== i.value && R ? i.value.focus() : A();
3217
+ function Se(L, j = !0) {
3218
+ R(), o.value = L, document.activeElement !== i.value && j ? i.value.focus() : E();
3095
3219
  }
3096
3220
  return a({
3097
3221
  activeIndex: o,
3098
3222
  optionEls: r,
3099
3223
  optionsRef: i,
3100
3224
  refreshOptions: $,
3101
- setCurrentActive: A
3102
- }), (L, R) => (u(), b("ul", {
3225
+ setCurrentActive: E
3226
+ }), (L, j) => (u(), b("ul", {
3103
3227
  ref_key: "optionsRef",
3104
3228
  ref: i,
3105
3229
  "aria-activedescendant": d.value || void 0,
@@ -3111,22 +3235,22 @@ const nn = {
3111
3235
  id: e.optionsId,
3112
3236
  role: "listbox",
3113
3237
  tabindex: c(g) ? 0 : void 0,
3114
- onBlur: F,
3115
- onFocus: _,
3116
- onMousedown: R[0] || (R[0] = wt(() => {
3238
+ onBlur: R,
3239
+ onFocus: F,
3240
+ onMousedown: j[0] || (j[0] = wt(() => {
3117
3241
  }, ["prevent"]))
3118
3242
  }, [
3119
- E(L.$slots, "default")
3120
- ], 40, Vn));
3243
+ V(L.$slots, "default")
3244
+ ], 40, Ln));
3121
3245
  }
3122
- }, En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3246
+ }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3123
3247
  __proto__: null,
3124
3248
  default: Re
3125
- }, Symbol.toStringTag, { value: "Module" })), Ln = { role: "separator" }, Dn = {
3249
+ }, Symbol.toStringTag, { value: "Module" })), Pn = { role: "separator" }, qn = {
3126
3250
  key: 1,
3127
3251
  role: "option",
3128
3252
  "data-no-hover": "true"
3129
- }, Et = {
3253
+ }, Lt = {
3130
3254
  __name: "BsDropdownMultiselect",
3131
3255
  props: {
3132
3256
  focusOnOpen: {
@@ -3160,22 +3284,22 @@ const nn = {
3160
3284
  "uncheck-option"
3161
3285
  ],
3162
3286
  setup(e, { emit: a }) {
3163
- const t = e, l = a, n = I(null), i = I([]), d = I([]), o = f(() => {
3164
- var B, p;
3165
- return ((B = i.value) == null ? void 0 : B.length) && ((p = d.value) == null ? void 0 : p.length);
3287
+ const t = e, l = a, n = w(null), i = w([]), d = w([]), o = f(() => {
3288
+ var I, p;
3289
+ return ((I = i.value) == null ? void 0 : I.length) && ((p = d.value) == null ? void 0 : p.length);
3166
3290
  }), s = f(() => {
3167
- var B, p;
3168
- return ((B = i.value) == null ? void 0 : B.length) || ((p = d.value) == null ? void 0 : p.length);
3291
+ var I, p;
3292
+ return ((I = i.value) == null ? void 0 : I.length) || ((p = d.value) == null ? void 0 : p.length);
3169
3293
  });
3170
3294
  let r = !1;
3171
- j(() => t.options, () => {
3295
+ U(() => t.options, () => {
3172
3296
  v(t.selectedOptions);
3173
- }), j(
3297
+ }), U(
3174
3298
  () => t.selectedOptions,
3175
3299
  v,
3176
3300
  { immediate: !0 }
3177
- ), j(() => t.shown, (B) => {
3178
- B && t.focusOnOpen && Ae(m);
3301
+ ), U(() => t.shown, (I) => {
3302
+ I && t.focusOnOpen && Ae(m);
3179
3303
  });
3180
3304
  function m() {
3181
3305
  n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
@@ -3183,28 +3307,28 @@ const nn = {
3183
3307
  function h() {
3184
3308
  n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
3185
3309
  }
3186
- function v(B = []) {
3187
- const p = new Set(B), S = [], C = [];
3310
+ function v(I = []) {
3311
+ const p = new Set(I), S = [], k = [];
3188
3312
  t.options.forEach(($) => {
3189
- const M = { ...$ }, k = `${t.optionsId}-${$.value}-cb`;
3190
- p.has($.value) ? (M.checkbox = { inputId: k, checked: !0 }, S.push(M)) : (M.checkbox = { inputId: k, checked: !1 }, C.push(M));
3313
+ const M = { ...$ }, T = `${t.optionsId}-${$.value}-cb`;
3314
+ p.has($.value) ? (M.checkbox = { inputId: T, checked: !0 }, S.push(M)) : (M.checkbox = { inputId: T, checked: !1 }, k.push(M));
3191
3315
  }), i.value = S, Ae(() => {
3192
- d.value = C, Ae(() => {
3316
+ d.value = k, Ae(() => {
3193
3317
  r && h(), r = !1;
3194
3318
  });
3195
3319
  });
3196
3320
  }
3197
- function g(B = []) {
3198
- const p = new Set(B), S = [];
3199
- return t.options.forEach((C) => {
3200
- p.has(C.value) && S.push(C.value);
3321
+ function g(I = []) {
3322
+ const p = new Set(I), S = [];
3323
+ return t.options.forEach((k) => {
3324
+ p.has(k.value) && S.push(k.value);
3201
3325
  }), S;
3202
3326
  }
3203
- function y(B) {
3327
+ function y(I) {
3204
3328
  let p = [];
3205
- t.selectedOptions.includes(B) ? (p = t.selectedOptions.filter((S) => S !== B), l("uncheck-option", B)) : (p = g([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", p);
3329
+ t.selectedOptions.includes(I) ? (p = t.selectedOptions.filter((S) => S !== I), l("uncheck-option", I)) : (p = g([...t.selectedOptions, I]), l("check-option", I)), r = !0, l("update:selectedOptions", p);
3206
3330
  }
3207
- return (B, p) => (u(), V(Re, {
3331
+ return (I, p) => (u(), O(Re, {
3208
3332
  ref_key: "optlist",
3209
3333
  ref: n,
3210
3334
  "aria-multiselectable": "true",
@@ -3216,13 +3340,13 @@ const nn = {
3216
3340
  "onUpdate:modelValue": y
3217
3341
  }, {
3218
3342
  default: D(() => [
3219
- s.value ? (u(), b(G, { key: 0 }, [
3343
+ s.value ? (u(), b(K, { key: 0 }, [
3220
3344
  P(qe, {
3221
3345
  options: i.value,
3222
3346
  "show-no-options": !1
3223
3347
  }, null, 8, ["options"]),
3224
- ue(w("li", Ln, p[0] || (p[0] = [
3225
- w("hr", null, null, -1)
3348
+ ue(B("li", Pn, p[0] || (p[0] = [
3349
+ B("hr", null, null, -1)
3226
3350
  ]), 512), [
3227
3351
  [ce, o.value]
3228
3352
  ]),
@@ -3230,19 +3354,19 @@ const nn = {
3230
3354
  options: d.value,
3231
3355
  "show-no-options": !1
3232
3356
  }, null, 8, ["options"])
3233
- ], 64)) : (u(), b("li", Dn, [
3234
- E(B.$slots, "no-options", {}, () => [
3235
- p[1] || (p[1] = W("No options"))
3357
+ ], 64)) : (u(), b("li", qn, [
3358
+ V(I.$slots, "no-options", {}, () => [
3359
+ p[1] || (p[1] = G("No options"))
3236
3360
  ])
3237
3361
  ]))
3238
3362
  ]),
3239
3363
  _: 3
3240
3364
  }, 8, ["label", "options-id", "shown"]));
3241
3365
  }
3242
- }, Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3366
+ }, Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3243
3367
  __proto__: null,
3244
- default: Et
3245
- }, Symbol.toStringTag, { value: "Module" })), qn = {
3368
+ default: Lt
3369
+ }, Symbol.toStringTag, { value: "Module" })), Nn = {
3246
3370
  __name: "BsDropdownWithOptionsNew",
3247
3371
  props: {
3248
3372
  // DROPDOWN PROPS
@@ -3317,7 +3441,7 @@ const nn = {
3317
3441
  "after-leave"
3318
3442
  ],
3319
3443
  setup(e, { emit: a }) {
3320
- const t = a, l = I(!1);
3444
+ const t = a, l = w(!1);
3321
3445
  function n() {
3322
3446
  l.value = !0;
3323
3447
  }
@@ -3327,7 +3451,7 @@ const nn = {
3327
3451
  function d() {
3328
3452
  l.value && (l.value = !1, t("close"));
3329
3453
  }
3330
- return (o, s) => (u(), V(c(lt), {
3454
+ return (o, s) => (u(), O(c(lt), {
3331
3455
  "anchor-id": e.anchorId,
3332
3456
  breakout: e.breakout,
3333
3457
  "container-id": e.containerId,
@@ -3354,7 +3478,7 @@ const nn = {
3354
3478
  onClose: d
3355
3479
  }, {
3356
3480
  default: D(() => [
3357
- E(o.$slots, "default")
3481
+ V(o.$slots, "default")
3358
3482
  ]),
3359
3483
  _: 3
3360
3484
  }, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
@@ -3362,7 +3486,7 @@ const nn = {
3362
3486
  _: 3
3363
3487
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
3364
3488
  }
3365
- }, Lt = {
3489
+ }, Dt = {
3366
3490
  __name: "BsDropdownWithOptions",
3367
3491
  props: {
3368
3492
  anchorId: {
@@ -3480,7 +3604,7 @@ const nn = {
3480
3604
  function r(m) {
3481
3605
  l("optselected", m), l("update:modelValue", m);
3482
3606
  }
3483
- return (m, h) => (u(), V(qn, {
3607
+ return (m, h) => (u(), O(Nn, {
3484
3608
  "anchor-id": o.value,
3485
3609
  breakout: e.breakout,
3486
3610
  "container-id": e.containerId,
@@ -3501,15 +3625,15 @@ const nn = {
3501
3625
  "onUpdate:modelValue": r
3502
3626
  }, {
3503
3627
  default: D(() => [
3504
- E(m.$slots, "default")
3628
+ V(m.$slots, "default")
3505
3629
  ]),
3506
3630
  _: 3
3507
3631
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
3508
3632
  }
3509
- }, Mn = ["data-size"], Nn = { class: "bs-empty-state-icon" }, zn = { class: "bs-empty-state-title" }, Fn = {
3633
+ }, zn = ["data-size"], Fn = { class: "bs-empty-state-icon" }, Rn = { class: "bs-empty-state-title" }, jn = {
3510
3634
  key: 0,
3511
3635
  class: "bs-empty-state-description"
3512
- }, Po = {
3636
+ }, qo = {
3513
3637
  __name: "BsEmptyState",
3514
3638
  props: {
3515
3639
  description: {
@@ -3537,23 +3661,23 @@ const nn = {
3537
3661
  "data-component": "bs-empty-state",
3538
3662
  "data-size": e.size
3539
3663
  }, [
3540
- w("div", Nn, [
3541
- E(l.$slots, "icon", {}, () => [
3542
- (u(), V(te(c(t)), { size: "" }))
3664
+ B("div", Fn, [
3665
+ V(l.$slots, "icon", {}, () => [
3666
+ (u(), O(ae(c(t)), { size: "" }))
3543
3667
  ])
3544
3668
  ]),
3545
- w("div", null, [
3546
- w("p", zn, O(e.title), 1),
3547
- e.size !== "xs" ? (u(), b("p", Fn, [
3548
- E(l.$slots, "description", {}, () => [
3549
- W(O(e.description), 1)
3669
+ B("div", null, [
3670
+ B("p", Rn, A(e.title), 1),
3671
+ e.size !== "xs" ? (u(), b("p", jn, [
3672
+ V(l.$slots, "description", {}, () => [
3673
+ G(A(e.description), 1)
3550
3674
  ])
3551
- ])) : x("", !0),
3552
- E(l.$slots, "call-to-action")
3675
+ ])) : C("", !0),
3676
+ V(l.$slots, "call-to-action")
3553
3677
  ])
3554
- ], 8, Mn));
3678
+ ], 8, zn));
3555
3679
  }
3556
- }, Rn = ["data-absolute", "data-position", "data-shown", "data-size"], jn = { class: "bs-flyout-close-container" }, qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3680
+ }, Wn = ["data-absolute", "data-position", "data-shown", "data-size"], Un = { class: "bs-flyout-close-container" }, Mo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3557
3681
  __name: "BsFlyout",
3558
3682
  props: {
3559
3683
  absolute: {
@@ -3589,18 +3713,18 @@ const nn = {
3589
3713
  },
3590
3714
  emits: ["close"],
3591
3715
  setup(e, { emit: a }) {
3592
- const t = e, l = a, n = I(null), i = f(() => document.getElementById(t.toggleId));
3716
+ const t = e, l = a, n = w(null), i = f(() => document.getElementById(t.toggleId));
3593
3717
  Ct([n, i], d), me(["Escape"], d);
3594
3718
  function d() {
3595
3719
  t.shown && l("close");
3596
3720
  }
3597
- return (o, s) => (u(), V(Pe, {
3721
+ return (o, s) => (u(), O(Pe, {
3598
3722
  name: "bs-flyout",
3599
3723
  preloaded: e.preloaded,
3600
3724
  shown: e.shown
3601
3725
  }, {
3602
3726
  default: D(() => [
3603
- w("div", z({
3727
+ B("div", z({
3604
3728
  ref_key: "flyout",
3605
3729
  ref: n,
3606
3730
  class: "bs-flyout",
@@ -3610,8 +3734,8 @@ const nn = {
3610
3734
  "data-shown": e.shown,
3611
3735
  "data-size": e.size
3612
3736
  }, o.$attrs), [
3613
- w("div", jn, [
3614
- w("button", {
3737
+ B("div", Un, [
3738
+ B("button", {
3615
3739
  type: "button",
3616
3740
  title: "Close",
3617
3741
  "aria-label": "Close",
@@ -3620,30 +3744,30 @@ const nn = {
3620
3744
  P(c($e))
3621
3745
  ])
3622
3746
  ]),
3623
- E(o.$slots, "default")
3624
- ], 16, Rn)
3747
+ V(o.$slots, "default")
3748
+ ], 16, Wn)
3625
3749
  ]),
3626
3750
  _: 3
3627
3751
  }, 8, ["preloaded", "shown"]));
3628
3752
  }
3629
- }), Wn = ["view-box"], Un = ["id"], Gn = ["offset", "stop-color"], Mo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3753
+ }), Gn = ["view-box"], Hn = ["id"], Kn = ["offset", "stop-color"], No = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3630
3754
  __name: "BsIconGradientWrapper",
3631
3755
  setup(e) {
3632
- const a = I(null), t = I(null), l = [
3756
+ const a = w(null), t = w(null), l = [
3633
3757
  { offset: 0.1326, color: "#EE282A" },
3634
3758
  { offset: 0.5466, color: "#1C0087" },
3635
3759
  { offset: 0.9715, color: "#0086EA" }
3636
- ], [n] = Z();
3637
- return H(() => {
3760
+ ], [n] = Q();
3761
+ return Y(() => {
3638
3762
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
3639
- }), (i, d) => (u(), b(G, null, [
3640
- w("span", z({
3763
+ }), (i, d) => (u(), b(K, null, [
3764
+ B("span", z({
3641
3765
  ref_key: "svgWrapperRef",
3642
3766
  ref: a,
3643
3767
  class: "bs-icon-gradient-wrapper",
3644
3768
  style: `fill: url(#${c(n)});`
3645
3769
  }, i.$attrs), [
3646
- E(i.$slots, "default")
3770
+ V(i.$slots, "default")
3647
3771
  ], 16),
3648
3772
  (u(), b("svg", {
3649
3773
  xmlns: "http://www.w3.org/2000/svg",
@@ -3651,7 +3775,7 @@ const nn = {
3651
3775
  width: "0",
3652
3776
  height: "0"
3653
3777
  }, [
3654
- w("linearGradient", {
3778
+ B("linearGradient", {
3655
3779
  id: c(n),
3656
3780
  x1: "0",
3657
3781
  y1: "0",
@@ -3659,16 +3783,16 @@ const nn = {
3659
3783
  y2: "100%",
3660
3784
  "gradient-units": "userSpaceOnUse"
3661
3785
  }, [
3662
- (u(), b(G, null, ee(l, (o) => w("stop", {
3786
+ (u(), b(K, null, te(l, (o) => B("stop", {
3663
3787
  key: o.offset,
3664
3788
  offset: o.offset,
3665
3789
  "stop-color": o.color
3666
- }, null, 8, Gn)), 64))
3667
- ], 8, Un)
3668
- ], 8, Wn))
3790
+ }, null, 8, Kn)), 64))
3791
+ ], 8, Hn)
3792
+ ], 8, Gn))
3669
3793
  ], 64));
3670
3794
  }
3671
- }), No = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3795
+ }), zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3672
3796
  __name: "BsInputField",
3673
3797
  props: {
3674
3798
  /** Sets the disabled state on input, disabled styles on label. */
@@ -3715,25 +3839,25 @@ const nn = {
3715
3839
  },
3716
3840
  emits: ["update:modelValue"],
3717
3841
  setup(e, { emit: a }) {
3718
- const t = e, [l, n] = Z(2), i = f(() => be.concat(t.passAttrs.split(",")).concat("type")), d = f(() => {
3842
+ const t = e, [l, n] = Q(2), i = f(() => be.concat(t.passAttrs.split(",")).concat("type")), d = f(() => {
3719
3843
  var r, m;
3720
3844
  return ((m = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : m.call(r, `
3721
3845
  `)) || t.hints;
3722
3846
  }), o = f(() => t.error && t.errorMsg || t.hint || d.value || void 0), s = f(() => t.inputId || l.value);
3723
- return (r, m) => (u(), b("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3724
- e.label || r.$slots.label ? (u(), V(ae, {
3847
+ return (r, m) => (u(), b("div", z({ "data-component": "bs-input-field" }, c(X)(r.$attrs, i.value).remaining), [
3848
+ e.label || r.$slots.label ? (u(), O(ne, {
3725
3849
  key: 0,
3726
3850
  for: r.$attrs.id || s.value,
3727
3851
  disabled: e.disabled,
3728
3852
  required: e.required
3729
3853
  }, {
3730
3854
  default: D(() => [
3731
- E(r.$slots, "label", {}, () => [
3732
- W(O(e.label), 1)
3855
+ V(r.$slots, "label", {}, () => [
3856
+ G(A(e.label), 1)
3733
3857
  ])
3734
3858
  ]),
3735
3859
  _: 3
3736
- }, 8, ["for", "disabled", "required"])) : x("", !0),
3860
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
3737
3861
  P(Ie, z({
3738
3862
  disabled: e.disabled,
3739
3863
  error: e.error,
@@ -3744,14 +3868,14 @@ const nn = {
3744
3868
  type: e.type,
3745
3869
  value: e.value || e.modelValue,
3746
3870
  "onUpdate:modelValue": m[0] || (m[0] = (h) => r.$emit("update:modelValue", h))
3747
- }, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3748
- o.value ? (u(), V(ge, {
3871
+ }, c(X)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3872
+ o.value ? (u(), O(ge, {
3749
3873
  key: 1,
3750
3874
  error: e.error,
3751
3875
  "error-msg": e.errorMsg,
3752
3876
  hint: e.hint || d.value,
3753
3877
  "hint-id": c(n)
3754
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
3878
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
3755
3879
  ], 16));
3756
3880
  }
3757
3881
  }), mt = {
@@ -3807,8 +3931,8 @@ const nn = {
3807
3931
  * @returns {Country[]} an array of country objects
3808
3932
  */
3809
3933
  initSourceData() {
3810
- return this.data.allCountries || (this.data.allCountries = da().map((e) => {
3811
- const a = ua(e), t = mt[a[0]] + mt[a[1]] || "";
3934
+ return this.data.allCountries || (this.data.allCountries = ua().map((e) => {
3935
+ const a = ca(e), t = mt[a[0]] + mt[a[1]] || "";
3812
3936
  return {
3813
3937
  label: `+${e}`,
3814
3938
  flag: t,
@@ -3822,10 +3946,10 @@ const nn = {
3822
3946
  this.data[e][t[a]] = t;
3823
3947
  }));
3824
3948
  }
3825
- }, Hn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Kn = { key: 0 }, Yn = {
3949
+ }, Yn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Zn = { key: 0 }, Xn = {
3826
3950
  "aria-hidden": "true",
3827
3951
  style: { width: "1.25rem" }
3828
- }, Zn = { "aria-hidden": "true" }, zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3952
+ }, Qn = { "aria-hidden": "true" }, Fo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3829
3953
  __name: "BsInputPhone",
3830
3954
  props: {
3831
3955
  deferValidation: {
@@ -3887,48 +4011,48 @@ const nn = {
3887
4011
  "Escape",
3888
4012
  "Home",
3889
4013
  "Tab"
3890
- ], d = I(null), o = I(1), s = I([]), r = I(null), [
4014
+ ], d = w(null), o = w(1), s = w([]), r = w(null), [
3891
4015
  m,
3892
4016
  h,
3893
4017
  v,
3894
4018
  g
3895
- ] = Z(4), y = I(!1), B = I(""), p = I(""), S = I(!1), C = I(!1), $ = I(!0);
4019
+ ] = Q(4), y = w(!1), I = w(""), p = w(""), S = w(!1), k = w(!1), $ = w(!0);
3896
4020
  a({
3897
4021
  validationErr: S,
3898
4022
  validationErrMsg: p
3899
4023
  });
3900
- const M = f(() => B.value ? `+${o.value}${B.value}` : ""), k = f(() => `Country code: ${o.value}. Click to change.`), A = f(() => $.value ? l.errorMsg || p.value : ""), F = f(() => l.error || S.value), _ = f(() => l.hint || F.value && A.value), J = f(() => $.value && F.value);
3901
- j(M, (q) => {
3902
- n("update:modelValue", q), R(q);
3903
- }), j(() => l.modelValue, ne), xe(), H(() => y.value = !0);
3904
- function ne(q, K) {
3905
- q === "" && q !== K && (B.value = "");
4024
+ const M = f(() => I.value ? `+${o.value}${I.value}` : ""), T = f(() => `Country code: ${o.value}. Click to change.`), E = f(() => $.value ? l.errorMsg || p.value : ""), R = f(() => l.error || S.value), F = f(() => l.hint || R.value && E.value), W = f(() => $.value && R.value);
4025
+ U(M, (q) => {
4026
+ n("update:modelValue", q), j(q);
4027
+ }), U(() => l.modelValue, _), xe(), Y(() => y.value = !0);
4028
+ function _(q, Z) {
4029
+ q === "" && q !== Z && (I.value = "");
3906
4030
  }
3907
4031
  function he() {
3908
4032
  var q;
3909
- C.value && (C.value = !1, (q = d.value) == null || q.focus());
4033
+ k.value && (k.value = !1, (q = d.value) == null || q.focus());
3910
4034
  }
3911
4035
  function ye(q) {
3912
- var K;
3913
- o.value = q, C.value = !1, (K = d.value) == null || K.focus(), L(q);
4036
+ var Z;
4037
+ o.value = q, k.value = !1, (Z = d.value) == null || Z.focus(), L(q);
3914
4038
  }
3915
4039
  function ke() {
3916
4040
  l.deferValidation && ($.value = !0), n("input-blur");
3917
4041
  }
3918
4042
  function Ce(q) {
3919
- B.value = q.target.value, l.deferValidation && ($.value = !1);
4043
+ I.value = q.target.value, l.deferValidation && ($.value = !1);
3920
4044
  }
3921
4045
  function se(q) {
3922
- var K, X;
3923
- !((X = (K = q.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(q.key) && !q.ctrlKey && !q.metaKey && q.preventDefault();
4046
+ var Z, J;
4047
+ !((J = (Z = q.key) == null ? void 0 : Z.match) != null && J.call(Z, /[0-9]/)) && !i.includes(q.key) && !q.ctrlKey && !q.metaKey && q.preventDefault();
3924
4048
  }
3925
4049
  function xe() {
3926
- We.initSourceData(), Se(), L(o.value), R(M.value);
4050
+ We.initSourceData(), Se(), L(o.value), j(M.value);
3927
4051
  }
3928
4052
  function Se() {
3929
- var K, X;
4053
+ var Z, J;
3930
4054
  let q = ut(l.modelValue);
3931
- q.valid || q.countryCode && ((X = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && X.call(K, "+")) ? (o.value = q.countryCode, B.value = q.number.significant) : B.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
4055
+ q.valid || q.countryCode && ((J = (Z = l.modelValue) == null ? void 0 : Z.startsWith) != null && J.call(Z, "+")) ? (o.value = q.countryCode, I.value = q.number.significant) : I.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
3932
4056
  ...Te,
3933
4057
  isSelected: o.value === Te
3934
4058
  }));
@@ -3936,58 +4060,58 @@ const nn = {
3936
4060
  function L(q) {
3937
4061
  r.value = We.getCountryByCountryCode(q);
3938
4062
  }
3939
- function R(q) {
4063
+ function j(q) {
3940
4064
  S.value = q ? !ut(q).valid : !1, p.value = S.value ? "Invalid phone number" : "";
3941
4065
  }
3942
- return (q, K) => (u(), b("div", z({
4066
+ return (q, Z) => (u(), b("div", z({
3943
4067
  class: "bs-input-phone",
3944
4068
  "data-component": "bs-input-phone"
3945
- }, c(Y)(q.$attrs, c(be)).remaining), [
3946
- P(ae, {
4069
+ }, c(X)(q.$attrs, c(be)).remaining), [
4070
+ P(ne, {
3947
4071
  for: q.$attrs.id || e.inputId || c(g),
3948
4072
  required: e.required,
3949
4073
  disabled: e.disabled,
3950
- class: ie({ "visually-hidden": e.hideLabel })
4074
+ class: le({ "visually-hidden": e.hideLabel })
3951
4075
  }, {
3952
4076
  default: D(() => [
3953
- W(O(e.label), 1)
4077
+ G(A(e.label), 1)
3954
4078
  ]),
3955
4079
  _: 1
3956
4080
  }, 8, ["for", "required", "disabled", "class"]),
3957
4081
  P(De, {
3958
4082
  disabled: e.disabled,
3959
- error: J.value,
4083
+ error: W.value,
3960
4084
  multifocus: !0,
3961
4085
  variant: "inner-bordered"
3962
4086
  }, {
3963
4087
  default: D(() => {
3964
- var X;
4088
+ var J;
3965
4089
  return [
3966
- w("button", {
4090
+ B("button", {
3967
4091
  id: c(m),
3968
4092
  ref_key: "countryCodesToggle",
3969
4093
  ref: d,
3970
4094
  "aria-controls": c(h),
3971
- "aria-expanded": C.value,
4095
+ "aria-expanded": k.value,
3972
4096
  "aria-haspopup": "listbox",
3973
- "aria-label": k.value,
4097
+ "aria-label": T.value,
3974
4098
  disabled: e.disabled,
3975
4099
  type: "button",
3976
- onClick: K[0] || (K[0] = (Te) => C.value = !C.value)
4100
+ onClick: Z[0] || (Z[0] = (Te) => k.value = !k.value)
3977
4101
  }, [
3978
- w("span", null, O((X = r.value) == null ? void 0 : X.flag), 1),
3979
- w("span", null, "+" + O(o.value), 1),
3980
- P(c(jt), { size: "sm" })
3981
- ], 8, Hn),
4102
+ B("span", null, A((J = r.value) == null ? void 0 : J.flag), 1),
4103
+ B("span", null, "+" + A(o.value), 1),
4104
+ P(c(Ut), { size: "sm" })
4105
+ ], 8, Yn),
3982
4106
  P(Ie, z({
3983
4107
  "input-id": q.$attrs.id || e.inputId || c(g),
3984
4108
  disabled: e.disabled,
3985
4109
  "hint-id": c(v),
3986
4110
  placeholder: e.placeholder,
3987
- value: B.value,
4111
+ value: I.value,
3988
4112
  "data-autowidth": "",
3989
4113
  type: "tel"
3990
- }, c(Y)(q.$attrs, c(be)).filtered, {
4114
+ }, c(X)(q.$attrs, c(be)).filtered, {
3991
4115
  onInput: Ce,
3992
4116
  onFocusout: ke,
3993
4117
  onKeydown: se
@@ -3997,122 +4121,46 @@ const nn = {
3997
4121
  _: 1
3998
4122
  }, 8, ["disabled", "error"]),
3999
4123
  ue(P(ge, {
4000
- error: F.value,
4001
- "error-msg": A.value,
4124
+ error: R.value,
4125
+ "error-msg": E.value,
4002
4126
  hint: e.hint,
4003
4127
  "hint-id": c(v)
4004
4128
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
4005
- [ce, _.value]
4129
+ [ce, F.value]
4006
4130
  ]),
4007
- y.value ? (u(), b("div", Kn, [
4008
- P(Lt, {
4131
+ y.value ? (u(), b("div", Zn, [
4132
+ P(Dt, {
4009
4133
  "anchor-id": c(m),
4010
4134
  "helper-text": "Country Code",
4011
4135
  label: "Country Code",
4012
4136
  "model-value": o.value,
4013
4137
  "options-id": c(h),
4014
4138
  preloaded: "",
4015
- shown: C.value,
4139
+ shown: k.value,
4016
4140
  width: "content",
4017
4141
  onClose: he,
4018
4142
  "onUpdate:modelValue": ye
4019
4143
  }, {
4020
4144
  default: D(() => [
4021
- y.value ? (u(!0), b(G, { key: 0 }, ee(s.value, (X) => (u(), V(ot, {
4022
- "aria-label": X.value,
4023
- key: X.value,
4024
- value: `${X.value}`,
4145
+ y.value ? (u(!0), b(K, { key: 0 }, te(s.value, (J) => (u(), O(ot, {
4146
+ "aria-label": J.value,
4147
+ key: J.value,
4148
+ value: `${J.value}`,
4025
4149
  variant: "2-col"
4026
4150
  }, {
4027
4151
  default: D(() => [
4028
- w("span", Yn, O(X == null ? void 0 : X.flag), 1),
4029
- w("span", Zn, O(X.label), 1)
4152
+ B("span", Xn, A(J == null ? void 0 : J.flag), 1),
4153
+ B("span", Qn, A(J.label), 1)
4030
4154
  ]),
4031
4155
  _: 2
4032
- }, 1032, ["aria-label", "value"]))), 128)) : x("", !0)
4156
+ }, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
4033
4157
  ]),
4034
4158
  _: 1
4035
4159
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
4036
- ])) : x("", !0)
4160
+ ])) : C("", !0)
4037
4161
  ], 16));
4038
4162
  }
4039
- }), Xn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4040
- __name: "BsInputSearch",
4041
- props: {
4042
- /** Sets the disabled state on input, disabled styles on label. */
4043
- disabled: {
4044
- type: Boolean,
4045
- default: !1
4046
- },
4047
- hideClear: {
4048
- type: Boolean,
4049
- default: !1
4050
- },
4051
- hideSearchIcon: {
4052
- type: Boolean,
4053
- default: !1
4054
- },
4055
- inputId: {
4056
- type: String,
4057
- default: void 0
4058
- },
4059
- modelValue: {
4060
- type: String,
4061
- default: ""
4062
- },
4063
- passAttrs: {
4064
- type: String,
4065
- default: ""
4066
- },
4067
- placeholder: {
4068
- type: String,
4069
- default: "Search Items"
4070
- },
4071
- /** Sets the input value - do not use if using `v-model`. */
4072
- value: {
4073
- type: String,
4074
- default: ""
4075
- },
4076
- variant: {
4077
- type: String,
4078
- // we may be getting at least one more variant so we'll validate against arr
4079
- validator: (e) => ["filter"].includes(e)
4080
- }
4081
- },
4082
- emits: ["clear", "update:modelValue"],
4083
- setup(e, { emit: a }) {
4084
- const t = e, l = f(() => be.concat(t.passAttrs.split(","))), n = f(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4085
- return (i, d) => (u(), V(De, z({
4086
- class: "bs-input-search",
4087
- "data-component": "bs-input-search",
4088
- "data-variant": e.variant,
4089
- disabled: e.disabled
4090
- }, c(Y)(i.$attrs, l.value).remaining), {
4091
- default: D(() => [
4092
- e.hideSearchIcon ? x("", !0) : (u(), V(c(Wt), { key: 0 })),
4093
- P(Ie, z({
4094
- "data-autowidth": "",
4095
- disabled: e.disabled,
4096
- "input-id": i.$attrs.id || e.inputId,
4097
- placeholder: e.placeholder,
4098
- value: e.value || e.modelValue
4099
- }, c(Y)(i.$attrs, l.value).filtered, {
4100
- "onUpdate:modelValue": d[0] || (d[0] = (o) => i.$emit("update:modelValue", o))
4101
- }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
4102
- ue(w("button", {
4103
- title: "Clear",
4104
- type: "button",
4105
- onClick: d[1] || (d[1] = (o) => i.$emit("clear"))
4106
- }, [
4107
- P(c($e), { size: "sm" })
4108
- ], 512), [
4109
- [ce, n.value]
4110
- ])
4111
- ]),
4112
- _: 1
4113
- }, 16, ["data-variant", "disabled"]));
4114
- }
4115
- }), Qn = ["data-size", "data-variant"], Jn = ["stroke"], _n = { key: 0 }, bt = {
4163
+ }), Jn = ["data-size", "data-variant"], _n = ["stroke"], el = { key: 0 }, bt = {
4116
4164
  __name: "BsSpinner",
4117
4165
  props: {
4118
4166
  label: {
@@ -4139,24 +4187,24 @@ const nn = {
4139
4187
  viewBox: "0 0 100 100",
4140
4188
  xmlns: "http://www.w3.org/2000/svg"
4141
4189
  }, [
4142
- w("title", null, O(e.label), 1),
4143
- w("circle", {
4190
+ B("title", null, A(e.label), 1),
4191
+ B("circle", {
4144
4192
  cx: "50",
4145
4193
  cy: "50",
4146
4194
  pathLength: "100",
4147
4195
  r: "45",
4148
4196
  stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
4149
- }, null, 8, Jn),
4150
- e.variant === "gradient" ? (u(), b("defs", _n, t[0] || (t[0] = [
4151
- w("linearGradient", { id: "bs-spinner-gradient" }, [
4152
- w("stop", { offset: "0%" }),
4153
- w("stop", { offset: "49%" }),
4154
- w("stop", { offset: "100%" })
4197
+ }, null, 8, _n),
4198
+ e.variant === "gradient" ? (u(), b("defs", el, t[0] || (t[0] = [
4199
+ B("linearGradient", { id: "bs-spinner-gradient" }, [
4200
+ B("stop", { offset: "0%" }),
4201
+ B("stop", { offset: "49%" }),
4202
+ B("stop", { offset: "100%" })
4155
4203
  ], -1)
4156
- ]))) : x("", !0)
4157
- ], 8, Qn));
4204
+ ]))) : C("", !0)
4205
+ ], 8, Jn));
4158
4206
  }
4159
- }, el = ["id"], tl = { style: { display: "flex", "justify-content": "center" } }, al = { style: { display: "flex", "justify-content": "center" } }, Fo = {
4207
+ }, tl = ["id"], al = { style: { display: "flex", "justify-content": "center" } }, nl = { style: { display: "flex", "justify-content": "center" } }, Ro = {
4160
4208
  __name: "BsInputTypeahead",
4161
4209
  props: {
4162
4210
  characterThreshold: {
@@ -4228,30 +4276,30 @@ const nn = {
4228
4276
  },
4229
4277
  emits: ["update:inputValue", "update:optionsValue"],
4230
4278
  setup(e, { emit: a }) {
4231
- const t = e, l = a, n = I(!1), i = I(!1), [d] = Z();
4279
+ const t = e, l = a, n = w(!1), i = w(!1), [d] = Q();
4232
4280
  let o = [];
4233
- j(() => t.inputValue, () => {
4281
+ U(() => t.inputValue, () => {
4234
4282
  i.value ? i.value = !1 : p();
4235
4283
  });
4236
4284
  const s = f(() => t.typeaheadId || d.value), r = f(() => `${s.value}-input-container`), m = f(() => `${s.value}-input`), h = f(() => `${s.value}-options`), v = f(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), g = f(() => {
4237
4285
  if (n.value) {
4238
- let k = t.options;
4239
- const A = t.inputValue.toLowerCase(), F = t.filterType === "includes" ? "includes" : "startsWith";
4240
- return t.inputValue.length >= t.characterThreshold && (k = y(k, A, F), k = k.slice(0, t.maxOptions), k = B(k, A, F), o = k), k;
4286
+ let T = t.options;
4287
+ const E = t.inputValue.toLowerCase(), R = t.filterType === "includes" ? "includes" : "startsWith";
4288
+ return t.inputValue.length >= t.characterThreshold && (T = y(T, E, R), T = T.slice(0, t.maxOptions), T = I(T, E, R), o = T), T;
4241
4289
  } else
4242
4290
  return o;
4243
4291
  });
4244
- function y(k, A, F) {
4245
- return t.internalFiltering ? k.filter((_) => _.label.toLowerCase()[F](A)) : k;
4246
- }
4247
- function B(k, A, F) {
4248
- return k.map((_) => {
4249
- let J = _.label;
4250
- if (A !== "") {
4251
- const ne = F === "includes" ? "gi" : "i", he = new RegExp(`(${A})`, ne);
4252
- J = _.label.replace(he, '<span style="color: var(--bs-blue-base)">$1</span>');
4292
+ function y(T, E, R) {
4293
+ return t.internalFiltering ? T.filter((F) => F.label.toLowerCase()[R](E)) : T;
4294
+ }
4295
+ function I(T, E, R) {
4296
+ return T.map((F) => {
4297
+ let W = F.label;
4298
+ if (E !== "") {
4299
+ const _ = R === "includes" ? "gi" : "i", he = new RegExp(`(${E})`, _);
4300
+ W = F.label.replace(he, '<span style="color: var(--bs-blue-base)">$1</span>');
4253
4301
  }
4254
- return { ..._, labelHtml: J };
4302
+ return { ...F, labelHtml: W };
4255
4303
  });
4256
4304
  }
4257
4305
  function p() {
@@ -4260,38 +4308,38 @@ const nn = {
4260
4308
  function S() {
4261
4309
  l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(m.value).focus();
4262
4310
  }
4263
- function C(k) {
4311
+ function k(T) {
4264
4312
  i.value = !0;
4265
- const A = g.value.find((F) => F.value === k);
4266
- l("update:inputValue", A.label), l("update:optionsValue", k);
4313
+ const E = g.value.find((R) => R.value === T);
4314
+ l("update:inputValue", E.label), l("update:optionsValue", T);
4267
4315
  }
4268
- function $(k) {
4269
- const A = [...v.value, k];
4270
- l("update:optionsValue", A);
4316
+ function $(T) {
4317
+ const E = [...v.value, T];
4318
+ l("update:optionsValue", E);
4271
4319
  }
4272
- function M(k) {
4273
- const A = v.value.filter((F) => F !== k);
4274
- l("update:optionsValue", A);
4320
+ function M(T) {
4321
+ const E = v.value.filter((R) => R !== T);
4322
+ l("update:optionsValue", E);
4275
4323
  }
4276
- return (k, A) => (u(), b(G, null, [
4277
- e.label || k.$slots.label ? (u(), V(ae, {
4324
+ return (T, E) => (u(), b(K, null, [
4325
+ e.label || T.$slots.label ? (u(), O(ne, {
4278
4326
  key: 0,
4279
4327
  for: m.value,
4280
4328
  disabled: e.disabled,
4281
4329
  required: e.required
4282
4330
  }, {
4283
4331
  default: D(() => [
4284
- E(k.$slots, "label", {}, () => [
4285
- W(O(e.label), 1)
4332
+ V(T.$slots, "label", {}, () => [
4333
+ G(A(e.label), 1)
4286
4334
  ])
4287
4335
  ]),
4288
4336
  _: 3
4289
- }, 8, ["for", "disabled", "required"])) : x("", !0),
4290
- w("div", {
4337
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
4338
+ B("div", {
4291
4339
  id: r.value,
4292
4340
  class: "typeahead-search-wrapper"
4293
4341
  }, [
4294
- P(Xn, z({
4342
+ P(Ot, z({
4295
4343
  "aria-controls": h.value,
4296
4344
  "aria-expanded": n.value,
4297
4345
  "aria-haspopup": "listbox",
@@ -4304,22 +4352,22 @@ const nn = {
4304
4352
  placeholder: e.placeholder,
4305
4353
  role: "combobox",
4306
4354
  value: e.inputValue
4307
- }, k.$attrs, {
4355
+ }, T.$attrs, {
4308
4356
  onClear: S,
4309
4357
  onFocusin: p,
4310
- "onUpdate:modelValue": A[0] || (A[0] = (F) => l("update:inputValue", F))
4358
+ "onUpdate:modelValue": E[0] || (E[0] = (R) => l("update:inputValue", R))
4311
4359
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
4312
- ], 8, el),
4360
+ ], 8, tl),
4313
4361
  P(lt, {
4314
4362
  "anchor-id": r.value,
4315
4363
  preloaded: !0,
4316
4364
  shown: n.value,
4317
4365
  "use-mobile-style": !1,
4318
4366
  width: "toggle",
4319
- onClose: A[2] || (A[2] = (F) => n.value = !1)
4367
+ onClose: E[2] || (E[2] = (R) => n.value = !1)
4320
4368
  }, {
4321
4369
  default: D(() => [
4322
- e.multiselect ? (u(), V(Et, {
4370
+ e.multiselect ? (u(), O(Lt, {
4323
4371
  key: 0,
4324
4372
  "focus-on-open": !1,
4325
4373
  label: e.label,
@@ -4333,7 +4381,7 @@ const nn = {
4333
4381
  e.loading ? {
4334
4382
  name: "no-options",
4335
4383
  fn: D(() => [
4336
- w("span", tl, [
4384
+ B("span", al, [
4337
4385
  P(bt, { size: "sm" })
4338
4386
  ])
4339
4387
  ]),
@@ -4341,25 +4389,25 @@ const nn = {
4341
4389
  } : {
4342
4390
  name: "no-options",
4343
4391
  fn: D(() => [
4344
- A[3] || (A[3] = W("No results found"))
4392
+ E[3] || (E[3] = G("No results found"))
4345
4393
  ]),
4346
4394
  key: "1"
4347
4395
  }
4348
- ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), V(Re, {
4396
+ ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), O(Re, {
4349
4397
  key: 1,
4350
4398
  label: e.label,
4351
4399
  "model-value": v.value,
4352
4400
  "options-id": h.value,
4353
4401
  shown: n.value,
4354
- "onUpdate:modelValue": C,
4355
- onClose: A[1] || (A[1] = (F) => n.value = !1)
4402
+ "onUpdate:modelValue": k,
4403
+ onClose: E[1] || (E[1] = (R) => n.value = !1)
4356
4404
  }, {
4357
4405
  default: D(() => [
4358
4406
  P(qe, { options: g.value }, Ze({ _: 2 }, [
4359
4407
  e.loading ? {
4360
4408
  name: "no-options",
4361
4409
  fn: D(() => [
4362
- w("span", al, [
4410
+ B("span", nl, [
4363
4411
  P(bt, { size: "sm" })
4364
4412
  ])
4365
4413
  ]),
@@ -4367,7 +4415,7 @@ const nn = {
4367
4415
  } : {
4368
4416
  name: "no-options",
4369
4417
  fn: D(() => [
4370
- A[4] || (A[4] = W("No results found"))
4418
+ E[4] || (E[4] = G("No results found"))
4371
4419
  ]),
4372
4420
  key: "1"
4373
4421
  }
@@ -4380,7 +4428,7 @@ const nn = {
4380
4428
  }, 8, ["anchor-id", "shown"])
4381
4429
  ], 64));
4382
4430
  }
4383
- }, nl = ["data-size", "data-variant"], Ro = {
4431
+ }, ll = ["data-size", "data-variant"], jo = {
4384
4432
  __name: "BsLoader",
4385
4433
  props: {
4386
4434
  size: {
@@ -4400,14 +4448,14 @@ const nn = {
4400
4448
  "data-variant": e.variant,
4401
4449
  role: "status"
4402
4450
  }, t[0] || (t[0] = [
4403
- w("span", null, null, -1),
4404
- w("span", null, null, -1),
4405
- w("span", null, null, -1),
4406
- w("span", null, null, -1),
4407
- w("span", { class: "visually-hidden" }, "Loading", -1)
4408
- ]), 8, nl));
4451
+ B("span", null, null, -1),
4452
+ B("span", null, null, -1),
4453
+ B("span", null, null, -1),
4454
+ B("span", null, null, -1),
4455
+ B("span", { class: "visually-hidden" }, "Loading", -1)
4456
+ ]), 8, ll));
4409
4457
  }
4410
- }, ll = ["data-shown"], ol = {
4458
+ }, ol = ["data-shown"], il = {
4411
4459
  __name: "BsOverlay",
4412
4460
  props: {
4413
4461
  shown: {
@@ -4437,15 +4485,15 @@ const nn = {
4437
4485
  emits: ["after-enter", "after-leave"],
4438
4486
  setup(e, { emit: a }) {
4439
4487
  const t = e, l = a, { transition: n } = Le(t);
4440
- H(() => {
4488
+ Y(() => {
4441
4489
  i();
4442
- }), j(n, () => {
4490
+ }), U(n, () => {
4443
4491
  i();
4444
4492
  });
4445
4493
  function i() {
4446
4494
  n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
4447
4495
  }
4448
- return (d, o) => (u(), V(Pe, {
4496
+ return (d, o) => (u(), O(Pe, {
4449
4497
  name: "bs-overlay",
4450
4498
  shown: c(n),
4451
4499
  preloaded: e.preloaded,
@@ -4453,15 +4501,15 @@ const nn = {
4453
4501
  onAfterLeave: o[1] || (o[1] = (s) => l("after-leave"))
4454
4502
  }, {
4455
4503
  default: D(() => [
4456
- w("div", {
4504
+ B("div", {
4457
4505
  class: "bs-overlay",
4458
4506
  "data-shown": c(n)
4459
- }, null, 8, ll)
4507
+ }, null, 8, ol)
4460
4508
  ]),
4461
4509
  _: 1
4462
4510
  }, 8, ["shown", "preloaded"]));
4463
4511
  }
4464
- }, il = ["id", "role", "aria-labelledby", "data-shown"], rl = ["id"], jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4512
+ }, rl = ["id", "role", "aria-labelledby", "data-shown"], sl = ["id"], Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4465
4513
  __name: "BsModal",
4466
4514
  props: {
4467
4515
  modalId: {
@@ -4506,12 +4554,12 @@ const nn = {
4506
4554
  },
4507
4555
  emits: ["close", "after-enter", "after-leave"],
4508
4556
  setup(e, { emit: a }) {
4509
- const t = e, l = a, { transition: n } = Le(t), [i] = Z();
4557
+ const t = e, l = a, { transition: n } = Le(t), [i] = Q();
4510
4558
  let d = !1;
4511
- const o = I(null), s = (h) => {
4559
+ const o = w(null), s = (h) => {
4512
4560
  o.value && h.target.closest(".bs-overlay") && l("close", t.modalId);
4513
4561
  };
4514
- H(() => {
4562
+ Y(() => {
4515
4563
  document.addEventListener("click", s);
4516
4564
  }), Be(() => {
4517
4565
  document.removeEventListener("click", s);
@@ -4519,8 +4567,8 @@ const nn = {
4519
4567
  d && l("close", t.modalId);
4520
4568
  });
4521
4569
  const r = () => !t.title && t.closeButton, m = () => t.title && t.closeButton;
4522
- return (h, v) => (u(), b(G, null, [
4523
- P(ol, {
4570
+ return (h, v) => (u(), b(K, null, [
4571
+ P(il, {
4524
4572
  shown: c(n),
4525
4573
  preloaded: e.preloaded,
4526
4574
  "enter-controlled": e.enterControlled,
@@ -4533,10 +4581,10 @@ const nn = {
4533
4581
  shown: c(n),
4534
4582
  onAfterEnter: v[1] || (v[1] = (g) => l("after-enter")),
4535
4583
  onAfterLeave: v[2] || (v[2] = (g) => l("after-leave")),
4536
- onEnter: v[3] || (v[3] = (g) => zt(d) ? d.value = !0 : d = !0)
4584
+ onEnter: v[3] || (v[3] = (g) => Ft(d) ? d.value = !0 : d = !0)
4537
4585
  }, {
4538
4586
  default: D(() => [
4539
- w("div", z({
4587
+ B("div", z({
4540
4588
  id: e.modalId,
4541
4589
  class: "bs-modal",
4542
4590
  "data-component": "bs-modal",
@@ -4550,7 +4598,7 @@ const nn = {
4550
4598
  }), [
4551
4599
  e.title || e.closeButton ? (u(), b("header", {
4552
4600
  key: 0,
4553
- class: ie({
4601
+ class: le({
4554
4602
  "only-close-button-modal-header": r,
4555
4603
  "modal-header": m
4556
4604
  })
@@ -4559,7 +4607,7 @@ const nn = {
4559
4607
  key: 0,
4560
4608
  id: c(i),
4561
4609
  class: "modal-title"
4562
- }, O(e.title), 9, rl)) : x("", !0),
4610
+ }, A(e.title), 9, sl)) : C("", !0),
4563
4611
  e.closeButton ? (u(), b("button", {
4564
4612
  key: 1,
4565
4613
  type: "button",
@@ -4568,25 +4616,25 @@ const nn = {
4568
4616
  onClick: v[0] || (v[0] = (g) => l("close", e.modalId))
4569
4617
  }, [
4570
4618
  P(c($e), { class: "close-button" })
4571
- ])) : x("", !0)
4572
- ], 2)) : x("", !0),
4573
- E(h.$slots, "default")
4574
- ], 16, il)
4619
+ ])) : C("", !0)
4620
+ ], 2)) : C("", !0),
4621
+ V(h.$slots, "default")
4622
+ ], 16, rl)
4575
4623
  ]),
4576
4624
  _: 3
4577
4625
  }, 8, ["preloaded", "shown"])
4578
4626
  ], 64));
4579
4627
  }
4580
- }), sl = ["data-variant", "data-fixed"], dl = {
4628
+ }), dl = ["data-variant", "data-fixed"], ul = {
4581
4629
  key: 0,
4582
4630
  class: "bs-pagination-carets"
4583
- }, ul = ["aria-label", "title", "disabled"], cl = { key: 0 }, fl = ["aria-label", "title", "disabled"], pl = { key: 0 }, ml = {
4631
+ }, cl = ["aria-label", "title", "disabled"], fl = { key: 0 }, pl = ["aria-label", "title", "disabled"], ml = { key: 0 }, bl = {
4584
4632
  key: 1,
4585
4633
  class: "bs-pagination-page-numbers"
4586
- }, bl = ["title", "data-selected", "onClick"], hl = { key: 2 }, vl = { key: 3 }, gl = { class: "bs-pagination-results-numbers" }, yl = ["data-selected", "disabled", "onClick"], Sl = {
4634
+ }, hl = ["title", "data-selected", "onClick"], vl = { key: 2 }, gl = { key: 3 }, yl = { class: "bs-pagination-results-numbers" }, Sl = ["data-selected", "disabled", "onClick"], wl = {
4587
4635
  key: 5,
4588
4636
  class: "bs-pagination-carets"
4589
- }, wl = ["aria-label", "title", "disabled"], Bl = { key: 0 }, $l = ["aria-label", "title", "disabled"], Il = { key: 0 }, Wo = {
4637
+ }, Bl = ["aria-label", "title", "disabled"], $l = { key: 0 }, Il = ["aria-label", "title", "disabled"], kl = { key: 0 }, Uo = {
4590
4638
  __name: "BsPagination",
4591
4639
  props: {
4592
4640
  // Used for all
@@ -4672,16 +4720,16 @@ const nn = {
4672
4720
  },
4673
4721
  emits: ["selchange", "update:modelValue"],
4674
4722
  setup(e, { emit: a }) {
4675
- const t = e, l = a, n = I(null);
4676
- H(() => {
4677
- i.value ? n.value = i.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
4723
+ const t = e, l = a, n = w(null);
4724
+ Y(() => {
4725
+ i.value ? n.value = i.value : t.variant === "results" ? n.value = I.value[0] : n.value = 1;
4678
4726
  });
4679
4727
  const i = f(() => t.modelValue || t.selection);
4680
- j(() => t.selection, (p) => {
4728
+ U(() => t.selection, (p) => {
4681
4729
  n.value = p;
4682
- }), j(() => t.modelValue, (p) => {
4730
+ }), U(() => t.modelValue, (p) => {
4683
4731
  n.value = p;
4684
- }), j(n, (p, S) => {
4732
+ }), U(n, (p, S) => {
4685
4733
  S !== null && (l("selchange", p), l("update:modelValue", p));
4686
4734
  });
4687
4735
  const d = f(() => {
@@ -4709,97 +4757,97 @@ const nn = {
4709
4757
  if (t.pageCount <= t.pageRange)
4710
4758
  return [...Array(t.pageCount + 1).keys()].slice(1);
4711
4759
  const p = [1], S = (t.pageRange - 1) / 2;
4712
- let C = n.value - S, $ = n.value + S;
4713
- C < 1 && ($ += 1 - C, C = 1), $ > t.pageCount && (C -= $ - t.pageCount, $ = t.pageCount), C = Math.max(C, 2), $ = Math.min($, t.pageCount - 1), C > 2 && p.push(t.breakText);
4714
- for (let M = C; M <= $; M++)
4760
+ let k = n.value - S, $ = n.value + S;
4761
+ k < 1 && ($ += 1 - k, k = 1), $ > t.pageCount && (k -= $ - t.pageCount, $ = t.pageCount), k = Math.max(k, 2), $ = Math.min($, t.pageCount - 1), k > 2 && p.push(t.breakText);
4762
+ for (let M = k; M <= $; M++)
4715
4763
  p.push(M);
4716
4764
  return $ < t.pageCount - 1 && p.push(t.breakText), p.push(t.pageCount), p;
4717
4765
  }), g = f(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), y = f(() => {
4718
4766
  const p = (n.value - 1) * t.itemsPerGroup + 1, S = Math.min(p - 1 + t.itemsPerGroup, t.itemsCount);
4719
4767
  return `${t.centerLabel ?? "Results"} ${p} - ${S} of ${t.itemsCount}`;
4720
- }), B = f(() => t.resultsIncrements.split(",").map((p) => parseInt(p)));
4768
+ }), I = f(() => t.resultsIncrements.split(",").map((p) => parseInt(p)));
4721
4769
  return (p, S) => (u(), b("div", {
4722
4770
  class: "bs-pagination",
4723
4771
  "data-component": "bs-pagination",
4724
4772
  "data-variant": o.value,
4725
4773
  "data-fixed": t.fixed
4726
4774
  }, [
4727
- e.variant === "base" || e.variant === "group" ? (u(), b("div", dl, [
4775
+ e.variant === "base" || e.variant === "group" ? (u(), b("div", ul, [
4728
4776
  e.showFirstLastButtons ? (u(), b("button", {
4729
4777
  key: 0,
4730
4778
  type: "button",
4731
- class: ie(e.firstPageText ? "bs-pagination-word-caret" : void 0),
4779
+ class: le(e.firstPageText ? "bs-pagination-word-caret" : void 0),
4732
4780
  "aria-label": e.firstPageText ? void 0 : "First Page",
4733
4781
  title: e.firstPageText,
4734
4782
  disabled: n.value === 1,
4735
4783
  onClick: s
4736
4784
  }, [
4737
- P(c(Ut)),
4738
- e.firstPageText ? (u(), b("span", cl, O(e.firstPageText), 1)) : x("", !0)
4739
- ], 10, ul)) : x("", !0),
4740
- w("button", {
4785
+ P(c(Gt)),
4786
+ e.firstPageText ? (u(), b("span", fl, A(e.firstPageText), 1)) : C("", !0)
4787
+ ], 10, cl)) : C("", !0),
4788
+ B("button", {
4741
4789
  type: "button",
4742
- class: ie(e.prevPageText ? "bs-pagination-word-caret" : void 0),
4790
+ class: le(e.prevPageText ? "bs-pagination-word-caret" : void 0),
4743
4791
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
4744
4792
  title: e.prevPageText,
4745
4793
  disabled: n.value === 1,
4746
4794
  onClick: r
4747
4795
  }, [
4748
4796
  P(c(It)),
4749
- e.prevPageText ? (u(), b("span", pl, O(e.prevPageText), 1)) : x("", !0)
4750
- ], 10, fl)
4751
- ])) : x("", !0),
4752
- e.variant === "base" && e.centerDisplay === "numbers" ? (u(), b("div", ml, [
4753
- (u(!0), b(G, null, ee(v.value, (C) => (u(), b("button", {
4754
- key: `page-${C}-button`,
4797
+ e.prevPageText ? (u(), b("span", ml, A(e.prevPageText), 1)) : C("", !0)
4798
+ ], 10, pl)
4799
+ ])) : C("", !0),
4800
+ e.variant === "base" && e.centerDisplay === "numbers" ? (u(), b("div", bl, [
4801
+ (u(!0), b(K, null, te(v.value, (k) => (u(), b("button", {
4802
+ key: `page-${k}-button`,
4755
4803
  type: "button",
4756
- title: `Page ${C}`,
4757
- "data-selected": C === n.value,
4758
- onClick: ($) => n.value = C
4759
- }, O(C), 9, bl))), 128))
4760
- ])) : x("", !0),
4761
- t.variant === "base" && t.centerDisplay === "text" ? (u(), b("span", hl, O(g.value), 1)) : x("", !0),
4762
- t.variant === "group" ? (u(), b("span", vl, O(y.value), 1)) : x("", !0),
4763
- t.variant === "results" ? (u(), b(G, { key: 4 }, [
4764
- S[0] || (S[0] = w("span", null, "Results Per Page:", -1)),
4765
- w("div", gl, [
4766
- (u(!0), b(G, null, ee(B.value, (C) => (u(), b("button", {
4804
+ title: `Page ${k}`,
4805
+ "data-selected": k === n.value,
4806
+ onClick: ($) => n.value = k
4807
+ }, A(k), 9, hl))), 128))
4808
+ ])) : C("", !0),
4809
+ t.variant === "base" && t.centerDisplay === "text" ? (u(), b("span", vl, A(g.value), 1)) : C("", !0),
4810
+ t.variant === "group" ? (u(), b("span", gl, A(y.value), 1)) : C("", !0),
4811
+ t.variant === "results" ? (u(), b(K, { key: 4 }, [
4812
+ S[0] || (S[0] = B("span", null, "Results Per Page:", -1)),
4813
+ B("div", yl, [
4814
+ (u(!0), b(K, null, te(I.value, (k) => (u(), b("button", {
4767
4815
  type: "button",
4768
- key: `results-${C}`,
4769
- "data-selected": C === n.value,
4770
- disabled: n.value === C,
4771
- onClick: ($) => n.value = C
4772
- }, O(C), 9, yl))), 128))
4816
+ key: `results-${k}`,
4817
+ "data-selected": k === n.value,
4818
+ disabled: n.value === k,
4819
+ onClick: ($) => n.value = k
4820
+ }, A(k), 9, Sl))), 128))
4773
4821
  ])
4774
- ], 64)) : x("", !0),
4775
- e.variant === "base" || e.variant === "group" ? (u(), b("div", Sl, [
4776
- w("button", {
4822
+ ], 64)) : C("", !0),
4823
+ e.variant === "base" || e.variant === "group" ? (u(), b("div", wl, [
4824
+ B("button", {
4777
4825
  type: "button",
4778
- class: ie(e.nextPageText ? "bs-pagination-word-caret" : void 0),
4826
+ class: le(e.nextPageText ? "bs-pagination-word-caret" : void 0),
4779
4827
  "aria-label": e.nextPageText ? void 0 : "Next Page",
4780
4828
  title: e.nextPageText,
4781
4829
  disabled: n.value === d.value,
4782
4830
  onClick: m
4783
4831
  }, [
4784
- e.nextPageText ? (u(), b("span", Bl, O(e.nextPageText), 1)) : x("", !0),
4832
+ e.nextPageText ? (u(), b("span", $l, A(e.nextPageText), 1)) : C("", !0),
4785
4833
  P(c($t))
4786
- ], 10, wl),
4834
+ ], 10, Bl),
4787
4835
  e.showFirstLastButtons ? (u(), b("button", {
4788
4836
  key: 0,
4789
4837
  type: "button",
4790
- class: ie(e.lastPageText ? "bs-pagination-word-caret" : void 0),
4838
+ class: le(e.lastPageText ? "bs-pagination-word-caret" : void 0),
4791
4839
  "aria-label": e.lastPageText ? void 0 : "Last Page",
4792
4840
  title: e.lastPageText,
4793
4841
  disabled: n.value === d.value,
4794
4842
  onClick: h
4795
4843
  }, [
4796
- e.lastPageText ? (u(), b("span", Il, O(e.lastPageText), 1)) : x("", !0),
4797
- P(c(Gt))
4798
- ], 10, $l)) : x("", !0)
4799
- ])) : x("", !0)
4800
- ], 8, sl));
4844
+ e.lastPageText ? (u(), b("span", kl, A(e.lastPageText), 1)) : C("", !0),
4845
+ P(c(Ht))
4846
+ ], 10, Il)) : C("", !0)
4847
+ ])) : C("", !0)
4848
+ ], 8, dl));
4801
4849
  }
4802
- }, kl = ["data-truncate"], Uo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4850
+ }, Cl = ["data-truncate"], Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4803
4851
  __name: "BsPill",
4804
4852
  props: {
4805
4853
  active: { type: Boolean, default: !1 },
@@ -4824,7 +4872,7 @@ const nn = {
4824
4872
  },
4825
4873
  setup(e) {
4826
4874
  const a = e, { onLinkClick: t } = Fe(a), l = re(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, l, "span");
4827
- return (o, s) => (u(), V(te(c(n)), z({
4875
+ return (o, s) => (u(), O(ae(c(n)), z({
4828
4876
  class: "bs-pill",
4829
4877
  "data-active": e.active,
4830
4878
  "data-component": "bs-pill",
@@ -4834,27 +4882,27 @@ const nn = {
4834
4882
  ".href": c(d)
4835
4883
  }, c(i), { onClick: c(t) }), {
4836
4884
  default: D(() => [
4837
- w("span", { "data-truncate": e.truncate }, [
4838
- E(o.$slots, "default")
4839
- ], 8, kl)
4885
+ B("span", { "data-truncate": e.truncate }, [
4886
+ V(o.$slots, "default")
4887
+ ], 8, Cl)
4840
4888
  ]),
4841
4889
  _: 3
4842
4890
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
4843
4891
  }
4844
- }), Cl = {
4892
+ }), xl = {
4845
4893
  class: "bs-profile-details",
4846
4894
  "data-component": "bs-profile-details"
4847
- }, xl = {
4895
+ }, Tl = {
4848
4896
  class: "bs-profile-name",
4849
4897
  "data-size": "sm",
4850
4898
  "data-weight": "bold"
4851
- }, Tl = {
4899
+ }, Al = {
4852
4900
  key: 1,
4853
4901
  "data-weight": "bold"
4854
- }, Al = { key: 2 }, Ol = { key: 3 }, Vl = {
4902
+ }, Ol = { key: 2 }, Vl = { key: 3 }, El = {
4855
4903
  key: 4,
4856
4904
  "data-icon": "true"
4857
- }, El = {
4905
+ }, Ll = {
4858
4906
  __name: "BsProfileDetails",
4859
4907
  props: {
4860
4908
  profileName: {
@@ -4875,36 +4923,36 @@ const nn = {
4875
4923
  function d(o) {
4876
4924
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
4877
4925
  }
4878
- return (o, s) => (u(), b("div", Cl, [
4926
+ return (o, s) => (u(), b("div", xl, [
4879
4927
  e.action || o.$slots.action ? (u(), b("button", {
4880
4928
  key: 0,
4881
4929
  "data-icon": "true",
4882
4930
  onClick: d
4883
4931
  }, [
4884
- E(o.$slots, "action", {}, () => [
4885
- e.actionIcon ? (u(), V(te(c(n) ? c(n) : "span"), {
4932
+ V(o.$slots, "action", {}, () => [
4933
+ e.actionIcon ? (u(), O(ae(c(n) ? c(n) : "span"), {
4886
4934
  key: 0,
4887
4935
  class: "bs-icon"
4888
- })) : x("", !0),
4889
- W(" " + O(e.action), 1)
4936
+ })) : C("", !0),
4937
+ G(" " + A(e.action), 1)
4890
4938
  ])
4891
- ])) : x("", !0),
4892
- w("span", xl, O(e.profileName), 1),
4893
- e.company ? (u(), b("span", Tl, O(e.company), 1)) : x("", !0),
4894
- e.jobTitle ? (u(), b("span", Al, O(e.jobTitle), 1)) : x("", !0),
4895
- e.email ? (u(), b("span", Ol, O(e.email), 1)) : x("", !0),
4896
- e.miscMeta || o.$slots.misc ? (u(), b("span", Vl, [
4897
- E(o.$slots, "misc", {}, () => [
4898
- e.miscMetaIcon ? (u(), V(te(c(i) ? c(i) : "span"), {
4939
+ ])) : C("", !0),
4940
+ B("span", Tl, A(e.profileName), 1),
4941
+ e.company ? (u(), b("span", Al, A(e.company), 1)) : C("", !0),
4942
+ e.jobTitle ? (u(), b("span", Ol, A(e.jobTitle), 1)) : C("", !0),
4943
+ e.email ? (u(), b("span", Vl, A(e.email), 1)) : C("", !0),
4944
+ e.miscMeta || o.$slots.misc ? (u(), b("span", El, [
4945
+ V(o.$slots, "misc", {}, () => [
4946
+ e.miscMetaIcon ? (u(), O(ae(c(i) ? c(i) : "span"), {
4899
4947
  key: 0,
4900
4948
  class: "bs-icon"
4901
- })) : x("", !0),
4902
- W(" " + O(e.miscMeta), 1)
4949
+ })) : C("", !0),
4950
+ G(" " + A(e.miscMeta), 1)
4903
4951
  ])
4904
- ])) : x("", !0)
4952
+ ])) : C("", !0)
4905
4953
  ]));
4906
4954
  }
4907
- }, Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4955
+ }, Ho = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4908
4956
  __name: "BsProfile",
4909
4957
  props: {
4910
4958
  layout: {
@@ -4935,7 +4983,7 @@ const nn = {
4935
4983
  emits: ["action-toggled"],
4936
4984
  setup(e, { emit: a }) {
4937
4985
  const t = e, l = a, n = re(), { onLinkClick: i } = Fe(t), { rootTag: d, attrsToBind: o, hrefUrl: s } = ze(t, n, "div");
4938
- return (r, m) => (u(), V(te(c(d)), z({
4986
+ return (r, m) => (u(), O(ae(c(d)), z({
4939
4987
  class: "bs-profile",
4940
4988
  ".href": c(s),
4941
4989
  "data-component": "bs-profile",
@@ -4949,7 +4997,7 @@ const nn = {
4949
4997
  "profile-name": e.profileName,
4950
4998
  "use-alt-text": !1
4951
4999
  }, null, 8, ["src", "size", "initials", "profile-name"]),
4952
- P(El, {
5000
+ P(Ll, {
4953
5001
  "profile-name": e.profileName,
4954
5002
  company: e.company,
4955
5003
  "job-title": e.jobTitle,
@@ -4961,10 +5009,10 @@ const nn = {
4961
5009
  onActionToggled: m[0] || (m[0] = (h) => l("action-toggled"))
4962
5010
  }, {
4963
5011
  action: D(() => [
4964
- E(r.$slots, "action")
5012
+ V(r.$slots, "action")
4965
5013
  ]),
4966
5014
  misc: D(() => [
4967
- E(r.$slots, "misc")
5015
+ V(r.$slots, "misc")
4968
5016
  ]),
4969
5017
  _: 3
4970
5018
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -4973,7 +5021,7 @@ const nn = {
4973
5021
  }, 48, [".href", "data-layout", "onClick"]));
4974
5022
  }
4975
5023
  });
4976
- function Dt(e) {
5024
+ function Pt(e) {
4977
5025
  const a = f(() => {
4978
5026
  var n;
4979
5027
  switch (e.currentStatus) {
@@ -4998,7 +5046,7 @@ function Dt(e) {
4998
5046
  getStatus: l
4999
5047
  };
5000
5048
  }
5001
- const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-status"], Ho = {
5049
+ const Dl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Pl = ["data-status"], Ko = {
5002
5050
  __name: "BsProgressBar",
5003
5051
  props: {
5004
5052
  /** @type {Status} */
@@ -5026,7 +5074,7 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5026
5074
  }
5027
5075
  },
5028
5076
  setup(e) {
5029
- const a = e, { progressStep: t, progressText: l, getStatus: n } = Dt(a);
5077
+ const a = e, { progressStep: t, progressText: l, getStatus: n } = Pt(a);
5030
5078
  return (i, d) => (u(), b("div", {
5031
5079
  "aria-valuemax": e.steps.length,
5032
5080
  "aria-valuenow": c(t),
@@ -5035,18 +5083,18 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5035
5083
  "data-component": "bs-progress-bar",
5036
5084
  role: "progressbar"
5037
5085
  }, [
5038
- (u(!0), b(G, null, ee(e.steps, (o, s) => (u(), b("div", {
5086
+ (u(!0), b(K, null, te(e.steps, (o, s) => (u(), b("div", {
5039
5087
  class: "bs-step-item",
5040
5088
  "data-status": c(n)(o.status, s),
5041
5089
  "data-variant": "progress",
5042
5090
  key: o.id || o.label,
5043
5091
  role: "status"
5044
5092
  }, [
5045
- w("span", null, O(o.label || o) + " : " + O(c(n)(o.status, s) || "not started"), 1)
5046
- ], 8, Dl))), 128))
5047
- ], 8, Ll));
5093
+ B("span", null, A(o.label || o) + " : " + A(c(n)(o.status, s) || "not started"), 1)
5094
+ ], 8, Pl))), 128))
5095
+ ], 8, Dl));
5048
5096
  }
5049
- }, Pl = ["data-disabled", "data-error", "data-size"], ql = ["checked", "disabled", "id", "required", "value", "data-error"], Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5097
+ }, ql = ["data-disabled", "data-error", "data-size"], Ml = ["checked", "disabled", "id", "required", "value", "data-error"], Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5050
5098
  __name: "BsRadio",
5051
5099
  props: {
5052
5100
  label: {
@@ -5090,15 +5138,15 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5090
5138
  },
5091
5139
  emits: ["update:modelValue"],
5092
5140
  setup(e, { emit: a }) {
5093
- const t = e, [l] = Z(), n = f(() => et.concat(t.passAttrs.split(","))), i = f(() => t.inputId || l.value), d = f(() => t.checked || t.modelValue && t.modelValue === t.value);
5141
+ const t = e, [l] = Q(), n = f(() => et.concat(t.passAttrs.split(","))), i = f(() => t.inputId || l.value), d = f(() => t.checked || t.modelValue && t.modelValue === t.value);
5094
5142
  return (o, s) => (u(), b("div", z({
5095
5143
  class: "bs-boolean",
5096
5144
  "data-component": "bs-radio",
5097
5145
  "data-disabled": e.disabled,
5098
5146
  "data-error": e.error,
5099
5147
  "data-size": e.size
5100
- }, c(Y)(o.$attrs, n.value).remaining), [
5101
- w("input", z({
5148
+ }, c(X)(o.$attrs, n.value).remaining), [
5149
+ B("input", z({
5102
5150
  checked: d.value,
5103
5151
  disabled: e.disabled,
5104
5152
  id: o.$attrs.id || i.value,
@@ -5106,25 +5154,25 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5106
5154
  type: "radio",
5107
5155
  value: e.value,
5108
5156
  "data-error": e.error
5109
- }, c(Y)(o.$attrs, n.value).filtered, {
5157
+ }, c(X)(o.$attrs, n.value).filtered, {
5110
5158
  onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
5111
- }), null, 16, ql),
5112
- e.label || o.$slots.label ? (u(), V(ae, {
5159
+ }), null, 16, Ml),
5160
+ e.label || o.$slots.label ? (u(), O(ne, {
5113
5161
  key: 0,
5114
5162
  for: o.$attrs.id || i.value,
5115
5163
  disabled: e.disabled,
5116
5164
  required: e.required
5117
5165
  }, {
5118
5166
  default: D(() => [
5119
- E(o.$slots, "label", {}, () => [
5120
- W(O(e.label), 1)
5167
+ V(o.$slots, "label", {}, () => [
5168
+ G(A(e.label), 1)
5121
5169
  ])
5122
5170
  ]),
5123
5171
  _: 3
5124
- }, 8, ["for", "disabled", "required"])) : x("", !0)
5125
- ], 16, Pl));
5172
+ }, 8, ["for", "disabled", "required"])) : C("", !0)
5173
+ ], 16, ql));
5126
5174
  }
5127
- }), Ml = ["id", "disabled", "required", "data-error", "value"], Nl = {
5175
+ }), Nl = ["id", "disabled", "required", "data-error", "value"], zl = {
5128
5176
  __name: "BsSelect",
5129
5177
  props: {
5130
5178
  disabled: { type: Boolean, default: !1 },
@@ -5149,10 +5197,10 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5149
5197
  }, l.value, {
5150
5198
  onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5151
5199
  }), [
5152
- E(n.$slots, "default")
5153
- ], 16, Ml));
5200
+ V(n.$slots, "default")
5201
+ ], 16, Nl));
5154
5202
  }
5155
- }, zl = ["selected", "disabled"], Fl = ["disabled", "selected", "value"], Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5203
+ }, Fl = ["selected", "disabled"], Rl = ["disabled", "selected", "value"], Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5156
5204
  __name: "BsSelectField",
5157
5205
  props: {
5158
5206
  data: {
@@ -5196,26 +5244,26 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5196
5244
  modelValue: [String, Number]
5197
5245
  },
5198
5246
  setup(e) {
5199
- const a = e, [t, l] = Z(2), n = f(() => Ma.concat(a.passAttrs.split(","))), i = f(() => {
5247
+ const a = e, [t, l] = Q(2), n = f(() => Na.concat(a.passAttrs.split(","))), i = f(() => {
5200
5248
  var r, m;
5201
5249
  return ((m = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : m.call(r, `
5202
5250
  `)) || a.hints;
5203
5251
  }), d = f(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = f(() => a.inputId || t.value), s = f(() => a.value || a.modelValue);
5204
- return (r, m) => (u(), b("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5205
- e.label || r.$slots.label ? (u(), V(ae, {
5252
+ return (r, m) => (u(), b("div", z({ "data-component": "bs-select-field" }, c(X)(r.$attrs, n.value).remaining), [
5253
+ e.label || r.$slots.label ? (u(), O(ne, {
5206
5254
  key: 0,
5207
5255
  for: r.$attrs.id || o.value,
5208
5256
  disabled: e.disabled,
5209
5257
  required: e.required
5210
5258
  }, {
5211
5259
  default: D(() => [
5212
- E(r.$slots, "label", {}, () => [
5213
- W(O(e.label), 1)
5260
+ V(r.$slots, "label", {}, () => [
5261
+ G(A(e.label), 1)
5214
5262
  ])
5215
5263
  ]),
5216
5264
  _: 3
5217
- }, 8, ["for", "disabled", "required"])) : x("", !0),
5218
- P(Nl, z({
5265
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
5266
+ P(zl, z({
5219
5267
  disabled: e.disabled,
5220
5268
  error: e.error,
5221
5269
  "hint-id": c(l),
@@ -5223,33 +5271,33 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5223
5271
  required: e.required,
5224
5272
  value: s.value,
5225
5273
  "onUpdate:modelValue": m[0] || (m[0] = (h) => r.$emit("update:modelValue", h))
5226
- }, c(Y)(r.$attrs, n.value).filtered), {
5274
+ }, c(X)(r.$attrs, n.value).filtered), {
5227
5275
  default: D(() => [
5228
- w("option", {
5276
+ B("option", {
5229
5277
  selected: !s.value,
5230
5278
  value: "",
5231
5279
  disabled: !!s.value
5232
- }, O(e.disabled ? "" : e.placeholder), 9, zl),
5233
- (u(!0), b(G, null, ee(e.data, (h) => (u(), b("option", {
5280
+ }, A(e.disabled ? "" : e.placeholder), 9, Fl),
5281
+ (u(!0), b(K, null, te(e.data, (h) => (u(), b("option", {
5234
5282
  key: h.value,
5235
5283
  disabled: h.disabled,
5236
5284
  selected: s.value === h.value,
5237
5285
  value: h.value
5238
- }, O(h.label), 9, Fl))), 128))
5286
+ }, A(h.label), 9, Rl))), 128))
5239
5287
  ]),
5240
5288
  _: 1
5241
5289
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
5242
- d.value ? (u(), V(ge, {
5290
+ d.value ? (u(), O(ge, {
5243
5291
  key: 1,
5244
5292
  "data-disabled": e.disabled,
5245
5293
  error: e.error,
5246
5294
  "error-msg": e.errorMsg,
5247
5295
  hint: e.hint || i.value,
5248
5296
  "hint-id": c(l)
5249
- }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5297
+ }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5250
5298
  ], 16));
5251
5299
  }
5252
- }), Rl = ["id", "name", "value"], jl = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5300
+ }), jl = ["id", "name", "value"], Wl = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5253
5301
  __name: "BsSelectWithDropdown",
5254
5302
  props: {
5255
5303
  breakout: {
@@ -5325,7 +5373,7 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5325
5373
  },
5326
5374
  emits: ["update:model-value"],
5327
5375
  setup(e, { emit: a }) {
5328
- const t = e, l = a, [n, i] = Z(2), d = re(), o = I(!1), s = f(() => t.selectId || d.id || n.value), r = f(() => t.optionsId || i.value), m = f(() => {
5376
+ const t = e, l = a, [n, i] = Q(2), d = re(), o = w(!1), s = f(() => t.selectId || d.id || n.value), r = f(() => t.optionsId || i.value), m = f(() => {
5329
5377
  if (t.modelValue) {
5330
5378
  const v = t.options.find((g) => g.value === t.modelValue);
5331
5379
  return v ? v.label : t.placeholder;
@@ -5333,27 +5381,27 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5333
5381
  return t.placeholder;
5334
5382
  }), h = f(() => m.value === t.placeholder);
5335
5383
  return (v, g) => (u(), b("div", null, [
5336
- e.label || v.$slots.label ? (u(), V(ae, {
5384
+ e.label || v.$slots.label ? (u(), O(ne, {
5337
5385
  key: 0,
5338
5386
  disabled: e.disabled,
5339
5387
  for: s.value,
5340
5388
  required: e.required
5341
5389
  }, {
5342
5390
  default: D(() => [
5343
- E(v.$slots, "label", {}, () => [
5344
- W(O(e.label), 1)
5391
+ V(v.$slots, "label", {}, () => [
5392
+ G(A(e.label), 1)
5345
5393
  ])
5346
5394
  ]),
5347
5395
  _: 3
5348
- }, 8, ["disabled", "for", "required"])) : x("", !0),
5396
+ }, 8, ["disabled", "for", "required"])) : C("", !0),
5349
5397
  e.inputName || e.inputId ? (u(), b("input", {
5350
5398
  key: 1,
5351
5399
  id: e.inputId,
5352
5400
  name: e.inputName,
5353
5401
  type: "hidden",
5354
5402
  value: e.modelValue
5355
- }, null, 8, Rl)) : x("", !0),
5356
- P(Ot, {
5403
+ }, null, 8, jl)) : C("", !0),
5404
+ P(Vt, {
5357
5405
  "anchor-id": s.value,
5358
5406
  breakout: e.breakout,
5359
5407
  "dropdown-position": e.dropdownPosition,
@@ -5370,7 +5418,7 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5370
5418
  "onUpdate:selectedOption": g[2] || (g[2] = (y) => l("update:model-value", y))
5371
5419
  }, {
5372
5420
  toggle: D(() => [
5373
- w("button", z({
5421
+ B("button", z({
5374
5422
  "aria-controls": r.value,
5375
5423
  "aria-describedby": e.hintId,
5376
5424
  "aria-expanded": o.value,
@@ -5390,18 +5438,18 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5390
5438
  }, v.$attrs, {
5391
5439
  onClick: g[0] || (g[0] = wt((y) => o.value = !o.value, ["prevent"]))
5392
5440
  }), [
5393
- w("span", null, O(m.value), 1),
5394
- e.disabled ? x("", !0) : (u(), V(c(Me), {
5441
+ B("span", null, A(m.value), 1),
5442
+ e.disabled ? C("", !0) : (u(), O(c(Me), {
5395
5443
  key: 0,
5396
5444
  size: "md"
5397
5445
  }))
5398
- ], 16, jl)
5446
+ ], 16, Wl)
5399
5447
  ]),
5400
5448
  _: 1
5401
5449
  }, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id"])
5402
5450
  ]));
5403
5451
  }
5404
- }), Wl = ["data-disabled", "data-size"], Ul = ["data-disabled", "data-pending", "data-size"], Gl = ["checked", "disabled", "id"], Hl = ["data-inner-on-label", "data-inner-off-label"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5452
+ }), Ul = ["data-disabled", "data-size"], Gl = ["data-disabled", "data-pending", "data-size"], Hl = ["checked", "disabled", "id"], Kl = ["data-inner-on-label", "data-inner-off-label"], Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5405
5453
  __name: "BsSwitch",
5406
5454
  props: {
5407
5455
  checked: {
@@ -5447,49 +5495,49 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5447
5495
  },
5448
5496
  emits: ["update:modelValue"],
5449
5497
  setup(e, { emit: a }) {
5450
- const t = e, l = a, [n] = Z(), i = f(() => et.concat(t.passAttrs.split(","))), d = f(() => t.inputId || n.value), o = f(() => t.checked || t.modelValue);
5498
+ const t = e, l = a, [n] = Q(), i = f(() => et.concat(t.passAttrs.split(","))), d = f(() => t.inputId || n.value), o = f(() => t.checked || t.modelValue);
5451
5499
  return (s, r) => (u(), b("div", z({
5452
5500
  class: "bs-boolean",
5453
5501
  "data-component": "bs-switch",
5454
5502
  "data-disabled": e.disabled,
5455
5503
  "data-size": e.size
5456
- }, c(Y)(s.$attrs, i.value).remaining), [
5457
- e.label || s.$slots.label ? (u(), V(ae, {
5504
+ }, c(X)(s.$attrs, i.value).remaining), [
5505
+ e.label || s.$slots.label ? (u(), O(ne, {
5458
5506
  key: 0,
5459
5507
  for: s.$attrs.id || d.value,
5460
5508
  disabled: e.disabled,
5461
5509
  hide: e.hideLabel
5462
5510
  }, {
5463
5511
  default: D(() => [
5464
- E(s.$slots, "label", {}, () => [
5465
- W(O(e.label), 1)
5512
+ V(s.$slots, "label", {}, () => [
5513
+ G(A(e.label), 1)
5466
5514
  ])
5467
5515
  ]),
5468
5516
  _: 3
5469
- }, 8, ["for", "disabled", "hide"])) : x("", !0),
5470
- w("div", {
5517
+ }, 8, ["for", "disabled", "hide"])) : C("", !0),
5518
+ B("div", {
5471
5519
  class: "bs-switch",
5472
5520
  "data-disabled": e.disabled,
5473
5521
  "data-pending": e.pending,
5474
5522
  "data-size": e.size
5475
5523
  }, [
5476
- w("input", z({
5524
+ B("input", z({
5477
5525
  checked: o.value,
5478
5526
  disabled: e.disabled,
5479
5527
  id: s.$attrs.id || d.value,
5480
5528
  type: "checkbox"
5481
- }, c(Y)(s.$attrs, i.value).filtered, {
5529
+ }, c(X)(s.$attrs, i.value).filtered, {
5482
5530
  onChange: r[0] || (r[0] = (m) => l("update:modelValue", m.target.checked))
5483
- }), null, 16, Gl),
5484
- w("span", {
5531
+ }), null, 16, Hl),
5532
+ B("span", {
5485
5533
  "aria-hidden": "true",
5486
5534
  "data-inner-on-label": e.innerOnLabel,
5487
5535
  "data-inner-off-label": e.innerOffLabel
5488
- }, null, 8, Hl)
5489
- ], 8, Ul)
5490
- ], 16, Wl));
5536
+ }, null, 8, Kl)
5537
+ ], 8, Gl)
5538
+ ], 16, Ul));
5491
5539
  }
5492
- }), Kl = ["aria-controls", "aria-selected", "data-hidden"], Qo = {
5540
+ }), Yl = ["aria-controls", "aria-selected", "data-hidden"], Jo = {
5493
5541
  __name: "BsTab",
5494
5542
  props: {
5495
5543
  activeTabId: {
@@ -5506,7 +5554,7 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5506
5554
  },
5507
5555
  emits: ["tabClick"],
5508
5556
  setup(e, { emit: a }) {
5509
- const t = e, l = re(), n = I(), i = f(() => t.activeTabId === l.id), d = f(() => t.panelId || `${l.id}-panel`);
5557
+ const t = e, l = re(), n = w(), i = f(() => t.activeTabId === l.id), d = f(() => t.panelId || `${l.id}-panel`);
5510
5558
  function o(r) {
5511
5559
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
5512
5560
  }
@@ -5528,10 +5576,10 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5528
5576
  onClick: s,
5529
5577
  onKeydown: o
5530
5578
  }, [
5531
- E(r.$slots, "default")
5532
- ], 40, Kl));
5579
+ V(r.$slots, "default")
5580
+ ], 40, Yl));
5533
5581
  }
5534
- }, Yl = ["id", "data-resizing"], Zl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Xl = 73, Ql = 20, Ue = 16, Jo = {
5582
+ }, Zl = ["id", "data-resizing"], Xl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Ql = 73, Jl = 20, Ue = 16, _o = {
5535
5583
  __name: "BsTabList",
5536
5584
  props: {
5537
5585
  activeTabId: { type: String, required: !0 },
@@ -5542,154 +5590,154 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5542
5590
  },
5543
5591
  emits: ["tabChange", "update:modelValue"],
5544
5592
  setup(e, { emit: a }) {
5545
- const t = e, l = a, n = I(!1), i = I(!1), d = I([]), o = I(!1), s = I(!1), r = I(), m = I([]), h = I(!1), v = I([]), g = I(), y = I([]), B = I(), p = I(), [S, C] = Z(2), $ = f(() => t.activeTabId ? v.value.findIndex((T) => T.id === t.activeTabId) : 0), M = f(() => d.value.some((T) => T.id === t.activeTabId)), k = f(() => `${C.value}-options`), A = f(() => `${C.value}-toggle`), F = f(() => {
5546
- var T;
5547
- return M.value ? (T = v.value[$.value]) == null ? void 0 : T.textContent : "More";
5548
- }), _ = f(() => M.value ? m.value[$.value] - m.value[$.value - 1] + Ql + Ue : Xl + Ue);
5549
- function J() {
5593
+ const t = e, l = a, n = w(!1), i = w(!1), d = w([]), o = w(!1), s = w(!1), r = w(), m = w([]), h = w(!1), v = w([]), g = w(), y = w([]), I = w(), p = w(), [S, k] = Q(2), $ = f(() => t.activeTabId ? v.value.findIndex((x) => x.id === t.activeTabId) : 0), M = f(() => d.value.some((x) => x.id === t.activeTabId)), T = f(() => `${k.value}-options`), E = f(() => `${k.value}-toggle`), R = f(() => {
5594
+ var x;
5595
+ return M.value ? (x = v.value[$.value]) == null ? void 0 : x.textContent : "More";
5596
+ }), F = f(() => M.value ? m.value[$.value] - m.value[$.value - 1] + Jl + Ue : Ql + Ue);
5597
+ function W() {
5550
5598
  var de;
5551
- let T = !1, N, U = 0, Q = !1, le = [];
5599
+ let x = !1, N, H = 0, ee = !1, oe = [];
5552
5600
  if ((de = v.value) != null && de.length) {
5553
- for (let oe = 0; oe < v.value.length; oe++) {
5554
- if (N = v.value[oe], N.setAttribute("tabindex", "-1"), Q && oe !== $.value) {
5555
- N.dataset.hidden = "true", le.push(N);
5601
+ for (let ie = 0; ie < v.value.length; ie++) {
5602
+ if (N = v.value[ie], N.setAttribute("tabindex", "-1"), ee && ie !== $.value) {
5603
+ N.dataset.hidden = "true", oe.push(N);
5556
5604
  continue;
5557
5605
  }
5558
- if (U = oe < v.value.length - 1 ? p.value - _.value : p.value, m.value[oe] > U) {
5559
- N.dataset.hidden = "true", le.push(N), T = !0, Q = !0;
5606
+ if (H = ie < v.value.length - 1 ? p.value - F.value : p.value, m.value[ie] > H) {
5607
+ N.dataset.hidden = "true", oe.push(N), x = !0, ee = !0;
5560
5608
  continue;
5561
5609
  }
5562
5610
  N.dataset.hidden = "false", N.setAttribute("tabindex", "0");
5563
5611
  }
5564
- s.value = T, d.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
5565
- qt(), q(), h.value = !0;
5612
+ s.value = x, d.value = oe, n.value || Ae(() => n.value = !0), setTimeout(() => {
5613
+ Mt(), q(), h.value = !0;
5566
5614
  }, h.value ? 25 : 1e3);
5567
5615
  }
5568
5616
  }
5569
- function ne(T) {
5570
- l("tabChange", T), l("update:modelValue", T);
5617
+ function _(x) {
5618
+ l("tabChange", x), l("update:modelValue", x);
5571
5619
  }
5572
- function he(T) {
5573
- var Q, le, de;
5574
- const N = (de = (le = (Q = v.value[T]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : de.width;
5575
- return N || (T === 0 ? m.value[0] : m.value[T] - m.value[T - 1]) || 0;
5620
+ function he(x) {
5621
+ var ee, oe, de;
5622
+ const N = (de = (oe = (ee = v.value[x]) == null ? void 0 : ee.getBoundingClientRect) == null ? void 0 : oe.call(ee)) == null ? void 0 : de.width;
5623
+ return N || (x === 0 ? m.value[0] : m.value[x] - m.value[x - 1]) || 0;
5576
5624
  }
5577
5625
  function ye() {
5578
- var T;
5579
- (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true"), J();
5626
+ var x;
5627
+ (x = v.value[$.value]) == null || x.setAttribute("aria-selected", "true"), W();
5580
5628
  }
5581
5629
  function ke() {
5582
- var T;
5583
- (T = g.value) == null || T.focus(), o.value = !1;
5630
+ var x;
5631
+ (x = g.value) == null || x.focus(), o.value = !1;
5584
5632
  }
5585
5633
  function Ce() {
5586
5634
  o.value = !o.value, i.value || (i.value = !0);
5587
5635
  }
5588
- function se(T) {
5636
+ function se(x) {
5589
5637
  var N;
5590
- o.value = !1, (N = g.value) == null || N.focus(), ne(T);
5638
+ o.value = !1, (N = g.value) == null || N.focus(), _(x);
5591
5639
  }
5592
- function xe(T) {
5640
+ function xe(x) {
5593
5641
  if (t.withBsTabs) return;
5594
- const N = T.target.closest('[role="tab"]');
5642
+ const N = x.target.closest('[role="tab"]');
5595
5643
  if (!N || N.getAttribute("aria-selected") === "true") return;
5596
- const U = N.getAttribute("id");
5597
- ne(U);
5644
+ const H = N.getAttribute("id");
5645
+ _(H);
5598
5646
  }
5599
- function Se(T) {
5600
- if (T.key === "ArrowLeft" || T.key === "ArrowRight") {
5601
- const N = y.value.findIndex((U) => U.id === T.target.id);
5647
+ function Se(x) {
5648
+ if (x.key === "ArrowLeft" || x.key === "ArrowRight") {
5649
+ const N = y.value.findIndex((H) => H.id === x.target.id);
5602
5650
  if (N === -1) return;
5603
- T.preventDefault(), T.stopPropagation(), T.key === "ArrowLeft" ? R(N) : L(N);
5651
+ x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? j(N) : L(N);
5604
5652
  }
5605
5653
  }
5606
- function L(T) {
5607
- var U;
5608
- const N = (T + 1) % y.value.length;
5609
- (U = y.value[N]) == null || U.focus();
5654
+ function L(x) {
5655
+ var H;
5656
+ const N = (x + 1) % y.value.length;
5657
+ (H = y.value[N]) == null || H.focus();
5610
5658
  }
5611
- function R(T) {
5612
- var U;
5613
- const N = T === 0 ? y.value.length - 1 : T - 1;
5614
- (U = y.value[N]) == null || U.focus();
5659
+ function j(x) {
5660
+ var H;
5661
+ const N = x === 0 ? y.value.length - 1 : x - 1;
5662
+ (H = y.value[N]) == null || H.focus();
5615
5663
  }
5616
5664
  function q() {
5617
- var de, oe, it, rt;
5618
- const T = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = p.value;
5619
- let U = 300, Q = ((oe = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : oe.offsetLeft) || 0, le = he($.value);
5620
- s.value && M.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - T) / 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`);
5621
- }
5622
- function K() {
5623
- var T, N;
5624
- (N = (T = B.value) == null ? void 0 : T.disconnect) == null || N.call(T), B.value = null;
5625
- }
5626
- function X() {
5627
- const T = Ve(() => {
5628
- p.value = r.value.clientWidth, J();
5665
+ var de, ie, it, rt;
5666
+ const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = p.value;
5667
+ let H = 300, ee = ((ie = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : ie.offsetLeft) || 0, oe = he($.value);
5668
+ s.value && M.value && (ee = (it = g.value) == null ? void 0 : it.offsetLeft, oe = (rt = g.value) == null ? void 0 : rt.offsetWidth), H = Math.max(Math.abs((ee - x) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${oe / N}`), r.value.style.setProperty("--active-line-offset", `${ee}px`), r.value.style.setProperty("--active-line-transition-duration", `${H}ms`);
5669
+ }
5670
+ function Z() {
5671
+ var x, N;
5672
+ (N = (x = I.value) == null ? void 0 : x.disconnect) == null || N.call(x), I.value = null;
5673
+ }
5674
+ function J() {
5675
+ const x = Ve(() => {
5676
+ p.value = r.value.clientWidth, W();
5629
5677
  }, 25);
5630
- B.value = new ResizeObserver(T), B.value.observe(document.body);
5678
+ I.value = new ResizeObserver(x), I.value.observe(document.body);
5631
5679
  }
5632
5680
  function Te() {
5633
- v.value = Array.from(r.value.children).filter((T) => T.role === "tab");
5681
+ v.value = Array.from(r.value.children).filter((x) => x.role === "tab");
5634
5682
  }
5635
- function Pt() {
5636
- let T;
5637
- v.value.forEach((N, U) => {
5638
- T = N.getBoundingClientRect().width + Ue, m.value.push(U ? T + m.value[U - 1] : T);
5683
+ function qt() {
5684
+ let x;
5685
+ v.value.forEach((N, H) => {
5686
+ x = N.getBoundingClientRect().width + Ue, m.value.push(H ? x + m.value[H - 1] : x);
5639
5687
  });
5640
5688
  }
5641
- function qt() {
5642
- var N, U;
5643
- let T = [];
5644
- if (typeof window > "u") return T;
5645
- for (let Q of v.value) {
5646
- if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1") break;
5647
- T.push(Q);
5689
+ function Mt() {
5690
+ var N, H;
5691
+ let x = [];
5692
+ if (typeof window > "u") return x;
5693
+ for (let ee of v.value) {
5694
+ if (((N = ee.dataset) == null ? void 0 : N.hidden) === "true" || ((H = ee.dataset) == null ? void 0 : H.hidden) === "" || ee.getAttribute("tabindex") === "-1") break;
5695
+ x.push(ee);
5648
5696
  }
5649
- s.value && T.push(r.value.querySelector(".bs-tab-list-toggle")), y.value = T;
5697
+ s.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), y.value = x;
5650
5698
  }
5651
- return j(() => t.activeTabId, ye), H(() => {
5652
- var T;
5699
+ return U(() => t.activeTabId, ye), Y(() => {
5700
+ var x;
5653
5701
  try {
5654
- Te(), Pt(), X(), p.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true");
5702
+ Te(), qt(), J(), p.value = r.value.getBoundingClientRect().width, W(), t.withBsTabs || (x = v.value[$.value]) == null || x.setAttribute("aria-selected", "true");
5655
5703
  } catch (N) {
5656
5704
  console.log("tab error", N);
5657
5705
  }
5658
- }), Be(K), (T, N) => (u(), b("div", {
5706
+ }), Be(Z), (x, N) => (u(), b("div", {
5659
5707
  class: "bs-tab-list",
5660
5708
  "data-component": "bs-tab-list",
5661
- id: T.$attrs.id || c(S),
5709
+ id: x.$attrs.id || c(S),
5662
5710
  ref_key: "hostEl",
5663
5711
  ref: r,
5664
5712
  role: "tablist",
5665
5713
  "data-resizing": !n.value || void 0,
5666
5714
  onClick: xe,
5667
- "on:tabClick": N[0] || (N[0] = (U) => ne(U.detail)),
5715
+ "on:tabClick": N[0] || (N[0] = (H) => _(H.detail)),
5668
5716
  onKeydown: Se
5669
5717
  }, [
5670
- E(T.$slots, "default"),
5671
- w("button", {
5672
- "aria-controls": c(C),
5718
+ V(x.$slots, "default"),
5719
+ B("button", {
5720
+ "aria-controls": c(k),
5673
5721
  "aria-expanded": o.value,
5674
5722
  class: "bs-tab-list-toggle",
5675
5723
  "data-active": M.value || void 0,
5676
5724
  "data-hidden": !s.value,
5677
- id: A.value,
5725
+ id: E.value,
5678
5726
  ref_key: "dropdownToggle",
5679
5727
  ref: g,
5680
5728
  onClick: Ce
5681
5729
  }, [
5682
- P(c(Ht), { size: "sm" }),
5683
- W(" " + O(F.value), 1)
5684
- ], 8, Zl),
5685
- P(Lt, {
5686
- "anchor-id": A.value,
5730
+ P(c(Kt), { size: "sm" }),
5731
+ G(" " + A(R.value), 1)
5732
+ ], 8, Xl),
5733
+ P(Dt, {
5734
+ "anchor-id": E.value,
5687
5735
  breakout: "",
5688
- "container-id": T.$attrs.id || c(S),
5736
+ "container-id": x.$attrs.id || c(S),
5689
5737
  "helper-description": e.helperDescription || void 0,
5690
5738
  "helper-text": e.helperText,
5691
- id: c(C),
5692
- "options-id": k.value,
5739
+ id: c(k),
5740
+ "options-id": T.value,
5693
5741
  position: "right",
5694
5742
  preloaded: "",
5695
5743
  shown: o.value,
@@ -5698,22 +5746,22 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5698
5746
  "onUpdate:modelValue": se
5699
5747
  }, {
5700
5748
  default: D(() => [
5701
- (u(!0), b(G, null, ee(d.value, (U) => (u(), V(ot, {
5702
- key: U.id,
5703
- value: U.id,
5704
- "options-id": k.value
5749
+ (u(!0), b(K, null, te(d.value, (H) => (u(), O(ot, {
5750
+ key: H.id,
5751
+ value: H.id,
5752
+ "options-id": T.value
5705
5753
  }, {
5706
5754
  default: D(() => [
5707
- W(O(U.textContent), 1)
5755
+ G(A(H.textContent), 1)
5708
5756
  ]),
5709
5757
  _: 2
5710
5758
  }, 1032, ["value", "options-id"]))), 128))
5711
5759
  ]),
5712
5760
  _: 1
5713
5761
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
5714
- ], 40, Yl));
5762
+ ], 40, Zl));
5715
5763
  }
5716
- }, Jl = ["aria-labelledby", "data-active", "id"], _o = {
5764
+ }, _l = ["aria-labelledby", "data-active", "id"], ei = {
5717
5765
  __name: "BsTabPanel",
5718
5766
  props: {
5719
5767
  activeTabId: {
@@ -5734,10 +5782,10 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5734
5782
  id: n.value,
5735
5783
  role: "tabpanel"
5736
5784
  }, [
5737
- E(i.$slots, "default")
5738
- ], 8, Jl));
5785
+ V(i.$slots, "default")
5786
+ ], 8, _l));
5739
5787
  }
5740
- }, _l = ["data-error", "id", "rows", "value"], eo = {
5788
+ }, eo = ["data-error", "id", "rows", "value"], to = {
5741
5789
  __name: "BsTextarea",
5742
5790
  props: {
5743
5791
  error: {
@@ -5761,9 +5809,9 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5761
5809
  rows: n.$attrs.rows || 6,
5762
5810
  value: e.value || e.modelValue,
5763
5811
  onInput: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5764
- }, l.value), null, 16, _l));
5812
+ }, l.value), null, 16, eo));
5765
5813
  }
5766
- }, ei = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5814
+ }, ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5767
5815
  __name: "BsTextareaField",
5768
5816
  props: {
5769
5817
  /** Sets the maximum value this textarea will allow. Will also display character count if present. This does not set maxlength, so users are able to enter text that is longer and edit it down. Enforcement of length must be by the developer. */
@@ -5812,7 +5860,7 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5812
5860
  },
5813
5861
  emits: ["update:modelValue"],
5814
5862
  setup(e, { emit: a }) {
5815
- const t = e, [l, n] = Z(2), i = f(() => Na.concat(t.passAttrs.split(","))), d = f(() => {
5863
+ const t = e, [l, n] = Q(2), i = f(() => za.concat(t.passAttrs.split(","))), d = f(() => {
5816
5864
  var m;
5817
5865
  return ((m = t.value || t.modelValue) == null ? void 0 : m.length) || 0;
5818
5866
  }), o = f(() => {
@@ -5820,21 +5868,21 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5820
5868
  return ((h = (m = t.hints) == null ? void 0 : m.join) == null ? void 0 : h.call(m, `
5821
5869
  `)) || t.hints;
5822
5870
  }), s = f(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = f(() => t.inputId || l.value);
5823
- return (m, h) => (u(), b("div", z({ "data-component": "bs-textarea-field" }, c(Y)(m.$attrs, i.value).remaining), [
5824
- e.label || m.$slots.label ? (u(), V(ae, {
5871
+ return (m, h) => (u(), b("div", z({ "data-component": "bs-textarea-field" }, c(X)(m.$attrs, i.value).remaining), [
5872
+ e.label || m.$slots.label ? (u(), O(ne, {
5825
5873
  key: 0,
5826
5874
  for: m.$attrs.id || r.value,
5827
5875
  disabled: e.disabled,
5828
5876
  required: e.required
5829
5877
  }, {
5830
5878
  default: D(() => [
5831
- E(m.$slots, "label", {}, () => [
5832
- W(O(e.label), 1)
5879
+ V(m.$slots, "label", {}, () => [
5880
+ G(A(e.label), 1)
5833
5881
  ])
5834
5882
  ]),
5835
5883
  _: 3
5836
- }, 8, ["for", "disabled", "required"])) : x("", !0),
5837
- P(eo, z({
5884
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
5885
+ P(to, z({
5838
5886
  disabled: e.disabled,
5839
5887
  error: e.error,
5840
5888
  "hint-id": c(n),
@@ -5844,8 +5892,8 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5844
5892
  rows: e.rows,
5845
5893
  value: e.value || e.modelValue,
5846
5894
  "onUpdate:modelValue": h[0] || (h[0] = (v) => m.$emit("update:modelValue", v))
5847
- }, c(Y)(m.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5848
- s.value || e.charMax ? (u(), V(ge, {
5895
+ }, c(X)(m.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5896
+ s.value || e.charMax ? (u(), O(ge, {
5849
5897
  key: 1,
5850
5898
  "char-count": d.value,
5851
5899
  "char-max": e.charMax,
@@ -5854,19 +5902,19 @@ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-sta
5854
5902
  "error-msg": e.errorMsg,
5855
5903
  hint: e.hint || o.value,
5856
5904
  "hint-id": c(n)
5857
- }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5905
+ }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5858
5906
  ], 16));
5859
5907
  }
5860
5908
  });
5861
- function to(e) {
5909
+ function ao(e) {
5862
5910
  const a = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/.test(e), t = /^([01]?[0-9]|2[0-3])[0-5][0-9]$/.test(e), l = /^([0]?[0-9]|1[0-2]):[0-5][0-9] ?(a|p|am|pm)$/i.test(e), n = /^([0]?[0-9]|1[0-2])[0-5][0-9] ?(a|p|am|pm)$/i.test(e);
5863
5911
  return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
5864
5912
  }
5865
5913
  const we = (e) => parseInt(e, 10);
5866
- function ao(e = "") {
5914
+ function no(e = "") {
5867
5915
  const a = /[^0-9:apmAPM]/g;
5868
5916
  let t, l;
5869
- switch (e = e.replaceAll(a, "").toLowerCase(), to(e)) {
5917
+ switch (e = e.replaceAll(a, "").toLowerCase(), ao(e)) {
5870
5918
  case "uFmt":
5871
5919
  case "uFmtNoColon":
5872
5920
  l = we(e.slice(-2)), t = we(e.slice(0, -2));
@@ -5888,11 +5936,11 @@ function ve(e = "") {
5888
5936
  const [t, l] = e.split(":"), n = we(t), i = we(l), d = n < 12 ? "AM" : "PM";
5889
5937
  return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${d}`;
5890
5938
  }
5891
- function no(e = "") {
5892
- const { hours: a, minutes: t } = ao(e);
5939
+ function lo(e = "") {
5940
+ const { hours: a, minutes: t } = no(e);
5893
5941
  return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
5894
5942
  }
5895
- const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5943
+ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", oo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5896
5944
  __name: "BsTimePicker",
5897
5945
  props: {
5898
5946
  disabled: {
@@ -5957,21 +6005,21 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
5957
6005
  },
5958
6006
  emits: ["update:modelValue"],
5959
6007
  setup(e, { expose: a, emit: t }) {
5960
- const l = e, n = t, i = I(ve(l.modelValue)), d = I([]), o = I(""), s = I(!1);
6008
+ const l = e, n = t, i = w(ve(l.modelValue)), d = w([]), o = w(""), s = w(!1);
5961
6009
  function r() {
5962
6010
  const S = [];
5963
- let C = !1;
5964
- for (let $ = 0; $ < 24 && !C; $++)
6011
+ let k = !1;
6012
+ for (let $ = 0; $ < 24 && !k; $++)
5965
6013
  for (let M = 0; M < 60; M += l.step) {
5966
- const k = v($, M), A = h(k);
5967
- if (A !== ht) {
5968
- if (A === vt) {
5969
- C = !0;
6014
+ const T = v($, M), E = h(T);
6015
+ if (E !== ht) {
6016
+ if (E === vt) {
6017
+ k = !0;
5970
6018
  break;
5971
6019
  }
5972
6020
  S.push({
5973
- label: ve(k),
5974
- value: k
6021
+ label: ve(T),
6022
+ value: T
5975
6023
  });
5976
6024
  }
5977
6025
  }
@@ -5991,17 +6039,17 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
5991
6039
  return "";
5992
6040
  }
5993
6041
  }
5994
- function v(S, C) {
5995
- return S = S.toString().padStart(2, "0"), C = C.toString().padStart(2, "0"), `${S}:${C}`;
6042
+ function v(S, k) {
6043
+ return S = S.toString().padStart(2, "0"), k = k.toString().padStart(2, "0"), `${S}:${k}`;
5996
6044
  }
5997
6045
  function g(S) {
5998
- const C = no(S);
5999
- C === l.modelValue && (i.value = ve(l.modelValue)), B(C);
6046
+ const k = lo(S);
6047
+ k === l.modelValue && (i.value = ve(l.modelValue)), I(k);
6000
6048
  }
6001
6049
  function y() {
6002
6050
  d.value = r();
6003
6051
  }
6004
- function B(S) {
6052
+ function I(S) {
6005
6053
  p(S), n("update:modelValue", S);
6006
6054
  }
6007
6055
  function p(S) {
@@ -6019,22 +6067,22 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6019
6067
  o.value = "", s.value = !1;
6020
6068
  }
6021
6069
  }
6022
- return H(y), j([
6070
+ return Y(y), U([
6023
6071
  () => l.disabledTimes,
6024
6072
  () => l.maxTime,
6025
6073
  () => l.minTime,
6026
6074
  () => l.step
6027
- ], y), j([
6075
+ ], y), U([
6028
6076
  () => l.disabledTimes,
6029
6077
  () => l.maxTime,
6030
6078
  () => l.minTime,
6031
6079
  () => l.modelValue
6032
- ], () => p(l.modelValue)), j(() => l.modelValue, (S) => {
6080
+ ], () => p(l.modelValue)), U(() => l.modelValue, (S) => {
6033
6081
  i.value = l.modelValue ? ve(S) : "";
6034
6082
  }), a({
6035
6083
  validationErr: s,
6036
6084
  validationErrMsg: o
6037
- }), (S, C) => (u(), V(Vt, {
6085
+ }), (S, k) => (u(), O(Et, {
6038
6086
  disabled: e.disabled,
6039
6087
  "display-value": i.value,
6040
6088
  "dropdown-position": e.dropdownPosition,
@@ -6052,7 +6100,7 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6052
6100
  "onUpdate:modelValue": g
6053
6101
  }, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
6054
6102
  }
6055
- }), ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6103
+ }), ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6056
6104
  __name: "BsTimePickerField",
6057
6105
  props: {
6058
6106
  disabled: {
@@ -6121,7 +6169,7 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6121
6169
  },
6122
6170
  emits: ["update:modelValue"],
6123
6171
  setup(e, { expose: a, emit: t }) {
6124
- const l = e, [n, i] = Z(2), d = I(null), o = f(() => l.errorMsg || h.value), s = f(() => l.error || v.value), r = f(() => l.inputId || n.value), m = f(() => l.hint || s.value && o.value), h = f(() => {
6172
+ const l = e, [n, i] = Q(2), d = w(null), o = f(() => l.errorMsg || h.value), s = f(() => l.error || v.value), r = f(() => l.inputId || n.value), m = f(() => l.hint || s.value && o.value), h = f(() => {
6125
6173
  var g;
6126
6174
  return (g = d.value) == null ? void 0 : g.validationErrMsg;
6127
6175
  }), v = f(() => {
@@ -6134,21 +6182,21 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6134
6182
  }), (g, y) => (u(), b("div", z({
6135
6183
  "aria-live": "polite",
6136
6184
  "data-component": "bs-time-picker-field"
6137
- }, c(Y)(g.$attrs, c(be)).remaining), [
6138
- e.label || g.$slots.label ? (u(), V(ae, {
6185
+ }, c(X)(g.$attrs, c(be)).remaining), [
6186
+ e.label || g.$slots.label ? (u(), O(ne, {
6139
6187
  key: 0,
6140
6188
  for: g.$attrs.id || r.value,
6141
6189
  disabled: e.disabled,
6142
6190
  required: e.required
6143
6191
  }, {
6144
6192
  default: D(() => [
6145
- E(g.$slots, "label", {}, () => [
6146
- W(O(e.label), 1)
6193
+ V(g.$slots, "label", {}, () => [
6194
+ G(A(e.label), 1)
6147
6195
  ])
6148
6196
  ]),
6149
6197
  _: 3
6150
- }, 8, ["for", "disabled", "required"])) : x("", !0),
6151
- P(lo, z({
6198
+ }, 8, ["for", "disabled", "required"])) : C("", !0),
6199
+ P(oo, z({
6152
6200
  ref_key: "timePicker",
6153
6201
  ref: d,
6154
6202
  disabled: e.disabled,
@@ -6166,8 +6214,8 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6166
6214
  placeholder: e.placeholder,
6167
6215
  required: e.required,
6168
6216
  step: e.step,
6169
- "onUpdate:modelValue": y[0] || (y[0] = (B) => g.$emit("update:modelValue", B))
6170
- }, c(Y)(g.$attrs, c(be)).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"]),
6217
+ "onUpdate:modelValue": y[0] || (y[0] = (I) => g.$emit("update:modelValue", I))
6218
+ }, c(X)(g.$attrs, c(be)).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"]),
6171
6219
  ue(P(ge, {
6172
6220
  error: s.value,
6173
6221
  "error-msg": o.value,
@@ -6178,7 +6226,7 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6178
6226
  ])
6179
6227
  ], 16));
6180
6228
  }
6181
- }), oo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], io = ["data-status"], ro = { class: "visually-hidden" }, ai = {
6229
+ }), io = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], ro = ["data-status"], so = { class: "visually-hidden" }, ni = {
6182
6230
  __name: "BsTimeline",
6183
6231
  props: {
6184
6232
  /** @type {Status} */
@@ -6207,15 +6255,15 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6207
6255
  },
6208
6256
  setup(e) {
6209
6257
  const a = e, t = {
6210
- cancelled: Kt,
6211
- complete: Yt,
6212
- error: Zt,
6213
- "in-progress": Xt,
6258
+ cancelled: Yt,
6259
+ complete: Zt,
6260
+ error: Xt,
6261
+ "in-progress": Qt,
6214
6262
  "not-started": dt,
6215
- ongoing: Qt,
6216
- paused: Jt,
6263
+ ongoing: Jt,
6264
+ paused: _t,
6217
6265
  warning: kt
6218
- }, { progressStep: l, progressText: n, getStatus: i } = Dt(a);
6266
+ }, { progressStep: l, progressText: n, getStatus: i } = Pt(a);
6219
6267
  function d(o, s) {
6220
6268
  return o = i(o, s), t[o] || dt;
6221
6269
  }
@@ -6227,24 +6275,24 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6227
6275
  "data-component": "bs-timeline",
6228
6276
  role: "progressbar"
6229
6277
  }, [
6230
- (u(!0), b(G, null, ee(e.steps, (r, m) => (u(), b("div", {
6278
+ (u(!0), b(K, null, te(e.steps, (r, m) => (u(), b("div", {
6231
6279
  class: "bs-step-item",
6232
6280
  "data-status": c(i)(r.status, m),
6233
6281
  key: r.id || r.label,
6234
6282
  role: "status"
6235
6283
  }, [
6236
- (u(), V(te(d(r.status, m)), {
6284
+ (u(), O(ae(d(r.status, m)), {
6237
6285
  class: "bs-step-icon",
6238
6286
  role: "presentation"
6239
6287
  })),
6240
- w("p", null, [
6241
- W(O(r.label || r) + " ", 1),
6242
- w("span", ro, " : " + O(c(i)(r.status, m) || "not started"), 1)
6288
+ B("p", null, [
6289
+ G(A(r.label || r) + " ", 1),
6290
+ B("span", so, " : " + A(c(i)(r.status, m) || "not started"), 1)
6243
6291
  ])
6244
- ], 8, io))), 128))
6245
- ], 8, oo));
6292
+ ], 8, ro))), 128))
6293
+ ], 8, io));
6246
6294
  }
6247
- }, so = ["data-variant", "data-shown", "data-stacked"], ni = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6295
+ }, uo = ["data-variant", "data-shown", "data-stacked"], li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6248
6296
  __name: "BsToast",
6249
6297
  props: {
6250
6298
  shown: {
@@ -6302,7 +6350,7 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6302
6350
  o();
6303
6351
  }, t.duration)), l("after-enter");
6304
6352
  }
6305
- return (r, m) => (u(), V(Pe, {
6353
+ return (r, m) => (u(), O(Pe, {
6306
6354
  name: "bs-toast",
6307
6355
  shown: c(n),
6308
6356
  preloaded: e.preloaded,
@@ -6310,7 +6358,7 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6310
6358
  onAfterLeave: m[0] || (m[0] = (h) => l("after-leave"))
6311
6359
  }, {
6312
6360
  default: D(() => [
6313
- w("div", z({
6361
+ B("div", z({
6314
6362
  class: "bs-toast",
6315
6363
  "data-component": "bs-toast",
6316
6364
  "data-variant": e.variant,
@@ -6318,17 +6366,17 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6318
6366
  "data-stacked": c(d) || void 0,
6319
6367
  role: "alert"
6320
6368
  }, r.$attrs), [
6321
- E(r.$slots, "default")
6322
- ], 16, so)
6369
+ V(r.$slots, "default")
6370
+ ], 16, uo)
6323
6371
  ]),
6324
6372
  _: 3
6325
6373
  }, 8, ["shown", "preloaded"]));
6326
6374
  }
6327
- }), uo = ["data-stacked"], li = {
6375
+ }), co = ["data-stacked"], oi = {
6328
6376
  __name: "BsToastActions",
6329
6377
  setup(e) {
6330
- const a = I(!1);
6331
- H(() => {
6378
+ const a = w(!1);
6379
+ Y(() => {
6332
6380
  var n;
6333
6381
  const l = St();
6334
6382
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
@@ -6339,35 +6387,35 @@ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo =
6339
6387
  "data-component": "bs-toast-actions",
6340
6388
  "data-stacked": a.value || void 0
6341
6389
  }, [
6342
- E(l.$slots, "default", {}, () => [
6343
- P(ka, {
6390
+ V(l.$slots, "default", {}, () => [
6391
+ P(Ca, {
6344
6392
  size: "sm",
6345
6393
  "text-btn": "",
6346
6394
  onClick: c(t)
6347
6395
  }, {
6348
6396
  default: D(() => n[0] || (n[0] = [
6349
- W(" Dismiss ")
6397
+ G(" Dismiss ")
6350
6398
  ])),
6351
6399
  _: 1
6352
6400
  }, 8, ["onClick"])
6353
6401
  ])
6354
- ], 8, uo));
6402
+ ], 8, co));
6355
6403
  }
6356
- }, co = (e, a) => {
6404
+ }, fo = (e, a) => {
6357
6405
  const t = e.__vccOpts || e;
6358
6406
  for (const [l, n] of a)
6359
6407
  t[l] = n;
6360
6408
  return t;
6361
- }, fo = {}, po = {
6409
+ }, po = {}, mo = {
6362
6410
  class: "bs-toast-body",
6363
6411
  "data-component": "bs-toast-body"
6364
6412
  };
6365
- function mo(e, a) {
6366
- return u(), b("div", po, [
6367
- E(e.$slots, "default")
6413
+ function bo(e, a) {
6414
+ return u(), b("div", mo, [
6415
+ V(e.$slots, "default")
6368
6416
  ]);
6369
6417
  }
6370
- const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii = {
6418
+ const ii = /* @__PURE__ */ fo(po, [["render", bo]]), ho = ["data-variant"], ri = {
6371
6419
  __name: "BsToastHeader",
6372
6420
  setup(e) {
6373
6421
  const a = pe("variant"), t = f(() => {
@@ -6375,7 +6423,7 @@ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii =
6375
6423
  case "warning":
6376
6424
  return Xe;
6377
6425
  case "positive":
6378
- return _t;
6426
+ return ea;
6379
6427
  case "negative":
6380
6428
  return Xe;
6381
6429
  default:
@@ -6387,23 +6435,23 @@ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii =
6387
6435
  "data-component": "bs-toast-header",
6388
6436
  "data-variant": c(a)
6389
6437
  }, [
6390
- (u(), V(te(t.value), { class: "bs-toast-header-icon" })),
6391
- w("h5", null, [
6392
- E(l.$slots, "default")
6438
+ (u(), O(ae(t.value), { class: "bs-toast-header-icon" })),
6439
+ B("h5", null, [
6440
+ V(l.$slots, "default")
6393
6441
  ])
6394
- ], 8, bo));
6442
+ ], 8, ho));
6395
6443
  }
6396
- }, ho = {
6444
+ }, vo = {
6397
6445
  class: "bs-toaster",
6398
6446
  "data-component": "bs-toaster"
6399
- }, ri = {
6447
+ }, si = {
6400
6448
  __name: "BsToaster",
6401
6449
  setup(e) {
6402
- return fe("stacked", !0), (a, t) => (u(), b("div", ho, [
6403
- E(a.$slots, "default")
6450
+ return fe("stacked", !0), (a, t) => (u(), b("div", vo, [
6451
+ V(a.$slots, "default")
6404
6452
  ]));
6405
6453
  }
6406
- }, vo = ["data-position"], go = ["id"], si = {
6454
+ }, go = ["data-position"], yo = ["id"], di = {
6407
6455
  __name: "BsTooltip",
6408
6456
  props: {
6409
6457
  tooltipId: {
@@ -6430,7 +6478,7 @@ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii =
6430
6478
  }
6431
6479
  },
6432
6480
  setup(e) {
6433
- const a = e, t = I(!1), l = I(!1), n = f(() => {
6481
+ const a = e, t = w(!1), l = w(!1), n = f(() => {
6434
6482
  let o = "bs-tooltip-text";
6435
6483
  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;
6436
6484
  });
@@ -6452,16 +6500,16 @@ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii =
6452
6500
  onMouseleave: d,
6453
6501
  onFocusout: d
6454
6502
  }, [
6455
- E(o.$slots, "default"),
6503
+ V(o.$slots, "default"),
6456
6504
  e.content ? (u(), b("div", {
6457
6505
  key: 0,
6458
- class: ie(n.value),
6506
+ class: le(n.value),
6459
6507
  id: e.tooltipId,
6460
6508
  role: "tooltip"
6461
- }, O(e.content), 11, go)) : x("", !0)
6462
- ], 40, vo));
6509
+ }, A(e.content), 11, yo)) : C("", !0)
6510
+ ], 40, go));
6463
6511
  }
6464
- }, yo = {
6512
+ }, So = {
6465
6513
  accordion: "[data-component=bs-accordion]",
6466
6514
  badge: "[data-component=bs-badge]",
6467
6515
  banner: "[data-component=bs-banner]",
@@ -6518,69 +6566,69 @@ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii =
6518
6566
  toastHeader: "[data-component=bs-toast-header]",
6519
6567
  toaster: "[data-component=bs-toaster]",
6520
6568
  tooltip: "[data-component=bs-tooltip]"
6521
- }, di = {
6522
- bsSelectors: yo
6569
+ }, ui = {
6570
+ bsSelectors: So
6523
6571
  };
6524
6572
  export {
6525
- xo as BsAccordion,
6526
- wa as BsBadge,
6527
- To as BsBanner,
6528
- ka as BsButton,
6529
- Ao as BsCalendar,
6530
- Oo as BsCaretButton,
6531
- Vo as BsCaretTextButton,
6532
- Eo as BsChartBar,
6533
- Lo as BsCheckbox,
6573
+ To as BsAccordion,
6574
+ Ba as BsBadge,
6575
+ Ao as BsBanner,
6576
+ Ca as BsButton,
6577
+ Oo as BsCalendar,
6578
+ Vo as BsCaretButton,
6579
+ Eo as BsCaretTextButton,
6580
+ Lo as BsChartBar,
6581
+ Do as BsCheckbox,
6534
6582
  xt as BsCircleButton,
6535
6583
  lt as BsDropdown,
6536
- Vt as BsDropdownCombobox,
6537
- Do as BsDropdownComboboxField,
6538
- Et as BsDropdownMultiselect,
6584
+ Et as BsDropdownCombobox,
6585
+ Po as BsDropdownComboboxField,
6586
+ Lt as BsDropdownMultiselect,
6539
6587
  ot as BsDropdownOption,
6540
6588
  qe as BsDropdownOptionBuilder,
6541
6589
  Re as BsDropdownOptionList,
6542
- Lt as BsDropdownWithOptions,
6543
- Ot as BsDropdownWithToggle,
6544
- Po as BsEmptyState,
6590
+ Dt as BsDropdownWithOptions,
6591
+ Vt as BsDropdownWithToggle,
6592
+ qo as BsEmptyState,
6545
6593
  ge as BsFieldDetails,
6546
- Sn as BsFilterButton,
6547
- qo as BsFlyout,
6548
- Mo as BsIconGradientWrapper,
6594
+ wn as BsFilterButton,
6595
+ Mo as BsFlyout,
6596
+ No as BsIconGradientWrapper,
6549
6597
  Ie as BsInput,
6550
6598
  De as BsInputAddon,
6551
- No as BsInputField,
6552
- zo as BsInputPhone,
6553
- Xn as BsInputSearch,
6554
- Fo as BsInputTypeahead,
6555
- ae as BsLabel,
6556
- Ro as BsLoader,
6557
- jo as BsModal,
6558
- ol as BsOverlay,
6559
- Wo as BsPagination,
6560
- Uo as BsPill,
6561
- Go as BsProfile,
6562
- El as BsProfileDetails,
6599
+ zo as BsInputField,
6600
+ Fo as BsInputPhone,
6601
+ Ot as BsInputSearch,
6602
+ Ro as BsInputTypeahead,
6603
+ ne as BsLabel,
6604
+ jo as BsLoader,
6605
+ Wo as BsModal,
6606
+ il as BsOverlay,
6607
+ Uo as BsPagination,
6608
+ Go as BsPill,
6609
+ Ho as BsProfile,
6610
+ Ll as BsProfileDetails,
6563
6611
  At as BsProfileImg,
6564
- Ho as BsProgressBar,
6565
- Ko as BsRadio,
6566
- Nl as BsSelect,
6567
- Yo as BsSelectField,
6568
- Zo as BsSelectWithDropdown,
6612
+ Ko as BsProgressBar,
6613
+ Yo as BsRadio,
6614
+ zl as BsSelect,
6615
+ Zo as BsSelectField,
6616
+ Xo as BsSelectWithDropdown,
6569
6617
  bt as BsSpinner,
6570
- Xo as BsSwitch,
6571
- Qo as BsTab,
6572
- Jo as BsTabList,
6573
- _o as BsTabPanel,
6574
- eo as BsTextarea,
6575
- ei as BsTextareaField,
6576
- lo as BsTimePicker,
6577
- ti as BsTimePickerField,
6578
- ai as BsTimeline,
6579
- ni as BsToast,
6580
- li as BsToastActions,
6581
- oi as BsToastBody,
6582
- ii as BsToastHeader,
6583
- ri as BsToaster,
6584
- si as BsTooltip,
6585
- di as bsSelectors
6618
+ Qo as BsSwitch,
6619
+ Jo as BsTab,
6620
+ _o as BsTabList,
6621
+ ei as BsTabPanel,
6622
+ to as BsTextarea,
6623
+ ti as BsTextareaField,
6624
+ oo as BsTimePicker,
6625
+ ai as BsTimePickerField,
6626
+ ni as BsTimeline,
6627
+ li as BsToast,
6628
+ oi as BsToastActions,
6629
+ ii as BsToastBody,
6630
+ ri as BsToastHeader,
6631
+ si as BsToaster,
6632
+ di as BsTooltip,
6633
+ ui as bsSelectors
6586
6634
  };