@wwtdev/bsds-components-vue3 2.11.1 → 2.12.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,6 +1,6 @@
1
- import { computed as p, ref as k, onMounted as H, onUnmounted as $e, shallowRef as Mt, watch as j, defineAsyncComponent as Je, openBlock as u, createElementBlock as v, unref as c, createElementVNode as $, renderSlot as E, createBlock as A, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as T, createVNode as D, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as L, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as gt, nextTick as Ae, createTextVNode as U, createSlots as Ze, useSlots as yt, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as St, isRef as zt } from "vue";
1
+ import { computed as p, ref as I, onMounted as H, onUnmounted as $e, shallowRef as Mt, watch as j, defineAsyncComponent as Je, openBlock as u, createElementBlock as h, unref as c, createElementVNode as S, renderSlot as L, createBlock as O, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as V, 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 gt, nextTick as Ae, createTextVNode as U, createSlots as Ze, useSlots as yt, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as St, isRef as zt } from "vue";
2
2
  import { v4 as wt } from "uuid";
3
- import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as Be, BsIconCalendar as $t, BsIconCaretRight as Bt, BsIconCaretLeft as It, BsIconSmallCaretRight as Rt, BsIconSmallCaretLeft as Ft, 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 { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as Be, BsIconCalendar as $t, BsIconCaretRight as Bt, 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";
4
4
  import { DatePicker as ea } from "v-calendar";
5
5
  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";
6
6
  import "chartjs-adapter-date-fns";
@@ -25,7 +25,7 @@ function ze(e, a, t = "button") {
25
25
  }
26
26
  function ca(e, a, t) {
27
27
  const l = Object.keys(ct).find((n) => fa(e, a, n));
28
- return k(ct[l] || t);
28
+ return I(ct[l] || t);
29
29
  }
30
30
  function fa(e, a, t) {
31
31
  return e[t] || a[t];
@@ -43,7 +43,7 @@ const Ct = (e, a) => {
43
43
  document.removeEventListener("mouseup", t);
44
44
  });
45
45
  };
46
- function Re(e) {
46
+ function Fe(e) {
47
47
  const a = p(() => e.linkTo || e.href || ""), t = p(() => {
48
48
  var i, d;
49
49
  return ((d = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : d.call(i, "/")) || !1;
@@ -91,12 +91,12 @@ const Ve = (e, a) => {
91
91
  function Z(e = 1) {
92
92
  const a = [];
93
93
  for (let t = 0; t < e; t++)
94
- a.push(k(""));
94
+ a.push(I(""));
95
95
  return H(() => {
96
96
  a.forEach((t) => t.value = `id-${wt()}`);
97
97
  }), a;
98
98
  }
99
- const he = (e, a, t = void 0) => {
99
+ const me = (e, a, t = void 0) => {
100
100
  const l = (n) => {
101
101
  var i, d;
102
102
  ((i = e == null ? void 0 : e.includes) != null && i.call(e, n.key) || (d = e == null ? void 0 : e.some) != null && d.call(e, (o) => {
@@ -117,7 +117,7 @@ const he = (e, a, t = void 0) => {
117
117
  l.disconnect();
118
118
  });
119
119
  }, Le = (e) => {
120
- const a = k(!1);
120
+ const a = I(!1);
121
121
  return H(() => {
122
122
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
123
123
  }), j(() => e.shown, (t) => {
@@ -127,7 +127,7 @@ const he = (e, a, t = void 0) => {
127
127
  }), j(() => e.leaveTrigger, (t) => {
128
128
  t && (a.value = !1);
129
129
  }), { transition: a };
130
- }, ha = ["id", "data-stacked"], va = ["data-open"], ma = ["aria-controls", "aria-expanded"], ba = {
130
+ }, ma = ["id", "data-stacked"], ha = ["data-open"], ba = ["aria-controls", "aria-expanded"], va = {
131
131
  key: 0,
132
132
  "data-position": "start",
133
133
  style: { display: "inline-flex" }
@@ -148,11 +148,11 @@ const he = (e, a, t = void 0) => {
148
148
  },
149
149
  emits: ["toggled"],
150
150
  setup(e, { emit: a }) {
151
- const t = e, l = a, n = k(null), i = k(!1), { icon: d } = Ve(t, "icon"), [o] = Z(), s = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), m = p(() => t.controlled ? f.value : i.value);
152
- function b() {
151
+ const t = e, l = a, n = I(null), i = I(!1), { icon: d } = Ve(t, "icon"), [o] = Z(), s = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), b = p(() => t.controlled ? f.value : i.value);
152
+ function v() {
153
153
  l("toggled", o.value), t.controlled || (i.value = !i.value);
154
154
  }
155
- return (g, S) => (u(), v("div", {
155
+ return (g, y) => (u(), h("div", {
156
156
  id: c(o),
157
157
  ref_key: "containerRef",
158
158
  ref: n,
@@ -160,41 +160,41 @@ const he = (e, a, t = void 0) => {
160
160
  "data-component": "bs-accordion",
161
161
  "data-stacked": e.stacked
162
162
  }, [
163
- $("header", {
163
+ S("header", {
164
164
  part: "header",
165
- "data-open": m.value
165
+ "data-open": b.value
166
166
  }, [
167
- $("button", {
167
+ S("button", {
168
168
  "aria-controls": s.value,
169
- "aria-expanded": m.value,
169
+ "aria-expanded": b.value,
170
170
  type: "button",
171
- onClick: b
171
+ onClick: v
172
172
  }, [
173
- e.icon || g.$slots.icon ? (u(), v("span", ba, [
174
- E(g.$slots, "icon", {}, () => [
175
- e.icon ? (u(), A(te(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
173
+ e.icon || g.$slots.icon ? (u(), h("span", va, [
174
+ L(g.$slots, "icon", {}, () => [
175
+ e.icon ? (u(), O(te(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
176
176
  ])
177
177
  ])) : C("", !0),
178
- $("span", { id: r.value }, T(e.headerText), 9, ga),
179
- D(c(Me), {
178
+ S("span", { id: r.value }, V(e.headerText), 9, ga),
179
+ P(c(Me), {
180
180
  size: "md",
181
181
  "data-position": "end"
182
182
  })
183
- ], 8, ma)
184
- ], 8, va),
185
- $("div", {
183
+ ], 8, ba)
184
+ ], 8, ha),
185
+ S("div", {
186
186
  "aria-labelledby": r.value,
187
187
  class: "bs-accordion-content",
188
- "data-open": m.value,
188
+ "data-open": b.value,
189
189
  id: s.value,
190
190
  part: "content",
191
191
  role: "region"
192
192
  }, [
193
- $("div", null, [
194
- E(g.$slots, "default")
193
+ S("div", null, [
194
+ L(g.$slots, "default")
195
195
  ])
196
196
  ], 8, ya)
197
- ], 8, ha));
197
+ ], 8, ma));
198
198
  }
199
199
  }, Sa = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], wa = {
200
200
  __name: "BsBadge",
@@ -243,7 +243,7 @@ const he = (e, a, t = void 0) => {
243
243
  }
244
244
  },
245
245
  setup(e) {
246
- const a = e, t = k(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
246
+ const a = e, t = I(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
247
247
  var s, r;
248
248
  const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", d = l.value ? l.value + " " : "";
249
249
  if (!d && !a.dot)
@@ -251,7 +251,7 @@ const he = (e, a, t = void 0) => {
251
251
  const o = a.count !== 1 ? "s" : "";
252
252
  return `${i ? `${i}, ` : ""}${d}${a.label}${o}`;
253
253
  });
254
- return (i, d) => (u(), v("span", {
254
+ return (i, d) => (u(), h("span", {
255
255
  ref_key: "hostRef",
256
256
  ref: t,
257
257
  "aria-label": n.value,
@@ -264,35 +264,36 @@ const he = (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 }) : C("", !0)
267
+ e.variant !== "notext" ? L(i.$slots, "default", { key: 0 }) : C("", !0)
268
268
  ], 10, Sa));
269
269
  }
270
270
  }, $a = {
271
271
  key: 0,
272
272
  role: "alert",
273
- class: "bs-banner"
274
- }, Ba = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, Fo = {
273
+ class: "bs-banner",
274
+ "data-component": "bs-banner"
275
+ }, Ba = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, jo = {
275
276
  __name: "BsBanner",
276
277
  emits: ["dismiss"],
277
278
  setup(e, { emit: a }) {
278
- const t = a, l = k(!1);
279
+ const t = a, l = I(!1);
279
280
  function n() {
280
281
  l.value = !0, t("dismiss");
281
282
  }
282
- return (i, d) => l.value ? C("", !0) : (u(), v("div", $a, [
283
- $("div", Ba, [
284
- $("div", Ia, [
285
- D(c(Xe), { size: "lg" })
283
+ return (i, d) => l.value ? C("", !0) : (u(), h("div", $a, [
284
+ S("div", Ba, [
285
+ S("div", Ia, [
286
+ P(c(Xe), { size: "lg" })
286
287
  ]),
287
- $("p", null, [
288
- E(i.$slots, "default")
288
+ S("p", null, [
289
+ L(i.$slots, "default")
289
290
  ]),
290
- $("button", {
291
+ S("button", {
291
292
  type: "button",
292
293
  title: "Close Banner",
293
294
  onClick: n
294
295
  }, [
295
- D(c(Be))
296
+ P(c(Be))
296
297
  ])
297
298
  ])
298
299
  ]));
@@ -328,8 +329,8 @@ const he = (e, a, t = void 0) => {
328
329
  href: { type: String }
329
330
  },
330
331
  setup(e) {
331
- const a = e, t = re(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: d } = Re(a);
332
- return (o, s) => (u(), A(te(c(l)), z({
332
+ const a = e, t = re(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: d } = Fe(a);
333
+ return (o, s) => (u(), O(te(c(l)), z({
333
334
  class: "bs-button",
334
335
  "data-component": "bs-button",
335
336
  "data-ghost": e.ghostBtn,
@@ -338,8 +339,8 @@ const he = (e, a, t = void 0) => {
338
339
  "data-variant": e.variant,
339
340
  ".href": c(i)
340
341
  }, c(n), { onClick: c(d) }), {
341
- default: L(() => [
342
- E(o.$slots, "default")
342
+ default: D(() => [
343
+ L(o.$slots, "default")
343
344
  ]),
344
345
  _: 3
345
346
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
@@ -368,25 +369,25 @@ const he = (e, a, t = void 0) => {
368
369
  },
369
370
  setup(e) {
370
371
  const a = e, t = p(() => a.error && a.errorMsg || a.hint);
371
- return (l, n) => (u(), v("div", Ca, [
372
- t.value ? (u(), v("span", {
372
+ return (l, n) => (u(), h("div", Ca, [
373
+ t.value ? (u(), h("span", {
373
374
  key: 0,
374
375
  id: e.hintId,
375
376
  class: "bs-hint",
376
377
  "data-error": e.error
377
- }, T(t.value), 9, xa)) : C("", !0),
378
- e.charMax ? (u(), v("span", {
378
+ }, V(t.value), 9, xa)) : C("", !0),
379
+ e.charMax ? (u(), h("span", {
379
380
  key: 1,
380
381
  "aria-description": "character count over character limit for the preceding text field",
381
382
  class: "bs-character-count",
382
383
  "data-error": a.charCount > a.charMax
383
- }, T(a.charCount || "0") + " / " + T(a.charMax), 9, Ta)) : C("", !0)
384
+ }, V(a.charCount || "0") + " / " + V(a.charMax), 9, Ta)) : C("", !0)
384
385
  ]));
385
386
  }
386
- }, Aa = ["data-disabled", "for"], Va = /* @__PURE__ */ $("span", {
387
+ }, Aa = ["data-disabled", "for"], Va = /* @__PURE__ */ S("span", {
387
388
  "data-required": "true",
388
389
  "aria-hidden": "true"
389
- }, " *", -1), Oa = /* @__PURE__ */ $("span", { class: "visually-hidden" }, "required", -1), ae = {
390
+ }, " *", -1), Oa = /* @__PURE__ */ S("span", { class: "visually-hidden" }, "required", -1), ae = {
390
391
  __name: "BsLabel",
391
392
  props: {
392
393
  disabled: { type: Boolean, default: !1 },
@@ -395,16 +396,16 @@ const he = (e, a, t = void 0) => {
395
396
  required: { type: Boolean, default: !1 }
396
397
  },
397
398
  setup(e) {
398
- return (a, t) => (u(), v("label", {
399
+ return (a, t) => (u(), h("label", {
399
400
  class: ie(["bs-label", e.hide ? "visually-hidden" : ""]),
400
401
  "data-component": "bs-label",
401
402
  "data-disabled": e.disabled,
402
403
  for: e.for
403
404
  }, [
404
- $("span", null, [
405
- E(a.$slots, "default")
405
+ S("span", null, [
406
+ L(a.$slots, "default")
406
407
  ]),
407
- e.required ? (u(), v(G, { key: 0 }, [
408
+ e.required ? (u(), h(G, { key: 0 }, [
408
409
  Va,
409
410
  Oa
410
411
  ], 64)) : C("", !0)
@@ -430,7 +431,7 @@ const he = (e, a, t = void 0) => {
430
431
  const s = n.type === "number" ? parseInt(o.target.value) : o.target.value;
431
432
  l("update:modelValue", s);
432
433
  }
433
- return (o, s) => (u(), v("input", z({
434
+ return (o, s) => (u(), h("input", z({
434
435
  class: "bs-input",
435
436
  "data-component": "bs-input",
436
437
  "data-error": e.error,
@@ -450,7 +451,7 @@ const he = (e, a, t = void 0) => {
450
451
  variant: { type: String, validator: (e) => ["inner-bordered", "combobox"].includes(e) }
451
452
  },
452
453
  setup(e) {
453
- return (a, t) => (u(), v("div", {
454
+ return (a, t) => (u(), h("div", {
454
455
  class: "bs-input-addon",
455
456
  "data-component": "bs-input-addon",
456
457
  "data-autopad": e.autopad,
@@ -460,7 +461,7 @@ const he = (e, a, t = void 0) => {
460
461
  "data-variant": e.variant,
461
462
  "data-multifocus": e.multifocus
462
463
  }, [
463
- E(a.$slots, "default")
464
+ L(a.$slots, "default")
464
465
  ], 8, La));
465
466
  }
466
467
  }, Da = {
@@ -496,13 +497,13 @@ const he = (e, a, t = void 0) => {
496
497
  }
497
498
  },
498
499
  setup(e) {
499
- return (a, t) => (u(), A(De, {
500
+ return (a, t) => (u(), O(De, {
500
501
  disabled: e.disabled,
501
502
  error: e.error
502
503
  }, {
503
- default: L(() => [
504
- D(c($t)),
505
- D(Ie, z({
504
+ default: D(() => [
505
+ P(c($t)),
506
+ P(Ie, z({
506
507
  "data-autowidth": "",
507
508
  disabled: e.disabled,
508
509
  id: e.inputId,
@@ -524,7 +525,7 @@ function Oe(e, a, t) {
524
525
  }, a);
525
526
  };
526
527
  }
527
- const qa = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-value"], Ma = {
528
+ const Pa = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-value"], Ma = {
528
529
  __name: "BsInputDateRange",
529
530
  props: {
530
531
  disabled: {
@@ -561,52 +562,52 @@ const qa = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-val
561
562
  },
562
563
  emits: ["ui-focusin", "ui-input"],
563
564
  setup(e, { emit: a }) {
564
- const t = a, l = k(null), n = k(null);
565
+ const t = a, l = I(null), n = I(null);
565
566
  function i(r) {
566
567
  const f = new Event("change", { bubbles: !0, cancelable: !0 });
567
568
  r.dispatchEvent(f);
568
569
  }
569
570
  function d(r) {
570
- const { value: f } = r.target, [m, b] = f.split(/ to | - /);
571
- l.value.value = m || "", n.value.value = b || "", i(l.value), i(n.value);
571
+ const { value: f } = r.target, [b, v] = f.split(/ to | - /);
572
+ l.value.value = b || "", n.value.value = v || "", i(l.value), i(n.value);
572
573
  }
573
574
  const o = Oe(d, 1e3);
574
575
  function s(r) {
575
576
  t("ui-input"), o(r);
576
577
  }
577
- return (r, f) => (u(), A(De, {
578
+ return (r, f) => (u(), O(De, {
578
579
  disabled: e.disabled,
579
580
  error: e.error
580
581
  }, {
581
- default: L(() => [
582
- D(c($t)),
583
- D(Ie, {
582
+ default: D(() => [
583
+ P(c($t)),
584
+ P(Ie, {
584
585
  "data-autowidth": "",
585
586
  disabled: e.disabled,
586
587
  id: e.inputId,
587
588
  "model-value": e.inputValueFmt,
588
589
  placeholder: e.placeholder,
589
590
  required: e.required,
590
- onFocusin: f[0] || (f[0] = (m) => r.$emit("ui-focusin")),
591
+ onFocusin: f[0] || (f[0] = (b) => r.$emit("ui-focusin")),
591
592
  onInput: s,
592
593
  onChange: d
593
594
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
594
- $("input", z({
595
+ S("input", z({
595
596
  ref_key: "hiddenStart",
596
597
  ref: l,
597
598
  type: "hidden",
598
599
  disabled: e.disabled,
599
600
  id: `${e.inputId}-start`,
600
601
  "model-value": e.inputValue.start
601
- }, Ye(e.listeners.start, !0)), null, 16, qa),
602
- $("input", z({
602
+ }, Ye(e.listeners.start, !0)), null, 16, Pa),
603
+ S("input", z({
603
604
  ref_key: "hiddenEnd",
604
605
  ref: n,
605
606
  type: "hidden",
606
607
  disabled: e.disabled,
607
608
  id: `${e.inputId}-end`,
608
609
  "model-value": e.inputValue.end
609
- }, Ye(e.listeners.end, !0)), null, 16, Pa)
610
+ }, Ye(e.listeners.end, !0)), null, 16, qa)
610
611
  ]),
611
612
  _: 1
612
613
  }, 8, ["disabled", "error"]));
@@ -657,7 +658,7 @@ const et = [
657
658
  "multiple",
658
659
  "name",
659
660
  "size"
660
- ], Ra = [
661
+ ], Fa = [
661
662
  "aria-describedby",
662
663
  "aria-label",
663
664
  "autocapitalize",
@@ -676,7 +677,7 @@ const et = [
676
677
  "rows",
677
678
  "spellcheck",
678
679
  "wrap"
679
- ], ve = [
680
+ ], he = [
680
681
  "aria-describedby",
681
682
  "aria-label",
682
683
  "autocapitalize",
@@ -704,7 +705,7 @@ function Y(e, a = []) {
704
705
  a.includes(n) ? t[n] = e[n] : l[n] = e[n];
705
706
  }), { filtered: t, remaining: l };
706
707
  }
707
- const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
708
+ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
708
709
  __name: "BsCalendar",
709
710
  props: {
710
711
  disabled: {
@@ -771,7 +772,7 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
771
772
  },
772
773
  emits: ["update:modelValue"],
773
774
  setup(e, { emit: a }) {
774
- const t = e, l = k(null), n = k(1), i = k(null), [d, o] = Z(2), s = k(1), { filtered: r, remaining: f } = Y(re(), [
775
+ const t = e, l = I(null), n = I(1), i = I(null), [d, o] = Z(2), s = I(1), { filtered: r, remaining: f } = Y(re(), [
775
776
  "attributes",
776
777
  "data-cy",
777
778
  "expanded",
@@ -780,54 +781,55 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
780
781
  "masks",
781
782
  "rows",
782
783
  "trim-weeks"
783
- ]), m = p(() => t.inputId || d.value), b = p(() => ({ range: t.isRange })), g = p(() => !!(t.error && t.errorMsg || t.hint)), S = p(() => t.step), I = p(() => t.variant);
784
+ ]), b = p(() => t.inputId || d.value), v = p(() => ({ range: t.isRange })), g = p(() => !!(t.error && t.errorMsg || t.hint)), y = p(() => t.step), B = p(() => t.variant);
784
785
  Na(i), Qe(
785
786
  pt,
786
- (y) => n.value = y != null && y.matches && I.value == "2-col" ? 2 : 1,
787
- [I]
787
+ ($) => n.value = $ != null && $.matches && B.value == "2-col" ? 2 : 1,
788
+ [B]
788
789
  ), Qe(
789
790
  pt,
790
- (y) => s.value = y != null && y.matches && I.value == "2-col" ? S.value : 1,
791
- [S, I]
791
+ ($) => s.value = $ != null && $.matches && B.value == "2-col" ? y.value : 1,
792
+ [y, B]
792
793
  ), H(() => {
793
- t.inputMode || w();
794
+ t.inputMode || k();
794
795
  }), j(() => {
795
- var y, M;
796
- return (M = (y = l.value) == null ? void 0 : y.popoverRef) == null ? void 0 : M.isVisible;
797
- }, (y) => {
798
- y && Ae(w);
796
+ var $, A;
797
+ return (A = ($ = l.value) == null ? void 0 : $.popoverRef) == null ? void 0 : A.isVisible;
798
+ }, ($) => {
799
+ $ && Ae(k);
799
800
  });
800
- function h(y) {
801
- return t.isRange && y.start && y.end ? `${y.start} to ${y.end}` : !t.isRange && y ? y : "";
801
+ function m($) {
802
+ return t.isRange && $.start && $.end ? `${$.start} to ${$.end}` : !t.isRange && $ ? $ : "";
802
803
  }
803
- function B(y) {
804
- !t.isRange || i.value.contains(y.relatedTarget) || l.value.hidePopover();
804
+ function w($) {
805
+ !t.isRange || i.value.contains($.relatedTarget) || l.value.hidePopover();
805
806
  }
806
- function w() {
807
- const y = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
808
- y && y.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
807
+ function k() {
808
+ const $ = i.value.querySelector("button.vc-prev"), A = i.value.querySelector("button.vc-next");
809
+ $ && $.setAttribute("aria-label", "Previous month"), A && A.setAttribute("aria-label", "Next month");
809
810
  }
810
- return (y, M) => (u(), v("div", z({
811
+ return ($, A) => (u(), h("div", z({
811
812
  ref_key: "container",
812
813
  ref: i,
813
814
  class: "bs-calendar",
815
+ "data-component": "bs-calendar",
814
816
  "data-range": e.isRange,
815
- onFocusout: B
817
+ onFocusout: w
816
818
  }, c(f)), [
817
- e.label || y.$slots.label ? (u(), A(ae, {
819
+ e.label || $.$slots.label ? (u(), O(ae, {
818
820
  key: 0,
819
- for: m.value,
821
+ for: b.value,
820
822
  disabled: e.disabled,
821
823
  required: e.required
822
824
  }, {
823
- default: L(() => [
824
- E(y.$slots, "label", {}, () => [
825
- U(T(e.label), 1)
825
+ default: D(() => [
826
+ L($.$slots, "label", {}, () => [
827
+ U(V(e.label), 1)
826
828
  ])
827
829
  ]),
828
830
  _: 3
829
831
  }, 8, ["for", "disabled", "required"])) : C("", !0),
830
- D(c(ea), z({
832
+ P(c(ea), z({
831
833
  ref_key: "calendar",
832
834
  ref: l,
833
835
  columns: n.value,
@@ -836,34 +838,34 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
836
838
  "min-date": e.minDate,
837
839
  mode: "date",
838
840
  "model-value": e.modelValue,
839
- "model-modifiers": b.value,
841
+ "model-modifiers": v.value,
840
842
  popover: { visibility: "focus" },
841
843
  rows: 1,
842
844
  step: s.value,
843
- "onUpdate:modelValue": M[0] || (M[0] = (V) => y.$emit("update:modelValue", V))
845
+ "onUpdate:modelValue": A[0] || (A[0] = (x) => $.$emit("update:modelValue", x))
844
846
  }, c(r)), Ze({ _: 2 }, [
845
847
  e.inputMode ? {
846
848
  name: "default",
847
- fn: L(({ inputValue: V, inputEvents: q, showPopover: R }) => [
848
- e.isRange ? (u(), A(Ma, {
849
+ fn: D(({ inputValue: x, inputEvents: q, showPopover: F }) => [
850
+ e.isRange ? (u(), O(Ma, {
849
851
  key: 1,
850
852
  disabled: e.disabled,
851
853
  error: e.error,
852
- "input-id": m.value,
853
- "input-value": V,
854
- "input-value-fmt": h(V),
854
+ "input-id": b.value,
855
+ "input-value": x,
856
+ "input-value-fmt": m(x),
855
857
  listeners: q,
856
858
  placeholder: e.placeholder,
857
859
  required: e.required,
858
- onUiFocusin: R,
859
- onUiInput: R
860
- }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), A(Da, {
860
+ onUiFocusin: F,
861
+ onUiInput: F
862
+ }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), O(Da, {
861
863
  key: 0,
862
864
  disabled: e.disabled,
863
865
  error: e.error,
864
- "input-id": m.value,
866
+ "input-id": b.value,
865
867
  listeners: q,
866
- "model-value": h(V),
868
+ "model-value": m(x),
867
869
  placeholder: e.placeholder,
868
870
  required: e.required
869
871
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
@@ -871,14 +873,14 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
871
873
  key: "0"
872
874
  } : void 0
873
875
  ]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
874
- g.value ? (u(), A(ge, {
876
+ g.value ? (u(), O(ge, {
875
877
  key: 1,
876
878
  error: e.error,
877
879
  "error-msg": e.errorMsg,
878
880
  hint: e.hint,
879
881
  "hint-id": c(o)
880
882
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
881
- ], 16, Fa));
883
+ ], 16, Ra));
882
884
  }
883
885
  }), ja = { key: 0 }, Wa = {
884
886
  class: "bs-circle-button-icon",
@@ -932,46 +934,47 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
932
934
  }
933
935
  },
934
936
  setup(e) {
935
- const a = e, t = re(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, t), { onLinkClick: o } = Re(a), s = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
937
+ const a = e, t = re(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, t), { onLinkClick: o } = Fe(a), s = p(() => b.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
936
938
  if (a.hoverEffect)
937
939
  return a.iconPosition;
938
940
  }), f = p(() => {
939
- const h = a.iconPosition === "left" ? "caret-left" : "caret-right";
941
+ const m = a.iconPosition === "left" ? "caret-left" : "caret-right";
940
942
  return {
941
- icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${h}` : h)
943
+ icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${m}` : m)
942
944
  };
943
- }), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), g = p(() => m.value && a.iconPosition === "left"), S = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: I } = Ve(f, "icon");
944
- return (h, B) => (u(), A(te(c(n)), z({
945
+ }), b = p(() => a.textBtn || !!(l != null && l.default)), v = p(() => b.value && a.iconPosition !== "left"), g = p(() => b.value && a.iconPosition === "left"), y = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Ve(f, "icon");
946
+ return (m, w) => (u(), O(te(c(n)), z({
945
947
  class: "bs-circle-button",
946
948
  "data-disabled": e.disabled,
947
949
  "data-direction": r.value,
948
950
  "data-ghost": e.ghostBtn,
949
951
  "data-size": e.size,
950
- "data-text": m.value,
951
- "data-variant": S.value,
952
+ "data-text": b.value,
953
+ "data-variant": y.value,
954
+ "data-component": "bs-circle-button",
952
955
  ".href": c(d)
953
956
  }, { ...c(i), ...s.value }, { onClick: c(o) }), {
954
- default: L(() => [
955
- b.value ? (u(), v("span", ja, [
956
- E(h.$slots, "default", {}, () => [
957
- U(T(e.label), 1)
957
+ default: D(() => [
958
+ v.value ? (u(), h("span", ja, [
959
+ L(m.$slots, "default", {}, () => [
960
+ U(V(e.label), 1)
958
961
  ])
959
962
  ])) : C("", !0),
960
- $("span", Wa, [
961
- E(h.$slots, "icon", {}, () => [
962
- (u(), A(te(c(I))))
963
+ S("span", Wa, [
964
+ L(m.$slots, "icon", {}, () => [
965
+ (u(), O(te(c(B))))
963
966
  ])
964
967
  ]),
965
- g.value ? (u(), v("span", Ua, [
966
- E(h.$slots, "default", {}, () => [
967
- U(T(e.label), 1)
968
+ g.value ? (u(), h("span", Ua, [
969
+ L(m.$slots, "default", {}, () => [
970
+ U(V(e.label), 1)
968
971
  ])
969
972
  ])) : C("", !0)
970
973
  ]),
971
974
  _: 3
972
975
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
973
976
  }
974
- }), Wo = {
977
+ }), Uo = {
975
978
  __name: "BsCaretButton",
976
979
  props: {
977
980
  direction: {
@@ -1005,7 +1008,7 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1005
1008
  }
1006
1009
  },
1007
1010
  setup(e) {
1008
- return (a, t) => (u(), A(xt, {
1011
+ return (a, t) => (u(), O(xt, {
1009
1012
  disabled: e.disabled,
1010
1013
  "ghost-btn": e.ghostBtn,
1011
1014
  "hover-effect": e.hoverEffect,
@@ -1016,13 +1019,13 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1016
1019
  size: e.size,
1017
1020
  "text-btn": !1
1018
1021
  }, {
1019
- icon: L(() => [
1020
- e.direction == "right" ? (u(), A(c(Bt), { key: 0 })) : (u(), A(c(It), { key: 1 }))
1022
+ icon: D(() => [
1023
+ e.direction == "right" ? (u(), O(c(Bt), { key: 0 })) : (u(), O(c(It), { key: 1 }))
1021
1024
  ]),
1022
1025
  _: 1
1023
1026
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
1024
1027
  }
1025
- }, Uo = {
1028
+ }, Go = {
1026
1029
  __name: "BsCaretTextButton",
1027
1030
  props: {
1028
1031
  direction: {
@@ -1061,7 +1064,7 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1061
1064
  }
1062
1065
  },
1063
1066
  setup(e) {
1064
- return (a, t) => (u(), A(xt, {
1067
+ return (a, t) => (u(), O(xt, {
1065
1068
  disabled: e.disabled,
1066
1069
  "ghost-btn": e.ghostBtn,
1067
1070
  "hover-effect": e.hoverEffect,
@@ -1073,12 +1076,12 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1073
1076
  "text-btn": "",
1074
1077
  variant: e.variant
1075
1078
  }, {
1076
- icon: L(() => [
1077
- e.direction == "right" ? (u(), A(c(Rt), { key: 0 })) : (u(), A(c(Ft), { key: 1 }))
1079
+ icon: D(() => [
1080
+ e.direction == "right" ? (u(), O(c(Ft), { key: 0 })) : (u(), O(c(Rt), { key: 1 }))
1078
1081
  ]),
1079
- default: L(() => [
1080
- E(a.$slots, "default", {}, () => [
1081
- U(T(e.label), 1)
1082
+ default: D(() => [
1083
+ L(a.$slots, "default", {}, () => [
1084
+ U(V(e.label), 1)
1082
1085
  ])
1083
1086
  ]),
1084
1087
  _: 3
@@ -1121,24 +1124,24 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1121
1124
  }
1122
1125
  },
1123
1126
  setup(e) {
1124
- const a = e, t = k(!1), l = (f) => {
1125
- const m = new Date(f), b = m.toTimeString().split(" ")[0], g = m.toDateString().split(" ").slice(1, 3).join(" ");
1126
- return `${b} (${g})`;
1127
+ const a = e, t = I(!1), l = (f) => {
1128
+ const b = new Date(f), v = b.toTimeString().split(" ")[0], g = b.toDateString().split(" ").slice(1, 3).join(" ");
1129
+ return `${v} (${g})`;
1127
1130
  }, n = p(() => {
1128
1131
  var f;
1129
1132
  return !((f = a.dataIdxLabels) != null && f.length);
1130
1133
  });
1131
1134
  function i(f) {
1132
1135
  try {
1133
- return f.map((m) => {
1134
- const b = m.label;
1136
+ return f.map((b) => {
1137
+ const v = b.label;
1135
1138
  let g = [];
1136
- if (m.data.some((S) => (S == null ? void 0 : S.x) && (S == null ? void 0 : S.y))) {
1137
- const S = m.data.reduce((I, h) => (I[h.x] = h.y, I), {});
1138
- g = a.dataIdxLabels.map((I) => ({ value: S[I] ?? null }));
1139
+ if (b.data.some((y) => (y == null ? void 0 : y.x) && (y == null ? void 0 : y.y))) {
1140
+ const y = b.data.reduce((B, m) => (B[m.x] = m.y, B), {});
1141
+ g = a.dataIdxLabels.map((B) => ({ value: y[B] ?? null }));
1139
1142
  } else
1140
- g = m.data.map((S) => ({ value: S }));
1141
- return { rowLabel: b, dataCells: g };
1143
+ g = b.data.map((y) => ({ value: y }));
1144
+ return { rowLabel: v, dataCells: g };
1142
1145
  });
1143
1146
  } catch {
1144
1147
  return [];
@@ -1146,16 +1149,16 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1146
1149
  }
1147
1150
  function d(f) {
1148
1151
  try {
1149
- const m = f.reduce((S, I) => {
1150
- const h = I.data.map((B) => B == null ? void 0 : B.x);
1151
- return [...S, ...h];
1152
- }, []), b = Array.from(new Set(m));
1153
- return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((S, I) => (typeof S == "string" && typeof I == "string" && (S = S.toLowerCase(), I = I.toLowerCase()), S < I ? -1 : S > I ? 1 : 0)), b.map((S) => {
1154
- const I = { rowLabel: S }, h = [];
1155
- return f.forEach((B) => {
1156
- const w = { datasetLabel: B.label }, y = B.data.find((M) => M.x === S);
1157
- w.value = y ? y.y : null, h.push(w);
1158
- }), I.dataCells = h, a.xAxisType === "time" && (I.rowLabelFmt = l(S)), I;
1152
+ const b = f.reduce((y, B) => {
1153
+ const m = B.data.map((w) => w == null ? void 0 : w.x);
1154
+ return [...y, ...m];
1155
+ }, []), v = Array.from(new Set(b));
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 }, m = [];
1158
+ return f.forEach((w) => {
1159
+ const k = { datasetLabel: w.label }, $ = w.data.find((A) => A.x === y);
1160
+ k.value = $ ? $.y : null, m.push(k);
1161
+ }), B.dataCells = m, a.xAxisType === "time" && (B.rowLabelFmt = l(y)), B;
1159
1162
  });
1160
1163
  } catch {
1161
1164
  return [];
@@ -1173,33 +1176,33 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1173
1176
  });
1174
1177
  return H(() => {
1175
1178
  t.value = !0;
1176
- }), (f, m) => (u(), v("div", Ga, [
1177
- r.value ? (u(), v("table", {
1179
+ }), (f, b) => (u(), h("div", Ga, [
1180
+ r.value ? (u(), h("table", {
1178
1181
  key: 0,
1179
1182
  summary: s.value.title
1180
1183
  }, [
1181
- $("thead", null, [
1182
- $("tr", null, [
1183
- $("th", {
1184
+ S("thead", null, [
1185
+ S("tr", null, [
1186
+ S("th", {
1184
1187
  colspan: s.value.colspan
1185
- }, T(s.value.title), 9, Ka)
1188
+ }, V(s.value.title), 9, Ka)
1186
1189
  ]),
1187
- $("tr", null, [
1188
- $("th", Ya, T(s.value.colHeadingFirst), 1),
1189
- (u(!0), v(G, null, ee(s.value.colHeadings, (b) => (u(), v("th", {
1190
- key: b,
1190
+ S("tr", null, [
1191
+ S("th", Ya, V(s.value.colHeadingFirst), 1),
1192
+ (u(!0), h(G, null, ee(s.value.colHeadings, (v) => (u(), h("th", {
1193
+ key: v,
1191
1194
  scope: "col"
1192
- }, T(b), 1))), 128))
1195
+ }, V(v), 1))), 128))
1193
1196
  ])
1194
1197
  ]),
1195
- $("tbody", null, [
1196
- (u(!0), v(G, null, ee(s.value.rows, (b) => (u(), v("tr", {
1197
- key: b.rowLabelFmt || b.rowLabel
1198
+ S("tbody", null, [
1199
+ (u(!0), h(G, null, ee(s.value.rows, (v) => (u(), h("tr", {
1200
+ key: v.rowLabelFmt || v.rowLabel
1198
1201
  }, [
1199
- $("th", Za, T(b.rowLabelFmt || b.rowLabel), 1),
1200
- (u(!0), v(G, null, ee(b.dataCells, (g) => (u(), v("td", {
1201
- key: `${b.rowLabelFmt || b.rowLabel}${g.datasetLabel}${g.value}`
1202
- }, T(g.value), 1))), 128))
1202
+ S("th", Za, V(v.rowLabelFmt || v.rowLabel), 1),
1203
+ (u(!0), h(G, null, ee(v.dataCells, (g) => (u(), h("td", {
1204
+ key: `${v.rowLabelFmt || v.rowLabel}${g.datasetLabel}${g.value}`
1205
+ }, V(g.value), 1))), 128))
1203
1206
  ]))), 128))
1204
1207
  ])
1205
1208
  ], 8, Ha)) : C("", !0)
@@ -1207,57 +1210,57 @@ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Objec
1207
1210
  }
1208
1211
  }, Ee = 16, Qa = 20;
1209
1212
  function Ja(e, a) {
1210
- const t = k(null), l = k(!1), n = k(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Qa };
1213
+ const t = I(null), l = I(!1), n = I(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Qa };
1211
1214
  let s, r;
1212
- function f(h, B) {
1213
- let w;
1214
- switch (h) {
1215
+ function f(m, w) {
1216
+ let k;
1217
+ switch (m) {
1215
1218
  case "bar":
1216
- w = "setBarChartConfigs";
1219
+ k = "setBarChartConfigs";
1217
1220
  break;
1218
1221
  case "line":
1219
- w = "setLineChartConfigs";
1222
+ k = "setLineChartConfigs";
1220
1223
  break;
1221
1224
  default:
1222
- throw new Error(`Unsupported chart type: ${h}`);
1225
+ throw new Error(`Unsupported chart type: ${m}`);
1223
1226
  }
1224
- return new ln().setCommonConfigs(B).setCustomOptions(B)[w](B).setPlugins([_a(n), ta]).build();
1227
+ return new ln().setCommonConfigs(w).setCustomOptions(w)[k](w).setPlugins([_a(n), ta]).build();
1225
1228
  }
1226
- function m(h) {
1227
- h.preventDefault(), h.stopImmediatePropagation();
1228
- const B = h.target.closest("li");
1229
- if (B && s) {
1230
- const { labelIndex: w, datasetIndex: y } = B.dataset;
1231
- e === "pie" || e === "doughnut" ? s.toggleDataVisibility(w) : s.setDatasetVisibility(y, !s.isDatasetVisible(y)), s.update(), h.preventDefault(), h.stopImmediatePropagation(), b(y, w);
1229
+ function b(m) {
1230
+ m.preventDefault(), m.stopImmediatePropagation();
1231
+ const w = m.target.closest("li");
1232
+ if (w && s) {
1233
+ const { labelIndex: k, datasetIndex: $ } = w.dataset;
1234
+ e === "pie" || e === "doughnut" ? s.toggleDataVisibility(k) : s.setDatasetVisibility($, !s.isDatasetVisible($)), s.update(), m.preventDefault(), m.stopImmediatePropagation(), v($, k);
1232
1235
  }
1233
1236
  }
1234
- function b(h, B) {
1235
- var M;
1236
- const w = `[data-dataset-index="${h}"][data-label-index="${B}"]`, y = n.value.querySelector(w);
1237
- (M = y == null ? void 0 : y.focus) == null || M.call(y);
1237
+ function v(m, w) {
1238
+ var A;
1239
+ const k = `[data-dataset-index="${m}"][data-label-index="${w}"]`, $ = n.value.querySelector(k);
1240
+ (A = $ == null ? void 0 : $.focus) == null || A.call($);
1238
1241
  }
1239
- function g(...h) {
1240
- !r || !t.value || (je.register(...h), je.defaults.font.family = "'Roobert', sans-serif", s = new je(t.value, r));
1242
+ function g(...m) {
1243
+ !r || !t.value || (je.register(...m), je.defaults.font.family = "'Roobert', sans-serif", s = new je(t.value, r));
1241
1244
  }
1242
- const S = Oe(function(h) {
1243
- r && (r.updateOptions(h), s.options = r.options, s.update());
1244
- }, 100), I = Oe(function(h) {
1245
- r && (r.updateData(h), s.data = r.data, s.update());
1245
+ const y = Oe(function(m) {
1246
+ r && (r.updateOptions(m), s.options = r.options, s.update());
1247
+ }, 100), B = Oe(function(m) {
1248
+ r && (r.updateData(m), s.data = r.data, s.update());
1246
1249
  }, 100);
1247
1250
  return Qe(
1248
1251
  i,
1249
- (h) => l.value = h == null ? void 0 : h.matches,
1252
+ (m) => l.value = m == null ? void 0 : m.matches,
1250
1253
  [l]
1251
1254
  ), H(() => {
1252
- var h;
1255
+ var m;
1253
1256
  try {
1254
- r = f(e, a), (h = n.value) == null || h.addEventListener("click", m);
1255
- } catch (B) {
1256
- console.error("Error creating chart config", B), r = null;
1257
+ r = f(e, a), (m = n.value) == null || m.addEventListener("click", b);
1258
+ } catch (w) {
1259
+ console.error("Error creating chart config", w), r = null;
1257
1260
  }
1258
- }), he([" ", "Enter"], m, n), _e(() => {
1259
- var h;
1260
- (h = n.value) == null || h.removeEventListener("click", m), s == null || s.destroy();
1261
+ }), me([" ", "Enter"], b, n), _e(() => {
1262
+ var m;
1263
+ (m = n.value) == null || m.removeEventListener("click", b), s == null || s.destroy();
1261
1264
  }), j([
1262
1265
  () => a.customOptions,
1263
1266
  () => a.showTooltips,
@@ -1268,19 +1271,19 @@ function Ja(e, a) {
1268
1271
  () => a.yLabel,
1269
1272
  () => a.yMin,
1270
1273
  () => a.yMax
1271
- ], () => S(a)), j(
1274
+ ], () => y(a)), j(
1272
1275
  l,
1273
- (h) => S(Ne(
1276
+ (m) => y(Ne(
1274
1277
  {},
1275
1278
  a,
1276
- h ? o : d
1279
+ m ? o : d
1277
1280
  ))
1278
1281
  ), j(
1279
1282
  [
1280
1283
  () => a.data,
1281
1284
  () => a.dataIdxLabels
1282
1285
  ],
1283
- () => I(a),
1286
+ () => B(a),
1284
1287
  { deep: !0 }
1285
1288
  ), {
1286
1289
  canvasRef: t,
@@ -1379,7 +1382,7 @@ function at() {
1379
1382
  };
1380
1383
  }
1381
1384
  function nt(e) {
1382
- var g, S;
1385
+ var g, y;
1383
1386
  const {
1384
1387
  dataIdxLabels: a,
1385
1388
  showXGrid: t,
@@ -1391,8 +1394,8 @@ function nt(e) {
1391
1394
  yMax: s,
1392
1395
  yMin: r,
1393
1396
  customOptions: f,
1394
- tickSize: m
1395
- } = e, b = {
1397
+ tickSize: b
1398
+ } = e, v = {
1396
1399
  x: {
1397
1400
  grid: {
1398
1401
  display: t
@@ -1401,7 +1404,7 @@ function nt(e) {
1401
1404
  stacked: n,
1402
1405
  ticks: {
1403
1406
  font: {
1404
- size: m || Ee
1407
+ size: b || Ee
1405
1408
  }
1406
1409
  },
1407
1410
  title: {
@@ -1421,7 +1424,7 @@ function nt(e) {
1421
1424
  suggestedMin: r,
1422
1425
  ticks: {
1423
1426
  font: {
1424
- size: m || Ee
1427
+ size: b || Ee
1425
1428
  }
1426
1429
  },
1427
1430
  title: {
@@ -1430,9 +1433,9 @@ function nt(e) {
1430
1433
  }
1431
1434
  }
1432
1435
  };
1433
- return (i === "time" || ((S = (g = f == null ? void 0 : f.scales) == null ? void 0 : g.x) == null ? void 0 : S.type) === "time") && (b.x.ticks.source = a != null && a.length ? "labels" : "auto", b.x.time = {
1436
+ return (i === "time" || ((y = (g = f == null ? void 0 : f.scales) == null ? void 0 : g.x) == null ? void 0 : y.type) === "time") && (v.x.ticks.source = a != null && a.length ? "labels" : "auto", v.x.time = {
1434
1437
  tooltipFormat: "dd MMM yyyy : h:mm bbb"
1435
- }), b;
1438
+ }), v;
1436
1439
  }
1437
1440
  class Tt {
1438
1441
  /**
@@ -1593,7 +1596,7 @@ class ln {
1593
1596
  const on = {
1594
1597
  class: "bs-chart bs-chart-bar",
1595
1598
  "data-component": "bs-chart-bar"
1596
- }, rn = ["aria-label"], sn = ["data-hidden"], Go = {
1599
+ }, rn = ["aria-label"], sn = ["data-hidden"], Ho = {
1597
1600
  __name: "BsChartBar",
1598
1601
  props: {
1599
1602
  chartTitle: {
@@ -1673,18 +1676,18 @@ const on = {
1673
1676
  ia,
1674
1677
  ra,
1675
1678
  sa
1676
- )), (d, o) => (u(), v("div", on, [
1677
- $("figure", null, [
1678
- $("div", null, [
1679
- $("canvas", {
1679
+ )), (d, o) => (u(), h("div", on, [
1680
+ S("figure", null, [
1681
+ S("div", null, [
1682
+ S("canvas", {
1680
1683
  "aria-label": i.value,
1681
1684
  ref_key: "canvasRef",
1682
1685
  ref: t,
1683
1686
  role: "img"
1684
1687
  }, null, 8, rn)
1685
1688
  ]),
1686
- $("div", null, [
1687
- D(Xa, {
1689
+ S("div", null, [
1690
+ P(Xa, {
1688
1691
  "chart-type": "bar",
1689
1692
  data: e.data,
1690
1693
  "data-idx-labels": e.dataIdxLabels,
@@ -1693,10 +1696,10 @@ const on = {
1693
1696
  "x-label": e.xLabel,
1694
1697
  "y-label": e.yLabel
1695
1698
  }, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
1696
- $("figcaption", {
1699
+ S("figcaption", {
1697
1700
  "data-hidden": !e.showLegend
1698
1701
  }, [
1699
- $("ul", {
1702
+ S("ul", {
1700
1703
  ref_key: "legendListRef",
1701
1704
  ref: l
1702
1705
  }, null, 512)
@@ -1705,7 +1708,7 @@ const on = {
1705
1708
  ])
1706
1709
  ]));
1707
1710
  }
1708
- }, dn = ["data-disabled", "data-error", "data-size"], un = ["checked", "data-error", "disabled", "id", "required", "value"], Ho = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1711
+ }, dn = ["data-disabled", "data-error", "data-size"], un = ["checked", "data-error", "disabled", "id", "required", "value"], Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1709
1712
  __name: "BsCheckbox",
1710
1713
  props: {
1711
1714
  /** Sets the label. */
@@ -1768,49 +1771,49 @@ const on = {
1768
1771
  },
1769
1772
  emits: ["update:modelValue"],
1770
1773
  setup(e, { emit: a }) {
1771
- const t = e, l = a, [n] = Z(), i = p(() => et.concat(t.passAttrs.split(","))), d = k(null), o = p(() => t.inputId || n.value), s = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1772
- function b() {
1774
+ const t = e, l = a, [n] = Z(), i = p(() => et.concat(t.passAttrs.split(","))), d = I(null), o = p(() => t.inputId || n.value), s = p(() => t.checked || b.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), b = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1775
+ function v() {
1773
1776
  d.value && (d.value.indeterminate = r.value && !s.value);
1774
1777
  }
1775
- function g(h) {
1776
- l("update:modelValue", h);
1778
+ function g(m) {
1779
+ l("update:modelValue", m);
1777
1780
  }
1778
- function S(h) {
1779
- const B = [...t.modelValue];
1780
- h ? B.push(t.value) : B.splice(B.indexOf(t.value), 1), l("update:modelValue", B);
1781
+ function y(m) {
1782
+ const w = [...t.modelValue];
1783
+ m ? w.push(t.value) : w.splice(w.indexOf(t.value), 1), l("update:modelValue", w);
1781
1784
  }
1782
- function I(h) {
1783
- const { checked: B } = h.target;
1784
- f.value ? S(B) : g(B);
1785
+ function B(m) {
1786
+ const { checked: w } = m.target;
1787
+ f.value ? y(w) : g(w);
1785
1788
  }
1786
- return j(s, b), j(r, b), H(b), (h, B) => (u(), v("div", z({
1789
+ return j(s, v), j(r, v), H(v), (m, w) => (u(), h("div", z({
1787
1790
  class: "bs-boolean",
1788
1791
  "data-component": "bs-checkbox",
1789
1792
  "data-disabled": e.disabled,
1790
1793
  "data-error": e.error,
1791
1794
  "data-size": e.size
1792
- }, c(Y)(h.$attrs, i.value).remaining), [
1793
- $("input", z({
1795
+ }, c(Y)(m.$attrs, i.value).remaining), [
1796
+ S("input", z({
1794
1797
  ref_key: "inputEl",
1795
1798
  ref: d,
1796
1799
  checked: s.value,
1797
1800
  "data-error": e.error,
1798
1801
  disabled: e.disabled,
1799
- id: h.$attrs.id || o.value,
1802
+ id: m.$attrs.id || o.value,
1800
1803
  required: e.required,
1801
1804
  value: e.value || "on",
1802
1805
  type: "checkbox",
1803
- onChange: I
1804
- }, c(Y)(h.$attrs, i.value).filtered), null, 16, un),
1805
- e.label || h.$slots.label ? (u(), A(ae, {
1806
+ onChange: B
1807
+ }, c(Y)(m.$attrs, i.value).filtered), null, 16, un),
1808
+ e.label || m.$slots.label ? (u(), O(ae, {
1806
1809
  key: 0,
1807
- for: h.$attrs.id || o.value,
1810
+ for: m.$attrs.id || o.value,
1808
1811
  disabled: e.disabled,
1809
1812
  required: e.required
1810
1813
  }, {
1811
- default: L(() => [
1812
- E(h.$slots, "label", {}, () => [
1813
- U(T(e.label), 1)
1814
+ default: D(() => [
1815
+ L(m.$slots, "label", {}, () => [
1816
+ U(V(e.label), 1)
1814
1817
  ])
1815
1818
  ]),
1816
1819
  _: 3
@@ -1838,27 +1841,27 @@ const on = {
1838
1841
  }
1839
1842
  },
1840
1843
  setup(e, { expose: a }) {
1841
- const t = k(null);
1842
- return a({ internalContainerRef: t }), (l, n) => (u(), v(G, null, [
1843
- e.breakout && e.breakoutMounted ? (u(), A(Nt, {
1844
+ const t = I(null);
1845
+ return a({ internalContainerRef: t }), (l, n) => (u(), h(G, null, [
1846
+ e.breakout && e.breakoutMounted ? (u(), O(Nt, {
1844
1847
  key: 0,
1845
1848
  to: e.breakoutStub
1846
1849
  }, [
1847
- E(l.$slots, "default")
1850
+ L(l.$slots, "default")
1848
1851
  ], 8, ["to"])) : C("", !0),
1849
- e.breakout ? C("", !0) : (u(), v(G, { key: 1 }, [
1850
- e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), v("div", {
1852
+ e.breakout ? C("", !0) : (u(), h(G, { key: 1 }, [
1853
+ e.containerId ? L(l.$slots, "default", { key: 0 }) : (u(), h("div", {
1851
1854
  key: 1,
1852
1855
  ref_key: "internalContainerRef",
1853
1856
  ref: t,
1854
1857
  style: { position: "relative" }
1855
1858
  }, [
1856
- E(l.$slots, "default")
1859
+ L(l.$slots, "default")
1857
1860
  ], 512))
1858
1861
  ], 64))
1859
1862
  ], 64));
1860
1863
  }
1861
- }, qe = {
1864
+ }, Pe = {
1862
1865
  __name: "BsEnhancedTransition",
1863
1866
  props: {
1864
1867
  // Transition Name
@@ -1890,7 +1893,7 @@ const on = {
1890
1893
  ],
1891
1894
  setup(e, { emit: a }) {
1892
1895
  const t = a;
1893
- return (l, n) => e.preloaded ? ue((u(), A(st, {
1896
+ return (l, n) => e.preloaded ? ue((u(), O(st, {
1894
1897
  key: 0,
1895
1898
  name: e.name,
1896
1899
  onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
@@ -1902,13 +1905,13 @@ const on = {
1902
1905
  onAfterLeave: n[6] || (n[6] = (i) => t("after-leave")),
1903
1906
  onLeaveCancelled: n[7] || (n[7] = (i) => t("leave-cancelled"))
1904
1907
  }, {
1905
- default: L(() => [
1906
- E(l.$slots, "default")
1908
+ default: D(() => [
1909
+ L(l.$slots, "default")
1907
1910
  ]),
1908
1911
  _: 3
1909
1912
  }, 8, ["name"])), [
1910
1913
  [ce, e.shown]
1911
- ]) : (u(), A(st, {
1914
+ ]) : (u(), O(st, {
1912
1915
  key: 1,
1913
1916
  name: e.name,
1914
1917
  onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
@@ -1920,14 +1923,14 @@ const on = {
1920
1923
  onAfterLeave: n[14] || (n[14] = (i) => t("after-leave")),
1921
1924
  onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
1922
1925
  }, {
1923
- default: L(() => [
1924
- e.shown ? E(l.$slots, "default", { key: 0 }) : C("", !0)
1926
+ default: D(() => [
1927
+ e.shown ? L(l.$slots, "default", { key: 0 }) : C("", !0)
1925
1928
  ]),
1926
1929
  _: 3
1927
1930
  }, 8, ["name"]));
1928
1931
  }
1929
1932
  }, fn = (e, a = void 0, t = "relative") => {
1930
- const l = k(null), n = k(null), i = k(!1);
1933
+ const l = I(null), n = I(null), i = I(!1);
1931
1934
  let d = !1;
1932
1935
  return H(() => {
1933
1936
  e && (l.value = a || wt(), 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);
@@ -1938,7 +1941,7 @@ const on = {
1938
1941
  }, pn = {
1939
1942
  key: 0,
1940
1943
  class: "bs-dropdown-backdrop"
1941
- }, hn = ["data-width", "data-shown", "data-no-mobile"], vn = { key: 0 }, mn = { key: 0 }, bn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1944
+ }, mn = ["data-width", "data-shown", "data-no-mobile"], hn = { key: 0 }, bn = { key: 0 }, vn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1942
1945
  __name: "BsDropdownNew",
1943
1946
  props: {
1944
1947
  anchorId: {
@@ -1991,100 +1994,100 @@ const on = {
1991
1994
  "after-leave"
1992
1995
  ],
1993
1996
  setup(e, { emit: a }) {
1994
- const t = e, l = a, n = k(null), i = k(null), d = k(!1), o = k(!1), s = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1997
+ const t = e, l = a, n = I(null), i = I(null), d = I(!1), o = I(!1), s = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? b.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1995
1998
  Ct([i, s], () => {
1996
1999
  o.value && l("close");
1997
- }), he(["Escape"], () => {
2000
+ }), me(["Escape"], () => {
1998
2001
  o.value && l("close");
1999
2002
  });
2000
- const { breakoutStub: m, breakoutMounted: b } = fn(t.breakout, t.containerId);
2003
+ const { breakoutStub: b, breakoutMounted: v } = fn(t.breakout, t.containerId);
2001
2004
  fe("dropdownEnter", d), fe("dropdownAfterEnter", o), fe("dropdownShown", p(() => t.shown));
2002
- const g = (V, q) => {
2003
- i.value.style.setProperty(V, q);
2005
+ const g = (x, q) => {
2006
+ i.value.style.setProperty(x, q);
2004
2007
  };
2005
- function S() {
2006
- const V = r.value.getBoundingClientRect(), q = s.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
2007
- I(V, q), h(V, q, R);
2008
+ function y() {
2009
+ const x = r.value.getBoundingClientRect(), q = s.value.getBoundingClientRect(), F = i.value.getBoundingClientRect();
2010
+ B(x, q), m(x, q, F);
2008
2011
  }
2009
- function I(V, q) {
2012
+ function B(x, q) {
2010
2013
  if (t.position === "top") {
2011
- const R = V.bottom - q.bottom;
2012
- g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${R + q.height + 8}px`);
2014
+ const F = x.bottom - q.bottom;
2015
+ g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${F + q.height + 8}px`);
2013
2016
  } else {
2014
- const R = q.top - V.top;
2015
- g("--dropdown-wscreen-top", `${R + q.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2017
+ const F = q.top - x.top;
2018
+ g("--dropdown-wscreen-top", `${F + q.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2016
2019
  }
2017
2020
  }
2018
- function h(V, q, R) {
2019
- const _ = q.left - V.left;
2021
+ function m(x, q, F) {
2022
+ const _ = q.left - x.left;
2020
2023
  if (t.position === "center") {
2021
- const J = (q.width - R.width) / 2;
2024
+ const J = (q.width - F.width) / 2;
2022
2025
  g("--dropdown-wscreen-left", `${_ + J}px`), g("--dropdown-wscreen-right", "auto");
2023
2026
  } else if (t.position === "right") {
2024
- const J = V.right - q.right;
2027
+ const J = x.right - q.right;
2025
2028
  g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${J}px`);
2026
2029
  } else
2027
2030
  g("--dropdown-wscreen-left", `${_}px`), g("--dropdown-wscreen-right", "auto");
2028
2031
  }
2029
- function B() {
2032
+ function w() {
2030
2033
  if (t.width === "anchor") {
2031
- const V = s.value.getBoundingClientRect();
2032
- g("--dropdown-wscreen-width", `${V.width}px`);
2034
+ const x = s.value.getBoundingClientRect();
2035
+ g("--dropdown-wscreen-width", `${x.width}px`);
2033
2036
  } else
2034
2037
  g("--dropdown-wscreen-width", "");
2035
2038
  }
2036
- function w() {
2037
- d.value = !0, S(), B(), l("enter");
2039
+ function k() {
2040
+ d.value = !0, y(), w(), l("enter");
2038
2041
  }
2039
- function y() {
2042
+ function $() {
2040
2043
  o.value = !0, l("after-enter");
2041
2044
  }
2042
- function M() {
2045
+ function A() {
2043
2046
  d.value = !1, o.value = !1, l("after-leave");
2044
2047
  }
2045
- return (V, q) => (u(), v(G, null, [
2046
- e.useMobileStyle && e.shown ? (u(), v("div", pn)) : C("", !0),
2047
- D(cn, {
2048
+ return (x, q) => (u(), h(G, null, [
2049
+ e.useMobileStyle && e.shown ? (u(), h("div", pn)) : C("", !0),
2050
+ P(cn, {
2048
2051
  ref_key: "dropdownContainerRef",
2049
2052
  ref: n,
2050
2053
  breakout: e.breakout,
2051
- breakoutMounted: c(b),
2052
- breakoutStub: c(m),
2054
+ breakoutMounted: c(v),
2055
+ breakoutStub: c(b),
2053
2056
  containerId: e.containerId
2054
2057
  }, {
2055
- default: L(() => [
2056
- D(qe, {
2058
+ default: D(() => [
2059
+ P(Pe, {
2057
2060
  name: "bs-dropdown",
2058
2061
  preloaded: e.preloaded,
2059
2062
  shown: e.shown,
2060
- onAfterEnter: y,
2061
- onEnter: w,
2062
- onAfterLeave: M
2063
+ onAfterEnter: $,
2064
+ onEnter: k,
2065
+ onAfterLeave: A
2063
2066
  }, {
2064
- default: L(() => [
2065
- $("div", z({
2067
+ default: D(() => [
2068
+ S("div", z({
2066
2069
  ref_key: "dropdownRef",
2067
2070
  ref: i,
2068
2071
  class: "bs-dropdown",
2069
2072
  "data-width": f.value,
2070
2073
  "data-shown": e.shown,
2071
2074
  "data-no-mobile": !e.useMobileStyle
2072
- }, V.$attrs), [
2073
- e.helperText ? (u(), v("header", vn, [
2074
- $("div", null, [
2075
- $("h3", null, T(e.helperText), 1),
2076
- e.helperDescription ? (u(), v("p", mn, T(e.helperDescription), 1)) : C("", !0)
2075
+ }, x.$attrs), [
2076
+ e.helperText ? (u(), h("header", hn, [
2077
+ S("div", null, [
2078
+ S("h3", null, V(e.helperText), 1),
2079
+ e.helperDescription ? (u(), h("p", bn, V(e.helperDescription), 1)) : C("", !0)
2077
2080
  ]),
2078
- $("button", {
2081
+ S("button", {
2079
2082
  type: "button",
2080
2083
  title: "close",
2081
2084
  onClick: q[0] || (q[0] = () => l("close"))
2082
2085
  }, [
2083
- D(c(Be))
2086
+ P(c(Be))
2084
2087
  ])
2085
2088
  ])) : C("", !0),
2086
- E(V.$slots, "default")
2087
- ], 16, hn)
2089
+ L(x.$slots, "default")
2090
+ ], 16, mn)
2088
2091
  ]),
2089
2092
  _: 3
2090
2093
  }, 8, ["preloaded", "shown"])
@@ -2184,7 +2187,7 @@ const on = {
2184
2187
  ],
2185
2188
  setup(e, { emit: a }) {
2186
2189
  const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), d = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
2187
- return (s, r) => (u(), A(bn, {
2190
+ return (s, r) => (u(), O(vn, {
2188
2191
  "anchor-id": o.value,
2189
2192
  breakout: e.breakout,
2190
2193
  "container-id": e.containerId,
@@ -2200,8 +2203,8 @@ const on = {
2200
2203
  onAfterEnter: r[2] || (r[2] = () => l("after-enter")),
2201
2204
  onAfterLeave: r[3] || (r[3] = () => l("after-leave"))
2202
2205
  }, {
2203
- default: L(() => [
2204
- E(s.$slots, "default")
2206
+ default: D(() => [
2207
+ L(s.$slots, "default")
2205
2208
  ]),
2206
2209
  _: 3
2207
2210
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
@@ -2248,7 +2251,7 @@ const on = {
2248
2251
  setup(e, { emit: a }) {
2249
2252
  const t = e, l = a;
2250
2253
  let n = !1;
2251
- const i = k(null), [d] = Z(1), o = p(() => ({
2254
+ const i = I(null), [d] = Z(1), o = p(() => ({
2252
2255
  icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
2253
2256
  show: !!(t.modelValue || t.optionsId),
2254
2257
  text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
@@ -2256,13 +2259,13 @@ const on = {
2256
2259
  function s() {
2257
2260
  t.modelValue && l("clear"), n = !0, i.value.$el.focus();
2258
2261
  }
2259
- function r(m) {
2260
- var S, I;
2261
- const b = ((S = m.relatedTarget) == null ? void 0 : S.id) === d.value;
2262
- !(((I = m.relatedTarget) == null ? void 0 : I.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
2262
+ function r(b) {
2263
+ var y, B;
2264
+ const v = ((y = b.relatedTarget) == null ? void 0 : y.id) === d.value;
2265
+ !(((B = b.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!v || !n) && f(!0), n = !1;
2263
2266
  }
2264
- const f = Oe((m) => l("toggled", m), 200, !0);
2265
- return (m, b) => (u(), A(De, {
2267
+ const f = Oe((b) => l("toggled", b), 200, !0);
2268
+ return (b, v) => (u(), O(De, {
2266
2269
  "aria-live": "polite",
2267
2270
  disabled: e.disabled,
2268
2271
  error: e.error,
@@ -2271,8 +2274,8 @@ const on = {
2271
2274
  variant: "combobox",
2272
2275
  onClick: c(f)
2273
2276
  }, {
2274
- default: L(() => [
2275
- D(Ie, z({
2277
+ default: D(() => [
2278
+ P(Ie, z({
2276
2279
  ref_key: "inputRef",
2277
2280
  ref: i,
2278
2281
  "aria-controls": e.optionsId,
@@ -2288,9 +2291,9 @@ const on = {
2288
2291
  required: e.required,
2289
2292
  role: e.optionsId ? "combobox" : void 0,
2290
2293
  onFocus: r,
2291
- onInput: b[0] || (b[0] = (g) => m.$emit("update:modelValue", g.target.value))
2292
- }, m.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
2293
- ue($("button", {
2294
+ onInput: v[0] || (v[0] = (g) => b.$emit("update:modelValue", g.target.value))
2295
+ }, b.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
2296
+ ue(S("button", {
2294
2297
  "aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
2295
2298
  "aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
2296
2299
  "data-open": e.modelValue ? void 0 : e.open,
@@ -2301,14 +2304,14 @@ const on = {
2301
2304
  type: "button",
2302
2305
  onClick: s
2303
2306
  }, [
2304
- $("span", yn, T(o.value.text), 1),
2305
- ue(D(c(Me), {
2307
+ S("span", yn, V(o.value.text), 1),
2308
+ ue(P(c(Me), {
2306
2309
  role: "presentation",
2307
2310
  size: "md"
2308
2311
  }, null, 512), [
2309
2312
  [ce, o.value.icon == "caret-down"]
2310
2313
  ]),
2311
- ue(D(c(Be), {
2314
+ ue(P(c(Be), {
2312
2315
  role: "presentation",
2313
2316
  size: "md"
2314
2317
  }, null, 512), [
@@ -2351,17 +2354,18 @@ const on = {
2351
2354
  },
2352
2355
  setup(e) {
2353
2356
  const a = e, t = p(() => a.badgeCount > 0);
2354
- return (l, n) => (u(), v("button", {
2357
+ return (l, n) => (u(), h("button", {
2355
2358
  class: "bs-filter-button",
2356
2359
  "aria-controls": e.optionsId,
2357
2360
  "aria-expanded": e.open,
2358
2361
  "aria-haspopup": "listbox",
2362
+ "data-component": "bs-filter-button",
2359
2363
  "data-open": e.open,
2360
2364
  "data-size": e.size,
2361
2365
  disabled: e.disabled,
2362
2366
  type: "button"
2363
2367
  }, [
2364
- t.value ? (u(), A(wa, {
2368
+ t.value ? (u(), O(wa, {
2365
2369
  key: 0,
2366
2370
  color: "blue",
2367
2371
  count: e.badgeCount,
@@ -2369,10 +2373,10 @@ const on = {
2369
2373
  position: "left",
2370
2374
  variant: "notext"
2371
2375
  }, null, 8, ["count"])) : C("", !0),
2372
- E(l.$slots, "label", {}, () => [
2373
- U(T(e.label), 1)
2376
+ L(l.$slots, "label", {}, () => [
2377
+ U(V(e.label), 1)
2374
2378
  ]),
2375
- D(c(Me))
2379
+ P(c(Me))
2376
2380
  ], 8, wn));
2377
2381
  }
2378
2382
  }, Bn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
@@ -2388,12 +2392,12 @@ const on = {
2388
2392
  }
2389
2393
  },
2390
2394
  setup(e) {
2391
- const a = e, t = k(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2395
+ const a = e, t = I(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2392
2396
  }), i = p(() => `${l.value}-option-${a.value}`);
2393
2397
  function d(o) {
2394
2398
  n(t.value), o.stopPropagation();
2395
2399
  }
2396
- return (o, s) => (u(), v("li", {
2400
+ return (o, s) => (u(), h("li", {
2397
2401
  ref_key: "optionRef",
2398
2402
  ref: t,
2399
2403
  "data-component": "bs-dropdown-option",
@@ -2404,7 +2408,7 @@ const on = {
2404
2408
  role: "option",
2405
2409
  onClick: d
2406
2410
  }, [
2407
- E(o.$slots, "default")
2411
+ L(o.$slots, "default")
2408
2412
  ], 8, Bn));
2409
2413
  }
2410
2414
  }, In = ["data-img-size", "data-initials", "data-no-img"], kn = ["src", "alt"], At = {
@@ -2426,14 +2430,15 @@ const on = {
2426
2430
  }
2427
2431
  },
2428
2432
  setup(e) {
2429
- const a = e, t = k(!1), l = k(!!a.src);
2430
- return H(() => t.value = !0), (n, i) => (u(), v("div", {
2433
+ const a = e, t = I(!1), l = I(!!a.src);
2434
+ return H(() => t.value = !0), (n, i) => (u(), h("div", {
2431
2435
  class: "bs-profile-img",
2436
+ "data-component": "bs-profile-img",
2432
2437
  "data-img-size": e.size,
2433
2438
  "data-initials": e.initials,
2434
2439
  "data-no-img": !l.value
2435
2440
  }, [
2436
- l.value && t.value ? (u(), v("img", {
2441
+ l.value && t.value ? (u(), h("img", {
2437
2442
  key: 0,
2438
2443
  src: e.src,
2439
2444
  alt: e.useAltText ? e.profileName : "",
@@ -2445,7 +2450,7 @@ const on = {
2445
2450
  key: 0,
2446
2451
  role: "option",
2447
2452
  "data-no-hover": ""
2448
- }, Pe = {
2453
+ }, qe = {
2449
2454
  __name: "BsDropdownOptionBuilder",
2450
2455
  props: {
2451
2456
  // Array of objects with the following properties (either label or labelHtml
@@ -2502,25 +2507,25 @@ const on = {
2502
2507
  function d(o, s) {
2503
2508
  return !!o && o !== s;
2504
2509
  }
2505
- return (o, s) => (u(), v(G, null, [
2506
- (u(!0), v(G, null, ee(e.options, (r) => (u(), A(ot, {
2510
+ return (o, s) => (u(), h(G, null, [
2511
+ (u(!0), h(G, null, ee(e.options, (r) => (u(), O(ot, {
2507
2512
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
2508
2513
  key: r.value,
2509
2514
  value: r.value,
2510
2515
  variant: n(r)
2511
2516
  }, {
2512
- default: L(() => [
2513
- r.checkbox ? (u(), v("span", {
2517
+ default: D(() => [
2518
+ r.checkbox ? (u(), h("span", {
2514
2519
  key: 0,
2515
2520
  id: r.checkbox.inputId,
2516
2521
  "aria-hidden": "true",
2517
2522
  class: "bs-checkbox",
2518
2523
  "data-checked": r.checkbox.checked
2519
2524
  }, null, 8, Cn)) : C("", !0),
2520
- r.icon ? (u(), v("span", xn, [
2521
- (u(), A(te(t[r.icon])))
2525
+ r.icon ? (u(), h("span", xn, [
2526
+ (u(), O(te(t[r.icon])))
2522
2527
  ])) : C("", !0),
2523
- r.profileImg ? (u(), A(At, {
2528
+ r.profileImg ? (u(), O(At, {
2524
2529
  key: 2,
2525
2530
  src: r.profileImg.src,
2526
2531
  size: "xs",
@@ -2528,16 +2533,16 @@ const on = {
2528
2533
  "profile-name": r.profileImg.profileName,
2529
2534
  "use-alt-text": d(r.profileImg.profileName, r.label)
2530
2535
  }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : C("", !0),
2531
- r.labelHtml ? (u(), v("span", {
2536
+ r.labelHtml ? (u(), h("span", {
2532
2537
  key: 3,
2533
2538
  innerHTML: r.labelHtml
2534
- }, null, 8, Tn)) : (u(), v("span", An, T(r.label), 1)),
2535
- r.description ? (u(), v("span", Vn, T(r.description), 1)) : C("", !0)
2539
+ }, null, 8, Tn)) : (u(), h("span", An, V(r.label), 1)),
2540
+ r.description ? (u(), h("span", Vn, V(r.description), 1)) : C("", !0)
2536
2541
  ]),
2537
2542
  _: 2
2538
2543
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2539
- e.showNoOptions && e.options.length === 0 ? (u(), v("li", On, [
2540
- E(o.$slots, "no-options", {}, () => [
2544
+ e.showNoOptions && e.options.length === 0 ? (u(), h("li", On, [
2545
+ L(o.$slots, "no-options", {}, () => [
2541
2546
  U("No options")
2542
2547
  ])
2543
2548
  ])) : C("", !0)
@@ -2613,60 +2618,66 @@ const on = {
2613
2618
  default: !0
2614
2619
  }
2615
2620
  },
2616
- emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close"],
2621
+ emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close", "check-option", "uncheck-option"],
2617
2622
  setup(e, { emit: a }) {
2618
2623
  const t = e, l = a;
2619
2624
  let n = null;
2620
- const [i, d] = Z(2), o = k(!1), s = () => n || (n = document.getElementById(m.value)), r = p(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => zn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || d.value), m = p(() => t.toggleId || i.value);
2621
- function b() {
2622
- const w = document.activeElement;
2623
- return !w || w.tagName === "BODY" || w.id === f.value;
2625
+ const [i, d] = Z(2), o = I(!1), s = () => n || (n = document.getElementById(b.value)), r = p(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => zn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || d.value), b = p(() => t.toggleId || i.value);
2626
+ function v() {
2627
+ const A = document.activeElement;
2628
+ return !A || A.tagName === "BODY" || A.id === f.value;
2624
2629
  }
2625
2630
  function g() {
2626
- var w, y;
2627
- o.value = !1, l("close"), b() && ((y = (w = s()) == null ? void 0 : w.focus) == null || y.call(w));
2631
+ var A, x;
2632
+ o.value = !1, l("close"), v() && ((x = (A = s()) == null ? void 0 : A.focus) == null || x.call(A));
2628
2633
  }
2629
- function S() {
2634
+ function y() {
2630
2635
  o.value && g();
2631
2636
  }
2632
- function I() {
2637
+ function B() {
2633
2638
  o.value = !0;
2634
2639
  }
2635
- function h(w) {
2636
- l("update:selectedOptions", w);
2640
+ function m(A) {
2641
+ l("uncheck-option", A);
2637
2642
  }
2638
- function B(w) {
2639
- t.multiselect || (l("update:selectedOption", w), g());
2643
+ function w(A) {
2644
+ l("check-option", A);
2645
+ }
2646
+ function k(A) {
2647
+ l("update:selectedOptions", A);
2640
2648
  }
2641
- return (w, y) => (u(), v("div", {
2649
+ function $(A) {
2650
+ t.multiselect || (l("update:selectedOption", A), g());
2651
+ }
2652
+ return (A, x) => (u(), h("div", {
2642
2653
  class: "bs-dropdown-with-toggle",
2643
- id: w.$attrs.id
2654
+ id: A.$attrs.id
2644
2655
  }, [
2645
- E(w.$slots, "toggle", {
2656
+ L(A.$slots, "toggle", {
2646
2657
  anchorId: e.anchorId,
2647
2658
  optionsId: f.value,
2648
- toggleId: m.value
2659
+ toggleId: b.value
2649
2660
  }, () => [
2650
- D($n, {
2661
+ P($n, {
2651
2662
  "aria-controls": f.value,
2652
2663
  "aria-expanded": e.open,
2653
2664
  disabled: e.disabled,
2654
- id: m.value,
2665
+ id: b.value,
2655
2666
  open: e.open,
2656
2667
  "options-id": f.value,
2657
2668
  size: e.toggleSize,
2658
- onClick: y[0] || (y[0] = (M) => w.$emit("toggled"))
2669
+ onClick: x[0] || (x[0] = (q) => A.$emit("toggled"))
2659
2670
  }, {
2660
- label: L(() => [
2661
- E(w.$slots, "toggle-label", {}, () => [
2662
- U(T(e.toggleLabel), 1)
2671
+ label: D(() => [
2672
+ L(A.$slots, "toggle-label", {}, () => [
2673
+ U(V(e.toggleLabel), 1)
2663
2674
  ])
2664
2675
  ]),
2665
2676
  _: 3
2666
2677
  }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"])
2667
2678
  ]),
2668
- D(lt, {
2669
- "anchor-id": e.anchorId || m.value,
2679
+ P(lt, {
2680
+ "anchor-id": e.anchorId || b.value,
2670
2681
  breakout: e.breakout,
2671
2682
  "helper-text": e.helperText,
2672
2683
  "helper-description": e.helperDescription,
@@ -2675,23 +2686,25 @@ const on = {
2675
2686
  shown: e.open,
2676
2687
  "use-mobile-style": e.useMobileStyle,
2677
2688
  width: e.dropdownWidth,
2678
- onClose: S,
2679
- onEnter: I
2689
+ onClose: y,
2690
+ onEnter: B
2680
2691
  }, {
2681
- default: L(() => [
2682
- D(c(r), {
2692
+ default: D(() => [
2693
+ P(c(r), {
2683
2694
  label: e.dropdownLabel,
2684
2695
  "model-value": e.selectedOption,
2685
2696
  options: e.multiselect ? e.options : void 0,
2686
2697
  "options-id": f.value,
2687
2698
  "selected-options": e.selectedOptions,
2688
2699
  shown: e.open,
2689
- "onUpdate:modelValue": B,
2690
- "onUpdate:selectedOptions": h,
2691
- onClose: y[1] || (y[1] = (M) => e.multiselect ? void 0 : S())
2700
+ "onUpdate:modelValue": $,
2701
+ "onUpdate:selectedOptions": k,
2702
+ onCheckOption: w,
2703
+ onUncheckOption: m,
2704
+ onClose: x[1] || (x[1] = (q) => e.multiselect ? void 0 : y())
2692
2705
  }, {
2693
- default: L(() => [
2694
- e.multiselect ? C("", !0) : (u(), A(Pe, {
2706
+ default: D(() => [
2707
+ e.multiselect ? C("", !0) : (u(), O(qe, {
2695
2708
  key: 0,
2696
2709
  options: e.options
2697
2710
  }, null, 8, ["options"]))
@@ -2762,24 +2775,24 @@ const on = {
2762
2775
  },
2763
2776
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2764
2777
  setup(e, { emit: a }) {
2765
- const t = e, l = a, [n, i, d] = Z(3), o = k(!1), s = p(() => t.inputId || n.value);
2766
- function r(S) {
2767
- l("combobox:change", S.target.value), l("update:modelValue", S.target.value);
2778
+ const t = e, l = a, [n, i, d] = Z(3), o = I(!1), s = p(() => t.inputId || n.value);
2779
+ function r(y) {
2780
+ l("combobox:change", y.target.value), l("update:modelValue", y.target.value);
2768
2781
  }
2769
2782
  function f() {
2770
2783
  l("combobox:change", ""), l("update:modelValue", "");
2771
2784
  }
2772
- function m(S) {
2773
- var I, h;
2774
- (I = S.relatedTarget) != null && I.closest(`#${d.value}`) || (h = S.relatedTarget) != null && h.closest(`#${i.value}`) || (o.value = !1);
2785
+ function b(y) {
2786
+ var B, m;
2787
+ (B = y.relatedTarget) != null && B.closest(`#${d.value}`) || (m = y.relatedTarget) != null && m.closest(`#${i.value}`) || (o.value = !1);
2775
2788
  }
2776
- function b(S) {
2777
- l("combobox:input", S.target.value), t.updateOnInput && l("update:modelValue", S.target.value);
2789
+ function v(y) {
2790
+ l("combobox:input", y.target.value), t.updateOnInput && l("update:modelValue", y.target.value);
2778
2791
  }
2779
- function g(S) {
2780
- S === !0 || S === !1 ? o.value = S : o.value = !o.value;
2792
+ function g(y) {
2793
+ y === !0 || y === !1 ? o.value = y : o.value = !o.value;
2781
2794
  }
2782
- return (S, I) => (u(), A(Vt, {
2795
+ return (y, B) => (u(), O(Vt, {
2783
2796
  "anchor-id": c(i),
2784
2797
  disabled: e.disabled,
2785
2798
  "dropdown-position": e.dropdownPosition,
@@ -2791,14 +2804,14 @@ const on = {
2791
2804
  options: e.options,
2792
2805
  "options-id": c(d),
2793
2806
  "selected-option": e.modelValue,
2794
- "toggle-id": S.$attrs.id || s.value,
2795
- onClose: I[0] || (I[0] = (h) => o.value = !1),
2796
- onFocusout: m,
2797
- "onUpdate:selectedOption": I[1] || (I[1] = (h) => S.$emit("update:modelValue", h))
2807
+ "toggle-id": y.$attrs.id || s.value,
2808
+ onClose: B[0] || (B[0] = (m) => o.value = !1),
2809
+ onFocusout: b,
2810
+ "onUpdate:selectedOption": B[1] || (B[1] = (m) => y.$emit("update:modelValue", m))
2798
2811
  }, {
2799
- toggle: L(() => [
2800
- D(Sn, z({
2801
- id: S.$attrs.id || s.value,
2812
+ toggle: D(() => [
2813
+ P(Sn, z({
2814
+ id: y.$attrs.id || s.value,
2802
2815
  "container-id": c(i),
2803
2816
  disabled: e.disabled,
2804
2817
  error: e.error,
@@ -2810,14 +2823,14 @@ const on = {
2810
2823
  required: e.required,
2811
2824
  onChange: r,
2812
2825
  onClear: f,
2813
- onInput: b,
2826
+ onInput: v,
2814
2827
  onToggled: g
2815
- }, S.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
2828
+ }, y.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
2816
2829
  ]),
2817
2830
  _: 1
2818
2831
  }, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
2819
2832
  }
2820
- }), Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2833
+ }), Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2821
2834
  __name: "BsDropdownComboboxField",
2822
2835
  props: {
2823
2836
  disabled: {
@@ -2886,21 +2899,21 @@ const on = {
2886
2899
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2887
2900
  setup(e, { emit: a }) {
2888
2901
  const t = e, [l, n] = Z(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), d = p(() => t.inputId || l.value);
2889
- return (o, s) => (u(), v("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(ve)).remaining), [
2890
- e.label || o.$slots.label ? (u(), A(ae, {
2902
+ return (o, s) => (u(), h("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(he)).remaining), [
2903
+ e.label || o.$slots.label ? (u(), O(ae, {
2891
2904
  key: 0,
2892
2905
  for: o.$attrs.id || d.value,
2893
2906
  disabled: e.disabled,
2894
2907
  required: e.required
2895
2908
  }, {
2896
- default: L(() => [
2897
- E(o.$slots, "label", {}, () => [
2898
- U(T(e.label), 1)
2909
+ default: D(() => [
2910
+ L(o.$slots, "label", {}, () => [
2911
+ U(V(e.label), 1)
2899
2912
  ])
2900
2913
  ]),
2901
2914
  _: 3
2902
2915
  }, 8, ["for", "disabled", "required"])) : C("", !0),
2903
- D(Ot, z({
2916
+ P(Ot, z({
2904
2917
  disabled: e.disabled,
2905
2918
  "display-value": e.displayValue,
2906
2919
  "dropdown-position": e.dropdownPosition,
@@ -2918,8 +2931,8 @@ const on = {
2918
2931
  "onCombobox:change": s[0] || (s[0] = (r) => o.$emit("combobox:change", r)),
2919
2932
  "onCombobox:input": s[1] || (s[1] = (r) => o.$emit("combobox:input", r)),
2920
2933
  "onUpdate:modelValue": s[2] || (s[2] = (r) => o.$emit("update:modelValue", r))
2921
- }, c(Y)(o.$attrs, c(ve)).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"]),
2922
- i.value ? (u(), A(ge, {
2934
+ }, c(Y)(o.$attrs, c(he)).filtered), null, 16, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-text", "helper-description", "hint-id", "input-id", "model-value", "options", "placeholder", "required", "update-on-input"]),
2935
+ i.value ? (u(), O(ge, {
2923
2936
  key: 1,
2924
2937
  error: e.error,
2925
2938
  "error-msg": e.errorMsg,
@@ -2928,7 +2941,7 @@ const on = {
2928
2941
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
2929
2942
  ], 16));
2930
2943
  }
2931
- }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Fe = {
2944
+ }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
2932
2945
  __name: "BsDropdownOptionList",
2933
2946
  props: {
2934
2947
  optionsId: {
@@ -2964,148 +2977,149 @@ const on = {
2964
2977
  "update:modelValue"
2965
2978
  ],
2966
2979
  setup(e, { expose: a, emit: t }) {
2967
- const l = e, n = t, i = k(null), d = k(null), o = k(-1), s = k(-1), r = k(null), f = k(!1), m = pe("dropdownEnter", k(!1)), b = pe("dropdownAfterEnter", k(!1)), g = pe("dropdownShown", k(!1));
2968
- fe("optionsId", p(() => l.optionsId)), fe("handleOptionSelect", ye), pa(i, y, { childList: !0 }), he([" ", "Enter", "NumpadEnter"], ke, i), he(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2969
- const h = [/^[a-zA-Z0-9]{1}$/], B = {
2980
+ const l = e, n = t, i = I(null), d = I(null), o = I(-1), s = I(-1), r = I(null), f = I(!1), b = pe("dropdownEnter", I(!1)), v = pe("dropdownAfterEnter", I(!1)), g = pe("dropdownShown", I(!1));
2981
+ fe("optionsId", p(() => l.optionsId)), fe("handleOptionSelect", ye), pa(i, $, { childList: !0 }), me([" ", "Enter", "NumpadEnter"], ke, i), me(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2982
+ const m = [/^[a-zA-Z0-9]{1}$/], w = {
2970
2983
  keys: "",
2971
2984
  lastTyped: 0
2972
2985
  };
2973
- he(h, (O) => xe(O, B)), H(() => {
2974
- y(), J(g.value);
2986
+ me(m, (E) => xe(E, w)), H(() => {
2987
+ $(), J(g.value);
2975
2988
  }), j(
2976
- [m, () => {
2977
- var O;
2978
- return (O = r.value) == null ? void 0 : O.length;
2989
+ [b, () => {
2990
+ var E;
2991
+ return (E = r.value) == null ? void 0 : E.length;
2979
2992
  }],
2980
- ([O, F]) => {
2981
- (O || F > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2993
+ ([E, R]) => {
2994
+ (E || R > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2982
2995
  }
2983
- ), j(b, (O) => {
2984
- O && (M(), V());
2985
- }), j(g, (O) => J(O));
2986
- const w = p(() => l.modelValue || l.selectedValue);
2987
- function y() {
2996
+ ), j(v, (E) => {
2997
+ E && (A(), x());
2998
+ }), j(g, (E) => J(E));
2999
+ const k = p(() => l.modelValue || l.selectedValue);
3000
+ function $() {
2988
3001
  r.value = Array.from(
2989
3002
  i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
2990
3003
  );
2991
3004
  }
2992
- function M() {
3005
+ function A() {
2993
3006
  i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
2994
3007
  }
2995
- function V() {
2996
- var O;
2997
- o.value > -1 && (M(), (O = r.value[o.value]) == null || O.scrollIntoView({ block: "nearest" }));
3008
+ function x() {
3009
+ var E;
3010
+ o.value > -1 && (A(), (E = r.value[o.value]) == null || E.scrollIntoView({ block: "nearest" }));
2998
3011
  }
2999
3012
  function q() {
3000
- var O, F;
3001
- o.value > -1 && ((O = r.value[o.value]) == null || O.setAttribute("data-active", ""), d.value = (F = r.value[o.value]) == null ? void 0 : F.id, V());
3013
+ var E, R;
3014
+ o.value > -1 && ((E = r.value[o.value]) == null || E.setAttribute("data-active", ""), d.value = (R = r.value[o.value]) == null ? void 0 : R.id, x());
3002
3015
  }
3003
- function R() {
3004
- var O;
3005
- o.value > -1 && ((O = r.value[o.value]) == null || O.removeAttribute("data-active"));
3016
+ function F() {
3017
+ var E;
3018
+ o.value > -1 && ((E = r.value[o.value]) == null || E.removeAttribute("data-active"));
3006
3019
  }
3007
3020
  function _() {
3008
- var O;
3009
- o.value < 0 && (o.value = 0, d.value = (O = r.value[0]) == null ? void 0 : O.id), q();
3021
+ var E;
3022
+ o.value < 0 && (o.value = 0, d.value = (E = r.value[0]) == null ? void 0 : E.id), q();
3010
3023
  }
3011
- function J(O) {
3012
- O ? ne() : me();
3024
+ function J(E) {
3025
+ E ? ne() : be();
3013
3026
  }
3014
3027
  function ne() {
3015
- var O, F;
3028
+ var E, R;
3016
3029
  l.multiselect || (s.value = r.value.findIndex(
3017
- (P) => P.getAttribute("data-value") === String(w.value)
3018
- ), !l.multiselect && s.value > -1 && ((O = r.value[s.value]) == null || O.setAttribute("data-selected", ""), (F = r.value[s.value]) == null || F.setAttribute("aria-selected", "true")), o.value = s.value);
3030
+ (M) => M.getAttribute("data-value") === String(k.value)
3031
+ ), !l.multiselect && s.value > -1 && ((E = r.value[s.value]) == null || E.setAttribute("data-selected", ""), (R = r.value[s.value]) == null || R.setAttribute("aria-selected", "true")), o.value = s.value);
3019
3032
  }
3020
- function me() {
3021
- r.value.forEach((O) => {
3022
- O.removeAttribute("data-selected"), O.setAttribute("aria-selected", "false");
3023
- }), R(), s.value = -1, o.value = -1, d.value = null;
3033
+ function be() {
3034
+ r.value.forEach((E) => {
3035
+ E.removeAttribute("data-selected"), E.setAttribute("aria-selected", "false");
3036
+ }), F(), s.value = -1, o.value = -1, d.value = null;
3024
3037
  }
3025
- function ye(O) {
3026
- var P;
3027
- (P = O.querySelector("a")) == null || P.click();
3028
- let F = O.getAttribute("data-value");
3029
- O.getAttribute("data-value-type") === "number" && (F = Number(F)), d.value = O.id, R(), n("optselected", F), n("update:modelValue", F), n("close");
3038
+ function ye(E) {
3039
+ var M;
3040
+ (M = E.querySelector("a")) == null || M.click();
3041
+ let R = E.getAttribute("data-value");
3042
+ E.getAttribute("data-value-type") === "number" && (R = Number(R)), d.value = E.id, F(), n("optselected", R), n("update:modelValue", R), n("close");
3030
3043
  }
3031
- function ke(O) {
3032
- ye(r.value[o.value]), O.preventDefault();
3044
+ function ke(E) {
3045
+ ye(r.value[o.value]), E.preventDefault();
3033
3046
  }
3034
- function Ce(O) {
3047
+ function Ce(E) {
3035
3048
  if (g.value)
3036
- switch (O.key) {
3049
+ switch (E.key) {
3037
3050
  case "ArrowDown":
3038
- se("down"), O.preventDefault();
3051
+ se("down"), E.preventDefault();
3039
3052
  break;
3040
3053
  case "ArrowUp":
3041
- se("up"), O.preventDefault();
3054
+ se("up"), E.preventDefault();
3042
3055
  break;
3043
3056
  case "Home":
3044
- se("home"), O.preventDefault();
3057
+ se("home"), E.preventDefault();
3045
3058
  break;
3046
3059
  case "End":
3047
- se("end"), O.preventDefault();
3060
+ se("end"), E.preventDefault();
3048
3061
  break;
3049
3062
  }
3050
3063
  }
3051
- function se(O) {
3052
- let F;
3053
- switch (O) {
3064
+ function se(E) {
3065
+ let R;
3066
+ switch (E) {
3054
3067
  case "up":
3055
- F = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3068
+ R = o.value - 1 < 0 ? r.value.length - 1 : o.value - 1;
3056
3069
  break;
3057
3070
  case "down":
3058
- F = (o.value + 1) % r.value.length;
3071
+ R = (o.value + 1) % r.value.length;
3059
3072
  break;
3060
3073
  case "home":
3061
- F = 0;
3074
+ R = 0;
3062
3075
  break;
3063
3076
  case "end":
3064
- F = r.value.length - 1;
3077
+ R = r.value.length - 1;
3065
3078
  break;
3066
3079
  }
3067
- Se(F);
3080
+ Se(R);
3068
3081
  }
3069
- function xe(O, F) {
3082
+ function xe(E, R) {
3070
3083
  if (!g.value)
3071
3084
  return;
3072
- F.keys = O.timeStamp - F.lastTyped > 500 ? O.key : F.keys + O.key, F.lastTyped = O.timeStamp;
3073
- const P = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(F.keys));
3074
- P > -1 && Se(P, !1);
3085
+ R.keys = E.timeStamp - R.lastTyped > 500 ? E.key : R.keys + E.key, R.lastTyped = E.timeStamp;
3086
+ const M = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(R.keys));
3087
+ M > -1 && Se(M, !1);
3075
3088
  }
3076
- function Se(O, F = !0) {
3077
- R(), o.value = O, document.activeElement !== i.value && F ? i.value.focus() : q();
3089
+ function Se(E, R = !0) {
3090
+ F(), o.value = E, document.activeElement !== i.value && R ? i.value.focus() : q();
3078
3091
  }
3079
3092
  return a({
3080
3093
  activeIndex: o,
3081
3094
  optionEls: r,
3082
3095
  optionsRef: i,
3083
- refreshOptions: y,
3096
+ refreshOptions: $,
3084
3097
  setCurrentActive: q
3085
- }), (O, F) => (u(), v("ul", {
3098
+ }), (E, R) => (u(), h("ul", {
3086
3099
  ref_key: "optionsRef",
3087
3100
  ref: i,
3088
3101
  "aria-activedescendant": d.value || void 0,
3089
3102
  "aria-label": e.label,
3090
3103
  "aria-live": "polite",
3091
3104
  class: "bs-dropdown-options",
3105
+ "data-component": "bs-dropdown-option-list",
3092
3106
  "data-overflow": f.value,
3093
3107
  id: e.optionsId,
3094
3108
  role: "listbox",
3095
3109
  tabindex: c(g) ? 0 : void 0,
3096
- onBlur: R,
3110
+ onBlur: F,
3097
3111
  onFocus: _,
3098
- onMousedown: F[0] || (F[0] = St(() => {
3112
+ onMousedown: R[0] || (R[0] = St(() => {
3099
3113
  }, ["prevent"]))
3100
3114
  }, [
3101
- E(O.$slots, "default")
3115
+ L(E.$slots, "default")
3102
3116
  ], 40, Ln));
3103
3117
  }
3104
3118
  }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3105
3119
  __proto__: null,
3106
- default: Fe
3107
- }, Symbol.toStringTag, { value: "Module" })), qn = { role: "separator" }, Pn = /* @__PURE__ */ $("hr", null, null, -1), Mn = [
3108
- Pn
3120
+ default: Re
3121
+ }, Symbol.toStringTag, { value: "Module" })), Pn = { role: "separator" }, qn = /* @__PURE__ */ S("hr", null, null, -1), Mn = [
3122
+ qn
3109
3123
  ], Nn = {
3110
3124
  key: 1,
3111
3125
  role: "option",
@@ -3144,51 +3158,51 @@ const on = {
3144
3158
  "uncheck-option"
3145
3159
  ],
3146
3160
  setup(e, { emit: a }) {
3147
- const t = e, l = a, n = k(null), i = k([]), d = k([]), o = p(() => {
3148
- var I, h;
3149
- return ((I = i.value) == null ? void 0 : I.length) && ((h = d.value) == null ? void 0 : h.length);
3161
+ const t = e, l = a, n = I(null), i = I([]), d = I([]), o = p(() => {
3162
+ var B, m;
3163
+ return ((B = i.value) == null ? void 0 : B.length) && ((m = d.value) == null ? void 0 : m.length);
3150
3164
  }), s = p(() => {
3151
- var I, h;
3152
- return ((I = i.value) == null ? void 0 : I.length) || ((h = d.value) == null ? void 0 : h.length);
3165
+ var B, m;
3166
+ return ((B = i.value) == null ? void 0 : B.length) || ((m = d.value) == null ? void 0 : m.length);
3153
3167
  });
3154
3168
  let r = !1;
3155
3169
  j(() => t.options, () => {
3156
- b(t.selectedOptions);
3170
+ v(t.selectedOptions);
3157
3171
  }), j(
3158
3172
  () => t.selectedOptions,
3159
- b,
3173
+ v,
3160
3174
  { immediate: !0 }
3161
- ), j(() => t.shown, (I) => {
3162
- I && t.focusOnOpen && Ae(f);
3175
+ ), j(() => t.shown, (B) => {
3176
+ B && t.focusOnOpen && Ae(f);
3163
3177
  });
3164
3178
  function f() {
3165
3179
  n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
3166
3180
  }
3167
- function m() {
3181
+ function b() {
3168
3182
  n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
3169
3183
  }
3170
- function b(I = []) {
3171
- const h = new Set(I), B = [], w = [];
3172
- t.options.forEach((y) => {
3173
- const M = { ...y }, V = `${t.optionsId}-${y.value}-cb`;
3174
- h.has(y.value) ? (M.checkbox = { inputId: V, checked: !0 }, B.push(M)) : (M.checkbox = { inputId: V, checked: !1 }, w.push(M));
3175
- }), i.value = B, Ae(() => {
3176
- d.value = w, Ae(() => {
3177
- r && m(), r = !1;
3184
+ function v(B = []) {
3185
+ const m = new Set(B), w = [], k = [];
3186
+ t.options.forEach(($) => {
3187
+ const A = { ...$ }, x = `${t.optionsId}-${$.value}-cb`;
3188
+ m.has($.value) ? (A.checkbox = { inputId: x, checked: !0 }, w.push(A)) : (A.checkbox = { inputId: x, checked: !1 }, k.push(A));
3189
+ }), i.value = w, Ae(() => {
3190
+ d.value = k, Ae(() => {
3191
+ r && b(), r = !1;
3178
3192
  });
3179
3193
  });
3180
3194
  }
3181
- function g(I = []) {
3182
- const h = new Set(I), B = [];
3183
- return t.options.forEach((w) => {
3184
- h.has(w.value) && B.push(w.value);
3185
- }), B;
3195
+ function g(B = []) {
3196
+ const m = new Set(B), w = [];
3197
+ return t.options.forEach((k) => {
3198
+ m.has(k.value) && w.push(k.value);
3199
+ }), w;
3186
3200
  }
3187
- function S(I) {
3188
- let h = [];
3189
- t.selectedOptions.includes(I) ? (h = t.selectedOptions.filter((B) => B !== I), l("uncheck-option", I)) : (h = g([...t.selectedOptions, I]), l("check-option", I)), r = !0, l("update:selectedOptions", h);
3201
+ function y(B) {
3202
+ let m = [];
3203
+ t.selectedOptions.includes(B) ? (m = t.selectedOptions.filter((w) => w !== B), l("uncheck-option", B)) : (m = g([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", m);
3190
3204
  }
3191
- return (I, h) => (u(), A(Fe, {
3205
+ return (B, m) => (u(), O(Re, {
3192
3206
  ref_key: "optlist",
3193
3207
  ref: n,
3194
3208
  "aria-multiselectable": "true",
@@ -3197,23 +3211,23 @@ const on = {
3197
3211
  multiselect: "",
3198
3212
  "options-id": e.optionsId,
3199
3213
  shown: e.shown,
3200
- "onUpdate:modelValue": S
3214
+ "onUpdate:modelValue": y
3201
3215
  }, {
3202
- default: L(() => [
3203
- s.value ? (u(), v(G, { key: 0 }, [
3204
- D(Pe, {
3216
+ default: D(() => [
3217
+ s.value ? (u(), h(G, { key: 0 }, [
3218
+ P(qe, {
3205
3219
  options: i.value,
3206
3220
  "show-no-options": !1
3207
3221
  }, null, 8, ["options"]),
3208
- ue($("li", qn, Mn, 512), [
3222
+ ue(S("li", Pn, Mn, 512), [
3209
3223
  [ce, o.value]
3210
3224
  ]),
3211
- D(Pe, {
3225
+ P(qe, {
3212
3226
  options: d.value,
3213
3227
  "show-no-options": !1
3214
3228
  }, null, 8, ["options"])
3215
- ], 64)) : (u(), v("li", Nn, [
3216
- E(I.$slots, "no-options", {}, () => [
3229
+ ], 64)) : (u(), h("li", Nn, [
3230
+ L(B.$slots, "no-options", {}, () => [
3217
3231
  U("No options")
3218
3232
  ])
3219
3233
  ]))
@@ -3224,7 +3238,7 @@ const on = {
3224
3238
  }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3225
3239
  __proto__: null,
3226
3240
  default: Et
3227
- }, Symbol.toStringTag, { value: "Module" })), Rn = {
3241
+ }, Symbol.toStringTag, { value: "Module" })), Fn = {
3228
3242
  __name: "BsDropdownWithOptionsNew",
3229
3243
  props: {
3230
3244
  // DROPDOWN PROPS
@@ -3299,7 +3313,7 @@ const on = {
3299
3313
  "after-leave"
3300
3314
  ],
3301
3315
  setup(e, { emit: a }) {
3302
- const t = a, l = k(!1);
3316
+ const t = a, l = I(!1);
3303
3317
  function n() {
3304
3318
  l.value = !0;
3305
3319
  }
@@ -3309,7 +3323,7 @@ const on = {
3309
3323
  function d() {
3310
3324
  l.value && (l.value = !1, t("close"));
3311
3325
  }
3312
- return (o, s) => (u(), A(c(lt), {
3326
+ return (o, s) => (u(), O(c(lt), {
3313
3327
  "anchor-id": e.anchorId,
3314
3328
  breakout: e.breakout,
3315
3329
  "container-id": e.containerId,
@@ -3325,8 +3339,8 @@ const on = {
3325
3339
  onEnter: n,
3326
3340
  onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
3327
3341
  }, {
3328
- default: L(() => [
3329
- D(c(Fe), {
3342
+ default: D(() => [
3343
+ P(c(Re), {
3330
3344
  label: e.label,
3331
3345
  "model-value": e.modelValue,
3332
3346
  "options-id": e.optionsId,
@@ -3335,8 +3349,8 @@ const on = {
3335
3349
  "onUpdate:modelValue": i,
3336
3350
  onClose: d
3337
3351
  }, {
3338
- default: L(() => [
3339
- E(o.$slots, "default")
3352
+ default: D(() => [
3353
+ L(o.$slots, "default")
3340
3354
  ]),
3341
3355
  _: 3
3342
3356
  }, 8, ["label", "model-value", "options-id", "prevent-tab", "type-to-focus"])
@@ -3462,7 +3476,7 @@ const on = {
3462
3476
  function r(f) {
3463
3477
  l("optselected", f), l("update:modelValue", f);
3464
3478
  }
3465
- return (f, m) => (u(), A(Rn, {
3479
+ return (f, b) => (u(), O(Fn, {
3466
3480
  "anchor-id": o.value,
3467
3481
  breakout: e.breakout,
3468
3482
  "container-id": e.containerId,
@@ -3477,21 +3491,21 @@ const on = {
3477
3491
  shown: c(n),
3478
3492
  "use-mobile-style": e.useMobileStyle,
3479
3493
  width: i.value,
3480
- onClose: m[0] || (m[0] = (b) => l("close")),
3481
- onAfterEnter: m[1] || (m[1] = (b) => l("after-enter")),
3482
- onAfterLeave: m[2] || (m[2] = (b) => l("after-leave")),
3494
+ onClose: b[0] || (b[0] = (v) => l("close")),
3495
+ onAfterEnter: b[1] || (b[1] = (v) => l("after-enter")),
3496
+ onAfterLeave: b[2] || (b[2] = (v) => l("after-leave")),
3483
3497
  "onUpdate:modelValue": r
3484
3498
  }, {
3485
- default: L(() => [
3486
- E(f.$slots, "default")
3499
+ default: D(() => [
3500
+ L(f.$slots, "default")
3487
3501
  ]),
3488
3502
  _: 3
3489
3503
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
3490
3504
  }
3491
- }, Fn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Wn = { class: "bs-empty-state-title" }, Un = {
3505
+ }, Rn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Wn = { class: "bs-empty-state-title" }, Un = {
3492
3506
  key: 0,
3493
3507
  class: "bs-empty-state-description"
3494
- }, Yo = {
3508
+ }, Zo = {
3495
3509
  __name: "BsEmptyState",
3496
3510
  props: {
3497
3511
  description: {
@@ -3514,27 +3528,28 @@ const on = {
3514
3528
  },
3515
3529
  setup(e) {
3516
3530
  const a = e, { icon: t } = Ve(a, "iconName");
3517
- return (l, n) => (u(), v("div", {
3531
+ return (l, n) => (u(), h("div", {
3518
3532
  class: "bs-empty-state",
3533
+ "data-component": "bs-empty-state",
3519
3534
  "data-size": e.size
3520
3535
  }, [
3521
- $("div", jn, [
3522
- E(l.$slots, "icon", {}, () => [
3523
- (u(), A(te(c(t)), { size: "" }))
3536
+ S("div", jn, [
3537
+ L(l.$slots, "icon", {}, () => [
3538
+ (u(), O(te(c(t)), { size: "" }))
3524
3539
  ])
3525
3540
  ]),
3526
- $("div", null, [
3527
- $("p", Wn, T(e.title), 1),
3528
- e.size !== "xs" ? (u(), v("p", Un, [
3529
- E(l.$slots, "description", {}, () => [
3530
- U(T(e.description), 1)
3541
+ S("div", null, [
3542
+ S("p", Wn, V(e.title), 1),
3543
+ e.size !== "xs" ? (u(), h("p", Un, [
3544
+ L(l.$slots, "description", {}, () => [
3545
+ U(V(e.description), 1)
3531
3546
  ])
3532
3547
  ])) : C("", !0),
3533
- E(l.$slots, "call-to-action")
3548
+ L(l.$slots, "call-to-action")
3534
3549
  ])
3535
- ], 8, Fn));
3550
+ ], 8, Rn));
3536
3551
  }
3537
- }, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3552
+ }, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3538
3553
  __name: "BsFlyout",
3539
3554
  props: {
3540
3555
  absolute: {
@@ -3570,68 +3585,69 @@ const on = {
3570
3585
  },
3571
3586
  emits: ["close"],
3572
3587
  setup(e, { emit: a }) {
3573
- const t = e, l = a, n = k(null), i = p(() => document.getElementById(t.toggleId));
3574
- Ct([n, i], d), he(["Escape"], d);
3588
+ const t = e, l = a, n = I(null), i = p(() => document.getElementById(t.toggleId));
3589
+ Ct([n, i], d), me(["Escape"], d);
3575
3590
  function d() {
3576
3591
  t.shown && l("close");
3577
3592
  }
3578
- return (o, s) => (u(), A(qe, {
3593
+ return (o, s) => (u(), O(Pe, {
3579
3594
  name: "bs-flyout",
3580
3595
  preloaded: e.preloaded,
3581
3596
  shown: e.shown
3582
3597
  }, {
3583
- default: L(() => [
3584
- $("div", z({
3598
+ default: D(() => [
3599
+ S("div", z({
3585
3600
  ref_key: "flyout",
3586
3601
  ref: n,
3587
3602
  class: "bs-flyout",
3588
3603
  "data-absolute": e.absolute,
3604
+ "data-component": "bs-flyout",
3589
3605
  "data-position": e.position,
3590
3606
  "data-shown": e.shown,
3591
3607
  "data-size": e.size
3592
3608
  }, o.$attrs), [
3593
- $("div", Hn, [
3594
- $("button", {
3609
+ S("div", Hn, [
3610
+ S("button", {
3595
3611
  type: "button",
3596
3612
  title: "Close",
3597
3613
  "aria-label": "Close",
3598
3614
  onClick: d
3599
3615
  }, [
3600
- D(c(Be))
3616
+ P(c(Be))
3601
3617
  ])
3602
3618
  ]),
3603
- E(o.$slots, "default")
3619
+ L(o.$slots, "default")
3604
3620
  ], 16, Gn)
3605
3621
  ]),
3606
3622
  _: 3
3607
3623
  }, 8, ["preloaded", "shown"]));
3608
3624
  }
3609
- }), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3625
+ }), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3610
3626
  __name: "BsIconGradientWrapper",
3611
3627
  setup(e) {
3612
- const a = k(null), t = k(null), l = [
3628
+ const a = I(null), t = I(null), l = [
3613
3629
  { offset: 0.1326, color: "#EE282A" },
3614
3630
  { offset: 0.5466, color: "#1C0087" },
3615
3631
  { offset: 0.9715, color: "#0086EA" }
3616
3632
  ], [n] = Z();
3617
3633
  return H(() => {
3618
3634
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
3619
- }), (i, d) => (u(), v(G, null, [
3620
- $("span", z({
3635
+ }), (i, d) => (u(), h(G, null, [
3636
+ S("span", z({
3621
3637
  ref_key: "svgWrapperRef",
3622
3638
  ref: a,
3623
3639
  class: "bs-icon-gradient-wrapper",
3624
3640
  style: `fill: url(#${c(n)});`
3625
3641
  }, i.$attrs), [
3626
- E(i.$slots, "default")
3642
+ L(i.$slots, "default")
3627
3643
  ], 16),
3628
- (u(), v("svg", {
3644
+ (u(), h("svg", {
3629
3645
  xmlns: "http://www.w3.org/2000/svg",
3630
3646
  "view-box": t.value,
3631
3647
  width: "0",
3632
3648
  height: "0"
3633
3649
  }, [
3634
- $("linearGradient", {
3650
+ S("linearGradient", {
3635
3651
  id: c(n),
3636
3652
  x1: "0",
3637
3653
  y1: "0",
@@ -3639,7 +3655,7 @@ const on = {
3639
3655
  y2: "100%",
3640
3656
  "gradient-units": "userSpaceOnUse"
3641
3657
  }, [
3642
- (u(), v(G, null, ee(l, (o) => $("stop", {
3658
+ (u(), h(G, null, ee(l, (o) => S("stop", {
3643
3659
  key: o.offset,
3644
3660
  offset: o.offset,
3645
3661
  "stop-color": o.color
@@ -3648,7 +3664,7 @@ const on = {
3648
3664
  ], 8, Kn))
3649
3665
  ], 64));
3650
3666
  }
3651
- }), Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3667
+ }), Jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3652
3668
  __name: "BsInputField",
3653
3669
  props: {
3654
3670
  /** Sets the disabled state on input, disabled styles on label. */
@@ -3695,26 +3711,26 @@ const on = {
3695
3711
  },
3696
3712
  emits: ["update:modelValue"],
3697
3713
  setup(e, { emit: a }) {
3698
- const t = e, [l, n] = Z(2), i = p(() => ve.concat(t.passAttrs.split(",")).concat("type")), d = p(() => {
3714
+ const t = e, [l, n] = Z(2), i = p(() => he.concat(t.passAttrs.split(",")).concat("type")), d = p(() => {
3699
3715
  var r, f;
3700
3716
  return ((f = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
3701
3717
  `)) || t.hints;
3702
3718
  }), o = p(() => t.error && t.errorMsg || t.hint || d.value || void 0), s = p(() => t.inputId || l.value);
3703
- return (r, f) => (u(), v("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3704
- e.label || r.$slots.label ? (u(), A(ae, {
3719
+ return (r, f) => (u(), h("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3720
+ e.label || r.$slots.label ? (u(), O(ae, {
3705
3721
  key: 0,
3706
3722
  for: r.$attrs.id || s.value,
3707
3723
  disabled: e.disabled,
3708
3724
  required: e.required
3709
3725
  }, {
3710
- default: L(() => [
3711
- E(r.$slots, "label", {}, () => [
3712
- U(T(e.label), 1)
3726
+ default: D(() => [
3727
+ L(r.$slots, "label", {}, () => [
3728
+ U(V(e.label), 1)
3713
3729
  ])
3714
3730
  ]),
3715
3731
  _: 3
3716
3732
  }, 8, ["for", "disabled", "required"])) : C("", !0),
3717
- D(Ie, z({
3733
+ P(Ie, z({
3718
3734
  disabled: e.disabled,
3719
3735
  error: e.error,
3720
3736
  "hint-id": c(n),
@@ -3723,9 +3739,9 @@ const on = {
3723
3739
  required: e.required,
3724
3740
  type: e.type,
3725
3741
  value: e.value || e.modelValue,
3726
- "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
3742
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => r.$emit("update:modelValue", b))
3727
3743
  }, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3728
- o.value ? (u(), A(ge, {
3744
+ o.value ? (u(), O(ge, {
3729
3745
  key: 1,
3730
3746
  error: e.error,
3731
3747
  "error-msg": e.errorMsg,
@@ -3734,7 +3750,7 @@ const on = {
3734
3750
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
3735
3751
  ], 16));
3736
3752
  }
3737
- }), ht = {
3753
+ }), mt = {
3738
3754
  A: "🇦",
3739
3755
  B: "🇧",
3740
3756
  C: "🇨",
@@ -3788,7 +3804,7 @@ const on = {
3788
3804
  */
3789
3805
  initSourceData() {
3790
3806
  return this.data.allCountries || (this.data.allCountries = da().map((e) => {
3791
- const a = ua(e), t = ht[a[0]] + ht[a[1]] || "";
3807
+ const a = ua(e), t = mt[a[0]] + mt[a[1]] || "";
3792
3808
  return {
3793
3809
  label: `+${e}`,
3794
3810
  flag: t,
@@ -3805,7 +3821,7 @@ const on = {
3805
3821
  }, Xn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Qn = { key: 0 }, Jn = {
3806
3822
  "aria-hidden": "true",
3807
3823
  style: { width: "1.25rem" }
3808
- }, _n = { "aria-hidden": "true" }, Jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3824
+ }, _n = { "aria-hidden": "true" }, _o = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3809
3825
  __name: "BsInputPhone",
3810
3826
  props: {
3811
3827
  deferValidation: {
@@ -3867,107 +3883,107 @@ const on = {
3867
3883
  "Escape",
3868
3884
  "Home",
3869
3885
  "Tab"
3870
- ], d = k(null), o = k(1), s = k([]), r = k(null), [
3886
+ ], d = I(null), o = I(1), s = I([]), r = I(null), [
3871
3887
  f,
3872
- m,
3873
3888
  b,
3889
+ v,
3874
3890
  g
3875
- ] = Z(4), S = k(!1), I = k(""), h = k(""), B = k(!1), w = k(!1), y = k(!0);
3891
+ ] = Z(4), y = I(!1), B = I(""), m = I(""), w = I(!1), k = I(!1), $ = I(!0);
3876
3892
  a({
3877
- validationErr: B,
3878
- validationErrMsg: h
3893
+ validationErr: w,
3894
+ validationErrMsg: m
3879
3895
  });
3880
- const M = p(() => I.value ? `+${o.value}${I.value}` : ""), V = p(() => `Country code: ${o.value}. Click to change.`), q = p(() => y.value ? l.errorMsg || h.value : ""), R = p(() => l.error || B.value), _ = p(() => l.hint || R.value && q.value), J = p(() => y.value && R.value);
3881
- j(M, (P) => {
3882
- n("update:modelValue", P), F(P);
3883
- }), j(() => l.modelValue, ne), xe(), H(() => S.value = !0);
3884
- function ne(P, K) {
3885
- P === "" && P !== K && (I.value = "");
3886
- }
3887
- function me() {
3888
- var P;
3889
- w.value && (w.value = !1, (P = d.value) == null || P.focus());
3890
- }
3891
- function ye(P) {
3896
+ const A = p(() => B.value ? `+${o.value}${B.value}` : ""), x = p(() => `Country code: ${o.value}. Click to change.`), q = p(() => $.value ? l.errorMsg || m.value : ""), F = p(() => l.error || w.value), _ = p(() => l.hint || F.value && q.value), J = p(() => $.value && F.value);
3897
+ j(A, (M) => {
3898
+ n("update:modelValue", M), R(M);
3899
+ }), j(() => l.modelValue, ne), xe(), H(() => y.value = !0);
3900
+ function ne(M, K) {
3901
+ M === "" && M !== K && (B.value = "");
3902
+ }
3903
+ function be() {
3904
+ var M;
3905
+ k.value && (k.value = !1, (M = d.value) == null || M.focus());
3906
+ }
3907
+ function ye(M) {
3892
3908
  var K;
3893
- o.value = P, w.value = !1, (K = d.value) == null || K.focus(), O(P);
3909
+ o.value = M, k.value = !1, (K = d.value) == null || K.focus(), E(M);
3894
3910
  }
3895
3911
  function ke() {
3896
- l.deferValidation && (y.value = !0), n("input-blur");
3912
+ l.deferValidation && ($.value = !0), n("input-blur");
3897
3913
  }
3898
- function Ce(P) {
3899
- I.value = P.target.value, l.deferValidation && (y.value = !1);
3914
+ function Ce(M) {
3915
+ B.value = M.target.value, l.deferValidation && ($.value = !1);
3900
3916
  }
3901
- function se(P) {
3917
+ function se(M) {
3902
3918
  var K, X;
3903
- !((X = (K = P.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(P.key) && !P.ctrlKey && !P.metaKey && P.preventDefault();
3919
+ !((X = (K = M.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
3904
3920
  }
3905
3921
  function xe() {
3906
- We.initSourceData(), Se(), O(o.value), F(M.value);
3922
+ We.initSourceData(), Se(), E(o.value), R(A.value);
3907
3923
  }
3908
3924
  function Se() {
3909
3925
  var K, X;
3910
- let P = ut(l.modelValue);
3911
- P.valid || P.countryCode && ((X = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && X.call(K, "+")) ? (o.value = P.countryCode, I.value = P.number.significant) : I.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
3926
+ let M = ut(l.modelValue);
3927
+ M.valid || M.countryCode && ((X = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && X.call(K, "+")) ? (o.value = M.countryCode, B.value = M.number.significant) : B.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
3912
3928
  ...Te,
3913
3929
  isSelected: o.value === Te
3914
3930
  }));
3915
3931
  }
3916
- function O(P) {
3917
- r.value = We.getCountryByCountryCode(P);
3932
+ function E(M) {
3933
+ r.value = We.getCountryByCountryCode(M);
3918
3934
  }
3919
- function F(P) {
3920
- B.value = P ? !ut(P).valid : !1, h.value = B.value ? "Invalid phone number" : "";
3935
+ function R(M) {
3936
+ w.value = M ? !ut(M).valid : !1, m.value = w.value ? "Invalid phone number" : "";
3921
3937
  }
3922
- return (P, K) => (u(), v("div", z({
3938
+ return (M, K) => (u(), h("div", z({
3923
3939
  class: "bs-input-phone",
3924
3940
  "data-component": "bs-input-phone"
3925
- }, c(Y)(P.$attrs, c(ve)).remaining), [
3926
- D(ae, {
3927
- for: P.$attrs.id || e.inputId || c(g),
3941
+ }, c(Y)(M.$attrs, c(he)).remaining), [
3942
+ P(ae, {
3943
+ for: M.$attrs.id || e.inputId || c(g),
3928
3944
  required: e.required,
3929
3945
  disabled: e.disabled,
3930
3946
  class: ie({ "visually-hidden": e.hideLabel })
3931
3947
  }, {
3932
- default: L(() => [
3933
- U(T(e.label), 1)
3948
+ default: D(() => [
3949
+ U(V(e.label), 1)
3934
3950
  ]),
3935
3951
  _: 1
3936
3952
  }, 8, ["for", "required", "disabled", "class"]),
3937
- D(De, {
3953
+ P(De, {
3938
3954
  disabled: e.disabled,
3939
3955
  error: J.value,
3940
3956
  multifocus: !0,
3941
3957
  variant: "inner-bordered"
3942
3958
  }, {
3943
- default: L(() => {
3959
+ default: D(() => {
3944
3960
  var X;
3945
3961
  return [
3946
- $("button", {
3962
+ S("button", {
3947
3963
  id: c(f),
3948
3964
  ref_key: "countryCodesToggle",
3949
3965
  ref: d,
3950
- "aria-controls": c(m),
3951
- "aria-expanded": w.value,
3966
+ "aria-controls": c(b),
3967
+ "aria-expanded": k.value,
3952
3968
  "aria-haspopup": "listbox",
3953
- "aria-label": V.value,
3969
+ "aria-label": x.value,
3954
3970
  disabled: e.disabled,
3955
3971
  type: "button",
3956
- onClick: K[0] || (K[0] = (Te) => w.value = !w.value)
3972
+ onClick: K[0] || (K[0] = (Te) => k.value = !k.value)
3957
3973
  }, [
3958
- $("span", null, T((X = r.value) == null ? void 0 : X.flag), 1),
3959
- $("span", null, "+" + T(o.value), 1),
3960
- D(c(jt), { size: "sm" })
3974
+ S("span", null, V((X = r.value) == null ? void 0 : X.flag), 1),
3975
+ S("span", null, "+" + V(o.value), 1),
3976
+ P(c(jt), { size: "sm" })
3961
3977
  ], 8, Xn),
3962
- D(Ie, z({
3963
- "input-id": P.$attrs.id || e.inputId || c(g),
3978
+ P(Ie, z({
3979
+ "input-id": M.$attrs.id || e.inputId || c(g),
3964
3980
  disabled: e.disabled,
3965
- "hint-id": c(b),
3981
+ "hint-id": c(v),
3966
3982
  placeholder: e.placeholder,
3967
- value: I.value,
3983
+ value: B.value,
3968
3984
  "data-autowidth": "",
3969
3985
  type: "tel"
3970
- }, c(Y)(P.$attrs, c(ve)).filtered, {
3986
+ }, c(Y)(M.$attrs, c(he)).filtered, {
3971
3987
  onInput: Ce,
3972
3988
  onFocusout: ke,
3973
3989
  onKeydown: se
@@ -3976,37 +3992,37 @@ const on = {
3976
3992
  }),
3977
3993
  _: 1
3978
3994
  }, 8, ["disabled", "error"]),
3979
- ue(D(ge, {
3980
- error: R.value,
3995
+ ue(P(ge, {
3996
+ error: F.value,
3981
3997
  "error-msg": q.value,
3982
3998
  hint: e.hint,
3983
- "hint-id": c(b)
3999
+ "hint-id": c(v)
3984
4000
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
3985
4001
  [ce, _.value]
3986
4002
  ]),
3987
- S.value ? (u(), v("div", Qn, [
3988
- D(Lt, {
4003
+ y.value ? (u(), h("div", Qn, [
4004
+ P(Lt, {
3989
4005
  "anchor-id": c(f),
3990
4006
  "helper-text": "Country Code",
3991
4007
  label: "Country Code",
3992
4008
  "model-value": o.value,
3993
- "options-id": c(m),
4009
+ "options-id": c(b),
3994
4010
  preloaded: "",
3995
- shown: w.value,
4011
+ shown: k.value,
3996
4012
  width: "content",
3997
- onClose: me,
4013
+ onClose: be,
3998
4014
  "onUpdate:modelValue": ye
3999
4015
  }, {
4000
- default: L(() => [
4001
- S.value ? (u(!0), v(G, { key: 0 }, ee(s.value, (X) => (u(), A(ot, {
4016
+ default: D(() => [
4017
+ y.value ? (u(!0), h(G, { key: 0 }, ee(s.value, (X) => (u(), O(ot, {
4002
4018
  "aria-label": X.value,
4003
4019
  key: X.value,
4004
4020
  value: `${X.value}`,
4005
4021
  variant: "2-col"
4006
4022
  }, {
4007
- default: L(() => [
4008
- $("span", Jn, T(X == null ? void 0 : X.flag), 1),
4009
- $("span", _n, T(X.label), 1)
4023
+ default: D(() => [
4024
+ S("span", Jn, V(X == null ? void 0 : X.flag), 1),
4025
+ S("span", _n, V(X.label), 1)
4010
4026
  ]),
4011
4027
  _: 2
4012
4028
  }, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
@@ -4061,16 +4077,16 @@ const on = {
4061
4077
  },
4062
4078
  emits: ["clear", "update:modelValue"],
4063
4079
  setup(e, { emit: a }) {
4064
- const t = e, l = p(() => ve.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4065
- return (i, d) => (u(), A(De, z({
4080
+ const t = e, l = p(() => he.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4081
+ return (i, d) => (u(), O(De, z({
4066
4082
  class: "bs-input-search",
4067
4083
  "data-component": "bs-input-search",
4068
4084
  "data-variant": e.variant,
4069
4085
  disabled: e.disabled
4070
4086
  }, c(Y)(i.$attrs, l.value).remaining), {
4071
- default: L(() => [
4072
- e.hideSearchIcon ? C("", !0) : (u(), A(c(Wt), { key: 0 })),
4073
- D(Ie, z({
4087
+ default: D(() => [
4088
+ e.hideSearchIcon ? C("", !0) : (u(), O(c(Wt), { key: 0 })),
4089
+ P(Ie, z({
4074
4090
  "data-autowidth": "",
4075
4091
  disabled: e.disabled,
4076
4092
  "input-id": i.$attrs.id || e.inputId,
@@ -4079,12 +4095,12 @@ const on = {
4079
4095
  }, c(Y)(i.$attrs, l.value).filtered, {
4080
4096
  "onUpdate:modelValue": d[0] || (d[0] = (o) => i.$emit("update:modelValue", o))
4081
4097
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
4082
- ue($("button", {
4098
+ ue(S("button", {
4083
4099
  title: "Clear",
4084
4100
  type: "button",
4085
4101
  onClick: d[1] || (d[1] = (o) => i.$emit("clear"))
4086
4102
  }, [
4087
- D(c(Be), { size: "sm" })
4103
+ P(c(Be), { size: "sm" })
4088
4104
  ], 512), [
4089
4105
  [ce, n.value]
4090
4106
  ])
@@ -4092,13 +4108,13 @@ const on = {
4092
4108
  _: 1
4093
4109
  }, 16, ["data-variant", "disabled"]));
4094
4110
  }
4095
- }), tl = ["data-size", "data-variant"], al = ["stroke"], nl = { key: 0 }, ll = /* @__PURE__ */ $("linearGradient", { id: "bs-spinner-gradient" }, [
4096
- /* @__PURE__ */ $("stop", { offset: "0%" }),
4097
- /* @__PURE__ */ $("stop", { offset: "49%" }),
4098
- /* @__PURE__ */ $("stop", { offset: "100%" })
4111
+ }), tl = ["data-size", "data-variant"], al = ["stroke"], nl = { key: 0 }, ll = /* @__PURE__ */ S("linearGradient", { id: "bs-spinner-gradient" }, [
4112
+ /* @__PURE__ */ S("stop", { offset: "0%" }),
4113
+ /* @__PURE__ */ S("stop", { offset: "49%" }),
4114
+ /* @__PURE__ */ S("stop", { offset: "100%" })
4099
4115
  ], -1), ol = [
4100
4116
  ll
4101
- ], vt = {
4117
+ ], ht = {
4102
4118
  __name: "BsSpinner",
4103
4119
  props: {
4104
4120
  label: {
@@ -4115,8 +4131,9 @@ const on = {
4115
4131
  }
4116
4132
  },
4117
4133
  setup(e) {
4118
- return (a, t) => (u(), v("svg", {
4134
+ return (a, t) => (u(), h("svg", {
4119
4135
  class: "bs-spinner",
4136
+ "data-component": "bs-spinner",
4120
4137
  "data-size": e.size,
4121
4138
  "data-variant": e.variant,
4122
4139
  fill: "none",
@@ -4124,18 +4141,18 @@ const on = {
4124
4141
  viewBox: "0 0 100 100",
4125
4142
  xmlns: "http://www.w3.org/2000/svg"
4126
4143
  }, [
4127
- $("title", null, T(e.label), 1),
4128
- $("circle", {
4144
+ S("title", null, V(e.label), 1),
4145
+ S("circle", {
4129
4146
  cx: "50",
4130
4147
  cy: "50",
4131
4148
  pathLength: "100",
4132
4149
  r: "45",
4133
4150
  stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
4134
4151
  }, null, 8, al),
4135
- e.variant === "gradient" ? (u(), v("defs", nl, ol)) : C("", !0)
4152
+ e.variant === "gradient" ? (u(), h("defs", nl, ol)) : C("", !0)
4136
4153
  ], 8, tl));
4137
4154
  }
4138
- }, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, _o = {
4155
+ }, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, ei = {
4139
4156
  __name: "BsInputTypeahead",
4140
4157
  props: {
4141
4158
  characterThreshold: {
@@ -4207,71 +4224,71 @@ const on = {
4207
4224
  },
4208
4225
  emits: ["update:inputValue", "update:optionsValue"],
4209
4226
  setup(e, { emit: a }) {
4210
- const t = e, l = a, n = k(!1), i = k(!1), [d] = Z();
4227
+ const t = e, l = a, n = I(!1), i = I(!1), [d] = Z();
4211
4228
  let o = [];
4212
4229
  j(() => t.inputValue, () => {
4213
- i.value ? i.value = !1 : h();
4230
+ i.value ? i.value = !1 : m();
4214
4231
  });
4215
- const s = p(() => t.typeaheadId || d.value), r = p(() => `${s.value}-input-container`), f = p(() => `${s.value}-input`), m = p(() => `${s.value}-options`), b = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), g = p(() => {
4232
+ const s = p(() => t.typeaheadId || d.value), r = p(() => `${s.value}-input-container`), f = p(() => `${s.value}-input`), b = p(() => `${s.value}-options`), v = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), g = p(() => {
4216
4233
  if (n.value) {
4217
- let V = t.options;
4218
- const q = t.inputValue.toLowerCase(), R = t.filterType === "includes" ? "includes" : "startsWith";
4219
- return t.inputValue.length >= t.characterThreshold && (V = S(V, q, R), V = V.slice(0, t.maxOptions), V = I(V, q, R), o = V), V;
4234
+ let x = t.options;
4235
+ const q = t.inputValue.toLowerCase(), F = t.filterType === "includes" ? "includes" : "startsWith";
4236
+ return t.inputValue.length >= t.characterThreshold && (x = y(x, q, F), x = x.slice(0, t.maxOptions), x = B(x, q, F), o = x), x;
4220
4237
  } else
4221
4238
  return o;
4222
4239
  });
4223
- function S(V, q, R) {
4224
- return t.internalFiltering ? V.filter((_) => _.label.toLowerCase()[R](q)) : V;
4240
+ function y(x, q, F) {
4241
+ return t.internalFiltering ? x.filter((_) => _.label.toLowerCase()[F](q)) : x;
4225
4242
  }
4226
- function I(V, q, R) {
4227
- return V.map((_) => {
4243
+ function B(x, q, F) {
4244
+ return x.map((_) => {
4228
4245
  let J = _.label;
4229
4246
  if (q !== "") {
4230
- const ne = R === "includes" ? "gi" : "i", me = new RegExp(`(${q})`, ne);
4231
- J = _.label.replace(me, '<span style="color: var(--bs-blue-base)">$1</span>');
4247
+ const ne = F === "includes" ? "gi" : "i", be = new RegExp(`(${q})`, ne);
4248
+ J = _.label.replace(be, '<span style="color: var(--bs-blue-base)">$1</span>');
4232
4249
  }
4233
4250
  return { ..._, labelHtml: J };
4234
4251
  });
4235
4252
  }
4236
- function h() {
4253
+ function m() {
4237
4254
  t.showDropdownOnFocus || t.inputValue.length >= t.characterThreshold ? n.value = !0 : n.value = !1;
4238
4255
  }
4239
- function B() {
4256
+ function w() {
4240
4257
  l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(f.value).focus();
4241
4258
  }
4242
- function w(V) {
4259
+ function k(x) {
4243
4260
  i.value = !0;
4244
- const q = g.value.find((R) => R.value === V);
4245
- l("update:inputValue", q.label), l("update:optionsValue", V);
4261
+ const q = g.value.find((F) => F.value === x);
4262
+ l("update:inputValue", q.label), l("update:optionsValue", x);
4246
4263
  }
4247
- function y(V) {
4248
- const q = [...b.value, V];
4264
+ function $(x) {
4265
+ const q = [...v.value, x];
4249
4266
  l("update:optionsValue", q);
4250
4267
  }
4251
- function M(V) {
4252
- const q = b.value.filter((R) => R !== V);
4268
+ function A(x) {
4269
+ const q = v.value.filter((F) => F !== x);
4253
4270
  l("update:optionsValue", q);
4254
4271
  }
4255
- return (V, q) => (u(), v(G, null, [
4256
- e.label || V.$slots.label ? (u(), A(ae, {
4272
+ return (x, q) => (u(), h(G, null, [
4273
+ e.label || x.$slots.label ? (u(), O(ae, {
4257
4274
  key: 0,
4258
4275
  for: f.value,
4259
4276
  disabled: e.disabled,
4260
4277
  required: e.required
4261
4278
  }, {
4262
- default: L(() => [
4263
- E(V.$slots, "label", {}, () => [
4264
- U(T(e.label), 1)
4279
+ default: D(() => [
4280
+ L(x.$slots, "label", {}, () => [
4281
+ U(V(e.label), 1)
4265
4282
  ])
4266
4283
  ]),
4267
4284
  _: 3
4268
4285
  }, 8, ["for", "disabled", "required"])) : C("", !0),
4269
- $("div", {
4286
+ S("div", {
4270
4287
  id: r.value,
4271
4288
  class: "typeahead-search-wrapper"
4272
4289
  }, [
4273
- D(el, z({
4274
- "aria-controls": m.value,
4290
+ P(el, z({
4291
+ "aria-controls": b.value,
4275
4292
  "aria-expanded": n.value,
4276
4293
  "aria-haspopup": "listbox",
4277
4294
  autocomplete: "off",
@@ -4283,69 +4300,69 @@ const on = {
4283
4300
  placeholder: e.placeholder,
4284
4301
  role: "combobox",
4285
4302
  value: e.inputValue
4286
- }, V.$attrs, {
4287
- onClear: B,
4288
- onFocusin: h,
4289
- "onUpdate:modelValue": q[0] || (q[0] = (R) => l("update:inputValue", R))
4303
+ }, x.$attrs, {
4304
+ onClear: w,
4305
+ onFocusin: m,
4306
+ "onUpdate:modelValue": q[0] || (q[0] = (F) => l("update:inputValue", F))
4290
4307
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
4291
4308
  ], 8, il),
4292
- D(lt, {
4309
+ P(lt, {
4293
4310
  "anchor-id": r.value,
4294
4311
  preloaded: !0,
4295
4312
  shown: n.value,
4296
4313
  "use-mobile-style": !1,
4297
4314
  width: "toggle",
4298
- onClose: q[2] || (q[2] = (R) => n.value = !1)
4315
+ onClose: q[2] || (q[2] = (F) => n.value = !1)
4299
4316
  }, {
4300
- default: L(() => [
4301
- e.multiselect ? (u(), A(Et, {
4317
+ default: D(() => [
4318
+ e.multiselect ? (u(), O(Et, {
4302
4319
  key: 0,
4303
4320
  "focus-on-open": !1,
4304
4321
  label: e.label,
4305
4322
  options: g.value,
4306
- "options-id": m.value,
4307
- "selected-options": b.value,
4323
+ "options-id": b.value,
4324
+ "selected-options": v.value,
4308
4325
  shown: n.value,
4309
- onCheckOption: y,
4310
- onUncheckOption: M
4326
+ onCheckOption: $,
4327
+ onUncheckOption: A
4311
4328
  }, Ze({ _: 2 }, [
4312
4329
  e.loading ? {
4313
4330
  name: "no-options",
4314
- fn: L(() => [
4315
- $("span", rl, [
4316
- D(vt, { size: "sm" })
4331
+ fn: D(() => [
4332
+ S("span", rl, [
4333
+ P(ht, { size: "sm" })
4317
4334
  ])
4318
4335
  ]),
4319
4336
  key: "0"
4320
4337
  } : {
4321
4338
  name: "no-options",
4322
- fn: L(() => [
4339
+ fn: D(() => [
4323
4340
  U("No results found")
4324
4341
  ]),
4325
4342
  key: "1"
4326
4343
  }
4327
- ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), A(Fe, {
4344
+ ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), O(Re, {
4328
4345
  key: 1,
4329
4346
  label: e.label,
4330
- "model-value": b.value,
4331
- "options-id": m.value,
4347
+ "model-value": v.value,
4348
+ "options-id": b.value,
4332
4349
  shown: n.value,
4333
- "onUpdate:modelValue": w,
4334
- onClose: q[1] || (q[1] = (R) => n.value = !1)
4350
+ "onUpdate:modelValue": k,
4351
+ onClose: q[1] || (q[1] = (F) => n.value = !1)
4335
4352
  }, {
4336
- default: L(() => [
4337
- D(Pe, { options: g.value }, Ze({ _: 2 }, [
4353
+ default: D(() => [
4354
+ P(qe, { options: g.value }, Ze({ _: 2 }, [
4338
4355
  e.loading ? {
4339
4356
  name: "no-options",
4340
- fn: L(() => [
4341
- $("span", sl, [
4342
- D(vt, { size: "sm" })
4357
+ fn: D(() => [
4358
+ S("span", sl, [
4359
+ P(ht, { size: "sm" })
4343
4360
  ])
4344
4361
  ]),
4345
4362
  key: "0"
4346
4363
  } : {
4347
4364
  name: "no-options",
4348
- fn: L(() => [
4365
+ fn: D(() => [
4349
4366
  U("No results found")
4350
4367
  ]),
4351
4368
  key: "1"
@@ -4359,13 +4376,13 @@ const on = {
4359
4376
  }, 8, ["anchor-id", "shown"])
4360
4377
  ], 64));
4361
4378
  }
4362
- }, dl = ["data-size", "data-variant"], ul = /* @__PURE__ */ $("span", null, null, -1), cl = /* @__PURE__ */ $("span", null, null, -1), fl = /* @__PURE__ */ $("span", null, null, -1), pl = /* @__PURE__ */ $("span", null, null, -1), hl = /* @__PURE__ */ $("span", { class: "visually-hidden" }, "Loading", -1), vl = [
4379
+ }, dl = ["data-size", "data-variant"], ul = /* @__PURE__ */ S("span", null, null, -1), cl = /* @__PURE__ */ S("span", null, null, -1), fl = /* @__PURE__ */ S("span", null, null, -1), pl = /* @__PURE__ */ S("span", null, null, -1), ml = /* @__PURE__ */ S("span", { class: "visually-hidden" }, "Loading", -1), hl = [
4363
4380
  ul,
4364
4381
  cl,
4365
4382
  fl,
4366
4383
  pl,
4367
- hl
4368
- ], ei = {
4384
+ ml
4385
+ ], ti = {
4369
4386
  __name: "BsLoader",
4370
4387
  props: {
4371
4388
  size: {
@@ -4379,14 +4396,14 @@ const on = {
4379
4396
  }
4380
4397
  },
4381
4398
  setup(e) {
4382
- return (a, t) => (u(), v("span", {
4399
+ return (a, t) => (u(), h("span", {
4383
4400
  class: "bs-loader",
4384
4401
  "data-size": e.size,
4385
4402
  "data-variant": e.variant,
4386
4403
  role: "status"
4387
- }, vl, 8, dl));
4404
+ }, hl, 8, dl));
4388
4405
  }
4389
- }, ml = ["data-shown"], bl = {
4406
+ }, bl = ["data-shown"], vl = {
4390
4407
  __name: "BsOverlay",
4391
4408
  props: {
4392
4409
  shown: {
@@ -4424,23 +4441,23 @@ const on = {
4424
4441
  function i() {
4425
4442
  n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
4426
4443
  }
4427
- return (d, o) => (u(), A(qe, {
4444
+ return (d, o) => (u(), O(Pe, {
4428
4445
  name: "bs-overlay",
4429
4446
  shown: c(n),
4430
4447
  preloaded: e.preloaded,
4431
4448
  onAfterEnter: o[0] || (o[0] = (s) => l("after-enter")),
4432
4449
  onAfterLeave: o[1] || (o[1] = (s) => l("after-leave"))
4433
4450
  }, {
4434
- default: L(() => [
4435
- $("div", {
4451
+ default: D(() => [
4452
+ S("div", {
4436
4453
  class: "bs-overlay",
4437
4454
  "data-shown": c(n)
4438
- }, null, 8, ml)
4455
+ }, null, 8, bl)
4439
4456
  ]),
4440
4457
  _: 1
4441
4458
  }, 8, ["shown", "preloaded"]));
4442
4459
  }
4443
- }, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4460
+ }, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4444
4461
  __name: "BsModal",
4445
4462
  props: {
4446
4463
  modalId: {
@@ -4487,68 +4504,69 @@ const on = {
4487
4504
  setup(e, { emit: a }) {
4488
4505
  const t = e, l = a, { transition: n } = Le(t), [i] = Z();
4489
4506
  let d = !1;
4490
- const o = k(null), s = (m) => {
4491
- o.value && m.target.closest(".bs-overlay") && l("close", t.modalId);
4507
+ const o = I(null), s = (b) => {
4508
+ o.value && b.target.closest(".bs-overlay") && l("close", t.modalId);
4492
4509
  };
4493
4510
  H(() => {
4494
4511
  document.addEventListener("click", s);
4495
4512
  }), $e(() => {
4496
4513
  document.removeEventListener("click", s);
4497
- }), he(["Escape"], () => {
4514
+ }), me(["Escape"], () => {
4498
4515
  d && l("close", t.modalId);
4499
4516
  });
4500
4517
  const r = () => !t.title && t.closeButton, f = () => t.title && t.closeButton;
4501
- return (m, b) => (u(), v(G, null, [
4502
- D(bl, {
4518
+ return (b, v) => (u(), h(G, null, [
4519
+ P(vl, {
4503
4520
  shown: c(n),
4504
4521
  preloaded: e.preloaded,
4505
4522
  "enter-controlled": e.enterControlled,
4506
4523
  "enter-trigger": e.enterTrigger,
4507
4524
  "leave-trigger": e.leaveTrigger
4508
4525
  }, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
4509
- D(qe, {
4526
+ P(Pe, {
4510
4527
  name: "bs-modal",
4511
4528
  preloaded: e.preloaded,
4512
4529
  shown: c(n),
4513
- onAfterEnter: b[1] || (b[1] = (g) => l("after-enter")),
4514
- onAfterLeave: b[2] || (b[2] = (g) => l("after-leave")),
4515
- onEnter: b[3] || (b[3] = (g) => zt(d) ? d.value = !0 : d = !0)
4530
+ onAfterEnter: v[1] || (v[1] = (g) => l("after-enter")),
4531
+ onAfterLeave: v[2] || (v[2] = (g) => l("after-leave")),
4532
+ onEnter: v[3] || (v[3] = (g) => zt(d) ? d.value = !0 : d = !0)
4516
4533
  }, {
4517
- default: L(() => [
4518
- $("div", z({
4534
+ default: D(() => [
4535
+ S("div", z({
4519
4536
  id: e.modalId,
4520
4537
  class: "bs-modal",
4538
+ "data-component": "bs-modal",
4521
4539
  role: e.alert ? "alertdialog" : "dialog",
4522
- "aria-labelledby": e.title && !m.$attrs["aria-label"] ? c(i) : void 0,
4540
+ "aria-labelledby": e.title && !b.$attrs["aria-label"] ? c(i) : void 0,
4523
4541
  "aria-modal": "true"
4524
- }, m.$attrs, {
4542
+ }, b.$attrs, {
4525
4543
  ref_key: "modalRef",
4526
4544
  ref: o,
4527
4545
  "data-shown": c(n)
4528
4546
  }), [
4529
- e.title || e.closeButton ? (u(), v("header", {
4547
+ e.title || e.closeButton ? (u(), h("header", {
4530
4548
  key: 0,
4531
4549
  class: ie({
4532
4550
  "only-close-button-modal-header": r,
4533
4551
  "modal-header": f
4534
4552
  })
4535
4553
  }, [
4536
- e.title ? (u(), v("span", {
4554
+ e.title ? (u(), h("span", {
4537
4555
  key: 0,
4538
4556
  id: c(i),
4539
4557
  class: "modal-title"
4540
- }, T(e.title), 9, yl)) : C("", !0),
4541
- e.closeButton ? (u(), v("button", {
4558
+ }, V(e.title), 9, yl)) : C("", !0),
4559
+ e.closeButton ? (u(), h("button", {
4542
4560
  key: 1,
4543
4561
  type: "button",
4544
4562
  title: "Close Modal",
4545
4563
  "aria-label": "Close Modal",
4546
- onClick: b[0] || (b[0] = (g) => l("close", e.modalId))
4564
+ onClick: v[0] || (v[0] = (g) => l("close", e.modalId))
4547
4565
  }, [
4548
- D(c(Be), { class: "close-button" })
4566
+ P(c(Be), { class: "close-button" })
4549
4567
  ])) : C("", !0)
4550
4568
  ], 2)) : C("", !0),
4551
- E(m.$slots, "default")
4569
+ L(b.$slots, "default")
4552
4570
  ], 16, gl)
4553
4571
  ]),
4554
4572
  _: 3
@@ -4561,10 +4579,10 @@ const on = {
4561
4579
  }, $l = ["aria-label", "title", "disabled"], Bl = { key: 0 }, Il = ["aria-label", "title", "disabled"], kl = { key: 0 }, Cl = {
4562
4580
  key: 1,
4563
4581
  class: "bs-pagination-page-numbers"
4564
- }, xl = ["title", "data-selected", "onClick"], Tl = { key: 2 }, Al = { key: 3 }, Vl = /* @__PURE__ */ $("span", null, "Results Per Page:", -1), Ol = { class: "bs-pagination-results-numbers" }, El = ["data-selected", "disabled", "onClick"], Ll = {
4582
+ }, xl = ["title", "data-selected", "onClick"], Tl = { key: 2 }, Al = { key: 3 }, Vl = /* @__PURE__ */ S("span", null, "Results Per Page:", -1), Ol = { class: "bs-pagination-results-numbers" }, El = ["data-selected", "disabled", "onClick"], Ll = {
4565
4583
  key: 5,
4566
4584
  class: "bs-pagination-carets"
4567
- }, Dl = ["aria-label", "title", "disabled"], ql = { key: 0 }, Pl = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ai = {
4585
+ }, Dl = ["aria-label", "title", "disabled"], Pl = { key: 0 }, ql = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ni = {
4568
4586
  __name: "BsPagination",
4569
4587
  props: {
4570
4588
  // Used for all
@@ -4650,17 +4668,17 @@ const on = {
4650
4668
  },
4651
4669
  emits: ["selchange", "update:modelValue"],
4652
4670
  setup(e, { emit: a }) {
4653
- const t = e, l = a, n = k(null);
4671
+ const t = e, l = a, n = I(null);
4654
4672
  H(() => {
4655
- i.value ? n.value = i.value : t.variant === "results" ? n.value = I.value[0] : n.value = 1;
4673
+ i.value ? n.value = i.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
4656
4674
  });
4657
4675
  const i = p(() => t.modelValue || t.selection);
4658
- j(() => t.selection, (h) => {
4659
- n.value = h;
4660
- }), j(() => t.modelValue, (h) => {
4661
- n.value = h;
4662
- }), j(n, (h, B) => {
4663
- B !== null && (l("selchange", h), l("update:modelValue", h));
4676
+ j(() => t.selection, (m) => {
4677
+ n.value = m;
4678
+ }), j(() => t.modelValue, (m) => {
4679
+ n.value = m;
4680
+ }), j(n, (m, w) => {
4681
+ w !== null && (l("selchange", m), l("update:modelValue", m));
4664
4682
  });
4665
4683
  const d = p(() => {
4666
4684
  if (t.variant === "group")
@@ -4680,29 +4698,30 @@ const on = {
4680
4698
  d.value
4681
4699
  );
4682
4700
  }
4683
- function m() {
4701
+ function b() {
4684
4702
  n.value = d.value;
4685
4703
  }
4686
- const b = p(() => {
4704
+ const v = p(() => {
4687
4705
  if (t.pageCount <= t.pageRange)
4688
4706
  return [...Array(t.pageCount + 1).keys()].slice(1);
4689
- const h = [1], B = (t.pageRange - 1) / 2;
4690
- let w = n.value - B, y = n.value + B;
4691
- w < 1 && (y += 1 - w, w = 1), y > t.pageCount && (w -= y - t.pageCount, y = t.pageCount), w = Math.max(w, 2), y = Math.min(y, t.pageCount - 1), w > 2 && h.push(t.breakText);
4692
- for (let M = w; M <= y; M++)
4693
- h.push(M);
4694
- return y < t.pageCount - 1 && h.push(t.breakText), h.push(t.pageCount), h;
4695
- }), g = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), S = p(() => {
4696
- const h = (n.value - 1) * t.itemsPerGroup + 1, B = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
4697
- return `${t.centerLabel ?? "Results"} ${h} - ${B} of ${t.itemsCount}`;
4698
- }), I = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
4699
- return (h, B) => (u(), v("div", {
4707
+ const m = [1], w = (t.pageRange - 1) / 2;
4708
+ let k = n.value - w, $ = n.value + w;
4709
+ 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 && m.push(t.breakText);
4710
+ for (let A = k; A <= $; A++)
4711
+ m.push(A);
4712
+ return $ < t.pageCount - 1 && m.push(t.breakText), m.push(t.pageCount), m;
4713
+ }), g = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), y = p(() => {
4714
+ const m = (n.value - 1) * t.itemsPerGroup + 1, w = Math.min(m - 1 + t.itemsPerGroup, t.itemsCount);
4715
+ return `${t.centerLabel ?? "Results"} ${m} - ${w} of ${t.itemsCount}`;
4716
+ }), B = p(() => t.resultsIncrements.split(",").map((m) => parseInt(m)));
4717
+ return (m, w) => (u(), h("div", {
4700
4718
  class: "bs-pagination",
4719
+ "data-component": "bs-pagination",
4701
4720
  "data-variant": o.value,
4702
4721
  "data-fixed": t.fixed
4703
4722
  }, [
4704
- e.variant === "base" || e.variant === "group" ? (u(), v("div", wl, [
4705
- e.showFirstLastButtons ? (u(), v("button", {
4723
+ e.variant === "base" || e.variant === "group" ? (u(), h("div", wl, [
4724
+ e.showFirstLastButtons ? (u(), h("button", {
4706
4725
  key: 0,
4707
4726
  type: "button",
4708
4727
  class: ie(e.firstPageText ? "bs-pagination-word-caret" : void 0),
@@ -4711,10 +4730,10 @@ const on = {
4711
4730
  disabled: n.value === 1,
4712
4731
  onClick: s
4713
4732
  }, [
4714
- D(c(Ut)),
4715
- e.firstPageText ? (u(), v("span", Bl, T(e.firstPageText), 1)) : C("", !0)
4733
+ P(c(Ut)),
4734
+ e.firstPageText ? (u(), h("span", Bl, V(e.firstPageText), 1)) : C("", !0)
4716
4735
  ], 10, $l)) : C("", !0),
4717
- $("button", {
4736
+ S("button", {
4718
4737
  type: "button",
4719
4738
  class: ie(e.prevPageText ? "bs-pagination-word-caret" : void 0),
4720
4739
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
@@ -4722,35 +4741,35 @@ const on = {
4722
4741
  disabled: n.value === 1,
4723
4742
  onClick: r
4724
4743
  }, [
4725
- D(c(It)),
4726
- e.prevPageText ? (u(), v("span", kl, T(e.prevPageText), 1)) : C("", !0)
4744
+ P(c(It)),
4745
+ e.prevPageText ? (u(), h("span", kl, V(e.prevPageText), 1)) : C("", !0)
4727
4746
  ], 10, Il)
4728
4747
  ])) : C("", !0),
4729
- e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", Cl, [
4730
- (u(!0), v(G, null, ee(b.value, (w) => (u(), v("button", {
4731
- key: `page-${w}-button`,
4748
+ e.variant === "base" && e.centerDisplay === "numbers" ? (u(), h("div", Cl, [
4749
+ (u(!0), h(G, null, ee(v.value, (k) => (u(), h("button", {
4750
+ key: `page-${k}-button`,
4732
4751
  type: "button",
4733
- title: `Page ${w}`,
4734
- "data-selected": w === n.value,
4735
- onClick: (y) => n.value = w
4736
- }, T(w), 9, xl))), 128))
4752
+ title: `Page ${k}`,
4753
+ "data-selected": k === n.value,
4754
+ onClick: ($) => n.value = k
4755
+ }, V(k), 9, xl))), 128))
4737
4756
  ])) : C("", !0),
4738
- t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Tl, T(g.value), 1)) : C("", !0),
4739
- t.variant === "group" ? (u(), v("span", Al, T(S.value), 1)) : C("", !0),
4740
- t.variant === "results" ? (u(), v(G, { key: 4 }, [
4757
+ t.variant === "base" && t.centerDisplay === "text" ? (u(), h("span", Tl, V(g.value), 1)) : C("", !0),
4758
+ t.variant === "group" ? (u(), h("span", Al, V(y.value), 1)) : C("", !0),
4759
+ t.variant === "results" ? (u(), h(G, { key: 4 }, [
4741
4760
  Vl,
4742
- $("div", Ol, [
4743
- (u(!0), v(G, null, ee(I.value, (w) => (u(), v("button", {
4761
+ S("div", Ol, [
4762
+ (u(!0), h(G, null, ee(B.value, (k) => (u(), h("button", {
4744
4763
  type: "button",
4745
- key: `results-${w}`,
4746
- "data-selected": w === n.value,
4747
- disabled: n.value === w,
4748
- onClick: (y) => n.value = w
4749
- }, T(w), 9, El))), 128))
4764
+ key: `results-${k}`,
4765
+ "data-selected": k === n.value,
4766
+ disabled: n.value === k,
4767
+ onClick: ($) => n.value = k
4768
+ }, V(k), 9, El))), 128))
4750
4769
  ])
4751
4770
  ], 64)) : C("", !0),
4752
- e.variant === "base" || e.variant === "group" ? (u(), v("div", Ll, [
4753
- $("button", {
4771
+ e.variant === "base" || e.variant === "group" ? (u(), h("div", Ll, [
4772
+ S("button", {
4754
4773
  type: "button",
4755
4774
  class: ie(e.nextPageText ? "bs-pagination-word-caret" : void 0),
4756
4775
  "aria-label": e.nextPageText ? void 0 : "Next Page",
@@ -4758,25 +4777,25 @@ const on = {
4758
4777
  disabled: n.value === d.value,
4759
4778
  onClick: f
4760
4779
  }, [
4761
- e.nextPageText ? (u(), v("span", ql, T(e.nextPageText), 1)) : C("", !0),
4762
- D(c(Bt))
4780
+ e.nextPageText ? (u(), h("span", Pl, V(e.nextPageText), 1)) : C("", !0),
4781
+ P(c(Bt))
4763
4782
  ], 10, Dl),
4764
- e.showFirstLastButtons ? (u(), v("button", {
4783
+ e.showFirstLastButtons ? (u(), h("button", {
4765
4784
  key: 0,
4766
4785
  type: "button",
4767
4786
  class: ie(e.lastPageText ? "bs-pagination-word-caret" : void 0),
4768
4787
  "aria-label": e.lastPageText ? void 0 : "Last Page",
4769
4788
  title: e.lastPageText,
4770
4789
  disabled: n.value === d.value,
4771
- onClick: m
4790
+ onClick: b
4772
4791
  }, [
4773
- e.lastPageText ? (u(), v("span", Ml, T(e.lastPageText), 1)) : C("", !0),
4774
- D(c(Gt))
4775
- ], 10, Pl)) : C("", !0)
4792
+ e.lastPageText ? (u(), h("span", Ml, V(e.lastPageText), 1)) : C("", !0),
4793
+ P(c(Gt))
4794
+ ], 10, ql)) : C("", !0)
4776
4795
  ])) : C("", !0)
4777
4796
  ], 8, Sl));
4778
4797
  }
4779
- }, Nl = ["data-truncate"], ni = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4798
+ }, Nl = ["data-truncate"], li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4780
4799
  __name: "BsPill",
4781
4800
  props: {
4782
4801
  active: { type: Boolean, default: !1 },
@@ -4800,8 +4819,8 @@ const on = {
4800
4819
  }
4801
4820
  },
4802
4821
  setup(e) {
4803
- const a = e, { onLinkClick: t } = Re(a), l = re(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, l, "span");
4804
- return (o, s) => (u(), A(te(c(n)), z({
4822
+ const a = e, { onLinkClick: t } = Fe(a), l = re(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, l, "span");
4823
+ return (o, s) => (u(), O(te(c(n)), z({
4805
4824
  class: "bs-pill",
4806
4825
  "data-active": e.active,
4807
4826
  "data-component": "bs-pill",
@@ -4810,19 +4829,22 @@ const on = {
4810
4829
  disabled: e.disabled,
4811
4830
  ".href": c(d)
4812
4831
  }, c(i), { onClick: c(t) }), {
4813
- default: L(() => [
4814
- $("span", { "data-truncate": e.truncate }, [
4815
- E(o.$slots, "default")
4832
+ default: D(() => [
4833
+ S("span", { "data-truncate": e.truncate }, [
4834
+ L(o.$slots, "default")
4816
4835
  ], 8, Nl)
4817
4836
  ]),
4818
4837
  _: 3
4819
4838
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
4820
4839
  }
4821
- }), zl = { class: "bs-profile-details" }, Rl = {
4840
+ }), zl = {
4841
+ class: "bs-profile-details",
4842
+ "data-component": "bs-profile-details"
4843
+ }, Fl = {
4822
4844
  class: "bs-profile-name",
4823
4845
  "data-size": "sm",
4824
4846
  "data-weight": "bold"
4825
- }, Fl = {
4847
+ }, Rl = {
4826
4848
  key: 1,
4827
4849
  "data-weight": "bold"
4828
4850
  }, jl = { key: 2 }, Wl = { key: 3 }, Ul = {
@@ -4849,36 +4871,36 @@ const on = {
4849
4871
  function d(o) {
4850
4872
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
4851
4873
  }
4852
- return (o, s) => (u(), v("div", zl, [
4853
- e.action || o.$slots.action ? (u(), v("button", {
4874
+ return (o, s) => (u(), h("div", zl, [
4875
+ e.action || o.$slots.action ? (u(), h("button", {
4854
4876
  key: 0,
4855
4877
  "data-icon": "true",
4856
4878
  onClick: d
4857
4879
  }, [
4858
- E(o.$slots, "action", {}, () => [
4859
- e.actionIcon ? (u(), A(te(c(n) ? c(n) : "span"), {
4880
+ L(o.$slots, "action", {}, () => [
4881
+ e.actionIcon ? (u(), O(te(c(n) ? c(n) : "span"), {
4860
4882
  key: 0,
4861
4883
  class: "bs-icon"
4862
4884
  })) : C("", !0),
4863
- U(" " + T(e.action), 1)
4885
+ U(" " + V(e.action), 1)
4864
4886
  ])
4865
4887
  ])) : C("", !0),
4866
- $("span", Rl, T(e.profileName), 1),
4867
- e.company ? (u(), v("span", Fl, T(e.company), 1)) : C("", !0),
4868
- e.jobTitle ? (u(), v("span", jl, T(e.jobTitle), 1)) : C("", !0),
4869
- e.email ? (u(), v("span", Wl, T(e.email), 1)) : C("", !0),
4870
- e.miscMeta || o.$slots.misc ? (u(), v("span", Ul, [
4871
- E(o.$slots, "misc", {}, () => [
4872
- e.miscMetaIcon ? (u(), A(te(c(i) ? c(i) : "span"), {
4888
+ S("span", Fl, V(e.profileName), 1),
4889
+ e.company ? (u(), h("span", Rl, V(e.company), 1)) : C("", !0),
4890
+ e.jobTitle ? (u(), h("span", jl, V(e.jobTitle), 1)) : C("", !0),
4891
+ e.email ? (u(), h("span", Wl, V(e.email), 1)) : C("", !0),
4892
+ e.miscMeta || o.$slots.misc ? (u(), h("span", Ul, [
4893
+ L(o.$slots, "misc", {}, () => [
4894
+ e.miscMetaIcon ? (u(), O(te(c(i) ? c(i) : "span"), {
4873
4895
  key: 0,
4874
4896
  class: "bs-icon"
4875
4897
  })) : C("", !0),
4876
- U(" " + T(e.miscMeta), 1)
4898
+ U(" " + V(e.miscMeta), 1)
4877
4899
  ])
4878
4900
  ])) : C("", !0)
4879
4901
  ]));
4880
4902
  }
4881
- }, li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4903
+ }, oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4882
4904
  __name: "BsProfile",
4883
4905
  props: {
4884
4906
  layout: {
@@ -4908,21 +4930,22 @@ const on = {
4908
4930
  },
4909
4931
  emits: ["action-toggled"],
4910
4932
  setup(e, { emit: a }) {
4911
- const t = e, l = a, n = re(), { onLinkClick: i } = Re(t), { rootTag: d, attrsToBind: o, hrefUrl: s } = ze(t, n, "div");
4912
- return (r, f) => (u(), A(te(c(d)), z({
4933
+ const t = e, l = a, n = re(), { onLinkClick: i } = Fe(t), { rootTag: d, attrsToBind: o, hrefUrl: s } = ze(t, n, "div");
4934
+ return (r, f) => (u(), O(te(c(d)), z({
4913
4935
  class: "bs-profile",
4914
4936
  ".href": c(s),
4937
+ "data-component": "bs-profile",
4915
4938
  "data-layout": e.layout
4916
4939
  }, c(o), { onClick: c(i) }), {
4917
- default: L(() => [
4918
- D(At, {
4940
+ default: D(() => [
4941
+ P(At, {
4919
4942
  src: e.imageSrc,
4920
4943
  size: e.imageSize,
4921
4944
  initials: e.initials,
4922
4945
  "profile-name": e.profileName,
4923
4946
  "use-alt-text": !1
4924
4947
  }, null, 8, ["src", "size", "initials", "profile-name"]),
4925
- D(Gl, {
4948
+ P(Gl, {
4926
4949
  "profile-name": e.profileName,
4927
4950
  company: e.company,
4928
4951
  "job-title": e.jobTitle,
@@ -4931,13 +4954,13 @@ const on = {
4931
4954
  "action-icon": e.actionIcon,
4932
4955
  "misc-meta": e.miscMeta,
4933
4956
  "misc-meta-icon": e.miscMetaIcon,
4934
- onActionToggled: f[0] || (f[0] = (m) => l("action-toggled"))
4957
+ onActionToggled: f[0] || (f[0] = (b) => l("action-toggled"))
4935
4958
  }, {
4936
- action: L(() => [
4937
- E(r.$slots, "action")
4959
+ action: D(() => [
4960
+ L(r.$slots, "action")
4938
4961
  ]),
4939
- misc: L(() => [
4940
- E(r.$slots, "misc")
4962
+ misc: D(() => [
4963
+ L(r.$slots, "misc")
4941
4964
  ]),
4942
4965
  _: 3
4943
4966
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -4971,7 +4994,7 @@ function Dt(e) {
4971
4994
  getStatus: l
4972
4995
  };
4973
4996
  }
4974
- const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], oi = {
4997
+ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], ii = {
4975
4998
  __name: "BsProgressBar",
4976
4999
  props: {
4977
5000
  /** @type {Status} */
@@ -5000,25 +5023,26 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5000
5023
  },
5001
5024
  setup(e) {
5002
5025
  const a = e, { progressStep: t, progressText: l, getStatus: n } = Dt(a);
5003
- return (i, d) => (u(), v("div", {
5026
+ return (i, d) => (u(), h("div", {
5004
5027
  "aria-valuemax": e.steps.length,
5005
5028
  "aria-valuenow": c(t),
5006
5029
  "aria-valuetext": c(l),
5007
5030
  class: "bs-progress-bar",
5031
+ "data-component": "bs-progress-bar",
5008
5032
  role: "progressbar"
5009
5033
  }, [
5010
- (u(!0), v(G, null, ee(e.steps, (o, s) => (u(), v("div", {
5034
+ (u(!0), h(G, null, ee(e.steps, (o, s) => (u(), h("div", {
5011
5035
  class: "bs-step-item",
5012
5036
  "data-status": c(n)(o.status, s),
5013
5037
  "data-variant": "progress",
5014
5038
  key: o.id || o.label,
5015
5039
  role: "status"
5016
5040
  }, [
5017
- $("span", null, T(o.label || o) + " : " + T(c(n)(o.status, s) || "not started"), 1)
5041
+ S("span", null, V(o.label || o) + " : " + V(c(n)(o.status, s) || "not started"), 1)
5018
5042
  ], 8, Kl))), 128))
5019
5043
  ], 8, Hl));
5020
5044
  }
5021
- }, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], ii = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5045
+ }, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], ri = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5022
5046
  __name: "BsRadio",
5023
5047
  props: {
5024
5048
  label: {
@@ -5063,14 +5087,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5063
5087
  emits: ["update:modelValue"],
5064
5088
  setup(e, { emit: a }) {
5065
5089
  const t = e, [l] = Z(), n = p(() => et.concat(t.passAttrs.split(","))), i = p(() => t.inputId || l.value), d = p(() => t.checked || t.modelValue && t.modelValue === t.value);
5066
- return (o, s) => (u(), v("div", z({
5090
+ return (o, s) => (u(), h("div", z({
5067
5091
  class: "bs-boolean",
5068
5092
  "data-component": "bs-radio",
5069
5093
  "data-disabled": e.disabled,
5070
5094
  "data-error": e.error,
5071
5095
  "data-size": e.size
5072
5096
  }, c(Y)(o.$attrs, n.value).remaining), [
5073
- $("input", z({
5097
+ S("input", z({
5074
5098
  checked: d.value,
5075
5099
  disabled: e.disabled,
5076
5100
  id: o.$attrs.id || i.value,
@@ -5081,15 +5105,15 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5081
5105
  }, c(Y)(o.$attrs, n.value).filtered, {
5082
5106
  onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
5083
5107
  }), null, 16, Zl),
5084
- e.label || o.$slots.label ? (u(), A(ae, {
5108
+ e.label || o.$slots.label ? (u(), O(ae, {
5085
5109
  key: 0,
5086
5110
  for: o.$attrs.id || i.value,
5087
5111
  disabled: e.disabled,
5088
5112
  required: e.required
5089
5113
  }, {
5090
- default: L(() => [
5091
- E(o.$slots, "label", {}, () => [
5092
- U(T(e.label), 1)
5114
+ default: D(() => [
5115
+ L(o.$slots, "label", {}, () => [
5116
+ U(V(e.label), 1)
5093
5117
  ])
5094
5118
  ]),
5095
5119
  _: 3
@@ -5110,7 +5134,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5110
5134
  emits: ["update:modelValue"],
5111
5135
  setup(e, { emit: a }) {
5112
5136
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5113
- return (n, i) => (u(), v("select", z({
5137
+ return (n, i) => (u(), h("select", z({
5114
5138
  id: n.$attrs.id || e.inputId,
5115
5139
  class: "bs-select",
5116
5140
  "data-component": "bs-select",
@@ -5121,10 +5145,10 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5121
5145
  }, l.value, {
5122
5146
  onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5123
5147
  }), [
5124
- E(n.$slots, "default")
5148
+ L(n.$slots, "default")
5125
5149
  ], 16, Xl));
5126
5150
  }
5127
- }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], ri = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5151
+ }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], si = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5128
5152
  __name: "BsSelectField",
5129
5153
  props: {
5130
5154
  data: {
@@ -5173,45 +5197,45 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5173
5197
  return ((f = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
5174
5198
  `)) || a.hints;
5175
5199
  }), d = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), s = p(() => a.value || a.modelValue);
5176
- return (r, f) => (u(), v("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5177
- e.label || r.$slots.label ? (u(), A(ae, {
5200
+ return (r, f) => (u(), h("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5201
+ e.label || r.$slots.label ? (u(), O(ae, {
5178
5202
  key: 0,
5179
5203
  for: r.$attrs.id || o.value,
5180
5204
  disabled: e.disabled,
5181
5205
  required: e.required
5182
5206
  }, {
5183
- default: L(() => [
5184
- E(r.$slots, "label", {}, () => [
5185
- U(T(e.label), 1)
5207
+ default: D(() => [
5208
+ L(r.$slots, "label", {}, () => [
5209
+ U(V(e.label), 1)
5186
5210
  ])
5187
5211
  ]),
5188
5212
  _: 3
5189
5213
  }, 8, ["for", "disabled", "required"])) : C("", !0),
5190
- D(Ql, z({
5214
+ P(Ql, z({
5191
5215
  disabled: e.disabled,
5192
5216
  error: e.error,
5193
5217
  "hint-id": c(l),
5194
5218
  "input-id": r.$attrs.id || o.value,
5195
5219
  required: e.required,
5196
5220
  value: s.value,
5197
- "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
5221
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => r.$emit("update:modelValue", b))
5198
5222
  }, c(Y)(r.$attrs, n.value).filtered), {
5199
- default: L(() => [
5200
- $("option", {
5223
+ default: D(() => [
5224
+ S("option", {
5201
5225
  selected: !s.value,
5202
5226
  value: "",
5203
5227
  disabled: !!s.value
5204
- }, T(e.disabled ? "" : e.placeholder), 9, Jl),
5205
- (u(!0), v(G, null, ee(e.data, (m) => (u(), v("option", {
5206
- key: m.value,
5207
- disabled: m.disabled,
5208
- selected: s.value === m.value,
5209
- value: m.value
5210
- }, T(m.label), 9, _l))), 128))
5228
+ }, V(e.disabled ? "" : e.placeholder), 9, Jl),
5229
+ (u(!0), h(G, null, ee(e.data, (b) => (u(), h("option", {
5230
+ key: b.value,
5231
+ disabled: b.disabled,
5232
+ selected: s.value === b.value,
5233
+ value: b.value
5234
+ }, V(b.label), 9, _l))), 128))
5211
5235
  ]),
5212
5236
  _: 1
5213
5237
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
5214
- d.value ? (u(), A(ge, {
5238
+ d.value ? (u(), O(ge, {
5215
5239
  key: 1,
5216
5240
  "data-disabled": e.disabled,
5217
5241
  error: e.error,
@@ -5221,7 +5245,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5221
5245
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5222
5246
  ], 16));
5223
5247
  }
5224
- }), eo = ["id", "name", "value"], to = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], si = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5248
+ }), eo = ["id", "name", "value"], to = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], di = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5225
5249
  __name: "BsSelectWithDropdown",
5226
5250
  props: {
5227
5251
  breakout: {
@@ -5297,35 +5321,35 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5297
5321
  },
5298
5322
  emits: ["update:model-value"],
5299
5323
  setup(e, { emit: a }) {
5300
- const t = e, l = a, [n, i] = Z(2), d = re(), o = k(!1), s = p(() => t.selectId || d.id || n.value), r = p(() => t.optionsId || i.value), f = p(() => {
5324
+ const t = e, l = a, [n, i] = Z(2), d = re(), o = I(!1), s = p(() => t.selectId || d.id || n.value), r = p(() => t.optionsId || i.value), f = p(() => {
5301
5325
  if (t.modelValue) {
5302
- const b = t.options.find((g) => g.value === t.modelValue);
5303
- return b ? b.label : t.placeholder;
5326
+ const v = t.options.find((g) => g.value === t.modelValue);
5327
+ return v ? v.label : t.placeholder;
5304
5328
  }
5305
5329
  return t.placeholder;
5306
- }), m = p(() => f.value === t.placeholder);
5307
- return (b, g) => (u(), v("div", null, [
5308
- e.label || b.$slots.label ? (u(), A(ae, {
5330
+ }), b = p(() => f.value === t.placeholder);
5331
+ return (v, g) => (u(), h("div", null, [
5332
+ e.label || v.$slots.label ? (u(), O(ae, {
5309
5333
  key: 0,
5310
5334
  disabled: e.disabled,
5311
5335
  for: s.value,
5312
5336
  required: e.required
5313
5337
  }, {
5314
- default: L(() => [
5315
- E(b.$slots, "label", {}, () => [
5316
- U(T(e.label), 1)
5338
+ default: D(() => [
5339
+ L(v.$slots, "label", {}, () => [
5340
+ U(V(e.label), 1)
5317
5341
  ])
5318
5342
  ]),
5319
5343
  _: 3
5320
5344
  }, 8, ["disabled", "for", "required"])) : C("", !0),
5321
- e.inputName || e.inputId ? (u(), v("input", {
5345
+ e.inputName || e.inputId ? (u(), h("input", {
5322
5346
  key: 1,
5323
5347
  id: e.inputId,
5324
5348
  name: e.inputName,
5325
5349
  type: "hidden",
5326
5350
  value: e.modelValue
5327
5351
  }, null, 8, eo)) : C("", !0),
5328
- D(Vt, {
5352
+ P(Vt, {
5329
5353
  "anchor-id": s.value,
5330
5354
  breakout: e.breakout,
5331
5355
  "dropdown-position": e.dropdownPosition,
@@ -5338,11 +5362,11 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5338
5362
  options: e.options,
5339
5363
  "selected-option": e.modelValue,
5340
5364
  "toggle-id": s.value,
5341
- onClose: g[1] || (g[1] = (S) => o.value = !1),
5342
- "onUpdate:selectedOption": g[2] || (g[2] = (S) => l("update:model-value", S))
5365
+ onClose: g[1] || (g[1] = (y) => o.value = !1),
5366
+ "onUpdate:selectedOption": g[2] || (g[2] = (y) => l("update:model-value", y))
5343
5367
  }, {
5344
- toggle: L(() => [
5345
- $("button", z({
5368
+ toggle: D(() => [
5369
+ S("button", z({
5346
5370
  "aria-controls": r.value,
5347
5371
  "aria-describedby": e.hintId,
5348
5372
  "aria-expanded": o.value,
@@ -5350,20 +5374,20 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5350
5374
  "aria-invalid": e.error,
5351
5375
  "aria-label": `${o.value ? "Close" : "Open"} Combobox`,
5352
5376
  class: "bs-select",
5353
- "data-cy": m.value ? "ignore" : void 0,
5377
+ "data-cy": b.value ? "ignore" : void 0,
5354
5378
  "data-disabled": e.disabled,
5355
5379
  "data-error": e.error,
5356
5380
  "data-open": o.value,
5357
- "data-placeholder": m.value,
5381
+ "data-placeholder": b.value,
5358
5382
  "data-required": e.required,
5359
5383
  disabled: e.disabled,
5360
5384
  id: s.value,
5361
5385
  role: "combobox"
5362
- }, b.$attrs, {
5363
- onClick: g[0] || (g[0] = St((S) => o.value = !o.value, ["prevent"]))
5386
+ }, v.$attrs, {
5387
+ onClick: g[0] || (g[0] = St((y) => o.value = !o.value, ["prevent"]))
5364
5388
  }), [
5365
- $("span", null, T(f.value), 1),
5366
- e.disabled ? C("", !0) : (u(), A(c(Me), {
5389
+ S("span", null, V(f.value), 1),
5390
+ e.disabled ? C("", !0) : (u(), O(c(Me), {
5367
5391
  key: 0,
5368
5392
  size: "md"
5369
5393
  }))
@@ -5373,7 +5397,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5373
5397
  }, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id"])
5374
5398
  ]));
5375
5399
  }
5376
- }), ao = ["data-disabled", "data-size"], no = ["data-disabled", "data-pending", "data-size"], lo = ["checked", "disabled", "id"], oo = ["data-inner-on-label", "data-inner-off-label"], di = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5400
+ }), ao = ["data-disabled", "data-size"], no = ["data-disabled", "data-pending", "data-size"], lo = ["checked", "disabled", "id"], oo = ["data-inner-on-label", "data-inner-off-label"], ui = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5377
5401
  __name: "BsSwitch",
5378
5402
  props: {
5379
5403
  checked: {
@@ -5420,32 +5444,32 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5420
5444
  emits: ["update:modelValue"],
5421
5445
  setup(e, { emit: a }) {
5422
5446
  const t = e, l = a, [n] = Z(), i = p(() => et.concat(t.passAttrs.split(","))), d = p(() => t.inputId || n.value), o = p(() => t.checked || t.modelValue);
5423
- return (s, r) => (u(), v("div", z({
5447
+ return (s, r) => (u(), h("div", z({
5424
5448
  class: "bs-boolean",
5425
5449
  "data-component": "bs-switch",
5426
5450
  "data-disabled": e.disabled,
5427
5451
  "data-size": e.size
5428
5452
  }, c(Y)(s.$attrs, i.value).remaining), [
5429
- e.label || s.$slots.label ? (u(), A(ae, {
5453
+ e.label || s.$slots.label ? (u(), O(ae, {
5430
5454
  key: 0,
5431
5455
  for: s.$attrs.id || d.value,
5432
5456
  disabled: e.disabled,
5433
5457
  hide: e.hideLabel
5434
5458
  }, {
5435
- default: L(() => [
5436
- E(s.$slots, "label", {}, () => [
5437
- U(T(e.label), 1)
5459
+ default: D(() => [
5460
+ L(s.$slots, "label", {}, () => [
5461
+ U(V(e.label), 1)
5438
5462
  ])
5439
5463
  ]),
5440
5464
  _: 3
5441
5465
  }, 8, ["for", "disabled", "hide"])) : C("", !0),
5442
- $("div", {
5466
+ S("div", {
5443
5467
  class: "bs-switch",
5444
5468
  "data-disabled": e.disabled,
5445
5469
  "data-pending": e.pending,
5446
5470
  "data-size": e.size
5447
5471
  }, [
5448
- $("input", z({
5472
+ S("input", z({
5449
5473
  checked: o.value,
5450
5474
  disabled: e.disabled,
5451
5475
  id: s.$attrs.id || d.value,
@@ -5453,7 +5477,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5453
5477
  }, c(Y)(s.$attrs, i.value).filtered, {
5454
5478
  onChange: r[0] || (r[0] = (f) => l("update:modelValue", f.target.checked))
5455
5479
  }), null, 16, lo),
5456
- $("span", {
5480
+ S("span", {
5457
5481
  "aria-hidden": "true",
5458
5482
  "data-inner-on-label": e.innerOnLabel,
5459
5483
  "data-inner-off-label": e.innerOffLabel
@@ -5461,7 +5485,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5461
5485
  ], 8, no)
5462
5486
  ], 16, ao));
5463
5487
  }
5464
- }), io = ["aria-controls", "aria-selected", "data-hidden"], ui = {
5488
+ }), io = ["aria-controls", "aria-selected", "data-hidden"], ci = {
5465
5489
  __name: "BsTab",
5466
5490
  props: {
5467
5491
  activeTabId: {
@@ -5478,7 +5502,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5478
5502
  },
5479
5503
  emits: ["tabClick"],
5480
5504
  setup(e, { emit: a }) {
5481
- const t = e, l = re(), n = k(), i = p(() => t.activeTabId === l.id), d = p(() => t.panelId || `${l.id}-panel`);
5505
+ const t = e, l = re(), n = I(), i = p(() => t.activeTabId === l.id), d = p(() => t.panelId || `${l.id}-panel`);
5482
5506
  function o(r) {
5483
5507
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
5484
5508
  }
@@ -5488,7 +5512,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5488
5512
  n.value.dispatchEvent(r);
5489
5513
  }
5490
5514
  }
5491
- return (r, f) => (u(), v("div", {
5515
+ return (r, f) => (u(), h("div", {
5492
5516
  "aria-controls": d.value,
5493
5517
  "aria-selected": i.value ? "true" : "false",
5494
5518
  "data-hidden": e.hidden || void 0,
@@ -5500,10 +5524,10 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5500
5524
  onClick: s,
5501
5525
  onKeydown: o
5502
5526
  }, [
5503
- E(r.$slots, "default")
5527
+ L(r.$slots, "default")
5504
5528
  ], 40, io));
5505
5529
  }
5506
- }, ro = ["id", "data-resizing"], so = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], uo = 73, co = 20, Ue = 16, ci = {
5530
+ }, ro = ["id", "data-resizing"], so = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], uo = 73, co = 20, Ue = 16, fi = {
5507
5531
  __name: "BsTabList",
5508
5532
  props: {
5509
5533
  activeTabId: { type: String, required: !0 },
@@ -5514,128 +5538,128 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5514
5538
  },
5515
5539
  emits: ["tabChange", "update:modelValue"],
5516
5540
  setup(e, { emit: a }) {
5517
- const t = e, l = a, n = k(!1), i = k(!1), d = k([]), o = k(!1), s = k(!1), r = k(), f = k([]), m = k(!1), b = k([]), g = k(), S = k([]), I = k(), h = k(), [B, w] = Z(2), y = p(() => t.activeTabId ? b.value.findIndex((x) => x.id === t.activeTabId) : 0), M = p(() => d.value.some((x) => x.id === t.activeTabId)), V = p(() => `${w.value}-options`), q = p(() => `${w.value}-toggle`), R = p(() => {
5518
- var x;
5519
- return M.value ? (x = b.value[y.value]) == null ? void 0 : x.textContent : "More";
5520
- }), _ = p(() => M.value ? f.value[y.value] - f.value[y.value - 1] + co + Ue : uo + Ue);
5541
+ const t = e, l = a, n = I(!1), i = I(!1), d = I([]), o = I(!1), s = I(!1), r = I(), f = I([]), b = I(!1), v = I([]), g = I(), y = I([]), B = I(), m = I(), [w, k] = Z(2), $ = p(() => t.activeTabId ? v.value.findIndex((T) => T.id === t.activeTabId) : 0), A = p(() => d.value.some((T) => T.id === t.activeTabId)), x = p(() => `${k.value}-options`), q = p(() => `${k.value}-toggle`), F = p(() => {
5542
+ var T;
5543
+ return A.value ? (T = v.value[$.value]) == null ? void 0 : T.textContent : "More";
5544
+ }), _ = p(() => A.value ? f.value[$.value] - f.value[$.value - 1] + co + Ue : uo + Ue);
5521
5545
  function J() {
5522
5546
  var de;
5523
- let x = !1, N, W = 0, Q = !1, le = [];
5524
- if ((de = b.value) != null && de.length) {
5525
- for (let oe = 0; oe < b.value.length; oe++) {
5526
- if (N = b.value[oe], N.setAttribute("tabindex", "-1"), Q && oe !== y.value) {
5547
+ let T = !1, N, W = 0, Q = !1, le = [];
5548
+ if ((de = v.value) != null && de.length) {
5549
+ for (let oe = 0; oe < v.value.length; oe++) {
5550
+ if (N = v.value[oe], N.setAttribute("tabindex", "-1"), Q && oe !== $.value) {
5527
5551
  N.dataset.hidden = "true", le.push(N);
5528
5552
  continue;
5529
5553
  }
5530
- if (W = oe < b.value.length - 1 ? h.value - _.value : h.value, f.value[oe] > W) {
5531
- N.dataset.hidden = "true", le.push(N), x = !0, Q = !0;
5554
+ if (W = oe < v.value.length - 1 ? m.value - _.value : m.value, f.value[oe] > W) {
5555
+ N.dataset.hidden = "true", le.push(N), T = !0, Q = !0;
5532
5556
  continue;
5533
5557
  }
5534
5558
  N.dataset.hidden = "false", N.setAttribute("tabindex", "0");
5535
5559
  }
5536
- s.value = x, d.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
5537
- Pt(), P(), m.value = !0;
5538
- }, m.value ? 25 : 1e3);
5560
+ s.value = T, d.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
5561
+ qt(), M(), b.value = !0;
5562
+ }, b.value ? 25 : 1e3);
5539
5563
  }
5540
5564
  }
5541
- function ne(x) {
5542
- l("tabChange", x), l("update:modelValue", x);
5565
+ function ne(T) {
5566
+ l("tabChange", T), l("update:modelValue", T);
5543
5567
  }
5544
- function me(x) {
5568
+ function be(T) {
5545
5569
  var Q, le, de;
5546
- const N = (de = (le = (Q = b.value[x]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : de.width;
5547
- return N || (x === 0 ? f.value[0] : f.value[x] - f.value[x - 1]) || 0;
5570
+ const N = (de = (le = (Q = v.value[T]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : de.width;
5571
+ return N || (T === 0 ? f.value[0] : f.value[T] - f.value[T - 1]) || 0;
5548
5572
  }
5549
5573
  function ye() {
5550
- var x;
5551
- (x = b.value[y.value]) == null || x.setAttribute("aria-selected", "true"), J();
5574
+ var T;
5575
+ (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true"), J();
5552
5576
  }
5553
5577
  function ke() {
5554
- var x;
5555
- (x = g.value) == null || x.focus(), o.value = !1;
5578
+ var T;
5579
+ (T = g.value) == null || T.focus(), o.value = !1;
5556
5580
  }
5557
5581
  function Ce() {
5558
5582
  o.value = !o.value, i.value || (i.value = !0);
5559
5583
  }
5560
- function se(x) {
5584
+ function se(T) {
5561
5585
  var N;
5562
- o.value = !1, (N = g.value) == null || N.focus(), ne(x);
5586
+ o.value = !1, (N = g.value) == null || N.focus(), ne(T);
5563
5587
  }
5564
- function xe(x) {
5588
+ function xe(T) {
5565
5589
  if (t.withBsTabs)
5566
5590
  return;
5567
- const N = x.target.closest('[role="tab"]');
5591
+ const N = T.target.closest('[role="tab"]');
5568
5592
  if (!N || N.getAttribute("aria-selected") === "true")
5569
5593
  return;
5570
5594
  const W = N.getAttribute("id");
5571
5595
  ne(W);
5572
5596
  }
5573
- function Se(x) {
5574
- if (x.key === "ArrowLeft" || x.key === "ArrowRight") {
5575
- const N = S.value.findIndex((W) => W.id === x.target.id);
5597
+ function Se(T) {
5598
+ if (T.key === "ArrowLeft" || T.key === "ArrowRight") {
5599
+ const N = y.value.findIndex((W) => W.id === T.target.id);
5576
5600
  if (N === -1)
5577
5601
  return;
5578
- x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? F(N) : O(N);
5602
+ T.preventDefault(), T.stopPropagation(), T.key === "ArrowLeft" ? R(N) : E(N);
5579
5603
  }
5580
5604
  }
5581
- function O(x) {
5605
+ function E(T) {
5582
5606
  var W;
5583
- const N = (x + 1) % S.value.length;
5584
- (W = S.value[N]) == null || W.focus();
5607
+ const N = (T + 1) % y.value.length;
5608
+ (W = y.value[N]) == null || W.focus();
5585
5609
  }
5586
- function F(x) {
5610
+ function R(T) {
5587
5611
  var W;
5588
- const N = x === 0 ? S.value.length - 1 : x - 1;
5589
- (W = S.value[N]) == null || W.focus();
5612
+ const N = T === 0 ? y.value.length - 1 : T - 1;
5613
+ (W = y.value[N]) == null || W.focus();
5590
5614
  }
5591
- function P() {
5615
+ function M() {
5592
5616
  var de, oe, it, rt;
5593
- const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = h.value;
5594
- let W = 300, Q = ((oe = (de = S.value) == null ? void 0 : de[y.value]) == null ? void 0 : oe.offsetLeft) || 0, le = me(y.value);
5595
- s.value && M.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), W = Math.max(Math.abs((Q - x) / 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", `${W}ms`);
5617
+ const T = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = m.value;
5618
+ let W = 300, Q = ((oe = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : oe.offsetLeft) || 0, le = be($.value);
5619
+ s.value && A.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), W = 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", `${W}ms`);
5596
5620
  }
5597
5621
  function K() {
5598
- var x, N;
5599
- (N = (x = I.value) == null ? void 0 : x.disconnect) == null || N.call(x), I.value = null;
5622
+ var T, N;
5623
+ (N = (T = B.value) == null ? void 0 : T.disconnect) == null || N.call(T), B.value = null;
5600
5624
  }
5601
5625
  function X() {
5602
- const x = Oe(() => {
5603
- h.value = r.value.clientWidth, J();
5626
+ const T = Oe(() => {
5627
+ m.value = r.value.clientWidth, J();
5604
5628
  }, 25);
5605
- I.value = new ResizeObserver(x), I.value.observe(document.body);
5629
+ B.value = new ResizeObserver(T), B.value.observe(document.body);
5606
5630
  }
5607
5631
  function Te() {
5608
- b.value = Array.from(r.value.children).filter((x) => x.role === "tab");
5632
+ v.value = Array.from(r.value.children).filter((T) => T.role === "tab");
5609
5633
  }
5610
- function qt() {
5611
- let x;
5612
- b.value.forEach((N, W) => {
5613
- x = N.getBoundingClientRect().width + Ue, f.value.push(W ? x + f.value[W - 1] : x);
5634
+ function Pt() {
5635
+ let T;
5636
+ v.value.forEach((N, W) => {
5637
+ T = N.getBoundingClientRect().width + Ue, f.value.push(W ? T + f.value[W - 1] : T);
5614
5638
  });
5615
5639
  }
5616
- function Pt() {
5640
+ function qt() {
5617
5641
  var N, W;
5618
- let x = [];
5642
+ let T = [];
5619
5643
  if (typeof window > "u")
5620
- return x;
5621
- for (let Q of b.value) {
5644
+ return T;
5645
+ for (let Q of v.value) {
5622
5646
  if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((W = Q.dataset) == null ? void 0 : W.hidden) === "" || Q.getAttribute("tabindex") === "-1")
5623
5647
  break;
5624
- x.push(Q);
5648
+ T.push(Q);
5625
5649
  }
5626
- s.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), S.value = x;
5650
+ s.value && T.push(r.value.querySelector(".bs-tab-list-toggle")), y.value = T;
5627
5651
  }
5628
5652
  return j(() => t.activeTabId, ye), H(() => {
5629
- var x;
5653
+ var T;
5630
5654
  try {
5631
- Te(), qt(), X(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (x = b.value[y.value]) == null || x.setAttribute("aria-selected", "true");
5655
+ Te(), Pt(), X(), m.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true");
5632
5656
  } catch (N) {
5633
5657
  console.log("tab error", N);
5634
5658
  }
5635
- }), $e(K), (x, N) => (u(), v("div", {
5659
+ }), $e(K), (T, N) => (u(), h("div", {
5636
5660
  class: "bs-tab-list",
5637
5661
  "data-component": "bs-tab-list",
5638
- id: x.$attrs.id || c(B),
5662
+ id: T.$attrs.id || c(w),
5639
5663
  ref_key: "hostEl",
5640
5664
  ref: r,
5641
5665
  role: "tablist",
@@ -5644,29 +5668,29 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5644
5668
  "on:tabClick": N[0] || (N[0] = (W) => ne(W.detail)),
5645
5669
  onKeydown: Se
5646
5670
  }, [
5647
- E(x.$slots, "default"),
5648
- $("button", {
5649
- "aria-controls": c(w),
5671
+ L(T.$slots, "default"),
5672
+ S("button", {
5673
+ "aria-controls": c(k),
5650
5674
  "aria-expanded": o.value,
5651
5675
  class: "bs-tab-list-toggle",
5652
- "data-active": M.value || void 0,
5676
+ "data-active": A.value || void 0,
5653
5677
  "data-hidden": !s.value,
5654
5678
  id: q.value,
5655
5679
  ref_key: "dropdownToggle",
5656
5680
  ref: g,
5657
5681
  onClick: Ce
5658
5682
  }, [
5659
- D(c(Ht), { size: "sm" }),
5660
- U(" " + T(R.value), 1)
5683
+ P(c(Ht), { size: "sm" }),
5684
+ U(" " + V(F.value), 1)
5661
5685
  ], 8, so),
5662
- D(Lt, {
5686
+ P(Lt, {
5663
5687
  "anchor-id": q.value,
5664
5688
  breakout: "",
5665
- "container-id": x.$attrs.id || c(B),
5689
+ "container-id": T.$attrs.id || c(w),
5666
5690
  "helper-description": e.helperDescription || void 0,
5667
5691
  "helper-text": e.helperText,
5668
- id: c(w),
5669
- "options-id": V.value,
5692
+ id: c(k),
5693
+ "options-id": x.value,
5670
5694
  position: "right",
5671
5695
  preloaded: "",
5672
5696
  shown: o.value,
@@ -5674,14 +5698,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5674
5698
  onClose: ke,
5675
5699
  "onUpdate:modelValue": se
5676
5700
  }, {
5677
- default: L(() => [
5678
- (u(!0), v(G, null, ee(d.value, (W) => (u(), A(ot, {
5701
+ default: D(() => [
5702
+ (u(!0), h(G, null, ee(d.value, (W) => (u(), O(ot, {
5679
5703
  key: W.id,
5680
5704
  value: W.id,
5681
- "options-id": V.value
5705
+ "options-id": x.value
5682
5706
  }, {
5683
- default: L(() => [
5684
- U(T(W.textContent), 1)
5707
+ default: D(() => [
5708
+ U(V(W.textContent), 1)
5685
5709
  ]),
5686
5710
  _: 2
5687
5711
  }, 1032, ["value", "options-id"]))), 128))
@@ -5690,7 +5714,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5690
5714
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
5691
5715
  ], 40, ro));
5692
5716
  }
5693
- }, fo = ["aria-labelledby", "data-active", "id"], fi = {
5717
+ }, fo = ["aria-labelledby", "data-active", "id"], pi = {
5694
5718
  __name: "BsTabPanel",
5695
5719
  props: {
5696
5720
  activeTabId: {
@@ -5704,17 +5728,17 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5704
5728
  },
5705
5729
  setup(e) {
5706
5730
  const a = e, t = re(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
5707
- return (i, d) => (u(), v("section", {
5731
+ return (i, d) => (u(), h("section", {
5708
5732
  "aria-labelledby": e.tabId,
5709
5733
  "data-active": l.value,
5710
5734
  "data-component": "bs-tab-panel",
5711
5735
  id: n.value,
5712
5736
  role: "tabpanel"
5713
5737
  }, [
5714
- E(i.$slots, "default")
5738
+ L(i.$slots, "default")
5715
5739
  ], 8, fo));
5716
5740
  }
5717
- }, po = ["data-error", "id", "rows", "value"], ho = {
5741
+ }, po = ["data-error", "id", "rows", "value"], mo = {
5718
5742
  __name: "BsTextarea",
5719
5743
  props: {
5720
5744
  error: {
@@ -5730,7 +5754,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5730
5754
  emits: ["update:modelValue"],
5731
5755
  setup(e, { emit: a }) {
5732
5756
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5733
- return (n, i) => (u(), v("textarea", z({
5757
+ return (n, i) => (u(), h("textarea", z({
5734
5758
  class: "bs-textarea",
5735
5759
  "data-component": "bs-textarea",
5736
5760
  "data-error": e.error,
@@ -5740,7 +5764,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5740
5764
  onInput: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5741
5765
  }, l.value), null, 16, po));
5742
5766
  }
5743
- }, pi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5767
+ }, mi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5744
5768
  __name: "BsTextareaField",
5745
5769
  props: {
5746
5770
  /** 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. */
@@ -5789,29 +5813,29 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5789
5813
  },
5790
5814
  emits: ["update:modelValue"],
5791
5815
  setup(e, { emit: a }) {
5792
- const t = e, [l, n] = Z(2), i = p(() => Ra.concat(t.passAttrs.split(","))), d = p(() => {
5816
+ const t = e, [l, n] = Z(2), i = p(() => Fa.concat(t.passAttrs.split(","))), d = p(() => {
5793
5817
  var f;
5794
5818
  return ((f = t.value || t.modelValue) == null ? void 0 : f.length) || 0;
5795
5819
  }), o = p(() => {
5796
- var f, m;
5797
- return ((m = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : m.call(f, `
5820
+ var f, b;
5821
+ return ((b = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : b.call(f, `
5798
5822
  `)) || t.hints;
5799
5823
  }), s = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
5800
- return (f, m) => (u(), v("div", z({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
5801
- e.label || f.$slots.label ? (u(), A(ae, {
5824
+ return (f, b) => (u(), h("div", z({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
5825
+ e.label || f.$slots.label ? (u(), O(ae, {
5802
5826
  key: 0,
5803
5827
  for: f.$attrs.id || r.value,
5804
5828
  disabled: e.disabled,
5805
5829
  required: e.required
5806
5830
  }, {
5807
- default: L(() => [
5808
- E(f.$slots, "label", {}, () => [
5809
- U(T(e.label), 1)
5831
+ default: D(() => [
5832
+ L(f.$slots, "label", {}, () => [
5833
+ U(V(e.label), 1)
5810
5834
  ])
5811
5835
  ]),
5812
5836
  _: 3
5813
5837
  }, 8, ["for", "disabled", "required"])) : C("", !0),
5814
- D(ho, z({
5838
+ P(mo, z({
5815
5839
  disabled: e.disabled,
5816
5840
  error: e.error,
5817
5841
  "hint-id": c(n),
@@ -5820,9 +5844,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5820
5844
  required: e.required,
5821
5845
  rows: e.rows,
5822
5846
  value: e.value || e.modelValue,
5823
- "onUpdate:modelValue": m[0] || (m[0] = (b) => f.$emit("update:modelValue", b))
5847
+ "onUpdate:modelValue": b[0] || (b[0] = (v) => f.$emit("update:modelValue", v))
5824
5848
  }, c(Y)(f.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5825
- s.value || e.charMax ? (u(), A(ge, {
5849
+ s.value || e.charMax ? (u(), O(ge, {
5826
5850
  key: 1,
5827
5851
  "char-count": d.value,
5828
5852
  "char-max": e.charMax,
@@ -5835,15 +5859,15 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5835
5859
  ], 16));
5836
5860
  }
5837
5861
  });
5838
- function vo(e) {
5862
+ function ho(e) {
5839
5863
  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);
5840
5864
  return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
5841
5865
  }
5842
5866
  const we = (e) => parseInt(e, 10);
5843
- function mo(e = "") {
5867
+ function bo(e = "") {
5844
5868
  const a = /[^0-9:apmAPM]/g;
5845
5869
  let t, l;
5846
- switch (e = e.replaceAll(a, "").toLowerCase(), vo(e)) {
5870
+ switch (e = e.replaceAll(a, "").toLowerCase(), ho(e)) {
5847
5871
  case "uFmt":
5848
5872
  case "uFmtNoColon":
5849
5873
  l = we(e.slice(-2)), t = we(e.slice(0, -2));
@@ -5859,18 +5883,18 @@ function mo(e = "") {
5859
5883
  minutes: l
5860
5884
  };
5861
5885
  }
5862
- function be(e = "") {
5886
+ function ve(e = "") {
5863
5887
  const a = /[^0-9:]/g;
5864
5888
  if (e = e.replaceAll(a, ""), !e)
5865
5889
  return "";
5866
5890
  const [t, l] = e.split(":"), n = we(t), i = we(l), d = n < 12 ? "AM" : "PM";
5867
5891
  return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${d}`;
5868
5892
  }
5869
- function bo(e = "") {
5870
- const { hours: a, minutes: t } = mo(e);
5893
+ function vo(e = "") {
5894
+ const { hours: a, minutes: t } = bo(e);
5871
5895
  return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
5872
5896
  }
5873
- const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5897
+ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5874
5898
  __name: "BsTimePicker",
5875
5899
  props: {
5876
5900
  disabled: {
@@ -5935,84 +5959,84 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
5935
5959
  },
5936
5960
  emits: ["update:modelValue"],
5937
5961
  setup(e, { expose: a, emit: t }) {
5938
- const l = e, n = t, i = k(be(l.modelValue)), d = k([]), o = k(""), s = k(!1);
5962
+ const l = e, n = t, i = I(ve(l.modelValue)), d = I([]), o = I(""), s = I(!1);
5939
5963
  function r() {
5940
- const B = [];
5941
- let w = !1;
5942
- for (let y = 0; y < 24 && !w; y++)
5943
- for (let M = 0; M < 60; M += l.step) {
5944
- const V = b(y, M), q = m(V);
5945
- if (q !== mt) {
5946
- if (q === bt) {
5947
- w = !0;
5964
+ const w = [];
5965
+ let k = !1;
5966
+ for (let $ = 0; $ < 24 && !k; $++)
5967
+ for (let A = 0; A < 60; A += l.step) {
5968
+ const x = v($, A), q = b(x);
5969
+ if (q !== bt) {
5970
+ if (q === vt) {
5971
+ k = !0;
5948
5972
  break;
5949
5973
  }
5950
- B.push({
5951
- label: be(V),
5952
- value: V
5974
+ w.push({
5975
+ label: ve(x),
5976
+ value: x
5953
5977
  });
5954
5978
  }
5955
5979
  }
5956
- return B;
5980
+ return w;
5957
5981
  }
5958
- function f(B) {
5959
- return B ? l.minTime && B < l.minTime ? Ke : l.maxTime && B > l.maxTime ? He : l.disabledTimes.includes(B) ? Ge : "" : "";
5982
+ function f(w) {
5983
+ return w ? l.minTime && w < l.minTime ? Ke : l.maxTime && w > l.maxTime ? He : l.disabledTimes.includes(w) ? Ge : "" : "";
5960
5984
  }
5961
- function m(B) {
5962
- switch (f(B)) {
5985
+ function b(w) {
5986
+ switch (f(w)) {
5963
5987
  case He:
5964
- return bt;
5988
+ return vt;
5965
5989
  case Ke:
5966
5990
  case Ge:
5967
- return mt;
5991
+ return bt;
5968
5992
  default:
5969
5993
  return "";
5970
5994
  }
5971
5995
  }
5972
- function b(B, w) {
5973
- return B = B.toString().padStart(2, "0"), w = w.toString().padStart(2, "0"), `${B}:${w}`;
5996
+ function v(w, k) {
5997
+ return w = w.toString().padStart(2, "0"), k = k.toString().padStart(2, "0"), `${w}:${k}`;
5974
5998
  }
5975
- function g(B) {
5976
- const w = bo(B);
5977
- w === l.modelValue && (i.value = be(l.modelValue)), I(w);
5999
+ function g(w) {
6000
+ const k = vo(w);
6001
+ k === l.modelValue && (i.value = ve(l.modelValue)), B(k);
5978
6002
  }
5979
- function S() {
6003
+ function y() {
5980
6004
  d.value = r();
5981
6005
  }
5982
- function I(B) {
5983
- h(B), n("update:modelValue", B);
6006
+ function B(w) {
6007
+ m(w), n("update:modelValue", w);
5984
6008
  }
5985
- function h(B) {
5986
- switch (f(B)) {
6009
+ function m(w) {
6010
+ switch (f(w)) {
5987
6011
  case He:
5988
- o.value = `Time must be before ${be(l.maxTime)}`, s.value = !0;
6012
+ o.value = `Time must be before ${ve(l.maxTime)}`, s.value = !0;
5989
6013
  break;
5990
6014
  case Ke:
5991
- o.value = `Time must be after ${be(l.minTime)}`, s.value = !0;
6015
+ o.value = `Time must be after ${ve(l.minTime)}`, s.value = !0;
5992
6016
  break;
5993
6017
  case Ge:
5994
- o.value = `The following times are disabled: ${l.disabledTimes.map((y) => be(y)).join(", ")}`, s.value = !0;
6018
+ o.value = `The following times are disabled: ${l.disabledTimes.map(($) => ve($)).join(", ")}`, s.value = !0;
5995
6019
  break;
5996
6020
  default:
5997
6021
  o.value = "", s.value = !1;
5998
6022
  }
5999
6023
  }
6000
- return H(S), j([
6024
+ return H(y), j([
6001
6025
  () => l.disabledTimes,
6002
6026
  () => l.maxTime,
6003
6027
  () => l.minTime,
6004
6028
  () => l.step
6005
- ], S), j([
6029
+ ], y), j([
6006
6030
  () => l.disabledTimes,
6007
6031
  () => l.maxTime,
6008
6032
  () => l.minTime,
6009
6033
  () => l.modelValue
6010
- ], () => h(l.modelValue)), j(() => l.modelValue, (B) => {
6011
- i.value = l.modelValue ? be(B) : "";
6034
+ ], () => m(l.modelValue)), j(() => l.modelValue, (w) => {
6035
+ i.value = l.modelValue ? ve(w) : "";
6012
6036
  }), a({
6013
6037
  validationErr: s,
6014
6038
  validationErrMsg: o
6015
- }), (B, w) => (u(), A(Ot, {
6039
+ }), (w, k) => (u(), O(Ot, {
6016
6040
  disabled: e.disabled,
6017
6041
  "display-value": i.value,
6018
6042
  "dropdown-position": e.dropdownPosition,
@@ -6099,34 +6123,34 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6099
6123
  },
6100
6124
  emits: ["update:modelValue"],
6101
6125
  setup(e, { expose: a, emit: t }) {
6102
- const l = e, [n, i] = Z(2), d = k(null), o = p(() => l.errorMsg || m.value), s = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || s.value && o.value), m = p(() => {
6126
+ const l = e, [n, i] = Z(2), d = I(null), o = p(() => l.errorMsg || b.value), s = p(() => l.error || v.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || s.value && o.value), b = p(() => {
6103
6127
  var g;
6104
6128
  return (g = d.value) == null ? void 0 : g.validationErrMsg;
6105
- }), b = p(() => {
6129
+ }), v = p(() => {
6106
6130
  var g;
6107
6131
  return (g = d.value) == null ? void 0 : g.validationErr;
6108
6132
  });
6109
6133
  return a({
6110
- validationErr: b,
6111
- validationErrMsg: m
6112
- }), (g, S) => (u(), v("div", z({
6134
+ validationErr: v,
6135
+ validationErrMsg: b
6136
+ }), (g, y) => (u(), h("div", z({
6113
6137
  "aria-live": "polite",
6114
6138
  "data-component": "bs-time-picker-field"
6115
- }, c(Y)(g.$attrs, c(ve)).remaining), [
6116
- e.label || g.$slots.label ? (u(), A(ae, {
6139
+ }, c(Y)(g.$attrs, c(he)).remaining), [
6140
+ e.label || g.$slots.label ? (u(), O(ae, {
6117
6141
  key: 0,
6118
6142
  for: g.$attrs.id || r.value,
6119
6143
  disabled: e.disabled,
6120
6144
  required: e.required
6121
6145
  }, {
6122
- default: L(() => [
6123
- E(g.$slots, "label", {}, () => [
6124
- U(T(e.label), 1)
6146
+ default: D(() => [
6147
+ L(g.$slots, "label", {}, () => [
6148
+ U(V(e.label), 1)
6125
6149
  ])
6126
6150
  ]),
6127
6151
  _: 3
6128
6152
  }, 8, ["for", "disabled", "required"])) : C("", !0),
6129
- D(go, z({
6153
+ P(go, z({
6130
6154
  ref_key: "timePicker",
6131
6155
  ref: d,
6132
6156
  disabled: e.disabled,
@@ -6144,9 +6168,9 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6144
6168
  placeholder: e.placeholder,
6145
6169
  required: e.required,
6146
6170
  step: e.step,
6147
- "onUpdate:modelValue": S[0] || (S[0] = (I) => g.$emit("update:modelValue", I))
6148
- }, c(Y)(g.$attrs, c(ve)).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"]),
6149
- ue(D(ge, {
6171
+ "onUpdate:modelValue": y[0] || (y[0] = (B) => g.$emit("update:modelValue", B))
6172
+ }, c(Y)(g.$attrs, c(he)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
6173
+ ue(P(ge, {
6150
6174
  error: s.value,
6151
6175
  "error-msg": o.value,
6152
6176
  hint: e.hint,
@@ -6156,7 +6180,7 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6156
6180
  ])
6157
6181
  ], 16));
6158
6182
  }
6159
- }), yo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], So = ["data-status"], wo = { class: "visually-hidden" }, vi = {
6183
+ }), yo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], So = ["data-status"], wo = { class: "visually-hidden" }, bi = {
6160
6184
  __name: "BsTimeline",
6161
6185
  props: {
6162
6186
  /** @type {Status} */
@@ -6197,31 +6221,32 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6197
6221
  function d(o, s) {
6198
6222
  return o = i(o, s), t[o] || dt;
6199
6223
  }
6200
- return (o, s) => (u(), v("div", {
6224
+ return (o, s) => (u(), h("div", {
6201
6225
  "aria-valuemax": e.steps.length,
6202
6226
  "aria-valuenow": c(l),
6203
6227
  "aria-valuetext": c(n),
6204
6228
  class: "bs-timeline",
6229
+ "data-component": "bs-timeline",
6205
6230
  role: "progressbar"
6206
6231
  }, [
6207
- (u(!0), v(G, null, ee(e.steps, (r, f) => (u(), v("div", {
6232
+ (u(!0), h(G, null, ee(e.steps, (r, f) => (u(), h("div", {
6208
6233
  class: "bs-step-item",
6209
6234
  "data-status": c(i)(r.status, f),
6210
6235
  key: r.id || r.label,
6211
6236
  role: "status"
6212
6237
  }, [
6213
- (u(), A(te(d(r.status, f)), {
6238
+ (u(), O(te(d(r.status, f)), {
6214
6239
  class: "bs-step-icon",
6215
6240
  role: "presentation"
6216
6241
  })),
6217
- $("p", null, [
6218
- U(T(r.label || r) + " ", 1),
6219
- $("span", wo, " : " + T(c(i)(r.status, f) || "not started"), 1)
6242
+ S("p", null, [
6243
+ U(V(r.label || r) + " ", 1),
6244
+ S("span", wo, " : " + V(c(i)(r.status, f) || "not started"), 1)
6220
6245
  ])
6221
6246
  ], 8, So))), 128))
6222
6247
  ], 8, yo));
6223
6248
  }
6224
- }, $o = ["data-variant", "data-shown", "data-stacked"], mi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6249
+ }, $o = ["data-variant", "data-shown", "data-stacked"], vi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6225
6250
  __name: "BsToast",
6226
6251
  props: {
6227
6252
  shown: {
@@ -6279,48 +6304,50 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6279
6304
  o();
6280
6305
  }, t.duration)), l("after-enter");
6281
6306
  }
6282
- return (r, f) => (u(), A(qe, {
6307
+ return (r, f) => (u(), O(Pe, {
6283
6308
  name: "bs-toast",
6284
6309
  shown: c(n),
6285
6310
  preloaded: e.preloaded,
6286
6311
  onAfterEnter: s,
6287
- onAfterLeave: f[0] || (f[0] = (m) => l("after-leave"))
6312
+ onAfterLeave: f[0] || (f[0] = (b) => l("after-leave"))
6288
6313
  }, {
6289
- default: L(() => [
6290
- $("div", z({
6314
+ default: D(() => [
6315
+ S("div", z({
6291
6316
  class: "bs-toast",
6317
+ "data-component": "bs-toast",
6292
6318
  "data-variant": e.variant,
6293
6319
  "data-shown": c(n),
6294
6320
  "data-stacked": c(d) || void 0,
6295
6321
  role: "alert"
6296
6322
  }, r.$attrs), [
6297
- E(r.$slots, "default")
6323
+ L(r.$slots, "default")
6298
6324
  ], 16, $o)
6299
6325
  ]),
6300
6326
  _: 3
6301
6327
  }, 8, ["shown", "preloaded"]));
6302
6328
  }
6303
- }), Bo = ["data-stacked"], bi = {
6329
+ }), Bo = ["data-stacked"], gi = {
6304
6330
  __name: "BsToastActions",
6305
6331
  setup(e) {
6306
- const a = k(!1);
6332
+ const a = I(!1);
6307
6333
  H(() => {
6308
6334
  var n;
6309
6335
  const l = yt();
6310
6336
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
6311
6337
  });
6312
6338
  const t = pe("handleDismiss");
6313
- return (l, n) => (u(), v("div", {
6339
+ return (l, n) => (u(), h("div", {
6314
6340
  class: "bs-toast-actions",
6341
+ "data-component": "bs-toast-actions",
6315
6342
  "data-stacked": a.value || void 0
6316
6343
  }, [
6317
- E(l.$slots, "default", {}, () => [
6318
- D(ka, {
6344
+ L(l.$slots, "default", {}, () => [
6345
+ P(ka, {
6319
6346
  size: "sm",
6320
6347
  "text-btn": "",
6321
6348
  onClick: c(t)
6322
6349
  }, {
6323
- default: L(() => [
6350
+ default: D(() => [
6324
6351
  U(" Dismiss ")
6325
6352
  ]),
6326
6353
  _: 1
@@ -6333,13 +6360,16 @@ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go =
6333
6360
  for (const [l, n] of a)
6334
6361
  t[l] = n;
6335
6362
  return t;
6336
- }, ko = {}, Co = { class: "bs-toast-body" };
6363
+ }, ko = {}, Co = {
6364
+ class: "bs-toast-body",
6365
+ "data-component": "bs-toast-body"
6366
+ };
6337
6367
  function xo(e, a) {
6338
- return u(), v("div", Co, [
6339
- E(e.$slots, "default")
6368
+ return u(), h("div", Co, [
6369
+ L(e.$slots, "default")
6340
6370
  ]);
6341
6371
  }
6342
- const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi = {
6372
+ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si = {
6343
6373
  __name: "BsToastHeader",
6344
6374
  setup(e) {
6345
6375
  const a = pe("variant"), t = p(() => {
@@ -6354,24 +6384,28 @@ const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi =
6354
6384
  return kt;
6355
6385
  }
6356
6386
  });
6357
- return (l, n) => (u(), v("div", {
6387
+ return (l, n) => (u(), h("div", {
6358
6388
  class: "bs-toast-header",
6389
+ "data-component": "bs-toast-header",
6359
6390
  "data-variant": c(a)
6360
6391
  }, [
6361
- (u(), A(te(t.value), { class: "bs-toast-header-icon" })),
6362
- $("h5", null, [
6363
- E(l.$slots, "default")
6392
+ (u(), O(te(t.value), { class: "bs-toast-header-icon" })),
6393
+ S("h5", null, [
6394
+ L(l.$slots, "default")
6364
6395
  ])
6365
6396
  ], 8, To));
6366
6397
  }
6367
- }, Ao = { class: "bs-toaster" }, Si = {
6398
+ }, Ao = {
6399
+ class: "bs-toaster",
6400
+ "data-component": "bs-toaster"
6401
+ }, wi = {
6368
6402
  __name: "BsToaster",
6369
6403
  setup(e) {
6370
- return fe("stacked", !0), (a, t) => (u(), v("div", Ao, [
6371
- E(a.$slots, "default")
6404
+ return fe("stacked", !0), (a, t) => (u(), h("div", Ao, [
6405
+ L(a.$slots, "default")
6372
6406
  ]));
6373
6407
  }
6374
- }, Vo = ["data-position"], Oo = ["id"], wi = {
6408
+ }, Vo = ["data-position"], Oo = ["id"], $i = {
6375
6409
  __name: "BsTooltip",
6376
6410
  props: {
6377
6411
  tooltipId: {
@@ -6398,11 +6432,11 @@ const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi =
6398
6432
  }
6399
6433
  },
6400
6434
  setup(e) {
6401
- const a = e, t = k(!1), l = k(!1), n = p(() => {
6435
+ const a = e, t = I(!1), l = I(!1), n = p(() => {
6402
6436
  let o = "bs-tooltip-text";
6403
6437
  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;
6404
6438
  });
6405
- he(["Escape"], () => {
6439
+ me(["Escape"], () => {
6406
6440
  t.value && (t.value = !1, l.value = !0);
6407
6441
  });
6408
6442
  function i() {
@@ -6411,7 +6445,7 @@ const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi =
6411
6445
  function d() {
6412
6446
  t.value = !1, l.value = !1;
6413
6447
  }
6414
- return (o, s) => (u(), v("div", {
6448
+ return (o, s) => (u(), h("div", {
6415
6449
  class: "bs-tooltip",
6416
6450
  "data-position": e.position || void 0,
6417
6451
  "data-component": "bs-tooltip",
@@ -6420,75 +6454,135 @@ const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi =
6420
6454
  onMouseleave: d,
6421
6455
  onFocusout: d
6422
6456
  }, [
6423
- E(o.$slots, "default"),
6424
- e.content ? (u(), v("div", {
6457
+ L(o.$slots, "default"),
6458
+ e.content ? (u(), h("div", {
6425
6459
  key: 0,
6426
6460
  class: ie(n.value),
6427
6461
  id: e.tooltipId,
6428
6462
  role: "tooltip"
6429
- }, T(e.content), 11, Oo)) : C("", !0)
6463
+ }, V(e.content), 11, Oo)) : C("", !0)
6430
6464
  ], 40, Vo));
6431
6465
  }
6466
+ }, Eo = {
6467
+ accordion: "[data-component=bs-accordion]",
6468
+ badge: "[data-component=bs-badge]",
6469
+ banner: "[data-component=bs-banner]",
6470
+ button: "[data-component=bs-button]",
6471
+ calendar: "[data-component=bs-calendar]",
6472
+ chartBar: "[data-component=bs-chart-bar]",
6473
+ chartLine: "[data-component=bs-chart-line]",
6474
+ chartTable: "[data-component=bs-chart-table]",
6475
+ checkbox: "[data-component=bs-checkbox]",
6476
+ circleButton: "[data-component=bs-circle-button]",
6477
+ dropdownComboboxField: "[data-component=bs-dropdown-combobox-field]",
6478
+ dropdownMultiselect: "[data-component=bs-dropdown-multiselect]",
6479
+ dropdownOption: "[data-component=bs-dropdown-option]",
6480
+ dropdownOptionList: "[data-component=bs-dropdown-option-list]",
6481
+ emptyState: "[data-component=bs-empty-state]",
6482
+ fieldDetails: "[data-component=bs-field-details]",
6483
+ filterButton: "[data-component=bs-filter-button]",
6484
+ flyout: "[data-component=bs-flyout]",
6485
+ input: "[data-component=bs-input]",
6486
+ inputAddon: "[data-component=bs-input-addon]",
6487
+ inputField: "[data-component=bs-input-field]",
6488
+ inputPhone: "[data-component=bs-input-phone]",
6489
+ inputSearch: "[data-component=bs-input-search]",
6490
+ label: "[data-component=bs-label]",
6491
+ modal: "[data-component=bs-modal]",
6492
+ pagination: {
6493
+ component: "[data-component=bs-pagination]",
6494
+ pageNumbers: ".bs-pagination-page-numbers",
6495
+ first: '[aria-label="First Page"]',
6496
+ previous: '[aria-label="Previous Page"]',
6497
+ next: '[aria-label="Next Page"]',
6498
+ last: '[aria-label="Last Page"]'
6499
+ },
6500
+ pill: "[data-component=bs-pill]",
6501
+ profile: "[data-component=bs-profile]",
6502
+ profileDetails: "[data-component=bs-profile-details]",
6503
+ profileImg: "[data-component=bs-profile-img]",
6504
+ progressBar: "[data-component=bs-progress-bar]",
6505
+ radio: "[data-component=bs-radio]",
6506
+ select: "[data-component=bs-select]",
6507
+ selectField: "[data-component=bs-select-field]",
6508
+ spinner: "[data-component=bs-spinner]",
6509
+ switch: "[data-component=bs-switch]",
6510
+ tab: "[data-component=bs-tab]",
6511
+ tabList: "[data-component=bs-tab-list]",
6512
+ tabPanel: "[data-component=bs-tab-panel]",
6513
+ textarea: "[data-component=bs-textarea]",
6514
+ textareaField: "[data-component=bs-textarea-field]",
6515
+ timePickerField: "[data-component=bs-time-picker-field]",
6516
+ timeline: "[data-component=bs-timeline]",
6517
+ toast: "[data-component=bs-toast]",
6518
+ toastActions: "[data-component=bs-toast-actions]",
6519
+ toastBody: "[data-component=bs-toast-body]",
6520
+ toastHeader: "[data-component=bs-toast-header]",
6521
+ toaster: "[data-component=bs-toaster]",
6522
+ tooltip: "[data-component=bs-tooltip]"
6523
+ }, Bi = {
6524
+ bsSelectors: Eo
6432
6525
  };
6433
6526
  export {
6434
6527
  Ro as BsAccordion,
6435
6528
  wa as BsBadge,
6436
- Fo as BsBanner,
6529
+ jo as BsBanner,
6437
6530
  ka as BsButton,
6438
- jo as BsCalendar,
6439
- Wo as BsCaretButton,
6440
- Uo as BsCaretTextButton,
6441
- Go as BsChartBar,
6442
- Ho as BsCheckbox,
6531
+ Wo as BsCalendar,
6532
+ Uo as BsCaretButton,
6533
+ Go as BsCaretTextButton,
6534
+ Ho as BsChartBar,
6535
+ Ko as BsCheckbox,
6443
6536
  xt as BsCircleButton,
6444
6537
  lt as BsDropdown,
6445
6538
  Ot as BsDropdownCombobox,
6446
- Ko as BsDropdownComboboxField,
6539
+ Yo as BsDropdownComboboxField,
6447
6540
  Et as BsDropdownMultiselect,
6448
6541
  ot as BsDropdownOption,
6449
- Pe as BsDropdownOptionBuilder,
6450
- Fe as BsDropdownOptionList,
6542
+ qe as BsDropdownOptionBuilder,
6543
+ Re as BsDropdownOptionList,
6451
6544
  Lt as BsDropdownWithOptions,
6452
6545
  Vt as BsDropdownWithToggle,
6453
- Yo as BsEmptyState,
6546
+ Zo as BsEmptyState,
6454
6547
  ge as BsFieldDetails,
6455
6548
  $n as BsFilterButton,
6456
- Zo as BsFlyout,
6457
- Xo as BsIconGradientWrapper,
6549
+ Xo as BsFlyout,
6550
+ Qo as BsIconGradientWrapper,
6458
6551
  Ie as BsInput,
6459
6552
  De as BsInputAddon,
6460
- Qo as BsInputField,
6461
- Jo as BsInputPhone,
6553
+ Jo as BsInputField,
6554
+ _o as BsInputPhone,
6462
6555
  el as BsInputSearch,
6463
- _o as BsInputTypeahead,
6556
+ ei as BsInputTypeahead,
6464
6557
  ae as BsLabel,
6465
- ei as BsLoader,
6466
- ti as BsModal,
6467
- bl as BsOverlay,
6468
- ai as BsPagination,
6469
- ni as BsPill,
6470
- li as BsProfile,
6558
+ ti as BsLoader,
6559
+ ai as BsModal,
6560
+ vl as BsOverlay,
6561
+ ni as BsPagination,
6562
+ li as BsPill,
6563
+ oi as BsProfile,
6471
6564
  Gl as BsProfileDetails,
6472
6565
  At as BsProfileImg,
6473
- oi as BsProgressBar,
6474
- ii as BsRadio,
6566
+ ii as BsProgressBar,
6567
+ ri as BsRadio,
6475
6568
  Ql as BsSelect,
6476
- ri as BsSelectField,
6477
- si as BsSelectWithDropdown,
6478
- vt as BsSpinner,
6479
- di as BsSwitch,
6480
- ui as BsTab,
6481
- ci as BsTabList,
6482
- fi as BsTabPanel,
6483
- ho as BsTextarea,
6484
- pi as BsTextareaField,
6569
+ si as BsSelectField,
6570
+ di as BsSelectWithDropdown,
6571
+ ht as BsSpinner,
6572
+ ui as BsSwitch,
6573
+ ci as BsTab,
6574
+ fi as BsTabList,
6575
+ pi as BsTabPanel,
6576
+ mo as BsTextarea,
6577
+ mi as BsTextareaField,
6485
6578
  go as BsTimePicker,
6486
6579
  hi as BsTimePickerField,
6487
- vi as BsTimeline,
6488
- mi as BsToast,
6489
- bi as BsToastActions,
6490
- gi as BsToastBody,
6491
- yi as BsToastHeader,
6492
- Si as BsToaster,
6493
- wi as BsTooltip
6580
+ bi as BsTimeline,
6581
+ vi as BsToast,
6582
+ gi as BsToastActions,
6583
+ yi as BsToastBody,
6584
+ Si as BsToastHeader,
6585
+ wi as BsToaster,
6586
+ $i as BsTooltip,
6587
+ Bi as bsSelectors
6494
6588
  };