@wwtdev/bsds-components-vue3 2.3.2 → 2.3.4

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,29 +1,29 @@
1
- import { computed as p, ref as m, onMounted as W, onUnmounted as oe, shallowRef as ut, watch as N, defineAsyncComponent as Re, openBlock as u, createElementBlock as v, unref as f, createElementVNode as g, renderSlot as E, createBlock as V, resolveDynamicComponent as J, createCommentVNode as w, toDisplayString as T, createVNode as D, normalizeClass as ae, Fragment as j, useAttrs as ie, mergeProps as z, withCtx as O, toHandlers as Pe, onBeforeUnmount as at, onBeforeMount as nt, createTextVNode as F, renderList as Z, withDirectives as Be, Transition as Ke, vShow as $e, provide as re, Teleport as ct, normalizeStyle as ft, inject as se, withModifiers as Ye, nextTick as me, isRef as pt, useSlots as vt } from "vue";
2
- import { v4 as lt } from "uuid";
3
- import { BsIconCaretDown as ot, BsIconWarning as ze, BsIconClose as Se, BsIconCalendar as it, BsIconCaretSort as ht, BsIconSearch as bt, BsIconCaretLeftDouble as mt, BsIconCaretLeft as gt, BsIconCaretRight as yt, BsIconCaretRightDouble as Bt, BsIconActionEllipsis as $t, BsIconCircleExclamation as St, BsIconThumbsUpStroke as wt } from "@wwtdev/bsds-icons-vue3";
1
+ import { computed as v, ref as g, onMounted as K, onUnmounted as oe, shallowRef as ut, watch as N, defineAsyncComponent as Re, openBlock as d, createElementBlock as b, unref as p, createElementVNode as y, renderSlot as E, createBlock as V, resolveDynamicComponent as J, createCommentVNode as w, toDisplayString as A, createVNode as D, normalizeClass as te, Fragment as G, useAttrs as ie, mergeProps as z, withCtx as O, toHandlers as Me, onBeforeUnmount as tt, onBeforeMount as at, nextTick as fe, createTextVNode as W, renderList as Z, withDirectives as $e, Transition as Ke, vShow as Se, provide as re, Teleport as ct, normalizeStyle as ft, inject as se, isRef as pt, useSlots as vt } from "vue";
2
+ import { v4 as nt } from "uuid";
3
+ import { BsIconCaretDown as lt, BsIconWarning as ze, BsIconClose as we, BsIconCalendar as ot, BsIconCaretSort as ht, BsIconSearch as bt, BsIconCaretLeftDouble as mt, BsIconCaretLeft as gt, BsIconCaretRight as yt, BsIconCaretRightDouble as Bt, BsIconActionEllipsis as $t, BsIconCircleExclamation as St, BsIconThumbsUpStroke as wt } from "@wwtdev/bsds-icons-vue3";
4
4
  import { DatePicker as kt } from "v-calendar";
5
5
  import { Chart as qe, BarController as It, BarElement as Ct, CategoryScale as Tt, LinearScale as xt, Legend as At, Tooltip as Lt } from "chart.js";
6
- import { getSupportedCallingCodes as Vt, getRegionCodeForCountryCode as Et, parsePhoneNumber as Qe } from "awesome-phonenumber";
7
- const Xe = {
6
+ import { getSupportedCallingCodes as Vt, getRegionCodeForCountryCode as Et, parsePhoneNumber as Ye } from "awesome-phonenumber";
7
+ const Qe = {
8
8
  href: "a",
9
9
  linkTo: "a",
10
10
  onclick: "button",
11
11
  onClick: "button",
12
12
  type: "button"
13
13
  };
14
- function we(e, a, t = "button") {
15
- const n = Dt(e, a, t), l = p(() => {
16
- const i = n.value === "button", o = {};
17
- return i ? (o.type = a.type || "button", o.autocomplete = "off", e.disabled && (o.disabled = !0)) : e.disabled && (o["aria-disabled"] = "true", o.tabindex = "-1"), o;
18
- }), r = p(() => {
19
- const i = { ...a, ...l.value };
20
- return delete i.href, i;
21
- }), d = p(() => e.linkTo || e.href);
22
- return { rootTag: n, attrsToBind: r, hrefUrl: d };
14
+ function ke(e, a, t = "button") {
15
+ const n = Dt(e, a, t), l = v(() => {
16
+ const o = n.value === "button", s = {};
17
+ 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;
18
+ }), r = v(() => {
19
+ const o = { ...a, ...l.value };
20
+ return delete o.href, o;
21
+ }), u = v(() => e.linkTo || e.href);
22
+ return { rootTag: n, attrsToBind: r, hrefUrl: u };
23
23
  }
24
24
  function Dt(e, a, t) {
25
- const n = Object.keys(Xe).find((l) => Ot(e, a, l));
26
- return m(Xe[n] || t);
25
+ const n = Object.keys(Qe).find((l) => Ot(e, a, l));
26
+ return g(Qe[n] || t);
27
27
  }
28
28
  function Ot(e, a, t) {
29
29
  return e[t] || a[t];
@@ -35,19 +35,19 @@ const qt = (e, a) => {
35
35
  return (r = l.value) == null ? void 0 : r.contains(n.target);
36
36
  }) || a(n);
37
37
  };
38
- W(() => {
38
+ K(() => {
39
39
  document.addEventListener("click", t);
40
40
  }), oe(() => {
41
41
  document.removeEventListener("click", t);
42
42
  });
43
43
  };
44
- function ke(e) {
45
- const a = p(() => e.linkTo || e.href || ""), t = p(() => {
46
- var r, d;
47
- return ((d = (r = a.value) == null ? void 0 : r.startsWith) == null ? void 0 : d.call(r, "/")) || !1;
48
- }), n = p(() => {
49
- var r, d;
50
- return t.value && ((r = e.router) == null ? void 0 : r.navigateTo) || ((d = e.router) == null ? void 0 : d.push) || null;
44
+ function Ie(e) {
45
+ const a = v(() => e.linkTo || e.href || ""), t = v(() => {
46
+ var r, u;
47
+ return ((u = (r = a.value) == null ? void 0 : r.startsWith) == null ? void 0 : u.call(r, "/")) || !1;
48
+ }), n = v(() => {
49
+ var r, u;
50
+ return t.value && ((r = e.router) == null ? void 0 : r.navigateTo) || ((u = e.router) == null ? void 0 : u.push) || null;
51
51
  });
52
52
  function l(r) {
53
53
  if (e.disabled) {
@@ -60,49 +60,49 @@ function ke(e) {
60
60
  }
61
61
  return { onLinkClick: l };
62
62
  }
63
- function Ze(e) {
63
+ function Xe(e) {
64
64
  return e.split("-").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("");
65
65
  }
66
- const ge = (e, a) => {
66
+ const ye = (e, a) => {
67
67
  function t(l) {
68
68
  if (!l)
69
69
  return null;
70
- const r = l.startsWith("bs-") ? Ze(l) : `BsIcon${Ze(l)}`;
70
+ const r = l.startsWith("bs-") ? Xe(l) : `BsIcon${Xe(l)}`;
71
71
  return Re(async () => {
72
- const { [r]: d } = await import("@wwtdev/bsds-icons-vue3");
73
- return d;
72
+ const { [r]: u } = await import("@wwtdev/bsds-icons-vue3");
73
+ return u;
74
74
  });
75
75
  }
76
76
  const n = ut();
77
77
  return n.value = t(e[a]), N(() => e[a], async (l) => n.value = t(l)), { icon: n };
78
78
  };
79
- function X(e = 1) {
79
+ function Q(e = 1) {
80
80
  const a = [];
81
81
  for (let t = 0; t < e; t++)
82
- a.push(m(""));
83
- return W(() => {
84
- a.forEach((t) => t.value = `id-${lt()}`);
82
+ a.push(g(""));
83
+ return K(() => {
84
+ a.forEach((t) => t.value = `id-${nt()}`);
85
85
  }), a;
86
86
  }
87
- const Ie = (e, a, t = void 0) => {
87
+ const Ce = (e, a, t = void 0) => {
88
88
  const n = (l) => {
89
89
  e.includes(l.key) && a(l);
90
90
  };
91
- W(() => {
91
+ K(() => {
92
92
  ((t == null ? void 0 : t.value) ?? document).addEventListener("keydown", n);
93
93
  }), oe(() => {
94
94
  ((t == null ? void 0 : t.value) ?? document).removeEventListener("keydown", n);
95
95
  });
96
- }, Mt = (e, a, t) => {
96
+ }, Pt = (e, a, t) => {
97
97
  let n = null;
98
- W(() => {
98
+ K(() => {
99
99
  n = new MutationObserver(a), n.observe(e.value, t);
100
100
  }), oe(() => {
101
101
  n.disconnect();
102
102
  });
103
- }, fe = (e) => {
104
- const a = m(!1);
105
- return W(() => {
103
+ }, ve = (e) => {
104
+ const a = g(!1);
105
+ return K(() => {
106
106
  e.enterControlled ? a.value = e.enterTrigger : a.value = e.shown;
107
107
  }), N(() => e.shown, (t) => {
108
108
  a.value = t;
@@ -111,16 +111,17 @@ const Ie = (e, a, t = void 0) => {
111
111
  }), N(() => e.leaveTrigger, (t) => {
112
112
  t && (a.value = !1);
113
113
  }), { transition: a };
114
- }, Pt = ["id", "data-stacked"], zt = ["data-open"], Nt = ["aria-controls", "aria-expanded"], Rt = {
114
+ }, Mt = ["id", "data-stacked"], zt = ["data-open"], Nt = ["aria-controls", "aria-expanded"], Rt = {
115
115
  key: 0,
116
116
  "data-position": "start",
117
117
  style: { display: "inline-flex" }
118
- }, jt = ["id", "aria-level"], Ft = ["aria-labelledby", "data-open", "id"], Ll = {
118
+ }, jt = ["id"], Ft = ["aria-labelledby", "data-open", "id"], Al = {
119
119
  __name: "BsAccordion",
120
120
  props: {
121
121
  controlled: { type: Boolean, default: !1 },
122
122
  icon: { type: String },
123
123
  headerText: { type: String, required: !0 },
124
+ /** @Deprecated */
124
125
  headingLevel: {
125
126
  type: Number,
126
127
  validator: (e) => [2, 3, 4, 5].includes(e)
@@ -131,59 +132,55 @@ const Ie = (e, a, t = void 0) => {
131
132
  },
132
133
  emits: ["toggled"],
133
134
  setup(e, { emit: a }) {
134
- const t = e, n = a, l = m(null), r = m(!1), { icon: d } = ge(t, "icon"), [i] = X(), o = p(() => i.value + "-content"), s = p(() => i.value + "-title"), c = p(() => t.openItemId && t.openItemId === i.value || t.openItem === !0), h = p(() => t.controlled ? c.value : r.value);
135
- function I() {
136
- n("toggled", i.value), t.controlled || (r.value = !r.value);
135
+ const t = e, n = a, l = g(null), r = g(!1), { icon: u } = ye(t, "icon"), [o] = Q(), s = v(() => o.value + "-content"), i = v(() => o.value + "-title"), c = v(() => t.openItemId && t.openItemId === o.value || t.openItem === !0), f = v(() => t.controlled ? c.value : r.value);
136
+ function x() {
137
+ n("toggled", o.value), t.controlled || (r.value = !r.value);
137
138
  }
138
- return ($, x) => (u(), v("div", {
139
- id: f(i),
139
+ return (m, T) => (d(), b("div", {
140
+ id: p(o),
140
141
  ref_key: "containerRef",
141
142
  ref: l,
142
143
  class: "bs-accordion",
143
144
  "data-component": "bs-accordion",
144
145
  "data-stacked": e.stacked
145
146
  }, [
146
- g("header", {
147
+ y("header", {
147
148
  part: "header",
148
- "data-open": h.value
149
+ "data-open": f.value
149
150
  }, [
150
- g("button", {
151
- "aria-controls": o.value,
152
- "aria-expanded": h.value,
151
+ y("button", {
152
+ "aria-controls": s.value,
153
+ "aria-expanded": f.value,
153
154
  type: "button",
154
- onClick: I
155
+ onClick: x
155
156
  }, [
156
- e.icon || $.$slots.icon ? (u(), v("span", Rt, [
157
- E($.$slots, "icon", {}, () => [
158
- e.icon ? (u(), V(J(f(d) ? f(d) : "span"), { key: 0 })) : w("", !0)
157
+ e.icon || m.$slots.icon ? (d(), b("span", Rt, [
158
+ E(m.$slots, "icon", {}, () => [
159
+ e.icon ? (d(), V(J(p(u) ? p(u) : "span"), { key: 0 })) : w("", !0)
159
160
  ])
160
161
  ])) : w("", !0),
161
- g("span", {
162
- id: s.value,
163
- "aria-level": e.headingLevel,
164
- role: "heading"
165
- }, T(e.headerText), 9, jt),
166
- D(f(ot), {
162
+ y("span", { id: i.value }, A(e.headerText), 9, jt),
163
+ D(p(lt), {
167
164
  size: "md",
168
165
  "data-position": "end"
169
166
  })
170
167
  ], 8, Nt)
171
168
  ], 8, zt),
172
- g("div", {
173
- "aria-labelledby": s.value,
169
+ y("div", {
170
+ "aria-labelledby": i.value,
174
171
  class: "bs-accordion-content",
175
- "data-open": h.value,
176
- id: o.value,
172
+ "data-open": f.value,
173
+ id: s.value,
177
174
  part: "content",
178
175
  role: "region"
179
176
  }, [
180
- g("div", null, [
181
- E($.$slots, "default")
177
+ y("div", null, [
178
+ E(m.$slots, "default")
182
179
  ])
183
180
  ], 8, Ft)
184
- ], 8, Pt));
181
+ ], 8, Mt));
185
182
  }
186
- }, Ut = ["data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant", "aria-label"], Wt = {
183
+ }, Ut = ["aria-label", "data-badge-color", "data-count", "data-position", "data-show-zero", "data-variant"], Wt = {
187
184
  __name: "BsBadge",
188
185
  props: {
189
186
  /** Pass value to set `data-badge-color`. */
@@ -230,25 +227,26 @@ const Ie = (e, a, t = void 0) => {
230
227
  }
231
228
  },
232
229
  setup(e) {
233
- const a = e, t = m(null), n = p(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), l = p(() => {
234
- var o, s;
235
- const r = ((s = (o = t.value) == null ? void 0 : o.textContent) == null ? void 0 : s.trim()) || "", d = n.value ? n.value + " " : "";
236
- if (!d && !a.dot)
230
+ const a = e, t = g(null), n = v(() => a.count === 0 ? "0" : !a.count || a.dot ? null : a.count > a.countMax ? a.countMax + "+" : a.count.toString()), l = v(() => {
231
+ var s, i;
232
+ const r = ((i = (s = t.value) == null ? void 0 : s.textContent) == null ? void 0 : i.trim()) || "", u = n.value ? n.value + " " : "";
233
+ if (!u && !a.dot)
237
234
  return r;
238
- const i = a.count !== 1 ? "s" : "";
239
- return `${r ? `${r}, ` : ""}${d}${a.label}${i}`;
235
+ const o = a.count !== 1 ? "s" : "";
236
+ return `${r ? `${r}, ` : ""}${u}${a.label}${o}`;
240
237
  });
241
- return (r, d) => (u(), v("span", {
238
+ return (r, u) => (d(), b("span", {
242
239
  ref_key: "hostRef",
243
240
  ref: t,
244
- class: ae({ "bs-badge": e.dot || n.value }),
241
+ "aria-label": l.value,
242
+ class: te({ "bs-badge": e.dot || n.value }),
245
243
  "data-badge-color": e.color,
246
244
  "data-component": "bs-badge",
247
245
  "data-count": n.value,
248
246
  "data-position": e.position,
249
247
  "data-show-zero": e.showZero,
250
248
  "data-variant": e.variant,
251
- "aria-label": l.value
249
+ role: "status"
252
250
  }, [
253
251
  e.variant !== "notext" ? E(r.$slots, "default", { key: 0 }) : w("", !0)
254
252
  ], 10, Ut));
@@ -257,28 +255,28 @@ const Ie = (e, a, t = void 0) => {
257
255
  key: 0,
258
256
  role: "alert",
259
257
  class: "bs-banner"
260
- }, Ht = { class: "bs-banner-content" }, Kt = { class: "bs-banner-warning-icon" }, Vl = {
258
+ }, Ht = { class: "bs-banner-content" }, Kt = { class: "bs-banner-warning-icon" }, Ll = {
261
259
  __name: "BsBanner",
262
260
  emits: ["dismiss"],
263
261
  setup(e, { emit: a }) {
264
- const t = a, n = m(!1);
262
+ const t = a, n = g(!1);
265
263
  function l() {
266
264
  n.value = !0, t("dismiss");
267
265
  }
268
- return (r, d) => n.value ? w("", !0) : (u(), v("div", Gt, [
269
- g("div", Ht, [
270
- g("div", Kt, [
271
- D(f(ze), { size: "lg" })
266
+ return (r, u) => n.value ? w("", !0) : (d(), b("div", Gt, [
267
+ y("div", Ht, [
268
+ y("div", Kt, [
269
+ D(p(ze), { size: "lg" })
272
270
  ]),
273
- g("p", null, [
271
+ y("p", null, [
274
272
  E(r.$slots, "default")
275
273
  ]),
276
- g("button", {
274
+ y("button", {
277
275
  type: "button",
278
276
  title: "Close Banner",
279
277
  onClick: l
280
278
  }, [
281
- D(f(Se))
279
+ D(p(we))
282
280
  ])
283
281
  ])
284
282
  ]));
@@ -286,7 +284,7 @@ const Ie = (e, a, t = void 0) => {
286
284
  }, Yt = {
287
285
  class: "bs-field-details",
288
286
  "data-component": "bs-field-details"
289
- }, Qt = ["id", "data-error"], Xt = ["data-error"], pe = {
287
+ }, Qt = ["id", "data-error"], Xt = ["data-error"], he = {
290
288
  __name: "BsFieldDetails",
291
289
  props: {
292
290
  /** The number of characters that have been entered by the user. */
@@ -306,26 +304,26 @@ const Ie = (e, a, t = void 0) => {
306
304
  hintId: String
307
305
  },
308
306
  setup(e) {
309
- const a = e, t = p(() => a.error && a.errorMsg || a.hint);
310
- return (n, l) => (u(), v("div", Yt, [
311
- t.value ? (u(), v("span", {
307
+ const a = e, t = v(() => a.error && a.errorMsg || a.hint);
308
+ return (n, l) => (d(), b("div", Yt, [
309
+ t.value ? (d(), b("span", {
312
310
  key: 0,
313
311
  id: e.hintId,
314
312
  class: "bs-hint",
315
313
  "data-error": e.error
316
- }, T(t.value), 9, Qt)) : w("", !0),
317
- e.charMax ? (u(), v("span", {
314
+ }, A(t.value), 9, Qt)) : w("", !0),
315
+ e.charMax ? (d(), b("span", {
318
316
  key: 1,
319
317
  "aria-description": "character count over character limit for the preceding text field",
320
318
  class: "bs-character-count",
321
319
  "data-error": a.charCount > a.charMax
322
- }, T(a.charCount || "0") + " / " + T(a.charMax), 9, Xt)) : w("", !0)
320
+ }, A(a.charCount || "0") + " / " + A(a.charMax), 9, Xt)) : w("", !0)
323
321
  ]));
324
322
  }
325
- }, Zt = ["data-disabled", "for"], Jt = /* @__PURE__ */ g("span", {
323
+ }, Zt = ["data-disabled", "for"], Jt = /* @__PURE__ */ y("span", {
326
324
  "data-required": "true",
327
325
  "aria-hidden": "true"
328
- }, " *", -1), _t = /* @__PURE__ */ g("span", { class: "visually-hidden" }, "required", -1), ne = {
326
+ }, " *", -1), _t = /* @__PURE__ */ y("span", { class: "visually-hidden" }, "required", -1), ae = {
329
327
  __name: "BsLabel",
330
328
  props: {
331
329
  disabled: { type: Boolean, default: !1 },
@@ -334,22 +332,22 @@ const Ie = (e, a, t = void 0) => {
334
332
  required: { type: Boolean, default: !1 }
335
333
  },
336
334
  setup(e) {
337
- return (a, t) => (u(), v("label", {
338
- class: ae(["bs-label", e.hide ? "visually-hidden" : ""]),
335
+ return (a, t) => (d(), b("label", {
336
+ class: te(["bs-label", e.hide ? "visually-hidden" : ""]),
339
337
  "data-component": "bs-label",
340
338
  "data-disabled": e.disabled,
341
339
  for: e.for
342
340
  }, [
343
- g("span", null, [
341
+ y("span", null, [
344
342
  E(a.$slots, "default")
345
343
  ]),
346
- e.required ? (u(), v(j, { key: 0 }, [
344
+ e.required ? (d(), b(G, { key: 0 }, [
347
345
  Jt,
348
346
  _t
349
347
  ], 64)) : w("", !0)
350
348
  ], 10, Zt));
351
349
  }
352
- }, ea = ["data-error", "id", "value"], ve = {
350
+ }, ea = ["data-error", "id", "value"], be = {
353
351
  __name: "BsInput",
354
352
  props: {
355
353
  error: {
@@ -364,21 +362,21 @@ const Ie = (e, a, t = void 0) => {
364
362
  },
365
363
  emits: ["update:modelValue"],
366
364
  setup(e, { emit: a }) {
367
- const t = e, n = a, l = ie(), r = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
368
- function d(i) {
369
- const o = l.type === "number" ? parseInt(i.target.value) : i.target.value;
370
- n("update:modelValue", o);
365
+ const t = e, n = a, l = ie(), r = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
366
+ function u(o) {
367
+ const s = l.type === "number" ? parseInt(o.target.value) : o.target.value;
368
+ n("update:modelValue", s);
371
369
  }
372
- return (i, o) => (u(), v("input", z({
370
+ return (o, s) => (d(), b("input", z({
373
371
  class: "bs-input",
374
372
  "data-component": "bs-input",
375
373
  "data-error": e.error,
376
- id: i.$attrs.id || e.inputId,
374
+ id: o.$attrs.id || e.inputId,
377
375
  value: e.value || e.modelValue,
378
- onInput: d
376
+ onInput: u
379
377
  }, r.value), null, 16, ea));
380
378
  }
381
- }, ta = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Ce = {
379
+ }, ta = ["data-disabled", "data-error", "data-variant", "data-multifocus"], Te = {
382
380
  __name: "BsInputAddon",
383
381
  props: {
384
382
  disabled: { type: Boolean, default: !1 },
@@ -387,7 +385,7 @@ const Ie = (e, a, t = void 0) => {
387
385
  variant: { type: String, validator: (e) => e === "inner-bordered" }
388
386
  },
389
387
  setup(e) {
390
- return (a, t) => (u(), v("div", {
388
+ return (a, t) => (d(), b("div", {
391
389
  class: "bs-input-addon",
392
390
  "data-component": "bs-input-addon",
393
391
  "data-disabled": e.disabled,
@@ -431,20 +429,20 @@ const Ie = (e, a, t = void 0) => {
431
429
  }
432
430
  },
433
431
  setup(e) {
434
- return (a, t) => (u(), V(Ce, {
432
+ return (a, t) => (d(), V(Te, {
435
433
  disabled: e.disabled,
436
434
  error: e.error
437
435
  }, {
438
436
  default: O(() => [
439
- D(f(it)),
440
- D(ve, z({
437
+ D(p(ot)),
438
+ D(be, z({
441
439
  "data-autowidth": "",
442
440
  disabled: e.disabled,
443
441
  id: e.inputId,
444
442
  "model-value": e.modelValue,
445
443
  placeholder: e.placeholder,
446
444
  required: e.required
447
- }, Pe(e.listeners)), null, 16, ["disabled", "id", "model-value", "placeholder", "required"])
445
+ }, Me(e.listeners)), null, 16, ["disabled", "id", "model-value", "placeholder", "required"])
448
446
  ]),
449
447
  _: 1
450
448
  }, 8, ["disabled", "error"]));
@@ -496,52 +494,52 @@ const na = ["disabled", "id", "model-value"], la = ["disabled", "id", "model-val
496
494
  },
497
495
  emits: ["ui-focusin", "ui-input"],
498
496
  setup(e, { emit: a }) {
499
- const t = a, n = m(null), l = m(null);
500
- function r(s) {
497
+ const t = a, n = g(null), l = g(null);
498
+ function r(i) {
501
499
  const c = new Event("change", { bubbles: !0, cancelable: !0 });
502
- s.dispatchEvent(c);
500
+ i.dispatchEvent(c);
503
501
  }
504
- function d(s) {
505
- const { value: c } = s.target, [h, I] = c.split(/ to | - /);
506
- n.value.value = h || "", l.value.value = I || "", r(n.value), r(l.value);
502
+ function u(i) {
503
+ const { value: c } = i.target, [f, x] = c.split(/ to | - /);
504
+ n.value.value = f || "", l.value.value = x || "", r(n.value), r(l.value);
507
505
  }
508
- const i = Ne(d, 1e3);
509
- function o(s) {
510
- t("ui-input"), i(s);
506
+ const o = Ne(u, 1e3);
507
+ function s(i) {
508
+ t("ui-input"), o(i);
511
509
  }
512
- return (s, c) => (u(), V(Ce, {
510
+ return (i, c) => (d(), V(Te, {
513
511
  disabled: e.disabled,
514
512
  error: e.error
515
513
  }, {
516
514
  default: O(() => [
517
- D(f(it)),
518
- D(ve, {
515
+ D(p(ot)),
516
+ D(be, {
519
517
  "data-autowidth": "",
520
518
  disabled: e.disabled,
521
519
  id: e.inputId,
522
520
  "model-value": e.inputValueFmt,
523
521
  placeholder: e.placeholder,
524
522
  required: e.required,
525
- onFocusin: c[0] || (c[0] = (h) => s.$emit("ui-focusin")),
526
- onInput: o,
527
- onChange: d
523
+ onFocusin: c[0] || (c[0] = (f) => i.$emit("ui-focusin")),
524
+ onInput: s,
525
+ onChange: u
528
526
  }, null, 8, ["disabled", "id", "model-value", "placeholder", "required"]),
529
- g("input", z({
527
+ y("input", z({
530
528
  ref_key: "hiddenStart",
531
529
  ref: n,
532
530
  type: "hidden",
533
531
  disabled: e.disabled,
534
532
  id: `${e.inputId}-start`,
535
533
  "model-value": e.inputValue.start
536
- }, Pe(e.listeners.start, !0)), null, 16, na),
537
- g("input", z({
534
+ }, Me(e.listeners.start, !0)), null, 16, na),
535
+ y("input", z({
538
536
  ref_key: "hiddenEnd",
539
537
  ref: l,
540
538
  type: "hidden",
541
539
  disabled: e.disabled,
542
540
  id: `${e.inputId}-end`,
543
541
  "model-value": e.inputValue.end
544
- }, Pe(e.listeners.end, !0)), null, 16, la)
542
+ }, Me(e.listeners.end, !0)), null, 16, la)
545
543
  ]),
546
544
  _: 1
547
545
  }, 8, ["disabled", "error"]));
@@ -554,24 +552,24 @@ function ia(e) {
554
552
  function ra(e) {
555
553
  return e === " " || e === "Spacebar" || e === "Enter";
556
554
  }
557
- function Je(e) {
555
+ function Ze(e) {
558
556
  ia(e == null ? void 0 : e.target) && ra(e == null ? void 0 : e.key) && e.preventDefault();
559
557
  }
560
558
  function sa(e) {
561
559
  let a;
562
- W(() => {
560
+ K(() => {
563
561
  var t, n, l;
564
- a = (t = e == null ? void 0 : e.value) == null ? void 0 : t.popoverRef, (l = (n = a == null ? void 0 : a.$el) == null ? void 0 : n.addEventListener) == null || l.call(n, "keydown", Je);
565
- }), at(() => {
562
+ a = (t = e == null ? void 0 : e.value) == null ? void 0 : t.popoverRef, (l = (n = a == null ? void 0 : a.$el) == null ? void 0 : n.addEventListener) == null || l.call(n, "keydown", Ze);
563
+ }), tt(() => {
566
564
  var t, n;
567
- (n = (t = a == null ? void 0 : a.$el) == null ? void 0 : t.removeEventListener) == null || n.call(t, "keydown", Je), a = null;
565
+ (n = (t = a == null ? void 0 : a.$el) == null ? void 0 : t.removeEventListener) == null || n.call(t, "keydown", Ze), a = null;
568
566
  });
569
567
  }
570
- function _e(e, a, t = []) {
568
+ function Je(e, a, t = []) {
571
569
  let n;
572
- nt(() => {
570
+ at(() => {
573
571
  n = window.matchMedia(e), n.addEventListener("change", a), a(n);
574
- }), at(() => {
572
+ }), tt(() => {
575
573
  n.removeEventListener("change", a), n = null;
576
574
  }), t.length && N(t, () => a(n));
577
575
  }
@@ -609,7 +607,7 @@ const je = [
609
607
  "rows",
610
608
  "spellcheck",
611
609
  "wrap"
612
- ], ce = [
610
+ ], pe = [
613
611
  "aria-describedby",
614
612
  "aria-label",
615
613
  "autocapitalize",
@@ -630,13 +628,13 @@ const je = [
630
628
  "size",
631
629
  "step"
632
630
  ];
633
- function U(e, a = []) {
631
+ function H(e, a = []) {
634
632
  const t = {}, n = {};
635
633
  return Object.keys(e).forEach((l) => {
636
634
  a.includes(l) ? t[l] = e[l] : n[l] = e[l];
637
635
  }), { filtered: t, remaining: n };
638
636
  }
639
- const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
637
+ const ca = ["data-range"], _e = "(min-width: 752px)", Vl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
640
638
  __name: "BsCalendar",
641
639
  props: {
642
640
  disabled: {
@@ -699,7 +697,7 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
699
697
  },
700
698
  emits: ["update:modelValue"],
701
699
  setup(e, { emit: a }) {
702
- const t = e, n = m(null), l = m(1), r = m(null), [d, i] = X(2), o = m(1), { filtered: s, remaining: c } = U(ie(), [
700
+ const t = e, n = g(null), l = g(1), r = g(null), [u, o] = Q(2), s = g(1), { filtered: i, remaining: c } = H(ie(), [
703
701
  "attributes",
704
702
  "expanded",
705
703
  "first-day-of-week",
@@ -707,43 +705,52 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
707
705
  "masks",
708
706
  "rows",
709
707
  "trim-weeks"
710
- ]), h = p(() => t.inputId || d.value), I = p(() => ({ range: t.isRange })), $ = p(() => !!(t.error && t.errorMsg || t.hint)), x = p(() => t.step), S = p(() => t.variant);
711
- sa(n), _e(
712
- et,
713
- (b) => l.value = b != null && b.matches && S.value == "2-col" ? 2 : 1,
708
+ ]), f = v(() => t.inputId || u.value), x = v(() => ({ range: t.isRange })), m = v(() => !!(t.error && t.errorMsg || t.hint)), T = v(() => t.step), S = v(() => t.variant);
709
+ sa(n), Je(
710
+ _e,
711
+ (h) => l.value = h != null && h.matches && S.value == "2-col" ? 2 : 1,
714
712
  [S]
715
- ), _e(
716
- et,
717
- (b) => o.value = b != null && b.matches && S.value == "2-col" ? x.value : 1,
718
- [x, S]
719
- );
720
- function k(b) {
721
- return t.isRange && b.start && b.end ? `${b.start} to ${b.end}` : !t.isRange && b ? b : "";
713
+ ), Je(
714
+ _e,
715
+ (h) => s.value = h != null && h.matches && S.value == "2-col" ? T.value : 1,
716
+ [T, S]
717
+ ), N(() => {
718
+ var h, C;
719
+ return (C = (h = n.value) == null ? void 0 : h.popoverRef) == null ? void 0 : C.isVisible;
720
+ }, (h) => {
721
+ h && fe($);
722
+ });
723
+ function k(h) {
724
+ return t.isRange && h.start && h.end ? `${h.start} to ${h.end}` : !t.isRange && h ? h : "";
725
+ }
726
+ function q(h) {
727
+ !t.isRange || r.value.contains(h.relatedTarget) || n.value.hidePopover();
722
728
  }
723
- function q(b) {
724
- !t.isRange || r.value.contains(b.relatedTarget) || n.value.hidePopover();
729
+ function $() {
730
+ const h = r.value.querySelector("button.vc-prev"), C = r.value.querySelector("button.vc-next");
731
+ h && h.setAttribute("aria-label", "Previous month"), C && C.setAttribute("aria-label", "Next month");
725
732
  }
726
- return (b, B) => (u(), v("div", z({
733
+ return (h, C) => (d(), b("div", z({
727
734
  ref_key: "container",
728
735
  ref: r,
729
736
  class: "bs-calendar",
730
737
  "data-range": e.isRange,
731
738
  onFocusout: q
732
- }, f(c)), [
733
- e.label || b.$slots.label ? (u(), V(ne, {
739
+ }, p(c)), [
740
+ e.label || h.$slots.label ? (d(), V(ae, {
734
741
  key: 0,
735
- for: h.value,
742
+ for: f.value,
736
743
  disabled: e.disabled,
737
744
  required: e.required
738
745
  }, {
739
746
  default: O(() => [
740
- E(b.$slots, "label", {}, () => [
741
- F(T(e.label), 1)
747
+ E(h.$slots, "label", {}, () => [
748
+ W(A(e.label), 1)
742
749
  ])
743
750
  ]),
744
751
  _: 3
745
752
  }, 8, ["for", "disabled", "required"])) : w("", !0),
746
- D(f(kt), z({
753
+ D(p(kt), z({
747
754
  ref_key: "calendar",
748
755
  ref: n,
749
756
  columns: l.value,
@@ -752,46 +759,46 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
752
759
  "min-date": e.minDate,
753
760
  mode: "date",
754
761
  "model-value": e.modelValue,
755
- "model-modifiers": I.value,
762
+ "model-modifiers": x.value,
756
763
  popover: { visibility: "focus" },
757
764
  rows: 1,
758
- step: o.value,
759
- "onUpdate:modelValue": B[0] || (B[0] = (A) => b.$emit("update:modelValue", A))
760
- }, f(s)), {
761
- default: O(({ inputValue: A, inputEvents: C, showPopover: M }) => [
762
- e.isRange ? (u(), V(oa, {
765
+ step: s.value,
766
+ "onUpdate:modelValue": C[0] || (C[0] = (I) => h.$emit("update:modelValue", I))
767
+ }, p(i)), {
768
+ default: O(({ inputValue: I, inputEvents: P, showPopover: F }) => [
769
+ e.isRange ? (d(), V(oa, {
763
770
  key: 1,
764
771
  disabled: e.disabled,
765
772
  error: e.error,
766
- "hidden-end-ref": b.inputEnd,
767
- "hidden-start-ref": b.inputStart,
768
- "input-id": h.value,
769
- "input-value": A,
770
- "input-value-fmt": k(A),
771
- listeners: C,
773
+ "hidden-end-ref": h.inputEnd,
774
+ "hidden-start-ref": h.inputStart,
775
+ "input-id": f.value,
776
+ "input-value": I,
777
+ "input-value-fmt": k(I),
778
+ listeners: P,
772
779
  placeholder: e.placeholder,
773
780
  required: e.required,
774
- onUiFocusin: M,
775
- onUiInput: M
776
- }, null, 8, ["disabled", "error", "hidden-end-ref", "hidden-start-ref", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (u(), V(aa, {
781
+ onUiFocusin: F,
782
+ onUiInput: F
783
+ }, null, 8, ["disabled", "error", "hidden-end-ref", "hidden-start-ref", "input-id", "input-value", "input-value-fmt", "listeners", "placeholder", "required", "onUiFocusin", "onUiInput"])) : (d(), V(aa, {
777
784
  key: 0,
778
785
  disabled: e.disabled,
779
786
  error: e.error,
780
- "input-id": h.value,
781
- listeners: C,
782
- "model-value": k(A),
787
+ "input-id": f.value,
788
+ listeners: P,
789
+ "model-value": k(I),
783
790
  placeholder: e.placeholder,
784
791
  required: e.required
785
792
  }, null, 8, ["disabled", "error", "input-id", "listeners", "model-value", "placeholder", "required"]))
786
793
  ]),
787
794
  _: 1
788
795
  }, 16, ["columns", "disabled-dates", "max-date", "min-date", "model-value", "model-modifiers", "step"]),
789
- $.value ? (u(), V(pe, {
796
+ m.value ? (d(), V(he, {
790
797
  key: 1,
791
798
  error: e.error,
792
799
  "error-msg": e.errorMsg,
793
800
  hint: e.hint,
794
- "hint-id": f(i)
801
+ "hint-id": p(o)
795
802
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
796
803
  ], 16, ca));
797
804
  }
@@ -809,23 +816,23 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
809
816
  size: { type: String, validator: (e) => ["sm", "xs", "xxs"].includes(e) }
810
817
  },
811
818
  setup(e) {
812
- const a = e, t = ie(), { rootTag: n, attrsToBind: l, hrefUrl: r } = we(a, t), { onLinkClick: d } = ke(a);
813
- return (i, o) => (u(), V(J(f(n)), z({
819
+ const a = e, t = ie(), { rootTag: n, attrsToBind: l, hrefUrl: r } = ke(a, t), { onLinkClick: u } = Ie(a);
820
+ return (o, s) => (d(), V(J(p(n)), z({
814
821
  class: "bs-button",
815
822
  "data-component": "bs-button",
816
823
  "data-ghost": e.ghostBtn,
817
824
  "data-size": e.size,
818
825
  "data-text": e.textBtn,
819
826
  "data-variant": e.variant,
820
- ".href": f(r)
821
- }, f(l), { onClick: f(d) }), {
827
+ ".href": p(r)
828
+ }, p(l), { onClick: p(u) }), {
822
829
  default: O(() => [
823
- E(i.$slots, "default")
830
+ E(o.$slots, "default")
824
831
  ]),
825
832
  _: 3
826
833
  }, 48, ["data-ghost", "data-size", "data-text", "data-variant", ".href", "onClick"]));
827
834
  }
828
- }), pa = { "data-component": "bs-chart-table" }, va = ["summary"], ha = ["colspan"], ba = /* @__PURE__ */ g("th", { scope: "col" }, " Dataset ", -1), ma = { scope: "row" }, ga = {
835
+ }), pa = { "data-component": "bs-chart-table" }, va = ["summary"], ha = ["colspan"], ba = /* @__PURE__ */ y("th", { scope: "col" }, " Dataset ", -1), ma = { scope: "row" }, ga = {
829
836
  __name: "BsChartTable",
830
837
  props: {
831
838
  data: {
@@ -844,30 +851,30 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
844
851
  setup(e) {
845
852
  return (a, t) => {
846
853
  var n;
847
- return u(), v("div", pa, [
848
- g("table", { summary: e.tableTitle }, [
849
- g("thead", null, [
850
- g("tr", null, [
851
- g("th", {
854
+ return d(), b("div", pa, [
855
+ y("table", { summary: e.tableTitle }, [
856
+ y("thead", null, [
857
+ y("tr", null, [
858
+ y("th", {
852
859
  colspan: ((n = e.dataIdxLabels) == null ? void 0 : n.length) + 1
853
- }, T(e.tableTitle), 9, ha)
860
+ }, A(e.tableTitle), 9, ha)
854
861
  ]),
855
- g("tr", null, [
862
+ y("tr", null, [
856
863
  ba,
857
- (u(!0), v(j, null, Z(e.dataIdxLabels, (l) => (u(), v("th", {
864
+ (d(!0), b(G, null, Z(e.dataIdxLabels, (l) => (d(), b("th", {
858
865
  key: l,
859
866
  scope: "col"
860
- }, T(l), 1))), 128))
867
+ }, A(l), 1))), 128))
861
868
  ])
862
869
  ]),
863
- g("tbody", null, [
864
- (u(!0), v(j, null, Z(e.data, (l) => (u(), v("tr", {
870
+ y("tbody", null, [
871
+ (d(!0), b(G, null, Z(e.data, (l) => (d(), b("tr", {
865
872
  key: l.label
866
873
  }, [
867
- g("th", ma, T(l.label), 1),
868
- (u(!0), v(j, null, Z(l.data, (r, d) => (u(), v("td", {
869
- key: `${r}${d}`
870
- }, T(r), 1))), 128))
874
+ y("th", ma, A(l.label), 1),
875
+ (d(!0), b(G, null, Z(l.data, (r, u) => (d(), b("td", {
876
+ key: `${r}${u}`
877
+ }, A(r), 1))), 128))
871
878
  ]))), 128))
872
879
  ])
873
880
  ], 8, va)
@@ -880,13 +887,13 @@ const ca = ["data-range"], et = "(min-width: 752px)", El = /* @__PURE__ */ Objec
880
887
  e.innerHTML = "", e.style.setProperty("--legend-padding", `${a.scales.x.left}px`), a.options.plugins.legend.labels.generateLabels(a).forEach((n) => {
881
888
  const l = document.createElement("li");
882
889
  l.onclick = () => {
883
- const { type: o } = a.config._config;
884
- o === "pie" || o === "doughnut" ? a.toggleDataVisibility(n.index) : a.setDatasetVisibility(n.datasetIndex, !a.isDatasetVisible(n.datasetIndex)), a.update();
890
+ const { type: s } = a.config._config;
891
+ s === "pie" || s === "doughnut" ? a.toggleDataVisibility(n.index) : a.setDatasetVisibility(n.datasetIndex, !a.isDatasetVisible(n.datasetIndex)), a.update();
885
892
  };
886
893
  const r = document.createElement("span");
887
894
  r.style.setProperty("--item-box-fill", n.fillStyle), r.style.setProperty("--item-box-stroke", n.strokeStyle);
888
- const d = document.createTextNode(n.text), i = document.createElement("p");
889
- i.style.setProperty("--item-text-color", n.fontColor), i.style.setProperty("--item-text-decoration", n.hidden ? "line-through" : "none"), i.appendChild(d), l.appendChild(r), l.appendChild(i), e.appendChild(l);
895
+ const u = document.createTextNode(n.text), o = document.createElement("p");
896
+ o.style.setProperty("--item-text-color", "var(--bs-ink-base)"), o.style.setProperty("--item-text-decoration", n.hidden ? "line-through" : "none"), o.appendChild(u), l.appendChild(r), l.appendChild(o), e.appendChild(l);
890
897
  });
891
898
  }
892
899
  }), Ba = ({ type: e, datasets: a, labels: t, tooltips: n }) => ({
@@ -924,7 +931,7 @@ function $a(e) {
924
931
  const Sa = {
925
932
  class: "bs-chart-bar",
926
933
  "data-component": "bs-chart-bar"
927
- }, wa = ["aria-label"], ka = ["data-hidden"], Dl = {
934
+ }, wa = ["aria-label"], ka = ["data-hidden"], El = {
928
935
  __name: "BsChartBar",
929
936
  props: {
930
937
  chartTitle: {
@@ -978,16 +985,16 @@ const Sa = {
978
985
  }
979
986
  },
980
987
  setup(e) {
981
- const a = e, t = m(null), n = m(null);
988
+ const a = e, t = g(null), n = g(null);
982
989
  let l;
983
- const r = p(() => {
990
+ const r = v(() => {
984
991
  const c = {
985
- datasets: d.value,
992
+ datasets: u.value,
986
993
  labels: a.dataIdxLabels,
987
994
  type: "bar",
988
995
  tooltips: a.showTooltips
989
- }, h = Ba(c);
990
- return h.plugins = [ya(n.value)], h.options.scales = {
996
+ }, f = Ba(c);
997
+ return f.plugins = [ya(n.value)], f.options.scales = {
991
998
  x: {
992
999
  grid: {
993
1000
  display: a.showXGrid
@@ -1008,38 +1015,38 @@ const Sa = {
1008
1015
  text: a.yLabel
1009
1016
  }
1010
1017
  }
1011
- }, h;
1012
- }), d = p(() => a.data.map((c, h) => ({
1018
+ }, f;
1019
+ }), u = v(() => a.data.map((c, f) => ({
1013
1020
  ...c,
1014
- backgroundColor: $a(h),
1021
+ backgroundColor: $a(f),
1015
1022
  categoryPercentage: a.data.length > 1 ? 0.5 : 0.33
1016
- }))), i = p(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), o = Ne(function(c, h) {
1017
- !l || c === h || (l.options = r.value.options, l.update());
1018
- }, 100), s = Ne(function() {
1023
+ }))), o = v(() => a.chartTitle || `${a.yLabel} / ${a.xLabel}`), s = Ne(function(c, f) {
1024
+ !l || c === f || (l.options = r.value.options, l.update());
1025
+ }, 100), i = Ne(function() {
1019
1026
  l && (l.data = r.value.data, l.update());
1020
1027
  }, 100);
1021
- return W(() => {
1028
+ return K(() => {
1022
1029
  qe.register(It, Ct, Tt, xt, At, Lt), qe.defaults.font.family = "'Roobert', sans-serif", l = new qe(t.value, r.value);
1023
- }), N(() => a.showLegend, o), N(() => a.showTooltips, o), N(() => a.showXGrid, o), N(() => a.showYGrid, o), N(() => a.stacked, o), N(() => a.xLabel, o), N(() => a.yLabel, o), N(() => a.data, s), N(() => a.dataIdxLabels, s), (c, h) => (u(), v("div", Sa, [
1024
- g("figure", null, [
1025
- g("div", null, [
1026
- g("canvas", {
1027
- "aria-label": i.value,
1030
+ }), N(() => a.showLegend, s), N(() => a.showTooltips, s), N(() => a.showXGrid, s), N(() => a.showYGrid, s), N(() => a.stacked, s), N(() => a.xLabel, s), N(() => a.yLabel, s), N(() => a.data, i), N(() => a.dataIdxLabels, i), (c, f) => (d(), b("div", Sa, [
1031
+ y("figure", null, [
1032
+ y("div", null, [
1033
+ y("canvas", {
1034
+ "aria-label": o.value,
1028
1035
  ref_key: "canvas",
1029
1036
  ref: t,
1030
1037
  role: "img"
1031
1038
  }, null, 8, wa)
1032
1039
  ]),
1033
- g("div", null, [
1040
+ y("div", null, [
1034
1041
  D(ga, {
1035
1042
  data: e.data,
1036
1043
  "data-idx-labels": e.dataIdxLabels,
1037
- "table-title": i.value
1044
+ "table-title": o.value
1038
1045
  }, null, 8, ["data", "data-idx-labels", "table-title"]),
1039
- g("figcaption", {
1046
+ y("figcaption", {
1040
1047
  "data-hidden": !e.showLegend
1041
1048
  }, [
1042
- g("ul", {
1049
+ y("ul", {
1043
1050
  ref_key: "legendList",
1044
1051
  ref: n
1045
1052
  }, null, 512)
@@ -1048,7 +1055,7 @@ const Sa = {
1048
1055
  ])
1049
1056
  ]));
1050
1057
  }
1051
- }, Ia = ["data-size"], Ca = ["checked", "data-error", "disabled", "id", "required", "value"], Ta = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1058
+ }, Ia = ["data-size"], Ca = ["checked", "data-error", "disabled", "id", "required", "value"], Dl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1052
1059
  __name: "BsCheckbox",
1053
1060
  props: {
1054
1061
  /** Sets the label. */
@@ -1111,54 +1118,54 @@ const Sa = {
1111
1118
  },
1112
1119
  emits: ["update:modelValue"],
1113
1120
  setup(e, { emit: a }) {
1114
- const t = e, n = a, [l] = X(), r = p(() => je.concat(t.passAttrs.split(","))), d = m(null), i = p(() => t.inputId || l.value), o = p(() => t.checked || h.value), s = p(() => t.indeterminate || t.checkedPartially), c = p(() => Array.isArray(t.modelValue) && t.value), h = p(() => c.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1115
- function I() {
1116
- d.value && (d.value.indeterminate = s.value && !o.value);
1121
+ const t = e, n = a, [l] = Q(), r = v(() => je.concat(t.passAttrs.split(","))), u = g(null), o = v(() => t.inputId || l.value), s = v(() => t.checked || f.value), i = v(() => t.indeterminate || t.checkedPartially), c = v(() => Array.isArray(t.modelValue) && t.value), f = v(() => c.value && t.modelValue.includes(t.value) || typeof t.modelValue == "boolean" && t.modelValue);
1122
+ function x() {
1123
+ u.value && (u.value.indeterminate = i.value && !s.value);
1117
1124
  }
1118
- function $(k) {
1125
+ function m(k) {
1119
1126
  n("update:modelValue", k);
1120
1127
  }
1121
- function x(k) {
1128
+ function T(k) {
1122
1129
  const q = [...t.modelValue];
1123
1130
  k ? q.push(t.value) : q.splice(q.indexOf(t.value), 1), n("update:modelValue", q);
1124
1131
  }
1125
1132
  function S(k) {
1126
1133
  const { checked: q } = k.target;
1127
- c.value ? x(q) : $(q);
1134
+ c.value ? T(q) : m(q);
1128
1135
  }
1129
- return N(o, I), N(s, I), W(I), (k, q) => (u(), v("div", z({
1136
+ return N(s, x), N(i, x), K(x), (k, q) => (d(), b("div", z({
1130
1137
  class: "bs-boolean",
1131
1138
  "data-component": "bs-checkbox",
1132
1139
  "data-size": e.size
1133
- }, f(U)(k.$attrs, r.value).remaining), [
1134
- g("input", z({
1140
+ }, p(H)(k.$attrs, r.value).remaining), [
1141
+ y("input", z({
1135
1142
  ref_key: "inputEl",
1136
- ref: d,
1137
- checked: o.value,
1143
+ ref: u,
1144
+ checked: s.value,
1138
1145
  "data-error": e.error,
1139
1146
  disabled: e.disabled,
1140
- id: k.$attrs.id || i.value,
1147
+ id: k.$attrs.id || o.value,
1141
1148
  required: e.required,
1142
1149
  value: e.value || "on",
1143
1150
  type: "checkbox",
1144
1151
  onChange: S
1145
- }, f(U)(k.$attrs, r.value).filtered), null, 16, Ca),
1146
- e.label || k.$slots.label ? (u(), V(ne, {
1152
+ }, p(H)(k.$attrs, r.value).filtered), null, 16, Ca),
1153
+ e.label || k.$slots.label ? (d(), V(ae, {
1147
1154
  key: 0,
1148
- for: k.$attrs.id || i.value,
1155
+ for: k.$attrs.id || o.value,
1149
1156
  disabled: e.disabled,
1150
1157
  required: e.required
1151
1158
  }, {
1152
1159
  default: O(() => [
1153
1160
  E(k.$slots, "label", {}, () => [
1154
- F(T(e.label), 1)
1161
+ W(A(e.label), 1)
1155
1162
  ])
1156
1163
  ]),
1157
1164
  _: 3
1158
1165
  }, 8, ["for", "disabled", "required"])) : w("", !0)
1159
1166
  ], 16, Ia));
1160
1167
  }
1161
- }), xa = { key: 0 }, Aa = { class: "bs-circle-button-icon" }, La = { key: 1 }, Ol = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1168
+ }), Ta = { key: 0 }, xa = { class: "bs-circle-button-icon" }, Aa = { key: 1 }, Ol = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1162
1169
  __name: "BsCircleButton",
1163
1170
  props: {
1164
1171
  disabled: {
@@ -1204,32 +1211,32 @@ const Sa = {
1204
1211
  }
1205
1212
  },
1206
1213
  setup(e) {
1207
- const a = e, t = ie(), { rootTag: n, attrsToBind: l, hrefUrl: r } = we(a, t), { icon: d } = ge(a, "icon"), { onLinkClick: i } = ke(a), o = p(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), s = p(() => {
1214
+ const a = e, t = ie(), { rootTag: n, attrsToBind: l, hrefUrl: r } = ke(a, t), { icon: u } = ye(a, "icon"), { onLinkClick: o } = Ie(a), s = v(() => a.textBtn ? {} : a.href ? { title: a.label } : { "aria-label": a.label }), i = v(() => {
1208
1215
  if (a.hoverEffect)
1209
1216
  return a.iconPosition;
1210
- }), c = p(() => a.textBtn && a.iconPosition !== "left"), h = p(() => a.textBtn && a.iconPosition === "left");
1211
- return (I, $) => (u(), V(J(f(n)), z({
1217
+ }), c = v(() => a.textBtn && a.iconPosition !== "left"), f = v(() => a.textBtn && a.iconPosition === "left");
1218
+ return (x, m) => (d(), V(J(p(n)), z({
1212
1219
  class: "bs-circle-button",
1213
1220
  "data-disabled": e.disabled,
1214
- "data-direction": s.value,
1221
+ "data-direction": i.value,
1215
1222
  "data-ghost": e.ghostBtn,
1216
1223
  "data-size": e.size,
1217
1224
  "data-text": e.textBtn,
1218
- ".href": f(r)
1219
- }, { ...f(l), ...o.value }, { onClick: f(i) }), {
1225
+ ".href": p(r)
1226
+ }, { ...p(l), ...s.value }, { onClick: p(o) }), {
1220
1227
  default: O(() => [
1221
- c.value ? (u(), v("span", xa, T(e.label), 1)) : w("", !0),
1222
- g("span", Aa, [
1223
- E(I.$slots, "icon", {}, () => [
1224
- (u(), V(J(f(d)), { size: e.size }, null, 8, ["size"]))
1228
+ c.value ? (d(), b("span", Ta, A(e.label), 1)) : w("", !0),
1229
+ y("span", xa, [
1230
+ E(x.$slots, "icon", {}, () => [
1231
+ (d(), V(J(p(u)), { size: e.size }, null, 8, ["size"]))
1225
1232
  ])
1226
1233
  ]),
1227
- h.value ? (u(), v("span", La, T(e.label), 1)) : w("", !0)
1234
+ f.value ? (d(), b("span", Aa, A(e.label), 1)) : w("", !0)
1228
1235
  ]),
1229
1236
  _: 3
1230
1237
  }, 48, ["data-disabled", "data-direction", "data-ghost", "data-size", "data-text", ".href", "onClick"]));
1231
1238
  }
1232
- }), Te = {
1239
+ }), xe = {
1233
1240
  __name: "BsTransition",
1234
1241
  props: {
1235
1242
  shown: {
@@ -1272,85 +1279,86 @@ const Sa = {
1272
1279
  "leave-cancelled"
1273
1280
  ],
1274
1281
  setup(e, { emit: a }) {
1275
- const t = e, n = a, l = [];
1276
- function r(o, s) {
1277
- const { duration: c, enterClass: h, enterAttribute: I } = t;
1282
+ const t = e, n = a, l = [], r = t.preloaded && t.shown;
1283
+ function u(i, c) {
1284
+ const { duration: f, enterClass: x, enterAttribute: m } = t;
1278
1285
  l.push(setTimeout(() => {
1279
- h && o.classList.add(h), I && o.setAttribute(I, ""), l.push(setTimeout(() => {
1280
- s();
1281
- }, c)), n("enter", o);
1286
+ x && i.classList.add(x), m && i.setAttribute(m, ""), l.push(setTimeout(() => {
1287
+ c();
1288
+ }, f)), n("enter", i);
1282
1289
  }));
1283
1290
  }
1284
- function d(o, s) {
1291
+ function o(i, c) {
1285
1292
  const {
1286
- duration: c,
1287
- enterClass: h,
1288
- enterAttribute: I,
1289
- leaveClass: $,
1290
- leaveAttribute: x
1293
+ duration: f,
1294
+ enterClass: x,
1295
+ enterAttribute: m,
1296
+ leaveClass: T,
1297
+ leaveAttribute: S
1291
1298
  } = t;
1292
- o.classList.remove(h), o.removeAttribute(I), $ && o.classList.add($), x && o.setAttribute(x, ""), l.push(setTimeout(() => {
1293
- s();
1294
- }, c)), n("leave", o);
1299
+ i.classList.remove(x), i.removeAttribute(m), T && i.classList.add(T), S && i.setAttribute(S, ""), l.push(setTimeout(() => {
1300
+ c();
1301
+ }, f)), n("leave", i);
1295
1302
  }
1296
- function i(o) {
1297
- const { leaveClass: s, leaveAttribute: c } = t;
1298
- o.classList.remove(s), o.removeAttribute(c), n("after-leave", o);
1303
+ function s(i) {
1304
+ const { leaveClass: c, leaveAttribute: f } = t;
1305
+ i.classList.remove(c), i.removeAttribute(f), n("after-leave", i);
1299
1306
  }
1300
1307
  return oe(() => {
1301
- l.forEach((o) => {
1302
- clearTimeout(o);
1308
+ l.forEach((i) => {
1309
+ clearTimeout(i);
1303
1310
  });
1304
- }), (o, s) => e.preloaded ? Be((u(), V(Ke, {
1311
+ }), (i, c) => e.preloaded ? $e((d(), V(Ke, {
1305
1312
  key: 0,
1313
+ appear: p(r),
1306
1314
  css: !1,
1307
- onBeforeEnter: s[0] || (s[0] = (c) => n("before-enter", c)),
1308
- onEnter: r,
1309
- onAfterEnter: s[1] || (s[1] = (c) => n("after-enter", c)),
1310
- onEnterCancelled: s[2] || (s[2] = (c) => n("enter-cancelled", c)),
1311
- onBeforeLeave: s[3] || (s[3] = (c) => n("before-leave", c)),
1312
- onLeave: d,
1313
- onAfterLeave: i,
1314
- onLeaveCancelled: s[4] || (s[4] = (c) => n("leave-cancelled", c))
1315
+ onBeforeEnter: c[0] || (c[0] = (f) => n("before-enter", f)),
1316
+ onEnter: u,
1317
+ onAfterEnter: c[1] || (c[1] = (f) => n("after-enter", f)),
1318
+ onEnterCancelled: c[2] || (c[2] = (f) => n("enter-cancelled", f)),
1319
+ onBeforeLeave: c[3] || (c[3] = (f) => n("before-leave", f)),
1320
+ onLeave: o,
1321
+ onAfterLeave: s,
1322
+ onLeaveCancelled: c[4] || (c[4] = (f) => n("leave-cancelled", f))
1315
1323
  }, {
1316
1324
  default: O(() => [
1317
- E(o.$slots, "default")
1325
+ E(i.$slots, "default")
1318
1326
  ]),
1319
1327
  _: 3
1320
- }, 512)), [
1321
- [$e, e.shown]
1322
- ]) : (u(), V(Ke, {
1328
+ }, 8, ["appear"])), [
1329
+ [Se, e.shown]
1330
+ ]) : (d(), V(Ke, {
1323
1331
  key: 1,
1324
1332
  appear: !0,
1325
1333
  css: !1,
1326
- onBeforeEnter: s[5] || (s[5] = (c) => n("before-enter", c)),
1327
- onEnter: r,
1328
- onAfterEnter: s[6] || (s[6] = (c) => n("after-enter", c)),
1329
- onEnterCancelled: s[7] || (s[7] = (c) => n("enter-cancelled", c)),
1330
- onBeforeLeave: s[8] || (s[8] = (c) => n("before-leave", c)),
1331
- onLeave: d,
1332
- onAfterLeave: i,
1333
- onLeaveCancelled: s[9] || (s[9] = (c) => n("leave-cancelled", c))
1334
+ onBeforeEnter: c[5] || (c[5] = (f) => n("before-enter", f)),
1335
+ onEnter: u,
1336
+ onAfterEnter: c[6] || (c[6] = (f) => n("after-enter", f)),
1337
+ onEnterCancelled: c[7] || (c[7] = (f) => n("enter-cancelled", f)),
1338
+ onBeforeLeave: c[8] || (c[8] = (f) => n("before-leave", f)),
1339
+ onLeave: o,
1340
+ onAfterLeave: s,
1341
+ onLeaveCancelled: c[9] || (c[9] = (f) => n("leave-cancelled", f))
1334
1342
  }, {
1335
1343
  default: O(() => [
1336
- e.shown ? E(o.$slots, "default", { key: 0 }) : w("", !0)
1344
+ e.shown ? E(i.$slots, "default", { key: 0 }) : w("", !0)
1337
1345
  ]),
1338
1346
  _: 3
1339
1347
  }));
1340
1348
  }
1341
- }, Va = (e, a = void 0, t = "relative") => {
1342
- const n = m(null), l = m(null), r = m(!1);
1343
- let d = !1;
1344
- return W(() => {
1345
- e && (n.value = a || lt(), document.getElementById(n.value) ? (l.value = document.getElementById(n.value), d = !0) : (l.value = document.createElement("div"), l.value.id = n.value, l.value.style.position = t, document.body.insertAdjacentElement("afterbegin", l.value)), r.value = !0);
1349
+ }, La = (e, a = void 0, t = "relative") => {
1350
+ const n = g(null), l = g(null), r = g(!1);
1351
+ let u = !1;
1352
+ return K(() => {
1353
+ e && (n.value = a || nt(), document.getElementById(n.value) ? (l.value = document.getElementById(n.value), u = !0) : (l.value = document.createElement("div"), l.value.id = n.value, l.value.style.position = t, document.body.insertAdjacentElement("afterbegin", l.value)), r.value = !0);
1346
1354
  }), oe(() => {
1347
- var i;
1348
- e && !d && ((i = document.getElementById(n.value)) == null || i.remove());
1355
+ var o;
1356
+ e && !u && ((o = document.getElementById(n.value)) == null || o.remove());
1349
1357
  }), { breakoutId: n, breakoutStub: l, breakoutMounted: r };
1350
- }, Ea = {
1358
+ }, Va = {
1351
1359
  key: 0,
1352
1360
  class: "bs-dropdown-backdrop"
1353
- }, Da = ["data-width", "data-no-mobile"], Oa = { key: 0 }, qa = { key: 0 }, Ma = {
1361
+ }, Ea = ["data-width", "data-no-mobile"], Da = { key: 0 }, Oa = { key: 0 }, qa = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
1354
1362
  __name: "BsDropdownNew",
1355
1363
  props: {
1356
1364
  anchorId: {
@@ -1403,101 +1411,101 @@ const Sa = {
1403
1411
  "after-leave"
1404
1412
  ],
1405
1413
  setup(e, { emit: a }) {
1406
- const t = e, n = a, l = m(null), r = m(null), d = m(!1), i = p(() => document.getElementById(t.anchorId)), o = p(() => t.breakout ? h.value : t.containerId ? document.getElementById(t.containerId) : l.value), s = p(() => t.breakout ? I.value : !0), c = p(() => t.width === "anchor" ? void 0 : t.width), { breakoutStub: h, breakoutMounted: I } = Va(t.breakout, t.containerId);
1407
- qt([r, i], () => {
1408
- d.value && n("close");
1409
- }), Ie(["Escape"], () => {
1410
- d.value && n("close");
1411
- }), re("dropdownAfterEnter", d), re("dropdownShown", p(() => t.shown));
1412
- const $ = (C, M) => {
1413
- r.value.style.setProperty(C, M);
1414
+ const t = e, n = a, l = g(null), r = g(null), u = g(!1), o = v(() => document.getElementById(t.anchorId)), s = v(() => t.breakout ? f.value : t.containerId ? document.getElementById(t.containerId) : l.value), i = v(() => t.breakout ? x.value : !0), c = v(() => t.width === "anchor" ? void 0 : t.width), { breakoutStub: f, breakoutMounted: x } = La(t.breakout, t.containerId);
1415
+ qt([r, o], () => {
1416
+ u.value && n("close");
1417
+ }), Ce(["Escape"], () => {
1418
+ u.value && n("close");
1419
+ }), re("dropdownAfterEnter", u), re("dropdownShown", v(() => t.shown));
1420
+ const m = (I, P) => {
1421
+ r.value.style.setProperty(I, P);
1414
1422
  };
1415
- function x() {
1416
- const C = o.value.getBoundingClientRect(), M = i.value.getBoundingClientRect(), H = r.value.getBoundingClientRect();
1417
- S(C, M), k(C, M, H);
1423
+ function T() {
1424
+ const I = s.value.getBoundingClientRect(), P = o.value.getBoundingClientRect(), F = r.value.getBoundingClientRect();
1425
+ S(I, P), k(I, P, F);
1418
1426
  }
1419
- function S(C, M) {
1427
+ function S(I, P) {
1420
1428
  if (t.position === "top") {
1421
- const H = C.bottom - M.bottom;
1422
- $("--dropdown-wscreen-top", "auto"), $("--dropdown-wscreen-bottom", `${H + M.height + 8}px`);
1429
+ const F = I.bottom - P.bottom;
1430
+ m("--dropdown-wscreen-top", "auto"), m("--dropdown-wscreen-bottom", `${F + P.height + 8}px`);
1423
1431
  } else {
1424
- const H = M.top - C.top;
1425
- $("--dropdown-wscreen-top", `${H + M.height + 8}px`), $("--dropdown-wscreen-bottom", "auto");
1432
+ const F = P.top - I.top;
1433
+ m("--dropdown-wscreen-top", `${F + P.height + 8}px`), m("--dropdown-wscreen-bottom", "auto");
1426
1434
  }
1427
1435
  }
1428
- function k(C, M, H) {
1436
+ function k(I, P, F) {
1429
1437
  if (t.width !== "anchor") {
1430
- const Q = M.left - C.left;
1438
+ const ne = P.left - I.left;
1431
1439
  if (t.position === "center") {
1432
- const _ = (M.width - H.width) / 2;
1433
- $("--dropdown-wscreen-left", `${Q + _}px`), $("--dropdown-wscreen-right", "auto");
1440
+ const X = (P.width - F.width) / 2;
1441
+ m("--dropdown-wscreen-left", `${ne + X}px`), m("--dropdown-wscreen-right", "auto");
1434
1442
  } else if (t.position === "right") {
1435
- const _ = C.right - M.right;
1436
- $("--dropdown-wscreen-left", "auto"), $("--dropdown-wscreen-right", `${_}px`);
1443
+ const X = I.right - P.right;
1444
+ m("--dropdown-wscreen-left", "auto"), m("--dropdown-wscreen-right", `${X}px`);
1437
1445
  } else
1438
- $("--dropdown-wscreen-left", `${Q}px`), $("--dropdown-wscreen-right", "auto");
1446
+ m("--dropdown-wscreen-left", `${ne}px`), m("--dropdown-wscreen-right", "auto");
1439
1447
  }
1440
1448
  }
1441
1449
  function q() {
1442
1450
  if (t.width === "anchor") {
1443
- const C = i.value.getBoundingClientRect();
1444
- $("--dropdown-wscreen-width", `${C.width}px`);
1451
+ const I = o.value.getBoundingClientRect();
1452
+ m("--dropdown-wscreen-width", `${I.width}px`);
1445
1453
  } else
1446
- $("--dropdown-wscreen-width", "");
1454
+ m("--dropdown-wscreen-width", "");
1447
1455
  }
1448
- function b() {
1449
- x(), q(), n("enter");
1456
+ function $() {
1457
+ T(), q(), n("enter");
1450
1458
  }
1451
- function B() {
1452
- d.value = !0, n("after-enter");
1459
+ function h() {
1460
+ u.value = !0, n("after-enter");
1453
1461
  }
1454
- function A() {
1455
- d.value = !1, n("after-leave");
1462
+ function C() {
1463
+ u.value = !1, n("after-leave");
1456
1464
  }
1457
- return (C, M) => (u(), v(j, null, [
1458
- e.useMobileStyle && e.shown ? (u(), v("div", Ea)) : w("", !0),
1459
- s.value ? (u(), V(ct, {
1465
+ return (I, P) => (d(), b(G, null, [
1466
+ e.useMobileStyle && e.shown ? (d(), b("div", Va)) : w("", !0),
1467
+ i.value ? (d(), V(ct, {
1460
1468
  key: 1,
1461
1469
  disabled: !e.breakout,
1462
- to: e.breakout ? f(h) : void 0
1470
+ to: e.breakout ? p(f) : void 0
1463
1471
  }, [
1464
- g("div", {
1472
+ y("div", {
1465
1473
  ref_key: "containerRef",
1466
1474
  ref: l,
1467
1475
  style: ft(e.breakout || e.containerId ? void 0 : { position: "relative" })
1468
1476
  }, [
1469
- D(Te, {
1477
+ D(xe, {
1470
1478
  shown: e.shown,
1471
1479
  preloaded: e.preloaded,
1472
1480
  duration: 75,
1473
1481
  "enter-attribute": "data-shown",
1474
- onAfterEnter: B,
1475
- onEnter: b,
1476
- onAfterLeave: A
1482
+ onAfterEnter: h,
1483
+ onEnter: $,
1484
+ onAfterLeave: C
1477
1485
  }, {
1478
1486
  default: O(() => [
1479
- g("div", z({
1487
+ y("div", z({
1480
1488
  ref_key: "dropdownRef",
1481
1489
  ref: r,
1482
1490
  class: "bs-dropdown",
1483
1491
  "data-width": c.value,
1484
1492
  "data-no-mobile": !e.useMobileStyle
1485
- }, C.$attrs), [
1486
- e.helperText ? (u(), v("header", Oa, [
1487
- g("div", null, [
1488
- g("h3", null, T(e.helperText), 1),
1489
- e.helperDescription ? (u(), v("p", qa, T(e.helperDescription), 1)) : w("", !0)
1493
+ }, I.$attrs), [
1494
+ e.helperText ? (d(), b("header", Da, [
1495
+ y("div", null, [
1496
+ y("h3", null, A(e.helperText), 1),
1497
+ e.helperDescription ? (d(), b("p", Oa, A(e.helperDescription), 1)) : w("", !0)
1490
1498
  ]),
1491
- g("button", {
1499
+ y("button", {
1492
1500
  type: "button",
1493
1501
  title: "close",
1494
- onClick: M[0] || (M[0] = () => n("close"))
1502
+ onClick: P[0] || (P[0] = () => n("close"))
1495
1503
  }, [
1496
- D(f(Se))
1504
+ D(p(we))
1497
1505
  ])
1498
1506
  ])) : w("", !0),
1499
- E(C.$slots, "default")
1500
- ], 16, Da)
1507
+ E(I.$slots, "default")
1508
+ ], 16, Ea)
1501
1509
  ]),
1502
1510
  _: 3
1503
1511
  }, 8, ["shown", "preloaded"])
@@ -1505,12 +1513,12 @@ const Sa = {
1505
1513
  ], 8, ["disabled", "to"])) : w("", !0)
1506
1514
  ], 64));
1507
1515
  }
1508
- }, rt = {
1516
+ }), it = {
1509
1517
  __name: "BsDropdown",
1510
1518
  props: {
1511
1519
  anchorId: {
1512
1520
  type: String,
1513
- required: !0
1521
+ default: void 0
1514
1522
  },
1515
1523
  shown: {
1516
1524
  type: Boolean,
@@ -1595,25 +1603,25 @@ const Sa = {
1595
1603
  "after-leave"
1596
1604
  ],
1597
1605
  setup(e, { emit: a }) {
1598
- const t = e, n = a, { transition: l } = fe(t), r = p(() => t.width === "toggle" ? "anchor" : t.width), d = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), i = p(() => t.toggleId ? t.toggleId : t.anchorId);
1599
- return (o, s) => (u(), V(Ma, {
1600
- "anchor-id": i.value,
1606
+ const t = e, n = a, { transition: l } = ve(t), r = v(() => t.width === "toggle" ? "anchor" : t.width), u = v(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = v(() => t.toggleId ? t.toggleId : t.anchorId);
1607
+ return (s, i) => (d(), V(qa, {
1608
+ "anchor-id": o.value,
1601
1609
  breakout: e.breakout,
1602
1610
  "container-id": e.containerId,
1603
1611
  "helper-description": e.helperDescription,
1604
1612
  "helper-text": e.helperText,
1605
- position: d.value,
1613
+ position: u.value,
1606
1614
  preloaded: e.preloaded,
1607
- shown: f(l),
1615
+ shown: p(l),
1608
1616
  "use-mobile-style": e.useMobileStyle,
1609
1617
  width: r.value,
1610
- onClose: s[0] || (s[0] = () => n("close")),
1611
- onEnter: s[1] || (s[1] = () => n("enter")),
1612
- onAfterEnter: s[2] || (s[2] = () => n("after-enter")),
1613
- onAfterLeave: s[3] || (s[3] = () => n("after-leave"))
1618
+ onClose: i[0] || (i[0] = () => n("close")),
1619
+ onEnter: i[1] || (i[1] = () => n("enter")),
1620
+ onAfterEnter: i[2] || (i[2] = () => n("after-enter")),
1621
+ onAfterLeave: i[3] || (i[3] = () => n("after-leave"))
1614
1622
  }, {
1615
1623
  default: O(() => [
1616
- E(o.$slots, "default")
1624
+ E(s.$slots, "default")
1617
1625
  ]),
1618
1626
  _: 3
1619
1627
  }, 8, ["anchor-id", "breakout", "container-id", "helper-description", "helper-text", "position", "preloaded", "shown", "use-mobile-style", "width"]));
@@ -1631,7 +1639,7 @@ const Sa = {
1631
1639
  },
1632
1640
  label: {
1633
1641
  type: String,
1634
- default: void 0
1642
+ default: "Select an option"
1635
1643
  },
1636
1644
  modelValue: {
1637
1645
  type: [String, Number],
@@ -1654,110 +1662,110 @@ const Sa = {
1654
1662
  },
1655
1663
  emits: ["optselected", "update:modelValue", "close"],
1656
1664
  setup(e, { expose: a, emit: t }) {
1657
- const n = e, l = t, r = m(null), d = m(null), i = m(-1), o = m(null), s = se("dropdownAfterEnter"), c = se("dropdownShown", !1);
1658
- let h = -1;
1659
- re("handleSelect", b), re("optionsId", p(() => n.optionsId)), W(() => {
1660
- $(), x(), document.addEventListener("keydown", k);
1665
+ const n = e, l = t, r = g(null), u = g(null), o = g(-1), s = g(null), i = se("dropdownAfterEnter"), c = se("dropdownShown", !1);
1666
+ let f = -1;
1667
+ re("handleSelect", $), re("optionsId", v(() => n.optionsId)), K(() => {
1668
+ m(), T(), document.addEventListener("keydown", k);
1661
1669
  }), oe(() => {
1662
1670
  document.removeEventListener("keydown", k);
1663
- }), N(s, (B) => {
1664
- var A, C;
1665
- B && h > -1 && (n.focusOnShow ? (A = o.value[h]) == null || A.focus() : (C = o.value[h]) == null || C.scrollIntoView({ block: "nearest" }));
1666
- }), N(c, x);
1667
- const I = p(() => n.modelValue || n.selectedValue);
1668
- function $() {
1669
- o.value = Array.from(
1671
+ }), N(i, (h) => {
1672
+ var C, I;
1673
+ h && f > -1 && (n.focusOnShow ? (C = s.value[f]) == null || C.focus() : (I = s.value[f]) == null || I.scrollIntoView({ block: "nearest" }));
1674
+ }), N(c, T);
1675
+ const x = v(() => n.modelValue || n.selectedValue);
1676
+ function m() {
1677
+ s.value = Array.from(
1670
1678
  r.value.querySelectorAll('[data-component="bs-dropdown-option"]')
1671
1679
  );
1672
1680
  }
1673
- function x() {
1674
- var B, A;
1675
- c.value && !n.multiselect ? (h = o.value.findIndex(
1676
- (C) => C.getAttribute("data-value") === String(I.value)
1677
- ), o.value.forEach((C) => {
1678
- var M;
1679
- return (M = C == null ? void 0 : C.setAttribute) == null ? void 0 : M.call(C, "aria-selected", "false");
1680
- }), h > -1 && ((B = o.value[h]) == null || B.setAttribute("data-selected", ""), (A = o.value[h]) == null || A.setAttribute("aria-selected", "true"), i.value = h)) : (o.value.forEach((C) => {
1681
- var M;
1682
- return (M = C == null ? void 0 : C.removeAttribute) == null ? void 0 : M.call(C, "data-selected");
1683
- }), o.value.forEach((C) => {
1684
- var M;
1685
- return (M = C == null ? void 0 : C.removeAttribute) == null ? void 0 : M.call(C, "aria-selected");
1681
+ function T() {
1682
+ var h, C;
1683
+ c.value && !n.multiselect ? (f = s.value.findIndex(
1684
+ (I) => I.getAttribute("data-value") === String(x.value)
1685
+ ), s.value.forEach((I) => {
1686
+ var P;
1687
+ return (P = I == null ? void 0 : I.setAttribute) == null ? void 0 : P.call(I, "aria-selected", "false");
1688
+ }), f > -1 && ((h = s.value[f]) == null || h.setAttribute("data-selected", ""), (C = s.value[f]) == null || C.setAttribute("aria-selected", "true"), o.value = f)) : (s.value.forEach((I) => {
1689
+ var P;
1690
+ return (P = I == null ? void 0 : I.removeAttribute) == null ? void 0 : P.call(I, "data-selected");
1691
+ }), s.value.forEach((I) => {
1692
+ var P;
1693
+ return (P = I == null ? void 0 : I.removeAttribute) == null ? void 0 : P.call(I, "aria-selected");
1686
1694
  }));
1687
1695
  }
1688
- Mt(
1696
+ Pt(
1689
1697
  r,
1690
1698
  () => {
1691
- $();
1699
+ m();
1692
1700
  },
1693
1701
  { childList: !0 }
1694
1702
  );
1695
1703
  function S() {
1696
- var B;
1697
- i.value > -1 && ((B = o.value[i.value]) == null || B.blur());
1704
+ var h;
1705
+ o.value > -1 && ((h = s.value[o.value]) == null || h.blur());
1698
1706
  }
1699
- function k(B) {
1707
+ function k(h) {
1700
1708
  if (c.value)
1701
- switch (B.key) {
1709
+ switch (h.key) {
1702
1710
  case "ArrowDown":
1703
- q("down"), B.preventDefault();
1711
+ q("down"), h.preventDefault();
1704
1712
  break;
1705
1713
  case "ArrowUp":
1706
- q("up"), B.preventDefault();
1714
+ q("up"), h.preventDefault();
1707
1715
  break;
1708
1716
  case "Home":
1709
- q("home"), B.preventDefault();
1717
+ q("home"), h.preventDefault();
1710
1718
  break;
1711
1719
  case "End":
1712
- q("end"), B.preventDefault();
1720
+ q("end"), h.preventDefault();
1713
1721
  break;
1714
1722
  case "Tab":
1715
- i.value = h, n.preventTab && B.preventDefault();
1723
+ o.value = f, n.preventTab && h.preventDefault();
1716
1724
  break;
1717
1725
  }
1718
1726
  }
1719
- function q(B) {
1720
- let A;
1721
- switch (B) {
1727
+ function q(h) {
1728
+ let C;
1729
+ switch (h) {
1722
1730
  case "up":
1723
- A = i.value - 1 < 0 ? o.value.length - 1 : i.value - 1;
1731
+ C = o.value - 1 < 0 ? s.value.length - 1 : o.value - 1;
1724
1732
  break;
1725
1733
  case "down":
1726
- A = (i.value + 1) % o.value.length;
1734
+ C = (o.value + 1) % s.value.length;
1727
1735
  break;
1728
1736
  case "home":
1729
- A = 0;
1737
+ C = 0;
1730
1738
  break;
1731
1739
  case "end":
1732
- A = o.value.length - 1;
1740
+ C = s.value.length - 1;
1733
1741
  break;
1734
1742
  }
1735
- S(), o.value[A].focus(), d.value = o.value[A].id, i.value = A;
1743
+ S(), s.value[C].focus(), u.value = s.value[C].id, o.value = C;
1736
1744
  }
1737
- function b(B, A) {
1738
- d.value = B, S(), l("optselected", A), l("update:modelValue", A), l("close");
1745
+ function $(h, C) {
1746
+ u.value = h, S(), l("optselected", C), l("update:modelValue", C), l("close");
1739
1747
  }
1740
1748
  return a({
1741
- activeDescendantId: d,
1742
- focusedIndex: i,
1743
- optionEls: o,
1744
- refreshOptions: $
1745
- }), (B, A) => (u(), v("ul", {
1749
+ activeDescendantId: u,
1750
+ focusedIndex: o,
1751
+ optionEls: s,
1752
+ refreshOptions: m
1753
+ }), (h, C) => (d(), b("ul", {
1746
1754
  ref_key: "optionsRef",
1747
1755
  ref: r,
1748
- "aria-activedescendant": d.value || void 0,
1749
- "aria-label": n.label || void 0,
1756
+ "aria-activedescendant": u.value || void 0,
1757
+ "aria-label": e.label,
1750
1758
  class: "bs-dropdown-options",
1751
- id: n.optionsId,
1759
+ id: e.optionsId,
1752
1760
  role: "listbox"
1753
1761
  }, [
1754
- E(B.$slots, "default")
1762
+ E(h.$slots, "default")
1755
1763
  ], 8, Pa));
1756
1764
  }
1757
- }, za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1765
+ }, Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1758
1766
  __proto__: null,
1759
1767
  default: Fe
1760
- }, Symbol.toStringTag, { value: "Module" })), Na = ["data-value", "data-variant", "id"], Ue = {
1768
+ }, Symbol.toStringTag, { value: "Module" })), za = ["data-value", "data-variant", "id"], Ue = {
1761
1769
  __name: "BsDropdownOption",
1762
1770
  props: {
1763
1771
  value: {
@@ -1770,16 +1778,16 @@ const Sa = {
1770
1778
  }
1771
1779
  },
1772
1780
  setup(e) {
1773
- const a = e, t = m(null), n = se("optionsId", ""), l = se("handleSelect", () => {
1774
- }), r = p(() => `${n.value}-option-${a.value}`);
1775
- Ie([" ", "Enter", "NumpadEnter"], (i) => {
1776
- d(), i.preventDefault();
1781
+ const a = e, t = g(null), n = se("optionsId", ""), l = se("handleSelect", () => {
1782
+ }), r = v(() => `${n.value}-option-${a.value}`);
1783
+ Ce([" ", "Enter", "NumpadEnter"], (o) => {
1784
+ u(), o.preventDefault();
1777
1785
  }, t);
1778
- function d(i) {
1779
- var o, s;
1780
- l(r.value, a.value), (o = t.value.querySelector("a")) == null || o.click(), (s = i == null ? void 0 : i.stopPropagation) == null || s.call(i);
1786
+ function u(o) {
1787
+ var s, i;
1788
+ l(r.value, a.value), (s = t.value.querySelector("a")) == null || s.click(), (i = o == null ? void 0 : o.stopPropagation) == null || i.call(o);
1781
1789
  }
1782
- return (i, o) => (u(), v("li", {
1790
+ return (o, s) => (d(), b("li", {
1783
1791
  ref_key: "optionRef",
1784
1792
  ref: t,
1785
1793
  "data-component": "bs-dropdown-option",
@@ -1788,12 +1796,12 @@ const Sa = {
1788
1796
  id: r.value,
1789
1797
  role: "option",
1790
1798
  tabIndex: -1,
1791
- onClick: d
1799
+ onClick: u
1792
1800
  }, [
1793
- E(i.$slots, "default")
1794
- ], 8, Na));
1801
+ E(o.$slots, "default")
1802
+ ], 8, za));
1795
1803
  }
1796
- }, Ra = ["data-img-size", "data-initials", "data-no-img"], ja = ["src", "alt"], st = {
1804
+ }, Na = ["data-img-size", "data-initials", "data-no-img"], Ra = ["src", "alt"], rt = {
1797
1805
  __name: "BsProfileImg",
1798
1806
  props: {
1799
1807
  src: String,
@@ -1805,28 +1813,32 @@ const Sa = {
1805
1813
  profileName: {
1806
1814
  type: String,
1807
1815
  required: !0
1816
+ },
1817
+ useAltText: {
1818
+ type: Boolean,
1819
+ default: !0
1808
1820
  }
1809
1821
  },
1810
1822
  setup(e) {
1811
- const a = e, t = m(!1), n = m(!!a.src);
1812
- return W(() => t.value = !0), (l, r) => (u(), v("div", {
1823
+ const a = e, t = g(!1), n = g(!!a.src);
1824
+ return K(() => t.value = !0), (l, r) => (d(), b("div", {
1813
1825
  class: "bs-profile-img",
1814
1826
  "data-img-size": e.size,
1815
1827
  "data-initials": e.initials,
1816
1828
  "data-no-img": !n.value
1817
1829
  }, [
1818
- n.value && t.value ? (u(), v("img", {
1830
+ n.value && t.value ? (d(), b("img", {
1819
1831
  key: 0,
1820
1832
  src: e.src,
1821
- alt: e.profileName,
1822
- onError: r[0] || (r[0] = (d) => n.value = !1)
1823
- }, null, 40, ja)) : w("", !0)
1824
- ], 8, Ra));
1833
+ alt: e.useAltText ? e.profileName : "",
1834
+ onError: r[0] || (r[0] = (u) => n.value = !1)
1835
+ }, null, 40, Ra)) : w("", !0)
1836
+ ], 8, Na));
1825
1837
  }
1826
- }, Fa = { key: 1 }, Ua = ["for", "innerHTML"], Wa = ["innerHTML"], Ga = ["for"], Ha = { key: 1 }, Ka = { key: 5 }, Ya = {
1838
+ }, ja = ["id", "data-checked"], Fa = { key: 1 }, Ua = ["innerHTML"], Wa = { key: 4 }, Ga = { key: 5 }, Ha = {
1827
1839
  key: 0,
1828
1840
  "data-no-hover": ""
1829
- }, ye = {
1841
+ }, Be = {
1830
1842
  __name: "BsDropdownOptionBuilder",
1831
1843
  props: {
1832
1844
  // Array of objects with the following properties (either label or labelHtml
@@ -1859,87 +1871,79 @@ const Sa = {
1859
1871
  },
1860
1872
  setup(e) {
1861
1873
  const a = e, t = {};
1862
- nt(() => {
1874
+ at(() => {
1863
1875
  n();
1864
1876
  }), N(() => a.options, () => {
1865
1877
  n();
1866
1878
  });
1867
1879
  function n() {
1868
- a.options.forEach((d) => {
1869
- const { icon: i } = d;
1870
- i && !t[i] && (t[i] = r(i));
1880
+ a.options.forEach((o) => {
1881
+ const { icon: s } = o;
1882
+ s && !t[s] && (t[s] = r(s));
1871
1883
  });
1872
1884
  }
1873
- function l(d) {
1874
- let i = "", o = 1;
1875
- return o += d.checkbox ? 1 : 0, o += d.icon ? 1 : 0, o += d.profileImg ? 1 : 0, o > 1 && (i += ` ${o}-col`), d.checkbox && (i += " checkbox"), d.description && (i += " description"), d.negative && (i += " negative"), i;
1885
+ function l(o) {
1886
+ let s = "", i = 1;
1887
+ return i += o.checkbox ? 1 : 0, i += o.icon ? 1 : 0, i += o.profileImg ? 1 : 0, i > 1 && (s += ` ${i}-col`), o.checkbox && (s += " checkbox"), o.description && (s += " description"), o.negative && (s += " negative"), s;
1876
1888
  }
1877
- function r(d) {
1889
+ function r(o) {
1878
1890
  return Re(async () => {
1879
- const { [`BsIcon${d}`]: i } = await import("@wwtdev/bsds-icons-vue3");
1880
- return i;
1891
+ const { [`BsIcon${o}`]: s } = await import("@wwtdev/bsds-icons-vue3");
1892
+ return s;
1881
1893
  });
1882
1894
  }
1883
- return (d, i) => (u(), v(j, null, [
1884
- (u(!0), v(j, null, Z(e.options, (o) => (u(), V(Ue, {
1885
- "aria-checked": o.checkbox ? o.checkbox.checked : void 0,
1886
- key: o.value,
1887
- value: o.value,
1888
- variant: l(o)
1895
+ function u(o, s) {
1896
+ return !!o && o !== s;
1897
+ }
1898
+ return (o, s) => (d(), b(G, null, [
1899
+ (d(!0), b(G, null, Z(e.options, (i) => (d(), V(Ue, {
1900
+ "aria-checked": i.checkbox ? i.checkbox.checked : void 0,
1901
+ key: i.value,
1902
+ value: i.value,
1903
+ variant: l(i)
1889
1904
  }, {
1890
1905
  default: O(() => [
1891
- o.checkbox ? (u(), V(Ta, {
1906
+ i.checkbox ? (d(), b("span", {
1892
1907
  key: 0,
1893
- "input-id": o.checkbox.inputId,
1894
- "model-value": o.checkbox.checked
1895
- }, null, 8, ["input-id", "model-value"])) : w("", !0),
1896
- o.icon ? (u(), v("span", Fa, [
1897
- (u(), V(J(t[o.icon])))
1908
+ id: i.checkbox.inputId,
1909
+ "aria-hidden": "true",
1910
+ class: "bs-checkbox",
1911
+ "data-checked": i.checkbox.checked
1912
+ }, null, 8, ja)) : w("", !0),
1913
+ i.icon ? (d(), b("span", Fa, [
1914
+ (d(), V(J(t[i.icon])))
1898
1915
  ])) : w("", !0),
1899
- o.profileImg ? (u(), V(st, {
1916
+ i.profileImg ? (d(), V(rt, {
1900
1917
  key: 2,
1901
- src: o.profileImg.src,
1918
+ src: i.profileImg.src,
1902
1919
  size: "xs",
1903
- initials: o.profileImg.initials,
1904
- "profile-name": o.profileImg.profileName
1905
- }, null, 8, ["src", "initials", "profile-name"])) : w("", !0),
1906
- o.labelHtml ? (u(), v(j, { key: 3 }, [
1907
- o.checkbox ? (u(), v("label", {
1908
- key: 0,
1909
- for: o.checkbox.inputId,
1910
- innerHTML: o.labelHtml,
1911
- onClick: i[0] || (i[0] = Ye(() => {
1912
- }, ["prevent"]))
1913
- }, null, 8, Ua)) : (u(), v("span", {
1914
- key: 1,
1915
- innerHTML: o.labelHtml
1916
- }, null, 8, Wa))
1917
- ], 64)) : (u(), v(j, { key: 4 }, [
1918
- o.checkbox ? (u(), v("label", {
1919
- key: 0,
1920
- for: o.checkbox.inputId,
1921
- onClick: i[1] || (i[1] = Ye(() => {
1922
- }, ["prevent"]))
1923
- }, T(o.label), 9, Ga)) : (u(), v("span", Ha, T(o.label), 1))
1924
- ], 64)),
1925
- o.description ? (u(), v("span", Ka, T(o.description), 1)) : w("", !0)
1920
+ initials: i.profileImg.initials,
1921
+ "profile-name": i.profileImg.profileName,
1922
+ "use-alt-text": u(i.profileImg.profileName, i.label)
1923
+ }, null, 8, ["src", "initials", "profile-name", "use-alt-text"])) : w("", !0),
1924
+ i.labelHtml ? (d(), b("span", {
1925
+ key: 3,
1926
+ innerHTML: i.labelHtml
1927
+ }, null, 8, Ua)) : (d(), b("span", Wa, A(i.label), 1)),
1928
+ i.description ? (d(), b("span", Ga, A(i.description), 1)) : w("", !0)
1926
1929
  ]),
1927
1930
  _: 2
1928
1931
  }, 1032, ["aria-checked", "value", "variant"]))), 128)),
1929
- e.showNoOptions && e.options.length === 0 ? (u(), v("li", Ya, [
1930
- E(d.$slots, "no-options", {}, () => [
1931
- F("No options")
1932
+ e.showNoOptions && e.options.length === 0 ? (d(), b("li", Ha, [
1933
+ E(o.$slots, "no-options", {}, () => [
1934
+ W("No options")
1932
1935
  ])
1933
1936
  ])) : w("", !0)
1934
1937
  ], 64));
1935
1938
  }
1936
- }, Qa = { role: "separator" }, Xa = /* @__PURE__ */ g("hr", null, null, -1), Za = [
1937
- Xa
1938
- ], Ja = {
1939
+ }, Ka = { role: "separator" }, Ya = /* @__PURE__ */ y("hr", null, null, -1), Qa = [
1940
+ Ya
1941
+ ], Xa = {
1939
1942
  __name: "BsDropdownMultiselect",
1940
1943
  props: {
1941
1944
  label: {
1942
- type: String
1945
+ type: String,
1946
+ default: "Select an option"
1943
1947
  },
1944
1948
  options: {
1945
1949
  type: Array,
@@ -1960,53 +1964,51 @@ const Sa = {
1960
1964
  },
1961
1965
  emits: ["update:selectedOptions"],
1962
1966
  setup(e, { emit: a }) {
1963
- const t = e, n = a;
1964
- m(null), m(null);
1965
- const l = m(null), r = m([]), d = m([]);
1966
- let i = !1;
1967
+ const t = e, n = a, l = g(null), r = g([]), u = g([]);
1968
+ let o = !1;
1967
1969
  N(
1968
1970
  () => t.selectedOptions,
1969
1971
  c,
1970
1972
  { immediate: !0 }
1971
- ), N(() => t.shown, ($) => {
1972
- $ && me(o);
1973
+ ), N(() => t.shown, (m) => {
1974
+ m && fe(s);
1973
1975
  });
1974
- function o() {
1975
- var x, S;
1976
- l.value && (l.value.refreshOptions(), l.value.activeDescendantId = (x = l.value.optionEls[0]) == null ? void 0 : x.id, l.value.focusedIndex = 0);
1977
- const $ = document.querySelector(`#${t.optionsId} [data-component="bs-dropdown-option"]`);
1978
- (S = $ == null ? void 0 : $.focus) == null || S.call($, { preventScroll: !0 });
1979
- }
1980
1976
  function s() {
1981
- var $;
1977
+ var T, S;
1978
+ l.value && (l.value.refreshOptions(), l.value.activeDescendantId = (T = l.value.optionEls[0]) == null ? void 0 : T.id, l.value.focusedIndex = 0);
1979
+ const m = document.querySelector(`#${t.optionsId} [data-component="bs-dropdown-option"]`);
1980
+ (S = m == null ? void 0 : m.focus) == null || S.call(m, { preventScroll: !0 });
1981
+ }
1982
+ function i() {
1983
+ var m;
1982
1984
  if (l.value) {
1983
1985
  l.value.refreshOptions();
1984
- const x = l.value.focusedIndex, S = l.value.optionEls[x];
1985
- ($ = S == null ? void 0 : S.focus) == null || $.call(S), l.value.activeDescendantId = S == null ? void 0 : S.id;
1986
+ const T = l.value.focusedIndex, S = l.value.optionEls[T];
1987
+ (m = S == null ? void 0 : S.focus) == null || m.call(S), l.value.activeDescendantId = S == null ? void 0 : S.id;
1986
1988
  }
1987
1989
  }
1988
- function c($ = []) {
1989
- const x = new Set($), S = [], k = [];
1990
+ function c(m = []) {
1991
+ const T = new Set(m), S = [], k = [];
1990
1992
  t.options.forEach((q) => {
1991
- const b = { ...q }, B = `${t.optionsId}-${q.value}-cb`;
1992
- x.has(q.value) ? (b.checkbox = { inputId: B, checked: !0 }, S.push(b)) : (b.checkbox = { inputId: B, checked: !1 }, k.push(b));
1993
- }), r.value = S, me(() => {
1994
- d.value = k, me(() => {
1995
- i && s(), i = !1;
1993
+ const $ = { ...q }, h = `${t.optionsId}-${q.value}-cb`;
1994
+ T.has(q.value) ? ($.checkbox = { inputId: h, checked: !0 }, S.push($)) : ($.checkbox = { inputId: h, checked: !1 }, k.push($));
1995
+ }), r.value = S, fe(() => {
1996
+ u.value = k, fe(() => {
1997
+ o && i(), o = !1;
1996
1998
  });
1997
1999
  });
1998
2000
  }
1999
- function h($ = []) {
2000
- const x = new Set($), S = [];
2001
+ function f(m = []) {
2002
+ const T = new Set(m), S = [];
2001
2003
  return t.options.forEach((k) => {
2002
- x.has(k.value) && S.push(k.value);
2004
+ T.has(k.value) && S.push(k.value);
2003
2005
  }), S;
2004
2006
  }
2005
- function I($) {
2006
- const x = t.selectedOptions.includes($) ? t.selectedOptions.filter((S) => S !== $) : h([...t.selectedOptions, $]);
2007
- i = !0, n("update:selectedOptions", x);
2007
+ function x(m) {
2008
+ const T = t.selectedOptions.includes(m) ? t.selectedOptions.filter((S) => S !== m) : f([...t.selectedOptions, m]);
2009
+ o = !0, n("update:selectedOptions", T);
2008
2010
  }
2009
- return ($, x) => (u(), V(Fe, {
2011
+ return (m, T) => (d(), V(Fe, {
2010
2012
  ref_key: "optlist",
2011
2013
  ref: l,
2012
2014
  "aria-multiselectable": "true",
@@ -2015,20 +2017,20 @@ const Sa = {
2015
2017
  multiselect: "",
2016
2018
  "options-id": e.optionsId,
2017
2019
  shown: e.shown,
2018
- "onUpdate:modelValue": I
2020
+ "onUpdate:modelValue": x
2019
2021
  }, {
2020
2022
  default: O(() => {
2021
2023
  var S;
2022
2024
  return [
2023
- D(ye, {
2025
+ D(Be, {
2024
2026
  options: r.value,
2025
2027
  "show-no-options": !1
2026
2028
  }, null, 8, ["options"]),
2027
- Be(g("li", Qa, Za, 512), [
2028
- [$e, (S = r.value) == null ? void 0 : S.length]
2029
+ $e(y("li", Ka, Qa, 512), [
2030
+ [Se, (S = r.value) == null ? void 0 : S.length]
2029
2031
  ]),
2030
- D(ye, {
2031
- options: d.value,
2032
+ D(Be, {
2033
+ options: u.value,
2032
2034
  "show-no-options": !1
2033
2035
  }, null, 8, ["options"])
2034
2036
  ];
@@ -2036,10 +2038,10 @@ const Sa = {
2036
2038
  _: 1
2037
2039
  }, 8, ["label", "options-id", "shown"]));
2038
2040
  }
2039
- }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2041
+ }, Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2040
2042
  __proto__: null,
2041
- default: Ja
2042
- }, Symbol.toStringTag, { value: "Module" })), en = {
2043
+ default: Xa
2044
+ }, Symbol.toStringTag, { value: "Module" })), Ja = {
2043
2045
  __name: "BsDropdownWithOptionsNew",
2044
2046
  props: {
2045
2047
  // DROPDOWN PROPS
@@ -2092,7 +2094,7 @@ const Sa = {
2092
2094
  },
2093
2095
  label: {
2094
2096
  type: String,
2095
- default: void 0
2097
+ default: "Select an option"
2096
2098
  },
2097
2099
  modelValue: {
2098
2100
  type: [String, Number],
@@ -2114,17 +2116,17 @@ const Sa = {
2114
2116
  "after-leave"
2115
2117
  ],
2116
2118
  setup(e, { emit: a }) {
2117
- const t = a, n = m(!1);
2119
+ const t = a, n = g(!1);
2118
2120
  function l() {
2119
2121
  n.value = !0;
2120
2122
  }
2121
- function r(i) {
2122
- n.value = !1, t("update:modelValue", i), t("close");
2123
+ function r(o) {
2124
+ n.value = !1, t("update:modelValue", o), t("close");
2123
2125
  }
2124
- function d() {
2126
+ function u() {
2125
2127
  n.value && (n.value = !1, t("close"));
2126
2128
  }
2127
- return (i, o) => (u(), V(f(rt), {
2129
+ return (o, s) => (d(), V(p(it), {
2128
2130
  "anchor-id": e.anchorId,
2129
2131
  breakout: e.breakout,
2130
2132
  "container-id": e.containerId,
@@ -2135,23 +2137,23 @@ const Sa = {
2135
2137
  shown: e.shown,
2136
2138
  "use-mobile-style": e.useMobileStyle,
2137
2139
  width: e.width,
2138
- onClose: d,
2139
- onAfterEnter: o[0] || (o[0] = (s) => t("after-enter")),
2140
+ onClose: u,
2141
+ onAfterEnter: s[0] || (s[0] = (i) => t("after-enter")),
2140
2142
  onEnter: l,
2141
- onAfterLeave: o[1] || (o[1] = (s) => t("after-leave"))
2143
+ onAfterLeave: s[1] || (s[1] = (i) => t("after-leave"))
2142
2144
  }, {
2143
2145
  default: O(() => [
2144
- D(f(Fe), {
2146
+ D(p(Fe), {
2145
2147
  "focus-on-show": e.focusOnShow,
2146
2148
  label: e.label,
2147
2149
  "model-value": e.modelValue,
2148
2150
  "options-id": e.optionsId,
2149
2151
  "prevent-tab": e.preventTab,
2150
2152
  "onUpdate:modelValue": r,
2151
- onClose: d
2153
+ onClose: u
2152
2154
  }, {
2153
2155
  default: O(() => [
2154
- E(i.$slots, "default")
2156
+ E(o.$slots, "default")
2155
2157
  ]),
2156
2158
  _: 3
2157
2159
  }, 8, ["focus-on-show", "label", "model-value", "options-id", "prevent-tab"])
@@ -2248,7 +2250,7 @@ const Sa = {
2248
2250
  },
2249
2251
  label: {
2250
2252
  type: String,
2251
- default: void 0
2253
+ default: "Select an option"
2252
2254
  },
2253
2255
  modelValue: {
2254
2256
  type: [String, Number],
@@ -2277,30 +2279,30 @@ const Sa = {
2277
2279
  "after-leave"
2278
2280
  ],
2279
2281
  setup(e, { emit: a }) {
2280
- const t = e, n = a, { transition: l } = fe(t), r = p(() => t.width === "toggle" ? "anchor" : t.width), d = p(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), i = p(() => t.toggleId ? t.toggleId : t.anchorId), o = p(() => t.selectedValue || t.modelValue);
2281
- function s(c) {
2282
+ const t = e, n = a, { transition: l } = ve(t), r = v(() => t.width === "toggle" ? "anchor" : t.width), u = v(() => t.top ? "top" : t.center ? "center" : t.right ? "right" : t.position), o = v(() => t.toggleId ? t.toggleId : t.anchorId), s = v(() => t.selectedValue || t.modelValue);
2283
+ function i(c) {
2282
2284
  n("optselected", c), n("update:modelValue", c);
2283
2285
  }
2284
- return (c, h) => (u(), V(en, {
2285
- "anchor-id": i.value,
2286
+ return (c, f) => (d(), V(Ja, {
2287
+ "anchor-id": o.value,
2286
2288
  breakout: e.breakout,
2287
2289
  "container-id": e.containerId,
2288
2290
  "focus-on-show": e.focusOnShow,
2289
2291
  "helper-description": e.helperDescription,
2290
2292
  "helper-text": e.helperText,
2291
2293
  label: e.label,
2292
- "model-value": o.value,
2294
+ "model-value": s.value,
2293
2295
  "options-id": e.optionsId,
2294
- position: d.value,
2296
+ position: u.value,
2295
2297
  preloaded: e.preloaded,
2296
2298
  "prevent-tab": e.preventTab,
2297
- shown: f(l),
2299
+ shown: p(l),
2298
2300
  "use-mobile-style": e.useMobileStyle,
2299
2301
  width: r.value,
2300
- onClose: h[0] || (h[0] = (I) => n("close")),
2301
- onAfterEnter: h[1] || (h[1] = (I) => n("after-enter")),
2302
- onAfterLeave: h[2] || (h[2] = (I) => n("after-leave")),
2303
- "onUpdate:modelValue": s
2302
+ onClose: f[0] || (f[0] = (x) => n("close")),
2303
+ onAfterEnter: f[1] || (f[1] = (x) => n("after-enter")),
2304
+ onAfterLeave: f[2] || (f[2] = (x) => n("after-leave")),
2305
+ "onUpdate:modelValue": i
2304
2306
  }, {
2305
2307
  default: O(() => [
2306
2308
  E(c.$slots, "default")
@@ -2308,7 +2310,7 @@ const Sa = {
2308
2310
  _: 3
2309
2311
  }, 8, ["anchor-id", "breakout", "container-id", "focus-on-show", "helper-description", "helper-text", "label", "model-value", "options-id", "position", "preloaded", "prevent-tab", "shown", "use-mobile-style", "width"]));
2310
2312
  }
2311
- }, tn = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], an = {
2313
+ }, _a = ["aria-controls", "aria-expanded", "data-open", "data-size", "disabled"], en = {
2312
2314
  __name: "BsFilterButton",
2313
2315
  props: {
2314
2316
  badgeCount: {
@@ -2337,8 +2339,8 @@ const Sa = {
2337
2339
  }
2338
2340
  },
2339
2341
  setup(e) {
2340
- const a = e, t = p(() => a.badgeCount > 0);
2341
- return (n, l) => (u(), v("button", {
2342
+ const a = e, t = v(() => a.badgeCount > 0);
2343
+ return (n, l) => (d(), b("button", {
2342
2344
  class: "bs-filter-button",
2343
2345
  "aria-controls": e.optionsId,
2344
2346
  "aria-expanded": e.open,
@@ -2348,7 +2350,7 @@ const Sa = {
2348
2350
  disabled: e.disabled,
2349
2351
  type: "button"
2350
2352
  }, [
2351
- t.value ? (u(), V(Wt, {
2353
+ t.value ? (d(), V(Wt, {
2352
2354
  key: 0,
2353
2355
  color: "blue",
2354
2356
  count: e.badgeCount,
@@ -2357,12 +2359,12 @@ const Sa = {
2357
2359
  variant: "notext"
2358
2360
  }, null, 8, ["count"])) : w("", !0),
2359
2361
  E(n.$slots, "label", {}, () => [
2360
- F(T(e.label), 1)
2362
+ W(A(e.label), 1)
2361
2363
  ]),
2362
- D(f(ot))
2363
- ], 8, tn));
2364
+ D(p(lt))
2365
+ ], 8, _a));
2364
2366
  }
2365
- }, nn = ["id"], ql = {
2367
+ }, tn = ["id"], ql = {
2366
2368
  __name: "BsDropdownWithToggle",
2367
2369
  props: {
2368
2370
  breakout: {
@@ -2374,7 +2376,8 @@ const Sa = {
2374
2376
  default: !1
2375
2377
  },
2376
2378
  dropdownLabel: {
2377
- type: String
2379
+ type: String,
2380
+ default: "Select an option"
2378
2381
  },
2379
2382
  dropdownPosition: {
2380
2383
  type: String,
@@ -2424,51 +2427,51 @@ const Sa = {
2424
2427
  },
2425
2428
  emits: ["update:selectedOptions", "update:selectedOption", "toggled", "close"],
2426
2429
  setup(e, { emit: a }) {
2427
- const t = e, n = a, l = m(!1), r = m(null), d = p(() => Re(async () => await (t.multiselect ? Promise.resolve().then(() => _a) : Promise.resolve().then(() => za)))), [i, o] = X(2);
2428
- N(l, (x) => {
2429
- x && r.value.$el.blur();
2430
+ const t = e, n = a, l = g(!1), r = g(null), u = v(() => Re(async () => await (t.multiselect ? Promise.resolve().then(() => Za) : Promise.resolve().then(() => Ma)))), [o, s] = Q(2);
2431
+ N(l, (T) => {
2432
+ T && r.value.$el.blur();
2430
2433
  });
2431
- function s() {
2434
+ function i() {
2432
2435
  l.value = !1, n("close"), r.value.$el.focus();
2433
2436
  }
2434
2437
  function c() {
2435
- l.value && s();
2438
+ l.value && i();
2436
2439
  }
2437
- function h() {
2440
+ function f() {
2438
2441
  l.value = !0;
2439
2442
  }
2440
- function I(x) {
2441
- n("update:selectedOptions", x);
2443
+ function x(T) {
2444
+ n("update:selectedOptions", T);
2442
2445
  }
2443
- function $(x) {
2444
- t.multiselect || (n("update:selectedOption", x), s());
2446
+ function m(T) {
2447
+ t.multiselect || (n("update:selectedOption", T), i());
2445
2448
  }
2446
- return (x, S) => (u(), v("div", {
2449
+ return (T, S) => (d(), b("div", {
2447
2450
  class: "bs-dropdown-with-toggle",
2448
- id: x.$attrs.id
2451
+ id: T.$attrs.id
2449
2452
  }, [
2450
- D(an, {
2453
+ D(en, {
2451
2454
  ref_key: "toggleRef",
2452
2455
  ref: r,
2453
- "aria-controls": f(o),
2456
+ "aria-controls": p(s),
2454
2457
  "aria-expanded": e.open,
2455
2458
  disabled: e.disabled,
2456
- id: f(i),
2459
+ id: p(o),
2457
2460
  open: e.open,
2458
- "options-id": f(o),
2461
+ "options-id": p(s),
2459
2462
  size: e.toggleSize,
2460
- onClick: S[0] || (S[0] = (k) => x.$emit("toggled"))
2463
+ onClick: S[0] || (S[0] = (k) => T.$emit("toggled"))
2461
2464
  }, {
2462
2465
  label: O(() => [
2463
- E(x.$slots, "toggle-label", {}, () => [
2464
- F(T(e.toggleLabel), 1)
2466
+ E(T.$slots, "toggle-label", {}, () => [
2467
+ W(A(e.toggleLabel), 1)
2465
2468
  ])
2466
2469
  ]),
2467
2470
  _: 3
2468
2471
  }, 8, ["aria-controls", "aria-expanded", "disabled", "id", "open", "options-id", "size"]),
2469
- D(rt, {
2472
+ D(it, {
2470
2473
  shown: e.open,
2471
- "anchor-id": f(i),
2474
+ "anchor-id": p(o),
2472
2475
  breakout: e.breakout,
2473
2476
  "helper-text": e.helperText,
2474
2477
  "helper-description": e.helperDescription,
@@ -2477,22 +2480,22 @@ const Sa = {
2477
2480
  "use-mobile-style": e.useMobileStyle,
2478
2481
  width: e.dropdownWidth,
2479
2482
  onClose: c,
2480
- onEnter: h
2483
+ onEnter: f
2481
2484
  }, {
2482
2485
  default: O(() => [
2483
- D(f(d), {
2486
+ D(p(u), {
2484
2487
  label: e.dropdownLabel,
2485
2488
  "model-value": e.selectedOption,
2486
2489
  options: e.options,
2487
- "options-id": f(o),
2490
+ "options-id": p(s),
2488
2491
  "selected-options": e.selectedOptions,
2489
2492
  shown: e.open,
2490
- "onUpdate:modelValue": $,
2491
- "onUpdate:selectedOptions": I,
2493
+ "onUpdate:modelValue": m,
2494
+ "onUpdate:selectedOptions": x,
2492
2495
  onClose: S[1] || (S[1] = (k) => e.multiselect ? void 0 : c())
2493
2496
  }, {
2494
2497
  default: O(() => [
2495
- e.multiselect ? w("", !0) : (u(), V(ye, {
2498
+ e.multiselect ? w("", !0) : (d(), V(Be, {
2496
2499
  key: 0,
2497
2500
  options: e.options
2498
2501
  }, null, 8, ["options"]))
@@ -2502,51 +2505,51 @@ const Sa = {
2502
2505
  ]),
2503
2506
  _: 1
2504
2507
  }, 8, ["shown", "anchor-id", "breakout", "helper-text", "helper-description", "position", "use-mobile-style", "width"])
2505
- ], 8, nn));
2508
+ ], 8, tn));
2506
2509
  }
2507
- }, ln = ["view-box"], on = ["id"], rn = ["offset", "stop-color"], Ml = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2510
+ }, an = ["view-box"], nn = ["id"], ln = ["offset", "stop-color"], Pl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2508
2511
  __name: "BsIconGradientWrapper",
2509
2512
  setup(e) {
2510
- const a = m(null), t = m(null), n = [
2513
+ const a = g(null), t = g(null), n = [
2511
2514
  { offset: 0.1326, color: "#EE282A" },
2512
2515
  { offset: 0.5466, color: "#1C0087" },
2513
2516
  { offset: 0.9715, color: "#0086EA" }
2514
- ], [l] = X();
2515
- return W(() => {
2517
+ ], [l] = Q();
2518
+ return K(() => {
2516
2519
  t.value = a.value.querySelector("svg").getAttribute("viewBox") || "0 0 0 0";
2517
- }), (r, d) => (u(), v(j, null, [
2518
- g("span", z({
2520
+ }), (r, u) => (d(), b(G, null, [
2521
+ y("span", z({
2519
2522
  ref_key: "svgWrapperRef",
2520
2523
  ref: a,
2521
2524
  class: "bs-icon-gradient-wrapper",
2522
- style: `fill: url(#${f(l)});`
2525
+ style: `fill: url(#${p(l)});`
2523
2526
  }, r.$attrs), [
2524
2527
  E(r.$slots, "default")
2525
2528
  ], 16),
2526
- (u(), v("svg", {
2529
+ (d(), b("svg", {
2527
2530
  xmlns: "http://www.w3.org/2000/svg",
2528
2531
  "view-box": t.value,
2529
2532
  width: "0",
2530
2533
  height: "0"
2531
2534
  }, [
2532
- g("linearGradient", {
2533
- id: f(l),
2535
+ y("linearGradient", {
2536
+ id: p(l),
2534
2537
  x1: "0",
2535
2538
  y1: "0",
2536
2539
  x2: "100%",
2537
2540
  y2: "100%",
2538
2541
  "gradient-units": "userSpaceOnUse"
2539
2542
  }, [
2540
- (u(), v(j, null, Z(n, (i) => g("stop", {
2541
- key: i.offset,
2542
- offset: i.offset,
2543
- "stop-color": i.color
2544
- }, null, 8, rn)), 64))
2545
- ], 8, on)
2546
- ], 8, ln))
2543
+ (d(), b(G, null, Z(n, (o) => y("stop", {
2544
+ key: o.offset,
2545
+ offset: o.offset,
2546
+ "stop-color": o.color
2547
+ }, null, 8, ln)), 64))
2548
+ ], 8, nn)
2549
+ ], 8, an))
2547
2550
  ], 64));
2548
2551
  }
2549
- }), Pl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2552
+ }), Ml = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2550
2553
  __name: "BsInputField",
2551
2554
  props: {
2552
2555
  /** Sets the disabled state on input, disabled styles on label. */
@@ -2593,46 +2596,46 @@ const Sa = {
2593
2596
  },
2594
2597
  emits: ["update:modelValue"],
2595
2598
  setup(e, { emit: a }) {
2596
- const t = e, [n, l] = X(2), r = p(() => ce.concat(t.passAttrs.split(",")).concat("type")), d = p(() => {
2597
- var s, c;
2598
- return ((c = (s = t.hints) == null ? void 0 : s.join) == null ? void 0 : c.call(s, `
2599
+ const t = e, [n, l] = Q(2), r = v(() => pe.concat(t.passAttrs.split(",")).concat("type")), u = v(() => {
2600
+ var i, c;
2601
+ return ((c = (i = t.hints) == null ? void 0 : i.join) == null ? void 0 : c.call(i, `
2599
2602
  `)) || t.hints;
2600
- }), i = p(() => t.error && t.errorMsg || t.hint || d.value || void 0), o = p(() => t.inputId || n.value);
2601
- return (s, c) => (u(), v("div", z({ "data-component": "bs-input-field" }, f(U)(s.$attrs, r.value).remaining), [
2602
- e.label || s.$slots.label ? (u(), V(ne, {
2603
+ }), o = v(() => t.error && t.errorMsg || t.hint || u.value || void 0), s = v(() => t.inputId || n.value);
2604
+ return (i, c) => (d(), b("div", z({ "data-component": "bs-input-field" }, p(H)(i.$attrs, r.value).remaining), [
2605
+ e.label || i.$slots.label ? (d(), V(ae, {
2603
2606
  key: 0,
2604
- for: s.$attrs.id || o.value,
2607
+ for: i.$attrs.id || s.value,
2605
2608
  disabled: e.disabled,
2606
2609
  required: e.required
2607
2610
  }, {
2608
2611
  default: O(() => [
2609
- E(s.$slots, "label", {}, () => [
2610
- F(T(e.label), 1)
2612
+ E(i.$slots, "label", {}, () => [
2613
+ W(A(e.label), 1)
2611
2614
  ])
2612
2615
  ]),
2613
2616
  _: 3
2614
2617
  }, 8, ["for", "disabled", "required"])) : w("", !0),
2615
- D(ve, z({
2618
+ D(be, z({
2616
2619
  disabled: e.disabled,
2617
2620
  error: e.error,
2618
- "hint-id": f(l),
2619
- id: s.$attrs.id || o.value,
2621
+ "hint-id": p(l),
2622
+ id: i.$attrs.id || s.value,
2620
2623
  placeholder: e.placeholder,
2621
2624
  required: e.required,
2622
2625
  type: e.type,
2623
2626
  value: e.value || e.modelValue,
2624
- "onUpdate:modelValue": c[0] || (c[0] = (h) => s.$emit("update:modelValue", h))
2625
- }, f(U)(s.$attrs, r.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
2626
- i.value ? (u(), V(pe, {
2627
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.$emit("update:modelValue", f))
2628
+ }, p(H)(i.$attrs, r.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "type", "value"]),
2629
+ o.value ? (d(), V(he, {
2627
2630
  key: 1,
2628
2631
  error: e.error,
2629
2632
  "error-msg": e.errorMsg,
2630
- hint: e.hint || d.value,
2631
- "hint-id": f(l)
2633
+ hint: e.hint || u.value,
2634
+ "hint-id": p(l)
2632
2635
  }, null, 8, ["error", "error-msg", "hint", "hint-id"])) : w("", !0)
2633
2636
  ], 16));
2634
2637
  }
2635
- }), tt = {
2638
+ }), et = {
2636
2639
  A: "🇦",
2637
2640
  B: "🇧",
2638
2641
  C: "🇨",
@@ -2659,7 +2662,7 @@ const Sa = {
2659
2662
  X: "🇽",
2660
2663
  Y: "🇾",
2661
2664
  Z: "🇿"
2662
- }, Me = {
2665
+ }, Pe = {
2663
2666
  data: {
2664
2667
  allCountries: null,
2665
2668
  byCountryCode: null,
@@ -2686,7 +2689,7 @@ const Sa = {
2686
2689
  */
2687
2690
  initSourceData() {
2688
2691
  return this.data.allCountries || (this.data.allCountries = Vt().map((e) => {
2689
- const a = Et(e), t = tt[a[0]] + tt[a[1]] || "";
2692
+ const a = Et(e), t = et[a[0]] + et[a[1]] || "";
2690
2693
  return {
2691
2694
  label: `+${e}`,
2692
2695
  flag: t,
@@ -2700,10 +2703,10 @@ const Sa = {
2700
2703
  this.data[e][t[a]] = t;
2701
2704
  }));
2702
2705
  }
2703
- }, sn = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], dn = {
2706
+ }, on = ["id", "aria-controls", "aria-expanded", "aria-label", "disabled"], rn = { key: 0 }, sn = {
2704
2707
  "aria-hidden": "true",
2705
2708
  style: { width: "1.25rem" }
2706
- }, un = { "aria-hidden": "true" }, zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2709
+ }, dn = { "aria-hidden": "true" }, zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2707
2710
  __name: "BsInputPhone",
2708
2711
  props: {
2709
2712
  deferValidation: {
@@ -2765,105 +2768,106 @@ const Sa = {
2765
2768
  "Escape",
2766
2769
  "Home",
2767
2770
  "Tab"
2768
- ], d = m(null), i = m(1), o = m([]), s = m(null), [
2771
+ ], u = g(null), o = g(1), s = g([]), i = g(null), [
2769
2772
  c,
2770
- h,
2771
- I,
2772
- $
2773
- ] = X(4), x = m(!1), S = m(""), k = m(""), q = m(!1), b = m(!1), B = m(!0);
2773
+ f,
2774
+ x,
2775
+ m
2776
+ ] = Q(4), T = g(!1), S = g(""), k = g(""), q = g(!1), $ = g(!1), h = g(!0);
2774
2777
  a({
2775
2778
  validationErr: q,
2776
2779
  validationErrMsg: k
2777
2780
  });
2778
- const A = p(() => S.value ? `+${i.value}${S.value}` : ""), C = p(() => `Country code: ${i.value}. Click to change.`), M = p(() => B.value ? n.errorMsg || k.value : ""), H = p(() => n.error || q.value), Q = p(() => n.hint || H.value && M.value), _ = p(() => B.value && H.value);
2779
- N(A, (P) => {
2780
- l("update:modelValue", P), be(P);
2781
- }), N(() => n.modelValue, de), De(), W(() => x.value = !0);
2782
- function de(P, Y) {
2783
- P === "" && P !== Y && (S.value = "");
2781
+ const C = v(() => S.value ? `+${o.value}${S.value}` : ""), I = v(() => `Country code: ${o.value}. Click to change.`), P = v(() => h.value ? n.errorMsg || k.value : ""), F = v(() => n.error || q.value), ne = v(() => n.hint || F.value && P.value), X = v(() => h.value && F.value);
2782
+ N(C, (M) => {
2783
+ l("update:modelValue", M), ge(M);
2784
+ }), N(() => n.modelValue, de), De(), K(() => T.value = !0);
2785
+ function de(M, j) {
2786
+ M === "" && M !== j && (S.value = "");
2784
2787
  }
2785
- function xe() {
2786
- var P;
2787
- b.value && (b.value = !1, (P = d.value) == null || P.focus());
2788
+ function ue() {
2789
+ var M;
2790
+ $.value && ($.value = !1, (M = u.value) == null || M.focus());
2788
2791
  }
2789
- function Ae(P) {
2790
- var Y;
2791
- i.value = P, b.value = !1, (Y = d.value) == null || Y.focus(), he(P);
2792
+ function Ae(M) {
2793
+ var j;
2794
+ o.value = M, $.value = !1, (j = u.value) == null || j.focus(), me(M);
2792
2795
  }
2793
2796
  function Le() {
2794
- n.deferValidation && (B.value = !0), l("input-blur");
2797
+ n.deferValidation && (h.value = !0), l("input-blur");
2795
2798
  }
2796
- function Ve(P) {
2797
- S.value = P.target.value, n.deferValidation && (B.value = !1);
2799
+ function Ve(M) {
2800
+ S.value = M.target.value, n.deferValidation && (h.value = !1);
2798
2801
  }
2799
- function Ee(P) {
2800
- !P.key.match(/[0-9]/) && !r.includes(P.key) && P.preventDefault();
2802
+ function Ee(M) {
2803
+ var j, U;
2804
+ !((U = (j = M.key) == null ? void 0 : j.match) != null && U.call(j, /[0-9]/)) && !r.includes(M.key) && !M.ctrlKey && !M.metaKey && M.preventDefault();
2801
2805
  }
2802
2806
  function De() {
2803
- Me.initSourceData(), Oe(), he(i.value), be(A.value);
2807
+ Pe.initSourceData(), Oe(), me(o.value), ge(C.value);
2804
2808
  }
2805
2809
  function Oe() {
2806
- var Y, K;
2807
- let P = Qe(n.modelValue);
2808
- P.valid || P.countryCode && ((K = (Y = n.modelValue) == null ? void 0 : Y.startsWith) != null && K.call(Y, "+")) ? (i.value = P.countryCode, S.value = P.number.significant) : S.value = n.modelValue, o.value = Me.data.allCountries.map((ue) => ({
2809
- ...ue,
2810
- isSelected: i.value === ue
2810
+ var j, U;
2811
+ let M = Ye(n.modelValue);
2812
+ M.valid || M.countryCode && ((U = (j = n.modelValue) == null ? void 0 : j.startsWith) != null && U.call(j, "+")) ? (o.value = M.countryCode, S.value = M.number.significant) : S.value = n.modelValue, s.value = Pe.data.allCountries.map((ce) => ({
2813
+ ...ce,
2814
+ isSelected: o.value === ce
2811
2815
  }));
2812
2816
  }
2813
- function he(P) {
2814
- s.value = Me.getCountryByCountryCode(P);
2817
+ function me(M) {
2818
+ i.value = Pe.getCountryByCountryCode(M);
2815
2819
  }
2816
- function be(P) {
2817
- q.value = P ? !Qe(P).valid : !1, k.value = q.value ? "Invalid phone number" : "";
2820
+ function ge(M) {
2821
+ q.value = M ? !Ye(M).valid : !1, k.value = q.value ? "Invalid phone number" : "";
2818
2822
  }
2819
- return (P, Y) => (u(), v("div", z({
2823
+ return (M, j) => (d(), b("div", z({
2820
2824
  class: "bs-input-phone",
2821
2825
  "data-component": "bs-input-phone"
2822
- }, f(U)(P.$attrs, f(ce)).remaining), [
2823
- D(ne, {
2824
- for: P.$attrs.id || e.inputId || f($),
2826
+ }, p(H)(M.$attrs, p(pe)).remaining), [
2827
+ D(ae, {
2828
+ for: M.$attrs.id || e.inputId || p(m),
2825
2829
  required: e.required,
2826
- class: ae({ "visually-hidden": e.hideLabel })
2830
+ class: te({ "visually-hidden": e.hideLabel })
2827
2831
  }, {
2828
2832
  default: O(() => [
2829
- F(T(e.label), 1)
2833
+ W(A(e.label), 1)
2830
2834
  ]),
2831
2835
  _: 1
2832
2836
  }, 8, ["for", "required", "class"]),
2833
- D(Ce, {
2837
+ D(Te, {
2834
2838
  disabled: e.disabled,
2835
- error: _.value,
2839
+ error: X.value,
2836
2840
  multifocus: !0,
2837
2841
  variant: "inner-bordered"
2838
2842
  }, {
2839
2843
  default: O(() => {
2840
- var K;
2844
+ var U;
2841
2845
  return [
2842
- g("button", {
2843
- id: f(c),
2846
+ y("button", {
2847
+ id: p(c),
2844
2848
  ref_key: "countryCodesToggle",
2845
- ref: d,
2846
- "aria-controls": f(h),
2847
- "aria-expanded": b.value,
2849
+ ref: u,
2850
+ "aria-controls": p(f),
2851
+ "aria-expanded": $.value,
2848
2852
  "aria-haspopup": "listbox",
2849
- "aria-label": C.value,
2853
+ "aria-label": I.value,
2850
2854
  disabled: e.disabled,
2851
2855
  type: "button",
2852
- onClick: Y[0] || (Y[0] = (ue) => b.value = !b.value)
2856
+ onClick: j[0] || (j[0] = (ce) => $.value = !$.value)
2853
2857
  }, [
2854
- g("span", null, T((K = s.value) == null ? void 0 : K.flag), 1),
2855
- g("span", null, "+" + T(i.value), 1),
2856
- D(f(ht), { size: "sm" })
2857
- ], 8, sn),
2858
- D(ve, z({
2859
- "input-id": P.$attrs.id || e.inputId || f($),
2858
+ y("span", null, A((U = i.value) == null ? void 0 : U.flag), 1),
2859
+ y("span", null, "+" + A(o.value), 1),
2860
+ D(p(ht), { size: "sm" })
2861
+ ], 8, on),
2862
+ D(be, z({
2863
+ "input-id": M.$attrs.id || e.inputId || p(m),
2860
2864
  disabled: e.disabled,
2861
- "hint-id": f(I),
2865
+ "hint-id": p(x),
2862
2866
  placeholder: e.placeholder,
2863
2867
  value: S.value,
2864
2868
  "data-autowidth": "",
2865
2869
  type: "tel"
2866
- }, f(U)(P.$attrs, f(ce)).filtered, {
2870
+ }, p(H)(M.$attrs, p(pe)).filtered, {
2867
2871
  onInput: Ve,
2868
2872
  onFocusout: Le,
2869
2873
  onKeydown: Ee
@@ -2872,46 +2876,47 @@ const Sa = {
2872
2876
  }),
2873
2877
  _: 1
2874
2878
  }, 8, ["disabled", "error"]),
2875
- Be(D(pe, {
2876
- error: H.value,
2877
- "error-msg": M.value,
2879
+ $e(D(he, {
2880
+ error: F.value,
2881
+ "error-msg": P.value,
2878
2882
  hint: e.hint,
2879
- "hint-id": f(I)
2883
+ "hint-id": p(x)
2880
2884
  }, null, 8, ["error", "error-msg", "hint", "hint-id"]), [
2881
- [$e, Q.value]
2885
+ [Se, ne.value]
2882
2886
  ]),
2883
- x.value ? (u(), V(We, {
2884
- key: 0,
2885
- "anchor-id": f(c),
2886
- "helper-text": "Country Code",
2887
- label: "Country Code",
2888
- "model-value": i.value,
2889
- "options-id": f(h),
2890
- preloaded: "",
2891
- shown: b.value,
2892
- width: "content",
2893
- onClose: xe,
2894
- "onUpdate:modelValue": Ae
2895
- }, {
2896
- default: O(() => [
2897
- (u(!0), v(j, null, Z(o.value, (K) => (u(), V(Ue, {
2898
- "aria-label": K.value,
2899
- key: K.value,
2900
- value: `${K.value}`,
2901
- variant: "2-col"
2902
- }, {
2903
- default: O(() => [
2904
- g("span", dn, T(K == null ? void 0 : K.flag), 1),
2905
- g("span", un, T(K.label), 1)
2906
- ]),
2907
- _: 2
2908
- }, 1032, ["aria-label", "value"]))), 128))
2909
- ]),
2910
- _: 1
2911
- }, 8, ["anchor-id", "model-value", "options-id", "shown"])) : w("", !0)
2887
+ T.value ? (d(), b("div", rn, [
2888
+ D(We, {
2889
+ "anchor-id": p(c),
2890
+ "helper-text": "Country Code",
2891
+ label: "Country Code",
2892
+ "model-value": o.value,
2893
+ "options-id": p(f),
2894
+ preloaded: "",
2895
+ shown: $.value,
2896
+ width: "content",
2897
+ onClose: ue,
2898
+ "onUpdate:modelValue": Ae
2899
+ }, {
2900
+ default: O(() => [
2901
+ T.value ? (d(!0), b(G, { key: 0 }, Z(s.value, (U) => (d(), V(Ue, {
2902
+ "aria-label": U.value,
2903
+ key: U.value,
2904
+ value: `${U.value}`,
2905
+ variant: "2-col"
2906
+ }, {
2907
+ default: O(() => [
2908
+ y("span", sn, A(U == null ? void 0 : U.flag), 1),
2909
+ y("span", dn, A(U.label), 1)
2910
+ ]),
2911
+ _: 2
2912
+ }, 1032, ["aria-label", "value"]))), 128)) : w("", !0)
2913
+ ]),
2914
+ _: 1
2915
+ }, 8, ["anchor-id", "model-value", "options-id", "shown"])
2916
+ ])) : w("", !0)
2912
2917
  ], 16));
2913
2918
  }
2914
- }), cn = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2919
+ }), un = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
2915
2920
  __name: "BsInputSearch",
2916
2921
  props: {
2917
2922
  /** Sets the disabled state on input, disabled styles on label. */
@@ -2956,32 +2961,32 @@ const Sa = {
2956
2961
  },
2957
2962
  emits: ["clear", "update:modelValue"],
2958
2963
  setup(e, { emit: a }) {
2959
- const t = e, n = p(() => !t.disabled && !t.hideClear && t.variant !== "filter");
2960
- return (l, r) => (u(), V(Ce, z({
2964
+ const t = e, n = v(() => !t.disabled && !t.hideClear && t.variant !== "filter");
2965
+ return (l, r) => (d(), V(Te, z({
2961
2966
  class: "bs-input-search",
2962
2967
  "data-component": "bs-input-search",
2963
2968
  "data-variant": e.variant,
2964
2969
  disabled: e.disabled
2965
- }, f(U)(l.$attrs, f(ce)).remaining), {
2970
+ }, p(H)(l.$attrs, p(pe)).remaining), {
2966
2971
  default: O(() => [
2967
- e.hideSearchIcon ? w("", !0) : (u(), V(f(bt), { key: 0 })),
2968
- D(ve, z({
2972
+ e.hideSearchIcon ? w("", !0) : (d(), V(p(bt), { key: 0 })),
2973
+ D(be, z({
2969
2974
  "data-autowidth": "",
2970
2975
  disabled: e.disabled,
2971
2976
  "input-id": l.$attrs.id || e.inputId,
2972
2977
  placeholder: e.placeholder,
2973
2978
  value: e.value || e.modelValue
2974
- }, f(U)(l.$attrs, f(ce)).filtered, {
2975
- "onUpdate:modelValue": r[0] || (r[0] = (d) => l.$emit("update:modelValue", d))
2979
+ }, p(H)(l.$attrs, p(pe)).filtered, {
2980
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => l.$emit("update:modelValue", u))
2976
2981
  }), null, 16, ["disabled", "input-id", "placeholder", "value"]),
2977
- Be(g("button", {
2982
+ $e(y("button", {
2978
2983
  title: "Clear",
2979
2984
  type: "button",
2980
- onClick: r[1] || (r[1] = (d) => l.$emit("clear"))
2985
+ onClick: r[1] || (r[1] = (u) => l.$emit("clear"))
2981
2986
  }, [
2982
- D(f(Se), { size: "sm" })
2987
+ D(p(we), { size: "sm" })
2983
2988
  ], 512), [
2984
- [$e, n.value]
2989
+ [Se, n.value]
2985
2990
  ])
2986
2991
  ]),
2987
2992
  _: 1
@@ -3047,30 +3052,30 @@ const Sa = {
3047
3052
  },
3048
3053
  emits: ["update:inputValue", "update:optionsValue"],
3049
3054
  setup(e, { emit: a }) {
3050
- const t = e, n = a, l = m(!1), r = m(!1), [d] = X();
3051
- let i = [];
3055
+ const t = e, n = a, l = g(!1), r = g(!1), [u] = Q();
3056
+ let o = [];
3052
3057
  N(() => t.inputValue, () => {
3053
3058
  r.value ? r.value = !1 : S();
3054
3059
  });
3055
- const o = p(() => t.typeaheadId || d.value), s = p(() => `${o.value}-input-addon`), c = p(() => `${o.value}-input`), h = p(() => `${o.value}-options`), I = p(() => {
3060
+ const s = v(() => t.typeaheadId || u.value), i = v(() => `${s.value}-input-addon`), c = v(() => `${s.value}-input`), f = v(() => `${s.value}-options`), x = v(() => {
3056
3061
  if (l.value) {
3057
- let b = t.options;
3058
- const B = t.inputValue.toLowerCase(), A = t.filterType === "includes" ? "includes" : "startsWith";
3059
- return b = $(b, B, A), b = b.slice(0, t.maxOptions), b = x(b, B, A), i = b, b;
3062
+ let $ = t.options;
3063
+ const h = t.inputValue.toLowerCase(), C = t.filterType === "includes" ? "includes" : "startsWith";
3064
+ return $ = m($, h, C), $ = $.slice(0, t.maxOptions), $ = T($, h, C), o = $, $;
3060
3065
  } else
3061
- return i;
3066
+ return o;
3062
3067
  });
3063
- function $(b, B, A) {
3064
- return t.internalFiltering ? b.filter((C) => C.label.toLowerCase()[A](B)) : b;
3068
+ function m($, h, C) {
3069
+ return t.internalFiltering ? $.filter((I) => I.label.toLowerCase()[C](h)) : $;
3065
3070
  }
3066
- function x(b, B, A) {
3067
- return b.map((C) => {
3068
- let M = C.label;
3069
- if (B !== "") {
3070
- const H = A === "includes" ? "gi" : "i", Q = new RegExp(`(${B})`, H);
3071
- M = C.label.replace(Q, '<span style="color: var(--bs-blue-base)">$1</span>');
3071
+ function T($, h, C) {
3072
+ return $.map((I) => {
3073
+ let P = I.label;
3074
+ if (h !== "") {
3075
+ const F = C === "includes" ? "gi" : "i", ne = new RegExp(`(${h})`, F);
3076
+ P = I.label.replace(ne, '<span style="color: var(--bs-blue-base)">$1</span>');
3072
3077
  }
3073
- return { ...C, labelHtml: M };
3078
+ return { ...I, labelHtml: P };
3074
3079
  });
3075
3080
  }
3076
3081
  function S() {
@@ -3079,59 +3084,59 @@ const Sa = {
3079
3084
  function k() {
3080
3085
  n("update:inputValue", ""), n("update:optionsValue", ""), document.getElementById(c.value).focus();
3081
3086
  }
3082
- function q(b) {
3087
+ function q($) {
3083
3088
  r.value = !0, l.value = !1;
3084
- const B = I.value.find((A) => A.value === b);
3085
- n("update:inputValue", B.label), n("update:optionsValue", b);
3089
+ const h = x.value.find((C) => C.value === $);
3090
+ n("update:inputValue", h.label), n("update:optionsValue", $);
3086
3091
  }
3087
- return (b, B) => (u(), v(j, null, [
3088
- e.label || b.$slots.label ? (u(), V(ne, {
3092
+ return ($, h) => (d(), b(G, null, [
3093
+ e.label || $.$slots.label ? (d(), V(ae, {
3089
3094
  key: 0,
3090
3095
  for: c.value,
3091
3096
  disabled: e.disabled,
3092
3097
  required: e.required
3093
3098
  }, {
3094
3099
  default: O(() => [
3095
- E(b.$slots, "label", {}, () => [
3096
- F(T(e.label), 1)
3100
+ E($.$slots, "label", {}, () => [
3101
+ W(A(e.label), 1)
3097
3102
  ])
3098
3103
  ]),
3099
3104
  _: 3
3100
3105
  }, 8, ["for", "disabled", "required"])) : w("", !0),
3101
- D(cn, z({
3102
- "aria-controls": h.value,
3106
+ D(un, z({
3107
+ "aria-controls": f.value,
3103
3108
  "aria-expanded": l.value,
3104
3109
  "aria-haspopup": "listbox",
3105
3110
  autocomplete: "off",
3106
3111
  disabled: e.disabled,
3107
3112
  "hide-clear": e.inputValue === "",
3108
3113
  "hide-search-icon": e.hideSearchIcon,
3109
- id: s.value,
3114
+ id: i.value,
3110
3115
  "input-id": c.value,
3111
3116
  placeholder: e.placeholder,
3112
3117
  value: e.inputValue
3113
- }, b.$attrs, {
3118
+ }, $.$attrs, {
3114
3119
  onClear: k,
3115
3120
  onFocusin: S,
3116
- "onUpdate:modelValue": B[0] || (B[0] = (A) => n("update:inputValue", A))
3121
+ "onUpdate:modelValue": h[0] || (h[0] = (C) => n("update:inputValue", C))
3117
3122
  }), null, 16, ["aria-controls", "aria-expanded", "disabled", "hide-clear", "hide-search-icon", "id", "input-id", "placeholder", "value"]),
3118
3123
  D(We, {
3119
- "anchor-id": s.value,
3124
+ "anchor-id": i.value,
3120
3125
  "focus-on-show": !1,
3121
3126
  "model-value": e.optionsValue,
3122
- "options-id": h.value,
3127
+ "options-id": f.value,
3123
3128
  preloaded: !0,
3124
3129
  "prevent-tab": !1,
3125
3130
  shown: l.value,
3126
3131
  "use-mobile-style": !1,
3127
3132
  width: "toggle",
3128
- onClose: B[1] || (B[1] = (A) => l.value = !1),
3133
+ onClose: h[1] || (h[1] = (C) => l.value = !1),
3129
3134
  "onUpdate:modelValue": q
3130
3135
  }, {
3131
3136
  default: O(() => [
3132
- D(ye, { options: I.value }, {
3137
+ D(Be, { options: x.value }, {
3133
3138
  "no-options": O(() => [
3134
- F("No results found")
3139
+ W("No results found")
3135
3140
  ]),
3136
3141
  _: 1
3137
3142
  }, 8, ["options"])
@@ -3140,12 +3145,12 @@ const Sa = {
3140
3145
  }, 8, ["anchor-id", "model-value", "options-id", "shown"])
3141
3146
  ], 64));
3142
3147
  }
3143
- }, fn = ["data-size", "data-variant"], pn = /* @__PURE__ */ g("span", null, null, -1), vn = /* @__PURE__ */ g("span", null, null, -1), hn = /* @__PURE__ */ g("span", null, null, -1), bn = /* @__PURE__ */ g("span", null, null, -1), mn = /* @__PURE__ */ g("span", { class: "visually-hidden" }, "Loading", -1), gn = [
3148
+ }, cn = ["data-size", "data-variant"], fn = /* @__PURE__ */ y("span", null, null, -1), pn = /* @__PURE__ */ y("span", null, null, -1), vn = /* @__PURE__ */ y("span", null, null, -1), hn = /* @__PURE__ */ y("span", null, null, -1), bn = /* @__PURE__ */ y("span", { class: "visually-hidden" }, "Loading", -1), mn = [
3149
+ fn,
3144
3150
  pn,
3145
3151
  vn,
3146
3152
  hn,
3147
- bn,
3148
- mn
3153
+ bn
3149
3154
  ], Rl = {
3150
3155
  __name: "BsLoader",
3151
3156
  props: {
@@ -3160,14 +3165,14 @@ const Sa = {
3160
3165
  }
3161
3166
  },
3162
3167
  setup(e) {
3163
- return (a, t) => (u(), v("span", {
3168
+ return (a, t) => (d(), b("span", {
3164
3169
  class: "bs-loader",
3165
3170
  "data-size": e.size,
3166
3171
  "data-variant": e.variant,
3167
3172
  role: "status"
3168
- }, gn, 8, fn));
3173
+ }, mn, 8, cn));
3169
3174
  }
3170
- }, yn = /* @__PURE__ */ g("div", { class: "bs-overlay" }, null, -1), Bn = {
3175
+ }, gn = /* @__PURE__ */ y("div", { class: "bs-overlay" }, null, -1), yn = {
3171
3176
  __name: "BsOverlay",
3172
3177
  props: {
3173
3178
  shown: {
@@ -3196,27 +3201,24 @@ const Sa = {
3196
3201
  },
3197
3202
  emits: ["after-enter", "after-leave"],
3198
3203
  setup(e, { emit: a }) {
3199
- const t = e, n = a, { transition: l } = fe(t);
3204
+ const t = e, n = a, { transition: l } = ve(t);
3200
3205
  return N(l, (r) => {
3201
3206
  r ? document.body.setAttribute("data-scroll", "false") : document.body.removeAttribute("data-scroll");
3202
- }), (r, d) => (u(), V(f(Te), {
3203
- shown: f(l),
3207
+ }), (r, u) => (d(), V(p(xe), {
3208
+ shown: p(l),
3204
3209
  preloaded: e.preloaded,
3205
3210
  duration: 75,
3206
3211
  "enter-attribute": "data-shown",
3207
- onAfterEnter: d[0] || (d[0] = (i) => n("after-enter")),
3208
- onAfterLeave: d[1] || (d[1] = (i) => n("after-leave"))
3212
+ onAfterEnter: u[0] || (u[0] = (o) => n("after-enter")),
3213
+ onAfterLeave: u[1] || (u[1] = (o) => n("after-leave"))
3209
3214
  }, {
3210
3215
  default: O(() => [
3211
- yn
3216
+ gn
3212
3217
  ]),
3213
3218
  _: 1
3214
3219
  }, 8, ["shown", "preloaded"]));
3215
3220
  }
3216
- }, $n = ["id", "role"], Sn = {
3217
- key: 0,
3218
- class: "modal-title"
3219
- }, jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3221
+ }, Bn = ["id", "role", "aria-labelledby"], $n = ["id"], jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3220
3222
  __name: "BsModal",
3221
3223
  props: {
3222
3224
  modalId: {
@@ -3261,81 +3263,86 @@ const Sa = {
3261
3263
  },
3262
3264
  emits: ["close", "after-enter", "after-leave"],
3263
3265
  setup(e, { emit: a }) {
3264
- const t = e, n = a, { transition: l } = fe(t);
3265
- let r = !1;
3266
- const d = m(null), i = (c) => {
3267
- d.value && c.target.closest(".bs-overlay") && n("close", t.modalId);
3266
+ const t = e, n = a, { transition: l } = ve(t), [r] = Q();
3267
+ let u = !1;
3268
+ const o = g(null), s = (f) => {
3269
+ o.value && f.target.closest(".bs-overlay") && n("close", t.modalId);
3268
3270
  };
3269
- W(() => {
3270
- document.addEventListener("click", i);
3271
+ K(() => {
3272
+ document.addEventListener("click", s);
3271
3273
  }), oe(() => {
3272
- document.removeEventListener("click", i);
3273
- }), Ie(["Escape"], () => {
3274
- r && n("close", t.modalId);
3274
+ document.removeEventListener("click", s);
3275
+ }), Ce(["Escape"], () => {
3276
+ u && n("close", t.modalId);
3275
3277
  });
3276
- const o = () => !t.title && t.closeButton, s = () => t.title && t.closeButton;
3277
- return (c, h) => (u(), v(j, null, [
3278
- D(Bn, {
3279
- shown: f(l),
3278
+ const i = () => !t.title && t.closeButton, c = () => t.title && t.closeButton;
3279
+ return (f, x) => (d(), b(G, null, [
3280
+ D(yn, {
3281
+ shown: p(l),
3280
3282
  preloaded: e.preloaded,
3281
3283
  "enter-controlled": e.enterControlled,
3282
3284
  "enter-trigger": e.enterTrigger,
3283
3285
  "leave-trigger": e.leaveTrigger
3284
3286
  }, null, 8, ["shown", "preloaded", "enter-controlled", "enter-trigger", "leave-trigger"]),
3285
- D(Te, {
3286
- shown: f(l),
3287
+ D(xe, {
3288
+ shown: p(l),
3287
3289
  preloaded: e.preloaded,
3288
3290
  duration: 75,
3289
3291
  "enter-attribute": "data-shown",
3290
- onEnter: h[1] || (h[1] = (I) => pt(r) ? r.value = !0 : r = !0),
3291
- onAfterEnter: h[2] || (h[2] = (I) => n("after-enter")),
3292
- onAfterLeave: h[3] || (h[3] = (I) => n("after-leave"))
3292
+ onEnter: x[1] || (x[1] = (m) => pt(u) ? u.value = !0 : u = !0),
3293
+ onAfterEnter: x[2] || (x[2] = (m) => n("after-enter")),
3294
+ onAfterLeave: x[3] || (x[3] = (m) => n("after-leave"))
3293
3295
  }, {
3294
3296
  default: O(() => [
3295
- g("div", z({
3296
- id: t.modalId,
3297
+ y("div", z({
3298
+ id: e.modalId,
3297
3299
  class: "bs-modal",
3298
3300
  role: e.alert ? "alertdialog" : "dialog",
3301
+ "aria-labelledby": e.title && !f.$attrs["aria-label"] ? p(r) : void 0,
3299
3302
  "aria-modal": "true"
3300
- }, c.$attrs, {
3303
+ }, f.$attrs, {
3301
3304
  ref_key: "modalRef",
3302
- ref: d
3305
+ ref: o
3303
3306
  }), [
3304
- e.title || e.closeButton ? (u(), v("header", {
3307
+ e.title || e.closeButton ? (d(), b("header", {
3305
3308
  key: 0,
3306
- class: ae({
3307
- "only-close-button-modal-header": o,
3308
- "modal-header": s
3309
+ class: te({
3310
+ "only-close-button-modal-header": i,
3311
+ "modal-header": c
3309
3312
  })
3310
3313
  }, [
3311
- e.title ? (u(), v("h5", Sn, T(e.title), 1)) : w("", !0),
3312
- e.closeButton ? (u(), v("button", {
3314
+ e.title ? (d(), b("h5", {
3315
+ key: 0,
3316
+ id: p(r),
3317
+ class: "modal-title"
3318
+ }, A(e.title), 9, $n)) : w("", !0),
3319
+ e.closeButton ? (d(), b("button", {
3313
3320
  key: 1,
3314
3321
  type: "button",
3315
3322
  title: "Close Modal",
3316
3323
  "aria-label": "Close Modal",
3317
- onClick: h[0] || (h[0] = (I) => n("close", e.modalId))
3324
+ onClick: x[0] || (x[0] = (m) => n("close", e.modalId))
3318
3325
  }, [
3319
- D(f(Se), { class: "close-button" })
3326
+ D(p(we), { class: "close-button" })
3320
3327
  ])) : w("", !0)
3321
3328
  ], 2)) : w("", !0),
3322
- E(c.$slots, "default")
3323
- ], 16, $n)
3329
+ E(f.$slots, "default")
3330
+ ], 16, Bn)
3324
3331
  ]),
3325
3332
  _: 3
3326
3333
  }, 8, ["shown", "preloaded"])
3327
3334
  ], 64));
3328
3335
  }
3329
- }), wn = ["data-variant", "data-fixed"], kn = {
3336
+ }), Sn = ["data-variant", "data-fixed"], wn = {
3330
3337
  key: 0,
3331
3338
  class: "bs-pagination-carets"
3332
- }, In = ["title", "disabled"], Cn = { key: 0 }, Tn = ["title", "disabled"], xn = { key: 0 }, An = {
3339
+ }, kn = ["aria-label", "title", "disabled"], In = { key: 0 }, Cn = ["aria-label", "title", "disabled"], Tn = { key: 0 }, xn = {
3333
3340
  key: 1,
3334
3341
  class: "bs-pagination-page-numbers"
3335
- }, Ln = ["title", "data-selected", "onClick"], Vn = { key: 2 }, En = { key: 3 }, Dn = /* @__PURE__ */ g("span", null, "Results Per Page:", -1), On = { class: "bs-pagination-results-numbers" }, qn = ["data-selected", "disabled", "onClick"], Mn = {
3342
+ }, An = ["title", "data-selected", "onClick"], Ln = { key: 2 }, Vn = { key: 3 }, En = /* @__PURE__ */ y("span", null, "Results Per Page:", -1), Dn = { class: "bs-pagination-results-numbers" }, On = ["data-selected", "disabled", "onClick"], qn = {
3336
3343
  key: 5,
3337
3344
  class: "bs-pagination-carets"
3338
- }, Pn = ["title", "disabled"], zn = { key: 0 }, Nn = ["title", "disabled"], Rn = { key: 0 }, Fl = {
3345
+ }, Pn = ["aria-label", "title", "disabled"], Mn = { key: 0 }, zn = ["aria-label", "title", "disabled"], Nn = { key: 0 }, Fl = {
3339
3346
  __name: "BsPagination",
3340
3347
  props: {
3341
3348
  // Used for all
@@ -3421,11 +3428,11 @@ const Sa = {
3421
3428
  },
3422
3429
  emits: ["selchange", "update:modelValue"],
3423
3430
  setup(e, { emit: a }) {
3424
- const t = e, n = a, l = m(null);
3425
- W(() => {
3431
+ const t = e, n = a, l = g(null);
3432
+ K(() => {
3426
3433
  r.value ? l.value = r.value : t.variant === "results" ? l.value = S.value[0] : l.value = 1;
3427
3434
  });
3428
- const r = p(() => t.modelValue || t.selection);
3435
+ const r = v(() => t.modelValue || t.selection);
3429
3436
  N(() => t.selection, (k) => {
3430
3437
  l.value = k;
3431
3438
  }), N(() => t.modelValue, (k) => {
@@ -3433,117 +3440,121 @@ const Sa = {
3433
3440
  }), N(l, (k, q) => {
3434
3441
  q !== null && (n("selchange", k), n("update:modelValue", k));
3435
3442
  });
3436
- const d = p(() => {
3443
+ const u = v(() => {
3437
3444
  if (t.variant === "group")
3438
3445
  return Math.ceil(t.itemsCount / t.itemsPerGroup);
3439
3446
  if (t.variant === "base")
3440
3447
  return t.pageCount;
3441
- }), i = p(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3442
- function o() {
3448
+ }), o = v(() => t.variant === "base" ? t.centerDisplay === "text" ? "group" : void 0 : t.variant);
3449
+ function s() {
3443
3450
  l.value = 1;
3444
3451
  }
3445
- function s() {
3452
+ function i() {
3446
3453
  l.value = Math.max(l.value - 1, 1);
3447
3454
  }
3448
3455
  function c() {
3449
3456
  l.value = Math.min(
3450
3457
  l.value + 1,
3451
- d.value
3458
+ u.value
3452
3459
  );
3453
3460
  }
3454
- function h() {
3455
- l.value = d.value;
3461
+ function f() {
3462
+ l.value = u.value;
3456
3463
  }
3457
- const I = p(() => {
3464
+ const x = v(() => {
3458
3465
  if (t.pageCount <= t.pageRange)
3459
3466
  return [...Array(t.pageCount + 1).keys()].slice(1);
3460
3467
  const k = [1], q = (t.pageRange - 1) / 2;
3461
- let b = l.value - q, B = l.value + q;
3462
- b < 1 && (B += 1 - b, b = 1), B > t.pageCount && (b -= B - t.pageCount, B = t.pageCount), b = Math.max(b, 2), B = Math.min(B, t.pageCount - 1), b > 2 && k.push(t.breakText);
3463
- for (let A = b; A <= B; A++)
3464
- k.push(A);
3465
- return B < t.pageCount - 1 && k.push(t.breakText), k.push(t.pageCount), k;
3466
- }), $ = p(() => `${t.centerLabel ?? "Page"} ${l.value} of ${d.value}`), x = p(() => {
3468
+ let $ = l.value - q, h = l.value + q;
3469
+ $ < 1 && (h += 1 - $, $ = 1), h > t.pageCount && ($ -= h - t.pageCount, h = t.pageCount), $ = Math.max($, 2), h = Math.min(h, t.pageCount - 1), $ > 2 && k.push(t.breakText);
3470
+ for (let C = $; C <= h; C++)
3471
+ k.push(C);
3472
+ return h < t.pageCount - 1 && k.push(t.breakText), k.push(t.pageCount), k;
3473
+ }), m = v(() => `${t.centerLabel ?? "Page"} ${l.value} of ${u.value}`), T = v(() => {
3467
3474
  const k = (l.value - 1) * t.itemsPerGroup + 1, q = Math.min(k - 1 + t.itemsPerGroup, t.itemsCount);
3468
3475
  return `${t.centerLabel ?? "Results"} ${k} - ${q} of ${t.itemsCount}`;
3469
- }), S = p(() => t.resultsIncrements.split(",").map((k) => parseInt(k)));
3470
- return (k, q) => (u(), v("div", {
3476
+ }), S = v(() => t.resultsIncrements.split(",").map((k) => parseInt(k)));
3477
+ return (k, q) => (d(), b("div", {
3471
3478
  class: "bs-pagination",
3472
- "data-variant": i.value,
3479
+ "data-variant": o.value,
3473
3480
  "data-fixed": t.fixed
3474
3481
  }, [
3475
- e.variant === "base" || e.variant === "group" ? (u(), v("div", kn, [
3476
- e.showFirstLastButtons ? (u(), v("button", {
3482
+ e.variant === "base" || e.variant === "group" ? (d(), b("div", wn, [
3483
+ e.showFirstLastButtons ? (d(), b("button", {
3477
3484
  key: 0,
3478
3485
  type: "button",
3479
- class: ae(e.firstPageText ? "bs-pagination-word-caret" : void 0),
3486
+ class: te(e.firstPageText ? "bs-pagination-word-caret" : void 0),
3487
+ "aria-label": e.firstPageText ? void 0 : "First Page",
3480
3488
  title: e.firstPageText,
3481
3489
  disabled: l.value === 1,
3482
- onClick: o
3490
+ onClick: s
3483
3491
  }, [
3484
- D(f(mt)),
3485
- e.firstPageText ? (u(), v("span", Cn, T(e.firstPageText), 1)) : w("", !0)
3486
- ], 10, In)) : w("", !0),
3487
- g("button", {
3492
+ D(p(mt)),
3493
+ e.firstPageText ? (d(), b("span", In, A(e.firstPageText), 1)) : w("", !0)
3494
+ ], 10, kn)) : w("", !0),
3495
+ y("button", {
3488
3496
  type: "button",
3489
- class: ae(e.prevPageText ? "bs-pagination-word-caret" : void 0),
3497
+ class: te(e.prevPageText ? "bs-pagination-word-caret" : void 0),
3498
+ "aria-label": e.prevPageText ? void 0 : "Previous Page",
3490
3499
  title: e.prevPageText,
3491
3500
  disabled: l.value === 1,
3492
- onClick: s
3501
+ onClick: i
3493
3502
  }, [
3494
- D(f(gt)),
3495
- e.prevPageText ? (u(), v("span", xn, T(e.prevPageText), 1)) : w("", !0)
3496
- ], 10, Tn)
3503
+ D(p(gt)),
3504
+ e.prevPageText ? (d(), b("span", Tn, A(e.prevPageText), 1)) : w("", !0)
3505
+ ], 10, Cn)
3497
3506
  ])) : w("", !0),
3498
- e.variant === "base" && e.centerDisplay === "numbers" ? (u(), v("div", An, [
3499
- (u(!0), v(j, null, Z(I.value, (b) => (u(), v("button", {
3500
- key: `page-${b}-button`,
3507
+ e.variant === "base" && e.centerDisplay === "numbers" ? (d(), b("div", xn, [
3508
+ (d(!0), b(G, null, Z(x.value, ($) => (d(), b("button", {
3509
+ key: `page-${$}-button`,
3501
3510
  type: "button",
3502
- title: `Page ${b}`,
3503
- "data-selected": b === l.value,
3504
- onClick: (B) => l.value = b
3505
- }, T(b), 9, Ln))), 128))
3511
+ title: `Page ${$}`,
3512
+ "data-selected": $ === l.value,
3513
+ onClick: (h) => l.value = $
3514
+ }, A($), 9, An))), 128))
3506
3515
  ])) : w("", !0),
3507
- t.variant === "base" && t.centerDisplay === "text" ? (u(), v("span", Vn, T($.value), 1)) : w("", !0),
3508
- t.variant === "group" ? (u(), v("span", En, T(x.value), 1)) : w("", !0),
3509
- t.variant === "results" ? (u(), v(j, { key: 4 }, [
3510
- Dn,
3511
- g("div", On, [
3512
- (u(!0), v(j, null, Z(S.value, (b) => (u(), v("button", {
3516
+ t.variant === "base" && t.centerDisplay === "text" ? (d(), b("span", Ln, A(m.value), 1)) : w("", !0),
3517
+ t.variant === "group" ? (d(), b("span", Vn, A(T.value), 1)) : w("", !0),
3518
+ t.variant === "results" ? (d(), b(G, { key: 4 }, [
3519
+ En,
3520
+ y("div", Dn, [
3521
+ (d(!0), b(G, null, Z(S.value, ($) => (d(), b("button", {
3513
3522
  type: "button",
3514
- key: `results-${b}`,
3515
- "data-selected": b === l.value,
3516
- disabled: l.value === b,
3517
- onClick: (B) => l.value = b
3518
- }, T(b), 9, qn))), 128))
3523
+ key: `results-${$}`,
3524
+ "data-selected": $ === l.value,
3525
+ disabled: l.value === $,
3526
+ onClick: (h) => l.value = $
3527
+ }, A($), 9, On))), 128))
3519
3528
  ])
3520
3529
  ], 64)) : w("", !0),
3521
- e.variant === "base" || e.variant === "group" ? (u(), v("div", Mn, [
3522
- g("button", {
3530
+ e.variant === "base" || e.variant === "group" ? (d(), b("div", qn, [
3531
+ y("button", {
3523
3532
  type: "button",
3524
- class: ae(e.nextPageText ? "bs-pagination-word-caret" : void 0),
3533
+ class: te(e.nextPageText ? "bs-pagination-word-caret" : void 0),
3534
+ "aria-label": e.nextPageText ? void 0 : "Next Page",
3525
3535
  title: e.nextPageText,
3526
- disabled: l.value === d.value,
3536
+ disabled: l.value === u.value,
3527
3537
  onClick: c
3528
3538
  }, [
3529
- e.nextPageText ? (u(), v("span", zn, T(e.nextPageText), 1)) : w("", !0),
3530
- D(f(yt))
3539
+ e.nextPageText ? (d(), b("span", Mn, A(e.nextPageText), 1)) : w("", !0),
3540
+ D(p(yt))
3531
3541
  ], 10, Pn),
3532
- e.showFirstLastButtons ? (u(), v("button", {
3542
+ e.showFirstLastButtons ? (d(), b("button", {
3533
3543
  key: 0,
3534
3544
  type: "button",
3535
- class: ae(e.lastPageText ? "bs-pagination-word-caret" : void 0),
3545
+ class: te(e.lastPageText ? "bs-pagination-word-caret" : void 0),
3546
+ "aria-label": e.lastPageText ? void 0 : "Last Page",
3536
3547
  title: e.lastPageText,
3537
- disabled: l.value === d.value,
3538
- onClick: h
3548
+ disabled: l.value === u.value,
3549
+ onClick: f
3539
3550
  }, [
3540
- e.lastPageText ? (u(), v("span", Rn, T(e.lastPageText), 1)) : w("", !0),
3541
- D(f(Bt))
3542
- ], 10, Nn)) : w("", !0)
3551
+ e.lastPageText ? (d(), b("span", Nn, A(e.lastPageText), 1)) : w("", !0),
3552
+ D(p(Bt))
3553
+ ], 10, zn)) : w("", !0)
3543
3554
  ])) : w("", !0)
3544
- ], 8, wn));
3555
+ ], 8, Sn));
3545
3556
  }
3546
- }, jn = ["data-truncate"], Ul = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3557
+ }, Rn = ["data-truncate"], Ul = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3547
3558
  __name: "BsPill",
3548
3559
  props: {
3549
3560
  active: { type: Boolean, default: !1 },
@@ -3567,35 +3578,35 @@ const Sa = {
3567
3578
  }
3568
3579
  },
3569
3580
  setup(e) {
3570
- const a = e, { onLinkClick: t } = ke(a), n = ie(), { rootTag: l, attrsToBind: r, hrefUrl: d } = we(a, n, "span");
3571
- return (i, o) => (u(), V(J(f(l)), z({
3581
+ const a = e, { onLinkClick: t } = Ie(a), n = ie(), { rootTag: l, attrsToBind: r, hrefUrl: u } = ke(a, n, "span");
3582
+ return (o, s) => (d(), V(J(p(l)), z({
3572
3583
  class: "bs-pill",
3573
3584
  "data-active": e.active,
3574
3585
  "data-component": "bs-pill",
3575
3586
  "data-status": e.status || void 0,
3576
3587
  "data-variant": e.variant || void 0,
3577
3588
  disabled: e.disabled,
3578
- ".href": f(d)
3579
- }, f(r), { onClick: f(t) }), {
3589
+ ".href": p(u)
3590
+ }, p(r), { onClick: p(t) }), {
3580
3591
  default: O(() => [
3581
- g("span", { "data-truncate": e.truncate }, [
3582
- E(i.$slots, "default")
3583
- ], 8, jn)
3592
+ y("span", { "data-truncate": e.truncate }, [
3593
+ E(o.$slots, "default")
3594
+ ], 8, Rn)
3584
3595
  ]),
3585
3596
  _: 3
3586
3597
  }, 48, ["data-active", "data-status", "data-variant", "disabled", ".href", "onClick"]));
3587
3598
  }
3588
- }), Fn = { class: "bs-profile-details" }, Un = {
3599
+ }), jn = { class: "bs-profile-details" }, Fn = {
3589
3600
  class: "bs-profile-name",
3590
3601
  "data-size": "sm",
3591
3602
  "data-weight": "bold"
3592
- }, Wn = {
3603
+ }, Un = {
3593
3604
  key: 1,
3594
3605
  "data-weight": "bold"
3595
- }, Gn = { key: 2 }, Hn = { key: 3 }, Kn = {
3606
+ }, Wn = { key: 2 }, Gn = { key: 3 }, Hn = {
3596
3607
  key: 4,
3597
3608
  "data-icon": "true"
3598
- }, Yn = {
3609
+ }, Kn = {
3599
3610
  __name: "BsProfileDetails",
3600
3611
  props: {
3601
3612
  profileName: {
@@ -3612,35 +3623,35 @@ const Sa = {
3612
3623
  },
3613
3624
  emits: ["action-toggled"],
3614
3625
  setup(e, { emit: a }) {
3615
- const t = e, n = a, { icon: l } = ge(t, "actionIcon"), { icon: r } = ge(t, "miscMetaIcon");
3616
- function d(i) {
3617
- i.target.tagName === "BUTTON" && (i.preventDefault(), i.stopImmediatePropagation(), n("action-toggled"));
3626
+ const t = e, n = a, { icon: l } = ye(t, "actionIcon"), { icon: r } = ye(t, "miscMetaIcon");
3627
+ function u(o) {
3628
+ o.target.tagName === "BUTTON" && (o.preventDefault(), o.stopImmediatePropagation(), n("action-toggled"));
3618
3629
  }
3619
- return (i, o) => (u(), v("div", Fn, [
3620
- e.action || i.$slots.action ? (u(), v("button", {
3630
+ return (o, s) => (d(), b("div", jn, [
3631
+ e.action || o.$slots.action ? (d(), b("button", {
3621
3632
  key: 0,
3622
3633
  "data-icon": "true",
3623
- onClick: d
3634
+ onClick: u
3624
3635
  }, [
3625
- E(i.$slots, "action", {}, () => [
3626
- e.actionIcon ? (u(), V(J(f(l) ? f(l) : "span"), {
3636
+ E(o.$slots, "action", {}, () => [
3637
+ e.actionIcon ? (d(), V(J(p(l) ? p(l) : "span"), {
3627
3638
  key: 0,
3628
3639
  class: "bs-icon"
3629
3640
  })) : w("", !0),
3630
- F(" " + T(e.action), 1)
3641
+ W(" " + A(e.action), 1)
3631
3642
  ])
3632
3643
  ])) : w("", !0),
3633
- g("span", Un, T(e.profileName), 1),
3634
- e.company ? (u(), v("span", Wn, T(e.company), 1)) : w("", !0),
3635
- e.jobTitle ? (u(), v("span", Gn, T(e.jobTitle), 1)) : w("", !0),
3636
- e.email ? (u(), v("span", Hn, T(e.email), 1)) : w("", !0),
3637
- e.miscMeta || i.$slots.misc ? (u(), v("span", Kn, [
3638
- E(i.$slots, "misc", {}, () => [
3639
- e.miscMetaIcon ? (u(), V(J(f(r) ? f(r) : "span"), {
3644
+ y("span", Fn, A(e.profileName), 1),
3645
+ e.company ? (d(), b("span", Un, A(e.company), 1)) : w("", !0),
3646
+ e.jobTitle ? (d(), b("span", Wn, A(e.jobTitle), 1)) : w("", !0),
3647
+ e.email ? (d(), b("span", Gn, A(e.email), 1)) : w("", !0),
3648
+ e.miscMeta || o.$slots.misc ? (d(), b("span", Hn, [
3649
+ E(o.$slots, "misc", {}, () => [
3650
+ e.miscMetaIcon ? (d(), V(J(p(r) ? p(r) : "span"), {
3640
3651
  key: 0,
3641
3652
  class: "bs-icon"
3642
3653
  })) : w("", !0),
3643
- F(" " + T(e.miscMeta), 1)
3654
+ W(" " + A(e.miscMeta), 1)
3644
3655
  ])
3645
3656
  ])) : w("", !0)
3646
3657
  ]));
@@ -3675,20 +3686,21 @@ const Sa = {
3675
3686
  },
3676
3687
  emits: ["action-toggled"],
3677
3688
  setup(e, { emit: a }) {
3678
- const t = e, n = a, l = ie(), { onLinkClick: r } = ke(t), { rootTag: d, attrsToBind: i, hrefUrl: o } = we(t, l, "div");
3679
- return (s, c) => (u(), V(J(f(d)), z({
3689
+ const t = e, n = a, l = ie(), { onLinkClick: r } = Ie(t), { rootTag: u, attrsToBind: o, hrefUrl: s } = ke(t, l, "div");
3690
+ return (i, c) => (d(), V(J(p(u)), z({
3680
3691
  class: "bs-profile",
3681
- ".href": f(o),
3692
+ ".href": p(s),
3682
3693
  "data-layout": e.layout
3683
- }, f(i), { onClick: f(r) }), {
3694
+ }, p(o), { onClick: p(r) }), {
3684
3695
  default: O(() => [
3685
- D(st, {
3696
+ D(rt, {
3686
3697
  src: e.imageSrc,
3687
3698
  size: e.imageSize,
3688
3699
  initials: e.initials,
3689
- "profile-name": e.profileName
3700
+ "profile-name": e.profileName,
3701
+ "use-alt-text": !1
3690
3702
  }, null, 8, ["src", "size", "initials", "profile-name"]),
3691
- D(Yn, {
3703
+ D(Kn, {
3692
3704
  "profile-name": e.profileName,
3693
3705
  company: e.company,
3694
3706
  "job-title": e.jobTitle,
@@ -3697,13 +3709,13 @@ const Sa = {
3697
3709
  "action-icon": e.actionIcon,
3698
3710
  "misc-meta": e.miscMeta,
3699
3711
  "misc-meta-icon": e.miscMetaIcon,
3700
- onActionToggled: c[0] || (c[0] = (h) => n("action-toggled"))
3712
+ onActionToggled: c[0] || (c[0] = (f) => n("action-toggled"))
3701
3713
  }, {
3702
3714
  action: O(() => [
3703
- E(s.$slots, "action")
3715
+ E(i.$slots, "action")
3704
3716
  ]),
3705
3717
  misc: O(() => [
3706
- E(s.$slots, "misc")
3718
+ E(i.$slots, "misc")
3707
3719
  ]),
3708
3720
  _: 3
3709
3721
  }, 8, ["profile-name", "company", "job-title", "email", "action", "action-icon", "misc-meta", "misc-meta-icon"])
@@ -3711,7 +3723,7 @@ const Sa = {
3711
3723
  _: 3
3712
3724
  }, 48, [".href", "data-layout", "onClick"]));
3713
3725
  }
3714
- }), Qn = ["data-size"], Xn = ["checked", "disabled", "id", "required", "value", "data-error"], Gl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3726
+ }), Yn = ["data-size"], Qn = ["checked", "disabled", "id", "required", "value", "data-error"], Gl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3715
3727
  __name: "BsRadio",
3716
3728
  props: {
3717
3729
  label: {
@@ -3755,39 +3767,39 @@ const Sa = {
3755
3767
  },
3756
3768
  emits: ["update:modelValue"],
3757
3769
  setup(e, { emit: a }) {
3758
- const t = e, [n] = X(), l = p(() => je.concat(t.passAttrs.split(","))), r = p(() => t.inputId || n.value), d = p(() => t.checked || t.modelValue && t.modelValue === t.value);
3759
- return (i, o) => (u(), v("div", z({
3770
+ const t = e, [n] = Q(), l = v(() => je.concat(t.passAttrs.split(","))), r = v(() => t.inputId || n.value), u = v(() => t.checked || t.modelValue && t.modelValue === t.value);
3771
+ return (o, s) => (d(), b("div", z({
3760
3772
  class: "bs-boolean",
3761
3773
  "data-component": "bs-radio",
3762
3774
  "data-size": e.size
3763
- }, f(U)(i.$attrs, l.value).remaining), [
3764
- g("input", z({
3765
- checked: d.value,
3775
+ }, p(H)(o.$attrs, l.value).remaining), [
3776
+ y("input", z({
3777
+ checked: u.value,
3766
3778
  disabled: e.disabled,
3767
- id: i.$attrs.id || r.value,
3779
+ id: o.$attrs.id || r.value,
3768
3780
  required: e.required,
3769
3781
  type: "radio",
3770
3782
  value: e.value,
3771
3783
  "data-error": e.error
3772
- }, f(U)(i.$attrs, l.value).filtered, {
3773
- onChange: o[0] || (o[0] = (s) => i.$emit("update:modelValue", s.target.value))
3774
- }), null, 16, Xn),
3775
- e.label || i.$slots.label ? (u(), V(ne, {
3784
+ }, p(H)(o.$attrs, l.value).filtered, {
3785
+ onChange: s[0] || (s[0] = (i) => o.$emit("update:modelValue", i.target.value))
3786
+ }), null, 16, Qn),
3787
+ e.label || o.$slots.label ? (d(), V(ae, {
3776
3788
  key: 0,
3777
- for: i.$attrs.id || r.value,
3789
+ for: o.$attrs.id || r.value,
3778
3790
  disabled: e.disabled,
3779
3791
  required: e.required
3780
3792
  }, {
3781
3793
  default: O(() => [
3782
- E(i.$slots, "label", {}, () => [
3783
- F(T(e.label), 1)
3794
+ E(o.$slots, "label", {}, () => [
3795
+ W(A(e.label), 1)
3784
3796
  ])
3785
3797
  ]),
3786
3798
  _: 3
3787
3799
  }, 8, ["for", "disabled", "required"])) : w("", !0)
3788
- ], 16, Qn));
3800
+ ], 16, Yn));
3789
3801
  }
3790
- }), Zn = ["id", "disabled", "required", "data-error", "value"], Jn = {
3802
+ }), Xn = ["id", "disabled", "required", "data-error", "value"], Zn = {
3791
3803
  __name: "BsSelect",
3792
3804
  props: {
3793
3805
  disabled: { type: Boolean, default: !1 },
@@ -3800,8 +3812,8 @@ const Sa = {
3800
3812
  },
3801
3813
  emits: ["update:modelValue"],
3802
3814
  setup(e, { emit: a }) {
3803
- const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3804
- return (l, r) => (u(), v("select", z({
3815
+ const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
3816
+ return (l, r) => (d(), b("select", z({
3805
3817
  id: l.$attrs.id || e.inputId,
3806
3818
  class: "bs-select",
3807
3819
  "data-component": "bs-select",
@@ -3810,12 +3822,12 @@ const Sa = {
3810
3822
  "data-error": e.error,
3811
3823
  value: e.value || e.modelValue
3812
3824
  }, n.value, {
3813
- onChange: r[0] || (r[0] = (d) => l.$emit("update:modelValue", d.target.value))
3825
+ onChange: r[0] || (r[0] = (u) => l.$emit("update:modelValue", u.target.value))
3814
3826
  }), [
3815
3827
  E(l.$slots, "default")
3816
- ], 16, Zn));
3828
+ ], 16, Xn));
3817
3829
  }
3818
- }, _n = ["selected", "disabled"], el = ["disabled", "selected", "value"], Hl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3830
+ }, Jn = ["selected", "disabled"], _n = ["disabled", "selected", "value"], Hl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3819
3831
  __name: "BsSelectField",
3820
3832
  props: {
3821
3833
  data: {
@@ -3859,60 +3871,60 @@ const Sa = {
3859
3871
  modelValue: [String, Number]
3860
3872
  },
3861
3873
  setup(e) {
3862
- const a = e, [t, n] = X(2), l = p(() => da.concat(a.passAttrs.split(","))), r = p(() => {
3863
- var s, c;
3864
- return ((c = (s = a.hints) == null ? void 0 : s.join) == null ? void 0 : c.call(s, `
3874
+ const a = e, [t, n] = Q(2), l = v(() => da.concat(a.passAttrs.split(","))), r = v(() => {
3875
+ var i, c;
3876
+ return ((c = (i = a.hints) == null ? void 0 : i.join) == null ? void 0 : c.call(i, `
3865
3877
  `)) || a.hints;
3866
- }), d = p(() => a.error && a.errorMsg || a.hint || r.value || void 0), i = p(() => a.inputId || t.value), o = p(() => a.value || a.modelValue);
3867
- return (s, c) => (u(), v("div", z({ "data-component": "bs-select-field" }, f(U)(s.$attrs, l.value).remaining), [
3868
- e.label || s.$slots.label ? (u(), V(ne, {
3878
+ }), u = v(() => a.error && a.errorMsg || a.hint || r.value || void 0), o = v(() => a.inputId || t.value), s = v(() => a.value || a.modelValue);
3879
+ return (i, c) => (d(), b("div", z({ "data-component": "bs-select-field" }, p(H)(i.$attrs, l.value).remaining), [
3880
+ e.label || i.$slots.label ? (d(), V(ae, {
3869
3881
  key: 0,
3870
- for: s.$attrs.id || i.value,
3882
+ for: i.$attrs.id || o.value,
3871
3883
  disabled: e.disabled,
3872
3884
  required: e.required
3873
3885
  }, {
3874
3886
  default: O(() => [
3875
- E(s.$slots, "label", {}, () => [
3876
- F(T(e.label), 1)
3887
+ E(i.$slots, "label", {}, () => [
3888
+ W(A(e.label), 1)
3877
3889
  ])
3878
3890
  ]),
3879
3891
  _: 3
3880
3892
  }, 8, ["for", "disabled", "required"])) : w("", !0),
3881
- D(Jn, z({
3893
+ D(Zn, z({
3882
3894
  disabled: e.disabled,
3883
3895
  error: e.error,
3884
- "hint-id": f(n),
3885
- "input-id": s.$attrs.id || i.value,
3896
+ "hint-id": p(n),
3897
+ "input-id": i.$attrs.id || o.value,
3886
3898
  required: e.required,
3887
- value: o.value,
3888
- "onUpdate:modelValue": c[0] || (c[0] = (h) => s.$emit("update:modelValue", h))
3889
- }, f(U)(s.$attrs, l.value).filtered), {
3899
+ value: s.value,
3900
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.$emit("update:modelValue", f))
3901
+ }, p(H)(i.$attrs, l.value).filtered), {
3890
3902
  default: O(() => [
3891
- g("option", {
3892
- selected: !o.value,
3903
+ y("option", {
3904
+ selected: !s.value,
3893
3905
  value: "",
3894
- disabled: !!o.value
3895
- }, T(e.disabled ? "" : e.placeholder), 9, _n),
3896
- (u(!0), v(j, null, Z(e.data, (h) => (u(), v("option", {
3897
- key: h.value,
3898
- disabled: h.disabled,
3899
- selected: o.value === h.value,
3900
- value: h.value
3901
- }, T(h.label), 9, el))), 128))
3906
+ disabled: !!s.value
3907
+ }, A(e.disabled ? "" : e.placeholder), 9, Jn),
3908
+ (d(!0), b(G, null, Z(e.data, (f) => (d(), b("option", {
3909
+ key: f.value,
3910
+ disabled: f.disabled,
3911
+ selected: s.value === f.value,
3912
+ value: f.value
3913
+ }, A(f.label), 9, _n))), 128))
3902
3914
  ]),
3903
3915
  _: 1
3904
3916
  }, 16, ["disabled", "error", "hint-id", "input-id", "required", "value"]),
3905
- d.value ? (u(), V(pe, {
3917
+ u.value ? (d(), V(he, {
3906
3918
  key: 1,
3907
3919
  "data-disabled": e.disabled,
3908
3920
  error: e.error,
3909
3921
  "error-msg": e.errorMsg,
3910
3922
  hint: e.hint || r.value,
3911
- "hint-id": f(n)
3923
+ "hint-id": p(n)
3912
3924
  }, null, 8, ["data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
3913
3925
  ], 16));
3914
3926
  }
3915
- }), tl = ["data-size"], al = ["data-disabled", "data-pending", "data-size"], nl = ["checked", "disabled", "id"], ll = ["data-inner-on-label", "data-inner-off-label"], Kl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3927
+ }), el = ["data-size"], tl = ["data-disabled", "data-pending", "data-size"], al = ["checked", "disabled", "id"], nl = ["data-inner-on-label", "data-inner-off-label"], Kl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
3916
3928
  __name: "BsSwitch",
3917
3929
  props: {
3918
3930
  checked: {
@@ -3958,48 +3970,48 @@ const Sa = {
3958
3970
  },
3959
3971
  emits: ["update:modelValue"],
3960
3972
  setup(e, { emit: a }) {
3961
- const t = e, n = a, [l] = X(), r = p(() => je.concat(t.passAttrs.split(","))), d = p(() => t.inputId || l.value), i = p(() => t.checked || t.modelValue);
3962
- return (o, s) => (u(), v("div", z({
3973
+ const t = e, n = a, [l] = Q(), r = v(() => je.concat(t.passAttrs.split(","))), u = v(() => t.inputId || l.value), o = v(() => t.checked || t.modelValue);
3974
+ return (s, i) => (d(), b("div", z({
3963
3975
  class: "bs-boolean",
3964
3976
  "data-component": "bs-switch",
3965
3977
  "data-size": e.size
3966
- }, f(U)(o.$attrs, r.value).remaining), [
3967
- e.label || o.$slots.label ? (u(), V(ne, {
3978
+ }, p(H)(s.$attrs, r.value).remaining), [
3979
+ e.label || s.$slots.label ? (d(), V(ae, {
3968
3980
  key: 0,
3969
- for: o.$attrs.id || d.value,
3981
+ for: s.$attrs.id || u.value,
3970
3982
  disabled: e.disabled,
3971
3983
  hide: e.hideLabel
3972
3984
  }, {
3973
3985
  default: O(() => [
3974
- E(o.$slots, "label", {}, () => [
3975
- F(T(e.label), 1)
3986
+ E(s.$slots, "label", {}, () => [
3987
+ W(A(e.label), 1)
3976
3988
  ])
3977
3989
  ]),
3978
3990
  _: 3
3979
3991
  }, 8, ["for", "disabled", "hide"])) : w("", !0),
3980
- g("div", {
3992
+ y("div", {
3981
3993
  class: "bs-switch",
3982
3994
  "data-disabled": e.disabled,
3983
3995
  "data-pending": e.pending,
3984
3996
  "data-size": e.size
3985
3997
  }, [
3986
- g("input", z({
3987
- checked: i.value,
3998
+ y("input", z({
3999
+ checked: o.value,
3988
4000
  disabled: e.disabled,
3989
- id: o.$attrs.id || d.value,
4001
+ id: s.$attrs.id || u.value,
3990
4002
  type: "checkbox"
3991
- }, f(U)(o.$attrs, r.value).filtered, {
3992
- onChange: s[0] || (s[0] = (c) => n("update:modelValue", c.target.checked))
3993
- }), null, 16, nl),
3994
- g("span", {
4003
+ }, p(H)(s.$attrs, r.value).filtered, {
4004
+ onChange: i[0] || (i[0] = (c) => n("update:modelValue", c.target.checked))
4005
+ }), null, 16, al),
4006
+ y("span", {
3995
4007
  "aria-hidden": "true",
3996
4008
  "data-inner-on-label": e.innerOnLabel,
3997
4009
  "data-inner-off-label": e.innerOffLabel
3998
- }, null, 8, ll)
3999
- ], 8, al)
4000
- ], 16, tl));
4010
+ }, null, 8, nl)
4011
+ ], 8, tl)
4012
+ ], 16, el));
4001
4013
  }
4002
- }), ol = ["aria-controls", "aria-selected", "data-hidden"], Yl = {
4014
+ }), ll = ["aria-controls", "aria-selected", "data-hidden"], Yl = {
4003
4015
  __name: "BsTab",
4004
4016
  props: {
4005
4017
  activeTabId: {
@@ -4016,18 +4028,18 @@ const Sa = {
4016
4028
  },
4017
4029
  emits: ["tabClick"],
4018
4030
  setup(e, { emit: a }) {
4019
- const t = e, n = ie(), l = m(), r = p(() => t.activeTabId === n.id), d = p(() => t.panelId || `${n.id}-panel`);
4020
- function i(s) {
4021
- (s.key === "Enter" || s.key === " ") && (s.preventDefault(), s.stopPropagation(), o());
4031
+ const t = e, n = ie(), l = g(), r = v(() => t.activeTabId === n.id), u = v(() => t.panelId || `${n.id}-panel`);
4032
+ function o(i) {
4033
+ (i.key === "Enter" || i.key === " ") && (i.preventDefault(), i.stopPropagation(), s());
4022
4034
  }
4023
- function o() {
4035
+ function s() {
4024
4036
  if (t.activeTabId !== n.id) {
4025
- const s = new CustomEvent("tabClick", { detail: n.id, bubbles: !0 });
4026
- l.value.dispatchEvent(s);
4037
+ const i = new CustomEvent("tabClick", { detail: n.id, bubbles: !0 });
4038
+ l.value.dispatchEvent(i);
4027
4039
  }
4028
4040
  }
4029
- return (s, c) => (u(), v("div", {
4030
- "aria-controls": d.value,
4041
+ return (i, c) => (d(), b("div", {
4042
+ "aria-controls": u.value,
4031
4043
  "aria-selected": r.value ? "true" : "false",
4032
4044
  "data-hidden": e.hidden || void 0,
4033
4045
  "data-component": "bs-tab",
@@ -4035,13 +4047,13 @@ const Sa = {
4035
4047
  tabindex: "0",
4036
4048
  ref_key: "hostEl",
4037
4049
  ref: l,
4038
- onClick: o,
4039
- onKeydown: i
4050
+ onClick: s,
4051
+ onKeydown: o
4040
4052
  }, [
4041
- E(s.$slots, "default")
4042
- ], 40, ol));
4053
+ E(i.$slots, "default")
4054
+ ], 40, ll));
4043
4055
  }
4044
- }, il = ["id", "data-resizing"], rl = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], sl = 73, dl = 20, ul = 16, Ql = {
4056
+ }, ol = ["id", "data-resizing"], il = ["aria-controls", "aria-expanded", "data-active", "data-hidden", "id"], rl = 73, sl = 20, dl = 16, Ql = {
4045
4057
  __name: "BsTabList",
4046
4058
  props: {
4047
4059
  activeTabId: { type: String, required: !0 },
@@ -4052,182 +4064,183 @@ const Sa = {
4052
4064
  },
4053
4065
  emits: ["tabChange", "update:modelValue"],
4054
4066
  setup(e, { emit: a }) {
4055
- const t = e, n = a, l = m(!1), r = m(!1), d = m([]), i = m(!1), o = m(!1), s = m(), c = m([]), h = m(!1), I = m([]), $ = m(), x = m(), S = m(), [k, q] = X(2), b = p(() => t.activeTabId ? I.value.findIndex((y) => y.id === t.activeTabId) : 0), B = p(() => d.value.some((y) => y.id === t.activeTabId)), A = p(() => `${q.value}-options`), C = p(() => `${q.value}-toggle`), M = p(() => {
4056
- var y;
4057
- return B.value ? (y = I.value[b.value]) == null ? void 0 : y.textContent : "More";
4058
- }), H = p(() => B.value ? c.value[b.value] - c.value[b.value - 1] + dl : sl), Q = p(() => {
4067
+ const t = e, n = a, l = g(!1), r = g(!1), u = g([]), o = g(!1), s = g(!1), i = g(), c = g(!1), f = g([]), x = g(!1), m = g([]), T = g(), S = g(), k = g(), [q, $] = Q(2), h = v(() => t.activeTabId ? m.value.findIndex((B) => B.id === t.activeTabId) : 0), C = v(() => u.value.some((B) => B.id === t.activeTabId)), I = v(() => `${$.value}-options`), P = v(() => `${$.value}-toggle`), F = v(() => {
4068
+ var B;
4069
+ return C.value ? (B = m.value[h.value]) == null ? void 0 : B.textContent : "More";
4070
+ }), ne = v(() => C.value ? f.value[h.value] - f.value[h.value - 1] + sl : rl), X = v(() => {
4059
4071
  var L, R;
4060
- let y = [];
4072
+ let B = [];
4061
4073
  if (typeof window > "u")
4062
- return y;
4063
- for (let G of I.value) {
4064
- if (((L = G.dataset) == null ? void 0 : L.hidden) === "true" || ((R = G.dataset) == null ? void 0 : R.hidden) === "" || G.getAttribute("tabindex") === "-1")
4074
+ return B;
4075
+ for (let Y of m.value) {
4076
+ if (((L = Y.dataset) == null ? void 0 : L.hidden) === "true" || ((R = Y.dataset) == null ? void 0 : R.hidden) === "" || Y.getAttribute("tabindex") === "-1")
4065
4077
  break;
4066
- y.push(G);
4078
+ B.push(Y);
4067
4079
  }
4068
- return o.value && y.push(s.value.querySelector(".bs-tab-list-toggle")), y;
4080
+ return s.value && B.push(i.value.querySelector(".bs-tab-list-toggle")), B;
4069
4081
  });
4070
- function _() {
4082
+ function de() {
4071
4083
  var le;
4072
- let y = !1, L, R = 0, G = !1, ee = [];
4073
- if ((le = I.value) != null && le.length) {
4074
- for (let te = 0; te < I.value.length; te++) {
4075
- if (L = I.value[te], L.setAttribute("tabindex", "-1"), G && te !== b.value) {
4076
- L.dataset.hidden = "true", ee.push(L);
4084
+ let B = !1, L, R = 0, Y = !1, _ = [];
4085
+ if ((le = m.value) != null && le.length) {
4086
+ for (let ee = 0; ee < m.value.length; ee++) {
4087
+ if (L = m.value[ee], L.setAttribute("tabindex", "-1"), Y && ee !== h.value) {
4088
+ L.dataset.hidden = "true", _.push(L);
4077
4089
  continue;
4078
4090
  }
4079
- if (R = te < I.value.length - 1 ? S.value - H.value : S.value, c.value[te] > R) {
4080
- L.dataset.hidden = "true", ee.push(L), y = !0, G = !0;
4091
+ if (R = ee < m.value.length - 1 ? k.value - ne.value : k.value, f.value[ee] > R) {
4092
+ L.dataset.hidden = "true", _.push(L), B = !0, Y = !0;
4081
4093
  continue;
4082
4094
  }
4083
4095
  L.dataset.hidden = "false", L.setAttribute("tabindex", "0");
4084
4096
  }
4085
- o.value = y, d.value = ee, l.value || me(() => l.value = !0), setTimeout(() => {
4086
- P(), h.value = !0;
4087
- }, h.value ? 0 : 1e3);
4097
+ s.value = B, u.value = _, l.value || fe(() => l.value = !0), setTimeout(() => {
4098
+ j(), x.value = !0;
4099
+ }, x.value ? 0 : 1e3);
4088
4100
  }
4089
4101
  }
4090
- function de(y) {
4091
- n("tabChange", y), n("update:modelValue", y);
4092
- }
4093
- function xe(y) {
4094
- var G, ee, le;
4095
- const L = (le = (ee = (G = I.value[y]) == null ? void 0 : G.getBoundingClientRect) == null ? void 0 : ee.call(G)) == null ? void 0 : le.width;
4096
- return L || (y === 0 ? c.value[0] : c.value[y] - c.value[y - 1]) || 0;
4102
+ function ue(B) {
4103
+ n("tabChange", B), n("update:modelValue", B);
4097
4104
  }
4098
- function Ae() {
4099
- var y;
4100
- (y = I.value[b.value]) == null || y.setAttribute("aria-selected", "true"), _();
4105
+ function Ae(B) {
4106
+ var Y, _, le;
4107
+ const L = (le = (_ = (Y = m.value[B]) == null ? void 0 : Y.getBoundingClientRect) == null ? void 0 : _.call(Y)) == null ? void 0 : le.width;
4108
+ return L || (B === 0 ? f.value[0] : f.value[B] - f.value[B - 1]) || 0;
4101
4109
  }
4102
4110
  function Le() {
4103
- var y;
4104
- (y = $.value) == null || y.focus(), i.value = !1;
4111
+ var B;
4112
+ (B = m.value[h.value]) == null || B.setAttribute("aria-selected", "true"), de();
4105
4113
  }
4106
4114
  function Ve() {
4107
- i.value = !i.value, r.value || (r.value = !0);
4115
+ var B;
4116
+ (B = T.value) == null || B.focus(), o.value = !1;
4108
4117
  }
4109
- function Ee(y) {
4118
+ function Ee() {
4119
+ o.value = !o.value, r.value || (r.value = !0);
4120
+ }
4121
+ function De(B) {
4110
4122
  var L;
4111
- i.value = !1, (L = $.value) == null || L.focus(), de(y);
4123
+ o.value = !1, (L = T.value) == null || L.focus(), ue(B);
4112
4124
  }
4113
- function De(y) {
4125
+ function Oe(B) {
4114
4126
  if (t.withBsTabs)
4115
4127
  return;
4116
- const L = y.target.closest('[role="tab"]');
4128
+ const L = B.target.closest('[role="tab"]');
4117
4129
  if (!L || L.getAttribute("aria-selected") === "true")
4118
4130
  return;
4119
4131
  const R = L.getAttribute("id");
4120
- de(R);
4132
+ ue(R);
4121
4133
  }
4122
- function Oe(y) {
4123
- if (y.key === "ArrowLeft" || y.key === "ArrowRight") {
4124
- const L = Q.value.findIndex((R) => R.id === y.target.id);
4134
+ function me(B) {
4135
+ if (B.key === "ArrowLeft" || B.key === "ArrowRight") {
4136
+ const L = X.value.findIndex((R) => R.id === B.target.id);
4125
4137
  if (L === -1)
4126
4138
  return;
4127
- y.preventDefault(), y.stopPropagation(), y.key === "ArrowLeft" ? be(L) : he(L);
4139
+ B.preventDefault(), B.stopPropagation(), B.key === "ArrowLeft" ? M(L) : ge(L);
4128
4140
  }
4129
4141
  }
4130
- function he(y) {
4142
+ function ge(B) {
4131
4143
  var R;
4132
- const L = (y + 1) % Q.value.length;
4133
- (R = Q.value[L]) == null || R.focus();
4144
+ const L = (B + 1) % X.value.length;
4145
+ (R = X.value[L]) == null || R.focus();
4134
4146
  }
4135
- function be(y) {
4147
+ function M(B) {
4136
4148
  var R;
4137
- const L = y === 0 ? Q.value.length - 1 : y - 1;
4138
- (R = Q.value[L]) == null || R.focus();
4149
+ const L = B === 0 ? X.value.length - 1 : B - 1;
4150
+ (R = X.value[L]) == null || R.focus();
4139
4151
  }
4140
- function P() {
4141
- var le, te, Ge, He;
4142
- const y = parseInt(s.value.style.getPropertyValue("--active-line-offset")) || 0, L = S.value;
4143
- let R = 300, G = ((te = (le = Q.value) == null ? void 0 : le[b.value]) == null ? void 0 : te.offsetLeft) || 0, ee = xe(b.value);
4144
- o.value && B.value && (G = (Ge = $.value) == null ? void 0 : Ge.offsetLeft, ee = (He = $.value) == null ? void 0 : He.offsetWidth), R = Math.max(Math.abs((G - y) / L * 300), 100), s.value.style.setProperty("--active-line-max-width", `${L}px`), s.value.style.setProperty("--active-line-scale", `${ee / L}`), s.value.style.setProperty("--active-line-offset", `${G}px`), s.value.style.setProperty("--active-line-transition-duration", `${R}ms`);
4152
+ function j() {
4153
+ var le, ee, Ge, He;
4154
+ const B = parseInt(i.value.style.getPropertyValue("--active-line-offset")) || 0, L = k.value;
4155
+ let R = 300, Y = ((ee = (le = X.value) == null ? void 0 : le[h.value]) == null ? void 0 : ee.offsetLeft) || 0, _ = Ae(h.value);
4156
+ s.value && C.value && (Y = (Ge = T.value) == null ? void 0 : Ge.offsetLeft, _ = (He = T.value) == null ? void 0 : He.offsetWidth), R = Math.max(Math.abs((Y - B) / L * 300), 100), i.value.style.setProperty("--active-line-max-width", `${L}px`), i.value.style.setProperty("--active-line-scale", `${_ / L}`), i.value.style.setProperty("--active-line-offset", `${Y}px`), i.value.style.setProperty("--active-line-transition-duration", `${R}ms`);
4145
4157
  }
4146
- function Y() {
4147
- var y, L;
4148
- (L = (y = x.value) == null ? void 0 : y.disconnect) == null || L.call(y), x.value = null;
4158
+ function U() {
4159
+ var B, L;
4160
+ (L = (B = S.value) == null ? void 0 : B.disconnect) == null || L.call(B), S.value = null;
4149
4161
  }
4150
- function K() {
4151
- x.value = new ResizeObserver((y) => {
4152
- for (let L of y)
4153
- S.value = L.contentBoxSize[0].inlineSize;
4154
- _();
4155
- }), x.value.observe(s.value);
4162
+ function ce() {
4163
+ S.value = new ResizeObserver((B) => {
4164
+ for (let L of B)
4165
+ k.value = L.contentBoxSize[0].inlineSize;
4166
+ de();
4167
+ }), S.value.observe(i.value);
4156
4168
  }
4157
- function ue() {
4158
- I.value = Array.from(s.value.children).filter((y) => y.role === "tab");
4169
+ function st() {
4170
+ m.value = Array.from(i.value.children).filter((B) => B.role === "tab");
4159
4171
  }
4160
4172
  function dt() {
4161
- let y;
4162
- I.value.forEach((L, R) => {
4163
- y = L.getBoundingClientRect().width + ul, c.value.push(R ? y + c.value[R - 1] : y);
4173
+ let B;
4174
+ m.value.forEach((L, R) => {
4175
+ B = L.getBoundingClientRect().width + dl, f.value.push(R ? B + f.value[R - 1] : B);
4164
4176
  });
4165
4177
  }
4166
- return N(() => t.activeTabId, Ae), W(() => {
4167
- var y;
4178
+ return N(() => t.activeTabId, Le), K(() => {
4179
+ var B;
4168
4180
  try {
4169
- ue(), dt(), K(), S.value = s.value.getBoundingClientRect().width, _(), t.withBsTabs || (y = I.value[b.value]) == null || y.setAttribute("aria-selected", "true");
4181
+ st(), dt(), ce(), k.value = i.value.getBoundingClientRect().width, de(), t.withBsTabs || (B = m.value[h.value]) == null || B.setAttribute("aria-selected", "true"), c.value = !0;
4170
4182
  } catch (L) {
4171
4183
  console.log("tab error", L);
4172
4184
  }
4173
- }), oe(Y), (y, L) => (u(), v("div", {
4185
+ }), oe(U), (B, L) => (d(), b("div", {
4174
4186
  class: "bs-tab-list",
4175
4187
  "data-component": "bs-tab-list",
4176
- id: y.$attrs.id || f(k),
4188
+ id: B.$attrs.id || p(q),
4177
4189
  ref_key: "hostEl",
4178
- ref: s,
4190
+ ref: i,
4179
4191
  role: "tablist",
4180
4192
  "data-resizing": !l.value || void 0,
4181
- onClick: De,
4182
- "on:tabClick": L[0] || (L[0] = (R) => de(R.detail)),
4183
- onKeydown: Oe
4193
+ onClick: Oe,
4194
+ "on:tabClick": L[0] || (L[0] = (R) => ue(R.detail)),
4195
+ onKeydown: me
4184
4196
  }, [
4185
- E(y.$slots, "default"),
4186
- g("button", {
4187
- "aria-controls": f(q),
4188
- "aria-expanded": i.value,
4197
+ E(B.$slots, "default"),
4198
+ y("button", {
4199
+ "aria-controls": p($),
4200
+ "aria-expanded": o.value,
4189
4201
  class: "bs-tab-list-toggle",
4190
- "data-active": B.value || void 0,
4191
- "data-hidden": !o.value,
4192
- id: C.value,
4202
+ "data-active": C.value || void 0,
4203
+ "data-hidden": !s.value,
4204
+ id: P.value,
4193
4205
  ref_key: "dropdownToggle",
4194
- ref: $,
4195
- onClick: Ve
4206
+ ref: T,
4207
+ onClick: Ee
4196
4208
  }, [
4197
- D(f($t), { size: "sm" }),
4198
- F(" " + T(M.value), 1)
4199
- ], 8, rl),
4200
- D(We, {
4201
- "anchor-id": C.value,
4202
- "container-id": y.$attrs.id || f(k),
4209
+ D(p($t), { size: "sm" }),
4210
+ W(" " + A(F.value), 1)
4211
+ ], 8, il),
4212
+ c.value ? (d(), V(We, {
4213
+ key: 0,
4214
+ "anchor-id": P.value,
4215
+ "container-id": B.$attrs.id || p(q),
4203
4216
  "helper-description": e.helperDescription || void 0,
4204
4217
  "helper-text": e.helperText,
4205
- id: f(q),
4206
- "options-id": A.value,
4218
+ id: p($),
4219
+ "options-id": I.value,
4207
4220
  position: "right",
4208
4221
  preloaded: "",
4209
- shown: i.value,
4222
+ shown: o.value,
4210
4223
  width: "content",
4211
- onClose: Le,
4212
- "onUpdate:modelValue": Ee
4224
+ onClose: Ve,
4225
+ "onUpdate:modelValue": De
4213
4226
  }, {
4214
4227
  default: O(() => [
4215
- (u(!0), v(j, null, Z(d.value, (R) => (u(), V(Ue, {
4228
+ (d(!0), b(G, null, Z(u.value, (R) => (d(), V(Ue, {
4216
4229
  key: R.id,
4217
4230
  value: R.id,
4218
- "options-id": A.value
4231
+ "options-id": I.value
4219
4232
  }, {
4220
4233
  default: O(() => [
4221
- F(T(R.textContent), 1)
4234
+ W(A(R.textContent), 1)
4222
4235
  ]),
4223
4236
  _: 2
4224
4237
  }, 1032, ["value", "options-id"]))), 128))
4225
4238
  ]),
4226
4239
  _: 1
4227
- }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])
4228
- ], 40, il));
4240
+ }, 8, ["anchor-id", "container-id", "helper-description", "helper-text", "id", "options-id", "shown"])) : w("", !0)
4241
+ ], 40, ol));
4229
4242
  }
4230
- }, cl = ["aria-labelledby", "data-active", "id"], Xl = {
4243
+ }, ul = ["aria-labelledby", "data-active", "id"], Xl = {
4231
4244
  __name: "BsTabPanel",
4232
4245
  props: {
4233
4246
  activeTabId: {
@@ -4240,8 +4253,8 @@ const Sa = {
4240
4253
  }
4241
4254
  },
4242
4255
  setup(e) {
4243
- const a = e, t = ie(), n = p(() => a.activeTabId && a.activeTabId === a.tabId), l = p(() => t.id || `${a.tabId}-panel`);
4244
- return (r, d) => (u(), v("section", {
4256
+ const a = e, t = ie(), n = v(() => a.activeTabId && a.activeTabId === a.tabId), l = v(() => t.id || `${a.tabId}-panel`);
4257
+ return (r, u) => (d(), b("section", {
4245
4258
  "aria-labelledby": e.tabId,
4246
4259
  "data-active": n.value,
4247
4260
  "data-component": "bs-tab-panel",
@@ -4249,9 +4262,9 @@ const Sa = {
4249
4262
  role: "tabpanel"
4250
4263
  }, [
4251
4264
  E(r.$slots, "default")
4252
- ], 8, cl));
4265
+ ], 8, ul));
4253
4266
  }
4254
- }, fl = ["data-error", "id", "rows", "value"], pl = {
4267
+ }, cl = ["data-error", "id", "rows", "value"], fl = {
4255
4268
  __name: "BsTextarea",
4256
4269
  props: {
4257
4270
  error: {
@@ -4266,16 +4279,16 @@ const Sa = {
4266
4279
  },
4267
4280
  emits: ["update:modelValue"],
4268
4281
  setup(e, { emit: a }) {
4269
- const t = e, n = p(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4270
- return (l, r) => (u(), v("textarea", z({
4282
+ const t = e, n = v(() => ({ [t.error ? "aria-errormessage" : "aria-describedby"]: t.hintId }));
4283
+ return (l, r) => (d(), b("textarea", z({
4271
4284
  class: "bs-textarea",
4272
4285
  "data-component": "bs-textarea",
4273
4286
  "data-error": e.error,
4274
4287
  id: l.$attrs.id || e.inputId,
4275
4288
  rows: l.$attrs.rows || 6,
4276
4289
  value: e.value || e.modelValue,
4277
- onInput: r[0] || (r[0] = (d) => l.$emit("update:modelValue", d.target.value))
4278
- }, n.value), null, 16, fl));
4290
+ onInput: r[0] || (r[0] = (u) => l.$emit("update:modelValue", u.target.value))
4291
+ }, n.value), null, 16, cl));
4279
4292
  }
4280
4293
  }, Zl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4281
4294
  __name: "BsTextareaField",
@@ -4326,52 +4339,52 @@ const Sa = {
4326
4339
  },
4327
4340
  emits: ["update:modelValue"],
4328
4341
  setup(e, { emit: a }) {
4329
- const t = e, [n, l] = X(2), r = p(() => ua.concat(t.passAttrs.split(","))), d = p(() => {
4342
+ const t = e, [n, l] = Q(2), r = v(() => ua.concat(t.passAttrs.split(","))), u = v(() => {
4330
4343
  var c;
4331
4344
  return ((c = t.value || t.modelValue) == null ? void 0 : c.length) || 0;
4332
- }), i = p(() => {
4333
- var c, h;
4334
- return ((h = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : h.call(c, `
4345
+ }), o = v(() => {
4346
+ var c, f;
4347
+ return ((f = (c = t.hints) == null ? void 0 : c.join) == null ? void 0 : f.call(c, `
4335
4348
  `)) || t.hints;
4336
- }), o = p(() => t.error && t.errorMsg || t.hint || i.value || void 0), s = p(() => t.inputId || n.value);
4337
- return (c, h) => (u(), v("div", z({ "data-component": "bs-textarea-field" }, f(U)(c.$attrs, r.value).remaining), [
4338
- e.label || c.$slots.label ? (u(), V(ne, {
4349
+ }), s = v(() => t.error && t.errorMsg || t.hint || o.value || void 0), i = v(() => t.inputId || n.value);
4350
+ return (c, f) => (d(), b("div", z({ "data-component": "bs-textarea-field" }, p(H)(c.$attrs, r.value).remaining), [
4351
+ e.label || c.$slots.label ? (d(), V(ae, {
4339
4352
  key: 0,
4340
- for: c.$attrs.id || s.value,
4353
+ for: c.$attrs.id || i.value,
4341
4354
  disabled: e.disabled,
4342
4355
  required: e.required
4343
4356
  }, {
4344
4357
  default: O(() => [
4345
4358
  E(c.$slots, "label", {}, () => [
4346
- F(T(e.label), 1)
4359
+ W(A(e.label), 1)
4347
4360
  ])
4348
4361
  ]),
4349
4362
  _: 3
4350
4363
  }, 8, ["for", "disabled", "required"])) : w("", !0),
4351
- D(pl, z({
4364
+ D(fl, z({
4352
4365
  disabled: e.disabled,
4353
4366
  error: e.error,
4354
- "hint-id": f(l),
4355
- id: c.$attrs.id || s.value,
4367
+ "hint-id": p(l),
4368
+ id: c.$attrs.id || i.value,
4356
4369
  placeholder: e.placeholder,
4357
4370
  required: e.required,
4358
4371
  rows: e.rows,
4359
4372
  value: e.value || e.modelValue,
4360
- "onUpdate:modelValue": h[0] || (h[0] = (I) => c.$emit("update:modelValue", I))
4361
- }, f(U)(c.$attrs, r.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
4362
- o.value || e.charMax ? (u(), V(pe, {
4373
+ "onUpdate:modelValue": f[0] || (f[0] = (x) => c.$emit("update:modelValue", x))
4374
+ }, p(H)(c.$attrs, r.value).filtered), null, 16, ["disabled", "error", "hint-id", "id", "placeholder", "required", "rows", "value"]),
4375
+ s.value || e.charMax ? (d(), V(he, {
4363
4376
  key: 1,
4364
- "char-count": d.value,
4377
+ "char-count": u.value,
4365
4378
  "char-max": e.charMax,
4366
4379
  "data-disabled": e.disabled,
4367
4380
  error: e.error,
4368
4381
  "error-msg": e.errorMsg,
4369
- hint: e.hint || i.value,
4370
- "hint-id": f(l)
4382
+ hint: e.hint || o.value,
4383
+ "hint-id": p(l)
4371
4384
  }, null, 8, ["char-count", "char-max", "data-disabled", "error", "error-msg", "hint", "hint-id"])) : w("", !0)
4372
4385
  ], 16));
4373
4386
  }
4374
- }), vl = ["data-variant", "data-stacked"], Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4387
+ }), pl = ["data-variant", "data-stacked"], Jl = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
4375
4388
  __name: "BsToast",
4376
4389
  props: {
4377
4390
  shown: {
@@ -4417,50 +4430,50 @@ const Sa = {
4417
4430
  },
4418
4431
  emits: ["dismiss", "after-enter", "after-leave"],
4419
4432
  setup(e, { emit: a }) {
4420
- const t = e, n = a, { transition: l } = fe(t);
4433
+ const t = e, n = a, { transition: l } = ve(t);
4421
4434
  let r = null;
4422
- re("variant", t.variant), re("handleDismiss", i);
4423
- const d = se("stacked", t.stacked);
4424
- function i() {
4435
+ re("variant", t.variant), re("handleDismiss", o);
4436
+ const u = se("stacked", t.stacked);
4437
+ function o() {
4425
4438
  r && (clearTimeout(r), r = null), n("dismiss", t.toastId);
4426
4439
  }
4427
- function o() {
4440
+ function s() {
4428
4441
  t.duration > 0 && (r = setTimeout(() => {
4429
- i();
4442
+ o();
4430
4443
  }, t.duration)), n("after-enter");
4431
4444
  }
4432
- return (s, c) => (u(), V(f(Te), {
4433
- shown: f(l),
4445
+ return (i, c) => (d(), V(p(xe), {
4446
+ shown: p(l),
4434
4447
  preloaded: e.preloaded,
4435
4448
  duration: 200,
4436
4449
  "enter-attribute": "data-shown",
4437
- onAfterEnter: o,
4438
- onAfterLeave: c[0] || (c[0] = (h) => n("after-leave"))
4450
+ onAfterEnter: s,
4451
+ onAfterLeave: c[0] || (c[0] = (f) => n("after-leave"))
4439
4452
  }, {
4440
4453
  default: O(() => [
4441
- g("div", z({
4454
+ y("div", z({
4442
4455
  class: "bs-toast",
4443
4456
  "data-variant": e.variant,
4444
- "data-stacked": f(d) || void 0,
4445
- "aria-role": "alert"
4446
- }, s.$attrs), [
4447
- E(s.$slots, "default")
4448
- ], 16, vl)
4457
+ "data-stacked": p(u) || void 0,
4458
+ role: "alert"
4459
+ }, i.$attrs), [
4460
+ E(i.$slots, "default")
4461
+ ], 16, pl)
4449
4462
  ]),
4450
4463
  _: 3
4451
4464
  }, 8, ["shown", "preloaded"]));
4452
4465
  }
4453
- }), hl = ["data-stacked"], _l = {
4466
+ }), vl = ["data-stacked"], _l = {
4454
4467
  __name: "BsToastActions",
4455
4468
  setup(e) {
4456
- const a = m(!1);
4457
- W(() => {
4469
+ const a = g(!1);
4470
+ K(() => {
4458
4471
  var l;
4459
4472
  const n = vt();
4460
4473
  ((l = n.default) == null ? void 0 : l.call(n).length) > 2 && (a.value = !0);
4461
4474
  });
4462
4475
  const t = se("handleDismiss");
4463
- return (n, l) => (u(), v("div", {
4476
+ return (n, l) => (d(), b("div", {
4464
4477
  class: "bs-toast-actions",
4465
4478
  "data-stacked": a.value || void 0
4466
4479
  }, [
@@ -4468,31 +4481,31 @@ const Sa = {
4468
4481
  D(fa, {
4469
4482
  size: "sm",
4470
4483
  "text-btn": "",
4471
- onClick: f(t)
4484
+ onClick: p(t)
4472
4485
  }, {
4473
4486
  default: O(() => [
4474
- F(" Dismiss ")
4487
+ W(" Dismiss ")
4475
4488
  ]),
4476
4489
  _: 1
4477
4490
  }, 8, ["onClick"])
4478
4491
  ])
4479
- ], 8, hl));
4492
+ ], 8, vl));
4480
4493
  }
4481
- }, bl = (e, a) => {
4494
+ }, hl = (e, a) => {
4482
4495
  const t = e.__vccOpts || e;
4483
4496
  for (const [n, l] of a)
4484
4497
  t[n] = l;
4485
4498
  return t;
4486
- }, ml = {}, gl = { class: "bs-toast-body" };
4487
- function yl(e, a) {
4488
- return u(), v("div", gl, [
4499
+ }, bl = {}, ml = { class: "bs-toast-body" };
4500
+ function gl(e, a) {
4501
+ return d(), b("div", ml, [
4489
4502
  E(e.$slots, "default")
4490
4503
  ]);
4491
4504
  }
4492
- const eo = /* @__PURE__ */ bl(ml, [["render", yl]]), Bl = ["data-variant"], to = {
4505
+ const eo = /* @__PURE__ */ hl(bl, [["render", gl]]), yl = ["data-variant"], to = {
4493
4506
  __name: "BsToastHeader",
4494
4507
  setup(e) {
4495
- const a = se("variant"), t = p(() => {
4508
+ const a = se("variant"), t = v(() => {
4496
4509
  switch (a) {
4497
4510
  case "warning":
4498
4511
  return ze;
@@ -4504,24 +4517,24 @@ const eo = /* @__PURE__ */ bl(ml, [["render", yl]]), Bl = ["data-variant"], to =
4504
4517
  return St;
4505
4518
  }
4506
4519
  });
4507
- return (n, l) => (u(), v("div", {
4520
+ return (n, l) => (d(), b("div", {
4508
4521
  class: "bs-toast-header",
4509
- "data-variant": f(a)
4522
+ "data-variant": p(a)
4510
4523
  }, [
4511
- (u(), V(J(t.value), { class: "bs-toast-header-icon" })),
4512
- g("h5", null, [
4524
+ (d(), V(J(t.value), { class: "bs-toast-header-icon" })),
4525
+ y("h5", null, [
4513
4526
  E(n.$slots, "default")
4514
4527
  ])
4515
- ], 8, Bl));
4528
+ ], 8, yl));
4516
4529
  }
4517
- }, $l = { class: "bs-toaster" }, ao = {
4530
+ }, Bl = { class: "bs-toaster" }, ao = {
4518
4531
  __name: "BsToaster",
4519
4532
  setup(e) {
4520
- return re("stacked", !0), (a, t) => (u(), v("div", $l, [
4533
+ return re("stacked", !0), (a, t) => (d(), b("div", Bl, [
4521
4534
  E(a.$slots, "default")
4522
4535
  ]));
4523
4536
  }
4524
- }, Sl = ["data-position"], wl = ["id"], no = {
4537
+ }, $l = ["data-position"], Sl = ["id"], no = {
4525
4538
  __name: "BsTooltip",
4526
4539
  props: {
4527
4540
  tooltipId: {
@@ -4548,80 +4561,80 @@ const eo = /* @__PURE__ */ bl(ml, [["render", yl]]), Bl = ["data-variant"], to =
4548
4561
  }
4549
4562
  },
4550
4563
  setup(e) {
4551
- const a = e, t = m(!1), n = m(!1), l = p(() => {
4552
- let i = "bs-tooltip-text";
4553
- return n.value && (a.position === void 0 || a.position === "top" || a.position === "bottom" ? i += " escaped-x" : a.position === "left" || a.position === "right" ? i += " escaped-y" : i += " escaped"), i;
4564
+ const a = e, t = g(!1), n = g(!1), l = v(() => {
4565
+ let o = "bs-tooltip-text";
4566
+ return n.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;
4554
4567
  });
4555
- Ie(["Escape"], () => {
4568
+ Ce(["Escape"], () => {
4556
4569
  t.value && (t.value = !1, n.value = !0);
4557
4570
  });
4558
4571
  function r() {
4559
4572
  t.value = !0;
4560
4573
  }
4561
- function d() {
4574
+ function u() {
4562
4575
  t.value = !1, n.value = !1;
4563
4576
  }
4564
- return (i, o) => (u(), v("div", {
4577
+ return (o, s) => (d(), b("div", {
4565
4578
  class: "bs-tooltip",
4566
4579
  "data-position": e.position || void 0,
4567
4580
  "data-component": "bs-tooltip",
4568
4581
  onMouseenter: r,
4569
4582
  onFocusin: r,
4570
- onMouseleave: d,
4571
- onFocusout: d
4583
+ onMouseleave: u,
4584
+ onFocusout: u
4572
4585
  }, [
4573
- E(i.$slots, "default"),
4574
- e.content ? (u(), v("div", {
4586
+ E(o.$slots, "default"),
4587
+ e.content ? (d(), b("div", {
4575
4588
  key: 0,
4576
- class: ae(l.value),
4589
+ class: te(l.value),
4577
4590
  id: e.tooltipId,
4578
4591
  role: "tooltip"
4579
- }, T(e.content), 11, wl)) : w("", !0)
4580
- ], 40, Sl));
4592
+ }, A(e.content), 11, Sl)) : w("", !0)
4593
+ ], 40, $l));
4581
4594
  }
4582
4595
  };
4583
4596
  export {
4584
- Ll as BsAccordion,
4597
+ Al as BsAccordion,
4585
4598
  Wt as BsBadge,
4586
- Vl as BsBanner,
4599
+ Ll as BsBanner,
4587
4600
  fa as BsButton,
4588
- El as BsCalendar,
4589
- Dl as BsChartBar,
4590
- Ta as BsCheckbox,
4601
+ Vl as BsCalendar,
4602
+ El as BsChartBar,
4603
+ Dl as BsCheckbox,
4591
4604
  Ol as BsCircleButton,
4592
- rt as BsDropdown,
4593
- Ja as BsDropdownMultiselect,
4605
+ it as BsDropdown,
4606
+ Xa as BsDropdownMultiselect,
4594
4607
  Ue as BsDropdownOption,
4595
- ye as BsDropdownOptionBuilder,
4608
+ Be as BsDropdownOptionBuilder,
4596
4609
  Fe as BsDropdownOptionList,
4597
4610
  We as BsDropdownWithOptions,
4598
4611
  ql as BsDropdownWithToggle,
4599
- pe as BsFieldDetails,
4600
- an as BsFilterButton,
4601
- Ml as BsIconGradientWrapper,
4602
- ve as BsInput,
4603
- Ce as BsInputAddon,
4604
- Pl as BsInputField,
4612
+ he as BsFieldDetails,
4613
+ en as BsFilterButton,
4614
+ Pl as BsIconGradientWrapper,
4615
+ be as BsInput,
4616
+ Te as BsInputAddon,
4617
+ Ml as BsInputField,
4605
4618
  zl as BsInputPhone,
4606
- cn as BsInputSearch,
4619
+ un as BsInputSearch,
4607
4620
  Nl as BsInputTypeahead,
4608
- ne as BsLabel,
4621
+ ae as BsLabel,
4609
4622
  Rl as BsLoader,
4610
4623
  jl as BsModal,
4611
- Bn as BsOverlay,
4624
+ yn as BsOverlay,
4612
4625
  Fl as BsPagination,
4613
4626
  Ul as BsPill,
4614
4627
  Wl as BsProfile,
4615
- Yn as BsProfileDetails,
4616
- st as BsProfileImg,
4628
+ Kn as BsProfileDetails,
4629
+ rt as BsProfileImg,
4617
4630
  Gl as BsRadio,
4618
- Jn as BsSelect,
4631
+ Zn as BsSelect,
4619
4632
  Hl as BsSelectField,
4620
4633
  Kl as BsSwitch,
4621
4634
  Yl as BsTab,
4622
4635
  Ql as BsTabList,
4623
4636
  Xl as BsTabPanel,
4624
- pl as BsTextarea,
4637
+ fl as BsTextarea,
4625
4638
  Zl as BsTextareaField,
4626
4639
  Jl as BsToast,
4627
4640
  _l as BsToastActions,
@@ -4629,5 +4642,5 @@ export {
4629
4642
  to as BsToastHeader,
4630
4643
  ao as BsToaster,
4631
4644
  no as BsTooltip,
4632
- Te as BsTransition
4645
+ xe as BsTransition
4633
4646
  };