@wwtdev/bsds-components-vue3 2.13.1 → 2.14.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,5 @@
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
- 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 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";
1
+ import { computed as f, ref as I, onMounted as H, onUnmounted as Be, shallowRef as Mt, watch as j, defineAsyncComponent as Je, useId as gt, openBlock as u, createElementBlock as b, unref as c, createElementVNode as w, renderSlot as E, createBlock as V, resolveDynamicComponent as te, createCommentVNode as x, createTextVNode as W, toDisplayString as O, createVNode as P, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as D, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as yt, nextTick as Ae, createSlots as Ze, useSlots as St, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as wt, isRef as zt } from "vue";
2
+ import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as $e, BsIconCalendar as Bt, BsIconCaretRight as $t, BsIconCaretLeft as It, BsIconSmallCaretRight as Ft, BsIconSmallCaretLeft as Rt, BsIconCaretSort as jt, BsIconSearch as Wt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Gt, BsIconActionEllipsis as Ht, BsIconGraphPieEmpty as dt, BsIconCircleStop as Kt, BsIconCircleCheck as Yt, BsIconCircleX as Zt, BsIconCircleEllipsis as Xt, BsIconCirclePlay as Qt, BsIconCirclePause as Jt, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as _t } from "@wwtdev/bsds-icons-vue3";
4
3
  import { DatePicker as ea } from "v-calendar";
5
4
  import { Filler as ta, Chart as je, BarController as aa, BarElement as na, CategoryScale as la, LinearScale as oa, Legend as ia, TimeScale as ra, Tooltip as sa } from "chart.js";
6
5
  import "chartjs-adapter-date-fns";
@@ -14,13 +13,13 @@ const ct = {
14
13
  type: "button"
15
14
  };
16
15
  function ze(e, a, t = "button") {
17
- const l = ca(e, a, t), n = p(() => {
16
+ const l = ca(e, a, t), n = f(() => {
18
17
  const o = l.value === "button", s = {};
19
18
  return o ? (s.type = a.type || "button", s.autocomplete = "off", e.disabled && (s.disabled = !0)) : e.disabled && (s["aria-disabled"] = "true", s.tabindex = "-1"), s;
20
- }), i = p(() => {
19
+ }), i = f(() => {
21
20
  const o = { ...a, ...n.value };
22
21
  return delete o.href, o;
23
- }), d = p(() => e.linkTo || e.href);
22
+ }), d = f(() => e.linkTo || e.href);
24
23
  return { rootTag: l, attrsToBind: i, hrefUrl: d };
25
24
  }
26
25
  function ca(e, a, t) {
@@ -39,15 +38,15 @@ const Ct = (e, a) => {
39
38
  };
40
39
  H(() => {
41
40
  document.addEventListener("mouseup", t);
42
- }), $e(() => {
41
+ }), Be(() => {
43
42
  document.removeEventListener("mouseup", t);
44
43
  });
45
44
  };
46
45
  function Fe(e) {
47
- const a = p(() => e.linkTo || e.href || ""), t = p(() => {
46
+ const a = f(() => e.linkTo || e.href || ""), t = f(() => {
48
47
  var i, d;
49
48
  return ((d = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : d.call(i, "/")) || !1;
50
- }), l = p(() => {
49
+ }), l = f(() => {
51
50
  var i, d;
52
51
  return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
53
52
  });
@@ -56,8 +55,7 @@ function Fe(e) {
56
55
  i.preventDefault(), i.stopImmediatePropagation();
57
56
  return;
58
57
  }
59
- if (!a.value || !l.value)
60
- return;
58
+ if (!a.value || !l.value) return;
61
59
  i.target.closest("a").href === `${window.location.origin}${a.value}` && (i.preventDefault(), l.value(a.value));
62
60
  }
63
61
  return { onLinkClick: n };
@@ -65,11 +63,10 @@ function Fe(e) {
65
63
  function ft(e) {
66
64
  return e.split("-").map((l) => l.charAt(0).toUpperCase() + l.slice(1)).join("");
67
65
  }
68
- const Ve = (e, a) => {
66
+ const Oe = (e, a) => {
69
67
  var i;
70
68
  function t(d) {
71
- if (!d)
72
- return null;
69
+ if (!d) return null;
73
70
  const o = d.startsWith("bs-") ? ft(d) : `BsIcon${ft(d)}`;
74
71
  return Je(async () => {
75
72
  const { [o]: s } = await import("@wwtdev/bsds-icons-vue3");
@@ -93,7 +90,7 @@ function Z(e = 1) {
93
90
  for (let t = 0; t < e; t++)
94
91
  a.push(I(""));
95
92
  return H(() => {
96
- a.forEach((t) => t.value = `id-${wt()}`);
93
+ a.forEach((t) => t.value = gt());
97
94
  }), a;
98
95
  }
99
96
  const me = (e, a, t = void 0) => {
@@ -106,14 +103,14 @@ const me = (e, a, t = void 0) => {
106
103
  };
107
104
  H(() => {
108
105
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", l);
109
- }), $e(() => {
106
+ }), Be(() => {
110
107
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
111
108
  });
112
109
  }, pa = (e, a, t) => {
113
110
  let l = null;
114
111
  H(() => {
115
112
  l = new MutationObserver(a), l.observe(e.value, t);
116
- }), $e(() => {
113
+ }), Be(() => {
117
114
  l.disconnect();
118
115
  });
119
116
  }, Le = (e) => {
@@ -127,11 +124,11 @@ const me = (e, a, t = void 0) => {
127
124
  }), j(() => e.leaveTrigger, (t) => {
128
125
  t && (a.value = !1);
129
126
  }), { transition: a };
130
- }, ma = ["id", "data-stacked"], ha = ["data-open"], ba = ["aria-controls", "aria-expanded"], va = {
127
+ }, ma = ["id", "data-stacked"], ba = ["data-open"], ha = ["aria-controls", "aria-expanded"], va = {
131
128
  key: 0,
132
129
  "data-position": "start",
133
130
  style: { display: "inline-flex" }
134
- }, ga = ["id"], ya = ["aria-labelledby", "data-open", "id"], Ro = {
131
+ }, ga = ["id"], ya = ["aria-labelledby", "data-open", "id"], xo = {
135
132
  __name: "BsAccordion",
136
133
  props: {
137
134
  controlled: { type: Boolean, default: !1 },
@@ -148,11 +145,11 @@ const me = (e, a, t = void 0) => {
148
145
  },
149
146
  emits: ["toggled"],
150
147
  setup(e, { emit: a }) {
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);
148
+ const t = e, l = a, n = I(null), i = I(!1), { icon: d } = Oe(t, "icon"), [o] = Z(), s = f(() => o.value + "-content"), r = f(() => o.value + "-title"), m = f(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), h = f(() => t.controlled ? m.value : i.value);
152
149
  function v() {
153
150
  l("toggled", o.value), t.controlled || (i.value = !i.value);
154
151
  }
155
- return (g, y) => (u(), h("div", {
152
+ return (g, y) => (u(), b("div", {
156
153
  id: c(o),
157
154
  ref_key: "containerRef",
158
155
  ref: n,
@@ -160,41 +157,41 @@ const me = (e, a, t = void 0) => {
160
157
  "data-component": "bs-accordion",
161
158
  "data-stacked": e.stacked
162
159
  }, [
163
- S("header", {
160
+ w("header", {
164
161
  part: "header",
165
- "data-open": b.value
162
+ "data-open": h.value
166
163
  }, [
167
- S("button", {
164
+ w("button", {
168
165
  "aria-controls": s.value,
169
- "aria-expanded": b.value,
166
+ "aria-expanded": h.value,
170
167
  type: "button",
171
168
  onClick: v
172
169
  }, [
173
- e.icon || g.$slots.icon ? (u(), h("span", va, [
170
+ e.icon || g.$slots.icon ? (u(), b("span", va, [
174
171
  E(g.$slots, "icon", {}, () => [
175
- e.icon ? (u(), O(te(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
172
+ e.icon ? (u(), V(te(c(d) ? c(d) : "span"), { key: 0 })) : x("", !0)
176
173
  ])
177
- ])) : C("", !0),
178
- S("span", { id: r.value }, [
174
+ ])) : x("", !0),
175
+ w("span", { id: r.value }, [
179
176
  E(g.$slots, "header", {}, () => [
180
- W(V(e.headerText), 1)
177
+ W(O(e.headerText), 1)
181
178
  ])
182
179
  ], 8, ga),
183
180
  P(c(Me), {
184
181
  size: "md",
185
182
  "data-position": "end"
186
183
  })
187
- ], 8, ba)
188
- ], 8, ha),
189
- S("div", {
184
+ ], 8, ha)
185
+ ], 8, ba),
186
+ w("div", {
190
187
  "aria-labelledby": r.value,
191
188
  class: "bs-accordion-content",
192
- "data-open": b.value,
189
+ "data-open": h.value,
193
190
  id: s.value,
194
191
  part: "content",
195
192
  role: "region"
196
193
  }, [
197
- S("div", null, [
194
+ w("div", null, [
198
195
  E(g.$slots, "default")
199
196
  ])
200
197
  ], 8, ya)
@@ -247,15 +244,14 @@ const me = (e, a, t = void 0) => {
247
244
  }
248
245
  },
249
246
  setup(e) {
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
+ const a = e, t = I(null), l = f(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = f(() => {
251
248
  var s, r;
252
249
  const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", d = l.value ? l.value + " " : "";
253
- if (!d && !a.dot)
254
- return i;
250
+ if (!d && !a.dot) return i;
255
251
  const o = a.count !== 1 ? "s" : "";
256
252
  return `${i ? `${i}, ` : ""}${d}${a.label}${o}`;
257
253
  });
258
- return (i, d) => (u(), h("span", {
254
+ return (i, d) => (u(), b("span", {
259
255
  ref_key: "hostRef",
260
256
  ref: t,
261
257
  "aria-label": n.value,
@@ -268,15 +264,15 @@ const me = (e, a, t = void 0) => {
268
264
  "data-variant": e.variant,
269
265
  role: "status"
270
266
  }, [
271
- e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : C("", !0)
267
+ e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : x("", !0)
272
268
  ], 10, Sa));
273
269
  }
274
- }, $a = {
270
+ }, Ba = {
275
271
  key: 0,
276
272
  role: "alert",
277
273
  class: "bs-banner",
278
274
  "data-component": "bs-banner"
279
- }, Ba = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, jo = {
275
+ }, $a = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, To = {
280
276
  __name: "BsBanner",
281
277
  emits: ["dismiss"],
282
278
  setup(e, { emit: a }) {
@@ -284,20 +280,20 @@ const me = (e, a, t = void 0) => {
284
280
  function n() {
285
281
  l.value = !0, t("dismiss");
286
282
  }
287
- return (i, d) => l.value ? C("", !0) : (u(), h("div", $a, [
288
- S("div", Ba, [
289
- S("div", Ia, [
283
+ return (i, d) => l.value ? x("", !0) : (u(), b("div", Ba, [
284
+ w("div", $a, [
285
+ w("div", Ia, [
290
286
  P(c(Xe), { size: "lg" })
291
287
  ]),
292
- S("p", null, [
288
+ w("p", null, [
293
289
  E(i.$slots, "default")
294
290
  ]),
295
- S("button", {
291
+ w("button", {
296
292
  type: "button",
297
293
  title: "Close Banner",
298
294
  onClick: n
299
295
  }, [
300
- P(c(Be))
296
+ P(c($e))
301
297
  ])
302
298
  ])
303
299
  ]));
@@ -334,7 +330,7 @@ const me = (e, a, t = void 0) => {
334
330
  },
335
331
  setup(e) {
336
332
  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
+ return (o, s) => (u(), V(te(c(l)), z({
338
334
  class: "bs-button",
339
335
  "data-component": "bs-button",
340
336
  "data-ghost": e.ghostBtn,
@@ -372,26 +368,23 @@ const me = (e, a, t = void 0) => {
372
368
  hintId: String
373
369
  },
374
370
  setup(e) {
375
- const a = e, t = p(() => a.error && a.errorMsg || a.hint);
376
- return (l, n) => (u(), h("div", Ca, [
377
- t.value ? (u(), h("span", {
371
+ const a = e, t = f(() => a.error && a.errorMsg || a.hint);
372
+ return (l, n) => (u(), b("div", Ca, [
373
+ t.value ? (u(), b("span", {
378
374
  key: 0,
379
375
  id: e.hintId,
380
376
  class: "bs-hint",
381
377
  "data-error": e.error
382
- }, V(t.value), 9, xa)) : C("", !0),
383
- e.charMax ? (u(), h("span", {
378
+ }, O(t.value), 9, xa)) : x("", !0),
379
+ e.charMax ? (u(), b("span", {
384
380
  key: 1,
385
381
  "aria-description": "character count over character limit for the preceding text field",
386
382
  class: "bs-character-count",
387
383
  "data-error": a.charCount > a.charMax
388
- }, V(a.charCount || "0") + " / " + V(a.charMax), 9, Ta)) : C("", !0)
384
+ }, O(a.charCount || "0") + " / " + O(a.charMax), 9, Ta)) : x("", !0)
389
385
  ]));
390
386
  }
391
- }, Aa = ["data-disabled", "for"], Va = /* @__PURE__ */ S("span", {
392
- "data-required": "true",
393
- "aria-hidden": "true"
394
- }, " *", -1), Oa = /* @__PURE__ */ S("span", { class: "visually-hidden" }, "required", -1), ae = {
387
+ }, Aa = ["data-disabled", "for"], ae = {
395
388
  __name: "BsLabel",
396
389
  props: {
397
390
  disabled: { type: Boolean, default: !1 },
@@ -400,22 +393,25 @@ const me = (e, a, t = void 0) => {
400
393
  required: { type: Boolean, default: !1 }
401
394
  },
402
395
  setup(e) {
403
- return (a, t) => (u(), h("label", {
396
+ return (a, t) => (u(), b("label", {
404
397
  class: ie(["bs-label", e.hide ? "visually-hidden" : ""]),
405
398
  "data-component": "bs-label",
406
399
  "data-disabled": e.disabled,
407
400
  for: e.for
408
401
  }, [
409
- S("span", null, [
402
+ w("span", null, [
410
403
  E(a.$slots, "default")
411
404
  ]),
412
- e.required ? (u(), h(G, { key: 0 }, [
413
- Va,
414
- Oa
415
- ], 64)) : C("", !0)
405
+ e.required ? (u(), b(G, { key: 0 }, [
406
+ t[0] || (t[0] = w("span", {
407
+ "data-required": "true",
408
+ "aria-hidden": "true"
409
+ }, " *", -1)),
410
+ t[1] || (t[1] = w("span", { class: "visually-hidden" }, "required", -1))
411
+ ], 64)) : x("", !0)
416
412
  ], 10, Aa));
417
413
  }
418
- }, Ea = ["data-error", "id", "value"], Ie = {
414
+ }, Oa = ["data-error", "id", "value"], Ie = {
419
415
  __name: "BsInput",
420
416
  props: {
421
417
  error: {
@@ -430,21 +426,21 @@ const me = (e, a, t = void 0) => {
430
426
  },
431
427
  emits: ["update:modelValue"],
432
428
  setup(e, { emit: a }) {
433
- const t = e, l = a, n = re(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
429
+ const t = e, l = a, n = re(), i = f(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
434
430
  function d(o) {
435
431
  const s = n.type === "number" ? parseInt(o.target.value) : o.target.value;
436
432
  l("update:modelValue", s);
437
433
  }
438
- return (o, s) => (u(), h("input", z({
434
+ return (o, s) => (u(), b("input", z({
439
435
  class: "bs-input",
440
436
  "data-component": "bs-input",
441
437
  "data-error": e.error,
442
438
  id: o.$attrs.id || e.inputId,
443
439
  value: e.value || e.modelValue,
444
440
  onInput: d
445
- }, i.value), null, 16, Ea));
441
+ }, i.value), null, 16, Oa));
446
442
  }
447
- }, La = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
443
+ }, Va = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
448
444
  __name: "BsInputAddon",
449
445
  props: {
450
446
  autopad: { type: Boolean, default: !1 },
@@ -455,7 +451,7 @@ const me = (e, a, t = void 0) => {
455
451
  variant: { type: String, validator: (e) => ["inner-bordered", "combobox"].includes(e) }
456
452
  },
457
453
  setup(e) {
458
- return (a, t) => (u(), h("div", {
454
+ return (a, t) => (u(), b("div", {
459
455
  class: "bs-input-addon",
460
456
  "data-component": "bs-input-addon",
461
457
  "data-autopad": e.autopad,
@@ -466,9 +462,9 @@ const me = (e, a, t = void 0) => {
466
462
  "data-multifocus": e.multifocus
467
463
  }, [
468
464
  E(a.$slots, "default")
469
- ], 8, La));
465
+ ], 8, Va));
470
466
  }
471
- }, Da = {
467
+ }, Ea = {
472
468
  __name: "BsInputDateSingle",
473
469
  props: {
474
470
  disabled: {
@@ -501,12 +497,12 @@ const me = (e, a, t = void 0) => {
501
497
  }
502
498
  },
503
499
  setup(e) {
504
- return (a, t) => (u(), O(De, {
500
+ return (a, t) => (u(), V(De, {
505
501
  disabled: e.disabled,
506
502
  error: e.error
507
503
  }, {
508
504
  default: D(() => [
509
- P(c($t)),
505
+ P(c(Bt)),
510
506
  P(Ie, z({
511
507
  "data-autowidth": "",
512
508
  disabled: e.disabled,
@@ -520,7 +516,7 @@ const me = (e, a, t = void 0) => {
520
516
  }, 8, ["disabled", "error"]));
521
517
  }
522
518
  };
523
- function Oe(e, a, t) {
519
+ function Ve(e, a, t) {
524
520
  let l;
525
521
  return function() {
526
522
  let n = this, i = arguments;
@@ -529,7 +525,7 @@ function Oe(e, a, t) {
529
525
  }, a);
530
526
  };
531
527
  }
532
- const Pa = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-value"], Ma = {
528
+ const La = ["disabled", "id", "model-value"], Da = ["disabled", "id", "model-value"], Pa = {
533
529
  __name: "BsInputDateRange",
534
530
  props: {
535
531
  disabled: {
@@ -568,23 +564,23 @@ const Pa = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-val
568
564
  setup(e, { emit: a }) {
569
565
  const t = a, l = I(null), n = I(null);
570
566
  function i(r) {
571
- const f = new Event("change", { bubbles: !0, cancelable: !0 });
572
- r.dispatchEvent(f);
567
+ const m = new Event("change", { bubbles: !0, cancelable: !0 });
568
+ r.dispatchEvent(m);
573
569
  }
574
570
  function d(r) {
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);
571
+ const { value: m } = r.target, [h, v] = m.split(/ to | - /);
572
+ l.value.value = h || "", n.value.value = v || "", i(l.value), i(n.value);
577
573
  }
578
- const o = Oe(d, 1e3);
574
+ const o = Ve(d, 1e3);
579
575
  function s(r) {
580
576
  t("ui-input"), o(r);
581
577
  }
582
- return (r, f) => (u(), O(De, {
578
+ return (r, m) => (u(), V(De, {
583
579
  disabled: e.disabled,
584
580
  error: e.error
585
581
  }, {
586
582
  default: D(() => [
587
- P(c($t)),
583
+ P(c(Bt)),
588
584
  P(Ie, {
589
585
  "data-autowidth": "",
590
586
  disabled: e.disabled,
@@ -592,32 +588,32 @@ const Pa = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-val
592
588
  "model-value": e.inputValueFmt,
593
589
  placeholder: e.placeholder,
594
590
  required: e.required,
595
- onFocusin: f[0] || (f[0] = (b) => r.$emit("ui-focusin")),
591
+ onFocusin: m[0] || (m[0] = (h) => r.$emit("ui-focusin")),
596
592
  onInput: s,
597
593
  onChange: d
598
594
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
599
- S("input", z({
595
+ w("input", z({
600
596
  ref_key: "hiddenStart",
601
597
  ref: l,
602
598
  type: "hidden",
603
599
  disabled: e.disabled,
604
600
  id: `${e.inputId}-start`,
605
601
  "model-value": e.inputValue.start
606
- }, Ye(e.listeners.start, !0)), null, 16, Pa),
607
- S("input", z({
602
+ }, Ye(e.listeners.start, !0)), null, 16, La),
603
+ w("input", z({
608
604
  ref_key: "hiddenEnd",
609
605
  ref: n,
610
606
  type: "hidden",
611
607
  disabled: e.disabled,
612
608
  id: `${e.inputId}-end`,
613
609
  "model-value": e.inputValue.end
614
- }, Ye(e.listeners.end, !0)), null, 16, qa)
610
+ }, Ye(e.listeners.end, !0)), null, 16, Da)
615
611
  ]),
616
612
  _: 1
617
613
  }, 8, ["disabled", "error"]));
618
614
  }
619
615
  };
620
- function Na(e) {
616
+ function qa(e) {
621
617
  function a(n) {
622
618
  var i, d;
623
619
  return ((d = (i = n == null ? void 0 : n.classList) == null ? void 0 : i.contains) == null ? void 0 : d.call(i, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
@@ -638,7 +634,7 @@ function Na(e) {
638
634
  }
639
635
  function Qe(e, a, t = []) {
640
636
  let l;
641
- gt(() => {
637
+ yt(() => {
642
638
  l = window.matchMedia(e), l.addEventListener("change", a), a(l);
643
639
  }), _e(() => {
644
640
  l.removeEventListener("change", a), l = null;
@@ -651,7 +647,7 @@ const et = [
651
647
  "form",
652
648
  "id",
653
649
  "name"
654
- ], za = [
650
+ ], Ma = [
655
651
  "aria-describedby",
656
652
  "aria-label",
657
653
  "autocomplete",
@@ -662,7 +658,7 @@ const et = [
662
658
  "multiple",
663
659
  "name",
664
660
  "size"
665
- ], Fa = [
661
+ ], Na = [
666
662
  "aria-describedby",
667
663
  "aria-label",
668
664
  "autocapitalize",
@@ -681,7 +677,7 @@ const et = [
681
677
  "rows",
682
678
  "spellcheck",
683
679
  "wrap"
684
- ], he = [
680
+ ], be = [
685
681
  "aria-describedby",
686
682
  "aria-label",
687
683
  "autocapitalize",
@@ -709,7 +705,7 @@ function Y(e, a = []) {
709
705
  a.includes(n) ? t[n] = e[n] : l[n] = e[n];
710
706
  }), { filtered: t, remaining: l };
711
707
  }
712
- const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
708
+ const za = ["data-range"], pt = "(min-width: 752px)", Ao = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
713
709
  __name: "BsCalendar",
714
710
  props: {
715
711
  disabled: {
@@ -776,7 +772,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
776
772
  },
777
773
  emits: ["update:modelValue"],
778
774
  setup(e, { emit: a }) {
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
+ const t = e, l = I(null), n = I(1), i = I(null), [d, o] = Z(2), s = I(1), { filtered: r, remaining: m } = Y(re(), [
780
776
  "attributes",
781
777
  "data-cy",
782
778
  "expanded",
@@ -785,8 +781,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
785
781
  "masks",
786
782
  "rows",
787
783
  "trim-weeks"
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);
789
- Na(i), Qe(
784
+ ]), h = f(() => t.inputId || d.value), v = f(() => ({ range: t.isRange })), g = f(() => !!(t.error && t.errorMsg || t.hint)), y = f(() => t.step), B = f(() => t.variant);
785
+ qa(i), Qe(
790
786
  pt,
791
787
  ($) => n.value = $ != null && $.matches && B.value == "2-col" ? 2 : 1,
792
788
  [B]
@@ -795,44 +791,44 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
795
791
  ($) => s.value = $ != null && $.matches && B.value == "2-col" ? y.value : 1,
796
792
  [y, B]
797
793
  ), H(() => {
798
- t.inputMode || k();
794
+ t.inputMode || C();
799
795
  }), j(() => {
800
- var $, A;
801
- return (A = ($ = l.value) == null ? void 0 : $.popoverRef) == null ? void 0 : A.isVisible;
796
+ var $, M;
797
+ return (M = ($ = l.value) == null ? void 0 : $.popoverRef) == null ? void 0 : M.isVisible;
802
798
  }, ($) => {
803
- $ && Ae(k);
799
+ $ && Ae(C);
804
800
  });
805
- function m($) {
801
+ function p($) {
806
802
  return t.isRange && $.start && $.end ? `${$.start} to ${$.end}` : !t.isRange && $ ? $ : "";
807
803
  }
808
- function w($) {
804
+ function S($) {
809
805
  !t.isRange || i.value.contains($.relatedTarget) || l.value.hidePopover();
810
806
  }
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");
807
+ function C() {
808
+ const $ = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
809
+ $ && $.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
814
810
  }
815
- return ($, A) => (u(), h("div", z({
811
+ return ($, M) => (u(), b("div", z({
816
812
  ref_key: "container",
817
813
  ref: i,
818
814
  class: "bs-calendar",
819
815
  "data-component": "bs-calendar",
820
816
  "data-range": e.isRange,
821
- onFocusout: w
822
- }, c(f)), [
823
- e.label || $.$slots.label ? (u(), O(ae, {
817
+ onFocusout: S
818
+ }, c(m)), [
819
+ e.label || $.$slots.label ? (u(), V(ae, {
824
820
  key: 0,
825
- for: b.value,
821
+ for: h.value,
826
822
  disabled: e.disabled,
827
823
  required: e.required
828
824
  }, {
829
825
  default: D(() => [
830
826
  E($.$slots, "label", {}, () => [
831
- W(V(e.label), 1)
827
+ W(O(e.label), 1)
832
828
  ])
833
829
  ]),
834
830
  _: 3
835
- }, 8, ["for", "disabled", "required"])) : C("", !0),
831
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
836
832
  P(c(ea), z({
837
833
  ref_key: "calendar",
838
834
  ref: l,
@@ -846,30 +842,30 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
846
842
  popover: { visibility: "focus" },
847
843
  rows: 1,
848
844
  step: s.value,
849
- "onUpdate:modelValue": A[0] || (A[0] = (x) => $.$emit("update:modelValue", x))
845
+ "onUpdate:modelValue": M[0] || (M[0] = (k) => $.$emit("update:modelValue", k))
850
846
  }, c(r)), Ze({ _: 2 }, [
851
847
  e.inputMode ? {
852
848
  name: "default",
853
- fn: D(({ inputValue: x, inputEvents: q, showPopover: F }) => [
854
- e.isRange ? (u(), O(Ma, {
849
+ fn: D(({ inputValue: k, inputEvents: A, showPopover: F }) => [
850
+ e.isRange ? (u(), V(Pa, {
855
851
  key: 1,
856
852
  disabled: e.disabled,
857
853
  error: e.error,
858
- "input-id": b.value,
859
- "input-value": x,
860
- "input-value-fmt": m(x),
861
- listeners: q,
854
+ "input-id": h.value,
855
+ "input-value": k,
856
+ "input-value-fmt": p(k),
857
+ listeners: A,
862
858
  placeholder: e.placeholder,
863
859
  required: e.required,
864
860
  onUiFocusin: F,
865
861
  onUiInput: F
866
- }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), O(Da, {
862
+ }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), V(Ea, {
867
863
  key: 0,
868
864
  disabled: e.disabled,
869
865
  error: e.error,
870
- "input-id": b.value,
871
- listeners: q,
872
- "model-value": m(x),
866
+ "input-id": h.value,
867
+ listeners: A,
868
+ "model-value": p(k),
873
869
  placeholder: e.placeholder,
874
870
  required: e.required
875
871
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
@@ -877,19 +873,19 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
877
873
  key: "0"
878
874
  } : void 0
879
875
  ]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
880
- g.value ? (u(), O(ge, {
876
+ g.value ? (u(), V(ge, {
881
877
  key: 1,
882
878
  error: e.error,
883
879
  "error-msg": e.errorMsg,
884
880
  hint: e.hint,
885
881
  "hint-id": c(o)
886
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
887
- ], 16, Ra));
882
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
883
+ ], 16, za));
888
884
  }
889
- }), ja = { key: 0 }, Wa = {
885
+ }), Fa = { key: 0 }, Ra = {
890
886
  class: "bs-circle-button-icon",
891
887
  role: "presentation"
892
- }, Ua = { key: 1 }, xt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
888
+ }, ja = { key: 1 }, xt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
893
889
  __name: "BsCircleButton",
894
890
  props: {
895
891
  disabled: {
@@ -938,47 +934,47 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
938
934
  }
939
935
  },
940
936
  setup(e) {
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(() => {
937
+ const a = e, t = re(), l = St(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, t), { onLinkClick: o } = Fe(a), s = f(() => h.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = f(() => {
942
938
  if (a.hoverEffect)
943
939
  return a.iconPosition;
944
- }), f = p(() => {
945
- const m = a.iconPosition === "left" ? "caret-left" : "caret-right";
940
+ }), m = f(() => {
941
+ const p = a.iconPosition === "left" ? "caret-left" : "caret-right";
946
942
  return {
947
- icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${m}` : m)
943
+ icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${p}` : p)
948
944
  };
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
+ }), h = f(() => a.textBtn || !!(l != null && l.default)), v = f(() => h.value && a.iconPosition !== "left"), g = f(() => h.value && a.iconPosition === "left"), y = f(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Oe(m, "icon");
946
+ return (p, S) => (u(), V(te(c(n)), z({
951
947
  class: "bs-circle-button",
952
948
  "data-disabled": e.disabled,
953
949
  "data-direction": r.value,
954
950
  "data-ghost": e.ghostBtn,
955
951
  "data-size": e.size,
956
- "data-text": b.value,
952
+ "data-text": h.value,
957
953
  "data-variant": y.value,
958
954
  "data-component": "bs-circle-button",
959
955
  ".href": c(d)
960
956
  }, { ...c(i), ...s.value }, { onClick: c(o) }), {
961
957
  default: D(() => [
962
- v.value ? (u(), h("span", ja, [
963
- E(m.$slots, "default", {}, () => [
964
- W(V(e.label), 1)
958
+ v.value ? (u(), b("span", Fa, [
959
+ E(p.$slots, "default", {}, () => [
960
+ W(O(e.label), 1)
965
961
  ])
966
- ])) : C("", !0),
967
- S("span", Wa, [
968
- E(m.$slots, "icon", {}, () => [
969
- (u(), O(te(c(B))))
962
+ ])) : x("", !0),
963
+ w("span", Ra, [
964
+ E(p.$slots, "icon", {}, () => [
965
+ (u(), V(te(c(B))))
970
966
  ])
971
967
  ]),
972
- g.value ? (u(), h("span", Ua, [
973
- E(m.$slots, "default", {}, () => [
974
- W(V(e.label), 1)
968
+ g.value ? (u(), b("span", ja, [
969
+ E(p.$slots, "default", {}, () => [
970
+ W(O(e.label), 1)
975
971
  ])
976
- ])) : C("", !0)
972
+ ])) : x("", !0)
977
973
  ]),
978
974
  _: 3
979
975
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
980
976
  }
981
- }), Uo = {
977
+ }), Oo = {
982
978
  __name: "BsCaretButton",
983
979
  props: {
984
980
  direction: {
@@ -1012,7 +1008,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1012
1008
  }
1013
1009
  },
1014
1010
  setup(e) {
1015
- return (a, t) => (u(), O(xt, {
1011
+ return (a, t) => (u(), V(xt, {
1016
1012
  disabled: e.disabled,
1017
1013
  "ghost-btn": e.ghostBtn,
1018
1014
  "hover-effect": e.hoverEffect,
@@ -1024,12 +1020,12 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1024
1020
  "text-btn": !1
1025
1021
  }, {
1026
1022
  icon: D(() => [
1027
- e.direction == "right" ? (u(), O(c(Bt), { key: 0 })) : (u(), O(c(It), { key: 1 }))
1023
+ e.direction == "right" ? (u(), V(c($t), { key: 0 })) : (u(), V(c(It), { key: 1 }))
1028
1024
  ]),
1029
1025
  _: 1
1030
1026
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
1031
1027
  }
1032
- }, Go = {
1028
+ }, Vo = {
1033
1029
  __name: "BsCaretTextButton",
1034
1030
  props: {
1035
1031
  direction: {
@@ -1068,7 +1064,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1068
1064
  }
1069
1065
  },
1070
1066
  setup(e) {
1071
- return (a, t) => (u(), O(xt, {
1067
+ return (a, t) => (u(), V(xt, {
1072
1068
  disabled: e.disabled,
1073
1069
  "ghost-btn": e.ghostBtn,
1074
1070
  "hover-effect": e.hoverEffect,
@@ -1081,20 +1077,20 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1081
1077
  variant: e.variant
1082
1078
  }, {
1083
1079
  icon: D(() => [
1084
- e.direction == "right" ? (u(), O(c(Ft), { key: 0 })) : (u(), O(c(Rt), { key: 1 }))
1080
+ e.direction == "right" ? (u(), V(c(Ft), { key: 0 })) : (u(), V(c(Rt), { key: 1 }))
1085
1081
  ]),
1086
1082
  default: D(() => [
1087
1083
  E(a.$slots, "default", {}, () => [
1088
- W(V(e.label), 1)
1084
+ W(O(e.label), 1)
1089
1085
  ])
1090
1086
  ]),
1091
1087
  _: 3
1092
1088
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size", "variant"]));
1093
1089
  }
1094
- }, Ga = {
1090
+ }, Wa = {
1095
1091
  class: "bs-chart-table",
1096
1092
  "data-component": "bs-chart-table"
1097
- }, Ha = ["summary"], Ka = ["colspan"], Ya = { scope: "col" }, Za = { scope: "row" }, Xa = {
1093
+ }, Ua = ["summary"], Ga = ["colspan"], Ha = { scope: "col" }, Ka = { scope: "row" }, Ya = {
1098
1094
  __name: "BsChartTable",
1099
1095
  props: {
1100
1096
  chartType: {
@@ -1128,143 +1124,143 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Wo = /* @__PURE__ */ Objec
1128
1124
  }
1129
1125
  },
1130
1126
  setup(e) {
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(" ");
1127
+ const a = e, t = I(!1), l = (m) => {
1128
+ const h = new Date(m), v = h.toTimeString().split(" ")[0], g = h.toDateString().split(" ").slice(1, 3).join(" ");
1133
1129
  return `${v} (${g})`;
1134
- }, n = p(() => {
1135
- var f;
1136
- return !((f = a.dataIdxLabels) != null && f.length);
1130
+ }, n = f(() => {
1131
+ var m;
1132
+ return !((m = a.dataIdxLabels) != null && m.length);
1137
1133
  });
1138
- function i(f) {
1134
+ function i(m) {
1139
1135
  try {
1140
- return f.map((b) => {
1141
- const v = b.label;
1136
+ return m.map((h) => {
1137
+ const v = h.label;
1142
1138
  let g = [];
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), {});
1139
+ if (h.data.some((y) => (y == null ? void 0 : y.x) && (y == null ? void 0 : y.y))) {
1140
+ const y = h.data.reduce((B, p) => (B[p.x] = p.y, B), {});
1145
1141
  g = a.dataIdxLabels.map((B) => ({ value: y[B] ?? null }));
1146
1142
  } else
1147
- g = b.data.map((y) => ({ value: y }));
1143
+ g = h.data.map((y) => ({ value: y }));
1148
1144
  return { rowLabel: v, dataCells: g };
1149
1145
  });
1150
1146
  } catch {
1151
1147
  return [];
1152
1148
  }
1153
1149
  }
1154
- function d(f) {
1150
+ function d(m) {
1155
1151
  try {
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));
1152
+ const h = m.reduce((y, B) => {
1153
+ const p = B.data.map((S) => S == null ? void 0 : S.x);
1154
+ return [...y, ...p];
1155
+ }, []), v = Array.from(new Set(h));
1160
1156
  return (a.xAxisType === "time" || a.xAxisType === "linear") && v.sort((y, B) => (typeof y == "string" && typeof B == "string" && (y = y.toLowerCase(), B = B.toLowerCase()), y < B ? -1 : y > B ? 1 : 0)), v.map((y) => {
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;
1157
+ const B = { rowLabel: y }, p = [];
1158
+ return m.forEach((S) => {
1159
+ const C = { datasetLabel: S.label }, $ = S.data.find((M) => M.x === y);
1160
+ C.value = $ ? $.y : null, p.push(C);
1161
+ }), B.dataCells = p, a.xAxisType === "time" && (B.rowLabelFmt = l(y)), B;
1166
1162
  });
1167
1163
  } catch {
1168
1164
  return [];
1169
1165
  }
1170
1166
  }
1171
- const o = p(() => n.value ? d(a.data) : i(a.data)), s = p(() => ({
1167
+ const o = f(() => n.value ? d(a.data) : i(a.data)), s = f(() => ({
1172
1168
  colspan: n.value ? a.data.length + 1 : a.dataIdxLabels.length + 1,
1173
1169
  title: a.tableTitle,
1174
1170
  colHeadingFirst: n.value ? a.xLabel : "Dataset",
1175
- colHeadings: n.value ? a.data.map((f) => f.label) : a.dataIdxLabels,
1171
+ colHeadings: n.value ? a.data.map((m) => m.label) : a.dataIdxLabels,
1176
1172
  rows: o.value
1177
- })), r = p(() => {
1178
- var f;
1179
- return t.value && !!((f = o.value) != null && f.length);
1173
+ })), r = f(() => {
1174
+ var m;
1175
+ return t.value && !!((m = o.value) != null && m.length);
1180
1176
  });
1181
1177
  return H(() => {
1182
1178
  t.value = !0;
1183
- }), (f, b) => (u(), h("div", Ga, [
1184
- r.value ? (u(), h("table", {
1179
+ }), (m, h) => (u(), b("div", Wa, [
1180
+ r.value ? (u(), b("table", {
1185
1181
  key: 0,
1186
1182
  summary: s.value.title
1187
1183
  }, [
1188
- S("thead", null, [
1189
- S("tr", null, [
1190
- S("th", {
1184
+ w("thead", null, [
1185
+ w("tr", null, [
1186
+ w("th", {
1191
1187
  colspan: s.value.colspan
1192
- }, V(s.value.title), 9, Ka)
1188
+ }, O(s.value.title), 9, Ga)
1193
1189
  ]),
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", {
1190
+ w("tr", null, [
1191
+ w("th", Ha, O(s.value.colHeadingFirst), 1),
1192
+ (u(!0), b(G, null, ee(s.value.colHeadings, (v) => (u(), b("th", {
1197
1193
  key: v,
1198
1194
  scope: "col"
1199
- }, V(v), 1))), 128))
1195
+ }, O(v), 1))), 128))
1200
1196
  ])
1201
1197
  ]),
1202
- S("tbody", null, [
1203
- (u(!0), h(G, null, ee(s.value.rows, (v) => (u(), h("tr", {
1198
+ w("tbody", null, [
1199
+ (u(!0), b(G, null, ee(s.value.rows, (v) => (u(), b("tr", {
1204
1200
  key: v.rowLabelFmt || v.rowLabel
1205
1201
  }, [
1206
- S("th", Za, V(v.rowLabelFmt || v.rowLabel), 1),
1207
- (u(!0), h(G, null, ee(v.dataCells, (g) => (u(), h("td", {
1202
+ w("th", Ka, O(v.rowLabelFmt || v.rowLabel), 1),
1203
+ (u(!0), b(G, null, ee(v.dataCells, (g) => (u(), b("td", {
1208
1204
  key: `${v.rowLabelFmt || v.rowLabel}${g.datasetLabel}${g.value}`
1209
- }, V(g.value), 1))), 128))
1205
+ }, O(g.value), 1))), 128))
1210
1206
  ]))), 128))
1211
1207
  ])
1212
- ], 8, Ha)) : C("", !0)
1208
+ ], 8, Ua)) : x("", !0)
1213
1209
  ]));
1214
1210
  }
1215
- }, Ee = 16, Qa = 20;
1216
- function Ja(e, a) {
1217
- const t = I(null), l = I(!1), n = I(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Qa };
1211
+ }, Ee = 16, Za = 20;
1212
+ function Xa(e, a) {
1213
+ const t = I(null), l = I(!1), n = I(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Za };
1218
1214
  let s, r;
1219
- function f(m, w) {
1220
- let k;
1221
- switch (m) {
1215
+ function m(p, S) {
1216
+ let C;
1217
+ switch (p) {
1222
1218
  case "bar":
1223
- k = "setBarChartConfigs";
1219
+ C = "setBarChartConfigs";
1224
1220
  break;
1225
1221
  case "line":
1226
- k = "setLineChartConfigs";
1222
+ C = "setLineChartConfigs";
1227
1223
  break;
1228
1224
  default:
1229
- throw new Error(`Unsupported chart type: ${m}`);
1225
+ throw new Error(`Unsupported chart type: ${p}`);
1230
1226
  }
1231
- return new ln().setCommonConfigs(w).setCustomOptions(w)[k](w).setPlugins([_a(n), ta]).build();
1227
+ return new an().setCommonConfigs(S).setCustomOptions(S)[C](S).setPlugins([Qa(n), ta]).build();
1232
1228
  }
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);
1229
+ function h(p) {
1230
+ p.preventDefault(), p.stopImmediatePropagation();
1231
+ const S = p.target.closest("li");
1232
+ if (S && s) {
1233
+ const { labelIndex: C, datasetIndex: $ } = S.dataset;
1234
+ s.setDatasetVisibility($, !s.isDatasetVisible($)), s.update(), p.preventDefault(), p.stopImmediatePropagation(), v($, C);
1239
1235
  }
1240
1236
  }
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($);
1237
+ function v(p, S) {
1238
+ var M;
1239
+ const C = `[data-dataset-index="${p}"][data-label-index="${S}"]`, $ = n.value.querySelector(C);
1240
+ (M = $ == null ? void 0 : $.focus) == null || M.call($);
1245
1241
  }
1246
- function g(...m) {
1247
- !r || !t.value || (je.register(...m), je.defaults.font.family = "'Roobert', sans-serif", s = new je(t.value, r));
1242
+ function g(...p) {
1243
+ !r || !t.value || (je.register(...p), je.defaults.font.family = "'Roobert', sans-serif", s = new je(t.value, r));
1248
1244
  }
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());
1245
+ const y = Ve(function(p) {
1246
+ r && (r.updateOptions(p), s.options = r.options, s.update());
1247
+ }, 100), B = Ve(function(p) {
1248
+ r && (r.updateData(p), s.data = r.data, s.update());
1253
1249
  }, 100);
1254
1250
  return Qe(
1255
1251
  i,
1256
- (m) => l.value = m == null ? void 0 : m.matches,
1252
+ (p) => l.value = p == null ? void 0 : p.matches,
1257
1253
  [l]
1258
1254
  ), H(() => {
1259
- var m;
1255
+ var p;
1260
1256
  try {
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
+ r = m(e, a), (p = n.value) == null || p.addEventListener("click", h);
1258
+ } catch (S) {
1259
+ console.error("Error creating chart config", S), r = null;
1264
1260
  }
1265
- }), me([" ", "Enter"], b, n), _e(() => {
1266
- var m;
1267
- (m = n.value) == null || m.removeEventListener("click", b), s == null || s.destroy();
1261
+ }), me([" ", "Enter"], h, n), _e(() => {
1262
+ var p;
1263
+ (p = n.value) == null || p.removeEventListener("click", h), s == null || s.destroy();
1268
1264
  }), j([
1269
1265
  () => a.customOptions,
1270
1266
  () => a.showTooltips,
@@ -1277,10 +1273,10 @@ function Ja(e, a) {
1277
1273
  () => a.yMax
1278
1274
  ], () => y(a)), j(
1279
1275
  l,
1280
- (m) => y(Ne(
1276
+ (p) => y(Ne(
1281
1277
  {},
1282
1278
  a,
1283
- m ? o : d
1279
+ p ? o : d
1284
1280
  ))
1285
1281
  ), j(
1286
1282
  [
@@ -1295,7 +1291,7 @@ function Ja(e, a) {
1295
1291
  registerChart: g
1296
1292
  };
1297
1293
  }
1298
- const _a = (e) => ({
1294
+ const Qa = (e) => ({
1299
1295
  id: "htmlLegend",
1300
1296
  afterUpdate(a) {
1301
1297
  e.value.innerHTML = "", e.value.style.setProperty("--cjs-legend-padding-inline", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((l) => {
@@ -1361,10 +1357,10 @@ function tt(e, a = 1) {
1361
1357
  ], l = t[e % t.length], n = Math.floor(e / t.length) + a;
1362
1358
  return `rgba(${l.toString()}, ${1 / n})`;
1363
1359
  }
1364
- function en(e) {
1360
+ function Ja(e) {
1365
1361
  return tt(e);
1366
1362
  }
1367
- function tn(e) {
1363
+ function _a(e) {
1368
1364
  return {
1369
1365
  maintainAspectRatio: !1,
1370
1366
  plugins: {
@@ -1397,8 +1393,8 @@ function nt(e) {
1397
1393
  yLabel: o,
1398
1394
  yMax: s,
1399
1395
  yMin: r,
1400
- customOptions: f,
1401
- tickSize: b
1396
+ customOptions: m,
1397
+ tickSize: h
1402
1398
  } = e, v = {
1403
1399
  x: {
1404
1400
  grid: {
@@ -1408,7 +1404,7 @@ function nt(e) {
1408
1404
  stacked: n,
1409
1405
  ticks: {
1410
1406
  font: {
1411
- size: b || Ee
1407
+ size: h || Ee
1412
1408
  }
1413
1409
  },
1414
1410
  title: {
@@ -1428,7 +1424,7 @@ function nt(e) {
1428
1424
  suggestedMin: r,
1429
1425
  ticks: {
1430
1426
  font: {
1431
- size: b || Ee
1427
+ size: h || Ee
1432
1428
  }
1433
1429
  },
1434
1430
  title: {
@@ -1437,7 +1433,7 @@ function nt(e) {
1437
1433
  }
1438
1434
  }
1439
1435
  };
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 = {
1436
+ return (i === "time" || ((y = (g = m == null ? void 0 : m.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 = {
1441
1437
  tooltipFormat: "dd MMM yyyy : h:mm bbb"
1442
1438
  }), v;
1443
1439
  }
@@ -1471,7 +1467,7 @@ class Tt {
1471
1467
  return a;
1472
1468
  }
1473
1469
  }
1474
- class an extends Tt {
1470
+ class en extends Tt {
1475
1471
  constructor({ data: a, options: t, plugins: l }) {
1476
1472
  super({ type: "bar", data: a, options: t, plugins: l });
1477
1473
  }
@@ -1495,7 +1491,7 @@ class an extends Tt {
1495
1491
  this.options = n;
1496
1492
  }
1497
1493
  }
1498
- class nn extends Tt {
1494
+ class tn extends Tt {
1499
1495
  constructor({ data: a, options: t, plugins: l }) {
1500
1496
  super({ type: "line", data: a, options: t, plugins: l });
1501
1497
  }
@@ -1503,7 +1499,7 @@ class nn extends Tt {
1503
1499
  return a.map((t, l) => ({
1504
1500
  ...t,
1505
1501
  backgroundColor: tt(l, 2),
1506
- borderColor: en(l),
1502
+ borderColor: Ja(l),
1507
1503
  borderWidth: 4
1508
1504
  }));
1509
1505
  }
@@ -1520,7 +1516,7 @@ class nn extends Tt {
1520
1516
  this.options = n;
1521
1517
  }
1522
1518
  }
1523
- class ln {
1519
+ class an {
1524
1520
  constructor() {
1525
1521
  return this;
1526
1522
  }
@@ -1537,7 +1533,7 @@ class ln {
1537
1533
  */
1538
1534
  setCommonConfigs(a) {
1539
1535
  const { data: t } = a;
1540
- return this.commonOptionsBasic = tn(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1536
+ return this.commonOptionsBasic = _a(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1541
1537
  }
1542
1538
  setCustomOptions(a) {
1543
1539
  return this.customOptions = a.customOptions, this;
@@ -1589,18 +1585,18 @@ class ln {
1589
1585
  };
1590
1586
  switch (this.type) {
1591
1587
  case "bar":
1592
- return new an(a);
1588
+ return new en(a);
1593
1589
  case "line":
1594
- return new nn(a);
1590
+ return new tn(a);
1595
1591
  default:
1596
1592
  throw new Error(`Unsupported chart type: ${this.type}`);
1597
1593
  }
1598
1594
  }
1599
1595
  }
1600
- const on = {
1596
+ const nn = {
1601
1597
  class: "bs-chart bs-chart-bar",
1602
1598
  "data-component": "bs-chart-bar"
1603
- }, rn = ["aria-label"], sn = ["data-hidden"], Ho = {
1599
+ }, ln = ["aria-label"], on = ["data-hidden"], Eo = {
1604
1600
  __name: "BsChartBar",
1605
1601
  props: {
1606
1602
  chartTitle: {
@@ -1671,7 +1667,7 @@ const on = {
1671
1667
  }
1672
1668
  },
1673
1669
  setup(e) {
1674
- const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Ja("bar", a), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1670
+ const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Xa("bar", a), i = f(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1675
1671
  return H(() => n(
1676
1672
  aa,
1677
1673
  na,
@@ -1680,18 +1676,18 @@ const on = {
1680
1676
  ia,
1681
1677
  ra,
1682
1678
  sa
1683
- )), (d, o) => (u(), h("div", on, [
1684
- S("figure", null, [
1685
- S("div", null, [
1686
- S("canvas", {
1679
+ )), (d, o) => (u(), b("div", nn, [
1680
+ w("figure", null, [
1681
+ w("div", null, [
1682
+ w("canvas", {
1687
1683
  "aria-label": i.value,
1688
1684
  ref_key: "canvasRef",
1689
1685
  ref: t,
1690
1686
  role: "img"
1691
- }, null, 8, rn)
1687
+ }, null, 8, ln)
1692
1688
  ]),
1693
- S("div", null, [
1694
- P(Xa, {
1689
+ w("div", null, [
1690
+ P(Ya, {
1695
1691
  "chart-type": "bar",
1696
1692
  data: e.data,
1697
1693
  "data-idx-labels": e.dataIdxLabels,
@@ -1700,19 +1696,19 @@ const on = {
1700
1696
  "x-label": e.xLabel,
1701
1697
  "y-label": e.yLabel
1702
1698
  }, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
1703
- S("figcaption", {
1699
+ w("figcaption", {
1704
1700
  "data-hidden": !e.showLegend
1705
1701
  }, [
1706
- S("ul", {
1702
+ w("ul", {
1707
1703
  ref_key: "legendListRef",
1708
1704
  ref: l
1709
1705
  }, null, 512)
1710
- ], 8, sn)
1706
+ ], 8, on)
1711
1707
  ])
1712
1708
  ])
1713
1709
  ]));
1714
1710
  }
1715
- }, dn = ["data-disabled", "data-error", "data-size"], un = ["checked", "data-error", "disabled", "id", "required", "value"], Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1711
+ }, rn = ["data-disabled", "data-error", "data-size"], sn = ["checked", "data-error", "disabled", "id", "required", "value"], Lo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1716
1712
  __name: "BsCheckbox",
1717
1713
  props: {
1718
1714
  /** Sets the label. */
@@ -1775,56 +1771,56 @@ const on = {
1775
1771
  },
1776
1772
  emits: ["update:modelValue"],
1777
1773
  setup(e, { emit: a }) {
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);
1774
+ const t = e, l = a, [n] = Z(), i = f(() => et.concat(t.passAttrs.split(","))), d = I(null), o = f(() => t.inputId || n.value), s = f(() => t.checked || h.value), r = f(() => t.indeterminate || t.checkedPartially), m = f(() => Array.isArray(t.modelValue) && t.value), h = f(() => m.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1779
1775
  function v() {
1780
1776
  d.value && (d.value.indeterminate = r.value && !s.value);
1781
1777
  }
1782
- function g(m) {
1783
- l("update:modelValue", m);
1778
+ function g(p) {
1779
+ l("update:modelValue", p);
1784
1780
  }
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
+ function y(p) {
1782
+ const S = [...t.modelValue];
1783
+ p ? S.push(t.value) : S.splice(S.indexOf(t.value), 1), l("update:modelValue", S);
1788
1784
  }
1789
- function B(m) {
1790
- const { checked: w } = m.target;
1791
- f.value ? y(w) : g(w);
1785
+ function B(p) {
1786
+ const { checked: S } = p.target;
1787
+ m.value ? y(S) : g(S);
1792
1788
  }
1793
- return j(s, v), j(r, v), H(v), (m, w) => (u(), h("div", z({
1789
+ return j(s, v), j(r, v), H(v), (p, S) => (u(), b("div", z({
1794
1790
  class: "bs-boolean",
1795
1791
  "data-component": "bs-checkbox",
1796
1792
  "data-disabled": e.disabled,
1797
1793
  "data-error": e.error,
1798
1794
  "data-size": e.size
1799
- }, c(Y)(m.$attrs, i.value).remaining), [
1800
- S("input", z({
1795
+ }, c(Y)(p.$attrs, i.value).remaining), [
1796
+ w("input", z({
1801
1797
  ref_key: "inputEl",
1802
1798
  ref: d,
1803
1799
  checked: s.value,
1804
1800
  "data-error": e.error,
1805
1801
  disabled: e.disabled,
1806
- id: m.$attrs.id || o.value,
1802
+ id: p.$attrs.id || o.value,
1807
1803
  required: e.required,
1808
1804
  value: e.value || "on",
1809
1805
  type: "checkbox",
1810
1806
  onChange: B
1811
- }, c(Y)(m.$attrs, i.value).filtered), null, 16, un),
1812
- e.label || m.$slots.label ? (u(), O(ae, {
1807
+ }, c(Y)(p.$attrs, i.value).filtered), null, 16, sn),
1808
+ e.label || p.$slots.label ? (u(), V(ae, {
1813
1809
  key: 0,
1814
- for: m.$attrs.id || o.value,
1810
+ for: p.$attrs.id || o.value,
1815
1811
  disabled: e.disabled,
1816
1812
  required: e.required
1817
1813
  }, {
1818
1814
  default: D(() => [
1819
- E(m.$slots, "label", {}, () => [
1820
- W(V(e.label), 1)
1815
+ E(p.$slots, "label", {}, () => [
1816
+ W(O(e.label), 1)
1821
1817
  ])
1822
1818
  ]),
1823
1819
  _: 3
1824
- }, 8, ["for", "disabled", "required"])) : C("", !0)
1825
- ], 16, dn));
1820
+ }, 8, ["for", "disabled", "required"])) : x("", !0)
1821
+ ], 16, rn));
1826
1822
  }
1827
- }), cn = {
1823
+ }), dn = {
1828
1824
  __name: "BsDropdownContainer",
1829
1825
  props: {
1830
1826
  breakout: {
@@ -1846,15 +1842,15 @@ const on = {
1846
1842
  },
1847
1843
  setup(e, { expose: a }) {
1848
1844
  const t = I(null);
1849
- return a({ internalContainerRef: t }), (l, n) => (u(), h(G, null, [
1850
- e.breakout && e.breakoutMounted ? (u(), O(Nt, {
1845
+ return a({ internalContainerRef: t }), (l, n) => (u(), b(G, null, [
1846
+ e.breakout && e.breakoutMounted ? (u(), V(Nt, {
1851
1847
  key: 0,
1852
1848
  to: e.breakoutStub
1853
1849
  }, [
1854
1850
  E(l.$slots, "default")
1855
- ], 8, ["to"])) : C("", !0),
1856
- e.breakout ? C("", !0) : (u(), h(G, { key: 1 }, [
1857
- e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), h("div", {
1851
+ ], 8, ["to"])) : x("", !0),
1852
+ e.breakout ? x("", !0) : (u(), b(G, { key: 1 }, [
1853
+ e.containerId ? E(l.$slots, "default", { key: 0 }) : (u(), b("div", {
1858
1854
  key: 1,
1859
1855
  ref_key: "internalContainerRef",
1860
1856
  ref: t,
@@ -1897,7 +1893,7 @@ const on = {
1897
1893
  ],
1898
1894
  setup(e, { emit: a }) {
1899
1895
  const t = a;
1900
- return (l, n) => e.preloaded ? ue((u(), O(st, {
1896
+ return (l, n) => e.preloaded ? ue((u(), V(st, {
1901
1897
  key: 0,
1902
1898
  name: e.name,
1903
1899
  onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
@@ -1915,7 +1911,7 @@ const on = {
1915
1911
  _: 3
1916
1912
  }, 8, ["name"])), [
1917
1913
  [ce, e.shown]
1918
- ]) : (u(), O(st, {
1914
+ ]) : (u(), V(st, {
1919
1915
  key: 1,
1920
1916
  name: e.name,
1921
1917
  onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
@@ -1928,24 +1924,24 @@ const on = {
1928
1924
  onLeaveCancelled: n[15] || (n[15] = (i) => t("leave-cancelled"))
1929
1925
  }, {
1930
1926
  default: D(() => [
1931
- e.shown ? E(l.$slots, "default", { key: 0 }) : C("", !0)
1927
+ e.shown ? E(l.$slots, "default", { key: 0 }) : x("", !0)
1932
1928
  ]),
1933
1929
  _: 3
1934
1930
  }, 8, ["name"]));
1935
1931
  }
1936
- }, fn = (e, a = void 0, t = "relative") => {
1932
+ }, un = (e, a = void 0, t = "relative") => {
1937
1933
  const l = I(null), n = I(null), i = I(!1);
1938
1934
  let d = !1;
1939
1935
  return H(() => {
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);
1941
- }), $e(() => {
1936
+ e && (l.value = a || gt(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), d = !0) : (n.value = document.createElement("div"), n.value.id = l.value, n.value.style.position = t, document.body.insertAdjacentElement("afterbegin", n.value)), i.value = !0);
1937
+ }), Be(() => {
1942
1938
  var o;
1943
1939
  e && !d && ((o = document.getElementById(l.value)) == null || o.remove());
1944
1940
  }), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
1945
- }, pn = {
1941
+ }, cn = {
1946
1942
  key: 0,
1947
1943
  class: "bs-dropdown-backdrop"
1948
- }, mn = ["data-width", "data-shown", "data-no-mobile"], hn = { key: 0 }, bn = { key: 0 }, vn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1944
+ }, fn = ["data-width", "data-shown", "data-no-mobile"], pn = { key: 0 }, mn = { key: 0 }, bn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1949
1945
  __name: "BsDropdownNew",
1950
1946
  props: {
1951
1947
  anchorId: {
@@ -1998,65 +1994,65 @@ const on = {
1998
1994
  "after-leave"
1999
1995
  ],
2000
1996
  setup(e, { emit: a }) {
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);
1997
+ const t = e, l = a, n = I(null), i = I(null), d = I(!1), o = I(!1), s = f(() => document.getElementById(t.anchorId)), r = f(() => t.breakout ? h.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), m = f(() => t.width === "anchor" ? void 0 : t.width);
2002
1998
  Ct([i, s], () => {
2003
1999
  o.value && l("close");
2004
2000
  }), me(["Escape"], () => {
2005
2001
  o.value && l("close");
2006
2002
  });
2007
- const { breakoutStub: b, breakoutMounted: v } = fn(t.breakout, t.containerId);
2008
- fe("dropdownEnter", d), fe("dropdownAfterEnter", o), fe("dropdownShown", p(() => t.shown));
2009
- const g = (x, q) => {
2010
- i.value.style.setProperty(x, q);
2003
+ const { breakoutStub: h, breakoutMounted: v } = un(t.breakout, t.containerId);
2004
+ fe("dropdownEnter", d), fe("dropdownAfterEnter", o), fe("dropdownShown", f(() => t.shown));
2005
+ const g = (k, A) => {
2006
+ i.value.style.setProperty(k, A);
2011
2007
  };
2012
2008
  function y() {
2013
- const x = r.value.getBoundingClientRect(), q = s.value.getBoundingClientRect(), F = i.value.getBoundingClientRect();
2014
- B(x, q), m(x, q, F);
2009
+ const k = r.value.getBoundingClientRect(), A = s.value.getBoundingClientRect(), F = i.value.getBoundingClientRect();
2010
+ B(k, A), p(k, A, F);
2015
2011
  }
2016
- function B(x, q) {
2012
+ function B(k, A) {
2017
2013
  if (t.position === "top") {
2018
- const F = x.bottom - q.bottom;
2019
- g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${F + q.height + 8}px`);
2014
+ const F = k.bottom - A.bottom;
2015
+ g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${F + A.height + 8}px`);
2020
2016
  } else {
2021
- const F = q.top - x.top;
2022
- g("--dropdown-wscreen-top", `${F + q.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2017
+ const F = A.top - k.top;
2018
+ g("--dropdown-wscreen-top", `${F + A.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2023
2019
  }
2024
2020
  }
2025
- function m(x, q, F) {
2026
- const _ = q.left - x.left;
2021
+ function p(k, A, F) {
2022
+ const _ = A.left - k.left;
2027
2023
  if (t.position === "center") {
2028
- const J = (q.width - F.width) / 2;
2024
+ const J = (A.width - F.width) / 2;
2029
2025
  g("--dropdown-wscreen-left", `${_ + J}px`), g("--dropdown-wscreen-right", "auto");
2030
2026
  } else if (t.position === "right") {
2031
- const J = x.right - q.right;
2027
+ const J = k.right - A.right;
2032
2028
  g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${J}px`);
2033
2029
  } else
2034
2030
  g("--dropdown-wscreen-left", `${_}px`), g("--dropdown-wscreen-right", "auto");
2035
2031
  }
2036
- function w() {
2032
+ function S() {
2037
2033
  if (t.width === "anchor") {
2038
- const x = s.value.getBoundingClientRect();
2039
- g("--dropdown-wscreen-width", `${x.width}px`);
2034
+ const k = s.value.getBoundingClientRect();
2035
+ g("--dropdown-wscreen-width", `${k.width}px`);
2040
2036
  } else
2041
2037
  g("--dropdown-wscreen-width", "");
2042
2038
  }
2043
- function k() {
2044
- d.value = !0, y(), w(), l("enter");
2039
+ function C() {
2040
+ d.value = !0, y(), S(), l("enter");
2045
2041
  }
2046
2042
  function $() {
2047
2043
  o.value = !0, l("after-enter");
2048
2044
  }
2049
- function A() {
2045
+ function M() {
2050
2046
  d.value = !1, o.value = !1, l("after-leave");
2051
2047
  }
2052
- return (x, q) => (u(), h(G, null, [
2053
- e.useMobileStyle && e.shown ? (u(), h("div", pn)) : C("", !0),
2054
- P(cn, {
2048
+ return (k, A) => (u(), b(G, null, [
2049
+ e.useMobileStyle && e.shown ? (u(), b("div", cn)) : x("", !0),
2050
+ P(dn, {
2055
2051
  ref_key: "dropdownContainerRef",
2056
2052
  ref: n,
2057
2053
  breakout: e.breakout,
2058
2054
  breakoutMounted: c(v),
2059
- breakoutStub: c(b),
2055
+ breakoutStub: c(h),
2060
2056
  containerId: e.containerId
2061
2057
  }, {
2062
2058
  default: D(() => [
@@ -2065,33 +2061,33 @@ const on = {
2065
2061
  preloaded: e.preloaded,
2066
2062
  shown: e.shown,
2067
2063
  onAfterEnter: $,
2068
- onEnter: k,
2069
- onAfterLeave: A
2064
+ onEnter: C,
2065
+ onAfterLeave: M
2070
2066
  }, {
2071
2067
  default: D(() => [
2072
- S("div", z({
2068
+ w("div", z({
2073
2069
  ref_key: "dropdownRef",
2074
2070
  ref: i,
2075
2071
  class: "bs-dropdown",
2076
- "data-width": f.value,
2072
+ "data-width": m.value,
2077
2073
  "data-shown": e.shown,
2078
2074
  "data-no-mobile": !e.useMobileStyle
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)
2075
+ }, k.$attrs), [
2076
+ e.helperText ? (u(), b("header", pn, [
2077
+ w("div", null, [
2078
+ w("h3", null, O(e.helperText), 1),
2079
+ e.helperDescription ? (u(), b("p", mn, O(e.helperDescription), 1)) : x("", !0)
2084
2080
  ]),
2085
- S("button", {
2081
+ w("button", {
2086
2082
  type: "button",
2087
2083
  title: "close",
2088
- onClick: q[0] || (q[0] = () => l("close"))
2084
+ onClick: A[0] || (A[0] = () => l("close"))
2089
2085
  }, [
2090
- P(c(Be))
2086
+ P(c($e))
2091
2087
  ])
2092
- ])) : C("", !0),
2093
- E(x.$slots, "default")
2094
- ], 16, mn)
2088
+ ])) : x("", !0),
2089
+ E(k.$slots, "default")
2090
+ ], 16, fn)
2095
2091
  ]),
2096
2092
  _: 3
2097
2093
  }, 8, ["preloaded", "shown"])
@@ -2190,8 +2186,8 @@ const on = {
2190
2186
  "after-leave"
2191
2187
  ],
2192
2188
  setup(e, { emit: a }) {
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);
2194
- return (s, r) => (u(), O(vn, {
2189
+ const t = e, l = a, { transition: n } = Le(t), i = f(() => t.width === "toggle" ? "anchor" : t.width), d = f(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = f(() => t.toggleId ? t.toggleId : t.anchorId);
2190
+ return (s, r) => (u(), V(bn, {
2195
2191
  "anchor-id": o.value,
2196
2192
  breakout: e.breakout,
2197
2193
  "container-id": e.containerId,
@@ -2213,7 +2209,7 @@ const on = {
2213
2209
  _: 3
2214
2210
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
2215
2211
  }
2216
- }, gn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], yn = { class: "visually-hidden" }, Sn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2212
+ }, hn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], vn = { class: "visually-hidden" }, gn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2217
2213
  __name: "BsInputCombobox",
2218
2214
  props: {
2219
2215
  containerId: {
@@ -2255,7 +2251,7 @@ const on = {
2255
2251
  setup(e, { emit: a }) {
2256
2252
  const t = e, l = a;
2257
2253
  let n = !1;
2258
- const i = I(null), [d] = Z(1), o = p(() => ({
2254
+ const i = I(null), [d] = Z(1), o = f(() => ({
2259
2255
  icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
2260
2256
  show: !!(t.modelValue || t.optionsId),
2261
2257
  text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
@@ -2263,20 +2259,20 @@ const on = {
2263
2259
  function s() {
2264
2260
  t.modelValue && l("clear"), n = !0, i.value.$el.focus();
2265
2261
  }
2266
- function r(b) {
2262
+ function r(h) {
2267
2263
  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;
2264
+ const v = ((y = h.relatedTarget) == null ? void 0 : y.id) === d.value;
2265
+ !(((B = h.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!v || !n) && m(!0), n = !1;
2270
2266
  }
2271
- const f = Oe((b) => l("toggled", b), 200, !0);
2272
- return (b, v) => (u(), O(De, {
2267
+ const m = Ve((h) => l("toggled", h), 200, !0);
2268
+ return (h, v) => (u(), V(De, {
2273
2269
  "aria-live": "polite",
2274
2270
  disabled: e.disabled,
2275
2271
  error: e.error,
2276
2272
  id: e.containerId,
2277
2273
  multifocus: !1,
2278
2274
  variant: "combobox",
2279
- onClick: c(f)
2275
+ onClick: c(m)
2280
2276
  }, {
2281
2277
  default: D(() => [
2282
2278
  P(Ie, z({
@@ -2295,9 +2291,9 @@ const on = {
2295
2291
  required: e.required,
2296
2292
  role: e.optionsId ? "combobox" : void 0,
2297
2293
  onFocus: r,
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
+ onInput: v[0] || (v[0] = (g) => h.$emit("update:modelValue", g.target.value))
2295
+ }, h.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
2296
+ ue(w("button", {
2301
2297
  "aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
2302
2298
  "aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
2303
2299
  "data-open": e.modelValue ? void 0 : e.open,
@@ -2308,27 +2304,27 @@ const on = {
2308
2304
  type: "button",
2309
2305
  onClick: s
2310
2306
  }, [
2311
- S("span", yn, V(o.value.text), 1),
2307
+ w("span", vn, O(o.value.text), 1),
2312
2308
  ue(P(c(Me), {
2313
2309
  role: "presentation",
2314
2310
  size: "md"
2315
2311
  }, null, 512), [
2316
2312
  [ce, o.value.icon == "caret-down"]
2317
2313
  ]),
2318
- ue(P(c(Be), {
2314
+ ue(P(c($e), {
2319
2315
  role: "presentation",
2320
2316
  size: "md"
2321
2317
  }, null, 512), [
2322
2318
  [ce, o.value.icon == "close"]
2323
2319
  ])
2324
- ], 8, gn), [
2320
+ ], 8, hn), [
2325
2321
  [ce, o.value.show]
2326
2322
  ])
2327
2323
  ]),
2328
2324
  _: 1
2329
2325
  }, 8, ["disabled", "error", "id", "onClick"]));
2330
2326
  }
2331
- }), wn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], $n = {
2327
+ }), yn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], Sn = {
2332
2328
  __name: "BsFilterButton",
2333
2329
  props: {
2334
2330
  badgeCount: {
@@ -2357,8 +2353,8 @@ const on = {
2357
2353
  }
2358
2354
  },
2359
2355
  setup(e) {
2360
- const a = e, t = p(() => a.badgeCount > 0);
2361
- return (l, n) => (u(), h("button", {
2356
+ const a = e, t = f(() => a.badgeCount > 0);
2357
+ return (l, n) => (u(), b("button", {
2362
2358
  class: "bs-filter-button",
2363
2359
  "aria-controls": e.optionsId,
2364
2360
  "aria-expanded": e.open,
@@ -2369,21 +2365,21 @@ const on = {
2369
2365
  disabled: e.disabled,
2370
2366
  type: "button"
2371
2367
  }, [
2372
- t.value ? (u(), O(wa, {
2368
+ t.value ? (u(), V(wa, {
2373
2369
  key: 0,
2374
2370
  color: "blue",
2375
2371
  count: e.badgeCount,
2376
2372
  label: "active filter",
2377
2373
  position: "left",
2378
2374
  variant: "notext"
2379
- }, null, 8, ["count"])) : C("", !0),
2375
+ }, null, 8, ["count"])) : x("", !0),
2380
2376
  E(l.$slots, "label", {}, () => [
2381
- W(V(e.label), 1)
2377
+ W(O(e.label), 1)
2382
2378
  ]),
2383
2379
  P(c(Me))
2384
- ], 8, wn));
2380
+ ], 8, yn));
2385
2381
  }
2386
- }, Bn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2382
+ }, wn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2387
2383
  __name: "BsDropdownOption",
2388
2384
  props: {
2389
2385
  value: {
@@ -2397,11 +2393,11 @@ const on = {
2397
2393
  },
2398
2394
  setup(e) {
2399
2395
  const a = e, t = I(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2400
- }), i = p(() => `${l.value}-option-${a.value}`);
2396
+ }), i = f(() => `${l.value}-option-${a.value}`);
2401
2397
  function d(o) {
2402
2398
  n(t.value), o.stopPropagation();
2403
2399
  }
2404
- return (o, s) => (u(), h("li", {
2400
+ return (o, s) => (u(), b("li", {
2405
2401
  ref_key: "optionRef",
2406
2402
  ref: t,
2407
2403
  "data-component": "bs-dropdown-option",
@@ -2413,9 +2409,9 @@ const on = {
2413
2409
  onClick: d
2414
2410
  }, [
2415
2411
  E(o.$slots, "default")
2416
- ], 8, Bn));
2412
+ ], 8, wn));
2417
2413
  }
2418
- }, In = ["data-img-size", "data-initials", "data-no-img"], kn = ["src", "alt"], At = {
2414
+ }, Bn = ["data-img-size", "data-initials", "data-no-img"], $n = ["src", "alt"], At = {
2419
2415
  __name: "BsProfileImg",
2420
2416
  props: {
2421
2417
  src: String,
@@ -2435,22 +2431,22 @@ const on = {
2435
2431
  },
2436
2432
  setup(e) {
2437
2433
  const a = e, t = I(!1), l = I(!!a.src);
2438
- return H(() => t.value = !0), (n, i) => (u(), h("div", {
2434
+ return H(() => t.value = !0), (n, i) => (u(), b("div", {
2439
2435
  class: "bs-profile-img",
2440
2436
  "data-component": "bs-profile-img",
2441
2437
  "data-img-size": e.size,
2442
2438
  "data-initials": e.initials,
2443
2439
  "data-no-img": !l.value
2444
2440
  }, [
2445
- l.value && t.value ? (u(), h("img", {
2441
+ l.value && t.value ? (u(), b("img", {
2446
2442
  key: 0,
2447
2443
  src: e.src,
2448
2444
  alt: e.useAltText ? e.profileName : "",
2449
2445
  onError: i[0] || (i[0] = (d) => l.value = !1)
2450
- }, null, 40, kn)) : C("", !0)
2451
- ], 8, In));
2446
+ }, null, 40, $n)) : x("", !0)
2447
+ ], 8, Bn));
2452
2448
  }
2453
- }, Cn = ["id", "data-checked"], xn = { key: 1 }, Tn = ["innerHTML"], An = { key: 4 }, Vn = { key: 5 }, On = {
2449
+ }, In = ["id", "data-checked"], kn = { key: 1 }, Cn = ["innerHTML"], xn = { key: 4 }, Tn = { key: 5 }, An = {
2454
2450
  key: 0,
2455
2451
  role: "option",
2456
2452
  "data-no-hover": ""
@@ -2487,7 +2483,7 @@ const on = {
2487
2483
  },
2488
2484
  setup(e) {
2489
2485
  const a = e, t = {};
2490
- gt(() => {
2486
+ yt(() => {
2491
2487
  l();
2492
2488
  }), j(() => a.options, () => {
2493
2489
  l();
@@ -2511,48 +2507,48 @@ const on = {
2511
2507
  function d(o, s) {
2512
2508
  return !!o && o !== s;
2513
2509
  }
2514
- return (o, s) => (u(), h(G, null, [
2515
- (u(!0), h(G, null, ee(e.options, (r) => (u(), O(ot, {
2510
+ return (o, s) => (u(), b(G, null, [
2511
+ (u(!0), b(G, null, ee(e.options, (r) => (u(), V(ot, {
2516
2512
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
2517
2513
  key: r.value,
2518
2514
  value: r.value,
2519
2515
  variant: n(r)
2520
2516
  }, {
2521
2517
  default: D(() => [
2522
- r.checkbox ? (u(), h("span", {
2518
+ r.checkbox ? (u(), b("span", {
2523
2519
  key: 0,
2524
2520
  id: r.checkbox.inputId,
2525
2521
  "aria-hidden": "true",
2526
2522
  class: "bs-checkbox",
2527
2523
  "data-checked": r.checkbox.checked
2528
- }, null, 8, Cn)) : C("", !0),
2529
- r.icon ? (u(), h("span", xn, [
2530
- (u(), O(te(t[r.icon])))
2531
- ])) : C("", !0),
2532
- r.profileImg ? (u(), O(At, {
2524
+ }, null, 8, In)) : x("", !0),
2525
+ r.icon ? (u(), b("span", kn, [
2526
+ (u(), V(te(t[r.icon])))
2527
+ ])) : x("", !0),
2528
+ r.profileImg ? (u(), V(At, {
2533
2529
  key: 2,
2534
2530
  src: r.profileImg.src,
2535
2531
  size: "xs",
2536
2532
  initials: r.profileImg.initials,
2537
2533
  "profile-name": r.profileImg.profileName,
2538
2534
  "use-alt-text": d(r.profileImg.profileName, r.label)
2539
- }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : C("", !0),
2540
- r.labelHtml ? (u(), h("span", {
2535
+ }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : x("", !0),
2536
+ r.labelHtml ? (u(), b("span", {
2541
2537
  key: 3,
2542
2538
  innerHTML: r.labelHtml
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)
2539
+ }, null, 8, Cn)) : (u(), b("span", xn, O(r.label), 1)),
2540
+ r.description ? (u(), b("span", Tn, O(r.description), 1)) : x("", !0)
2545
2541
  ]),
2546
2542
  _: 2
2547
2543
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2548
- e.showNoOptions && e.options.length === 0 ? (u(), h("li", On, [
2544
+ e.showNoOptions && e.options.length === 0 ? (u(), b("li", An, [
2549
2545
  E(o.$slots, "no-options", {}, () => [
2550
- W("No options")
2546
+ s[0] || (s[0] = W("No options"))
2551
2547
  ])
2552
- ])) : C("", !0)
2548
+ ])) : x("", !0)
2553
2549
  ], 64));
2554
2550
  }
2555
- }, En = ["id"], Vt = {
2551
+ }, On = ["id"], Ot = {
2556
2552
  __name: "BsDropdownWithToggle",
2557
2553
  props: {
2558
2554
  anchorId: {
@@ -2606,6 +2602,10 @@ const on = {
2606
2602
  type: Array,
2607
2603
  default: () => []
2608
2604
  },
2605
+ showBadgeCount: {
2606
+ type: Boolean,
2607
+ default: !1
2608
+ },
2609
2609
  toggleId: {
2610
2610
  type: String
2611
2611
  },
@@ -2624,64 +2624,65 @@ const on = {
2624
2624
  },
2625
2625
  emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close", "check-option", "uncheck-option"],
2626
2626
  setup(e, { emit: a }) {
2627
- const t = e, l = a;
2628
- let n = null;
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;
2633
- }
2627
+ const t = e, l = a, n = I(t.selectedOptions.length);
2628
+ let i = null;
2629
+ const [d, o] = Z(2), s = I(!1), r = () => i || (i = document.getElementById(v.value)), m = f(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => Pn) : Promise.resolve().then(() => En)))), h = f(() => t.optionsId || o.value), v = f(() => t.toggleId || d.value);
2634
2630
  function g() {
2635
- var A, x;
2636
- o.value = !1, l("close"), v() && ((x = (A = s()) == null ? void 0 : A.focus) == null || x.call(A));
2631
+ const k = document.activeElement;
2632
+ return !k || k.tagName === "BODY" || k.id === h.value;
2637
2633
  }
2638
2634
  function y() {
2639
- o.value && g();
2635
+ var k, A;
2636
+ s.value = !1, l("close"), g() && ((A = (k = r()) == null ? void 0 : k.focus) == null || A.call(k));
2640
2637
  }
2641
2638
  function B() {
2642
- o.value = !0;
2639
+ s.value && y();
2643
2640
  }
2644
- function m(A) {
2645
- l("uncheck-option", A);
2641
+ function p() {
2642
+ s.value = !0;
2646
2643
  }
2647
- function w(A) {
2648
- l("check-option", A);
2644
+ function S(k) {
2645
+ t.multiselect && n.value--, l("uncheck-option", k);
2649
2646
  }
2650
- function k(A) {
2651
- l("update:selectedOptions", A);
2647
+ function C(k) {
2648
+ l("check-option", k);
2652
2649
  }
2653
- function $(A) {
2654
- t.multiselect || (l("update:selectedOption", A), g());
2650
+ function $(k) {
2651
+ !n.value && t.multiselect && (n.value = 0), t.multiselect && (n.value = k.length), l("update:selectedOptions", k);
2655
2652
  }
2656
- return (A, x) => (u(), h("div", {
2653
+ function M(k) {
2654
+ t.multiselect || (l("update:selectedOption", k), y());
2655
+ }
2656
+ return (k, A) => (u(), b("div", {
2657
2657
  class: "bs-dropdown-with-toggle",
2658
- id: A.$attrs.id
2658
+ id: k.$attrs.id
2659
2659
  }, [
2660
- E(A.$slots, "toggle", {
2660
+ E(k.$slots, "toggle", {
2661
2661
  anchorId: e.anchorId,
2662
- optionsId: f.value,
2663
- toggleId: b.value
2662
+ optionsId: h.value,
2663
+ toggleId: v.value
2664
2664
  }, () => [
2665
- P($n, {
2666
- "aria-controls": f.value,
2665
+ P(Sn, {
2666
+ "aria-controls": h.value,
2667
2667
  "aria-expanded": e.open,
2668
2668
  disabled: e.disabled,
2669
- id: b.value,
2669
+ id: v.value,
2670
2670
  open: e.open,
2671
- "options-id": f.value,
2671
+ "options-id": h.value,
2672
2672
  size: e.toggleSize,
2673
- onClick: x[0] || (x[0] = (q) => A.$emit("toggled"))
2673
+ "badge-count": e.showBadgeCount ? n.value : void 0,
2674
+ onClick: A[0] || (A[0] = (F) => k.$emit("toggled"))
2674
2675
  }, {
2675
2676
  label: D(() => [
2676
- E(A.$slots, "toggle-label", {}, () => [
2677
- W(V(e.toggleLabel), 1)
2677
+ E(k.$slots, "toggle-label", {}, () => [
2678
+ W(O(e.toggleLabel), 1)
2678
2679
  ])
2679
2680
  ]),
2680
2681
  _: 3
2681
- }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"])
2682
+ }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size", "badge-count"])
2682
2683
  ]),
2683
2684
  P(lt, {
2684
- "anchor-id": e.anchorId || b.value,
2685
+ "anchor-id": e.anchorId || v.value,
2685
2686
  breakout: e.breakout,
2686
2687
  "helper-text": e.helperText,
2687
2688
  "helper-description": e.helperDescription,
@@ -2690,25 +2691,25 @@ const on = {
2690
2691
  shown: e.open,
2691
2692
  "use-mobile-style": e.useMobileStyle,
2692
2693
  width: e.dropdownWidth,
2693
- onClose: y,
2694
- onEnter: B
2694
+ onClose: B,
2695
+ onEnter: p
2695
2696
  }, {
2696
2697
  default: D(() => [
2697
- P(c(r), {
2698
+ P(c(m), {
2698
2699
  label: e.dropdownLabel,
2699
2700
  "model-value": e.selectedOption,
2700
2701
  options: e.multiselect ? e.options : void 0,
2701
- "options-id": f.value,
2702
+ "options-id": h.value,
2702
2703
  "selected-options": e.selectedOptions,
2703
2704
  shown: e.open,
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())
2705
+ "onUpdate:modelValue": M,
2706
+ "onUpdate:selectedOptions": $,
2707
+ onCheckOption: C,
2708
+ onUncheckOption: S,
2709
+ onClose: A[1] || (A[1] = (F) => e.multiselect ? void 0 : B())
2709
2710
  }, {
2710
2711
  default: D(() => [
2711
- e.multiselect ? C("", !0) : (u(), O(qe, {
2712
+ e.multiselect ? x("", !0) : (u(), V(qe, {
2712
2713
  key: 0,
2713
2714
  options: e.options
2714
2715
  }, null, 8, ["options"]))
@@ -2718,9 +2719,9 @@ const on = {
2718
2719
  ]),
2719
2720
  _: 1
2720
2721
  }, 8, ["anchor-id", "breakout", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
2721
- ], 8, En));
2722
+ ], 8, On));
2722
2723
  }
2723
- }, Ot = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2724
+ }, Vt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2724
2725
  __name: "BsDropdownCombobox",
2725
2726
  props: {
2726
2727
  disabled: {
@@ -2779,16 +2780,16 @@ const on = {
2779
2780
  },
2780
2781
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2781
2782
  setup(e, { emit: a }) {
2782
- const t = e, l = a, [n, i, d] = Z(3), o = I(!1), s = p(() => t.inputId || n.value);
2783
+ const t = e, l = a, [n, i, d] = Z(3), o = I(!1), s = f(() => t.inputId || n.value);
2783
2784
  function r(y) {
2784
2785
  l("combobox:change", y.target.value), l("update:modelValue", y.target.value);
2785
2786
  }
2786
- function f() {
2787
+ function m() {
2787
2788
  l("combobox:change", ""), l("update:modelValue", "");
2788
2789
  }
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);
2790
+ function h(y) {
2791
+ var B, p;
2792
+ (B = y.relatedTarget) != null && B.closest(`#${d.value}`) || (p = y.relatedTarget) != null && p.closest(`#${i.value}`) || (o.value = !1);
2792
2793
  }
2793
2794
  function v(y) {
2794
2795
  l("combobox:input", y.target.value), t.updateOnInput && l("update:modelValue", y.target.value);
@@ -2796,7 +2797,7 @@ const on = {
2796
2797
  function g(y) {
2797
2798
  y === !0 || y === !1 ? o.value = y : o.value = !o.value;
2798
2799
  }
2799
- return (y, B) => (u(), O(Vt, {
2800
+ return (y, B) => (u(), V(Ot, {
2800
2801
  "anchor-id": c(i),
2801
2802
  disabled: e.disabled,
2802
2803
  "dropdown-position": e.dropdownPosition,
@@ -2809,12 +2810,12 @@ const on = {
2809
2810
  "options-id": c(d),
2810
2811
  "selected-option": e.modelValue,
2811
2812
  "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))
2813
+ onClose: B[0] || (B[0] = (p) => o.value = !1),
2814
+ onFocusout: h,
2815
+ "onUpdate:selectedOption": B[1] || (B[1] = (p) => y.$emit("update:modelValue", p))
2815
2816
  }, {
2816
2817
  toggle: D(() => [
2817
- P(Sn, z({
2818
+ P(gn, z({
2818
2819
  id: y.$attrs.id || s.value,
2819
2820
  "container-id": c(i),
2820
2821
  disabled: e.disabled,
@@ -2826,7 +2827,7 @@ const on = {
2826
2827
  placeholder: e.placeholder,
2827
2828
  required: e.required,
2828
2829
  onChange: r,
2829
- onClear: f,
2830
+ onClear: m,
2830
2831
  onInput: v,
2831
2832
  onToggled: g
2832
2833
  }, y.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
@@ -2834,7 +2835,7 @@ const on = {
2834
2835
  _: 1
2835
2836
  }, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
2836
2837
  }
2837
- }), Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2838
+ }), Do = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2838
2839
  __name: "BsDropdownComboboxField",
2839
2840
  props: {
2840
2841
  disabled: {
@@ -2902,9 +2903,9 @@ const on = {
2902
2903
  },
2903
2904
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2904
2905
  setup(e, { emit: a }) {
2905
- const t = e, [l, n] = Z(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), d = p(() => t.inputId || l.value);
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, {
2906
+ const t = e, [l, n] = Z(2), i = f(() => t.error && t.errorMsg || t.hint || void 0), d = f(() => t.inputId || l.value);
2907
+ return (o, s) => (u(), b("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(be)).remaining), [
2908
+ e.label || o.$slots.label ? (u(), V(ae, {
2908
2909
  key: 0,
2909
2910
  for: o.$attrs.id || d.value,
2910
2911
  disabled: e.disabled,
@@ -2912,12 +2913,12 @@ const on = {
2912
2913
  }, {
2913
2914
  default: D(() => [
2914
2915
  E(o.$slots, "label", {}, () => [
2915
- W(V(e.label), 1)
2916
+ W(O(e.label), 1)
2916
2917
  ])
2917
2918
  ]),
2918
2919
  _: 3
2919
- }, 8, ["for", "disabled", "required"])) : C("", !0),
2920
- P(Ot, z({
2920
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
2921
+ P(Vt, z({
2921
2922
  disabled: e.disabled,
2922
2923
  "display-value": e.displayValue,
2923
2924
  "dropdown-position": e.dropdownPosition,
@@ -2935,17 +2936,17 @@ const on = {
2935
2936
  "onCombobox:change": s[0] || (s[0] = (r) => o.$emit("combobox:change", r)),
2936
2937
  "onCombobox:input": s[1] || (s[1] = (r) => o.$emit("combobox:input", r)),
2937
2938
  "onUpdate:modelValue": s[2] || (s[2] = (r) => o.$emit("update:modelValue", r))
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, {
2939
+ }, c(Y)(o.$attrs, c(be)).filtered), null, 16, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-text", "helper-description", "hint-id", "input-id", "model-value", "options", "placeholder", "required", "update-on-input"]),
2940
+ i.value ? (u(), V(ge, {
2940
2941
  key: 1,
2941
2942
  error: e.error,
2942
2943
  "error-msg": e.errorMsg,
2943
2944
  hint: e.hint || o.hintDeprecated,
2944
2945
  "hint-id": c(n)
2945
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
2946
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
2946
2947
  ], 16));
2947
2948
  }
2948
- }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
2949
+ }), Vn = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
2949
2950
  __name: "BsDropdownOptionList",
2950
2951
  props: {
2951
2952
  optionsId: {
@@ -2981,41 +2982,41 @@ const on = {
2981
2982
  "update:modelValue"
2982
2983
  ],
2983
2984
  setup(e, { expose: a, emit: t }) {
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 = {
2985
+ const l = e, n = t, i = I(null), d = I(null), o = I(-1), s = I(-1), r = I(null), m = I(!1), h = pe("dropdownEnter", I(!1)), v = pe("dropdownAfterEnter", I(!1)), g = pe("dropdownShown", I(!1));
2986
+ fe("optionsId", f(() => l.optionsId)), fe("handleOptionSelect", ye), pa(i, $, { childList: !0 }), me([" ", "Enter", "NumpadEnter"], ke, i), me(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2987
+ const p = [/^[a-zA-Z0-9]{1}$/], S = {
2987
2988
  keys: "",
2988
2989
  lastTyped: 0
2989
2990
  };
2990
- me(m, (L) => xe(L, w)), H(() => {
2991
+ me(p, (L) => xe(L, S)), H(() => {
2991
2992
  $(), J(g.value);
2992
2993
  }), j(
2993
- [b, () => {
2994
+ [h, () => {
2994
2995
  var L;
2995
2996
  return (L = r.value) == null ? void 0 : L.length;
2996
2997
  }],
2997
2998
  ([L, R]) => {
2998
- (L || R > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2999
+ (L || R > 0) && (m.value = i.value.scrollHeight > i.value.clientHeight);
2999
3000
  }
3000
3001
  ), j(v, (L) => {
3001
- L && (A(), x());
3002
+ L && (M(), k());
3002
3003
  }), j(g, (L) => J(L));
3003
- const k = p(() => l.modelValue || l.selectedValue);
3004
+ const C = f(() => l.modelValue || l.selectedValue);
3004
3005
  function $() {
3005
3006
  r.value = Array.from(
3006
3007
  i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
3007
3008
  );
3008
3009
  }
3009
- function A() {
3010
+ function M() {
3010
3011
  i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
3011
3012
  }
3012
- function x() {
3013
+ function k() {
3013
3014
  var L;
3014
- o.value > -1 && (A(), (L = r.value[o.value]) == null || L.scrollIntoView({ block: "nearest" }));
3015
+ o.value > -1 && (M(), (L = r.value[o.value]) == null || L.scrollIntoView({ block: "nearest" }));
3015
3016
  }
3016
- function q() {
3017
+ function A() {
3017
3018
  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());
3019
+ o.value > -1 && ((L = r.value[o.value]) == null || L.setAttribute("data-active", ""), d.value = (R = r.value[o.value]) == null ? void 0 : R.id, k());
3019
3020
  }
3020
3021
  function F() {
3021
3022
  var L;
@@ -3023,25 +3024,25 @@ const on = {
3023
3024
  }
3024
3025
  function _() {
3025
3026
  var L;
3026
- o.value < 0 && (o.value = 0, d.value = (L = r.value[0]) == null ? void 0 : L.id), q();
3027
+ o.value < 0 && (o.value = 0, d.value = (L = r.value[0]) == null ? void 0 : L.id), A();
3027
3028
  }
3028
3029
  function J(L) {
3029
- L ? ne() : be();
3030
+ L ? ne() : he();
3030
3031
  }
3031
3032
  function ne() {
3032
3033
  var L, R;
3033
3034
  l.multiselect || (s.value = r.value.findIndex(
3034
- (M) => M.getAttribute("data-value") === String(k.value)
3035
+ (q) => q.getAttribute("data-value") === String(C.value)
3035
3036
  ), !l.multiselect && s.value > -1 && ((L = r.value[s.value]) == null || L.setAttribute("data-selected", ""), (R = r.value[s.value]) == null || R.setAttribute("aria-selected", "true")), o.value = s.value);
3036
3037
  }
3037
- function be() {
3038
+ function he() {
3038
3039
  r.value.forEach((L) => {
3039
3040
  L.removeAttribute("data-selected"), L.setAttribute("aria-selected", "false");
3040
3041
  }), F(), s.value = -1, o.value = -1, d.value = null;
3041
3042
  }
3042
3043
  function ye(L) {
3043
- var M;
3044
- (M = L.querySelector("a")) == null || M.click();
3044
+ var q;
3045
+ (q = L.querySelector("a")) == null || q.click();
3045
3046
  let R = L.getAttribute("data-value");
3046
3047
  L.getAttribute("data-value-type") === "number" && (R = Number(R)), d.value = L.id, F(), n("optselected", R), n("update:modelValue", R), n("close");
3047
3048
  }
@@ -3084,22 +3085,21 @@ const on = {
3084
3085
  Se(R);
3085
3086
  }
3086
3087
  function xe(L, R) {
3087
- if (!g.value)
3088
- return;
3088
+ if (!g.value) return;
3089
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);
3090
+ const q = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(R.keys));
3091
+ q > -1 && Se(q, !1);
3092
3092
  }
3093
3093
  function Se(L, R = !0) {
3094
- F(), o.value = L, document.activeElement !== i.value && R ? i.value.focus() : q();
3094
+ F(), o.value = L, document.activeElement !== i.value && R ? i.value.focus() : A();
3095
3095
  }
3096
3096
  return a({
3097
3097
  activeIndex: o,
3098
3098
  optionEls: r,
3099
3099
  optionsRef: i,
3100
3100
  refreshOptions: $,
3101
- setCurrentActive: q
3102
- }), (L, R) => (u(), h("ul", {
3101
+ setCurrentActive: A
3102
+ }), (L, R) => (u(), b("ul", {
3103
3103
  ref_key: "optionsRef",
3104
3104
  ref: i,
3105
3105
  "aria-activedescendant": d.value || void 0,
@@ -3107,24 +3107,22 @@ const on = {
3107
3107
  "aria-live": "polite",
3108
3108
  class: "bs-dropdown-options",
3109
3109
  "data-component": "bs-dropdown-option-list",
3110
- "data-overflow": f.value,
3110
+ "data-overflow": m.value,
3111
3111
  id: e.optionsId,
3112
3112
  role: "listbox",
3113
3113
  tabindex: c(g) ? 0 : void 0,
3114
3114
  onBlur: F,
3115
3115
  onFocus: _,
3116
- onMousedown: R[0] || (R[0] = St(() => {
3116
+ onMousedown: R[0] || (R[0] = wt(() => {
3117
3117
  }, ["prevent"]))
3118
3118
  }, [
3119
3119
  E(L.$slots, "default")
3120
- ], 40, Ln));
3120
+ ], 40, Vn));
3121
3121
  }
3122
- }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3122
+ }, En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3123
3123
  __proto__: null,
3124
3124
  default: Re
3125
- }, Symbol.toStringTag, { value: "Module" })), Pn = { role: "separator" }, qn = /* @__PURE__ */ S("hr", null, null, -1), Mn = [
3126
- qn
3127
- ], Nn = {
3125
+ }, Symbol.toStringTag, { value: "Module" })), Ln = { role: "separator" }, Dn = {
3128
3126
  key: 1,
3129
3127
  role: "option",
3130
3128
  "data-no-hover": "true"
@@ -3162,12 +3160,12 @@ const on = {
3162
3160
  "uncheck-option"
3163
3161
  ],
3164
3162
  setup(e, { emit: a }) {
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);
3168
- }), s = p(() => {
3169
- var B, m;
3170
- return ((B = i.value) == null ? void 0 : B.length) || ((m = d.value) == null ? void 0 : m.length);
3163
+ const t = e, l = a, n = I(null), i = I([]), d = I([]), o = f(() => {
3164
+ var B, p;
3165
+ return ((B = i.value) == null ? void 0 : B.length) && ((p = d.value) == null ? void 0 : p.length);
3166
+ }), s = f(() => {
3167
+ var B, p;
3168
+ return ((B = i.value) == null ? void 0 : B.length) || ((p = d.value) == null ? void 0 : p.length);
3171
3169
  });
3172
3170
  let r = !1;
3173
3171
  j(() => t.options, () => {
@@ -3177,36 +3175,36 @@ const on = {
3177
3175
  v,
3178
3176
  { immediate: !0 }
3179
3177
  ), j(() => t.shown, (B) => {
3180
- B && t.focusOnOpen && Ae(f);
3178
+ B && t.focusOnOpen && Ae(m);
3181
3179
  });
3182
- function f() {
3180
+ function m() {
3183
3181
  n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
3184
3182
  }
3185
- function b() {
3183
+ function h() {
3186
3184
  n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
3187
3185
  }
3188
3186
  function v(B = []) {
3189
- const m = new Set(B), w = [], k = [];
3187
+ const p = new Set(B), S = [], C = [];
3190
3188
  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;
3189
+ const M = { ...$ }, k = `${t.optionsId}-${$.value}-cb`;
3190
+ p.has($.value) ? (M.checkbox = { inputId: k, checked: !0 }, S.push(M)) : (M.checkbox = { inputId: k, checked: !1 }, C.push(M));
3191
+ }), i.value = S, Ae(() => {
3192
+ d.value = C, Ae(() => {
3193
+ r && h(), r = !1;
3196
3194
  });
3197
3195
  });
3198
3196
  }
3199
3197
  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;
3198
+ const p = new Set(B), S = [];
3199
+ return t.options.forEach((C) => {
3200
+ p.has(C.value) && S.push(C.value);
3201
+ }), S;
3204
3202
  }
3205
3203
  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);
3204
+ let p = [];
3205
+ t.selectedOptions.includes(B) ? (p = t.selectedOptions.filter((S) => S !== B), l("uncheck-option", B)) : (p = g([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", p);
3208
3206
  }
3209
- return (B, m) => (u(), O(Re, {
3207
+ return (B, p) => (u(), V(Re, {
3210
3208
  ref_key: "optlist",
3211
3209
  ref: n,
3212
3210
  "aria-multiselectable": "true",
@@ -3218,31 +3216,33 @@ const on = {
3218
3216
  "onUpdate:modelValue": y
3219
3217
  }, {
3220
3218
  default: D(() => [
3221
- s.value ? (u(), h(G, { key: 0 }, [
3219
+ s.value ? (u(), b(G, { key: 0 }, [
3222
3220
  P(qe, {
3223
3221
  options: i.value,
3224
3222
  "show-no-options": !1
3225
3223
  }, null, 8, ["options"]),
3226
- ue(S("li", Pn, Mn, 512), [
3224
+ ue(w("li", Ln, p[0] || (p[0] = [
3225
+ w("hr", null, null, -1)
3226
+ ]), 512), [
3227
3227
  [ce, o.value]
3228
3228
  ]),
3229
3229
  P(qe, {
3230
3230
  options: d.value,
3231
3231
  "show-no-options": !1
3232
3232
  }, null, 8, ["options"])
3233
- ], 64)) : (u(), h("li", Nn, [
3233
+ ], 64)) : (u(), b("li", Dn, [
3234
3234
  E(B.$slots, "no-options", {}, () => [
3235
- W("No options")
3235
+ p[1] || (p[1] = W("No options"))
3236
3236
  ])
3237
3237
  ]))
3238
3238
  ]),
3239
3239
  _: 3
3240
3240
  }, 8, ["label", "options-id", "shown"]));
3241
3241
  }
3242
- }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3242
+ }, Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3243
3243
  __proto__: null,
3244
3244
  default: Et
3245
- }, Symbol.toStringTag, { value: "Module" })), Fn = {
3245
+ }, Symbol.toStringTag, { value: "Module" })), qn = {
3246
3246
  __name: "BsDropdownWithOptionsNew",
3247
3247
  props: {
3248
3248
  // DROPDOWN PROPS
@@ -3327,7 +3327,7 @@ const on = {
3327
3327
  function d() {
3328
3328
  l.value && (l.value = !1, t("close"));
3329
3329
  }
3330
- return (o, s) => (u(), O(c(lt), {
3330
+ return (o, s) => (u(), V(c(lt), {
3331
3331
  "anchor-id": e.anchorId,
3332
3332
  breakout: e.breakout,
3333
3333
  "container-id": e.containerId,
@@ -3476,11 +3476,11 @@ const on = {
3476
3476
  "after-leave"
3477
3477
  ],
3478
3478
  setup(e, { emit: a }) {
3479
- 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), s = p(() => t.selectedValue || t.modelValue);
3480
- function r(f) {
3481
- l("optselected", f), l("update:modelValue", f);
3479
+ const t = e, l = a, { transition: n } = Le(t), i = f(() => t.width === "toggle" ? "anchor" : t.width), d = f(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = f(() => t.toggleId ? t.toggleId : t.anchorId), s = f(() => t.selectedValue || t.modelValue);
3480
+ function r(m) {
3481
+ l("optselected", m), l("update:modelValue", m);
3482
3482
  }
3483
- return (f, b) => (u(), O(Fn, {
3483
+ return (m, h) => (u(), V(qn, {
3484
3484
  "anchor-id": o.value,
3485
3485
  breakout: e.breakout,
3486
3486
  "container-id": e.containerId,
@@ -3495,21 +3495,21 @@ const on = {
3495
3495
  shown: c(n),
3496
3496
  "use-mobile-style": e.useMobileStyle,
3497
3497
  width: i.value,
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")),
3498
+ onClose: h[0] || (h[0] = (v) => l("close")),
3499
+ onAfterEnter: h[1] || (h[1] = (v) => l("after-enter")),
3500
+ onAfterLeave: h[2] || (h[2] = (v) => l("after-leave")),
3501
3501
  "onUpdate:modelValue": r
3502
3502
  }, {
3503
3503
  default: D(() => [
3504
- E(f.$slots, "default")
3504
+ E(m.$slots, "default")
3505
3505
  ]),
3506
3506
  _: 3
3507
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"]));
3508
3508
  }
3509
- }, Rn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Wn = { class: "bs-empty-state-title" }, Un = {
3509
+ }, Mn = ["data-size"], Nn = { class: "bs-empty-state-icon" }, zn = { class: "bs-empty-state-title" }, Fn = {
3510
3510
  key: 0,
3511
3511
  class: "bs-empty-state-description"
3512
- }, Zo = {
3512
+ }, Po = {
3513
3513
  __name: "BsEmptyState",
3514
3514
  props: {
3515
3515
  description: {
@@ -3531,29 +3531,29 @@ const on = {
3531
3531
  }
3532
3532
  },
3533
3533
  setup(e) {
3534
- const a = e, { icon: t } = Ve(a, "iconName");
3535
- return (l, n) => (u(), h("div", {
3534
+ const a = e, { icon: t } = Oe(a, "iconName");
3535
+ return (l, n) => (u(), b("div", {
3536
3536
  class: "bs-empty-state",
3537
3537
  "data-component": "bs-empty-state",
3538
3538
  "data-size": e.size
3539
3539
  }, [
3540
- S("div", jn, [
3540
+ w("div", Nn, [
3541
3541
  E(l.$slots, "icon", {}, () => [
3542
- (u(), O(te(c(t)), { size: "" }))
3542
+ (u(), V(te(c(t)), { size: "" }))
3543
3543
  ])
3544
3544
  ]),
3545
- S("div", null, [
3546
- S("p", Wn, V(e.title), 1),
3547
- e.size !== "xs" ? (u(), h("p", Un, [
3545
+ w("div", null, [
3546
+ w("p", zn, O(e.title), 1),
3547
+ e.size !== "xs" ? (u(), b("p", Fn, [
3548
3548
  E(l.$slots, "description", {}, () => [
3549
- W(V(e.description), 1)
3549
+ W(O(e.description), 1)
3550
3550
  ])
3551
- ])) : C("", !0),
3551
+ ])) : x("", !0),
3552
3552
  E(l.$slots, "call-to-action")
3553
3553
  ])
3554
- ], 8, Rn));
3554
+ ], 8, Mn));
3555
3555
  }
3556
- }, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3556
+ }, Rn = ["data-absolute", "data-position", "data-shown", "data-size"], jn = { class: "bs-flyout-close-container" }, qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3557
3557
  __name: "BsFlyout",
3558
3558
  props: {
3559
3559
  absolute: {
@@ -3589,18 +3589,18 @@ const on = {
3589
3589
  },
3590
3590
  emits: ["close"],
3591
3591
  setup(e, { emit: a }) {
3592
- const t = e, l = a, n = I(null), i = p(() => document.getElementById(t.toggleId));
3592
+ const t = e, l = a, n = I(null), i = f(() => document.getElementById(t.toggleId));
3593
3593
  Ct([n, i], d), me(["Escape"], d);
3594
3594
  function d() {
3595
3595
  t.shown && l("close");
3596
3596
  }
3597
- return (o, s) => (u(), O(Pe, {
3597
+ return (o, s) => (u(), V(Pe, {
3598
3598
  name: "bs-flyout",
3599
3599
  preloaded: e.preloaded,
3600
3600
  shown: e.shown
3601
3601
  }, {
3602
3602
  default: D(() => [
3603
- S("div", z({
3603
+ w("div", z({
3604
3604
  ref_key: "flyout",
3605
3605
  ref: n,
3606
3606
  class: "bs-flyout",
@@ -3610,23 +3610,23 @@ const on = {
3610
3610
  "data-shown": e.shown,
3611
3611
  "data-size": e.size
3612
3612
  }, o.$attrs), [
3613
- S("div", Hn, [
3614
- S("button", {
3613
+ w("div", jn, [
3614
+ w("button", {
3615
3615
  type: "button",
3616
3616
  title: "Close",
3617
3617
  "aria-label": "Close",
3618
3618
  onClick: d
3619
3619
  }, [
3620
- P(c(Be))
3620
+ P(c($e))
3621
3621
  ])
3622
3622
  ]),
3623
3623
  E(o.$slots, "default")
3624
- ], 16, Gn)
3624
+ ], 16, Rn)
3625
3625
  ]),
3626
3626
  _: 3
3627
3627
  }, 8, ["preloaded", "shown"]));
3628
3628
  }
3629
- }), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3629
+ }), Wn = ["view-box"], Un = ["id"], Gn = ["offset", "stop-color"], Mo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3630
3630
  __name: "BsIconGradientWrapper",
3631
3631
  setup(e) {
3632
3632
  const a = I(null), t = I(null), l = [
@@ -3636,8 +3636,8 @@ const on = {
3636
3636
  ], [n] = Z();
3637
3637
  return H(() => {
3638
3638
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
3639
- }), (i, d) => (u(), h(G, null, [
3640
- S("span", z({
3639
+ }), (i, d) => (u(), b(G, null, [
3640
+ w("span", z({
3641
3641
  ref_key: "svgWrapperRef",
3642
3642
  ref: a,
3643
3643
  class: "bs-icon-gradient-wrapper",
@@ -3645,13 +3645,13 @@ const on = {
3645
3645
  }, i.$attrs), [
3646
3646
  E(i.$slots, "default")
3647
3647
  ], 16),
3648
- (u(), h("svg", {
3648
+ (u(), b("svg", {
3649
3649
  xmlns: "http://www.w3.org/2000/svg",
3650
3650
  "view-box": t.value,
3651
3651
  width: "0",
3652
3652
  height: "0"
3653
3653
  }, [
3654
- S("linearGradient", {
3654
+ w("linearGradient", {
3655
3655
  id: c(n),
3656
3656
  x1: "0",
3657
3657
  y1: "0",
@@ -3659,16 +3659,16 @@ const on = {
3659
3659
  y2: "100%",
3660
3660
  "gradient-units": "userSpaceOnUse"
3661
3661
  }, [
3662
- (u(), h(G, null, ee(l, (o) => S("stop", {
3662
+ (u(), b(G, null, ee(l, (o) => w("stop", {
3663
3663
  key: o.offset,
3664
3664
  offset: o.offset,
3665
3665
  "stop-color": o.color
3666
- }, null, 8, Zn)), 64))
3667
- ], 8, Yn)
3668
- ], 8, Kn))
3666
+ }, null, 8, Gn)), 64))
3667
+ ], 8, Un)
3668
+ ], 8, Wn))
3669
3669
  ], 64));
3670
3670
  }
3671
- }), Jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3671
+ }), No = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3672
3672
  __name: "BsInputField",
3673
3673
  props: {
3674
3674
  /** Sets the disabled state on input, disabled styles on label. */
@@ -3715,13 +3715,13 @@ const on = {
3715
3715
  },
3716
3716
  emits: ["update:modelValue"],
3717
3717
  setup(e, { emit: a }) {
3718
- const t = e, [l, n] = Z(2), i = p(() => he.concat(t.passAttrs.split(",")).concat("type")), d = p(() => {
3719
- var r, f;
3720
- return ((f = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
3718
+ const t = e, [l, n] = Z(2), i = f(() => be.concat(t.passAttrs.split(",")).concat("type")), d = f(() => {
3719
+ var r, m;
3720
+ return ((m = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : m.call(r, `
3721
3721
  `)) || t.hints;
3722
- }), o = p(() => t.error && t.errorMsg || t.hint || d.value || void 0), s = p(() => t.inputId || l.value);
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, {
3722
+ }), o = f(() => t.error && t.errorMsg || t.hint || d.value || void 0), s = f(() => t.inputId || l.value);
3723
+ return (r, m) => (u(), b("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3724
+ e.label || r.$slots.label ? (u(), V(ae, {
3725
3725
  key: 0,
3726
3726
  for: r.$attrs.id || s.value,
3727
3727
  disabled: e.disabled,
@@ -3729,11 +3729,11 @@ const on = {
3729
3729
  }, {
3730
3730
  default: D(() => [
3731
3731
  E(r.$slots, "label", {}, () => [
3732
- W(V(e.label), 1)
3732
+ W(O(e.label), 1)
3733
3733
  ])
3734
3734
  ]),
3735
3735
  _: 3
3736
- }, 8, ["for", "disabled", "required"])) : C("", !0),
3736
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
3737
3737
  P(Ie, z({
3738
3738
  disabled: e.disabled,
3739
3739
  error: e.error,
@@ -3743,15 +3743,15 @@ const on = {
3743
3743
  required: e.required,
3744
3744
  type: e.type,
3745
3745
  value: e.value || e.modelValue,
3746
- "onUpdate:modelValue": f[0] || (f[0] = (b) => r.$emit("update:modelValue", b))
3746
+ "onUpdate:modelValue": m[0] || (m[0] = (h) => r.$emit("update:modelValue", h))
3747
3747
  }, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3748
- o.value ? (u(), O(ge, {
3748
+ o.value ? (u(), V(ge, {
3749
3749
  key: 1,
3750
3750
  error: e.error,
3751
3751
  "error-msg": e.errorMsg,
3752
3752
  hint: e.hint || d.value,
3753
3753
  "hint-id": c(n)
3754
- }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
3754
+ }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : x("", !0)
3755
3755
  ], 16));
3756
3756
  }
3757
3757
  }), mt = {
@@ -3822,10 +3822,10 @@ const on = {
3822
3822
  this.data[e][t[a]] = t;
3823
3823
  }));
3824
3824
  }
3825
- }, Xn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Qn = { key: 0 }, Jn = {
3825
+ }, Hn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Kn = { key: 0 }, Yn = {
3826
3826
  "aria-hidden": "true",
3827
3827
  style: { width: "1.25rem" }
3828
- }, _n = { "aria-hidden": "true" }, _o = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3828
+ }, Zn = { "aria-hidden": "true" }, zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3829
3829
  __name: "BsInputPhone",
3830
3830
  props: {
3831
3831
  deferValidation: {
@@ -3888,69 +3888,69 @@ const on = {
3888
3888
  "Home",
3889
3889
  "Tab"
3890
3890
  ], d = I(null), o = I(1), s = I([]), r = I(null), [
3891
- f,
3892
- b,
3891
+ m,
3892
+ h,
3893
3893
  v,
3894
3894
  g
3895
- ] = Z(4), y = I(!1), B = I(""), m = I(""), w = I(!1), k = I(!1), $ = I(!0);
3895
+ ] = Z(4), y = I(!1), B = I(""), p = I(""), S = I(!1), C = I(!1), $ = I(!0);
3896
3896
  a({
3897
- validationErr: w,
3898
- validationErrMsg: m
3897
+ validationErr: S,
3898
+ validationErrMsg: p
3899
3899
  });
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);
3900
+ const M = f(() => B.value ? `+${o.value}${B.value}` : ""), k = f(() => `Country code: ${o.value}. Click to change.`), A = f(() => $.value ? l.errorMsg || p.value : ""), F = f(() => l.error || S.value), _ = f(() => l.hint || F.value && A.value), J = f(() => $.value && F.value);
3901
+ j(M, (q) => {
3902
+ n("update:modelValue", q), R(q);
3903
3903
  }), j(() => l.modelValue, ne), xe(), H(() => y.value = !0);
3904
- function ne(M, K) {
3905
- M === "" && M !== K && (B.value = "");
3904
+ function ne(q, K) {
3905
+ q === "" && q !== K && (B.value = "");
3906
3906
  }
3907
- function be() {
3908
- var M;
3909
- k.value && (k.value = !1, (M = d.value) == null || M.focus());
3907
+ function he() {
3908
+ var q;
3909
+ C.value && (C.value = !1, (q = d.value) == null || q.focus());
3910
3910
  }
3911
- function ye(M) {
3911
+ function ye(q) {
3912
3912
  var K;
3913
- o.value = M, k.value = !1, (K = d.value) == null || K.focus(), L(M);
3913
+ o.value = q, C.value = !1, (K = d.value) == null || K.focus(), L(q);
3914
3914
  }
3915
3915
  function ke() {
3916
3916
  l.deferValidation && ($.value = !0), n("input-blur");
3917
3917
  }
3918
- function Ce(M) {
3919
- B.value = M.target.value, l.deferValidation && ($.value = !1);
3918
+ function Ce(q) {
3919
+ B.value = q.target.value, l.deferValidation && ($.value = !1);
3920
3920
  }
3921
- function se(M) {
3921
+ function se(q) {
3922
3922
  var K, X;
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();
3923
+ !((X = (K = q.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(q.key) && !q.ctrlKey && !q.metaKey && q.preventDefault();
3924
3924
  }
3925
3925
  function xe() {
3926
- We.initSourceData(), Se(), L(o.value), R(A.value);
3926
+ We.initSourceData(), Se(), L(o.value), R(M.value);
3927
3927
  }
3928
3928
  function Se() {
3929
3929
  var K, X;
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) => ({
3930
+ let q = ut(l.modelValue);
3931
+ q.valid || q.countryCode && ((X = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && X.call(K, "+")) ? (o.value = q.countryCode, B.value = q.number.significant) : B.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
3932
3932
  ...Te,
3933
3933
  isSelected: o.value === Te
3934
3934
  }));
3935
3935
  }
3936
- function L(M) {
3937
- r.value = We.getCountryByCountryCode(M);
3936
+ function L(q) {
3937
+ r.value = We.getCountryByCountryCode(q);
3938
3938
  }
3939
- function R(M) {
3940
- w.value = M ? !ut(M).valid : !1, m.value = w.value ? "Invalid phone number" : "";
3939
+ function R(q) {
3940
+ S.value = q ? !ut(q).valid : !1, p.value = S.value ? "Invalid phone number" : "";
3941
3941
  }
3942
- return (M, K) => (u(), h("div", z({
3942
+ return (q, K) => (u(), b("div", z({
3943
3943
  class: "bs-input-phone",
3944
3944
  "data-component": "bs-input-phone"
3945
- }, c(Y)(M.$attrs, c(he)).remaining), [
3945
+ }, c(Y)(q.$attrs, c(be)).remaining), [
3946
3946
  P(ae, {
3947
- for: M.$attrs.id || e.inputId || c(g),
3947
+ for: q.$attrs.id || e.inputId || c(g),
3948
3948
  required: e.required,
3949
3949
  disabled: e.disabled,
3950
3950
  class: ie({ "visually-hidden": e.hideLabel })
3951
3951
  }, {
3952
3952
  default: D(() => [
3953
- W(V(e.label), 1)
3953
+ W(O(e.label), 1)
3954
3954
  ]),
3955
3955
  _: 1
3956
3956
  }, 8, ["for", "required", "disabled", "class"]),
@@ -3963,31 +3963,31 @@ const on = {
3963
3963
  default: D(() => {
3964
3964
  var X;
3965
3965
  return [
3966
- S("button", {
3967
- id: c(f),
3966
+ w("button", {
3967
+ id: c(m),
3968
3968
  ref_key: "countryCodesToggle",
3969
3969
  ref: d,
3970
- "aria-controls": c(b),
3971
- "aria-expanded": k.value,
3970
+ "aria-controls": c(h),
3971
+ "aria-expanded": C.value,
3972
3972
  "aria-haspopup": "listbox",
3973
- "aria-label": x.value,
3973
+ "aria-label": k.value,
3974
3974
  disabled: e.disabled,
3975
3975
  type: "button",
3976
- onClick: K[0] || (K[0] = (Te) => k.value = !k.value)
3976
+ onClick: K[0] || (K[0] = (Te) => C.value = !C.value)
3977
3977
  }, [
3978
- S("span", null, V((X = r.value) == null ? void 0 : X.flag), 1),
3979
- S("span", null, "+" + V(o.value), 1),
3978
+ w("span", null, O((X = r.value) == null ? void 0 : X.flag), 1),
3979
+ w("span", null, "+" + O(o.value), 1),
3980
3980
  P(c(jt), { size: "sm" })
3981
- ], 8, Xn),
3981
+ ], 8, Hn),
3982
3982
  P(Ie, z({
3983
- "input-id": M.$attrs.id || e.inputId || c(g),
3983
+ "input-id": q.$attrs.id || e.inputId || c(g),
3984
3984
  disabled: e.disabled,
3985
3985
  "hint-id": c(v),
3986
3986
  placeholder: e.placeholder,
3987
3987
  value: B.value,
3988
3988
  "data-autowidth": "",
3989
3989
  type: "tel"
3990
- }, c(Y)(M.$attrs, c(he)).filtered, {
3990
+ }, c(Y)(q.$attrs, c(be)).filtered, {
3991
3991
  onInput: Ce,
3992
3992
  onFocusout: ke,
3993
3993
  onKeydown: se
@@ -3998,45 +3998,45 @@ const on = {
3998
3998
  }, 8, ["disabled", "error"]),
3999
3999
  ue(P(ge, {
4000
4000
  error: F.value,
4001
- "error-msg": q.value,
4001
+ "error-msg": A.value,
4002
4002
  hint: e.hint,
4003
4003
  "hint-id": c(v)
4004
4004
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
4005
4005
  [ce, _.value]
4006
4006
  ]),
4007
- y.value ? (u(), h("div", Qn, [
4007
+ y.value ? (u(), b("div", Kn, [
4008
4008
  P(Lt, {
4009
- "anchor-id": c(f),
4009
+ "anchor-id": c(m),
4010
4010
  "helper-text": "Country Code",
4011
4011
  label: "Country Code",
4012
4012
  "model-value": o.value,
4013
- "options-id": c(b),
4013
+ "options-id": c(h),
4014
4014
  preloaded: "",
4015
- shown: k.value,
4015
+ shown: C.value,
4016
4016
  width: "content",
4017
- onClose: be,
4017
+ onClose: he,
4018
4018
  "onUpdate:modelValue": ye
4019
4019
  }, {
4020
4020
  default: D(() => [
4021
- y.value ? (u(!0), h(G, { key: 0 }, ee(s.value, (X) => (u(), O(ot, {
4021
+ y.value ? (u(!0), b(G, { key: 0 }, ee(s.value, (X) => (u(), V(ot, {
4022
4022
  "aria-label": X.value,
4023
4023
  key: X.value,
4024
4024
  value: `${X.value}`,
4025
4025
  variant: "2-col"
4026
4026
  }, {
4027
4027
  default: D(() => [
4028
- S("span", Jn, V(X == null ? void 0 : X.flag), 1),
4029
- S("span", _n, V(X.label), 1)
4028
+ w("span", Yn, O(X == null ? void 0 : X.flag), 1),
4029
+ w("span", Zn, O(X.label), 1)
4030
4030
  ]),
4031
4031
  _: 2
4032
- }, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
4032
+ }, 1032, ["aria-label", "value"]))), 128)) : x("", !0)
4033
4033
  ]),
4034
4034
  _: 1
4035
4035
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
4036
- ])) : C("", !0)
4036
+ ])) : x("", !0)
4037
4037
  ], 16));
4038
4038
  }
4039
- }), el = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4039
+ }), Xn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4040
4040
  __name: "BsInputSearch",
4041
4041
  props: {
4042
4042
  /** Sets the disabled state on input, disabled styles on label. */
@@ -4081,15 +4081,15 @@ const on = {
4081
4081
  },
4082
4082
  emits: ["clear", "update:modelValue"],
4083
4083
  setup(e, { emit: a }) {
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({
4084
+ const t = e, l = f(() => be.concat(t.passAttrs.split(","))), n = f(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4085
+ return (i, d) => (u(), V(De, z({
4086
4086
  class: "bs-input-search",
4087
4087
  "data-component": "bs-input-search",
4088
4088
  "data-variant": e.variant,
4089
4089
  disabled: e.disabled
4090
4090
  }, c(Y)(i.$attrs, l.value).remaining), {
4091
4091
  default: D(() => [
4092
- e.hideSearchIcon ? C("", !0) : (u(), O(c(Wt), { key: 0 })),
4092
+ e.hideSearchIcon ? x("", !0) : (u(), V(c(Wt), { key: 0 })),
4093
4093
  P(Ie, z({
4094
4094
  "data-autowidth": "",
4095
4095
  disabled: e.disabled,
@@ -4099,12 +4099,12 @@ const on = {
4099
4099
  }, c(Y)(i.$attrs, l.value).filtered, {
4100
4100
  "onUpdate:modelValue": d[0] || (d[0] = (o) => i.$emit("update:modelValue", o))
4101
4101
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
4102
- ue(S("button", {
4102
+ ue(w("button", {
4103
4103
  title: "Clear",
4104
4104
  type: "button",
4105
4105
  onClick: d[1] || (d[1] = (o) => i.$emit("clear"))
4106
4106
  }, [
4107
- P(c(Be), { size: "sm" })
4107
+ P(c($e), { size: "sm" })
4108
4108
  ], 512), [
4109
4109
  [ce, n.value]
4110
4110
  ])
@@ -4112,13 +4112,7 @@ const on = {
4112
4112
  _: 1
4113
4113
  }, 16, ["data-variant", "disabled"]));
4114
4114
  }
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%" })
4119
- ], -1), ol = [
4120
- ll
4121
- ], ht = {
4115
+ }), Qn = ["data-size", "data-variant"], Jn = ["stroke"], _n = { key: 0 }, bt = {
4122
4116
  __name: "BsSpinner",
4123
4117
  props: {
4124
4118
  label: {
@@ -4135,7 +4129,7 @@ const on = {
4135
4129
  }
4136
4130
  },
4137
4131
  setup(e) {
4138
- return (a, t) => (u(), h("svg", {
4132
+ return (a, t) => (u(), b("svg", {
4139
4133
  class: "bs-spinner",
4140
4134
  "data-component": "bs-spinner",
4141
4135
  "data-size": e.size,
@@ -4145,18 +4139,24 @@ const on = {
4145
4139
  viewBox: "0 0 100 100",
4146
4140
  xmlns: "http://www.w3.org/2000/svg"
4147
4141
  }, [
4148
- S("title", null, V(e.label), 1),
4149
- S("circle", {
4142
+ w("title", null, O(e.label), 1),
4143
+ w("circle", {
4150
4144
  cx: "50",
4151
4145
  cy: "50",
4152
4146
  pathLength: "100",
4153
4147
  r: "45",
4154
4148
  stroke: e.variant === "gradient" ? "url(#bs-spinner-gradient)" : void 0
4155
- }, null, 8, al),
4156
- e.variant === "gradient" ? (u(), h("defs", nl, ol)) : C("", !0)
4157
- ], 8, tl));
4149
+ }, null, 8, Jn),
4150
+ e.variant === "gradient" ? (u(), b("defs", _n, t[0] || (t[0] = [
4151
+ w("linearGradient", { id: "bs-spinner-gradient" }, [
4152
+ w("stop", { offset: "0%" }),
4153
+ w("stop", { offset: "49%" }),
4154
+ w("stop", { offset: "100%" })
4155
+ ], -1)
4156
+ ]))) : x("", !0)
4157
+ ], 8, Qn));
4158
4158
  }
4159
- }, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, ei = {
4159
+ }, el = ["id"], tl = { style: { display: "flex", "justify-content": "center" } }, al = { style: { display: "flex", "justify-content": "center" } }, Fo = {
4160
4160
  __name: "BsInputTypeahead",
4161
4161
  props: {
4162
4162
  characterThreshold: {
@@ -4231,143 +4231,143 @@ const on = {
4231
4231
  const t = e, l = a, n = I(!1), i = I(!1), [d] = Z();
4232
4232
  let o = [];
4233
4233
  j(() => t.inputValue, () => {
4234
- i.value ? i.value = !1 : m();
4234
+ i.value ? i.value = !1 : p();
4235
4235
  });
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(() => {
4236
+ const s = f(() => t.typeaheadId || d.value), r = f(() => `${s.value}-input-container`), m = f(() => `${s.value}-input`), h = f(() => `${s.value}-options`), v = f(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), g = f(() => {
4237
4237
  if (n.value) {
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;
4238
+ let k = t.options;
4239
+ const A = t.inputValue.toLowerCase(), F = t.filterType === "includes" ? "includes" : "startsWith";
4240
+ return t.inputValue.length >= t.characterThreshold && (k = y(k, A, F), k = k.slice(0, t.maxOptions), k = B(k, A, F), o = k), k;
4241
4241
  } else
4242
4242
  return o;
4243
4243
  });
4244
- function y(x, q, F) {
4245
- return t.internalFiltering ? x.filter((_) => _.label.toLowerCase()[F](q)) : x;
4244
+ function y(k, A, F) {
4245
+ return t.internalFiltering ? k.filter((_) => _.label.toLowerCase()[F](A)) : k;
4246
4246
  }
4247
- function B(x, q, F) {
4248
- return x.map((_) => {
4247
+ function B(k, A, F) {
4248
+ return k.map((_) => {
4249
4249
  let J = _.label;
4250
- if (q !== "") {
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>');
4250
+ if (A !== "") {
4251
+ const ne = F === "includes" ? "gi" : "i", he = new RegExp(`(${A})`, ne);
4252
+ J = _.label.replace(he, '<span style="color: var(--bs-blue-base)">$1</span>');
4253
4253
  }
4254
4254
  return { ..._, labelHtml: J };
4255
4255
  });
4256
4256
  }
4257
- function m() {
4257
+ function p() {
4258
4258
  t.showDropdownOnFocus || t.inputValue.length >= t.characterThreshold ? n.value = !0 : n.value = !1;
4259
4259
  }
4260
- function w() {
4261
- l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(f.value).focus();
4260
+ function S() {
4261
+ l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(m.value).focus();
4262
4262
  }
4263
- function k(x) {
4263
+ function C(k) {
4264
4264
  i.value = !0;
4265
- const q = g.value.find((F) => F.value === x);
4266
- l("update:inputValue", q.label), l("update:optionsValue", x);
4265
+ const A = g.value.find((F) => F.value === k);
4266
+ l("update:inputValue", A.label), l("update:optionsValue", k);
4267
4267
  }
4268
- function $(x) {
4269
- const q = [...v.value, x];
4270
- l("update:optionsValue", q);
4268
+ function $(k) {
4269
+ const A = [...v.value, k];
4270
+ l("update:optionsValue", A);
4271
4271
  }
4272
- function A(x) {
4273
- const q = v.value.filter((F) => F !== x);
4274
- l("update:optionsValue", q);
4272
+ function M(k) {
4273
+ const A = v.value.filter((F) => F !== k);
4274
+ l("update:optionsValue", A);
4275
4275
  }
4276
- return (x, q) => (u(), h(G, null, [
4277
- e.label || x.$slots.label ? (u(), O(ae, {
4276
+ return (k, A) => (u(), b(G, null, [
4277
+ e.label || k.$slots.label ? (u(), V(ae, {
4278
4278
  key: 0,
4279
- for: f.value,
4279
+ for: m.value,
4280
4280
  disabled: e.disabled,
4281
4281
  required: e.required
4282
4282
  }, {
4283
4283
  default: D(() => [
4284
- E(x.$slots, "label", {}, () => [
4285
- W(V(e.label), 1)
4284
+ E(k.$slots, "label", {}, () => [
4285
+ W(O(e.label), 1)
4286
4286
  ])
4287
4287
  ]),
4288
4288
  _: 3
4289
- }, 8, ["for", "disabled", "required"])) : C("", !0),
4290
- S("div", {
4289
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
4290
+ w("div", {
4291
4291
  id: r.value,
4292
4292
  class: "typeahead-search-wrapper"
4293
4293
  }, [
4294
- P(el, z({
4295
- "aria-controls": b.value,
4294
+ P(Xn, z({
4295
+ "aria-controls": h.value,
4296
4296
  "aria-expanded": n.value,
4297
4297
  "aria-haspopup": "listbox",
4298
4298
  autocomplete: "off",
4299
4299
  disabled: e.disabled,
4300
4300
  "hide-clear": e.inputValue === "",
4301
4301
  "hide-search-icon": e.hideSearchIcon,
4302
- "input-id": f.value,
4302
+ "input-id": m.value,
4303
4303
  "pass-attrs": "aria-controls,aria-expanded,role",
4304
4304
  placeholder: e.placeholder,
4305
4305
  role: "combobox",
4306
4306
  value: e.inputValue
4307
- }, x.$attrs, {
4308
- onClear: w,
4309
- onFocusin: m,
4310
- "onUpdate:modelValue": q[0] || (q[0] = (F) => l("update:inputValue", F))
4307
+ }, k.$attrs, {
4308
+ onClear: S,
4309
+ onFocusin: p,
4310
+ "onUpdate:modelValue": A[0] || (A[0] = (F) => l("update:inputValue", F))
4311
4311
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
4312
- ], 8, il),
4312
+ ], 8, el),
4313
4313
  P(lt, {
4314
4314
  "anchor-id": r.value,
4315
4315
  preloaded: !0,
4316
4316
  shown: n.value,
4317
4317
  "use-mobile-style": !1,
4318
4318
  width: "toggle",
4319
- onClose: q[2] || (q[2] = (F) => n.value = !1)
4319
+ onClose: A[2] || (A[2] = (F) => n.value = !1)
4320
4320
  }, {
4321
4321
  default: D(() => [
4322
- e.multiselect ? (u(), O(Et, {
4322
+ e.multiselect ? (u(), V(Et, {
4323
4323
  key: 0,
4324
4324
  "focus-on-open": !1,
4325
4325
  label: e.label,
4326
4326
  options: g.value,
4327
- "options-id": b.value,
4327
+ "options-id": h.value,
4328
4328
  "selected-options": v.value,
4329
4329
  shown: n.value,
4330
4330
  onCheckOption: $,
4331
- onUncheckOption: A
4331
+ onUncheckOption: M
4332
4332
  }, Ze({ _: 2 }, [
4333
4333
  e.loading ? {
4334
4334
  name: "no-options",
4335
4335
  fn: D(() => [
4336
- S("span", rl, [
4337
- P(ht, { size: "sm" })
4336
+ w("span", tl, [
4337
+ P(bt, { size: "sm" })
4338
4338
  ])
4339
4339
  ]),
4340
4340
  key: "0"
4341
4341
  } : {
4342
4342
  name: "no-options",
4343
4343
  fn: D(() => [
4344
- W("No results found")
4344
+ A[3] || (A[3] = W("No results found"))
4345
4345
  ]),
4346
4346
  key: "1"
4347
4347
  }
4348
- ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), O(Re, {
4348
+ ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), V(Re, {
4349
4349
  key: 1,
4350
4350
  label: e.label,
4351
4351
  "model-value": v.value,
4352
- "options-id": b.value,
4352
+ "options-id": h.value,
4353
4353
  shown: n.value,
4354
- "onUpdate:modelValue": k,
4355
- onClose: q[1] || (q[1] = (F) => n.value = !1)
4354
+ "onUpdate:modelValue": C,
4355
+ onClose: A[1] || (A[1] = (F) => n.value = !1)
4356
4356
  }, {
4357
4357
  default: D(() => [
4358
4358
  P(qe, { options: g.value }, Ze({ _: 2 }, [
4359
4359
  e.loading ? {
4360
4360
  name: "no-options",
4361
4361
  fn: D(() => [
4362
- S("span", sl, [
4363
- P(ht, { size: "sm" })
4362
+ w("span", al, [
4363
+ P(bt, { size: "sm" })
4364
4364
  ])
4365
4365
  ]),
4366
4366
  key: "0"
4367
4367
  } : {
4368
4368
  name: "no-options",
4369
4369
  fn: D(() => [
4370
- W("No results found")
4370
+ A[4] || (A[4] = W("No results found"))
4371
4371
  ]),
4372
4372
  key: "1"
4373
4373
  }
@@ -4380,13 +4380,7 @@ const on = {
4380
4380
  }, 8, ["anchor-id", "shown"])
4381
4381
  ], 64));
4382
4382
  }
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 = [
4384
- ul,
4385
- cl,
4386
- fl,
4387
- pl,
4388
- ml
4389
- ], ti = {
4383
+ }, nl = ["data-size", "data-variant"], Ro = {
4390
4384
  __name: "BsLoader",
4391
4385
  props: {
4392
4386
  size: {
@@ -4400,14 +4394,20 @@ const on = {
4400
4394
  }
4401
4395
  },
4402
4396
  setup(e) {
4403
- return (a, t) => (u(), h("span", {
4397
+ return (a, t) => (u(), b("span", {
4404
4398
  class: "bs-loader",
4405
4399
  "data-size": e.size,
4406
4400
  "data-variant": e.variant,
4407
4401
  role: "status"
4408
- }, hl, 8, dl));
4402
+ }, t[0] || (t[0] = [
4403
+ w("span", null, null, -1),
4404
+ w("span", null, null, -1),
4405
+ w("span", null, null, -1),
4406
+ w("span", null, null, -1),
4407
+ w("span", { class: "visually-hidden" }, "Loading", -1)
4408
+ ]), 8, nl));
4409
4409
  }
4410
- }, bl = ["data-shown"], vl = {
4410
+ }, ll = ["data-shown"], ol = {
4411
4411
  __name: "BsOverlay",
4412
4412
  props: {
4413
4413
  shown: {
@@ -4445,7 +4445,7 @@ const on = {
4445
4445
  function i() {
4446
4446
  n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
4447
4447
  }
4448
- return (d, o) => (u(), O(Pe, {
4448
+ return (d, o) => (u(), V(Pe, {
4449
4449
  name: "bs-overlay",
4450
4450
  shown: c(n),
4451
4451
  preloaded: e.preloaded,
@@ -4453,15 +4453,15 @@ const on = {
4453
4453
  onAfterLeave: o[1] || (o[1] = (s) => l("after-leave"))
4454
4454
  }, {
4455
4455
  default: D(() => [
4456
- S("div", {
4456
+ w("div", {
4457
4457
  class: "bs-overlay",
4458
4458
  "data-shown": c(n)
4459
- }, null, 8, bl)
4459
+ }, null, 8, ll)
4460
4460
  ]),
4461
4461
  _: 1
4462
4462
  }, 8, ["shown", "preloaded"]));
4463
4463
  }
4464
- }, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4464
+ }, il = ["id", "role", "aria-labelledby", "data-shown"], rl = ["id"], jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4465
4465
  __name: "BsModal",
4466
4466
  props: {
4467
4467
  modalId: {
@@ -4508,19 +4508,19 @@ const on = {
4508
4508
  setup(e, { emit: a }) {
4509
4509
  const t = e, l = a, { transition: n } = Le(t), [i] = Z();
4510
4510
  let d = !1;
4511
- const o = I(null), s = (b) => {
4512
- o.value && b.target.closest(".bs-overlay") && l("close", t.modalId);
4511
+ const o = I(null), s = (h) => {
4512
+ o.value && h.target.closest(".bs-overlay") && l("close", t.modalId);
4513
4513
  };
4514
4514
  H(() => {
4515
4515
  document.addEventListener("click", s);
4516
- }), $e(() => {
4516
+ }), Be(() => {
4517
4517
  document.removeEventListener("click", s);
4518
4518
  }), me(["Escape"], () => {
4519
4519
  d && l("close", t.modalId);
4520
4520
  });
4521
- const r = () => !t.title && t.closeButton, f = () => t.title && t.closeButton;
4522
- return (b, v) => (u(), h(G, null, [
4523
- P(vl, {
4521
+ const r = () => !t.title && t.closeButton, m = () => t.title && t.closeButton;
4522
+ return (h, v) => (u(), b(G, null, [
4523
+ P(ol, {
4524
4524
  shown: c(n),
4525
4525
  preloaded: e.preloaded,
4526
4526
  "enter-controlled": e.enterControlled,
@@ -4536,57 +4536,57 @@ const on = {
4536
4536
  onEnter: v[3] || (v[3] = (g) => zt(d) ? d.value = !0 : d = !0)
4537
4537
  }, {
4538
4538
  default: D(() => [
4539
- S("div", z({
4539
+ w("div", z({
4540
4540
  id: e.modalId,
4541
4541
  class: "bs-modal",
4542
4542
  "data-component": "bs-modal",
4543
4543
  role: e.alert ? "alertdialog" : "dialog",
4544
- "aria-labelledby": e.title && !b.$attrs["aria-label"] ? c(i) : void 0,
4544
+ "aria-labelledby": e.title && !h.$attrs["aria-label"] ? c(i) : void 0,
4545
4545
  "aria-modal": "true"
4546
- }, b.$attrs, {
4546
+ }, h.$attrs, {
4547
4547
  ref_key: "modalRef",
4548
4548
  ref: o,
4549
4549
  "data-shown": c(n)
4550
4550
  }), [
4551
- e.title || e.closeButton ? (u(), h("header", {
4551
+ e.title || e.closeButton ? (u(), b("header", {
4552
4552
  key: 0,
4553
4553
  class: ie({
4554
4554
  "only-close-button-modal-header": r,
4555
- "modal-header": f
4555
+ "modal-header": m
4556
4556
  })
4557
4557
  }, [
4558
- e.title ? (u(), h("span", {
4558
+ e.title ? (u(), b("span", {
4559
4559
  key: 0,
4560
4560
  id: c(i),
4561
4561
  class: "modal-title"
4562
- }, V(e.title), 9, yl)) : C("", !0),
4563
- e.closeButton ? (u(), h("button", {
4562
+ }, O(e.title), 9, rl)) : x("", !0),
4563
+ e.closeButton ? (u(), b("button", {
4564
4564
  key: 1,
4565
4565
  type: "button",
4566
4566
  title: "Close Modal",
4567
4567
  "aria-label": "Close Modal",
4568
4568
  onClick: v[0] || (v[0] = (g) => l("close", e.modalId))
4569
4569
  }, [
4570
- P(c(Be), { class: "close-button" })
4571
- ])) : C("", !0)
4572
- ], 2)) : C("", !0),
4573
- E(b.$slots, "default")
4574
- ], 16, gl)
4570
+ P(c($e), { class: "close-button" })
4571
+ ])) : x("", !0)
4572
+ ], 2)) : x("", !0),
4573
+ E(h.$slots, "default")
4574
+ ], 16, il)
4575
4575
  ]),
4576
4576
  _: 3
4577
4577
  }, 8, ["preloaded", "shown"])
4578
4578
  ], 64));
4579
4579
  }
4580
- }), Sl = ["data-variant", "data-fixed"], wl = {
4580
+ }), sl = ["data-variant", "data-fixed"], dl = {
4581
4581
  key: 0,
4582
4582
  class: "bs-pagination-carets"
4583
- }, $l = ["aria-label", "title", "disabled"], Bl = { key: 0 }, Il = ["aria-label", "title", "disabled"], kl = { key: 0 }, Cl = {
4583
+ }, ul = ["aria-label", "title", "disabled"], cl = { key: 0 }, fl = ["aria-label", "title", "disabled"], pl = { key: 0 }, ml = {
4584
4584
  key: 1,
4585
4585
  class: "bs-pagination-page-numbers"
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 = {
4586
+ }, bl = ["title", "data-selected", "onClick"], hl = { key: 2 }, vl = { key: 3 }, gl = { class: "bs-pagination-results-numbers" }, yl = ["data-selected", "disabled", "onClick"], Sl = {
4587
4587
  key: 5,
4588
4588
  class: "bs-pagination-carets"
4589
- }, Dl = ["aria-label", "title", "disabled"], Pl = { key: 0 }, ql = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ni = {
4589
+ }, wl = ["aria-label", "title", "disabled"], Bl = { key: 0 }, $l = ["aria-label", "title", "disabled"], Il = { key: 0 }, Wo = {
4590
4590
  __name: "BsPagination",
4591
4591
  props: {
4592
4592
  // Used for all
@@ -4676,56 +4676,56 @@ const on = {
4676
4676
  H(() => {
4677
4677
  i.value ? n.value = i.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
4678
4678
  });
4679
- const i = p(() => t.modelValue || t.selection);
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));
4679
+ const i = f(() => t.modelValue || t.selection);
4680
+ j(() => t.selection, (p) => {
4681
+ n.value = p;
4682
+ }), j(() => t.modelValue, (p) => {
4683
+ n.value = p;
4684
+ }), j(n, (p, S) => {
4685
+ S !== null && (l("selchange", p), l("update:modelValue", p));
4686
4686
  });
4687
- const d = p(() => {
4687
+ const d = f(() => {
4688
4688
  if (t.variant === "group")
4689
4689
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
4690
4690
  if (t.variant === "base")
4691
4691
  return t.pageCount;
4692
- }), o = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
4692
+ }), o = f(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
4693
4693
  function s() {
4694
4694
  n.value = 1;
4695
4695
  }
4696
4696
  function r() {
4697
4697
  n.value = Math.max(n.value - 1, 1);
4698
4698
  }
4699
- function f() {
4699
+ function m() {
4700
4700
  n.value = Math.min(
4701
4701
  n.value + 1,
4702
4702
  d.value
4703
4703
  );
4704
4704
  }
4705
- function b() {
4705
+ function h() {
4706
4706
  n.value = d.value;
4707
4707
  }
4708
- const v = p(() => {
4708
+ const v = f(() => {
4709
4709
  if (t.pageCount <= t.pageRange)
4710
4710
  return [...Array(t.pageCount + 1).keys()].slice(1);
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", {
4711
+ const p = [1], S = (t.pageRange - 1) / 2;
4712
+ let C = n.value - S, $ = n.value + S;
4713
+ C < 1 && ($ += 1 - C, C = 1), $ > t.pageCount && (C -= $ - t.pageCount, $ = t.pageCount), C = Math.max(C, 2), $ = Math.min($, t.pageCount - 1), C > 2 && p.push(t.breakText);
4714
+ for (let M = C; M <= $; M++)
4715
+ p.push(M);
4716
+ return $ < t.pageCount - 1 && p.push(t.breakText), p.push(t.pageCount), p;
4717
+ }), g = f(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), y = f(() => {
4718
+ const p = (n.value - 1) * t.itemsPerGroup + 1, S = Math.min(p - 1 + t.itemsPerGroup, t.itemsCount);
4719
+ return `${t.centerLabel ?? "Results"} ${p} - ${S} of ${t.itemsCount}`;
4720
+ }), B = f(() => t.resultsIncrements.split(",").map((p) => parseInt(p)));
4721
+ return (p, S) => (u(), b("div", {
4722
4722
  class: "bs-pagination",
4723
4723
  "data-component": "bs-pagination",
4724
4724
  "data-variant": o.value,
4725
4725
  "data-fixed": t.fixed
4726
4726
  }, [
4727
- e.variant === "base" || e.variant === "group" ? (u(), h("div", wl, [
4728
- e.showFirstLastButtons ? (u(), h("button", {
4727
+ e.variant === "base" || e.variant === "group" ? (u(), b("div", dl, [
4728
+ e.showFirstLastButtons ? (u(), b("button", {
4729
4729
  key: 0,
4730
4730
  type: "button",
4731
4731
  class: ie(e.firstPageText ? "bs-pagination-word-caret" : void 0),
@@ -4735,9 +4735,9 @@ const on = {
4735
4735
  onClick: s
4736
4736
  }, [
4737
4737
  P(c(Ut)),
4738
- e.firstPageText ? (u(), h("span", Bl, V(e.firstPageText), 1)) : C("", !0)
4739
- ], 10, $l)) : C("", !0),
4740
- S("button", {
4738
+ e.firstPageText ? (u(), b("span", cl, O(e.firstPageText), 1)) : x("", !0)
4739
+ ], 10, ul)) : x("", !0),
4740
+ w("button", {
4741
4741
  type: "button",
4742
4742
  class: ie(e.prevPageText ? "bs-pagination-word-caret" : void 0),
4743
4743
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
@@ -4746,60 +4746,60 @@ const on = {
4746
4746
  onClick: r
4747
4747
  }, [
4748
4748
  P(c(It)),
4749
- e.prevPageText ? (u(), h("span", kl, V(e.prevPageText), 1)) : C("", !0)
4750
- ], 10, Il)
4751
- ])) : C("", !0),
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`,
4749
+ e.prevPageText ? (u(), b("span", pl, O(e.prevPageText), 1)) : x("", !0)
4750
+ ], 10, fl)
4751
+ ])) : x("", !0),
4752
+ e.variant === "base" && e.centerDisplay === "numbers" ? (u(), b("div", ml, [
4753
+ (u(!0), b(G, null, ee(v.value, (C) => (u(), b("button", {
4754
+ key: `page-${C}-button`,
4755
4755
  type: "button",
4756
- title: `Page ${k}`,
4757
- "data-selected": k === n.value,
4758
- onClick: ($) => n.value = k
4759
- }, V(k), 9, xl))), 128))
4760
- ])) : C("", !0),
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 }, [
4764
- Vl,
4765
- S("div", Ol, [
4766
- (u(!0), h(G, null, ee(B.value, (k) => (u(), h("button", {
4756
+ title: `Page ${C}`,
4757
+ "data-selected": C === n.value,
4758
+ onClick: ($) => n.value = C
4759
+ }, O(C), 9, bl))), 128))
4760
+ ])) : x("", !0),
4761
+ t.variant === "base" && t.centerDisplay === "text" ? (u(), b("span", hl, O(g.value), 1)) : x("", !0),
4762
+ t.variant === "group" ? (u(), b("span", vl, O(y.value), 1)) : x("", !0),
4763
+ t.variant === "results" ? (u(), b(G, { key: 4 }, [
4764
+ S[0] || (S[0] = w("span", null, "Results Per Page:", -1)),
4765
+ w("div", gl, [
4766
+ (u(!0), b(G, null, ee(B.value, (C) => (u(), b("button", {
4767
4767
  type: "button",
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))
4768
+ key: `results-${C}`,
4769
+ "data-selected": C === n.value,
4770
+ disabled: n.value === C,
4771
+ onClick: ($) => n.value = C
4772
+ }, O(C), 9, yl))), 128))
4773
4773
  ])
4774
- ], 64)) : C("", !0),
4775
- e.variant === "base" || e.variant === "group" ? (u(), h("div", Ll, [
4776
- S("button", {
4774
+ ], 64)) : x("", !0),
4775
+ e.variant === "base" || e.variant === "group" ? (u(), b("div", Sl, [
4776
+ w("button", {
4777
4777
  type: "button",
4778
4778
  class: ie(e.nextPageText ? "bs-pagination-word-caret" : void 0),
4779
4779
  "aria-label": e.nextPageText ? void 0 : "Next Page",
4780
4780
  title: e.nextPageText,
4781
4781
  disabled: n.value === d.value,
4782
- onClick: f
4782
+ onClick: m
4783
4783
  }, [
4784
- e.nextPageText ? (u(), h("span", Pl, V(e.nextPageText), 1)) : C("", !0),
4785
- P(c(Bt))
4786
- ], 10, Dl),
4787
- e.showFirstLastButtons ? (u(), h("button", {
4784
+ e.nextPageText ? (u(), b("span", Bl, O(e.nextPageText), 1)) : x("", !0),
4785
+ P(c($t))
4786
+ ], 10, wl),
4787
+ e.showFirstLastButtons ? (u(), b("button", {
4788
4788
  key: 0,
4789
4789
  type: "button",
4790
4790
  class: ie(e.lastPageText ? "bs-pagination-word-caret" : void 0),
4791
4791
  "aria-label": e.lastPageText ? void 0 : "Last Page",
4792
4792
  title: e.lastPageText,
4793
4793
  disabled: n.value === d.value,
4794
- onClick: b
4794
+ onClick: h
4795
4795
  }, [
4796
- e.lastPageText ? (u(), h("span", Ml, V(e.lastPageText), 1)) : C("", !0),
4796
+ e.lastPageText ? (u(), b("span", Il, O(e.lastPageText), 1)) : x("", !0),
4797
4797
  P(c(Gt))
4798
- ], 10, ql)) : C("", !0)
4799
- ])) : C("", !0)
4800
- ], 8, Sl));
4798
+ ], 10, $l)) : x("", !0)
4799
+ ])) : x("", !0)
4800
+ ], 8, sl));
4801
4801
  }
4802
- }, Nl = ["data-truncate"], li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4802
+ }, kl = ["data-truncate"], Uo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4803
4803
  __name: "BsPill",
4804
4804
  props: {
4805
4805
  active: { type: Boolean, default: !1 },
@@ -4824,7 +4824,7 @@ const on = {
4824
4824
  },
4825
4825
  setup(e) {
4826
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({
4827
+ return (o, s) => (u(), V(te(c(n)), z({
4828
4828
  class: "bs-pill",
4829
4829
  "data-active": e.active,
4830
4830
  "data-component": "bs-pill",
@@ -4834,27 +4834,27 @@ const on = {
4834
4834
  ".href": c(d)
4835
4835
  }, c(i), { onClick: c(t) }), {
4836
4836
  default: D(() => [
4837
- S("span", { "data-truncate": e.truncate }, [
4837
+ w("span", { "data-truncate": e.truncate }, [
4838
4838
  E(o.$slots, "default")
4839
- ], 8, Nl)
4839
+ ], 8, kl)
4840
4840
  ]),
4841
4841
  _: 3
4842
4842
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
4843
4843
  }
4844
- }), zl = {
4844
+ }), Cl = {
4845
4845
  class: "bs-profile-details",
4846
4846
  "data-component": "bs-profile-details"
4847
- }, Fl = {
4847
+ }, xl = {
4848
4848
  class: "bs-profile-name",
4849
4849
  "data-size": "sm",
4850
4850
  "data-weight": "bold"
4851
- }, Rl = {
4851
+ }, Tl = {
4852
4852
  key: 1,
4853
4853
  "data-weight": "bold"
4854
- }, jl = { key: 2 }, Wl = { key: 3 }, Ul = {
4854
+ }, Al = { key: 2 }, Ol = { key: 3 }, Vl = {
4855
4855
  key: 4,
4856
4856
  "data-icon": "true"
4857
- }, Gl = {
4857
+ }, El = {
4858
4858
  __name: "BsProfileDetails",
4859
4859
  props: {
4860
4860
  profileName: {
@@ -4871,40 +4871,40 @@ const on = {
4871
4871
  },
4872
4872
  emits: ["action-toggled"],
4873
4873
  setup(e, { emit: a }) {
4874
- const t = e, l = a, { icon: n } = Ve(t, "actionIcon"), { icon: i } = Ve(t, "miscMetaIcon");
4874
+ const t = e, l = a, { icon: n } = Oe(t, "actionIcon"), { icon: i } = Oe(t, "miscMetaIcon");
4875
4875
  function d(o) {
4876
4876
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
4877
4877
  }
4878
- return (o, s) => (u(), h("div", zl, [
4879
- e.action || o.$slots.action ? (u(), h("button", {
4878
+ return (o, s) => (u(), b("div", Cl, [
4879
+ e.action || o.$slots.action ? (u(), b("button", {
4880
4880
  key: 0,
4881
4881
  "data-icon": "true",
4882
4882
  onClick: d
4883
4883
  }, [
4884
4884
  E(o.$slots, "action", {}, () => [
4885
- e.actionIcon ? (u(), O(te(c(n) ? c(n) : "span"), {
4885
+ e.actionIcon ? (u(), V(te(c(n) ? c(n) : "span"), {
4886
4886
  key: 0,
4887
4887
  class: "bs-icon"
4888
- })) : C("", !0),
4889
- W(" " + V(e.action), 1)
4888
+ })) : x("", !0),
4889
+ W(" " + O(e.action), 1)
4890
4890
  ])
4891
- ])) : C("", !0),
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, [
4891
+ ])) : x("", !0),
4892
+ w("span", xl, O(e.profileName), 1),
4893
+ e.company ? (u(), b("span", Tl, O(e.company), 1)) : x("", !0),
4894
+ e.jobTitle ? (u(), b("span", Al, O(e.jobTitle), 1)) : x("", !0),
4895
+ e.email ? (u(), b("span", Ol, O(e.email), 1)) : x("", !0),
4896
+ e.miscMeta || o.$slots.misc ? (u(), b("span", Vl, [
4897
4897
  E(o.$slots, "misc", {}, () => [
4898
- e.miscMetaIcon ? (u(), O(te(c(i) ? c(i) : "span"), {
4898
+ e.miscMetaIcon ? (u(), V(te(c(i) ? c(i) : "span"), {
4899
4899
  key: 0,
4900
4900
  class: "bs-icon"
4901
- })) : C("", !0),
4902
- W(" " + V(e.miscMeta), 1)
4901
+ })) : x("", !0),
4902
+ W(" " + O(e.miscMeta), 1)
4903
4903
  ])
4904
- ])) : C("", !0)
4904
+ ])) : x("", !0)
4905
4905
  ]));
4906
4906
  }
4907
- }, oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4907
+ }, Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4908
4908
  __name: "BsProfile",
4909
4909
  props: {
4910
4910
  layout: {
@@ -4935,7 +4935,7 @@ const on = {
4935
4935
  emits: ["action-toggled"],
4936
4936
  setup(e, { emit: a }) {
4937
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({
4938
+ return (r, m) => (u(), V(te(c(d)), z({
4939
4939
  class: "bs-profile",
4940
4940
  ".href": c(s),
4941
4941
  "data-component": "bs-profile",
@@ -4949,7 +4949,7 @@ const on = {
4949
4949
  "profile-name": e.profileName,
4950
4950
  "use-alt-text": !1
4951
4951
  }, null, 8, ["src", "size", "initials", "profile-name"]),
4952
- P(Gl, {
4952
+ P(El, {
4953
4953
  "profile-name": e.profileName,
4954
4954
  company: e.company,
4955
4955
  "job-title": e.jobTitle,
@@ -4958,7 +4958,7 @@ const on = {
4958
4958
  "action-icon": e.actionIcon,
4959
4959
  "misc-meta": e.miscMeta,
4960
4960
  "misc-meta-icon": e.miscMetaIcon,
4961
- onActionToggled: f[0] || (f[0] = (b) => l("action-toggled"))
4961
+ onActionToggled: m[0] || (m[0] = (h) => l("action-toggled"))
4962
4962
  }, {
4963
4963
  action: D(() => [
4964
4964
  E(r.$slots, "action")
@@ -4974,7 +4974,7 @@ const on = {
4974
4974
  }
4975
4975
  });
4976
4976
  function Dt(e) {
4977
- const a = p(() => {
4977
+ const a = f(() => {
4978
4978
  var n;
4979
4979
  switch (e.currentStatus) {
4980
4980
  case void 0:
@@ -4988,7 +4988,7 @@ function Dt(e) {
4988
4988
  default:
4989
4989
  return e.currentStep;
4990
4990
  }
4991
- }), t = p(() => `${a.value} of ${e.steps.length} completed.`);
4991
+ }), t = f(() => `${a.value} of ${e.steps.length} completed.`);
4992
4992
  function l(n, i) {
4993
4993
  return n || (e.currentStatus ? i < e.currentStep ? "complete" : i === e.currentStep ? e.currentStatus : "not-started" : "not-started");
4994
4994
  }
@@ -4998,7 +4998,7 @@ function Dt(e) {
4998
4998
  getStatus: l
4999
4999
  };
5000
5000
  }
5001
- const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], ii = {
5001
+ const Ll = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Dl = ["data-status"], Ho = {
5002
5002
  __name: "BsProgressBar",
5003
5003
  props: {
5004
5004
  /** @type {Status} */
@@ -5027,7 +5027,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5027
5027
  },
5028
5028
  setup(e) {
5029
5029
  const a = e, { progressStep: t, progressText: l, getStatus: n } = Dt(a);
5030
- return (i, d) => (u(), h("div", {
5030
+ return (i, d) => (u(), b("div", {
5031
5031
  "aria-valuemax": e.steps.length,
5032
5032
  "aria-valuenow": c(t),
5033
5033
  "aria-valuetext": c(l),
@@ -5035,18 +5035,18 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5035
5035
  "data-component": "bs-progress-bar",
5036
5036
  role: "progressbar"
5037
5037
  }, [
5038
- (u(!0), h(G, null, ee(e.steps, (o, s) => (u(), h("div", {
5038
+ (u(!0), b(G, null, ee(e.steps, (o, s) => (u(), b("div", {
5039
5039
  class: "bs-step-item",
5040
5040
  "data-status": c(n)(o.status, s),
5041
5041
  "data-variant": "progress",
5042
5042
  key: o.id || o.label,
5043
5043
  role: "status"
5044
5044
  }, [
5045
- S("span", null, V(o.label || o) + " : " + V(c(n)(o.status, s) || "not started"), 1)
5046
- ], 8, Kl))), 128))
5047
- ], 8, Hl));
5045
+ w("span", null, O(o.label || o) + " : " + O(c(n)(o.status, s) || "not started"), 1)
5046
+ ], 8, Dl))), 128))
5047
+ ], 8, Ll));
5048
5048
  }
5049
- }, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], ri = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5049
+ }, Pl = ["data-disabled", "data-error", "data-size"], ql = ["checked", "disabled", "id", "required", "value", "data-error"], Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5050
5050
  __name: "BsRadio",
5051
5051
  props: {
5052
5052
  label: {
@@ -5090,15 +5090,15 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5090
5090
  },
5091
5091
  emits: ["update:modelValue"],
5092
5092
  setup(e, { emit: a }) {
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);
5094
- return (o, s) => (u(), h("div", z({
5093
+ const t = e, [l] = Z(), n = f(() => et.concat(t.passAttrs.split(","))), i = f(() => t.inputId || l.value), d = f(() => t.checked || t.modelValue && t.modelValue === t.value);
5094
+ return (o, s) => (u(), b("div", z({
5095
5095
  class: "bs-boolean",
5096
5096
  "data-component": "bs-radio",
5097
5097
  "data-disabled": e.disabled,
5098
5098
  "data-error": e.error,
5099
5099
  "data-size": e.size
5100
5100
  }, c(Y)(o.$attrs, n.value).remaining), [
5101
- S("input", z({
5101
+ w("input", z({
5102
5102
  checked: d.value,
5103
5103
  disabled: e.disabled,
5104
5104
  id: o.$attrs.id || i.value,
@@ -5108,8 +5108,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5108
5108
  "data-error": e.error
5109
5109
  }, c(Y)(o.$attrs, n.value).filtered, {
5110
5110
  onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
5111
- }), null, 16, Zl),
5112
- e.label || o.$slots.label ? (u(), O(ae, {
5111
+ }), null, 16, ql),
5112
+ e.label || o.$slots.label ? (u(), V(ae, {
5113
5113
  key: 0,
5114
5114
  for: o.$attrs.id || i.value,
5115
5115
  disabled: e.disabled,
@@ -5117,14 +5117,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5117
5117
  }, {
5118
5118
  default: D(() => [
5119
5119
  E(o.$slots, "label", {}, () => [
5120
- W(V(e.label), 1)
5120
+ W(O(e.label), 1)
5121
5121
  ])
5122
5122
  ]),
5123
5123
  _: 3
5124
- }, 8, ["for", "disabled", "required"])) : C("", !0)
5125
- ], 16, Yl));
5124
+ }, 8, ["for", "disabled", "required"])) : x("", !0)
5125
+ ], 16, Pl));
5126
5126
  }
5127
- }), Xl = ["id", "disabled", "required", "data-error", "value"], Ql = {
5127
+ }), Ml = ["id", "disabled", "required", "data-error", "value"], Nl = {
5128
5128
  __name: "BsSelect",
5129
5129
  props: {
5130
5130
  disabled: { type: Boolean, default: !1 },
@@ -5137,8 +5137,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5137
5137
  },
5138
5138
  emits: ["update:modelValue"],
5139
5139
  setup(e, { emit: a }) {
5140
- const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5141
- return (n, i) => (u(), h("select", z({
5140
+ const t = e, l = f(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5141
+ return (n, i) => (u(), b("select", z({
5142
5142
  id: n.$attrs.id || e.inputId,
5143
5143
  class: "bs-select",
5144
5144
  "data-component": "bs-select",
@@ -5150,9 +5150,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5150
5150
  onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5151
5151
  }), [
5152
5152
  E(n.$slots, "default")
5153
- ], 16, Xl));
5153
+ ], 16, Ml));
5154
5154
  }
5155
- }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], si = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5155
+ }, zl = ["selected", "disabled"], Fl = ["disabled", "selected", "value"], Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5156
5156
  __name: "BsSelectField",
5157
5157
  props: {
5158
5158
  data: {
@@ -5196,13 +5196,13 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5196
5196
  modelValue: [String, Number]
5197
5197
  },
5198
5198
  setup(e) {
5199
- const a = e, [t, l] = Z(2), n = p(() => za.concat(a.passAttrs.split(","))), i = p(() => {
5200
- var r, f;
5201
- return ((f = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
5199
+ const a = e, [t, l] = Z(2), n = f(() => Ma.concat(a.passAttrs.split(","))), i = f(() => {
5200
+ var r, m;
5201
+ return ((m = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : m.call(r, `
5202
5202
  `)) || a.hints;
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);
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, {
5203
+ }), d = f(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = f(() => a.inputId || t.value), s = f(() => a.value || a.modelValue);
5204
+ return (r, m) => (u(), b("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5205
+ e.label || r.$slots.label ? (u(), V(ae, {
5206
5206
  key: 0,
5207
5207
  for: r.$attrs.id || o.value,
5208
5208
  disabled: e.disabled,
@@ -5210,46 +5210,46 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5210
5210
  }, {
5211
5211
  default: D(() => [
5212
5212
  E(r.$slots, "label", {}, () => [
5213
- W(V(e.label), 1)
5213
+ W(O(e.label), 1)
5214
5214
  ])
5215
5215
  ]),
5216
5216
  _: 3
5217
- }, 8, ["for", "disabled", "required"])) : C("", !0),
5218
- P(Ql, z({
5217
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
5218
+ P(Nl, z({
5219
5219
  disabled: e.disabled,
5220
5220
  error: e.error,
5221
5221
  "hint-id": c(l),
5222
5222
  "input-id": r.$attrs.id || o.value,
5223
5223
  required: e.required,
5224
5224
  value: s.value,
5225
- "onUpdate:modelValue": f[0] || (f[0] = (b) => r.$emit("update:modelValue", b))
5225
+ "onUpdate:modelValue": m[0] || (m[0] = (h) => r.$emit("update:modelValue", h))
5226
5226
  }, c(Y)(r.$attrs, n.value).filtered), {
5227
5227
  default: D(() => [
5228
- S("option", {
5228
+ w("option", {
5229
5229
  selected: !s.value,
5230
5230
  value: "",
5231
5231
  disabled: !!s.value
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))
5232
+ }, O(e.disabled ? "" : e.placeholder), 9, zl),
5233
+ (u(!0), b(G, null, ee(e.data, (h) => (u(), b("option", {
5234
+ key: h.value,
5235
+ disabled: h.disabled,
5236
+ selected: s.value === h.value,
5237
+ value: h.value
5238
+ }, O(h.label), 9, Fl))), 128))
5239
5239
  ]),
5240
5240
  _: 1
5241
5241
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
5242
- d.value ? (u(), O(ge, {
5242
+ d.value ? (u(), V(ge, {
5243
5243
  key: 1,
5244
5244
  "data-disabled": e.disabled,
5245
5245
  error: e.error,
5246
5246
  "error-msg": e.errorMsg,
5247
5247
  hint: e.hint || i.value,
5248
5248
  "hint-id": c(l)
5249
- }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5249
+ }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5250
5250
  ], 16));
5251
5251
  }
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 }, {
5252
+ }), Rl = ["id", "name", "value"], jl = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5253
5253
  __name: "BsSelectWithDropdown",
5254
5254
  props: {
5255
5255
  breakout: {
@@ -5325,15 +5325,15 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5325
5325
  },
5326
5326
  emits: ["update:model-value"],
5327
5327
  setup(e, { emit: a }) {
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(() => {
5328
+ const t = e, l = a, [n, i] = Z(2), d = re(), o = I(!1), s = f(() => t.selectId || d.id || n.value), r = f(() => t.optionsId || i.value), m = f(() => {
5329
5329
  if (t.modelValue) {
5330
5330
  const v = t.options.find((g) => g.value === t.modelValue);
5331
5331
  return v ? v.label : t.placeholder;
5332
5332
  }
5333
5333
  return t.placeholder;
5334
- }), b = p(() => f.value === t.placeholder);
5335
- return (v, g) => (u(), h("div", null, [
5336
- e.label || v.$slots.label ? (u(), O(ae, {
5334
+ }), h = f(() => m.value === t.placeholder);
5335
+ return (v, g) => (u(), b("div", null, [
5336
+ e.label || v.$slots.label ? (u(), V(ae, {
5337
5337
  key: 0,
5338
5338
  disabled: e.disabled,
5339
5339
  for: s.value,
@@ -5341,19 +5341,19 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5341
5341
  }, {
5342
5342
  default: D(() => [
5343
5343
  E(v.$slots, "label", {}, () => [
5344
- W(V(e.label), 1)
5344
+ W(O(e.label), 1)
5345
5345
  ])
5346
5346
  ]),
5347
5347
  _: 3
5348
- }, 8, ["disabled", "for", "required"])) : C("", !0),
5349
- e.inputName || e.inputId ? (u(), h("input", {
5348
+ }, 8, ["disabled", "for", "required"])) : x("", !0),
5349
+ e.inputName || e.inputId ? (u(), b("input", {
5350
5350
  key: 1,
5351
5351
  id: e.inputId,
5352
5352
  name: e.inputName,
5353
5353
  type: "hidden",
5354
5354
  value: e.modelValue
5355
- }, null, 8, eo)) : C("", !0),
5356
- P(Vt, {
5355
+ }, null, 8, Rl)) : x("", !0),
5356
+ P(Ot, {
5357
5357
  "anchor-id": s.value,
5358
5358
  breakout: e.breakout,
5359
5359
  "dropdown-position": e.dropdownPosition,
@@ -5370,7 +5370,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5370
5370
  "onUpdate:selectedOption": g[2] || (g[2] = (y) => l("update:model-value", y))
5371
5371
  }, {
5372
5372
  toggle: D(() => [
5373
- S("button", z({
5373
+ w("button", z({
5374
5374
  "aria-controls": r.value,
5375
5375
  "aria-describedby": e.hintId,
5376
5376
  "aria-expanded": o.value,
@@ -5378,30 +5378,30 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5378
5378
  "aria-invalid": e.error,
5379
5379
  "aria-label": `${o.value ? "Close" : "Open"} Combobox`,
5380
5380
  class: "bs-select",
5381
- "data-cy": b.value ? "ignore" : void 0,
5381
+ "data-cy": h.value ? "ignore" : void 0,
5382
5382
  "data-disabled": e.disabled,
5383
5383
  "data-error": e.error,
5384
5384
  "data-open": o.value,
5385
- "data-placeholder": b.value,
5385
+ "data-placeholder": h.value,
5386
5386
  "data-required": e.required,
5387
5387
  disabled: e.disabled,
5388
5388
  id: s.value,
5389
5389
  role: "combobox"
5390
5390
  }, v.$attrs, {
5391
- onClick: g[0] || (g[0] = St((y) => o.value = !o.value, ["prevent"]))
5391
+ onClick: g[0] || (g[0] = wt((y) => o.value = !o.value, ["prevent"]))
5392
5392
  }), [
5393
- S("span", null, V(f.value), 1),
5394
- e.disabled ? C("", !0) : (u(), O(c(Me), {
5393
+ w("span", null, O(m.value), 1),
5394
+ e.disabled ? x("", !0) : (u(), V(c(Me), {
5395
5395
  key: 0,
5396
5396
  size: "md"
5397
5397
  }))
5398
- ], 16, to)
5398
+ ], 16, jl)
5399
5399
  ]),
5400
5400
  _: 1
5401
5401
  }, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id"])
5402
5402
  ]));
5403
5403
  }
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 }, {
5404
+ }), Wl = ["data-disabled", "data-size"], Ul = ["data-disabled", "data-pending", "data-size"], Gl = ["checked", "disabled", "id"], Hl = ["data-inner-on-label", "data-inner-off-label"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5405
5405
  __name: "BsSwitch",
5406
5406
  props: {
5407
5407
  checked: {
@@ -5447,14 +5447,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5447
5447
  },
5448
5448
  emits: ["update:modelValue"],
5449
5449
  setup(e, { emit: a }) {
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);
5451
- return (s, r) => (u(), h("div", z({
5450
+ const t = e, l = a, [n] = Z(), i = f(() => et.concat(t.passAttrs.split(","))), d = f(() => t.inputId || n.value), o = f(() => t.checked || t.modelValue);
5451
+ return (s, r) => (u(), b("div", z({
5452
5452
  class: "bs-boolean",
5453
5453
  "data-component": "bs-switch",
5454
5454
  "data-disabled": e.disabled,
5455
5455
  "data-size": e.size
5456
5456
  }, c(Y)(s.$attrs, i.value).remaining), [
5457
- e.label || s.$slots.label ? (u(), O(ae, {
5457
+ e.label || s.$slots.label ? (u(), V(ae, {
5458
5458
  key: 0,
5459
5459
  for: s.$attrs.id || d.value,
5460
5460
  disabled: e.disabled,
@@ -5462,34 +5462,34 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5462
5462
  }, {
5463
5463
  default: D(() => [
5464
5464
  E(s.$slots, "label", {}, () => [
5465
- W(V(e.label), 1)
5465
+ W(O(e.label), 1)
5466
5466
  ])
5467
5467
  ]),
5468
5468
  _: 3
5469
- }, 8, ["for", "disabled", "hide"])) : C("", !0),
5470
- S("div", {
5469
+ }, 8, ["for", "disabled", "hide"])) : x("", !0),
5470
+ w("div", {
5471
5471
  class: "bs-switch",
5472
5472
  "data-disabled": e.disabled,
5473
5473
  "data-pending": e.pending,
5474
5474
  "data-size": e.size
5475
5475
  }, [
5476
- S("input", z({
5476
+ w("input", z({
5477
5477
  checked: o.value,
5478
5478
  disabled: e.disabled,
5479
5479
  id: s.$attrs.id || d.value,
5480
5480
  type: "checkbox"
5481
5481
  }, c(Y)(s.$attrs, i.value).filtered, {
5482
- onChange: r[0] || (r[0] = (f) => l("update:modelValue", f.target.checked))
5483
- }), null, 16, lo),
5484
- S("span", {
5482
+ onChange: r[0] || (r[0] = (m) => l("update:modelValue", m.target.checked))
5483
+ }), null, 16, Gl),
5484
+ w("span", {
5485
5485
  "aria-hidden": "true",
5486
5486
  "data-inner-on-label": e.innerOnLabel,
5487
5487
  "data-inner-off-label": e.innerOffLabel
5488
- }, null, 8, oo)
5489
- ], 8, no)
5490
- ], 16, ao));
5488
+ }, null, 8, Hl)
5489
+ ], 8, Ul)
5490
+ ], 16, Wl));
5491
5491
  }
5492
- }), io = ["aria-controls", "aria-selected", "data-hidden"], ci = {
5492
+ }), Kl = ["aria-controls", "aria-selected", "data-hidden"], Qo = {
5493
5493
  __name: "BsTab",
5494
5494
  props: {
5495
5495
  activeTabId: {
@@ -5506,7 +5506,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5506
5506
  },
5507
5507
  emits: ["tabClick"],
5508
5508
  setup(e, { emit: a }) {
5509
- const t = e, l = re(), n = I(), i = p(() => t.activeTabId === l.id), d = p(() => t.panelId || `${l.id}-panel`);
5509
+ const t = e, l = re(), n = I(), i = f(() => t.activeTabId === l.id), d = f(() => t.panelId || `${l.id}-panel`);
5510
5510
  function o(r) {
5511
5511
  (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
5512
5512
  }
@@ -5516,7 +5516,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5516
5516
  n.value.dispatchEvent(r);
5517
5517
  }
5518
5518
  }
5519
- return (r, f) => (u(), h("div", {
5519
+ return (r, m) => (u(), b("div", {
5520
5520
  "aria-controls": d.value,
5521
5521
  "aria-selected": i.value ? "true" : "false",
5522
5522
  "data-hidden": e.hidden || void 0,
@@ -5529,9 +5529,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5529
5529
  onKeydown: o
5530
5530
  }, [
5531
5531
  E(r.$slots, "default")
5532
- ], 40, io));
5532
+ ], 40, Kl));
5533
5533
  }
5534
- }, ro = ["id", "data-resizing"], so = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], uo = 73, co = 20, Ue = 16, fi = {
5534
+ }, Yl = ["id", "data-resizing"], Zl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], Xl = 73, Ql = 20, Ue = 16, Jo = {
5535
5535
  __name: "BsTabList",
5536
5536
  props: {
5537
5537
  activeTabId: { type: String, required: !0 },
@@ -5542,10 +5542,10 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5542
5542
  },
5543
5543
  emits: ["tabChange", "update:modelValue"],
5544
5544
  setup(e, { emit: a }) {
5545
- const t = e, l = a, n = I(!1), i = I(!1), d = I([]), o = I(!1), s = I(!1), r = I(), 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(() => {
5545
+ const t = e, l = a, n = I(!1), i = I(!1), d = I([]), o = I(!1), s = I(!1), r = I(), m = I([]), h = I(!1), v = I([]), g = I(), y = I([]), B = I(), p = I(), [S, C] = Z(2), $ = f(() => t.activeTabId ? v.value.findIndex((T) => T.id === t.activeTabId) : 0), M = f(() => d.value.some((T) => T.id === t.activeTabId)), k = f(() => `${C.value}-options`), A = f(() => `${C.value}-toggle`), F = f(() => {
5546
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);
5547
+ return M.value ? (T = v.value[$.value]) == null ? void 0 : T.textContent : "More";
5548
+ }), _ = f(() => M.value ? m.value[$.value] - m.value[$.value - 1] + Ql + Ue : Xl + Ue);
5549
5549
  function J() {
5550
5550
  var de;
5551
5551
  let T = !1, N, U = 0, Q = !1, le = [];
@@ -5555,24 +5555,24 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5555
5555
  N.dataset.hidden = "true", le.push(N);
5556
5556
  continue;
5557
5557
  }
5558
- if (U = oe < v.value.length - 1 ? m.value - _.value : m.value, f.value[oe] > U) {
5558
+ if (U = oe < v.value.length - 1 ? p.value - _.value : p.value, m.value[oe] > U) {
5559
5559
  N.dataset.hidden = "true", le.push(N), T = !0, Q = !0;
5560
5560
  continue;
5561
5561
  }
5562
5562
  N.dataset.hidden = "false", N.setAttribute("tabindex", "0");
5563
5563
  }
5564
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);
5565
+ qt(), q(), h.value = !0;
5566
+ }, h.value ? 25 : 1e3);
5567
5567
  }
5568
5568
  }
5569
5569
  function ne(T) {
5570
5570
  l("tabChange", T), l("update:modelValue", T);
5571
5571
  }
5572
- function be(T) {
5572
+ function he(T) {
5573
5573
  var Q, le, de;
5574
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;
5575
+ return N || (T === 0 ? m.value[0] : m.value[T] - m.value[T - 1]) || 0;
5576
5576
  }
5577
5577
  function ye() {
5578
5578
  var T;
@@ -5590,19 +5590,16 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5590
5590
  o.value = !1, (N = g.value) == null || N.focus(), ne(T);
5591
5591
  }
5592
5592
  function xe(T) {
5593
- if (t.withBsTabs)
5594
- return;
5593
+ if (t.withBsTabs) return;
5595
5594
  const N = T.target.closest('[role="tab"]');
5596
- if (!N || N.getAttribute("aria-selected") === "true")
5597
- return;
5595
+ if (!N || N.getAttribute("aria-selected") === "true") return;
5598
5596
  const U = N.getAttribute("id");
5599
5597
  ne(U);
5600
5598
  }
5601
5599
  function Se(T) {
5602
5600
  if (T.key === "ArrowLeft" || T.key === "ArrowRight") {
5603
5601
  const N = y.value.findIndex((U) => U.id === T.target.id);
5604
- if (N === -1)
5605
- return;
5602
+ if (N === -1) return;
5606
5603
  T.preventDefault(), T.stopPropagation(), T.key === "ArrowLeft" ? R(N) : L(N);
5607
5604
  }
5608
5605
  }
@@ -5616,19 +5613,19 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5616
5613
  const N = T === 0 ? y.value.length - 1 : T - 1;
5617
5614
  (U = y.value[N]) == null || U.focus();
5618
5615
  }
5619
- function M() {
5616
+ function q() {
5620
5617
  var de, oe, it, rt;
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`);
5618
+ const T = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = p.value;
5619
+ let U = 300, Q = ((oe = (de = y.value) == null ? void 0 : de[$.value]) == null ? void 0 : oe.offsetLeft) || 0, le = he($.value);
5620
+ s.value && M.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - T) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${le / N}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
5624
5621
  }
5625
5622
  function K() {
5626
5623
  var T, N;
5627
5624
  (N = (T = B.value) == null ? void 0 : T.disconnect) == null || N.call(T), B.value = null;
5628
5625
  }
5629
5626
  function X() {
5630
- const T = Oe(() => {
5631
- m.value = r.value.clientWidth, J();
5627
+ const T = Ve(() => {
5628
+ p.value = r.value.clientWidth, J();
5632
5629
  }, 25);
5633
5630
  B.value = new ResizeObserver(T), B.value.observe(document.body);
5634
5631
  }
@@ -5638,17 +5635,15 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5638
5635
  function Pt() {
5639
5636
  let T;
5640
5637
  v.value.forEach((N, U) => {
5641
- T = N.getBoundingClientRect().width + Ue, f.value.push(U ? T + f.value[U - 1] : T);
5638
+ T = N.getBoundingClientRect().width + Ue, m.value.push(U ? T + m.value[U - 1] : T);
5642
5639
  });
5643
5640
  }
5644
5641
  function qt() {
5645
5642
  var N, U;
5646
5643
  let T = [];
5647
- if (typeof window > "u")
5648
- return T;
5644
+ if (typeof window > "u") return T;
5649
5645
  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")
5651
- break;
5646
+ if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1") break;
5652
5647
  T.push(Q);
5653
5648
  }
5654
5649
  s.value && T.push(r.value.querySelector(".bs-tab-list-toggle")), y.value = T;
@@ -5656,14 +5651,14 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5656
5651
  return j(() => t.activeTabId, ye), H(() => {
5657
5652
  var T;
5658
5653
  try {
5659
- Te(), Pt(), X(), m.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true");
5654
+ Te(), Pt(), X(), p.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (T = v.value[$.value]) == null || T.setAttribute("aria-selected", "true");
5660
5655
  } catch (N) {
5661
5656
  console.log("tab error", N);
5662
5657
  }
5663
- }), $e(K), (T, N) => (u(), h("div", {
5658
+ }), Be(K), (T, N) => (u(), b("div", {
5664
5659
  class: "bs-tab-list",
5665
5660
  "data-component": "bs-tab-list",
5666
- id: T.$attrs.id || c(w),
5661
+ id: T.$attrs.id || c(S),
5667
5662
  ref_key: "hostEl",
5668
5663
  ref: r,
5669
5664
  role: "tablist",
@@ -5673,28 +5668,28 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5673
5668
  onKeydown: Se
5674
5669
  }, [
5675
5670
  E(T.$slots, "default"),
5676
- S("button", {
5677
- "aria-controls": c(k),
5671
+ w("button", {
5672
+ "aria-controls": c(C),
5678
5673
  "aria-expanded": o.value,
5679
5674
  class: "bs-tab-list-toggle",
5680
- "data-active": A.value || void 0,
5675
+ "data-active": M.value || void 0,
5681
5676
  "data-hidden": !s.value,
5682
- id: q.value,
5677
+ id: A.value,
5683
5678
  ref_key: "dropdownToggle",
5684
5679
  ref: g,
5685
5680
  onClick: Ce
5686
5681
  }, [
5687
5682
  P(c(Ht), { size: "sm" }),
5688
- W(" " + V(F.value), 1)
5689
- ], 8, so),
5683
+ W(" " + O(F.value), 1)
5684
+ ], 8, Zl),
5690
5685
  P(Lt, {
5691
- "anchor-id": q.value,
5686
+ "anchor-id": A.value,
5692
5687
  breakout: "",
5693
- "container-id": T.$attrs.id || c(w),
5688
+ "container-id": T.$attrs.id || c(S),
5694
5689
  "helper-description": e.helperDescription || void 0,
5695
5690
  "helper-text": e.helperText,
5696
- id: c(k),
5697
- "options-id": x.value,
5691
+ id: c(C),
5692
+ "options-id": k.value,
5698
5693
  position: "right",
5699
5694
  preloaded: "",
5700
5695
  shown: o.value,
@@ -5703,22 +5698,22 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5703
5698
  "onUpdate:modelValue": se
5704
5699
  }, {
5705
5700
  default: D(() => [
5706
- (u(!0), h(G, null, ee(d.value, (U) => (u(), O(ot, {
5701
+ (u(!0), b(G, null, ee(d.value, (U) => (u(), V(ot, {
5707
5702
  key: U.id,
5708
5703
  value: U.id,
5709
- "options-id": x.value
5704
+ "options-id": k.value
5710
5705
  }, {
5711
5706
  default: D(() => [
5712
- W(V(U.textContent), 1)
5707
+ W(O(U.textContent), 1)
5713
5708
  ]),
5714
5709
  _: 2
5715
5710
  }, 1032, ["value", "options-id"]))), 128))
5716
5711
  ]),
5717
5712
  _: 1
5718
5713
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
5719
- ], 40, ro));
5714
+ ], 40, Yl));
5720
5715
  }
5721
- }, fo = ["aria-labelledby", "data-active", "id"], pi = {
5716
+ }, Jl = ["aria-labelledby", "data-active", "id"], _o = {
5722
5717
  __name: "BsTabPanel",
5723
5718
  props: {
5724
5719
  activeTabId: {
@@ -5731,8 +5726,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5731
5726
  }
5732
5727
  },
5733
5728
  setup(e) {
5734
- const a = e, t = re(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
5735
- return (i, d) => (u(), h("section", {
5729
+ const a = e, t = re(), l = f(() => a.activeTabId && a.activeTabId === a.tabId), n = f(() => t.id || `${a.tabId}-panel`);
5730
+ return (i, d) => (u(), b("section", {
5736
5731
  "aria-labelledby": e.tabId,
5737
5732
  "data-active": l.value,
5738
5733
  "data-component": "bs-tab-panel",
@@ -5740,9 +5735,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5740
5735
  role: "tabpanel"
5741
5736
  }, [
5742
5737
  E(i.$slots, "default")
5743
- ], 8, fo));
5738
+ ], 8, Jl));
5744
5739
  }
5745
- }, po = ["data-error", "id", "rows", "value"], mo = {
5740
+ }, _l = ["data-error", "id", "rows", "value"], eo = {
5746
5741
  __name: "BsTextarea",
5747
5742
  props: {
5748
5743
  error: {
@@ -5757,8 +5752,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5757
5752
  },
5758
5753
  emits: ["update:modelValue"],
5759
5754
  setup(e, { emit: a }) {
5760
- const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5761
- return (n, i) => (u(), h("textarea", z({
5755
+ const t = e, l = f(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5756
+ return (n, i) => (u(), b("textarea", z({
5762
5757
  class: "bs-textarea",
5763
5758
  "data-component": "bs-textarea",
5764
5759
  "data-error": e.error,
@@ -5766,9 +5761,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5766
5761
  rows: n.$attrs.rows || 6,
5767
5762
  value: e.value || e.modelValue,
5768
5763
  onInput: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5769
- }, l.value), null, 16, po));
5764
+ }, l.value), null, 16, _l));
5770
5765
  }
5771
- }, mi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5766
+ }, ei = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5772
5767
  __name: "BsTextareaField",
5773
5768
  props: {
5774
5769
  /** 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. */
@@ -5817,40 +5812,40 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5817
5812
  },
5818
5813
  emits: ["update:modelValue"],
5819
5814
  setup(e, { emit: a }) {
5820
- const t = e, [l, n] = Z(2), i = p(() => Fa.concat(t.passAttrs.split(","))), d = p(() => {
5821
- var f;
5822
- return ((f = t.value || t.modelValue) == null ? void 0 : f.length) || 0;
5823
- }), o = p(() => {
5824
- var f, b;
5825
- return ((b = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : b.call(f, `
5815
+ const t = e, [l, n] = Z(2), i = f(() => Na.concat(t.passAttrs.split(","))), d = f(() => {
5816
+ var m;
5817
+ return ((m = t.value || t.modelValue) == null ? void 0 : m.length) || 0;
5818
+ }), o = f(() => {
5819
+ var m, h;
5820
+ return ((h = (m = t.hints) == null ? void 0 : m.join) == null ? void 0 : h.call(m, `
5826
5821
  `)) || t.hints;
5827
- }), s = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
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, {
5822
+ }), s = f(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = f(() => t.inputId || l.value);
5823
+ return (m, h) => (u(), b("div", z({ "data-component": "bs-textarea-field" }, c(Y)(m.$attrs, i.value).remaining), [
5824
+ e.label || m.$slots.label ? (u(), V(ae, {
5830
5825
  key: 0,
5831
- for: f.$attrs.id || r.value,
5826
+ for: m.$attrs.id || r.value,
5832
5827
  disabled: e.disabled,
5833
5828
  required: e.required
5834
5829
  }, {
5835
5830
  default: D(() => [
5836
- E(f.$slots, "label", {}, () => [
5837
- W(V(e.label), 1)
5831
+ E(m.$slots, "label", {}, () => [
5832
+ W(O(e.label), 1)
5838
5833
  ])
5839
5834
  ]),
5840
5835
  _: 3
5841
- }, 8, ["for", "disabled", "required"])) : C("", !0),
5842
- P(mo, z({
5836
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
5837
+ P(eo, z({
5843
5838
  disabled: e.disabled,
5844
5839
  error: e.error,
5845
5840
  "hint-id": c(n),
5846
- id: f.$attrs.id || r.value,
5841
+ id: m.$attrs.id || r.value,
5847
5842
  placeholder: e.placeholder,
5848
5843
  required: e.required,
5849
5844
  rows: e.rows,
5850
5845
  value: e.value || e.modelValue,
5851
- "onUpdate:modelValue": b[0] || (b[0] = (v) => f.$emit("update:modelValue", v))
5852
- }, c(Y)(f.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5853
- s.value || e.charMax ? (u(), O(ge, {
5846
+ "onUpdate:modelValue": h[0] || (h[0] = (v) => m.$emit("update:modelValue", v))
5847
+ }, c(Y)(m.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5848
+ s.value || e.charMax ? (u(), V(ge, {
5854
5849
  key: 1,
5855
5850
  "char-count": d.value,
5856
5851
  "char-max": e.charMax,
@@ -5859,19 +5854,19 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5859
5854
  "error-msg": e.errorMsg,
5860
5855
  hint: e.hint || o.value,
5861
5856
  "hint-id": c(n)
5862
- }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5857
+ }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : x("", !0)
5863
5858
  ], 16));
5864
5859
  }
5865
5860
  });
5866
- function ho(e) {
5861
+ function to(e) {
5867
5862
  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);
5868
5863
  return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
5869
5864
  }
5870
5865
  const we = (e) => parseInt(e, 10);
5871
- function bo(e = "") {
5866
+ function ao(e = "") {
5872
5867
  const a = /[^0-9:apmAPM]/g;
5873
5868
  let t, l;
5874
- switch (e = e.replaceAll(a, "").toLowerCase(), ho(e)) {
5869
+ switch (e = e.replaceAll(a, "").toLowerCase(), to(e)) {
5875
5870
  case "uFmt":
5876
5871
  case "uFmtNoColon":
5877
5872
  l = we(e.slice(-2)), t = we(e.slice(0, -2));
@@ -5889,16 +5884,15 @@ function bo(e = "") {
5889
5884
  }
5890
5885
  function ve(e = "") {
5891
5886
  const a = /[^0-9:]/g;
5892
- if (e = e.replaceAll(a, ""), !e)
5893
- return "";
5887
+ if (e = e.replaceAll(a, ""), !e) return "";
5894
5888
  const [t, l] = e.split(":"), n = we(t), i = we(l), d = n < 12 ? "AM" : "PM";
5895
5889
  return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${d}`;
5896
5890
  }
5897
- function vo(e = "") {
5898
- const { hours: a, minutes: t } = bo(e);
5891
+ function no(e = "") {
5892
+ const { hours: a, minutes: t } = ao(e);
5899
5893
  return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
5900
5894
  }
5901
- const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5895
+ const Ge = "excluded", He = "over", ht = "skip", vt = "stop", Ke = "under", lo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5902
5896
  __name: "BsTimePicker",
5903
5897
  props: {
5904
5898
  disabled: {
@@ -5965,53 +5959,53 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
5965
5959
  setup(e, { expose: a, emit: t }) {
5966
5960
  const l = e, n = t, i = I(ve(l.modelValue)), d = I([]), o = I(""), s = I(!1);
5967
5961
  function r() {
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;
5962
+ const S = [];
5963
+ let C = !1;
5964
+ for (let $ = 0; $ < 24 && !C; $++)
5965
+ for (let M = 0; M < 60; M += l.step) {
5966
+ const k = v($, M), A = h(k);
5967
+ if (A !== ht) {
5968
+ if (A === vt) {
5969
+ C = !0;
5976
5970
  break;
5977
5971
  }
5978
- w.push({
5979
- label: ve(x),
5980
- value: x
5972
+ S.push({
5973
+ label: ve(k),
5974
+ value: k
5981
5975
  });
5982
5976
  }
5983
5977
  }
5984
- return w;
5978
+ return S;
5985
5979
  }
5986
- function f(w) {
5987
- return w ? l.minTime && w < l.minTime ? Ke : l.maxTime && w > l.maxTime ? He : l.disabledTimes.includes(w) ? Ge : "" : "";
5980
+ function m(S) {
5981
+ return S ? l.minTime && S < l.minTime ? Ke : l.maxTime && S > l.maxTime ? He : l.disabledTimes.includes(S) ? Ge : "" : "";
5988
5982
  }
5989
- function b(w) {
5990
- switch (f(w)) {
5983
+ function h(S) {
5984
+ switch (m(S)) {
5991
5985
  case He:
5992
5986
  return vt;
5993
5987
  case Ke:
5994
5988
  case Ge:
5995
- return bt;
5989
+ return ht;
5996
5990
  default:
5997
5991
  return "";
5998
5992
  }
5999
5993
  }
6000
- function v(w, k) {
6001
- return w = w.toString().padStart(2, "0"), k = k.toString().padStart(2, "0"), `${w}:${k}`;
5994
+ function v(S, C) {
5995
+ return S = S.toString().padStart(2, "0"), C = C.toString().padStart(2, "0"), `${S}:${C}`;
6002
5996
  }
6003
- function g(w) {
6004
- const k = vo(w);
6005
- k === l.modelValue && (i.value = ve(l.modelValue)), B(k);
5997
+ function g(S) {
5998
+ const C = no(S);
5999
+ C === l.modelValue && (i.value = ve(l.modelValue)), B(C);
6006
6000
  }
6007
6001
  function y() {
6008
6002
  d.value = r();
6009
6003
  }
6010
- function B(w) {
6011
- m(w), n("update:modelValue", w);
6004
+ function B(S) {
6005
+ p(S), n("update:modelValue", S);
6012
6006
  }
6013
- function m(w) {
6014
- switch (f(w)) {
6007
+ function p(S) {
6008
+ switch (m(S)) {
6015
6009
  case He:
6016
6010
  o.value = `Time must be before ${ve(l.maxTime)}`, s.value = !0;
6017
6011
  break;
@@ -6035,12 +6029,12 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6035
6029
  () => l.maxTime,
6036
6030
  () => l.minTime,
6037
6031
  () => l.modelValue
6038
- ], () => m(l.modelValue)), j(() => l.modelValue, (w) => {
6039
- i.value = l.modelValue ? ve(w) : "";
6032
+ ], () => p(l.modelValue)), j(() => l.modelValue, (S) => {
6033
+ i.value = l.modelValue ? ve(S) : "";
6040
6034
  }), a({
6041
6035
  validationErr: s,
6042
6036
  validationErrMsg: o
6043
- }), (w, k) => (u(), O(Ot, {
6037
+ }), (S, C) => (u(), V(Vt, {
6044
6038
  disabled: e.disabled,
6045
6039
  "display-value": i.value,
6046
6040
  "dropdown-position": e.dropdownPosition,
@@ -6058,7 +6052,7 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6058
6052
  "onUpdate:modelValue": g
6059
6053
  }, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
6060
6054
  }
6061
- }), hi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6055
+ }), ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6062
6056
  __name: "BsTimePickerField",
6063
6057
  props: {
6064
6058
  disabled: {
@@ -6127,21 +6121,21 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6127
6121
  },
6128
6122
  emits: ["update:modelValue"],
6129
6123
  setup(e, { expose: a, emit: t }) {
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(() => {
6124
+ const l = e, [n, i] = Z(2), d = I(null), o = f(() => l.errorMsg || h.value), s = f(() => l.error || v.value), r = f(() => l.inputId || n.value), m = f(() => l.hint || s.value && o.value), h = f(() => {
6131
6125
  var g;
6132
6126
  return (g = d.value) == null ? void 0 : g.validationErrMsg;
6133
- }), v = p(() => {
6127
+ }), v = f(() => {
6134
6128
  var g;
6135
6129
  return (g = d.value) == null ? void 0 : g.validationErr;
6136
6130
  });
6137
6131
  return a({
6138
6132
  validationErr: v,
6139
- validationErrMsg: b
6140
- }), (g, y) => (u(), h("div", z({
6133
+ validationErrMsg: h
6134
+ }), (g, y) => (u(), b("div", z({
6141
6135
  "aria-live": "polite",
6142
6136
  "data-component": "bs-time-picker-field"
6143
- }, c(Y)(g.$attrs, c(he)).remaining), [
6144
- e.label || g.$slots.label ? (u(), O(ae, {
6137
+ }, c(Y)(g.$attrs, c(be)).remaining), [
6138
+ e.label || g.$slots.label ? (u(), V(ae, {
6145
6139
  key: 0,
6146
6140
  for: g.$attrs.id || r.value,
6147
6141
  disabled: e.disabled,
@@ -6149,12 +6143,12 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6149
6143
  }, {
6150
6144
  default: D(() => [
6151
6145
  E(g.$slots, "label", {}, () => [
6152
- W(V(e.label), 1)
6146
+ W(O(e.label), 1)
6153
6147
  ])
6154
6148
  ]),
6155
6149
  _: 3
6156
- }, 8, ["for", "disabled", "required"])) : C("", !0),
6157
- P(go, z({
6150
+ }, 8, ["for", "disabled", "required"])) : x("", !0),
6151
+ P(lo, z({
6158
6152
  ref_key: "timePicker",
6159
6153
  ref: d,
6160
6154
  disabled: e.disabled,
@@ -6173,18 +6167,18 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6173
6167
  required: e.required,
6174
6168
  step: e.step,
6175
6169
  "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"]),
6170
+ }, c(Y)(g.$attrs, c(be)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
6177
6171
  ue(P(ge, {
6178
6172
  error: s.value,
6179
6173
  "error-msg": o.value,
6180
6174
  hint: e.hint,
6181
6175
  "hint-id": c(i)
6182
6176
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
6183
- [ce, f.value]
6177
+ [ce, m.value]
6184
6178
  ])
6185
6179
  ], 16));
6186
6180
  }
6187
- }), yo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], So = ["data-status"], wo = { class: "visually-hidden" }, bi = {
6181
+ }), oo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], io = ["data-status"], ro = { class: "visually-hidden" }, ai = {
6188
6182
  __name: "BsTimeline",
6189
6183
  props: {
6190
6184
  /** @type {Status} */
@@ -6225,7 +6219,7 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6225
6219
  function d(o, s) {
6226
6220
  return o = i(o, s), t[o] || dt;
6227
6221
  }
6228
- return (o, s) => (u(), h("div", {
6222
+ return (o, s) => (u(), b("div", {
6229
6223
  "aria-valuemax": e.steps.length,
6230
6224
  "aria-valuenow": c(l),
6231
6225
  "aria-valuetext": c(n),
@@ -6233,24 +6227,24 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6233
6227
  "data-component": "bs-timeline",
6234
6228
  role: "progressbar"
6235
6229
  }, [
6236
- (u(!0), h(G, null, ee(e.steps, (r, f) => (u(), h("div", {
6230
+ (u(!0), b(G, null, ee(e.steps, (r, m) => (u(), b("div", {
6237
6231
  class: "bs-step-item",
6238
- "data-status": c(i)(r.status, f),
6232
+ "data-status": c(i)(r.status, m),
6239
6233
  key: r.id || r.label,
6240
6234
  role: "status"
6241
6235
  }, [
6242
- (u(), O(te(d(r.status, f)), {
6236
+ (u(), V(te(d(r.status, m)), {
6243
6237
  class: "bs-step-icon",
6244
6238
  role: "presentation"
6245
6239
  })),
6246
- S("p", null, [
6247
- W(V(r.label || r) + " ", 1),
6248
- S("span", wo, " : " + V(c(i)(r.status, f) || "not started"), 1)
6240
+ w("p", null, [
6241
+ W(O(r.label || r) + " ", 1),
6242
+ w("span", ro, " : " + O(c(i)(r.status, m) || "not started"), 1)
6249
6243
  ])
6250
- ], 8, So))), 128))
6251
- ], 8, yo));
6244
+ ], 8, io))), 128))
6245
+ ], 8, oo));
6252
6246
  }
6253
- }, $o = ["data-variant", "data-shown", "data-stacked"], vi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6247
+ }, so = ["data-variant", "data-shown", "data-stacked"], ni = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6254
6248
  __name: "BsToast",
6255
6249
  props: {
6256
6250
  shown: {
@@ -6308,15 +6302,15 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6308
6302
  o();
6309
6303
  }, t.duration)), l("after-enter");
6310
6304
  }
6311
- return (r, f) => (u(), O(Pe, {
6305
+ return (r, m) => (u(), V(Pe, {
6312
6306
  name: "bs-toast",
6313
6307
  shown: c(n),
6314
6308
  preloaded: e.preloaded,
6315
6309
  onAfterEnter: s,
6316
- onAfterLeave: f[0] || (f[0] = (b) => l("after-leave"))
6310
+ onAfterLeave: m[0] || (m[0] = (h) => l("after-leave"))
6317
6311
  }, {
6318
6312
  default: D(() => [
6319
- S("div", z({
6313
+ w("div", z({
6320
6314
  class: "bs-toast",
6321
6315
  "data-component": "bs-toast",
6322
6316
  "data-variant": e.variant,
@@ -6325,22 +6319,22 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6325
6319
  role: "alert"
6326
6320
  }, r.$attrs), [
6327
6321
  E(r.$slots, "default")
6328
- ], 16, $o)
6322
+ ], 16, so)
6329
6323
  ]),
6330
6324
  _: 3
6331
6325
  }, 8, ["shown", "preloaded"]));
6332
6326
  }
6333
- }), Bo = ["data-stacked"], gi = {
6327
+ }), uo = ["data-stacked"], li = {
6334
6328
  __name: "BsToastActions",
6335
6329
  setup(e) {
6336
6330
  const a = I(!1);
6337
6331
  H(() => {
6338
6332
  var n;
6339
- const l = yt();
6333
+ const l = St();
6340
6334
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
6341
6335
  });
6342
6336
  const t = pe("handleDismiss");
6343
- return (l, n) => (u(), h("div", {
6337
+ return (l, n) => (u(), b("div", {
6344
6338
  class: "bs-toast-actions",
6345
6339
  "data-component": "bs-toast-actions",
6346
6340
  "data-stacked": a.value || void 0
@@ -6351,32 +6345,32 @@ const Ge = "excluded", He = "over", bt = "skip", vt = "stop", Ke = "under", go =
6351
6345
  "text-btn": "",
6352
6346
  onClick: c(t)
6353
6347
  }, {
6354
- default: D(() => [
6348
+ default: D(() => n[0] || (n[0] = [
6355
6349
  W(" Dismiss ")
6356
- ]),
6350
+ ])),
6357
6351
  _: 1
6358
6352
  }, 8, ["onClick"])
6359
6353
  ])
6360
- ], 8, Bo));
6354
+ ], 8, uo));
6361
6355
  }
6362
- }, Io = (e, a) => {
6356
+ }, co = (e, a) => {
6363
6357
  const t = e.__vccOpts || e;
6364
6358
  for (const [l, n] of a)
6365
6359
  t[l] = n;
6366
6360
  return t;
6367
- }, ko = {}, Co = {
6361
+ }, fo = {}, po = {
6368
6362
  class: "bs-toast-body",
6369
6363
  "data-component": "bs-toast-body"
6370
6364
  };
6371
- function xo(e, a) {
6372
- return u(), h("div", Co, [
6365
+ function mo(e, a) {
6366
+ return u(), b("div", po, [
6373
6367
  E(e.$slots, "default")
6374
6368
  ]);
6375
6369
  }
6376
- const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si = {
6370
+ const oi = /* @__PURE__ */ co(fo, [["render", mo]]), bo = ["data-variant"], ii = {
6377
6371
  __name: "BsToastHeader",
6378
6372
  setup(e) {
6379
- const a = pe("variant"), t = p(() => {
6373
+ const a = pe("variant"), t = f(() => {
6380
6374
  switch (a) {
6381
6375
  case "warning":
6382
6376
  return Xe;
@@ -6388,28 +6382,28 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6388
6382
  return kt;
6389
6383
  }
6390
6384
  });
6391
- return (l, n) => (u(), h("div", {
6385
+ return (l, n) => (u(), b("div", {
6392
6386
  class: "bs-toast-header",
6393
6387
  "data-component": "bs-toast-header",
6394
6388
  "data-variant": c(a)
6395
6389
  }, [
6396
- (u(), O(te(t.value), { class: "bs-toast-header-icon" })),
6397
- S("h5", null, [
6390
+ (u(), V(te(t.value), { class: "bs-toast-header-icon" })),
6391
+ w("h5", null, [
6398
6392
  E(l.$slots, "default")
6399
6393
  ])
6400
- ], 8, To));
6394
+ ], 8, bo));
6401
6395
  }
6402
- }, Ao = {
6396
+ }, ho = {
6403
6397
  class: "bs-toaster",
6404
6398
  "data-component": "bs-toaster"
6405
- }, wi = {
6399
+ }, ri = {
6406
6400
  __name: "BsToaster",
6407
6401
  setup(e) {
6408
- return fe("stacked", !0), (a, t) => (u(), h("div", Ao, [
6402
+ return fe("stacked", !0), (a, t) => (u(), b("div", ho, [
6409
6403
  E(a.$slots, "default")
6410
6404
  ]));
6411
6405
  }
6412
- }, Vo = ["data-position"], Oo = ["id"], $i = {
6406
+ }, vo = ["data-position"], go = ["id"], si = {
6413
6407
  __name: "BsTooltip",
6414
6408
  props: {
6415
6409
  tooltipId: {
@@ -6436,7 +6430,7 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6436
6430
  }
6437
6431
  },
6438
6432
  setup(e) {
6439
- const a = e, t = I(!1), l = I(!1), n = p(() => {
6433
+ const a = e, t = I(!1), l = I(!1), n = f(() => {
6440
6434
  let o = "bs-tooltip-text";
6441
6435
  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;
6442
6436
  });
@@ -6449,7 +6443,7 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6449
6443
  function d() {
6450
6444
  t.value = !1, l.value = !1;
6451
6445
  }
6452
- return (o, s) => (u(), h("div", {
6446
+ return (o, s) => (u(), b("div", {
6453
6447
  class: "bs-tooltip",
6454
6448
  "data-position": e.position || void 0,
6455
6449
  "data-component": "bs-tooltip",
@@ -6459,15 +6453,15 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6459
6453
  onFocusout: d
6460
6454
  }, [
6461
6455
  E(o.$slots, "default"),
6462
- e.content ? (u(), h("div", {
6456
+ e.content ? (u(), b("div", {
6463
6457
  key: 0,
6464
6458
  class: ie(n.value),
6465
6459
  id: e.tooltipId,
6466
6460
  role: "tooltip"
6467
- }, V(e.content), 11, Oo)) : C("", !0)
6468
- ], 40, Vo));
6461
+ }, O(e.content), 11, go)) : x("", !0)
6462
+ ], 40, vo));
6469
6463
  }
6470
- }, Eo = {
6464
+ }, yo = {
6471
6465
  accordion: "[data-component=bs-accordion]",
6472
6466
  badge: "[data-component=bs-badge]",
6473
6467
  banner: "[data-component=bs-banner]",
@@ -6524,69 +6518,69 @@ const yi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], Si =
6524
6518
  toastHeader: "[data-component=bs-toast-header]",
6525
6519
  toaster: "[data-component=bs-toaster]",
6526
6520
  tooltip: "[data-component=bs-tooltip]"
6527
- }, Bi = {
6528
- bsSelectors: Eo
6521
+ }, di = {
6522
+ bsSelectors: yo
6529
6523
  };
6530
6524
  export {
6531
- Ro as BsAccordion,
6525
+ xo as BsAccordion,
6532
6526
  wa as BsBadge,
6533
- jo as BsBanner,
6527
+ To as BsBanner,
6534
6528
  ka as BsButton,
6535
- Wo as BsCalendar,
6536
- Uo as BsCaretButton,
6537
- Go as BsCaretTextButton,
6538
- Ho as BsChartBar,
6539
- Ko as BsCheckbox,
6529
+ Ao as BsCalendar,
6530
+ Oo as BsCaretButton,
6531
+ Vo as BsCaretTextButton,
6532
+ Eo as BsChartBar,
6533
+ Lo as BsCheckbox,
6540
6534
  xt as BsCircleButton,
6541
6535
  lt as BsDropdown,
6542
- Ot as BsDropdownCombobox,
6543
- Yo as BsDropdownComboboxField,
6536
+ Vt as BsDropdownCombobox,
6537
+ Do as BsDropdownComboboxField,
6544
6538
  Et as BsDropdownMultiselect,
6545
6539
  ot as BsDropdownOption,
6546
6540
  qe as BsDropdownOptionBuilder,
6547
6541
  Re as BsDropdownOptionList,
6548
6542
  Lt as BsDropdownWithOptions,
6549
- Vt as BsDropdownWithToggle,
6550
- Zo as BsEmptyState,
6543
+ Ot as BsDropdownWithToggle,
6544
+ Po as BsEmptyState,
6551
6545
  ge as BsFieldDetails,
6552
- $n as BsFilterButton,
6553
- Xo as BsFlyout,
6554
- Qo as BsIconGradientWrapper,
6546
+ Sn as BsFilterButton,
6547
+ qo as BsFlyout,
6548
+ Mo as BsIconGradientWrapper,
6555
6549
  Ie as BsInput,
6556
6550
  De as BsInputAddon,
6557
- Jo as BsInputField,
6558
- _o as BsInputPhone,
6559
- el as BsInputSearch,
6560
- ei as BsInputTypeahead,
6551
+ No as BsInputField,
6552
+ zo as BsInputPhone,
6553
+ Xn as BsInputSearch,
6554
+ Fo as BsInputTypeahead,
6561
6555
  ae as BsLabel,
6562
- ti as BsLoader,
6563
- ai as BsModal,
6564
- vl as BsOverlay,
6565
- ni as BsPagination,
6566
- li as BsPill,
6567
- oi as BsProfile,
6568
- Gl as BsProfileDetails,
6556
+ Ro as BsLoader,
6557
+ jo as BsModal,
6558
+ ol as BsOverlay,
6559
+ Wo as BsPagination,
6560
+ Uo as BsPill,
6561
+ Go as BsProfile,
6562
+ El as BsProfileDetails,
6569
6563
  At as BsProfileImg,
6570
- ii as BsProgressBar,
6571
- ri as BsRadio,
6572
- Ql as BsSelect,
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,
6582
- go as BsTimePicker,
6583
- hi as BsTimePickerField,
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
6564
+ Ho as BsProgressBar,
6565
+ Ko as BsRadio,
6566
+ Nl as BsSelect,
6567
+ Yo as BsSelectField,
6568
+ Zo as BsSelectWithDropdown,
6569
+ bt as BsSpinner,
6570
+ Xo as BsSwitch,
6571
+ Qo as BsTab,
6572
+ Jo as BsTabList,
6573
+ _o as BsTabPanel,
6574
+ eo as BsTextarea,
6575
+ ei as BsTextareaField,
6576
+ lo as BsTimePicker,
6577
+ ti as BsTimePickerField,
6578
+ ai as BsTimeline,
6579
+ ni as BsToast,
6580
+ li as BsToastActions,
6581
+ oi as BsToastBody,
6582
+ ii as BsToastHeader,
6583
+ ri as BsToaster,
6584
+ si as BsTooltip,
6585
+ di as bsSelectors
6592
6586
  };