@wwtdev/bsds-components-vue3 2.10.0 → 2.11.1

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,11 +1,11 @@
1
- import { computed as p, ref as k, onMounted as H, onUnmounted as $e, shallowRef as qt, watch as j, defineAsyncComponent as Qe, openBlock as u, createElementBlock as v, unref as c, createElementVNode as I, renderSlot as E, createBlock as V, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as A, createVNode as D, normalizeClass as ie, useAttrs as ve, mergeProps as N, withCtx as L, Fragment as G, toHandlers as Ke, onBeforeUnmount as Je, onBeforeMount as gt, nextTick as Ae, createTextVNode as W, createSlots as Ye, useSlots as yt, renderList as ee, Teleport as Pt, withDirectives as de, Transition as st, vShow as ue, provide as ce, inject as fe, withModifiers as Mt, isRef as zt } from "vue";
2
- import { v4 as St } from "uuid";
3
- import { BsIconCaretDown as _e, BsIconWarning as Ze, BsIconClose as Be, BsIconCalendar as wt, BsIconCaretRight as $t, BsIconCaretLeft as Bt, BsIconSmallCaretRight as Nt, BsIconSmallCaretLeft as Rt, BsIconCaretSort as Ft, BsIconSearch as jt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Wt, BsIconActionEllipsis as Gt, BsIconGraphPieEmpty as dt, BsIconCircleStop as Ht, BsIconCircleCheck as Kt, BsIconCircleX as Yt, BsIconCircleEllipsis as Zt, BsIconCirclePlay as Xt, BsIconCirclePause as Qt, BsIconCircleExclamation as It, BsIconThumbsUpStroke as Jt } from "@wwtdev/bsds-icons-vue3";
4
- import { DatePicker as _t } from "v-calendar";
5
- import { Filler as ea, Chart as Fe, BarController as ta, BarElement as aa, CategoryScale as na, LinearScale as la, Legend as oa, TimeScale as ia, Tooltip as ra } from "chart.js";
1
+ import { computed as p, ref as k, onMounted as H, onUnmounted as $e, shallowRef as Mt, watch as j, defineAsyncComponent as Je, openBlock as u, createElementBlock as v, unref as c, createElementVNode as $, renderSlot as E, createBlock as A, resolveDynamicComponent as te, createCommentVNode as C, toDisplayString as T, createVNode as D, normalizeClass as ie, useAttrs as re, mergeProps as z, withCtx as L, Fragment as G, toHandlers as Ye, onBeforeUnmount as _e, onBeforeMount as gt, nextTick as Ae, createTextVNode as U, createSlots as Ze, useSlots as yt, renderList as ee, Teleport as Nt, withDirectives as ue, Transition as st, vShow as ce, provide as fe, inject as pe, withModifiers as St, isRef as zt } from "vue";
2
+ import { v4 as wt } from "uuid";
3
+ import { BsIconCaretDown as Me, BsIconWarning as Xe, BsIconClose as Be, BsIconCalendar as $t, BsIconCaretRight as Bt, BsIconCaretLeft as It, BsIconSmallCaretRight as Rt, BsIconSmallCaretLeft as Ft, BsIconCaretSort as jt, BsIconSearch as Wt, BsIconCaretLeftDouble as Ut, BsIconCaretRightDouble as Gt, BsIconActionEllipsis as Ht, BsIconGraphPieEmpty as dt, BsIconCircleStop as Kt, BsIconCircleCheck as Yt, BsIconCircleX as Zt, BsIconCircleEllipsis as Xt, BsIconCirclePlay as Qt, BsIconCirclePause as Jt, BsIconCircleExclamation as kt, BsIconThumbsUpStroke as _t } from "@wwtdev/bsds-icons-vue3";
4
+ import { DatePicker as ea } from "v-calendar";
5
+ import { Filler as ta, Chart as je, BarController as aa, BarElement as na, CategoryScale as la, LinearScale as oa, Legend as ia, TimeScale as ra, Tooltip as sa } from "chart.js";
6
6
  import "chartjs-adapter-date-fns";
7
- import Me from "lodash.merge";
8
- import { getSupportedCallingCodes as sa, getRegionCodeForCountryCode as da, parsePhoneNumber as ut } from "awesome-phonenumber";
7
+ import Ne from "lodash.merge";
8
+ import { getSupportedCallingCodes as da, getRegionCodeForCountryCode as ua, parsePhoneNumber as ut } from "awesome-phonenumber";
9
9
  const ct = {
10
10
  href: "a",
11
11
  linkTo: "a",
@@ -14,23 +14,23 @@ const ct = {
14
14
  type: "button"
15
15
  };
16
16
  function ze(e, a, t = "button") {
17
- const l = ua(e, a, t), n = p(() => {
18
- const o = l.value === "button", d = {};
19
- return o ? (d.type = a.type || "button", d.autocomplete = "off", e.disabled && (d.disabled = !0)) : e.disabled && (d["aria-disabled"] = "true", d.tabindex = "-1"), d;
17
+ const l = ca(e, a, t), n = p(() => {
18
+ const o = l.value === "button", s = {};
19
+ 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
20
  }), i = p(() => {
21
21
  const o = { ...a, ...n.value };
22
22
  return delete o.href, o;
23
- }), s = p(() => e.linkTo || e.href);
24
- return { rootTag: l, attrsToBind: i, hrefUrl: s };
23
+ }), d = p(() => e.linkTo || e.href);
24
+ return { rootTag: l, attrsToBind: i, hrefUrl: d };
25
25
  }
26
- function ua(e, a, t) {
27
- const l = Object.keys(ct).find((n) => ca(e, a, n));
26
+ function ca(e, a, t) {
27
+ const l = Object.keys(ct).find((n) => fa(e, a, n));
28
28
  return k(ct[l] || t);
29
29
  }
30
- function ca(e, a, t) {
30
+ function fa(e, a, t) {
31
31
  return e[t] || a[t];
32
32
  }
33
- const kt = (e, a) => {
33
+ const Ct = (e, a) => {
34
34
  const t = (l) => {
35
35
  e.some((n) => {
36
36
  var i;
@@ -43,13 +43,13 @@ const kt = (e, a) => {
43
43
  document.removeEventListener("mouseup", t);
44
44
  });
45
45
  };
46
- function Ne(e) {
46
+ function Re(e) {
47
47
  const a = p(() => e.linkTo || e.href || ""), t = p(() => {
48
- var i, s;
49
- return ((s = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : s.call(i, "/")) || !1;
48
+ var i, d;
49
+ return ((d = (i = a.value) == null ? void 0 : i.startsWith) == null ? void 0 : d.call(i, "/")) || !1;
50
50
  }), l = p(() => {
51
- var i, s;
52
- return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((s = e.router) == null ? void 0 : s.push) || null;
51
+ var i, d;
52
+ return t.value && ((i = e.router) == null ? void 0 : i.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
53
53
  });
54
54
  function n(i) {
55
55
  if (e.disabled) {
@@ -67,41 +67,41 @@ function ft(e) {
67
67
  }
68
68
  const Ve = (e, a) => {
69
69
  var i;
70
- function t(s) {
71
- if (!s)
70
+ function t(d) {
71
+ if (!d)
72
72
  return null;
73
- const o = s.startsWith("bs-") ? ft(s) : `BsIcon${ft(s)}`;
74
- return Qe(async () => {
75
- const { [o]: d } = await import("@wwtdev/bsds-icons-vue3");
76
- return d;
73
+ const o = d.startsWith("bs-") ? ft(d) : `BsIcon${ft(d)}`;
74
+ return Je(async () => {
75
+ const { [o]: s } = await import("@wwtdev/bsds-icons-vue3");
76
+ return s;
77
77
  });
78
78
  }
79
- const l = qt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
79
+ const l = Mt(), n = e[a] || ((i = e == null ? void 0 : e.value) == null ? void 0 : i[a]);
80
80
  return l.value = t(n), j(
81
81
  [
82
82
  () => e[a],
83
83
  () => {
84
- var s;
85
- return (s = e == null ? void 0 : e.value) == null ? void 0 : s[a];
84
+ var d;
85
+ return (d = e == null ? void 0 : e.value) == null ? void 0 : d[a];
86
86
  }
87
87
  ],
88
- async ([s, o]) => l.value = t(s || o)
88
+ async ([d, o]) => l.value = t(d || o)
89
89
  ), { icon: l };
90
90
  };
91
- function X(e = 1) {
91
+ function Z(e = 1) {
92
92
  const a = [];
93
93
  for (let t = 0; t < e; t++)
94
94
  a.push(k(""));
95
95
  return H(() => {
96
- a.forEach((t) => t.value = `id-${St()}`);
96
+ a.forEach((t) => t.value = `id-${wt()}`);
97
97
  }), a;
98
98
  }
99
- const pe = (e, a, t = void 0) => {
99
+ const he = (e, a, t = void 0) => {
100
100
  const l = (n) => {
101
- var i, s;
102
- ((i = e == null ? void 0 : e.includes) != null && i.call(e, n.key) || (s = e == null ? void 0 : e.some) != null && s.call(e, (o) => {
103
- var d;
104
- return (d = o == null ? void 0 : o.test) == null ? void 0 : d.call(o, n.key);
101
+ var i, d;
102
+ ((i = e == null ? void 0 : e.includes) != null && i.call(e, n.key) || (d = e == null ? void 0 : e.some) != null && d.call(e, (o) => {
103
+ var s;
104
+ return (s = o == null ? void 0 : o.test) == null ? void 0 : s.call(o, n.key);
105
105
  })) && a(n);
106
106
  };
107
107
  H(() => {
@@ -109,7 +109,7 @@ const pe = (e, a, t = void 0) => {
109
109
  }), $e(() => {
110
110
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", l);
111
111
  });
112
- }, fa = (e, a, t) => {
112
+ }, pa = (e, a, t) => {
113
113
  let l = null;
114
114
  H(() => {
115
115
  l = new MutationObserver(a), l.observe(e.value, t);
@@ -127,11 +127,11 @@ const pe = (e, a, t = void 0) => {
127
127
  }), j(() => e.leaveTrigger, (t) => {
128
128
  t && (a.value = !1);
129
129
  }), { transition: a };
130
- }, pa = ["id", "data-stacked"], ha = ["data-open"], va = ["aria-controls", "aria-expanded"], ma = {
130
+ }, ha = ["id", "data-stacked"], va = ["data-open"], ma = ["aria-controls", "aria-expanded"], ba = {
131
131
  key: 0,
132
132
  "data-position": "start",
133
133
  style: { display: "inline-flex" }
134
- }, ba = ["id"], ga = ["aria-labelledby", "data-open", "id"], zo = {
134
+ }, ga = ["id"], ya = ["aria-labelledby", "data-open", "id"], Ro = {
135
135
  __name: "BsAccordion",
136
136
  props: {
137
137
  controlled: { type: Boolean, default: !1 },
@@ -148,11 +148,11 @@ const pe = (e, a, t = void 0) => {
148
148
  },
149
149
  emits: ["toggled"],
150
150
  setup(e, { emit: a }) {
151
- const t = e, l = a, n = k(null), i = k(!1), { icon: s } = Ve(t, "icon"), [o] = X(), d = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), m = p(() => t.controlled ? f.value : i.value);
151
+ const t = e, l = a, n = k(null), i = k(!1), { icon: d } = Ve(t, "icon"), [o] = Z(), s = p(() => o.value + "-content"), r = p(() => o.value + "-title"), f = p(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), m = p(() => t.controlled ? f.value : i.value);
152
152
  function b() {
153
153
  l("toggled", o.value), t.controlled || (i.value = !i.value);
154
154
  }
155
- return (S, w) => (u(), v("div", {
155
+ return (g, S) => (u(), v("div", {
156
156
  id: c(o),
157
157
  ref_key: "containerRef",
158
158
  ref: n,
@@ -160,43 +160,43 @@ const pe = (e, a, t = void 0) => {
160
160
  "data-component": "bs-accordion",
161
161
  "data-stacked": e.stacked
162
162
  }, [
163
- I("header", {
163
+ $("header", {
164
164
  part: "header",
165
165
  "data-open": m.value
166
166
  }, [
167
- I("button", {
168
- "aria-controls": d.value,
167
+ $("button", {
168
+ "aria-controls": s.value,
169
169
  "aria-expanded": m.value,
170
170
  type: "button",
171
171
  onClick: b
172
172
  }, [
173
- e.icon || S.$slots.icon ? (u(), v("span", ma, [
174
- E(S.$slots, "icon", {}, () => [
175
- e.icon ? (u(), V(te(c(s) ? c(s) : "span"), { key: 0 })) : C("", !0)
173
+ e.icon || g.$slots.icon ? (u(), v("span", ba, [
174
+ E(g.$slots, "icon", {}, () => [
175
+ e.icon ? (u(), A(te(c(d) ? c(d) : "span"), { key: 0 })) : C("", !0)
176
176
  ])
177
177
  ])) : C("", !0),
178
- I("span", { id: r.value }, A(e.headerText), 9, ba),
179
- D(c(_e), {
178
+ $("span", { id: r.value }, T(e.headerText), 9, ga),
179
+ D(c(Me), {
180
180
  size: "md",
181
181
  "data-position": "end"
182
182
  })
183
- ], 8, va)
184
- ], 8, ha),
185
- I("div", {
183
+ ], 8, ma)
184
+ ], 8, va),
185
+ $("div", {
186
186
  "aria-labelledby": r.value,
187
187
  class: "bs-accordion-content",
188
188
  "data-open": m.value,
189
- id: d.value,
189
+ id: s.value,
190
190
  part: "content",
191
191
  role: "region"
192
192
  }, [
193
- I("div", null, [
194
- E(S.$slots, "default")
193
+ $("div", null, [
194
+ E(g.$slots, "default")
195
195
  ])
196
- ], 8, ga)
197
- ], 8, pa));
196
+ ], 8, ya)
197
+ ], 8, ha));
198
198
  }
199
- }, ya = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Sa = {
199
+ }, Sa = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], wa = {
200
200
  __name: "BsBadge",
201
201
  props: {
202
202
  /** Pass value to set `data-badge-color`. */
@@ -244,14 +244,14 @@ const pe = (e, a, t = void 0) => {
244
244
  },
245
245
  setup(e) {
246
246
  const a = e, t = k(null), l = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), n = p(() => {
247
- var d, r;
248
- const i = ((r = (d = t.value) == null ? void 0 : d.textContent) == null ? void 0 : r.trim()) || "", s = l.value ? l.value + " " : "";
249
- if (!s && !a.dot)
247
+ var s, r;
248
+ const i = ((r = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : r.trim()) || "", d = l.value ? l.value + " " : "";
249
+ if (!d && !a.dot)
250
250
  return i;
251
251
  const o = a.count !== 1 ? "s" : "";
252
- return `${i ? `${i}, ` : ""}${s}${a.label}${o}`;
252
+ return `${i ? `${i}, ` : ""}${d}${a.label}${o}`;
253
253
  });
254
- return (i, s) => (u(), v("span", {
254
+ return (i, d) => (u(), v("span", {
255
255
  ref_key: "hostRef",
256
256
  ref: t,
257
257
  "aria-label": n.value,
@@ -265,13 +265,13 @@ const pe = (e, a, t = void 0) => {
265
265
  role: "status"
266
266
  }, [
267
267
  e.variant !== "notext" ? E(i.$slots, "default", { key: 0 }) : C("", !0)
268
- ], 10, ya));
268
+ ], 10, Sa));
269
269
  }
270
- }, wa = {
270
+ }, $a = {
271
271
  key: 0,
272
272
  role: "alert",
273
273
  class: "bs-banner"
274
- }, $a = { class: "bs-banner-content" }, Ba = { class: "bs-banner-warning-icon" }, No = {
274
+ }, Ba = { class: "bs-banner-content" }, Ia = { class: "bs-banner-warning-icon" }, Fo = {
275
275
  __name: "BsBanner",
276
276
  emits: ["dismiss"],
277
277
  setup(e, { emit: a }) {
@@ -279,15 +279,15 @@ const pe = (e, a, t = void 0) => {
279
279
  function n() {
280
280
  l.value = !0, t("dismiss");
281
281
  }
282
- return (i, s) => l.value ? C("", !0) : (u(), v("div", wa, [
283
- I("div", $a, [
284
- I("div", Ba, [
285
- D(c(Ze), { size: "lg" })
282
+ return (i, d) => l.value ? C("", !0) : (u(), v("div", $a, [
283
+ $("div", Ba, [
284
+ $("div", Ia, [
285
+ D(c(Xe), { size: "lg" })
286
286
  ]),
287
- I("p", null, [
287
+ $("p", null, [
288
288
  E(i.$slots, "default")
289
289
  ]),
290
- I("button", {
290
+ $("button", {
291
291
  type: "button",
292
292
  title: "Close Banner",
293
293
  onClick: n
@@ -297,7 +297,7 @@ const pe = (e, a, t = void 0) => {
297
297
  ])
298
298
  ]));
299
299
  }
300
- }, Ia = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
300
+ }, ka = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
301
301
  __name: "BsButton",
302
302
  props: {
303
303
  disabled: {
@@ -328,8 +328,8 @@ const pe = (e, a, t = void 0) => {
328
328
  href: { type: String }
329
329
  },
330
330
  setup(e) {
331
- const a = e, t = ve(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: s } = Ne(a);
332
- return (o, d) => (u(), V(te(c(l)), N({
331
+ const a = e, t = re(), { rootTag: l, attrsToBind: n, hrefUrl: i } = ze(a, t), { onLinkClick: d } = Re(a);
332
+ return (o, s) => (u(), A(te(c(l)), z({
333
333
  class: "bs-button",
334
334
  "data-component": "bs-button",
335
335
  "data-ghost": e.ghostBtn,
@@ -337,17 +337,17 @@ const pe = (e, a, t = void 0) => {
337
337
  "data-text": e.textBtn,
338
338
  "data-variant": e.variant,
339
339
  ".href": c(i)
340
- }, c(n), { onClick: c(s) }), {
340
+ }, c(n), { onClick: c(d) }), {
341
341
  default: L(() => [
342
342
  E(o.$slots, "default")
343
343
  ]),
344
344
  _: 3
345
345
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
346
346
  }
347
- }), ka = {
347
+ }), Ca = {
348
348
  class: "bs-field-details",
349
349
  "data-component": "bs-field-details"
350
- }, Ca = ["id", "data-error"], xa = ["data-error"], ge = {
350
+ }, xa = ["id", "data-error"], Ta = ["data-error"], ge = {
351
351
  __name: "BsFieldDetails",
352
352
  props: {
353
353
  /** The number of characters that have been entered by the user. */
@@ -368,25 +368,25 @@ const pe = (e, a, t = void 0) => {
368
368
  },
369
369
  setup(e) {
370
370
  const a = e, t = p(() => a.error && a.errorMsg || a.hint);
371
- return (l, n) => (u(), v("div", ka, [
371
+ return (l, n) => (u(), v("div", Ca, [
372
372
  t.value ? (u(), v("span", {
373
373
  key: 0,
374
374
  id: e.hintId,
375
375
  class: "bs-hint",
376
376
  "data-error": e.error
377
- }, A(t.value), 9, Ca)) : C("", !0),
377
+ }, T(t.value), 9, xa)) : C("", !0),
378
378
  e.charMax ? (u(), v("span", {
379
379
  key: 1,
380
380
  "aria-description": "character count over character limit for the preceding text field",
381
381
  class: "bs-character-count",
382
382
  "data-error": a.charCount > a.charMax
383
- }, A(a.charCount || "0") + " / " + A(a.charMax), 9, xa)) : C("", !0)
383
+ }, T(a.charCount || "0") + " / " + T(a.charMax), 9, Ta)) : C("", !0)
384
384
  ]));
385
385
  }
386
- }, Ta = ["data-disabled", "for"], Aa = /* @__PURE__ */ I("span", {
386
+ }, Aa = ["data-disabled", "for"], Va = /* @__PURE__ */ $("span", {
387
387
  "data-required": "true",
388
388
  "aria-hidden": "true"
389
- }, " *", -1), Va = /* @__PURE__ */ I("span", { class: "visually-hidden" }, "required", -1), ae = {
389
+ }, " *", -1), Oa = /* @__PURE__ */ $("span", { class: "visually-hidden" }, "required", -1), ae = {
390
390
  __name: "BsLabel",
391
391
  props: {
392
392
  disabled: { type: Boolean, default: !1 },
@@ -401,16 +401,16 @@ const pe = (e, a, t = void 0) => {
401
401
  "data-disabled": e.disabled,
402
402
  for: e.for
403
403
  }, [
404
- I("span", null, [
404
+ $("span", null, [
405
405
  E(a.$slots, "default")
406
406
  ]),
407
407
  e.required ? (u(), v(G, { key: 0 }, [
408
- Aa,
409
- Va
408
+ Va,
409
+ Oa
410
410
  ], 64)) : C("", !0)
411
- ], 10, Ta));
411
+ ], 10, Aa));
412
412
  }
413
- }, Oa = ["data-error", "id", "value"], Ie = {
413
+ }, Ea = ["data-error", "id", "value"], Ie = {
414
414
  __name: "BsInput",
415
415
  props: {
416
416
  error: {
@@ -425,21 +425,21 @@ const pe = (e, a, t = void 0) => {
425
425
  },
426
426
  emits: ["update:modelValue"],
427
427
  setup(e, { emit: a }) {
428
- const t = e, l = a, n = ve(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
429
- function s(o) {
430
- const d = n.type === "number" ? parseInt(o.target.value) : o.target.value;
431
- l("update:modelValue", d);
428
+ const t = e, l = a, n = re(), i = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
429
+ function d(o) {
430
+ const s = n.type === "number" ? parseInt(o.target.value) : o.target.value;
431
+ l("update:modelValue", s);
432
432
  }
433
- return (o, d) => (u(), v("input", N({
433
+ return (o, s) => (u(), v("input", z({
434
434
  class: "bs-input",
435
435
  "data-component": "bs-input",
436
436
  "data-error": e.error,
437
437
  id: o.$attrs.id || e.inputId,
438
438
  value: e.value || e.modelValue,
439
- onInput: s
440
- }, i.value), null, 16, Oa));
439
+ onInput: d
440
+ }, i.value), null, 16, Ea));
441
441
  }
442
- }, Ea = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
442
+ }, La = ["data-autopad", "data-autosize-icons", "data-disabled", "data-error", "data-variant", "data-multifocus"], De = {
443
443
  __name: "BsInputAddon",
444
444
  props: {
445
445
  autopad: { type: Boolean, default: !1 },
@@ -461,9 +461,9 @@ const pe = (e, a, t = void 0) => {
461
461
  "data-multifocus": e.multifocus
462
462
  }, [
463
463
  E(a.$slots, "default")
464
- ], 8, Ea));
464
+ ], 8, La));
465
465
  }
466
- }, La = {
466
+ }, Da = {
467
467
  __name: "BsInputDateSingle",
468
468
  props: {
469
469
  disabled: {
@@ -496,20 +496,20 @@ const pe = (e, a, t = void 0) => {
496
496
  }
497
497
  },
498
498
  setup(e) {
499
- return (a, t) => (u(), V(De, {
499
+ return (a, t) => (u(), A(De, {
500
500
  disabled: e.disabled,
501
501
  error: e.error
502
502
  }, {
503
503
  default: L(() => [
504
- D(c(wt)),
505
- D(Ie, N({
504
+ D(c($t)),
505
+ D(Ie, z({
506
506
  "data-autowidth": "",
507
507
  disabled: e.disabled,
508
508
  id: e.inputId,
509
509
  "model-value": e.modelValue,
510
510
  placeholder: e.placeholder,
511
511
  required: e.required
512
- }, Ke(e.listeners)), null, 16, ["disabled", "id", "model-value", "placeholder", "required"])
512
+ }, Ye(e.listeners)), null, 16, ["disabled", "id", "model-value", "placeholder", "required"])
513
513
  ]),
514
514
  _: 1
515
515
  }, 8, ["disabled", "error"]));
@@ -524,7 +524,7 @@ function Oe(e, a, t) {
524
524
  }, a);
525
525
  };
526
526
  }
527
- const Da = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-value"], Pa = {
527
+ const qa = ["disabled", "id", "model-value"], Pa = ["disabled", "id", "model-value"], Ma = {
528
528
  __name: "BsInputDateRange",
529
529
  props: {
530
530
  disabled: {
@@ -566,20 +566,20 @@ const Da = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-val
566
566
  const f = new Event("change", { bubbles: !0, cancelable: !0 });
567
567
  r.dispatchEvent(f);
568
568
  }
569
- function s(r) {
569
+ function d(r) {
570
570
  const { value: f } = r.target, [m, b] = f.split(/ to | - /);
571
571
  l.value.value = m || "", n.value.value = b || "", i(l.value), i(n.value);
572
572
  }
573
- const o = Oe(s, 1e3);
574
- function d(r) {
573
+ const o = Oe(d, 1e3);
574
+ function s(r) {
575
575
  t("ui-input"), o(r);
576
576
  }
577
- return (r, f) => (u(), V(De, {
577
+ return (r, f) => (u(), A(De, {
578
578
  disabled: e.disabled,
579
579
  error: e.error
580
580
  }, {
581
581
  default: L(() => [
582
- D(c(wt)),
582
+ D(c($t)),
583
583
  D(Ie, {
584
584
  "data-autowidth": "",
585
585
  disabled: e.disabled,
@@ -588,34 +588,34 @@ const Da = ["disabled", "id", "model-value"], qa = ["disabled", "id", "model-val
588
588
  placeholder: e.placeholder,
589
589
  required: e.required,
590
590
  onFocusin: f[0] || (f[0] = (m) => r.$emit("ui-focusin")),
591
- onInput: d,
592
- onChange: s
591
+ onInput: s,
592
+ onChange: d
593
593
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
594
- I("input", N({
594
+ $("input", z({
595
595
  ref_key: "hiddenStart",
596
596
  ref: l,
597
597
  type: "hidden",
598
598
  disabled: e.disabled,
599
599
  id: `${e.inputId}-start`,
600
600
  "model-value": e.inputValue.start
601
- }, Ke(e.listeners.start, !0)), null, 16, Da),
602
- I("input", N({
601
+ }, Ye(e.listeners.start, !0)), null, 16, qa),
602
+ $("input", z({
603
603
  ref_key: "hiddenEnd",
604
604
  ref: n,
605
605
  type: "hidden",
606
606
  disabled: e.disabled,
607
607
  id: `${e.inputId}-end`,
608
608
  "model-value": e.inputValue.end
609
- }, Ke(e.listeners.end, !0)), null, 16, qa)
609
+ }, Ye(e.listeners.end, !0)), null, 16, Pa)
610
610
  ]),
611
611
  _: 1
612
612
  }, 8, ["disabled", "error"]));
613
613
  }
614
614
  };
615
- function Ma(e) {
615
+ function Na(e) {
616
616
  function a(n) {
617
- var i, s;
618
- return ((s = (i = n == null ? void 0 : n.classList) == null ? void 0 : i.contains) == null ? void 0 : s.call(i, "vc-arrow")) && (n.classList.contains("vc-prev") || n.classList.contains("vc-next"));
617
+ var i, d;
618
+ 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"));
619
619
  }
620
620
  function t(n) {
621
621
  return n === " " || n === "Spacebar" || n === "Enter";
@@ -626,16 +626,16 @@ function Ma(e) {
626
626
  H(() => {
627
627
  var n, i;
628
628
  (i = (n = e.value) == null ? void 0 : n.addEventListener) == null || i.call(n, "keydown", l);
629
- }), Je(() => {
629
+ }), _e(() => {
630
630
  var n, i;
631
631
  (i = (n = e.value) == null ? void 0 : n.removeEventListener) == null || i.call(n, "keydown", l);
632
632
  });
633
633
  }
634
- function Xe(e, a, t = []) {
634
+ function Qe(e, a, t = []) {
635
635
  let l;
636
636
  gt(() => {
637
637
  l = window.matchMedia(e), l.addEventListener("change", a), a(l);
638
- }), Je(() => {
638
+ }), _e(() => {
639
639
  l.removeEventListener("change", a), l = null;
640
640
  }), t.length && j(t, () => a(l));
641
641
  }
@@ -657,7 +657,7 @@ const et = [
657
657
  "multiple",
658
658
  "name",
659
659
  "size"
660
- ], Na = [
660
+ ], Ra = [
661
661
  "aria-describedby",
662
662
  "aria-label",
663
663
  "autocapitalize",
@@ -676,7 +676,7 @@ const et = [
676
676
  "rows",
677
677
  "spellcheck",
678
678
  "wrap"
679
- ], he = [
679
+ ], ve = [
680
680
  "aria-describedby",
681
681
  "aria-label",
682
682
  "autocapitalize",
@@ -704,7 +704,7 @@ function Y(e, a = []) {
704
704
  a.includes(n) ? t[n] = e[n] : l[n] = e[n];
705
705
  }), { filtered: t, remaining: l };
706
706
  }
707
- const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
707
+ const Fa = ["data-range"], pt = "(min-width: 752px)", jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
708
708
  __name: "BsCalendar",
709
709
  props: {
710
710
  disabled: {
@@ -771,7 +771,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
771
771
  },
772
772
  emits: ["update:modelValue"],
773
773
  setup(e, { emit: a }) {
774
- const t = e, l = k(null), n = k(1), i = k(null), [s, o] = X(2), d = k(1), { filtered: r, remaining: f } = Y(ve(), [
774
+ const t = e, l = k(null), n = k(1), i = k(null), [d, o] = Z(2), s = k(1), { filtered: r, remaining: f } = Y(re(), [
775
775
  "attributes",
776
776
  "data-cy",
777
777
  "expanded",
@@ -780,54 +780,54 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
780
780
  "masks",
781
781
  "rows",
782
782
  "trim-weeks"
783
- ]), m = p(() => t.inputId || s.value), b = p(() => ({ range: t.isRange })), S = p(() => !!(t.error && t.errorMsg || t.hint)), w = p(() => t.step), B = p(() => t.variant);
784
- Ma(i), Xe(
783
+ ]), m = p(() => t.inputId || d.value), b = p(() => ({ range: t.isRange })), g = p(() => !!(t.error && t.errorMsg || t.hint)), S = p(() => t.step), I = p(() => t.variant);
784
+ Na(i), Qe(
785
785
  pt,
786
- (g) => n.value = g != null && g.matches && B.value == "2-col" ? 2 : 1,
787
- [B]
788
- ), Xe(
786
+ (y) => n.value = y != null && y.matches && I.value == "2-col" ? 2 : 1,
787
+ [I]
788
+ ), Qe(
789
789
  pt,
790
- (g) => d.value = g != null && g.matches && B.value == "2-col" ? w.value : 1,
791
- [w, B]
790
+ (y) => s.value = y != null && y.matches && I.value == "2-col" ? S.value : 1,
791
+ [S, I]
792
792
  ), H(() => {
793
- t.inputMode || y();
793
+ t.inputMode || w();
794
794
  }), j(() => {
795
- var g, M;
796
- return (M = (g = l.value) == null ? void 0 : g.popoverRef) == null ? void 0 : M.isVisible;
797
- }, (g) => {
798
- g && Ae(y);
795
+ var y, M;
796
+ return (M = (y = l.value) == null ? void 0 : y.popoverRef) == null ? void 0 : M.isVisible;
797
+ }, (y) => {
798
+ y && Ae(w);
799
799
  });
800
- function h(g) {
801
- return t.isRange && g.start && g.end ? `${g.start} to ${g.end}` : !t.isRange && g ? g : "";
800
+ function h(y) {
801
+ return t.isRange && y.start && y.end ? `${y.start} to ${y.end}` : !t.isRange && y ? y : "";
802
802
  }
803
- function $(g) {
804
- !t.isRange || i.value.contains(g.relatedTarget) || l.value.hidePopover();
803
+ function B(y) {
804
+ !t.isRange || i.value.contains(y.relatedTarget) || l.value.hidePopover();
805
805
  }
806
- function y() {
807
- const g = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
808
- g && g.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
806
+ function w() {
807
+ const y = i.value.querySelector("button.vc-prev"), M = i.value.querySelector("button.vc-next");
808
+ y && y.setAttribute("aria-label", "Previous month"), M && M.setAttribute("aria-label", "Next month");
809
809
  }
810
- return (g, M) => (u(), v("div", N({
810
+ return (y, M) => (u(), v("div", z({
811
811
  ref_key: "container",
812
812
  ref: i,
813
813
  class: "bs-calendar",
814
814
  "data-range": e.isRange,
815
- onFocusout: $
815
+ onFocusout: B
816
816
  }, c(f)), [
817
- e.label || g.$slots.label ? (u(), V(ae, {
817
+ e.label || y.$slots.label ? (u(), A(ae, {
818
818
  key: 0,
819
819
  for: m.value,
820
820
  disabled: e.disabled,
821
821
  required: e.required
822
822
  }, {
823
823
  default: L(() => [
824
- E(g.$slots, "label", {}, () => [
825
- W(A(e.label), 1)
824
+ E(y.$slots, "label", {}, () => [
825
+ U(T(e.label), 1)
826
826
  ])
827
827
  ]),
828
828
  _: 3
829
829
  }, 8, ["for", "disabled", "required"])) : C("", !0),
830
- D(c(_t), N({
830
+ D(c(ea), z({
831
831
  ref_key: "calendar",
832
832
  ref: l,
833
833
  columns: n.value,
@@ -839,31 +839,31 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
839
839
  "model-modifiers": b.value,
840
840
  popover: { visibility: "focus" },
841
841
  rows: 1,
842
- step: d.value,
843
- "onUpdate:modelValue": M[0] || (M[0] = (T) => g.$emit("update:modelValue", T))
844
- }, c(r)), Ye({ _: 2 }, [
842
+ step: s.value,
843
+ "onUpdate:modelValue": M[0] || (M[0] = (V) => y.$emit("update:modelValue", V))
844
+ }, c(r)), Ze({ _: 2 }, [
845
845
  e.inputMode ? {
846
846
  name: "default",
847
- fn: L(({ inputValue: T, inputEvents: q, showPopover: R }) => [
848
- e.isRange ? (u(), V(Pa, {
847
+ fn: L(({ inputValue: V, inputEvents: q, showPopover: R }) => [
848
+ e.isRange ? (u(), A(Ma, {
849
849
  key: 1,
850
850
  disabled: e.disabled,
851
851
  error: e.error,
852
852
  "input-id": m.value,
853
- "input-value": T,
854
- "input-value-fmt": h(T),
853
+ "input-value": V,
854
+ "input-value-fmt": h(V),
855
855
  listeners: q,
856
856
  placeholder: e.placeholder,
857
857
  required: e.required,
858
858
  onUiFocusin: R,
859
859
  onUiInput: R
860
- }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), V(La, {
860
+ }, null, 8, ["disabled", "error", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), A(Da, {
861
861
  key: 0,
862
862
  disabled: e.disabled,
863
863
  error: e.error,
864
864
  "input-id": m.value,
865
865
  listeners: q,
866
- "model-value": h(T),
866
+ "model-value": h(V),
867
867
  placeholder: e.placeholder,
868
868
  required: e.required
869
869
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
@@ -871,19 +871,19 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
871
871
  key: "0"
872
872
  } : void 0
873
873
  ]), 1040, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
874
- S.value ? (u(), V(ge, {
874
+ g.value ? (u(), A(ge, {
875
875
  key: 1,
876
876
  error: e.error,
877
877
  "error-msg": e.errorMsg,
878
878
  hint: e.hint,
879
879
  "hint-id": c(o)
880
880
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
881
- ], 16, Ra));
881
+ ], 16, Fa));
882
882
  }
883
- }), Fa = { key: 0 }, ja = {
883
+ }), ja = { key: 0 }, Wa = {
884
884
  class: "bs-circle-button-icon",
885
885
  role: "presentation"
886
- }, Ua = { key: 1 }, Ct = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
886
+ }, Ua = { key: 1 }, xt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
887
887
  __name: "BsCircleButton",
888
888
  props: {
889
889
  disabled: {
@@ -932,7 +932,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
932
932
  }
933
933
  },
934
934
  setup(e) {
935
- const a = e, t = ve(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: s } = ze(a, t), { onLinkClick: o } = Ne(a), d = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
935
+ const a = e, t = re(), l = yt(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, t), { onLinkClick: o } = Re(a), s = p(() => m.value ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), r = p(() => {
936
936
  if (a.hoverEffect)
937
937
  return a.iconPosition;
938
938
  }), f = p(() => {
@@ -940,38 +940,38 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
940
940
  return {
941
941
  icon: a.icon || (a.textBtn || a.size == "sm" ? `small-${h}` : h)
942
942
  };
943
- }), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), S = p(() => m.value && a.iconPosition === "left"), w = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: B } = Ve(f, "icon");
944
- return (h, $) => (u(), V(te(c(n)), N({
943
+ }), m = p(() => a.textBtn || !!(l != null && l.default)), b = p(() => m.value && a.iconPosition !== "left"), g = p(() => m.value && a.iconPosition === "left"), S = p(() => a.variant ? `color-${a.variant}` : void 0), { icon: I } = Ve(f, "icon");
944
+ return (h, B) => (u(), A(te(c(n)), z({
945
945
  class: "bs-circle-button",
946
946
  "data-disabled": e.disabled,
947
947
  "data-direction": r.value,
948
948
  "data-ghost": e.ghostBtn,
949
949
  "data-size": e.size,
950
950
  "data-text": m.value,
951
- "data-variant": w.value,
952
- ".href": c(s)
953
- }, { ...c(i), ...d.value }, { onClick: c(o) }), {
951
+ "data-variant": S.value,
952
+ ".href": c(d)
953
+ }, { ...c(i), ...s.value }, { onClick: c(o) }), {
954
954
  default: L(() => [
955
- b.value ? (u(), v("span", Fa, [
955
+ b.value ? (u(), v("span", ja, [
956
956
  E(h.$slots, "default", {}, () => [
957
- W(A(e.label), 1)
957
+ U(T(e.label), 1)
958
958
  ])
959
959
  ])) : C("", !0),
960
- I("span", ja, [
960
+ $("span", Wa, [
961
961
  E(h.$slots, "icon", {}, () => [
962
- (u(), V(te(c(B))))
962
+ (u(), A(te(c(I))))
963
963
  ])
964
964
  ]),
965
- S.value ? (u(), v("span", Ua, [
965
+ g.value ? (u(), v("span", Ua, [
966
966
  E(h.$slots, "default", {}, () => [
967
- W(A(e.label), 1)
967
+ U(T(e.label), 1)
968
968
  ])
969
969
  ])) : C("", !0)
970
970
  ]),
971
971
  _: 3
972
972
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
973
973
  }
974
- }), Fo = {
974
+ }), Wo = {
975
975
  __name: "BsCaretButton",
976
976
  props: {
977
977
  direction: {
@@ -1005,7 +1005,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1005
1005
  }
1006
1006
  },
1007
1007
  setup(e) {
1008
- return (a, t) => (u(), V(Ct, {
1008
+ return (a, t) => (u(), A(xt, {
1009
1009
  disabled: e.disabled,
1010
1010
  "ghost-btn": e.ghostBtn,
1011
1011
  "hover-effect": e.hoverEffect,
@@ -1017,12 +1017,12 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1017
1017
  "text-btn": !1
1018
1018
  }, {
1019
1019
  icon: L(() => [
1020
- e.direction == "right" ? (u(), V(c($t), { key: 0 })) : (u(), V(c(Bt), { key: 1 }))
1020
+ e.direction == "right" ? (u(), A(c(Bt), { key: 0 })) : (u(), A(c(It), { key: 1 }))
1021
1021
  ]),
1022
1022
  _: 1
1023
1023
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size"]));
1024
1024
  }
1025
- }, jo = {
1025
+ }, Uo = {
1026
1026
  __name: "BsCaretTextButton",
1027
1027
  props: {
1028
1028
  direction: {
@@ -1061,7 +1061,7 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1061
1061
  }
1062
1062
  },
1063
1063
  setup(e) {
1064
- return (a, t) => (u(), V(Ct, {
1064
+ return (a, t) => (u(), A(xt, {
1065
1065
  disabled: e.disabled,
1066
1066
  "ghost-btn": e.ghostBtn,
1067
1067
  "hover-effect": e.hoverEffect,
@@ -1074,20 +1074,20 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1074
1074
  variant: e.variant
1075
1075
  }, {
1076
1076
  icon: L(() => [
1077
- e.direction == "right" ? (u(), V(c(Nt), { key: 0 })) : (u(), V(c(Rt), { key: 1 }))
1077
+ e.direction == "right" ? (u(), A(c(Rt), { key: 0 })) : (u(), A(c(Ft), { key: 1 }))
1078
1078
  ]),
1079
1079
  default: L(() => [
1080
1080
  E(a.$slots, "default", {}, () => [
1081
- W(A(e.label), 1)
1081
+ U(T(e.label), 1)
1082
1082
  ])
1083
1083
  ]),
1084
1084
  _: 3
1085
1085
  }, 8, ["disabled", "ghost-btn", "hover-effect", "icon-position", "label", "link-to", "router", "size", "variant"]));
1086
1086
  }
1087
- }, Wa = {
1087
+ }, Ga = {
1088
1088
  class: "bs-chart-table",
1089
1089
  "data-component": "bs-chart-table"
1090
- }, Ga = ["summary"], Ha = ["colspan"], Ka = { scope: "col" }, Ya = { scope: "row" }, Za = {
1090
+ }, Ha = ["summary"], Ka = ["colspan"], Ya = { scope: "col" }, Za = { scope: "row" }, Xa = {
1091
1091
  __name: "BsChartTable",
1092
1092
  props: {
1093
1093
  chartType: {
@@ -1122,8 +1122,8 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1122
1122
  },
1123
1123
  setup(e) {
1124
1124
  const a = e, t = k(!1), l = (f) => {
1125
- const m = new Date(f), b = m.toTimeString().split(" ")[0], S = m.toDateString().split(" ").slice(1, 3).join(" ");
1126
- return `${b} (${S})`;
1125
+ const m = new Date(f), b = m.toTimeString().split(" ")[0], g = m.toDateString().split(" ").slice(1, 3).join(" ");
1126
+ return `${b} (${g})`;
1127
1127
  }, n = p(() => {
1128
1128
  var f;
1129
1129
  return !((f = a.dataIdxLabels) != null && f.length);
@@ -1132,36 +1132,36 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1132
1132
  try {
1133
1133
  return f.map((m) => {
1134
1134
  const b = m.label;
1135
- let S = [];
1136
- if (m.data.some((w) => (w == null ? void 0 : w.x) && (w == null ? void 0 : w.y))) {
1137
- const w = m.data.reduce((B, h) => (B[h.x] = h.y, B), {});
1138
- S = a.dataIdxLabels.map((B) => ({ value: w[B] ?? null }));
1135
+ let g = [];
1136
+ if (m.data.some((S) => (S == null ? void 0 : S.x) && (S == null ? void 0 : S.y))) {
1137
+ const S = m.data.reduce((I, h) => (I[h.x] = h.y, I), {});
1138
+ g = a.dataIdxLabels.map((I) => ({ value: S[I] ?? null }));
1139
1139
  } else
1140
- S = m.data.map((w) => ({ value: w }));
1141
- return { rowLabel: b, dataCells: S };
1140
+ g = m.data.map((S) => ({ value: S }));
1141
+ return { rowLabel: b, dataCells: g };
1142
1142
  });
1143
1143
  } catch {
1144
1144
  return [];
1145
1145
  }
1146
1146
  }
1147
- function s(f) {
1147
+ function d(f) {
1148
1148
  try {
1149
- const m = f.reduce((w, B) => {
1150
- const h = B.data.map(($) => $ == null ? void 0 : $.x);
1151
- return [...w, ...h];
1149
+ const m = f.reduce((S, I) => {
1150
+ const h = I.data.map((B) => B == null ? void 0 : B.x);
1151
+ return [...S, ...h];
1152
1152
  }, []), b = Array.from(new Set(m));
1153
- return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((w, B) => (typeof w == "string" && typeof B == "string" && (w = w.toLowerCase(), B = B.toLowerCase()), w < B ? -1 : w > B ? 1 : 0)), b.map((w) => {
1154
- const B = { rowLabel: w }, h = [];
1155
- return f.forEach(($) => {
1156
- const y = { datasetLabel: $.label }, g = $.data.find((M) => M.x === w);
1157
- y.value = g ? g.y : null, h.push(y);
1158
- }), B.dataCells = h, a.xAxisType === "time" && (B.rowLabelFmt = l(w)), B;
1153
+ return (a.xAxisType === "time" || a.xAxisType === "linear") && b.sort((S, I) => (typeof S == "string" && typeof I == "string" && (S = S.toLowerCase(), I = I.toLowerCase()), S < I ? -1 : S > I ? 1 : 0)), b.map((S) => {
1154
+ const I = { rowLabel: S }, h = [];
1155
+ return f.forEach((B) => {
1156
+ const w = { datasetLabel: B.label }, y = B.data.find((M) => M.x === S);
1157
+ w.value = y ? y.y : null, h.push(w);
1158
+ }), I.dataCells = h, a.xAxisType === "time" && (I.rowLabelFmt = l(S)), I;
1159
1159
  });
1160
1160
  } catch {
1161
1161
  return [];
1162
1162
  }
1163
1163
  }
1164
- const o = p(() => n.value ? s(a.data) : i(a.data)), d = p(() => ({
1164
+ const o = p(() => n.value ? d(a.data) : i(a.data)), s = p(() => ({
1165
1165
  colspan: n.value ? a.data.length + 1 : a.dataIdxLabels.length + 1,
1166
1166
  title: a.tableTitle,
1167
1167
  colHeadingFirst: n.value ? a.xLabel : "Dataset",
@@ -1173,78 +1173,78 @@ const Ra = ["data-range"], pt = "(min-width: 752px)", Ro = /* @__PURE__ */ Objec
1173
1173
  });
1174
1174
  return H(() => {
1175
1175
  t.value = !0;
1176
- }), (f, m) => (u(), v("div", Wa, [
1176
+ }), (f, m) => (u(), v("div", Ga, [
1177
1177
  r.value ? (u(), v("table", {
1178
1178
  key: 0,
1179
- summary: d.value.title
1179
+ summary: s.value.title
1180
1180
  }, [
1181
- I("thead", null, [
1182
- I("tr", null, [
1183
- I("th", {
1184
- colspan: d.value.colspan
1185
- }, A(d.value.title), 9, Ha)
1181
+ $("thead", null, [
1182
+ $("tr", null, [
1183
+ $("th", {
1184
+ colspan: s.value.colspan
1185
+ }, T(s.value.title), 9, Ka)
1186
1186
  ]),
1187
- I("tr", null, [
1188
- I("th", Ka, A(d.value.colHeadingFirst), 1),
1189
- (u(!0), v(G, null, ee(d.value.colHeadings, (b) => (u(), v("th", {
1187
+ $("tr", null, [
1188
+ $("th", Ya, T(s.value.colHeadingFirst), 1),
1189
+ (u(!0), v(G, null, ee(s.value.colHeadings, (b) => (u(), v("th", {
1190
1190
  key: b,
1191
1191
  scope: "col"
1192
- }, A(b), 1))), 128))
1192
+ }, T(b), 1))), 128))
1193
1193
  ])
1194
1194
  ]),
1195
- I("tbody", null, [
1196
- (u(!0), v(G, null, ee(d.value.rows, (b) => (u(), v("tr", {
1195
+ $("tbody", null, [
1196
+ (u(!0), v(G, null, ee(s.value.rows, (b) => (u(), v("tr", {
1197
1197
  key: b.rowLabelFmt || b.rowLabel
1198
1198
  }, [
1199
- I("th", Ya, A(b.rowLabelFmt || b.rowLabel), 1),
1200
- (u(!0), v(G, null, ee(b.dataCells, (S) => (u(), v("td", {
1201
- key: `${b.rowLabelFmt || b.rowLabel}${S.datasetLabel}${S.value}`
1202
- }, A(S.value), 1))), 128))
1199
+ $("th", Za, T(b.rowLabelFmt || b.rowLabel), 1),
1200
+ (u(!0), v(G, null, ee(b.dataCells, (g) => (u(), v("td", {
1201
+ key: `${b.rowLabelFmt || b.rowLabel}${g.datasetLabel}${g.value}`
1202
+ }, T(g.value), 1))), 128))
1203
1203
  ]))), 128))
1204
1204
  ])
1205
- ], 8, Ga)) : C("", !0)
1205
+ ], 8, Ha)) : C("", !0)
1206
1206
  ]));
1207
1207
  }
1208
- }, Ee = 16, Xa = 20;
1209
- function Qa(e, a) {
1210
- const t = k(null), l = k(!1), n = k(null), i = "(min-width: 1166px)", s = { tickSize: Ee }, o = { tickSize: Xa };
1211
- let d, r;
1212
- function f(h, $) {
1213
- let y;
1208
+ }, Ee = 16, Qa = 20;
1209
+ function Ja(e, a) {
1210
+ const t = k(null), l = k(!1), n = k(null), i = "(min-width: 1166px)", d = { tickSize: Ee }, o = { tickSize: Qa };
1211
+ let s, r;
1212
+ function f(h, B) {
1213
+ let w;
1214
1214
  switch (h) {
1215
1215
  case "bar":
1216
- y = "setBarChartConfigs";
1216
+ w = "setBarChartConfigs";
1217
1217
  break;
1218
1218
  case "line":
1219
- y = "setLineChartConfigs";
1219
+ w = "setLineChartConfigs";
1220
1220
  break;
1221
1221
  default:
1222
1222
  throw new Error(`Unsupported chart type: ${h}`);
1223
1223
  }
1224
- return new nn().setCommonConfigs($).setCustomOptions($)[y]($).setPlugins([Ja(n), ea]).build();
1224
+ return new ln().setCommonConfigs(B).setCustomOptions(B)[w](B).setPlugins([_a(n), ta]).build();
1225
1225
  }
1226
1226
  function m(h) {
1227
1227
  h.preventDefault(), h.stopImmediatePropagation();
1228
- const $ = h.target.closest("li");
1229
- if ($ && d) {
1230
- const { labelIndex: y, datasetIndex: g } = $.dataset;
1231
- e === "pie" || e === "doughnut" ? d.toggleDataVisibility(y) : d.setDatasetVisibility(g, !d.isDatasetVisible(g)), d.update(), h.preventDefault(), h.stopImmediatePropagation(), b(g, y);
1228
+ const B = h.target.closest("li");
1229
+ if (B && s) {
1230
+ const { labelIndex: w, datasetIndex: y } = B.dataset;
1231
+ e === "pie" || e === "doughnut" ? s.toggleDataVisibility(w) : s.setDatasetVisibility(y, !s.isDatasetVisible(y)), s.update(), h.preventDefault(), h.stopImmediatePropagation(), b(y, w);
1232
1232
  }
1233
1233
  }
1234
- function b(h, $) {
1234
+ function b(h, B) {
1235
1235
  var M;
1236
- const y = `[data-dataset-index="${h}"][data-label-index="${$}"]`, g = n.value.querySelector(y);
1237
- (M = g == null ? void 0 : g.focus) == null || M.call(g);
1236
+ const w = `[data-dataset-index="${h}"][data-label-index="${B}"]`, y = n.value.querySelector(w);
1237
+ (M = y == null ? void 0 : y.focus) == null || M.call(y);
1238
1238
  }
1239
- function S(...h) {
1240
- !r || !t.value || (Fe.register(...h), Fe.defaults.font.family = "'Roobert', sans-serif", d = new Fe(t.value, r));
1239
+ function g(...h) {
1240
+ !r || !t.value || (je.register(...h), je.defaults.font.family = "'Roobert', sans-serif", s = new je(t.value, r));
1241
1241
  }
1242
- const w = Oe(function(h) {
1243
- r && (r.updateOptions(h), d.options = r.options, d.update());
1244
- }, 100), B = Oe(function(h) {
1245
- r && (r.updateData(h), d.data = r.data, d.update());
1242
+ const S = Oe(function(h) {
1243
+ r && (r.updateOptions(h), s.options = r.options, s.update());
1244
+ }, 100), I = Oe(function(h) {
1245
+ r && (r.updateData(h), s.data = r.data, s.update());
1246
1246
  }, 100);
1247
- return Xe(
1247
+ return Qe(
1248
1248
  i,
1249
1249
  (h) => l.value = h == null ? void 0 : h.matches,
1250
1250
  [l]
@@ -1252,12 +1252,12 @@ function Qa(e, a) {
1252
1252
  var h;
1253
1253
  try {
1254
1254
  r = f(e, a), (h = n.value) == null || h.addEventListener("click", m);
1255
- } catch ($) {
1256
- console.error("Error creating chart config", $), r = null;
1255
+ } catch (B) {
1256
+ console.error("Error creating chart config", B), r = null;
1257
1257
  }
1258
- }), pe([" ", "Enter"], m, n), Je(() => {
1258
+ }), he([" ", "Enter"], m, n), _e(() => {
1259
1259
  var h;
1260
- (h = n.value) == null || h.removeEventListener("click", m), d == null || d.destroy();
1260
+ (h = n.value) == null || h.removeEventListener("click", m), s == null || s.destroy();
1261
1261
  }), j([
1262
1262
  () => a.customOptions,
1263
1263
  () => a.showTooltips,
@@ -1268,27 +1268,27 @@ function Qa(e, a) {
1268
1268
  () => a.yLabel,
1269
1269
  () => a.yMin,
1270
1270
  () => a.yMax
1271
- ], () => w(a)), j(
1271
+ ], () => S(a)), j(
1272
1272
  l,
1273
- (h) => w(Me(
1273
+ (h) => S(Ne(
1274
1274
  {},
1275
1275
  a,
1276
- h ? o : s
1276
+ h ? o : d
1277
1277
  ))
1278
1278
  ), j(
1279
1279
  [
1280
1280
  () => a.data,
1281
1281
  () => a.dataIdxLabels
1282
1282
  ],
1283
- () => B(a),
1283
+ () => I(a),
1284
1284
  { deep: !0 }
1285
1285
  ), {
1286
1286
  canvasRef: t,
1287
1287
  legendListRef: n,
1288
- registerChart: S
1288
+ registerChart: g
1289
1289
  };
1290
1290
  }
1291
- const Ja = (e) => ({
1291
+ const _a = (e) => ({
1292
1292
  id: "htmlLegend",
1293
1293
  afterUpdate(a) {
1294
1294
  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) => {
@@ -1296,8 +1296,8 @@ const Ja = (e) => ({
1296
1296
  n.setAttribute("tabindex", "0"), n.dataset.datasetIndex = l.datasetIndex, n.dataset.labelIndex = l.index;
1297
1297
  const i = document.createElement("span");
1298
1298
  i.style.setProperty("--legend-item-box-fill", l.fillStyle), i.style.setProperty("--legend-item-box-stroke", l.strokeStyle);
1299
- const s = document.createTextNode(l.text), o = document.createElement("p");
1300
- o.style.setProperty("--legend-item-text-color", "var(--bs-ink-base)"), o.style.setProperty("--legend-item-text-decoration", l.hidden ? "line-through" : "none"), o.appendChild(s), n.appendChild(i), n.appendChild(o), e.value.appendChild(n);
1299
+ const d = document.createTextNode(l.text), o = document.createElement("p");
1300
+ o.style.setProperty("--legend-item-text-color", "var(--bs-ink-base)"), o.style.setProperty("--legend-item-text-decoration", l.hidden ? "line-through" : "none"), o.appendChild(d), n.appendChild(i), n.appendChild(o), e.value.appendChild(n);
1301
1301
  });
1302
1302
  }
1303
1303
  });
@@ -1354,10 +1354,10 @@ function tt(e, a = 1) {
1354
1354
  ], l = t[e % t.length], n = Math.floor(e / t.length) + a;
1355
1355
  return `rgba(${l.toString()}, ${1 / n})`;
1356
1356
  }
1357
- function _a(e) {
1357
+ function en(e) {
1358
1358
  return tt(e);
1359
1359
  }
1360
- function en(e) {
1360
+ function tn(e) {
1361
1361
  return {
1362
1362
  maintainAspectRatio: !1,
1363
1363
  plugins: {
@@ -1379,16 +1379,16 @@ function at() {
1379
1379
  };
1380
1380
  }
1381
1381
  function nt(e) {
1382
- var S, w;
1382
+ var g, S;
1383
1383
  const {
1384
1384
  dataIdxLabels: a,
1385
1385
  showXGrid: t,
1386
1386
  showYGrid: l,
1387
1387
  stacked: n,
1388
1388
  xAxisType: i,
1389
- xLabel: s,
1389
+ xLabel: d,
1390
1390
  yLabel: o,
1391
- yMax: d,
1391
+ yMax: s,
1392
1392
  yMin: r,
1393
1393
  customOptions: f,
1394
1394
  tickSize: m
@@ -1405,8 +1405,8 @@ function nt(e) {
1405
1405
  }
1406
1406
  },
1407
1407
  title: {
1408
- display: !!s,
1409
- text: s
1408
+ display: !!d,
1409
+ text: d
1410
1410
  },
1411
1411
  type: i || "category"
1412
1412
  },
@@ -1417,7 +1417,7 @@ function nt(e) {
1417
1417
  display: l
1418
1418
  },
1419
1419
  stacked: n,
1420
- suggestedMax: d,
1420
+ suggestedMax: s,
1421
1421
  suggestedMin: r,
1422
1422
  ticks: {
1423
1423
  font: {
@@ -1430,11 +1430,11 @@ function nt(e) {
1430
1430
  }
1431
1431
  }
1432
1432
  };
1433
- return (i === "time" || ((w = (S = f == null ? void 0 : f.scales) == null ? void 0 : S.x) == null ? void 0 : w.type) === "time") && (b.x.ticks.source = a != null && a.length ? "labels" : "auto", b.x.time = {
1433
+ return (i === "time" || ((S = (g = f == null ? void 0 : f.scales) == null ? void 0 : g.x) == null ? void 0 : S.type) === "time") && (b.x.ticks.source = a != null && a.length ? "labels" : "auto", b.x.time = {
1434
1434
  tooltipFormat: "dd MMM yyyy : h:mm bbb"
1435
1435
  }), b;
1436
1436
  }
1437
- class xt {
1437
+ class Tt {
1438
1438
  /**
1439
1439
  * @param {Object} options
1440
1440
  * @param {ChartType} options.type
@@ -1464,7 +1464,7 @@ class xt {
1464
1464
  return a;
1465
1465
  }
1466
1466
  }
1467
- class tn extends xt {
1467
+ class an extends Tt {
1468
1468
  constructor({ data: a, options: t, plugins: l }) {
1469
1469
  super({ type: "bar", data: a, options: t, plugins: l });
1470
1470
  }
@@ -1477,7 +1477,7 @@ class tn extends xt {
1477
1477
  }
1478
1478
  updateOptions(a) {
1479
1479
  super.updateOptions(a);
1480
- const t = nt(a), l = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, n = Me(
1480
+ const t = nt(a), l = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, n = Ne(
1481
1481
  {},
1482
1482
  this.options,
1483
1483
  { scales: t },
@@ -1488,7 +1488,7 @@ class tn extends xt {
1488
1488
  this.options = n;
1489
1489
  }
1490
1490
  }
1491
- class an extends xt {
1491
+ class nn extends Tt {
1492
1492
  constructor({ data: a, options: t, plugins: l }) {
1493
1493
  super({ type: "line", data: a, options: t, plugins: l });
1494
1494
  }
@@ -1496,13 +1496,13 @@ class an extends xt {
1496
1496
  return a.map((t, l) => ({
1497
1497
  ...t,
1498
1498
  backgroundColor: tt(l, 2),
1499
- borderColor: _a(l),
1499
+ borderColor: en(l),
1500
1500
  borderWidth: 4
1501
1501
  }));
1502
1502
  }
1503
1503
  updateOptions(a) {
1504
1504
  super.updateOptions(a);
1505
- const t = nt(a), l = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, n = Me(
1505
+ const t = nt(a), l = { x: { ticks: { font: t.x.ticks.font } }, y: { ticks: { font: t.y.ticks.font } } }, n = Ne(
1506
1506
  {},
1507
1507
  this.options,
1508
1508
  { scales: t },
@@ -1513,7 +1513,7 @@ class an extends xt {
1513
1513
  this.options = n;
1514
1514
  }
1515
1515
  }
1516
- class nn {
1516
+ class ln {
1517
1517
  constructor() {
1518
1518
  return this;
1519
1519
  }
@@ -1530,7 +1530,7 @@ class nn {
1530
1530
  */
1531
1531
  setCommonConfigs(a) {
1532
1532
  const { data: t } = a;
1533
- return this.commonOptionsBasic = en(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1533
+ return this.commonOptionsBasic = tn(a), this.commonOptionsStrict = at(), this.datasets = t, this;
1534
1534
  }
1535
1535
  setCustomOptions(a) {
1536
1536
  return this.customOptions = a.customOptions, this;
@@ -1567,7 +1567,7 @@ class nn {
1567
1567
  labels: this.dataIdxLabels
1568
1568
  // TODO: || this.pieSliceLabels (or something)
1569
1569
  },
1570
- options: Me(
1570
+ options: Ne(
1571
1571
  {},
1572
1572
  this.commonOptionsBasic,
1573
1573
  {
@@ -1582,18 +1582,18 @@ class nn {
1582
1582
  };
1583
1583
  switch (this.type) {
1584
1584
  case "bar":
1585
- return new tn(a);
1586
- case "line":
1587
1585
  return new an(a);
1586
+ case "line":
1587
+ return new nn(a);
1588
1588
  default:
1589
1589
  throw new Error(`Unsupported chart type: ${this.type}`);
1590
1590
  }
1591
1591
  }
1592
1592
  }
1593
- const ln = {
1593
+ const on = {
1594
1594
  class: "bs-chart bs-chart-bar",
1595
1595
  "data-component": "bs-chart-bar"
1596
- }, on = ["aria-label"], rn = ["data-hidden"], Uo = {
1596
+ }, rn = ["aria-label"], sn = ["data-hidden"], Go = {
1597
1597
  __name: "BsChartBar",
1598
1598
  props: {
1599
1599
  chartTitle: {
@@ -1664,27 +1664,27 @@ const ln = {
1664
1664
  }
1665
1665
  },
1666
1666
  setup(e) {
1667
- const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Qa("bar", a), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1667
+ const a = e, { canvasRef: t, legendListRef: l, registerChart: n } = Ja("bar", a), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`);
1668
1668
  return H(() => n(
1669
- ta,
1670
1669
  aa,
1671
1670
  na,
1672
1671
  la,
1673
1672
  oa,
1674
1673
  ia,
1675
- ra
1676
- )), (s, o) => (u(), v("div", ln, [
1677
- I("figure", null, [
1678
- I("div", null, [
1679
- I("canvas", {
1674
+ ra,
1675
+ sa
1676
+ )), (d, o) => (u(), v("div", on, [
1677
+ $("figure", null, [
1678
+ $("div", null, [
1679
+ $("canvas", {
1680
1680
  "aria-label": i.value,
1681
1681
  ref_key: "canvasRef",
1682
1682
  ref: t,
1683
1683
  role: "img"
1684
- }, null, 8, on)
1684
+ }, null, 8, rn)
1685
1685
  ]),
1686
- I("div", null, [
1687
- D(Za, {
1686
+ $("div", null, [
1687
+ D(Xa, {
1688
1688
  "chart-type": "bar",
1689
1689
  data: e.data,
1690
1690
  "data-idx-labels": e.dataIdxLabels,
@@ -1693,19 +1693,19 @@ const ln = {
1693
1693
  "x-label": e.xLabel,
1694
1694
  "y-label": e.yLabel
1695
1695
  }, null, 8, ["data", "data-idx-labels", "table-title", "x-axis-type", "x-label", "y-label"]),
1696
- I("figcaption", {
1696
+ $("figcaption", {
1697
1697
  "data-hidden": !e.showLegend
1698
1698
  }, [
1699
- I("ul", {
1699
+ $("ul", {
1700
1700
  ref_key: "legendListRef",
1701
1701
  ref: l
1702
1702
  }, null, 512)
1703
- ], 8, rn)
1703
+ ], 8, sn)
1704
1704
  ])
1705
1705
  ])
1706
1706
  ]));
1707
1707
  }
1708
- }, sn = ["data-disabled", "data-error", "data-size"], dn = ["checked", "data-error", "disabled", "id", "required", "value"], Wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1708
+ }, dn = ["data-disabled", "data-error", "data-size"], un = ["checked", "data-error", "disabled", "id", "required", "value"], Ho = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1709
1709
  __name: "BsCheckbox",
1710
1710
  props: {
1711
1711
  /** Sets the label. */
@@ -1768,41 +1768,41 @@ const ln = {
1768
1768
  },
1769
1769
  emits: ["update:modelValue"],
1770
1770
  setup(e, { emit: a }) {
1771
- const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = k(null), o = p(() => t.inputId || n.value), d = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1771
+ const t = e, l = a, [n] = Z(), i = p(() => et.concat(t.passAttrs.split(","))), d = k(null), o = p(() => t.inputId || n.value), s = p(() => t.checked || m.value), r = p(() => t.indeterminate || t.checkedPartially), f = p(() => Array.isArray(t.modelValue) && t.value), m = p(() => f.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1772
1772
  function b() {
1773
- s.value && (s.value.indeterminate = r.value && !d.value);
1773
+ d.value && (d.value.indeterminate = r.value && !s.value);
1774
1774
  }
1775
- function S(h) {
1775
+ function g(h) {
1776
1776
  l("update:modelValue", h);
1777
1777
  }
1778
- function w(h) {
1779
- const $ = [...t.modelValue];
1780
- h ? $.push(t.value) : $.splice($.indexOf(t.value), 1), l("update:modelValue", $);
1778
+ function S(h) {
1779
+ const B = [...t.modelValue];
1780
+ h ? B.push(t.value) : B.splice(B.indexOf(t.value), 1), l("update:modelValue", B);
1781
1781
  }
1782
- function B(h) {
1783
- const { checked: $ } = h.target;
1784
- f.value ? w($) : S($);
1782
+ function I(h) {
1783
+ const { checked: B } = h.target;
1784
+ f.value ? S(B) : g(B);
1785
1785
  }
1786
- return j(d, b), j(r, b), H(b), (h, $) => (u(), v("div", N({
1786
+ return j(s, b), j(r, b), H(b), (h, B) => (u(), v("div", z({
1787
1787
  class: "bs-boolean",
1788
1788
  "data-component": "bs-checkbox",
1789
1789
  "data-disabled": e.disabled,
1790
1790
  "data-error": e.error,
1791
1791
  "data-size": e.size
1792
1792
  }, c(Y)(h.$attrs, i.value).remaining), [
1793
- I("input", N({
1793
+ $("input", z({
1794
1794
  ref_key: "inputEl",
1795
- ref: s,
1796
- checked: d.value,
1795
+ ref: d,
1796
+ checked: s.value,
1797
1797
  "data-error": e.error,
1798
1798
  disabled: e.disabled,
1799
1799
  id: h.$attrs.id || o.value,
1800
1800
  required: e.required,
1801
1801
  value: e.value || "on",
1802
1802
  type: "checkbox",
1803
- onChange: B
1804
- }, c(Y)(h.$attrs, i.value).filtered), null, 16, dn),
1805
- e.label || h.$slots.label ? (u(), V(ae, {
1803
+ onChange: I
1804
+ }, c(Y)(h.$attrs, i.value).filtered), null, 16, un),
1805
+ e.label || h.$slots.label ? (u(), A(ae, {
1806
1806
  key: 0,
1807
1807
  for: h.$attrs.id || o.value,
1808
1808
  disabled: e.disabled,
@@ -1810,14 +1810,14 @@ const ln = {
1810
1810
  }, {
1811
1811
  default: L(() => [
1812
1812
  E(h.$slots, "label", {}, () => [
1813
- W(A(e.label), 1)
1813
+ U(T(e.label), 1)
1814
1814
  ])
1815
1815
  ]),
1816
1816
  _: 3
1817
1817
  }, 8, ["for", "disabled", "required"])) : C("", !0)
1818
- ], 16, sn));
1818
+ ], 16, dn));
1819
1819
  }
1820
- }), un = {
1820
+ }), cn = {
1821
1821
  __name: "BsDropdownContainer",
1822
1822
  props: {
1823
1823
  breakout: {
@@ -1840,7 +1840,7 @@ const ln = {
1840
1840
  setup(e, { expose: a }) {
1841
1841
  const t = k(null);
1842
1842
  return a({ internalContainerRef: t }), (l, n) => (u(), v(G, null, [
1843
- e.breakout && e.breakoutMounted ? (u(), V(Pt, {
1843
+ e.breakout && e.breakoutMounted ? (u(), A(Nt, {
1844
1844
  key: 0,
1845
1845
  to: e.breakoutStub
1846
1846
  }, [
@@ -1890,7 +1890,7 @@ const ln = {
1890
1890
  ],
1891
1891
  setup(e, { emit: a }) {
1892
1892
  const t = a;
1893
- return (l, n) => e.preloaded ? de((u(), V(st, {
1893
+ return (l, n) => e.preloaded ? ue((u(), A(st, {
1894
1894
  key: 0,
1895
1895
  name: e.name,
1896
1896
  onBeforeEnter: n[0] || (n[0] = (i) => t("before-enter")),
@@ -1907,8 +1907,8 @@ const ln = {
1907
1907
  ]),
1908
1908
  _: 3
1909
1909
  }, 8, ["name"])), [
1910
- [ue, e.shown]
1911
- ]) : (u(), V(st, {
1910
+ [ce, e.shown]
1911
+ ]) : (u(), A(st, {
1912
1912
  key: 1,
1913
1913
  name: e.name,
1914
1914
  onBeforeEnter: n[8] || (n[8] = (i) => t("before-enter")),
@@ -1926,19 +1926,19 @@ const ln = {
1926
1926
  _: 3
1927
1927
  }, 8, ["name"]));
1928
1928
  }
1929
- }, cn = (e, a = void 0, t = "relative") => {
1929
+ }, fn = (e, a = void 0, t = "relative") => {
1930
1930
  const l = k(null), n = k(null), i = k(!1);
1931
- let s = !1;
1931
+ let d = !1;
1932
1932
  return H(() => {
1933
- e && (l.value = a || St(), document.getElementById(l.value) ? (n.value = document.getElementById(l.value), s = !0) : (n.value = document.createElement("div"), n.value.id = l.value, n.value.style.position = t, document.body.insertAdjacentElement("afterbegin", n.value)), i.value = !0);
1933
+ 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);
1934
1934
  }), $e(() => {
1935
1935
  var o;
1936
- e && !s && ((o = document.getElementById(l.value)) == null || o.remove());
1936
+ e && !d && ((o = document.getElementById(l.value)) == null || o.remove());
1937
1937
  }), { breakoutId: l, breakoutStub: n, breakoutMounted: i };
1938
- }, fn = {
1938
+ }, pn = {
1939
1939
  key: 0,
1940
1940
  class: "bs-dropdown-backdrop"
1941
- }, pn = ["data-width", "data-shown", "data-no-mobile"], hn = { key: 0 }, vn = { key: 0 }, mn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1941
+ }, hn = ["data-width", "data-shown", "data-no-mobile"], vn = { key: 0 }, mn = { key: 0 }, bn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1942
1942
  __name: "BsDropdownNew",
1943
1943
  props: {
1944
1944
  anchorId: {
@@ -1991,62 +1991,60 @@ const ln = {
1991
1991
  "after-leave"
1992
1992
  ],
1993
1993
  setup(e, { emit: a }) {
1994
- const t = e, l = a, n = k(null), i = k(null), s = k(!1), o = k(!1), d = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1995
- kt([i, d], () => {
1994
+ const t = e, l = a, n = k(null), i = k(null), d = k(!1), o = k(!1), s = p(() => document.getElementById(t.anchorId)), r = p(() => t.breakout ? m.value : t.containerId ? document.getElementById(t.containerId) : n.value.internalContainerRef), f = p(() => t.width === "anchor" ? void 0 : t.width);
1995
+ Ct([i, s], () => {
1996
1996
  o.value && l("close");
1997
- }), pe(["Escape"], () => {
1997
+ }), he(["Escape"], () => {
1998
1998
  o.value && l("close");
1999
1999
  });
2000
- const { breakoutStub: m, breakoutMounted: b } = cn(t.breakout, t.containerId);
2001
- ce("dropdownEnter", s), ce("dropdownAfterEnter", o), ce("dropdownShown", p(() => t.shown));
2002
- const S = (T, q) => {
2003
- i.value.style.setProperty(T, q);
2000
+ const { breakoutStub: m, breakoutMounted: b } = fn(t.breakout, t.containerId);
2001
+ fe("dropdownEnter", d), fe("dropdownAfterEnter", o), fe("dropdownShown", p(() => t.shown));
2002
+ const g = (V, q) => {
2003
+ i.value.style.setProperty(V, q);
2004
2004
  };
2005
- function w() {
2006
- const T = r.value.getBoundingClientRect(), q = d.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
2007
- B(T, q), h(T, q, R);
2005
+ function S() {
2006
+ const V = r.value.getBoundingClientRect(), q = s.value.getBoundingClientRect(), R = i.value.getBoundingClientRect();
2007
+ I(V, q), h(V, q, R);
2008
2008
  }
2009
- function B(T, q) {
2009
+ function I(V, q) {
2010
2010
  if (t.position === "top") {
2011
- const R = T.bottom - q.bottom;
2012
- S("--dropdown-wscreen-top", "auto"), S("--dropdown-wscreen-bottom", `${R + q.height + 8}px`);
2011
+ const R = V.bottom - q.bottom;
2012
+ g("--dropdown-wscreen-top", "auto"), g("--dropdown-wscreen-bottom", `${R + q.height + 8}px`);
2013
2013
  } else {
2014
- const R = q.top - T.top;
2015
- S("--dropdown-wscreen-top", `${R + q.height + 8}px`), S("--dropdown-wscreen-bottom", "auto");
2014
+ const R = q.top - V.top;
2015
+ g("--dropdown-wscreen-top", `${R + q.height + 8}px`), g("--dropdown-wscreen-bottom", "auto");
2016
2016
  }
2017
2017
  }
2018
- function h(T, q, R) {
2019
- if (t.width !== "anchor") {
2020
- const _ = q.left - T.left;
2021
- if (t.position === "center") {
2022
- const J = (q.width - R.width) / 2;
2023
- S("--dropdown-wscreen-left", `${_ + J}px`), S("--dropdown-wscreen-right", "auto");
2024
- } else if (t.position === "right") {
2025
- const J = T.right - q.right;
2026
- S("--dropdown-wscreen-left", "auto"), S("--dropdown-wscreen-right", `${J}px`);
2027
- } else
2028
- S("--dropdown-wscreen-left", `${_}px`), S("--dropdown-wscreen-right", "auto");
2029
- }
2018
+ function h(V, q, R) {
2019
+ const _ = q.left - V.left;
2020
+ if (t.position === "center") {
2021
+ const J = (q.width - R.width) / 2;
2022
+ g("--dropdown-wscreen-left", `${_ + J}px`), g("--dropdown-wscreen-right", "auto");
2023
+ } else if (t.position === "right") {
2024
+ const J = V.right - q.right;
2025
+ g("--dropdown-wscreen-left", "auto"), g("--dropdown-wscreen-right", `${J}px`);
2026
+ } else
2027
+ g("--dropdown-wscreen-left", `${_}px`), g("--dropdown-wscreen-right", "auto");
2030
2028
  }
2031
- function $() {
2029
+ function B() {
2032
2030
  if (t.width === "anchor") {
2033
- const T = d.value.getBoundingClientRect();
2034
- S("--dropdown-wscreen-width", `${T.width}px`);
2031
+ const V = s.value.getBoundingClientRect();
2032
+ g("--dropdown-wscreen-width", `${V.width}px`);
2035
2033
  } else
2036
- S("--dropdown-wscreen-width", "");
2034
+ g("--dropdown-wscreen-width", "");
2037
2035
  }
2038
- function y() {
2039
- s.value = !0, w(), $(), l("enter");
2036
+ function w() {
2037
+ d.value = !0, S(), B(), l("enter");
2040
2038
  }
2041
- function g() {
2039
+ function y() {
2042
2040
  o.value = !0, l("after-enter");
2043
2041
  }
2044
2042
  function M() {
2045
- s.value = !1, o.value = !1, l("after-leave");
2043
+ d.value = !1, o.value = !1, l("after-leave");
2046
2044
  }
2047
- return (T, q) => (u(), v(G, null, [
2048
- e.useMobileStyle && e.shown ? (u(), v("div", fn)) : C("", !0),
2049
- D(un, {
2045
+ return (V, q) => (u(), v(G, null, [
2046
+ e.useMobileStyle && e.shown ? (u(), v("div", pn)) : C("", !0),
2047
+ D(cn, {
2050
2048
  ref_key: "dropdownContainerRef",
2051
2049
  ref: n,
2052
2050
  breakout: e.breakout,
@@ -2059,25 +2057,25 @@ const ln = {
2059
2057
  name: "bs-dropdown",
2060
2058
  preloaded: e.preloaded,
2061
2059
  shown: e.shown,
2062
- onAfterEnter: g,
2063
- onEnter: y,
2060
+ onAfterEnter: y,
2061
+ onEnter: w,
2064
2062
  onAfterLeave: M
2065
2063
  }, {
2066
2064
  default: L(() => [
2067
- I("div", N({
2065
+ $("div", z({
2068
2066
  ref_key: "dropdownRef",
2069
2067
  ref: i,
2070
2068
  class: "bs-dropdown",
2071
2069
  "data-width": f.value,
2072
2070
  "data-shown": e.shown,
2073
2071
  "data-no-mobile": !e.useMobileStyle
2074
- }, T.$attrs), [
2075
- e.helperText ? (u(), v("header", hn, [
2076
- I("div", null, [
2077
- I("h3", null, A(e.helperText), 1),
2078
- e.helperDescription ? (u(), v("p", vn, A(e.helperDescription), 1)) : C("", !0)
2072
+ }, V.$attrs), [
2073
+ e.helperText ? (u(), v("header", vn, [
2074
+ $("div", null, [
2075
+ $("h3", null, T(e.helperText), 1),
2076
+ e.helperDescription ? (u(), v("p", mn, T(e.helperDescription), 1)) : C("", !0)
2079
2077
  ]),
2080
- I("button", {
2078
+ $("button", {
2081
2079
  type: "button",
2082
2080
  title: "close",
2083
2081
  onClick: q[0] || (q[0] = () => l("close"))
@@ -2085,8 +2083,8 @@ const ln = {
2085
2083
  D(c(Be))
2086
2084
  ])
2087
2085
  ])) : C("", !0),
2088
- E(T.$slots, "default")
2089
- ], 16, pn)
2086
+ E(V.$slots, "default")
2087
+ ], 16, hn)
2090
2088
  ]),
2091
2089
  _: 3
2092
2090
  }, 8, ["preloaded", "shown"])
@@ -2185,14 +2183,14 @@ const ln = {
2185
2183
  "after-leave"
2186
2184
  ],
2187
2185
  setup(e, { emit: a }) {
2188
- const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
2189
- return (d, r) => (u(), V(mn, {
2186
+ const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), d = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId);
2187
+ return (s, r) => (u(), A(bn, {
2190
2188
  "anchor-id": o.value,
2191
2189
  breakout: e.breakout,
2192
2190
  "container-id": e.containerId,
2193
2191
  "helper-description": e.helperDescription,
2194
2192
  "helper-text": e.helperText,
2195
- position: s.value,
2193
+ position: d.value,
2196
2194
  preloaded: e.preloaded,
2197
2195
  shown: c(n),
2198
2196
  "use-mobile-style": e.useMobileStyle,
@@ -2203,12 +2201,12 @@ const ln = {
2203
2201
  onAfterLeave: r[3] || (r[3] = () => l("after-leave"))
2204
2202
  }, {
2205
2203
  default: L(() => [
2206
- E(d.$slots, "default")
2204
+ E(s.$slots, "default")
2207
2205
  ]),
2208
2206
  _: 3
2209
2207
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
2210
2208
  }
2211
- }, bn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], gn = { class: "visually-hidden" }, yn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2209
+ }, gn = ["aria-controls", "aria-expanded", "data-open", "disabled", "id", "tabindex"], yn = { class: "visually-hidden" }, Sn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2212
2210
  __name: "BsInputCombobox",
2213
2211
  props: {
2214
2212
  containerId: {
@@ -2250,21 +2248,21 @@ const ln = {
2250
2248
  setup(e, { emit: a }) {
2251
2249
  const t = e, l = a;
2252
2250
  let n = !1;
2253
- const i = k(null), [s] = X(1), o = p(() => ({
2251
+ const i = k(null), [d] = Z(1), o = p(() => ({
2254
2252
  icon: t.modelValue ? "close" : t.optionsId ? "caret-down" : "",
2255
2253
  show: !!(t.modelValue || t.optionsId),
2256
2254
  text: t.modelValue ? "Clear this field" : t.optionsId ? "Toggle options dropdown" : ""
2257
2255
  }));
2258
- function d() {
2256
+ function s() {
2259
2257
  t.modelValue && l("clear"), n = !0, i.value.$el.focus();
2260
2258
  }
2261
2259
  function r(m) {
2262
- var w, B;
2263
- const b = ((w = m.relatedTarget) == null ? void 0 : w.id) === s.value;
2264
- !(((B = m.relatedTarget) == null ? void 0 : B.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
2260
+ var S, I;
2261
+ const b = ((S = m.relatedTarget) == null ? void 0 : S.id) === d.value;
2262
+ !(((I = m.relatedTarget) == null ? void 0 : I.id) === t.optionsId) && (!b || !n) && f(!0), n = !1;
2265
2263
  }
2266
2264
  const f = Oe((m) => l("toggled", m), 200, !0);
2267
- return (m, b) => (u(), V(De, {
2265
+ return (m, b) => (u(), A(De, {
2268
2266
  "aria-live": "polite",
2269
2267
  disabled: e.disabled,
2270
2268
  error: e.error,
@@ -2274,7 +2272,7 @@ const ln = {
2274
2272
  onClick: c(f)
2275
2273
  }, {
2276
2274
  default: L(() => [
2277
- D(Ie, N({
2275
+ D(Ie, z({
2278
2276
  ref_key: "inputRef",
2279
2277
  ref: i,
2280
2278
  "aria-controls": e.optionsId,
@@ -2290,40 +2288,40 @@ const ln = {
2290
2288
  required: e.required,
2291
2289
  role: e.optionsId ? "combobox" : void 0,
2292
2290
  onFocus: r,
2293
- onInput: b[0] || (b[0] = (S) => m.$emit("update:modelValue", S.target.value))
2291
+ onInput: b[0] || (b[0] = (g) => m.$emit("update:modelValue", g.target.value))
2294
2292
  }, m.$attrs), null, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-invalid", "data-error", "disabled", "model-value", "placeholder", "required", "role"]),
2295
- de(I("button", {
2293
+ ue($("button", {
2296
2294
  "aria-controls": !e.modelValue && e.optionsId ? e.optionsId : void 0,
2297
2295
  "aria-expanded": !e.modelValue && e.optionsId ? e.open : void 0,
2298
2296
  "data-open": e.modelValue ? void 0 : e.open,
2299
2297
  "data-part": "right",
2300
2298
  disabled: e.disabled,
2301
- id: c(s),
2299
+ id: c(d),
2302
2300
  tabindex: e.modelValue ? "0" : "-1",
2303
2301
  type: "button",
2304
- onClick: d
2302
+ onClick: s
2305
2303
  }, [
2306
- I("span", gn, A(o.value.text), 1),
2307
- de(D(c(_e), {
2304
+ $("span", yn, T(o.value.text), 1),
2305
+ ue(D(c(Me), {
2308
2306
  role: "presentation",
2309
2307
  size: "md"
2310
2308
  }, null, 512), [
2311
- [ue, o.value.icon == "caret-down"]
2309
+ [ce, o.value.icon == "caret-down"]
2312
2310
  ]),
2313
- de(D(c(Be), {
2311
+ ue(D(c(Be), {
2314
2312
  role: "presentation",
2315
2313
  size: "md"
2316
2314
  }, null, 512), [
2317
- [ue, o.value.icon == "close"]
2315
+ [ce, o.value.icon == "close"]
2318
2316
  ])
2319
- ], 8, bn), [
2320
- [ue, o.value.show]
2317
+ ], 8, gn), [
2318
+ [ce, o.value.show]
2321
2319
  ])
2322
2320
  ]),
2323
2321
  _: 1
2324
2322
  }, 8, ["disabled", "error", "id", "onClick"]));
2325
2323
  }
2326
- }), Sn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], wn = {
2324
+ }), wn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], $n = {
2327
2325
  __name: "BsFilterButton",
2328
2326
  props: {
2329
2327
  badgeCount: {
@@ -2363,7 +2361,7 @@ const ln = {
2363
2361
  disabled: e.disabled,
2364
2362
  type: "button"
2365
2363
  }, [
2366
- t.value ? (u(), V(Sa, {
2364
+ t.value ? (u(), A(wa, {
2367
2365
  key: 0,
2368
2366
  color: "blue",
2369
2367
  count: e.badgeCount,
@@ -2372,12 +2370,12 @@ const ln = {
2372
2370
  variant: "notext"
2373
2371
  }, null, 8, ["count"])) : C("", !0),
2374
2372
  E(l.$slots, "label", {}, () => [
2375
- W(A(e.label), 1)
2373
+ U(T(e.label), 1)
2376
2374
  ]),
2377
- D(c(_e))
2378
- ], 8, Sn));
2375
+ D(c(Me))
2376
+ ], 8, wn));
2379
2377
  }
2380
- }, $n = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2378
+ }, Bn = ["data-value", "data-value-type", "data-variant", "id"], ot = {
2381
2379
  __name: "BsDropdownOption",
2382
2380
  props: {
2383
2381
  value: {
@@ -2390,12 +2388,12 @@ const ln = {
2390
2388
  }
2391
2389
  },
2392
2390
  setup(e) {
2393
- const a = e, t = k(null), l = fe("optionsId", ""), n = fe("handleOptionSelect", () => {
2391
+ const a = e, t = k(null), l = pe("optionsId", ""), n = pe("handleOptionSelect", () => {
2394
2392
  }), i = p(() => `${l.value}-option-${a.value}`);
2395
- function s(o) {
2393
+ function d(o) {
2396
2394
  n(t.value), o.stopPropagation();
2397
2395
  }
2398
- return (o, d) => (u(), v("li", {
2396
+ return (o, s) => (u(), v("li", {
2399
2397
  ref_key: "optionRef",
2400
2398
  ref: t,
2401
2399
  "data-component": "bs-dropdown-option",
@@ -2404,12 +2402,12 @@ const ln = {
2404
2402
  "data-variant": e.variant || void 0,
2405
2403
  id: i.value,
2406
2404
  role: "option",
2407
- onClick: s
2405
+ onClick: d
2408
2406
  }, [
2409
2407
  E(o.$slots, "default")
2410
- ], 8, $n));
2408
+ ], 8, Bn));
2411
2409
  }
2412
- }, Bn = ["data-img-size", "data-initials", "data-no-img"], In = ["src", "alt"], Tt = {
2410
+ }, In = ["data-img-size", "data-initials", "data-no-img"], kn = ["src", "alt"], At = {
2413
2411
  __name: "BsProfileImg",
2414
2412
  props: {
2415
2413
  src: String,
@@ -2439,11 +2437,11 @@ const ln = {
2439
2437
  key: 0,
2440
2438
  src: e.src,
2441
2439
  alt: e.useAltText ? e.profileName : "",
2442
- onError: i[0] || (i[0] = (s) => l.value = !1)
2443
- }, null, 40, In)) : C("", !0)
2444
- ], 8, Bn));
2440
+ onError: i[0] || (i[0] = (d) => l.value = !1)
2441
+ }, null, 40, kn)) : C("", !0)
2442
+ ], 8, In));
2445
2443
  }
2446
- }, kn = ["id", "data-checked"], Cn = { key: 1 }, xn = ["innerHTML"], Tn = { key: 4 }, An = { key: 5 }, Vn = {
2444
+ }, Cn = ["id", "data-checked"], xn = { key: 1 }, Tn = ["innerHTML"], An = { key: 4 }, Vn = { key: 5 }, On = {
2447
2445
  key: 0,
2448
2446
  role: "option",
2449
2447
  "data-no-hover": ""
@@ -2487,25 +2485,25 @@ const ln = {
2487
2485
  });
2488
2486
  function l() {
2489
2487
  a.options.forEach((o) => {
2490
- const { icon: d } = o;
2491
- d && !t[d] && (t[d] = i(d));
2488
+ const { icon: s } = o;
2489
+ s && !t[s] && (t[s] = i(s));
2492
2490
  });
2493
2491
  }
2494
2492
  function n(o) {
2495
- let d = "", r = 1;
2496
- return r += o.checkbox ? 1 : 0, r += o.icon ? 1 : 0, r += o.profileImg ? 1 : 0, r > 1 && (d += ` ${r}-col`), o.checkbox && (d += " checkbox"), o.description && (d += " description"), o.negative && (d += " negative"), d;
2493
+ let s = "", r = 1;
2494
+ return r += o.checkbox ? 1 : 0, r += o.icon ? 1 : 0, r += o.profileImg ? 1 : 0, r > 1 && (s += ` ${r}-col`), o.checkbox && (s += " checkbox"), o.description && (s += " description"), o.negative && (s += " negative"), s;
2497
2495
  }
2498
2496
  function i(o) {
2499
- return Qe(async () => {
2500
- const { [`BsIcon${o}`]: d } = await import("@wwtdev/bsds-icons-vue3");
2501
- return d;
2497
+ return Je(async () => {
2498
+ const { [`BsIcon${o}`]: s } = await import("@wwtdev/bsds-icons-vue3");
2499
+ return s;
2502
2500
  });
2503
2501
  }
2504
- function s(o, d) {
2505
- return !!o && o !== d;
2502
+ function d(o, s) {
2503
+ return !!o && o !== s;
2506
2504
  }
2507
- return (o, d) => (u(), v(G, null, [
2508
- (u(!0), v(G, null, ee(e.options, (r) => (u(), V(ot, {
2505
+ return (o, s) => (u(), v(G, null, [
2506
+ (u(!0), v(G, null, ee(e.options, (r) => (u(), A(ot, {
2509
2507
  "aria-checked": r.checkbox ? r.checkbox.checked : void 0,
2510
2508
  key: r.value,
2511
2509
  value: r.value,
@@ -2518,34 +2516,34 @@ const ln = {
2518
2516
  "aria-hidden": "true",
2519
2517
  class: "bs-checkbox",
2520
2518
  "data-checked": r.checkbox.checked
2521
- }, null, 8, kn)) : C("", !0),
2522
- r.icon ? (u(), v("span", Cn, [
2523
- (u(), V(te(t[r.icon])))
2519
+ }, null, 8, Cn)) : C("", !0),
2520
+ r.icon ? (u(), v("span", xn, [
2521
+ (u(), A(te(t[r.icon])))
2524
2522
  ])) : C("", !0),
2525
- r.profileImg ? (u(), V(Tt, {
2523
+ r.profileImg ? (u(), A(At, {
2526
2524
  key: 2,
2527
2525
  src: r.profileImg.src,
2528
2526
  size: "xs",
2529
2527
  initials: r.profileImg.initials,
2530
2528
  "profile-name": r.profileImg.profileName,
2531
- "use-alt-text": s(r.profileImg.profileName, r.label)
2529
+ "use-alt-text": d(r.profileImg.profileName, r.label)
2532
2530
  }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : C("", !0),
2533
2531
  r.labelHtml ? (u(), v("span", {
2534
2532
  key: 3,
2535
2533
  innerHTML: r.labelHtml
2536
- }, null, 8, xn)) : (u(), v("span", Tn, A(r.label), 1)),
2537
- r.description ? (u(), v("span", An, A(r.description), 1)) : C("", !0)
2534
+ }, null, 8, Tn)) : (u(), v("span", An, T(r.label), 1)),
2535
+ r.description ? (u(), v("span", Vn, T(r.description), 1)) : C("", !0)
2538
2536
  ]),
2539
2537
  _: 2
2540
2538
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
2541
- e.showNoOptions && e.options.length === 0 ? (u(), v("li", Vn, [
2539
+ e.showNoOptions && e.options.length === 0 ? (u(), v("li", On, [
2542
2540
  E(o.$slots, "no-options", {}, () => [
2543
- W("No options")
2541
+ U("No options")
2544
2542
  ])
2545
2543
  ])) : C("", !0)
2546
2544
  ], 64));
2547
2545
  }
2548
- }, On = ["id"], En = {
2546
+ }, En = ["id"], Vt = {
2549
2547
  __name: "BsDropdownWithToggle",
2550
2548
  props: {
2551
2549
  anchorId: {
@@ -2619,37 +2617,37 @@ const ln = {
2619
2617
  setup(e, { emit: a }) {
2620
2618
  const t = e, l = a;
2621
2619
  let n = null;
2622
- const [i, s] = X(2), o = k(!1), d = () => n || (n = document.getElementById(m.value)), r = p(() => Qe(async () => await (t.multiselect ? Promise.resolve().then(() => Nn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || s.value), m = p(() => t.toggleId || i.value);
2620
+ const [i, d] = Z(2), o = k(!1), s = () => n || (n = document.getElementById(m.value)), r = p(() => Je(async () => await (t.multiselect ? Promise.resolve().then(() => zn) : Promise.resolve().then(() => Dn)))), f = p(() => t.optionsId || d.value), m = p(() => t.toggleId || i.value);
2623
2621
  function b() {
2624
- const y = document.activeElement;
2625
- return !y || y.tagName === "BODY" || y.id === f.value;
2622
+ const w = document.activeElement;
2623
+ return !w || w.tagName === "BODY" || w.id === f.value;
2626
2624
  }
2627
- function S() {
2628
- var y, g;
2629
- o.value = !1, l("close"), b() && ((g = (y = d()) == null ? void 0 : y.focus) == null || g.call(y));
2625
+ function g() {
2626
+ var w, y;
2627
+ o.value = !1, l("close"), b() && ((y = (w = s()) == null ? void 0 : w.focus) == null || y.call(w));
2630
2628
  }
2631
- function w() {
2632
- o.value && S();
2629
+ function S() {
2630
+ o.value && g();
2633
2631
  }
2634
- function B() {
2632
+ function I() {
2635
2633
  o.value = !0;
2636
2634
  }
2637
- function h(y) {
2638
- l("update:selectedOptions", y);
2635
+ function h(w) {
2636
+ l("update:selectedOptions", w);
2639
2637
  }
2640
- function $(y) {
2641
- t.multiselect || (l("update:selectedOption", y), S());
2638
+ function B(w) {
2639
+ t.multiselect || (l("update:selectedOption", w), g());
2642
2640
  }
2643
- return (y, g) => (u(), v("div", {
2641
+ return (w, y) => (u(), v("div", {
2644
2642
  class: "bs-dropdown-with-toggle",
2645
- id: y.$attrs.id
2643
+ id: w.$attrs.id
2646
2644
  }, [
2647
- E(y.$slots, "toggle", {
2645
+ E(w.$slots, "toggle", {
2648
2646
  anchorId: e.anchorId,
2649
2647
  optionsId: f.value,
2650
2648
  toggleId: m.value
2651
2649
  }, () => [
2652
- D(wn, {
2650
+ D($n, {
2653
2651
  "aria-controls": f.value,
2654
2652
  "aria-expanded": e.open,
2655
2653
  disabled: e.disabled,
@@ -2657,11 +2655,11 @@ const ln = {
2657
2655
  open: e.open,
2658
2656
  "options-id": f.value,
2659
2657
  size: e.toggleSize,
2660
- onClick: g[0] || (g[0] = (M) => y.$emit("toggled"))
2658
+ onClick: y[0] || (y[0] = (M) => w.$emit("toggled"))
2661
2659
  }, {
2662
2660
  label: L(() => [
2663
- E(y.$slots, "toggle-label", {}, () => [
2664
- W(A(e.toggleLabel), 1)
2661
+ E(w.$slots, "toggle-label", {}, () => [
2662
+ U(T(e.toggleLabel), 1)
2665
2663
  ])
2666
2664
  ]),
2667
2665
  _: 3
@@ -2677,23 +2675,23 @@ const ln = {
2677
2675
  shown: e.open,
2678
2676
  "use-mobile-style": e.useMobileStyle,
2679
2677
  width: e.dropdownWidth,
2680
- onClose: w,
2681
- onEnter: B
2678
+ onClose: S,
2679
+ onEnter: I
2682
2680
  }, {
2683
2681
  default: L(() => [
2684
2682
  D(c(r), {
2685
2683
  label: e.dropdownLabel,
2686
2684
  "model-value": e.selectedOption,
2687
- options: e.options,
2685
+ options: e.multiselect ? e.options : void 0,
2688
2686
  "options-id": f.value,
2689
2687
  "selected-options": e.selectedOptions,
2690
2688
  shown: e.open,
2691
- "onUpdate:modelValue": $,
2689
+ "onUpdate:modelValue": B,
2692
2690
  "onUpdate:selectedOptions": h,
2693
- onClose: g[1] || (g[1] = (M) => e.multiselect ? void 0 : w())
2691
+ onClose: y[1] || (y[1] = (M) => e.multiselect ? void 0 : S())
2694
2692
  }, {
2695
2693
  default: L(() => [
2696
- e.multiselect ? C("", !0) : (u(), V(Pe, {
2694
+ e.multiselect ? C("", !0) : (u(), A(Pe, {
2697
2695
  key: 0,
2698
2696
  options: e.options
2699
2697
  }, null, 8, ["options"]))
@@ -2703,9 +2701,9 @@ const ln = {
2703
2701
  ]),
2704
2702
  _: 1
2705
2703
  }, 8, ["anchor-id", "breakout", "helper-text", "helper-description", "position", "shown", "use-mobile-style", "width"])
2706
- ], 8, On));
2704
+ ], 8, En));
2707
2705
  }
2708
- }, At = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2706
+ }, Ot = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2709
2707
  __name: "BsDropdownCombobox",
2710
2708
  props: {
2711
2709
  disabled: {
@@ -2764,24 +2762,24 @@ const ln = {
2764
2762
  },
2765
2763
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2766
2764
  setup(e, { emit: a }) {
2767
- const t = e, l = a, [n, i, s] = X(3), o = k(!1), d = p(() => t.inputId || n.value);
2768
- function r(w) {
2769
- l("combobox:change", w.target.value), l("update:modelValue", w.target.value);
2765
+ const t = e, l = a, [n, i, d] = Z(3), o = k(!1), s = p(() => t.inputId || n.value);
2766
+ function r(S) {
2767
+ l("combobox:change", S.target.value), l("update:modelValue", S.target.value);
2770
2768
  }
2771
2769
  function f() {
2772
2770
  l("combobox:change", ""), l("update:modelValue", "");
2773
2771
  }
2774
- function m(w) {
2775
- var B, h;
2776
- (B = w.relatedTarget) != null && B.closest(`#${s.value}`) || (h = w.relatedTarget) != null && h.closest(`#${i.value}`) || (o.value = !1);
2772
+ function m(S) {
2773
+ var I, h;
2774
+ (I = S.relatedTarget) != null && I.closest(`#${d.value}`) || (h = S.relatedTarget) != null && h.closest(`#${i.value}`) || (o.value = !1);
2777
2775
  }
2778
- function b(w) {
2779
- l("combobox:input", w.target.value), t.updateOnInput && l("update:modelValue", w.target.value);
2776
+ function b(S) {
2777
+ l("combobox:input", S.target.value), t.updateOnInput && l("update:modelValue", S.target.value);
2780
2778
  }
2781
- function S(w) {
2782
- w === !0 || w === !1 ? o.value = w : o.value = !o.value;
2779
+ function g(S) {
2780
+ S === !0 || S === !1 ? o.value = S : o.value = !o.value;
2783
2781
  }
2784
- return (w, B) => (u(), V(En, {
2782
+ return (S, I) => (u(), A(Vt, {
2785
2783
  "anchor-id": c(i),
2786
2784
  disabled: e.disabled,
2787
2785
  "dropdown-position": e.dropdownPosition,
@@ -2791,35 +2789,35 @@ const ln = {
2791
2789
  multiselect: !1,
2792
2790
  open: o.value,
2793
2791
  options: e.options,
2794
- "options-id": c(s),
2792
+ "options-id": c(d),
2795
2793
  "selected-option": e.modelValue,
2796
- "toggle-id": w.$attrs.id || d.value,
2797
- onClose: B[0] || (B[0] = (h) => o.value = !1),
2794
+ "toggle-id": S.$attrs.id || s.value,
2795
+ onClose: I[0] || (I[0] = (h) => o.value = !1),
2798
2796
  onFocusout: m,
2799
- "onUpdate:selectedOption": B[1] || (B[1] = (h) => w.$emit("update:modelValue", h))
2797
+ "onUpdate:selectedOption": I[1] || (I[1] = (h) => S.$emit("update:modelValue", h))
2800
2798
  }, {
2801
2799
  toggle: L(() => [
2802
- D(yn, N({
2803
- id: w.$attrs.id || d.value,
2800
+ D(Sn, z({
2801
+ id: S.$attrs.id || s.value,
2804
2802
  "container-id": c(i),
2805
2803
  disabled: e.disabled,
2806
2804
  error: e.error,
2807
2805
  "hint-id": e.hintId,
2808
2806
  "model-value": e.displayValue || e.modelValue,
2809
2807
  open: o.value,
2810
- "options-id": c(s),
2808
+ "options-id": c(d),
2811
2809
  placeholder: e.placeholder,
2812
2810
  required: e.required,
2813
2811
  onChange: r,
2814
2812
  onClear: f,
2815
2813
  onInput: b,
2816
- onToggled: S
2817
- }, w.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
2814
+ onToggled: g
2815
+ }, S.$attrs), null, 16, ["id", "container-id", "disabled", "error", "hint-id", "model-value", "open", "options-id", "placeholder", "required"])
2818
2816
  ]),
2819
2817
  _: 1
2820
2818
  }, 8, ["anchor-id", "disabled", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options", "options-id", "selected-option", "toggle-id"]));
2821
2819
  }
2822
- }), Go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2820
+ }), Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2823
2821
  __name: "BsDropdownComboboxField",
2824
2822
  props: {
2825
2823
  disabled: {
@@ -2887,22 +2885,22 @@ const ln = {
2887
2885
  },
2888
2886
  emits: ["update:modelValue", "combobox:change", "combobox:input"],
2889
2887
  setup(e, { emit: a }) {
2890
- const t = e, [l, n] = X(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), s = p(() => t.inputId || l.value);
2891
- return (o, d) => (u(), v("div", N({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(he)).remaining), [
2892
- e.label || o.$slots.label ? (u(), V(ae, {
2888
+ const t = e, [l, n] = Z(2), i = p(() => t.error && t.errorMsg || t.hint || void 0), d = p(() => t.inputId || l.value);
2889
+ return (o, s) => (u(), v("div", z({ "data-component": "bs-dropdown-combobox-field" }, c(Y)(o.$attrs, c(ve)).remaining), [
2890
+ e.label || o.$slots.label ? (u(), A(ae, {
2893
2891
  key: 0,
2894
- for: o.$attrs.id || s.value,
2892
+ for: o.$attrs.id || d.value,
2895
2893
  disabled: e.disabled,
2896
2894
  required: e.required
2897
2895
  }, {
2898
2896
  default: L(() => [
2899
2897
  E(o.$slots, "label", {}, () => [
2900
- W(A(e.label), 1)
2898
+ U(T(e.label), 1)
2901
2899
  ])
2902
2900
  ]),
2903
2901
  _: 3
2904
2902
  }, 8, ["for", "disabled", "required"])) : C("", !0),
2905
- D(At, N({
2903
+ D(Ot, z({
2906
2904
  disabled: e.disabled,
2907
2905
  "display-value": e.displayValue,
2908
2906
  "dropdown-position": e.dropdownPosition,
@@ -2911,17 +2909,17 @@ const ln = {
2911
2909
  "helper-text": e.helperText,
2912
2910
  "helper-description": e.helperDescription,
2913
2911
  "hint-id": c(n),
2914
- "input-id": o.$attrs.id || s.value,
2912
+ "input-id": o.$attrs.id || d.value,
2915
2913
  "model-value": e.modelValue,
2916
2914
  options: e.options,
2917
2915
  placeholder: e.placeholder,
2918
2916
  required: e.required,
2919
2917
  "update-on-input": e.updateOnInput,
2920
- "onCombobox:change": d[0] || (d[0] = (r) => o.$emit("combobox:change", r)),
2921
- "onCombobox:input": d[1] || (d[1] = (r) => o.$emit("combobox:input", r)),
2922
- "onUpdate:modelValue": d[2] || (d[2] = (r) => o.$emit("update:modelValue", r))
2923
- }, 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"]),
2924
- i.value ? (u(), V(ge, {
2918
+ "onCombobox:change": s[0] || (s[0] = (r) => o.$emit("combobox:change", r)),
2919
+ "onCombobox:input": s[1] || (s[1] = (r) => o.$emit("combobox:input", r)),
2920
+ "onUpdate:modelValue": s[2] || (s[2] = (r) => o.$emit("update:modelValue", r))
2921
+ }, c(Y)(o.$attrs, c(ve)).filtered), null, 16, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-text", "helper-description", "hint-id", "input-id", "model-value", "options", "placeholder", "required", "update-on-input"]),
2922
+ i.value ? (u(), A(ge, {
2925
2923
  key: 1,
2926
2924
  error: e.error,
2927
2925
  "error-msg": e.errorMsg,
@@ -2930,7 +2928,7 @@ const ln = {
2930
2928
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
2931
2929
  ], 16));
2932
2930
  }
2933
- }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Re = {
2931
+ }), Ln = ["aria-activedescendant", "aria-label", "data-overflow", "id", "tabindex"], Fe = {
2934
2932
  __name: "BsDropdownOptionList",
2935
2933
  props: {
2936
2934
  optionsId: {
@@ -2966,14 +2964,14 @@ const ln = {
2966
2964
  "update:modelValue"
2967
2965
  ],
2968
2966
  setup(e, { expose: a, emit: t }) {
2969
- const l = e, n = t, i = k(null), s = k(null), o = k(-1), d = k(-1), r = k(null), f = k(!1), m = fe("dropdownEnter", k(!1)), b = fe("dropdownAfterEnter", k(!1)), S = fe("dropdownShown", k(!1));
2970
- ce("optionsId", p(() => l.optionsId)), ce("handleOptionSelect", ye), fa(i, g, { childList: !0 }), pe([" ", "Enter", "NumpadEnter"], ke, i), pe(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2971
- const h = [/^[a-zA-Z0-9]{1}$/], $ = {
2967
+ const l = e, n = t, i = k(null), d = k(null), o = k(-1), s = k(-1), r = k(null), f = k(!1), m = pe("dropdownEnter", k(!1)), b = pe("dropdownAfterEnter", k(!1)), g = pe("dropdownShown", k(!1));
2968
+ fe("optionsId", p(() => l.optionsId)), fe("handleOptionSelect", ye), pa(i, y, { childList: !0 }), he([" ", "Enter", "NumpadEnter"], ke, i), he(["ArrowDown", "ArrowUp", "Home", "End"], Ce);
2969
+ const h = [/^[a-zA-Z0-9]{1}$/], B = {
2972
2970
  keys: "",
2973
2971
  lastTyped: 0
2974
2972
  };
2975
- pe(h, (O) => xe(O, $)), H(() => {
2976
- g(), J(S.value);
2973
+ he(h, (O) => xe(O, B)), H(() => {
2974
+ y(), J(g.value);
2977
2975
  }), j(
2978
2976
  [m, () => {
2979
2977
  var O;
@@ -2983,10 +2981,10 @@ const ln = {
2983
2981
  (O || F > 0) && (f.value = i.value.scrollHeight > i.value.clientHeight);
2984
2982
  }
2985
2983
  ), j(b, (O) => {
2986
- O && (M(), T());
2987
- }), j(S, (O) => J(O));
2988
- const y = p(() => l.modelValue || l.selectedValue);
2989
- function g() {
2984
+ O && (M(), V());
2985
+ }), j(g, (O) => J(O));
2986
+ const w = p(() => l.modelValue || l.selectedValue);
2987
+ function y() {
2990
2988
  r.value = Array.from(
2991
2989
  i.value.querySelectorAll('[data-component="bs-dropdown-option"]')
2992
2990
  );
@@ -2994,13 +2992,13 @@ const ln = {
2994
2992
  function M() {
2995
2993
  i.value.getBoundingClientRect().bottom > window.innerHeight && i.value.scrollIntoView({ block: "nearest" });
2996
2994
  }
2997
- function T() {
2995
+ function V() {
2998
2996
  var O;
2999
2997
  o.value > -1 && (M(), (O = r.value[o.value]) == null || O.scrollIntoView({ block: "nearest" }));
3000
2998
  }
3001
2999
  function q() {
3002
3000
  var O, F;
3003
- o.value > -1 && ((O = r.value[o.value]) == null || O.setAttribute("data-active", ""), s.value = (F = r.value[o.value]) == null ? void 0 : F.id, T());
3001
+ o.value > -1 && ((O = r.value[o.value]) == null || O.setAttribute("data-active", ""), d.value = (F = r.value[o.value]) == null ? void 0 : F.id, V());
3004
3002
  }
3005
3003
  function R() {
3006
3004
  var O;
@@ -3008,49 +3006,49 @@ const ln = {
3008
3006
  }
3009
3007
  function _() {
3010
3008
  var O;
3011
- o.value < 0 && (o.value = 0, s.value = (O = r.value[0]) == null ? void 0 : O.id), q();
3009
+ o.value < 0 && (o.value = 0, d.value = (O = r.value[0]) == null ? void 0 : O.id), q();
3012
3010
  }
3013
3011
  function J(O) {
3014
3012
  O ? ne() : me();
3015
3013
  }
3016
3014
  function ne() {
3017
3015
  var O, F;
3018
- l.multiselect || (d.value = r.value.findIndex(
3019
- (P) => P.getAttribute("data-value") === String(y.value)
3020
- ), !l.multiselect && d.value > -1 && ((O = r.value[d.value]) == null || O.setAttribute("data-selected", ""), (F = r.value[d.value]) == null || F.setAttribute("aria-selected", "true")), o.value = d.value);
3016
+ l.multiselect || (s.value = r.value.findIndex(
3017
+ (P) => P.getAttribute("data-value") === String(w.value)
3018
+ ), !l.multiselect && s.value > -1 && ((O = r.value[s.value]) == null || O.setAttribute("data-selected", ""), (F = r.value[s.value]) == null || F.setAttribute("aria-selected", "true")), o.value = s.value);
3021
3019
  }
3022
3020
  function me() {
3023
3021
  r.value.forEach((O) => {
3024
3022
  O.removeAttribute("data-selected"), O.setAttribute("aria-selected", "false");
3025
- }), R(), d.value = -1, o.value = -1, s.value = null;
3023
+ }), R(), s.value = -1, o.value = -1, d.value = null;
3026
3024
  }
3027
3025
  function ye(O) {
3028
3026
  var P;
3029
3027
  (P = O.querySelector("a")) == null || P.click();
3030
3028
  let F = O.getAttribute("data-value");
3031
- O.getAttribute("data-value-type") === "number" && (F = Number(F)), s.value = O.id, R(), n("optselected", F), n("update:modelValue", F), n("close");
3029
+ O.getAttribute("data-value-type") === "number" && (F = Number(F)), d.value = O.id, R(), n("optselected", F), n("update:modelValue", F), n("close");
3032
3030
  }
3033
3031
  function ke(O) {
3034
3032
  ye(r.value[o.value]), O.preventDefault();
3035
3033
  }
3036
3034
  function Ce(O) {
3037
- if (S.value)
3035
+ if (g.value)
3038
3036
  switch (O.key) {
3039
3037
  case "ArrowDown":
3040
- re("down"), O.preventDefault();
3038
+ se("down"), O.preventDefault();
3041
3039
  break;
3042
3040
  case "ArrowUp":
3043
- re("up"), O.preventDefault();
3041
+ se("up"), O.preventDefault();
3044
3042
  break;
3045
3043
  case "Home":
3046
- re("home"), O.preventDefault();
3044
+ se("home"), O.preventDefault();
3047
3045
  break;
3048
3046
  case "End":
3049
- re("end"), O.preventDefault();
3047
+ se("end"), O.preventDefault();
3050
3048
  break;
3051
3049
  }
3052
3050
  }
3053
- function re(O) {
3051
+ function se(O) {
3054
3052
  let F;
3055
3053
  switch (O) {
3056
3054
  case "up":
@@ -3069,7 +3067,7 @@ const ln = {
3069
3067
  Se(F);
3070
3068
  }
3071
3069
  function xe(O, F) {
3072
- if (!S.value)
3070
+ if (!g.value)
3073
3071
  return;
3074
3072
  F.keys = O.timeStamp - F.lastTyped > 500 ? O.key : F.keys + O.key, F.lastTyped = O.timeStamp;
3075
3073
  const P = r.value.findIndex((K) => K.textContent.replaceAll(/[^a-zA-Z0-9]/g, "").toLowerCase().startsWith(F.keys));
@@ -3082,22 +3080,22 @@ const ln = {
3082
3080
  activeIndex: o,
3083
3081
  optionEls: r,
3084
3082
  optionsRef: i,
3085
- refreshOptions: g,
3083
+ refreshOptions: y,
3086
3084
  setCurrentActive: q
3087
3085
  }), (O, F) => (u(), v("ul", {
3088
3086
  ref_key: "optionsRef",
3089
3087
  ref: i,
3090
- "aria-activedescendant": s.value || void 0,
3088
+ "aria-activedescendant": d.value || void 0,
3091
3089
  "aria-label": e.label,
3092
3090
  "aria-live": "polite",
3093
3091
  class: "bs-dropdown-options",
3094
3092
  "data-overflow": f.value,
3095
3093
  id: e.optionsId,
3096
3094
  role: "listbox",
3097
- tabindex: c(S) ? 0 : void 0,
3095
+ tabindex: c(g) ? 0 : void 0,
3098
3096
  onBlur: R,
3099
3097
  onFocus: _,
3100
- onMousedown: F[0] || (F[0] = Mt(() => {
3098
+ onMousedown: F[0] || (F[0] = St(() => {
3101
3099
  }, ["prevent"]))
3102
3100
  }, [
3103
3101
  E(O.$slots, "default")
@@ -3105,14 +3103,14 @@ const ln = {
3105
3103
  }
3106
3104
  }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3107
3105
  __proto__: null,
3108
- default: Re
3109
- }, Symbol.toStringTag, { value: "Module" })), qn = { role: "separator" }, Pn = /* @__PURE__ */ I("hr", null, null, -1), Mn = [
3106
+ default: Fe
3107
+ }, Symbol.toStringTag, { value: "Module" })), qn = { role: "separator" }, Pn = /* @__PURE__ */ $("hr", null, null, -1), Mn = [
3110
3108
  Pn
3111
- ], zn = {
3109
+ ], Nn = {
3112
3110
  key: 1,
3113
3111
  role: "option",
3114
3112
  "data-no-hover": "true"
3115
- }, Vt = {
3113
+ }, Et = {
3116
3114
  __name: "BsDropdownMultiselect",
3117
3115
  props: {
3118
3116
  focusOnOpen: {
@@ -3146,12 +3144,12 @@ const ln = {
3146
3144
  "uncheck-option"
3147
3145
  ],
3148
3146
  setup(e, { emit: a }) {
3149
- const t = e, l = a, n = k(null), i = k([]), s = k([]), o = p(() => {
3150
- var B, h;
3151
- return ((B = i.value) == null ? void 0 : B.length) && ((h = s.value) == null ? void 0 : h.length);
3152
- }), d = p(() => {
3153
- var B, h;
3154
- return ((B = i.value) == null ? void 0 : B.length) || ((h = s.value) == null ? void 0 : h.length);
3147
+ const t = e, l = a, n = k(null), i = k([]), d = k([]), o = p(() => {
3148
+ var I, h;
3149
+ return ((I = i.value) == null ? void 0 : I.length) && ((h = d.value) == null ? void 0 : h.length);
3150
+ }), s = p(() => {
3151
+ var I, h;
3152
+ return ((I = i.value) == null ? void 0 : I.length) || ((h = d.value) == null ? void 0 : h.length);
3155
3153
  });
3156
3154
  let r = !1;
3157
3155
  j(() => t.options, () => {
@@ -3160,8 +3158,8 @@ const ln = {
3160
3158
  () => t.selectedOptions,
3161
3159
  b,
3162
3160
  { immediate: !0 }
3163
- ), j(() => t.shown, (B) => {
3164
- B && t.focusOnOpen && Ae(f);
3161
+ ), j(() => t.shown, (I) => {
3162
+ I && t.focusOnOpen && Ae(f);
3165
3163
  });
3166
3164
  function f() {
3167
3165
  n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
@@ -3169,28 +3167,28 @@ const ln = {
3169
3167
  function m() {
3170
3168
  n.value && (n.value.refreshOptions(), n.value.setCurrentActive());
3171
3169
  }
3172
- function b(B = []) {
3173
- const h = new Set(B), $ = [], y = [];
3174
- t.options.forEach((g) => {
3175
- const M = { ...g }, T = `${t.optionsId}-${g.value}-cb`;
3176
- h.has(g.value) ? (M.checkbox = { inputId: T, checked: !0 }, $.push(M)) : (M.checkbox = { inputId: T, checked: !1 }, y.push(M));
3177
- }), i.value = $, Ae(() => {
3178
- s.value = y, Ae(() => {
3170
+ function b(I = []) {
3171
+ const h = new Set(I), B = [], w = [];
3172
+ t.options.forEach((y) => {
3173
+ const M = { ...y }, V = `${t.optionsId}-${y.value}-cb`;
3174
+ h.has(y.value) ? (M.checkbox = { inputId: V, checked: !0 }, B.push(M)) : (M.checkbox = { inputId: V, checked: !1 }, w.push(M));
3175
+ }), i.value = B, Ae(() => {
3176
+ d.value = w, Ae(() => {
3179
3177
  r && m(), r = !1;
3180
3178
  });
3181
3179
  });
3182
3180
  }
3183
- function S(B = []) {
3184
- const h = new Set(B), $ = [];
3185
- return t.options.forEach((y) => {
3186
- h.has(y.value) && $.push(y.value);
3187
- }), $;
3181
+ function g(I = []) {
3182
+ const h = new Set(I), B = [];
3183
+ return t.options.forEach((w) => {
3184
+ h.has(w.value) && B.push(w.value);
3185
+ }), B;
3188
3186
  }
3189
- function w(B) {
3187
+ function S(I) {
3190
3188
  let h = [];
3191
- t.selectedOptions.includes(B) ? (h = t.selectedOptions.filter(($) => $ !== B), l("uncheck-option", B)) : (h = S([...t.selectedOptions, B]), l("check-option", B)), r = !0, l("update:selectedOptions", h);
3189
+ t.selectedOptions.includes(I) ? (h = t.selectedOptions.filter((B) => B !== I), l("uncheck-option", I)) : (h = g([...t.selectedOptions, I]), l("check-option", I)), r = !0, l("update:selectedOptions", h);
3192
3190
  }
3193
- return (B, h) => (u(), V(Re, {
3191
+ return (I, h) => (u(), A(Fe, {
3194
3192
  ref_key: "optlist",
3195
3193
  ref: n,
3196
3194
  "aria-multiselectable": "true",
@@ -3199,33 +3197,33 @@ const ln = {
3199
3197
  multiselect: "",
3200
3198
  "options-id": e.optionsId,
3201
3199
  shown: e.shown,
3202
- "onUpdate:modelValue": w
3200
+ "onUpdate:modelValue": S
3203
3201
  }, {
3204
3202
  default: L(() => [
3205
- d.value ? (u(), v(G, { key: 0 }, [
3203
+ s.value ? (u(), v(G, { key: 0 }, [
3206
3204
  D(Pe, {
3207
3205
  options: i.value,
3208
3206
  "show-no-options": !1
3209
3207
  }, null, 8, ["options"]),
3210
- de(I("li", qn, Mn, 512), [
3211
- [ue, o.value]
3208
+ ue($("li", qn, Mn, 512), [
3209
+ [ce, o.value]
3212
3210
  ]),
3213
3211
  D(Pe, {
3214
- options: s.value,
3212
+ options: d.value,
3215
3213
  "show-no-options": !1
3216
3214
  }, null, 8, ["options"])
3217
- ], 64)) : (u(), v("li", zn, [
3218
- E(B.$slots, "no-options", {}, () => [
3219
- W("No options")
3215
+ ], 64)) : (u(), v("li", Nn, [
3216
+ E(I.$slots, "no-options", {}, () => [
3217
+ U("No options")
3220
3218
  ])
3221
3219
  ]))
3222
3220
  ]),
3223
3221
  _: 3
3224
3222
  }, 8, ["label", "options-id", "shown"]));
3225
3223
  }
3226
- }, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3224
+ }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3227
3225
  __proto__: null,
3228
- default: Vt
3226
+ default: Et
3229
3227
  }, Symbol.toStringTag, { value: "Module" })), Rn = {
3230
3228
  __name: "BsDropdownWithOptionsNew",
3231
3229
  props: {
@@ -3308,10 +3306,10 @@ const ln = {
3308
3306
  function i(o) {
3309
3307
  l.value = !1, t("update:modelValue", o), t("close");
3310
3308
  }
3311
- function s() {
3309
+ function d() {
3312
3310
  l.value && (l.value = !1, t("close"));
3313
3311
  }
3314
- return (o, d) => (u(), V(c(lt), {
3312
+ return (o, s) => (u(), A(c(lt), {
3315
3313
  "anchor-id": e.anchorId,
3316
3314
  breakout: e.breakout,
3317
3315
  "container-id": e.containerId,
@@ -3322,20 +3320,20 @@ const ln = {
3322
3320
  shown: e.shown,
3323
3321
  "use-mobile-style": e.useMobileStyle,
3324
3322
  width: e.width,
3325
- onClose: s,
3326
- onAfterEnter: d[0] || (d[0] = (r) => t("after-enter")),
3323
+ onClose: d,
3324
+ onAfterEnter: s[0] || (s[0] = (r) => t("after-enter")),
3327
3325
  onEnter: n,
3328
- onAfterLeave: d[1] || (d[1] = (r) => t("after-leave"))
3326
+ onAfterLeave: s[1] || (s[1] = (r) => t("after-leave"))
3329
3327
  }, {
3330
3328
  default: L(() => [
3331
- D(c(Re), {
3329
+ D(c(Fe), {
3332
3330
  label: e.label,
3333
3331
  "model-value": e.modelValue,
3334
3332
  "options-id": e.optionsId,
3335
3333
  "prevent-tab": e.preventTab,
3336
3334
  "type-to-focus": e.typeToFocus,
3337
3335
  "onUpdate:modelValue": i,
3338
- onClose: s
3336
+ onClose: d
3339
3337
  }, {
3340
3338
  default: L(() => [
3341
3339
  E(o.$slots, "default")
@@ -3346,7 +3344,7 @@ const ln = {
3346
3344
  _: 3
3347
3345
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
3348
3346
  }
3349
- }, Ot = {
3347
+ }, Lt = {
3350
3348
  __name: "BsDropdownWithOptions",
3351
3349
  props: {
3352
3350
  anchorId: {
@@ -3460,20 +3458,20 @@ const ln = {
3460
3458
  "after-leave"
3461
3459
  ],
3462
3460
  setup(e, { emit: a }) {
3463
- const t = e, l = a, { transition: n } = Le(t), i = p(() => t.width === "toggle" ? "anchor" : t.width), s = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = p(() => t.toggleId ? t.toggleId : t.anchorId), d = p(() => t.selectedValue || t.modelValue);
3461
+ 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);
3464
3462
  function r(f) {
3465
3463
  l("optselected", f), l("update:modelValue", f);
3466
3464
  }
3467
- return (f, m) => (u(), V(Rn, {
3465
+ return (f, m) => (u(), A(Rn, {
3468
3466
  "anchor-id": o.value,
3469
3467
  breakout: e.breakout,
3470
3468
  "container-id": e.containerId,
3471
3469
  "helper-description": e.helperDescription,
3472
3470
  "helper-text": e.helperText,
3473
3471
  label: e.label,
3474
- "model-value": d.value,
3472
+ "model-value": s.value,
3475
3473
  "options-id": e.optionsId,
3476
- position: s.value,
3474
+ position: d.value,
3477
3475
  preloaded: e.preloaded,
3478
3476
  "prevent-tab": e.preventTab,
3479
3477
  shown: c(n),
@@ -3490,10 +3488,10 @@ const ln = {
3490
3488
  _: 3
3491
3489
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
3492
3490
  }
3493
- }, Fn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Un = { class: "bs-empty-state-title" }, Wn = {
3491
+ }, Fn = ["data-size"], jn = { class: "bs-empty-state-icon" }, Wn = { class: "bs-empty-state-title" }, Un = {
3494
3492
  key: 0,
3495
3493
  class: "bs-empty-state-description"
3496
- }, Ho = {
3494
+ }, Yo = {
3497
3495
  __name: "BsEmptyState",
3498
3496
  props: {
3499
3497
  description: {
@@ -3520,23 +3518,23 @@ const ln = {
3520
3518
  class: "bs-empty-state",
3521
3519
  "data-size": e.size
3522
3520
  }, [
3523
- I("div", jn, [
3521
+ $("div", jn, [
3524
3522
  E(l.$slots, "icon", {}, () => [
3525
- (u(), V(te(c(t)), { size: "" }))
3523
+ (u(), A(te(c(t)), { size: "" }))
3526
3524
  ])
3527
3525
  ]),
3528
- I("div", null, [
3529
- I("p", Un, A(e.title), 1),
3530
- e.size !== "xs" ? (u(), v("p", Wn, [
3526
+ $("div", null, [
3527
+ $("p", Wn, T(e.title), 1),
3528
+ e.size !== "xs" ? (u(), v("p", Un, [
3531
3529
  E(l.$slots, "description", {}, () => [
3532
- W(A(e.description), 1)
3530
+ U(T(e.description), 1)
3533
3531
  ])
3534
3532
  ])) : C("", !0),
3535
3533
  E(l.$slots, "call-to-action")
3536
3534
  ])
3537
3535
  ], 8, Fn));
3538
3536
  }
3539
- }, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Ko = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3537
+ }, Gn = ["data-absolute", "data-position", "data-shown", "data-size"], Hn = { class: "bs-flyout-close-container" }, Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3540
3538
  __name: "BsFlyout",
3541
3539
  props: {
3542
3540
  absolute: {
@@ -3573,17 +3571,17 @@ const ln = {
3573
3571
  emits: ["close"],
3574
3572
  setup(e, { emit: a }) {
3575
3573
  const t = e, l = a, n = k(null), i = p(() => document.getElementById(t.toggleId));
3576
- kt([n, i], s), pe(["Escape"], s);
3577
- function s() {
3574
+ Ct([n, i], d), he(["Escape"], d);
3575
+ function d() {
3578
3576
  t.shown && l("close");
3579
3577
  }
3580
- return (o, d) => (u(), V(qe, {
3578
+ return (o, s) => (u(), A(qe, {
3581
3579
  name: "bs-flyout",
3582
3580
  preloaded: e.preloaded,
3583
3581
  shown: e.shown
3584
3582
  }, {
3585
3583
  default: L(() => [
3586
- I("div", N({
3584
+ $("div", z({
3587
3585
  ref_key: "flyout",
3588
3586
  ref: n,
3589
3587
  class: "bs-flyout",
@@ -3592,12 +3590,12 @@ const ln = {
3592
3590
  "data-shown": e.shown,
3593
3591
  "data-size": e.size
3594
3592
  }, o.$attrs), [
3595
- I("div", Hn, [
3596
- I("button", {
3593
+ $("div", Hn, [
3594
+ $("button", {
3597
3595
  type: "button",
3598
3596
  title: "Close",
3599
3597
  "aria-label": "Close",
3600
- onClick: s
3598
+ onClick: d
3601
3599
  }, [
3602
3600
  D(c(Be))
3603
3601
  ])
@@ -3608,18 +3606,18 @@ const ln = {
3608
3606
  _: 3
3609
3607
  }, 8, ["preloaded", "shown"]));
3610
3608
  }
3611
- }), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Yo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3609
+ }), Kn = ["view-box"], Yn = ["id"], Zn = ["offset", "stop-color"], Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3612
3610
  __name: "BsIconGradientWrapper",
3613
3611
  setup(e) {
3614
3612
  const a = k(null), t = k(null), l = [
3615
3613
  { offset: 0.1326, color: "#EE282A" },
3616
3614
  { offset: 0.5466, color: "#1C0087" },
3617
3615
  { offset: 0.9715, color: "#0086EA" }
3618
- ], [n] = X();
3616
+ ], [n] = Z();
3619
3617
  return H(() => {
3620
3618
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
3621
- }), (i, s) => (u(), v(G, null, [
3622
- I("span", N({
3619
+ }), (i, d) => (u(), v(G, null, [
3620
+ $("span", z({
3623
3621
  ref_key: "svgWrapperRef",
3624
3622
  ref: a,
3625
3623
  class: "bs-icon-gradient-wrapper",
@@ -3633,7 +3631,7 @@ const ln = {
3633
3631
  width: "0",
3634
3632
  height: "0"
3635
3633
  }, [
3636
- I("linearGradient", {
3634
+ $("linearGradient", {
3637
3635
  id: c(n),
3638
3636
  x1: "0",
3639
3637
  y1: "0",
@@ -3641,7 +3639,7 @@ const ln = {
3641
3639
  y2: "100%",
3642
3640
  "gradient-units": "userSpaceOnUse"
3643
3641
  }, [
3644
- (u(), v(G, null, ee(l, (o) => I("stop", {
3642
+ (u(), v(G, null, ee(l, (o) => $("stop", {
3645
3643
  key: o.offset,
3646
3644
  offset: o.offset,
3647
3645
  "stop-color": o.color
@@ -3650,7 +3648,7 @@ const ln = {
3650
3648
  ], 8, Kn))
3651
3649
  ], 64));
3652
3650
  }
3653
- }), Zo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3651
+ }), Qo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3654
3652
  __name: "BsInputField",
3655
3653
  props: {
3656
3654
  /** Sets the disabled state on input, disabled styles on label. */
@@ -3697,41 +3695,41 @@ const ln = {
3697
3695
  },
3698
3696
  emits: ["update:modelValue"],
3699
3697
  setup(e, { emit: a }) {
3700
- const t = e, [l, n] = X(2), i = p(() => he.concat(t.passAttrs.split(",")).concat("type")), s = p(() => {
3698
+ const t = e, [l, n] = Z(2), i = p(() => ve.concat(t.passAttrs.split(",")).concat("type")), d = p(() => {
3701
3699
  var r, f;
3702
3700
  return ((f = (r = t.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
3703
3701
  `)) || t.hints;
3704
- }), o = p(() => t.error && t.errorMsg || t.hint || s.value || void 0), d = p(() => t.inputId || l.value);
3705
- return (r, f) => (u(), v("div", N({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3706
- e.label || r.$slots.label ? (u(), V(ae, {
3702
+ }), o = p(() => t.error && t.errorMsg || t.hint || d.value || void 0), s = p(() => t.inputId || l.value);
3703
+ return (r, f) => (u(), v("div", z({ "data-component": "bs-input-field" }, c(Y)(r.$attrs, i.value).remaining), [
3704
+ e.label || r.$slots.label ? (u(), A(ae, {
3707
3705
  key: 0,
3708
- for: r.$attrs.id || d.value,
3706
+ for: r.$attrs.id || s.value,
3709
3707
  disabled: e.disabled,
3710
3708
  required: e.required
3711
3709
  }, {
3712
3710
  default: L(() => [
3713
3711
  E(r.$slots, "label", {}, () => [
3714
- W(A(e.label), 1)
3712
+ U(T(e.label), 1)
3715
3713
  ])
3716
3714
  ]),
3717
3715
  _: 3
3718
3716
  }, 8, ["for", "disabled", "required"])) : C("", !0),
3719
- D(Ie, N({
3717
+ D(Ie, z({
3720
3718
  disabled: e.disabled,
3721
3719
  error: e.error,
3722
3720
  "hint-id": c(n),
3723
- id: r.$attrs.id || d.value,
3721
+ id: r.$attrs.id || s.value,
3724
3722
  placeholder: e.placeholder,
3725
3723
  required: e.required,
3726
3724
  type: e.type,
3727
3725
  value: e.value || e.modelValue,
3728
3726
  "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
3729
3727
  }, c(Y)(r.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
3730
- o.value ? (u(), V(ge, {
3728
+ o.value ? (u(), A(ge, {
3731
3729
  key: 1,
3732
3730
  error: e.error,
3733
3731
  "error-msg": e.errorMsg,
3734
- hint: e.hint || s.value,
3732
+ hint: e.hint || d.value,
3735
3733
  "hint-id": c(n)
3736
3734
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : C("", !0)
3737
3735
  ], 16));
@@ -3763,7 +3761,7 @@ const ln = {
3763
3761
  X: "🇽",
3764
3762
  Y: "🇾",
3765
3763
  Z: "🇿"
3766
- }, je = {
3764
+ }, We = {
3767
3765
  data: {
3768
3766
  allCountries: null,
3769
3767
  byCountryCode: null,
@@ -3789,8 +3787,8 @@ const ln = {
3789
3787
  * @returns {Country[]} an array of country objects
3790
3788
  */
3791
3789
  initSourceData() {
3792
- return this.data.allCountries || (this.data.allCountries = sa().map((e) => {
3793
- const a = da(e), t = ht[a[0]] + ht[a[1]] || "";
3790
+ return this.data.allCountries || (this.data.allCountries = da().map((e) => {
3791
+ const a = ua(e), t = ht[a[0]] + ht[a[1]] || "";
3794
3792
  return {
3795
3793
  label: `+${e}`,
3796
3794
  flag: t,
@@ -3807,7 +3805,7 @@ const ln = {
3807
3805
  }, Xn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], Qn = { key: 0 }, Jn = {
3808
3806
  "aria-hidden": "true",
3809
3807
  style: { width: "1.25rem" }
3810
- }, _n = { "aria-hidden": "true" }, Xo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3808
+ }, _n = { "aria-hidden": "true" }, Jo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3811
3809
  __name: "BsInputPhone",
3812
3810
  props: {
3813
3811
  deferValidation: {
@@ -3869,70 +3867,70 @@ const ln = {
3869
3867
  "Escape",
3870
3868
  "Home",
3871
3869
  "Tab"
3872
- ], s = k(null), o = k(1), d = k([]), r = k(null), [
3870
+ ], d = k(null), o = k(1), s = k([]), r = k(null), [
3873
3871
  f,
3874
3872
  m,
3875
3873
  b,
3876
- S
3877
- ] = X(4), w = k(!1), B = k(""), h = k(""), $ = k(!1), y = k(!1), g = k(!0);
3874
+ g
3875
+ ] = Z(4), S = k(!1), I = k(""), h = k(""), B = k(!1), w = k(!1), y = k(!0);
3878
3876
  a({
3879
- validationErr: $,
3877
+ validationErr: B,
3880
3878
  validationErrMsg: h
3881
3879
  });
3882
- const M = p(() => B.value ? `+${o.value}${B.value}` : ""), T = p(() => `Country code: ${o.value}. Click to change.`), q = p(() => g.value ? l.errorMsg || h.value : ""), R = p(() => l.error || $.value), _ = p(() => l.hint || R.value && q.value), J = p(() => g.value && R.value);
3880
+ const M = p(() => I.value ? `+${o.value}${I.value}` : ""), V = p(() => `Country code: ${o.value}. Click to change.`), q = p(() => y.value ? l.errorMsg || h.value : ""), R = p(() => l.error || B.value), _ = p(() => l.hint || R.value && q.value), J = p(() => y.value && R.value);
3883
3881
  j(M, (P) => {
3884
3882
  n("update:modelValue", P), F(P);
3885
- }), j(() => l.modelValue, ne), xe(), H(() => w.value = !0);
3883
+ }), j(() => l.modelValue, ne), xe(), H(() => S.value = !0);
3886
3884
  function ne(P, K) {
3887
- P === "" && P !== K && (B.value = "");
3885
+ P === "" && P !== K && (I.value = "");
3888
3886
  }
3889
3887
  function me() {
3890
3888
  var P;
3891
- y.value && (y.value = !1, (P = s.value) == null || P.focus());
3889
+ w.value && (w.value = !1, (P = d.value) == null || P.focus());
3892
3890
  }
3893
3891
  function ye(P) {
3894
3892
  var K;
3895
- o.value = P, y.value = !1, (K = s.value) == null || K.focus(), O(P);
3893
+ o.value = P, w.value = !1, (K = d.value) == null || K.focus(), O(P);
3896
3894
  }
3897
3895
  function ke() {
3898
- l.deferValidation && (g.value = !0), n("input-blur");
3896
+ l.deferValidation && (y.value = !0), n("input-blur");
3899
3897
  }
3900
3898
  function Ce(P) {
3901
- B.value = P.target.value, l.deferValidation && (g.value = !1);
3899
+ I.value = P.target.value, l.deferValidation && (y.value = !1);
3902
3900
  }
3903
- function re(P) {
3904
- var K, Z;
3905
- !((Z = (K = P.key) == null ? void 0 : K.match) != null && Z.call(K, /[0-9]/)) && !i.includes(P.key) && !P.ctrlKey && !P.metaKey && P.preventDefault();
3901
+ function se(P) {
3902
+ var K, X;
3903
+ !((X = (K = P.key) == null ? void 0 : K.match) != null && X.call(K, /[0-9]/)) && !i.includes(P.key) && !P.ctrlKey && !P.metaKey && P.preventDefault();
3906
3904
  }
3907
3905
  function xe() {
3908
- je.initSourceData(), Se(), O(o.value), F(M.value);
3906
+ We.initSourceData(), Se(), O(o.value), F(M.value);
3909
3907
  }
3910
3908
  function Se() {
3911
- var K, Z;
3909
+ var K, X;
3912
3910
  let P = ut(l.modelValue);
3913
- P.valid || P.countryCode && ((Z = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && Z.call(K, "+")) ? (o.value = P.countryCode, B.value = P.number.significant) : B.value = l.modelValue, d.value = je.data.allCountries.map((Te) => ({
3911
+ P.valid || P.countryCode && ((X = (K = l.modelValue) == null ? void 0 : K.startsWith) != null && X.call(K, "+")) ? (o.value = P.countryCode, I.value = P.number.significant) : I.value = l.modelValue, s.value = We.data.allCountries.map((Te) => ({
3914
3912
  ...Te,
3915
3913
  isSelected: o.value === Te
3916
3914
  }));
3917
3915
  }
3918
3916
  function O(P) {
3919
- r.value = je.getCountryByCountryCode(P);
3917
+ r.value = We.getCountryByCountryCode(P);
3920
3918
  }
3921
3919
  function F(P) {
3922
- $.value = P ? !ut(P).valid : !1, h.value = $.value ? "Invalid phone number" : "";
3920
+ B.value = P ? !ut(P).valid : !1, h.value = B.value ? "Invalid phone number" : "";
3923
3921
  }
3924
- return (P, K) => (u(), v("div", N({
3922
+ return (P, K) => (u(), v("div", z({
3925
3923
  class: "bs-input-phone",
3926
3924
  "data-component": "bs-input-phone"
3927
- }, c(Y)(P.$attrs, c(he)).remaining), [
3925
+ }, c(Y)(P.$attrs, c(ve)).remaining), [
3928
3926
  D(ae, {
3929
- for: P.$attrs.id || e.inputId || c(S),
3927
+ for: P.$attrs.id || e.inputId || c(g),
3930
3928
  required: e.required,
3931
3929
  disabled: e.disabled,
3932
3930
  class: ie({ "visually-hidden": e.hideLabel })
3933
3931
  }, {
3934
3932
  default: L(() => [
3935
- W(A(e.label), 1)
3933
+ U(T(e.label), 1)
3936
3934
  ]),
3937
3935
  _: 1
3938
3936
  }, 8, ["for", "required", "disabled", "class"]),
@@ -3943,72 +3941,72 @@ const ln = {
3943
3941
  variant: "inner-bordered"
3944
3942
  }, {
3945
3943
  default: L(() => {
3946
- var Z;
3944
+ var X;
3947
3945
  return [
3948
- I("button", {
3946
+ $("button", {
3949
3947
  id: c(f),
3950
3948
  ref_key: "countryCodesToggle",
3951
- ref: s,
3949
+ ref: d,
3952
3950
  "aria-controls": c(m),
3953
- "aria-expanded": y.value,
3951
+ "aria-expanded": w.value,
3954
3952
  "aria-haspopup": "listbox",
3955
- "aria-label": T.value,
3953
+ "aria-label": V.value,
3956
3954
  disabled: e.disabled,
3957
3955
  type: "button",
3958
- onClick: K[0] || (K[0] = (Te) => y.value = !y.value)
3956
+ onClick: K[0] || (K[0] = (Te) => w.value = !w.value)
3959
3957
  }, [
3960
- I("span", null, A((Z = r.value) == null ? void 0 : Z.flag), 1),
3961
- I("span", null, "+" + A(o.value), 1),
3962
- D(c(Ft), { size: "sm" })
3958
+ $("span", null, T((X = r.value) == null ? void 0 : X.flag), 1),
3959
+ $("span", null, "+" + T(o.value), 1),
3960
+ D(c(jt), { size: "sm" })
3963
3961
  ], 8, Xn),
3964
- D(Ie, N({
3965
- "input-id": P.$attrs.id || e.inputId || c(S),
3962
+ D(Ie, z({
3963
+ "input-id": P.$attrs.id || e.inputId || c(g),
3966
3964
  disabled: e.disabled,
3967
3965
  "hint-id": c(b),
3968
3966
  placeholder: e.placeholder,
3969
- value: B.value,
3967
+ value: I.value,
3970
3968
  "data-autowidth": "",
3971
3969
  type: "tel"
3972
- }, c(Y)(P.$attrs, c(he)).filtered, {
3970
+ }, c(Y)(P.$attrs, c(ve)).filtered, {
3973
3971
  onInput: Ce,
3974
3972
  onFocusout: ke,
3975
- onKeydown: re
3973
+ onKeydown: se
3976
3974
  }), null, 16, ["input-id", "disabled", "hint-id", "placeholder", "value"])
3977
3975
  ];
3978
3976
  }),
3979
3977
  _: 1
3980
3978
  }, 8, ["disabled", "error"]),
3981
- de(D(ge, {
3979
+ ue(D(ge, {
3982
3980
  error: R.value,
3983
3981
  "error-msg": q.value,
3984
3982
  hint: e.hint,
3985
3983
  "hint-id": c(b)
3986
3984
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
3987
- [ue, _.value]
3985
+ [ce, _.value]
3988
3986
  ]),
3989
- w.value ? (u(), v("div", Qn, [
3990
- D(Ot, {
3987
+ S.value ? (u(), v("div", Qn, [
3988
+ D(Lt, {
3991
3989
  "anchor-id": c(f),
3992
3990
  "helper-text": "Country Code",
3993
3991
  label: "Country Code",
3994
3992
  "model-value": o.value,
3995
3993
  "options-id": c(m),
3996
3994
  preloaded: "",
3997
- shown: y.value,
3995
+ shown: w.value,
3998
3996
  width: "content",
3999
3997
  onClose: me,
4000
3998
  "onUpdate:modelValue": ye
4001
3999
  }, {
4002
4000
  default: L(() => [
4003
- w.value ? (u(!0), v(G, { key: 0 }, ee(d.value, (Z) => (u(), V(ot, {
4004
- "aria-label": Z.value,
4005
- key: Z.value,
4006
- value: `${Z.value}`,
4001
+ S.value ? (u(!0), v(G, { key: 0 }, ee(s.value, (X) => (u(), A(ot, {
4002
+ "aria-label": X.value,
4003
+ key: X.value,
4004
+ value: `${X.value}`,
4007
4005
  variant: "2-col"
4008
4006
  }, {
4009
4007
  default: L(() => [
4010
- I("span", Jn, A(Z == null ? void 0 : Z.flag), 1),
4011
- I("span", _n, A(Z.label), 1)
4008
+ $("span", Jn, T(X == null ? void 0 : X.flag), 1),
4009
+ $("span", _n, T(X.label), 1)
4012
4010
  ]),
4013
4011
  _: 2
4014
4012
  }, 1032, ["aria-label", "value"]))), 128)) : C("", !0)
@@ -4063,41 +4061,41 @@ const ln = {
4063
4061
  },
4064
4062
  emits: ["clear", "update:modelValue"],
4065
4063
  setup(e, { emit: a }) {
4066
- const t = e, l = p(() => he.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4067
- return (i, s) => (u(), V(De, N({
4064
+ const t = e, l = p(() => ve.concat(t.passAttrs.split(","))), n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
4065
+ return (i, d) => (u(), A(De, z({
4068
4066
  class: "bs-input-search",
4069
4067
  "data-component": "bs-input-search",
4070
4068
  "data-variant": e.variant,
4071
4069
  disabled: e.disabled
4072
4070
  }, c(Y)(i.$attrs, l.value).remaining), {
4073
4071
  default: L(() => [
4074
- e.hideSearchIcon ? C("", !0) : (u(), V(c(jt), { key: 0 })),
4075
- D(Ie, N({
4072
+ e.hideSearchIcon ? C("", !0) : (u(), A(c(Wt), { key: 0 })),
4073
+ D(Ie, z({
4076
4074
  "data-autowidth": "",
4077
4075
  disabled: e.disabled,
4078
4076
  "input-id": i.$attrs.id || e.inputId,
4079
4077
  placeholder: e.placeholder,
4080
4078
  value: e.value || e.modelValue
4081
4079
  }, c(Y)(i.$attrs, l.value).filtered, {
4082
- "onUpdate:modelValue": s[0] || (s[0] = (o) => i.$emit("update:modelValue", o))
4080
+ "onUpdate:modelValue": d[0] || (d[0] = (o) => i.$emit("update:modelValue", o))
4083
4081
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
4084
- de(I("button", {
4082
+ ue($("button", {
4085
4083
  title: "Clear",
4086
4084
  type: "button",
4087
- onClick: s[1] || (s[1] = (o) => i.$emit("clear"))
4085
+ onClick: d[1] || (d[1] = (o) => i.$emit("clear"))
4088
4086
  }, [
4089
4087
  D(c(Be), { size: "sm" })
4090
4088
  ], 512), [
4091
- [ue, n.value]
4089
+ [ce, n.value]
4092
4090
  ])
4093
4091
  ]),
4094
4092
  _: 1
4095
4093
  }, 16, ["data-variant", "disabled"]));
4096
4094
  }
4097
- }), tl = ["data-size", "data-variant"], al = ["stroke"], nl = { key: 0 }, ll = /* @__PURE__ */ I("linearGradient", { id: "bs-spinner-gradient" }, [
4098
- /* @__PURE__ */ I("stop", { offset: "0%" }),
4099
- /* @__PURE__ */ I("stop", { offset: "49%" }),
4100
- /* @__PURE__ */ I("stop", { offset: "100%" })
4095
+ }), tl = ["data-size", "data-variant"], al = ["stroke"], nl = { key: 0 }, ll = /* @__PURE__ */ $("linearGradient", { id: "bs-spinner-gradient" }, [
4096
+ /* @__PURE__ */ $("stop", { offset: "0%" }),
4097
+ /* @__PURE__ */ $("stop", { offset: "49%" }),
4098
+ /* @__PURE__ */ $("stop", { offset: "100%" })
4101
4099
  ], -1), ol = [
4102
4100
  ll
4103
4101
  ], vt = {
@@ -4126,8 +4124,8 @@ const ln = {
4126
4124
  viewBox: "0 0 100 100",
4127
4125
  xmlns: "http://www.w3.org/2000/svg"
4128
4126
  }, [
4129
- I("title", null, A(e.label), 1),
4130
- I("circle", {
4127
+ $("title", null, T(e.label), 1),
4128
+ $("circle", {
4131
4129
  cx: "50",
4132
4130
  cy: "50",
4133
4131
  pathLength: "100",
@@ -4137,7 +4135,7 @@ const ln = {
4137
4135
  e.variant === "gradient" ? (u(), v("defs", nl, ol)) : C("", !0)
4138
4136
  ], 8, tl));
4139
4137
  }
4140
- }, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, Qo = {
4138
+ }, il = ["id"], rl = { style: { display: "flex", "justify-content": "center" } }, sl = { style: { display: "flex", "justify-content": "center" } }, _o = {
4141
4139
  __name: "BsInputTypeahead",
4142
4140
  props: {
4143
4141
  characterThreshold: {
@@ -4209,24 +4207,24 @@ const ln = {
4209
4207
  },
4210
4208
  emits: ["update:inputValue", "update:optionsValue"],
4211
4209
  setup(e, { emit: a }) {
4212
- const t = e, l = a, n = k(!1), i = k(!1), [s] = X();
4210
+ const t = e, l = a, n = k(!1), i = k(!1), [d] = Z();
4213
4211
  let o = [];
4214
4212
  j(() => t.inputValue, () => {
4215
4213
  i.value ? i.value = !1 : h();
4216
4214
  });
4217
- const d = p(() => t.typeaheadId || s.value), r = p(() => `${d.value}-input-container`), f = p(() => `${d.value}-input`), m = p(() => `${d.value}-options`), b = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), S = p(() => {
4215
+ const s = p(() => t.typeaheadId || d.value), r = p(() => `${s.value}-input-container`), f = p(() => `${s.value}-input`), m = p(() => `${s.value}-options`), b = p(() => t.multiselect ? Array.isArray(t.optionsValue) ? t.optionsValue : [t.optionsValue] : t.optionsValue), g = p(() => {
4218
4216
  if (n.value) {
4219
- let T = t.options;
4217
+ let V = t.options;
4220
4218
  const q = t.inputValue.toLowerCase(), R = t.filterType === "includes" ? "includes" : "startsWith";
4221
- return t.inputValue.length >= t.characterThreshold && (T = w(T, q, R), T = T.slice(0, t.maxOptions), T = B(T, q, R), o = T), T;
4219
+ return t.inputValue.length >= t.characterThreshold && (V = S(V, q, R), V = V.slice(0, t.maxOptions), V = I(V, q, R), o = V), V;
4222
4220
  } else
4223
4221
  return o;
4224
4222
  });
4225
- function w(T, q, R) {
4226
- return t.internalFiltering ? T.filter((_) => _.label.toLowerCase()[R](q)) : T;
4223
+ function S(V, q, R) {
4224
+ return t.internalFiltering ? V.filter((_) => _.label.toLowerCase()[R](q)) : V;
4227
4225
  }
4228
- function B(T, q, R) {
4229
- return T.map((_) => {
4226
+ function I(V, q, R) {
4227
+ return V.map((_) => {
4230
4228
  let J = _.label;
4231
4229
  if (q !== "") {
4232
4230
  const ne = R === "includes" ? "gi" : "i", me = new RegExp(`(${q})`, ne);
@@ -4238,41 +4236,41 @@ const ln = {
4238
4236
  function h() {
4239
4237
  t.showDropdownOnFocus || t.inputValue.length >= t.characterThreshold ? n.value = !0 : n.value = !1;
4240
4238
  }
4241
- function $() {
4239
+ function B() {
4242
4240
  l("update:inputValue", ""), t.multiselect || l("update:optionsValue", ""), document.getElementById(f.value).focus();
4243
4241
  }
4244
- function y(T) {
4242
+ function w(V) {
4245
4243
  i.value = !0;
4246
- const q = S.value.find((R) => R.value === T);
4247
- l("update:inputValue", q.label), l("update:optionsValue", T);
4244
+ const q = g.value.find((R) => R.value === V);
4245
+ l("update:inputValue", q.label), l("update:optionsValue", V);
4248
4246
  }
4249
- function g(T) {
4250
- const q = [...b.value, T];
4247
+ function y(V) {
4248
+ const q = [...b.value, V];
4251
4249
  l("update:optionsValue", q);
4252
4250
  }
4253
- function M(T) {
4254
- const q = b.value.filter((R) => R !== T);
4251
+ function M(V) {
4252
+ const q = b.value.filter((R) => R !== V);
4255
4253
  l("update:optionsValue", q);
4256
4254
  }
4257
- return (T, q) => (u(), v(G, null, [
4258
- e.label || T.$slots.label ? (u(), V(ae, {
4255
+ return (V, q) => (u(), v(G, null, [
4256
+ e.label || V.$slots.label ? (u(), A(ae, {
4259
4257
  key: 0,
4260
4258
  for: f.value,
4261
4259
  disabled: e.disabled,
4262
4260
  required: e.required
4263
4261
  }, {
4264
4262
  default: L(() => [
4265
- E(T.$slots, "label", {}, () => [
4266
- W(A(e.label), 1)
4263
+ E(V.$slots, "label", {}, () => [
4264
+ U(T(e.label), 1)
4267
4265
  ])
4268
4266
  ]),
4269
4267
  _: 3
4270
4268
  }, 8, ["for", "disabled", "required"])) : C("", !0),
4271
- I("div", {
4269
+ $("div", {
4272
4270
  id: r.value,
4273
4271
  class: "typeahead-search-wrapper"
4274
4272
  }, [
4275
- D(el, N({
4273
+ D(el, z({
4276
4274
  "aria-controls": m.value,
4277
4275
  "aria-expanded": n.value,
4278
4276
  "aria-haspopup": "listbox",
@@ -4285,8 +4283,8 @@ const ln = {
4285
4283
  placeholder: e.placeholder,
4286
4284
  role: "combobox",
4287
4285
  value: e.inputValue
4288
- }, T.$attrs, {
4289
- onClear: $,
4286
+ }, V.$attrs, {
4287
+ onClear: B,
4290
4288
  onFocusin: h,
4291
4289
  "onUpdate:modelValue": q[0] || (q[0] = (R) => l("update:inputValue", R))
4292
4290
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "input-id", "placeholder", "value"])
@@ -4300,21 +4298,21 @@ const ln = {
4300
4298
  onClose: q[2] || (q[2] = (R) => n.value = !1)
4301
4299
  }, {
4302
4300
  default: L(() => [
4303
- e.multiselect ? (u(), V(Vt, {
4301
+ e.multiselect ? (u(), A(Et, {
4304
4302
  key: 0,
4305
4303
  "focus-on-open": !1,
4306
4304
  label: e.label,
4307
- options: S.value,
4305
+ options: g.value,
4308
4306
  "options-id": m.value,
4309
4307
  "selected-options": b.value,
4310
4308
  shown: n.value,
4311
- onCheckOption: g,
4309
+ onCheckOption: y,
4312
4310
  onUncheckOption: M
4313
- }, Ye({ _: 2 }, [
4311
+ }, Ze({ _: 2 }, [
4314
4312
  e.loading ? {
4315
4313
  name: "no-options",
4316
4314
  fn: L(() => [
4317
- I("span", rl, [
4315
+ $("span", rl, [
4318
4316
  D(vt, { size: "sm" })
4319
4317
  ])
4320
4318
  ]),
@@ -4322,25 +4320,25 @@ const ln = {
4322
4320
  } : {
4323
4321
  name: "no-options",
4324
4322
  fn: L(() => [
4325
- W("No results found")
4323
+ U("No results found")
4326
4324
  ]),
4327
4325
  key: "1"
4328
4326
  }
4329
- ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), V(Re, {
4327
+ ]), 1032, ["label", "options", "options-id", "selected-options", "shown"])) : (u(), A(Fe, {
4330
4328
  key: 1,
4331
4329
  label: e.label,
4332
4330
  "model-value": b.value,
4333
4331
  "options-id": m.value,
4334
4332
  shown: n.value,
4335
- "onUpdate:modelValue": y,
4333
+ "onUpdate:modelValue": w,
4336
4334
  onClose: q[1] || (q[1] = (R) => n.value = !1)
4337
4335
  }, {
4338
4336
  default: L(() => [
4339
- D(Pe, { options: S.value }, Ye({ _: 2 }, [
4337
+ D(Pe, { options: g.value }, Ze({ _: 2 }, [
4340
4338
  e.loading ? {
4341
4339
  name: "no-options",
4342
4340
  fn: L(() => [
4343
- I("span", sl, [
4341
+ $("span", sl, [
4344
4342
  D(vt, { size: "sm" })
4345
4343
  ])
4346
4344
  ]),
@@ -4348,7 +4346,7 @@ const ln = {
4348
4346
  } : {
4349
4347
  name: "no-options",
4350
4348
  fn: L(() => [
4351
- W("No results found")
4349
+ U("No results found")
4352
4350
  ]),
4353
4351
  key: "1"
4354
4352
  }
@@ -4361,13 +4359,13 @@ const ln = {
4361
4359
  }, 8, ["anchor-id", "shown"])
4362
4360
  ], 64));
4363
4361
  }
4364
- }, dl = ["data-size", "data-variant"], ul = /* @__PURE__ */ I("span", null, null, -1), cl = /* @__PURE__ */ I("span", null, null, -1), fl = /* @__PURE__ */ I("span", null, null, -1), pl = /* @__PURE__ */ I("span", null, null, -1), hl = /* @__PURE__ */ I("span", { class: "visually-hidden" }, "Loading", -1), vl = [
4362
+ }, dl = ["data-size", "data-variant"], ul = /* @__PURE__ */ $("span", null, null, -1), cl = /* @__PURE__ */ $("span", null, null, -1), fl = /* @__PURE__ */ $("span", null, null, -1), pl = /* @__PURE__ */ $("span", null, null, -1), hl = /* @__PURE__ */ $("span", { class: "visually-hidden" }, "Loading", -1), vl = [
4365
4363
  ul,
4366
4364
  cl,
4367
4365
  fl,
4368
4366
  pl,
4369
4367
  hl
4370
- ], Jo = {
4368
+ ], ei = {
4371
4369
  __name: "BsLoader",
4372
4370
  props: {
4373
4371
  size: {
@@ -4426,15 +4424,15 @@ const ln = {
4426
4424
  function i() {
4427
4425
  n.value ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
4428
4426
  }
4429
- return (s, o) => (u(), V(qe, {
4427
+ return (d, o) => (u(), A(qe, {
4430
4428
  name: "bs-overlay",
4431
4429
  shown: c(n),
4432
4430
  preloaded: e.preloaded,
4433
- onAfterEnter: o[0] || (o[0] = (d) => l("after-enter")),
4434
- onAfterLeave: o[1] || (o[1] = (d) => l("after-leave"))
4431
+ onAfterEnter: o[0] || (o[0] = (s) => l("after-enter")),
4432
+ onAfterLeave: o[1] || (o[1] = (s) => l("after-leave"))
4435
4433
  }, {
4436
4434
  default: L(() => [
4437
- I("div", {
4435
+ $("div", {
4438
4436
  class: "bs-overlay",
4439
4437
  "data-shown": c(n)
4440
4438
  }, null, 8, ml)
@@ -4442,7 +4440,7 @@ const ln = {
4442
4440
  _: 1
4443
4441
  }, 8, ["shown", "preloaded"]));
4444
4442
  }
4445
- }, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], _o = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4443
+ }, gl = ["id", "role", "aria-labelledby", "data-shown"], yl = ["id"], ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4446
4444
  __name: "BsModal",
4447
4445
  props: {
4448
4446
  modalId: {
@@ -4487,17 +4485,17 @@ const ln = {
4487
4485
  },
4488
4486
  emits: ["close", "after-enter", "after-leave"],
4489
4487
  setup(e, { emit: a }) {
4490
- const t = e, l = a, { transition: n } = Le(t), [i] = X();
4491
- let s = !1;
4492
- const o = k(null), d = (m) => {
4488
+ const t = e, l = a, { transition: n } = Le(t), [i] = Z();
4489
+ let d = !1;
4490
+ const o = k(null), s = (m) => {
4493
4491
  o.value && m.target.closest(".bs-overlay") && l("close", t.modalId);
4494
4492
  };
4495
4493
  H(() => {
4496
- document.addEventListener("click", d);
4494
+ document.addEventListener("click", s);
4497
4495
  }), $e(() => {
4498
- document.removeEventListener("click", d);
4499
- }), pe(["Escape"], () => {
4500
- s && l("close", t.modalId);
4496
+ document.removeEventListener("click", s);
4497
+ }), he(["Escape"], () => {
4498
+ d && l("close", t.modalId);
4501
4499
  });
4502
4500
  const r = () => !t.title && t.closeButton, f = () => t.title && t.closeButton;
4503
4501
  return (m, b) => (u(), v(G, null, [
@@ -4512,12 +4510,12 @@ const ln = {
4512
4510
  name: "bs-modal",
4513
4511
  preloaded: e.preloaded,
4514
4512
  shown: c(n),
4515
- onAfterEnter: b[1] || (b[1] = (S) => l("after-enter")),
4516
- onAfterLeave: b[2] || (b[2] = (S) => l("after-leave")),
4517
- onEnter: b[3] || (b[3] = (S) => zt(s) ? s.value = !0 : s = !0)
4513
+ onAfterEnter: b[1] || (b[1] = (g) => l("after-enter")),
4514
+ onAfterLeave: b[2] || (b[2] = (g) => l("after-leave")),
4515
+ onEnter: b[3] || (b[3] = (g) => zt(d) ? d.value = !0 : d = !0)
4518
4516
  }, {
4519
4517
  default: L(() => [
4520
- I("div", N({
4518
+ $("div", z({
4521
4519
  id: e.modalId,
4522
4520
  class: "bs-modal",
4523
4521
  role: e.alert ? "alertdialog" : "dialog",
@@ -4539,13 +4537,13 @@ const ln = {
4539
4537
  key: 0,
4540
4538
  id: c(i),
4541
4539
  class: "modal-title"
4542
- }, A(e.title), 9, yl)) : C("", !0),
4540
+ }, T(e.title), 9, yl)) : C("", !0),
4543
4541
  e.closeButton ? (u(), v("button", {
4544
4542
  key: 1,
4545
4543
  type: "button",
4546
4544
  title: "Close Modal",
4547
4545
  "aria-label": "Close Modal",
4548
- onClick: b[0] || (b[0] = (S) => l("close", e.modalId))
4546
+ onClick: b[0] || (b[0] = (g) => l("close", e.modalId))
4549
4547
  }, [
4550
4548
  D(c(Be), { class: "close-button" })
4551
4549
  ])) : C("", !0)
@@ -4563,10 +4561,10 @@ const ln = {
4563
4561
  }, $l = ["aria-label", "title", "disabled"], Bl = { key: 0 }, Il = ["aria-label", "title", "disabled"], kl = { key: 0 }, Cl = {
4564
4562
  key: 1,
4565
4563
  class: "bs-pagination-page-numbers"
4566
- }, xl = ["title", "data-selected", "onClick"], Tl = { key: 2 }, Al = { key: 3 }, Vl = /* @__PURE__ */ I("span", null, "Results Per Page:", -1), Ol = { class: "bs-pagination-results-numbers" }, El = ["data-selected", "disabled", "onClick"], Ll = {
4564
+ }, xl = ["title", "data-selected", "onClick"], Tl = { key: 2 }, Al = { key: 3 }, Vl = /* @__PURE__ */ $("span", null, "Results Per Page:", -1), Ol = { class: "bs-pagination-results-numbers" }, El = ["data-selected", "disabled", "onClick"], Ll = {
4567
4565
  key: 5,
4568
4566
  class: "bs-pagination-carets"
4569
- }, Dl = ["aria-label", "title", "disabled"], ql = { key: 0 }, Pl = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ei = {
4567
+ }, Dl = ["aria-label", "title", "disabled"], ql = { key: 0 }, Pl = ["aria-label", "title", "disabled"], Ml = { key: 0 }, ai = {
4570
4568
  __name: "BsPagination",
4571
4569
  props: {
4572
4570
  // Used for all
@@ -4654,23 +4652,23 @@ const ln = {
4654
4652
  setup(e, { emit: a }) {
4655
4653
  const t = e, l = a, n = k(null);
4656
4654
  H(() => {
4657
- i.value ? n.value = i.value : t.variant === "results" ? n.value = B.value[0] : n.value = 1;
4655
+ i.value ? n.value = i.value : t.variant === "results" ? n.value = I.value[0] : n.value = 1;
4658
4656
  });
4659
4657
  const i = p(() => t.modelValue || t.selection);
4660
4658
  j(() => t.selection, (h) => {
4661
4659
  n.value = h;
4662
4660
  }), j(() => t.modelValue, (h) => {
4663
4661
  n.value = h;
4664
- }), j(n, (h, $) => {
4665
- $ !== null && (l("selchange", h), l("update:modelValue", h));
4662
+ }), j(n, (h, B) => {
4663
+ B !== null && (l("selchange", h), l("update:modelValue", h));
4666
4664
  });
4667
- const s = p(() => {
4665
+ const d = p(() => {
4668
4666
  if (t.variant === "group")
4669
4667
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
4670
4668
  if (t.variant === "base")
4671
4669
  return t.pageCount;
4672
4670
  }), o = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
4673
- function d() {
4671
+ function s() {
4674
4672
  n.value = 1;
4675
4673
  }
4676
4674
  function r() {
@@ -4679,26 +4677,26 @@ const ln = {
4679
4677
  function f() {
4680
4678
  n.value = Math.min(
4681
4679
  n.value + 1,
4682
- s.value
4680
+ d.value
4683
4681
  );
4684
4682
  }
4685
4683
  function m() {
4686
- n.value = s.value;
4684
+ n.value = d.value;
4687
4685
  }
4688
4686
  const b = p(() => {
4689
4687
  if (t.pageCount <= t.pageRange)
4690
4688
  return [...Array(t.pageCount + 1).keys()].slice(1);
4691
- const h = [1], $ = (t.pageRange - 1) / 2;
4692
- let y = n.value - $, g = n.value + $;
4693
- y < 1 && (g += 1 - y, y = 1), g > t.pageCount && (y -= g - t.pageCount, g = t.pageCount), y = Math.max(y, 2), g = Math.min(g, t.pageCount - 1), y > 2 && h.push(t.breakText);
4694
- for (let M = y; M <= g; M++)
4689
+ const h = [1], B = (t.pageRange - 1) / 2;
4690
+ let w = n.value - B, y = n.value + B;
4691
+ w < 1 && (y += 1 - w, w = 1), y > t.pageCount && (w -= y - t.pageCount, y = t.pageCount), w = Math.max(w, 2), y = Math.min(y, t.pageCount - 1), w > 2 && h.push(t.breakText);
4692
+ for (let M = w; M <= y; M++)
4695
4693
  h.push(M);
4696
- return g < t.pageCount - 1 && h.push(t.breakText), h.push(t.pageCount), h;
4697
- }), S = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${s.value}`), w = p(() => {
4698
- const h = (n.value - 1) * t.itemsPerGroup + 1, $ = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
4699
- return `${t.centerLabel ?? "Results"} ${h} - ${$} of ${t.itemsCount}`;
4700
- }), B = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
4701
- return (h, $) => (u(), v("div", {
4694
+ return y < t.pageCount - 1 && h.push(t.breakText), h.push(t.pageCount), h;
4695
+ }), g = p(() => `${t.centerLabel ?? "Page"} ${n.value} of ${d.value}`), S = p(() => {
4696
+ const h = (n.value - 1) * t.itemsPerGroup + 1, B = Math.min(h - 1 + t.itemsPerGroup, t.itemsCount);
4697
+ return `${t.centerLabel ?? "Results"} ${h} - ${B} of ${t.itemsCount}`;
4698
+ }), I = p(() => t.resultsIncrements.split(",").map((h) => parseInt(h)));
4699
+ return (h, B) => (u(), v("div", {
4702
4700
  class: "bs-pagination",
4703
4701
  "data-variant": o.value,
4704
4702
  "data-fixed": t.fixed
@@ -4711,12 +4709,12 @@ const ln = {
4711
4709
  "aria-label": e.firstPageText ? void 0 : "First Page",
4712
4710
  title: e.firstPageText,
4713
4711
  disabled: n.value === 1,
4714
- onClick: d
4712
+ onClick: s
4715
4713
  }, [
4716
4714
  D(c(Ut)),
4717
- e.firstPageText ? (u(), v("span", Bl, A(e.firstPageText), 1)) : C("", !0)
4715
+ e.firstPageText ? (u(), v("span", Bl, T(e.firstPageText), 1)) : C("", !0)
4718
4716
  ], 10, $l)) : C("", !0),
4719
- I("button", {
4717
+ $("button", {
4720
4718
  type: "button",
4721
4719
  class: ie(e.prevPageText ? "bs-pagination-word-caret" : void 0),
4722
4720
  "aria-label": e.prevPageText ? void 0 : "Previous Page",
@@ -4724,44 +4722,44 @@ const ln = {
4724
4722
  disabled: n.value === 1,
4725
4723
  onClick: r
4726
4724
  }, [
4727
- D(c(Bt)),
4728
- e.prevPageText ? (u(), v("span", kl, A(e.prevPageText), 1)) : C("", !0)
4725
+ D(c(It)),
4726
+ e.prevPageText ? (u(), v("span", kl, T(e.prevPageText), 1)) : C("", !0)
4729
4727
  ], 10, Il)
4730
4728
  ])) : C("", !0),
4731
4729
  e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", Cl, [
4732
- (u(!0), v(G, null, ee(b.value, (y) => (u(), v("button", {
4733
- key: `page-${y}-button`,
4730
+ (u(!0), v(G, null, ee(b.value, (w) => (u(), v("button", {
4731
+ key: `page-${w}-button`,
4734
4732
  type: "button",
4735
- title: `Page ${y}`,
4736
- "data-selected": y === n.value,
4737
- onClick: (g) => n.value = y
4738
- }, A(y), 9, xl))), 128))
4733
+ title: `Page ${w}`,
4734
+ "data-selected": w === n.value,
4735
+ onClick: (y) => n.value = w
4736
+ }, T(w), 9, xl))), 128))
4739
4737
  ])) : C("", !0),
4740
- t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Tl, A(S.value), 1)) : C("", !0),
4741
- t.variant === "group" ? (u(), v("span", Al, A(w.value), 1)) : C("", !0),
4738
+ t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Tl, T(g.value), 1)) : C("", !0),
4739
+ t.variant === "group" ? (u(), v("span", Al, T(S.value), 1)) : C("", !0),
4742
4740
  t.variant === "results" ? (u(), v(G, { key: 4 }, [
4743
4741
  Vl,
4744
- I("div", Ol, [
4745
- (u(!0), v(G, null, ee(B.value, (y) => (u(), v("button", {
4742
+ $("div", Ol, [
4743
+ (u(!0), v(G, null, ee(I.value, (w) => (u(), v("button", {
4746
4744
  type: "button",
4747
- key: `results-${y}`,
4748
- "data-selected": y === n.value,
4749
- disabled: n.value === y,
4750
- onClick: (g) => n.value = y
4751
- }, A(y), 9, El))), 128))
4745
+ key: `results-${w}`,
4746
+ "data-selected": w === n.value,
4747
+ disabled: n.value === w,
4748
+ onClick: (y) => n.value = w
4749
+ }, T(w), 9, El))), 128))
4752
4750
  ])
4753
4751
  ], 64)) : C("", !0),
4754
4752
  e.variant === "base" || e.variant === "group" ? (u(), v("div", Ll, [
4755
- I("button", {
4753
+ $("button", {
4756
4754
  type: "button",
4757
4755
  class: ie(e.nextPageText ? "bs-pagination-word-caret" : void 0),
4758
4756
  "aria-label": e.nextPageText ? void 0 : "Next Page",
4759
4757
  title: e.nextPageText,
4760
- disabled: n.value === s.value,
4758
+ disabled: n.value === d.value,
4761
4759
  onClick: f
4762
4760
  }, [
4763
- e.nextPageText ? (u(), v("span", ql, A(e.nextPageText), 1)) : C("", !0),
4764
- D(c($t))
4761
+ e.nextPageText ? (u(), v("span", ql, T(e.nextPageText), 1)) : C("", !0),
4762
+ D(c(Bt))
4765
4763
  ], 10, Dl),
4766
4764
  e.showFirstLastButtons ? (u(), v("button", {
4767
4765
  key: 0,
@@ -4769,16 +4767,16 @@ const ln = {
4769
4767
  class: ie(e.lastPageText ? "bs-pagination-word-caret" : void 0),
4770
4768
  "aria-label": e.lastPageText ? void 0 : "Last Page",
4771
4769
  title: e.lastPageText,
4772
- disabled: n.value === s.value,
4770
+ disabled: n.value === d.value,
4773
4771
  onClick: m
4774
4772
  }, [
4775
- e.lastPageText ? (u(), v("span", Ml, A(e.lastPageText), 1)) : C("", !0),
4776
- D(c(Wt))
4773
+ e.lastPageText ? (u(), v("span", Ml, T(e.lastPageText), 1)) : C("", !0),
4774
+ D(c(Gt))
4777
4775
  ], 10, Pl)) : C("", !0)
4778
4776
  ])) : C("", !0)
4779
4777
  ], 8, Sl));
4780
4778
  }
4781
- }, zl = ["data-truncate"], ti = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4779
+ }, Nl = ["data-truncate"], ni = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4782
4780
  __name: "BsPill",
4783
4781
  props: {
4784
4782
  active: { type: Boolean, default: !1 },
@@ -4802,32 +4800,32 @@ const ln = {
4802
4800
  }
4803
4801
  },
4804
4802
  setup(e) {
4805
- const a = e, { onLinkClick: t } = Ne(a), l = ve(), { rootTag: n, attrsToBind: i, hrefUrl: s } = ze(a, l, "span");
4806
- return (o, d) => (u(), V(te(c(n)), N({
4803
+ const a = e, { onLinkClick: t } = Re(a), l = re(), { rootTag: n, attrsToBind: i, hrefUrl: d } = ze(a, l, "span");
4804
+ return (o, s) => (u(), A(te(c(n)), z({
4807
4805
  class: "bs-pill",
4808
4806
  "data-active": e.active,
4809
4807
  "data-component": "bs-pill",
4810
4808
  "data-status": e.status || void 0,
4811
4809
  "data-variant": e.variant || void 0,
4812
4810
  disabled: e.disabled,
4813
- ".href": c(s)
4811
+ ".href": c(d)
4814
4812
  }, c(i), { onClick: c(t) }), {
4815
4813
  default: L(() => [
4816
- I("span", { "data-truncate": e.truncate }, [
4814
+ $("span", { "data-truncate": e.truncate }, [
4817
4815
  E(o.$slots, "default")
4818
- ], 8, zl)
4816
+ ], 8, Nl)
4819
4817
  ]),
4820
4818
  _: 3
4821
4819
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
4822
4820
  }
4823
- }), Nl = { class: "bs-profile-details" }, Rl = {
4821
+ }), zl = { class: "bs-profile-details" }, Rl = {
4824
4822
  class: "bs-profile-name",
4825
4823
  "data-size": "sm",
4826
4824
  "data-weight": "bold"
4827
4825
  }, Fl = {
4828
4826
  key: 1,
4829
4827
  "data-weight": "bold"
4830
- }, jl = { key: 2 }, Ul = { key: 3 }, Wl = {
4828
+ }, jl = { key: 2 }, Wl = { key: 3 }, Ul = {
4831
4829
  key: 4,
4832
4830
  "data-icon": "true"
4833
4831
  }, Gl = {
@@ -4848,39 +4846,39 @@ const ln = {
4848
4846
  emits: ["action-toggled"],
4849
4847
  setup(e, { emit: a }) {
4850
4848
  const t = e, l = a, { icon: n } = Ve(t, "actionIcon"), { icon: i } = Ve(t, "miscMetaIcon");
4851
- function s(o) {
4849
+ function d(o) {
4852
4850
  o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), l("action-toggled"));
4853
4851
  }
4854
- return (o, d) => (u(), v("div", Nl, [
4852
+ return (o, s) => (u(), v("div", zl, [
4855
4853
  e.action || o.$slots.action ? (u(), v("button", {
4856
4854
  key: 0,
4857
4855
  "data-icon": "true",
4858
- onClick: s
4856
+ onClick: d
4859
4857
  }, [
4860
4858
  E(o.$slots, "action", {}, () => [
4861
- e.actionIcon ? (u(), V(te(c(n) ? c(n) : "span"), {
4859
+ e.actionIcon ? (u(), A(te(c(n) ? c(n) : "span"), {
4862
4860
  key: 0,
4863
4861
  class: "bs-icon"
4864
4862
  })) : C("", !0),
4865
- W(" " + A(e.action), 1)
4863
+ U(" " + T(e.action), 1)
4866
4864
  ])
4867
4865
  ])) : C("", !0),
4868
- I("span", Rl, A(e.profileName), 1),
4869
- e.company ? (u(), v("span", Fl, A(e.company), 1)) : C("", !0),
4870
- e.jobTitle ? (u(), v("span", jl, A(e.jobTitle), 1)) : C("", !0),
4871
- e.email ? (u(), v("span", Ul, A(e.email), 1)) : C("", !0),
4872
- e.miscMeta || o.$slots.misc ? (u(), v("span", Wl, [
4866
+ $("span", Rl, T(e.profileName), 1),
4867
+ e.company ? (u(), v("span", Fl, T(e.company), 1)) : C("", !0),
4868
+ e.jobTitle ? (u(), v("span", jl, T(e.jobTitle), 1)) : C("", !0),
4869
+ e.email ? (u(), v("span", Wl, T(e.email), 1)) : C("", !0),
4870
+ e.miscMeta || o.$slots.misc ? (u(), v("span", Ul, [
4873
4871
  E(o.$slots, "misc", {}, () => [
4874
- e.miscMetaIcon ? (u(), V(te(c(i) ? c(i) : "span"), {
4872
+ e.miscMetaIcon ? (u(), A(te(c(i) ? c(i) : "span"), {
4875
4873
  key: 0,
4876
4874
  class: "bs-icon"
4877
4875
  })) : C("", !0),
4878
- W(" " + A(e.miscMeta), 1)
4876
+ U(" " + T(e.miscMeta), 1)
4879
4877
  ])
4880
4878
  ])) : C("", !0)
4881
4879
  ]));
4882
4880
  }
4883
- }, ai = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4881
+ }, li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4884
4882
  __name: "BsProfile",
4885
4883
  props: {
4886
4884
  layout: {
@@ -4910,14 +4908,14 @@ const ln = {
4910
4908
  },
4911
4909
  emits: ["action-toggled"],
4912
4910
  setup(e, { emit: a }) {
4913
- const t = e, l = a, n = ve(), { onLinkClick: i } = Ne(t), { rootTag: s, attrsToBind: o, hrefUrl: d } = ze(t, n, "div");
4914
- return (r, f) => (u(), V(te(c(s)), N({
4911
+ const t = e, l = a, n = re(), { onLinkClick: i } = Re(t), { rootTag: d, attrsToBind: o, hrefUrl: s } = ze(t, n, "div");
4912
+ return (r, f) => (u(), A(te(c(d)), z({
4915
4913
  class: "bs-profile",
4916
- ".href": c(d),
4914
+ ".href": c(s),
4917
4915
  "data-layout": e.layout
4918
4916
  }, c(o), { onClick: c(i) }), {
4919
4917
  default: L(() => [
4920
- D(Tt, {
4918
+ D(At, {
4921
4919
  src: e.imageSrc,
4922
4920
  size: e.imageSize,
4923
4921
  initials: e.initials,
@@ -4948,7 +4946,7 @@ const ln = {
4948
4946
  }, 48, [".href", "data-layout", "onClick"]));
4949
4947
  }
4950
4948
  });
4951
- function Et(e) {
4949
+ function Dt(e) {
4952
4950
  const a = p(() => {
4953
4951
  var n;
4954
4952
  switch (e.currentStatus) {
@@ -4973,7 +4971,7 @@ function Et(e) {
4973
4971
  getStatus: l
4974
4972
  };
4975
4973
  }
4976
- const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], ni = {
4974
+ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-status"], oi = {
4977
4975
  __name: "BsProgressBar",
4978
4976
  props: {
4979
4977
  /** @type {Status} */
@@ -5001,26 +4999,26 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5001
4999
  }
5002
5000
  },
5003
5001
  setup(e) {
5004
- const a = e, { progressStep: t, progressText: l, getStatus: n } = Et(a);
5005
- return (i, s) => (u(), v("div", {
5002
+ const a = e, { progressStep: t, progressText: l, getStatus: n } = Dt(a);
5003
+ return (i, d) => (u(), v("div", {
5006
5004
  "aria-valuemax": e.steps.length,
5007
5005
  "aria-valuenow": c(t),
5008
5006
  "aria-valuetext": c(l),
5009
5007
  class: "bs-progress-bar",
5010
5008
  role: "progressbar"
5011
5009
  }, [
5012
- (u(!0), v(G, null, ee(e.steps, (o, d) => (u(), v("div", {
5010
+ (u(!0), v(G, null, ee(e.steps, (o, s) => (u(), v("div", {
5013
5011
  class: "bs-step-item",
5014
- "data-status": c(n)(o.status, d),
5012
+ "data-status": c(n)(o.status, s),
5015
5013
  "data-variant": "progress",
5016
5014
  key: o.id || o.label,
5017
5015
  role: "status"
5018
5016
  }, [
5019
- I("span", null, A(o.label || o) + " : " + A(c(n)(o.status, d) || "not started"), 1)
5017
+ $("span", null, T(o.label || o) + " : " + T(c(n)(o.status, s) || "not started"), 1)
5020
5018
  ], 8, Kl))), 128))
5021
5019
  ], 8, Hl));
5022
5020
  }
5023
- }, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], li = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5021
+ }, Yl = ["data-disabled", "data-error", "data-size"], Zl = ["checked", "disabled", "id", "required", "value", "data-error"], ii = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5024
5022
  __name: "BsRadio",
5025
5023
  props: {
5026
5024
  label: {
@@ -5064,16 +5062,16 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5064
5062
  },
5065
5063
  emits: ["update:modelValue"],
5066
5064
  setup(e, { emit: a }) {
5067
- const t = e, [l] = X(), n = p(() => et.concat(t.passAttrs.split(","))), i = p(() => t.inputId || l.value), s = p(() => t.checked || t.modelValue && t.modelValue === t.value);
5068
- return (o, d) => (u(), v("div", N({
5065
+ const t = e, [l] = Z(), n = p(() => et.concat(t.passAttrs.split(","))), i = p(() => t.inputId || l.value), d = p(() => t.checked || t.modelValue && t.modelValue === t.value);
5066
+ return (o, s) => (u(), v("div", z({
5069
5067
  class: "bs-boolean",
5070
5068
  "data-component": "bs-radio",
5071
5069
  "data-disabled": e.disabled,
5072
5070
  "data-error": e.error,
5073
5071
  "data-size": e.size
5074
5072
  }, c(Y)(o.$attrs, n.value).remaining), [
5075
- I("input", N({
5076
- checked: s.value,
5073
+ $("input", z({
5074
+ checked: d.value,
5077
5075
  disabled: e.disabled,
5078
5076
  id: o.$attrs.id || i.value,
5079
5077
  required: e.required,
@@ -5081,9 +5079,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5081
5079
  value: e.value,
5082
5080
  "data-error": e.error
5083
5081
  }, c(Y)(o.$attrs, n.value).filtered, {
5084
- onChange: d[0] || (d[0] = (r) => o.$emit("update:modelValue", r.target.value))
5082
+ onChange: s[0] || (s[0] = (r) => o.$emit("update:modelValue", r.target.value))
5085
5083
  }), null, 16, Zl),
5086
- e.label || o.$slots.label ? (u(), V(ae, {
5084
+ e.label || o.$slots.label ? (u(), A(ae, {
5087
5085
  key: 0,
5088
5086
  for: o.$attrs.id || i.value,
5089
5087
  disabled: e.disabled,
@@ -5091,7 +5089,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5091
5089
  }, {
5092
5090
  default: L(() => [
5093
5091
  E(o.$slots, "label", {}, () => [
5094
- W(A(e.label), 1)
5092
+ U(T(e.label), 1)
5095
5093
  ])
5096
5094
  ]),
5097
5095
  _: 3
@@ -5112,7 +5110,7 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5112
5110
  emits: ["update:modelValue"],
5113
5111
  setup(e, { emit: a }) {
5114
5112
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5115
- return (n, i) => (u(), v("select", N({
5113
+ return (n, i) => (u(), v("select", z({
5116
5114
  id: n.$attrs.id || e.inputId,
5117
5115
  class: "bs-select",
5118
5116
  "data-component": "bs-select",
@@ -5121,12 +5119,12 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5121
5119
  "data-error": e.error,
5122
5120
  value: e.value || e.modelValue
5123
5121
  }, l.value, {
5124
- onChange: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
5122
+ onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5125
5123
  }), [
5126
5124
  E(n.$slots, "default")
5127
5125
  ], 16, Xl));
5128
5126
  }
5129
- }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], oi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5127
+ }, Jl = ["selected", "disabled"], _l = ["disabled", "selected", "value"], ri = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5130
5128
  __name: "BsSelectField",
5131
5129
  props: {
5132
5130
  data: {
@@ -5170,13 +5168,13 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5170
5168
  modelValue: [String, Number]
5171
5169
  },
5172
5170
  setup(e) {
5173
- const a = e, [t, l] = X(2), n = p(() => za.concat(a.passAttrs.split(","))), i = p(() => {
5171
+ const a = e, [t, l] = Z(2), n = p(() => za.concat(a.passAttrs.split(","))), i = p(() => {
5174
5172
  var r, f;
5175
5173
  return ((f = (r = a.hints) == null ? void 0 : r.join) == null ? void 0 : f.call(r, `
5176
5174
  `)) || a.hints;
5177
- }), s = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), d = p(() => a.value || a.modelValue);
5178
- return (r, f) => (u(), v("div", N({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5179
- e.label || r.$slots.label ? (u(), V(ae, {
5175
+ }), d = p(() => a.error && a.errorMsg || a.hint || i.value || void 0), o = p(() => a.inputId || t.value), s = p(() => a.value || a.modelValue);
5176
+ return (r, f) => (u(), v("div", z({ "data-component": "bs-select-field" }, c(Y)(r.$attrs, n.value).remaining), [
5177
+ e.label || r.$slots.label ? (u(), A(ae, {
5180
5178
  key: 0,
5181
5179
  for: r.$attrs.id || o.value,
5182
5180
  disabled: e.disabled,
@@ -5184,36 +5182,36 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5184
5182
  }, {
5185
5183
  default: L(() => [
5186
5184
  E(r.$slots, "label", {}, () => [
5187
- W(A(e.label), 1)
5185
+ U(T(e.label), 1)
5188
5186
  ])
5189
5187
  ]),
5190
5188
  _: 3
5191
5189
  }, 8, ["for", "disabled", "required"])) : C("", !0),
5192
- D(Ql, N({
5190
+ D(Ql, z({
5193
5191
  disabled: e.disabled,
5194
5192
  error: e.error,
5195
5193
  "hint-id": c(l),
5196
5194
  "input-id": r.$attrs.id || o.value,
5197
5195
  required: e.required,
5198
- value: d.value,
5196
+ value: s.value,
5199
5197
  "onUpdate:modelValue": f[0] || (f[0] = (m) => r.$emit("update:modelValue", m))
5200
5198
  }, c(Y)(r.$attrs, n.value).filtered), {
5201
5199
  default: L(() => [
5202
- I("option", {
5203
- selected: !d.value,
5200
+ $("option", {
5201
+ selected: !s.value,
5204
5202
  value: "",
5205
- disabled: !!d.value
5206
- }, A(e.disabled ? "" : e.placeholder), 9, Jl),
5203
+ disabled: !!s.value
5204
+ }, T(e.disabled ? "" : e.placeholder), 9, Jl),
5207
5205
  (u(!0), v(G, null, ee(e.data, (m) => (u(), v("option", {
5208
5206
  key: m.value,
5209
5207
  disabled: m.disabled,
5210
- selected: d.value === m.value,
5208
+ selected: s.value === m.value,
5211
5209
  value: m.value
5212
- }, A(m.label), 9, _l))), 128))
5210
+ }, T(m.label), 9, _l))), 128))
5213
5211
  ]),
5214
5212
  _: 1
5215
5213
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
5216
- s.value ? (u(), V(ge, {
5214
+ d.value ? (u(), A(ge, {
5217
5215
  key: 1,
5218
5216
  "data-disabled": e.disabled,
5219
5217
  error: e.error,
@@ -5223,7 +5221,159 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5223
5221
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : C("", !0)
5224
5222
  ], 16));
5225
5223
  }
5226
- }), eo = ["data-disabled", "data-size"], to = ["data-disabled", "data-pending", "data-size"], ao = ["checked", "disabled", "id"], no = ["data-inner-on-label", "data-inner-off-label"], ii = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5224
+ }), eo = ["id", "name", "value"], to = ["aria-controls", "aria-describedby", "aria-expanded", "aria-invalid", "aria-label", "data-cy", "data-disabled", "data-error", "data-open", "data-placeholder", "data-required", "disabled", "id"], si = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5225
+ __name: "BsSelectWithDropdown",
5226
+ props: {
5227
+ breakout: {
5228
+ type: Boolean,
5229
+ default: !1
5230
+ },
5231
+ disabled: {
5232
+ type: Boolean,
5233
+ default: !1
5234
+ },
5235
+ dropdownPosition: {
5236
+ type: String,
5237
+ default: "",
5238
+ validator: (e) => ["", "top", "center", "right"].includes(e)
5239
+ },
5240
+ dropdownWidth: {
5241
+ type: String,
5242
+ default: "anchor",
5243
+ validator: (e) => ["", "sm", "md", "lg", "content", "anchor"].includes(e)
5244
+ },
5245
+ error: {
5246
+ type: Boolean,
5247
+ default: !1
5248
+ },
5249
+ helperDescription: {
5250
+ type: String,
5251
+ default: void 0
5252
+ },
5253
+ helperText: {
5254
+ type: String,
5255
+ default: void 0
5256
+ },
5257
+ hintId: {
5258
+ type: String,
5259
+ default: void 0
5260
+ },
5261
+ inputId: {
5262
+ type: String,
5263
+ default: void 0
5264
+ },
5265
+ inputName: {
5266
+ type: String,
5267
+ default: void 0
5268
+ },
5269
+ label: {
5270
+ type: String,
5271
+ default: void 0
5272
+ },
5273
+ modelValue: {
5274
+ type: String,
5275
+ default: ""
5276
+ },
5277
+ options: {
5278
+ type: Array,
5279
+ required: !0
5280
+ },
5281
+ optionsId: {
5282
+ type: String,
5283
+ default: void 0
5284
+ },
5285
+ placeholder: {
5286
+ type: String,
5287
+ default: "Select an option"
5288
+ },
5289
+ required: {
5290
+ type: Boolean,
5291
+ default: !1
5292
+ },
5293
+ selectId: {
5294
+ type: String,
5295
+ default: void 0
5296
+ }
5297
+ },
5298
+ emits: ["update:model-value"],
5299
+ setup(e, { emit: a }) {
5300
+ const t = e, l = a, [n, i] = Z(2), d = re(), o = k(!1), s = p(() => t.selectId || d.id || n.value), r = p(() => t.optionsId || i.value), f = p(() => {
5301
+ if (t.modelValue) {
5302
+ const b = t.options.find((g) => g.value === t.modelValue);
5303
+ return b ? b.label : t.placeholder;
5304
+ }
5305
+ return t.placeholder;
5306
+ }), m = p(() => f.value === t.placeholder);
5307
+ return (b, g) => (u(), v("div", null, [
5308
+ e.label || b.$slots.label ? (u(), A(ae, {
5309
+ key: 0,
5310
+ disabled: e.disabled,
5311
+ for: s.value,
5312
+ required: e.required
5313
+ }, {
5314
+ default: L(() => [
5315
+ E(b.$slots, "label", {}, () => [
5316
+ U(T(e.label), 1)
5317
+ ])
5318
+ ]),
5319
+ _: 3
5320
+ }, 8, ["disabled", "for", "required"])) : C("", !0),
5321
+ e.inputName || e.inputId ? (u(), v("input", {
5322
+ key: 1,
5323
+ id: e.inputId,
5324
+ name: e.inputName,
5325
+ type: "hidden",
5326
+ value: e.modelValue
5327
+ }, null, 8, eo)) : C("", !0),
5328
+ D(Vt, {
5329
+ "anchor-id": s.value,
5330
+ breakout: e.breakout,
5331
+ "dropdown-position": e.dropdownPosition,
5332
+ "dropdown-width": e.dropdownWidth,
5333
+ "helper-description": e.helperDescription,
5334
+ "helper-text": e.helperText,
5335
+ multiselect: !1,
5336
+ open: o.value,
5337
+ "options-id": r.value,
5338
+ options: e.options,
5339
+ "selected-option": e.modelValue,
5340
+ "toggle-id": s.value,
5341
+ onClose: g[1] || (g[1] = (S) => o.value = !1),
5342
+ "onUpdate:selectedOption": g[2] || (g[2] = (S) => l("update:model-value", S))
5343
+ }, {
5344
+ toggle: L(() => [
5345
+ $("button", z({
5346
+ "aria-controls": r.value,
5347
+ "aria-describedby": e.hintId,
5348
+ "aria-expanded": o.value,
5349
+ "aria-haspopup": "listbox",
5350
+ "aria-invalid": e.error,
5351
+ "aria-label": `${o.value ? "Close" : "Open"} Combobox`,
5352
+ class: "bs-select",
5353
+ "data-cy": m.value ? "ignore" : void 0,
5354
+ "data-disabled": e.disabled,
5355
+ "data-error": e.error,
5356
+ "data-open": o.value,
5357
+ "data-placeholder": m.value,
5358
+ "data-required": e.required,
5359
+ disabled: e.disabled,
5360
+ id: s.value,
5361
+ role: "combobox"
5362
+ }, b.$attrs, {
5363
+ onClick: g[0] || (g[0] = St((S) => o.value = !o.value, ["prevent"]))
5364
+ }), [
5365
+ $("span", null, T(f.value), 1),
5366
+ e.disabled ? C("", !0) : (u(), A(c(Me), {
5367
+ key: 0,
5368
+ size: "md"
5369
+ }))
5370
+ ], 16, to)
5371
+ ]),
5372
+ _: 1
5373
+ }, 8, ["anchor-id", "breakout", "dropdown-position", "dropdown-width", "helper-description", "helper-text", "open", "options-id", "options", "selected-option", "toggle-id"])
5374
+ ]));
5375
+ }
5376
+ }), ao = ["data-disabled", "data-size"], no = ["data-disabled", "data-pending", "data-size"], lo = ["checked", "disabled", "id"], oo = ["data-inner-on-label", "data-inner-off-label"], di = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5227
5377
  __name: "BsSwitch",
5228
5378
  props: {
5229
5379
  checked: {
@@ -5269,49 +5419,49 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5269
5419
  },
5270
5420
  emits: ["update:modelValue"],
5271
5421
  setup(e, { emit: a }) {
5272
- const t = e, l = a, [n] = X(), i = p(() => et.concat(t.passAttrs.split(","))), s = p(() => t.inputId || n.value), o = p(() => t.checked || t.modelValue);
5273
- return (d, r) => (u(), v("div", N({
5422
+ const t = e, l = a, [n] = Z(), i = p(() => et.concat(t.passAttrs.split(","))), d = p(() => t.inputId || n.value), o = p(() => t.checked || t.modelValue);
5423
+ return (s, r) => (u(), v("div", z({
5274
5424
  class: "bs-boolean",
5275
5425
  "data-component": "bs-switch",
5276
5426
  "data-disabled": e.disabled,
5277
5427
  "data-size": e.size
5278
- }, c(Y)(d.$attrs, i.value).remaining), [
5279
- e.label || d.$slots.label ? (u(), V(ae, {
5428
+ }, c(Y)(s.$attrs, i.value).remaining), [
5429
+ e.label || s.$slots.label ? (u(), A(ae, {
5280
5430
  key: 0,
5281
- for: d.$attrs.id || s.value,
5431
+ for: s.$attrs.id || d.value,
5282
5432
  disabled: e.disabled,
5283
5433
  hide: e.hideLabel
5284
5434
  }, {
5285
5435
  default: L(() => [
5286
- E(d.$slots, "label", {}, () => [
5287
- W(A(e.label), 1)
5436
+ E(s.$slots, "label", {}, () => [
5437
+ U(T(e.label), 1)
5288
5438
  ])
5289
5439
  ]),
5290
5440
  _: 3
5291
5441
  }, 8, ["for", "disabled", "hide"])) : C("", !0),
5292
- I("div", {
5442
+ $("div", {
5293
5443
  class: "bs-switch",
5294
5444
  "data-disabled": e.disabled,
5295
5445
  "data-pending": e.pending,
5296
5446
  "data-size": e.size
5297
5447
  }, [
5298
- I("input", N({
5448
+ $("input", z({
5299
5449
  checked: o.value,
5300
5450
  disabled: e.disabled,
5301
- id: d.$attrs.id || s.value,
5451
+ id: s.$attrs.id || d.value,
5302
5452
  type: "checkbox"
5303
- }, c(Y)(d.$attrs, i.value).filtered, {
5453
+ }, c(Y)(s.$attrs, i.value).filtered, {
5304
5454
  onChange: r[0] || (r[0] = (f) => l("update:modelValue", f.target.checked))
5305
- }), null, 16, ao),
5306
- I("span", {
5455
+ }), null, 16, lo),
5456
+ $("span", {
5307
5457
  "aria-hidden": "true",
5308
5458
  "data-inner-on-label": e.innerOnLabel,
5309
5459
  "data-inner-off-label": e.innerOffLabel
5310
- }, null, 8, no)
5311
- ], 8, to)
5312
- ], 16, eo));
5460
+ }, null, 8, oo)
5461
+ ], 8, no)
5462
+ ], 16, ao));
5313
5463
  }
5314
- }), lo = ["aria-controls", "aria-selected", "data-hidden"], ri = {
5464
+ }), io = ["aria-controls", "aria-selected", "data-hidden"], ui = {
5315
5465
  __name: "BsTab",
5316
5466
  props: {
5317
5467
  activeTabId: {
@@ -5328,18 +5478,18 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5328
5478
  },
5329
5479
  emits: ["tabClick"],
5330
5480
  setup(e, { emit: a }) {
5331
- const t = e, l = ve(), n = k(), i = p(() => t.activeTabId === l.id), s = p(() => t.panelId || `${l.id}-panel`);
5481
+ const t = e, l = re(), n = k(), i = p(() => t.activeTabId === l.id), d = p(() => t.panelId || `${l.id}-panel`);
5332
5482
  function o(r) {
5333
- (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), d());
5483
+ (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), s());
5334
5484
  }
5335
- function d() {
5485
+ function s() {
5336
5486
  if (t.activeTabId !== l.id) {
5337
5487
  const r = new CustomEvent("tabClick", { detail: l.id, bubbles: !0 });
5338
5488
  n.value.dispatchEvent(r);
5339
5489
  }
5340
5490
  }
5341
5491
  return (r, f) => (u(), v("div", {
5342
- "aria-controls": s.value,
5492
+ "aria-controls": d.value,
5343
5493
  "aria-selected": i.value ? "true" : "false",
5344
5494
  "data-hidden": e.hidden || void 0,
5345
5495
  "data-component": "bs-tab",
@@ -5347,13 +5497,13 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5347
5497
  tabindex: "0",
5348
5498
  ref_key: "hostEl",
5349
5499
  ref: n,
5350
- onClick: d,
5500
+ onClick: s,
5351
5501
  onKeydown: o
5352
5502
  }, [
5353
5503
  E(r.$slots, "default")
5354
- ], 40, lo));
5504
+ ], 40, io));
5355
5505
  }
5356
- }, oo = ["id", "data-resizing"], io = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], ro = 73, so = 20, Ue = 16, si = {
5506
+ }, ro = ["id", "data-resizing"], so = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], uo = 73, co = 20, Ue = 16, ci = {
5357
5507
  __name: "BsTabList",
5358
5508
  props: {
5359
5509
  activeTabId: { type: String, required: !0 },
@@ -5364,27 +5514,27 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5364
5514
  },
5365
5515
  emits: ["tabChange", "update:modelValue"],
5366
5516
  setup(e, { emit: a }) {
5367
- const t = e, l = a, n = k(!1), i = k(!1), s = k([]), o = k(!1), d = k(!1), r = k(), f = k([]), m = k(!1), b = k([]), S = k(), w = k([]), B = k(), h = k(), [$, y] = X(2), g = p(() => t.activeTabId ? b.value.findIndex((x) => x.id === t.activeTabId) : 0), M = p(() => s.value.some((x) => x.id === t.activeTabId)), T = p(() => `${y.value}-options`), q = p(() => `${y.value}-toggle`), R = p(() => {
5517
+ const t = e, l = a, n = k(!1), i = k(!1), d = k([]), o = k(!1), s = k(!1), r = k(), f = k([]), m = k(!1), b = k([]), g = k(), S = k([]), I = k(), h = k(), [B, w] = Z(2), y = p(() => t.activeTabId ? b.value.findIndex((x) => x.id === t.activeTabId) : 0), M = p(() => d.value.some((x) => x.id === t.activeTabId)), V = p(() => `${w.value}-options`), q = p(() => `${w.value}-toggle`), R = p(() => {
5368
5518
  var x;
5369
- return M.value ? (x = b.value[g.value]) == null ? void 0 : x.textContent : "More";
5370
- }), _ = p(() => M.value ? f.value[g.value] - f.value[g.value - 1] + so + Ue : ro + Ue);
5519
+ return M.value ? (x = b.value[y.value]) == null ? void 0 : x.textContent : "More";
5520
+ }), _ = p(() => M.value ? f.value[y.value] - f.value[y.value - 1] + co + Ue : uo + Ue);
5371
5521
  function J() {
5372
- var se;
5373
- let x = !1, z, U = 0, Q = !1, le = [];
5374
- if ((se = b.value) != null && se.length) {
5522
+ var de;
5523
+ let x = !1, N, W = 0, Q = !1, le = [];
5524
+ if ((de = b.value) != null && de.length) {
5375
5525
  for (let oe = 0; oe < b.value.length; oe++) {
5376
- if (z = b.value[oe], z.setAttribute("tabindex", "-1"), Q && oe !== g.value) {
5377
- z.dataset.hidden = "true", le.push(z);
5526
+ if (N = b.value[oe], N.setAttribute("tabindex", "-1"), Q && oe !== y.value) {
5527
+ N.dataset.hidden = "true", le.push(N);
5378
5528
  continue;
5379
5529
  }
5380
- if (U = oe < b.value.length - 1 ? h.value - _.value : h.value, f.value[oe] > U) {
5381
- z.dataset.hidden = "true", le.push(z), x = !0, Q = !0;
5530
+ if (W = oe < b.value.length - 1 ? h.value - _.value : h.value, f.value[oe] > W) {
5531
+ N.dataset.hidden = "true", le.push(N), x = !0, Q = !0;
5382
5532
  continue;
5383
5533
  }
5384
- z.dataset.hidden = "false", z.setAttribute("tabindex", "0");
5534
+ N.dataset.hidden = "false", N.setAttribute("tabindex", "0");
5385
5535
  }
5386
- d.value = x, s.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
5387
- Dt(), P(), m.value = !0;
5536
+ s.value = x, d.value = le, n.value || Ae(() => n.value = !0), setTimeout(() => {
5537
+ Pt(), P(), m.value = !0;
5388
5538
  }, m.value ? 25 : 1e3);
5389
5539
  }
5390
5540
  }
@@ -5392,155 +5542,155 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5392
5542
  l("tabChange", x), l("update:modelValue", x);
5393
5543
  }
5394
5544
  function me(x) {
5395
- var Q, le, se;
5396
- const z = (se = (le = (Q = b.value[x]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : se.width;
5397
- return z || (x === 0 ? f.value[0] : f.value[x] - f.value[x - 1]) || 0;
5545
+ var Q, le, de;
5546
+ const N = (de = (le = (Q = b.value[x]) == null ? void 0 : Q.getBoundingClientRect) == null ? void 0 : le.call(Q)) == null ? void 0 : de.width;
5547
+ return N || (x === 0 ? f.value[0] : f.value[x] - f.value[x - 1]) || 0;
5398
5548
  }
5399
5549
  function ye() {
5400
5550
  var x;
5401
- (x = b.value[g.value]) == null || x.setAttribute("aria-selected", "true"), J();
5551
+ (x = b.value[y.value]) == null || x.setAttribute("aria-selected", "true"), J();
5402
5552
  }
5403
5553
  function ke() {
5404
5554
  var x;
5405
- (x = S.value) == null || x.focus(), o.value = !1;
5555
+ (x = g.value) == null || x.focus(), o.value = !1;
5406
5556
  }
5407
5557
  function Ce() {
5408
5558
  o.value = !o.value, i.value || (i.value = !0);
5409
5559
  }
5410
- function re(x) {
5411
- var z;
5412
- o.value = !1, (z = S.value) == null || z.focus(), ne(x);
5560
+ function se(x) {
5561
+ var N;
5562
+ o.value = !1, (N = g.value) == null || N.focus(), ne(x);
5413
5563
  }
5414
5564
  function xe(x) {
5415
5565
  if (t.withBsTabs)
5416
5566
  return;
5417
- const z = x.target.closest('[role="tab"]');
5418
- if (!z || z.getAttribute("aria-selected") === "true")
5567
+ const N = x.target.closest('[role="tab"]');
5568
+ if (!N || N.getAttribute("aria-selected") === "true")
5419
5569
  return;
5420
- const U = z.getAttribute("id");
5421
- ne(U);
5570
+ const W = N.getAttribute("id");
5571
+ ne(W);
5422
5572
  }
5423
5573
  function Se(x) {
5424
5574
  if (x.key === "ArrowLeft" || x.key === "ArrowRight") {
5425
- const z = w.value.findIndex((U) => U.id === x.target.id);
5426
- if (z === -1)
5575
+ const N = S.value.findIndex((W) => W.id === x.target.id);
5576
+ if (N === -1)
5427
5577
  return;
5428
- x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? F(z) : O(z);
5578
+ x.preventDefault(), x.stopPropagation(), x.key === "ArrowLeft" ? F(N) : O(N);
5429
5579
  }
5430
5580
  }
5431
5581
  function O(x) {
5432
- var U;
5433
- const z = (x + 1) % w.value.length;
5434
- (U = w.value[z]) == null || U.focus();
5582
+ var W;
5583
+ const N = (x + 1) % S.value.length;
5584
+ (W = S.value[N]) == null || W.focus();
5435
5585
  }
5436
5586
  function F(x) {
5437
- var U;
5438
- const z = x === 0 ? w.value.length - 1 : x - 1;
5439
- (U = w.value[z]) == null || U.focus();
5587
+ var W;
5588
+ const N = x === 0 ? S.value.length - 1 : x - 1;
5589
+ (W = S.value[N]) == null || W.focus();
5440
5590
  }
5441
5591
  function P() {
5442
- var se, oe, it, rt;
5443
- const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, z = h.value;
5444
- let U = 300, Q = ((oe = (se = w.value) == null ? void 0 : se[g.value]) == null ? void 0 : oe.offsetLeft) || 0, le = me(g.value);
5445
- d.value && M.value && (Q = (it = S.value) == null ? void 0 : it.offsetLeft, le = (rt = S.value) == null ? void 0 : rt.offsetWidth), U = Math.max(Math.abs((Q - x) / z * 300), 100), r.value.style.setProperty("--active-line-max-width", `${z}px`), r.value.style.setProperty("--active-line-scale", `${le / z}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${U}ms`);
5592
+ var de, oe, it, rt;
5593
+ const x = parseInt(r.value.style.getPropertyValue("--active-line-offset")) || 0, N = h.value;
5594
+ let W = 300, Q = ((oe = (de = S.value) == null ? void 0 : de[y.value]) == null ? void 0 : oe.offsetLeft) || 0, le = me(y.value);
5595
+ s.value && M.value && (Q = (it = g.value) == null ? void 0 : it.offsetLeft, le = (rt = g.value) == null ? void 0 : rt.offsetWidth), W = Math.max(Math.abs((Q - x) / N * 300), 100), r.value.style.setProperty("--active-line-max-width", `${N}px`), r.value.style.setProperty("--active-line-scale", `${le / N}`), r.value.style.setProperty("--active-line-offset", `${Q}px`), r.value.style.setProperty("--active-line-transition-duration", `${W}ms`);
5446
5596
  }
5447
5597
  function K() {
5448
- var x, z;
5449
- (z = (x = B.value) == null ? void 0 : x.disconnect) == null || z.call(x), B.value = null;
5598
+ var x, N;
5599
+ (N = (x = I.value) == null ? void 0 : x.disconnect) == null || N.call(x), I.value = null;
5450
5600
  }
5451
- function Z() {
5601
+ function X() {
5452
5602
  const x = Oe(() => {
5453
5603
  h.value = r.value.clientWidth, J();
5454
5604
  }, 25);
5455
- B.value = new ResizeObserver(x), B.value.observe(document.body);
5605
+ I.value = new ResizeObserver(x), I.value.observe(document.body);
5456
5606
  }
5457
5607
  function Te() {
5458
5608
  b.value = Array.from(r.value.children).filter((x) => x.role === "tab");
5459
5609
  }
5460
- function Lt() {
5610
+ function qt() {
5461
5611
  let x;
5462
- b.value.forEach((z, U) => {
5463
- x = z.getBoundingClientRect().width + Ue, f.value.push(U ? x + f.value[U - 1] : x);
5612
+ b.value.forEach((N, W) => {
5613
+ x = N.getBoundingClientRect().width + Ue, f.value.push(W ? x + f.value[W - 1] : x);
5464
5614
  });
5465
5615
  }
5466
- function Dt() {
5467
- var z, U;
5616
+ function Pt() {
5617
+ var N, W;
5468
5618
  let x = [];
5469
5619
  if (typeof window > "u")
5470
5620
  return x;
5471
5621
  for (let Q of b.value) {
5472
- if (((z = Q.dataset) == null ? void 0 : z.hidden) === "true" || ((U = Q.dataset) == null ? void 0 : U.hidden) === "" || Q.getAttribute("tabindex") === "-1")
5622
+ if (((N = Q.dataset) == null ? void 0 : N.hidden) === "true" || ((W = Q.dataset) == null ? void 0 : W.hidden) === "" || Q.getAttribute("tabindex") === "-1")
5473
5623
  break;
5474
5624
  x.push(Q);
5475
5625
  }
5476
- d.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), w.value = x;
5626
+ s.value && x.push(r.value.querySelector(".bs-tab-list-toggle")), S.value = x;
5477
5627
  }
5478
5628
  return j(() => t.activeTabId, ye), H(() => {
5479
5629
  var x;
5480
5630
  try {
5481
- Te(), Lt(), Z(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (x = b.value[g.value]) == null || x.setAttribute("aria-selected", "true");
5482
- } catch (z) {
5483
- console.log("tab error", z);
5631
+ Te(), qt(), X(), h.value = r.value.getBoundingClientRect().width, J(), t.withBsTabs || (x = b.value[y.value]) == null || x.setAttribute("aria-selected", "true");
5632
+ } catch (N) {
5633
+ console.log("tab error", N);
5484
5634
  }
5485
- }), $e(K), (x, z) => (u(), v("div", {
5635
+ }), $e(K), (x, N) => (u(), v("div", {
5486
5636
  class: "bs-tab-list",
5487
5637
  "data-component": "bs-tab-list",
5488
- id: x.$attrs.id || c($),
5638
+ id: x.$attrs.id || c(B),
5489
5639
  ref_key: "hostEl",
5490
5640
  ref: r,
5491
5641
  role: "tablist",
5492
5642
  "data-resizing": !n.value || void 0,
5493
5643
  onClick: xe,
5494
- "on:tabClick": z[0] || (z[0] = (U) => ne(U.detail)),
5644
+ "on:tabClick": N[0] || (N[0] = (W) => ne(W.detail)),
5495
5645
  onKeydown: Se
5496
5646
  }, [
5497
5647
  E(x.$slots, "default"),
5498
- I("button", {
5499
- "aria-controls": c(y),
5648
+ $("button", {
5649
+ "aria-controls": c(w),
5500
5650
  "aria-expanded": o.value,
5501
5651
  class: "bs-tab-list-toggle",
5502
5652
  "data-active": M.value || void 0,
5503
- "data-hidden": !d.value,
5653
+ "data-hidden": !s.value,
5504
5654
  id: q.value,
5505
5655
  ref_key: "dropdownToggle",
5506
- ref: S,
5656
+ ref: g,
5507
5657
  onClick: Ce
5508
5658
  }, [
5509
- D(c(Gt), { size: "sm" }),
5510
- W(" " + A(R.value), 1)
5511
- ], 8, io),
5512
- D(Ot, {
5659
+ D(c(Ht), { size: "sm" }),
5660
+ U(" " + T(R.value), 1)
5661
+ ], 8, so),
5662
+ D(Lt, {
5513
5663
  "anchor-id": q.value,
5514
5664
  breakout: "",
5515
- "container-id": x.$attrs.id || c($),
5665
+ "container-id": x.$attrs.id || c(B),
5516
5666
  "helper-description": e.helperDescription || void 0,
5517
5667
  "helper-text": e.helperText,
5518
- id: c(y),
5519
- "options-id": T.value,
5668
+ id: c(w),
5669
+ "options-id": V.value,
5520
5670
  position: "right",
5521
5671
  preloaded: "",
5522
5672
  shown: o.value,
5523
5673
  width: "content",
5524
5674
  onClose: ke,
5525
- "onUpdate:modelValue": re
5675
+ "onUpdate:modelValue": se
5526
5676
  }, {
5527
5677
  default: L(() => [
5528
- (u(!0), v(G, null, ee(s.value, (U) => (u(), V(ot, {
5529
- key: U.id,
5530
- value: U.id,
5531
- "options-id": T.value
5678
+ (u(!0), v(G, null, ee(d.value, (W) => (u(), A(ot, {
5679
+ key: W.id,
5680
+ value: W.id,
5681
+ "options-id": V.value
5532
5682
  }, {
5533
5683
  default: L(() => [
5534
- W(A(U.textContent), 1)
5684
+ U(T(W.textContent), 1)
5535
5685
  ]),
5536
5686
  _: 2
5537
5687
  }, 1032, ["value", "options-id"]))), 128))
5538
5688
  ]),
5539
5689
  _: 1
5540
5690
  }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
5541
- ], 40, oo));
5691
+ ], 40, ro));
5542
5692
  }
5543
- }, uo = ["aria-labelledby", "data-active", "id"], di = {
5693
+ }, fo = ["aria-labelledby", "data-active", "id"], fi = {
5544
5694
  __name: "BsTabPanel",
5545
5695
  props: {
5546
5696
  activeTabId: {
@@ -5553,8 +5703,8 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5553
5703
  }
5554
5704
  },
5555
5705
  setup(e) {
5556
- const a = e, t = ve(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
5557
- return (i, s) => (u(), v("section", {
5706
+ const a = e, t = re(), l = p(() => a.activeTabId && a.activeTabId === a.tabId), n = p(() => t.id || `${a.tabId}-panel`);
5707
+ return (i, d) => (u(), v("section", {
5558
5708
  "aria-labelledby": e.tabId,
5559
5709
  "data-active": l.value,
5560
5710
  "data-component": "bs-tab-panel",
@@ -5562,9 +5712,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5562
5712
  role: "tabpanel"
5563
5713
  }, [
5564
5714
  E(i.$slots, "default")
5565
- ], 8, uo));
5715
+ ], 8, fo));
5566
5716
  }
5567
- }, co = ["data-error", "id", "rows", "value"], fo = {
5717
+ }, po = ["data-error", "id", "rows", "value"], ho = {
5568
5718
  __name: "BsTextarea",
5569
5719
  props: {
5570
5720
  error: {
@@ -5580,17 +5730,17 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5580
5730
  emits: ["update:modelValue"],
5581
5731
  setup(e, { emit: a }) {
5582
5732
  const t = e, l = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
5583
- return (n, i) => (u(), v("textarea", N({
5733
+ return (n, i) => (u(), v("textarea", z({
5584
5734
  class: "bs-textarea",
5585
5735
  "data-component": "bs-textarea",
5586
5736
  "data-error": e.error,
5587
5737
  id: n.$attrs.id || e.inputId,
5588
5738
  rows: n.$attrs.rows || 6,
5589
5739
  value: e.value || e.modelValue,
5590
- onInput: i[0] || (i[0] = (s) => n.$emit("update:modelValue", s.target.value))
5591
- }, l.value), null, 16, co));
5740
+ onInput: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
5741
+ }, l.value), null, 16, po));
5592
5742
  }
5593
- }, ui = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5743
+ }, pi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5594
5744
  __name: "BsTextareaField",
5595
5745
  props: {
5596
5746
  /** 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. */
@@ -5639,16 +5789,16 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5639
5789
  },
5640
5790
  emits: ["update:modelValue"],
5641
5791
  setup(e, { emit: a }) {
5642
- const t = e, [l, n] = X(2), i = p(() => Na.concat(t.passAttrs.split(","))), s = p(() => {
5792
+ const t = e, [l, n] = Z(2), i = p(() => Ra.concat(t.passAttrs.split(","))), d = p(() => {
5643
5793
  var f;
5644
5794
  return ((f = t.value || t.modelValue) == null ? void 0 : f.length) || 0;
5645
5795
  }), o = p(() => {
5646
5796
  var f, m;
5647
5797
  return ((m = (f = t.hints) == null ? void 0 : f.join) == null ? void 0 : m.call(f, `
5648
5798
  `)) || t.hints;
5649
- }), d = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
5650
- return (f, m) => (u(), v("div", N({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
5651
- e.label || f.$slots.label ? (u(), V(ae, {
5799
+ }), s = p(() => t.error && t.errorMsg || t.hint || o.value || void 0), r = p(() => t.inputId || l.value);
5800
+ return (f, m) => (u(), v("div", z({ "data-component": "bs-textarea-field" }, c(Y)(f.$attrs, i.value).remaining), [
5801
+ e.label || f.$slots.label ? (u(), A(ae, {
5652
5802
  key: 0,
5653
5803
  for: f.$attrs.id || r.value,
5654
5804
  disabled: e.disabled,
@@ -5656,12 +5806,12 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5656
5806
  }, {
5657
5807
  default: L(() => [
5658
5808
  E(f.$slots, "label", {}, () => [
5659
- W(A(e.label), 1)
5809
+ U(T(e.label), 1)
5660
5810
  ])
5661
5811
  ]),
5662
5812
  _: 3
5663
5813
  }, 8, ["for", "disabled", "required"])) : C("", !0),
5664
- D(fo, N({
5814
+ D(ho, z({
5665
5815
  disabled: e.disabled,
5666
5816
  error: e.error,
5667
5817
  "hint-id": c(n),
@@ -5672,9 +5822,9 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5672
5822
  value: e.value || e.modelValue,
5673
5823
  "onUpdate:modelValue": m[0] || (m[0] = (b) => f.$emit("update:modelValue", b))
5674
5824
  }, c(Y)(f.$attrs, i.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
5675
- d.value || e.charMax ? (u(), V(ge, {
5825
+ s.value || e.charMax ? (u(), A(ge, {
5676
5826
  key: 1,
5677
- "char-count": s.value,
5827
+ "char-count": d.value,
5678
5828
  "char-max": e.charMax,
5679
5829
  "data-disabled": e.disabled,
5680
5830
  error: e.error,
@@ -5685,23 +5835,23 @@ const Hl = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], Kl = ["data-sta
5685
5835
  ], 16));
5686
5836
  }
5687
5837
  });
5688
- function po(e) {
5838
+ function vo(e) {
5689
5839
  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);
5690
5840
  return a ? "uFmt" : t ? "uFmtNoColon" : l ? "amPm" : n ? "amPmNoColon" : "";
5691
5841
  }
5692
5842
  const we = (e) => parseInt(e, 10);
5693
- function ho(e = "") {
5843
+ function mo(e = "") {
5694
5844
  const a = /[^0-9:apmAPM]/g;
5695
5845
  let t, l;
5696
- switch (e = e.replaceAll(a, "").toLowerCase(), po(e)) {
5846
+ switch (e = e.replaceAll(a, "").toLowerCase(), vo(e)) {
5697
5847
  case "uFmt":
5698
5848
  case "uFmtNoColon":
5699
5849
  l = we(e.slice(-2)), t = we(e.slice(0, -2));
5700
5850
  break;
5701
5851
  case "amPm":
5702
5852
  case "amPmNoColon":
5703
- const i = e.split(/(a|p|am|pm)/), s = e.includes("p");
5704
- l = we(i[0].slice(-2)), t = we(i[0].slice(0, -2)), t < 12 && s && (t += 12), t === 12 && !s && (t = 0), t === 24 && (t = 0);
5853
+ const i = e.split(/(a|p|am|pm)/), d = e.includes("p");
5854
+ l = we(i[0].slice(-2)), t = we(i[0].slice(0, -2)), t < 12 && d && (t += 12), t === 12 && !d && (t = 0), t === 24 && (t = 0);
5705
5855
  break;
5706
5856
  }
5707
5857
  return {
@@ -5713,14 +5863,14 @@ function be(e = "") {
5713
5863
  const a = /[^0-9:]/g;
5714
5864
  if (e = e.replaceAll(a, ""), !e)
5715
5865
  return "";
5716
- const [t, l] = e.split(":"), n = we(t), i = we(l), s = n < 12 ? "AM" : "PM";
5717
- return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${s}`;
5866
+ const [t, l] = e.split(":"), n = we(t), i = we(l), d = n < 12 ? "AM" : "PM";
5867
+ return isNaN(n) || isNaN(i) || n > 23 || i > 59 ? "" : `${n % 12 || 12}:${l} ${d}`;
5718
5868
  }
5719
- function vo(e = "") {
5720
- const { hours: a, minutes: t } = ho(e);
5869
+ function bo(e = "") {
5870
+ const { hours: a, minutes: t } = mo(e);
5721
5871
  return isNaN(a) || isNaN(t) ? "" : `${a.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
5722
5872
  }
5723
- const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5873
+ const Ge = "excluded", He = "over", mt = "skip", bt = "stop", Ke = "under", go = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5724
5874
  __name: "BsTimePicker",
5725
5875
  props: {
5726
5876
  disabled: {
@@ -5785,102 +5935,102 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
5785
5935
  },
5786
5936
  emits: ["update:modelValue"],
5787
5937
  setup(e, { expose: a, emit: t }) {
5788
- const l = e, n = t, i = k(be(l.modelValue)), s = k([]), o = k(""), d = k(!1);
5938
+ const l = e, n = t, i = k(be(l.modelValue)), d = k([]), o = k(""), s = k(!1);
5789
5939
  function r() {
5790
- const $ = [];
5791
- let y = !1;
5792
- for (let g = 0; g < 24 && !y; g++)
5940
+ const B = [];
5941
+ let w = !1;
5942
+ for (let y = 0; y < 24 && !w; y++)
5793
5943
  for (let M = 0; M < 60; M += l.step) {
5794
- const T = b(g, M), q = m(T);
5944
+ const V = b(y, M), q = m(V);
5795
5945
  if (q !== mt) {
5796
5946
  if (q === bt) {
5797
- y = !0;
5947
+ w = !0;
5798
5948
  break;
5799
5949
  }
5800
- $.push({
5801
- label: be(T),
5802
- value: T
5950
+ B.push({
5951
+ label: be(V),
5952
+ value: V
5803
5953
  });
5804
5954
  }
5805
5955
  }
5806
- return $;
5956
+ return B;
5807
5957
  }
5808
- function f($) {
5809
- return $ ? l.minTime && $ < l.minTime ? He : l.maxTime && $ > l.maxTime ? Ge : l.disabledTimes.includes($) ? We : "" : "";
5958
+ function f(B) {
5959
+ return B ? l.minTime && B < l.minTime ? Ke : l.maxTime && B > l.maxTime ? He : l.disabledTimes.includes(B) ? Ge : "" : "";
5810
5960
  }
5811
- function m($) {
5812
- switch (f($)) {
5813
- case Ge:
5814
- return bt;
5961
+ function m(B) {
5962
+ switch (f(B)) {
5815
5963
  case He:
5816
- case We:
5964
+ return bt;
5965
+ case Ke:
5966
+ case Ge:
5817
5967
  return mt;
5818
5968
  default:
5819
5969
  return "";
5820
5970
  }
5821
5971
  }
5822
- function b($, y) {
5823
- return $ = $.toString().padStart(2, "0"), y = y.toString().padStart(2, "0"), `${$}:${y}`;
5972
+ function b(B, w) {
5973
+ return B = B.toString().padStart(2, "0"), w = w.toString().padStart(2, "0"), `${B}:${w}`;
5824
5974
  }
5825
- function S($) {
5826
- const y = vo($);
5827
- y === l.modelValue && (i.value = be(l.modelValue)), B(y);
5975
+ function g(B) {
5976
+ const w = bo(B);
5977
+ w === l.modelValue && (i.value = be(l.modelValue)), I(w);
5828
5978
  }
5829
- function w() {
5830
- s.value = r();
5979
+ function S() {
5980
+ d.value = r();
5831
5981
  }
5832
- function B($) {
5833
- h($), n("update:modelValue", $);
5982
+ function I(B) {
5983
+ h(B), n("update:modelValue", B);
5834
5984
  }
5835
- function h($) {
5836
- switch (f($)) {
5837
- case Ge:
5838
- o.value = `Time must be before ${be(l.maxTime)}`, d.value = !0;
5839
- break;
5985
+ function h(B) {
5986
+ switch (f(B)) {
5840
5987
  case He:
5841
- o.value = `Time must be after ${be(l.minTime)}`, d.value = !0;
5988
+ o.value = `Time must be before ${be(l.maxTime)}`, s.value = !0;
5989
+ break;
5990
+ case Ke:
5991
+ o.value = `Time must be after ${be(l.minTime)}`, s.value = !0;
5842
5992
  break;
5843
- case We:
5844
- o.value = `The following times are disabled: ${l.disabledTimes.map((g) => be(g)).join(", ")}`, d.value = !0;
5993
+ case Ge:
5994
+ o.value = `The following times are disabled: ${l.disabledTimes.map((y) => be(y)).join(", ")}`, s.value = !0;
5845
5995
  break;
5846
5996
  default:
5847
- o.value = "", d.value = !1;
5997
+ o.value = "", s.value = !1;
5848
5998
  }
5849
5999
  }
5850
- return H(w), j([
6000
+ return H(S), j([
5851
6001
  () => l.disabledTimes,
5852
6002
  () => l.maxTime,
5853
6003
  () => l.minTime,
5854
6004
  () => l.step
5855
- ], w), j([
6005
+ ], S), j([
5856
6006
  () => l.disabledTimes,
5857
6007
  () => l.maxTime,
5858
6008
  () => l.minTime,
5859
6009
  () => l.modelValue
5860
- ], () => h(l.modelValue)), j(() => l.modelValue, ($) => {
5861
- i.value = l.modelValue ? be($) : "";
6010
+ ], () => h(l.modelValue)), j(() => l.modelValue, (B) => {
6011
+ i.value = l.modelValue ? be(B) : "";
5862
6012
  }), a({
5863
- validationErr: d,
6013
+ validationErr: s,
5864
6014
  validationErrMsg: o
5865
- }), ($, y) => (u(), V(At, {
6015
+ }), (B, w) => (u(), A(Ot, {
5866
6016
  disabled: e.disabled,
5867
6017
  "display-value": i.value,
5868
6018
  "dropdown-position": e.dropdownPosition,
5869
6019
  "dropdown-width": e.dropdownWidth,
5870
- error: e.error || d.value,
6020
+ error: e.error || s.value,
5871
6021
  "helper-description": e.helperDescription,
5872
6022
  "helper-text": e.helperText,
5873
6023
  "hint-id": e.hintId,
5874
6024
  "input-id": e.inputId,
5875
6025
  "model-value": e.modelValue,
5876
- options: s.value,
6026
+ options: d.value,
5877
6027
  placeholder: e.placeholder,
5878
6028
  required: e.required,
5879
6029
  "update-on-input": !1,
5880
- "onUpdate:modelValue": S
6030
+ "onUpdate:modelValue": g
5881
6031
  }, null, 8, ["disabled", "display-value", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "model-value", "options", "placeholder", "required"]));
5882
6032
  }
5883
- }), ci = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6033
+ }), hi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
5884
6034
  __name: "BsTimePickerField",
5885
6035
  props: {
5886
6036
  disabled: {
@@ -5949,64 +6099,64 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
5949
6099
  },
5950
6100
  emits: ["update:modelValue"],
5951
6101
  setup(e, { expose: a, emit: t }) {
5952
- const l = e, [n, i] = X(2), s = k(null), o = p(() => l.errorMsg || m.value), d = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || d.value && o.value), m = p(() => {
5953
- var S;
5954
- return (S = s.value) == null ? void 0 : S.validationErrMsg;
6102
+ const l = e, [n, i] = Z(2), d = k(null), o = p(() => l.errorMsg || m.value), s = p(() => l.error || b.value), r = p(() => l.inputId || n.value), f = p(() => l.hint || s.value && o.value), m = p(() => {
6103
+ var g;
6104
+ return (g = d.value) == null ? void 0 : g.validationErrMsg;
5955
6105
  }), b = p(() => {
5956
- var S;
5957
- return (S = s.value) == null ? void 0 : S.validationErr;
6106
+ var g;
6107
+ return (g = d.value) == null ? void 0 : g.validationErr;
5958
6108
  });
5959
6109
  return a({
5960
6110
  validationErr: b,
5961
6111
  validationErrMsg: m
5962
- }), (S, w) => (u(), v("div", N({
6112
+ }), (g, S) => (u(), v("div", z({
5963
6113
  "aria-live": "polite",
5964
6114
  "data-component": "bs-time-picker-field"
5965
- }, c(Y)(S.$attrs, c(he)).remaining), [
5966
- e.label || S.$slots.label ? (u(), V(ae, {
6115
+ }, c(Y)(g.$attrs, c(ve)).remaining), [
6116
+ e.label || g.$slots.label ? (u(), A(ae, {
5967
6117
  key: 0,
5968
- for: S.$attrs.id || r.value,
6118
+ for: g.$attrs.id || r.value,
5969
6119
  disabled: e.disabled,
5970
6120
  required: e.required
5971
6121
  }, {
5972
6122
  default: L(() => [
5973
- E(S.$slots, "label", {}, () => [
5974
- W(A(e.label), 1)
6123
+ E(g.$slots, "label", {}, () => [
6124
+ U(T(e.label), 1)
5975
6125
  ])
5976
6126
  ]),
5977
6127
  _: 3
5978
6128
  }, 8, ["for", "disabled", "required"])) : C("", !0),
5979
- D(mo, N({
6129
+ D(go, z({
5980
6130
  ref_key: "timePicker",
5981
- ref: s,
6131
+ ref: d,
5982
6132
  disabled: e.disabled,
5983
6133
  "disabled-times": e.disabledTimes,
5984
6134
  "dropdown-position": e.dropdownPosition,
5985
6135
  "dropdown-width": e.dropdownWidth,
5986
- error: d.value,
6136
+ error: s.value,
5987
6137
  "helper-description": e.helperDescription,
5988
6138
  "helper-text": e.helperText,
5989
6139
  "hint-id": c(i),
5990
- "input-id": S.$attrs.id || r.value,
6140
+ "input-id": g.$attrs.id || r.value,
5991
6141
  "max-time": e.maxTime,
5992
6142
  "min-time": e.minTime,
5993
6143
  "model-value": e.modelValue,
5994
6144
  placeholder: e.placeholder,
5995
6145
  required: e.required,
5996
6146
  step: e.step,
5997
- "onUpdate:modelValue": w[0] || (w[0] = (B) => S.$emit("update:modelValue", B))
5998
- }, c(Y)(S.$attrs, c(he)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
5999
- de(D(ge, {
6000
- error: d.value,
6147
+ "onUpdate:modelValue": S[0] || (S[0] = (I) => g.$emit("update:modelValue", I))
6148
+ }, c(Y)(g.$attrs, c(ve)).filtered), null, 16, ["disabled", "disabled-times", "dropdown-position", "dropdown-width", "error", "helper-description", "helper-text", "hint-id", "input-id", "max-time", "min-time", "model-value", "placeholder", "required", "step"]),
6149
+ ue(D(ge, {
6150
+ error: s.value,
6001
6151
  "error-msg": o.value,
6002
6152
  hint: e.hint,
6003
6153
  "hint-id": c(i)
6004
6154
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
6005
- [ue, f.value]
6155
+ [ce, f.value]
6006
6156
  ])
6007
6157
  ], 16));
6008
6158
  }
6009
- }), bo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], go = ["data-status"], yo = { class: "visually-hidden" }, fi = {
6159
+ }), yo = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], So = ["data-status"], wo = { class: "visually-hidden" }, vi = {
6010
6160
  __name: "BsTimeline",
6011
6161
  props: {
6012
6162
  /** @type {Status} */
@@ -6035,19 +6185,19 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
6035
6185
  },
6036
6186
  setup(e) {
6037
6187
  const a = e, t = {
6038
- cancelled: Ht,
6039
- complete: Kt,
6040
- error: Yt,
6041
- "in-progress": Zt,
6188
+ cancelled: Kt,
6189
+ complete: Yt,
6190
+ error: Zt,
6191
+ "in-progress": Xt,
6042
6192
  "not-started": dt,
6043
- ongoing: Xt,
6044
- paused: Qt,
6045
- warning: It
6046
- }, { progressStep: l, progressText: n, getStatus: i } = Et(a);
6047
- function s(o, d) {
6048
- return o = i(o, d), t[o] || dt;
6049
- }
6050
- return (o, d) => (u(), v("div", {
6193
+ ongoing: Qt,
6194
+ paused: Jt,
6195
+ warning: kt
6196
+ }, { progressStep: l, progressText: n, getStatus: i } = Dt(a);
6197
+ function d(o, s) {
6198
+ return o = i(o, s), t[o] || dt;
6199
+ }
6200
+ return (o, s) => (u(), v("div", {
6051
6201
  "aria-valuemax": e.steps.length,
6052
6202
  "aria-valuenow": c(l),
6053
6203
  "aria-valuetext": c(n),
@@ -6060,18 +6210,18 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
6060
6210
  key: r.id || r.label,
6061
6211
  role: "status"
6062
6212
  }, [
6063
- (u(), V(te(s(r.status, f)), {
6213
+ (u(), A(te(d(r.status, f)), {
6064
6214
  class: "bs-step-icon",
6065
6215
  role: "presentation"
6066
6216
  })),
6067
- I("p", null, [
6068
- W(A(r.label || r) + " ", 1),
6069
- I("span", yo, " : " + A(c(i)(r.status, f) || "not started"), 1)
6217
+ $("p", null, [
6218
+ U(T(r.label || r) + " ", 1),
6219
+ $("span", wo, " : " + T(c(i)(r.status, f) || "not started"), 1)
6070
6220
  ])
6071
- ], 8, go))), 128))
6072
- ], 8, bo));
6221
+ ], 8, So))), 128))
6222
+ ], 8, yo));
6073
6223
  }
6074
- }, So = ["data-variant", "data-shown", "data-stacked"], pi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6224
+ }, $o = ["data-variant", "data-shown", "data-stacked"], mi = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
6075
6225
  __name: "BsToast",
6076
6226
  props: {
6077
6227
  shown: {
@@ -6119,38 +6269,38 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
6119
6269
  setup(e, { emit: a }) {
6120
6270
  const t = e, l = a, { transition: n } = Le(t);
6121
6271
  let i = null;
6122
- ce("variant", t.variant), ce("handleDismiss", o);
6123
- const s = fe("stacked", t.stacked);
6272
+ fe("variant", t.variant), fe("handleDismiss", o);
6273
+ const d = pe("stacked", t.stacked);
6124
6274
  function o() {
6125
6275
  i && (clearTimeout(i), i = null), l("dismiss", t.toastId);
6126
6276
  }
6127
- function d() {
6277
+ function s() {
6128
6278
  t.duration > 0 && (i = setTimeout(() => {
6129
6279
  o();
6130
6280
  }, t.duration)), l("after-enter");
6131
6281
  }
6132
- return (r, f) => (u(), V(qe, {
6282
+ return (r, f) => (u(), A(qe, {
6133
6283
  name: "bs-toast",
6134
6284
  shown: c(n),
6135
6285
  preloaded: e.preloaded,
6136
- onAfterEnter: d,
6286
+ onAfterEnter: s,
6137
6287
  onAfterLeave: f[0] || (f[0] = (m) => l("after-leave"))
6138
6288
  }, {
6139
6289
  default: L(() => [
6140
- I("div", N({
6290
+ $("div", z({
6141
6291
  class: "bs-toast",
6142
6292
  "data-variant": e.variant,
6143
6293
  "data-shown": c(n),
6144
- "data-stacked": c(s) || void 0,
6294
+ "data-stacked": c(d) || void 0,
6145
6295
  role: "alert"
6146
6296
  }, r.$attrs), [
6147
6297
  E(r.$slots, "default")
6148
- ], 16, So)
6298
+ ], 16, $o)
6149
6299
  ]),
6150
6300
  _: 3
6151
6301
  }, 8, ["shown", "preloaded"]));
6152
6302
  }
6153
- }), wo = ["data-stacked"], hi = {
6303
+ }), Bo = ["data-stacked"], bi = {
6154
6304
  __name: "BsToastActions",
6155
6305
  setup(e) {
6156
6306
  const a = k(!1);
@@ -6159,69 +6309,69 @@ const We = "excluded", Ge = "over", mt = "skip", bt = "stop", He = "under", mo =
6159
6309
  const l = yt();
6160
6310
  ((n = l.default) == null ? void 0 : n.call(l).length) > 2 && (a.value = !0);
6161
6311
  });
6162
- const t = fe("handleDismiss");
6312
+ const t = pe("handleDismiss");
6163
6313
  return (l, n) => (u(), v("div", {
6164
6314
  class: "bs-toast-actions",
6165
6315
  "data-stacked": a.value || void 0
6166
6316
  }, [
6167
6317
  E(l.$slots, "default", {}, () => [
6168
- D(Ia, {
6318
+ D(ka, {
6169
6319
  size: "sm",
6170
6320
  "text-btn": "",
6171
6321
  onClick: c(t)
6172
6322
  }, {
6173
6323
  default: L(() => [
6174
- W(" Dismiss ")
6324
+ U(" Dismiss ")
6175
6325
  ]),
6176
6326
  _: 1
6177
6327
  }, 8, ["onClick"])
6178
6328
  ])
6179
- ], 8, wo));
6329
+ ], 8, Bo));
6180
6330
  }
6181
- }, $o = (e, a) => {
6331
+ }, Io = (e, a) => {
6182
6332
  const t = e.__vccOpts || e;
6183
6333
  for (const [l, n] of a)
6184
6334
  t[l] = n;
6185
6335
  return t;
6186
- }, Bo = {}, Io = { class: "bs-toast-body" };
6187
- function ko(e, a) {
6188
- return u(), v("div", Io, [
6336
+ }, ko = {}, Co = { class: "bs-toast-body" };
6337
+ function xo(e, a) {
6338
+ return u(), v("div", Co, [
6189
6339
  E(e.$slots, "default")
6190
6340
  ]);
6191
6341
  }
6192
- const vi = /* @__PURE__ */ $o(Bo, [["render", ko]]), Co = ["data-variant"], mi = {
6342
+ const gi = /* @__PURE__ */ Io(ko, [["render", xo]]), To = ["data-variant"], yi = {
6193
6343
  __name: "BsToastHeader",
6194
6344
  setup(e) {
6195
- const a = fe("variant"), t = p(() => {
6345
+ const a = pe("variant"), t = p(() => {
6196
6346
  switch (a) {
6197
6347
  case "warning":
6198
- return Ze;
6348
+ return Xe;
6199
6349
  case "positive":
6200
- return Jt;
6350
+ return _t;
6201
6351
  case "negative":
6202
- return Ze;
6352
+ return Xe;
6203
6353
  default:
6204
- return It;
6354
+ return kt;
6205
6355
  }
6206
6356
  });
6207
6357
  return (l, n) => (u(), v("div", {
6208
6358
  class: "bs-toast-header",
6209
6359
  "data-variant": c(a)
6210
6360
  }, [
6211
- (u(), V(te(t.value), { class: "bs-toast-header-icon" })),
6212
- I("h5", null, [
6361
+ (u(), A(te(t.value), { class: "bs-toast-header-icon" })),
6362
+ $("h5", null, [
6213
6363
  E(l.$slots, "default")
6214
6364
  ])
6215
- ], 8, Co));
6365
+ ], 8, To));
6216
6366
  }
6217
- }, xo = { class: "bs-toaster" }, bi = {
6367
+ }, Ao = { class: "bs-toaster" }, Si = {
6218
6368
  __name: "BsToaster",
6219
6369
  setup(e) {
6220
- return ce("stacked", !0), (a, t) => (u(), v("div", xo, [
6370
+ return fe("stacked", !0), (a, t) => (u(), v("div", Ao, [
6221
6371
  E(a.$slots, "default")
6222
6372
  ]));
6223
6373
  }
6224
- }, To = ["data-position"], Ao = ["id"], gi = {
6374
+ }, Vo = ["data-position"], Oo = ["id"], wi = {
6225
6375
  __name: "BsTooltip",
6226
6376
  props: {
6227
6377
  tooltipId: {
@@ -6252,23 +6402,23 @@ const vi = /* @__PURE__ */ $o(Bo, [["render", ko]]), Co = ["data-variant"], mi =
6252
6402
  let o = "bs-tooltip-text";
6253
6403
  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;
6254
6404
  });
6255
- pe(["Escape"], () => {
6405
+ he(["Escape"], () => {
6256
6406
  t.value && (t.value = !1, l.value = !0);
6257
6407
  });
6258
6408
  function i() {
6259
6409
  t.value = !0;
6260
6410
  }
6261
- function s() {
6411
+ function d() {
6262
6412
  t.value = !1, l.value = !1;
6263
6413
  }
6264
- return (o, d) => (u(), v("div", {
6414
+ return (o, s) => (u(), v("div", {
6265
6415
  class: "bs-tooltip",
6266
6416
  "data-position": e.position || void 0,
6267
6417
  "data-component": "bs-tooltip",
6268
6418
  onMouseenter: i,
6269
6419
  onFocusin: i,
6270
- onMouseleave: s,
6271
- onFocusout: s
6420
+ onMouseleave: d,
6421
+ onFocusout: d
6272
6422
  }, [
6273
6423
  E(o.$slots, "default"),
6274
6424
  e.content ? (u(), v("div", {
@@ -6276,68 +6426,69 @@ const vi = /* @__PURE__ */ $o(Bo, [["render", ko]]), Co = ["data-variant"], mi =
6276
6426
  class: ie(n.value),
6277
6427
  id: e.tooltipId,
6278
6428
  role: "tooltip"
6279
- }, A(e.content), 11, Ao)) : C("", !0)
6280
- ], 40, To));
6429
+ }, T(e.content), 11, Oo)) : C("", !0)
6430
+ ], 40, Vo));
6281
6431
  }
6282
6432
  };
6283
6433
  export {
6284
- zo as BsAccordion,
6285
- Sa as BsBadge,
6286
- No as BsBanner,
6287
- Ia as BsButton,
6288
- Ro as BsCalendar,
6289
- Fo as BsCaretButton,
6290
- jo as BsCaretTextButton,
6291
- Uo as BsChartBar,
6292
- Wo as BsCheckbox,
6293
- Ct as BsCircleButton,
6434
+ Ro as BsAccordion,
6435
+ wa as BsBadge,
6436
+ Fo as BsBanner,
6437
+ ka as BsButton,
6438
+ jo as BsCalendar,
6439
+ Wo as BsCaretButton,
6440
+ Uo as BsCaretTextButton,
6441
+ Go as BsChartBar,
6442
+ Ho as BsCheckbox,
6443
+ xt as BsCircleButton,
6294
6444
  lt as BsDropdown,
6295
- At as BsDropdownCombobox,
6296
- Go as BsDropdownComboboxField,
6297
- Vt as BsDropdownMultiselect,
6445
+ Ot as BsDropdownCombobox,
6446
+ Ko as BsDropdownComboboxField,
6447
+ Et as BsDropdownMultiselect,
6298
6448
  ot as BsDropdownOption,
6299
6449
  Pe as BsDropdownOptionBuilder,
6300
- Re as BsDropdownOptionList,
6301
- Ot as BsDropdownWithOptions,
6302
- En as BsDropdownWithToggle,
6303
- Ho as BsEmptyState,
6450
+ Fe as BsDropdownOptionList,
6451
+ Lt as BsDropdownWithOptions,
6452
+ Vt as BsDropdownWithToggle,
6453
+ Yo as BsEmptyState,
6304
6454
  ge as BsFieldDetails,
6305
- wn as BsFilterButton,
6306
- Ko as BsFlyout,
6307
- Yo as BsIconGradientWrapper,
6455
+ $n as BsFilterButton,
6456
+ Zo as BsFlyout,
6457
+ Xo as BsIconGradientWrapper,
6308
6458
  Ie as BsInput,
6309
6459
  De as BsInputAddon,
6310
- Zo as BsInputField,
6311
- Xo as BsInputPhone,
6460
+ Qo as BsInputField,
6461
+ Jo as BsInputPhone,
6312
6462
  el as BsInputSearch,
6313
- Qo as BsInputTypeahead,
6463
+ _o as BsInputTypeahead,
6314
6464
  ae as BsLabel,
6315
- Jo as BsLoader,
6316
- _o as BsModal,
6465
+ ei as BsLoader,
6466
+ ti as BsModal,
6317
6467
  bl as BsOverlay,
6318
- ei as BsPagination,
6319
- ti as BsPill,
6320
- ai as BsProfile,
6468
+ ai as BsPagination,
6469
+ ni as BsPill,
6470
+ li as BsProfile,
6321
6471
  Gl as BsProfileDetails,
6322
- Tt as BsProfileImg,
6323
- ni as BsProgressBar,
6324
- li as BsRadio,
6472
+ At as BsProfileImg,
6473
+ oi as BsProgressBar,
6474
+ ii as BsRadio,
6325
6475
  Ql as BsSelect,
6326
- oi as BsSelectField,
6476
+ ri as BsSelectField,
6477
+ si as BsSelectWithDropdown,
6327
6478
  vt as BsSpinner,
6328
- ii as BsSwitch,
6329
- ri as BsTab,
6330
- si as BsTabList,
6331
- di as BsTabPanel,
6332
- fo as BsTextarea,
6333
- ui as BsTextareaField,
6334
- mo as BsTimePicker,
6335
- ci as BsTimePickerField,
6336
- fi as BsTimeline,
6337
- pi as BsToast,
6338
- hi as BsToastActions,
6339
- vi as BsToastBody,
6340
- mi as BsToastHeader,
6341
- bi as BsToaster,
6342
- gi as BsTooltip
6479
+ di as BsSwitch,
6480
+ ui as BsTab,
6481
+ ci as BsTabList,
6482
+ fi as BsTabPanel,
6483
+ ho as BsTextarea,
6484
+ pi as BsTextareaField,
6485
+ go as BsTimePicker,
6486
+ hi as BsTimePickerField,
6487
+ vi as BsTimeline,
6488
+ mi as BsToast,
6489
+ bi as BsToastActions,
6490
+ gi as BsToastBody,
6491
+ yi as BsToastHeader,
6492
+ Si as BsToaster,
6493
+ wi as BsTooltip
6343
6494
  };