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